packages feed

wxcore 0.12.1.7 → 0.92.3.0

raw patch · 155 files changed

Files

LICENSE view
@@ -5,7 +5,7 @@ license. The documentation is subject to the wxWidgets documentation
 license.
 
-See "http://www.wxwidgets.org/newlicen.htm" for the legal description
+See "https://www.wxwidgets.org/about/licence/" for the legal description
 of the license, which is also included in this document.
 
 The wxWindows library licence is essentially the L-GPL (Library General
Setup.hs view
@@ -1,13 +1,27 @@-import Data.List                          (foldl', intercalate, nub)
-import Data.Maybe                         (fromJust)
-import Distribution.PackageDescription
+
+{-# LANGUAGE CPP #-}
+
+import qualified Control.Exception as E
+import Control.Monad (when, filterM)
+import Data.List (foldl', intersperse, intercalate, nub, lookup, isPrefixOf, isInfixOf, find)
+import Data.Maybe (fromJust)
+import Distribution.PackageDescription hiding (includeDirs)
+import qualified Distribution.PackageDescription as PD (includeDirs)
+import Distribution.InstalledPackageInfo(installedPackageId, sourcePackageId, includeDirs)
 import Distribution.Simple
-import Distribution.Simple.LocalBuildInfo (LocalBuildInfo, localPkgDescr)
-import Distribution.Simple.Setup          (ConfigFlags)
-import System.Cmd                         (system)
-import System.FilePath.Posix              ((</>), (<.>))
-import System.Directory                   (createDirectoryIfMissing)
-import System.Process                     (readProcess)
+import Distribution.Simple.LocalBuildInfo (LocalBuildInfo, localPkgDescr, installedPkgs, withPrograms, buildDir)
+import Distribution.Simple.PackageIndex(SearchResult (..), searchByName, allPackages )
+import Distribution.Simple.Program (ConfiguredProgram (..), lookupProgram, runProgram, simpleProgram, locationPath)
+import Distribution.Simple.Program.Types
+import Distribution.Simple.Setup (ConfigFlags, BuildFlags)
+import Distribution.System (OS (..), Arch (..), buildOS, buildArch)
+import Distribution.Verbosity (normal, verbose)
+import System.Process (system)
+import System.Directory (createDirectoryIfMissing, doesFileExist, getCurrentDirectory, getModificationTime)
+import System.Environment (getEnv)
+import System.FilePath ((</>), (<.>), replaceExtension, takeFileName, dropFileName, addExtension, takeDirectory)
+import System.IO.Unsafe (unsafePerformIO)
+import System.Process (readProcess)
 
 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
 
@@ -16,71 +30,74 @@ 
 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
 
-sourceDirectory  :: FilePath
-eiffelDirectory  :: FilePath
-includeDirectory :: FilePath
 wxcoreDirectory  :: FilePath
+wxcoreDirectory  = "src" </> "haskell" </> "Graphics" </> "UI" </> "WXCore"
 
-sourceDirectory  = "src"
-eiffelDirectory  = sourceDirectory </> "eiffel"
-includeDirectory = sourceDirectory </> "include"
-wxcoreDirectory  = sourceDirectory </> "haskell/Graphics/UI/WXCore"
+wxcoreDirectoryQuoted  :: FilePath
+wxcoreDirectoryQuoted  = "\"" ++ wxcoreDirectory ++ "\""
 
--- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
 
-wxcoreIncludeFile :: FilePath
-wxcoreIncludeFile = includeDirectory </> "wxc.h"
+-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
 
-eiffelFiles :: [FilePath]
-eiffelFiles =
-    map ((<.> "e") . (eiffelDirectory </>)) names
-  where
-    names = ["wxc_defs", "wx_defs", "stc"]
+-- |This slightly dubious function obtains the install path for the wxc package we are using.
+-- It works by finding the wxc package's installation info, then finding the include directory 
+-- which contains wxc's headers (amongst the wxWidgets include dirs) and then going up a level.
+-- It would be nice if the path was part of InstalledPackageInfo, but it isn't.
+wxcInstallDir :: LocalBuildInfo -> IO FilePath
+wxcInstallDir lbi = 
+    case searchByName (installedPkgs lbi) "wxc" of
+        Unambiguous (wxc_pkg:_) -> do
+            wxc <- filterM (doesFileExist . (</> "wxc.h")) (includeDirs wxc_pkg)
+            case wxc of
+                [wxcIncludeDir] -> return (takeDirectory wxcIncludeDir)
+                [] -> error "wxcInstallDir: couldn't find wxc include dir"
+                _  -> error "wxcInstallDir: I'm confused. I see more than one wxc include directory from the same package"
+        Unambiguous [] -> error "wxcInstallDir: Cabal says wxc is installed but gives no package info for it"
+        _ -> error "wxcInstallDir: Couldn't find wxc package in installed packages"
 
 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
 
 -- Comment out type signature because of a Cabal API change from 1.6 to 1.7
 myConfHook (pkg0, pbi) flags = do
     createDirectoryIfMissing True wxcoreDirectory
-    system $ "wxdirect -t --wxc " ++ sourceDirectory ++ " -o " ++ wxcoreDirectory ++ " " ++ wxcoreIncludeFile
-    system $ "wxdirect -i --wxc " ++ sourceDirectory ++ " -o " ++ wxcoreDirectory ++ " " ++ wxcoreIncludeFile
-    system $ "wxdirect -c --wxc " ++ sourceDirectory ++ " -o " ++ wxcoreDirectory ++ " " ++ wxcoreIncludeFile
-    system $ "wxdirect -d --wxc " ++ sourceDirectory ++ " -o " ++ wxcoreDirectory ++ " " ++ intercalate " " eiffelFiles
+    
+#if defined(freebsd_HOST_OS) || defined (netbsd_HOST_OS)
+    -- Find GL/glx.h include path using pkg-config
+    glIncludeDirs <- readProcess "pkg-config" ["--cflags", "gl"] "" `E.onException` return ""
+#else
+    let glIncludeDirs = ""
+#endif
 
-    wx <- fmap parseWxConfig (readProcess "wx-config" ["--libs", "--cppflags"] "")
     lbi <- confHook simpleUserHooks (pkg0, pbi) flags
+    wxcDirectory <- wxcInstallDir lbi
+    let wxcoreIncludeFile  = "\"" ++ wxcDirectory </> "include" </> "wxc.h\""
+    let wxcDirectoryQuoted = "\"" ++ wxcDirectory ++ "\""
+    let system' command    = putStrLn command >> system command
 
-    let lpd   = localPkgDescr lbi
-    let lib   = fromJust (library lpd)
-    let libbi = libBuildInfo lib
+    putStrLn "Generating class type definitions from .h files"
+    system' $ "wxdirect -t --wxc " ++ wxcDirectoryQuoted ++ " -o " ++ wxcoreDirectoryQuoted ++ " " ++ wxcoreIncludeFile
 
+    putStrLn "Generating class info definitions"
+    system' $ "wxdirect -i --wxc " ++ wxcDirectoryQuoted ++ " -o " ++ wxcoreDirectoryQuoted ++ " " ++ wxcoreIncludeFile
+
+    putStrLn "Generating class method definitions from .h files"
+    system' $ "wxdirect -c --wxc " ++ wxcDirectoryQuoted ++ " -o " ++ wxcoreDirectoryQuoted ++ " " ++ wxcoreIncludeFile
+
+    let lpd       = localPkgDescr lbi
+    let lib       = fromJust (library lpd)
+    let libbi     = libBuildInfo lib
+    let custom_bi = customFieldsBI libbi
+
     let libbi' = libbi
-          { extraLibDirs = extraLibDirs libbi ++ extraLibDirs wx
-          , extraLibs    = extraLibs    libbi ++ extraLibs    wx
-          , ldOptions    = ldOptions    libbi ++ ldOptions    wx ++ ["-lstdc++"]
-          , frameworks   = frameworks   libbi ++ frameworks   wx
-          , includeDirs  = includeDirs  libbi ++ includeDirs  wx
-          , ccOptions    = ccOptions    libbi ++ ccOptions    wx ++ ["-DwxcREFUSE_MEDIACTRL"]
-          }
+          { extraLibDirs   = extraLibDirs   libbi ++ [wxcDirectory]
+          , extraLibs      = extraLibs      libbi ++ ["wxc"]
+          , PD.includeDirs = PD.includeDirs libbi ++ case glIncludeDirs of
+                                                         ('-':'I':v) -> [v];
+                                                         _           -> []
+          , ldOptions      = ldOptions      libbi ++ ["-Wl,-rpath," ++ wxcDirectory]  }
 
     let lib' = lib { libBuildInfo = libbi' }
     let lpd' = lpd { library = Just lib' }
 
     return $ lbi { localPkgDescr = lpd' }
 
--- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-
-parseWxConfig :: String -> BuildInfo
-parseWxConfig s =
-    helper emptyBuildInfo (words s)
-  where
-    helper b ("-framework":w:ws) = helper (b { frameworks = w : frameworks b }) ws
-    helper b (w:ws)              = helper (f b w) ws
-    helper b []                  = b
-    f b w =
-        case w of
-          ('-':'L':v) -> b { extraLibDirs = v : extraLibDirs b }
-          ('-':'l':v) -> b { extraLibs    = v : extraLibs b }
-          ('-':'I':v) -> b { includeDirs  = v : includeDirs b }
-          ('-':'D':_) -> b { ccOptions    = w : ccOptions b }
-          _           -> b
− src/cpp/apppath.cpp
@@ -1,117 +0,0 @@-#include "wrapper.h"-#ifdef __WXMSW__-# include <windows.h>-#elif defined(__WXMAC__)-# ifdef __DARWIN__-#  include <mach-o/dyld.h>-   typedef int (*NSGetExecutablePathProcPtr)(char* buf, size_t* bufsize);-# else-#  include <Types.h>-#  include <Files.h>-#  include <Processes.h> -# endif-#endif---wxString GetApplicationPath()-{-  static bool found = false;-  static wxString path;--  if (!found)-  {-/* Windows */-#ifdef __WXMSW__-    wxChar buf[512] = wxT("");-    GetModuleFileName(NULL, buf, 511);-    path = wxString(buf, wxConvUTF8);--/* UNIX & MAC*/-#else-    wxString argv0;--# ifdef __WXMAC__		-    if (NSIsSymbolNameDefined("__NSGetExecutablePath"))-    {-      char buf[512];-      size_t bufLen = 512;-      buf[0] = 0;-      ((NSGetExecutablePathProcPtr) NSAddressOfSymbol(NSLookupAndBindSymbol("__NSGetExecutablePath")))(buf, &bufLen);-      wxString strBuf = wxString();-      size_t actualBuflen = strlen(buf);-      if (actualBuflen > 0) {-        // FIXME: we *assume* that the NS stuff returns utf-8 encoded strings-        path = wxString(buf, wxConvUTF8);-        found=true;-        return path;-      }-    }-# endif--    argv0 = wxTheApp->argv[0];--    /* check absolute path */-    if (wxIsAbsolutePath(argv0)) {-        path = argv0;-    }-    else {-      /* check relative path */-      wxString fname = wxGetCwd() + wxFILE_SEP_PATH + argv0;-      if (wxFileExists(fname)) {-        path = fname;-      } else {-        /* find on PATH */-        wxPathList pathlist;-        pathlist.AddEnvList(wxT("PATH"));-        path = pathlist.FindAbsoluteValidPath(argv0);-      }-    }--    wxFileName filename(path);-    filename.Normalize();-    path = filename.GetFullPath();-#endif--    found = true;-  }-  return path;-}---wxString GetApplicationDir()-{-  wxString path;-  -  /* check APPDIR on unix's */-#ifndef __WXMSW__-# ifndef __WXMAC__-  wxGetEnv(wxT("APPDIR"), &path);-  if (!path.IsEmpty()) return path;-# endif-#endif--  path = GetApplicationPath();-  if (path.IsEmpty())-    return wxGetCwd();-  else {-    wxFileName fname(path);-    return fname.GetPath(wxPATH_GET_VOLUME);-  }  -}--extern "C" -{-EWXWEXPORT(wxString*,wxGetApplicationDir)()-{-  wxString *result = new wxString();-  *result = GetApplicationDir();-  return result;-}--EWXWEXPORT(wxString*,wxGetApplicationPath)()-{-  wxString *result = new wxString();-  *result = GetApplicationPath();-  return result;-}-}
− src/cpp/db.cpp
@@ -1,1267 +0,0 @@-#include "wrapper.h"--#if wxUSE_ODBC-# include "wx/db.h"-#else-class wxDb;-class wxDbColInf; -class wxDbInf;-class wxDbTableInf;-typedef void* HENV;-#endif--/* testing */-// #define wxUSE_ODBC 0--/*------------------------------------------------------------------------------  We want to include the function signatures always -- even on -  systems that don't support ODBC. This means that every function body is-  surrounded by #ifdef wxUSE_ODBC directives :-(------------------------------------------------------------------------------*/-#if defined(wxUSE_ODBC) && (wxUSE_ODBC==0)-# undef wxUSE_ODBC-#endif--#ifndef wxUSE_ODBC-# define wxDb            void-# define wxDbConnectInf  void-#endif- -#if defined(wxUSE_UNICODE) && (wxUSE_UNICODE==0)-# undef wxUSE_UNICODE-#endif--/* used for easy marshalling in Haskell */-enum StandardSqlType {-  SqlUnknown- ,SqlChar- ,SqlNumeric- ,SqlDecimal- ,SqlInteger- ,SqlSmallInt- ,SqlFloat- ,SqlReal- ,SqlDouble- ,SqlDate- ,SqlTime- ,SqlTimeStamp- ,SqlVarChar- ,SqlBit- ,SqlBinary- ,SqlVarBinary- ,SqlBigInt- ,SqlTinyInt-};---#ifndef SQL_DEFAULT-# define SQL_DEFAULT SQL_CHAR-#endif--extern "C" {----/*------------------------------------------------------------------------------  HENV, HDBC, HSTMT------------------------------------------------------------------------------*/-EWXWEXPORT(void*,Null_HENV)()  -{-#ifdef wxUSE_ODBC  -  return (void*)(SQL_NULL_HENV); -#else-  return NULL;-#endif-}--EWXWEXPORT(void*,Null_HDBC)()  -{-#ifdef wxUSE_ODBC-  return (void*)(SQL_NULL_HDBC); -#else-  return NULL;-#endif-}--EWXWEXPORT(void*,Null_HSTMT)() -{ -#ifdef wxUSE_ODBC-  return (void*)(SQL_NULL_HSTMT); -#else-  return NULL;-#endif-}-  --/*------------------------------------------------------------------------------  DbConnectInf------------------------------------------------------------------------------*/-EWXWEXPORT(wxDbConnectInf*,wxDbConnectInf_Create)(void* henv, wxString* dsn, wxString* userID, wxString* password, wxString* defaultDir, wxString* description, wxString* fileType)-{-#ifdef wxUSE_ODBC-  return new wxDbConnectInf( (HENV)(henv), *dsn, *userID, *password, *defaultDir, *description, *fileType);-#else-  return NULL;-#endif-}--EWXWEXPORT(void,wxDbConnectInf_AllocHenv)(wxDbConnectInf* self)-{-#ifdef wxUSE_ODBC-  self->AllocHenv();-#endif-}--EWXWEXPORT(void,wxDbConnectInf_FreeHenv)(wxDbConnectInf* self)-{-#ifdef wxUSE_ODBC-  self->FreeHenv();-#endif-}--EWXWEXPORT(void*,wxDbConnectInf_GetHenv)(wxDbConnectInf* self)-{-#ifdef wxUSE_ODBC-  return (void*)(self->GetHenv());-#else-  return NULL;-#endif-}---EWXWEXPORT(void,wxDbConnectInf_Delete)(wxDbConnectInf* self)-{-#ifdef wxUSE_ODBC-  if (self != NULL) delete self;-#endif-}---/*------------------------------------------------------------------------------  Global functions------------------------------------------------------------------------------*/-EWXWEXPORT(bool,wxDb_IsSupported)()-{-#ifdef wxUSE_ODBC-  return true;-#else-  return false;-#endif-}--EWXWEXPORT(void,wxDb_CloseConnections)()-{-#ifdef wxUSE_ODBC-  wxDbCloseConnections();-#endif-}--EWXWEXPORT(int,wxDb_ConnectionsInUse)()-{-#ifdef wxUSE_ODBC-  return wxDbConnectionsInUse();-#else-  return 0;-#endif-}--EWXWEXPORT(bool,wxDb_FreeConnection)( wxDb* db)-{-#ifdef wxUSE_ODBC-  return wxDbFreeConnection(db);-#else-  return false;-#endif-}--EWXWEXPORT(wxDb*,wxDb_GetConnection)(wxDbConnectInf* connectInf,bool fwdCursorsOnly)-{-#ifdef wxUSE_ODBC-  return wxDbGetConnection(connectInf,fwdCursorsOnly);-#else-  return NULL;-#endif-}--EWXWEXPORT(bool,wxDb_GetDataSource)( void* henv, wxChar* dsn, int dsnLen, wxChar* description, int descLen, int direction)-{-  if (dsn && dsnLen > 0)   *dsn = '\0';-  if (description && descLen > 0) *description = '\0';-#ifdef wxUSE_ODBC-  return wxDbGetDataSource( (HENV)(henv), dsn, dsnLen, description, descLen, direction);-#else-  return 0;-#endif-}---/* translate a system sql type to standard range of enumerations */-EWXWEXPORT(int,wxDb_SqlTypeToStandardSqlType)( int sqlType )-{-#ifdef wxUSE_ODBC-  switch (sqlType) {-#if defined(wxUSE_UNICODE) && defined(SQL_WCHAR)-    case SQL_WCHAR:     return SqlChar;-#endif-    case SQL_CHAR:      return SqlChar;-    case SQL_NUMERIC:   return SqlNumeric;-    case SQL_DECIMAL:   return SqlDecimal;-    case SQL_INTEGER:   return SqlInteger;-    case SQL_SMALLINT:  return SqlSmallInt;-    case SQL_FLOAT:     return SqlFloat;-    case SQL_REAL:      return SqlReal;-    case SQL_DOUBLE:    return SqlDouble;-#ifdef SQL_DATE-    case SQL_DATE:      return SqlDate;-    case SQL_TIME:      return SqlTime;-    case SQL_TIMESTAMP: return SqlTimeStamp;-#endif-#if defined(wxUSE_UNICODE) && defined(SQL_WVARCHAR)-    case SQL_WVARCHAR:  return SqlVarChar;-#endif-    case SQL_VARCHAR:   return SqlVarChar;-#ifdef SQL_BIT-    case SQL_BIT:       return SqlBit;-#endif-#ifdef SQL_BINARY-    case SQL_BINARY:    return SqlBinary;-    case SQL_VARBINARY: return SqlVarBinary;-#endif-#ifdef SQL_BIGINT-    case SQL_BIGINT:    return SqlBigInt;-    case SQL_TINYINT:   return SqlTinyInt;-#endif-    default:  return SqlUnknown;-  }-#else-  return SqlUnknown;-#endif-}--EWXWEXPORT(int,wxDb_StandardSqlTypeToSqlType)( int sqlType )-{-#ifdef wxUSE_ODBC-  switch (sqlType) {-#if defined(wxUSE_UNICODE) && defined(SQL_WCHAR)-    case SqlChar      : return SQL_WCHAR;-#else-    case SqlChar      : return SQL_CHAR;-#endif-    case SqlNumeric   : return SQL_NUMERIC;-    case SqlDecimal   : return SQL_DECIMAL;-    case SqlInteger   : return SQL_INTEGER;-    case SqlSmallInt  : return SQL_SMALLINT;-    case SqlFloat     : return SQL_FLOAT;-    case SqlReal      : return SQL_REAL;-    case SqlDouble    : return SQL_DOUBLE;-#ifdef SQL_DATE-    case SqlDate      : return SQL_DATE;-    case SqlTime      : return SQL_TIME;-    case SqlTimeStamp : return SQL_TIMESTAMP;-#endif-#if defined(wxUSE_UNICODE) && defined(SQL_WVARCHAR)-    case SqlVarChar   : return SQL_WVARCHAR;-#else-    case SqlVarChar   : return SQL_VARCHAR;-#endif-#ifdef SQL_BIT-    case SqlBit       : return SQL_BIT;-#endif-#ifdef SQL_BINARY-    case SqlBinary    : return SQL_BINARY;-    case SqlVarBinary : return SQL_VARBINARY;-#endif-#ifdef SQL_BIGINT-    case SqlBigInt    : return SQL_BIGINT;-    case SqlTinyInt   : return SQL_TINYINT;-#endif-    case SqlUnknown   : return SQL_DEFAULT;-    default           : return SQL_DEFAULT;-  }-#else-  return 0;-#endif-}---/*------------------------------------------------------------------------------  Db------------------------------------------------------------------------------*/-EWXWEXPORT(int,wxDb_GetStatus)(wxDb* db)-{-#ifdef wxUSE_ODBC-  if (db==NULL)-    return DB_ERR_GENERAL_ERROR;-  else-    return db->DB_STATUS;-#else-  return (-1);-#endif-}--EWXWEXPORT(wxString*,wxDb_GetErrorMsg)(wxDb* db)-{-#ifdef wxUSE_ODBC-  if (db==NULL)-    return new wxString(wxT("unconnected database (is NULL)"));-  else-    return new wxString(db->errorMsg,db->cbErrorMsg);-#else-  return new wxString(wxT("ODBC is not supported on this platform (recompile with ODBC support)"));-#endif-}--EWXWEXPORT(int,wxDb_GetNumErrorMessages)( wxDb* db)-{-#ifdef wxUSE_ODBC-  int n;-  /* find the last non-empty entry */-  for( n = DB_MAX_ERROR_HISTORY; n > 0; n-- ) {-    if (db->errorList[n-1] != NULL && db->errorList[n-1][0] != 0) return n;-  }-  /* hmm, nothing found, return the last non-null entry instead */-  for( n = DB_MAX_ERROR_HISTORY; n > 0; n-- ) {-    if (db->errorList[n-1] != NULL) return n;-  } -  return 0;-#else-  return 0;-#endif-}--EWXWEXPORT(wxString*,wxDb_GetErrorMessage)(wxDb* db, int index)-{-#ifdef wxUSE_ODBC-  int n,idx;-  if (db==NULL) return new wxString(wxT(""));-  n = wxDb_GetNumErrorMessages(db);-  if (index >= n) index = n-1;-  if (index < 0)  index = 0;  -  idx = n - index - 1;-  if (idx < 0 || idx >= DB_MAX_ERROR_HISTORY)-    return new wxString(wxT("unknown error"));-  else-    return new wxString(db->errorList[n - index - 1]);-#else-  return new wxString(wxT("ODBC is not supported on this platform (recompile with ODBC support)"));-#endif-}--EWXWEXPORT(int,wxDb_GetNativeError)(wxDb* db)-{-#ifdef wxUSE_ODBC-  if (db==NULL)-    return (-1);-  else-    return db->nativeError;-#else-  return (-1);-#endif-}---EWXWEXPORT(bool,wxDb_IsOpen)(wxDb* db)-{-#ifdef wxUSE_ODBC-  if (db==NULL)-    return false;-  else-    return db->IsOpen();-#else-  return false;-#endif-}---EWXWEXPORT(void,wxDb_Close)(wxDb* db)-{-#ifdef wxUSE_ODBC-  db->Close();-#endif-}--EWXWEXPORT(bool,wxDb_CommitTrans)(wxDb* db)-{-#ifdef wxUSE_ODBC-  return db->CommitTrans();-#else-  return false;-#endif-}--EWXWEXPORT(bool,wxDb_RollbackTrans)(wxDb* db)-{-#ifdef wxUSE_ODBC-  return db->RollbackTrans();-#else-  return false;-#endif-}--EWXWEXPORT(void*,wxDb_GetHENV)(wxDb* db)-{-#ifdef wxUSE_ODBC-  return db->GetHENV();-#else-  return Null_HENV();-#endif-}--EWXWEXPORT(void*,wxDb_GetHDBC)(wxDb* db)-{-#ifdef wxUSE_ODBC-  return db->GetHDBC();-#else-  return Null_HDBC();-#endif-}--EWXWEXPORT(void*,wxDb_GetHSTMT)(wxDb* db)-{-#ifdef wxUSE_ODBC-  return db->GetHSTMT();-#else-  return Null_HSTMT();-#endif-}---EWXWEXPORT(bool,wxDb_GetNextError)(wxDb* db, void* henv, void* hdbc, void* hstmt)-{-#ifdef wxUSE_ODBC-  return db->GetNextError( (HENV)(henv), (HDBC)(hdbc), (HSTMT)(hstmt) );-#else-  return false;-#endif-}--EWXWEXPORT(bool,wxDb_ExecSql)(wxDb* db, wxString* sql)-{-#ifdef wxUSE_ODBC-  return db->ExecSql(*sql);-#else-  return false;-#endif-}--EWXWEXPORT(bool,wxDb_GetNext)(wxDb* db)-{-#ifdef wxUSE_ODBC-  return db->GetNext();-#else-  return false;-#endif-}---EWXWEXPORT(bool,wxDb_GetData)(wxDb* db, int column, int ctype, void* data, int dataLen, int* usedLen ) -{-#ifdef wxUSE_ODBC-  long used;-  bool result = db->GetData( column, ctype, data, dataLen, &used );-  if (usedLen) *usedLen = used;-  return result;-#else-  if (usedLen) *usedLen = 0;-  return false;-#endif-}--EWXWEXPORT(bool,wxDb_GetDataInt)(wxDb* db, int column, int* i, int* usedLen ) -{-#ifdef wxUSE_ODBC-  long used;-  long value  = 0;-  bool result = db->GetData( column, SQL_C_LONG, &value, sizeof(value), &used );-  if (usedLen) *usedLen = used;-  if (i) *i = value;-  return result;-#else-  return false;-#endif-}--EWXWEXPORT(bool,wxDb_GetDataDouble)(wxDb* db, int column, double* d, int* usedLen ) -{-#ifdef wxUSE_ODBC-  long used;-  double value  = 0;-  bool result = db->GetData( column, SQL_C_DOUBLE, &value, sizeof(value), &used );-  if (usedLen) *usedLen = used;-  if (d) *d = value;-  return result;-#else-  return false;-#endif-}---EWXWEXPORT(bool,wxDb_GetDataBinary)(wxDb* db, int column, bool asChars, char** pbuf, int* plen ) -{-  /* DAAN: A rather complicated procedure to retrieve SQL data as a string or-     binary value. Since there is no trustworthy way to retrieve the size of-     the returned data beforehand, we start with a static buffer that is at-     least large enough to hold all basic data types. We than allocate the-     correct size in the heap, or when the data buffer was too small, we-     repetively call GetData to retrieve the rest of the data.-  */-#ifdef wxUSE_ODBC-#define STATICBUF_LEN 512-  long  needed   = 0;-  bool  ok       = false;-  int   sqlType  = (asChars ? SQL_C_CHAR : SQL_C_BINARY);  -  char  staticBuf[STATICBUF_LEN+1];--  /* init args */-  *pbuf = NULL;-  *plen = 0;    --  /* get data */-  ok = db->GetData( column, sqlType, staticBuf, STATICBUF_LEN, &needed );-  -  /* case 1: no error and data is in 'staticBuf' */    -  if (ok) {-    if (needed > 0 && needed != SQL_NULL_DATA) {-      *pbuf = (char*)malloc( needed );-      if (*pbuf==NULL) return false;-      memcpy( *pbuf, staticBuf, needed );-    }-    *plen = needed;-    return ok;-  }-  -  /* case 2: buffer was too small, repetitively read data */-  else if (db->DB_STATUS == DB_ERR_DATA_TRUNCATED)-  {-    char* buf      = NULL;-    long  bufLen   = 0;-    long  totalLen = (asChars ? STATICBUF_LEN-1 : STATICBUF_LEN); /* less the terminating 0 ? */-    -    /* try to allocate correct length */-    if (needed > totalLen && needed != SQL_NO_TOTAL) -      bufLen = needed + 16; /* DAAN: somehow, we need at least 2 more items to prevent reallocs */-    else-      bufLen = 2*STATICBUF_LEN;--    buf = (char*)malloc( bufLen );-    if (buf==NULL) return false;-    memcpy( buf, staticBuf, totalLen );-    -    ok = db->GetData( column, sqlType, buf+totalLen, bufLen-totalLen, &needed ); -    while (!ok && db->DB_STATUS == DB_ERR_DATA_TRUNCATED)-    {-      char* newbuf;-      totalLen = (asChars ? bufLen-1 : bufLen);  /* less the terminating 0 ? */-    -      /* realloc the buffer exponentially */-      newbuf = (char*)realloc( buf, 2*bufLen );-      if (newbuf == NULL) {-        free(buf);-        return false;-      }-      buf    = newbuf;-      bufLen = 2*bufLen;--      /* add more data */-      ok = db->GetData( column, sqlType, buf+totalLen, bufLen-totalLen, &needed );-    }-    -    /* check for errors */-    if (!ok || needed == SQL_NO_TOTAL) {-      free(buf);-      return false;-    }-    -    /* add the last added data length to the total length */-    totalLen += needed;--    /* set results */-    *pbuf = buf;-    *plen = totalLen;-    return ok;-  }-  -  /* case 3: real error */-  else {-    *plen = needed; /* could contain error code */-    return ok;-  }-#else-  if (pbuf) *pbuf = NULL;-  if (plen) *plen = 0;-  return false;-#endif-}---EWXWEXPORT(bool,wxDb_GetDataDate)(wxDb* db, int column, int* ctime, int* usedLen ) -{-#if defined(wxUSE_ODBC) && defined(SQL_C_TYPE_DATE)-  SQL_DATE_STRUCT date;-  long used;-  bool ok;--  if (ctime) *ctime = -1;-  ok = db->GetData( column, SQL_C_TYPE_DATE, &date, sizeof(date), &used );-  if (usedLen) *usedLen = used;-  if (ok && used != SQL_NULL_DATA) {-    struct tm datetm;-    time_t    secs;-    memset(&datetm,0,sizeof(datetm));-    datetm.tm_year  = date.year - 1900;-    datetm.tm_mon   = date.month - 1;-    datetm.tm_mday  = date.day;-    datetm.tm_isdst = -1;-    secs = mktime(&datetm);-    if (ctime) *ctime = secs;-  }-  return ok;-#else-  return false;-#endif-}--EWXWEXPORT(bool,wxDb_GetDataTimeStamp)(wxDb* db, int column, int* ctime, int* fraction, int* usedLen ) -{-#if defined(wxUSE_ODBC) && defined(SQL_C_TYPE_TIMESTAMP)-  SQL_TIMESTAMP_STRUCT date;-  long used;-  bool ok;--  if (ctime)    *ctime = -1;-  if (fraction) *fraction = -1;--  ok = db->GetData( column, SQL_C_TYPE_TIMESTAMP, &date, sizeof(date), &used );-  if (usedLen) *usedLen = used;-  if (ok && used != SQL_NULL_DATA) {-    struct tm datetm;-    time_t    secs;-    memset(&datetm,0,sizeof(datetm));-    datetm.tm_year  = date.year - 1900;-    datetm.tm_mon   = date.month - 1;-    datetm.tm_mday  = date.day;-    datetm.tm_hour  = date.hour;-    datetm.tm_min   = date.minute;-    datetm.tm_sec   = date.second;-    datetm.tm_isdst = -1;-    secs = mktime(&datetm);-    if (ctime)    *ctime = secs;-    if (fraction) *fraction = date.fraction;-  }-  return ok;-#else-  return false;-#endif-}--EWXWEXPORT(bool,wxDb_GetDataTime)(wxDb* db, int column, int* secs, int* usedLen ) -{-#if defined(wxUSE_ODBC) && defined(SQL_C_TYPE_TIME)-  SQL_TIME_STRUCT sqltime;-  long used;-  bool ok;--  if (secs)    *secs = -1;-  ok = db->GetData( column, SQL_C_TYPE_TIME, &sqltime, sizeof(sqltime), &used );-  if (usedLen) *usedLen = used;-  if (ok && used != SQL_NULL_DATA) {-    if (secs)  *secs = 3600*sqltime.hour + 60*sqltime.minute + sqltime.second;-  }-  return ok;-#else-  return false;-#endif-}--EWXWEXPORT(int,wxDb_Dbms)(wxDb* db)-{-#ifdef wxUSE_ODBC-  return db->Dbms();-#else-  return 0;-#endif-}--EWXWEXPORT(wxString*,wxDb_GetDatabaseName)(wxDb* db)-{-#ifdef wxUSE_ODBC-  return new wxString(db->GetDatabaseName());-#else-  return NULL;-#endif-}--EWXWEXPORT(wxString*,wxDb_GetDatasourceName)(wxDb* db)-{-#ifdef wxUSE_ODBC-  return new wxString(db->GetDatasourceName());-#else-  return NULL;-#endif-}--EWXWEXPORT(wxString*,wxDb_GetPassword)(wxDb* db)-{-#ifdef wxUSE_ODBC-  return new wxString(db->GetPassword());-#else-  return NULL;-#endif-}--EWXWEXPORT(wxString*,wxDb_GetUsername)(wxDb* db)-{-#ifdef wxUSE_ODBC-  return new wxString(db->GetUsername());-#else-  return NULL;-#endif-}--EWXWEXPORT(bool,wxDb_Grant)(wxDb* db, int privileges, wxString* tableName, wxString* userList )-{-#ifdef wxUSE_ODBC-  return db->Grant(privileges, *tableName, *userList);-#else-  return false;-#endif-}--EWXWEXPORT(int,wxDb_GetTableCount)(wxDb* db)-{-#ifdef wxUSE_ODBC-  return db->GetTableCount();-#else-  return 0;-#endif-}-EWXWEXPORT(wxDbInf*,wxDb_GetCatalog)( wxDb* db, wxString* userName )-{-#ifdef wxUSE_ODBC-  if (userName!=NULL && userName->IsEmpty()) {-    userName=NULL;-  }-  return db->GetCatalog((userName ? userName->c_str() : NULL));-#else-  return NULL;-#endif-}--EWXWEXPORT(int,wxDb_GetColumnCount)(wxDb* db, wxString* tableName, wxString* userName )-{-#ifdef wxUSE_ODBC-  if (userName!=NULL && userName->IsEmpty()) {-    userName=NULL;-  }-  return db->GetColumnCount((userName ? userName->c_str() : NULL));-#else-  return 0;-#endif-}--EWXWEXPORT(wxDbColInf*,wxDb_GetColumns)(wxDb* db, wxString* tableName, int* columnCount, wxString* userName)-{-#ifdef wxUSE_ODBC-  UWORD       count  = 0;-  wxDbColInf* result = NULL;-  if (userName!=NULL && userName->IsEmpty()) {-    userName=NULL;-  }-  result = db->GetColumns(*tableName,&count,(userName ? userName->c_str() : NULL));-  if (columnCount) *columnCount = count;-  return result;-#else-  return NULL;-#endif-}--EWXWEXPORT(bool,wxDb_Open)(wxDb* db, wxString* dsn, wxString* userId, wxString* password)-{-#ifdef wxUSE_ODBC-  return db->Open(*dsn,*userId,*password);-#else-  return false;-#endif-}--EWXWEXPORT(wxString*,wxDb_SQLColumnName)(wxDb* db, wxString* columnName)-{-#ifdef wxUSE_ODBC-  return new wxString(db->SQLColumnName(*columnName));-#else-  return NULL;-#endif-}--EWXWEXPORT(wxString*,wxDb_SQLTableName)(wxDb* db, wxString* tableName)-{-#ifdef wxUSE_ODBC-  return new wxString(db->SQLTableName(*tableName));-#else-  return NULL;-#endif-}---EWXWEXPORT(bool,wxDb_TableExists)(wxDb* db, wxString* tableName, wxString* userName, wxString* path )-{-#ifdef wxUSE_ODBC-  if (userName!=NULL && userName->IsEmpty()) {-    userName=NULL;-  }-  return db->TableExists(*tableName,(userName ? userName->c_str() : NULL),*path);-#else-  return false;-#endif-}---EWXWEXPORT(bool,wxDb_TablePrivileges)(wxDb* db, wxString* tableName, wxString* privileges, wxString* userName, wxString* schema, wxString* path )-{-#ifdef wxUSE_ODBC-  if (schema!=NULL && schema->IsEmpty()) {-    schema=NULL;-  }-  return db->TablePrivileges(*tableName,*privileges,(userName==NULL ? wxT("") : userName->c_str()),(schema ? schema->c_str() : NULL),*path);-#else-  return false;-#endif-}---EWXWEXPORT(int,wxDb_TranslateSqlState)(wxDb* db, wxString* sqlState)-{-#ifdef wxUSE_ODBC-  return db->TranslateSqlState(*sqlState);-#else-  return 0;-#endif-}---EWXWEXPORT(wxDb*,wxDb_Create)( HENV henv, bool fwdOnlyCursors )-{-#ifdef wxUSE_ODBC-  return new wxDb(henv,fwdOnlyCursors);-#else-  return NULL;-#endif-}--EWXWEXPORT(void,wxDb_Delete)( wxDb* db )-{-#ifdef wxUSE_ODBC-  if (db!=NULL) delete db;-#endif-}--/*------------------------------------------------------------------------------  DbInf------------------------------------------------------------------------------*/-EWXWEXPORT(wxString*,wxDbInf_GetCatalogName)( wxDbInf* self )-{-#ifdef wxUSE_ODBC-  return new wxString(self->catalog);-#else-  return NULL;-#endif-}--EWXWEXPORT(wxString*,wxDbInf_GetSchemaName)( wxDbInf* self )-{-#ifdef wxUSE_ODBC-  return new wxString(self->schema);-#else-  return NULL;-#endif-}--EWXWEXPORT(int,wxDbInf_GetNumTables)( wxDbInf* self )-{-#ifdef wxUSE_ODBC-  return (self->numTables);-#else-  return 0;-#endif-}--EWXWEXPORT(wxDbTableInf*,wxDbInf_GetTableInf)( wxDbInf* self, int index )-{-#ifdef wxUSE_ODBC-  if (self && self->pTableInf && index >= 0 && index < self->numTables)-    return &self->pTableInf[index];-  else-    return NULL;-#else-  return NULL;-#endif-}--EWXWEXPORT(void,wxDbInf_Delete)( wxDbInf* self )-{-#ifdef wxUSE_ODBC-  if (self!=NULL) delete self;-#endif-}--/*------------------------------------------------------------------------------  DbTableInf------------------------------------------------------------------------------*/-EWXWEXPORT(wxString*,wxDbTableInf_GetTableName)( wxDbTableInf* self )-{-#ifdef wxUSE_ODBC-  return new wxString(self->tableName);-#else-  return NULL;-#endif-}--EWXWEXPORT(wxString*,wxDbTableInf_GetTableType)( wxDbTableInf* self )-{-#ifdef wxUSE_ODBC-  return new wxString(self->tableType);-#else-  return NULL;-#endif-}--EWXWEXPORT(wxString*,wxDbTableInf_GetTableRemarks)( wxDbTableInf* self )-{-#ifdef wxUSE_ODBC-  return new wxString(self->tableRemarks);-#else-  return NULL;-#endif-}--EWXWEXPORT(int,wxDbTableInf_GetNumCols)( wxDbTableInf* self )-{-#ifdef wxUSE_ODBC-  return (self->numCols);-#else-  return 0;-#endif-}--/*------------------------------------------------------------------------------  DbColInfArray------------------------------------------------------------------------------*/-EWXWEXPORT(wxDbColInf*,wxDbColInfArray_GetColInf)( wxDbColInf* self, int index )-{-#ifdef wxUSE_ODBC-  return &self[index];-#else-  return NULL;-#endif-}--EWXWEXPORT(void,wxDbColInfArray_Delete)( wxDbColInf* self )-{-#ifdef wxUSE_ODBC-  if (self!=NULL) delete [] self;-#endif-}--/*------------------------------------------------------------------------------  DbColInf------------------------------------------------------------------------------*/-EWXWEXPORT(wxString*,wxDbColInf_GetCatalog)( wxDbColInf* self )-{-#ifdef wxUSE_ODBC-  return new wxString(self->catalog);-#else-  return NULL;-#endif-}--EWXWEXPORT(wxString*,wxDbColInf_GetSchema)( wxDbColInf* self )-{-#ifdef wxUSE_ODBC-  return new wxString(self->schema);-#else-  return NULL;-#endif-}--EWXWEXPORT(wxString*,wxDbColInf_GetTableName)( wxDbColInf* self )-{-#ifdef wxUSE_ODBC-  return new wxString(self->tableName);-#else-  return NULL;-#endif-}--EWXWEXPORT(wxString*,wxDbColInf_GetColName)( wxDbColInf* self )-{-#ifdef wxUSE_ODBC-  return new wxString(self->colName);-#else-  return NULL;-#endif-}--EWXWEXPORT(wxString*,wxDbColInf_GetTypeName)( wxDbColInf* self )-{-#ifdef wxUSE_ODBC-  return new wxString(self->typeName);-#else-  return NULL;-#endif-}--EWXWEXPORT(wxString*,wxDbColInf_GetRemarks)( wxDbColInf* self )-{-#ifdef wxUSE_ODBC-  return new wxString(self->remarks);-#else-  return NULL;-#endif-}--EWXWEXPORT(wxString*,wxDbColInf_GetPkTableName)( wxDbColInf* self )-{-#ifdef wxUSE_ODBC-  return new wxString(self->PkTableName);-#else-  return NULL;-#endif-}--EWXWEXPORT(wxString*,wxDbColInf_GetFkTableName)( wxDbColInf* self )-{-#ifdef wxUSE_ODBC-  return new wxString(self->FkTableName);-#else-  return NULL;-#endif-}--EWXWEXPORT(int,wxDbColInf_GetSqlDataType)( wxDbColInf* self )-{-#ifdef wxUSE_ODBC-  return self->sqlDataType;-#else-  return (-1);-#endif-}--EWXWEXPORT(int,wxDbColInf_GetColumnSize)( wxDbColInf* self )-{-#ifdef wxUSE_ODBC-#if (wxVERSION_NUMBER <= 2500)-  return self->columnSize;-#else /* wxVERSION_NUMBER */-  return self->columnLength;-#endif /* wxVERSION_NUMBER */-#else /* wxUSE_ODBC */-  return (-1);-#endif /* wxUSE_ODBC */-}--EWXWEXPORT(int,wxDbColInf_GetBufferLength)( wxDbColInf* self )-{-#ifdef wxUSE_ODBC-#if (wxVERSION_NUMBER <= 2500)-  return self->bufferLength;-#else /* wxVERSION_NUMBER */-  return self->bufferSize;-#endif /* wxVERSION_NUMBER */-#else /* wxUSE_ODBC */-  return (-1);-#endif /* wxUSE_ODBC */-}--EWXWEXPORT(int,wxDbColInf_GetDecimalDigits)( wxDbColInf* self )-{-#ifdef wxUSE_ODBC-  return self->decimalDigits;-#else-  return (-1);-#endif-}--EWXWEXPORT(int,wxDbColInf_GetNumPrecRadix)( wxDbColInf* self )-{-#ifdef wxUSE_ODBC-  return self->numPrecRadix;-#else-  return (-1);-#endif-}--EWXWEXPORT(int,wxDbColInf_GetDbDataType)( wxDbColInf* self )-{-#ifdef wxUSE_ODBC-  return self->dbDataType;-#else-  return (-1);-#endif-}--EWXWEXPORT(int,wxDbColInf_GetPkCol)( wxDbColInf* self )-{-#ifdef wxUSE_ODBC-  return self->PkCol;-#else-  return 0;-#endif-}--EWXWEXPORT(int,wxDbColInf_GetFkCol)( wxDbColInf* self )-{-#ifdef wxUSE_ODBC-  return self->FkCol;-#else-  return 0;-#endif-}--EWXWEXPORT(bool,wxDbColInf_IsNullable)(wxDbColInf* self)-{-#ifdef wxUSE_ODBC-  return (self->nullable != 0);-#else-  return false;-#endif-}--/*------------------------------------------------------------------------------  Result set information.-  Unfortunately, the wxWindows standard interface doesn't have a way-  to retrieve column information for a query result -- so we add it-  here ourselves.------------------------------------------------------------------------------*/--EWXWEXPORT(wxDbColInf*, wxDb_GetResultColumns)( wxDb* db, int* pnumCols )-{-#ifndef wxUSE_ODBC-  if (pnumCols) *pnumCols = 0;-  return NULL;-#else-  RETCODE retcode = 0;-  HSTMT   hstmt   = SQL_NULL_HSTMT;-  SWORD   numCols = 0;-  -  UWORD       column = 0;-  wxDbColInf* colInf = NULL;--  if (pnumCols) *pnumCols = 0;-  if (db==NULL) return NULL;--  /* allocate column info's */-  hstmt   = db->GetHSTMT();-  retcode = SQLNumResultCols(hstmt,&numCols);-  if (retcode != SQL_SUCCESS) {-    db->DispAllErrors(db->GetHENV(), db->GetHDBC(), hstmt);-    return NULL;-  }-  if (numCols==0) return NULL; -  -  colInf = new wxDbColInf[numCols+1];-  if (!colInf) return NULL;--  /* mark the end of the array */-  wxStrcpy(colInf[numCols].tableName, wxEmptyString);-  wxStrcpy(colInf[numCols].colName, wxEmptyString);-  colInf[numCols].sqlDataType = 0;--  /* initialize all column infos */-  for( column = 0; column < numCols; column++)-  {-    SWORD  colNameLen  = 0;-    SWORD  typeNameLen = 0;-    UDWORD colSize     = 0;--    /* get the column information */-    retcode = SQLDescribeCol(hstmt, column+1,-#ifndef wxUSE_UNICODE-                            (SQLCHAR*) colInf[column].colName,-#else-                            (SQLWCHAR*) colInf[column].colName,-#endif-                            DB_MAX_COLUMN_NAME_LEN+1, &colNameLen,-                            &colInf[column].sqlDataType,-                            &colSize,-                            &colInf[column].decimalDigits, -                            &colInf[column].nullable );-#if (wxVERSION_NUMBER <= 2500)-    colInf[column].columnSize   = colSize;-#else /* (wxVERSION_NUMBER <= 2500) */-    colInf[column].columnLength = colSize;-#endif /* (wxVERSION_NUMBER <= 2500) */-    -    /* check for errors */-    if (retcode != SQL_SUCCESS) {-      db->DispAllErrors(db->GetHENV(), db->GetHDBC(), hstmt);-      delete [] colInf;-      return NULL;-    }--#ifdef SQL_DESC_TYPE_NAME    -    /* try to get type name too (errors are no problem) */-    SQLColAttribute( hstmt, column+1, SQL_DESC_TYPE_NAME,-                     colInf[column].typeName, 128+1,-                     &typeNameLen, NULL );-#endif--    /* for compatibilty with the wxWindows GetColumns, we set the dbDataType too */-    colInf[column].dbDataType = 0;-    switch (colInf[column].sqlDataType)-    {-#ifndef wxUSE_UNICODE-    #if defined(SQL_WVARCHAR)-        case SQL_WVARCHAR:-    #endif-    #if defined(SQL_WCHAR)-        case SQL_WCHAR:-    #endif-#endif-        case SQL_VARCHAR:-        case SQL_CHAR:-            colInf[column].dbDataType = DB_DATA_TYPE_VARCHAR;-        break;--        case SQL_TINYINT:-        case SQL_SMALLINT:-        case SQL_INTEGER:-#ifdef SQL_BIGINT-        case SQL_BIGINT:-#endif-#ifdef SQL_BIT-        case SQL_BIT:-#endif-            colInf[column].dbDataType = DB_DATA_TYPE_INTEGER;-            break;-        case SQL_DOUBLE:-        case SQL_DECIMAL:-        case SQL_NUMERIC:-        case SQL_FLOAT:-        case SQL_REAL:-            colInf[column].dbDataType = DB_DATA_TYPE_FLOAT;-            break;-#ifdef SQL_DATE-        case SQL_DATE:-            colInf[column].dbDataType = DB_DATA_TYPE_DATE;-            break;-#endif-#ifdef SQL_BINARY-        case SQL_BINARY:-            colInf[column].dbDataType = DB_DATA_TYPE_BLOB;-            break;-#endif-#ifdef __WXDEBUG__-        default:-            wxString errMsg;-            errMsg.Printf(wxT("SQL Data type %d currently not supported by wxWindows"), colInf[column].sqlDataType);-            wxLogDebug(errMsg,wxT("ODBC DEBUG MESSAGE"));-#endif-    }-  } /* for columns */--  if (pnumCols) *pnumCols = numCols;-  return colInf;-#endif-}--}
− src/cpp/dragimage.cpp
@@ -1,115 +0,0 @@-#include "wrapper.h"-#include <wx/dragimag.h>-#include <wx/generic/dragimgg.h>--extern "C" {-/*------------------------------------------------------------------------------  DragImage------------------------------------------------------------------------------*/-EWXWEXPORT(wxDragImage*,wxDragImage_Create)(wxBitmap* image,int x,int y)-{-  return new wxDragImage(*image, wxNullCursor, wxPoint(x, y));-}--EWXWEXPORT(wxDragImage*,wxDragIcon)(wxIcon* icon,int x,int y)-{-  return new wxDragImage(*icon, wxNullCursor, wxPoint(x, y));-}--EWXWEXPORT(wxDragImage*,wxDragString)(wxString* text,int x,int y)-{-  return new wxDragImage(*text, wxNullCursor, wxPoint(x, y));-}--EWXWEXPORT(wxDragImage*,wxDragTreeItem)(wxTreeCtrl* treeCtrl,wxTreeItemId* id)-{-  return new wxDragImage(*treeCtrl,*id);-}--EWXWEXPORT(wxDragImage*,wxDragListItem)(wxListCtrl* listCtrl,long id)-{-  return new wxDragImage(*listCtrl, id);-}--EWXWEXPORT(wxGenericDragImage*,wxGenericDragImage_Create)(wxCursor* cursor)-{-  return new wxGenericDragImage(*cursor);-}--EWXWEXPORT(wxGenericDragImage*,wxGenericDragIcon)(wxIcon* icon)-{-  return new wxGenericDragImage(*icon, wxNullCursor);-}--EWXWEXPORT(wxGenericDragImage*,wxGenericDragString)(wxString* text)-{-  return new wxGenericDragImage(*text, wxNullCursor);-}--EWXWEXPORT(wxGenericDragImage*,wxGenericDragTreeItem)(wxTreeCtrl* treeCtrl,wxTreeItemId* id)-{-  return new wxGenericDragImage(*treeCtrl,*id);-}--EWXWEXPORT(wxGenericDragImage*,wxGenericDragListItem)(wxListCtrl* listCtrl,long id)-{-  return new wxGenericDragImage(*listCtrl, id);-}--EWXWEXPORT(void,wxDragImage_Delete)(wxDragImage* self)-{-  if (self) delete self;-}--EWXWEXPORT(bool,wxDragImage_BeginDragFullScreen)(wxDragImage* self,int x_pos,int y_pos,wxWindow* window,bool fullScreen,wxRect* rect)-{-  return self->BeginDrag(wxPoint(x_pos, y_pos), window, fullScreen, rect);-}--EWXWEXPORT(bool,wxDragImage_BeginDrag)(wxDragImage* self,int x,int y,wxWindow* window,wxWindow* boundingWindow)-{-  return self->BeginDrag(wxPoint(x, y), window, boundingWindow);-}--EWXWEXPORT(bool,wxGenericDragImage_DoDrawImage)(wxGenericDragImage* self,wxDC* dc,int x,int y)-{-  return self->DoDrawImage(*dc, wxPoint(x, y));-}--EWXWEXPORT(bool,wxDragImage_EndDrag)(wxDragImage* self)-{-  return self->EndDrag();-}--EWXWEXPORT(wxRect*,wxGenericDragImage_GetImageRect)(wxGenericDragImage* self,int x_pos,int y_pos)-{-  wxRect* r = new wxRect();-  *r = self->GetImageRect(wxPoint(x_pos, y_pos));-  return r;-}--EWXWEXPORT(bool,wxDragImage_Hide)(wxDragImage* self)-{-  return self->Hide();-}--EWXWEXPORT(bool,wxDragImage_Move)(wxDragImage* self,int x,int y)-{-  return self->Move(wxPoint(x, y));-}--EWXWEXPORT(bool,wxDragImage_Show)(wxDragImage* self)-{-  return self->Show();-}--EWXWEXPORT(bool,wxGenericDragImage_UpdateBackingFromWindow)(wxGenericDragImage* self,wxDC* windowDC,wxMemoryDC* destDC,int x,int y,int w,int h,int xdest,int ydest,int width,int height)-{-  return self->UpdateBackingFromWindow(*windowDC,*destDC,-                                       wxRect(x, y, w, h),-                                       wxRect(xdest, ydest, width, height));-}--}--
− src/cpp/eljaccelerator.cpp
@@ -1,55 +0,0 @@-#include "wrapper.h"
-
-extern "C"
-{
-
-EWXWEXPORT(void*, wxAcceleratorEntry_Create)(int flags, int keyCode, int cmd)
-{
-	return (void*) new wxAcceleratorEntry(flags, keyCode, cmd);
-}
-
-EWXWEXPORT(void, wxAcceleratorEntry_Delete)(void* _obj)
-{
-	delete (wxAcceleratorEntry*)_obj;
-}
-
-EWXWEXPORT(void, wxAcceleratorEntry_Set)(void* _obj, int flags, int keyCode, int cmd)
-{
-	((wxAcceleratorEntry*)_obj)->Set(flags, keyCode, cmd);
-}
-	
-EWXWEXPORT(int, wxAcceleratorEntry_GetFlags)(void* _obj)
-{
-	return ((wxAcceleratorEntry*)_obj)->GetFlags();
-}
-	
-EWXWEXPORT(int, wxAcceleratorEntry_GetKeyCode)(void* _obj)
-{
-	return ((wxAcceleratorEntry*)_obj)->GetKeyCode();
-}
-	
-EWXWEXPORT(int, wxAcceleratorEntry_GetCommand)(void* _obj)
-{
-	return ((wxAcceleratorEntry*)_obj)->GetCommand();
-}
-	
-EWXWEXPORT(void*, wxAcceleratorTable_Create)(int n, void* entries)
-{
-	wxAcceleratorEntry* list = new wxAcceleratorEntry[n];
-	
-	for (int i = 0; i< n; i++)
-		list[i] = *(((wxAcceleratorEntry**)entries)[i]);
-	
-	wxAcceleratorTable* result = new wxAcceleratorTable(n, list);
-	
-	delete [] list;
-	
-	return (void*) result;
-}
-
-EWXWEXPORT(void, wxAcceleratorTable_Delete)(void* _obj)
-{
-	delete (wxAcceleratorEntry*)_obj;
-}
-
-}
− src/cpp/eljartprov.cpp
@@ -1,77 +0,0 @@-#include "wrapper.h"
-#if wxVERSION_NUMBER >= 2400
-#include "wx/artprov.h"
-
-extern "C"
-{
-typedef void* _cdecl (*TCreateBmp)(void* _obj, void* id, void* clt, int w, int h);
-}
-
-
-class ELJArtProv: public wxArtProvider
-{
-	private:
-		void* EiffelObject;
-		TCreateBmp cb;
-	protected:
-    	virtual wxBitmap CreateBitmap(const wxArtID& id, const wxArtClient& client, const wxSize& size)
-		{
-			if (EiffelObject)
-			{
-				void* res = cb (EiffelObject, (void*)id.c_str(), (void*)client.c_str(), size.GetWidth(), size.GetHeight());
-				
-				if (res)
-					return (*((wxBitmap*)res));
-				else
-					return wxNullBitmap;
-			}
-			return wxNullBitmap;
-		}
-	public:
-		ELJArtProv (void* obj, void* clb){EiffelObject = obj; cb = (TCreateBmp)clb;};
-		void Release(){EiffelObject = NULL; cb = NULL;};
-};
-
-extern "C"
-{
-
-EWXWEXPORT(void*,ELJArtProv_Create)(void* _obj,void* _clb)
-{
-	return (void*)new ELJArtProv(_obj, _clb);
-}
-	
-EWXWEXPORT(void,ELJArtProv_Release)(ELJArtProv* self)
-{
-	self->Release();
-	delete self;
-}
-	
-EWXWEXPORT(void,PushProvider)(wxArtProvider* provider)
-{
-#if WXWIN_COMPATIBILITY_2_6
-	wxArtProvider::PushProvider(provider);
-#else
-	wxArtProvider::Push(provider);
-#endif
-}
-
-EWXWEXPORT(bool,PopProvider)()
-{
-#if WXWIN_COMPATIBILITY_2_6
-	return wxArtProvider::PopProvider();
-#else
-	return wxArtProvider::Pop();
-#endif
-}
-
-EWXWEXPORT(bool,RemoveProvider)(wxArtProvider* provider)
-{
-#if WXWIN_COMPATIBILITY_2_6
-	return wxArtProvider::RemoveProvider(provider);
-#else
-	return wxArtProvider::Remove(provider);
-#endif
-}
-
-}
-#endif
− src/cpp/eljbitmap.cpp
@@ -1,208 +0,0 @@-#include "wrapper.h"--extern "C"-{--EWXWEXPORT(void*,wxBitmap_Create)(void* _data,int _type,int _width,int _height,int _depth)-{-#ifdef __WIN32__-	return (void*) new wxBitmap(_data, _type, _width, _height, _depth);-#else-	return (void*) new wxBitmap((const char*)_data, _width, _height, _depth);-#endif-}--EWXWEXPORT(void*,wxBitmap_CreateFromXPM)(void* _data)-{-	return (void*) new wxBitmap((const char**)_data);-}--EWXWEXPORT(void*,wxBitmap_CreateEmpty)(int _width,int _height,int _depth)-{-	return (void*) new wxBitmap(_width, _height, _depth);-}--EWXWEXPORT(void*,wxBitmap_CreateLoad)(wxString* name,int type)-{-#if wxVERSION_NUMBER >= 2400-	return (void*) new wxBitmap(*name, (wxBitmapType)type);-#else-	return (void*) new wxBitmap(*name, (long)type);-#endif-}--EWXWEXPORT(void*,wxBitmap_CreateDefault)()-{-	return (void*) new wxBitmap();-}--EWXWEXPORT(void,wxBitmap_Delete)(wxBitmap* self)-{-	delete self;-}--EWXWEXPORT(void,wxBitmap_GetSubBitmap)(wxBitmap* self,int x,int y,int w,int h,wxBitmap* bitmap)-{-	*bitmap = self->GetSubBitmap(wxRect(x, y, w, h));-}--EWXWEXPORT(bool,wxBitmap_LoadFile)(wxBitmap* self,wxString* name,int type)-{-#if wxVERSION_NUMBER >= 2400-	return self->LoadFile(*name, (wxBitmapType)type);-#else-	return self->LoadFile(*name, (long)type);-#endif-}--EWXWEXPORT(bool,wxBitmap_SaveFile)(wxBitmap* self,wxString* name,int type,wxPalette* cmap)-{-#if wxVERSION_NUMBER >= 2400-	return self->SaveFile(*name, (wxBitmapType)type,  cmap);-#else-	return self->SaveFile(*name, type,  cmap);-#endif-}--EWXWEXPORT(wxMask*,wxBitmap_GetMask)(wxBitmap* self)-{-	return self->GetMask();-}--EWXWEXPORT(void,wxBitmap_SetMask)(wxBitmap* self,wxMask* mask)-{-	self->SetMask(mask);-}--/**/-EWXWEXPORT(void,wxBitmap_AddHandler)(void* handler)-{-#ifdef __WIN32__-	wxBitmap::AddHandler((wxGDIImageHandler*) handler);-#endif-}--EWXWEXPORT(void,wxBitmap_InsertHandler)(void* handler)-{-#ifdef __WIN32__-	wxBitmap::InsertHandler((wxGDIImageHandler*) handler);-#endif-}--EWXWEXPORT(bool,wxBitmap_RemoveHandler)(wxString* name)-{-#ifdef __WIN32__-	return wxBitmap::RemoveHandler(*name);-#else-	return false;-#endif-}--EWXWEXPORT(void*,wxBitmap_FindHandlerByName)(wxString* name)-{-#ifdef __WIN32__-	return (void*)wxBitmap::FindHandler(*name);-#else-	return NULL;-#endif-}--EWXWEXPORT(void*,wxBitmap_FindHandlerByExtension)(wxString* extension,int type)-{-#ifdef __WIN32__-	return (void*)wxBitmap::FindHandler(*extension, (long)type);-#else-	return NULL;-#endif-}--EWXWEXPORT(void*,wxBitmap_FindHandlerByType)(int type)-{-#ifdef __WIN32__-	return (void*)wxBitmap::FindHandler((long)type);-#else-	return NULL;-#endif-}--EWXWEXPORT(void,wxBitmap_InitStandardHandlers)()-{-#ifdef __WIN32__-	wxBitmap::InitStandardHandlers();-#endif-}--EWXWEXPORT(void,wxBitmap_CleanUpHandlers)()-{-#ifdef __WIN32__-	wxBitmap::CleanUpHandlers();-#endif-}--/**/-EWXWEXPORT(bool,wxBitmap_IsOk)(wxBitmap* self)-{-	return self->IsOk();-}--EWXWEXPORT(int,wxBitmap_GetWidth)(wxBitmap* self)-{-	return self->GetWidth();-}--EWXWEXPORT(int,wxBitmap_GetHeight)(wxBitmap* self)-{-	return self->GetHeight();-}--EWXWEXPORT(int,wxBitmap_GetDepth)(wxBitmap* self)-{-	return self->GetDepth();-}--EWXWEXPORT(void,wxBitmap_SetWidth)(wxBitmap* self,int w)-{-	self->SetWidth(w);-}--EWXWEXPORT(void,wxBitmap_SetHeight)(wxBitmap* self,int h)-{-	self->SetHeight(h);-}--EWXWEXPORT(void,wxBitmap_SetDepth)(wxBitmap* self,int d)-{-	self->SetDepth(d);-}--EWXWEXPORT(void*,wxStaticBitmap_Create)(wxWindow* _prt,int _id,wxBitmap* bitmap, int _lft, int _top, int _wdt, int _hgt, int _stl)-{-	return (void*) new wxStaticBitmap (_prt, _id, *bitmap, wxPoint(_lft, _top), wxSize(_wdt, _hgt), _stl);-}--EWXWEXPORT(void,wxStaticBitmap_SetIcon)(wxStaticBitmap* self,wxIcon* icon)-{-	self->SetIcon(*icon);-}--EWXWEXPORT(void,wxStaticBitmap_SetBitmap)(wxStaticBitmap* self,wxBitmap* bitmap)-{-	self->SetBitmap(*bitmap);-}--EWXWEXPORT(void,wxStaticBitmap_GetIcon)(wxStaticBitmap* self,wxIcon* _ref)-{-	*_ref = self->GetIcon();-}--EWXWEXPORT(void,wxStaticBitmap_GetBitmap)(wxStaticBitmap* self,wxBitmap* _ref)-{-	*_ref = self->GetBitmap();-}--EWXWEXPORT(void,wxStaticBitmap_Delete)(wxStaticBitmap* self)-{-	delete self;-}--}
− src/cpp/eljbrush.cpp
@@ -1,105 +0,0 @@-#include "wrapper.h"
-
-extern "C"
-{
-
-EWXWEXPORT(wxBrush*,wxBrush_CreateDefault)()
-{
-	return  new wxBrush();
-}
-
-EWXWEXPORT(wxBrush*,wxBrush_CreateFromBitmap)(wxBitmap* bitmap)
-{
-	return new wxBrush(*bitmap);
-}
-
-EWXWEXPORT(wxBrush*,wxBrush_CreateFromColour)(wxColour* col,int style)
-{
-	return new wxBrush(*col, style);
-}
-
-EWXWEXPORT(void*,wxBrush_CreateFromStock)(int id)
-{
-	switch (id)
-	{
-		case 0:
-			return (void*)wxBLUE_BRUSH;
-		case 1:
-			return (void*)wxGREEN_BRUSH;
-		case 2:
-			return (void*)wxWHITE_BRUSH;
-		case 3:
-			return (void*)wxBLACK_BRUSH;
-		case 4:
-			return (void*)wxGREY_BRUSH;
-		case 5:
-			return (void*)wxMEDIUM_GREY_BRUSH;
-		case 6:
-			return (void*)wxLIGHT_GREY_BRUSH;
-		case 7:
-			return (void*)wxTRANSPARENT_BRUSH;
-		case 8:
-			return (void*)wxCYAN_BRUSH;
-		case 9:
-			return (void*)wxRED_BRUSH;
-	}
-	
-	return NULL;
-}
-
-EWXWEXPORT(void,wxBrush_Delete)(wxBrush* self)
-{
-	delete self;
-}
-
-EWXWEXPORT(void,wxBrush_SetColour)(wxBrush* self,wxColour* col)
-{
-	self->SetColour(*col);
-}
-	
-EWXWEXPORT(void,wxBrush_SetColourSingle)(wxBrush* self,wxUint8 r,wxUint8 g,wxUint8 b)
-{
-	self->SetColour(r,g,b);
-}
-	
-EWXWEXPORT(void,wxBrush_SetStyle)(wxBrush* self,int style)
-{
-	self->SetStyle(style);
-}
-	
-EWXWEXPORT(void,wxBrush_SetStipple)(wxBrush* self,wxBitmap* stipple)
-{
-	self->SetStipple(*stipple);
-}
-	
-EWXWEXPORT(void,wxBrush_Assign)(wxBrush* self,wxBrush* brush)
-{
-	*self = *brush;
-}
-	
-EWXWEXPORT(bool,wxBrush_IsEqual)(wxBrush* self,wxBrush* brush)
-{
-	return *self == *brush;
-}
-	
-EWXWEXPORT(void,wxBrush_GetColour)(wxBrush* self,wxColour* _ref)
-{
-	*_ref = self->GetColour();
-}
-	
-EWXWEXPORT(int,wxBrush_GetStyle)(wxBrush* self)
-{
-	return self->GetStyle();
-}
-	
-EWXWEXPORT(void,wxBrush_GetStipple)(wxBrush* self,wxBitmap* _ref)
-{
-	*_ref = *(self->GetStipple());
-}
-	
-EWXWEXPORT(bool,wxBrush_IsOk)(wxBrush* self)
-{
-	return self->IsOk();
-}
-	
-}
− src/cpp/eljbusyinfo.cpp
@@ -1,32 +0,0 @@-#include "wrapper.h"
-#include "wx/busyinfo.h"
-
-extern "C"
-{
-
-EWXWEXPORT(void*,wxBusyInfo_Create)(wxString* _txt)
-{
-	return (void*) new wxBusyInfo (*_txt);
-}
-
-EWXWEXPORT(void,wxBusyInfo_Delete)(wxBusyInfo* _obj)
-{
-	delete _obj;
-}
-
-EWXWEXPORT(void*,wxBusyCursor_Create)()
-{
-	return (void*) new wxBusyCursor ();
-}
-
-EWXWEXPORT(void*,wxBusyCursor_CreateWithCursor)(void* _cur)
-{
-	return (void*) new wxBusyCursor ((wxCursor*)_cur);
-}
-
-EWXWEXPORT(void,wxBusyCursor_Delete)(wxBusyCursor* _obj)
-{
-	delete _obj;
-}
-
-}
− src/cpp/eljbutton.cpp
@@ -1,81 +0,0 @@-#include "wrapper.h"
-
-extern "C"
-{
-
-EWXWEXPORT(wxButton*,wxButton_Create)(wxWindow* _prt,int _id,wxString* _txt, int _lft, int _top, int _wdt, int _hgt, int _stl)
-{
-	return new wxButton (_prt, _id, *_txt, wxPoint(_lft, _top), wxSize(_wdt, _hgt), _stl, wxDefaultValidator);
-}
-
-EWXWEXPORT(bool,wxButton_SetBackgroundColour)(wxButton* self,wxColour* colour)
-{
-	return self->SetBackgroundColour(*colour);
-}
-	
-EWXWEXPORT(void,wxButton_SetDefault)(wxButton* self)
-{
-	self->SetDefault();
-}
-
-EWXWEXPORT(wxBitmapButton*,wxBitmapButton_Create)(wxWindow* _prt,int _id,wxBitmap* _bmp, int _lft, int _top, int _wdt, int _hgt, int _stl)
-{
-	return new wxBitmapButton (_prt, _id, *_bmp, wxPoint(_lft, _top), wxSize(_wdt, _hgt), _stl, wxDefaultValidator);
-}
-
-EWXWEXPORT(void,wxBitmapButton_GetBitmapLabel)(wxBitmapButton* self,wxBitmap* _ref)
-{
-	*_ref = self->GetBitmapLabel();
-}
-	
-EWXWEXPORT(void,wxBitmapButton_GetBitmapSelected)(wxBitmapButton* self,wxBitmap* _ref)
-{
-	*_ref = self->GetBitmapSelected();
-}
-	
-EWXWEXPORT(void,wxBitmapButton_GetBitmapFocus)(wxBitmapButton* self,wxBitmap* _ref)
-{
-	*_ref = self->GetBitmapFocus();
-}
-	
-EWXWEXPORT(void,wxBitmapButton_GetBitmapDisabled)(wxBitmapButton* self,wxBitmap* _ref)
-{
-	*_ref = self->GetBitmapDisabled();
-}
-	
-EWXWEXPORT(void,wxBitmapButton_SetBitmapSelected)(wxBitmapButton* self,wxBitmap* sel)
-{
-	self->SetBitmapSelected(*sel);
-}
-	
-EWXWEXPORT(void,wxBitmapButton_SetBitmapFocus)(wxBitmapButton* self,wxBitmap* focus)
-{
-	self->SetBitmapFocus(*focus);
-}
-	
-EWXWEXPORT(void,wxBitmapButton_SetBitmapDisabled)(wxBitmapButton* self,wxBitmap* disabled)
-{
-	self->SetBitmapDisabled(*disabled);
-}
-	
-EWXWEXPORT(void,wxBitmapButton_SetBitmapLabel)(wxBitmapButton* self,wxBitmap* bitmap)
-{
-	self->SetBitmapLabel(*bitmap);
-}
-	
-EWXWEXPORT(void,wxBitmapButton_SetMargins)(wxBitmapButton* self,int x,int y)
-{
-	self->SetMargins(x, y);
-}
-	
-EWXWEXPORT(int,wxBitmapButton_GetMarginX)(wxBitmapButton* self)
-{
-	return self->GetMarginX();
-}
-	
-EWXWEXPORT(int,wxBitmapButton_GetMarginY)(wxBitmapButton* self)
-{
-	return self->GetMarginY();
-}
-	
-}
− src/cpp/eljcalendarctrl.cpp
@@ -1,207 +0,0 @@-#include "wrapper.h"
-
-extern "C"
-{
-
-EWXWEXPORT(wxCalendarCtrl*,wxCalendarCtrl_Create)(wxWindow* _prt,int _id,wxDateTime* _dat,int _lft,int _top,int _wdt,int _hgt,int _stl)
-{
-	return new wxCalendarCtrl (_prt, _id, *_dat, wxPoint(_lft, _top), wxSize(_wdt, _hgt), _stl);
-}
-
-EWXWEXPORT(void,wxCalendarCtrl_SetDate)(wxCalendarCtrl* self,wxDateTime* date)
-{
-	self->SetDate(*date);
-}
-	
-EWXWEXPORT(void,wxCalendarCtrl_GetDate)(wxCalendarCtrl* self,wxDateTime* date)
-{
-	*date = self->GetDate();
-}
-	
-EWXWEXPORT(void,wxCalendarCtrl_EnableYearChange)(wxCalendarCtrl* self,bool enable)
-{
-	self->EnableYearChange(enable);
-}
-	
-EWXWEXPORT(void,wxCalendarCtrl_EnableMonthChange)(wxCalendarCtrl* self,bool enable)
-{
-	self->EnableMonthChange(enable);
-}
-	
-EWXWEXPORT(void,wxCalendarCtrl_EnableHolidayDisplay)(wxCalendarCtrl* self,bool display)
-{
-	self->EnableHolidayDisplay(display);
-}
-	
-EWXWEXPORT(void,wxCalendarCtrl_SetHeaderColours)(wxCalendarCtrl* self,wxColour* colFg,wxColour* colBg)
-{
-	self->SetHeaderColours(*colFg,*colBg);
-}
-	
-EWXWEXPORT(void,wxCalendarCtrl_GetHeaderColourFg)(wxCalendarCtrl* self,wxColour* colour)
-{
-	*colour = self->GetHeaderColourFg();
-}
-	
-EWXWEXPORT(void,wxCalendarCtrl_GetHeaderColourBg)(wxCalendarCtrl* self,wxColour* colour)
-{
-	*colour = self->GetHeaderColourBg();
-}
-	
-EWXWEXPORT(void,wxCalendarCtrl_SetHighlightColours)(wxCalendarCtrl* self,wxColour* colFg,wxColour* colBg)
-{
-	self->SetHighlightColours(*colFg,*colBg);
-}
-	
-EWXWEXPORT(void,wxCalendarCtrl_GetHighlightColourFg)(wxCalendarCtrl* self,wxColour* colour)
-{
-	*colour = self->GetHighlightColourFg();
-}
-	
-EWXWEXPORT(void,wxCalendarCtrl_GetHighlightColourBg)(wxCalendarCtrl* self,wxColour* colour)
-{
-	*colour = self->GetHighlightColourBg();
-}
-	
-EWXWEXPORT(void,wxCalendarCtrl_SetHolidayColours)(wxCalendarCtrl* self,wxColour* colFg,wxColour* colBg)
-{
-	self->SetHolidayColours(*colFg,*colBg);
-}
-	
-EWXWEXPORT(void,wxCalendarCtrl_GetHolidayColourFg)(wxCalendarCtrl* self,wxColour* colour)
-{
-	*colour = self->GetHolidayColourFg();
-}
-	
-EWXWEXPORT(void,wxCalendarCtrl_GetHolidayColourBg)(wxCalendarCtrl* self,wxColour* colour)
-{
-	*colour = self->GetHolidayColourBg();
-}
-	
-EWXWEXPORT(wxCalendarDateAttr*,wxCalendarCtrl_GetAttr)(wxCalendarCtrl* self,size_t day)
-{
-	return self->GetAttr(day);
-}
-	
-EWXWEXPORT(void,wxCalendarCtrl_SetAttr)(wxCalendarCtrl* self,size_t day,wxCalendarDateAttr* attr)
-{
-	self->SetAttr(day, attr);
-}
-	
-EWXWEXPORT(void,wxCalendarCtrl_SetHoliday)(wxCalendarCtrl* self,size_t day)
-{
-	self->SetHoliday(day);
-}
-	
-EWXWEXPORT(void,wxCalendarCtrl_ResetAttr)(wxCalendarCtrl* self,size_t day)
-{
-	self->ResetAttr(day);
-}
-	
-EWXWEXPORT(int,wxCalendarCtrl_HitTest)(wxCalendarCtrl* self,int x,int y,wxDateTime* date,void* wd)
-{
-	return (int)self->HitTest(wxPoint(x, y), date, (wxDateTime::WeekDay*)wd);
-}
-	
-
-EWXWEXPORT(wxCalendarDateAttr*,wxCalendarDateAttr_Create)(wxColour* _ctxt,wxColour* _cbck,wxColour* _cbrd,wxFont* _fnt,int _brd)
-{
-	return new wxCalendarDateAttr(*_ctxt,*_cbck,*_cbrd,*_fnt, (wxCalendarDateBorder)_brd);
-}
-
-EWXWEXPORT(wxCalendarDateAttr*,wxCalendarDateAttr_CreateDefault)()
-{
-	return new wxCalendarDateAttr();
-}
-
-EWXWEXPORT(void,wxCalendarDateAttr_Delete)(wxCalendarDateAttr* self)
-{
-	delete self;
-}
-
-EWXWEXPORT(void,wxCalendarDateAttr_SetTextColour)(wxCalendarDateAttr* self,wxColour* col)
-{
-	self->SetTextColour(*col);
-}
-	
-EWXWEXPORT(void,wxCalendarDateAttr_SetBackgroundColour)(wxCalendarDateAttr* self,wxColour* col)
-{
-	self->SetBackgroundColour(*col);
-}
-	
-EWXWEXPORT(void,wxCalendarDateAttr_SetBorderColour)(wxCalendarDateAttr* self,wxColour* col)
-{
-	self->SetBorderColour(*col);
-}
-	
-EWXWEXPORT(void,wxCalendarDateAttr_SetFont)(wxCalendarDateAttr* self,wxFont* font)
-{
-	self->SetFont(*font);
-}
-	
-EWXWEXPORT(void,wxCalendarDateAttr_SetBorder)(wxCalendarDateAttr* self,int border)
-{
-	self->SetBorder((wxCalendarDateBorder)border);
-}
-	
-EWXWEXPORT(void,wxCalendarDateAttr_SetHoliday)(wxCalendarDateAttr* self,bool holiday)
-{
-	self->SetHoliday(holiday);
-}
-	
-EWXWEXPORT(bool,wxCalendarDateAttr_HasTextColour)(wxCalendarDateAttr* self)
-{
-	return self->HasTextColour();
-}
-	
-EWXWEXPORT(bool,wxCalendarDateAttr_HasBackgroundColour)(wxCalendarDateAttr* self)
-{
-	return self->HasBackgroundColour();
-}
-	
-EWXWEXPORT(bool,wxCalendarDateAttr_HasBorderColour)(wxCalendarDateAttr* self)
-{
-	return self->HasBorderColour();
-}
-	
-EWXWEXPORT(bool,wxCalendarDateAttr_HasFont)(wxCalendarDateAttr* self)
-{
-	return self->HasFont();
-}
-	
-EWXWEXPORT(bool,wxCalendarDateAttr_HasBorder)(wxCalendarDateAttr* self)
-{
-	return self->HasBorder();
-}
-	
-EWXWEXPORT(bool,wxCalendarDateAttr_IsHoliday)(wxCalendarDateAttr* self)
-{
-	return self->IsHoliday();
-}
-	
-EWXWEXPORT(void,wxCalendarDateAttr_GetTextColour)(wxCalendarDateAttr* self,wxColour* _ref)
-{
-	*_ref = self->GetTextColour();
-}
-	
-EWXWEXPORT(void,wxCalendarDateAttr_GetBackgroundColour)(wxCalendarDateAttr* self,wxColour* _ref)
-{
-	*_ref = self->GetBackgroundColour();
-}
-	
-EWXWEXPORT(void,wxCalendarDateAttr_GetBorderColour)(wxCalendarDateAttr* self,wxColour* _ref)
-{
-	*_ref = self->GetBorderColour();
-}
-	
-EWXWEXPORT(void,wxCalendarDateAttr_GetFont)(wxCalendarDateAttr* self,wxFont* _ref)
-{
-	*_ref = self->GetFont();
-}
-	
-EWXWEXPORT(int,wxCalendarDateAttr_GetBorder)(wxCalendarDateAttr* self)
-{
-	return (int)self->GetBorder();
-}
-
-}
− src/cpp/eljcaret.cpp
@@ -1,71 +0,0 @@-#include "wrapper.h"
-#include "wx/caret.h"
-
-extern "C"
-{
-
-EWXWEXPORT(wxCaret*,wxCaret_Create)(wxWindow* _wnd,int _wth,int _hgt)
-{
-	return new wxCaret(_wnd, _wth, _hgt);
-}
-
-EWXWEXPORT(bool,wxCaret_IsOk)(wxCaret* self)
-{
-	return self->IsOk();
-}
-	
-EWXWEXPORT(bool,wxCaret_IsVisible)(wxCaret* self)
-{
-	return self->IsVisible();
-}
-	
-EWXWEXPORT(wxPoint*,wxCaret_GetPosition)(wxCaret* self)
-{
-	wxPoint* p = new wxPoint();
-	*p = self->GetPosition();
-	return p;
-}
-	
-EWXWEXPORT(wxSize*,wxCaret_GetSize)(wxCaret* self)
-{
-	wxSize* s = new wxSize();
-	*s = self->GetSize();
-	return s;
-}
-	
-EWXWEXPORT(wxWindow*,wxCaret_GetWindow)(wxCaret* self)
-{
-	return self->GetWindow();
-}
-	
-EWXWEXPORT(void,wxCaret_SetSize)(wxCaret* self,int width,int height)
-{
-	self->SetSize(width, height);
-}
-	
-EWXWEXPORT(void,wxCaret_Move)(wxCaret* self,int x,int y)
-{
-	self->Move(x, y);
-}
-	
-EWXWEXPORT(void,wxCaret_Show)(wxCaret* self)
-{
-	self->Show();
-}
-	
-EWXWEXPORT(void,wxCaret_Hide)(wxCaret* self)
-{
-	self->Hide();
-}
-	
-EWXWEXPORT(int,wxCaret_GetBlinkTime)()
-{
-	return wxCaret::GetBlinkTime();
-}
-	
-EWXWEXPORT(void,wxCaret_SetBlinkTime)(int milliseconds)
-{
-	wxCaret::SetBlinkTime(milliseconds);
-}
-	
-}
− src/cpp/eljcheckbox.cpp
@@ -1,26 +0,0 @@-#include "wrapper.h"
-
-extern "C"
-{
-
-EWXWEXPORT(void*,wxCheckBox_Create)(wxWindow* _prt,int _id,wxString* _txt, int _lft, int _top, int _wdt, int _hgt, int _stl)
-{
-	return (void*) new wxCheckBox (_prt, _id, *_txt, wxPoint(_lft, _top), wxSize(_wdt, _hgt), _stl, wxDefaultValidator);
-}
-
-EWXWEXPORT(void,wxCheckBox_Delete)(wxCheckBox* self)
-{
-	delete self;
-}
-
-EWXWEXPORT(void,wxCheckBox_SetValue)(wxCheckBox* self,bool value)
-{
-	self->SetValue(value);
-}
-	
-EWXWEXPORT(bool,wxCheckBox_GetValue)(wxCheckBox* self)
-{
-	return self->GetValue();
-}
-
-} 
− src/cpp/eljchecklistbox.cpp
@@ -1,31 +0,0 @@-#include "wrapper.h"
-
-extern "C"
-{
-
-EWXWEXPORT(wxCheckListBox*,wxCheckListBox_Create)(wxWindow* _prt,int _id,int _lft,int _top,int _wdt,int _hgt,int _n,void* _str,int _stl)
-{
-	wxCheckListBox* result = new wxCheckListBox ((wxWindow*)_prt, _id, wxPoint(_lft, _top), wxSize(_wdt, _hgt), 0, NULL, _stl, wxDefaultValidator);
-
-	for (int i = 0; i < _n; i++)
-		result->Append(((wxChar**)_str)[i]);
-
-	return result;
-}
-
-EWXWEXPORT(void,wxCheckListBox_Delete)(wxCheckListBox* self)
-{
-	delete self;
-}
-
-EWXWEXPORT(void,wxCheckListBox_Check)(wxCheckListBox* self,int item,bool check)
-{
-	self->Check(item, check);
-}
-	
-EWXWEXPORT(bool,wxCheckListBox_IsChecked)(wxCheckListBox* self,int item)
-{
-	return self->IsChecked(item);
-}
-
-}
− src/cpp/eljchoice.cpp
@@ -1,67 +0,0 @@-#include "wrapper.h"
-
-extern "C"
-{
-
-EWXWEXPORT(wxChoice*,wxChoice_Create)(wxWindow* _prt,int _id,int _lft,int _top,int _wdt,int _hgt,int _n,void* _str,int _stl)
-{
-	wxString* list = new wxString[_n];
-
-	for (int i = 0; i < _n; i++)
-		list[i] = ((wxChar**)_str)[i];
-
-	wxChoice* result = new wxChoice (_prt, _id, wxPoint(_lft, _top),wxSize(_wdt, _hgt), _n, list, _stl, wxDefaultValidator);
-
-	delete [] list;
-
-	return result;
-}
-
-EWXWEXPORT(void,wxChoice_Append)(wxChoice* self,wxString* item)
-{
-	self->Append(*item);
-}
-	
-EWXWEXPORT(void,wxChoice_Delete)(wxChoice* self,int n)
-{
-	self->Delete(n);
-}
-	
-EWXWEXPORT(void,wxChoice_Clear)(wxChoice* self)
-{
-	self->Clear();
-}
-	
-EWXWEXPORT(int,wxChoice_GetCount)(wxChoice* self)
-{
-	return self->GetCount();
-}
-	
-EWXWEXPORT(int,wxChoice_GetSelection)(wxChoice* self)
-{
-	return self->GetSelection();
-}
-	
-EWXWEXPORT(void,wxChoice_SetSelection)(wxChoice* self,int n)
-{
-	self->SetSelection(n);
-}
-	
-EWXWEXPORT(int,wxChoice_FindString)(wxChoice* self,wxString* s)
-{
-	return self->FindString(*s);
-}
-	
-EWXWEXPORT(wxString*,wxChoice_GetString)(wxChoice* self,int n)
-{
-	wxString *result = new wxString();
-	*result = self->GetString(n);
-	return result;
-}
-	
-EWXWEXPORT(void,wxChoice_SetString)(wxChoice* self,int n,wxString* s)
-{
-	self->SetString(n,*s);
-}
-	
-} 
− src/cpp/eljclipboard.cpp
@@ -1,66 +0,0 @@-#include "wrapper.h"
-
-extern "C"
-{
-
-EWXWEXPORT(wxClipboard*,wxClipboard_Create)()
-{
-	return wxTheClipboard;
-}
-
-EWXWEXPORT(void,wxClipboard_Delete)(wxClipboard* self)
-{
-	// delete _obj;
-}
-
-EWXWEXPORT(bool,wxClipboard_Open)(wxClipboard* self)
-{
-	return self->Open();
-}
-
-EWXWEXPORT(void,wxClipboard_Close)(wxClipboard* self)
-{
-	self->Close();
-}
-
-EWXWEXPORT(bool,wxClipboard_IsOpened)(wxClipboard* self)
-{
-	return self->IsOpened();
-}
-
-EWXWEXPORT(bool,wxClipboard_SetData)(wxClipboard* self,wxDataObject* data)
-{
-	return self->SetData(data);
-}
-
-EWXWEXPORT(bool,wxClipboard_AddData)(wxClipboard* self,wxDataObject* data)
-{
-	return self->AddData(data);
-}
-
-EWXWEXPORT(bool,wxClipboard_IsSupported)(wxClipboard* self,wxDataFormat* format)
-{
-	return self->IsSupported(*format);
-}
-
-EWXWEXPORT(bool,wxClipboard_GetData)(wxClipboard* self,wxDataObject* data)
-{
-	return self->GetData(*data);
-}
-
-EWXWEXPORT(void,wxClipboard_Clear)(wxClipboard* self)
-{
-	self->Clear();
-}
-
-EWXWEXPORT(bool,wxClipboard_Flush)(wxClipboard* self)
-{
-	return self->Flush();
-}
-
-EWXWEXPORT(void,wxClipboard_UsePrimarySelection)(wxClipboard* self,bool primary)
-{
-	self->UsePrimarySelection (primary);
-}
-
-}
− src/cpp/eljcoldata.cpp
@@ -1,46 +0,0 @@-#include "wrapper.h"
-
-extern "C"
-{
-
-EWXWEXPORT(wxColourData*,wxColourData_Create)()
-{
-	return new wxColourData();
-}
-
-EWXWEXPORT(void,wxColourData_Delete)(wxColourData* self)
-{
-	delete self;
-}
-
-EWXWEXPORT(void,wxColourData_SetChooseFull)(wxColourData* self,bool flag)
-{
-	self->SetChooseFull(flag);
-}
-	
-EWXWEXPORT(bool,wxColourData_GetChooseFull)(wxColourData* self)
-{
-	return self->GetChooseFull();
-}
-	
-EWXWEXPORT(void,wxColourData_SetColour)(wxColourData* self,wxColour* colour)
-{
-	self->SetColour(*colour);
-}
-	
-EWXWEXPORT(void,wxColourData_GetColour)(wxColourData* self,wxColour* _ref)
-{
-	*_ref = self->GetColour();
-}
-	
-EWXWEXPORT(void,wxColourData_SetCustomColour)(wxColourData* self,int i,wxColour* colour)
-{
-	self->SetCustomColour(i,*colour);
-}
-	
-EWXWEXPORT(void,wxColourData_GetCustomColour)(wxColourData* self,int i,wxColour* _ref)
-{
-	*_ref = self->GetCustomColour(i);
-}
-	
-} 
− src/cpp/eljcolour.cpp
@@ -1,116 +0,0 @@-#include "wrapper.h"
-
-extern "C"
-{
-
-EWXWEXPORT(wxColour*,wxColour_CreateEmpty)()
-{
-	return  new wxColour();
-}
-
-EWXWEXPORT(wxColour*,wxColour_CreateRGB)(wxUint8 _red,wxUint8 _green,wxUint8 _blue,wxUint8 _alpha)
-{
-	return new wxColour(_red, _green, _blue,_alpha);
-}
-
-EWXWEXPORT(wxColour*,wxColour_CreateByName)(wxString* _name)
-{
-	return new wxColour(*_name);
-}
-
-EWXWEXPORT(void*,wxColour_CreateFromStock)(int _id)
-{
-	switch (_id)
-	{
-		case 0:
-			return (void*)wxBLACK;
-		case 1:
-			return (void*)wxWHITE;
-		case 2:
-			return (void*)wxRED;
-		case 3:
-			return (void*)wxBLUE;
-		case 4:
-			return (void*)wxGREEN;
-		case 5:
-			return (void*)wxCYAN;
-		case 6:
-			return (void*)wxLIGHT_GREY;
-	}
-
-	return NULL;
-}
-
-EWXWEXPORT(void,wxColour_Delete)(wxColour* self)
-{
-	delete self;
-}
-
-EWXWEXPORT(void,wxColour_Set)(wxColour* self,wxUint8 _red,wxUint8 _green,wxUint8 _blue,wxUint8 _alpha)
-{
-	self->Set(_red, _green, _blue);
-}
-	
-EWXWEXPORT(void,wxColour_Assign)(wxColour* self,wxColour* other)
-{
-	*self = *other;
-}
-	
-EWXWEXPORT(bool,wxColour_IsOk)(wxColour* self)
-{
-	return self->IsOk();
-}
-	
-EWXWEXPORT(wxUint8,wxColour_Red)(wxColour* self)
-{
-	return self->Red();
-}
-	
-EWXWEXPORT(wxUint8,wxColour_Green)(wxColour* self)
-{
-	return self->Green();
-}
-	
-EWXWEXPORT(wxUint8,wxColour_Blue)(wxColour* self)
-{
-	return self->Blue();
-}
-
-EWXWEXPORT(wxUint8,wxColour_Alpha)(wxColour* self)
-{
-	return self->Alpha();
-}
-
-// FIXME: the return type on this is platform dependent
-// and thus evil.  If you really want a GetPixel method,
-// please hack this code and throw in the relevant 
-// ifdefs, cuz I don't want to deal with it.
-//   Windows - WXCOLORREF
-//   GTK     - int
-//   X11     - long
-//   Mac     - (WXCOLORREF&)
-// EWXWEXPORT(WXCOLORREF,wxColour_GetPixel)(wxColour* self)
-// {
-// 	return self->GetPixel();
-// }
-
-EWXWEXPORT(void,wxColour_Copy)(wxColour* self,wxColour* _other)
-{
-	*self = *_other;
-}
-
-EWXWEXPORT(void,wxColour_SetByName)(wxColour* self,wxString* _name)
-{
-	*self = *_name;
-}
-
-EWXWEXPORT(bool,wxColour_ValidName)(wxString* _name)
-{
-#if (wxVERSION_NUMBER < 2600)
-  return (wxTheColourDatabase->FindColour (*_name)) != NULL;
-#else
-  return wxTheColourDatabase->Find(*_name).IsOk();
-#endif
-}
-
-}
− src/cpp/eljcolourdlg.cpp
@@ -1,16 +0,0 @@-#include "wrapper.h"
-
-extern "C"
-{
-
-EWXWEXPORT(wxColourDialog*,wxColourDialog_Create)(wxWindow* _prt,wxColourData* col)
-{
-	return new wxColourDialog (_prt, col);
-}
-
-EWXWEXPORT(void,wxColourDialog_GetColourData)(wxColourDialog* self,wxColourData* col)
-{
-	*col = self->GetColourData();
-}
-
-}
− src/cpp/eljcombobox.cpp
@@ -1,179 +0,0 @@-#include "wrapper.h"
-
-extern "C"
-{
-
-EWXWEXPORT(wxComboBox*,wxComboBox_Create)(wxWindow* _prt,int _id,wxString* _txt,int _lft,int _top,int _wdt,int _hgt,int _n,void* _str,int _stl)
-{
-	wxString* list = new wxString[_n];
-
-	for (int i = 0; i < _n; i++)
-		list[i] = ((wxChar**)_str)[i];
-
-	wxComboBox* result = new wxComboBox (_prt, _id, *_txt, wxPoint(_lft, _top), wxSize(_wdt, _hgt), _n, list, _stl, wxDefaultValidator);
-
-	delete [] list;
-#if wxVERSION_NUMBER < 2400
-	if ((result->Number()) && (result->GetSelection() == -1)) result->SetSelection(0);
-#else
-	if ((result->GetCount()) && (result->GetSelection() == -1)) result->SetSelection(0);
-#endif
-	
-	return result;
-}
-
-EWXWEXPORT(void,wxComboBox_Copy)(wxComboBox* self)
-{
-	self->Copy();
-}
-	
-EWXWEXPORT(void,wxComboBox_Cut)(wxComboBox* self)
-{
-	self->Cut();
-}
-	
-EWXWEXPORT(void,wxComboBox_Paste)(wxComboBox* self)
-{
-	self->Paste();
-}
-	
-EWXWEXPORT(void,wxComboBox_SetInsertionPoint)(wxComboBox* self,int pos)
-{
-	self->SetInsertionPoint(pos);
-}
-	
-EWXWEXPORT(void,wxComboBox_SetInsertionPointEnd)(wxComboBox* self)
-{
-	self->SetInsertionPointEnd();
-}
-	
-EWXWEXPORT(int,wxComboBox_GetInsertionPoint)(wxComboBox* self)
-{
-	return self->GetInsertionPoint();
-}
-	
-EWXWEXPORT(int,wxComboBox_GetLastPosition)(wxComboBox* self)
-{
-	return self->GetLastPosition();
-}
-	
-EWXWEXPORT(void,wxComboBox_Replace)(wxComboBox* self,int from,int to,wxString* value)
-{
-	self->Replace(from, to,*value);
-}
-	
-EWXWEXPORT(void,wxComboBox_Remove)(wxComboBox* self,int from,int to)
-{
-	self->Remove(from, to);
-#if wxVERSION_NUMBER < 2400
-	if ((self->Number()) && (self->GetSelection() == -1)) self->SetSelection(0);
-#else
-	if ((self->GetCount()) && (self->GetSelection() == -1)) self->SetSelection(0);
-#endif
-}
-	
-EWXWEXPORT(void,wxComboBox_SetTextSelection)(wxComboBox* self,int from,int to)
-{
-	self->SetSelection(from, to);
-}
-	
-EWXWEXPORT(void,wxComboBox_SetEditable)(wxComboBox* self,bool editable)
-{
-	self->SetEditable(editable);
-}
-	
-EWXWEXPORT(wxString*,wxComboBox_GetStringSelection)(wxComboBox* self)
-{
-	return new wxString(self->GetStringSelection());
-}
-	
-EWXWEXPORT(wxString*,wxComboBox_GetValue)(wxComboBox* self)
-{
-	return new wxString(self->GetValue());
-}
-	
-EWXWEXPORT(void,wxComboBox_Append)(wxComboBox* self,wxString* item)
-{
-	self->Append(*item);
-#if wxVERSION_NUMBER < 2400
-	if (self->Number() && (self->GetSelection() == -1)) self->SetSelection(0);
-#else
-	if (self->GetCount() && (self->GetSelection() == -1)) self->SetSelection(0);
-#endif
-}
-	
-EWXWEXPORT(void,wxComboBox_AppendData)(wxComboBox* self,wxString* item,void* d)
-{
-#if defined(__WXMAC__)
-	self->Append(*item);
-#else
-	self->Append(*item, d);
-#endif
-
-#if wxVERSION_NUMBER < 2400
-	if ((self->Number()) && (self->GetSelection() == -1)) self->SetSelection(0);
-#else
-	if ((self->GetCount()) && (self->GetSelection() == -1)) self->SetSelection(0);
-#endif
-}
-	
-EWXWEXPORT(void,wxComboBox_Delete)(wxComboBox* self,int n)
-{
-	self->Delete(n);
-#if wxVERSION_NUMBER < 2400
-	if ((self->Number()) && (self->GetSelection() == -1)) self->SetSelection(0);
-#else
-	if ((self->GetCount()) && (self->GetSelection() == -1)) self->SetSelection(0);
-#endif
-}
-	
-EWXWEXPORT(void,wxComboBox_Clear)(wxComboBox* self)
-{
-	self->Clear();
-}
-	
-EWXWEXPORT(int,wxComboBox_GetCount)(wxComboBox* self)
-{
-#if wxVERSION_NUMBER < 2400
-	return self->Number();
-#else
-	return self->GetCount();
-#endif
-}
-	
-EWXWEXPORT(int,wxComboBox_GetSelection)(wxComboBox* self)
-{
-	return self->GetSelection();
-}
-	
-EWXWEXPORT(void,wxComboBox_SetSelection)(wxComboBox* self,int n)
-{
-	self->SetSelection(n);
-}
-	
-EWXWEXPORT(int,wxComboBox_FindString)(wxComboBox* self,wxString* s)
-{
-	return self->FindString(*s);
-}
-	
-EWXWEXPORT(wxString*,wxComboBox_GetString)(wxComboBox* self,int n)
-{
-	return new wxString(self->GetString(n));
-}
-	
-EWXWEXPORT(void,wxComboBox_SetString)(wxComboBox* self,int n,wxString* s)
-{
-	self->SetString(n,*s);
-}
-	
-EWXWEXPORT(void,wxComboBox_SetClientData)(wxComboBox* self,int n,void* clientData)
-{
-	self->SetClientData( n, clientData );
-}
-	
-EWXWEXPORT(void*,wxComboBox_GetClientData)(wxComboBox* self,int n)
-{
-	return self->GetClientData(n);
-}
-
-}
− src/cpp/eljconfigbase.cpp
@@ -1,244 +0,0 @@-#include "wrapper.h"
-
-extern "C"
-{
-
-EWXWEXPORT(wxConfigBase*,wxConfigBase_Create)()
-{
-	return wxConfigBase::Create();
-}
-	
-EWXWEXPORT(void,wxConfigBase_Delete)(wxConfigBase* self)
-{
-	delete self;
-}
-
-EWXWEXPORT(void,wxConfigBase_SetPath)(wxConfigBase* self,wxString* strPath)
-{
-	self->SetPath(*strPath);
-}
-	
-EWXWEXPORT(wxString*,wxConfigBase_GetPath)(wxConfigBase* self)
-{
-	wxString *result = new wxString();
-	*result = self->GetPath();
-	return result;
-}
-	
-EWXWEXPORT(wxString*,wxConfigBase_GetFirstGroup)(wxConfigBase* self,long* lIndex)
-{
-	wxString* tmp;
-        tmp = new wxString(wxT(""));
-        if (self->GetFirstGroup(*tmp,*lIndex)) {
-          *lIndex = -1;
-        }         
-	return tmp;
-}
-	
-EWXWEXPORT(wxString*,wxConfigBase_GetNextGroup)(wxConfigBase* self,long* lIndex)
-{
-	wxString* tmp;
-        tmp = new wxString(wxT(""));
-        if (self->GetNextGroup(*tmp,*lIndex)) {
-          *lIndex = -1;
-        }         
-	return tmp;
-}
-
-	
-EWXWEXPORT(wxString*,wxConfigBase_GetFirstEntry)(wxConfigBase* self,long* lIndex)
-{
-	wxString* tmp;
-        tmp = new wxString(wxT(""));
-        if (self->GetFirstEntry(*tmp,*lIndex)) {
-          *lIndex = -1;
-        }         
-	return tmp;
-}
-	
-EWXWEXPORT(wxString*,wxConfigBase_GetNextEntry)(wxConfigBase* self,long* lIndex)
-{
-	wxString* tmp;
-        tmp = new wxString(wxT(""));
-        if (self->GetNextEntry(*tmp,*lIndex)) {
-          *lIndex = -1;
-        }         
-	return tmp;
-}
-	
-EWXWEXPORT(size_t,wxConfigBase_GetNumberOfEntries)(wxConfigBase* self,bool bRecursive)
-{
-	return self->GetNumberOfEntries(bRecursive);
-}
-	
-EWXWEXPORT(size_t,wxConfigBase_GetNumberOfGroups)(wxConfigBase* self,bool bRecursive)
-{
-	return self->GetNumberOfGroups(bRecursive);
-}
-	
-EWXWEXPORT(bool,wxConfigBase_HasGroup)(wxConfigBase* self,wxString* strName)
-{
-	return self->HasGroup(*strName);
-}
-	
-EWXWEXPORT(bool,wxConfigBase_HasEntry)(wxConfigBase* self,wxString* strName)
-{
-	return self->HasEntry(*strName);
-}
-	
-EWXWEXPORT(bool,wxConfigBase_Exists)(wxConfigBase* self,wxString* strName)
-{
-	return self->Exists(*strName);
-}
-	
-EWXWEXPORT(int,wxConfigBase_GetEntryType)(wxConfigBase* self,wxString* name)
-{
-	return (int)self->GetEntryType(*name);
-}
-	
-EWXWEXPORT(wxString*,wxConfigBase_ReadString)(wxConfigBase* self,wxString* key,wxString* defVal)
-{
-	wxString tmp;
-        tmp = self->Read(*key,*defVal);
-	return new wxString(tmp);
-}
-	
-EWXWEXPORT(int,wxConfigBase_ReadInteger)(wxConfigBase* self,wxString* key,int defVal)
-{
-	return self->Read(*key, defVal);
-}
-	
-EWXWEXPORT(double,wxConfigBase_ReadDouble)(wxConfigBase* self,wxString* key,double defVal)
-{
-	double val;
-	if (self->Read(*key, &val, defVal))
- 		return val;
- 	return 0.0;
-}
-	
-EWXWEXPORT(bool,wxConfigBase_ReadBool)(wxConfigBase* self,wxString* key,bool defVal)
-{
-	bool val;
-	if (self->Read(*key, &val, defVal))
-		return val;
-	return false;
-}
-	
-EWXWEXPORT(bool,wxConfigBase_WriteString)(wxConfigBase* self,wxString* key,wxString* value)
-{
-	return self->Write(*key,*value);
-}
-	
-// FIXME: just left for backward-compatibiliry. wxHaskell uses int as long now.
-EWXWEXPORT(bool,wxConfigBase_WriteInteger)(wxConfigBase* self,wxString* key,int value)
-{
-	return self->Write(*key, (long)value);
-}
-	
-EWXWEXPORT(bool,wxConfigBase_WriteLong)(wxConfigBase* self,wxString* key,long value)
-{
-	return self->Write(*key, value);
-}
-	
-EWXWEXPORT(bool,wxConfigBase_WriteDouble)(wxConfigBase* self,wxString* key,double value)
-{
-	return self->Write(*key, value);
-}
-	
-EWXWEXPORT(bool,wxConfigBase_WriteBool)(wxConfigBase* self,wxString* key,bool value)
-{
-	return self->Write(*key, value);
-}
-	
-EWXWEXPORT(bool,wxConfigBase_Flush)(wxConfigBase* self,bool bCurrentOnly)
-{
-	return self->Flush(bCurrentOnly);
-}
-	
-EWXWEXPORT(bool,wxConfigBase_RenameEntry)(wxConfigBase* self,wxString* oldName,wxString* newName)
-{
-	return self->RenameEntry(*oldName,*newName);
-}
-	
-EWXWEXPORT(bool,wxConfigBase_RenameGroup)(wxConfigBase* self,wxString* oldName,wxString* newName)
-{
-	return self->RenameGroup(*oldName,*newName);
-}
-	
-EWXWEXPORT(bool,wxConfigBase_DeleteEntry)(wxConfigBase* self,wxString* key,bool bDeleteGroupIfEmpty)
-{
-	return self->DeleteEntry(*key, bDeleteGroupIfEmpty);
-}
-	
-EWXWEXPORT(bool,wxConfigBase_DeleteGroup)(wxConfigBase* self,wxString* key)
-{
-	return self->DeleteGroup(*key);
-}
-	
-EWXWEXPORT(bool,wxConfigBase_DeleteAll)(wxConfigBase* self)
-{
-	return self->DeleteAll();
-}
-	
-EWXWEXPORT(bool,wxConfigBase_IsExpandingEnvVars)(wxConfigBase* self)
-{
-	return self->IsExpandingEnvVars();
-}
-	
-EWXWEXPORT(void,wxConfigBase_SetExpandEnvVars)(wxConfigBase* self,bool bDoIt)
-{
-	self->SetExpandEnvVars(bDoIt);
-}
-	
-EWXWEXPORT(void,wxConfigBase_SetRecordDefaults)(wxConfigBase* self,bool bDoIt)
-{
-	self->SetRecordDefaults(bDoIt);
-}
-	
-EWXWEXPORT(bool,wxConfigBase_IsRecordingDefaults)(wxConfigBase* self)
-{
-	return self->IsRecordingDefaults();
-}
-	
-EWXWEXPORT(wxString*,wxConfigBase_ExpandEnvVars)(wxConfigBase* self,wxString* str)
-{
-	wxString *result = new wxString();
-	*result = self->ExpandEnvVars(*str);
-	return result;
-}
-	
-EWXWEXPORT(wxString*,wxConfigBase_GetAppName)(wxConfigBase* self)
-{
-	wxString *result = new wxString();
-	*result = self->GetAppName();
-	return result;
-}
-	
-EWXWEXPORT(wxString*,wxConfigBase_GetVendorName)(wxConfigBase* self)
-{
-	wxString *result = new wxString();
-	*result = self->GetVendorName();
-	return result;
-}
-	
-EWXWEXPORT(void,wxConfigBase_SetAppName)(wxConfigBase* self,wxString* appName)
-{
-	self->SetAppName(*appName);
-}
-	
-EWXWEXPORT(void,wxConfigBase_SetVendorName)(wxConfigBase* self,wxString* vendorName)
-{
-	self->SetVendorName(*vendorName);
-}
-	
-EWXWEXPORT(void,wxConfigBase_SetStyle)(wxConfigBase* self,int style)
-{
-	self->SetStyle((long)style);
-}
-	
-EWXWEXPORT(long,wxConfigBase_GetStyle)(wxConfigBase* self)
-{
-	return self->GetStyle();
-}
-	
-}
− src/cpp/eljcontrol.cpp
@@ -1,23 +0,0 @@-#include "wrapper.h"
-
-extern "C"
-{
-
-EWXWEXPORT(void,wxControl_SetLabel)(wxControl* self,wxString* text)
-{
-	self->SetLabel(*text);
-}
-	
-EWXWEXPORT(wxString*,wxControl_GetLabel)(wxControl* self)
-{
-	wxString *result = new wxString();
-	*result = self->GetLabel();
-	return result;
-}
-
-EWXWEXPORT(void,wxControl_Command)(wxControl* self,wxCommandEvent* event)
-{
-	self->Command(*event);
-}
-
-}
− src/cpp/eljctxhelp.cpp
@@ -1,100 +0,0 @@-#include "wrapper.h"
-#if wxVERSION_NUMBER >= 2400
-#include "wx/cshelp.h"
-
-extern "C"
-{
-
-EWXWEXPORT(wxContextHelp*,wxContextHelp_Create)(wxWindow* win,bool beginHelp)
-{
-	return new wxContextHelp(win, beginHelp);
-}
-	
-EWXWEXPORT(void,wxContextHelp_Delete)(wxContextHelp* self)
-{
-	delete self;
-}
-	
-EWXWEXPORT(bool,wxContextHelp_BeginContextHelp)(wxContextHelp* self,wxWindow* win)
-{
-	return self->BeginContextHelp(win);
-}
-	
-EWXWEXPORT(bool,wxContextHelp_EndContextHelp)(wxContextHelp* self)
-{
-	return self->EndContextHelp();
-}
-
-
-EWXWEXPORT(wxContextHelpButton*,wxContextHelpButton_Create)(wxWindow* parent,int id,int x,int y,int w,int h,long style)
-{
-	return new wxContextHelpButton(parent, (wxWindowID)id,wxPoint(x, y), wxSize(w, h), style);
-}
-
-
-EWXWEXPORT(wxHelpProvider*,wxHelpProvider_Get)()
-{
-	return wxHelpProvider::Get();
-}
-	
-EWXWEXPORT(wxHelpProvider*,wxHelpProvider_Set)(wxHelpProvider* helpProvider)
-{
-	return wxHelpProvider::Set(helpProvider);
-}
-	
-EWXWEXPORT(wxString*,wxHelpProvider_GetHelp)(void* _obj,void* window)
-{
-	wxString *result = new wxString();
-	*result = ((wxHelpProvider*)_obj)->GetHelp((wxWindowBase*)window);
-	return result;
-}
-	
-EWXWEXPORT(bool,wxHelpProvider_ShowHelp)(wxHelpProvider* self,wxWindowBase* window)
-{
-	return self->ShowHelp(window);
-}
-	
-EWXWEXPORT(void,wxHelpProvider_AddHelp)(wxHelpProvider* self,wxWindowBase* window,wxString* text)
-{
-	self->AddHelp(window,*text);
-}
-	
-EWXWEXPORT(void,wxHelpProvider_AddHelpById)(wxHelpProvider* self,int id,wxString* text)
-{
-	self->AddHelp((wxWindowID)id,*text);
-}
-	
-EWXWEXPORT(void,wxHelpProvider_RemoveHelp)(wxHelpProvider* self,wxWindowBase* window)
-{
-	self->RemoveHelp(window);
-}
-	
-EWXWEXPORT(void,wxHelpProvider_Delete)(wxHelpProvider* self)
-{
-	delete self;
-}
-
-
-EWXWEXPORT(wxSimpleHelpProvider*,wxSimpleHelpProvider_Create)()
-{
-	return new wxSimpleHelpProvider();
-}
-	
-
-EWXWEXPORT(wxHelpControllerHelpProvider*,wxHelpControllerHelpProvider_Create)(wxHelpControllerBase* ctr)
-{
-	return new wxHelpControllerHelpProvider(ctr);
-}
-	
-EWXWEXPORT(void,wxHelpControllerHelpProvider_SetHelpController)(wxHelpControllerHelpProvider* self,wxHelpControllerBase* hc)
-{
-	self->SetHelpController(hc);
-}
-	
-EWXWEXPORT(wxHelpControllerBase*,wxHelpControllerHelpProvider_GetHelpController)(wxHelpControllerHelpProvider* self)
-{
-	return self->GetHelpController();
-}
-	
-}
-#endif
− src/cpp/eljcursor.cpp
@@ -1,26 +0,0 @@-#include "wrapper.h"
-
-extern "C"
-{
-
-EWXWEXPORT(wxCursor*,Cursor_CreateFromStock)(int _id)
-{
-	return  new wxCursor(_id);
-}
-
-EWXWEXPORT(wxCursor*,Cursor_CreateFromImage)(wxImage* image)
-{
-	return  new wxCursor(*image);
-}
-
-EWXWEXPORT(wxCursor*,Cursor_CreateLoad)(wxString* name,long type,int width,int height)
-{
-#ifdef __WXGTK__
-// See http://thread.gmane.org/gmane.comp.lib.wxwidgets.general/45999
-	return NULL;
-#else
-	return new wxCursor(*name, type, width, height);
-#endif
-}
-
-}
− src/cpp/eljdataformat.cpp
@@ -1,52 +0,0 @@-#include "wrapper.h"
-
-extern "C"
-{
-
-EWXWEXPORT(wxDataFormat*,wxDataFormat_CreateFromId)(wxString* name)
-{
-	return new wxDataFormat (*name);
-}
-
-EWXWEXPORT(wxDataFormat*,wxDataFormat_CreateFromType)(int typ)
-{
-	return new wxDataFormat ((wxDataFormat::NativeFormat)typ);
-}
-
-EWXWEXPORT(void,wxDataFormat_Delete)(wxDataFormat* self)
-{
-	delete self;
-}
-
-EWXWEXPORT(bool,wxDataFormat_IsEqual)(wxDataFormat* self,wxDataFormat* other)
-{
-	return  *self == *other;
-}
-
-EWXWEXPORT(wxString*,wxDataFormat_GetId)(wxDataFormat* self)
-{
-	wxString *result = new wxString();
-	*result = self->GetId();
-	return result;
-}
-
-EWXWEXPORT(int,wxDataFormat_GetType)(wxDataFormat* self)
-{
-	return (int)self->GetType();
-}
-
-EWXWEXPORT(void,wxDataFormat_SetId)(wxDataFormat* self,wxString* id)
-{
-	self->SetId(*id);
-}
-
-EWXWEXPORT(void,wxDataFormat_SetType)(wxDataFormat* self,int typ)
-{
-#ifdef __WIN32__
-	self->SetType((wxDataFormat::NativeFormat)typ);
-#else
-	self->SetType((wxDataFormatId)typ);
-#endif
-}
-
-}
− src/cpp/eljdatetime.cpp
@@ -1,485 +0,0 @@-#include "wrapper.h"
-
-extern "C"
-{
-
-EWXWEXPORT(wxDateTime*,wxDateTime_Create)()
-{
-	return new wxDateTime();
-}
-
-EWXWEXPORT(void,wxDateTime_SetCountry)(int country)
-{
-	wxDateTime::SetCountry((wxDateTime::Country)country);
-}
-	
-EWXWEXPORT(int,wxDateTime_GetCountry)()
-{
-	return (int)wxDateTime::GetCountry();
-}
-	
-EWXWEXPORT(bool,wxDateTime_IsWestEuropeanCountry)(int country)
-{
-	return wxDateTime::IsWestEuropeanCountry((wxDateTime::Country)country);
-}
-	
-EWXWEXPORT(int,wxDateTime_GetCurrentYear)(int cal)
-{
-	return wxDateTime::GetCurrentYear((wxDateTime::Calendar)cal);
-}
-	
-EWXWEXPORT(int,wxDateTime_ConvertYearToBC)(int year)
-{
-	return wxDateTime::ConvertYearToBC(year);
-}
-	
-EWXWEXPORT(int,wxDateTime_GetCurrentMonth)(int cal)
-{
-	return (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar)cal);
-}
-	
-EWXWEXPORT(bool,wxDateTime_IsLeapYear)(int year,int cal)
-{
-	return wxDateTime::IsLeapYear(year, (wxDateTime::Calendar)cal);
-}
-	
-EWXWEXPORT(int,wxDateTime_GetCentury)(int year)
-{
-	return wxDateTime::GetCentury(year);
-}
-	
-EWXWEXPORT(int,wxDateTime_GetNumberOfDays)(int year,int cal)
-{
-	return (int)wxDateTime::GetNumberOfDays(year, (wxDateTime::Calendar)cal);
-}
-	
-EWXWEXPORT(int,wxDateTime_GetNumberOfDaysMonth)(int month,int year,int cal)
-{
-	return wxDateTime::GetNumberOfDays((wxDateTime::Month)month, year, (wxDateTime::Calendar)cal);
-}
-	
-EWXWEXPORT(wxString*,wxDateTime_GetMonthName)(int month,int flags)
-{
-	wxString *result = new wxString();
-	*result = wxDateTime::GetMonthName((wxDateTime::Month)month, (wxDateTime::NameFlags)flags);
-	return result;
-}
-	
-EWXWEXPORT(wxString*,wxDateTime_GetWeekDayName)(int weekday,int flags)
-{
-	wxString *result = new wxString();
-	*result = wxDateTime::GetWeekDayName((wxDateTime::WeekDay)weekday, (wxDateTime::NameFlags)flags);
-	return result;
-}
-	
-EWXWEXPORT(wxString*,wxDateTime_GetAmString)()
-{
-	wxString *result = new wxString();
-	wxString pm;
-	wxDateTime::GetAmPmStrings(result, &pm);
-	return result;
-}
-	
-EWXWEXPORT(wxString*,wxDateTime_GetPmString)()
-{
-	wxString *result = new wxString();
-	wxString am;
-	wxDateTime::GetAmPmStrings(&am, result);
-	return result;
-}
-	
-EWXWEXPORT(bool,wxDateTime_IsDSTApplicable)(int year,int country)
-{
-	return wxDateTime::IsDSTApplicable(year, (wxDateTime::Country)country);
-}
-	
-EWXWEXPORT(void,wxDateTime_GetBeginDST)(int year,int country,wxDateTime* dt)
-{
-	*dt = wxDateTime::GetBeginDST(year, (wxDateTime::Country)country);
-}
-	
-EWXWEXPORT(void,wxDateTime_GetEndDST)(int year,int country,wxDateTime* dt)
-{
-	*dt = wxDateTime::GetEndDST(year, (wxDateTime::Country)country);
-}
-	
-EWXWEXPORT(void,wxDateTime_Now)(wxDateTime* dt)
-{
-	*dt = wxDateTime::Now();
-}
-	
-EWXWEXPORT(void,wxDateTime_UNow)(wxDateTime* dt)
-{
-	*dt = wxDateTime::UNow();
-}
-	
-EWXWEXPORT(void,wxDateTime_Today)(wxDateTime* dt)
-{
-	*dt = wxDateTime::Today();
-}
-	
-EWXWEXPORT(void,wxDateTime_SetToCurrent)(wxDateTime* self)
-{
-	self->SetToCurrent();
-}
-	
-EWXWEXPORT(void,wxDateTime_SetTime)(wxDateTime* self,int hour,int minute,int second,int millisec)
-{
-	self->Set((wxDateTime::wxDateTime_t)hour, (wxDateTime::wxDateTime_t)minute, (wxDateTime::wxDateTime_t)second, (wxDateTime::wxDateTime_t)millisec);
-}
-	
-EWXWEXPORT(void,wxDateTime_Set)(wxDateTime* self,int day,int month,int year,int hour,int minute,int second,int millisec)
-{
-	self->Set((wxDateTime::wxDateTime_t)day, (wxDateTime::Month)month, year, (wxDateTime::wxDateTime_t)hour,  (wxDateTime::wxDateTime_t)minute, (wxDateTime::wxDateTime_t)second, (wxDateTime::wxDateTime_t)millisec);
-}
-	
-EWXWEXPORT(void,wxDateTime_ResetTime)(wxDateTime* self)
-{
-	self->ResetTime();
-}
-	
-EWXWEXPORT(void,wxDateTime_SetYear)(wxDateTime* self,int year)
-{
-	self->SetYear(year);
-}
-	
-EWXWEXPORT(void,wxDateTime_SetMonth)(wxDateTime* self,int month)
-{
-	self->SetMonth((wxDateTime::Month)month);
-}
-	
-EWXWEXPORT(void,wxDateTime_SetDay)(wxDateTime* self,int day)
-{
-	self->SetDay((wxDateTime::wxDateTime_t)day);
-}
-	
-EWXWEXPORT(void,wxDateTime_SetHour)(wxDateTime* self,int hour)
-{
-	self->SetHour((wxDateTime::wxDateTime_t)hour);
-}
-	
-EWXWEXPORT(void,wxDateTime_SetMinute)(wxDateTime* self,int minute)
-{
-	self->SetMinute((wxDateTime::wxDateTime_t)minute);
-}
-	
-EWXWEXPORT(void,wxDateTime_SetSecond)(wxDateTime* self,int second)
-{
-	self->SetSecond((wxDateTime::wxDateTime_t)second);
-}
-	
-EWXWEXPORT(void,wxDateTime_SetMillisecond)(wxDateTime* self,int millisecond)
-{
-	self->SetMillisecond((wxDateTime::wxDateTime_t)millisecond);
-}
-	
-EWXWEXPORT(void,wxDateTime_SetToWeekDayInSameWeek)(wxDateTime* self,int weekday)
-{
-	self->SetToWeekDayInSameWeek((wxDateTime::WeekDay)weekday);
-}
-	
-EWXWEXPORT(void,wxDateTime_GetWeekDayInSameWeek)(wxDateTime* self,int weekday,wxDateTime* _ref)
-{
-	*_ref = self->GetWeekDayInSameWeek((wxDateTime::WeekDay)weekday);
-}
-	
-EWXWEXPORT(void,wxDateTime_SetToNextWeekDay)(wxDateTime* self,int weekday)
-{
-	self->SetToNextWeekDay((wxDateTime::WeekDay)weekday);
-}
-	
-EWXWEXPORT(void,wxDateTime_GetNextWeekDay)(wxDateTime* self,int weekday,wxDateTime* _ref)
-{
-	*_ref = self->GetNextWeekDay((wxDateTime::WeekDay)weekday);
-}
-	
-EWXWEXPORT(void,wxDateTime_SetToPrevWeekDay)(wxDateTime* self,int weekday)
-{
-	self->SetToPrevWeekDay((wxDateTime::WeekDay)weekday);
-}
-	
-EWXWEXPORT(void,wxDateTime_GetPrevWeekDay)(wxDateTime* self,int weekday,wxDateTime* _ref)
-{
-	*_ref = self->GetPrevWeekDay((wxDateTime::WeekDay)weekday);
-}
-	
-EWXWEXPORT(bool,wxDateTime_SetToWeekDay)(wxDateTime* self,int weekday,int n,int month,int year)
-{
-	return self->SetToWeekDay((wxDateTime::WeekDay)weekday, n, (wxDateTime::Month)month, year);
-}
-	
-EWXWEXPORT(void,wxDateTime_GetWeekDay)(wxDateTime* self,int weekday,int n,int month,int year,wxDateTime* _ref)
-{
-	*_ref = self->GetWeekDay((wxDateTime::WeekDay)weekday, n, (wxDateTime::Month)month, year);
-}
-	
-EWXWEXPORT(bool,wxDateTime_SetToLastWeekDay)(wxDateTime* self,int weekday,int month,int year)
-{
-	return self->SetToLastWeekDay((wxDateTime::WeekDay)weekday, (wxDateTime::Month)month, year);
-}
-	
-EWXWEXPORT(void,wxDateTime_GetLastWeekDay)(wxDateTime* self,int weekday,int month,int year,wxDateTime* _ref)
-{
-	*_ref = self->GetLastWeekDay((wxDateTime::WeekDay)weekday, (wxDateTime::Month)month, year);
-}
-	
-EWXWEXPORT(void,wxDateTime_SetToLastMonthDay)(wxDateTime* self,int month,int year)
-{
-	self->SetToLastMonthDay((wxDateTime::Month)month, year);
-}
-	
-EWXWEXPORT(void,wxDateTime_GetLastMonthDay)(wxDateTime* self,int month,int year,wxDateTime* _ref)
-{
-	*_ref = self->GetLastMonthDay((wxDateTime::Month)month, year);
-}
-	
-EWXWEXPORT(void,wxDateTime_ToTimezone)(wxDateTime* self,int tz,bool noDST)
-{
-	self->ToTimezone(wxDateTime::TimeZone((wxDateTime::TZ)tz), noDST);
-}
-	
-EWXWEXPORT(void,wxDateTime_MakeTimezone)(wxDateTime* self,int tz,bool noDST)
-{
-	self->MakeTimezone(wxDateTime::TimeZone((wxDateTime::TZ)tz), noDST);
-}
-	
-EWXWEXPORT(void,wxDateTime_ToGMT)(wxDateTime* self,bool noDST)
-{
-	self->ToGMT(noDST);
-}
-	
-EWXWEXPORT(void,wxDateTime_MakeGMT)(wxDateTime* self,bool noDST)
-{
-	self->MakeGMT(noDST);
-}
-	
-EWXWEXPORT(int,wxDateTime_IsDST)(wxDateTime* self,int country)
-{
-	return self->IsDST((wxDateTime::Country)country);
-}
-	
-EWXWEXPORT(bool,wxDateTime_IsValid)(wxDateTime* self)
-{
-	return self->IsValid();
-}
-	
-EWXWEXPORT(time_t,wxDateTime_GetTicks)(wxDateTime* self)
-{
-	return self->GetTicks();
-}
-	
-EWXWEXPORT(int,wxDateTime_GetYear)(wxDateTime* self,int tz)
-{
-	return self->GetYear(wxDateTime::TimeZone((wxDateTime::TZ)tz));
-}
-	
-EWXWEXPORT(int,wxDateTime_GetMonth)(wxDateTime* self,int tz)
-{
-	return (int)self->GetMonth(wxDateTime::TimeZone((wxDateTime::TZ)tz));
-}
-	
-EWXWEXPORT(int,wxDateTime_GetDay)(wxDateTime* self,int tz)
-{
-	return (int)self->GetDay(wxDateTime::TimeZone((wxDateTime::TZ)tz));
-}
-	
-EWXWEXPORT(int,wxDateTime_GetWeekDayTZ)(wxDateTime* self,int tz)
-{
-	return (int)self->GetWeekDay(wxDateTime::TimeZone((wxDateTime::TZ)tz));
-}
-	
-EWXWEXPORT(int,wxDateTime_GetHour)(wxDateTime* self,int tz)
-{
-	return (int)self->GetHour(wxDateTime::TimeZone((wxDateTime::TZ)tz));
-}
-	
-EWXWEXPORT(int,wxDateTime_GetMinute)(wxDateTime* self,int tz)
-{
-	return (int)self->GetMinute(wxDateTime::TimeZone((wxDateTime::TZ)tz));
-}
-	
-EWXWEXPORT(int,wxDateTime_GetSecond)(wxDateTime* self,int tz)
-{
-	return (int)self->GetSecond(wxDateTime::TimeZone((wxDateTime::TZ)tz));
-}
-	
-EWXWEXPORT(int,wxDateTime_GetMillisecond)(wxDateTime* self,int tz)
-{
-	return (int)self->GetMillisecond(wxDateTime::TimeZone((wxDateTime::TZ)tz));
-}
-	
-EWXWEXPORT(int,wxDateTime_GetDayOfYear)(wxDateTime* self,int tz)
-{
-	return (int)self->GetDayOfYear(wxDateTime::TimeZone((wxDateTime::TZ)tz));
-}
-	
-EWXWEXPORT(int,wxDateTime_GetWeekOfYear)(wxDateTime* self,int flags,int tz)
-{
-	return (int)self->GetWeekOfYear((wxDateTime::WeekFlags)flags, wxDateTime::TimeZone((wxDateTime::TZ)tz));
-}
-	
-EWXWEXPORT(int,wxDateTime_GetWeekOfMonth)(wxDateTime* self,int flags,int tz)
-{
-	return (int)self->GetWeekOfMonth((wxDateTime::WeekFlags)flags, wxDateTime::TimeZone((wxDateTime::TZ)tz));
-}
-	
-EWXWEXPORT(bool,wxDateTime_IsWorkDay)(wxDateTime* self,int country)
-{
-	return self->IsWorkDay((wxDateTime::Country)country);
-}
-	
-/*
-EWXWEXPORT(bool,wxDateTime_IsGregorianDate)(wxDateTime* self,int country)
-{
-	return self->IsGregorianDate((wxDateTime::GregorianAdoption)country);
-}
-*/
-	
-EWXWEXPORT(bool,wxDateTime_IsEqualTo)(wxDateTime* self,wxDateTime* datetime)
-{
-	return self->IsEqualTo(*datetime);
-}
-	
-EWXWEXPORT(bool,wxDateTime_IsEarlierThan)(wxDateTime* self,wxDateTime* datetime)
-{
-	return self->IsEarlierThan(*datetime);
-}
-	
-EWXWEXPORT(bool,wxDateTime_IsLaterThan)(wxDateTime* self,wxDateTime* datetime)
-{
-	return self->IsLaterThan(*datetime);
-}
-	
-EWXWEXPORT(bool,wxDateTime_IsStrictlyBetween)(wxDateTime* self,wxDateTime* t1,wxDateTime* t2)
-{
-	return self->IsStrictlyBetween(*t1,*t2);
-}
-	
-EWXWEXPORT(bool,wxDateTime_IsBetween)(wxDateTime* self,wxDateTime* t1,wxDateTime* t2)
-{
-	return self->IsBetween(*t1,*t2);
-}
-	
-EWXWEXPORT(bool,wxDateTime_IsSameDate)(wxDateTime* self,wxDateTime* dt)
-{
-	return self->IsSameDate(*dt);
-}
-	
-EWXWEXPORT(bool,wxDateTime_IsSameTime)(wxDateTime* self,wxDateTime* dt)
-{
-	return self->IsSameTime(*dt);
-}
-	
-EWXWEXPORT(bool,wxDateTime_IsEqualUpTo)(wxDateTime* self,wxDateTime* dt,wxTimeSpan* ts)
-{
-	return self->IsEqualUpTo(*dt,*ts);
-}
-	
-EWXWEXPORT(void,wxDateTime_AddTime)(wxDateTime* self,wxTimeSpan* diff,wxDateTime* _ref)
-{
-	*_ref = self->Add(*diff);
-}
-	
-EWXWEXPORT(void,wxDateTime_SubtractTime)(wxDateTime* self,wxTimeSpan* diff,wxDateTime* _ref)
-{
-	*_ref = self->Subtract(*diff);
-}
-	
-EWXWEXPORT(void,wxDateTime_AddDate)(wxDateTime* self,wxDateSpan* diff,wxDateTime* _ref)
-{
-	*_ref = self->Add(*diff);
-}
-	
-EWXWEXPORT(void,wxDateTime_SubtractDate)(wxDateTime* self,wxDateSpan* diff,wxDateTime* _ref)
-{
-	*_ref = self->Subtract(*diff);
-}
-	
-EWXWEXPORT(void*,wxDateTime_ParseRfc822Date)(wxDateTime* self,void* date)
-{
-	return (void*)self->ParseRfc822Date((const wxChar*)date);
-}
-	
-EWXWEXPORT(void*,wxDateTime_ParseFormat)(wxDateTime* self,void* date,void* format,wxDateTime* dateDef)
-{
-	return (void*)self->ParseFormat((const wxChar*)date, (const wxChar*)format,*dateDef);
-}
-	
-EWXWEXPORT(void*,wxDateTime_ParseDateTime)(wxDateTime* self,void* datetime)
-{
-	return (void*)self->ParseDateTime((const wxChar*)datetime);
-}
-	
-EWXWEXPORT(void*,wxDateTime_ParseDate)(wxDateTime* self,void* date)
-{
-	return (void*)self->ParseDate((const wxChar*)date);
-}
-	
-EWXWEXPORT(void*,wxDateTime_ParseTime)(wxDateTime* self,void* time)
-{
-	return (void*)self->ParseTime((const wxChar*)time);
-}
-	
-EWXWEXPORT(wxString*,wxDateTime_Format)(wxDateTime* self,void* format,int tz)
-{
-	wxString *result = new wxString();
-	*result = self->Format((const wxChar*)format, wxDateTime::TimeZone((wxDateTime::TZ)tz));
-	return result;
-}
-	
-EWXWEXPORT(wxString*,wxDateTime_FormatDate)(wxDateTime* self)
-{
-	wxString *result = new wxString();
-	*result = self->FormatDate();
-	return result;
-}
-	
-EWXWEXPORT(wxString*,wxDateTime_FormatTime)(wxDateTime* self)
-{
-	wxString *result = new wxString();
-	*result = self->FormatTime();
-	return result;
-}
-	
-EWXWEXPORT(wxString*,wxDateTime_FormatISODate)(wxDateTime* self)
-{
-	wxString *result = new wxString();
-	*result =  self->FormatISODate();
-	return result;
-}
-	
-EWXWEXPORT(wxString*,wxDateTime_FormatISOTime)(wxDateTime* self)
-{
-	wxString *result = new wxString();
-	*result = self->FormatISOTime();
-	return result;
-}
-	
-EWXWEXPORT(wxDateTime*,wxDateTime_wxDateTime)(long hi_long,unsigned long lo_long)
-{
-	return new wxDateTime(wxLongLong(hi_long, lo_long));
-}
-	
-EWXWEXPORT(void,wxDateTime_GetValue)(wxDateTime* self,long* hi_long,unsigned long* lo_long)
-{
-	wxLongLong val = self->GetValue();
-	*hi_long = val.GetHi();
-	*lo_long = val.GetLo();
-}
-	
-EWXWEXPORT(int,wxDateTime_GetTimeNow)()
-{
-	return (int)wxDateTime::GetTimeNow();
-}
-	
-EWXWEXPORT(void,wxDateTime_AddTimeValues)(wxDateTime* self,int _hrs,int _min,int _sec,int _mls)
-{
-	self->Add(wxTimeSpan((long)_hrs, (long)_min, (long)_sec, (long)_mls));
-}
-	
-EWXWEXPORT(void,wxDateTime_AddDateValues)(wxDateTime* self,int _yrs,int _mnt,int _wek,int _day)
-{
-	self->Add(wxDateSpan((long)_yrs, (long)_mnt, (long)_wek, (long)_day));
-}
-	
-}
− src/cpp/eljdc.cpp
@@ -1,714 +0,0 @@-#include "wrapper.h"
-#include <wx/metafile.h>
-#include <wx/dcmirror.h>
-#include <wx/dcbuffer.h>
-
-extern "C"
-{
-
-EWXWEXPORT(void,wxDC_Delete)(wxDC* self)
-{
-	delete  self;
-}
-
-  // deprecated
-EWXWEXPORT(void,wxDC_BeginDrawing)(wxDC* self)
-{
-#if WXWIN_COMPATIBILITY_2_6
-	self->BeginDrawing();
-#endif
-}
-	
-  // deprecated
-EWXWEXPORT(void,wxDC_EndDrawing)(wxDC* self)
-{
-#if WXWIN_COMPATIBILITY_2_6
-	self->EndDrawing();
-#endif
-}
-	
-EWXWEXPORT(void,wxDC_FloodFill)(wxDC* self,int x,int y,wxColour* col,int style)
-{
-	self->FloodFill((wxCoord)x, (wxCoord)y,*col, style);
-}
-	
-EWXWEXPORT(int,wxDC_GetPixel)(wxDC* self,int x,int y,wxColour* col)
-{
-	return self->GetPixel((wxCoord)x, (wxCoord)y, col);
-}
-	
-EWXWEXPORT(void,wxDC_DrawLine)(wxDC* self,int x1,int y1,int x2,int y2)
-{
-	self->DrawLine((wxCoord)x1, (wxCoord)y1, (wxCoord)x2, (wxCoord)y2);
-}
-	
-EWXWEXPORT(void,wxDC_CrossHair)(wxDC* self,int x,int y)
-{
-	self->CrossHair((wxCoord)x, (wxCoord)y);
-}
-	
-EWXWEXPORT(void,wxDC_DrawArc)(wxDC* self,int x1,int y1,int x2,int y2,int xc,int yc)
-{
-	self->DrawArc((wxCoord)x1, (wxCoord)y1, (wxCoord)x2, (wxCoord)y2, (wxCoord)xc, (wxCoord)yc);
-}
-	
-EWXWEXPORT(void,wxDC_DrawCheckMark)(wxDC* self,int x,int y,int width,int height)
-{
-	self->DrawCheckMark((wxCoord)x, (wxCoord)y, (wxCoord)width, (wxCoord)height);
-}
-	
-EWXWEXPORT(void,wxDC_DrawEllipticArc)(wxDC* self,int x,int y,int w,int h,double sa,double ea)
-{
-	self->DrawEllipticArc((wxCoord)x, (wxCoord)y, (wxCoord)w, (wxCoord)h, sa, ea);
-}
-	
-EWXWEXPORT(void,wxDC_DrawPoint)(wxDC* self,int x,int y)
-{
-	self->DrawPoint((wxCoord)x, (wxCoord)y);
-}
-	
-EWXWEXPORT(void,wxDC_DrawLines)(wxDC* self,int n,void* x,void* y,int xoffset,int yoffset)
-{
-	wxPoint* lst = (wxPoint*)malloc (n * sizeof(wxPoint));
-	
-	for (int i = 0; i < n; i++)
-		lst[i] = wxPoint((int)((intptr_t*)x)[i], (int)((intptr_t*)y)[i]);
-	
-	self->DrawLines(n, lst, (wxCoord)xoffset, (wxCoord)yoffset);
-	
-	free (lst);
-}
-	
-EWXWEXPORT(void,wxDC_DrawPolygon)(wxDC* self,int n,void* x,void* y,int xoffset,int yoffset,int fillStyle)
-{
-	wxPoint* lst = (wxPoint*)malloc (n * sizeof(wxPoint));
-	
-	for (int i = 0; i < n; i++)
-		lst[i] = wxPoint(((intptr_t*)x)[i], ((intptr_t*)y)[i]);
-	
-	self->DrawPolygon(n, lst, (wxCoord)xoffset, (wxCoord)yoffset, fillStyle);
-	
-	free (lst);
-}
-	
-EWXWEXPORT(void,wxDC_DrawRectangle)(wxDC* self,int x,int y,int width,int height)
-{
-	self->DrawRectangle((wxCoord)x, (wxCoord)y, (wxCoord)width, (wxCoord)height);
-}
-	
-EWXWEXPORT(void,wxDC_DrawRoundedRectangle)(wxDC* self,int x,int y,int width,int height,double radius)
-{
-	self->DrawRoundedRectangle((wxCoord)x, (wxCoord)y, (wxCoord)width, (wxCoord)height, radius);
-}
-	
-EWXWEXPORT(void,wxDC_DrawCircle)(wxDC* self,int x,int y,int radius)
-{
-	self->DrawCircle((wxCoord)x, (wxCoord)y, (wxCoord)radius);
-}
-	
-EWXWEXPORT(void,wxDC_DrawEllipse)(wxDC* self,int x,int y,int width,int height)
-{
-	self->DrawEllipse((wxCoord)x, (wxCoord)y, (wxCoord)width, (wxCoord)height);
-}
-	
-EWXWEXPORT(void,wxDC_DrawIcon)(wxDC* self,wxIcon* icon,int x,int y)
-{
-	self->DrawIcon(*icon, (wxCoord)x, (wxCoord)y);
-}
-	
-EWXWEXPORT(void,wxDC_DrawBitmap)(wxDC* self,wxBitmap* bmp,int x,int y,bool useMask)
-{
-	self->DrawBitmap(*bmp, (wxCoord)x, (wxCoord)y, useMask);
-}
-	
-EWXWEXPORT(void,wxDC_DrawText)(wxDC* self,wxString* text,int x,int y)
-{
-	self->DrawText(*text, (wxCoord)x, (wxCoord)y);
-}
-	
-EWXWEXPORT(void,wxDC_DrawRotatedText)(wxDC* self,wxString* text,int x,int y,double angle)
-{
-	self->DrawRotatedText(*text, (wxCoord)x, (wxCoord)y, angle);
-}
-	
-EWXWEXPORT(bool,wxDC_Blit)(wxDC* self,int xdest,int ydest,int width,int height,wxDC* source,int xsrc,int ysrc,int rop,bool useMask)
-{
-	return self->Blit((wxCoord)xdest, (wxCoord)ydest, (wxCoord)width, (wxCoord)height, source, (wxCoord)xsrc, (wxCoord)ysrc, rop, useMask);
-}
-	
-EWXWEXPORT(void,wxDC_Clear)(wxDC* self)
-{
-	self->Clear();
-}
-	
-EWXWEXPORT(void,wxDC_ComputeScaleAndOrigin)(wxDC* dc)
-{
-	dc->ComputeScaleAndOrigin();
-}
-	
-EWXWEXPORT(bool,wxDC_StartDoc)(wxDC* self,wxString* msg)
-{
-	return self->StartDoc(*msg);
-}
-	
-EWXWEXPORT(void,wxDC_EndDoc)(wxDC* self)
-{
-	self->EndDoc();
-}
-	
-EWXWEXPORT(void,wxDC_StartPage)(wxDC* self)
-{
-	self->StartPage();
-}
-	
-EWXWEXPORT(void,wxDC_EndPage)(wxDC* self)
-{
-	self->EndPage();
-}
-	
-EWXWEXPORT(void,wxDC_SetFont)(wxDC* self,wxFont* font)
-{
-	self->SetFont(*font);
-}
-	
-EWXWEXPORT(void,wxDC_SetPen)(wxDC* self,wxPen* pen)
-{
-	self->SetPen(*pen);
-}
-	
-EWXWEXPORT(void,wxDC_SetBrush)(wxDC* self,wxBrush* brush)
-{
-	self->SetBrush(*brush);
-}
-	
-EWXWEXPORT(void,wxDC_SetBackground)(wxDC* self,wxBrush* brush)
-{
-	self->SetBackground(*brush);
-}
-	
-EWXWEXPORT(void,wxDC_SetBackgroundMode)(wxDC* self,int mode)
-{
-	self->SetBackgroundMode(mode);
-}
-	
-EWXWEXPORT(void,wxDC_SetPalette)(wxDC* self,wxPalette* palette)
-{
-	self->SetPalette(*palette);
-}
-	
-EWXWEXPORT(void,wxDC_SetClippingRegion)(wxDC* self,int x,int y,int width,int height)
-{
-	self->SetClippingRegion((wxCoord)x, (wxCoord)y, (wxCoord)width, (wxCoord)height);
-}
-	
-EWXWEXPORT(void,wxDC_SetClippingRegionFromRegion)(wxDC* self,wxRegion* region)
-{
-	self->SetClippingRegion(*region);
-}
-	
-EWXWEXPORT(void,wxDC_DestroyClippingRegion)(wxDC* self)
-{
-	self->DestroyClippingRegion();
-}
-	
-EWXWEXPORT(void,wxDC_GetClippingBox)(wxDC* self,wxCoord* x,wxCoord* y,wxCoord* w,wxCoord* h)
-{
-	self->GetClippingBox(x,y,w,h);
-}
-	
-EWXWEXPORT(wxCoord,wxDC_GetCharHeight)(wxDC* self)
-{
-	return self->GetCharHeight();
-}
-	
-EWXWEXPORT(wxCoord,wxDC_GetCharWidth)(wxDC* self)
-{
-	return self->GetCharWidth();
-}
-	
-EWXWEXPORT(void,wxDC_GetTextExtent)(wxDC* self,wxString* string,wxCoord* w,wxCoord* h,wxCoord* descent,wxCoord* externalLeading,wxFont* theFont)
-{
-	self->GetTextExtent(*string,w,h,descent,externalLeading,theFont);
-}
-	
-EWXWEXPORT(void,wxDC_GetMultiLineTextExtent)(wxDC* self,wxString* string,wxCoord* w,wxCoord* h,wxCoord* heightLine,wxFont* theFont)
-{
-	self->GetMultiLineTextExtent(*string, w, h, heightLine, theFont);
-}
-
-EWXWEXPORT(wxSize*,wxDC_GetSize)(wxDC* self)
-{
-	wxSize* s = new wxSize();
-	*s = self->GetSize();
-	return s;
-}
-	
-EWXWEXPORT(wxSize*,wxDC_GetSizeMM)(wxDC* self)
-{
-	wxSize* s = new wxSize();
-	*s = self->GetSizeMM();
-	return s;
-}
-	
-EWXWEXPORT(wxCoord,wxDC_DeviceToLogicalX)(wxDC* self,wxCoord x)
-{
-	return self->DeviceToLogicalX(x);
-}
-	
-EWXWEXPORT(wxCoord,wxDC_DeviceToLogicalY)(wxDC* self,wxCoord y)
-{
-	return self->DeviceToLogicalY(y);
-}
-	
-EWXWEXPORT(wxCoord,wxDC_DeviceToLogicalXRel)(wxDC* self,wxCoord x)
-{
-	return self->DeviceToLogicalXRel(x);
-}
-	
-EWXWEXPORT(wxCoord,wxDC_DeviceToLogicalYRel)(wxDC* self,int y)
-{
-	return self->DeviceToLogicalYRel((wxCoord)y);
-}
-	
-EWXWEXPORT(wxCoord,wxDC_LogicalToDeviceX)(wxDC* self,int x)
-{
-	return self->LogicalToDeviceX((wxCoord)x);
-}
-	
-EWXWEXPORT(wxCoord,wxDC_LogicalToDeviceY)(wxDC* self,int y)
-{
-	return self->LogicalToDeviceY((wxCoord)y);
-}
-	
-EWXWEXPORT(wxCoord,wxDC_LogicalToDeviceXRel)(wxDC* self,int x)
-{
-	return self->LogicalToDeviceXRel((wxCoord)x);
-}
-	
-EWXWEXPORT(wxCoord,wxDC_LogicalToDeviceYRel)(wxDC* self,int y)
-{
-	return self->LogicalToDeviceYRel((wxCoord)y);
-}
-	
-EWXWEXPORT(bool,wxDC_CanDrawBitmap)(wxDC* self)
-{
-	return self->CanDrawBitmap();
-}
-	
-EWXWEXPORT(bool,wxDC_CanGetTextExtent)(wxDC* self)
-{
-	return self->CanGetTextExtent();
-}
-	
-EWXWEXPORT(int,wxDC_GetDepth)(wxDC* self)
-{
-	return self->GetDepth();
-}
-	
-EWXWEXPORT(wxSize*,wxDC_GetPPI)(wxDC* self)
-{
-	wxSize* s = new wxSize();
-	*s = self->GetPPI();
-	return s;
-}
-	
-EWXWEXPORT(bool,wxDC_IsOk)(wxDC* self)
-{
-	return self->IsOk();
-}
-	
-EWXWEXPORT(int,wxDC_GetBackgroundMode)(wxDC* self)
-{
-	return self->GetBackgroundMode();
-}
-	
-EWXWEXPORT(void,wxDC_GetBackground)(wxDC* self,wxBrush* _ref)
-{
-	*_ref = self->GetBackground();
-}
-	
-EWXWEXPORT(void,wxDC_GetBrush)(wxDC* self,wxBrush* _ref)
-{
-	*_ref = self->GetBrush();
-}
-	
-EWXWEXPORT(void,wxDC_GetFont)(wxDC* self,wxFont* _ref)
-{
-	*_ref = self->GetFont();
-}
-	
-EWXWEXPORT(void,wxDC_GetPen)(wxDC* self,wxPen* _ref)
-{
-	*_ref = self->GetPen();
-}
-	
-EWXWEXPORT(void,wxDC_GetTextBackground)(wxDC* self,wxColour* _ref)
-{
-	*_ref = self->GetTextBackground();
-}
-	
-EWXWEXPORT(void,wxDC_GetTextForeground)(wxDC* self,wxColour* _ref)
-{
-	*_ref = self->GetTextForeground();
-}
-	
-EWXWEXPORT(void,wxDC_SetTextForeground)(wxDC* self,wxColour* colour)
-{
-	self->SetTextForeground(*colour);
-}
-	
-EWXWEXPORT(void,wxDC_SetTextBackground)(wxDC* self,wxColour* colour)
-{
-	self->SetTextBackground(*colour);
-}
-	
-EWXWEXPORT(int,wxDC_GetMapMode)(wxDC* self)
-{
-	return self->GetMapMode();
-}
-	
-EWXWEXPORT(void,wxDC_SetMapMode)(wxDC* self,int mode)
-{
-	self->SetMapMode(mode);
-}
-	
-EWXWEXPORT(void,wxDC_GetUserScale)(wxDC* self,double* x,double* y)
-{
-	self->GetUserScale(x,y);
-}
-	
-EWXWEXPORT(void,wxDC_SetUserScale)(wxDC* self,double x,double y)
-{
-	self->SetUserScale(x, y);
-}
-	
-EWXWEXPORT(void,wxDC_GetLogicalScale)(wxDC* self,double* x,double* y)
-{
-	self->GetLogicalScale(x,y);
-}
-	
-EWXWEXPORT(void,wxDC_SetLogicalScale)(wxDC* self,double x,double y)
-{
-	self->SetLogicalScale(x, y);
-}
-	
-EWXWEXPORT(void,wxDC_GetLogicalOrigin)(wxDC* self,wxCoord* x,wxCoord* y)
-{
-	self->GetLogicalOrigin(x,y);
-}
-	
-EWXWEXPORT(void,wxDC_SetLogicalOrigin)(wxDC* self,int x,int y)
-{
-	self->SetLogicalOrigin((wxCoord)x, (wxCoord)y);
-}
-	
-EWXWEXPORT(void,wxDC_GetDeviceOrigin)(wxDC* self,wxCoord* x,wxCoord* y)
-{
-	self->GetDeviceOrigin(x,y);
-}
-	
-EWXWEXPORT(void,wxDC_SetDeviceOrigin)(wxDC* self,int x,int y)
-{
-	self->SetDeviceOrigin((wxCoord)x, (wxCoord)y);
-}
-	
-EWXWEXPORT(void,wxDC_SetAxisOrientation)(wxDC* self,bool xLeftRight,bool yBottomUp)
-{
-	self->SetAxisOrientation(xLeftRight, yBottomUp);
-}
-	
-EWXWEXPORT(int,wxDC_GetLogicalFunction)(wxDC* self)
-{
-	return self->GetLogicalFunction();
-}
-	
-EWXWEXPORT(void,wxDC_SetLogicalFunction)(wxDC* self,int function)
-{
-	self->SetLogicalFunction(function);
-}
-	
-EWXWEXPORT(void,wxDC_CalcBoundingBox)(wxDC* self,int x,int y)
-{
-	self->CalcBoundingBox((wxCoord)x, (wxCoord)y);
-}
-	
-EWXWEXPORT(void,wxDC_ResetBoundingBox)(wxDC* self)
-{
-	self->ResetBoundingBox();
-}
-	
-EWXWEXPORT(wxCoord,wxDC_MinX)(wxDC* self)
-{
-	return self->MinX();
-}
-	
-EWXWEXPORT(wxCoord,wxDC_MaxX)(wxDC* self)
-{
-	return self->MaxX();
-}
-	
-EWXWEXPORT(wxCoord,wxDC_MinY)(wxDC* self)
-{
-	return self->MinY();
-}
-	
-EWXWEXPORT(wxCoord,wxDC_MaxY)(wxDC* self)
-{
-	return self->MaxY();
-}
-
-EWXWEXPORT(wxWindowDC*,wxWindowDC_Create)(wxWindow* win)
-{
-	return new wxWindowDC(win);
-}
-
-EWXWEXPORT(void,wxWindowDC_Delete)(wxWindowDC* self)
-{
-	delete self;
-}
-
-EWXWEXPORT(wxClientDC*,wxClientDC_Create)(wxWindow* win)
-{
-	return new wxClientDC(win);
-}
-
-EWXWEXPORT(void,wxClientDC_Delete)(wxClientDC* self)
-{
-	delete self;
-}
-
-EWXWEXPORT(wxPaintDC*,wxPaintDC_Create)(wxWindow* win)
-{
-	return new wxPaintDC(win);
-}
-
-EWXWEXPORT(void,wxPaintDC_Delete)(wxPaintDC* self)
-{
-	delete self;
-}
-
-EWXWEXPORT(wxMemoryDC*,wxMemoryDC_Create)()
-{
-	return new wxMemoryDC();
-}
-
-EWXWEXPORT(wxMemoryDC*,wxMemoryDC_CreateCompatible)(wxDC* dc)
-{
-	return new wxMemoryDC(dc);
-}
-
-EWXWEXPORT(wxMemoryDC*,wxMemoryDC_CreateWithBitmap)(wxBitmap* bitmap)
-{
-	return new wxMemoryDC(*bitmap);
-}
-
-EWXWEXPORT(void,wxMemoryDC_Delete)(wxMemoryDC* self)
-{
-	delete self;
-}
-
-EWXWEXPORT(void,wxMemoryDC_SelectObject)(wxMemoryDC* self,wxBitmap* bitmap)
-{
-	self->SelectObject(*bitmap);
-}
-
-EWXWEXPORT(wxMirrorDC*,wxMirrorDC_Create)(wxDC* dc,bool mirror)
-{
-	return new wxMirrorDC(*dc, mirror);
-}
-
-EWXWEXPORT(void,wxMirrorDC_Delete)(wxMirrorDC* self)
-{
-	if (self) delete self;
-}
-
-EWXWEXPORT(wxScreenDC*,wxScreenDC_Create)()
-{
-	return new wxScreenDC();
-}
-
-EWXWEXPORT(void,wxScreenDC_Delete)(wxScreenDC* self)
-{
-	delete self;
-}
-
-EWXWEXPORT(bool,wxScreenDC_StartDrawingOnTopOfWin)(wxScreenDC* self,wxWindow* win)
-{
-	return self->StartDrawingOnTop(win);
-}
-	
-EWXWEXPORT(bool,wxScreenDC_StartDrawingOnTop)(wxScreenDC* self,int l,int t,int w,int h)
-{
-	wxRect rect(l, t, w, h);
-	return self->StartDrawingOnTop(&rect);
-}
-	
-EWXWEXPORT(bool,wxScreenDC_EndDrawingOnTop)(wxScreenDC* self)
-{
-	return self->EndDrawingOnTop();
-}
-
-EWXWEXPORT(wxBufferedDC*,wxBufferedDC_CreateByDCAndSize)(wxDC* dc,int width,int hight,int style)
-{
-	return new wxBufferedDC(dc, wxSize(width, hight), style);
-}
-
-EWXWEXPORT(wxBufferedDC*,wxBufferedDC_CreateByDCAndBitmap)(wxDC* dc,wxBitmap* buffer,int style)
-{
-	return new wxBufferedDC(dc,*buffer, style);
-}
-
-EWXWEXPORT(void,wxBufferedDC_Delete)(wxBufferedDC* self)
-{
-	if (self) delete self;
-}
-
-EWXWEXPORT(wxBufferedPaintDC*,wxBufferedPaintDC_Create)(wxWindow* window,int style)
-{
-	return new wxBufferedPaintDC(window, style);
-}
-
-EWXWEXPORT(wxBufferedPaintDC*,wxBufferedPaintDC_CreateWithBitmap)(wxWindow* window,wxBitmap* buffer,int style)
-{
-	return new wxBufferedPaintDC(window,*buffer, style);
-}
-
-EWXWEXPORT(void,wxBufferedPaintDC_Delete)(wxBufferedPaintDC* self)
-{
-	if (self) delete self;
-}
-
-EWXWEXPORT(wxAutoBufferedPaintDC*,wxAutoBufferedPaintDC_Create)(wxWindow* window)
-{
-	return new wxAutoBufferedPaintDC(window);
-}
-
-EWXWEXPORT(void,wxAutoBufferedPaintDC_Delete)(wxAutoBufferedPaintDC* self)
-{
-	if (self) delete self;
-}
-
-EWXWEXPORT(void*,wxMetafileDC_Create)(wxString* _file)
-{
-#if defined(__WXGTK__)
-	return NULL;
-#else
-	wxString file;
-	
-	if (_file) file = (wxChar*)_file;
-
-	return (void*)new wxMetafileDC(file);
-#endif
-}
-
-EWXWEXPORT(void*, wxMetafileDC_Close) (void* self)
-{
-#if defined(__WXGTK__)
-	return NULL;
-#else
-	return (void*)((wxMetafileDC*)self)->Close();
-#endif
-}
-
-EWXWEXPORT(void, wxMetafileDC_Delete) (void* self)
-{
-#if !defined(__WXGTK__)
-	delete (wxMetafileDC*)self;
-#endif
-}
-
-EWXWEXPORT(void*,wxMetafile_Create)(wxString* _file)
-{
-#if defined(__WXGTK__)
-	return NULL;
-#else
-	wxString file;
-	
-	if (_file) file = (wxChar*)_file;
-
-	return (void*)new wxMetafile(file);
-#endif
-}
-
-EWXWEXPORT(bool,wxMetafile_SetClipboard)(void* self,int width,int height)
-{
-#if defined(__WXGTK__)
-	return false;
-#else
-	return ((wxMetafile*)self)->SetClipboard(width, height);
-#endif
-}
-	
-EWXWEXPORT(bool,wxMetafile_Play)(void* self,wxDC* _dc)
-{
-#if defined(__WXGTK__)
-	return false;
-#else
-	return ((wxMetafile*)self)->Play(_dc);
-#endif
-}
-	
-EWXWEXPORT(bool,wxMetafile_IsOk)(void* self)
-{
-#if defined(__WXGTK__)
-	return false;
-#else
-	return ((wxMetafile*)self)->IsOk();
-#endif
-}
-	
-EWXWEXPORT(void,wxMetafile_Delete)(void* self)
-{
-#if !defined(__WXGTK__)
-	delete (wxMetafile*)self;
-#endif
-}
-
-#if wxCHECK_VERSION (2,8,0)
-
-EWXWEXPORT(void,wxDC_DrawLabel)(wxDC* self,wxString* str,int x,int y,int w,int h,int align,int indexAccel)
-{
-  wxRect rect(x, y, w, h);
-  self->DrawLabel(*str, rect, align, indexAccel);
-}
-
-EWXWEXPORT(wxRect*,wxDC_DrawLabelBitmap)(wxDC* self,wxString* str,wxBitmap* bmp,int x,int y,int w,int h,int align,int indexAccel)
-{
-  wxRect rect(x, y, w, h);
-  wxRect* r = new wxRect();
-  self->DrawLabel(*str,*bmp, rect, align, indexAccel, r);
-  return r;
-}
-
-EWXWEXPORT(void,wxDC_DrawPolyPolygon)(wxDC* self,int n,int* count,void* x,void* y,int xoffset,int yoffset,int fillStyle)
-{
-    int     *tmp = count;
-    int     *cnt = new int[n];
-    int      i, j;
-    int      totalItems = 0;
-    int      item = 0;
-
-    // Work out the size of wxPoint array required
-    for (i = 0; i < n; i++)
-    {
-      cnt[i] = *tmp++;
-      totalItems += cnt[i];
-    }
-	wxPoint* lst = new wxPoint[totalItems];
-
-	for (i = 0; i < n; i++)
-    {
-      for(j = 0; j < cnt[i]; j++)
-      {
-		lst[item] = wxPoint(((intptr_t*)x)[item], ((intptr_t*)y)[item]);
-        item++;
-      }
-    }
-	
-	self->DrawPolyPolygon(n, cnt, lst, (wxCoord)xoffset, (wxCoord)yoffset, fillStyle);
-	
-	free (lst);
-    delete cnt;
-}
-#endif
-}
− src/cpp/eljdcsvg.cpp
@@ -1,44 +0,0 @@-#include "wrapper.h"
-
-#ifdef wxUSE_SVG
-# include "wx/svg/dcsvg.h"
-#endif
-
-extern "C"
-{
-
-EWXWEXPORT(void*,wxSVGFileDC_Create)(wxString* a_filename)
-{
-#ifdef wxUSE_SVG
-	return (void*) new wxSVGFileDC(*a_filename);
-#else
-	return NULL;
-#endif
-}
-
-EWXWEXPORT(void*,wxSVGFileDC_CreateWithSize)(wxString* a_filename,int a_width,int a_height)
-{
-#ifdef wxUSE_SVG
-	return (void*) new wxSVGFileDC(*a_filename, a_width, a_height);
-#else
-	return NULL;
-#endif
-}
-
-EWXWEXPORT(void*,wxSVGFileDC_CreateWithSizeAndResolution)(wxString* a_filename,int a_width,int a_height,float a_dpi)
-{
-#ifdef wxUSE_SVG
-	return (void*) new wxSVGFileDC(*a_filename, a_width, a_height, a_dpi);
-#else
-	return NULL;
-#endif
-}
-
-EWXWEXPORT(void,wxSVGFileDC_Delete)(void* _obj)
-{
-#ifdef wxUSE_SVG
-	delete (wxSVGFileDC*)_obj;
-#endif
-}
-
-}
− src/cpp/eljdialog.cpp
@@ -1,43 +0,0 @@-#include "wrapper.h"
-
-extern "C"
-{
-
-EWXWEXPORT(wxDialog*,wxDialog_Create)(wxWindow* _prt,int _id,wxString* _txt,int _lft,int _top,int _wdt,int _hgt,int _stl)
-{
-	return new wxDialog (_prt, _id, *_txt, wxPoint(_lft, _top), wxSize(_wdt, _hgt), _stl);
-}
-
-EWXWEXPORT(bool,wxDialog_IsModal)(wxDialog* self)
-{
-	return self->IsModal();
-}
-	
-EWXWEXPORT(int,wxDialog_ShowModal)(wxDialog* self)
-{
-	return self->ShowModal();
-}
-	
-EWXWEXPORT(void,wxDialog_EndModal)(wxDialog* self,int retCode)
-{
-	self->EndModal(retCode);
-}
-	
-EWXWEXPORT(void,wxDialog_SetReturnCode)(wxDialog* self,int returnCode)
-{
-	self->SetReturnCode(returnCode);
-}
-	
-EWXWEXPORT(int,wxDialog_GetReturnCode)(wxDialog* self)
-{
-	return self->GetReturnCode();
-}
-	
-#if (wxVERSION_NUMBER >= 2400) && (wxVERSION_NUMBER < 2800)
-EWXWEXPORT(void,wxDialog_SetIcons)(wxDialog* self,wxIconBundle* _icons)
-{
-	self->SetIcons(*_icons);
-}
-#endif
-
-}
− src/cpp/eljdirdlg.cpp
@@ -1,51 +0,0 @@-#include "wrapper.h"
-
-extern "C"
-{
-
-EWXWEXPORT(void*,wxDirDialog_Create)(wxWindow* _prt,wxString* _msg,wxString* _dir, int _lft, int _top, int _stl)
-{
-	return (void*) new wxDirDialog (_prt, *_msg, * _dir, _stl, wxPoint(_lft, _top));
-}
-
-EWXWEXPORT(void,wxDirDialog_SetMessage)(void* _obj,wxString* msg)
-{
-	((wxDirDialog*)_obj)->SetMessage(*msg);
-}
-	
-EWXWEXPORT(void,wxDirDialog_SetPath)(void* _obj,wxString* pth)
-{
-	((wxDirDialog*)_obj)->SetPath(* pth);
-}
-	
-EWXWEXPORT(void,wxDirDialog_SetStyle)(void* _obj,int style)
-{
-#if WXWIN_COMPATIBILITY_2_6
-	((wxDirDialog*)_obj)->SetStyle((long)style);
-#endif
-}
-	
-EWXWEXPORT(wxString*,wxDirDialog_GetMessage)(void* _obj)
-{
-	wxString *result = new wxString();
-	*result = ((wxDirDialog*)_obj)->GetMessage();
-	return result;
-}
-	
-EWXWEXPORT(wxString*,wxDirDialog_GetPath)(void* _obj)
-{
-	wxString *result = new wxString();
-	*result = ((wxDirDialog*)_obj)->GetPath();
-	return result;
-}
-	
-EWXWEXPORT(int,wxDirDialog_GetStyle)(void* _obj)
-{
-#if WXWIN_COMPATIBILITY_2_6
-	return (int)((wxDirDialog*)_obj)->GetStyle();
-#else
-	return 0;
-#endif
-}
-	
-}
− src/cpp/eljdnd.cpp
@@ -1,393 +0,0 @@-#include "wrapper.h"
-
-wxDragResult ELJTextDropTarget::OnData(wxCoord x, wxCoord y, wxDragResult def)
-{
-	if (on_data_func)
-		return (wxDragResult) on_data_func(obj, (long)x, (long)y, (int) def);
-	else
-		return wxTextDropTarget::OnData(x, y, def);
-}
-
-bool ELJTextDropTarget::OnDrop(wxCoord x, wxCoord y)
-{
-	if (on_drop_func)
-		return (bool) on_drop_func(obj, (long)x, (long)y);
-	else
-		return wxTextDropTarget::OnDrop(x, y);
-}
-
-wxDragResult ELJTextDropTarget::OnEnter(wxCoord x, wxCoord y, wxDragResult def)
-{
-	if (on_enter_func)
-		return (wxDragResult) on_enter_func(obj, (long)x, (long)y, (int) def);
-	else
-		return wxTextDropTarget::OnEnter(x, y, def);
-}
-
-wxDragResult ELJTextDropTarget::OnDragOver(wxCoord x, wxCoord y, wxDragResult def)
-{
-	if (on_drag_func)
-		return (wxDragResult) on_drag_func(obj, (long)x, (long)y, (int) def);
-	else
-		return wxTextDropTarget::OnDragOver(x, y, def);
-}
-
-void ELJTextDropTarget::OnLeave()
-{
-	if (on_leave_func)
-		on_leave_func(obj);
-	else
-		wxTextDropTarget::OnLeave();
-}
-
-wxDragResult ELJFileDropTarget::OnData(wxCoord x, wxCoord y, wxDragResult def)
-{
-	if (on_data_func)
-		return (wxDragResult) on_data_func(obj, (long)x, (long)y, (int) def);
-	else
-		return wxFileDropTarget::OnData(x, y, def);
-}
-
-bool ELJFileDropTarget::OnDrop(wxCoord x, wxCoord y)
-{
-	if (on_drop_func)
-		return (bool) on_drop_func(obj, (long)x, (long)y);
-	else
-		return wxFileDropTarget::OnDrop(x, y);
-}
-
-wxDragResult ELJFileDropTarget::OnEnter(wxCoord x, wxCoord y, wxDragResult def)
-{
-	if (on_enter_func)
-		return (wxDragResult) on_enter_func(obj, (long)x, (long)y, (int) def);
-	else
-		return wxFileDropTarget::OnEnter(x, y, def);
-}
-
-wxDragResult ELJFileDropTarget::OnDragOver(wxCoord x, wxCoord y, wxDragResult def)
-{
-	if (on_drag_func)
-		return (wxDragResult) on_drag_func(obj, (long)x, (long)y, (int) def);
-	else
-		return wxFileDropTarget::OnDragOver(x, y, def);
-}
-
-void ELJFileDropTarget::OnLeave()
-{
-	if (on_leave_func)
-		on_leave_func(obj);
-	else
-		wxFileDropTarget::OnLeave();
-}
-
-wxDragResult ELJDropTarget::OnData(wxCoord x, wxCoord y, wxDragResult def)
-{
-	if (on_data_func)
-		return (wxDragResult) on_data_func(obj, (long)x, (long)y, (int) def);
-	else
-	{
-		GetData();
-		return def;
-	}
-}
-
-bool ELJDropTarget::OnDrop(wxCoord x, wxCoord y)
-{
-	if (on_drop_func)
-		return (bool) on_drop_func(obj, (long)x, (long)y);
-	else
-		return wxDropTarget::OnDrop(x, y);
-}
-
-wxDragResult ELJDropTarget::OnEnter(wxCoord x, wxCoord y, wxDragResult def)
-{
-	if (on_enter_func)
-		return (wxDragResult) on_enter_func(obj, (long)x, (long)y, (int) def);
-	else
-		return wxDropTarget::OnEnter(x, y, def);
-}
-
-wxDragResult ELJDropTarget::OnDragOver(wxCoord x, wxCoord y, wxDragResult def)
-{
-	if (on_drag_func)
-		return (wxDragResult) on_drag_func(obj, (long)x, (long)y, (int) def);
-	else
-		return wxDropTarget::OnDragOver(x, y, def);
-}
-
-void ELJDropTarget::OnLeave()
-{
-	if (on_leave_func)
-		on_leave_func(obj);
-	else
-		wxDropTarget::OnLeave();
-}
-
-bool ELJFileDropTarget::OnDropFiles(wxCoord x, wxCoord y, const wxArrayString& filenames)
-{
-	bool result = false;
-	const wxChar** arr = (const wxChar**)malloc (sizeof(wxChar*)* filenames.GetCount());
-	
-	for (unsigned int i = 0; i < filenames.GetCount(); i++)
-		arr[i] = filenames.Item(i).c_str();
-	
-	result = func(obj, (long)x, (long)y, (void*)arr, (int)filenames.GetCount()) != 0;
-	free(arr);
-	
-	return result;
-}
-
-bool ELJTextDropTarget::OnDropText(wxCoord x, wxCoord y, const wxString& text)
-{
-	return func(obj, (long)x, (long)y, (void*)text.c_str()) != 0;
-}
-
-extern "C"
-{
-
-EWXWEXPORT(void*,ELJFileDropTarget_Create)(void* self,void* _func)
-{
-	return (void*)new ELJFileDropTarget(self, (FileDropFunc)_func);
-}
-
-EWXWEXPORT(void,ELJFileDropTarget_Delete)(ELJFileDropTarget* self)
-{
-	delete self;
-}
-
-EWXWEXPORT(void*,ELJTextDropTarget_Create)(void* self,void* _func)
-{
-	return (void*)new ELJTextDropTarget(self, (TextDropFunc)_func);
-}
-
-EWXWEXPORT(void,ELJTextDropTarget_Delete)(ELJTextDropTarget* self)
-{
-	delete self;
-}
-
-EWXWEXPORT(void*,TextDataObject_Create)(wxString* _txt)
-{
-	return (void*)new wxTextDataObject(*_txt);
-}
-
-EWXWEXPORT(void,TextDataObject_Delete)(void* self)
-{
-	delete (wxTextDataObject*)self;
-}
-
-EWXWEXPORT(size_t,TextDataObject_GetTextLength)(void* self)
-{
-	return ((wxTextDataObject*)self)->GetTextLength();
-}
-
-EWXWEXPORT(wxString*,TextDataObject_GetText)(void* self)
-{
-	wxString *result = new wxString();
-	*result = ((wxTextDataObject*)self)->GetText();
-	return result;
-}
-
-EWXWEXPORT(void,TextDataObject_SetText)(void* _obj,wxString* strText)
-{
-	((wxTextDataObject*)_obj)->SetText(*strText);
-}
-
-EWXWEXPORT(void*,FileDataObject_Create)(int _cnt,void* _lst)
-{
-	wxFileDataObject* result = new wxFileDataObject();
-	if (_cnt)
-	{
-		for (int i = 0; i < _cnt; i++)
-			result->AddFile(((wxChar**)_lst)[i]);
-	}
-	return (void*)result;
-}
-
-EWXWEXPORT(void,FileDataObject_Delete)(void* self)
-{
-	delete (wxFileDataObject*)self;
-}
-
-EWXWEXPORT(void,FileDataObject_AddFile)(void* self,wxString* _fle)
-{
-	((wxFileDataObject*)self)->AddFile(*_fle);
-}
-
-EWXWEXPORT(int,FileDataObject_GetFilenames)(void* self,void* _lst)
-{
-	wxArrayString arr = ((wxFileDataObject*)self)->GetFilenames();
-	if (_lst)
-	{
-		for (unsigned int i = 0; i < arr.GetCount(); i++)
-			((const wxChar**)_lst)[i] = wxStrdup (arr.Item(i).c_str());
-	}
-	return arr.GetCount();
-}
-
-
-EWXWEXPORT(void*,BitmapDataObject_Create)(wxBitmap* _bmp)
-{
-	return (void*)new wxBitmapDataObject(*_bmp);
-}
-
-EWXWEXPORT(void*,BitmapDataObject_CreateEmpty)()
-{
-	return (void*)new wxBitmapDataObject();
-}
-
-EWXWEXPORT(void,BitmapDataObject_Delete)(void* self)
-{
-	delete (wxBitmapDataObject*)self;
-}
-
-EWXWEXPORT(void,BitmapDataObject_SetBitmap)(void* self,wxBitmap* _bmp)
-{
-	((wxBitmapDataObject*)self)->SetBitmap (*_bmp);
-}
-
-EWXWEXPORT(void,BitmapDataObject_GetBitmap)(void* self,wxBitmap* _bmp)
-{
-	*_bmp = ((wxBitmapDataObject*)self)->GetBitmap ();
-}
-
-
-EWXWEXPORT(void*,DropSource_Create)(wxDataObject* data,wxWindow* win,void* copy,void* move,void* none)
-{
-#if (wxCHECK_VERSION(2,5,0) && defined(__WXMAC__)) || defined(__WIN32__)
-	return (void*)new wxDropSource(*data, win,*((wxCursor*)copy),*((wxCursor*)move),*((wxCursor*)none));
-#else
-	return (void*)new wxDropSource(*data, win,*((wxIcon*)copy),*((wxIcon*)move),*((wxIcon*)none));
-#endif
-}
-
-EWXWEXPORT(void,DropSource_Delete)(void* self)
-{
-	delete (wxDropSource*)self;
-}
-
-EWXWEXPORT(int,DropSource_DoDragDrop)(void* self,bool _move)
-{
-	return (int)((wxDropSource*)self)->DoDragDrop(_move);
-}
-
-EWXWEXPORT(void*,ELJDropTarget_Create)(void* self)
-{
-	return (void*)new ELJDropTarget(self);
-}
-
-EWXWEXPORT(void,ELJDropTarget_Delete)(void* self)
-{
-	delete (ELJDropTarget*)self;
-}
-
-EWXWEXPORT(void,ELJFileDropTarget_SetOnData)(void* self,void* _func)
-{
-	((ELJFileDropTarget*)self)->SetOnData((DragThreeFunc)_func);
-}
-
-EWXWEXPORT(void,ELJFileDropTarget_SetOnDrop)(void* self,void* _func)
-{
-	((ELJFileDropTarget*)self)->SetOnDrop((DragTwoFunc)_func);
-}
-
-EWXWEXPORT(void,ELJFileDropTarget_SetOnEnter)(void* self,void* _func)
-{
-	((ELJFileDropTarget*)self)->SetOnEnter((DragThreeFunc)_func);
-}
-
-EWXWEXPORT(void,ELJFileDropTarget_SetOnDragOver)(void* self,void* _func)
-{
-	((ELJFileDropTarget*)self)->SetOnDragOver((DragThreeFunc)_func);
-}
-
-EWXWEXPORT(void,ELJFileDropTarget_SetOnLeave)(void* self,void* _func)
-{
-	((ELJFileDropTarget*)self)->SetOnLeave((DragZeroFunc)_func);
-}
-
-EWXWEXPORT(void,ELJTextDropTarget_SetOnData)(void* self,void* _func)
-{
-	((ELJTextDropTarget*)self)->SetOnData((DragThreeFunc)_func);
-}
-
-EWXWEXPORT(void,ELJTextDropTarget_SetOnDrop)(void* self,void* _func)
-{
-	((ELJTextDropTarget*)self)->SetOnDrop((DragTwoFunc)_func);
-}
-
-EWXWEXPORT(void,ELJTextDropTarget_SetOnEnter)(void* self,void* _func)
-{
-	((ELJTextDropTarget*)self)->SetOnEnter((DragThreeFunc)_func);
-}
-
-EWXWEXPORT(void,ELJTextDropTarget_SetOnDragOver)(void* self,void* _func)
-{
-	((ELJTextDropTarget*)self)->SetOnDragOver((DragThreeFunc)_func);
-}
-
-EWXWEXPORT(void,ELJTextDropTarget_SetOnLeave)(void* self,void* _func)
-{
-	((ELJTextDropTarget*)self)->SetOnLeave((DragZeroFunc)_func);
-}
-
-EWXWEXPORT(void,ELJDropTarget_SetOnData)(void* self,void* _func)
-{
-	((ELJDropTarget*)self)->SetOnData((DragThreeFunc)_func);
-}
-
-EWXWEXPORT(void,ELJDropTarget_SetOnDrop)(void* self,void* _func)
-{
-	((ELJDropTarget*)self)->SetOnDrop((DragTwoFunc)_func);
-}
-
-EWXWEXPORT(void,ELJDropTarget_SetOnEnter)(void* self,void* _func)
-{
-	((ELJDropTarget*)self)->SetOnEnter((DragThreeFunc)_func);
-}
-
-EWXWEXPORT(void,ELJDropTarget_SetOnDragOver)(void* self,void* _func)
-{
-	((ELJDropTarget*)self)->SetOnDragOver((DragThreeFunc)_func);
-}
-
-EWXWEXPORT(void,ELJDropTarget_SetOnLeave)(void* self,void* _func)
-{
-	((ELJDropTarget*)self)->SetOnLeave((DragZeroFunc)_func);
-}
-
-EWXWEXPORT(void,wxDropTarget_GetData)(void* self)
-{
-	((wxDropTarget*)self)->GetData();
-}
-
-EWXWEXPORT(void,wxDropTarget_SetDataObject)(void* self,void* _dat)
-{
-	((wxDropTarget*)self)->SetDataObject((wxDataObject*)_dat);
-}
-
-EWXWEXPORT(void*,ELJDragDataObject_Create)(void* self,wxString* _fmt,void* _func1,void* _func2,void* _func3)
-{
-	return (void*)new ELJDragDataObject(self, const_cast<wxChar*>(_fmt->c_str()), (DataGetDataSize)_func1, (DataGetDataHere)_func2, (DataSetData)_func3);
-}
-
-EWXWEXPORT(void,ELJDragDataObject_Delete)(void* self)
-{
-	delete (ELJDragDataObject*)self;
-}
-
-EWXWEXPORT(void*,wxDataObjectComposite_Create)()
-{
-	return (void*)new wxDataObjectComposite();
-}
-
-EWXWEXPORT(void,wxDataObjectComposite_Delete)(void* self)
-{
-	delete (wxDataObjectComposite*)self;
-}
-
-EWXWEXPORT(void,wxDataObjectComposite_Add)(void* self,void* _dat,bool _preferred)
-{
-	((wxDataObjectComposite*)self)->Add((wxDataObjectSimple*)_dat, _preferred);
-}
-
-}
− src/cpp/eljdrawing.cpp
@@ -1,16 +0,0 @@-#include "wrapper.h"
-
-extern "C"
-{
-
-EWXWEXPORT(void*, wxDrawWindow_Create) (void* _prt, int _id, int _lft, int _top, int _wdt, int _hgt, int _stl)
-{
-	return (void*) new wxWindow ((wxWindow*)_prt, _id, wxPoint(_lft, _top), wxSize(_wdt, _hgt), _stl);
-}
-
-EWXWEXPORT(void*, wxDrawControl_Create) (void* _prt, int _id, int _lft, int _top, int _wdt, int _hgt, int _stl)
-{
-	return (void*) new wxControl ((wxWindow*)_prt, _id, wxPoint(_lft, _top), wxSize(_wdt, _hgt), _stl);
-}
-
-}
− src/cpp/eljevent.cpp
@@ -1,2724 +0,0 @@-#include "wrapper.h"-#include "wx/process.h"-#include "wx/dialup.h"-#include "wx/tabctrl.h"--#if (wxVERSION_NUMBER >= 2800)-#include "wx/power.h"-#endif--#if defined(wxUSE_TAB_DIALOG) && (wxUSE_TAB_DIALOG==0)-# undef wxUSE_TAB_DIALOG-#endif--#ifdef USE_CONTRIB-#include "wx/plot/plot.h"-#include "wx/gizmos/dynamicsash.h"-#endif--extern "C"-{--EWXWEXPORT(wxCommandEvent*,wxCommandEvent_Create)(int _typ,int _id)-{-        return new wxCommandEvent((wxEventType)_typ, _id);-}--EWXWEXPORT(void,wxCommandEvent_Delete)(wxCommandEvent* self)-{-        delete self;-}--EWXWEXPORT(int,wxEvent_GetTimestamp)(wxEvent* self)-{-        return self->GetTimestamp();-}--EWXWEXPORT(void,wxEvent_Skip)(wxEvent* self)-{-        self->Skip();-}--EWXWEXPORT(int,wxEvent_GetEventType)(wxEvent* self)-{-        return (int)self->GetEventType();-}--EWXWEXPORT(void,wxEvent_SetEventType)(wxEvent* self,int typ)-{-        self->SetEventType((wxEventType) typ);-}--EWXWEXPORT(void*,wxEvent_GetEventObject)(wxEvent* self)-{-        return (void*)self->GetEventObject();-}--EWXWEXPORT(void,wxEvent_SetEventObject)(wxEvent* self,wxObject* obj)-{-        self->SetEventObject(obj);-}--EWXWEXPORT(void,wxEvent_SetTimestamp)(wxEvent* self,int ts)-{-        self->SetTimestamp((long)ts);-}--EWXWEXPORT(int,wxEvent_GetId)(wxEvent* self)-{-        return self->GetId();-}--EWXWEXPORT(void,wxEvent_SetId)(wxEvent* self,int Id)-{-        self->SetId(Id);-}--EWXWEXPORT(bool,wxEvent_GetSkipped)(wxEvent* self)-{-        return self->GetSkipped();-}--EWXWEXPORT(bool,wxEvent_IsCommandEvent)(wxEvent* self)-{-        return self->IsCommandEvent();-}--EWXWEXPORT(void,wxEvent_CopyObject)(wxEvent* self,wxObject* object_dest)-{-#if wxVERSION_NUMBER < 2400-        self->CopyObject(*object_dest);-#endif-}--EWXWEXPORT(void,wxEvent_SetCallbackUserData)(wxEvent* self,wxObject* obj)-{-        self->m_callbackUserData = obj;-}--EWXWEXPORT(void*,wxEvent_GetCallbackUserData)(wxEvent* self)-{-        return (void*)self->m_callbackUserData;-}--EWXWEXPORT(void,wxCommandEvent_SetClientData)(wxCommandEvent* self,void* clientData)-{-        self->SetClientData(clientData);-}--EWXWEXPORT(void*,wxCommandEvent_GetClientData)(wxCommandEvent* self)-{-        return self->GetClientData();-}--EWXWEXPORT(void,wxCommandEvent_SetClientObject)(wxCommandEvent* self,void* clientObject)-{-        self->SetClientObject((wxClientData*)clientObject);-}--EWXWEXPORT(void*,wxCommandEvent_GetClientObject)(wxCommandEvent* self)-{-        return (void*)self->GetClientObject();-}--EWXWEXPORT(int,wxCommandEvent_GetSelection)(wxCommandEvent* self)-{-        return self->GetSelection();-}--EWXWEXPORT(void,wxCommandEvent_SetString)(wxCommandEvent* self,wxString* s)-{-        self->SetString(*s);-}--EWXWEXPORT(wxString*,wxCommandEvent_GetString)(wxCommandEvent* self)-{-        wxString *result = new wxString();-        *result = self->GetString();-        return result;-}--EWXWEXPORT(bool,wxCommandEvent_IsChecked)(wxCommandEvent* self)-{-        return self->IsChecked();-}--EWXWEXPORT(bool,wxCommandEvent_IsSelection)(wxCommandEvent* self)-{-        return self->IsSelection();-}--EWXWEXPORT(void,wxCommandEvent_SetExtraLong)(wxCommandEvent* self,long extraLong)-{-        self->SetExtraLong(extraLong);-}--EWXWEXPORT(long,wxCommandEvent_GetExtraLong)(wxCommandEvent* self)-{-        return self->GetExtraLong();-}--EWXWEXPORT(void,wxCommandEvent_SetInt)(wxCommandEvent* self,int i)-{-        self->SetInt(i);-}--EWXWEXPORT(long,wxCommandEvent_GetInt)(wxCommandEvent* self)-{-        return self->GetInt();-}--EWXWEXPORT(void,wxCommandEvent_CopyObject)(wxCommandEvent* self,wxObject* object_dest)-{-#if wxVERSION_NUMBER < 2400-        self->CopyObject(*object_dest);-#endif-}--EWXWEXPORT(void,wxNotifyEvent_Veto)(wxNotifyEvent* self)-{-        self->Veto();-}--EWXWEXPORT(void,wxNotifyEvent_Allow)(wxNotifyEvent* self)-{-        self->Allow();-}--EWXWEXPORT(bool,wxNotifyEvent_IsAllowed)(wxNotifyEvent* self)-{-        return self->IsAllowed();-}--EWXWEXPORT(void,wxNotifyEvent_CopyObject)(wxNotifyEvent* self,wxObject* object_dest)-{-#if wxVERSION_NUMBER < 2400-        self->CopyObject(*object_dest);-#endif-}--EWXWEXPORT(int,wxScrollWinEvent_GetOrientation)(wxScrollWinEvent* self)-{-        return self->GetOrientation();-}--EWXWEXPORT(int,wxScrollWinEvent_GetPosition)(wxScrollWinEvent* self)-{-        return self->GetPosition();-}--EWXWEXPORT(void,wxScrollWinEvent_SetOrientation)(wxScrollWinEvent* self,int orient)-{-        self->SetOrientation(orient);-}--EWXWEXPORT(void,wxScrollWinEvent_SetPosition)(wxScrollWinEvent* self,int pos)-{-        self->SetPosition(pos);-}--EWXWEXPORT(bool,wxMouseEvent_IsButton)(wxMouseEvent* self)-{-        return self->IsButton();-}--EWXWEXPORT(bool,wxMouseEvent_ButtonDown)(wxMouseEvent* self,int but)-{-        return self->ButtonDown(but);-}--EWXWEXPORT(bool,wxMouseEvent_ButtonDClick)(wxMouseEvent* self,int but)-{-        return self->ButtonDClick(but);-}--EWXWEXPORT(bool,wxMouseEvent_ButtonUp)(wxMouseEvent* self,int but)-{-        return self->ButtonUp(but);-}--EWXWEXPORT(bool,wxMouseEvent_Button)(wxMouseEvent* self,int but)-{-        return self->Button(but);-}--EWXWEXPORT(bool,wxMouseEvent_ButtonIsDown)(wxMouseEvent* self,int but)-{-        return self->ButtonIsDown(but);-}--EWXWEXPORT(bool,wxMouseEvent_ControlDown)(wxMouseEvent* self)-{-        return self->ControlDown();-}--EWXWEXPORT(bool,wxMouseEvent_MetaDown)(wxMouseEvent* self)-{-        return self->MetaDown();-}--EWXWEXPORT(bool,wxMouseEvent_AltDown)(wxMouseEvent* self)-{-        return self->AltDown();-}--EWXWEXPORT(bool,wxMouseEvent_ShiftDown)(wxMouseEvent* self)-{-        return self->ShiftDown();-}--EWXWEXPORT(bool,wxMouseEvent_LeftDown)(wxMouseEvent* self)-{-        return self->LeftDown();-}--EWXWEXPORT(bool,wxMouseEvent_MiddleDown)(wxMouseEvent* self)-{-        return self->MiddleDown();-}--EWXWEXPORT(bool,wxMouseEvent_RightDown)(wxMouseEvent* self)-{-        return self->RightDown();-}--EWXWEXPORT(bool,wxMouseEvent_LeftUp)(wxMouseEvent* self)-{-        return self->LeftUp();-}--EWXWEXPORT(bool,wxMouseEvent_MiddleUp)(wxMouseEvent* self)-{-        return self->MiddleUp();-}--EWXWEXPORT(bool,wxMouseEvent_RightUp)(wxMouseEvent* self)-{-        return self->RightUp();-}--EWXWEXPORT(bool,wxMouseEvent_LeftDClick)(wxMouseEvent* self)-{-        return self->LeftDClick();-}--EWXWEXPORT(bool,wxMouseEvent_MiddleDClick)(wxMouseEvent* self)-{-        return self->MiddleDClick();-}--EWXWEXPORT(bool,wxMouseEvent_RightDClick)(wxMouseEvent* self)-{-        return self->RightDClick();-}--EWXWEXPORT(bool,wxMouseEvent_LeftIsDown)(wxMouseEvent* self)-{-        return self->LeftIsDown();-}--EWXWEXPORT(bool,wxMouseEvent_MiddleIsDown)(wxMouseEvent* self)-{-        return self->MiddleIsDown();-}--EWXWEXPORT(bool,wxMouseEvent_RightIsDown)(wxMouseEvent* self)-{-        return self->RightIsDown();-}--EWXWEXPORT(bool,wxMouseEvent_Dragging)(wxMouseEvent* self)-{-        return self->Dragging();-}--EWXWEXPORT(bool,wxMouseEvent_Moving)(wxMouseEvent* self)-{-        return self->Moving();-}--EWXWEXPORT(bool,wxMouseEvent_Entering)(wxMouseEvent* self)-{-        return self->Entering();-}--EWXWEXPORT(bool,wxMouseEvent_Leaving)(wxMouseEvent* self)-{-        return self->Leaving();-}--EWXWEXPORT(wxPoint*,wxMouseEvent_GetPosition)(wxMouseEvent* self)-{-	wxPoint* pt = new wxPoint();-	*pt = self->GetPosition();-	return pt;-}--EWXWEXPORT(wxPoint*,wxMouseEvent_GetLogicalPosition)(wxMouseEvent* self,wxDC* dc)-{-	wxPoint* pt = new wxPoint();-	*pt = self->GetLogicalPosition(*dc);-	return pt;-}--EWXWEXPORT(int,wxMouseEvent_GetX)(wxMouseEvent* self)-{-        return self->GetX();-}--EWXWEXPORT(int,wxMouseEvent_GetY)(wxMouseEvent* self)-{-        return self->GetY();-}--EWXWEXPORT(void,wxMouseEvent_CopyObject)(wxMouseEvent* self,wxObject* object_dest)-{-#if wxVERSION_NUMBER < 2400-        self->CopyObject(*object_dest);-#endif-}--EWXWEXPORT(wxCoord,wxSetCursorEvent_GetX)(wxSetCursorEvent* self)-{-        return self->GetX();-}--EWXWEXPORT(wxCoord,wxSetCursorEvent_GetY)(wxSetCursorEvent* self)-{-        return self->GetY();-}--EWXWEXPORT(void,wxSetCursorEvent_SetCursor)(wxSetCursorEvent* self,wxCursor* cursor)-{-        self->SetCursor(*cursor);-}--EWXWEXPORT(wxCursor*,wxSetCursorEvent_GetCursor)(wxSetCursorEvent* self)-{-        wxCursor* cur = new wxCursor;-        *cur = self->GetCursor();-        return cur;-}--EWXWEXPORT(bool,wxSetCursorEvent_HasCursor)(wxSetCursorEvent* self)-{-        return self->HasCursor();-}--EWXWEXPORT(bool,wxKeyEvent_ControlDown)(wxKeyEvent* self)-{-        return self->ControlDown();-}--EWXWEXPORT(bool,wxKeyEvent_MetaDown)(wxKeyEvent* self)-{-        return self->MetaDown();-}--EWXWEXPORT(bool,wxKeyEvent_AltDown)(wxKeyEvent* self)-{-        return self->AltDown();-}--EWXWEXPORT(bool,wxKeyEvent_ShiftDown)(wxKeyEvent* self)-{-        return self->ShiftDown();-}--EWXWEXPORT(bool,wxKeyEvent_HasModifiers)(wxKeyEvent* self)-{-        return self->HasModifiers();-}--EWXWEXPORT(int,wxKeyEvent_GetKeyCode)(wxKeyEvent* self)-{-        return self->GetKeyCode();-}--EWXWEXPORT(int,wxKeyEvent_GetModifiers)(wxKeyEvent* self)-{-        return self->GetModifiers();-}--EWXWEXPORT(void,wxKeyEvent_SetKeyCode)(wxKeyEvent* self,int code)-{-        self->m_keyCode = code;-}--EWXWEXPORT(wxPoint*,wxKeyEvent_GetPosition)(wxKeyEvent* self)-{-	wxPoint* pt = new wxPoint();-	*pt = self->GetPosition();-	return pt;-}--EWXWEXPORT(wxCoord,wxKeyEvent_GetX)(wxKeyEvent* self)-{-        return self->GetX();-}--EWXWEXPORT(wxCoord,wxKeyEvent_GetY)(wxKeyEvent* self)-{-        return self->GetY();-}--EWXWEXPORT(void,wxKeyEvent_CopyObject)(wxKeyEvent* self,wxObject* obj)-{-#if wxVERSION_NUMBER < 2400-        self->CopyObject(*obj);-#endif-}--EWXWEXPORT(wxSize*,wxSizeEvent_GetSize)(wxSizeEvent* self)-{-	wxSize* s = new wxSize();-	*s = self->GetSize();-	return s;-}--EWXWEXPORT(void,wxSizeEvent_CopyObject)(wxSizeEvent* self,wxObject* obj)-{-#if wxVERSION_NUMBER < 2400-        self->CopyObject(*obj);-#endif-}--EWXWEXPORT(wxPoint*,wxMoveEvent_GetPosition)(wxMoveEvent* self)-{-	wxPoint* pt = new wxPoint();-	*pt = self->GetPosition();-	return pt;-}--EWXWEXPORT(void,wxMoveEvent_CopyObject)(wxMoveEvent* self,wxObject* obj)-{-#if wxVERSION_NUMBER < 2400-        self->CopyObject(*obj);-#endif-}--EWXWEXPORT(wxDC*,wxEraseEvent_GetDC)(wxEraseEvent* self)-{-        return self->GetDC();-}--EWXWEXPORT(void,wxEraseEvent_CopyObject)(wxEraseEvent* self,wxObject* obj)-{-#if wxVERSION_NUMBER < 2400-        self->CopyObject(*obj);-#endif-}--EWXWEXPORT(bool,wxActivateEvent_GetActive)(wxActivateEvent* self)-{-        return self->GetActive();-}--EWXWEXPORT(void,wxActivateEvent_CopyObject)(wxActivateEvent* self,wxObject* obj)-{-#if wxVERSION_NUMBER < 2400-        self->CopyObject(*obj);-#endif-}--EWXWEXPORT(int,wxMenuEvent_GetMenuId)(wxMenuEvent* self)-{-        return self->GetMenuId();-}--EWXWEXPORT(void,wxMenuEvent_CopyObject)(wxMenuEvent* self,wxObject* obj)-{-#if wxVERSION_NUMBER < 2400-        self->CopyObject(*obj);-#endif-}--EWXWEXPORT(void,wxCloseEvent_SetLoggingOff)(wxCloseEvent* self,bool logOff)-{-        self->SetLoggingOff(logOff);-}--EWXWEXPORT(bool,wxCloseEvent_GetLoggingOff)(wxCloseEvent* self)-{-        return self->GetLoggingOff();-}--EWXWEXPORT(void,wxCloseEvent_Veto)(wxCloseEvent* self,bool veto)-{-        self->Veto(veto);-}--EWXWEXPORT(void,wxCloseEvent_SetCanVeto)(wxCloseEvent* self,bool canVeto)-{-        self->SetCanVeto(canVeto);-}--EWXWEXPORT(bool,wxCloseEvent_CanVeto)(wxCloseEvent* self)-{-        return self->CanVeto();-}--EWXWEXPORT(bool,wxCloseEvent_GetVeto)(wxCloseEvent* self)-{-        return self->GetVeto();-}--EWXWEXPORT(void,wxCloseEvent_CopyObject)(wxCloseEvent* self,wxObject* obj)-{-#if wxVERSION_NUMBER < 2400-        self->CopyObject(*obj);-#endif-}--EWXWEXPORT(void,wxShowEvent_SetShow)(wxShowEvent* self,bool show)-{-        self->SetShow(show);-}--EWXWEXPORT(bool,wxShowEvent_GetShow)(wxShowEvent* self)-{-        return self->GetShow();-}--EWXWEXPORT(void,wxShowEvent_CopyObject)(wxShowEvent* self,wxObject* obj)-{-#if wxVERSION_NUMBER < 2400-        self->CopyObject(*obj);-#endif-}--EWXWEXPORT(wxPoint*,wxJoystickEvent_GetPosition)(wxJoystickEvent* self)-{-	wxPoint* pt = new wxPoint();-	*pt = self->GetPosition();-	return pt;-}--EWXWEXPORT(int,wxJoystickEvent_GetZPosition)(wxJoystickEvent* self)-{-        return self->GetZPosition();-}--EWXWEXPORT(int,wxJoystickEvent_GetButtonState)(wxJoystickEvent* self)-{-        return self->GetButtonState();-}--EWXWEXPORT(int,wxJoystickEvent_GetButtonChange)(wxJoystickEvent* self)-{-        return self->GetButtonChange();-}--EWXWEXPORT(int,wxJoystickEvent_GetJoystick)(wxJoystickEvent* self)-{-        return self->GetJoystick();-}--EWXWEXPORT(void,wxJoystickEvent_SetJoystick)(wxJoystickEvent* self,int stick)-{-        self->SetJoystick(stick);-}--EWXWEXPORT(void,wxJoystickEvent_SetButtonState)(wxJoystickEvent* self,int state)-{-        self->SetButtonState(state);-}--EWXWEXPORT(void,wxJoystickEvent_SetButtonChange)(wxJoystickEvent* self,int change)-{-        self->SetButtonChange(change);-}--EWXWEXPORT(void,wxJoystickEvent_SetPosition)(wxJoystickEvent* self,int x,int y)-{-	wxPoint pos(x,y);-	self->SetPosition(pos);-}--EWXWEXPORT(void,wxJoystickEvent_SetZPosition)(wxJoystickEvent* self,int zPos)-{-        self->SetZPosition(zPos);-}--EWXWEXPORT(bool,wxJoystickEvent_IsButton)(wxJoystickEvent* self)-{-        return self->IsButton();-}--EWXWEXPORT(bool,wxJoystickEvent_IsMove)(wxJoystickEvent* self)-{-        return self->IsMove();-}--EWXWEXPORT(bool,wxJoystickEvent_IsZMove)(wxJoystickEvent* self)-{-        return self->IsZMove();-}--EWXWEXPORT(bool,wxJoystickEvent_ButtonDown)(wxJoystickEvent* self,int but)-{-        return self->ButtonDown(but);-}--EWXWEXPORT(bool,wxJoystickEvent_ButtonUp)(wxJoystickEvent* self,int but)-{-        return self->ButtonUp(but);-}--EWXWEXPORT(bool,wxJoystickEvent_ButtonIsDown)(wxJoystickEvent* self,int but)-{-        return self->ButtonIsDown(but);-}--EWXWEXPORT(void,wxJoystickEvent_CopyObject)(wxJoystickEvent* self,wxObject* obj)-{-#if wxVERSION_NUMBER < 2400-        self->CopyObject(*obj);-#endif-}--EWXWEXPORT(bool,wxUpdateUIEvent_GetChecked)(wxUpdateUIEvent* self)-{-        return self->GetChecked();-}--EWXWEXPORT(bool,wxUpdateUIEvent_GetEnabled)(wxUpdateUIEvent* self)-{-        return self->GetEnabled();-}--EWXWEXPORT(wxString*,wxUpdateUIEvent_GetText)(wxUpdateUIEvent* self)-{-        wxString *result = new wxString();-        *result = self->GetText();-        return result;-}--EWXWEXPORT(bool,wxUpdateUIEvent_GetSetText)(wxUpdateUIEvent* self)-{-        return self->GetSetText();-}--EWXWEXPORT(bool,wxUpdateUIEvent_GetSetChecked)(wxUpdateUIEvent* self)-{-        return self->GetSetChecked();-}--EWXWEXPORT(bool,wxUpdateUIEvent_GetSetEnabled)(wxUpdateUIEvent* self)-{-        return self->GetSetEnabled();-}--EWXWEXPORT(void,wxUpdateUIEvent_Check)(wxUpdateUIEvent* self,bool check)-{-        self->Check(check);-}--EWXWEXPORT(void,wxUpdateUIEvent_Enable)(wxUpdateUIEvent* self,bool enable)-{-        self->Enable(enable);-}--EWXWEXPORT(void,wxUpdateUIEvent_SetText)(wxUpdateUIEvent* self,wxString* text)-{-        self->SetText(*text);-}--EWXWEXPORT(void,wxUpdateUIEvent_CopyObject)(wxUpdateUIEvent* self,wxObject* obj)-{-#if wxVERSION_NUMBER < 2400-        self->CopyObject(*obj);-#endif-}--EWXWEXPORT(void,wxPaletteChangedEvent_SetChangedWindow)(wxPaletteChangedEvent* self,wxWindow* win)-{-        self->SetChangedWindow(win);-}--EWXWEXPORT(void*,wxPaletteChangedEvent_GetChangedWindow)(wxPaletteChangedEvent* self)-{-        return (void*)self->GetChangedWindow();-}--EWXWEXPORT(void,wxPaletteChangedEvent_CopyObject)(wxPaletteChangedEvent* self,wxObject* obj)-{-#if wxVERSION_NUMBER < 2400-        self->CopyObject(*obj);-#endif-}--EWXWEXPORT(void,wxQueryNewPaletteEvent_SetPaletteRealized)(wxQueryNewPaletteEvent* self,bool realized)-{-        self->SetPaletteRealized(realized);-}--EWXWEXPORT(bool,wxQueryNewPaletteEvent_GetPaletteRealized)(wxQueryNewPaletteEvent* self)-{-        return self->GetPaletteRealized();-}--EWXWEXPORT(void,wxQueryNewPaletteEvent_CopyObject)(wxQueryNewPaletteEvent* self,wxObject* obj)-{-#if wxVERSION_NUMBER < 2400-        self->CopyObject(*obj);-#endif-}--EWXWEXPORT(bool,wxNavigationKeyEvent_GetDirection)(wxNavigationKeyEvent* self)-{-        return self->GetDirection();-}--EWXWEXPORT(void,wxNavigationKeyEvent_SetDirection)(wxNavigationKeyEvent* self,bool bForward)-{-        self->SetDirection(bForward);-}--EWXWEXPORT(bool,wxNavigationKeyEvent_IsWindowChange)(wxNavigationKeyEvent* self)-{-        return self->IsWindowChange();-}--EWXWEXPORT(void,wxNavigationKeyEvent_SetWindowChange)(wxNavigationKeyEvent* self,bool bIs)-{-        self->SetWindowChange(bIs);-}--EWXWEXPORT(bool,wxNavigationKeyEvent_ShouldPropagate)(wxNavigationKeyEvent* self)-{-        return self->ShouldPropagate();-}-	-EWXWEXPORT(void*,wxNavigationKeyEvent_GetCurrentFocus)(wxNavigationKeyEvent* self)-{-        return (void*) self->GetCurrentFocus();-}--EWXWEXPORT(void,wxNavigationKeyEvent_SetCurrentFocus)(wxNavigationKeyEvent* self,wxWindow* win)-{-        self->SetCurrentFocus(win);-}--EWXWEXPORT(void*,wxWindowCreateEvent_GetWindow)(wxWindowCreateEvent* self)-{-        return (void*)self->GetWindow();-}--EWXWEXPORT(void*,wxWindowDestroyEvent_GetWindow)(wxWindowDestroyEvent* self)-{-        return (void*)self->GetWindow();-}--EWXWEXPORT(void,wxIdleEvent_RequestMore)(wxIdleEvent* self,bool needMore)-{-        self->RequestMore(needMore);-}--EWXWEXPORT(bool,wxIdleEvent_MoreRequested)(wxIdleEvent* self)-{-        return self->MoreRequested();-}--EWXWEXPORT(void,wxIdleEvent_CopyObject)(wxIdleEvent* self,wxObject* object_dest)-{-#if wxVERSION_NUMBER < 2400-        self->CopyObject(*object_dest);-#endif-}--EWXWEXPORT(int,wxListEvent_GetCode)(wxListEvent* self)-{-#if wxCHECK_VERSION(2,5,0)-	return self->GetKeyCode();-#else-        return self->GetCode();-#endif-}--EWXWEXPORT(long,wxListEvent_GetIndex)(wxListEvent* self)-{-        return self->GetIndex();-}-EWXWEXPORT(int,wxListEvent_GetColumn)(wxListEvent* self)-{-        return self->GetColumn();-}--EWXWEXPORT(bool,wxListEvent_Cancelled)(wxListEvent* self)-{-#if wxVERSION_NUMBER < 2400-        return self->Cancelled();-#else-        return false;-#endif-}--EWXWEXPORT(wxPoint*,wxListEvent_GetPoint)(wxListEvent* self)-{-	wxPoint* pt = new wxPoint();-	*pt = self->GetPoint();-	return pt;-}--EWXWEXPORT(wxString*,wxListEvent_GetLabel)(wxListEvent* self)-{-        wxString *result = new wxString();-        *result = self->GetLabel();-        return result;-}--EWXWEXPORT(wxString*,wxListEvent_GetText)(wxListEvent* self)-{-        wxString *result = new wxString();-        *result = self->GetText();-        return result;-}--EWXWEXPORT(int,wxListEvent_GetImage)(wxListEvent* self)-{-        return self->GetImage();-}--EWXWEXPORT(long,wxListEvent_GetData)(wxListEvent* self)-{-        return self->GetData();-}--EWXWEXPORT(long,wxListEvent_GetMask)(wxListEvent* self)-{-        return self->GetMask();-}--EWXWEXPORT(void,wxListEvent_GetItem)(wxListEvent* self,void* _ref)-{-#if wxVERSION_NUMBER < 2400-        *((wxListItem*)_ref) = self->GetItem();-#else-        wxListItem* ret = new wxListItem(self->GetItem());-        *((void**)_ref) = (void*)ret;-#endif-}--EWXWEXPORT(void,wxTreeEvent_GetItem)(wxTreeEvent* self,wxTreeItemId* _ref)-{-        *_ref = self->GetItem();-}--EWXWEXPORT(void,wxTreeEvent_GetOldItem)(wxTreeEvent* self,wxTreeItemId* _ref)-{-        *_ref = self->GetOldItem();-}--EWXWEXPORT(wxPoint*,wxTreeEvent_GetPoint)(wxTreeEvent* self)-{-	wxPoint* pt = new wxPoint();-	*pt = self->GetPoint();-	return pt;-}--EWXWEXPORT(int,wxTreeEvent_GetCode)(wxTreeEvent* self)-{-        return self->GetKeyCode();-}--EWXWEXPORT(wxString*,wxTreeEvent_GetLabel)(wxTreeEvent* self)-{-        wxString *result = new wxString();-        *result = self->GetLabel();-        return result;-}--EWXWEXPORT(int,wxSpinEvent_GetPosition)(wxSpinEvent* self)-{-        return self->GetPosition();-}--EWXWEXPORT(void,wxSpinEvent_SetPosition)(wxSpinEvent* self,int pos)-{-        self->SetPosition(pos);-}--EWXWEXPORT(int,wxTimerEvent_GetInterval)(wxTimerEvent* self)-{-        return self->GetInterval();-}--EWXWEXPORT(int,wxCalendarEvent_GetWeekDay)(wxCalendarEvent* self)-{-        return self->GetWeekDay();-}--EWXWEXPORT(void,wxCalendarEvent_GetDate)(wxCalendarEvent* self,wxDateTime* _dte)-{-        *_dte = self->GetDate();-}---EWXWEXPORT(int,wxScrollEvent_GetOrientation)(wxScrollEvent* self)-{-        return self->GetOrientation();-}--EWXWEXPORT(int,wxScrollEvent_GetPosition)(wxScrollEvent* self)-{-        return self->GetPosition();-}--EWXWEXPORT(wxPoint*,wxHelpEvent_GetPosition)(wxHelpEvent* self)-{-	wxPoint* pt = new wxPoint();-	*pt = self->GetPosition();-	return pt;-}--EWXWEXPORT(void,wxHelpEvent_SetPosition)(wxHelpEvent* self,int x,int y)-{-        self->SetPosition(wxPoint(x, y));-}--EWXWEXPORT(wxString*,wxHelpEvent_GetLink)(wxHelpEvent* self)-{-        wxString *result = new wxString();-        *result = self->GetLink();-        return result;-}--EWXWEXPORT(void,wxHelpEvent_SetLink)(wxHelpEvent* self,wxString* link)-{-        self->SetLink(*link);-}--EWXWEXPORT(wxString*,wxHelpEvent_GetTarget)(wxHelpEvent* self)-{-        wxString *result = new wxString();-        *result = self->GetTarget();-        return result;-}--EWXWEXPORT(void,wxHelpEvent_SetTarget)(wxHelpEvent* self,wxString* target)-{-        self->SetTarget(*target);-}--EWXWEXPORT(int,expEVT_COMMAND_BUTTON_CLICKED)()-{-        return (int)wxEVT_COMMAND_BUTTON_CLICKED;-}--EWXWEXPORT(int,expEVT_COMMAND_CHECKBOX_CLICKED)()-{-        return (int)wxEVT_COMMAND_CHECKBOX_CLICKED;-}--EWXWEXPORT(int,expEVT_COMMAND_CHOICE_SELECTED)()-{-        return (int)wxEVT_COMMAND_CHOICE_SELECTED;-}--EWXWEXPORT(int,expEVT_COMMAND_LISTBOX_SELECTED)()-{-        return (int)wxEVT_COMMAND_LISTBOX_SELECTED;-}--EWXWEXPORT(int,expEVT_COMMAND_LISTBOX_DOUBLECLICKED)()-{-        return (int)wxEVT_COMMAND_LISTBOX_DOUBLECLICKED;-}--EWXWEXPORT(int,expEVT_COMMAND_CHECKLISTBOX_TOGGLED)()-{-        return (int)wxEVT_COMMAND_CHECKLISTBOX_TOGGLED;-}--EWXWEXPORT(int,expEVT_COMMAND_TEXT_UPDATED)()-{-        return (int)wxEVT_COMMAND_TEXT_UPDATED;-}--EWXWEXPORT(int,expEVT_COMMAND_TEXT_ENTER)()-{-        return (int)wxEVT_COMMAND_TEXT_ENTER;-}--EWXWEXPORT(int,expEVT_COMMAND_MENU_SELECTED)()-{-        return (int)wxEVT_COMMAND_MENU_SELECTED;-}--EWXWEXPORT(int,expEVT_COMMAND_TOOL_CLICKED)()-{-        return (int)wxEVT_COMMAND_TOOL_CLICKED;-}--EWXWEXPORT(int,expEVT_COMMAND_SLIDER_UPDATED)()-{-        return (int)wxEVT_COMMAND_SLIDER_UPDATED;-}--EWXWEXPORT(int,expEVT_COMMAND_RADIOBOX_SELECTED)()-{-        return (int)wxEVT_COMMAND_RADIOBOX_SELECTED;-}--EWXWEXPORT(int,expEVT_COMMAND_RADIOBUTTON_SELECTED)()-{-        return (int)wxEVT_COMMAND_RADIOBUTTON_SELECTED;-}--EWXWEXPORT(int,expEVT_COMMAND_SCROLLBAR_UPDATED)()-{-        return (int)wxEVT_COMMAND_SCROLLBAR_UPDATED;-}--EWXWEXPORT(int,expEVT_COMMAND_VLBOX_SELECTED)()-{-        return (int)wxEVT_COMMAND_VLBOX_SELECTED;-}--EWXWEXPORT(int,expEVT_COMMAND_COMBOBOX_SELECTED)()-{-        return (int)wxEVT_COMMAND_COMBOBOX_SELECTED;-}--EWXWEXPORT(int,expEVT_COMMAND_TOOL_RCLICKED)()-{-        return (int)wxEVT_COMMAND_TOOL_RCLICKED;-}--EWXWEXPORT(int,expEVT_COMMAND_TOOL_ENTER)()-{-        return (int)wxEVT_COMMAND_TOOL_ENTER;-}--EWXWEXPORT(int,expEVT_COMMAND_SPINCTRL_UPDATED)()-{-        return (int)wxEVT_COMMAND_SPINCTRL_UPDATED;-}--EWXWEXPORT(int,expEVT_SOCKET)()-{-        return (int)wxEVT_SOCKET;-}--EWXWEXPORT(int,expEVT_TIMER )()-{-        return (int)wxEVT_TIMER ;-}--EWXWEXPORT(int,expEVT_LEFT_DOWN)()-{-        return (int)wxEVT_LEFT_DOWN;-}--EWXWEXPORT(int,expEVT_LEFT_UP)()-{-        return (int)wxEVT_LEFT_UP;-}--EWXWEXPORT(int,expEVT_MIDDLE_DOWN)()-{-        return (int)wxEVT_MIDDLE_DOWN;-}--EWXWEXPORT(int,expEVT_MIDDLE_UP)()-{-        return (int)wxEVT_MIDDLE_UP;-}--EWXWEXPORT(int,expEVT_RIGHT_DOWN)()-{-        return (int)wxEVT_RIGHT_DOWN;-}--EWXWEXPORT(int,expEVT_RIGHT_UP)()-{-        return (int)wxEVT_RIGHT_UP;-}--EWXWEXPORT(int,expEVT_MOTION)()-{-        return (int)wxEVT_MOTION;-}--EWXWEXPORT(int,expEVT_ENTER_WINDOW)()-{-        return (int)wxEVT_ENTER_WINDOW;-}--EWXWEXPORT(int,expEVT_LEAVE_WINDOW)()-{-        return (int)wxEVT_LEAVE_WINDOW;-}--EWXWEXPORT(int,expEVT_LEFT_DCLICK)()-{-        return (int)wxEVT_LEFT_DCLICK;-}--EWXWEXPORT(int,expEVT_MIDDLE_DCLICK)()-{-        return (int)wxEVT_MIDDLE_DCLICK;-}--EWXWEXPORT(int,expEVT_RIGHT_DCLICK)()-{-        return (int)wxEVT_RIGHT_DCLICK;-}--EWXWEXPORT(int,expEVT_SET_FOCUS)()-{-        return (int)wxEVT_SET_FOCUS;-}--EWXWEXPORT(int,expEVT_KILL_FOCUS)()-{-        return (int)wxEVT_KILL_FOCUS;-}--EWXWEXPORT(int,expEVT_NC_LEFT_DOWN)()-{-        return (int)wxEVT_NC_LEFT_DOWN;-}--EWXWEXPORT(int,expEVT_NC_LEFT_UP)()-{-        return (int)wxEVT_NC_LEFT_UP;-}--EWXWEXPORT(int,expEVT_NC_MIDDLE_DOWN)()-{-        return (int)wxEVT_NC_MIDDLE_DOWN;-}--EWXWEXPORT(int,expEVT_NC_MIDDLE_UP)()-{-        return (int)wxEVT_NC_MIDDLE_UP;-}--EWXWEXPORT(int,expEVT_NC_RIGHT_DOWN)()-{-        return (int)wxEVT_NC_RIGHT_DOWN;-}--EWXWEXPORT(int,expEVT_NC_RIGHT_UP)()-{-        return (int)wxEVT_NC_RIGHT_UP;-}--EWXWEXPORT(int,expEVT_NC_MOTION)()-{-        return (int)wxEVT_NC_MOTION;-}--EWXWEXPORT(int,expEVT_NC_ENTER_WINDOW)()-{-        return (int)wxEVT_NC_ENTER_WINDOW;-}--EWXWEXPORT(int,expEVT_NC_LEAVE_WINDOW)()-{-        return (int)wxEVT_NC_LEAVE_WINDOW;-}--EWXWEXPORT(int,expEVT_NC_LEFT_DCLICK)()-{-        return (int)wxEVT_NC_LEFT_DCLICK;-}--EWXWEXPORT(int,expEVT_NC_MIDDLE_DCLICK)()-{-        return (int)wxEVT_NC_MIDDLE_DCLICK;-}--EWXWEXPORT(int,expEVT_NC_RIGHT_DCLICK)()-{-        return (int)wxEVT_NC_RIGHT_DCLICK;-}--EWXWEXPORT(int,expEVT_CHAR)()-{-        return (int)wxEVT_CHAR;-}--EWXWEXPORT(int,expEVT_CHAR_HOOK)()-{-        return (int)wxEVT_CHAR_HOOK;-}--EWXWEXPORT(int,expEVT_NAVIGATION_KEY)()-{-        return (int)wxEVT_NAVIGATION_KEY;-}--EWXWEXPORT(int,expEVT_KEY_DOWN)()-{-        return (int)wxEVT_KEY_DOWN;-}--EWXWEXPORT(int,expEVT_KEY_UP)()-{-        return (int)wxEVT_KEY_UP;-}--EWXWEXPORT(int,expEVT_SET_CURSOR)()-{-        return (int)wxEVT_SET_CURSOR;-}--EWXWEXPORT(int,expEVT_SCROLL_TOP)()-{-        return (int)wxEVT_SCROLL_TOP;-}--EWXWEXPORT(int,expEVT_SCROLL_BOTTOM)()-{-        return (int)wxEVT_SCROLL_BOTTOM;-}--EWXWEXPORT(int,expEVT_SCROLL_LINEUP)()-{-        return (int)wxEVT_SCROLL_LINEUP;-}--EWXWEXPORT(int,expEVT_SCROLL_LINEDOWN)()-{-        return (int)wxEVT_SCROLL_LINEDOWN;-}--EWXWEXPORT(int,expEVT_SCROLL_PAGEUP)()-{-        return (int)wxEVT_SCROLL_PAGEUP;-}--EWXWEXPORT(int,expEVT_SCROLL_PAGEDOWN)()-{-        return (int)wxEVT_SCROLL_PAGEDOWN;-}--EWXWEXPORT(int,expEVT_SCROLL_THUMBTRACK)()-{-        return (int)wxEVT_SCROLL_THUMBTRACK;-}--EWXWEXPORT(int,expEVT_SCROLL_THUMBRELEASE)()-{-        return (int)wxEVT_SCROLL_THUMBRELEASE;-}--EWXWEXPORT(int,expEVT_SCROLLWIN_TOP)()-{-        return (int)wxEVT_SCROLLWIN_TOP;-}--EWXWEXPORT(int,expEVT_SCROLLWIN_BOTTOM)()-{-        return (int)wxEVT_SCROLLWIN_BOTTOM;-}--EWXWEXPORT(int,expEVT_SCROLLWIN_LINEUP)()-{-        return (int)wxEVT_SCROLLWIN_LINEUP;-}--EWXWEXPORT(int,expEVT_SCROLLWIN_LINEDOWN)()-{-        return (int)wxEVT_SCROLLWIN_LINEDOWN;-}--EWXWEXPORT(int,expEVT_SCROLLWIN_PAGEUP)()-{-        return (int)wxEVT_SCROLLWIN_PAGEUP;-}--EWXWEXPORT(int,expEVT_SCROLLWIN_PAGEDOWN)()-{-        return (int)wxEVT_SCROLLWIN_PAGEDOWN;-}--EWXWEXPORT(int,expEVT_SCROLLWIN_THUMBTRACK)()-{-        return (int)wxEVT_SCROLLWIN_THUMBTRACK;-}--EWXWEXPORT(int,expEVT_SCROLLWIN_THUMBRELEASE)()-{-        return (int)wxEVT_SCROLLWIN_THUMBRELEASE;-}--EWXWEXPORT(int,expEVT_SIZE)()-{-        return (int)wxEVT_SIZE;-}--EWXWEXPORT(int,expEVT_MOVE)()-{-        return (int)wxEVT_MOVE;-}--EWXWEXPORT(int,expEVT_CLOSE_WINDOW)()-{-        return (int)wxEVT_CLOSE_WINDOW;-}--EWXWEXPORT(int,expEVT_END_SESSION)()-{-        return (int)wxEVT_END_SESSION;-}--EWXWEXPORT(int,expEVT_QUERY_END_SESSION)()-{-        return (int)wxEVT_QUERY_END_SESSION;-}--EWXWEXPORT(int,expEVT_ACTIVATE_APP)()-{-        return (int)wxEVT_ACTIVATE_APP;-}--EWXWEXPORT(int,expEVT_POWER)()-{-#if (wxVERSION_NUMBER <= 2800)-	return (int)wxEVT_POWER;-#else-	return 1;-#endif-}--EWXWEXPORT(int,expEVT_POWER_SUSPENDING)()-{-#ifdef wxHAS_POWER_EVENTS-        return (int)wxEVT_POWER_SUSPENDING;-#else-	return 0;-#endif-}--EWXWEXPORT(int,expEVT_POWER_SUSPENDED)()-{-#ifdef wxHAS_POWER_EVENTS-        return (int)wxEVT_POWER_SUSPENDED;-#else-	return 0;-#endif-}--EWXWEXPORT(int,expEVT_POWER_SUSPEND_CANCEL)()-{-#ifdef wxHAS_POWER_EVENTS-        return (int)wxEVT_POWER_SUSPEND_CANCEL;-#else-	return 0;-#endif-}--EWXWEXPORT(int,expEVT_POWER_RESUME)()-{-#ifdef wxHAS_POWER_EVENTS-        return (int)wxEVT_POWER_RESUME;-#else-	return 0;-#endif-}--EWXWEXPORT(int,expEVT_ACTIVATE)()-{-        return (int)wxEVT_ACTIVATE;-}--EWXWEXPORT(int,expEVT_CREATE)()-{-        return (int)wxEVT_CREATE;-}--EWXWEXPORT(int,expEVT_DESTROY)()-{-        return (int)wxEVT_DESTROY;-}--EWXWEXPORT(int,expEVT_SHOW)()-{-        return (int)wxEVT_SHOW;-}--EWXWEXPORT(int,expEVT_ICONIZE)()-{-        return (int)wxEVT_ICONIZE;-}--EWXWEXPORT(int,expEVT_MAXIMIZE)()-{-        return (int)wxEVT_MAXIMIZE;-}--EWXWEXPORT(int,expEVT_MOUSE_CAPTURE_CHANGED)()-{-        return (int)wxEVT_MOUSE_CAPTURE_CHANGED;-}--EWXWEXPORT(int,expEVT_PAINT)()-{-        return (int)wxEVT_PAINT;-}--EWXWEXPORT(int,expEVT_ERASE_BACKGROUND)()-{-        return (int)wxEVT_ERASE_BACKGROUND;-}--EWXWEXPORT(int,expEVT_NC_PAINT)()-{-        return (int)wxEVT_NC_PAINT;-}--EWXWEXPORT(int,expEVT_PAINT_ICON)()-{-        return (int)wxEVT_PAINT_ICON;-}--EWXWEXPORT(int,expEVT_MENU_CHAR)()-{-        return -1;-}--EWXWEXPORT(int,expEVT_MENU_INIT)()-{-        return -1;-}--EWXWEXPORT(int,expEVT_MENU_HIGHLIGHT)()-{-        return (int)wxEVT_MENU_HIGHLIGHT;-}--EWXWEXPORT(int,expEVT_POPUP_MENU_INIT)()-{-        return -1;-}--EWXWEXPORT(int,expEVT_CONTEXT_MENU)()-{-        return (int)wxEVT_CONTEXT_MENU;-}--EWXWEXPORT(int,expEVT_SYS_COLOUR_CHANGED)()-{-        return (int)wxEVT_SYS_COLOUR_CHANGED;-}--EWXWEXPORT(int,expEVT_SETTING_CHANGED)()-{-        return (int)wxEVT_SETTING_CHANGED;-}--EWXWEXPORT(int,expEVT_QUERY_NEW_PALETTE)()-{-        return (int)wxEVT_QUERY_NEW_PALETTE;-}--EWXWEXPORT(int,expEVT_PALETTE_CHANGED)()-{-        return (int)wxEVT_PALETTE_CHANGED;-}--EWXWEXPORT(int,expEVT_JOY_BUTTON_DOWN)()-{-        return (int)wxEVT_JOY_BUTTON_DOWN;-}--EWXWEXPORT(int,expEVT_JOY_BUTTON_UP)()-{-        return (int)wxEVT_JOY_BUTTON_UP;-}--EWXWEXPORT(int,expEVT_JOY_MOVE)()-{-        return (int)wxEVT_JOY_MOVE;-}--EWXWEXPORT(int,expEVT_JOY_ZMOVE)()-{-        return (int)wxEVT_JOY_ZMOVE;-}--EWXWEXPORT(int,expEVT_DROP_FILES)()-{-        return (int)wxEVT_DROP_FILES;-}--EWXWEXPORT(int,expEVT_DRAW_ITEM)()-{-        return (int)wxEVT_DRAW_ITEM;-}--EWXWEXPORT(int,expEVT_MEASURE_ITEM)()-{-        return (int)wxEVT_MEASURE_ITEM;-}--EWXWEXPORT(int,expEVT_COMPARE_ITEM)()-{-        return (int)wxEVT_COMPARE_ITEM;-}--EWXWEXPORT(int,expEVT_INIT_DIALOG)()-{-        return (int)wxEVT_INIT_DIALOG;-}--EWXWEXPORT(int,expEVT_IDLE)()-{-        return (int)wxEVT_IDLE;-}--EWXWEXPORT(int,expEVT_UPDATE_UI)()-{-        return (int)wxEVT_UPDATE_UI;-}--EWXWEXPORT(int,expEVT_END_PROCESS)()-{-        return (int)wxEVT_END_PROCESS;-}--EWXWEXPORT(int,expEVT_DIALUP_CONNECTED)()-{-#if defined(__WXMAC__)-    return -1;-#else-        return (int)wxEVT_DIALUP_CONNECTED;-#endif-}--EWXWEXPORT(int,expEVT_DIALUP_DISCONNECTED)()-{-#if defined(__WXMAC__)-    return -1;-#else-        return (int)wxEVT_DIALUP_DISCONNECTED;-#endif-}--EWXWEXPORT(int,expEVT_COMMAND_LEFT_CLICK)()-{-        return (int)wxEVT_COMMAND_LEFT_CLICK;-}--EWXWEXPORT(int,expEVT_COMMAND_LEFT_DCLICK)()-{-        return (int)wxEVT_COMMAND_LEFT_DCLICK;-}--EWXWEXPORT(int,expEVT_COMMAND_RIGHT_CLICK)()-{-        return (int)wxEVT_COMMAND_RIGHT_CLICK;-}--EWXWEXPORT(int,expEVT_COMMAND_RIGHT_DCLICK)()-{-        return (int)wxEVT_COMMAND_RIGHT_DCLICK;-}--EWXWEXPORT(int,expEVT_COMMAND_SET_FOCUS)()-{-        return (int)wxEVT_COMMAND_SET_FOCUS;-}--EWXWEXPORT(int,expEVT_COMMAND_KILL_FOCUS)()-{-        return (int)wxEVT_COMMAND_KILL_FOCUS;-}--EWXWEXPORT(int,expEVT_COMMAND_ENTER)()-{-        return (int)wxEVT_COMMAND_ENTER;-}--EWXWEXPORT(int,expEVT_COMMAND_TREE_BEGIN_DRAG)()-{-        return (int)wxEVT_COMMAND_TREE_BEGIN_DRAG;-}--EWXWEXPORT(int,expEVT_COMMAND_TREE_BEGIN_RDRAG)()-{-        return (int)wxEVT_COMMAND_TREE_BEGIN_RDRAG;-}--EWXWEXPORT(int,expEVT_COMMAND_TREE_BEGIN_LABEL_EDIT)()-{-        return (int)wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT;-}--EWXWEXPORT(int,expEVT_COMMAND_TREE_END_LABEL_EDIT)()-{-        return (int)wxEVT_COMMAND_TREE_END_LABEL_EDIT;-}--EWXWEXPORT(int,expEVT_COMMAND_TREE_DELETE_ITEM)()-{-        return (int)wxEVT_COMMAND_TREE_DELETE_ITEM;-}--EWXWEXPORT(int,expEVT_COMMAND_TREE_GET_INFO)()-{-        return (int)wxEVT_COMMAND_TREE_GET_INFO;-}--EWXWEXPORT(int,expEVT_COMMAND_TREE_SET_INFO)()-{-        return (int)wxEVT_COMMAND_TREE_SET_INFO;-}--EWXWEXPORT(int,expEVT_COMMAND_TREE_ITEM_EXPANDED)()-{-        return (int)wxEVT_COMMAND_TREE_ITEM_EXPANDED;-}--EWXWEXPORT(int,expEVT_COMMAND_TREE_ITEM_EXPANDING)()-{-        return (int)wxEVT_COMMAND_TREE_ITEM_EXPANDING;-}--EWXWEXPORT(int,expEVT_COMMAND_TREE_ITEM_COLLAPSED)()-{-        return (int)wxEVT_COMMAND_TREE_ITEM_COLLAPSED;-}--EWXWEXPORT(int,expEVT_COMMAND_TREE_ITEM_COLLAPSING)()-{-        return (int)wxEVT_COMMAND_TREE_ITEM_COLLAPSING;-}--EWXWEXPORT(int,expEVT_COMMAND_TREE_SEL_CHANGED)()-{-        return (int)wxEVT_COMMAND_TREE_SEL_CHANGED;-}--EWXWEXPORT(int,expEVT_COMMAND_TREE_SEL_CHANGING)()-{-        return (int)wxEVT_COMMAND_TREE_SEL_CHANGING;-}--EWXWEXPORT(int,expEVT_COMMAND_TREE_KEY_DOWN)()-{-        return (int)wxEVT_COMMAND_TREE_KEY_DOWN;-}--EWXWEXPORT(int,expEVT_COMMAND_TREE_ITEM_ACTIVATED)()-{-        return (int)wxEVT_COMMAND_TREE_ITEM_ACTIVATED;-}--EWXWEXPORT(int,expEVT_COMMAND_TREE_ITEM_RIGHT_CLICK)()-{-        return (int)wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK;-}--EWXWEXPORT(int,expEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK)()-{-        return (int)wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK;-}--EWXWEXPORT(int,expEVT_COMMAND_TREE_END_DRAG)()-{-        return (int)wxEVT_COMMAND_TREE_END_DRAG;-}--EWXWEXPORT(int,expEVT_COMMAND_LIST_BEGIN_DRAG)()-{-        return (int)wxEVT_COMMAND_LIST_BEGIN_DRAG;-}--EWXWEXPORT(int,expEVT_COMMAND_LIST_BEGIN_RDRAG)()-{-        return (int)wxEVT_COMMAND_LIST_BEGIN_RDRAG;-}--EWXWEXPORT(int,expEVT_COMMAND_LIST_BEGIN_LABEL_EDIT)()-{-        return (int)wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT;-}--EWXWEXPORT(int,expEVT_COMMAND_LIST_END_LABEL_EDIT)()-{-        return (int)wxEVT_COMMAND_LIST_END_LABEL_EDIT;-}--EWXWEXPORT(int,expEVT_COMMAND_LIST_DELETE_ITEM)()-{-        return (int)wxEVT_COMMAND_LIST_DELETE_ITEM;-}--EWXWEXPORT(int,expEVT_COMMAND_LIST_DELETE_ALL_ITEMS)()-{-        return (int)wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS;-}--EWXWEXPORT(int,expEVT_COMMAND_LIST_ITEM_SELECTED)()-{-        return (int)wxEVT_COMMAND_LIST_ITEM_SELECTED;-}--EWXWEXPORT(int,expEVT_COMMAND_LIST_ITEM_DESELECTED)()-{-        return (int)wxEVT_COMMAND_LIST_ITEM_DESELECTED;-}--EWXWEXPORT(int,expEVT_COMMAND_LIST_KEY_DOWN)()-{-        return (int)wxEVT_COMMAND_LIST_KEY_DOWN;-}--EWXWEXPORT(int,expEVT_COMMAND_LIST_INSERT_ITEM)()-{-        return (int)wxEVT_COMMAND_LIST_INSERT_ITEM;-}--EWXWEXPORT(int,expEVT_COMMAND_LIST_COL_CLICK)()-{-        return (int)wxEVT_COMMAND_LIST_COL_CLICK;-}--EWXWEXPORT(int,expEVT_COMMAND_LIST_ITEM_RIGHT_CLICK)()-{-        return (int)wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK;-}--EWXWEXPORT(int,expEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK)()-{-        return (int)wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK;-}--EWXWEXPORT(int,expEVT_COMMAND_LIST_ITEM_ACTIVATED)()-{-        return (int)wxEVT_COMMAND_LIST_ITEM_ACTIVATED;-}--EWXWEXPORT(int,expEVT_COMMAND_LIST_ITEM_FOCUSED)()-{-        return (int)wxEVT_COMMAND_LIST_ITEM_FOCUSED;-}--EWXWEXPORT(int,expEVT_COMMAND_TAB_SEL_CHANGED)()-{-#if ((wxVERSION_NUMBER > 2800) && !defined(wxUSE_TAB_DIALOG)) || defined(__WXGTK__) || defined(__WXMAC__)-        return -1;-#else-        return (int)wxEVT_COMMAND_TAB_SEL_CHANGED;-#endif-}--EWXWEXPORT(int,expEVT_COMMAND_TAB_SEL_CHANGING)()-{-#if ((wxVERSION_NUMBER > 2800) && !defined(wxUSE_TAB_DIALOG)) || defined(__WXGTK__) || defined(__WXMAC__)-        return -1;-#else-        return (int)wxEVT_COMMAND_TAB_SEL_CHANGING;-#endif-}--EWXWEXPORT(int,expEVT_COMMAND_NOTEBOOK_PAGE_CHANGED)()-{-        return (int)wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED;-}--EWXWEXPORT(int,expEVT_COMMAND_NOTEBOOK_PAGE_CHANGING)()-{-        return (int)wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING;-}--EWXWEXPORT(int,expEVT_COMMAND_SPLITTER_SASH_POS_CHANGED)()-{-        return (int)wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED;-}--EWXWEXPORT(int,expEVT_COMMAND_SPLITTER_SASH_POS_CHANGING)()-{-        return (int)wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING;-}--EWXWEXPORT(int,expEVT_COMMAND_SPLITTER_DOUBLECLICKED)()-{-        return (int)wxEVT_COMMAND_SPLITTER_DOUBLECLICKED;-}--EWXWEXPORT(int,expEVT_COMMAND_SPLITTER_UNSPLIT)()-{-        return (int)wxEVT_COMMAND_SPLITTER_UNSPLIT;-}--EWXWEXPORT(int,expEVT_WIZARD_PAGE_CHANGED)()-{-        return (int)wxEVT_WIZARD_PAGE_CHANGED;-}--EWXWEXPORT(int,expEVT_WIZARD_PAGE_CHANGING)()-{-        return (int)wxEVT_WIZARD_PAGE_CHANGING;-}--EWXWEXPORT(int,expEVT_WIZARD_CANCEL)()-{-        return (int)wxEVT_WIZARD_CANCEL;-}--EWXWEXPORT(int,expEVT_CALENDAR_SEL_CHANGED)()-{-        return (int)wxEVT_CALENDAR_SEL_CHANGED;-}--EWXWEXPORT(int,expEVT_CALENDAR_DAY_CHANGED)()-{-        return (int)wxEVT_CALENDAR_DAY_CHANGED;-}--EWXWEXPORT(int,expEVT_CALENDAR_MONTH_CHANGED)()-{-        return (int)wxEVT_CALENDAR_MONTH_CHANGED;-}--EWXWEXPORT(int,expEVT_CALENDAR_YEAR_CHANGED)()-{-        return (int)wxEVT_CALENDAR_YEAR_CHANGED;-}--EWXWEXPORT(int,expEVT_CALENDAR_DOUBLECLICKED)()-{-        return (int)wxEVT_CALENDAR_DOUBLECLICKED;-}--EWXWEXPORT(int,expEVT_CALENDAR_WEEKDAY_CLICKED)()-{-        return (int)wxEVT_CALENDAR_WEEKDAY_CLICKED;-}---#ifdef USE_CONTRIB-EWXWEXPORT(int,expEVT_PLOT_SEL_CHANGING)()-{-        return (int)wxEVT_PLOT_SEL_CHANGING;-}--EWXWEXPORT(int,expEVT_PLOT_SEL_CHANGED)()-{-        return (int)wxEVT_PLOT_SEL_CHANGED;-}--EWXWEXPORT(int,expEVT_PLOT_CLICKED)()-{-        return (int)wxEVT_PLOT_CLICKED;-}--EWXWEXPORT(int,expEVT_PLOT_DOUBLECLICKED)()-{-        return (int)wxEVT_PLOT_DOUBLECLICKED;-}--EWXWEXPORT(int,expEVT_PLOT_ZOOM_IN)()-{-        return (int)wxEVT_PLOT_ZOOM_IN;-}--EWXWEXPORT(int,expEVT_PLOT_ZOOM_OUT)()-{-        return (int)wxEVT_PLOT_ZOOM_OUT;-}--EWXWEXPORT(int,expEVT_PLOT_VALUE_SEL_CREATING)()-{-        return (int)wxEVT_PLOT_VALUE_SEL_CREATING;-}--EWXWEXPORT(int,expEVT_PLOT_VALUE_SEL_CREATED)()-{-        return (int)wxEVT_PLOT_VALUE_SEL_CREATED;-}--EWXWEXPORT(int,expEVT_PLOT_VALUE_SEL_CHANGING)()-{-        return (int)wxEVT_PLOT_VALUE_SEL_CHANGING;-}--EWXWEXPORT(int,expEVT_PLOT_VALUE_SEL_CHANGED)()-{-        return (int)wxEVT_PLOT_VALUE_SEL_CHANGED;-}--EWXWEXPORT(int,expEVT_PLOT_AREA_SEL_CREATING)()-{-        return (int)wxEVT_PLOT_AREA_SEL_CREATING;-}--EWXWEXPORT(int,expEVT_PLOT_AREA_SEL_CREATED)()-{-        return (int)wxEVT_PLOT_AREA_SEL_CREATED;-}--EWXWEXPORT(int,expEVT_PLOT_AREA_SEL_CHANGING)()-{-        return (int)wxEVT_PLOT_AREA_SEL_CHANGING;-}--EWXWEXPORT(int,expEVT_PLOT_AREA_SEL_CHANGED)()-{-        return (int)wxEVT_PLOT_AREA_SEL_CHANGED;-}--EWXWEXPORT(int,expEVT_PLOT_BEGIN_X_LABEL_EDIT)()-{-        return (int)wxEVT_PLOT_BEGIN_X_LABEL_EDIT;-}--EWXWEXPORT(int,expEVT_PLOT_END_X_LABEL_EDIT)()-{-        return (int)wxEVT_PLOT_END_X_LABEL_EDIT;-}--EWXWEXPORT(int,expEVT_PLOT_BEGIN_Y_LABEL_EDIT)()-{-        return (int)wxEVT_PLOT_BEGIN_Y_LABEL_EDIT;-}--EWXWEXPORT(int,expEVT_PLOT_END_Y_LABEL_EDIT)()-{-        return (int)wxEVT_PLOT_END_Y_LABEL_EDIT;-}--EWXWEXPORT(int,expEVT_PLOT_BEGIN_TITLE_EDIT)()-{-        return (int)wxEVT_PLOT_BEGIN_TITLE_EDIT;-}--EWXWEXPORT(int,expEVT_PLOT_END_TITLE_EDIT)()-{-        return (int)wxEVT_PLOT_END_TITLE_EDIT;-}--EWXWEXPORT(int,expEVT_PLOT_AREA_CREATE)()-{-        return (int)wxEVT_PLOT_AREA_CREATE;-}--EWXWEXPORT(int,expEVT_USER_FIRST)()-{-        return (int)wxEVT_USER_FIRST;-}--EWXWEXPORT(int,expEVT_DYNAMIC_SASH_SPLIT)()-{-        return (int)wxEVT_DYNAMIC_SASH_SPLIT;-}--EWXWEXPORT(int,expEVT_DYNAMIC_SASH_UNIFY)()-{-        return (int)wxEVT_DYNAMIC_SASH_UNIFY;-}-#endif /* USE_CONTRIB */--EWXWEXPORT(int,expEVT_HELP)()-{-        return (int)wxEVT_HELP;-}--EWXWEXPORT(int,expEVT_DETAILED_HELP)()-{-        return (int)wxEVT_DETAILED_HELP;-}---EWXWEXPORT(int,expEVT_GRID_CELL_LEFT_CLICK)()-{-        return (int)wxEVT_GRID_CELL_LEFT_CLICK;-}--EWXWEXPORT(int,expEVT_GRID_CELL_RIGHT_CLICK)()-{-        return (int)wxEVT_GRID_CELL_RIGHT_CLICK;-}--EWXWEXPORT(int,expEVT_GRID_CELL_LEFT_DCLICK)()-{-        return (int)wxEVT_GRID_CELL_LEFT_DCLICK;-}--EWXWEXPORT(int,expEVT_GRID_CELL_RIGHT_DCLICK)()-{-        return (int)wxEVT_GRID_CELL_RIGHT_DCLICK;-}--EWXWEXPORT(int,expEVT_GRID_LABEL_LEFT_CLICK)()-{-        return (int)wxEVT_GRID_LABEL_LEFT_CLICK;-}--EWXWEXPORT(int,expEVT_GRID_LABEL_RIGHT_CLICK)()-{-        return (int)wxEVT_GRID_LABEL_RIGHT_CLICK;-}--EWXWEXPORT(int,expEVT_GRID_LABEL_LEFT_DCLICK)()-{-        return (int)wxEVT_GRID_LABEL_LEFT_DCLICK;-}--EWXWEXPORT(int,expEVT_GRID_LABEL_RIGHT_DCLICK)()-{-        return (int)wxEVT_GRID_LABEL_RIGHT_DCLICK;-}--EWXWEXPORT(int,expEVT_GRID_ROW_SIZE)()-{-        return (int)wxEVT_GRID_ROW_SIZE;-}--EWXWEXPORT(int,expEVT_GRID_COL_SIZE)()-{-        return (int)wxEVT_GRID_COL_SIZE;-}--EWXWEXPORT(int,expEVT_GRID_RANGE_SELECT)()-{-        return (int)wxEVT_GRID_RANGE_SELECT;-}--EWXWEXPORT(int,expEVT_GRID_CELL_CHANGE)()-{-        return (int)wxEVT_GRID_CELL_CHANGE;-}--EWXWEXPORT(int,expEVT_GRID_SELECT_CELL)()-{-        return (int)wxEVT_GRID_SELECT_CELL;-}--EWXWEXPORT(int,expEVT_GRID_EDITOR_SHOWN)()-{-        return (int)wxEVT_GRID_EDITOR_SHOWN;-}--EWXWEXPORT(int,expEVT_GRID_EDITOR_HIDDEN)()-{-        return (int)wxEVT_GRID_EDITOR_HIDDEN;-}--EWXWEXPORT(int,expEVT_GRID_EDITOR_CREATED)()-{-        return (int)wxEVT_GRID_EDITOR_CREATED;-}--EWXWEXPORT(int,expK_BACK)()-{-        return (int)WXK_BACK;-}--EWXWEXPORT(int,expK_TAB)()-{-        return (int)WXK_TAB;-}--EWXWEXPORT(int,expK_RETURN)()-{-        return (int)WXK_RETURN;-}--EWXWEXPORT(int,expK_ESCAPE)()-{-        return (int)WXK_ESCAPE;-}--EWXWEXPORT(int,expK_SPACE)()-{-        return (int)WXK_SPACE;-}--EWXWEXPORT(int,expK_DELETE)()-{-        return (int)WXK_DELETE;-}--EWXWEXPORT(int,expK_START)()-{-        return (int)WXK_START;-}--EWXWEXPORT(int,expK_LBUTTON)()-{-        return (int)WXK_LBUTTON;-}--EWXWEXPORT(int,expK_RBUTTON)()-{-        return (int)WXK_RBUTTON;-}--EWXWEXPORT(int,expK_CANCEL)()-{-        return (int)WXK_CANCEL;-}--EWXWEXPORT(int,expK_MBUTTON)()-{-        return (int)WXK_MBUTTON;-}--EWXWEXPORT(int,expK_CLEAR)()-{-        return (int)WXK_CLEAR;-}--EWXWEXPORT(int,expK_SHIFT)()-{-        return (int)WXK_SHIFT;-}--EWXWEXPORT(int,expK_ALT)()-{-        return (int)WXK_ALT;-}--EWXWEXPORT(int,expK_CONTROL)()-{-        return (int)WXK_CONTROL;-}--EWXWEXPORT(int,expK_MENU)()-{-        return (int)WXK_MENU;-}--EWXWEXPORT(int,expK_PAUSE)()-{-        return (int)WXK_PAUSE;-}--EWXWEXPORT(int,expK_CAPITAL)()-{-        return (int)WXK_CAPITAL;-}--EWXWEXPORT(int,expK_END)()-{-        return (int)WXK_END;-}--EWXWEXPORT(int,expK_HOME)()-{-        return (int)WXK_HOME;-}--EWXWEXPORT(int,expK_LEFT)()-{-        return (int)WXK_LEFT;-}--EWXWEXPORT(int,expK_UP)()-{-        return (int)WXK_UP;-}--EWXWEXPORT(int,expK_RIGHT)()-{-        return (int)WXK_RIGHT;-}--EWXWEXPORT(int,expK_DOWN)()-{-        return (int)WXK_DOWN;-}--EWXWEXPORT(int,expK_SELECT)()-{-        return (int)WXK_SELECT;-}--EWXWEXPORT(int,expK_PRINT)()-{-        return (int)WXK_PRINT;-}--EWXWEXPORT(int,expK_EXECUTE)()-{-        return (int)WXK_EXECUTE;-}--EWXWEXPORT(int,expK_SNAPSHOT)()-{-        return (int)WXK_SNAPSHOT;-}--EWXWEXPORT(int,expK_INSERT)()-{-        return (int)WXK_INSERT;-}--EWXWEXPORT(int,expK_HELP)()-{-        return (int)WXK_HELP;-}--EWXWEXPORT(int,expK_NUMPAD0)()-{-        return (int)WXK_NUMPAD0;-}--EWXWEXPORT(int,expK_NUMPAD1)()-{-        return (int)WXK_NUMPAD1;-}--EWXWEXPORT(int,expK_NUMPAD2)()-{-        return (int)WXK_NUMPAD2;-}--EWXWEXPORT(int,expK_NUMPAD3)()-{-        return (int)WXK_NUMPAD3;-}--EWXWEXPORT(int,expK_NUMPAD4)()-{-        return (int)WXK_NUMPAD4;-}--EWXWEXPORT(int,expK_NUMPAD5)()-{-        return (int)WXK_NUMPAD5;-}--EWXWEXPORT(int,expK_NUMPAD6)()-{-        return (int)WXK_NUMPAD6;-}--EWXWEXPORT(int,expK_NUMPAD7)()-{-        return (int)WXK_NUMPAD7;-}--EWXWEXPORT(int,expK_NUMPAD8)()-{-        return (int)WXK_NUMPAD8;-}--EWXWEXPORT(int,expK_NUMPAD9)()-{-        return (int)WXK_NUMPAD9;-}--EWXWEXPORT(int,expK_MULTIPLY)()-{-        return (int)WXK_MULTIPLY;-}--EWXWEXPORT(int,expK_ADD)()-{-        return (int)WXK_ADD;-}--EWXWEXPORT(int,expK_SEPARATOR)()-{-        return (int)WXK_SEPARATOR;-}--EWXWEXPORT(int,expK_SUBTRACT)()-{-        return (int)WXK_SUBTRACT;-}--EWXWEXPORT(int,expK_DECIMAL)()-{-        return (int)WXK_DECIMAL;-}--EWXWEXPORT(int,expK_DIVIDE)()-{-        return (int)WXK_DIVIDE;-}--EWXWEXPORT(int,expK_F1)()-{-        return (int)WXK_F1;-}--EWXWEXPORT(int,expK_F2)()-{-        return (int)WXK_F2;-}--EWXWEXPORT(int,expK_F3)()-{-        return (int)WXK_F3;-}--EWXWEXPORT(int,expK_F4)()-{-        return (int)WXK_F4;-}--EWXWEXPORT(int,expK_F5)()-{-        return (int)WXK_F5;-}--EWXWEXPORT(int,expK_F6)()-{-        return (int)WXK_F6;-}--EWXWEXPORT(int,expK_F7)()-{-        return (int)WXK_F7;-}--EWXWEXPORT(int,expK_F8)()-{-        return (int)WXK_F8;-}--EWXWEXPORT(int,expK_F9)()-{-        return (int)WXK_F9;-}--EWXWEXPORT(int,expK_F10)()-{-        return (int)WXK_F10;-}--EWXWEXPORT(int,expK_F11)()-{-        return (int)WXK_F11;-}--EWXWEXPORT(int,expK_F12)()-{-        return (int)WXK_F12;-}--EWXWEXPORT(int,expK_F13)()-{-        return (int)WXK_F13;-}--EWXWEXPORT(int,expK_F14)()-{-        return (int)WXK_F14;-}--EWXWEXPORT(int,expK_F15)()-{-        return (int)WXK_F15;-}--EWXWEXPORT(int,expK_F16)()-{-        return (int)WXK_F16;-}--EWXWEXPORT(int,expK_F17)()-{-        return (int)WXK_F17;-}--EWXWEXPORT(int,expK_F18)()-{-        return (int)WXK_F18;-}--EWXWEXPORT(int,expK_F19)()-{-        return (int)WXK_F19;-}--EWXWEXPORT(int,expK_F20)()-{-        return (int)WXK_F20;-}--EWXWEXPORT(int,expK_F21)()-{-        return (int)WXK_F21;-}--EWXWEXPORT(int,expK_F22)()-{-        return (int)WXK_F22;-}--EWXWEXPORT(int,expK_F23)()-{-        return (int)WXK_F23;-}--EWXWEXPORT(int,expK_F24)()-{-        return (int)WXK_F24;-}--EWXWEXPORT(int,expK_NUMLOCK)()-{-        return (int)WXK_NUMLOCK;-}--EWXWEXPORT(int,expK_SCROLL)()-{-        return (int)WXK_SCROLL;-}--EWXWEXPORT(int,expK_PAGEUP)()-{-        return (int)WXK_PAGEUP;-}--EWXWEXPORT(int,expK_PAGEDOWN)()-{-        return (int)WXK_PAGEDOWN;-}--EWXWEXPORT(int,expK_NUMPAD_SPACE)()-{-        return (int)WXK_NUMPAD_SPACE;-}--EWXWEXPORT(int,expK_NUMPAD_TAB)()-{-        return (int)WXK_NUMPAD_TAB;-}--EWXWEXPORT(int,expK_NUMPAD_ENTER)()-{-        return (int)WXK_NUMPAD_ENTER;-}--EWXWEXPORT(int,expK_NUMPAD_F1)()-{-        return (int)WXK_NUMPAD_F1;-}--EWXWEXPORT(int,expK_NUMPAD_F2)()-{-        return (int)WXK_NUMPAD_F2;-}--EWXWEXPORT(int,expK_NUMPAD_F3)()-{-        return (int)WXK_NUMPAD_F3;-}--EWXWEXPORT(int,expK_NUMPAD_F4)()-{-        return (int)WXK_NUMPAD_F4;-}--EWXWEXPORT(int,expK_NUMPAD_HOME)()-{-        return (int)WXK_NUMPAD_HOME;-}--EWXWEXPORT(int,expK_NUMPAD_LEFT)()-{-        return (int)WXK_NUMPAD_LEFT;-}--EWXWEXPORT(int,expK_NUMPAD_UP)()-{-        return (int)WXK_NUMPAD_UP;-}--EWXWEXPORT(int,expK_NUMPAD_RIGHT)()-{-        return (int)WXK_NUMPAD_RIGHT;-}--EWXWEXPORT(int,expK_NUMPAD_DOWN)()-{-        return (int)WXK_NUMPAD_DOWN;-}--EWXWEXPORT(int,expK_NUMPAD_PAGEUP)()-{-        return (int)WXK_NUMPAD_PAGEUP;-}--EWXWEXPORT(int,expK_NUMPAD_PAGEDOWN)()-{-        return (int)WXK_NUMPAD_PAGEDOWN;-}--EWXWEXPORT(int,expK_NUMPAD_END)()-{-        return (int)WXK_NUMPAD_END;-}--EWXWEXPORT(int,expK_NUMPAD_BEGIN)()-{-        return (int)WXK_NUMPAD_BEGIN;-}--EWXWEXPORT(int,expK_NUMPAD_INSERT)()-{-        return (int)WXK_NUMPAD_INSERT;-}--EWXWEXPORT(int,expK_NUMPAD_DELETE)()-{-        return (int)WXK_NUMPAD_DELETE;-}--EWXWEXPORT(int,expK_NUMPAD_EQUAL)()-{-        return (int)WXK_NUMPAD_EQUAL;-}--EWXWEXPORT(int,expK_NUMPAD_MULTIPLY)()-{-        return (int)WXK_NUMPAD_MULTIPLY;-}--EWXWEXPORT(int,expK_NUMPAD_ADD)()-{-        return (int)WXK_NUMPAD_ADD;-}--EWXWEXPORT(int,expK_NUMPAD_SEPARATOR)()-{-        return (int)WXK_NUMPAD_SEPARATOR;-}--EWXWEXPORT(int,expK_NUMPAD_SUBTRACT)()-{-        return (int)WXK_NUMPAD_SUBTRACT;-}--EWXWEXPORT(int,expK_NUMPAD_DECIMAL)()-{-        return (int)WXK_NUMPAD_DECIMAL;-}--EWXWEXPORT(int,expK_NUMPAD_DIVIDE)()-{-        return (int)WXK_NUMPAD_DIVIDE;-}--EWXWEXPORT(int,expK_WINDOWS_LEFT)()-{-        return (int)WXK_WINDOWS_LEFT;-}--EWXWEXPORT(int,expK_WINDOWS_RIGHT)()-{-        return (int)WXK_WINDOWS_RIGHT;-}--EWXWEXPORT(int,expK_WINDOWS_MENU)()-{-        return (int)WXK_WINDOWS_MENU;-}--EWXWEXPORT(int,expK_COMMAND)()-{-        return (int)WXK_COMMAND;-}--EWXWEXPORT(int,expK_SPECIAL1)()-{-        return (int)WXK_SPECIAL1;-}--EWXWEXPORT(int,expK_SPECIAL2)()-{-        return (int)WXK_SPECIAL2;-}--EWXWEXPORT(int,expK_SPECIAL3)()-{-        return (int)WXK_SPECIAL3;-}--EWXWEXPORT(int,expK_SPECIAL4)()-{-        return (int)WXK_SPECIAL4;-}--EWXWEXPORT(int,expK_WXK_SPECIAL5)()-{-        return (int)WXK_SPECIAL5;-}--EWXWEXPORT(int,expK_SPECIAL6)()-{-        return (int)WXK_SPECIAL6;-}--EWXWEXPORT(int,expK_SPECIAL7)()-{-        return (int)WXK_SPECIAL7;-}--EWXWEXPORT(int,expK_SPECIAL8)()-{-        return (int)WXK_SPECIAL8;-}--EWXWEXPORT(int,expK_SPECIAL9)()-{-        return (int)WXK_SPECIAL9;-}--EWXWEXPORT(int,expK_SPECIAL10)()-{-        return (int)WXK_SPECIAL10;-}--EWXWEXPORT(int,expK_SPECIAL11)()-{-        return (int)WXK_SPECIAL11;-}--EWXWEXPORT(int,expK_SPECIAL12)()-{-        return (int)WXK_SPECIAL12;-}--EWXWEXPORT(int,expK_SPECIAL13)()-{-        return (int)WXK_SPECIAL13;-}--EWXWEXPORT(int,expK_SPECIAL14)()-{-        return (int)WXK_SPECIAL14;-}--EWXWEXPORT(int,expK_SPECIAL15)()-{-        return (int)WXK_SPECIAL15;-}--EWXWEXPORT(int,expK_SPECIAL16)()-{-        return (int)WXK_SPECIAL16;-}--EWXWEXPORT(int,expK_SPECIAL17)()-{-        return (int)WXK_SPECIAL17;-}--EWXWEXPORT(int,expK_SPECIAL18)()-{-        return (int)WXK_SPECIAL18;-}--EWXWEXPORT(int,expK_SPECIAL19)()-{-        return (int)WXK_SPECIAL19;-}--EWXWEXPORT(int,expK_SPECIAL20)()-{-        return (int)WXK_SPECIAL20;-}--}
− src/cpp/eljfiledialog.cpp
@@ -1,121 +0,0 @@-#include "wrapper.h"
-
-extern "C"
-{
-
-EWXWEXPORT(void*, wxFileDialog_Create) (wxWindow* _prt,wxString* _msg,wxString* _dir,wxString* _fle,wxString* _wcd, int _lft, int _top, int _stl)
-{
-	return (void*) new wxFileDialog (_prt,*_msg,*_dir,*_fle,*_wcd, _stl, wxPoint(_lft, _top));
-}
-
-EWXWEXPORT(void,wxFileDialog_SetMessage)(void* _obj,wxString* message)
-{
-	((wxFileDialog*)_obj)->SetMessage(*message);
-}
-	
-EWXWEXPORT(void,wxFileDialog_SetPath)(void* _obj,wxString* path)
-{
-	((wxFileDialog*)_obj)->SetPath(*path);
-}
-	
-EWXWEXPORT(void,wxFileDialog_SetDirectory)(void* _obj,wxString* dir)
-{
-	((wxFileDialog*)_obj)->SetDirectory(*dir);
-}
-	
-EWXWEXPORT(void,wxFileDialog_SetFilename)(void* _obj,wxString* name)
-{
-	((wxFileDialog*)_obj)->SetFilename(*name);
-}
-	
-EWXWEXPORT(void,wxFileDialog_SetWildcard)(void* _obj,wxString* wildCard)
-{
-	((wxFileDialog*)_obj)->SetWildcard(*wildCard);
-}
-	
-EWXWEXPORT(void,wxFileDialog_SetStyle)(void* _obj,int style)
-{
-#if WXWIN_COMPATIBILITY_2_6
-	((wxFileDialog*)_obj)->SetStyle((long)style);
-#endif
-}
-	
-EWXWEXPORT(void,wxFileDialog_SetFilterIndex)(void* _obj,int filterIndex)
-{
-	((wxFileDialog*)_obj)->SetFilterIndex(filterIndex);
-}
-	
-EWXWEXPORT(wxString*,wxFileDialog_GetMessage)(void* _obj)
-{
-	wxString *result = new wxString();
-	*result = ((wxFileDialog*)_obj)->GetMessage();
-	return result;
-}
-	
-EWXWEXPORT(wxString*,wxFileDialog_GetPath)(void* _obj)
-{
-	wxString *result = new wxString();
-	*result = ((wxFileDialog*)_obj)->GetPath();
-	return result;
-}
-	
-EWXWEXPORT(int,wxFileDialog_GetPaths)(void* _obj,void* paths)
-{
-	wxArrayString arr;
-	((wxFileDialog*)_obj)->GetPaths(arr);
-	if (paths)
-	{
-		for (unsigned int i = 0; i < arr.GetCount(); i++)
-			((const wxChar**)paths)[i] = wxStrdup (arr.Item(i).c_str());
-	}
-	return arr.GetCount();
-}
-	
-EWXWEXPORT(wxString*,wxFileDialog_GetDirectory)(void* _obj)
-{
-	wxString *result = new wxString();
-	*result = ((wxFileDialog*)_obj)->GetDirectory();
-	return result;
-}
-	
-EWXWEXPORT(wxString*,wxFileDialog_GetFilename)(void* _obj)
-{
-	wxString *result = new wxString();
-	*result = ((wxFileDialog*)_obj)->GetFilename();
-	return result;
-}
-	
-EWXWEXPORT(int,wxFileDialog_GetFilenames)(void* _obj,void* paths)
-{
-	wxArrayString arr;
-	((wxFileDialog*)_obj)->GetFilenames(arr);
-	if (paths)
-	{
-		for (unsigned int i = 0; i < arr.GetCount(); i++)
-			((const wxChar**)paths)[i] = wxStrdup (arr.Item(i).c_str());
-	}
-	return arr.GetCount();
-}
-	
-EWXWEXPORT(wxString*,wxFileDialog_GetWildcard)(void* _obj)
-{
-	wxString *result = new wxString();
-	*result = ((wxFileDialog*)_obj)->GetWildcard();
-	return result;
-}
-	
-EWXWEXPORT(int,wxFileDialog_GetStyle)(void* _obj)
-{
-#if WXWIN_COMPATIBILITY_2_6
-	return (int)((wxFileDialog*)_obj)->GetStyle();
-#else
-	return 0;
-#endif
-}
-	
-EWXWEXPORT(int,wxFileDialog_GetFilterIndex)(void* _obj)
-{
-	return ((wxFileDialog*)_obj)->GetFilterIndex();
-}
-	
-}
− src/cpp/eljfilehist.cpp
@@ -1,94 +0,0 @@-#include "wrapper.h"
-#include "wx/docview.h"
-
-extern "C"
-{
-
-EWXWEXPORT(void*,wxFileHistory_Create)(int maxFiles)
-{
-	return (void*)new wxFileHistory(maxFiles);
-}
-	
-EWXWEXPORT(void,wxFileHistory_Delete)(void* _obj)
-{
-	delete (wxFileHistory*)_obj;
-}
-	
-EWXWEXPORT(void,wxFileHistory_AddFileToHistory)(void* _obj,wxString* file)
-{
-	((wxFileHistory*)_obj)->AddFileToHistory(*file);
-}
-	
-EWXWEXPORT(void,wxFileHistory_RemoveFileFromHistory)(void* _obj,int i)
-{
-	((wxFileHistory*)_obj)->RemoveFileFromHistory(i);
-}
-	
-EWXWEXPORT(int,wxFileHistory_GetMaxFiles)(void* _obj)
-{
-	return ((wxFileHistory*)_obj)->GetMaxFiles();
-}
-	
-EWXWEXPORT(void,wxFileHistory_UseMenu)(void* _obj,void* menu)
-{
-	((wxFileHistory*)_obj)->UseMenu((wxMenu*)menu);
-}
-	
-EWXWEXPORT(void,wxFileHistory_RemoveMenu)(void* _obj,void* menu)
-{
-	((wxFileHistory*)_obj)->RemoveMenu((wxMenu*)menu);
-}
-	
-EWXWEXPORT(void,wxFileHistory_Load)(void* _obj,void* config)
-{
-	((wxFileHistory*)_obj)->Load(*((wxConfigBase*)config));
-}
-	
-EWXWEXPORT(void,wxFileHistory_Save)(void* _obj,void* config)
-{
-	((wxFileHistory*)_obj)->Save(*((wxConfigBase*)config));
-}
-	
-EWXWEXPORT(void,wxFileHistory_AddFilesToMenu)(void* _obj,void* menu)
-{
-	if (menu)
-		((wxFileHistory*)_obj)->AddFilesToMenu((wxMenu*)menu);
-	else
-		((wxFileHistory*)_obj)->AddFilesToMenu();
-}
-	
-EWXWEXPORT(wxString*,wxFileHistory_GetHistoryFile)(void* _obj,int i)
-{
-  wxString *result = new wxString();
-  *result = ((wxFileHistory*)_obj)->GetHistoryFile(i);
-  return result;
-}
-	
-EWXWEXPORT(int,wxFileHistory_GetCount)(void* _obj)
-{
-#if (wxVERSION_NUMBER <= 2600)
-	return ((wxFileHistory*)_obj)->GetNoHistoryFiles();
-#else
-	return ((wxFileHistory*)_obj)->GetCount();
-#endif
-}
-	
-EWXWEXPORT(int,wxFileHistory_GetMenus)(void* _obj, void* _ref)
-{
-	wxList lst = ((wxFileHistory*)_obj)->GetMenus();
-	if (_ref)
-	{
-		int i = 0;
-		wxList::compatibility_iterator node = lst.GetFirst();
-		while (node)
-		{
-			((void**)_ref)[i] = node->GetData();
-			node = node->GetNext();
-			++i;
-		}
-	}
-	
-	return lst.GetCount();
-}
-	
-}
− src/cpp/eljfindrepldlg.cpp
@@ -1,120 +0,0 @@-#include "wrapper.h"
-#if wxVERSION_NUMBER >= 2400
-#include "wx/fdrepdlg.h"
-
-extern "C"
-{
-
-EWXWEXPORT(void*,wxFindReplaceData_CreateDefault)()
-{
-	return (void*)new wxFindReplaceData();
-}
-	
-EWXWEXPORT(void*,wxFindReplaceData_Create)(int flags)
-{
-	return (void*)new wxFindReplaceData((wxUint32)flags);
-}
-
-EWXWEXPORT(void,wxFindReplaceData_Delete)(void* _obj)
-{
-	delete (wxFindReplaceData*)_obj;
-}
-	
-EWXWEXPORT(wxString*,wxFindReplaceData_GetFindString)(void* _obj)
-{
-	wxString *result = new wxString();
-	*result = ((wxFindReplaceData*)_obj)->GetFindString();
-	return result;
-}
-	
-EWXWEXPORT(wxString*,wxFindReplaceData_GetReplaceString)(void* _obj)
-{
-	wxString *result = new wxString();
-	*result = ((wxFindReplaceData*)_obj)->GetReplaceString();
-	return result;
-}
-	
-EWXWEXPORT(int,wxFindReplaceData_GetFlags)(void* _obj)
-{
-	return ((wxFindReplaceData*)_obj)->GetFlags();
-}
-	
-EWXWEXPORT(void,wxFindReplaceData_SetFlags)(void* _obj,int flags)
-{
-	((wxFindReplaceData*)_obj)->SetFlags((wxUint32)flags);
-}
-	
-EWXWEXPORT(void,wxFindReplaceData_SetFindString)(void* _obj,wxString* str)
-{
-	((wxFindReplaceData*)_obj)->SetFindString(*str);
-}
-	
-EWXWEXPORT(void,wxFindReplaceData_SetReplaceString)(void* _obj,wxString* str)
-{
-	((wxFindReplaceData*)_obj)->SetReplaceString(*str);
-}
-	
-
-EWXWEXPORT(int,wxFindDialogEvent_GetFlags)(void* _obj)
-{
-	return ((wxFindDialogEvent*)_obj)->GetFlags();
-}
-	
-EWXWEXPORT(wxString*,wxFindDialogEvent_GetFindString)(void* _obj)
-{
-	wxString *result = new wxString();
-	*result = ((wxFindReplaceData*)_obj)->GetFindString();
-	return result;
-}
-	
-EWXWEXPORT(wxString*,wxFindDialogEvent_GetReplaceString)(void* _obj)
-{
-	wxString *result = new wxString();
-	*result = ((wxFindReplaceData*)_obj)->GetFindString();
-	return result;
-}
-	
-
-EWXWEXPORT(void*,wxFindReplaceDialog_Create)(wxWindow* parent,void* data,wxString* title,int style)
-{
-	return (void*)new wxFindReplaceDialog(parent, (wxFindReplaceData*)data, *title, style);
-}
-	
-EWXWEXPORT(void*,wxFindReplaceDialog_GetData)(void* _obj)
-{
-	return (void*)((wxFindReplaceDialog*)_obj)->GetData();
-}
-	
-EWXWEXPORT(void,wxFindReplaceDialog_SetData)(void* _obj,void* data)
-{
-	((wxFindReplaceDialog*)_obj)->SetData((wxFindReplaceData*)data);
-}
-	
-
-EWXWEXPORT(int,expEVT_COMMAND_FIND)()
-{
-	return (int)wxEVT_COMMAND_FIND;
-}
-
-EWXWEXPORT(int,expEVT_COMMAND_FIND_NEXT)()
-{
-	return (int)wxEVT_COMMAND_FIND_NEXT;
-}
-
-EWXWEXPORT(int,expEVT_COMMAND_FIND_REPLACE)()
-{
-	return (int)wxEVT_COMMAND_FIND_REPLACE;
-}
-
-EWXWEXPORT(int,expEVT_COMMAND_FIND_REPLACE_ALL)()
-{
-	return (int)wxEVT_COMMAND_FIND_REPLACE_ALL;
-}
-
-EWXWEXPORT(int,expEVT_COMMAND_FIND_CLOSE)()
-{
-	return (int)wxEVT_COMMAND_FIND_CLOSE;
-}
-
-}
-#endif
− src/cpp/eljfont.cpp
@@ -1,258 +0,0 @@-#include "wrapper.h"
-#include "wx/fontenum.h"
-#include "wx/fontmap.h"
-#include "wx/encconv.h"
-
-extern "C"
-{
-
-typedef int _cdecl (*TTextEnum) (void* self, void* _txt);
-
-}
-
-class ELJFontEnumerator : public wxFontEnumerator
-{
-	private:
-		TTextEnum func;
-		void*     EiffelObject;
-	public:
-		ELJFontEnumerator (void* self, void* _fnc) : wxFontEnumerator()
-		{
-			func = (TTextEnum)_fnc;
-			EiffelObject = self;
-		}
-		
-	    virtual bool OnFacename(const wxString& facename)
-        { 
-			return func(EiffelObject, (void*)facename.c_str()) != 0;
-		}
-		virtual bool OnFontEncoding(const wxString& WXUNUSED(facename), const wxString& encoding)
-        {
-			return func(EiffelObject, (void*)encoding.c_str()) != 0;
-		}
-
-};
-
-extern "C"
-{
-
-EWXWEXPORT(wxFont*,wxFont_Create)(int pointSize,int family,int style,int weight,bool underlined,wxString* face,int enc)
-{
-	return new wxFont (pointSize, family, style, weight, underlined,*face, (wxFontEncoding)enc);
-}
-
-EWXWEXPORT(wxFont*,wxFont_CreateDefault)()
-{
-	return new wxFont ();
-}
-
-EWXWEXPORT(void*,wxFont_CreateFromStock)(int id)
-{
-	switch(id) {
-	case 0:
-		return (void*)wxITALIC_FONT;
-	case 1:
-		return (void*)wxNORMAL_FONT;
-	case 2:
-		return (void*)wxSMALL_FONT;
-	case 3:
-		return (void*)wxSWISS_FONT;
-	}
-
-	return NULL;
-}
-
-EWXWEXPORT(void,wxFont_Delete)(wxFont* self)
-{
-	delete self;
-}
-
-EWXWEXPORT(bool,wxFont_IsOk)(wxFont* self)
-{
-	return self->IsOk();
-}
-	
-EWXWEXPORT(int,wxFont_GetPointSize)(wxFont* self)
-{
-	return self->GetPointSize();
-}
-	
-EWXWEXPORT(int,wxFont_GetFamily)(wxFont* self)
-{
-	return self->GetFamily();
-}
-	
-EWXWEXPORT(int,wxFont_GetStyle)(wxFont* self)
-{
-	return self->GetStyle();
-}
-	
-EWXWEXPORT(int,wxFont_GetWeight)(wxFont* self)
-{
-	return self->GetWeight();
-}
-	
-EWXWEXPORT(bool,wxFont_GetUnderlined)(wxFont* self)
-{
-	return self->GetUnderlined();
-}
-	
-EWXWEXPORT(wxString*,wxFont_GetFaceName)(wxFont* self)
-{
-	wxString *result = new wxString();
-	*result = self->GetFaceName();
-	return result;
-}
-	
-EWXWEXPORT(int,wxFont_GetEncoding)(wxFont* self)
-{
-	return (int)self->GetEncoding();
-}
-	
-EWXWEXPORT(void,wxFont_SetPointSize)(wxFont* self,int pointSize)
-{
-	self->SetPointSize(pointSize);
-}
-	
-EWXWEXPORT(void,wxFont_SetFamily)(wxFont* self,int family)
-{
-	self->SetFamily(family);
-}
-	
-EWXWEXPORT(void,wxFont_SetStyle)(wxFont* self,int style)
-{
-	self->SetStyle(style);
-}
-	
-EWXWEXPORT(void,wxFont_SetWeight)(wxFont* self,int weight)
-{
-	self->SetWeight(weight);
-}
-	
-EWXWEXPORT(void,wxFont_SetFaceName)(wxFont* self,wxString* faceName)
-{
-	self->SetFaceName(*faceName);
-}
-	
-EWXWEXPORT(void,wxFont_SetUnderlined)(wxFont* self,bool underlined)
-{
-	self->SetUnderlined(underlined);
-}
-	
-EWXWEXPORT(void,wxFont_SetEncoding)(wxFont* self,int encoding)
-{
-	self->SetEncoding((wxFontEncoding)encoding);
-}
-	
-EWXWEXPORT(wxString*,wxFont_GetFamilyString)(wxFont* self)
-{
-	wxString *result = new wxString();
-	*result = self->GetFamilyString();
-	return result;
-}
-	
-EWXWEXPORT(wxString*,wxFont_GetStyleString)(wxFont* self)
-{
-	wxString *result = new wxString();
-	*result = self->GetStyleString();
-	return result;
-}
-	
-EWXWEXPORT(wxString*,wxFont_GetWeightString)(wxFont* self)
-{
-	wxString *result = new wxString();
-	*result = self->GetWeightString();
-	return result;
-}
-	
-EWXWEXPORT(int,wxFont_GetDefaultEncoding)(wxFont* self)
-{
-	return (int)self->GetDefaultEncoding();
-}
-	
-EWXWEXPORT(void,wxFont_SetDefaultEncoding)(wxFont* self,int encoding)
-{
-	self->SetDefaultEncoding((wxFontEncoding) encoding);
-}
-	
-
-EWXWEXPORT(void*,wxFontEnumerator_Create)(void* self,void* _fnc)
-{
-	return (void*)new ELJFontEnumerator(self, _fnc);
-}
-
-EWXWEXPORT(void,wxFontEnumerator_Delete)(ELJFontEnumerator* self)
-{
-	delete self;
-}
-
-EWXWEXPORT(bool,wxFontEnumerator_EnumerateFacenames)(ELJFontEnumerator* self,int encoding,bool fixedWidthOnly)
-{
-	return self->EnumerateFacenames((wxFontEncoding)encoding, fixedWidthOnly);
-}
-	
-EWXWEXPORT(bool,wxFontEnumerator_EnumerateEncodings)(ELJFontEnumerator* self,wxString* facename)
-{
-	return self->EnumerateEncodings(*facename);
-}
-	
-
-EWXWEXPORT(void*,wxFontMapper_Create)()
-{
-	return wxTheFontMapper;
-}
-
-EWXWEXPORT(bool,wxFontMapper_GetAltForEncoding)(wxFontMapper* self,int encoding,void* alt_encoding,wxString* facename)
-{
-	return self->GetAltForEncoding((wxFontEncoding)encoding, (wxFontEncoding*)alt_encoding,*facename, false);
-}
-	
-EWXWEXPORT(bool,wxFontMapper_IsEncodingAvailable)(wxFontMapper* self,int encoding,wxString* _buf)
-{
-	return self->IsEncodingAvailable((wxFontEncoding)encoding,*_buf);
-}
-	
-
-EWXWEXPORT(void*,wxEncodingConverter_Create)()
-{
-	return (void*)new wxEncodingConverter();
-}
-
-EWXWEXPORT(void,wxEncodingConverter_Delete)(void* self)
-{
-	delete (wxEncodingConverter*)self;
-}
-
-EWXWEXPORT(bool,wxEncodingConverter_Init)(wxEncodingConverter* self,int input_enc,int output_enc,int method)
-{
-	return self->Init((wxFontEncoding)input_enc, (wxFontEncoding)output_enc, method);
-}
-	
-EWXWEXPORT(void,wxEncodingConverter_Convert)(void* self,void* input,void* output)
-{
-	((wxEncodingConverter*)self)->Convert((const char*)input, (char*)output);
-}
-
-EWXWEXPORT(int,wxEncodingConverter_GetPlatformEquivalents)(void* self,int enc,int platform,void* _lst)
-{
-	wxFontEncodingArray arr = ((wxEncodingConverter*)self)->GetPlatformEquivalents((wxFontEncoding)enc, platform);
-	if (_lst)
-	{
-		for (unsigned int i = 0; i < arr.GetCount(); i++)
-			((int*)_lst)[i] = (int)arr.Item(i);
-	}
-	return (int)arr.GetCount();
-}
-
-EWXWEXPORT(int,wxEncodingConverter_GetAllEquivalents)(void* self,int enc,void* _lst)
-{
-	wxFontEncodingArray arr = ((wxEncodingConverter*)self)->GetAllEquivalents((wxFontEncoding)enc);
-	if (_lst)
-	{
-		for (unsigned int i = 0; i < arr.GetCount(); i++)
-			((int*)_lst)[i] = (int)arr.Item(i);
-	}
-	return (int)arr.GetCount();
-}
-
-}
− src/cpp/eljfontdata.cpp
@@ -1,91 +0,0 @@-#include "wrapper.h"
-
-extern "C"
-{
-
-EWXWEXPORT(void*,wxFontData_Create)()
-{
-	return (void*)new wxFontData();
-}
-
-EWXWEXPORT(void,wxFontData_Delete)(void* self)
-{
-	delete (wxFontData*)self;
-}
-
-EWXWEXPORT(void,wxFontData_SetAllowSymbols)(void* self,bool flag)
-{
-	((wxFontData*)self)->SetAllowSymbols(flag);
-}
-	
-EWXWEXPORT(bool,wxFontData_GetAllowSymbols)(wxFontData* self)
-{
-	return self->GetAllowSymbols();
-}
-	
-EWXWEXPORT(void,wxFontData_SetColour)(void* self,wxColour* colour)
-{
-	((wxFontData*)self)->SetColour(*colour);
-}
-	
-EWXWEXPORT(void,wxFontData_GetColour)(void* self,wxColour* _ref)
-{
-	*_ref = ((wxFontData*)self)->GetColour();
-}
-	
-EWXWEXPORT(void,wxFontData_SetShowHelp)(void* self,bool flag)
-{
-	((wxFontData*)self)->SetShowHelp(flag);
-}
-	
-EWXWEXPORT(bool,wxFontData_GetShowHelp)(wxFontData* self)
-{
-	return self->GetShowHelp();
-}
-	
-EWXWEXPORT(void,wxFontData_EnableEffects)(void* self,bool flag)
-{
-	((wxFontData*)self)->EnableEffects(flag);
-}
-	
-EWXWEXPORT(bool,wxFontData_GetEnableEffects)(wxFontData* self)
-{
-	return self->GetEnableEffects();
-}
-	
-EWXWEXPORT(void,wxFontData_SetInitialFont)(void* self,wxFont* font)
-{
-	((wxFontData*)self)->SetInitialFont(*font);
-}
-	
-EWXWEXPORT(void,wxFontData_GetInitialFont)(void* self,wxFont* ref)
-{
-	*ref = ((wxFontData*)self)->GetInitialFont();
-}
-	
-EWXWEXPORT(void,wxFontData_SetChosenFont)(void* self,wxFont* font)
-{
-	((wxFontData*)self)->SetChosenFont(*font);
-}
-	
-EWXWEXPORT(void,wxFontData_GetChosenFont)(void* self,wxFont* ref)
-{
-	*ref = ((wxFontData*)self)->GetChosenFont();
-}
-	
-EWXWEXPORT(void,wxFontData_SetRange)(void* self,int minRange,int maxRange)
-{
-	((wxFontData*)self)->SetRange(minRange, maxRange);
-}
-	
-EWXWEXPORT(int,wxFontData_GetEncoding)(wxFontData* self)
-{
-	return (int)self->GetEncoding();
-}
-	
-EWXWEXPORT(void,wxFontData_SetEncoding)(void* self,int encoding)
-{
-	((wxFontData*)self)->SetEncoding((wxFontEncoding)encoding);
-}
-	
-}
− src/cpp/eljfontdlg.cpp
@@ -1,24 +0,0 @@-#include "wrapper.h"
-
-extern "C"
-{
-
-EWXWEXPORT(void*, wxFontDialog_Create) (void* _prt, void* fnt)
-{
-#if WXWIN_COMPATIBILITY_2_6
-  #ifdef wxMAC_USE_EXPERIMENTAL_FONTDIALOG
-	  return (void*) new wxFontDialog ((wxWindow*)_prt, (wxFontData&) fnt);
-  #else
-	  return (void*) new wxFontDialog ((wxWindow*)_prt, (wxFontData*) fnt);
-  #endif
-#else
-	return (void*) new wxFontDialog ((wxWindow*)_prt, (wxFontData&) fnt);
-#endif
-}
-
-EWXWEXPORT(void, wxFontDialog_GetFontData)(void* _obj, void* _ref)
-{
-	*((wxFontData*)_ref) = ((wxFontDialog*)_obj)->GetFontData();
-}
-
-}
− src/cpp/eljframe.cpp
@@ -1,210 +0,0 @@-#include "wrapper.h"
-
-extern "C"
-{
-
-EWXWEXPORT(bool,wxTopLevelWindow_EnableCloseButton)(wxTopLevelWindow* self,bool enable)
-{
-  return self->EnableCloseButton(enable);
-}
-
-EWXWEXPORT(void*,wxTopLevelWindow_GetDefaultButton)(wxTopLevelWindow* self)
-{
-  return (void*)self->GetDefaultItem();
-}
-
-EWXWEXPORT(void*,wxTopLevelWindow_GetDefaultItem)(wxTopLevelWindow* self)
-{
-  return (void*)self->GetDefaultItem();
-}
-
-EWXWEXPORT(void*,wxTopLevelWindow_GetIcon)(wxTopLevelWindow* self)
-{
-  static wxIcon tmp = self->GetIcon();
-  return (void*)&tmp;
-}
-
-EWXWEXPORT(wxString*,wxTopLevelWindow_GetTitle)(wxTopLevelWindow* self)
-{
-  wxString *result = new wxString();
-  *result = self->GetTitle();
-  return result;
-}
-
-EWXWEXPORT(void,wxTopLevelWindow_Iconize)(wxTopLevelWindow* self,bool iconize)
-{
-  ((wxTopLevelWindow*)self)->Iconize(iconize);
-}
-
-EWXWEXPORT(bool,wxTopLevelWindow_IsActive)(wxTopLevelWindow* self)
-{
-  return self->IsActive();
-}
-
-EWXWEXPORT(bool,wxTopLevelWindow_IsIconized)(wxTopLevelWindow* self)
-{
-  return self->IsIconized();
-}
-
-EWXWEXPORT(bool,wxTopLevelWindow_IsMaximized)(wxTopLevelWindow* self)
-{
-  return self->IsMaximized();
-}
-
-EWXWEXPORT(void,wxTopLevelWindow_Maximize)(void* self,bool iconize)
-{
-  ((wxTopLevelWindow*)self)->Maximize(iconize);
-}
-
-EWXWEXPORT(void,wxTopLevelWindow_RequestUserAttention)(void* self,int flags)
-{
-  ((wxTopLevelWindow*)self)->RequestUserAttention(flags);
-}
-
-EWXWEXPORT(void,wxTopLevelWindow_SetDefaultButton)(void* self,void* _item)
-{
-  ((wxTopLevelWindow*)self)->SetDefaultItem((wxButton*)_item);
-}
-
-EWXWEXPORT(void,wxTopLevelWindow_SetDefaultItem)(void* self,wxWindow* _item)
-{
-  ((wxTopLevelWindow*)self)->SetDefaultItem( _item);
-}
-
-EWXWEXPORT(void,wxTopLevelWindow_SetIcon)(void* self,wxIcon* _icons)
-{
-  ((wxTopLevelWindow*)self)->SetIcon(*_icons);
-}
-
-EWXWEXPORT(void,wxTopLevelWindow_SetIcons)(void* self,void* _icons)
-{
-  ((wxTopLevelWindow*)self)->SetIcons(*((wxIconBundle*)_icons));
-}
-
-EWXWEXPORT(void,wxTopLevelWindow_SetMaxSize)(void* self,int _w,int _h)
-{
-  ((wxTopLevelWindow*)self)->SetMaxSize(wxSize(_w, _h));
-}
-           
-EWXWEXPORT(void,wxTopLevelWindow_SetMinSize)(void* self,int _w,int _h)
-{
-  ((wxTopLevelWindow*)self)->SetMinSize(wxSize(_w, _h));
-}
-
-EWXWEXPORT(void,wxTopLevelWindow_SetTitle)(void* self,wxString* _str)
-{
-  ((wxTopLevelWindow*)self)->SetTitle(*_str);
-}
-
-EWXWEXPORT(wxFrame*,wxFrame_Create)(wxWindow* _prt,int _id,wxString* _txt,int _lft,int _top,int _wdt,int _hgt,int _stl)
-{
-	return new wxFrame (_prt, _id, *_txt, wxPoint(_lft, _top), wxSize(_wdt, _hgt), _stl);
-}
-
-EWXWEXPORT(wxStatusBar*,wxFrame_CreateStatusBar)(wxFrame* self,int number,int style)
-{
-	return self->CreateStatusBar(number, style, 1);
-}
-	
-#if wxVERSION_NUMBER >= 2800
-EWXWEXPORT(void,wxFrame_Maximize)(wxFrame* self)
-{
-	self->Maximize();
-}
-#endif
-	
-EWXWEXPORT(void,wxFrame_Restore)(wxFrame* self)
-{
-	self->Restore();
-}
-	
-#if wxVERSION_NUMBER >= 2800
-EWXWEXPORT(void,wxFrame_Iconize)(wxFrame* self)
-{
-	self->Iconize();
-}
-	
-EWXWEXPORT(bool,wxFrame_IsMaximized)(wxFrame* self)
-{
-	return self->IsMaximized();
-}
-	
-EWXWEXPORT(bool,wxFrame_IsIconized)(wxFrame* self)
-{
-	return self->IsIconized();
-}
-	
-EWXWEXPORT(void*,wxFrame_GetIcon)(wxFrame* self)
-{
-	return (void*)(&self->GetIcon());
-}
-	
-EWXWEXPORT(void,wxFrame_SetIcon)(wxFrame* self,wxIcon* _icon)
-{
-	self->SetIcon(*_icon);
-}
-#endif
-	
-EWXWEXPORT(int,wxFrame_GetClientAreaOrigin_left)(wxFrame* self)
-{
-	return self->GetClientAreaOrigin().x;
-}
-	
-EWXWEXPORT(int,wxFrame_GetClientAreaOrigin_top)(wxFrame* self)
-{
-	return self->GetClientAreaOrigin().y;
-}
-	
-EWXWEXPORT(void,wxFrame_SetMenuBar)(wxFrame* self,wxMenuBar* menubar)
-{
-	self->SetMenuBar(menubar);
-}
-	
-EWXWEXPORT(wxMenuBar*,wxFrame_GetMenuBar)(wxFrame* self)
-{
-	return self->GetMenuBar();
-}
-	
-EWXWEXPORT(wxStatusBar*,wxFrame_GetStatusBar)(wxFrame* self)
-{
-	return self->GetStatusBar();
-}
-	
-EWXWEXPORT(void,wxFrame_SetStatusBar)(wxFrame* self,wxStatusBar* statBar)
-{
-	self->SetStatusBar(statBar);
-}
-	
-EWXWEXPORT(void,wxFrame_SetStatusText)(wxFrame* self,wxString* _txt,int _number)
-{
-	self->SetStatusText(*_txt, _number);
-}
-	
-EWXWEXPORT(void,wxFrame_SetStatusWidths)(wxFrame* self,int _n,void* _widths_field)
-{
-	self->SetStatusWidths(_n, (int*)_widths_field);
-}
-	
-EWXWEXPORT(void*,wxFrame_CreateToolBar)(wxFrame* self,long style)
-{
-	return (void*)self->CreateToolBar(style, 1);
-}
-	
-EWXWEXPORT(void*,wxFrame_GetToolBar)(wxFrame* self)
-{
-	return (void*)self->GetToolBar();
-}
-	
-EWXWEXPORT(void,wxFrame_SetToolBar)(wxFrame* self,wxToolBar* _toolbar)
-{
-	self->SetToolBar(_toolbar);
-}
-
-#if wxVERSION_NUMBER >= 2400 && wxVERSION_NUMBER < 2800
-EWXWEXPORT(void,wxFrame_SetIcons)(wxFrame* self,void* _icons)
-{
-	self->SetIcons(*((wxIconBundle*)_icons));
-}
-#endif
-
-}
− src/cpp/eljgauge.cpp
@@ -1,51 +0,0 @@-#include "wrapper.h"
-
-extern "C"
-{
-
-EWXWEXPORT(void*, wxGauge_Create) (void* _prt, int _id, int _rng, int _lft, int _top, int _wdt, int _hgt, int _stl)
-{
-	return (void*) new wxGauge ((wxWindow*)_prt, _id, _rng, wxPoint(_lft, _top), wxSize(_wdt, _hgt), _stl);
-}
-
-EWXWEXPORT(void, wxGauge_SetShadowWidth)(void* _obj, int w)
-{
-	((wxGauge*)_obj)->SetShadowWidth(w);
-}
-	
-EWXWEXPORT(void, wxGauge_SetBezelFace)(void* _obj, int w)
-{
-	((wxGauge*)_obj)->SetBezelFace(w);
-}
-	
-EWXWEXPORT(void, wxGauge_SetRange)(void* _obj, int r)
-{
-	((wxGauge*)_obj)->SetRange(r);
-}
-	
-EWXWEXPORT(void, wxGauge_SetValue)(void* _obj, int pos)
-{
-	((wxGauge*)_obj)->SetValue(pos);
-}
-	
-EWXWEXPORT(int, wxGauge_GetShadowWidth)(void* _obj)
-{
-	return ((wxGauge*)_obj)->GetShadowWidth();
-}
-	
-EWXWEXPORT(int, wxGauge_GetBezelFace)(void* _obj)
-{
-	return ((wxGauge*)_obj)->GetBezelFace();
-}
-	
-EWXWEXPORT(int, wxGauge_GetRange)(void* _obj)
-{
-	return ((wxGauge*)_obj)->GetRange();
-}
-	
-EWXWEXPORT(int, wxGauge_GetValue)(void* _obj)
-{
-	return ((wxGauge*)_obj)->GetValue();
-}
-	
-}
− src/cpp/eljgrid.cpp
@@ -1,1448 +0,0 @@-#include "wrapper.h"
-#include "eljgrid.h"
-
-extern "C"
-{
-
-EWXWEXPORT(wxGridCellCoordsArray*,wxGridCellCoordsArray_Create)()
-{
-	return new wxGridCellCoordsArray();
-}
-
-EWXWEXPORT(void,wxGridCellCoordsArray_Delete)(wxGridCellCoordsArray* self)
-{
-	delete self;
-}
-
-EWXWEXPORT(int,wxGridCellCoordsArray_GetCount)(wxGridCellCoordsArray* self)
-{
-	return self->GetCount();
-}
-
-EWXWEXPORT(void,wxGridCellCoordsArray_Item)(wxGridCellCoordsArray* self,int _idx,int* _c,int* _r)
-{
-	*_c = self->Item(_idx).GetCol();
-	*_r = self->Item(_idx).GetRow();
-}
-
-
-EWXWEXPORT(bool,wxGridCellEditor_IsCreated)(wxGridCellEditor* self)
-{
-	return self->IsCreated();
-}
-	
-EWXWEXPORT(void*,wxGridCellEditor_GetControl)(wxGridCellEditor* self)
-{
-	return (void*)self->GetControl();
-}
-	
-EWXWEXPORT(void,wxGridCellEditor_SetControl)(wxGridCellEditor* self,wxControl* control)
-{
-	self->SetControl(control);
-}
-	
-EWXWEXPORT(void,wxGridCellEditor_Create)(wxGridCellEditor* self,wxWindow* parent,int id,wxEvtHandler* evtHandler)
-{
-	self->Create(parent, (wxWindowID) id, evtHandler);
-}
-	
-EWXWEXPORT(void,wxGridCellEditor_SetSize)(wxGridCellEditor* self,int x,int y,int w,int h)
-{
-	self->SetSize(wxRect(x, y, w, h));
-}
-	
-EWXWEXPORT(void,wxGridCellEditor_Show)(wxGridCellEditor* self,bool show,void* attr)
-{
-	self->Show(show, (wxGridCellAttr*)attr);
-}
-	
-EWXWEXPORT(void,wxGridCellEditor_PaintBackground)(wxGridCellEditor* self,int x,int y,int w,int h,void* attr)
-{
-	self->PaintBackground(wxRect(x, y, w, h), (wxGridCellAttr*)attr);
-}
-	
-EWXWEXPORT(void,wxGridCellEditor_BeginEdit)(wxGridCellEditor* self,int row,int col,void* grid)
-{
-	self->BeginEdit(row, col, (wxGrid*)grid);
-}
-	
-EWXWEXPORT(bool,wxGridCellEditor_EndEdit)(wxGridCellEditor* self,int row,int col,wxGrid* grid)
-{
-	return self->EndEdit(row, col,  grid);
-}
-	
-EWXWEXPORT(void,wxGridCellEditor_Reset)(wxGridCellEditor* self)
-{
-	self->Reset();
-}
-	
-EWXWEXPORT(bool,wxGridCellEditor_IsAcceptedKey)(wxGridCellEditor* self,wxKeyEvent* event)
-{
-	return self->IsAcceptedKey(*event);
-}
-	
-EWXWEXPORT(void,wxGridCellEditor_StartingKey)(wxGridCellEditor* self,wxKeyEvent* event)
-{
-	self->StartingKey(*event);
-}
-	
-EWXWEXPORT(void,wxGridCellEditor_StartingClick)(wxGridCellEditor* self)
-{
-	self->StartingClick();
-}
-	
-EWXWEXPORT(void,wxGridCellEditor_HandleReturn)(wxGridCellEditor* self,wxKeyEvent* event)
-{
-	self->HandleReturn(*event);
-}
-	
-EWXWEXPORT(void,wxGridCellEditor_Destroy)(wxGridCellEditor* self)
-{
-	self->Destroy();
-}
-	
-EWXWEXPORT(void,wxGridCellEditor_SetParameters)(wxGridCellEditor* self,wxString* params)
-{
-	self->SetParameters(*params);
-}
-	
-EWXWEXPORT(void*,wxGridCellTextEditor_Ctor)()
-{
-	return (void*)new wxGridCellTextEditor();
-}
-
-EWXWEXPORT(void*,wxGridCellNumberEditor_Ctor)(int min,int max)
-{
-	return (void*)new wxGridCellNumberEditor(min, max);
-}
-
-EWXWEXPORT(void*,wxGridCellFloatEditor_Ctor)(int width,int precision)
-{
-	return (void*)new wxGridCellFloatEditor(width, precision);
-}
-
-EWXWEXPORT(void*,wxGridCellBoolEditor_Ctor)()
-{
-	return (void*)new wxGridCellBoolEditor();
-}
-
-EWXWEXPORT(void*,wxGridCellChoiceEditor_Ctor)(int count,void* choices,bool allowOthers)
-{
-	wxString items[256];
-
-	for (int i = 0; i < count; i++)
-		items[i] = ((wxChar**)choices)[i];
-
-	return (void*)new wxGridCellChoiceEditor (count, items, allowOthers);
-}
-
-EWXWEXPORT(void*,wxGridCellAttr_Ctor)()
-{
-	return (void*)new wxGridCellAttr();
-}
-
-EWXWEXPORT(void,wxGridCellAttr_IncRef)(wxGridCellAttr* self)
-{
-	self->IncRef();
-}
-	
-EWXWEXPORT(void,wxGridCellAttr_DecRef)(wxGridCellAttr* self)
-{
-	self->DecRef();
-}
-	
-EWXWEXPORT(void,wxGridCellAttr_SetTextColour)(wxGridCellAttr* self,wxColour* colText)
-{
-	self->SetTextColour(*colText);
-}
-	
-EWXWEXPORT(void,wxGridCellAttr_SetBackgroundColour)(wxGridCellAttr* self,wxColour* colBack)
-{
-	self->SetBackgroundColour(*colBack);
-}
-	
-EWXWEXPORT(void,wxGridCellAttr_SetFont)(wxGridCellAttr* self,wxFont* font)
-{
-	self->SetFont(*font);
-}
-	
-EWXWEXPORT(void,wxGridCellAttr_SetAlignment)(wxGridCellAttr* self,int hAlign,int vAlign)
-{
-	self->SetAlignment(hAlign, vAlign);
-}
-	
-EWXWEXPORT(void,wxGridCellAttr_SetReadOnly)(wxGridCellAttr* self,bool isReadOnly)
-{
-	self->SetReadOnly(isReadOnly);
-}
-	
-EWXWEXPORT(void,wxGridCellAttr_SetRenderer)(wxGridCellAttr* self,void* renderer)
-{
-	self->SetRenderer((wxGridCellRenderer*)renderer);
-}
-	
-EWXWEXPORT(void,wxGridCellAttr_SetEditor)(wxGridCellAttr* self,wxGridCellEditor* editor)
-{
-	self->SetEditor(editor);
-}
-	
-EWXWEXPORT(bool,wxGridCellAttr_HasTextColour)(wxGridCellAttr* self)
-{
-	return self->HasTextColour();
-}
-	
-EWXWEXPORT(bool,wxGridCellAttr_HasBackgroundColour)(wxGridCellAttr* self)
-{
-	return self->HasBackgroundColour();
-}
-	
-EWXWEXPORT(bool,wxGridCellAttr_HasFont)(wxGridCellAttr* self)
-{
-	return self->HasFont();
-}
-	
-EWXWEXPORT(bool,wxGridCellAttr_HasAlignment)(wxGridCellAttr* self)
-{
-	return self->HasAlignment();
-}
-	
-EWXWEXPORT(bool,wxGridCellAttr_HasRenderer)(wxGridCellAttr* self)
-{
-	return self->HasRenderer();
-}
-	
-EWXWEXPORT(bool,wxGridCellAttr_HasEditor)(wxGridCellAttr* self)
-{
-	return self->HasEditor();
-}
-	
-EWXWEXPORT(void,wxGridCellAttr_GetTextColour)(wxGridCellAttr* self,wxColour* colour)
-{
-	*colour = self->GetTextColour();
-}
-	
-EWXWEXPORT(void,wxGridCellAttr_GetBackgroundColour)(wxGridCellAttr* self,wxColour* colour)
-{
-	*colour = self->GetBackgroundColour();
-}
-	
-EWXWEXPORT(void,wxGridCellAttr_GetFont)(wxGridCellAttr* self,wxFont* font)
-{
-	*font = self->GetFont();
-}
-	
-EWXWEXPORT(void,wxGridCellAttr_GetAlignment)(wxGridCellAttr* self,int* hAlign,int* vAlign)
-{
-	self->GetAlignment(hAlign, vAlign);
-}
-	
-EWXWEXPORT(void*,wxGridCellAttr_GetRenderer)(wxGridCellAttr* self,wxGrid* grid,int row,int col)
-{
-	return (void*)self->GetRenderer(grid, row, col);
-}
-	
-EWXWEXPORT(void*,wxGridCellAttr_GetEditor)(wxGridCellAttr* self,wxGrid* grid,int row,int col)
-{
-	return (void*)self->GetEditor(grid, row, col);
-}
-	
-EWXWEXPORT(bool,wxGridCellAttr_IsReadOnly)(wxGridCellAttr* self)
-{
-	return self->IsReadOnly();
-}
-	
-EWXWEXPORT(void,wxGridCellAttr_SetDefAttr)(wxGridCellAttr* self,wxGridCellAttr* defAttr)
-{
-	self->SetDefAttr(defAttr);
-}
-	
-EWXWEXPORT(void*,wxGrid_Create)(wxWindow* _prt,int _id,int _lft,int _top,int _wdt,int _hgt,int _stl)
-{
-	return (void*)new wxGrid (_prt, _id, wxPoint(_lft, _top), wxSize(_wdt, _hgt), _stl | wxWANTS_CHARS);
-}
-
-EWXWEXPORT(void,wxGrid_CreateGrid)(wxGrid* self,int rows,int cols,int selmode)
-{
-	self->CreateGrid (rows, cols, (wxGrid::wxGridSelectionModes)selmode);
-}
-
-EWXWEXPORT(void,wxGrid_SetSelectionMode)(wxGrid* self,int selmode)
-{
-	self->SetSelectionMode((wxGrid::wxGridSelectionModes) selmode);
-}
-	
-EWXWEXPORT(int,wxGrid_GetNumberRows)(wxGrid* self)
-{
-	return self->GetNumberRows();
-}
-	
-EWXWEXPORT(int,wxGrid_GetNumberCols)(wxGrid* self)
-{
-	return self->GetNumberCols();
-}
-	
-EWXWEXPORT(void,wxGrid_CalcRowLabelsExposed)(wxGrid* self,wxRegion* reg)
-{
-	self->CalcRowLabelsExposed(*reg);
-}
-	
-EWXWEXPORT(void,wxGrid_CalcColLabelsExposed)(wxGrid* self,wxRegion* reg)
-{
-	self->CalcColLabelsExposed(*reg);
-}
-	
-EWXWEXPORT(void,wxGrid_CalcCellsExposed)(wxGrid* self,wxRegion* reg)
-{
-	self->CalcCellsExposed(*reg);
-}
-	
-EWXWEXPORT(void,wxGrid_NewCalcCellsExposed)(wxGrid* self,wxRegion* reg,wxGridCellCoordsArray* arr)
-{
-#if wxVERSION_NUMBER >= 2400
-	*arr = self->CalcCellsExposed(*reg);
-#endif
-}
-	
-EWXWEXPORT(void,wxGrid_ProcessRowLabelMouseEvent)(wxGrid* self,wxMouseEvent* event)
-{
-	self->ProcessRowLabelMouseEvent(*event);
-}
-	
-EWXWEXPORT(void,wxGrid_ProcessColLabelMouseEvent)(wxGrid* self,wxMouseEvent* event)
-{
-	self->ProcessColLabelMouseEvent(*event);
-}
-	
-EWXWEXPORT(void,wxGrid_ProcessCornerLabelMouseEvent)(wxGrid* self,wxMouseEvent* event)
-{
-	self->ProcessCornerLabelMouseEvent(*event);
-}
-	
-EWXWEXPORT(void,wxGrid_ProcessGridCellMouseEvent)(wxGrid* self,wxMouseEvent* event)
-{
-	self->ProcessGridCellMouseEvent(*event);
-}
-	
-EWXWEXPORT(bool,wxGrid_ProcessTableMessage)(wxGrid* self,wxGridTableMessage* evt)
-{
-	return self->ProcessTableMessage(*evt);
-}
-	
-EWXWEXPORT(void,wxGrid_DoEndDragResizeRow)(wxGrid* self)
-{
-	self->DoEndDragResizeRow();
-}
-	
-EWXWEXPORT(void,wxGrid_DoEndDragResizeCol)(wxGrid* self)
-{
-	self->DoEndDragResizeCol();
-}
-	
-EWXWEXPORT(void*,wxGrid_GetTable)(wxGrid* self)
-{
-	return (void*)self->GetTable();
-}
-	
-EWXWEXPORT(bool,wxGrid_SetTable)(wxGrid* self,wxGridTableBase* table,bool takeOwnership,int selmode)
-{
-	return self->SetTable(table, takeOwnership , (wxGrid::wxGridSelectionModes) selmode);
-}
-	
-EWXWEXPORT(void,wxGrid_ClearGrid)(wxGrid* self)
-{
-	self->ClearGrid();
-}
-	
-EWXWEXPORT(bool,wxGrid_InsertRows)(wxGrid* self,int pos,int numRows,bool updateLabels)
-{
-	return self->InsertRows(pos, numRows, updateLabels);
-}
-	
-EWXWEXPORT(bool,wxGrid_AppendRows)(wxGrid* self,int numRows,bool updateLabels)
-{
-	return self->AppendRows(numRows, updateLabels);
-}
-	
-EWXWEXPORT(bool,wxGrid_DeleteRows)(wxGrid* self,int pos,int numRows,bool updateLabels)
-{
-	return self->DeleteRows(pos, numRows, updateLabels);
-}
-	
-EWXWEXPORT(bool,wxGrid_InsertCols)(wxGrid* self,int pos,int numCols,bool updateLabels)
-{
-	return self->InsertCols(pos, numCols, updateLabels);
-}
-	
-EWXWEXPORT(bool,wxGrid_AppendCols)(wxGrid* self,int numCols,int updateLabels)
-{
-	return self->AppendCols( numCols, updateLabels);
-}
-	
-EWXWEXPORT(bool,wxGrid_DeleteCols)(wxGrid* self,int pos,int numCols,bool updateLabels)
-{
-	return self->DeleteCols(pos, numCols, updateLabels);
-}
-	
-EWXWEXPORT(void,wxGrid_DrawGridCellArea)(void* self,wxDC* dc)
-{
-#if wxVERSION_NUMBER >= 2400
-	wxGridCellCoordsArray arr;
-	((wxGrid*)self)->DrawGridCellArea(*dc, arr);
-#else
-	((wxGrid*)self)->DrawGridCellArea(*dc);
-#endif
-}
-	
-EWXWEXPORT(void,wxGrid_NewDrawGridCellArea)(wxGrid* self,wxDC* dc,wxGridCellCoordsArray* arr)
-{
-#if wxVERSION_NUMBER >= 2400
-	self->DrawGridCellArea(*dc,*arr);
-#endif
-}
-	
-EWXWEXPORT(void,wxGrid_DrawGridSpace)(wxGrid* self,wxDC* dc)
-{
-	self->DrawGridSpace(*dc);
-}
-	
-EWXWEXPORT(void,wxGrid_DrawCellBorder)(wxGrid* self,wxDC* dc,int _row,int _col)
-{
-	self->DrawCellBorder(*dc, wxGridCellCoords(_row, _col));
-}
-	
-EWXWEXPORT(void,wxGrid_DrawAllGridLines)(wxGrid* self,wxDC* dc,void* reg)
-{
-	self->DrawAllGridLines(*dc,*((wxRegion*)reg));
-}
-	
-EWXWEXPORT(void,wxGrid_DrawCell)(wxGrid* self,wxDC* dc,int _row,int _col)
-{
-	self->DrawCell(*dc, wxGridCellCoords(_row, _col));
-}
-	
-EWXWEXPORT(void,wxGrid_DrawHighlight)(wxGrid* self,wxDC* dc)
-{
-#if wxVERSION_NUMBER >= 2400
-	wxGridCellCoordsArray arr;
-	self->DrawHighlight(*dc, arr);
-#else
-	self->DrawHighlight(*dc);
-#endif
-}
-	
-EWXWEXPORT(void,wxGrid_NewDrawHighlight)(wxGrid* self,wxDC* dc,wxGridCellCoordsArray* arr)
-{
-#if wxVERSION_NUMBER >= 2400
-	self->DrawHighlight(*dc,*arr);
-#endif
-}
-	
-EWXWEXPORT(void,wxGrid_DrawCellHighlight)(wxGrid* self,wxDC* dc,void* attr)
-{
-	self->DrawCellHighlight(*dc, (const wxGridCellAttr*)attr);
-}
-	
-EWXWEXPORT(void,wxGrid_DrawRowLabels)(wxGrid* self,wxDC* dc)
-{
-#if wxVERSION_NUMBER >= 2400
-	wxArrayInt arr;
-	self->DrawRowLabels(*dc, arr);
-#else
-	self->DrawRowLabels(*dc);
-#endif
-}
-	
-EWXWEXPORT(void,wxGrid_DrawRowLabel)(wxGrid* self,wxDC* dc,int row)
-{
-	self->DrawRowLabel(*dc, row);
-}
-	
-EWXWEXPORT(void,wxGrid_DrawColLabels)(wxGrid* self,wxDC* dc)
-{
-#if wxVERSION_NUMBER >= 2400
-	wxArrayInt arr;
-	self->DrawColLabels(*dc, arr);
-#else
-	self->DrawColLabels(*dc);
-#endif
-}
-	
-EWXWEXPORT(void,wxGrid_DrawColLabel)(wxGrid* self,wxDC* dc,int col)
-{
-	self->DrawColLabel(*dc, col);
-}
-	
-EWXWEXPORT(void,wxGrid_DrawTextRectangle)(wxGrid* self,wxDC* dc,wxString* txt,int x,int y,int w,int h,int horizontalAlignment,int verticalAlignment)
-{
-	self->DrawTextRectangle(*dc,*txt, wxRect(x, y, w, h), horizontalAlignment, verticalAlignment);
-}
-	
-EWXWEXPORT(int,wxGrid_StringToLines)(wxGrid* self,wxString* value,void* lines)
-{
-	int result = 0;
-	wxArrayString arr;
-	
-	self->StringToLines(*value, arr);
-	
-	result = arr.GetCount();
-	
-	if (lines)
-	{
-		for (int i = 0; i < result; i++)
-			((const wxChar**)lines)[i] = wxStrdup (arr[i].c_str());
-	}
-	return result;
-}
-	
-EWXWEXPORT(void,wxGrid_GetTextBoxSize)(wxGrid* self,wxDC* dc,int count,void* lines,void* width,void* height)
-{
-	wxArrayString arr;
-
-	for (int i = 0; i < count; i++)
-		arr[i] = ((wxChar**)lines)[i];
-
-	self->GetTextBoxSize(*dc, arr, (long*)width, (long*)height);
-}
-	
-EWXWEXPORT(void,wxGrid_BeginBatch)(wxGrid* self)
-{
-	self->BeginBatch();
-}
-	
-EWXWEXPORT(void,wxGrid_EndBatch)(wxGrid* self)
-{
-	self->EndBatch();
-}
-	
-EWXWEXPORT(int,wxGrid_GetBatchCount)(wxGrid* self)
-{
-	return self->GetBatchCount();
-}
-	
-EWXWEXPORT(bool,wxGrid_IsEditable)(wxGrid* self)
-{
-	return self->IsEditable();
-}
-	
-EWXWEXPORT(void,wxGrid_EnableEditing)(wxGrid* self,bool edit)
-{
-	self->EnableEditing(edit);
-}
-	
-EWXWEXPORT(void,wxGrid_EnableCellEditControl)(wxGrid* self,bool enable)
-{
-	self->EnableCellEditControl(enable);
-}
-	
-EWXWEXPORT(void,wxGrid_DisableCellEditControl)(wxGrid* self)
-{
-	self->DisableCellEditControl();
-}
-	
-EWXWEXPORT(bool,wxGrid_CanEnableCellControl)(wxGrid* self)
-{
-	return self->CanEnableCellControl();
-}
-	
-EWXWEXPORT(bool,wxGrid_IsCellEditControlEnabled)(wxGrid* self)
-{
-	return self->IsCellEditControlEnabled();
-}
-	
-EWXWEXPORT(bool,wxGrid_IsCellEditControlShown)(wxGrid* self)
-{
-	return self->IsCellEditControlShown();
-}
-	
-EWXWEXPORT(bool,wxGrid_IsCurrentCellReadOnly)(wxGrid* self)
-{
-	return self->IsCurrentCellReadOnly();
-}
-	
-EWXWEXPORT(void,wxGrid_ShowCellEditControl)(wxGrid* self)
-{
-	self->ShowCellEditControl();
-}
-	
-EWXWEXPORT(void,wxGrid_HideCellEditControl)(wxGrid* self)
-{
-	self->HideCellEditControl();
-}
-	
-EWXWEXPORT(void,wxGrid_SaveEditControlValue)(wxGrid* self)
-{
-	self->SaveEditControlValue();
-}
-	
-EWXWEXPORT(void,wxGrid_XYToCell)(wxGrid* self,int x,int y,int* r,int* c)
-{
-	wxGridCellCoords cds;
-	self->XYToCell(x, y, cds);
-	*r = cds.GetRow();
-	*c = cds.GetCol();
-}
-	
-EWXWEXPORT(int,wxGrid_YToRow)(wxGrid* self,int y)
-{
-	return self->YToRow(y);
-}
-	
-EWXWEXPORT(int,wxGrid_XToCol)(wxGrid* self,int x)
-{
-	return self->XToCol(x);
-}
-	
-EWXWEXPORT(int,wxGrid_YToEdgeOfRow)(wxGrid* self,int y)
-{
-	return self->YToEdgeOfRow(y);
-}
-	
-EWXWEXPORT(int,wxGrid_XToEdgeOfCol)(wxGrid* self,int x)
-{
-	return self->XToEdgeOfCol(x);
-}
-	
-EWXWEXPORT(wxRect*,wxGrid_CellToRect)(wxGrid* self,int top,int left,int bottom,int right)
-{
-	wxRect* rct = new wxRect();
-	*rct = self->BlockToDeviceRect(wxGridCellCoords(top, left), wxGridCellCoords(bottom, right));
-	return rct;
-}
-	
-EWXWEXPORT(int,wxGrid_GetGridCursorRow)(wxGrid* self)
-{
-	return self->GetGridCursorRow();
-}
-	
-EWXWEXPORT(int,wxGrid_GetGridCursorCol)(wxGrid* self)
-{
-	return self->GetGridCursorCol();
-}
-	
-EWXWEXPORT(bool,wxGrid_IsVisible)(wxGrid* self,int row,int col,bool wholeCellVisible)
-{
-	return self->IsVisible(row, col, wholeCellVisible);
-}
-	
-EWXWEXPORT(void,wxGrid_MakeCellVisible)(wxGrid* self,int row,int col)
-{
-	self->MakeCellVisible(row, col);
-}
-	
-EWXWEXPORT(void,wxGrid_SetGridCursor)(wxGrid* self,int row,int col)
-{
-	self->SetGridCursor(row, col);
-}
-	
-EWXWEXPORT(bool,wxGrid_MoveCursorUp)(wxGrid* self,bool expandSelection)
-{
-	return self->MoveCursorUp(expandSelection);
-}
-	
-EWXWEXPORT(bool,wxGrid_MoveCursorDown)(wxGrid* self,bool expandSelection)
-{
-	return self->MoveCursorDown(expandSelection);
-}
-	
-EWXWEXPORT(bool,wxGrid_MoveCursorLeft)(wxGrid* self,bool expandSelection)
-{
-	return self->MoveCursorLeft(expandSelection);
-}
-	
-EWXWEXPORT(bool,wxGrid_MoveCursorRight)(wxGrid* self,bool expandSelection)
-{
-	return self->MoveCursorRight(expandSelection);
-}
-	
-EWXWEXPORT(bool,wxGrid_MovePageDown)(wxGrid* self)
-{
-	return self->MovePageDown();
-}
-	
-EWXWEXPORT(bool,wxGrid_MovePageUp)(wxGrid* self)
-{
-	return self->MovePageUp();
-}
-	
-EWXWEXPORT(bool,wxGrid_MoveCursorUpBlock)(wxGrid* self,bool expandSelection)
-{
-	return self->MoveCursorUpBlock(expandSelection);
-}
-	
-EWXWEXPORT(bool,wxGrid_MoveCursorDownBlock)(wxGrid* self,bool expandSelection)
-{
-	return self->MoveCursorDownBlock(expandSelection);
-}
-	
-EWXWEXPORT(bool,wxGrid_MoveCursorLeftBlock)(wxGrid* self,bool expandSelection)
-{
-	return self->MoveCursorLeftBlock(expandSelection);
-}
-	
-EWXWEXPORT(bool,wxGrid_MoveCursorRightBlock)(wxGrid* self,bool expandSelection)
-{
-	return self->MoveCursorRightBlock(expandSelection);
-}
-	
-EWXWEXPORT(int,wxGrid_GetDefaultRowLabelSize)(wxGrid* self)
-{
-	return self->GetDefaultRowLabelSize();
-}
-	
-EWXWEXPORT(int,wxGrid_GetRowLabelSize)(wxGrid* self)
-{
-	return self->GetRowLabelSize();
-}
-	
-EWXWEXPORT(int,wxGrid_GetDefaultColLabelSize)(wxGrid* self)
-{
-	return self->GetDefaultColLabelSize();
-}
-	
-EWXWEXPORT(int,wxGrid_GetColLabelSize)(wxGrid* self)
-{
-	return self->GetColLabelSize();
-}
-	
-EWXWEXPORT(void,wxGrid_GetLabelBackgroundColour)(wxGrid* self,wxColour* colour)
-{
-	*colour = self->GetLabelBackgroundColour();
-}
-	
-EWXWEXPORT(void,wxGrid_GetLabelTextColour)(wxGrid* self,wxColour* colour)
-{
-	*colour = self->GetLabelTextColour();
-}
-	
-EWXWEXPORT(void,wxGrid_GetLabelFont)(wxGrid* self,wxFont* font)
-{
-	*font = self->GetLabelFont();
-}
-	
-EWXWEXPORT(void,wxGrid_GetRowLabelAlignment)(wxGrid* self,int* horiz,int* vert)
-{
-	self->GetRowLabelAlignment(horiz,vert);
-}
-	
-EWXWEXPORT(void,wxGrid_GetColLabelAlignment)(wxGrid* self,int* horiz,int* vert)
-{
-	self->GetColLabelAlignment(horiz,vert);
-}
-	
-EWXWEXPORT(wxString*,wxGrid_GetRowLabelValue)(wxGrid* self,int row)
-{
-	wxString *result = new wxString();
-	*result = self->GetRowLabelValue(row);
-	return result;
-}
-	
-EWXWEXPORT(wxString*,wxGrid_GetColLabelValue)(wxGrid* self,int col)
-{
-	wxString *result = new wxString();
-	*result = self->GetColLabelValue(col);
-	return result;
-}
-	
-EWXWEXPORT(void,wxGrid_GetGridLineColour)(wxGrid* self,wxColour* colour)
-{
-	*colour = self->GetGridLineColour();
-}
-	
-EWXWEXPORT(void,wxGrid_GetCellHighlightColour)(wxGrid* self,wxColour* colour)
-{
-	*colour = self->GetCellHighlightColour();
-}
-	
-EWXWEXPORT(void,wxGrid_SetRowLabelSize)(wxGrid* self,int width)
-{
-	self->SetRowLabelSize(width);
-}
-	
-EWXWEXPORT(void,wxGrid_SetColLabelSize)(wxGrid* self,int height)
-{
-	self->SetColLabelSize(height);
-}
-	
-EWXWEXPORT(void,wxGrid_SetLabelBackgroundColour)(wxGrid* self,wxColour* colour)
-{
-	self->SetLabelBackgroundColour(*colour);
-}
-	
-EWXWEXPORT(void,wxGrid_SetLabelTextColour)(wxGrid* self,wxColour* colour)
-{
-	self->SetLabelTextColour(*colour);
-}
-	
-EWXWEXPORT(void,wxGrid_SetLabelFont)(wxGrid* self,wxFont* font)
-{
-	self->SetLabelFont(*font);
-}
-	
-EWXWEXPORT(void,wxGrid_SetRowLabelAlignment)(wxGrid* self,int horiz,int vert)
-{
-	self->SetRowLabelAlignment(horiz, vert);
-}
-	
-EWXWEXPORT(void,wxGrid_SetColLabelAlignment)(wxGrid* self,int horiz,int vert)
-{
-	self->SetColLabelAlignment(horiz, vert);
-}
-	
-EWXWEXPORT(void,wxGrid_SetRowLabelValue)(wxGrid* self,int row,wxString* label)
-{
-	self->SetRowLabelValue(row,*label);
-}
-	
-EWXWEXPORT(void,wxGrid_SetColLabelValue)(wxGrid* self,int col,wxString* label)
-{
-	self->SetColLabelValue(col,*label);
-}
-	
-EWXWEXPORT(void,wxGrid_SetGridLineColour)(wxGrid* self,wxColour* col)
-{
-	self->SetGridLineColour(*col);
-}
-	
-EWXWEXPORT(void,wxGrid_SetCellHighlightColour)(wxGrid* self,wxColour* col)
-{
-	self->SetCellHighlightColour(*col);
-}
-	
-EWXWEXPORT(void,wxGrid_EnableDragRowSize)(wxGrid* self,bool enable)
-{
-	self->EnableDragRowSize(enable);
-}
-	
-EWXWEXPORT(void,wxGrid_DisableDragRowSize)(wxGrid* self)
-{
-	self->DisableDragRowSize();
-}
-	
-EWXWEXPORT(bool,wxGrid_CanDragRowSize)(wxGrid* self)
-{
-	return self->CanDragRowSize();
-}
-	
-EWXWEXPORT(void,wxGrid_EnableDragColSize)(wxGrid* self,bool enable)
-{
-	self->EnableDragColSize(enable);
-}
-	
-EWXWEXPORT(void,wxGrid_DisableDragColSize)(wxGrid* self)
-{
-	self->DisableDragColSize();
-}
-	
-EWXWEXPORT(bool,wxGrid_CanDragColSize)(wxGrid* self)
-{
-	return self->CanDragColSize();
-}
-	
-EWXWEXPORT(void,wxGrid_EnableDragGridSize)(wxGrid* self,bool enable)
-{
-	self->EnableDragGridSize(enable);
-}
-	
-EWXWEXPORT(void,wxGrid_DisableDragGridSize)(wxGrid* self)
-{
-	self->DisableDragGridSize();
-}
-	
-EWXWEXPORT(bool,wxGrid_CanDragGridSize)(wxGrid* self)
-{
-	return self->CanDragGridSize();
-}
-	
-EWXWEXPORT(void,wxGrid_SetRowAttr)(wxGrid* self,int row,wxGridCellAttr* attr)
-{
-	self->SetRowAttr(row, attr);
-}
-	
-EWXWEXPORT(void,wxGrid_SetColAttr)(wxGrid* self,int col,wxGridCellAttr* attr)
-{
-	self->SetColAttr(col, attr);
-}
-	
-EWXWEXPORT(void,wxGrid_SetColFormatBool)(wxGrid* self,int col)
-{
-	self->SetColFormatBool(col);
-}
-	
-EWXWEXPORT(void,wxGrid_SetColFormatNumber)(wxGrid* self,int col)
-{
-	self->SetColFormatNumber(col);
-}
-	
-EWXWEXPORT(void,wxGrid_SetColFormatFloat)(wxGrid* self,int col,int width,int precision)
-{
-	self->SetColFormatFloat(col, width, precision);
-}
-	
-EWXWEXPORT(void,wxGrid_SetColFormatCustom)(wxGrid* self,int col,wxString* typeName)
-{
-	self->SetColFormatCustom(col,*typeName);
-}
-	
-EWXWEXPORT(void,wxGrid_EnableGridLines)(wxGrid* self,bool enable)
-{
-	self->EnableGridLines(enable);
-}
-	
-EWXWEXPORT(bool,wxGrid_GridLinesEnabled)(wxGrid* self)
-{
-	return self->GridLinesEnabled();
-}
-	
-EWXWEXPORT(int,wxGrid_GetDefaultRowSize)(wxGrid* self)
-{
-	return self->GetDefaultRowSize();
-}
-	
-EWXWEXPORT(int,wxGrid_GetRowSize)(wxGrid* self,int row)
-{
-	return self->GetRowSize(row);
-}
-	
-EWXWEXPORT(int,wxGrid_GetDefaultColSize)(wxGrid* self)
-{
-	return self->GetDefaultColSize();
-}
-	
-EWXWEXPORT(int,wxGrid_GetColSize)(wxGrid* self,int col)
-{
-	return self->GetColSize(col);
-}
-	
-EWXWEXPORT(void,wxGrid_GetDefaultCellBackgroundColour)(wxGrid* self,wxColour* colour)
-{
-	*colour = self->GetDefaultCellBackgroundColour();
-}
-	
-EWXWEXPORT(void,wxGrid_GetCellBackgroundColour)(wxGrid* self,int row,int col,wxColour* colour)
-{
-	*colour = self->GetCellBackgroundColour(row, col);
-}
-	
-EWXWEXPORT(void,wxGrid_GetDefaultCellTextColour)(wxGrid* self,wxColour* colour)
-{
-	*colour = self->GetDefaultCellTextColour();
-}
-	
-EWXWEXPORT(void,wxGrid_GetCellTextColour)(wxGrid* self,int row,int col,wxColour* colour)
-{
-	*colour = self->GetCellTextColour(row, col);
-}
-	
-EWXWEXPORT(void,wxGrid_GetDefaultCellFont)(wxGrid* self,wxFont* font)
-{
-	*font = self->GetDefaultCellFont();
-}
-	
-EWXWEXPORT(void,wxGrid_GetCellFont)(wxGrid* self,int row,int col,wxFont* font)
-{
-	*font = self->GetCellFont(row, col);
-}
-	
-EWXWEXPORT(void,wxGrid_GetDefaultCellAlignment)(wxGrid* self,int* horiz,int* vert)
-{
-	self->GetDefaultCellAlignment(horiz,vert);
-}
-	
-EWXWEXPORT(void,wxGrid_GetCellAlignment)(wxGrid* self,int row,int col,int* horiz,int* vert)
-{
-	self->GetCellAlignment(row, col, horiz,vert);
-}
-	
-EWXWEXPORT(void,wxGrid_SetDefaultRowSize)(wxGrid* self,int height,bool resizeExistingRows)
-{
-	self->SetDefaultRowSize(height, resizeExistingRows);
-}
-	
-EWXWEXPORT(void,wxGrid_SetRowSize)(wxGrid* self,int row,int height)
-{
-	self->SetRowSize(row, height);
-}
-	
-EWXWEXPORT(void,wxGrid_SetDefaultColSize)(wxGrid* self,int width,bool resizeExistingCols)
-{
-	self->SetDefaultColSize(width, resizeExistingCols);
-}
-	
-EWXWEXPORT(void,wxGrid_SetColSize)(wxGrid* self,int col,int width)
-{
-	self->SetColSize(col, width);
-}
-	
-EWXWEXPORT(void,wxGrid_AutoSizeColumn)(wxGrid* self,int col,bool setAsMin)
-{
-	self->AutoSizeColumn(col, setAsMin);
-}
-	
-EWXWEXPORT(void,wxGrid_AutoSizeRow)(wxGrid* self,int row,bool setAsMin)
-{
-	self->AutoSizeRow(row, setAsMin);
-}
-	
-EWXWEXPORT(void,wxGrid_AutoSizeColumns)(wxGrid* self,bool setAsMin)
-{
-	self->AutoSizeColumns(setAsMin);
-}
-	
-EWXWEXPORT(void,wxGrid_AutoSizeRows)(wxGrid* self,bool setAsMin)
-{
-	self->AutoSizeRows(setAsMin);
-}
-	
-EWXWEXPORT(void,wxGrid_AutoSize)(wxGrid* self)
-{
-	self->AutoSize();
-}
-	
-EWXWEXPORT(void,wxGrid_SetColMinimalWidth)(wxGrid* self,int col,int width)
-{
-	self->SetColMinimalWidth(col, width);
-}
-	
-EWXWEXPORT(void,wxGrid_SetRowMinimalHeight)(wxGrid* self,int row,int width)
-{
-	self->SetRowMinimalHeight(row, width);
-}
-	
-EWXWEXPORT(void,wxGrid_SetDefaultCellBackgroundColour)(wxGrid* self,wxColour* colour)
-{
-	self->SetDefaultCellBackgroundColour(*colour);
-}
-	
-EWXWEXPORT(void,wxGrid_SetCellBackgroundColour)(wxGrid* self,int row,int col,wxColour* colour)
-{
-	self->SetCellBackgroundColour(row, col,* colour);
-}
-	
-EWXWEXPORT(void,wxGrid_SetDefaultCellTextColour)(wxGrid* self,wxColour* colour)
-{
-	self->SetDefaultCellTextColour(*colour);
-}
-	
-EWXWEXPORT(void,wxGrid_SetCellTextColour)(wxGrid* self,int row,int col,wxColour* colour)
-{
-	self->SetCellTextColour(row, col,* colour);
-}
-	
-EWXWEXPORT(void,wxGrid_SetDefaultCellFont)(wxGrid* self,wxFont* font)
-{
-	self->SetDefaultCellFont(*font);
-}
-	
-EWXWEXPORT(void,wxGrid_SetCellFont)(wxGrid* self,int row,int col,wxFont* font)
-{
-	self->SetCellFont(row, col,*font );
-}
-	
-EWXWEXPORT(void,wxGrid_SetDefaultCellAlignment)(wxGrid* self,int horiz,int vert)
-{
-	self->SetDefaultCellAlignment(horiz, vert);
-}
-	
-EWXWEXPORT(void,wxGrid_SetCellAlignment)(wxGrid* self,int row,int col,int horiz,int vert)
-{
-	self->SetCellAlignment(row, col, horiz, vert);
-}
-	
-EWXWEXPORT(void,wxGrid_SetDefaultRenderer)(wxGrid* self,void* renderer)
-{
-	self->SetDefaultRenderer((wxGridCellRenderer*)renderer);
-}
-	
-EWXWEXPORT(void,wxGrid_SetCellRenderer)(wxGrid* self,int row,int col,void* renderer)
-{
-	self->SetCellRenderer(row, col, (wxGridCellRenderer*)renderer);
-}
-	
-EWXWEXPORT(void*,wxGrid_GetDefaultRenderer)(wxGrid* self)
-{
-	return (void*)self->GetDefaultRenderer();
-}
-	
-EWXWEXPORT(void*,wxGrid_GetCellRenderer)(wxGrid* self,int row,int col)
-{
-	return (void*)self->GetCellRenderer(row, col);
-}
-	
-EWXWEXPORT(void,wxGrid_SetDefaultEditor)(wxGrid* self,wxGridCellEditor* editor)
-{
-	self->SetDefaultEditor(editor);
-}
-	
-EWXWEXPORT(void,wxGrid_SetCellEditor)(wxGrid* self,int row,int col,wxGridCellEditor* editor)
-{
-	self->SetCellEditor(row, col,editor);
-}
-	
-EWXWEXPORT(void*,wxGrid_GetDefaultEditor)(wxGrid* self)
-{
-	return (void*)self->GetDefaultEditor();
-}
-	
-EWXWEXPORT(void*,wxGrid_GetCellEditor)(wxGrid* self,int row,int col)
-{
-	return (void*)self->GetCellEditor(row, col);
-}
-	
-EWXWEXPORT(wxString*,wxGrid_GetCellValue)(wxGrid* self,int row,int col)
-{
-	wxString *result = new wxString();
-	*result = self->GetCellValue(row, col);
-	return result;
-}
-	
-EWXWEXPORT(void,wxGrid_SetCellValue)(wxGrid* self,int row,int col,wxString* s)
-{
-	self->SetCellValue(row, col,* s);
-}
-	
-EWXWEXPORT(bool,wxGrid_IsReadOnly)(wxGrid* self,int row,int col)
-{
-	return self->IsReadOnly(row, col);
-}
-	
-EWXWEXPORT(void,wxGrid_SetReadOnly)(wxGrid* self,int row,int col,bool isReadOnly)
-{
-	self->SetReadOnly(row, col, isReadOnly);
-}
-	
-EWXWEXPORT(void,wxGrid_SelectRow)(wxGrid* self,int row,bool addToSelected)
-{
-	self->SelectRow(row, addToSelected);
-}
-	
-EWXWEXPORT(void,wxGrid_SelectCol)(wxGrid* self,int col,bool addToSelected)
-{
-	self->SelectCol(col, addToSelected);
-}
-	
-EWXWEXPORT(void,wxGrid_SelectBlock)(wxGrid* self,int topRow,int leftCol,int bottomRow,int rightCol,bool addToSelected)
-{
-	self->SelectBlock(topRow, leftCol, bottomRow, rightCol, addToSelected);
-}
-	
-EWXWEXPORT(void,wxGrid_SelectAll)(wxGrid* self)
-{
-	self->SelectAll();
-}
-	
-EWXWEXPORT(bool,wxGrid_IsSelection)(wxGrid* self)
-{
-	return self->IsSelection();
-}
-	
-EWXWEXPORT(void,wxGrid_ClearSelection)(wxGrid* self)
-{
-	self->ClearSelection();
-}
-	
-EWXWEXPORT(bool,wxGrid_IsInSelection)(wxGrid* self,int row,int col)
-{
-	return self->IsInSelection(row, col );
-}
-	
-EWXWEXPORT(wxRect*,wxGrid_BlockToDeviceRect)(wxGrid* self,int top,int left,int bottom,int right)
-{
-	wxRect* rct = new wxRect();
-	*rct = self->BlockToDeviceRect(wxGridCellCoords(top, left), wxGridCellCoords(bottom, right));
-	return rct;
-}
-	
-EWXWEXPORT(void,wxGrid_GetSelectionBackground)(wxGrid* self,wxColour* colour)
-{
-	*colour = self->GetSelectionBackground();
-}
-	
-EWXWEXPORT(void,wxGrid_GetSelectionForeground)(wxGrid* self,wxColour* colour)
-{
-	*colour = self->GetSelectionForeground();
-}
-	
-EWXWEXPORT(void,wxGrid_SetSelectionBackground)(wxGrid* self,wxColour* c)
-{
-	self->SetSelectionBackground(*c);
-}
-	
-EWXWEXPORT(void,wxGrid_SetSelectionForeground)(wxGrid* self,wxColour* c)
-{
-	self->SetSelectionForeground(*c);
-}
-	
-EWXWEXPORT(void,wxGrid_RegisterDataType)(wxGrid* self,wxString* typeName,void* renderer,wxGridCellEditor* editor)
-{
-	self->RegisterDataType(*typeName, (wxGridCellRenderer*)renderer, editor);
-}
-	
-EWXWEXPORT(void*,wxGrid_GetDefaultEditorForCell)(wxGrid* self,int row,int col)
-{
-	return (void*)self->GetDefaultEditorForCell(row, col);
-}
-	
-EWXWEXPORT(void*,wxGrid_GetDefaultRendererForCell)(wxGrid* self,int row,int col)
-{
-	return (void*)self->GetDefaultRendererForCell(row, col);
-}
-	
-EWXWEXPORT(void*,wxGrid_GetDefaultEditorForType)(wxGrid* self,wxString* typeName)
-{
-	return (void*)self->GetDefaultEditorForType(*typeName);
-}
-	
-EWXWEXPORT(void*,wxGrid_GetDefaultRendererForType)(wxGrid* self,wxString* typeName)
-{
-	return (void*)self->GetDefaultRendererForType(*typeName);
-}
-	
-EWXWEXPORT(void,wxGrid_SetMargins)(wxGrid* self,int extraWidth,int extraHeight)
-{
-	self->SetMargins(extraWidth, extraHeight);
-}
-
-EWXWEXPORT(void,wxGrid_GetSelectedCells)(wxGrid* self,wxGridCellCoordsArray* _arr)
-{
-	*_arr = self->GetSelectedCells();
-}
-	
-EWXWEXPORT(void,wxGrid_GetSelectionBlockTopLeft)(wxGrid* self,wxGridCellCoordsArray* _arr)
-{
-	*_arr = self->GetSelectionBlockTopLeft();
-}
-	
-EWXWEXPORT(void,wxGrid_GetSelectionBlockBottomRight)(wxGrid* self,wxGridCellCoordsArray* _arr)
-{
-	*_arr = self->GetSelectionBlockBottomRight();
-}
-	
-EWXWEXPORT(int,wxGrid_GetSelectedRows)(wxGrid* self,void* _arr)
-{
-	wxArrayInt arr = self->GetSelectedRows();
-	if (_arr)
-	{
-		for (unsigned int i = 0; i < arr.GetCount(); i++)
-			((int*)_arr)[i] = arr.Item(i);
-	}
-	return arr.GetCount();
-}
-	
-EWXWEXPORT(int,wxGrid_GetSelectedCols)(wxGrid* self,void* _arr)
-{
-	wxArrayInt arr = self->GetSelectedCols();
-	if (_arr)
-	{
-		for (unsigned int i = 0; i < arr.GetCount(); i++)
-			((int*)_arr)[i] = arr.Item(i);
-	}
-	return arr.GetCount();
-}
-	
-
-
-EWXWEXPORT(void*,ELJGridTable_Create)(void* self,void* _EifGetNumberRows,void* _EifGetNumberCols,void* _EifGetValue,void* _EifSetValue,void* _EifIsEmptyCell,void* _EifClear,void* _EifInsertRows,void* _EifAppendRows,void* _EifDeleteRows,void* _EifInsertCols,void* _EifAppendCols,void* _EifDeleteCols,void* _EifSetRowLabelValue,void* _EifSetColLabelValue,void* _EifGetRowLabelValue,void* _EifGetColLabelValue)
-{
-	return (void*)new ELJGridTable (self,
-	                                _EifGetNumberRows,
-	                                _EifGetNumberCols,
-	                                _EifGetValue,
-	                                _EifSetValue,
-	                                _EifIsEmptyCell,
-	                                _EifClear,
-	                                _EifInsertRows,
-	                                _EifAppendRows,
-	                                _EifDeleteRows,
-	                                _EifInsertCols,
-	                                _EifAppendCols,
-	                                _EifDeleteCols,
-	                                _EifSetRowLabelValue,
-	                                _EifSetColLabelValue,
-	                                _EifGetRowLabelValue,
-	                                _EifGetColLabelValue);
-}
-	
-EWXWEXPORT(void,ELJGridTable_Delete)(ELJGridTable* self)
-{
-	delete self;
-}
-
-EWXWEXPORT(void*,ELJGridTable_GetView)(ELJGridTable* self)
-{
-	return (void*)self->GetView();
-}
-
-EWXWEXPORT(void,ELJGridTable_SendTableMessage)(ELJGridTable* self,int id,int val1,int val2)
-{
-	wxGridTableMessage msg(self, id, val1, val2);
-	self->GetView()->ProcessTableMessage(msg);
-}
-
-EWXWEXPORT(int,wxGridEvent_GetRow)(wxGridEvent* self)
-{
-	return self->GetRow();
-}
-	
-EWXWEXPORT(int,wxGridEvent_GetCol)(wxGridEvent* self)
-{
-	return self->GetCol();
-}
-	
-EWXWEXPORT(wxPoint*,wxGridEvent_GetPosition)(wxGridEvent* self)
-{
-	wxPoint* pt = new wxPoint();
-	*pt = self->GetPosition();
-	return pt;
-}
-	
-EWXWEXPORT(bool,wxGridEvent_Selecting)(wxGridEvent* self)
-{
-	return self->Selecting();
-}
-	
-EWXWEXPORT(bool,wxGridEvent_ControlDown)(wxGridEvent* self)
-{
-	return self->ControlDown();
-}
-	
-EWXWEXPORT(bool,wxGridEvent_MetaDown)(wxGridEvent* self)
-{
-	return self->MetaDown();
-}
-	
-EWXWEXPORT(bool,wxGridEvent_ShiftDown)(wxGridEvent* self)
-{
-	return self->ShiftDown();
-}
-	
-EWXWEXPORT(bool,wxGridEvent_AltDown)(wxGridEvent* self)
-{
-	return self->AltDown();
-}
-	
-
-EWXWEXPORT(int,wxGridSizeEvent_GetRowOrCol)(wxGridSizeEvent* self)
-{
-	return self->GetRowOrCol();
-}
-	
-EWXWEXPORT(wxPoint*,wxGridSizeEvent_GetPosition)(wxGridSizeEvent* self)
-{
-	wxPoint* pt = new wxPoint();
-	*pt = self->GetPosition();
-	return pt;
-}
-	
-EWXWEXPORT(bool,wxGridSizeEvent_ControlDown)(wxGridSizeEvent* self)
-{
-	return self->ControlDown();
-}
-	
-EWXWEXPORT(bool,wxGridSizeEvent_MetaDown)(wxGridSizeEvent* self)
-{
-	return self->MetaDown();
-}
-	
-EWXWEXPORT(bool,wxGridSizeEvent_ShiftDown)(wxGridSizeEvent* self)
-{
-	return self->ShiftDown();
-}
-	
-EWXWEXPORT(bool,wxGridSizeEvent_AltDown)(wxGridSizeEvent* self)
-{
-	return self->AltDown();
-}
-	
-
-EWXWEXPORT(void,wxGridRangeSelectEvent_GetTopLeftCoords)(wxGridRangeSelectEvent* self,int* _c,int* _r)
-{
-	wxGridCellCoords crd = self->GetTopLeftCoords();
-	*_c = crd.GetRow();
-	*_r = crd.GetCol();
-}
-	
-EWXWEXPORT(void,wxGridRangeSelectEvent_GetBottomRightCoords)(wxGridRangeSelectEvent* self,int* _c,int* _r)
-{
-	wxGridCellCoords crd = self->GetBottomRightCoords();
-	*_c = crd.GetRow();
-	*_r = crd.GetCol();
-}
-	
-EWXWEXPORT(int,wxGridRangeSelectEvent_GetTopRow)(wxGridRangeSelectEvent* self)
-{
-	return self->GetTopRow();
-}
-	
-EWXWEXPORT(int,wxGridRangeSelectEvent_GetBottomRow)(wxGridRangeSelectEvent* self)
-{
-	return self->GetBottomRow();
-}
-	
-EWXWEXPORT(int,wxGridRangeSelectEvent_GetLeftCol)(wxGridRangeSelectEvent* self)
-{
-	return self->GetLeftCol();
-}
-	
-EWXWEXPORT(int,wxGridRangeSelectEvent_GetRightCol)(wxGridRangeSelectEvent* self)
-{
-	return self->GetRightCol();
-}
-	
-EWXWEXPORT(bool,wxGridRangeSelectEvent_Selecting)(wxGridRangeSelectEvent* self)
-{
-	return self->Selecting();
-}
-	
-EWXWEXPORT(bool,wxGridRangeSelectEvent_ControlDown)(wxGridRangeSelectEvent* self)
-{
-	return self->ControlDown();
-}
-	
-EWXWEXPORT(bool,wxGridRangeSelectEvent_MetaDown)(wxGridRangeSelectEvent* self)
-{
-	return self->MetaDown();
-}
-	
-EWXWEXPORT(bool,wxGridRangeSelectEvent_ShiftDown)(wxGridRangeSelectEvent* self)
-{
-	return self->ShiftDown();
-}
-	
-EWXWEXPORT(bool,wxGridRangeSelectEvent_AltDown)(wxGridRangeSelectEvent* self)
-{
-	return self->AltDown();
-}
-	
-
-EWXWEXPORT(int,wxGridEditorCreatedEvent_GetRow)(wxGridEditorCreatedEvent* self)
-{
-	return self->GetRow();
-}
-	
-EWXWEXPORT(int,wxGridEditorCreatedEvent_GetCol)(wxGridEditorCreatedEvent* self)
-{
-	return self->GetCol();
-}
-	
-EWXWEXPORT(void*,wxGridEditorCreatedEvent_GetControl)(wxGridEditorCreatedEvent* self)
-{
-	return (void*)self->GetControl();
-}
-	
-EWXWEXPORT(void,wxGridEditorCreatedEvent_SetRow)(wxGridEditorCreatedEvent* self,int row)
-{
-	self->SetRow(row);
-}
-	
-EWXWEXPORT(void,wxGridEditorCreatedEvent_SetCol)(wxGridEditorCreatedEvent* self,int col)
-{
-	self->SetCol(col);
-}
-	
-EWXWEXPORT(void,wxGridEditorCreatedEvent_SetControl)(wxGridEditorCreatedEvent* self,wxControl* ctrl)
-{
-	self->SetControl(ctrl);
-}
-	
-
-} 
− src/cpp/eljhelpcontroller.cpp
@@ -1,135 +0,0 @@-#include "wrapper.h"
-#include "wx/fs_zip.h"
-
-extern "C"
-{
-
-EWXWEXPORT(void*,wxHtmlHelpController_Create)(int _style)
-{
-	wxGetApp().InitZipFileSystem();
-	wxGetApp().InitImageHandlers();
-	return (void*)new wxHtmlHelpController(_style);
-}
-
-EWXWEXPORT(void,wxHtmlHelpController_Delete)(void* self)
-{
-	delete (wxHtmlHelpController*)self;
-}
-
-EWXWEXPORT(void,wxHtmlHelpController_SetTitleFormat)(void* self,wxString* format)
-{
-	((wxHtmlHelpController*)self)->SetTitleFormat(*format);
-}
-	
-EWXWEXPORT(void,wxHtmlHelpController_SetTempDir)(void* self,wxString* path)
-{
-	((wxHtmlHelpController*)self)->SetTempDir(*path);
-}
-	
-EWXWEXPORT(bool,wxHtmlHelpController_AddBook)(wxHtmlHelpController* self,wxString* book,bool show_wait_msg)
-{
-	return self->AddBook(*book, show_wait_msg);
-}
-	
-EWXWEXPORT(void,wxHtmlHelpController_Display)(wxHtmlHelpController* self,wxString* x)
-{
-	self->Display(*x);
-}
-	
-EWXWEXPORT(void,wxHtmlHelpController_DisplayNumber)(wxHtmlHelpController* self,int id)
-{
-	self->Display(id);
-}
-	
-EWXWEXPORT(void,wxHtmlHelpController_DisplayContents)(wxHtmlHelpController* self)
-{
-	self->DisplayContents();
-}
-	
-EWXWEXPORT(void,wxHtmlHelpController_DisplayIndex)(wxHtmlHelpController* self)
-{
-	self->DisplayIndex();
-}
-	
-EWXWEXPORT(bool,wxHtmlHelpController_KeywordSearch)(wxHtmlHelpController* self,wxString* keyword)
-{
-	return self->KeywordSearch(*keyword);
-}
-	
-EWXWEXPORT(void*,wxHtmlHelpController_GetFrame)(void* self)
-{
-	return (void*)((wxHtmlHelpController*)self)->GetFrame();
-}
-	
-EWXWEXPORT(void,wxHtmlHelpController_UseConfig)(void* self,wxConfigBase* config,wxString* rootpath)
-{
-	((wxHtmlHelpController*)self)->UseConfig(config,*rootpath);
-}
-	
-EWXWEXPORT(void,wxHtmlHelpController_ReadCustomization)(void* self,wxConfigBase* cfg,wxString* path)
-{
-	((wxHtmlHelpController*)self)->ReadCustomization(cfg,*path);
-}
-	
-EWXWEXPORT(void,wxHtmlHelpController_WriteCustomization)(void* self,wxConfigBase* cfg,wxString* path)
-{
-	((wxHtmlHelpController*)self)->WriteCustomization(cfg,*path);
-}
-	
-EWXWEXPORT(bool,wxHtmlHelpController_Initialize)(wxHtmlHelpController* self,wxString* file)
-{
-	return self->Initialize(*file);
-}
-	
-EWXWEXPORT(void,wxHtmlHelpController_SetViewer)(void* self,wxString* viewer,int flags)
-{
-	((wxHtmlHelpController*)self)->SetViewer(*viewer, (long)flags);
-}
-	
-EWXWEXPORT(bool,wxHtmlHelpController_LoadFile)(wxHtmlHelpController* self,wxString* file)
-{
-	return self->LoadFile(*file);
-}
-	
-EWXWEXPORT(bool,wxHtmlHelpController_DisplaySectionNumber)(wxHtmlHelpController* self,int sectionNo)
-{
-	return self->DisplaySection(sectionNo);
-}
-	
-EWXWEXPORT(bool,wxHtmlHelpController_DisplaySection)(wxHtmlHelpController* self,wxString* section)
-{
-	return self->DisplaySection(*section);
-}
-	
-EWXWEXPORT(bool,wxHtmlHelpController_DisplayBlock)(wxHtmlHelpController* self,int blockNo)
-{
-	return self->DisplayBlock((long)blockNo);
-}
-	
-EWXWEXPORT(void,wxHtmlHelpController_SetFrameParameters)(void* self,wxString* title,int width,int height,int pos_x,int pos_y,bool newFrameEachTime)
-{
-	((wxHtmlHelpController*)self)->SetFrameParameters(*title, wxSize(width, height), wxPoint(pos_x, pos_y), newFrameEachTime);
-}
-	
-EWXWEXPORT(void*,wxHtmlHelpController_GetFrameParameters)(void* self,void* title,int* width,int* height,int* pos_x,int* pos_y,int* newFrameEachTime)
-{
-	void* result;
-	wxPoint pos;
-	wxSize size;
-
-	result = (void*)((wxHtmlHelpController*)self)->GetFrameParameters(&size, &pos, (bool*)newFrameEachTime);
-	
-	*height = size.y;
-	*width  = size.x;
-	*pos_x  = pos.x;
-	*pos_y  = pos.y;
-	
-	return result;
-}
-	
-EWXWEXPORT(bool,wxHtmlHelpController_Quit)(wxHtmlHelpController* self)
-{
-	return self->Quit();
-}
-	
-}
− src/cpp/eljicnbndl.cpp
@@ -1,49 +0,0 @@-#include "wrapper.h"
-#if wxVERSION_NUMBER >= 2400
-#include "wx/artprov.h"
-
-extern "C"
-{
-
-EWXWEXPORT(void*,wxIconBundle_CreateDefault)()
-{
-	return (void*)new wxIconBundle();
-}
-	
-EWXWEXPORT(void*,wxIconBundle_CreateFromFile)(wxString* file,int type)
-{
-	return (void*)new wxIconBundle(*file, (long)type);
-}
-	
-EWXWEXPORT(void*,wxIconBundle_CreateFromIcon)(void* icon)
-{
-	return (void*) new wxIconBundle(*((wxIcon*)icon));
-}
-	
-EWXWEXPORT(void,wxIconBundle_Assign)(void* _obj,void* _ref)
-{
-	*((wxIconBundle*)_ref) = *((wxIconBundle*)_obj);
-}
-	
-EWXWEXPORT(void,wxIconBundle_Delete)(void* _obj)
-{
-	delete (wxIconBundle*)_obj;
-}
-	
-EWXWEXPORT(void,wxIconBundle_AddIconFromFile)(void* _obj,wxString* file,int type)
-{
-	((wxIconBundle*)_obj)->AddIcon(*file, (long)type);
-}
-	
-EWXWEXPORT(void,wxIconBundle_AddIcon)(void* _obj,void* icon)
-{
-	((wxIconBundle*)_obj)->AddIcon(*((wxIcon*)icon));
-}
-	
-EWXWEXPORT(void,wxIconBundle_GetIcon)(void* _obj,int w,int h,void* _ref)
-{
-	*((wxIcon*)_ref) = ((wxIconBundle*)_obj)->GetIcon(wxSize(w, h));
-}
-
-}
-#endif
− src/cpp/eljicon.cpp
@@ -1,128 +0,0 @@-#include "wrapper.h"--extern "C"-{--EWXWEXPORT(void*,wxIcon_CreateDefault)()-{-	return (void*)new wxIcon();-}--EWXWEXPORT(void,wxIcon_Delete)(wxIcon* self)-{-	delete self;-}--EWXWEXPORT(void*,wxIcon_FromRaw)(void* data,int width,int height)-{-#ifdef __WIN32__-	return (void*)new wxIcon((const wxChar*)data, wxBITMAP_TYPE_ICO, width, height);-#else-	return (void*)new wxIcon((const wxChar*)data, wxBITMAP_TYPE_ANY, width, height);-#endif-}--EWXWEXPORT(void*,wxIcon_FromXPM)(void* data)-{-	return (void*)new wxIcon((const wxChar*)data);-}--EWXWEXPORT(void*,wxIcon_CreateLoad)(wxString* name,long type,int width,int height)-{-	return (void*)new wxIcon(*name, (wxBitmapType)type, width, height);-}--EWXWEXPORT(bool,wxIcon_Load)(wxIcon* self,wxString* name,long type,int width,int height)-{-#ifdef __WIN32__-	return self->LoadFile(*name, (wxBitmapType)type, width, height);-#else-	return self->LoadFile(*name, (wxBitmapType)type);-#endif-}--EWXWEXPORT(void,wxIcon_CopyFromBitmap)(wxIcon* self,wxBitmap* bmp)-{-#ifdef __WIN32__-	self->CopyFromBitmap(*bmp);-#endif-}--EWXWEXPORT(bool,wxIcon_IsOk)(wxIcon* self)-{-	return self->IsOk();-}--EWXWEXPORT(int,wxIcon_GetDepth)(wxIcon* self)-{-	return self->GetDepth();-}--EWXWEXPORT(int,wxIcon_GetWidth)(wxIcon* self)-{-	return self->GetWidth();-}--EWXWEXPORT(int,wxIcon_GetHeight)(wxIcon* self)-{-	return self->GetHeight();-}--#if (wxVERSION_NUMBER >= 2800)-EWXWEXPORT(void,wxIcon_SetDepth)(wxIcon* self,int depth)-{-	self->SetDepth(depth);-}--EWXWEXPORT(void,wxIcon_SetWidth)(wxIcon* self,int width)-{-	self->SetWidth(width);-}--EWXWEXPORT(void,wxIcon_SetHeight)(wxIcon* self,int height)-{-	self->SetHeight(height);-}-#endif--EWXWEXPORT(void,wxIcon_Assign)(wxIcon* self,void* other)-{-	*self = *((wxIcon*)other);-}--EWXWEXPORT(bool,wxIcon_IsEqual)(wxIcon* self,wxIcon* other)-{-#if (wxVERSION_NUMBER <= 2800)-	return *self == *other;-#else-	wxIcon* icon1 = self;-	wxIcon* icon2 = other;-	wxBitmap bmp1;-	wxBitmap bmp2;-	bmp1.CopyFromIcon(*icon1);-	bmp2.CopyFromIcon(*icon2);-	wxImage image1 = (wxImage)bmp1.ConvertToImage();-	wxImage image2 = (wxImage)bmp2.ConvertToImage();-	wxImage* img1 = &image1;-	wxImage* img2 = &image2;-	if( (icon1->GetWidth() == icon2->GetWidth()) &&-		(icon1->GetHeight() == icon2->GetHeight()) &&-		(icon1->GetDepth() == icon2->GetDepth())){-		bool equal = true;-		for(int sx=0;sx<(icon1->GetWidth());sx++){-			for(int sy=0;sy<(icon1->GetHeight());sy++){-				equal = equal &&-					(img1->GetRed(sx,sy)==img2->GetRed(sx,sy) &&-					img1->GetGreen(sx,sy)==img2->GetGreen(sx,sy) &&-					img1->GetBlue(sx,sy)==img2->GetBlue(sx,sy) &&-					img1->GetAlpha(sx,sy)==img2->GetAlpha(sx,sy));-			}-		}-		return equal;-	} else {-		return false;-	}-#endif-}--}
− src/cpp/eljimage.cpp
@@ -1,247 +0,0 @@-#include "wrapper.h"
-
-extern "C"
-{
-
-EWXWEXPORT(wxImage*,wxImage_CreateDefault)()
-{
-	return new wxImage();
-}
-
-EWXWEXPORT(wxImage*,wxImage_CreateSized)(int width,int height)
-{
-	return new wxImage(width, height);
-}
-
-EWXWEXPORT(wxImage*,wxImage_CreateFromByteString)(char* data,size_t length,int type)
-{
-	wxMemoryInputStream in(data,length);
-	return new wxImage(in, type);
-}
-
-EWXWEXPORT(wxImage*,wxImage_CreateFromLazyByteString)(char* data,size_t length,int type)
-{
-	wxMemoryInputStream in(data,length);
-	return new wxImage(in, type);
-}
-
-EWXWEXPORT(size_t,wxImage_ConvertToByteString)(wxImage* self,int type,char* data)
-{
-	wxMemoryOutputStream out;
-	self->SaveFile(out, type);
-	size_t len = out.GetLength();
-        return out.CopyTo(data, len);
-}
-
-EWXWEXPORT(size_t,wxImage_ConvertToLazyByteString)(wxImage* self,int type,char* data)
-{
-	wxMemoryOutputStream out;
-	self->SaveFile(out, type);
-	size_t len = out.GetLength();
-        return out.CopyTo(data, len);
-}
-
-EWXWEXPORT(wxImage*,wxImage_CreateFromData)(int width,int height,void* data)
-{
-	return new wxImage(width, height, (unsigned char*)data, true);
-}
-
-EWXWEXPORT(wxImage*,wxImage_CreateFromFile)(wxString* name)
-{
-	return new wxImage(*name);
-}
-
-EWXWEXPORT(wxImage*,wxImage_CreateFromBitmap)(wxBitmap* bitmap)
-{
-	return new wxImage(bitmap->ConvertToImage());
-}
-
-EWXWEXPORT(void,wxImage_ConvertToBitmap)(wxImage* self,wxBitmap* bitmap)
-{
-	wxBitmap tmp(*self);
-	*bitmap = tmp;
-}
-	
-EWXWEXPORT(void,wxImage_Initialize)(wxImage* self,int width,int height)
-{
-	self->Create(width, height);
-}
-	
-EWXWEXPORT(void,wxImage_InitializeFromData)(wxImage* self,int width,int height,void* data)
-{
-	self->Create(width, height, (unsigned char*)data, true);
-}
-	
-EWXWEXPORT(void,wxImage_Destroy)(wxImage* self)
-{
-	self->Destroy();
-}
-	
-EWXWEXPORT(void,wxImage_GetSubImage)(wxImage* self,int x,int y,int w,int h,wxImage* image)
-{
-	*image = self->GetSubImage(wxRect(x, y, w, h));
-}
-	
-EWXWEXPORT(void,wxImage_Paste)(wxImage* self,wxImage* image,int x,int y)
-{
-	self->Paste(*image, x, y);
-}
-	
-EWXWEXPORT(void,wxImage_Scale)(wxImage* self,int width,int height,wxImage* image)
-{
-	*image = self->Scale(width, height);
-}
-	
-EWXWEXPORT(void,wxImage_Rescale)(wxImage* self,int width,int height)
-{
-	self->Rescale(width, height);
-}
-	
-EWXWEXPORT(void,wxImage_Rotate)(wxImage* self,double angle,int c_x,int c_y,bool interpolating,void* offset_after_rotation,wxImage* image)
-{
-	*image = self->Rotate(angle, wxPoint(c_x, c_y), interpolating, (wxPoint*)offset_after_rotation);
-}
-	
-EWXWEXPORT(void,wxImage_Rotate90)(wxImage* self,bool clockwise,wxImage* image)
-{
-	*image = self->Rotate90(clockwise);
-}
-	
-EWXWEXPORT(void,wxImage_Mirror)(wxImage* self,bool horizontally,wxImage* image)
-{
-	*image = self->Mirror(horizontally);
-}
-	
-EWXWEXPORT(void,wxImage_Replace)(wxImage* self,wxUint8 r1,wxUint8 g1,wxUint8 b1,wxUint8 r2,wxUint8 g2,wxUint8 b2)
-{
-	self->Replace(r1, g1, b1, r2, g2, b2);
-}
-	
-EWXWEXPORT(void,wxImage_SetRGB)(wxImage* self,int x,int y,wxUint8 r,wxUint8 g,wxUint8 b)
-{
-	self->SetRGB(x, y, r, g, b);
-}
-	
-EWXWEXPORT(wxUint8,wxImage_GetRed)(wxImage* self,int x,int y)
-{
-	return self->GetRed(x, y);
-}
-	
-EWXWEXPORT(wxUint8,wxImage_GetGreen)(wxImage* self,int x,int y)
-{
-	return self->GetGreen(x, y);
-}
-	
-EWXWEXPORT(wxUint8,wxImage_GetBlue)(wxImage* self,int x,int y)
-{
-	return self->GetBlue(x, y);
-}
-	
-EWXWEXPORT(bool,wxImage_CanRead)(wxString* name)
-{
-	return wxImage::CanRead(*name);
-}
-	
-EWXWEXPORT(bool,wxImage_LoadFile)(wxImage* self,wxString* name,int type)
-{
-	return self->LoadFile(*name, (long)type);
-}
-	
-EWXWEXPORT(bool,wxImage_SaveFile)(wxImage* self,wxString* name,int type)
-{
-	return self->SaveFile(*name, (long)type);
-}
-	
-EWXWEXPORT(bool,wxImage_IsOk)(wxImage* self)
-{
-	return self->IsOk();
-}
-	
-EWXWEXPORT(int,wxImage_GetWidth)(wxImage* self)
-{
-	return self->GetWidth();
-}
-	
-EWXWEXPORT(int,wxImage_GetHeight)(wxImage* self)
-{
-	return self->GetHeight();
-}
-	
-EWXWEXPORT(void*,wxImage_GetData)(wxImage* self)
-{
-	return (void*)self->GetData();
-}
-	
-EWXWEXPORT(void,wxImage_SetData)(wxImage* self,void* data)
-{
-	self->SetData((unsigned char*)data);
-}
-	
-EWXWEXPORT(void,wxImage_SetDataAndSize)(wxImage* self,char* data,int new_width,int new_height)
-{
-	self->SetData((unsigned char*)data, new_width, new_height);
-}
-	
-EWXWEXPORT(void,wxImage_SetMaskColour)(wxImage* self,wxUint8 r,wxUint8 g,wxUint8 b)
-{
-	self->SetMaskColour(r, g, b);
-}
-	
-EWXWEXPORT(wxUint8,wxImage_GetMaskRed)(wxImage* self)
-{
-	return self->GetMaskRed();
-}
-	
-EWXWEXPORT(wxUint8,wxImage_GetMaskGreen)(wxImage* self)
-{
-	return self->GetMaskGreen();
-}
-	
-EWXWEXPORT(wxUint8,wxImage_GetMaskBlue)(wxImage* self)
-{
-	return self->GetMaskBlue();
-}
-	
-EWXWEXPORT(void,wxImage_SetMask)(wxImage* self,bool mask)
-{
-	self->SetMask(mask);
-}
-	
-EWXWEXPORT(bool,wxImage_HasMask)(wxImage* self)
-{
-	return self->HasMask();
-}
-	
-EWXWEXPORT(int,wxImage_CountColours)(wxImage* self,int stopafter)
-{
-	return self->CountColours((long)stopafter);
-}
-
-EWXWEXPORT (wxString*,wxImage_GetOption)(wxImage* self,wxString* key)
-{
-	wxString *result = new wxString();
-	*result = self->GetOption(*key);
-	return result;
-}
-
-EWXWEXPORT (int,wxImage_GetOptionInt)(wxImage* self,wxString* key)
-{
-	return  self->GetOptionInt(*key);
-}
-
-EWXWEXPORT(void,wxImage_SetOption)(wxImage* self,wxString* key,wxString* value)
-{
-	self->SetOption(*key,*value);
-}
-
-EWXWEXPORT(void,wxImage_SetOptionInt)(wxImage* self,wxString* key,int value)
-{
-	self->SetOption(*key, value);
-}
-
-EWXWEXPORT(int,wxImage_HasOption)(wxImage* self,wxString* key)
-{
-	return self->HasOption(*key);
-}
-
-}
− src/cpp/eljimagelist.cpp
@@ -1,74 +0,0 @@-#include "wrapper.h"
-
-extern "C"
-{
-
-EWXWEXPORT(wxImageList*,wxImageList_Create)(int width,int height,bool mask,int initialCount)
-{
-	return new wxImageList(width, height, mask, initialCount);
-}
-	
-EWXWEXPORT(void,wxImageList_Delete)(wxImageList* self)
-{
-	delete self;
-}
-
-EWXWEXPORT(int,wxImageList_GetImageCount)(void* self)
-{
-	return ((wxImageList*)self)->GetImageCount();
-}
-	
-EWXWEXPORT(void,wxImageList_GetSize)(void* self,int index,int* width,int* height)
-{
-	bool success = ((wxImageList*)self)->GetSize(index,*width,*height);
-        if (!success) {
-          *width = -1;
-          *height = -1;
-        };
-}
-	
-EWXWEXPORT(int,wxImageList_AddBitmap)(void* self,wxBitmap* bitmap,wxBitmap* mask)
-{
-	return ((wxImageList*)self)->Add(*bitmap,*mask);
-}
-	
-EWXWEXPORT(int,wxImageList_AddMasked)(void* self,wxBitmap* bitmap,wxColour* maskColour)
-{
-	return ((wxImageList*)self)->Add(*bitmap,*maskColour);
-}
-	
-EWXWEXPORT(int,wxImageList_AddIcon)(void* self,wxIcon* icon)
-{
-	return ((wxImageList*)self)->Add(*icon);
-}
-	
-EWXWEXPORT(bool,wxImageList_Replace)(wxImageList* self,int index,wxBitmap* bitmap,wxBitmap* mask)
-{
-#ifdef __WIN32__
-	return self->Replace(index,*bitmap,*mask);
-#else
-	return self->Replace(index,*bitmap);
-#endif
-}
-	
-EWXWEXPORT(bool,wxImageList_ReplaceIcon)(wxImageList* self,int index,wxIcon* icon)
-{
-	return self->Replace(index,*icon);
-}
-	
-EWXWEXPORT(bool,wxImageList_Remove)(wxImageList* self,int index)
-{
-	return self->Remove(index);
-}
-	
-EWXWEXPORT(bool,wxImageList_RemoveAll)(wxImageList* self)
-{
-	return self->RemoveAll();
-}
-	
-EWXWEXPORT(bool,wxImageList_Draw)(wxImageList* self,int index,wxDC* dc,int x,int y,int flags,bool solidBackground)
-{
-	return self->Draw(index,*dc, x, y, flags, solidBackground);
-}
-	
-}
− src/cpp/eljlayoutconstraints.cpp
@@ -1,181 +0,0 @@-#include "wrapper.h"
-
-extern "C"
-{
-
-EWXWEXPORT(void*,wxLayoutConstraints_left)(void* self)
-{
-	return (void*)(&((wxLayoutConstraints*)self)->left);
-}
-	
-EWXWEXPORT(void*,wxLayoutConstraints_top)(void* self)
-{
-	return (void*)(&((wxLayoutConstraints*)self)->top);
-}
-	
-EWXWEXPORT(void*,wxLayoutConstraints_right)(void* self)
-{
-	return (void*)(&((wxLayoutConstraints*)self)->right);
-}
-	
-EWXWEXPORT(void*,wxLayoutConstraints_bottom)(void* self)
-{
-	return (void*)(&((wxLayoutConstraints*)self)->bottom);
-}
-	
-EWXWEXPORT(void*,wxLayoutConstraints_width)(void* self)
-{
-	return (void*)(&((wxLayoutConstraints*)self)->width);
-}
-	
-EWXWEXPORT(void*,wxLayoutConstraints_height)(void* self)
-{
-	return (void*)(&((wxLayoutConstraints*)self)->height);
-}
-	
-EWXWEXPORT(void*,wxLayoutConstraints_centreX)(void* self)
-{
-	return (void*)(&((wxLayoutConstraints*)self)->centreX);
-}
-	
-EWXWEXPORT(void*,wxLayoutConstraints_centreY)(void* self)
-{
-	return (void*)(&((wxLayoutConstraints*)self)->centreY);
-}
-	
-EWXWEXPORT(void*,wxLayoutConstraints_Create)()
-{
-	return (void*)new wxLayoutConstraints();
-}
-
-EWXWEXPORT(void,wxIndividualLayoutConstraint_Set)(void* self,int rel,wxWindowBase* otherW,int otherE,int val,int marg)
-{
-	((wxIndividualLayoutConstraint*)self)->Set((wxRelationship)rel,  otherW, (wxEdge)otherE, val, marg);
-}
-	
-EWXWEXPORT(void,wxIndividualLayoutConstraint_LeftOf)(void* self,wxWindowBase* sibling,int marg)
-{
-	((wxIndividualLayoutConstraint*)self)->LeftOf( sibling, (wxEdge)marg);
-}
-	
-EWXWEXPORT(void,wxIndividualLayoutConstraint_RightOf)(void* self,wxWindowBase* sibling,int marg)
-{
-	((wxIndividualLayoutConstraint*)self)->RightOf(sibling, (wxEdge)marg);
-}
-	
-EWXWEXPORT(void,wxIndividualLayoutConstraint_Above)(void* self,wxWindow* sibling,int marg)
-{
-	((wxIndividualLayoutConstraint*)self)->Above(sibling,marg);
-}
-	
-EWXWEXPORT(void,wxIndividualLayoutConstraint_Below)(void* self,wxWindow* sibling,int marg)
-{
-	((wxIndividualLayoutConstraint*)self)->Below(sibling, marg);
-}
-	
-EWXWEXPORT(void,wxIndividualLayoutConstraint_SameAs)(void* self,wxWindowBase* otherW,int edge,int marg)
-{
-	((wxIndividualLayoutConstraint*)self)->SameAs(otherW, (wxEdge)edge, (wxEdge)marg);
-}
-	
-EWXWEXPORT(void,wxIndividualLayoutConstraint_PercentOf)(void* self,wxWindowBase* otherW,int wh,int per)
-{
-	((wxIndividualLayoutConstraint*)self)->PercentOf(otherW, (wxEdge)wh, per);
-}
-	
-EWXWEXPORT(void,wxIndividualLayoutConstraint_Absolute)(void* self,int val)
-{
-	((wxIndividualLayoutConstraint*)self)->Absolute(val);
-}
-	
-EWXWEXPORT(void,wxIndividualLayoutConstraint_Unconstrained)(void* self)
-{
-	((wxIndividualLayoutConstraint*)self)->Unconstrained();
-}
-	
-EWXWEXPORT(void,wxIndividualLayoutConstraint_AsIs)(void* self)
-{
-	((wxIndividualLayoutConstraint*)self)->AsIs();
-}
-	
-EWXWEXPORT(void*,wxIndividualLayoutConstraint_GetOtherWindow)(void* self)
-{
-	return (void*)((wxIndividualLayoutConstraint*)self)->GetOtherWindow();
-}
-	
-EWXWEXPORT(int,wxIndividualLayoutConstraint_GetMyEdge)(wxIndividualLayoutConstraint* self)
-{
-	return (int)self->GetMyEdge();
-}
-	
-EWXWEXPORT(void,wxIndividualLayoutConstraint_SetEdge)(void* self,int which)
-{
-	((wxIndividualLayoutConstraint*)self)->SetEdge((wxEdge)which);
-}
-	
-EWXWEXPORT(void,wxIndividualLayoutConstraint_SetValue)(void* self,int v)
-{
-	((wxIndividualLayoutConstraint*)self)->SetValue(v);
-}
-	
-EWXWEXPORT(int,wxIndividualLayoutConstraint_GetMargin)(void* self)
-{
-	return ((wxIndividualLayoutConstraint*)self)->GetMargin();
-}
-	
-EWXWEXPORT(void,wxIndividualLayoutConstraint_SetMargin)(void* self,int m)
-{
-	((wxIndividualLayoutConstraint*)self)->SetMargin(m);
-}
-	
-EWXWEXPORT(int,wxIndividualLayoutConstraint_GetValue)(void* self)
-{
-	return ((wxIndividualLayoutConstraint*)self)->GetValue();
-}
-	
-EWXWEXPORT(int,wxIndividualLayoutConstraint_GetPercent)(void* self)
-{
-	return ((wxIndividualLayoutConstraint*)self)->GetPercent();
-}
-	
-EWXWEXPORT(int,wxIndividualLayoutConstraint_GetOtherEdge)(void* self)
-{
-	return ((wxIndividualLayoutConstraint*)self)->GetOtherEdge();
-}
-	
-EWXWEXPORT(bool,wxIndividualLayoutConstraint_GetDone)(wxIndividualLayoutConstraint* self)
-{
-	return self->GetDone();
-}
-	
-EWXWEXPORT(void,wxIndividualLayoutConstraint_SetDone)(void* self,bool d)
-{
-	((wxIndividualLayoutConstraint*)self)->SetDone(d);
-}
-	
-EWXWEXPORT(int,wxIndividualLayoutConstraint_GetRelationship)(void* self)
-{
-	return ((wxIndividualLayoutConstraint*)self)->GetRelationship();
-}
-	
-EWXWEXPORT(void,wxIndividualLayoutConstraint_SetRelationship)(void* self,int r)
-{
-	((wxIndividualLayoutConstraint*)self)->SetRelationship((wxRelationship)r);
-}
-	
-EWXWEXPORT(bool,wxIndividualLayoutConstraint_ResetIfWin)(wxIndividualLayoutConstraint* self,wxWindowBase* otherW)
-{
-	return self->ResetIfWin(otherW);
-}
-	
-EWXWEXPORT(bool,wxIndividualLayoutConstraint_SatisfyConstraint)(wxIndividualLayoutConstraint* self,void* constraints,wxWindowBase* win)
-{
-	return self->SatisfyConstraint((wxLayoutConstraints*)constraints, win);
-}
-	
-EWXWEXPORT(int,wxIndividualLayoutConstraint_GetEdge)(void* self,int which,wxWindowBase* thisWin,wxWindowBase* other)
-{
-	return ((wxIndividualLayoutConstraint*)self)->GetEdge((wxEdge)which,  thisWin, other);
-}
-	
-}
− src/cpp/eljlistbox.cpp
@@ -1,114 +0,0 @@-#include "wrapper.h"
-
-extern "C"
-{
-
-EWXWEXPORT(void*,wxListBox_Create)(wxWindow* _prt, int _id, int _lft, int _top, int _wdt, int _hgt, int _n, void* _str, int _stl)
-{
-	wxListBox* result = new wxListBox ((wxWindow*)_prt, _id, wxPoint(_lft, _top), wxSize(_wdt, _hgt), 0, NULL, _stl, wxDefaultValidator);
-
-	for (int i = 0; i < _n; i++)
-		result->Append(((wxChar**)_str)[i]);
-
-	return (void*) result;
-}
-
-EWXWEXPORT(void,wxListBox_Clear)(wxListBox* self)
-{
-	self->Clear();
-}
-	
-EWXWEXPORT(void,wxListBox_Delete)(wxListBox* self,int n)
-{
-	self->Delete(n);
-}
-	
-EWXWEXPORT(int,wxListBox_GetCount)(wxListBox* self)
-{
-	return self->GetCount();
-}
-	
-EWXWEXPORT(wxString*,wxListBox_GetString)(wxListBox* self,int n)
-{
-	wxString *result = new wxString();
-	*result = self->GetString(n);
-	return result;
-}
-	
-EWXWEXPORT(void,wxListBox_SetString)(wxListBox* self,int n,wxString* s)
-{
-	self->SetString(n,*s);
-}
-	
-EWXWEXPORT(int,wxListBox_FindString)(wxListBox* self,wxString* s)
-{
-	return self->FindString(*s);
-}
-	
-EWXWEXPORT(bool,wxListBox_IsSelected)(wxListBox* self,int n)
-{
-	return self->IsSelected(n);
-}
-	
-EWXWEXPORT(void,wxListBox_SetSelection)(wxListBox* self,int n,bool select)
-{
-	self->SetSelection(n, select);
-}
-	
-EWXWEXPORT(int,wxListBox_GetSelection)(wxListBox* self)
-{
-	return self->GetSelection();
-}
-	
-EWXWEXPORT(int,wxListBox_GetSelections)(wxListBox* self,int* aSelections,int allocated)
-{
-	wxArrayInt sel;
-	int result = self->GetSelections(sel);
-	
-	if (allocated < result) return -result;
-	
-	for (int i = 0; i < result; i++) aSelections[i] = sel[i];
-	return result;
-}
-	
-EWXWEXPORT(void,wxListBox_Append)(wxListBox* self,wxString* item)
-{
-	self->Append(*item);
-}
-	
-EWXWEXPORT(void,wxListBox_AppendData)(wxListBox* self,wxString* item,void* _data)
-{
-	self->Append(*item, _data);
-}
-	
-EWXWEXPORT(void,wxListBox_InsertItems)(wxListBox* self,void* items,int pos,int count)
-{
-	wxArrayString array;
-	
-	for (int i = 0; i< count; i++)
-		array[i] = ((wxChar**)items)[i];
-	
-	self->InsertItems(array, pos);
-}
-	
-EWXWEXPORT(void,wxListBox_SetFirstItem)(wxListBox* self,int n)
-{
-	self->SetFirstItem(n);
-}
-	
-EWXWEXPORT(void,wxListBox_SetClientData)(wxListBox* self,int n,void* clientData)
-{
-	self->SetClientData(n, clientData);
-}
-	
-EWXWEXPORT(void*,wxListBox_GetClientData)(wxListBox* self,int n)
-{
-	return (void*) self->GetClientData(n);
-}
-	
-EWXWEXPORT(void,wxListBox_SetStringSelection)(wxListBox* self,wxString* str,bool sel)
-{
-	self->SetStringSelection(*str, sel);
-}
-
-}
− src/cpp/eljlistctrl.cpp
@@ -1,487 +0,0 @@-#include "wrapper.h"
-
-extern "C"
-{
-
-typedef int _cdecl (*EiffelSortFunc) (void* obj, int data1, int data2);
-
-typedef struct _EiffelSort
-{
-	void*          obj;
-	EiffelSortFunc fnc;
-}EiffelSort;
-
-int wxCALLBACK ListCmp (long item1, long item2, long sortData)
-{
-	return ((EiffelSort*)sortData)->fnc (((EiffelSort*)sortData)->obj, (int)item1, (int)item2);
-}
-
-EWXWEXPORT(wxListItem*,wxListItem_Create)()
-{
-	return new wxListItem();
-}
-
-EWXWEXPORT(void,wxListItem_Delete)(wxListItem* self)
-{
-	delete self;
-}
-EWXWEXPORT(void,wxListItem_Clear)(wxListItem* self)
-{
-	self->Clear();
-}
-	
-EWXWEXPORT(void,wxListItem_ClearAttributes)(wxListItem* self)
-{
-	self->ClearAttributes();
-}
-	
-EWXWEXPORT(void,wxListItem_SetMask)(wxListItem* self,int mask)
-{
-	self->SetMask((long)mask);
-}
-	
-EWXWEXPORT(void,wxListItem_SetId)(wxListItem* self,int id)
-{
-	self->SetId((long)id);
-}
-	
-EWXWEXPORT(void,wxListItem_SetColumn)(wxListItem* self,int col)
-{
-	self->SetColumn(col);
-}
-	
-EWXWEXPORT(void,wxListItem_SetState)(wxListItem* self,int state)
-{
-	self->SetState((long)state);
-}
-	
-EWXWEXPORT(void,wxListItem_SetStateMask)(wxListItem* self,int stateMask)
-{
-	self->SetStateMask((long)stateMask);
-}
-	
-EWXWEXPORT(void,wxListItem_SetText)(wxListItem* self,wxString* text)
-{
-	self->SetText(*text);
-}
-	
-EWXWEXPORT(void,wxListItem_SetImage)(wxListItem* self,int image)
-{
-	self->SetImage(image);
-}
-	
-EWXWEXPORT(void,wxListItem_SetData)(wxListItem* self,int data)
-{
-	self->SetData((long)data);
-}
-	
-EWXWEXPORT(void,wxListItem_SetDataPointer)(wxListItem* self,void* data)
-{
-	self->SetData(data);
-}
-	
-EWXWEXPORT(void,wxListItem_SetWidth)(wxListItem* self,int width)
-{
-	self->SetWidth(width);
-}
-	
-EWXWEXPORT(void,wxListItem_SetAlign)(wxListItem* self,int align)
-{
-	self->SetAlign((wxListColumnFormat)align);
-}
-	
-EWXWEXPORT(void,wxListItem_SetTextColour)(wxListItem* self,wxColour* colText)
-{
-	self->SetTextColour(*colText);
-}
-	
-EWXWEXPORT(void,wxListItem_SetBackgroundColour)(wxListItem* self,wxColour* colBack)
-{
-	self->SetBackgroundColour(*colBack);
-}
-	
-EWXWEXPORT(void,wxListItem_SetFont)(wxListItem* self,wxFont* font)
-{
-	self->SetFont(*font);
-}
-	
-EWXWEXPORT(long,wxListItem_GetMask)(wxListItem* self)
-{
-	return self->GetMask();
-}
-	
-EWXWEXPORT(long,wxListItem_GetId)(wxListItem* self)
-{
-	return self->GetId();
-}
-	
-EWXWEXPORT(int,wxListItem_GetColumn)(wxListItem* self)
-{
-	return self->GetColumn();
-}
-	
-EWXWEXPORT(long,wxListItem_GetState)(wxListItem* self)
-{
-	return self->GetState();
-}
-	
-EWXWEXPORT(wxString*,wxListItem_GetText)(wxListItem* self)
-{
-	wxString *result = new wxString();
-	*result = self->GetText();
-	return result;
-}
-	
-EWXWEXPORT(int,wxListItem_GetImage)(wxListItem* self)
-{
-	return self->GetImage();
-}
-	
-EWXWEXPORT(long,wxListItem_GetData)(wxListItem* self)
-{
-	return self->GetData();
-}
-	
-EWXWEXPORT(int,wxListItem_GetWidth)(wxListItem* self)
-{
-	return self->GetWidth();
-}
-	
-EWXWEXPORT(int,wxListItem_GetAlign)(wxListItem* self)
-{
-	return (int)self->GetAlign();
-}
-	
-EWXWEXPORT(void*,wxListItem_GetAttributes)(wxListItem* self)
-{
-	return (void*)self->GetAttributes();
-}
-	
-EWXWEXPORT(int,wxListItem_HasAttributes)(wxListItem* self)
-{
-	return (int)self->HasAttributes();
-}
-	
-EWXWEXPORT(void,wxListItem_GetTextColour)(wxListItem* self,wxColour* _ref)
-{
-	*_ref = self->GetTextColour();
-}
-	
-EWXWEXPORT(void,wxListItem_GetBackgroundColour)(wxListItem* self,wxColour* _ref)
-{
-	*_ref = self->GetBackgroundColour();
-}
-	
-EWXWEXPORT(void,wxListItem_GetFont)(wxListItem* self,wxFont* _ref)
-{
-	*_ref = self->GetFont();
-}
-	
-EWXWEXPORT(void*,wxListCtrl_Create)(wxWindow* _prt,int _id, int _lft,int _top,int _wdt,int _hgt,int _stl)
-{
-	return (void*) new wxListCtrl (_prt, _id,wxPoint(_lft, _top),wxSize(_wdt, _hgt), _stl);
-}
-
-EWXWEXPORT(int,wxListCtrl_SetForegroundColour)(wxListCtrl* self,wxColour* col)
-{
-	return (int)self->SetForegroundColour(*col);
-}
-	
-EWXWEXPORT(int,wxListCtrl_SetBackgroundColour)(wxListCtrl* self,wxColour* col)
-{
-	return (int)self->SetBackgroundColour(*col);
-}
-	
-EWXWEXPORT(int,wxListCtrl_GetColumn)(wxListCtrl* self,int col,wxListItem* item)
-{
-	return (int)self->GetColumn(col,*item);
-}
-	
-EWXWEXPORT(int,wxListCtrl_SetColumn)(wxListCtrl* self,int col,wxListItem* item)
-{
-	return (int)self->SetColumn(col,*item);
-}
-	
-EWXWEXPORT(int,wxListCtrl_GetColumnWidth)(void* self,int col)
-{
-	return ((wxListCtrl*)self)->GetColumnWidth(col);
-}
-	
-EWXWEXPORT(bool,wxListCtrl_SetColumnWidth)(wxListCtrl* self,int col,int width)
-{
-	return self->SetColumnWidth(col, width);
-}
-	
-EWXWEXPORT(int,wxListCtrl_GetCountPerPage)(wxListCtrl* self)
-{
-	return self->GetCountPerPage();
-}
-	
-EWXWEXPORT(void*,wxListCtrl_GetEditControl)(wxListCtrl* self)
-{
-#ifdef __WIN32__
-	return (void*)self->GetEditControl();
-#else
-	return NULL;
-#endif
-}
-	
-EWXWEXPORT(int,wxListCtrl_GetItem)(wxListCtrl* self,wxListItem* info)
-{
-	return (int)self->GetItem(*info);
-}
-	
-EWXWEXPORT(bool,wxListCtrl_SetItemFromInfo)(wxListCtrl* self,wxListItem* info)
-{
-	return self->SetItem(*info);
-}
-	
-EWXWEXPORT(bool,wxListCtrl_SetItem)(wxListCtrl* self,int index,int col,wxString* label,int imageId)
-{
-	return self->SetItem((long)index, col,*label, imageId);
-}
-	
-EWXWEXPORT(int,wxListCtrl_GetItemState)(void* self,int item,int stateMask)
-{
-	return ((wxListCtrl*)self)->GetItemState((long)item, (long)stateMask);
-}
-	
-EWXWEXPORT(bool,wxListCtrl_SetItemState)(wxListCtrl* self,int item,int state,int stateMask)
-{
-	return self->SetItemState((long)item, (long)state, (long)stateMask);
-}
-	
-EWXWEXPORT(bool,wxListCtrl_SetItemImage)(wxListCtrl* self,int item,int image,int selImage)
-{
-	return self->SetItemImage((long)item, image, selImage);
-}
-	
-EWXWEXPORT(wxString*,wxListCtrl_GetItemText)(wxListCtrl* self,int item)
-{
-	wxString *result = new wxString();
-	*result = self->GetItemText((long)item);
-	return result;
-}
-	
-EWXWEXPORT(void,wxListCtrl_SetItemText)(wxListCtrl* self,int item,wxString* str)
-{
-	self->SetItemText((long)item,*str);
-}
-	
-EWXWEXPORT(int,wxListCtrl_GetItemData)(wxListCtrl* self,int item)
-{
-	return (int)self->GetItemData((long)item);
-}
-	
-EWXWEXPORT(bool,wxListCtrl_SetItemData)(wxListCtrl* self,int item,int data)
-{
-	return self->SetItemData((long)item, (long)data);
-}
-	
-EWXWEXPORT(wxRect*,wxListCtrl_GetItemRect)(wxListCtrl* self,int item,int code)
-{
-	wxRect* rct = new wxRect();
-	bool result = self->GetItemRect((long)item, *rct, code);
-	if (result)
-	{
-		return rct;
-	}
-	return NULL;
-}
-	
-EWXWEXPORT(wxPoint*,wxListCtrl_GetItemPosition)(wxListCtrl* self,int item)
-{
-	wxPoint* pos = new wxPoint();
-	bool result = self->GetItemPosition((long)item, *pos);
-	if (result)
-	{
-		return pos;
-	}
-	return NULL;
-}
-	
-EWXWEXPORT(int,wxListCtrl_SetItemPosition)(wxListCtrl* self,int item,int x,int y)
-{
-	return self->SetItemPosition((long)item, wxPoint(x,y));
-}
-	
-EWXWEXPORT(int,wxListCtrl_GetItemCount)(wxListCtrl* self)
-{
-	return self->GetItemCount();
-}
-	
-EWXWEXPORT(int,wxListCtrl_GetColumnCount)(wxListCtrl* self)
-{
-	return self->GetColumnCount();
-}
-	
-EWXWEXPORT(wxSize*,wxListCtrl_GetItemSpacing)(wxListCtrl* self,bool isSmall)
-{
-	wxSize* sz = new wxSize();
-	*sz = self->GetItemSpacing();
-	return sz;
-}
-	
-EWXWEXPORT(int,wxListCtrl_GetSelectedItemCount)(wxListCtrl* self)
-{
-	return self->GetSelectedItemCount();
-}
-	
-EWXWEXPORT(void,wxListCtrl_GetTextColour)(wxListCtrl* self,wxColour* colour)
-{
-	*colour = self->GetTextColour();
-}
-	
-EWXWEXPORT(void,wxListCtrl_SetTextColour)(wxListCtrl* self,wxColour* col)
-{
-	self->SetTextColour(*col);
-}
-	
-EWXWEXPORT(int,wxListCtrl_GetTopItem)(wxListCtrl* self)
-{
-	return (int)self->GetTopItem();
-}
-	
-EWXWEXPORT(void,wxListCtrl_SetSingleStyle)(wxListCtrl* self,int style,bool add)
-{
-	self->SetSingleStyle((long)style, add);
-}
-	
-EWXWEXPORT(void,wxListCtrl_SetWindowStyleFlag)(wxListCtrl* self,int style)
-{
-	self->SetWindowStyleFlag((long)style);
-}
-	
-EWXWEXPORT(int,wxListCtrl_GetNextItem)(wxListCtrl* self,int item,int geometry,int state)
-{
-	return self->GetNextItem((long)item, geometry, state);
-}
-	
-EWXWEXPORT(void*,wxListCtrl_GetImageList)(wxListCtrl* self,int which)
-{
-	return (void*)self->GetImageList(which);
-}
-	
-EWXWEXPORT(void,wxListCtrl_SetImageList)(wxListCtrl* self,void* imageList,int which)
-{
-	self->SetImageList((wxImageList*)imageList, which);
-}
-	
-EWXWEXPORT(bool,wxListCtrl_Arrange)(wxListCtrl* self,int flag)
-{
-	return self->Arrange(flag);
-}
-	
-EWXWEXPORT(bool,wxListCtrl_DeleteItem)(wxListCtrl* self,int item)
-{
-	return self->DeleteItem((long)item);
-}
-	
-EWXWEXPORT(bool,wxListCtrl_DeleteAllItems)(wxListCtrl* self)
-{
-	return self->DeleteAllItems();
-}
-	
-EWXWEXPORT(bool,wxListCtrl_DeleteColumn)(wxListCtrl* self,int col)
-{
-	return self->DeleteColumn(col);
-}
-	
-EWXWEXPORT(int,wxListCtrl_DeleteAllColumns)(wxListCtrl* self)
-{
-	return (int)self->DeleteAllColumns();
-}
-	
-EWXWEXPORT(void,wxListCtrl_ClearAll)(wxListCtrl* self)
-{
-	self->ClearAll();
-}
-	
-EWXWEXPORT(void,wxListCtrl_EditLabel)(wxListCtrl* self,int item)
-{
-	self->EditLabel((long)item);
-}
-	
-EWXWEXPORT(bool,wxListCtrl_EndEditLabel)(wxListCtrl* self,bool cancel)
-{
-#ifdef __WIN32__
-	return self->EndEditLabel(cancel);
-#else
-	return false;
-#endif
-}
-	
-EWXWEXPORT(bool,wxListCtrl_EnsureVisible)(wxListCtrl* self,int item)
-{
-	return self->EnsureVisible((long)item);
-}
-	
-EWXWEXPORT(int,wxListCtrl_FindItem)(wxListCtrl* self,int start,wxString* str,bool partial)
-{
-	return (long)self->FindItem((long)start,* str, partial);
-}
-	
-EWXWEXPORT(int,wxListCtrl_FindItemByData)(wxListCtrl* self,int start,int data)
-{
-	return (int)self->FindItem((long)start, (long)data);
-}
-	
-EWXWEXPORT(int,wxListCtrl_FindItemByPosition)(wxListCtrl* self,int start,int x,int y,int direction)
-{
-	return (int)self->FindItem((long)start, wxPoint(x, y), direction);
-}
-	
-EWXWEXPORT(int,wxListCtrl_HitTest)(wxListCtrl* self,int x,int y,void* flags)
-{
-	return self->HitTest(wxPoint(x, y),*((int*)flags));
-}
-	
-EWXWEXPORT(int,wxListCtrl_InsertItem)(wxListCtrl* self,wxListItem* info)
-{
-	return (int)self->InsertItem(*info);
-}
-	
-EWXWEXPORT(int,wxListCtrl_InsertItemWithData)(wxListCtrl* self,int index,wxString* label)
-{
-	return (int)self->InsertItem((long)index,*label);
-}
-	
-EWXWEXPORT(int,wxListCtrl_InsertItemWithImage)(wxListCtrl* self,int index,int imageIndex)
-{
-	return (int)self->InsertItem((long)index, imageIndex);
-}
-	
-EWXWEXPORT(int,wxListCtrl_InsertItemWithLabel)(wxListCtrl* self,int index,wxString* label,int imageIndex)
-{
-	return (int)self->InsertItem((long)index,*label, imageIndex);
-}
-	
-EWXWEXPORT(int,wxListCtrl_InsertColumnFromInfo)(wxListCtrl* self,int col,wxListItem* info)
-{
-	return (int)self->InsertColumn((long)col,*info);
-}
-	
-EWXWEXPORT(int,wxListCtrl_InsertColumn)(wxListCtrl* self,int col,wxString* heading,int format,int width)
-{
-	return (int)self->InsertColumn((long)col,* heading, format, width);
-}
-	
-EWXWEXPORT(bool,wxListCtrl_ScrollList)(wxListCtrl* self,int dx,int dy)
-{
-	return self->ScrollList(dx, dy);
-}
-	
-EWXWEXPORT(bool,wxListCtrl_SortItems)(wxListCtrl* self,void* fnc,void* obj)
-{
-	EiffelSort srt = {obj, (EiffelSortFunc)fnc};
-	return self->SortItems(ListCmp, (long)&srt);
-}
-	
-EWXWEXPORT(void,wxListCtrl_UpdateStyle)(wxListCtrl* self)
-{
-#ifdef __WIN32__
-	self->UpdateStyle();
-#endif
-}
-	
-}
− src/cpp/eljlocale.cpp
@@ -1,65 +0,0 @@-#include "wrapper.h"
-#include "wx/intl.h"
-
-extern "C"
-{
-
-EWXWEXPORT(void*,wxLocale_Create)(int _lang,int _flags)
-{
-	return (void*)new wxLocale(_lang, _flags);
-}
-
-EWXWEXPORT(void,wxLocale_Delete)(wxLocale* self)
-{
-	delete self;
-}
-
-EWXWEXPORT(bool,wxLocale_IsOk)(wxLocale* self)
-{
-	return self->IsOk();
-}
-	
-EWXWEXPORT(void*,wxLocale_GetLocale)(wxLocale* self)
-{
-	return (void*)self->GetLocale();
-}
-	
-EWXWEXPORT(void,wxLocale_AddCatalogLookupPathPrefix)(wxLocale* self,void* prefix)
-{
-	self->AddCatalogLookupPathPrefix((const wxChar*)prefix);
-}
-	
-EWXWEXPORT(bool,wxLocale_AddCatalog)(wxLocale* self,void* szDomain)
-{
-	return self->AddCatalog((const wxChar*)szDomain);
-}
-	
-EWXWEXPORT(bool,wxLocale_IsLoaded)(wxLocale* self,void* szDomain)
-{
-	return self->IsLoaded((const wxChar*)szDomain);
-}
-	
-EWXWEXPORT(void*,wxLocale_GetString)(wxLocale* self,void* szOrigString,void* szDomain)
-{
-	return (void*)self->GetString((const wxChar*)szOrigString, (const wxChar*)szDomain);
-}
-	
-EWXWEXPORT(wxString*,wxLocale_GetName)(void* _obj)
-{
-	wxString *result = new wxString();
-	*result = ((wxLocale*)_obj)->GetName();
-	return result;
-}
-	
-
-EWXWEXPORT(void*,wxGetELJLocale)()
-{
-	return (void*)wxGetLocale();
-}
-	
-EWXWEXPORT(void*,wxGetELJTranslation)(void* sz)
-{
-	return (void*)wxGetTranslation((const wxChar*)sz);
-}
-	
-}
− src/cpp/eljlog.cpp
@@ -1,206 +0,0 @@-#include "wrapper.h"
-#include "wx/log.h"
-
-extern "C"
-{
-
-typedef void (*TLogFunc) (void*, int, void*, int);
-
-}
-
-class ELJLog : public wxLog
-{
-	private:
-		TLogFunc func;
-		void*    EiffelObject;
-		
-    protected:
-		virtual void DoLog(wxLogLevel level, const wxChar *szString, time_t t)
-                  {
-                    wxString s(szString);
-                    func (EiffelObject, (int)level, (void*)&s , (int)t);
-                  }
-
-	public:
-		ELJLog (void* _obj, void* _fnc) : wxLog()
-		{
-			func = (TLogFunc)_fnc;
-			EiffelObject = _obj;
-		}
-};
-
-extern "C"
-{
-
-EWXWEXPORT(void*,ELJLog_Create)(void* self,void* _fnc)
-{
-	return (void*)new ELJLog(self, _fnc);
-}
-
-EWXWEXPORT(void,ELJLog_Delete)(ELJLog* self)
-{
-	delete self;
-}
-
-EWXWEXPORT(bool,ELJLog_IsEnabled)(ELJLog* self)
-{
-	return self->IsEnabled();
-}
-	
-EWXWEXPORT(int,ELJLog_EnableLogging)(ELJLog* self,bool doIt)
-{
-	return (int)self->EnableLogging(doIt);
-}
-	
-EWXWEXPORT(void,ELJLog_OnLog)(ELJLog* self,int level,void* szString,int t)
-{
-	self->OnLog((wxLogLevel)level, (const wxChar*)szString, (time_t)t);
-}
-	
-EWXWEXPORT(void,ELJLog_Flush)(ELJLog* self)
-{
-	self->Flush();
-}
-	
-EWXWEXPORT(int,ELJLog_HasPendingMessages)(ELJLog* self)
-{
-	return (int)self->HasPendingMessages();
-}
-	
-EWXWEXPORT(void,ELJLog_FlushActive)(ELJLog* self)
-{
-	self->FlushActive();
-}
-	
-EWXWEXPORT(void*,ELJLog_GetActiveTarget)()
-{
-	return (void*)ELJLog::GetActiveTarget();
-}
-	
-EWXWEXPORT(void*,ELJLog_SetActiveTarget)(wxLog* pLogger)
-{
-	return (void*)ELJLog::SetActiveTarget(pLogger);
-}
-	
-EWXWEXPORT(void,ELJLog_Suspend)(ELJLog* self)
-{
-	self->Suspend();
-}
-	
-EWXWEXPORT(void,ELJLog_Resume)(ELJLog* self)
-{
-	self->Resume();
-}
-	
-EWXWEXPORT(void,ELJLog_SetVerbose)(ELJLog* self,bool bVerbose)
-{
-	self->SetVerbose(bVerbose);
-}
-	
-EWXWEXPORT(void,ELJLog_DontCreateOnDemand)(ELJLog* self)
-{
-	self->DontCreateOnDemand();
-}
-	
-EWXWEXPORT(void,ELJLog_SetTraceMask)(ELJLog* self,int ulMask)
-{
-	self->SetTraceMask((wxTraceMask)ulMask);
-}
-	
-EWXWEXPORT(void,ELJLog_AddTraceMask)(ELJLog* self,void* str)
-{
-	self->AddTraceMask((const wxChar*)str);
-}
-	
-EWXWEXPORT(void,ELJLog_RemoveTraceMask)(ELJLog* self,void* str)
-{
-	self->RemoveTraceMask((const wxChar*)str);
-}
-	
-EWXWEXPORT(void,ELJLog_SetTimestamp)(ELJLog* self,void* ts)
-{
-	self->SetTimestamp((const wxChar*)ts);
-}
-	
-EWXWEXPORT(int,ELJLog_GetVerbose)(ELJLog* self)
-{
-	return (int)self->GetVerbose();
-}
-	
-EWXWEXPORT(int,ELJLog_GetTraceMask)(ELJLog* self)
-{
-	return (int)self->GetTraceMask();
-}
-	
-EWXWEXPORT(bool,ELJLog_IsAllowedTraceMask)(ELJLog* self,void* mask)
-{
-	return self->IsAllowedTraceMask((const wxChar*)mask);
-}
-	
-EWXWEXPORT(void*,ELJLog_GetTimestamp)(ELJLog* self)
-{
-	return (void*)self->GetTimestamp();
-}
-
-EWXWEXPORT(int,ELJSysErrorCode)()
-{
-	return (int)wxSysErrorCode();
-}
-
-EWXWEXPORT(void*,ELJSysErrorMsg)(int nErrCode)
-{
-	return (void*)wxSysErrorMsg((unsigned long)nErrCode);
-}
-
-EWXWEXPORT(void,LogErrorMsg)(wxString* _msg)
-{
-	wxLogError(*_msg);
-}
-
-EWXWEXPORT(void,LogFatalErrorMsg)(wxString* _msg)
-{
-	wxLogFatalError(*_msg);
-}
-
-EWXWEXPORT(void,LogWarningMsg)(wxString* _msg)
-{
-	wxLogWarning(*_msg);
-}
-
-EWXWEXPORT(void,LogMessageMsg)(wxString* _msg)
-{
-	wxLogMessage(*_msg);
-}
-
-
-EWXWEXPORT(void*,wxLogChain_Create)(void* logger)
-{
-	return new wxLogChain ((wxLog*)logger);
-}
-
-EWXWEXPORT(void,wxLogChain_Delete)(wxLogChain* self)
-{
-	delete self;
-}
-
-EWXWEXPORT(void,wxLogChain_SetLog)(wxLogChain* self,wxLog* logger)
-{
-	self->SetLog(logger);
-}
-	
-EWXWEXPORT(void,wxLogChain_PassMessages)(wxLogChain* self,bool bDoPass)
-{
-	self->PassMessages(bDoPass);
-}
-	
-EWXWEXPORT(bool,wxLogChain_IsPassingMessages)(wxLogChain* self)
-{
-	return self->IsPassingMessages();
-}
-	
-EWXWEXPORT(void*,wxLogChain_GetOldLog)(wxLogChain* self)
-{
-	return (void*)self->GetOldLog();
-}
-	
-}
− src/cpp/eljmask.cpp
@@ -1,16 +0,0 @@-#include "wrapper.h"
-
-extern "C"
-{
-
-EWXWEXPORT(void*, wxMask_Create) (void* bitmap)
-{
-	return (void*) new wxMask (*(wxBitmap*)bitmap);
-}
-
-EWXWEXPORT(void*, wxMask_CreateColoured) (void* bitmap, void* colour)
-{
-	return (void*) new wxMask (*(wxBitmap*)bitmap, *(wxColour*)colour);
-}
-
-}
− src/cpp/eljmdi.cpp
@@ -1,77 +0,0 @@-#include "wrapper.h"
-
-extern "C"
-{
-
-EWXWEXPORT(void*, wxMDIParentFrame_Create) (wxWindow* _prt,int _id,wxString* _txt,int _lft,int _top,int _wdt,int _hgt,int _stl)
-{
-	return (void*) new wxMDIParentFrame (_prt, _id, *_txt, wxPoint(_lft, _top), wxSize(_wdt, _hgt), _stl);
-}
-
-EWXWEXPORT(void*,wxMDIParentFrame_GetActiveChild)(void* _obj)
-{
-	return (void*)((wxMDIParentFrame*)_obj)->GetActiveChild();
-}
-	
-EWXWEXPORT(void*,wxMDIParentFrame_GetClientWindow)(void* _obj)
-{
-	return (void*)((wxMDIParentFrame*)_obj)->GetClientWindow();
-}
-	
-EWXWEXPORT(void*,wxMDIParentFrame_OnCreateClient)(void* _obj)
-{
-	return (void*)((wxMDIParentFrame*)_obj)->OnCreateClient();
-}
-	
-EWXWEXPORT(void*,wxMDIParentFrame_GetWindowMenu)(void* _obj)
-{
-#ifdef __WIN32__
-	return (void*)((wxMDIParentFrame*)_obj)->GetWindowMenu();
-#else
-	return NULL;
-#endif
-}
-	
-EWXWEXPORT(void,wxMDIParentFrame_SetWindowMenu)(void* _obj,void* menu)
-{
-#ifdef __WIN32__
-	((wxMDIParentFrame*)_obj)->SetWindowMenu((wxMenu*) menu);
-#endif
-}
-	
-EWXWEXPORT(void,wxMDIParentFrame_Cascade)(void* _obj)
-{
-	((wxMDIParentFrame*)_obj)->Cascade();
-}
-	
-EWXWEXPORT(void,wxMDIParentFrame_Tile)(void* _obj)
-{
-	((wxMDIParentFrame*)_obj)->Tile();
-}
-	
-EWXWEXPORT(void,wxMDIParentFrame_ArrangeIcons)(void* _obj)
-{
-	((wxMDIParentFrame*)_obj)->ArrangeIcons();
-}
-	
-EWXWEXPORT(void,wxMDIParentFrame_ActivateNext)(void* _obj)
-{
-	((wxMDIParentFrame*)_obj)->ActivateNext();
-}
-	
-EWXWEXPORT(void,wxMDIParentFrame_ActivatePrevious)(void* _obj)
-{
-	((wxMDIParentFrame*)_obj)->ActivatePrevious();
-}
-	
-EWXWEXPORT(void*,wxMDIChildFrame_Create)(wxWindow* _prt,int _id,wxString* _txt,int _lft,int _top,int _wdt,int _hgt,int _stl)
-{
-	return (void*) new wxMDIChildFrame ((wxMDIParentFrame *)_prt, _id, *_txt,wxPoint(_lft, _top),wxSize(_wdt, _hgt),_stl);
-}
-
-EWXWEXPORT(void,wxMDIChildFrame_Activate)(void* _obj)
-{
-	((wxMDIChildFrame*)_obj)->Activate();
-}
-	
-}
− src/cpp/eljmenu.cpp
@@ -1,346 +0,0 @@-#include "wrapper.h"
-
-extern "C"
-{
-
-EWXWEXPORT(wxMenu*,wxMenu_Create)(wxString* title,long style)
-{
-	return new wxMenu(*title, style);
-}
-	
-EWXWEXPORT(void,wxMenu_DeletePointer)(wxMenu* self)
-{
-	delete self;
-}
-	
-EWXWEXPORT(void,wxMenu_AppendSeparator)(wxMenu* self)
-{
-	self->AppendSeparator();
-}
-	
-EWXWEXPORT(void,wxMenu_Append)(wxMenu* self,int id,wxString* text,wxString* help,bool isCheckable)
-{
-	self->Append(id,*text,*help, isCheckable);
-}
-	
-EWXWEXPORT(void,wxMenu_AppendSub)(wxMenu* self,int id,wxString* text,wxMenu* submenu,wxString* help)
-{
-	self->Append(id,*text,submenu,*help);
-}
-	
-EWXWEXPORT(void,wxMenu_AppendItem)(wxMenu* self,wxMenuItem* _itm)
-{
-	self->Append(_itm);
-}
-	
-EWXWEXPORT(void,wxMenu_Break)(wxMenu* self)
-{
-	self->Break();
-}
-	
-EWXWEXPORT(void,wxMenu_Insert)(wxMenu* self,size_t pos,int id,wxString* text,wxString* help,bool isCheckable)
-{
-	self->Insert(pos, id,*text,*help, isCheckable);
-}
-	
-EWXWEXPORT(void,wxMenu_InsertSub)(wxMenu* self,size_t pos,int id,wxString* text,wxMenu* submenu,wxString* help)
-{
-	self->Insert(pos, id,*text, submenu,*help);
-}
-	
-EWXWEXPORT(void,wxMenu_InsertItem)(wxMenu* self,int pos,wxMenuItem* _itm)
-{
-	self->Insert((size_t)pos, _itm);
-}
-	
-EWXWEXPORT(void,wxMenu_Prepend)(wxMenu* self,int id,wxString* text,wxString* help,bool isCheckable)
-{
-	self->Prepend(id,*text,*help, isCheckable);
-}
-	
-EWXWEXPORT(void,wxMenu_PrependSub)(wxMenu* self,int id,wxString* text,wxMenu* submenu,wxString* help)
-{
-	self->Prepend(id,*text, submenu,*help);
-}
-	
-EWXWEXPORT(void,wxMenu_PrependItem)(wxMenu* self,wxMenuItem* _itm)
-{
-	self->Prepend(_itm);
-}
-	
-EWXWEXPORT(void,wxMenu_RemoveByItem)(wxMenu* self,wxMenuItem* item)
-{
-	self->Remove(item);
-}
-	
-EWXWEXPORT(void,wxMenu_RemoveById)(wxMenu* self,int id,void* _itm)
-{
-	*((void**)_itm) = (void*)self->Remove(id);
-}
-	
-EWXWEXPORT(void,wxMenu_DeleteById)(wxMenu* self,int id)
-{
-	self->Delete(id);
-}
-	
-EWXWEXPORT(void,wxMenu_DeleteByItem)(wxMenu* self,wxMenuItem* _itm)
-{
-	self->Delete(_itm);
-}
-	
-EWXWEXPORT(void,wxMenu_DestroyById)(wxMenu* self,int id)
-{
-	self->Destroy(id);
-}
-	
-EWXWEXPORT(void,wxMenu_DestroyByItem)(wxMenu* self,wxMenuItem* _itm)
-{
-	self->Destroy(_itm);
-}
-	
-EWXWEXPORT(size_t,wxMenu_GetMenuItemCount)(wxMenu* self)
-{
-	return self->GetMenuItemCount();
-}
-	
-EWXWEXPORT(int,wxMenu_GetMenuItems)(wxMenu* self,void* _lst)
-{
-	if (_lst)
-	{
-		for (unsigned int i = 0; i < self->GetMenuItems().GetCount(); i++)
-			((void**)_lst)[i] = self->GetMenuItems().Item(i)->GetData();
-	}
-	return self->GetMenuItems().GetCount();
-}
-	
-EWXWEXPORT(int,wxMenu_FindItemByLabel)(wxMenu* self,wxString* itemString)
-{
-	return self->FindItem(*itemString);
-}
-	
-EWXWEXPORT(wxMenuItem*,wxMenu_FindItem)(wxMenu* self,int id)
-{
-	return self->FindItem(id);
-}
-	
-EWXWEXPORT(void,wxMenu_Enable)(wxMenu* self,int id,bool enable)
-{
-	self->Enable(id, enable);
-}
-	
-EWXWEXPORT(bool,wxMenu_IsEnabled)(wxMenu* self,int id)
-{
-	return self->IsEnabled(id);
-}
-	
-EWXWEXPORT(void,wxMenu_Check)(wxMenu* self,int id,bool check)
-{
-	self->Check(id, check);
-}
-	
-EWXWEXPORT(bool,wxMenu_IsChecked)(wxMenu* self,int id)
-{
-	return self->IsChecked(id);
-}
-	
-EWXWEXPORT(void,wxMenu_SetLabel)(wxMenu* self,int id,wxString* label)
-{
-	self->SetLabel(id,*label);
-}
-	
-EWXWEXPORT(wxString*,wxMenu_GetLabel)(wxMenu* self,int id)
-{
-	wxString *result = new wxString();
-	*result = self->GetLabel(id);
-	return result;
-}
-	
-EWXWEXPORT(void,wxMenu_SetHelpString)(wxMenu* self,int id,wxString* helpString)
-{
-	self->SetHelpString(id,*helpString);
-}
-	
-EWXWEXPORT(wxString*,wxMenu_GetHelpString)(wxMenu* self,int id)
-{
-	wxString *result = new wxString();
-	*result = self->GetHelpString(id);
-	return result;
-}
-	
-EWXWEXPORT(void,wxMenu_SetTitle)(void* _obj,wxString* title)
-{
-	((wxMenu*)_obj)->SetTitle(*title);
-}
-	
-EWXWEXPORT(wxString*,wxMenu_GetTitle)(wxMenu* self)
-{
-	wxString *result = new wxString();
-	*result = self->GetTitle();
-	return result;
-}
-	
-EWXWEXPORT(void,wxMenu_SetClientData)(wxMenu* self,void* clientData)
-{
-	self->SetClientData(clientData);
-}
-	
-EWXWEXPORT(void*,wxMenu_GetClientData)(wxMenu* self)
-{
-	return (void*)self->GetClientData();
-}
-	
-EWXWEXPORT(void,wxMenu_SetEventHandler)(wxMenu* self,wxEvtHandler* handler)
-{
-	self->SetEventHandler(handler);
-}
-	
-EWXWEXPORT(void,wxMenu_SetInvokingWindow)(wxMenu* self,wxWindow* win)
-{
-	self->SetInvokingWindow(win);
-}
-	
-EWXWEXPORT(void*,wxMenu_GetInvokingWindow)(wxMenu* self)
-{
-	return (void*)self->GetInvokingWindow();
-}
-	
-EWXWEXPORT(int,wxMenu_GetStyle)(wxMenu* self)
-{
-	return self->GetStyle();
-}
-	
-EWXWEXPORT(void,wxMenu_UpdateUI)(wxMenu* self,wxEvtHandler* source)
-{
-	self->UpdateUI(source);
-}
-	
-EWXWEXPORT(bool,wxMenu_IsAttached)(wxMenu* self)
-{
-	return self->IsAttached();
-}
-	
-EWXWEXPORT(void,wxMenu_SetParent)(wxMenu* self,wxMenu* parent)
-{
-	self->SetParent(parent);
-}
-	
-EWXWEXPORT(void*,wxMenu_GetParent)(wxMenu* self)
-{
-	return (void*)self->GetParent();
-}
-	
-
-EWXWEXPORT(wxMenuItem*,wxMenuItem_Create)()
-{
-	return new wxMenuItem();
-}
-	
-EWXWEXPORT(void,wxMenuItem_Delete)(wxMenuItem* self)
-{
-	delete self;
-}
-
-EWXWEXPORT(wxMenu*,wxMenuItem_GetMenu)(wxMenuItem* self)
-{
-	return self->GetMenu();
-}
-	
-EWXWEXPORT(void,wxMenuItem_SetId)(wxMenuItem* self,int id)
-{
-	self->SetId(id);
-}
-	
-EWXWEXPORT(int,wxMenuItem_GetId)(wxMenuItem* self)
-{
-	return self->GetId();
-}
-	
-EWXWEXPORT(bool,wxMenuItem_IsSeparator)(wxMenuItem* self)
-{
-	return self->IsSeparator();
-}
-	
-EWXWEXPORT(void,wxMenuItem_SetText)(wxMenuItem* self,wxString* str)
-{
-	self->SetText(*str);
-}
-	
-EWXWEXPORT(wxString*,wxMenuItem_GetLabel)(wxMenuItem* self)
-{
-	wxString *result = new wxString();
-	*result = self->GetLabel();
-	return result;
-}
-	
-EWXWEXPORT(wxString*,wxMenuItem_GetText)(wxMenuItem* self)
-{
-	wxString *result = new wxString();
-	*result = self->GetText();
-	return result;
-}
-
-EWXWEXPORT(wxString*,wxMenuItem_GetLabelFromText)(wxString* text)
-{
-	wxString *result = new wxString();
-	*result = wxMenuItem::GetLabelFromText(* text);
-	return result;
-}
-
-EWXWEXPORT(void,wxMenuItem_SetCheckable)(wxMenuItem* self,bool checkable)
-{
-	self->SetCheckable(checkable);
-}
-	
-EWXWEXPORT(bool,wxMenuItem_IsCheckable)(wxMenuItem* self)
-{
-	return self->IsCheckable();
-}
-	
-EWXWEXPORT(bool,wxMenuItem_IsSubMenu)(wxMenuItem* self)
-{
-	return self->IsSubMenu();
-}
-	
-EWXWEXPORT(void,wxMenuItem_SetSubMenu)(wxMenuItem* self,wxMenu* menu)
-{
-	self->SetSubMenu(menu);
-}
-	
-EWXWEXPORT(wxMenu*,wxMenuItem_GetSubMenu)(wxMenuItem* self)
-{
-	return self->GetSubMenu();
-}
-	
-EWXWEXPORT(void,wxMenuItem_Enable)(wxMenuItem* self,bool enable)
-{
-	self->Enable(enable);
-}
-	
-EWXWEXPORT(bool,wxMenuItem_IsEnabled)(wxMenuItem* self)
-{
-	return self->IsEnabled();
-}
-	
-EWXWEXPORT(void,wxMenuItem_Check)(wxMenuItem* self,bool check)
-{
-	self->Check(check);
-}
-	
-EWXWEXPORT(bool,wxMenuItem_IsChecked)(wxMenuItem* self)
-{
-	return self->IsChecked();
-}
-	
-EWXWEXPORT(void,wxMenuItem_SetHelp)(wxMenuItem* self,wxString* str)
-{
-	self->SetHelp(*str);
-}
-	
-EWXWEXPORT(wxString*,wxMenuItem_GetHelp)(wxMenuItem* self)
-{
-	wxString *result = new wxString();
-	*result = self->GetHelp();
-	return result;
-}
-
-}
− src/cpp/eljmenubar.cpp
@@ -1,133 +0,0 @@-#include "wrapper.h"
-
-extern "C"
-{
-
-EWXWEXPORT(void*,wxMenuBar_Create)(int _style)
-{
-	return new wxMenuBar(_style);
-}
-	
-EWXWEXPORT(void,wxMenuBar_DeletePointer)(wxMenuBar* self)
-{
-	delete self;
-}
-	
-EWXWEXPORT(bool,wxMenuBar_Append)(wxMenuBar* self,wxMenu* menu,wxString* title)
-{
-	return self->Append(menu,*title);
-}
-	
-EWXWEXPORT(bool,wxMenuBar_Insert)(wxMenuBar* self,int pos,wxMenu* menu,wxString* title)
-{
-	return self->Insert((size_t)pos,menu,*title);
-}
-	
-EWXWEXPORT(int,wxMenuBar_GetMenuCount)(wxMenuBar* self)
-{
-	return self->GetMenuCount();
-}
-	
-EWXWEXPORT(wxMenu*,wxMenuBar_GetMenu)(wxMenuBar* self,size_t pos)
-{
-	return self->GetMenu(pos);
-}
-	
-EWXWEXPORT(void*,wxMenuBar_Replace)(wxMenuBar* self,int pos,wxMenu* menu,wxString* title)
-{
-	return (void*)self->Replace((size_t) pos, menu,*title);
-}
-	
-EWXWEXPORT(void*,wxMenuBar_Remove)(wxMenuBar* self,int pos)
-{
-	return (void*)self->Remove((size_t) pos);
-}
-	
-EWXWEXPORT(void,wxMenuBar_EnableTop)(wxMenuBar* self,int pos,bool enable)
-{
-	self->EnableTop((size_t) pos, enable);
-}
-	
-EWXWEXPORT(void,wxMenuBar_SetLabelTop)(wxMenuBar* self,int pos,wxString* label)
-{
-	self->SetLabelTop((size_t) pos,*label);
-}
-	
-EWXWEXPORT(wxString*,wxMenuBar_GetLabelTop)(wxMenuBar* self,int pos)
-{
-	wxString *result = new wxString();
-	*result = self->GetLabelTop((size_t) pos);
-	return result;
-}
-	
-EWXWEXPORT(int,wxMenuBar_FindMenuItem)(wxMenuBar* self,wxString* menuString,wxString* itemString)
-{
-	return self->FindMenuItem(*menuString,*itemString);
-}
-	
-EWXWEXPORT(void*,wxMenuBar_FindItem)(wxMenuBar* self,int id)
-{
-	wxMenu* _foo = new wxMenu;
-	return (void*)self->FindItem(id, &_foo);
-}
-	
-EWXWEXPORT(int,wxMenuBar_FindMenu)(wxMenuBar* self,wxString* title)
-{
-	return self->FindMenu(*title);
-}
-	
-EWXWEXPORT(void,wxMenuBar_EnableItem)(wxMenuBar* self,int id,bool enable)
-{
-	self->Enable(id, enable);
-}
-	
-EWXWEXPORT(void,wxMenuBar_Check)(wxMenuBar* self,int id,bool check)
-{
-	self->Check(id, check);
-}
-	
-EWXWEXPORT(bool,wxMenuBar_IsChecked)(wxMenuBar* self,int id)
-{
-	return self->IsChecked(id);
-}
-	
-EWXWEXPORT(bool,wxMenuBar_IsEnabled)(wxMenuBar* self,int id)
-{
-	return self->IsEnabled(id);
-}
-	
-EWXWEXPORT(void,wxMenuBar_SetItemLabel)(wxMenuBar* self,int id,wxString* label)
-{
-	self->SetLabel(id,*label);
-}
-	
-EWXWEXPORT(wxString*,wxMenuBar_GetLabel)(void* _obj,int id)
-{
-	wxString *result = new wxString();
-	*result = ((wxMenuBar*)_obj)->GetLabel(id);
-	return result;
-}
-	
-EWXWEXPORT(void,wxMenuBar_SetHelpString)(wxMenuBar* self,int id,wxString* helpString)
-{
-	self->SetHelpString(id,*helpString);
-}
-	
-EWXWEXPORT(wxString*,wxMenuBar_GetHelpString)(void* _obj,int id)
-{
-	wxString *result = new wxString();
-	*result = ((wxMenuBar*)_obj)->GetHelpString(id);
-	return result;
-}
-	
-EWXWEXPORT(void,wxMenuBar_Enable)(wxMenuBar* self,bool enable)
-{
-	self->Enable(enable);
-}
-	
-EWXWEXPORT(void,wxMenuBar_SetLabel)(wxMenuBar* self,wxString* s)
-{
-	self->SetLabel(*s);
-}
-	
-}
− src/cpp/eljmessagedialog.cpp
@@ -1,21 +0,0 @@-#include "wrapper.h"
-
-extern "C"
-{
-
-EWXWEXPORT(void*,wxMessageDialog_Create)(wxWindow* _prt,wxString* _msg,wxString* _cap,int _stl)
-{
-	return (void*) new wxMessageDialog(_prt, *_msg, *_cap, (long)_stl);
-}
-
-EWXWEXPORT(void,wxMessageDialog_Delete)(void* _obj)
-{
-	delete (wxMessageDialog*)_obj;
-}
-
-EWXWEXPORT(int,wxMessageDialog_ShowModal)(void* _obj)
-{
-	return ((wxMessageDialog*)_obj)->ShowModal();
-}
-
-}
− src/cpp/eljmime.cpp
@@ -1,140 +0,0 @@-#include "wrapper.h"-#include "wx/mimetype.h"--extern "C"-{--EWXWEXPORT(void*,wxMimeTypesManager_Create)()-{-        return (void*)wxTheMimeTypesManager;-}--EWXWEXPORT(void*,wxMimeTypesManager_GetFileTypeFromExtension)(wxMimeTypesManager* self,wxString* _ext)-{-        return (void*)self->GetFileTypeFromExtension(*_ext);-}--EWXWEXPORT(void*,wxMimeTypesManager_GetFileTypeFromMimeType)(wxMimeTypesManager* self,wxString* _name)-{-        return (void*)self->GetFileTypeFromMimeType(*_name);-}--EWXWEXPORT(bool,wxMimeTypesManager_ReadMailcap)(wxMimeTypesManager* self,wxString* _file,bool _fb)-{-        return self->ReadMailcap(*_file, _fb);-}--EWXWEXPORT(bool,wxMimeTypesManager_ReadMimeTypes)(wxMimeTypesManager* self,wxString* _file)-{-        return self->ReadMimeTypes(*_file);-}--EWXWEXPORT(int,wxMimeTypesManager_EnumAllFileTypes)(wxMimeTypesManager* self,void* _lst)-{-        wxArrayString arr;-        int result = (int)self->EnumAllFileTypes(arr);--        if (_lst)-        {-                for (unsigned int i = 0; i < arr.GetCount(); i++)-                        ((const wxChar**)_lst)[i] = wxStrdup (arr.Item(i).c_str());-        }--        return result;-}--EWXWEXPORT(void,wxMimeTypesManager_AddFallbacks)(wxMimeTypesManager* self,void* _types)-{-        self->AddFallbacks((const wxFileTypeInfo*)_types);-}--EWXWEXPORT(bool,wxMimeTypesManager_IsOfType)(wxMimeTypesManager* self,wxString* _type,wxString* _wildcard)-{-        return self->IsOfType (*_type, *_wildcard);-}---EWXWEXPORT(wxString*,wxFileType_GetMimeType)(wxFileType* self)-{-        wxString *result = new wxString();-        if (self->GetMimeType(result)!=true)-          result->Clear();-        return result;-}--EWXWEXPORT(int,wxFileType_GetMimeTypes)(void* self,void* _lst)-{-        wxArrayString arr;--        if (((wxFileType*)self)->GetMimeTypes(arr) && _lst)-        {-                for (unsigned int i = 0; i < arr.GetCount(); i++)-                        ((const wxChar**)_lst)[i] = wxStrdup (arr.Item(i).c_str());-        }--        return arr.GetCount();-}--EWXWEXPORT(int,wxFileType_GetExtensions)(void* self,void* _lst)-{-        wxArrayString arr;--        if (((wxFileType*)self)->GetExtensions(arr) && _lst)-        {-                for (unsigned int i = 0; i < arr.GetCount(); i++)-                        ((const wxChar**)_lst)[i] = wxStrdup (arr.Item(i).c_str());-        }--        return arr.GetCount();-}--EWXWEXPORT(bool,wxFileType_GetIcon)(wxFileType* self,wxIcon* icon)-{-#if wxCHECK_VERSION(2,5,0)-	wxIconLocation iconLoc;-	bool res = self->GetIcon(&iconLoc);-	*icon = wxIcon(iconLoc);-	return res;-#else-	return self->GetIcon(icon);-#endif-}--EWXWEXPORT(wxString*,wxFileType_GetDescription)(wxFileType* self)-{-        wxString *result = new wxString();-        if (self->GetDescription(result) != true)-          result->Clear();-        return result;-}--EWXWEXPORT(wxString*,wxFileType_GetOpenCommand)(wxFileType* self,void* _params)-{-        wxString *result = new wxString();-        if (self->GetOpenCommand(result, *((wxFileType::MessageParameters*)_params)) != true)-          result->Clear();-        return result;-}--EWXWEXPORT(wxString*,wxFileType_GetPrintCommand)(wxFileType* self,void* _params)-{-        wxString *result = new wxString();-        if (self->GetPrintCommand(result, *((wxFileType::MessageParameters*)_params)) != true)-          result->Clear();-        return result;-}--EWXWEXPORT(wxString*,wxFileType_ExpandCommand)(wxFileType* self,void* _cmd,void* _params)-{-        wxString *result = new wxString();-        *result = self->ExpandCommand((const wxChar*)_cmd, *((wxFileType::MessageParameters*)_params));-        return result;-}--EWXWEXPORT(void,wxFileType_Delete)(void* self)-{-        delete (wxFileType*)self;-}---}
− src/cpp/eljminiframe.cpp
@@ -1,11 +0,0 @@-#include "wrapper.h"
-
-extern "C"
-{
-
-EWXWEXPORT(void*,wxMiniFrame_Create)(wxWindow* _prt,int _id,wxString* _txt,int _lft,int _top,int _wdt,int _hgt,int _stl)
-{
-	return (void*) new wxMiniFrame (_prt, _id, *_txt, wxPoint(_lft, _top), wxSize(_wdt, _hgt), _stl);
-}
-
-}
− src/cpp/eljnotebook.cpp
@@ -1,158 +0,0 @@-#include "wrapper.h"
-
-extern "C"
-{
-
-EWXWEXPORT(int,expNB_TOP)()
-{
-    return (int)wxNB_TOP;
-}
-
-EWXWEXPORT(int,expNB_BOTTOM)()
-{
-    return (int)wxNB_BOTTOM;
-}
-
-EWXWEXPORT(int,expNB_LEFT)()
-{
-    return (int)wxNB_LEFT;
-}
-
-EWXWEXPORT(int,expNB_RIGHT)()
-{
-    return (int)wxNB_RIGHT;
-}
-
-EWXWEXPORT(void*, wxNotebook_Create)(wxWindow* _prt,int _id,int _lft,int _top,int _wdt,int _hgt,int _stl)
-{
-	return (void*) new wxNotebook (_prt, _id, wxPoint(_lft, _top), wxSize(_wdt, _hgt), _stl);
-}
-
-EWXWEXPORT(int,wxNotebook_GetPageCount)(wxNotebook* self)
-{
-	return self->GetPageCount();
-}
-	
-EWXWEXPORT(int,wxNotebook_SetSelection)(wxNotebook* self,int nPage)
-{
-	return self->SetSelection(nPage);
-}
-	
-EWXWEXPORT(void,wxNotebook_AdvanceSelection)(wxNotebook* self,bool bForward)
-{
-	self->AdvanceSelection(bForward);
-}
-	
-EWXWEXPORT(int,wxNotebook_GetSelection)(wxNotebook* self)
-{
-	return self->GetSelection();
-}
-	
-EWXWEXPORT(bool,wxNotebook_SetPageText)(wxNotebook* self,int nPage,wxString* strText)
-{
-	return self->SetPageText(nPage,*strText);
-}
-	
-EWXWEXPORT(wxString*,wxNotebook_GetPageText)(wxNotebook* self,int nPage)
-{
-	wxString *result = new wxString();
-	*result = self->GetPageText(nPage);
-	return result;
-}
-	
-EWXWEXPORT(void,wxNotebook_SetImageList)(wxNotebook* self,void* imageList)
-{
-	self->SetImageList((wxImageList*)imageList);
-}
-	
-EWXWEXPORT(void*,wxNotebook_GetImageList)(void* self)
-{
-	return (void*)((wxNotebook*)self)->GetImageList();
-}
-	
-EWXWEXPORT(int,wxNotebook_GetPageImage)(wxNotebook* self,int nPage)
-{
-	return self->GetPageImage(nPage);
-}
-	
-EWXWEXPORT(bool,wxNotebook_SetPageImage)(wxNotebook* self,int nPage,int nImage)
-{
-	return self->SetPageImage(nPage, nImage);
-}
-	
-EWXWEXPORT(int,wxNotebook_GetRowCount)(wxNotebook* self)
-{
-	return self->GetRowCount();
-}
-	
-EWXWEXPORT(void,wxNotebook_SetPageSize)(wxNotebook* self,int _w,int _h)
-{
-	self->SetPageSize(wxSize(_w, _h));
-}
-	
-EWXWEXPORT(void,wxNotebook_SetPadding)(wxNotebook* self,int _w,int _h)
-{
-	self->SetPadding(wxSize(_w, _h));
-}
-
-EWXWEXPORT(int, wxNotebook_HitTest)(wxNotebook* _obj, int x, int y, long *flags)
-{
-	return _obj->HitTest(wxPoint(x, y), flags);
-}
-
-EWXWEXPORT(int,expBK_HITTEST_NOWHERE)()
-{
-    return (int)wxBK_HITTEST_NOWHERE;
-}
-
-EWXWEXPORT(int,expBK_HITTEST_ONICON)()
-{
-    return (int)wxBK_HITTEST_ONICON;
-}
-
-EWXWEXPORT(int,expBK_HITTEST_ONLABEL)()
-{
-    return (int)wxBK_HITTEST_ONLABEL;
-}
-
-EWXWEXPORT(int,expBK_HITTEST_ONITEM)()
-{
-    return (int)wxBK_HITTEST_ONITEM;
-}
-
-EWXWEXPORT(int,expBK_HITTEST_ONPAGE)()
-{
-    return (int)wxBK_HITTEST_ONPAGE;
-}
-
-EWXWEXPORT(bool,wxNotebook_DeletePage)(wxNotebook* self,int nPage)
-{
-	return self->DeletePage(nPage);
-}
-	
-EWXWEXPORT(bool,wxNotebook_RemovePage)(wxNotebook* self,int nPage)
-{
-	return self->RemovePage(nPage);
-}
-	
-EWXWEXPORT(bool,wxNotebook_DeleteAllPages)(wxNotebook* self)
-{
-	return self->DeleteAllPages();
-}
-	
-EWXWEXPORT(bool,wxNotebook_AddPage)(wxNotebook* self,wxNotebookPage* pPage,wxString* strText,bool bSelect,int imageId)
-{
-	return self->AddPage( pPage,* strText, bSelect, imageId);
-}
-	
-EWXWEXPORT(bool,wxNotebook_InsertPage)(wxNotebook* self,int nPage,wxNotebookPage* pPage,wxString* strText,bool bSelect,int imageId)
-{
-	return self->InsertPage(nPage,  pPage,* strText, bSelect, imageId);
-}
-	
-EWXWEXPORT(void*,wxNotebook_GetPage)(wxNotebook* self,int nPage)
-{
-	return (void*)self->GetPage(nPage);
-}
-	
-}
− src/cpp/eljpalette.cpp
@@ -1,68 +0,0 @@-#include "wrapper.h"
-
-extern "C"
-{
-
-EWXWEXPORT(void*,wxPalette_CreateDefault)()
-{
-	return (void*)new wxPalette();
-}
-
-EWXWEXPORT(void*,wxPalette_CreateRGB)(int n,void* red,void* green,void* blue)
-{
-	return (void*)new wxPalette(n, (unsigned char*)red, (unsigned char*)green, (unsigned char*)blue);
-}
-
-EWXWEXPORT(void,wxPalette_Delete)(wxPalette* self)
-{
-	delete self;
-}
-
-EWXWEXPORT(int,wxPalette_GetPixel)(wxPalette* self,wxUint8 red,wxUint8 green,wxUint8 blue)
-{
-	return self->GetPixel(red,green,blue);
-}
-	
-EWXWEXPORT(bool,wxPalette_GetRGB)(wxPalette* self,int pixel,void* red,void* green,void* blue)
-{
-	return self->GetRGB(pixel, (unsigned char*)red, (unsigned char*)green, (unsigned char*)blue);
-}
-	
-EWXWEXPORT(bool,wxPalette_IsOk)(wxPalette* self)
-{
-	return self->IsOk();
-}
-	
-EWXWEXPORT(void,wxPalette_Assign)(void* self,void* palette)
-{
-	*((wxPalette*)self) = *((wxPalette*)palette);
-}
-
-EWXWEXPORT(bool,wxPalette_IsEqual)(wxPalette* self,wxPalette* palette)
-{
-#if (wxVERSION_NUMBER <= 2800)
-	return *self == *palette;
-#else
-	wxPalette* pal1 = self;
-	wxPalette* pal2 = palette;
-	if (pal1->GetColoursCount() == pal2->GetColoursCount()){
-		bool equal = true;
-		unsigned char red1 = 0;
-		unsigned char red2 = 0;
-		unsigned char green1 = 0;
-		unsigned char green2 = 0;
-		unsigned char blue1 = 0;
-		unsigned char blue2 = 0;
-		for(int x = 0; x<(pal1->GetColoursCount()); x++){
-			pal1->GetRGB(x, &red1, &green1, &blue1);
-			pal2->GetRGB(x, &red2, &green2, &blue2);
-			equal = equal && (red1==red2 && green1==green2 && blue1==blue2); 
-		}
-		return equal;
-	} else {
-		return false;
-	}
-#endif
-}
-
-}
− src/cpp/eljpanel.cpp
@@ -1,40 +0,0 @@-#include "wrapper.h"
-
-extern "C"
-{
-
-EWXWEXPORT(void*, wxPanel_Create) (void* _prt, int _id, int _lft, int _top, int _wdt, int _hgt, int _stl)
-{
-	return (void*) new wxPanel ((wxWindow*)_prt, _id, wxPoint(_lft, _top), wxSize(_wdt, _hgt), _stl);
-}
-
-EWXWEXPORT(void, wxPanel_InitDialog)(void* _obj)
-{
-	((wxPanel*)_obj)->InitDialog();
-}
-	
-EWXWEXPORT(void*, wxPanel_GetDefaultItem)(void* _obj)
-{
-#if (wxVERSION_NUMBER <= 2800)
-	return (void*)((wxPanel*)_obj)->GetDefaultItem();
-#else
-	return (void*)((wxTopLevelWindow*)_obj)->GetDefaultItem();
-#endif
-}
-	
-EWXWEXPORT(void, wxPanel_SetDefaultItem)(void* _obj, void* btn)
-{
-#if (wxVERSION_NUMBER <= 2800)
-	((wxPanel*)_obj)->SetDefaultItem((wxButton*) btn);
-#else
-	((wxTopLevelWindow*)_obj)->SetDefaultItem((wxButton*) btn);
-#endif
-}
-
-#if (wxVERSION_NUMBER >= 2800)
-EWXWEXPORT(void, wxPanel_SetFocus)(void* _obj)
-{
-	((wxPanel*)_obj)->SetFocus();
-}
-#endif
-}
− src/cpp/eljpen.cpp
@@ -1,153 +0,0 @@-#include "wrapper.h"
-
-extern "C"
-{
-
-EWXWEXPORT(void*,wxPen_CreateDefault)()
-{
-	return new wxPen();
-}
-
-EWXWEXPORT(void*,wxPen_CreateFromColour)(wxColour* col,int width,int style)
-{
-	return new wxPen(*col, width, style);
-}
-
-EWXWEXPORT(void*,wxPen_CreateFromBitmap)(wxBitmap* stipple,int width)
-{
-#ifdef __WIN32__
-	return new wxPen(*stipple, width);
-#else
-	return NULL;
-#endif
-}
-
-EWXWEXPORT(void*,wxPen_CreateFromStock)(int id)
-{
-	switch (id)
-	{
-		case 0:
-			return (void*)wxRED_PEN;
-		case 1:
-			return (void*)wxCYAN_PEN;
-		case 2:
-			return (void*)wxGREEN_PEN;
-		case 3:
-			return (void*)wxBLACK_PEN;
-		case 4:
-			return (void*)wxWHITE_PEN;
-		case 5:
-			return (void*)wxTRANSPARENT_PEN;
-		case 6:
-			return (void*)wxBLACK_DASHED_PEN;
-		case 7:
-			return (void*)wxGREY_PEN;
-		case 8:
-			return (void*)wxMEDIUM_GREY_PEN;
-		case 9:
-			return (void*)wxLIGHT_GREY_PEN;
-	}
-	
-	return NULL;
-}
-
-EWXWEXPORT(void,wxPen_Delete)(void* self)
-{
-	delete (wxPen*)self;
-}
-
-EWXWEXPORT(void,wxPen_Assign)(void* self,void* pen)
-{
-	*((wxPen*)self) = *((wxPen*)pen);
-}
-	
-EWXWEXPORT(bool,wxPen_IsEqual)(wxPen* self,wxPen* pen)
-{
-	return *self == *pen;
-}
-	
-EWXWEXPORT(bool,wxPen_IsOk)(wxPen* self)
-{
-	return self->IsOk();
-}
-	
-EWXWEXPORT(void,wxPen_SetColour)(void* self,wxColour* col)
-{
-	((wxPen*)self)->SetColour(*col);
-}
-	
-EWXWEXPORT(void,wxPen_SetColourSingle)(void* self,wxUint8 r,wxUint8 g,wxUint8 b)
-{
-	((wxPen*)self)->SetColour(r,g,b);
-}
-	
-EWXWEXPORT(void,wxPen_SetWidth)(void* self,int width)
-{
-	((wxPen*)self)->SetWidth(width);
-}
-	
-EWXWEXPORT(void,wxPen_SetStyle)(void* self,int style)
-{
-	((wxPen*)self)->SetStyle(style);
-}
-	
-EWXWEXPORT(void,wxPen_SetStipple)(void* self,wxBitmap* stipple)
-{
-#ifdef __WIN32__
-	((wxPen*)self)->SetStipple(*stipple);
-#endif
-}
-	
-EWXWEXPORT(void,wxPen_SetDashes)(void* self,int nb_dashes,void* dash)
-{
-	((wxPen*)self)->SetDashes(nb_dashes, (wxDash*)dash);
-}
-	
-EWXWEXPORT(void,wxPen_SetJoin)(void* self,int join)
-{
-	((wxPen*)self)->SetJoin(join);
-}
-	
-EWXWEXPORT(void,wxPen_SetCap)(void* self,int cap)
-{
-	((wxPen*)self)->SetCap(cap);
-}
-	
-EWXWEXPORT(void,wxPen_GetColour)(void* self,wxColour* _ref)
-{
-	*_ref = ((wxPen*)self)->GetColour();
-}
-	
-EWXWEXPORT(int,wxPen_GetWidth)(void* self)
-{
-	return ((wxPen*)self)->GetWidth();
-}
-	
-EWXWEXPORT(int,wxPen_GetStyle)(void* self)
-{
-	return ((wxPen*)self)->GetStyle();
-}
-	
-EWXWEXPORT(int,wxPen_GetJoin)(void* self)
-{
-	return ((wxPen*)self)->GetJoin();
-}
-	
-EWXWEXPORT(int,wxPen_GetCap)(void* self)
-{
-	return ((wxPen*)self)->GetCap();
-}
-	
-EWXWEXPORT(int,wxPen_GetDashes)(void* self,void* ptr)
-{
-	return ((wxPen*)self)->GetDashes((wxDash**)ptr);
-}
-	
-EWXWEXPORT(void,wxPen_GetStipple)(void* self,wxBitmap* _ref)
-{
-#ifdef __WIN32__
-	*_ref = *(((wxPen*)self)->GetStipple());
-#endif
-}
-	
-}
− src/cpp/eljprintdlg.cpp
@@ -1,222 +0,0 @@-#include "wrapper.h"
-
-extern "C"
-{
-
-EWXWEXPORT(void*,wxPrintDialog_Create)(wxWindow* parent,wxPrintDialogData* data)
-{
-	return (void*)new wxPrintDialog(parent, data);
-}
-
-EWXWEXPORT(void,wxPrintDialog_GetPrintData)(wxPrintDialog* self,wxPrintData* _ref)
-{
-	*_ref = self->GetPrintData();
-}
-
-	
-EWXWEXPORT(void*,wxPrintDialog_GetPrintDC)(wxPrintDialog* self)
-{
-	return (void*)self->GetPrintDC();
-}
-	
-EWXWEXPORT(void*,wxPageSetupDialog_Create)(wxWindow* parent,wxPageSetupData* data)
-{
-	return (void*)new wxPageSetupDialog(parent, data);
-}
-
-EWXWEXPORT(void,wxPageSetupDialog_GetPageSetupData)(wxPageSetupDialog* self,wxPageSetupData* _ref)
-{
-	*_ref = self->GetPageSetupData();
-}
-	
-EWXWEXPORT(void*,wxPageSetupDialogData_Create)()
-{
-	return (void*)new wxPageSetupDialogData();
-}
-
-EWXWEXPORT(void*,wxPageSetupDialogData_CreateFromData)(wxPrintData* printData)
-{
-	return (void*)new wxPageSetupDialogData(*printData);
-}
-
-EWXWEXPORT(void,wxPageSetupDialogData_Delete)(wxPageSetupDialogData* self)
-{
-	delete self;
-}
-
-EWXWEXPORT(wxSize*,wxPageSetupDialogData_GetPaperSize)(wxPageSetupDialogData* self)
-{
-	wxSize* s = new wxSize();
-	*s = self->GetPaperSize();
-	return s;
-}
-	
-EWXWEXPORT(int,wxPageSetupDialogData_GetPaperId)(wxPageSetupDialogData* self)
-{
-	return (int)self->GetPaperId();
-}
-	
-EWXWEXPORT(wxPoint*,wxPageSetupDialogData_GetMinMarginTopLeft)(wxPageSetupDialogData* self)
-{
-	wxPoint* pt = new wxPoint();
-	*pt = self->GetMinMarginTopLeft();
-	return pt;
-}
-	
-EWXWEXPORT(wxPoint*,wxPageSetupDialogData_GetMinMarginBottomRight)(wxPageSetupDialogData* self)
-{
-	wxPoint* pt = new wxPoint();
-	*pt = self->GetMinMarginBottomRight();
-	return pt;
-}
-	
-EWXWEXPORT(wxPoint*,wxPageSetupDialogData_GetMarginTopLeft)(wxPageSetupDialogData* self)
-{
-	wxPoint* pt = new wxPoint();
-	*pt = self->GetMarginTopLeft();
-	return pt;
-}
-	
-EWXWEXPORT(wxPoint*,wxPageSetupDialogData_GetMarginBottomRight)(wxPageSetupDialogData* self)
-{
-	wxPoint* pt = new wxPoint();
-	*pt = self->GetMarginBottomRight();
-	return pt;
-}
-	
-EWXWEXPORT(int,wxPageSetupDialogData_GetDefaultMinMargins)(wxPageSetupDialogData* self)
-{
-	return (int)self->GetDefaultMinMargins();
-}
-	
-EWXWEXPORT(int,wxPageSetupDialogData_GetEnableMargins)(wxPageSetupDialogData* self)
-{
-	return (int)self->GetEnableMargins();
-}
-	
-EWXWEXPORT(int,wxPageSetupDialogData_GetEnableOrientation)(wxPageSetupDialogData* self)
-{
-	return (int)self->GetEnableOrientation();
-}
-	
-EWXWEXPORT(int,wxPageSetupDialogData_GetEnablePaper)(wxPageSetupDialogData* self)
-{
-	return (int)self->GetEnablePaper();
-}
-	
-EWXWEXPORT(int,wxPageSetupDialogData_GetEnablePrinter)(wxPageSetupDialogData* self)
-{
-	return (int)self->GetEnablePrinter();
-}
-	
-EWXWEXPORT(int,wxPageSetupDialogData_GetDefaultInfo)(wxPageSetupDialogData* self)
-{
-	return (int)self->GetDefaultInfo();
-}
-	
-EWXWEXPORT(int,wxPageSetupDialogData_GetEnableHelp)(wxPageSetupDialogData* self)
-{
-	return (int)self->GetEnableHelp();
-}
-	
-EWXWEXPORT(void,wxPageSetupDialogData_SetPaperSize)(wxPageSetupDialogData* self,int w,int h)
-{
-	self->SetPaperSize(wxSize(w, h));
-}
-	
-EWXWEXPORT(void,wxPageSetupDialogData_SetPaperId)(wxPageSetupDialogData* self,void* id)
-{
-	self->SetPaperId(*((wxPaperSize*)id));
-}
-	
-EWXWEXPORT(void,wxPageSetupDialogData_SetPaperSizeId)(wxPageSetupDialogData* self,int id)
-{
-	self->SetPaperSize((wxPaperSize)id);
-}
-	
-EWXWEXPORT(void,wxPageSetupDialogData_SetMinMarginTopLeft)(wxPageSetupDialogData* self,int x,int y)
-{
-	self->SetMinMarginTopLeft(wxPoint(x, y));
-}
-	
-EWXWEXPORT(void,wxPageSetupDialogData_SetMinMarginBottomRight)(wxPageSetupDialogData* self,int x,int y)
-{
-	self->SetMinMarginBottomRight(wxPoint(x, y));
-}
-	
-EWXWEXPORT(void,wxPageSetupDialogData_SetMarginTopLeft)(wxPageSetupDialogData* self,int x,int y)
-{
-	self->SetMarginTopLeft(wxPoint(x, y));
-}
-	
-EWXWEXPORT(void,wxPageSetupDialogData_SetMarginBottomRight)(wxPageSetupDialogData* self,int x,int y)
-{
-	self->SetMarginBottomRight(wxPoint(x, y));
-}
-	
-EWXWEXPORT(void,wxPageSetupDialogData_SetDefaultMinMargins)(wxPageSetupDialogData* self,bool flag)
-{
-	self->SetDefaultMinMargins(flag);
-}
-	
-EWXWEXPORT(void,wxPageSetupDialogData_SetDefaultInfo)(wxPageSetupDialogData* self,bool flag)
-{
-	self->SetDefaultInfo(flag);
-}
-	
-EWXWEXPORT(void,wxPageSetupDialogData_EnableMargins)(wxPageSetupDialogData* self,bool flag)
-{
-	self->EnableMargins(flag);
-}
-	
-EWXWEXPORT(void,wxPageSetupDialogData_EnableOrientation)(wxPageSetupDialogData* self,bool flag)
-{
-	self->EnableOrientation(flag);
-}
-	
-EWXWEXPORT(void,wxPageSetupDialogData_EnablePaper)(wxPageSetupDialogData* self,bool flag)
-{
-	self->EnablePaper(flag);
-}
-	
-EWXWEXPORT(void,wxPageSetupDialogData_EnablePrinter)(wxPageSetupDialogData* self,bool flag)
-{
-	self->EnablePrinter(flag);
-}
-	
-EWXWEXPORT(void,wxPageSetupDialogData_EnableHelp)(wxPageSetupDialogData* self,bool flag)
-{
-	self->EnableHelp(flag);
-}
-	
-EWXWEXPORT(void,wxPageSetupDialogData_CalculateIdFromPaperSize)(wxPageSetupDialogData* self)
-{
-	self->CalculateIdFromPaperSize();
-}
-	
-EWXWEXPORT(void,wxPageSetupDialogData_CalculatePaperSizeFromId)(wxPageSetupDialogData* self)
-{
-	self->CalculatePaperSizeFromId();
-}
-	
-EWXWEXPORT(void,wxPageSetupDialogData_Assign)(wxPageSetupDialogData* self,wxPageSetupDialogData* data)
-{
-	*self = *data;
-}
-	
-EWXWEXPORT(void,wxPageSetupDialogData_AssignData)(wxPageSetupDialogData* self,wxPrintData* data)
-{
-	*self = *data;
-}
-	
-EWXWEXPORT(void,wxPageSetupDialogData_GetPrintData)(wxPageSetupDialogData* self,wxPrintData* _ref)
-{
-	*_ref = self->GetPrintData();
-}
-	
-EWXWEXPORT(void,wxPageSetupDialogData_SetPrintData)(wxPageSetupDialogData* self,wxPrintData* printData)
-{
-	self->SetPrintData(*printData);
-}
-	
-}
− src/cpp/eljprinting.cpp
@@ -1,878 +0,0 @@-#include "wrapper.h"
-
-#if !defined(__WXGTK__)
-# include <wx/dcprint.h>
-#endif
-
-#if defined(wxUSE_POSTSCRIPT) && (wxUSE_POSTSCRIPT==0)
-# undef wxUSE_POSTSCRIPT
-#endif
-
-#ifdef wxUSE_POSTSCRIPT
-# include <wx/dcps.h>
-# include "wx/generic/prntdlgg.h"
-#endif
-
-#ifndef wxUSE_POSTSCRIPT
-# define wxPostScriptDC        void
-#endif
-
-extern "C"
-{
-
-EWXWEXPORT(void*,wxPrinter_Create)(void* data)
-{
-	return (void*)new wxPrinter((wxPrintDialogData*)data);
-}
-
-EWXWEXPORT(void,wxPrinter_Delete)(wxPrinter* self)
-{
-	delete self;
-}
-
-EWXWEXPORT(void*,wxPrinter_CreateAbortWindow)(wxPrinter* self,wxWindow* parent,wxPrintout* printout)
-{
-	return (void*)self->CreateAbortWindow(parent, printout);
-}
-	
-EWXWEXPORT(void,wxPrinter_ReportError)(wxPrinter* self,wxWindow* parent,wxPrintout* printout,wxString* message)
-{
-	self->ReportError(parent, printout,*message);
-}
-	
-EWXWEXPORT(void,wxPrinter_GetPrintDialogData)(wxPrinter* self,wxPrintDialogData* _ref)
-{
-	*_ref = self->GetPrintDialogData();
-}
-	
-EWXWEXPORT(bool,wxPrinter_GetAbort)(wxPrinter* self)
-{
-	return self->GetAbort();
-}
-	
-EWXWEXPORT(int,wxPrinter_GetLastError)(wxPrinter* self)
-{
-	return self->GetLastError();
-}
-	
-EWXWEXPORT(bool,wxPrinter_Setup)(wxPrinter* self,wxWindow* parent)
-{
-	return self->Setup(parent);
-}
-	
-EWXWEXPORT(bool,wxPrinter_Print)(wxPrinter* self,wxWindow* parent,wxPrintout* printout,bool prompt)
-{
-	return self->Print(parent, printout, prompt);
-}
-	
-EWXWEXPORT(void*,wxPrinter_PrintDialog)(wxPrinter* self,wxWindow* parent)
-{
-	return (void*)self->PrintDialog(parent);
-}
-	
-EWXWEXPORT(void*,ELJPrintout_Create)(void* title,void* self,void* _DoOnBeginDocument,void* _DoOnEndDocument,void* _DoOnBeginPrinting,void* _DoOnEndPrinting,void* _DoOnPreparePrinting,void* _DoOnPrintPage,void* _DoOnHasPage,void* DoOnPageInfo)
-{
-	return (void*)new ELJPrintout( title, self, _DoOnBeginDocument, _DoOnEndDocument, _DoOnBeginPrinting, _DoOnEndPrinting, _DoOnPreparePrinting, _DoOnPrintPage, _DoOnHasPage, DoOnPageInfo);
-}
-EWXWEXPORT(void,ELJPrintout_Delete)(ELJPrintout* self)
-{
-	delete self;
-}
-
-EWXWEXPORT(wxString*,ELJPrintout_GetTitle)(ELJPrintout* self)
-{
-	return new wxString(self->GetTitle());
-}
-	
-EWXWEXPORT(void*,ELJPrintout_GetDC)(ELJPrintout* self)
-{
-	return (void*)self->GetDC();
-}
-	
-EWXWEXPORT(void,ELJPrintout_SetDC)(ELJPrintout* self,wxDC* dc)
-{
-	self->SetDC(dc);
-}
-	
-EWXWEXPORT(void,ELJPrintout_SetPageSizePixels)(void* _obj,int w,int h)
-{
-	((ELJPrintout*)_obj)->SetPageSizePixels(w, h);
-}
-	
-EWXWEXPORT(void,ELJPrintout_GetPageSizePixels)(void* _obj,int* w,int* h)
-{
-	((ELJPrintout*)_obj)->GetPageSizePixels(w,h);
-}
-	
-EWXWEXPORT(void,ELJPrintout_SetPageSizeMM)(void* _obj,int w,int h)
-{
-	((ELJPrintout*)_obj)->SetPageSizeMM(w, h);
-}
-	
-EWXWEXPORT(void,ELJPrintout_GetPageSizeMM)(void* _obj,int* w,int* h)
-{
-	((ELJPrintout*)_obj)->GetPageSizeMM(w,h);
-}
-	
-EWXWEXPORT(void,ELJPrintout_SetPPIScreen)(void* _obj,int x,int y)
-{
-	((ELJPrintout*)_obj)->SetPPIScreen(x, y);
-}
-	
-EWXWEXPORT(void,ELJPrintout_GetPPIScreen)(void* _obj,int* x,int* y)
-{
-	((ELJPrintout*)_obj)->GetPPIScreen(x,y);
-}
-	
-EWXWEXPORT(void,ELJPrintout_SetPPIPrinter)(void* _obj,int x,int y)
-{
-	((ELJPrintout*)_obj)->SetPPIPrinter(x, y);
-}
-	
-EWXWEXPORT(void,ELJPrintout_GetPPIPrinter)(void* _obj,int* x,int* y)
-{
-	((ELJPrintout*)_obj)->GetPPIPrinter(x,y);
-}
-	
-EWXWEXPORT(bool,ELJPrintout_IsPreview)(ELJPrintout* self)
-{
-	return self->IsPreview();
-}
-	
-EWXWEXPORT(void,ELJPrintout_SetIsPreview)(ELJPrintout* self,bool p)
-{
-	self->SetIsPreview(p);
-}
-
-EWXWEXPORT(void*,wxPreviewCanvas_Create)(void* preview,wxWindow* parent,int x,int y,int w,int h,int style)
-{
-	return (void*) new wxPreviewCanvas(	(wxPrintPreviewBase*)preview,parent,
-                    				 wxPoint(x, y),wxSize(w, h),
-                    					(long)style);
-}
-
-EWXWEXPORT(void*,ELJPreviewFrame_Create)(void* _obj,void* _init,void* _create_canvas,void* _create_toolbar,void* preview,void* parent,void* title,int x,int y,int w,int h,int style)
-{
-    return (void*) new ELJPreviewFrame(_obj, _init, _create_canvas, _create_toolbar, preview, parent, title, x, y, w, h, style);
-}
-
-EWXWEXPORT(void,ELJPreviewFrame_Initialize)(ELJPreviewFrame* self)
-{
-	self->Initialize();
-}
-	
-EWXWEXPORT(void,ELJPreviewFrame_SetPreviewCanvas)(ELJPreviewFrame* self,void* obj)
-{
-	self->SetPreviewCanvas (obj);
-}
-	
-EWXWEXPORT(void,ELJPreviewFrame_SetControlBar)(ELJPreviewFrame* self,void* obj)
-{
-	self->SetControlBar (obj);
-}
-	
-EWXWEXPORT(void,ELJPreviewFrame_SetPrintPreview)(ELJPreviewFrame* self,void* obj)
-{
-	self->SetPrintPreview (obj);
-}
-	
-EWXWEXPORT(void*,ELJPreviewFrame_GetPreviewCanvas)(ELJPreviewFrame* self)
-{
-	return (void*)self->GetPreviewCanvas ();
-}
-	
-EWXWEXPORT(void*,ELJPreviewFrame_GetControlBar)(ELJPreviewFrame* self)
-{
-	return (void*)self->GetControlBar ();
-}
-	
-EWXWEXPORT(void*,ELJPreviewFrame_GetPrintPreview)(ELJPreviewFrame* self)
-{
-	return (void*)self->GetPrintPreview ();
-}
-	
-EWXWEXPORT(void*, ELJPreviewControlBar_Create)(void* preview,int buttons,wxWindow* parent,void* title,int x,int y,int w,int h,int style)
-{
-    return (void*) new wxPreviewControlBar((wxPrintPreviewBase*)preview, (long)buttons, parent, wxPoint(x, y), wxSize(w, h), (long)style);
-}
-
-EWXWEXPORT(void*,wxPrintPreview_CreateFromDialogData)(void* printout,void* printoutForPrinting,void* data)
-{
-    return (void*) new wxPrintPreview((wxPrintout*)printout, (wxPrintout*)printoutForPrinting, (wxPrintDialogData*)data);
-}
-
-EWXWEXPORT(void*,wxPrintPreview_CreateFromData)(void* printout,void* printoutForPrinting,void* data)
-{
-    return (void*) new wxPrintPreview((wxPrintout*)printout, (wxPrintout*)printoutForPrinting, (wxPrintData*)data);
-}
-
-EWXWEXPORT(void,wxPrintPreview_Delete)(wxPrintPreview* self)
-{
-	delete self;
-}
-
-EWXWEXPORT(void,wxPrintPreview_SetCurrentPage)(wxPrintPreview* self,int pageNum)
-{
-	self->SetCurrentPage(pageNum);
-}
-	
-EWXWEXPORT(int,wxPrintPreview_GetCurrentPage)(wxPrintPreview* self)
-{
-	return self->GetCurrentPage();
-}
-	
-EWXWEXPORT(void,wxPrintPreview_SetPrintout)(wxPrintPreview* self,wxPrintout* printout)
-{
-	self->SetPrintout(printout);
-}
-	
-EWXWEXPORT(void*,wxPrintPreview_GetPrintout)(wxPrintPreview* self)
-{
-	return (void*)self->GetPrintout();
-}
-	
-EWXWEXPORT(void*,wxPrintPreview_GetPrintoutForPrinting)(wxPrintPreview* self)
-{
-	return (void*)self->GetPrintoutForPrinting();
-}
-	
-EWXWEXPORT(void,wxPrintPreview_SetFrame)(wxPrintPreview* self,wxFrame* frame)
-{
-	self->SetFrame(frame);
-}
-	
-EWXWEXPORT(void,wxPrintPreview_SetCanvas)(wxPrintPreview* self,wxPreviewCanvas* canvas)
-{
-	self->SetCanvas(canvas);
-}
-	
-EWXWEXPORT(void*,wxPrintPreview_GetFrame)(wxPrintPreview* self)
-{
-	return (void*)self->GetFrame();
-}
-	
-EWXWEXPORT(void*,wxPrintPreview_GetCanvas)(wxPrintPreview* self)
-{
-	return (void*)self->GetCanvas();
-}
-	
-EWXWEXPORT(bool,wxPrintPreview_PaintPage)(wxPrintPreview* self,wxPreviewCanvas* canvas,wxDC* dc)
-{
-	return self->PaintPage(canvas,*dc);
-}
-	
-EWXWEXPORT(bool,wxPrintPreview_DrawBlankPage)(wxPrintPreview* self,wxPreviewCanvas* canvas,wxDC* dc)
-{
-	return self->DrawBlankPage(canvas,*dc);
-}
-	
-EWXWEXPORT(bool,wxPrintPreview_RenderPage)(wxPrintPreview* self,int pageNum)
-{
-	return self->RenderPage(pageNum);
-}
-	
-EWXWEXPORT(void,wxPrintPreview_GetPrintDialogData)(wxPrintPreview* self,wxPrintDialogData* _ref)
-{
-	*_ref = self->GetPrintDialogData();
-}
-	
-EWXWEXPORT(void,wxPrintPreview_SetZoom)(wxPrintPreview* self,int percent)
-{
-	self->SetZoom(percent);
-}
-	
-EWXWEXPORT(int,wxPrintPreview_GetZoom)(wxPrintPreview* self)
-{
-	return self->GetZoom();
-}
-	
-EWXWEXPORT(int,wxPrintPreview_GetMaxPage)(wxPrintPreview* self)
-{
-	return self->GetMaxPage();
-}
-	
-EWXWEXPORT(int,wxPrintPreview_GetMinPage)(wxPrintPreview* self)
-{
-	return self->GetMinPage();
-}
-	
-EWXWEXPORT(bool,wxPrintPreview_IsOk)(wxPrintPreview* self)
-{
-	return self->IsOk();
-}
-	
-EWXWEXPORT(void,wxPrintPreview_SetOk)(wxPrintPreview* self,bool ok)
-{
-	self->SetOk(ok);
-}
-	
-EWXWEXPORT(bool,wxPrintPreview_Print)(wxPrintPreview* self,bool interactive)
-{
-	return self->Print(interactive);
-}
-	
-EWXWEXPORT(void,wxPrintPreview_DetermineScaling)(wxPrintPreview* self)
-{
-	self->DetermineScaling();
-}
-	
-EWXWEXPORT(void*,wxPrintData_Create)()
-{
-	return (void*) new wxPrintData();
-}
-
-EWXWEXPORT(void,wxPrintData_Delete)(wxPrintData* self)
-{
-	delete self;
-}
-
-EWXWEXPORT(void*,wxPostScriptPrintNativeData_Create)()
-{
-#ifdef wxUSE_POSTSCRIPT
-	return (void*)new wxPostScriptPrintNativeData();
-#else
-	return NULL;
-#endif
-}
-
-EWXWEXPORT(void,wxPostScriptPrintNativeData_Delete)(void* self)
-{
-#ifdef wxUSE_POSTSCRIPT
-	delete (wxPostScriptPrintNativeData*)self;
-#endif
-}
-
-EWXWEXPORT(int,wxPrintData_GetNoCopies)(wxPrintData* self)
-{
-	return self->GetNoCopies();
-}
-	
-EWXWEXPORT(bool,wxPrintData_GetCollate)(wxPrintData* self)
-{
-	return self->GetCollate();
-}
-	
-EWXWEXPORT(int,wxPrintData_GetOrientation)(wxPrintData* self)
-{
-	return self->GetOrientation();
-}
-	
-EWXWEXPORT(wxString*,wxPrintData_GetPrinterName)(wxPrintData* self)
-{
-	return new wxString(self->GetPrinterName());
-}
-	
-EWXWEXPORT(bool,wxPrintData_GetColour)(wxPrintData* self)
-{
-	return self->GetColour();
-}
-	
-EWXWEXPORT(int,wxPrintData_GetDuplex)(wxPrintData* self)
-{
-	return (int)self->GetDuplex();
-}
-	
-EWXWEXPORT(int,wxPrintData_GetPaperId)(wxPrintData* self)
-{
-	return (int)self->GetPaperId();
-}
-	
-EWXWEXPORT(wxSize*,wxPrintData_GetPaperSize)(wxPrintData* self)
-{
-	wxSize* s = new wxSize();
-	*s = self->GetPaperSize();
-	return s;
-}
-	
-EWXWEXPORT(int,wxPrintData_GetQuality)(wxPrintData* self)
-{
-	return (int)self->GetQuality();
-}
-	
-EWXWEXPORT(void,wxPrintData_SetNoCopies)(wxPrintData* self,int v)
-{
-	self->SetNoCopies(v);
-}
-	
-EWXWEXPORT(void,wxPrintData_SetCollate)(wxPrintData* self,bool flag)
-{
-	self->SetCollate(flag);
-}
-	
-EWXWEXPORT(void,wxPrintData_SetOrientation)(wxPrintData* self,int orient)
-{
-	self->SetOrientation(orient);
-}
-	
-EWXWEXPORT(void,wxPrintData_SetPrinterName)(wxPrintData* self,wxString* name)
-{
-	self->SetPrinterName(*name);
-}
-	
-EWXWEXPORT(void,wxPrintData_SetColour)(wxPrintData* self,bool colour)
-{
-	self->SetColour(colour);
-}
-	
-EWXWEXPORT(void,wxPrintData_SetDuplex)(wxPrintData* self,int duplex)
-{
-	self->SetDuplex((wxDuplexMode)duplex);
-}
-	
-EWXWEXPORT(void,wxPrintData_SetPaperId)(wxPrintData* self,int sizeId)
-{
-	self->SetPaperId((wxPaperSize)sizeId);
-}
-	
-EWXWEXPORT(void,wxPrintData_SetPaperSize)(wxPrintData* self,int w,int h)
-{
-	self->SetPaperSize(wxSize(w, h));
-}
-	
-EWXWEXPORT(void,wxPrintData_SetQuality)(wxPrintData* self,int quality)
-{
-	self->SetQuality((wxPrintQuality)quality);
-}
-	
-EWXWEXPORT(wxString*,wxPrintData_GetPrinterCommand)(void* self)
-{
-#if wxVERSION_NUMBER < 2600 || defined (wxUSE_POSTSCRIPT)
-#ifdef wxUSE_POSTSCRIPT
-	wxString tmp = ((wxPostScriptPrintNativeData*)self)->GetPrinterCommand();
-#else
-	wxString tmp = ((wxPrintData*)self)->GetPrinterCommand();
-#endif
-	return new wxString(tmp);
-#else
-	return NULL;
-#endif
-}
-	
-EWXWEXPORT(wxString*,wxPrintData_GetPrinterOptions)(void* self)
-{
-#if wxVERSION_NUMBER < 2600 || defined (wxUSE_POSTSCRIPT)
-#ifdef wxUSE_POSTSCRIPT
-	wxString tmp = ((wxPostScriptPrintNativeData*)self)->GetPrinterOptions();
-#else
-	wxString tmp = ((wxPrintData*)self)->GetPrinterOptions();
-#endif
-	return new wxString(tmp);
-#else
-	return NULL;
-#endif
-}
-	
-EWXWEXPORT(wxString*,wxPrintData_GetPreviewCommand)(void* self)
-{
-#if wxVERSION_NUMBER < 2600 || defined (wxUSE_POSTSCRIPT)
-#ifdef wxUSE_POSTSCRIPT
-	wxString tmp = ((wxPostScriptPrintNativeData*)self)->GetPreviewCommand();
-#else
-	wxString tmp = ((wxPrintData*)self)->GetPreviewCommand();
-#endif
-	return new wxString(tmp);
-#else
-	return NULL;
-#endif
-}
-	
-EWXWEXPORT(wxString*,wxPrintData_GetFilename)(wxPrintData* self)
-{
-	wxString tmp = self->GetFilename();
-	return new wxString(tmp);
-}
-	
-EWXWEXPORT(wxString*,wxPrintData_GetFontMetricPath)(void* self)
-{
-#if wxVERSION_NUMBER < 2600 || defined (wxUSE_POSTSCRIPT)
-#ifdef wxUSE_POSTSCRIPT
-	wxString tmp = ((wxPostScriptPrintNativeData*)self)->GetFontMetricPath();
-#else
-	wxString tmp = ((wxPrintData*)self)->GetFontMetricPath();
-#endif
-	return new wxString(tmp);
-#else
-	return NULL;
-#endif
-}
-	
-EWXWEXPORT(double,wxPrintData_GetPrinterScaleX)(void* self)
-{
-#ifdef wxUSE_POSTSCRIPT
-	return ((wxPostScriptPrintNativeData*)self)->GetPrinterScaleX();
-#elif wxVERSION_NUMBER < 2600
-	return ((wxPrintData*)self)->GetPrinterScaleX();
-#else
-	return 0.0;
-#endif
-}
-	
-EWXWEXPORT(double,wxPrintData_GetPrinterScaleY)(void* self)
-{
-#ifdef wxUSE_POSTSCRIPT
-	return ((wxPostScriptPrintNativeData*)self)->GetPrinterScaleY();
-#elif wxVERSION_NUMBER < 2600
-	return ((wxPrintData*)self)->GetPrinterScaleY();
-#else
-	return 0.0;
-#endif
-}
-	
-EWXWEXPORT(int,wxPrintData_GetPrinterTranslateX)(void* self)
-{
-#ifdef wxUSE_POSTSCRIPT
-	return ((wxPostScriptPrintNativeData*)self)->GetPrinterTranslateX();
-#elif wxVERSION_NUMBER < 2600
-	return ((wxPrintData*)self)->GetPrinterTranslateX();
-#else
-	return 0;
-#endif
-}
-	
-EWXWEXPORT(int,wxPrintData_GetPrinterTranslateY)(void* self)
-{
-#ifdef wxUSE_POSTSCRIPT
-	return ((wxPostScriptPrintNativeData*)self)->GetPrinterTranslateY();
-#elif wxVERSION_NUMBER < 2600
-	return ((wxPrintData*)self)->GetPrinterTranslateY();
-#else
-	return 0;
-#endif
-}
-	
-EWXWEXPORT(int,wxPrintData_GetPrintMode)(wxPrintData* self)
-{
-	return (int)self->GetPrintMode();
-}
-	
-EWXWEXPORT(void,wxPrintData_SetPrinterCommand)(void* self,wxString* command)
-{
-#ifdef wxUSE_POSTSCRIPT
-	((wxPostScriptPrintNativeData*)self)->SetPrinterCommand(*command);
-#elif wxVERSION_NUMBER < 2600
-	((wxPrintData*)self)->SetPrinterCommand(*command);
-#endif
-}
-	
-EWXWEXPORT(void,wxPrintData_SetPrinterOptions)(void* self,wxString* options)
-{
-#ifdef wxUSE_POSTSCRIPT
-	((wxPostScriptPrintNativeData*)self)->SetPrinterOptions(*options);
-#elif wxVERSION_NUMBER < 2600
-	((wxPrintData*)self)->SetPrinterOptions(*options);
-#endif
-}
-	
-EWXWEXPORT(void,wxPrintData_SetPreviewCommand)(void* self,wxString* command)
-{
-#ifdef wxUSE_POSTSCRIPT
-	((wxPostScriptPrintNativeData*)self)->SetPreviewCommand(*command);
-#elif wxVERSION_NUMBER < 2600
-	((wxPrintData*)self)->SetPreviewCommand(*command);
-#endif
-}
-	
-EWXWEXPORT(void,wxPrintData_SetFilename)(wxPrintData* self,wxString* filename)
-{
-	self->SetFilename(*filename);
-}
-	
-EWXWEXPORT(void,wxPrintData_SetFontMetricPath)(void* self,wxString* path)
-{
-#ifdef wxUSE_POSTSCRIPT
-	((wxPostScriptPrintNativeData*)self)->SetFontMetricPath(*path);
-#elif wxVERSION_NUMBER < 2600
-	((wxPrintData*)self)->SetFontMetricPath(*path);
-#endif
-}
-	
-EWXWEXPORT(void,wxPrintData_SetPrinterScaleX)(void* self,double x)
-{
-#ifdef wxUSE_POSTSCRIPT
-	((wxPostScriptPrintNativeData*)self)->SetPrinterScaleX(x);
-#elif wxVERSION_NUMBER < 2600
-	((wxPrintData*)self)->SetPrinterScaleX(x);
-#endif
-}
-	
-EWXWEXPORT(void,wxPrintData_SetPrinterScaleY)(void* self,double y)
-{
-#ifdef wxUSE_POSTSCRIPT
-	((wxPostScriptPrintNativeData*)self)->SetPrinterScaleY(y);
-#elif wxVERSION_NUMBER < 2600
-	((wxPrintData*)self)->SetPrinterScaleY(y);
-#endif
-}
-	
-EWXWEXPORT(void,wxPrintData_SetPrinterScaling)(void* self,double x,double y)
-{
-#ifdef wxUSE_POSTSCRIPT
-	((wxPostScriptPrintNativeData*)self)->SetPrinterScaling(x, y);
-#elif wxVERSION_NUMBER < 2600
-	((wxPrintData*)self)->SetPrinterScaling(x, y);
-#endif
-}
-	
-EWXWEXPORT(void,wxPrintData_SetPrinterTranslateX)(void* self,int x)
-{
-#ifdef wxUSE_POSTSCRIPT
-	((wxPostScriptPrintNativeData*)self)->SetPrinterTranslateX((int)x);
-#elif wxVERSION_NUMBER < 2600
-	((wxPrintData*)self)->SetPrinterTranslateX((int)x);
-#endif
-}
-	
-EWXWEXPORT(void,wxPrintData_SetPrinterTranslateY)(void* self,int y)
-{
-#ifdef wxUSE_POSTSCRIPT
-	((wxPostScriptPrintNativeData*)self)->SetPrinterTranslateY((int)y);
-#elif wxVERSION_NUMBER < 2600
-	((wxPrintData*)self)->SetPrinterTranslateY((long)y);
-#endif
-}
-	
-EWXWEXPORT(void,wxPrintData_SetPrinterTranslation)(void* self,int x,int y)
-{
-#ifdef wxUSE_POSTSCRIPT
-	((wxPostScriptPrintNativeData*)self)->SetPrinterTranslation((long)x, (long)y);
-#elif wxVERSION_NUMBER < 2600
-	((wxPrintData*)self)->SetPrinterTranslation((long)x, (long)y);
-#endif
-}
-	
-EWXWEXPORT(void,wxPrintData_SetPrintMode)(void* self,int printMode)
-{
-	((wxPrintData*)self)->SetPrintMode((wxPrintMode)printMode);
-}
-	
-EWXWEXPORT(void,wxPrintData_Assign)(void* self,void* data)
-{
-	*((wxPrintData*)self) = *((wxPrintData*)data);
-}
-	
-EWXWEXPORT(void*,wxPrintDialogData_CreateDefault)()
-{
-	return (void*)new wxPrintDialogData();
-}
-
-EWXWEXPORT(void*,wxPrintDialogData_CreateFromData)(void* printData)
-{
-	return (void*)new wxPrintDialogData(*((wxPrintData*)printData));
-}
-
-EWXWEXPORT(void,wxPrintDialogData_Delete)(void* self)
-{
-	delete (wxPrintDialogData*)self;
-}
-
-EWXWEXPORT(int,wxPrintDialogData_GetFromPage)(void* self)
-{
-	return ((wxPrintDialogData*)self)->GetFromPage();
-}
-	
-EWXWEXPORT(int,wxPrintDialogData_GetToPage)(void* self)
-{
-	return ((wxPrintDialogData*)self)->GetToPage();
-}
-	
-EWXWEXPORT(int,wxPrintDialogData_GetMinPage)(void* self)
-{
-	return ((wxPrintDialogData*)self)->GetMinPage();
-}
-	
-EWXWEXPORT(int,wxPrintDialogData_GetMaxPage)(void* self)
-{
-	return ((wxPrintDialogData*)self)->GetMaxPage();
-}
-	
-EWXWEXPORT(int,wxPrintDialogData_GetNoCopies)(void* self)
-{
-	return ((wxPrintDialogData*)self)->GetNoCopies();
-}
-	
-EWXWEXPORT(bool,wxPrintDialogData_GetAllPages)(wxPrintDialogData* self)
-{
-	return self->GetAllPages();
-}
-	
-EWXWEXPORT(bool,wxPrintDialogData_GetSelection)(wxPrintDialogData* self)
-{
-	return self->GetSelection();
-}
-	
-EWXWEXPORT(bool,wxPrintDialogData_GetCollate)(wxPrintDialogData* self)
-{
-	return self->GetCollate();
-}
-	
-EWXWEXPORT(bool,wxPrintDialogData_GetPrintToFile)(wxPrintDialogData* self)
-{
-	return self->GetPrintToFile();
-}
-
-EWXWEXPORT(void,wxPrintDialogData_SetFromPage)(wxPrintDialogData* self,int v)
-{
-	self->SetFromPage(v);
-}
-	
-EWXWEXPORT(void,wxPrintDialogData_SetToPage)(wxPrintDialogData* self,int v)
-{
-	self->SetToPage(v);
-}
-	
-EWXWEXPORT(void,wxPrintDialogData_SetMinPage)(wxPrintDialogData* self,int v)
-{
-	self->SetMinPage(v);
-}
-	
-EWXWEXPORT(void,wxPrintDialogData_SetMaxPage)(wxPrintDialogData* self,int v)
-{
-	self->SetMaxPage(v);
-}
-	
-EWXWEXPORT(void,wxPrintDialogData_SetNoCopies)(wxPrintDialogData* self,int v)
-{
-	self->SetNoCopies(v);
-}
-	
-EWXWEXPORT(void,wxPrintDialogData_SetAllPages)(wxPrintDialogData* self,bool flag)
-{
-	self->SetAllPages(flag);
-}
-	
-EWXWEXPORT(void,wxPrintDialogData_SetSelection)(wxPrintDialogData* self,bool flag)
-{
-	self->SetSelection(flag);
-}
-	
-EWXWEXPORT(void,wxPrintDialogData_SetCollate)(wxPrintDialogData* self,bool flag)
-{
-	self->SetCollate(flag);
-}
-	
-EWXWEXPORT(void,wxPrintDialogData_SetPrintToFile)(wxPrintDialogData* self,bool flag)
-{
-	self->SetPrintToFile(flag);
-}
-
-EWXWEXPORT(void,wxPrintDialogData_EnablePrintToFile)(wxPrintDialogData* self,bool flag)
-{
-	self->EnablePrintToFile(flag);
-}
-	
-EWXWEXPORT(void,wxPrintDialogData_EnableSelection)(wxPrintDialogData* self,bool flag)
-{
-	self->EnableSelection(flag);
-}
-	
-EWXWEXPORT(void,wxPrintDialogData_EnablePageNumbers)(wxPrintDialogData* self,bool flag)
-{
-	self->EnablePageNumbers(flag);
-}
-	
-EWXWEXPORT(void,wxPrintDialogData_EnableHelp)(wxPrintDialogData* self,bool flag)
-{
-	self->EnableHelp(flag);
-}
-	
-EWXWEXPORT(bool,wxPrintDialogData_GetEnablePrintToFile)(wxPrintDialogData* self)
-{
-	return self->GetEnablePrintToFile();
-}
-	
-EWXWEXPORT(bool,wxPrintDialogData_GetEnableSelection)(wxPrintDialogData* self)
-{
-	return self->GetEnableSelection();
-}
-	
-EWXWEXPORT(bool,wxPrintDialogData_GetEnablePageNumbers)(wxPrintDialogData* self)
-{
-	return self->GetEnablePageNumbers();
-}
-	
-EWXWEXPORT(bool,wxPrintDialogData_GetEnableHelp)(wxPrintDialogData* self)
-{
-	return self->GetEnableHelp();
-}
-	
-EWXWEXPORT(void,wxPrintDialogData_GetPrintData)(wxPrintDialogData* self,wxPrintData* _ref)
-{
-	*_ref = self->GetPrintData();
-}
-	
-EWXWEXPORT(void,wxPrintDialogData_SetPrintData)(wxPrintDialogData* self,wxPrintData* printData)
-{
-	self->SetPrintData(*printData);
-}
-	
-EWXWEXPORT(void,wxPrintDialogData_Assign)(wxPrintDialogData* self,wxPrintDialogData* data)
-{
-	*self = *data;
-}
-	
-EWXWEXPORT(void,wxPrintDialogData_AssignData)(wxPrintDialogData* self,wxPrintData* data)
-{
-	*self = *data;
-}
-	
-EWXWEXPORT(wxPostScriptDC*,wxPostScriptDC_Create)(wxPrintData* printData)
-{
-#ifdef wxUSE_POSTSCRIPT
-	return new wxPostScriptDC(*printData);
-#else
-	return NULL;
-#endif
-}
-
-EWXWEXPORT(void,wxPostScriptDC_Delete)(wxPostScriptDC* self)
-{
-#ifdef wxUSE_POSTSCRIPT
-	if (self) delete self;
-#endif
-}
-
-EWXWEXPORT(void,wxPostScriptDC_SetResolution)(wxPostScriptDC* self,int ppi)
-{
-#ifdef wxUSE_POSTSCRIPT
-	self->SetResolution(ppi);
-#endif
-}
-
-EWXWEXPORT(int,wxPostScriptDC_GetResolution)(wxPostScriptDC* self,int ppi)
-{
-#ifdef wxUSE_POSTSCRIPT
-	return self->GetResolution();
-#else
-	return 0;
-#endif
-}
-
-EWXWEXPORT(void*,wxPrinterDC_Create)(wxPrintData* printData)
-{
-#if defined(__WXGTK__) 
-	return NULL;
-#else
-	return new wxPrinterDC(*printData);
-#endif
-}
-
-EWXWEXPORT(void,wxPrinterDC_Delete)(void* self)
-{
-#if !defined(__WXGTK__)
-	delete (wxPrinterDC*)self;
-#endif
-}
-
-
-EWXWEXPORT(wxRect*,wxPrinterDC_GetPaperRect)(void* self)
-{
-#if !defined(__WXGTK__)
-	wxRect* rct = new wxRect();
-	*rct = ((wxPrinterDC*)self)->GetPaperRect();
-	return rct;
-#else
-	return 0;
-#endif
-}
-
-}
− src/cpp/eljprocess.cpp
@@ -1,172 +0,0 @@-#include "wrapper.h"
-#include "wx/process.h"
-
-extern "C"
-
-{
-
-EWXWEXPORT(void*,wxProcess_CreateDefault)(wxEvtHandler* _prt,int _id)
-{
-	return (void*)new wxProcess (_prt, _id);
-}
-
-EWXWEXPORT(void*,wxProcess_CreateRedirect)(wxEvtHandler* _prt,bool _rdr)
-{
-	return (void*)new wxProcess (_prt, _rdr);
-}
-
-EWXWEXPORT(void,wxProcess_Delete)(wxProcess* self)
-{
-	delete self;
-}
-
-EWXWEXPORT(void,wxProcess_Redirect)(wxProcess* self)
-{
-	self->Redirect();
-}
-	
-EWXWEXPORT(bool,wxProcess_IsRedirected)(wxProcess* self)
-{
-	return self->IsRedirected();
-}
-	
-EWXWEXPORT(void,wxProcess_Detach)(wxProcess* self)
-{
-	self->Detach();
-}
-	
-EWXWEXPORT(void*,wxProcess_GetInputStream)(wxProcess* self)
-{
-	return (void*)self->GetInputStream();
-}
-	
-EWXWEXPORT(void*,wxProcess_GetErrorStream)(wxProcess* self)
-{
-	return (void*)self->GetErrorStream();
-}
-	
-EWXWEXPORT(void*,wxProcess_GetOutputStream)(wxProcess* self)
-{
-	return (void*)self->GetOutputStream();
-}
-	
-EWXWEXPORT(void,wxProcess_CloseOutput)(wxProcess* self)
-{
-	self->CloseOutput();
-}
-	
-
-EWXWEXPORT(int,wxProcessEvent_GetPid)(wxProcessEvent* self)
-{
-	return self->GetPid();
-}
-
-EWXWEXPORT(int,wxProcessEvent_GetExitCode)(wxProcessEvent* self)
-{
-	return self->GetExitCode();
-}
-
-
-EWXWEXPORT(int,wxStreamBase_GetLastError)(wxStreamBase* self)
-{
-	return (int)self->GetLastError();
-}
-	
-EWXWEXPORT(bool,wxStreamBase_IsOk)(wxStreamBase* self)
-{
-	return self->IsOk();
-}
-	
-EWXWEXPORT(int,wxStreamBase_GetSize)(wxStreamBase* self)
-{
-	return (int)self->GetSize();
-}
-	
-
-EWXWEXPORT(void,wxOutputStream_Delete)(wxOutputStream* self)
-{
-	delete self;
-}
-
-EWXWEXPORT(void,wxOutputStream_PutC)(wxOutputStream* self,char c)
-{
-	self->PutC(c);
-}
-	
-EWXWEXPORT(void,wxOutputStream_Write)(wxOutputStream* self,void* buffer,int size)
-{
-	self->Write((const void*)buffer, (size_t)size);
-}
-	
-EWXWEXPORT(int,wxOutputStream_Seek)(wxOutputStream* self,int pos,int mode)
-{
-	return (int)self->SeekO((off_t)pos, (wxSeekMode)mode);
-}
-	
-EWXWEXPORT(int,wxOutputStream_Tell)(wxOutputStream* self)
-{
-	return (int)self->TellO();
-}
-	
-EWXWEXPORT(int,wxOutputStream_LastWrite)(wxOutputStream* self)
-{
-	return (int)self->LastWrite();
-}
-	
-EWXWEXPORT(void,wxOutputStream_Sync)(void* self)
-{
-	((wxOutputStream*)self)->Sync();
-}
-	
-
-EWXWEXPORT(void,wxInputStream_Delete)(wxInputStream* self)
-{
-	delete self;
-}
-
-EWXWEXPORT(bool,wxInputStream_Eof)(wxInputStream* self)
-{
-	return self->Eof();
-}
-	
-EWXWEXPORT(char,wxInputStream_Peek)(wxInputStream* self)
-{
-	return self->Peek();
-}
-	
-EWXWEXPORT(char,wxInputStream_GetC)(wxInputStream* self)
-{
-	return self->GetC();
-}
-	
-EWXWEXPORT(void,wxInputStream_Read)(wxInputStream* self,void* buffer,int size)
-{
-	self->Read(buffer, (size_t)size);
-}
-	
-EWXWEXPORT(int,wxInputStream_SeekI)(wxInputStream* self,int pos,int mode)
-{
-	return (int)self->SeekI((off_t)pos, (wxSeekMode)mode);
-}
-	
-EWXWEXPORT(int,wxInputStream_Tell)(wxInputStream* self)
-{
-	return (int)self->TellI();
-}
-	
-EWXWEXPORT(int,wxInputStream_LastRead)(wxInputStream* self)
-{
-	return (int)self->LastRead();
-}	
-
-EWXWEXPORT(int,wxInputStream_UngetBuffer)(wxInputStream* self,void* buffer,int size)
-{
-	return (int)self->Ungetch((const void*)buffer, (size_t)size);
-}
-	
-EWXWEXPORT(int,wxInputStream_Ungetch)(wxInputStream* self,char c)
-{
-	return (int)self->Ungetch(c);
-}
-	
-}
− src/cpp/eljradiobox.cpp
@@ -1,109 +0,0 @@-#include "wrapper.h"--extern "C"-{--EWXWEXPORT(void*,wxRadioBox_Create)(wxWindow* _prt,int _id,wxString* _txt,int _lft,int _top,int _wdt,int _hgt,int _n,void* _str,int _dim,int _stl)-{-	wxString items[256];--	for (int i = 0; i < _n; i++)-		items[i] = ((wxChar**)_str)[i];--	return (void*) new wxRadioBox (_prt, _id, *_txt, wxPoint(_lft, _top), wxSize(_wdt, _hgt), _n, items, _dim, _stl, wxDefaultValidator);-}--EWXWEXPORT(int,wxRadioBox_FindString)(void* _obj,wxString* s)-{-	return ((wxRadioBox*)_obj)->FindString(* s);-}--EWXWEXPORT(void,wxRadioBox_SetSelection)(void* _obj,int _n)-{-	((wxRadioBox*)_obj)->SetSelection(_n);-}--EWXWEXPORT(int,wxRadioBox_GetSelection)(void* _obj)-{-	return ((wxRadioBox*)_obj)->GetSelection();-}--EWXWEXPORT(void,wxRadioBox_SetItemLabel)(void* _obj,int item,wxString* label)-{-#if wxVERSION_NUMBER >= 2400-	((wxRadioBoxBase*)_obj)->SetString(item, *label);-#else-	((wxRadioBox*)_obj)->SetLabel(item, *label);-#endif-}--EWXWEXPORT(void,wxRadioBox_SetItemBitmap)(void* _obj,int item,void* bitmap)-{-#if wxVERSION_NUMBER < 2400-	((wxRadioBox*)_obj)->SetLabel(item, (wxBitmap*) bitmap);-#endif-}--EWXWEXPORT(wxString*,wxRadioBox_GetItemLabel)(void* _obj,int item)-{-  wxString *result = new wxString();--#if wxVERSION_NUMBER >= 2400-    *result = ((wxRadioBox*)_obj)->GetString(item);-#else-    *result = ((wxRadioBox*)_obj)->GetLabel(item);-#endif--  return result;-}--EWXWEXPORT(void,wxRadioBox_EnableItem)(void* self,int item,bool enable)-{-	((wxRadioBox*)self)->Enable(item, enable);-}--EWXWEXPORT(void,wxRadioBox_ShowItem)(void* self,int item,bool show)-{-	((wxRadioBox*)self)->Show(item, show);-}--EWXWEXPORT(wxString*,wxRadioBox_GetStringSelection)(void* _obj)-{-  wxString *result = new wxString();-  *result = ((wxRadioBox*)_obj)->GetStringSelection();-  return result;-}--EWXWEXPORT(void,wxRadioBox_SetStringSelection)(void* _obj,wxString* s)-{-	((wxRadioBox*)_obj)->SetStringSelection(* s);-}--EWXWEXPORT(int,wxRadioBox_Number)(void* _obj)-{-#if wxVERSION_NUMBER >= 2400-	return ((wxRadioBox*)_obj)->GetCount();-#else-	return ((wxRadioBox*)_obj)->Number();-#endif-}--EWXWEXPORT(int,wxRadioBox_GetNumberOfRowsOrCols)(void* _obj)-{-#if wxVERSION_NUMBER >= 2600-	return ((wxRadioBox*)_obj)->GetCount();-#else-	return ((wxRadioBox*)_obj)->GetNumberOfRowsOrCols();-#endif-}--EWXWEXPORT(void,wxRadioBox_SetNumberOfRowsOrCols)(void* _obj,int n)-{-#if wxVERSION_NUMBER >= 2600-	return;-#else-	((wxRadioBox*)_obj)->SetNumberOfRowsOrCols(n);-#endif-}--}
− src/cpp/eljradiobutton.cpp
@@ -1,21 +0,0 @@-#include "wrapper.h"
-
-extern "C"
-{
-
-EWXWEXPORT(void*,wxRadioButton_Create)(wxWindow* _prt,int _id,wxString* _txt,int _lft,int _top,int _wdt,int _hgt,int _stl)
-{
-	return (void*) new wxRadioButton (_prt, _id, *_txt, wxPoint(_lft, _top), wxSize(_wdt, _hgt), _stl, wxDefaultValidator);
-}
-
-EWXWEXPORT(void,wxRadioButton_SetValue)(wxRadioButton* self,bool value)
-{
-	self->SetValue(value);
-}
-	
-EWXWEXPORT(bool,wxRadioButton_GetValue)(wxRadioButton* self)
-{
-	return self->GetValue();
-}
-
-} 
− src/cpp/eljrc.cpp
@@ -1,511 +0,0 @@-#include "wrapper.h"
-#include <wx/xrc/xmlres.h>
-
-#ifdef wxUSE_STC
-# include "wx/stc/stc.h"
-#endif
-
-class wxMDIParentFrameXmlHandler : public wxXmlResourceHandler
-{
-public:
-    wxMDIParentFrameXmlHandler();
-    virtual wxObject *DoCreateResource();
-    virtual bool CanHandle(wxXmlNode *node);
-};
-
-class wxMDIChildFrameXmlHandler : public wxXmlResourceHandler
-{
-public:
-    wxMDIChildFrameXmlHandler();
-    virtual wxObject *DoCreateResource();
-    virtual bool CanHandle(wxXmlNode *node);
-};
-
-class wxSplitterWindowXmlHandler : public wxXmlResourceHandler
-{
-public:
-    wxSplitterWindowXmlHandler();
-    virtual wxObject *DoCreateResource();
-    virtual bool CanHandle(wxXmlNode *node);
-};
-
-#ifdef wxUSE_STC
-class wxStyledTextCtrlXmlHandler : public wxXmlResourceHandler
-{
-public:
-    wxStyledTextCtrlXmlHandler();
-    virtual wxObject *DoCreateResource();
-    virtual bool CanHandle(wxXmlNode *node);
-};
-#endif
-
-class wxGridXmlHandler : public wxXmlResourceHandler
-{
-public:
-    wxGridXmlHandler();
-    virtual wxObject *DoCreateResource();
-    virtual bool CanHandle(wxXmlNode *node);
-};
-
-wxMDIParentFrameXmlHandler::wxMDIParentFrameXmlHandler() : wxXmlResourceHandler()
-{
-    XRC_ADD_STYLE(wxSTAY_ON_TOP);
-    XRC_ADD_STYLE(wxCAPTION);
-    XRC_ADD_STYLE(wxDEFAULT_DIALOG_STYLE);
-    XRC_ADD_STYLE(wxDEFAULT_FRAME_STYLE);
-    XRC_ADD_STYLE(wxSYSTEM_MENU);
-    XRC_ADD_STYLE(wxRESIZE_BORDER);
-
-    XRC_ADD_STYLE(wxFRAME_TOOL_WINDOW);
-    XRC_ADD_STYLE(wxFRAME_FLOAT_ON_PARENT);
-    XRC_ADD_STYLE(wxMAXIMIZE_BOX);
-    XRC_ADD_STYLE(wxMINIMIZE_BOX);
-    XRC_ADD_STYLE(wxSTAY_ON_TOP);
-
-    XRC_ADD_STYLE(wxTAB_TRAVERSAL);
-    XRC_ADD_STYLE(wxWS_EX_VALIDATE_RECURSIVELY);
-    XRC_ADD_STYLE(wxCLIP_CHILDREN);
-
-    AddWindowStyles();
-}
-
-wxObject *wxMDIParentFrameXmlHandler::DoCreateResource()
-{
-    XRC_MAKE_INSTANCE(frame, wxMDIParentFrame);
-
-    frame->Create(m_parentAsWindow,
-                  GetID(),
-                  GetText(wxT("title")),
-                  wxDefaultPosition, wxDefaultSize,
-                  GetStyle(wxT("style"), wxDEFAULT_FRAME_STYLE),
-                  GetName());
-
-    if (HasParam(wxT("size")))
-        frame->SetClientSize(GetSize());
-    if (HasParam(wxT("pos")))
-        frame->Move(GetPosition());
-
-    SetupWindow(frame);
-
-    CreateChildren(frame);
-
-    if (GetBool(wxT("centered"), FALSE))
-        frame->Centre();
-
-    return frame;
-}
-
-bool wxMDIParentFrameXmlHandler::CanHandle(wxXmlNode *node)
-{
-    return IsOfClass(node, wxT("wxMDIParentFrame"));
-}
-
-wxMDIChildFrameXmlHandler::wxMDIChildFrameXmlHandler() : wxXmlResourceHandler()
-{
-    XRC_ADD_STYLE(wxSTAY_ON_TOP);
-    XRC_ADD_STYLE(wxCAPTION);
-    XRC_ADD_STYLE(wxDEFAULT_DIALOG_STYLE);
-    XRC_ADD_STYLE(wxDEFAULT_FRAME_STYLE);
-    XRC_ADD_STYLE(wxSYSTEM_MENU);
-    XRC_ADD_STYLE(wxRESIZE_BORDER);
-
-    XRC_ADD_STYLE(wxFRAME_TOOL_WINDOW);
-    XRC_ADD_STYLE(wxFRAME_FLOAT_ON_PARENT);
-    XRC_ADD_STYLE(wxMAXIMIZE_BOX);
-    XRC_ADD_STYLE(wxMINIMIZE_BOX);
-    XRC_ADD_STYLE(wxSTAY_ON_TOP);
-
-    XRC_ADD_STYLE(wxTAB_TRAVERSAL);
-    XRC_ADD_STYLE(wxWS_EX_VALIDATE_RECURSIVELY);
-    XRC_ADD_STYLE(wxCLIP_CHILDREN);
-
-    AddWindowStyles();
-}
-
-wxObject *wxMDIChildFrameXmlHandler::DoCreateResource()
-{
-    XRC_MAKE_INSTANCE(frame, wxMDIChildFrame);
-	
-	wxMDIParentFrame* prt = wxDynamicCast (m_parentAsWindow, wxMDIParentFrame);
-
-	if (prt == NULL)
-	{
-		wxLogError(wxT("Error in resource: wxMDIChildFrame has no wxMDIParentFrame."));
-		return NULL;
-	}
-
-    frame->Create(prt,
-                  GetID(),
-                  GetText(wxT("title")),
-                  wxDefaultPosition, wxDefaultSize,
-                  GetStyle(wxT("style"), wxDEFAULT_FRAME_STYLE),
-                  GetName());
-
-    SetupWindow(frame);
-
-    CreateChildren(frame);
-
-    if (GetBool(wxT("centered"), FALSE))
-        frame->Centre();
-
-    return frame;
-}
-
-bool wxMDIChildFrameXmlHandler::CanHandle(wxXmlNode *node)
-{
-    return IsOfClass(node, wxT("wxMDIChildFrame"));
-}
-
-wxSplitterWindowXmlHandler::wxSplitterWindowXmlHandler() : wxXmlResourceHandler()
-{
-    XRC_ADD_STYLE(wxSP_3D);
-    XRC_ADD_STYLE(wxSP_3DSASH);
-    XRC_ADD_STYLE(wxSP_BORDER);
-    XRC_ADD_STYLE(wxSP_NOBORDER);
-    XRC_ADD_STYLE(wxSP_PERMIT_UNSPLIT);
-    XRC_ADD_STYLE(wxSP_LIVE_UPDATE);
-
-    XRC_ADD_STYLE(wxTAB_TRAVERSAL);
-    XRC_ADD_STYLE(wxCLIP_CHILDREN);
-
-    AddWindowStyles();
-}
-
-wxObject *wxSplitterWindowXmlHandler::DoCreateResource()
-{
-    XRC_MAKE_INSTANCE(frame, wxSplitterWindow);
-
-    frame->Create(m_parentAsWindow,
-                  GetID(),
-                  wxDefaultPosition, wxDefaultSize,
-                  GetStyle(wxT("style"), wxSP_3D),
-                  GetName());
-
-    SetupWindow(frame);
-
-    CreateChildren(frame);
-	
-	if (frame->GetChildren().GetCount() != 2)
-	{
-		wxLogError(wxT("Error in resource: Splitter window needs exactly two children."));
-		return NULL;
-	}
-	
-	frame->SetSplitMode(GetLong (wxT("splitmode"), wxSPLIT_VERTICAL));
-	long sashpos = GetLong (wxT("sashposition"), 100);
-	
-	wxWindowList::compatibility_iterator node = frame->GetChildren().GetFirst();
-	wxWindow* wnd1 = node->GetData();
-	wxWindow* wnd2 = node->GetNext()->GetData();
-
-	if (frame->GetSplitMode() == wxSPLIT_VERTICAL)
-		frame->SplitVertically (wnd1, wnd2, sashpos);
-	else
-		frame->SplitHorizontally (wnd1, wnd2, sashpos);
-	
-    return frame;
-}
-
-bool wxSplitterWindowXmlHandler::CanHandle(wxXmlNode *node)
-{
-    return IsOfClass(node, wxT("wxSplitterWindow"));
-}
-
-#ifdef wxUSE_STC
-wxStyledTextCtrlXmlHandler::wxStyledTextCtrlXmlHandler() : wxXmlResourceHandler()
-{
-    AddWindowStyles();
-}
-
-wxObject *wxStyledTextCtrlXmlHandler::DoCreateResource()
-{
-    XRC_MAKE_INSTANCE(frame, wxStyledTextCtrl);
-	
-    frame->Create(m_parentAsWindow,
-                  GetID(),
-                  wxDefaultPosition, wxDefaultSize,
-                  GetStyle(wxT("style"), 0),
-                  GetName());
-
-    if (HasParam(wxT("size")))
-        frame->SetSize(GetSize());
-    if (HasParam(wxT("pos")))
-        frame->Move(GetPosition());
-
-    SetupWindow(frame);
-
-    return frame;
-}
-
-bool wxStyledTextCtrlXmlHandler::CanHandle(wxXmlNode *node)
-{
-    return IsOfClass(node, wxT("wxStyledTextCtrl"));
-}
-#endif
-
-wxGridXmlHandler::wxGridXmlHandler() : wxXmlResourceHandler()
-{
-    XRC_ADD_STYLE(wxTAB_TRAVERSAL);
-    XRC_ADD_STYLE(wxCLIP_CHILDREN);
-
-    AddWindowStyles();
-}
-
-wxObject *wxGridXmlHandler::DoCreateResource()
-{
-	wxGrid* grid = new wxGrid(m_parentAsWindow,
-                              GetID(),
-                              wxDefaultPosition, wxDefaultSize,
-                              GetStyle(wxT("style"), wxWANTS_CHARS),
-                              GetName());
-
-	long cols = GetLong (wxT("numcols"), 0);
-	long rows = GetLong (wxT("numrows"), 0);
-	
-	if (cols && rows)
-		grid->CreateGrid(cols, rows, (wxGrid::wxGridSelectionModes)GetLong (wxT("selmode"), 0));
-	
-    if (HasParam(wxT("size")))
-        grid->SetSize(GetSize());
-    if (HasParam(wxT("pos")))
-        grid->Move(GetPosition());
-
-	SetupWindow(grid);
-
-	return grid;
-}
-
-bool wxGridXmlHandler::CanHandle(wxXmlNode *node)
-{
-    return IsOfClass(node, wxT("wxGrid"));
-}
-
-extern "C"
-{
-
-EWXWEXPORT(bool,wxXmlResource_Load)(wxXmlResource* self,wxString* filemask)
-{
-	wxGetApp().InitZipFileSystem();
-	return self->Load(*filemask);
-}
-	
-EWXWEXPORT(void,wxXmlResource_InitAllHandlers)(wxXmlResource* self)
-{
-	self->InitAllHandlers();
-	self->AddHandler(new wxMDIParentFrameXmlHandler());
-	self->AddHandler(new wxMDIChildFrameXmlHandler());
-	self->AddHandler(new wxSplitterWindowXmlHandler());
-#ifdef wxUSE_STC
-	self->AddHandler(new wxStyledTextCtrlXmlHandler());
-#endif
-	self->AddHandler(new wxGridXmlHandler());
-}
-	
-EWXWEXPORT(wxXmlResource*,wxXmlResource_Create)(int flags)
-{
-	wxXmlResource* self = wxXmlResource::Get();
-
-	// Calling the wxc variant of InitAllHandlers() ensures additional
-	// handlers for splitters etc. get initialized as well.
-	wxXmlResource_InitAllHandlers(self);
-	self->SetFlags(flags);
-	return self;
-}
-	
-EWXWEXPORT(wxXmlResource*,wxXmlResource_CreateFromFile)(wxString* filemask,int flags)
-{
-	wxXmlResource* self = wxXmlResource_Create(flags);
-    if (self->Load(*filemask)) {
-		return self;
-    }
-	else {
-		delete self;
-		return NULL;
-	}
-}
-	
-EWXWEXPORT(void,wxXmlResource_AddHandler)(wxXmlResource* self,wxXmlResourceHandler* handler)
-{
-	self->AddHandler(handler);
-}
-	
-EWXWEXPORT(void,wxXmlResource_InsertHandler)(wxXmlResource* self,wxXmlResourceHandler* handler)
-{
-	self->InsertHandler(handler);
-}
-	
-EWXWEXPORT(void,wxXmlResource_ClearHandlers)(wxXmlResource* self)
-{
-	self->ClearHandlers();
-}
-	
-EWXWEXPORT(void,wxXmlResource_AddSubclassFactory)(wxXmlResource* self,wxXmlSubclassFactory* factory)
-{
-	self->AddSubclassFactory(factory);
-}
-
-EWXWEXPORT(wxMenu*,wxXmlResource_LoadMenu)(wxXmlResource* self,wxString* name)
-{
-	return self->LoadMenu(*name);
-}
-	
-EWXWEXPORT(wxMenuBar*,wxXmlResource_LoadMenuBar)(wxXmlResource* self,wxWindow* parent,wxString* name)
-{
-	return self->LoadMenuBar(parent,*name);
-}
-	
-EWXWEXPORT(wxToolBar*,wxXmlResource_LoadToolBar)(wxXmlResource* self,wxWindow* parent,wxString* name)
-{
-	return self->LoadToolBar(parent,*name);
-}
-	
-EWXWEXPORT(wxDialog*,wxXmlResource_LoadDialog)(wxXmlResource* self,wxWindow* parent,wxString* name)
-{
-    wxDialog* dlg = new wxDialog;
-    if (!self->LoadDialog(dlg, parent,*name)) {
-        delete dlg;
-        return NULL;
-    } else {
-        return dlg;
-    }
-}
-	
-EWXWEXPORT(wxPanel*,wxXmlResource_LoadPanel)(wxXmlResource* self,wxWindow* parent,wxString* name)
-{
-	return self->LoadPanel(parent,*name);
-}
-	
-EWXWEXPORT(wxFrame*,wxXmlResource_LoadFrame)(wxXmlResource* self,wxWindow* parent,wxString* name)
-{
-    wxFrame* frame = new wxFrame;
-    if (!self->LoadFrame(frame, parent,*name)) {
-        delete frame;
-        return NULL;
-    } else {
-        return frame;
-    }
-}
-	
-EWXWEXPORT(void,wxXmlResource_LoadBitmap)(wxXmlResource* self,wxString* name,wxBitmap* _ref)
-{
-	*_ref = self->LoadBitmap(*name);
-}
-	
-EWXWEXPORT(void,wxXmlResource_LoadIcon)(wxXmlResource* self,wxString* name,wxIcon* _ref)
-{
-	*_ref = self->LoadIcon(*name);
-}
-	
-EWXWEXPORT(bool,wxXmlResource_Unload)(wxXmlResource* self,wxString* name)
-{
-	return self->Unload(*name);
-}
-	
-EWXWEXPORT(bool,wxXmlResource_AttachUnknownControl)(wxXmlResource* self,wxString* name,wxWindow* control,wxWindow* parent)
-{
-	return self->AttachUnknownControl(*name, control, parent);
-}
-	
-EWXWEXPORT(int,wxXmlResource_GetXRCID)(wxXmlResource* self,wxString* str_id)
-{
-	return self->GetXRCID(*str_id);
-}
-	
-EWXWEXPORT(long,wxXmlResource_GetVersion)(wxXmlResource* self)
-{
-	return self->GetVersion();
-}
-	
-EWXWEXPORT(int,wxXmlResource_CompareVersion)(wxXmlResource* self,int major,int minor,int release,int revision)
-{
-	return self->CompareVersion(major, minor, release, revision);
-}
-	
-EWXWEXPORT(wxXmlResource*,wxXmlResource_Get)(wxXmlResource* self)
-{
-  return wxXmlResource::Get();
-}
-
-// BUILD_XRCGETCTRL_FN constructs functions for geting control pointers out of 
-// window hierarchies created from XRC files. The functions themselves 
-#define BUILD_XRCGETCTRL_FN(_typ)                                                            \
-  EWXWEXPORT(wx##_typ*,wxXmlResource_Get##_typ)(wxWindow* _win,wxString* _str_id)       \
-  {                                                                                          \
-  return reinterpret_cast<wx##_typ *>(_win->FindWindow(wxXmlResource::GetXRCID(*_str_id))); \
-  }
-// Construct the XRC control getter functions
-BUILD_XRCGETCTRL_FN(Sizer)
-BUILD_XRCGETCTRL_FN(BoxSizer)
-BUILD_XRCGETCTRL_FN(StaticBoxSizer)
-BUILD_XRCGETCTRL_FN(GridSizer)
-BUILD_XRCGETCTRL_FN(FlexGridSizer)
-BUILD_XRCGETCTRL_FN(BitmapButton)
-BUILD_XRCGETCTRL_FN(Button)
-BUILD_XRCGETCTRL_FN(CalendarCtrl)
-BUILD_XRCGETCTRL_FN(CheckBox)
-BUILD_XRCGETCTRL_FN(CheckListBox)
-BUILD_XRCGETCTRL_FN(Choice)
-BUILD_XRCGETCTRL_FN(ComboBox)
-BUILD_XRCGETCTRL_FN(Gauge)
-BUILD_XRCGETCTRL_FN(Grid)
-BUILD_XRCGETCTRL_FN(HtmlWindow)
-BUILD_XRCGETCTRL_FN(ListBox)
-BUILD_XRCGETCTRL_FN(ListCtrl)
-BUILD_XRCGETCTRL_FN(MDIChildFrame)
-BUILD_XRCGETCTRL_FN(MDIParentFrame)
-BUILD_XRCGETCTRL_FN(Menu)
-BUILD_XRCGETCTRL_FN(MenuBar)
-BUILD_XRCGETCTRL_FN(MenuItem)
-BUILD_XRCGETCTRL_FN(Notebook)
-BUILD_XRCGETCTRL_FN(Panel)
-BUILD_XRCGETCTRL_FN(RadioButton)
-BUILD_XRCGETCTRL_FN(RadioBox)
-BUILD_XRCGETCTRL_FN(ScrollBar)
-BUILD_XRCGETCTRL_FN(ScrolledWindow)
-BUILD_XRCGETCTRL_FN(Slider)
-BUILD_XRCGETCTRL_FN(SpinButton)
-BUILD_XRCGETCTRL_FN(SpinCtrl)
-BUILD_XRCGETCTRL_FN(SplitterWindow)
-#ifdef wxUSE_STC
-BUILD_XRCGETCTRL_FN(StyledTextCtrl)
-#else
-EWXWEXPORT(void*,wxXmlResource_GetStyledTextCtrl)(wxWindow* _win,wxString* _str_id)
-{
-  return NULL;
-}
-#endif
-BUILD_XRCGETCTRL_FN(StaticBitmap)
-BUILD_XRCGETCTRL_FN(StaticBox)
-BUILD_XRCGETCTRL_FN(StaticLine)
-BUILD_XRCGETCTRL_FN(StaticText)
-BUILD_XRCGETCTRL_FN(TextCtrl)
-BUILD_XRCGETCTRL_FN(TreeCtrl)
-	
-EWXWEXPORT(wxXmlResource*,wxXmlResource_Set)(wxXmlResource* self,wxXmlResource* res)
-{
-	return self->Set(res);
-}
-
-EWXWEXPORT(wxString*,wxXmlResource_GetDomain)(wxXmlResource* self)
-{
-	wxString* buf = new wxString();
-	*buf = self->GetDomain();
-	return buf;
-}
-
-EWXWEXPORT(void,wxXmlResource_SetDomain)(wxXmlResource* self,wxString* domain)
-{
-	self->SetDomain(*domain);
-}
-
-EWXWEXPORT(int,wxXmlResource_GetFlags)(wxXmlResource* self)
-{
-	return self->GetFlags();
-}
-	
-EWXWEXPORT(void,wxXmlResource_SetFlags)(wxXmlResource* self,int flags)
-{
-	self->SetFlags(flags);
-}
-	
-}
− src/cpp/eljregion.cpp
@@ -1,91 +0,0 @@-#include "wrapper.h"
-
-extern "C"
-{
-	
-EWXWEXPORT(void*,wxRegion_CreateDefault)()
-{
-	return (void*)new wxRegion();
-}
-
-EWXWEXPORT(void*,wxRegion_CreateFromRect)(int x,int y,int w,int h)
-{
-	return (void*)new wxRegion((wxCoord)x, (wxCoord)y, (wxCoord)w, (wxCoord)h);
-}
-
-EWXWEXPORT(void,wxRegion_Delete)(wxRegion* self)
-{
-	delete self;
-}
-
-EWXWEXPORT(void,wxRegion_Assign)(wxRegion* self,wxRegion* region)
-{
-	*self = *region;
-}
-
-EWXWEXPORT(void,wxRegion_Clear)(wxRegion* self)
-{
-	self->Clear();
-}
-	
-EWXWEXPORT(bool,wxRegion_UnionRect)(wxRegion* self,int x,int y,int width,int height)
-{
-	return self->Union((wxCoord)x, (wxCoord)y, (wxCoord)width, (wxCoord)height);
-}
-	
-EWXWEXPORT(bool,wxRegion_UnionRegion)(wxRegion* self,wxRegion* region)
-{
-	return self->Union(*region);
-}
-	
-EWXWEXPORT(bool,wxRegion_IntersectRect)(wxRegion* self,int x,int y,int width,int height)
-{
-	return self->Intersect((wxCoord)x, (wxCoord)y, (wxCoord)width, (wxCoord)height);
-}
-	
-EWXWEXPORT(bool,wxRegion_IntersectRegion)(wxRegion* self,wxRegion* region)
-{
-	return self->Intersect(*region);
-}
-	
-EWXWEXPORT(bool,wxRegion_SubtractRect)(wxRegion* self,int x,int y,int width,int height)
-{
-	return self->Subtract((wxCoord)x, (wxCoord)y, (wxCoord)width, (wxCoord)height);
-}
-	
-EWXWEXPORT(bool,wxRegion_SubtractRegion)(wxRegion* self,wxRegion* region)
-{
-	return self->Subtract(*region);
-}
-	
-EWXWEXPORT(bool,wxRegion_XorRect)(wxRegion* self,int x,int y,int width,int height)
-{
-	return self->Xor((wxCoord)x, (wxCoord)y, (wxCoord)width, (wxCoord)height);
-}
-	
-EWXWEXPORT(bool,wxRegion_XorRegion)(wxRegion* self,wxRegion* region)
-{
-	return self->Xor(*region);
-}
-	
-EWXWEXPORT(void,wxRegion_GetBox)(wxRegion* self,void* x,void* y,void* w,void* h)
-{
-	self->GetBox(*((wxCoord*)x),*((wxCoord*)y),*((wxCoord*)w),*((wxCoord*)h));
-}
-	
-EWXWEXPORT(bool,wxRegion_IsEmpty)(wxRegion* self)
-{
-	return self->IsEmpty();
-}
-	
-EWXWEXPORT(bool,wxRegion_ContainsPoint)(wxRegion* self,int x,int y)
-{
-	return self->Contains((wxCoord)x, (wxCoord)y);
-}
-	
-EWXWEXPORT(bool,wxRegion_ContainsRect)(wxRegion* self,int x,int y,int width,int height)
-{
-	return self->Contains((wxCoord)x, (wxCoord)y, (wxCoord)width, (wxCoord)height);
-}
-	
-}
− src/cpp/eljregioniter.cpp
@@ -1,61 +0,0 @@-#include "wrapper.h"
-
-extern "C"
-{
-
-EWXWEXPORT(void*,wxRegionIterator_Create)()
-{
-	return (void*)new wxRegionIterator();
-}
-
-EWXWEXPORT(void*,wxRegionIterator_CreateFromRegion)(void* region)
-{
-	return (void*)new wxRegionIterator(*((wxRegion*)region));
-}
-
-EWXWEXPORT(void,wxRegionIterator_Delete)(wxRegionIterator* self)
-{
-	delete self;
-}
-
-EWXWEXPORT(void,wxRegionIterator_Reset)(wxRegionIterator* self)
-{
-	self->Reset();
-}
-	
-EWXWEXPORT(void,wxRegionIterator_ResetToRegion)(wxRegionIterator* self,wxRegion* region)
-{
-	self->Reset(*region);
-}
-	
-EWXWEXPORT(bool,wxRegionIterator_HaveRects)(wxRegionIterator* self)
-{
-	return self->HaveRects();
-}
-
-EWXWEXPORT(void,wxRegionIterator_Next)(wxRegionIterator* self)
-{
-	(*self)++;
-}
-	
-EWXWEXPORT(int,wxRegionIterator_GetX)(wxRegionIterator* self)
-{
-	return self->GetX();
-}
-	
-EWXWEXPORT(int,wxRegionIterator_GetY)(wxRegionIterator* self)
-{
-	return self->GetY();
-}
-	
-EWXWEXPORT(int,wxRegionIterator_GetWidth)(wxRegionIterator* self)
-{
-	return self->GetWidth();
-}
-	
-EWXWEXPORT(int,wxRegionIterator_GetHeight)(wxRegionIterator* self)
-{
-	return self->GetHeight();
-}
-	
-}
− src/cpp/eljsash.cpp
@@ -1,288 +0,0 @@-#include "wrapper.h"
-
-extern "C"
-{
-
-EWXWEXPORT(void*,wxSashWindow_Create)(wxWindow* _par,int _id,int _x,int _y,int _w,int _h,int _stl)
-{
-	return (void*)new wxSashWindow (_par, _id, wxPoint(_x, _y), wxSize (_w, _h), (long)_stl);
-}
-
-EWXWEXPORT(void,wxSashWindow_SetSashVisible)(wxSashWindow* self,int edge,bool sash)
-{
-	self->SetSashVisible((wxSashEdgePosition)edge, sash);
-}
-	
-EWXWEXPORT(bool,wxSashWindow_GetSashVisible)(wxSashWindow* self,int edge)
-{
-	return self->GetSashVisible((wxSashEdgePosition)edge);
-}
-	
-EWXWEXPORT(void,wxSashWindow_SetSashBorder)(wxSashWindow* self,int edge,bool border)
-{
-#if WXWIN_COMPATIBILITY_2_6
-	self->SetSashBorder((wxSashEdgePosition)edge, border);
-#endif
-}
-	
-EWXWEXPORT(bool,wxSashWindow_HasBorder)(wxSashWindow* self,int edge)
-{
-#if WXWIN_COMPATIBILITY_2_6
-	return self->HasBorder((wxSashEdgePosition)edge);
-#else
-	return false;
-#endif
-}
-	
-EWXWEXPORT(int,wxSashWindow_GetEdgeMargin)(wxSashWindow* self,int edge)
-{
-	return self->GetEdgeMargin((wxSashEdgePosition)edge);
-}
-	
-EWXWEXPORT(void,wxSashWindow_SetDefaultBorderSize)(wxSashWindow* self,int width)
-{
-	self->SetDefaultBorderSize(width);
-}
-	
-EWXWEXPORT(int,wxSashWindow_GetDefaultBorderSize)(wxSashWindow* self)
-{
-	return self->GetDefaultBorderSize();
-}
-	
-EWXWEXPORT(void,wxSashWindow_SetExtraBorderSize)(wxSashWindow* self,int width)
-{
-	self->SetExtraBorderSize(width);
-}
-	
-EWXWEXPORT(int,wxSashWindow_GetExtraBorderSize)(wxSashWindow* self)
-{
-	return self->GetExtraBorderSize();
-}
-	
-EWXWEXPORT(void,wxSashWindow_SetMinimumSizeX)(wxSashWindow* self,int min)
-{
-	self->SetMinimumSizeX(min);
-}
-	
-EWXWEXPORT(void,wxSashWindow_SetMinimumSizeY)(wxSashWindow* self,int min)
-{
-	self->SetMinimumSizeY(min);
-}
-	
-EWXWEXPORT(int,wxSashWindow_GetMinimumSizeX)(wxSashWindow* self)
-{
-	return self->GetMinimumSizeX();
-}
-	
-EWXWEXPORT(int,wxSashWindow_GetMinimumSizeY)(wxSashWindow* self)
-{
-	return self->GetMinimumSizeY();
-}
-	
-EWXWEXPORT(void,wxSashWindow_SetMaximumSizeX)(wxSashWindow* self,int max)
-{
-	self->SetMaximumSizeX(max);
-}
-	
-EWXWEXPORT(void,wxSashWindow_SetMaximumSizeY)(wxSashWindow* self,int max)
-{
-	self->SetMaximumSizeY(max);
-}
-	
-EWXWEXPORT(int,wxSashWindow_GetMaximumSizeX)(wxSashWindow* self)
-{
-	return self->GetMaximumSizeX();
-}
-	
-EWXWEXPORT(int,wxSashWindow_GetMaximumSizeY)(wxSashWindow* self)
-{
-	return self->GetMaximumSizeY();
-}
-
-
-EWXWEXPORT(void*,wxSashEvent_Create)(int id,int edge)
-{
-	return (void*)new wxSashEvent(id, (wxSashEdgePosition)edge);
-}
-
-EWXWEXPORT(void,wxSashEvent_SetEdge)(wxSashEvent* self,int edge)
-{
-	self->SetEdge((wxSashEdgePosition)edge);
-}
-	
-EWXWEXPORT(int,wxSashEvent_GetEdge)(wxSashEvent* self)
-{
-	return (int)self->GetEdge();
-}
-	
-EWXWEXPORT(void,wxSashEvent_SetDragRect)(wxSashEvent* self,int x,int y,int w,int h)
-{
-	self->SetDragRect(wxRect (x, y , w, h));
-}
-	
-EWXWEXPORT(wxRect*,wxSashEvent_GetDragRect)(wxSashEvent* self)
-{
-	wxRect* rct = new wxRect();
-	*rct = self->GetDragRect();
-	return rct;
-}
-	
-EWXWEXPORT(void,wxSashEvent_SetDragStatus)(wxSashEvent* self,int status)
-{
-	self->SetDragStatus((wxSashDragStatus)status);
-}
-	
-EWXWEXPORT(int,wxSashEvent_GetDragStatus)(wxSashEvent* self)
-{
-	return (int)self->GetDragStatus();
-}
-	
-
-EWXWEXPORT(void*,wxSashLayoutWindow_Create)(wxWindow* _par,int _id,int _stl)
-{
-	return (void*)new wxSashLayoutWindow (_par, _id, wxDefaultPosition, wxDefaultSize, (long)_stl);
-}
-
-EWXWEXPORT(int,wxSashLayoutWindow_GetAlignment)(wxSashLayoutWindow* self)
-{
-	return (int)self->GetAlignment();
-}
-	
-EWXWEXPORT(int,wxSashLayoutWindow_GetOrientation)(wxSashLayoutWindow* self)
-{
-	return (int)self->GetOrientation();
-}
-	
-EWXWEXPORT(void,wxSashLayoutWindow_SetAlignment)(wxSashLayoutWindow* self,int align)
-{
-	self->SetAlignment((wxLayoutAlignment)align);
-}
-	
-EWXWEXPORT(void,wxSashLayoutWindow_SetOrientation)(wxSashLayoutWindow* self,int orient)
-{
-	self->SetOrientation((wxLayoutOrientation)orient);
-}
-	
-EWXWEXPORT(void,wxSashLayoutWindow_SetDefaultSize)(wxSashLayoutWindow* self,int w,int h)
-{
-	self->SetDefaultSize(wxSize(w, h));
-}
-	
-
-EWXWEXPORT(void*,wxQueryLayoutInfoEvent_Create)(int id)
-{
-	return (void*)new wxQueryLayoutInfoEvent(id);
-}
-
-EWXWEXPORT(void,wxQueryLayoutInfoEvent_SetRequestedLength)(wxQueryLayoutInfoEvent* self,int length)
-{
-	self->SetRequestedLength(length);
-}
-	
-EWXWEXPORT(int,wxQueryLayoutInfoEvent_GetRequestedLength)(wxQueryLayoutInfoEvent* self)
-{
-	return self->GetRequestedLength();
-}
-	
-EWXWEXPORT(void,wxQueryLayoutInfoEvent_SetFlags)(wxQueryLayoutInfoEvent* self,int flags)
-{
-	self->SetFlags(flags);
-}
-	
-EWXWEXPORT(int,wxQueryLayoutInfoEvent_GetFlags)(wxQueryLayoutInfoEvent* self)
-{
-	return self->GetFlags();
-}
-	
-EWXWEXPORT(void,wxQueryLayoutInfoEvent_SetSize)(wxQueryLayoutInfoEvent* self,int w,int h)
-{
-	self->SetSize(wxSize(w, h));
-}
-	
-EWXWEXPORT(wxSize*,wxQueryLayoutInfoEvent_GetSize)(wxQueryLayoutInfoEvent* self)
-{
-	wxSize* sz = new wxSize();
-	*sz = self->GetSize();
-	return sz;
-}
-	
-EWXWEXPORT(void,wxQueryLayoutInfoEvent_SetOrientation)(wxQueryLayoutInfoEvent* self,int orient)
-{
-	self->SetOrientation((wxLayoutOrientation)orient);
-}
-	
-EWXWEXPORT(int,wxQueryLayoutInfoEvent_GetOrientation)(wxQueryLayoutInfoEvent* self)
-{
-	return (int)self->GetOrientation();
-}
-	
-EWXWEXPORT(void,wxQueryLayoutInfoEvent_SetAlignment)(wxQueryLayoutInfoEvent* self,int align)
-{
-	self->SetAlignment((wxLayoutAlignment)align);
-}
-	
-EWXWEXPORT(int,wxQueryLayoutInfoEvent_GetAlignment)(wxQueryLayoutInfoEvent* self)
-{
-	return (int)self->GetAlignment();
-}
-	
-
-EWXWEXPORT(void*,wxCalculateLayoutEvent_Create)(int id)
-{
-	return (void*)new wxCalculateLayoutEvent(id);
-}
-
-EWXWEXPORT(void,wxCalculateLayoutEvent_SetFlags)(wxCalculateLayoutEvent* self,int flags)
-{
-	self->SetFlags(flags);
-}
-	
-EWXWEXPORT(int,wxCalculateLayoutEvent_GetFlags)(wxCalculateLayoutEvent* self)
-{
-	return self->GetFlags();
-}
-	
-EWXWEXPORT(void, wxCalculateLayoutEvent_SetRect)(wxCalculateLayoutEvent* self, int x, int y , int w, int h)
-{
-	self->SetRect(wxRect(x, y, w, h));
-}
-	
-EWXWEXPORT(wxRect*,wxCalculateLayoutEvent_GetRect)(wxCalculateLayoutEvent* self)
-{
-	wxRect* rct = new wxRect();
-	*rct = self->GetRect();
-	return rct;
-}
-
-EWXWEXPORT(void*,wxLayoutAlgorithm_Create)()
-{
-	return (void*)new wxLayoutAlgorithm();
-}
-
-EWXWEXPORT(void,wxLayoutAlgorithm_Delete)(wxLayoutAlgorithm* self)
-{
-	delete self;
-}
-
-EWXWEXPORT(bool,wxLayoutAlgorithm_LayoutMDIFrame)(wxLayoutAlgorithm* self,wxMDIParentFrame* frame,int x,int y,int w,int h,int use)
-{
-	wxRect* r = NULL;
-	if (use) r = new wxRect(x, y, w, h);
-	
-	bool result = self->LayoutMDIFrame(frame, r);
-	
-	if (r) delete r;
-	return result;
-}
-	
-EWXWEXPORT(bool,wxLayoutAlgorithm_LayoutFrame)(wxLayoutAlgorithm* self,wxFrame* frame,wxWindow* mainWindow)
-{
-	return self->LayoutFrame(frame, mainWindow);
-}
-	
-EWXWEXPORT(bool,wxLayoutAlgorithm_LayoutWindow)(wxLayoutAlgorithm* self,wxFrame* frame,wxWindow* mainWindow)
-{
-	return self->LayoutWindow(frame, mainWindow);
-}
-	
-}
− src/cpp/eljscrollbar.cpp
@@ -1,41 +0,0 @@-#include "wrapper.h"
-
-extern "C"
-{
-
-EWXWEXPORT(void*,wxScrollBar_Create)(wxWindow* _prt, int _id, int _lft, int _top, int _wdt, int _hgt, int _stl)
-{
-	return (void*)new wxScrollBar ((wxWindow*)_prt, _id, wxPoint(_lft, _top), wxSize(_wdt, _hgt), _stl);
-}
-
-EWXWEXPORT(int,wxScrollBar_GetThumbPosition)(wxScrollBar* self)
-{
-	return self->GetThumbPosition();
-}
-
-EWXWEXPORT(int,wxScrollBar_GetThumbSize)(wxScrollBar* self)
-{
-	return self->GetThumbSize();
-}
-
-EWXWEXPORT(int,wxScrollBar_GetPageSize)(wxScrollBar* self)
-{
-	return self->GetPageSize();
-}
-
-EWXWEXPORT(int,wxScrollBar_GetRange)(wxScrollBar* self)
-{
-	return self->GetRange();
-}
-
-EWXWEXPORT(void,wxScrollBar_SetThumbPosition)(wxScrollBar* self,int viewStart)
-{
-	self->SetThumbPosition(viewStart);
-}
-
-EWXWEXPORT(void,wxScrollBar_SetScrollbar)(wxScrollBar* self,int position,int thumbSize,int range,int pageSize,bool refresh)
-{
-	self->SetScrollbar(position, thumbSize, range, pageSize, refresh);
-}
-
-}
− src/cpp/eljscrolledwindow.cpp
@@ -1,106 +0,0 @@-#include "wrapper.h"
-
-extern "C"
-{
-
-EWXWEXPORT(void*, wxScrolledWindow_Create) (void* _prt, int _id, int _lft, int _top, int _wdt, int _hgt, int _stl)
-{
-	return (void*) new wxScrolledWindow ((wxWindow*)_prt, _id, wxPoint(_lft, _top), wxSize(_wdt, _hgt), _stl);
-}
-
-EWXWEXPORT(void,wxScrolledWindow_SetTargetWindow)(void* self,wxWindow* target)
-{
-	((wxScrolledWindow*)self)->SetTargetWindow(target);
-}
-	
-EWXWEXPORT(void*,wxScrolledWindow_GetTargetWindow)(void* self)
-{
-	return (void*)((wxScrolledWindow*)self)->GetTargetWindow();
-}
-	
-EWXWEXPORT(void,wxScrolledWindow_SetScrollbars)(void* self,int pixelsPerUnitX,int pixelsPerUnitY,int noUnitsX,int noUnitsY,int xPos,int yPos,bool noRefresh)
-{
-	((wxScrolledWindow*)self)->SetScrollbars(pixelsPerUnitX, pixelsPerUnitY, noUnitsX, noUnitsY, xPos, yPos, noRefresh);
-}
-	
-EWXWEXPORT(void,wxScrolledWindow_Scroll)(void* self,int x_pos,int y_pos)
-{
-	((wxScrolledWindow*)self)->Scroll(x_pos, y_pos);
-}
-	
-EWXWEXPORT(int,wxScrolledWindow_GetScrollPageSize)(void* self,int orient)
-{
-	return ((wxScrolledWindow*)self)->GetScrollPageSize(orient);
-}
-	
-EWXWEXPORT(void,wxScrolledWindow_SetScrollPageSize)(void* self,int orient,int pageSize)
-{
-	((wxScrolledWindow*)self)->SetScrollPageSize(orient, pageSize);
-}
-	
-EWXWEXPORT(void,wxScrolledWindow_GetScrollPixelsPerUnit)(void* self,int* x_unit,int* y_unit)
-{
-	((wxScrolledWindow*)self)->GetScrollPixelsPerUnit(x_unit,y_unit);
-}
-	
-EWXWEXPORT(void,wxScrolledWindow_EnableScrolling)(void* self,bool x_scrolling,bool y_scrolling)
-{
-	((wxScrolledWindow*)self)->EnableScrolling(x_scrolling, y_scrolling);
-}
-	
-EWXWEXPORT(void, wxScrolledWindow_GetViewStart)(void* _obj, void* x, void* y)
-{
-	((wxScrolledWindow*)_obj)->GetViewStart((int*)x, (int*)y);
-}
-	
-EWXWEXPORT(void, wxScrolledWindow_ViewStart)(void* _obj, void* x, void* y)
-{
-	((wxScrolledWindow*)_obj)->GetViewStart((int*)x, (int*)y);
-}
-	
-EWXWEXPORT(void, wxScrolledWindow_GetVirtualSize)(void* _obj, void* x, void* y)
-{
-	((wxScrolledWindow*)_obj)->GetVirtualSize((int*)x, (int*)y);
-}
-	
-EWXWEXPORT(void,wxScrolledWindow_SetScale)(void* self,double xs,double ys)
-{
-	((wxScrolledWindow*)self)->SetScale(xs, ys);
-}
-	
-EWXWEXPORT(double,wxScrolledWindow_GetScaleX)(void* self)
-{
-	return ((wxScrolledWindow*)self)->GetScaleX();
-}
-	
-EWXWEXPORT(double,wxScrolledWindow_GetScaleY)(void* self)
-{
-	return ((wxScrolledWindow*)self)->GetScaleY();
-}
-	
-EWXWEXPORT(void,wxScrolledWindow_CalcScrolledPosition)(void* self,int x,int y,int* xx,int* yy)
-{
-	((wxScrolledWindow*)self)->CalcScrolledPosition(x, y, xx, yy);
-}
-	
-EWXWEXPORT(void,wxScrolledWindow_CalcUnscrolledPosition)(void* self,int x,int y,int* xx,int* yy)
-{
-	((wxScrolledWindow*)self)->CalcUnscrolledPosition(x, y, xx, yy);
-}
-	
-EWXWEXPORT(void,wxScrolledWindow_AdjustScrollbars)(void* self)
-{
-	((wxScrolledWindow*)self)->AdjustScrollbars();
-}
-	
-EWXWEXPORT(void,wxScrolledWindow_OnDraw)(void* self,wxDC* dc)
-{
-	((wxScrolledWindow*)self)->OnDraw(*dc);
-}
-	
-EWXWEXPORT(void,wxScrolledWindow_PrepareDC)(void* self,wxDC* dc)
-{
-	((wxScrolledWindow*)self)->PrepareDC(*dc);
-}
-
-}
− src/cpp/eljsingleinst.cpp
@@ -1,29 +0,0 @@-#include "wrapper.h"
-#if wxVERSION_NUMBER >= 2400
-#include "wx/snglinst.h"
-
-extern "C"
-{
-
-EWXWEXPORT(void*,wxSingleInstanceChecker_CreateDefault)()
-{
-	return (void*)new wxSingleInstanceChecker();
-}
-	
-EWXWEXPORT(bool,wxSingleInstanceChecker_Create)(wxSingleInstanceChecker* self,wxString* name,wxString* path)
-{
-	return self->Create(*name,*path);
-}
-	
-EWXWEXPORT(bool,wxSingleInstanceChecker_IsAnotherRunning)(wxSingleInstanceChecker* self)
-{
-	return self->IsAnotherRunning();
-}
-	
-EWXWEXPORT(void,wxSingleInstanceChecker_Delete)(void* self)
-{
-	delete (wxSingleInstanceChecker*)self;
-}
-	
-}
-#endif
− src/cpp/eljsizer.cpp
@@ -1,665 +0,0 @@-#include "wrapper.h"
-
-extern "C"
-{
-
-EWXWEXPORT(void*,wxSizerItem_Create)(int width,int height,int option,int flag,int border,void* userData)
-{
-	return (void*)new wxSizerItem(width, height, option, flag, border, new ELJDataObject(userData));
-}
-	
-EWXWEXPORT(void*,wxSizerItem_CreateInWindow)(wxWindow* window,int option,int flag,int border,void* userData)
-{
-	return (void*)new wxSizerItem(window, option, flag, border, new ELJDataObject(userData));
-}
-	
-EWXWEXPORT(void*,wxSizerItem_CreateInSizer)(wxSizer* sizer,int option,int flag,int border,void* userData)
-{
-	return (void*)new wxSizerItem(sizer, option, flag, border, new ELJDataObject(userData));
-}
-	
-EWXWEXPORT(wxSize*,wxSizerItem_GetSize)(wxSizerItem* self)
-{
-	wxSize* sz = new wxSize();
-	*sz = self->GetSize();
-	return sz;
-}
-	
-EWXWEXPORT(wxSize*,wxSizerItem_CalcMin)(wxSizerItem* self)
-{
-	wxSize* sz = new wxSize();
-	*sz = self->CalcMin();
-	return sz;
-}
-	
-EWXWEXPORT(void,wxSizerItem_SetDimension)(wxSizerItem* self,int _x,int _y,int _w,int _h)
-{
-	self->SetDimension(wxPoint(_x, _y), wxSize(_w, _h));
-}
-	
-EWXWEXPORT(wxSize*,wxSizerItem_GetMinSize)(wxSizerItem* self)
-{
-	wxSize* sz = new wxSize();
-	*sz = self->GetMinSize();
-	return sz;
-}
-	
-EWXWEXPORT(void,wxSizerItem_SetRatio)(wxSizerItem* self,int width,int height)
-{
-	self->SetRatio(width, height);
-}
-	
-EWXWEXPORT(void,wxSizerItem_SetFloatRatio)(wxSizerItem* self,float ratio)
-{
-	self->SetRatio(ratio);
-}
-	
-EWXWEXPORT(float,wxSizerItem_GetRatio)(wxSizerItem* self)
-{
-	return self->GetRatio();
-}
-	
-EWXWEXPORT(bool,wxSizerItem_IsWindow)(wxSizerItem* self)
-{
-	return self->IsWindow();
-}
-	
-EWXWEXPORT(bool,wxSizerItem_IsSizer)(wxSizerItem* self)
-{
-	return self->IsSizer();
-}
-	
-EWXWEXPORT(bool,wxSizerItem_IsSpacer)(wxSizerItem* self)
-{
-	return self->IsSpacer();
-}
-	
-EWXWEXPORT(void,wxSizerItem_SetInitSize)(wxSizerItem* self,int x,int y)
-{
-	self->SetInitSize(x, y);
-}
-	
-#if (wxVERSION_NUMBER < 2800)	
-EWXWEXPORT(void,wxSizerItem_SetOption)(wxSizerItem* self,int option)
-{
-	self->SetOption(option);
-}
-#endif
-
-EWXWEXPORT(void,wxSizerItem_SetFlag)(wxSizerItem* self,int flag)
-{
-	self->SetFlag(flag);
-}
-	
-EWXWEXPORT(void,wxSizerItem_SetBorder)(wxSizerItem* self,int border)
-{
-	self->SetBorder(border);
-}
-	
-EWXWEXPORT(wxWindow*,wxSizerItem_GetWindow)(wxSizerItem* self)
-{
-	return self->GetWindow();
-}
-	
-EWXWEXPORT(void,wxSizerItem_SetWindow)(wxSizerItem* self,wxWindow* window)
-{
-	self->SetWindow(window);
-}
-	
-EWXWEXPORT(void*,wxSizerItem_GetSizer)(wxSizerItem* self)
-{
-	return (void*)self->GetSizer();
-}
-	
-EWXWEXPORT(void,wxSizerItem_SetSizer)(wxSizerItem* self,wxSizer* sizer)
-{
-	self->SetSizer(sizer);
-}
-	
-#if (wxVERSION_NUMBER < 2800)
-EWXWEXPORT(int,wxSizerItem_GetOption)(wxSizerItem* self)
-{
-	return self->GetOption();
-}
-#endif
-
-EWXWEXPORT(int,wxSizerItem_GetFlag)(wxSizerItem* self)
-{
-	return self->GetFlag();
-}
-	
-EWXWEXPORT(int,wxSizerItem_GetBorder)(wxSizerItem* self)
-{
-	return self->GetBorder();
-}
-	
-EWXWEXPORT(void*,wxSizerItem_GetUserData)(wxSizerItem* self)
-{
-	return ((ELJDataObject*)self->GetUserData())->data;
-}
-	
-EWXWEXPORT(wxPoint*,wxSizerItem_GetPosition)(wxSizerItem* self)
-{
-	wxPoint* pt = new wxPoint();
-	*pt = self->GetPosition();
-	return pt;
-}
-	
-#if (wxVERSION_NUMBER >= 2800)
-EWXWEXPORT(void,wxSizerItem_Delete)(wxSizerItem* self)
-{
-	delete self;
-}
-
-EWXWEXPORT(void,wxSizerItem_DeleteWindows)(wxSizerItem* self)
-{
-	self->DeleteWindows();
-}
-
-EWXWEXPORT(void,wxSizerItem_DetachSizer)(wxSizerItem* self)
-{
-	self->DetachSizer();
-}
-
-EWXWEXPORT(int,wxSizerItem_GetProportion)(wxSizerItem* self)
-{
-	return self->GetProportion();
-}
-
-EWXWEXPORT(wxRect*,wxSizerItem_GetRect)(wxSizerItem* self)
-{
-	wxRect* rct = new wxRect();
-	*rct = self->GetRect();
-	return rct;
-}
-
-EWXWEXPORT(wxSize*,wxSizerItem_GetSpacer)(wxSizerItem* self,void* _w,void* _h)
-{
-	wxSize* sz = new wxSize(0,0);
-
-	if (self->IsSpacer())
-	{
-		*sz = self->GetSpacer();
-	}
-	return sz;
-}
-
-EWXWEXPORT(bool,wxSizerItem_IsShown)(wxSizerItem* self)
-{
-	return  self->IsShown();
-}
-
-EWXWEXPORT(void,wxSizerItem_SetProportion)(wxSizerItem* self,int proportion)
-{
-	self->SetProportion(proportion);
-}
-
-EWXWEXPORT(void,wxSizerItem_SetSpacer)(wxSizerItem* self,int width,int height)
-{
-	self->SetSpacer(wxSize(width, height));
-}
-
-EWXWEXPORT(void,wxSizerItem_Show)(wxSizerItem* self,int show)
-{
-  	self->Show(show);
-}
-#endif
-
-EWXWEXPORT(void,wxSizer_AddWindow)(wxSizer* self,wxWindow* window,int option,int flag,int border,void* userData)
-{
-	self->Add(window, option, flag, border, new ELJDataObject (userData));
-}
-	
-EWXWEXPORT(void,wxSizer_AddSizer)(wxSizer* self,wxSizer* sizer,int option,int flag,int border,void* userData)
-{
-	self->Add(sizer, option, flag, border, new ELJDataObject (userData));
-}
-	
-EWXWEXPORT(void,wxSizer_Add)(wxSizer* self,int width,int height,int option,int flag,int border,void* userData)
-{
-	self->Add(width, height, option, flag, border, new ELJDataObject (userData));
-}
-	
-EWXWEXPORT(void,wxSizer_InsertWindow)(wxSizer* self,int before,wxWindow* window,int option,int flag,int border,void* userData)
-{
-	self->Insert(before, window, option, flag, border, new ELJDataObject (userData));
-}
-	
-EWXWEXPORT(void,wxSizer_InsertSizer)(wxSizer* self,int before,wxSizer* sizer,int option,int flag,int border,void* userData)
-{
-	self->Insert(before, sizer, option, flag, border, new ELJDataObject (userData));
-}
-	
-EWXWEXPORT(void,wxSizer_Insert)(wxSizer* self,int before,int width,int height,int option,int flag,int border,void* userData)
-{
-	self->Insert(before, width, height, option, flag, border, new ELJDataObject (userData));
-}
-	
-EWXWEXPORT(void,wxSizer_PrependWindow)(wxSizer* self,wxWindow* window,int option,int flag,int border,void* userData)
-{
-	self->Prepend(window, option, flag, border, new ELJDataObject (userData));
-}
-	
-EWXWEXPORT(void,wxSizer_PrependSizer)(wxSizer* self,wxSizer* sizer,int option,int flag,int border,void* userData)
-{
-	self->Prepend(sizer, option, flag, border, new ELJDataObject (userData));
-}
-	
-EWXWEXPORT(void,wxSizer_Prepend)(wxSizer* self,int width,int height,int option,int flag,int border,void* userData)
-{
-	self->Prepend(width, height, option, flag, border, new ELJDataObject (userData));
-}
-	
-#if (wxVERSION_NUMBER < 2800)	
-EWXWEXPORT(bool,wxSizer_RemoveWindow)(wxSizer* self,wxWindow* window)
-{
-	return self->Remove(window);
-}
-	
-EWXWEXPORT(bool,wxSizer_RemoveSizer)(wxSizer* self,wxSizer* sizer)
-{
-	return self->Remove(sizer);
-}
-	
-EWXWEXPORT(bool,wxSizer_Remove)(wxSizer* self,int pos)
-{
-	return self->Remove(pos);
-}
-#endif
-	
-EWXWEXPORT(void,wxSizer_SetMinSize)(wxSizer* self,int width,int height)
-{
-	self->SetMinSize(width, height);
-}
-	
-EWXWEXPORT(void,wxSizer_SetItemMinSizeWindow)(wxSizer* self,wxWindow* window,int width,int height)
-{
-	self->SetItemMinSize( window, width, height);
-}
-	
-EWXWEXPORT(void,wxSizer_SetItemMinSizeSizer)(wxSizer* self,wxSizer* sizer,int width,int height)
-{
-	self->SetItemMinSize(sizer, width, height);
-}
-	
-EWXWEXPORT(void,wxSizer_SetItemMinSize)(wxSizer* self,int pos,int width,int height)
-{
-	self->SetItemMinSize(pos, width, height);
-}
-	
-EWXWEXPORT(wxSize*,wxSizer_GetSize)(wxSizer* self)
-{
-	wxSize* s = new wxSize();
-	*s = self->GetSize();
-	return s;
-}
-	
-EWXWEXPORT(wxPoint*,wxSizer_GetPosition)(wxSizer* self)
-{
-	wxPoint* pt = new wxPoint();
-	*pt = self->GetPosition();
-	return pt;
-}
-	
-EWXWEXPORT(wxSize*,wxSizer_GetMinSize)(wxSizer* self)
-{
-	wxSize* sz = new wxSize();
-	*sz = self->GetMinSize();
-	return sz;
-}
-	
-EWXWEXPORT(void,wxSizer_RecalcSizes)(wxSizer* self)
-{
-	self->RecalcSizes();
-}
-	
-EWXWEXPORT(wxSize*,wxSizer_CalcMin)(wxSizer* self)
-{
-	wxSize* sz = new wxSize();
-	*sz = self->CalcMin();
-	return sz;
-}
-	
-EWXWEXPORT(void,wxSizer_Layout)(wxSizer* self)
-{
-	self->Layout();
-}
-	
-EWXWEXPORT(void,wxSizer_Fit)(wxSizer* self,wxWindow* window)
-{
-	self->Fit(window);
-}
-	
-EWXWEXPORT(void,wxSizer_SetSizeHints)(wxSizer* self,wxWindow* window)
-{
-	self->SetSizeHints(window);
-}
-	
-EWXWEXPORT(int, wxSizer_GetChildren)(wxSizer* self, void* _res, int _cnt)
-{
-	if (_res && (unsigned int)_cnt == self->GetChildren().GetCount())
-	{
-		int i = 0;
-		wxSizerItemList::compatibility_iterator node = self->GetChildren().GetFirst();
-		while (node)
-		{
-			((void**)_res)[i] = node->GetData();
-			node = node->GetNext();
-			++i;
-		}
-		return i;
-	}
-	else
-		return self->GetChildren().GetCount();
-}
-
-#if (wxVERSION_NUMBER >= 2800)
-EWXWEXPORT(void,wxSizer_AddSpacer)(wxSizer* self,int size)
-{
-	self->AddSpacer(size);
-}
-
-EWXWEXPORT(void,wxSizer_AddStretchSpacer)(wxSizer* self,int size)
-{
-	self->AddStretchSpacer(size);
-}
-
-EWXWEXPORT(void,wxSizer_Clear)(wxSizer* self,bool delete_windows)
-{
-	self->Clear(delete_windows);
-}
-
-EWXWEXPORT(bool,wxSizer_DetachWindow)(wxSizer* self,wxWindow* window)
-{
-	return self->Detach(window);
-}
-
-EWXWEXPORT(bool,wxSizer_DetachSizer)(wxSizer* self,wxSizer* sizer)
-{
-	return self->Detach(sizer);
-}
-
-EWXWEXPORT(bool,wxSizer_Detach)(wxSizer* self,int index)
-{
-	return self->Detach((size_t) index);
-}
-
-EWXWEXPORT(void,wxSizer_FitInside)(wxSizer* self,wxWindow* window)
-{
-	self->FitInside( window);
-}
-
-EWXWEXPORT(void*,wxSizer_GetContainingWindow)(wxSizer* self)
-{
-	return (void*)self->GetContainingWindow();
-}
-
-EWXWEXPORT(void*,wxSizer_GetItemWindow)(wxSizer* self,wxWindow* window,bool recursive)
-{
-	return (void*)self->GetItem( window, recursive);
-}
-
-EWXWEXPORT(void*,wxSizer_GetItemSizer)(wxSizer* self,wxSizer* sizer,bool recursive)
-{
-	return (void*)self->GetItem(sizer, recursive);
-}
-
-EWXWEXPORT(void*,wxSizer_GetItem)(wxSizer* self,int index)
-{
-	return (void*)self->GetItem((size_t) index);
-}
-
-EWXWEXPORT(bool,wxSizer_HideWindow)(wxSizer* self,wxWindow* window)
-{
-	return self->Hide(window);
-}
-
-EWXWEXPORT(bool,wxSizer_HideSizer)(wxSizer* self,wxSizer* sizer)
-{
-	return self->Hide(sizer);
-}
-
-EWXWEXPORT(bool,wxSizer_Hide)(wxSizer* self,int index)
-{
-	return self->Hide((size_t) index);
-}
-
-EWXWEXPORT(void*,wxSizer_InsertSpacer)(wxSizer* self,int index,int size)
-{
-	return (void*)self->InsertSpacer((size_t) index, size);
-}
-
-EWXWEXPORT(void*,wxSizer_InsertStretchSpacer)(wxSizer* self,int index,int prop)
-{
-	return (void*)self->InsertStretchSpacer((size_t) index, prop);
-}
-
-EWXWEXPORT(bool,wxSizer_IsShownWindow)(wxSizer* self,wxWindow* window)
-{
-	return self->IsShown( window);
-}
-
-EWXWEXPORT(bool,wxSizer_IsShownSizer)(wxSizer* self,wxSizer* sizer)
-{
-	return self->IsShown(sizer);
-}
-
-EWXWEXPORT(bool,wxSizer_IsShown)(wxSizer* self,size_t index)
-{
-	return self->IsShown( index);
-}
-
-EWXWEXPORT(void*,wxSizer_PrependSpacer)(wxSizer* self,int size)
-{
-	return (void*)self->PrependSpacer(size);
-}
-
-EWXWEXPORT(void*,wxSizer_PrependStretchSpacer)(wxSizer* self,int prop)
-{
-	return (void*)self->PrependStretchSpacer(prop);
-}
-
-EWXWEXPORT(bool,wxSizer_ReplaceWindow)(wxSizer* self,wxWindow* oldwin,wxWindow* newwin,bool recursive)
-{
-	return self->Replace(oldwin, newwin, recursive);
-}
-
-EWXWEXPORT(bool,wxSizer_ReplaceSizer)(wxSizer* self,wxSizer* oldsz,wxSizer* newsz,bool recursive)
-{
-	return self->Replace( oldsz, newsz,recursive);
-}
-
-EWXWEXPORT(bool,wxSizer_Replace)(wxSizer* self,int oldindex,wxSizerItem* newsz)
-{
-	return self->Replace((size_t) oldindex,newsz);
-}
-
-EWXWEXPORT(void,wxSizer_SetVirtualSizeHints)(wxSizer* self,wxWindow* window)
-{
-	self->SetVirtualSizeHints(window);
-}
-
-EWXWEXPORT(bool,wxSizer_ShowWindow)(wxSizer* self,wxWindow* window,bool show,bool recursive)
-{
-	return self->Show(window, show, recursive);
-}
-
-EWXWEXPORT(bool,wxSizer_ShowSizer)(wxSizer* self,wxSizer* sizer,bool show,bool recursive)
-{
-	return self->Show(sizer, show, recursive);
-}
-
-EWXWEXPORT(bool,wxSizer_Show)(wxSizer* self,int index,bool show)
-{
-	return self->Show((size_t) index, show);
-}
-#endif
-	
-EWXWEXPORT(void,wxSizer_SetDimension)(wxSizer* self,int x,int y,int width,int height)
-{
-	self->SetDimension(x, y, width, height);
-}
-	
-EWXWEXPORT(void*,wxGridSizer_Create)(int rows,int cols,int vgap,int hgap)
-{
-	return (void*)new wxGridSizer(rows, cols, vgap, hgap);
-}
-	
-EWXWEXPORT(void,wxGridSizer_RecalcSizes)(wxGridSizer* self)
-{
-	self->RecalcSizes();
-}
-	
-EWXWEXPORT(wxSize*,wxGridSizer_CalcMin)(wxGridSizer* self)
-{
-	wxSize* sz = new wxSize();
-	*sz = self->CalcMin();
-	return sz;
-}
-	
-EWXWEXPORT(void,wxGridSizer_SetCols)(wxGridSizer* self,int cols)
-{
-	self->SetCols(cols);
-}
-	
-EWXWEXPORT(void,wxGridSizer_SetRows)(wxGridSizer* self,int rows)
-{
-	self->SetRows(rows);
-}
-	
-EWXWEXPORT(void,wxGridSizer_SetVGap)(wxGridSizer* self,int gap)
-{
-	self->SetVGap(gap);
-}
-	
-EWXWEXPORT(void,wxGridSizer_SetHGap)(wxGridSizer* self,int gap)
-{
-	self->SetHGap(gap);
-}
-	
-EWXWEXPORT(int,wxGridSizer_GetCols)(wxGridSizer* self)
-{
-	return self->GetCols();
-}
-	
-EWXWEXPORT(int,wxGridSizer_GetRows)(wxGridSizer* self)
-{
-	return self->GetRows();
-}
-	
-EWXWEXPORT(int,wxGridSizer_GetVGap)(wxGridSizer* self)
-{
-	return self->GetVGap();
-}
-	
-EWXWEXPORT(int,wxGridSizer_GetHGap)(wxGridSizer* self)
-{
-	return self->GetHGap();
-}
-	
-EWXWEXPORT(void*,wxFlexGridSizer_Create)(int rows,int cols,int vgap,int hgap)
-{
-	return new wxFlexGridSizer(rows, cols, vgap, hgap);
-}
-	
-EWXWEXPORT(void,wxFlexGridSizer_RecalcSizes)(wxFlexGridSizer* self)
-{
-	self->RecalcSizes();
-}
-	
-EWXWEXPORT(wxSize*,wxFlexGridSizer_CalcMin)(wxFlexGridSizer* self)
-{
-	wxSize* sz = new wxSize();
-	*sz = self->CalcMin();
-	return sz;
-}
-	
-EWXWEXPORT(void,wxFlexGridSizer_AddGrowableRow)(wxFlexGridSizer* self,size_t idx)
-{
-	self->AddGrowableRow(idx);
-}
-	
-EWXWEXPORT(void,wxFlexGridSizer_RemoveGrowableRow)(wxFlexGridSizer* self,size_t idx)
-{
-	self->RemoveGrowableRow(idx);
-}
-	
-EWXWEXPORT(void,wxFlexGridSizer_AddGrowableCol)(wxFlexGridSizer* self,size_t idx)
-{
-	self->AddGrowableCol(idx);
-}
-	
-EWXWEXPORT(void,wxFlexGridSizer_RemoveGrowableCol)(wxFlexGridSizer* self,size_t idx)
-{
-	self->RemoveGrowableCol(idx);
-}
-	
-EWXWEXPORT(void*,wxBoxSizer_Create)(int orient)
-{
-	return (void*)new wxBoxSizer(orient);
-}
-	
-EWXWEXPORT(void,wxBoxSizer_RecalcSizes)(wxBoxSizer* self)
-{
-	self->RecalcSizes();
-}
-	
-EWXWEXPORT(wxSize*,wxBoxSizer_CalcMin)(wxBoxSizer* self)
-{
-	wxSize* sz = new wxSize();
-	*sz = self->CalcMin();
-	return sz;
-}
-	
-EWXWEXPORT(int,wxBoxSizer_GetOrientation)(wxBoxSizer* self)
-{
-	return self->GetOrientation();
-}
-	
-EWXWEXPORT(void*,wxStaticBoxSizer_Create)(wxStaticBox* box,int orient)
-{
-	return (void*)new wxStaticBoxSizer(box, orient );
-}
-	
-EWXWEXPORT(void,wxStaticBoxSizer_RecalcSizes)(wxStaticBoxSizer* self)
-{
-	self->RecalcSizes();
-}
-	
-EWXWEXPORT(wxSize*,wxStaticBoxSizer_CalcMin)(wxStaticBoxSizer* self)
-{
-	wxSize* sz = new wxSize();
-	*sz = self->CalcMin();
-	return sz;
-}
-	
-EWXWEXPORT(void*,wxStaticBoxSizer_GetStaticBox)(wxStaticBoxSizer* self)
-{
-	return (void*)self->GetStaticBox();
-}
-	
-#if (wxVERSION_NUMBER < 2800)
-EWXWEXPORT(void*,wxNotebookSizer_Create)(wxNotebook* nb)
-{
-	return (void*)new wxNotebookSizer(nb);
-}
-	
-EWXWEXPORT(void,wxNotebookSizer_RecalcSizes)(wxNotebookSizer* self)
-{
-	self->RecalcSizes();
-}
-	
-EWXWEXPORT(wxSize*,wxNotebookSizer_CalcMin)(wxNotebookSizer* self)
-{
-	wxSize* sz = new wxSize();
-	*sz = self->CalcMin();
-	return sz;
-}
-	
-EWXWEXPORT(void*,wxNotebookSizer_GetNotebook)(wxNotebookSizer* self)
-{
-	return (void*)self->GetNotebook();
-}
-#endif
-
-}
− src/cpp/eljslider.cpp
@@ -1,107 +0,0 @@-#include "wrapper.h"
-#include "wx/slider.h"
-
-extern "C"
-{
-
-EWXWEXPORT(void*, wxSlider_Create) (void* _prt, int _id, int _init, int _min, int _max, int _lft, int _top, int _wdt, int _hgt, long _stl)
-{
-	return (void*) new wxSlider ((wxWindow*)_prt, _id, _init, _min, _max, wxPoint(_lft, _top), wxSize(_wdt, _hgt), _stl);
-}
-
-EWXWEXPORT(int,wxSlider_GetValue)(void* _obj)
-{
-	return ((wxSlider*)_obj)->GetValue();
-}
-	
-EWXWEXPORT(void,wxSlider_SetValue)(void* _obj, int value)
-{
-	((wxSlider*)_obj)->SetValue(value);
-}
-	
-EWXWEXPORT(void,wxSlider_SetRange)(void* _obj, int minValue, int maxValue)
-{
-	((wxSlider*)_obj)->SetRange(minValue, maxValue);
-}
-	
-EWXWEXPORT(int,wxSlider_GetMin)(void* _obj)
-{
-	return ((wxSlider*)_obj)->GetMin();
-}
-	
-EWXWEXPORT(int,wxSlider_GetMax)(void* _obj)
-{
-	return ((wxSlider*)_obj)->GetMax();
-}
-	
-EWXWEXPORT(void,wxSlider_SetTickFreq)(void* _obj, int n, int pos)
-{
-	((wxSlider*)_obj)->SetTickFreq(n, pos);
-}
-	
-EWXWEXPORT(int,wxSlider_GetTickFreq)(void* _obj)
-{
-	return ((wxSlider*)_obj)->GetTickFreq();
-}
-	
-EWXWEXPORT(void,wxSlider_SetPageSize)(void* _obj, int pageSize)
-{
-	((wxSlider*)_obj)->SetPageSize(pageSize);
-}
-	
-EWXWEXPORT(int,wxSlider_GetPageSize)(void* _obj)
-{
-	return ((wxSlider*)_obj)->GetPageSize();
-}
-	
-EWXWEXPORT(void,wxSlider_ClearSel)(void* _obj)
-{
-	((wxSlider*)_obj)->ClearSel();
-}
-	
-EWXWEXPORT(void,wxSlider_ClearTicks)(void* _obj)
-{
-	((wxSlider*)_obj)->ClearTicks();
-}
-	
-EWXWEXPORT(void,wxSlider_SetLineSize)(void* _obj, int lineSize)
-{
-	((wxSlider*)_obj)->SetLineSize(lineSize);
-}
-	
-EWXWEXPORT(int,wxSlider_GetLineSize)(void* _obj)
-{
-	return ((wxSlider*)_obj)->GetLineSize();
-}
-	
-EWXWEXPORT(int,wxSlider_GetSelEnd)(void* _obj)
-{
-	return ((wxSlider*)_obj)->GetSelEnd();
-}
-	
-EWXWEXPORT(int,wxSlider_GetSelStart)(void* _obj)
-{
-	return ((wxSlider*)_obj)->GetSelStart();
-}
-	
-EWXWEXPORT(void,wxSlider_SetSelection)(void* _obj, int minPos, int maxPos)
-{
-	((wxSlider*)_obj)->SetSelection(minPos, maxPos);
-}
-	
-EWXWEXPORT(void,wxSlider_SetThumbLength)(void* _obj, int len)
-{
-	((wxSlider*)_obj)->SetThumbLength(len);
-}
-	
-EWXWEXPORT(int,wxSlider_GetThumbLength)(void* _obj)
-{
-	return ((wxSlider*)_obj)->GetThumbLength();
-}
-	
-EWXWEXPORT(void,wxSlider_SetTick)(void* _obj, int tickPos)
-{
-	((wxSlider*)_obj)->SetTick(tickPos);
-}
-	
-} 
− src/cpp/eljspinctrl.cpp
@@ -1,66 +0,0 @@-#include "wrapper.h"
-
-extern "C"
-{
-
-EWXWEXPORT(void*,wxSpinCtrl_Create)(wxWindow* _prt,int _id,wxString* _txt,int _lft,int _top,int _wdt,int _hgt,long _stl,int _min,int _max,int _init)
-{
-	return (void*) new wxSpinCtrl (_prt, _id, *_txt, wxPoint(_lft, _top), wxSize(_wdt, _hgt), _stl, _min, _max, _init);
-}
-
-EWXWEXPORT(void,wxSpinCtrl_SetValue)(void* _obj,int val)
-{
-	((wxSpinCtrl*)_obj)->SetValue(val);
-}
-	
-EWXWEXPORT(int,wxSpinCtrl_GetValue)(void* _obj)
-{
-	return ((wxSpinCtrl*)_obj)->GetValue();
-}
-	
-EWXWEXPORT(void,wxSpinCtrl_SetRange)(void* _obj,int min_val,int max_val)
-{
-	((wxSpinCtrl*)_obj)->SetRange(min_val, max_val);
-}
-	
-EWXWEXPORT(int,wxSpinCtrl_GetMin)(void* _obj)
-{
-	return ((wxSpinCtrl*)_obj)->GetMin();
-}
-	
-EWXWEXPORT(int,wxSpinCtrl_GetMax)(void* _obj)
-{
-	return ((wxSpinCtrl*)_obj)->GetMax();
-}
-
-EWXWEXPORT(void*,wxSpinButton_Create)(wxWindow* _prt,int _id,int _lft,int _top,int _wdt,int _hgt,long _stl)
-{
-	return (void*) new wxSpinButton (_prt, _id, wxPoint(_lft, _top), wxSize(_wdt, _hgt), _stl);
-}
-
-EWXWEXPORT(int,wxSpinButton_GetValue)(void* _obj)
-{
-	return ((wxSpinButton*)_obj)->GetValue();
-}
-	
-EWXWEXPORT(int,wxSpinButton_GetMin)(void* _obj)
-{
-	return ((wxSpinButton*)_obj)->GetMin();
-}
-	
-EWXWEXPORT(int,wxSpinButton_GetMax)(void* _obj)
-{
-	return ((wxSpinButton*)_obj)->GetMax();
-}
-	
-EWXWEXPORT(void,wxSpinButton_SetValue)(void* _obj,int val)
-{
-	((wxSpinButton*)_obj)->SetValue(val);
-}
-	
-EWXWEXPORT(void,wxSpinButton_SetRange)(void* _obj,int minVal,int maxVal)
-{
-	((wxSpinButton*)_obj)->SetRange(minVal, maxVal);
-}
-	
-}
− src/cpp/eljsplitterwindow.cpp
@@ -1,101 +0,0 @@-#include "wrapper.h"
-
-extern "C"
-{
-
-EWXWEXPORT(void*,wxSplitterWindow_Create)(wxWindow* _prt, int _id, int _lft, int _top, int _wdt, int _hgt, int _stl)
-{
-	return (void*)new wxSplitterWindow (_prt, _id, wxPoint(_lft, _top), wxSize(_wdt, _hgt), _stl);
-}
-
-EWXWEXPORT(void*,wxSplitterWindow_GetWindow1)(void* self)
-{
-	return (void*)((wxSplitterWindow*)self)->GetWindow1();
-}
-	
-EWXWEXPORT(void*,wxSplitterWindow_GetWindow2)(void* self)
-{
-	return (void*)((wxSplitterWindow*)self)->GetWindow2();
-}
-	
-EWXWEXPORT(void,wxSplitterWindow_SetSplitMode)(void* self,int mode)
-{
-	((wxSplitterWindow*)self)->SetSplitMode(mode);
-}
-	
-EWXWEXPORT(int,wxSplitterWindow_GetSplitMode)(void* self)
-{
-	return ((wxSplitterWindow*)self)->GetSplitMode();
-}
-	
-EWXWEXPORT(void,wxSplitterWindow_Initialize)(void* self,wxWindow* window)
-{
-	((wxSplitterWindow*)self)->Initialize(window);
-}
-	
-EWXWEXPORT(bool,wxSplitterWindow_SplitVertically)(wxSplitterWindow* self,wxWindow* window1,wxWindow* window2,int sashPosition)
-{
-	return self->SplitVertically(window1, window2, sashPosition);
-}
-	
-EWXWEXPORT(int,wxSplitterWindow_SplitHorizontally)(void* self,wxWindow* window1,wxWindow* window2,int sashPosition)
-{
-	return (int)((wxSplitterWindow*)self)->SplitHorizontally(window1, window2, sashPosition);
-}
-	
-EWXWEXPORT(int,wxSplitterWindow_Unsplit)(void* self,wxWindow* toRemove)
-{
-	return (int)((wxSplitterWindow*)self)->Unsplit(toRemove);
-}
-	
-EWXWEXPORT(int,wxSplitterWindow_ReplaceWindow)(void* self,wxWindow* winOld,wxWindow* winNew)
-{
-	return (int)((wxSplitterWindow*)self)->ReplaceWindow(winOld, winNew);
-}
-	
-EWXWEXPORT(bool,wxSplitterWindow_IsSplit)(wxSplitterWindow* self)
-{
-	return self->IsSplit();
-}
-	
-EWXWEXPORT(void,wxSplitterWindow_SetSashSize)(void* self,int width)
-{
-	((wxSplitterWindow*)self)->SetSashSize(width);
-}
-	
-EWXWEXPORT(void,wxSplitterWindow_SetBorderSize)(void* self,int width)
-{
-	((wxSplitterWindow*)self)->SetBorderSize(width);
-}
-	
-EWXWEXPORT(int,wxSplitterWindow_GetSashSize)(void* self)
-{
-	return ((wxSplitterWindow*)self)->GetSashSize();
-}
-	
-EWXWEXPORT(int,wxSplitterWindow_GetBorderSize)(void* self)
-{
-	return ((wxSplitterWindow*)self)->GetBorderSize();
-}
-	
-EWXWEXPORT(void,wxSplitterWindow_SetSashPosition)(void* self,int position,bool redraw)
-{
-	((wxSplitterWindow*)self)->SetSashPosition(position, redraw);
-}
-	
-EWXWEXPORT(int,wxSplitterWindow_GetSashPosition)(void* self)
-{
-	return ((wxSplitterWindow*)self)->GetSashPosition();
-}
-	
-EWXWEXPORT(void,wxSplitterWindow_SetMinimumPaneSize)(void* self,int min)
-{
-	((wxSplitterWindow*)self)->SetMinimumPaneSize(min);
-}
-	
-EWXWEXPORT(int,wxSplitterWindow_GetMinimumPaneSize)(void* self)
-{
-	return ((wxSplitterWindow*)self)->GetMinimumPaneSize();
-}
-	
-}
− src/cpp/eljstaticbox.cpp
@@ -1,11 +0,0 @@-#include "wrapper.h"
-
-extern "C"
-{
-
-EWXWEXPORT(void*,wxStaticBox_Create)(wxWindow* _prt,int _id,wxString* _txt,int _lft,int _top,int _wdt,int _hgt,int _stl)
-{
-	return (void*) new wxStaticBox (_prt, _id, *_txt, wxPoint(_lft, _top), wxSize(_wdt, _hgt), _stl);
-}
-
-}
− src/cpp/eljstaticline.cpp
@@ -1,21 +0,0 @@-#include "wrapper.h"
-
-extern "C"
-{
-
-EWXWEXPORT(void*,wxStaticLine_Create)(wxWindow* _prt,int _id,int _lft,int _top,int _wdt,int _hgt,int _stl)
-{
-	return (void*)new wxStaticLine ((wxWindow*)_prt, _id, wxPoint(_lft, _top), wxSize(_wdt, _hgt), _stl);
-}
-
-EWXWEXPORT(bool,wxStaticLine_IsVertical)(wxStaticLine* self)
-{
-	return self->IsVertical ();
-}
-	
-EWXWEXPORT(int,wxStaticLine_GetDefaultSize)(wxStaticLine* self)
-{
-	return self->GetDefaultSize ();
-}
-
-}
− src/cpp/eljstatictext.cpp
@@ -1,11 +0,0 @@-#include "wrapper.h"
-
-extern "C"
-{
-
-EWXWEXPORT(void*,wxStaticText_Create)(wxWindow* _prt,int _id,wxString* _txt,int _lft,int _top,int _wdt,int _hgt,int _stl)
-{
-	return (void*) new wxStaticText (_prt, _id, *_txt, wxPoint(_lft, _top), wxSize(_wdt, _hgt), _stl);
-}
-
-}
− src/cpp/eljstatusbar.cpp
@@ -1,64 +0,0 @@-#include "wrapper.h"
-
-extern "C"
-{
-
-EWXWEXPORT(void*,wxStatusBar_Create)(wxWindow* _prt,int _id,int _lft,int _top,int _wdt,int _hgt,int _stl)
-{
-#if wxVERSION_NUMBER >= 2400
-	return (void*) new wxStatusBar (_prt, _id, _stl);
-#else
-	return (void*) new wxStatusBar (_prt, _id, wxPoint(_lft, _top), wxSize(_wdt, _hgt), _stl);
-#endif
-}
-
-EWXWEXPORT(void,wxStatusBar_SetFieldsCount)(void* _obj,int number,int* widths)
-{
-	((wxStatusBar*)_obj)->SetFieldsCount(number, widths);
-}
-	
-EWXWEXPORT(int,wxStatusBar_GetFieldsCount)(void* _obj)
-{
-	return ((wxStatusBar*)_obj)->GetFieldsCount();
-}
-	
-EWXWEXPORT(void,wxStatusBar_SetStatusText)(void* _obj,wxString* text,int number)
-{
-	((wxStatusBar*)_obj)->SetStatusText(*text, number);
-}
-	
-EWXWEXPORT(wxString*,wxStatusBar_GetStatusText)(void* _obj,int number)
-{
-	wxString *result = new wxString();
-	*result = ((wxStatusBar*)_obj)->GetStatusText(number);
-	return result;
-}
-	
-EWXWEXPORT(void,wxStatusBar_SetStatusWidths)(void* _obj,int n,int* widths)
-{
-	((wxStatusBar*)_obj)->SetStatusWidths(n, widths);
-}
-
-/*	
-EWXWEXPORT(int,wxStatusBar_GetFieldRect)(void* _obj,int i,wxRect& rect)
-{
-	return (int)((wxStatusBar*)_obj)->GetFieldRect(int i, wxRect& rect);
-}
-*/
-	
-EWXWEXPORT(void,wxStatusBar_SetMinHeight)(void* _obj,int height)
-{
-	((wxStatusBar*)_obj)->SetMinHeight(height);
-}
-	
-EWXWEXPORT(int,wxStatusBar_GetBorderX)(void* _obj)
-{
-	return ((wxStatusBar*)_obj)->GetBorderX();
-}
-	
-EWXWEXPORT(int,wxStatusBar_GetBorderY)(void* _obj)
-{
-	return ((wxStatusBar*)_obj)->GetBorderY();
-}
-	
-}
− src/cpp/eljsystemsettings.cpp
@@ -1,43 +0,0 @@-#include "wrapper.h"
-
-extern "C"
-{
-
-#if (wxVERSION_NUMBER < 2800)
-EWXWEXPORT(void, wxSystemSettings_GetSystemColour)(wxSystemColour index, void* _ref)
-{
-	*((wxColour*)_ref) = wxSystemSettings::GetColour(index);
-}
-
-EWXWEXPORT(void, wxSystemSettings_GetSystemFont)(wxSystemFont index, void* _ref)
-{
-	*((wxFont*)_ref) = wxSystemSettings::GetFont(index);
-}
-
-EWXWEXPORT(int, wxSystemSettings_GetSystemMetric)(wxSystemMetric index)
-{
-	return wxSystemSettings::GetMetric(index);
-}
-#else
-EWXWEXPORT(void, wxSystemSettings_GetColour)(wxSystemColour index, void* _ref)
-{
-	*((wxColour*)_ref) = wxSystemSettings::GetColour(index);
-}
-
-EWXWEXPORT(void, wxSystemSettings_GetFont)(wxSystemFont index, void* _ref)
-{
-	*((wxFont*)_ref) = wxSystemSettings::GetFont(index);
-}
-
-EWXWEXPORT(int, wxSystemSettings_GetMetric)(wxSystemMetric index)
-{
-	return wxSystemSettings::GetMetric(index);
-}
-
-EWXWEXPORT(int, wxSystemSettings_GetScreenType)()
-{
-  return (int) wxSystemSettings::GetScreenType();
-}
-#endif
-
-}
− src/cpp/eljtextctrl.cpp
@@ -1,190 +0,0 @@-#include "wrapper.h"
-
-extern "C"
-{
-
-EWXWEXPORT(void*,wxTextCtrl_Create)(wxWindow* _prt,int _id,wxString* _txt,int _lft,int _top,int _wdt,int _hgt,long _stl)
-{
-	return (void*) new wxTextCtrl (_prt, _id, *_txt, wxPoint(_lft, _top), wxSize(_wdt, _hgt), _stl, wxDefaultValidator);
-}
-
-EWXWEXPORT(wxString*,wxTextCtrl_GetValue)(void* self)
-{
-	wxString *result = new wxString();
-	*result = ((wxTextCtrl*)self)->GetValue();
-	return result;
-}
-	
-EWXWEXPORT(void,wxTextCtrl_SetValue)(wxTextCtrl* self,wxString* value)
-{
-	self->SetValue(*value);
-}
-	
-EWXWEXPORT(int,wxTextCtrl_GetLineLength)(wxTextCtrl* self,long lineNo)
-{
-	return self->GetLineLength(lineNo);
-}
-	
-EWXWEXPORT(wxString*,wxTextCtrl_GetLineText)(wxTextCtrl* self,long lineNo)
-{
-	wxString *result = new wxString();
-	*result = self->GetLineText(lineNo);
-	return result;
-}
-	
-EWXWEXPORT(int,wxTextCtrl_GetNumberOfLines)(wxTextCtrl* self)
-{
-	return self->GetNumberOfLines();
-}
-	
-EWXWEXPORT(bool,wxTextCtrl_IsModified)(wxTextCtrl* self)
-{
-	return self->IsModified();
-}
-	
-EWXWEXPORT(bool,wxTextCtrl_IsEditable)(wxTextCtrl* self)
-{
-	return self->IsEditable();
-}
-	
-EWXWEXPORT(void,wxTextCtrl_GetSelection)(wxTextCtrl* self,void* from,void* to)
-{
-	self->GetSelection((long*)from, (long*)to);
-}
-	
-EWXWEXPORT(void,wxTextCtrl_Clear)(wxTextCtrl* self)
-{
-	self->Clear();
-}
-	
-EWXWEXPORT(void,wxTextCtrl_Replace)(wxTextCtrl* self,long from,long to,wxString* value)
-{
-	self->Replace(from, to,*value);
-}
-	
-EWXWEXPORT(void,wxTextCtrl_Remove)(wxTextCtrl* self,long from,long to)
-{
-	self->Remove(from, to);
-}
-	
-EWXWEXPORT(bool,wxTextCtrl_LoadFile)(wxTextCtrl* self,wxString* file)
-{
-	return self->LoadFile(*file);
-}
-	
-EWXWEXPORT(bool,wxTextCtrl_SaveFile)(wxTextCtrl* self,wxString* file)
-{
-	return self->SaveFile(*file);
-}
-	
-EWXWEXPORT(void,wxTextCtrl_DiscardEdits)(wxTextCtrl* self)
-{
-	self->DiscardEdits();
-}
-	
-EWXWEXPORT(void,wxTextCtrl_WriteText)(wxTextCtrl* self,wxString* text)
-{
-	self->WriteText(*text);
-}
-	
-EWXWEXPORT(void,wxTextCtrl_AppendText)(wxTextCtrl* self,wxString* text)
-{
-	self->AppendText(*text);
-}
-	
-EWXWEXPORT(long,wxTextCtrl_XYToPosition)(wxTextCtrl* self,long x,long y)
-{
-	return self->XYToPosition(x, y);
-}
-	
-EWXWEXPORT(int,wxTextCtrl_PositionToXY)(wxTextCtrl* self,long pos,long* x,long* y)
-{
-	return (int)self->PositionToXY(pos, x, y);
-}
-	
-EWXWEXPORT(void,wxTextCtrl_ShowPosition)(wxTextCtrl* self,long pos)
-{
-	self->ShowPosition(pos);
-}
-	
-EWXWEXPORT(void,wxTextCtrl_Copy)(wxTextCtrl* self)
-{
-	self->Copy();
-}
-	
-EWXWEXPORT(void,wxTextCtrl_Cut)(wxTextCtrl* self)
-{
-	self->Cut();
-}
-	
-EWXWEXPORT(void,wxTextCtrl_Paste)(wxTextCtrl* self)
-{
-	self->Paste();
-}
-	
-EWXWEXPORT(bool,wxTextCtrl_CanCopy)(wxTextCtrl* self)
-{
-	return self->CanCopy();
-}
-	
-EWXWEXPORT(bool,wxTextCtrl_CanCut)(wxTextCtrl* self)
-{
-	return self->CanCut();
-}
-	
-EWXWEXPORT(bool,wxTextCtrl_CanPaste)(wxTextCtrl* self)
-{
-	return self->CanPaste();
-}
-	
-EWXWEXPORT(void,wxTextCtrl_Undo)(wxTextCtrl* self)
-{
-	self->Undo();
-}
-	
-EWXWEXPORT(void,wxTextCtrl_Redo)(wxTextCtrl* self)
-{
-	self->Redo();
-}
-	
-EWXWEXPORT(bool,wxTextCtrl_CanUndo)(wxTextCtrl* self)
-{
-	return self->CanUndo();
-}
-	
-EWXWEXPORT(bool,wxTextCtrl_CanRedo)(wxTextCtrl* self)
-{
-	return self->CanRedo();
-}
-	
-EWXWEXPORT(void,wxTextCtrl_SetInsertionPoint)(wxTextCtrl* self,long pos)
-{
-	self->SetInsertionPoint(pos);
-}
-	
-EWXWEXPORT(void,wxTextCtrl_SetInsertionPointEnd)(wxTextCtrl* self)
-{
-	self->SetInsertionPointEnd();
-}
-	
-EWXWEXPORT(long,wxTextCtrl_GetInsertionPoint)(wxTextCtrl* self)
-{
-	return self->GetInsertionPoint();
-}
-	
-EWXWEXPORT(long,wxTextCtrl_GetLastPosition)(wxTextCtrl* self)
-{
-	return self->GetLastPosition();
-}
-	
-EWXWEXPORT(void,wxTextCtrl_SetSelection)(wxTextCtrl* self,long from,long to)
-{
-	self->SetSelection(from, to);
-}
-	
-EWXWEXPORT(void,wxTextCtrl_SetEditable)(wxTextCtrl* self,bool editable)
-{
-	self->SetEditable(editable);
-}
-	
-}
− src/cpp/eljtimer.cpp
@@ -1,72 +0,0 @@-#include "wrapper.h"
-
-extern "C"
-{
-
-EWXWEXPORT(wxTimer*,wxTimer_Create)(wxEvtHandler* _prt,int _id)
-{
-	return  new wxTimer (_prt, _id);
-}
-
-EWXWEXPORT(void,wxTimer_Delete)(wxTimer* self)
-{
-	delete self;
-}
-
-EWXWEXPORT(bool,wxTimer_Start)(wxTimer* self,int _int,bool _one)
-{
-	return self->Start (_int, _one);
-}
-
-EWXWEXPORT(void,wxTimer_Stop)(wxTimer* self)
-{
-	self->Stop();
-}
-
-EWXWEXPORT(bool,wxTimer_IsRuning)(wxTimer* self)
-{
-	return self->IsRunning();
-}
-
-EWXWEXPORT(bool,wxTimer_IsOneShot)(wxTimer* self)
-{
-	return self->IsOneShot();
-}
-
-EWXWEXPORT(int,wxTimer_GetInterval)(wxTimer* self)
-{
-	return self->GetInterval();
-}
-
-
-EWXWEXPORT(wxStopWatch*,wxStopWatch_Create)()
-{
-	return new wxStopWatch();
-}
-	
-EWXWEXPORT(void,wxStopWatch_Delete)(wxStopWatch* self)
-{
-	delete self;
-}
-	
-EWXWEXPORT(void,wxStopWatch_Start)(wxStopWatch* self,int _t)
-{
-	self->Start((long)_t);
-}
-	
-EWXWEXPORT(void,wxStopWatch_Pause)(wxStopWatch* self)
-{
-	self->Pause();
-}
-	
-EWXWEXPORT(void,wxStopWatch_Resume)(wxStopWatch* self)
-{
-	self->Resume();
-}
-	
-EWXWEXPORT(long,wxStopWatch_Time)(wxStopWatch* self)
-{
-	return self->Time();
-}
-	
-}
− src/cpp/eljtipwnd.cpp
@@ -1,29 +0,0 @@-#include "wrapper.h"
-#if wxVERSION_NUMBER >= 2400
-#include "wx/tipwin.h"
-
-extern "C"
-{
-
-EWXWEXPORT(void*,wxTipWindow_Create)(wxWindow* parent,wxString* text,int maxLength)
-{
-	return (void*)new wxTipWindow(parent, *text, (wxCoord)maxLength);
-}
-	
-EWXWEXPORT(void,wxTipWindow_SetTipWindowPtr)(void* _obj,void* windowPtr)
-{
-	((wxTipWindow*)_obj)->SetTipWindowPtr((wxTipWindow**)windowPtr);
-}
-	
-EWXWEXPORT(void,wxTipWindow_SetBoundingRect)(void* _obj,int x,int y,int w,int h)
-{
-	((wxTipWindow*)_obj)->SetBoundingRect(wxRect(x, y, w, h));
-}
-	
-EWXWEXPORT(void,wxTipWindow_Close)(void* _obj)
-{
-	((wxTipWindow*)_obj)->Close();
-}
-
-}
-#endif
− src/cpp/eljtoolbar.cpp
@@ -1,175 +0,0 @@-#include "wrapper.h"
-
-extern "C"
-{
-
-EWXWEXPORT(wxToolBar*,wxToolBar_Create)(wxWindow* _prt,int _id,int _lft,int _top,int _wdt,int _hgt,int _stl)
-{
-	return new wxToolBar (_prt, _id, wxPoint(_lft, _top), wxSize(_wdt, _hgt), _stl);
-}
-
-EWXWEXPORT(void,wxToolBar_Delete)(wxToolBar* self)
-{
-	delete self;
-}
-
-EWXWEXPORT(int,wxToolBar_AddControl)(wxToolBar* self,wxControl* ctrl)
-{
-	return self->AddControl(ctrl) != NULL;
-}
-
-EWXWEXPORT(void,wxToolBar_AddSeparator)(wxToolBar* self)
-{
-	self->AddSeparator ();
-}
-
-EWXWEXPORT(void,wxToolBar_AddTool)(wxToolBar* self,int id,wxBitmap* bmp,wxString* shelp,wxString* lhelp)
-{
-	self->AddTool (id,*bmp,*shelp,*lhelp);
-}
-
-EWXWEXPORT(void,wxToolBar_AddToolEx)(wxToolBar* self,int id,wxBitmap* bmp1,wxBitmap* bmp2,bool tgl,int x,int y,wxObject* dat,wxString* shelp,wxString* lhelp)
-{
-	self->AddTool (id,*bmp1,*bmp2, tgl, x, y, dat,*shelp,*lhelp);
-}
-
-EWXWEXPORT(bool,wxToolBar_DeleteTool)(wxToolBar* self,int id)
-{
-	return self->DeleteTool (id);
-}
-
-EWXWEXPORT(bool,wxToolBar_DeleteToolByPos)(wxToolBar* self,int pos)
-{
-	return self->DeleteToolByPos (pos);
-}
-
-EWXWEXPORT(void,wxToolBar_EnableTool)(wxToolBar* self,int id,bool enb)
-{
-	self->EnableTool (id, enb);
-}
-
-EWXWEXPORT(wxSize*,wxToolBar_GetToolSize)(wxToolBar* self)
-{
-	wxSize* sz = new wxSize();
-	*sz = self->GetToolSize();
-	return sz;
-}
-
-EWXWEXPORT(wxSize*,wxToolBar_GetToolBitmapSize)(wxToolBar* self)
-{
-	wxSize* sz = new wxSize();
-	*sz = self->GetToolBitmapSize();
-	return sz;
-}
-
-EWXWEXPORT(wxSize*,wxToolBar_GetMargins)(wxToolBar* self)
-{
-	wxSize* sz = new wxSize();
-	*sz = self->GetMargins();
-	return sz;
-}
-
-EWXWEXPORT(void*,wxToolBar_GetToolClientData)(wxToolBar* self,int id)
-{
-	return (void*)self->GetToolClientData (id);
-}
-
-EWXWEXPORT(bool,wxToolBar_GetToolEnabled)(wxToolBar* self,int id)
-{
-	return self->GetToolEnabled (id);
-}
-
-EWXWEXPORT(wxString*,wxToolBar_GetToolLongHelp)(wxToolBar* self,int id)
-{
-	wxString *result = new wxString();
-	*result = self->GetToolLongHelp (id);
-	return result;
-}
-
-EWXWEXPORT(int,wxToolBar_GetToolPacking)(wxToolBar* self)
-{
-	return self->GetToolPacking ();
-}
-
-EWXWEXPORT(wxString*,wxToolBar_GetToolShortHelp)(wxToolBar* self,int id)
-{
-	wxString *result = new wxString();
-	*result = self->GetToolShortHelp (id);
-	return result;
-}
-
-EWXWEXPORT(bool,wxToolBar_GetToolState)(wxToolBar* self,int id)
-{
-	return self->GetToolState (id);
-}
-
-EWXWEXPORT(void,wxToolBar_InsertControl)(wxToolBar* self,int pos,wxControl* ctrl)
-{
-	self->InsertControl ((size_t)pos, ctrl);
-}
-
-EWXWEXPORT(void,wxToolBar_InsertSeparator)(wxToolBar* self,int pos)
-{
-	self->InsertSeparator ((size_t)pos);
-}
-
-EWXWEXPORT(void,wxToolBar_InsertTool)(wxToolBar* self,int pos,int id,wxBitmap* bmp1,wxBitmap* bmp2,bool tgl,wxObject* dat,wxString* shelp,wxString* lhelp)
-{
-	self->InsertTool ((size_t)pos, id,*bmp1,*bmp2, tgl, dat,*shelp,*lhelp);
-}
-
-EWXWEXPORT(bool,wxToolBar_Realize)(wxToolBar* self)
-{
-	return self->Realize ();
-}
-
-EWXWEXPORT(void,wxToolBar_RemoveTool)(wxToolBar* self,int id)
-{
-	self->RemoveTool (id);
-}
-
-EWXWEXPORT(void,wxToolBar_SetMargins)(wxToolBar* self,int x,int y)
-{
-#ifdef __WIN32__
-	self->SetMargins(wxSize(x, y));
-#else
-	self->SetMargins(x, y);
-#endif
-}
-
-EWXWEXPORT(void,wxToolBar_SetToolBitmapSize)(wxToolBar* self,int x,int y)
-{
-	self->SetToolBitmapSize (wxSize(x, y));
-}
-
-EWXWEXPORT(void,wxToolBar_SetToolClientData)(wxToolBar* self,int id,wxObject* dat)
-{
-	self->SetToolClientData (id, dat);
-}
-
-EWXWEXPORT(void,wxToolBar_SetToolLongHelp)(wxToolBar* self,int id,wxString* str)
-{
-	self->SetToolLongHelp (id,*str);
-}
-
-EWXWEXPORT(void,wxToolBar_SetToolPacking)(wxToolBar* self,int val)
-{
-	self->SetToolPacking (val);
-}
-
-EWXWEXPORT(void,wxToolBar_SetToolShortHelp)(wxToolBar* self,int id,wxString* str)
-{
-	self->SetToolShortHelp (id,*str);
-}
-
-EWXWEXPORT(void,wxToolBar_SetToolSeparation)(wxToolBar* self,int val)
-{
-	self->SetToolSeparation (val);
-}
-
-EWXWEXPORT(void,wxToolBar_ToggleTool)(wxToolBar* self,int id,bool val)
-{
-	self->ToggleTool (id, val);
-}
-
-}
− src/cpp/eljvalidator.cpp
@@ -1,230 +0,0 @@-#include "wrapper.h"
-
-extern "C"
-{
-
-EWXWEXPORT(void*,wxValidator_Create)()
-{
-	return (void*)new wxValidator();
-}
-
-EWXWEXPORT(void,wxValidator_Delete)(void* self)
-{
-	delete (wxValidator*)self;
-}
-
-EWXWEXPORT(bool,wxValidator_Validate)(wxValidator* self,wxWindow* parent)
-{
-	return self->Validate(parent);
-}
-	
-EWXWEXPORT(bool,wxValidator_TransferToWindow)(wxValidator* self)
-{
-	return self->TransferToWindow();
-}
-	
-EWXWEXPORT(bool,wxValidator_TransferFromWindow)(wxValidator* self)
-{
-	return self->TransferFromWindow();
-}
-	
-EWXWEXPORT(void*,wxValidator_GetWindow)(void* self)
-{
-	return (void*)((wxValidator*)self)->GetWindow();
-}
-	
-EWXWEXPORT(void,wxValidator_SetWindow)(void* self,wxWindowBase* win)
-{
-	((wxValidator*)self)->SetWindow(win);
-}
-	
-#if (wxVERSION_NUMBER < 2800)	
-EWXWEXPORT(bool,wxValidator_IsSilent)()
-{
-	return wxValidator::IsSilent();
-}
-#endif
-	
-EWXWEXPORT(void,wxValidator_SetBellOnError)(bool doIt)
-{
-	wxValidator::SetBellOnError(doIt);
-}
-	
-EWXWEXPORT(void*,wxTextValidator_Create)(int style,void* val)
-{
-	return (void*)new wxTextValidator((long)style, new wxString);
-}
-
-EWXWEXPORT(int,wxTextValidator_GetStyle)(wxTextValidator* self)
-{
-	return (int)self->GetStyle();
-}
-	
-EWXWEXPORT(void,wxTextValidator_SetStyle)(void* self,int style)
-{
-	((wxTextValidator*)self)->SetStyle((long) style);
-}
-	
-#if (wxVERSION_NUMBER < 2800)	
-EWXWEXPORT(void,wxTextValidator_SetIncludeList)(void* self,void* list,int count)
-{
-#if (wxVERSION_NUMBER <= 2600)
-	wxStringList str;
-	
-	for (int i = 0; i < count; i++)
-		str.Add(((wxChar**)list)[i]);
-		
-	((wxTextValidator*)self)->SetIncludeList(str);
-#else
-	((wxTextValidator*)self)->SetIncludes((const wxArrayString&)list);
-#endif
-}
-	
-EWXWEXPORT(int,wxTextValidator_GetIncludeList)(void* self,void* _ref)
-{
-#if (wxVERSION_NUMBER <= 2600)
-	if (_ref)
-	{
-		for (unsigned int i = 0; i < ((wxTextValidator*)self)->GetIncludeList().GetCount(); i++)
-			((const wxChar**)_ref)[i] = wxStrdup(((wxTextValidator*)self)->GetIncludeList().Item(i)->GetData());
-	}
-	return ((wxTextValidator*)self)->GetIncludeList().GetCount();
-#else
-	wxArrayString arr = ((wxTextValidator*)self)->GetIncludes();
-	if (_ref)
-	{
-		for (unsigned int i = 0; i < arr.GetCount(); i++)
-			((const wxChar**)_ref)[i] = wxStrdup (arr.Item(i).c_str());
-	}
-	return arr.GetCount();
-#endif
-}
-	
-EWXWEXPORT(void,wxTextValidator_SetExcludeList)(void* self,void* list,int count)
-{
-#if (wxVERSION_NUMBER <= 2600)
-	wxStringList str;
-	
-	for (int i = 0; i < count; i++)
-		str.Add(((wxChar**)list)[i]);
-		
-	((wxTextValidator*)self)->SetExcludeList(str);
-#else
-	((wxTextValidator*)self)->SetExcludes((const wxArrayString&)list);
-#endif
-}
-	
-EWXWEXPORT(int,wxTextValidator_GetExcludeList)(void* self,void* _ref)
-{
-#if (wxVERSION_NUMBER <= 2600)
-	if (_ref)
-	{
-		for (unsigned int i = 0; i < ((wxTextValidator*)self)->GetExcludeList().GetCount(); i++)
-			((const wxChar**)_ref)[i] = ((wxTextValidator*)self)->GetExcludeList().Item(i)->GetData();
-	}
-	return ((wxTextValidator*)self)->GetExcludeList().GetCount();
-#else
-	wxArrayString arr = ((wxTextValidator*)self)->GetExcludes();
-	if (_ref)
-	{
-		for (unsigned int i = 0; i < arr.GetCount(); i++)
-			((const wxChar**)_ref)[i] = wxStrdup (arr.Item(i).c_str());
-	}
-	return arr.GetCount();
-#endif
-}
-#else
-EWXWEXPORT(void,wxTextValidator_SetIncludes)(void* self,void* list,int count)
-{
-  wxArrayString str;
-  
-  for (int i = 0; i < count; i++)
-    str.Add(((wxChar**)list)[i]);
-  
-  ((wxTextValidator*)self)->SetIncludes(str);
-}
-
-EWXWEXPORT(void*,wxTextValidator_GetIncludes)(void* self,int* _nitems)
-{
-  void* retval = NULL;
-
-  if (_nitems != NULL)
-  {
-    wxArrayString items = ((wxTextValidator*)self)->GetIncludes();
-    wxChar **items_copy = (wxChar **)malloc(sizeof(wxChar *)* items.GetCount());
-
-    for (unsigned int i = 0; i < items.GetCount(); i++)
-    {
-      items_copy[i] = wxStrdup(items.Item(i).GetData());
-    }
-    retval = (void*)items_copy;
-    *_nitems = items.GetCount();
-  }
-  return retval;
-}
-	
-EWXWEXPORT(void,wxTextValidator_SetExcludes)(void* self,void* list,int count)
-{
-	wxArrayString str;
-	
-	for (int i = 0; i < count; i++)
-		str.Add(((wxChar**)list)[i]);
-		
-	((wxTextValidator*)self)->SetExcludes(str);
-}
-	
-EWXWEXPORT(void*,wxTextValidator_GetExcludes)(void* self,int* _nitems)
-{
-  void* retval = NULL;
-
-  if (_nitems != NULL)
-  {
-    wxArrayString items = ((wxTextValidator*)self)->GetExcludes();
-    wxChar **items_copy = (wxChar **)malloc(sizeof(wxChar *)* items.GetCount());
-
-    for (unsigned int i = 0; i < items.GetCount(); i++)
-    {
-      items_copy[i] = wxStrdup(items.Item(i).GetData());
-    }
-    retval = (void*)items_copy;
-    *_nitems = items.GetCount();
-  }
-  return retval;
-}
-
-EWXWEXPORT(void*,wxTextValidator_Clone)(void* self)
-{
-  return (void*)((wxTextValidator*)self)->Clone();
-}
-
-EWXWEXPORT(bool,wxTextValidator_TransferToWindow)(wxTextValidator* self)
-{
-	return self->TransferToWindow();
-}
-	
-EWXWEXPORT(bool,wxTextValidator_TransferFromWindow)(wxTextValidator* self)
-{
-	return self->TransferFromWindow();
-}
-	
-#endif
-
-EWXWEXPORT(void,wxTextValidator_OnChar)(void* self,wxKeyEvent* event)
-{
-	((wxTextValidator*)self)->OnChar(*event);
-}
-
-EWXWEXPORT(void*,ELJTextValidator_Create)(void* self,void* _fnc,void* _txt,long _stl)
-{
-	return new ELJTextValidator(self, _fnc, _txt, _stl);
-}
-
-}
-
-bool ELJTextValidator::Validate(wxWindow* _prt)
-{
-	if (obj && fnc)
-		return fnc(obj) != 0;
-	else
-		return wxTextValidator::Validate(_prt);
-}
− src/cpp/eljwindow.cpp
@@ -1,723 +0,0 @@-#include "wrapper.h"
-#include "wx/tooltip.h"
-
-extern "C"
-{
-
-EWXWEXPORT(void*,wxWindow_Create)(wxWindow* _prt,int _id,int _x,int _y,int _w,int _h,int _stl)
-{
-	return (void*)new wxWindow(_prt, (wxWindowID)_id, wxPoint(_x, _y), wxSize(_w, _h), (long)_stl);
-}
-	
-EWXWEXPORT(bool,wxWindow_Close)(wxWindow* self,bool _force)
-{
-	return self->Close(_force);
-}
-	
-EWXWEXPORT(bool,wxWindow_Destroy)(wxWindow* self)
-{
-	return self->Destroy();
-}
-	
-EWXWEXPORT(void,wxWindow_ClearBackground)(wxWindow* self)
-{
-	self->ClearBackground();
-}
-	
-EWXWEXPORT(void,wxWindow_Fit)(wxWindow* self)
-{
-	self->Fit();
-}
-	
-EWXWEXPORT(void,wxWindow_DestroyChildren)(wxWindow* self)
-{
-	self->DestroyChildren();
-}
-	
-EWXWEXPORT(bool,wxWindow_IsBeingDeleted)(wxWindow* self)
-{
-	return self->IsBeingDeleted();
-}
-	
-EWXWEXPORT(void,wxWindow_SetLabel)(wxWindow* self,wxString* _title)
-{
-	self->SetLabel(*_title);
-}
-	
-EWXWEXPORT(wxString*,wxWindow_GetLabel)(wxWindow* self)
-{
-	wxString *result = new wxString();
-	*result = self->GetLabel();
-	return result;
-}
-	
-EWXWEXPORT(bool,wxWindow_GetLabelEmpty)(wxWindow* self)
-{
-	return self->GetLabel().IsEmpty();
-}
-	
-EWXWEXPORT(void,wxWindow_SetName)(wxWindow* self,wxString* _name)
-{
-	self->SetName(*_name);
-}
-	
-EWXWEXPORT(wxString*,wxWindow_GetName)(wxWindow* self)
-{
-	wxString *result = new wxString();
-	*result = self->GetName();
-	return result;
-}
-	
-EWXWEXPORT(void,wxWindow_SetId)(wxWindow* self,int _id)
-{
-	self->SetId(_id);
-}
-	
-EWXWEXPORT(int,wxWindow_GetId)(wxWindow* self)
-{
-	return self->GetId();
-}
-	
-EWXWEXPORT(void,wxWindow_SetSize)(wxWindow* self,int x,int y,int width,int height,int sizeFlags)
-{
-	self->SetSize(x, y, width, height, sizeFlags);
-}
-	
-EWXWEXPORT(void,wxWindow_Move)(wxWindow* self,int x,int y)
-{
-	self->Move( x, y );
-}
-	
-EWXWEXPORT(void,wxWindow_Raise)(wxWindow* self)
-{
-	self->Raise();
-}
-	
-EWXWEXPORT(void,wxWindow_Lower)(wxWindow* self)
-{
-	self->Lower();
-}
-	
-EWXWEXPORT(void,wxWindow_SetClientSize)(wxWindow* self,int width,int height)
-{
-	self->SetClientSize( width, height );
-}
-	
-EWXWEXPORT(wxPoint*,wxWindow_GetPosition)(wxWindow* self)
-{
-	wxPoint* pt = new wxPoint();
-	*pt = self->GetPosition();
-	return pt;
-}
-	
-EWXWEXPORT(wxSize*,wxWindow_GetSize)(wxWindow* self)
-{
-	wxSize* sz = new wxSize();
-	*sz = self->GetSize();
-	return sz;
-}
-	
-EWXWEXPORT(wxRect*,wxWindow_GetRect)(wxWindow* self)
-{
-	wxRect* rct = new wxRect();
-	*rct = self->GetRect();
-	return rct;
-}
-	
-EWXWEXPORT(wxSize*,wxWindow_GetClientSize)(wxWindow* self)
-{
-	wxSize* sz = new wxSize();
-	*sz = self->GetClientSize();
-	return sz;
-}
-	
-EWXWEXPORT(wxSize*,wxWindow_GetBestSize)(wxWindow* self)
-{
-	wxSize* sz = new wxSize();
-	*sz = self->GetBestSize();
-	return sz;
-}
-	
-EWXWEXPORT(void,wxWindow_Center)(wxWindow* self,int direction)
-{
-	self->Center( direction );
-}
-	
-EWXWEXPORT(void,wxWindow_CenterOnParent)(wxWindow* self,int dir)
-{
-	self->CenterOnParent(dir);
-}
-	
-EWXWEXPORT(void,wxWindow_SetSizeHints)(wxWindow* self,int minW,int minH,int maxW,int maxH,int incW,int incH)
-{
-	self->SetSizeHints( minW, minH, maxW, maxH, incW, incH );
-}
-	
-EWXWEXPORT(int,wxWindow_GetMinWidth)(wxWindow* self)
-{
-	return self->GetMinWidth();
-}
-	
-EWXWEXPORT(int,wxWindow_GetMinHeight)(wxWindow* self)
-{
-	return self->GetMinHeight();
-}
-	
-EWXWEXPORT(int,wxWindow_GetMaxWidth)(wxWindow* self)
-{
-	return self->GetMaxWidth();
-}
-
-EWXWEXPORT(int,wxWindow_GetMaxHeight)(wxWindow* self)
-{
-	return self->GetMaxHeight();
-}
-	
-EWXWEXPORT(bool,wxWindow_Show)(wxWindow* self)
-{
-	return self->Show();
-}
-	
-EWXWEXPORT(bool,wxWindow_Hide)(wxWindow* self)
-{
-	return self->Hide();
-}
-	
-EWXWEXPORT(bool,wxWindow_Enable)(wxWindow* self)
-{
-	return self->Enable();
-}
-
-EWXWEXPORT(bool,wxWindow_Disable)(wxWindow* self)
-{
-	return self->Disable();
-}
-	
-EWXWEXPORT(bool,wxWindow_IsShown)(wxWindow* self)
-{
-	return self->IsShown();
-}
-	
-EWXWEXPORT(bool,wxWindow_IsEnabled)(wxWindow* self)
-{
-	return self->IsEnabled();
-}
-	
-EWXWEXPORT(void,wxWindow_SetWindowStyleFlag)(wxWindow* self,long style)
-{
-	self->SetWindowStyleFlag( style );
-}
-	
-EWXWEXPORT(int,wxWindow_GetWindowStyleFlag)(wxWindow* self)
-{
-	return (int)self->GetWindowStyleFlag();
-}
-	
-EWXWEXPORT(bool,wxWindow_HasFlag)(wxWindow* self,int flag)
-{
-	return self->HasFlag(flag);
-}
-	
-EWXWEXPORT(void,wxWindow_SetExtraStyle)(wxWindow* self,long exStyle)
-{
-	self->SetExtraStyle(exStyle);
-}
-	
-EWXWEXPORT(void,wxWindow_MakeModal)(wxWindow* self,bool modal)
-{
-	self->MakeModal(modal);
-}
-	
-EWXWEXPORT(void,wxWindow_SetFocus)(wxWindow* self)
-{
-	self->SetFocus();
-}
-	
-EWXWEXPORT(void*,wxWindow_FindFocus)(wxWindow* self)
-{
-	return (void*)self->FindFocus();
-}
-	
-EWXWEXPORT(int,wxWindow_GetChildren)(wxWindow* self,void* _res,int _cnt)
-{
-	if (_res && (unsigned int)_cnt == self->GetChildren().GetCount())
-	{
-		unsigned int i = 0;
-		wxWindowList::compatibility_iterator node = self->GetChildren().GetFirst();
-		while (node)
-		{
-			((void**)_res)[i++] = (void*)(node->GetData());
-			node = node->GetNext();
-		}
-
-		return i;
-	}
-	else
-		return self->GetChildren().GetCount();
-}
-	
-EWXWEXPORT(void*,wxWindow_GetParent)(wxWindow* self)
-{
-	return (void*)self->GetParent();
-}
-	
-EWXWEXPORT(bool,wxWindow_IsTopLevel)(wxWindow* self)
-{
-	return self->IsTopLevel();
-}
-	
-EWXWEXPORT(void*,wxWindow_FindWindow)(wxWindow* self,wxString* name)
-{
-	return (void*)self->FindWindow( *name );
-}
-	
-EWXWEXPORT(void,wxWindow_AddChild)(wxWindow* self,wxWindowBase* child)
-{
-	self->AddChild(  child );
-}
-	
-EWXWEXPORT(void,wxWindow_RemoveChild)(wxWindow* self,wxWindowBase* child)
-{
-	self->RemoveChild(  child );
-}
-	
-EWXWEXPORT(void*,wxWindow_GetEventHandler)(wxWindow* self)
-{
-	return (void*)self->GetEventHandler();
-}
-	
-EWXWEXPORT(void,wxWindow_PushEventHandler)(wxWindow* self,wxEvtHandler* handler)
-{
-	self->PushEventHandler( handler );
-}
-	
-EWXWEXPORT(void*,wxWindow_PopEventHandler)(wxWindow* self,bool deleteHandler)
-{
-	return (void*)self->PopEventHandler(deleteHandler);
-}
-	
-EWXWEXPORT(void,wxWindow_SetValidator)(wxWindow* self,void* validator)
-{
-	self->SetValidator(*((wxValidator*)validator));
-}
-	
-EWXWEXPORT(void*,wxWindow_GetValidator)(wxWindow* self)
-{
-	return (void*)self->GetValidator();
-}
-	
-EWXWEXPORT(void,wxWindow_SetClientData)(wxWindow* self,void* data)
-{
-	self->SetClientData( data );
-}
-	
-EWXWEXPORT(void*,wxWindow_GetClientData)(wxWindow* self)
-{
-	return (void*)self->GetClientData();
-}
-	
-EWXWEXPORT(bool,wxWindow_Validate)(wxWindow* self)
-{
-	return self->Validate();
-}
-	
-EWXWEXPORT(bool,wxWindow_TransferDataToWindow)(wxWindow* self)
-{
-	return self->TransferDataToWindow();
-}
-	
-EWXWEXPORT(bool,wxWindow_TransferDataFromWindow)(wxWindow* self)
-{
-	return self->TransferDataFromWindow();
-}
-	
-EWXWEXPORT(void,wxWindow_InitDialog)(wxWindow* self)
-{
-	self->InitDialog();
-}
-	
-EWXWEXPORT(void,wxWindow_SetAcceleratorTable)(wxWindow* self,void* accel)
-{
-	self->SetAcceleratorTable(*((wxAcceleratorTable*)accel));
-}
-	
-EWXWEXPORT(wxPoint*,wxWindow_ConvertPixelsToDialog)(wxWindow* self,int x,int y)
-{
-	const wxPoint pos(x, y);
-	wxPoint* pt = new wxPoint();
-	*pt = self->ConvertPixelsToDialog(pos);
-	return pt;
-}
-	
-EWXWEXPORT(wxPoint*,wxWindow_ConvertDialogToPixels)(wxWindow* self,int x,int y)
-{
-	const wxPoint pos(x, y);
-	wxPoint* pt = new wxPoint();
-	*pt = self->ConvertDialogToPixels(pos);
-	return pt;
-}
-	
-EWXWEXPORT(void,wxWindow_WarpPointer)(wxWindow* self,int x,int y)
-{
-	self->WarpPointer(x, y);
-}
-	
-EWXWEXPORT(void,wxWindow_CaptureMouse)(wxWindow* self)
-{
-	self->CaptureMouse();
-}
-	
-EWXWEXPORT(void,wxWindow_ReleaseMouse)(wxWindow* self)
-{
-	self->ReleaseMouse();
-}
-	
-EWXWEXPORT(void,wxWindow_Refresh)(wxWindow* self,bool eraseBackground)
-{
-	self->Refresh(eraseBackground, (const wxRect*)NULL);
-}
-	
-EWXWEXPORT(void,wxWindow_RefreshRect)(wxWindow* self,bool eraseBackground,int x,int y,int w,int h)
-{
-	const wxRect rect(x, y, w, h);
-	self->Refresh(eraseBackground, &rect);
-}
-	
-EWXWEXPORT(void,wxWindow_PrepareDC)(wxWindow* self,wxDC* dc)
-{
-	self->PrepareDC(*dc);
-}
-	
-EWXWEXPORT(void*,wxWindow_GetUpdateRegion)(wxWindow* self)
-{
-	return (void*)(&self->GetUpdateRegion());
-}
-	
-EWXWEXPORT(bool,wxWindow_IsExposed)(wxWindow* self,int x,int y,int w,int h)
-{
-	return self->IsExposed( x, y, w, h );
-}
-	
-EWXWEXPORT(bool,wxWindow_SetBackgroundColour)(wxWindow* self,wxColour* colour)
-{
-	return self->SetBackgroundColour(*colour);
-}
-	
-EWXWEXPORT(void,wxWindow_SetForegroundColour)(wxWindow* self,wxColour* colour)
-{
-	self->SetForegroundColour(*colour);
-}
-	
-EWXWEXPORT(void,wxWindow_GetBackgroundColour)(wxWindow* self,wxColour* colour)
-{
-	*colour = self->GetBackgroundColour();
-}
-	
-EWXWEXPORT(void,wxWindow_GetForegroundColour)(wxWindow* self,wxColour* colour)
-{
-	*colour = self->GetForegroundColour();
-}
-	
-EWXWEXPORT(void,wxWindow_SetCursor)(wxWindow* self,wxCursor* cursor)
-{
-	self->SetCursor(*cursor);
-}
-	
-EWXWEXPORT(wxCursor*,wxWindow_GetCursor)(wxWindow* self)
-{
-	wxCursor* cur = new wxCursor();
-	*cur = self->GetCursor();
-	return cur;
-}
-	
-EWXWEXPORT(void,wxWindow_SetFont)(wxWindow* self,wxFont* font)
-{
-	self->SetFont(*font);
-}
-	
-EWXWEXPORT(void,wxWindow_GetFont)(wxWindow* self,wxFont* _font)
-{
-	*_font = self->GetFont();
-}
-	
-EWXWEXPORT(void,wxWindow_SetCaret)(wxWindow* self,wxCaret* caret)
-{
-	self->SetCaret(caret);
-}
-	
-EWXWEXPORT(wxCaret*,wxWindow_GetCaret)(wxWindow* self)
-{
-	return self->GetCaret();
-}
-	
-EWXWEXPORT(int,wxWindow_GetCharHeight)(wxWindow* self)
-{
-	return self->GetCharHeight();
-}
-	
-EWXWEXPORT(int,wxWindow_GetCharWidth)(wxWindow* self)
-{
-	return self->GetCharWidth();
-}
-	
-EWXWEXPORT(void,wxWindow_GetTextExtent)(wxWindow* self,wxString* string,int* x,int* y,int* descent,int* externalLeading,wxFont* theFont)
-{
-	self->GetTextExtent(*string, x,  y, descent, externalLeading, theFont );
-}
-	
-EWXWEXPORT(wxPoint*,wxWindow_ScreenToClient)(wxWindow* self,int x,int y)
-{
-	const wxPoint pos(x, y);
-	wxPoint* pt = new wxPoint();
-	*pt = self->ScreenToClient(pos);
-	return pt;
-}
-	
-EWXWEXPORT(void,wxWindow_UpdateWindowUI)(wxWindow* self)
-{
-	self->UpdateWindowUI();
-}
-	
-EWXWEXPORT(bool,wxWindow_PopupMenu)(wxWindow* self,wxMenu* menu,int x,int y)
-{
-	return self->PopupMenu(menu, x, y );
-}
-	
-EWXWEXPORT(void,wxWindow_SetScrollPos)(wxWindow* self,int orient,int pos,bool refresh)
-{
-	self->SetScrollPos( orient, pos, refresh);
-}
-	
-EWXWEXPORT(int,wxWindow_GetScrollPos)(wxWindow* self,int orient)
-{
-	return self->GetScrollPos( orient );
-}
-	
-EWXWEXPORT(int,wxWindow_GetScrollThumb)(wxWindow* self,int orient)
-{
-	return self->GetScrollThumb( orient );
-}
-	
-EWXWEXPORT(int,wxWindow_GetScrollRange)(wxWindow* self,int orient)
-{
-	return self->GetScrollRange( orient );
-}
-	
-EWXWEXPORT(void,wxWindow_ScrollWindow)(wxWindow* self,int dx,int dy)
-{
-	self->ScrollWindow(dx, dy, (const wxRect*)NULL);
-}
-	
-EWXWEXPORT(void,wxWindow_ScrollWindowRect)(wxWindow* self,int dx,int dy,int x,int y,int w,int h)
-{
-	const wxRect rect(x, y, w, h);
-	self->ScrollWindow(dx, dy, &rect);
-}
-	
-EWXWEXPORT(void,wxWindow_SetToolTip)(wxWindow* self,wxString* tip)
-{
-	self->SetToolTip( *tip );
-}
-	
-EWXWEXPORT(wxString*,wxWindow_GetToolTip)(wxWindow* self)
-{
-	wxToolTip* tip = self->GetToolTip();
-
-	if (tip)
-	{
-		wxString *result = new wxString();
-		*result = tip->GetTip();
-		return result;
-	}
-	return NULL;
-}
-	
-EWXWEXPORT(void,wxWindow_SetDropTarget)(wxWindow* self,void* dropTarget)
-{
-	self->SetDropTarget((wxDropTarget*)dropTarget);
-}
-	
-EWXWEXPORT(void*,wxWindow_GetDropTarget)(wxWindow* self)
-{
-	return (void*)self->GetDropTarget();
-}
-	
-EWXWEXPORT(void,wxWindow_SetConstraints)(wxWindow* self,void* constraints)
-{
-	self->SetConstraints((wxLayoutConstraints*)constraints);
-}
-	
-EWXWEXPORT(void*,wxWindow_GetConstraints)(wxWindow* self)
-{
-	return (void*)self->GetConstraints();
-}
-	
-EWXWEXPORT(void,wxWindow_SetAutoLayout)(wxWindow* self,bool autoLayout)
-{
-	self->SetAutoLayout( autoLayout );
-}
-	
-EWXWEXPORT(int,wxWindow_GetAutoLayout)(wxWindow* self)
-{
-	return (int)self->GetAutoLayout();
-}
-	
-EWXWEXPORT(void,wxWindow_Layout)(wxWindow* self)
-{
-	self->Layout();
-}
-	
-EWXWEXPORT(void,wxWindow_UnsetConstraints)(wxWindow* self,void* c)
-{
-	self->UnsetConstraints((wxLayoutConstraints*)c);
-}
-	
-EWXWEXPORT(void*,wxWindow_GetConstraintsInvolvedIn)(wxWindow* self)
-{
-	return (void*)self->GetConstraintsInvolvedIn();
-}
-	
-EWXWEXPORT(void,wxWindow_AddConstraintReference)(wxWindow* self,wxWindowBase* otherWin)
-{
-	self->AddConstraintReference( otherWin);
-}
-	
-EWXWEXPORT(void,wxWindow_RemoveConstraintReference)(wxWindow* self,wxWindowBase* otherWin)
-{
-	self->RemoveConstraintReference( otherWin);
-}
-	
-EWXWEXPORT(void,wxWindow_DeleteRelatedConstraints)(wxWindow* self)
-{
-	self->DeleteRelatedConstraints();
-}
-	
-EWXWEXPORT(void,wxWindow_ResetConstraints)(wxWindow* self)
-{
-	self->ResetConstraints();
-}
-	
-EWXWEXPORT(void,wxWindow_SetConstraintSizes)(wxWindow* self,bool recurse)
-{
-	self->SetConstraintSizes(recurse);
-}
-	
-EWXWEXPORT(int,wxWindow_LayoutPhase1)(wxWindow* self,int* noChanges)
-{
-	return (int)self->LayoutPhase1(noChanges);
-}
-	
-EWXWEXPORT(int,wxWindow_LayoutPhase2)(wxWindow* self,int* noChanges)
-{
-	return (int)self->LayoutPhase2(noChanges);
-}
-	
-EWXWEXPORT(int,wxWindow_DoPhase)(wxWindow* self,int phase)
-{
-	return (int)self->DoPhase(phase);
-}
-	
-EWXWEXPORT(void,wxWindow_SetSizeConstraint)(wxWindow* self,int x,int y,int w,int h)
-{
-	self->SetSizeConstraint(x, y, w, h);
-}
-	
-EWXWEXPORT(void,wxWindow_MoveConstraint)(wxWindow* self,int x,int y)
-{
-	self->MoveConstraint(x, y);
-}
-	
-EWXWEXPORT(void,wxWindow_GetSizeConstraint)(wxWindow* self,int* w,int* h)
-{
-	self->GetSizeConstraint(w, h);
-}
-	
-EWXWEXPORT(void,wxWindow_GetClientSizeConstraint)(wxWindow* self,int* w,int* h)
-{
-	self->GetClientSizeConstraint(w, h);
-}
-	
-EWXWEXPORT(void,wxWindow_GetPositionConstraint)(wxWindow* self,int* x,int* y)
-{
-	self->GetPositionConstraint(x, y);
-}
-	
-EWXWEXPORT(void,wxWindow_SetSizer)(wxWindow* self,wxSizer* sizer)
-{
-	self->SetSizer(sizer);
-}
-	
-EWXWEXPORT(void*,wxWindow_GetSizer)(wxWindow* self)
-{
-	return (void*)self->GetSizer();
-}
-	
-EWXWEXPORT(void*,wxWindow_GetHandle)(wxWindow* self)
-{
-	return (void*)self->GetHandle();
-}
-	
-EWXWEXPORT(void,wxWindow_SetScrollbar)(wxWindow* self,int orient,int pos,int thumbVisible,int range,bool refresh)
-{
-	self->SetScrollbar(orient, pos, thumbVisible, range, refresh);
-}
-
-EWXWEXPORT(bool,wxWindow_Reparent)(wxWindow* self,wxWindow* _par)
-{
-	return self->Reparent(_par);
-}
-
-#if (wxVERSION_NUMBER < 2800)
-EWXWEXPORT(wxSize*,wxWindow_GetAdjustedBestSize)(wxWindow* self)
-{
-	wxSize* sz = new wxSize();
-	*sz = self->GetAdjustedBestSize();
-	return sz;
-}
-#else
-EWXWEXPORT(wxSize*,wxWindow_GetEffectiveMinSize)(wxWindow* self)
-{
-	wxSize* sz = new wxSize();
-	*sz = self->GetEffectiveMinSize();
-	return sz;
-}
-#endif
-
-EWXWEXPORT(void,wxWindow_Freeze)(wxWindow* self)
-{
-	self->Freeze();
-}
-
-EWXWEXPORT(void,wxWindow_Thaw)(wxWindow* self)
-{
-	self->Thaw();
-}
-
-#if (wxVERSION_NUMBER >= 2800)
-EWXWEXPORT(wxPoint*,wxWindow_ClientToScreen)(wxWindow* self,int x,int y)
-{
-	const wxPoint pos(x, y);
-	wxPoint* pt = new wxPoint();
-	*pt = self->ClientToScreen(pos);
-	return pt;
-}
-
-EWXWEXPORT(void,wxWindow_FitInside)(wxWindow* self)
-{
-	self->FitInside();
-}
-
-EWXWEXPORT(void,wxWindow_SetVirtualSize)(wxWindow* self,int w,int h)
-{
-	self->SetVirtualSize( w, h );
-}
-
-EWXWEXPORT(wxSize*,wxWindow_GetVirtualSize)(wxWindow* self)
-{
-	wxSize* sz = new wxSize();
-	*sz = self->GetVirtualSize();
-	return sz;
-}
-
-#endif
-}
− src/cpp/eljwizard.cpp
@@ -1,79 +0,0 @@-#include "wrapper.h"
-
-extern "C"
-{
-
-EWXWEXPORT(void*,wxWizard_Create)(wxWindow* _prt,int _id,wxString* _txt,wxBitmap* _bmp,int _lft,int _top,int _wdt,int _hgt)
-{
-	wxBitmap bmp = wxNullBitmap;
-	if (_bmp) bmp = *_bmp;
-#if wxVERSION_NUMBER >= 2400
-	return (void*)new wxWizard (_prt, _id,*_txt, bmp, wxPoint(_lft, _top));
-#else
-	return (void*)wxWizard::Create (_prt, _id,*_txt, bmp, wxPoint(_lft, _top), wxSize(_wdt, _hgt));
-#endif
-}
-
-EWXWEXPORT(bool,wxWizard_RunWizard)(wxWizard* self,wxWizardPage* firstPage)
-{
-	return self->RunWizard(firstPage);
-}
-	
-EWXWEXPORT(void*,wxWizard_GetCurrentPage)(wxWizard* self)
-{
-	return (void*)self->GetCurrentPage();
-}
-	
-EWXWEXPORT(void,wxWizard_Chain)(void* f,void* s)
-{
-	wxWizardPageSimple::Chain((wxWizardPageSimple*)f, (wxWizardPageSimple*)s);
-}
-	
-EWXWEXPORT(void,wxWizard_SetPageSize)(wxWizard* self,int w,int h)
-{
-	self->SetPageSize(wxSize(w, h));
-}
-	
-EWXWEXPORT(wxSize*,wxWizard_GetPageSize)(wxWizard* self)
-{
-	wxSize* sz = new wxSize();
-	*sz = self->GetPageSize();
-	return sz;
-}
-	
-EWXWEXPORT(void*,wxWizardPageSimple_Create)(wxWizard* _prt)
-{
-	return (void*)new wxWizardPageSimple(_prt);
-}
-
-EWXWEXPORT(void*,wxWizardPageSimple_GetPrev)(void* self)
-{
-	return (void*)((wxWizardPageSimple*)self)->GetPrev();
-}
-	
-EWXWEXPORT(void*,wxWizardPageSimple_GetNext)(void* self)
-{
-	return (void*)((wxWizardPageSimple*)self)->GetNext();
-}
-	
-EWXWEXPORT(void,wxWizardPageSimple_GetBitmap)(void* self,wxBitmap* _ref)
-{
-	*_ref = ((wxWizardPageSimple*)self)->GetBitmap();
-}
-	
-EWXWEXPORT(void,wxWizardPageSimple_SetPrev)(void* self,void* prev)
-{
-	((wxWizardPageSimple*)self)->SetPrev((wxWizardPage*)prev);
-}
-	
-EWXWEXPORT(void,wxWizardPageSimple_SetNext)(void* self,void* next)
-{
-	((wxWizardPageSimple*)self)->SetNext((wxWizardPage*)next);
-}
-
-EWXWEXPORT(bool,wxWizardEvent_GetDirection)(wxWizardEvent* self)
-{
-	return self->GetDirection();
-}
-	
-}
− src/cpp/ewxw_main.cpp
@@ -1,141 +0,0 @@-#include "wrapper.h"--#if wxUSE_ODBC-#include "wx/db.h"-#endif--extern int APPTerminating;---#ifdef _WIN32--#if (defined(__WXDEBUG__) && defined(_MSC_VER))- #include <crtdbg.h>-#endif--#include <windows.h>--#if wxCHECK_VERSION(2,5,0)- #define wxHANDLE  HINSTANCE- extern int wxEntry(wxHANDLE hInstance, wxHANDLE hPrevInstance, char *pCmdLine, int nCmdShow);-#else- #define wxHANDLE  WXHINSTANCE-#endif---extern "C"-{-EWXWEXPORT(void, ELJApp_InitializeC) (wxClosure* closure, int _argc, char** _argv)-{-  wxHANDLE wxhInstance = GetModuleHandle(NULL);---/* check memory leaks with visual C++ */-#if (defined(__WXDEBUG__) && defined(_MSC_VER))-  _CrtMemState memStart,memEnd,memDif;-  _CrtMemCheckpoint( &memStart );-  _CrtSetReportMode( _CRT_WARN, _CRTDBG_MODE_FILE );-  _CrtSetReportFile( _CRT_WARN, _CRTDBG_FILE_STDOUT );-  _CrtSetReportMode( _CRT_ERROR, _CRTDBG_MODE_FILE );-  _CrtSetReportFile( _CRT_ERROR, _CRTDBG_FILE_STDOUT );-  _CrtSetReportMode( _CRT_ASSERT, _CRTDBG_MODE_FILE );-  _CrtSetReportFile( _CRT_ASSERT, _CRTDBG_FILE_STDOUT );-#endif--  initClosure = closure;-  APPTerminating = 0;-  wxEntry(wxhInstance, NULL, (_argc > 0 ? _argv[0] : NULL), SW_SHOWNORMAL);-  APPTerminating = 1;--  /* wxPendingEvents is deleted but not set to NULL -> disaster when restarted from an interpreter */-#if !defined(WXMAKINGDLL) && !defined(WXUSINGDLL)-  wxPendingEvents = NULL;-#endif--#if defined(wxUSE_ODBC) && (wxUSE_ODBC != 0)-  wxDbCloseConnections();-#endif--/* check memory leaks with visual C++ */-#if (defined(__WXDEBUG__) && defined(_MSC_VER))-  _CrtMemCheckpoint( &memEnd );-  if (_CrtMemDifference( &memDif, &memStart, &memEnd)-     && (memDif.lCounts[_NORMAL_BLOCK]>=-2 && memDif.lCounts[_NORMAL_BLOCK] <= 0))-  {-    _RPT0(_CRT_WARN,"\n** memory leak detected (**\n" );-    _CrtMemDumpStatistics(&memDif);-    /* _CrtMemDumpAllObjectsSince(&memStart);  */-    _RPT0(_CRT_WARN,"** memory leak report done **\n\n" );--  }-#endif-}--EWXWEXPORT(void, ELJApp_initialize)(void* _obj, AppInitFunc _func, char* _cmd, void* _inst)-{-  HINSTANCE wxhInstance = (HINSTANCE)_inst;-  APPTerminating = 0;-  wxEntry(wxhInstance, NULL, _cmd, SW_SHOWNORMAL);-  APPTerminating = 1;-  /* wxPendingEvents is deleted but not set to NULL -> disaster when restarted from an interpreter */-#if !defined(WXMAKINGDLL) && !defined(WXUSINGDLL)-  wxPendingEvents = NULL;-#endif-#if defined(wxUSE_ODBC) && (wxUSE_ODBC != 0)-  wxDbCloseConnections();-#endif-}--}--#else  /* not WIN32 */--#if !wxCHECK_VERSION(2,5,0)-#ifdef __WXMAC__ /* declare wxEntry explicitly as wxMAC seems to leave it out? */-void wxEntry( int argc, char** argv, bool enterLoop = true );-#endif-#ifdef __WXGTK__ /* declare explicitly or we get link errors? */-int wxEntry( int argc, char** argv );-#endif-#endif-extern "C"-{--EWXWEXPORT(void, ELJApp_InitializeC) (wxClosure* closure, int _argc, char** _argv)-{-  char* args[] = { "wxc", NULL };--  initClosure = closure;-  if (_argv == NULL) {-    /* note: wxGTK crashes when argv == NULL */-    _argv = args;-    _argc = 1;-  }-  APPTerminating = 0;-  wxEntry(_argc,_argv);-  APPTerminating = 1;-  /* wxPendingEvents is deleted but not set to NULL -> disaster when restarted from an interpreter */-#if !defined(WXMAKINGDLL) && !defined(WXUSINGDLL)-  wxPendingEvents = NULL;-#endif-#if defined(wxUSE_ODBC) && (wxUSE_ODBC != 0)-  wxDbCloseConnections();-#endif-}--EWXWEXPORT(void, ELJApp_initialize) (void* _obj, AppInitFunc _func, int _argc, void* _argv)-{-  APPTerminating = 0;-  wxEntry(_argc, (char**)_argv);-  APPTerminating = 1;-  /* wxPendingEvents is deleted but not set to NULL -> disaster when restarted from an interpreter */-#if !defined(WXMAKINGDLL) && !defined(WXUSINGDLL)-  wxPendingEvents = NULL;-#endif-#if defined(wxUSE_ODBC) && (wxUSE_ODBC != 0)-  wxDbCloseConnections();-#endif-}--}-#endif
− src/cpp/extra.cpp
@@ -1,2492 +0,0 @@-#include "wrapper.h"-#include "wx/process.h"-#include "wx/textctrl.h"-#include "wx/progdlg.h"-#include "wx/listctrl.h"-#include "wx/grid.h"-#include "wx/fileconf.h"-#include "wx/spinctrl.h"--#if (wxVERSION_NUMBER >= 2800)-#include <wx/numdlg.h>-#include <wx/power.h>-#endif--/*------------------------------------------------------------------------------  new events------------------------------------------------------------------------------*/-BEGIN_DECLARE_EVENT_TYPES()-    DECLARE_LOCAL_EVENT_TYPE(wxEVT_DELETE, 1000)-    DECLARE_LOCAL_EVENT_TYPE(wxEVT_HTML_CELL_CLICKED, 1001 )-    DECLARE_LOCAL_EVENT_TYPE(wxEVT_HTML_CELL_MOUSE_HOVER, 1002 )-    DECLARE_LOCAL_EVENT_TYPE(wxEVT_HTML_LINK_CLICKED, 1003 )-    DECLARE_LOCAL_EVENT_TYPE(wxEVT_HTML_SET_TITLE, 1004 )-    DECLARE_LOCAL_EVENT_TYPE(wxEVT_INPUT_SINK, 1005 )-    DECLARE_LOCAL_EVENT_TYPE(wxEVT_SORT, 1006 )-END_DECLARE_EVENT_TYPES()---DEFINE_LOCAL_EVENT_TYPE( wxEVT_DELETE )-DEFINE_LOCAL_EVENT_TYPE( wxEVT_HTML_CELL_CLICKED )-DEFINE_LOCAL_EVENT_TYPE( wxEVT_HTML_CELL_MOUSE_HOVER )-DEFINE_LOCAL_EVENT_TYPE( wxEVT_HTML_LINK_CLICKED )-DEFINE_LOCAL_EVENT_TYPE( wxEVT_HTML_SET_TITLE )-DEFINE_LOCAL_EVENT_TYPE( wxEVT_INPUT_SINK )-DEFINE_LOCAL_EVENT_TYPE( wxEVT_SORT )--/*------------------------------------------------------------------------------  event exports------------------------------------------------------------------------------*/-extern "C"-{--EWXWEXPORT(int,expEVT_DELETE)()-{-  return (int)wxEVT_DELETE;-}--EWXWEXPORT(int,expEVT_HTML_CELL_CLICKED)()-{-  return (int)wxEVT_HTML_CELL_CLICKED;-}--EWXWEXPORT(int,expEVT_HTML_CELL_MOUSE_HOVER)()-{-  return (int)wxEVT_HTML_CELL_MOUSE_HOVER;-}--EWXWEXPORT(int,expEVT_HTML_LINK_CLICKED)()-{-  return (int)wxEVT_HTML_LINK_CLICKED;-}---EWXWEXPORT(int,expEVT_HTML_SET_TITLE)()-{-  return (int)wxEVT_HTML_SET_TITLE;-}---EWXWEXPORT(int,expEVT_INPUT_SINK)()-{-  return (int)wxEVT_INPUT_SINK;-}---EWXWEXPORT(int,expEVT_SORT)()-{-  return (int)wxEVT_SORT;-}--/* list control */-EWXWEXPORT(int,expEVT_COMMAND_LIST_CACHE_HINT)()-{-  return (int)wxEVT_COMMAND_LIST_CACHE_HINT;-}--EWXWEXPORT(int,expEVT_COMMAND_LIST_COL_RIGHT_CLICK)()-{-  return (int)wxEVT_COMMAND_LIST_COL_RIGHT_CLICK;-}--EWXWEXPORT(int,expEVT_COMMAND_LIST_COL_BEGIN_DRAG)()-{-  return (int)wxEVT_COMMAND_LIST_COL_BEGIN_DRAG;-}--EWXWEXPORT(int,expEVT_COMMAND_LIST_COL_DRAGGING)()-{-  return (int)wxEVT_COMMAND_LIST_COL_DRAGGING;-}--EWXWEXPORT(int,expEVT_COMMAND_LIST_COL_END_DRAG)()-{-  return (int)wxEVT_COMMAND_LIST_COL_END_DRAG;-}--} /* extern "C" */---/*------------------------------------------------------------------------------  Timers------------------------------------------------------------------------------*/-class wxTimerEx : public wxTimer-{-private:-  wxClosure* m_closure;-public:-  wxTimerEx();-  ~wxTimerEx();--  void     Connect( wxClosure* closure );-  wxClosure* GetClosure();--  void Notify();-};--wxTimerEx::wxTimerEx()-{-  m_closure = NULL;-}--wxTimerEx::~wxTimerEx()-{-  if (m_closure) {-    m_closure->DecRef();-    m_closure=NULL;-  }-}--void wxTimerEx::Connect( wxClosure* closure )-{-  if (m_closure) m_closure->DecRef();-  m_closure = closure;-  if (m_closure) m_closure->IncRef();-}--wxClosure* wxTimerEx::GetClosure()-{-  return m_closure;-}--void wxTimerEx::Notify()-{-  wxTimerEvent timerEvent(0,this->GetInterval());-  if (m_closure) m_closure->Invoke(&timerEvent);-}--/*------------------------------------------------------------------------------  wxInputSink wrapper: adds non-blocking event driven input channel------------------------------------------------------------------------------*/-class wxInputSink;--class wxInputSinkEvent : public wxEvent-{-private:-  char*         m_buffer;-  size_t        m_bufferLen;-  size_t        m_lastRead;-  wxStreamError m_lastError;--  void Read( wxInputStream* input );-  friend class wxInputSink;--public:-  wxInputSinkEvent( int id, size_t bufferLen );-  wxInputSinkEvent( const wxInputSinkEvent& event );  /* copy constructor */-  ~wxInputSinkEvent();--  wxEvent* Clone() const          { return new wxInputSinkEvent(*this); }--  wxStreamError LastError() const { return m_lastError; }-  int           LastRead()  const { return m_lastRead; }-  char*         LastInput() const { return m_buffer;   }-};--class wxInputSink : public wxThread-{-private:-  wxEvtHandler*    m_evtHandler;-  wxInputStream*   m_input;-  wxInputSinkEvent m_event;--protected:-  ExitCode Entry();--public:-  wxInputSink( wxInputStream* input, wxEvtHandler* evtHandler, int bufferLen );-  ~wxInputSink();--  intptr_t GetId();-  void Start();-};---wxInputSink::wxInputSink( wxInputStream* input, wxEvtHandler* evtHandler, int bufferLen )-  : wxThread(wxTHREAD_DETACHED), m_event( 0, bufferLen )-{-  m_input      = input;-  m_evtHandler = evtHandler;-}--wxInputSink::~wxInputSink()-{-/* fprintf(stderr, "InputSink is deleted\n"); */-}--void wxInputSink::Start()-{-  wxThreadError result = Create();-  switch(result) {-    case wxTHREAD_NO_ERROR:  Run(); break;-    case wxTHREAD_RUNNING :  break;-    default               :  Delete(); break;-  }-}--intptr_t wxInputSink::GetId()-{-  return (intptr_t)m_input;-}--wxThread::ExitCode wxInputSink::Entry()-{-  if (m_input == NULL || m_evtHandler == NULL || m_event.m_buffer == NULL ) return 0;--  m_event.SetId(GetId());--  /* while input && not external destroy */-  while (!TestDestroy() && m_event.LastError() == wxSTREAM_NO_ERROR)-  {-     /* (blocking) read */-     m_event.Read( m_input );--     /* post the event to the main gui thread (note: event is cloned and thus the input buffer copied)*/-     m_evtHandler->AddPendingEvent(m_event);-  }--  /* Process pending events */-  wxWakeUpIdle();--  /* return */-  if (m_event.LastError() == wxSTREAM_NO_ERROR || m_event.LastError() == wxSTREAM_EOF)-     return (ExitCode)0;-  else-     return (ExitCode)1;-}---wxInputSinkEvent::wxInputSinkEvent( int id, size_t bufferLen ) : wxEvent( id, wxEVT_INPUT_SINK  )-{-  m_lastError = wxSTREAM_NO_ERROR;-  m_lastRead  = 0;-  if (bufferLen <= 0) bufferLen = 128;-  m_buffer    = (char*)malloc( bufferLen + 1 );-  m_bufferLen = (m_buffer ? bufferLen : 0);-}--wxInputSinkEvent::wxInputSinkEvent( const wxInputSinkEvent& event ) : wxEvent( event )-{-  /* we copy only the exact input buffer, as 'Read' will never be called */-  m_lastError = event.m_lastError;-  m_bufferLen = 0;-  m_lastRead  = 0;-  m_buffer    = (char*)malloc( event.m_lastRead + 1 );-  if (m_buffer) {-    m_bufferLen = event.m_lastRead;-    m_lastRead  = event.m_lastRead;-    memcpy( m_buffer, event.m_buffer, m_lastRead );-    m_buffer[m_lastRead] = 0;-  }-}--wxInputSinkEvent::~wxInputSinkEvent()-{-  if (m_buffer) free(m_buffer);-}--void wxInputSinkEvent::Read( wxInputStream* input )-{-  /* check */-  if (input == NULL || m_buffer == NULL || m_bufferLen == 0) {-    m_lastError = wxSTREAM_READ_ERROR;-    m_lastRead  = 0;-    return;-  }--  /* read */-  input->Read( m_buffer, m_bufferLen );-#if wxCHECK_VERSION(2,5,0)-  m_lastError = input->GetLastError();-#else-  m_lastError = input->LastError();-#endif-  if (m_lastError == wxSTREAM_NO_ERROR)-    m_lastRead  = input->LastRead();-  else-    m_lastRead  = 0;---  /* maintain invariants */-  if (m_lastRead < 0)           m_lastRead = 0;-  if (m_lastRead > m_bufferLen) m_lastRead = m_bufferLen;--  /* add zero terminator */-  m_buffer[m_lastRead] = 0;-}---/*------------------------------------------------------------------------------  wxHtmlWindow wrapper: adds normal events instead of using inheritance------------------------------------------------------------------------------*/-class wxcHtmlWindow : public wxHtmlWindow-{-private:-    DECLARE_DYNAMIC_CLASS(wxcHtmlWindow)-public:-    wxcHtmlWindow() : wxHtmlWindow() {};   wxcHtmlWindow(wxWindow *, wxWindowID id, const wxPoint&, const wxSize& size, long style, const wxString& );--#if (wxVERSION_NUMBER <= 2800)-   void OnCellClicked(wxHtmlCell *cell, wxCoord x, wxCoord y, const wxMouseEvent& event);-#else-   bool OnCellClicked(wxHtmlCell *cell, wxCoord x, wxCoord y, const wxMouseEvent& event);-#endif-   void OnCellMouseHover(wxHtmlCell *cell, wxCoord x, wxCoord y);-   void OnLinkClicked(const wxHtmlLinkInfo& link);-   wxHtmlOpeningStatus OnOpeningURL(wxHtmlURLType type,const wxString& url, wxString *redirect);-   void OnSetTitle(const wxString& title);-};--IMPLEMENT_DYNAMIC_CLASS(wxcHtmlWindow, wxHtmlWindow)--class wxcHtmlEvent : public wxCommandEvent-{-private:-    DECLARE_DYNAMIC_CLASS(wxcHtmlEvent)-private:-    const wxMouseEvent*     m_mouseEvent;-    const wxHtmlCell*       m_htmlCell;-    const wxHtmlLinkInfo*   m_linkInfo;-    wxPoint                 m_logicalPosition;--public:-    wxcHtmlEvent() : wxCommandEvent() {};-    wxcHtmlEvent( wxEventType commandType, int id, const wxMouseEvent* mouseEvent, const wxHtmlCell* htmlCell, const wxHtmlLinkInfo* linkInfo, wxPoint logicalPoint );-    const wxMouseEvent* GetMouseEvent();-    const wxHtmlCell *  GetHtmlCell();-    wxString*           GetHtmlCellId();-    wxString*           GetHref();-    wxString*           GetTarget();-    wxPoint             GetLogicalPosition();-};--IMPLEMENT_DYNAMIC_CLASS(wxcHtmlEvent, wxCommandEvent)--wxcHtmlWindow::wxcHtmlWindow(wxWindow * prt, wxWindowID id, const wxPoint& pt, const wxSize& size, long style, const wxString& title )-: wxHtmlWindow( prt, id, pt, size, style, title )-{}--#if (wxVERSION_NUMBER < 2800)-void wxcHtmlWindow::OnCellClicked(wxHtmlCell *cell, wxCoord x, wxCoord y, const wxMouseEvent& event)-#else-bool wxcHtmlWindow::OnCellClicked(wxHtmlCell *cell, wxCoord x, wxCoord y, const wxMouseEvent& event)-#endif-{-    wxHtmlLinkInfo* linkPtr;-#if (wxVERSION_NUMBER < 2800)-    if (cell==NULL) return;-#else-    if (cell==NULL) return false;-#endif--    linkPtr = cell->GetLink(x, y);-    if (linkPtr != NULL)-    {-        wxHtmlLinkInfo link(*linkPtr);-        link.SetEvent(&event);-        link.SetHtmlCell(cell);-        {-          wxcHtmlEvent htmlEvent( wxEVT_HTML_LINK_CLICKED, this->GetId(), &event, cell, &link, wxPoint(x,y) );-          this->ProcessEvent( htmlEvent );-        }-    }-    else-    {-      wxcHtmlEvent htmlEvent( wxEVT_HTML_CELL_CLICKED, this->GetId(), &event, cell, NULL, wxPoint(x,y) );-      this->ProcessEvent( htmlEvent );-    }-#if (wxVERSION_NUMBER >= 2800)-    return true;-#endif-}--void wxcHtmlWindow::OnCellMouseHover(wxHtmlCell *cell, wxCoord x, wxCoord y)-{-    wxcHtmlEvent htmlEvent( wxEVT_HTML_CELL_MOUSE_HOVER, this->GetId(), NULL, cell, NULL, wxPoint(x,y) );-    this->ProcessEvent( htmlEvent );-}--void wxcHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo& link)-{-    wxcHtmlEvent htmlEvent( wxEVT_HTML_LINK_CLICKED, this->GetId(), link.GetEvent(), link.GetHtmlCell(), &link, wxPoint(-1,-1) );-    this->ProcessEvent( htmlEvent );-}--void wxcHtmlWindow::OnSetTitle(const wxString& title)-{-    wxcHtmlEvent htmlEvent( wxEVT_HTML_SET_TITLE, this->GetId(), NULL, NULL, NULL, wxPoint(-1,-1) );-    htmlEvent.SetString( title );-    this->ProcessEvent( htmlEvent );-}---wxcHtmlEvent::wxcHtmlEvent( wxEventType commandType, int id, const wxMouseEvent* mouseEvent, const wxHtmlCell* htmlCell, const wxHtmlLinkInfo* linkInfo, wxPoint logicalPoint )-: wxCommandEvent( commandType, id )-{-    m_mouseEvent = mouseEvent;-    m_htmlCell = htmlCell;-    m_linkInfo = linkInfo;-    m_logicalPosition = logicalPoint;-}--const wxMouseEvent* wxcHtmlEvent::GetMouseEvent()-{-    return m_mouseEvent;-}--const wxHtmlCell *  wxcHtmlEvent::GetHtmlCell()-{-    return m_htmlCell;-}--wxString* wxcHtmlEvent::GetHtmlCellId()-{-    if (m_htmlCell)-        return new wxString(m_htmlCell->GetId());-    else-        return new wxString(wxT(""));-}--wxString* wxcHtmlEvent::GetHref()-{-    if (m_linkInfo)-        return new wxString(m_linkInfo->GetHref());-    else-        return new wxString(wxT(""));-}--wxString* wxcHtmlEvent::GetTarget()-{-    if (m_linkInfo)-        return new wxString (m_linkInfo->GetTarget());-    else-        return new wxString(wxT(""));-}--wxPoint wxcHtmlEvent::GetLogicalPosition()-{-    return m_logicalPosition;-}--/*------------------------------------------------------------------------------  wxGridCellTextEnterEditor------------------------------------------------------------------------------*/-class wxGridCellTextEnterEditor : public wxGridCellTextEditor-{-public:-  wxGridCellTextEnterEditor() : wxGridCellTextEditor() {}--  void Create(wxWindow* parent,-                        wxWindowID id,-                        wxEvtHandler* evtHandler);--};--void wxGridCellTextEnterEditor::Create(wxWindow* parent,-                                       wxWindowID id,-                                       wxEvtHandler* evtHandler)-{-    wxGridCellTextEditor::Create(parent, id, evtHandler);-    -    {-      long style = m_control->GetWindowStyle();-      m_control->SetWindowStyle( style | wxTE_PROCESS_ENTER );-    }-}---/*------------------------------------------------------------------------------  pre processor definitions------------------------------------------------------------------------------*/-static const wxChar* defineDefs[] = {-#ifdef __WINDOWS__-  wxT("__WINDOWS__"),-#endif // any Windows, yom may also use-#ifdef __WIN16__-  wxT("__WIN16__"),-#endif // Win16 API-#ifdef __WIN32__-  wxT("__WIN32__"),-#endif // Win32 API-#ifdef __WIN95__-  wxT("__WIN95__"),-#endif // Windows 95 or NT 4.0 and above system (not NT 3.5x)-#ifdef __WXGTK__-  wxT("__WXGTK__"),-#endif // GTK-#ifdef __WXGTK12__-  wxT("__WXGTK12__"),-#endif // GTK 1.2 or higher-#ifdef __WXGTK20__-  wxT("__WXGTK20__"),-#endif // GTK 2.0 or higher-#ifdef __WXMOTIF__-  wxT("__WXMOTIF__"),-#endif // Motif-#ifdef __WXMAC__-  wxT("__WXMAC__"),-#endif // MacOS-#ifdef __WXMGL__-  wxT("__WXMGL__"),-#endif // SciTech Soft MGL-#ifdef __WXUNIVERSAL__-  wxT("__WXUNIVERSAL__"),-#endif //will be also defined)-#ifdef __WXMSW__-  wxT("__WXMSW__"),-#endif // Any Windows-#ifdef __WXOS2__-  wxT("__WXOS2__"),-#endif // OS/2 native Presentation Manager-#ifdef __WXPM__-  wxT("__WXPM__"),-#endif // OS/2 native Presentation Manager-#ifdef __WXSTUBS__-  wxT("__WXSTUBS__"),-#endif // Stubbed version ('template' wxWin implementation)-#ifdef __WXXT__-  wxT("__WXXT__"),-#endif // Xt; mutually exclusive with WX_MOTIF, not implemented in wxWindows 2.x-// wxX11-#ifdef __WXX11__-  wxT("__WXX11__"),-#endif-#ifdef __WXUNIVERSAL__-  wxT("__WXUNIVERSAL__"),-#endif //will be also defined)-#ifdef __WXWINE__-  wxT("__WXWINE__"),-#endif // WINE (i.e. Win32 on Unix)-#ifdef __WXUNIVERSAL__-  wxT("__WXUNIVERSAL__"),-#endif // wxUniversal port, always defined in addition to one of the symbols above so this should be tested first.-#ifdef __X__-  wxT("__X__"),-#endif // any X11-based GUI toolkit except GTK+--// any Mac OS version-#ifdef __APPLE__-  wxT("__APPLE__"),-#endif-// AIX-#ifdef __AIX__-  wxT("__AIX__"),-#endif-// Any BSD-#ifdef __BSD__-  wxT("__BSD__"),-#endif-// Cygwin: Unix on Win32-#ifdef __CYGWIN__-  wxT("__CYGWIN__"),-#endif-// Mac OS X-#ifdef __DARWIN__-  wxT("__DARWIN__"),-#endif-#ifdef ____DATA_GENERAL____-  wxT("__DATA_GENERAL__"),-#endif-// DOS (used with wxMGL only)-#ifdef __DOS_GENERAL__-  wxT("__DOS_GENERAL__"),-#endif-// FreeBSD-#ifdef __FREEBSD__-  wxT("__FREEBSD__"),-#endif-// HP-UX (Unix)-#ifdef ____HPUX____-  wxT("__HPUX__"),-#endif-// Linux-#ifdef __LINUX__-  wxT("__LINUX__"),-#endif-// OSF/1-#ifdef __OSF__-  wxT("__OSF__"),-#endif-// IRIX-#ifdef __SGI__-  wxT("__SGI__"),-#endif-// Solaris-#ifdef __SOLARIS__-  wxT("__SOLARIS__"),-#endif-// Any Sun-#ifdef __SUN__-  wxT("__SUN__"),-#endif-// Sun OS-#ifdef __SUNOS__-  wxT("__SUNOS__"),-#endif-// SystemV R4-#ifdef __SVR4__-  wxT("__SVR4__"),-#endif-// SystemV generic-#ifdef __SYSV__-  wxT("__SYSV__"),-#endif-// Ultrix-#ifdef __ULTRIX__-  wxT("__ULTRIX__"),-#endif-// any Unix-#ifdef __UNIX__-  wxT("__UNIX__"),-#endif-// Unix, BeOS or VMS-#ifdef __UNIX_LIKE__-  wxT("__UNIX_LIKE__"),-#endif-// VMS-#ifdef __VMS__-  wxT("__VMS__"),-#endif-// any Windows-#ifdef __WINDOWS__-  wxT("__WINDOWS__"),-#endif--// DEC Alpha architecture-#ifdef __ALPHA__-  wxT("__ALPHA__"),-#endif-// Intel i386 or compatible-#ifdef __INTEL__-  wxT("__INTEL__"),-#endif-// Motorola Power PC-#ifdef __POWERPC__-  wxT("__POWERPC__"),-#endif--// Borland C++-#ifdef __BORLANDC__-  wxT("__BORLANDC__"),-#endif-// DJGPP-#ifdef __DJGPP__-  wxT("__DJGPP__"),-#endif-// Gnu C++ on any platform-#ifdef __GNUG__-  wxT("__GNUG__"),-#endif-// GnuWin32 compiler-#ifdef __GNUWIN32__-  wxT("__GNUWIN32__"),-#endif-// CodeWarrior MetroWerks compiler-#ifdef __MWERKS__-  wxT("__MWERKS__"),-#endif-// Sun CC-#ifdef __SUNCC__-  wxT("__SUNCC__"),-#endif-// Symantec C++-#ifdef __SYMANTECC__-  wxT("__SYMANTECC__"),-#endif-// IBM Visual Age (OS/2)-#ifdef __VISAGECPP__-  wxT("__VISAGECPP__"),-#endif-// Microsoft Visual C++-#ifdef __VISUALC__-  wxT("__VISUALC__"),-#endif-// AIX compiler-#ifdef __XLC__-  wxT("__XLC__"),-#endif-// Watcom C++-#ifdef __WATCOMC__-  wxT("__WATCOMC__"),-#endif-  NULL-};--static const wxChar* useDefs[] = {-#ifdef wxUSE_UNIX-  wxT("UNIX"),-#endif-#ifdef wxUSE_NANOX-  wxT("NANOX"),-#endif-#ifdef wxUSE_NATIVE_STATUSBAR-  wxT("NATIVE_STATUSBAR"),-#endif-#ifdef wxUSE_OWNER_DRAWN-  wxT("OWNER_DRAWN"),-#endif-#ifdef wxUSE_OWNER_DRAWN-  wxT("OWNER_DRAWN"),-#endif-#ifdef wxUSE_RICHEDIT-  wxT("RICHEDIT"),-#endif-#ifdef wxUSE_RICHEDIT-  wxT("RICHEDIT"),-#endif-#ifdef wxUSE_REGEX-  wxT("REGEX"),-#endif-#ifdef wxUSE_ZLIB-  wxT("ZLIB"),-#endif-#ifdef wxUSE_LIBPNG-  wxT("LIBPNG"),-#endif-#ifdef wxUSE_LIBJPEG-  wxT("LIBJPEG"),-#endif-#ifdef wxUSE_LIBTIFF-  wxT("LIBTIFF"),-#endif-#ifdef wxUSE_ODBC-  wxT("ODBC"),-#endif-#ifdef wxUSE_FREETYPE-  wxT("FREETYPE"),-#endif-#ifdef wxUSE_THREADS-  wxT("THREADS"),-#endif-#if defined(wxcREFUSE_OPENGL)-# undef wxUSE_OPENGL-# undef wxUSE_GLCANVAS-#endif-#ifdef wxUSE_OPENGL-  wxT("OPENGL"),-#endif-#ifdef wxUSE_GLCANVAS-  wxT("GLCANVAS"),-#endif-#ifdef wxUSE_GUI-  wxT("GUI"),-#endif-#ifdef wxUSE_NOGUI-  wxT("NOGUI"),-#endif-#ifdef wxUSE_ON_FATAL_EXCEPTION-  wxT("ON_FATAL_EXCEPTION"),-#endif-#ifdef wxUSE_SNGLINST_CHECKER-  wxT("SNGLINST_CHECKER"),-#endif-#ifdef wxUSE_CONSTRAINTS-  wxT("CONSTRAINTS"),-#endif-#ifdef wxUSE_VALIDATORS-  wxT("VALIDATORS"),-#endif-#ifdef wxUSE_CONTROLS-  wxT("CONTROLS"),-#endif-#ifdef wxUSE_POPUPWIN-  wxT("POPUPWIN"),-#endif-#ifdef wxUSE_TIPWINDOW-  wxT("TIPWINDOW"),-#endif-#ifdef wxUSE_ACCEL-  wxT("ACCEL"),-#endif-#ifdef wxUSE_CALENDARCTRL-  wxT("CALENDARCTRL"),-#endif-#ifdef wxUSE_FILEDLG-  wxT("FILEDLG"),-#endif-#ifdef wxUSE_FINDREPLDLG-  wxT("FINDREPLDLG"),-#endif-#ifdef wxUSE_FONTDLG-  wxT("FONTDLG"),-#endif-#ifdef wxUSE_MIMETYPE-  wxT("MIMETYPE"),-#endif-#ifdef wxUSE_SYSTEM_OPTIONS-  wxT("SYSTEM_OPTIONS"),-#endif-#ifdef wxUSE_MSGDLG-  wxT("MSGDLG"),-#endif-#ifdef wxUSE_NUMBERDLG-  wxT("NUMBERDLG"),-#endif-#ifdef wxUSE_TEXTDLG-  wxT("TEXTDLG"),-#endif-#ifdef wxUSE_STARTUP_TIPS-  wxT("STARTUP_TIPS"),-#endif-#ifdef wxUSE_PROGRESSDLG-  wxT("PROGRESSDLG"),-#endif-#ifdef wxUSE_CHOICEDLG-  wxT("CHOICEDLG"),-#endif-#ifdef wxUSE_COLOURDLG-  wxT("COLOURDLG"),-#endif-#ifdef wxUSE_DIRDLG-  wxT("DIRDLG"),-#endif-#ifdef wxUSE_DRAGIMAGE-  wxT("DRAGIMAGE"),-#endif-#ifdef wxUSE_PROPSHEET-  wxT("PROPSHEET"),-#endif-#ifdef wxUSE_WIZARDDLG-  wxT("WIZARDDLG"),-#endif-#ifdef wxUSE_SPLASH-  wxT("SPLASH"),-#endif-#ifdef wxUSE_JOYSTICK-  wxT("JOYSTICK"),-#endif-#ifdef wxUSE_BUTTON-  wxT("BUTTON"),-#endif-#ifdef wxUSE_CARET-  wxT("CARET"),-#endif-#ifdef wxUSE_BMPBUTTON-  wxT("BMPBUTTON"),-#endif-#ifdef wxUSE_CHECKBOX-  wxT("CHECKBOX"),-#endif-#ifdef wxUSE_CHECKLISTBOX-  wxT("CHECKLISTBOX"),-#endif-#ifdef wxUSE_COMBOBOX-  wxT("COMBOBOX"),-#endif-#ifdef wxUSE_CHOICE-  wxT("CHOICE"),-#endif-#ifdef wxUSE_GAUGE-  wxT("GAUGE"),-#endif-#ifdef wxUSE_GRID-  wxT("GRID"),-#endif-#ifdef wxUSE_NEW_GRID-  wxT("NEW_GRID"),-#endif-#ifdef wxUSE_IMAGLIST-  wxT("IMAGLIST"),-#endif-#ifdef wxUSE_LISTBOX-  wxT("LISTBOX"),-#endif-#ifdef wxUSE_LISTCTRL-  wxT("LISTCTRL"),-#endif-#ifdef wxUSE_MENUS-  wxT("MENUS"),-#endif-#ifdef wxUSE_NOTEBOOK-  wxT("NOTEBOOK"),-#endif-#ifdef wxUSE_RADIOBOX-  wxT("RADIOBOX"),-#endif-#ifdef wxUSE_RADIOBTN-  wxT("RADIOBTN"),-#endif-#ifdef wxUSE_SASH-  wxT("SASH"),-#endif-#ifdef wxUSE_SCROLLBAR-  wxT("SCROLLBAR"),-#endif-#ifdef wxUSE_SLIDER-  wxT("SLIDER"),-#endif-#ifdef wxUSE_SPINBTN-  wxT("SPINBTN"),-#endif-#ifdef wxUSE_SPINCTRL-  wxT("SPINCTRL"),-#endif-#ifdef wxUSE_SPLITTER-  wxT("SPLITTER"),-#endif-#ifdef wxUSE_STATBMP-  wxT("STATBMP"),-#endif-#ifdef wxUSE_STATBOX-  wxT("STATBOX"),-#endif-#ifdef wxUSE_STATLINE-  wxT("STATLINE"),-#endif-#ifdef wxUSE_STATTEXT-  wxT("STATTEXT"),-#endif-#ifdef wxUSE_STATUSBAR-  wxT("STATUSBAR"),-#endif-#ifdef wxUSE_TOGGLEBTN-  wxT("TOGGLEBTN"),-#endif-#ifdef wxUSE_TAB_DIALOG-  wxT("TAB_DIALOG"),-#endif-#ifdef wxUSE_TABDIALOG-  wxT("TABDIALOG"),-#endif-#ifdef wxUSE_TEXTCTRL-  wxT("TEXTCTRL"),-#endif-#ifdef wxUSE_TOOLBAR-  wxT("TOOLBAR"),-#endif-#ifdef wxUSE_TOOLBAR_NATIVE-  wxT("TOOLBAR_NATIVE"),-#endif-#ifdef wxUSE_TOOLBAR_SIMPLE-  wxT("TOOLBAR_SIMPLE"),-#endif-#ifdef wxUSE_BUTTONBAR-  wxT("BUTTONBAR"),-#endif-#ifdef wxUSE_TREELAYOUT-  wxT("TREELAYOUT"),-#endif-#ifdef wxUSE_TREECTRL-  wxT("TREECTRL"),-#endif-#ifdef wxUSE_LONGLONG-  wxT("LONGLONG"),-#endif-#ifdef wxUSE_GEOMETRY-  wxT("GEOMETRY"),-#endif-#ifdef wxUSE_CMDLINE_PARSER-  wxT("CMDLINE_PARSER"),-#endif-#ifdef wxUSE_DATETIME-  wxT("DATETIME"),-#endif-#ifdef wxUSE_FILE-  wxT("FILE"),-#endif-#ifdef wxUSE_FFILE-  wxT("FFILE"),-#endif-#ifdef wxUSE_FSVOLUME-  wxT("FSVOLUME"),-#endif-#ifdef wxUSE_TEXTBUFFER-  wxT("TEXTBUFFER"),-#endif-#ifdef wxUSE_TEXTFILE-  wxT("TEXTFILE"),-#endif-#ifdef wxUSE_LOG-  wxT("LOG"),-#endif-#ifdef wxUSE_LOGWINDOW-  wxT("LOGWINDOW"),-#endif-#ifdef wxUSE_LOGGUI-  wxT("LOGGUI"),-#endif-#ifdef wxUSE_LOG_DIALOG-  wxT("LOG_DIALOG"),-#endif-#ifdef wxUSE_STOPWATCH-  wxT("STOPWATCH"),-#endif-#ifdef wxUSE_TIMEDATE-  wxT("TIMEDATE"),-#endif-#ifdef wxUSE_WAVE-  wxT("WAVE"),-#endif-#ifdef wxUSE_SOUND-  wxT("SOUND"),-#endif-#ifdef wxUSE_CONFIG-  wxT("CONFIG"),-#endif-#ifdef wxUSE_FONTMAP-  wxT("FONTMAP"),-#endif-#ifdef wxUSE_INTL-  wxT("INTL"),-#endif-#ifdef wxUSE_PROTOCOL-  wxT("PROTOCOL"),-#endif-#ifdef wxUSE_PROTOCOL_FILE-  wxT("PROTOCOL_FILE"),-#endif-#ifdef wxUSE_PROTOCOL_FTP-  wxT("PROTOCOL_FTP"),-#endif-#ifdef wxUSE_PROTOCOL_HTTP-  wxT("PROTOCOL_HTTP"),-#endif-#ifdef wxUSE_STREAMS-  wxT("STREAMS"),-#endif-#ifdef wxUSE_SOCKETS-  wxT("SOCKETS"),-#endif-#ifdef wxUSE_DIALUP_MANAGER-  wxT("DIALUP_MANAGER"),-#endif-#ifdef wxUSE_STD_IOSTREAM-  wxT("STD_IOSTREAM"),-#endif-#ifdef wxUSE_DYNLIB_CLASS-  wxT("DYNLIB_CLASS"),-#endif-#ifdef wxUSE_DYNAMIC_LOADER-  wxT("DYNAMIC_LOADER"),-#endif-#ifdef wxUSE_TIMER-  wxT("TIMER"),-#endif-#ifdef wxUSE_AFM_FOR_POSTSCRIPT-  wxT("AFM_FOR_POSTSCRIPT"),-#endif-#ifdef wxUSE_NORMALIZED_PS_FONTS-  wxT("NORMALIZED_PS_FONTS"),-#endif-#ifdef wxUSE_POSTSCRIPT-  wxT("POSTSCRIPT"),-#endif-#ifdef wxUSE_WCHAR_T-  wxT("WCHAR_T"),-#endif-#ifdef wxUSE_UNICODE-  wxT("UNICODE"),-#endif-#ifdef wxUSE_UNICODE_MSLU-  wxT("UNICODE_MSLU"),-#endif-#ifdef wxUSE_URL-  wxT("URL"),-#endif-#ifdef wxUSE_WCSRTOMBS-  wxT("WCSRTOMBS"),-#endif-#ifdef wxUSE_EXPERIMENTAL_-  wxT("EXPERIMENTAL_PRINTF"),-#endif-#ifdef wxUSE_IPC-  wxT("IPC"),-#endif-#ifdef wxUSE_X_RESOURCES-  wxT("X_RESOURCES"),-#endif-#ifdef wxUSE_CLIPBOARD-  wxT("CLIPBOARD"),-#endif-#ifdef wxUSE_DATAOBJ-  wxT("DATAOBJ"),-#endif-#ifdef wxUSE_TOOLTIPS-  wxT("TOOLTIPS"),-#endif-#ifdef wxUSE_DRAG_AND_DROP-  wxT("DRAG_AND_DROP"),-#endif-#ifdef wxUSE_OLE-  wxT("OLE"),-#endif-#ifdef wxUSE_SPLINES-  wxT("SPLINES"),-#endif-#ifdef wxUSE_MDI_ARCHITECTURE-  wxT("MDI_ARCHITECTURE"),-#endif-#ifdef wxUSE_DOC_VIEW_ARCHITECTURE-  wxT("DOC_VIEW_ARCHITECTURE"),-#endif-#ifdef wxUSE_PRINTING_ARCHITECTURE-  wxT("PRINTING_ARCHITECTURE"),-#endif-#ifdef wxUSE_PROLOGIO-  wxT("PROLOGIO"),-#endif-#ifdef wxUSE_RESOURCES-  wxT("RESOURCES"),-#endif-#ifdef wxUSE_WX_RESOURCES-  wxT("WX_RESOURCES"),-#endif-#ifdef wxUSE_HELP-  wxT("HELP"),-#endif-#ifdef wxUSE_WXHTML_HELP-  wxT("WXHTML_HELP"),-#endif-#ifdef wxUSE_MS_HTML_HELP-  wxT("MS_HTML_HELP"),-#endif-#ifdef wxUSE_IOSTREAMH-  wxT("IOSTREAMH"),-#endif-#ifdef wxUSE_APPLE_IEEE-  wxT("APPLE_IEEE"),-#endif-#ifdef wxUSE_MEMORY_TRACING-  wxT("MEMORY_TRACING"),-#endif-#ifdef wxUSE_DEBUG_NEW_ALWAYS-  wxT("DEBUG_NEW_ALWAYS"),-#endif-#ifdef wxUSE_DEBUG_CONTEXT-  wxT("DEBUG_CONTEXT"),-#endif-#ifdef wxUSE_GLOBAL_MEMORY_OPERATORS-  wxT("GLOBAL_MEMORY_OPERATORS"),-#endif-#ifdef wxUSE_SPLINES-  wxT("SPLINES"),-#endif-#ifdef wxUSE_DYNAMIC_CLASSES-  wxT("DYNAMIC_CLASSES"),-#endif-#ifdef wxUSE_METAFILE-  wxT("METAFILE"),-#endif-#ifdef wxUSE_ENH_METAFILE-  wxT("ENH_METAFILE"),-#endif-#ifdef wxUSE_MINIFRAME-  wxT("MINIFRAME"),-#endif-#ifdef wxUSE_HTML-  wxT("HTML"),-#endif-#ifdef wxUSE_FILESYSTEM-  wxT("FILESYSTEM"),-#endif-#ifdef wxUSE_FS_INET-  wxT("FS_INET"),-#endif-#ifdef wxUSE_FS_ZIP-  wxT("FS_ZIP"),-#endif-#ifdef wxUSE_BUSYINFO-  wxT("BUSYINFO"),-#endif-#ifdef wxUSE_ZIPSTREAM-  wxT("ZIPSTREAM"),-#endif-#ifdef wxUSE_PALETTE-  wxT("PALETTE"),-#endif-#ifdef wxUSE_IMAGE-  wxT("IMAGE"),-#endif-#ifdef wxUSE_GIF-  wxT("GIF"),-#endif-#ifdef wxUSE_PCX-  wxT("PCX"),-#endif-#ifdef wxUSE_IFF-  wxT("IFF"),-#endif-#ifdef wxUSE_PNM-  wxT("PNM"),-#endif-#ifdef wxUSE_XPM-  wxT("XPM"),-#endif-#ifdef wxUSE_ICO_CUR-  wxT("ICO_CUR"),-#endif--// detect using optional libraries in the contrib hierarchy.-#ifdef wxUSE_STC-  wxT("STC"),-#endif-  NULL-};---static const wxChar* hasDefs[] = {-#ifdef wxHAS_POWER_EVENTS-  wxT("POWER_EVENTS"),-#endif-#ifdef wxHAS_RADIO_MENU_ITEMS-  wxT("RADIO_MENU_ITEMS"),-#endif-  NULL-};--/*------------------------------------------------------------------------------  EXTERN C------------------------------------------------------------------------------*/-extern "C"-{--/*------------------------------------------------------------------------------  String------------------------------------------------------------------------------*/-typedef char utf8char;--EWXWEXPORT(wxString*,wxString_Create)(wxChar* buffer)-{-  return new wxString(buffer);-}--EWXWEXPORT(wxString*,wxString_CreateUTF8)(utf8char* buffer)-{-  return new wxString (buffer,wxConvUTF8);-}--EWXWEXPORT(wxString*,wxString_CreateLen)(wxChar* buffer,int len)-{-  return new wxString(buffer,len);-}--EWXWEXPORT(void,wxString_Delete)(wxString* s)-{-  delete s;-}--EWXWEXPORT(int,wxString_GetString)(wxString* s,wxChar* buffer)-{-  if (buffer) memcpy (buffer, s->c_str(), s->Length() * sizeof(wxChar));-  return s->Length();-}--EWXWEXPORT(size_t,wxString_Length)(wxString* s)-{-  return s->length();-}--EWXWEXPORT(wxCharBuffer*,wxString_GetUtf8)(wxString* s)-{-  wxCharBuffer *cb = new wxCharBuffer;-  *cb = s->utf8_str();-  return cb;-}--EWXWEXPORT(utf8char*,wxCharBuffer_DataUtf8)(wxCharBuffer* cb)-{-  return (utf8char*)cb->data();-}--EWXWEXPORT(void,wxCharBuffer_Delete)(wxCharBuffer* cb)-{-  delete cb;-}-/*------------------------------------------------------------------------------  Point------------------------------------------------------------------------------*/-EWXWEXPORT(void*,wxPoint_Create)(int x,int y)-{-  return new wxPoint(x,y);-}--EWXWEXPORT(void,wxPoint_Delete)(void* p)-{-  delete (wxPoint*)p;-}--EWXWEXPORT(int,wxPoint_GetX)(void* p)-{-  return ((wxPoint*)p)->x;-}--EWXWEXPORT(int,wxPoint_GetY)(void* p)-{-  return ((wxPoint*)p)->y;-}--EWXWEXPORT(void,wxPoint_SetX)(void* p,int x)-{-  ((wxPoint*)p)->x = x;-}--EWXWEXPORT(void,wxPoint_SetY)(void* p,int y)-{-  ((wxPoint*)p)->y = y;-}--/*------------------------------------------------------------------------------  Size------------------------------------------------------------------------------*/-EWXWEXPORT(void*,wxSize_Create)(int w,int h)-{-  return new wxSize(w,h);-}--EWXWEXPORT(void,wxSize_Delete)(void* s)-{-  delete (wxSize*)s;-}--EWXWEXPORT(int,wxSize_GetWidth)(void* s)-{-  return ((wxSize*)s)->GetWidth();-}--EWXWEXPORT(int,wxSize_GetHeight)(void* s)-{-  return ((wxSize*)s)->GetHeight();-}--EWXWEXPORT(void,wxSize_SetWidth)(wxSize* s,int w)-{-  s->SetWidth(w);-}--EWXWEXPORT(void,wxSize_SetHeight)(wxSize* s,int h)-{-  s->SetHeight(h);-}--/*------------------------------------------------------------------------------  Rect------------------------------------------------------------------------------*/-EWXWEXPORT(void*,wxRect_Create)(int x,int y,int w,int h)-{-  return new wxRect(x,y,w,h);-}--EWXWEXPORT(void,wxRect_Delete)(void* r)-{-  delete (wxRect*)r;-}--EWXWEXPORT(int,wxRect_GetX)(wxRect* r)-{-  return r->GetX();-}--EWXWEXPORT(int,wxRect_GetY)(wxRect* r)-{-  return r->GetY();-}--EWXWEXPORT(int,wxRect_GetWidth)(wxRect* r)-{-  return r->GetWidth();-}--EWXWEXPORT(int,wxRect_GetHeight)(wxRect* r)-{-  return r->GetHeight();-}--EWXWEXPORT(void,wxRect_SetX)(wxRect* r,int x)-{-  r->SetX(x);-}--EWXWEXPORT(void,wxRect_SetY)(wxRect* r,int y)-{-  r->SetY(y);-}--EWXWEXPORT(void,wxRect_SetWidth)(wxRect* r,int w)-{-  r->SetWidth(w);-}--EWXWEXPORT(void,wxRect_SetHeight)(wxRect* r,int h)-{-  r->SetHeight(h);-}--/*------------------------------------------------------------------------------  pre-processor------------------------------------------------------------------------------*/-EWXWEXPORT(int,wxVersionNumber)()-{-  return wxVERSION_NUMBER;-}--EWXWEXPORT(wxString*,wxVersionString)()-{-  return new wxString(wxVERSION_STRING);-}--EWXWEXPORT(int,wxIsDefined)(wxChar* s)-{-  int i;-  if (s==NULL) return 0;-  /* check define */-  for( i=0; defineDefs[i] != NULL; i++ ) {-    if (wxStrcmp(s,defineDefs[i]) == 0) return 1;-  }-  /* check wxUSE_XXX */-  if (wxStrncmp(s,wxT("wxUSE_"),6) == 0) {-    const wxChar* t = s+6;-    for( i=0; useDefs[i] != NULL; i++ ) {-      if (wxStrcmp(t,useDefs[i]) == 0) return 1;-    }-  }-  /* check wxHAS_XXX */-  if (wxStrncmp(s,wxT("wxHAS_"),6) == 0) {-    const wxChar* t = s+6;-    for( i=0; hasDefs[i] != NULL; i++ ) {-      if (wxStrcmp(t,hasDefs[i]) == 0) return 1;-    }-  }-  return 0;-}--EWXWEXPORT(void*,wxcMalloc)(int size)-{-  return malloc(size);-}--EWXWEXPORT(void,wxcFree)(void* p)-{-  if (p!=NULL) free(p);-}--EWXWEXPORT(wxColour*,wxcSystemSettingsGetColour)(int systemColour)-{-   wxColour* colour = new wxColour();-   *colour = wxSystemSettings::GetColour( (wxSystemColour)systemColour );-   return colour;-}--EWXWEXPORT(void,wxcWakeUpIdle)(void)-{-  wxWakeUpIdle();-}--/*------------------------------------------------------------------------------  delete------------------------------------------------------------------------------*/-EWXWEXPORT(void,wxCursor_Delete)(wxCursor* self)-{-  delete self;-}--EWXWEXPORT(void,wxDateTime_Delete)(wxDateTime* self)-{-  delete self;-}--/*------------------------------------------------------------------------------  frame------------------------------------------------------------------------------*/-EWXWEXPORT(wxString*,wxFrame_GetTitle)(wxFrame* self)-{-  wxString *result = new wxString();-  *result = self->GetTitle();-  return result;-}--EWXWEXPORT(void,wxFrame_SetTitle)(wxFrame* self,wxString* _txt)-{-  self->SetTitle(*_txt);-}--EWXWEXPORT(bool,wxFrame_SetShape)(wxFrame* self,wxRegion* region)-{-  return self->SetShape( *region );-}--EWXWEXPORT(bool,wxFrame_ShowFullScreen)(wxFrame* self,bool show,int style)-{-  return self->ShowFullScreen( show, style );-}--EWXWEXPORT(bool,wxFrame_IsFullScreen)(wxFrame* self)-{-  return self->IsFullScreen();-}--EWXWEXPORT(void,wxFrame_Centre)(wxFrame* self,int orientation)-{-  self->Centre();-}---EWXWEXPORT(void,wxNotebook_AssignImageList)(wxNotebook* self,wxImageList* imageList)-{-  self->AssignImageList(imageList);-}--/*------------------------------------------------------------------------------  menu & toolbar------------------------------------------------------------------------------*/-EWXWEXPORT(wxMenuBar*,wxMenu_GetMenuBar)(wxMenu* self)-{-  return self->GetMenuBar();-}---EWXWEXPORT(wxFrame*,wxMenuBar_GetFrame)(wxMenuBar* self)-{-  return self->GetFrame();-}--EWXWEXPORT(void,wxToolBar_AddTool2)(wxToolBar* self,int toolId,wxString* label,wxBitmap* bmp,wxBitmap* bmpDisabled,int itemKind,wxString* shortHelp,wxString* longHelp)-{-  self->AddTool(toolId,*label,*bmp,*bmpDisabled,(wxItemKind)itemKind,*shortHelp,*longHelp,NULL);-}--/*------------------------------------------------------------------------------  listctrl------------------------------------------------------------------------------*/-EWXWEXPORT(int,wxListEvent_GetCacheFrom)(wxListEvent* self)-{-  return self->GetCacheFrom();-}--EWXWEXPORT(int,wxListEvent_GetCacheTo)(wxListEvent* self)-{-  return self->GetCacheTo();-}---EWXWEXPORT(void,wxListCtrl_AssignImageList)(wxListCtrl* self,wxImageList* images,int which)-{-  self->AssignImageList(images,which);-}----EWXWEXPORT(void,wxListCtrl_GetColumn2)(wxListCtrl* self,int col,wxListItem* item)-{-  bool success = self->GetColumn(col,*item);-  if (!success) item->SetId(-1);-}--EWXWEXPORT(void,wxListCtrl_GetItem2)(wxListCtrl* self,wxListItem* info)-{-  bool success = self->GetItem(*info);-  if (!success) info->SetId(-1);-}--EWXWEXPORT(wxPoint*,wxListCtrl_GetItemPosition2)(wxListCtrl* self,int item)-{-	wxPoint* pos = new wxPoint();-	bool success = self->GetItemPosition((long)item, *pos);-	if (success) {-		return pos;-	}-	else {-		delete pos;-		wxPoint* pt = new wxPoint(-1,-1);-		return pt;-	}-}---struct SortData {-  long id;-  wxClosure* closure;-};--int wxCALLBACK sortCallBack( long item1, long item2, long data )-{-  wxClosure* closure = ((SortData*)data)->closure;-  long       id      = ((SortData*)data)->id;--  wxCommandEvent event( wxEVT_SORT, id );-  event.SetInt(item1);-  event.SetExtraLong(item2);-  closure->Invoke(&event);-  return event.GetInt();-}--EWXWEXPORT(bool,wxListCtrl_SortItems2)(wxListCtrl* self,wxClosure* closure)-{-  SortData sortData = { self->GetId(), closure };-  return self->SortItems( sortCallBack, (long)&sortData );-}----/*------------------------------------------------------------------------------  DC------------------------------------------------------------------------------*/-EWXWEXPORT(void,wxDC_GetPixel2)(wxDC* self,int x,int y,wxColour* col)-{-  bool success = self->GetPixel((wxCoord)x, (wxCoord)y, col);-  if (!success) *col = wxNullColour;-}---/*------------------------------------------------------------------------------  Object & static ClassInfo------------------------------------------------------------------------------*/-EWXWEXPORT(bool,wxObject_IsKindOf)(wxObject* self,wxClassInfo* classInfo)-{-  return self->IsKindOf(classInfo);-}--EWXWEXPORT(wxClassInfo*,wxObject_GetClassInfo)(wxObject* self)-{-  return self->GetClassInfo();-}--/* optimize */-EWXWEXPORT(bool,wxObject_IsScrolledWindow)(wxObject* self)-{-  return self->IsKindOf(CLASSINFO(wxScrolledWindow));-}--EWXWEXPORT(void,wxObject_Delete)(wxObject* self)-{-  delete self;-}--/*------------------------------------------------------------------------------  classinfo------------------------------------------------------------------------------*/-EWXWEXPORT(wxClassInfo*,wxClassInfo_FindClass)(wxString* name)-{-  return wxClassInfo::FindClass(*name);-}--EWXWEXPORT(wxString*,wxClassInfo_GetClassNameEx)(wxClassInfo* self)-{-  wxString *result = new wxString();-  *result = self->GetClassName();-  return result;-}--EWXWEXPORT(wxString*,wxClassInfo_GetBaseClassName1)(wxClassInfo* self)-{-  wxString *result = new wxString();-  *result = self->GetBaseClassName1();-  return result;-}--EWXWEXPORT(wxString*,wxClassInfo_GetBaseClassName2)(wxClassInfo* self)-{-  wxString *result = new wxString();-  *result = self->GetBaseClassName2();-  return result;-}--EWXWEXPORT(bool,wxClassInfo_IsKindOfEx)(wxClassInfo* self,wxClassInfo* classInfo)-{-  return self->IsKindOf(classInfo);-}--EWXWEXPORT(int,wxClassInfo_GetSize)(wxClassInfo* self)-{-  return (self)->GetSize();-}--/*------------------------------------------------------------------------------  window------------------------------------------------------------------------------*/-EWXWEXPORT(wxPoint*,wxWindow_ConvertPixelsToDialogEx)(wxWindow* self,int x,int y)-{-	wxPoint* pt = new wxPoint();-	*pt = self->ConvertPixelsToDialog( wxPoint(x, y) );-	return pt;-}--EWXWEXPORT(wxPoint*,wxWindow_ConvertDialogToPixelsEx)(wxWindow* self,int x,int y)-{-	wxPoint* pt = new wxPoint();-	*pt = self->ConvertDialogToPixels( wxPoint(x, y) );-	return pt;-}---EWXWEXPORT(void,wxWindow_SetClientObject)(wxWindow* self,wxClientData* obj)-{-	self->SetClientObject(obj);-}---EWXWEXPORT(wxPoint*,wxWindow_ScreenToClient2)(wxWindow* self,int x,int y)-{-	wxPoint* pt = new wxPoint();-	*pt = self->ScreenToClient( wxPoint(x, y) );-	return pt;-}----EWXWEXPORT(wxPoint*,wxcGetMousePosition)()-{-	wxPoint* pt = new wxPoint();-	*pt = wxGetMousePosition();-	return pt;-}--/*------------------------------------------------------------------------------  scrolledwindow------------------------------------------------------------------------------*/-EWXWEXPORT(void,wxScrolledWindow_SetScrollRate)(wxScrolledWindow* self,int xstep,int ystep)-{-  self->SetScrollRate(xstep,ystep);-}--/*------------------------------------------------------------------------------  mouse------------------------------------------------------------------------------*/-EWXWEXPORT(int,wxMouseEvent_GetWheelDelta)(wxMouseEvent* self)-{-  return self->GetWheelDelta();-}--EWXWEXPORT(int,wxMouseEvent_GetWheelRotation)(wxMouseEvent* self)-{-  return self->GetWheelRotation();-}--EWXWEXPORT(int,wxMouseEvent_GetButton)(wxMouseEvent* self)-{-  return self->GetButton();-}--EWXWEXPORT(int,expEVT_MOUSEWHEEL)()-{-    return (int)wxEVT_MOUSEWHEEL;-}---/*------------------------------------------------------------------------------  DC------------------------------------------------------------------------------*/-EWXWEXPORT(double,wxDC_GetUserScaleX)(wxDC* dc)-{-  double x = 1.0;-  double y = 1.0;-  dc->GetUserScale(&x,&y);-  return x;-}---EWXWEXPORT(double,wxDC_GetUserScaleY)(wxDC* dc)-{-  double x = 1.0;-  double y = 1.0;-  dc->GetUserScale(&x,&y);-  return y;-}---/*------------------------------------------------------------------------------  timers------------------------------------------------------------------------------*/-EWXWEXPORT(wxTimerEx*,wxTimerEx_Create)()-{-  return new wxTimerEx();-}--EWXWEXPORT(void,wxTimerEx_Connect)(wxTimerEx* self,wxClosure* _closure)-{-  self->Connect(_closure);-}--EWXWEXPORT(wxClosure*,wxTimerEx_GetClosure)(wxTimerEx* self)-{-  return self->GetClosure();-}---/*------------------------------------------------------------------------------  menu items------------------------------------------------------------------------------*/-EWXWEXPORT(wxMenuItem*,wxMenuItem_CreateSeparator)()-{-  return new wxMenuItem( NULL, wxID_SEPARATOR, wxT(""), wxT(""), wxITEM_SEPARATOR, NULL );-}---EWXWEXPORT(wxMenuItem*,wxMenuItem_CreateEx)(int id,wxString* text,wxString* helpstr,int itemkind,wxMenu* submenu)-{-  return new wxMenuItem( NULL, id,*text,*helpstr, (wxItemKind)itemkind, submenu );-}---EWXWEXPORT(void,wxMenu_AppendRadioItem)(wxMenu* self,int id,wxString* text,wxString* help)-{-#ifdef wxHAS_RADIO_MENU_ITEMS-  self->AppendRadioItem(id,*text,*help);-#else-  self->AppendCheckItem(id,*text,*help);-#endif-}---/*-------------------------------------------------------------------------------  process-------------------------------------------------------------------------------*/-EWXWEXPORT(bool,wxProcess_IsErrorAvailable)(wxProcess* self)-{-    return self->IsErrorAvailable();-}--EWXWEXPORT(bool,wxProcess_IsInputAvailable)(wxProcess* self)-{-    return self->IsInputAvailable();-}--EWXWEXPORT(bool,wxProcess_IsInputOpened)(wxProcess* self)-{-    return self->IsInputOpened();-}--EWXWEXPORT(wxProcess*,wxProcess_Open)(wxString* cmd,int flags)-{-    return wxProcess::Open( *cmd, ((flags | wxEXEC_ASYNC) & ~wxEXEC_SYNC) );-}--EWXWEXPORT(wxKillError,wxKill)(int pid,wxSignal signal)-{-  return wxProcess::Kill(pid,signal);-}--EWXWEXPORT(void,wxStreamBase_Delete)(wxStreamBase* stream)-{-  if (stream) delete stream;-}--/*-------------------------------------------------------------------------------  TextCtrl-------------------------------------------------------------------------------*/-EWXWEXPORT(int,wxTextCtrl_EmulateKeyPress)(wxTextCtrl* self,wxKeyEvent* keyevent)-{-    return self->EmulateKeyPress(*keyevent);-}---EWXWEXPORT(void*,wxTextCtrl_GetDefaultStyle)(wxTextCtrl* self)-{-    return (void*)& self->GetDefaultStyle();-}--EWXWEXPORT(wxString*,wxTextCtrl_GetRange)(wxTextCtrl* self,long from,long to)-{-    wxString *result = new wxString();-    *result = self->GetRange(from, to);-    return result;-}--EWXWEXPORT(wxString*,wxTextCtrl_GetStringSelection)(wxTextCtrl* self)-{-    wxString *result = new wxString();-    *result = self->GetStringSelection();-    return result;-}--EWXWEXPORT(bool,wxTextCtrl_IsMultiLine)(wxTextCtrl* self)-{-    return  self->IsMultiLine();-}--EWXWEXPORT(bool,wxTextCtrl_IsSingleLine)(wxTextCtrl* self)-{-    return self->IsSingleLine(   );-}---EWXWEXPORT(bool,wxTextCtrl_SetDefaultStyle)(wxTextCtrl* self,wxTextAttr* style)-{-    return self->SetDefaultStyle(*style);-}--EWXWEXPORT(void,wxTextCtrl_SetMaxLength)(wxTextCtrl* self,long len)-{-    self->SetMaxLength( len  );-}--EWXWEXPORT(bool,wxTextCtrl_SetStyle)(wxTextCtrl* self,long start,long end,wxTextAttr* style)-{-    return self->SetStyle(start, end,*style);-}--/*-------------------------------------------------------------------------------  TextAttr-------------------------------------------------------------------------------*/-EWXWEXPORT(wxTextAttr*,wxTextAttr_CreateDefault)()-{-  return new wxTextAttr();-}--EWXWEXPORT(wxTextAttr*,wxTextAttr_Create)(wxColour* colText,wxColour* colBack,wxFont* font)-{-    return new wxTextAttr( *colText,*colBack,*font );-}--EWXWEXPORT(void,wxTextAttr_Delete)(wxTextAttr* self)-{-    delete self;-}--EWXWEXPORT(void,wxTextAttr_GetBackgroundColour)(wxTextAttr* self,wxColour* colour)-{-    *colour = self->GetBackgroundColour();-}--EWXWEXPORT(void,wxTextAttr_GetFont)(wxTextAttr* self,wxFont* font)-{-    *font = self->GetFont();-}--EWXWEXPORT(void,wxTextAttr_GetTextColour)(wxTextAttr* self,wxColour* colour)-{-    *colour = self->GetTextColour();-}--EWXWEXPORT(bool,wxTextAttr_HasBackgroundColour)(wxTextAttr* self)-{-    return  self->HasBackgroundColour();-}--EWXWEXPORT(bool,wxTextAttr_HasFont)(wxTextAttr* self)-{-    return self->HasFont();-}--EWXWEXPORT(bool,wxTextAttr_HasTextColour)(wxTextAttr* self)-{-    return  self->HasTextColour();-}--EWXWEXPORT(bool,wxTextAttr_IsDefault)(wxTextAttr* self)-{-    return  self->IsDefault(   );-}--EWXWEXPORT(void,wxTextAttr_SetTextColour)(wxTextAttr* self,wxColour* colour)-{-   self->SetTextColour(*colour);-}--EWXWEXPORT(void,wxTextAttr_SetBackgroundColour)(wxTextAttr* self,wxColour* colour)-{-   self->SetBackgroundColour(*colour);-}--EWXWEXPORT(void,wxTextAttr_SetFont)(wxTextAttr* self,wxFont* font)-{-   self->SetFont(*font);-}--/*-------------------------------------------------------------------------------  progress dialog-------------------------------------------------------------------------------*/-EWXWEXPORT(wxProgressDialog*,wxProgressDialog_Create)(wxString* title,wxString* message,int max,wxWindow* parent,int style)-{-  return new wxProgressDialog( *title, *message, max, parent, style );-}--EWXWEXPORT(bool,wxProgressDialog_Update)(wxProgressDialog* self,int value)-{-  return self->Update(value);-}--EWXWEXPORT(bool,wxProgressDialog_UpdateWithMessage)(wxProgressDialog* self,int value,wxString* message)-{-  return self->Update(value,*message);-}--EWXWEXPORT(void,wxProgressDialog_Resume)(wxProgressDialog* self)-{-  self->Resume();-}---/*-------------------------------------------------------------------------------  standard dialogs-------------------------------------------------------------------------------*/-EWXWEXPORT(void,wxGetColourFromUser)(wxWindow* parent,wxColour* colInit,wxColour* colour)-{-  *colour = wxGetColourFromUser(parent, *colInit);-}--EWXWEXPORT(void,wxGetFontFromUser)(wxWindow* parent,wxFont* fontInit,wxFont* font)-{-  *font = wxGetFontFromUser(parent, *fontInit);-}--EWXWEXPORT(int, wxGetPasswordFromUser)(wxChar* message, wxChar* caption, wxChar* defaultText, wxWindow* parent, wxChar* _buf )-{-/* we use a complicated caching method as we don't want to call getpassword twice :-) */-  static wxChar* resultBuffer = NULL;-  if (_buf==NULL) {-    if (resultBuffer) { free(resultBuffer); resultBuffer = NULL; }-    wxString result = wxGetPasswordFromUser( message, caption, defaultText, parent );-    resultBuffer = (wxChar*)malloc( (result.Length() + 1) * sizeof(wxChar) );-    if (resultBuffer) {-      wxStrcpy( resultBuffer, result.c_str() ); /* save result */-      return result.Length();-    }-    else {-      return 0;-    }-  }-  else if (resultBuffer) {-    int len = wxStrlen(resultBuffer);-    memcpy(_buf, resultBuffer, len * sizeof(wxChar) );  /* copy saved result */-    free(resultBuffer);-    resultBuffer = NULL;-    return len;-  }-  else {-    return 0;-  }-}--EWXWEXPORT(int, wxGetTextFromUser)(wxChar* message, wxChar* caption, wxChar* defaultText, wxWindow* parent, int x, int y, int center, wxChar* _buf )-{-/* we use a complicated caching method as we don't want to call gettext twice :-) */-  static wxChar* resultBuffer = NULL;-  if (_buf==NULL) {-    if (resultBuffer) { free(resultBuffer); resultBuffer = NULL; }-    wxString result = wxGetTextFromUser( message, caption, defaultText, parent, x, y, center!=0 );-    resultBuffer = (wxChar*)malloc( (result.Length() + 1) * sizeof(wxChar) );-    if (resultBuffer) {-      wxStrcpy( resultBuffer, result.c_str() ); /* save result */-      return result.Length();-    }-    else {-      return 0;-    }-  }-  else if (resultBuffer) {-    int len = wxStrlen(resultBuffer);-    memcpy(_buf, resultBuffer, len * sizeof(wxChar) );  /* copy saved result */-    free(resultBuffer);-    resultBuffer = NULL;-    return len;-  }-  else {-    return 0;-  }-}--EWXWEXPORT(long,wxGetNumberFromUser)(wxString* message,wxString* prompt,wxString* caption,long value,long min,long max,wxWindow* parent,int x,int y)-{-  return wxGetNumberFromUser(*message, *prompt, *caption, value, min, max, parent, wxPoint(x, y) );-}--EWXWEXPORT(void,wxcBell)(void)-{-  wxBell();-}--EWXWEXPORT(void,wxcBeginBusyCursor)(void)-{-  wxBeginBusyCursor();-}--EWXWEXPORT(int,wxcIsBusy)(void)-{-  return (wxIsBusy());-}--EWXWEXPORT(void,wxcEndBusyCursor)(void)-{-  wxEndBusyCursor();-}--/*------------------------------------------------------------------------------  wxInputSink------------------------------------------------------------------------------*/-EWXWEXPORT(wxInputSink*,wxInputSink_Create)(wxInputStream* input,wxEvtHandler* evtHandler,int bufferLen)-{-  return new wxInputSink(input,evtHandler,bufferLen);-}--EWXWEXPORT(int,wxInputSink_GetId)(wxInputSink* self)-{-  return self->GetId();-}--EWXWEXPORT(void,wxInputSink_Start)(wxInputSink* self)-{-  self->Start();-}---EWXWEXPORT(int,wxInputSinkEvent_LastError)(wxInputSinkEvent* self)-{-  return self->LastError();-}--EWXWEXPORT(int,wxInputSinkEvent_LastRead)(wxInputSinkEvent* self)-{-  return self->LastRead();-}--EWXWEXPORT(char*,wxInputSinkEvent_LastInput)(wxInputSinkEvent* self)-{-  return self->LastInput();-}---/*------------------------------------------------------------------------------  html window------------------------------------------------------------------------------*/-EWXWEXPORT(void*,wxcHtmlEvent_GetMouseEvent)(wxcHtmlEvent* self)-{-    return (void*)(self->GetMouseEvent());-}--EWXWEXPORT(void*,wxcHtmlEvent_GetHtmlCell)(wxcHtmlEvent* self)-{-    return (void*)(self->GetHtmlCell());-}--EWXWEXPORT(wxString*,wxcHtmlEvent_GetHtmlCellId)(wxcHtmlEvent* self)-{-    return self->GetHtmlCellId();-}--EWXWEXPORT(wxString*,wxcHtmlEvent_GetHref)(wxcHtmlEvent* self)-{-    return self->GetHref();-}--EWXWEXPORT(wxString*,wxcHtmlEvent_GetTarget)(wxcHtmlEvent* self)-{-    return self->GetTarget();-}--EWXWEXPORT(wxPoint*,wxcHtmlEvent_GetLogicalPosition)(wxcHtmlEvent* self)-{-	wxPoint* pt = new wxPoint();-	*pt = self->GetLogicalPosition();-	return pt;-}---/*------------------------------------------------------------------------------  html window------------------------------------------------------------------------------*/-EWXWEXPORT(wxHtmlWindow*,wxHtmlWindow_Create)(wxWindow* _prt,int _id,int _lft,int _top,int _wdt,int _hgt,long _stl, wxString* _txt)-{-    return new wxHtmlWindow(_prt, _id, wxPoint(_lft, _top), wxSize(_wdt, _hgt), _stl, *_txt );-}--EWXWEXPORT(wxHtmlWindow*, wxcHtmlWindow_Create)(wxWindow* _prt,int _id,int _lft,int _top,int _wdt,int _hgt,long _stl, wxString* _txt)-{-    return new wxcHtmlWindow(_prt, _id, wxPoint(_lft, _top), wxSize(_wdt, _hgt), _stl, *_txt );-}---EWXWEXPORT(bool,wxHtmlWindow_AppendToPage)(wxHtmlWindow* self,wxString* source)-{-    return self->AppendToPage(*source);-}--EWXWEXPORT(void*,wxHtmlWindow_GetInternalRepresentation)(wxHtmlWindow* self)-{-    return (void*)self->GetInternalRepresentation();-}--EWXWEXPORT(wxString*,wxHtmlWindow_GetOpenedAnchor)(wxHtmlWindow* self)-{-	wxString *result = new wxString();-	*result = self->GetOpenedAnchor();-	return result;-}--EWXWEXPORT(wxString*,wxHtmlWindow_GetOpenedPage)(wxHtmlWindow* self)-{-	wxString *result = new wxString();-	*result = self->GetOpenedPage();-	return result;-}--EWXWEXPORT(wxString*,wxHtmlWindow_GetOpenedPageTitle)(wxHtmlWindow* self)-{-	wxString *result = new wxString();-	*result = self->GetOpenedPageTitle();-	return result;-}---EWXWEXPORT(void*,wxHtmlWindow_GetRelatedFrame)(wxHtmlWindow* self)-{-    return (void*)self->GetRelatedFrame(   );-}--EWXWEXPORT(bool,wxHtmlWindow_HistoryBack)(wxHtmlWindow* self)-{-    return self->HistoryBack();-}--EWXWEXPORT(bool,wxHtmlWindow_HistoryCanBack)(wxHtmlWindow* self)-{-    return self->HistoryCanBack();-}--EWXWEXPORT(bool,wxHtmlWindow_HistoryCanForward)(wxHtmlWindow* self)-{-    return self->HistoryCanForward();-}--EWXWEXPORT(void,wxHtmlWindow_HistoryClear)(wxHtmlWindow* self)-{-    self->HistoryClear(   );-}--EWXWEXPORT(bool,wxHtmlWindow_HistoryForward)(wxHtmlWindow* self)-{-    return self->HistoryForward();-}--EWXWEXPORT(bool,wxHtmlWindow_LoadPage)(wxHtmlWindow* self,wxString* location)-{-    return self->LoadPage(*location );-}---EWXWEXPORT(void,wxHtmlWindow_ReadCustomization)(wxHtmlWindow* self,wxConfigBase* cfg,wxString* path)-{-    self->ReadCustomization(  cfg,*path );-}--EWXWEXPORT(void,wxHtmlWindow_SetBorders)(wxHtmlWindow* self,int b)-{-    self->SetBorders( b );-}--EWXWEXPORT(void,wxHtmlWindow_SetFonts)(wxHtmlWindow* self,wxString* normal_face,wxString* fixed_face,int* sizes)-{-    self->SetFonts(*normal_face,*fixed_face, sizes );-}--EWXWEXPORT(int,wxHtmlWindow_SetPage)(wxHtmlWindow* self,wxString* source)-{-    return self->SetPage( *source );-}--EWXWEXPORT(void,wxHtmlWindow_SetRelatedFrame)(wxHtmlWindow* self,wxFrame* frame,wxString* format)-{-    self->SetRelatedFrame(frame,*format);-}--EWXWEXPORT(void,wxHtmlWindow_SetRelatedStatusBar)(wxHtmlWindow* self,int bar)-{-    self->SetRelatedStatusBar(bar);-}--EWXWEXPORT(void,wxHtmlWindow_WriteCustomization)(wxHtmlWindow* self,wxConfigBase* cfg,wxString* path)-{-    self->WriteCustomization(cfg,*path );-}--/*------------------------------------------------------------------------------  LOGGER------------------------------------------------------------------------------*/-EWXWEXPORT(wxLogStderr*,wxLogStderr_Create)()-{-	return new wxLogStderr();-}--EWXWEXPORT(wxLogStderr*,wxLogStderr_CreateStdOut)()-{-	return new wxLogStderr(stdout);-}--EWXWEXPORT(wxLogNull*,wxLogNull_Create)()-{-	return new wxLogNull();-}--EWXWEXPORT(wxLogTextCtrl*,wxLogTextCtrl_Create)(wxTextCtrl* text)-{-	return new wxLogTextCtrl(text);-}--EWXWEXPORT(wxLogWindow*,wxLogWindow_Create)(wxFrame* parent,wxString* title,bool showit,bool passthrough)-{-	return new wxLogWindow(parent,*title,showit,passthrough);-}--EWXWEXPORT(wxFrame*,wxLogWindow_GetFrame)(wxLogWindow* self)-{-	return self->GetFrame();-}--EWXWEXPORT(void,wxLog_Delete)(wxLog* self)-{-	delete self;-}--EWXWEXPORT(void,wxLog_OnLog)(wxLog* self,int level,void* szString,int t)-{-	self->OnLog((wxLogLevel)level, (const wxChar*)szString, (time_t)t);-}--EWXWEXPORT(void,wxLog_Flush)(wxLog* self)-{-	self->Flush();-}--EWXWEXPORT(bool,wxLog_HasPendingMessages)(wxLog* self)-{-	return self->HasPendingMessages();-}--EWXWEXPORT(void,wxLog_FlushActive)(wxLog* self)-{-	self->FlushActive();-}--EWXWEXPORT(void*,wxLog_GetActiveTarget)()-{-	return (void*)wxLog::GetActiveTarget();-}--EWXWEXPORT(void*,wxLog_SetActiveTarget)(wxLog* pLogger)-{-	return (void*)wxLog::SetActiveTarget(pLogger);-}--EWXWEXPORT(void,wxLog_Suspend)(wxLog* self)-{-	self->Suspend();-}--EWXWEXPORT(void,wxLog_Resume)(wxLog* self)-{-	self->Resume();-}--EWXWEXPORT(void,wxLog_SetVerbose)(wxLog* self,bool bVerbose)-{-	self->SetVerbose(bVerbose);-}--EWXWEXPORT(void,wxLog_DontCreateOnDemand)(wxLog* self)-{-	self->DontCreateOnDemand();-}--EWXWEXPORT(void,wxLog_SetTraceMask)(wxLog* self,int ulMask)-{-	self->SetTraceMask((wxTraceMask)ulMask);-}--EWXWEXPORT(void,wxLog_AddTraceMask)(wxLog* self,void* str)-{-	self->AddTraceMask((const wxChar*)str);-}--EWXWEXPORT(void,wxLog_RemoveTraceMask)(wxLog* self,void* str)-{-	self->RemoveTraceMask((const wxChar*)str);-}--EWXWEXPORT(void,wxLog_SetTimestamp)(wxLog* self,void* ts)-{-	self->SetTimestamp((const wxChar*)ts);-}--EWXWEXPORT(bool,wxLog_GetVerbose)(wxLog* self)-{-	return self->GetVerbose();-}--EWXWEXPORT(int,wxLog_GetTraceMask)(wxLog* self)-{-	return (int)self->GetTraceMask();-}--EWXWEXPORT(bool,wxLog_IsAllowedTraceMask)(wxLog* self,void* mask)-{-	return self->IsAllowedTraceMask((const wxChar*)mask);-}--EWXWEXPORT(void*,wxLog_GetTimestamp)(wxLog* self)-{-	return (void*)self->GetTimestamp();-}---EWXWEXPORT(void,LogError)(wxString* _msg)-{-	wxLogError(*_msg);-}--EWXWEXPORT(void,LogFatalError)(wxString* _msg)-{-	wxLogFatalError(*_msg);-}--EWXWEXPORT(void,LogWarning)(wxString* _msg)-{-	wxLogWarning(*_msg);-}--EWXWEXPORT(void,LogMessage)(wxString* _msg)-{-	wxLogMessage(*_msg);-}--EWXWEXPORT(void,LogVerbose)(wxString* _msg)-{-	wxLogVerbose(*_msg);-}--EWXWEXPORT(void,LogStatus)(wxString* _msg)-{-	wxLogStatus(*_msg);-}--EWXWEXPORT(void,LogSysError)(wxString* _msg)-{-	wxLogSysError(*_msg);-}--EWXWEXPORT(void,LogDebug)(wxString* _msg)-{-	wxLogDebug(*_msg);-}--EWXWEXPORT(void,LogTrace)(wxString* mask,wxString* _msg)-{-	wxLogTrace(*mask,*_msg);-}--/*------------------------------------------------------------------------------  Grid text editor------------------------------------------------------------------------------*/-EWXWEXPORT(wxGridCellTextEnterEditor*,wxGridCellTextEnterEditor_Ctor)()-{-	return new wxGridCellTextEnterEditor();-}--/*------------------------------------------------------------------------------  ConfigBase------------------------------------------------------------------------------*/-EWXWEXPORT(wxConfigBase*,wxConfigBase_Get)()-{-	return wxConfigBase::Get();-}--EWXWEXPORT(void,wxConfigBase_Set)(wxConfigBase* self)-{-	wxConfigBase::Set( self );-}--EWXWEXPORT(wxFileConfig*,wxFileConfig_Create)(wxInputStream* inp)-{-	return new wxFileConfig( *inp );-}---} /* extern "C" */
− src/cpp/graphicscontext.cpp
@@ -1,924 +0,0 @@-#include "wrapper.h"--/* testing */-// #define wxUSE_GRAPHICS_CONTEXT 0--/*------------------------------------------------------------------------------  We want to include the function signatures always -- even on -  systems that don't support wxGraphicsContext. This means that every function body is-  surrounded by #ifdef wxUSE_GRAPHICS_CONTEXT directives :-(------------------------------------------------------------------------------*/--#if defined(wxUSE_GRAPHICS_CONTEXT) && (wxUSE_GRAPHICS_CONTEXT==0)-# undef wxUSE_GRAPHICS_CONTEXT-#endif--#ifdef wxUSE_GRAPHICS_CONTEXT-#include "wx/graphics.h"-#endif--#ifndef wxUSE_GRAPHICS_CONTEXT-# define wxPoint2DDouble        void-# define wxGraphicsBrush        void-# define wxGraphicsContext      void-# define wxGraphicsFont         void-# define wxGraphicsMatrix       void-# define wxGraphicsObject       void-# define wxGraphicsPath         void-# define wxGraphicsPen          void-# define wxGraphicsRenderer     void-#endif--extern "C" {--/*------------------------------------------------------------------------------  GraphicsContext------------------------------------------------------------------------------*/-EWXWEXPORT(wxGraphicsContext*,wxGraphicsContext_Create)( const wxWindowDC* dc )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  return wxGraphicsContext::Create(*dc);-#else-  return NULL;-#endif-}--EWXWEXPORT(wxGraphicsContext*,wxGraphicsContext_CreateFromWindow)( wxWindow* window )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  return wxGraphicsContext::Create(window);-#else-  return NULL;-#endif-}--EWXWEXPORT(wxGraphicsContext*,wxGraphicsContext_CreateFromNative)( void * context )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  return wxGraphicsContext::CreateFromNative(context);-#else-  return NULL;-#endif-}--EWXWEXPORT(wxGraphicsContext*,wxGraphicsContext_CreateFromNativeWindow)( void * window )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  return wxGraphicsContext::CreateFromNativeWindow(window);-#else-  return NULL;-#endif-}--EWXWEXPORT(void,wxGraphicsContext_Delete)(wxGraphicsContext* self)  -{-#ifdef wxUSE_GRAPHICS_CONTEXT-  if (self) delete self;-#endif-}--/*-EWXWEXPORT(wxGraphicsPen*,wxGraphicsContext_CreatePen)( wxGraphicsContext* self, const wxPen& pen )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  return self->CreatePen(pen);-#else-  return NULL;-#endif-}--EWXWEXPORT(wxGraphicsBrush*,wxGraphicsContext_CreateBrush)( wxGraphicsContext* self, const wxBrush& brush )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  return self->CreateBrush(brush);-#else-  return NULL;-#endif-}--EWXWEXPORT(wxGraphicsBrush*,wxGraphicsContext_CreateRadialGradientBrush)( wxGraphicsContext* self,-                                                                          wxDouble xo, wxDouble yo, wxDouble xc, wxDouble yc-                                                                          wxDouble radius,-                                                                          const wxColour& oColor, const wxColour& cColor )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  return self->CreateRadialGradientBrush(xo, yo, xc, yc, radius, oColor, cColor);-#else-  return NULL;-#endif-}--EWXWEXPORT(wxGraphicsBrush*,wxGraphicsContext_CreateLinearGradientBrush)( wxGraphicsContext* self,-                                                                          wxDouble x1, wxDouble y1,-                                                                          wxDouble x2, wxDouble y2,-                                                                          const wxColour& c1, const wxColour& c2 )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  return self->CreateRadialGradientBrush(x1, y1, x2, y2, c1, c2);-#else-  return NULL;-#endif-}--EWXWEXPORT(wxGraphicsFont*,wxGraphicsContext_CreateFont)( wxGraphicsContext* self, const wxFont& font )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  return self->CreateFont(font);-#else-  return NULL;-#endif-}--EWXWEXPORT(wxGraphicsFont*,wxGraphicsContext_CreateFontWithColour)( wxGraphicsContext* self,-                                                                    const wxFont& font, const wxColour& col  )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  return self->CreateFont(font, col);-#else-  return NULL;-#endif-}--EWXWEXPORT(wxGraphicsMatrix*,wxGraphicsContext_CreateMatrix)( wxGraphicsContext* self,-                                                              wxDouble a, wxDouble b, wxDouble c, wxDouble d,-                                                              wxDouble tx , wxDouble ty )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  return self->CreateMatrix(a, b, c, d, tx, ty);-#else-  return NULL;-#endif-}--EWXWEXPORT(wxGraphicsMatrix*,wxGraphicsContext_CreateDefaultMatrix)( wxGraphicsContext* self )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  return self->CreateMatrix(1.0, 0.0, 0.0, 1.0, 0.0, 0.0);-#else-  return NULL;-#endif-}--EWXWEXPORT(wxGraphicsPath*,wxGraphicsContext_CreatePath)( wxGraphicsContext* self )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  return self->CreatePath();-#else-  return NULL;-#endif-}-*/--EWXWEXPORT(void,wxGraphicsContext_Clip)( wxGraphicsContext* self, const wxRegion* region )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  self->Clip(*region);-#endif-}--EWXWEXPORT(void,wxGraphicsContext_ClipByRectangle)( wxGraphicsContext* self, wxDouble x, wxDouble y, wxDouble w, wxDouble h )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  self->Clip(x, y, w, h);-#endif-}--EWXWEXPORT(void,wxGraphicsContext_ResetClip)( wxGraphicsContext* self )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  self->ResetClip();-#endif-}--EWXWEXPORT(void,wxGraphicsContext_DrawBitmap)( wxGraphicsContext* self, const wxBitmap* bmp,-                                               wxDouble x, wxDouble y, wxDouble w, wxDouble h )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  self->DrawBitmap(*bmp, x, y, w, h);-#endif-}--EWXWEXPORT(void,wxGraphicsContext_DrawEllipse)( wxGraphicsContext* self,-                                                wxDouble x, wxDouble y, wxDouble w, wxDouble h )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  self->DrawEllipse(x, y, w, h);-#endif-}--EWXWEXPORT(void,wxGraphicsContext_DrawIcon)( wxGraphicsContext* self, const wxIcon* icon,-                                             wxDouble x, wxDouble y, wxDouble w, wxDouble h )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  self->DrawIcon(*icon, x, y, w, h);-#endif-}--EWXWEXPORT(void,wxGraphicsContext_DrawLines)( wxGraphicsContext* self, size_t n,-                                              wxDouble* x, wxDouble* y, int fillStyle )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  wxPoint2DDouble* points = (wxPoint2DDouble*)malloc (n * sizeof(wxPoint2DDouble));--  for (size_t i = 0; i < n; i++)-    points[i] = wxPoint2DDouble(x[i], y[i]);--  self->DrawLines(n, points, fillStyle);--  free (points);-#endif-}--EWXWEXPORT(void,wxGraphicsContext_DrawPath)( wxGraphicsContext* self,-                                             const wxGraphicsPath* path, int fillStyle )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  self->DrawPath(*path, fillStyle);-#endif-}--EWXWEXPORT(void,wxGraphicsContext_DrawRectangle)( wxGraphicsContext* self,-                                                  wxDouble x, wxDouble y, wxDouble w, wxDouble h )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  self->DrawRectangle(x, y, w, h);-#endif-}--EWXWEXPORT(void,wxGraphicsContext_DrawRoundedRectangle)( wxGraphicsContext* self,-                                                         wxDouble x, wxDouble y, wxDouble w, wxDouble h,-                                                         wxDouble radius )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  self->DrawRoundedRectangle(x, y, w, h, radius);-#endif-}--EWXWEXPORT(void,wxGraphicsContext_DrawText)( wxGraphicsContext* self,-                                             const wxString* str, wxDouble x, wxDouble y )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  self->DrawText((str ? *str : wxString(wxT(""))), x, y);-#endif-}--EWXWEXPORT(void,wxGraphicsContext_DrawTextWithAngle)( wxGraphicsContext* self,-                                                      const wxString* str, wxDouble x, wxDouble y, wxDouble angle)-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  self->DrawText((str ? *str : wxString(wxT(""))), x, y, angle);-#endif-}--EWXWEXPORT(void,wxGraphicsContext_FillPath)( wxGraphicsContext* self,-                                             const wxGraphicsPath* path, int fillStyle )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  self->FillPath(*path, fillStyle);-#endif-}--EWXWEXPORT(void,wxGraphicsContext_StrokePath)( wxGraphicsContext* self, const wxGraphicsPath* path )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  self->StrokePath(*path);-#endif-}--EWXWEXPORT(void*,wxGraphicsContext_GetNativeContext)( wxGraphicsContext* self )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  return self->GetNativeContext();-#else-  return NULL;-#endif-}--/*-TODO: Implement wrapper function of wxGraphicsContext::GetPartialTextExtents.-*/--EWXWEXPORT(void,wxGraphicsContext_GetTextExtent)( wxGraphicsContext* self, const wxString* text,-                                                  wxDouble* width, wxDouble* height, wxDouble* descent,-                                                  wxDouble* externalLeading )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  self->GetTextExtent(*text, width, height, descent, externalLeading);-#endif-}--EWXWEXPORT(void,wxGraphicsContext_Rotate)( wxGraphicsContext* self, wxDouble angle )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  self->Rotate(angle);-#endif-}--EWXWEXPORT(void,wxGraphicsContext_Scale)( wxGraphicsContext* self, wxDouble xScale, wxDouble yScale )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  self->Scale(xScale, yScale);-#endif-}--EWXWEXPORT(void,wxGraphicsContext_Translate)( wxGraphicsContext* self, wxDouble dx, wxDouble dy )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  self->Translate(dx, dy);-#endif-}--/*-EWXWEXPORT(wxGraphicsMatrix,wxGraphicsContext_GetTransform)( wxGraphicsContext* self )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  return self->GetTransform();-#else-  return NULL;-#endif-}-*/--EWXWEXPORT(void,wxGraphicsContext_SetTransform)( wxGraphicsContext* self, const wxGraphicsMatrix* matrix )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  self->SetTransform(*matrix);-#endif-}--EWXWEXPORT(void,wxGraphicsContext_ConcatTransform)( wxGraphicsContext* self, const wxGraphicsMatrix* matrix )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  self->ConcatTransform(*matrix);-#endif-}--EWXWEXPORT(void,wxGraphicsContext_SetBrush)( wxGraphicsContext* self, const wxBrush* brush )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  self->SetBrush(*brush);-#endif-}--EWXWEXPORT(void,wxGraphicsContext_SetGraphicsBrush)( wxGraphicsContext* self, const wxGraphicsBrush* brush )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  self->SetBrush(*brush);-#endif-}--EWXWEXPORT(void,wxGraphicsContext_SetFont)( wxGraphicsContext* self, const wxFont* font, const wxColour* colour )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  self->SetFont(*font, *colour);-#endif-}--EWXWEXPORT(void,wxGraphicsContext_SetGraphicsFont)( wxGraphicsContext* self, const wxGraphicsFont* font )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  self->SetFont(*font);-#endif-}--EWXWEXPORT(void,wxGraphicsContext_SetPen)( wxGraphicsContext* self, const wxPen* pen )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  self->SetPen(*pen);-#endif-}--EWXWEXPORT(void,wxGraphicsContext_SetGraphicsPen)( wxGraphicsContext* self, const wxGraphicsPen* pen )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  self->SetPen(*pen);-#endif-}--EWXWEXPORT(void,wxGraphicsContext_StrokeLine)( wxGraphicsContext* self, wxDouble x1, wxDouble y1, wxDouble x2, wxDouble y2 )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  self->StrokeLine(x1, y1, x2, y2);-#endif-}--EWXWEXPORT(void,wxGraphicsContext_StrokeLines)( wxGraphicsContext* self, size_t n,-                                                wxDouble* x, wxDouble* y, int fillStyle )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  wxPoint2DDouble* points = (wxPoint2DDouble*)malloc (n * sizeof(wxPoint2DDouble));--  for (size_t i = 0; i < n; i++)-    points[i] = wxPoint2DDouble(x[i], y[i]);--  self->StrokeLines(n, points);--  free (points);-#endif-}--EWXWEXPORT(void,wxGraphicsContext_StrokeLinesStartAndEnd)( wxGraphicsContext* self, size_t n,-                                                           const wxPoint2DDouble* beginPoints, const wxPoint2DDouble* endPoints )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  self->StrokeLines(n, beginPoints, endPoints);-#endif-}--/*------------------------------------------------------------------------------  GraphicsObject------------------------------------------------------------------------------*/-EWXWEXPORT(wxGraphicsObject*,wxGraphicsObject_Create)( )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  return new wxGraphicsObject;-#else-  return NULL;-#endif-}--EWXWEXPORT(void,wxGraphicsObject_Delete)(wxGraphicsObject* self)  -{-#ifdef wxUSE_GRAPHICS_CONTEXT-  if (self) delete self;-#endif-}--EWXWEXPORT(wxGraphicsRenderer*,wxGraphicsObject_GetRenderer)(wxGraphicsObject* self)  -{-#ifdef wxUSE_GRAPHICS_CONTEXT-  return self->GetRenderer();-#else-  return NULL;-#endif-}--EWXWEXPORT(bool,wxGraphicsObject_IsNull)(wxGraphicsObject* self)  -{-#ifdef wxUSE_GRAPHICS_CONTEXT-  return self->IsNull();-#else-  return false;-#endif-}--/*------------------------------------------------------------------------------  GraphicsBrush------------------------------------------------------------------------------*/-EWXWEXPORT(wxGraphicsBrush*,wxGraphicsBrush_Create)( )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  return new wxGraphicsBrush;-#else-  return NULL;-#endif-}--EWXWEXPORT(void,wxGraphicsBrush_Delete)(wxGraphicsBrush* self)  -{-#ifdef wxUSE_GRAPHICS_CONTEXT-  if (self) delete self;-#endif-}--/*------------------------------------------------------------------------------  GraphicsFont------------------------------------------------------------------------------*/-EWXWEXPORT(wxGraphicsFont*,wxGraphicsFont_Create)( )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  return new wxGraphicsFont;-#else-  return NULL;-#endif-}--EWXWEXPORT(void,wxGraphicsFont_Delete)(wxGraphicsFont* self)  -{-#ifdef wxUSE_GRAPHICS_CONTEXT-  if (self) delete self;-#endif-}--/*------------------------------------------------------------------------------  GraphicsMatrix------------------------------------------------------------------------------*/-EWXWEXPORT(wxGraphicsMatrix*,wxGraphicsMatrix_Create)( )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  return new wxGraphicsMatrix;-#else-  return NULL;-#endif-}--EWXWEXPORT(void,wxGraphicsMatrix_Delete)(wxGraphicsMatrix* self)  -{-#ifdef wxUSE_GRAPHICS_CONTEXT-  if (self) delete self;-#endif-}--EWXWEXPORT(void,wxGraphicsMatrix_Concat)( wxGraphicsMatrix* self, const wxGraphicsMatrix* matrix )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  self->Concat(matrix);-#endif-}--EWXWEXPORT(void,wxGraphicsMatrix_Get)( wxGraphicsMatrix* self,-                                       wxDouble* a, wxDouble* b, wxDouble* c, wxDouble* d, wxDouble* tx, wxDouble* ty )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  self->Get(a, b, c, d, tx, ty);-#endif-}--EWXWEXPORT(void*,wxGraphicsMatrix_GetNativeMatrix)(wxGraphicsMatrix* self)  -{-#ifdef wxUSE_GRAPHICS_CONTEXT-  return self->GetNativeMatrix();-#else-  return NULL;-#endif-}--EWXWEXPORT(void,wxGraphicsMatrix_Invert)( wxGraphicsMatrix* self )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  self->Invert();-#endif-}--EWXWEXPORT(bool,wxGraphicsMatrix_IsEqual)( wxGraphicsMatrix* self, const wxGraphicsMatrix* t )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  return self->IsEqual(*t);-#else-  return false;-#endif-}--EWXWEXPORT(bool,wxGraphicsMatrix_IsIdentity)( wxGraphicsMatrix* self )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  return self->IsIdentity();-#else-  return false;-#endif-}--EWXWEXPORT(void,wxGraphicsMatrix_Rotate)( wxGraphicsMatrix* self, wxDouble angle )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  self->Rotate(angle);-#endif-}--EWXWEXPORT(void,wxGraphicsMatrix_Scale)( wxGraphicsMatrix* self, wxDouble xScale, wxDouble yScale )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  self->Scale(xScale, yScale);-#endif-}--EWXWEXPORT(void,wxGraphicsMatrix_Translate)( wxGraphicsMatrix* self, wxDouble dx, wxDouble dy )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  self->Translate(dx, dy);-#endif-}--EWXWEXPORT(void,wxGraphicsMatrix_Set)( wxGraphicsMatrix* self,-                                       wxDouble a, wxDouble b, wxDouble c, wxDouble d, wxDouble tx, wxDouble ty )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  self->Set(a, b, c, d, tx, ty);-#endif-}--EWXWEXPORT(void,wxGraphicsMatrix_TransformPoint)( wxGraphicsMatrix* self, wxDouble* x, wxDouble* y )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  self->TransformPoint(x, y);-#endif-}--EWXWEXPORT(void,wxGraphicsMatrix_TransformDistance)( wxGraphicsMatrix* self, wxDouble* dx, wxDouble* dy )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  self->TransformDistance(dx, dy);-#endif-}--/*------------------------------------------------------------------------------  GraphicsPath------------------------------------------------------------------------------*/-EWXWEXPORT(wxGraphicsPath*,wxGraphicsPath_Create)( )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  return new wxGraphicsPath;-#else-  return NULL;-#endif-}--EWXWEXPORT(void,wxGraphicsPath_Delete)(wxGraphicsPath* self)  -{-#ifdef wxUSE_GRAPHICS_CONTEXT-  if (self) delete self;-#endif-}--EWXWEXPORT(void,wxGraphicsPath_MoveToPoint)( wxGraphicsPath* self, wxDouble x, wxDouble y )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  self->MoveToPoint(x, y);-#endif-}--EWXWEXPORT(void,wxGraphicsPath_AddArc)( wxGraphicsPath* self, wxDouble x, wxDouble y,-                                        wxDouble r, wxDouble startAngle, wxDouble endAngle, bool clockwise )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  self->AddArc(x, y, r, startAngle, endAngle, clockwise);-#endif-}--EWXWEXPORT(void,wxGraphicsPath_AddArcToPoint)( wxGraphicsPath* self,-                                               wxDouble x1, wxDouble y1, wxDouble x2, wxDouble y2, wxDouble r )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  self->AddArcToPoint(x1, y1, x2, y2, r);-#endif-}--EWXWEXPORT(void,wxGraphicsPath_AddCircle)( wxGraphicsPath* self, wxDouble x, wxDouble y, wxDouble r )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  self->AddCircle(x, y, r);-#endif-}--EWXWEXPORT(void,wxGraphicsPath_AddCurveToPoint)( wxGraphicsPath* self, wxDouble cx1, wxDouble cy1,-                                                 wxDouble cx2, wxDouble cy2, wxDouble x, wxDouble y )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  self->AddCurveToPoint(cx1, cy1, cx2, cy2, x, y);-#endif-}--EWXWEXPORT(void,wxGraphicsPath_AddEllipse)( wxGraphicsPath* self, wxDouble x, wxDouble y, wxDouble w, wxDouble h )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  self->AddEllipse(x, y, w, h);-#endif-}--EWXWEXPORT(void,wxGraphicsPath_AddLineToPoint)( wxGraphicsPath* self, wxDouble x, wxDouble y )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  self->AddLineToPoint(x, y);-#endif-}--EWXWEXPORT(void,wxGraphicsPath_AddPath)( wxGraphicsPath* self, const wxGraphicsPath* path )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  self->AddPath(*path);-#endif-}--EWXWEXPORT(void,wxGraphicsPath_AddQuadCurveToPoint)( wxGraphicsPath* self,-                                                     wxDouble cx, wxDouble cy, wxDouble x, wxDouble y )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  self->AddQuadCurveToPoint(cx, cy, x, y);-#endif-}--EWXWEXPORT(void,wxGraphicsPath_AddRectangle)( wxGraphicsPath* self, wxDouble x, wxDouble y, wxDouble w, wxDouble h )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  self->AddRectangle(x, y, w, h);-#endif-}--EWXWEXPORT(void,wxGraphicsPath_AddRoundedRectangle)( wxGraphicsPath* self, wxDouble x, wxDouble y,-                                                     wxDouble w, wxDouble h, wxDouble radius )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  self->AddRoundedRectangle(x, y, w, h, radius);-#endif-}--EWXWEXPORT(void,wxGraphicsPath_CloseSubpath)( wxGraphicsPath* self )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  self->CloseSubpath();-#endif-}--EWXWEXPORT(void,wxGraphicsPath_Contains)( wxGraphicsPath* self, wxDouble x, wxDouble y, int fillStyle )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  self->Contains(x, y, fillStyle);-#endif-}--EWXWEXPORT(void,wxGraphicsPath_GetBox)( wxGraphicsPath* self, wxDouble* x, wxDouble* y, wxDouble* w, wxDouble* h )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  self->GetBox(x, y, w, h);-#endif-}--EWXWEXPORT(void,wxGraphicsPath_GetCurrentPoint)( wxGraphicsPath* self, wxDouble* x, wxDouble* y )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  self->GetCurrentPoint(x, y);-#endif-}--EWXWEXPORT(void,wxGraphicsPath_Transform)( wxGraphicsPath* self, const wxGraphicsMatrix* matrix )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  self->Transform(*matrix);-#endif-}--EWXWEXPORT(void*,wxGraphicsPath_GetNativePath)( wxGraphicsPath* self )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  return self->GetNativePath();-#else-  return NULL;-#endif-}--EWXWEXPORT(void,wxGraphicsPath_UnGetNativePath)( wxGraphicsPath* self, void* p )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  self->UnGetNativePath(p);-#endif-}--/*------------------------------------------------------------------------------  GraphicsPen------------------------------------------------------------------------------*/-EWXWEXPORT(wxGraphicsPen*,wxGraphicsPen_Create)( )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  return new wxGraphicsPen;-#else-  return NULL;-#endif-}--EWXWEXPORT(void,wxGraphicsPen_Delete)(wxGraphicsPen* self)  -{-#ifdef wxUSE_GRAPHICS_CONTEXT-  if (self) delete self;-#endif-}--/* We can't create wxGraphicsRenderer by this function.-   Because wxGraphicsRenderer is a abstract class.--EWXWEXPORT(wxGraphicsRenderer*,wxGraphicsRenderer_Create)( )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  return new wxGraphicsRenderer;-#else-  return NULL;-#endif-}-*/--EWXWEXPORT(void,wxGraphicsRenderer_Delete)(wxGraphicsRenderer* self)  -{-#ifdef wxUSE_GRAPHICS_CONTEXT-  if (self) delete self;-#endif-}--EWXWEXPORT(wxGraphicsRenderer*,wxGraphicsRenderer_GetDefaultRenderer)( wxGraphicsRenderer* self )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  return self->GetDefaultRenderer();-#else-  return NULL;-#endif-}--EWXWEXPORT(wxGraphicsContext*,wxGraphicsRenderer_CreateContext)( wxGraphicsRenderer* self, const wxWindowDC* dc )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  return self->CreateContext(*dc);-#else-  return NULL;-#endif-}--EWXWEXPORT(wxGraphicsContext*,wxGraphicsRenderer_CreateContextFromWindow)( wxGraphicsRenderer* self, wxWindow* window )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  return self->CreateContext(window);-#else-  return NULL;-#endif-}--EWXWEXPORT(wxGraphicsContext*,wxGraphicsRenderer_CreateContextFromNativeContext)( wxGraphicsRenderer* self, void* context )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  return self->CreateContextFromNativeContext(context);-#else-  return NULL;-#endif-}--EWXWEXPORT(wxGraphicsContext*,wxGraphicsRenderer_CreateContextFromNativeWindow)( wxGraphicsRenderer* self, void* window )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  return self->CreateContextFromNativeWindow(window);-#else-  return NULL;-#endif-}--/*-EWXWEXPORT(wxGraphicsPen,wxGraphicsRenderer_CreatePen)( wxGraphicsRenderer* self, const wxPen* pen )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  return self->CreatePen(*pen);-#else-  return NULL;-#endif-}--EWXWEXPORT(wxGraphicsBrush,wxGraphicsRenderer_CreateBrush)( wxGraphicsRenderer* self, const wxBrush* brush )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  return self->CreateBrush(*brush);-#else-  return NULL;-#endif-}--EWXWEXPORT(wxGraphicsBrush,wxGraphicsRenderer_CreateLinearGradientBrush)( wxGraphicsRenderer* self,-                                                                          wxDouble x1, wxDouble y1, wxDouble x2, wxDouble y2,-                                                                          const wxColour* c1, const wxColour* c2 )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  return self->CreateLinearGradientBrush(x1, y1, x2, y2, *c1, *c2);-#else-  return NULL;-#endif-}--EWXWEXPORT(wxGraphicsBrush,wxGraphicsRenderer_CreateRadialGradientBrush)( wxGraphicsRenderer* self,-                                                                          wxDouble x1, wxDouble y1, wxDouble x2, wxDouble y2,-                                                                          const wxColour* c1, const wxColour* c2 )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  return self->CreateRadialGradientBrush(x1, y1, x2, y2, *c1, *c2);-#else-  return NULL;-#endif-}--EWXWEXPORT(wxGraphicsFont,wxGraphicsRenderer_CreateFont)( wxGraphicsRenderer* self,-                                                          const wxFont* font, const wxColour* col  )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  return self->CreateFont(*font, *col );-#else-  return NULL;-#endif-}--EWXWEXPORT(wxGraphicsMatrix,wxGraphicsRenderer_CreateMatrix)( wxGraphicsRenderer* self,-                                                              wxDouble a, wxDouble b, wxDouble c, wxDouble d,-                                                              wxDouble tx, wxDouble ty )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  return self->CreateMatrix(a, b, c, d, tx, ty);-#else-  return NULL;-#endif-}--EWXWEXPORT(wxGraphicsPath,wxGraphicsRenderer_CreatePath)( wxGraphicsRenderer* self )-{-#ifdef wxUSE_GRAPHICS_CONTEXT-  return self->CreatePath();-#else-  return NULL;-#endif-}-*/--}--
− src/cpp/image.cpp
@@ -1,231 +0,0 @@-#include <memory.h>-#include <string.h>--#include "wrapper.h"--extern "C"-{--/* bitmap/image helpers */-EWXWEXPORT(wxBitmap*,wxBitmap_CreateFromImage)(wxImage* image,int depth)-{-  return new wxBitmap(*image,depth);-}---EWXWEXPORT(wxImage*,wxImage_CreateFromDataEx)(int width,int height,wxUint8* data,bool isStaticData)-{-  return new wxImage(width, height, data, isStaticData);-}---EWXWEXPORT(void,wxImage_Delete)(wxImage* image)-{-  delete image;-}---/* colours */-EWXWEXPORT(wxColour*,wxColour_CreateFromInt)(int rgb)-{-  return new wxColour((rgb >> 16) & 0xFF, (rgb >> 8) & 0xFF, rgb & 0xFF);-}--EWXWEXPORT(int,wxColour_GetInt)(wxColour* colour)-{-  int r = colour->Red();-  int g = colour->Green();-  int b = colour->Blue();-  return ((r << 16) | (g << 8) | b);-}--/* basic pixel manipulation */-EWXWEXPORT(void,wxcSetPixelRGB)(wxUint8* buffer,int width,int x,int y,int rgb)-{-  int indexR = 3*(width*y + x);-  buffer[indexR]   = rgb >> 16;-  buffer[indexR+1] = rgb >>  8;-  buffer[indexR+2] = rgb;-}--EWXWEXPORT(int,wxcGetPixelRGB)(wxUint8* buffer,int width,int x,int y)-{-  int indexR = 3*(width*y + x);-  int r,g,b;-  r = buffer[indexR];-  g = buffer[indexR+1];-  b = buffer[indexR+2];-  return ((r << 16) | (g << 8) | b);-}--EWXWEXPORT(void,wxcSetPixelRowRGB)(wxUint8* buffer,int width,int x,int y,int rgb0,int rgb1,int count)-{-  int r0  = ((rgb0 >> 16) && 0xFF);-  int g0  = ((rgb0 >>  8) && 0xFF);-  int b0  = (rgb0 && 0xFF);-  int start = 3*(width*y+x);-  int i;--  if (rgb0 == rgb1) {-    /* same color */-    for( i=0; i < count*3; i +=3) {-      buffer[start+i]   = r0;-      buffer[start+i+1] = g0;-      buffer[start+i+2] = b0;-    }-  }-  else {-    /* do linear interpolation of the color */-    int r1  = ((rgb1 >> 16) && 0xFF);-    int g1  = ((rgb1 >>  8) && 0xFF);-    int b1  = (rgb1 && 0xFF);--    int rd  = ((r1 - r0) << 16) / (count-1);-    int gd  = ((g1 - g0) << 16) / (count-1);-    int bd  = ((b1 - b0) << 16) / (count-1);--    int r   = r0 << 16;-    int g   = g0 << 16;-    int b   = b0 << 16;--    for( i = 0; i < count*3; i += 3 ) {-      buffer[start+i]   = (r >> 16);-      buffer[start+i+1] = (g >> 16);-      buffer[start+i+2] = (b >> 16);-      r += rd;-      g += gd;-      b += bd;-    }-  }-}--EWXWEXPORT(void,wxcInitPixelsRGB)(wxUint8* buffer,int width,int height,int rgb)-{-  int count        = width*height*3;-  wxUint8 r  = ((rgb >> 16) && 0xFF);-  wxUint8 g  = ((rgb >>  8) && 0xFF);-  wxUint8 b  = rgb && 0xFF;-  int i;--  if (r==g && g==b) {-    for( i=0; i < count; i++ ) {-      buffer[i] = r;-    }-  }-  else {-    for( i=0; i < count; i += 3) {-      buffer[i]   = r;-      buffer[i+1] = g;-      buffer[i+2] = b;-    }-  }-}--EWXWEXPORT(wxColour*,wxColour_CreateFromUnsignedInt)(unsigned int rgba)-{-  return new wxColour((rgba >> 24) & 0xFF, (rgba >> 16) & 0xFF, (rgba >> 8) & 0xFF, rgba & 0xFF);-}--EWXWEXPORT(unsigned int,wxColour_GetUnsignedInt)(wxColour* colour)-{-  int r = colour->Red();-  int g = colour->Green();-  int b = colour->Blue();-  int a = colour->Alpha();-  return ((r << 24) | (g << 16) | (b << 8) | a);-}--/* basic pixel manipulation */-EWXWEXPORT(void,wxcSetPixelRGBA)(wxUint8* buffer,int width,int x,int y,unsigned int rgba)-{-  unsigned int indexR = 4*(width*y + x);-  buffer[indexR]   = rgba >> 24;-  buffer[indexR+1] = rgba >> 16;-  buffer[indexR+2] = rgba >>  8;-  buffer[indexR+3] = rgba;-}--EWXWEXPORT(int,wxcGetPixelRGBA)(wxUint8* buffer,int width,int x,int y)-{-  unsigned int indexR = 4*(width*y + x);-  int r,g,b,a;-  r = buffer[indexR];-  g = buffer[indexR+1];-  b = buffer[indexR+2];-  a = buffer[indexR+3];-  return ((r << 24) | (g << 16) | (b << 8) | a);-}--EWXWEXPORT(void,wxcSetPixelRowRGBA)(wxUint8* buffer,int width,int x,int y,unsigned int rgba0,unsigned int rgba1,unsigned int count)-{-  int r0  = ((rgba0 >> 24) && 0xFF);-  int g0  = ((rgba0 >> 16) && 0xFF);-  int b0  = ((rgba0 >>  8) && 0xFF);-  int a0  = (rgba0 && 0xFF);-  unsigned int start = 4*(width*y+x);-  unsigned int i;--  if (rgba0 == rgba1) {-    /* same color */-    for( i=0; i < count*4; i +=4) {-      buffer[start+i]   = r0;-      buffer[start+i+1] = g0;-      buffer[start+i+2] = b0;-      buffer[start+i+3] = a0;-    }-  }-  else {-    /* do linear interpolation of the color */-    int r1  = ((rgba1 >> 24) && 0xFF);-    int g1  = ((rgba1 >> 16) && 0xFF);-    int b1  = ((rgba1 >>  8) && 0xFF);-    int a1  = (rgba1 && 0xFF);--    int rd  = ((r1 - r0) << 24) / (count-1);-    int gd  = ((g1 - g0) << 24) / (count-1);-    int bd  = ((b1 - b0) << 24) / (count-1);-    int ad  = ((a1 - a0) << 24) / (count-1);--    int r   = r0 << 24;-    int g   = g0 << 24;-    int b   = b0 << 24;-    int a   = b0 << 24;--    for( i = 0; i < count*4; i += 4 ) {-      buffer[start+i]   = (r >> 24);-      buffer[start+i+1] = (g >> 24);-      buffer[start+i+2] = (b >> 24);-      buffer[start+i+3] = (a >> 24);-      r += rd;-      g += gd;-      b += bd;-      a += ad;-    }-  }-}--EWXWEXPORT(void,wxcInitPixelsRGBA)(wxUint8* buffer,int width,int height,int rgba)-{-  unsigned int count        = width*height*4;-  wxUint8 r  = ((rgba >> 24) && 0xFF);-  wxUint8 g  = ((rgba >> 16) && 0xFF);-  wxUint8 b  = ((rgba >>  8) && 0xFF);-  wxUint8 a  = rgba && 0xFF;-  unsigned int i;--  if (r==g && g==b && b==a) {-    for( i=0; i < count; i++ ) {-      buffer[i] = r;-    }-  }-  else {-    for( i=0; i < count; i += 4) {-      buffer[i]   = r;-      buffer[i+1] = g;-      buffer[i+2] = b;-      buffer[i+3] = a;-    }-  }-}--}
− src/cpp/managed.cpp
@@ -1,543 +0,0 @@-#include "wrapper.h"--/* safety */-class wxManagedPtr;-#include "wxc_types.h"-#include "managed.h"---/*------------------------------------------------------------------------------   Managed pointers are pointed to by ForeignPtr's in Haskell.-   They are basically indirections with a finalization-   function.------------------------------------------------------------------------------*/-typedef void (_cdecl *Finalizer)(void* ptr);--class wxManagedPtr -{-private:-  void*     ptr;-  Finalizer finalizer;--public:-  wxManagedPtr( void* p, Finalizer f ) -  {-    ptr       = p;-    finalizer = f;-  };--  void* GetPtr() -  {-    return ptr;-  }--  void NoFinalize()-  {-    finalizer = NULL;-  }--  void Finalize()-  {-    if (ptr!=NULL && finalizer!=NULL) {-      finalizer(ptr);-      finalizer = NULL;-    }-  }--  ~wxManagedPtr() -  {-    Finalize();-  };-};--extern "C" {-/*------------------------------------------------------------------------------  Operations------------------------------------------------------------------------------*/-EWXWEXPORT(void*,wxManagedPtr_GetPtr)(wxManagedPtr* self)-{-  if (self!=NULL) return self->GetPtr();-             else return NULL;-}--EWXWEXPORT(void,wxManagedPtr_NoFinalize)(wxManagedPtr* self)-{-  if (self!=NULL) {-    self->NoFinalize();-  }-}--EWXWEXPORT(void,wxManagedPtr_Finalize)(wxManagedPtr* self)-{-  if (self!=NULL) {-    self->Finalize();-  }-}--EWXWEXPORT(void,wxManagedPtr_Delete)(wxManagedPtr* self)-{-  if (self!=NULL) {-    delete self;-  }-}--static void _cdecl deleteManagedPtr(wxManagedPtr* mp)-{-  if (mp!=NULL) {-    delete mp;-  }-}--EWXWEXPORT(void*,wxManagedPtr_GetDeleteFunction)()-{-  return (void*)&deleteManagedPtr;  -}----/*------------------------------------------------------------------------------  Finalize wxObject------------------------------------------------------------------------------*/-static void _cdecl deleteObject( wxObject* obj )-{-  if (obj!=NULL) {-    delete obj;-  }-}--EWXWEXPORT(void,wxObject_SafeDelete)(wxObject* obj)-{-  deleteObject(obj);-}--EWXWEXPORT(wxManagedPtr*,wxManagedPtr_CreateFromObject)(wxObject* ptr)-{-  return new wxManagedPtr( ptr, (Finalizer)&deleteObject );-}--/*------------------------------------------------------------------------------  Finalize DateTime------------------------------------------------------------------------------*/-static void _cdecl deleteDateTime( wxDateTime* obj )-{-  if (obj!=NULL) {-    delete obj;-  }-}---EWXWEXPORT(wxManagedPtr*,wxManagedPtr_CreateFromDateTime)(wxDateTime* ptr)-{-  return new wxManagedPtr( ptr, (Finalizer)&deleteDateTime );-}--/*------------------------------------------------------------------------------  Finalize wxGridCellCoordsArray------------------------------------------------------------------------------*/-static void _cdecl deleteGridCellCoordsArray( wxGridCellCoordsArray* obj )-{-  if (obj!=NULL) {-    delete obj;-  }-}---EWXWEXPORT(wxManagedPtr*,wxManagedPtr_CreateFromGridCellCoordsArray)(wxGridCellCoordsArray* ptr)-{-  return new wxManagedPtr( ptr, (Finalizer)&deleteGridCellCoordsArray );-}---/*------------------------------------------------------------------------------  Finalize wxBitmap------------------------------------------------------------------------------*/-EWXWEXPORT(bool,wxBitmap_IsStatic)(wxBitmap* obj)-{-  static int calls=0; calls++;    /* prevent bug in VisualC 6.0 ? */-  return (obj==&wxNullBitmap || obj==NULL);-}--static void _cdecl deleteBitmap( wxBitmap* obj )-{-  if (!wxBitmap_IsStatic(obj)) {-    delete obj;-  }-}--EWXWEXPORT(void,wxBitmap_SafeDelete)(wxBitmap* obj)-{-  deleteBitmap(obj);-}--EWXWEXPORT(wxManagedPtr*,wxManagedPtr_CreateFromBitmap)(wxBitmap* ptr)-{-  return new wxManagedPtr( ptr, (Finalizer)&deleteBitmap );-}---/*------------------------------------------------------------------------------  Finalize wxIcon------------------------------------------------------------------------------*/-EWXWEXPORT(bool,wxIcon_IsStatic)(wxIcon* obj)-{-  static int calls=0; calls++;    /* prevent bug in VisualC 6.0 ? */-  return (obj==NULL || obj==&wxNullIcon);-}--static void _cdecl deleteIcon( wxIcon* obj )-{-  if (!wxIcon_IsStatic(obj)) {-    delete obj;-  }-}--EWXWEXPORT(void,wxIcon_SafeDelete)(wxIcon* obj)-{-  deleteIcon(obj);-}--EWXWEXPORT(wxManagedPtr*,wxManagedPtr_CreateFromIcon)(wxIcon* ptr)-{-  return new wxManagedPtr( ptr, (Finalizer)&deleteIcon );-}---/*------------------------------------------------------------------------------  Finalize wxBrush------------------------------------------------------------------------------*/-/* defined as macro to type without casts ... sigh */-/* use indirection array to let wx properly initialize the object pointers */--#define IsStatic(obj,statics) \-  { \-    int i; \-    if (obj==NULL) return true; \-    for( i = 0; statics[i] != NULL; i++ ) \-    { \-      if (*statics[i] == obj) return true; \-    }  \-    return false; \-  }---#if (wxVERSION_NUMBER < 2800)-static wxBrush* wxNULL_BRUSH = &wxNullBrush;--static wxBrush** staticsBrush[] =-    {&wxNULL_BRUSH-    ,&wxBLUE_BRUSH-    ,&wxGREEN_BRUSH-    ,&wxWHITE_BRUSH-    ,&wxBLACK_BRUSH-    ,&wxGREY_BRUSH-    ,&wxMEDIUM_GREY_BRUSH-    ,&wxLIGHT_GREY_BRUSH-    ,&wxTRANSPARENT_BRUSH-    ,&wxCYAN_BRUSH-    ,&wxRED_BRUSH-    ,NULL-    };-#else-/* VS2005 doesn't allow taking the address of the returned value of -   a function call. The code below ensures that there's actually an-   address assigned in each case.--   Just to compilcate matters, all of the values are now const-   pointers. This is correct, but implies lots of downstream changes-   so (horrible hack) I get rid of the 'constness'...- */-static wxBrush* wxNULL_BRUSH         = const_cast<wxBrush*>(&wxNullBrush);-static wxBrush* wxcBLUE_BRUSH        = const_cast<wxBrush*>(wxBLUE_BRUSH);-static wxBrush* wxcGREEN_BRUSH       = const_cast<wxBrush*>(wxGREEN_BRUSH);-static wxBrush* wxcWHITE_BRUSH       = const_cast<wxBrush*>(wxWHITE_BRUSH);-static wxBrush* wxcBLACK_BRUSH       = const_cast<wxBrush*>(wxBLACK_BRUSH);-static wxBrush* wxcGREY_BRUSH        = const_cast<wxBrush*>(wxGREY_BRUSH);-static wxBrush* wxcMEDIUM_GREY_BRUSH = const_cast<wxBrush*>(wxMEDIUM_GREY_BRUSH);-static wxBrush* wxcLIGHT_GREY_BRUSH  = const_cast<wxBrush*>(wxLIGHT_GREY_BRUSH);-static wxBrush* wxcTRANSPARENT_BRUSH = const_cast<wxBrush*>(wxTRANSPARENT_BRUSH);-static wxBrush* wxcCYAN_BRUSH        = const_cast<wxBrush*>(wxCYAN_BRUSH);-static wxBrush* wxcRED_BRUSH         = const_cast<wxBrush*>(wxRED_BRUSH);--static wxBrush** staticsBrush[] =-    {&wxNULL_BRUSH-    ,&wxcBLUE_BRUSH-    ,&wxcGREEN_BRUSH-    ,&wxcWHITE_BRUSH-    ,&wxcBLACK_BRUSH-    ,&wxcGREY_BRUSH-    ,&wxcMEDIUM_GREY_BRUSH-    ,&wxcLIGHT_GREY_BRUSH-    ,&wxcTRANSPARENT_BRUSH-    ,&wxcCYAN_BRUSH-    ,&wxcRED_BRUSH-    ,NULL-    };--#endif--EWXWEXPORT(bool,wxBrush_IsStatic)(wxBrush* obj)-{-  IsStatic(obj,staticsBrush);  -}--static void _cdecl deleteBrush( wxBrush* obj )-{-  if (!wxBrush_IsStatic(obj)) {-    delete obj;-  }-}--EWXWEXPORT(void,wxBrush_SafeDelete)(wxBrush* obj)-{-  deleteBrush(obj);-}--EWXWEXPORT(wxManagedPtr*,wxManagedPtr_CreateFromBrush)(wxBrush* ptr)-{-  return new wxManagedPtr( ptr, (Finalizer)&deleteBrush );-}--/*------------------------------------------------------------------------------  Finalize wxColour------------------------------------------------------------------------------*/-static wxColour* wxNULL_COLOUR = &wxNullColour;--#if (wxVERSION_NUMBER < 2800)-static wxColour** staticsColour[] = -    {&wxNULL_COLOUR-    ,&wxBLACK-    ,&wxWHITE-    ,&wxRED-    ,&wxBLUE-    ,&wxGREEN-    ,&wxCYAN-    ,&wxLIGHT_GREY-    ,NULL-    };-#else-static wxColour* wxcBLACK      = const_cast<wxColour *>(wxBLACK);-static wxColour* wxcWHITE      = const_cast<wxColour *>(wxWHITE);-static wxColour* wxcRED        = const_cast<wxColour *>(wxRED);-static wxColour* wxcBLUE       = const_cast<wxColour *>(wxBLUE);-static wxColour* wxcGREEN      = const_cast<wxColour *>(wxGREEN);-static wxColour* wxcCYAN       = const_cast<wxColour *>(wxCYAN);-static wxColour* wxcLIGHT_GREY = const_cast<wxColour *>(wxLIGHT_GREY);--static wxColour** staticsColour[] = -    {&wxNULL_COLOUR-    ,&wxcBLACK-    ,&wxcWHITE-    ,&wxcRED-    ,&wxcBLUE-    ,&wxcGREEN-    ,&wxcCYAN-    ,&wxcLIGHT_GREY-    ,NULL-    };-#endif--EWXWEXPORT(bool,wxColour_IsStatic)(wxColour* obj)-{-  IsStatic(obj,staticsColour);  -}--static void _cdecl deleteColour( wxColour* obj )-{-  if (!wxColour_IsStatic(obj)) {-    delete obj;-  }-}--EWXWEXPORT(void,wxColour_SafeDelete)(wxColour* obj)-{-  deleteColour(obj);-}--EWXWEXPORT(wxManagedPtr*,wxManagedPtr_CreateFromColour)(wxColour* ptr)-{-  return new wxManagedPtr( ptr, (Finalizer)&deleteColour );-}---/*------------------------------------------------------------------------------  Finalize wxCursor------------------------------------------------------------------------------*/-wxCursor*** staticsCursor(void)-{-#if (wxVERSION_NUMBER < 2800)-static wxCursor* wxNULL_CURSOR = &wxNullCursor;--static wxCursor** staticsCursor[] = -    {&wxNULL_CURSOR-    ,&wxSTANDARD_CURSOR-    ,&wxHOURGLASS_CURSOR-    ,&wxCROSS_CURSOR-    ,NULL-    };-#else-static wxCursor* wxNULL_CURSOR       = const_cast<wxCursor *>(&wxNullCursor);-static wxCursor* wxcSTANDARD_CURSOR  = const_cast<wxCursor *>(wxSTANDARD_CURSOR);-static wxCursor* wxcHOURGLASS_CURSOR = const_cast<wxCursor *>(wxHOURGLASS_CURSOR);-//static wxCursor* wxcCROSS_CURSOR     = const_cast<wxCursor *>(wxCROSS_CURSOR);--static wxCursor** staticsCursor[] = -    {&wxNULL_CURSOR-    ,&wxcSTANDARD_CURSOR-    ,&wxcHOURGLASS_CURSOR-     //,&wxcCROSS_CURSOR-    ,NULL-    };-#endif-  return staticsCursor;-}--EWXWEXPORT(bool,wxCursor_IsStatic)(wxCursor* obj)-{-  IsStatic(obj,staticsCursor());  -}--static void _cdecl deleteCursor( wxCursor* obj )-{-  if (!wxCursor_IsStatic(obj)) {-    delete obj;-  }-}--EWXWEXPORT(void,wxCursor_SafeDelete)(wxCursor* obj)-{-  deleteCursor(obj);-}--EWXWEXPORT(wxManagedPtr*,wxManagedPtr_CreateFromCursor)(wxCursor* ptr)-{-  return new wxManagedPtr( ptr, (Finalizer)&deleteCursor );-}---/*------------------------------------------------------------------------------  Finalize wxFont------------------------------------------------------------------------------*/--#if (wxVERSION_NUMBER < 2800)-static wxFont* wxNULL_FONT  = &wxNullFont;--static wxFont** staticsFont[] = -    {&wxNULL_FONT-    ,&wxNORMAL_FONT-    ,&wxSMALL_FONT-    ,&wxITALIC_FONT-    ,&wxSWISS_FONT-    ,NULL-    };-#else-static wxFont* wxNULL_FONT    = const_cast<wxFont *>(&wxNullFont);-// static wxFont* wxcNORMAL_FONT = const_cast<wxFont *>(wxNORMAL_FONT);-//static wxFont* wxcSMALL_FONT  = const_cast<wxFont *>(wxSMALL_FONT);-//static wxFont* wxcITALIC_FONT = const_cast<wxFont *>(wxITALIC_FONT);-//static wxFont* wxcSWISS_FONT  = const_cast<wxFont *>(wxSWISS_FONT);--static wxFont** staticsFont[] = -    {&wxNULL_FONT-     //    ,&wxcNORMAL_FONT-     //,&wxcSMALL_FONT-     //,&wxcITALIC_FONT-     //,&wxcSWISS_FONT-    ,NULL-    };-#endif--EWXWEXPORT(bool,wxFont_IsStatic)(wxFont* obj)-{-  IsStatic(obj,staticsFont);  -}--static void _cdecl deleteFont( wxFont* obj )-{-  if (!wxFont_IsStatic(obj)) {-    delete obj;-  }-}--EWXWEXPORT(void,wxFont_SafeDelete)(wxFont* obj)-{-  deleteFont(obj);-}--EWXWEXPORT(wxManagedPtr*,wxManagedPtr_CreateFromFont)(wxFont* ptr)-{-  return new wxManagedPtr( ptr, (Finalizer)&deleteFont );-}---/*------------------------------------------------------------------------------  Finalize wxPen------------------------------------------------------------------------------*/-static wxPen* wxNULL_PEN = &wxNullPen;--#if (wxVERSION_NUMBER < 2800)-static wxPen** staticsPen[] = -    {&wxNULL_PEN-    ,&wxRED_PEN-    ,&wxCYAN_PEN-    ,&wxGREEN_PEN-    ,&wxBLACK_PEN-    ,&wxWHITE_PEN-    ,&wxTRANSPARENT_PEN-    ,&wxBLACK_DASHED_PEN-    ,&wxGREY_PEN-    ,&wxMEDIUM_GREY_PEN-    ,&wxLIGHT_GREY_PEN-    ,NULL-    };-#else-static wxPen* wxcRED_PEN          = const_cast<wxPen *>(wxRED_PEN);-static wxPen* wxcCYAN_PEN         = const_cast<wxPen *>(wxCYAN_PEN);-static wxPen* wxcGREEN_PEN        = const_cast<wxPen *>(wxGREEN_PEN);-static wxPen* wxcBLACK_PEN        = const_cast<wxPen *>(wxBLACK_PEN);-static wxPen* wxcWHITE_PEN        = const_cast<wxPen *>(wxWHITE_PEN);-static wxPen* wxcTRANSPARENT_PEN  = const_cast<wxPen *>(wxTRANSPARENT_PEN);-static wxPen* wxcBLACK_DASHED_PEN = const_cast<wxPen *>(wxBLACK_DASHED_PEN);-static wxPen* wxcGREY_PEN         = const_cast<wxPen *>(wxGREY_PEN);-static wxPen* wxcMEDIUM_GREY_PEN  = const_cast<wxPen *>(wxMEDIUM_GREY_PEN);-static wxPen* wxcLIGHT_GREY_PEN   = const_cast<wxPen *>(wxLIGHT_GREY_PEN);--static wxPen** staticsPen[] = -    {&wxNULL_PEN-    ,&wxcRED_PEN-    ,&wxcCYAN_PEN-    ,&wxcGREEN_PEN-    ,&wxcBLACK_PEN-    ,&wxcWHITE_PEN-    ,&wxcTRANSPARENT_PEN-    ,&wxcBLACK_DASHED_PEN-    ,&wxcGREY_PEN-    ,&wxcMEDIUM_GREY_PEN-    ,&wxcLIGHT_GREY_PEN-    ,NULL-    };-#endif--EWXWEXPORT(bool,wxPen_IsStatic)(wxPen* obj)-{-  IsStatic(obj,staticsPen);  -}--static void _cdecl deletePen( wxPen* obj )-{-  if (!wxPen_IsStatic(obj)) {-    delete obj;-  }-}--EWXWEXPORT(void,wxPen_SafeDelete)(wxPen* obj)-{-  deletePen(obj);-}--EWXWEXPORT(wxManagedPtr*,wxManagedPtr_CreateFromPen)(wxPen* ptr)-{-  return new wxManagedPtr( ptr, (Finalizer)&deletePen );-}--/* extern "C" */-}
− src/cpp/mediactrl.cpp
@@ -1,277 +0,0 @@-#include "wrapper.h"-#ifdef wxUSE_MEDIACTRL-#include "wx/mediactrl.h"-#endif--/* testing */-// #define wxUSE_MEDIACTRL 0--/*------------------------------------------------------------------------------  We want to include the function signatures always -- even on -  systems that don't support MediaCtrl. This means that every function body is-  surrounded by #ifdef wxUSE_MEDIACTRL directives :-(------------------------------------------------------------------------------*/-#if defined(wxUSE_MEDIACTRL) && (wxUSE_MEDIACTRL==0)-# undef wxUSE_MEDIACTRL-#endif--#if defined(wxcREFUSE_MEDIACTRL)-# undef wxUSE_MEDIACTRL-#endif--#ifndef wxUSE_MEDIACTRL-# define wxMediaCtrl      void-#endif--#if (wxVERSION_NUMBER <= 2600)-# define wxFileOffset      long-#endif--extern "C" {-/*------------------------------------------------------------------------------  MediaCtrl------------------------------------------------------------------------------*/-EWXWEXPORT(wxMediaCtrl*,wxMediaCtrl_Create)( void* parent, int id,-                                             wxString* fileName, int x, int y, int w, int h,-                                             long style, wxString* szBackend, wxString* name)-{-#ifdef wxUSE_MEDIACTRL-  return new wxMediaCtrl((wxWindow*)parent,(wxWindowID)id,-    (fileName ? *fileName : wxString(wxT(""))),-    wxPoint(x,y),wxSize(w,h),style,-    (szBackend ? *szBackend : wxString(wxT(""))), wxDefaultValidator,-    (name ? *name : wxString(wxT("MediaCtrl"))));-#else-  return NULL;-#endif-}--/* we don't need this.-EWXWEXPORT(wxMediaCtrl*,wxMediaCtrl_Create)( void* parent, int id,-                                             wxString* fileName, int x, int y, int w, int h,-                                             long style, wxString* szBackend, wxString* name)-{-#ifdef wxUSE_MEDIACTRL-  return wxMediaCtrl->Create((wxWindow*)parent,(wxWindowID)id,-    (fileName ? *fileName : wxString(wxT(""))),-    wxPoint(x,y),wxSize(w,h),style,-    (szBackend ? *szBackend : wxString(wxT(""))), wxDefaultValidator,-    (name ? *name : wxString(wxT("MediaCtrl"))));-#else-  return NULL;-#endif-}-*/--EWXWEXPORT(void,wxMediaCtrl_Delete)(wxMediaCtrl* self)  -{-#ifdef wxUSE_MEDIACTRL-  if (self) delete self;-#endif-}--EWXWEXPORT(wxSize*,wxMediaCtrl_GetBestSize)(wxMediaCtrl* self)-{-#ifdef wxUSE_MEDIACTRL-  wxSize* sz = new wxSize();-  *sz = self->GetBestSize();-  return sz;-#endif-}--EWXWEXPORT(double,wxMediaCtrl_GetPlaybackRate)(wxMediaCtrl* self)-{-#ifdef wxUSE_MEDIACTRL-  return self->GetPlaybackRate();-#else-  return 0;-#endif-}--EWXWEXPORT(double,wxMediaCtrl_GetVolume)(wxMediaCtrl* self)-{-#ifdef wxUSE_MEDIACTRL-  return self->GetVolume();-#else-  return 0;-#endif-}--EWXWEXPORT(int,wxMediaCtrl_GetState)(wxMediaCtrl* self)-{-#ifdef wxUSE_MEDIACTRL-  return self->GetState();-#else-  return 0;-#endif-}--EWXWEXPORT(wxFileOffset,wxMediaCtrl_Length)(wxMediaCtrl* self)-{-#ifdef wxUSE_MEDIACTRL-  return self->Length();-#else-  return 0;-#endif-}--EWXWEXPORT(bool,wxMediaCtrl_Load)(wxMediaCtrl* self, const wxString* fileName)-{-#ifdef wxUSE_MEDIACTRL-  return self->Load(*fileName);-#else-  return false;-#endif-}--EWXWEXPORT(bool,wxMediaCtrl_LoadURI)(wxMediaCtrl* self, const wxString* uri)-{-#ifdef wxUSE_MEDIACTRL-  return self->LoadURI(*uri);-#else-  return false;-#endif-}--EWXWEXPORT(bool,wxMediaCtrl_LoadURIWithProxy)(wxMediaCtrl* self, const wxString* uri, const wxString* proxy)-{-#ifdef wxUSE_MEDIACTRL-  return self->LoadURIWithProxy(*uri, *proxy);-#else-  return false;-#endif-}--EWXWEXPORT(bool,wxMediaCtrl_Pause)(wxMediaCtrl* self)-{-#ifdef wxUSE_MEDIACTRL-  return self->Pause();-#else-  return false;-#endif-}--EWXWEXPORT(bool,wxMediaCtrl_Play)(wxMediaCtrl* self)-{-#ifdef wxUSE_MEDIACTRL-  return self->Play();-#else-  return false;-#endif-}--EWXWEXPORT(wxFileOffset,wxMediaCtrl_Seek)(wxMediaCtrl* self, wxFileOffset offsetWhere, int mode)-{-#ifdef wxUSE_MEDIACTRL-  return self->Seek(offsetWhere, static_cast<wxSeekMode>(mode));-#else-  return NULL;-#endif-}--EWXWEXPORT(bool,wxMediaCtrl_SetPlaybackRate)(wxMediaCtrl* self, double dRate)-{-#ifdef wxUSE_MEDIACTRL-  return self->SetPlaybackRate(dRate);-#else-  return false;-#endif-}--EWXWEXPORT(bool,wxMediaCtrl_SetVolume)(wxMediaCtrl* self, double dVolume)-{-#ifdef wxUSE_MEDIACTRL-  return self->SetVolume(dVolume);-#else-  return false;-#endif-}--EWXWEXPORT(bool,wxMediaCtrl_ShowPlayerControls)(wxMediaCtrl* self, int flags)-{-#ifdef wxUSE_MEDIACTRL-  return self->ShowPlayerControls(static_cast<wxMediaCtrlPlayerControls>(flags));-#else-  return false;-#endif-}--EWXWEXPORT(bool,wxMediaCtrl_Stop)(wxMediaCtrl* self)-{-#ifdef wxUSE_MEDIACTRL-  return self->Stop();-#else-  return false;-#endif-}--EWXWEXPORT(wxFileOffset, wxMediaCtrl_Tell) (wxMediaCtrl* self)-{-#ifdef wxUSE_MEDIACTRL-  return self->Tell();-#else-  return 0;-#endif-}---/*------------------------------------------------------------------------------  MediaEvent------------------------------------------------------------------------------*/-EWXWEXPORT(int,expEVT_MEDIA_LOADED)()-{-#ifdef wxUSE_MEDIACTRL-    return (int)wxEVT_MEDIA_LOADED;-#else-    return 0;-#endif-}--EWXWEXPORT(int,expEVT_MEDIA_STOP)()-{-#ifdef wxUSE_MEDIACTRL-    return (int)wxEVT_MEDIA_STOP;-#else-    return 0;-#endif-}--EWXWEXPORT(int,expEVT_MEDIA_FINISHED)()-{-#ifdef wxUSE_MEDIACTRL-    return (int)wxEVT_MEDIA_FINISHED;-#else-    return 0;-#endif-}--EWXWEXPORT(int,expEVT_MEDIA_STATECHANGED)()-{-#ifdef wxUSE_MEDIACTRL-    return (int)wxEVT_MEDIA_STATECHANGED;-#else-    return 0;-#endif-}--EWXWEXPORT(int,expEVT_MEDIA_PLAY)()-{-#ifdef wxUSE_MEDIACTRL-    return (int)wxEVT_MEDIA_PLAY;-#else-    return 0;-#endif-}--EWXWEXPORT(int,expEVT_MEDIA_PAUSE)()-{-#ifdef wxUSE_MEDIACTRL-    return (int)wxEVT_MEDIA_PAUSE;-#else-    return 0;-#endif-}--}--
− src/cpp/previewframe.cpp
@@ -1,36 +0,0 @@-#include "wrapper.h"-#include "wx/wx.h"-#include "wx/print.h"--/*------------------------------------------------------------------------------------------------------------------------------------------------------------*/-extern "C" {--/*------------------------------------------------------------------------------  PreviewFrame------------------------------------------------------------------------------*/-EWXWEXPORT(wxPreviewFrame*, wxPreviewFrame_Create)( wxPrintPreview* preview-                                                  , wxFrame* parent-                                                  , wxString* title-                                                  , int x, int y-                                                  , int w, int h-                                                  , int style-                                                  , wxString* name-                                                  )-{-  return new wxPreviewFrame( preview, parent, *title, wxPoint(x,y), wxSize(w,h), style, *name );-}--EWXWEXPORT(void, wxPreviewFrame_Delete)( wxPreviewFrame* self )-{-  if (self) delete self;-}--EWXWEXPORT(void, wxPreviewFrame_Initialize)( wxPreviewFrame* self )-{-  self->Initialize();-}---}
− src/cpp/printout.cpp
@@ -1,407 +0,0 @@-#include "wrapper.h"
-#include "wx/wx.h"
-#include "wx/print.h"
-#include "wx/printdlg.h"
-
-
-/*-----------------------------------------------------------------------------
-  Special wxPrintout class that sends events.
------------------------------------------------------------------------------*/
-/*-----------------------------------------------------------------------------
-  new event types
------------------------------------------------------------------------------*/
-BEGIN_DECLARE_EVENT_TYPES()
-    DECLARE_LOCAL_EVENT_TYPE(wxEVT_PRINT_BEGIN, 2000)
-    DECLARE_LOCAL_EVENT_TYPE(wxEVT_PRINT_END, 2001 )
-    DECLARE_LOCAL_EVENT_TYPE(wxEVT_PRINT_BEGIN_DOC, 1002 )
-    DECLARE_LOCAL_EVENT_TYPE(wxEVT_PRINT_END_DOC, 1003 )
-    DECLARE_LOCAL_EVENT_TYPE(wxEVT_PRINT_PREPARE, 1004 )
-    DECLARE_LOCAL_EVENT_TYPE(wxEVT_PRINT_PAGE, 1005 )
-END_DECLARE_EVENT_TYPES()
-
-
-DEFINE_LOCAL_EVENT_TYPE( wxEVT_PRINT_BEGIN )
-DEFINE_LOCAL_EVENT_TYPE( wxEVT_PRINT_END )
-DEFINE_LOCAL_EVENT_TYPE( wxEVT_PRINT_BEGIN_DOC )
-DEFINE_LOCAL_EVENT_TYPE( wxEVT_PRINT_END_DOC )
-DEFINE_LOCAL_EVENT_TYPE( wxEVT_PRINT_PREPARE )
-DEFINE_LOCAL_EVENT_TYPE( wxEVT_PRINT_PAGE )
-
-extern "C" {
-
-EWXWEXPORT(int,expEVT_PRINT_BEGIN)()
-{
-  return (int)wxEVT_PRINT_BEGIN;
-}
-
-EWXWEXPORT(int,expEVT_PRINT_BEGIN_DOC)()
-{
-  return (int)wxEVT_PRINT_BEGIN_DOC;
-}
-
-EWXWEXPORT(int,expEVT_PRINT_END)()
-{
-  return (int)wxEVT_PRINT_END;
-}
-
-EWXWEXPORT(int,expEVT_PRINT_END_DOC)()
-{
-  return (int)wxEVT_PRINT_END_DOC;
-}
-
-EWXWEXPORT(int,expEVT_PRINT_PREPARE)()
-{
-  return (int)wxEVT_PRINT_PREPARE;
-}
-
-EWXWEXPORT(int,expEVT_PRINT_PAGE)()
-{
-  return (int)wxEVT_PRINT_PAGE;
-}
-
-}
-
-
-/*-----------------------------------------------------------------------------
-  Printout and events
------------------------------------------------------------------------------*/
-
-class wxcPrintout : public wxPrintout
-{
-private:
-  DECLARE_DYNAMIC_CLASS(wxcPrintout)
-
-protected:
-  int   m_startPage;
-  int   m_endPage;
-  int   m_fromPage;
-  int   m_toPage;
-  wxEvtHandler* m_evtHandler;
-
-public:
-  wxcPrintout() : wxPrintout() {};
-  wxcPrintout( const wxString& title );
-  ~wxcPrintout();
-
-  void SetPageLimits( int startPage, int endPage, int fromPage, int toPage );   
-  wxEvtHandler* GetEvtHandler();
-
-  /* virtual members */
-  void GetPageInfo( int* startPage, int* endPage, int* fromPage, int* toPage );
-  bool OnBeginDocument( int startPage, int endPage );
-  void OnEndDocument();
-  void OnBeginPrinting();
-  void OnEndPrinting();
-  void OnPreparePrinting();
-  bool OnPrintPage( int page );
-  bool HasPage( int page );
-};
-
-IMPLEMENT_DYNAMIC_CLASS(wxcPrintout, wxPrintout)
-
-
-class wxcPrintEvent : public wxEvent
-{
-private:
-    DECLARE_DYNAMIC_CLASS(wxcPrintEvent)
-private:
-    wxcPrintout* m_printOut;
-    int         m_page;
-    int         m_lastPage;
-    bool        m_continue;
-
-public:
-    wxcPrintEvent() : wxEvent() {};
-    wxcPrintEvent( const wxcPrintEvent& printEvent ); // copy constructor
-    wxcPrintEvent( wxEventType evtType, int id, wxcPrintout* printOut, int page, int lastPage );
-    wxEvent* Clone() const          { return new wxcPrintEvent(*this); }
-
-    wxcPrintout* GetPrintout();
-    int         GetPage();
-    int         GetEndPage();
-    bool        GetContinue();
-    void        SetContinue( bool cont );
-    void        SetPageLimits( int startPage, int endPage, int fromPage, int toPage );   
-};
-
-IMPLEMENT_DYNAMIC_CLASS(wxcPrintEvent, wxEvent)
-
-
-/*-----------------------------------------------------------------------------
-  Print events
------------------------------------------------------------------------------*/
-wxcPrintEvent::wxcPrintEvent( wxEventType evtType, int id, wxcPrintout* printOut, int page, int lastPage )
-: wxEvent( id, evtType )
-{
-  m_printOut = printOut;
-  m_page     = page;
-  m_lastPage = lastPage;
-  m_continue = true;
-}
-
-wxcPrintEvent::wxcPrintEvent( const wxcPrintEvent& printEvent ) : wxEvent( printEvent )
-{
-  m_printOut = printEvent.m_printOut;
-  m_page     = printEvent.m_page;
-  m_lastPage = printEvent.m_lastPage;
-  m_continue = printEvent.m_continue;
-}
-
-wxcPrintout* wxcPrintEvent::GetPrintout()
-{
-  return m_printOut;
-}
-
-int wxcPrintEvent::GetPage()
-{
-  return m_page;
-}
-
-int wxcPrintEvent::GetEndPage()
-{
-  return m_lastPage;
-}
-
-bool wxcPrintEvent::GetContinue()
-{
-  return m_continue;
-}
-
-void wxcPrintEvent::SetContinue( bool cont )
-{
-  m_continue = cont;
-}
-
-void wxcPrintEvent::SetPageLimits( int startPage, int endPage, int fromPage, int toPage )
-{
-  if (m_printOut) {
-    m_printOut->SetPageLimits( startPage, endPage, fromPage, toPage );
-  }
-}
-
-
-/*-----------------------------------------------------------------------------
-  Printout 
------------------------------------------------------------------------------*/
-wxcPrintout::wxcPrintout( const wxString& title ) : wxPrintout( title )
-{
-  m_startPage = 1;
-  m_endPage   = 32000;
-  m_fromPage  = 1;
-  m_toPage    = 1;
-  m_evtHandler = new wxEvtHandler();
-}
-
-wxcPrintout::~wxcPrintout()
-{
-  if (m_evtHandler) delete m_evtHandler;
-}
-
-wxEvtHandler* wxcPrintout::GetEvtHandler()
-{
-  return m_evtHandler;
-}
-
-void wxcPrintout::SetPageLimits( int startPage, int endPage, int fromPage, int toPage )
-{
-  m_startPage = startPage;
-  m_endPage   = endPage;
-  m_fromPage  = fromPage;
-  m_toPage    = toPage;  
-}
-
-void wxcPrintout::GetPageInfo( int* startPage, int* endPage, int* fromPage, int* toPage )
-{
-  if (startPage) *startPage = m_startPage;
-  if (endPage)   *endPage   = m_endPage;
-  if (fromPage)  *fromPage  = m_fromPage;
-  if (toPage)    *toPage    = m_toPage;
-}
-
-bool wxcPrintout::OnBeginDocument( int startPage, int endPage )
-{
-  bool cont = wxPrintout::OnBeginDocument( startPage, endPage );
-  if (cont) {
-    wxcPrintEvent printEvent( wxEVT_PRINT_BEGIN_DOC, 0, this, startPage, endPage );
-    m_evtHandler->ProcessEvent( printEvent );
-    cont = printEvent.GetContinue();
-  }
-  return cont;
-}
-
-void wxcPrintout::OnEndDocument()
-{
-  wxcPrintEvent printEvent( wxEVT_PRINT_END_DOC, 0, this, 0, 0 );
-  m_evtHandler->ProcessEvent(printEvent);
-  wxPrintout::OnEndDocument();
-}
-
-void wxcPrintout::OnBeginPrinting()
-{
-  wxcPrintEvent printEvent( wxEVT_PRINT_BEGIN, 0, this, 0, 0 );
-  wxPrintout::OnBeginPrinting();
-  m_evtHandler->ProcessEvent(printEvent);
-}
-
-void wxcPrintout::OnEndPrinting()
-{
-  wxcPrintEvent printEvent( wxEVT_PRINT_END, 0, this, 0, 0 );
-  m_evtHandler->ProcessEvent(printEvent);
-  wxPrintout::OnEndPrinting();
-}
-
-void wxcPrintout::OnPreparePrinting()
-{
-  wxcPrintEvent printEvent( wxEVT_PRINT_PREPARE, 0, this, 0, 0 );
-  wxPrintout::OnPreparePrinting(); 
-  m_evtHandler->ProcessEvent(printEvent);  
-}
-
-bool wxcPrintout::OnPrintPage( int page )
-{
-  wxcPrintEvent printEvent( wxEVT_PRINT_PAGE, 0, this, page, page );
-  m_evtHandler->ProcessEvent(printEvent);
-  return printEvent.GetContinue();  
-}
-
-bool wxcPrintout::HasPage( int page )
-{
-  return (page >= m_fromPage && page <= m_toPage);
-}
-
-
-/*-----------------------------------------------------------------------------
-  Wrappers
------------------------------------------------------------------------------*/
-extern "C" 
-{
-
-EWXWEXPORT(wxPrintDialogData*,wxPrintDialog_GetPrintDialogData)(wxPrintDialog* _obj)
-{
-  return &(_obj->GetPrintDialogData());
-}
-
-  
-EWXWEXPORT(wxcPrintout*,wxcPrintout_Create)(wxString* title)
-{
-  return new wxcPrintout( *title );
-}
-
-EWXWEXPORT(void,wxcPrintout_Delete)(wxcPrintout* self)
-{
-  if (self) delete self;
-}
-
-EWXWEXPORT(void,wxcPrintout_SetPageLimits)(wxcPrintout* self,int startPage,int endPage,int fromPage,int toPage)
-{
-  self->SetPageLimits( startPage, endPage, fromPage, toPage );
-}
-
-EWXWEXPORT(wxEvtHandler*,wxcPrintout_GetEvtHandler)(wxcPrintout* self)
-{
-  return self->GetEvtHandler();
-}
-
-
-EWXWEXPORT(wxcPrintout*,wxcPrintEvent_GetPrintout)(wxcPrintEvent* self)
-{
-  return self->GetPrintout();
-}
-
-EWXWEXPORT(int,wxcPrintEvent_GetPage)(wxcPrintEvent* self)
-{
-  return self->GetPage();
-} 
-
-EWXWEXPORT(int,wxcPrintEvent_GetEndPage)(wxcPrintEvent* self)
-{
-  return self->GetEndPage();
-} 
-
-EWXWEXPORT(bool,wxcPrintEvent_GetContinue)(wxcPrintEvent* self)
-{
-  return self->GetContinue();
-} 
-    
-EWXWEXPORT(void,wxcPrintEvent_SetContinue)(wxcPrintEvent* self,bool cont)
-{
-  self->SetContinue(cont);
-} 
-
-EWXWEXPORT(void,wxcPrintEvent_SetPageLimits)(wxcPrintEvent* self,int startPage,int endPage,int fromPage,int toPage)
-{
-  self->SetPageLimits(startPage, endPage, fromPage, toPage );
-}
-
-
-/*-----------------------------------------------------------------------------
-  Printout
------------------------------------------------------------------------------*/
-EWXWEXPORT(wxString*,wxPrintout_GetTitle)(void* _obj)
-{
-	wxString title = ((wxPrintout*)_obj)->GetTitle();
-	return new wxString(title);
-}
-	
-EWXWEXPORT(void*,wxPrintout_GetDC)(void* _obj)
-{
-	return (void*)((wxPrintout*)_obj)->GetDC();
-}
-	
-EWXWEXPORT(void,wxPrintout_SetDC)(void* _obj,void* dc)
-{
-	((wxPrintout*)_obj)->SetDC((wxDC*)dc);
-}
-	
-EWXWEXPORT(void,wxPrintout_SetPageSizePixels)(void* _obj,int w,int h)
-{
-	((wxPrintout*)_obj)->SetPageSizePixels(w, h);
-}
-	
-EWXWEXPORT(void,wxPrintout_GetPageSizePixels)(void* _obj,int* w,int* h)
-{
-	((wxPrintout*)_obj)->GetPageSizePixels(w,h);
-}
-	
-EWXWEXPORT(void,wxPrintout_SetPageSizeMM)(void* _obj,int w,int h)
-{
-	((wxPrintout*)_obj)->SetPageSizeMM(w, h);
-}
-	
-EWXWEXPORT(void,wxPrintout_GetPageSizeMM)(void* _obj,int* w,int* h)
-{
-	((wxPrintout*)_obj)->GetPageSizeMM(w,h);
-}
-	
-EWXWEXPORT(void,wxPrintout_SetPPIScreen)(void* _obj,int x,int y)
-{
-	((wxPrintout*)_obj)->SetPPIScreen(x, y);
-}
-	
-EWXWEXPORT(void,wxPrintout_GetPPIScreen)(void* _obj,int* x,int* y)
-{
-	((wxPrintout*)_obj)->GetPPIScreen(x,y);
-}
-	
-EWXWEXPORT(void,wxPrintout_SetPPIPrinter)(void* _obj,int x,int y)
-{
-	((wxPrintout*)_obj)->SetPPIPrinter(x, y);
-}
-	
-EWXWEXPORT(void,wxPrintout_GetPPIPrinter)(void* _obj,int* x,int* y)
-{
-	((wxPrintout*)_obj)->GetPPIPrinter(x,y);
-}
-	
-EWXWEXPORT(bool,wxPrintout_IsPreview)(wxPrintout* _obj)
-{
-	return _obj->IsPreview();
-}
-	
-EWXWEXPORT(void,wxPrintout_SetIsPreview)(void* _obj,bool p)
-{
-	((wxPrintout*)_obj)->SetIsPreview(p);
-}
- 
-    
-}
− src/cpp/sckaddr.cpp
@@ -1,69 +0,0 @@-/* update checked 100% with 2.8.9 manual*/
-#include "wrapper.h"
-
-extern "C"
-{
-#if wxUSE_SOCKETS
-
-/* wxSockAddress */
-/* EWXWEXPORT(wxSockAddress*,wxSockAddress_wxSockAddress)() disabled because it has virtual function */
-EWXWEXPORT(void,wxSockAddress_Delete)(wxSockAddress* self)
-{
-  delete self;
-}
-EWXWEXPORT(void,wxSockAddress_Clear)(wxSockAddress* self)
-{
-  self->Clear();
-}
-
-/* wxIPaddress */
-EWXWEXPORT(wxString*,wxIPaddress_Hostname)(wxIPaddress* self)
-{
-  return new wxString(self->Hostname());
-}
-EWXWEXPORT(bool,wxIPaddress_HostnameSet)(wxIPaddress* self,wxString* hostname)
-{
-  return self->Hostname(*hostname);
-}
-EWXWEXPORT(wxString*,wxIPaddress_IPAddress)(wxIPaddress* self)
-{
-  return new wxString(self->IPAddress());
-}
-EWXWEXPORT(wxUint16,wxIPaddress_Service)(wxIPaddress* self)
-{
-  return self->Service();
-}
-EWXWEXPORT(bool,wxIPaddress_ServiceSet)(wxIPaddress* self,wxString* service)
-{
-  return self->Service(*service);
-}
-EWXWEXPORT(bool,wxIPaddress_ServiceSetPort)(wxIPaddress* self,wxUint16 service)
-{
-  return self->Service(service);
-}
-
-EWXWEXPORT(bool,wxIPaddress_AnyAddress)(wxIPaddress* self)
-{
-  return self->AnyAddress();
-}
-EWXWEXPORT(bool,wxIPaddress_LocalHost)(wxIPaddress* self)
-{
-  return self->LocalHost();
-}
-EWXWEXPORT(bool,wxIPaddress_IsLocalHost)(wxIPaddress* self)
-{
-  return self->IsLocalHost();
-}
-
-/* wxIPV4address */
-EWXWEXPORT(wxIPV4address*,wxIPV4address_Create)()
-{
-  return new wxIPV4address();
-}
-EWXWEXPORT(void,wxIPV4address_Delete)(wxIPV4address* self)
-{
-  delete self;
-}
-
-#endif /* wxUSE_SOCKETS */
-}
− src/cpp/socket.cpp
@@ -1,244 +0,0 @@-/* update checked 100% with 2.8.9 manual */
-#include "wrapper.h"
-
-extern "C"
-{
-#if wxUSE_SOCKETS
-/* wxSocket errors */
-EWXWCONSTANTINT(wxSOCKET_NOERROR,wxSOCKET_NOERROR)
-EWXWCONSTANTINT(wxSOCKET_INVOP,wxSOCKET_INVOP)
-EWXWCONSTANTINT(wxSOCKET_IOERR,wxSOCKET_IOERR)
-EWXWCONSTANTINT(wxSOCKET_INVADDR,wxSOCKET_INVADDR)
-EWXWCONSTANTINT(wxSOCKET_INVSOCK,wxSOCKET_INVSOCK)
-EWXWCONSTANTINT(wxSOCKET_NOHOST,wxSOCKET_NOHOST)
-EWXWCONSTANTINT(wxSOCKET_INVPORT,wxSOCKET_INVPORT)
-EWXWCONSTANTINT(wxSOCKET_WOULDBLOCK,wxSOCKET_WOULDBLOCK)
-EWXWCONSTANTINT(wxSOCKET_TIMEDOUT,wxSOCKET_TIMEDOUT)
-EWXWCONSTANTINT(wxSOCKET_MEMERR,wxSOCKET_MEMERR)
-/* wxSocket events */
-EWXWCONSTANTINT(wxSOCKET_INPUT,wxSOCKET_INPUT)
-EWXWCONSTANTINT(wxSOCKET_OUTPUT,wxSOCKET_OUTPUT)
-EWXWCONSTANTINT(wxSOCKET_CONNECTION,wxSOCKET_CONNECTION)
-EWXWCONSTANTINT(wxSOCKET_LOST,wxSOCKET_LOST)
-/* wxSocketFlags */
-EWXWCONSTANTINT(wxSOCKET_NONE,wxSOCKET_NONE)
-EWXWCONSTANTINT(wxSOCKET_NOWAIT,wxSOCKET_NOWAIT)
-EWXWCONSTANTINT(wxSOCKET_WAITALL,wxSOCKET_WAITALL)
-EWXWCONSTANTINT(wxSOCKET_BLOCK,wxSOCKET_BLOCK)
-EWXWCONSTANTINT(wxSOCKET_REUSEADDR,wxSOCKET_REUSEADDR)
-/* wxSocketEventFlags */
-EWXWCONSTANTINT(wxSOCKET_INPUT_FLAG,wxSOCKET_INPUT_FLAG)
-EWXWCONSTANTINT(wxSOCKET_OUTPUT_FLAG,wxSOCKET_OUTPUT_FLAG)
-EWXWCONSTANTINT(wxSOCKET_CONNECTION_FLAG,wxSOCKET_CONNECTION_FLAG)
-EWXWCONSTANTINT(wxSOCKET_LOST_FLAG,wxSOCKET_LOST_FLAG)
-
-/* wxSocketBase */
-/* wxSocketBase::wxSocketBase */
-EWXWEXPORT(void,wxSocketBase_Delete)(wxSocketBase* self)
-{
-  delete self;
-}
-EWXWEXPORT(void,wxSocketBase_Close)(wxSocketBase* self)
-{
-  self->Close();
-}
-EWXWEXPORT(bool,wxSocketBase_Destroy)(wxSocketBase* self)
-{
-  return self->Destroy();
-}
-EWXWEXPORT(wxSocketBase*,wxSocketBase_Discard)(wxSocketBase* self)
-{
-  return &self->Discard();
-}
-EWXWEXPORT(bool,wxSocketBase_Error)(wxSocketBase* self)
-{
-  return self->Error();
-}
-EWXWEXPORT(void*,wxSocketBase_GetClientData)(wxSocketBase* self)
-{
-  return self->GetClientData();
-}
-EWXWEXPORT(bool,wxSocketBase_GetLocal)(wxSocketBase* self,wxSockAddress* addr)
-{
-  return self->GetLocal(*addr);
-}
-/*note gsocket = int */
-EWXWEXPORT(int,wxSocketBase_GetFlags)(wxSocketBase* self)
-{
-  return self->GetFlags();
-}
-EWXWEXPORT(bool,wxSocketBase_GetPeer)(wxSocketBase* self,wxSockAddress* addr)
-{
-  return self->GetPeer(*addr);
-}
-EWXWEXPORT(void,wxSocketBase_InterruptWait)(wxSocketBase* self)
-{
-  self->InterruptWait();
-}
-EWXWEXPORT(bool,wxSocketBase_IsConnected)(wxSocketBase* self)
-{
-  return self->IsConnected();
-}
-EWXWEXPORT(bool,wxSocketBase_IsData)(wxSocketBase* self)
-{
-  return self->IsData();
-}
-EWXWEXPORT(bool,wxSocketBase_IsDisconnected)(wxSocketBase* self)
-{
-  return self->IsDisconnected();
-}
-EWXWEXPORT(wxUint32,wxSocketBase_LastCount)(wxSocketBase* self)
-{
-  return self->LastCount();
-}
-EWXWEXPORT(int,wxSocketBase_LastError)(wxSocketBase* self)
-{
-  return self->LastError();
-}
-EWXWEXPORT(void,wxSocketBase_Notify)(wxSocketBase* self,bool notify)
-{
-  self->Notify(notify);
-}
-EWXWEXPORT(bool,wxSocketBase_IsOk)(wxSocketBase* self)
-{
-  return self->IsOk();
-}
-EWXWEXPORT(void,wxSocketBase_RestoreState)(wxSocketBase* self)
-{
-  self->RestoreState();
-}
-EWXWEXPORT(void,wxSocketBase_SaveState)(wxSocketBase* self)
-{
-  self->SaveState();
-}
-EWXWEXPORT(void,wxSocketBase_SetClientData)(wxSocketBase* self,void* data)
-{
-  self->SetClientData(data);
-}
-EWXWEXPORT(void,wxSocketBase_SetEventHandler)(wxSocketBase* self,wxEvtHandler* handler,int id)
-{
-  self->SetEventHandler(*handler,id);
-}
-EWXWEXPORT(void,wxSocketBase_SetFlags)(wxSocketBase* self,int flags)
-{
-  self->SetFlags(flags);
-}
-EWXWEXPORT(bool,wxSocketBase_SetLocal)(wxSocketBase* self,wxIPV4address* local)
-{
-  return self->SetLocal(*local);
-}
-EWXWEXPORT(void,wxSocketBase_SetNotify)(wxSocketBase* self,int flags)
-{
-  self->SetNotify(flags);
-}
-EWXWEXPORT(void,wxSocketBase_SetTimeout)(wxSocketBase* self,int seconds)
-{
-  self->SetTimeout(seconds);
-}
-EWXWEXPORT(wxSocketBase*,wxSocketBase_Peek)(wxSocketBase* self,void* buffer,wxUint32 nbytes)
-{
-  return &self->Peek(buffer,nbytes);
-}
-EWXWEXPORT(wxSocketBase*,wxSocketBase_Read)(wxSocketBase* self,void* buffer,wxUint32 nbytes)
-{
-  return &self->Read(buffer,nbytes);
-}
-EWXWEXPORT(wxSocketBase*,wxSocketBase_ReadMsg)(wxSocketBase* self,void* buffer,wxUint32 nbytes)
-{
-  return &self->ReadMsg(buffer,nbytes);
-}
-EWXWEXPORT(wxSocketBase*,wxSocketBase_Unread)(wxSocketBase* self,void* buffer,wxUint32 nbytes)
-{
-  return &self->Unread(buffer,nbytes);
-}
-EWXWEXPORT(bool,wxSocketBase_Wait)(wxSocketBase* self,long seconds,long millisecond)
-{
-  return self->Wait(seconds,millisecond);
-}
-EWXWEXPORT(bool,wxSocketBase_WaitForLost)(wxSocketBase* self,long seconds,long millisecond)
-{
-  return self->WaitForLost(seconds,millisecond);
-}
-EWXWEXPORT(bool,wxSocketBase_WaitForRead)(wxSocketBase* self,long seconds,long millisecond)
-{
-  return self->WaitForRead(seconds,millisecond);
-}
-EWXWEXPORT(bool,wxSocketBase_WaitForWrite)(wxSocketBase* self,long seconds,long millisecond)
-{
-  return self->WaitForWrite(seconds,millisecond);
-}
-EWXWEXPORT(wxSocketBase*,wxSocketBase_Write)(wxSocketBase* self,void* buffer,wxUint32 nbytes)
-{
-  return &self->Write(buffer,nbytes);
-}
-EWXWEXPORT(wxSocketBase*,wxSocketBase_WriteMsg)(wxSocketBase* self,void* buffer,wxUint32 nbytes)
-{
-  return &self->WriteMsg(buffer,nbytes);
-}
-/* wxSocketEvent */
-EWXWEXPORT(wxSocketEvent*,wxSocketEvent_Create)(int id)
-{
-  return new wxSocketEvent(id);
-}
-EWXWEXPORT(void,wxSocketEvent_Delete)(wxSocketEvent* self)
-{
-  delete self;
-}
-EWXWEXPORT(void*,wxSocketEvent_GetClientData)(wxSocketEvent* self)
-{
-  return self->GetClientData();
-}
-EWXWEXPORT(wxSocketBase*,wxSocketEvent_GetSocket)(wxSocketEvent* self)
-{
-  return self->GetSocket();
-}
-EWXWEXPORT(int,wxSocketEvent_GetSocketEvent)(wxSocketEvent* self)
-{
-  return self->GetSocketEvent();
-}
-/* wxSocketClient */
-EWXWEXPORT(wxSocketClient*,wxSocketClient_Create)(int flags)
-{
-  return new wxSocketClient(flags);
-}
-EWXWEXPORT(void,wxSocketClient_Delete)(wxSocketClient* self)
-{
-  delete self;
-}
-EWXWEXPORT(bool,wxSocketClient_Connect)(wxSocketClient* self,wxSockAddress* address,bool wait)
-{
-  return self->Connect(*address,wait);
-}
-EWXWEXPORT(bool,wxSocketClient_ConnectLocal)(wxSocketClient* self,wxSockAddress* address,wxSockAddress* local,bool wait)
-{
-  return self->Connect(*address,*local,wait);
-}
-EWXWEXPORT(bool,wxSocketClient_WaitOnConnect)(wxSocketClient* self,long seconds,long millisecond)
-{
-  return self->WaitOnConnect(seconds,millisecond);
-}
-
-/* wxSocketServer */
-EWXWEXPORT(wxSocketServer*,wxSocketServer_Create)(wxSockAddress* address,int flags)
-{
-  return new wxSocketServer(*address,flags);
-}
-EWXWEXPORT(void,wxSocketServer_Delete)(wxSocketServer* self)
-{
-  delete self;
-}
-EWXWEXPORT(wxSocketBase*,wxSocketServer_Accept)(wxSocketServer* self,bool wait)
-{
-  return self->Accept(wait);
-}
-EWXWEXPORT(bool,wxSocketServer_AcceptWith)(wxSocketServer* self,wxSocketBase* socket,bool wait)
-{
-  return self->AcceptWith(*socket,wait);
-}
-EWXWEXPORT(bool,wxSocketServer_WaitForAccept)(wxSocketServer* self,long seconds,long millisecond)
-{
-  return self->WaitForAccept(seconds,millisecond);
-}
-
-#endif /* wxUSE_SOCKETS */
-}
− src/cpp/sound.cpp
@@ -1,69 +0,0 @@-#include "wrapper.h"-#include "wx/sound.h"--/* testing */-// #define wxUSE_SOUND 0--/*------------------------------------------------------------------------------  We want to include the function signatures always -- even on -  systems that don't support wxSound. This means that every function body is-  surrounded by #ifdef wxUSE_SOUND directives :-(------------------------------------------------------------------------------*/--#if defined(wxUSE_SOUND) && (wxUSE_SOUND==0)-# undef wxUSE_SOUND-#endif--#ifndef wxUSE_SOUND-# define wxSound      void-#endif--extern "C" {--/*------------------------------------------------------------------------------  Sound------------------------------------------------------------------------------*/-EWXWEXPORT(wxSound*,wxSound_Create)(wxString* fileName,bool isResource)-{-#ifdef wxUSE_SOUND -  return new wxSound(*fileName,isResource);-#else-  return NULL;-#endif-}--EWXWEXPORT(void,wxSound_Delete)(wxSound* self)-{-#ifdef wxUSE_SOUND -  if (self) delete self;-#endif-}--EWXWEXPORT(bool,wxSound_IsOk)(wxSound* self)-{-#ifdef wxUSE_SOUND -  return self->IsOk();-#else-  return false;-#endif-}--EWXWEXPORT(bool,wxSound_Play)(wxSound* self,unsigned flag)-{-#ifdef wxUSE_SOUND -  return ((wxSoundBase *)self)->Play(flag);-#else-  return false;-#endif-}--EWXWEXPORT(void,wxSound_Stop)(wxSound* self)-{-#ifdef wxUSE_SOUND-  self->Stop();-#endif-}--}--
− src/cpp/stc.cpp
@@ -1,762 +0,0 @@-#ifdef wxUSE_STC-#include "wx/stc/stc.h"-#endif--#include "wrapper.h"---extern "C"-{-#include "stc_gen.cpp"--/* wxStyledTextCtrl */--EWXWEXPORT(void*,wxStyledTextCtrl_Create)(wxWindow* _prt,int _id, wxString* _txt,int _lft,int _top,int _wdt,int _hgt,int _stl)-{-#ifdef wxUSE_STC-  return (void*) new wxStyledTextCtrl(_prt, _id, wxPoint(_lft, _top), wxSize(_wdt, _hgt), _stl, *_txt);-#else-  return false;-#endif-}--  /* tricky handwritten functions */--  EWXWEXPORT(void*,wxStyledTextCtrl_IndicatorGetForeground)(void* _obj,int indic)-  {-#ifdef wxUSE_STC-    wxColour c = ((wxStyledTextCtrl*) _obj)->IndicatorGetForeground(indic);-    wxColour* cc = new wxColour(c);-    return cc;-#else-    return false;-#endif-  }-  EWXWEXPORT(void*,wxStyledTextCtrl_GetCaretLineBackground)(void* _obj)-  {-#ifdef wxUSE_STC-#if (wxVERSION_NUMBER < 2800)-    wxColour c = ((wxStyledTextCtrl*) _obj)->GetCaretLineBack();-#else-    wxColour c = ((wxStyledTextCtrl*) _obj)->GetCaretLineBackground();-#endif-    wxColour* cc = new wxColour(c);-    return cc;-#else-    return false;-#endif-  }-EWXWEXPORT(void,wxStyledTextCtrl_SetCaretLineBackground)(void* _obj,int back_r,int back_g,int back_b)-{-#ifdef wxUSE_STC-#if (wxVERSION_NUMBER < 2800)-   ((wxStyledTextCtrl*) _obj)->SetCaretLineBack(wxColour(back_r,back_g,back_b));-#else-    /* SetCaretLineBack is changed name to SetCaretLineBackground.-       So I avoid to use stc_gen.cpp for backward compatibility. */-   ((wxStyledTextCtrl*) _obj)->SetCaretLineBackground(wxColour(back_r,back_g,back_b));-#endif-#endif-}-  EWXWEXPORT(void*,wxStyledTextCtrl_GetCaretForeground)(void* _obj)-  {-#ifdef wxUSE_STC-    wxColour c = ((wxStyledTextCtrl*) _obj)->GetCaretForeground();-    wxColour* cc = new wxColour(c);-    return cc;-#else-    return false;-#endif-  }-  EWXWEXPORT(void*,wxStyledTextCtrl_GetLine)(void* _obj,int line)-  {-#ifdef wxUSE_STC-    wxString s = ((wxStyledTextCtrl*) _obj)->GetLine(line);-    wxString* ss = new wxString(s);-    return ss;-#else-    return false;-#endif-  }--  EWXWEXPORT(void*,wxStyledTextCtrl_GetText)(void* _obj)-  {-#ifdef wxUSE_STC-    wxString s = ((wxStyledTextCtrl*) _obj)->GetText();-    wxString* ss = new wxString(s);-    return ss;-#else-    return false;-#endif-  }--  EWXWEXPORT(void*,wxStyledTextCtrl_GetSelectedText)(void* _obj)-  {-#ifdef wxUSE_STC-    wxString s = ((wxStyledTextCtrl*) _obj)->GetSelectedText();-    wxString* ss = new wxString(s);-    return ss;-#else-    return false;-#endif-  }--  EWXWEXPORT(void*,wxStyledTextCtrl_GetTextRange)(void* _obj,int startPos,int endPos)-  {-#ifdef wxUSE_STC-    wxString s = ((wxStyledTextCtrl*) _obj)->GetTextRange(startPos, endPos);-    wxString* ss = new wxString(s);-    return ss;-#else-    return false;-#endif-  }--  EWXWEXPORT(void*,wxStyledTextCtrl_CreateDocument)(void* _obj)-  {-#ifdef wxUSE_STC-    return ((wxStyledTextCtrl*) _obj)->CreateDocument();-#else-    return false;-#endif-  }--  EWXWEXPORT(void*,wxStyledTextCtrl_GetEdgeColour)(void* _obj)-  {-#ifdef wxUSE_STC-    wxColour c = ((wxStyledTextCtrl*) _obj)->GetEdgeColour();-    wxColour* cc = new wxColour(c);-    return cc;-#else-    return false;-#endif-  }--  EWXWEXPORT(void*,wxStyledTextCtrl_GetDocPointer)(void* _obj)-  {-#ifdef wxUSE_STC-    return ((wxStyledTextCtrl*) _obj)->GetDocPointer();-#else-    return false;-#endif-  }--  EWXWEXPORT(void*,wxStyledTextCtrl_PointFromPosition)(void* _obj,int pos)-  {-#ifdef wxUSE_STC-    wxPoint p = ((wxStyledTextCtrl*) _obj)->PointFromPosition(pos);-    wxPoint* pp = new wxPoint(p);-    return pp;-#else-    return false;-#endif-  }--  /*-("wxMemoryBuffer","GetStyledText",[("int","startPos"),("int","endPos")])-("wxString","GetCurLine",[("int*","linePos")]) #returns both line and pos, hur göra?---("wxColour","IndicatorGetForeground",[("int","indic")])---("wxColour","GetCaretLineBack",[])---("wxColour","GetCaretForeground",[])---("wxString","GetLine",[("int","line")])---("wxString","GetSelectedText",[])---("wxString","GetTextRange",[("int","startPos"),("int","endPos")])---("wxString","GetText",[])---("wxSTCDoc*","GetDocPointer",[])---("wxColour","GetEdgeColour",[])---("wxSTCDoc*","CreateDocument",[])---("wxPoint","PointFromPosition",[("int","pos")])-*/---/*************************************/-/* wxStyledTextEvent's get functions */-/*************************************/--EWXWEXPORT(int,wxStyledTextEvent_GetPosition)(void* _obj)-{-#ifdef wxUSE_STC-  return ((wxStyledTextEvent*) _obj)->GetPosition();-#else-  return false;-#endif-}--EWXWEXPORT(int,wxStyledTextEvent_GetKey)(void* _obj)-{-#ifdef wxUSE_STC-  return (char)((wxStyledTextEvent*) _obj)->GetKey();-#else-  return false;-#endif-}--EWXWEXPORT(int,wxStyledTextEvent_GetModifiers)(void* _obj)-{-#ifdef wxUSE_STC-  return ((wxStyledTextEvent*) _obj)->GetModifiers();-#else-  return false;-#endif-}--EWXWEXPORT(int,wxStyledTextEvent_GetModificationType)(void* _obj)-{-#ifdef wxUSE_STC-  return ((wxStyledTextEvent*) _obj)->GetModificationType();-#else-  return false;-#endif-}--EWXWEXPORT(int,wxStyledTextEvent_GetLength)(void* _obj)-{-#ifdef wxUSE_STC-  return ((wxStyledTextEvent*) _obj)->GetLength();-#else-  return false;-#endif-}--EWXWEXPORT(int,wxStyledTextEvent_GetLinesAdded)(void* _obj)-{-#ifdef wxUSE_STC-  return ((wxStyledTextEvent*) _obj)->GetLinesAdded();-#else-  return false;-#endif-}--EWXWEXPORT(int,wxStyledTextEvent_GetLine)(void* _obj)-{-#ifdef wxUSE_STC-  return ((wxStyledTextEvent*) _obj)->GetLine();-#else-  return false;-#endif-}--EWXWEXPORT(int,wxStyledTextEvent_GetFoldLevelNow)(void* _obj)-{-#ifdef wxUSE_STC-  return ((wxStyledTextEvent*) _obj)->GetFoldLevelNow();-#else-  return false;-#endif-}--EWXWEXPORT(int,wxStyledTextEvent_GetFoldLevelPrev)(void* _obj)-{-#ifdef wxUSE_STC-  return ((wxStyledTextEvent*) _obj)->GetFoldLevelPrev();-#else-  return false;-#endif-}--EWXWEXPORT(int,wxStyledTextEvent_GetMargin)(void* _obj)-{-#ifdef wxUSE_STC-  return ((wxStyledTextEvent*) _obj)->GetMargin();-#else-  return false;-#endif-}--EWXWEXPORT(int,wxStyledTextEvent_GetMessage)(void* _obj)-{-#ifdef wxUSE_STC-  return ((wxStyledTextEvent*) _obj)->GetMessage();-#else-  return false;-#endif-}--EWXWEXPORT(int,wxStyledTextEvent_GetWParam)(void* _obj)-{-#ifdef wxUSE_STC-  return ((wxStyledTextEvent*) _obj)->GetWParam();-#else-  return false;-#endif-}--EWXWEXPORT(int,wxStyledTextEvent_GetLParam)(void* _obj)-{-#ifdef wxUSE_STC-  return ((wxStyledTextEvent*) _obj)->GetLParam();-#else-  return false;-#endif-}--EWXWEXPORT(int,wxStyledTextEvent_GetListType)(void* _obj)-{-#ifdef wxUSE_STC-  return ((wxStyledTextEvent*) _obj)->GetListType();-#else-  return false;-#endif-}--EWXWEXPORT(int,wxStyledTextEvent_GetX)(void* _obj)-{-#ifdef wxUSE_STC-  return ((wxStyledTextEvent*) _obj)->GetX();-#else-  return false;-#endif-}--EWXWEXPORT(int,wxStyledTextEvent_GetY)(void* _obj)-{-#ifdef wxUSE_STC-  return ((wxStyledTextEvent*) _obj)->GetY();-#else-  return false;-#endif-}--EWXWEXPORT(void*,wxStyledTextEvent_GetDragText)(void* _obj)-{-#ifdef wxUSE_STC-    wxString s = ((wxStyledTextEvent*) _obj)->GetDragText();-    wxString* ss = new wxString(s);-    return ss;-#else-  return false;-#endif-}--EWXWEXPORT(bool,wxStyledTextEvent_GetDragAllowMove)(void* _obj)-{-#ifdef wxUSE_STC-  return ((wxStyledTextEvent*) _obj)->GetDragAllowMove();-#else-  return false;-#endif-}--EWXWEXPORT(int,wxStyledTextEvent_GetDragResult)(void* _obj)-{-#ifdef wxUSE_STC-  return ((wxStyledTextEvent*) _obj)->GetDragResult();-#else-  return false;-#endif-}--EWXWEXPORT(bool,wxStyledTextEvent_GetShift)(void* _obj)-{-#ifdef wxUSE_STC-  return ((wxStyledTextEvent*) _obj)->GetShift();-#else-  return false;-#endif-}--EWXWEXPORT(bool,wxStyledTextEvent_GetControl)(void* _obj)-{-#ifdef wxUSE_STC-  return ((wxStyledTextEvent*) _obj)->GetControl();-#else-  return false;-#endif-}--EWXWEXPORT(bool,wxStyledTextEvent_GetAlt)(void* _obj)-{-#ifdef wxUSE_STC-  return ((wxStyledTextEvent*) _obj)->GetAlt();-#else-  return false;-#endif-}--EWXWEXPORT(void*,wxStyledTextEvent_GetText)(void* _obj)-{-#ifdef wxUSE_STC-    wxString s = ((wxStyledTextEvent*) _obj)->GetText();-    wxString* ss = new wxString(s);-    return ss;-#else-  return false;-#endif-}--EWXWEXPORT(void*,wxStyledTextEvent_Clone)(void* _obj)-{-#ifdef wxUSE_STC-  return (void*) ((wxStyledTextEvent*) _obj)->Clone();-#else-  return false;-#endif-}--/*************************************/-/* wxStyledTextEvent's set functions */-/*************************************/--EWXWEXPORT(void,wxStyledTextEvent_SetPosition)(void* _obj,int pos)-{-#ifdef wxUSE_STC-  ((wxStyledTextEvent*) _obj)->SetPosition(pos);-#endif-}--EWXWEXPORT(void,wxStyledTextEvent_SetKey)(void* _obj,int k)-{-#ifdef wxUSE_STC-  ((wxStyledTextEvent*) _obj)->SetKey(k);-#endif-}--EWXWEXPORT(void,wxStyledTextEvent_SetModifiers)(void* _obj,int m)-{-#ifdef wxUSE_STC-  ((wxStyledTextEvent*) _obj)->SetModifiers(m);-#endif-}--EWXWEXPORT(void,wxStyledTextEvent_SetModificationType)(void* _obj,int t)-{-#ifdef wxUSE_STC-  ((wxStyledTextEvent*) _obj)->SetModificationType(t);-#endif-}--EWXWEXPORT(void,wxStyledTextEvent_SetText)(void* _obj,void* t)-{-#ifdef wxUSE_STC-  ((wxStyledTextEvent*) _obj)->SetText(*(wxString*)t);-#endif-}--EWXWEXPORT(void,wxStyledTextEvent_SetLength)(void* _obj,int len)-{-#ifdef wxUSE_STC-  ((wxStyledTextEvent*) _obj)->SetLength(len);-#endif-}--EWXWEXPORT(void,wxStyledTextEvent_SetLinesAdded)(void* _obj,int num)-{-#ifdef wxUSE_STC-  ((wxStyledTextEvent*) _obj)->SetLinesAdded(num);-#endif-}--EWXWEXPORT(void,wxStyledTextEvent_SetLine)(void* _obj,int val)-{-#ifdef wxUSE_STC-  ((wxStyledTextEvent*) _obj)->SetLine(val);-#endif-}--EWXWEXPORT(void,wxStyledTextEvent_SetFoldLevelNow)(void* _obj,int val)-{-#ifdef wxUSE_STC-  ((wxStyledTextEvent*) _obj)->SetFoldLevelNow(val);-#endif-}--EWXWEXPORT(void,wxStyledTextEvent_SetFoldLevelPrev)(void* _obj,int val)-{-#ifdef wxUSE_STC-  ((wxStyledTextEvent*) _obj)->SetFoldLevelPrev(val);-#endif-}--EWXWEXPORT(void,wxStyledTextEvent_SetMargin)(void* _obj,int val)-{-#ifdef wxUSE_STC-  ((wxStyledTextEvent*) _obj)->SetMargin(val);-#endif-}--EWXWEXPORT(void,wxStyledTextEvent_SetMessage)(void* _obj,int val)-{-#ifdef wxUSE_STC-  ((wxStyledTextEvent*) _obj)->SetMessage(val);-#endif-}--EWXWEXPORT(void,wxStyledTextEvent_SetWParam)(void* _obj,int val)-{-#ifdef wxUSE_STC-  ((wxStyledTextEvent*) _obj)->SetWParam(val);-#endif-}--EWXWEXPORT(void,wxStyledTextEvent_SetLParam)(void* _obj,int val)-{-#ifdef wxUSE_STC-  ((wxStyledTextEvent*) _obj)->SetLParam(val);-#endif-}--EWXWEXPORT(void,wxStyledTextEvent_SetListType)(void* _obj,int val)-{-#ifdef wxUSE_STC-  ((wxStyledTextEvent*) _obj)->SetListType(val);-#endif-}--EWXWEXPORT(void,wxStyledTextEvent_SetX)(void* _obj,int val)-{-#ifdef wxUSE_STC-  ((wxStyledTextEvent*) _obj)->SetX(val);-#endif-}--EWXWEXPORT(void,wxStyledTextEvent_SetY)(void* _obj,int val)-{-#ifdef wxUSE_STC-  ((wxStyledTextEvent*) _obj)->SetY(val);-#endif-}--EWXWEXPORT(void,wxStyledTextEvent_SetDragText)(void* _obj,void* val)-{-#ifdef wxUSE_STC-  ((wxStyledTextEvent*) _obj)->SetDragText(*(wxString*)val);-#endif-}--EWXWEXPORT(void,wxStyledTextEvent_SetDragAllowMove)(void* _obj,int val)-{-#ifdef wxUSE_STC-  ((wxStyledTextEvent*) _obj)->SetDragAllowMove(val);-#endif-}--EWXWEXPORT(void,wxStyledTextEvent_SetDragResult)(void* _obj,int val)-{-#ifdef wxUSE_STC-  ((wxStyledTextEvent*) _obj)->SetDragResult(*(wxDragResult*)val);-#endif-}--/*************************************/-/* wxStyledTextEvent events          */-/*************************************/-EWXWEXPORT(int,expEVT_STC_CHANGE)()-{-#ifdef wxUSE_STC-  return wxEVT_STC_CHANGE;-#else-  return false;-#endif-}-EWXWEXPORT(int,expEVT_STC_STYLENEEDED)()-{-#ifdef wxUSE_STC-  return wxEVT_STC_STYLENEEDED;-#else-  return false;-#endif-}-EWXWEXPORT(int,expEVT_STC_CHARADDED)()-{-#ifdef wxUSE_STC-  return wxEVT_STC_CHARADDED;-#else-  return false;-#endif-}-EWXWEXPORT(int,expEVT_STC_SAVEPOINTREACHED)()-{-#ifdef wxUSE_STC-  return wxEVT_STC_SAVEPOINTREACHED;-#else-  return false;-#endif-}-EWXWEXPORT(int,expEVT_STC_SAVEPOINTLEFT)()-{-#ifdef wxUSE_STC-  return wxEVT_STC_SAVEPOINTLEFT;-#else-  return false;-#endif-}-EWXWEXPORT(int,expEVT_STC_ROMODIFYATTEMPT)()-{-#ifdef wxUSE_STC-  return wxEVT_STC_ROMODIFYATTEMPT;-#else-  return false;-#endif-}-EWXWEXPORT(int,expEVT_STC_KEY)()-{-#ifdef wxUSE_STC-  return wxEVT_STC_KEY;-#else-  return false;-#endif-}-EWXWEXPORT(int,expEVT_STC_DOUBLECLICK)()-{-#ifdef wxUSE_STC-  return wxEVT_STC_DOUBLECLICK;-#else-  return false;-#endif-}-EWXWEXPORT(int,expEVT_STC_UPDATEUI)()-{-#ifdef wxUSE_STC-  return wxEVT_STC_UPDATEUI;-#else-  return false;-#endif-}-EWXWEXPORT(int,expEVT_STC_MODIFIED)()-{-#ifdef wxUSE_STC-  return wxEVT_STC_MODIFIED;-#else-  return false;-#endif-}-EWXWEXPORT(int,expEVT_STC_MACRORECORD)()-{-#ifdef wxUSE_STC-  return wxEVT_STC_MACRORECORD;-#else-  return false;-#endif-}-EWXWEXPORT(int,expEVT_STC_MARGINCLICK)()-{-#ifdef wxUSE_STC-  return wxEVT_STC_MARGINCLICK;-#else-  return false;-#endif-}-EWXWEXPORT(int,expEVT_STC_NEEDSHOWN)()-{-#ifdef wxUSE_STC-  return wxEVT_STC_NEEDSHOWN;-#else-  return false;-#endif-}-/* expEVT_STC_POSCHANGED is removed in wxWidgets-2.6.x.-EWXWEXPORT(int,expEVT_STC_POSCHANGED)()-{-#ifdef wxUSE_STC-  return wxEVT_STC_POSCHANGED;-#else-  return false;-#endif-}-*/-EWXWEXPORT(int,expEVT_STC_PAINTED)()-{-#ifdef wxUSE_STC-  return wxEVT_STC_PAINTED;-#else-  return false;-#endif-}-EWXWEXPORT(int,expEVT_STC_USERLISTSELECTION)()-{-#ifdef wxUSE_STC-  return wxEVT_STC_USERLISTSELECTION;-#else-  return false;-#endif-}-EWXWEXPORT(int,expEVT_STC_URIDROPPED)()-{-#ifdef wxUSE_STC-  return wxEVT_STC_URIDROPPED;-#else-  return false;-#endif-}-EWXWEXPORT(int,expEVT_STC_DWELLSTART)()-{-#ifdef wxUSE_STC-  return wxEVT_STC_DWELLSTART;-#else-  return false;-#endif-}-EWXWEXPORT(int,expEVT_STC_DWELLEND)()-{-#ifdef wxUSE_STC-  return wxEVT_STC_DWELLEND;-#else-  return false;-#endif-}-EWXWEXPORT(int,expEVT_STC_START_DRAG)()-{-#ifdef wxUSE_STC-  return wxEVT_STC_START_DRAG;-#else-  return false;-#endif-}-EWXWEXPORT(int,expEVT_STC_DRAG_OVER)()-{-#ifdef wxUSE_STC-  return wxEVT_STC_DRAG_OVER;-#else-  return false;-#endif-}-EWXWEXPORT(int,expEVT_STC_DO_DROP)()-{-#ifdef wxUSE_STC-  return wxEVT_STC_DO_DROP;-#else-  return false;-#endif-}-EWXWEXPORT(int,expEVT_STC_ZOOM)()-{-#ifdef wxUSE_STC-  return wxEVT_STC_ZOOM;-#else-  return false;-#endif-}-EWXWEXPORT(int,expEVT_STC_HOTSPOT_CLICK)()-{-#ifdef wxUSE_STC-  return wxEVT_STC_HOTSPOT_CLICK;-#else-  return false;-#endif-}-EWXWEXPORT(int,expEVT_STC_HOTSPOT_DCLICK)()-{-#ifdef wxUSE_STC-  return wxEVT_STC_HOTSPOT_DCLICK;-#else-  return false;-#endif-}-EWXWEXPORT(int,expEVT_STC_CALLTIP_CLICK)()-{-#ifdef wxUSE_STC-  return wxEVT_STC_CALLTIP_CLICK;-#else-  return false;-#endif-}-EWXWEXPORT(int,expEVT_STC_AUTOCOMP_SELECTION)()-{-#if (wxVERSION_NUMBER >= 2600) && wxUSE_STC-  return wxEVT_STC_AUTOCOMP_SELECTION;-#else-  return false;-#endif-}--}
− src/cpp/stc_gen.cpp
@@ -1,2160 +0,0 @@-EWXWEXPORT(void,wxStyledTextCtrl_AddText)(void* _obj,wxString* text)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->AddText(*text);
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_AddStyledText)(void* _obj,void* data)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->AddStyledText(*(wxMemoryBuffer*) data);
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_InsertText)(void* _obj,int pos,wxString* text)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->InsertText(pos, *text);
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_ClearAll)(void* _obj)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->ClearAll();
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_ClearDocumentStyle)(void* _obj)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->ClearDocumentStyle();
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_GetLength)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetLength();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_GetCharAt)(void* _obj,int pos)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetCharAt(pos);
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_GetCurrentPos)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetCurrentPos();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_GetAnchor)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetAnchor();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_GetStyleAt)(void* _obj,int pos)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetStyleAt(pos);
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_Redo)(void* _obj)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->Redo();
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetUndoCollection)(void* _obj,bool collectUndo)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetUndoCollection(collectUndo);
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SelectAll)(void* _obj)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SelectAll();
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetSavePoint)(void* _obj)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetSavePoint();
-#endif
-}
-EWXWEXPORT(bool,wxStyledTextCtrl_CanRedo)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->CanRedo();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_MarkerLineFromHandle)(void* _obj,int handle)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->MarkerLineFromHandle(handle);
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_MarkerDeleteHandle)(void* _obj,int handle)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->MarkerDeleteHandle(handle);
-#endif
-}
-EWXWEXPORT(bool,wxStyledTextCtrl_GetUndoCollection)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetUndoCollection();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_GetViewWhiteSpace)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetViewWhiteSpace();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetViewWhiteSpace)(void* _obj,int viewWS)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetViewWhiteSpace(viewWS);
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_PositionFromPoint)(void* _obj,int pt_x,int pt_y)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->PositionFromPoint(wxPoint(pt_x,pt_y));
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_PositionFromPointClose)(void* _obj,int x,int y)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->PositionFromPointClose(x, y);
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_GotoLine)(void* _obj,int line)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->GotoLine(line);
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_GotoPos)(void* _obj,int pos)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->GotoPos(pos);
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetAnchor)(void* _obj,int posAnchor)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetAnchor(posAnchor);
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_GetEndStyled)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetEndStyled();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_ConvertEOLs)(void* _obj,int eolMode)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->ConvertEOLs(eolMode);
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_GetEOLMode)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetEOLMode();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetEOLMode)(void* _obj,int eolMode)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetEOLMode(eolMode);
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_StartStyling)(void* _obj,int pos,int mask)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->StartStyling(pos, mask);
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetStyling)(void* _obj,int length,int style)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetStyling(length, style);
-#endif
-}
-EWXWEXPORT(bool,wxStyledTextCtrl_GetBufferedDraw)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetBufferedDraw();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetBufferedDraw)(void* _obj,bool buffered)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetBufferedDraw(buffered);
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetTabWidth)(void* _obj,int tabWidth)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetTabWidth(tabWidth);
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_GetTabWidth)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetTabWidth();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetCodePage)(void* _obj,int codePage)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetCodePage(codePage);
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_MarkerDefine)(void* _obj,int markerNumber,int markerSymbol,int foreground_r,int foreground_g,int foreground_b,int background_r,int background_g,int background_b)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->MarkerDefine(markerNumber, markerSymbol, wxColour(foreground_r,foreground_g,foreground_b), wxColour(background_r,background_g,background_b));
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_MarkerSetForeground)(void* _obj,int markerNumber,int fore_r,int fore_g,int fore_b)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->MarkerSetForeground(markerNumber, wxColour(fore_r,fore_g,fore_b));
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_MarkerSetBackground)(void* _obj,int markerNumber,int back_r,int back_g,int back_b)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->MarkerSetBackground(markerNumber, wxColour(back_r,back_g,back_b));
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_MarkerAdd)(void* _obj,int line,int markerNumber)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->MarkerAdd(line, markerNumber);
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_MarkerDelete)(void* _obj,int line,int markerNumber)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->MarkerDelete(line, markerNumber);
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_MarkerDeleteAll)(void* _obj,int markerNumber)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->MarkerDeleteAll(markerNumber);
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_MarkerGet)(void* _obj,int line)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->MarkerGet(line);
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_MarkerNext)(void* _obj,int lineStart,int markerMask)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->MarkerNext(lineStart, markerMask);
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_MarkerPrevious)(void* _obj,int lineStart,int markerMask)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->MarkerPrevious(lineStart, markerMask);
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_MarkerDefineBitmap)(void* _obj,int markerNumber,void* bmp)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->MarkerDefineBitmap(markerNumber, *(wxBitmap*) bmp);
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetMarginType)(void* _obj,int margin,int marginType)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetMarginType(margin, marginType);
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_GetMarginType)(void* _obj,int margin)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetMarginType(margin);
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetMarginWidth)(void* _obj,int margin,int pixelWidth)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetMarginWidth(margin, pixelWidth);
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_GetMarginWidth)(void* _obj,int margin)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetMarginWidth(margin);
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetMarginMask)(void* _obj,int margin,int mask)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetMarginMask(margin, mask);
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_GetMarginMask)(void* _obj,int margin)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetMarginMask(margin);
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetMarginSensitive)(void* _obj,int margin,bool sensitive)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetMarginSensitive(margin, sensitive);
-#endif
-}
-EWXWEXPORT(bool,wxStyledTextCtrl_GetMarginSensitive)(void* _obj,int margin)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetMarginSensitive(margin);
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_StyleClearAll)(void* _obj)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->StyleClearAll();
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_StyleSetForeground)(void* _obj,int style,int fore_r,int fore_g,int fore_b)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->StyleSetForeground(style, wxColour(fore_r,fore_g,fore_b));
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_StyleSetBackground)(void* _obj,int style,int back_r,int back_g,int back_b)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->StyleSetBackground(style, wxColour(back_r,back_g,back_b));
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_StyleSetBold)(void* _obj,int style,bool bold)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->StyleSetBold(style, bold);
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_StyleSetItalic)(void* _obj,int style,bool italic)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->StyleSetItalic(style, italic);
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_StyleSetSize)(void* _obj,int style,int sizePoints)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->StyleSetSize(style, sizePoints);
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_StyleSetFaceName)(void* _obj,int style,wxString* fontName)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->StyleSetFaceName(style, *fontName);
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_StyleSetEOLFilled)(void* _obj,int style,bool filled)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->StyleSetEOLFilled(style, filled);
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_StyleResetDefault)(void* _obj)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->StyleResetDefault();
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_StyleSetUnderline)(void* _obj,int style,bool underline)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->StyleSetUnderline(style, underline);
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_StyleSetCase)(void* _obj,int style,int caseForce)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->StyleSetCase(style, caseForce);
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_StyleSetCharacterSet)(void* _obj,int style,int characterSet)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->StyleSetCharacterSet(style, characterSet);
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_StyleSetHotSpot)(void* _obj,int style,bool hotspot)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->StyleSetHotSpot(style, hotspot);
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetSelForeground)(void* _obj,bool useSetting,int fore_r,int fore_g,int fore_b)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetSelForeground(useSetting, wxColour(fore_r,fore_g,fore_b));
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetSelBackground)(void* _obj,bool useSetting,int back_r,int back_g,int back_b)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetSelBackground(useSetting, wxColour(back_r,back_g,back_b));
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetCaretForeground)(void* _obj,int fore_r,int fore_g,int fore_b)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetCaretForeground(wxColour(fore_r,fore_g,fore_b));
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_CmdKeyAssign)(void* _obj,int key,int modifiers,int cmd)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->CmdKeyAssign(key, modifiers, cmd);
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_CmdKeyClear)(void* _obj,int key,int modifiers)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->CmdKeyClear(key, modifiers);
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_CmdKeyClearAll)(void* _obj)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->CmdKeyClearAll();
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetStyleBytes)(void* _obj,int length,void* styleBytes)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetStyleBytes(length, *(char**) styleBytes);
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_StyleSetVisible)(void* _obj,int style,bool visible)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->StyleSetVisible(style, visible);
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_GetCaretPeriod)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetCaretPeriod();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetCaretPeriod)(void* _obj,int periodMilliseconds)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetCaretPeriod(periodMilliseconds);
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetWordChars)(void* _obj,wxString* characters)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetWordChars(*characters);
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_BeginUndoAction)(void* _obj)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->BeginUndoAction();
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_EndUndoAction)(void* _obj)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->EndUndoAction();
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_IndicatorSetStyle)(void* _obj,int indic,int style)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->IndicatorSetStyle(indic, style);
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_IndicatorGetStyle)(void* _obj,int indic)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->IndicatorGetStyle(indic);
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_IndicatorSetForeground)(void* _obj,int indic,int fore_r,int fore_g,int fore_b)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->IndicatorSetForeground(indic, wxColour(fore_r,fore_g,fore_b));
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetWhitespaceForeground)(void* _obj,bool useSetting,int fore_r,int fore_g,int fore_b)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetWhitespaceForeground(useSetting, wxColour(fore_r,fore_g,fore_b));
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetWhitespaceBackground)(void* _obj,bool useSetting,int back_r,int back_g,int back_b)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetWhitespaceBackground(useSetting, wxColour(back_r,back_g,back_b));
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetStyleBits)(void* _obj,int bits)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetStyleBits(bits);
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_GetStyleBits)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetStyleBits();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetLineState)(void* _obj,int line,int state)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetLineState(line, state);
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_GetLineState)(void* _obj,int line)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetLineState(line);
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_GetMaxLineState)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetMaxLineState();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(bool,wxStyledTextCtrl_GetCaretLineVisible)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetCaretLineVisible();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetCaretLineVisible)(void* _obj,bool show)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetCaretLineVisible(show);
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_StyleSetChangeable)(void* _obj,int style,bool changeable)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->StyleSetChangeable(style, changeable);
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_AutoCompShow)(void* _obj,int lenEntered,wxString* itemList)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->AutoCompShow(lenEntered, *itemList);
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_AutoCompCancel)(void* _obj)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->AutoCompCancel();
-#endif
-}
-EWXWEXPORT(bool,wxStyledTextCtrl_AutoCompActive)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->AutoCompActive();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_AutoCompPosStart)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->AutoCompPosStart();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_AutoCompComplete)(void* _obj)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->AutoCompComplete();
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_AutoCompStops)(void* _obj,wxString* characterSet)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->AutoCompStops(*characterSet);
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_AutoCompSetSeparator)(void* _obj,int separatorCharacter)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->AutoCompSetSeparator(separatorCharacter);
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_AutoCompGetSeparator)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->AutoCompGetSeparator();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_AutoCompSelect)(void* _obj,wxString* text)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->AutoCompSelect(*text);
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_AutoCompSetCancelAtStart)(void* _obj,bool cancel)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->AutoCompSetCancelAtStart(cancel);
-#endif
-}
-EWXWEXPORT(bool,wxStyledTextCtrl_AutoCompGetCancelAtStart)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->AutoCompGetCancelAtStart();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_AutoCompSetFillUps)(void* _obj,wxString* characterSet)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->AutoCompSetFillUps(*characterSet);
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_AutoCompSetChooseSingle)(void* _obj,bool chooseSingle)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->AutoCompSetChooseSingle(chooseSingle);
-#endif
-}
-EWXWEXPORT(bool,wxStyledTextCtrl_AutoCompGetChooseSingle)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->AutoCompGetChooseSingle();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_AutoCompSetIgnoreCase)(void* _obj,bool ignoreCase)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->AutoCompSetIgnoreCase(ignoreCase);
-#endif
-}
-EWXWEXPORT(bool,wxStyledTextCtrl_AutoCompGetIgnoreCase)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->AutoCompGetIgnoreCase();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_UserListShow)(void* _obj,int listType,wxString* itemList)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->UserListShow(listType, *itemList);
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_AutoCompSetAutoHide)(void* _obj,bool autoHide)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->AutoCompSetAutoHide(autoHide);
-#endif
-}
-EWXWEXPORT(bool,wxStyledTextCtrl_AutoCompGetAutoHide)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->AutoCompGetAutoHide();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_AutoCompSetDropRestOfWord)(void* _obj,bool dropRestOfWord)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->AutoCompSetDropRestOfWord(dropRestOfWord);
-#endif
-}
-EWXWEXPORT(bool,wxStyledTextCtrl_AutoCompGetDropRestOfWord)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->AutoCompGetDropRestOfWord();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_RegisterImage)(void* _obj,int type,void* bmp)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->RegisterImage(type, *(wxBitmap*) bmp);
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_ClearRegisteredImages)(void* _obj)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->ClearRegisteredImages();
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_AutoCompGetTypeSeparator)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->AutoCompGetTypeSeparator();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_AutoCompSetTypeSeparator)(void* _obj,int separatorCharacter)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->AutoCompSetTypeSeparator(separatorCharacter);
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetIndent)(void* _obj,int indentSize)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetIndent(indentSize);
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_GetIndent)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetIndent();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetUseTabs)(void* _obj,bool useTabs)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetUseTabs(useTabs);
-#endif
-}
-EWXWEXPORT(bool,wxStyledTextCtrl_GetUseTabs)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetUseTabs();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetLineIndentation)(void* _obj,int line,int indentSize)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetLineIndentation(line, indentSize);
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_GetLineIndentation)(void* _obj,int line)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetLineIndentation(line);
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_GetLineIndentPosition)(void* _obj,int line)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetLineIndentPosition(line);
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_GetColumn)(void* _obj,int pos)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetColumn(pos);
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetUseHorizontalScrollBar)(void* _obj,bool show)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetUseHorizontalScrollBar(show);
-#endif
-}
-EWXWEXPORT(bool,wxStyledTextCtrl_GetUseHorizontalScrollBar)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetUseHorizontalScrollBar();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetIndentationGuides)(void* _obj,bool show)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetIndentationGuides(show);
-#endif
-}
-EWXWEXPORT(bool,wxStyledTextCtrl_GetIndentationGuides)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetIndentationGuides();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetHighlightGuide)(void* _obj,int column)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetHighlightGuide(column);
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_GetHighlightGuide)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetHighlightGuide();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_GetLineEndPosition)(void* _obj,int line)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetLineEndPosition(line);
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_GetCodePage)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetCodePage();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(bool,wxStyledTextCtrl_GetReadOnly)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetReadOnly();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetCurrentPos)(void* _obj,int pos)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetCurrentPos(pos);
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetSelectionStart)(void* _obj,int pos)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetSelectionStart(pos);
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_GetSelectionStart)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetSelectionStart();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetSelectionEnd)(void* _obj,int pos)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetSelectionEnd(pos);
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_GetSelectionEnd)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetSelectionEnd();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetPrintMagnification)(void* _obj,int magnification)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetPrintMagnification(magnification);
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_GetPrintMagnification)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetPrintMagnification();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetPrintColourMode)(void* _obj,int mode)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetPrintColourMode(mode);
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_GetPrintColourMode)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetPrintColourMode();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_FindText)(void* _obj,int minPos,int maxPos,wxString* text,int flags)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->FindText(minPos, maxPos, *text, flags);
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_FormatRange)(void* _obj,bool doDraw,int startPos,int endPos,void* draw,void* target,void* renderRect,void* pageRect)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->FormatRange(doDraw, startPos, endPos, *(wxDC**) draw, *(wxDC**) target, *(wxRect*) renderRect, *(wxRect*) pageRect);
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_GetFirstVisibleLine)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetFirstVisibleLine();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_GetLineCount)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetLineCount();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetMarginLeft)(void* _obj,int pixelWidth)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetMarginLeft(pixelWidth);
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_GetMarginLeft)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetMarginLeft();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetMarginRight)(void* _obj,int pixelWidth)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetMarginRight(pixelWidth);
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_GetMarginRight)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetMarginRight();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(bool,wxStyledTextCtrl_GetModify)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetModify();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetSelection)(void* _obj,int start,int end)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetSelection(start, end);
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_HideSelection)(void* _obj,bool normal)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->HideSelection(normal);
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_LineFromPosition)(void* _obj,int pos)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->LineFromPosition(pos);
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_PositionFromLine)(void* _obj,int line)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->PositionFromLine(line);
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_LineScroll)(void* _obj,int columns,int lines)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->LineScroll(columns, lines);
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_EnsureCaretVisible)(void* _obj)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->EnsureCaretVisible();
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_ReplaceSelection)(void* _obj,wxString* text)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->ReplaceSelection(*text);
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetReadOnly)(void* _obj,bool readOnly)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetReadOnly(readOnly);
-#endif
-}
-EWXWEXPORT(bool,wxStyledTextCtrl_CanPaste)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->CanPaste();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(bool,wxStyledTextCtrl_CanUndo)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->CanUndo();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_EmptyUndoBuffer)(void* _obj)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->EmptyUndoBuffer();
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_Undo)(void* _obj)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->Undo();
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_Cut)(void* _obj)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->Cut();
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_Copy)(void* _obj)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->Copy();
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_Paste)(void* _obj)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->Paste();
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_Clear)(void* _obj)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->Clear();
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetText)(void* _obj,wxString* text)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetText(*text);
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_GetTextLength)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetTextLength();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetOvertype)(void* _obj,bool overtype)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetOvertype(overtype);
-#endif
-}
-EWXWEXPORT(bool,wxStyledTextCtrl_GetOvertype)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetOvertype();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetCaretWidth)(void* _obj,int pixelWidth)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetCaretWidth(pixelWidth);
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_GetCaretWidth)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetCaretWidth();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetTargetStart)(void* _obj,int pos)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetTargetStart(pos);
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_GetTargetStart)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetTargetStart();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetTargetEnd)(void* _obj,int pos)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetTargetEnd(pos);
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_GetTargetEnd)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetTargetEnd();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_ReplaceTarget)(void* _obj,wxString* text)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->ReplaceTarget(*text);
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_ReplaceTargetRE)(void* _obj,wxString* text)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->ReplaceTargetRE(*text);
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_SearchInTarget)(void* _obj,wxString* text)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->SearchInTarget(*text);
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetSearchFlags)(void* _obj,int flags)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetSearchFlags(flags);
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_GetSearchFlags)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetSearchFlags();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_CallTipShow)(void* _obj,int pos,wxString* definition)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->CallTipShow(pos, *definition);
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_CallTipCancel)(void* _obj)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->CallTipCancel();
-#endif
-}
-EWXWEXPORT(bool,wxStyledTextCtrl_CallTipActive)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->CallTipActive();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_CallTipPosAtStart)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->CallTipPosAtStart();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_CallTipSetHighlight)(void* _obj,int start,int end)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->CallTipSetHighlight(start, end);
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_CallTipSetBackground)(void* _obj,int back_r,int back_g,int back_b)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->CallTipSetBackground(wxColour(back_r,back_g,back_b));
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_CallTipSetForeground)(void* _obj,int fore_r,int fore_g,int fore_b)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->CallTipSetForeground(wxColour(fore_r,fore_g,fore_b));
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_CallTipSetForegroundHighlight)(void* _obj,int fore_r,int fore_g,int fore_b)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->CallTipSetForegroundHighlight(wxColour(fore_r,fore_g,fore_b));
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_VisibleFromDocLine)(void* _obj,int line)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->VisibleFromDocLine(line);
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_DocLineFromVisible)(void* _obj,int lineDisplay)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->DocLineFromVisible(lineDisplay);
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetFoldLevel)(void* _obj,int line,int level)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetFoldLevel(line, level);
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_GetFoldLevel)(void* _obj,int line)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetFoldLevel(line);
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_GetLastChild)(void* _obj,int line,int level)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetLastChild(line, level);
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_GetFoldParent)(void* _obj,int line)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetFoldParent(line);
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_ShowLines)(void* _obj,int lineStart,int lineEnd)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->ShowLines(lineStart, lineEnd);
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_HideLines)(void* _obj,int lineStart,int lineEnd)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->HideLines(lineStart, lineEnd);
-#endif
-}
-EWXWEXPORT(bool,wxStyledTextCtrl_GetLineVisible)(void* _obj,int line)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetLineVisible(line);
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetFoldExpanded)(void* _obj,int line,bool expanded)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetFoldExpanded(line, expanded);
-#endif
-}
-EWXWEXPORT(bool,wxStyledTextCtrl_GetFoldExpanded)(void* _obj,int line)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetFoldExpanded(line);
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_ToggleFold)(void* _obj,int line)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->ToggleFold(line);
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_EnsureVisible)(void* _obj,int line)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->EnsureVisible(line);
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetFoldFlags)(void* _obj,int flags)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetFoldFlags(flags);
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_EnsureVisibleEnforcePolicy)(void* _obj,int line)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->EnsureVisibleEnforcePolicy(line);
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetTabIndents)(void* _obj,bool tabIndents)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetTabIndents(tabIndents);
-#endif
-}
-EWXWEXPORT(bool,wxStyledTextCtrl_GetTabIndents)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetTabIndents();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetBackSpaceUnIndents)(void* _obj,bool bsUnIndents)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetBackSpaceUnIndents(bsUnIndents);
-#endif
-}
-EWXWEXPORT(bool,wxStyledTextCtrl_GetBackSpaceUnIndents)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetBackSpaceUnIndents();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetMouseDwellTime)(void* _obj,int periodMilliseconds)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetMouseDwellTime(periodMilliseconds);
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_GetMouseDwellTime)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetMouseDwellTime();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_WordStartPosition)(void* _obj,int pos,bool onlyWordCharacters)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->WordStartPosition(pos, onlyWordCharacters);
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_WordEndPosition)(void* _obj,int pos,bool onlyWordCharacters)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->WordEndPosition(pos, onlyWordCharacters);
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetWrapMode)(void* _obj,int mode)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetWrapMode(mode);
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_GetWrapMode)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetWrapMode();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetLayoutCache)(void* _obj,int mode)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetLayoutCache(mode);
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_GetLayoutCache)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetLayoutCache();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetScrollWidth)(void* _obj,int pixelWidth)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetScrollWidth(pixelWidth);
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_GetScrollWidth)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetScrollWidth();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_TextWidth)(void* _obj,int style,wxString* text)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->TextWidth(style, *text);
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetEndAtLastLine)(void* _obj,bool endAtLastLine)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetEndAtLastLine(endAtLastLine);
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_GetEndAtLastLine)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetEndAtLastLine();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_TextHeight)(void* _obj,int line)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->TextHeight(line);
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetUseVerticalScrollBar)(void* _obj,bool show)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetUseVerticalScrollBar(show);
-#endif
-}
-EWXWEXPORT(bool,wxStyledTextCtrl_GetUseVerticalScrollBar)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetUseVerticalScrollBar();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_AppendText)(void* _obj,wxString* text)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->AppendText(*text);
-#endif
-}
-EWXWEXPORT(bool,wxStyledTextCtrl_GetTwoPhaseDraw)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetTwoPhaseDraw();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetTwoPhaseDraw)(void* _obj,bool twoPhase)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetTwoPhaseDraw(twoPhase);
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_TargetFromSelection)(void* _obj)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->TargetFromSelection();
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_LinesJoin)(void* _obj)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->LinesJoin();
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_LinesSplit)(void* _obj,int pixelWidth)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->LinesSplit(pixelWidth);
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetFoldMarginColour)(void* _obj,bool useSetting,int back_r,int back_g,int back_b)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetFoldMarginColour(useSetting, wxColour(back_r,back_g,back_b));
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetFoldMarginHiColour)(void* _obj,bool useSetting,int fore_r,int fore_g,int fore_b)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetFoldMarginHiColour(useSetting, wxColour(fore_r,fore_g,fore_b));
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_LineDuplicate)(void* _obj)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->LineDuplicate();
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_HomeDisplay)(void* _obj)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->HomeDisplay();
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_HomeDisplayExtend)(void* _obj)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->HomeDisplayExtend();
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_LineEndDisplay)(void* _obj)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->LineEndDisplay();
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_LineEndDisplayExtend)(void* _obj)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->LineEndDisplayExtend();
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_LineCopy)(void* _obj)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->LineCopy();
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_MoveCaretInsideView)(void* _obj)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->MoveCaretInsideView();
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_LineLength)(void* _obj,int line)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->LineLength(line);
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_BraceHighlight)(void* _obj,int pos1,int pos2)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->BraceHighlight(pos1, pos2);
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_BraceBadLight)(void* _obj,int pos)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->BraceBadLight(pos);
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_BraceMatch)(void* _obj,int pos)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->BraceMatch(pos);
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(bool,wxStyledTextCtrl_GetViewEOL)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetViewEOL();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetViewEOL)(void* _obj,bool visible)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetViewEOL(visible);
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetDocPointer)(void* _obj,void* docPointer)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetDocPointer(docPointer);
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetModEventMask)(void* _obj,int mask)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetModEventMask(mask);
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_GetEdgeColumn)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetEdgeColumn();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetEdgeColumn)(void* _obj,int column)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetEdgeColumn(column);
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_GetEdgeMode)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetEdgeMode();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetEdgeMode)(void* _obj,int mode)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetEdgeMode(mode);
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetEdgeColour)(void* _obj,int edgeColour_r,int edgeColour_g,int edgeColour_b)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetEdgeColour(wxColour(edgeColour_r,edgeColour_g,edgeColour_b));
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SearchAnchor)(void* _obj)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SearchAnchor();
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_SearchNext)(void* _obj,int flags,wxString* text)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->SearchNext(flags, *text);
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_SearchPrev)(void* _obj,int flags,wxString* text)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->SearchPrev(flags, *text);
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_LinesOnScreen)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->LinesOnScreen();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_UsePopUp)(void* _obj,bool allowPopUp)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->UsePopUp(allowPopUp);
-#endif
-}
-EWXWEXPORT(bool,wxStyledTextCtrl_SelectionIsRectangle)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->SelectionIsRectangle();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetZoom)(void* _obj,int zoom)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetZoom(zoom);
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_GetZoom)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetZoom();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_AddRefDocument)(void* _obj,void* docPointer)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->AddRefDocument(docPointer);
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_ReleaseDocument)(void* _obj,void* docPointer)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->ReleaseDocument(docPointer);
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_GetModEventMask)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetModEventMask();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetSTCFocus)(void* _obj,bool focus)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetSTCFocus(focus);
-#endif
-}
-EWXWEXPORT(bool,wxStyledTextCtrl_GetSTCFocus)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetSTCFocus();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetStatus)(void* _obj,int statusCode)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetStatus(statusCode);
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_GetStatus)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetStatus();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetMouseDownCaptures)(void* _obj,bool captures)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetMouseDownCaptures(captures);
-#endif
-}
-EWXWEXPORT(bool,wxStyledTextCtrl_GetMouseDownCaptures)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetMouseDownCaptures();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetSTCCursor)(void* _obj,int cursorType)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetSTCCursor(cursorType);
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_GetSTCCursor)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetSTCCursor();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetControlCharSymbol)(void* _obj,int symbol)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetControlCharSymbol(symbol);
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_GetControlCharSymbol)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetControlCharSymbol();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_WordPartLeft)(void* _obj)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->WordPartLeft();
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_WordPartLeftExtend)(void* _obj)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->WordPartLeftExtend();
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_WordPartRight)(void* _obj)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->WordPartRight();
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_WordPartRightExtend)(void* _obj)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->WordPartRightExtend();
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetVisiblePolicy)(void* _obj,int visiblePolicy,int visibleSlop)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetVisiblePolicy(visiblePolicy, visibleSlop);
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_DelLineLeft)(void* _obj)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->DelLineLeft();
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_DelLineRight)(void* _obj)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->DelLineRight();
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetXOffset)(void* _obj,int newOffset)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetXOffset(newOffset);
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_GetXOffset)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetXOffset();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_ChooseCaretX)(void* _obj)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->ChooseCaretX();
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetXCaretPolicy)(void* _obj,int caretPolicy,int caretSlop)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetXCaretPolicy(caretPolicy, caretSlop);
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetYCaretPolicy)(void* _obj,int caretPolicy,int caretSlop)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetYCaretPolicy(caretPolicy, caretSlop);
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetPrintWrapMode)(void* _obj,int mode)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetPrintWrapMode(mode);
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_GetPrintWrapMode)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetPrintWrapMode();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetHotspotActiveForeground)(void* _obj,bool useSetting,int fore_r,int fore_g,int fore_b)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetHotspotActiveForeground(useSetting, wxColour(fore_r,fore_g,fore_b));
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetHotspotActiveBackground)(void* _obj,bool useSetting,int back_r,int back_g,int back_b)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetHotspotActiveBackground(useSetting, wxColour(back_r,back_g,back_b));
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetHotspotActiveUnderline)(void* _obj,bool underline)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetHotspotActiveUnderline(underline);
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_PositionBefore)(void* _obj,int pos)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->PositionBefore(pos);
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_PositionAfter)(void* _obj,int pos)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->PositionAfter(pos);
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_CopyRange)(void* _obj,int start,int end)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->CopyRange(start, end);
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_CopyText)(void* _obj,int length,wxString* text)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->CopyText(length, *text);
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_StartRecord)(void* _obj)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->StartRecord();
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_StopRecord)(void* _obj)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->StopRecord();
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetLexer)(void* _obj,int lexer)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetLexer(lexer);
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_GetLexer)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetLexer();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_Colourise)(void* _obj,int start,int end)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->Colourise(start, end);
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetProperty)(void* _obj,wxString* key,wxString* value)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetProperty(*key, *value);
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetKeyWords)(void* _obj,int keywordSet,wxString* keyWords)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetKeyWords(keywordSet, *keyWords);
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetLexerLanguage)(void* _obj,wxString* language)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetLexerLanguage(*language);
-#endif
-}
-EWXWEXPORT(int,wxStyledTextCtrl_GetCurrentLine)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetCurrentLine();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_StyleSetSpec)(void* _obj,int styleNum,wxString* spec)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->StyleSetSpec(styleNum, *spec);
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_StyleSetFont)(void* _obj,int styleNum,void* font)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->StyleSetFont(styleNum, *(wxFont*) font);
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_StyleSetFontAttr)(void* _obj,int styleNum,int size,wxString* faceName,bool bold,bool italic,bool underline)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->StyleSetFontAttr(styleNum, size, *faceName, bold, italic, underline);
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_CmdKeyExecute)(void* _obj,int cmd)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->CmdKeyExecute(cmd);
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetMargins)(void* _obj,int left,int right)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetMargins(left, right);
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_GetSelection)(void* _obj,void* startPos,void* endPos)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->GetSelection(*(int**) startPos, *(int**) endPos);
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_ScrollToLine)(void* _obj,int line)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->ScrollToLine(line);
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_ScrollToColumn)(void* _obj,int column)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->ScrollToColumn(column);
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetVScrollBar)(void* _obj,void* bar)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetVScrollBar(*(wxScrollBar**) bar);
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetHScrollBar)(void* _obj,void* bar)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetHScrollBar(*(wxScrollBar**) bar);
-#endif
-}
-EWXWEXPORT(bool,wxStyledTextCtrl_GetLastKeydownProcessed)(void* _obj)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->GetLastKeydownProcessed();
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(void,wxStyledTextCtrl_SetLastKeydownProcessed)(void* _obj,bool val)
-{
-#ifdef wxUSE_STC
-   ((wxStyledTextCtrl*) _obj)->SetLastKeydownProcessed(val);
-#endif
-}
-EWXWEXPORT(bool,wxStyledTextCtrl_SaveFile)(void* _obj,wxString* filename)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->SaveFile(*filename);
-#else
-  return NULL;
-#endif
-}
-EWXWEXPORT(bool,wxStyledTextCtrl_LoadFile)(void* _obj,wxString* filename)
-{
-#ifdef wxUSE_STC
-  return ((wxStyledTextCtrl*) _obj)->LoadFile(*filename);
-#else
-  return NULL;
-#endif
-}
− src/cpp/std.cpp
@@ -1,27 +0,0 @@-#include "wrapper.h"--/*------------------------------------------------------------------------------  License: BSD-style (BSD3)--  We sometimes want to use standard C++ types, containers and algorithms, for-  clean-up our code. Unfortunately, most platorms' FFI just support C language,-  not support C++ and its libraries. So, we define C-function to use standard-  C++ types, containers and algorithms in this place.------------------------------------------------------------------------------*/--extern "C"-{-/*------------------------------------------------------------------------------  Boolean types, e.g. C++ bool and C99 _Bool------------------------------------------------------------------------------*/-EWXWEXPORT(int,boolToInt)(bool val)-{-	return val ? 1 :  0;-}--EWXWEXPORT(bool,intToBool)(int val)-{-	return val!= 0 ? true : false;-}--}
− src/cpp/taskbaricon.cpp
@@ -1,91 +0,0 @@-#include "wrapper.h"-#include <wx/taskbar.h>--extern "C" {-/*------------------------------------------------------------------------------  TaskBarIcon------------------------------------------------------------------------------*/-EWXWEXPORT(wxTaskBarIcon*,wxTaskBarIcon_Create)()-{-  return new wxTaskBarIcon();-}--EWXWEXPORT(void,wxTaskBarIcon_Delete)(wxTaskBarIcon* self)-{-  if (self) delete self;-}--/*-EWXWEXPORT(wxMenu*,wxTaskBarIcon_CreatePopupMenu)(wxTaskBarIcon* self)-{-  return self->CreatePopupMenu();-}-*/--EWXWEXPORT(bool,wxTaskBarIcon_IsIconInstalled)(wxTaskBarIcon* self)-{-  return self->IsIconInstalled();-}--EWXWEXPORT(bool,wxTaskBarIcon_IsOk)(wxTaskBarIcon* self)-{-#if (wxVERSION_NUMBER >= 2600)-  return self->IsOk();-#else-  return self->IsOK();-#endif-}--EWXWEXPORT(bool,wxTaskBarIcon_PopupMenu)(wxTaskBarIcon* self,wxMenu* menu)-{-  return self->PopupMenu(menu);-}--EWXWEXPORT(bool,wxTaskBarIcon_RemoveIcon)(wxTaskBarIcon* self)-{-  return self->RemoveIcon();-}--EWXWEXPORT(bool,wxTaskBarIcon_SetIcon)(wxTaskBarIcon* self,wxIcon* icon,wxString* tooltip)-{-  return self->SetIcon(*icon, (tooltip ? *tooltip : *wxEmptyString));-}--EWXWEXPORT(int,expEVT_TASKBAR_MOVE)()-{-    return (int)wxEVT_TASKBAR_MOVE;-}--EWXWEXPORT(int,expEVT_TASKBAR_LEFT_DOWN)()-{-    return (int)wxEVT_TASKBAR_LEFT_DOWN;-}--EWXWEXPORT(int,expEVT_TASKBAR_LEFT_UP)()-{-    return (int)wxEVT_TASKBAR_LEFT_UP;-}--EWXWEXPORT(int,expEVT_TASKBAR_RIGHT_DOWN)()-{-    return (int)wxEVT_TASKBAR_RIGHT_DOWN;-}--EWXWEXPORT(int,expEVT_TASKBAR_RIGHT_UP)()-{-    return (int)wxEVT_TASKBAR_RIGHT_UP;-}--EWXWEXPORT(int,expEVT_TASKBAR_LEFT_DCLICK)()-{-    return (int)wxEVT_TASKBAR_LEFT_DCLICK;-}--EWXWEXPORT(int,expEVT_TASKBAR_RIGHT_DCLICK)()-{-    return (int)wxEVT_TASKBAR_RIGHT_DCLICK;-}--}--
− src/cpp/textstream.cpp
@@ -1,50 +0,0 @@-#include "wrapper.h"-#include <wx/txtstrm.h>--extern "C"-{-EWXWEXPORT( bool, wxInputStream_CanRead)( wxInputStream* self )-{-  if (self)-    return self->CanRead();-  else-    return false;-}----EWXWEXPORT( wxTextInputStream*, wxTextInputStream_Create)( wxInputStream* inputStream, wxString* sep )-{-  return new wxTextInputStream( *inputStream, *sep );-}--EWXWEXPORT( void, wxTextInputStream_Delete)( wxTextInputStream* self )-{-  if (self) delete self;-}--EWXWEXPORT( wxString*, wxTextInputStream_ReadLine)( wxTextInputStream* self )-{-  if (!self)-    return new wxString(wxT(""));-  else-    return new wxString( self->ReadLine() );-}--EWXWEXPORT( wxTextOutputStream*, wxTextOutputStream_Create)( wxOutputStream* outputStream, wxEOL mode )-{-  return new wxTextOutputStream( *outputStream, mode );-}--EWXWEXPORT( void, wxTextOutputStream_Delete)( wxTextOutputStream* self )-{-  if (self) delete self;-}--EWXWEXPORT( void, wxTextOutputStream_WriteString)( wxTextOutputStream* self, wxString* txt )-{-  if (!self) return;-  self->WriteString( *txt );-}--}
− src/cpp/treectrl.cpp
@@ -1,551 +0,0 @@-#include "wrapper.h"--class wxcTreeItemData : public wxTreeItemData-{-  private:-    wxClosure* m_closure;--  public:-    wxcTreeItemData( wxClosure* closure ) { -      m_closure = closure;-    }--    ~wxcTreeItemData() {-      if (m_closure) delete m_closure;-    }--    wxClosure* GetClientClosure() { -      return m_closure; -    }--    void SetClientClosure( wxClosure* closure ) {-      if (m_closure) delete m_closure;-      m_closure = closure;-    }-};--extern "C"-{--EWXWEXPORT(wxcTreeItemData*,wxcTreeItemData_Create)(wxClosure* closure)-{-	return new wxcTreeItemData(closure);-}--EWXWEXPORT(wxClosure*,wxcTreeItemData_GetClientClosure)(wxcTreeItemData* self)-{-	return self->GetClientClosure();-}--EWXWEXPORT(void,wxcTreeItemData_SetClientClosure)(wxcTreeItemData* self,wxClosure* closure)-{-	self->SetClientClosure(closure);-}--EWXWEXPORT(void*,wxTreeItemId_Create)()-{-	return new wxTreeItemId();-}--EWXWEXPORT(void,wxTreeItemId_Delete)(wxTreeItemId* self)-{-	delete self;-}--EWXWEXPORT(bool,wxTreeItemId_IsOk)(wxTreeItemId* self)-{-	return self->IsOk();-}--EWXWEXPORT(wxTreeItemId*,wxTreeItemId_Clone)(wxTreeItemId* self)-{-	wxTreeItemId* clone = new wxTreeItemId();-	*clone = *self;-	return clone;-}--// FIXME: wxHaskell uses this function in Graphics.UI.WXCore.WxcTypes.withTreeItemIdPtr-// to make wxTreeItemId.-//-// But wxWidgets' document says: wxTreemItemIds are not meant to be constructed-// explicitly by the user; they are returned by the wxTreeCtrl functions instead.-//-// http://www.wxwindows.org/manuals/2.8/wx_wxtreeitemid.html#wxtreeitemid-//-// So we must remove this function and replace treeItemId implementation in the-// funture.-EWXWEXPORT(wxTreeItemId*,wxTreeItemId_CreateFromValue)(int value)-{-#if wxVERSION_NUMBER < 2800-	return new wxTreeItemId( value );-#else-	// TODO: This function should be removed. No longer any equivalent in wxWidgets-	wxTreeItemId *item = new wxTreeItemId();-	item->m_pItem = reinterpret_cast<wxTreeItemIdValue>(value);-	return item;-#endif-}--EWXWEXPORT(int,wxTreeItemId_GetValue)(wxTreeItemId* self)-{-	return (long)(self->m_pItem);-}---EWXWEXPORT(wxKeyEvent*,wxTreeEvent_GetKeyEvent)(wxTreeEvent* self)-{-	return (wxKeyEvent*)&(self->GetKeyEvent());-}--EWXWEXPORT(bool,wxTreeEvent_IsEditCancelled)(wxTreeEvent* self)-{-	return self->IsEditCancelled();-}--EWXWEXPORT(void,wxTreeEvent_Allow)(wxTreeEvent* self)-{-	self->Allow();-}---EWXWEXPORT(wxTreeCtrl*,wxTreeCtrl_Create)(void* _obj,void* _cmp,wxWindow* _prt,int _id,int _lft,int _top,int _wdt,int _hgt,int _stl)-{-	return new wxTreeCtrl (_prt, _id, wxPoint(_lft, _top), wxSize(_wdt, _hgt), _stl, wxDefaultValidator);-}--EWXWEXPORT(wxTreeCtrl*,wxTreeCtrl_Create2)(wxWindow* _prt,int _id,int _lft,int _top,int _wdt,int _hgt,int _stl)-{-	return new wxTreeCtrl (_prt, _id, wxPoint(_lft, _top), wxSize(_wdt, _hgt), _stl, wxDefaultValidator);-}--EWXWEXPORT(int,wxTreeCtrl_GetCount)(wxTreeCtrl* self)-{-	int result =(int)self->GetCount();-#ifdef __WXGTK__-	wxTreeItemId t = self->GetRootItem();-	if (t.IsOk()) result++;-#endif-	return result;-}-	-EWXWEXPORT(int,wxTreeCtrl_GetIndent)(wxTreeCtrl* self)-{-	return self->GetIndent();-}-	-EWXWEXPORT(void,wxTreeCtrl_SetIndent)(wxTreeCtrl* self,int indent)-{-	self->SetIndent(indent);-}-	-EWXWEXPORT(int,wxTreeCtrl_GetSpacing)(wxTreeCtrl* self)-{-	return (int)self->GetSpacing();-}-	-EWXWEXPORT(void,wxTreeCtrl_SetSpacing)(wxTreeCtrl* self,int spacing)-{-	self->SetSpacing(spacing);-}-	-EWXWEXPORT(wxImageList*,wxTreeCtrl_GetImageList)(wxTreeCtrl* self)-{-	return self->GetImageList();-}-	-EWXWEXPORT(wxImageList*,wxTreeCtrl_GetStateImageList)(wxTreeCtrl* self)-{-	return self->GetStateImageList();-}--EWXWEXPORT(void,wxTreeCtrl_AssignImageList)(wxTreeCtrl* self,wxImageList* imageList)-{-	self->AssignImageList(imageList);-}--EWXWEXPORT(void,wxTreeCtrl_AssignStateImageList)(wxTreeCtrl* self,wxImageList* imageList)-{-	self->AssignStateImageList(imageList);-}--/*-EWXWEXPORT(wxImageList*,wxTreeCtrl_GetButtonsImageList)(wxTreeCtrl* self)-{-	return self->GetButtonsImageList();-}--EWXWEXPORT(void,wxTreeCtrl_SetButtonsImageList)(wxTreeCtrl* self,wxImageList* imageList)-{-	self->SetButtonsImageList(imageList);-}--EWXWEXPORT(void,wxTreeCtrl_AssignButtonsImageList)(wxTreeCtrl* self,wxImageList* imageList)-{-	self->AssignButtonsImageList(imageList);-}-*/--EWXWEXPORT(void,wxTreeCtrl_SetImageList)(wxTreeCtrl* self,wxImageList* imageList)-{-	self->SetImageList(imageList);-}-	-EWXWEXPORT(void,wxTreeCtrl_SetStateImageList)(wxTreeCtrl* self,wxImageList* imageList)-{-	self->SetStateImageList(imageList);-}-	-EWXWEXPORT(wxString*,wxTreeCtrl_GetItemText)(wxTreeCtrl* self,void* item)-{-	wxString *result = new wxString();-	*result = self->GetItemText(*(wxTreeItemId*)item);-	return result;-}-	-EWXWEXPORT(int,wxTreeCtrl_GetItemImage)(wxTreeCtrl* self,wxTreeItemId* item,int which)-{-	return self->GetItemImage(*item, (wxTreeItemIcon) which);-}-	-EWXWEXPORT(void*,wxTreeCtrl_GetItemData)(wxTreeCtrl* self,wxTreeItemId* item)-{-	return ((wxcTreeItemData*)self->GetItemData(* item))->GetClientClosure();-}--EWXWEXPORT(void*,wxTreeCtrl_GetItemClientClosure)(wxTreeCtrl* self,wxTreeItemId* item)-{-	return ((wxcTreeItemData*)self->GetItemData(* item))->GetClientClosure();-}--	-EWXWEXPORT(void,wxTreeCtrl_SetItemText)(wxTreeCtrl* self,wxTreeItemId* item,wxString* text)-{-	self->SetItemText(* item,*text);-}-	-EWXWEXPORT(void,wxTreeCtrl_SetItemImage)(wxTreeCtrl* self,wxTreeItemId* item,int image,int which)-{-	self->SetItemImage(*item, image, (wxTreeItemIcon)which);-}-	-EWXWEXPORT(void,wxTreeCtrl_SetItemData)(wxTreeCtrl* self,wxTreeItemId* item,wxClosure* closure)-{-	self->SetItemData(*item, new wxcTreeItemData (closure));-}--EWXWEXPORT(void,wxTreeCtrl_SetItemClientClosure)(wxTreeCtrl* self,wxTreeItemId* item,wxClosure* closure)-{-        wxTreeItemData* oldData = self->GetItemData(* item);-        /* bit unsafe: might delete twice but it is definitely ok on MSW 2.4.1 */-        if (oldData) delete oldData;-	self->SetItemData(* item, new wxcTreeItemData (closure));-}--	-EWXWEXPORT(void,wxTreeCtrl_SetItemHasChildren)(wxTreeCtrl* self,wxTreeItemId* item,bool has)-{-	self->SetItemHasChildren(*item, has);-}-	-EWXWEXPORT(void,wxTreeCtrl_SetItemBold)(wxTreeCtrl* self,wxTreeItemId* item,bool bold)-{-	self->SetItemBold(* item, bold);-}-	-EWXWEXPORT(void,wxTreeCtrl_SetItemDropHighlight)(wxTreeCtrl* self,wxTreeItemId* item,bool highlight)-{-#ifdef __WIN32__-	self->SetItemDropHighlight(* item, highlight);-#endif-}-	-EWXWEXPORT(void,wxTreeCtrl_SetItemTextColour)(wxTreeCtrl* self,wxTreeItemId* item,wxColour* col)-{-	self->SetItemTextColour(*item,*col);-}-	-EWXWEXPORT(void,wxTreeCtrl_SetItemBackgroundColour)(wxTreeCtrl* self,wxTreeItemId* item,wxColour* col)-{-	self->SetItemBackgroundColour(* item,* col);-}-	-EWXWEXPORT(void,wxTreeCtrl_SetItemFont)(wxTreeCtrl* self,wxTreeItemId* item,wxFont* font)-{-	self->SetItemFont(* item,*font);-}-	-EWXWEXPORT(bool,wxTreeCtrl_IsVisible)(wxTreeCtrl* self,wxTreeItemId* item)-{-	return self->IsVisible(*item);-}-	-EWXWEXPORT(int,wxTreeCtrl_ItemHasChildren)(wxTreeCtrl* self,wxTreeItemId* item)-{-	return (int)self->ItemHasChildren(* item);-}-	-EWXWEXPORT(bool,wxTreeCtrl_IsExpanded)(wxTreeCtrl* self,wxTreeItemId* item)-{-	return self->IsExpanded(*item);-}-	-EWXWEXPORT(bool,wxTreeCtrl_IsSelected)(wxTreeCtrl* self,wxTreeItemId* item)-{-	return self->IsSelected(*item);-}-	-EWXWEXPORT(bool,wxTreeCtrl_IsBold)(wxTreeCtrl* self,wxTreeItemId* item)-{-	return self->IsBold(*item);-}-	-EWXWEXPORT(int,wxTreeCtrl_GetChildrenCount)(wxTreeCtrl* self,wxTreeItemId* item,int recursively)-{-	return self->GetChildrenCount(* item, recursively);-}-	-EWXWEXPORT(void,wxTreeCtrl_GetRootItem)(wxTreeCtrl* self,wxTreeItemId* _item)-{-	*_item = self->GetRootItem();-}-	-EWXWEXPORT(void,wxTreeCtrl_GetSelection)(wxTreeCtrl* self,wxTreeItemId* _item)-{-	*_item = self->GetSelection();-}-	-EWXWEXPORT(int,wxTreeCtrl_GetSelections)(wxTreeCtrl* self,intptr_t* selections)-{-	int result = 0;-	wxArrayTreeItemIds sel;-	result = self->GetSelections(sel);-	-	if (selections)-	{-          for (int i = 0; i < result; i++) {-            /*-			*(((wxTreeItemId**)selections)[i]) = sel[i];-            */-#if (wxVERSION_NUMBER < 2800)-	    #if wxCHECK_VERSION(2,5,0)-            selections[i] = (intptr_t)(((wxTreeItemId*)sel[i])->m_pItem);-        #else-	        selections[i] = (intptr_t)(sel[i].m_pItem);-	    #endif-#else-            selections[i] = (intptr_t)(((wxTreeItemId)sel[i]).m_pItem);-#endif-	  }-	}-	return result;-}-	-EWXWEXPORT(void,wxTreeCtrl_GetParent)(wxTreeCtrl* self,wxTreeItemId* item,wxTreeItemId* _item)-{-#if wxVERSION_NUMBER < 2400-	*_item = self->GetParent(*item);-#else-	*_item = self->GetItemParent(*item);-#endif-}-	-EWXWEXPORT(void,wxTreeCtrl_GetFirstChild)(wxTreeCtrl* self,wxTreeItemId* item,void* cookie,wxTreeItemId* _item)-{-#if wxVERSION_NUMBER < 2600-	*_item = self->GetFirstChild(*item,*((long*)cookie));-#else-	*_item = self->GetFirstChild(*item, cookie);-#endif-}-	-EWXWEXPORT(void,wxTreeCtrl_GetNextChild)(wxTreeCtrl* self,wxTreeItemId* item,void* cookie,wxTreeItemId* _item)-{-#if wxVERSION_NUMBER < 2600-	*_item = self->GetNextChild(*item,*((long*)cookie));-#else-	*_item = self->GetNextChild(*item, cookie);-#endif-}-	-EWXWEXPORT(void,wxTreeCtrl_GetLastChild)(wxTreeCtrl* self,wxTreeItemId* item,wxTreeItemId* _item)-{-	*_item = self->GetLastChild(*item);-}-	-EWXWEXPORT(void,wxTreeCtrl_GetNextSibling)(wxTreeCtrl* self,wxTreeItemId* item,wxTreeItemId* _item)-{-	*_item = self->GetNextSibling(* item);-}-	-EWXWEXPORT(void,wxTreeCtrl_GetPrevSibling)(wxTreeCtrl* self,wxTreeItemId* item,wxTreeItemId* _item)-{-	*_item = self->GetPrevSibling(* item);-}-	-EWXWEXPORT(void,wxTreeCtrl_GetFirstVisibleItem)(wxTreeCtrl* self,wxTreeItemId* _item)-{-	*_item = self->GetFirstVisibleItem();-}--EWXWEXPORT(void,wxTreeCtrl_GetNextVisible)(wxTreeCtrl* self,wxTreeItemId* item,wxTreeItemId* _item)-{-	*_item = self->GetNextVisible(*item);-}-	-EWXWEXPORT(void,wxTreeCtrl_GetPrevVisible)(wxTreeCtrl* self,wxTreeItemId* item,wxTreeItemId* _item)-{-	*_item = self->GetPrevVisible(*item);-}-	-EWXWEXPORT(void,wxTreeCtrl_AddRoot)(wxTreeCtrl* self,wxString* text,int image,int selectedImage,wxClosure* data,wxTreeItemId* _item)-{-	*_item = self->AddRoot(*text, image, selectedImage, new wxcTreeItemData(data));-}-	-EWXWEXPORT(void,wxTreeCtrl_PrependItem)(wxTreeCtrl* self,wxTreeItemId* parent,wxString* text,int image,int selectedImage,wxClosure* data,wxTreeItemId* _item)-{-	*_item = self->PrependItem(*parent,*text, image, selectedImage, new wxcTreeItemData(data));-}-	-EWXWEXPORT(void,wxTreeCtrl_InsertItem)(wxTreeCtrl* self,wxTreeItemId* parent,wxTreeItemId* idPrevious,wxString* text,int image,int selectedImage,wxClosure* data,wxTreeItemId* _item)-{-	*_item = self->InsertItem(*parent,*idPrevious,*text, image, selectedImage, new wxcTreeItemData(data));-}--EWXWEXPORT(void,wxTreeCtrl_InsertItem2)(wxTreeCtrl* self,wxTreeItemId* parent,wxTreeItemId* idPrevious,wxString* text,int image,int selectedImage,wxClosure* closure,wxTreeItemId* _item)-{-	*_item = self->InsertItem(*parent,*idPrevious,*text, image, selectedImage, new wxcTreeItemData(closure));-}--	-EWXWEXPORT(void,wxTreeCtrl_InsertItemByIndex)(wxTreeCtrl* self,wxTreeItemId* parent,int index,wxString* text,int image,int selectedImage,wxClosure* data,wxTreeItemId* _item)-{-	*_item = self->InsertItem(*parent, index,*text, image, selectedImage, new wxcTreeItemData(data));-}--EWXWEXPORT(void,wxTreeCtrl_InsertItemByIndex2)(wxTreeCtrl* self,wxTreeItemId* parent,int index,wxString* text,int image,int selectedImage,wxClosure* data,wxTreeItemId* _item)-{-	*_item = self->InsertItem(*parent, index,*text, image, selectedImage, new wxcTreeItemData(data));-}--	-EWXWEXPORT(void,wxTreeCtrl_AppendItem)(wxTreeCtrl* self,wxTreeItemId* parent,wxString* text,int image,int selectedImage,wxClosure* data,wxTreeItemId* _item)-{-	*_item = self->AppendItem(* parent,*text, image, selectedImage, new wxcTreeItemData(data));-}-	-EWXWEXPORT(void,wxTreeCtrl_Delete)(wxTreeCtrl* self,wxTreeItemId* item)-{-	self->Delete(*item);-}-	-EWXWEXPORT(void,wxTreeCtrl_DeleteChildren)(wxTreeCtrl* self,wxTreeItemId* item)-{-	self->DeleteChildren(*item);-}-	-EWXWEXPORT(void,wxTreeCtrl_DeleteAllItems)(wxTreeCtrl* self)-{-	self->DeleteAllItems();-}-	-EWXWEXPORT(void,wxTreeCtrl_Expand)(wxTreeCtrl* self,wxTreeItemId* item)-{-	self->Expand(*item);-}-	-EWXWEXPORT(void,wxTreeCtrl_Collapse)(wxTreeCtrl* self,wxTreeItemId* item)-{-	self->Collapse(*item);-}-	-EWXWEXPORT(void,wxTreeCtrl_CollapseAndReset)(wxTreeCtrl* self,wxTreeItemId* item)-{-	self->CollapseAndReset(*item);-}-	-EWXWEXPORT(void,wxTreeCtrl_Toggle)(wxTreeCtrl* self,wxTreeItemId* item)-{-	self->Toggle(*item);-}-	-EWXWEXPORT(void,wxTreeCtrl_Unselect)(wxTreeCtrl* self)-{-	self->Unselect();-}-	-EWXWEXPORT(void,wxTreeCtrl_UnselectAll)(wxTreeCtrl* self)-{-	self->UnselectAll();-}-	-EWXWEXPORT(void,wxTreeCtrl_SelectItem)(wxTreeCtrl* self,wxTreeItemId* item)-{-	self->SelectItem(*item);-}-	-EWXWEXPORT(void,wxTreeCtrl_EnsureVisible)(wxTreeCtrl* self,wxTreeItemId* item)-{-	self->EnsureVisible(*item);-}-	-EWXWEXPORT(void,wxTreeCtrl_ScrollTo)(wxTreeCtrl* self,wxTreeItemId* item)-{-	self->ScrollTo(*item);-}-	-EWXWEXPORT(void,wxTreeCtrl_EditLabel)(wxTreeCtrl* self,wxTreeItemId* item)-{-	self->EditLabel(*item);-}-	-EWXWEXPORT(void*,wxTreeCtrl_GetEditControl)(wxTreeCtrl* self)-{-#ifdef __WIN32__-	return (void*)self->GetEditControl();-#else-	return NULL;-#endif-}-	-EWXWEXPORT(void,wxTreeCtrl_EndEditLabel)(wxTreeCtrl* self,wxTreeItemId* item,bool discardChanges)-{-#ifdef __WIN32__-	self->EndEditLabel(*item, discardChanges);-#endif-}-	-EWXWEXPORT(int,wxTreeCtrl_OnCompareItems)(wxTreeCtrl* self,wxTreeItemId* item1,wxTreeItemId* item2)-{-	return self->OnCompareItems(*item1,*item2);-}-	-EWXWEXPORT(void,wxTreeCtrl_SortChildren)(wxTreeCtrl* self,wxTreeItemId* item)-{-	self->SortChildren(*item);-}-	-EWXWEXPORT(void,wxTreeCtrl_HitTest)(wxTreeCtrl* self,int _x,int _y,void* flags,wxTreeItemId* _item)-{-	*_item = self->HitTest(wxPoint(_x, _y),*((int*)flags));-}-	-EWXWEXPORT(wxRect*,wxTreeCtrl_GetBoundingRect)(wxTreeCtrl* self,wxTreeItemId* item,bool textOnly)-{-#ifdef __WIN32__-	wxRect rct;-	int result = self->GetBoundingRect(*item, rct, textOnly);-	if (result)-	{-		wxRect* rt = new wxRect();-		*rt = self->GetRect();-		return rt;-	}-		wxRect* rt = new wxRect(-1,-1,-1,-1);-		return rt;-#else-	return 0;-#endif-}-	-}
− src/cpp/wrapper.cpp
@@ -1,753 +0,0 @@-#include "wrapper.h"-#include "wx/tooltip.h"-#include "wx/dynlib.h"-#include "wx/fs_zip.h"--/* quantize is not supported on wxGTK 2.4.0 */-#if !defined(__WXGTK__) || (wxVERSION_NUMBER > 2400)-#  include "wx/quantize.h"-#endif--/*------------------------------------------------------------------------------    Miscellaneous helper functions------------------------------------------------------------------------------*/--int copyStrToBuf(void* dst, wxString& src) {-  if (dst) wxStrcpy ((wxChar*) dst, src.c_str());-  return src.Length();-}--/*------------------------------------------------------------------------------    The global idle timer------------------------------------------------------------------------------*/-class wxIdleTimer : public wxTimer-{-public:-  void Notify() {-    wxWakeUpIdle();   /* send idle events */-  }-};--wxIdleTimer* idleTimer = NULL;--void initIdleTimer()-{-  idleTimer = new wxIdleTimer();-}--void doneIdleTimer()-{-  if (idleTimer) {-    idleTimer->Stop();-    delete idleTimer;-    idleTimer = NULL;-  }-}----/*------------------------------------------------------------------------------    The main application------------------------------------------------------------------------------*/-wxClosure* initClosure = NULL;-int APPTerminating = 0;--IMPLEMENT_APP_NO_MAIN(ELJApp);--bool ELJApp::OnInit (void)-{-  wxInitAllImageHandlers();-  initIdleTimer();-  if (initClosure) {-    delete initClosure; /* special: init is only called once with a NULL event */-    initClosure=NULL;-  }-  return true;-}--int ELJApp::OnExit( void )-{-  doneIdleTimer();-  return wxApp::OnExit();-}--void ELJApp::InitZipFileSystem()-{-        static int InitZIPFileSystem_done = 0;--        if (!InitZIPFileSystem_done)-        {-                InitZIPFileSystem_done = 1;-                wxFileSystem::AddHandler(new wxZipFSHandler());-        }-}--void ELJApp::InitImageHandlers()-{-        static int InitImageHandlers_done = 0;--        if (!InitImageHandlers_done)-        {-                InitImageHandlers_done = 1;-                wxInitAllImageHandlers();-        }-}---/* "getCallback" is a hack to retrieve the callback object for a certain event-   see also "wxEvtHandler_FindClosure"-*/-static wxCallback** getCallback = NULL;--void ELJApp::HandleEvent(wxEvent& _evt)-{-  wxCallback* callback = (wxCallback*)(_evt.m_callbackUserData);-  if (getCallback) {-    *getCallback = callback;    /* retrieve the callback */-  }-  else if (callback) {-    callback->Invoke( &_evt );  /* normal: invoke the callback function */-  }-}--/*------------------------------------------------------------------------------    Closures------------------------------------------------------------------------------*/-wxClosure::wxClosure( ClosureFun fun, void* data )-{-  m_refcount = 0;-  m_fun  = fun;-  m_data = data;-}--wxClosure::~wxClosure()-{-  /* call for the last time with a NULL event. Give opportunity to clean up resources */-  if (m_fun) { m_fun((void*)m_fun, m_data, NULL); }-}--void wxClosure::IncRef()-{-  m_refcount++;-}--void wxClosure::DecRef()-{-  m_refcount--;-  if (m_refcount <= 0) {-    delete this;-  }-}--void wxClosure::Invoke( wxEvent* event )-{-  if (event && m_fun) { m_fun((void*)m_fun, m_data, event); }-};--void* wxClosure::GetData()-{-  return m_data;-}--/*------------------------------------------------------------------------------    callback: a reference counting wrapper for a closure------------------------------------------------------------------------------*/-wxCallback::wxCallback( wxClosure* closure )-{-  m_closure = closure;-  m_closure->IncRef();-}--wxCallback::~wxCallback()-{-  m_closure->DecRef();-}--void wxCallback::Invoke( wxEvent* event )-{-  m_closure->Invoke(event);-}--wxClosure* wxCallback::GetClosure()-{-  return m_closure;-}----/*------------------------------------------------------------------------------    wrapper for objectRefData------------------------------------------------------------------------------*/-class wxcClosureRefData : public wxObjectRefData-{-  private:-    wxClosure*  m_closure;-  public:-    wxcClosureRefData( wxClosure* closure );-    ~wxcClosureRefData();--    wxClosure* GetClosure();-};--wxcClosureRefData::wxcClosureRefData( wxClosure* closure )-{-  m_closure = closure;-}--wxcClosureRefData::~wxcClosureRefData()-{-/* printf("delete wxc-ClosureRefData\n");  */-  if (m_closure) { delete m_closure; m_closure = NULL; }-}--wxClosure* wxcClosureRefData::GetClosure()-{-  return m_closure;-}---/*------------------------------------------------------------------------------    C interface to event handling and closures.------------------------------------------------------------------------------*/-extern "C"-{-/* event handling */-EWXWEXPORT(int,wxEvtHandler_Connect)(void* _obj,int first,int last,int type,wxClosure* closure)-{-  wxCallback* callback = new wxCallback(closure);-  ((wxEvtHandler*)_obj)->Connect(first, last, type, (wxObjectEventFunction)&ELJApp::HandleEvent, callback);-  return 0;-}--EWXWEXPORT(wxClosure*,wxEvtHandler_GetClosure)(wxEvtHandler* evtHandler,int id,int type)-{-  wxCommandEvent  event(type,id);     //We can use any kind of event here-  wxCallback*     callback = NULL;-  bool            found    = false;--  //set the global variable 'getCallback' so HandleEvent-  //knows we just want to know the closure. Unfortunately, this-  //seems the cleanest way to retrieve the callback in wxWindows.-  getCallback = &callback;-  found = evtHandler->SearchDynamicEventTable( event );-  getCallback = NULL;--  if (found && callback)-    return callback->GetClosure();-  else-    return NULL;-}--/* closures */-EWXWEXPORT(wxClosure*,wxClosure_Create)(ClosureFun fun,void* data)-{-  return new wxClosure(fun,data);-}--EWXWEXPORT(void*,wxClosure_GetData)(wxClosure* closure)-{-  return closure->GetData();-}--/* client data */-EWXWEXPORT(void*,wxEvtHandler_GetClientClosure)(void* _obj)-{-  return (void*)((wxEvtHandler*)_obj)->GetClientObject();-}--EWXWEXPORT(void,wxEvtHandler_SetClientClosure)(void* _obj,wxClosure* closure)-{-  ((wxEvtHandler*)_obj)->SetClientObject(closure);-}--EWXWEXPORT(wxClosure*,wxObject_GetClientClosure)(wxObject* _obj)-{-  wxcClosureRefData* refData = (wxcClosureRefData*)_obj->GetRefData();-  if (refData)-    return refData->GetClosure();-  else-    return NULL;-}--EWXWEXPORT(void,wxObject_SetClientClosure)(wxObject* _obj,wxClosure* closure)-{-  wxcClosureRefData* refData;-  /* wxASSERT(_obj->GetRefData() == NULL); */-  _obj->UnRef();-  wxASSERT(_obj->GetRefData() == NULL);-  refData = new wxcClosureRefData( closure );-  _obj->SetRefData( refData );    //set new data -- ref count must be 1 as setRefData doesn't increase it.  -}--/*------------------------------------------------------------------------------    C interface to the idle timer------------------------------------------------------------------------------*/-EWXWEXPORT(int,ELJApp_GetIdleInterval)()-{-  if (!idleTimer) return 0;--  if (idleTimer->IsRunning())-    return idleTimer->GetInterval();-  else-    return 0;-}--EWXWEXPORT(void,ELJApp_SetIdleInterval)(int interval)-{-  if (idleTimer) {-    if (idleTimer->IsRunning()) {-      idleTimer->Stop();-    }-    if (interval >= 5) {-      idleTimer->Start( interval, false );-    }-  }-}--/*------------------------------------------------------------------------------    C interface to the application.------------------------------------------------------------------------------*/-//int OnExit();-//virtual void OnFatalException();-EWXWEXPORT(int,ELJApp_MainLoop)()-{-        return wxGetApp().MainLoop();-}--EWXWEXPORT(bool,ELJApp_Initialized)()-{-#if WXWIN_COMPATIBILITY_2_6-        return wxGetApp().Initialized();-#else-        return true;-#endif-}--EWXWEXPORT(int,ELJApp_Pending)()-{-        return (int)wxGetApp().Pending();-}--EWXWEXPORT(void,ELJApp_Dispatch)()-{-        wxGetApp().Dispatch();-}--EWXWEXPORT(wxString*,ELJApp_GetAppName)()-{-	wxString *result = new wxString();-	*result = wxGetApp().GetAppName();-	return result;-}--EWXWEXPORT(void,ELJApp_SetAppName)(wxString* name)-{-        wxGetApp().SetAppName(*name);-}--EWXWEXPORT(wxString*,ELJApp_GetClassName)()-{-	wxString *result = new wxString();-	*result = wxGetApp().GetClassName();-	return result;-}--EWXWEXPORT(void,ELJApp_SetClassName)(wxString* name)-{-        wxGetApp().SetClassName(*name);-}--EWXWEXPORT(wxString*,ELJApp_GetVendorName)()-{-	wxString *result = new wxString();-	*result = wxGetApp().GetVendorName();-	return result;-}--EWXWEXPORT(void,ELJApp_SetVendorName)(wxString* name)-{-        wxGetApp().SetVendorName(*name);-}--EWXWEXPORT(void*,ELJApp_GetTopWindow)()-{-        return wxGetApp().GetTopWindow();-}--EWXWEXPORT(void,ELJApp_SetExitOnFrameDelete)(bool flag)-{-        wxGetApp().SetExitOnFrameDelete(flag);-}--EWXWEXPORT(int,ELJApp_GetExitOnFrameDelete)()-{-        return (int)wxGetApp().GetExitOnFrameDelete();-}--EWXWEXPORT(void*,ELJApp_CreateLogTarget)()-{-#if wxVERSION_NUMBER <= 2600-        return wxGetApp().CreateLogTarget();-#else-        wxAppTraits* appTraits = wxGetApp().GetTraits();-        return appTraits->CreateLogTarget();-#endif-}--/*-EWXWEXPORT(int,ELJApp_GetWantDebugOutput)()-{-        return (int)wxGetApp().GetWantDebugOutput();-}-*/--EWXWEXPORT(void,ELJApp_SetUseBestVisual)(bool flag)-{-        wxGetApp().SetUseBestVisual( flag);-}--EWXWEXPORT(int,ELJApp_GetUseBestVisual)()-{-        return (int)wxGetApp().GetUseBestVisual();-}--EWXWEXPORT(void,ELJApp_SetPrintMode)(int mode)-{-        wxGetApp().SetPrintMode(mode);-}--EWXWEXPORT(void,ELJApp_ExitMainLoop)()-{-        wxGetApp ().ExitMainLoop();-}--EWXWEXPORT(void,ELJApp_SetTopWindow)(wxWindow* _wnd)-{-        wxGetApp ().SetTopWindow (_wnd);-}-/*-EWXWEXPORT(int,ELJApp_SendIdleEvents)()-{-        return (int)wxGetApp().SendIdleEvents();-}--EWXWEXPORT(int,ELJApp_SendIdleEventsToWindow)(wxWindow* win)-{-        return (int)wxGetApp().SendIdleEvents( win);-}-*/-EWXWEXPORT(void,ELJApp_EnableTooltips)(bool _enable)-{-        wxToolTip::Enable (_enable);-}--EWXWEXPORT(void,ELJApp_SetTooltipDelay)(int _ms)-{-        wxToolTip::SetDelay (_ms);-}--EWXWEXPORT(void,ELJApp_InitAllImageHandlers)()-{-        wxInitAllImageHandlers();-}--EWXWEXPORT(void,ELJApp_Bell)()-{-        wxBell();-}--EWXWEXPORT(wxSize*,ELJApp_DisplaySize)()-{-	wxSize* sz = new wxSize();-	*sz = wxGetDisplaySize();-	return sz;-}--EWXWEXPORT(void,ELJApp_EnableTopLevelWindows)(bool _enb)-{-        wxEnableTopLevelWindows(_enb);-}--EWXWEXPORT(void,ELJApp_Exit)()-{-        wxExit();-}--EWXWEXPORT(wxPoint*,ELJApp_MousePosition)()-{-	wxPoint* pt = new wxPoint();-	*pt = wxGetMousePosition();-	return pt;-}--EWXWEXPORT(void*,ELJApp_FindWindowByLabel)(wxString* _lbl,wxWindow* _prt)-{-        return (void*)wxFindWindowByLabel(*_lbl, _prt);-}--EWXWEXPORT(void*,ELJApp_FindWindowByName)(wxString* _lbl,wxWindow* _prt)-{-        return (void*)wxFindWindowByName(*_lbl, _prt);-}--EWXWEXPORT(void*,ELJApp_FindWindowById)(int _id,wxWindow* _prt)-{-        return (void*)wxWindow::FindWindowById((long)_id, _prt);-}---EWXWEXPORT(void*,ELJApp_GetApp)()-{-        return (void*)wxTheApp;-}--EWXWEXPORT(wxString*,ELJApp_GetUserId)()-{-	wxString *result = new wxString();-	*result = wxGetUserId();-	return result;-}--EWXWEXPORT(wxString*,ELJApp_GetUserName)()-{-	wxString *result = new wxString();-	*result = wxGetUserName();-	return result;-}--EWXWEXPORT(wxString*,ELJApp_GetUserHome)(wxString* _usr)-{-	wxString *result = new wxString();-	*result = wxGetUserHome(*_usr);-	return result;-}--EWXWEXPORT(int,ELJApp_ExecuteProcess)(wxString* _cmd,bool _snc,void* _prc)-{-        return (int)wxExecute(*_cmd, _snc , (wxProcess*)_prc);-}--EWXWEXPORT(int,ELJApp_Yield)()-{-        return (int)wxYield();-}--EWXWEXPORT(int,ELJApp_SafeYield)(wxWindow* _win)-{-        return (int)wxSafeYield(_win);-}--EWXWEXPORT(int,ELJApp_GetOsVersion)(int* _maj,int* _min)-{-        return wxGetOsVersion(_maj, _min);-}--EWXWEXPORT(wxString*,ELJApp_GetOsDescription)()-{-	wxString *result = new wxString();-	*result = wxGetOsDescription();-	return result;-}--EWXWEXPORT(void,ELJApp_Sleep)(int _scs)-{-        wxSleep(_scs);-}--EWXWEXPORT(void,ELJApp_MilliSleep)(int _mscs)-{-#if (wxVERSION_NUMBER < 2600)-        wxUsleep(_mscs);-#else-        wxMilliSleep(_mscs);-#endif-}--EWXWEXPORT(bool,ELJApp_IsTerminating)()-{-        return APPTerminating;-}--EWXWEXPORT(int,QuantizePalette)(void* src,void* dest,void* pPalette,int desiredNoColours,void* eightBitData,int flags)-{-#if defined(__WXGTK__) && (wxVERSION_NUMBER <= 2400)-	return 0;-#else-        return (int)wxQuantize::Quantize(*((wxImage*)src), *((wxImage*)dest), (wxPalette**)pPalette, desiredNoColours, (unsigned char**)eightBitData, flags);-#endif-}--EWXWEXPORT(int,Quantize)(void* src,void* dest,int desiredNoColours,void* eightBitData,int flags)-{-#if defined(__WXGTK__) && (wxVERSION_NUMBER <= 2400)-	return 0;-#else-        return (int)wxQuantize::Quantize(*((wxImage*)src), *((wxImage*)dest), desiredNoColours, (unsigned char**)eightBitData, flags);-#endif-}---EWXWEXPORT(void*,wxEvtHandler_Create)()-{-        return (void*)new wxEvtHandler();-}--EWXWEXPORT(void,wxEvtHandler_Delete)(wxEvtHandler* self)-{-        delete self;-}---EWXWEXPORT(int,wxEvtHandler_Disconnect)(wxEvtHandler* self,int first,int last,int type,wxObject* data)-{-        return (int)self->Disconnect(first, last, type, (wxObjectEventFunction)&ELJApp::HandleEvent, data);-}--EWXWEXPORT(void*,wxEvtHandler_GetNextHandler)(wxEvtHandler* self)-{-        return (void*)self->GetNextHandler();-}--EWXWEXPORT(void*,wxEvtHandler_GetPreviousHandler)(wxEvtHandler* self)-{-        return (void*)self->GetPreviousHandler();-}--EWXWEXPORT(void,wxEvtHandler_SetNextHandler)(wxEvtHandler* self,void* handler)-{-        self->SetNextHandler((wxEvtHandler*)handler);-}--EWXWEXPORT(void,wxEvtHandler_SetPreviousHandler)(wxEvtHandler* self,void* handler)-{-        self->SetPreviousHandler((wxEvtHandler*)handler);-}--EWXWEXPORT(void,wxEvtHandler_SetEvtHandlerEnabled)(wxEvtHandler* self,bool enabled)-{-        self->SetEvtHandlerEnabled(enabled);-}--EWXWEXPORT(bool,wxEvtHandler_GetEvtHandlerEnabled)(wxEvtHandler* self)-{-        return self->GetEvtHandlerEnabled();-}--EWXWEXPORT(bool,wxEvtHandler_ProcessEvent)(wxEvtHandler* self,wxEvent* event)-{-        return self->ProcessEvent(*event);-}--EWXWEXPORT(void,wxEvtHandler_AddPendingEvent)(wxEvtHandler* self,wxEvent* event)-{-        self->AddPendingEvent(*event);-}--EWXWEXPORT(void,wxEvtHandler_ProcessPendingEvents)(wxEvtHandler* self)-{-        self->ProcessPendingEvents();-}--EWXWEXPORT(void*,Null_AcceleratorTable)()-{-        return (void*)&wxNullAcceleratorTable;-}--EWXWEXPORT(void*,Null_Bitmap)()-{-        return (void*)&wxNullBitmap;-}--EWXWEXPORT(void*,Null_Icon)()-{-        return (void*)&wxNullIcon;-}--EWXWEXPORT(void*,Null_Cursor)()-{-        return (void*)&wxNullCursor;-}--EWXWEXPORT(void*,Null_Pen)()-{-        return (void*)&wxNullPen;-}--EWXWEXPORT(void*,Null_Brush)()-{-        return (void*)&wxNullBrush;-}--EWXWEXPORT(void*,Null_Palette)()-{-        return (void*)&wxNullPalette;-}--EWXWEXPORT(void*,Null_Font)()-{-        return (void*)&wxNullFont;-}--EWXWEXPORT(void*,Null_Colour)()-{-        return (void*)&wxNullColour;-}-/*-EWXWEXPORT(bool,wxDllLoader_LoadLibrary)(void* _name,int* _success)-{-        bool success;--        wxDllType result = wxDllLoader::LoadLibrary ((const wxChar*)_name, &success);--        if (success)-                *_success = 1;-        else-                *_success = 0;--        return result;-}--EWXWEXPORT(void,wxDllLoader_UnloadLibrary)(int _handle)-{-        wxDllLoader::UnloadLibrary ((wxDllType)_handle);-}--EWXWEXPORT(void*,wxDllLoader_GetSymbol)(int _handle,void* _name)-{-        return wxDllLoader::GetSymbol ((wxDllType)_handle, (const wxChar*)_name);-}-*/-EWXWEXPORT(void,wxCFree)(void* _ptr)-{-        free (_ptr);-}--EWXWEXPORT(void*,wxClassInfo_CreateClassByName)(wxString* _inf)-{-        wxClassInfo* inf = wxClassInfo::FindClass (*_inf);-        if (inf)-                return inf->CreateObject();-        return NULL;-}--EWXWEXPORT(void*,wxClassInfo_GetClassName)(wxObject* self)-{-        wxClassInfo* inf = self->GetClassInfo();-        if (inf)-                return (void*)inf->GetClassName();-        return NULL;-}--EWXWEXPORT(bool,wxClassInfo_IsKindOf)(wxObject* self,wxString* _name)-{-        wxClassInfo* inf = wxClassInfo::FindClass (*_name);-        if (inf)-                return self->IsKindOf(inf);-        return false;-}--EWXWEXPORT(int,wxEvent_NewEventType)()-{-        return (int)wxNewEventType();-}-}
− src/eiffel/stc.e
@@ -1,1158 +0,0 @@-wxSTC_INVALID_POSITION : INTEGER is -1-wxSTC_START : INTEGER is 2000-wxSTC_OPTIONAL_START : INTEGER is 3000-wxSTC_LEXER_START : INTEGER is 4000-wxSTC_WS_INVISIBLE : INTEGER is 0-wxSTC_WS_VISIBLEALWAYS : INTEGER is 1-wxSTC_WS_VISIBLEAFTERINDENT : INTEGER is 2-wxSTC_EOL_CRLF : INTEGER is 0-wxSTC_EOL_CR : INTEGER is 1-wxSTC_EOL_LF : INTEGER is 2-wxSTC_CP_UTF8 : INTEGER is 65001-wxSTC_CP_DBCS : INTEGER is 1-wxSTC_MARKER_MAX : INTEGER is 31-wxSTC_MARK_CIRCLE : INTEGER is 0-wxSTC_MARK_ROUNDRECT : INTEGER is 1-wxSTC_MARK_ARROW : INTEGER is 2-wxSTC_MARK_SMALLRECT : INTEGER is 3-wxSTC_MARK_SHORTARROW : INTEGER is 4-wxSTC_MARK_EMPTY : INTEGER is 5-wxSTC_MARK_ARROWDOWN : INTEGER is 6-wxSTC_MARK_MINUS : INTEGER is 7-wxSTC_MARK_PLUS : INTEGER is 8-wxSTC_MARK_VLINE : INTEGER is 9-wxSTC_MARK_LCORNER : INTEGER is 10-wxSTC_MARK_TCORNER : INTEGER is 11-wxSTC_MARK_BOXPLUS : INTEGER is 12-wxSTC_MARK_BOXPLUSCONNECTED : INTEGER is 13-wxSTC_MARK_BOXMINUS : INTEGER is 14-wxSTC_MARK_BOXMINUSCONNECTED : INTEGER is 15-wxSTC_MARK_LCORNERCURVE : INTEGER is 16-wxSTC_MARK_TCORNERCURVE : INTEGER is 17-wxSTC_MARK_CIRCLEPLUS : INTEGER is 18-wxSTC_MARK_CIRCLEPLUSCONNECTED : INTEGER is 19-wxSTC_MARK_CIRCLEMINUS : INTEGER is 20-wxSTC_MARK_CIRCLEMINUSCONNECTED : INTEGER is 21-wxSTC_MARK_BACKGROUND : INTEGER is 22-wxSTC_MARK_DOTDOTDOT : INTEGER is 23-wxSTC_MARK_ARROWS : INTEGER is 24-wxSTC_MARK_PIXMAP : INTEGER is 25-wxSTC_MARK_CHARACTER : INTEGER is 10000-wxSTC_MARKNUM_FOLDEREND : INTEGER is 25-wxSTC_MARKNUM_FOLDEROPENMID : INTEGER is 26-wxSTC_MARKNUM_FOLDERMIDTAIL : INTEGER is 27-wxSTC_MARKNUM_FOLDERTAIL : INTEGER is 28-wxSTC_MARKNUM_FOLDERSUB : INTEGER is 29-wxSTC_MARKNUM_FOLDER : INTEGER is 30-wxSTC_MARKNUM_FOLDEROPEN : INTEGER is 31-wxSTC_MASK_FOLDERS : INTEGER is 4261412864-wxSTC_MARGIN_SYMBOL : INTEGER is 0-wxSTC_MARGIN_NUMBER : INTEGER is 1-wxSTC_STYLE_DEFAULT : INTEGER is 32-wxSTC_STYLE_LINENUMBER : INTEGER is 33-wxSTC_STYLE_BRACELIGHT : INTEGER is 34-wxSTC_STYLE_BRACEBAD : INTEGER is 35-wxSTC_STYLE_CONTROLCHAR : INTEGER is 36-wxSTC_STYLE_INDENTGUIDE : INTEGER is 37-wxSTC_STYLE_LASTPREDEFINED : INTEGER is 39-wxSTC_STYLE_MAX : INTEGER is 127-wxSTC_CHARSET_ANSI : INTEGER is 0-wxSTC_CHARSET_DEFAULT : INTEGER is 1-wxSTC_CHARSET_BALTIC : INTEGER is 186-wxSTC_CHARSET_CHINESEBIG5 : INTEGER is 136-wxSTC_CHARSET_EASTEUROPE : INTEGER is 238-wxSTC_CHARSET_GB2312 : INTEGER is 134-wxSTC_CHARSET_GREEK : INTEGER is 161-wxSTC_CHARSET_HANGUL : INTEGER is 129-wxSTC_CHARSET_MAC : INTEGER is 77-wxSTC_CHARSET_OEM : INTEGER is 255-wxSTC_CHARSET_RUSSIAN : INTEGER is 204-wxSTC_CHARSET_SHIFTJIS : INTEGER is 128-wxSTC_CHARSET_SYMBOL : INTEGER is 2-wxSTC_CHARSET_TURKISH : INTEGER is 162-wxSTC_CHARSET_JOHAB : INTEGER is 130-wxSTC_CHARSET_HEBREW : INTEGER is 177-wxSTC_CHARSET_ARABIC : INTEGER is 178-wxSTC_CHARSET_VIETNAMESE : INTEGER is 163-wxSTC_CHARSET_THAI : INTEGER is 222-wxSTC_CASE_MIXED : INTEGER is 0-wxSTC_CASE_UPPER : INTEGER is 1-wxSTC_CASE_LOWER : INTEGER is 2-wxSTC_INDIC_MAX : INTEGER is 7-wxSTC_INDIC_PLAIN : INTEGER is 0-wxSTC_INDIC_SQUIGGLE : INTEGER is 1-wxSTC_INDIC_TT : INTEGER is 2-wxSTC_INDIC_DIAGONAL : INTEGER is 3-wxSTC_INDIC_STRIKE : INTEGER is 4-wxSTC_INDIC_HIDDEN : INTEGER is 5-wxSTC_INDIC0_MASK : INTEGER is 32-wxSTC_INDIC1_MASK : INTEGER is 64-wxSTC_INDIC2_MASK : INTEGER is 128-wxSTC_INDICS_MASK : INTEGER is 224-wxSTC_PRINT_NORMAL : INTEGER is 0-wxSTC_PRINT_INVERTLIGHT : INTEGER is 1-wxSTC_PRINT_BLACKONWHITE : INTEGER is 2-wxSTC_PRINT_COLOURONWHITE : INTEGER is 3-wxSTC_PRINT_COLOURONWHITEDEFAULTBG : INTEGER is 4-wxSTC_FIND_WHOLEWORD : INTEGER is 2-wxSTC_FIND_MATCHCASE : INTEGER is 4-wxSTC_FIND_WORDSTART : INTEGER is 1048576-wxSTC_FIND_REGEXP : INTEGER is 2097152-wxSTC_FIND_POSIX : INTEGER is 4194304-wxSTC_FOLDLEVELBASE : INTEGER is 1024-wxSTC_FOLDLEVELWHITEFLAG : INTEGER is 4096-wxSTC_FOLDLEVELHEADERFLAG : INTEGER is 8192-wxSTC_FOLDLEVELBOXHEADERFLAG : INTEGER is 16384-wxSTC_FOLDLEVELBOXFOOTERFLAG : INTEGER is 32768-wxSTC_FOLDLEVELCONTRACTED : INTEGER is 65536-wxSTC_FOLDLEVELUNINDENT : INTEGER is 131072-wxSTC_FOLDLEVELNUMBERMASK : INTEGER is 4095-wxSTC_FOLDFLAG_LINEBEFORE_EXPANDED : INTEGER is 2-wxSTC_FOLDFLAG_LINEBEFORE_CONTRACTED : INTEGER is 4-wxSTC_FOLDFLAG_LINEAFTER_EXPANDED : INTEGER is 8-wxSTC_FOLDFLAG_LINEAFTER_CONTRACTED : INTEGER is 16-wxSTC_FOLDFLAG_LEVELNUMBERS : INTEGER is 64-wxSTC_FOLDFLAG_BOX : INTEGER is 1-wxSTC_TIME_FOREVER : INTEGER is 10000000-wxSTC_WRAP_NONE : INTEGER is 0-wxSTC_WRAP_WORD : INTEGER is 1-wxSTC_CACHE_NONE : INTEGER is 0-wxSTC_CACHE_CARET : INTEGER is 1-wxSTC_CACHE_PAGE : INTEGER is 2-wxSTC_CACHE_DOCUMENT : INTEGER is 3-wxSTC_EDGE_NONE : INTEGER is 0-wxSTC_EDGE_LINE : INTEGER is 1-wxSTC_EDGE_BACKGROUND : INTEGER is 2-wxSTC_CURSORNORMAL : INTEGER is -1-wxSTC_CURSORWAIT : INTEGER is 4-wxSTC_VISIBLE_SLOP : INTEGER is 1-wxSTC_VISIBLE_STRICT : INTEGER is 4-wxSTC_CARET_SLOP : INTEGER is 1-wxSTC_CARET_STRICT : INTEGER is 4-wxSTC_CARET_JUMPS : INTEGER is 16-wxSTC_CARET_EVEN : INTEGER is 8-wxSTC_SEL_STREAM : INTEGER is 0-wxSTC_SEL_RECTANGLE : INTEGER is 1-wxSTC_SEL_LINES : INTEGER is 2-wxSTC_KEYWORDSET_MAX : INTEGER is 8-wxSTC_MOD_INSERTTEXT : INTEGER is 1-wxSTC_MOD_DELETETEXT : INTEGER is 2-wxSTC_MOD_CHANGESTYLE : INTEGER is 4-wxSTC_MOD_CHANGEFOLD : INTEGER is 8-wxSTC_PERFORMED_USER : INTEGER is 16-wxSTC_PERFORMED_UNDO : INTEGER is 32-wxSTC_PERFORMED_REDO : INTEGER is 64-wxSTC_LASTSTEPINUNDOREDO : INTEGER is 256-wxSTC_MOD_CHANGEMARKER : INTEGER is 512-wxSTC_MOD_BEFOREINSERT : INTEGER is 1024-wxSTC_MOD_BEFOREDELETE : INTEGER is 2048-wxSTC_MODEVENTMASKALL : INTEGER is 3959-wxSTC_KEY_DOWN : INTEGER is 300-wxSTC_KEY_UP : INTEGER is 301-wxSTC_KEY_LEFT : INTEGER is 302-wxSTC_KEY_RIGHT : INTEGER is 303-wxSTC_KEY_HOME : INTEGER is 304-wxSTC_KEY_END : INTEGER is 305-wxSTC_KEY_PRIOR : INTEGER is 306-wxSTC_KEY_NEXT : INTEGER is 307-wxSTC_KEY_DELETE : INTEGER is 308-wxSTC_KEY_INSERT : INTEGER is 309-wxSTC_KEY_ESCAPE : INTEGER is 7-wxSTC_KEY_BACK : INTEGER is 8-wxSTC_KEY_TAB : INTEGER is 9-wxSTC_KEY_RETURN : INTEGER is 13-wxSTC_KEY_ADD : INTEGER is 310-wxSTC_KEY_SUBTRACT : INTEGER is 311-wxSTC_KEY_DIVIDE : INTEGER is 312-wxSTC_SCMOD_SHIFT : INTEGER is 1-wxSTC_SCMOD_CTRL : INTEGER is 2-wxSTC_SCMOD_ALT : INTEGER is 4-wxSTC_LEX_CONTAINER : INTEGER is 0-wxSTC_LEX_NULL : INTEGER is 1-wxSTC_LEX_PYTHON : INTEGER is 2-wxSTC_LEX_CPP : INTEGER is 3-wxSTC_LEX_HTML : INTEGER is 4-wxSTC_LEX_XML : INTEGER is 5-wxSTC_LEX_PERL : INTEGER is 6-wxSTC_LEX_SQL : INTEGER is 7-wxSTC_LEX_VB : INTEGER is 8-wxSTC_LEX_PROPERTIES : INTEGER is 9-wxSTC_LEX_ERRORLIST : INTEGER is 10-wxSTC_LEX_MAKEFILE : INTEGER is 11-wxSTC_LEX_BATCH : INTEGER is 12-wxSTC_LEX_XCODE : INTEGER is 13-wxSTC_LEX_LATEX : INTEGER is 14-wxSTC_LEX_LUA : INTEGER is 15-wxSTC_LEX_DIFF : INTEGER is 16-wxSTC_LEX_CONF : INTEGER is 17-wxSTC_LEX_PASCAL : INTEGER is 18-wxSTC_LEX_AVE : INTEGER is 19-wxSTC_LEX_ADA : INTEGER is 20-wxSTC_LEX_LISP : INTEGER is 21-wxSTC_LEX_RUBY : INTEGER is 22-wxSTC_LEX_EIFFEL : INTEGER is 23-wxSTC_LEX_EIFFELKW : INTEGER is 24-wxSTC_LEX_TCL : INTEGER is 25-wxSTC_LEX_NNCRONTAB : INTEGER is 26-wxSTC_LEX_BULLANT : INTEGER is 27-wxSTC_LEX_VBSCRIPT : INTEGER is 28-wxSTC_LEX_ASP : INTEGER is 29-wxSTC_LEX_PHP : INTEGER is 30-wxSTC_LEX_BAAN : INTEGER is 31-wxSTC_LEX_MATLAB : INTEGER is 32-wxSTC_LEX_SCRIPTOL : INTEGER is 33-wxSTC_LEX_ASM : INTEGER is 34-wxSTC_LEX_CPPNOCASE : INTEGER is 35-wxSTC_LEX_FORTRAN : INTEGER is 36-wxSTC_LEX_F77 : INTEGER is 37-wxSTC_LEX_CSS : INTEGER is 38-wxSTC_LEX_POV : INTEGER is 39-wxSTC_LEX_LOUT : INTEGER is 40-wxSTC_LEX_ESCRIPT : INTEGER is 41-wxSTC_LEX_PS : INTEGER is 42-wxSTC_LEX_NSIS : INTEGER is 43-wxSTC_LEX_MMIXAL : INTEGER is 44-wxSTC_LEX_PHPSCRIPT : INTEGER is 69-wxSTC_LEX_TADS3 : INTEGER is 70-wxSTC_LEX_REBOL : INTEGER is 71-wxSTC_LEX_SMALLTALK : INTEGER is 72-wxSTC_LEX_FLAGSHIP : INTEGER is 73-wxSTC_LEX_CSOUND : INTEGER is 74-wxSTC_LEX_FREEBASIC : INTEGER is 75-wxSTC_LEX_AUTOMATIC : INTEGER is 1000-wxSTC_LEX_HASKELL : INTEGER is 68-wxSTC_P_DEFAULT : INTEGER is 0-wxSTC_P_COMMENTLINE : INTEGER is 1-wxSTC_P_NUMBER : INTEGER is 2-wxSTC_P_STRING : INTEGER is 3-wxSTC_P_CHARACTER : INTEGER is 4-wxSTC_P_WORD : INTEGER is 5-wxSTC_P_TRIPLE : INTEGER is 6-wxSTC_P_TRIPLEDOUBLE : INTEGER is 7-wxSTC_P_CLASSNAME : INTEGER is 8-wxSTC_P_DEFNAME : INTEGER is 9-wxSTC_P_OPERATOR : INTEGER is 10-wxSTC_P_IDENTIFIER : INTEGER is 11-wxSTC_P_COMMENTBLOCK : INTEGER is 12-wxSTC_P_STRINGEOL : INTEGER is 13-wxSTC_C_DEFAULT : INTEGER is 0-wxSTC_C_COMMENT : INTEGER is 1-wxSTC_C_COMMENTLINE : INTEGER is 2-wxSTC_C_COMMENTDOC : INTEGER is 3-wxSTC_C_NUMBER : INTEGER is 4-wxSTC_C_WORD : INTEGER is 5-wxSTC_C_STRING : INTEGER is 6-wxSTC_C_CHARACTER : INTEGER is 7-wxSTC_C_UUID : INTEGER is 8-wxSTC_C_PREPROCESSOR : INTEGER is 9-wxSTC_C_OPERATOR : INTEGER is 10-wxSTC_C_IDENTIFIER : INTEGER is 11-wxSTC_C_STRINGEOL : INTEGER is 12-wxSTC_C_VERBATIM : INTEGER is 13-wxSTC_C_REGEX : INTEGER is 14-wxSTC_C_COMMENTLINEDOC : INTEGER is 15-wxSTC_C_WORD2 : INTEGER is 16-wxSTC_C_COMMENTDOCKEYWORD : INTEGER is 17-wxSTC_C_COMMENTDOCKEYWORDERROR : INTEGER is 18-wxSTC_C_GLOBALCLASS : INTEGER is 19-wxSTC_H_DEFAULT : INTEGER is 0-wxSTC_H_TAG : INTEGER is 1-wxSTC_H_TAGUNKNOWN : INTEGER is 2-wxSTC_H_ATTRIBUTE : INTEGER is 3-wxSTC_H_ATTRIBUTEUNKNOWN : INTEGER is 4-wxSTC_H_NUMBER : INTEGER is 5-wxSTC_H_DOUBLESTRING : INTEGER is 6-wxSTC_H_SINGLESTRING : INTEGER is 7-wxSTC_H_OTHER : INTEGER is 8-wxSTC_H_COMMENT : INTEGER is 9-wxSTC_H_ENTITY : INTEGER is 10-wxSTC_H_TAGEND : INTEGER is 11-wxSTC_H_XMLSTART : INTEGER is 12-wxSTC_H_XMLEND : INTEGER is 13-wxSTC_H_SCRIPT : INTEGER is 14-wxSTC_H_ASP : INTEGER is 15-wxSTC_H_ASPAT : INTEGER is 16-wxSTC_H_CDATA : INTEGER is 17-wxSTC_H_QUESTION : INTEGER is 18-wxSTC_H_VALUE : INTEGER is 19-wxSTC_H_XCCOMMENT : INTEGER is 20-wxSTC_H_SGML_DEFAULT : INTEGER is 21-wxSTC_H_SGML_COMMAND : INTEGER is 22-wxSTC_H_SGML_1ST_PARAM : INTEGER is 23-wxSTC_H_SGML_DOUBLESTRING : INTEGER is 24-wxSTC_H_SGML_SIMPLESTRING : INTEGER is 25-wxSTC_H_SGML_ERROR : INTEGER is 26-wxSTC_H_SGML_SPECIAL : INTEGER is 27-wxSTC_H_SGML_ENTITY : INTEGER is 28-wxSTC_H_SGML_COMMENT : INTEGER is 29-wxSTC_H_SGML_1ST_PARAM_COMMENT : INTEGER is 30-wxSTC_H_SGML_BLOCK_DEFAULT : INTEGER is 31-wxSTC_HA_DEFAULT : INTEGER is 0-wxSTC_HA_IDENTIFIER : INTEGER is 1-wxSTC_HA_KEYWORD : INTEGER is 2-wxSTC_HA_NUMBER : INTEGER is 3-wxSTC_HA_STRING : INTEGER is 4-wxSTC_HA_CHARACTER : INTEGER is 5-wxSTC_HA_CLASS : INTEGER is 6-wxSTC_HA_MODULE : INTEGER is 7-wxSTC_HA_CAPITAL : INTEGER is 8-wxSTC_HA_DATA : INTEGER is 9-wxSTC_HA_IMPORT : INTEGER is 10-wxSTC_HA_OPERATOR : INTEGER is 11-wxSTC_HA_INSTANCE : INTEGER is 12-wxSTC_HA_COMMENTLINE : INTEGER is 13-wxSTC_HA_COMMENTBLOCK : INTEGER is 14-wxSTC_HA_COMMENTBLOCK2 : INTEGER is 15-wxSTC_HA_COMMENTBLOCK3 : INTEGER is 16-wxSTC_HA_PREPROCESSOR : INTEGER is 17-wxSTC_HJ_START : INTEGER is 40-wxSTC_HJ_DEFAULT : INTEGER is 41-wxSTC_HJ_COMMENT : INTEGER is 42-wxSTC_HJ_COMMENTLINE : INTEGER is 43-wxSTC_HJ_COMMENTDOC : INTEGER is 44-wxSTC_HJ_NUMBER : INTEGER is 45-wxSTC_HJ_WORD : INTEGER is 46-wxSTC_HJ_KEYWORD : INTEGER is 47-wxSTC_HJ_DOUBLESTRING : INTEGER is 48-wxSTC_HJ_SINGLESTRING : INTEGER is 49-wxSTC_HJ_SYMBOLS : INTEGER is 50-wxSTC_HJ_STRINGEOL : INTEGER is 51-wxSTC_HJ_REGEX : INTEGER is 52-wxSTC_HJA_START : INTEGER is 55-wxSTC_HJA_DEFAULT : INTEGER is 56-wxSTC_HJA_COMMENT : INTEGER is 57-wxSTC_HJA_COMMENTLINE : INTEGER is 58-wxSTC_HJA_COMMENTDOC : INTEGER is 59-wxSTC_HJA_NUMBER : INTEGER is 60-wxSTC_HJA_WORD : INTEGER is 61-wxSTC_HJA_KEYWORD : INTEGER is 62-wxSTC_HJA_DOUBLESTRING : INTEGER is 63-wxSTC_HJA_SINGLESTRING : INTEGER is 64-wxSTC_HJA_SYMBOLS : INTEGER is 65-wxSTC_HJA_STRINGEOL : INTEGER is 66-wxSTC_HJA_REGEX : INTEGER is 67-wxSTC_HB_START : INTEGER is 70-wxSTC_HB_DEFAULT : INTEGER is 71-wxSTC_HB_COMMENTLINE : INTEGER is 72-wxSTC_HB_NUMBER : INTEGER is 73-wxSTC_HB_WORD : INTEGER is 74-wxSTC_HB_STRING : INTEGER is 75-wxSTC_HB_IDENTIFIER : INTEGER is 76-wxSTC_HB_STRINGEOL : INTEGER is 77-wxSTC_HBA_START : INTEGER is 80-wxSTC_HBA_DEFAULT : INTEGER is 81-wxSTC_HBA_COMMENTLINE : INTEGER is 82-wxSTC_HBA_NUMBER : INTEGER is 83-wxSTC_HBA_WORD : INTEGER is 84-wxSTC_HBA_STRING : INTEGER is 85-wxSTC_HBA_IDENTIFIER : INTEGER is 86-wxSTC_HBA_STRINGEOL : INTEGER is 87-wxSTC_HP_START : INTEGER is 90-wxSTC_HP_DEFAULT : INTEGER is 91-wxSTC_HP_COMMENTLINE : INTEGER is 92-wxSTC_HP_NUMBER : INTEGER is 93-wxSTC_HP_STRING : INTEGER is 94-wxSTC_HP_CHARACTER : INTEGER is 95-wxSTC_HP_WORD : INTEGER is 96-wxSTC_HP_TRIPLE : INTEGER is 97-wxSTC_HP_TRIPLEDOUBLE : INTEGER is 98-wxSTC_HP_CLASSNAME : INTEGER is 99-wxSTC_HP_DEFNAME : INTEGER is 100-wxSTC_HP_OPERATOR : INTEGER is 101-wxSTC_HP_IDENTIFIER : INTEGER is 102-wxSTC_HPA_START : INTEGER is 105-wxSTC_HPA_DEFAULT : INTEGER is 106-wxSTC_HPA_COMMENTLINE : INTEGER is 107-wxSTC_HPA_NUMBER : INTEGER is 108-wxSTC_HPA_STRING : INTEGER is 109-wxSTC_HPA_CHARACTER : INTEGER is 110-wxSTC_HPA_WORD : INTEGER is 111-wxSTC_HPA_TRIPLE : INTEGER is 112-wxSTC_HPA_TRIPLEDOUBLE : INTEGER is 113-wxSTC_HPA_CLASSNAME : INTEGER is 114-wxSTC_HPA_DEFNAME : INTEGER is 115-wxSTC_HPA_OPERATOR : INTEGER is 116-wxSTC_HPA_IDENTIFIER : INTEGER is 117-wxSTC_HPHP_DEFAULT : INTEGER is 118-wxSTC_HPHP_HSTRING : INTEGER is 119-wxSTC_HPHP_SIMPLESTRING : INTEGER is 120-wxSTC_HPHP_WORD : INTEGER is 121-wxSTC_HPHP_NUMBER : INTEGER is 122-wxSTC_HPHP_VARIABLE : INTEGER is 123-wxSTC_HPHP_COMMENT : INTEGER is 124-wxSTC_HPHP_COMMENTLINE : INTEGER is 125-wxSTC_HPHP_HSTRING_VARIABLE : INTEGER is 126-wxSTC_HPHP_OPERATOR : INTEGER is 127-wxSTC_PL_DEFAULT : INTEGER is 0-wxSTC_PL_ERROR : INTEGER is 1-wxSTC_PL_COMMENTLINE : INTEGER is 2-wxSTC_PL_POD : INTEGER is 3-wxSTC_PL_NUMBER : INTEGER is 4-wxSTC_PL_WORD : INTEGER is 5-wxSTC_PL_STRING : INTEGER is 6-wxSTC_PL_CHARACTER : INTEGER is 7-wxSTC_PL_PUNCTUATION : INTEGER is 8-wxSTC_PL_PREPROCESSOR : INTEGER is 9-wxSTC_PL_OPERATOR : INTEGER is 10-wxSTC_PL_IDENTIFIER : INTEGER is 11-wxSTC_PL_SCALAR : INTEGER is 12-wxSTC_PL_ARRAY : INTEGER is 13-wxSTC_PL_HASH : INTEGER is 14-wxSTC_PL_SYMBOLTABLE : INTEGER is 15-wxSTC_PL_REGEX : INTEGER is 17-wxSTC_PL_REGSUBST : INTEGER is 18-wxSTC_PL_LONGQUOTE : INTEGER is 19-wxSTC_PL_BACKTICKS : INTEGER is 20-wxSTC_PL_DATASECTION : INTEGER is 21-wxSTC_PL_HERE_DELIM : INTEGER is 22-wxSTC_PL_HERE_Q : INTEGER is 23-wxSTC_PL_HERE_QQ : INTEGER is 24-wxSTC_PL_HERE_QX : INTEGER is 25-wxSTC_PL_STRING_Q : INTEGER is 26-wxSTC_PL_STRING_QQ : INTEGER is 27-wxSTC_PL_STRING_QX : INTEGER is 28-wxSTC_PL_STRING_QR : INTEGER is 29-wxSTC_PL_STRING_QW : INTEGER is 30-wxSTC_B_DEFAULT : INTEGER is 0-wxSTC_B_COMMENT : INTEGER is 1-wxSTC_B_NUMBER : INTEGER is 2-wxSTC_B_KEYWORD : INTEGER is 3-wxSTC_B_STRING : INTEGER is 4-wxSTC_B_PREPROCESSOR : INTEGER is 5-wxSTC_B_OPERATOR : INTEGER is 6-wxSTC_B_IDENTIFIER : INTEGER is 7-wxSTC_B_DATE : INTEGER is 8-wxSTC_PROPS_DEFAULT : INTEGER is 0-wxSTC_PROPS_COMMENT : INTEGER is 1-wxSTC_PROPS_SECTION : INTEGER is 2-wxSTC_PROPS_ASSIGNMENT : INTEGER is 3-wxSTC_PROPS_DEFVAL : INTEGER is 4-wxSTC_L_DEFAULT : INTEGER is 0-wxSTC_L_COMMAND : INTEGER is 1-wxSTC_L_TAG : INTEGER is 2-wxSTC_L_MATH : INTEGER is 3-wxSTC_L_COMMENT : INTEGER is 4-wxSTC_LUA_DEFAULT : INTEGER is 0-wxSTC_LUA_COMMENT : INTEGER is 1-wxSTC_LUA_COMMENTLINE : INTEGER is 2-wxSTC_LUA_COMMENTDOC : INTEGER is 3-wxSTC_LUA_NUMBER : INTEGER is 4-wxSTC_LUA_WORD : INTEGER is 5-wxSTC_LUA_STRING : INTEGER is 6-wxSTC_LUA_CHARACTER : INTEGER is 7-wxSTC_LUA_LITERALSTRING : INTEGER is 8-wxSTC_LUA_PREPROCESSOR : INTEGER is 9-wxSTC_LUA_OPERATOR : INTEGER is 10-wxSTC_LUA_IDENTIFIER : INTEGER is 11-wxSTC_LUA_STRINGEOL : INTEGER is 12-wxSTC_LUA_WORD2 : INTEGER is 13-wxSTC_LUA_WORD3 : INTEGER is 14-wxSTC_LUA_WORD4 : INTEGER is 15-wxSTC_LUA_WORD5 : INTEGER is 16-wxSTC_LUA_WORD6 : INTEGER is 17-wxSTC_LUA_WORD7 : INTEGER is 18-wxSTC_LUA_WORD8 : INTEGER is 19-wxSTC_ERR_DEFAULT : INTEGER is 0-wxSTC_ERR_PYTHON : INTEGER is 1-wxSTC_ERR_GCC : INTEGER is 2-wxSTC_ERR_MS : INTEGER is 3-wxSTC_ERR_CMD : INTEGER is 4-wxSTC_ERR_BORLAND : INTEGER is 5-wxSTC_ERR_PERL : INTEGER is 6-wxSTC_ERR_NET : INTEGER is 7-wxSTC_ERR_LUA : INTEGER is 8-wxSTC_ERR_CTAG : INTEGER is 9-wxSTC_ERR_DIFF_CHANGED : INTEGER is 10-wxSTC_ERR_DIFF_ADDITION : INTEGER is 11-wxSTC_ERR_DIFF_DELETION : INTEGER is 12-wxSTC_ERR_DIFF_MESSAGE : INTEGER is 13-wxSTC_ERR_PHP : INTEGER is 14-wxSTC_ERR_ELF : INTEGER is 15-wxSTC_ERR_IFC : INTEGER is 16-wxSTC_BAT_DEFAULT : INTEGER is 0-wxSTC_BAT_COMMENT : INTEGER is 1-wxSTC_BAT_WORD : INTEGER is 2-wxSTC_BAT_LABEL : INTEGER is 3-wxSTC_BAT_HIDE : INTEGER is 4-wxSTC_BAT_COMMAND : INTEGER is 5-wxSTC_BAT_IDENTIFIER : INTEGER is 6-wxSTC_BAT_OPERATOR : INTEGER is 7-wxSTC_MAKE_DEFAULT : INTEGER is 0-wxSTC_MAKE_COMMENT : INTEGER is 1-wxSTC_MAKE_PREPROCESSOR : INTEGER is 2-wxSTC_MAKE_IDENTIFIER : INTEGER is 3-wxSTC_MAKE_OPERATOR : INTEGER is 4-wxSTC_MAKE_TARGET : INTEGER is 5-wxSTC_MAKE_IDEOL : INTEGER is 9-wxSTC_DIFF_DEFAULT : INTEGER is 0-wxSTC_DIFF_COMMENT : INTEGER is 1-wxSTC_DIFF_COMMAND : INTEGER is 2-wxSTC_DIFF_HEADER : INTEGER is 3-wxSTC_DIFF_POSITION : INTEGER is 4-wxSTC_DIFF_DELETED : INTEGER is 5-wxSTC_DIFF_ADDED : INTEGER is 6-wxSTC_CONF_DEFAULT : INTEGER is 0-wxSTC_CONF_COMMENT : INTEGER is 1-wxSTC_CONF_NUMBER : INTEGER is 2-wxSTC_CONF_IDENTIFIER : INTEGER is 3-wxSTC_CONF_EXTENSION : INTEGER is 4-wxSTC_CONF_PARAMETER : INTEGER is 5-wxSTC_CONF_STRING : INTEGER is 6-wxSTC_CONF_OPERATOR : INTEGER is 7-wxSTC_CONF_IP : INTEGER is 8-wxSTC_CONF_DIRECTIVE : INTEGER is 9-wxSTC_AVE_DEFAULT : INTEGER is 0-wxSTC_AVE_COMMENT : INTEGER is 1-wxSTC_AVE_NUMBER : INTEGER is 2-wxSTC_AVE_WORD : INTEGER is 3-wxSTC_AVE_STRING : INTEGER is 6-wxSTC_AVE_ENUM : INTEGER is 7-wxSTC_AVE_STRINGEOL : INTEGER is 8-wxSTC_AVE_IDENTIFIER : INTEGER is 9-wxSTC_AVE_OPERATOR : INTEGER is 10-wxSTC_AVE_WORD1 : INTEGER is 11-wxSTC_AVE_WORD2 : INTEGER is 12-wxSTC_AVE_WORD3 : INTEGER is 13-wxSTC_AVE_WORD4 : INTEGER is 14-wxSTC_AVE_WORD5 : INTEGER is 15-wxSTC_AVE_WORD6 : INTEGER is 16-wxSTC_ADA_DEFAULT : INTEGER is 0-wxSTC_ADA_WORD : INTEGER is 1-wxSTC_ADA_IDENTIFIER : INTEGER is 2-wxSTC_ADA_NUMBER : INTEGER is 3-wxSTC_ADA_DELIMITER : INTEGER is 4-wxSTC_ADA_CHARACTER : INTEGER is 5-wxSTC_ADA_CHARACTEREOL : INTEGER is 6-wxSTC_ADA_STRING : INTEGER is 7-wxSTC_ADA_STRINGEOL : INTEGER is 8-wxSTC_ADA_LABEL : INTEGER is 9-wxSTC_ADA_COMMENTLINE : INTEGER is 10-wxSTC_ADA_ILLEGAL : INTEGER is 11-wxSTC_BAAN_DEFAULT : INTEGER is 0-wxSTC_BAAN_COMMENT : INTEGER is 1-wxSTC_BAAN_COMMENTDOC : INTEGER is 2-wxSTC_BAAN_NUMBER : INTEGER is 3-wxSTC_BAAN_WORD : INTEGER is 4-wxSTC_BAAN_STRING : INTEGER is 5-wxSTC_BAAN_PREPROCESSOR : INTEGER is 6-wxSTC_BAAN_OPERATOR : INTEGER is 7-wxSTC_BAAN_IDENTIFIER : INTEGER is 8-wxSTC_BAAN_STRINGEOL : INTEGER is 9-wxSTC_BAAN_WORD2 : INTEGER is 10-wxSTC_LISP_DEFAULT : INTEGER is 0-wxSTC_LISP_COMMENT : INTEGER is 1-wxSTC_LISP_NUMBER : INTEGER is 2-wxSTC_LISP_KEYWORD : INTEGER is 3-wxSTC_LISP_STRING : INTEGER is 6-wxSTC_LISP_STRINGEOL : INTEGER is 8-wxSTC_LISP_IDENTIFIER : INTEGER is 9-wxSTC_LISP_OPERATOR : INTEGER is 10-wxSTC_EIFFEL_DEFAULT : INTEGER is 0-wxSTC_EIFFEL_COMMENTLINE : INTEGER is 1-wxSTC_EIFFEL_NUMBER : INTEGER is 2-wxSTC_EIFFEL_WORD : INTEGER is 3-wxSTC_EIFFEL_STRING : INTEGER is 4-wxSTC_EIFFEL_CHARACTER : INTEGER is 5-wxSTC_EIFFEL_OPERATOR : INTEGER is 6-wxSTC_EIFFEL_IDENTIFIER : INTEGER is 7-wxSTC_EIFFEL_STRINGEOL : INTEGER is 8-wxSTC_NNCRONTAB_DEFAULT : INTEGER is 0-wxSTC_NNCRONTAB_COMMENT : INTEGER is 1-wxSTC_NNCRONTAB_TASK : INTEGER is 2-wxSTC_NNCRONTAB_SECTION : INTEGER is 3-wxSTC_NNCRONTAB_KEYWORD : INTEGER is 4-wxSTC_NNCRONTAB_MODIFIER : INTEGER is 5-wxSTC_NNCRONTAB_ASTERISK : INTEGER is 6-wxSTC_NNCRONTAB_NUMBER : INTEGER is 7-wxSTC_NNCRONTAB_STRING : INTEGER is 8-wxSTC_NNCRONTAB_ENVIRONMENT : INTEGER is 9-wxSTC_NNCRONTAB_IDENTIFIER : INTEGER is 10-wxSTC_MATLAB_DEFAULT : INTEGER is 0-wxSTC_MATLAB_COMMENT : INTEGER is 1-wxSTC_MATLAB_COMMAND : INTEGER is 2-wxSTC_MATLAB_NUMBER : INTEGER is 3-wxSTC_MATLAB_KEYWORD : INTEGER is 4-wxSTC_MATLAB_STRING : INTEGER is 5-wxSTC_MATLAB_OPERATOR : INTEGER is 6-wxSTC_MATLAB_IDENTIFIER : INTEGER is 7-wxSTC_SCRIPTOL_DEFAULT : INTEGER is 0-wxSTC_SCRIPTOL_COMMENT : INTEGER is 1-wxSTC_SCRIPTOL_COMMENTLINE : INTEGER is 2-wxSTC_SCRIPTOL_COMMENTDOC : INTEGER is 3-wxSTC_SCRIPTOL_NUMBER : INTEGER is 4-wxSTC_SCRIPTOL_WORD : INTEGER is 5-wxSTC_SCRIPTOL_STRING : INTEGER is 6-wxSTC_SCRIPTOL_CHARACTER : INTEGER is 7-wxSTC_SCRIPTOL_UUID : INTEGER is 8-wxSTC_SCRIPTOL_PREPROCESSOR : INTEGER is 9-wxSTC_SCRIPTOL_OPERATOR : INTEGER is 10-wxSTC_SCRIPTOL_IDENTIFIER : INTEGER is 11-wxSTC_SCRIPTOL_STRINGEOL : INTEGER is 12-wxSTC_SCRIPTOL_VERBATIM : INTEGER is 13-wxSTC_SCRIPTOL_REGEX : INTEGER is 14-wxSTC_SCRIPTOL_COMMENTLINEDOC : INTEGER is 15-wxSTC_SCRIPTOL_WORD2 : INTEGER is 16-wxSTC_SCRIPTOL_COMMENTDOCKEYWORD : INTEGER is 17-wxSTC_SCRIPTOL_COMMENTDOCKEYWORDERROR : INTEGER is 18-wxSTC_SCRIPTOL_COMMENTBASIC : INTEGER is 19-wxSTC_ASM_DEFAULT : INTEGER is 0-wxSTC_ASM_COMMENT : INTEGER is 1-wxSTC_ASM_NUMBER : INTEGER is 2-wxSTC_ASM_STRING : INTEGER is 3-wxSTC_ASM_OPERATOR : INTEGER is 4-wxSTC_ASM_IDENTIFIER : INTEGER is 5-wxSTC_ASM_CPUINSTRUCTION : INTEGER is 6-wxSTC_ASM_MATHINSTRUCTION : INTEGER is 7-wxSTC_ASM_REGISTER : INTEGER is 8-wxSTC_ASM_DIRECTIVE : INTEGER is 9-wxSTC_ASM_DIRECTIVEOPERAND : INTEGER is 10-wxSTC_F_DEFAULT : INTEGER is 0-wxSTC_F_COMMENT : INTEGER is 1-wxSTC_F_NUMBER : INTEGER is 2-wxSTC_F_STRING1 : INTEGER is 3-wxSTC_F_STRING2 : INTEGER is 4-wxSTC_F_STRINGEOL : INTEGER is 5-wxSTC_F_OPERATOR : INTEGER is 6-wxSTC_F_IDENTIFIER : INTEGER is 7-wxSTC_F_WORD : INTEGER is 8-wxSTC_F_WORD2 : INTEGER is 9-wxSTC_F_WORD3 : INTEGER is 10-wxSTC_F_PREPROCESSOR : INTEGER is 11-wxSTC_F_OPERATOR2 : INTEGER is 12-wxSTC_F_LABEL : INTEGER is 13-wxSTC_F_CONTINUATION : INTEGER is 14-wxSTC_CSS_DEFAULT : INTEGER is 0-wxSTC_CSS_TAG : INTEGER is 1-wxSTC_CSS_CLASS : INTEGER is 2-wxSTC_CSS_PSEUDOCLASS : INTEGER is 3-wxSTC_CSS_UNKNOWN_PSEUDOCLASS : INTEGER is 4-wxSTC_CSS_OPERATOR : INTEGER is 5-wxSTC_CSS_IDENTIFIER : INTEGER is 6-wxSTC_CSS_UNKNOWN_IDENTIFIER : INTEGER is 7-wxSTC_CSS_VALUE : INTEGER is 8-wxSTC_CSS_COMMENT : INTEGER is 9-wxSTC_CSS_ID : INTEGER is 10-wxSTC_CSS_IMPORTANT : INTEGER is 11-wxSTC_CSS_DIRECTIVE : INTEGER is 12-wxSTC_CSS_DOUBLESTRING : INTEGER is 13-wxSTC_CSS_SINGLESTRING : INTEGER is 14-wxSTC_POV_DEFAULT : INTEGER is 0-wxSTC_POV_COMMENT : INTEGER is 1-wxSTC_POV_COMMENTLINE : INTEGER is 2-wxSTC_POV_NUMBER : INTEGER is 3-wxSTC_POV_OPERATOR : INTEGER is 4-wxSTC_POV_IDENTIFIER : INTEGER is 5-wxSTC_POV_STRING : INTEGER is 6-wxSTC_POV_STRINGEOL : INTEGER is 7-wxSTC_POV_DIRECTIVE : INTEGER is 8-wxSTC_POV_BADDIRECTIVE : INTEGER is 9-wxSTC_POV_WORD2 : INTEGER is 10-wxSTC_POV_WORD3 : INTEGER is 11-wxSTC_POV_WORD4 : INTEGER is 12-wxSTC_POV_WORD5 : INTEGER is 13-wxSTC_POV_WORD6 : INTEGER is 14-wxSTC_POV_WORD7 : INTEGER is 15-wxSTC_POV_WORD8 : INTEGER is 16-wxSTC_LOUT_DEFAULT : INTEGER is 0-wxSTC_LOUT_COMMENT : INTEGER is 1-wxSTC_LOUT_NUMBER : INTEGER is 2-wxSTC_LOUT_WORD : INTEGER is 3-wxSTC_LOUT_WORD2 : INTEGER is 4-wxSTC_LOUT_WORD3 : INTEGER is 5-wxSTC_LOUT_WORD4 : INTEGER is 6-wxSTC_LOUT_STRING : INTEGER is 7-wxSTC_LOUT_OPERATOR : INTEGER is 8-wxSTC_LOUT_IDENTIFIER : INTEGER is 9-wxSTC_LOUT_STRINGEOL : INTEGER is 10-wxSTC_ESCRIPT_DEFAULT : INTEGER is 0-wxSTC_ESCRIPT_COMMENT : INTEGER is 1-wxSTC_ESCRIPT_COMMENTLINE : INTEGER is 2-wxSTC_ESCRIPT_COMMENTDOC : INTEGER is 3-wxSTC_ESCRIPT_NUMBER : INTEGER is 4-wxSTC_ESCRIPT_WORD : INTEGER is 5-wxSTC_ESCRIPT_STRING : INTEGER is 6-wxSTC_ESCRIPT_OPERATOR : INTEGER is 7-wxSTC_ESCRIPT_IDENTIFIER : INTEGER is 8-wxSTC_ESCRIPT_BRACE : INTEGER is 9-wxSTC_ESCRIPT_WORD2 : INTEGER is 10-wxSTC_ESCRIPT_WORD3 : INTEGER is 11-wxSTC_PS_DEFAULT : INTEGER is 0-wxSTC_PS_COMMENT : INTEGER is 1-wxSTC_PS_DSC_COMMENT : INTEGER is 2-wxSTC_PS_DSC_VALUE : INTEGER is 3-wxSTC_PS_NUMBER : INTEGER is 4-wxSTC_PS_NAME : INTEGER is 5-wxSTC_PS_KEYWORD : INTEGER is 6-wxSTC_PS_LITERAL : INTEGER is 7-wxSTC_PS_IMMEVAL : INTEGER is 8-wxSTC_PS_PAREN_ARRAY : INTEGER is 9-wxSTC_PS_PAREN_DICT : INTEGER is 10-wxSTC_PS_PAREN_PROC : INTEGER is 11-wxSTC_PS_TEXT : INTEGER is 12-wxSTC_PS_HEXSTRING : INTEGER is 13-wxSTC_PS_BASE85STRING : INTEGER is 14-wxSTC_PS_BADSTRINGCHAR : INTEGER is 15-wxSTC_NSIS_DEFAULT : INTEGER is 0-wxSTC_NSIS_COMMENT : INTEGER is 1-wxSTC_NSIS_STRINGDQ : INTEGER is 2-wxSTC_NSIS_STRINGLQ : INTEGER is 3-wxSTC_NSIS_STRINGRQ : INTEGER is 4-wxSTC_NSIS_FUNCTION : INTEGER is 5-wxSTC_NSIS_VARIABLE : INTEGER is 6-wxSTC_NSIS_LABEL : INTEGER is 7-wxSTC_NSIS_USERDEFINED : INTEGER is 8-wxSTC_NSIS_SECTIONDEF : INTEGER is 9-wxSTC_NSIS_SUBSECTIONDEF : INTEGER is 10-wxSTC_NSIS_IFDEFINEDEF : INTEGER is 11-wxSTC_NSIS_MACRODEF : INTEGER is 12-wxSTC_NSIS_STRINGVAR : INTEGER is 13-wxSTC_MMIXAL_LEADWS : INTEGER is 0-wxSTC_MMIXAL_COMMENT : INTEGER is 1-wxSTC_MMIXAL_LABEL : INTEGER is 2-wxSTC_MMIXAL_OPCODE : INTEGER is 3-wxSTC_MMIXAL_OPCODE_PRE : INTEGER is 4-wxSTC_MMIXAL_OPCODE_VALID : INTEGER is 5-wxSTC_MMIXAL_OPCODE_UNKNOWN : INTEGER is 6-wxSTC_MMIXAL_OPCODE_POST : INTEGER is 7-wxSTC_MMIXAL_OPERANDS : INTEGER is 8-wxSTC_MMIXAL_NUMBER : INTEGER is 9-wxSTC_MMIXAL_REF : INTEGER is 10-wxSTC_MMIXAL_CHAR : INTEGER is 11-wxSTC_MMIXAL_STRING : INTEGER is 12-wxSTC_MMIXAL_REGISTER : INTEGER is 13-wxSTC_MMIXAL_HEX : INTEGER is 14-wxSTC_MMIXAL_OPERATOR : INTEGER is 15-wxSTC_MMIXAL_SYMBOL : INTEGER is 16-wxSTC_MMIXAL_INCLUDE : INTEGER is 17-wxSTC_CLW_DEFAULT : INTEGER is 0-wxSTC_CLW_LABEL : INTEGER is 1-wxSTC_CLW_COMMENT : INTEGER is 2-wxSTC_CLW_STRING : INTEGER is 3-wxSTC_CLW_USER_IDENTIFIER : INTEGER is 4-wxSTC_CLW_INTEGER_CONSTANT : INTEGER is 5-wxSTC_CLW_REAL_CONSTANT : INTEGER is 6-wxSTC_CLW_PICTURE_STRING : INTEGER is 7-wxSTC_CLW_KEYWORD : INTEGER is 8-wxSTC_CLW_COMPILER_DIRECTIVE : INTEGER is 9-wxSTC_CLW_RUNTIME_EXPRESSIONS : INTEGER is 10-wxSTC_CLW_BUILTIN_PROCEDURES_FUNCTION : INTEGER is 11-wxSTC_CLW_STRUCTURE_DATA_TYPE : INTEGER is 12-wxSTC_CLW_ATTRIBUTE : INTEGER is 13-wxSTC_CLW_STANDARD_EQUATE : INTEGER is 14-wxSTC_CLW_ERROR : INTEGER is 15-wxSTC_CLW_DEPRECATED : INTEGER is 16-wxSTC_LOT_DEFAULT : INTEGER is 0-wxSTC_LOT_HEADER : INTEGER is 1-wxSTC_LOT_BREAK : INTEGER is 2-wxSTC_LOT_SET : INTEGER is 3-wxSTC_LOT_PASS : INTEGER is 4-wxSTC_LOT_FAIL : INTEGER is 5-wxSTC_LOT_ABORT : INTEGER is 6-wxSTC_YAML_DEFAULT : INTEGER is 0-wxSTC_YAML_COMMENT : INTEGER is 1-wxSTC_YAML_IDENTIFIER : INTEGER is 2-wxSTC_YAML_KEYWORD : INTEGER is 3-wxSTC_YAML_NUMBER : INTEGER is 4-wxSTC_YAML_REFERENCE : INTEGER is 5-wxSTC_YAML_DOCUMENT : INTEGER is 6-wxSTC_YAML_TEXT : INTEGER is 7-wxSTC_YAML_ERROR : INTEGER is 8-wxSTC_TEX_DEFAULT : INTEGER is 0-wxSTC_TEX_SPECIAL : INTEGER is 1-wxSTC_TEX_GROUP : INTEGER is 2-wxSTC_TEX_SYMBOL : INTEGER is 3-wxSTC_TEX_COMMAND : INTEGER is 4-wxSTC_TEX_TEXT : INTEGER is 5-wxSTC_METAPOST_DEFAULT : INTEGER is 0-wxSTC_METAPOST_SPECIAL : INTEGER is 1-wxSTC_METAPOST_GROUP : INTEGER is 2-wxSTC_METAPOST_SYMBOL : INTEGER is 3-wxSTC_METAPOST_COMMAND : INTEGER is 4-wxSTC_METAPOST_TEXT : INTEGER is 5-wxSTC_METAPOST_EXTRA : INTEGER is 6-wxSTC_ERLANG_DEFAULT : INTEGER is 0-wxSTC_ERLANG_COMMENT : INTEGER is 1-wxSTC_ERLANG_VARIABLE : INTEGER is 2-wxSTC_ERLANG_NUMBER : INTEGER is 3-wxSTC_ERLANG_KEYWORD : INTEGER is 4-wxSTC_ERLANG_STRING : INTEGER is 5-wxSTC_ERLANG_OPERATOR : INTEGER is 6-wxSTC_ERLANG_ATOM : INTEGER is 7-wxSTC_ERLANG_FUNCTION_NAME : INTEGER is 8-wxSTC_ERLANG_CHARACTER : INTEGER is 9-wxSTC_ERLANG_MACRO : INTEGER is 10-wxSTC_ERLANG_RECORD : INTEGER is 11-wxSTC_ERLANG_SEPARATOR : INTEGER is 12-wxSTC_ERLANG_NODE_NAME : INTEGER is 13-wxSTC_ERLANG_UNKNOWN : INTEGER is 31-wxSTC_MSSQL_DEFAULT : INTEGER is 0-wxSTC_MSSQL_COMMENT : INTEGER is 1-wxSTC_MSSQL_LINE_COMMENT : INTEGER is 2-wxSTC_MSSQL_NUMBER : INTEGER is 3-wxSTC_MSSQL_STRING : INTEGER is 4-wxSTC_MSSQL_OPERATOR : INTEGER is 5-wxSTC_MSSQL_IDENTIFIER : INTEGER is 6-wxSTC_MSSQL_VARIABLE : INTEGER is 7-wxSTC_MSSQL_COLUMN_NAME : INTEGER is 8-wxSTC_MSSQL_STATEMENT : INTEGER is 9-wxSTC_MSSQL_DATATYPE : INTEGER is 10-wxSTC_MSSQL_SYSTABLE : INTEGER is 11-wxSTC_MSSQL_GLOBAL_VARIABLE : INTEGER is 12-wxSTC_MSSQL_FUNCTION : INTEGER is 13-wxSTC_MSSQL_STORED_PROCEDURE : INTEGER is 14-wxSTC_MSSQL_DEFAULT_PREF_DATATYPE : INTEGER is 15-wxSTC_MSSQL_COLUMN_NAME_2 : INTEGER is 16-wxSTC_V_DEFAULT : INTEGER is 0-wxSTC_V_COMMENT : INTEGER is 1-wxSTC_V_COMMENTLINE : INTEGER is 2-wxSTC_V_COMMENTLINEBANG : INTEGER is 3-wxSTC_V_NUMBER : INTEGER is 4-wxSTC_V_WORD : INTEGER is 5-wxSTC_V_STRING : INTEGER is 6-wxSTC_V_WORD2 : INTEGER is 7-wxSTC_V_WORD3 : INTEGER is 8-wxSTC_V_PREPROCESSOR : INTEGER is 9-wxSTC_V_OPERATOR : INTEGER is 10-wxSTC_V_IDENTIFIER : INTEGER is 11-wxSTC_V_STRINGEOL : INTEGER is 12-wxSTC_V_USER : INTEGER is 19-wxSTC_KIX_DEFAULT : INTEGER is 0-wxSTC_KIX_COMMENT : INTEGER is 1-wxSTC_KIX_STRING1 : INTEGER is 2-wxSTC_KIX_STRING2 : INTEGER is 3-wxSTC_KIX_NUMBER : INTEGER is 4-wxSTC_KIX_VAR : INTEGER is 5-wxSTC_KIX_MACRO : INTEGER is 6-wxSTC_KIX_KEYWORD : INTEGER is 7-wxSTC_KIX_FUNCTIONS : INTEGER is 8-wxSTC_KIX_OPERATOR : INTEGER is 9-wxSTC_KIX_IDENTIFIER : INTEGER is 31-wxSTC_GC_DEFAULT : INTEGER is 0-wxSTC_GC_COMMENTLINE : INTEGER is 1-wxSTC_GC_COMMENTBLOCK : INTEGER is 2-wxSTC_GC_GLOBAL : INTEGER is 3-wxSTC_GC_EVENT : INTEGER is 4-wxSTC_GC_ATTRIBUTE : INTEGER is 5-wxSTC_GC_CONTROL : INTEGER is 6-wxSTC_GC_COMMAND : INTEGER is 7-wxSTC_GC_STRING : INTEGER is 8-wxSTC_GC_OPERATOR : INTEGER is 9-wxSTC_SN_DEFAULT : INTEGER is 0-wxSTC_SN_CODE : INTEGER is 1-wxSTC_SN_COMMENTLINE : INTEGER is 2-wxSTC_SN_COMMENTLINEBANG : INTEGER is 3-wxSTC_SN_NUMBER : INTEGER is 4-wxSTC_SN_WORD : INTEGER is 5-wxSTC_SN_STRING : INTEGER is 6-wxSTC_SN_WORD2 : INTEGER is 7-wxSTC_SN_WORD3 : INTEGER is 8-wxSTC_SN_PREPROCESSOR : INTEGER is 9-wxSTC_SN_OPERATOR : INTEGER is 10-wxSTC_SN_IDENTIFIER : INTEGER is 11-wxSTC_SN_STRINGEOL : INTEGER is 12-wxSTC_SN_REGEXTAG : INTEGER is 13-wxSTC_SN_SIGNAL : INTEGER is 14-wxSTC_SN_USER : INTEGER is 19-wxSTC_AU3_DEFAULT : INTEGER is 0-wxSTC_AU3_COMMENT : INTEGER is 1-wxSTC_AU3_COMMENTBLOCK : INTEGER is 2-wxSTC_AU3_NUMBER : INTEGER is 3-wxSTC_AU3_FUNCTION : INTEGER is 4-wxSTC_AU3_KEYWORD : INTEGER is 5-wxSTC_AU3_MACRO : INTEGER is 6-wxSTC_AU3_STRING : INTEGER is 7-wxSTC_AU3_OPERATOR : INTEGER is 8-wxSTC_AU3_VARIABLE : INTEGER is 9-wxSTC_AU3_SENT : INTEGER is 10-wxSTC_AU3_PREPROCESSOR : INTEGER is 11-wxSTC_AU3_SPECIAL : INTEGER is 12-wxSTC_AU3_EXPAND : INTEGER is 13-wxSTC_AU3_COMOBJ : INTEGER is 14-wxSTC_APDL_DEFAULT : INTEGER is 0-wxSTC_APDL_COMMENT : INTEGER is 1-wxSTC_APDL_COMMENTBLOCK : INTEGER is 2-wxSTC_APDL_NUMBER : INTEGER is 3-wxSTC_APDL_STRING : INTEGER is 4-wxSTC_APDL_OPERATOR : INTEGER is 5-wxSTC_APDL_WORD : INTEGER is 6-wxSTC_APDL_PROCESSOR : INTEGER is 7-wxSTC_APDL_COMMAND : INTEGER is 8-wxSTC_APDL_SLASHCOMMAND : INTEGER is 9-wxSTC_APDL_STARCOMMAND : INTEGER is 10-wxSTC_APDL_ARGUMENT : INTEGER is 11-wxSTC_APDL_FUNCTION : INTEGER is 12-wxSTC_SH_DEFAULT : INTEGER is 0-wxSTC_SH_ERROR : INTEGER is 1-wxSTC_SH_COMMENTLINE : INTEGER is 2-wxSTC_SH_NUMBER : INTEGER is 3-wxSTC_SH_WORD : INTEGER is 4-wxSTC_SH_STRING : INTEGER is 5-wxSTC_SH_CHARACTER : INTEGER is 6-wxSTC_SH_OPERATOR : INTEGER is 7-wxSTC_SH_IDENTIFIER : INTEGER is 8-wxSTC_SH_SCALAR : INTEGER is 9-wxSTC_SH_PARAM : INTEGER is 10-wxSTC_SH_BACKTICKS : INTEGER is 11-wxSTC_SH_HERE_DELIM : INTEGER is 12-wxSTC_SH_HERE_Q : INTEGER is 13-wxSTC_ASN1_DEFAULT : INTEGER is 0-wxSTC_ASN1_COMMENT : INTEGER is 1-wxSTC_ASN1_IDENTIFIER : INTEGER is 2-wxSTC_ASN1_STRING : INTEGER is 3-wxSTC_ASN1_OID : INTEGER is 4-wxSTC_ASN1_SCALAR : INTEGER is 5-wxSTC_ASN1_KEYWORD : INTEGER is 6-wxSTC_ASN1_ATTRIBUTE : INTEGER is 7-wxSTC_ASN1_DESCRIPTOR : INTEGER is 8-wxSTC_ASN1_TYPE : INTEGER is 9-wxSTC_ASN1_OPERATOR : INTEGER is 10-wxSTC_VHDL_DEFAULT : INTEGER is 0-wxSTC_VHDL_COMMENT : INTEGER is 1-wxSTC_VHDL_COMMENTLINEBANG : INTEGER is 2-wxSTC_VHDL_NUMBER : INTEGER is 3-wxSTC_VHDL_STRING : INTEGER is 4-wxSTC_VHDL_OPERATOR : INTEGER is 5-wxSTC_VHDL_IDENTIFIER : INTEGER is 6-wxSTC_VHDL_STRINGEOL : INTEGER is 7-wxSTC_VHDL_KEYWORD : INTEGER is 8-wxSTC_VHDL_STDOPERATOR : INTEGER is 9-wxSTC_VHDL_ATTRIBUTE : INTEGER is 10-wxSTC_VHDL_STDFUNCTION : INTEGER is 11-wxSTC_VHDL_STDPACKAGE : INTEGER is 12-wxSTC_VHDL_STDTYPE : INTEGER is 13-wxSTC_VHDL_USERWORD : INTEGER is 14-wxSTC_CAML_DEFAULT : INTEGER is 0-wxSTC_CAML_IDENTIFIER : INTEGER is 1-wxSTC_CAML_TAGNAME : INTEGER is 2-wxSTC_CAML_KEYWORD : INTEGER is 3-wxSTC_CAML_KEYWORD2 : INTEGER is 4-wxSTC_CAML_KEYWORD3 : INTEGER is 5-wxSTC_CAML_LINENUM : INTEGER is 6-wxSTC_CAML_OPERATOR : INTEGER is 7-wxSTC_CAML_NUMBER : INTEGER is 8-wxSTC_CAML_CHAR : INTEGER is 9-wxSTC_CAML_STRING : INTEGER is 11-wxSTC_CAML_COMMENT : INTEGER is 12-wxSTC_CAML_COMMENT1 : INTEGER is 13-wxSTC_CAML_COMMENT2 : INTEGER is 14-wxSTC_CAML_COMMENT3 : INTEGER is 15-wxSTC_T3_DEFAULT : INTEGER is 0-wxSTC_T3_X_DEFAULT : INTEGER is 1-wxSTC_T3_PREPROCESSOR : INTEGER is 2-wxSTC_T3_BLOCK_COMMENT : INTEGER is 3-wxSTC_T3_LINE_COMMENT : INTEGER is 4-wxSTC_T3_OPERATOR : INTEGER is 5-wxSTC_T3_KEYWORD : INTEGER is 6-wxSTC_T3_NUMBER : INTEGER is 7-wxSTC_T3_IDENTIFIER : INTEGER is 8-wxSTC_T3_S_STRING : INTEGER is 9-wxSTC_T3_D_STRING : INTEGER is 10-wxSTC_T3_X_STRING : INTEGER is 11-wxSTC_T3_LIB_DIRECTIVE : INTEGER is 12-wxSTC_T3_MSG_PARAM : INTEGER is 13-wxSTC_T3_HTML_TAG : INTEGER is 14-wxSTC_T3_HTML_DEFAULT : INTEGER is 15-wxSTC_T3_HTML_STRING : INTEGER is 16-wxSTC_T3_USER1 : INTEGER is 17-wxSTC_T3_USER2 : INTEGER is 18-wxSTC_T3_USER3 : INTEGER is 19-wxSTC_REBOL_DEFAULT : INTEGER is 0-wxSTC_REBOL_COMMENTLINE : INTEGER is 1-wxSTC_REBOL_COMMENTBLOCK : INTEGER is 2-wxSTC_REBOL_PREFACE : INTEGER is 3-wxSTC_REBOL_OPERATOR : INTEGER is 4-wxSTC_REBOL_CHARACTER : INTEGER is 5-wxSTC_REBOL_QUOTEDSTRING : INTEGER is 6-wxSTC_REBOL_BRACEDSTRING : INTEGER is 7-wxSTC_REBOL_NUMBER : INTEGER is 8-wxSTC_REBOL_PAIR : INTEGER is 9-wxSTC_REBOL_TUPLE : INTEGER is 10-wxSTC_REBOL_BINARY : INTEGER is 11-wxSTC_REBOL_MONEY : INTEGER is 12-wxSTC_REBOL_ISSUE : INTEGER is 13-wxSTC_REBOL_TAG : INTEGER is 14-wxSTC_REBOL_FILE : INTEGER is 15-wxSTC_REBOL_EMAIL : INTEGER is 16-wxSTC_REBOL_URL : INTEGER is 17-wxSTC_REBOL_DATE : INTEGER is 18-wxSTC_REBOL_TIME : INTEGER is 19-wxSTC_REBOL_IDENTIFIER : INTEGER is 20-wxSTC_REBOL_WORD : INTEGER is 21-wxSTC_REBOL_WORD2 : INTEGER is 22-wxSTC_REBOL_WORD3 : INTEGER is 23-wxSTC_REBOL_WORD4 : INTEGER is 24-wxSTC_REBOL_WORD5 : INTEGER is 25-wxSTC_REBOL_WORD6 : INTEGER is 26-wxSTC_REBOL_WORD7 : INTEGER is 27-wxSTC_REBOL_WORD8 : INTEGER is 28-wxSTC_SQL_DEFAULT : INTEGER is 0-wxSTC_SQL_COMMENT : INTEGER is 1-wxSTC_SQL_COMMENTLINE : INTEGER is 2-wxSTC_SQL_COMMENTDOC : INTEGER is 3-wxSTC_SQL_NUMBER : INTEGER is 4-wxSTC_SQL_WORD : INTEGER is 5-wxSTC_SQL_STRING : INTEGER is 6-wxSTC_SQL_CHARACTER : INTEGER is 7-wxSTC_SQL_SQLPLUS : INTEGER is 8-wxSTC_SQL_SQLPLUS_PROMPT : INTEGER is 9-wxSTC_SQL_OPERATOR : INTEGER is 10-wxSTC_SQL_IDENTIFIER : INTEGER is 11-wxSTC_SQL_SQLPLUS_COMMENT : INTEGER is 13-wxSTC_SQL_COMMENTLINEDOC : INTEGER is 15-wxSTC_SQL_WORD2 : INTEGER is 16-wxSTC_SQL_COMMENTDOCKEYWORD : INTEGER is 17-wxSTC_SQL_COMMENTDOCKEYWORDERROR : INTEGER is 18-wxSTC_SQL_USER1 : INTEGER is 19-wxSTC_SQL_USER2 : INTEGER is 20-wxSTC_SQL_USER3 : INTEGER is 21-wxSTC_SQL_USER4 : INTEGER is 22-wxSTC_SQL_QUOTEDIDENTIFIER : INTEGER is 23-wxSTC_ST_DEFAULT : INTEGER is 0-wxSTC_ST_STRING : INTEGER is 1-wxSTC_ST_NUMBER : INTEGER is 2-wxSTC_ST_COMMENT : INTEGER is 3-wxSTC_ST_SYMBOL : INTEGER is 4-wxSTC_ST_BINARY : INTEGER is 5-wxSTC_ST_BOOL : INTEGER is 6-wxSTC_ST_SELF : INTEGER is 7-wxSTC_ST_SUPER : INTEGER is 8-wxSTC_ST_NIL : INTEGER is 9-wxSTC_ST_GLOBAL : INTEGER is 10-wxSTC_ST_RETURN : INTEGER is 11-wxSTC_ST_SPECIAL : INTEGER is 12-wxSTC_ST_KWSEND : INTEGER is 13-wxSTC_ST_ASSIGN : INTEGER is 14-wxSTC_ST_CHARACTER : INTEGER is 15-wxSTC_ST_SPEC_SEL : INTEGER is 16-wxSTC_FS_DEFAULT : INTEGER is 0-wxSTC_FS_COMMENT : INTEGER is 1-wxSTC_FS_COMMENTLINE : INTEGER is 2-wxSTC_FS_COMMENTDOC : INTEGER is 3-wxSTC_FS_COMMENTLINEDOC : INTEGER is 4-wxSTC_FS_COMMENTDOCKEYWORD : INTEGER is 5-wxSTC_FS_COMMENTDOCKEYWORDERROR : INTEGER is 6-wxSTC_FS_KEYWORD : INTEGER is 7-wxSTC_FS_KEYWORD2 : INTEGER is 8-wxSTC_FS_KEYWORD3 : INTEGER is 9-wxSTC_FS_KEYWORD4 : INTEGER is 10-wxSTC_FS_NUMBER : INTEGER is 11-wxSTC_FS_STRING : INTEGER is 12-wxSTC_FS_PREPROCESSOR : INTEGER is 13-wxSTC_FS_OPERATOR : INTEGER is 14-wxSTC_FS_IDENTIFIER : INTEGER is 15-wxSTC_FS_DATE : INTEGER is 16-wxSTC_FS_STRINGEOL : INTEGER is 17-wxSTC_FS_CONSTANT : INTEGER is 18-wxSTC_FS_ASM : INTEGER is 19-wxSTC_FS_LABEL : INTEGER is 20-wxSTC_FS_ERROR : INTEGER is 21-wxSTC_FS_HEXNUMBER : INTEGER is 22-wxSTC_FS_BINNUMBER : INTEGER is 23-wxSTC_CSOUND_DEFAULT : INTEGER is 0-wxSTC_CSOUND_COMMENT : INTEGER is 1-wxSTC_CSOUND_NUMBER : INTEGER is 2-wxSTC_CSOUND_OPERATOR : INTEGER is 3-wxSTC_CSOUND_INSTR : INTEGER is 4-wxSTC_CSOUND_IDENTIFIER : INTEGER is 5-wxSTC_CSOUND_OPCODE : INTEGER is 6-wxSTC_CSOUND_HEADERSTMT : INTEGER is 7-wxSTC_CSOUND_USERKEYWORD : INTEGER is 8-wxSTC_CSOUND_COMMENTBLOCK : INTEGER is 9-wxSTC_CSOUND_PARAM : INTEGER is 10-wxSTC_CSOUND_ARATE_VAR : INTEGER is 11-wxSTC_CSOUND_KRATE_VAR : INTEGER is 12-wxSTC_CSOUND_IRATE_VAR : INTEGER is 13-wxSTC_CSOUND_GLOBAL_VAR : INTEGER is 14-wxSTC_CSOUND_STRINGEOL : INTEGER is 15--wxSTC_CMD_REDO : INTEGER is 2011-wxSTC_CMD_SELECTALL : INTEGER is 2013-wxSTC_CMD_UNDO : INTEGER is 2176-wxSTC_CMD_CUT : INTEGER is 2177-wxSTC_CMD_COPY : INTEGER is 2178-wxSTC_CMD_PASTE : INTEGER is 2179-wxSTC_CMD_CLEAR : INTEGER is 2180-wxSTC_CMD_LINEDOWN : INTEGER is 2300-wxSTC_CMD_LINEDOWNEXTEND : INTEGER is 2301-wxSTC_CMD_LINEUP : INTEGER is 2302-wxSTC_CMD_LINEUPEXTEND : INTEGER is 2303-wxSTC_CMD_CHARLEFT : INTEGER is 2304-wxSTC_CMD_CHARLEFTEXTEND : INTEGER is 2305-wxSTC_CMD_CHARRIGHT : INTEGER is 2306-wxSTC_CMD_CHARRIGHTEXTEND : INTEGER is 2307-wxSTC_CMD_WORDLEFT : INTEGER is 2308-wxSTC_CMD_WORDLEFTEXTEND : INTEGER is 2309-wxSTC_CMD_WORDRIGHT : INTEGER is 2310-wxSTC_CMD_WORDRIGHTEXTEND : INTEGER is 2311-wxSTC_CMD_HOME : INTEGER is 2312-wxSTC_CMD_HOMEEXTEND : INTEGER is 2313-wxSTC_CMD_LINEEND : INTEGER is 2314-wxSTC_CMD_LINEENDEXTEND : INTEGER is 2315-wxSTC_CMD_DOCUMENTSTART : INTEGER is 2316-wxSTC_CMD_DOCUMENTSTARTEXTEND : INTEGER is 2317-wxSTC_CMD_DOCUMENTEND : INTEGER is 2318-wxSTC_CMD_DOCUMENTENDEXTEND : INTEGER is 2319-wxSTC_CMD_PAGEUP : INTEGER is 2320-wxSTC_CMD_PAGEUPEXTEND : INTEGER is 2321-wxSTC_CMD_PAGEDOWN : INTEGER is 2322-wxSTC_CMD_PAGEDOWNEXTEND : INTEGER is 2323-wxSTC_CMD_EDITTOGGLEOVERTYPE : INTEGER is 2324-wxSTC_CMD_CANCEL : INTEGER is 2325-wxSTC_CMD_DELETEBACK : INTEGER is 2326-wxSTC_CMD_TAB : INTEGER is 2327-wxSTC_CMD_BACKTAB : INTEGER is 2328-wxSTC_CMD_NEWLINE : INTEGER is 2329-wxSTC_CMD_FORMFEED : INTEGER is 2330-wxSTC_CMD_VCHOME : INTEGER is 2331-wxSTC_CMD_VCHOMEEXTEND : INTEGER is 2332-wxSTC_CMD_ZOOMIN : INTEGER is 2333-wxSTC_CMD_ZOOMOUT : INTEGER is 2334-wxSTC_CMD_DELWORDLEFT : INTEGER is 2335-wxSTC_CMD_DELWORDRIGHT : INTEGER is 2336-wxSTC_CMD_LINECUT : INTEGER is 2337-wxSTC_CMD_LINEDELETE : INTEGER is 2338-wxSTC_CMD_LINETRANSPOSE : INTEGER is 2339-wxSTC_CMD_LINEDUPLICATE : INTEGER is 2404-wxSTC_CMD_LOWERCASE : INTEGER is 2340-wxSTC_CMD_UPPERCASE : INTEGER is 2341-wxSTC_CMD_LINESCROLLDOWN : INTEGER is 2342-wxSTC_CMD_LINESCROLLUP : INTEGER is 2343-wxSTC_CMD_DELETEBACKNOTLINE : INTEGER is 2344-wxSTC_CMD_HOMEDISPLAY : INTEGER is 2345-wxSTC_CMD_HOMEDISPLAYEXTEND : INTEGER is 2346-wxSTC_CMD_LINEENDDISPLAY : INTEGER is 2347-wxSTC_CMD_LINEENDDISPLAYEXTEND : INTEGER is 2348-wxSTC_CMD_HOMEWRAP : INTEGER is 2349-wxSTC_CMD_HOMEWRAPEXTEND : INTEGER is 2450-wxSTC_CMD_LINEENDWRAP : INTEGER is 2451-wxSTC_CMD_LINEENDWRAPEXTEND : INTEGER is 2452-wxSTC_CMD_VCHOMEWRAP : INTEGER is 2453-wxSTC_CMD_VCHOMEWRAPEXTEND : INTEGER is 2454-wxSTC_CMD_LINECOPY : INTEGER is 2455-wxSTC_CMD_WORDPARTLEFT : INTEGER is 2390-wxSTC_CMD_WORDPARTLEFTEXTEND : INTEGER is 2391-wxSTC_CMD_WORDPARTRIGHT : INTEGER is 2392-wxSTC_CMD_WORDPARTRIGHTEXTEND : INTEGER is 2393-wxSTC_CMD_DELLINELEFT : INTEGER is 2395-wxSTC_CMD_DELLINERIGHT : INTEGER is 2396-wxSTC_CMD_PARADOWN : INTEGER is 2413-wxSTC_CMD_PARADOWNEXTEND : INTEGER is 2414-wxSTC_CMD_PARAUP : INTEGER is 2415-wxSTC_CMD_PARAUPEXTEND : INTEGER is 2416-wxSTC_CMD_LINEDOWNRECTEXTEND : INTEGER is 2426-wxSTC_CMD_LINEUPRECTEXTEND : INTEGER is 2427-wxSTC_CMD_CHARLEFTRECTEXTEND : INTEGER is 2428-wxSTC_CMD_CHARRIGHTRECTEXTEND : INTEGER is 2429-wxSTC_CMD_HOMERECTEXTEND : INTEGER is 2430-wxSTC_CMD_VCHOMERECTEXTEND : INTEGER is 2431-wxSTC_CMD_LINEENDRECTEXTEND : INTEGER is 2432-wxSTC_CMD_PAGEUPRECTEXTEND : INTEGER is 2433-wxSTC_CMD_PAGEDOWNRECTEXTEND : INTEGER is 2434-wxSTC_CMD_STUTTEREDPAGEUP : INTEGER is 2435-wxSTC_CMD_STUTTEREDPAGEUPEXTEND : INTEGER is 2436-wxSTC_CMD_STUTTEREDPAGEDOWN : INTEGER is 2437-wxSTC_CMD_STUTTEREDPAGEDOWNEXTEND : INTEGER is 2438-wxSTC_CMD_WORDLEFTEND : INTEGER is 2439-wxSTC_CMD_WORDLEFTENDEXTEND : INTEGER is 2440-wxSTC_CMD_WORDRIGHTEND : INTEGER is 2441-wxSTC_CMD_WORDRIGHTENDEXTEND : INTEGER is 2442
− src/eiffel/wx_defs.e
@@ -1,2316 +0,0 @@-class WX_DEFS
-
-feature {NONE}
-	-- from: event.h
-
-	wxACCEL_ALT    : INTEGER is 1
-	wxACCEL_CTRL   : INTEGER is 2
-	wxACCEL_SHIFT  : INTEGER is 4
-	wxACCEL_NORMAL : INTEGER is 0
-
-	wxNULL_FLAG : INTEGER is 0
-	wxEVT_NULL : INTEGER is 0
-	wxEVT_FIRST : INTEGER is 10000
-	wxJOYSTICK1 : INTEGER is 0
-	wxJOYSTICK2 : INTEGER is 1
-	wxJOY_BUTTON1 : INTEGER is 1
-	wxJOY_BUTTON2 : INTEGER is 2
-	wxJOY_BUTTON3 : INTEGER is 4
-	wxJOY_BUTTON4 : INTEGER is 8
-	wxUNKNOWN_PLATFORM : INTEGER is 1
-	wxCURSES : INTEGER is 2
-	wxXVIEW_X : INTEGER is 3
-	wxMOTIF_X : INTEGER is 4
-	wxCOSE_X : INTEGER is 5
-	wxNEXTSTEP : INTEGER is 6
-	wxMACINTOSH : INTEGER is 7
-	wxBEOS : INTEGER is 8
-	wxGTK : INTEGER is 9
-	wxGTK_WIN32 : INTEGER is 10
-	wxGTK_OS2 : INTEGER is 11
-	wxGTK_BEOS : INTEGER is 12
-	wxQT : INTEGER is 13
-	wxGEOS : INTEGER is 14
-	wxOS2_PM : INTEGER is 15
-	wxWINDOWS : INTEGER is 16
-	wxPENWINDOWS : INTEGER is 17
-	wxWINDOWS_NT : INTEGER is 18
-	wxWIN32S : INTEGER is 19
-	wxWIN95 : INTEGER is 20
-	wxWIN386 : INTEGER is 21
-	wxMGL_UNIX : INTEGER is 22
-	wxMGL_X : INTEGER is 23
-	wxMGL_WIN32 : INTEGER is 24
-	wxMGL_OS2 : INTEGER is 25
-	wxWINDOWS_OS2 : INTEGER is 26
-	wxUNIX : INTEGER is 27
-	wxBIG_ENDIAN : INTEGER is 4321
-	wxLITTLE_ENDIAN : INTEGER is 1234
-	wxPDP_ENDIAN : INTEGER is 3412
-	wxCENTRE : INTEGER is 1
-	wxCENTER : INTEGER is 1
-	wxCENTER_FRAME : INTEGER is 0
-	wxCENTRE_ON_SCREEN : INTEGER is 2
-	wxHORIZONTAL : INTEGER is 4
-	wxVERTICAL : INTEGER is 8
-	wxBOTH : INTEGER is 12
-	wxLEFT : INTEGER is 16
-	wxRIGHT : INTEGER is 32
-	wxUP : INTEGER is 64
-	wxDOWN : INTEGER is 128
-	wxTOP : INTEGER is 64
-	wxBOTTOM : INTEGER is 128
-	wxNORTH : INTEGER is 64
-	wxSOUTH : INTEGER is 128
-	wxWEST : INTEGER is 16
-	wxEAST : INTEGER is 32
-	wxALL : INTEGER is 240
-	wxALIGN_NOT : INTEGER is 0
-	wxALIGN_CENTER_HORIZONTAL : INTEGER is 256
-	wxALIGN_CENTRE_HORIZONTAL : INTEGER is 256
-	wxALIGN_LEFT : INTEGER is 0
-	wxALIGN_TOP : INTEGER is 0
-	wxALIGN_RIGHT : INTEGER is 512
-	wxALIGN_BOTTOM : INTEGER is 1024
-	wxALIGN_CENTER_VERTICAL : INTEGER is 2048
-	wxALIGN_CENTRE_VERTICAL : INTEGER is 2048
-	wxALIGN_CENTER : INTEGER is 2304
-	wxALIGN_CENTRE : INTEGER is 2304
-	wxSTRETCH_NOT : INTEGER is 0
-	wxSHRINK : INTEGER is 4096
-	wxGROW : INTEGER is 8192
-	wxEXPAND : INTEGER is 8192
-	wxSHAPED : INTEGER is 16384
-	wxVSCROLL : INTEGER is -2147483648
-	wxHSCROLL : INTEGER is 1073741824
-	wxCAPTION : INTEGER is 536870912
-	wxDOUBLE_BORDER : INTEGER is 268435456
-	wxSUNKEN_BORDER : INTEGER is 134217728
-	wxRAISED_BORDER : INTEGER is 67108864
-	wxSTATIC_BORDER : INTEGER is 16777216
-	wxBORDER :        INTEGER is 33554432
-	wxTRANSPARENT_WINDOW : INTEGER is 1048576
-	wxNO_BORDER : INTEGER is 2097152
-	wxUSER_COLOURS : INTEGER is 8388608
-	wxNO_3D : INTEGER is 8388608
-	wxCLIP_CHILDREN : INTEGER is 4194304
-	wxTAB_TRAVERSAL : INTEGER is 524288
-	wxWANTS_CHARS : INTEGER is 262144
-	wxRETAINED : INTEGER is 131072
-	wxNO_FULL_REPAINT_ON_RESIZE : INTEGER is 65536
-	wxWS_EX_VALIDATE_RECURSIVELY : INTEGER is 1
-	wxSTAY_ON_TOP : INTEGER is 32768
-	wxICONIZE : INTEGER is 16384
-	wxMAXIMIZE : INTEGER is 8192
-	wxSYSTEM_MENU : INTEGER is 2048
-	wxMINIMIZE_BOX : INTEGER is 1024
-	wxMAXIMIZE_BOX : INTEGER is 512
-	wxDEFAULT_FRAME_STYLE : INTEGER is 536878656
-
-	wxTINY_CAPTION_HORIZ : INTEGER is 256
-	wxTINY_CAPTION_VERT : INTEGER is 128
-	wxRESIZE_BORDER : INTEGER is 64
-	wxDIALOG_MODAL : INTEGER is 32
-	wxDIALOG_MODELESS : INTEGER is 0
-	wxFRAME_FLOAT_ON_PARENT : INTEGER is 8
-	wxFRAME_NO_WINDOW_MENU : INTEGER is 256
-	wxED_CLIENT_MARGIN : INTEGER is 4
-	wxED_BUTTONS_BOTTOM : INTEGER is 0
-	wxED_BUTTONS_RIGHT : INTEGER is 2
-	wxED_STATIC_LINE : INTEGER is 1
-	wxTB_3DBUTTONS : INTEGER is 16
-	wxTB_FLAT : INTEGER is 32
-	wxTB_DOCKABLE : INTEGER is 64
-	wxMB_DOCKABLE : INTEGER is 1
-	wxMENU_TEAROFF : INTEGER is 1
-	wxCOLOURED : INTEGER is 2048
-	wxFIXED_LENGTH : INTEGER is 1024
-	wxLB_SORT : INTEGER is 16
-	wxLB_SINGLE : INTEGER is 32
-	wxLB_MULTIPLE : INTEGER is 64
-	wxLB_EXTENDED : INTEGER is 128
-	wxLB_OWNERDRAW : INTEGER is 256
-	wxLB_NEEDED_SB : INTEGER is 512
-	wxLB_ALWAYS_SB : INTEGER is 1024
-	wxTE_READONLY : INTEGER is 16
-	wxTE_MULTILINE : INTEGER is 32
-	wxTE_PROCESS_TAB : INTEGER is 64
-	wxTE_RICH : INTEGER is 128
-	wxTE_NO_VSCROLL : INTEGER is 256
-	wxTE_AUTO_SCROLL : INTEGER is 512
-	wxPROCESS_ENTER : INTEGER is 1024
-	wxPASSWORD : INTEGER is 2048
-	wxCB_SIMPLE : INTEGER is 4
-	wxCB_SORT : INTEGER is 8
-	wxCB_READONLY : INTEGER is 16
-	wxCB_DROPDOWN : INTEGER is 32
-	wxRB_GROUP : INTEGER is 4
-	wxGA_PROGRESSBAR : INTEGER is 16
-	wxGA_SMOOTH : INTEGER is 32
-	wxSL_NOTIFY_DRAG : INTEGER is 0
-	wxSL_AUTOTICKS : INTEGER is 16
-	wxSL_LABELS : INTEGER is 32
-	wxSL_LEFT : INTEGER is 64
-	wxSL_TOP : INTEGER is 128
-	wxSL_RIGHT : INTEGER is 256
-	wxSL_BOTTOM : INTEGER is 512
-	wxSL_BOTH : INTEGER is 1024
-	wxSL_SELRANGE : INTEGER is 2048
-	wxBU_AUTODRAW : INTEGER is 4
-	wxBU_NOAUTODRAW : INTEGER is 0
-	wxBU_LEFT : INTEGER is 64
-	wxBU_TOP : INTEGER is 128
-	wxBU_RIGHT : INTEGER is 256
-	wxBU_BOTTOM : INTEGER is 512
-	wxLC_ICON : INTEGER is 4
-	wxLC_SMALL_ICON : INTEGER is 8
-	wxLC_LIST : INTEGER is 16
-	wxLC_REPORT : INTEGER is 32
-	wxLC_ALIGN_TOP : INTEGER is 64
-	wxLC_ALIGN_LEFT : INTEGER is 128
-	wxLC_AUTOARRANGE : INTEGER is 256
-	wxLC_USER_TEXT : INTEGER is 512
-	wxLC_EDIT_LABELS : INTEGER is 1024
-	wxLC_NO_HEADER : INTEGER is 2048
-	wxLC_NO_SORT_HEADER : INTEGER is 4096
-	wxLC_SINGLE_SEL : INTEGER is 8192
-	wxLC_SORT_ASCENDING : INTEGER is 16384
-	wxLC_SORT_DESCENDING : INTEGER is 32768
-	wxSP_ARROW_KEYS : INTEGER is 4096
-	wxSP_WRAP : INTEGER is 8192
-	wxSP_NOBORDER : INTEGER is 0
-	wxSP_NOSASH : INTEGER is 16
-	wxSP_BORDER : INTEGER is 32
-	wxSP_PERMIT_UNSPLIT : INTEGER is 64
-	wxSP_LIVE_UPDATE : INTEGER is 128
-	wxSP_3DSASH :   INTEGER is 256
-	wxSP_3DBORDER : INTEGER is 512
-	wxSP_3D :   INTEGER is 768
-	wxSP_FULLSASH : INTEGER is 1024
-	wxFRAME_TOOL_WINDOW : INTEGER is 4
-	wxTC_MULTILINE : INTEGER is 0
-	wxTC_RIGHTJUSTIFY : INTEGER is 16
-	wxTC_FIXEDWIDTH : INTEGER is 32
-	wxTC_OWNERDRAW : INTEGER is 64
-	wxNB_FIXEDWIDTH : INTEGER is 16
-	wxST_SIZEGRIP : INTEGER is 16
-	wxST_NO_AUTORESIZE : INTEGER is 1
-	wxPD_CAN_ABORT : INTEGER is 1
-	wxPD_APP_MODAL : INTEGER is 2
-	wxPD_AUTO_HIDE : INTEGER is 4
-	wxPD_ELAPSED_TIME : INTEGER is 8
-	wxPD_ESTIMATED_TIME : INTEGER is 16
-	wxPD_REMAINING_TIME : INTEGER is 64
-	wxHW_SCROLLBAR_NEVER : INTEGER is 2
-	wxHW_SCROLLBAR_AUTO : INTEGER is 4
-	wxCAL_SUNDAY_FIRST : INTEGER is 0
-	wxCAL_MONDAY_FIRST : INTEGER is 1
-	wxCAL_SHOW_HOLIDAYS : INTEGER is 2
-	wxCAL_NO_YEAR_CHANGE : INTEGER is 4
-	wxCAL_NO_MONTH_CHANGE : INTEGER is 12
-	wxICON_EXCLAMATION : INTEGER is 256
-	wxICON_HAND : INTEGER is 512
-	wxICON_QUESTION : INTEGER is 1024
-	wxICON_INFORMATION : INTEGER is 2048
-	wxFORWARD : INTEGER is 4096
-	wxBACKWARD : INTEGER is 8192
-	wxRESET : INTEGER is 16384
-	wxHELP : INTEGER is 32768
-	wxMORE : INTEGER is 65536
-	wxSETUP : INTEGER is 131072
-	wxID_LOWEST : INTEGER is 4999
-	wxID_OPEN : INTEGER is 5000
-	wxID_CLOSE : INTEGER is 5001
-	wxID_NEW : INTEGER is 5002
-	wxID_SAVE : INTEGER is 5003
-	wxID_SAVEAS : INTEGER is 5004
-	wxID_REVERT : INTEGER is 5005
-	wxID_EXIT : INTEGER is 5006
-	wxID_UNDO : INTEGER is 5007
-	wxID_REDO : INTEGER is 5008
-	wxID_HELP : INTEGER is 5009
-	wxID_PRINT : INTEGER is 5010
-	wxID_PRINT_SETUP : INTEGER is 5011
-	wxID_PREVIEW : INTEGER is 5012
-	wxID_ABOUT : INTEGER is 5013
-	wxID_HELP_CONTENTS : INTEGER is 5014
-	wxID_HELP_COMMANDS : INTEGER is 5015
-	wxID_HELP_PROCEDURES : INTEGER is 5016
-	wxID_HELP_CONTEXT : INTEGER is 5017
-    wxID_CLOSE_ALL : INTEGER is 5018
-    wxID_PREFERENCES : INTEGER is 5019
-    wxID_EDIT : INTEGER is 5030
-	wxID_CUT : INTEGER is 5031
-	wxID_COPY : INTEGER is 5032
-	wxID_PASTE : INTEGER is 5033
-	wxID_CLEAR : INTEGER is 5034
-	wxID_FIND : INTEGER is 5035
-	wxID_DUPLICATE : INTEGER is 5036
-	wxID_SELECTALL : INTEGER is 5037
-    wxID_DELETE : INTEGER is 5038
-    wxID_REPLACE : INTEGER is 5039
-    wxID_REPLACE_ALL : INTEGER is 5040
-    wxID_PROPERTIES : INTEGER is 5041
-    wxID_VIEW_DETAILS : INTEGER is 5042
-    wxID_VIEW_LARGEICONS : INTEGER is 5043
-    wxID_VIEW_SMALLICONS : INTEGER is 5044
-    wxID_VIEW_LIST : INTEGER is 5045
-    wxID_VIEW_SORTDATE : INTEGER is 5046
-    wxID_VIEW_SORTNAME : INTEGER is 5047
-    wxID_VIEW_SORTSIZE : INTEGER is 5048
-    wxID_VIEW_SORTTYPE : INTEGER is 5049
-	wxID_FILE1 : INTEGER is 5050
-	wxID_FILE2 : INTEGER is 5051
-	wxID_FILE3 : INTEGER is 5052
-	wxID_FILE4 : INTEGER is 5053
-	wxID_FILE5 : INTEGER is 5054
-	wxID_FILE6 : INTEGER is 5055
-	wxID_FILE7 : INTEGER is 5056
-	wxID_FILE8 : INTEGER is 5057
-	wxID_FILE9 : INTEGER is 5058
-	wxID_OK : INTEGER is 5100
-	wxID_CANCEL : INTEGER is 5101
-	wxID_APPLY : INTEGER is 5102
-	wxID_YES : INTEGER is 5103
-	wxID_NO : INTEGER is 5104
-	wxID_STATIC : INTEGER is 5105
-	wxID_FORWARD : INTEGER is 5106
-	wxID_BACKWARD : INTEGER is 5107
-	wxID_DEFAULT : INTEGER is 5108
-	wxID_MORE : INTEGER is 5109
-	wxID_SETUP : INTEGER is 5110
-	wxID_RESET : INTEGER is 5111
-	wxID_FILEDLGG : INTEGER is 5900
-	wxID_HIGHEST : INTEGER is 5999
-	wxSIZE_AUTO_WIDTH : INTEGER is 1
-	wxSIZE_AUTO_HEIGHT : INTEGER is 2
-	wxSIZE_USE_EXISTING : INTEGER is 0
-	wxSIZE_ALLOW_MINUS_ONE : INTEGER is 4
-	wxSIZE_NO_ADJUSTMENTS : INTEGER is 8
-	wxSOLID : INTEGER is 100
-	wxDOT : INTEGER is 101
-	wxLONG_DASH : INTEGER is 102
-	wxSHORT_DASH : INTEGER is 103
-	wxDOT_DASH : INTEGER is 104
-	wxUSER_DASH : INTEGER is 105
-	wxTRANSPARENT : INTEGER is 106
-	wxSTIPPLE_MASK_OPAQUE : INTEGER is 107
-	wxSTIPPLE_MASK : INTEGER is 108
-	wxSTIPPLE : INTEGER is 110
-	wxBDIAGONAL_HATCH : INTEGER is 111
-	wxCROSSDIAG_HATCH : INTEGER is 112
-	wxFDIAGONAL_HATCH : INTEGER is 113
-	wxCROSS_HATCH : INTEGER is 114
-	wxHORIZONTAL_HATCH : INTEGER is 115
-	wxVERTICAL_HATCH : INTEGER is 116
-	wxJOIN_BEVEL : INTEGER is 120
-	wxJOIN_MITER : INTEGER is 121
-	wxJOIN_ROUND : INTEGER is 122
-	wxCAP_ROUND : INTEGER is 130
-	wxCAP_PROJECTING : INTEGER is 131
-	wxCAP_BUTT : INTEGER is 132
-	wxCLEAR : INTEGER is 0
-	wxXOR : INTEGER is 1
-	wxINVERT : INTEGER is 2
-	wxOR_REVERSE : INTEGER is 3
-	wxAND_REVERSE : INTEGER is 4
-	wxCOPY : INTEGER is 5
-	wxAND : INTEGER is 6
-	wxAND_INVERT : INTEGER is 7
-	wxNO_OP : INTEGER is 8
-	wxNOR : INTEGER is 9
-	wxEQUIV : INTEGER is 10
-	wxSRC_INVERT : INTEGER is 11
-	wxOR_INVERT : INTEGER is 12
-	wxNAND : INTEGER is 13
-	wxOR : INTEGER is 14
-	wxSET : INTEGER is 15
-	wxFLOOD_SURFACE : INTEGER is 1
-	wxFLOOD_BORDER : INTEGER is 2
-	wxODDEVEN_RULE : INTEGER is 1
-	wxWINDING_RULE : INTEGER is 2
-	wxTOOL_TOP : INTEGER is 1
-	wxTOOL_BOTTOM : INTEGER is 2
-	wxTOOL_LEFT : INTEGER is 3
-	wxTOOL_RIGHT : INTEGER is 4
-	wxDF_INVALID : INTEGER is 1
-	wxDF_TEXT : INTEGER is 2
-	wxDF_BITMAP : INTEGER is 3
-	wxDF_METAFILE : INTEGER is 4
-	wxDF_SYLK : INTEGER is 5
-	wxDF_DIF : INTEGER is 6
-	wxDF_TIFF : INTEGER is 7
-	wxDF_OEMTEXT : INTEGER is 8
-	wxDF_DIB : INTEGER is 9
-	wxDF_PALETTE : INTEGER is 10
-	wxDF_PENDATA : INTEGER is 11
-	wxDF_RIFF : INTEGER is 12
-	wxDF_WAVE : INTEGER is 13
-	wxDF_UNICODETEXT : INTEGER is 14
-	wxDF_ENHMETAFILE : INTEGER is 15
-	wxDF_FILENAME : INTEGER is 16
-	wxDF_LOCALE : INTEGER is 17
-	wxDF_PRIVATE : INTEGER is 18
-	wxDF_MAX : INTEGER is 19
-	wxMM_TEXT : INTEGER is 1
-	wxMM_LOMETRIC : INTEGER is 2
-	wxMM_HIMETRIC : INTEGER is 3
-	wxMM_LOENGLISH : INTEGER is 4
-	wxMM_HIENGLISH : INTEGER is 5
-	wxMM_TWIPS : INTEGER is 6
-	wxMM_ISOTROPIC : INTEGER is 7
-	wxMM_ANISOTROPIC : INTEGER is 8
-	wxMM_POINTS : INTEGER is 9
-	wxMM_METRIC : INTEGER is 10
-	wxPAPER_NONE : INTEGER is 0
-	wxPAPER_LETTER : INTEGER is 1
-	wxPAPER_LEGAL : INTEGER is 2
-	wxPAPER_A4 : INTEGER is 3
-	wxPAPER_CSHEET : INTEGER is 4
-	wxPAPER_DSHEET : INTEGER is 5
-	wxPAPER_ESHEET : INTEGER is 6
-	wxPAPER_LETTERSMALL : INTEGER is 7
-	wxPAPER_TABLOID : INTEGER is 8
-	wxPAPER_LEDGER : INTEGER is 9
-	wxPAPER_STATEMENT : INTEGER is 10
-	wxPAPER_EXECUTIVE : INTEGER is 11
-	wxPAPER_A3 : INTEGER is 12
-	wxPAPER_A4SMALL : INTEGER is 13
-	wxPAPER_A5 : INTEGER is 14
-	wxPAPER_B4 : INTEGER is 15
-	wxPAPER_B5 : INTEGER is 16
-	wxPAPER_FOLIO : INTEGER is 17
-	wxPAPER_QUARTO : INTEGER is 18
-	wxPAPER_10X14 : INTEGER is 19
-	wxPAPER_11X17 : INTEGER is 20
-	wxPAPER_NOTE : INTEGER is 21
-	wxPAPER_ENV_9 : INTEGER is 22
-	wxPAPER_ENV_10 : INTEGER is 23
-	wxPAPER_ENV_11 : INTEGER is 24
-	wxPAPER_ENV_12 : INTEGER is 25
-	wxPAPER_ENV_14 : INTEGER is 26
-	wxPAPER_ENV_DL : INTEGER is 27
-	wxPAPER_ENV_C5 : INTEGER is 28
-	wxPAPER_ENV_C3 : INTEGER is 29
-	wxPAPER_ENV_C4 : INTEGER is 30
-	wxPAPER_ENV_C6 : INTEGER is 31
-	wxPAPER_ENV_C65 : INTEGER is 32
-	wxPAPER_ENV_B4 : INTEGER is 33
-	wxPAPER_ENV_B5 : INTEGER is 34
-	wxPAPER_ENV_B6 : INTEGER is 35
-	wxPAPER_ENV_ITALY : INTEGER is 36
-	wxPAPER_ENV_MONARCH : INTEGER is 37
-	wxPAPER_ENV_PERSONAL : INTEGER is 38
-	wxPAPER_FANFOLD_US : INTEGER is 39
-	wxPAPER_FANFOLD_STD_GERMAN : INTEGER is 40
-	wxPAPER_FANFOLD_LGL_GERMAN : INTEGER is 41
-	wxPAPER_ISO_B4 : INTEGER is 42
-	wxPAPER_JAPANESE_POSTCARD : INTEGER is 43
-	wxPAPER_9X11 : INTEGER is 44
-	wxPAPER_10X11 : INTEGER is 45
-	wxPAPER_15X11 : INTEGER is 46
-	wxPAPER_ENV_INVITE : INTEGER is 47
-	wxPAPER_LETTER_EXTRA : INTEGER is 48
-	wxPAPER_LEGAL_EXTRA : INTEGER is 49
-	wxPAPER_TABLOID_EXTRA : INTEGER is 50
-	wxPAPER_A4_EXTRA : INTEGER is 51
-	wxPAPER_LETTER_TRANSVERSE : INTEGER is 52
-	wxPAPER_A4_TRANSVERSE : INTEGER is 53
-	wxPAPER_LETTER_EXTRA_TRANSVERSE : INTEGER is 54
-	wxPAPER_A_PLUS : INTEGER is 55
-	wxPAPER_B_PLUS : INTEGER is 56
-	wxPAPER_LETTER_PLUS : INTEGER is 57
-	wxPAPER_A4_PLUS : INTEGER is 58
-	wxPAPER_A5_TRANSVERSE : INTEGER is 59
-	wxPAPER_B5_TRANSVERSE : INTEGER is 60
-	wxPAPER_A3_EXTRA : INTEGER is 61
-	wxPAPER_A5_EXTRA : INTEGER is 62
-	wxPAPER_B5_EXTRA : INTEGER is 63
-	wxPAPER_A2 : INTEGER is 64
-	wxPAPER_A3_TRANSVERSE : INTEGER is 65
-	wxPAPER_A3_EXTRA_TRANSVERSE : INTEGER is 66
-	wxPORTRAIT : INTEGER is 1
-	wxLANDSCAPE : INTEGER is 2
-	wxDUPLEX_SIMPLEX : INTEGER is 0
-	wxDUPLEX_HORIZONTAL : INTEGER is 1
-	wxDUPLEX_VERTICAL : INTEGER is 2
-	wxPRINT_MODE_NONE : INTEGER is 0
-	wxPRINT_MODE_PREVIEW : INTEGER is 1
-	wxPRINT_MODE_FILE : INTEGER is 2
-	wxPRINT_MODE_PRINTER : INTEGER is 3
-
-	-- from: frame.h
-
-	wxFULLSCREEN_NOMENUBAR : INTEGER is 1
-	wxFULLSCREEN_NOTOOLBAR : INTEGER is 2
-	wxFULLSCREEN_NOSTATUSBAR : INTEGER is 4
-	wxFULLSCREEN_NOBORDER : INTEGER is 8
-	wxFULLSCREEN_NOCAPTION : INTEGER is 16
-
-	-- from: layout.h
-
-	wxLAYOUT_DEFAULT_MARGIN : INTEGER is 0
-	wxEDGE_LEFT             : INTEGER is 0
-	wxEDGE_TOP              : INTEGER is 1
-	wxEDGE_RIGHT            : INTEGER is 2
-	wxEDGE_BOTTOM           : INTEGER is 3 
-	wxEDGE_WIDTH            : INTEGER is 4
-	wxEDGE_HEIGHT           : INTEGER is 5
-	wxEDGE_CENTER           : INTEGER is 6
-	wxEDGE_CENTREX          : INTEGER is 7
-	wxEDGE_CENTREY          : INTEGER is 8
-	
-	wxRELATIONSHIP_UNCONSTRAINED : INTEGER is 0
-	wxRELATIONSHIP_ASIS          : INTEGER is 1
-	wxRELATIONSHIP_PERCENTOF     : INTEGER is 2
-	wxRELATIONSHIP_ABOVE         : INTEGER is 3
-	wxRELATIONSHIP_BELOW         : INTEGER is 4
-	wxRELATIONSHIP_LEFTOF        : INTEGER is 5
-	wxRELATIONSHIP_RIGHTOF       : INTEGER is 6
-	wxRELATIONSHIP_SAMEAS        : INTEGER is 7
-	wxRELATIONSHIP_ABSOLUTE      : INTEGER is 8
-
-	-- from: fontenc.h
-
-	wxFONTENCODING_SYSTEM : INTEGER is -1
-	wxFONTENCODING_DEFAULT : INTEGER is 0
-	wxFONTENCODING_ISO8859_1 : INTEGER is 1
-	wxFONTENCODING_ISO8859_2 : INTEGER is 2
-	wxFONTENCODING_ISO8859_3 : INTEGER is 3
-	wxFONTENCODING_ISO8859_4 : INTEGER is 4
-	wxFONTENCODING_ISO8859_5 : INTEGER is 5
-	wxFONTENCODING_ISO8859_6 : INTEGER is 6
-	wxFONTENCODING_ISO8859_7 : INTEGER is 7
-	wxFONTENCODING_ISO8859_8 : INTEGER is 8
-	wxFONTENCODING_ISO8859_9 : INTEGER is 9
-	wxFONTENCODING_ISO8859_10 : INTEGER is 10
-	wxFONTENCODING_ISO8859_11 : INTEGER is 11
-	wxFONTENCODING_ISO8859_12 : INTEGER is 12
-	wxFONTENCODING_ISO8859_13 : INTEGER is 13
-	wxFONTENCODING_ISO8859_14 : INTEGER is 14
-	wxFONTENCODING_ISO8859_15 : INTEGER is 15
-	wxFONTENCODING_ISO8859_MAX : INTEGER is 16
-	wxFONTENCODING_KOI8 : INTEGER is 17
-	wxFONTENCODING_ALTERNATIVE : INTEGER is 18
-	wxFONTENCODING_BULGARIAN : INTEGER is 19
-	wxFONTENCODING_CP437 : INTEGER is 20
-	wxFONTENCODING_CP850 : INTEGER is 21
-	wxFONTENCODING_CP852 : INTEGER is 22
-	wxFONTENCODING_CP855 : INTEGER is 23
-	wxFONTENCODING_CP866 : INTEGER is 24
-	wxFONTENCODING_CP874 : INTEGER is 25
-	wxFONTENCODING_CP1250 : INTEGER is 26
-	wxFONTENCODING_CP1251 : INTEGER is 27
-	wxFONTENCODING_CP1252 : INTEGER is 28
-	wxFONTENCODING_CP1253 : INTEGER is 29
-	wxFONTENCODING_CP1254 : INTEGER is 30
-	wxFONTENCODING_CP1255 : INTEGER is 31
-	wxFONTENCODING_CP1256 : INTEGER is 32
-	wxFONTENCODING_CP1257 : INTEGER is 33
-	wxFONTENCODING_CP12_MAX : INTEGER is 34
-	wxFONTENCODING_UNICODE : INTEGER is 35
-	wxFONTENCODING_MAX : INTEGER is 36
-
-    wxGRIDTABLE_REQUEST_VIEW_GET_VALUES : INTEGER is 2000
-    wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES : INTEGER is 2001
-    wxGRIDTABLE_NOTIFY_ROWS_INSERTED : INTEGER is 2002
-    wxGRIDTABLE_NOTIFY_ROWS_APPENDED : INTEGER is 2003
-    wxGRIDTABLE_NOTIFY_ROWS_DELETED : INTEGER is 2004
-    wxGRIDTABLE_NOTIFY_COLS_INSERTED : INTEGER is 2005
-    wxGRIDTABLE_NOTIFY_COLS_APPENDED : INTEGER is 2006
-    wxGRIDTABLE_NOTIFY_COLS_DELETED : INTEGER is 2007
-	
-	wxGridSelectCells: INTEGER is 0
-	wxGridSelectRows: INTEGER is 1
-	wxGridSelectColumns: INTEGER is 2
-	
-	wxFILTER_NONE : INTEGER is 0
-	wxFILTER_ASCII : INTEGER is 1
-	wxFILTER_ALPHA : INTEGER is 2
-	wxFILTER_ALPHANUMERIC : INTEGER is 4
-	wxFILTER_NUMERIC : INTEGER is 8
-	wxFILTER_INCLUDE_LIST : INTEGER is 16
-	wxFILTER_EXCLUDE_LIST : INTEGER is 32
-	wxFILTER_UPPER_CASE : INTEGER is 64
-	wxFILTER_LOWER_CASE : INTEGER is 128
-
-    wxBITMAP_TYPE_INVALID: INTEGER is 0
-    wxBITMAP_TYPE_BMP: INTEGER is 1
-    wxBITMAP_TYPE_BMP_RESOURCE: INTEGER is 2
-    wxBITMAP_TYPE_RESOURCE: INTEGER is 2
-    wxBITMAP_TYPE_ICO: INTEGER is 3
-    wxBITMAP_TYPE_ICO_RESOURCE: INTEGER is 4
-    wxBITMAP_TYPE_CUR: INTEGER is 5
-    wxBITMAP_TYPE_CUR_RESOURCE: INTEGER is 6
-    wxBITMAP_TYPE_XBM: INTEGER is 7
-    wxBITMAP_TYPE_XBM_DATA: INTEGER is 8
-    wxBITMAP_TYPE_XPM: INTEGER is 9
-    wxBITMAP_TYPE_XPM_DATA: INTEGER is 10
-    wxBITMAP_TYPE_TIF: INTEGER is 11
-    wxBITMAP_TYPE_TIF_RESOURCE: INTEGER is 12
-    wxBITMAP_TYPE_GIF: INTEGER is 13
-    wxBITMAP_TYPE_GIF_RESOURCE: INTEGER is 14
-    wxBITMAP_TYPE_PNG: INTEGER is 15
-    wxBITMAP_TYPE_PNG_RESOURCE: INTEGER is 16
-    wxBITMAP_TYPE_JPEG: INTEGER is 17
-    wxBITMAP_TYPE_JPEG_RESOURCE: INTEGER is 18
-    wxBITMAP_TYPE_PNM: INTEGER is 19
-    wxBITMAP_TYPE_PNM_RESOURCE: INTEGER is 20
-    wxBITMAP_TYPE_PCX: INTEGER is 21
-    wxBITMAP_TYPE_PCX_RESOURCE: INTEGER is 22
-    wxBITMAP_TYPE_PICT: INTEGER is 23
-    wxBITMAP_TYPE_PICT_RESOURCE: INTEGER is 24
-    wxBITMAP_TYPE_ICON: INTEGER is 25
-    wxBITMAP_TYPE_ICON_RESOURCE: INTEGER is 26
-    wxBITMAP_TYPE_MACCURSOR: INTEGER is 27
-    wxBITMAP_TYPE_MACCURSOR_RESOURCE: INTEGER is 28
-    wxBITMAP_TYPE_ANY: INTEGER is 50
-	
-    wxCURSOR_NONE: INTEGER is 0
-    wxCURSOR_ARROW: INTEGER is 1
-    wxCURSOR_RIGHT_ARROW: INTEGER is 2
-    wxCURSOR_BULLSEYE: INTEGER is 3
-    wxCURSOR_CHAR: INTEGER is 4
-    wxCURSOR_CROSS: INTEGER is 5
-    wxCURSOR_HAND: INTEGER is 6
-    wxCURSOR_IBEAM: INTEGER is 7
-    wxCURSOR_LEFT_BUTTON: INTEGER is 8
-    wxCURSOR_MAGNIFIER: INTEGER is 9
-    wxCURSOR_MIDDLE_BUTTON: INTEGER is 10
-    wxCURSOR_NO_ENTRY: INTEGER is 11
-    wxCURSOR_PAINT_BRUSH: INTEGER is 12
-    wxCURSOR_PENCIL: INTEGER is 13
-    wxCURSOR_POINT_LEFT: INTEGER is 14
-    wxCURSOR_POINT_RIGHT: INTEGER is 15
-    wxCURSOR_QUESTION_ARROW: INTEGER is 16
-    wxCURSOR_RIGHT_BUTTON: INTEGER is 17
-    wxCURSOR_SIZENESW: INTEGER is 18
-    wxCURSOR_SIZENS: INTEGER is 19
-    wxCURSOR_SIZENWSE: INTEGER is 20
-    wxCURSOR_SIZEWE: INTEGER is 21
-    wxCURSOR_SIZING: INTEGER is 22
-    wxCURSOR_SPRAYCAN: INTEGER is 23
-    wxCURSOR_WAIT: INTEGER is 24
-    wxCURSOR_WATCH: INTEGER is 25
-    wxCURSOR_BLANK: INTEGER is 26
-
-    wxOPEN : INTEGER is 1
-    wxSAVE : INTEGER is 2
-    wxOVERWRITE_PROMPT : INTEGER is 4
-    wxHIDE_READONLY : INTEGER is 8
-    wxFILE_MUST_EXIST : INTEGER is 16
-    wxMULTIPLE : INTEGER is 32
-	wxCHANGE_DIR : INTEGER is 64
-	
-	wxDRAG_ERROR: INTEGER is 0
-	wxDRAG_NONE: INTEGER is 1
-	wxDRAG_COPY: INTEGER is 2
-	wxDRAG_MOVE: INTEGER is 3
-	wxDRAG_LINK: INTEGER is 4
-	wxDRAG_CANCEL: INTEGER is 5
-
-    wxSPLIT_HORIZONTAL: INTEGER is 1
-    wxSPLIT_VERTICAL: INTEGER is 2
-
-    wxLIST_FORMAT_LEFT: INTEGER is 0
-    wxLIST_FORMAT_RIGHT: INTEGER is 1
-    wxLIST_FORMAT_CENTRE: INTEGER is 2
-    wxLIST_FORMAT_CENTER: INTEGER is 2
-
-	wxLIST_STATE_DONTCARE : INTEGER is 0
-	wxLIST_STATE_DROPHILITED : INTEGER is 1
-	wxLIST_STATE_FOCUSED : INTEGER is 2
-	wxLIST_STATE_SELECTED : INTEGER is 4
-	wxLIST_STATE_CUT : INTEGER is 8
-
-	wxLIST_MASK_STATE : INTEGER is 1
-	wxLIST_MASK_TEXT : INTEGER is 2
-	wxLIST_MASK_IMAGE : INTEGER is 4
-	wxLIST_MASK_DATA : INTEGER is 8
-	wxLIST_MASK_WIDTH : INTEGER is 16
-	wxLIST_MASK_FORMAT : INTEGER is 32
-
-	wxLIST_NEXT_ABOVE: INTEGER is 0
-	wxLIST_NEXT_ALL: INTEGER is 1
-	wxLIST_NEXT_BELOW: INTEGER is 2
-	wxLIST_NEXT_LEFT: INTEGER is 3
-	wxLIST_NEXT_RIGHT: INTEGER is 4
-	
-	wxRA_SPECIFY_COLS : INTEGER is 4
-	wxRA_SPECIFY_ROWS : INTEGER is 8
-
-	wxTREE_HITTEST_ABOVE : INTEGER is 1
-	wxTREE_HITTEST_BELOW : INTEGER is 2
-	wxTREE_HITTEST_NOWHERE : INTEGER is 4
-	wxTREE_HITTEST_ONITEMBUTTON : INTEGER is 8
-	wxTREE_HITTEST_ONITEMICON : INTEGER is 16
-	wxTREE_HITTEST_ONITEMINDENT : INTEGER is 32
-	wxTREE_HITTEST_ONITEMLABEL : INTEGER is 64
-	wxTREE_HITTEST_ONITEMRIGHT : INTEGER is 128
-	wxTREE_HITTEST_ONITEMSTATEICON : INTEGER is 256
-	wxTREE_HITTEST_TOLEFT : INTEGER is 512
-	wxTREE_HITTEST_TORIGHT : INTEGER is 1024
-	wxTREE_HITTEST_ONITEMUPPERPART : INTEGER is 2048
-	wxTREE_HITTEST_ONITEMLOWERPART : INTEGER is 4096
-	wxTREE_HITTEST_ONITEM : INTEGER is 80
-	
-	wxDEFAULT:    INTEGER is 70
-	wxDECORATIVE: INTEGER is 71
-	wxROMAN:      INTEGER is 72
-	wxSCRIPT:     INTEGER is 73
-	wxSWISS:      INTEGER is 74
-	wxMODERN:     INTEGER is 75
-	wxTELETYPE:   INTEGER is 76
-	wxVARIABLE:   INTEGER is 80
-	wxFIXED:      INTEGER is 81
-	wxNORMAL:     INTEGER is 90
-	wxLIGHT:      INTEGER is 91
-	wxBOLD:       INTEGER is 92
-	wxITALIC:     INTEGER is 93
-	wxSLANT:      INTEGER is 94
-	
-	wxBLUE_BRUSH:        INTEGER is 0
-	wxGREEN_BRUSH:       INTEGER is 1
-	wxWHITE_BRUSH:       INTEGER is 2
-	wxBLACK_BRUSH:       INTEGER is 3
-	wxGREY_BRUSH:        INTEGER is 4
-	wxMEDIUM_GREY_BRUSH: INTEGER is 5
-	wxLIGHT_GREY_BRUSH:  INTEGER is 6
-	wxTRANSPARENT_BRUSH: INTEGER is 7
-	wxCYAN_BRUSH:        INTEGER is 8
-	wxRED_BRUSH:         INTEGER is 9
-
-	wxBLACK:      INTEGER is 0
-	wxWHITE:      INTEGER is 1
-	wxRED:        INTEGER is 2
-	wxBLUE:       INTEGER is 3
-	wxGREEN:      INTEGER is 4
-	wxCYAN:       INTEGER is 5
-	wxLIGHT_GREY: INTEGER is 6
-
-	wxRED_PEN:          INTEGER is 0
-	wxCYAN_PEN:         INTEGER is 1
-	wxGREEN_PEN:        INTEGER is 2
-	wxBLACK_PEN:        INTEGER is 3
-	wxWHITE_PEN:        INTEGER is 4
-	wxTRANSPARENT_PEN:  INTEGER is 5
-	wxBLACK_DASHED_PEN: INTEGER is 6
-	wxGREY_PEN:         INTEGER is 7
-	wxMEDIUM_GREY_PEN:  INTEGER is 8
-	wxLIGHT_GREY_PEN:   INTEGER is 9
-	
-	wxNOT_FOUND: INTEGER is -1
-
-    wxPRINTER_NO_ERROR:  INTEGER is 0
-    wxPRINTER_CANCELLED: INTEGER is 1
-    wxPRINTER_ERROR:     INTEGER is 2
-
-	wxPREVIEW_PRINT    : INTEGER is 1
-	wxPREVIEW_PREVIOUS : INTEGER is 2
-	wxPREVIEW_NEXT     : INTEGER is 4
-	wxPREVIEW_ZOOM     : INTEGER is 8
-	wxPREVIEW_FIRST    : INTEGER is 8
-	wxPREVIEW_LAST     : INTEGER is 32
-	wxPREVIEW_GOTO     : INTEGER is 64
-	wxPREVIEW_DEFAULT  : INTEGER is 126
-
-	wxID_PREVIEW_CLOSE:    INTEGER is 1
-	wxID_PREVIEW_NEXT:     INTEGER is 2
-	wxID_PREVIEW_PREVIOUS: INTEGER is 3
-	wxID_PREVIEW_PRINT:    INTEGER is 4
-	wxID_PREVIEW_ZOOM:     INTEGER is 5
-	wxID_PREVIEW_FIRST: INTEGER is 6
-	wxID_PREVIEW_LAST: INTEGER is 7
-	wxID_PREVIEW_GOTO: INTEGER is 8
-
-    wxPRINTID_STATIC:      INTEGER is 10
-    wxPRINTID_RANGE:       INTEGER is 11
-    wxPRINTID_FROM:        INTEGER is 12
-    wxPRINTID_TO:          INTEGER is 13
-    wxPRINTID_COPIES:      INTEGER is 14
-    wxPRINTID_PRINTTOFILE: INTEGER is 15
-    wxPRINTID_SETUP:       INTEGER is 16
-
-    wxPRINTID_LEFTMARGIN:   INTEGER is 30
-    wxPRINTID_RIGHTMARGIN:  INTEGER is 31
-    wxPRINTID_TOPMARGIN:    INTEGER is 32
-    wxPRINTID_BOTTOMMARGIN: INTEGER is 33
-
-    wxPRINTID_PRINTCOLOUR: INTEGER is 10
-    wxPRINTID_ORIENTATION: INTEGER is 11
-    wxPRINTID_COMMAND:     INTEGER is 12
-    wxPRINTID_OPTIONS:     INTEGER is 13
-    wxPRINTID_PAPERSIZE:   INTEGER is 14
-
-	wxHF_TOOLBAR      : INTEGER is 1
-	wxHF_CONTENTS     : INTEGER is 2
-	wxHF_INDEX        : INTEGER is 4
-	wxHF_SEARCH       : INTEGER is 8
-	wxHF_BOOKMARKS    : INTEGER is 16
-	wxHF_OPENFILES    : INTEGER is 32
-	wxHF_PRINT        : INTEGER is 64
-	wxHF_FLATTOOLBAR  : INTEGER is 128
-	wxHF_DEFAULTSTYLE : INTEGER is 95
-	
-    wxLAYOUT_HORIZONTAL:	INTEGER is 0
-    wxLAYOUT_VERTICAL:		INTEGER is 1
-
-    wxLAYOUT_NONE:		INTEGER is 0
-    wxLAYOUT_TOP:		INTEGER is 1
-    wxLAYOUT_LEFT:		INTEGER is 2
-    wxLAYOUT_RIGHT:		INTEGER is 3
-    wxLAYOUT_BOTTOM:	INTEGER is 4
-
-	wxSASH_DRAG_NONE:		INTEGER is 0
-	wxSASH_DRAG_DRAGGING:	INTEGER is 1
-	wxSASH_DRAG_LEFT_DOWN:	INTEGER is 2
-
-    wxSASH_TOP:		INTEGER is 0
-    wxSASH_RIGHT:	INTEGER is 1
-    wxSASH_BOTTOM:	INTEGER is 2
-    wxSASH_LEFT:	INTEGER is 3
-    wxSASH_NONE:	INTEGER is 100
-
-	wxSW_NOBORDER:	INTEGER is 0
-	wxSW_BORDER:	INTEGER is 32
-	wxSW_3DSASH:	INTEGER is 64
-	wxSW_3DBORDER:	INTEGER is 128
-	wxSW_3D:		INTEGER is 192
-
-    wxSASH_STATUS_OK:			INTEGER is 0
-    wxSASH_STATUS_OUT_OF_RANGE:	INTEGER is 1
-
-    -- from: xmlres.h
-    wxXRC_NONE:                 INTEGER is 0
-    wxXRC_USE_LOCALE:           INTEGER is 1
-    wxXRC_NO_SUBCLASSING:       INTEGER is 2
-    wxXRC_NO_RELOADING:         INTEGER is 4
-
-	-- from: settings.h
-
-	wxSYS_WHITE_BRUSH         : INTEGER is 0
-	wxSYS_LTGRAY_BRUSH        : INTEGER is 1
-	wxSYS_GRAY_BRUSH          : INTEGER is 2
-	wxSYS_DKGRAY_BRUSH        : INTEGER is 3
-	wxSYS_BLACK_BRUSH         : INTEGER is 4
-	wxSYS_NULL_BRUSH          : INTEGER is 5
-	wxSYS_HOLLOW_BRUSH        : INTEGER is 5
-	wxSYS_WHITE_PEN           : INTEGER is 6
-	wxSYS_BLACK_PEN           : INTEGER is 7
-	wxSYS_NULL_PEN            : INTEGER is 8
-	wxSYS_OEM_FIXED_FONT      : INTEGER is 10
-	wxSYS_ANSI_FIXED_FONT     : INTEGER is 11
-	wxSYS_ANSI_VAR_FONT       : INTEGER is 12
-	wxSYS_SYSTEM_FONT         : INTEGER is 13
-	wxSYS_DEVICE_DEFAULT_FONT : INTEGER is 14
-	wxSYS_DEFAULT_PALETTE     : INTEGER is 15
-	wxSYS_SYSTEM_FIXED_FONT   : INTEGER is 16
-	wxSYS_DEFAULT_GUI_FONT    : INTEGER is 17
-
-	wxSYS_COLOUR_SCROLLBAR         : INTEGER is 0
-	wxSYS_COLOUR_BACKGROUND        : INTEGER is 1
-	wxSYS_COLOUR_ACTIVECAPTION     : INTEGER is 2
-	wxSYS_COLOUR_INACTIVECAPTION   : INTEGER is 3
-	wxSYS_COLOUR_MENU              : INTEGER is 4
-	wxSYS_COLOUR_WINDOW            : INTEGER is 5
-	wxSYS_COLOUR_WINDOWFRAME       : INTEGER is 6
-	wxSYS_COLOUR_MENUTEXT          : INTEGER is 7
-	wxSYS_COLOUR_WINDOWTEXT        : INTEGER is 8
-	wxSYS_COLOUR_CAPTIONTEXT       : INTEGER is 9
-	wxSYS_COLOUR_ACTIVEBORDER      : INTEGER is 10
-	wxSYS_COLOUR_INACTIVEBORDER    : INTEGER is 11
-	wxSYS_COLOUR_APPWORKSPACE      : INTEGER is 12
-	wxSYS_COLOUR_HIGHLIGHT         : INTEGER is 13
-	wxSYS_COLOUR_HIGHLIGHTTEXT     : INTEGER is 14
-	wxSYS_COLOUR_BTNFACE           : INTEGER is 15
-	wxSYS_COLOUR_BTNSHADOW         : INTEGER is 16
-	wxSYS_COLOUR_GRAYTEXT          : INTEGER is 17
-	wxSYS_COLOUR_BTNTEXT           : INTEGER is 18
-	wxSYS_COLOUR_INACTIVECAPTIONTEXT : INTEGER is 19
-	wxSYS_COLOUR_BTNHIGHLIGHT      : INTEGER is 20
-
-	wxSYS_COLOUR_3DDKSHADOW        : INTEGER is 21
-	wxSYS_COLOUR_3DLIGHT           : INTEGER is 22
-	wxSYS_COLOUR_INFOTEXT          : INTEGER is 23
-	wxSYS_COLOUR_INFOBK            : INTEGER is 24
-
-	wxSYS_COLOUR_LISTBOX           : INTEGER is 25
-
-	wxSYS_COLOUR_DESKTOP           : INTEGER is 1
-	wxSYS_COLOUR_3DFACE            : INTEGER is 15
-	wxSYS_COLOUR_3DSHADOW          : INTEGER is 16
-	wxSYS_COLOUR_3DHIGHLIGHT       : INTEGER is 20
-	wxSYS_COLOUR_3DHILIGHT         : INTEGER is 20
-	wxSYS_COLOUR_BTNHILIGHT        : INTEGER is 20
-
-	wxSYS_MOUSE_BUTTONS           : INTEGER is 1
-	wxSYS_BORDER_X                : INTEGER is 2
-	wxSYS_BORDER_Y                : INTEGER is 3
-	wxSYS_CURSOR_X                : INTEGER is 4
-	wxSYS_CURSOR_Y                : INTEGER is 5
-	wxSYS_DCLICK_X                : INTEGER is 6
-	wxSYS_DCLICK_Y                : INTEGER is 7
-	wxSYS_DRAG_X                  : INTEGER is 8
-	wxSYS_DRAG_Y                  : INTEGER is 9
-	wxSYS_EDGE_X                  : INTEGER is 10
-	wxSYS_EDGE_Y                  : INTEGER is 11
-	wxSYS_HSCROLL_ARROW_X         : INTEGER is 12
-	wxSYS_HSCROLL_ARROW_Y         : INTEGER is 13
-	wxSYS_HTHUMB_X                : INTEGER is 14
-	wxSYS_ICON_X                  : INTEGER is 15
-	wxSYS_ICON_Y                  : INTEGER is 16
-	wxSYS_ICONSPACING_X           : INTEGER is 17
-	wxSYS_ICONSPACING_Y           : INTEGER is 18
-	wxSYS_WINDOWMIN_X             : INTEGER is 19
-	wxSYS_WINDOWMIN_Y             : INTEGER is 20
-	wxSYS_SCREEN_X                : INTEGER is 21
-	wxSYS_SCREEN_Y                : INTEGER is 22
-	wxSYS_FRAMESIZE_X             : INTEGER is 23
-	wxSYS_FRAMESIZE_Y             : INTEGER is 24
-	wxSYS_SMALLICON_X             : INTEGER is 25
-	wxSYS_SMALLICON_Y             : INTEGER is 26
-	wxSYS_HSCROLL_Y               : INTEGER is 27
-	wxSYS_VSCROLL_X               : INTEGER is 28
-	wxSYS_VSCROLL_ARROW_X         : INTEGER is 29
-	wxSYS_VSCROLL_ARROW_Y         : INTEGER is 30
-	wxSYS_VTHUMB_Y                : INTEGER is 31
-	wxSYS_CAPTION_Y               : INTEGER is 32
-	wxSYS_MENU_Y                  : INTEGER is 33
-	wxSYS_NETWORK_PRESENT         : INTEGER is 34
-	wxSYS_PENWINDOWS_PRESENT      : INTEGER is 35
-	wxSYS_SHOW_SOUNDS             : INTEGER is 36
-	wxSYS_SWAP_BUTTONS            : INTEGER is 37	
-
-   wxSYS_SCREEN_NONE             : INTEGER is 0
-   wxSYS_SCREEN_TINY             : INTEGER is 1
-   wxSYS_SCREEN_PDA              : INTEGER is 2
-   wxSYS_SCREEN_SMALL            : INTEGER is 3
-   wxSYS_SCREEN_DESKTOP          : INTEGER is 4
-
-	wxCAL_BORDER_NONE:		INTEGER is 0
-	wxCAL_BORDER_SQUARE:	INTEGER is 1
-	wxCAL_BORDER_ROUND:		INTEGER is 2
-	
-	wxCAL_HITTEST_NOWHERE:	INTEGER is 0
-	wxCAL_HITTEST_HEADER:	INTEGER is 1
-	wxCAL_HITTEST_DAY:		INTEGER is 2
-	
-	wxUNKNOWN:	INTEGER is 0
-	wxSTRING:	INTEGER is 1
-	wxBOOLEAN:	INTEGER is 2
-	wxINTEGER:	INTEGER is 3
-	wxFLOAT:	INTEGER is 4
-
-    wxMUTEX_NO_ERROR:	INTEGER is 0
-    wxMUTEX_DEAD_LOCK:	INTEGER is 1
-    wxMUTEX_BUSY:	    INTEGER is 2 
-    wxMUTEX_UNLOCKED:	INTEGER is 3
-    wxMUTEX_MISC_ERROR:	INTEGER is 4
-
-    wxPLATFORM_CURRENT: INTEGER is -1
-    wxPLATFORM_UNIX:    INTEGER is 0
-    wxPLATFORM_WINDOWS: INTEGER is 1
-    wxPLATFORM_OS2:     INTEGER is 2
-    wxPLATFORM_MAC:     INTEGER is 3
-
-    wxLED_ALIGN_LEFT: INTEGER is 1
-    wxLED_ALIGN_RIGHT: INTEGER is 2
-    wxLED_ALIGN_CENTER: INTEGER is 4
-
-    wxLED_ALIGN_MASK: INTEGER is 4
-
-	wxLED_DRAW_FADED: INTEGER is 8
-	
-	wxDS_MANAGE_SCROLLBARS: INTEGER is 16
-	wxDS_DRAG_CORNER: INTEGER is 32
-
-	wxEL_ALLOW_NEW: INTEGER is 256
-	wxEL_ALLOW_EDIT: INTEGER is 512
-	wxEL_ALLOW_DELETE: INTEGER is 1024
-
-    wxEVT_COMMAND_BUTTON_CLICKED : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_BUTTON_CLICKED"
-		end
-
-    wxEVT_COMMAND_CHECKBOX_CLICKED : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_CHECKBOX_CLICKED"
-		end
-
-    wxEVT_COMMAND_CHOICE_SELECTED : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_CHOICE_SELECTED"
-		end
-
-    wxEVT_COMMAND_LISTBOX_SELECTED : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_LISTBOX_SELECTED"
-		end
-
-    wxEVT_COMMAND_LISTBOX_DOUBLECLICKED : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_LISTBOX_DOUBLECLICKED"
-		end
-
-    wxEVT_COMMAND_CHECKLISTBOX_TOGGLED : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_CHECKLISTBOX_TOGGLED"
-		end
-
-    wxEVT_COMMAND_TEXT_UPDATED : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_TEXT_UPDATED"
-		end
-
-    wxEVT_COMMAND_TEXT_ENTER : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_TEXT_ENTER"
-		end
-
-    wxEVT_COMMAND_MENU_SELECTED : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_MENU_SELECTED"
-		end
-
-    wxEVT_COMMAND_TOOL_CLICKED : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_TOOL_CLICKED"
-		end
-
-    wxEVT_COMMAND_SLIDER_UPDATED : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_SLIDER_UPDATED"
-		end
-
-    wxEVT_COMMAND_RADIOBOX_SELECTED : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_RADIOBOX_SELECTED"
-		end
-
-    wxEVT_COMMAND_RADIOBUTTON_SELECTED : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_RADIOBUTTON_SELECTED"
-		end
-
-    wxEVT_COMMAND_SCROLLBAR_UPDATED : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_SCROLLBAR_UPDATED"
-		end
-
-    wxEVT_COMMAND_VLBOX_SELECTED : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_VLBOX_SELECTED"
-		end
-
-    wxEVT_COMMAND_COMBOBOX_SELECTED : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_COMBOBOX_SELECTED"
-		end
-
-    wxEVT_COMMAND_TOOL_RCLICKED : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_TOOL_RCLICKED"
-		end
-
-    wxEVT_COMMAND_TOOL_ENTER : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_TOOL_ENTER"
-		end
-
-    wxEVT_COMMAND_SPINCTRL_UPDATED : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_SPINCTRL_UPDATED"
-		end
-
-    wxEVT_SOCKET : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_SOCKET"
-		end
-
-    wxEVT_TIMER  : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_TIMER "
-		end
-
-    wxEVT_LEFT_DOWN : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_LEFT_DOWN"
-		end
-
-    wxEVT_LEFT_UP : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_LEFT_UP"
-		end
-
-    wxEVT_MIDDLE_DOWN : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_MIDDLE_DOWN"
-		end
-
-    wxEVT_MIDDLE_UP : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_MIDDLE_UP"
-		end
-
-    wxEVT_RIGHT_DOWN : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_RIGHT_DOWN"
-		end
-
-    wxEVT_RIGHT_UP : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_RIGHT_UP"
-		end
-
-    wxEVT_MOTION : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_MOTION"
-		end
-
-    wxEVT_ENTER_WINDOW : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_ENTER_WINDOW"
-		end
-
-    wxEVT_LEAVE_WINDOW : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_LEAVE_WINDOW"
-		end
-
-    wxEVT_LEFT_DCLICK : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_LEFT_DCLICK"
-		end
-
-    wxEVT_MIDDLE_DCLICK : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_MIDDLE_DCLICK"
-		end
-
-    wxEVT_RIGHT_DCLICK : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_RIGHT_DCLICK"
-		end
-
-    wxEVT_SET_FOCUS : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_SET_FOCUS"
-		end
-
-    wxEVT_KILL_FOCUS : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_KILL_FOCUS"
-		end
-
-    wxEVT_NC_LEFT_DOWN : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_NC_LEFT_DOWN"
-		end
-
-    wxEVT_NC_LEFT_UP : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_NC_LEFT_UP"
-		end
-
-    wxEVT_NC_MIDDLE_DOWN : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_NC_MIDDLE_DOWN"
-		end
-
-    wxEVT_NC_MIDDLE_UP : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_NC_MIDDLE_UP"
-		end
-
-    wxEVT_NC_RIGHT_DOWN : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_NC_RIGHT_DOWN"
-		end
-
-    wxEVT_NC_RIGHT_UP : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_NC_RIGHT_UP"
-		end
-
-    wxEVT_NC_MOTION : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_NC_MOTION"
-		end
-
-    wxEVT_NC_ENTER_WINDOW : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_NC_ENTER_WINDOW"
-		end
-
-    wxEVT_NC_LEAVE_WINDOW : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_NC_LEAVE_WINDOW"
-		end
-
-    wxEVT_NC_LEFT_DCLICK : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_NC_LEFT_DCLICK"
-		end
-
-    wxEVT_NC_MIDDLE_DCLICK : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_NC_MIDDLE_DCLICK"
-		end
-
-    wxEVT_NC_RIGHT_DCLICK : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_NC_RIGHT_DCLICK"
-		end
-
-    wxEVT_CHAR : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_CHAR"
-		end
-
-    wxEVT_CHAR_HOOK : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_CHAR_HOOK"
-		end
-
-    wxEVT_NAVIGATION_KEY : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_NAVIGATION_KEY"
-		end
-
-    wxEVT_KEY_DOWN : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_KEY_DOWN"
-		end
-
-    wxEVT_KEY_UP : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_KEY_UP"
-		end
-
-    wxEVT_SET_CURSOR : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_SET_CURSOR"
-		end
-
-    wxEVT_SCROLL_TOP : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_SCROLL_TOP"
-		end
-
-    wxEVT_SCROLL_BOTTOM : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_SCROLL_BOTTOM"
-		end
-
-    wxEVT_SCROLL_LINEUP : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_SCROLL_LINEUP"
-		end
-
-    wxEVT_SCROLL_LINEDOWN : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_SCROLL_LINEDOWN"
-		end
-
-    wxEVT_SCROLL_PAGEUP : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_SCROLL_PAGEUP"
-		end
-
-    wxEVT_SCROLL_PAGEDOWN : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_SCROLL_PAGEDOWN"
-		end
-
-    wxEVT_SCROLL_THUMBTRACK : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_SCROLL_THUMBTRACK"
-		end
-
-    wxEVT_SCROLL_THUMBRELEASE : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_SCROLL_THUMBRELEASE"
-		end
-
-    wxEVT_SCROLLWIN_TOP : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_SCROLLWIN_TOP"
-		end
-
-    wxEVT_SCROLLWIN_BOTTOM : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_SCROLLWIN_BOTTOM"
-		end
-
-    wxEVT_SCROLLWIN_LINEUP : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_SCROLLWIN_LINEUP"
-		end
-
-    wxEVT_SCROLLWIN_LINEDOWN : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_SCROLLWIN_LINEDOWN"
-		end
-
-    wxEVT_SCROLLWIN_PAGEUP : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_SCROLLWIN_PAGEUP"
-		end
-
-    wxEVT_SCROLLWIN_PAGEDOWN : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_SCROLLWIN_PAGEDOWN"
-		end
-
-    wxEVT_SCROLLWIN_THUMBTRACK : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_SCROLLWIN_THUMBTRACK"
-		end
-
-    wxEVT_SCROLLWIN_THUMBRELEASE : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_SCROLLWIN_THUMBRELEASE"
-		end
-
-    wxEVT_SIZE : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_SIZE"
-		end
-
-    wxEVT_MOVE : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_MOVE"
-		end
-
-    wxEVT_CLOSE_WINDOW : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_CLOSE_WINDOW"
-		end
-
-    wxEVT_END_SESSION : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_END_SESSION"
-		end
-
-    wxEVT_QUERY_END_SESSION : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_QUERY_END_SESSION"
-		end
-
-    wxEVT_ACTIVATE_APP : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_ACTIVATE_APP"
-		end
-
-    wxEVT_POWER : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_POWER"
-		end
-
-    wxEVT_ACTIVATE : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_ACTIVATE"
-		end
-
-    wxEVT_CREATE : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_CREATE"
-		end
-
-    wxEVT_DESTROY : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_DESTROY"
-		end
-
-    wxEVT_SHOW : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_SHOW"
-		end
-
-    wxEVT_ICONIZE : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_ICONIZE"
-		end
-
-    wxEVT_MAXIMIZE : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_MAXIMIZE"
-		end
-
-    wxEVT_MOUSE_CAPTURE_CHANGED : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_MOUSE_CAPTURE_CHANGED"
-		end
-
-    wxEVT_PAINT : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_PAINT"
-		end
-
-    wxEVT_ERASE_BACKGROUND : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_ERASE_BACKGROUND"
-		end
-
-    wxEVT_NC_PAINT : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_NC_PAINT"
-		end
-
-    wxEVT_PAINT_ICON : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_PAINT_ICON"
-		end
-
-    wxEVT_MENU_CHAR : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_MENU_CHAR"
-		end
-
-    wxEVT_MENU_INIT : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_MENU_INIT"
-		end
-
-    wxEVT_MENU_HIGHLIGHT : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_MENU_HIGHLIGHT"
-		end
-
-    wxEVT_POPUP_MENU_INIT : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_POPUP_MENU_INIT"
-		end
-
-    wxEVT_CONTEXT_MENU : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_CONTEXT_MENU"
-		end
-
-    wxEVT_SYS_COLOUR_CHANGED : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_SYS_COLOUR_CHANGED"
-		end
-
-    wxEVT_SETTING_CHANGED : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_SETTING_CHANGED"
-		end
-
-    wxEVT_QUERY_NEW_PALETTE : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_QUERY_NEW_PALETTE"
-		end
-
-    wxEVT_PALETTE_CHANGED : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_PALETTE_CHANGED"
-		end
-
-    wxEVT_JOY_BUTTON_DOWN : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_JOY_BUTTON_DOWN"
-		end
-
-    wxEVT_JOY_BUTTON_UP : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_JOY_BUTTON_UP"
-		end
-
-    wxEVT_JOY_MOVE : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_JOY_MOVE"
-		end
-
-    wxEVT_JOY_ZMOVE : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_JOY_ZMOVE"
-		end
-
-    wxEVT_DROP_FILES : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_DROP_FILES"
-		end
-
-    wxEVT_DRAW_ITEM : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_DRAW_ITEM"
-		end
-
-    wxEVT_MEASURE_ITEM : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_MEASURE_ITEM"
-		end
-
-    wxEVT_COMPARE_ITEM : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMPARE_ITEM"
-		end
-
-    wxEVT_INIT_DIALOG : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_INIT_DIALOG"
-		end
-
-    wxEVT_IDLE : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_IDLE"
-		end
-
-    wxEVT_UPDATE_UI : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_UPDATE_UI"
-		end
-
-    wxEVT_END_PROCESS : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_END_PROCESS"
-		end
-
-    wxEVT_DIALUP_CONNECTED : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_DIALUP_CONNECTED"
-		end
-
-    wxEVT_DIALUP_DISCONNECTED : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_DIALUP_DISCONNECTED"
-		end
-
-    wxEVT_COMMAND_LEFT_CLICK : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_LEFT_CLICK"
-		end
-
-    wxEVT_COMMAND_LEFT_DCLICK : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_LEFT_DCLICK"
-		end
-
-    wxEVT_COMMAND_RIGHT_CLICK : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_RIGHT_CLICK"
-		end
-
-    wxEVT_COMMAND_RIGHT_DCLICK : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_RIGHT_DCLICK"
-		end
-
-    wxEVT_COMMAND_SET_FOCUS : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_SET_FOCUS"
-		end
-
-    wxEVT_COMMAND_KILL_FOCUS : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_KILL_FOCUS"
-		end
-
-    wxEVT_COMMAND_ENTER : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_ENTER"
-		end
-
-    wxEVT_COMMAND_TREE_BEGIN_DRAG : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_TREE_BEGIN_DRAG"
-		end
-
-    wxEVT_COMMAND_TREE_BEGIN_RDRAG : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_TREE_BEGIN_RDRAG"
-		end
-
-    wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_TREE_BEGIN_LABEL_EDIT"
-		end
-
-    wxEVT_COMMAND_TREE_END_LABEL_EDIT : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_TREE_END_LABEL_EDIT"
-		end
-
-    wxEVT_COMMAND_TREE_DELETE_ITEM : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_TREE_DELETE_ITEM"
-		end
-
-    wxEVT_COMMAND_TREE_GET_INFO : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_TREE_GET_INFO"
-		end
-
-    wxEVT_COMMAND_TREE_SET_INFO : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_TREE_SET_INFO"
-		end
-
-    wxEVT_COMMAND_TREE_ITEM_EXPANDED : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_TREE_ITEM_EXPANDED"
-		end
-
-    wxEVT_COMMAND_TREE_ITEM_EXPANDING : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_TREE_ITEM_EXPANDING"
-		end
-
-    wxEVT_COMMAND_TREE_ITEM_COLLAPSED : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_TREE_ITEM_COLLAPSED"
-		end
-
-    wxEVT_COMMAND_TREE_ITEM_COLLAPSING : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_TREE_ITEM_COLLAPSING"
-		end
-
-    wxEVT_COMMAND_TREE_SEL_CHANGED : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_TREE_SEL_CHANGED"
-		end
-
-    wxEVT_COMMAND_TREE_SEL_CHANGING : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_TREE_SEL_CHANGING"
-		end
-
-    wxEVT_COMMAND_TREE_KEY_DOWN : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_TREE_KEY_DOWN"
-		end
-
-    wxEVT_COMMAND_TREE_ITEM_ACTIVATED : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_TREE_ITEM_ACTIVATED"
-		end
-
-    wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_TREE_ITEM_RIGHT_CLICK"
-		end
-
-    wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK"
-		end
-
-    wxEVT_COMMAND_TREE_END_DRAG : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_TREE_END_DRAG"
-		end
-
-    wxEVT_COMMAND_LIST_BEGIN_DRAG : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_LIST_BEGIN_DRAG"
-		end
-
-    wxEVT_COMMAND_LIST_BEGIN_RDRAG : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_LIST_BEGIN_RDRAG"
-		end
-
-    wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_LIST_BEGIN_LABEL_EDIT"
-		end
-
-    wxEVT_COMMAND_LIST_END_LABEL_EDIT : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_LIST_END_LABEL_EDIT"
-		end
-
-    wxEVT_COMMAND_LIST_DELETE_ITEM : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_LIST_DELETE_ITEM"
-		end
-
-    wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_LIST_DELETE_ALL_ITEMS"
-		end
-
-    wxEVT_COMMAND_LIST_GET_INFO : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_LIST_GET_INFO"
-		end
-
-    wxEVT_COMMAND_LIST_SET_INFO : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_LIST_SET_INFO"
-		end
-
-    wxEVT_COMMAND_LIST_ITEM_SELECTED : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_LIST_ITEM_SELECTED"
-		end
-
-    wxEVT_COMMAND_LIST_ITEM_DESELECTED : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_LIST_ITEM_DESELECTED"
-		end
-
-    wxEVT_COMMAND_LIST_KEY_DOWN : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_LIST_KEY_DOWN"
-		end
-
-    wxEVT_COMMAND_LIST_INSERT_ITEM : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_LIST_INSERT_ITEM"
-		end
-
-    wxEVT_COMMAND_LIST_COL_CLICK : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_LIST_COL_CLICK"
-		end
-
-    wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_LIST_ITEM_RIGHT_CLICK"
-		end
-
-    wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK"
-		end
-
-    wxEVT_COMMAND_LIST_ITEM_ACTIVATED : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_LIST_ITEM_ACTIVATED"
-		end
-
-    wxEVT_COMMAND_LIST_ITEM_FOCUSED : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_LIST_ITEM_FOCUSED"
-		end
-
-    wxEVT_COMMAND_TAB_SEL_CHANGED : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_TAB_SEL_CHANGED"
-		end
-
-    wxEVT_COMMAND_TAB_SEL_CHANGING : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_TAB_SEL_CHANGING"
-		end
-
-    wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_NOTEBOOK_PAGE_CHANGED"
-		end
-
-    wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_NOTEBOOK_PAGE_CHANGING"
-		end
-
-    wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_SPLITTER_SASH_POS_CHANGED"
-		end
-
-    wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_SPLITTER_SASH_POS_CHANGING"
-		end
-
-    wxEVT_COMMAND_SPLITTER_DOUBLECLICKED : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_SPLITTER_DOUBLECLICKED"
-		end
-
-    wxEVT_COMMAND_SPLITTER_UNSPLIT : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_SPLITTER_UNSPLIT"
-		end
-
-    wxEVT_WIZARD_PAGE_CHANGED : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_WIZARD_PAGE_CHANGED"
-		end
-
-    wxEVT_WIZARD_PAGE_CHANGING : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_WIZARD_PAGE_CHANGING"
-		end
-
-    wxEVT_WIZARD_CANCEL : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_WIZARD_CANCEL"
-		end
-
-    wxEVT_CALENDAR_SEL_CHANGED : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_CALENDAR_SEL_CHANGED"
-		end
-
-    wxEVT_CALENDAR_DAY_CHANGED : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_CALENDAR_DAY_CHANGED"
-		end
-
-    wxEVT_CALENDAR_MONTH_CHANGED : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_CALENDAR_MONTH_CHANGED"
-		end
-
-    wxEVT_CALENDAR_YEAR_CHANGED : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_CALENDAR_YEAR_CHANGED"
-		end
-
-    wxEVT_CALENDAR_DOUBLECLICKED : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_CALENDAR_DOUBLECLICKED"
-		end
-
-    wxEVT_CALENDAR_WEEKDAY_CLICKED : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_CALENDAR_WEEKDAY_CLICKED"
-		end
-
-    wxEVT_PLOT_SEL_CHANGING : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_PLOT_SEL_CHANGING"
-		end
-
-    wxEVT_PLOT_SEL_CHANGED : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_PLOT_SEL_CHANGED"
-		end
-
-    wxEVT_PLOT_CLICKED : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_PLOT_CLICKED"
-		end
-
-    wxEVT_PLOT_DOUBLECLICKED : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_PLOT_DOUBLECLICKED"
-		end
-
-    wxEVT_PLOT_ZOOM_IN : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_PLOT_ZOOM_IN"
-		end
-
-    wxEVT_PLOT_ZOOM_OUT : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_PLOT_ZOOM_OUT"
-		end
-
-    wxEVT_PLOT_VALUE_SEL_CREATING : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_PLOT_VALUE_SEL_CREATING"
-		end
-
-    wxEVT_PLOT_VALUE_SEL_CREATED : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_PLOT_VALUE_SEL_CREATED"
-		end
-
-    wxEVT_PLOT_VALUE_SEL_CHANGING : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_PLOT_VALUE_SEL_CHANGING"
-		end
-
-    wxEVT_PLOT_VALUE_SEL_CHANGED : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_PLOT_VALUE_SEL_CHANGED"
-		end
-
-    wxEVT_PLOT_AREA_SEL_CREATING : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_PLOT_AREA_SEL_CREATING"
-		end
-
-    wxEVT_PLOT_AREA_SEL_CREATED : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_PLOT_AREA_SEL_CREATED"
-		end
-
-    wxEVT_PLOT_AREA_SEL_CHANGING : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_PLOT_AREA_SEL_CHANGING"
-		end
-
-    wxEVT_PLOT_AREA_SEL_CHANGED : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_PLOT_AREA_SEL_CHANGED"
-		end
-
-    wxEVT_PLOT_BEGIN_X_LABEL_EDIT : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_PLOT_BEGIN_X_LABEL_EDIT"
-		end
-
-    wxEVT_PLOT_END_X_LABEL_EDIT : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_PLOT_END_X_LABEL_EDIT"
-		end
-
-    wxEVT_PLOT_BEGIN_Y_LABEL_EDIT : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_PLOT_BEGIN_Y_LABEL_EDIT"
-		end
-
-    wxEVT_PLOT_END_Y_LABEL_EDIT : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_PLOT_END_Y_LABEL_EDIT"
-		end
-
-    wxEVT_PLOT_BEGIN_TITLE_EDIT : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_PLOT_BEGIN_TITLE_EDIT"
-		end
-
-    wxEVT_PLOT_END_TITLE_EDIT : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_PLOT_END_TITLE_EDIT"
-		end
-
-    wxEVT_PLOT_AREA_CREATE : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_PLOT_AREA_CREATE"
-		end
-
-    wxEVT_USER_FIRST : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_USER_FIRST"
-		end	
-
-    wxEVT_DYNAMIC_SASH_SPLIT : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_DYNAMIC_SASH_SPLIT"
-		end
-
-    wxEVT_DYNAMIC_SASH_UNIFY : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_DYNAMIC_SASH_UNIFY"
-		end
-
-	wxEVT_COMMAND_FIND : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_FIND"
-		end
-
-	wxEVT_COMMAND_FIND_NEXT : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_FIND_NEXT"
-		end
-
-	wxEVT_COMMAND_FIND_REPLACE : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_FIND_REPLACE"
-		end
-
-	wxEVT_COMMAND_FIND_REPLACE_ALL : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_FIND_REPLACE_ALL"
-		end
-
-	wxEVT_COMMAND_FIND_CLOSE : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_FIND_CLOSE"
-		end
-
-	wxEVT_COMMAND_TOGGLEBUTTON_CLICKED : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_COMMAND_TOGGLEBUTTON_CLICKED"
-		end
-
-	wxEVT_HELP : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_HELP"
-		end
-
-	wxEVT_DETAILED_HELP : INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_DETAILED_HELP"
-		end
-
-	wxTR_NO_BUTTONS: INTEGER is 0
-	wxTR_HAS_BUTTONS: INTEGER is 1
-	wxTR_TWIST_BUTTONS: INTEGER is 2
-	wxTR_NO_LINES: INTEGER is 4
-	wxTR_LINES_AT_ROOT: INTEGER is 8
-	wxTR_AQUA_BUTTONS: INTEGER is 16
-
-	wxTR_SINGLE: INTEGER is 0
-	wxTR_MULTIPLE: INTEGER is 32
-	wxTR_EXTENDED: INTEGER is 64
-	wxTR_FULL_ROW_HIGHLIGHT: INTEGER is 8192
-
-	wxTR_EDIT_LABELS: INTEGER is 512
-	wxTR_ROW_LINES: INTEGER is 1024
-	wxTR_HIDE_ROOT: INTEGER is 2048
-	wxTR_HAS_VARIABLE_ROW_HEIGHT: INTEGER is 128
-
-	wxCBAR_DOCKED_HORIZONTALLY: INTEGER is 0
-	wxCBAR_DOCKED_VERTICALLY: INTEGER is 1
-	wxCBAR_FLOATING: INTEGER is 2
-	wxCBAR_HIDDEN: INTEGER is 3
-
-	FL_ALIGN_TOP: INTEGER is 0
-	FL_ALIGN_BOTTOM: INTEGER is 1
-	FL_ALIGN_LEFT: INTEGER is 2
-	FL_ALIGN_RIGHT: INTEGER is 3
-
-	FL_ALIGN_TOP_PANE: INTEGER is 1
-	FL_ALIGN_BOTTOM_PANE: INTEGER is 2
-	FL_ALIGN_LEFT_PANE: INTEGER is 4
-	FL_ALIGN_RIGHT_PANE: INTEGER is 8
-
-	wxALL_PANES: INTEGER is 15
-
-    CB_NO_ITEMS_HITTED: INTEGER is 0
-    CB_UPPER_ROW_HANDLE_HITTED: INTEGER is 1
-    CB_LOWER_ROW_HANDLE_HITTED: INTEGER is 2
-    CB_LEFT_BAR_HANDLE_HITTED: INTEGER is 3
-    CB_RIGHT_BAR_HANDLE_HITTED: INTEGER is 4
-    CB_BAR_CONTENT_HITTED: INTEGER is 5
-
-	wxOK : INTEGER is 4
-	wxYES : INTEGER is 2
-	wxNO : INTEGER is 8
-	wxYES_NO : INTEGER is 10
-	wxCANCEL : INTEGER is 16
-	wxNO_DEFAULT : INTEGER is 128
-	wxYES_DEFAULT : INTEGER is 0
-
-    wxFR_DOWN: INTEGER is 1
-    wxFR_WHOLEWORD: INTEGER is 2
-    wxFR_MATCHCASE: INTEGER is 4
-
-    wxFR_REPLACEDIALOG: INTEGER is 1
-    wxFR_NOUPDOWN: INTEGER is 2
-    wxFR_NOMATCHCASE: INTEGER is 4
-    wxFR_NOWHOLEWORD: INTEGER is 8
-
-	wxQUANTIZE_INCLUDE_WINDOWS_COLOURS: INTEGER is 1
-	wxQUANTIZE_RETURN_8BIT_DATA: INTEGER is 2
-	wxQUANTIZE_FILL_DESTINATION_IMAGE: INTEGER is 4
-
-	wxLANGUAGE_DEFAULT: INTEGER is 0
-	wxLANGUAGE_UNKNOWN: INTEGER is 1
-	wxLANGUAGE_ABKHAZIAN: INTEGER is 2
-	wxLANGUAGE_AFAR: INTEGER is 3
-	wxLANGUAGE_AFRIKAANS: INTEGER is 4
-	wxLANGUAGE_ALBANIAN: INTEGER is 5
-	wxLANGUAGE_AMHARIC: INTEGER is 6
-	wxLANGUAGE_ARABIC: INTEGER is 7
-	wxLANGUAGE_ARABIC_ALGERIA: INTEGER is 8
-	wxLANGUAGE_ARABIC_BAHRAIN: INTEGER is 9
-	wxLANGUAGE_ARABIC_EGYPT: INTEGER is 10
-	wxLANGUAGE_ARABIC_IRAQ: INTEGER is 11
-	wxLANGUAGE_ARABIC_JORDAN: INTEGER is 12
-	wxLANGUAGE_ARABIC_KUWAIT: INTEGER is 13
-	wxLANGUAGE_ARABIC_LEBANON: INTEGER is 14
-	wxLANGUAGE_ARABIC_LIBYA: INTEGER is 15
-	wxLANGUAGE_ARABIC_MOROCCO: INTEGER is 16
-	wxLANGUAGE_ARABIC_OMAN: INTEGER is 17
-	wxLANGUAGE_ARABIC_QATAR: INTEGER is 18
-	wxLANGUAGE_ARABIC_SAUDI_ARABIA: INTEGER is 19
-	wxLANGUAGE_ARABIC_SUDAN: INTEGER is 20
-	wxLANGUAGE_ARABIC_SYRIA: INTEGER is 21
-	wxLANGUAGE_ARABIC_TUNISIA: INTEGER is 22
-	wxLANGUAGE_ARABIC_UAE: INTEGER is 23
-	wxLANGUAGE_ARABIC_YEMEN: INTEGER is 24
-	wxLANGUAGE_ARMENIAN: INTEGER is 25
-	wxLANGUAGE_ASSAMESE: INTEGER is 26
-	wxLANGUAGE_AYMARA: INTEGER is 27
-	wxLANGUAGE_AZERI: INTEGER is 28
-	wxLANGUAGE_AZERI_CYRILLIC: INTEGER is 29
-	wxLANGUAGE_AZERI_LATIN: INTEGER is 30
-	wxLANGUAGE_BASHKIR: INTEGER is 31
-	wxLANGUAGE_BASQUE: INTEGER is 32
-	wxLANGUAGE_BELARUSIAN: INTEGER is 33
-	wxLANGUAGE_BENGALI: INTEGER is 34
-	wxLANGUAGE_BHUTANI: INTEGER is 35
-	wxLANGUAGE_BIHARI: INTEGER is 36
-	wxLANGUAGE_BISLAMA: INTEGER is 37
-	wxLANGUAGE_BRETON: INTEGER is 38
-	wxLANGUAGE_BULGARIAN: INTEGER is 39
-	wxLANGUAGE_BURMESE: INTEGER is 40
-	wxLANGUAGE_CAMBODIAN: INTEGER is 41
-	wxLANGUAGE_CATALAN: INTEGER is 42
-	wxLANGUAGE_CHINESE: INTEGER is 43
-	wxLANGUAGE_CHINESE_SIMPLIFIED: INTEGER is 44
-	wxLANGUAGE_CHINESE_TRADITIONAL: INTEGER is 45
-	wxLANGUAGE_CHINESE_HONGKONG: INTEGER is 46
-	wxLANGUAGE_CHINESE_MACAU: INTEGER is 47
-	wxLANGUAGE_CHINESE_SINGAPORE: INTEGER is 48
-	wxLANGUAGE_CHINESE_TAIWAN: INTEGER is 49
-	wxLANGUAGE_CORSICAN: INTEGER is 50
-	wxLANGUAGE_CROATIAN: INTEGER is 51
-	wxLANGUAGE_CZECH: INTEGER is 52
-	wxLANGUAGE_DANISH: INTEGER is 53
-	wxLANGUAGE_DUTCH: INTEGER is 54
-	wxLANGUAGE_DUTCH_BELGIAN: INTEGER is 55
-	wxLANGUAGE_ENGLISH: INTEGER is 56
-	wxLANGUAGE_ENGLISH_UK: INTEGER is 57
-	wxLANGUAGE_ENGLISH_US: INTEGER is 58
-	wxLANGUAGE_ENGLISH_AUSTRALIA: INTEGER is 59
-	wxLANGUAGE_ENGLISH_BELIZE: INTEGER is 60
-	wxLANGUAGE_ENGLISH_BOTSWANA: INTEGER is 61
-	wxLANGUAGE_ENGLISH_CANADA: INTEGER is 62
-	wxLANGUAGE_ENGLISH_CARIBBEAN: INTEGER is 63
-	wxLANGUAGE_ENGLISH_DENMARK: INTEGER is 64
-	wxLANGUAGE_ENGLISH_EIRE: INTEGER is 65
-	wxLANGUAGE_ENGLISH_JAMAICA: INTEGER is 66
-	wxLANGUAGE_ENGLISH_NEW_ZEALAND: INTEGER is 67
-	wxLANGUAGE_ENGLISH_PHILIPPINES: INTEGER is 68
-	wxLANGUAGE_ENGLISH_SOUTH_AFRICA: INTEGER is 69
-	wxLANGUAGE_ENGLISH_TRINIDAD: INTEGER is 70
-	wxLANGUAGE_ENGLISH_ZIMBABWE: INTEGER is 71
-	wxLANGUAGE_ESPERANTO: INTEGER is 72
-	wxLANGUAGE_ESTONIAN: INTEGER is 73
-	wxLANGUAGE_FAEROESE: INTEGER is 74
-	wxLANGUAGE_FARSI: INTEGER is 75
-	wxLANGUAGE_FIJI: INTEGER is 76
-	wxLANGUAGE_FINNISH: INTEGER is 77
-	wxLANGUAGE_FRENCH: INTEGER is 78
-	wxLANGUAGE_FRENCH_BELGIAN: INTEGER is 79
-	wxLANGUAGE_FRENCH_CANADIAN: INTEGER is 80
-	wxLANGUAGE_FRENCH_LUXEMBOURG: INTEGER is 81
-	wxLANGUAGE_FRENCH_MONACO: INTEGER is 82
-	wxLANGUAGE_FRENCH_SWISS: INTEGER is 83
-	wxLANGUAGE_FRISIAN: INTEGER is 84
-	wxLANGUAGE_GALICIAN: INTEGER is 85
-	wxLANGUAGE_GEORGIAN: INTEGER is 86
-	wxLANGUAGE_GERMAN: INTEGER is 87
-	wxLANGUAGE_GERMAN_AUSTRIAN: INTEGER is 88
-	wxLANGUAGE_GERMAN_BELGIUM: INTEGER is 89
-	wxLANGUAGE_GERMAN_LIECHTENSTEIN: INTEGER is 90
-	wxLANGUAGE_GERMAN_LUXEMBOURG: INTEGER is 91
-	wxLANGUAGE_GERMAN_SWISS: INTEGER is 92
-	wxLANGUAGE_GREEK: INTEGER is 93
-	wxLANGUAGE_GREENLANDIC: INTEGER is 94
-	wxLANGUAGE_GUARANI: INTEGER is 95
-	wxLANGUAGE_GUJARATI: INTEGER is 96
-	wxLANGUAGE_HAUSA: INTEGER is 97
-	wxLANGUAGE_HEBREW: INTEGER is 98
-	wxLANGUAGE_HINDI: INTEGER is 99
-	wxLANGUAGE_HUNGARIAN: INTEGER is 100
-	wxLANGUAGE_ICELANDIC: INTEGER is 101
-	wxLANGUAGE_INDONESIAN: INTEGER is 102
-	wxLANGUAGE_INTERLINGUA: INTEGER is 103
-	wxLANGUAGE_INTERLINGUE: INTEGER is 104
-	wxLANGUAGE_INUKTITUT: INTEGER is 105
-	wxLANGUAGE_INUPIAK: INTEGER is 106
-	wxLANGUAGE_IRISH: INTEGER is 107
-	wxLANGUAGE_ITALIAN: INTEGER is 108
-	wxLANGUAGE_ITALIAN_SWISS: INTEGER is 109
-	wxLANGUAGE_JAPANESE: INTEGER is 110
-	wxLANGUAGE_JAVANESE: INTEGER is 111
-	wxLANGUAGE_KANNADA: INTEGER is 112
-	wxLANGUAGE_KASHMIRI: INTEGER is 113
-	wxLANGUAGE_KASHMIRI_INDIA: INTEGER is 114
-	wxLANGUAGE_KAZAKH: INTEGER is 115
-	wxLANGUAGE_KERNEWEK: INTEGER is 116
-	wxLANGUAGE_KINYARWANDA: INTEGER is 117
-	wxLANGUAGE_KIRGHIZ: INTEGER is 118
-	wxLANGUAGE_KIRUNDI: INTEGER is 119
-	wxLANGUAGE_KONKANI: INTEGER is 120
-	wxLANGUAGE_KOREAN: INTEGER is 121
-	wxLANGUAGE_KURDISH: INTEGER is 122
-	wxLANGUAGE_LAOTHIAN: INTEGER is 123
-	wxLANGUAGE_LATIN: INTEGER is 124
-	wxLANGUAGE_LATVIAN: INTEGER is 125
-	wxLANGUAGE_LINGALA: INTEGER is 126
-	wxLANGUAGE_LITHUANIAN: INTEGER is 127
-	wxLANGUAGE_MACEDONIAN: INTEGER is 128
-	wxLANGUAGE_MALAGASY: INTEGER is 129
-	wxLANGUAGE_MALAY: INTEGER is 130
-	wxLANGUAGE_MALAYALAM: INTEGER is 131
-	wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM: INTEGER is 132
-	wxLANGUAGE_MALAY_MALAYSIA: INTEGER is 133
-	wxLANGUAGE_MALTESE: INTEGER is 134
-	wxLANGUAGE_MANIPURI: INTEGER is 135
-	wxLANGUAGE_MAORI: INTEGER is 136
-	wxLANGUAGE_MARATHI: INTEGER is 137
-	wxLANGUAGE_MOLDAVIAN: INTEGER is 138
-	wxLANGUAGE_MONGOLIAN: INTEGER is 139
-	wxLANGUAGE_NAURU: INTEGER is 140
-	wxLANGUAGE_NEPALI: INTEGER is 141
-	wxLANGUAGE_NEPALI_INDIA: INTEGER is 142
-	wxLANGUAGE_NORWEGIAN_BOKMAL: INTEGER is 143
-	wxLANGUAGE_NORWEGIAN_NYNORSK: INTEGER is 144
-	wxLANGUAGE_OCCITAN: INTEGER is 145
-	wxLANGUAGE_ORIYA: INTEGER is 146
-	wxLANGUAGE_OROMO: INTEGER is 147
-	wxLANGUAGE_PASHTO: INTEGER is 148
-	wxLANGUAGE_POLISH: INTEGER is 149
-	wxLANGUAGE_PORTUGUESE: INTEGER is 150
-	wxLANGUAGE_PORTUGUESE_BRAZILIAN: INTEGER is 151
-	wxLANGUAGE_PUNJABI: INTEGER is 152
-	wxLANGUAGE_QUECHUA: INTEGER is 153
-	wxLANGUAGE_RHAETO_ROMANCE: INTEGER is 154
-	wxLANGUAGE_ROMANIAN: INTEGER is 155
-	wxLANGUAGE_RUSSIAN: INTEGER is 156
-	wxLANGUAGE_RUSSIAN_UKRAINE: INTEGER is 157
-	wxLANGUAGE_SAMOAN: INTEGER is 158
-	wxLANGUAGE_SANGHO: INTEGER is 159
-	wxLANGUAGE_SANSKRIT: INTEGER is 160
-	wxLANGUAGE_SCOTS_GAELIC: INTEGER is 161
-	wxLANGUAGE_SERBIAN: INTEGER is 162
-	wxLANGUAGE_SERBIAN_CYRILLIC: INTEGER is 163
-	wxLANGUAGE_SERBIAN_LATIN: INTEGER is 164
-	wxLANGUAGE_SERBO_CROATIAN: INTEGER is 165
-	wxLANGUAGE_SESOTHO: INTEGER is 166
-	wxLANGUAGE_SETSWANA: INTEGER is 167
-	wxLANGUAGE_SHONA: INTEGER is 168
-	wxLANGUAGE_SINDHI: INTEGER is 169
-	wxLANGUAGE_SINHALESE: INTEGER is 170
-	wxLANGUAGE_SISWATI: INTEGER is 171
-	wxLANGUAGE_SLOVAK: INTEGER is 172
-	wxLANGUAGE_SLOVENIAN: INTEGER is 173
-	wxLANGUAGE_SOMALI: INTEGER is 174
-	wxLANGUAGE_SPANISH: INTEGER is 175
-	wxLANGUAGE_SPANISH_ARGENTINA: INTEGER is 176
-	wxLANGUAGE_SPANISH_BOLIVIA: INTEGER is 177
-	wxLANGUAGE_SPANISH_CHILE: INTEGER is 178
-	wxLANGUAGE_SPANISH_COLOMBIA: INTEGER is 179
-	wxLANGUAGE_SPANISH_COSTA_RICA: INTEGER is 180
-	wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC: INTEGER is 181
-	wxLANGUAGE_SPANISH_ECUADOR: INTEGER is 182
-	wxLANGUAGE_SPANISH_EL_SALVADOR: INTEGER is 183
-	wxLANGUAGE_SPANISH_GUATEMALA: INTEGER is 184
-	wxLANGUAGE_SPANISH_HONDURAS: INTEGER is 185
-	wxLANGUAGE_SPANISH_MEXICAN: INTEGER is 186
-	wxLANGUAGE_SPANISH_MODERN: INTEGER is 187
-	wxLANGUAGE_SPANISH_NICARAGUA: INTEGER is 188
-	wxLANGUAGE_SPANISH_PANAMA: INTEGER is 189
-	wxLANGUAGE_SPANISH_PARAGUAY: INTEGER is 190
-	wxLANGUAGE_SPANISH_PERU: INTEGER is 191
-	wxLANGUAGE_SPANISH_PUERTO_RICO: INTEGER is 192
-	wxLANGUAGE_SPANISH_URUGUAY: INTEGER is 193
-	wxLANGUAGE_SPANISH_US: INTEGER is 194
-	wxLANGUAGE_SPANISH_VENEZUELA: INTEGER is 195
-	wxLANGUAGE_SUNDANESE: INTEGER is 196
-	wxLANGUAGE_SWAHILI: INTEGER is 197
-	wxLANGUAGE_SWEDISH: INTEGER is 198
-	wxLANGUAGE_SWEDISH_FINLAND: INTEGER is 199
-	wxLANGUAGE_TAGALOG: INTEGER is 200
-	wxLANGUAGE_TAJIK: INTEGER is 201
-	wxLANGUAGE_TAMIL: INTEGER is 202
-	wxLANGUAGE_TATAR: INTEGER is 203
-	wxLANGUAGE_TELUGU: INTEGER is 204
-	wxLANGUAGE_THAI: INTEGER is 205
-	wxLANGUAGE_TIBETAN: INTEGER is 206
-	wxLANGUAGE_TIGRINYA: INTEGER is 207
-	wxLANGUAGE_TONGA: INTEGER is 208
-	wxLANGUAGE_TSONGA: INTEGER is 209
-	wxLANGUAGE_TURKISH: INTEGER is 210
-	wxLANGUAGE_TURKMEN: INTEGER is 211
-	wxLANGUAGE_TWI: INTEGER is 212
-	wxLANGUAGE_UIGHUR: INTEGER is 213
-	wxLANGUAGE_UKRAINIAN: INTEGER is 214
-	wxLANGUAGE_URDU: INTEGER is 215
-	wxLANGUAGE_URDU_INDIA: INTEGER is 216
-	wxLANGUAGE_URDU_PAKISTAN: INTEGER is 217
-	wxLANGUAGE_UZBEK: INTEGER is 218
-	wxLANGUAGE_UZBEK_CYRILLIC: INTEGER is 219
-	wxLANGUAGE_UZBEK_LATIN: INTEGER is 220
-	wxLANGUAGE_VIETNAMESE: INTEGER is 221
-	wxLANGUAGE_VOLAPUK: INTEGER is 222
-	wxLANGUAGE_WELSH: INTEGER is 223
-	wxLANGUAGE_WOLOF: INTEGER is 224
-	wxLANGUAGE_XHOSA: INTEGER is 225
-	wxLANGUAGE_YIDDISH: INTEGER is 226
-	wxLANGUAGE_YORUBA: INTEGER is 227
-	wxLANGUAGE_ZHUANG: INTEGER is 228
-	wxLANGUAGE_ZULU: INTEGER is 229
-	wxLANGUAGE_USER_DEFINE: INTEGER is 230
-
-    wxLOCALE_THOUSANDS_SEP: INTEGER is 0
-    wxLOCALE_DECIMAL_POINT: INTEGER is 1
-
-    wxLOCALE_LOAD_DEFAULT: INTEGER is 1
-    wxLOCALE_CONV_ENCODING: INTEGER is 2
-
-	wxEVT_GRID_CELL_LEFT_CLICK: INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_GRID_CELL_LEFT_CLICK"
-		end
-
-	wxEVT_GRID_CELL_RIGHT_CLICK: INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_GRID_CELL_RIGHT_CLICK"
-		end
-
-	wxEVT_GRID_CELL_LEFT_DCLICK: INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_GRID_CELL_LEFT_DCLICK"
-		end
-
-	wxEVT_GRID_CELL_RIGHT_DCLICK: INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_GRID_CELL_RIGHT_DCLICK"
-		end
-
-	wxEVT_GRID_LABEL_LEFT_CLICK: INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_GRID_LABEL_LEFT_CLICK"
-		end
-
-	wxEVT_GRID_LABEL_RIGHT_CLICK: INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_GRID_LABEL_RIGHT_CLICK"
-		end
-
-	wxEVT_GRID_LABEL_LEFT_DCLICK: INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_GRID_LABEL_LEFT_DCLICK"
-		end
-
-	wxEVT_GRID_LABEL_RIGHT_DCLICK: INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_GRID_LABEL_RIGHT_DCLICK"
-		end
-
-	wxEVT_GRID_ROW_SIZE: INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_GRID_ROW_SIZE"
-		end
-
-	wxEVT_GRID_COL_SIZE: INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_GRID_COL_SIZE"
-		end
-
-	wxEVT_GRID_RANGE_SELECT: INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_GRID_RANGE_SELECT"
-		end
-
-	wxEVT_GRID_CELL_CHANGE: INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_GRID_CELL_CHANGE"
-		end
-
-	wxEVT_GRID_SELECT_CELL: INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_GRID_SELECT_CELL"
-		end
-
-	wxEVT_GRID_EDITOR_SHOWN: INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_GRID_EDITOR_SHOWN"
-		end
-
-	wxEVT_GRID_EDITOR_HIDDEN: INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_GRID_EDITOR_HIDDEN"
-		end
-
-	wxEVT_GRID_EDITOR_CREATED: INTEGER is
-		external "C use %"ewxw_glue.h%""
-		alias "expEVT_GRID_EDITOR_CREATED"
-		end
-
-end
− src/eiffel/wxc_defs.e
@@ -1,186 +0,0 @@--- extra constant definitions lacking from the eiffel wx-defs.e
-wxBU_EXACTFIT		: BIT 32 is 00000000000000000000000000000001B				    
-wxTE_PROCESS_ENTER	: BIT 32 is 00000000000000000000010000000000B
-wxTE_PASSWORD		: BIT 32 is 00000000000000000000100000000000B
-wxTE_RICH2		: BIT 32 is 00000000000000001000000000000000B	
-wxTE_AUTO_URL		: BIT 32 is 00000000000000000001000000000000B
-wxTE_NOHIDESEL		: BIT 32 is 00000000000000000010000000000000B	
-wxTE_LEFT		: BIT 32 is 00000000000000000000000000000000B
-wxTE_RIGHT		: BIT 32 is 00000000000000000000001000000000B
-wxTE_CENTRE		: BIT 32 is 00000000000000000000000100000000B	
-wxTE_LINEWRAP		: BIT 32 is 00000000000000000100000000000000B
-wxTE_WORDWRAP		: BIT 32 is 00000000000000000000000000000000B
-wxEXEC_ASYNC            : BIT 32 is 00000000000000000000000000000000B
-wxEXEC_SYNC             : BIT 32 is 00000000000000000000000000000001B
-wxEXEC_NOHIDE           : BIT 32 is 00000000000000000000000000000010B
-wxEXEC_MAKE_GROUP_LEADER : BIT 32 is 00000000000000000000000000000100B
-wxITEM_SEPARATOR        : INTEGER is -1
-wxITEM_NORMAL           : INTEGER is 0
-wxITEM_CHECK            : INTEGER is 1
-wxITEM_RADIO            : INTEGER is 2
-wxITEM_MAX              : INTEGER is 3
-
-wxCLOSE_BOX		: INTEGER is 4096
-wxFRAME_EX_CONTEXTHELP  : INTEGER is 4
-wxDIALOG_EX_CONTEXTHELP : INTEGER is 4
-wxFRAME_SHAPED		: INTEGER is 16
-wxFULLSCREEN_ALL	: INTEGER is 31
-
-
-wxTreeItemIcon_Normal			: INTEGER is 0
-wxTreeItemIcon_Selected			: INTEGER is 1
-wxTreeItemIcon_Expanded			: INTEGER is 2
-wxTreeItemIcon_SelectedExpanded		: INTEGER is 3
-
-wxCONFIG_USE_LOCAL_FILE		: INTEGER is 1
-wxCONFIG_USE_GLOBAL_FILE	: INTEGER is 2
-wxCONFIG_USE_RELATIVE_PATH	: INTEGER is 4
-wxCONFIG_USE_NO_ESCAPE_CHARACTERS : INTEGER is 8
-
-wxCONFIG_TYPE_UNKNOWN	: INTEGER is 0
-wxCONFIG_TYPE_STRING	: INTEGER is 1
-wxCONFIG_TYPE_BOOLEAN	: INTEGER is 2
-wxCONFIG_TYPE_INTEGER	: INTEGER is 3
-wxCONFIG_TYPE_FLOAT	: INTEGER is 4
-
-
-wxSIGNONE : INTEGER is 0
-wxSIGHUP  : INTEGER is 1
-wxSIGINT  : INTEGER is 2
-wxSIGQUIT : INTEGER is 3
-wxSIGILL  : INTEGER is 4
-wxSIGTRAP : INTEGER is 5 
-wxSIGABRT : INTEGER is 6
-wxSIGEMT  : INTEGER is 7
-wxSIGFPE  : INTEGER is 8
-wxSIGKILL : INTEGER is 9     
-wxSIGBUS  : INTEGER is 10
-wxSIGSEGV : INTEGER is 11
-wxSIGSYS  : INTEGER is 12
-wxSIGPIPE : INTEGER is 13
-wxSIGALRM : INTEGER is 14
-wxSIGTERM : INTEGER is 15   
-
-wxKILL_OK	     : INTEGER is 0 
-wxKILL_BAD_SIGNAL    : INTEGER is 1     
-wxKILL_ACCESS_DENIED : INTEGER is 2  
-wxKILL_NO_PROCESS    : INTEGER is 3     
-wxKILL_ERROR         : INTEGER is 4    
-
-wxSTREAM_NO_ERROR    : INTEGER is 0 
-wxSTREAM_EOF         : INTEGER is 1 
-wxSTREAM_WRITE_ERROR : INTEGER is 2 
-wxSTREAM_READ_ERROR  : INTEGER is 3 
-
-wxNB_MULTILINE       : INTEGER is 256
-
-wxLC_VRULES          : INTEGER is 1
-wxLC_HRULES          : INTEGER is 2
-
-wxIMAGE_LIST_NORMAL  : INTEGER is 0
-wxIMAGE_LIST_SMALL   : INTEGER is 1
-wxIMAGE_LIST_STATE   : INTEGER is 2
-
-wxTB_HORIZONTAL      : INTEGER is 4
-wxTB_NOALIGN         : INTEGER is 1024
-wxTB_NODIVIDER       : INTEGER is 512
-wxTB_NOICONS         : INTEGER is 128
-wxTB_TEXT	         : INTEGER is 256
-wxTB_VERTICAL        : INTEGER is 8
-
-wxADJUST_MINSIZE     : INTEGER is 32768
-
-wxDB_TYPE_NAME_LEN            : INTEGER is 40
-wxDB_MAX_STATEMENT_LEN        : INTEGER is 4096
-wxDB_MAX_WHERE_CLAUSE_LEN     : INTEGER is 2048
-wxDB_MAX_ERROR_MSG_LEN        : INTEGER is 512
-wxDB_MAX_ERROR_HISTORY        : INTEGER is 5
-wxDB_MAX_TABLE_NAME_LEN       : INTEGER is 128
-wxDB_MAX_COLUMN_NAME_LEN      : INTEGER is 128
-
-wxDB_DATA_TYPE_VARCHAR        : INTEGER is 1
-wxDB_DATA_TYPE_INTEGER        : INTEGER is 2
-wxDB_DATA_TYPE_FLOAT          : INTEGER is 3
-wxDB_DATA_TYPE_DATE           : INTEGER is 4
-wxDB_DATA_TYPE_BLOB           : INTEGER is 5
-
-wxDB_SELECT_KEYFIELDS         : INTEGER is 1
-wxDB_SELECT_WHERE             : INTEGER is 2
-wxDB_SELECT_MATCHING          : INTEGER is 3
-wxDB_SELECT_STATEMENT         : INTEGER is 4
-
-wxDB_UPD_KEYFIELDS            : INTEGER is 1
-wxDB_UPD_WHERE                : INTEGER is 2
-
-wxDB_DEL_KEYFIELDS            : INTEGER is 1
-wxDB_DEL_WHERE                : INTEGER is 2
-wxDB_DEL_MATCHING             : INTEGER is 3
-
-wxDB_WHERE_KEYFIELDS          : INTEGER is 1
-wxDB_WHERE_MATCHING           : INTEGER is 2
-
-wxDB_GRANT_SELECT             : INTEGER is 1
-wxDB_GRANT_INSERT             : INTEGER is 2
-wxDB_GRANT_UPDATE             : INTEGER is 4
-wxDB_GRANT_DELETE             : INTEGER is 8
-wxDB_GRANT_ALL                : INTEGER is 15
-
-wxSQL_INVALID_HANDLE		 : INTEGER is -2
-wxSQL_ERROR			 : INTEGER is -1
-wxSQL_SUCCESS 			 : INTEGER is 0
-wxSQL_SUCCESS_WITH_INFO		 : INTEGER is 1
-wxSQL_NO_DATA_FOUND		 : INTEGER is 100
-
-wxSQL_CHAR			 : INTEGER is 1
-wxSQL_NUMERIC 			 : INTEGER is 2
-wxSQL_DECIMAL 			 : INTEGER is 3
-wxSQL_INTEGER 			 : INTEGER is 4
-wxSQL_SMALLINT			 : INTEGER is 5
-wxSQL_FLOAT			 : INTEGER is 6
-wxSQL_REAL			 : INTEGER is 7
-wxSQL_DOUBLE			 : INTEGER is 8
-wxSQL_VARCHAR 			 : INTEGER is 12
-
-wxSQL_C_CHAR			 : INTEGER is 1
-wxSQL_C_LONG			 : INTEGER is 4
-wxSQL_C_SHORT			 : INTEGER is 5
-wxSQL_C_FLOAT			 : INTEGER is 7
-wxSQL_C_DOUBLE			 : INTEGER is 8
-wxSQL_C_DEFAULT 		 : INTEGER is 99
-
-wxSQL_NO_NULLS			 : INTEGER is 0
-wxSQL_NULLABLE			 : INTEGER is 1
-wxSQL_NULLABLE_UNKNOWN		 : INTEGER is 2
-
-wxSQL_NULL_DATA			 : INTEGER is -1
-wxSQL_DATA_AT_EXEC		 : INTEGER is -2
-wxSQL_NTS 			 : INTEGER is -3
-
-wxSQL_DATE			 : INTEGER is 9
-wxSQL_TIME			 : INTEGER is 10
-wxSQL_TIMESTAMP			 : INTEGER is 11
-
-wxSQL_C_DATE			 : INTEGER is 9
-wxSQL_C_TIME			 : INTEGER is 10
-wxSQL_C_TIMESTAMP 		 : INTEGER is 11
-
-wxSQL_FETCH_NEXT		 : INTEGER is 1
-wxSQL_FETCH_FIRST 		 : INTEGER is 2
-wxSQL_FETCH_LAST		 : INTEGER is 3
-wxSQL_FETCH_PRIOR		 : INTEGER is 4
-wxSQL_FETCH_ABSOLUTE		 : INTEGER is 5
-wxSQL_FETCH_RELATIVE		 : INTEGER is 6
-wxSQL_FETCH_BOOKMARK		 : INTEGER is 8
-
-wxSOUND_SYNC: INTEGER is 0
-wxSOUND_ASYNC: INTEGER is 1
-wxSOUND_LOOP: INTEGER is 2
-
-wxDRAG_COPYONLY: INTEGER is 0
-wxDRAG_ALLOWMOVE: INTEGER is 1
-wxDRAG_DEFALUTMOVE: INTEGER is 3
-
-wxMEDIACTRLPLAYERCONTROLS_NONE		: BIT 32 is 00000000000000000000000000000000B
-wxMEDIACTRLPLAYERCONTROLS_STEP	: BIT 32 is 00000000000000000000000000000001B
-wxMEDIACTRLPLAYERCONTROLS_VOLUME		: BIT 32 is 00000000000000000000000000000010B
-wxMEDIACTRLPLAYERCONTROLS_DEFAULT		: BIT 32 is 00000000000000000000000000000011B
src/haskell/Graphics/UI/WXCore.hs view
@@ -1,76 +1,83 @@-{-# OPTIONS -fglasgow-exts #-}-------------------------------------------------------------------------------------------{-|	Module      :  WXCore-	Copyright   :  (c) Daan Leijen 2003-	License     :  wxWindows--	Maintainer  :  wxhaskell-devel@lists.sourceforge.net-	Stability   :  provisional-	Portability :  portable--The "WXCore" module is the interface to the core wxWindows functionality.-    -The library contains the automatically generated interface to the raw-wxWindows API in "Graphics.UI.WXCore.WxcClasses", "Graphics.UI.WXCore.WxcClassTypes",-and "Graphics.UI.WXCore.WxcDefs". --The other helper modules contain convenient wrappers but only use functional-abstractions: no type classes or other fancy Haskell features. (The-higher-level "Graphics.UI.WX" module provides such abstractions.)--}-------------------------------------------------------------------------------------------module Graphics.UI.WXCore-        (-        -- * Re-exports-          module Graphics.UI.WXCore.WxcDefs-        , module Graphics.UI.WXCore.WxcClasses-        , module Graphics.UI.WXCore.WxcClassInfo-        , module Graphics.UI.WXCore.Defines-        , module Graphics.UI.WXCore.Types-        , module Graphics.UI.WXCore.Process-        , module Graphics.UI.WXCore.Print-        , module Graphics.UI.WXCore.Draw-        , module Graphics.UI.WXCore.DragAndDrop-        , module Graphics.UI.WXCore.Events-        , module Graphics.UI.WXCore.Frame-        , module Graphics.UI.WXCore.Dialogs-        , module Graphics.UI.WXCore.Controls-        , module Graphics.UI.WXCore.Db-        , module Graphics.UI.WXCore.Layout-        , module Graphics.UI.WXCore.Image--        -- * Run-        , run-        ) where--import System.Mem( performGC )--import Graphics.UI.WXCore.WxcDefs-import Graphics.UI.WXCore.WxcClasses -import Graphics.UI.WXCore.WxcClassInfo-  -import Graphics.UI.WXCore.Types-import Graphics.UI.WXCore.Defines-import Graphics.UI.WXCore.Process-import Graphics.UI.WXCore.Print-import Graphics.UI.WXCore.Events hiding ( StreamStatus(..) )-import Graphics.UI.WXCore.Draw-import Graphics.UI.WXCore.DragAndDrop-import Graphics.UI.WXCore.Frame-import Graphics.UI.WXCore.Dialogs-import Graphics.UI.WXCore.Controls-import Graphics.UI.WXCore.Layout-import Graphics.UI.WXCore.Image-import Graphics.UI.WXCore.Db---- | Start the event loop. Takes an initialisation action as argument.--- Except for 'run', the functions in the WXH library can only be called--- from this intialisation action or from event handlers, or otherwise bad--- things will happen :-)-run :: IO a -> IO ()-run init-  = do appOnInit (do wxcAppInitAllImageHandlers-                     init-                     return ())-       performGC-       performGC+-----------------------------------------------------------------------------------------
+{-|
+Module      :  WXCore
+Copyright   :  (c) Daan Leijen 2003
+License     :  wxWindows
+
+Maintainer  :  wxhaskell-devel@lists.sourceforge.net
+Stability   :  provisional
+Portability :  portable
+
+The "WXCore" module is the interface to the core wxWidgets functionality.
+    
+The library contains the automatically generated interface to the raw
+wxWidgets API in "Graphics.UI.WXCore.WxcClasses", "Graphics.UI.WXCore.WxcClassTypes",
+and "Graphics.UI.WXCore.WxcDefs". 
+
+The other helper modules contain convenient wrappers but only use functional
+abstractions: no type classes or other fancy Haskell features. (The
+higher-level "Graphics.UI.WX" module provides such abstractions.)
+-}
+-----------------------------------------------------------------------------------------
+module Graphics.UI.WXCore
+        (
+        -- * Re-exports
+          module Graphics.UI.WXCore.WxcDefs
+        , module Graphics.UI.WXCore.WxcClasses
+        , module Graphics.UI.WXCore.WxcClassInfo
+        , module Graphics.UI.WXCore.Defines
+        , module Graphics.UI.WXCore.Types
+        , module Graphics.UI.WXCore.Process
+        , module Graphics.UI.WXCore.Print
+        , module Graphics.UI.WXCore.Draw
+        , module Graphics.UI.WXCore.DragAndDrop
+        , module Graphics.UI.WXCore.Events
+        , module Graphics.UI.WXCore.Frame
+        , module Graphics.UI.WXCore.Dialogs
+        , module Graphics.UI.WXCore.Controls
+        , module Graphics.UI.WXCore.Layout
+        , module Graphics.UI.WXCore.Image
+        , module Graphics.UI.WXCore.OpenGL
+
+        -- * Run
+        , run
+        ) where
+
+import System.Mem( performGC )
+
+import Graphics.UI.WXCore.WxcDefs
+import Graphics.UI.WXCore.WxcClasses 
+import Graphics.UI.WXCore.WxcClassInfo
+  
+import Graphics.UI.WXCore.Types
+import Graphics.UI.WXCore.Defines
+import Graphics.UI.WXCore.Process
+import Graphics.UI.WXCore.Print
+import Graphics.UI.WXCore.Events hiding ( StreamStatus(..) )
+import Graphics.UI.WXCore.Draw
+import Graphics.UI.WXCore.DragAndDrop
+import Graphics.UI.WXCore.Frame
+import Graphics.UI.WXCore.Dialogs
+import Graphics.UI.WXCore.Controls
+import Graphics.UI.WXCore.Layout
+import Graphics.UI.WXCore.Image
+import Graphics.UI.WXCore.OpenGL
+
+import Graphics.UI.WXCore.GHCiSupport
+
+-- | Start the event loop. Takes an initialisation action as argument.
+-- Except for 'run', the functions in the WX library can only be called
+-- from this initialisation action or from event handlers, otherwise bad
+-- things will happen :-)
+run :: IO a -> IO ()
+run action
+  = do enableGUI
+       appOnInit (do wxcAppInitAllImageHandlers
+                     _ <- action
+                     return ())
+       performGC
+       performGC
+
+
+
+
src/haskell/Graphics/UI/WXCore/Controls.hs view
@@ -1,131 +1,169 @@----------------------------------------------------------------------------------{-|	Module      :  Controls-	Copyright   :  (c) Daan Leijen 2003-	License     :  wxWindows--	Maintainer  :  wxhaskell-devel@lists.sourceforge.net-	Stability   :  provisional-	Portability :  portable--}----------------------------------------------------------------------------------module Graphics.UI.WXCore.Controls-    ( -      -- * Log-      textCtrlMakeLogActiveTarget-    , logDeleteAndSetActiveTarget-      -- * Tree control-    , TreeCookie-    , treeCtrlGetChildCookie, treeCtrlGetNextChild2-    , treeCtrlWithChildren, treeCtrlGetChildren-    , treeCtrlGetSelections2-      -- * Wrappers-    , listBoxGetSelectionList-    , execClipBoardData-      -- * Deprecated-    , wxcAppUSleep-    ) where--import Graphics.UI.WXCore.WxcTypes-import Graphics.UI.WXCore.WxcDefs-import Graphics.UI.WXCore.WxcClasses-import Graphics.UI.WXCore.Types--import Foreign.Storable-import Foreign.Marshal.Array-import Foreign.Marshal.Utils----- | Get the selections of a tree control.-treeCtrlGetSelections2 :: TreeCtrl a -> IO [TreeItem]-treeCtrlGetSelections2 treeCtrl-  = do xs <- treeCtrlGetSelections treeCtrl-       return (map treeItemFromInt xs)---- | Represents the children of a tree control.-data TreeCookie   = TreeCookie (Var Cookie)-data Cookie       = Cookie TreeItem-                  | CookieFirst TreeItem-                  | CookieInvalid---- | Get a @TreeCookie@ to iterate through the children of tree node.-treeCtrlGetChildCookie :: TreeCtrl a -> TreeItem -> IO TreeCookie-treeCtrlGetChildCookie treeCtrl parent-  = do pcookie <- varCreate (CookieFirst parent)-       return (TreeCookie pcookie)---- | Get the next child of a tree node. Returns 'Nothing' when--- the end of the list is reached. This also invalidates the tree cookie.-treeCtrlGetNextChild2 :: TreeCtrl a -> TreeCookie -> IO (Maybe TreeItem)-treeCtrlGetNextChild2 treeCtrl treeCookie@(TreeCookie pcookie)-  = do cookie <- varGet pcookie-       case cookie of-         CookieInvalid    -> return Nothing-         CookieFirst item -> with 0 $ \pint ->-                             do first <- treeCtrlGetFirstChild treeCtrl item pint-                                if (treeItemIsOk first)-                                 then do varSet pcookie (Cookie first)-                                         return (Just first)-                                 else do varSet pcookie (CookieInvalid)-                                         return Nothing-         Cookie item ->-                             do next <- treeCtrlGetNextSibling treeCtrl item-                                if (treeItemIsOk next)-                                 then do varSet pcookie (Cookie next)-                                         return (Just next)-                                 else do varSet pcookie (CookieInvalid)-                                         return Nothing---- | Iterate on the list of children of a tree node.-treeCtrlWithChildren :: TreeCtrl a -> TreeItem -> (TreeItem -> IO b) -> IO [b]-treeCtrlWithChildren treeCtrl parent f-  = do cookie <- treeCtrlGetChildCookie treeCtrl parent-       let walk acc  = do mbitem <- treeCtrlGetNextChild2 treeCtrl cookie-                          case mbitem of-                            Nothing   -> return (reverse acc)-                            Just item -> do x <- f item-                                            walk (x:acc)-       walk []---- | Get the children of tree node.-treeCtrlGetChildren :: TreeCtrl a -> TreeItem -> IO [TreeItem]-treeCtrlGetChildren treeCtrl item-  = treeCtrlWithChildren treeCtrl item return---- | ---- | Return the current selection in a listbox.-listBoxGetSelectionList :: ListBox a -> IO [Int]-listBoxGetSelectionList listBox-  = do n <- listBoxGetSelections listBox ptrNull 0-       let count = abs n-       allocaArray count $ \carr ->-        do listBoxGetSelections listBox carr count-           xs <- peekArray count carr-           return (map fromCInt xs)---- | Sets the active log target and deletes the old one.-logDeleteAndSetActiveTarget :: Log a -> IO ()-logDeleteAndSetActiveTarget log-  = do oldlog <- logSetActiveTarget log-       when (not (objectIsNull oldlog)) (logDelete oldlog)-       ---- | Set a text control as a log target.-textCtrlMakeLogActiveTarget :: TextCtrl a -> IO ()-textCtrlMakeLogActiveTarget textCtrl-  = do log <- logTextCtrlCreate textCtrl-       logDeleteAndSetActiveTarget log----- | Use a 'clipboardSetData' or 'clipboardGetData' in this function. But don't--- use long computation in this function. Because this function encloses the--- computation with 'clipboardOpen' and 'clipboardClose', and wxHaskell uses--- Global clipboard on your environment. So, long computation causes problem.-execClipBoardData :: Clipboard a -> (Clipboard a -> IO b) -> IO b-execClipBoardData cl event = bracket_ (clipboardOpen cl) (clipboardClose cl) (event cl)--{-# DEPRECATED wxcAppUSleep "Use wxcAppMilliSleep instead" #-}--- | This function just left for backward-compatiblity.--- Update your code to use 'wxcAppMilliSleep' instead.-wxcAppUSleep :: Int -> IO ()-wxcAppUSleep = wxcAppMilliSleep+{-# LANGUAGE ForeignFunctionInterface #-}
+--------------------------------------------------------------------------------
+{-|
+Module      :  Controls
+Copyright   :  (c) Daan Leijen 2003
+License     :  wxWindows
+
+Maintainer  :  wxhaskell-devel@lists.sourceforge.net
+Stability   :  provisional
+Portability :  portable
+-}
+--------------------------------------------------------------------------------
+module Graphics.UI.WXCore.Controls
+    ( 
+      -- * Log
+      textCtrlMakeLogActiveTarget
+    , logDeleteAndSetActiveTarget
+      -- * Tree control
+    , TreeCookie
+    , treeCtrlGetChildCookie, treeCtrlGetNextChild2
+    , treeCtrlWithChildren, treeCtrlGetChildren
+    , treeCtrlGetSelections2
+      -- * Wrappers
+    , listBoxGetSelectionList
+    , execClipBoardData
+      -- * Font Enumerator
+    , enumerateFontsList
+    , enumerateFonts
+      -- * Deprecated
+    , wxcAppUSleep
+    ) where
+
+import Graphics.UI.WXCore.WxcTypes
+import Graphics.UI.WXCore.WxcClasses
+import Graphics.UI.WXCore.Types
+
+import Foreign.Marshal.Array
+import Foreign.Marshal.Utils
+import Foreign.C.String(peekCWString)
+
+-- | Get the selections of a tree control.
+treeCtrlGetSelections2 :: TreeCtrl a -> IO [TreeItem]
+treeCtrlGetSelections2 treeCtrl
+  = do xs <- treeCtrlGetSelections treeCtrl
+       return (map treeItemFromInt xs)
+
+-- | Represents the children of a tree control.
+data TreeCookie   = TreeCookie (Var Cookie)
+data Cookie       = Cookie TreeItem
+                  | CookieFirst TreeItem
+                  | CookieInvalid
+
+-- | Get a @TreeCookie@ to iterate through the children of tree node.
+treeCtrlGetChildCookie :: TreeCtrl a -> TreeItem -> IO TreeCookie
+treeCtrlGetChildCookie _treeCtrl parent
+  = do pcookie <- varCreate (CookieFirst parent)
+       return (TreeCookie pcookie)
+
+-- | Get the next child of a tree node. Returns 'Nothing' when
+-- the end of the list is reached. This also invalidates the tree cookie.
+treeCtrlGetNextChild2 :: TreeCtrl a -> TreeCookie -> IO (Maybe TreeItem)
+treeCtrlGetNextChild2 treeCtrl (TreeCookie pcookie)
+  = do cookie <- varGet pcookie
+       case cookie of
+         CookieInvalid    -> return Nothing
+         CookieFirst item -> with 0 $ \pint ->
+                             do first <- treeCtrlGetFirstChild treeCtrl item pint
+                                if (treeItemIsOk first)
+                                 then do varSet pcookie (Cookie first)
+                                         return (Just first)
+                                 else do varSet pcookie (CookieInvalid)
+                                         return Nothing
+         Cookie item ->
+                             do next <- treeCtrlGetNextSibling treeCtrl item
+                                if (treeItemIsOk next)
+                                 then do varSet pcookie (Cookie next)
+                                         return (Just next)
+                                 else do varSet pcookie (CookieInvalid)
+                                         return Nothing
+
+-- | Iterate on the list of children of a tree node.
+treeCtrlWithChildren :: TreeCtrl a -> TreeItem -> (TreeItem -> IO b) -> IO [b]
+treeCtrlWithChildren treeCtrl parent f
+  = do cookie <- treeCtrlGetChildCookie treeCtrl parent
+       let walk acc  = do mbitem <- treeCtrlGetNextChild2 treeCtrl cookie
+                          case mbitem of
+                            Nothing   -> return (reverse acc)
+                            Just item -> do x <- f item
+                                            walk (x:acc)
+       walk []
+
+-- | Get the children of tree node.
+treeCtrlGetChildren :: TreeCtrl a -> TreeItem -> IO [TreeItem]
+treeCtrlGetChildren treeCtrl item
+  = treeCtrlWithChildren treeCtrl item return
+
+-- | 
+
+-- | Return the current selection in a listbox.
+listBoxGetSelectionList :: ListBox a -> IO [Int]
+listBoxGetSelectionList listBox
+  = do n <- listBoxGetSelections listBox ptrNull 0
+       let count = abs n
+       allocaArray count $ \carr ->
+        do _  <- listBoxGetSelections listBox carr count
+           xs <- peekArray count carr
+           return (map fromCInt xs)
+
+-- | Sets the active log target and deletes the old one.
+logDeleteAndSetActiveTarget :: Log a -> IO ()
+logDeleteAndSetActiveTarget log'
+  = do oldlog <- logSetActiveTarget log'
+       when (not (objectIsNull oldlog)) (logDelete oldlog)
+       
+
+-- | Set a text control as a log target.
+textCtrlMakeLogActiveTarget :: TextCtrl a -> IO ()
+textCtrlMakeLogActiveTarget textCtrl
+  = do log' <- logTextCtrlCreate textCtrl
+       logDeleteAndSetActiveTarget log'
+
+
+-- | Use a 'clipboardSetData' or 'clipboardGetData' in this function. But don't
+-- use long computation in this function. Because this function encloses the
+-- computation with 'clipboardOpen' and 'clipboardClose', and wxHaskell uses
+-- Global clipboard on your environment. So, long computation causes problem.
+execClipBoardData :: Clipboard a -> (Clipboard a -> IO b) -> IO b
+execClipBoardData cl event = bracket_ (clipboardOpen cl) (clipboardClose cl) (event cl)
+
+{-# DEPRECATED wxcAppUSleep "Use wxcAppMilliSleep instead" #-}
+-- | This function just left for backward-compatiblity.
+-- Update your code to use 'wxcAppMilliSleep' instead.
+wxcAppUSleep :: Int -> IO ()
+wxcAppUSleep = wxcAppMilliSleep
+
+
+-- | (@enumerateFontsList encoding fixedWidthOnly@) return the Names of the available fonts in a list. 
+-- To get all available fonts call @enumerateFontsList wxFONTENCODING_SYSTEM False@.
+-- See also @enumerateFonts@.
+enumerateFontsList :: Int -> Bool -> IO [String]
+enumerateFontsList encoding fixedWidthOnly = do
+  v <- varCreate []
+  enumerateFonts encoding fixedWidthOnly $ listFkt v
+  varGet v
+  where
+  listFkt :: Var [String] -> String -> IO Bool
+  listFkt v txt = do
+    _ <- varUpdate v (txt:)
+    return True
+
+foreign import ccall "wrapper" wrapEnumeratorFunc :: (Ptr () -> Ptr CWchar -> IO CInt) -> IO (FunPtr (Ptr () -> Ptr CWchar -> IO CInt))
+
+-- | (@enumerateFonts encoding fixedWidthOnly f@ calls successive @f name@ for the fonts installed on the system.
+-- It stops if the function return False.
+-- See also @enumerateFontsList@.
+enumerateFonts :: Int -> Bool -> (String -> IO Bool) -> IO ()
+enumerateFonts encoding fixedWidthOnly fkt = do
+  fontEnumerator <- fontEnumeratorCreate ptrNull =<< fuc fkt
+  _ <- fontEnumeratorEnumerateFacenames fontEnumerator encoding (fromEnum fixedWidthOnly)
+  fontEnumeratorDelete fontEnumerator
+  where
+    fuc :: (String -> IO Bool) -> IO (Ptr (Ptr () -> Ptr CWchar -> IO CInt))
+    fuc f = fmap toCFunPtr $ wrapEnumeratorFunc $ fucH f
+    fucH :: (String -> IO Bool) -> Ptr () -> Ptr CWchar -> IO CInt
+    fucH f _ cwPtr = do
+      continue <- f =<< peekCWString cwPtr
+      return $ toCInt $ fromEnum $ continue
+
+
− src/haskell/Graphics/UI/WXCore/Db.hs
@@ -1,1207 +0,0 @@----------------------------------------------------------------------------------{-|	Module      :  Db-	Copyright   :  (c) Daan Leijen 2003-	License     :  wxWindows--	Maintainer  :  wxhaskell-devel@lists.sourceforge.net-	Stability   :  provisional-	Portability :  portable-  -This module provides convenient access to the database classes-('Db') of wxWindows. These classes have been donated to the wxWindows-library by Remstar International. (Note: these classes are not supported-on MacOS X at the time of writing (november 2003)). -These database objects support ODBC connections and have been tested -with wxWindows on the following databases:--Oracle (v7, v8, v8i), -Sybase (ASA and ASE),-MS SQL Server (v7 - minimal testing), MS Access (97 and 2000),-MySQL, DBase (IV, V) (using ODBC emulation), PostgreSQL, INFORMIX, VIRTUOSO, DB2, -Interbase, Pervasive SQL .--The database functions also work with console applications and do /not/-need to initialize the WXCore libraries.--The examples in this document are all based on the @pubs@ database-that is available in MS Access 97 and \'comma separated text\' format-from <http://wxhaskell.sourceforge.net/download/pubs.zip>. We assume-that your system is configured in such a way that @pubs@ is the-datasource name of this database. (On Windows XP for example, this is -done using the /start - settings - control panel - administrative tools-- data sources (ODBC)/ menu.)--The available data sources on your system can be retrieved using-'dbGetDataSources'. Here is an example from my system:--> *Main> dbGetDataSources >>= print-> [("pubs","Microsoft Access Driver (*.mdb)")]--Connections are established with the 'dbWithConnection' call.-It takes a datasource name, a user name, a password, and a function-that is applied to the resulting database connection:--> dbWithConnection "pubs" "" "" (\db -> ...)--(Note that most database operations automatically raise a database exception ('DbError')-on failure. These exceptions can be caught using 'catchDbError'.)--The resulting database ('Db') can be queried using 'dbQuery'.-The 'dbQuery' call applies a function to each row ('DbRow') in the result-set. Using calls like 'dbRowGetValue' and 'dbRowGetString', you can -retrieve the values from the result rows.--> printAuthorNames->   = do names <- dbWithConnection "pubs" "" "" (\db ->->                  dbQuery db "SELECT au_fname, au_lname FROM authors" ->                    (\row -> do fname <- dbRowGetString row "au_fname"->                                lname <- dbRowGetString row "au_lname"->                                return (fname ++ " " ++ lname)->                    ))->        putStrLn (unlines names)--The overloaded function 'dbRowGetValue' can retrieve any kind of -database value ('DbValue') (except for strings since standard Haskell98 -does not support overlapping instances). For most datatypes, there is-also a non-overloaded version, like 'dbRowGetInteger' and 'dbRowGetString'.-The @dbRowGet...@ functions are also available as @dbRowGet...Mb@, which-returns 'Nothing' when a @NULL@ value is encountered (instead of raising-an exception), for example, 'dbRowGetIntegerMb' and 'dbRowGetStringMb'.--If necessary, more data types can be supported by defining your own-'DbValue' instances and using 'dbRowGetValue' to retrieve those values.--You can use 'dbRowGetColumnInfo' to retrieve column information ('ColumnInfo')-about a particular column, for example, to retieve the number of decimal-digits in a currency value.--Complete meta information about a particular data source can be retrieved -using 'dbGetDataSourceInfo', that takes a data source name, user name,-and password as arguments, and returns a 'DbInfo' structure:--> *Main> dbGetDataSourceInfo "pubs" "" "" >>= print-> catalog: C:\daan\temp\db\pubs2-> schema :-> tables :->  ...->  8: name   : authors->     type   : TABLE->     remarks:->     columns:->      1: name   : au_id->         index  : 1->         type   : VARCHAR->         size   : 12->         sqltp  : SqlVarChar->         type id: DbVarChar->         digits : 0->         prec   : 0->         remarks: Author Key->         pkey   : 0->         ptables: []->         fkey   : 0->         ftable :->      2: name   : au_fname->         index  : 2->         type   : VARCHAR->  ...--Changes to the database can be made using 'dbExecute'. All these actions-are done in transaction mode and are only comitted when wrapped with-a 'dbTransaction'.--}----------------------------------------------------------------------------------module Graphics.UI.WXCore.Db-   ( -   -- * Connection-      dbWithConnection, dbConnect, dbDisconnect-   , dbWithDirectConnection, dbConnectDirect-   -- * Queries-   , dbQuery, dbQuery_-   -   -- * Changes-   , dbExecute, dbTransaction--   -- * Rows-   , DbRow(..)--   -- ** Standard values-   , dbRowGetString, dbRowGetStringMb-   , dbRowGetBool, dbRowGetBoolMb-   , dbRowGetInt, dbRowGetIntMb-   , dbRowGetDouble, dbRowGetDoubleMb-   , dbRowGetInteger, dbRowGetIntegerMb-   , dbRowGetClockTime, dbRowGetClockTimeMb--   -- ** Generic values-   , DbValue( dbValueRead, toSqlValue )-   , dbRowGetValue, dbRowGetValueMb-   -   -- ** Column information-   , dbRowGetColumnInfo, dbRowGetColumnInfos-     -   -- * Meta information-   -- ** Data sources-   , DataSourceName, dbGetDataSources-   , dbGetDataSourceInfo, dbGetDataSourceTableInfo-   -   -- ** Tables and columns-   , TableName, ColumnName, ColumnIndex-   , DbInfo(..), TableInfo(..), ColumnInfo(..)-   , dbGetInfo, dbGetTableInfo, dbGetTableColumnInfos, dbGetColumnInfos--   -- ** Dbms-   , Dbms(..), dbGetDbms   --   -- * Exceptions-   , DbError(..)-   , catchDbError, raiseDbError-   , dbHandleExn, dbCheckExn, dbRaiseExn-   , dbGetErrorMessages-   , dbGetDbStatus, DbStatus(..)-   -   -- * Sql types-   , DbType(..), SqlType(..)-   , toSqlTableName, toSqlColumnName-   , toSqlString, toSqlTime, toSqlDate, toSqlTimeStamp--   -- * Internal-   , dbStringRead, dbGetDataNull, toSqlType, fromSqlType-   ) where---import Graphics.UI.WXCore.WxcTypes-import Graphics.UI.WXCore.WxcDefs-import Graphics.UI.WXCore.WxcClasses-import Graphics.UI.WXCore.Types--import System.IO.Error( catch, ioError, isUserError, ioeGetErrorString)-import Data.List( isPrefixOf )-import Data.Char( isDigit )-import Foreign-import Foreign.Ptr-import Foreign.C.String-import Foreign.Marshal.Array-import System.Time---withValidObject :: (Object a -> IO ()) -> Object a -> IO ()-withValidObject f p-  = if (objectIsNull p) then return () else f p-{-----------------------------------------------------------  Query-----------------------------------------------------------}--- | Execute a SQL query against a database. Takes a function--- as argument that is applied to every database row ('DbRow').--- The results of these applications are returned as a list.--- Raises a 'DbError' on failure.------ >  do names <- dbQuery db "SELECT au_fname FROM authors" --- >                (\row -> dbRowGetString row "au_fname")--- >     putStr (unlines names)----dbQuery  :: Db a -> String -> (DbRow a -> IO b) -> IO [b]-dbQuery db select action-  = do dbExecute db select-       infos <- dbGetColumnInfos db-       walkRows (DbRow db infos) [] -  where-    walkRows row acc-      = do ok <- dbGetNext db-           if (not ok)-            then return (reverse acc)-            else do x <- action row-                    walkRows row (x:acc)---- | Execute a SQL query against a database. Takes a function--- as argument that is applied to every row in the database.--- Raises a 'DbError' on failure.------ >  dbQuery_ db "SELECT au_fname FROM authors" --- >    (\row -> do fname <- dbRowGetString row "au_fname"--- >                putStrLn fname)----dbQuery_ :: Db a -> String -> (DbRow a -> IO b) -> IO ()-dbQuery_ db select action-  = do dbHandleExn db $ dbExecSql db select-       infos <- dbGetColumnInfos db-       walkRows (DbRow db infos) -  where-    walkRows row -      = do ok <- dbGetNext db-           if (not ok)-            then return ()-            else do action row-                    walkRows row ---- | Execute a SQL statement against the database. Raises a 'DbError'--- on failure.-dbExecute :: Db a -> String -> IO ()-dbExecute db sql-  = dbHandleExn db $ dbExecSql db sql----- | Execute an 'IO' action as a transaction on a particular database. --- When no exception is raised, the changes to a database are committed. --- Always use this when using 'dbExecute' statements that update the database.------ > do dbWithConnection "pubs" "" "" $ \db -> --- >     dbTransaction db $--- >       dbExecute db "CREATE TABLE TestTable ( TestField LONG)"---       -dbTransaction :: Db a -> IO b -> IO b-dbTransaction db io-  = do x <- io-       dbHandleExn db (dbCommitTrans db)-       return x--{-----------------------------------------------------------  Result rows of a query-----------------------------------------------------------}--- | An abstract database row.-data DbRow a = DbRow (Db a) [ColumnInfo]---- | Get the column information of a row.-dbRowGetColumnInfos :: DbRow a -> [ColumnInfo]-dbRowGetColumnInfos (DbRow db columnInfos)-  = columnInfos---- | The column information of a particular column. --- Raises a 'DbError' on failure.-dbRowGetColumnInfo :: DbRow a -> ColumnName -> IO ColumnInfo-dbRowGetColumnInfo (DbRow db columnInfos) name-  = case lookup name (zip (map columnName columnInfos) columnInfos) of-      Just info -> return info-      Nothing   -> if (all isDigit name)-                    then case lookup (read name) (zip (map columnIndex columnInfos) columnInfos) of-                           Just info -> return info-                           Nothing   -> err-                    else err-  where-    err = raiseDbInvalidColumnName db (name ++ " in " ++ (show (map columnName columnInfos)))---- | Get a database value ('DbValue') from a row.--- Returns 'Nothing' when a @NULL@ value is encountered.--- Raises a 'DbError' on failure.-dbRowGetValueMb   :: DbValue b => DbRow a -> ColumnName -> IO (Maybe b)-dbRowGetValueMb row@(DbRow db columnInfos) name-  = do info <- dbRowGetColumnInfo row name-       dbValueRead db info ---- | Get a database value ('DbValue') from a row. --- Raises a 'DbError' on failure or when a @NULL@ value is encountered.-dbRowGetValue :: DbValue b => DbRow a -> ColumnName -> IO b-dbRowGetValue row@(DbRow db columnInfos) columnName-  = do mbValue <- dbRowGetValueMb row columnName-       case mbValue of-         Just x  -> return x-         Nothing -> raiseDbFetchNull db---- | Class of values that are supported by the database.-class DbValue a where-  -- | Read a value at a specified column from the database. -  -- Return 'Nothing' when a @NULL@ value is encountered-  -- Raises a 'DbError' on failure. ('dbGetDataNull' can be-  -- used when implementing this behaviour).-  dbValueRead :: Db b -> ColumnInfo -> IO (Maybe a)--  -- | Convert a value to a string representation that can be-  -- used directly in a SQL statement.-  toSqlValue  :: a -> String--instance DbValue Bool where-  dbValueRead db columnInfo -    = alloca $ \pint ->-      do isNull <- dbGetDataNull db $ dbGetDataInt db (columnIndex columnInfo) pint-         if isNull -          then return Nothing-          else do i <- peek pint-                  return (Just (i/=0))-  toSqlValue b-    = if b then "TRUE" else "FALSE"--instance DbValue Int where-  dbValueRead db columnInfo -    = alloca $ \pint ->-      do isNull <- dbGetDataNull db $ dbGetDataInt db (columnIndex columnInfo) pint-         if isNull -          then return Nothing-          else do i <- peek pint-                  return (Just (fromCInt i))-  toSqlValue i-    = show i--instance DbValue Double where-  dbValueRead db columnInfo -    = alloca $ \pdouble ->-      do isNull <- dbGetDataNull db $ dbGetDataDouble db (columnIndex columnInfo) pdouble-         if isNull -          then return Nothing-          else do d <- peek pdouble-                  return (Just d)--  toSqlValue d-    = show d--instance DbValue Integer where-  dbValueRead db columnInfo -    = do mbS <- dbStringRead db columnInfo -         case mbS of-           Nothing -> return Nothing-           Just s  -> case parse s of-                        Just i  -> return (Just i)-                        Nothing -> raiseDbTypeMismatch db -    where-      parse s-        = let (val,xs) = span isDigit s-          in case xs of-               ('.':frac) | all isDigit frac -                          -> Just (read (val ++ adjust (columnDecimalDigits columnInfo) frac))-               other      -> Nothing--  toSqlValue i-    = show i---instance DbValue ClockTime where-  dbValueRead db columnInfo-    = alloca $ \pfraction ->-      alloca $ \psecs ->-      do poke pfraction (toCInt 0)-         isNull <- dbGetDataNull db $-                   case columnSqlType columnInfo of-                     SqlDate -> dbGetDataDate db (columnIndex columnInfo) psecs-                     SqlTime -> dbGetDataTime db (columnIndex columnInfo) psecs-                     other   -> dbGetDataTimeStamp db (columnIndex columnInfo) psecs pfraction-         if (isNull)-          then return Nothing-          else do secs     <- peek psecs-                  fraction <- peek pfraction-                  return (Just (TOD (fromIntegral secs) (fromIntegral fraction * 1000)))--  toSqlValue ctime-    = toSqlTimeStamp ctime----- | Read an 'Bool' from the database. --- Raises a 'DbError' on failure or when a @NULL@ value is encountered.-dbRowGetBool :: DbRow a -> ColumnName -> IO Bool-dbRowGetBool = dbRowGetValue---- | Read an 'Bool' from the database. --- Returns 'Nothing' when a @NULL@ value is encountered.--- Raises a 'DbError' on failure.-dbRowGetBoolMb :: DbRow a -> ColumnName -> IO (Maybe Bool)-dbRowGetBoolMb = dbRowGetValueMb----- | Read an 'Int' from the database. --- Raises a 'DbError' on failure or when a @NULL@ value is encountered.-dbRowGetInt :: DbRow a -> ColumnName -> IO Int-dbRowGetInt = dbRowGetValue---- | Read an 'Int' from the database. --- Returns 'Nothing' when a @NULL@ value is encountered.--- Raises a 'DbError' on failure.-dbRowGetIntMb :: DbRow a -> ColumnName -> IO (Maybe Int)-dbRowGetIntMb = dbRowGetValueMb----- | Read an 'Double' from the database. --- Raises a 'DbError' on failure or when a @NULL@ value is encountered.-dbRowGetDouble :: DbRow a -> ColumnName -> IO Double-dbRowGetDouble = dbRowGetValue---- | Read an 'Double' from the database. --- Returns 'Nothing' when a @NULL@ value is encountered.--- Raises a 'DbError' on failure.-dbRowGetDoubleMb :: DbRow a -> ColumnName -> IO (Maybe Double)-dbRowGetDoubleMb = dbRowGetValueMb----- | Read an 'Integer' from the database. --- Raises a 'DbError' on failure or when a @NULL@ value is encountered.-dbRowGetInteger :: DbRow a -> ColumnName -> IO Integer-dbRowGetInteger = dbRowGetValue---- | Read an 'Integer' from the database. --- Returns 'Nothing' when a @NULL@ value is encountered.--- Raises a 'DbError' on failure.-dbRowGetIntegerMb :: DbRow a -> ColumnName -> IO (Maybe Integer)-dbRowGetIntegerMb = dbRowGetValueMb---- | Read an 'ClockTime' from the database (from a SQL Time, TimeStamp, or Date field). --- Raises a 'DbError' on failure or when a @NULL@ value is encountered.-dbRowGetClockTime :: DbRow a -> ColumnName -> IO ClockTime-dbRowGetClockTime = dbRowGetValue---- | Read an 'ClockTime' from the database (from a SQL Time, TimeStamp, or Date field). --- Returns 'Nothing' when a @NULL@ value is encountered.--- Raises a 'DbError' on failure.-dbRowGetClockTimeMb :: DbRow a -> ColumnName -> IO (Maybe ClockTime)-dbRowGetClockTimeMb = dbRowGetValueMb----- | Read a string value from the database. Returns the empty--- string when a @NULL@ value is encountered.--- Raises a 'DbError' on failure.-dbRowGetString :: DbRow a -> ColumnName -> IO String-dbRowGetString row name-  = do mbStr <- dbRowGetStringMb row name-       return (maybe "" id mbStr)---- | Read a string from the database. Returns 'Nothing' when a--- @NULL@ value is encountered.--- Raises a 'DbError' on failure.-dbRowGetStringMb :: DbRow a -> ColumnName -> IO (Maybe String)-dbRowGetStringMb row@(DbRow db columnInfos) name-  = do info <- dbRowGetColumnInfo row name-       dbStringRead db info ---- | Low level string reading.-dbStringRead :: Db a -> ColumnInfo -> IO (Maybe String)-dbStringRead db info -  = alloca $ \pbuf ->-    alloca $ \plen ->-    do dbHandleExn db $ dbGetDataBinary db (columnIndex info) True pbuf plen-       len <- peek plen-       if (fromCInt len == wxSQL_NULL_DATA)-        then do buf <- peek pbuf-                wxcFree buf-                return Nothing-        else do buf <- peek pbuf-                s   <- peekCStringLen (buf,fromCInt len)-                wxcFree buf-                return (Just s)---- | Convert a string to SQL string-toSqlString :: String -> String-toSqlString s-  = "'" ++ concatMap quote s ++ "'"-  where-    quote '\''  = "''"-    quote c     = [c]---- | Convert a 'ClockTime' to a SQL date string (without hours\/minutes\/seconds).-toSqlDate :: ClockTime -> String    -toSqlDate ctime-    = "'" ++ show (ctYear t) ++ "-" ++ show (ctMonth t) ++ "-" ++ show (ctDay t) ++ "'"-    where-      t = toUTCTime ctime---- | Convert a 'ClockTime' to a SQL full date (timestamp) string.-toSqlTimeStamp :: ClockTime -> String    -toSqlTimeStamp ctime-    = "'" ++ show (ctYear t) ++ "-" ++ show (ctMonth t) ++ "-" ++ show (ctDay t)-      ++ " " ++ show (ctHour t) ++ ":" ++ show (ctMin t) ++ ":" ++ show (ctSec t) ++ "'"-    where-      t = toUTCTime ctime---- | Convert a 'ClockTime' to a SQL time string (without year\/month\/day).-toSqlTime :: ClockTime -> String    -toSqlTime ctime-    = "'" ++ show (ctHour t) ++ ":" ++ show (ctMin t) ++ ":" ++ show (ctSec t) ++ "'"-    where-      t = toUTCTime ctime----- | Internal: used to implement 'dbReadValue' methods.--- Takes a @dbGetData...@ method and supplies the @Ptr CInt@ argument.--- It raises and exception on error. Otherwise, it returns 'True' when a--- @NULL@ value is read.-dbGetDataNull :: Db a -> (Ptr CInt -> IO Bool) -> IO Bool-dbGetDataNull db getData-  = alloca $ \pused ->-    do dbHandleExn db $ getData pused-       used <- peek pused-       return (fromCInt used == wxSQL_NULL_DATA)-    -{-----------------------------------------------------------  Open connection-----------------------------------------------------------}-{- | Open a (cached) connection and automatically close it after the computation-  returns. Takes the name of the data source, a user name, and password as-   arguments. Raises a database exception ('DbError') when the connection-   fails.--}-dbWithConnection :: DataSourceName -> String -> String -> (Db () -> IO b) -> IO b-dbWithConnection name userid password f-  = bracket (dbConnect name userid password)-            (dbDisconnect)-            (f)---{- | Open a direct database connection and automatically close it after the computation-  returns. This method is not recommended in general as--- the 'dbWithConnection' function is potentially much more efficient since it--- caches database connections and meta information, greatly reducing network traffic.--}-dbWithDirectConnection :: DataSourceName -> String -> String -> (Db () -> IO b) -> IO b-dbWithDirectConnection name userid password f-  = bracket (dbConnectDirect name userid password)-            (\db -> do{ dbClose db; dbDelete db } )-            (f)----- | (@dbConnect name userId password@) creates a (cached) connection to a --- data source @name@. Raises a database exception ('DbError') when the connection fails.--- Use 'dbDisconnect' to close the connection.-dbConnect :: DataSourceName -> String -> String -> IO (Db ())-dbConnect name userId password-  = bracket (dbConnectInfCreate nullHENV name userId password "" "" "" )-            (dbConnectInfDelete)-            (\connectInf -> -              do db <- dbGetConnection connectInf True-                 if objectIsNull db -                  then dbConnectDirect name userId password-                  else do opened <- dbIsOpen db-                          if (not opened)-                           then do dbFreeConnection db-                                   dbConnectDirect name userId password-                           else return db)---- | Open a direct database connection. This method is in general not recommended as--- the 'dbConnect' function is potentially much more efficient since it--- caches database connections and meta information, greatly reducing network traffic.-dbConnectDirect :: DataSourceName -> String -> String -> IO (Db ())-dbConnectDirect dataSource userId password -  = bracket (dbConnectInfCreate nullHENV dataSource userId password "" "" "") -            (dbConnectInfDelete)-            (\connectInf ->-             do henv <- dbConnectInfGetHenv connectInf-                db   <- dbCreate henv True-                if (objectIsNull db)-                 then raiseDbConnect dataSource-                 else do opened <- dbOpen db dataSource userId password-                         if (not opened)-                          then finalize (dbDelete db)-                                        (dbRaiseExn db)-                          else return db)----- | Closes a connection opened with 'dbConnect' (or 'dbConnectDirect').-dbDisconnect :: Db a -> IO ()-dbDisconnect db-  = do freed <- dbFreeConnection db-       if (freed) -        then return ()-        else do dbClose db-                dbDelete db---{-----------------------------------------------------------  Database meta information-----------------------------------------------------------}-type DataSourceName = String-type TableName      = String---- | Column names. Note that a column name consisting of a number can--- be used to retrieve a value by index, for example: 'dbGetString' @db \"1\"@.-type ColumnName     = String-type ColumnIndex    = Int---- | Database information.-data DbInfo-  = DbInfo   { dbCatalog  :: String       -- ^ System name of the database-             , dbSchema   :: String       -- ^ Schema name-             , dbTables   :: [TableInfo]  -- ^ The tables of the database-             }---- | Database table information.-data TableInfo-  = TableInfo{ tableName    :: TableName     -- ^ Name of the table.-             , tableType    :: String        -- ^ Type of the table (ie. @SYSTEM TABLE@, @TABLE@, etc)-             , tableRemarks :: String        -- ^ Comments-             , tableColumns :: [ColumnInfo]  -- ^ The columns of the table.-             }---- | Database column information.-data ColumnInfo-  = ColumnInfo{ columnName     :: ColumnName  -- ^ Column name.-              , columnIndex    :: ColumnIndex -- ^ 1-based column index.-              , columnSize     :: Int     -- ^ Length of the column.-              , columnNullable :: Bool    -- ^ Are NULL values allowed?  -              , columnType     :: DbType  -- ^ Logical type-              , columnSqlType  :: SqlType -- ^ SQL type-              , columnTypeName :: String  -- ^ SQL type name (ie. @VARCHAR@, @INTEGER@ etc.)-              , columnRemarks  :: String  -- ^ Comments--              , columnDecimalDigits    :: Int     -- ^ Number of decimal digits-              , columnNumPrecRadix     :: Int     -- ^ Radix precision-              , columnForeignKey       :: Int -- ^ Is this a foreign key column? 0 = no, 1 = first key, 2 = second key, etc. (not supported on all systems)-              , columnPrimaryKey        :: Int -- ^ Is this a primary key column? 0 = no, 1 = first key, 2 = second key, etc. (not supported on all systems)-              , columnForeignKeyTableName :: TableName  -- ^ Table that has this foreign key as a primary key.-              , columnPrimaryKeyTableNames :: [TableName]  -- ^ Tables that use this primary key as a foreign key.-              }----- | Get the complete meta information of a data source. Takes the--- data source name, a user id, and password as arguments.------ > dbGetDataSourceInfo dsn userid password--- >   = dbWithConnection dsn userId password dbGetInfo --- -dbGetDataSourceInfo :: DataSourceName -> String -> String -> IO DbInfo-dbGetDataSourceInfo dataSource userId password-  = dbWithConnection dataSource userId password dbGetInfo---- | Get the meta information of a table in a data source. Takes the--- data source name, table name, a user id, and password as arguments.-dbGetDataSourceTableInfo :: DataSourceName -> TableName -> String -> String -> IO TableInfo-dbGetDataSourceTableInfo dataSource tableName userId password-  = dbWithConnection dataSource userId password (\db -> dbGetTableInfo db tableName)---- | Get the meta information of a table in a database.-dbGetTableInfo :: Db a -> TableName -> IO TableInfo-dbGetTableInfo db name-  = do info <- dbGetInfo db-       case lookup name (zip (map tableName (dbTables info)) (dbTables info)) of-         Nothing    -> raiseDbInvalidTableName db name-         Just tinfo -> return tinfo---- | Get the complete meta information of a database.-dbGetInfo :: Db a -> IO DbInfo-dbGetInfo db-  = bracket (dbGetCatalog db "")-            (withValidObject dbInfDelete)-            (\dbInf ->do catalog  <- dbInfGetCatalogName dbInf-                         schema   <- dbInfGetSchemaName  dbInf-                         numTables<- dbInfGetNumTables   dbInf-                         tables   <- mapM (\idx -> do tableInf <- dbInfGetTableInf dbInf (idx-1)-                                                      dbTableInfGetInfo tableInf db) -                                          [1..numTables]-                         return (DbInfo catalog schema tables))--dbTableInfGetInfo :: DbTableInf a -> Db b -> IO TableInfo-dbTableInfGetInfo tableInf db-  = do tableName <- dbTableInfGetTableName tableInf-       tableType <- dbTableInfGetTableType tableInf-       remarks   <- dbTableInfGetTableRemarks tableInf-       numCols   <- dbTableInfGetNumCols tableInf-       columns   <- dbGetTableColumnInfos db tableName  -       return (TableInfo tableName tableType remarks columns)---- | Return the column information of the current query.-dbGetColumnInfos :: Db a -> IO [ColumnInfo]-dbGetColumnInfos db-  = alloca $ \pcnumCols ->-    bracket (dbGetResultColumns db pcnumCols)-            (withValidObject dbColInfArrayDelete)-            (\colInfs  -> do cnumCols <- peek pcnumCols-                             let numCols = fromCInt cnumCols-                             mapM (\idx -> do colInf <- dbColInfArrayGetColInf colInfs (idx-1)-                                              dbColInfGetInfo colInf idx) -                                  [1..numCols])-    ---- | Return the column information of a certain table. Use an empty--- table name to get the column information of the current query--- ('dbGetColumnInfos').-dbGetTableColumnInfos :: Db a -> TableName -> IO [ColumnInfo]-dbGetTableColumnInfos db tableName-  | null tableName = dbGetColumnInfos db-  | otherwise =-    alloca $ \pcnumCols ->-    bracket (dbGetColumns db tableName pcnumCols "")-            (withValidObject dbColInfArrayDelete)-            (\colInfs  -> do cnumCols <- peek pcnumCols-                             let numCols = fromCInt cnumCols-                             mapM (\idx -> do colInf <- dbColInfArrayGetColInf colInfs (idx-1)-                                              dbColInfGetInfo colInf idx) -                                  [1..numCols])-        -             -dbColInfGetInfo :: DbColInf a -> ColumnIndex -> IO ColumnInfo-dbColInfGetInfo info idx-  = do columnName <- dbColInfGetColName info-       columnSize <- dbColInfGetColumnSize info-       nullable   <- dbColInfIsNullable info-       tp         <- dbColInfGetDbDataType info-       sqltp      <- dbColInfGetSqlDataType info-       tpname     <- dbColInfGetTypeName info-       remarks    <- dbColInfGetRemarks info-       decdigits  <- dbColInfGetDecimalDigits info-       numprecrad <- dbColInfGetNumPrecRadix info-       fk         <- dbColInfGetFkCol info-       fkname     <- dbColInfGetFkTableName info-       pk         <- dbColInfGetPkCol info-       pkname     <- dbColInfGetPkTableName info-       return (ColumnInfo columnName idx columnSize nullable (toEnum tp) (toSqlType sqltp) tpname remarks-                          decdigits numprecrad fk pk fkname (parseTables pkname) )-  where-    -- tables formatted as: "[name1][name2]...". Parser basically admits anything :-)-    parseTables []        = []  -- done-    parseTables ('[':xs)  = let (name,ys) = span (/=']') xs  -- take till close bracket-                            in name : parseTables ys-    parseTables (']':xs)  = parseTables xs    -- ignore ']'-    parseTables (' ':xs)  = parseTables xs    -- ignore ' '-    parseTables xs        = [xs]              -- should not happen: take rest as a single database name---{-----------------------------------------------------------  Data sources-----------------------------------------------------------}--- | Returns the name and description of the data sources on the system.-dbGetDataSources :: IO [(DataSourceName,String)]-dbGetDataSources -  = do connectInf <- dbConnectInfCreate nullHENV "" "" "" "" "" ""-       henv       <- dbConnectInfGetHenv connectInf-       xs         <- loop henv True-       dbConnectInfDelete connectInf-       return xs-  where-    loop henv isFirst-      = do mbSrc <- dbGetDataSourceEx henv isFirst-           case mbSrc of-             Nothing  -> return []-             Just x   -> do xs <- loop henv False-                            return (x:xs)--dbGetDataSourceEx :: HENV () -> Bool -> IO (Maybe (String,String))-dbGetDataSourceEx henv isFirst-  = allocaArray (dsnLen+1)  $ \cdsn  ->-    allocaArray (descLen+1) $ \cdesc ->-    do pokeArray0 0 cdsn []-       pokeArray0 0 cdesc []-       ok   <- dbGetDataSource henv (castPtr cdsn) dsnLen (castPtr cdesc) descLen -                               (if isFirst then wxSQL_FETCH_FIRST else wxSQL_FETCH_NEXT)-       if not ok-        then return Nothing-        else do dsn  <- peekCWString cdsn-                desc <- peekCWString cdesc -                return (Just (dsn,desc))-  where-    dsnLen  = 255-    descLen = 1024----- | Get the data source name of a database.-dbGetDataSourceName :: Db a -> IO DataSourceName-dbGetDataSourceName db-  = dbGetDatasourceName db--{-----------------------------------------------------------  Dbms-----------------------------------------------------------}--- The Database backend system.-data Dbms-  = DbmsORACLE -  | DbmsSYBASE_ASA         -- ^ Adaptive Server Anywhere-  | DbmsSYBASE_ASE         -- ^ Adaptive Server Enterprise-  | DbmsMS_SQL_SERVER -  | DbmsMY_SQL -  | DbmsPOSTGRES -  | DbmsACCESS -  | DbmsDBASE -  | DbmsINFORMIX -  | DbmsVIRTUOSO -  | DbmsDB2 -  | DbmsINTERBASE -  | DbmsPERVASIVE_SQL -  | DbmsXBASE_SEQUITER -  | DbmsUNIDENTIFIED -  deriving (Eq,Enum,Show)---- | Retrieve the database backend system.-dbGetDbms :: Db a -> IO Dbms-dbGetDbms db-  = do i <- dbDbms db-       if (i==0 || i > fromEnum DbmsUNIDENTIFIED)-        then return DbmsUNIDENTIFIED-        else return (toEnum (i-1))-       --{-----------------------------------------------------------  Database Exceptions-----------------------------------------------------------}--- | Database error type.-data DbError-  = DbError   { dbErrorMsg   :: String-              , dbDataSource :: DataSourceName-              , dbErrorCode  :: DbStatus -              , dbNativeCode :: Int-              , dbSqlState   :: String  -              }    -- ^ General error.-  deriving (Read,Show)  ----- | Automatically raise a database exception when 'False' is returned.--- You can use this method around basic database methods to conveniently--- throw Haskell exceptions.------ >  dbHandleExn db $ dbExecSql db "SELECT au_fname FROM authors"           ----dbHandleExn :: Db a -> IO Bool -> IO ()-dbHandleExn db io-  = do ok <- io-       if ok-        then return ()-        else dbRaiseExn db---- | Raise a database exception based on the current error status of--- the database. Does nothing when no error is set.-dbCheckExn :: Db a -> IO ()-dbCheckExn db-  = do status <- dbGetDbStatus db-       if (status == DB_SUCCESS)-        then return ()-        else dbRaiseExn db---- | Raise a database exception based on the current error status of--- the database.-dbRaiseExn :: Db a -> IO b-dbRaiseExn db-  = do errorMsg  <- dbGetErrorMessage db 0-       errorCode <- dbGetDbStatus db-       nativeCode<- dbGetNativeError db-       dataSource<- dbGetDataSourceName db-       raiseDbError (DbError (extractMessage errorMsg) dataSource errorCode nativeCode (extractSqlState errorMsg))-  where-    extractSqlState msg-      | isPrefixOf sqlStatePrefix msg = takeWhile (/='\n') (drop (length sqlStatePrefix) msg)-      | otherwise                     = ""-      where-        sqlStatePrefix  = "SQL State = "--    extractMessage msg-      = dropTillPrefix "Error Message = " msg--    dropTillPrefix prefix msg-      = walk msg-      where-        walk s  | null s                = msg-                | isPrefixOf prefix s   = drop (length prefix) s-                | otherwise             = walk (tail s)---- | Get the raw error message history. More recent error messages--- come first.-dbGetErrorMessages :: Db a -> IO [String]-dbGetErrorMessages db-  = do n <- dbGetNumErrorMessages db-       mapM (\idx -> dbGetErrorMessage db (idx-1)) [1..n]---- | Raise a type mismatch error-raiseDbTypeMismatch :: Db a -> IO b-raiseDbTypeMismatch db-  = do dataSource <- dbGetDataSourceName db-       raiseDbError (DbError "Type mismatch" dataSource DB_ERR_TYPE_MISMATCH 0 "" )---- | Raise a fetch null error-raiseDbFetchNull :: Db a -> IO b-raiseDbFetchNull db-  = do dataSource <- dbGetDataSourceName db-       raiseDbError (DbError "Unexpected NULL value" dataSource DB_ERR_FETCH_NULL 0 "")---- | Raise an invalid column name error-raiseDbInvalidColumnName :: Db a -> ColumnName -> IO b-raiseDbInvalidColumnName db name-  = do dataSource <- dbGetDataSourceName db-       raiseDbError (DbError ("Invalid column name/index (" ++ name ++ ")") dataSource DB_ERR_INVALID_COLUMN_NAME 0 "")---- | Raise an invalid table name error-raiseDbInvalidTableName :: Db a -> ColumnName -> IO b-raiseDbInvalidTableName db name-  = do dataSource <- dbGetDataSourceName db-       raiseDbError (DbError ("Invalid table name (" ++ name ++ ")") dataSource DB_ERR_INVALID_TABLE_NAME 0 "")---- | Raise a connection error-raiseDbConnect :: DataSourceName -> IO a-raiseDbConnect name-  = raiseDbError (DbError ("Unable to establish a connection to the '" ++ name ++ "' database") -                 name DB_ERR_CONNECT 0 "")---- | Raise a database error.-raiseDbError :: DbError -> IO a-raiseDbError err-  = ioError (userError (dbErrorPrefix ++ show err))---- | Handle database errors.-catchDbError :: IO a -> (DbError -> IO a) -> IO a-catchDbError io handler-  = catch io $ \err -> -    let errmsg = ioeGetErrorString err-    in if (isUserError err && isPrefixOf dbErrorPrefix errmsg)-        then handler (read (drop (length dbErrorPrefix) errmsg))-        else ioError err-     -dbErrorPrefix-  = "Database error: "--{-----------------------------------------------------------  Database Status-----------------------------------------------------------}--- | Status of the database.-data DbStatus-  = DB_FAILURE                        -- ^ General failure.-  | DB_SUCCESS                        -- ^ No error.-  | DB_ERR_NOT_IN_USE-  | DB_ERR_GENERAL_WARNING                            -- ^ SqlState = @01000@-  | DB_ERR_DISCONNECT_ERROR                           -- ^ SqlState = @01002@-  | DB_ERR_DATA_TRUNCATED                             -- ^ SqlState = @01004@-  | DB_ERR_PRIV_NOT_REVOKED                           -- ^ SqlState = @01006@-  | DB_ERR_INVALID_CONN_STR_ATTR                      -- ^ SqlState = @01S00@-  | DB_ERR_ERROR_IN_ROW                               -- ^ SqlState = @01S01@-  | DB_ERR_OPTION_VALUE_CHANGED                       -- ^ SqlState = @01S02@-  | DB_ERR_NO_ROWS_UPD_OR_DEL                         -- ^ SqlState = @01S03@-  | DB_ERR_MULTI_ROWS_UPD_OR_DEL                      -- ^ SqlState = @01S04@-  | DB_ERR_WRONG_NO_OF_PARAMS                         -- ^ SqlState = @07001@-  | DB_ERR_DATA_TYPE_ATTR_VIOL                        -- ^ SqlState = @07006@-  | DB_ERR_UNABLE_TO_CONNECT                          -- ^ SqlState = @08001@-  | DB_ERR_CONNECTION_IN_USE                          -- ^ SqlState = @08002@-  | DB_ERR_CONNECTION_NOT_OPEN                        -- ^ SqlState = @08003@-  | DB_ERR_REJECTED_CONNECTION                        -- ^ SqlState = @08004@-  | DB_ERR_CONN_FAIL_IN_TRANS                         -- ^ SqlState = @08007@-  | DB_ERR_COMM_LINK_FAILURE                          -- ^ SqlState = @08S01@-  | DB_ERR_INSERT_VALUE_LIST_MISMATCH                 -- ^ SqlState = @21S01@-  | DB_ERR_DERIVED_TABLE_MISMATCH                     -- ^ SqlState = @21S02@-  | DB_ERR_STRING_RIGHT_TRUNC                         -- ^ SqlState = @22001@-  | DB_ERR_NUMERIC_VALUE_OUT_OF_RNG                   -- ^ SqlState = @22003@-  | DB_ERR_ERROR_IN_ASSIGNMENT                        -- ^ SqlState = @22005@-  | DB_ERR_DATETIME_FLD_OVERFLOW                      -- ^ SqlState = @22008@-  | DB_ERR_DIVIDE_BY_ZERO                             -- ^ SqlState = @22012@-  | DB_ERR_STR_DATA_LENGTH_MISMATCH                   -- ^ SqlState = @22026@-  | DB_ERR_INTEGRITY_CONSTRAINT_VIOL                  -- ^ SqlState = @23000@-  | DB_ERR_INVALID_CURSOR_STATE                       -- ^ SqlState = @24000@-  | DB_ERR_INVALID_TRANS_STATE                        -- ^ SqlState = @25000@-  | DB_ERR_INVALID_AUTH_SPEC                          -- ^ SqlState = @28000@-  | DB_ERR_INVALID_CURSOR_NAME                        -- ^ SqlState = @34000@-  | DB_ERR_SYNTAX_ERROR_OR_ACCESS_VIOL                -- ^ SqlState = @37000@-  | DB_ERR_DUPLICATE_CURSOR_NAME                      -- ^ SqlState = @3C000@-  | DB_ERR_SERIALIZATION_FAILURE                      -- ^ SqlState = @40001@-  | DB_ERR_SYNTAX_ERROR_OR_ACCESS_VIOL2               -- ^ SqlState = @42000@-  | DB_ERR_OPERATION_ABORTED                          -- ^ SqlState = @70100@-  | DB_ERR_UNSUPPORTED_FUNCTION                       -- ^ SqlState = @IM001@-  | DB_ERR_NO_DATA_SOURCE                             -- ^ SqlState = @IM002@-  | DB_ERR_DRIVER_LOAD_ERROR                          -- ^ SqlState = @IM003@-  | DB_ERR_SQLALLOCENV_FAILED                         -- ^ SqlState = @IM004@-  | DB_ERR_SQLALLOCCONNECT_FAILED                     -- ^ SqlState = @IM005@-  | DB_ERR_SQLSETCONNECTOPTION_FAILED                 -- ^ SqlState = @IM006@-  | DB_ERR_NO_DATA_SOURCE_DLG_PROHIB                  -- ^ SqlState = @IM007@-  | DB_ERR_DIALOG_FAILED                              -- ^ SqlState = @IM008@-  | DB_ERR_UNABLE_TO_LOAD_TRANSLATION_DLL             -- ^ SqlState = @IM009@-  | DB_ERR_DATA_SOURCE_NAME_TOO_LONG                  -- ^ SqlState = @IM010@-  | DB_ERR_DRIVER_NAME_TOO_LONG                       -- ^ SqlState = @IM011@-  | DB_ERR_DRIVER_KEYWORD_SYNTAX_ERROR                -- ^ SqlState = @IM012@-  | DB_ERR_TRACE_FILE_ERROR                           -- ^ SqlState = @IM013@-  | DB_ERR_TABLE_OR_VIEW_ALREADY_EXISTS               -- ^ SqlState = @S0001@-  | DB_ERR_TABLE_NOT_FOUND                            -- ^ SqlState = @S0002@-  | DB_ERR_INDEX_ALREADY_EXISTS                       -- ^ SqlState = @S0011@-  | DB_ERR_INDEX_NOT_FOUND                            -- ^ SqlState = @S0012@-  | DB_ERR_COLUMN_ALREADY_EXISTS                      -- ^ SqlState = @S0021@-  | DB_ERR_COLUMN_NOT_FOUND                           -- ^ SqlState = @S0022@-  | DB_ERR_NO_DEFAULT_FOR_COLUMN                      -- ^ SqlState = @S0023@-  | DB_ERR_GENERAL_ERROR                              -- ^ SqlState = @S1000@-  | DB_ERR_MEMORY_ALLOCATION_FAILURE                  -- ^ SqlState = @S1001@-  | DB_ERR_INVALID_COLUMN_NUMBER                      -- ^ SqlState = @S1002@-  | DB_ERR_PROGRAM_TYPE_OUT_OF_RANGE                  -- ^ SqlState = @S1003@-  | DB_ERR_SQL_DATA_TYPE_OUT_OF_RANGE                 -- ^ SqlState = @S1004@-  | DB_ERR_OPERATION_CANCELLED                        -- ^ SqlState = @S1008@-  | DB_ERR_INVALID_ARGUMENT_VALUE                     -- ^ SqlState = @S1009@-  | DB_ERR_FUNCTION_SEQUENCE_ERROR                    -- ^ SqlState = @S1010@-  | DB_ERR_OPERATION_INVALID_AT_THIS_TIME             -- ^ SqlState = @S1011@-  | DB_ERR_INVALID_TRANS_OPERATION_CODE               -- ^ SqlState = @S1012@-  | DB_ERR_NO_CURSOR_NAME_AVAIL                       -- ^ SqlState = @S1015@-  | DB_ERR_INVALID_STR_OR_BUF_LEN                     -- ^ SqlState = @S1090@-  | DB_ERR_DESCRIPTOR_TYPE_OUT_OF_RANGE               -- ^ SqlState = @S1091@-  | DB_ERR_OPTION_TYPE_OUT_OF_RANGE                   -- ^ SqlState = @S1092@-  | DB_ERR_INVALID_PARAM_NO                           -- ^ SqlState = @S1093@-  | DB_ERR_INVALID_SCALE_VALUE                        -- ^ SqlState = @S1094@-  | DB_ERR_FUNCTION_TYPE_OUT_OF_RANGE                 -- ^ SqlState = @S1095@-  | DB_ERR_INF_TYPE_OUT_OF_RANGE                      -- ^ SqlState = @S1096@-  | DB_ERR_COLUMN_TYPE_OUT_OF_RANGE                   -- ^ SqlState = @S1097@-  | DB_ERR_SCOPE_TYPE_OUT_OF_RANGE                    -- ^ SqlState = @S1098@-  | DB_ERR_NULLABLE_TYPE_OUT_OF_RANGE                 -- ^ SqlState = @S1099@-  | DB_ERR_UNIQUENESS_OPTION_TYPE_OUT_OF_RANGE        -- ^ SqlState = @S1100@-  | DB_ERR_ACCURACY_OPTION_TYPE_OUT_OF_RANGE          -- ^ SqlState = @S1101@-  | DB_ERR_DIRECTION_OPTION_OUT_OF_RANGE              -- ^ SqlState = @S1103@-  | DB_ERR_INVALID_PRECISION_VALUE                    -- ^ SqlState = @S1104@-  | DB_ERR_INVALID_PARAM_TYPE                         -- ^ SqlState = @S1105@-  | DB_ERR_FETCH_TYPE_OUT_OF_RANGE                    -- ^ SqlState = @S1106@-  | DB_ERR_ROW_VALUE_OUT_OF_RANGE                     -- ^ SqlState = @S1107@-  | DB_ERR_CONCURRENCY_OPTION_OUT_OF_RANGE            -- ^ SqlState = @S1108@-  | DB_ERR_INVALID_CURSOR_POSITION                    -- ^ SqlState = @S1109@-  | DB_ERR_INVALID_DRIVER_COMPLETION                  -- ^ SqlState = @S1110@-  | DB_ERR_INVALID_BOOKMARK_VALUE                     -- ^ SqlState = @S1111@-  | DB_ERR_DRIVER_NOT_CAPABLE                         -- ^ SqlState = @S1C00@-  | DB_ERR_TIMEOUT_EXPIRED                            -- ^ SqlState = @S1T00@-  | DB_ERR_FETCH_NULL          -- ^ Unexpected NULL value-  | DB_ERR_INVALID_TABLE_NAME  -- ^ Invalid (or unknown) table name-  | DB_ERR_INVALID_COLUMN_NAME -- ^ Invalid (or unknown) column name-  | DB_ERR_TYPE_MISMATCH       -- ^ Trying to convert a SQL value of the wrong type-  | DB_ERR_CONNECT             -- ^ Unable to establish a connection-  deriving (Read,Show,Eq,Enum)---- | Retrieve the current status of the database-dbGetDbStatus :: Db a -> IO DbStatus-dbGetDbStatus db-  = do i <- dbGetStatus db-       if (i < 0 || i >= fromEnum DB_ERR_CONNECT)-        then return DB_FAILURE-        else return (toEnum i)--{-----------------------------------------------------------  Db types-----------------------------------------------------------}--- | Standard logical database types.-data DbType-  = DbUnknown -  | DbVarChar         -- ^ Strings-  | DbInteger         -  | DbFloat       -  | DbDate-  | DbBlob            -- ^ Binary-  deriving (Show,Eq,Enum)---- | Standard SQL types. -data SqlType-  = SqlChar           -- ^ Fixed Strings-  | SqlNumeric-  | SqlDecimal-  | SqlInteger-  | SqlSmallInt-  | SqlFloat-  | SqlReal-  | SqlDouble-  | SqlDate-  | SqlTime-  | SqlTimeStamp-  | SqlVarChar        -- ^ Strings-  | SqlBit-  | SqlBinary-  | SqlVarBinary-  | SqlBigInt-  | SqlTinyInt-  | SqlUnknown Int    -- ^ Unknown SQL type. Argument specifies the system sql type.-  deriving (Show,Eq)--instance Enum SqlType where-  toEnum i-    = case i of-        1  -> SqlChar           -        2  -> SqlNumeric-        3  -> SqlDecimal-        4  -> SqlInteger-        5  -> SqlSmallInt-        6  -> SqlFloat-        7  -> SqlReal-        8  -> SqlDouble-        9  -> SqlDate-        10 -> SqlTime-        11 -> SqlTimeStamp-        12 -> SqlVarChar-        13 -> SqlBit-        14 -> SqlBinary-        15 -> SqlVarBinary-        16 -> SqlBigInt-        17 -> SqlTinyInt-        _  -> SqlUnknown i--  fromEnum tp-    = case tp of-        SqlChar       -> 1-        SqlNumeric    -> 2-        SqlDecimal    -> 3-        SqlInteger    -> 4-        SqlSmallInt   -> 5-        SqlFloat      -> 6-        SqlReal       -> 7-        SqlDouble     -> 8-        SqlDate       -> 9-        SqlTime       -> 10 -        SqlTimeStamp  -> 11-        SqlVarChar    -> 12-        SqlBit        -> 13-        SqlBinary     -> 14-        SqlVarBinary  -> 15-        SqlBigInt     -> 16-        SqlTinyInt    -> 17 -        SqlUnknown i  -> i---- | Convert a system SQL type (like 'wxSQL_C_CHAR') to a standard 'SqlType'.-toSqlType :: Int -> SqlType-toSqlType i-  = unsafePerformIO $-    do tp <- dbSqlTypeToStandardSqlType i-       return (toEnum tp)---- | Convert to a system SQL type (like 'wxSQL_C_INTEGER') from a standard 'SqlType'.-fromSqlType :: SqlType -> Int-fromSqlType tp-  = unsafePerformIO (dbStandardSqlTypeToSqlType (fromEnum tp))---- | Convert a table name to a format that can be used directly in SQL statements.--- For example, this call can do case conversion and quoting.-toSqlTableName :: Db a -> TableName -> TableName-toSqlTableName db name-  = unsafePerformIO $ dbSQLTableName db name---- | Convert a column name to a format that can be used directly in SQL statements.--- For example, this call can do case conversion and quoting.-toSqlColumnName :: Db a -> ColumnName -> ColumnName-toSqlColumnName db name-  = unsafePerformIO $ dbSQLColumnName db name---{-----------------------------------------------------------   Print meta information about  a particular data source-----------------------------------------------------------}-instance Show DbInfo where-  show info   = unlines (showDbInfo info)--showDbInfo :: DbInfo -> [String]-showDbInfo info-  = ["catalog: " ++ dbCatalog info-    ,"schema : " ++ dbSchema info-    ,"tables : "-    ] ++ -    numbered (map showTableInfo (dbTables info))---instance Show TableInfo where-  show info   = unlines (showTableInfo info)--showTableInfo :: TableInfo -> [String]-showTableInfo info-  = ["name   : " ++ tableName info-    ,"type   : " ++ tableType info-    ,"remarks: " ++ tableRemarks info-    ,"columns: "-    ] ++ showColumnInfos (tableColumns info)-    --instance Show ColumnInfo where-  show info       = unlines (showColumnInfo info)-  showList infos  = showString (unlines (showColumnInfos infos))--showColumnInfos infos-  = numbered (map showColumnInfo infos)--showColumnInfo info-  = ["name   : " ++ columnName info-    ,"index  : " ++ show (columnIndex info)-    ,"type   : " ++ columnTypeName info-    ,"size   : " ++ show (columnSize info)-    ,"sqltp  : " ++ show (columnSqlType info)-    ,"type id: " ++ show (columnType info)-    ,"digits : " ++ show (columnDecimalDigits info)-    ,"prec   : " ++ show (columnNumPrecRadix info)-    ,"remarks: " ++ columnRemarks info-    ,"pkey   : " ++ show (columnPrimaryKey info)-    ,"ptables: " ++ show (columnPrimaryKeyTableNames info)-    ,"fkey   : " ++ show (columnForeignKey info)-    ,"ftable : " ++ columnForeignKeyTableName info-    ]----numbered xss-  = concat [shift (" " ++ adjust 3 (show i ++ ":")) xs | (i,xs) <- zip [1..] xss]-  where-    shift prefix []-      = []-    shift prefix (x:xs)-      = [prefix ++ x] ++ map (replicate (length prefix) ' ' ++) xs--adjust :: Int -> String -> String-adjust n s  | length s < n  = s ++ replicate (n - length s) ' '-            | otherwise     = s
src/haskell/Graphics/UI/WXCore/Defines.hs view
@@ -1,119 +1,120 @@-------------------------------------------------------------------------------------------{-|	Module      :  Defines-	Copyright   :  (c) Daan Leijen 2003-	License     :  wxWindows--	Maintainer  :  wxhaskell-devel@lists.sourceforge.net-	Stability   :  provisional-	Portability :  portable--Exports standard /defines/ of wxWindows.--}-------------------------------------------------------------------------------------------module Graphics.UI.WXCore.Defines(-            -- * GUI toolkit-            WxToolkit(..), wxToolkit, wxVersion-            -- * Files-            , getAbsoluteFilePath-            , dirSep, pathSep-            ) where--import System.Directory-import System.FilePath-import Graphics.UI.WXCore.WxcClasses-import System.IO.Unsafe( unsafePerformIO )--{---------------------------------------------------------------------------------  ---------------------------------------------------------------------------------}---- | wxWindows library kinds.-data WxToolkit  = WxGTK         -- ^ GTK-                | WxMac         -- ^ MacOS-                | WxMSW         -- ^ Any windows-                | WxMotif       -                | WxMGL         -- ^ SciTech soft MGL-                | WxUniversal-                | WxOSTwo       -- ^ OS\/2-                | WxXEleven     -- ^ X11-                | WxUnknown-                deriving (Eq,Show,Enum)--{-# NOINLINE wxToolkit #-}--- | Get the current wxWindows library kind.-wxToolkit :: WxToolkit-wxToolkit-  = unsafePerformIO $ findDefine WxUnknown toolkits-  where-    toolkits  = [("__WXGTK__", WxGTK)-                ,("__WXMAC__", WxMac)-                ,("__WXMSW__", WxMSW)-                ,("__WXMOTIF__", WxMotif)-                ,("__WXMGL__", WxMGL)-                ,("__WXUNIVERSAL__", WxUniversal)-                ,("__WXOS2__", WxOSTwo)-                ,("__WXX11__", WxXEleven)-                ]---findDefine :: a -> [(String,a)] -> IO a-findDefine def []-  = return def-findDefine def ((name,val):xs)-  = do defined <- isDefined name-       if (defined)-        then return val-        else findDefine def xs---{-# NOINLINE wxVersion #-}--- | Return the version of the wxWIndows library. It is composed of the major--- version times 1000, plus the minor version times 100, plus the release number.--- For example, version 2.1.15 would be 2115.-wxVersion :: Int-wxVersion-  = unsafePerformIO $ versionNumber----{------------------------------------------------------------------------------------------  relative files------------------------------------------------------------------------------------------}---- | Find a file relative to the application or current directory.--- (absolute paths are passed without modification). This allows one--- to access resources relative to the installation directory in a--- portable way.-getAbsoluteFilePath :: FilePath -> IO FilePath-getAbsoluteFilePath fname-  = do exist <- doesFileExist fname-       if exist-        then return fname-        else do appdir <- getApplicationDir-                let appdirfname = appdir </> fname-                exist  <- doesFileExist appdirfname-                if exist-                 then return appdirfname-                 else do cwd <- getCurrentDirectory -                         let cwdfname = cwd </> fname-                         exist <- doesFileExist cwdfname-                         if exist-                          then return cwdfname-                          else return fname--{-# DEPRECATED dirSep "Use System.FilePath module and/or its module's pathSeparator instead" #-}--- | deprecated: Use System.FilePath module and/or its module\'s 'pathSeparator' instead.-dirSep :: String-dirSep-  = case wxToolkit of-      WxMSW   -> "\\"-      other   -> "/"--{-# DEPRECATED pathSep "Use System.FilePath module's searchPathSeparator instead" #-}--- | deprecated: Use System.FilePath module\'s 'searchPathSeparator' instead.-pathSep :: String-pathSep-  = case wxToolkit of-      WxMSW   -> ";"-      other   -> ":"-+-----------------------------------------------------------------------------------------
+{-|
+Module      :  Defines
+Copyright   :  (c) Daan Leijen 2003
+License     :  wxWindows
+
+Maintainer  :  wxhaskell-devel@lists.sourceforge.net
+Stability   :  provisional
+Portability :  portable
+
+Exports standard /defines/ of wxWidgets.
+-}
+-----------------------------------------------------------------------------------------
+module Graphics.UI.WXCore.Defines(
+            -- * GUI toolkit
+            WxToolkit(..), wxToolkit, wxVersion
+            -- * Files
+            , getAbsoluteFilePath
+            , dirSep, pathSep
+            ) where
+
+import System.Directory
+import System.FilePath
+import Graphics.UI.WXCore.WxcClasses
+import System.IO.Unsafe( unsafePerformIO )
+
+{--------------------------------------------------------------------------------
+  
+--------------------------------------------------------------------------------}
+
+-- | wxWidgets library kinds.
+data WxToolkit  = WxGTK         -- ^ GTK
+                | WxMac         -- ^ MacOS
+                | WxMSW         -- ^ Any windows
+                | WxMotif       
+                | WxMGL         -- ^ SciTech soft MGL
+                | WxUniversal
+                | WxOSTwo       -- ^ OS\/2
+                | WxXEleven     -- ^ X11
+                | WxUnknown
+                deriving (Eq,Show,Enum)
+
+{-# NOINLINE wxToolkit #-}
+-- | Get the current wxWidgets library kind.
+wxToolkit :: WxToolkit
+wxToolkit
+  = unsafePerformIO $ findDefine WxUnknown toolkits
+  where
+    toolkits  = [("__WXGTK__", WxGTK)
+                ,("__WXMAC__", WxMac)
+                ,("__WXMSW__", WxMSW)
+                ,("__WXMOTIF__", WxMotif)
+                ,("__WXMGL__", WxMGL)
+                ,("__WXUNIVERSAL__", WxUniversal)
+                ,("__WXOS2__", WxOSTwo)
+                ,("__WXX11__", WxXEleven)
+                ]
+
+
+findDefine :: a -> [(String,a)] -> IO a
+findDefine def []
+  = return def
+findDefine def ((name,val):xs)
+  = do defined <- isDefined name
+       if (defined)
+        then return val
+        else findDefine def xs
+
+
+{-# NOINLINE wxVersion #-}
+-- | Return the version of the wxWidgets library. It is composed of the major
+-- version times 1000, plus the minor version times 100, plus the release number.
+-- For example, version 2.1.15 would be 2115.
+wxVersion :: Int
+wxVersion
+  = unsafePerformIO $ versionNumber
+
+
+
+{-----------------------------------------------------------------------------------------
+  relative files
+-----------------------------------------------------------------------------------------}
+
+-- | Find a file relative to the application or current directory.
+-- (absolute paths are passed without modification). This allows one
+-- to access resources relative to the installation directory in a
+-- portable way.
+getAbsoluteFilePath :: FilePath -> IO FilePath
+getAbsoluteFilePath fname
+  = do exist <- doesFileExist fname
+       if exist
+        then return fname
+        else do appdir <- getApplicationDir
+                let appdirfname = appdir </> fname
+                appdirfnameExists  <- doesFileExist appdirfname
+                if appdirfnameExists
+                 then return appdirfname
+                 else do cwd <- getCurrentDirectory 
+                         let cwdfname = cwd </> fname
+                         cwdfnameExists <- doesFileExist cwdfname
+                         if cwdfnameExists
+                          then return cwdfname
+                          else return fname
+
+{-# DEPRECATED dirSep "Use System.FilePath module and/or its module's pathSeparator instead" #-}
+-- | deprecated: Use System.FilePath module and/or its module\'s 'pathSeparator' instead.
+dirSep :: String
+dirSep
+  = case wxToolkit of
+      WxMSW   -> "\\"
+      _other  -> "/"
+
+{-# DEPRECATED pathSep "Use System.FilePath module's searchPathSeparator instead" #-}
+-- | deprecated: Use System.FilePath module\'s 'searchPathSeparator' instead.
+pathSep :: String
+pathSep
+  = case wxToolkit of
+      WxMSW   -> ";"
+      _other  -> ":"
+
src/haskell/Graphics/UI/WXCore/Dialogs.hs view
@@ -1,298 +1,298 @@----------------------------------------------------------------------------------{-|	Module      :  Dialogs-	Copyright   :  (c) Daan Leijen 2003-	License     :  wxWindows--	Maintainer  :  wxhaskell-devel@lists.sourceforge.net-	Stability   :  provisional-	Portability :  portable--Standard dialogs and (non modal) tip windows.--}----------------------------------------------------------------------------------module Graphics.UI.WXCore.Dialogs-    ( -    -- * Messages-      errorDialog, warningDialog, infoDialog-    , confirmDialog, proceedDialog-    -- ** Non-modal-    , tipWindowMessage, tipWindowMessageBounded--    -- * Files-    , fileOpenDialog-    , filesOpenDialog-    , fileSaveDialog-    , dirOpenDialog-    -- * Misc-    , fontDialog-    , colorDialog-    , passwordDialog-    , textDialog-    , numberDialog-    -- * Internal-    , messageDialog-    , fileDialog-    ) where--import Data.List( intersperse )-import Graphics.UI.WXCore.WxcTypes-import Graphics.UI.WXCore.WxcDefs-import Graphics.UI.WXCore.WxcClasses-import Graphics.UI.WXCore.Types-import Graphics.UI.WXCore.Draw----- | Opens a non-modal tip window with a text. The window is closed automatically--- when the user clicks the window or when it loses the focus.-tipWindowMessage :: Window a -> String -> IO ()-tipWindowMessage parent message-  = do tipWindowCreate parent message 100-       return ()---- | Opens a non-modal tip window with a text. The window is closed automatically--- when the mouse leaves the specified area, or when the user clicks the window,--- or when the window loses the focus.-tipWindowMessageBounded :: Window a -> String -> Rect -> IO ()-tipWindowMessageBounded parent message boundingBox-  = do tipWindow <- tipWindowCreate parent message 100-       tipWindowSetBoundingRect tipWindow boundingBox-       return ()---- | Opens a dialog that lets the user select multiple files. See 'fileOpenDialog' for a description--- of the arguments. Returns the empty list when the user selected no files or pressed the cancel button.-filesOpenDialog :: Window a -> Bool -> Bool -> String -> [(String,[String])] -> FilePath -> FilePath -> IO [FilePath]-filesOpenDialog parent rememberCurrentDir allowReadOnly message wildcards directory filename-  = fileDialog parent result flags message wildcards directory filename-  where-    flags-      = wxOPEN .+. wxMULTIPLE-         .+. (if rememberCurrentDir then wxCHANGE_DIR else 0)-         .+. (if allowReadOnly then 0 else wxHIDE_READONLY)--    result fd r-      = if (r /= wxID_OK)-         then return []-         else fileDialogGetPaths fd---- | Show a modal file selection dialog. Usage:------ > fileOpenDialog parent rememberCurrentDir allowReadOnly message wildcards directory filename------ If @rememberCurrentDir@ is 'True', the library changes the current directory to the one where the--- files were chosen. @allowReadOnly@ determines whether the read-only files can be selected. The @message@--- is displayed on top of the dialog. The @directory@ is the default directory (use the empty string for--- the current directory). The @filename@ is the default file name. The @wildcards@ determine the entries--- in the file selection box. It consists of a list of pairs: the first element is a description (@"Image files"@)--- and the second element a list of wildcard patterns (@["*.bmp","*.gif"]@).------ > fileOpenDialog frame True True "Open image" [("Any file",["*.*"]),("Bitmaps",["*.bmp"])] "" ""------ Returns 'Nothing' when the user presses the cancel button.-fileOpenDialog  :: Window a -> Bool -> Bool -> String -> [(String,[String])] -> FilePath -> FilePath -> IO (Maybe FilePath)-fileOpenDialog parent rememberCurrentDir allowReadOnly message wildcards directory filename-  = fileDialog parent result flags message wildcards directory filename-  where-    flags-      = wxOPEN .+. (if rememberCurrentDir then wxCHANGE_DIR else 0) .+. (if allowReadOnly then 0 else wxHIDE_READONLY)--    result fd r-      = if (r /= wxID_OK)-         then return Nothing-         else do fname <- fileDialogGetPath fd-                 return (Just fname)---- | Show a modal file save dialog. Usage:------ > fileSaveDialog parent rememberCurrentDir overwritePrompt message directory filename------ The @overwritePrompt@ argument determines whether the user gets a prompt for confirmation when--- overwriting a file. The other arguments are as in 'fileOpenDialog'.-fileSaveDialog :: Window a -> Bool -> Bool -> String -> [(String,[String])] -> FilePath -> FilePath -> IO (Maybe FilePath)-fileSaveDialog parent rememberCurrentDir overwritePrompt message wildcards directory filename-  = fileDialog parent result flags message wildcards directory filename-  where-    flags-      = wxSAVE .+. (if rememberCurrentDir then wxCHANGE_DIR else 0) .+. (if overwritePrompt then wxOVERWRITE_PROMPT else 0)--    result fd r-      = if (r /= wxID_OK)-         then return Nothing-         else do fname <- fileDialogGetPath fd-                 return (Just fname)----- | Generic file dialog function. Takes a function that is called when the dialog is--- terminated, style flags, a message, a list of wildcards, a directory, and a file name.--- For example:--- --- > fileOpenDialog  --- >   = fileDialog parent result flags message wildcards directory filename--- >   where--- >     flags--- >      = wxOPEN .+. (if rememberCurrentDir then wxCHANGE_DIR else 0) --- >        .+. (if allowReadOnly then 0 else wxHIDE_READONLY)--- >--- >    result fd r--- >      = if (r /= wxID_OK)--- >         then return Nothing--- >         else do fname <- fileDialogGetPath fd--- >                 return (Just fname)--fileDialog :: Window a -> (FileDialog () -> Int -> IO b) -> Int -> String -> [(String,[String])] -> FilePath -> FilePath -> IO b-fileDialog parent processResult flags message wildcards directory filename-  = bracket-     (fileDialogCreate parent message directory filename (formatWildCards wildcards) pointNull flags)-     (windowDestroy)-     (\fd -> do r <- dialogShowModal fd-                processResult fd r)--  where-    formatWildCards wildcards-      = concat (intersperse "|"-        [desc ++ "|" ++ concat (intersperse ";" patterns) | (desc,patterns) <- wildcards])----- | Show a font selection dialog with a given initial font. Returns 'Nothing' when cancel was pressed.-fontDialog :: Window a -> FontStyle -> IO (Maybe FontStyle)-fontDialog parent fontStyle-  = withFontStyle fontStyle $ \font ->-    bracket (getFontFromUser parent font)-            (fontDelete)-            (\f -> do ok <- fontIsOk f-                      if ok-                       then do info <- fontGetFontStyle f-                               return (Just info)-                       else return Nothing)--{--  bracket (fontDataCreate) (fontDataDelete) $-      \fdata -> bracket (fontDialogCreate parent fdata) (windowDestroy) $-                   \fd -> do r <- dialogShowModal fd-                             if (r /= wxID_OK)-                               then return Nothing-                               else bracket (fontDataGetChosenFont fdata) (fontDelete) $-                                     \font -> do info <- fontGetFontInfo font-                                                 return (Just info)--}---- | Show a color selection dialog given an initial color. Returns 'Nothing' when cancel was pressed.-colorDialog :: Window a -> Color -> IO (Maybe Color)-colorDialog parent color-  = do c <- getColourFromUser parent color-       if (colorIsOk c)-        then return (Just c)-        else return Nothing---- | Retrieve a password from a user. Returns the empty string on cancel. Usage:------ > passwordDialog window message caption defaultText----passwordDialog :: Window a -> String -> String -> String -> IO String-passwordDialog parent message caption defaultText-  = getPasswordFromUser message caption defaultText parent---- | Retrieve a text string from a user. Returns the empty string on cancel. Usage:------ > textDialog window message caption defaultText----textDialog :: Window a -> String -> String -> String -> IO String-textDialog parent message caption defaultText-  = getTextFromUser message caption defaultText parent pointNull False---- | Retrieve a /positive/ number from a user. Returns 'Nothing' on cancel. Usage:------ > numberDialog window message prompt caption initialValue minimum maximum----numberDialog ::  Window a -> String -> String -> String -> Int -> Int -> Int -> IO (Maybe Int)-numberDialog parent message prompt caption value minval maxval-  = let minval' = if minval < 0 then 0 else minval-        maxval' = if maxval < minval' then minval' else maxval-        value'  | value < minval'  = minval'-                | value > maxval'  = maxval'-                | otherwise        = value-    in do i <- getNumberFromUser message prompt caption value' minval' maxval' parent pointNull-          if (i == -1)-           then return Nothing-           else return (Just i)------ | Show a modal directory dialog. Usage:------ > dirOpenDialog parent allowNewDir message directory------ The @allowNewDir@ argument determines whether the user can create new directories and edit--- directory names. The @message@ is displayed on top of the dialog and @directory@ is the--- default directory (or empty for the current directory). Return 'Nothing' when the users--- presses the cancel button.-dirOpenDialog :: Window a -> Bool -> FilePath -> FilePath -> IO (Maybe FilePath)-dirOpenDialog parent allowNewDir message directory-  = bracket-      (dirDialogCreate parent message directory pointNull flags)-      (windowDestroy)-      (\dd -> do r <- dialogShowModal dd-                 if (r /= wxID_OK)-                  then return Nothing-                  else do path <- dirDialogGetPath dd-                          return (Just path))-  where-    flags-      = if allowNewDir then 0x80 {- wxDD_NEW_DIR_BUTTON -} else 0----- | An dialog with an /Ok/ and /Cancel/ button. Returns 'True' when /Ok/ is pressed.------ > proceedDialog parent "Error" "Do you want to debug this application?"----proceedDialog :: Window a -> String -> String -> IO Bool-proceedDialog parent caption msg-  = do r <- messageDialog parent caption msg (wxOK .+. wxCANCEL .+. wxICON_EXCLAMATION)-       return (r==wxID_OK)---- | The expression (@confirmDialog caption msg yesDefault parent@) shows a confirm dialog--- with a /Yes/ and /No/ button. If @yesDefault@ is 'True', the /Yes/ button is default,--- otherwise the /No/ button. Returns 'True' when the /Yes/ button was pressed.------ > yes <- confirmDialog parent "confirm" "are you sure that you want to reformat the hardisk?"----confirmDialog :: Window a -> String -> String -> Bool -> IO Bool-confirmDialog  parent caption msg yesDefault-  = do r <- messageDialog parent caption msg-              (wxYES_NO .+. (if yesDefault then wxYES_DEFAULT else wxNO_DEFAULT) .+. wxICON_QUESTION)-       return (r==wxID_YES)---- | An warning dialog with a single /Ok/ button.------ > warningDialog parent "warning" "you need a break"----warningDialog :: Window a -> String -> String -> IO ()-warningDialog  parent caption msg-  = unitIO (messageDialog parent caption msg (wxOK .+. wxICON_EXCLAMATION))---- | An error dialog with a single /Ok/ button.------ > errorDialog parent "error" "fatal error, please re-install windows"----errorDialog :: Window a -> String -> String -> IO ()-errorDialog parent caption msg-  = unitIO (messageDialog parent caption msg (wxOK .+. wxICON_HAND))---- | An information dialog with a single /Ok/ button.------ > infoDialog parent "info" "you've got mail"----infoDialog :: Window a -> String -> String -> IO ()-infoDialog parent caption msg-  = unitIO (messageDialog parent caption msg (wxOK .+. wxICON_INFORMATION))---- | A primitive message dialog, specify icons and buttons.------ > r <- messageDialog w "Confirm" "Do you really want that?"--- >                       (wxYES_NO .+. wxNO_DEFAULT .+. wxICON_QUESTION)----messageDialog :: Window a -> String -> String -> BitFlag -> IO BitFlag-messageDialog parent caption msg flags-  = do m <- messageDialogCreate parent msg caption flags-       r <- messageDialogShowModal m-       messageDialogDelete m-       return r+--------------------------------------------------------------------------------
+{-|
+Module      :  Dialogs
+Copyright   :  (c) Daan Leijen 2003
+License     :  wxWindows
+
+Maintainer  :  wxhaskell-devel@lists.sourceforge.net
+Stability   :  provisional
+Portability :  portable
+
+Standard dialogs and (non modal) tip windows.
+-}
+--------------------------------------------------------------------------------
+module Graphics.UI.WXCore.Dialogs
+    ( 
+    -- * Messages
+      errorDialog, warningDialog, infoDialog
+    , confirmDialog, proceedDialog
+    -- ** Non-modal
+    , tipWindowMessage, tipWindowMessageBounded
+
+    -- * Files
+    , fileOpenDialog
+    , filesOpenDialog
+    , fileSaveDialog
+    , dirOpenDialog
+    -- * Misc
+    , fontDialog
+    , colorDialog
+    , passwordDialog
+    , textDialog
+    , numberDialog
+    -- * Internal
+    , messageDialog
+    , fileDialog
+    ) where
+
+import Data.List( intersperse )
+import Graphics.UI.WXCore.WxcTypes
+import Graphics.UI.WXCore.WxcDefs
+import Graphics.UI.WXCore.WxcClasses
+import Graphics.UI.WXCore.Types
+import Graphics.UI.WXCore.Draw
+
+
+-- | Opens a non-modal tip window with a text. The window is closed automatically
+-- when the user clicks the window or when it loses the focus.
+tipWindowMessage :: Window a -> String -> IO ()
+tipWindowMessage parent message
+  = tipWindowCreate parent message 100 >> return ()
+
+-- | Opens a non-modal tip window with a text. The window is closed automatically
+-- when the mouse leaves the specified area, or when the user clicks the window,
+-- or when the window loses the focus.
+tipWindowMessageBounded :: Window a -> String -> Rect -> IO ()
+tipWindowMessageBounded parent message boundingBox
+  = do tipWindow <- tipWindowCreate parent message 100
+       tipWindowSetBoundingRect tipWindow boundingBox
+       return ()
+
+-- | Opens a dialog that lets the user select multiple files. See 'fileOpenDialog' for a description
+-- of the arguments. Returns the empty list when the user selected no files or pressed the cancel button.
+filesOpenDialog :: Window a -> Bool -> Bool -> String -> [(String,[String])] -> FilePath -> FilePath -> IO [FilePath]
+filesOpenDialog parent rememberCurrentDir allowReadOnly message wildcards directory filename
+  = fileDialog parent result flags message wildcards directory filename
+  where
+    flags
+      = wxOPEN .+. wxMULTIPLE
+         .+. (if rememberCurrentDir then wxCHANGE_DIR else 0)
+         .+. (if allowReadOnly then 0 else wxHIDE_READONLY)
+
+    result fd r
+      = if (r /= wxID_OK)
+         then return []
+         else fileDialogGetPaths fd
+
+-- | Show a modal file selection dialog. Usage:
+--
+-- > fileOpenDialog parent rememberCurrentDir allowReadOnly message wildcards directory filename
+--
+-- If @rememberCurrentDir@ is 'True', the library changes the current directory to the one where the
+-- files were chosen. @allowReadOnly@ determines whether the read-only files can be selected. The @message@
+-- is displayed on top of the dialog. The @directory@ is the default directory (use the empty string for
+-- the current directory). The @filename@ is the default file name. The @wildcards@ determine the entries
+-- in the file selection box. It consists of a list of pairs: the first element is a description (@"Image files"@)
+-- and the second element a list of wildcard patterns (@["*.bmp","*.gif"]@).
+--
+-- > fileOpenDialog frame True True "Open image" [("Any file",["*.*"]),("Bitmaps",["*.bmp"])] "" ""
+--
+-- Returns 'Nothing' when the user presses the cancel button.
+fileOpenDialog  :: Window a -> Bool -> Bool -> String -> [(String,[String])] -> FilePath -> FilePath -> IO (Maybe FilePath)
+fileOpenDialog parent rememberCurrentDir allowReadOnly message wildcards directory filename
+  = fileDialog parent result flags message wildcards directory filename
+  where
+    flags
+      = wxOPEN .+. (if rememberCurrentDir then wxCHANGE_DIR else 0) .+. (if allowReadOnly then 0 else wxHIDE_READONLY)
+
+    result fd r
+      = if (r /= wxID_OK)
+         then return Nothing
+         else do fname <- fileDialogGetPath fd
+                 return (Just fname)
+
+-- | Show a modal file save dialog. Usage:
+--
+-- > fileSaveDialog parent rememberCurrentDir overwritePrompt message directory filename
+--
+-- The @overwritePrompt@ argument determines whether the user gets a prompt for confirmation when
+-- overwriting a file. The other arguments are as in 'fileOpenDialog'.
+fileSaveDialog :: Window a -> Bool -> Bool -> String -> [(String,[String])] -> FilePath -> FilePath -> IO (Maybe FilePath)
+fileSaveDialog parent rememberCurrentDir overwritePrompt message wildcards directory filename
+  = fileDialog parent result flags message wildcards directory filename
+  where
+    flags
+      = wxSAVE .+. (if rememberCurrentDir then wxCHANGE_DIR else 0) .+. (if overwritePrompt then wxOVERWRITE_PROMPT else 0)
+
+    result fd r
+      = if (r /= wxID_OK)
+         then return Nothing
+         else do fname <- fileDialogGetPath fd
+                 return (Just fname)
+
+
+-- | Generic file dialog function. Takes a function that is called when the dialog is
+-- terminated, style flags, a message, a list of wildcards, a directory, and a file name.
+-- For example:
+-- 
+-- > fileOpenDialog  
+-- >   = fileDialog parent result flags message wildcards directory filename
+-- >   where
+-- >     flags
+-- >      = wxOPEN .+. (if rememberCurrentDir then wxCHANGE_DIR else 0) 
+-- >        .+. (if allowReadOnly then 0 else wxHIDE_READONLY)
+-- >
+-- >    result fd r
+-- >      = if (r /= wxID_OK)
+-- >         then return Nothing
+-- >         else do fname <- fileDialogGetPath fd
+-- >                 return (Just fname)
+
+fileDialog :: Window a -> (FileDialog () -> Style -> IO b) -> Style -> String -> [(String,[String])] -> FilePath -> FilePath -> IO b
+fileDialog parent processResult flags message wildcards directory filename
+  = bracket
+     (fileDialogCreate parent message directory filename (formatWildCards wildcards) pointNull flags)
+     (windowDestroy)
+     (\fd -> do r <- dialogShowModal fd
+                processResult fd r)
+
+  where
+    formatWildCards wildcards'
+      = concat (intersperse "|"
+        [desc ++ "|" ++ concat (intersperse ";" patterns) | (desc,patterns) <- wildcards'])
+
+
+-- | Show a font selection dialog with a given initial font. Returns 'Nothing' when cancel was pressed.
+fontDialog :: Window a -> FontStyle -> IO (Maybe FontStyle)
+fontDialog parent fontStyle
+  = withFontStyle fontStyle $ \font ->
+    bracket (getFontFromUser parent font)
+            (fontDelete)
+            (\f -> do ok <- fontIsOk f
+                      if ok
+                       then do info <- fontGetFontStyle f
+                               return (Just info)
+                       else return Nothing)
+
+{-
+  bracket (fontDataCreate) (fontDataDelete) $
+      \fdata -> bracket (fontDialogCreate parent fdata) (windowDestroy) $
+                   \fd -> do r <- dialogShowModal fd
+                             if (r /= wxID_OK)
+                               then return Nothing
+                               else bracket (fontDataGetChosenFont fdata) (fontDelete) $
+                                     \font -> do info <- fontGetFontInfo font
+                                                 return (Just info)
+-}
+
+-- | Show a color selection dialog given an initial color. Returns 'Nothing' when cancel was pressed.
+colorDialog :: Window a -> Color -> IO (Maybe Color)
+colorDialog parent color
+  = do c <- getColourFromUser parent color
+       if (colorIsOk c)
+        then return (Just c)
+        else return Nothing
+
+-- | Retrieve a password from a user. Returns the empty string on cancel. Usage:
+--
+-- > passwordDialog window message caption defaultText
+--
+passwordDialog :: Window a -> String -> String -> String -> IO String
+passwordDialog parent message caption defaultText
+  = getPasswordFromUser message caption defaultText parent
+
+-- | Retrieve a text string from a user. Returns the empty string on cancel. Usage:
+--
+-- > textDialog window message caption defaultText
+--
+textDialog :: Window a -> String -> String -> String -> IO String
+textDialog parent message caption defaultText
+  = getTextFromUser message caption defaultText parent pointNull False
+
+-- | Retrieve a /positive/ number from a user. Returns 'Nothing' on cancel. Usage:
+--
+-- > numberDialog window message prompt caption initialValue minimum maximum
+--
+numberDialog ::  Window a -> String -> String -> String -> Int -> Int -> Int -> IO (Maybe Int)
+numberDialog parent message prompt caption value minval maxval
+  = let minval' = if minval < 0 then 0 else minval
+        maxval' = if maxval < minval' then minval' else maxval
+        value'  | value < minval'  = minval'
+                | value > maxval'  = maxval'
+                | otherwise        = value
+    in do i <- getNumberFromUser message prompt caption value' minval' maxval' parent pointNull
+          if (i == -1)
+           then return Nothing
+           else return (Just i)
+
+
+
+-- | Show a modal directory dialog. Usage:
+--
+-- > dirOpenDialog parent allowNewDir message directory
+--
+-- The @allowNewDir@ argument determines whether the user can create new directories and edit
+-- directory names. The @message@ is displayed on top of the dialog and @directory@ is the
+-- default directory (or empty for the current directory). Return 'Nothing' when the users
+-- presses the cancel button.
+dirOpenDialog :: Window a -> Bool -> FilePath -> FilePath -> IO (Maybe FilePath)
+dirOpenDialog parent allowNewDir message directory
+  = bracket
+      (dirDialogCreate parent message directory pointNull flags)
+      (windowDestroy)
+      (\dd -> do r <- dialogShowModal dd
+                 if (r /= wxID_OK)
+                  then return Nothing
+                  else do path <- dirDialogGetPath dd
+                          return (Just path))
+  where
+    flags
+      = if allowNewDir then 0x80 {- wxDD_NEW_DIR_BUTTON -} else 0
+
+
+-- | An dialog with an /Ok/ and /Cancel/ button. Returns 'True' when /Ok/ is pressed.
+--
+-- > proceedDialog parent "Error" "Do you want to debug this application?"
+--
+proceedDialog :: Window a -> String -> String -> IO Bool
+proceedDialog parent caption msg
+  = do r <- messageDialog parent caption msg (wxOK .+. wxCANCEL .+. wxICON_EXCLAMATION)
+       return (r==wxID_OK)
+
+-- | The expression (@confirmDialog caption msg yesDefault parent@) shows a confirm dialog
+-- with a /Yes/ and /No/ button. If @yesDefault@ is 'True', the /Yes/ button is default,
+-- otherwise the /No/ button. Returns 'True' when the /Yes/ button was pressed.
+--
+-- > yes <- confirmDialog parent "confirm" "are you sure that you want to reformat the hardisk?"
+--
+confirmDialog :: Window a -> String -> String -> Bool -> IO Bool
+confirmDialog  parent caption msg yesDefault
+  = do r <- messageDialog parent caption msg
+              (wxYES_NO .+. (if yesDefault then wxYES_DEFAULT else wxNO_DEFAULT) .+. wxICON_QUESTION)
+       return (r==wxID_YES)
+
+-- | An warning dialog with a single /Ok/ button.
+--
+-- > warningDialog parent "warning" "you need a break"
+--
+warningDialog :: Window a -> String -> String -> IO ()
+warningDialog  parent caption msg
+  = unitIO (messageDialog parent caption msg (wxOK .+. wxICON_EXCLAMATION))
+
+-- | An error dialog with a single /Ok/ button.
+--
+-- > errorDialog parent "error" "fatal error, please re-install windows"
+--
+errorDialog :: Window a -> String -> String -> IO ()
+errorDialog parent caption msg
+  = unitIO (messageDialog parent caption msg (wxOK .+. wxICON_HAND))
+
+-- | An information dialog with a single /Ok/ button.
+--
+-- > infoDialog parent "info" "you've got mail"
+--
+infoDialog :: Window a -> String -> String -> IO ()
+infoDialog parent caption msg
+  = unitIO (messageDialog parent caption msg (wxOK .+. wxICON_INFORMATION))
+
+-- | A primitive message dialog, specify icons and buttons.
+--
+-- > r <- messageDialog w "Confirm" "Do you really want that?"
+-- >                       (wxYES_NO .+. wxNO_DEFAULT .+. wxICON_QUESTION)
+--
+messageDialog :: Window a -> String -> String -> BitFlag -> IO BitFlag
+messageDialog parent caption msg flags
+  = do m <- messageDialogCreate parent msg caption flags
+       r <- messageDialogShowModal m
+       messageDialogDelete m
+       return r
src/haskell/Graphics/UI/WXCore/DragAndDrop.hs view
@@ -1,95 +1,91 @@-{-# OPTIONS -fglasgow-exts #-}-------------------------------------------------------------------------------------------{-|	Module      :  DragAndDrop-	Copyright   :  (c) shelarcy 2007-	License     :  wxWidgets--	Maintainer  :  wxhaskell-devel@lists.sourceforge.net-	Stability   :  provisional-	Portability :  portable--Drag & Drop events.--}--------------------------------------------------------------------------------------------module Graphics.UI.WXCore.DragAndDrop (-        -- * Drop Targets-          dropTarget--        -- * Create Drop Soruces-        , dropSource-        , dropSourceWithCursor-        , dropSourceWithCursorByString-        , dropSourceWithIcon-        ) where--import Graphics.UI.WXCore.Defines-import Graphics.UI.WXCore.Events-import Graphics.UI.WXCore.Image-import Graphics.UI.WXCore.WxcDefs-import Graphics.UI.WXCore.WxcObject-import Graphics.UI.WXCore.WxcTypes-import Graphics.UI.WXCore.WxcClassTypes-import Graphics.UI.WXCore.WxcClassesAL-import Graphics.UI.WXCore.WxcClassesMZ--import Foreign.Ptr-import Foreign.C.String-import Foreign.Marshal.Array---{---------------------------------------------------------------------------------  Drop Target---------------------------------------------------------------------------------}--- | Set a drop target window and 'DataObject' that is associated with drop event.-dropTarget :: Window a -> DataObject b -> IO (WXCDropTarget  ())-dropTarget window wxdata = do-    drop <- wxcDropTargetCreate nullPtr-    dropTargetSetDataObject drop wxdata-    windowSetDropTarget window drop-    return drop---- | Create 'DropSource'. Then 'dragAndDrop' replace target\'s 'DataObject' by this 'DataObject'.-dropSource :: DataObject a -> Window b -> IO (DropSource ())-dropSource wxdata win =-    withObjectPtr nullIcon $ \icon ->-    withObjectPtr nullIcon $ \icon ->-    withObjectPtr nullIcon $ \icon ->-    dropSourceCreate wxdata win icon icon icon---- | On Windows or Mac OS X platform, you must choose this function or 'dropSourceWithCursorByString',--- if you want to use Custom Cursor for Drag & Drop event. 'dropSourceWithIcon' doesn't work these--- platform, and this function doesn't work other platforms.-dropSourceWithCursor :: DataObject a -> Window b -> Cursor c -> Cursor c -> Cursor c -> IO (DropSource ())-dropSourceWithCursor wxdata win copy move none =-    withObjectPtr copy $ \dndCopy ->-    withObjectPtr move $ \dndMove ->-    withObjectPtr none $ \dndNone ->-    dropSourceCreate wxdata win dndCopy dndMove dndNone--dropSourceWithIcon :: DataObject a -> Window b -> Icon c -> Icon c -> Icon c -> IO (DropSource ())-dropSourceWithIcon wxdata win copy move none =-    withObjectPtr copy $ \dndCopy ->-    withObjectPtr move $ \dndMove ->-    withObjectPtr none $ \dndNone ->-    dropSourceCreate wxdata win dndCopy dndMove dndNone--dropSourceWithCursorByString :: DataObject a -> Window b -> String -> String -> String -> IO (DropSource ())-dropSourceWithCursorByString wxdata win copy move none =-   case wxToolkit of-     WxMSW -> do-         dndCopy <- cursorCreateFromFile copy-         dndMove <- cursorCreateFromFile move-         dndNone <- cursorCreateFromFile none-         dropSourceWithCursor wxdata win dndCopy dndMove dndNone-     WxMac -> do-         dndCopy <- cursorCreateFromFile copy-         dndMove <- cursorCreateFromFile move-         dndNone <- cursorCreateFromFile none-         dropSourceWithCursor wxdata win dndCopy dndMove dndNone-     _ -> do-         dndCopy <- iconCreateFromFile copy sizeNull-         dndMove <- iconCreateFromFile move sizeNull-         dndNone <- iconCreateFromFile none sizeNull-         dropSourceWithIcon wxdata win dndCopy dndMove dndNone-+-----------------------------------------------------------------------------------------
+{-|
+Module      :  DragAndDrop
+Copyright   :  (c) shelarcy 2007
+License     :  wxWidgets
+
+Maintainer  :  wxhaskell-devel@lists.sourceforge.net
+Stability   :  provisional
+Portability :  portable
+
+Drag & Drop events.
+-}
+-----------------------------------------------------------------------------------------
+
+module Graphics.UI.WXCore.DragAndDrop (
+        -- * Drop Targets
+          dropTarget
+
+        -- * Create Drop Soruces
+        , dropSource
+        , dropSourceWithCursor
+        , dropSourceWithCursorByString
+        , dropSourceWithIcon
+        ) where
+
+import Graphics.UI.WXCore.Defines
+import Graphics.UI.WXCore.Image
+import Graphics.UI.WXCore.WxcObject
+import Graphics.UI.WXCore.WxcTypes
+import Graphics.UI.WXCore.WxcClassTypes
+import Graphics.UI.WXCore.WxcClassesAL
+import Graphics.UI.WXCore.WxcClassesMZ
+
+import Foreign.Ptr
+
+
+{--------------------------------------------------------------------------------
+  Drop Target
+--------------------------------------------------------------------------------}
+-- | Set a drop target window and 'DataObject' that is associated with drop event.
+dropTarget :: Window a -> DataObject b -> IO (WXCDropTarget  ())
+dropTarget window wxdata = do
+    drop' <- wxcDropTargetCreate nullPtr
+    dropTargetSetDataObject drop' wxdata
+    windowSetDropTarget window drop'
+    return drop'
+
+-- | Create 'DropSource'. Then 'dragAndDrop' replace target\'s 'DataObject' by this 'DataObject'.
+dropSource :: DataObject a -> Window b -> IO (DropSource ())
+dropSource wxdata win' =
+    withObjectPtr nullIcon $ \iconCopy ->
+    withObjectPtr nullIcon $ \iconMove ->
+    withObjectPtr nullIcon $ \iconNone ->
+    dropSourceCreate wxdata win' iconCopy iconMove iconNone
+
+-- | On Windows or Mac OS X platform, you must choose this function or 'dropSourceWithCursorByString',
+-- if you want to use Custom Cursor for Drag & Drop event. 'dropSourceWithIcon' doesn't work these
+-- platform, and this function doesn't work other platforms.
+dropSourceWithCursor :: DataObject a -> Window b -> Cursor c -> Cursor c -> Cursor c -> IO (DropSource ())
+dropSourceWithCursor wxdata win' copy move none =
+    withObjectPtr copy $ \dndCopy ->
+    withObjectPtr move $ \dndMove ->
+    withObjectPtr none $ \dndNone ->
+    dropSourceCreate wxdata win' dndCopy dndMove dndNone
+
+dropSourceWithIcon :: DataObject a -> Window b -> Icon c -> Icon c -> Icon c -> IO (DropSource ())
+dropSourceWithIcon wxdata win' copy move none =
+    withObjectPtr copy $ \dndCopy ->
+    withObjectPtr move $ \dndMove ->
+    withObjectPtr none $ \dndNone ->
+    dropSourceCreate wxdata win' dndCopy dndMove dndNone
+
+dropSourceWithCursorByString :: DataObject a -> Window b -> String -> String -> String -> IO (DropSource ())
+dropSourceWithCursorByString wxdata win' copy move none =
+   case wxToolkit of
+     WxMSW -> do
+         dndCopy <- cursorCreateFromFile copy
+         dndMove <- cursorCreateFromFile move
+         dndNone <- cursorCreateFromFile none
+         dropSourceWithCursor wxdata win' dndCopy dndMove dndNone
+     WxMac -> do
+         dndCopy <- cursorCreateFromFile copy
+         dndMove <- cursorCreateFromFile move
+         dndNone <- cursorCreateFromFile none
+         dropSourceWithCursor wxdata win' dndCopy dndMove dndNone
+     _ -> do
+         dndCopy <- iconCreateFromFile copy sizeNull
+         dndMove <- iconCreateFromFile move sizeNull
+         dndNone <- iconCreateFromFile none sizeNull
+         dropSourceWithIcon wxdata win' dndCopy dndMove dndNone
+
src/haskell/Graphics/UI/WXCore/Draw.hs view
@@ -1,850 +1,890 @@-{-# OPTIONS -fglasgow-exts #-}-------------------------------------------------------------------------------------------{-|	Module      :  Draw-	Copyright   :  (c) Daan Leijen 2003-	License     :  wxWindows--	Maintainer  :  wxhaskell-devel@lists.sourceforge.net-	Stability   :  provisional-	Portability :  portable--Drawing.--}-------------------------------------------------------------------------------------------module Graphics.UI.WXCore.Draw-        (-        -- * DC-          drawLines, drawPolygon, getTextExtent, getFullTextExtent, dcClearRect-        -- ** Creation-        , withPaintDC, withClientDC, dcDraw-        , withSVGFileDC, withSVGFileDCWithSize, withSVGFileDCWithSizeAndResolution-        -- ** Draw state-        , DrawState, dcEncapsulate, dcGetDrawState, dcSetDrawState, drawStateDelete-        -- ** Double buffering-        , dcBuffer, dcBufferWithRef, dcBufferWithRefEx-        -- * Scrolled windows-        , windowGetViewStart, windowGetViewRect, windowCalcUnscrolledPosition-        -- * Font-        , FontStyle(..), FontFamily(..), FontShape(..), FontWeight(..)-        , fontDefault, fontSwiss, fontSmall, fontItalic, fontFixed-        , withFontStyle, dcWithFontStyle-        , dcSetFontStyle, dcGetFontStyle-        , fontCreateFromStyle, fontGetFontStyle-        -- * Brush-        , BrushStyle(..), BrushKind(..)-        , HatchStyle(..)-        , brushDefault, brushSolid, brushTransparent-        , dcSetBrushStyle, dcGetBrushStyle-        , withBrushStyle, dcWithBrushStyle, dcWithBrush-        , brushCreateFromStyle, brushGetBrushStyle-        -- * Pen-        , PenStyle(..), PenKind(..), CapStyle(..), JoinStyle(..), DashStyle(..)-        , penDefault, penColored, penTransparent-        , dcSetPenStyle, dcGetPenStyle-        , withPenStyle, dcWithPenStyle, dcWithPen-        , penCreateFromStyle, penGetPenStyle-        ) where--import Graphics.UI.WXCore.WxcTypes-import Graphics.UI.WXCore.WxcDefs-import Graphics.UI.WXCore.WxcClasses-import Graphics.UI.WXCore.WxcClassInfo-import Graphics.UI.WXCore.Types-import Graphics.UI.WXCore.Defines--import Foreign.Marshal.Array-import Foreign.Storable-import Foreign.Marshal.Alloc---{---------------------------------------------------------------------------------  DC creation---------------------------------------------------------------------------------}--- | Encloses the computation with 'dcBeginDrawing' and 'dcEndDrawing'.-dcDraw :: DC a -> IO b -> IO b-dcDraw dc io-  = bracket_ (do dcBeginDrawing dc-                 dcSetPenStyle dc penDefault-                 dcSetBrushStyle dc brushDefault) -             (do dcSetPen dc nullPen-                 dcSetBrush dc nullBrush-                 dcEndDrawing dc) -             io---- | Use a 'PaintDC'.-withPaintDC :: Window a -> (PaintDC () -> IO b) -> IO b-withPaintDC window draw-  = bracket (paintDCCreate window) (paintDCDelete) (\dc -> dcDraw dc (draw dc))---- | Use a 'ClientDC'.-withClientDC :: Window a -> (ClientDC () -> IO b) -> IO b-withClientDC window draw-  = bracket (clientDCCreate window) (clientDCDelete) (\dc -> dcDraw dc (draw dc))---- | Use a 'SVGFileDC'.-withSVGFileDC :: FilePath -> (SVGFileDC () -> IO b) -> IO b-withSVGFileDC fname draw-  = bracket (svgFileDCCreate fname) (svgFileDCDelete) (\dc -> dcDraw dc (draw dc))--withSVGFileDCWithSize :: FilePath -> Size -> (SVGFileDC () -> IO b) -> IO b-withSVGFileDCWithSize fname size draw-  = bracket (svgFileDCCreateWithSize fname size) (svgFileDCDelete) (\dc -> dcDraw dc (draw dc))--withSVGFileDCWithSizeAndResolution :: FilePath -> Size -> Float -> (SVGFileDC () -> IO b) -> IO b-withSVGFileDCWithSizeAndResolution fname size dpi draw-  = bracket (svgFileDCCreateWithSizeAndResolution fname size dpi) (svgFileDCDelete) (\dc -> dcDraw dc (draw dc))----- | Clear a specific rectangle with the current background brush.--- This is preferred to 'dcClear' for scrolled windows as 'dcClear' sometimes--- only clears the original view area, instead of the currently visible scrolled area.--- Unfortunately, the background brush is not set correctly on wxMAC 2.4, and --- this will always clear to a white color on mac systems.-dcClearRect :: DC a -> Rect -> IO ()-dcClearRect dc r-  = bracket (dcGetBackground dc)-            (brushDelete)-            (\brush -> dcWithBrush dc brush $-                         dcWithPenStyle dc penTransparent $ -                           dcDrawRectangle dc r)---- | Fill a rectangle with a certain color.-dcFillRect :: DC a -> Rect -> Color -> IO ()-dcFillRect dc r color-  = dcWithBrushStyle dc (brushSolid color) $-     dcWithPenStyle dc penTransparent $-      dcDrawRectangle dc r--{---------------------------------------------------------------------------------  Windows---------------------------------------------------------------------------------}--- | Get logical view rectangle, adjusted for scrolling.-windowGetViewRect :: Window a -> IO Rect-windowGetViewRect window-  = do size <- windowGetClientSize window-       org  <- windowGetViewStart window-       return (rect org size)---- | Get logical view start, adjusted for scrolling.-windowGetViewStart :: Window a -> IO Point-windowGetViewStart window-  = do isScrolled <- objectIsScrolledWindow window-       -- adjust coordinates for a scrolled window-       if (isScrolled)-        then do let scrolledWindow = objectCast window-                (Point sx sy) <- scrolledWindowGetViewStart scrolledWindow-                (Point w h)   <- scrolledWindowGetScrollPixelsPerUnit scrolledWindow-                return (Point (w*sx) (h*sy))-        else return pointZero---- | Get logical coordinates adjusted for scrolling.-windowCalcUnscrolledPosition :: Window a -> Point -> IO Point-windowCalcUnscrolledPosition window p-  = do isScrolled <- objectIsScrolledWindow window-       -- adjust coordinates for a scrolled window-       if (isScrolled)-        then do let scrolledWindow = objectCast window-                scrolledWindowCalcUnscrolledPosition scrolledWindow p-        else return p--{---------------------------------------------------------------------------------  Font---------------------------------------------------------------------------------}----- | Font descriptor. The font is normally specified thru the 'FontFamily', giving--- some degree of portability. The '_fontFace' can be used to specify the exact (platform--- dependent) font. ------ Note that the original wxWindows @FontStyle@ is renamed to @FontShape@.-data FontStyle-  = FontStyle{ _fontSize      :: !Int-             , _fontFamily    :: !FontFamily-             , _fontShape     :: !FontShape-             , _fontWeight    :: !FontWeight-             , _fontUnderline :: !Bool-             , _fontFace      :: !String       -- ^ normally @\"\"@-             , _fontEncoding  :: !Int          -- ^ normally @wxFONTENCODING_DEFAULT@-             }-  deriving (Eq,Show)---- | Default 10pt font.-fontDefault :: FontStyle-fontDefault-  = FontStyle 10 FontDefault ShapeNormal WeightNormal False "" wxFONTENCODING_DEFAULT---- | Default 10pt sans-serif font.-fontSwiss :: FontStyle-fontSwiss-  = fontDefault{ _fontFamily = FontSwiss }---- | Default 8pt font.-fontSmall :: FontStyle-fontSmall-  = fontDefault{ _fontSize = 8 }---- | Default 10pt italic.-fontItalic :: FontStyle-fontItalic-  = fontDefault{ _fontShape = ShapeItalic }---- | Monospaced font, 10pt.-fontFixed :: FontStyle-fontFixed -  = fontDefault{ _fontFamily = FontModern }---- | Standard font families.-data FontFamily-  = FontDefault       -- ^ A system default font.-  | FontDecorative    -- ^ Decorative font.-  | FontRoman         -- ^ Formal serif font.-  | FontScript        -- ^ Hand writing font.-  | FontSwiss         -- ^ Sans-serif font.-  | FontModern        -- ^ Fixed pitch font.-  deriving (Eq,Show)---- | The font style.-data FontShape-  = ShapeNormal-  | ShapeItalic-  | ShapeSlant-  deriving (Eq,Show)---- | The font weight.-data FontWeight-  = WeightNormal-  | WeightBold-  | WeightLight-  deriving (Eq,Show)---- | Use a font that is automatically deleted at the end of the computation.-withFontStyle :: FontStyle -> (Font () -> IO a) -> IO a-withFontStyle fontStyle f-  = do (font,delete) <- fontCreateFromStyle fontStyle-       finally (f font) delete----- | Set a font that is automatically deleted at the end of the computation.-dcWithFontStyle :: DC a -> FontStyle -> IO b -> IO b-dcWithFontStyle dc fontStyle io-  = withFontStyle fontStyle $ \font ->-    bracket  (do oldFont <- dcGetFont dc-                 dcSetFont dc font-                 return oldFont)-             (\oldFont ->-              do dcSetFont dc oldFont   -- restore previous font-                 fontDelete oldFont)-             (const io)---- | Set the font info of a DC.-dcSetFontStyle :: DC a -> FontStyle -> IO ()-dcSetFontStyle dc info-  = do (font,del) <- fontCreateFromStyle info-       finalize del $-        do dcSetFont dc font---- | Get the current font info.-dcGetFontStyle :: DC a -> IO FontStyle-dcGetFontStyle dc-  = do font <- dcGetFont dc-       finalize (fontDelete font) $-        do fontGetFontStyle font----- | Create a 'Font' from 'FontStyle'. Returns both the font and a deletion procedure.-fontCreateFromStyle :: FontStyle -> IO (Font (),IO ())-fontCreateFromStyle (FontStyle size family style weight underline face encoding)-  = do font <- fontCreate size cfamily cstyle cweight underline face encoding-       return (font,when (font /= objectNull) (fontDelete font))-  where-    cfamily-      = case family of-          FontDefault     -> wxDEFAULT-          FontDecorative  -> wxDECORATIVE-          FontRoman       -> wxROMAN-          FontScript      -> wxSCRIPT-          FontSwiss       -> wxSWISS-          FontModern      -> wxMODERN--    cstyle-      = case style of-          ShapeNormal     -> wxNORMAL-          ShapeItalic     -> wxITALIC-          ShapeSlant      -> wxSLANT--    cweight-      = case weight of-          WeightNormal    -> wxNORMAL-          WeightBold      -> wxBOLD-          WeightLight     -> wxLIGHT----- | Get the 'FontStyle' from a 'Font' object.-fontGetFontStyle :: Font () -> IO FontStyle-fontGetFontStyle font-  = if (objectIsNull font)-     then return fontDefault-     else do ok <- fontIsOk font-             if not ok-               then return fontDefault-               else do size    <- fontGetPointSize font-                       cfamily <- fontGetFamily font-                       cstyle  <- fontGetStyle font-                       cweight <- fontGetWeight font-                       cunderl <- fontGetUnderlined font-                       face    <- fontGetFaceName font-                       enc     <- fontGetEncoding font-                       return (FontStyle size (toFamily cfamily) (toStyle cstyle) -                                (toWeight cweight) -                                (cunderl /= 0) face enc)-   where-    toFamily f-      | f == wxDECORATIVE   = FontDecorative-      | f == wxROMAN        = FontRoman-      | f == wxSCRIPT       = FontScript-      | f == wxSWISS        = FontSwiss-      | f == wxMODERN       = FontModern-      | otherwise           = FontDefault--    toStyle s-      | s == wxITALIC       = ShapeItalic-      | s == wxSLANT        = ShapeSlant-      | otherwise           = ShapeNormal--    toWeight w-      | w == wxBOLD         = WeightBold-      | w == wxLIGHT        = WeightLight-      | otherwise           = WeightNormal---{---------------------------------------------------------------------------------  Pen---------------------------------------------------------------------------------}---- | Pen style.-data PenStyle-  = PenStyle { _penKind  :: !PenKind-             , _penColor :: !Color-             , _penWidth :: !Int-             , _penCap   :: !CapStyle-             , _penJoin  :: !JoinStyle -             }-  deriving (Eq,Show)---- | Pen kinds.-data PenKind-  = PenTransparent    -- ^ No edge.-  | PenSolid-  | PenDash   { _penDash   :: !DashStyle  }-  | PenHatch  { _penHatch  :: !HatchStyle }-  | PenStipple{ _penBitmap :: !(Bitmap ())}    -- ^ @_penColor@ is ignored-  deriving (Eq,Show)---- | Default pen (@PenStyle PenSolid black 1 CapRound JoinRound@)-penDefault :: PenStyle-penDefault-  = PenStyle PenSolid black 1 CapRound JoinRound---- | A solid pen with a certain color and width.-penColored :: Color -> Int -> PenStyle-penColored color width-  = penDefault{ _penColor = color, _penWidth = width }---- | A transparent pen.-penTransparent :: PenStyle-penTransparent-  = penDefault{ _penKind = PenTransparent }---- | Dash style-data DashStyle-  = DashDot-  | DashLong-  | DashShort-  | DashDotShort-  --  DashUser [Int]-  deriving (Eq,Show)---- | Cap style-data CapStyle-  = CapRound          -- ^ End points are rounded-  | CapProjecting-  | CapButt-  deriving (Eq,Show)---- | Join style.-data JoinStyle-  = JoinRound         -- ^ Corners are rounded-  | JoinBevel         -- ^ Corners are bevelled-  | JoinMiter         -- ^ Corners are blocked-  deriving (Eq,Show)---- | Hatch style.-data HatchStyle-  = HatchBDiagonal    -- ^ Backward diagonal-  | HatchCrossDiag    -- ^ Crossed diagonal-  | HatchFDiagonal    -- ^ Forward diagonal-  | HatchCross        -- ^ Crossed orthogonal-  | HatchHorizontal   -- ^ Horizontal-  | HatchVertical     -- ^ Vertical-  deriving (Eq,Show)---- | Brush style.-data BrushStyle-  = BrushStyle { _brushKind :: !BrushKind, _brushColor :: !Color }-  deriving (Eq,Show)---- | Brush kind.-data BrushKind-  = BrushTransparent                            -- ^ No filling-  | BrushSolid                                  -- ^ Solid color-  | BrushHatch  { _brushHatch  :: !HatchStyle }  -- ^ Hatch pattern-  | BrushStipple{ _brushBitmap :: !(Bitmap ())}  -- ^ Bitmap pattern (on win95 only 8x8 bitmaps are supported)-  deriving (Eq,Show)----- | Set a pen that is automatically deleted at the end of the computation.-dcWithPenStyle :: DC a -> PenStyle -> IO b -> IO b-dcWithPenStyle dc penStyle io-  = withPenStyle penStyle $ \pen ->-    dcWithPen dc pen io---- | Set a pen that is used during a certain computation.-dcWithPen :: DC a -> Pen p -> IO b -> IO b-dcWithPen dc pen io-  = bracket  (do oldPen <- dcGetPen dc-                 dcSetPen dc pen-                 return oldPen)-             (\oldPen ->-              do dcSetPen dc oldPen   -- restore previous pen-                 penDelete oldPen)-             (const io)----- | Set the current pen style. The text color is also adapted.-dcSetPenStyle :: DC a -> PenStyle -> IO ()-dcSetPenStyle dc penStyle-  = withPenStyle penStyle (dcSetPen dc)---- | Get the current pen style.-dcGetPenStyle :: DC a -> IO PenStyle-dcGetPenStyle dc-  = do pen <- dcGetPen dc-       finalize (penDelete pen) $ -         do penGetPenStyle pen---- | Use a pen that is automatically deleted at the end of the computation.-withPenStyle :: PenStyle -> (Pen () -> IO a) -> IO a-withPenStyle penStyle f-  = do (pen,delete) <- penCreateFromStyle penStyle-       finally (f pen) delete---- | Create a new pen from a 'PenStyle'. Returns both the pen and its deletion procedure.-penCreateFromStyle :: PenStyle -> IO (Pen (),IO ())-penCreateFromStyle penStyle-  = case penStyle of-      PenStyle PenTransparent color width cap join-        -> do pen <- penCreateFromStock 5 {- transparent -}-              return (pen,return ())-      PenStyle (PenDash DashShort) color 1 CapRound JoinRound  | color == black-        -> do pen <- penCreateFromStock 6 {- black dashed -}-              return (pen,return ())-      PenStyle PenSolid color 1 CapRound JoinRound-        -> case lookup color stockPens of-             Just idx -> do pen <- penCreateFromStock idx-                            return (pen,return ())-             Nothing  -> colorPen color 1 wxSOLID-      PenStyle PenSolid color width cap join-        -> colorPen color width wxSOLID-      PenStyle (PenDash dash) color width cap join-        -> case dash of-             DashDot  -> colorPen color width wxDOT-             DashLong -> colorPen color width wxLONG_DASH-             DashShort-> colorPen color width wxSHORT_DASH-             DashDotShort -> colorPen color width wxDOT_DASH-      PenStyle (PenStipple bitmap) color width cap join-        -> do pen <- penCreateFromBitmap bitmap width-              setCap pen-              setJoin pen-              return (pen,penDelete pen)-  where-    colorPen color width style-      = do pen <- penCreateFromColour color width style-           setCap pen-           setJoin pen-           return (pen,penDelete pen)--    setCap pen-      = case _penCap penStyle of-          CapRound      -> return ()-          CapProjecting -> penSetCap pen wxCAP_PROJECTING-          CapButt       -> penSetCap pen wxCAP_BUTT--    setJoin pen-      = case _penJoin penStyle of-          JoinRound     -> return ()-          JoinBevel     -> penSetJoin pen wxJOIN_BEVEL-          JoinMiter     -> penSetJoin pen wxJOIN_MITER--    stockPens-      = [(red,0),(cyan,1),(green,2)-        ,(black,3),(white,4)-        ,(grey,7),(lightgrey,9)-        ,(mediumgrey,8)-        ]---- | Create a 'PenStyle' from a 'Pen'.-penGetPenStyle :: Pen a -> IO PenStyle-penGetPenStyle pen-  = if (objectIsNull pen)-     then return penDefault-     else do ok <- penIsOk pen-             if not ok -              then return penDefault-              else do stl <- penGetStyle pen-                      toPenStyle stl-  where-    toPenStyle stl-      | stl == wxTRANSPARENT      = return penTransparent-      | stl == wxSOLID            = toPenStyleWithKind PenSolid-      | stl == wxDOT              = toPenStyleWithKind (PenDash DashDot)-      | stl == wxLONG_DASH        = toPenStyleWithKind (PenDash DashLong)-      | stl == wxSHORT_DASH       = toPenStyleWithKind (PenDash DashShort)-      | stl == wxDOT_DASH         = toPenStyleWithKind (PenDash DashDotShort)-      | stl == wxSTIPPLE          = do stipple <- penGetStipple pen-                                       toPenStyleWithKind (PenStipple stipple)-      | stl == wxBDIAGONAL_HATCH  = toPenStyleWithKind (PenHatch HatchBDiagonal)-      | stl == wxCROSSDIAG_HATCH  = toPenStyleWithKind (PenHatch HatchCrossDiag)-      | stl == wxFDIAGONAL_HATCH  = toPenStyleWithKind (PenHatch HatchFDiagonal)-      | stl == wxCROSS_HATCH      = toPenStyleWithKind (PenHatch HatchCross)-      | stl == wxHORIZONTAL_HATCH = toPenStyleWithKind (PenHatch HatchHorizontal)-      | stl == wxVERTICAL_HATCH   = toPenStyleWithKind (PenHatch HatchVertical)-      | otherwise                 = toPenStyleWithKind PenSolid-      -    toPenStyleWithKind kind-      = do width  <- penGetWidth pen-           color  <- penGetColour pen-           cap    <- penGetCap pen-           join   <- penGetJoin pen-           return (PenStyle kind color width (toCap cap) (toJoin join))--    toCap cap-      | cap == wxCAP_PROJECTING = CapProjecting-      | cap == wxCAP_BUTT       = CapButt-      | otherwise               = CapRound--    toJoin join-      | join == wxJOIN_MITER    = JoinMiter-      | join == wxJOIN_BEVEL    = JoinBevel-      | otherwise               = JoinRound---           -{---------------------------------------------------------------------------------  Brush---------------------------------------------------------------------------------}--- | Default brush (transparent, black).-brushDefault :: BrushStyle-brushDefault-  = BrushStyle BrushTransparent black----- | A solid brush of a specific color.-brushSolid :: Color -> BrushStyle-brushSolid color-  = BrushStyle BrushSolid color---- | A transparent brush.-brushTransparent :: BrushStyle-brushTransparent-  = BrushStyle BrushTransparent white--- | Use a brush that is automatically deleted at the end of the computation.-dcWithBrushStyle :: DC a -> BrushStyle -> IO b -> IO b-dcWithBrushStyle dc brushStyle io-  = withBrushStyle brushStyle $ \brush ->-    dcWithBrush dc brush io--dcWithBrush :: DC b -> Brush a -> IO c -> IO c-dcWithBrush dc brush io-  = bracket  (do oldBrush <- dcGetBrush dc-                 dcSetBrush dc brush-                 return oldBrush)-             (\oldBrush ->-              do dcSetBrush dc oldBrush -- restore previous brush-                 brushDelete oldBrush)-             (const io)---- | Set the brush style (and text background color) of a device context.-dcSetBrushStyle :: DC a -> BrushStyle -> IO ()-dcSetBrushStyle dc brushStyle-  = withBrushStyle brushStyle (dcSetBrush dc)-       --- | Get the current brush of a device context.-dcGetBrushStyle :: DC a -> IO BrushStyle-dcGetBrushStyle dc-  = do brush <- dcGetBrush dc-       finalize (brushDelete brush) $-        do brushGetBrushStyle brush----- | Use a brush that is automatically deleted at the end of the computation.-withBrushStyle :: BrushStyle -> (Brush () -> IO a) -> IO a-withBrushStyle brushStyle f-  = do (brush,delete) <- brushCreateFromStyle brushStyle-       finalize delete $ -        do f brush ---- | Create a new brush from a 'BrushStyle'. Returns both the brush and its deletion procedure.-brushCreateFromStyle :: BrushStyle -> IO (Brush (), IO ())-brushCreateFromStyle brushStyle-  = case brushStyle of-      BrushStyle BrushTransparent color-        -> do brush <- if (wxToolkit == WxMac)-	                then brushCreateFromColour color wxTRANSPARENT-			else brushCreateFromStock 7   {- transparent brush -}-              return (brush,return ())-      BrushStyle BrushSolid color-        -> case lookup color stockBrushes of-             Just idx  -> do brush <- brushCreateFromStock idx-                             return (brush,return ())-             Nothing   -> colorBrush color wxSOLID--      BrushStyle (BrushHatch HatchBDiagonal) color   -> colorBrush color wxBDIAGONAL_HATCH-      BrushStyle (BrushHatch HatchCrossDiag) color   -> colorBrush color wxCROSSDIAG_HATCH-      BrushStyle (BrushHatch HatchFDiagonal) color   -> colorBrush color wxFDIAGONAL_HATCH-      BrushStyle (BrushHatch HatchCross) color       -> colorBrush color wxCROSS_HATCH-      BrushStyle (BrushHatch HatchHorizontal) color  -> colorBrush color wxHORIZONTAL_HATCH-      BrushStyle (BrushHatch HatchVertical) color    -> colorBrush color wxVERTICAL_HATCH-      BrushStyle (BrushStipple bitmap) color         -> do brush <- brushCreateFromBitmap bitmap-                                                           return (brush, brushDelete brush)-  where-    colorBrush color style-      = do brush <- brushCreateFromColour color style-           return (brush, brushDelete brush )--    stockBrushes-      = [(blue,0),(green,1),(white,2)-        ,(black,3),(grey,4),(lightgrey,6)-        ,(cyan,8),(red,9)-        ,(mediumgrey,5)-        ]---- | Get the 'BrushStyle' of 'Brush'.-brushGetBrushStyle :: Brush a -> IO BrushStyle-brushGetBrushStyle brush-  = if (objectIsNull brush)-     then return brushDefault-     else do ok <- brushIsOk brush-             if not ok-              then return brushDefault-              else do stl   <- brushGetStyle brush-                      kind  <- toBrushKind stl-                      color <- brushGetColour brush-                      return (BrushStyle kind color)-  where-    toBrushKind stl-      | stl == wxTRANSPARENT      = return BrushTransparent-      | stl == wxSOLID            = return BrushSolid-      | stl == wxSTIPPLE          = do stipple <- brushGetStipple brush-                                       return (BrushStipple stipple)-      | stl == wxBDIAGONAL_HATCH  = return (BrushHatch HatchBDiagonal)-      | stl == wxCROSSDIAG_HATCH  = return (BrushHatch HatchCrossDiag)-      | stl == wxFDIAGONAL_HATCH  = return (BrushHatch HatchFDiagonal)-      | stl == wxCROSS_HATCH      = return (BrushHatch HatchCross)-      | stl == wxHORIZONTAL_HATCH = return (BrushHatch HatchHorizontal)-      | stl == wxVERTICAL_HATCH   = return (BrushHatch HatchVertical)-      | otherwise                 = return BrushTransparent----{---------------------------------------------------------------------------------  DC drawing state---------------------------------------------------------------------------------}--- | The drawing state (pen,brush,font,text color,text background color) of a device context.-data DrawState  = DrawState (Pen ()) (Brush ()) (Font ()) Color Color---- | Run a computation after which the original drawing state of the 'DC' is restored.-dcEncapsulate :: DC a -> IO b -> IO b-dcEncapsulate dc io-  = bracket (dcGetDrawState dc)-            (\drawState ->-             do dcSetDrawState dc drawState-                drawStateDelete drawState)-            (const io)---- | Get the drawing state. (Should be deleted with 'drawStateDelete').-dcGetDrawState     :: DC a -> IO DrawState-dcGetDrawState dc-  = do pen   <- dcGetPen dc-       brush <- dcGetBrush dc-       font  <- dcGetFont dc-       textc <- dcGetTextForeground dc-       backc <- dcGetTextBackground dc-       return (DrawState pen brush font textc backc)---- | Set the drawing state.-dcSetDrawState  :: DC a -> DrawState -> IO ()-dcSetDrawState dc (DrawState pen brush font textc backc)-  = do dcSetPen dc pen-       dcSetBrush dc brush-       dcSetFont dc font-       dcSetTextBackground dc backc-       dcSetTextForeground dc textc---- | Release the resources associated with a drawing state.-drawStateDelete :: DrawState -> IO ()-drawStateDelete (DrawState pen brush font _ _)-  = do penDelete pen-       brushDelete brush-       fontDelete font--{---------------------------------------------------------------------------------  DC utils---------------------------------------------------------------------------------}---- | Draw connected lines.-drawLines :: DC a -> [Point] -> IO ()-drawLines dc []  = return ()-drawLines dc ps-  = withArray xs $ \pxs ->-    withArray ys $ \pys ->-    dcDrawLines dc n pxs pys (pt 0 0)-  where-    n  = length ps-    xs = map pointX ps-    ys = map pointY ps----- | Draw a polygon. The polygon is filled with the odd-even rule.-drawPolygon :: DC a -> [Point] -> IO ()-drawPolygon dc []  = return ()-drawPolygon dc ps-  = withArray xs $ \pxs ->-    withArray ys $ \pys ->-    dcDrawPolygon dc n pxs pys (pt 0 0) wxODDEVEN_RULE-  where-    n  = length ps-    xs = map pointX ps-    ys = map pointY ps---- | Gets the dimensions of the string using the currently selected font.-getTextExtent :: DC a -> String -> IO Size-getTextExtent dc txt-  = do (sz,_,_) <- getFullTextExtent dc txt-       return sz---- | Gets the dimensions of the string using the currently selected font.--- Takes text string to measure, and returns the size, /descent/ and /external leading/.--- Descent is the dimension from the baseline of the font to the bottom of the descender--- , and external leading is any extra vertical space added to the font by the font designer (is usually zero).-getFullTextExtent :: DC a -> String -> IO (Size,Int,Int)-getFullTextExtent dc txt-  = alloca $ \px ->-    alloca $ \py ->-    alloca $ \pd ->-    alloca $ \pe ->-    do dcGetTextExtent dc txt px py pd pe objectNull-       x <- peek px-       y <- peek py-       d <- peek pd-       e <- peek pe-       return (sz (fromCInt x) (fromCInt y), fromCInt d, fromCInt e)---{---------------------------------------------------------------------------------  Double buffering---------------------------------------------------------------------------------}---- | Use double buffering to draw to a 'DC' -- reduces flicker. Note that--- the 'windowOnPaint' handler can already take care of buffering automatically.--- The rectangle argument is normally the view rectangle ('windowGetViewRect').--- Uses a 'MemoryDC' to draw into memory first and than blit the result to--- the device context. The memory area allocated is the minimal size necessary--- to accomodate the rectangle, but is re-allocated on each invokation.-dcBuffer :: DC a -> Rect -> (DC () -> IO ()) -> IO ()-dcBuffer dc r draw-  = dcBufferWithRef dc Nothing r draw---- | Optimized double buffering. Takes a possible reference to a bitmap. If it is--- 'Nothing', a new bitmap is allocated everytime. Otherwise, the reference is used--- to re-use an allocated bitmap if possible. The 'Rect' argument specifies the--- the current logical view rectangle. The last argument is called to draw on the--- memory 'DC'. -dcBufferWithRef :: DC a -> Maybe (Var (Bitmap ())) -> Rect -> (DC () -> IO ()) -> IO ()-dcBufferWithRef dc mbVar viewArea draw-  = dcBufferWithRefEx dc (\dc -> dcClearRect dc viewArea) mbVar viewArea draw----- | Optimized double buffering. Takes a /clear/ routine as its first argument.--- Normally this is something like '\dc -> dcClearRect dc viewArea' but on certain platforms, like--- MacOS X, special handling is necessary.-dcBufferWithRefEx :: DC a -> (DC () -> IO ()) -> Maybe (Var (Bitmap ())) -> Rect -> (DC () -> IO ()) -> IO ()-dcBufferWithRefEx dc clear mbVar view draw-  | rectSize view == sizeZero = return ()-dcBufferWithRefEx dc clear mbVar view draw-  = bracket (initBitmap)-            (doneBitmap)-            (\bitmap ->-             if (bitmap==objectNull)-              then drawUnbuffered-              else bracket (do p <- memoryDCCreateCompatible dc; return (objectCast p))-                           (\memdc -> when (memdc/=objectNull) (memoryDCDelete memdc))-                           (\memdc -> if (memdc==objectNull)-                                       then drawUnbuffered-                                       else do memoryDCSelectObject memdc bitmap-                                               drawBuffered memdc-                                               memoryDCSelectObject memdc nullBitmap-                           )-            )-    where-     initBitmap-       = case mbVar of-           Nothing  -> bitmapCreateEmpty (rectSize view) (-1)-           Just v   -> do bitmap <- varGet v-                          size   <- if (bitmap==objectNull)-                                     then return sizeZero-                                     else do bw <- bitmapGetWidth bitmap-                                             bh <- bitmapGetHeight bitmap-                                             return (Size bw bh)-                          -- re-use the bitmap if possible-                          if (sizeEncloses size (rectSize view) && bitmap /= objectNull)-                            then return bitmap-                            else do when (bitmap/=objectNull) (bitmapDelete bitmap)-                                    varSet v objectNull-                                    -- new size a bit larger to avoid multiple reallocs-                                    let (Size w h) = rectSize view-                                        neww       = div (w*105) 100-                                        newh       = div (h*105) 100-                                    bm <- bitmapCreateEmpty (sz neww newh) (-1)-                                    varSet v bm-                                    return bm--     doneBitmap bitmap-       = case mbVar of-           Nothing -> when (bitmap/=objectNull) (bitmapDelete bitmap)-           Just v  -> return ()---     drawUnbuffered-       = do clear (downcastDC dc)-            draw (downcastDC dc) -- down cast--     drawBuffered memdc-      = do -- set the device origin for scrolled windows-           dcSetDeviceOrigin memdc (pointFromVec (vecNegate (vecFromPoint (rectTopLeft view))))-           dcSetClippingRegion memdc view-           -- dcBlit memdc view dc (rectTopLeft view) wxCOPY False-	   bracket (dcGetBackground dc)-                   (\brush -> do dcSetBrush memdc nullBrush-                                 brushDelete brush)-                   (\brush -> do -- set the background to the owner brush-                                 dcSetBackground memdc brush-                                 if (wxToolkit == WxMac)-				  then withBrushStyle brushTransparent (dcSetBrush memdc)-				  else dcSetBrush memdc brush-                                 clear (downcastDC memdc)-				 -- and finally do the drawing!-                                 draw (downcastDC memdc) -- down cast-                   )-           -- blit the memdc into the owner dc.-           dcBlit dc view memdc (rectTopLeft view) wxCOPY False-           return ()+-----------------------------------------------------------------------------------------
+{-|
+Module      :  Draw
+Copyright   :  (c) Daan Leijen 2003
+License     :  wxWindows
+
+Maintainer  :  wxhaskell-devel@lists.sourceforge.net
+Stability   :  provisional
+Portability :  portable
+
+Drawing.
+-}
+-----------------------------------------------------------------------------------------
+module Graphics.UI.WXCore.Draw
+        (
+        -- * DC
+          drawLines, drawPolygon, getTextExtent, getFullTextExtent, dcClearRect
+        -- ** Creation
+        , withPaintDC, withClientDC, dcDraw
+        , withSVGFileDC, withSVGFileDCWithSize, withSVGFileDCWithSizeAndResolution
+        -- ** Draw state
+        , DrawState, dcEncapsulate, dcGetDrawState, dcSetDrawState, drawStateDelete
+        -- ** Double buffering
+        , dcBuffer, dcBufferWithRef, dcBufferWithRefEx
+        , dcBufferWithRefExGcdc
+        -- * Scrolled windows
+        , windowGetViewStart, windowGetViewRect, windowCalcUnscrolledPosition
+        -- * Font
+        , FontStyle(..), FontFamily(..), FontShape(..), FontWeight(..)
+        , fontDefault, fontSwiss, fontSmall, fontItalic, fontFixed
+        , withFontStyle, dcWithFontStyle
+        , dcSetFontStyle, dcGetFontStyle
+        , fontCreateFromStyle, fontGetFontStyle
+        -- * Brush
+        , BrushStyle(..), BrushKind(..)
+        , HatchStyle(..)
+        , brushDefault, brushSolid, brushTransparent
+        , dcSetBrushStyle, dcGetBrushStyle
+        , withBrushStyle, dcWithBrushStyle, dcWithBrush
+        , brushCreateFromStyle, brushGetBrushStyle
+        -- * Pen
+        , PenStyle(..), PenKind(..), CapStyle(..), JoinStyle(..), DashStyle(..)
+        , penDefault, penColored, penTransparent
+        , dcSetPenStyle, dcGetPenStyle
+        , withPenStyle, dcWithPenStyle, dcWithPen
+        , penCreateFromStyle, penGetPenStyle
+        ) where
+
+import Graphics.UI.WXCore.WxcTypes
+import Graphics.UI.WXCore.WxcDefs
+import Graphics.UI.WXCore.WxcClasses
+import Graphics.UI.WXCore.WxcClassInfo
+import Graphics.UI.WXCore.Types
+import Graphics.UI.WXCore.Defines
+
+import Foreign.Storable
+import Foreign.Marshal.Alloc
+
+
+{--------------------------------------------------------------------------------
+  DC creation
+--------------------------------------------------------------------------------}
+-- | Safely perform a drawing operation on a DC.
+dcDraw :: DC a -> IO b -> IO b
+dcDraw dc io
+  = bracket_ (do dcSetPenStyle dc penDefault
+                 dcSetBrushStyle dc brushDefault) 
+             (do dcSetPen dc nullPen
+                 dcSetBrush dc nullBrush) 
+             io
+
+-- | Use a 'PaintDC'.
+-- Draw on a window within an 'on paint' event.
+withPaintDC :: Window a -> (PaintDC () -> IO b) -> IO b
+withPaintDC window draw
+  = bracket (paintDCCreate window) (paintDCDelete) (\dc -> dcDraw dc (draw dc))
+
+-- | Use a 'ClientDC'.
+-- Draw on a window from outside an 'on paint' event.
+withClientDC :: Window a -> (ClientDC () -> IO b) -> IO b
+withClientDC window draw
+  = bracket (clientDCCreate window) (clientDCDelete) (\dc -> dcDraw dc (draw dc))
+
+-- | Use a 'SVGFileDC'.
+withSVGFileDC :: FilePath -> (SVGFileDC () -> IO b) -> IO b
+withSVGFileDC fname draw
+  = bracket (svgFileDCCreate fname) (svgFileDCDelete) (\dc -> dcDraw dc (draw dc))
+
+withSVGFileDCWithSize :: FilePath -> Size -> (SVGFileDC () -> IO b) -> IO b
+withSVGFileDCWithSize fname size draw
+  = bracket (svgFileDCCreateWithSize fname size) (svgFileDCDelete) (\dc -> dcDraw dc (draw dc))
+
+withSVGFileDCWithSizeAndResolution :: FilePath -> Size -> Float -> (SVGFileDC () -> IO b) -> IO b
+withSVGFileDCWithSizeAndResolution fname size dpi draw
+  = bracket (svgFileDCCreateWithSizeAndResolution fname size dpi) (svgFileDCDelete) (\dc -> dcDraw dc (draw dc))
+
+
+-- | Clear a specific rectangle with the current background brush.
+-- This is preferred to 'dcClear' for scrolled windows as 'dcClear' sometimes
+-- only clears the original view area, instead of the currently visible scrolled area.
+-- Unfortunately, the background brush is not set correctly on wxMAC 2.4, and 
+-- this will always clear to a white color on mac systems.
+dcClearRect :: DC a -> Rect -> IO ()
+dcClearRect dc r
+  = bracket (dcGetBackground dc)
+            (brushDelete)
+            (\brush -> dcWithBrush dc brush $
+                         dcWithPenStyle dc penTransparent $ 
+                           dcDrawRectangle dc r)
+
+{-
+-- | Fill a rectangle with a certain color.
+dcFillRect :: DC a -> Rect -> Color -> IO ()
+dcFillRect dc r color
+  = dcWithBrushStyle dc (brushSolid color) $
+     dcWithPenStyle dc penTransparent $
+      dcDrawRectangle dc r
+-}
+
+{--------------------------------------------------------------------------------
+  Windows
+--------------------------------------------------------------------------------}
+-- | Get logical view rectangle, adjusted for scrolling.
+windowGetViewRect :: Window a -> IO Rect
+windowGetViewRect window
+  = do size <- windowGetClientSize window
+       org  <- windowGetViewStart window
+       return (rect org size)
+
+-- | Get logical view start, adjusted for scrolling.
+windowGetViewStart :: Window a -> IO Point
+windowGetViewStart window
+  = do isScrolled <- objectIsScrolledWindow window
+       -- adjust coordinates for a scrolled window
+       if (isScrolled)
+        then do let scrolledWindow = objectCast window
+                (Point sx sy) <- scrolledWindowGetViewStart scrolledWindow
+                (Point w h)   <- scrolledWindowGetScrollPixelsPerUnit scrolledWindow
+                return (Point (w*sx) (h*sy))
+        else return pointZero
+
+-- | Get logical coordinates adjusted for scrolling.
+windowCalcUnscrolledPosition :: Window a -> Point -> IO Point
+windowCalcUnscrolledPosition window p
+  = do isScrolled <- objectIsScrolledWindow window
+       -- adjust coordinates for a scrolled window
+       if (isScrolled)
+        then do let scrolledWindow = objectCast window
+                scrolledWindowCalcUnscrolledPosition scrolledWindow p
+        else return p
+
+{--------------------------------------------------------------------------------
+  Font
+--------------------------------------------------------------------------------}
+
+
+-- | Font descriptor. The font is normally specified thru the 'FontFamily', giving
+-- some degree of portability. The '_fontFace' can be used to specify the exact (platform
+-- dependent) font. 
+--
+-- Note that the original wxWidgets @FontStyle@ is renamed to @FontShape@.
+data FontStyle
+  = FontStyle{ _fontSize      :: !Int
+             , _fontFamily    :: !FontFamily
+             , _fontShape     :: !FontShape
+             , _fontWeight    :: !FontWeight
+             , _fontUnderline :: !Bool
+             , _fontFace      :: !String       -- ^ normally @\"\"@
+             , _fontEncoding  :: !Int          -- ^ normally @wxFONTENCODING_DEFAULT@
+             }
+  deriving (Eq,Show)
+
+-- | Default 10pt font.
+fontDefault :: FontStyle
+fontDefault
+  = FontStyle 10 FontDefault ShapeNormal WeightNormal False "" wxFONTENCODING_DEFAULT
+
+-- | Default 10pt sans-serif font.
+fontSwiss :: FontStyle
+fontSwiss
+  = fontDefault{ _fontFamily = FontSwiss }
+
+-- | Default 8pt font.
+fontSmall :: FontStyle
+fontSmall
+  = fontDefault{ _fontSize = 8 }
+
+-- | Default 10pt italic.
+fontItalic :: FontStyle
+fontItalic
+  = fontDefault{ _fontShape = ShapeItalic }
+
+-- | Monospaced font, 10pt.
+fontFixed :: FontStyle
+fontFixed 
+  = fontDefault{ _fontFamily = FontModern }
+
+-- | Standard font families.
+data FontFamily
+  = FontDefault       -- ^ A system default font.
+  | FontDecorative    -- ^ Decorative font.
+  | FontRoman         -- ^ Formal serif font.
+  | FontScript        -- ^ Hand writing font.
+  | FontSwiss         -- ^ Sans-serif font.
+  | FontModern        -- ^ Fixed pitch font.
+  | FontTeletype      -- ^ A teletype (i.e. monospaced) font
+  deriving (Eq,Show)
+
+-- | The font style.
+data FontShape
+  = ShapeNormal
+  | ShapeItalic
+  | ShapeSlant
+  deriving (Eq,Show)
+
+-- | The font weight.
+data FontWeight
+  = WeightNormal
+  | WeightBold
+  | WeightLight
+  deriving (Eq,Show)
+
+-- | Use a font that is automatically deleted at the end of the computation.
+withFontStyle :: FontStyle -> (Font () -> IO a) -> IO a
+withFontStyle fontStyle f
+  = do (font,delete) <- fontCreateFromStyle fontStyle
+       finally (f font) delete
+
+
+-- | Set a font that is automatically deleted at the end of the computation.
+dcWithFontStyle :: DC a -> FontStyle -> IO b -> IO b
+dcWithFontStyle dc fontStyle io
+  = withFontStyle fontStyle $ \font ->
+    bracket  (do oldFont <- dcGetFont dc
+                 dcSetFont dc font
+                 return oldFont)
+             (\oldFont ->
+              do dcSetFont dc oldFont   -- restore previous font
+                 fontDelete oldFont)
+             (const io)
+
+-- | Set the font info of a DC.
+dcSetFontStyle :: DC a -> FontStyle -> IO ()
+dcSetFontStyle dc info
+  = do (font,del) <- fontCreateFromStyle info
+       finalize del $
+        do dcSetFont dc font
+
+-- | Get the current font info.
+dcGetFontStyle :: DC a -> IO FontStyle
+dcGetFontStyle dc
+  = do font <- dcGetFont dc
+       finalize (fontDelete font) $
+        do fontGetFontStyle font
+
+
+-- | Create a 'Font' from 'FontStyle'. Returns both the font and a deletion procedure.
+fontCreateFromStyle :: FontStyle -> IO (Font (),IO ())
+fontCreateFromStyle (FontStyle size family style weight underline face encoding)
+  = do font <- fontCreate size cfamily cstyle cweight underline face encoding
+       return (font,when (font /= objectNull) (fontDelete font))
+  where
+    cfamily
+      = case family of
+          FontDefault     -> wxFONTFAMILY_DEFAULT
+          FontDecorative  -> wxFONTFAMILY_DECORATIVE
+          FontRoman       -> wxFONTFAMILY_ROMAN
+          FontScript      -> wxFONTFAMILY_SCRIPT
+          FontSwiss       -> wxFONTFAMILY_SWISS
+          FontModern      -> wxFONTFAMILY_MODERN
+          FontTeletype    -> wxFONTFAMILY_TELETYPE
+ 
+    cstyle
+      = case style of
+          ShapeNormal     -> wxFONTSTYLE_NORMAL
+          ShapeItalic     -> wxFONTSTYLE_ITALIC
+          ShapeSlant      -> wxFONTSTYLE_SLANT
+
+    cweight
+      = case weight of
+          WeightNormal    -> wxFONTWEIGHT_NORMAL
+          WeightBold      -> wxFONTWEIGHT_BOLD
+          WeightLight     -> wxFONTWEIGHT_LIGHT
+
+
+-- | Get the 'FontStyle' from a 'Font' object.
+fontGetFontStyle :: Font () -> IO FontStyle
+fontGetFontStyle font
+  = if (objectIsNull font)
+     then return fontDefault
+     else do ok <- fontIsOk font
+             if not ok
+               then return fontDefault
+               else do size    <- fontGetPointSize font
+                       cfamily <- fontGetFamily font
+                       cstyle  <- fontGetStyle font
+                       cweight <- fontGetWeight font
+                       cunderl <- fontGetUnderlined font
+                       face    <- fontGetFaceName font
+                       enc     <- fontGetEncoding font
+                       return (FontStyle size (toFamily cfamily) (toStyle cstyle) 
+                                (toWeight cweight) 
+                                (cunderl /= 0) face enc)
+   where
+    toFamily f
+      | f == wxFONTFAMILY_DECORATIVE   = FontDecorative
+      | f == wxFONTFAMILY_ROMAN        = FontRoman
+      | f == wxFONTFAMILY_SCRIPT       = FontScript
+      | f == wxFONTFAMILY_SWISS        = FontSwiss
+      | f == wxFONTFAMILY_MODERN       = FontModern
+      | f == wxFONTFAMILY_TELETYPE     = FontTeletype
+      | otherwise                      = FontDefault
+
+    toStyle s
+      | s == wxFONTSTYLE_ITALIC        = ShapeItalic
+      | s == wxFONTSTYLE_SLANT         = ShapeSlant
+      | otherwise                      = ShapeNormal
+
+    toWeight w
+      | w == wxFONTWEIGHT_BOLD         = WeightBold
+      | w == wxFONTWEIGHT_LIGHT        = WeightLight
+      | otherwise                      = WeightNormal
+
+
+{--------------------------------------------------------------------------------
+  Pen
+--------------------------------------------------------------------------------}
+
+-- | Pen style.
+data PenStyle
+  = PenStyle { _penKind  :: !PenKind
+             , _penColor :: !Color
+             , _penWidth :: !Int
+             , _penCap   :: !CapStyle
+             , _penJoin  :: !JoinStyle 
+             }
+  deriving (Eq,Show)
+
+-- | Pen kinds.
+data PenKind
+  = PenTransparent    -- ^ No edge.
+  | PenSolid
+  | PenDash   { _penDash   :: !DashStyle  }
+  | PenHatch  { _penHatch  :: !HatchStyle }
+  | PenStipple{ _penBitmap :: !(Bitmap ())}    -- ^ @_penColor@ is ignored
+  deriving (Eq,Show)
+
+-- | Default pen (@PenStyle PenSolid black 1 CapRound JoinRound@)
+penDefault :: PenStyle
+penDefault
+  = PenStyle PenSolid black 1 CapRound JoinRound
+
+-- | A solid pen with a certain color and width.
+penColored :: Color -> Int -> PenStyle
+penColored color width
+  = penDefault{ _penColor = color, _penWidth = width }
+
+-- | A transparent pen.
+penTransparent :: PenStyle
+penTransparent
+  = penDefault{ _penKind = PenTransparent }
+
+-- | Dash style
+data DashStyle
+  = DashDot
+  | DashLong
+  | DashShort
+  | DashDotShort
+  --  DashUser [Int]
+  deriving (Eq,Show)
+
+-- | Cap style
+data CapStyle
+  = CapRound          -- ^ End points are rounded
+  | CapProjecting
+  | CapButt
+  deriving (Eq,Show)
+
+-- | Join style.
+data JoinStyle
+  = JoinRound         -- ^ Corners are rounded
+  | JoinBevel         -- ^ Corners are bevelled
+  | JoinMiter         -- ^ Corners are blocked
+  deriving (Eq,Show)
+
+-- | Hatch style.
+data HatchStyle
+  = HatchBDiagonal    -- ^ Backward diagonal
+  | HatchCrossDiag    -- ^ Crossed diagonal
+  | HatchFDiagonal    -- ^ Forward diagonal
+  | HatchCross        -- ^ Crossed orthogonal
+  | HatchHorizontal   -- ^ Horizontal
+  | HatchVertical     -- ^ Vertical
+  deriving (Eq,Show)
+
+-- | Brush style.
+data BrushStyle
+  = BrushStyle { _brushKind :: !BrushKind, _brushColor :: !Color }
+  deriving (Eq,Show)
+
+-- | Brush kind.
+data BrushKind
+  = BrushTransparent                            -- ^ No filling
+  | BrushSolid                                  -- ^ Solid color
+  | BrushHatch  { _brushHatch  :: !HatchStyle }  -- ^ Hatch pattern
+  | BrushStipple{ _brushBitmap :: !(Bitmap ())}  -- ^ Bitmap pattern (on win95 only 8x8 bitmaps are supported)
+  deriving (Eq,Show)
+
+
+-- | Set a pen that is automatically deleted at the end of the computation.
+dcWithPenStyle :: DC a -> PenStyle -> IO b -> IO b
+dcWithPenStyle dc penStyle io
+  = withPenStyle penStyle $ \pen ->
+    dcWithPen dc pen io
+
+-- | Set a pen that is used during a certain computation.
+dcWithPen :: DC a -> Pen p -> IO b -> IO b
+dcWithPen dc pen io
+  = bracket  (do oldPen <- dcGetPen dc
+                 dcSetPen dc pen
+                 return oldPen)
+             (\oldPen ->
+              do dcSetPen dc oldPen   -- restore previous pen
+                 penDelete oldPen)
+             (const io)
+
+
+-- | Set the current pen style. The text color is also adapted.
+dcSetPenStyle :: DC a -> PenStyle -> IO ()
+dcSetPenStyle dc penStyle
+  = withPenStyle penStyle (dcSetPen dc)
+
+-- | Get the current pen style.
+dcGetPenStyle :: DC a -> IO PenStyle
+dcGetPenStyle dc
+  = do pen <- dcGetPen dc
+       finalize (penDelete pen) $ 
+         do penGetPenStyle pen
+
+-- | Use a pen that is automatically deleted at the end of the computation.
+withPenStyle :: PenStyle -> (Pen () -> IO a) -> IO a
+withPenStyle penStyle f
+  = do (pen,delete) <- penCreateFromStyle penStyle
+       finally (f pen) delete
+
+-- | Create a new pen from a 'PenStyle'. Returns both the pen and its deletion procedure.
+penCreateFromStyle :: PenStyle -> IO (Pen (),IO ())
+penCreateFromStyle penStyle
+  = case penStyle of
+      PenStyle PenTransparent _color _width _cap _join
+        -> do pen <- penCreateFromStock 5 {- transparent -}
+              return (pen,return ())
+              
+      PenStyle (PenDash DashShort) color 1 CapRound JoinRound  | color == black
+        -> do pen <- penCreateFromStock 6 {- black dashed -}
+              return (pen,return ())
+              
+      PenStyle PenSolid color 1 CapRound JoinRound
+        -> case lookup color stockPens of
+             Just idx -> do pen <- penCreateFromStock idx
+                            return (pen,return ())
+             Nothing  -> colorPen color 1 wxPENSTYLE_SOLID
+             
+      PenStyle PenSolid color width _cap _join
+        -> colorPen color width wxPENSTYLE_SOLID
+        
+      PenStyle (PenDash dash) color width _cap _join
+        -> case dash of
+             DashDot      -> colorPen color width wxPENSTYLE_DOT
+             DashLong     -> colorPen color width wxPENSTYLE_LONG_DASH
+             DashShort    -> colorPen color width wxPENSTYLE_SHORT_DASH
+             DashDotShort -> colorPen color width wxPENSTYLE_DOT_DASH
+             
+      PenStyle (PenStipple bitmap) _color width _cap _join
+        -> do pen <- penCreateFromBitmap bitmap width
+              setCap pen
+              setJoin pen
+              return (pen,penDelete pen)
+              
+      PenStyle (PenHatch hatch) color width _cap _join
+        -> case hatch of
+             HatchBDiagonal  -> colorPen color width wxPENSTYLE_BDIAGONAL_HATCH
+             HatchCrossDiag  -> colorPen color width wxPENSTYLE_CROSSDIAG_HATCH
+             HatchFDiagonal  -> colorPen color width wxPENSTYLE_FDIAGONAL_HATCH
+             HatchCross      -> colorPen color width wxPENSTYLE_CROSS_HATCH
+             HatchHorizontal -> colorPen color width wxPENSTYLE_HORIZONTAL_HATCH
+             HatchVertical   -> colorPen color width wxPENSTYLE_VERTICAL_HATCH
+
+  where
+    colorPen color width style
+      = do pen <- penCreateFromColour color width style
+           setCap pen
+           setJoin pen
+           return (pen,penDelete pen)
+
+    setCap pen
+      = case _penCap penStyle of
+          CapRound      -> return ()
+          CapProjecting -> penSetCap pen wxCAP_PROJECTING
+          CapButt       -> penSetCap pen wxCAP_BUTT
+
+    setJoin pen
+      = case _penJoin penStyle of
+          JoinRound     -> return ()
+          JoinBevel     -> penSetJoin pen wxJOIN_BEVEL
+          JoinMiter     -> penSetJoin pen wxJOIN_MITER
+
+    stockPens
+      = [(red,0),(cyan,1),(green,2)
+        ,(black,3),(white,4)
+        ,(grey,7),(lightgrey,9)
+        ,(mediumgrey,8)
+        ]
+
+-- | Create a 'PenStyle' from a 'Pen'.
+penGetPenStyle :: Pen a -> IO PenStyle
+penGetPenStyle pen
+  = if (objectIsNull pen)
+     then return penDefault
+     else do ok <- penIsOk pen
+             if not ok 
+              then return penDefault
+              else do stl <- penGetStyle pen
+                      toPenStyle stl
+  where
+    toPenStyle stl
+      | stl == wxPENSTYLE_TRANSPARENT      = return penTransparent
+      | stl == wxPENSTYLE_SOLID            = toPenStyleWithKind PenSolid
+      | stl == wxPENSTYLE_DOT              = toPenStyleWithKind (PenDash DashDot)
+      | stl == wxPENSTYLE_LONG_DASH        = toPenStyleWithKind (PenDash DashLong)
+      | stl == wxPENSTYLE_SHORT_DASH       = toPenStyleWithKind (PenDash DashShort)
+      | stl == wxPENSTYLE_DOT_DASH         = toPenStyleWithKind (PenDash DashDotShort)
+      | stl == wxPENSTYLE_STIPPLE          = do stipple <- penGetStipple pen
+                                                toPenStyleWithKind (PenStipple stipple)
+      | stl == wxPENSTYLE_BDIAGONAL_HATCH  = toPenStyleWithKind (PenHatch HatchBDiagonal)
+      | stl == wxPENSTYLE_CROSSDIAG_HATCH  = toPenStyleWithKind (PenHatch HatchCrossDiag)
+      | stl == wxPENSTYLE_FDIAGONAL_HATCH  = toPenStyleWithKind (PenHatch HatchFDiagonal)
+      | stl == wxPENSTYLE_CROSS_HATCH      = toPenStyleWithKind (PenHatch HatchCross)
+      | stl == wxPENSTYLE_HORIZONTAL_HATCH = toPenStyleWithKind (PenHatch HatchHorizontal)
+      | stl == wxPENSTYLE_VERTICAL_HATCH   = toPenStyleWithKind (PenHatch HatchVertical)
+      | otherwise                          = toPenStyleWithKind PenSolid
+      
+    toPenStyleWithKind kind
+      = do width  <- penGetWidth pen
+           color  <- penGetColour pen
+           cap    <- penGetCap pen
+           join   <- penGetJoin pen
+           return (PenStyle kind color width (toCap cap) (toJoin join))
+
+    toCap cap
+      | cap == wxCAP_PROJECTING = CapProjecting
+      | cap == wxCAP_BUTT       = CapButt
+      | otherwise               = CapRound
+
+    toJoin join
+      | join == wxJOIN_MITER    = JoinMiter
+      | join == wxJOIN_BEVEL    = JoinBevel
+      | otherwise               = JoinRound
+
+
+           
+{--------------------------------------------------------------------------------
+  Brush
+--------------------------------------------------------------------------------}
+-- | Default brush (transparent, black).
+brushDefault :: BrushStyle
+brushDefault
+  = BrushStyle BrushTransparent black
+
+
+-- | A solid brush of a specific color.
+brushSolid :: Color -> BrushStyle
+brushSolid color
+  = BrushStyle BrushSolid color
+
+-- | A transparent brush.
+brushTransparent :: BrushStyle
+brushTransparent
+  = BrushStyle BrushTransparent white
+-- | Use a brush that is automatically deleted at the end of the computation.
+dcWithBrushStyle :: DC a -> BrushStyle -> IO b -> IO b
+dcWithBrushStyle dc brushStyle io
+  = withBrushStyle brushStyle $ \brush ->
+    dcWithBrush dc brush io
+
+dcWithBrush :: DC b -> Brush a -> IO c -> IO c
+dcWithBrush dc brush io
+  = bracket  (do oldBrush <- dcGetBrush dc
+                 dcSetBrush dc brush
+                 return oldBrush)
+             (\oldBrush ->
+              do dcSetBrush dc oldBrush -- restore previous brush
+                 brushDelete oldBrush)
+             (const io)
+
+-- | Set the brush style (and text background color) of a device context.
+dcSetBrushStyle :: DC a -> BrushStyle -> IO ()
+dcSetBrushStyle dc brushStyle
+  = withBrushStyle brushStyle (dcSetBrush dc)
+       
+-- | Get the current brush of a device context.
+dcGetBrushStyle :: DC a -> IO BrushStyle
+dcGetBrushStyle dc
+  = do brush <- dcGetBrush dc
+       finalize (brushDelete brush) $
+        do brushGetBrushStyle brush
+
+
+-- | Use a brush that is automatically deleted at the end of the computation.
+withBrushStyle :: BrushStyle -> (Brush () -> IO a) -> IO a
+withBrushStyle brushStyle f
+  = do (brush,delete) <- brushCreateFromStyle brushStyle
+       finalize delete $ 
+        do f brush 
+
+-- | Create a new brush from a 'BrushStyle'. Returns both the brush and its deletion procedure.
+brushCreateFromStyle :: BrushStyle -> IO (Brush (), IO ())
+brushCreateFromStyle brushStyle
+  = case brushStyle of
+      BrushStyle BrushTransparent color
+        -> do brush <- if (wxToolkit == WxMac)
+                        then brushCreateFromColour color wxBRUSHSTYLE_TRANSPARENT
+                        else brushCreateFromStock 7   {- transparent brush -}
+              return (brush,return ())
+      BrushStyle BrushSolid color
+        -> case lookup color stockBrushes of
+             Just idx  -> do brush <- brushCreateFromStock idx
+                             return (brush,return ())
+             Nothing   -> colorBrush color wxBRUSHSTYLE_SOLID
+
+      BrushStyle (BrushHatch HatchBDiagonal) color   -> colorBrush color wxBRUSHSTYLE_BDIAGONAL_HATCH
+      BrushStyle (BrushHatch HatchCrossDiag) color   -> colorBrush color wxBRUSHSTYLE_CROSSDIAG_HATCH
+      BrushStyle (BrushHatch HatchFDiagonal) color   -> colorBrush color wxBRUSHSTYLE_FDIAGONAL_HATCH
+      BrushStyle (BrushHatch HatchCross) color       -> colorBrush color wxBRUSHSTYLE_CROSS_HATCH
+      BrushStyle (BrushHatch HatchHorizontal) color  -> colorBrush color wxBRUSHSTYLE_HORIZONTAL_HATCH
+      BrushStyle (BrushHatch HatchVertical) color    -> colorBrush color wxBRUSHSTYLE_VERTICAL_HATCH
+      BrushStyle (BrushStipple bitmap)      _color   -> do brush <- brushCreateFromBitmap bitmap
+                                                           return (brush, brushDelete brush)
+  where
+    colorBrush color style
+      = do brush <- brushCreateFromColour color style
+           return (brush, brushDelete brush )
+
+    stockBrushes
+      = [(blue,0),(green,1),(white,2)
+        ,(black,3),(grey,4),(lightgrey,6)
+        ,(cyan,8),(red,9)
+        ,(mediumgrey,5)
+        ]
+
+-- | Get the 'BrushStyle' of 'Brush'.
+brushGetBrushStyle :: Brush a -> IO BrushStyle
+brushGetBrushStyle brush
+  = if (objectIsNull brush)
+     then return brushDefault
+     else do ok <- brushIsOk brush
+             if not ok
+              then return brushDefault
+              else do stl   <- brushGetStyle brush
+                      kind  <- toBrushKind stl
+                      color <- brushGetColour brush
+                      return (BrushStyle kind color)
+  where
+    toBrushKind stl
+      | stl == wxBRUSHSTYLE_TRANSPARENT      = return BrushTransparent
+      | stl == wxBRUSHSTYLE_SOLID            = return BrushSolid
+      | stl == wxBRUSHSTYLE_STIPPLE          = do stipple <- brushGetStipple brush
+                                                  return (BrushStipple stipple)
+      | stl == wxBRUSHSTYLE_BDIAGONAL_HATCH  = return (BrushHatch HatchBDiagonal)
+      | stl == wxBRUSHSTYLE_CROSSDIAG_HATCH  = return (BrushHatch HatchCrossDiag)
+      | stl == wxBRUSHSTYLE_FDIAGONAL_HATCH  = return (BrushHatch HatchFDiagonal)
+      | stl == wxBRUSHSTYLE_CROSS_HATCH      = return (BrushHatch HatchCross)
+      | stl == wxBRUSHSTYLE_HORIZONTAL_HATCH = return (BrushHatch HatchHorizontal)
+      | stl == wxBRUSHSTYLE_VERTICAL_HATCH   = return (BrushHatch HatchVertical)
+      | otherwise                            = return BrushTransparent
+
+
+
+{--------------------------------------------------------------------------------
+  DC drawing state
+--------------------------------------------------------------------------------}
+-- | The drawing state (pen,brush,font,text color,text background color) of a device context.
+data DrawState  = DrawState (Pen ()) (Brush ()) (Font ()) Color Color
+
+-- | Run a computation after which the original drawing state of the 'DC' is restored.
+dcEncapsulate :: DC a -> IO b -> IO b
+dcEncapsulate dc io
+  = bracket (dcGetDrawState dc)
+            (\drawState ->
+             do dcSetDrawState dc drawState
+                drawStateDelete drawState)
+            (const io)
+
+-- | Get the drawing state. (Should be deleted with 'drawStateDelete').
+dcGetDrawState     :: DC a -> IO DrawState
+dcGetDrawState dc
+  = do pen   <- dcGetPen dc
+       brush <- dcGetBrush dc
+       font  <- dcGetFont dc
+       textc <- dcGetTextForeground dc
+       backc <- dcGetTextBackground dc
+       return (DrawState pen brush font textc backc)
+
+-- | Set the drawing state.
+dcSetDrawState  :: DC a -> DrawState -> IO ()
+dcSetDrawState dc (DrawState pen brush font textc backc)
+  = do dcSetPen dc pen
+       dcSetBrush dc brush
+       dcSetFont dc font
+       dcSetTextBackground dc backc
+       dcSetTextForeground dc textc
+
+-- | Release the resources associated with a drawing state.
+drawStateDelete :: DrawState -> IO ()
+drawStateDelete (DrawState pen brush font _ _)
+  = do penDelete pen
+       brushDelete brush
+       fontDelete font
+
+{--------------------------------------------------------------------------------
+  DC utils
+--------------------------------------------------------------------------------}
+
+-- | Draw connected lines.
+drawLines :: DC a -> [Point] -> IO ()
+drawLines _dc [] = return ()
+drawLines dc  ps
+  = withArray xs $ \pxs ->
+    withArray ys $ \pys ->
+    dcDrawLines dc n pxs pys (pt 0 0)
+  where
+    n  = length ps
+    xs = map pointX ps
+    ys = map pointY ps
+
+
+-- | Draw a polygon. The polygon is filled with the odd-even rule.
+drawPolygon :: DC a -> [Point] -> IO ()
+drawPolygon _dc [] = return ()
+drawPolygon dc  ps
+  = withArray xs $ \pxs ->
+    withArray ys $ \pys ->
+    dcDrawPolygon dc n pxs pys (pt 0 0) wxODDEVEN_RULE
+  where
+    n  = length ps
+    xs = map pointX ps
+    ys = map pointY ps
+
+-- | Gets the dimensions of the string using the currently selected font.
+getTextExtent :: DC a -> String -> IO Size
+getTextExtent dc txt
+  = do (sz',_,_) <- getFullTextExtent dc txt
+       return sz'
+
+-- | Gets the dimensions of the string using the currently selected font.
+-- Takes text string to measure, and returns the size, /descent/ and /external leading/.
+-- Descent is the dimension from the baseline of the font to the bottom of the descender
+-- , and external leading is any extra vertical space added to the font by the font designer (is usually zero).
+getFullTextExtent :: DC a -> String -> IO (Size,Int,Int)
+getFullTextExtent dc txt
+  = alloca $ \px ->
+    alloca $ \py ->
+    alloca $ \pd ->
+    alloca $ \pe ->
+    do dcGetTextExtent dc txt px py pd pe objectNull
+       x <- peek px
+       y <- peek py
+       d <- peek pd
+       e <- peek pe
+       return (sz (fromCInt x) (fromCInt y), fromCInt d, fromCInt e)
+
+
+{--------------------------------------------------------------------------------
+  Double buffering
+--------------------------------------------------------------------------------}
+
+-- | Use double buffering to draw to a 'DC' -- reduces flicker. Note that
+-- the 'windowOnPaint' handler can already take care of buffering automatically.
+-- The rectangle argument is normally the view rectangle ('windowGetViewRect').
+-- Uses a 'MemoryDC' to draw into memory first and than blit the result to
+-- the device context. The memory area allocated is the minimal size necessary
+-- to accomodate the rectangle, but is re-allocated on each invokation.
+dcBuffer :: WindowDC a -> Rect -> (DC () -> IO ()) -> IO ()
+dcBuffer dc r draw
+  = dcBufferWithRef dc Nothing r draw
+
+-- | Optimized double buffering. Takes a possible reference to a bitmap. If it is
+-- 'Nothing', a new bitmap is allocated everytime. Otherwise, the reference is used
+-- to re-use an allocated bitmap if possible. The 'Rect' argument specifies the
+-- the current logical view rectangle. The last argument is called to draw on the
+-- memory 'DC'. 
+dcBufferWithRef :: WindowDC a -> Maybe (Var (Bitmap ())) -> Rect -> (DC () -> IO ()) -> IO ()
+dcBufferWithRef dc mbVar viewArea draw
+  = dcBufferWithRefEx dc (\dc' -> dcClearRect dc' viewArea) mbVar viewArea draw
+
+
+-- | Optimized double buffering. Takes a /clear/ routine as its first argument.
+-- Normally this is something like '\dc -> dcClearRect dc viewArea' but on certain platforms, like
+-- MacOS X, special handling is necessary.
+dcBufferWithRefEx :: WindowDC a -> (DC () -> IO ()) -> Maybe (Var (Bitmap ()))
+                  -> Rect -> (DC () -> IO ()) -> IO ()
+dcBufferWithRefEx = dcBufferedAux simpleDraw simpleDraw
+  where simpleDraw dc draw = draw $ downcastDC dc
+
+-- | Optimized double buffering with a GCDC. Takes a /clear/ routine as its first argument.
+-- Normally this is something like '\dc -> dcClearRect dc viewArea' but on certain platforms, like
+-- MacOS X, special handling is necessary.
+dcBufferWithRefExGcdc :: WindowDC a -> (DC () -> IO ()) -> Maybe (Var (Bitmap ()))
+                      -> Rect -> (GCDC () -> IO b) -> IO ()
+dcBufferWithRefExGcdc =
+  dcBufferedAux (withGC gcdcCreate) (withGC gcdcCreateFromMemory)
+    where withGC create dc_ draw = do
+            dc <- create dc_
+            _  <- draw dc
+            gcdcDelete dc
+
+dcBufferedAux :: (WindowDC a -> f -> IO ()) -> (MemoryDC c -> f -> IO ())
+              -> WindowDC a -> (DC () -> IO ()) -> Maybe (Var (Bitmap ()))
+              -> Rect -> f -> IO ()
+dcBufferedAux _ _  _ _ _ view _
+  | rectSize view == sizeZero = return ()
+dcBufferedAux withWinDC withMemoryDC dc clear mbVar view draw
+  = bracket (initBitmap)
+            (doneBitmap)
+            (\bitmap ->
+             if (bitmap==objectNull)
+              then drawUnbuffered
+              else bracket (do p <- memoryDCCreateCompatible dc; return (objectCast p))
+                           (\memdc -> when (memdc/=objectNull) (memoryDCDelete memdc))
+                           (\memdc -> if (memdc==objectNull)
+                                      then drawUnbuffered
+                                      else do memoryDCSelectObject memdc bitmap
+                                              drawBuffered memdc
+                                              memoryDCSelectObject memdc nullBitmap))
+    where
+     initBitmap
+       = case mbVar of
+           Nothing  -> bitmapCreateEmpty (rectSize view) (-1)
+           Just v   -> do bitmap <- varGet v
+                          size   <- if (bitmap==objectNull)
+                                    then return sizeZero
+                                    else do bw <- bitmapGetWidth bitmap
+                                            bh <- bitmapGetHeight bitmap
+                                            return (Size bw bh)
+                          -- re-use the bitmap if possible
+                          if (sizeEncloses size (rectSize view) && bitmap /= objectNull)
+                            then return bitmap
+                            else do when (bitmap/=objectNull) (bitmapDelete bitmap)
+                                    varSet v objectNull
+                                    -- new size a bit larger to avoid multiple reallocs
+                                    let (Size w h) = rectSize view
+                                        neww       = div (w*105) 100
+                                        newh       = div (h*105) 100
+                                    if (w > 0 && h > 0) then
+                                      do bm <- bitmapCreateEmpty (sz neww newh) (-1)
+                                         varSet v bm
+                                         return bm
+                                      else return objectNull
+
+     doneBitmap bitmap
+       = case mbVar of
+           Nothing -> when (bitmap/=objectNull) (bitmapDelete bitmap)
+           Just _v -> return ()
+
+
+     drawUnbuffered
+       = do clear (downcastDC dc)
+            withWinDC dc draw
+
+     drawBuffered memdc
+      = do -- set the device origin for scrolled windows
+           dcSetDeviceOrigin memdc (pointFromVec (vecNegate (vecFromPoint (rectTopLeft view))))
+           dcSetClippingRegion memdc view
+           -- dcBlit memdc view dc (rectTopLeft view) wxCOPY False
+           bracket (dcGetBackground dc)
+                   (\brush -> do dcSetBrush memdc nullBrush
+                                 brushDelete brush)
+                   (\brush -> do -- set the background to the owner brush
+                                 dcSetBackground memdc brush
+                                 if (wxToolkit == WxMac)
+                                  then withBrushStyle brushTransparent (dcSetBrush memdc)
+                                  else dcSetBrush memdc brush
+                                 clear (downcastDC memdc)
+                                 -- and finally do the drawing!
+                                 withMemoryDC memdc draw
+                   )
+           -- blit the memdc into the owner dc.
+           _ <- dcBlit dc view memdc (rectTopLeft view) wxCOPY False
+           return ()
+
src/haskell/Graphics/UI/WXCore/Events.hs view
@@ -1,2762 +1,3095 @@-{-# OPTIONS -fglasgow-exts #-}-------------------------------------------------------------------------------------------{-|	Module      :  Events-	Copyright   :  (c) Daan Leijen 2003-	License     :  wxWindows--	Maintainer  :  wxhaskell-devel@lists.sourceforge.net-	Stability   :  provisional-	Portability :  portable--Dynamically set (and get) Haskell event handlers for basic wxWindows events.-Note that one should always call 'skipCurrentEvent' when an event is not-processed in the event handler so that other eventhandlers can process the-event.--}-------------------------------------------------------------------------------------------module Graphics.UI.WXCore.Events-        (-        -- * Set event handlers-        -- ** Controls-          buttonOnCommand-        , checkBoxOnCommand-        , choiceOnCommand-        , comboBoxOnCommand-        , comboBoxOnTextEnter-        , controlOnText-        , listBoxOnCommand-        , spinCtrlOnCommand-        -- , listBoxOnDClick-        , radioBoxOnCommand-        , sliderOnCommand-        , textCtrlOnTextEnter-        , listCtrlOnListEvent-        , treeCtrlOnTreeEvent-        , gridOnGridEvent--        -- ** Windows-        , windowOnMouse-        , windowOnKeyChar-        , windowOnKeyDown-        , windowOnKeyUp-        , windowAddOnClose-        , windowOnClose-        , windowOnDestroy-        , windowAddOnDelete-        , windowOnDelete-        , windowOnCreate-        , windowOnIdle-        , windowOnTimer-        , windowOnSize-        , windowOnFocus-        , windowOnActivate-        , windowOnPaint-        , windowOnPaintRaw-        , windowOnContextMenu-        , windowOnScroll-        , htmlWindowOnHtmlEvent--        -- ** Event handlers-        , evtHandlerOnMenuCommand-        , evtHandlerOnEndProcess-        , evtHandlerOnInput-        , evtHandlerOnInputSink-        , evtHandlerOnTaskBarIconEvent--        -- ** Raw STC export-        , EventSTC(..)-        , stcOnSTCEvent-        , stcGetOnSTCEvent--        -- ** Print events-        , EventPrint(..)-        , printOutOnPrint--        -- * Get event handlers-        -- ** Controls-        , buttonGetOnCommand-        , checkBoxGetOnCommand-        , choiceGetOnCommand-        , comboBoxGetOnCommand-        , comboBoxGetOnTextEnter-        , controlGetOnText-        , listBoxGetOnCommand-        , spinCtrlGetOnCommand-        -- , listBoxGetOnDClick-        , radioBoxGetOnCommand-        , sliderGetOnCommand-        , textCtrlGetOnTextEnter-        , listCtrlGetOnListEvent-        , treeCtrlGetOnTreeEvent-        , gridGetOnGridEvent--        -- ** Windows-        , windowGetOnMouse-        , windowGetOnKeyChar-        , windowGetOnKeyDown-        , windowGetOnKeyUp-        , windowGetOnClose-        , windowGetOnDestroy-        , windowGetOnDelete-        , windowGetOnCreate-        , windowGetOnIdle-        , windowGetOnTimer-        , windowGetOnSize-        , windowGetOnFocus-        , windowGetOnActivate-        , windowGetOnPaint-        , windowGetOnPaintRaw-        , windowGetOnContextMenu-        , windowGetOnScroll-        , htmlWindowGetOnHtmlEvent--        -- ** Event handlers-        , evtHandlerGetOnMenuCommand-        , evtHandlerGetOnEndProcess-        , evtHandlerGetOnInputSink-        , evtHandlerGetOnTaskBarIconEvent--        -- ** Printing-        , printOutGetOnPrint--        -- * Timers-        , windowTimerAttach-        , windowTimerCreate-        , timerOnCommand-        , timerGetOnCommand--        -- Idle events-        , appRegisterIdle--        -- * Calenders-        , EventCalendar(..)-        , calendarCtrlOnCalEvent -        , calendarCtrlGetOnCalEvent--        -- * Types-        -- ** Streams-        , StreamStatus(..), streamStatusFromInt--        -- ** Modifiers-        , Modifiers(..)-        , showModifiers-        , noneDown, justShift, justAlt, justControl, justMeta, isNoneDown-        , isNoShiftAltControlDown--        -- ** Mouse events-        , EventMouse (..)-        , showMouse-        , mousePos, mouseModifiers--        -- ** Keyboard events-        , EventKey (..), Key(..)-        , keyKey, keyModifiers, keyPos-        , showKey, showKeyModifiers--        -- * Set event handlers-        -- ** Drop Target events-        , DragResult (..)-        , dropTargetOnData-        , dropTargetOnDrop-        , dropTargetOnEnter-        , dropTargetOnDragOver-        , dropTargetOnLeave-        -        -- ** On DragAndDropEvent-        , DragMode (..)-        , dragAndDrop-        -        -- *** Special handler for Drop File event-        , fileDropTarget-        -- *** Special handler for Drop Text event -        , textDropTarget--        -- ** Scroll events-        , EventScroll(..), Orientation(..)-        , scrollOrientation, scrollPos--        -- ** Tree control events-        , EventTree(..)-        -        -- ** List control events-        , EventList(..), ListIndex--        -- ** Grid control events-        , EventGrid(..), Row, Column--        -- ** Html window events-        , EventHtml(..)-        -        -- * TaskBar icon events-        , EventTaskBarIcon(..)--        -- * Current event-        , propagateEvent-        , skipCurrentEvent-        , withCurrentEvent--        -- * Primitive-        , appOnInit--        -- ** Client data-        , treeCtrlSetItemClientData--        , evtHandlerWithClientData-        , evtHandlerSetClientData--        , objectWithClientData-        , objectSetClientData       --        -- ** Input sink-        , inputSinkEventLastString--        -- ** Keys-        , KeyCode-        , modifiersToAccelFlags-        , keyCodeToKey, keyToKeyCode--        -- ** Events-        , windowOnEvent, windowOnEventEx--        -- ** Generic-        , OnEvent-        , evtHandlerOnEvent-        , evtHandlerOnEventConnect--        -- ** Unsafe-        , unsafeTreeCtrlGetItemClientData-        , unsafeEvtHandlerGetClientData-        , unsafeObjectGetClientData-        , unsafeGetHandlerState-        , unsafeWindowGetHandlerState-        ) where--import Data.List( intersperse, findIndex )-import System.Environment( getProgName, getArgs )-import Foreign.StablePtr-import Foreign.Ptr-import Foreign.C.String-import Foreign.Marshal.Alloc-import Foreign.Marshal.Array-import Foreign.Marshal.Utils--import Data.Char ( chr ) -- used in stc-import Data.Maybe ( fromMaybe )-import Control.Concurrent.MVar-import System.IO.Unsafe( unsafePerformIO )--import qualified Data.IntMap as IntMap-import Graphics.UI.WXCore.WxcTypes-import Graphics.UI.WXCore.WxcDefs-import Graphics.UI.WXCore.WxcClasses-import Graphics.UI.WXCore.WxcClassInfo-import Graphics.UI.WXCore.Types-import Graphics.UI.WXCore.Draw-import Graphics.UI.WXCore.Defines----------------------------------------------------------------------------------------------- Controls  (COMMAND events)---------------------------------------------------------------------------------------------- | Set an event handler for a push button.-buttonOnCommand :: Button a -> IO () -> IO ()-buttonOnCommand button eventHandler-  = windowOnEvent button [wxEVT_COMMAND_BUTTON_CLICKED] eventHandler (\evt -> eventHandler)----- | Get the current button event handler on a window.-buttonGetOnCommand :: Window a -> IO (IO ())-buttonGetOnCommand button-  = unsafeWindowGetHandlerState button wxEVT_COMMAND_BUTTON_CLICKED skipCurrentEvent----- | Set an event handler for "updated text", works for example on a 'TextCtrl' and 'ComboBox'.-controlOnText :: Control a -> IO () -> IO ()-controlOnText control eventHandler-  = windowOnEvent control [wxEVT_COMMAND_TEXT_UPDATED] eventHandler (\evt -> eventHandler)---- | Get the current event handler for updated text.-controlGetOnText :: Control a -> IO (IO ())-controlGetOnText control-  = unsafeWindowGetHandlerState control wxEVT_COMMAND_TEXT_UPDATED skipCurrentEvent----- | Set an event handler for an enter command in a text control.-textCtrlOnTextEnter :: TextCtrl a -> IO () -> IO ()-textCtrlOnTextEnter textCtrl eventHandler-  = windowOnEvent textCtrl [wxEVT_COMMAND_TEXT_ENTER] eventHandler (\evt -> eventHandler)---- | Get the current text enter event handler.-textCtrlGetOnTextEnter :: TextCtrl a -> IO (IO ())-textCtrlGetOnTextEnter textCtrl-  = unsafeWindowGetHandlerState textCtrl wxEVT_COMMAND_TEXT_ENTER skipCurrentEvent--{---- | Set an event handler for when a user tries to type more than than the maximally--- allowed text in a text control.-textCtrlOnTextMaxLen :: IO () -> TextCtrl a -> IO ()-textCtrlOnTextMaxLen eventHandler textCtrl-  = windowOnEvent textCtrl [wxEVT_COMMAND_TEXT_MAXLEN] eventHandler (\evt -> eventHandler)---- | Get the current maximal text event handler.-textCtrlGetOnTextMaxLen :: TextCtrl a -> IO (IO ())-textCtrlGetOnTextMaxLen textCtrl-  = unsafeWindowGetHandlerState textCtrl wxEVT_COMMAND_TEXT_MAXLEN skipCurrentEvent--}---- | Set an event handler for an enter command in a combo box.-comboBoxOnTextEnter :: ComboBox a -> IO () -> IO ()-comboBoxOnTextEnter comboBox eventHandler-  = windowOnEvent comboBox [wxEVT_COMMAND_TEXT_ENTER] eventHandler (\evt -> eventHandler)---- | Get the current text enter event handler.-comboBoxGetOnTextEnter :: ComboBox a -> IO (IO ())-comboBoxGetOnTextEnter comboBox-  = unsafeWindowGetHandlerState comboBox wxEVT_COMMAND_TEXT_ENTER skipCurrentEvent----- | Set an event handler for when a combo box item is selected.-comboBoxOnCommand :: ComboBox a -> IO () -> IO ()-comboBoxOnCommand comboBox eventHandler-  = windowOnEvent comboBox [wxEVT_COMMAND_COMBOBOX_SELECTED] eventHandler (\evt -> eventHandler)---- | Get the current combo box event handler for selections-comboBoxGetOnCommand :: ComboBox a -> IO (IO ())-comboBoxGetOnCommand comboBox-  = unsafeWindowGetHandlerState comboBox wxEVT_COMMAND_COMBOBOX_SELECTED skipCurrentEvent---- | Set an event handler for when a listbox item is (de)selected.-listBoxOnCommand :: ListBox a -> IO () -> IO ()-listBoxOnCommand listBox eventHandler-  = windowOnEvent listBox [wxEVT_COMMAND_LISTBOX_SELECTED] eventHandler (\evt -> eventHandler)---- | Get the current listbox event handler for selections.-listBoxGetOnCommand :: ListBox a -> IO (IO ())-listBoxGetOnCommand listBox-  = unsafeWindowGetHandlerState listBox wxEVT_COMMAND_LISTBOX_SELECTED skipCurrentEvent--{---- | Set an event handler for when a listbox item is double clicked. Takes the selected--- item index as an argument.-listBoxOnDClick :: (Int -> IO ()) -> ListBox a -> IO ()-listBoxOnDClick eventHandler listBox-  = windowOnEvent listBox [wxEVT_COMMAND_LISTBOX_DCLICK] eventHandler dclickHandler-  where-    dclickHandler event-      = do index <- commandEventGetInt (objectCast event)-           eventHandler index---- | Get the current double click listbox event handler.-listBoxGetOnDClick :: ListBox a -> IO (IO ())-listBoxGetOnDClick listBox-  = unsafeWindowGetHandlerState listBox wxEVT_COMMAND_LISTBOX_DCLICK (\index -> skipCurrentEvent)--}---- | Set an event handler for when a choice item is (de)selected.-choiceOnCommand :: Choice a -> IO () -> IO ()-choiceOnCommand choice eventHandler-  = windowOnEvent choice [wxEVT_COMMAND_CHOICE_SELECTED] eventHandler (\evt -> eventHandler)---- | Get the current choice command event handler.-choiceGetOnCommand :: Choice a -> IO (IO ())-choiceGetOnCommand choice-  = unsafeWindowGetHandlerState choice wxEVT_COMMAND_CHOICE_SELECTED skipCurrentEvent----- | Set an event handler for when a radiobox item is selected.-radioBoxOnCommand :: RadioBox a -> IO () -> IO ()-radioBoxOnCommand radioBox eventHandler-  = windowOnEvent radioBox [wxEVT_COMMAND_RADIOBOX_SELECTED] eventHandler (\evt -> eventHandler)---- | Get the current radio box command handler.-radioBoxGetOnCommand :: RadioBox a -> IO (IO ())-radioBoxGetOnCommand radioBox-  = unsafeWindowGetHandlerState radioBox wxEVT_COMMAND_RADIOBOX_SELECTED skipCurrentEvent----- | Set an event handler for when a slider item changes.-sliderOnCommand :: Slider a -> IO () -> IO ()-sliderOnCommand slider eventHandler-  = windowOnEvent slider [wxEVT_COMMAND_SLIDER_UPDATED] eventHandler (\evt -> eventHandler)---- | Get the current slider command event handler.-sliderGetOnCommand :: Slider a -> IO (IO ())-sliderGetOnCommand slider-  = unsafeWindowGetHandlerState slider wxEVT_COMMAND_SLIDER_UPDATED skipCurrentEvent------ | Set an event handler for when a checkbox clicked.-checkBoxOnCommand :: CheckBox a -> (IO ()) -> IO ()-checkBoxOnCommand checkBox eventHandler-  = windowOnEvent checkBox [wxEVT_COMMAND_CHECKBOX_CLICKED] eventHandler (\evt -> eventHandler)---- | Get the current check box event handler.-checkBoxGetOnCommand :: CheckBox a -> IO (IO ())-checkBoxGetOnCommand checkBox-  = unsafeWindowGetHandlerState checkBox wxEVT_COMMAND_CHECKBOX_CLICKED (skipCurrentEvent)---- | Set an event handler for when a spinCtrl clicked.-spinCtrlOnCommand :: SpinCtrl a -> (IO ()) -> IO ()-spinCtrlOnCommand spinCtrl eventHandler-  = windowOnEvent spinCtrl [wxEVT_COMMAND_SPINCTRL_UPDATED] eventHandler (\evt -> eventHandler)---- | Get the current check box event handler.-spinCtrlGetOnCommand :: SpinCtrl a -> IO (IO ())-spinCtrlGetOnCommand spinCtrl-  = unsafeWindowGetHandlerState spinCtrl wxEVT_COMMAND_SPINCTRL_UPDATED (skipCurrentEvent)--{------------------------------------------------------------------------------------------  wxStyledTextCtrl's event------------------------------------------------------------------------------------------}--- | Scintilla events. * Means extra information is available (excluding position,---   key and modifiers) but not yet implemented. ! means it's done-data EventSTC-    = STCChange             -- ^ ! wxEVT_STC_CHANGE.-    | STCStyleNeeded        -- ^ ! wxEVT_STC_STYLENEEDED.-    | STCCharAdded Char Int -- ^ ? wxEVT_STC_CHARADDED. The position seems to be broken-    | STCSavePointReached   -- ^ ! wxEVT_STC_SAVEPOINTREACHED.-    | STCSavePointLeft      -- ^ ! wxEVT_STC_SAVEPOINTLEFT.-    | STCROModifyAttempt    -- ^ ! wxEVT_STC_ROMODIFYATTEMPT.-    | STCKey                -- ^ * wxEVT_STC_KEY.-			    -- kolmodin 20050304:-			    -- is this event ever raised? not under linux.-			    -- according to davve, not under windows either-    | STCDoubleClick        -- ^ ! wxEVT_STC_DOUBLECLICK.-    | STCUpdateUI           -- ^ ! wxEVT_STC_UPDATEUI.-    | STCModified Int Int (Maybe String) Int Int Int Int Int          -- ^ ? wxEVT_STC_MODIFIED.-    | STCMacroRecord Int Int Int  -- ^ ! wxEVT_STC_MACRORECORD iMessage wParam lParam-    | STCMarginClick Bool Bool Bool Int Int -- ^ ? wxEVT_STC_MARGINCLICK.-					    -- kolmodin 20050304:-					    -- Add something nicer for alt, shift and ctrl?-					    -- Perhaps a new datatype or a tuple.-    | STCNeedShown Int Int  -- ^ ! wxEVT_STC_NEEDSHOWN length position.-    | STCPainted            -- ^ ! wxEVT_STC_PAINTED. -    | STCUserListSelection Int String -- ^ ! wxEVT_STC_USERLISTSELECTION listType text-    | STCUriDropped String  -- ^ ! wxEVT_STC_URIDROPPED-    | STCDwellStart Point -- ^ ! wxEVT_STC_DWELLSTART-    | STCDwellEnd Point   -- ^ ! wxEVT_STC_DWELLEND-    | STCStartDrag Int Int String            -- ^ ! wxEVT_STC_START_DRAG.-    | STCDragOver Point DragResult            -- ^ ! wxEVT_STC_DRAG_OVER-    | STCDoDrop String DragResult            -- ^ ! wxEVT_STC_DO_DROP-    | STCZoom               -- ^ ! wxEVT_STC_ZOOM-    | STCHotspotClick       -- ^ ! wxEVT_STC_HOTSPOT_CLICK-    | STCHotspotDClick      -- ^ ! wxEVT_STC_HOTSPOT_DCLICK-    | STCCalltipClick       -- ^ ! wxEVT_STC_CALLTIP_CLICK-    | STCAutocompSelection  -- ^ ! wxEVT_STC_AUTOCOMP_SELECTION-    | STCUnknown            -- ^ Unknown event. Should never occur.--instance Show EventSTC where-    show STCChange = "(stc event: change)"-    show STCStyleNeeded = "(stc event: style needed)"-    show (STCCharAdded c p) = "(stc event: char added: " ++ show c ++ " at position " ++ show p ++ ")"-    show STCSavePointReached = "(stc event: save point reached)"-    show STCSavePointLeft = "(stc event: save point left)"-    show STCROModifyAttempt = "(stc event: read only modify attempt)"-    show STCKey = "(stc event: key)"-    show STCDoubleClick = "(stc event: double click)"-    show STCUpdateUI = "(stc event: update ui)"-    show (STCModified p mt t len ladd line fln flp) = "(stc event: modified: position " ++ show p ++ ", modtype " ++ show mt ++ ", text " ++ show t ++ ", length " ++ show len ++ ", lines added " ++ show ladd ++ ", line " ++ show line ++ ", fln " ++ show fln ++ ", flp " ++ show flp ++ ")"-    show (STCMacroRecord m wp lp) = "(stc event: macro record, message " ++ show m ++ ", wParam " ++ show wp ++ ", lParam " ++ show lp ++ ")"-    show (STCMarginClick alt shift ctrl p m) = "(stc event: margin " ++ show m ++ " clicked, pos " ++ show p ++ ", modifiers = [" ++ (if alt then "alt, " else "") ++ (if shift then "shift, " else "") ++ (if ctrl then "control" else "") ++ "])"-    show (STCNeedShown p len) = "(stc event: need to show lines from " ++ show p ++ ", length " ++ show len ++ ")"-    show STCPainted = "(stc event: painted)"-    show (STCUserListSelection lt t) = "(stc event: user list selection, type " ++ show lt ++ ", text " ++ show t ++ ")"-    show (STCUriDropped t) = "(stc event: uri dropped: " ++ t ++ ")"-    show (STCDwellStart p) = "(stc event: dwell start, (x,y) " ++ show p ++ ")"-    show (STCDwellEnd p) = "(stc event: dwell end, (x,y) " ++ show p ++ ")"-    show (STCStartDrag lin car str) = "(stc event: start drag, line " ++ show lin ++ ", caret " ++ show car ++ ", text " ++ show str ++ ")"-    show (STCDragOver p res) = "(stc event: drag over, (x,y) " ++ show p ++ ", dragResult " ++ show res ++ ")"-    show (STCDoDrop str res) = "(stc event: do drop, text " ++ show str ++ ", dragResult " ++ show res ++ ")"-    show STCZoom = "(stc event: zoom)"-    show STCHotspotClick = "(stc event: hotspot click)"-    show STCHotspotDClick = "(stc event: hotspot double click)"-    show STCCalltipClick = "(stc event: calltip clicked)"-    show STCAutocompSelection = "(stc event: autocomp selectioned)"-    show STCUnknown = "(stc event: unknown)"--fromSTCEvent :: StyledTextEvent a -> IO EventSTC-fromSTCEvent event-  = do et <- eventGetEventType event-       case lookup et stcEvents of-         Just action -> action event-	 Nothing -> return STCUnknown--stcEvents :: [(EventId, StyledTextEvent a -> IO EventSTC)]-stcEvents = [ (wxEVT_STC_CHANGE,            \_ -> return STCChange)-	    , (wxEVT_STC_STYLENEEDED,       \_ -> return STCStyleNeeded)-	    , (wxEVT_STC_CHARADDED,         charAdded)-	    , (wxEVT_STC_SAVEPOINTREACHED,  \_ -> return STCSavePointReached)-	    , (wxEVT_STC_SAVEPOINTLEFT,     \_ -> return STCSavePointLeft)-	    , (wxEVT_STC_ROMODIFYATTEMPT,   \_ -> return STCROModifyAttempt)-	    , (wxEVT_STC_KEY,               \_ -> return STCKey)-	    , (wxEVT_STC_DOUBLECLICK,       \_ -> return STCDoubleClick)-	    , (wxEVT_STC_UPDATEUI,          \_ -> return STCUpdateUI)-	    , (wxEVT_STC_MODIFIED,          modified)-	    , (wxEVT_STC_MACRORECORD,       macroRecord)-	    , (wxEVT_STC_MARGINCLICK,       marginClick)-	    , (wxEVT_STC_NEEDSHOWN,         needShown)-	    , (wxEVT_STC_PAINTED,           \_ -> return STCPainted)-	    , (wxEVT_STC_USERLISTSELECTION, userListSelection)-	    , (wxEVT_STC_URIDROPPED,        uriDropped)-	    , (wxEVT_STC_DWELLSTART,        dwellStart)-	    , (wxEVT_STC_DWELLEND,          dwellEnd)-	    , (wxEVT_STC_START_DRAG,        startDrag)-	    , (wxEVT_STC_DRAG_OVER,         dragOver)-	    , (wxEVT_STC_DO_DROP,           doDrop)-	    , (wxEVT_STC_ZOOM,              \_ -> return STCZoom)-	    , (wxEVT_STC_HOTSPOT_CLICK,     \_ -> return STCHotspotClick)-	    , (wxEVT_STC_CALLTIP_CLICK,     \_ -> return STCCalltipClick)-	    -- TODO: STCAutocompSelection event is not tested yet.-	    , (wxEVT_STC_AUTOCOMP_SELECTION,    \_ -> return STCAutocompSelection)-	    ]-  where-    charAdded evt = do-      c <- styledTextEventGetKey evt-      let c' | c < 0 = chr $ c + 256-             | otherwise = chr c-      p <- styledTextEventGetPosition evt-      return $ STCCharAdded c' p-    modified evt = do-      p <- styledTextEventGetPosition evt-      mt <- styledTextEventGetModificationType evt-      t <- styledTextEventGetText evt-      len <- styledTextEventGetLength evt-      ladd <- styledTextEventGetLinesAdded evt-      line <- styledTextEventGetLine evt-      fln <- styledTextEventGetFoldLevelNow evt-      flp <- styledTextEventGetFoldLevelPrev evt -      -- TODO: t should only be returned under some modificationtype conditions-      -- or should we always return it?-      return $ STCModified p mt (Just t) len ladd line fln flp-    macroRecord evt = do-      m <- styledTextEventGetMessage evt-      wp <- styledTextEventGetWParam evt-      lp <- styledTextEventGetLParam evt-      return $ STCMacroRecord m wp lp-    marginClick evt = do-      alt <- styledTextEventGetAlt evt-      shift <- styledTextEventGetShift evt-      ctrl <- styledTextEventGetControl evt-      p <- styledTextEventGetPosition evt-      m <- styledTextEventGetMargin evt-      return $ STCMarginClick alt shift ctrl p m-    needShown evt = do-      p <- styledTextEventGetPosition evt-      len <- styledTextEventGetLength evt-      return $ STCNeedShown p len-    {--    -- expEVT_STC_POSCHANGED is removed in wxWidgets-2.6.x.-    posChanged evt = do-      p <- styledTextEventGetPosition evt-      return $ STCPosChanged p-    -}-    userListSelection evt = do-      lt <- styledTextEventGetListType evt-      text <- styledTextEventGetText evt-      return $ STCUserListSelection lt text-    uriDropped evt = do-      t <- styledTextEventGetText evt-      return $ STCUriDropped t-    dwellStart evt = do-      x <- styledTextEventGetX evt-      y <- styledTextEventGetY evt-      return $ STCDwellStart (point x y)-    dwellEnd evt = do-      x <- styledTextEventGetX evt-      y <- styledTextEventGetY evt-      return $ STCDwellEnd (point x y)-    startDrag evt = do-      lin <- styledTextEventGetLine evt-      car <- styledTextEventGetPosition evt-      str <- styledTextEventGetDragText evt-      return $ STCStartDrag lin car str-    dragOver evt = do-      x <- styledTextEventGetX evt-      y <- styledTextEventGetY evt-      res <- styledTextEventGetDragResult evt-      return $ STCDragOver (point x y) $ toDragResult res-    doDrop evt = do-      str <- styledTextEventGetDragText evt-      res <- styledTextEventGetDragResult evt-      return $ STCDoDrop str $ toDragResult res--stcOnSTCEvent :: StyledTextCtrl a -> (EventSTC -> IO ()) -> IO ()-stcOnSTCEvent stc handler-  = do windowOnEvent stc stcEventsAll handler eventHandler-  where-    eventHandler event-      = do eventSTC <- fromSTCEvent (objectCast event)-           if isSTCUnknown eventSTC-              then return () -- what else?-              else handler eventSTC-    isSTCUnknown :: EventSTC -> Bool-    isSTCUnknown STCUnknown = True-    isSTCUnknown _ = False-    -- most of the events can probably be ignored-    stcEventsAll = map fst stcEvents--stcGetOnSTCEvent :: StyledTextCtrl a -> IO (EventSTC -> IO ())-stcGetOnSTCEvent window-  = unsafeWindowGetHandlerState window (head $ map fst stcEvents) (\ev -> skipCurrentEvent)--{------------------------------------------------------------------------------------------  Printing------------------------------------------------------------------------------------------}--- | Printer events.-data EventPrint  = PrintBeginDoc (IO ()) Int Int    -- ^ Print a copy: cancel, start page, end page-                 | PrintEndDoc-                 | PrintBegin                       -- ^ Begin a print job.-                 | PrintEnd-                 | PrintPrepare                     -- ^ Prepare: chance to call 'printOutSetPageLimits' for example.-                 | PrintPage (IO ()) (DC ()) Int    -- ^ Print a page: cancel, printer device context, page number.-                 | PrintUnknown Int                 -- ^ Unknown print event with event code---- | Convert a 'PrintEvent' object to an 'EventPrint' value.-fromPrintEvent :: WXCPrintEvent a -> IO EventPrint-fromPrintEvent event-  = do tp <- eventGetEventType event-       case lookup tp printEvents of-         Just f  -> f event-         Nothing -> return (PrintUnknown tp)---- | Print event list.-printEvents :: [(Int,WXCPrintEvent a -> IO EventPrint)]-printEvents-  = [(wxEVT_PRINT_PAGE,     \ev -> do page <- wxcPrintEventGetPage ev-                                      pout <- wxcPrintEventGetPrintout ev-                                      dc   <- printoutGetDC pout-                                      let cancel = wxcPrintEventSetContinue ev False-                                      return (PrintPage cancel dc page))-    ,(wxEVT_PRINT_BEGIN_DOC,\ev -> do page <- wxcPrintEventGetPage ev-                                      epage<- wxcPrintEventGetEndPage ev-                                      let cancel = wxcPrintEventSetContinue ev False-                                      return (PrintBeginDoc cancel page epage))-    ,(wxEVT_PRINT_PREPARE,  \ev -> return PrintPrepare)-    ,(wxEVT_PRINT_END_DOC,  \ev -> return PrintEndDoc)-    ,(wxEVT_PRINT_BEGIN,    \ev -> return PrintBegin)-    ,(wxEVT_PRINT_END,      \ev -> return PrintEnd)-    ]---- | Set an event handler for printing.-printOutOnPrint :: WXCPrintout a -> (EventPrint -> IO ()) -> IO ()-printOutOnPrint printOut eventHandler-  = do evtHandler <- wxcPrintoutGetEvtHandler printOut-       evtHandlerOnEvent evtHandler idAny idAny (map fst printEvents)-                         eventHandler (\_ -> return ()) printHandler-  where-    printHandler event-      = do eventPrint <- fromPrintEvent (objectCast event)-           eventHandler eventPrint---- | Get the current print handler-printOutGetOnPrint :: WXCPrintout a -> IO (EventPrint -> IO ())-printOutGetOnPrint printOut -  = do evtHandler <- wxcPrintoutGetEvtHandler printOut-       unsafeGetHandlerState evtHandler idAny wxEVT_PRINT_PAGE (\ev -> skipCurrentEvent)---{------------------------------------------------------------------------------------------  Scrolling------------------------------------------------------------------------------------------}--- | Scroll events.-data EventScroll = ScrollTop      !Orientation !Int    -- ^ scroll to top-                 | ScrollBottom   !Orientation !Int    -- ^ scroll to bottom-                 | ScrollLineUp   !Orientation !Int    -- ^ scroll line up-                 | ScrollLineDown !Orientation !Int    -- ^ scroll line down-                 | ScrollPageUp   !Orientation !Int    -- ^ scroll page up-                 | ScrollPageDown !Orientation !Int    -- ^ scroll page down-                 | ScrollTrack    !Orientation !Int    -- ^ frequent event when user drags the thumbtrack-                 | ScrollRelease  !Orientation !Int    -- ^ thumbtrack is released-                 deriving Show---- | The orientation of a widget.-data Orientation  = Horizontal | Vertical-                  deriving (Eq, Show)----- | Get the orientation of a scroll event.-scrollOrientation :: EventScroll -> Orientation-scrollOrientation scroll-  = case scroll of-      ScrollTop      orient pos   -> orient-      ScrollBottom   orient pos   -> orient-      ScrollLineUp   orient pos   -> orient-      ScrollLineDown orient pos   -> orient-      ScrollPageUp   orient pos   -> orient-      ScrollPageDown orient pos   -> orient-      ScrollTrack    orient pos   -> orient-      ScrollRelease  orient pos   -> orient---- | Get the position of the scroll bar.-scrollPos :: EventScroll -> Int-scrollPos scroll-  = case scroll of-      ScrollTop      orient pos   -> pos-      ScrollBottom   orient pos   -> pos-      ScrollLineUp   orient pos   -> pos-      ScrollLineDown orient pos   -> pos-      ScrollPageUp   orient pos   -> pos-      ScrollPageDown orient pos   -> pos-      ScrollTrack    orient pos   -> pos-      ScrollRelease  orient pos   -> pos----fromScrollEvent :: ScrollWinEvent a -> IO EventScroll-fromScrollEvent event-  = do orient <- scrollWinEventGetOrientation event-       pos    <- scrollWinEventGetPosition event-       tp     <- eventGetEventType event-       let orientation | orient == wxHORIZONTAL  = Horizontal-                       | otherwise               = Vertical-       case lookup tp scrollEvents of-         Just evt  -> return (evt orientation pos)-         Nothing   -> return (ScrollRelease orientation pos)--scrollEvents :: [(Int,Orientation -> Int -> EventScroll)]-scrollEvents-  = [(wxEVT_SCROLLWIN_TOP,        ScrollTop)-    ,(wxEVT_SCROLLWIN_BOTTOM,     ScrollBottom)-    ,(wxEVT_SCROLLWIN_LINEUP,     ScrollLineUp)-    ,(wxEVT_SCROLLWIN_LINEDOWN,   ScrollLineDown)-    ,(wxEVT_SCROLLWIN_PAGEUP,     ScrollPageUp)-    ,(wxEVT_SCROLLWIN_PAGEDOWN,   ScrollPageDown)-    ,(wxEVT_SCROLLWIN_THUMBTRACK, ScrollTrack)-    ,(wxEVT_SCROLLWIN_THUMBRELEASE, ScrollRelease)-    ]---- | Set a scroll event handler.-windowOnScroll :: Window a -> (EventScroll -> IO ()) -> IO ()-windowOnScroll window eventHandler-  = windowOnEvent window (map fst scrollEvents) eventHandler scrollHandler-  where-    scrollHandler event-      = do eventScroll <- fromScrollEvent (objectCast event)-           eventHandler eventScroll---- | Get the current scroll event handler of a window.-windowGetOnScroll :: Window a -> IO (EventScroll -> IO ())-windowGetOnScroll window-  = unsafeWindowGetHandlerState window wxEVT_SCROLLWIN_TOP (\scroll -> skipCurrentEvent)--{---------------------------------------------------------------------------  Html event---------------------------------------------------------------------------}--- | Html window events-data EventHtml  -  = HtmlCellClicked String EventMouse  Point -      -- ^ A /cell/ is clicked. Contains the cell /id/ attribute value, the mouse event and the logical coordinates.-  | HtmlCellHover String -      -- ^ The mouse hovers over a cell. Contains the cell /id/ attribute value.-  | HtmlLinkClicked String String String EventMouse Point -     -- ^ A link is clicked. Contains the hyperlink, the frame target, the cell /id/ attribute value, the mouse event, and the logical coordinates.-  | HtmlSetTitle String-     -- ^ Called when a @<title>@ tag is parsed.-  | HtmlUnknown -     -- ^ Unrecognised html event--instance Show EventHtml where-  show ev-    = case ev of-        HtmlCellClicked id mouse pnt           -> "Html Cell " ++ show id ++ " clicked: " ++ show mouse-        HtmlLinkClicked href target id mouse p -> "Html Link " ++ show id ++ " clicked: " ++ href-        HtmlCellHover id                       -> "Html Cell " ++ show id ++ " hover"-        HtmlSetTitle title                     -> "Html event title: " ++ title-        HtmlUnknown                            -> "Html event unknown"--fromHtmlEvent :: WXCHtmlEvent a -> IO EventHtml-fromHtmlEvent event-  = do tp <- eventGetEventType event-       case lookup tp htmlEvents of-         Nothing      -> return HtmlUnknown -         Just action  -> action event-  where-    htmlEvents  = [(wxEVT_HTML_CELL_MOUSE_HOVER,  htmlHover)-                  ,(wxEVT_HTML_CELL_CLICKED,      htmlClicked)-                  ,(wxEVT_HTML_LINK_CLICKED,      htmlLink)-                  ,(wxEVT_HTML_SET_TITLE,         htmlTitle)]--    htmlTitle event-      = do title <- commandEventGetString event-           return (HtmlSetTitle title)--    htmlHover event-      = do id      <- wxcHtmlEventGetHtmlCellId event-           return (HtmlCellHover id)--    htmlClicked event-      = do id      <- wxcHtmlEventGetHtmlCellId event-           mouseEv <- wxcHtmlEventGetMouseEvent event-           mouse   <- fromMouseEvent mouseEv-           pnt     <- wxcHtmlEventGetLogicalPosition event-           return (HtmlCellClicked id mouse pnt)--    htmlLink event-      = do id      <- wxcHtmlEventGetHtmlCellId event-           mouseEv <- wxcHtmlEventGetMouseEvent event-           mouse   <- fromMouseEvent mouseEv-           href    <- wxcHtmlEventGetHref event-           target  <- wxcHtmlEventGetTarget event-           pnt     <- wxcHtmlEventGetLogicalPosition event-           return (HtmlLinkClicked href target id mouse pnt)-      --- | Set a html event handler for a html window. The first argument determines whether--- hover events ('HtmlCellHover') are handled or not.-htmlWindowOnHtmlEvent :: WXCHtmlWindow a -> Bool -> (EventHtml -> IO ()) -> IO ()-htmlWindowOnHtmlEvent window allowHover handler-  = windowOnEvent window htmlEvents handler eventHandler-  where-    htmlEvents-      = [wxEVT_HTML_CELL_CLICKED,wxEVT_HTML_LINK_CLICKED,wxEVT_HTML_SET_TITLE]-        ++ (if allowHover then [wxEVT_HTML_CELL_MOUSE_HOVER] else [])--    eventHandler event-      = do eventHtml <- fromHtmlEvent (objectCast event)-           handler eventHtml---- | Get the current html event handler of a html window.-htmlWindowGetOnHtmlEvent :: WXCHtmlWindow a -> IO (EventHtml -> IO ())-htmlWindowGetOnHtmlEvent window-  = unsafeWindowGetHandlerState window wxEVT_HTML_CELL_CLICKED (\ev -> skipCurrentEvent)--     -          --{------------------------------------------------------------------------------------------  Close, Destroy, Create------------------------------------------------------------------------------------------}--- | Adds a close handler to the currently installed close handlers.-windowAddOnClose :: Window a -> IO () -> IO ()-windowAddOnClose window new-  = do prev <- windowGetOnClose window-       windowOnClose window (do{ new; prev })---- | Set an event handler that is called when the user tries to close a frame or dialog.--- Don't forget to call the previous handler or 'frameDestroy' explicitly or otherwise the--- frame won't be closed.-windowOnClose :: Window a -> IO () -> IO ()-windowOnClose window eventHandler-  = windowOnEvent window [wxEVT_CLOSE_WINDOW] eventHandler (\ev -> eventHandler)---- | Get the current close event handler.-windowGetOnClose :: Window a -> IO (IO ())-windowGetOnClose window-  = unsafeWindowGetHandlerState window wxEVT_CLOSE_WINDOW (do windowDestroy window; return ())---- | Set an event handler that is called when the window is destroyed.--- /Note: does not seem to work on windows/.-windowOnDestroy :: Window a -> IO () -> IO ()-windowOnDestroy window eventHandler-  = windowOnEvent window [wxEVT_DESTROY] eventHandler (\ev -> eventHandler)---- | Get the current destroy event handler.-windowGetOnDestroy :: Window a -> IO (IO ())-windowGetOnDestroy window-  = unsafeWindowGetHandlerState window wxEVT_DESTROY (return ())---- | Add a delete-event handler to the current installed delete-event handlers.------ > windowAddOnDelete window new--- >   = do prev <- windowGetOnDelete window--- >        windowOnDelete window (do{ new; prev })--windowAddOnDelete :: Window a -> IO () -> IO ()-windowAddOnDelete window new-  = do prev <- windowGetOnDelete window-       windowOnDelete window (do{ new; prev })---- | Set an event handler that is called when the window is deleted.--- Use with care as the window itself is in a deletion state.-windowOnDelete :: Window a -> IO () -> IO ()-windowOnDelete window eventHandler-  = windowOnEventEx window [wxEVT_DELETE] eventHandler onDelete (\ev -> return ())-  where-    onDelete ownerDeleted-      | ownerDeleted  = eventHandler-      | otherwise     = return ()    -- don't run on disconnect!---- | Get the current delete event handler.-windowGetOnDelete :: Window a -> IO (IO ())-windowGetOnDelete window-  = unsafeWindowGetHandlerState window wxEVT_DELETE (return ())----- | Set an event handler that is called when the window is created.-windowOnCreate :: Window a -> IO () -> IO ()-windowOnCreate window eventHandler-  = windowOnEvent window [wxEVT_CREATE] eventHandler (\ev -> eventHandler)---- | Get the current create event handler.-windowGetOnCreate :: Window a -> IO (IO ())-windowGetOnCreate window-  = unsafeWindowGetHandlerState window wxEVT_CREATE (return ())---- | Set an event handler that is called when the window is resized.-windowOnSize :: Window a -> IO () -> IO ()-windowOnSize window eventHandler-  = windowOnEvent window [wxEVT_SIZE] eventHandler (\ev -> eventHandler)---- | Get the current resize event handler.-windowGetOnSize :: Window a -> IO (IO ())-windowGetOnSize window-  = unsafeWindowGetHandlerState window wxEVT_SIZE (return ())---- | Set an event handler that is called when the window is activated or deactivated.--- The event parameter is 'True' when the window is activated.-windowOnActivate :: Window a -> (Bool -> IO ()) -> IO ()-windowOnActivate window eventHandler-  = windowOnEvent window [wxEVT_ACTIVATE] eventHandler activateHandler-  where-    activateHandler event-      = do active <- activateEventGetActive (objectCast event)-           eventHandler active---- | Get the current activate event handler.-windowGetOnActivate :: Window a -> IO (Bool -> IO ())-windowGetOnActivate window-  = unsafeWindowGetHandlerState window wxEVT_ACTIVATE (\active -> return ())---- | Set an event handler that is called when the window gets or loses the focus.--- The event parameter is 'True' when the window gets the focus.-windowOnFocus :: Window a -> (Bool -> IO ()) -> IO ()-windowOnFocus window eventHandler-  = do windowOnEvent window [wxEVT_SET_FOCUS] eventHandler getFocusHandler-       windowOnEvent window [wxEVT_KILL_FOCUS] eventHandler killFocusHandler-  where-    getFocusHandler event-      = eventHandler True-    killFocusHandler event-      = eventHandler False---- | Get the current focus event handler.-windowGetOnFocus :: Window a -> IO (Bool -> IO ())-windowGetOnFocus window-  = unsafeWindowGetHandlerState window wxEVT_SET_FOCUS (\getfocus -> return ())----- | A context menu event is generated when the user righ-clicks in a window--- or presses shift-F10.-windowOnContextMenu :: Window a -> IO () -> IO ()-windowOnContextMenu window eventHandler-  = windowOnEvent window [wxEVT_CONTEXT_MENU] eventHandler (\ev -> eventHandler)---- | Get the current context menu event handler.-windowGetOnContextMenu :: Window a -> IO (IO ())-windowGetOnContextMenu window-  = unsafeWindowGetHandlerState window wxEVT_CONTEXT_MENU skipCurrentEvent---- | A menu event is generated when the user selects a menu item.--- You should install this handler on the window that owns the menubar or a popup menu.-evtHandlerOnMenuCommand :: EvtHandler a -> Id -> IO () -> IO ()-evtHandlerOnMenuCommand window id eventHandler-  = evtHandlerOnEvent window id id [wxEVT_COMMAND_MENU_SELECTED] eventHandler (\_ -> return ()) (\ev -> eventHandler)---- | Get the current event handler for a certain menu.-evtHandlerGetOnMenuCommand :: EvtHandler a -> Id -> IO (IO ())-evtHandlerGetOnMenuCommand window id-  = unsafeGetHandlerState window id wxEVT_COMMAND_MENU_SELECTED skipCurrentEvent----- | An idle event is generated in idle time. The handler should return whether more--- idle processing is needed ('True') or otherwise the event loop goes into a passive--- waiting state.-windowOnIdle :: Window a -> IO Bool -> IO ()-windowOnIdle window eventHandler-  = windowOnEvent window [wxEVT_IDLE] eventHandler idleHandler-  where-    idleHandler event-      = do requestMore <- eventHandler-           idleEventRequestMore (objectCast event) requestMore-           return ()---- | Get the current context menu event handler.-windowGetOnIdle :: Window a -> IO (IO Bool)-windowGetOnIdle window-  = unsafeWindowGetHandlerState window wxEVT_IDLE (return False)----- | A timer event is generated by an attached timer, see 'windowTimerAttach'.--- /Broken!/ (use 'timerOnCommand' instead).-windowOnTimer :: Window a -> IO () -> IO ()-windowOnTimer window eventHandler-  = windowOnEvent window [wxEVT_TIMER] eventHandler (\ev -> eventHandler)---- | Get the current timer handler.-windowGetOnTimer :: Window a -> IO (IO ())-windowGetOnTimer window-  = unsafeWindowGetHandlerState window wxEVT_TIMER (return ())--{------------------------------------------------------------------------------------------  Paint------------------------------------------------------------------------------------------}--- | Set an event handler for /raw/ paint events. Draws directly to the--- paint device context ('PaintDC') and the 'DC' is not cleared when the handler--- is called. The handler takes two other arguments: the view rectangle and a--- list of /dirty/ rectangles. The rectangles contain logical coordinates and--- are already adjusted for scrolled windows.--- Note: you can not set both a 'windowOnPaintRaw' and 'windowOnPaint' handler!-windowOnPaintRaw :: Window a -> (DC () -> Rect -> [Rect] -> IO ()) -> IO ()-windowOnPaintRaw window paintHandler-  = windowOnEvent window [wxEVT_PAINT] paintHandler onPaint -  where-    onPaint event-      = do obj <- eventGetEventObject event-           if (obj==objectNull)-            then return ()-            else do let window = objectCast obj-                    region <- windowGetUpdateRects window-                    view   <- windowGetViewRect window-                    withPaintDC window (\paintDC ->-                     do isScrolled <- objectIsScrolledWindow window-                        when (isScrolled) (scrolledWindowPrepareDC (objectCast window) paintDC)-                        paintHandler (downcastDC paintDC) view region)--                    --- | Get the current /raw/ paint event handler. -windowGetOnPaintRaw :: Window a -> IO (DC () -> Rect -> [Rect] -> IO ())-windowGetOnPaintRaw window-  = unsafeWindowGetHandlerState window wxEVT_PAINT (\dc rect region -> return ())----- | Set an event handler for paint events. The implementation uses an --- intermediate buffer for non-flickering redraws. --- The device context ('DC')--- is always cleared before the paint handler is called. The paint handler--- also gets the currently visible view area as an argument (adjusted for scrolling).--- Note: you can not set both a 'windowOnPaintRaw' and 'windowOnPaint' handler!-windowOnPaint :: Window a -> (DC () -> Rect -> IO ()) -> IO ()-windowOnPaint window paintHandler-  | wxToolkit == WxMac  = windowOnPaintRaw window (\dc view _ -> paintHandler dc view)-  | otherwise-  = do v <- varCreate objectNull-       windowOnEventEx window [wxEVT_PAINT] paintHandler (destroy v) (onPaint v)-  where-    destroy v ownerDeleted-      = do bitmap <- varSwap v objectNull-           when (not (objectIsNull bitmap)) (bitmapDelete bitmap)--    onPaint v event-      = do obj <- eventGetEventObject event-           if (obj==objectNull)-            then return ()-            else do let window = objectCast obj-                    view  <- windowGetViewRect window-                    withPaintDC window (\paintDC ->-                     do isScrolled <- objectIsScrolledWindow window-                        when (isScrolled) (scrolledWindowPrepareDC (objectCast window) paintDC)-                        -- Note: wxMSW 2.4 does not clear the properly scrolled view rectangle.-                        let clear dc  | wxToolkit == WxMSW  = dcClearRect dc view-                                      | otherwise           = dcClear dc-                        -- and repaint with buffer-                        dcBufferWithRefEx paintDC clear (Just v) view (\dc -> paintHandler dc view))----- | Get the current paint event handler.-windowGetOnPaint :: Window a -> IO (DC () -> Rect -> IO ())-windowGetOnPaint window-  = unsafeWindowGetHandlerState window wxEVT_PAINT (\dc view -> return ())----- Get the logical /dirty/ rectangles as a list of 'Rect'.-windowGetUpdateRects :: Window a -> IO [Rect]-windowGetUpdateRects window-  = do region <- windowGetUpdateRegion window-       iter   <- regionIteratorCreateFromRegion region-       rects  <- getRects iter-       regionIteratorDelete iter-       p <- windowGetViewStart window-       return (map (\r -> rectMove r (vecFromPoint p)) rects)-  where-    getRects iter-      = do more <- regionIteratorHaveRects iter-           if more-            then do x <- regionIteratorGetX iter-                    y <- regionIteratorGetY iter-                    w <- regionIteratorGetWidth iter-                    h <- regionIteratorGetHeight iter-                    regionIteratorNext iter-                    rs <- getRects iter-                    return (rect (pt x y) (sz w h) : rs)-            else return []---{------------------------------------------------------------------------------------------  Modifiers------------------------------------------------------------------------------------------}--- | Called when a process is ended with the process @pid@ and exitcode.-evtHandlerOnEndProcess :: EvtHandler a -> (Int -> Int -> IO ()) -> IO ()-evtHandlerOnEndProcess  evtHandler handler-  = evtHandlerOnEvent evtHandler (-1) (-1) [wxEVT_END_PROCESS] handler onDelete onEndProcess-  where-    onDelete ownerDeleted-      = return ()--    onEndProcess event-      = let processEvent = objectCast event-        in  do pid  <- processEventGetPid processEvent-               code <- processEventGetExitCode processEvent-               handler pid code----- | Retrieve the current end process handler.-evtHandlerGetOnEndProcess :: EvtHandler a -> IO (Int -> Int -> IO ())-evtHandlerGetOnEndProcess evtHandler-  = unsafeGetHandlerState evtHandler (-1) wxEVT_END_PROCESS (\pid code -> return ())----- | The status of a stream (see 'StreamBase')-data StreamStatus = StreamOk          -- ^ No error.-                  | StreamEof         -- ^ No more input.-                  | StreamReadError   -- ^ Read error.-                  | StreamWriteError  -- ^ Write error.-                  deriving (Eq,Show)---- | Convert a stream status code into 'StreamStatus'.-streamStatusFromInt :: Int -> StreamStatus-streamStatusFromInt code-  | code == wxSTREAM_NO_ERROR     = StreamOk-  | code == wxSTREAM_EOF          = StreamEof-  | code == wxSTREAM_READ_ERROR   = StreamReadError-  | code == wxSTREAM_WRITE_ERROR  = StreamWriteError-  | otherwise                     = StreamReadError----- | Install an event handler on an input stream. The handler is called--- whenever input is read (or when an error occurred). The third parameter--- gives the size of the input batches. The orignal input stream should no longer be referenced after this call!-evtHandlerOnInput :: EvtHandler b -> (String -> StreamStatus -> IO ()) -> InputStream a -> Int -> IO ()-evtHandlerOnInput evtHandler handler stream bufferLen-  = do sink <- inputSinkCreate stream evtHandler bufferLen-       evtHandlerOnInputSink evtHandler handler sink-       inputSinkStart sink---- | Install an event handler on a specific input sink. It is advised to--- use the 'evtHandlerOnInput' whenever retrieval of the handler is not necessary.-evtHandlerOnInputSink :: EvtHandler b -> (String -> StreamStatus -> IO ()) -> InputSink a -> IO ()-evtHandlerOnInputSink evtHandler handler sink-  = do id <- inputSinkGetId sink-       evtHandlerOnEvent evtHandler id id [wxEVT_INPUT_SINK] handler onDelete onInput-  where-    onDelete ownerDeleted-      = return ()--    onInput event-      = let inputSinkEvent = objectCast event-        in  do input <- inputSinkEventLastString inputSinkEvent-               code  <- inputSinkEventLastError inputSinkEvent-               handler input (streamStatusFromInt code)----- | Retrieve the current input stream handler.-evtHandlerGetOnInputSink :: EvtHandler b -> IO (String -> StreamStatus -> IO ())-evtHandlerGetOnInputSink evtHandler-  = unsafeGetHandlerState evtHandler (-1) wxEVT_INPUT_SINK (\input status -> return ())---- | Read the input from an 'InputSinkEvent'.-inputSinkEventLastString :: InputSinkEvent a -> IO String-inputSinkEventLastString inputSinkEvent-  = do n <- inputSinkEventLastRead inputSinkEvent-       if (n <= 0)-        then return ""-        else do buffer <- inputSinkEventLastInput inputSinkEvent-                peekCWStringLen (buffer,n)---{------------------------------------------------------------------------------------------  Modifiers------------------------------------------------------------------------------------------}--- | The @Modifiers@ indicate the meta keys that have been pressed ('True') or not ('False').-data Modifiers  = Modifiers-                  { altDown     :: !Bool   -- ^ alt key down-                  , shiftDown   :: !Bool   -- ^ shift key down-                  , controlDown :: !Bool   -- ^ control key down-                  , metaDown    :: !Bool   -- ^ meta key down-                  }-                  deriving (Eq)--instance Show Modifiers where-  show mods = showModifiers mods---- | Show modifiers, for example for use in menus.-showModifiers :: Modifiers -> String-showModifiers mods-  = concat $ intersperse "+" $ filter (not.null)-    [if controlDown mods then "Ctrl" else ""-    ,if altDown mods     then "Alt" else ""-    ,if shiftDown mods   then "Shift" else ""-    ,if metaDown mods    then "Meta" else ""-    ]----- | Construct a 'Modifiers' structure with no meta keys pressed.-noneDown :: Modifiers-noneDown = Modifiers False False False False---- | Construct a 'Modifiers' structure with just Shift meta key pressed.-justShift   :: Modifiers-justShift   = noneDown{ shiftDown = True }---- | Construct a 'Modifiers' structure with just Alt meta key pressed.-justAlt     :: Modifiers-justAlt     = noneDown{ altDown = True }---- | Construct a 'Modifiers' structure with just Ctrl meta key pressed.-justControl :: Modifiers-justControl = noneDown{ controlDown = True }---- | Construct a 'Modifiers' structure with just Meta meta key pressed.-justMeta :: Modifiers-justMeta = noneDown{ metaDown = True }---- | Test if no meta key was pressed.-isNoneDown :: Modifiers -> Bool-isNoneDown (Modifiers shift control alt meta) = not (shift || control || alt || meta)---- | Test if no shift, alt, or control key was pressed.-isNoShiftAltControlDown :: Modifiers -> Bool-isNoShiftAltControlDown (Modifiers shift control alt meta) = not (shift || control || alt)---- | Tranform modifiers into an accelerator modifiers code.-modifiersToAccelFlags :: Modifiers -> Int-modifiersToAccelFlags mod-  = mask (altDown mod) 0x01 + mask (controlDown mod) 0x02 + mask (shiftDown mod) 0x04-  where-    mask test flag = if test then flag else 0--{------------------------------------------------------------------------------------------  MouseEvent------------------------------------------------------------------------------------------}--- | Mouse events. The 'Point' gives the logical (unscrolled) position.-data EventMouse-  =  MouseMotion      !Point !Modifiers -- ^ Mouse was moved over the client area of the window-  |  MouseEnter       !Point !Modifiers -- ^ Mouse enters in the client area of the window-  |  MouseLeave       !Point !Modifiers -- ^ Mouse leaves the client area of the window-  |  MouseLeftDown    !Point !Modifiers -- ^ Mouse left button goes down-  |  MouseLeftUp      !Point !Modifiers -- ^ Mouse left  button goes up-  |  MouseLeftDClick  !Point !Modifiers -- ^ Mouse left button double click-  |  MouseLeftDrag    !Point !Modifiers -- ^ Mouse left button drag-  |  MouseRightDown   !Point !Modifiers -- ^ Mouse right button goes down-  |  MouseRightUp     !Point !Modifiers -- ^ Mouse right  button goes up-  |  MouseRightDClick !Point !Modifiers -- ^ Mouse right button double click-  |  MouseRightDrag   !Point !Modifiers -- ^ Mouse right button drag (unsupported on most platforms)-  |  MouseMiddleDown  !Point !Modifiers -- ^ Mouse middle button goes down-  |  MouseMiddleUp    !Point !Modifiers -- ^ Mouse middle  button goes up-  |  MouseMiddleDClick !Point !Modifiers -- ^ Mouse middle button double click-  |  MouseMiddleDrag  !Point !Modifiers -- ^ Mouse middle button drag (unsupported on most platforms)-  |  MouseWheel !Bool !Point !Modifiers -- ^ Mouse wheel rotation. (Bool is True for a downward rotation)-  deriving (Eq) -- ,Show)---instance Show EventMouse where-  show mouse  = showMouse mouse---- | Show an 'EventMouse' in a user friendly way.-showMouse :: EventMouse -> String-showMouse mouse-  = (if (null modsText) then "" else modsText ++ "+") ++ action ++ " at " ++ show (x,y)-  where-    modsText     = show (mouseModifiers mouse)-    (Point x y)  = mousePos mouse-    action-      = case mouse of-          MouseMotion p m       -> "Motion"-          MouseEnter p m        -> "Enter"-          MouseLeave p m        -> "Leave"-          MouseLeftDown p m     -> "Left down"-          MouseLeftUp p m       -> "Left up"-          MouseLeftDClick p m   -> "Left double click"-          MouseLeftDrag p m     -> "Left drag"-          MouseRightDown p m    -> "Right down"-          MouseRightUp p m      -> "Right up"-          MouseRightDClick p m  -> "Right double click"-          MouseRightDrag p m    -> "Right drag"-          MouseMiddleDown p m   -> "Middle down"-          MouseMiddleUp p m     -> "Middle up"-          MouseMiddleDClick p m -> "Middle double click"-          MouseMiddleDrag p m   -> "Middle drag"-          MouseWheel down p m   -> "Wheel " ++ (if down then "down" else "up")----- | Extract the position from a 'MouseEvent'.-mousePos :: EventMouse -> Point-mousePos mouseEvent-  = case mouseEvent of-      MouseMotion p m        -> p-      MouseEnter p m        -> p-      MouseLeave p m        -> p-      MouseLeftDown p m     -> p-      MouseLeftUp p m       -> p-      MouseLeftDClick p m   -> p-      MouseLeftDrag p m     -> p-      MouseRightDown p m    -> p-      MouseRightUp p m      -> p-      MouseRightDClick p m  -> p-      MouseRightDrag p m    -> p-      MouseMiddleDown p m   -> p-      MouseMiddleUp p m     -> p-      MouseMiddleDClick p m -> p-      MouseMiddleDrag p m   -> p-      MouseWheel _ p m      -> p---- | Extract the modifiers from a 'MouseEvent'.-mouseModifiers :: EventMouse -> Modifiers-mouseModifiers mouseEvent-  = case mouseEvent of-      MouseMotion p m       -> m-      MouseEnter p m        -> m-      MouseLeave p m        -> m-      MouseLeftDown p m     -> m-      MouseLeftUp p m       -> m-      MouseLeftDClick p m   -> m-      MouseLeftDrag p m     -> m-      MouseRightDown p m    -> m-      MouseRightUp p m      -> m-      MouseRightDClick p m  -> m-      MouseRightDrag p m    -> m-      MouseMiddleDown p m   -> m-      MouseMiddleUp p m     -> m-      MouseMiddleDClick p m -> m-      MouseMiddleDrag p m   -> m-      MouseWheel _ p m      -> m--fromMouseEvent :: MouseEvent a -> IO EventMouse-fromMouseEvent event-  = do x <- mouseEventGetX event-       y <- mouseEventGetY event-       obj   <- eventGetEventObject event-       point <- windowCalcUnscrolledPosition (objectCast obj) (Point x y)--       altDown     <- mouseEventAltDown event-       controlDown <- mouseEventControlDown event-       shiftDown   <- mouseEventShiftDown event-       metaDown    <- mouseEventMetaDown event-       let modifiers = Modifiers altDown shiftDown controlDown metaDown--       dragging    <- mouseEventDragging event-       if (dragging)-        then do leftDown <- mouseEventLeftIsDown event-                if (leftDown)-                 then return (MouseLeftDrag point modifiers)-                 else do middleDown <- mouseEventMiddleIsDown event-                         if (middleDown)-                          then return (MouseMiddleDrag point modifiers)-                          else do rightDown <- mouseEventRightIsDown event-                                  if (rightDown)-                                   then return (MouseRightDrag point modifiers)-                                   else return (MouseMotion point modifiers)-        else do tp <- eventGetEventType event-                case lookup tp mouseEventTypes of-                  Just mouse  -> return (mouse point modifiers)-                  Nothing     -> if (tp==wxEVT_MOUSEWHEEL)-                                  then do rot   <- mouseEventGetWheelRotation event-                                          delta <- mouseEventGetWheelDelta event-                                          if (abs rot >= delta)-                                           then return (MouseWheel (rot<0) point modifiers)-                                           else return (MouseMotion point modifiers)-                                  else return (MouseMotion point modifiers)--mouseEventTypes :: [(Int,Point -> Modifiers -> EventMouse)]-mouseEventTypes-  = [(wxEVT_MOTION       , MouseMotion)         -- must be the first element, see "windowOnMouse"-    ,(wxEVT_ENTER_WINDOW , MouseEnter)-    ,(wxEVT_LEAVE_WINDOW , MouseLeave)-    ,(wxEVT_LEFT_DOWN    , MouseLeftDown)-    ,(wxEVT_LEFT_UP      , MouseLeftUp)-    ,(wxEVT_LEFT_DCLICK  , MouseLeftDClick)-    ,(wxEVT_MIDDLE_DOWN  , MouseMiddleDown)-    ,(wxEVT_MIDDLE_UP    , MouseMiddleUp)-    ,(wxEVT_MIDDLE_DCLICK, MouseMiddleDClick)-    ,(wxEVT_RIGHT_DOWN   , MouseRightDown)-    ,(wxEVT_RIGHT_UP     , MouseRightUp)-    ,(wxEVT_RIGHT_DCLICK , MouseRightDClick)-    ]---- | Set a mouse event handler for a window. The first argument determines whether--- mouse motion events ('MouseMotion') are handled or not.-windowOnMouse :: Window a -> Bool -> (EventMouse -> IO ()) -> IO ()-windowOnMouse window allowMotion handler-  = windowOnEvent window mouseEvents handler eventHandler-  where-    mouseEvents-      = (map fst (if allowMotion then mouseEventTypes else tail (mouseEventTypes))) ++ [wxEVT_MOUSEWHEEL]--    eventHandler event-      = do eventMouse <- fromMouseEvent (objectCast event)-           handler eventMouse---- | Get the current mouse event handler of a window.-windowGetOnMouse :: Window a -> IO (EventMouse -> IO ())-windowGetOnMouse window-  = unsafeWindowGetHandlerState window wxEVT_ENTER_WINDOW (\ev -> skipCurrentEvent)---{------------------------------------------------------------------------------------------  KeyboardEvent------------------------------------------------------------------------------------------}--- | Set an event handler for untranslated key presses. If 'skipCurrentEvent' is not--- called, the corresponding 'windowOnKeyChar' eventhandler won't be called.-windowOnKeyDown :: Window a -> (EventKey -> IO ()) -> IO ()-windowOnKeyDown window handler-  = windowOnEvent window [wxEVT_KEY_DOWN] handler eventHandler-  where-    eventHandler event-      = do eventKey <- eventKeyFromEvent (objectCast event)-           handler eventKey---- | Get the current key down handler of a window.-windowGetOnKeyDown :: Window a -> IO (EventKey -> IO ())-windowGetOnKeyDown window-  = unsafeWindowGetHandlerState window wxEVT_KEY_DOWN (\eventKey -> skipCurrentEvent)----- | Set an event handler for translated key presses.-windowOnKeyChar :: Window a -> (EventKey -> IO ()) -> IO ()-windowOnKeyChar window handler-  = windowOnEvent window [wxEVT_CHAR] handler eventHandler-  where-    eventHandler event-      = do eventKey <- eventKeyFromEvent (objectCast event)-           handler eventKey---- | Get the current translated key handler of a window.-windowGetOnKeyChar :: Window a -> IO (EventKey -> IO ())-windowGetOnKeyChar window-  = unsafeWindowGetHandlerState window wxEVT_CHAR (\eventKey -> skipCurrentEvent)----- | Set an event handler for (untranslated) key releases.-windowOnKeyUp :: Window a -> (EventKey -> IO ()) -> IO ()-windowOnKeyUp window handler-  = windowOnEvent window [wxEVT_KEY_UP] handler eventHandler-  where-    eventHandler event-      = do eventKey <- eventKeyFromEvent (objectCast event)-           handler eventKey---- | Get the current key release handler of a window.-windowGetOnKeyUp :: Window a -> IO (EventKey -> IO ())-windowGetOnKeyUp window-  = unsafeWindowGetHandlerState window wxEVT_KEY_UP (\keyInfo -> skipCurrentEvent)---eventKeyFromEvent :: KeyEvent a -> IO EventKey-eventKeyFromEvent event-  = do x <- keyEventGetX event-       y <- keyEventGetY event-       obj   <- eventGetEventObject event-       point <- if objectIsNull obj-                 then return (Point x y)-                 else windowCalcUnscrolledPosition (objectCast obj) (Point x y)--       altDown     <- keyEventAltDown event-       controlDown <- keyEventControlDown event-       shiftDown   <- keyEventShiftDown event-       metaDown    <- keyEventMetaDown event-       let modifiers = Modifiers altDown shiftDown controlDown metaDown--       keyCode <- keyEventGetKeyCode event-       let key = keyCodeToKey keyCode--       return (EventKey key modifiers point)------ | A keyboard event contains the key, the modifiers and the focus point.-data EventKey  = EventKey !Key !Modifiers !Point-               deriving (Eq,Show)---- | Extract the key from a keyboard event.-keyKey :: EventKey -> Key-keyKey (EventKey key mods pos) = key---- | Extract the modifiers from a keyboard event.-keyModifiers :: EventKey -> Modifiers-keyModifiers (EventKey key mods pos) = mods---- | Extract the position from a keyboard event.-keyPos :: EventKey -> Point-keyPos (EventKey key mods pos) = pos----- | A low-level virtual key code.-type KeyCode  = Int---- | A 'Key' represents a single key on a keyboard.-data Key-  = KeyChar  !Char        -- ^ An ascii code.-  | KeyOther !KeyCode     -- ^ An unknown virtual key.-  | KeyBack-  | KeyTab-  | KeyReturn-  | KeyEscape-  | KeySpace-  | KeyDelete-  | KeyInsert-  | KeyEnd-  | KeyHome-  | KeyLeft-  | KeyUp-  | KeyRight-  | KeyDown-  | KeyPageUp-  | KeyPageDown-  | KeyStart-  | KeyClear-  | KeyShift-  | KeyAlt-  | KeyControl-  | KeyMenu-  | KeyPause-  | KeyCapital-  | KeyHelp-  | KeySelect-  | KeyPrint-  | KeyExecute-  | KeySnapshot-  | KeyCancel-  | KeyLeftButton-  | KeyRightButton-  | KeyMiddleButton-  | KeyNum0-  | KeyNum1-  | KeyNum2-  | KeyNum3-  | KeyNum4-  | KeyNum5-  | KeyNum6-  | KeyNum7-  | KeyNum8-  | KeyNum9-  | KeyMultiply-  | KeyAdd-  | KeySeparator-  | KeySubtract-  | KeyDecimal-  | KeyDivide-  | KeyF1-  | KeyF2-  | KeyF3-  | KeyF4-  | KeyF5-  | KeyF6-  | KeyF7-  | KeyF8-  | KeyF9-  | KeyF10-  | KeyF11-  | KeyF12-  | KeyF13-  | KeyF14-  | KeyF15-  | KeyF16-  | KeyF17-  | KeyF18-  | KeyF19-  | KeyF20-  | KeyF21-  | KeyF22-  | KeyF23-  | KeyF24-  | KeyNumLock-  | KeyScroll-{- Note: If we add "deriving (Show)" we get a strange link error in ghci:-    Loading package wxh ... linking ... Overflown relocs: 122--}-  deriving (Eq)--{--  | KeyNumSpace-  | KeyNumTab-  | KeyNumEnter-  | KeyNumF1-  | KeyNumF2-  | KeyNumF3-  | KeyNumF4-  | KeyNumHome-  | KeyNumLeft-  | KeyNumUp-  | KeyNumRight-  | KeyNumDown-  | KeyNumPageUp-  | KeyNumPageDown-  | KeyNumEnd-  | KeyNumBegin-  | KeyNumInsert-  | KeyNumDelete-  | KeyNumEqual-  | KeyNumMultiply-  | KeyNumAdd-  | KeyNumSeparator-  | KeyNumSubstract-  | KeyNumDecimal-  | KeyNumSubstract--}---- | From a key to a virtual key code.-keyToKeyCode :: Key -> KeyCode-keyToKeyCode key-  = case key of-      KeyChar c       -> fromEnum c-      KeyOther code   -> code-      KeyBack         -> wxK_BACK-      KeyTab          -> wxK_TAB-      KeyReturn       -> wxK_RETURN-      KeyEscape       -> wxK_ESCAPE-      KeySpace        -> wxK_SPACE-      KeyDelete       -> wxK_DELETE-      KeyInsert       -> wxK_INSERT-      KeyEnd          -> wxK_END-      KeyHome         -> wxK_HOME-      KeyLeft         -> wxK_LEFT-      KeyUp           -> wxK_UP-      KeyRight        -> wxK_RIGHT-      KeyDown         -> wxK_DOWN-      KeyPageUp       -> wxK_PAGEUP-      KeyPageDown     -> wxK_PAGEDOWN-      KeyStart        -> wxK_START-      KeyClear        -> wxK_CLEAR-      KeyShift        -> wxK_SHIFT-      KeyAlt          -> wxK_ALT-      KeyControl      -> wxK_CONTROL-      KeyMenu         -> wxK_MENU-      KeyPause        -> wxK_PAUSE-      KeyCapital      -> wxK_CAPITAL-      KeyHelp         -> wxK_HELP-      KeySelect       -> wxK_SELECT-      KeyPrint        -> wxK_PRINT-      KeyExecute      -> wxK_EXECUTE-      KeySnapshot     -> wxK_SNAPSHOT-      KeyCancel       -> wxK_CANCEL-      KeyLeftButton   -> wxK_LBUTTON-      KeyRightButton  -> wxK_RBUTTON-      KeyMiddleButton -> wxK_MBUTTON-      KeyNum0         -> wxK_NUMPAD0-      KeyNum1         -> wxK_NUMPAD1-      KeyNum2         -> wxK_NUMPAD2-      KeyNum3         -> wxK_NUMPAD3-      KeyNum4         -> wxK_NUMPAD4-      KeyNum5         -> wxK_NUMPAD5-      KeyNum6         -> wxK_NUMPAD6-      KeyNum7         -> wxK_NUMPAD7-      KeyNum8         -> wxK_NUMPAD8-      KeyNum9         -> wxK_NUMPAD9-      KeyMultiply     -> wxK_MULTIPLY-      KeyAdd          -> wxK_ADD-      KeySeparator    -> wxK_SEPARATOR-      KeySubtract     -> wxK_SUBTRACT-      KeyDecimal      -> wxK_DECIMAL-      KeyDivide       -> wxK_DIVIDE-      KeyF1           -> wxK_F1-      KeyF2           -> wxK_F2-      KeyF3           -> wxK_F3-      KeyF4           -> wxK_F4-      KeyF5           -> wxK_F5-      KeyF6           -> wxK_F6-      KeyF7           -> wxK_F7-      KeyF8           -> wxK_F8-      KeyF9           -> wxK_F9-      KeyF10          -> wxK_F10-      KeyF11          -> wxK_F11-      KeyF12          -> wxK_F12-      KeyF13          -> wxK_F13-      KeyF14          -> wxK_F14-      KeyF15          -> wxK_F15-      KeyF16          -> wxK_F16-      KeyF17          -> wxK_F17-      KeyF18          -> wxK_F18-      KeyF19          -> wxK_F19-      KeyF20          -> wxK_F20-      KeyF21          -> wxK_F21-      KeyF22          -> wxK_F22-      KeyF23          -> wxK_F23-      KeyF24          -> wxK_F24-      KeyNumLock      -> wxK_NUMLOCK-      KeyScroll       -> wxK_SCROLL---- | A virtual key code to a key.-keyCodeToKey :: KeyCode -> Key-keyCodeToKey keyCode-  = if (keyCode < wxK_DELETE && keyCode > wxK_SPACE)     -- optimize for the common case-     then KeyChar (toEnum keyCode)-     else case IntMap.lookup keyCode keyCodeMap of-            Just key -> key-            Nothing  | keyCode <= 255  -> KeyChar (toEnum keyCode)-                     | otherwise       -> KeyOther keyCode---- Use a big-endian patricia tree to efficiently map key codes to Haskell keys.--- Since it is a static map, we could maybe use one of Knuth's optimally balanced--- trees....--- keyCodeMap :: IntMap.IntMap Key-keyCodeMap-  = IntMap.fromList-    [(wxK_BACK         , KeyBack)-    ,(wxK_TAB          , KeyTab)-    ,(wxK_RETURN       , KeyReturn)-    ,(wxK_ESCAPE       , KeyEscape)-    ,(wxK_SPACE        , KeySpace)-    ,(wxK_DELETE       , KeyDelete)-    ,(wxK_INSERT       , KeyInsert)-    ,(wxK_END          , KeyEnd)-    ,(wxK_HOME         , KeyHome)-    ,(wxK_LEFT         , KeyLeft)-    ,(wxK_UP           , KeyUp)-    ,(wxK_RIGHT        , KeyRight)-    ,(wxK_DOWN         , KeyDown)-    ,(wxK_PAGEUP       , KeyPageUp)-    ,(wxK_PAGEDOWN     , KeyPageDown)-    ,(wxK_START        , KeyStart)-    ,(wxK_CLEAR        , KeyClear)-    ,(wxK_SHIFT        , KeyShift)-    ,(wxK_ALT          , KeyAlt)-    ,(wxK_CONTROL      , KeyControl)-    ,(wxK_MENU         , KeyMenu)-    ,(wxK_PAUSE        , KeyPause)-    ,(wxK_CAPITAL      , KeyCapital)-    ,(wxK_HELP         , KeyHelp)-    ,(wxK_SELECT       , KeySelect)-    ,(wxK_PRINT        , KeyPrint)-    ,(wxK_EXECUTE      , KeyExecute)-    ,(wxK_SNAPSHOT     , KeySnapshot)-    ,(wxK_CANCEL       , KeyCancel)-    ,(wxK_LBUTTON      , KeyLeftButton)-    ,(wxK_RBUTTON      , KeyRightButton)-    ,(wxK_MBUTTON      , KeyMiddleButton)-    ,(wxK_NUMPAD0      , KeyNum0)-    ,(wxK_NUMPAD1      , KeyNum1)-    ,(wxK_NUMPAD2      , KeyNum2)-    ,(wxK_NUMPAD3      , KeyNum3)-    ,(wxK_NUMPAD4      , KeyNum4)-    ,(wxK_NUMPAD5      , KeyNum5)-    ,(wxK_NUMPAD6      , KeyNum6)-    ,(wxK_NUMPAD7      , KeyNum7)-    ,(wxK_NUMPAD8      , KeyNum8)-    ,(wxK_NUMPAD9      , KeyNum9)-    ,(wxK_MULTIPLY     , KeyMultiply)-    ,(wxK_ADD          , KeyAdd)-    ,(wxK_SEPARATOR    , KeySeparator)-    ,(wxK_SUBTRACT     , KeySubtract)-    ,(wxK_DECIMAL      , KeyDecimal)-    ,(wxK_DIVIDE       , KeyDivide)-    ,(wxK_F1           , KeyF1)-    ,(wxK_F2           , KeyF2)-    ,(wxK_F3           , KeyF3)-    ,(wxK_F4           , KeyF4)-    ,(wxK_F5           , KeyF5)-    ,(wxK_F6           , KeyF6)-    ,(wxK_F7           , KeyF7)-    ,(wxK_F8           , KeyF8)-    ,(wxK_F9           , KeyF9)-    ,(wxK_F10          , KeyF10)-    ,(wxK_F11          , KeyF11)-    ,(wxK_F12          , KeyF12)-    ,(wxK_F13          , KeyF13)-    ,(wxK_F14          , KeyF14)-    ,(wxK_F15          , KeyF15)-    ,(wxK_F16          , KeyF16)-    ,(wxK_F17          , KeyF17)-    ,(wxK_F18          , KeyF18)-    ,(wxK_F19          , KeyF19)-    ,(wxK_F20          , KeyF20)-    ,(wxK_F21          , KeyF21)-    ,(wxK_F22          , KeyF22)-    ,(wxK_F23          , KeyF23)-    ,(wxK_F24          , KeyF24)-    ,(wxK_NUMLOCK      , KeyNumLock)-    ,(wxK_SCROLL       , KeyScroll)-    -- translate with loss of information-    ,(wxK_NUMPAD_SPACE , KeySpace)-    ,(wxK_NUMPAD_TAB   , KeyTab)-    ,(wxK_NUMPAD_ENTER , KeyReturn)-    ,(wxK_NUMPAD_F1    , KeyF1)-    ,(wxK_NUMPAD_F2    , KeyF2)-    ,(wxK_NUMPAD_F3    , KeyF3)-    ,(wxK_NUMPAD_F4    , KeyF4)-    ,(wxK_NUMPAD_HOME  , KeyHome)-    ,(wxK_NUMPAD_LEFT  , KeyLeft)-    ,(wxK_NUMPAD_UP    , KeyUp)-    ,(wxK_NUMPAD_RIGHT , KeyRight)-    ,(wxK_NUMPAD_DOWN  , KeyDown)-    ,(wxK_NUMPAD_PAGEUP   , KeyPageUp)-    ,(wxK_NUMPAD_PAGEDOWN , KeyPageDown)-    ,(wxK_NUMPAD_END      , KeyEnd)---            ,(wxK_NUMPAD_BEGIN    , KeyBegin)-    ,(wxK_NUMPAD_INSERT   , KeyInsert)-    ,(wxK_NUMPAD_DELETE   , KeyDelete)---            ,(wxK_NUMPAD_EQUAL    , KeyEqual)-    ,(wxK_NUMPAD_MULTIPLY , KeyMultiply)-    ,(wxK_NUMPAD_ADD      , KeyAdd)-    ,(wxK_NUMPAD_SEPARATOR  , KeySeparator)-    ,(wxK_NUMPAD_SUBTRACT   , KeySubtract)-    ,(wxK_NUMPAD_DECIMAL    , KeyDecimal)-    ,(wxK_NUMPAD_DIVIDE     , KeyDivide)-    ]---instance Show Key where-  show k  = showKey k---- | Show a key\/modifiers combination, for example for use in menus.-showKeyModifiers :: Key -> Modifiers -> String-showKeyModifiers key mods-  | null modsText = show key-  | otherwise     = modsText ++ "+" ++ show key-  where-    modsText = show mods---- | Show a key for use in menus for example.-showKey :: Key -> String-showKey key-  = case key of-      KeyChar c       -> [c]-      KeyOther code   -> "[" ++ show code ++ "]"-      KeyBack         -> "Backspace"-      KeyTab          -> "Tab"-      KeyReturn       -> "Enter"-      KeyEscape       -> "Esc"-      KeySpace        -> "Space"-      KeyDelete       -> "Delete"-      KeyInsert       -> "Insert"-      KeyEnd          -> "End"-      KeyHome         -> "Home"-      KeyLeft         -> "Left"-      KeyUp           -> "Up"-      KeyRight        -> "Right"-      KeyDown         -> "Down"-      KeyPageUp       -> "PgUp"-      KeyPageDown     -> "PgDn"-      KeyStart        -> "Start"-      KeyClear        -> "Clear"-      KeyShift        -> "Shift"-      KeyAlt          -> "Alt"-      KeyControl      -> "Ctrl"-      KeyMenu         -> "Menu"-      KeyPause        -> "Pause"-      KeyCapital      -> "Capital"-      KeyHelp         -> "Help"-      KeySelect       -> "Select"-      KeyPrint        -> "Print"-      KeyExecute      -> "Execute"-      KeySnapshot     -> "Snapshot"-      KeyCancel       -> "Cancel"-      KeyLeftButton   -> "Left Button"-      KeyRightButton  -> "Right Button"-      KeyMiddleButton -> "Middle Button"-      KeyNum0         -> "Num 0"-      KeyNum1         -> "Num 1"-      KeyNum2         -> "Num 2"-      KeyNum3         -> "Num 3"-      KeyNum4         -> "Num 4"-      KeyNum5         -> "Num 5"-      KeyNum6         -> "Num 6"-      KeyNum7         -> "Num 7"-      KeyNum8         -> "Num 8"-      KeyNum9         -> "Num 9"-      KeyMultiply     -> "Num *"-      KeyAdd          -> "Num +"-      KeySeparator    -> "Num Separator"-      KeySubtract     -> "Num -"-      KeyDecimal      -> "Num ."-      KeyDivide       -> "Num /"-      KeyF1           -> "F1"-      KeyF2           -> "F2"-      KeyF3           -> "F3"-      KeyF4           -> "F4"-      KeyF5           -> "F5"-      KeyF6           -> "F6"-      KeyF7           -> "F7"-      KeyF8           -> "F8"-      KeyF9           -> "F9"-      KeyF10          -> "F10"-      KeyF11          -> "F11"-      KeyF12          -> "F12"-      KeyF13          -> "F13"-      KeyF14          -> "F14"-      KeyF15          -> "F15"-      KeyF16          -> "F16"-      KeyF17          -> "F17"-      KeyF18          -> "F18"-      KeyF19          -> "F19"-      KeyF20          -> "F20"-      KeyF21          -> "F21"-      KeyF22          -> "F22"-      KeyF23          -> "F23"-      KeyF24          -> "F24"-      KeyNumLock      -> "Numlock"-      KeyScroll       -> "Scroll"--{------------------------------------------------------------------------------------------  Drag and Drop events------------------------------------------------------------------------------------------}--- | Drag results-data DragResult-    = DragError-    | DragNone-    | DragCopy-    | DragMove-    | DragLink-    | DragCancel-    | DragUnknown-   deriving (Eq,Show)--dragResults :: [(Int, DragResult)]-dragResults-    = [(wxDRAG_ERROR   ,DragError)-      ,(wxDRAG_NONE    ,DragNone)-      ,(wxDRAG_COPY    ,DragCopy)-      ,(wxDRAG_MOVE    ,DragMove)-      ,(wxDRAG_LINK    ,DragLink)-      ,(wxDRAG_CANCEL  ,DragCancel)]--fromDragResult :: DragResult -> Int-fromDragResult drag-  = case drag of-      DragError   -> wxDRAG_ERROR-      DragNone    -> wxDRAG_NONE-      DragCopy    -> wxDRAG_COPY-      DragMove    -> wxDRAG_MOVE-      DragLink    -> wxDRAG_LINK-      DragCancel  -> wxDRAG_CANCEL-      DragUnknown -> wxDRAG_ERROR--toDragResult :: Int -> DragResult-toDragResult drag- = case lookup drag dragResults of-      Just x -> x-      Nothing -> DragError---- | Set an event handler that is called when the drop target can be filled with data.--- This function require to use 'dropTargetGetData' in your event handler to fill data.-dropTargetOnData :: DropTarget a -> (Point -> DragResult -> IO DragResult) -> IO ()-dropTargetOnData drop event = do-    funPtr <- dragThreeFuncHandler event-    wxcDropTargetSetOnData (objectCast drop) (toCFunPtr funPtr)---- | Set an event handler for an drop command in a drop target.-dropTargetOnDrop :: DropTarget a -> (Point -> IO Bool) -> IO ()-dropTargetOnDrop drop event = do-    funPtr <- dragTwoFuncHandler event-    wxcDropTargetSetOnDrop (objectCast drop) (toCFunPtr funPtr)---- | Set an event handler for an enter command in a drop target.-dropTargetOnEnter :: DropTarget a -> (Point -> DragResult -> IO DragResult) -> IO ()-dropTargetOnEnter drop event = do-    funPtr <- dragThreeFuncHandler event-    wxcDropTargetSetOnEnter (objectCast drop) (toCFunPtr funPtr)---- | Set an event handler for a drag over command in a drop target.-dropTargetOnDragOver :: DropTarget a -> (Point -> DragResult -> IO DragResult) -> IO ()-dropTargetOnDragOver drop event = do-    funPtr <- dragThreeFuncHandler event-    wxcDropTargetSetOnDragOver (objectCast drop) (toCFunPtr funPtr)---- | Set an event handler for a leave command in a drop target.-dropTargetOnLeave :: DropTarget a -> (IO ()) -> IO ()-dropTargetOnLeave drop event = do-    funPtr <- dragZeroFuncHandler event-    wxcDropTargetSetOnLeave (objectCast drop) (toCFunPtr funPtr)--dragZeroFuncHandler event =-    dragZeroFunc $ \obj -> do-    event--dragTwoFuncHandler event =-    dragTwoFunc $ \obj x y -> do-    result <- event (point (fromIntegral x) (fromIntegral y))-    return $ fromBool result--dragThreeFuncHandler event =-    dragThreeFunc $ \obj x y pre -> do-    result <- event (point (fromIntegral x) (fromIntegral y)) (toDragResult $ fromIntegral pre)-    return $ fromIntegral $ fromDragResult result---- | Set an event handler for a drag & drop command between drag source window and drop--- target. You must set 'dropTarget' before use this action.--- And If you use 'fileDropTarget' or 'textDropTarget', you need not use this.-dragAndDrop :: DropSource a -> DragMode -> (DragResult -> IO ()) -> IO ()-dragAndDrop drSrc flag event = do-    result <- dropSourceDoDragDrop drSrc (fromDragMode flag)-    case lookup result dragResults of-      Just x -> event x-      Nothing -> return ()---- | Set an event handler that is called when text is dropped in target window.-textDropTarget :: Window a -> TextDataObject b -> (Point -> String -> IO ()) -> IO ()-textDropTarget window textData event = do-    funPtr <- dropTextHandler event-    textDrop <- wxcTextDropTargetCreate nullPtr (toCFunPtr funPtr)-    dropTargetSetDataObject textDrop textData-    windowSetDropTarget window textDrop--dropTextHandler event =-    wrapTextDropHandler $ \obj x y cstr -> do-    str <- peekCWString cstr-    event (point (fromIntegral x) (fromIntegral y)) str---- | Set an event handler that is called when files are dropped in target window.-fileDropTarget :: Window a -> (Point -> [String] -> IO ()) -> IO ()-fileDropTarget window event = do-    funPtr <- dropFileHandler event-    fileDrop <- wxcFileDropTargetCreate nullPtr (toCFunPtr funPtr)-    windowSetDropTarget window fileDrop--dropFileHandler event =-    wrapFileDropHandler $ \obj x y carr size -> do-    arr <- peekArray (fromIntegral size) carr-    files <- mapM peekCWString arr-    event (point (fromIntegral x) (fromIntegral y)) files--data DragMode = CopyOnly | AllowMove | Default-              deriving (Eq,Show)-              -- deriving (Eq,Show,Read,Typeable)--fromDragMode :: DragMode -> Int-fromDragMode mode-  = case mode of-      CopyOnly  -> wxDRAG_COPYONLY-      AllowMove -> wxDRAG_ALLOWMOVE-      Default   -> wxDRAG_DEFALUTMOVE--foreign import ccall "wrapper" dragZeroFunc :: (Ptr obj -> IO ()) -> IO (FunPtr (Ptr obj -> IO ()))-foreign import ccall "wrapper" dragTwoFunc :: (Ptr obj -> CInt -> CInt -> IO CInt) -> IO (FunPtr (Ptr obj -> CInt -> CInt -> IO CInt))-foreign import ccall "wrapper" dragThreeFunc :: (Ptr obj -> CInt -> CInt -> CInt -> IO CInt) -> IO (FunPtr (Ptr obj -> CInt -> CInt -> CInt -> IO CInt))-foreign import ccall "wrapper" wrapTextDropHandler :: (Ptr obj -> CInt -> CInt -> Ptr CWchar -> IO ()) -> IO (FunPtr (Ptr obj -> CInt -> CInt -> Ptr CWchar -> IO ()))-foreign import ccall "wrapper" wrapFileDropHandler :: (Ptr obj -> CInt -> CInt -> Ptr (Ptr CWchar) -> CInt -> IO ()) -> IO (FunPtr (Ptr obj -> CInt -> CInt -> Ptr (Ptr CWchar) -> CInt -> IO ()))--{------------------------------------------------------------------------------------------  Grid events------------------------------------------------------------------------------------------}-type Column     = Int-type Row        = Int---- | Grid events. -data EventGrid  = GridCellMouse        !Row !Column !EventMouse-                | GridLabelMouse       !Row !Column !EventMouse-                | GridCellChange       !Row !Column !(IO ())-                | GridCellSelect       !Row !Column !(IO ())-                | GridCellDeSelect     !Row !Column !(IO ())-                | GridEditorHidden     !Row !Column !(IO ())-                | GridEditorShown      !Row !Column !(IO ())-                | GridEditorCreated    !Row !Column (IO (Control ())) -                | GridColSize          !Column !Point !Modifiers (IO ())-                | GridRowSize          !Row !Point !Modifiers (IO ())-                | GridRangeSelect      !Row !Column !Row !Column !Rect !Modifiers !(IO ())-                | GridRangeDeSelect    !Row !Column !Row !Column !Rect !Modifiers !(IO ())-                | GridUnknown          !Row !Column !Int--fromGridEvent :: GridEvent a -> IO EventGrid-fromGridEvent gridEvent-  = do tp  <- eventGetEventType gridEvent-       row <- gridEventGetRow gridEvent-       col <- gridEventGetCol gridEvent-       case lookup tp gridEvents of-         Just make  -> make gridEvent row col -         Nothing    -> return (GridUnknown row col tp)--gridEvents :: [(Int, GridEvent a -> Int -> Int -> IO EventGrid)]-gridEvents-  = [(wxEVT_GRID_CELL_LEFT_CLICK,    gridMouse GridCellMouse MouseLeftDown)-    ,(wxEVT_GRID_CELL_LEFT_DCLICK,   gridMouse GridCellMouse MouseLeftDClick)-    ,(wxEVT_GRID_CELL_RIGHT_CLICK,   gridMouse GridCellMouse MouseRightDown)-    ,(wxEVT_GRID_CELL_RIGHT_DCLICK,  gridMouse GridCellMouse MouseRightDClick)-    ,(wxEVT_GRID_LABEL_LEFT_CLICK,   gridMouse GridLabelMouse MouseLeftDown)-    ,(wxEVT_GRID_LABEL_LEFT_DCLICK,  gridMouse GridLabelMouse MouseLeftDClick)-    ,(wxEVT_GRID_LABEL_RIGHT_CLICK,  gridMouse GridLabelMouse MouseRightDown)-    ,(wxEVT_GRID_LABEL_RIGHT_DCLICK, gridMouse GridLabelMouse MouseRightDClick)-    ,(wxEVT_GRID_CELL_CHANGE,        gridVeto  GridCellChange)-    ,(wxEVT_GRID_SELECT_CELL,        gridSelect)-    ,(wxEVT_GRID_EDITOR_SHOWN,       gridVeto GridEditorShown)-    ,(wxEVT_GRID_EDITOR_HIDDEN,      gridVeto GridEditorHidden)-    ]-  where-    gridMouse make makeMouse gridEvent row col-      = do pt          <- gridEventGetPosition gridEvent-           altDown     <- gridEventAltDown gridEvent-           controlDown <- gridEventControlDown gridEvent-           shiftDown   <- gridEventShiftDown gridEvent-           metaDown    <- gridEventMetaDown gridEvent-           let modifiers = Modifiers altDown shiftDown controlDown metaDown-           return (make row col (makeMouse pt modifiers))--    gridVeto make gridEvent row col-      = return (make row col (notifyEventVeto gridEvent))--    gridSelect gridEvent row col-      = do selecting <- gridEventSelecting gridEvent-           if selecting-            then return (GridCellSelect row col (notifyEventVeto gridEvent))-            else return (GridCellDeSelect row col (notifyEventVeto gridEvent))------- | Set a grid event handler.-gridOnGridEvent :: Grid a -> (EventGrid -> IO ()) -> IO ()-gridOnGridEvent grid eventHandler-  = windowOnEvent grid (map fst gridEvents) eventHandler gridHandler-  where-    gridHandler event-      = do eventGrid <- fromGridEvent (objectCast event)-           eventHandler eventGrid---- | Get the current grid event handler of a window.-gridGetOnGridEvent :: Grid a -> IO (EventGrid -> IO ())-gridGetOnGridEvent grid-  = unsafeWindowGetHandlerState grid wxEVT_GRID_CELL_CHANGE (\event -> skipCurrentEvent)---{------------------------------------------------------------------------------------------  TreeCtrl events------------------------------------------------------------------------------------------}--- | Tree control events-data EventTree  = TreeBeginRDrag      TreeItem  !Point  (IO ()) -- ^ Drag with right button. Call @IO@ action to continue dragging.-                | TreeBeginDrag       TreeItem  !Point  (IO ())-                | TreeEndDrag         TreeItem  !Point-                | TreeBeginLabelEdit  TreeItem  String  (IO ())     -- ^ Edit a label. Call @IO@ argument to disallow the edit.-                | TreeEndLabelEdit    TreeItem  String Bool  (IO ()) -- ^ End edit. @Bool@ is 'True' when the edit was cancelled. Call the @IO@ argument to veto the action.-                | TreeDeleteItem      TreeItem  -                | TreeItemActivated   TreeItem  -                | TreeItemCollapsed   TreeItem  -                | TreeItemCollapsing  TreeItem  (IO ())          -- ^ Call the @IO@ argument to veto.       -                | TreeItemExpanding   TreeItem  (IO ())          -- ^ Call the @IO@ argument to veto.-                | TreeItemExpanded    TreeItem  -                | TreeItemRightClick  TreeItem  -                | TreeItemMiddleClick TreeItem  -                | TreeSelChanged      TreeItem  TreeItem  -                | TreeSelChanging     TreeItem  TreeItem  (IO ()) -- ^ Call the @IO@ argument to veto.-                | TreeKeyDown         TreeItem  EventKey-                | TreeUnknown--fromTreeEvent :: TreeEvent a -> IO EventTree-fromTreeEvent treeEvent-  = do tp   <- eventGetEventType treeEvent-       item <- treeEventGetItem treeEvent-       case lookup tp treeEvents of-         Just make   -> make treeEvent item-         Nothing     -> return TreeUnknown-        -treeEvents :: [(Int,TreeEvent a -> TreeItem -> IO EventTree)]-treeEvents -  = [(wxEVT_COMMAND_TREE_DELETE_ITEM,       fromItemEvent TreeDeleteItem)-    ,(wxEVT_COMMAND_TREE_ITEM_ACTIVATED,    fromItemEvent TreeItemActivated)-    ,(wxEVT_COMMAND_TREE_ITEM_COLLAPSED,    fromItemEvent TreeItemCollapsed)-    ,(wxEVT_COMMAND_TREE_ITEM_EXPANDED,     fromItemEvent TreeItemExpanded)-    ,(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK,  fromItemEvent TreeItemRightClick)-    ,(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK, fromItemEvent TreeItemMiddleClick)-    ,(wxEVT_COMMAND_TREE_ITEM_COLLAPSING,   withVeto (fromItemEvent TreeItemCollapsing))-    ,(wxEVT_COMMAND_TREE_ITEM_EXPANDING,    withVeto (fromItemEvent TreeItemExpanding))-    ,(wxEVT_COMMAND_TREE_KEY_DOWN,          fromKeyDownEvent )-    ,(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT,  fromBeginLabelEditEvent )-    ,(wxEVT_COMMAND_TREE_END_LABEL_EDIT,    fromEndLabelEditEvent )-    ,(wxEVT_COMMAND_TREE_BEGIN_DRAG,        withAllow (fromDragEvent TreeBeginDrag))-    ,(wxEVT_COMMAND_TREE_BEGIN_RDRAG,       withAllow (fromDragEvent TreeBeginRDrag))-    ,(wxEVT_COMMAND_TREE_END_DRAG,          fromDragEvent TreeEndDrag)-    ,(wxEVT_COMMAND_TREE_SEL_CHANGED,       fromChangeEvent TreeSelChanged)-    ,(wxEVT_COMMAND_TREE_SEL_CHANGING,      withVeto (fromChangeEvent TreeSelChanging))-    ]-  where-    fromKeyDownEvent treeEvent item-      = do keyEvent <- treeEventGetKeyEvent treeEvent-           eventKey <- eventKeyFromEvent keyEvent-           return (TreeKeyDown item eventKey)--    fromBeginLabelEditEvent treeEvent item-      = do lab <- treeEventGetLabel treeEvent-           return (TreeBeginLabelEdit item lab (notifyEventVeto treeEvent))-                  -    fromEndLabelEditEvent treeEvent item-      = do lab <- treeEventGetLabel treeEvent-           can <- treeEventIsEditCancelled treeEvent-           return (TreeEndLabelEdit item lab can (notifyEventVeto treeEvent))--    fromDragEvent make treeEvent item-      = do pt <- treeEventGetPoint treeEvent-           return (make item pt)--    fromChangeEvent make treeEvent item-      = do olditem <- treeEventGetOldItem treeEvent-           return (make item olditem)-    -    withAllow make treeEvent item-      = do f <- make treeEvent item-           return (f (treeEventAllow treeEvent))--    withVeto make treeEvent item-      = do f <- make treeEvent item-           return (f (notifyEventVeto treeEvent))--    fromItemEvent make treeEvent item-      = return (make item)------ | Set a tree event handler.-treeCtrlOnTreeEvent :: TreeCtrl a -> (EventTree -> IO ()) -> IO ()-treeCtrlOnTreeEvent treeCtrl eventHandler-  = windowOnEvent treeCtrl (map fst treeEvents) eventHandler treeHandler-  where-    treeHandler event-      = do eventTree <- fromTreeEvent (objectCast event)-           eventHandler eventTree---- | Get the current tree event handler of a window.-treeCtrlGetOnTreeEvent :: TreeCtrl a -> IO (EventTree -> IO ())-treeCtrlGetOnTreeEvent treeCtrl-  = unsafeWindowGetHandlerState treeCtrl wxEVT_COMMAND_TREE_ITEM_ACTIVATED (\event -> skipCurrentEvent)---{------------------------------------------------------------------------------------------  ListCtrl events------------------------------------------------------------------------------------------}--- | Type synonym for documentation purposes.-type ListIndex  = Int---- | List control events.-data EventList  = ListBeginDrag       !ListIndex !Point (IO ()) -- ^ Drag with left mouse button. Call @IO@ argument to veto this action.-                | ListBeginRDrag      !ListIndex !Point (IO ()) -- ^ Drag with right mouse button. @IO@ argument to veto this action.-                | ListBeginLabelEdit  !ListIndex (IO ())        -- ^ Edit label. Call @IO@ argument to veto this action.-                | ListEndLabelEdit    !ListIndex !Bool (IO ())  -- ^ End editing label. @Bool@ argument is 'True' when cancelled. Call @IO@ argument to veto this action.-                | ListDeleteItem      !ListIndex-                | ListDeleteAllItems-                | ListItemSelected    !ListIndex -                | ListItemDeselected  !ListIndex -                | ListItemActivated   !ListIndex        -- ^ Activate (ENTER or double click)  -                | ListItemFocused     !ListIndex -                | ListItemMiddleClick !ListIndex -                | ListItemRightClick  !ListIndex   -                | ListInsertItem      !ListIndex   -                | ListColClick        !Int              -- ^ Column has been clicked. (-1 when clicked in control header outside any column)-                | ListColRightClick   !Int                -                | ListColBeginDrag    !Int (IO ())      -- ^ Column is dragged. Index is of the column left of the divider that is being dragged. Call @IO@ argument to veto this action.-                | ListColDragging     !Int-                | ListColEndDrag      !Int (IO ())      -- ^ Column has been dragged. Call @IO@ argument to veto this action.-                | ListKeyDown         !Key              -                | ListCacheHint       !Int !Int         -- ^ (Inclusive) range of list items that are advised to be cached.-                | ListUnknown---fromListEvent :: ListEvent a -> IO EventList-fromListEvent listEvent-  = do tp <- eventGetEventType listEvent-       case lookup tp listEvents of-         Just f  -> f listEvent -         Nothing -> return ListUnknown--listEvents :: [(Int, ListEvent a -> IO EventList)]-listEvents-  = [(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT,  withVeto $ withItem ListBeginLabelEdit)-    ,(wxEVT_COMMAND_LIST_DELETE_ITEM,       withItem ListDeleteItem)-    ,(wxEVT_COMMAND_LIST_INSERT_ITEM,       withItem ListInsertItem)-    ,(wxEVT_COMMAND_LIST_ITEM_ACTIVATED,    withItem ListItemActivated)-    ,(wxEVT_COMMAND_LIST_ITEM_DESELECTED,   withItem ListItemDeselected)-    ,(wxEVT_COMMAND_LIST_ITEM_FOCUSED,      withItem ListItemFocused)-    ,(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK ,withItem ListItemMiddleClick)-    ,(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK,  withItem ListItemRightClick)-    ,(wxEVT_COMMAND_LIST_ITEM_SELECTED,     withItem ListItemSelected)-    ,(wxEVT_COMMAND_LIST_END_LABEL_EDIT,    withVeto $ withCancel $ withItem ListEndLabelEdit )-    ,(wxEVT_COMMAND_LIST_BEGIN_RDRAG,       withVeto $ withPoint $ withItem ListBeginRDrag)-    ,(wxEVT_COMMAND_LIST_BEGIN_DRAG,        withVeto $ withPoint $ withItem ListBeginDrag)-    ,(wxEVT_COMMAND_LIST_COL_CLICK,         withColumn ListColClick)-    ,(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG,    withVeto $ withColumn ListColBeginDrag)-    ,(wxEVT_COMMAND_LIST_COL_DRAGGING,      withColumn ListColDragging)-    ,(wxEVT_COMMAND_LIST_COL_END_DRAG,      withVeto $ withColumn ListColEndDrag)-    ,(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK,   withColumn ListColRightClick)-    ,(wxEVT_COMMAND_LIST_CACHE_HINT,        withCache  ListCacheHint )-    ,(wxEVT_COMMAND_LIST_KEY_DOWN,          withKeyCode ListKeyDown )-    ,(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS,  \event -> return ListDeleteAllItems )-    ]-  where-    withPoint make listEvent-      = do f   <- make listEvent-           pt  <- listEventGetPoint listEvent-           return (f pt)--    withCancel make listEvent-      = do f   <- make listEvent-           can <- listEventCancelled listEvent-           return (f can)--    withVeto :: (ListEvent a -> IO (IO () -> EventList)) -> ListEvent a -> IO EventList-    withVeto make listEvent-      = do f <- make listEvent-           return (f (notifyEventVeto listEvent))--    withKeyCode make listEvent-      = do code <- listEventGetCode listEvent-           return (make (keyCodeToKey code))--    withCache make listEvent-      = do lo <- listEventGetCacheFrom listEvent-           hi <- listEventGetCacheTo listEvent-           return (make lo hi)-                -    withColumn make listEvent-      = do col <- listEventGetColumn listEvent-           return (make col)--    withItem :: (ListIndex -> b) -> ListEvent a -> IO b-    withItem make listEvent-      = do item <- listEventGetIndex listEvent-           return (make item)--         ---- | Set a list event handler.-listCtrlOnListEvent :: ListCtrl a -> (EventList -> IO ()) -> IO ()-listCtrlOnListEvent listCtrl eventHandler-  = windowOnEvent listCtrl (map fst listEvents) eventHandler listHandler-  where-    listHandler event-      = do eventList <- fromListEvent (objectCast event)-           eventHandler eventList---- | Get the current list event handler of a window.-listCtrlGetOnListEvent :: ListCtrl a -> IO (EventList -> IO ())-listCtrlGetOnListEvent listCtrl-  = unsafeWindowGetHandlerState listCtrl wxEVT_COMMAND_LIST_ITEM_ACTIVATED (\event -> skipCurrentEvent)------------------------------------------------------------------------------------------------ TaskBarIcon Events--------------------------------------------------------------------------------------------data EventTaskBarIcon = TaskBarIconMove-                      | TaskBarIconLeftDown-                      | TaskBarIconLeftUp-                      | TaskBarIconRightDown-                      | TaskBarIconRightUp-                      | TaskBarIconLeftDClick-                      | TaskBarIconRightDClick-                      | TaskBarIconUnknown-                      deriving (Show, Eq)--fromTaskBarIconEvent :: Event a -> IO EventTaskBarIcon-fromTaskBarIconEvent event-  = do tp     <- eventGetEventType event-       case lookup tp taskBarIconEvents of-         Just evt  -> return evt-         Nothing   -> return TaskBarIconUnknown--taskBarIconEvents :: [(Int,EventTaskBarIcon)]-taskBarIconEvents-  = [(wxEVT_TASKBAR_MOVE,         TaskBarIconMove)-    ,(wxEVT_TASKBAR_LEFT_DOWN,    TaskBarIconLeftDown)-    ,(wxEVT_TASKBAR_LEFT_UP,      TaskBarIconLeftUp)-    ,(wxEVT_TASKBAR_RIGHT_DOWN,   TaskBarIconRightDown)-    ,(wxEVT_TASKBAR_RIGHT_UP,     TaskBarIconRightUp)-    ,(wxEVT_TASKBAR_LEFT_DCLICK,  TaskBarIconLeftDClick)-    ,(wxEVT_TASKBAR_RIGHT_DCLICK, TaskBarIconRightDClick)-    ]---- | Set a taskbar icon event handler.-evtHandlerOnTaskBarIconEvent :: TaskBarIcon a -> (EventTaskBarIcon -> IO ()) -> IO ()-evtHandlerOnTaskBarIconEvent taskbar eventHandler-  = evtHandlerOnEvent taskbar idAny idAny (map fst taskBarIconEvents) eventHandler-       -- finalize taskBarIcon's resource on Windows.-       (\_ -> if wxToolkit == WxMSW-              then (taskBarIconRemoveIcon taskbar-                   -- But taskBarIconDelete doesn't work well in this part. I don't know why.-                   -- >> taskBarIconDelete taskbar-                   >> return ())-              else (return ()))-       scrollHandler-  where-    scrollHandler event-      = do eventTaskBar <- fromTaskBarIconEvent event-           eventHandler eventTaskBar---- | Get the current event handler for a taskbar icon.-evtHandlerGetOnTaskBarIconEvent :: EvtHandler a -> Id -> EventTaskBarIcon -> IO (IO ())-evtHandlerGetOnTaskBarIconEvent window id evt-  = unsafeGetHandlerState window id-      (fromMaybe wxEVT_TASKBAR_MOVE-          $ lookup evt $ uncurry (flip zip) . unzip $ taskBarIconEvents)-      skipCurrentEvent------------------------------------------------------------------------------------------------- TimerEx is handled specially.---------------------------------------------------------------------------------------------- | Create a new 'Timer' that is attached to a window. It is automatically deleted when--- its owner is deleted (using 'windowAddOnDelete'). The owning window will receive--- timer events ('windowOnTimer'). /Broken!/ (use 'windowTimerCreate'\/'timerOnCommand' instead.)-windowTimerAttach :: Window a -> IO (Timer ())-windowTimerAttach w-  = do t <- timerCreate w idAny-       windowAddOnDelete w (timerDelete t)-       return t----- | Create a new 'TimerEx' timer. It is automatically deleted when its owner is deleted--- (using 'windowAddOnDelete'). React to timer events using 'timerOnCommand'.-windowTimerCreate :: Window a -> IO (TimerEx ())-windowTimerCreate w-  = do t <- timerExCreate-       windowAddOnDelete w (timerDelete t)-       return t---- | Set an event handler that is called on a timer tick. This works for 'TimerEx'--- objects.-timerOnCommand :: TimerEx a -> IO () -> IO ()-timerOnCommand timer io-  = do closure <- createClosure io (\ownerDeleted -> return ()) (\ev -> io)-       timerExConnect timer closure---- | Get the current timer event handler.-timerGetOnCommand :: TimerEx a -> IO (IO ())-timerGetOnCommand timer-  = do closure <- timerExGetClosure timer-       unsafeClosureGetState closure (return ())--{---------------------------------------------------------------------------  The global idle timer-  Currently only used by the process code but can potentially be used to-  enable haskell threads to run in idle time---------------------------------------------------------------------------}-{-# NOINLINE appIdleIntervals #-}-appIdleIntervals :: Var [Int]-appIdleIntervals -  = unsafePerformIO (varCreate [])---- | @appRegisterIdle interval handler@ registers a global idle event --- handler that is at least called every @interval@ milliseconds (and--- possible more). Returns a method that can be used to unregister this--- handler (so that it doesn't take any resources anymore). Multiple--- calls to this method chains the different idle event handlers.-appRegisterIdle :: Int -> IO (IO ())-appRegisterIdle interval -  = do varUpdate appIdleIntervals (interval:)-       appUpdateIdleInterval -       return (appUnregisterIdle interval)---- Update the idle interval to the minimal one.-appUpdateIdleInterval-  = do ivals <- varGet appIdleIntervals-       let ival = if null ivals then 0 else minimum ivals   -- zero is off.-       appival <- wxcAppGetIdleInterval -       if (ival < appival)-        then wxcAppSetIdleInterval ival-        else return ()---- Unregister an idle handler       -appUnregisterIdle :: Int -> IO ()            -appUnregisterIdle ival-  = do varUpdate appIdleIntervals (remove ival)-       appUpdateIdleInterval-  where-    remove ival []       = [] -- very wrong!-    remove ival (i:is)   | ival == i  = is-                         | otherwise  = i : remove ival is---{------------------------------------------------------------------------------------------  Calender events------------------------------------------------------------------------------------------}-data EventCalendar-    = CalendarDayChanged (DateTime ())-    | CalendarDoubleClicked (DateTime ())-    | CalendarMonthChanged (DateTime ())-    | CalendarSelectionChanged (DateTime ())-    | CalendarWeekdayClicked Int-    | CalendarYearChanged (DateTime ())-    | CalendarUnknown- -fromCalendarEvent :: CalendarEvent a -> IO EventCalendar-fromCalendarEvent calEvent-    = do tp <- eventGetEventType calEvent-         case lookup tp calEvents of-           Just f  -> f calEvent-           Nothing -> return CalendarUnknown- -calEvents :: [(Int, CalendarEvent a -> IO EventCalendar)]-calEvents-    = [(wxEVT_CALENDAR_DAY_CHANGED    ,withDate CalendarDayChanged)-      ,(wxEVT_CALENDAR_DOUBLECLICKED  ,withDate CalendarDoubleClicked)-      ,(wxEVT_CALENDAR_MONTH_CHANGED  ,withDate CalendarMonthChanged)-      ,(wxEVT_CALENDAR_SEL_CHANGED    ,withDate CalendarSelectionChanged)-      ,(wxEVT_CALENDAR_WEEKDAY_CLICKED,withWeekday CalendarWeekdayClicked)-      ,(wxEVT_CALENDAR_YEAR_CHANGED   ,withDate CalendarYearChanged)]-    where withDate event calEvent-              = do date <- dateTimeCreate-                   withObjectPtr date $ calendarEventGetDate calEvent-                   return (event date)-          withWeekday event calEvent-              = fmap event $ calendarEventGetWeekDay calEvent- --- | Set a calendar event handler.-calendarCtrlOnCalEvent :: CalendarCtrl a -> (EventCalendar -> IO ()) -> IO ()-calendarCtrlOnCalEvent calCtrl eventHandler-  = windowOnEvent calCtrl (map fst calEvents) eventHandler calHandler-  where-    calHandler event-      = do eventCalendar <- fromCalendarEvent (objectCast event)-           eventHandler eventCalendar- --- | Get the current calendar event handler of a window.-calendarCtrlGetOnCalEvent :: CalendarCtrl a -> IO (EventCalendar -> IO ())-calendarCtrlGetOnCalEvent calCtrl-  = unsafeWindowGetHandlerState calCtrl wxEVT_CALENDAR_SEL_CHANGED (\event -> skipCurrentEvent)------------------------------------------------------------------------------------------------ Application startup---------------------------------------------------------------------------------------------- | Installs an init handler and starts the event loop.--- Note: the closure is deleted when initialization is complete, and than the Haskell init function--- is started.-appOnInit :: IO () -> IO ()-appOnInit init-  = do closure  <- createClosure (return () :: IO ()) onDelete (\ev -> return ())   -- run init on destroy !-       progName <- getProgName-       args     <- getArgs-       argv     <- mapM newCWString (progName:args)-       let argc = length argv-       withArray (argv ++ [nullPtr]) $ \cargv -> wxcAppInitializeC closure argc cargv-       mapM_ free argv-  where-    onDelete ownerDeleted-      = init-           ------------------------------------------------------------------------------------------------ Attaching haskell data to arbitrary objects.---------------------------------------------------------------------------------------------- | Use attached haskell data locally. This makes it type-safe.-objectWithClientData :: WxObject a -> b -> ((b -> IO ()) -> IO b -> IO c) -> IO c-objectWithClientData object initx fun-  = do let setter x = objectSetClientData object (return ()) x-           getter   = do mb <- unsafeObjectGetClientData object-                         case mb of-                           Nothing -> return initx-                           Just x  -> return x-       setter initx-       fun setter getter---- | Attach haskell value to an arbitrary object. The 'IO' action is executed--- when the object is deleted. Note: 'evtHandlerSetClientData' is preferred when possible.-objectSetClientData :: WxObject a -> IO () -> b -> IO ()-objectSetClientData object onDelete x-  = do closure <- createClosure x (const onDelete) (const (return ()))-       objectSetClientClosure object closure-       return ()---- | Retrieve an attached haskell value.-unsafeObjectGetClientData :: WxObject a -> IO (Maybe b)-unsafeObjectGetClientData object-  = do closure <- objectGetClientClosure object -       unsafeClosureGetData closure-                --- | Use attached haskell data locally in a type-safe way.-evtHandlerWithClientData :: EvtHandler a -> b -> ((b -> IO ()) -> IO b -> IO c) -> IO c-evtHandlerWithClientData evtHandler initx fun-  = do let setter x = evtHandlerSetClientData evtHandler (return ()) x-           getter   = do mb <- unsafeEvtHandlerGetClientData evtHandler-                         case mb of-                           Nothing -> return initx-                           Just x  -> return x-       setter initx-       fun setter getter---- | Attach a haskell value to an object derived from 'EvtHandler'. The 'IO' action--- executed when the object is deleted.-evtHandlerSetClientData :: EvtHandler a -> IO () -> b -> IO ()-evtHandlerSetClientData evtHandler onDelete x-  = do closure <- createClosure x (const onDelete) (const (return ()))-       evtHandlerSetClientClosure evtHandler closure-       return ()---- | Retrieve an attached haskell value, previously attached with 'evtHandlerSetClientData'.-unsafeEvtHandlerGetClientData :: EvtHandler a -> IO (Maybe b)-unsafeEvtHandlerGetClientData evtHandler-  = do closure <- evtHandlerGetClientClosure evtHandler-       unsafeClosureGetData closure------ | Attach a haskell value to tree item data. The 'IO' action--- executed when the object is deleted.-treeCtrlSetItemClientData :: TreeCtrl a -> TreeItem -> IO () -> b -> IO ()-treeCtrlSetItemClientData treeCtrl item onDelete x-  = do closure <- createClosure x (const onDelete) (const (return ()))-       treeCtrlSetItemClientClosure treeCtrl item closure-       return ()---- | Retrieve an attached haskell value to a tree item, previously attached with 'treeCtrlSetItemClientData'.-unsafeTreeCtrlGetItemClientData :: TreeCtrl a -> TreeItem  -> IO (Maybe b)-unsafeTreeCtrlGetItemClientData treeCtrl item-  = do closure <- treeCtrlGetItemClientClosure treeCtrl item-       unsafeClosureGetData closure------------------------------------------------------------------------------------------------ Generic window connection---------------------------------------------------------------------------------------------- | Set a generic event handler on a certain window.-windowOnEvent :: Window a -> [EventId] -> handler -> (Event () -> IO ()) -> IO ()-windowOnEvent window eventIds state eventHandler-  = windowOnEventEx window eventIds state (\ownerDelete -> return ()) eventHandler---- | Set a generic event handler on a certain window. Takes also a computation--- that is run when the event handler is destroyed -- the argument is 'True' if the--- owner is deleted, and 'False' if the event handler is disconnected for example.-windowOnEventEx :: Window a -> [EventId] -> handler -> (Bool -> IO ()) -> (Event () -> IO ()) -> IO ()-windowOnEventEx window eventIds state destroy eventHandler-  = do let id = idAny   -- id <- windowGetId window-       evtHandlerOnEvent window id id eventIds state destroy eventHandler---- | Retrieve the event handler state for a certain event on a window.-unsafeWindowGetHandlerState :: Window a -> EventId -> b -> IO b-unsafeWindowGetHandlerState window eventId def-  = do id <- windowGetId window-       unsafeGetHandlerState window id eventId def----------------------------------------------------------------------------------------------- The current event--------------------------------------------------------------------------------------------{-# NOINLINE currentEvent #-}-currentEvent :: MVar (Event ())-currentEvent-  = unsafePerformIO (newMVar objectNull)---- | Get the current event handler (can be 'objectNull').-getCurrentEvent :: IO (Event ())-getCurrentEvent-  = readMVar currentEvent---- | Do something with the current event /if/ we are calling from an event handler.-withCurrentEvent :: (Event () -> IO ()) -> IO ()-withCurrentEvent f-  = do ev <- getCurrentEvent-       if (ev /= objectNull)-        then f ev-        else return ()---- | Pass the event on the next /wxWindows/ event handler, either on this window or its parent.--- Always call this method when you do not process the event. /Note:/ The use of--- 'propagateEvent' is encouraged as it is a much better name than 'skipCurrentEvent'. This--- function name is just for better compatibility with wxWindows :-)-skipCurrentEvent :: IO ()-skipCurrentEvent-  = withCurrentEvent (\event -> eventSkip event)---- | Pass the event on the next /wxWindows/ event handler, either on this window or its parent.--- Always call this method when you do not process the event. (This function just call 'skipCurrentEvent').-propagateEvent :: IO ()-propagateEvent-  = skipCurrentEvent------------------------------------------------------------------------------------------------ Generic event connection---------------------------------------------------------------------------------------------- | Retrievs the state associated with a certain event handler. If--- no event handler is defined for this kind of event or 'Id', the--- default value is returned.-unsafeGetHandlerState :: EvtHandler a -> Id -> EventId -> b -> IO b-unsafeGetHandlerState object id eventId def-  = do closure <- evtHandlerGetClosure object id eventId-       unsafeClosureGetState closure def---- | Type synonym to make the type signatures shorter for the documentation :-)-type OnEvent = (Bool -> IO ()) -> (Event () -> IO ()) -> IO ()---- | Sets a generic event handler, just as 'evtHandlerOnEventConnect' but first--- disconnects any event handlers for the same kind of events.-evtHandlerOnEvent :: EvtHandler a -> Id -> Id -> [EventId] -> handler -> OnEvent-evtHandlerOnEvent object firstId lastId eventIds state destroy eventHandler-  = do evtHandlerOnEventDisconnect object firstId lastId eventIds-       evtHandlerOnEventConnect object firstId lastId eventIds state destroy eventHandler----- Hack: using a global variable to determine whether we are disconnecting an event--- or not. This is used as a parameter to the 'destroy' procedure of an event. This--- enables us to re-install a 'windowOnDelete' handler for example without executing--- the deletion code.-{-# NOINLINE disconnecting #-}-disconnecting :: Var Bool-disconnecting-  = unsafePerformIO (varCreate False)---- | Disconnect a certain event handler.-evtHandlerOnEventDisconnect :: EvtHandler a -> Id -> Id -> [EventId] -> IO ()-evtHandlerOnEventDisconnect object firstId lastId eventIds-  = do prev <- varSwap disconnecting True-       mapM_ disconnectEventId eventIds-       varSet disconnecting prev-  where-    disconnectEventId eventId-      = evtHandlerDisconnect object firstId lastId eventId 0 {- actually: void* -}---- | Sets a generic event handler on an 'EvtHandler' object. The call--- (@evtHandlerOnEventConnect firstId lastId eventIds state destroy handler object@) sets an event--- handler @handler@ on @object@. The eventhandler gets called whenever an event--- happens that is in the list @eventIds@ on an object with an 'Id' between @firstId@--- and @lastId@ (use -1 for any object). The @state@ is any kind of haskell data--- that is attached to this handler. It can be retrieved via 'unsafeGetHandlerState'.--- Normally, the @state@ is the event handler itself. This allows the current event--- handler to be retrieved via calls to 'buttonGetOnCommand' for example. The @destroy@--- action is called when the event handler is destroyed. Its argument is 'True' when the--- owner is deleted, and 'False' if the event handler is just disconnected.-evtHandlerOnEventConnect :: EvtHandler a -> Id -> Id -> [EventId] -> state -> OnEvent-evtHandlerOnEventConnect object firstId lastId eventIds state destroy eventHandler-  = do closure <- createClosure state destroy eventHandler-       withObjectPtr closure $ \pclosure ->-        mapM_ (connectEventId pclosure) eventIds-  where-    connectEventId pclosure eventId-      = evtHandlerConnect object firstId lastId eventId pclosure------ Use a data wrapper for the closure state: seem to circumvent bugs when wrapping--- things like Int or overloaded stuff.-data Wrap a  = Wrap a---unsafeClosureGetState :: Closure () -> a -> IO a-unsafeClosureGetState closure def-  = do mb <- unsafeClosureGetData closure-       case mb of-         Nothing -> return def-         Just x  -> return x--unsafeClosureGetData :: Closure () -> IO (Maybe a)-unsafeClosureGetData closure-  = if (objectIsNull closure)-     then return Nothing-     else do ptr <- closureGetData closure-             if (ptrIsNull ptr)-              then return Nothing-              else do (Wrap x) <- deRefStablePtr (castPtrToStablePtr ptr)-                      return (Just x)----- | Create a closure with a certain haskell state, a function that is called--- when the closure is destroyed, and a function that is called when an event--- happens. The destroy function takes a boolean that is 'True' when the parent--- is deleted (and 'False' when the closure is just disconnected). The event--- handlers gets the 'Event' as its argument.-createClosure :: state -> (Bool -> IO ()) -> (Event () -> IO ()) -> IO (Closure ())-createClosure st destroy handler-  = do funptr  <- wrapEventHandler eventHandlerWrapper-       stptr   <- newStablePtr (Wrap st)-       closureCreate funptr (castStablePtrToPtr stptr)-  where-    eventHandlerWrapper :: Ptr fun -> Ptr () -> Ptr (TEvent ()) -> IO ()-    eventHandlerWrapper funptr stptr eventptr-      = do let event = objectFromPtr eventptr-           prev <- swapMVar currentEvent event-           if (objectIsNull event)-            then do isDisconnecting <- varGet disconnecting-                    destroy (not isDisconnecting)-                    when (stptr/=ptrNull)-                      (freeStablePtr (castPtrToStablePtr stptr))-                    when (funptr/=ptrNull)-                      (freeHaskellFunPtr (castPtrToFunPtr funptr))-            else handler event-           swapMVar currentEvent prev-           return ()----foreign import ccall "wrapper" wrapEventHandler :: (Ptr fun -> Ptr st -> Ptr (TEvent ()) -> IO ()) -> IO (FunPtr (Ptr fun -> Ptr st -> Ptr (TEvent ()) -> IO ()))+{-# LANGUAGE ForeignFunctionInterface #-}
+-----------------------------------------------------------------------------------------
+{-|
+Module      :  Events
+Copyright   :  (c) Daan Leijen 2003
+License     :  wxWindows
+
+Maintainer  :  wxhaskell-devel@lists.sourceforge.net
+Stability   :  provisional
+Portability :  portable
+
+Dynamically set (and get) Haskell event handlers for basic wxWidgets events.
+Note that one should always call 'skipCurrentEvent' when an event is not
+processed in the event handler so that other eventhandlers can process the
+event.
+-}
+-----------------------------------------------------------------------------------------
+module Graphics.UI.WXCore.Events
+        (
+        -- Veto command for veto-able events
+          Veto
+        -- * Set event handlers
+        -- ** Controls
+        , buttonOnCommand
+        , checkBoxOnCommand
+        , choiceOnCommand
+        , comboBoxOnCommand
+        , comboBoxOnTextEnter
+        , controlOnText
+        , listBoxOnCommand
+        , spinCtrlOnCommand
+        -- , listBoxOnDClick
+        , radioBoxOnCommand
+        , sliderOnCommand
+        , textCtrlOnTextEnter
+        , listCtrlOnListEvent
+        , toggleButtonOnCommand
+        , treeCtrlOnTreeEvent
+        , gridOnGridEvent
+        , wizardOnWizEvent
+        , propertyGridOnPropertyGridEvent
+
+        -- ** Windows
+        , windowOnMouse
+        , windowOnKeyChar
+        , windowOnKeyDown
+        , windowOnKeyUp
+        , windowAddOnClose
+        , windowOnClose
+        , windowOnDestroy
+        , windowAddOnDelete
+        , windowOnDelete
+        , windowOnCreate
+        , windowOnIdle
+        , windowOnTimer
+        , windowOnSize
+        , windowOnFocus
+        , windowOnActivate
+        , windowOnPaint
+        , windowOnPaintRaw
+        , windowOnPaintGc
+        , windowOnContextMenu
+        , windowOnScroll
+        , htmlWindowOnHtmlEvent
+
+        -- ** Event handlers
+        , evtHandlerOnMenuCommand
+        , evtHandlerOnEndProcess
+        , evtHandlerOnInput
+        , evtHandlerOnInputSink
+        , evtHandlerOnTaskBarIconEvent
+
+        -- ** Raw STC export
+        , EventSTC(..)
+        , stcOnSTCEvent
+        , stcGetOnSTCEvent
+
+        -- ** Print events
+        , EventPrint(..)
+        , printOutOnPrint
+
+        -- * Get event handlers
+        -- ** Controls
+        , buttonGetOnCommand
+        , checkBoxGetOnCommand
+        , choiceGetOnCommand
+        , comboBoxGetOnCommand
+        , comboBoxGetOnTextEnter
+        , controlGetOnText
+        , listBoxGetOnCommand
+        , spinCtrlGetOnCommand
+        -- , listBoxGetOnDClick
+        , radioBoxGetOnCommand
+        , sliderGetOnCommand
+        , textCtrlGetOnTextEnter
+        , listCtrlGetOnListEvent
+        , toggleButtonGetOnCommand
+        , treeCtrlGetOnTreeEvent
+        , gridGetOnGridEvent
+        , wizardGetOnWizEvent
+        , propertyGridGetOnPropertyGridEvent
+
+        -- ** Windows
+        , windowGetOnMouse
+        , windowGetOnKeyChar
+        , windowGetOnKeyDown
+        , windowGetOnKeyUp
+        , windowGetOnClose
+        , windowGetOnDestroy
+        , windowGetOnDelete
+        , windowGetOnCreate
+        , windowGetOnIdle
+        , windowGetOnTimer
+        , windowGetOnSize
+        , windowGetOnFocus
+        , windowGetOnActivate
+        , windowGetOnPaint
+        , windowGetOnPaintRaw
+        , windowGetOnPaintGc
+        , windowGetOnContextMenu
+        , windowGetOnScroll
+        , htmlWindowGetOnHtmlEvent
+
+        -- ** Event handlers
+        , evtHandlerGetOnMenuCommand
+        , evtHandlerGetOnEndProcess
+        , evtHandlerGetOnInputSink
+        , evtHandlerGetOnTaskBarIconEvent
+
+        -- ** Printing
+        , printOutGetOnPrint
+
+        -- * Timers
+        , windowTimerAttach
+        , windowTimerCreate
+        , timerOnCommand
+        , timerGetOnCommand
+
+        -- Idle events
+        , appRegisterIdle
+
+        -- * Calenders
+        , EventCalendar(..)
+        , calendarCtrlOnCalEvent 
+        , calendarCtrlGetOnCalEvent
+
+        -- * Types
+        -- ** Streams
+        , StreamStatus(..), streamStatusFromInt
+
+        -- ** Modifiers
+        , Modifiers(..)
+        , showModifiers
+        , noneDown, justShift, justAlt, justControl, justMeta, isNoneDown
+        , isNoShiftAltControlDown
+
+        -- ** Mouse events
+        , EventMouse (..)
+        , showMouse
+        , mousePos, mouseModifiers
+
+        -- ** Keyboard events
+        , EventKey (..), Key(..)
+        , keyKey, keyModifiers, keyPos
+        , showKey, showKeyModifiers
+
+        -- * Set event handlers
+        -- ** Drop Target events
+        , DragResult (..)
+        , dropTargetOnData
+        , dropTargetOnDrop
+        , dropTargetOnEnter
+        , dropTargetOnDragOver
+        , dropTargetOnLeave
+        
+        -- ** On DragAndDropEvent
+        , DragMode (..)
+        , dragAndDrop
+        
+        -- *** Special handler for Drop File event
+        , fileDropTarget
+        -- *** Special handler for Drop Text event 
+        , textDropTarget
+
+        -- ** Scroll events
+        , EventScroll(..), Orientation(..)
+        , scrollOrientation, scrollPos
+
+        -- ** Tree control events
+        , EventTree(..)
+        
+        -- ** List control events
+        , EventList(..), ListIndex
+
+        -- ** Grid control events
+        , EventGrid(..), Row, Column
+
+        -- ** Html window events
+        , EventHtml(..)
+        
+        -- * TaskBar icon events
+        , EventTaskBarIcon(..)
+
+        -- ** Wizard events
+        , EventWizard(..), Direction(..)
+
+        -- ** PropertyGrid events
+        , EventPropertyGrid(..)
+
+        -- ** AuiNotebook events
+        , WindowId(..)
+        , WindowSelection(..)
+        , PageWindow(..)
+        , EventAuiNotebook(..)
+        , noWindowSelection 
+        , auiNotebookOnAuiNotebookEvent
+        , auiNotebookOnAuiNotebookEventEx
+        , auiNotebookGetOnAuiNotebookEvent
+
+        -- * Current event
+        , propagateEvent
+        , skipCurrentEvent
+        , withCurrentEvent
+
+        -- * Primitive
+        , appOnInit
+
+        -- ** Client data
+        , treeCtrlSetItemClientData
+
+        , evtHandlerWithClientData
+        , evtHandlerSetClientData
+
+        , objectWithClientData
+        , objectSetClientData       
+
+        -- ** Input sink
+        , inputSinkEventLastString
+
+        -- ** Keys
+        , KeyCode
+        , modifiersToAccelFlags
+        , keyCodeToKey, keyToKeyCode
+
+        -- ** Events
+        , windowOnEvent, windowOnEventEx
+
+        -- ** Generic
+        , OnEvent
+        , evtHandlerOnEvent
+        , evtHandlerOnEventConnect
+
+        -- ** Unsafe
+        , unsafeTreeCtrlGetItemClientData
+        , unsafeEvtHandlerGetClientData
+        , unsafeObjectGetClientData
+        , unsafeGetHandlerState
+        , unsafeWindowGetHandlerState
+        ) where
+
+import Data.List( intersperse )
+import System.Environment( getProgName, getArgs )
+import Foreign.StablePtr
+import Foreign.Ptr
+import Foreign.C.Types
+import Foreign.C.String
+import Foreign.Marshal.Alloc
+import Foreign.Marshal.Array
+import Foreign.Marshal.Utils
+
+import Data.Char ( chr ) -- used in stc
+import Data.Maybe ( fromMaybe, fromJust )
+import Control.Concurrent.MVar
+import System.IO.Unsafe( unsafePerformIO )
+
+import qualified Data.IntMap as IntMap
+import Graphics.UI.WXCore.WxcTypes
+import Graphics.UI.WXCore.WxcDefs
+import Graphics.UI.WXCore.WxcClasses
+import Graphics.UI.WXCore.WxcClassInfo
+import Graphics.UI.WXCore.Types
+import Graphics.UI.WXCore.Draw
+import Graphics.UI.WXCore.Defines
+
+-- | IO action to cancel events.
+type Veto = IO ()
+
+------------------------------------------------------------------------------------------
+-- Controls  (COMMAND events)
+------------------------------------------------------------------------------------------
+-- | Set an event handler for a push button.
+buttonOnCommand :: Button a -> IO () -> IO ()
+buttonOnCommand button eventHandler
+  = windowOnEvent button [wxEVT_COMMAND_BUTTON_CLICKED] eventHandler (\_evt -> eventHandler)
+
+
+-- | Get the current button event handler on a window.
+buttonGetOnCommand :: Window a -> IO (IO ())
+buttonGetOnCommand button
+  = unsafeWindowGetHandlerState button wxEVT_COMMAND_BUTTON_CLICKED skipCurrentEvent
+
+
+-- | Set an event handler for "updated text", works for example on a 'TextCtrl' and 'ComboBox'.
+controlOnText :: Control a -> IO () -> IO ()
+controlOnText control eventHandler
+  = windowOnEvent control [wxEVT_COMMAND_TEXT_UPDATED] eventHandler (\_evt -> eventHandler)
+
+-- | Get the current event handler for updated text.
+controlGetOnText :: Control a -> IO (IO ())
+controlGetOnText control
+  = unsafeWindowGetHandlerState control wxEVT_COMMAND_TEXT_UPDATED skipCurrentEvent
+
+
+-- | Set an event handler for an enter command in a text control.
+textCtrlOnTextEnter :: TextCtrl a -> IO () -> IO ()
+textCtrlOnTextEnter textCtrl eventHandler
+  = windowOnEvent textCtrl [wxEVT_COMMAND_TEXT_ENTER] eventHandler (\_evt -> eventHandler)
+
+-- | Get the current text enter event handler.
+textCtrlGetOnTextEnter :: TextCtrl a -> IO (IO ())
+textCtrlGetOnTextEnter textCtrl
+  = unsafeWindowGetHandlerState textCtrl wxEVT_COMMAND_TEXT_ENTER skipCurrentEvent
+
+{-
+-- | Set an event handler for when a user tries to type more than than the maximally
+-- allowed text in a text control.
+textCtrlOnTextMaxLen :: IO () -> TextCtrl a -> IO ()
+textCtrlOnTextMaxLen eventHandler textCtrl
+  = windowOnEvent textCtrl [wxEVT_COMMAND_TEXT_MAXLEN] eventHandler (\_evt -> eventHandler)
+
+-- | Get the current maximal text event handler.
+textCtrlGetOnTextMaxLen :: TextCtrl a -> IO (IO ())
+textCtrlGetOnTextMaxLen textCtrl
+  = unsafeWindowGetHandlerState textCtrl wxEVT_COMMAND_TEXT_MAXLEN skipCurrentEvent
+-}
+
+-- | Set an event handler for an enter command in a combo box.
+comboBoxOnTextEnter :: ComboBox a -> IO () -> IO ()
+comboBoxOnTextEnter comboBox eventHandler
+  = windowOnEvent comboBox [wxEVT_COMMAND_TEXT_ENTER] eventHandler (\_evt -> eventHandler)
+
+-- | Get the current text enter event handler.
+comboBoxGetOnTextEnter :: ComboBox a -> IO (IO ())
+comboBoxGetOnTextEnter comboBox
+  = unsafeWindowGetHandlerState comboBox wxEVT_COMMAND_TEXT_ENTER skipCurrentEvent
+
+
+-- | Set an event handler for when a combo box item is selected.
+comboBoxOnCommand :: ComboBox a -> IO () -> IO ()
+comboBoxOnCommand comboBox eventHandler
+  = windowOnEvent comboBox [wxEVT_COMMAND_COMBOBOX_SELECTED] eventHandler (\_evt -> eventHandler)
+
+-- | Get the current combo box event handler for selections
+comboBoxGetOnCommand :: ComboBox a -> IO (IO ())
+comboBoxGetOnCommand comboBox
+  = unsafeWindowGetHandlerState comboBox wxEVT_COMMAND_COMBOBOX_SELECTED skipCurrentEvent
+
+-- | Set an event handler for when a listbox item is (de)selected.
+listBoxOnCommand :: ListBox a -> IO () -> IO ()
+listBoxOnCommand listBox eventHandler
+  = windowOnEvent listBox [wxEVT_COMMAND_LISTBOX_SELECTED] eventHandler (\_evt -> eventHandler)
+
+-- | Get the current listbox event handler for selections.
+listBoxGetOnCommand :: ListBox a -> IO (IO ())
+listBoxGetOnCommand listBox
+  = unsafeWindowGetHandlerState listBox wxEVT_COMMAND_LISTBOX_SELECTED skipCurrentEvent
+
+{-
+-- | Set an event handler for when a listbox item is double clicked. Takes the selected
+-- item index as an argument.
+listBoxOnDClick :: (Int -> IO ()) -> ListBox a -> IO ()
+listBoxOnDClick eventHandler listBox
+  = windowOnEvent listBox [wxEVT_COMMAND_LISTBOX_DCLICK] eventHandler dclickHandler
+  where
+    dclickHandler event
+      = do index <- commandEventGetInt (objectCast event)
+           eventHandler index
+
+-- | Get the current double click listbox event handler.
+listBoxGetOnDClick :: ListBox a -> IO (IO ())
+listBoxGetOnDClick listBox
+  = unsafeWindowGetHandlerState listBox wxEVT_COMMAND_LISTBOX_DCLICK (\index -> skipCurrentEvent)
+-}
+
+-- | Set an event handler for when a choice item is (de)selected.
+choiceOnCommand :: Choice a -> IO () -> IO ()
+choiceOnCommand choice eventHandler
+  = windowOnEvent choice [wxEVT_COMMAND_CHOICE_SELECTED] eventHandler (\_evt -> eventHandler)
+
+-- | Get the current choice command event handler.
+choiceGetOnCommand :: Choice a -> IO (IO ())
+choiceGetOnCommand choice
+  = unsafeWindowGetHandlerState choice wxEVT_COMMAND_CHOICE_SELECTED skipCurrentEvent
+
+
+-- | Set an event handler for when a radiobox item is selected.
+radioBoxOnCommand :: RadioBox a -> IO () -> IO ()
+radioBoxOnCommand radioBox eventHandler
+  = windowOnEvent radioBox [wxEVT_COMMAND_RADIOBOX_SELECTED] eventHandler (\_evt -> eventHandler)
+
+-- | Get the current radio box command handler.
+radioBoxGetOnCommand :: RadioBox a -> IO (IO ())
+radioBoxGetOnCommand radioBox
+  = unsafeWindowGetHandlerState radioBox wxEVT_COMMAND_RADIOBOX_SELECTED skipCurrentEvent
+
+
+-- | Set an event handler for when a slider item changes.
+sliderOnCommand :: Slider a -> IO () -> IO ()
+sliderOnCommand slider eventHandler
+  = windowOnEvent slider [wxEVT_COMMAND_SLIDER_UPDATED] eventHandler (\_evt -> eventHandler)
+
+-- | Get the current slider command event handler.
+sliderGetOnCommand :: Slider a -> IO (IO ())
+sliderGetOnCommand slider
+  = unsafeWindowGetHandlerState slider wxEVT_COMMAND_SLIDER_UPDATED skipCurrentEvent
+
+
+
+-- | Set an event handler for when a checkbox clicked.
+checkBoxOnCommand :: CheckBox a -> (IO ()) -> IO ()
+checkBoxOnCommand checkBox eventHandler
+  = windowOnEvent checkBox [wxEVT_COMMAND_CHECKBOX_CLICKED] eventHandler (\_evt -> eventHandler)
+
+-- | Get the current check box event handler.
+checkBoxGetOnCommand :: CheckBox a -> IO (IO ())
+checkBoxGetOnCommand checkBox
+  = unsafeWindowGetHandlerState checkBox wxEVT_COMMAND_CHECKBOX_CLICKED (skipCurrentEvent)
+
+-- | Set an event handler for when a spinCtrl clicked.
+spinCtrlOnCommand :: SpinCtrl a -> (IO ()) -> IO ()
+spinCtrlOnCommand spinCtrl eventHandler
+  = windowOnEvent spinCtrl [wxEVT_COMMAND_SPINCTRL_UPDATED] eventHandler (\_evt -> eventHandler)
+
+-- | Get the current check box event handler.
+spinCtrlGetOnCommand :: SpinCtrl a -> IO (IO ())
+spinCtrlGetOnCommand spinCtrl
+  = unsafeWindowGetHandlerState spinCtrl wxEVT_COMMAND_SPINCTRL_UPDATED (skipCurrentEvent)
+
+-- | Set an event handler for a push button.
+toggleButtonOnCommand :: ToggleButton a -> IO () -> IO ()
+toggleButtonOnCommand button eventHandler
+  = windowOnEvent button [wxEVT_COMMAND_TOGGLEBUTTON_CLICKED] eventHandler (\_evt -> eventHandler)
+
+-- | Get the current button event handler on a window.
+toggleButtonGetOnCommand :: Window a -> IO (IO ())
+toggleButtonGetOnCommand button
+  = unsafeWindowGetHandlerState button wxEVT_COMMAND_TOGGLEBUTTON_CLICKED skipCurrentEvent
+
+{-----------------------------------------------------------------------------------------
+  wxStyledTextCtrl's event
+-----------------------------------------------------------------------------------------}
+-- | Scintilla events. * Means extra information is available (excluding position,
+--   key and modifiers) but not yet implemented. ! means it's done
+data EventSTC
+    = STCChange             -- ^ ! wxEVT_STC_CHANGE.
+    | STCStyleNeeded        -- ^ ! wxEVT_STC_STYLENEEDED.
+    | STCCharAdded Char Int -- ^ ? wxEVT_STC_CHARADDED. The position seems to be broken
+    | STCSavePointReached   -- ^ ! wxEVT_STC_SAVEPOINTREACHED.
+    | STCSavePointLeft      -- ^ ! wxEVT_STC_SAVEPOINTLEFT.
+    | STCROModifyAttempt    -- ^ ! wxEVT_STC_ROMODIFYATTEMPT.
+    | STCKey                -- ^ * wxEVT_STC_KEY.
+                            -- kolmodin 20050304:
+                            -- is this event ever raised? not under linux.
+                            -- according to davve, not under windows either
+    | STCDoubleClick        -- ^ ! wxEVT_STC_DOUBLECLICK.
+    | STCUpdateUI           -- ^ ! wxEVT_STC_UPDATEUI.
+    | STCModified Int Int (Maybe String) Int Int Int Int Int          -- ^ ? wxEVT_STC_MODIFIED.
+    | STCMacroRecord Int Int Int  -- ^ ! wxEVT_STC_MACRORECORD iMessage wParam lParam
+    | STCMarginClick Bool Bool Bool Int Int -- ^ ? wxEVT_STC_MARGINCLICK.
+                                            -- kolmodin 20050304:
+                                            -- Add something nicer for alt, shift and ctrl?
+                                            -- Perhaps a new datatype or a tuple.
+    | STCNeedShown Int Int  -- ^ ! wxEVT_STC_NEEDSHOWN length position.
+    | STCPainted            -- ^ ! wxEVT_STC_PAINTED. 
+    | STCUserListSelection Int String -- ^ ! wxEVT_STC_USERLISTSELECTION listType text
+    | STCUriDropped String  -- ^ ! wxEVT_STC_URIDROPPED
+    | STCDwellStart Point -- ^ ! wxEVT_STC_DWELLSTART
+    | STCDwellEnd Point   -- ^ ! wxEVT_STC_DWELLEND
+    | STCStartDrag Int Int String            -- ^ ! wxEVT_STC_START_DRAG.
+    | STCDragOver Point DragResult            -- ^ ! wxEVT_STC_DRAG_OVER
+    | STCDoDrop String DragResult            -- ^ ! wxEVT_STC_DO_DROP
+    | STCZoom               -- ^ ! wxEVT_STC_ZOOM
+    | STCHotspotClick       -- ^ ! wxEVT_STC_HOTSPOT_CLICK
+    | STCHotspotDClick      -- ^ ! wxEVT_STC_HOTSPOT_DCLICK
+    | STCCalltipClick       -- ^ ! wxEVT_STC_CALLTIP_CLICK
+    | STCAutocompSelection  -- ^ ! wxEVT_STC_AUTOCOMP_SELECTION
+    | STCUnknown            -- ^ Unknown event. Should never occur.
+
+instance Show EventSTC where
+    show STCChange = "(stc event: change)"
+    show STCStyleNeeded = "(stc event: style needed)"
+    show (STCCharAdded c p) = "(stc event: char added: " ++ show c ++ " at position " ++ show p ++ ")"
+    show STCSavePointReached = "(stc event: save point reached)"
+    show STCSavePointLeft = "(stc event: save point left)"
+    show STCROModifyAttempt = "(stc event: read only modify attempt)"
+    show STCKey = "(stc event: key)"
+    show STCDoubleClick = "(stc event: double click)"
+    show STCUpdateUI = "(stc event: update ui)"
+    show (STCModified p mt t len ladd line fln flp) = "(stc event: modified: position " ++ show p ++ ", modtype " ++ show mt ++ ", text " ++ show t ++ ", length " ++ show len ++ ", lines added " ++ show ladd ++ ", line " ++ show line ++ ", fln " ++ show fln ++ ", flp " ++ show flp ++ ")"
+    show (STCMacroRecord m wp lp) = "(stc event: macro record, message " ++ show m ++ ", wParam " ++ show wp ++ ", lParam " ++ show lp ++ ")"
+    show (STCMarginClick alt shift ctrl p m) = "(stc event: margin " ++ show m ++ " clicked, pos " ++ show p ++ ", modifiers = [" ++ (if alt then "alt, " else "") ++ (if shift then "shift, " else "") ++ (if ctrl then "control" else "") ++ "])"
+    show (STCNeedShown p len) = "(stc event: need to show lines from " ++ show p ++ ", length " ++ show len ++ ")"
+    show STCPainted = "(stc event: painted)"
+    show (STCUserListSelection lt t) = "(stc event: user list selection, type " ++ show lt ++ ", text " ++ show t ++ ")"
+    show (STCUriDropped t) = "(stc event: uri dropped: " ++ t ++ ")"
+    show (STCDwellStart p) = "(stc event: dwell start, (x,y) " ++ show p ++ ")"
+    show (STCDwellEnd p) = "(stc event: dwell end, (x,y) " ++ show p ++ ")"
+    show (STCStartDrag lin car str) = "(stc event: start drag, line " ++ show lin ++ ", caret " ++ show car ++ ", text " ++ show str ++ ")"
+    show (STCDragOver p res) = "(stc event: drag over, (x,y) " ++ show p ++ ", dragResult " ++ show res ++ ")"
+    show (STCDoDrop str res) = "(stc event: do drop, text " ++ show str ++ ", dragResult " ++ show res ++ ")"
+    show STCZoom = "(stc event: zoom)"
+    show STCHotspotClick = "(stc event: hotspot click)"
+    show STCHotspotDClick = "(stc event: hotspot double click)"
+    show STCCalltipClick = "(stc event: calltip clicked)"
+    show STCAutocompSelection = "(stc event: autocomp selectioned)"
+    show STCUnknown = "(stc event: unknown)"
+
+fromSTCEvent :: StyledTextEvent a -> IO EventSTC
+fromSTCEvent event
+  = do et <- eventGetEventType event
+       case lookup et stcEvents of
+         Just action -> action event
+         Nothing -> return STCUnknown
+
+stcEvents :: [(EventId, StyledTextEvent a -> IO EventSTC)]
+stcEvents = [ (wxEVT_STC_CHANGE,            \_ -> return STCChange)
+            , (wxEVT_STC_STYLENEEDED,       \_ -> return STCStyleNeeded)
+            , (wxEVT_STC_CHARADDED,         charAdded)
+            , (wxEVT_STC_SAVEPOINTREACHED,  \_ -> return STCSavePointReached)
+            , (wxEVT_STC_SAVEPOINTLEFT,     \_ -> return STCSavePointLeft)
+            , (wxEVT_STC_ROMODIFYATTEMPT,   \_ -> return STCROModifyAttempt)
+            , (wxEVT_STC_KEY,               \_ -> return STCKey)
+            , (wxEVT_STC_DOUBLECLICK,       \_ -> return STCDoubleClick)
+            , (wxEVT_STC_UPDATEUI,          \_ -> return STCUpdateUI)
+            , (wxEVT_STC_MODIFIED,          modified)
+            , (wxEVT_STC_MACRORECORD,       macroRecord)
+            , (wxEVT_STC_MARGINCLICK,       marginClick)
+            , (wxEVT_STC_NEEDSHOWN,         needShown)
+            , (wxEVT_STC_PAINTED,           \_ -> return STCPainted)
+            , (wxEVT_STC_USERLISTSELECTION, userListSelection)
+            , (wxEVT_STC_URIDROPPED,        uriDropped)
+            , (wxEVT_STC_DWELLSTART,        dwellStart)
+            , (wxEVT_STC_DWELLEND,          dwellEnd)
+            , (wxEVT_STC_START_DRAG,        startDrag)
+            , (wxEVT_STC_DRAG_OVER,         dragOver)
+            , (wxEVT_STC_DO_DROP,           doDrop)
+            , (wxEVT_STC_ZOOM,              \_ -> return STCZoom)
+            , (wxEVT_STC_HOTSPOT_CLICK,     \_ -> return STCHotspotClick)
+            , (wxEVT_STC_CALLTIP_CLICK,     \_ -> return STCCalltipClick)
+            -- TODO: STCAutocompSelection event is not tested yet.
+            , (wxEVT_STC_AUTOCOMP_SELECTION,    \_ -> return STCAutocompSelection)
+            ]
+  where
+    charAdded evt = do
+      c <- styledTextEventGetKey evt
+      let c' | c < 0 = chr $ c + 256
+             | otherwise = chr c
+      p <- styledTextEventGetPosition evt
+      return $ STCCharAdded c' p
+    modified evt = do
+      p <- styledTextEventGetPosition evt
+      mt <- styledTextEventGetModificationType evt
+      t <- styledTextEventGetText evt
+      len <- styledTextEventGetLength evt
+      ladd <- styledTextEventGetLinesAdded evt
+      line <- styledTextEventGetLine evt
+      fln <- styledTextEventGetFoldLevelNow evt
+      flp <- styledTextEventGetFoldLevelPrev evt 
+      -- TODO: t should only be returned under some modificationtype conditions
+      -- or should we always return it?
+      return $ STCModified p mt (Just t) len ladd line fln flp
+    macroRecord evt = do
+      m <- styledTextEventGetMessage evt
+      wp <- styledTextEventGetWParam evt
+      lp <- styledTextEventGetLParam evt
+      return $ STCMacroRecord m wp lp
+    marginClick evt = do
+      alt <- styledTextEventGetAlt evt
+      shift <- styledTextEventGetShift evt
+      ctrl <- styledTextEventGetControl evt
+      p <- styledTextEventGetPosition evt
+      m <- styledTextEventGetMargin evt
+      return $ STCMarginClick alt shift ctrl p m
+    needShown evt = do
+      p <- styledTextEventGetPosition evt
+      len <- styledTextEventGetLength evt
+      return $ STCNeedShown p len
+    {-
+    -- expEVT_STC_POSCHANGED is removed in wxWidgets-2.6.x.
+    posChanged evt = do
+      p <- styledTextEventGetPosition evt
+      return $ STCPosChanged p
+    -}
+    userListSelection evt = do
+      lt <- styledTextEventGetListType evt
+      text <- styledTextEventGetText evt
+      return $ STCUserListSelection lt text
+    uriDropped evt = do
+      t <- styledTextEventGetText evt
+      return $ STCUriDropped t
+    dwellStart evt = do
+      x <- styledTextEventGetX evt
+      y <- styledTextEventGetY evt
+      return $ STCDwellStart (point x y)
+    dwellEnd evt = do
+      x <- styledTextEventGetX evt
+      y <- styledTextEventGetY evt
+      return $ STCDwellEnd (point x y)
+    startDrag evt = do
+      lin <- styledTextEventGetLine evt
+      car <- styledTextEventGetPosition evt
+      str <- styledTextEventGetDragText evt
+      return $ STCStartDrag lin car str
+    dragOver evt = do
+      x <- styledTextEventGetX evt
+      y <- styledTextEventGetY evt
+      res <- styledTextEventGetDragResult evt
+      return $ STCDragOver (point x y) $ toDragResult res
+    doDrop evt = do
+      str <- styledTextEventGetDragText evt
+      res <- styledTextEventGetDragResult evt
+      return $ STCDoDrop str $ toDragResult res
+
+stcOnSTCEvent :: StyledTextCtrl a -> (EventSTC -> IO ()) -> IO ()
+stcOnSTCEvent stc handler
+  = do windowOnEvent stc stcEventsAll handler eventHandler
+  where
+    eventHandler event
+      = do eventSTC <- fromSTCEvent (objectCast event)
+           if isSTCUnknown eventSTC
+              then return () -- what else?
+              else handler eventSTC
+    isSTCUnknown :: EventSTC -> Bool
+    isSTCUnknown STCUnknown = True
+    isSTCUnknown _ = False
+    -- most of the events can probably be ignored
+    stcEventsAll = map fst stcEvents
+
+stcGetOnSTCEvent :: StyledTextCtrl a -> IO (EventSTC -> IO ())
+stcGetOnSTCEvent window
+  = unsafeWindowGetHandlerState window (head $ map fst stcEvents) (\_ev -> skipCurrentEvent)
+
+{-----------------------------------------------------------------------------------------
+  Printing
+-----------------------------------------------------------------------------------------}
+-- | Printer events.
+data EventPrint  = PrintBeginDoc (IO ()) Int Int    -- ^ Print a copy: cancel, start page, end page
+                 | PrintEndDoc
+                 | PrintBegin                       -- ^ Begin a print job.
+                 | PrintEnd
+                 | PrintPrepare                     -- ^ Prepare: chance to call 'printOutSetPageLimits' for example.
+                 | PrintPage (IO ()) (DC ()) Int    -- ^ Print a page: cancel, printer device context, page number.
+                 | PrintUnknown Int                 -- ^ Unknown print event with event code
+
+-- | Convert a 'PrintEvent' object to an 'EventPrint' value.
+fromPrintEvent :: WXCPrintEvent a -> IO EventPrint
+fromPrintEvent event
+  = do tp <- eventGetEventType event
+       case lookup tp printEvents of
+         Just f  -> f event
+         Nothing -> return (PrintUnknown tp)
+
+-- | Print event list.
+printEvents :: [(Int,WXCPrintEvent a -> IO EventPrint)]
+printEvents
+  = [(wxEVT_PRINT_PAGE,     \ev -> do page <- wxcPrintEventGetPage ev
+                                      pout <- wxcPrintEventGetPrintout ev
+                                      dc   <- printoutGetDC pout
+                                      let cancel = wxcPrintEventSetContinue ev False
+                                      return (PrintPage cancel dc page))
+    ,(wxEVT_PRINT_BEGIN_DOC,\ev -> do page <- wxcPrintEventGetPage ev
+                                      epage<- wxcPrintEventGetEndPage ev
+                                      let cancel = wxcPrintEventSetContinue ev False
+                                      return (PrintBeginDoc cancel page epage))
+    ,(wxEVT_PRINT_PREPARE, \_ev -> return PrintPrepare)
+    ,(wxEVT_PRINT_END_DOC, \_ev -> return PrintEndDoc)
+    ,(wxEVT_PRINT_BEGIN,   \_ev -> return PrintBegin)
+    ,(wxEVT_PRINT_END,     \_ev -> return PrintEnd)
+    ]
+
+-- | Set an event handler for printing.
+printOutOnPrint :: WXCPrintout a -> (EventPrint -> IO ()) -> IO ()
+printOutOnPrint printOut eventHandler
+  = do evtHandler <- wxcPrintoutGetEvtHandler printOut
+       evtHandlerOnEvent evtHandler idAny idAny (map fst printEvents)
+                         eventHandler (\_ -> return ()) printHandler
+  where
+    printHandler event
+      = do eventPrint <- fromPrintEvent (objectCast event)
+           eventHandler eventPrint
+
+-- | Get the current print handler
+printOutGetOnPrint :: WXCPrintout a -> IO (EventPrint -> IO ())
+printOutGetOnPrint printOut 
+  = do evtHandler <- wxcPrintoutGetEvtHandler printOut
+       unsafeGetHandlerState evtHandler idAny wxEVT_PRINT_PAGE (\_ev -> skipCurrentEvent)
+
+
+{-----------------------------------------------------------------------------------------
+  Scrolling
+-----------------------------------------------------------------------------------------}
+-- | Scroll events.
+data EventScroll = ScrollTop      !Orientation !Int    -- ^ scroll to top
+                 | ScrollBottom   !Orientation !Int    -- ^ scroll to bottom
+                 | ScrollLineUp   !Orientation !Int    -- ^ scroll line up
+                 | ScrollLineDown !Orientation !Int    -- ^ scroll line down
+                 | ScrollPageUp   !Orientation !Int    -- ^ scroll page up
+                 | ScrollPageDown !Orientation !Int    -- ^ scroll page down
+                 | ScrollTrack    !Orientation !Int    -- ^ frequent event when user drags the thumbtrack
+                 | ScrollRelease  !Orientation !Int    -- ^ thumbtrack is released
+                 deriving Show
+
+-- | The orientation of a widget.
+data Orientation  = Horizontal | Vertical
+                  deriving (Eq, Show)
+
+
+-- | Get the orientation of a scroll event.
+scrollOrientation :: EventScroll -> Orientation
+scrollOrientation scroll
+  = case scroll of
+      ScrollTop      orient _pos   -> orient
+      ScrollBottom   orient _pos   -> orient
+      ScrollLineUp   orient _pos   -> orient
+      ScrollLineDown orient _pos   -> orient
+      ScrollPageUp   orient _pos   -> orient
+      ScrollPageDown orient _pos   -> orient
+      ScrollTrack    orient _pos   -> orient
+      ScrollRelease  orient _pos   -> orient
+
+-- | Get the position of the scroll bar.
+scrollPos :: EventScroll -> Int
+scrollPos scroll
+  = case scroll of
+      ScrollTop      _orient pos   -> pos
+      ScrollBottom   _orient pos   -> pos
+      ScrollLineUp   _orient pos   -> pos
+      ScrollLineDown _orient pos   -> pos
+      ScrollPageUp   _orient pos   -> pos
+      ScrollPageDown _orient pos   -> pos
+      ScrollTrack    _orient pos   -> pos
+      ScrollRelease  _orient pos   -> pos
+
+
+
+fromScrollEvent :: ScrollWinEvent a -> IO EventScroll
+fromScrollEvent event
+  = do orient <- scrollWinEventGetOrientation event
+       pos    <- scrollWinEventGetPosition event
+       tp     <- eventGetEventType event
+       let orientation | orient == wxHORIZONTAL  = Horizontal
+                       | otherwise               = Vertical
+       case lookup tp scrollEvents of
+         Just evt  -> return (evt orientation pos)
+         Nothing   -> return (ScrollRelease orientation pos)
+
+scrollEvents :: [(Int,Orientation -> Int -> EventScroll)]
+scrollEvents
+  = [(wxEVT_SCROLLWIN_TOP,        ScrollTop)
+    ,(wxEVT_SCROLLWIN_BOTTOM,     ScrollBottom)
+    ,(wxEVT_SCROLLWIN_LINEUP,     ScrollLineUp)
+    ,(wxEVT_SCROLLWIN_LINEDOWN,   ScrollLineDown)
+    ,(wxEVT_SCROLLWIN_PAGEUP,     ScrollPageUp)
+    ,(wxEVT_SCROLLWIN_PAGEDOWN,   ScrollPageDown)
+    ,(wxEVT_SCROLLWIN_THUMBTRACK, ScrollTrack)
+    ,(wxEVT_SCROLLWIN_THUMBRELEASE, ScrollRelease)
+    ]
+
+-- | Set a scroll event handler.
+windowOnScroll :: Window a -> (EventScroll -> IO ()) -> IO ()
+windowOnScroll window eventHandler
+  = windowOnEvent window (map fst scrollEvents) eventHandler scrollHandler
+  where
+    scrollHandler event
+      = do eventScroll <- fromScrollEvent (objectCast event)
+           eventHandler eventScroll
+
+-- | Get the current scroll event handler of a window.
+windowGetOnScroll :: Window a -> IO (EventScroll -> IO ())
+windowGetOnScroll window
+  = unsafeWindowGetHandlerState window wxEVT_SCROLLWIN_TOP (\_scroll -> skipCurrentEvent)
+
+{--------------------------------------------------------------------------
+  HTML event
+--------------------------------------------------------------------------}
+-- | HTML window events
+data EventHtml  
+  = HtmlCellClicked String EventMouse  Point 
+      -- ^ A /cell/ is clicked. Contains the cell /id/ attribute value, the mouse event and the logical coordinates.
+  | HtmlCellHover String 
+      -- ^ The mouse hovers over a cell. Contains the cell /id/ attribute value.
+  | HtmlLinkClicked String String String EventMouse Point 
+     -- ^ A link is clicked. Contains the hyperlink, the frame target, the cell /id/ attribute value, the mouse event, and the logical coordinates.
+  | HtmlSetTitle String
+     -- ^ Called when a @<title>@ tag is parsed.
+  | HtmlUnknown 
+     -- ^ Unrecognised HTML event
+
+instance Show EventHtml where
+  show ev
+    = case ev of
+        HtmlCellClicked id' mouse _pnt             -> "HTML Cell " ++ show id' ++ " clicked: " ++ show mouse
+        HtmlLinkClicked href _target id' _mouse _p -> "HTML Link " ++ show id' ++ " clicked: " ++ href
+        HtmlCellHover   id'                        -> "HTML Cell " ++ show id' ++ " hover"
+        HtmlSetTitle    title                      -> "HTML event title: " ++ title
+        HtmlUnknown                                -> "HTML event unknown"
+
+fromHtmlEvent :: WXCHtmlEvent a -> IO EventHtml
+fromHtmlEvent event
+  = do tp <- eventGetEventType event
+       case lookup tp htmlEvents of
+         Nothing      -> return HtmlUnknown 
+         Just action  -> action event
+  where
+    htmlEvents  = [(wxEVT_HTML_CELL_MOUSE_HOVER,  htmlHover)
+                  ,(wxEVT_HTML_CELL_CLICKED,      htmlClicked)
+                  ,(wxEVT_HTML_LINK_CLICKED,      htmlLink)
+                  ,(wxEVT_HTML_SET_TITLE,         htmlTitle)]
+
+    htmlTitle event'
+      = do title <- commandEventGetString event'
+           return (HtmlSetTitle title)
+
+    htmlHover event'
+      = do id'     <- wxcHtmlEventGetHtmlCellId event'
+           return (HtmlCellHover id')
+
+    htmlClicked event'
+      = do id'     <- wxcHtmlEventGetHtmlCellId event'
+           mouseEv <- wxcHtmlEventGetMouseEvent event'
+           mouse   <- fromMouseEvent mouseEv
+           pnt     <- wxcHtmlEventGetLogicalPosition event'
+           return (HtmlCellClicked id' mouse pnt)
+
+    htmlLink event'
+      = do id'     <- wxcHtmlEventGetHtmlCellId event'
+           mouseEv <- wxcHtmlEventGetMouseEvent event'
+           mouse   <- fromMouseEvent mouseEv
+           href    <- wxcHtmlEventGetHref event'
+           target  <- wxcHtmlEventGetTarget event'
+           pnt     <- wxcHtmlEventGetLogicalPosition event'
+           return (HtmlLinkClicked href target id' mouse pnt)
+      
+-- | Set a html event handler for a HTML window. The first argument determines whether
+-- hover events ('HtmlCellHover') are handled or not.
+htmlWindowOnHtmlEvent :: WXCHtmlWindow a -> Bool -> (EventHtml -> IO ()) -> IO ()
+htmlWindowOnHtmlEvent window allowHover handler
+  = windowOnEvent window htmlEvents handler eventHandler
+  where
+    htmlEvents
+      = [wxEVT_HTML_CELL_CLICKED,wxEVT_HTML_LINK_CLICKED,wxEVT_HTML_SET_TITLE]
+        ++ (if allowHover then [wxEVT_HTML_CELL_MOUSE_HOVER] else [])
+
+    eventHandler event
+      = do eventHtml <- fromHtmlEvent (objectCast event)
+           handler eventHtml
+
+-- | Get the current HTML event handler of a HTML window.
+htmlWindowGetOnHtmlEvent :: WXCHtmlWindow a -> IO (EventHtml -> IO ())
+htmlWindowGetOnHtmlEvent window
+  = unsafeWindowGetHandlerState window wxEVT_HTML_CELL_CLICKED (\_ev -> skipCurrentEvent)
+
+     
+          
+
+{-----------------------------------------------------------------------------------------
+  Close, Destroy, Create
+-----------------------------------------------------------------------------------------}
+-- | Adds a close handler to the currently installed close handlers.
+windowAddOnClose :: Window a -> IO () -> IO ()
+windowAddOnClose window new'
+  = do prev <- windowGetOnClose window
+       windowOnClose window (do { new'; prev })
+
+-- | Set an event handler that is called when the user tries to close a frame or dialog.
+-- Don't forget to call the previous handler or 'frameDestroy' explicitly or otherwise the
+-- frame won't be closed.
+windowOnClose :: Window a -> IO () -> IO ()
+windowOnClose window eventHandler
+  = windowOnEvent window [wxEVT_CLOSE_WINDOW] eventHandler (\_ev -> eventHandler)
+
+-- | Get the current close event handler.
+windowGetOnClose :: Window a -> IO (IO ())
+windowGetOnClose window
+  = unsafeWindowGetHandlerState window wxEVT_CLOSE_WINDOW (windowDestroy window >> return ())
+
+-- | Set an event handler that is called when the window is destroyed.
+-- /Note: does not seem to work on Windows/.
+windowOnDestroy :: Window a -> IO () -> IO ()
+windowOnDestroy window eventHandler
+  = windowOnEvent window [wxEVT_DESTROY] eventHandler (\_ev -> eventHandler)
+
+-- | Get the current destroy event handler.
+windowGetOnDestroy :: Window a -> IO (IO ())
+windowGetOnDestroy window
+  = unsafeWindowGetHandlerState window wxEVT_DESTROY (return ())
+
+-- | Add a delete-event handler to the current installed delete-event handlers.
+--
+-- > windowAddOnDelete window new
+-- >   = do prev <- windowGetOnDelete window
+-- >        windowOnDelete window (do{ new; prev })
+
+windowAddOnDelete :: Window a -> IO () -> IO ()
+windowAddOnDelete window new'
+  = do prev <- windowGetOnDelete window
+       windowOnDelete window (do { new'; prev })
+
+-- | Set an event handler that is called when the window is deleted.
+-- Use with care as the window itself is in a deletion state.
+windowOnDelete :: Window a -> IO () -> IO ()
+windowOnDelete window eventHandler
+  = windowOnEventEx window [wxEVT_DELETE] eventHandler onDelete (\_ev -> return ())
+  where
+    onDelete ownerDeleted
+      | ownerDeleted  = eventHandler
+      | otherwise     = return ()    -- don't run on disconnect!
+
+-- | Get the current delete event handler.
+windowGetOnDelete :: Window a -> IO (IO ())
+windowGetOnDelete window
+  = unsafeWindowGetHandlerState window wxEVT_DELETE (return ())
+
+
+-- | Set an event handler that is called when the window is created.
+windowOnCreate :: Window a -> IO () -> IO ()
+windowOnCreate window eventHandler
+  = windowOnEvent window [wxEVT_CREATE] eventHandler (\_ev -> eventHandler)
+
+-- | Get the current create event handler.
+windowGetOnCreate :: Window a -> IO (IO ())
+windowGetOnCreate window
+  = unsafeWindowGetHandlerState window wxEVT_CREATE (return ())
+
+-- | Set an event handler that is called when the window is resized.
+windowOnSize :: Window a -> IO () -> IO ()
+windowOnSize window eventHandler
+  = windowOnEvent window [wxEVT_SIZE] eventHandler (\_ev -> eventHandler)
+
+-- | Get the current resize event handler.
+windowGetOnSize :: Window a -> IO (IO ())
+windowGetOnSize window
+  = unsafeWindowGetHandlerState window wxEVT_SIZE (return ())
+
+-- | Set an event handler that is called when the window is activated or deactivated.
+-- The event parameter is 'True' when the window is activated.
+windowOnActivate :: Window a -> (Bool -> IO ()) -> IO ()
+windowOnActivate window eventHandler
+  = windowOnEvent window [wxEVT_ACTIVATE] eventHandler activateHandler
+  where
+    activateHandler event
+      = do active <- activateEventGetActive (objectCast event)
+           eventHandler active
+
+-- | Get the current activate event handler.
+windowGetOnActivate :: Window a -> IO (Bool -> IO ())
+windowGetOnActivate window
+  = unsafeWindowGetHandlerState window wxEVT_ACTIVATE (\_active -> return ())
+
+-- | Set an event handler that is called when the window gets or loses the focus.
+-- The event parameter is 'True' when the window gets the focus.
+windowOnFocus :: Window a -> (Bool -> IO ()) -> IO ()
+windowOnFocus window eventHandler
+  = do windowOnEvent window [wxEVT_SET_FOCUS] eventHandler getFocusHandler
+       windowOnEvent window [wxEVT_KILL_FOCUS] eventHandler killFocusHandler
+  where
+    getFocusHandler _event
+      = eventHandler True
+    killFocusHandler _event
+      = eventHandler False
+
+-- | Get the current focus event handler.
+windowGetOnFocus :: Window a -> IO (Bool -> IO ())
+windowGetOnFocus window
+  = unsafeWindowGetHandlerState window wxEVT_SET_FOCUS (\_getfocus -> return ())
+
+
+-- | A context menu event is generated when the user right-clicks in a window
+-- or presses shift-F10.
+windowOnContextMenu :: Window a -> IO () -> IO ()
+windowOnContextMenu window eventHandler
+  = windowOnEvent window [wxEVT_CONTEXT_MENU] eventHandler (\_ev -> eventHandler)
+
+-- | Get the current context menu event handler.
+windowGetOnContextMenu :: Window a -> IO (IO ())
+windowGetOnContextMenu window
+  = unsafeWindowGetHandlerState window wxEVT_CONTEXT_MENU skipCurrentEvent
+
+-- | A menu event is generated when the user selects a menu item.
+-- You should install this handler on the window that owns the menubar or a popup menu.
+evtHandlerOnMenuCommand :: EvtHandler a -> Id -> IO () -> IO ()
+evtHandlerOnMenuCommand window id' eventHandler
+  = evtHandlerOnEvent window id' id' [wxEVT_COMMAND_MENU_SELECTED] eventHandler (\_ -> return ()) (\_ev -> eventHandler)
+
+-- | Get the current event handler for a certain menu.
+evtHandlerGetOnMenuCommand :: EvtHandler a -> Id -> IO (IO ())
+evtHandlerGetOnMenuCommand window id'
+  = unsafeGetHandlerState window id' wxEVT_COMMAND_MENU_SELECTED skipCurrentEvent
+
+
+-- | An idle event is generated in idle time. The handler should return whether more
+-- idle processing is needed ('True') or otherwise the event loop goes into a passive
+-- waiting state.
+windowOnIdle :: Window a -> IO Bool -> IO ()
+windowOnIdle window eventHandler
+  = windowOnEvent window [wxEVT_IDLE] eventHandler idleHandler
+  where
+    idleHandler event
+      = do requestMore <- eventHandler
+           idleEventRequestMore (objectCast event) requestMore
+           return ()
+
+-- | Get the current context menu event handler.
+windowGetOnIdle :: Window a -> IO (IO Bool)
+windowGetOnIdle window
+  = unsafeWindowGetHandlerState window wxEVT_IDLE (return False)
+
+
+-- | A timer event is generated by an attached timer, see 'windowTimerAttach'.
+-- /Broken!/ (use 'timerOnCommand' instead).
+windowOnTimer :: Window a -> IO () -> IO ()
+windowOnTimer window eventHandler
+  = windowOnEvent window [wxEVT_TIMER] eventHandler (\_ev -> eventHandler)
+
+-- | Get the current timer handler.
+windowGetOnTimer :: Window a -> IO (IO ())
+windowGetOnTimer window
+  = unsafeWindowGetHandlerState window wxEVT_TIMER (return ())
+
+{-----------------------------------------------------------------------------------------
+  Paint
+-----------------------------------------------------------------------------------------}
+-- | Set an event handler for /raw/ paint events. Draws directly to the
+-- paint device context ('PaintDC') and the 'DC' is not cleared when the handler
+-- is called. The handler takes two other arguments: the view rectangle and a
+-- list of /dirty/ rectangles. The rectangles contain logical coordinates and
+-- are already adjusted for scrolled windows.
+-- Note: you can not set both a 'windowOnPaintRaw' and 'windowOnPaint' handler!
+windowOnPaintRaw :: Window a -> (PaintDC () -> Rect -> [Rect] -> IO ()) -> IO ()
+windowOnPaintRaw window paintHandler
+  = windowOnEvent window [wxEVT_PAINT] paintHandler onPaint 
+  where
+    onPaint event
+      = do obj <- eventGetEventObject event
+           if (obj==objectNull)
+            then return ()
+            else do let window' = objectCast obj
+                    region <- windowGetUpdateRects window'
+                    view   <- windowGetViewRect window'
+                    withPaintDC window' (\paintDC ->
+                     do isScrolled <- objectIsScrolledWindow window'
+                        when (isScrolled) (scrolledWindowPrepareDC (objectCast window') paintDC)
+                        paintHandler paintDC view region)
+
+-- | Get the current /raw/ paint event handler. 
+windowGetOnPaintRaw :: Window a -> IO (PaintDC () -> Rect -> [Rect] -> IO ())
+windowGetOnPaintRaw window
+  = unsafeWindowGetHandlerState window wxEVT_PAINT (\_dc _rect _region -> return ())
+
+-- | Get the current paint event handler.
+windowGetOnPaintGc :: Window a -> IO (GCDC () -> Rect -> IO ())
+windowGetOnPaintGc window
+  = unsafeWindowGetHandlerState window wxEVT_PAINT (\_dc _view -> return ())
+
+
+-- | Set an event handler for paint events. The implementation uses an 
+-- intermediate buffer for non-flickering redraws. 
+-- The device context ('DC')
+-- is always cleared before the paint handler is called. The paint handler
+-- also gets the currently visible view area as an argument (adjusted for scrolling).
+-- Note: you can not set both a 'windowOnPaintRaw' and 'windowOnPaint' handler!
+windowOnPaint :: Window a -> (DC () -> Rect -> IO ()) -> IO ()
+windowOnPaint window paintHandler
+  | wxToolkit == WxMac  = windowOnPaintRaw window (\dc view _ -> paintHandler (downcastDC dc) view)
+  | otherwise
+  = do v <- varCreate objectNull
+       windowOnEventEx window [wxEVT_PAINT] paintHandler (destroy v) (onPaint v)
+  where
+    destroy v _ownerDeleted
+      = do bitmap <- varSwap v objectNull
+           when (not (objectIsNull bitmap)) (bitmapDelete bitmap)
+
+    onPaint v event
+      = do obj <- eventGetEventObject event
+           if (obj==objectNull)
+            then return ()
+            else do let window' = objectCast obj
+                    view  <- windowGetViewRect window'
+                    withPaintDC window (\paintDC ->
+                     do isScrolled <- objectIsScrolledWindow window'
+                        when (isScrolled) (scrolledWindowPrepareDC (objectCast window') paintDC)
+                        -- Note: wxMSW 2.4 does not clear the properly scrolled view rectangle.
+                        let clear dc  | wxToolkit == WxMSW  = dcClearRect dc view
+                                      | otherwise           = dcClear dc
+                        -- and repaint with buffer
+                        dcBufferWithRefEx paintDC clear (Just v) view (\dc -> paintHandler dc view))
+
+-- | Set an event handler for GCDC paint events. The implementation uses an 
+-- intermediate buffer for non-flickering redraws. 
+-- The device context ('GCDC')
+-- is always cleared before the paint handler is called. The paint handler
+-- also gets the currently visible view area as an argument (adjusted for scrolling).
+-- Note: you can not set both a 'windowOnPaintRaw' and 'windowOnPaint' handler!
+windowOnPaintGc :: Window a -> (GCDC () -> Rect -> IO ()) -> IO ()
+windowOnPaintGc window paintHandler
+  | wxToolkit == WxMac  = windowOnPaintRaw window
+                          (\dc_ view _ -> do
+                            dc <- gcdcCreate dc_
+                            paintHandler dc view
+                            gcdcDelete dc)
+  | otherwise
+  = do v <- varCreate objectNull
+       windowOnEventEx window [wxEVT_PAINT] paintHandler (destroy v) (onPaint v)
+  where
+    destroy v _ownerDeleted
+      = do bitmap <- varSwap v objectNull
+           when (not (objectIsNull bitmap)) (bitmapDelete bitmap)
+
+    onPaint v event
+      = do obj <- eventGetEventObject event
+           if (obj==objectNull)
+            then return ()
+            else do let window' = objectCast obj
+                    view  <- windowGetViewRect window'
+                    withPaintDC window (\paintDC ->
+                     do isScrolled <- objectIsScrolledWindow window'
+                        when (isScrolled) (scrolledWindowPrepareDC (objectCast window') paintDC)
+                        -- Note: wxMSW 2.4 does not clear the properly scrolled view rectangle.
+                        let clear dc  | wxToolkit == WxMSW  = dcClearRect dc view
+                                      | otherwise           = dcClear dc
+                        -- and repaint with buffer
+                        dcBufferWithRefExGcdc paintDC clear (Just v) view (\dc -> paintHandler dc view))
+
+-- | Get the current paint event handler.
+windowGetOnPaint :: Window a -> IO (DC () -> Rect -> IO ())
+windowGetOnPaint window
+  = unsafeWindowGetHandlerState window wxEVT_PAINT (\_dc _view -> return ())
+
+
+-- Get the logical /dirty/ rectangles as a list of 'Rect'.
+windowGetUpdateRects :: Window a -> IO [Rect]
+windowGetUpdateRects window
+  = do region <- windowGetUpdateRegion window
+       iter   <- regionIteratorCreateFromRegion region
+       rects  <- getRects iter
+       regionIteratorDelete iter
+       p <- windowGetViewStart window
+       return (map (\r -> rectMove r (vecFromPoint p)) rects)
+  where
+    getRects iter
+      = do more <- regionIteratorHaveRects iter
+           if more
+            then do x <- regionIteratorGetX iter
+                    y <- regionIteratorGetY iter
+                    w <- regionIteratorGetWidth iter
+                    h <- regionIteratorGetHeight iter
+                    regionIteratorNext iter
+                    rs <- getRects iter
+                    return (rect (pt x y) (sz w h) : rs)
+            else return []
+
+
+{-----------------------------------------------------------------------------------------
+  Modifiers
+-----------------------------------------------------------------------------------------}
+-- | Called when a process is ended with the process @pid@ and exitcode.
+evtHandlerOnEndProcess :: EvtHandler a -> (Int -> Int -> IO ()) -> IO ()
+evtHandlerOnEndProcess  evtHandler handler
+  = evtHandlerOnEvent evtHandler (-1) (-1) [wxEVT_END_PROCESS] handler onDelete onEndProcess
+  where
+    onDelete _ownerDeleted
+      = return ()
+
+    onEndProcess event
+      = let processEvent = objectCast event
+        in  do pid  <- processEventGetPid processEvent
+               code <- processEventGetExitCode processEvent
+               handler pid code
+
+
+-- | Retrieve the current end process handler.
+evtHandlerGetOnEndProcess :: EvtHandler a -> IO (Int -> Int -> IO ())
+evtHandlerGetOnEndProcess evtHandler
+  = unsafeGetHandlerState evtHandler (-1) wxEVT_END_PROCESS (\_pid _code -> return ())
+
+
+-- | The status of a stream (see 'StreamBase')
+data StreamStatus = StreamOk          -- ^ No error.
+                  | StreamEof         -- ^ No more input.
+                  | StreamReadError   -- ^ Read error.
+                  | StreamWriteError  -- ^ Write error.
+                  deriving (Eq,Show)
+
+-- | Convert a stream status code into 'StreamStatus'.
+streamStatusFromInt :: Int -> StreamStatus
+streamStatusFromInt code
+  | code == wxSTREAM_NO_ERROR     = StreamOk
+  | code == wxSTREAM_EOF          = StreamEof
+  | code == wxSTREAM_READ_ERROR   = StreamReadError
+  | code == wxSTREAM_WRITE_ERROR  = StreamWriteError
+  | otherwise                     = StreamReadError
+
+
+-- | Install an event handler on an input stream. The handler is called
+-- whenever input is read (or when an error occurred). The third parameter
+-- gives the size of the input batches. The original input stream should no longer be referenced after this call!
+evtHandlerOnInput :: EvtHandler b -> (String -> StreamStatus -> IO ()) -> InputStream a -> Int -> IO ()
+evtHandlerOnInput evtHandler handler stream bufferLen
+  = do sink <- inputSinkCreate stream evtHandler bufferLen
+       evtHandlerOnInputSink evtHandler handler sink
+       inputSinkStart sink
+
+-- | Install an event handler on a specific input sink. It is advised to
+-- use the 'evtHandlerOnInput' whenever retrieval of the handler is not necessary.
+evtHandlerOnInputSink :: EvtHandler b -> (String -> StreamStatus -> IO ()) -> InputSink a -> IO ()
+evtHandlerOnInputSink evtHandler handler sink
+  = do id' <- inputSinkGetId sink
+       evtHandlerOnEvent evtHandler id' id' [wxEVT_INPUT_SINK] handler onDelete onInput
+  where
+    onDelete _ownerDeleted
+      = return ()
+
+    onInput event
+      = let inputSinkEvent = objectCast event
+        in  do input <- inputSinkEventLastString inputSinkEvent
+               code  <- inputSinkEventLastError inputSinkEvent
+               handler input (streamStatusFromInt code)
+
+
+-- | Retrieve the current input stream handler.
+evtHandlerGetOnInputSink :: EvtHandler b -> IO (String -> StreamStatus -> IO ())
+evtHandlerGetOnInputSink evtHandler
+  = unsafeGetHandlerState evtHandler (-1) wxEVT_INPUT_SINK (\_input _status -> return ())
+
+-- | Read the input from an 'InputSinkEvent'.
+inputSinkEventLastString :: InputSinkEvent a -> IO String
+inputSinkEventLastString inputSinkEvent
+  = do n <- inputSinkEventLastRead inputSinkEvent
+       if (n <= 0)
+        then return ""
+        else do buffer <- inputSinkEventLastInput inputSinkEvent
+                peekCWStringLen (buffer,n)
+
+
+{-----------------------------------------------------------------------------------------
+  Modifiers
+-----------------------------------------------------------------------------------------}
+-- | The @Modifiers@ indicate the meta keys that have been pressed ('True') or not ('False').
+data Modifiers  = Modifiers
+                  { altDown     :: !Bool   -- ^ alt key down
+                  , shiftDown   :: !Bool   -- ^ shift key down
+                  , controlDown :: !Bool   -- ^ control key down
+                  , metaDown    :: !Bool   -- ^ meta key down
+                  }
+                  deriving (Eq)
+
+instance Show Modifiers where
+  show mods = showModifiers mods
+
+-- | Show modifiers, for example for use in menus.
+showModifiers :: Modifiers -> String
+showModifiers mods
+  = concat $ intersperse "+" $ filter (not.null)
+    [if controlDown mods then "Ctrl" else ""
+    ,if altDown mods     then "Alt" else ""
+    ,if shiftDown mods   then "Shift" else ""
+    ,if metaDown mods    then "Meta" else ""
+    ]
+
+
+-- | Construct a 'Modifiers' structure with no meta keys pressed.
+noneDown :: Modifiers
+noneDown = Modifiers False False False False
+
+-- | Construct a 'Modifiers' structure with just Shift meta key pressed.
+justShift   :: Modifiers
+justShift   = noneDown{ shiftDown = True }
+
+-- | Construct a 'Modifiers' structure with just Alt meta key pressed.
+justAlt     :: Modifiers
+justAlt     = noneDown{ altDown = True }
+
+-- | Construct a 'Modifiers' structure with just Ctrl meta key pressed.
+justControl :: Modifiers
+justControl = noneDown{ controlDown = True }
+
+-- | Construct a 'Modifiers' structure with just Meta meta key pressed.
+justMeta :: Modifiers
+justMeta = noneDown{ metaDown = True }
+
+-- | Test if no meta key was pressed.
+isNoneDown :: Modifiers -> Bool
+isNoneDown (Modifiers shift control alt meta) = not (shift || control || alt || meta)
+
+-- | Test if no shift, alt, or control key was pressed.
+isNoShiftAltControlDown :: Modifiers -> Bool
+isNoShiftAltControlDown (Modifiers shift control alt _meta) = not (shift || control || alt)
+
+-- | Tranform modifiers into an accelerator modifiers code.
+modifiersToAccelFlags :: Modifiers -> Int
+modifiersToAccelFlags mod'
+  = mask (altDown mod') 0x01 + mask (controlDown mod') 0x02 + mask (shiftDown mod') 0x04
+  where
+    mask test flag = if test then flag else 0
+
+{-----------------------------------------------------------------------------------------
+  MouseEvent
+-----------------------------------------------------------------------------------------}
+-- | Mouse events. The 'Point' gives the logical (unscrolled) position.
+data EventMouse
+  =  MouseMotion      !Point !Modifiers -- ^ Mouse was moved over the client area of the window
+  |  MouseEnter       !Point !Modifiers -- ^ Mouse enters in the client area of the window
+  |  MouseLeave       !Point !Modifiers -- ^ Mouse leaves the client area of the window
+  |  MouseLeftDown    !Point !Modifiers -- ^ Mouse left button goes down
+  |  MouseLeftUp      !Point !Modifiers -- ^ Mouse left  button goes up
+  |  MouseLeftDClick  !Point !Modifiers -- ^ Mouse left button double click
+  |  MouseLeftDrag    !Point !Modifiers -- ^ Mouse left button drag
+  |  MouseRightDown   !Point !Modifiers -- ^ Mouse right button goes down
+  |  MouseRightUp     !Point !Modifiers -- ^ Mouse right  button goes up
+  |  MouseRightDClick !Point !Modifiers -- ^ Mouse right button double click
+  |  MouseRightDrag   !Point !Modifiers -- ^ Mouse right button drag (unsupported on most platforms)
+  |  MouseMiddleDown  !Point !Modifiers -- ^ Mouse middle button goes down
+  |  MouseMiddleUp    !Point !Modifiers -- ^ Mouse middle  button goes up
+  |  MouseMiddleDClick !Point !Modifiers -- ^ Mouse middle button double click
+  |  MouseMiddleDrag  !Point !Modifiers -- ^ Mouse middle button drag (unsupported on most platforms)
+  |  MouseWheel !Bool !Point !Modifiers -- ^ Mouse wheel rotation. (Bool is True for a downward rotation)
+  deriving (Eq) -- ,Show)
+
+
+instance Show EventMouse where
+  show mouse  = showMouse mouse
+
+-- | Show an 'EventMouse' in a user friendly way.
+showMouse :: EventMouse -> String
+showMouse mouse
+  = (if (null modsText) then "" else modsText ++ "+") ++ action ++ " at " ++ show (x,y)
+  where
+    modsText     = show (mouseModifiers mouse)
+    (Point x y)  = mousePos mouse
+    action
+      = case mouse of
+          MouseMotion _p _m       -> "Motion"
+          MouseEnter _p _m        -> "Enter"
+          MouseLeave _p _m        -> "Leave"
+          MouseLeftDown _p _m     -> "Left down"
+          MouseLeftUp _p _m       -> "Left up"
+          MouseLeftDClick _p _m   -> "Left double click"
+          MouseLeftDrag _p _m     -> "Left drag"
+          MouseRightDown _p _m    -> "Right down"
+          MouseRightUp _p _m      -> "Right up"
+          MouseRightDClick _p _m  -> "Right double click"
+          MouseRightDrag _p _m    -> "Right drag"
+          MouseMiddleDown _p _m   -> "Middle down"
+          MouseMiddleUp _p _m     -> "Middle up"
+          MouseMiddleDClick _p _m -> "Middle double click"
+          MouseMiddleDrag _p _m   -> "Middle drag"
+          MouseWheel down _p _m   -> "Wheel " ++ (if down then "down" else "up")
+
+
+-- | Extract the position from a 'MouseEvent'.
+mousePos :: EventMouse -> Point
+mousePos mouseEvent
+  = case mouseEvent of
+      MouseMotion p _m       -> p
+      MouseEnter p _m        -> p
+      MouseLeave p _m        -> p
+      MouseLeftDown p _m     -> p
+      MouseLeftUp p _m       -> p
+      MouseLeftDClick p _m   -> p
+      MouseLeftDrag p _m     -> p
+      MouseRightDown p _m    -> p
+      MouseRightUp p _m      -> p
+      MouseRightDClick p _m  -> p
+      MouseRightDrag p _m    -> p
+      MouseMiddleDown p _m   -> p
+      MouseMiddleUp p _m     -> p
+      MouseMiddleDClick p _m -> p
+      MouseMiddleDrag p _m   -> p
+      MouseWheel _ p _m      -> p
+
+-- | Extract the modifiers from a 'MouseEvent'.
+mouseModifiers :: EventMouse -> Modifiers
+mouseModifiers mouseEvent
+  = case mouseEvent of
+      MouseMotion _p m       -> m
+      MouseEnter _p m        -> m
+      MouseLeave _p m        -> m
+      MouseLeftDown _p m     -> m
+      MouseLeftUp _p m       -> m
+      MouseLeftDClick _p m   -> m
+      MouseLeftDrag _p m     -> m
+      MouseRightDown _p m    -> m
+      MouseRightUp _p m      -> m
+      MouseRightDClick _p m  -> m
+      MouseRightDrag _p m    -> m
+      MouseMiddleDown _p m   -> m
+      MouseMiddleUp _p m     -> m
+      MouseMiddleDClick _p m -> m
+      MouseMiddleDrag _p m   -> m
+      MouseWheel _ _p m      -> m
+
+fromMouseEvent :: MouseEvent a -> IO EventMouse
+fromMouseEvent event
+  = do x <- mouseEventGetX event
+       y <- mouseEventGetY event
+       obj   <- eventGetEventObject event
+       point' <- windowCalcUnscrolledPosition (objectCast obj) (Point x y)
+
+       altDown'     <- mouseEventAltDown event
+       controlDown' <- mouseEventControlDown event
+       shiftDown'   <- mouseEventShiftDown event
+       metaDown'    <- mouseEventMetaDown event
+       let modifiers = Modifiers altDown' shiftDown' controlDown' metaDown'
+
+       dragging    <- mouseEventDragging event
+       if (dragging)
+        then do leftDown <- mouseEventLeftIsDown event
+                if (leftDown)
+                 then return (MouseLeftDrag point' modifiers)
+                 else do middleDown <- mouseEventMiddleIsDown event
+                         if (middleDown)
+                          then return (MouseMiddleDrag point' modifiers)
+                          else do rightDown <- mouseEventRightIsDown event
+                                  if (rightDown)
+                                   then return (MouseRightDrag point' modifiers)
+                                   else return (MouseMotion point' modifiers)
+        else do tp <- eventGetEventType event
+                case lookup tp mouseEventTypes of
+                  Just mouse  -> return (mouse point' modifiers)
+                  Nothing     -> if (tp==wxEVT_MOUSEWHEEL)
+                                  then do rot   <- mouseEventGetWheelRotation event
+                                          delta <- mouseEventGetWheelDelta event
+                                          if (abs rot >= delta)
+                                           then return (MouseWheel (rot<0) point' modifiers)
+                                           else return (MouseMotion point' modifiers)
+                                  else return (MouseMotion point' modifiers)
+
+mouseEventTypes :: [(Int,Point -> Modifiers -> EventMouse)]
+mouseEventTypes
+  = [(wxEVT_MOTION       , MouseMotion)         -- must be the first element, see "windowOnMouse"
+    ,(wxEVT_ENTER_WINDOW , MouseEnter)
+    ,(wxEVT_LEAVE_WINDOW , MouseLeave)
+    ,(wxEVT_LEFT_DOWN    , MouseLeftDown)
+    ,(wxEVT_LEFT_UP      , MouseLeftUp)
+    ,(wxEVT_LEFT_DCLICK  , MouseLeftDClick)
+    ,(wxEVT_MIDDLE_DOWN  , MouseMiddleDown)
+    ,(wxEVT_MIDDLE_UP    , MouseMiddleUp)
+    ,(wxEVT_MIDDLE_DCLICK, MouseMiddleDClick)
+    ,(wxEVT_RIGHT_DOWN   , MouseRightDown)
+    ,(wxEVT_RIGHT_UP     , MouseRightUp)
+    ,(wxEVT_RIGHT_DCLICK , MouseRightDClick)
+    ]
+
+-- | Set a mouse event handler for a window. The first argument determines whether
+-- mouse motion events ('MouseMotion') are handled or not.
+windowOnMouse :: Window a -> Bool -> (EventMouse -> IO ()) -> IO ()
+windowOnMouse window allowMotion handler
+  = windowOnEvent window mouseEvents handler eventHandler
+  where
+    mouseEvents
+      = (map fst (if allowMotion then mouseEventTypes else tail (mouseEventTypes))) ++ [wxEVT_MOUSEWHEEL]
+
+    eventHandler event
+      = do eventMouse <- fromMouseEvent (objectCast event)
+           handler eventMouse
+
+-- | Get the current mouse event handler of a window.
+windowGetOnMouse :: Window a -> IO (EventMouse -> IO ())
+windowGetOnMouse window
+  = unsafeWindowGetHandlerState window wxEVT_ENTER_WINDOW (\_ev -> skipCurrentEvent)
+
+
+{-----------------------------------------------------------------------------------------
+  KeyboardEvent
+-----------------------------------------------------------------------------------------}
+-- | Set an event handler for untranslated key presses. If 'skipCurrentEvent' is not
+-- called, the corresponding 'windowOnKeyChar' eventhandler won't be called.
+windowOnKeyDown :: Window a -> (EventKey -> IO ()) -> IO ()
+windowOnKeyDown window handler
+  = windowOnEvent window [wxEVT_KEY_DOWN] handler eventHandler
+  where
+    eventHandler event
+      = do eventKey <- eventKeyFromEvent (objectCast event)
+           handler eventKey
+
+-- | Get the current key down handler of a window.
+windowGetOnKeyDown :: Window a -> IO (EventKey -> IO ())
+windowGetOnKeyDown window
+  = unsafeWindowGetHandlerState window wxEVT_KEY_DOWN (\_eventKey -> skipCurrentEvent)
+
+
+-- | Set an event handler for translated key presses.
+windowOnKeyChar :: Window a -> (EventKey -> IO ()) -> IO ()
+windowOnKeyChar window handler
+  = windowOnEvent window [wxEVT_CHAR] handler eventHandler
+  where
+    eventHandler event
+      = do eventKey <- eventKeyFromEvent (objectCast event)
+           handler eventKey
+
+-- | Get the current translated key handler of a window.
+windowGetOnKeyChar :: Window a -> IO (EventKey -> IO ())
+windowGetOnKeyChar window
+  = unsafeWindowGetHandlerState window wxEVT_CHAR (\_eventKey -> skipCurrentEvent)
+
+
+-- | Set an event handler for (untranslated) key releases.
+windowOnKeyUp :: Window a -> (EventKey -> IO ()) -> IO ()
+windowOnKeyUp window handler
+  = windowOnEvent window [wxEVT_KEY_UP] handler eventHandler
+  where
+    eventHandler event
+      = do eventKey <- eventKeyFromEvent (objectCast event)
+           handler eventKey
+
+-- | Get the current key release handler of a window.
+windowGetOnKeyUp :: Window a -> IO (EventKey -> IO ())
+windowGetOnKeyUp window
+  = unsafeWindowGetHandlerState window wxEVT_KEY_UP (\_keyInfo -> skipCurrentEvent)
+
+
+eventKeyFromEvent :: KeyEvent a -> IO EventKey
+eventKeyFromEvent event
+  = do x <- keyEventGetX event
+       y <- keyEventGetY event
+       obj    <- eventGetEventObject event
+       point' <- if objectIsNull obj
+                 then return (Point x y)
+                 else windowCalcUnscrolledPosition (objectCast obj) (Point x y)
+
+       altDown'     <- keyEventAltDown event
+       controlDown' <- keyEventControlDown event
+       shiftDown'   <- keyEventShiftDown event
+       metaDown'    <- keyEventMetaDown event
+       let modifiers = Modifiers altDown' shiftDown' controlDown' metaDown'
+
+       keyCode <- keyEventGetKeyCode event
+       let key = keyCodeToKey keyCode
+
+       return (EventKey key modifiers point')
+
+
+
+-- | A keyboard event contains the key, the modifiers and the focus point.
+data EventKey  = EventKey !Key !Modifiers !Point
+               deriving (Eq,Show)
+
+-- | Extract the key from a keyboard event.
+keyKey :: EventKey -> Key
+keyKey (EventKey key _mods _pos) = key
+
+-- | Extract the modifiers from a keyboard event.
+keyModifiers :: EventKey -> Modifiers
+keyModifiers (EventKey _key mods _pos) = mods
+
+-- | Extract the position from a keyboard event.
+keyPos :: EventKey -> Point
+keyPos (EventKey _key _mods pos) = pos
+
+
+-- | A low-level virtual key code.
+type KeyCode  = Int
+
+-- | A 'Key' represents a single key on a keyboard.
+data Key
+  = KeyChar  !Char        -- ^ An ascii code.
+  | KeyOther !KeyCode     -- ^ An unknown virtual key.
+  | KeyBack
+  | KeyTab
+  | KeyReturn
+  | KeyEscape
+  | KeySpace
+  | KeyDelete
+  | KeyInsert
+  | KeyEnd
+  | KeyHome
+  | KeyLeft
+  | KeyUp
+  | KeyRight
+  | KeyDown
+  | KeyPageUp
+  | KeyPageDown
+  | KeyStart
+  | KeyClear
+  | KeyShift
+  | KeyAlt
+  | KeyControl
+  | KeyMenu
+  | KeyPause
+  | KeyCapital
+  | KeyHelp
+  | KeySelect
+  | KeyPrint
+  | KeyExecute
+  | KeySnapshot
+  | KeyCancel
+  | KeyLeftButton
+  | KeyRightButton
+  | KeyMiddleButton
+  | KeyNum0
+  | KeyNum1
+  | KeyNum2
+  | KeyNum3
+  | KeyNum4
+  | KeyNum5
+  | KeyNum6
+  | KeyNum7
+  | KeyNum8
+  | KeyNum9
+  | KeyMultiply
+  | KeyAdd
+  | KeySeparator
+  | KeySubtract
+  | KeyDecimal
+  | KeyDivide
+  | KeyF1
+  | KeyF2
+  | KeyF3
+  | KeyF4
+  | KeyF5
+  | KeyF6
+  | KeyF7
+  | KeyF8
+  | KeyF9
+  | KeyF10
+  | KeyF11
+  | KeyF12
+  | KeyF13
+  | KeyF14
+  | KeyF15
+  | KeyF16
+  | KeyF17
+  | KeyF18
+  | KeyF19
+  | KeyF20
+  | KeyF21
+  | KeyF22
+  | KeyF23
+  | KeyF24
+  | KeyNumLock
+  | KeyScroll
+{- Note: If we add "deriving (Show)" we get a strange link error in ghci:
+    Loading package wxh ... linking ... Overflown relocs: 122
+-}
+  deriving (Eq)
+
+{-
+  | KeyNumSpace
+  | KeyNumTab
+  | KeyNumEnter
+  | KeyNumF1
+  | KeyNumF2
+  | KeyNumF3
+  | KeyNumF4
+  | KeyNumHome
+  | KeyNumLeft
+  | KeyNumUp
+  | KeyNumRight
+  | KeyNumDown
+  | KeyNumPageUp
+  | KeyNumPageDown
+  | KeyNumEnd
+  | KeyNumBegin
+  | KeyNumInsert
+  | KeyNumDelete
+  | KeyNumEqual
+  | KeyNumMultiply
+  | KeyNumAdd
+  | KeyNumSeparator
+  | KeyNumSubstract
+  | KeyNumDecimal
+  | KeyNumSubstract
+-}
+
+-- | From a key to a virtual key code.
+keyToKeyCode :: Key -> KeyCode
+keyToKeyCode key
+  = case key of
+      KeyChar c       -> fromEnum c
+      KeyOther code   -> code
+      KeyBack         -> wxK_BACK
+      KeyTab          -> wxK_TAB
+      KeyReturn       -> wxK_RETURN
+      KeyEscape       -> wxK_ESCAPE
+      KeySpace        -> wxK_SPACE
+      KeyDelete       -> wxK_DELETE
+      KeyInsert       -> wxK_INSERT
+      KeyEnd          -> wxK_END
+      KeyHome         -> wxK_HOME
+      KeyLeft         -> wxK_LEFT
+      KeyUp           -> wxK_UP
+      KeyRight        -> wxK_RIGHT
+      KeyDown         -> wxK_DOWN
+      KeyPageUp       -> wxK_PAGEUP
+      KeyPageDown     -> wxK_PAGEDOWN
+      KeyStart        -> wxK_START
+      KeyClear        -> wxK_CLEAR
+      KeyShift        -> wxK_SHIFT
+      KeyAlt          -> wxK_ALT
+      KeyControl      -> wxK_CONTROL
+      KeyMenu         -> wxK_MENU
+      KeyPause        -> wxK_PAUSE
+      KeyCapital      -> wxK_CAPITAL
+      KeyHelp         -> wxK_HELP
+      KeySelect       -> wxK_SELECT
+      KeyPrint        -> wxK_PRINT
+      KeyExecute      -> wxK_EXECUTE
+      KeySnapshot     -> wxK_SNAPSHOT
+      KeyCancel       -> wxK_CANCEL
+      KeyLeftButton   -> wxK_LBUTTON
+      KeyRightButton  -> wxK_RBUTTON
+      KeyMiddleButton -> wxK_MBUTTON
+      KeyNum0         -> wxK_NUMPAD0
+      KeyNum1         -> wxK_NUMPAD1
+      KeyNum2         -> wxK_NUMPAD2
+      KeyNum3         -> wxK_NUMPAD3
+      KeyNum4         -> wxK_NUMPAD4
+      KeyNum5         -> wxK_NUMPAD5
+      KeyNum6         -> wxK_NUMPAD6
+      KeyNum7         -> wxK_NUMPAD7
+      KeyNum8         -> wxK_NUMPAD8
+      KeyNum9         -> wxK_NUMPAD9
+      KeyMultiply     -> wxK_MULTIPLY
+      KeyAdd          -> wxK_ADD
+      KeySeparator    -> wxK_SEPARATOR
+      KeySubtract     -> wxK_SUBTRACT
+      KeyDecimal      -> wxK_DECIMAL
+      KeyDivide       -> wxK_DIVIDE
+      KeyF1           -> wxK_F1
+      KeyF2           -> wxK_F2
+      KeyF3           -> wxK_F3
+      KeyF4           -> wxK_F4
+      KeyF5           -> wxK_F5
+      KeyF6           -> wxK_F6
+      KeyF7           -> wxK_F7
+      KeyF8           -> wxK_F8
+      KeyF9           -> wxK_F9
+      KeyF10          -> wxK_F10
+      KeyF11          -> wxK_F11
+      KeyF12          -> wxK_F12
+      KeyF13          -> wxK_F13
+      KeyF14          -> wxK_F14
+      KeyF15          -> wxK_F15
+      KeyF16          -> wxK_F16
+      KeyF17          -> wxK_F17
+      KeyF18          -> wxK_F18
+      KeyF19          -> wxK_F19
+      KeyF20          -> wxK_F20
+      KeyF21          -> wxK_F21
+      KeyF22          -> wxK_F22
+      KeyF23          -> wxK_F23
+      KeyF24          -> wxK_F24
+      KeyNumLock      -> wxK_NUMLOCK
+      KeyScroll       -> wxK_SCROLL
+
+-- | A virtual key code to a key.
+keyCodeToKey :: KeyCode -> Key
+keyCodeToKey keyCode
+  = if (keyCode < wxK_DELETE && keyCode > wxK_SPACE)     -- optimize for the common case
+     then KeyChar (toEnum keyCode)
+     else case IntMap.lookup keyCode keyCodeMap of
+            Just key -> key
+            Nothing  | keyCode <= 255  -> KeyChar (toEnum keyCode)
+                     | otherwise       -> KeyOther keyCode
+
+-- Use a big-endian patricia tree to efficiently map key codes to Haskell keys.
+-- Since it is a static map, we could maybe use one of Knuth's optimally balanced
+-- trees....
+keyCodeMap :: IntMap.IntMap Key
+keyCodeMap
+  = IntMap.fromList
+    [(wxK_BACK         , KeyBack)
+    ,(wxK_TAB          , KeyTab)
+    ,(wxK_RETURN       , KeyReturn)
+    ,(wxK_ESCAPE       , KeyEscape)
+    ,(wxK_SPACE        , KeySpace)
+    ,(wxK_DELETE       , KeyDelete)
+    ,(wxK_INSERT       , KeyInsert)
+    ,(wxK_END          , KeyEnd)
+    ,(wxK_HOME         , KeyHome)
+    ,(wxK_LEFT         , KeyLeft)
+    ,(wxK_UP           , KeyUp)
+    ,(wxK_RIGHT        , KeyRight)
+    ,(wxK_DOWN         , KeyDown)
+    ,(wxK_PAGEUP       , KeyPageUp)
+    ,(wxK_PAGEDOWN     , KeyPageDown)
+    ,(wxK_START        , KeyStart)
+    ,(wxK_CLEAR        , KeyClear)
+    ,(wxK_SHIFT        , KeyShift)
+    ,(wxK_ALT          , KeyAlt)
+    ,(wxK_CONTROL      , KeyControl)
+    ,(wxK_MENU         , KeyMenu)
+    ,(wxK_PAUSE        , KeyPause)
+    ,(wxK_CAPITAL      , KeyCapital)
+    ,(wxK_HELP         , KeyHelp)
+    ,(wxK_SELECT       , KeySelect)
+    ,(wxK_PRINT        , KeyPrint)
+    ,(wxK_EXECUTE      , KeyExecute)
+    ,(wxK_SNAPSHOT     , KeySnapshot)
+    ,(wxK_CANCEL       , KeyCancel)
+    ,(wxK_LBUTTON      , KeyLeftButton)
+    ,(wxK_RBUTTON      , KeyRightButton)
+    ,(wxK_MBUTTON      , KeyMiddleButton)
+    ,(wxK_NUMPAD0      , KeyNum0)
+    ,(wxK_NUMPAD1      , KeyNum1)
+    ,(wxK_NUMPAD2      , KeyNum2)
+    ,(wxK_NUMPAD3      , KeyNum3)
+    ,(wxK_NUMPAD4      , KeyNum4)
+    ,(wxK_NUMPAD5      , KeyNum5)
+    ,(wxK_NUMPAD6      , KeyNum6)
+    ,(wxK_NUMPAD7      , KeyNum7)
+    ,(wxK_NUMPAD8      , KeyNum8)
+    ,(wxK_NUMPAD9      , KeyNum9)
+    ,(wxK_MULTIPLY     , KeyMultiply)
+    ,(wxK_ADD          , KeyAdd)
+    ,(wxK_SEPARATOR    , KeySeparator)
+    ,(wxK_SUBTRACT     , KeySubtract)
+    ,(wxK_DECIMAL      , KeyDecimal)
+    ,(wxK_DIVIDE       , KeyDivide)
+    ,(wxK_F1           , KeyF1)
+    ,(wxK_F2           , KeyF2)
+    ,(wxK_F3           , KeyF3)
+    ,(wxK_F4           , KeyF4)
+    ,(wxK_F5           , KeyF5)
+    ,(wxK_F6           , KeyF6)
+    ,(wxK_F7           , KeyF7)
+    ,(wxK_F8           , KeyF8)
+    ,(wxK_F9           , KeyF9)
+    ,(wxK_F10          , KeyF10)
+    ,(wxK_F11          , KeyF11)
+    ,(wxK_F12          , KeyF12)
+    ,(wxK_F13          , KeyF13)
+    ,(wxK_F14          , KeyF14)
+    ,(wxK_F15          , KeyF15)
+    ,(wxK_F16          , KeyF16)
+    ,(wxK_F17          , KeyF17)
+    ,(wxK_F18          , KeyF18)
+    ,(wxK_F19          , KeyF19)
+    ,(wxK_F20          , KeyF20)
+    ,(wxK_F21          , KeyF21)
+    ,(wxK_F22          , KeyF22)
+    ,(wxK_F23          , KeyF23)
+    ,(wxK_F24          , KeyF24)
+    ,(wxK_NUMLOCK      , KeyNumLock)
+    ,(wxK_SCROLL       , KeyScroll)
+    -- translate with loss of information
+    ,(wxK_NUMPAD_SPACE , KeySpace)
+    ,(wxK_NUMPAD_TAB   , KeyTab)
+    ,(wxK_NUMPAD_ENTER , KeyReturn)
+    ,(wxK_NUMPAD_F1    , KeyF1)
+    ,(wxK_NUMPAD_F2    , KeyF2)
+    ,(wxK_NUMPAD_F3    , KeyF3)
+    ,(wxK_NUMPAD_F4    , KeyF4)
+    ,(wxK_NUMPAD_HOME  , KeyHome)
+    ,(wxK_NUMPAD_LEFT  , KeyLeft)
+    ,(wxK_NUMPAD_UP    , KeyUp)
+    ,(wxK_NUMPAD_RIGHT , KeyRight)
+    ,(wxK_NUMPAD_DOWN  , KeyDown)
+    ,(wxK_NUMPAD_PAGEUP   , KeyPageUp)
+    ,(wxK_NUMPAD_PAGEDOWN , KeyPageDown)
+    ,(wxK_NUMPAD_END      , KeyEnd)
+--            ,(wxK_NUMPAD_BEGIN    , KeyBegin)
+    ,(wxK_NUMPAD_INSERT   , KeyInsert)
+    ,(wxK_NUMPAD_DELETE   , KeyDelete)
+--            ,(wxK_NUMPAD_EQUAL    , KeyEqual)
+    ,(wxK_NUMPAD_MULTIPLY , KeyMultiply)
+    ,(wxK_NUMPAD_ADD      , KeyAdd)
+    ,(wxK_NUMPAD_SEPARATOR  , KeySeparator)
+    ,(wxK_NUMPAD_SUBTRACT   , KeySubtract)
+    ,(wxK_NUMPAD_DECIMAL    , KeyDecimal)
+    ,(wxK_NUMPAD_DIVIDE     , KeyDivide)
+    ]
+
+
+instance Show Key where
+  show k  = showKey k
+
+-- | Show a key\/modifiers combination, for example for use in menus.
+showKeyModifiers :: Key -> Modifiers -> String
+showKeyModifiers key mods
+  | null modsText = show key
+  | otherwise     = modsText ++ "+" ++ show key
+  where
+    modsText = show mods
+
+-- | Show a key for use in menus for example.
+showKey :: Key -> String
+showKey key
+  = case key of
+      KeyChar c       -> [c]
+      KeyOther code   -> "[" ++ show code ++ "]"
+      KeyBack         -> "Backspace"
+      KeyTab          -> "Tab"
+      KeyReturn       -> "Enter"
+      KeyEscape       -> "Esc"
+      KeySpace        -> "Space"
+      KeyDelete       -> "Delete"
+      KeyInsert       -> "Insert"
+      KeyEnd          -> "End"
+      KeyHome         -> "Home"
+      KeyLeft         -> "Left"
+      KeyUp           -> "Up"
+      KeyRight        -> "Right"
+      KeyDown         -> "Down"
+      KeyPageUp       -> "PgUp"
+      KeyPageDown     -> "PgDn"
+      KeyStart        -> "Start"
+      KeyClear        -> "Clear"
+      KeyShift        -> "Shift"
+      KeyAlt          -> "Alt"
+      KeyControl      -> "Ctrl"
+      KeyMenu         -> "Menu"
+      KeyPause        -> "Pause"
+      KeyCapital      -> "Capital"
+      KeyHelp         -> "Help"
+      KeySelect       -> "Select"
+      KeyPrint        -> "Print"
+      KeyExecute      -> "Execute"
+      KeySnapshot     -> "Snapshot"
+      KeyCancel       -> "Cancel"
+      KeyLeftButton   -> "Left Button"
+      KeyRightButton  -> "Right Button"
+      KeyMiddleButton -> "Middle Button"
+      KeyNum0         -> "Num 0"
+      KeyNum1         -> "Num 1"
+      KeyNum2         -> "Num 2"
+      KeyNum3         -> "Num 3"
+      KeyNum4         -> "Num 4"
+      KeyNum5         -> "Num 5"
+      KeyNum6         -> "Num 6"
+      KeyNum7         -> "Num 7"
+      KeyNum8         -> "Num 8"
+      KeyNum9         -> "Num 9"
+      KeyMultiply     -> "Num *"
+      KeyAdd          -> "Num +"
+      KeySeparator    -> "Num Separator"
+      KeySubtract     -> "Num -"
+      KeyDecimal      -> "Num ."
+      KeyDivide       -> "Num /"
+      KeyF1           -> "F1"
+      KeyF2           -> "F2"
+      KeyF3           -> "F3"
+      KeyF4           -> "F4"
+      KeyF5           -> "F5"
+      KeyF6           -> "F6"
+      KeyF7           -> "F7"
+      KeyF8           -> "F8"
+      KeyF9           -> "F9"
+      KeyF10          -> "F10"
+      KeyF11          -> "F11"
+      KeyF12          -> "F12"
+      KeyF13          -> "F13"
+      KeyF14          -> "F14"
+      KeyF15          -> "F15"
+      KeyF16          -> "F16"
+      KeyF17          -> "F17"
+      KeyF18          -> "F18"
+      KeyF19          -> "F19"
+      KeyF20          -> "F20"
+      KeyF21          -> "F21"
+      KeyF22          -> "F22"
+      KeyF23          -> "F23"
+      KeyF24          -> "F24"
+      KeyNumLock      -> "Numlock"
+      KeyScroll       -> "Scroll"
+
+{-----------------------------------------------------------------------------------------
+  Drag and Drop events
+-----------------------------------------------------------------------------------------}
+-- | Drag results
+data DragResult
+    = DragError
+    | DragNone
+    | DragCopy
+    | DragMove
+    | DragLink
+    | DragCancel
+    | DragUnknown
+   deriving (Eq,Show)
+
+dragResults :: [(Int, DragResult)]
+dragResults
+    = [(wxDRAG_ERROR   ,DragError)
+      ,(wxDRAG_NONE    ,DragNone)
+      ,(wxDRAG_COPY    ,DragCopy)
+      ,(wxDRAG_MOVE    ,DragMove)
+      ,(wxDRAG_LINK    ,DragLink)
+      ,(wxDRAG_CANCEL  ,DragCancel)]
+
+fromDragResult :: DragResult -> Int
+fromDragResult drag
+  = case drag of
+      DragError   -> wxDRAG_ERROR
+      DragNone    -> wxDRAG_NONE
+      DragCopy    -> wxDRAG_COPY
+      DragMove    -> wxDRAG_MOVE
+      DragLink    -> wxDRAG_LINK
+      DragCancel  -> wxDRAG_CANCEL
+      DragUnknown -> wxDRAG_ERROR
+
+toDragResult :: Int -> DragResult
+toDragResult drag
+ = case lookup drag dragResults of
+      Just x -> x
+      Nothing -> DragError
+
+-- | Set an event handler that is called when the drop target can be filled with data.
+-- This function require to use 'dropTargetGetData' in your event handler to fill data.
+dropTargetOnData :: DropTarget a -> (Point -> DragResult -> IO DragResult) -> IO ()
+dropTargetOnData drop' event = do
+    funPtr <- dragThreeFuncHandler event
+    wxcDropTargetSetOnData (objectCast drop') (toCFunPtr funPtr)
+
+-- | Set an event handler for an drop' command in a drop' target.
+dropTargetOnDrop :: DropTarget a -> (Point -> IO Bool) -> IO ()
+dropTargetOnDrop drop' event = do
+    funPtr <- dragTwoFuncHandler event
+    wxcDropTargetSetOnDrop (objectCast drop') (toCFunPtr funPtr)
+
+-- | Set an event handler for an enter command in a drop' target.
+dropTargetOnEnter :: DropTarget a -> (Point -> DragResult -> IO DragResult) -> IO ()
+dropTargetOnEnter drop' event = do
+    funPtr <- dragThreeFuncHandler event
+    wxcDropTargetSetOnEnter (objectCast drop') (toCFunPtr funPtr)
+
+-- | Set an event handler for a drag over command in a drop' target.
+dropTargetOnDragOver :: DropTarget a -> (Point -> DragResult -> IO DragResult) -> IO ()
+dropTargetOnDragOver drop' event = do
+    funPtr <- dragThreeFuncHandler event
+    wxcDropTargetSetOnDragOver (objectCast drop') (toCFunPtr funPtr)
+
+-- | Set an event handler for a leave command in a drop' target.
+dropTargetOnLeave :: DropTarget a -> (IO ()) -> IO ()
+dropTargetOnLeave drop' event = do
+    funPtr <- dragZeroFuncHandler event
+    wxcDropTargetSetOnLeave (objectCast drop') (toCFunPtr funPtr)
+
+dragZeroFuncHandler :: IO () -> IO (FunPtr (Ptr obj -> IO ()))
+dragZeroFuncHandler event =
+    dragZeroFunc $ \_obj -> do
+    event
+
+dragTwoFuncHandler :: Num a 
+                   => (Point2 a -> IO Bool)
+                   -> IO (FunPtr (Ptr obj -> CInt -> CInt -> IO CInt))
+dragTwoFuncHandler event =
+    dragTwoFunc $ \_obj x y -> do
+    result   <- event (point (fromIntegral x) (fromIntegral y))
+    return $ fromBool result
+
+dragThreeFuncHandler :: Num a 
+                     => (Point2 a 
+                     -> DragResult 
+                     -> IO DragResult)
+                     -> IO (FunPtr (Ptr obj -> CInt -> CInt -> CInt -> IO CInt))
+dragThreeFuncHandler event =
+    dragThreeFunc $ \_obj x y pre -> do
+    result <- event (point (fromIntegral x) (fromIntegral y)) (toDragResult $ fromIntegral pre)
+    return $ fromIntegral $ fromDragResult result
+
+-- | Set an event handler for a drag & drop command between drag source window and drop
+-- target. You must set 'dropTarget' before use this action.
+-- And If you use 'fileDropTarget' or 'textDropTarget', you need not use this.
+dragAndDrop :: DropSource a -> DragMode -> (DragResult -> IO ()) -> IO ()
+dragAndDrop drSrc flag event = do
+    result <- dropSourceDoDragDrop drSrc (fromDragMode flag)
+    case lookup result dragResults of
+      Just x -> event x
+      Nothing -> return ()
+
+-- | Set an event handler that is called when text is dropped in target window.
+textDropTarget :: Window a -> TextDataObject b -> (Point -> String -> IO ()) -> IO ()
+textDropTarget window textData event = do
+    funPtr <- dropTextHandler event
+    textDrop <- wxcTextDropTargetCreate nullPtr (toCFunPtr funPtr)
+    dropTargetSetDataObject textDrop textData
+    windowSetDropTarget window textDrop
+
+dropTextHandler :: Num a
+                =>(Point2 a -> String -> IO ())
+                -> IO (FunPtr
+                        (Ptr obj -> CInt -> CInt -> Ptr CWchar -> IO ())
+                      )
+dropTextHandler event =
+    wrapTextDropHandler $ \_obj x y cstr -> do
+    str <- peekCWString cstr
+    event (point (fromIntegral x) (fromIntegral y)) str
+
+-- | Set an event handler that is called when files are dropped in target window.
+fileDropTarget :: Window a -> (Point -> [String] -> IO ()) -> IO ()
+fileDropTarget window event = do
+    funPtr <- dropFileHandler event
+    fileDrop <- wxcFileDropTargetCreate nullPtr (toCFunPtr funPtr)
+    windowSetDropTarget window fileDrop
+
+dropFileHandler :: Num a
+                => (Point2 a -> [String] -> IO ())
+                -> IO (FunPtr
+                        (Ptr obj -> CInt -> CInt -> Ptr (Ptr CWchar) -> CInt -> IO ())
+                      )
+dropFileHandler event =
+    wrapFileDropHandler $ \_obj x y carr size -> do
+    arr <- peekArray (fromIntegral size) carr
+    files <- mapM peekCWString arr
+    event (point (fromIntegral x) (fromIntegral y)) files
+
+data DragMode = CopyOnly | AllowMove | Default
+              deriving (Eq,Show)
+              -- deriving (Eq,Show,Read,Typeable)
+
+fromDragMode :: DragMode -> Int
+fromDragMode mode
+  = case mode of
+      CopyOnly  -> wxDRAG_COPYONLY
+      AllowMove -> wxDRAG_ALLOWMOVE
+      Default   -> wxDRAG_DEFALUTMOVE
+
+foreign import ccall "wrapper" dragZeroFunc :: (Ptr obj -> IO ()) -> IO (FunPtr (Ptr obj -> IO ()))
+foreign import ccall "wrapper" dragTwoFunc :: (Ptr obj -> CInt -> CInt -> IO CInt) -> IO (FunPtr (Ptr obj -> CInt -> CInt -> IO CInt))
+foreign import ccall "wrapper" dragThreeFunc :: (Ptr obj -> CInt -> CInt -> CInt -> IO CInt) -> IO (FunPtr (Ptr obj -> CInt -> CInt -> CInt -> IO CInt))
+foreign import ccall "wrapper" wrapTextDropHandler :: (Ptr obj -> CInt -> CInt -> Ptr CWchar -> IO ()) -> IO (FunPtr (Ptr obj -> CInt -> CInt -> Ptr CWchar -> IO ()))
+foreign import ccall "wrapper" wrapFileDropHandler :: (Ptr obj -> CInt -> CInt -> Ptr (Ptr CWchar) -> CInt -> IO ()) -> IO (FunPtr (Ptr obj -> CInt -> CInt -> Ptr (Ptr CWchar) -> CInt -> IO ()))
+
+{-----------------------------------------------------------------------------------------
+  Grid events
+-----------------------------------------------------------------------------------------}
+type Column     = Int
+type Row        = Int
+
+-- | Grid events. 
+data EventGrid  = GridCellMouse        !Row !Column !EventMouse
+                | GridLabelMouse       !Row !Column !EventMouse
+                | GridCellChange       !Row !Column !(IO ())
+                | GridCellSelect       !Row !Column !(IO ())
+                | GridCellDeSelect     !Row !Column !(IO ())
+                | GridEditorHidden     !Row !Column !(IO ())
+                | GridEditorShown      !Row !Column !(IO ())
+                | GridEditorCreated    !Row !Column (IO (Control ())) 
+                | GridColSize          !Column !Point !Modifiers (IO ())
+                | GridRowSize          !Row !Point !Modifiers (IO ())
+                | GridRangeSelect      !Row !Column !Row !Column !Rect !Modifiers !(IO ())
+                | GridRangeDeSelect    !Row !Column !Row !Column !Rect !Modifiers !(IO ())
+                | GridUnknown          !Row !Column !Int
+
+fromGridEvent :: GridEvent a -> IO EventGrid
+fromGridEvent gridEvent
+  = do tp  <- eventGetEventType gridEvent
+       row <- gridEventGetRow gridEvent
+       col <- gridEventGetCol gridEvent
+       case lookup tp gridEvents of
+         Just make  -> make gridEvent row col 
+         Nothing    -> return (GridUnknown row col tp)
+
+gridEvents :: [(Int, GridEvent a -> Int -> Int -> IO EventGrid)]
+gridEvents
+  = [(wxEVT_GRID_CELL_LEFT_CLICK,    gridMouse GridCellMouse MouseLeftDown)
+    ,(wxEVT_GRID_CELL_LEFT_DCLICK,   gridMouse GridCellMouse MouseLeftDClick)
+    ,(wxEVT_GRID_CELL_RIGHT_CLICK,   gridMouse GridCellMouse MouseRightDown)
+    ,(wxEVT_GRID_CELL_RIGHT_DCLICK,  gridMouse GridCellMouse MouseRightDClick)
+    ,(wxEVT_GRID_LABEL_LEFT_CLICK,   gridMouse GridLabelMouse MouseLeftDown)
+    ,(wxEVT_GRID_LABEL_LEFT_DCLICK,  gridMouse GridLabelMouse MouseLeftDClick)
+    ,(wxEVT_GRID_LABEL_RIGHT_CLICK,  gridMouse GridLabelMouse MouseRightDown)
+    ,(wxEVT_GRID_LABEL_RIGHT_DCLICK, gridMouse GridLabelMouse MouseRightDClick)
+    ,(wxEVT_GRID_SELECT_CELL,        gridSelect)
+    ,(wxEVT_GRID_EDITOR_SHOWN,       gridVeto GridEditorShown)
+    ,(wxEVT_GRID_EDITOR_HIDDEN,      gridVeto GridEditorHidden)
+    ]
+  where
+    gridMouse make makeMouse gridEvent row col
+      = do pt'          <- gridEventGetPosition gridEvent
+           altDown'     <- gridEventAltDown gridEvent
+           controlDown' <- gridEventControlDown gridEvent
+           shiftDown'   <- gridEventShiftDown gridEvent
+           metaDown'    <- gridEventMetaDown gridEvent
+           let modifiers = Modifiers altDown' shiftDown' controlDown' metaDown'
+           return (make row col (makeMouse pt' modifiers))
+
+    gridVeto make gridEvent row col
+      = return (make row col (notifyEventVeto gridEvent))
+
+    gridSelect gridEvent row col
+      = do selecting <- gridEventSelecting gridEvent
+           if selecting
+            then return (GridCellSelect row col (notifyEventVeto gridEvent))
+            else return (GridCellDeSelect row col (notifyEventVeto gridEvent))
+
+
+
+
+-- | Set a grid event handler.
+gridOnGridEvent :: Grid a -> (EventGrid -> IO ()) -> IO ()
+gridOnGridEvent grid eventHandler
+  = windowOnEvent grid (map fst gridEvents) eventHandler gridHandler
+  where
+    gridHandler event
+      = do eventGrid <- fromGridEvent (objectCast event)
+           eventHandler eventGrid
+
+-- | Get the current grid event handler of a window.
+gridGetOnGridEvent :: Grid a -> IO (EventGrid -> IO ())
+gridGetOnGridEvent grid
+  = unsafeWindowGetHandlerState grid wxEVT_GRID_CELL_CHANGED (\_event -> skipCurrentEvent)
+
+
+{-----------------------------------------------------------------------------------------
+  TreeCtrl events
+-----------------------------------------------------------------------------------------}
+-- | Tree control events
+data EventTree  = TreeBeginRDrag      TreeItem  !Point  (IO ()) -- ^ Drag with right button. Call @IO@ action to continue dragging.
+                | TreeBeginDrag       TreeItem  !Point  (IO ())
+                | TreeEndDrag         TreeItem  !Point
+                | TreeBeginLabelEdit  TreeItem  String  (IO ())     -- ^ Edit a label. Call @IO@ argument to disallow the edit.
+                | TreeEndLabelEdit    TreeItem  String Bool  (IO ()) -- ^ End edit. @Bool@ is 'True' when the edit was cancelled. Call the @IO@ argument to veto the action.
+                | TreeDeleteItem      TreeItem  
+                | TreeItemActivated   TreeItem  
+                | TreeItemCollapsed   TreeItem  
+                | TreeItemCollapsing  TreeItem  (IO ())          -- ^ Call the @IO@ argument to veto.       
+                | TreeItemExpanding   TreeItem  (IO ())          -- ^ Call the @IO@ argument to veto.
+                | TreeItemExpanded    TreeItem  
+                | TreeItemRightClick  TreeItem  
+                | TreeItemMiddleClick TreeItem  
+                | TreeSelChanged      TreeItem  TreeItem  
+                | TreeSelChanging     TreeItem  TreeItem  (IO ()) -- ^ Call the @IO@ argument to veto.
+                | TreeKeyDown         TreeItem  EventKey
+                | TreeUnknown
+
+fromTreeEvent :: TreeEvent a -> IO EventTree
+fromTreeEvent treeEvent
+  = do tp   <- eventGetEventType treeEvent
+       item <- treeEventGetItem treeEvent
+       case lookup tp treeEvents of
+         Just make   -> make treeEvent item
+         Nothing     -> return TreeUnknown
+        
+treeEvents :: [(Int,TreeEvent a -> TreeItem -> IO EventTree)]
+treeEvents 
+  = [(wxEVT_COMMAND_TREE_DELETE_ITEM,       fromItemEvent TreeDeleteItem)
+    ,(wxEVT_COMMAND_TREE_ITEM_ACTIVATED,    fromItemEvent TreeItemActivated)
+    ,(wxEVT_COMMAND_TREE_ITEM_COLLAPSED,    fromItemEvent TreeItemCollapsed)
+    ,(wxEVT_COMMAND_TREE_ITEM_EXPANDED,     fromItemEvent TreeItemExpanded)
+    ,(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK,  fromItemEvent TreeItemRightClick)
+    ,(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK, fromItemEvent TreeItemMiddleClick)
+    ,(wxEVT_COMMAND_TREE_ITEM_COLLAPSING,   withVeto (fromItemEvent TreeItemCollapsing))
+    ,(wxEVT_COMMAND_TREE_ITEM_EXPANDING,    withVeto (fromItemEvent TreeItemExpanding))
+    ,(wxEVT_COMMAND_TREE_KEY_DOWN,          fromKeyDownEvent )
+    ,(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT,  fromBeginLabelEditEvent )
+    ,(wxEVT_COMMAND_TREE_END_LABEL_EDIT,    fromEndLabelEditEvent )
+    ,(wxEVT_COMMAND_TREE_BEGIN_DRAG,        withAllow (fromDragEvent TreeBeginDrag))
+    ,(wxEVT_COMMAND_TREE_BEGIN_RDRAG,       withAllow (fromDragEvent TreeBeginRDrag))
+    ,(wxEVT_COMMAND_TREE_END_DRAG,          fromDragEvent TreeEndDrag)
+    ,(wxEVT_COMMAND_TREE_SEL_CHANGED,       fromChangeEvent TreeSelChanged)
+    ,(wxEVT_COMMAND_TREE_SEL_CHANGING,      withVeto (fromChangeEvent TreeSelChanging))
+    ]
+  where
+    fromKeyDownEvent treeEvent item
+      = do keyEvent <- treeEventGetKeyEvent treeEvent
+           eventKey <- eventKeyFromEvent keyEvent
+           return (TreeKeyDown item eventKey)
+
+    fromBeginLabelEditEvent treeEvent item
+      = do lab <- treeEventGetLabel treeEvent
+           return (TreeBeginLabelEdit item lab (notifyEventVeto treeEvent))
+                  
+    fromEndLabelEditEvent treeEvent item
+      = do lab <- treeEventGetLabel treeEvent
+           can <- treeEventIsEditCancelled treeEvent
+           return (TreeEndLabelEdit item lab can (notifyEventVeto treeEvent))
+
+    fromDragEvent make treeEvent item
+      = do pt' <- treeEventGetPoint treeEvent
+           return (make item pt')
+
+    fromChangeEvent make treeEvent item
+      = do olditem <- treeEventGetOldItem treeEvent
+           return (make item olditem)
+    
+    withAllow make treeEvent item
+      = do f <- make treeEvent item
+           return (f (treeEventAllow treeEvent))
+
+    withVeto make treeEvent item
+      = do f <- make treeEvent item
+           return (f (notifyEventVeto treeEvent))
+
+    fromItemEvent make _treeEvent item
+      = return (make item)
+
+
+
+-- | Set a tree event handler.
+treeCtrlOnTreeEvent :: TreeCtrl a -> (EventTree -> IO ()) -> IO ()
+treeCtrlOnTreeEvent treeCtrl eventHandler
+  = windowOnEvent treeCtrl (map fst treeEvents) eventHandler treeHandler
+  where
+    treeHandler event
+      = do eventTree <- fromTreeEvent (objectCast event)
+           eventHandler eventTree
+
+-- | Get the current tree event handler of a window.
+treeCtrlGetOnTreeEvent :: TreeCtrl a -> IO (EventTree -> IO ())
+treeCtrlGetOnTreeEvent treeCtrl
+  = unsafeWindowGetHandlerState treeCtrl wxEVT_COMMAND_TREE_ITEM_ACTIVATED (\_event -> skipCurrentEvent)
+
+
+{-----------------------------------------------------------------------------------------
+  ListCtrl events
+-----------------------------------------------------------------------------------------}
+-- | Type synonym for documentation purposes.
+type ListIndex  = Int
+
+-- | List control events.
+data EventList  = ListBeginDrag       !ListIndex !Point (IO ()) -- ^ Drag with left mouse button. Call @IO@ argument to veto this action.
+                | ListBeginRDrag      !ListIndex !Point (IO ()) -- ^ Drag with right mouse button. @IO@ argument to veto this action.
+                | ListBeginLabelEdit  !ListIndex (IO ())        -- ^ Edit label. Call @IO@ argument to veto this action.
+                | ListEndLabelEdit    !ListIndex !Bool (IO ())  -- ^ End editing label. @Bool@ argument is 'True' when cancelled. Call @IO@ argument to veto this action.
+                | ListDeleteItem      !ListIndex
+                | ListDeleteAllItems
+                | ListItemSelected    !ListIndex 
+                | ListItemDeselected  !ListIndex 
+                | ListItemActivated   !ListIndex        -- ^ Activate (ENTER or double click)  
+                | ListItemFocused     !ListIndex 
+                | ListItemMiddleClick !ListIndex 
+                | ListItemRightClick  !ListIndex   
+                | ListInsertItem      !ListIndex   
+                | ListColClick        !Int              -- ^ Column has been clicked. (-1 when clicked in control header outside any column)
+                | ListColRightClick   !Int                
+                | ListColBeginDrag    !Int (IO ())      -- ^ Column is dragged. Index is of the column left of the divider that is being dragged. Call @IO@ argument to veto this action.
+                | ListColDragging     !Int
+                | ListColEndDrag      !Int (IO ())      -- ^ Column has been dragged. Call @IO@ argument to veto this action.
+                | ListKeyDown         !Key              
+                | ListCacheHint       !Int !Int         -- ^ (Inclusive) range of list items that are advised to be cached.
+                | ListUnknown
+
+
+fromListEvent :: ListEvent a -> IO EventList
+fromListEvent listEvent
+  = do tp <- eventGetEventType listEvent
+       case lookup tp listEvents of
+         Just f  -> f listEvent 
+         Nothing -> return ListUnknown
+
+listEvents :: [(Int, ListEvent a -> IO EventList)]
+listEvents
+  = [(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT,  withVeto $ withItem ListBeginLabelEdit)
+    ,(wxEVT_COMMAND_LIST_DELETE_ITEM,       withItem ListDeleteItem)
+    ,(wxEVT_COMMAND_LIST_INSERT_ITEM,       withItem ListInsertItem)
+    ,(wxEVT_COMMAND_LIST_ITEM_ACTIVATED,    withItem ListItemActivated)
+    ,(wxEVT_COMMAND_LIST_ITEM_DESELECTED,   withItem ListItemDeselected)
+    ,(wxEVT_COMMAND_LIST_ITEM_FOCUSED,      withItem ListItemFocused)
+    ,(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK ,withItem ListItemMiddleClick)
+    ,(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK,  withItem ListItemRightClick)
+    ,(wxEVT_COMMAND_LIST_ITEM_SELECTED,     withItem ListItemSelected)
+    ,(wxEVT_COMMAND_LIST_END_LABEL_EDIT,    withVeto $ withCancel $ withItem ListEndLabelEdit )
+    ,(wxEVT_COMMAND_LIST_BEGIN_RDRAG,       withVeto $ withPoint $ withItem ListBeginRDrag)
+    ,(wxEVT_COMMAND_LIST_BEGIN_DRAG,        withVeto $ withPoint $ withItem ListBeginDrag)
+    ,(wxEVT_COMMAND_LIST_COL_CLICK,         withColumn ListColClick)
+    ,(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG,    withVeto $ withColumn ListColBeginDrag)
+    ,(wxEVT_COMMAND_LIST_COL_DRAGGING,      withColumn ListColDragging)
+    ,(wxEVT_COMMAND_LIST_COL_END_DRAG,      withVeto $ withColumn ListColEndDrag)
+    ,(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK,   withColumn ListColRightClick)
+    ,(wxEVT_COMMAND_LIST_CACHE_HINT,        withCache  ListCacheHint )
+    ,(wxEVT_COMMAND_LIST_KEY_DOWN,          withKeyCode ListKeyDown )
+    ,(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS,  \_event -> return ListDeleteAllItems )
+    ]
+  where
+    withPoint make listEvent
+      = do f   <- make listEvent
+           pt'  <- listEventGetPoint listEvent
+           return (f pt')
+
+    withCancel make listEvent
+      = do f   <- make listEvent
+           can <- listEventCancelled listEvent
+           return (f can)
+
+    withVeto :: (ListEvent a -> IO (IO () -> EventList)) -> ListEvent a -> IO EventList
+    withVeto make listEvent
+      = do f <- make listEvent
+           return (f (notifyEventVeto listEvent))
+
+    withKeyCode make listEvent
+      = do code <- listEventGetCode listEvent
+           return (make (keyCodeToKey code))
+
+    withCache make listEvent
+      = do lo <- listEventGetCacheFrom listEvent
+           hi <- listEventGetCacheTo listEvent
+           return (make lo hi)
+                
+    withColumn make listEvent
+      = do col <- listEventGetColumn listEvent
+           return (make col)
+
+    withItem :: (ListIndex -> b) -> ListEvent a -> IO b
+    withItem make listEvent
+      = do item <- listEventGetIndex listEvent
+           return (make item)
+
+         
+
+-- | Set a list event handler.
+listCtrlOnListEvent :: ListCtrl a -> (EventList -> IO ()) -> IO ()
+listCtrlOnListEvent listCtrl eventHandler
+  = windowOnEvent listCtrl (map fst listEvents) eventHandler listHandler
+  where
+    listHandler event
+      = do eventList <- fromListEvent (objectCast event)
+           eventHandler eventList
+
+-- | Get the current list event handler of a window.
+listCtrlGetOnListEvent :: ListCtrl a -> IO (EventList -> IO ())
+listCtrlGetOnListEvent listCtrl
+  = unsafeWindowGetHandlerState listCtrl wxEVT_COMMAND_LIST_ITEM_ACTIVATED (\_event -> skipCurrentEvent)
+
+
+------------------------------------------------------------------------------------------
+-- TaskBarIcon Events
+------------------------------------------------------------------------------------------
+data EventTaskBarIcon = TaskBarIconMove
+                      | TaskBarIconLeftDown
+                      | TaskBarIconLeftUp
+                      | TaskBarIconRightDown
+                      | TaskBarIconRightUp
+                      | TaskBarIconLeftDClick
+                      | TaskBarIconRightDClick
+                      | TaskBarIconUnknown
+                      deriving (Show, Eq)
+
+fromTaskBarIconEvent :: Event a -> IO EventTaskBarIcon
+fromTaskBarIconEvent event
+  = do tp     <- eventGetEventType event
+       case lookup tp taskBarIconEvents of
+         Just evt  -> return evt
+         Nothing   -> return TaskBarIconUnknown
+
+taskBarIconEvents :: [(Int,EventTaskBarIcon)]
+taskBarIconEvents
+  = [(wxEVT_TASKBAR_MOVE,         TaskBarIconMove)
+    ,(wxEVT_TASKBAR_LEFT_DOWN,    TaskBarIconLeftDown)
+    ,(wxEVT_TASKBAR_LEFT_UP,      TaskBarIconLeftUp)
+    ,(wxEVT_TASKBAR_RIGHT_DOWN,   TaskBarIconRightDown)
+    ,(wxEVT_TASKBAR_RIGHT_UP,     TaskBarIconRightUp)
+    ,(wxEVT_TASKBAR_LEFT_DCLICK,  TaskBarIconLeftDClick)
+    ,(wxEVT_TASKBAR_RIGHT_DCLICK, TaskBarIconRightDClick)
+    ]
+
+-- | Set a taskbar icon event handler.
+evtHandlerOnTaskBarIconEvent :: TaskBarIcon a -> (EventTaskBarIcon -> IO ()) -> IO ()
+evtHandlerOnTaskBarIconEvent taskbar eventHandler
+  = evtHandlerOnEvent taskbar idAny idAny (map fst taskBarIconEvents) eventHandler
+       -- finalize taskBarIcon's resource on Windows.
+       (\_ -> if wxToolkit == WxMSW
+              then (taskBarIconRemoveIcon taskbar
+                   -- But taskBarIconDelete doesn't work well in this part. I don't know why.
+                   -- >> taskBarIconDelete taskbar
+                   >> return ())
+              else (return ()))
+       scrollHandler
+  where
+    scrollHandler event
+      = do eventTaskBar <- fromTaskBarIconEvent event
+           eventHandler eventTaskBar
+
+-- | Get the current event handler for a taskbar icon.
+evtHandlerGetOnTaskBarIconEvent :: EvtHandler a -> Id -> EventTaskBarIcon -> IO (IO ())
+evtHandlerGetOnTaskBarIconEvent window id' evt
+  = unsafeGetHandlerState window id'
+      (fromMaybe wxEVT_TASKBAR_MOVE
+          $ lookup evt $ uncurry (flip zip) . unzip $ taskBarIconEvents)
+      skipCurrentEvent
+
+{-----------------------------------------------------------------------------------------
+  Wizard events
+-----------------------------------------------------------------------------------------}
+data Direction = Backward | Forward
+
+data EventWizard
+    = WizardPageChanged     Direction
+    | WizardPageChanging    Direction Veto
+--    | WizardBeforePageChanged Veto   -- Missing from ClassesMZ
+    | WizardPageShown
+    | WizardCancel          Veto
+    | WizardHelp
+    | WizardFinished
+    | WizardUnknown
+
+fromWizardEvent :: WizardEvent a -> IO EventWizard
+fromWizardEvent wizEvent
+    = do tp <- eventGetEventType wizEvent
+         case lookup tp wizEvents of
+           Just f  -> f wizEvent
+           Nothing -> return WizardUnknown
+
+wizEvents :: [(Int, WizardEvent a -> IO EventWizard)]
+wizEvents
+    = [(wxEVT_WIZARD_PAGE_CHANGED     ,withDir (withPage WizardPageChanged))
+      ,(wxEVT_WIZARD_PAGE_CHANGING    ,withVeto $ withDir (withPage WizardPageChanging))
+--      ,(wxEVT_WIZARD_BEFORE_PAGE_CHANGED, withVeto WizardBeforePageChanged) -- missing from ClassesMZ
+      ,(wxEVT_WIZARD_PAGE_SHOWN       ,withPage WizardPageShown)
+      ,(wxEVT_WIZARD_CANCEL           ,withVeto (withPage WizardCancel))
+      ,(wxEVT_WIZARD_HELP             ,withPage  WizardHelp)
+      ,(wxEVT_WIZARD_FINISHED         ,withPage WizardFinished)]
+    where -- page getter is missing from ClassesMZ, omitting page for the time being
+          withPage :: c -> WizardEvent a -> IO c
+          withPage = const . return
+          withDir :: (WizardEvent a -> IO (Direction -> c)) -> WizardEvent a -> IO c
+          withDir make wizEvent
+            = do
+              dir <- wizardEventGetDirection wizEvent
+              f <- make wizEvent
+              return $ f (if dir /= 0 then Forward else Backward)
+          withVeto :: (WizardEvent a -> IO (Veto -> c)) -> WizardEvent a -> IO c 
+          withVeto make wizEvent
+            = do
+              f <- make wizEvent
+              return $ f (notifyEventVeto wizEvent)
+
+-- | Set a calendar event handler.
+wizardOnWizEvent :: Wizard a -> (EventWizard -> IO ()) -> IO ()
+wizardOnWizEvent wiz eventHandler
+  = windowOnEvent wiz (map fst wizEvents) eventHandler wizHandler
+  where
+    wizHandler event
+      = do eventWizard <- fromWizardEvent (objectCast event)
+           eventHandler eventWizard
+
+-- | Get the current calendar event handler of a window.
+wizardGetOnWizEvent :: Wizard a -> IO (EventWizard -> IO ())
+wizardGetOnWizEvent wiz
+  -- not sure about the wxEVT_WIZARD_PAGE_CHANGED
+  = unsafeWindowGetHandlerState wiz wxEVT_WIZARD_PAGE_CHANGED (\_event -> skipCurrentEvent)
+
+
+{-----------------------------------------------------------------------------------------
+  PropertyGrid events
+-----------------------------------------------------------------------------------------}
+-- | PropertyGrid control events.
+data EventPropertyGrid  
+                = PropertyGridHighlighted (Maybe (PGProperty ()))
+                | PropertyGridChanged (PGProperty ())
+                | PropertyGridUnknown
+
+fromPropertyGridEvent :: PropertyGridEvent a -> IO EventPropertyGrid
+fromPropertyGridEvent propertyGridEvent
+  = do tp <- eventGetEventType propertyGridEvent
+       case lookup tp propertyGridEvents of
+         Just f  -> f propertyGridEvent 
+         Nothing -> return PropertyGridUnknown
+
+propertyGridEvents :: [(Int, PropertyGridEvent a -> IO EventPropertyGrid)]
+propertyGridEvents
+  = [(wxEVT_PG_HIGHLIGHTED, withPGProperty PropertyGridHighlighted),
+     (wxEVT_PG_CHANGED, withPGProperty (PropertyGridChanged . fromJust))
+    ]
+  where
+    withPGProperty :: (Maybe((PGProperty ())) -> b) -> PropertyGridEvent a -> IO b
+    withPGProperty make propertyGridEvent = do
+        hasProp <- propertyGridEventHasProperty propertyGridEvent
+        if not hasProp then return (make Nothing) else do
+            prop <- propertyGridEventGetProperty propertyGridEvent
+            return (make (Just prop))
+
+-- | Set a PropertyGrid event handler.
+propertyGridOnPropertyGridEvent :: PropertyGrid a -> (EventPropertyGrid -> IO ()) -> IO ()
+propertyGridOnPropertyGridEvent propertyGrid eventHandler
+  = windowOnEvent propertyGrid (map fst propertyGridEvents) eventHandler listHandler
+  where
+    listHandler event
+      = do eventPropertyGrid <- fromPropertyGridEvent (objectCast event)
+           eventHandler eventPropertyGrid
+
+-- | Get the current PropertyGrid event handler of a window.
+propertyGridGetOnPropertyGridEvent :: PropertyGrid a -> IO (EventPropertyGrid -> IO ())
+propertyGridGetOnPropertyGridEvent propertyGrid
+  -- I'm not sure what expEVT_PG_HIGHLIGHTED needs to be here for, just followed pattern with `listCtrlGetOnListEvent'
+  = unsafeWindowGetHandlerState propertyGrid wxEVT_PG_HIGHLIGHTED (\_event -> skipCurrentEvent)
+
+{-----------------------------------------------------------------------------------------
+  AuiNotebook events
+-----------------------------------------------------------------------------------------}
+
+-- | Represents a page in the AuiNotebook for a
+
+newtype WindowId = WindowId Int deriving (Eq,Show)
+data WindowSelection = WindowSelection Int (Maybe PageWindow) deriving (Show, Eq)
+data PageWindow = PageWindow { winId :: WindowId, win :: (Window ()) } deriving (Show, Eq)
+
+noWindowSelection :: WindowSelection
+noWindowSelection = WindowSelection wxNOT_FOUND Nothing
+
+-- | AuiNotebook events.
+data EventAuiNotebook = AuiNotebookAllowDnd { newSel ::  WindowSelection, oldSel ::  WindowSelection }
+                      | AuiNotebookBeginDrag  { newSel ::  WindowSelection, oldSel ::  WindowSelection }
+                      | AuiNotebookBgDclick  { newSel ::  WindowSelection, oldSel ::  WindowSelection }
+                      | AuiNotebookButton  { newSel ::  WindowSelection, oldSel ::  WindowSelection }
+                      | AuiNotebookDragDone  { newSel ::  WindowSelection, oldSel ::  WindowSelection }
+                      | AuiNotebookDragMotion  { newSel ::  WindowSelection, oldSel ::  WindowSelection }
+                      | AuiNotebookEndDrag  { newSel ::  WindowSelection, oldSel ::  WindowSelection }
+                      | AuiNotebookPageChanged  { newSel ::  WindowSelection, oldSel ::  WindowSelection }
+                      | AuiNotebookPageChanging  { newSel ::  WindowSelection, oldSel ::  WindowSelection }
+                      | AuiNotebookPageClose  { newSel ::  WindowSelection, oldSel ::  WindowSelection }
+                      | AuiNotebookPageClosed  { newSel ::  WindowSelection, oldSel ::  WindowSelection }
+                      | AuiNotebookTabMiddleDown  { newSel ::  WindowSelection, oldSel ::  WindowSelection }
+                      | AuiNotebookTabMiddleUp  { newSel ::  WindowSelection, oldSel ::  WindowSelection }
+                      | AuiNotebookTabRightDown  { newSel ::  WindowSelection, oldSel ::  WindowSelection }
+                      | AuiNotebookTabRightUp  { newSel ::  WindowSelection, oldSel ::  WindowSelection }
+                      | AuiNotebookUnknown
+                      | AuiTabCtrlPageChanging  { newSel ::  WindowSelection, oldSel ::  WindowSelection }
+                      | AuiTabCtrlUnknown
+                      deriving (Show, Eq)
+
+
+auiTabCtrlEvents :: AuiNotebook a -> [(Int, AuiNotebookEvent b -> IO EventAuiNotebook)]
+auiTabCtrlEvents nb
+  = [(wxEVT_AUINOTEBOOK_PAGE_CHANGING, auiWithSelection nb AuiTabCtrlPageChanging)]
+
+auiNotebookEvents :: AuiNotebook a -> [(Int, AuiNotebookEvent b -> IO EventAuiNotebook)]
+auiNotebookEvents nb
+  = [(wxEVT_AUINOTEBOOK_ALLOW_DND, auiWithSelection nb AuiNotebookAllowDnd)
+    ,(wxEVT_AUINOTEBOOK_BEGIN_DRAG, auiWithSelection nb AuiNotebookBeginDrag)
+    ,(wxEVT_AUINOTEBOOK_BG_DCLICK, auiWithSelection nb AuiNotebookBgDclick)
+    ,(wxEVT_AUINOTEBOOK_BUTTON, auiWithSelection nb AuiNotebookButton)
+    ,(wxEVT_AUINOTEBOOK_DRAG_DONE,  auiWithSelection nb AuiNotebookDragDone)
+    ,(wxEVT_AUINOTEBOOK_DRAG_MOTION, auiWithSelection nb AuiNotebookDragMotion)
+    ,(wxEVT_AUINOTEBOOK_END_DRAG, auiWithSelection nb AuiNotebookEndDrag)
+    ,(wxEVT_AUINOTEBOOK_PAGE_CHANGED, auiWithSelection nb AuiNotebookPageChanged)
+    ,(wxEVT_AUINOTEBOOK_PAGE_CHANGING, auiWithSelection nb AuiNotebookPageChanging)
+    ,(wxEVT_AUINOTEBOOK_PAGE_CLOSE, auiWithSelection nb AuiNotebookPageClose)
+    ,(wxEVT_AUINOTEBOOK_PAGE_CLOSED, auiWithSelection nb AuiNotebookPageClosed)
+    ,(wxEVT_AUINOTEBOOK_TAB_MIDDLE_DOWN,auiWithSelection nb AuiNotebookTabMiddleDown)
+    ,(wxEVT_AUINOTEBOOK_TAB_MIDDLE_UP, auiWithSelection nb AuiNotebookTabMiddleUp)
+    ,(wxEVT_AUINOTEBOOK_TAB_RIGHT_DOWN, auiWithSelection nb AuiNotebookTabRightDown)
+    ,(wxEVT_AUINOTEBOOK_TAB_RIGHT_UP,  auiWithSelection nb AuiNotebookTabRightUp)]
+           
+
+auiWithSelection :: AuiNotebook a1
+                 -> (WindowSelection -> WindowSelection -> r)
+                 -> BookCtrlEvent a
+                 -> IO r
+auiWithSelection nb' eventAN auiNEvent = do 
+    selection    <- bookCtrlEventGetSelection auiNEvent
+    oldSelection <- bookCtrlEventGetOldSelection auiNEvent
+    eventObj     <- eventGetEventObject auiNEvent
+    winSel       <- fromSelId nb' eventObj selection auiNEvent
+    winOldSel    <- fromSelId nb' eventObj oldSelection auiNEvent
+    return $ eventAN winSel winOldSel
+  where 
+      fromSelId nb'' _eventObj selId _ev = do
+         pageCount <- auiNotebookGetPageCount nb''
+         if selId < pageCount && selId /= wxNOT_FOUND then do
+             pg <-  auiNotebookGetPage nb'' selId
+             id' <-  windowGetId pg
+             return $ WindowSelection selId $ Just $ PageWindow (WindowId id')  pg
+           else return noWindowSelection
+
+fromAuiNotebookEvent :: Object a -> String -> AuiNotebookEvent q -> IO EventAuiNotebook
+fromAuiNotebookEvent eventObj cName anEvent 
+    = do eventType <-  eventGetEventType anEvent
+         case cName of
+              "wxAuiNotebook" -> 
+                 lookupEvent eventType (auiNotebookEvents $ objectCast eventObj) AuiNotebookUnknown
+              "wxAuiTabCtrl" -> 
+               do par <- windowGetParent $ objectCast eventObj
+                  let t =  (auiTabCtrlEvents . objectCast) par
+                  lookupEvent eventType t AuiTabCtrlUnknown
+              _ -> error $ "Graphics.UI.WXCore.Events.fromAuiNotebookEvent: Unexpected cName: " ++ cName
+
+              --lookup an event in the given evtTable, if not found use defaul
+      where lookupEvent eventType evtTable defaul = case lookup eventType evtTable of
+                                    Just f  -> f anEvent
+                                    Nothing -> return defaul
+
+-- | accept an event and return the wxWidgets class name of the event's eventObject
+objectClassName :: WxObject a ->  IO String
+objectClassName obj = do cInfo <-  objectGetClassInfo obj
+                         classInfoGetClassNameEx cInfo
+
+-- | use when you want to handle just wxAuiNotebook
+auiNotebookOnAuiNotebookEvent ::  String -> EventId ->  AuiNotebook a -> (EventAuiNotebook -> IO ()) -> IO ()
+auiNotebookOnAuiNotebookEvent _s eventId notebook eventHandler
+  = windowOnEvent notebook [eventId] handler (const handler)
+       where handler = withCurrentEvent (\event -> do
+               eventObj <-  eventGetEventObject (objectCast event)
+               cName <-   objectClassName eventObj
+               case cName of
+                      "wxAuiNotebook" -> 
+                       do ean <- fromAuiNotebookEvent eventObj cName (objectCast event)
+                          eventHandler ean
+                      _              -> skipCurrentEvent
+               )
+
+
+-- | use when you want to handle both wxAuiNotebook and wxAuiTabCtrl
+auiNotebookOnAuiNotebookEventEx ::  String -> EventId ->  AuiNotebook a -> (EventAuiNotebook -> IO ()) -> IO ()
+auiNotebookOnAuiNotebookEventEx _s eventId notebook eventHandler
+  = windowOnEvent notebook [eventId] handler (const handler)
+       where handler = withCurrentEvent (\event -> do
+               eventObj <-  eventGetEventObject (objectCast event)
+               cName <-   objectClassName eventObj
+               ean <- fromAuiNotebookEvent eventObj cName (objectCast event)
+               eventHandler ean
+               )
+
+auiNotebookGetOnAuiNotebookEvent ::  EventId -> AuiNotebook a -> IO (EventAuiNotebook -> IO ())
+auiNotebookGetOnAuiNotebookEvent eventId notebook
+  = unsafeWindowGetHandlerState notebook eventId (const skipCurrentEvent)
+
+------------------------------------------------------------------------------------------
+-- TimerEx is handled specially.
+------------------------------------------------------------------------------------------
+-- | Create a new 'Timer' that is attached to a window. It is automatically deleted when
+-- its owner is deleted (using 'windowAddOnDelete'). The owning window will receive
+-- timer events ('windowOnTimer'). /Broken!/ (use 'windowTimerCreate'\/'timerOnCommand' instead.)
+windowTimerAttach :: Window a -> IO (Timer ())
+windowTimerAttach w
+  = do t <- timerCreate w idAny
+       windowAddOnDelete w (timerDelete t)
+       return t
+
+
+-- | Create a new 'TimerEx' timer. It is automatically deleted when its owner is deleted
+-- (using 'windowAddOnDelete'). React to timer events using 'timerOnCommand'.
+windowTimerCreate :: Window a -> IO (TimerEx ())
+windowTimerCreate w
+  = do t <- timerExCreate
+       windowAddOnDelete w (timerDelete t)
+       return t
+
+-- | Set an event handler that is called on a timer tick. This works for 'TimerEx'
+-- objects.
+timerOnCommand :: TimerEx a -> IO () -> IO ()
+timerOnCommand timer io
+  = do closure <- createClosure io (\_ownerDeleted -> return ()) (\_ev -> io)
+       timerExConnect timer closure
+
+-- | Get the current timer event handler.
+timerGetOnCommand :: TimerEx a -> IO (IO ())
+timerGetOnCommand timer
+  = do closure <- timerExGetClosure timer
+       unsafeClosureGetState closure (return ())
+
+{--------------------------------------------------------------------------
+  The global idle timer
+  Currently only used by the process code but can potentially be used to
+  enable haskell threads to run in idle time
+--------------------------------------------------------------------------}
+{-# NOINLINE appIdleIntervals #-}
+appIdleIntervals :: Var [Int]
+appIdleIntervals 
+  = unsafePerformIO (varCreate [])
+
+-- | @appRegisterIdle interval handler@ registers a global idle event 
+-- handler that is at least called every @interval@ milliseconds (and
+-- possible more). Returns a method that can be used to unregister this
+-- handler (so that it doesn't take any resources anymore). Multiple
+-- calls to this method chains the different idle event handlers.
+appRegisterIdle :: Int -> IO (IO ())
+appRegisterIdle interval 
+  = do _ <- varUpdate appIdleIntervals (interval:)
+       appUpdateIdleInterval 
+       return (appUnregisterIdle interval)
+
+-- Update the idle interval to the minimal one.
+appUpdateIdleInterval :: IO ()
+appUpdateIdleInterval
+  = do ivals <- varGet appIdleIntervals
+       let ival = if null ivals then 0 else minimum ivals   -- zero is off.
+       appival <- wxcAppGetIdleInterval 
+       if (ival < appival)
+        then wxcAppSetIdleInterval ival
+        else return ()
+
+-- Unregister an idle handler       
+appUnregisterIdle :: Int -> IO ()            
+appUnregisterIdle ival
+  = do _ <- varUpdate appIdleIntervals (remove ival)
+       appUpdateIdleInterval
+  where
+    remove _ival' []      = []
+    remove ival'  (i:is)  | ival' == i  = is
+                          | otherwise   = i : remove ival' is
+
+
+{-----------------------------------------------------------------------------------------
+  Calender events
+-----------------------------------------------------------------------------------------}
+data EventCalendar
+    = CalendarDayChanged (DateTime ())
+    | CalendarDoubleClicked (DateTime ())
+    | CalendarMonthChanged (DateTime ())
+    | CalendarSelectionChanged (DateTime ())
+    | CalendarWeekdayClicked Int
+    | CalendarYearChanged (DateTime ())
+    | CalendarUnknown
+ 
+fromCalendarEvent :: CalendarEvent a -> IO EventCalendar
+fromCalendarEvent calEvent
+    = do tp <- eventGetEventType calEvent
+         case lookup tp calEvents of
+           Just f  -> f calEvent
+           Nothing -> return CalendarUnknown
+ 
+calEvents :: [(Int, CalendarEvent a -> IO EventCalendar)]
+calEvents
+    = [(wxEVT_CALENDAR_DAY_CHANGED    ,withDate CalendarDayChanged)
+      ,(wxEVT_CALENDAR_DOUBLECLICKED  ,withDate CalendarDoubleClicked)
+      ,(wxEVT_CALENDAR_MONTH_CHANGED  ,withDate CalendarMonthChanged)
+      ,(wxEVT_CALENDAR_SEL_CHANGED    ,withDate CalendarSelectionChanged)
+      ,(wxEVT_CALENDAR_WEEKDAY_CLICKED,withWeekday CalendarWeekdayClicked)
+      ,(wxEVT_CALENDAR_YEAR_CHANGED   ,withDate CalendarYearChanged)]
+    where withDate event calEvent
+              = do date <- dateTimeCreate
+                   withObjectPtr date $ calendarEventGetDate calEvent
+                   return (event date)
+          withWeekday event calEvent
+              = fmap event $ calendarEventGetWeekDay calEvent
+ 
+-- | Set a calendar event handler.
+calendarCtrlOnCalEvent :: CalendarCtrl a -> (EventCalendar -> IO ()) -> IO ()
+calendarCtrlOnCalEvent calCtrl eventHandler
+  = windowOnEvent calCtrl (map fst calEvents) eventHandler calHandler
+  where
+    calHandler event
+      = do eventCalendar <- fromCalendarEvent (objectCast event)
+           eventHandler eventCalendar
+ 
+-- | Get the current calendar event handler of a window.
+calendarCtrlGetOnCalEvent :: CalendarCtrl a -> IO (EventCalendar -> IO ())
+calendarCtrlGetOnCalEvent calCtrl
+  = unsafeWindowGetHandlerState calCtrl wxEVT_CALENDAR_SEL_CHANGED (\_event -> skipCurrentEvent)
+
+
+------------------------------------------------------------------------------------------
+-- Application startup
+------------------------------------------------------------------------------------------
+-- | Installs an init handler and starts the event loop.
+-- Note: the closure is deleted when initialization is complete, and than the Haskell init function
+-- is started.
+appOnInit :: IO () -> IO ()
+appOnInit initHandler
+  = do closure  <- createClosure (return () :: IO ()) onDelete (\_ev -> return ())   -- run initHandler on destroy !
+       progName <- getProgName
+       args     <- getArgs
+       argv     <- mapM newCWString (progName:args)
+       let argc = length argv
+       withArray (argv ++ [nullPtr]) $ \cargv -> wxcAppInitializeC closure argc cargv
+       mapM_ free argv
+  where
+    onDelete _ownerDeleted
+      = initHandler
+           
+
+
+------------------------------------------------------------------------------------------
+-- Attaching Haskell data to arbitrary objects.
+------------------------------------------------------------------------------------------
+-- | Use attached Haskell data locally. This makes it type-safe.
+objectWithClientData :: WxObject a -> b -> ((b -> IO ()) -> IO b -> IO c) -> IO c
+objectWithClientData object initx fun
+  = do let setter x = objectSetClientData object (return ()) x
+           getter   = do mb <- unsafeObjectGetClientData object
+                         case mb of
+                           Nothing -> return initx
+                           Just x  -> return x
+       setter initx
+       fun setter getter
+
+-- | Attach Haskell value to an arbitrary object. The 'IO' action is executed
+-- when the object is deleted. Note: 'evtHandlerSetClientData' is preferred when possible.
+objectSetClientData :: WxObject a -> IO () -> b -> IO ()
+objectSetClientData object onDelete x
+  = do closure <- createClosure x (const onDelete) (const (return ()))
+       objectSetClientClosure object closure
+       return ()
+
+-- | Retrieve an attached Haskell value.
+unsafeObjectGetClientData :: WxObject a -> IO (Maybe b)
+unsafeObjectGetClientData object
+  = do closure <- objectGetClientClosure object 
+       unsafeClosureGetData closure
+                
+-- | Use attached Haskell data locally in a type-safe way.
+evtHandlerWithClientData :: EvtHandler a -> b -> ((b -> IO ()) -> IO b -> IO c) -> IO c
+evtHandlerWithClientData evtHandler initx fun
+  = do let setter x = evtHandlerSetClientData evtHandler (return ()) x
+           getter   = do mb <- unsafeEvtHandlerGetClientData evtHandler
+                         case mb of
+                           Nothing -> return initx
+                           Just x  -> return x
+       setter initx
+       fun setter getter
+
+-- | Attach a Haskell value to an object derived from 'EvtHandler'. The 'IO' action
+-- executed when the object is deleted.
+evtHandlerSetClientData :: EvtHandler a -> IO () -> b -> IO ()
+evtHandlerSetClientData evtHandler onDelete x
+  = do closure <- createClosure x (const onDelete) (const (return ()))
+       evtHandlerSetClientClosure evtHandler closure
+       return ()
+
+-- | Retrieve an attached Haskell value, previously attached with 'evtHandlerSetClientData'.
+unsafeEvtHandlerGetClientData :: EvtHandler a -> IO (Maybe b)
+unsafeEvtHandlerGetClientData evtHandler
+  = do closure <- evtHandlerGetClientClosure evtHandler
+       unsafeClosureGetData closure
+
+
+
+-- | Attach a Haskell value to tree item data. The 'IO' action
+-- executed when the object is deleted.
+treeCtrlSetItemClientData :: TreeCtrl a -> TreeItem -> IO () -> b -> IO ()
+treeCtrlSetItemClientData treeCtrl item onDelete x
+  = do closure <- createClosure x (const onDelete) (const (return ()))
+       treeCtrlSetItemClientClosure treeCtrl item closure
+       return ()
+
+-- | Retrieve an attached Haskell value to a tree item, previously attached with 'treeCtrlSetItemClientData'.
+unsafeTreeCtrlGetItemClientData :: TreeCtrl a -> TreeItem  -> IO (Maybe b)
+unsafeTreeCtrlGetItemClientData treeCtrl item
+  = do closure <- treeCtrlGetItemClientClosure treeCtrl item
+       unsafeClosureGetData closure
+
+
+------------------------------------------------------------------------------------------
+-- Generic window connection
+------------------------------------------------------------------------------------------
+-- | Set a generic event handler on a certain window.
+windowOnEvent :: Window a -> [EventId] -> handler -> (Event () -> IO ()) -> IO ()
+windowOnEvent window eventIds state eventHandler
+  = windowOnEventEx window eventIds state (\_ownerDelete -> return ()) eventHandler
+
+-- | Set a generic event handler on a certain window. Takes also a computation
+-- that is run when the event handler is destroyed -- the argument is 'True' if the
+-- owner is deleted, and 'False' if the event handler is disconnected for example.
+windowOnEventEx :: Window a -> [EventId] -> handler -> (Bool -> IO ()) -> (Event () -> IO ()) -> IO ()
+windowOnEventEx window eventIds state destroy eventHandler
+  = do let id' = idAny   -- id' <- windowGetId window
+       evtHandlerOnEvent window id' id' eventIds state destroy eventHandler
+
+-- | Retrieve the event handler state for a certain event on a window.
+unsafeWindowGetHandlerState :: Window a -> EventId -> b -> IO b
+unsafeWindowGetHandlerState window eventId def
+  = do id' <- windowGetId window
+       unsafeGetHandlerState window id' eventId def
+
+------------------------------------------------------------------------------------------
+-- The current event
+------------------------------------------------------------------------------------------
+{-# NOINLINE currentEvent #-}
+currentEvent :: MVar (Event ())
+currentEvent
+  = unsafePerformIO (newMVar objectNull)
+
+-- | Get the current event handler (can be 'objectNull').
+getCurrentEvent :: IO (Event ())
+getCurrentEvent
+  = readMVar currentEvent
+
+-- | Do something with the current event /if/ we are calling from an event handler.
+withCurrentEvent :: (Event () -> IO ()) -> IO ()
+withCurrentEvent f
+  = do ev <- getCurrentEvent
+       if (ev /= objectNull)
+        then f ev
+        else return ()
+
+-- | Pass the event on the next /wxWidgets/ event handler, either on this window or its parent.
+-- Always call this method when you do not process the event. /Note:/ The use of
+-- 'propagateEvent' is encouraged as it is a much better name than 'skipCurrentEvent'. This
+-- function name is just for better compatibility with wxWidgets :-)
+skipCurrentEvent :: IO ()
+skipCurrentEvent
+  = withCurrentEvent (\event -> eventSkip event)
+
+-- | Pass the event on the next /wxWidgets/ event handler, either on this window or its parent.
+-- Always call this method when you do not process the event. (This function just call 'skipCurrentEvent').
+propagateEvent :: IO ()
+propagateEvent
+  = skipCurrentEvent
+
+
+------------------------------------------------------------------------------------------
+-- Generic event connection
+------------------------------------------------------------------------------------------
+-- | Retrieves the state associated with a certain event handler. If
+-- no event handler is defined for this kind of event or 'Id', the
+-- default value is returned.
+unsafeGetHandlerState :: EvtHandler a -> Id -> EventId -> b -> IO b
+unsafeGetHandlerState object id' eventId def
+  = do closure <- evtHandlerGetClosure object id' eventId
+       unsafeClosureGetState closure def
+
+-- | Type synonym to make the type signatures shorter for the documentation :-)
+type OnEvent = (Bool -> IO ()) -> (Event () -> IO ()) -> IO ()
+
+-- | Sets a generic event handler, just as 'evtHandlerOnEventConnect' but first
+-- disconnects any event handlers for the same kind of events.
+evtHandlerOnEvent :: EvtHandler a -> Id -> Id -> [EventId] -> handler -> OnEvent
+evtHandlerOnEvent object firstId lastId eventIds state destroy eventHandler
+  = do evtHandlerOnEventDisconnect object firstId lastId eventIds
+       evtHandlerOnEventConnect object firstId lastId eventIds state destroy eventHandler
+
+
+-- Hack: using a global variable to determine whether we are disconnecting an event
+-- or not. This is used as a parameter to the 'destroy' procedure of an event. This
+-- enables us to re-install a 'windowOnDelete' handler for example without executing
+-- the deletion code.
+{-# NOINLINE disconnecting #-}
+disconnecting :: Var Bool
+disconnecting
+  = unsafePerformIO (varCreate False)
+
+-- | Disconnect a certain event handler.
+evtHandlerOnEventDisconnect :: EvtHandler a -> Id -> Id -> [EventId] -> IO ()
+evtHandlerOnEventDisconnect object firstId lastId eventIds
+  = do prev <- varSwap disconnecting True
+       mapM_ disconnectEventId eventIds
+       varSet disconnecting prev
+  where
+    disconnectEventId eventId
+      = evtHandlerDisconnect object firstId lastId eventId 0 {- actually: void* -}
+
+-- | Sets a generic event handler on an 'EvtHandler' object. The call
+-- (@evtHandlerOnEventConnect firstId lastId eventIds state destroy handler object@) sets an event
+-- handler @handler@ on @object@. The eventhandler gets called whenever an event
+-- happens that is in the list @eventIds@ on an object with an 'Id' between @firstId@
+-- and @lastId@ (use -1 for any object). The @state@ is any kind of Haskell data
+-- that is attached to this handler. It can be retrieved via 'unsafeGetHandlerState'.
+-- Normally, the @state@ is the event handler itself. This allows the current event
+-- handler to be retrieved via calls to 'buttonGetOnCommand' for example. The @destroy@
+-- action is called when the event handler is destroyed. Its argument is 'True' when the
+-- owner is deleted, and 'False' if the event handler is just disconnected.
+evtHandlerOnEventConnect :: EvtHandler a -> Id -> Id -> [EventId] -> state -> OnEvent
+evtHandlerOnEventConnect object firstId lastId eventIds state destroy eventHandler
+  = do closure <- createClosure state destroy eventHandler
+       withObjectPtr closure $ \pclosure ->
+        mapM_ (connectEventId pclosure) eventIds
+  where
+    connectEventId pclosure eventId
+      = evtHandlerConnect object firstId lastId eventId pclosure
+
+
+
+-- Use a data wrapper for the closure state: seem to circumvent bugs when wrapping
+-- things like Int or overloaded stuff.
+data Wrap a  = Wrap a
+
+
+unsafeClosureGetState :: Closure () -> a -> IO a
+unsafeClosureGetState closure def
+  = do mb <- unsafeClosureGetData closure
+       case mb of
+         Nothing -> return def
+         Just x  -> return x
+
+unsafeClosureGetData :: Closure () -> IO (Maybe a)
+unsafeClosureGetData closure
+  = if (objectIsNull closure)
+     then return Nothing
+     else do ptr <- closureGetData closure
+             if (ptrIsNull ptr)
+              then return Nothing
+              else do (Wrap x) <- deRefStablePtr (castPtrToStablePtr ptr)
+                      return (Just x)
+
+
+-- | Create a closure with a certain Haskell state, a function that is called
+-- when the closure is destroyed, and a function that is called when an event
+-- happens. The destroy function takes a boolean that is 'True' when the parent
+-- is deleted (and 'False' when the closure is just disconnected). The event
+-- handlers gets the 'Event' as its argument.
+createClosure :: state -> (Bool -> IO ()) -> (Event () -> IO ()) -> IO (Closure ())
+createClosure st destroy handler
+  = do funptr  <- wrapEventHandler eventHandlerWrapper
+       stptr   <- newStablePtr (Wrap st)
+       closureCreate funptr (castStablePtrToPtr stptr)
+  where
+    eventHandlerWrapper :: Ptr fun -> Ptr () -> Ptr (TEvent ()) -> IO ()
+    eventHandlerWrapper funptr stptr eventptr
+      = do let event = objectFromPtr eventptr
+           prev <- swapMVar currentEvent event
+           if (objectIsNull event)
+            then do isDisconnecting <- varGet disconnecting
+                    destroy (not isDisconnecting)
+                    when (stptr/=ptrNull)
+                      (freeStablePtr (castPtrToStablePtr stptr))
+                    when (funptr/=ptrNull)
+                      (freeHaskellFunPtr (castPtrToFunPtr funptr))
+            else handler event
+           _ <- swapMVar currentEvent prev
+           return ()
+
+
+
+foreign import ccall "wrapper" wrapEventHandler :: (Ptr fun -> Ptr st -> Ptr (TEvent ()) -> IO ()) -> IO (FunPtr (Ptr fun -> Ptr st -> Ptr (TEvent ()) -> IO ()))
src/haskell/Graphics/UI/WXCore/Frame.hs view
@@ -1,150 +1,150 @@-------------------------------------------------------------------------------------------{-|	Module      :  Frame-	Copyright   :  (c) Daan Leijen 2003-	License     :  wxWindows--	Maintainer  :  wxhaskell-devel@lists.sourceforge.net-	Stability   :  provisional-	Portability :  portable--Frame utility functions.--}-------------------------------------------------------------------------------------------module Graphics.UI.WXCore.Frame-        ( -- * Frame-          frameCreateTopFrame-        , frameCreateDefault-        , frameSetTopFrame-        , frameDefaultStyle-        , frameCenter-        , frameCenterHorizontal-        , frameCenterVertical-          -- * Window-        , windowGetRootParent-        , windowGetFrameParent-        , windowGetMousePosition-        , windowGetScreenPosition-        , windowChildren-          -- * Dialog-        , dialogDefaultStyle-          -- * Status bar-        , statusBarCreateFields-        ) where--import Data.Bits-import Foreign.Marshal.Array-import Graphics.UI.WXCore.WxcTypes-import Graphics.UI.WXCore.WxcDefs-import Graphics.UI.WXCore.WxcClassInfo-import Graphics.UI.WXCore.WxcClasses-import Graphics.UI.WXCore.WxcClassTypes-import Graphics.UI.WXCore.Types----- | The default frame style for a normal top-level 'Frame'.-frameDefaultStyle :: Int-frameDefaultStyle-  = wxDEFAULT_FRAME_STYLE .|. wxCLIP_CHILDREN -- .|. wxNO_FULL_REPAINT_ON_RESIZE ---- | The default frame style for a normal 'Dialog'.-dialogDefaultStyle :: Int-dialogDefaultStyle-  = wxCAPTION .|. wxSYSTEM_MENU .|. wxTAB_TRAVERSAL .|. wxCLOSE_BOX .|. wxCLIP_CHILDREN -    -- .|. wxNO_FULL_REPAINT_ON_RESIZE --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | Create a default frame and make it the top-level window.-frameCreateTopFrame :: String -> IO (Frame ())-frameCreateTopFrame title-  = do frame <- frameCreateDefault title-       frameSetTopFrame frame-       return frame---- | Set the top-level frame (calls 'cAppSetTopWindow').-frameSetTopFrame :: Frame a -> IO ()-frameSetTopFrame frame-  = wxcAppSetTopWindow frame---- | Create a  frame with default settings.-frameCreateDefault :: String -> IO (Frame ())-frameCreateDefault title-  = frameCreate objectNull idAny title rectNull frameDefaultStyle----- | Center the frame on the screen.-frameCenter :: Frame a -> IO ()-frameCenter f -  = frameCentre f wxBOTH---- | Center the frame horizontally on the screen.-frameCenterHorizontal :: Frame a -> IO ()-frameCenterHorizontal f-  = frameCentre f wxHORIZONTAL---- | Center the frame vertically on the screen.-frameCenterVertical :: Frame a -> IO ()-frameCenterVertical f-  = frameCentre f wxVERTICAL----------------------------------------------------------------------------------------------- Window---------------------------------------------------------------------------------------------- | The parent frame or dialog of a widget.-windowGetFrameParent :: Window a -> IO (Window ())-windowGetFrameParent w-  = if (instanceOf w classFrame || instanceOf w classDialog)-     then return (downcastWindow w)-     else do p <- windowGetParent w-             if (objectIsNull p)-              then return (downcastWindow w)-              else windowGetFrameParent p----- | The ultimate root parent of the widget.-windowGetRootParent :: Window a -> IO (Window ())-windowGetRootParent w-  = do p <- windowGetParent w-       if (objectIsNull p)-        then return (downcastWindow w)-        else windowGetRootParent p-       ----- | Retrieve the current mouse position relative to the window position.-windowGetMousePosition :: Window a -> IO Point-windowGetMousePosition w-  = do p <- wxcGetMousePosition-       windowScreenToClient2 w p-  --- | Get the window position relative to the origin of the display.-windowGetScreenPosition :: Window a -> IO Point-windowGetScreenPosition w-  = windowClientToScreen w pointZero----- | Get the children of a window-windowChildren :: Window a -> IO [Window ()]-windowChildren w-  = do count <- windowGetChildren w ptrNull 0-       if count <= 0-        then return []-        else withArray (replicate count ptrNull) $ \ptrs ->-             do windowGetChildren w ptrs count-                ps <- peekArray count ptrs-                return (map objectFromPtr ps)----------------------------------------------------------------------------------------------- Statusbar--------------------------------------------------------------------------------------------statusBarCreateFields :: Frame a -> [Int] -> IO (StatusBar ())-statusBarCreateFields parent widths-  = do pst <- windowGetWindowStyleFlag parent-       let st = if (bitsSet wxRESIZE_BORDER pst) then wxST_SIZEGRIP else 0-       sb <- frameCreateStatusBar parent (length widths) st-       let len = length widths-       if (len <= 1)-        then return sb-        else do withArray (map toCInt widths) (\pwidths -> statusBarSetStatusWidths sb (length widths) pwidths)-                return sb+-----------------------------------------------------------------------------------------
+{-|
+Module      :  Frame
+Copyright   :  (c) Daan Leijen 2003
+License     :  wxWindows
+
+Maintainer  :  wxhaskell-devel@lists.sourceforge.net
+Stability   :  provisional
+Portability :  portable
+
+Frame utility functions.
+-}
+-----------------------------------------------------------------------------------------
+module Graphics.UI.WXCore.Frame
+        ( -- * Frame
+          frameCreateTopFrame
+        , frameCreateDefault
+        , frameSetTopFrame
+        , frameDefaultStyle
+        , frameCenter
+        , frameCenterHorizontal
+        , frameCenterVertical
+          -- * Window
+        , windowGetRootParent
+        , windowGetFrameParent
+        , windowGetMousePosition
+        , windowGetScreenPosition
+        , windowChildren
+          -- * Dialog
+        , dialogDefaultStyle
+          -- * Status bar
+        , statusBarCreateFields
+        ) where
+
+import Data.Bits
+import Foreign.Marshal.Array
+import Graphics.UI.WXCore.WxcTypes
+import Graphics.UI.WXCore.WxcDefs
+import Graphics.UI.WXCore.WxcClassInfo
+import Graphics.UI.WXCore.WxcClasses
+import Graphics.UI.WXCore.Types
+
+
+-- | The default frame style for a normal top-level 'Frame'.
+frameDefaultStyle :: Style
+frameDefaultStyle
+  = wxDEFAULT_FRAME_STYLE .|. wxCLIP_CHILDREN -- .|. wxNO_FULL_REPAINT_ON_RESIZE 
+
+-- | The default frame style for a normal 'Dialog'.
+dialogDefaultStyle :: Style
+dialogDefaultStyle
+  = wxCAPTION .|. wxSYSTEM_MENU .|. wxTAB_TRAVERSAL .|. wxCLOSE_BOX .|. wxCLIP_CHILDREN 
+    -- .|. wxNO_FULL_REPAINT_ON_RESIZE 
+
+------------------------------------------------------------------------------------------
+--
+------------------------------------------------------------------------------------------
+-- | Create a default frame and make it the top-level window.
+frameCreateTopFrame :: String -> IO (Frame ())
+frameCreateTopFrame title
+  = do frame <- frameCreateDefault title
+       frameSetTopFrame frame
+       return frame
+
+-- | Set the top-level frame (calls 'cAppSetTopWindow').
+frameSetTopFrame :: Frame a -> IO ()
+frameSetTopFrame frame
+  = wxcAppSetTopWindow frame
+
+-- | Create a  frame with default settings.
+frameCreateDefault :: String -> IO (Frame ())
+frameCreateDefault title
+  = frameCreate objectNull idAny title rectNull frameDefaultStyle
+
+
+-- | Center the frame on the screen.
+frameCenter :: Frame a -> IO ()
+frameCenter f 
+  = frameCentre f wxBOTH
+
+-- | Center the frame horizontally on the screen.
+frameCenterHorizontal :: Frame a -> IO ()
+frameCenterHorizontal f
+  = frameCentre f wxHORIZONTAL
+
+-- | Center the frame vertically on the screen.
+frameCenterVertical :: Frame a -> IO ()
+frameCenterVertical f
+  = frameCentre f wxVERTICAL
+
+------------------------------------------------------------------------------------------
+-- Window
+------------------------------------------------------------------------------------------
+-- | The parent frame or dialog of a widget.
+windowGetFrameParent :: Window a -> IO (Window ())
+windowGetFrameParent w
+  = if (instanceOf w classFrame || instanceOf w classDialog)
+     then return (downcastWindow w)
+     else do p <- windowGetParent w
+             if (objectIsNull p)
+              then return (downcastWindow w)
+              else windowGetFrameParent p
+
+
+-- | The ultimate root parent of the widget.
+windowGetRootParent :: Window a -> IO (Window ())
+windowGetRootParent w
+  = do p <- windowGetParent w
+       if (objectIsNull p)
+        then return (downcastWindow w)
+        else windowGetRootParent p
+       
+
+
+-- | Retrieve the current mouse position relative to the window position.
+windowGetMousePosition :: Window a -> IO Point
+windowGetMousePosition w
+  = do p <- wxcGetMousePosition
+       windowScreenToClient2 w p
+  
+-- | Get the window position relative to the origin of the display.
+windowGetScreenPosition :: Window a -> IO Point
+windowGetScreenPosition w
+  = windowClientToScreen w pointZero
+
+
+-- | Get the children of a window
+windowChildren :: Window a -> IO [Window ()]
+windowChildren w
+  = do count <- windowGetChildren w ptrNull 0
+       if count <= 0
+        then return []
+        else withArray (replicate count ptrNull) $ \ptrs ->
+             do _  <- windowGetChildren w ptrs count
+                ps <- peekArray count ptrs
+                return (map objectFromPtr ps)
+
+------------------------------------------------------------------------------------------
+-- Statusbar
+------------------------------------------------------------------------------------------
+statusBarCreateFields :: Frame a -> [Int] -> IO (StatusBar ())
+statusBarCreateFields parent widths
+  = do pst <- windowGetWindowStyleFlag parent
+       let st = if (bitsSet wxRESIZE_BORDER pst) then wxST_SIZEGRIP else 0
+       sb <- frameCreateStatusBar parent (length widths) st
+       let len = length widths
+       if (len <= 1)
+        then return sb
+        else do withArray (map toCInt widths) (\pwidths -> statusBarSetStatusWidths sb (length widths) pwidths)
+                return sb
+ src/haskell/Graphics/UI/WXCore/GHCiSupport.hs view
@@ -0,0 +1,32 @@+{-# LANGUAGE ForeignFunctionInterface, CPP #-}
+module Graphics.UI.WXCore.GHCiSupport(enableGUI) where
+-- GHCi support on MacOS X
+-- TODO: preprocessor to make it conditional on the platform
+
+#if darwin_HOST_OS
+
+import Data.Int
+import Foreign
+
+type ProcessSerialNumber = Int64
+
+foreign import ccall "GetCurrentProcess" getCurrentProcess :: Ptr ProcessSerialNumber -> IO Int16
+foreign import ccall "_CGSDefaultConnection" cgsDefaultConnection :: IO ()
+foreign import ccall "CPSEnableForegroundOperation" cpsEnableForegroundOperation :: Ptr ProcessSerialNumber -> IO ()
+-- foreign import ccall "CPSSignalAppReady" cpsSignalAppReady :: Ptr ProcessSerialNumber -> IO ()
+foreign import ccall "CPSSetFrontProcess" cpsSetFrontProcess :: Ptr ProcessSerialNumber -> IO ()
+
+enableGUI :: IO ()
+enableGUI = alloca $ \psn -> do
+    getCurrentProcess psn
+    cgsDefaultConnection
+    cpsEnableForegroundOperation psn
+    -- cpsSignalAppReady psn
+    cpsSetFrontProcess psn
+
+#else
+
+enableGUI :: IO ()
+enableGUI = return ()
+
+#endif
src/haskell/Graphics/UI/WXCore/Image.hs view
@@ -1,355 +1,357 @@-{-# LANGUAGE FlexibleContexts #-}----------------------------------------------------------------------------------{-|	Module      :  Image-	Copyright   :  (c) Daan Leijen 2003-	License     :  wxWindows--	Maintainer  :  wxhaskell-devel@lists.sourceforge.net-	Stability   :  provisional-	Portability :  portable--}----------------------------------------------------------------------------------module Graphics.UI.WXCore.Image-    ( -- * Images-      topLevelWindowSetIconFromFile-    -- ** Imagelist-    , imageListAddIconsFromFiles-    , imageListAddIconFromFile-    -- ** Icons-    , withIconFromFile-    , iconCreateFromFile-    , iconGetSize-    -- ** Cursors-    , withCursorFromFile-    , cursorCreateFromFile-    -- ** Bitmaps-    , withBitmapFromFile-    , bitmapCreateFromFile-    , bitmapGetSize-    , bitmapSetSize-    -- ** Helpers-    , imageTypeFromExtension-    , imageTypeFromFileName--    -- * Direct image manipulation-    , imageGetPixels-    , imageCreateFromPixels-    , imageGetPixelArray-    , imageCreateFromPixelArray-    , imageGetSize-    , withImageData--    -- ** Pixel buffer-    , imageCreateFromPixelBuffer-    , imageGetPixelBuffer-    , withPixelBuffer-    , PixelBuffer-    , pixelBufferCreate-    , pixelBufferDelete-    , pixelBufferInit-    , pixelBufferSetPixel-    , pixelBufferGetPixel    -    , pixelBufferSetPixels-    , pixelBufferGetPixels    -    , pixelBufferGetSize-    ) where--import Data.Char( toLower )-import Data.Array.IArray ( IArray, listArray, bounds, elems )-import Foreign.Marshal.Array-import Foreign.C.String-import Foreign.Storable--import Graphics.UI.WXCore.WxcTypes-import Graphics.UI.WXCore.WxcDefs-import Graphics.UI.WXCore.WxcClasses-import Graphics.UI.WXCore.Types-import Graphics.UI.WXCore.Defines---{------------------------------------------------------------------------------------------  ImageList------------------------------------------------------------------------------------------}--- | Initialize an image list with icons from files. Use a 'sizeNull' to--- use the native size of the loaded icons.-imageListAddIconsFromFiles :: ImageList a -> Size -> [FilePath] -> IO ()-imageListAddIconsFromFiles images desiredSize fnames-  = mapM_ (imageListAddIconFromFile images desiredSize) fnames---- | Add an icon from a file to an imagelist.-imageListAddIconFromFile :: ImageList a -> Size -> FilePath -> IO ()-imageListAddIconFromFile images desiredSize fname-  = do image <- imageCreateFromFile fname-       imageRescale image desiredSize-       bitmap <- imageConvertToBitmap image-       imageListAddBitmap images bitmap nullBitmap-       bitmapDelete bitmap-       imageDelete image-       return ()--{------------------------------------------------------------------------------------------  Icons------------------------------------------------------------------------------------------}---- | Set the icon of a frame.-topLevelWindowSetIconFromFile :: TopLevelWindow a -> FilePath -> IO ()-topLevelWindowSetIconFromFile f fname-  = withIconFromFile fname sizeNull (topLevelWindowSetIcon f)----- | Load an icon (see 'iconCreateFromFile') and automatically delete it--- after use.-withIconFromFile :: FilePath -> Size -> (Icon () -> IO a) -> IO a-withIconFromFile fname size f-  = bracket (iconCreateFromFile fname size)-            (iconDelete)-            f---- | Load an icon from an icon file (ico,xbm,xpm,gif). The 'Size' argument--- gives the desired size but can be 'sizeNull' to retrieve the image--- in its natural size. -iconCreateFromFile :: FilePath -> Size -> IO (Icon ())-iconCreateFromFile fname size-  = iconCreateLoad fname (imageTypeFromFileName fname) size-  {--    do icon <- iconCreateLoad fname (imageTypeFromFileName fname) size-       ok   <- iconOk icon-       if (ok)-        then return icon-        else do iconDelete icon-                ioError (userError ("unable to load icon: " ++ show fname))-  -}---- | Get the size of an icon.-iconGetSize :: Icon a -> IO Size-iconGetSize icon-  = do w <- iconGetWidth icon-       h <- iconGetHeight icon-       return (sz w h)--{------------------------------------------------------------------------------------------  Cursors------------------------------------------------------------------------------------------}--- | Load an cursor (see 'cursorCreateFromFile') and automatically delete it--- after use.-withCursorFromFile :: FilePath -> (Cursor () -> IO a) -> IO a-withCursorFromFile fname f-  = bracket (cursorCreateFromFile fname)-            (cursorDelete)-            f---- | Load an cursor from an icon file (ico,xbm,xpm,gif).--- For a reason, this function is incomatible with 'iconCreateFromFile'.-cursorCreateFromFile :: String -> IO (Cursor ())-cursorCreateFromFile fname = imageCreateFromFile fname >>= cursorCreateFromImage--{------------------------------------------------------------------------------------------  Bitmaps------------------------------------------------------------------------------------------}---- | Load a bitmap (see 'bitmapCreateFromFile') and automatically delete it--- after use.-withBitmapFromFile :: FilePath -> (Bitmap () -> IO a) -> IO a-withBitmapFromFile fname f-  = bracket (bitmapCreateFromFile fname)-            (bitmapDelete)-            f---- | Load a bitmap from an image file (gif, jpg, png, etc.) -bitmapCreateFromFile :: FilePath -> IO (Bitmap ())-bitmapCreateFromFile fname-  = bitmapCreateLoad fname (imageTypeFromFileName fname)-    {--    do bm <- bitmapCreateLoad fname (imageTypeFromFileName fname)-       ok <- bitmapOk bm-       if (ok)-        then return bm-        else do bitmapDelete bm-                ioError (userError ("unable to load image: " ++ show fname))-    -}---- | The size of a bitmap.-bitmapGetSize :: Bitmap a -> IO Size-bitmapGetSize bitmap-  = do w <- bitmapGetWidth bitmap-       h <- bitmapGetHeight bitmap-       return (sz w h)---- | Set the size of a bitmap.-bitmapSetSize :: Bitmap a -> Size -> IO ()-bitmapSetSize bitmap (Size w h)-  = do bitmapSetWidth bitmap w-       bitmapSetHeight bitmap h---{------------------------------------------------------------------------------------------  Images------------------------------------------------------------------------------------------}---- | Get an image type from a file name.-imageTypeFromFileName :: String -> BitFlag-imageTypeFromFileName fname-  = imageTypeFromExtension (map toLower (reverse (takeWhile (/= '.') (reverse fname))))---- | Get an image type from a file extension.-imageTypeFromExtension :: String -> BitFlag-imageTypeFromExtension ext-  = case ext of-      "jpg"   -> wxBITMAP_TYPE_JPEG-      "jpeg"  -> wxBITMAP_TYPE_JPEG-      "gif"   -> wxBITMAP_TYPE_GIF-      "bmp"   -> wxBITMAP_TYPE_BMP-      "png"   -> wxBITMAP_TYPE_PNG-      "xpm"   -> wxBITMAP_TYPE_XPM-      "xbm"   -> wxBITMAP_TYPE_XBM-      "pcx"   -> wxBITMAP_TYPE_PCX-      "ico"   -> wxBITMAP_TYPE_ICO-      "tif"   -> wxBITMAP_TYPE_TIF-      "tiff"  -> wxBITMAP_TYPE_TIF-      "pnm"   -> wxBITMAP_TYPE_PNM-      "pict"  -> wxBITMAP_TYPE_PICT-      "icon"  -> wxBITMAP_TYPE_ICON-      other   -> wxBITMAP_TYPE_ANY--{------------------------------------------------------------------------------------------  Direct image manipulation------------------------------------------------------------------------------------------}--- | An abstract pixel buffer (= array of RGB values)-data PixelBuffer   = PixelBuffer Bool Size (Ptr Word8)---- | Create a pixel buffer. (To be deleted with 'pixelBufferDelete').-pixelBufferCreate   :: Size -> IO PixelBuffer-pixelBufferCreate size-  = do buffer <- wxcMalloc (sizeW size * sizeH size * 3)-       return (PixelBuffer True size (ptrCast buffer))---- | Delete a pixel buffer. -pixelBufferDelete  :: PixelBuffer -> IO ()-pixelBufferDelete (PixelBuffer owned size buffer)-  = when (owned && not (ptrIsNull buffer)) (wxcFree buffer)---- | The size of a pixel buffer-pixelBufferGetSize :: PixelBuffer -> Size-pixelBufferGetSize (PixelBuffer owned size buffer)-  = size---- | Get all the pixels of a pixel buffer as a single list.-pixelBufferGetPixels :: PixelBuffer -> IO [Color]-pixelBufferGetPixels (PixelBuffer owned (Size w h) buffer)-  = do let count = w*h-       rgbs <- peekArray (3*count) buffer-       return (convert rgbs)-  where-    convert :: [Word8] -> [Color]-    convert (r:g:b:xs)  = colorRGB r g b : convert xs-    convert []          = []---- | Set all the pixels of a pixel buffer.-pixelBufferSetPixels :: PixelBuffer -> [Color] -> IO ()-pixelBufferSetPixels (PixelBuffer owned (Size w h) buffer) colors-  = do let count = w*h-       pokeArray buffer (convert (take count colors))-  where-    convert :: [Color] -> [Word8]-    convert (c:cs) = colorRed c : colorGreen c : colorBlue c : convert cs-    convert []     = []---- | Initialize the pixel buffer with a grey color. The second argument--- specifies the /greyness/ as a number between 0.0 (black) and 1.0 (white).-pixelBufferInit :: PixelBuffer -> Color -> IO ()-pixelBufferInit (PixelBuffer owned size buffer) color-  = wxcInitPixelsRGB buffer size (intFromColor color)---- | Set the color of a pixel.-pixelBufferSetPixel :: PixelBuffer -> Point -> Color -> IO ()-pixelBufferSetPixel (PixelBuffer owned size buffer) point color-  = {--    do let idx = 3*(y*w + x)-           r   = colorRed color-           g   = colorGreen color-           b   = colorBlue color-       pokeByteOff buffer idx r-       pokeByteOff buffer (idx+1) g-       pokeByteOff buffer (idx+2) b-    -}-    wxcSetPixelRGB buffer (sizeW size) point (intFromColor color)-    ---- | Get the color of a pixel-pixelBufferGetPixel :: PixelBuffer -> Point -> IO Color-pixelBufferGetPixel (PixelBuffer owned size buffer) point-  = {--    do let idx = 3*(y*w + x)-       r   <- peekByteOff buffer idx-       g   <- peekByteOff buffer (idx+1)-       b   <- peekByteOff buffer (idx+2)-       return (colorRGB r g b)-    -}-    do rgb <- wxcGetPixelRGB buffer (sizeW size) point-       return (colorFromInt rgb)-      -  --- | Create an image from a pixel buffer. Note: the image will--- delete the pixelbuffer.-imageCreateFromPixelBuffer :: PixelBuffer -> IO (Image ())-imageCreateFromPixelBuffer (PixelBuffer owned size buffer) -  = imageCreateFromDataEx size buffer False---- | Do something with the pixels of an image-withImageData :: Image a -> (Ptr () -> IO b) -> IO b-withImageData image f = do-    pixels <- imageGetData image-    x <- f pixels-    image `seq` return x -- about this seq:-    -- it's not that we're trying to force evaluation order;-    -- we merely want to prevent image from being garbage-    -- collected before we've managed to use the array that-    -- is being pointed to--withPixelBuffer :: Image a -> (PixelBuffer -> IO b) -> IO b-withPixelBuffer image f =-    withImageData image $ \ptr -> do-       w   <- imageGetWidth image-       h   <- imageGetHeight image-       f $ PixelBuffer False (sz w h) (ptrCast ptr)--{-# DEPRECATED imageGetPixelBuffer "Use withPixelBuffer instead" #-}--- | Get the pixel buffer of an image.---   Note: use 'withPixelBuffer' instead-imageGetPixelBuffer :: Image a -> IO PixelBuffer-imageGetPixelBuffer image-  = withPixelBuffer image return---- | Get the pixels of an image.-imageGetPixels :: Image a -> IO [Color]-imageGetPixels image-  = withPixelBuffer image pixelBufferGetPixels---- | Create an image from a list of pixels.-imageCreateFromPixels :: Size -> [Color] -> IO (Image ())-imageCreateFromPixels size colors-  = do pb <- pixelBufferCreate size-       pixelBufferSetPixels pb colors-       imageCreateFromPixelBuffer pb   -- image deletes pixel buffer---- | Get the pixels of an image as an array-imageGetPixelArray :: (IArray a Color) => Image b -> IO (a Point Color)-imageGetPixelArray image-  = do h  <- imageGetHeight image-       w  <- imageGetWidth image-       ps <- imageGetPixels image-       let bounds = (pointZero, point (w-1) (h-1))-       return (listArray bounds ps)        ---- | Create an image from a pixel array-imageCreateFromPixelArray :: (IArray a Color) => a Point Color -> IO (Image ())-imageCreateFromPixelArray pixels-  = let (Point x y) = snd (bounds pixels)-    in imageCreateFromPixels (sz (x+1) (y+1)) (elems pixels)---- | Get the size of an image-imageGetSize :: Image a -> IO Size-imageGetSize image-  = do h  <- imageGetHeight image-       w  <- imageGetWidth image-       return (Size w h)+{-# LANGUAGE FlexibleContexts #-}
+--------------------------------------------------------------------------------
+{-|
+Module      :  Image
+Copyright   :  (c) Daan Leijen 2003
+License     :  wxWindows
+
+Maintainer  :  wxhaskell-devel@lists.sourceforge.net
+Stability   :  provisional
+Portability :  portable
+-}
+--------------------------------------------------------------------------------
+module Graphics.UI.WXCore.Image
+    ( -- * Images
+      topLevelWindowSetIconFromFile
+    -- ** Imagelist
+    , imageListAddIconsFromFiles
+    , imageListAddIconFromFile
+    -- ** Icons
+    , withIconFromFile
+    , iconCreateFromFile
+    , iconGetSize
+    -- ** Cursors
+    , withCursorFromFile
+    , cursorCreateFromFile
+    -- ** Bitmaps
+    , withBitmapFromFile
+    , bitmapCreateFromFile
+    , bitmapGetSize
+    , bitmapSetSize
+    -- ** Helpers
+    , imageTypeFromExtension
+    , imageTypeFromFileName
+
+    -- * Direct image manipulation
+    , imageGetPixels
+    , imageCreateFromPixels
+    , imageGetPixelArray
+    , imageCreateFromPixelArray
+    , imageGetSize
+    , withImageData
+
+    -- ** Pixel buffer
+    , imageCreateFromPixelBuffer
+    , imageGetPixelBuffer
+    , withPixelBuffer
+    , PixelBuffer
+    , pixelBufferCreate
+    , pixelBufferDelete
+    , pixelBufferInit
+    , pixelBufferSetPixel
+    , pixelBufferGetPixel    
+    , pixelBufferSetPixels
+    , pixelBufferGetPixels    
+    , pixelBufferGetSize
+    ) where
+
+import Data.Char( toLower )
+import Data.Array.IArray ( IArray, listArray, bounds, elems )
+import Foreign.Marshal.Array
+
+import Graphics.UI.WXCore.WxcTypes
+import Graphics.UI.WXCore.WxcDefs
+import Graphics.UI.WXCore.WxcClasses
+import Graphics.UI.WXCore.Types
+
+
+{-----------------------------------------------------------------------------------------
+  ImageList
+-----------------------------------------------------------------------------------------}
+-- | Initialize an image list with icons from files. Use a 'sizeNull' to
+-- use the native size of the loaded icons.
+imageListAddIconsFromFiles :: ImageList a -> Size -> [FilePath] -> IO ()
+imageListAddIconsFromFiles images desiredSize fnames
+  = mapM_ (imageListAddIconFromFile images desiredSize) fnames
+
+-- | Add an icon from a file to an imagelist.
+imageListAddIconFromFile :: ImageList a -> Size -> FilePath -> IO ()
+imageListAddIconFromFile images desiredSize fname
+  = do image <- imageCreateFromFile fname
+       imageRescale image desiredSize
+       bitmap <- imageConvertToBitmap image
+       _ <- imageListAddBitmap images bitmap nullBitmap
+       bitmapDelete bitmap
+       imageDelete image
+       return ()
+
+{-----------------------------------------------------------------------------------------
+  Icons
+-----------------------------------------------------------------------------------------}
+
+-- | Set the icon of a frame.
+topLevelWindowSetIconFromFile :: TopLevelWindow a -> FilePath -> IO ()
+topLevelWindowSetIconFromFile f fname
+  = withIconFromFile fname sizeNull (topLevelWindowSetIcon f)
+
+
+-- | Load an icon (see 'iconCreateFromFile') and automatically delete it
+-- after use.
+withIconFromFile :: FilePath -> Size -> (Icon () -> IO a) -> IO a
+withIconFromFile fname size f
+  = bracket (iconCreateFromFile fname size)
+            (iconDelete)
+            f
+
+-- | Load an icon from an icon file (ico,xbm,xpm,gif). The 'Size' argument
+-- gives the desired size but can be 'sizeNull' to retrieve the image
+-- in its natural size. 
+iconCreateFromFile :: FilePath -> Size -> IO (Icon ())
+iconCreateFromFile fname size
+  = iconCreateLoad fname (imageTypeFromFileName fname) size
+  {-
+    do icon <- iconCreateLoad fname (imageTypeFromFileName fname) size
+       ok   <- iconOk icon
+       if (ok)
+        then return icon
+        else do iconDelete icon
+                ioError (userError ("unable to load icon: " ++ show fname))
+  -}
+
+-- | Get the size of an icon.
+iconGetSize :: Icon a -> IO Size
+iconGetSize icon
+  = do w <- iconGetWidth icon
+       h <- iconGetHeight icon
+       return (sz w h)
+
+{-----------------------------------------------------------------------------------------
+  Cursors
+-----------------------------------------------------------------------------------------}
+-- | Load a cursor (see 'cursorCreateFromFile') and automatically delete it
+-- after use.
+withCursorFromFile :: FilePath -> (Cursor () -> IO a) -> IO a
+withCursorFromFile fname f
+  = bracket (cursorCreateFromFile fname)
+            (cursorDelete)
+            f
+
+-- | Load a cursor from an icon file (ico,xbm,xpm,gif).
+-- For a reason, this function is incompatible with 'iconCreateFromFile'.
+cursorCreateFromFile :: String -> IO (Cursor ())
+cursorCreateFromFile fname = imageCreateFromFile fname >>= cursorCreateFromImage
+
+{-----------------------------------------------------------------------------------------
+  Bitmaps
+-----------------------------------------------------------------------------------------}
+
+-- | Load a bitmap (see 'bitmapCreateFromFile') and automatically delete it
+-- after use.
+withBitmapFromFile :: FilePath -> (Bitmap () -> IO a) -> IO a
+withBitmapFromFile fname f
+  = bracket (bitmapCreateFromFile fname)
+            (bitmapDelete)
+            f
+
+-- | Load a bitmap from an image file (gif, jpg, png, etc.) 
+bitmapCreateFromFile :: FilePath -> IO (Bitmap ())
+bitmapCreateFromFile fname
+  = bitmapCreateLoad fname (imageTypeFromFileName fname)
+    {-
+    do bm <- bitmapCreateLoad fname (imageTypeFromFileName fname)
+       ok <- bitmapOk bm
+       if (ok)
+        then return bm
+        else do bitmapDelete bm
+                ioError (userError ("unable to load image: " ++ show fname))
+    -}
+
+-- | The size of a bitmap.
+bitmapGetSize :: Bitmap a -> IO Size
+bitmapGetSize bitmap
+  = do w <- bitmapGetWidth bitmap
+       h <- bitmapGetHeight bitmap
+       return (sz w h)
+
+-- | Set the size of a bitmap.
+bitmapSetSize :: Bitmap a -> Size -> IO ()
+bitmapSetSize bitmap (Size w h)
+  = do bitmapSetWidth bitmap w
+       bitmapSetHeight bitmap h
+
+
+{-----------------------------------------------------------------------------------------
+  Images
+-----------------------------------------------------------------------------------------}
+
+-- | Get an image type from a file name.
+imageTypeFromFileName :: String -> BitFlag
+imageTypeFromFileName fname
+  = imageTypeFromExtension (map toLower (reverse (takeWhile (/= '.') (reverse fname))))
+
+-- | Get an image type from a file extension.
+imageTypeFromExtension :: String -> BitFlag
+imageTypeFromExtension ext
+  = case ext of
+      "jpg"   -> wxBITMAP_TYPE_JPEG
+      "jpeg"  -> wxBITMAP_TYPE_JPEG
+      "gif"   -> wxBITMAP_TYPE_GIF
+      "bmp"   -> wxBITMAP_TYPE_BMP
+      "png"   -> wxBITMAP_TYPE_PNG
+      "xpm"   -> wxBITMAP_TYPE_XPM
+      "xbm"   -> wxBITMAP_TYPE_XBM
+      "pcx"   -> wxBITMAP_TYPE_PCX
+      "ico"   -> wxBITMAP_TYPE_ICO
+      "tif"   -> wxBITMAP_TYPE_TIF
+      "tiff"  -> wxBITMAP_TYPE_TIF
+      "pnm"   -> wxBITMAP_TYPE_PNM
+      "pict"  -> wxBITMAP_TYPE_PICT
+      "icon"  -> wxBITMAP_TYPE_ICON
+      "ani"   -> wxBITMAP_TYPE_ANI
+      _other  -> wxBITMAP_TYPE_ANY
+
+{-----------------------------------------------------------------------------------------
+  Direct image manipulation
+-----------------------------------------------------------------------------------------}
+-- | An abstract pixel buffer (= array of RGB values)
+data PixelBuffer   = PixelBuffer Bool Size (Ptr Word8)
+
+-- | Create a pixel buffer. (To be deleted with 'pixelBufferDelete').
+pixelBufferCreate   :: Size -> IO PixelBuffer
+pixelBufferCreate size
+  = do buffer <- wxcMalloc (sizeW size * sizeH size * 3)
+       return (PixelBuffer True size (ptrCast buffer))
+
+-- | Delete a pixel buffer. 
+pixelBufferDelete  :: PixelBuffer -> IO ()
+pixelBufferDelete (PixelBuffer owned _size buffer)
+  = when (owned && not (ptrIsNull buffer)) (wxcFree buffer)
+
+-- | The size of a pixel buffer
+pixelBufferGetSize :: PixelBuffer -> Size
+pixelBufferGetSize (PixelBuffer _owned size _buffer)
+  = size
+
+-- | Get all the pixels of a pixel buffer as a single list.
+pixelBufferGetPixels :: PixelBuffer -> IO [Color]
+pixelBufferGetPixels (PixelBuffer _owned (Size w h) buffer)
+  = do let count = w*h
+       rgbs <- peekArray (3*count) buffer
+       return (convert rgbs)
+  where
+    convert :: [Word8] -> [Color]
+    convert (r:g:b:xs)  = colorRGB r g b : convert xs
+    convert []          = []
+    convert _           = 
+      error $ "Graphics.UI.WXCore.Image.pixelBufferGetPixels: " ++
+              "Unexpected number of entries in pixelbuffer"
+
+-- | Set all the pixels of a pixel buffer.
+pixelBufferSetPixels :: PixelBuffer -> [Color] -> IO ()
+pixelBufferSetPixels (PixelBuffer _owned (Size w h) buffer) colors
+  = do let count = w*h
+       pokeArray buffer (convert (take count colors))
+  where
+    convert :: [Color] -> [Word8]
+    convert (c:cs) = colorRed c : colorGreen c : colorBlue c : convert cs
+    convert []     = []
+
+-- | Initialize the pixel buffer with a grey color. The second argument
+-- specifies the /greyness/ as a number between 0.0 (black) and 1.0 (white).
+pixelBufferInit :: PixelBuffer -> Color -> IO ()
+pixelBufferInit (PixelBuffer _owned size buffer) color
+  = wxcInitPixelsRGB buffer size (intFromColor color)
+
+-- | Set the color of a pixel.
+pixelBufferSetPixel :: PixelBuffer -> Point -> Color -> IO ()
+pixelBufferSetPixel (PixelBuffer _owned size buffer) poynt color
+  = {-
+    do let idx = 3*(y*w + x)
+           r   = colorRed color
+           g   = colorGreen color
+           b   = colorBlue color
+       pokeByteOff buffer idx r
+       pokeByteOff buffer (idx+1) g
+       pokeByteOff buffer (idx+2) b
+    -}
+    wxcSetPixelRGB buffer (sizeW size) poynt (intFromColor color)
+    
+
+-- | Get the color of a pixel
+pixelBufferGetPixel :: PixelBuffer -> Point -> IO Color
+pixelBufferGetPixel (PixelBuffer _owned size buffer) poynt
+  = {-
+    do let idx = 3*(y*w + x)
+       r   <- peekByteOff buffer idx
+       g   <- peekByteOff buffer (idx+1)
+       b   <- peekByteOff buffer (idx+2)
+       return (colorRGB r g b)
+    -}
+    do colr <- wxcGetPixelRGB buffer (sizeW size) poynt
+       return (colorFromInt colr)
+      
+  
+-- | Create an image from a pixel buffer. Note: the image will
+-- delete the pixelbuffer.
+imageCreateFromPixelBuffer :: PixelBuffer -> IO (Image ())
+imageCreateFromPixelBuffer (PixelBuffer _owned size buffer) 
+  = imageCreateFromDataEx size buffer False
+
+-- | Do something with the pixels of an image
+withImageData :: Image a -> (Ptr () -> IO b) -> IO b
+withImageData image f = do
+    pixels <- imageGetData image
+    x <- f pixels
+    image `seq` return x -- about this seq:
+    -- it's not that we're trying to force evaluation order;
+    -- we merely want to prevent image from being garbage
+    -- collected before we've managed to use the array that
+    -- is being pointed to
+
+withPixelBuffer :: Image a -> (PixelBuffer -> IO b) -> IO b
+withPixelBuffer image f =
+    withImageData image $ \ptr -> do
+       w   <- imageGetWidth image
+       h   <- imageGetHeight image
+       f $ PixelBuffer False (sz w h) (ptrCast ptr)
+
+{-# DEPRECATED imageGetPixelBuffer "Use withPixelBuffer instead" #-}
+-- | Get the pixel buffer of an image.
+--   Note: use 'withPixelBuffer' instead
+imageGetPixelBuffer :: Image a -> IO PixelBuffer
+imageGetPixelBuffer image
+  = withPixelBuffer image return
+
+-- | Get the pixels of an image.
+imageGetPixels :: Image a -> IO [Color]
+imageGetPixels image
+  = withPixelBuffer image pixelBufferGetPixels
+
+-- | Create an image from a list of pixels.
+imageCreateFromPixels :: Size -> [Color] -> IO (Image ())
+imageCreateFromPixels size colors
+  = do pb <- pixelBufferCreate size
+       pixelBufferSetPixels pb colors
+       imageCreateFromPixelBuffer pb   -- image deletes pixel buffer
+
+-- | Get the pixels of an image as an array
+imageGetPixelArray :: (IArray a Color) => Image b -> IO (a Point Color)
+imageGetPixelArray image
+  = do h  <- imageGetHeight image
+       w  <- imageGetWidth image
+       ps <- imageGetPixels image
+       let bounds' = (pointZero, point (w-1) (h-1))
+       return (listArray bounds' ps)        
+
+-- | Create an image from a pixel array
+imageCreateFromPixelArray :: (IArray a Color) => a Point Color -> IO (Image ())
+imageCreateFromPixelArray pixels
+  = let (Point x y) = snd (bounds pixels)
+    in imageCreateFromPixels (sz (x+1) (y+1)) (elems pixels)
+
+-- | Get the size of an image
+imageGetSize :: Image a -> IO Size
+imageGetSize image
+  = do h  <- imageGetHeight image
+       w  <- imageGetWidth image
+       return (Size w h)
src/haskell/Graphics/UI/WXCore/Layout.hs view
@@ -1,1012 +1,1066 @@-{-# OPTIONS -fglasgow-exts #-}-------------------------------------------------------------------------------------------{-|	Module      :  Layout-	Copyright   :  (c) Daan Leijen & Wijnand van Suijlen 2003-	License     :  wxWindows--	Maintainer  :  wxhaskell-devel@lists.sourceforge.net-	Stability   :  provisional-	Portability :  portable--Combinators to specify layout. (These combinators use wxWindows 'Sizer' objects).--Layout can be specified using 'windowSetLayout'. For example:--> do f  <- frameCreateTopFrame "Test"->    ok <- buttonCreate f idAny "Bye" rectNull 0->    windowSetLayout f (widget ok)->    ...--The 'windowSetLayout' function takes 'Layout' as its argument.-The 'widget' combinator creates a layout from a window. The 'space' combinator creates-an empty layout with a specific width and height. Furthermore, we have the 'label' combinator-to create a static label label and 'boxed' to create a labeled border around a layout.-The 'grid' combinator lays out elements in a table with a given space between the elements.-Here is for example a layout for retrieving an /x/ and /y/ coordinate from the user, with 5 pixels space-between the controls:--> boxed "coordinates" (grid 5 5 [[label "x", widget xinput]->                               ,[label "y", widget yinput]])--Combinators like 'row' and 'column' are specific instances of grids. We can use-these combinator to good effect to add an /ok/ and /cancel/ button at the bottom of our dialog:--> column 5 [ boxed "coordinates" (grid 5 5 [[label "x", widget xinput]->                                          ,[label "y", widget yinput]])->          , row 5 [widget ok, widget cancel]]--Layout /tranformers/ influence attributes of a layout. The 'margin' combinator adds a-margin around a layout. The /align/ combinators specify how a combinator is aligned when-the assigned area is larger than the layout itself. We can use these transformers to-add a margin around our dialog and to align the buttons to the bottom right (instead of the-default top-left):--> margin 10 $ column 5 [ boxed "coordinates" (grid 5 5 [[label "x", widget xinput]->                                                      ,[label "y", widget yinput]])->                      , alignBottomRight $ row 5 [widget ok, widget cancel]]--Besides aligning a layout in its assigned area, we can also specify that a layout should-expand to fill the assigned area. The 'shaped' combinator fills an area while maintaining the-original proportions (or aspect ratio) of a layout. The 'expand' combinator always tries to fill-the entire area (and alignment is ignored).--The final attribute is the /stretch/ of a layout. A stretchable layout may get a larger-area assigned than the minimally required area. This can be used to fill out the entire parent-area -- this happens for example when a user enlarges a dialog.--The default stretch and expansion mode of layout containers, like 'grid' and 'boxed', depends on the-stretch of the child layouts.  A column of a /grid/ is only stretchable when all-elements of that column have horizontal stretch. The same holds for rows with vertical stretch.-When any column or row is stretchable, the grid itself will also be stretchable in that direction-and the grid will 'expand' to fill the assigned area by default (instead of being 'static'). Just like-a grid, other containers, like 'container', 'boxed', 'tabs', 'row', and 'column', will also propagate the stretch-and expansion mode of their child layouts.--Armed with the 'stretch' combinators we can make our dialog resizeable.-We let the input widgets resize horizontally. Furthermore, the button row will resize-vertically and horizontally with the buttons aligned to the bottom right. Due to the-stretch propagation rules, the 'grid' and 'boxed' stretch horizontally and 'expand' to fill the-assigned area. The horizontal 'row' does /not/ stretch by default (and we need to use-an explicit 'stretch') and it does /not/ expand into the assigned area by default (and therefore-alignment works properly).--> margin 10 $ column 5 [ boxed "coordinates" (grid 5 5 [[label "x", hstretch $ expand $ widget xinput]->                                                      ,[label "y", hstretch $ expand $ widget yinput]])->                      , stretch $ alignBottomRight $ row 5 [widget ok, widget cancel]]--There are some common uses of stretchable combinators. The 'fill' combinators combine-stretch and expansion. For example, 'hfill' is defined as (@hstretch . expand@). The /float/-combinators combine alignment and 'stretch'. For example, 'floatBottomRight' is defined-as (@stretch . alignBottomRight@). There are also horizontal and vertical float combinators,-like 'hfloatCentre' and 'vfloatBottom'. Here is the above example using 'fill' and float:--> margin 10 $ column 5 [ boxed "coordinates" (grid 5 5 [[label "x", hfill $ widget xinput]->                                                      ,[label "y", hfill $ widget yinput]])->                      , floatBottomRight $ row 5 [widget ok, widget cancel]]--The 'glue' combinators are stretchable empty space. For example, 'hglue'-is defined as (@hstretch (space 0 0)@). We can use glue to mimic alignment. Here is the above-layout specified with glue. Note that we use 'hspace' to manually insert-space between the elements or  otherwise there would be space between the glue and-the /ok/ button.--> margin 10 $ column 5 [ boxed "coordinates" (grid 5 5 [[label "x", hfill $ widget xinput]->                                                      ,[label "y", hfill $ widget yinput]])->                      , glue->                      , row 0 [hglue, widget ok, hspace 5, widget cancel]]--Splitter windows can also be specified with layout; you get somewhat less functionality-but it is quite convenient for most applications. A horizontal split is done using-'hsplit' while a vertical split is specified with a 'vsplit'.--The layout for notebooks is specified with the 'tabs' combinator. The following-example shows this (and note also how we use 'container' to set the layout of panels):--> nbook  <- notebookCreate ...-> panel1 <- panelCreate nbook ...-> ...-> panel2 <- panelCreate nbook ...-> ...-> windowSetLayout frame->    (tabs nbook [tab "page one" $ container panel1 $ margin 10 $ floatCentre $ widget ok->                ,tab "page two" $ container panel2 $ margin 10 $ hfill $ widget quit])--The pages /always/ need to be embedded inside a 'container' (normally a 'Panel'). The-title of the pages is determined from the label of the container widget.--Note: /At the moment, extra space is divided evenly among stretchable layouts. We plan to add-a (/@proportion :: Int -> Layout -> Layout@/) combinator in the future to stretch layouts-according to a relative weight, but unfortunately, that entails implementing a better-/'FlexGrid'/ sizer for wxWindows./--}-------------------------------------------------------------------------------------------module Graphics.UI.WXCore.Layout( -- * Types-                               Layout, sizerFromLayout-                             , TabPage-                               -- * Window-                             , windowSetLayout, layoutFromWindow-                             , windowReFit, windowReFitMinimal-                             , windowReLayout, windowReLayoutMinimal-                               -- * Layouts                               -                               -- ** Widgets-                             , Widget, widget, label, rule, hrule, vrule, sizer-                               -- ** Containers-                             , row, column-                             , grid, boxed, container, tab, imageTab, tabs-                             , hsplit, vsplit-                               -- ** Glue-                             , glue, hglue, vglue-                               -- ** Whitespace-                             , space, hspace, vspace, empty-                               -- * Transformers-                             , dynamic-                               -- ** Stretch-                             , static, stretch, hstretch, vstretch, minsize-                               -- ** Expansion-                             , rigid, shaped, expand-                               -- ** Fill-                             , fill, hfill, vfill-                               -- ** Margin-                             , margin, marginWidth, marginNone-                             , marginLeft, marginTop, marginRight, marginBottom-                               -- ** Floating alignment-                             , floatTopLeft, floatTop, floatTopRight-                             , floatLeft, floatCentre, floatCenter, floatRight-                             , floatBottomLeft, floatBottom, floatBottomRight-                               -- ** Horizontal floating alignment-                             , hfloatLeft, hfloatCentre, hfloatCenter, hfloatRight-                               -- ** Vertical floating alignment-                             , vfloatTop, vfloatCentre, vfloatCenter, vfloatBottom-                               -- ** Alignment-                             , centre-                             , alignTopLeft, alignTop, alignTopRight-                             , alignLeft, alignCentre, alignCenter, alignRight-                             , alignBottomLeft, alignBottom, alignBottomRight-                               -- ** Horizontal alignment-                             , halignLeft, halignCentre, halignCenter, halignRight-                               -- ** Vertical alignment-                             , valignTop, valignCentre, valignCenter, valignBottom-                             ) where--import Data.List( transpose )-import Graphics.UI.WXCore.WxcTypes-import Graphics.UI.WXCore.WxcDefs-import Graphics.UI.WXCore.WxcClasses-import Graphics.UI.WXCore.WxcClassInfo-import Graphics.UI.WXCore.Types-import Graphics.UI.WXCore.Frame-import Graphics.UI.WXCore.Defines--{------------------------------------------------------------------------------------------  Classes------------------------------------------------------------------------------------------}--- | Anything in the widget class can be layed out.-class Widget w where-  -- | Create a layout from a widget.-  widget :: w -> Layout--instance Widget Layout where-  widget layout-    = layout--instance Widget (Window a) where-  widget w-    = layoutFromWindow w---{------------------------------------------------------------------------------------------  Abstractions------------------------------------------------------------------------------------------}-{---- | Layout elements horizontally with no space between the elements.-row :: [Layout] -> Layout-row-  = horizontal 0---- | Layout elements vertically with no space between the elements.-column :: [Layout] -> Layout-column-  = vertical 0---- | Layout elements in a 'grid' with no space between the elements.-matrix :: [[Layout]] -> Layout-matrix-  = grid 0 0---- | Create a border. (= @'boxed' \"\"@).-border :: Layout -> Layout-border-  = boxed ""---}---- | The layout is stretchable and expands into the assigned area. (see also 'stretch' and 'expand').-fill :: Layout -> Layout-fill-  = stretch . expand---- | The layout is horizontally stretchable and expands into the assigned area. (see also 'hstretch' and 'expand').-hfill :: Layout -> Layout-hfill-  = hstretch . expand---- | The layout is vertically stretchable and expands into the assigned area. (see also 'vstretch' and 'expand').-vfill :: Layout -> Layout-vfill-  = vstretch . expand---- | Layout elements in a horizontal direction with a certain amount of space between the elements.-row :: Int -> [Layout] -> Layout-row w row-  = grid w 0 [row]---- | Layout elements in a vertical direction with a certain amount of space between the elements.-column :: Int -> [Layout] -> Layout-column h col-  = grid 0 h (map (\x -> [x]) col)----{------------------------------------------------------------------------------------------  Float------------------------------------------------------------------------------------------}--- | Make the layout stretchable and align it in the center of the assigned area.-floatCenter :: Layout -> Layout-floatCenter-  = floatCentre---- | Make the layout stretchable and align it in the center of the assigned area.-floatCentre :: Layout -> Layout-floatCentre-  = stretch . alignCentre---- | Make the layout stretchable and align it in the top-left corner of the assigned area (default).-floatTopLeft :: Layout -> Layout-floatTopLeft-  = stretch . alignTopLeft---- | Make the layout stretchable and align it centered on the top of the assigned area.-floatTop :: Layout -> Layout-floatTop-  = stretch . alignTop---- | Make the layout stretchable and align it to the top-right of the assigned area.-floatTopRight :: Layout -> Layout-floatTopRight-  = stretch . alignTopRight---- | Make the layout stretchable and align it centered to the left of the assigned area.-floatLeft :: Layout -> Layout-floatLeft-  = stretch . alignLeft---- | Make the layout stretchable and align it centered to the right of the assigned area.-floatRight :: Layout -> Layout-floatRight-  = stretch . alignRight---- | Make the layout stretchable and align it to the bottom-left of the assigned area.-floatBottomLeft :: Layout -> Layout-floatBottomLeft-  = stretch . alignBottomLeft---- | Make the layout stretchable and align it centered on the bottom of the assigned area.-floatBottom :: Layout -> Layout-floatBottom-  = stretch . alignBottom---- | Make the layout stretchable and align it to the bottom-right of the assigned area.-floatBottomRight :: Layout -> Layout-floatBottomRight-  = stretch . alignBottomRight---- | Make the layout horizontally stretchable and align to the center.-hfloatCenter :: Layout -> Layout-hfloatCenter -  = hfloatCentre---- | Make the layout horizontally stretchable and align to the center.-hfloatCentre :: Layout -> Layout-hfloatCentre-  = hstretch . alignCentre---- | Make the layout horizontally stretchable and align to the left.-hfloatLeft :: Layout -> Layout-hfloatLeft-  = hstretch . alignLeft---- | Make the layout horizontally stretchable and align to the right.-hfloatRight :: Layout -> Layout-hfloatRight-  = hstretch . alignRight---- | Make the layout vertically stretchable and align to the center.-vfloatCenter :: Layout -> Layout-vfloatCenter-  = vfloatCentre---- | Make the layout vertically stretchable and align to the center.-vfloatCentre :: Layout -> Layout-vfloatCentre-  = vstretch . alignCentre---- | Make the layout vertically stretchable and align to the top.-vfloatTop :: Layout -> Layout-vfloatTop-  = vstretch . alignTop---- | Make the layout vertically stretchable and align to the bottom.-vfloatBottom :: Layout -> Layout-vfloatBottom-  = vstretch . alignBottom--{------------------------------------------------------------------------------------------  Alignment------------------------------------------------------------------------------------------}--- | Align the layout in the center of the assigned area.-center :: Layout -> Layout-center-  = centre---- | Align the layout in the center of the assigned area.-centre :: Layout -> Layout-centre-  = alignCentre---- | Align the layout in the center of the assigned area.-alignCenter :: Layout -> Layout-alignCenter-  = alignCentre---- | Align the layout in the center of the assigned area.-alignCentre :: Layout -> Layout-alignCentre-  = halignCentre . valignCentre---- | Align the layout in the top-left corner of the assigned area (default).-alignTopLeft :: Layout -> Layout-alignTopLeft-  = valignTop . halignLeft---- | Align the layout centered on the top of the assigned area.-alignTop :: Layout -> Layout-alignTop-  = valignTop . halignCentre---- | Align the layout to the top-right of the assigned area.-alignTopRight :: Layout -> Layout-alignTopRight-  = valignTop . halignRight---- | Align the layout centered to the left of the assigned area.-alignLeft :: Layout -> Layout-alignLeft-  = valignCentre . halignLeft---- | Align the layout centered to the right of the assigned area.-alignRight :: Layout -> Layout-alignRight-  = valignCentre . halignRight---- | Align the layout to the bottom-left of the assigned area.-alignBottomLeft :: Layout -> Layout-alignBottomLeft-  = valignBottom . halignLeft---- | Align the layout centered on the bottom of the assigned area.-alignBottom :: Layout -> Layout-alignBottom-  = valignBottom . halignCentre---- | Align the layout to the bottom-right of the assigned area.-alignBottomRight :: Layout -> Layout-alignBottomRight-  = valignBottom . halignRight--{------------------------------------------------------------------------------------------  Whitespace------------------------------------------------------------------------------------------}---- | An empty layout that stretchable in all directions.-glue :: Layout-glue-  = stretch empty---- | An empty layout that is vertically stretchable.-vglue :: Layout-vglue-  = vstretch empty---- | An empty layout that is horizontally stretchable.-hglue :: Layout-hglue-  = hstretch empty---- | An empty layout. (see also 'space').-empty :: Layout-empty-  = space 0 0---- | Horizontal 'space' of a certain width.-hspace :: Int -> Layout-hspace w-  = space w 0---- | Vertical 'space' of a certain height.-vspace :: Int -> Layout-vspace h-  = space 0 h---{------------------------------------------------------------------------------------------  Primitive layout tranformers------------------------------------------------------------------------------------------}---- | (primitive) Set the minimal size of a widget.-minsize :: Size -> Layout -> Layout-minsize sz layout-  = updateOptions layout (\options -> options{ minSize = Just sz })---- | (primitive) Never resize the layout, but align it in the assigned area--- (default, except for containers like 'grid' and 'boxed' where it depends on the child layouts).-rigid :: Layout -> Layout-rigid layout-  = updateOptions layout (\options -> options{ fillMode = FillNone })---- | (primitive) Expand the layout to fill the assigned area but maintain the original proportions--- of the layout. Note that the layout can still be aligned in a horizontal or vertical direction.-shaped :: Layout -> Layout-shaped layout-  = updateOptions layout (\options -> options{ fillMode = FillShaped })---- | (primitive) Expand the layout to fill the assigned area entirely, even when the original proportions can not--- be maintained. Note that alignment will have no effect on such layout. See also 'fill'.-expand :: Layout -> Layout-expand layout-  = updateOptions layout (\options -> options{ fillMode = Fill })----- | (primitive) The layout is not stretchable. In a 'grid', the row and column that contain this layout will--- not be resizeable. Note that a 'static' layout can still be assigned an area that is larger--- than its preferred size due to grid alignment constraints.--- (default, except for containers like 'grid' and 'boxed' where it depends on the child layouts).-static :: Layout -> Layout-static layout-  = updateOptions layout (\options -> options{ stretchV = False, stretchH = False })---- | (primitive) The layout is stretchable and can be assigned a larger area in both the horizontal and vertical--- direction. See also combinators like 'fill' and 'floatCentre'.-stretch :: Layout -> Layout-stretch layout-  = updateOptions layout (\options -> options{ stretchV = True, stretchH = True })---- | (primitive) The layout is stretchable in the vertical direction. See also combinators like 'vfill' and 'vfloatCentre'.-vstretch :: Layout -> Layout-vstretch layout-  = updateOptions layout (\options -> options{ stretchV = True, stretchH = False })---- | (primitive) The layout is stretchable in the horizontal direction. See also combinators like 'hfill' and 'hfloatCentre'.-hstretch :: Layout -> Layout-hstretch layout-  = updateOptions layout (\options -> options{ stretchH = True, stretchV = False })----- | Add a margin of a certain width around the entire layout.-margin :: Int -> Layout -> Layout-margin i layout-  = updateOptions layout (\options -> options{ margins = [MarginLeft,MarginRight,MarginTop,MarginBottom], marginW = i })---- | (primitive) Set the width of the margin (default is 10 pixels).-marginWidth :: Int -> Layout -> Layout-marginWidth w layout-  = updateOptions layout (\options -> options{ marginW = w })---- | (primitive) Remove the margin of a layout (default).-marginNone  :: Layout -> Layout-marginNone layout-  = updateOptions layout (\options -> options{ margins = [] })---- | (primitive) Add a margin to the left.-marginLeft  :: Layout -> Layout-marginLeft layout-  = updateOptions layout (\options -> options{ margins = MarginLeft:margins options })---- | (primitive) Add a right margin.-marginRight  :: Layout -> Layout-marginRight layout-  = updateOptions layout (\options -> options{ margins = MarginRight:margins options })---- | (primitive) Add a margin to the top.-marginTop  :: Layout -> Layout-marginTop layout-  = updateOptions layout (\options -> options{ margins = MarginTop:margins options })---- | (primitive) Add a margin to the bottom.-marginBottom  :: Layout -> Layout-marginBottom layout-  = updateOptions layout (\options -> options{ margins = MarginBottom:margins options })----- | (primitive) Align horizontally to the left when the layout is assigned to a larger area (default).-halignLeft :: Layout -> Layout-halignLeft layout-  = updateOptions layout (\options -> options{ alignH = AlignLeft })---- | (primitive) Align horizontally to the right when the layout is assigned to a larger area.-halignRight :: Layout -> Layout-halignRight layout-  = updateOptions layout (\options -> options{ alignH = AlignRight })---- | (primitive) Center horizontally when assigned to a larger area.-halignCenter :: Layout -> Layout-halignCenter -  = halignCentre---- | (primitive) Center horizontally when assigned to a larger area.-halignCentre :: Layout -> Layout-halignCentre layout-  = updateOptions layout (\options -> options{ alignH = AlignHCentre })---- | (primitive) Align vertically to the top when the layout is assigned to a larger area (default).-valignTop :: Layout -> Layout-valignTop layout-  = updateOptions layout (\options -> options{ alignV = AlignTop })---- | (primitive) Align vertically to the bottom when the layout is assigned to a larger area.-valignBottom :: Layout -> Layout-valignBottom layout-  = updateOptions layout (\options -> options{ alignV = AlignBottom })---- | (primitive) Center vertically when the layout is assigned to a larger area.-valignCenter :: Layout -> Layout-valignCenter layout-  = valignCentre layout---- | (primitive) Center vertically when the layout is assigned to a larger area.-valignCentre :: Layout -> Layout-valignCentre layout-  = updateOptions layout (\options -> options{ alignV = AlignVCentre })----- | Adjust the minimal size of a control dynamically when the content changes.--- This is used for example to correctly layout static text or buttons when the--- text or label changes at runtime. This property is automatically set for--- 'StaticText', 'label's, and 'button's.-dynamic :: Layout -> Layout-dynamic layout-  = updateOptions layout (\options -> options{ adjustMinSize = True })--updateOptions :: Layout -> (LayoutOptions -> LayoutOptions) -> Layout-updateOptions layout f-  = layout{ options = f (options layout) }--{------------------------------------------------------------------------------------------  primitive layouts------------------------------------------------------------------------------------------}--- | (primitive) Create a labeled border around a layout (= 'StaticBox').--- Just like a 'grid', the horizontal or vertical stretch of the child layout determines--- the stretch and expansion mode of the box.-boxed :: String -> Layout -> Layout-boxed txt content-  = TextBox optionsDefault{ stretchV = hasvstretch, stretchH = hashstretch-                          , fillMode = hasfill, adjustMinSize = True }-      txt (extramargin content)-  where-    hasvstretch  = stretchV (options content)-    hashstretch  = stretchH (options content)-    hasfill   = if (hasvstretch || hashstretch) then Fill else FillNone--    extramargin | null (margins (options content)) = marginWidth 5 . marginTop-                | otherwise                        = id---- | (primitive) Create a static label label (= 'StaticText').-label :: String -> Layout-label txt-  = Label optionsDefault txt---- | (primitive) The expression (@grid w h rows@) creates a grid of @rows@. The @w@ argument--- is the extra horizontal space between elements and @h@ the extra vertical space between elements.--- (implemented using the 'FlexGrid' sizer).------ Only when /all/ elements of a column have horizontal stretch (see 'stretch' and 'hstretch'), the entire--- column will stretch horizontally, and the same holds for rows with vertical stretch.--- When any column or row in a grid can stretch, the grid itself will also stretch in that direction--- and the grid will 'expand' to fill the assigned area by default (instead of being 'static').-grid :: Int -> Int -> [[Layout]] -> Layout-grid w h rows-  = Grid optionsDefault{ stretchV = hasvstretch, stretchH = hashstretch, fillMode = hasfill } (sz w h) rows-  where-    hasvstretch  = any (all (stretchV.options)) rows-    hashstretch  = any (all (stretchH.options)) (transpose rows)-    hasfill   = if (hasvstretch || hashstretch) then Fill else FillNone---- | (primitive) Add a container widget (for example, a 'Panel').--- Just like a 'grid', the horizontal or vertical stretch of the child layout determines--- the stretch and expansion mode of the container.-container :: Window a -> Layout -> Layout-container window layout-  = WidgetContainer optionsDefault{ stretchV = hasvstretch, stretchH = hashstretch, fillMode = hasfill }-          (downcastWindow window) layout-  where-    hasvstretch  = stretchV (options layout)-    hashstretch  = stretchH (options layout)-    hasfill   = if (hasvstretch || hashstretch) then Fill else FillNone----- | (primitive) Lift a basic control to a 'Layout'.-layoutFromWindow :: Window a -> Layout-layoutFromWindow window-  = Widget optionsDefault{ adjustMinSize = adjust } (downcastWindow window)-  where-    adjust  =  instanceOf window classButton -            || instanceOf window classStaticText----- | (primitive) Empty layout with a given width and height.-space :: Int -> Int -> Layout-space w h-  = Spacer optionsDefault (Size w h)---- | (primitive) A line with a given width and height-rule :: Int -> Int -> Layout-rule w h-  = Line optionsDefault (Size w h)----- | A vertical line with a given height.-vrule :: Int -> Layout-vrule h-  = rule 1 h---- | A horizontal line with a given width.-hrule :: Int -> Layout-hrule w-  = rule w 1---- | (primitive) Create a 'Layout' from a 'Sizer' object.-sizer :: Sizer a -> Layout-sizer s-  = XSizer optionsDefault (downcastSizer s)----- | A tab page in a notebook: a title, a possible bitmap and a layout.-type TabPage  = (String,Bitmap (),Layout)---- | Create a simple tab page with a certain title and layout.-tab :: String -> Layout -> TabPage-tab title layout-  = (title,objectNull,layout)---- | Create a tab page with a certain title, icon, and layout.-imageTab :: String -> Bitmap () -> Layout -> TabPage-imageTab title bitmap layout-  = (title,bitmap,layout)---- | Create a notebook layout.--- The pages /always/ need to be embedded inside a 'container' (normally a 'Panel'). --- Just like a 'grid', the horizontal or vertical stretch of the child layout determines--- the stretch and expansion mode of the notebook.-tabs :: Notebook a -> [TabPage] -> Layout-tabs notebook pages-  = XNotebook optionsDefault{ stretchV = hasvstretch, stretchH = hashstretch, fillMode = hasfill }-              (downcastNotebook notebook) pages-  where-    hasvstretch  = all stretchV [options layout | (_,_,layout) <- pages]-    hashstretch  = all stretchH [options layout | (_,_,layout) <- pages]-    hasfill      = if (hasvstretch || hashstretch) then Fill else FillNone---- | Add a horizontal sash bar between two windows. The two integer--- arguments specify the width of the sash bar (5) and the initial--- height of the top pane respectively.-hsplit :: SplitterWindow a -> Int -> Int -> Layout -> Layout -> Layout-hsplit-  = split True---- | Add a vertical sash bar between two windows. The two integer--- arguments specify the width of the sash bar (5) and the initial--- width of the left pane respectively. -vsplit :: SplitterWindow a -> Int -> Int -> Layout -> Layout -> Layout-vsplit-  = split False---split :: Bool -> SplitterWindow a -> Int -> Int -> Layout -> Layout -> Layout-split splitHorizontal splitter sashWidth paneWidth pane1 pane2-  = Splitter optionsDefault (downcastSplitterWindow splitter) pane1 pane2 splitHorizontal sashWidth paneWidth---optionsDefault :: LayoutOptions-optionsDefault-  = LayoutOptions False False [] 10 AlignLeft AlignTop FillNone Nothing False------{------------------------------------------------------------------------------------------  Layout algorithm------------------------------------------------------------------------------------------}--- | Abstract data type that represents the layout of controls in a window.-data Layout = Grid      { options :: LayoutOptions, gap  :: Size, rows :: [[Layout]] }-            | Widget    { options :: LayoutOptions, win  :: Window () }-            | Spacer    { options :: LayoutOptions, spacesize :: Size   }-            | Label     { options :: LayoutOptions, txt  :: String    }-            | TextBox   { options :: LayoutOptions, txt  :: String, content :: Layout }-            | Line      { options :: LayoutOptions, linesize :: Size }-            | XSizer    { options :: LayoutOptions, xsizer :: Sizer () }-            | WidgetContainer{ options :: LayoutOptions, win :: Window (), content :: Layout }-            | XNotebook { options :: LayoutOptions, nbook :: Notebook (), pages :: [(String,Bitmap (),Layout)] }-            | Splitter  { options :: LayoutOptions, splitter :: SplitterWindow ()-                        , pane1 :: Layout, pane2 :: Layout-                        , splitHorizontal :: Bool, sashWidth :: Int, paneWidth :: Int }--data LayoutOptions-           = LayoutOptions{ stretchH :: Bool, stretchV :: Bool-                          , margins :: [Margin], marginW :: Int-                          , alignH :: HAlign, alignV :: VAlign-                          , fillMode :: FillMode-                          , minSize  :: Maybe Size-                          , adjustMinSize :: Bool-                          }--data FillMode = FillNone | FillShaped | Fill-data HAlign   = AlignLeft | AlignRight | AlignHCentre-data VAlign   = AlignTop | AlignBottom | AlignVCentre-data Margin   = MarginTop | MarginLeft | MarginRight | MarginBottom---- | Fits a widget properly by calling 'windowReLayout' on--- the parent frame or dialog ('windowGetFrameParent').-windowReFit :: Window a -> IO ()-windowReFit w-  = do p <- windowGetFrameParent w-       windowReLayout p---- | Fits a widget properly by calling 'windowReLayout' on--- the parent frame or dialog ('windowGetFrameParent').-windowReFitMinimal :: Window a -> IO ()-windowReFitMinimal w-  = do p <- windowGetFrameParent w-       windowReLayoutMinimal p---- | Re-invoke layout algorithm to fit a window around its--- children. It will enlarge when the current--- client size is too small, but not shrink when the window--- is already large enough. (in contrast, 'windowReLayoutMinimal' will--- also shrink a window so that it always minimally sized).-windowReLayout :: Window a -> IO ()-windowReLayout w-  = do windowLayout w-       old <- windowGetClientSize w-       szr <- windowGetSizer w-       when (not (objectIsNull szr)) (sizerSetSizeHints szr w)-       windowFit w-       new <- windowGetClientSize w-       windowSetClientSize w (sizeMax old new)---- | Re-invoke layout algorithm to fit a window around its--- children. It will resize the window to its minimal --- acceptable size ('windowFit').-windowReLayoutMinimal :: Window a -> IO ()  -windowReLayoutMinimal w-  = do windowLayout w-       szr <- windowGetSizer w-       when (not (objectIsNull szr)) (sizerSetSizeHints szr w)-       windowFit w---- | Set the layout of a window (automatically calls 'sizerFromLayout').-windowSetLayout :: Window a -> Layout -> IO ()-windowSetLayout window layout-  = do sizer <- sizerFromLayout window layout-       windowSetAutoLayout window True-       windowSetSizer window sizer-       sizerSetSizeHints sizer window-       return ()---- | Create a 'Sizer' from a 'Layout' and a parent window.-sizerFromLayout :: Window a -> Layout -> IO (Sizer ())-sizerFromLayout parent layout-  = insert objectNull (grid 0 0 [[stretch layout]])-  where-    insert :: Sizer () -> Layout -> IO (Sizer ())-    insert container (Spacer options sz)-      = do sizerAddWithOptions 0 (sizerAdd container sz) (\sz -> return ()) options-           return container--    insert container (Widget options win)-      = do sizerAddWindowWithOptions container win options-           return container--    insert container (Grid goptions gap rows)-      = do g <- flexGridSizerCreate (length rows) (maximum (map length rows)) (sizeH gap) (sizeW gap)-           mapM_ (stretchRow g) (zip [0..] (map (all (stretchV.options)) rows))-           mapM_ (stretchCol g) (zip [0..] (map (all (stretchH.options)) (transpose rows)))-           mapM_ (insert (downcastSizer g)) (concat rows)-           when (container /= objectNull) -             (sizerAddSizerWithOptions container g goptions)-           return (downcastSizer g)--    insert container (Label options txt)-      = do t <- staticTextCreate parent idAny txt rectNull 0-           sizerAddWindowWithOptions container t options-           return container--    insert container (TextBox options txt layout)-      = do box   <- staticBoxCreate parent idAny txt rectNull (wxCLIP_CHILDREN .+. wxNO_FULL_REPAINT_ON_RESIZE)-           sizer <- staticBoxSizerCreate box wxVERTICAL-           insert (downcastSizer sizer) layout-           when (container /= objectNull) -             (sizerAddSizerWithOptions container sizer options)-           windowLower box-           return (downcastSizer sizer)--    insert container (Line options (Size w h))-      = do l <- staticLineCreate parent idAny (rectNull{ rectWidth = w, rectHeight = h }) -                  (if (w >= h) then wxHORIZONTAL else wxVERTICAL)-           sizerAddWindowWithOptions container l options-           return container--    insert container (XSizer options sizer)-      = do sizerAddSizerWithOptions container sizer options-           return container--    insert container (WidgetContainer options win layout)-      = do windowSetLayout win layout -- recursively set the layout in the window itself-           sizerAddWindowWithOptions container win options-           return container--    insert container (Splitter options splitter pane1 pane2 splitHorizontal sashWidth paneWidth)-      = do splitterWindowSetMinimumPaneSize splitter 20-           splitterWindowSetSashSize splitter sashWidth-           sizerAddWindowWithOptions container splitter options-           if splitHorizontal-            then splitterWindowSplitHorizontally splitter win1 win2 paneWidth-            else splitterWindowSplitVertically splitter win1 win2 paneWidth-           paneSetLayout pane1-           paneSetLayout pane2-           -           return container-      where-        win1  = getWinFromLayout pane1-        win2  = getWinFromLayout pane2--        getWinFromLayout layout-          = case layout of-              Widget _ win            -> downcastWindow win-              WidgetContainer _ win _ -> downcastWindow win-              Splitter _ splitter _ _ _ _ _ -> downcastWindow splitter-              other                   -> error "Layout: hsplit/vsplit need widgets or containers as arguments"--        paneSetLayout layout-          = case layout of-              Widget _ win            -> return ()-              WidgetContainer options win layout -> windowSetLayout win layout-              Splitter options splitter pane1 pane2 splitHorizontal sashWidth paneWidth -                                      ->  do splitterWindowSetMinimumPaneSize splitter 20-                                             splitterWindowSetSashSize splitter sashWidth-                                             -- sizerAddWindowWithOptions container splitter options-                                             let win1 = getWinFromLayout pane1-                                                 win2 = getWinFromLayout pane2-                                             if splitHorizontal-                                              then splitterWindowSplitHorizontally splitter win1 win2 paneWidth-                                              else splitterWindowSplitVertically splitter win1 win2 paneWidth-                                             paneSetLayout pane1-                                             paneSetLayout pane2-                                             return ()-              other                   -> error "Layout: hsplit/vsplit need widgets or containers as arguments"---    insert container (XNotebook options nbook pages)-      = do pages' <- addImages objectNull pages-           mapM_ addPage pages'-           sizerAddWindowWithOptions container nbook options-           return container-      where-        addPage (title,idx,WidgetContainer options win layout)-          = do pagetitle <- if (null title)-                             then windowGetLabel win-                             else return title-               notebookAddPage nbook win pagetitle False idx-               windowSetLayout win layout  -- recursively set layout--        addPage (title,idx,other)-          = error "Graphics.UI.WXCore.sizerFromLayout: notebook page needs to be a 'container' layout!"--        addImages il []-          = if (objectIsNull il)-             then return []-             else do notebookAssignImageList nbook il-                     return []--        addImages il ((title,bm,layout):xs)   | objectIsNull bm -          = do xs' <- addImages il xs-               return ((title,-1,layout):xs')--        addImages il ((title,bm,layout):xs)-          = do il' <- addImage il bm-               i   <- imageListGetImageCount il'-               xs' <- addImages il' xs-               return ((title,i,layout):xs')--        addImage il bm-          = if (objectIsNull il)-             then do w  <- bitmapGetWidth bm-                     h  <- bitmapGetHeight bm-                     il <- imageListCreate (sz w h) False 1-                     imageListAddBitmap il bm objectNull-                     return il-             else do imageListAddBitmap il bm objectNull-                     return il---    stretchRow g (i,stretch)-      = when stretch (flexGridSizerAddGrowableRow g i)--    stretchCol g (i,stretch)-      = when stretch (flexGridSizerAddGrowableCol g i)--    --    sizerAddWindowWithOptions :: Sizer a -> Window b -> LayoutOptions -> IO ()-    sizerAddWindowWithOptions container window options-      = sizerAddWithOptions (flagsAdjustMinSize window options) -                            (sizerAddWindow container window) (sizerSetItemMinSizeWindow container window) options--    sizerAddSizerWithOptions :: Sizer a -> Sizer b -> LayoutOptions -> IO ()-    sizerAddSizerWithOptions container sizer options-      = sizerAddWithOptions 0 (sizerAddSizer container sizer) (sizerSetItemMinSizeSizer container sizer) options-           --    sizerAddWithOptions :: Int -> (Int -> Int -> Int -> Ptr p -> IO ()) -> (Size -> IO ()) -> LayoutOptions -> IO ()-    sizerAddWithOptions miscflags addSizer setMinSize options-      = do addSizer 1 (flags options .+. miscflags) (marginW options) ptrNull-           case minSize options of-             Nothing -> return ()-             Just sz -> setMinSize sz--    flags options-      = flagsFillMode (fillMode options) .+. flagsMargins (margins options)-        .+. flagsHAlign (alignH options) .+. flagsVAlign (alignV options)--    flagsFillMode fillMode-      = case fillMode of-          FillNone    -> 0-          FillShaped  -> wxSHAPED-          Fill        -> wxEXPAND--    flagsHAlign halign-      = case halign of-          AlignLeft    -> wxALIGN_LEFT-          AlignRight   -> wxALIGN_RIGHT-          AlignHCentre -> wxALIGN_CENTRE_HORIZONTAL--    flagsVAlign valign-      = case valign of-          AlignTop     -> wxALIGN_TOP-          AlignBottom  -> wxALIGN_BOTTOM-          AlignVCentre -> wxALIGN_CENTRE_VERTICAL--    flagsMargins margins-      = bits (map flagsMargin margins)--    flagsMargin margin-      = case margin of-          MarginTop    -> wxTOP-          MarginLeft   -> wxLEFT-          MarginBottom -> wxBOTTOM-          MarginRight  -> wxRIGHT-    -    flagsAdjustMinSize window options-      = if (adjustMinSize options) -         then wxADJUST_MINSIZE-         else 0-{-      -        case minSize options of-          Nothing | -- dleijen: unfortunately, wxADJUST_MINSIZE has bugs for certain controls:-                    not ( instanceOf window classGauge || instanceOf window classGauge95 -                         || instanceOf window classGaugeMSW -                         || instanceOf window classSlider || instanceOf window classSlider95 -                         || instanceOf window classSliderMSW -                        )-                  -> wxADJUST_MINSIZE-          other   -> 0--}+{-# LANGUAGE TypeSynonymInstances #-}
+{-# LANGUAGE FlexibleInstances #-}
+-----------------------------------------------------------------------------------------
+{-|
+Module      :  Layout
+Copyright   :  (c) Daan Leijen & Wijnand van Suijlen 2003
+License     :  wxWindows
+
+Maintainer  :  wxhaskell-devel@lists.sourceforge.net
+Stability   :  provisional
+Portability :  portable
+
+Combinators to specify layout. (These combinators use wxWidgets 'Sizer' objects).
+
+Layout can be specified using 'windowSetLayout'. For example:
+
+> do f  <- frameCreateTopFrame "Test"
+>    ok <- buttonCreate f idAny "Bye" rectNull 0
+>    windowSetLayout f (widget ok)
+>    ...
+
+The 'windowSetLayout' function takes 'Layout' as its argument.
+The 'widget' combinator creates a layout from a window. The 'space' combinator creates
+an empty layout with a specific width and height. Furthermore, we have the 'label' combinator
+to create a static label label and 'boxed' to create a labeled border around a layout.
+The 'grid' combinator lays out elements in a table with a given space between the elements.
+Here is for example a layout for retrieving an /x/ and /y/ coordinate from the user, with 5 pixels space
+between the controls:
+
+> boxed "coordinates" (grid 5 5 [[label "x", widget xinput]
+>                               ,[label "y", widget yinput]])
+
+Combinators like 'row' and 'column' are specific instances of grids. We can use
+these combinator to good effect to add an /ok/ and /cancel/ button at the bottom of our dialog:
+
+> column 5 [ boxed "coordinates" (grid 5 5 [[label "x", widget xinput]
+>                                          ,[label "y", widget yinput]])
+>          , row 5 [widget ok, widget cancel]]
+
+Layout /tranformers/ influence attributes of a layout. The 'margin' combinator adds a
+margin around a layout. The /align/ combinators specify how a combinator is aligned when
+the assigned area is larger than the layout itself. We can use these transformers to
+add a margin around our dialog and to align the buttons to the bottom right (instead of the
+default top-left):
+
+> margin 10 $ column 5 [ boxed "coordinates" (grid 5 5 [[label "x", widget xinput]
+>                                                      ,[label "y", widget yinput]])
+>                      , alignBottomRight $ row 5 [widget ok, widget cancel]]
+
+Besides aligning a layout in its assigned area, we can also specify that a layout should
+expand to fill the assigned area. The 'shaped' combinator fills an area while maintaining the
+original proportions (or aspect ratio) of a layout. The 'expand' combinator always tries to fill
+the entire area (and alignment is ignored).
+
+The final attribute is the /stretch/ of a layout. A stretchable layout may get a larger
+area assigned than the minimally required area. This can be used to fill out the entire parent
+area -- this happens for example when a user enlarges a dialog.
+
+The default stretch and expansion mode of layout containers, like 'grid' and 'boxed', depends on the
+stretch of the child layouts.  A column of a /grid/ is only stretchable when all
+elements of that column have horizontal stretch. The same holds for rows with vertical stretch.
+When any column or row is stretchable, the grid itself will also be stretchable in that direction
+and the grid will 'expand' to fill the assigned area by default (instead of being 'static'). Just like
+a grid, other containers, like 'container', 'boxed', 'tabs', 'row', and 'column', will also propagate the stretch
+and expansion mode of their child layouts.
+
+Armed with the 'stretch' combinators we can make our dialog resizeable.
+We let the input widgets resize horizontally. Furthermore, the button row will resize
+vertically and horizontally with the buttons aligned to the bottom right. Due to the
+stretch propagation rules, the 'grid' and 'boxed' stretch horizontally and 'expand' to fill the
+assigned area. The horizontal 'row' does /not/ stretch by default (and we need to use
+an explicit 'stretch') and it does /not/ expand into the assigned area by default (and therefore
+alignment works properly).
+
+> margin 10 $ column 5 [ boxed "coordinates" (grid 5 5 [[label "x", hstretch $ expand $ widget xinput]
+>                                                      ,[label "y", hstretch $ expand $ widget yinput]])
+>                      , stretch $ alignBottomRight $ row 5 [widget ok, widget cancel]]
+
+There are some common uses of stretchable combinators. The 'fill' combinators combine
+stretch and expansion. For example, 'hfill' is defined as (@hstretch . expand@). The /float/
+combinators combine alignment and 'stretch'. For example, 'floatBottomRight' is defined
+as (@stretch . alignBottomRight@). There are also horizontal and vertical float combinators,
+like 'hfloatCentre' and 'vfloatBottom'. Here is the above example using 'fill' and float:
+
+> margin 10 $ column 5 [ boxed "coordinates" (grid 5 5 [[label "x", hfill $ widget xinput]
+>                                                      ,[label "y", hfill $ widget yinput]])
+>                      , floatBottomRight $ row 5 [widget ok, widget cancel]]
+
+The 'glue' combinators are stretchable empty space. For example, 'hglue'
+is defined as (@hstretch (space 0 0)@). We can use glue to mimic alignment. Here is the above
+layout specified with glue. Note that we use 'hspace' to manually insert
+space between the elements or  otherwise there would be space between the glue and
+the /ok/ button.
+
+> margin 10 $ column 5 [ boxed "coordinates" (grid 5 5 [[label "x", hfill $ widget xinput]
+>                                                      ,[label "y", hfill $ widget yinput]])
+>                      , glue
+>                      , row 0 [hglue, widget ok, hspace 5, widget cancel]]
+
+Splitter windows can also be specified with layout; you get somewhat less functionality
+but it is quite convenient for most applications. A horizontal split is done using
+'hsplit' while a vertical split is specified with a 'vsplit'.
+
+The layout for notebooks is specified with the 'tabs' combinator. The following
+example shows this (and note also how we use 'container' to set the layout of panels):
+
+> nbook  <- notebookCreate ...
+> panel1 <- panelCreate nbook ...
+> ...
+> panel2 <- panelCreate nbook ...
+> ...
+> windowSetLayout frame
+>    (tabs nbook [tab "page one" $ container panel1 $ margin 10 $ floatCentre $ widget ok
+>                ,tab "page two" $ container panel2 $ margin 10 $ hfill $ widget quit])
+
+The pages /always/ need to be embedded inside a 'container' (normally a 'Panel'). The
+title of the pages is determined from the label of the container widget.
+
+Note: /At the moment, extra space is divided evenly among stretchable layouts. We plan to add
+a (/@proportion :: Int -> Layout -> Layout@/) combinator in the future to stretch layouts
+according to a relative weight, but unfortunately, that entails implementing a better
+/'FlexGrid'/ sizer for wxWidgets./
+-}
+-----------------------------------------------------------------------------------------
+module Graphics.UI.WXCore.Layout( -- * Types
+                               Layout, sizerFromLayout
+                             , TabPage
+                               -- * Window
+                             , windowSetLayout, layoutFromWindow
+                             , windowReFit, windowReFitMinimal
+                             , windowReLayout, windowReLayoutMinimal
+                               -- * Layouts                               
+                               -- ** Widgets
+                             , Widget, widget, label, rule, hrule, vrule, sizer
+                               -- ** Containers
+                             , row, column
+                             , grid, boxed, container, tab, imageTab, tabs
+                             , hsplit, vsplit
+                               -- ** Glue
+                             , glue, hglue, vglue
+                               -- ** Whitespace
+                             , space, hspace, vspace, empty
+                               -- * Transformers
+                             , dynamic
+                               -- ** Stretch
+                             , static, stretch, hstretch, vstretch, minsize
+                               -- ** Expansion
+                             , rigid, shaped, expand
+                               -- ** Fill
+                             , fill, hfill, vfill
+                               -- ** Margin
+                             , margin, marginWidth, marginNone
+                             , marginLeft, marginTop, marginRight, marginBottom
+                               -- ** Floating alignment
+                             , floatTopLeft, floatTop, floatTopRight
+                             , floatLeft, floatCentre, floatCenter, floatRight
+                             , floatBottomLeft, floatBottom, floatBottomRight
+                               -- ** Horizontal floating alignment
+                             , hfloatLeft, hfloatCentre, hfloatCenter, hfloatRight
+                               -- ** Vertical floating alignment
+                             , vfloatTop, vfloatCentre, vfloatCenter, vfloatBottom
+                               -- ** Alignment
+                             , center, centre
+                             , alignTopLeft, alignTop, alignTopRight
+                             , alignLeft, alignCentre, alignCenter, alignRight
+                             , alignBottomLeft, alignBottom, alignBottomRight
+                               -- ** Horizontal alignment
+                             , halignLeft, halignCentre, halignCenter, halignRight
+                               -- ** Vertical alignment
+                             , valignTop, valignCentre, valignCenter, valignBottom
+                             , nullLayouts -- This is just to remove "Defined but not used" warnings
+                             ) where
+
+import Data.List( transpose )
+import Graphics.UI.WXCore.WxcTypes
+import Graphics.UI.WXCore.WxcDefs
+import Graphics.UI.WXCore.WxcClasses
+import Graphics.UI.WXCore.WxcClassInfo
+import Graphics.UI.WXCore.Types
+import Graphics.UI.WXCore.Frame
+
+{-----------------------------------------------------------------------------------------
+  Classes
+-----------------------------------------------------------------------------------------}
+-- | Anything in the widget class can be layed out.
+class Widget w where
+  -- | Create a layout from a widget.
+  widget :: w -> Layout
+
+instance Widget Layout where
+  widget layout
+    = layout
+
+instance Widget (Window a) where
+  widget w
+    = layoutFromWindow w
+
+
+{-----------------------------------------------------------------------------------------
+  Abstractions
+-----------------------------------------------------------------------------------------}
+{-
+-- | Layout elements horizontally with no space between the elements.
+row :: [Layout] -> Layout
+row
+  = horizontal 0
+
+-- | Layout elements vertically with no space between the elements.
+column :: [Layout] -> Layout
+column
+  = vertical 0
+
+-- | Layout elements in a 'grid' with no space between the elements.
+matrix :: [[Layout]] -> Layout
+matrix
+  = grid 0 0
+
+-- | Create a border. (= @'boxed' \"\"@).
+border :: Layout -> Layout
+border
+  = boxed ""
+
+-}
+
+-- | The layout is stretchable and expands into the assigned area. (see also 'stretch' and 'expand').
+fill :: Layout -> Layout
+fill
+  = stretch . expand
+
+-- | The layout is horizontally stretchable and expands into the assigned area. (see also 'hstretch' and 'expand').
+hfill :: Layout -> Layout
+hfill
+  = hstretch . expand
+
+-- | The layout is vertically stretchable and expands into the assigned area. (see also 'vstretch' and 'expand').
+vfill :: Layout -> Layout
+vfill
+  = vstretch . expand
+
+-- | Layout elements in a horizontal direction with a certain amount of space between the elements.
+row :: Int -> [Layout] -> Layout
+row w row'
+  = grid w 0 [row']
+
+-- | Layout elements in a vertical direction with a certain amount of space between the elements.
+column :: Int -> [Layout] -> Layout
+column h col
+  = grid 0 h (map (\x -> [x]) col)
+
+
+
+{-----------------------------------------------------------------------------------------
+  Float
+-----------------------------------------------------------------------------------------}
+-- | Make the layout stretchable and align it in the center of the assigned area.
+floatCenter :: Layout -> Layout
+floatCenter
+  = floatCentre
+
+-- | Make the layout stretchable and align it in the center of the assigned area.
+floatCentre :: Layout -> Layout
+floatCentre
+  = stretch . alignCentre
+
+-- | Make the layout stretchable and align it in the top-left corner of the assigned area (default).
+floatTopLeft :: Layout -> Layout
+floatTopLeft
+  = stretch . alignTopLeft
+
+-- | Make the layout stretchable and align it centered on the top of the assigned area.
+floatTop :: Layout -> Layout
+floatTop
+  = stretch . alignTop
+
+-- | Make the layout stretchable and align it to the top-right of the assigned area.
+floatTopRight :: Layout -> Layout
+floatTopRight
+  = stretch . alignTopRight
+
+-- | Make the layout stretchable and align it centered to the left of the assigned area.
+floatLeft :: Layout -> Layout
+floatLeft
+  = stretch . alignLeft
+
+-- | Make the layout stretchable and align it centered to the right of the assigned area.
+floatRight :: Layout -> Layout
+floatRight
+  = stretch . alignRight
+
+-- | Make the layout stretchable and align it to the bottom-left of the assigned area.
+floatBottomLeft :: Layout -> Layout
+floatBottomLeft
+  = stretch . alignBottomLeft
+
+-- | Make the layout stretchable and align it centered on the bottom of the assigned area.
+floatBottom :: Layout -> Layout
+floatBottom
+  = stretch . alignBottom
+
+-- | Make the layout stretchable and align it to the bottom-right of the assigned area.
+floatBottomRight :: Layout -> Layout
+floatBottomRight
+  = stretch . alignBottomRight
+
+-- | Make the layout horizontally stretchable and align to the center.
+hfloatCenter :: Layout -> Layout
+hfloatCenter 
+  = hfloatCentre
+
+-- | Make the layout horizontally stretchable and align to the center.
+hfloatCentre :: Layout -> Layout
+hfloatCentre
+  = hstretch . alignCentre
+
+-- | Make the layout horizontally stretchable and align to the left.
+hfloatLeft :: Layout -> Layout
+hfloatLeft
+  = hstretch . alignLeft
+
+-- | Make the layout horizontally stretchable and align to the right.
+hfloatRight :: Layout -> Layout
+hfloatRight
+  = hstretch . alignRight
+
+-- | Make the layout vertically stretchable and align to the center.
+vfloatCenter :: Layout -> Layout
+vfloatCenter
+  = vfloatCentre
+
+-- | Make the layout vertically stretchable and align to the center.
+vfloatCentre :: Layout -> Layout
+vfloatCentre
+  = vstretch . alignCentre
+
+-- | Make the layout vertically stretchable and align to the top.
+vfloatTop :: Layout -> Layout
+vfloatTop
+  = vstretch . alignTop
+
+-- | Make the layout vertically stretchable and align to the bottom.
+vfloatBottom :: Layout -> Layout
+vfloatBottom
+  = vstretch . alignBottom
+
+{-----------------------------------------------------------------------------------------
+  Alignment
+-----------------------------------------------------------------------------------------}
+-- | Align the layout in the center of the assigned area.
+center :: Layout -> Layout
+center
+  = centre
+
+-- | Align the layout in the center of the assigned area.
+centre :: Layout -> Layout
+centre
+  = alignCentre
+
+-- | Align the layout in the center of the assigned area.
+alignCenter :: Layout -> Layout
+alignCenter
+  = alignCentre
+
+-- | Align the layout in the center of the assigned area.
+alignCentre :: Layout -> Layout
+alignCentre
+  = halignCentre . valignCentre
+
+-- | Align the layout in the top-left corner of the assigned area (default).
+alignTopLeft :: Layout -> Layout
+alignTopLeft
+  = valignTop . halignLeft
+
+-- | Align the layout centered on the top of the assigned area.
+alignTop :: Layout -> Layout
+alignTop
+  = valignTop . halignCentre
+
+-- | Align the layout to the top-right of the assigned area.
+alignTopRight :: Layout -> Layout
+alignTopRight
+  = valignTop . halignRight
+
+-- | Align the layout centered to the left of the assigned area.
+alignLeft :: Layout -> Layout
+alignLeft
+  = valignCentre . halignLeft
+
+-- | Align the layout centered to the right of the assigned area.
+alignRight :: Layout -> Layout
+alignRight
+  = valignCentre . halignRight
+
+-- | Align the layout to the bottom-left of the assigned area.
+alignBottomLeft :: Layout -> Layout
+alignBottomLeft
+  = valignBottom . halignLeft
+
+-- | Align the layout centered on the bottom of the assigned area.
+alignBottom :: Layout -> Layout
+alignBottom
+  = valignBottom . halignCentre
+
+-- | Align the layout to the bottom-right of the assigned area.
+alignBottomRight :: Layout -> Layout
+alignBottomRight
+  = valignBottom . halignRight
+
+{-----------------------------------------------------------------------------------------
+  Whitespace
+-----------------------------------------------------------------------------------------}
+
+-- | An empty layout that stretchable in all directions.
+glue :: Layout
+glue
+  = stretch empty
+
+-- | An empty layout that is vertically stretchable.
+vglue :: Layout
+vglue
+  = vstretch empty
+
+-- | An empty layout that is horizontally stretchable.
+hglue :: Layout
+hglue
+  = hstretch empty
+
+-- | An empty layout. (see also 'space').
+empty :: Layout
+empty
+  = space 0 0
+
+-- | Horizontal 'space' of a certain width.
+hspace :: Int -> Layout
+hspace w
+  = space w 0
+
+-- | Vertical 'space' of a certain height.
+vspace :: Int -> Layout
+vspace h
+  = space 0 h
+
+
+{-----------------------------------------------------------------------------------------
+  Primitive layout tranformers
+-----------------------------------------------------------------------------------------}
+
+-- | (primitive) Set the minimal size of a widget.
+minsize :: Size -> Layout -> Layout
+minsize sz' layout
+  = updateOptions layout (\options' -> options'{ minSize = Just sz' })
+
+-- | (primitive) Never resize the layout, but align it in the assigned area
+-- (default, except for containers like 'grid' and 'boxed' where it depends on the child layouts).
+rigid :: Layout -> Layout
+rigid layout
+  = updateOptions layout (\options' -> options'{ fillMode = FillNone })
+
+-- | (primitive) Expand the layout to fill the assigned area but maintain the original proportions
+-- of the layout. Note that the layout can still be aligned in a horizontal or vertical direction.
+shaped :: Layout -> Layout
+shaped layout
+  = updateOptions layout (\options' -> options'{ fillMode = FillShaped })
+
+-- | (primitive) Expand the layout to fill the assigned area entirely, even when the original proportions can not
+-- be maintained. Note that alignment will have no effect on such layout. See also 'fill'.
+expand :: Layout -> Layout
+expand layout
+  = updateOptions layout (\options' -> options'{ fillMode = Fill })
+
+
+-- | (primitive) The layout is not stretchable. In a 'grid', the row and column that contain this layout will
+-- not be resizeable. Note that a 'static' layout can still be assigned an area that is larger
+-- than its preferred size due to grid alignment constraints.
+-- (default, except for containers like 'grid' and 'boxed' where it depends on the child layouts).
+static :: Layout -> Layout
+static layout
+  = updateOptions layout (\options' -> options'{ stretchV = False, stretchH = False })
+
+-- | (primitive) The layout is stretchable and can be assigned a larger area in both the horizontal and vertical
+-- direction. See also combinators like 'fill' and 'floatCentre'.
+stretch :: Layout -> Layout
+stretch layout
+  = updateOptions layout (\options' -> options'{ stretchV = True, stretchH = True })
+
+-- | (primitive) The layout is stretchable in the vertical direction. See also combinators like 'vfill' and 'vfloatCentre'.
+vstretch :: Layout -> Layout
+vstretch layout
+  = updateOptions layout (\options' -> options'{ stretchV = True, stretchH = False })
+
+-- | (primitive) The layout is stretchable in the horizontal direction. See also combinators like 'hfill' and 'hfloatCentre'.
+hstretch :: Layout -> Layout
+hstretch layout
+  = updateOptions layout (\options' -> options'{ stretchH = True, stretchV = False })
+
+
+-- | Add a margin of a certain width around the entire layout.
+margin :: Int -> Layout -> Layout
+margin i layout
+  = updateOptions layout (\options' -> options'{ margins = [MarginLeft,MarginRight,MarginTop,MarginBottom], marginW = i })
+
+-- | (primitive) Set the width of the margin (default is 10 pixels).
+marginWidth :: Int -> Layout -> Layout
+marginWidth w layout
+  = updateOptions layout (\options' -> options'{ marginW = w })
+
+-- | (primitive) Remove the margin of a layout (default).
+marginNone  :: Layout -> Layout
+marginNone layout
+  = updateOptions layout (\options' -> options'{ margins = [] })
+
+-- | (primitive) Add a margin to the left.
+marginLeft  :: Layout -> Layout
+marginLeft layout
+  = updateOptions layout (\options' -> options'{ margins = MarginLeft:margins options' })
+
+-- | (primitive) Add a right margin.
+marginRight  :: Layout -> Layout
+marginRight layout
+  = updateOptions layout (\options' -> options'{ margins = MarginRight:margins options' })
+
+-- | (primitive) Add a margin to the top.
+marginTop  :: Layout -> Layout
+marginTop layout
+  = updateOptions layout (\options' -> options'{ margins = MarginTop:margins options' })
+
+-- | (primitive) Add a margin to the bottom.
+marginBottom  :: Layout -> Layout
+marginBottom layout
+  = updateOptions layout (\options' -> options'{ margins = MarginBottom:margins options' })
+
+
+-- | (primitive) Align horizontally to the left when the layout is assigned to a larger area (default).
+halignLeft :: Layout -> Layout
+halignLeft layout
+  = updateOptions layout (\options' -> options'{ alignH = AlignLeft })
+
+-- | (primitive) Align horizontally to the right when the layout is assigned to a larger area.
+halignRight :: Layout -> Layout
+halignRight layout
+  = updateOptions layout (\options' -> options'{ alignH = AlignRight })
+
+-- | (primitive) Center horizontally when assigned to a larger area.
+halignCenter :: Layout -> Layout
+halignCenter 
+  = halignCentre
+
+-- | (primitive) Center horizontally when assigned to a larger area.
+halignCentre :: Layout -> Layout
+halignCentre layout
+  = updateOptions layout (\options' -> options'{ alignH = AlignHCentre })
+
+-- | (primitive) Align vertically to the top when the layout is assigned to a larger area (default).
+valignTop :: Layout -> Layout
+valignTop layout
+  = updateOptions layout (\options' -> options'{ alignV = AlignTop })
+
+-- | (primitive) Align vertically to the bottom when the layout is assigned to a larger area.
+valignBottom :: Layout -> Layout
+valignBottom layout
+  = updateOptions layout (\options' -> options'{ alignV = AlignBottom })
+
+-- | (primitive) Center vertically when the layout is assigned to a larger area.
+valignCenter :: Layout -> Layout
+valignCenter layout
+  = valignCentre layout
+
+-- | (primitive) Center vertically when the layout is assigned to a larger area.
+valignCentre :: Layout -> Layout
+valignCentre layout
+  = updateOptions layout (\options' -> options'{ alignV = AlignVCentre })
+
+
+-- | Adjust the minimal size of a control dynamically when the content changes.
+-- This is used for example to correctly layout static text or buttons when the
+-- text or label changes at runtime. This property is automatically set for
+-- 'StaticText', 'label's, and 'button's.
+dynamic :: Layout -> Layout
+dynamic layout
+  = updateOptions layout (\options' -> options'{ adjustMinSize = True })
+
+updateOptions :: Layout -> (LayoutOptions -> LayoutOptions) -> Layout
+updateOptions layout f
+  = layout{ options = f (options layout) }
+
+{-----------------------------------------------------------------------------------------
+  primitive layouts
+-----------------------------------------------------------------------------------------}
+-- | (primitive) Create a labeled border around a layout (= 'StaticBox').
+-- Just like a 'grid', the horizontal or vertical stretch of the child layout determines
+-- the stretch and expansion mode of the box.
+boxed :: String -> Layout -> Layout
+boxed txt' content'
+  = TextBox optionsDefault{ stretchV = hasvstretch, stretchH = hashstretch
+                          , fillMode = hasfill, adjustMinSize = True }
+      txt' (extramargin content')
+  where
+    hasvstretch  = stretchV (options content')
+    hashstretch  = stretchH (options content')
+    hasfill   = if (hasvstretch || hashstretch) then Fill else FillNone
+
+    extramargin | null (margins (options content')) = marginWidth 5 . marginTop
+                | otherwise                        = id
+
+-- | (primitive) Create a static label label (= 'StaticText').
+label :: String -> Layout
+label txt'
+  = Label optionsDefault txt'
+
+-- | (primitive) The expression (@grid w h rows@) creates a grid of @rows@. The @w@ argument
+-- is the extra horizontal space between elements and @h@ the extra vertical space between elements.
+-- (implemented using the 'FlexGrid' sizer).
+--
+-- Only when /all/ elements of a column have horizontal stretch (see 'stretch' and 'hstretch'), the entire
+-- column will stretch horizontally, and the same holds for rows with vertical stretch.
+-- When any column or row in a grid can stretch, the grid itself will also stretch in that direction
+-- and the grid will 'expand' to fill the assigned area by default (instead of being 'static').
+grid :: Int -> Int -> [[Layout]] -> Layout
+grid w h rows'
+  = Grid optionsDefault{ stretchV = hasvstretch, stretchH = hashstretch, fillMode = hasfill } (sz w h) rows'
+  where
+    hasvstretch  = any (all (stretchV.options)) rows'
+    hashstretch  = any (all (stretchH.options)) (transpose rows')
+    hasfill   = if (hasvstretch || hashstretch) then Fill else FillNone
+
+-- | (primitive) Add a container widget (for example, a 'Panel').
+-- Just like a 'grid', the horizontal or vertical stretch of the child layout determines
+-- the stretch and expansion mode of the container.
+container :: Window a -> Layout -> Layout
+container window layout
+  = WidgetContainer optionsDefault{ stretchV = hasvstretch, stretchH = hashstretch, fillMode = hasfill }
+          (downcastWindow window) layout
+  where
+    hasvstretch  = stretchV (options layout)
+    hashstretch  = stretchH (options layout)
+    hasfill   = if (hasvstretch || hashstretch) then Fill else FillNone
+
+
+-- | (primitive) Lift a basic control to a 'Layout'.
+layoutFromWindow :: Window a -> Layout
+layoutFromWindow window
+  = Widget optionsDefault{ adjustMinSize = adjust } (downcastWindow window)
+  where
+    adjust  =  instanceOf window classButton 
+            || instanceOf window classStaticText
+
+
+-- | (primitive) Empty layout with a given width and height.
+space :: Int -> Int -> Layout
+space w h
+  = Spacer optionsDefault (Size w h)
+
+-- | (primitive) A line with a given width and height
+-- Not all ports (notably not wxGTK) support specifying the transversal
+-- direction of the line (e.g. height for a horizontal line)
+rule :: Int -> Int -> Layout
+rule w h
+  = Line optionsDefault (Size w h)
+
+
+-- | A vertical line with a given height.
+vrule :: Int -> Layout
+vrule h
+  = rule 1 h
+
+-- | A horizontal line with a given width.
+hrule :: Int -> Layout
+hrule w
+  = rule w 1
+
+-- | (primitive) Create a 'Layout' from a 'Sizer' object.
+sizer :: Sizer a -> Layout
+sizer s
+  = XSizer optionsDefault (downcastSizer s)
+
+
+-- | A tab page in a notebook: a title, a possible bitmap and a layout.
+type TabPage  = (String,Bitmap (),Layout)
+
+-- | Create a simple tab page with a certain title and layout.
+tab :: String -> Layout -> TabPage
+tab title layout
+  = (title,objectNull,layout)
+
+-- | Create a tab page with a certain title, icon, and layout.
+imageTab :: String -> Bitmap () -> Layout -> TabPage
+imageTab title bitmap layout
+  = (title,bitmap,layout)
+
+-- | Create a notebook layout.
+-- The pages /always/ need to be embedded inside a 'container' (normally a 'Panel'). 
+-- Just like a 'grid', the horizontal or vertical stretch of the child layout determines
+-- the stretch and expansion mode of the notebook.
+tabs :: Notebook a -> [TabPage] -> Layout
+tabs notebook pages'
+  = XNotebook optionsDefault{ stretchV = hasvstretch, stretchH = hashstretch, fillMode = hasfill }
+              (downcastNotebook notebook) pages'
+  where
+    hasvstretch  = all stretchV [options layout | (_,_,layout) <- pages']
+    hashstretch  = all stretchH [options layout | (_,_,layout) <- pages']
+    hasfill      = if (hasvstretch || hashstretch) then Fill else FillNone
+
+-- | Add a horizontal sash bar between two windows. The two integer
+-- arguments specify the width of the sash bar (5) and the initial
+-- height of the top pane respectively.
+hsplit :: SplitterWindow a -> Int -> Int -> Layout -> Layout -> Layout
+hsplit
+  = split True
+
+-- | Add a vertical sash bar between two windows. The two integer
+-- arguments specify the width of the sash bar (5) and the initial
+-- width of the left pane respectively. 
+vsplit :: SplitterWindow a -> Int -> Int -> Layout -> Layout -> Layout
+vsplit
+  = split False
+
+split :: Bool -> SplitterWindow a -> Int -> Int -> Layout -> Layout -> Layout
+split splitHorizontal' splitter' sashWidth' paneWidth' pane1' pane2'
+  = Splitter optionsDefault (downcastSplitterWindow splitter') pane1' pane2' splitHorizontal' sashWidth' paneWidth'
+
+
+optionsDefault :: LayoutOptions
+optionsDefault
+  = LayoutOptions False False [] 10 AlignLeft AlignTop FillNone Nothing False
+
+
+
+
+
+{-----------------------------------------------------------------------------------------
+  Layout algorithm
+-----------------------------------------------------------------------------------------}
+-- | Abstract data type that represents the layout of controls in a window.
+data Layout = Grid      { options :: LayoutOptions, gap  :: Size, rows :: [[Layout]] }
+            | Widget    { options :: LayoutOptions, win  :: Window () }
+            | Spacer    { options :: LayoutOptions, spacesize :: Size   }
+            | Label     { options :: LayoutOptions, txt  :: String    }
+            | TextBox   { options :: LayoutOptions, txt  :: String, content :: Layout }
+            | Line      { options :: LayoutOptions, linesize :: Size }
+            | XSizer    { options :: LayoutOptions, xsizer :: Sizer () }
+            | WidgetContainer{ options :: LayoutOptions, win :: Window (), content :: Layout }
+            | XNotebook { options :: LayoutOptions, nbook :: Notebook (), pages :: [(String,Bitmap (),Layout)] }
+            | Splitter  { options :: LayoutOptions, splitter :: SplitterWindow ()
+                        , pane1 :: Layout, pane2 :: Layout
+                        , splitHorizontal :: Bool, sashWidth :: Int, paneWidth :: Int }
+
+data LayoutOptions
+           = LayoutOptions{ stretchH :: Bool, stretchV :: Bool
+                          , margins :: [Margin], marginW :: Int
+                          , alignH :: HAlign, alignV :: VAlign
+                          , fillMode :: FillMode
+                          , minSize  :: Maybe Size
+                          , adjustMinSize :: Bool
+                          }
+
+data FillMode = FillNone | FillShaped | Fill
+data HAlign   = AlignLeft | AlignRight | AlignHCentre
+data VAlign   = AlignTop | AlignBottom | AlignVCentre
+data Margin   = MarginTop | MarginLeft | MarginRight | MarginBottom
+
+
+-- This is just to remove "Defined but not used" warnings:
+nullLayoutOptions :: LayoutOptions
+nullLayoutOptions = 
+  LayoutOptions
+    False False
+    [] 0
+    AlignHCentre AlignVCentre
+    FillNone
+    Nothing
+    False
+
+-- This is just to remove "Defined but not used" warnings:
+nullLayout :: Layout
+-- Grid      { options :: LayoutOptions, gap  :: Size, rows :: [[Layout]] }
+nullLayout = nullLayouts !! 0
+
+-- This is just to remove "Defined but not used" warnings:
+nullLayouts :: [Layout]
+nullLayouts = 
+  [ Grid            { options = nullLayoutOptions, gap = (Size 0 0)
+                    , rows = [[]]
+                    }
+  , Widget          { options = nullLayoutOptions, win = objectNull       }
+  , Spacer          { options = nullLayoutOptions, spacesize = (Size 0 0) }
+  , Label           { options = nullLayoutOptions, txt = ""               }
+  , TextBox         { options = nullLayoutOptions, txt = ""
+                    , content = nullLayout
+                    }
+  , Line            { options = nullLayoutOptions, linesize = (Size 0 0)  }
+  , XSizer          { options = nullLayoutOptions, xsizer = objectNull    }
+  , WidgetContainer { options = nullLayoutOptions, win = objectNull
+                    , content = nullLayout
+                    }
+  , XNotebook       { options = nullLayoutOptions, nbook = objectNull
+                    , pages = [("", objectNull, nullLayout)]
+                    }
+  , Splitter        { options = nullLayoutOptions, splitter = objectNull
+                    , pane1 = nullLayout, pane2 = nullLayout
+                    , splitHorizontal = False, sashWidth = 0, paneWidth = 0
+                    }
+  ]
+
+
+-- | Fits a widget properly by calling 'windowReLayout' on
+-- the parent frame or dialog ('windowGetFrameParent').
+windowReFit :: Window a -> IO ()
+windowReFit w
+  = do p <- windowGetFrameParent w
+       windowReLayout p
+
+-- | Fits a widget properly by calling 'windowReLayout' on
+-- the parent frame or dialog ('windowGetFrameParent').
+windowReFitMinimal :: Window a -> IO ()
+windowReFitMinimal w
+  = do p <- windowGetFrameParent w
+       windowReLayoutMinimal p
+
+-- | Re-invoke layout algorithm to fit a window around its
+-- children. It will enlarge when the current
+-- client size is too small, but not shrink when the window
+-- is already large enough. (in contrast, 'windowReLayoutMinimal' will
+-- also shrink a window so that it always minimally sized).
+windowReLayout :: Window a -> IO ()
+windowReLayout w
+  = do _   <- windowLayout w
+       old <- windowGetClientSize w
+       szr <- windowGetSizer w
+       when (not (objectIsNull szr)) (sizerSetSizeHints szr w)
+       windowFit w
+       new <- windowGetClientSize w
+       windowSetClientSize w (sizeMax old new)
+
+-- | Re-invoke layout algorithm to fit a window around its
+-- children. It will resize the window to its minimal 
+-- acceptable size ('windowFit').
+windowReLayoutMinimal :: Window a -> IO ()  
+windowReLayoutMinimal w
+  = do _   <- windowLayout w
+       szr <- windowGetSizer w
+       when (not (objectIsNull szr)) (sizerSetSizeHints szr w)
+       windowFit w
+
+-- | Set the layout of a window (automatically calls 'sizerFromLayout').
+windowSetLayout :: Window a -> Layout -> IO ()
+windowSetLayout window layout
+  = do sizer' <- sizerFromLayout window layout
+       windowSetAutoLayout window True
+       windowSetSizer window sizer'
+       sizerSetSizeHints sizer' window
+       return ()
+
+-- | Create a 'Sizer' from a 'Layout' and a parent window.
+sizerFromLayout :: Window a -> Layout -> IO (Sizer ())
+sizerFromLayout parent layout
+  = insert objectNull (grid 0 0 [[stretch layout]])
+  where
+    insert :: Sizer () -> Layout -> IO (Sizer ())
+    insert container' (Spacer options' sz')
+      = do sizerAddWithOptions 0 (sizerAdd container' sz') (\_sz -> return ()) options'
+           return container'
+
+    insert container' (Widget options' win')
+      = do sizerAddWindowWithOptions container' win' options'
+           return container'
+
+    insert container' (Grid goptions gap' rows')
+      = do g <- flexGridSizerCreate (length rows') (maximum (map length rows')) (sizeH gap') (sizeW gap')
+           mapM_ (stretchRow g) (zip [0..] (map (all (stretchV.options)) rows'))
+           mapM_ (stretchCol g) (zip [0..] (map (all (stretchH.options)) (transpose rows')))
+           mapM_ (insert (downcastSizer g)) (concat rows')
+           when (container' /= objectNull) 
+             (sizerAddSizerWithOptions container' g goptions)
+           return (downcastSizer g)
+
+    insert container' (Label options' txt')
+      = do t <- staticTextCreate parent idAny txt' rectNull 0
+           sizerAddWindowWithOptions container' t options'
+           return container'
+
+    insert container' (TextBox options' txt' layout')
+      = do box    <- staticBoxCreate parent idAny txt' rectNull (wxCLIP_CHILDREN .+. wxNO_FULL_REPAINT_ON_RESIZE)
+           sizer' <- staticBoxSizerCreate box wxVERTICAL
+           _      <- insert (downcastSizer sizer') layout'
+           when (container' /= objectNull) 
+             (sizerAddSizerWithOptions container' sizer' options')
+           windowLower box
+           return (downcastSizer sizer')
+
+    insert container' (Line options' (Size w h))
+      = do l <- staticLineCreate parent idAny (rectNull{ rectWidth = w, rectHeight = h }) 
+                  (if (w >= h) then wxHORIZONTAL else wxVERTICAL)
+           sizerAddWindowWithOptions container' l options'
+           return container'
+
+    insert container' (XSizer options' sizer')
+      = do sizerAddSizerWithOptions container' sizer' options'
+           return container'
+
+    insert container' (WidgetContainer options' win' layout')
+      = do windowSetLayout win' layout' -- recursively set the layout' in the window itself
+           sizerAddWindowWithOptions container' win' options'
+           return container'
+
+    insert container' (Splitter options' splitter' pane1' pane2' splitHorizontal' _sashWidth paneWidth')
+      = do splitterWindowSetMinimumPaneSize splitter' 20
+           sizerAddWindowWithOptions container' splitter' options'
+           _ <- if splitHorizontal'
+                  then splitterWindowSplitHorizontally splitter' win1 win2 paneWidth'
+                  else splitterWindowSplitVertically   splitter' win1 win2 paneWidth'
+           paneSetLayout pane1'
+           paneSetLayout pane2'
+           
+           return container'
+      where
+        win1  = getWinFromLayout pane1'
+        win2  = getWinFromLayout pane2'
+
+        getWinFromLayout layout'
+          = case layout' of
+              Widget _ win'            -> downcastWindow win'
+              WidgetContainer _ win' _ -> downcastWindow win'
+              Splitter _ splitter'' _ _ _ _ _ -> downcastWindow splitter''
+              _other                   -> error "Layout: hsplit/vsplit need widgets or containers as arguments"
+
+        paneSetLayout layout'
+          = case layout' of
+              Widget _ _win
+                -> return ()
+              
+              WidgetContainer _options win' layout''
+                -> windowSetLayout win' layout''
+              
+              Splitter _options splitter'' pane1'' pane2'' splitHorizontal'' _sashWidth paneWidth'' 
+                ->  do splitterWindowSetMinimumPaneSize splitter'' 20
+                       -- sizerAddWindowWithOptions container' splitter'' options'
+                       let win1' = getWinFromLayout pane1''
+                           win2' = getWinFromLayout pane2''
+                       _ <- if splitHorizontal''
+                              then splitterWindowSplitHorizontally splitter'' win1' win2' paneWidth''
+                              else splitterWindowSplitVertically   splitter'' win1' win2' paneWidth''
+                       paneSetLayout pane1''
+                       paneSetLayout pane2''
+                       return ()
+              _other
+                -> error "Layout: hsplit/vsplit need widgets or containers as arguments"
+
+
+    insert container' (XNotebook options' nbook' pages')
+      = do pages'' <- addImages objectNull pages'
+           mapM_ addPage pages''
+           sizerAddWindowWithOptions container' nbook' options'
+           return container'
+      where
+        addPage (title,idx,WidgetContainer _options win' layout')
+          = do pagetitle <- if (null title)
+                             then windowGetLabel win'
+                             else return title
+               _ <- notebookAddPage nbook' win' pagetitle False idx
+               windowSetLayout win' layout'  -- recursively set layout'
+
+        addPage (_title, _idx, _other)
+          = error "Graphics.UI.WXCore.sizerFromLayout: notebook page needs to be a 'container' layout!"
+
+        addImages il []
+          = if (objectIsNull il)
+             then return []
+             else do notebookAssignImageList nbook' il
+                     return []
+
+        addImages il ((title, bm, layout'):xs) | objectIsNull bm 
+          = do xs' <- addImages il xs
+               return ((title,-1,layout'):xs')
+
+        addImages il ((title, bm, layout'):xs)
+          = do il' <- addImage il bm
+               i   <- imageListGetImageCount il'
+               xs' <- addImages il' xs
+               return ((title,i,layout'):xs')
+
+        addImage il bm
+          = if (objectIsNull il)
+             then do w   <- bitmapGetWidth bm
+                     h   <- bitmapGetHeight bm
+                     il' <- imageListCreate (sz w h) False 1
+                     _   <- imageListAddBitmap il' bm objectNull
+                     return il'
+             else imageListAddBitmap il bm objectNull >>
+                  return il
+
+
+    stretchRow g (i,stretch')
+      = when stretch' (flexGridSizerAddGrowableRow g i)
+
+    stretchCol g (i,stretch')
+      = when stretch' (flexGridSizerAddGrowableCol g i)
+
+    
+
+    sizerAddWindowWithOptions :: Sizer a -> Window b -> LayoutOptions -> IO ()
+    sizerAddWindowWithOptions container' window options'
+      = sizerAddWithOptions (flagsAdjustMinSize window options') 
+                            (sizerAddWindow container' window) (sizerSetItemMinSizeWindow container' window) options'
+
+    sizerAddSizerWithOptions :: Sizer a -> Sizer b -> LayoutOptions -> IO ()
+    sizerAddSizerWithOptions container' sizer' options'
+      = sizerAddWithOptions 0 (sizerAddSizer container' sizer') (sizerSetItemMinSizeSizer container' sizer') options'
+           
+
+    sizerAddWithOptions :: Int -> (Int -> Int -> Int -> Ptr p -> IO ()) -> (Size -> IO ()) -> LayoutOptions -> IO ()
+    sizerAddWithOptions miscflags addSizer setMinSize options'
+      = do addSizer 1 (flags options' .+. miscflags) (marginW options') ptrNull
+           case minSize options' of
+             Nothing -> return ()
+             Just sz' -> setMinSize sz'
+
+    flags options'
+      = flagsFillMode (fillMode options') .+. flagsMargins (margins options')
+        .+. flagsHAlign (alignH options') .+. flagsVAlign (alignV options')
+
+    flagsFillMode fillMode'
+      = case fillMode' of
+          FillNone    -> 0
+          FillShaped  -> wxSHAPED
+          Fill        -> wxEXPAND
+
+    flagsHAlign halign
+      = case halign of
+          AlignLeft    -> wxALIGN_LEFT
+          AlignRight   -> wxALIGN_RIGHT
+          AlignHCentre -> wxALIGN_CENTRE_HORIZONTAL
+
+    flagsVAlign valign
+      = case valign of
+          AlignTop     -> wxALIGN_TOP
+          AlignBottom  -> wxALIGN_BOTTOM
+          AlignVCentre -> wxALIGN_CENTRE_VERTICAL
+
+    flagsMargins margins'
+      = bits (map flagsMargin margins')
+
+    flagsMargin margin'
+      = case margin' of
+          MarginTop    -> wxTOP
+          MarginLeft   -> wxLEFT
+          MarginBottom -> wxBOTTOM
+          MarginRight  -> wxRIGHT
+ 
+--  wxADJUST_MINSIZE is deprecated 
+    flagsAdjustMinSize _window _options = 0
+{-
+      = if (adjustMinSize options) 
+         then wxADJUST_MINSIZE
+         else 0
+-}
+
+{-      
+        case minSize options of
+          Nothing | -- dleijen: unfortunately, wxADJUST_MINSIZE has bugs for certain controls:
+                    not ( instanceOf window classGauge || instanceOf window classGauge95 
+                         || instanceOf window classGaugeMSW 
+                         || instanceOf window classSlider || instanceOf window classSlider95 
+                         || instanceOf window classSliderMSW 
+                        )
+                  -> wxADJUST_MINSIZE
+          other   -> 0
+-}
+ src/haskell/Graphics/UI/WXCore/OpenGL.hs view
@@ -0,0 +1,97 @@+--------------------------------------------------------------------------------
+{-|
+Module      :  OpenGL
+Copyright   :  (c) Daan Leijen 2003
+License     :  wxWindows
+
+Maintainer  :  wxhaskell-devel@lists.sourceforge.net
+Stability   :  provisional
+Portability :  portable
+  
+Convenience wrappers for the openGL canvas window ('GLCanvas').
+-}
+--------------------------------------------------------------------------------
+module Graphics.UI.WXCore.OpenGL
+   ( 
+   -- * Types
+     GLAttribute(..)
+   -- * Creation
+   , glCanvasCreateDefault
+   , glCanvasCreateEx
+   ) where
+
+
+import Graphics.UI.WXCore.WxcTypes
+import Graphics.UI.WXCore.WxcClasses
+import Graphics.UI.WXCore.Types
+
+import Foreign
+
+
+
+{----------------------------------------------------------
+  Attributes
+----------------------------------------------------------}
+-- | OpenGL window ('GLCanvas') attributes.
+data GLAttribute
+  = GL_RGBA                -- ^ Use true colour  
+  | GL_BUFFER_SIZE Int     -- ^ Bits for buffer if not 'GL_RGBA' defined also
+  | GL_LEVEL Ordering      -- ^ 'EQ' for main buffer, 'GT' for overlay, 'LT' for underlay  
+  | GL_DOUBLEBUFFER        -- ^ Use doublebuffer  
+  | GL_STEREO              -- ^ Use stereoscopic display  
+  | GL_AUX_BUFFERS Int     -- ^ Number of auxiliary buffers (not all implementation support this option)  
+  | GL_MIN_RED Int         -- ^ Use red buffer with at least /argument/ bits 
+  | GL_MIN_GREEN Int       -- ^ Use green buffer with at least /argument/ bits 
+  | GL_MIN_BLUE Int        -- ^ Use blue buffer with at least /argument/ bits 
+  | GL_MIN_ALPHA Int       -- ^ Use alpha buffer with at least /argument/ bits
+  | GL_DEPTH_SIZE Int      -- ^ Bits for Z-buffer (0,16,32)  
+  | GL_STENCIL_SIZE Int    -- ^ Bits for stencil buffer  
+  | GL_MIN_ACCUM_RED Int   -- ^ Use red accumulation buffer with at least /argument/ bits 
+  | GL_MIN_ACCUM_GREEN Int -- ^ Use green accumulation buffer with at least /argument/ bits 
+  | GL_MIN_ACCUM_BLUE Int  -- ^ Use blue accumulation buffer with at least /argument/ bits 
+  | GL_MIN_ACCUM_ALPHA Int -- ^ Use alpha accumulation buffer with at least /argument/ bits 
+  | GL_SAMPLE_BUFFERS Int  -- ^ 1 for multisampling support (antialiasing)
+  | GL_SAMPLES Int         -- ^ 4 for 2x2 antialiasing supersampling on most graphics cards
+  | GL_CORE_PROFILE        -- ^ request an OpenGL core profile. This will result in also requesting OpenGL at least version 3.0, since wx 3.1
+  | GL_MAJOR_VERSION Int   -- ^ request a specific OpenGL major version number (>= 3), since wx 3.1
+  | GL_MINOR_VERSION Int   -- ^ request a specific OpenGL minor version number (e.g. 2 for 3.2), since wx 3.1
+
+encodeAttributes :: [GLAttribute] -> [Int]
+encodeAttributes attributes
+  = concatMap encodeAttribute attributes
+
+encodeAttribute :: GLAttribute -> [Int]
+encodeAttribute attr
+  = case attr of
+      GL_RGBA                -> [1]
+      GL_BUFFER_SIZE n       -> [2,n]
+      GL_LEVEL n             -> [3, case n of { GT -> 1; LT -> (-1); _other -> 0 }]
+      GL_DOUBLEBUFFER        -> [4]
+      GL_STEREO              -> [5]
+      GL_AUX_BUFFERS n       -> [6,n]
+      GL_MIN_RED n           -> [7,n]
+      GL_MIN_GREEN n         -> [8,n]
+      GL_MIN_BLUE n          -> [9,n]
+      GL_MIN_ALPHA n         -> [10,n]
+      GL_DEPTH_SIZE n        -> [11,n]
+      GL_STENCIL_SIZE n      -> [12,n]
+      GL_MIN_ACCUM_RED n     -> [13,n]
+      GL_MIN_ACCUM_GREEN n   -> [14,n]
+      GL_MIN_ACCUM_BLUE n    -> [15,n]
+      GL_MIN_ACCUM_ALPHA n   -> [16,n]
+      GL_SAMPLE_BUFFERS n    -> [17,n]
+      GL_SAMPLES n           -> [18,n]
+      GL_CORE_PROFILE        -> [19]
+      GL_MAJOR_VERSION n     -> [20,n]
+      GL_MINOR_VERSION n     -> [21,n]
+
+-- | Create a standard openGL canvas window with a certain title and attributes.
+glCanvasCreateDefault :: Window a -> Style -> String -> [GLAttribute] -> IO (GLCanvas ())
+glCanvasCreateDefault parent style title attrs
+  = glCanvasCreateEx parent idAny rectNull style title attrs nullPalette
+
+-- | Create an openGL window. Use 'nullPalette' to use the default palette.
+glCanvasCreateEx :: Window a -> Id -> Rect -> Style -> String -> [GLAttribute] -> Palette b -> IO (GLCanvas ())
+glCanvasCreateEx parent id' rect' style title attributes palette
+  = withArray0 (toCInt 0) (map toCInt (encodeAttributes attributes)) $ \pattrs ->
+    glCanvasCreate parent id' pattrs rect' style title palette
src/haskell/Graphics/UI/WXCore/Print.hs view
@@ -1,358 +1,357 @@-------------------------------------------------------------------------------------------{-|	Module      :  Print-	Copyright   :  (c) Daan Leijen 2003-	License     :  wxWindows--	Maintainer  :  wxhaskell-devel@lists.sourceforge.net-	Stability   :  provisional-	Portability :  portable--Printer abstraction layer. See @samples/wx/Print.hs@ for a demo.--The application should create a 'pageSetupDialog' to hold the printer-settings of the user.--> f <- frame [text := "Print demo"]                               -> -> -- Create a pageSetup dialog with an initial margin of 25 mm.-> pageSetup <- pageSetupDialog f 25--The dialog can be shown using 'pageSetupShowModal'. Furthermore, the -function 'printDialog' and 'printPreview' can be used to show a print dialog-and preview window.--> mprint   <- menuItem file ->                [ text := "&Print..."->                , help := "Print a test"->                , on command := printDialog pageSetup "Test"  pageFun printFun->                ]-> mpreview <- menuItem file ->                [ text := "&Print preview"->                , help := "Print preview"->                , on command := printPreview pageSetup "Test" pageFun printFun --Those functions take a 'PageFunction' and 'PrintFunction' respectively that get called-to determine the number of needed pages and to draw on the printer DC respectively.-The framework takes automatic care of printer margins, preview scaling etc.---}-------------------------------------------------------------------------------------------module Graphics.UI.WXCore.Print( -- * Printing-                                 pageSetupDialog-                               , pageSetupShowModal-                               , printDialog-                               , printPreview-                                 -- * Callbacks-                               , PageFunction-                               , PrintFunction-                                 -- * Page and printer info-                               , PageInfo(..)-                               , PrintInfo(..)-                                 -- * Internal-                               , pageSetupDataGetPageInfo, pageSetupDataSetPageInfo-                               , printOutGetPrintInfo-                               , pageSetupDialogGetFrame-                               ) where--import Graphics.UI.WXCore.WxcDefs-import Graphics.UI.WXCore.WxcClasses-import Graphics.UI.WXCore.WxcClassInfo-import Graphics.UI.WXCore.Types-import Graphics.UI.WXCore.Events-import Graphics.UI.WXCore.Frame---- | Return a page range given page info, print info, and the printable size.--- The printable size is the number of pixels available for printing --- without the page margins.-type PageFunction    = PageInfo -> PrintInfo -> Size -> (Int,Int)---- | Print a page given page info, print info, the printable size, the--- printer device context and the current page.--- The printable size is the number of pixels available for printing --- without the page margins-type PrintFunction   = PageInfo -> PrintInfo -> Size -> DC () -> Int -> IO ()---{---------------------------------------------------------------------------   Handle print events---------------------------------------------------------------------------}  --- | The standard print event handler-onPrint :: Bool {- preview? -} -            -> PageInfo -> Printout (CWXCPrintout a)-            -> PageFunction-            -> PrintFunction -            -> EventPrint -> IO ()-onPrint isPreview pageInfo printOut pageRangeFunction printFunction ev -  = case ev of-      PrintPrepare ->-        do{ printOutInitPageRange printOut pageInfo pageRangeFunction-          ; return ()-          }-      PrintPage cancel dc n ->-        do{ printInfo <- printOutGetPrintInfo printOut-          ; let io info size = printFunction pageInfo info size dc n -          ; if isPreview -             then do let previewInfo = toScreenInfo printInfo-                     (scaleX,scaleY) <- getPreviewZoom pageInfo previewInfo dc                     -                     dcScale dc scaleX scaleY (respectMargin pageInfo previewInfo dc (io previewInfo))-             else respectMargin pageInfo printInfo dc (io printInfo)-          }        -      _ -> return ()----- | Set a clipping region and device origin according to the margin-respectMargin :: PageInfo -> PrintInfo -> DC a -> (Size -> IO b) -> IO b-respectMargin pageInfo printInfo dc io-  = do let ((left,top),printSize) = printableArea pageInfo printInfo--       -- the device origin is in unscaled coordinates-       scaleX <- dcGetUserScaleX dc-       scaleY <- dcGetUserScaleY dc-       dcSetDeviceOrigin dc (pt (round (scaleX*left)) (round (scaleY*top)))--       -- the clipping respects the scaling-       dcSetClippingRegion dc (rect (pt 0 0) printSize)-       io printSize---- | Calculate the printable area-printableArea :: PageInfo -> PrintInfo -> ((Double,Double),Size)-printableArea pageInfo printInfo-  = let (printW,printH) = pixelToMM (printerPPI printInfo) (printPageSize printInfo)-        (ppmmW,ppmmH)   = ppiToPPMM (printerPPI printInfo)--        -- calculate minimal printer margin-        minX  = (toDouble (sizeW (pageSize pageInfo)) - printW)/2  -        minY  = (toDouble (sizeH (pageSize pageInfo)) - printH)/2--        -- top-left margin-        top   = ppmmH * (max minY (toDouble $ rectTop  $ pageArea pageInfo))-        left  = ppmmW * (max minX (toDouble $ rectLeft $ pageArea pageInfo))--        -- bottom-right margin-        (Point mright mbottom) -             = pointSub (pointFromSize (pageSize pageInfo)) (rectBottomRight (pageArea pageInfo))          -        bottom= ppmmH * (max minY (toDouble mbottom))-        right = ppmmW * (max minX (toDouble mright))--	dw = round (right + left)-	dh = round (bottom + top)-	(dw', dh') = if sizeW (printPageSize printInfo) < sizeH (printPageSize printInfo)-		     then (dw, dh)-		     else (dh, dw)--        -- the actual printable page size-        printSize = sz (sizeW (printPageSize printInfo) - dw') -                      (sizeH (printPageSize printInfo) - dh')-    in ((left,top),printSize) ---- | Get the zoom factor from the preview -getPreviewZoom :: PageInfo -> PrintInfo -> DC a -> IO (Double,Double)-getPreviewZoom pageInfo printInfo dc-  = do size <- dcGetSize dc-       let (printW,printH)   = pixelToMM (printerPPI printInfo) (printPageSize printInfo)-           (screenW,screenH) = pixelToMM (screenPPI printInfo) size-           scaleX       = screenW / printW-           scaleY       = screenH / printH-       return (scaleX,scaleY)----- | Transform printer info to screen printer info (for the preview).-toScreenInfo :: PrintInfo -> PrintInfo-toScreenInfo printInfo-  = let scaleX  = (toDouble (sizeW (screenPPI printInfo))) / (toDouble (sizeW (printerPPI printInfo)))-        scaleY  = (toDouble (sizeH (screenPPI printInfo))) / (toDouble (sizeH (printerPPI printInfo)))-        pxX     = round (scaleX * (toDouble (sizeW (printPageSize printInfo))))-        pxY     = round (scaleY * (toDouble (sizeH (printPageSize printInfo))))-    in printInfo{ printerPPI    = screenPPI printInfo-                , printPageSize = sz pxX pxY-                }---- | Pixels to millimeters given a PPI-pixelToMM :: Size -> Size -> (Double,Double)-pixelToMM ppi size-  = let convert f  = toDouble (f size) / (toDouble (f ppi) / 25.4)-    in (convert sizeW, convert sizeH)---- | pixels per inch to pixels per millimeter-ppiToPPMM :: Size -> (Double,Double)-ppiToPPMM ppi-  = let convert f  = toDouble (f ppi) / 25.4-    in (convert sizeW, convert sizeH)---- | Convert an 'Int' to a 'Double'.-toDouble :: Int -> Double-toDouble i = fromIntegral i---- | Scale the 'DC'.-dcScale :: DC a -> Double -> Double -> IO b -> IO b-dcScale dc scaleX scaleY io-  = do oldX <- dcGetUserScaleX dc-       oldY <- dcGetUserScaleY dc-       dcSetUserScale dc (oldX*scaleX) (oldY*scaleY)-       x <- io-       dcSetUserScale dc oldX oldY-       return x--{---------------------------------------------------------------------------  preview and printIt---------------------------------------------------------------------------}--- | Show a print dialog.-printDialog :: PageSetupDialog a -          -> String-          -> PageFunction-          -> PrintFunction -          -> IO ()-printDialog pageSetupDialog title pageRangeFunction printFunction =-  do{ pageSetupData    <- pageSetupDialogGetPageSetupData pageSetupDialog-    ; printData        <- pageSetupDialogDataGetPrintData pageSetupData-    ; printDialogData  <- printDialogDataCreateFromData printData-    ; printDialogDataSetAllPages printDialogData True -    ; printer          <- printerCreate printDialogData-    ; printout         <- wxcPrintoutCreate title-    ; pageInfo         <- pageSetupDataGetPageInfo pageSetupData-    ; printOutInitPageRange printout pageInfo pageRangeFunction-    ; printOutOnPrint printout (onPrint False pageInfo printout pageRangeFunction printFunction)-    ; frame            <- pageSetupDialogGetFrame pageSetupDialog-    ; printerPrint printer frame printout True {- show printer setup? -}-    ; objectDelete printDialogData-    ; objectDelete printout-    ; objectDelete printer-    }---- | Show a preview window-printPreview :: PageSetupDialog a -           -> String-           -> PageFunction-           -> PrintFunction-           -> IO ()-printPreview pageSetupDialog title pageRangeFunction printFunction =-  do{ pageSetupData <- pageSetupDialogGetPageSetupData pageSetupDialog-    ; pageInfo      <- pageSetupDataGetPageInfo pageSetupData-    ; printout1     <- wxcPrintoutCreate "Print to preview"-    ; printout2     <- wxcPrintoutCreate "Print to printer"-    ; startPage     <- printOutInitPageRange printout1 pageInfo pageRangeFunction-    ;                  printOutInitPageRange printout2 pageInfo pageRangeFunction-    ; printOutOnPrint printout1 (onPrint True  pageInfo printout1 pageRangeFunction printFunction)-    ; printOutOnPrint printout2 (onPrint False pageInfo printout2 pageRangeFunction printFunction)-    ; printData        <- pageSetupDialogDataGetPrintData pageSetupData-    ; printDialogData  <- printDialogDataCreateFromData printData-    ; printDialogDataSetAllPages printDialogData True -    ; preview      <- printPreviewCreateFromDialogData printout1 printout2 printDialogData-    ; printPreviewSetCurrentPage preview startPage-    ; frame        <- pageSetupDialogGetFrame pageSetupDialog-    ; previewFrame <- previewFrameCreate preview frame title rectNull frameDefaultStyle title-    ; previewFrameInitialize previewFrame-    ; windowShow previewFrame -    ; windowRaise previewFrame-    }---{---------------------------------------------------------------------------  Class helpers---------------------------------------------------------------------------}---- | Set the correct page range for a printout.-printOutInitPageRange :: WXCPrintout a -> PageInfo -> PageFunction -> IO Int-printOutInitPageRange printOut pageInfo pageRangeFunction-  = do{ printInfo <- printOutGetPrintInfo printOut-      ; let (_,size)    = printableArea pageInfo printInfo-            (start,end) = pageRangeFunction pageInfo printInfo size-      ; wxcPrintoutSetPageLimits printOut start end start end-      ; return start-      }----- | Get the parent frame of a 'PageSetupDialog'.-pageSetupDialogGetFrame :: PageSetupDialog a -> IO (Frame ())-pageSetupDialogGetFrame pageSetupDialog-  = do p <- windowGetParent pageSetupDialog -       case (safeCast p classFrame) of-        Just frame  -> return frame-        Nothing     -> do w <- wxcAppGetTopWindow-                          case (safeCast w classFrame) of-                            Just frame -> return frame-                            Nothing    -> error "pageSetupDialogGetFrame: no parent frame found!"---{---------------------------------------------------------------------------    PageSetupDialog  ---------------------------------------------------------------------------}  --- | Create a (hidden) page setup dialog that remembers printer settings.--- It is a parameter to the functions 'printDialog' and 'printPreview'.--- The creation function takes a parent frame and the initial page margins--- (in millimeters) as an argument.-pageSetupDialog :: Frame a -> Int -> IO (PageSetupDialog ())-pageSetupDialog f margin-  = do pageSetupData  <- pageSetupDialogDataCreate-       if (margin > 0)-        then do pageInfo <- pageSetupDataGetPageInfo pageSetupData-                let p0      = pt margin margin-                    p1      = pointSub (pointFromSize (pageSize pageInfo)) p0-                    newInfo = pageInfo{ pageArea = rectBetween p0 p1 }-                pageSetupDataSetPageInfo pageSetupData newInfo-        else return ()                                                                                           -       pageSetupDialog <- pageSetupDialogCreate f pageSetupData-       prev <- windowGetOnClose f-       windowOnClose f (do{ objectDelete pageSetupDialog; prev })-       objectDelete pageSetupData-       return pageSetupDialog---- | Show the page setup dialog-pageSetupShowModal :: PageSetupDialog a -> IO ()-pageSetupShowModal p-  = do dialogShowModal p-       return ()--{---------------------------------------------------------------------------  PageInfo and PrintInfo---------------------------------------------------------------------------}---- | Information from the page setup dialog.---   All measurements are in millimeters.-data PageInfo = PageInfo{ pageSize :: Size  -- ^ The page size (in millimeters)-                        , pageArea :: Rect  -- ^ The available page area (=margins) (in millimeters)-                        } -                        deriving Show---- | Get page info-pageSetupDataGetPageInfo :: PageSetupDialogData a  -> IO PageInfo-pageSetupDataGetPageInfo pageSetupData -  = do{ topLeft     <- pageSetupDialogDataGetMarginTopLeft pageSetupData-      ; bottomRight <- pageSetupDialogDataGetMarginBottomRight pageSetupData-      ; paperSize   <- pageSetupDialogDataGetPaperSize pageSetupData-      ; return (PageInfo-          { pageSize   = paperSize-          , pageArea   = rectBetween topLeft (pointSub (pointFromSize paperSize) bottomRight)-          })-      }---- | Set page info-pageSetupDataSetPageInfo :: PageSetupDialogData a -> PageInfo -> IO ()-pageSetupDataSetPageInfo pageSetupData pageInfo-  = do{ let topLeft     = rectTopLeft (pageArea pageInfo)-            bottomRight = pointSub (pointFromSize (pageSize pageInfo)) (rectBottomRight (pageArea pageInfo))-      ; pageSetupDialogDataSetMarginTopLeft pageSetupData topLeft-      ; pageSetupDialogDataSetMarginBottomRight pageSetupData bottomRight-      ; pageSetupDialogDataSetPaperSize pageSetupData (pageSize pageInfo)-      }----- | Printer information.-data PrintInfo = PrintInfo  { screenPPI         :: Size -- ^ screen pixels per inch-                            , printerPPI        :: Size -- ^ printer pixels per inch-                            , printPageSize     :: Size -- ^ printable area (in pixels) = PageInfo pageSize minus printer margins-                            } deriving Show---- | Extract print info    -printOutGetPrintInfo :: Printout a -> IO PrintInfo-printOutGetPrintInfo printOut -  = do{ thePrinterPPI     <- printoutGetPPIPrinter printOut-      ; theScreenPPI      <- printoutGetPPIScreen printOut-      ; thePageSizePixels <- printoutGetPageSizePixels printOut-      ; return (PrintInfo -          { printerPPI  = sizeFromPoint thePrinterPPI-          , screenPPI   = sizeFromPoint theScreenPPI-          , printPageSize = thePageSizePixels-          })-      } -+-----------------------------------------------------------------------------------------
+{-|
+Module      :  Print
+Copyright   :  (c) Daan Leijen 2003
+License     :  wxWindows
+
+Maintainer  :  wxhaskell-devel@lists.sourceforge.net
+Stability   :  provisional
+Portability :  portable
+
+Printer abstraction layer. See @samples\/wx\/Print.hs@ for a demo.
+
+The application should create a 'pageSetupDialog' to hold the printer
+settings of the user.
+
+> f <- frame [text := "Print demo"]                               
+> 
+> -- Create a pageSetup dialog with an initial margin of 25 mm.
+> pageSetup <- pageSetupDialog f 25
+
+The dialog can be shown using 'pageSetupShowModal'. Furthermore, the 
+function 'printDialog' and 'printPreview' can be used to show a print dialog
+and preview window.
+
+> mprint   <- menuItem file 
+>                [ text := "&Print..."
+>                , help := "Print a test"
+>                , on command := printDialog pageSetup "Test"  pageFun printFun
+>                ]
+> mpreview <- menuItem file 
+>                [ text := "&Print preview"
+>                , help := "Print preview"
+>                , on command := printPreview pageSetup "Test" pageFun printFun 
+
+Those functions take a 'PageFunction' and 'PrintFunction' respectively that get called
+to determine the number of needed pages and to draw on the printer DC respectively.
+The framework takes automatic care of printer margins, preview scaling etc.
+
+-}
+-----------------------------------------------------------------------------------------
+module Graphics.UI.WXCore.Print( -- * Printing
+                                 pageSetupDialog
+                               , pageSetupShowModal
+                               , printDialog
+                               , printPreview
+                                 -- * Callbacks
+                               , PageFunction
+                               , PrintFunction
+                                 -- * Page and printer info
+                               , PageInfo(..)
+                               , PrintInfo(..)
+                                 -- * Internal
+                               , pageSetupDataGetPageInfo, pageSetupDataSetPageInfo
+                               , printOutGetPrintInfo
+                               , pageSetupDialogGetFrame
+                               ) where
+
+import Graphics.UI.WXCore.WxcClasses
+import Graphics.UI.WXCore.WxcClassInfo
+import Graphics.UI.WXCore.Types
+import Graphics.UI.WXCore.Events
+import Graphics.UI.WXCore.Frame
+
+-- | Return a page range given page info, print info, and the printable size.
+-- The printable size is the number of pixels available for printing 
+-- without the page margins.
+type PageFunction    = PageInfo -> PrintInfo -> Size -> (Int,Int)
+
+-- | Print a page given page info, print info, the printable size, the
+-- printer device context and the current page.
+-- The printable size is the number of pixels available for printing 
+-- without the page margins
+type PrintFunction   = PageInfo -> PrintInfo -> Size -> DC () -> Int -> IO ()
+
+
+{--------------------------------------------------------------------------
+   Handle print events
+--------------------------------------------------------------------------}  
+-- | The standard print event handler
+onPrint :: Bool {- preview? -} 
+            -> PageInfo -> Printout (CWXCPrintout a)
+            -> PageFunction
+            -> PrintFunction 
+            -> EventPrint -> IO ()
+onPrint isPreview pageInfo printOut pageRangeFunction printFunction ev 
+  = case ev of
+      PrintPrepare ->
+        printOutInitPageRange printOut pageInfo pageRangeFunction >>
+        return ()
+
+      PrintPage _cancel dc n ->
+        do{ printInfo <- printOutGetPrintInfo printOut
+          ; let io info size = printFunction pageInfo info size dc n 
+          ; if isPreview 
+             then do let previewInfo = toScreenInfo printInfo
+                     (scaleX,scaleY) <- getPreviewZoom pageInfo previewInfo dc                     
+                     dcScale dc scaleX scaleY (respectMargin pageInfo previewInfo dc (io previewInfo))
+             else respectMargin pageInfo printInfo dc (io printInfo)
+          }        
+      _ -> return ()
+
+
+-- | Set a clipping region and device origin according to the margin
+respectMargin :: PageInfo -> PrintInfo -> DC a -> (Size -> IO b) -> IO b
+respectMargin pageInfo printInfo dc io
+  = do let ((left,top),printSize) = printableArea pageInfo printInfo
+
+       -- the device origin is in unscaled coordinates
+       scaleX <- dcGetUserScaleX dc
+       scaleY <- dcGetUserScaleY dc
+       dcSetDeviceOrigin dc (pt (round (scaleX*left)) (round (scaleY*top)))
+
+       -- the clipping respects the scaling
+       dcSetClippingRegion dc (rect (pt 0 0) printSize)
+       io printSize
+
+-- | Calculate the printable area
+printableArea :: PageInfo -> PrintInfo -> ((Double,Double),Size)
+printableArea pageInfo printInfo
+  = let (printW,printH) = pixelToMM (printerPPI printInfo) (printPageSize printInfo)
+        (ppmmW,ppmmH)   = ppiToPPMM (printerPPI printInfo)
+
+        -- calculate minimal printer margin
+        minX  = (toDouble (sizeW (pageSize pageInfo)) - printW)/2  
+        minY  = (toDouble (sizeH (pageSize pageInfo)) - printH)/2
+
+        -- top-left margin
+        top   = ppmmH * (max minY (toDouble $ rectTop  $ pageArea pageInfo))
+        left  = ppmmW * (max minX (toDouble $ rectLeft $ pageArea pageInfo))
+
+        -- bottom-right margin
+        (Point mright mbottom) 
+             = pointSub (pointFromSize (pageSize pageInfo)) (rectBottomRight (pageArea pageInfo))          
+        bottom= ppmmH * (max minY (toDouble mbottom))
+        right = ppmmW * (max minX (toDouble mright))
+
+        dw = round (right + left)
+        dh = round (bottom + top)
+        (dw', dh') = if sizeW (printPageSize printInfo) < sizeH (printPageSize printInfo)
+                     then (dw, dh)
+                     else (dh, dw)
+
+        -- the actual printable page size
+        printSize = sz (sizeW (printPageSize printInfo) - dw') 
+                      (sizeH (printPageSize printInfo) - dh')
+    in ((left,top),printSize) 
+
+-- | Get the zoom factor from the preview 
+getPreviewZoom :: PageInfo -> PrintInfo -> DC a -> IO (Double,Double)
+getPreviewZoom _pageInfo printInfo dc
+  = do size <- dcGetSize dc
+       let (printW,printH)   = pixelToMM (printerPPI printInfo) (printPageSize printInfo)
+           (screenW,screenH) = pixelToMM (screenPPI printInfo) size
+           scaleX       = screenW / printW
+           scaleY       = screenH / printH
+       return (scaleX,scaleY)
+
+
+-- | Transform printer info to screen printer info (for the preview).
+toScreenInfo :: PrintInfo -> PrintInfo
+toScreenInfo printInfo
+  = let scaleX  = (toDouble (sizeW (screenPPI printInfo))) / (toDouble (sizeW (printerPPI printInfo)))
+        scaleY  = (toDouble (sizeH (screenPPI printInfo))) / (toDouble (sizeH (printerPPI printInfo)))
+        pxX     = round (scaleX * (toDouble (sizeW (printPageSize printInfo))))
+        pxY     = round (scaleY * (toDouble (sizeH (printPageSize printInfo))))
+    in printInfo{ printerPPI    = screenPPI printInfo
+                , printPageSize = sz pxX pxY
+                }
+
+-- | Pixels to millimeters given a PPI
+pixelToMM :: Size -> Size -> (Double,Double)
+pixelToMM ppi size
+  = let convert f  = toDouble (f size) / (toDouble (f ppi) / 25.4)
+    in (convert sizeW, convert sizeH)
+
+-- | pixels per inch to pixels per millimeter
+ppiToPPMM :: Size -> (Double,Double)
+ppiToPPMM ppi
+  = let convert f  = toDouble (f ppi) / 25.4
+    in (convert sizeW, convert sizeH)
+
+-- | Convert an 'Int' to a 'Double'.
+toDouble :: Int -> Double
+toDouble i = fromIntegral i
+
+-- | Scale the 'DC'.
+dcScale :: DC a -> Double -> Double -> IO b -> IO b
+dcScale dc scaleX scaleY io
+  = do oldX <- dcGetUserScaleX dc
+       oldY <- dcGetUserScaleY dc
+       dcSetUserScale dc (oldX*scaleX) (oldY*scaleY)
+       x <- io
+       dcSetUserScale dc oldX oldY
+       return x
+
+{--------------------------------------------------------------------------
+  preview and printIt
+--------------------------------------------------------------------------}
+-- | Show a print dialog.
+printDialog :: PageSetupDialog a 
+          -> String
+          -> PageFunction
+          -> PrintFunction 
+          -> IO ()
+printDialog pageSetupDialog' title pageRangeFunction printFunction =
+  do{ pageSetupData    <- pageSetupDialogGetPageSetupData pageSetupDialog'
+    ; printData        <- pageSetupDialogDataGetPrintData pageSetupData
+    ; printDialogData  <- printDialogDataCreateFromData printData
+    ; printDialogDataSetAllPages printDialogData True 
+    ; printer          <- printerCreate printDialogData
+    ; printout         <- wxcPrintoutCreate title
+    ; pageInfo         <- pageSetupDataGetPageInfo pageSetupData
+    ; _                <- printOutInitPageRange printout pageInfo pageRangeFunction
+    ; printOutOnPrint printout (onPrint False pageInfo printout pageRangeFunction printFunction)
+    ; frame            <- pageSetupDialogGetFrame pageSetupDialog'
+    ; _                <- printerPrint printer frame printout True {- show printer setup? -}
+    ; objectDelete printDialogData
+    ; objectDelete printout
+    ; objectDelete printer
+    }
+
+-- | Show a preview window
+printPreview :: PageSetupDialog a 
+           -> String
+           -> PageFunction
+           -> PrintFunction
+           -> IO ()
+printPreview pageSetupDialog' title pageRangeFunction printFunction =
+  do{ pageSetupData <- pageSetupDialogGetPageSetupData pageSetupDialog'
+    ; pageInfo      <- pageSetupDataGetPageInfo pageSetupData
+    ; printout1     <- wxcPrintoutCreate "Print to preview"
+    ; printout2     <- wxcPrintoutCreate "Print to printer"
+    ; startPage     <- printOutInitPageRange printout1 pageInfo pageRangeFunction
+    ; _             <- printOutInitPageRange printout2 pageInfo pageRangeFunction
+    ; printOutOnPrint printout1 (onPrint True  pageInfo printout1 pageRangeFunction printFunction)
+    ; printOutOnPrint printout2 (onPrint False pageInfo printout2 pageRangeFunction printFunction)
+    ; printData        <- pageSetupDialogDataGetPrintData pageSetupData
+    ; printDialogData  <- printDialogDataCreateFromData printData
+    ; printDialogDataSetAllPages printDialogData True 
+    ; preview      <- printPreviewCreateFromDialogData printout1 printout2 printDialogData
+    ; _            <- printPreviewSetCurrentPage preview startPage
+    ; frame        <- pageSetupDialogGetFrame pageSetupDialog'
+    ; previewFrame <- previewFrameCreate preview frame title rectNull frameDefaultStyle title
+    ; previewFrameInitialize previewFrame
+    ; _            <- windowShow previewFrame 
+    ; windowRaise previewFrame
+    }
+
+
+{--------------------------------------------------------------------------
+  Class helpers
+--------------------------------------------------------------------------}
+
+-- | Set the correct page range for a printout.
+printOutInitPageRange :: WXCPrintout a -> PageInfo -> PageFunction -> IO Int
+printOutInitPageRange printOut pageInfo pageRangeFunction
+  = do{ printInfo <- printOutGetPrintInfo printOut
+      ; let (_,size)    = printableArea pageInfo printInfo
+            (start,end) = pageRangeFunction pageInfo printInfo size
+      ; wxcPrintoutSetPageLimits printOut start end start end
+      ; return start
+      }
+
+
+-- | Get the parent frame of a 'PageSetupDialog'.
+pageSetupDialogGetFrame :: PageSetupDialog a -> IO (Frame ())
+pageSetupDialogGetFrame pageSetupDialog'
+  = do p <- windowGetParent pageSetupDialog' 
+       case (safeCast p classFrame) of
+        Just frame  -> return frame
+        Nothing     -> do w <- wxcAppGetTopWindow
+                          case (safeCast w classFrame) of
+                            Just frame -> return frame
+                            Nothing    -> error "pageSetupDialogGetFrame: no parent frame found!"
+
+
+{--------------------------------------------------------------------------
+    PageSetupDialog  
+--------------------------------------------------------------------------}  
+-- | Create a (hidden) page setup dialog that remembers printer settings.
+-- It is a parameter to the functions 'printDialog' and 'printPreview'.
+-- The creation function takes a parent frame and the initial page margins
+-- (in millimeters) as an argument.
+pageSetupDialog :: Frame a -> Int -> IO (PageSetupDialog ())
+pageSetupDialog f margin
+  = do pageSetupData  <- pageSetupDialogDataCreate
+       if (margin > 0)
+        then do pageInfo <- pageSetupDataGetPageInfo pageSetupData
+                let p0      = pt margin margin
+                    p1      = pointSub (pointFromSize (pageSize pageInfo)) p0
+                    newInfo = pageInfo{ pageArea = rectBetween p0 p1 }
+                pageSetupDataSetPageInfo pageSetupData newInfo
+        else return ()                                                                                           
+       pageSetupDialog' <- pageSetupDialogCreate f pageSetupData
+       prev <- windowGetOnClose f
+       windowOnClose f (do{ objectDelete pageSetupDialog'; prev })
+       objectDelete pageSetupData
+       return pageSetupDialog'
+
+-- | Show the page setup dialog
+pageSetupShowModal :: PageSetupDialog a -> IO ()
+pageSetupShowModal p
+  = dialogShowModal p >> return ()
+
+{--------------------------------------------------------------------------
+  PageInfo and PrintInfo
+--------------------------------------------------------------------------}
+
+-- | Information from the page setup dialog.
+--   All measurements are in millimeters.
+data PageInfo = PageInfo{ pageSize :: Size  -- ^ The page size (in millimeters)
+                        , pageArea :: Rect  -- ^ The available page area (=margins) (in millimeters)
+                        } 
+                        deriving Show
+
+-- | Get page info
+pageSetupDataGetPageInfo :: PageSetupDialogData a  -> IO PageInfo
+pageSetupDataGetPageInfo pageSetupData 
+  = do{ topLeft     <- pageSetupDialogDataGetMarginTopLeft pageSetupData
+      ; bottomRight <- pageSetupDialogDataGetMarginBottomRight pageSetupData
+      ; paperSize   <- pageSetupDialogDataGetPaperSize pageSetupData
+      ; return (PageInfo
+          { pageSize   = paperSize
+          , pageArea   = rectBetween topLeft (pointSub (pointFromSize paperSize) bottomRight)
+          })
+      }
+
+-- | Set page info
+pageSetupDataSetPageInfo :: PageSetupDialogData a -> PageInfo -> IO ()
+pageSetupDataSetPageInfo pageSetupData pageInfo
+  = do{ let topLeft     = rectTopLeft (pageArea pageInfo)
+            bottomRight = pointSub (pointFromSize (pageSize pageInfo)) (rectBottomRight (pageArea pageInfo))
+      ; pageSetupDialogDataSetMarginTopLeft pageSetupData topLeft
+      ; pageSetupDialogDataSetMarginBottomRight pageSetupData bottomRight
+      ; pageSetupDialogDataSetPaperSize pageSetupData (pageSize pageInfo)
+      }
+
+
+-- | Printer information.
+data PrintInfo = PrintInfo  { screenPPI         :: Size -- ^ screen pixels per inch
+                            , printerPPI        :: Size -- ^ printer pixels per inch
+                            , printPageSize     :: Size -- ^ printable area (in pixels) = PageInfo pageSize minus printer margins
+                            } deriving Show
+
+-- | Extract print info    
+printOutGetPrintInfo :: Printout a -> IO PrintInfo
+printOutGetPrintInfo printOut 
+  = do{ thePrinterPPI     <- printoutGetPPIPrinter printOut
+      ; theScreenPPI      <- printoutGetPPIScreen printOut
+      ; thePageSizePixels <- printoutGetPageSizePixels printOut
+      ; return (PrintInfo 
+          { printerPPI  = sizeFromPoint thePrinterPPI
+          , screenPPI   = sizeFromPoint theScreenPPI
+          , printPageSize = thePageSizePixels
+          })
+      } 
+
src/haskell/Graphics/UI/WXCore/Process.hs view
@@ -1,314 +1,312 @@-------------------------------------------------------------------------------------------{-|	Module      :  Process-	Copyright   :  (c) Daan Leijen 2003-	License     :  wxWindows--	Maintainer  :  wxhaskell-devel@lists.sourceforge.net-	Stability   :  provisional-	Portability :  portable--Process and stream wrappers.--}-------------------------------------------------------------------------------------------module Graphics.UI.WXCore.Process-        (-        -- * Process-          OnReceive, OnEndProcess-        , processExecAsyncTimed, processExecAsync-        -- * Streams-        , StreamStatus(..)-        , streamBaseStatus-        -- * Blocking IO-        , inputStreamGetContents-        , inputStreamGetContentsN-        , inputStreamGetLine-        , inputStreamGetString-        , inputStreamGetChar-        , outputStreamPutString-        -- * Non-blocking IO-        , inputStreamGetLineNoWait-        , inputStreamGetStringNoWait-        , inputStreamGetCharNoWait-        , outputStreamPutStringNoWait-        ) where--import System.IO.Unsafe( unsafeInterleaveIO )-import Graphics.UI.WXCore.WxcTypes( ptrCast )-import Graphics.UI.WXCore.WxcDefs-import Graphics.UI.WXCore.WxcClasses-import Graphics.UI.WXCore.Types-import Graphics.UI.WXCore.Events--import Foreign-import Foreign.Ptr-import Foreign.Storable-import Foreign.C.String-import Foreign.C.Types--  ---- | Write a string to an output stream, potentially blocking--- until all output has been written.-outputStreamPutString :: OutputStream a -> String -> IO ()-outputStreamPutString outputStream s-  = withCString s $ \cstr -> write cstr (length s)-  where-    write cstr n-      = do outputStreamWrite outputStream cstr n-           m <- outputStreamLastWrite outputStream-           if (m < n && m > 0 {- prevent infinite loop -} )-            then write (advancePtr cstr m) (n - m)-            else return ()-      ---- | Write a string to an output stream, returning the--- number of bytes actually written.-outputStreamPutStringNoWait :: OutputStream a -> String -> IO Int-outputStreamPutStringNoWait outputStream s-  = withCString s $ \cstr ->-    do outputStreamWrite outputStream cstr (length s)-       outputStreamLastWrite outputStream---- | @inputStreamGetLineNoWait stream n@ reads a line of at most @n@ characters from the--- input stream in a non-blocking way. The function does automatic end-of-line--- conversion. If the line ends with @\\n@, an entire line--- has been read, otherwise, either the maximum has been reached, or no more--- input was available.-inputStreamGetLineNoWait :: InputStream a -> Int -> IO String-inputStreamGetLineNoWait inputStream max-  = read "" 0-  where-    read acc n-      = if n >= max-         then return (reverse acc)-         else do mbc <- inputStreamGetCharNoWait inputStream-                 case mbc of-                  Nothing    -> return (reverse acc)-                  Just '\n'  -> return (reverse ('\n':acc))-                  Just '\r'  -> do mbc2 <- inputStreamGetCharNoWait inputStream-                                   case mbc2 of-                                     Just c2  | c2 /= '\n' -> do inputStreamUngetch inputStream c2-                                                                 return ()-                                     _        -> return ()-                                   return (reverse ('\n':acc))-                  Just c     -> read (c:acc) (n+1)---- | @inputStreamGetStringNoWait stream n@ reads a line of at most @n@ characters from the--- input stream in a non-blocking way. -inputStreamGetStringNoWait :: InputStream a -> Int -> IO String-inputStreamGetStringNoWait input max-  = read "" 0-  where-    read acc n-      = if ( n >= max )-         then return (reverse acc)-         else do mbc <- inputStreamGetCharNoWait input-                 case mbc of-                   Nothing -> return (reverse acc)-                   Just c  -> read (c:acc) (n+1)----- | Read a single character from the input, returning @Nothing@ if no input--- was available (using 'inputStreamCanRead').-inputStreamGetCharNoWait :: InputStream a -> IO (Maybe Char)-inputStreamGetCharNoWait input-  = do canRead <- inputStreamCanRead input-       if canRead-        then do c <- inputStreamGetC input-                return (Just c)-        else return Nothing----- | @inputStreamGetLine s n@ reads a line of at most @n@ characters from the--- input stream (potentially waiting for input). The function does automatic end-of-line--- conversion. If the line ends with @\\n@, an entire line--- has been read, otherwise, either the maximum has been reached, or no more--- input was available.-inputStreamGetLine :: InputStream a -> Int -> IO String-inputStreamGetLine inputStream max-  = read "" 0-  where-    read acc n-      = if n >= max-         then return (reverse acc)-         else do c <- inputStreamGetChar inputStream-                 case c of-                  '\n'  -> return (reverse ('\n':acc))-                  '\r'  -> do mbc2 <- inputStreamGetCharNoWait inputStream-                              case mbc2 of-                                Just c2  | c2 /= '\n' -> do inputStreamUngetch inputStream c2-                                                            return ()-                                _        -> return ()-                              return (reverse ('\n':acc))-                  _     -> read (c:acc) (n+1)---- | Read a single character from the input. (equals 'inputStreamGetC')-inputStreamGetChar :: InputStream a -> IO Char-inputStreamGetChar input-  = inputStreamGetC input----- | The expression (@inputStreamGetString n input@) reads a string of maximally--- @n@ characters from @input@.-inputStreamGetString :: InputStream a -> Int -> IO String-inputStreamGetString inputStream n-  = allocaBytes (n+1) $ \buffer ->-    do inputStreamRead inputStream buffer n-       nread <- inputStreamLastRead inputStream-       mapM (peekChar buffer) [0..nread-1]-  where       -    peekChar :: Ptr CChar -> Int -> IO Char-    peekChar p ofs-      = do cchar <- peekElemOff p ofs-           return (castCCharToChar cchar)------ | Get the entire contents of an input stream. The content--- is returned as a lazy stream (like 'hGetContents').-inputStreamGetContents :: InputStream a -> IO String-inputStreamGetContents inputStream-  = inputStreamGetContentsN inputStream 1---- | Get the entire contents of an input stream. The content--- is returned as a lazy stream (like 'hGetContents'). The--- contents are returned in lazy /batches/, whose size is--- determined by the first parameter.-inputStreamGetContentsN :: InputStream a -> Int -> IO String-inputStreamGetContentsN inputStream n-  = do status <- streamBaseGetLastError inputStream-       if (status == wxSTREAM_NO_ERROR)-        then do x  <- inputStreamGetString inputStream n-                xs <- unsafeInterleaveIO (inputStreamGetContentsN inputStream n)-                return (x ++ xs)-        else return ""---- | Return the status of the stream-streamBaseStatus :: StreamBase a -> IO StreamStatus-streamBaseStatus stream-  = do code <- streamBaseGetLastError stream-       return (streamStatusFromInt code)---- | Type of input receiver function.-type OnReceive     = String -> StreamStatus -> IO ()---- | Type of end-of-process event handler. Gets the exitcode as its argument.-type OnEndProcess  = Int -> IO ()------ | (@processExecAsyncTimer command processOutputOnEnd onEndProcess onOutput onErrorOutput parent@) starts--- the @command@ asynchronously. The handler @onEndProcess@ is called when the process--- terminates. @onOutput@ receives the output from @stdout@, while @onErrorOutput@ receives--- output from @stderr@. If @processOutputOnEnd@ is 'True', the remaining output of a terminated--- process is processed (calling @onOutput@). The call returns a triple (@send,process,pid@):--- The @send@ function is used to send input to the @stdin@ pipe of the process. The--- process object is returned in @process@ and the process identifier in @pid@.------ Note: The method uses idle event timers to process the output channels. On--- many platforms this is uch more thrustworthy and robust than the 'processExecAsync' that--- uses threads (which can cause all kinds of portability problems).-processExecAsyncTimed :: Window a -> String -> Bool -> OnEndProcess -> OnReceive -> OnReceive-                      -> IO (String -> IO StreamStatus, Process (), Int)-processExecAsyncTimed parent cmd readInputOnEnd onEndProcess onOutput onErrOutput-  = do process    <- processCreateDefault parent idAny-       processRedirect process-       pid        <- wxcAppExecuteProcess cmd wxEXEC_ASYNC process-       if (pid == 0)-        then return (\s -> return StreamEof, objectNull, pid)-        else do v <- varCreate (Just process)-                windowOnIdle parent (handleAnyInput v)-                unregister <- appRegisterIdle 100           -- 10 times a second-                evtHandlerOnEndProcess parent (handleTerminate v unregister)-                let send txt = handleSend v txt-                return (send, process, pid)-  where-    maxLine :: Int-    maxLine = 160--    handleSend :: Var (Maybe (Process a)) -> String -> IO StreamStatus-    handleSend v txt-      = withProcess v StreamEof $ \process ->-        do outputPipe <- processGetOutputStream process-           outputStreamPutString outputPipe txt         -- TODO: use idle events to do output non-blocking?-           streamBaseStatus outputPipe-           -    handleAnyInput :: Var (Maybe (Process a)) -> IO Bool-    handleAnyInput v-      = withProcess v False $ \process ->-        do inputPipe <- processGetInputStream process -           available <- handleInput inputPipe onOutput  -- process some input on stdout-           errorPipe <- processGetErrorStream process           -           handleAllInput errorPipe onErrOutput         -- process all input on stderr-           return available--    handleAllInput :: InputStream a -> OnReceive -> IO ()-    handleAllInput input onOutput -      = do available <- handleInput input onOutput-           if (available)-            then handleAllInput input onOutput-            else return ()-    -    handleInput :: InputStream a -> OnReceive -> IO Bool-    handleInput input onOutput -      = do txt    <- inputStreamGetLineNoWait input maxLine-           status <- streamBaseStatus input-           if null txt -            then case status of-                   StreamOk -> return False-                   _        -> do onOutput "" status-                                  return False-            else do onOutput txt status-                    return True--    handleTerminate :: Var (Maybe (Process a)) -> IO () -> Int -> Int -> IO ()-    handleTerminate v unregister pid exitCode-      = do unregister-           withProcess v () $ \process -> -            do varSet v Nothing-               if (readInputOnEnd)-                then do inputPipe <- processGetInputStream process-                        handleAllInput inputPipe onOutput  -- handle remaining input-                else return ()-               onEndProcess exitCode-               processDelete process -               return ()--    withProcess v x f-      = do mb <- varGet v -           case mb of-             Nothing -> return x-             Just p  -> f p----{-# DEPRECATED processExecAsync "Use processExecAsyncTimed instead (if possible)" #-}--- | deprecated: use 'processExecAsyncTimed' instead (if possible).--- (@processExecAsync command bufferSize onEndProcess onOutput onErrorOutput parent@) starts--- the @command@ asynchronously. The handler @onEndProcess@ is called when the process--- terminates. @onOutput@ receives the output from @stdout@, while @onErrorOutput@ receives--- output from @stderr@. The @bufferSize@ determines the intermediate buffer used to--- cache the output from those channels. The calls returns a triple (@send,process,pid@):--- The @send@ function is used to send input to the @stdin@ pipe of the process. The--- process object is returned in @process@ and the process identifier in @pid@.-processExecAsync :: Window a -> String -> Int -> OnEndProcess -> OnReceive -> OnReceive-                      -> IO (String -> IO (), Process (), Int)-processExecAsync parent command bufferSize onEndProcess onOutput onErrOutput-  = do process    <- processCreateDefault parent idAny-       processRedirect process-       pid        <- wxcAppExecuteProcess command wxEXEC_ASYNC process-       if (pid == 0)-        then return (\s -> return (), objectNull, pid)-        else do inputPipe  <- processGetInputStream process-                outputPipe <- processGetOutputStream process-                errorPipe  <- processGetErrorStream process-                evtHandlerOnEndProcess parent (handleOnEndProcess pid process inputPipe outputPipe errorPipe)-                evtHandlerOnInput parent onOutput inputPipe bufferSize-                evtHandlerOnInput parent onErrOutput errorPipe bufferSize-                let send txt   = outputStreamPutString outputPipe txt-                return (send, process, pid)-  where-    handleOnEndProcess ourPid process inputPipe outputPipe errorPipe pid exitcode-      | ourPid == pid  = do onEndProcess exitcode-                            processDelete process-      | otherwise      = return ()+-----------------------------------------------------------------------------------------
+{-|
+Module      :  Process
+Copyright   :  (c) Daan Leijen 2003
+License     :  wxWindows
+
+Maintainer  :  wxhaskell-devel@lists.sourceforge.net
+Stability   :  provisional
+Portability :  portable
+
+Process and stream wrappers.
+-}
+-----------------------------------------------------------------------------------------
+module Graphics.UI.WXCore.Process
+        (
+        -- * Process
+          OnReceive, OnEndProcess
+        , processExecAsyncTimed, processExecAsync
+        -- * Streams
+        , StreamStatus(..)
+        , streamBaseStatus
+        -- * Blocking IO
+        , inputStreamGetContents
+        , inputStreamGetContentsN
+        , inputStreamGetLine
+        , inputStreamGetString
+        , inputStreamGetChar
+        , outputStreamPutString
+        -- * Non-blocking IO
+        , inputStreamGetLineNoWait
+        , inputStreamGetStringNoWait
+        , inputStreamGetCharNoWait
+        , outputStreamPutStringNoWait
+        ) where
+
+import System.IO.Unsafe( unsafeInterleaveIO )
+import Graphics.UI.WXCore.WxcDefs
+import Graphics.UI.WXCore.WxcClasses
+import Graphics.UI.WXCore.Types
+import Graphics.UI.WXCore.Events
+
+import Foreign
+import Foreign.C.String
+import Foreign.C.Types
+
+  
+
+-- | Write a string to an output stream, potentially blocking
+-- until all output has been written.
+outputStreamPutString :: OutputStream a -> String -> IO ()
+outputStreamPutString outputStream s
+  = withCString s $ \cstr -> write cstr (length s)
+  where
+    write cstr n
+      = do outputStreamWrite outputStream cstr n
+           m <- outputStreamLastWrite outputStream
+           if (m < n && m > 0 {- prevent infinite loop -} )
+            then write (advancePtr cstr m) (n - m)
+            else return ()
+      
+
+-- | Write a string to an output stream, returning the
+-- number of bytes actually written.
+outputStreamPutStringNoWait :: OutputStream a -> String -> IO Int
+outputStreamPutStringNoWait outputStream s
+  = withCString s $ \cstr ->
+    do outputStreamWrite outputStream cstr (length s)
+       outputStreamLastWrite outputStream
+
+-- | @inputStreamGetLineNoWait stream n@ reads a line of at most @n@ characters from the
+-- input stream in a non-blocking way. The function does automatic end-of-line
+-- conversion. If the line ends with @\\n@, an entire line
+-- has been read, otherwise, either the maximum has been reached, or no more
+-- input was available.
+inputStreamGetLineNoWait :: InputStream a -> Int -> IO String
+inputStreamGetLineNoWait inputStream maxChars
+  = readInputStream "" 0
+  where
+    readInputStream acc n
+      = if n >= maxChars
+         then return (reverse acc)
+         else do mbc <- inputStreamGetCharNoWait inputStream
+                 case mbc of
+                  Nothing    -> return (reverse acc)
+                  Just '\n'  -> return (reverse ('\n':acc))
+                  Just '\r'  -> do mbc2 <- inputStreamGetCharNoWait inputStream
+                                   case mbc2 of
+                                     Just c2  | c2 /= '\n' -> inputStreamUngetch inputStream c2 >>
+                                                              return ()
+                                     _        -> return ()
+                                   return (reverse ('\n':acc))
+                  Just c     -> readInputStream (c:acc) (n+1)
+
+-- | @inputStreamGetStringNoWait stream n@ reads a line of at most @n@ characters from the
+-- input stream in a non-blocking way. 
+inputStreamGetStringNoWait :: InputStream a -> Int -> IO String
+inputStreamGetStringNoWait input maxChars
+  = readInputStream "" 0
+  where
+    readInputStream acc n
+      = if ( n >= maxChars )
+         then return (reverse acc)
+         else do mbc <- inputStreamGetCharNoWait input
+                 case mbc of
+                   Nothing -> return (reverse acc)
+                   Just c  -> readInputStream (c:acc) (n+1)
+
+
+-- | Read a single character from the input, returning @Nothing@ if no input
+-- was available (using 'inputStreamCanRead').
+inputStreamGetCharNoWait :: InputStream a -> IO (Maybe Char)
+inputStreamGetCharNoWait input
+  = do canRead <- inputStreamCanRead input
+       if canRead
+        then do c <- inputStreamGetC input
+                return (Just c)
+        else return Nothing
+
+
+-- | @inputStreamGetLine s n@ reads a line of at most @n@ characters from the
+-- input stream (potentially waiting for input). The function does automatic end-of-line
+-- conversion. If the line ends with @\\n@, an entire line
+-- has been read, otherwise, either the maximum has been reached, or no more
+-- input was available.
+inputStreamGetLine :: InputStream a -> Int -> IO String
+inputStreamGetLine inputStream maxChars
+  = readInputStream "" 0
+  where
+    readInputStream acc n
+      = if n >= maxChars
+         then return (reverse acc)
+         else do c <- inputStreamGetChar inputStream
+                 case c of
+                  '\n'  -> return (reverse ('\n':acc))
+                  '\r'  -> do mbc2 <- inputStreamGetCharNoWait inputStream
+                              case mbc2 of
+                                Just c2  | c2 /= '\n' -> inputStreamUngetch inputStream c2 >>
+                                                         return ()
+                                _        -> return ()
+                              return (reverse ('\n':acc))
+                  _     -> readInputStream (c:acc) (n+1)
+
+-- | Read a single character from the input. (equals 'inputStreamGetC')
+inputStreamGetChar :: InputStream a -> IO Char
+inputStreamGetChar input
+  = inputStreamGetC input
+
+
+-- | The expression (@inputStreamGetString n input@) reads a string of maximally
+-- @n@ characters from @input@.
+inputStreamGetString :: InputStream a -> Int -> IO String
+inputStreamGetString inputStream n
+  = allocaBytes (n+1) $ \buffer ->
+    do inputStreamRead inputStream buffer n
+       nread <- inputStreamLastRead inputStream
+       mapM (peekChar buffer) [0..nread-1]
+  where       
+    peekChar :: Ptr CChar -> Int -> IO Char
+    peekChar p ofs
+      = do cchar <- peekElemOff p ofs
+           return (castCCharToChar cchar)
+
+
+
+-- | Get the entire contents of an input stream. The content
+-- is returned as a lazy stream (like 'hGetContents').
+inputStreamGetContents :: InputStream a -> IO String
+inputStreamGetContents inputStream
+  = inputStreamGetContentsN inputStream 1
+
+-- | Get the entire contents of an input stream. The content
+-- is returned as a lazy stream (like 'hGetContents'). The
+-- contents are returned in lazy /batches/, whose size is
+-- determined by the first parameter.
+inputStreamGetContentsN :: InputStream a -> Int -> IO String
+inputStreamGetContentsN inputStream n
+  = do status <- streamBaseGetLastError inputStream
+       if (status == wxSTREAM_NO_ERROR)
+        then do x  <- inputStreamGetString inputStream n
+                xs <- unsafeInterleaveIO (inputStreamGetContentsN inputStream n)
+                return (x ++ xs)
+        else return ""
+
+-- | Return the status of the stream
+streamBaseStatus :: StreamBase a -> IO StreamStatus
+streamBaseStatus stream
+  = do code <- streamBaseGetLastError stream
+       return (streamStatusFromInt code)
+
+-- | Type of input receiver function.
+type OnReceive     = String -> StreamStatus -> IO ()
+
+-- | Type of end-of-process event handler. Gets the exitcode as its argument.
+type OnEndProcess  = Int -> IO ()
+
+
+
+-- | (@processExecAsyncTimer command processOutputOnEnd onEndProcess onOutput onErrorOutput parent@) starts
+-- the @command@ asynchronously. The handler @onEndProcess@ is called when the process
+-- terminates. @onOutput@ receives the output from @stdout@, while @onErrorOutput@ receives
+-- output from @stderr@. If @processOutputOnEnd@ is 'True', the remaining output of a terminated
+-- process is processed (calling @onOutput@). The call returns a triple (@send,process,pid@):
+-- The @send@ function is used to send input to the @stdin@ pipe of the process. The
+-- process object is returned in @process@ and the process identifier in @pid@.
+--
+-- Note: The method uses idle event timers to process the output channels. On
+-- many platforms this is much more trustworthy and robust than the 'processExecAsync' that
+-- uses threads (which can cause all kinds of portability problems).
+processExecAsyncTimed :: Window a -> String -> Bool -> OnEndProcess -> OnReceive -> OnReceive
+                      -> IO (String -> IO StreamStatus, Process (), Int)
+processExecAsyncTimed parent cmd readInputOnEnd onEndProcess onOutput onErrOutput
+  = do process    <- processCreateDefault parent idAny
+       processRedirect process
+       pid        <- wxcAppExecuteProcess cmd wxEXEC_ASYNC process
+       if (pid == 0)
+        then return (\_s -> return StreamEof, objectNull, pid)
+        else do v <- varCreate (Just process)
+                windowOnIdle parent (handleAnyInput v)
+                unregister <- appRegisterIdle 100           -- 10 times a second
+                evtHandlerOnEndProcess parent (handleTerminate v unregister)
+                let send txt = handleSend v txt
+                return (send, process, pid)
+  where
+    maxLine :: Int
+    maxLine = 160
+
+    handleSend :: Var (Maybe (Process a)) -> String -> IO StreamStatus
+    handleSend v txt
+      = withProcess v StreamEof $ \process ->
+        do outputPipe <- processGetOutputStream process
+           outputStreamPutString outputPipe txt         -- TODO: use idle events to do output non-blocking?
+           streamBaseStatus outputPipe
+           
+    handleAnyInput :: Var (Maybe (Process a)) -> IO Bool
+    handleAnyInput v
+      = withProcess v False $ \process ->
+        do inputPipe <- processGetInputStream process 
+           available <- handleInput inputPipe onOutput  -- process some input on stdout
+           errorPipe <- processGetErrorStream process           
+           handleAllInput errorPipe onErrOutput         -- process all input on stderr
+           return available
+
+    handleAllInput :: InputStream a -> OnReceive -> IO ()
+    handleAllInput input onOutput' 
+      = do available <- handleInput input onOutput'
+           if (available)
+            then handleAllInput input onOutput'
+            else return ()
+    
+    handleInput :: InputStream a -> OnReceive -> IO Bool
+    handleInput input onOutput' 
+      = do txt    <- inputStreamGetLineNoWait input maxLine
+           status <- streamBaseStatus input
+           if null txt 
+            then case status of
+                   StreamOk -> return False
+                   _        -> do onOutput' "" status
+                                  return False
+            else do onOutput' txt status
+                    return True
+
+    handleTerminate :: Var (Maybe (Process a)) -> IO () -> Int -> Int -> IO ()
+    handleTerminate v unregister _pid exitCode
+      = do unregister
+           withProcess v () $ \process -> 
+            do varSet v Nothing
+               if (readInputOnEnd)
+                then do inputPipe <- processGetInputStream process
+                        handleAllInput inputPipe onOutput  -- handle remaining input
+                else return ()
+               onEndProcess exitCode
+               processDelete process 
+               return ()
+
+    withProcess v x f
+      = do mb <- varGet v 
+           case mb of
+             Nothing -> return x
+             Just p  -> f p
+
+
+
+{-# DEPRECATED processExecAsync "Use processExecAsyncTimed instead (if possible)" #-}
+-- | deprecated: use 'processExecAsyncTimed' instead (if possible).
+-- (@processExecAsync command bufferSize onEndProcess onOutput onErrorOutput parent@) starts
+-- the @command@ asynchronously. The handler @onEndProcess@ is called when the process
+-- terminates. @onOutput@ receives the output from @stdout@, while @onErrorOutput@ receives
+-- output from @stderr@. The @bufferSize@ determines the intermediate buffer used to
+-- cache the output from those channels. The calls returns a triple (@send,process,pid@):
+-- The @send@ function is used to send input to the @stdin@ pipe of the process. The
+-- process object is returned in @process@ and the process identifier in @pid@.
+processExecAsync :: Window a -> String -> Int -> OnEndProcess -> OnReceive -> OnReceive
+                      -> IO (String -> IO (), Process (), Int)
+processExecAsync parent command bufferSize onEndProcess onOutput onErrOutput
+  = do process    <- processCreateDefault parent idAny
+       processRedirect process
+       pid        <- wxcAppExecuteProcess command wxEXEC_ASYNC process
+       if (pid == 0)
+        then return (\_s -> return (), objectNull, pid)
+        else do inputPipe  <- processGetInputStream process
+                outputPipe <- processGetOutputStream process
+                errorPipe  <- processGetErrorStream process
+                evtHandlerOnEndProcess parent (handleOnEndProcess pid process inputPipe outputPipe errorPipe)
+                evtHandlerOnInput parent onOutput inputPipe bufferSize
+                evtHandlerOnInput parent onErrOutput errorPipe bufferSize
+                let send txt   = outputStreamPutString outputPipe txt
+                return (send, process, pid)
+  where
+    handleOnEndProcess ourPid process _inputPipe _outputPipe _errorPipe pid exitcode
+      | ourPid == pid  = do onEndProcess exitcode
+                            processDelete process
+      | otherwise      = return ()
src/haskell/Graphics/UI/WXCore/Types.hs view
@@ -1,520 +1,523 @@-{-# INCLUDE "wxc.h" #-}-{-# LANGUAGE ForeignFunctionInterface, FlexibleInstances #-}-------------------------------------------------------------------------------------------{-|	Module      :  Types-	Copyright   :  (c) Daan Leijen 2003-	License     :  wxWindows--	Maintainer  :  wxhaskell-devel@lists.sourceforge.net-	Stability   :  provisional-	Portability :  portable--Basic types and operations.--}-------------------------------------------------------------------------------------------module Graphics.UI.WXCore.Types(-            -- * Objects-              ( # )-            , Object, objectNull, objectIsNull, objectCast, objectIsManaged-            , objectDelete-            , withObjectPtr, withObjectRef-            , withObjectResult, withManagedObjectResult-            , objectFinalize, objectNoFinalize-            , objectFromPtr, managedObjectFromPtr-            ----            , Managed, managedNull, managedIsNull, managedCast, createManaged, withManaged, managedTouch--            -- * Identifiers-            , Id, idAny, idCreate--            -- * Bits-            , (.+.), (.-.)-            , bits-            , bitsSet--            -- * Control-            , unitIO, bracket, bracket_, finally, finalize, when--            -- * Variables-            , Var, varCreate, varGet, varSet, varUpdate, varSwap--            -- * Misc.-            , Style-            , EventId-            , TreeItem, treeItemInvalid, treeItemIsOk--            -- * Basic types--            -- ** Booleans-            , toCBool, fromCBool--            -- ** Colors-            , Color, rgb, colorRGB, colorRed, colorGreen, colorBlue, intFromColor, colorFromInt, colorIsOk, colorOk-            , black, darkgrey, dimgrey, mediumgrey, grey, lightgrey, white-            , red, green, blue-            , cyan, magenta, yellow-            -- *** System colors-            , SystemColor(..), colorSystem--            -- ** Points-            , Point, Point2(Point,pointX,pointY), point, pt, pointFromVec, pointFromSize, pointZero, pointNull-            , pointMove, pointMoveBySize, pointAdd, pointSub, pointScale--            -- ** Sizes-            , Size, Size2D(Size,sizeW,sizeH), sz, sizeFromPoint, sizeFromVec, sizeZero, sizeNull, sizeEncloses-            , sizeMin, sizeMax--            -- ** Vectors-            , Vector, Vector2(Vector,vecX,vecY), vector, vec, vecFromPoint, vecFromSize, vecZero, vecNull-            , vecNegate, vecOrtogonal, vecAdd, vecSub, vecScale, vecBetween, vecLength-            , vecLengthDouble--            -- ** Rectangles-            , Rect, Rect2D(Rect,rectLeft,rectTop,rectWidth,rectHeight)-            , rectTopLeft, rectTopRight, rectBottomLeft, rectBottomRight, rectBottom, rectRight-            , rect, rectBetween, rectFromSize, rectZero, rectNull, rectSize, rectIsEmpty-            , rectContains, rectMoveTo, rectFromPoint, rectCentralPoint, rectCentralRect, rectStretchTo-            , rectCentralPointDouble, rectCentralRectDouble-            , rectMove, rectOverlaps, rectsDiff, rectUnion, rectOverlap, rectUnions--            ) where--import Data.List( (\\) )-import Graphics.UI.WXCore.WxcTypes-import Graphics.UI.WXCore.WxcDefs-import Graphics.UI.WXCore.WxcClasses( wxcSystemSettingsGetColour )-import System.IO.Unsafe( unsafePerformIO )---- utility-import Data.Array-import Data.Bits-import Control.Concurrent.STM-import qualified Control.Exception as CE-import qualified Control.Monad as M---infixl 5 .+.-infixl 5 .-.-infix 5 #---- | Reverse application, i.e. @x # f@ = @f x@.--- Useful for an object oriented style of programming.------ > (frame # frameSetTitle) "hi"----( # ) :: obj -> (obj -> a) -> a-object # method   = method object---{---------------------------------------------------------------------------------  Bitmasks---------------------------------------------------------------------------------}--- | Bitwise /or/ of two bit masks.-(.+.) :: Int -> Int -> Int-(.+.) i j-  = i .|. j---- | Unset certain bits in a bitmask.-(.-.) :: Int -> BitFlag -> Int-(.-.) i j-  = i .&. complement j---- | Bitwise /or/ of a list of bit masks.-bits :: [Int] -> Int-bits xs-  = foldr (.+.) 0 xs---- | (@bitsSet mask i@) tests if all bits in @mask@ are also set in @i@.-bitsSet :: Int -> Int -> Bool-bitsSet mask i-  = (i .&. mask == mask)---{---------------------------------------------------------------------------------  Id---------------------------------------------------------------------------------}-{-# NOINLINE varTopId #-}-varTopId :: Var Id-varTopId-  = unsafePerformIO (varCreate (wxID_HIGHEST+1))---- | When creating a new window you may specify 'idAny' to let wxWindows--- assign an unused identifier to it automatically. Furthermore, it can be--- used in an event connection to handle events for any identifier.-idAny :: Id-idAny-  = -1---- | Create a new unique identifier.-idCreate :: IO Id-idCreate-  = varUpdate varTopId (+1)----{---------------------------------------------------------------------------------  Control---------------------------------------------------------------------------------}--- | Ignore the result of an 'IO' action.-unitIO :: IO a -> IO ()-unitIO io-  = do io; return ()---- | Perform an action when a test succeeds.-when :: Bool -> IO () -> IO ()-when = M.when---- | Properly release resources, even in the event of an exception.-bracket :: IO a           -- ^ computation to run first (acquire resource)-           -> (a -> IO b) -- ^ computation to run last (release resource)-           -> (a -> IO c) -- ^ computation to run in-between (use resource)-           -> IO c-bracket = CE.bracket---- | Specialized variant of 'bracket' where the return value is not required.-bracket_ :: IO a     -- ^ computation to run first (acquire resource)-           -> IO b   -- ^ computation to run last (release resource)-           -> IO c   -- ^ computation to run in-between (use resource)-           -> IO c-bracket_ = CE.bracket_---- | Run some computation afterwards, even if an exception occurs.-finally :: IO a -- ^ computation to run first-        -> IO b -- ^ computation to run last (release resource)-        -> IO a-finally = CE.finally---- | Run some computation afterwards, even if an exception occurs. Equals 'finally' but--- with the arguments swapped.-finalize ::  IO b -- ^ computation to run last (release resource)-          -> IO a -- ^ computation to run first-          -> IO a-finalize last first-  = finally first last--{---------------------------------------------------------------------------------  Variables---------------------------------------------------------------------------------}---- | A mutable variable. Use this instead of 'MVar's or 'IORef's to accomodate for--- future expansions with possible concurrency.-type Var a  = TVar a---- | Create a fresh mutable variable.-varCreate :: a -> IO (Var a)-varCreate x    = newTVarIO x---- | Get the value of a mutable variable.-varGet :: Var a -> IO a-varGet v    = atomically $ readTVar v---- | Set the value of a mutable variable.-varSet :: Var a -> a -> IO ()-varSet v x = atomically $ writeTVar v x---- | Swap the value of a mutable variable.-varSwap :: Var a -> a -> IO a-varSwap v x = atomically $ do-                   prev <- readTVar v-                   writeTVar v x-                   return prev---- | Update the value of a mutable variable and return the old value.-varUpdate :: Var a -> (a -> a) -> IO a-varUpdate v f = atomically $ do-                   x <- readTVar v-                   writeTVar v (f x)-                   return x----{------------------------------------------------------------------------------------------  Point------------------------------------------------------------------------------------------}-pointMove :: (Num a) => Vector2 a -> Point2 a -> Point2 a-pointMove (Vector dx dy) (Point x y)-  = Point (x+dx) (y+dy)--pointMoveBySize :: (Num a) => Point2 a -> Size2D a -> Point2 a-pointMoveBySize (Point x y) (Size w h)  = Point (x + w) (y + h)--pointAdd :: (Num a) => Point2 a -> Point2 a -> Point2 a-pointAdd (Point x1 y1) (Point x2 y2) = Point (x1+x2) (y1+y2)--pointSub :: (Num a) => Point2 a -> Point2 a -> Point2 a-pointSub (Point x1 y1) (Point x2 y2) = Point (x1-x2) (y1-y2)--pointScale :: (Num a) => Point2 a -> a -> Point2 a-pointScale (Point x y) v = Point (v*x) (v*y)---instance (Num a, Ord a) => Ord (Point2 a) where-  compare (Point x1 y1) (Point x2 y2)             -    = case compare y1 y2 of-        EQ  -> compare x1 x2-        neq -> neq---instance Ix (Point2 Int) where-  range (Point x1 y1,Point x2 y2)             -    = [Point x y | y <- [y1..y2], x <- [x1..x2]]--  inRange (Point x1 y1, Point x2 y2) (Point x y)-    = (x >= x1 && x <= x2 && y >= y1 && y <= y2)--  rangeSize (Point x1 y1, Point x2 y2) -    = let w = abs (x2 - x1) + 1-          h = abs (y2 - y1) + 1-      in w*h--  index bnd@(Point x1 y1, Point x2 y2) p@(Point x y)-    = if inRange bnd p-       then let w = abs (x2 - x1) + 1-            in (y-y1)*w + x-       else error ("Point index out of bounds: " ++ show p ++ " not in " ++ show bnd)--{------------------------------------------------------------------------------------------  Size------------------------------------------------------------------------------------------}--- | Return the width. (see also 'sizeW').-sizeWidth :: (Num a) => Size2D a -> a-sizeWidth (Size w h)-  = w---- | Return the height. (see also 'sizeH').-sizeHeight :: (Num a) => Size2D a -> a-sizeHeight (Size w h)-  = h---- | Returns 'True' if the first size totally encloses the second argument.-sizeEncloses :: (Num a, Ord a) => Size2D a -> Size2D a -> Bool-sizeEncloses (Size w0 h0) (Size w1 h1)-  = (w0 >= w1) && (h0 >= h1)---- | The minimum of two sizes.-sizeMin :: (Num a, Ord a) => Size2D a -> Size2D a -> Size2D a-sizeMin (Size w0 h0) (Size w1 h1)-  = Size (min w0 w1) (min h0 h1)---- | The maximum of two sizes.-sizeMax :: (Num a, Ord a) => Size2D a -> Size2D a -> Size2D a-sizeMax (Size w0 h0) (Size w1 h1)-  = Size (max w0 w1) (max h0 h1)--{------------------------------------------------------------------------------------------  Vector------------------------------------------------------------------------------------------}-vecNegate :: (Num a) => Vector2 a -> Vector2 a-vecNegate (Vector x y)-  = Vector (-x) (-y)--vecOrtogonal :: (Num a) => Vector2 a -> Vector2 a-vecOrtogonal (Vector x y) = (Vector y (-x))--vecAdd :: (Num a) => Vector2 a -> Vector2 a -> Vector2 a-vecAdd (Vector x1 y1) (Vector x2 y2) = Vector (x1+x2) (y1+y2)--vecSub :: (Num a) => Vector2 a -> Vector2 a -> Vector2 a-vecSub (Vector x1 y1) (Vector x2 y2) = Vector (x1-x2) (y1-y2)--vecScale :: (Num a) => Vector2 a -> a -> Vector2 a-vecScale (Vector x y) v = Vector (v*x) (v*y)--vecBetween :: (Num a) => Point2 a -> Point2 a -> Vector2 a-vecBetween (Point x1 y1) (Point x2 y2) = Vector (x2-x1) (y2-y1)--vecLength :: Vector -> Double-vecLength (Vector x y)-  = sqrt (fromIntegral (x*x + y*y))--vecLengthDouble :: Vector2 Double -> Double-vecLengthDouble (Vector x y)-  = sqrt (x*x + y*y)--{------------------------------------------------------------------------------------------  Rectangle------------------------------------------------------------------------------------------}-rectContains :: (Num a, Ord a) => Rect2D a -> Point2 a -> Bool-rectContains (Rect l t w h) (Point x y) -  = (x >= l && x <= (l+w) && y >= t && y <= (t+h))--rectMoveTo :: (Num a) => Rect2D a -> Point2 a -> Rect2D a-rectMoveTo r p-  = rect p (rectSize r)--rectFromPoint :: (Num a) => Point2 a -> Rect2D a-rectFromPoint (Point x y)-  = Rect x y x y--rectCentralPoint :: Rect2D Int -> Point2 Int-rectCentralPoint (Rect l t w h)-  = Point (l + div w 2) (t + div h 2)--rectCentralRect :: Rect2D Int -> Size -> Rect2D Int-rectCentralRect r@(Rect l t rw rh) (Size w h)-  = let c = rectCentralPoint r-    in Rect (pointX c - (w - div w 2)) (pointY c - (h - div h 2)) w h--rectCentralPointDouble :: (Fractional a) => Rect2D a -> Point2 a-rectCentralPointDouble (Rect l t w h)-  = Point (l + w/2) (t + h/2)--rectCentralRectDouble :: (Fractional a) => Rect2D a -> Size2D a -> Rect2D a-rectCentralRectDouble r@(Rect l t rw rh) (Size w h)-  = let c = rectCentralPointDouble r-    in Rect (pointX c - (w - w/2)) (pointY c - (h - h/2)) w h---rectStretchTo :: (Num a) => Rect2D a -> Size2D a -> Rect2D a-rectStretchTo (Rect l t _ _) (Size w h)-  = Rect l t w h--rectMove :: (Num a) => Rect2D a -> Vector2 a -> Rect2D a-rectMove  (Rect x y w h) (Vector dx dy)-  = Rect (x+dx) (y+dy) w h--rectOverlaps :: (Num a, Ord a) => Rect2D a -> Rect2D a -> Bool-rectOverlaps (Rect x1 y1 w1 h1) (Rect x2 y2 w2 h2)-  = (x1+w1 >= x2 && x1 <= x2+w2) && (y1+h1 >= y2 && y1 <= y2+h2)----- | A list with rectangles that constitute the difference between two rectangles.-rectsDiff :: (Num a, Ord a) => Rect2D a -> Rect2D a -> [Rect2D a]-rectsDiff rect1 rect2-  = subtractFittingRect rect1 (rectOverlap rect1 rect2)-  where-    -- subtractFittingRect r1 r2 subtracts r2 from r1 assuming that r2 fits inside r1-    subtractFittingRect :: (Num a, Ord a) => Rect2D a -> Rect2D a -> [Rect2D a]-    subtractFittingRect r1 r2 =-            filter (not . rectIsEmpty)-                    [ rectBetween (rectTopLeft r1) (rectTopRight r2)-                    , rectBetween (pt (rectLeft r1) (rectTop r2)) (rectBottomLeft r2)-                    , rectBetween (pt (rectLeft r1) (rectBottom r2)) (pt (rectRight r2) (rectBottom r1))-                    , rectBetween (rectTopRight r2) (rectBottomRight r1)-                    ]--rectUnion :: (Num a, Ord a) => Rect2D a -> Rect2D a -> Rect2D a-rectUnion r1 r2-  = rectBetween (pt (min (rectLeft r1) (rectLeft r2)) (min (rectTop r1) (rectTop r2)))-         (pt (max (rectRight r1) (rectRight r2)) (max (rectBottom r1) (rectBottom r2)))--rectUnions :: (Num a, Ord a) => [Rect2D a] -> Rect2D a-rectUnions []-  = rectZero-rectUnions (r:rs)-  = foldr rectUnion r rs---- | The intersection between two rectangles.-rectOverlap :: (Num a, Ord a) => Rect2D a -> Rect2D a -> Rect2D a-rectOverlap r1 r2-  | rectOverlaps r1 r2  = rectBetween (pt (max (rectLeft r1) (rectLeft r2)) (max (rectTop r1) (rectTop r2)))-                               (pt (min (rectRight r1) (rectRight r2)) (min (rectBottom r1) (rectBottom r2)))-  | otherwise           = rectZero---{------------------------------------------------------------------------------------------ Default colors.------------------------------------------------------------------------------------------}-black, darkgrey, dimgrey, mediumgrey, grey, lightgrey, white :: Color-red, green, blue :: Color-cyan, magenta, yellow :: Color--black     = colorRGB 0x00 0x00 0x00-darkgrey  = colorRGB 0x2F 0x2F 0x2F-dimgrey   = colorRGB 0x54 0x54 0x54-mediumgrey= colorRGB 0x64 0x64 0x64-grey      = colorRGB 0x80 0x80 0x80-lightgrey = colorRGB 0xC0 0xC0 0xC0-white     = colorRGB 0xFF 0xFF 0xFF--red       = colorRGB 0xFF 0x00 0x00-green     = colorRGB 0x00 0xFF 0x00-blue      = colorRGB 0x00 0x00 0xFF--yellow    = colorRGB 0xFF 0xFF 0x00-magenta   = colorRGB 0xFF 0x00 0xFF-cyan      = colorRGB 0x00 0xFF 0xFF---{---------------------------------------------------------------------------  System colors---------------------------------------------------------------------------}--- | System Colors.-data SystemColor-  = ColorScrollBar        -- ^ The scrollbar grey area.  -  | ColorBackground       -- ^ The desktop colour.  -  | ColorActiveCaption    -- ^ Active window caption.  -  | ColorInactiveCaption  -- ^ Inactive window caption.  -  | ColorMenu             -- ^ Menu background.  -  | ColorWindow           -- ^ Window background.  -  | ColorWindowFrame      -- ^ Window frame.  -  | ColorMenuText         -- ^ Menu text.  -  | ColorWindowText       -- ^ Text in windows.  -  | ColorCaptionText      -- ^ Text in caption, size box and scrollbar arrow box.  -  | ColorActiveBorder     -- ^ Active window border.  -  | ColorInactiveBorder   -- ^ Inactive window border.  -  | ColorAppWorkspace     -- ^ Background colour MDI -- ^applications.  -  | ColorHighlight        -- ^ Item(s) selected in a control.  -  | ColorHighlightText    -- ^ Text of item(s) selected in a control.  -  | ColorBtnFace          -- ^ Face shading on push buttons.  -  | ColorBtnShadow        -- ^ Edge shading on push buttons.  -  | ColorGrayText         -- ^ Greyed (disabled) text.  -  | ColorBtnText          -- ^ Text on push buttons.  -  | ColorInactiveCaptionText -- ^ Colour of text in active captions.  -  | ColorBtnHighlight     -- ^ Highlight colour for buttons (same as 3DHILIGHT).  -  | Color3DDkShadow       -- ^ Dark shadow for three-dimensional display elements.  -  | Color3DLight          -- ^ Light colour for three-dimensional display elements.  -  | ColorInfoText         -- ^ Text colour for tooltip controls.  -  | ColorInfoBk           -- ^ Background colour for tooltip controls.  -  | ColorDesktop          -- ^ Same as BACKGROUND.  -  | Color3DFace           -- ^ Same as BTNFACE.  -  | Color3DShadow         -- ^ Same as BTNSHADOW.  -  | Color3DHighlight      -- ^ Same as BTNHIGHLIGHT.  -  | Color3DHilight        -- ^ Same as BTNHIGHLIGHT.  -  | ColorBtnHilight       -- ^ Same as BTNHIGHLIGHT.  --instance Enum SystemColor where-  toEnum i-    = error "Graphics.UI.WXCore.Types.SytemColor.toEnum: can not convert integers to system colors."--  fromEnum systemColor-    = case systemColor of-        ColorScrollBar        -> wxSYS_COLOUR_SCROLLBAR-        ColorBackground       -> wxSYS_COLOUR_BACKGROUND-        ColorActiveCaption    -> wxSYS_COLOUR_ACTIVECAPTION-        ColorInactiveCaption  -> wxSYS_COLOUR_INACTIVECAPTION-        ColorMenu             -> wxSYS_COLOUR_MENU-        ColorWindow           -> wxSYS_COLOUR_WINDOW-        ColorWindowFrame      -> wxSYS_COLOUR_WINDOWFRAME-        ColorMenuText         -> wxSYS_COLOUR_MENUTEXT-        ColorWindowText       -> wxSYS_COLOUR_WINDOWTEXT-        ColorCaptionText      -> wxSYS_COLOUR_CAPTIONTEXT-        ColorActiveBorder     -> wxSYS_COLOUR_ACTIVEBORDER-        ColorInactiveBorder   -> wxSYS_COLOUR_INACTIVEBORDER-        ColorAppWorkspace     -> wxSYS_COLOUR_APPWORKSPACE -        ColorHighlight        -> wxSYS_COLOUR_HIGHLIGHT-        ColorHighlightText    -> wxSYS_COLOUR_HIGHLIGHTTEXT-        ColorBtnFace          -> wxSYS_COLOUR_BTNFACE-        ColorBtnShadow        -> wxSYS_COLOUR_BTNSHADOW-        ColorGrayText         -> wxSYS_COLOUR_GRAYTEXT-        ColorBtnText          -> wxSYS_COLOUR_BTNTEXT-        ColorInactiveCaptionText -> wxSYS_COLOUR_INACTIVECAPTIONTEXT-        ColorBtnHighlight     -> wxSYS_COLOUR_BTNHIGHLIGHT-        Color3DDkShadow       -> wxSYS_COLOUR_3DDKSHADOW-        Color3DLight          -> wxSYS_COLOUR_3DLIGHT-        ColorInfoText         -> wxSYS_COLOUR_INFOTEXT-        ColorInfoBk           -> wxSYS_COLOUR_INFOBK-        ColorDesktop          -> wxSYS_COLOUR_DESKTOP-        Color3DFace           -> wxSYS_COLOUR_3DFACE-        Color3DShadow         -> wxSYS_COLOUR_3DSHADOW-        Color3DHighlight      -> wxSYS_COLOUR_3DHIGHLIGHT-        Color3DHilight        -> wxSYS_COLOUR_3DHILIGHT-        ColorBtnHilight       -> wxSYS_COLOUR_BTNHILIGHT--      --- | Convert a system color to a color. -colorSystem :: SystemColor -> Color-colorSystem systemColor-  = unsafePerformIO $ -    wxcSystemSettingsGetColour (fromEnum systemColor)+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# OPTIONS_HADDOCK prune #-}
+-----------------------------------------------------------------------------------------
+{-|
+Module      :  Types
+Copyright   :  (c) Daan Leijen 2003
+License     :  wxWindows
+
+Maintainer  :  wxhaskell-devel@lists.sourceforge.net
+Stability   :  provisional
+Portability :  portable
+
+Basic types and operations.
+-}
+-----------------------------------------------------------------------------------------
+module Graphics.UI.WXCore.Types(
+            -- * Objects
+              ( # )
+            , Object, objectNull, objectIsNull, objectCast, objectIsManaged
+            , objectDelete
+            , withObjectPtr, withObjectRef
+            , withObjectResult, withManagedObjectResult
+            , objectFinalize, objectNoFinalize
+            , objectFromPtr, managedObjectFromPtr
+            
+
+--            , Managed, managedNull, managedIsNull, managedCast, createManaged, withManaged, managedTouch
+
+            -- * Identifiers
+            , Id, idAny, idCreate
+
+            -- * Bits
+            , (.+.), (.-.)
+            , bits
+            , bitsSet
+
+            -- * Control
+            , unitIO, bracket, bracket_, finally, finalize, when
+
+            -- * Variables
+            , Var, varCreate, varGet, varSet, varUpdate, varSwap
+
+            -- * Misc.
+            , Style
+            , EventId
+            , TreeItem, treeItemInvalid, treeItemIsOk
+
+            -- * Basic types
+
+            -- ** Booleans
+            , toCBool, fromCBool
+
+            -- ** Colors
+            , Color, rgb, colorRGB, colorRed, colorGreen, colorBlue, intFromColor, colorFromInt, colorIsOk, colorOk
+            , black, darkgrey, dimgrey, mediumgrey, grey, lightgrey, white
+            , red, green, blue
+            , cyan, magenta, yellow
+            -- *** System colors
+            , SystemColor(..), colorSystem
+
+            -- ** Points
+            , Point, Point2(Point,pointX,pointY), point, pt, pointFromVec, pointFromSize, pointZero, pointNull
+            , pointMove, pointMoveBySize, pointAdd, pointSub, pointScale
+
+            -- ** Sizes
+            , Size, Size2D(Size,sizeW,sizeH), sz, sizeFromPoint, sizeFromVec, sizeZero, sizeNull, sizeEncloses
+            , sizeMin, sizeMax
+
+            -- ** Vectors
+            , Vector, Vector2(Vector,vecX,vecY), vector, vec, vecFromPoint, vecFromSize, vecZero, vecNull
+            , vecNegate, vecOrtogonal, vecAdd, vecSub, vecScale, vecBetween, vecLength
+            , vecLengthDouble
+
+            -- ** Rectangles
+            , Rect, Rect2D(Rect,rectLeft,rectTop,rectWidth,rectHeight)
+            , rectTopLeft, rectTopRight, rectBottomLeft, rectBottomRight, rectBottom, rectRight
+            , rect, rectBetween, rectFromSize, rectZero, rectNull, rectSize, rectIsEmpty
+            , rectContains, rectMoveTo, rectFromPoint, rectCentralPoint, rectCentralRect, rectStretchTo
+            , rectCentralPointDouble, rectCentralRectDouble
+            , rectMove, rectOverlaps, rectsDiff, rectUnion, rectOverlap, rectUnions
+
+            ) where
+
+import Graphics.UI.WXCore.WxcTypes
+import Graphics.UI.WXCore.WxcDefs
+import Graphics.UI.WXCore.WxcClasses( wxcSystemSettingsGetColour )
+import System.IO.Unsafe( unsafePerformIO )
+
+-- utility
+import Data.Bits
+import Control.Concurrent.STM
+import qualified Control.Exception as CE
+import qualified Control.Monad as M
+
+
+infixl 5 .+.
+infixl 5 .-.
+infix 5 #
+
+-- | Reverse application, i.e. @x # f@ = @f x@.
+-- Useful for an object oriented style of programming.
+--
+-- > (frame # frameSetTitle) "hi"
+--
+( # ) :: obj -> (obj -> a) -> a
+object # method   = method object
+
+
+{--------------------------------------------------------------------------------
+  Bitmasks
+--------------------------------------------------------------------------------}
+-- | Bitwise /or/ of two bit masks.
+(.+.) :: Bits a => a -> a -> a
+(.+.) i j
+  = i .|. j
+
+-- | Unset certain bits in a bitmask.
+(.-.) :: Bits a => a -> a -> a
+(.-.) i j
+  = i .&. complement j
+
+-- | Bitwise /or/ of a list of bit masks.
+bits :: (Num a, Bits a) => [a] -> a
+bits xs
+  = foldr (.+.) 0 xs
+
+-- | (@bitsSet mask i@) tests if all bits in @mask@ are also set in @i@.
+bitsSet :: Bits a => a -> a -> Bool
+bitsSet mask i
+  = (i .&. mask == mask)
+
+
+{--------------------------------------------------------------------------------
+  Id
+--------------------------------------------------------------------------------}
+{-# NOINLINE varTopId #-}
+varTopId :: Var Id
+varTopId
+  = unsafePerformIO (varCreate (wxID_HIGHEST+1))
+
+-- | When creating a new window you may specify 'idAny' to let wxWidgets
+-- assign an unused identifier to it automatically. Furthermore, it can be
+-- used in an event connection to handle events for any identifier.
+idAny :: Id
+idAny
+  = -1
+
+-- | Create a new unique identifier.
+idCreate :: IO Id
+idCreate
+  = varUpdate varTopId (+1)
+
+
+
+{--------------------------------------------------------------------------------
+  Control
+--------------------------------------------------------------------------------}
+-- | Ignore the result of an 'IO' action.
+unitIO :: IO a -> IO ()
+unitIO io
+  = io >> return ()
+
+-- | Perform an action when a test succeeds.
+when :: Bool -> IO () -> IO ()
+when = M.when
+
+-- | Properly release resources, even in the event of an exception.
+bracket :: IO a           -- ^ computation to run first (acquire resource)
+           -> (a -> IO b) -- ^ computation to run last (release resource)
+           -> (a -> IO c) -- ^ computation to run in-between (use resource)
+           -> IO c
+bracket = CE.bracket
+
+-- | Specialized variant of 'bracket' where the return value is not required.
+bracket_ :: IO a     -- ^ computation to run first (acquire resource)
+           -> IO b   -- ^ computation to run last (release resource)
+           -> IO c   -- ^ computation to run in-between (use resource)
+           -> IO c
+bracket_ = CE.bracket_
+
+-- | Run some computation afterwards, even if an exception occurs.
+finally :: IO a -- ^ computation to run first
+        -> IO b -- ^ computation to run last (release resource)
+        -> IO a
+finally = CE.finally
+
+-- | Run some computation afterwards, even if an exception occurs. Equals 'finally' but
+-- with the arguments swapped.
+finalize ::  IO b -- ^ computation to run last (release resource)
+          -> IO a -- ^ computation to run first
+          -> IO a
+finalize lastComputation firstComputation
+  = finally firstComputation lastComputation
+
+{--------------------------------------------------------------------------------
+  Variables
+--------------------------------------------------------------------------------}
+
+-- | A mutable variable. Use this instead of 'MVar's or 'IORef's to accommodate for
+-- future expansions with possible concurrency.
+type Var a  = TVar a
+
+-- | Create a fresh mutable variable.
+varCreate :: a -> IO (Var a)
+varCreate x    = newTVarIO x
+
+-- | Get the value of a mutable variable.
+varGet :: Var a -> IO a
+varGet v    = atomically $ readTVar v
+
+-- | Set the value of a mutable variable.
+varSet :: Var a -> a -> IO ()
+varSet v x = atomically $ writeTVar v x
+
+-- | Swap the value of a mutable variable.
+varSwap :: Var a -> a -> IO a
+varSwap v x = atomically $ do
+                   prev <- readTVar v
+                   writeTVar v x
+                   return prev
+
+-- | Update the value of a mutable variable and return the old value.
+varUpdate :: Var a -> (a -> a) -> IO a
+varUpdate v f = atomically $ do
+                   x <- readTVar v
+                   writeTVar v (f x)
+                   return x
+
+
+
+{-----------------------------------------------------------------------------------------
+  Point
+-----------------------------------------------------------------------------------------}
+pointMove :: (Num a) => Vector2 a -> Point2 a -> Point2 a
+pointMove (Vector dx dy) (Point x y)
+  = Point (x+dx) (y+dy)
+
+pointMoveBySize :: (Num a) => Point2 a -> Size2D a -> Point2 a
+pointMoveBySize (Point x y) (Size w h)  = Point (x + w) (y + h)
+
+pointAdd :: (Num a) => Point2 a -> Point2 a -> Point2 a
+pointAdd (Point x1 y1) (Point x2 y2) = Point (x1+x2) (y1+y2)
+
+pointSub :: (Num a) => Point2 a -> Point2 a -> Point2 a
+pointSub (Point x1 y1) (Point x2 y2) = Point (x1-x2) (y1-y2)
+
+pointScale :: (Num a) => Point2 a -> a -> Point2 a
+pointScale (Point x y) v = Point (v*x) (v*y)
+
+{- Moved to WxcTypes.hs at 2015-09-01
+
+instance (Num a, Ord a) => Ord (Point2 a) where
+  compare (Point x1 y1) (Point x2 y2)             
+    = case compare y1 y2 of
+        EQ  -> compare x1 x2
+        neq -> neq
+
+instance Ix (Point2 Int) where
+  range (Point x1 y1,Point x2 y2)             
+    = [Point x y | y <- [y1..y2], x <- [x1..x2]]
+
+  inRange (Point x1 y1, Point x2 y2) (Point x y)
+    = (x >= x1 && x <= x2 && y >= y1 && y <= y2)
+
+  rangeSize (Point x1 y1, Point x2 y2) 
+    = let w = abs (x2 - x1) + 1
+          h = abs (y2 - y1) + 1
+      in w*h
+
+  index bnd@(Point x1 y1, Point x2 _y2) p@(Point x y)
+    = if inRange bnd p
+       then let w = abs (x2 - x1) + 1
+            in (y-y1)*w + x
+       else error ("Point index out of bounds: " ++ show p ++ " not in " ++ show bnd)
+-}
+
+{-----------------------------------------------------------------------------------------
+  Size
+-----------------------------------------------------------------------------------------}
+{-
+-- | Return the width. (see also 'sizeW').
+sizeWidth :: (Num a) => Size2D a -> a
+sizeWidth (Size w _h)
+  = w
+
+-- | Return the height. (see also 'sizeH').
+sizeHeight :: (Num a) => Size2D a -> a
+sizeHeight (Size _w h)
+  = h
+-}
+
+-- | Returns 'True' if the first size totally encloses the second argument.
+sizeEncloses :: (Num a, Ord a) => Size2D a -> Size2D a -> Bool
+sizeEncloses (Size w0 h0) (Size w1 h1)
+  = (w0 >= w1) && (h0 >= h1)
+
+-- | The minimum of two sizes.
+sizeMin :: (Num a, Ord a) => Size2D a -> Size2D a -> Size2D a
+sizeMin (Size w0 h0) (Size w1 h1)
+  = Size (min w0 w1) (min h0 h1)
+
+-- | The maximum of two sizes.
+sizeMax :: (Num a, Ord a) => Size2D a -> Size2D a -> Size2D a
+sizeMax (Size w0 h0) (Size w1 h1)
+  = Size (max w0 w1) (max h0 h1)
+
+{-----------------------------------------------------------------------------------------
+  Vector
+-----------------------------------------------------------------------------------------}
+vecNegate :: (Num a) => Vector2 a -> Vector2 a
+vecNegate (Vector x y)
+  = Vector (-x) (-y)
+
+vecOrtogonal :: (Num a) => Vector2 a -> Vector2 a
+vecOrtogonal (Vector x y) = (Vector y (-x))
+
+vecAdd :: (Num a) => Vector2 a -> Vector2 a -> Vector2 a
+vecAdd (Vector x1 y1) (Vector x2 y2) = Vector (x1+x2) (y1+y2)
+
+vecSub :: (Num a) => Vector2 a -> Vector2 a -> Vector2 a
+vecSub (Vector x1 y1) (Vector x2 y2) = Vector (x1-x2) (y1-y2)
+
+vecScale :: (Num a) => Vector2 a -> a -> Vector2 a
+vecScale (Vector x y) v = Vector (v*x) (v*y)
+
+vecBetween :: (Num a) => Point2 a -> Point2 a -> Vector2 a
+vecBetween (Point x1 y1) (Point x2 y2) = Vector (x2-x1) (y2-y1)
+
+vecLength :: Vector -> Double
+vecLength (Vector x y)
+  = sqrt (fromIntegral (x*x + y*y))
+
+vecLengthDouble :: Vector2 Double -> Double
+vecLengthDouble (Vector x y)
+  = sqrt (x*x + y*y)
+
+{-----------------------------------------------------------------------------------------
+  Rectangle
+-----------------------------------------------------------------------------------------}
+rectContains :: (Num a, Ord a) => Rect2D a -> Point2 a -> Bool
+rectContains (Rect l t w h) (Point x y) 
+  = (x >= l && x <= (l+w) && y >= t && y <= (t+h))
+
+rectMoveTo :: (Num a) => Rect2D a -> Point2 a -> Rect2D a
+rectMoveTo r p
+  = rect p (rectSize r)
+
+rectFromPoint :: (Num a) => Point2 a -> Rect2D a
+rectFromPoint (Point x y)
+  = Rect x y x y
+
+rectCentralPoint :: Rect2D Int -> Point2 Int
+rectCentralPoint (Rect l t w h)
+  = Point (l + div w 2) (t + div h 2)
+
+rectCentralRect :: Rect2D Int -> Size -> Rect2D Int
+rectCentralRect r@(Rect _l _t _rw _rh) (Size w h)
+  = let c = rectCentralPoint r
+    in Rect (pointX c - (w - div w 2)) (pointY c - (h - div h 2)) w h
+
+rectCentralPointDouble :: (Fractional a) => Rect2D a -> Point2 a
+rectCentralPointDouble (Rect l t w h)
+  = Point (l + w/2) (t + h/2)
+
+rectCentralRectDouble :: (Fractional a) => Rect2D a -> Size2D a -> Rect2D a
+rectCentralRectDouble r@(Rect _l _t _rw _rh) (Size w h)
+  = let c = rectCentralPointDouble r
+    in Rect (pointX c - (w - w/2)) (pointY c - (h - h/2)) w h
+
+
+rectStretchTo :: (Num a) => Rect2D a -> Size2D a -> Rect2D a
+rectStretchTo (Rect l t _ _) (Size w h)
+  = Rect l t w h
+
+rectMove :: (Num a) => Rect2D a -> Vector2 a -> Rect2D a
+rectMove  (Rect x y w h) (Vector dx dy)
+  = Rect (x+dx) (y+dy) w h
+
+rectOverlaps :: (Num a, Ord a) => Rect2D a -> Rect2D a -> Bool
+rectOverlaps (Rect x1 y1 w1 h1) (Rect x2 y2 w2 h2)
+  = (x1+w1 >= x2 && x1 <= x2+w2) && (y1+h1 >= y2 && y1 <= y2+h2)
+
+
+-- | A list with rectangles that constitute the difference between two rectangles.
+rectsDiff :: (Num a, Ord a) => Rect2D a -> Rect2D a -> [Rect2D a]
+rectsDiff rect1 rect2
+  = subtractFittingRect rect1 (rectOverlap rect1 rect2)
+  where
+    -- subtractFittingRect r1 r2 subtracts r2 from r1 assuming that r2 fits inside r1
+    subtractFittingRect :: (Num a, Ord a) => Rect2D a -> Rect2D a -> [Rect2D a]
+    subtractFittingRect r1 r2 =
+            filter (not . rectIsEmpty)
+                    [ rectBetween (rectTopLeft r1) (rectTopRight r2)
+                    , rectBetween (pt (rectLeft r1) (rectTop r2)) (rectBottomLeft r2)
+                    , rectBetween (pt (rectLeft r1) (rectBottom r2)) (pt (rectRight r2) (rectBottom r1))
+                    , rectBetween (rectTopRight r2) (rectBottomRight r1)
+                    ]
+
+rectUnion :: (Num a, Ord a) => Rect2D a -> Rect2D a -> Rect2D a
+rectUnion r1 r2
+  = rectBetween (pt (min (rectLeft r1) (rectLeft r2)) (min (rectTop r1) (rectTop r2)))
+         (pt (max (rectRight r1) (rectRight r2)) (max (rectBottom r1) (rectBottom r2)))
+
+rectUnions :: (Num a, Ord a) => [Rect2D a] -> Rect2D a
+rectUnions []
+  = rectZero
+rectUnions (r:rs)
+  = foldr rectUnion r rs
+
+-- | The intersection between two rectangles.
+rectOverlap :: (Num a, Ord a) => Rect2D a -> Rect2D a -> Rect2D a
+rectOverlap r1 r2
+  | rectOverlaps r1 r2  = rectBetween (pt (max (rectLeft r1) (rectLeft r2)) (max (rectTop r1) (rectTop r2)))
+                               (pt (min (rectRight r1) (rectRight r2)) (min (rectBottom r1) (rectBottom r2)))
+  | otherwise           = rectZero
+
+
+{-----------------------------------------------------------------------------------------
+ Default colors.
+-----------------------------------------------------------------------------------------}
+black, darkgrey, dimgrey, mediumgrey, grey, lightgrey, white :: Color
+red, green, blue :: Color
+cyan, magenta, yellow :: Color
+
+black     = colorRGB 0x00 0x00 (0x00 :: Int)
+darkgrey  = colorRGB 0x2F 0x2F (0x2F :: Int)
+dimgrey   = colorRGB 0x54 0x54 (0x54 :: Int)
+mediumgrey= colorRGB 0x64 0x64 (0x64 :: Int)
+grey      = colorRGB 0x80 0x80 (0x80 :: Int)
+lightgrey = colorRGB 0xC0 0xC0 (0xC0 :: Int)
+white     = colorRGB 0xFF 0xFF (0xFF :: Int)
+
+red       = colorRGB 0xFF 0x00 (0x00 :: Int)
+green     = colorRGB 0x00 0xFF (0x00 :: Int)
+blue      = colorRGB 0x00 0x00 (0xFF :: Int)
+
+yellow    = colorRGB 0xFF 0xFF (0x00 :: Int)
+magenta   = colorRGB 0xFF 0x00 (0xFF :: Int)
+cyan      = colorRGB 0x00 0xFF (0xFF :: Int)
+
+
+{--------------------------------------------------------------------------
+  System colors
+--------------------------------------------------------------------------}
+-- | System Colors.
+data SystemColor
+  = ColorScrollBar        -- ^ The scrollbar grey area.  
+  | ColorBackground       -- ^ The desktop colour.  
+  | ColorActiveCaption    -- ^ Active window caption.  
+  | ColorInactiveCaption  -- ^ Inactive window caption.  
+  | ColorMenu             -- ^ Menu background.  
+  | ColorWindow           -- ^ Window background.  
+  | ColorWindowFrame      -- ^ Window frame.  
+  | ColorMenuText         -- ^ Menu text.  
+  | ColorWindowText       -- ^ Text in windows.  
+  | ColorCaptionText      -- ^ Text in caption, size box and scrollbar arrow box.  
+  | ColorActiveBorder     -- ^ Active window border.  
+  | ColorInactiveBorder   -- ^ Inactive window border.  
+  | ColorAppWorkspace     -- ^ Background colour MDI -- ^applications.  
+  | ColorHighlight        -- ^ Item(s) selected in a control.  
+  | ColorHighlightText    -- ^ Text of item(s) selected in a control.  
+  | ColorBtnFace          -- ^ Face shading on push buttons.  
+  | ColorBtnShadow        -- ^ Edge shading on push buttons.  
+  | ColorGrayText         -- ^ Greyed (disabled) text.  
+  | ColorBtnText          -- ^ Text on push buttons.  
+  | ColorInactiveCaptionText -- ^ Colour of text in active captions.  
+  | ColorBtnHighlight     -- ^ Highlight colour for buttons (same as 3DHILIGHT).  
+  | Color3DDkShadow       -- ^ Dark shadow for three-dimensional display elements.  
+  | Color3DLight          -- ^ Light colour for three-dimensional display elements.  
+  | ColorInfoText         -- ^ Text colour for tooltip controls.  
+  | ColorInfoBk           -- ^ Background colour for tooltip controls.  
+  | ColorDesktop          -- ^ Same as BACKGROUND.  
+  | Color3DFace           -- ^ Same as BTNFACE.  
+  | Color3DShadow         -- ^ Same as BTNSHADOW.  
+  | Color3DHighlight      -- ^ Same as BTNHIGHLIGHT.  
+  | Color3DHilight        -- ^ Same as BTNHIGHLIGHT.  
+  | ColorBtnHilight       -- ^ Same as BTNHIGHLIGHT.  
+
+instance Enum SystemColor where
+  toEnum _i
+    = error "Graphics.UI.WXCore.Types.SytemColor.toEnum: can not convert integers to system colors."
+
+  fromEnum systemColor
+    = fromIntegral $ 
+       case systemColor of
+        ColorScrollBar        -> wxSYS_COLOUR_SCROLLBAR
+        ColorBackground       -> wxSYS_COLOUR_BACKGROUND
+        ColorActiveCaption    -> wxSYS_COLOUR_ACTIVECAPTION
+        ColorInactiveCaption  -> wxSYS_COLOUR_INACTIVECAPTION
+        ColorMenu             -> wxSYS_COLOUR_MENU
+        ColorWindow           -> wxSYS_COLOUR_WINDOW
+        ColorWindowFrame      -> wxSYS_COLOUR_WINDOWFRAME
+        ColorMenuText         -> wxSYS_COLOUR_MENUTEXT
+        ColorWindowText       -> wxSYS_COLOUR_WINDOWTEXT
+        ColorCaptionText      -> wxSYS_COLOUR_CAPTIONTEXT
+        ColorActiveBorder     -> wxSYS_COLOUR_ACTIVEBORDER
+        ColorInactiveBorder   -> wxSYS_COLOUR_INACTIVEBORDER
+        ColorAppWorkspace     -> wxSYS_COLOUR_APPWORKSPACE 
+        ColorHighlight        -> wxSYS_COLOUR_HIGHLIGHT
+        ColorHighlightText    -> wxSYS_COLOUR_HIGHLIGHTTEXT
+        ColorBtnFace          -> wxSYS_COLOUR_BTNFACE
+        ColorBtnShadow        -> wxSYS_COLOUR_BTNSHADOW
+        ColorGrayText         -> wxSYS_COLOUR_GRAYTEXT
+        ColorBtnText          -> wxSYS_COLOUR_BTNTEXT
+        ColorInactiveCaptionText -> wxSYS_COLOUR_INACTIVECAPTIONTEXT
+        ColorBtnHighlight     -> wxSYS_COLOUR_BTNHIGHLIGHT
+        Color3DDkShadow       -> wxSYS_COLOUR_3DDKSHADOW
+        Color3DLight          -> wxSYS_COLOUR_3DLIGHT
+        ColorInfoText         -> wxSYS_COLOUR_INFOTEXT
+        ColorInfoBk           -> wxSYS_COLOUR_INFOBK
+        ColorDesktop          -> wxSYS_COLOUR_DESKTOP
+        Color3DFace           -> wxSYS_COLOUR_3DFACE
+        Color3DShadow         -> wxSYS_COLOUR_3DSHADOW
+        Color3DHighlight      -> wxSYS_COLOUR_3DHIGHLIGHT
+        Color3DHilight        -> wxSYS_COLOUR_3DHILIGHT
+        ColorBtnHilight       -> wxSYS_COLOUR_BTNHILIGHT
+
+      
+-- | Convert a system color to a color. 
+colorSystem :: SystemColor -> Color
+colorSystem systemColor
+  = unsafePerformIO $ 
+    wxcSystemSettingsGetColour (fromEnum systemColor)
src/haskell/Graphics/UI/WXCore/WxcClassInfo.hs view
@@ -1,4276 +1,4551 @@----------------------------------------------------------------------------------{-|	Module      :  WxcClassInfo-	Copyright   :  Copyright (c) Daan Leijen 2003, 2004-	License     :  wxWidgets--	Maintainer  :  wxhaskell-devel@lists.sourceforge.net-	Stability   :  provisional-	Portability :  portable--Haskell class info definitions for the wxWidgets C library (@wxc.dll@).--Do not edit this file manually!-This file was automatically generated by wxDirect on: --  * @2011-06-15 17:40:02.215541 UTC@--And contains 381 class info definitions.--}----------------------------------------------------------------------------------module Graphics.UI.WXCore.WxcClassInfo-    ( -- * Class Info-      ClassType, classInfo, instanceOf, instanceOfName-      -- * Safe casts-    , safeCast, ifInstanceOf, whenInstanceOf, whenValidInstanceOf-      -- * Class Types-     ,classActivateEvent-     ,classApp-     ,classArtProvider-     ,classAutoBufferedPaintDC-     ,classAutomationObject-     ,classBitmap-     ,classBitmapButton-     ,classBitmapHandler-     ,classBoxSizer-     ,classBrush-     ,classBrushList-     ,classBufferedDC-     ,classBufferedPaintDC-     ,classButton-     ,classCalculateLayoutEvent-     ,classCalendarCtrl-     ,classCalendarEvent-     ,classCbAntiflickerPlugin-     ,classCbBarDragPlugin-     ,classCbBarHintsPlugin-     ,classCbBarInfo-     ,classCbBarSpy-     ,classCbCloseBox-     ,classCbCollapseBox-     ,classCbCommonPaneProperties-     ,classCbCustomizeBarEvent-     ,classCbCustomizeLayoutEvent-     ,classCbDimHandlerBase-     ,classCbDimInfo-     ,classCbDockBox-     ,classCbDockPane-     ,classCbDrawBarDecorEvent-     ,classCbDrawBarHandlesEvent-     ,classCbDrawHintRectEvent-     ,classCbDrawPaneBkGroundEvent-     ,classCbDrawPaneDecorEvent-     ,classCbDrawRowBkGroundEvent-     ,classCbDrawRowDecorEvent-     ,classCbDrawRowHandlesEvent-     ,classCbDynToolBarDimHandler-     ,classCbFinishDrawInAreaEvent-     ,classCbFloatedBarWindow-     ,classCbGCUpdatesMgr-     ,classCbHintAnimationPlugin-     ,classCbInsertBarEvent-     ,classCbLayoutRowEvent-     ,classCbLeftDClickEvent-     ,classCbLeftDownEvent-     ,classCbLeftUpEvent-     ,classCbMiniButton-     ,classCbMotionEvent-     ,classCbPaneDrawPlugin-     ,classCbPluginBase-     ,classCbPluginEvent-     ,classCbRemoveBarEvent-     ,classCbResizeBarEvent-     ,classCbResizeRowEvent-     ,classCbRightDownEvent-     ,classCbRightUpEvent-     ,classCbRowDragPlugin-     ,classCbRowInfo-     ,classCbRowLayoutPlugin-     ,classCbSimpleCustomizationPlugin-     ,classCbSimpleUpdatesMgr-     ,classCbSizeBarWndEvent-     ,classCbStartBarDraggingEvent-     ,classCbStartDrawInAreaEvent-     ,classCbUpdatesManagerBase-     ,classCheckBox-     ,classCheckListBox-     ,classChoice-     ,classClient-     ,classClientBase-     ,classClientDC-     ,classClipboard-     ,classCloseEvent-     ,classClosure-     ,classColour-     ,classColourData-     ,classColourDatabase-     ,classColourDialog-     ,classComboBox-     ,classCommand-     ,classCommandEvent-     ,classCommandProcessor-     ,classConnection-     ,classConnectionBase-     ,classContextHelp-     ,classContextHelpButton-     ,classControl-     ,classCursor-     ,classDatabase-     ,classDC-     ,classDDEClient-     ,classDDEConnection-     ,classDDEServer-     ,classDialog-     ,classDialUpEvent-     ,classDirDialog-     ,classDocChildFrame-     ,classDocManager-     ,classDocMDIChildFrame-     ,classDocMDIParentFrame-     ,classDocParentFrame-     ,classDocTemplate-     ,classDocument-     ,classDragImage-     ,classDrawControl-     ,classDrawWindow-     ,classDropFilesEvent-     ,classDynamicSashWindow-     ,classDynamicToolBar-     ,classDynToolInfo-     ,classEditableListBox-     ,classEncodingConverter-     ,classEraseEvent-     ,classEvent-     ,classEvtHandler-     ,classExprDatabase-     ,classFileDialog-     ,classFileHistory-     ,classFileSystem-     ,classFileSystemHandler-     ,classFindDialogEvent-     ,classFindReplaceData-     ,classFindReplaceDialog-     ,classFlexGridSizer-     ,classFocusEvent-     ,classFont-     ,classFontData-     ,classFontDialog-     ,classFontList-     ,classFrame-     ,classFrameLayout-     ,classFSFile-     ,classFTP-     ,classGauge-     ,classGauge95-     ,classGaugeMSW-     ,classGDIObject-     ,classGenericDirCtrl-     ,classGenericDragImage-     ,classGenericValidator-     ,classGLCanvas-     ,classGraphicsBrush-     ,classGraphicsContext-     ,classGraphicsFont-     ,classGraphicsMatrix-     ,classGraphicsObject-     ,classGraphicsPath-     ,classGraphicsPen-     ,classGraphicsRenderer-     ,classGrid-     ,classGridEditorCreatedEvent-     ,classGridEvent-     ,classGridRangeSelectEvent-     ,classGridSizeEvent-     ,classGridSizer-     ,classGridTableBase-     ,classHelpController-     ,classHelpControllerBase-     ,classHelpEvent-     ,classHtmlCell-     ,classHtmlColourCell-     ,classHtmlContainerCell-     ,classHtmlDCRenderer-     ,classHtmlEasyPrinting-     ,classHtmlFilter-     ,classHtmlHelpController-     ,classHtmlHelpData-     ,classHtmlHelpFrame-     ,classHtmlLinkInfo-     ,classHtmlParser-     ,classHtmlPrintout-     ,classHtmlTag-     ,classHtmlTagHandler-     ,classHtmlTagsModule-     ,classHtmlWidgetCell-     ,classHtmlWindow-     ,classHtmlWinParser-     ,classHtmlWinTagHandler-     ,classHTTP-     ,classIcon-     ,classIconizeEvent-     ,classIdleEvent-     ,classImage-     ,classImageHandler-     ,classImageList-     ,classIndividualLayoutConstraint-     ,classInitDialogEvent-     ,classInputSinkEvent-     ,classIPV4address-     ,classJoystick-     ,classJoystickEvent-     ,classKeyEvent-     ,classLayoutAlgorithm-     ,classLayoutConstraints-     ,classLEDNumberCtrl-     ,classList-     ,classListBox-     ,classListCtrl-     ,classListEvent-     ,classListItem-     ,classMask-     ,classMaximizeEvent-     ,classMDIChildFrame-     ,classMDIClientWindow-     ,classMDIParentFrame-     ,classMediaCtrl-     ,classMediaEvent-     ,classMemoryDC-     ,classMemoryFSHandler-     ,classMenu-     ,classMenuBar-     ,classMenuEvent-     ,classMenuItem-     ,classMessageDialog-     ,classMetafile-     ,classMetafileDC-     ,classMiniFrame-     ,classMirrorDC-     ,classModule-     ,classMouseCaptureChangedEvent-     ,classMouseEvent-     ,classMoveEvent-     ,classMultiCellCanvas-     ,classMultiCellItemHandle-     ,classMultiCellSizer-     ,classNavigationKeyEvent-     ,classNewBitmapButton-     ,classNotebook-     ,classNotebookEvent-     ,classNotifyEvent-     ,classPageSetupDialog-     ,classPageSetupDialogData-     ,classPaintDC-     ,classPaintEvent-     ,classPalette-     ,classPaletteChangedEvent-     ,classPanel-     ,classPathList-     ,classPen-     ,classPenList-     ,classPlotCurve-     ,classPlotEvent-     ,classPlotOnOffCurve-     ,classPlotWindow-     ,classPopupTransientWindow-     ,classPopupWindow-     ,classPostScriptDC-     ,classPostScriptPrintNativeData-     ,classPreviewCanvas-     ,classPreviewControlBar-     ,classPreviewFrame-     ,classPrintData-     ,classPrintDialog-     ,classPrintDialogData-     ,classPrinter-     ,classPrinterDC-     ,classPrintout-     ,classPrintPreview-     ,classProcess-     ,classProcessEvent-     ,classProgressDialog-     ,classProtocol-     ,classQuantize-     ,classQueryCol-     ,classQueryField-     ,classQueryLayoutInfoEvent-     ,classQueryNewPaletteEvent-     ,classRadioBox-     ,classRadioButton-     ,classRecordSet-     ,classRegion-     ,classRegionIterator-     ,classRemotelyScrolledTreeCtrl-     ,classSashEvent-     ,classSashLayoutWindow-     ,classSashWindow-     ,classScreenDC-     ,classScrollBar-     ,classScrolledWindow-     ,classScrollEvent-     ,classScrollWinEvent-     ,classServer-     ,classServerBase-     ,classSetCursorEvent-     ,classShowEvent-     ,classSingleChoiceDialog-     ,classSizeEvent-     ,classSizer-     ,classSizerItem-     ,classSlider-     ,classSlider95-     ,classSliderMSW-     ,classSockAddress-     ,classSocketBase-     ,classSocketClient-     ,classSocketEvent-     ,classSocketServer-     ,classSound-     ,classSpinButton-     ,classSpinCtrl-     ,classSpinEvent-     ,classSplashScreen-     ,classSplitterEvent-     ,classSplitterScrolledWindow-     ,classSplitterWindow-     ,classStaticBitmap-     ,classStaticBox-     ,classStaticBoxSizer-     ,classStaticLine-     ,classStaticText-     ,classStatusBar-     ,classStringList-     ,classStringTokenizer-     ,classStyledTextCtrl-     ,classStyledTextEvent-     ,classSVGFileDC-     ,classSysColourChangedEvent-     ,classSystemOptions-     ,classSystemSettings-     ,classTabCtrl-     ,classTabEvent-     ,classTablesInUse-     ,classTaskBarIcon-     ,classTextCtrl-     ,classTextEntryDialog-     ,classTextValidator-     ,classThinSplitterWindow-     ,classTime-     ,classTimer-     ,classTimerBase-     ,classTimerEvent-     ,classTimerEx-     ,classTipWindow-     ,classToggleButton-     ,classToolBar-     ,classToolBarBase-     ,classToolLayoutItem-     ,classToolTip-     ,classToolWindow-     ,classTopLevelWindow-     ,classTreeCompanionWindow-     ,classTreeCtrl-     ,classTreeEvent-     ,classTreeLayout-     ,classTreeLayoutStored-     ,classUpdateUIEvent-     ,classURL-     ,classValidator-     ,classVariant-     ,classVariantData-     ,classView-     ,classWindow-     ,classWindowCreateEvent-     ,classWindowDC-     ,classWindowDestroyEvent-     ,classWizard-     ,classWizardEvent-     ,classWizardPage-     ,classWizardPageSimple-     ,classWXCApp-     ,classWXCArtProv-     ,classWXCClient-     ,classWXCCommand-     ,classWXCConnection-     ,classWXCGridTable-     ,classWXCHtmlEvent-     ,classWXCHtmlWindow-     ,classWXCPlotCurve-     ,classWXCPreviewControlBar-     ,classWXCPreviewFrame-     ,classWXCPrintEvent-     ,classWXCPrintout-     ,classWXCPrintoutHandler-     ,classWXCServer-     ,classWXCTextValidator-     ,classWxObject-     ,classXmlResource-     ,classXmlResourceHandler-      -- * Down casts-     ,downcastActivateEvent-     ,downcastApp-     ,downcastArtProvider-     ,downcastAutoBufferedPaintDC-     ,downcastAutomationObject-     ,downcastBitmap-     ,downcastBitmapButton-     ,downcastBitmapHandler-     ,downcastBoxSizer-     ,downcastBrush-     ,downcastBrushList-     ,downcastBufferedDC-     ,downcastBufferedPaintDC-     ,downcastButton-     ,downcastCalculateLayoutEvent-     ,downcastCalendarCtrl-     ,downcastCalendarEvent-     ,downcastCbAntiflickerPlugin-     ,downcastCbBarDragPlugin-     ,downcastCbBarHintsPlugin-     ,downcastCbBarInfo-     ,downcastCbBarSpy-     ,downcastCbCloseBox-     ,downcastCbCollapseBox-     ,downcastCbCommonPaneProperties-     ,downcastCbCustomizeBarEvent-     ,downcastCbCustomizeLayoutEvent-     ,downcastCbDimHandlerBase-     ,downcastCbDimInfo-     ,downcastCbDockBox-     ,downcastCbDockPane-     ,downcastCbDrawBarDecorEvent-     ,downcastCbDrawBarHandlesEvent-     ,downcastCbDrawHintRectEvent-     ,downcastCbDrawPaneBkGroundEvent-     ,downcastCbDrawPaneDecorEvent-     ,downcastCbDrawRowBkGroundEvent-     ,downcastCbDrawRowDecorEvent-     ,downcastCbDrawRowHandlesEvent-     ,downcastCbDynToolBarDimHandler-     ,downcastCbFinishDrawInAreaEvent-     ,downcastCbFloatedBarWindow-     ,downcastCbGCUpdatesMgr-     ,downcastCbHintAnimationPlugin-     ,downcastCbInsertBarEvent-     ,downcastCbLayoutRowEvent-     ,downcastCbLeftDClickEvent-     ,downcastCbLeftDownEvent-     ,downcastCbLeftUpEvent-     ,downcastCbMiniButton-     ,downcastCbMotionEvent-     ,downcastCbPaneDrawPlugin-     ,downcastCbPluginBase-     ,downcastCbPluginEvent-     ,downcastCbRemoveBarEvent-     ,downcastCbResizeBarEvent-     ,downcastCbResizeRowEvent-     ,downcastCbRightDownEvent-     ,downcastCbRightUpEvent-     ,downcastCbRowDragPlugin-     ,downcastCbRowInfo-     ,downcastCbRowLayoutPlugin-     ,downcastCbSimpleCustomizationPlugin-     ,downcastCbSimpleUpdatesMgr-     ,downcastCbSizeBarWndEvent-     ,downcastCbStartBarDraggingEvent-     ,downcastCbStartDrawInAreaEvent-     ,downcastCbUpdatesManagerBase-     ,downcastCheckBox-     ,downcastCheckListBox-     ,downcastChoice-     ,downcastClient-     ,downcastClientBase-     ,downcastClientDC-     ,downcastClipboard-     ,downcastCloseEvent-     ,downcastClosure-     ,downcastColour-     ,downcastColourData-     ,downcastColourDatabase-     ,downcastColourDialog-     ,downcastComboBox-     ,downcastCommand-     ,downcastCommandEvent-     ,downcastCommandProcessor-     ,downcastConnection-     ,downcastConnectionBase-     ,downcastContextHelp-     ,downcastContextHelpButton-     ,downcastControl-     ,downcastCursor-     ,downcastDatabase-     ,downcastDC-     ,downcastDDEClient-     ,downcastDDEConnection-     ,downcastDDEServer-     ,downcastDialog-     ,downcastDialUpEvent-     ,downcastDirDialog-     ,downcastDocChildFrame-     ,downcastDocManager-     ,downcastDocMDIChildFrame-     ,downcastDocMDIParentFrame-     ,downcastDocParentFrame-     ,downcastDocTemplate-     ,downcastDocument-     ,downcastDragImage-     ,downcastDrawControl-     ,downcastDrawWindow-     ,downcastDropFilesEvent-     ,downcastDynamicSashWindow-     ,downcastDynamicToolBar-     ,downcastDynToolInfo-     ,downcastEditableListBox-     ,downcastEncodingConverter-     ,downcastEraseEvent-     ,downcastEvent-     ,downcastEvtHandler-     ,downcastExprDatabase-     ,downcastFileDialog-     ,downcastFileHistory-     ,downcastFileSystem-     ,downcastFileSystemHandler-     ,downcastFindDialogEvent-     ,downcastFindReplaceData-     ,downcastFindReplaceDialog-     ,downcastFlexGridSizer-     ,downcastFocusEvent-     ,downcastFont-     ,downcastFontData-     ,downcastFontDialog-     ,downcastFontList-     ,downcastFrame-     ,downcastFrameLayout-     ,downcastFSFile-     ,downcastFTP-     ,downcastGauge-     ,downcastGauge95-     ,downcastGaugeMSW-     ,downcastGDIObject-     ,downcastGenericDirCtrl-     ,downcastGenericDragImage-     ,downcastGenericValidator-     ,downcastGLCanvas-     ,downcastGraphicsBrush-     ,downcastGraphicsContext-     ,downcastGraphicsFont-     ,downcastGraphicsMatrix-     ,downcastGraphicsObject-     ,downcastGraphicsPath-     ,downcastGraphicsPen-     ,downcastGraphicsRenderer-     ,downcastGrid-     ,downcastGridEditorCreatedEvent-     ,downcastGridEvent-     ,downcastGridRangeSelectEvent-     ,downcastGridSizeEvent-     ,downcastGridSizer-     ,downcastGridTableBase-     ,downcastHelpController-     ,downcastHelpControllerBase-     ,downcastHelpEvent-     ,downcastHtmlCell-     ,downcastHtmlColourCell-     ,downcastHtmlContainerCell-     ,downcastHtmlDCRenderer-     ,downcastHtmlEasyPrinting-     ,downcastHtmlFilter-     ,downcastHtmlHelpController-     ,downcastHtmlHelpData-     ,downcastHtmlHelpFrame-     ,downcastHtmlLinkInfo-     ,downcastHtmlParser-     ,downcastHtmlPrintout-     ,downcastHtmlTag-     ,downcastHtmlTagHandler-     ,downcastHtmlTagsModule-     ,downcastHtmlWidgetCell-     ,downcastHtmlWindow-     ,downcastHtmlWinParser-     ,downcastHtmlWinTagHandler-     ,downcastHTTP-     ,downcastIcon-     ,downcastIconizeEvent-     ,downcastIdleEvent-     ,downcastImage-     ,downcastImageHandler-     ,downcastImageList-     ,downcastIndividualLayoutConstraint-     ,downcastInitDialogEvent-     ,downcastInputSinkEvent-     ,downcastIPV4address-     ,downcastJoystick-     ,downcastJoystickEvent-     ,downcastKeyEvent-     ,downcastLayoutAlgorithm-     ,downcastLayoutConstraints-     ,downcastLEDNumberCtrl-     ,downcastList-     ,downcastListBox-     ,downcastListCtrl-     ,downcastListEvent-     ,downcastListItem-     ,downcastMask-     ,downcastMaximizeEvent-     ,downcastMDIChildFrame-     ,downcastMDIClientWindow-     ,downcastMDIParentFrame-     ,downcastMediaCtrl-     ,downcastMediaEvent-     ,downcastMemoryDC-     ,downcastMemoryFSHandler-     ,downcastMenu-     ,downcastMenuBar-     ,downcastMenuEvent-     ,downcastMenuItem-     ,downcastMessageDialog-     ,downcastMetafile-     ,downcastMetafileDC-     ,downcastMiniFrame-     ,downcastMirrorDC-     ,downcastModule-     ,downcastMouseCaptureChangedEvent-     ,downcastMouseEvent-     ,downcastMoveEvent-     ,downcastMultiCellCanvas-     ,downcastMultiCellItemHandle-     ,downcastMultiCellSizer-     ,downcastNavigationKeyEvent-     ,downcastNewBitmapButton-     ,downcastNotebook-     ,downcastNotebookEvent-     ,downcastNotifyEvent-     ,downcastPageSetupDialog-     ,downcastPageSetupDialogData-     ,downcastPaintDC-     ,downcastPaintEvent-     ,downcastPalette-     ,downcastPaletteChangedEvent-     ,downcastPanel-     ,downcastPathList-     ,downcastPen-     ,downcastPenList-     ,downcastPlotCurve-     ,downcastPlotEvent-     ,downcastPlotOnOffCurve-     ,downcastPlotWindow-     ,downcastPopupTransientWindow-     ,downcastPopupWindow-     ,downcastPostScriptDC-     ,downcastPostScriptPrintNativeData-     ,downcastPreviewCanvas-     ,downcastPreviewControlBar-     ,downcastPreviewFrame-     ,downcastPrintData-     ,downcastPrintDialog-     ,downcastPrintDialogData-     ,downcastPrinter-     ,downcastPrinterDC-     ,downcastPrintout-     ,downcastPrintPreview-     ,downcastProcess-     ,downcastProcessEvent-     ,downcastProgressDialog-     ,downcastProtocol-     ,downcastQuantize-     ,downcastQueryCol-     ,downcastQueryField-     ,downcastQueryLayoutInfoEvent-     ,downcastQueryNewPaletteEvent-     ,downcastRadioBox-     ,downcastRadioButton-     ,downcastRecordSet-     ,downcastRegion-     ,downcastRegionIterator-     ,downcastRemotelyScrolledTreeCtrl-     ,downcastSashEvent-     ,downcastSashLayoutWindow-     ,downcastSashWindow-     ,downcastScreenDC-     ,downcastScrollBar-     ,downcastScrolledWindow-     ,downcastScrollEvent-     ,downcastScrollWinEvent-     ,downcastServer-     ,downcastServerBase-     ,downcastSetCursorEvent-     ,downcastShowEvent-     ,downcastSingleChoiceDialog-     ,downcastSizeEvent-     ,downcastSizer-     ,downcastSizerItem-     ,downcastSlider-     ,downcastSlider95-     ,downcastSliderMSW-     ,downcastSockAddress-     ,downcastSocketBase-     ,downcastSocketClient-     ,downcastSocketEvent-     ,downcastSocketServer-     ,downcastSound-     ,downcastSpinButton-     ,downcastSpinCtrl-     ,downcastSpinEvent-     ,downcastSplashScreen-     ,downcastSplitterEvent-     ,downcastSplitterScrolledWindow-     ,downcastSplitterWindow-     ,downcastStaticBitmap-     ,downcastStaticBox-     ,downcastStaticBoxSizer-     ,downcastStaticLine-     ,downcastStaticText-     ,downcastStatusBar-     ,downcastStringList-     ,downcastStringTokenizer-     ,downcastStyledTextCtrl-     ,downcastStyledTextEvent-     ,downcastSVGFileDC-     ,downcastSysColourChangedEvent-     ,downcastSystemOptions-     ,downcastSystemSettings-     ,downcastTabCtrl-     ,downcastTabEvent-     ,downcastTablesInUse-     ,downcastTaskBarIcon-     ,downcastTextCtrl-     ,downcastTextEntryDialog-     ,downcastTextValidator-     ,downcastThinSplitterWindow-     ,downcastTime-     ,downcastTimer-     ,downcastTimerBase-     ,downcastTimerEvent-     ,downcastTimerEx-     ,downcastTipWindow-     ,downcastToggleButton-     ,downcastToolBar-     ,downcastToolBarBase-     ,downcastToolLayoutItem-     ,downcastToolTip-     ,downcastToolWindow-     ,downcastTopLevelWindow-     ,downcastTreeCompanionWindow-     ,downcastTreeCtrl-     ,downcastTreeEvent-     ,downcastTreeLayout-     ,downcastTreeLayoutStored-     ,downcastUpdateUIEvent-     ,downcastURL-     ,downcastValidator-     ,downcastVariant-     ,downcastVariantData-     ,downcastView-     ,downcastWindow-     ,downcastWindowCreateEvent-     ,downcastWindowDC-     ,downcastWindowDestroyEvent-     ,downcastWizard-     ,downcastWizardEvent-     ,downcastWizardPage-     ,downcastWizardPageSimple-     ,downcastWXCApp-     ,downcastWXCArtProv-     ,downcastWXCClient-     ,downcastWXCCommand-     ,downcastWXCConnection-     ,downcastWXCGridTable-     ,downcastWXCHtmlEvent-     ,downcastWXCHtmlWindow-     ,downcastWXCPlotCurve-     ,downcastWXCPreviewControlBar-     ,downcastWXCPreviewFrame-     ,downcastWXCPrintEvent-     ,downcastWXCPrintout-     ,downcastWXCPrintoutHandler-     ,downcastWXCServer-     ,downcastWXCTextValidator-     ,downcastWxObject-     ,downcastXmlResource-     ,downcastXmlResourceHandler-    ) where--import System.IO.Unsafe( unsafePerformIO )-import Graphics.UI.WXCore.WxcClassTypes-import Graphics.UI.WXCore.WxcTypes-import Graphics.UI.WXCore.WxcClasses---- | The type of a class.-data ClassType a = ClassType (ClassInfo ())---- | Return the 'ClassInfo' belonging to a class type. (Do not delete this object, it is statically allocated)-{-# NOINLINE classInfo #-}-classInfo :: ClassType a -> ClassInfo ()-classInfo (ClassType info) = info---- | Test if an object is of a certain kind. (Returns also 'True' when the object is null.)-{-# NOINLINE instanceOf #-}-instanceOf :: WxObject b -> ClassType a -> Bool-instanceOf obj (ClassType classInfo) -  = if (objectIsNull obj)-     then True-     else unsafePerformIO (objectIsKindOf obj classInfo)---- | Test if an object is of a certain kind, based on a full wxWindows class name. (Use with care).-{-# NOINLINE instanceOfName #-}-instanceOfName :: WxObject a -> String -> Bool-instanceOfName obj className -  = if (objectIsNull obj)-     then True-     else unsafePerformIO (-          do classInfo <- classInfoFindClass className-             if (objectIsNull classInfo)-              then return False-              else objectIsKindOf obj classInfo)---- | A safe object cast. Returns 'Nothing' if the object is of the wrong type. Note that a null object can always be cast.-safeCast :: WxObject b -> ClassType (WxObject a) -> Maybe (WxObject a)-safeCast obj classType-  | instanceOf obj classType = Just (objectCast obj)-  | otherwise                = Nothing---- | Perform an action when the object has the right type /and/ is not null.-whenValidInstanceOf :: WxObject a -> ClassType (WxObject b) -> (WxObject b -> IO ()) -> IO ()-whenValidInstanceOf obj classType f-  = whenInstanceOf obj classType $ \object ->-    if (object==objectNull) then return () else f object---- | Perform an action when the object has the right kind. Note that a null object has always the right kind.-whenInstanceOf :: WxObject a -> ClassType (WxObject b) -> (WxObject b -> IO ()) -> IO ()-whenInstanceOf obj classType f-  = ifInstanceOf obj classType f (return ())---- | Perform an action when the object has the right kind. Perform the default action if the kind is not correct. Note that a null object has always the right kind.-ifInstanceOf :: WxObject a -> ClassType (WxObject b) -> (WxObject b -> c) -> c -> c-ifInstanceOf obj classType yes no-  = case safeCast obj classType of-      Just object -> yes object-      Nothing     -> no--{-# NOINLINE classActivateEvent #-}-classActivateEvent :: ClassType (ActivateEvent ())-classActivateEvent = ClassType (unsafePerformIO (classInfoFindClass "wxActivateEvent"))---{-# NOINLINE classApp #-}-classApp :: ClassType (App ())-classApp = ClassType (unsafePerformIO (classInfoFindClass "wxApp"))---{-# NOINLINE classArtProvider #-}-classArtProvider :: ClassType (ArtProvider ())-classArtProvider = ClassType (unsafePerformIO (classInfoFindClass "wxArtProvider"))---{-# NOINLINE classAutoBufferedPaintDC #-}-classAutoBufferedPaintDC :: ClassType (AutoBufferedPaintDC ())-classAutoBufferedPaintDC = ClassType (unsafePerformIO (classInfoFindClass "wxAutoBufferedPaintDC"))---{-# NOINLINE classAutomationObject #-}-classAutomationObject :: ClassType (AutomationObject ())-classAutomationObject = ClassType (unsafePerformIO (classInfoFindClass "wxAutomationObject"))---{-# NOINLINE classBitmap #-}-classBitmap :: ClassType (Bitmap ())-classBitmap = ClassType (unsafePerformIO (classInfoFindClass "wxBitmap"))---{-# NOINLINE classBitmapButton #-}-classBitmapButton :: ClassType (BitmapButton ())-classBitmapButton = ClassType (unsafePerformIO (classInfoFindClass "wxBitmapButton"))---{-# NOINLINE classBitmapHandler #-}-classBitmapHandler :: ClassType (BitmapHandler ())-classBitmapHandler = ClassType (unsafePerformIO (classInfoFindClass "wxBitmapHandler"))---{-# NOINLINE classBoxSizer #-}-classBoxSizer :: ClassType (BoxSizer ())-classBoxSizer = ClassType (unsafePerformIO (classInfoFindClass "wxBoxSizer"))---{-# NOINLINE classBrush #-}-classBrush :: ClassType (Brush ())-classBrush = ClassType (unsafePerformIO (classInfoFindClass "wxBrush"))---{-# NOINLINE classBrushList #-}-classBrushList :: ClassType (BrushList ())-classBrushList = ClassType (unsafePerformIO (classInfoFindClass "wxBrushList"))---{-# NOINLINE classBufferedDC #-}-classBufferedDC :: ClassType (BufferedDC ())-classBufferedDC = ClassType (unsafePerformIO (classInfoFindClass "wxBufferedDC"))---{-# NOINLINE classBufferedPaintDC #-}-classBufferedPaintDC :: ClassType (BufferedPaintDC ())-classBufferedPaintDC = ClassType (unsafePerformIO (classInfoFindClass "wxBufferedPaintDC"))---{-# NOINLINE classButton #-}-classButton :: ClassType (Button ())-classButton = ClassType (unsafePerformIO (classInfoFindClass "wxButton"))---{-# NOINLINE classCalculateLayoutEvent #-}-classCalculateLayoutEvent :: ClassType (CalculateLayoutEvent ())-classCalculateLayoutEvent = ClassType (unsafePerformIO (classInfoFindClass "wxCalculateLayoutEvent"))---{-# NOINLINE classCalendarCtrl #-}-classCalendarCtrl :: ClassType (CalendarCtrl ())-classCalendarCtrl = ClassType (unsafePerformIO (classInfoFindClass "wxCalendarCtrl"))---{-# NOINLINE classCalendarEvent #-}-classCalendarEvent :: ClassType (CalendarEvent ())-classCalendarEvent = ClassType (unsafePerformIO (classInfoFindClass "wxCalendarEvent"))---{-# NOINLINE classCbAntiflickerPlugin #-}-classCbAntiflickerPlugin :: ClassType (CbAntiflickerPlugin ())-classCbAntiflickerPlugin = ClassType (unsafePerformIO (classInfoFindClass "cbAntiflickerPlugin"))---{-# NOINLINE classCbBarDragPlugin #-}-classCbBarDragPlugin :: ClassType (CbBarDragPlugin ())-classCbBarDragPlugin = ClassType (unsafePerformIO (classInfoFindClass "cbBarDragPlugin"))---{-# NOINLINE classCbBarHintsPlugin #-}-classCbBarHintsPlugin :: ClassType (CbBarHintsPlugin ())-classCbBarHintsPlugin = ClassType (unsafePerformIO (classInfoFindClass "cbBarHintsPlugin"))---{-# NOINLINE classCbBarInfo #-}-classCbBarInfo :: ClassType (CbBarInfo ())-classCbBarInfo = ClassType (unsafePerformIO (classInfoFindClass "cbBarInfo"))---{-# NOINLINE classCbBarSpy #-}-classCbBarSpy :: ClassType (CbBarSpy ())-classCbBarSpy = ClassType (unsafePerformIO (classInfoFindClass "cbBarSpy"))---{-# NOINLINE classCbCloseBox #-}-classCbCloseBox :: ClassType (CbCloseBox ())-classCbCloseBox = ClassType (unsafePerformIO (classInfoFindClass "cbCloseBox"))---{-# NOINLINE classCbCollapseBox #-}-classCbCollapseBox :: ClassType (CbCollapseBox ())-classCbCollapseBox = ClassType (unsafePerformIO (classInfoFindClass "cbCollapseBox"))---{-# NOINLINE classCbCommonPaneProperties #-}-classCbCommonPaneProperties :: ClassType (CbCommonPaneProperties ())-classCbCommonPaneProperties = ClassType (unsafePerformIO (classInfoFindClass "cbCommonPaneProperties"))---{-# NOINLINE classCbCustomizeBarEvent #-}-classCbCustomizeBarEvent :: ClassType (CbCustomizeBarEvent ())-classCbCustomizeBarEvent = ClassType (unsafePerformIO (classInfoFindClass "cbCustomizeBarEvent"))---{-# NOINLINE classCbCustomizeLayoutEvent #-}-classCbCustomizeLayoutEvent :: ClassType (CbCustomizeLayoutEvent ())-classCbCustomizeLayoutEvent = ClassType (unsafePerformIO (classInfoFindClass "cbCustomizeLayoutEvent"))---{-# NOINLINE classCbDimHandlerBase #-}-classCbDimHandlerBase :: ClassType (CbDimHandlerBase ())-classCbDimHandlerBase = ClassType (unsafePerformIO (classInfoFindClass "cbDimHandlerBase"))---{-# NOINLINE classCbDimInfo #-}-classCbDimInfo :: ClassType (CbDimInfo ())-classCbDimInfo = ClassType (unsafePerformIO (classInfoFindClass "cbDimInfo"))---{-# NOINLINE classCbDockBox #-}-classCbDockBox :: ClassType (CbDockBox ())-classCbDockBox = ClassType (unsafePerformIO (classInfoFindClass "cbDockBox"))---{-# NOINLINE classCbDockPane #-}-classCbDockPane :: ClassType (CbDockPane ())-classCbDockPane = ClassType (unsafePerformIO (classInfoFindClass "cbDockPane"))---{-# NOINLINE classCbDrawBarDecorEvent #-}-classCbDrawBarDecorEvent :: ClassType (CbDrawBarDecorEvent ())-classCbDrawBarDecorEvent = ClassType (unsafePerformIO (classInfoFindClass "cbDrawBarDecorEvent"))---{-# NOINLINE classCbDrawBarHandlesEvent #-}-classCbDrawBarHandlesEvent :: ClassType (CbDrawBarHandlesEvent ())-classCbDrawBarHandlesEvent = ClassType (unsafePerformIO (classInfoFindClass "cbDrawBarHandlesEvent"))---{-# NOINLINE classCbDrawHintRectEvent #-}-classCbDrawHintRectEvent :: ClassType (CbDrawHintRectEvent ())-classCbDrawHintRectEvent = ClassType (unsafePerformIO (classInfoFindClass "cbDrawHintRectEvent"))---{-# NOINLINE classCbDrawPaneBkGroundEvent #-}-classCbDrawPaneBkGroundEvent :: ClassType (CbDrawPaneBkGroundEvent ())-classCbDrawPaneBkGroundEvent = ClassType (unsafePerformIO (classInfoFindClass "cbDrawPaneBkGroundEvent"))---{-# NOINLINE classCbDrawPaneDecorEvent #-}-classCbDrawPaneDecorEvent :: ClassType (CbDrawPaneDecorEvent ())-classCbDrawPaneDecorEvent = ClassType (unsafePerformIO (classInfoFindClass "cbDrawPaneDecorEvent"))---{-# NOINLINE classCbDrawRowBkGroundEvent #-}-classCbDrawRowBkGroundEvent :: ClassType (CbDrawRowBkGroundEvent ())-classCbDrawRowBkGroundEvent = ClassType (unsafePerformIO (classInfoFindClass "cbDrawRowBkGroundEvent"))---{-# NOINLINE classCbDrawRowDecorEvent #-}-classCbDrawRowDecorEvent :: ClassType (CbDrawRowDecorEvent ())-classCbDrawRowDecorEvent = ClassType (unsafePerformIO (classInfoFindClass "cbDrawRowDecorEvent"))---{-# NOINLINE classCbDrawRowHandlesEvent #-}-classCbDrawRowHandlesEvent :: ClassType (CbDrawRowHandlesEvent ())-classCbDrawRowHandlesEvent = ClassType (unsafePerformIO (classInfoFindClass "cbDrawRowHandlesEvent"))---{-# NOINLINE classCbDynToolBarDimHandler #-}-classCbDynToolBarDimHandler :: ClassType (CbDynToolBarDimHandler ())-classCbDynToolBarDimHandler = ClassType (unsafePerformIO (classInfoFindClass "cbDynToolBarDimHandler"))---{-# NOINLINE classCbFinishDrawInAreaEvent #-}-classCbFinishDrawInAreaEvent :: ClassType (CbFinishDrawInAreaEvent ())-classCbFinishDrawInAreaEvent = ClassType (unsafePerformIO (classInfoFindClass "cbFinishDrawInAreaEvent"))---{-# NOINLINE classCbFloatedBarWindow #-}-classCbFloatedBarWindow :: ClassType (CbFloatedBarWindow ())-classCbFloatedBarWindow = ClassType (unsafePerformIO (classInfoFindClass "cbFloatedBarWindow"))---{-# NOINLINE classCbGCUpdatesMgr #-}-classCbGCUpdatesMgr :: ClassType (CbGCUpdatesMgr ())-classCbGCUpdatesMgr = ClassType (unsafePerformIO (classInfoFindClass "cbGCUpdatesMgr"))---{-# NOINLINE classCbHintAnimationPlugin #-}-classCbHintAnimationPlugin :: ClassType (CbHintAnimationPlugin ())-classCbHintAnimationPlugin = ClassType (unsafePerformIO (classInfoFindClass "cbHintAnimationPlugin"))---{-# NOINLINE classCbInsertBarEvent #-}-classCbInsertBarEvent :: ClassType (CbInsertBarEvent ())-classCbInsertBarEvent = ClassType (unsafePerformIO (classInfoFindClass "cbInsertBarEvent"))---{-# NOINLINE classCbLayoutRowEvent #-}-classCbLayoutRowEvent :: ClassType (CbLayoutRowEvent ())-classCbLayoutRowEvent = ClassType (unsafePerformIO (classInfoFindClass "cbLayoutRowEvent"))---{-# NOINLINE classCbLeftDClickEvent #-}-classCbLeftDClickEvent :: ClassType (CbLeftDClickEvent ())-classCbLeftDClickEvent = ClassType (unsafePerformIO (classInfoFindClass "cbLeftDClickEvent"))---{-# NOINLINE classCbLeftDownEvent #-}-classCbLeftDownEvent :: ClassType (CbLeftDownEvent ())-classCbLeftDownEvent = ClassType (unsafePerformIO (classInfoFindClass "cbLeftDownEvent"))---{-# NOINLINE classCbLeftUpEvent #-}-classCbLeftUpEvent :: ClassType (CbLeftUpEvent ())-classCbLeftUpEvent = ClassType (unsafePerformIO (classInfoFindClass "cbLeftUpEvent"))---{-# NOINLINE classCbMiniButton #-}-classCbMiniButton :: ClassType (CbMiniButton ())-classCbMiniButton = ClassType (unsafePerformIO (classInfoFindClass "cbMiniButton"))---{-# NOINLINE classCbMotionEvent #-}-classCbMotionEvent :: ClassType (CbMotionEvent ())-classCbMotionEvent = ClassType (unsafePerformIO (classInfoFindClass "cbMotionEvent"))---{-# NOINLINE classCbPaneDrawPlugin #-}-classCbPaneDrawPlugin :: ClassType (CbPaneDrawPlugin ())-classCbPaneDrawPlugin = ClassType (unsafePerformIO (classInfoFindClass "cbPaneDrawPlugin"))---{-# NOINLINE classCbPluginBase #-}-classCbPluginBase :: ClassType (CbPluginBase ())-classCbPluginBase = ClassType (unsafePerformIO (classInfoFindClass "cbPluginBase"))---{-# NOINLINE classCbPluginEvent #-}-classCbPluginEvent :: ClassType (CbPluginEvent ())-classCbPluginEvent = ClassType (unsafePerformIO (classInfoFindClass "cbPluginEvent"))---{-# NOINLINE classCbRemoveBarEvent #-}-classCbRemoveBarEvent :: ClassType (CbRemoveBarEvent ())-classCbRemoveBarEvent = ClassType (unsafePerformIO (classInfoFindClass "cbRemoveBarEvent"))---{-# NOINLINE classCbResizeBarEvent #-}-classCbResizeBarEvent :: ClassType (CbResizeBarEvent ())-classCbResizeBarEvent = ClassType (unsafePerformIO (classInfoFindClass "cbResizeBarEvent"))---{-# NOINLINE classCbResizeRowEvent #-}-classCbResizeRowEvent :: ClassType (CbResizeRowEvent ())-classCbResizeRowEvent = ClassType (unsafePerformIO (classInfoFindClass "cbResizeRowEvent"))---{-# NOINLINE classCbRightDownEvent #-}-classCbRightDownEvent :: ClassType (CbRightDownEvent ())-classCbRightDownEvent = ClassType (unsafePerformIO (classInfoFindClass "cbRightDownEvent"))---{-# NOINLINE classCbRightUpEvent #-}-classCbRightUpEvent :: ClassType (CbRightUpEvent ())-classCbRightUpEvent = ClassType (unsafePerformIO (classInfoFindClass "cbRightUpEvent"))---{-# NOINLINE classCbRowDragPlugin #-}-classCbRowDragPlugin :: ClassType (CbRowDragPlugin ())-classCbRowDragPlugin = ClassType (unsafePerformIO (classInfoFindClass "cbRowDragPlugin"))---{-# NOINLINE classCbRowInfo #-}-classCbRowInfo :: ClassType (CbRowInfo ())-classCbRowInfo = ClassType (unsafePerformIO (classInfoFindClass "cbRowInfo"))---{-# NOINLINE classCbRowLayoutPlugin #-}-classCbRowLayoutPlugin :: ClassType (CbRowLayoutPlugin ())-classCbRowLayoutPlugin = ClassType (unsafePerformIO (classInfoFindClass "cbRowLayoutPlugin"))---{-# NOINLINE classCbSimpleCustomizationPlugin #-}-classCbSimpleCustomizationPlugin :: ClassType (CbSimpleCustomizationPlugin ())-classCbSimpleCustomizationPlugin = ClassType (unsafePerformIO (classInfoFindClass "cbSimpleCustomizationPlugin"))---{-# NOINLINE classCbSimpleUpdatesMgr #-}-classCbSimpleUpdatesMgr :: ClassType (CbSimpleUpdatesMgr ())-classCbSimpleUpdatesMgr = ClassType (unsafePerformIO (classInfoFindClass "cbSimpleUpdatesMgr"))---{-# NOINLINE classCbSizeBarWndEvent #-}-classCbSizeBarWndEvent :: ClassType (CbSizeBarWndEvent ())-classCbSizeBarWndEvent = ClassType (unsafePerformIO (classInfoFindClass "cbSizeBarWndEvent"))---{-# NOINLINE classCbStartBarDraggingEvent #-}-classCbStartBarDraggingEvent :: ClassType (CbStartBarDraggingEvent ())-classCbStartBarDraggingEvent = ClassType (unsafePerformIO (classInfoFindClass "cbStartBarDraggingEvent"))---{-# NOINLINE classCbStartDrawInAreaEvent #-}-classCbStartDrawInAreaEvent :: ClassType (CbStartDrawInAreaEvent ())-classCbStartDrawInAreaEvent = ClassType (unsafePerformIO (classInfoFindClass "cbStartDrawInAreaEvent"))---{-# NOINLINE classCbUpdatesManagerBase #-}-classCbUpdatesManagerBase :: ClassType (CbUpdatesManagerBase ())-classCbUpdatesManagerBase = ClassType (unsafePerformIO (classInfoFindClass "cbUpdatesManagerBase"))---{-# NOINLINE classCheckBox #-}-classCheckBox :: ClassType (CheckBox ())-classCheckBox = ClassType (unsafePerformIO (classInfoFindClass "wxCheckBox"))---{-# NOINLINE classCheckListBox #-}-classCheckListBox :: ClassType (CheckListBox ())-classCheckListBox = ClassType (unsafePerformIO (classInfoFindClass "wxCheckListBox"))---{-# NOINLINE classChoice #-}-classChoice :: ClassType (Choice ())-classChoice = ClassType (unsafePerformIO (classInfoFindClass "wxChoice"))---{-# NOINLINE classClient #-}-classClient :: ClassType (Client ())-classClient = ClassType (unsafePerformIO (classInfoFindClass "wxClient"))---{-# NOINLINE classClientBase #-}-classClientBase :: ClassType (ClientBase ())-classClientBase = ClassType (unsafePerformIO (classInfoFindClass "wxClientBase"))---{-# NOINLINE classClientDC #-}-classClientDC :: ClassType (ClientDC ())-classClientDC = ClassType (unsafePerformIO (classInfoFindClass "wxClientDC"))---{-# NOINLINE classClipboard #-}-classClipboard :: ClassType (Clipboard ())-classClipboard = ClassType (unsafePerformIO (classInfoFindClass "wxClipboard"))---{-# NOINLINE classCloseEvent #-}-classCloseEvent :: ClassType (CloseEvent ())-classCloseEvent = ClassType (unsafePerformIO (classInfoFindClass "wxCloseEvent"))---{-# NOINLINE classClosure #-}-classClosure :: ClassType (Closure ())-classClosure = ClassType (unsafePerformIO (classInfoFindClass "wxClosure"))---{-# NOINLINE classColour #-}-classColour :: ClassType (Colour ())-classColour = ClassType (unsafePerformIO (classInfoFindClass "wxColour"))---{-# NOINLINE classColourData #-}-classColourData :: ClassType (ColourData ())-classColourData = ClassType (unsafePerformIO (classInfoFindClass "wxColourData"))---{-# NOINLINE classColourDatabase #-}-classColourDatabase :: ClassType (ColourDatabase ())-classColourDatabase = ClassType (unsafePerformIO (classInfoFindClass "wxColourDatabase"))---{-# NOINLINE classColourDialog #-}-classColourDialog :: ClassType (ColourDialog ())-classColourDialog = ClassType (unsafePerformIO (classInfoFindClass "wxColourDialog"))---{-# NOINLINE classComboBox #-}-classComboBox :: ClassType (ComboBox ())-classComboBox = ClassType (unsafePerformIO (classInfoFindClass "wxComboBox"))---{-# NOINLINE classCommand #-}-classCommand :: ClassType (Command ())-classCommand = ClassType (unsafePerformIO (classInfoFindClass "wxCommand"))---{-# NOINLINE classCommandEvent #-}-classCommandEvent :: ClassType (CommandEvent ())-classCommandEvent = ClassType (unsafePerformIO (classInfoFindClass "wxCommandEvent"))---{-# NOINLINE classCommandProcessor #-}-classCommandProcessor :: ClassType (CommandProcessor ())-classCommandProcessor = ClassType (unsafePerformIO (classInfoFindClass "wxCommandProcessor"))---{-# NOINLINE classConnection #-}-classConnection :: ClassType (Connection ())-classConnection = ClassType (unsafePerformIO (classInfoFindClass "wxConnection"))---{-# NOINLINE classConnectionBase #-}-classConnectionBase :: ClassType (ConnectionBase ())-classConnectionBase = ClassType (unsafePerformIO (classInfoFindClass "wxConnectionBase"))---{-# NOINLINE classContextHelp #-}-classContextHelp :: ClassType (ContextHelp ())-classContextHelp = ClassType (unsafePerformIO (classInfoFindClass "wxContextHelp"))---{-# NOINLINE classContextHelpButton #-}-classContextHelpButton :: ClassType (ContextHelpButton ())-classContextHelpButton = ClassType (unsafePerformIO (classInfoFindClass "wxContextHelpButton"))---{-# NOINLINE classControl #-}-classControl :: ClassType (Control ())-classControl = ClassType (unsafePerformIO (classInfoFindClass "wxControl"))---{-# NOINLINE classCursor #-}-classCursor :: ClassType (Cursor ())-classCursor = ClassType (unsafePerformIO (classInfoFindClass "wxCursor"))---{-# NOINLINE classDatabase #-}-classDatabase :: ClassType (Database ())-classDatabase = ClassType (unsafePerformIO (classInfoFindClass "wxDatabase"))---{-# NOINLINE classDC #-}-classDC :: ClassType (DC ())-classDC = ClassType (unsafePerformIO (classInfoFindClass "wxDC"))---{-# NOINLINE classDDEClient #-}-classDDEClient :: ClassType (DDEClient ())-classDDEClient = ClassType (unsafePerformIO (classInfoFindClass "wxDDEClient"))---{-# NOINLINE classDDEConnection #-}-classDDEConnection :: ClassType (DDEConnection ())-classDDEConnection = ClassType (unsafePerformIO (classInfoFindClass "wxDDEConnection"))---{-# NOINLINE classDDEServer #-}-classDDEServer :: ClassType (DDEServer ())-classDDEServer = ClassType (unsafePerformIO (classInfoFindClass "wxDDEServer"))---{-# NOINLINE classDialog #-}-classDialog :: ClassType (Dialog ())-classDialog = ClassType (unsafePerformIO (classInfoFindClass "wxDialog"))---{-# NOINLINE classDialUpEvent #-}-classDialUpEvent :: ClassType (DialUpEvent ())-classDialUpEvent = ClassType (unsafePerformIO (classInfoFindClass "wxDialUpEvent"))---{-# NOINLINE classDirDialog #-}-classDirDialog :: ClassType (DirDialog ())-classDirDialog = ClassType (unsafePerformIO (classInfoFindClass "wxDirDialog"))---{-# NOINLINE classDocChildFrame #-}-classDocChildFrame :: ClassType (DocChildFrame ())-classDocChildFrame = ClassType (unsafePerformIO (classInfoFindClass "wxDocChildFrame"))---{-# NOINLINE classDocManager #-}-classDocManager :: ClassType (DocManager ())-classDocManager = ClassType (unsafePerformIO (classInfoFindClass "wxDocManager"))---{-# NOINLINE classDocMDIChildFrame #-}-classDocMDIChildFrame :: ClassType (DocMDIChildFrame ())-classDocMDIChildFrame = ClassType (unsafePerformIO (classInfoFindClass "wxDocMDIChildFrame"))---{-# NOINLINE classDocMDIParentFrame #-}-classDocMDIParentFrame :: ClassType (DocMDIParentFrame ())-classDocMDIParentFrame = ClassType (unsafePerformIO (classInfoFindClass "wxDocMDIParentFrame"))---{-# NOINLINE classDocParentFrame #-}-classDocParentFrame :: ClassType (DocParentFrame ())-classDocParentFrame = ClassType (unsafePerformIO (classInfoFindClass "wxDocParentFrame"))---{-# NOINLINE classDocTemplate #-}-classDocTemplate :: ClassType (DocTemplate ())-classDocTemplate = ClassType (unsafePerformIO (classInfoFindClass "wxDocTemplate"))---{-# NOINLINE classDocument #-}-classDocument :: ClassType (Document ())-classDocument = ClassType (unsafePerformIO (classInfoFindClass "wxDocument"))---{-# NOINLINE classDragImage #-}-classDragImage :: ClassType (DragImage ())-classDragImage = ClassType (unsafePerformIO (classInfoFindClass "wxDragImage"))---{-# NOINLINE classDrawControl #-}-classDrawControl :: ClassType (DrawControl ())-classDrawControl = ClassType (unsafePerformIO (classInfoFindClass "wxDrawControl"))---{-# NOINLINE classDrawWindow #-}-classDrawWindow :: ClassType (DrawWindow ())-classDrawWindow = ClassType (unsafePerformIO (classInfoFindClass "wxDrawWindow"))---{-# NOINLINE classDropFilesEvent #-}-classDropFilesEvent :: ClassType (DropFilesEvent ())-classDropFilesEvent = ClassType (unsafePerformIO (classInfoFindClass "wxDropFilesEvent"))---{-# NOINLINE classDynamicSashWindow #-}-classDynamicSashWindow :: ClassType (DynamicSashWindow ())-classDynamicSashWindow = ClassType (unsafePerformIO (classInfoFindClass "wxDynamicSashWindow"))---{-# NOINLINE classDynamicToolBar #-}-classDynamicToolBar :: ClassType (DynamicToolBar ())-classDynamicToolBar = ClassType (unsafePerformIO (classInfoFindClass "wxDynamicToolBar"))---{-# NOINLINE classDynToolInfo #-}-classDynToolInfo :: ClassType (DynToolInfo ())-classDynToolInfo = ClassType (unsafePerformIO (classInfoFindClass "wxDynToolInfo"))---{-# NOINLINE classEditableListBox #-}-classEditableListBox :: ClassType (EditableListBox ())-classEditableListBox = ClassType (unsafePerformIO (classInfoFindClass "wxEditableListBox"))---{-# NOINLINE classEncodingConverter #-}-classEncodingConverter :: ClassType (EncodingConverter ())-classEncodingConverter = ClassType (unsafePerformIO (classInfoFindClass "wxEncodingConverter"))---{-# NOINLINE classEraseEvent #-}-classEraseEvent :: ClassType (EraseEvent ())-classEraseEvent = ClassType (unsafePerformIO (classInfoFindClass "wxEraseEvent"))---{-# NOINLINE classEvent #-}-classEvent :: ClassType (Event ())-classEvent = ClassType (unsafePerformIO (classInfoFindClass "wxEvent"))---{-# NOINLINE classEvtHandler #-}-classEvtHandler :: ClassType (EvtHandler ())-classEvtHandler = ClassType (unsafePerformIO (classInfoFindClass "wxEvtHandler"))---{-# NOINLINE classExprDatabase #-}-classExprDatabase :: ClassType (ExprDatabase ())-classExprDatabase = ClassType (unsafePerformIO (classInfoFindClass "wxExprDatabase"))---{-# NOINLINE classFileDialog #-}-classFileDialog :: ClassType (FileDialog ())-classFileDialog = ClassType (unsafePerformIO (classInfoFindClass "wxFileDialog"))---{-# NOINLINE classFileHistory #-}-classFileHistory :: ClassType (FileHistory ())-classFileHistory = ClassType (unsafePerformIO (classInfoFindClass "wxFileHistory"))---{-# NOINLINE classFileSystem #-}-classFileSystem :: ClassType (FileSystem ())-classFileSystem = ClassType (unsafePerformIO (classInfoFindClass "wxFileSystem"))---{-# NOINLINE classFileSystemHandler #-}-classFileSystemHandler :: ClassType (FileSystemHandler ())-classFileSystemHandler = ClassType (unsafePerformIO (classInfoFindClass "wxFileSystemHandler"))---{-# NOINLINE classFindDialogEvent #-}-classFindDialogEvent :: ClassType (FindDialogEvent ())-classFindDialogEvent = ClassType (unsafePerformIO (classInfoFindClass "wxFindDialogEvent"))---{-# NOINLINE classFindReplaceData #-}-classFindReplaceData :: ClassType (FindReplaceData ())-classFindReplaceData = ClassType (unsafePerformIO (classInfoFindClass "wxFindReplaceData"))---{-# NOINLINE classFindReplaceDialog #-}-classFindReplaceDialog :: ClassType (FindReplaceDialog ())-classFindReplaceDialog = ClassType (unsafePerformIO (classInfoFindClass "wxFindReplaceDialog"))---{-# NOINLINE classFlexGridSizer #-}-classFlexGridSizer :: ClassType (FlexGridSizer ())-classFlexGridSizer = ClassType (unsafePerformIO (classInfoFindClass "wxFlexGridSizer"))---{-# NOINLINE classFocusEvent #-}-classFocusEvent :: ClassType (FocusEvent ())-classFocusEvent = ClassType (unsafePerformIO (classInfoFindClass "wxFocusEvent"))---{-# NOINLINE classFont #-}-classFont :: ClassType (Font ())-classFont = ClassType (unsafePerformIO (classInfoFindClass "wxFont"))---{-# NOINLINE classFontData #-}-classFontData :: ClassType (FontData ())-classFontData = ClassType (unsafePerformIO (classInfoFindClass "wxFontData"))---{-# NOINLINE classFontDialog #-}-classFontDialog :: ClassType (FontDialog ())-classFontDialog = ClassType (unsafePerformIO (classInfoFindClass "wxFontDialog"))---{-# NOINLINE classFontList #-}-classFontList :: ClassType (FontList ())-classFontList = ClassType (unsafePerformIO (classInfoFindClass "wxFontList"))---{-# NOINLINE classFrame #-}-classFrame :: ClassType (Frame ())-classFrame = ClassType (unsafePerformIO (classInfoFindClass "wxFrame"))---{-# NOINLINE classFrameLayout #-}-classFrameLayout :: ClassType (FrameLayout ())-classFrameLayout = ClassType (unsafePerformIO (classInfoFindClass "wxFrameLayout"))---{-# NOINLINE classFSFile #-}-classFSFile :: ClassType (FSFile ())-classFSFile = ClassType (unsafePerformIO (classInfoFindClass "wxFSFile"))---{-# NOINLINE classFTP #-}-classFTP :: ClassType (FTP ())-classFTP = ClassType (unsafePerformIO (classInfoFindClass "wxFTP"))---{-# NOINLINE classGauge #-}-classGauge :: ClassType (Gauge ())-classGauge = ClassType (unsafePerformIO (classInfoFindClass "wxGauge"))---{-# NOINLINE classGauge95 #-}-classGauge95 :: ClassType (Gauge95 ())-classGauge95 = ClassType (unsafePerformIO (classInfoFindClass "wxGauge95"))---{-# NOINLINE classGaugeMSW #-}-classGaugeMSW :: ClassType (GaugeMSW ())-classGaugeMSW = ClassType (unsafePerformIO (classInfoFindClass "wxGaugeMSW"))---{-# NOINLINE classGDIObject #-}-classGDIObject :: ClassType (GDIObject ())-classGDIObject = ClassType (unsafePerformIO (classInfoFindClass "wxGDIObject"))---{-# NOINLINE classGenericDirCtrl #-}-classGenericDirCtrl :: ClassType (GenericDirCtrl ())-classGenericDirCtrl = ClassType (unsafePerformIO (classInfoFindClass "wxGenericDirCtrl"))---{-# NOINLINE classGenericDragImage #-}-classGenericDragImage :: ClassType (GenericDragImage ())-classGenericDragImage = ClassType (unsafePerformIO (classInfoFindClass "wxGenericDragImage"))---{-# NOINLINE classGenericValidator #-}-classGenericValidator :: ClassType (GenericValidator ())-classGenericValidator = ClassType (unsafePerformIO (classInfoFindClass "wxGenericValidator"))---{-# NOINLINE classGLCanvas #-}-classGLCanvas :: ClassType (GLCanvas ())-classGLCanvas = ClassType (unsafePerformIO (classInfoFindClass "wxGLCanvas"))---{-# NOINLINE classGraphicsBrush #-}-classGraphicsBrush :: ClassType (GraphicsBrush ())-classGraphicsBrush = ClassType (unsafePerformIO (classInfoFindClass "wxGraphicsBrush"))---{-# NOINLINE classGraphicsContext #-}-classGraphicsContext :: ClassType (GraphicsContext ())-classGraphicsContext = ClassType (unsafePerformIO (classInfoFindClass "wxGraphicsContext"))---{-# NOINLINE classGraphicsFont #-}-classGraphicsFont :: ClassType (GraphicsFont ())-classGraphicsFont = ClassType (unsafePerformIO (classInfoFindClass "wxGraphicsFont"))---{-# NOINLINE classGraphicsMatrix #-}-classGraphicsMatrix :: ClassType (GraphicsMatrix ())-classGraphicsMatrix = ClassType (unsafePerformIO (classInfoFindClass "wxGraphicsMatrix"))---{-# NOINLINE classGraphicsObject #-}-classGraphicsObject :: ClassType (GraphicsObject ())-classGraphicsObject = ClassType (unsafePerformIO (classInfoFindClass "wxGraphicsObject"))---{-# NOINLINE classGraphicsPath #-}-classGraphicsPath :: ClassType (GraphicsPath ())-classGraphicsPath = ClassType (unsafePerformIO (classInfoFindClass "wxGraphicsPath"))---{-# NOINLINE classGraphicsPen #-}-classGraphicsPen :: ClassType (GraphicsPen ())-classGraphicsPen = ClassType (unsafePerformIO (classInfoFindClass "wxGraphicsPen"))---{-# NOINLINE classGraphicsRenderer #-}-classGraphicsRenderer :: ClassType (GraphicsRenderer ())-classGraphicsRenderer = ClassType (unsafePerformIO (classInfoFindClass "wxGraphicsRenderer"))---{-# NOINLINE classGrid #-}-classGrid :: ClassType (Grid ())-classGrid = ClassType (unsafePerformIO (classInfoFindClass "wxGrid"))---{-# NOINLINE classGridEditorCreatedEvent #-}-classGridEditorCreatedEvent :: ClassType (GridEditorCreatedEvent ())-classGridEditorCreatedEvent = ClassType (unsafePerformIO (classInfoFindClass "wxGridEditorCreatedEvent"))---{-# NOINLINE classGridEvent #-}-classGridEvent :: ClassType (GridEvent ())-classGridEvent = ClassType (unsafePerformIO (classInfoFindClass "wxGridEvent"))---{-# NOINLINE classGridRangeSelectEvent #-}-classGridRangeSelectEvent :: ClassType (GridRangeSelectEvent ())-classGridRangeSelectEvent = ClassType (unsafePerformIO (classInfoFindClass "wxGridRangeSelectEvent"))---{-# NOINLINE classGridSizeEvent #-}-classGridSizeEvent :: ClassType (GridSizeEvent ())-classGridSizeEvent = ClassType (unsafePerformIO (classInfoFindClass "wxGridSizeEvent"))---{-# NOINLINE classGridSizer #-}-classGridSizer :: ClassType (GridSizer ())-classGridSizer = ClassType (unsafePerformIO (classInfoFindClass "wxGridSizer"))---{-# NOINLINE classGridTableBase #-}-classGridTableBase :: ClassType (GridTableBase ())-classGridTableBase = ClassType (unsafePerformIO (classInfoFindClass "wxGridTableBase"))---{-# NOINLINE classHelpController #-}-classHelpController :: ClassType (HelpController ())-classHelpController = ClassType (unsafePerformIO (classInfoFindClass "wxHelpController"))---{-# NOINLINE classHelpControllerBase #-}-classHelpControllerBase :: ClassType (HelpControllerBase ())-classHelpControllerBase = ClassType (unsafePerformIO (classInfoFindClass "wxHelpControllerBase"))---{-# NOINLINE classHelpEvent #-}-classHelpEvent :: ClassType (HelpEvent ())-classHelpEvent = ClassType (unsafePerformIO (classInfoFindClass "wxHelpEvent"))---{-# NOINLINE classHtmlCell #-}-classHtmlCell :: ClassType (HtmlCell ())-classHtmlCell = ClassType (unsafePerformIO (classInfoFindClass "wxHtmlCell"))---{-# NOINLINE classHtmlColourCell #-}-classHtmlColourCell :: ClassType (HtmlColourCell ())-classHtmlColourCell = ClassType (unsafePerformIO (classInfoFindClass "wxHtmlColourCell"))---{-# NOINLINE classHtmlContainerCell #-}-classHtmlContainerCell :: ClassType (HtmlContainerCell ())-classHtmlContainerCell = ClassType (unsafePerformIO (classInfoFindClass "wxHtmlContainerCell"))---{-# NOINLINE classHtmlDCRenderer #-}-classHtmlDCRenderer :: ClassType (HtmlDCRenderer ())-classHtmlDCRenderer = ClassType (unsafePerformIO (classInfoFindClass "wxHtmlDCRenderer"))---{-# NOINLINE classHtmlEasyPrinting #-}-classHtmlEasyPrinting :: ClassType (HtmlEasyPrinting ())-classHtmlEasyPrinting = ClassType (unsafePerformIO (classInfoFindClass "wxHtmlEasyPrinting"))---{-# NOINLINE classHtmlFilter #-}-classHtmlFilter :: ClassType (HtmlFilter ())-classHtmlFilter = ClassType (unsafePerformIO (classInfoFindClass "wxHtmlFilter"))---{-# NOINLINE classHtmlHelpController #-}-classHtmlHelpController :: ClassType (HtmlHelpController ())-classHtmlHelpController = ClassType (unsafePerformIO (classInfoFindClass "wxHtmlHelpController"))---{-# NOINLINE classHtmlHelpData #-}-classHtmlHelpData :: ClassType (HtmlHelpData ())-classHtmlHelpData = ClassType (unsafePerformIO (classInfoFindClass "wxHtmlHelpData"))---{-# NOINLINE classHtmlHelpFrame #-}-classHtmlHelpFrame :: ClassType (HtmlHelpFrame ())-classHtmlHelpFrame = ClassType (unsafePerformIO (classInfoFindClass "wxHtmlHelpFrame"))---{-# NOINLINE classHtmlLinkInfo #-}-classHtmlLinkInfo :: ClassType (HtmlLinkInfo ())-classHtmlLinkInfo = ClassType (unsafePerformIO (classInfoFindClass "wxHtmlLinkInfo"))---{-# NOINLINE classHtmlParser #-}-classHtmlParser :: ClassType (HtmlParser ())-classHtmlParser = ClassType (unsafePerformIO (classInfoFindClass "wxHtmlParser"))---{-# NOINLINE classHtmlPrintout #-}-classHtmlPrintout :: ClassType (HtmlPrintout ())-classHtmlPrintout = ClassType (unsafePerformIO (classInfoFindClass "wxHtmlPrintout"))---{-# NOINLINE classHtmlTag #-}-classHtmlTag :: ClassType (HtmlTag ())-classHtmlTag = ClassType (unsafePerformIO (classInfoFindClass "wxHtmlTag"))---{-# NOINLINE classHtmlTagHandler #-}-classHtmlTagHandler :: ClassType (HtmlTagHandler ())-classHtmlTagHandler = ClassType (unsafePerformIO (classInfoFindClass "wxHtmlTagHandler"))---{-# NOINLINE classHtmlTagsModule #-}-classHtmlTagsModule :: ClassType (HtmlTagsModule ())-classHtmlTagsModule = ClassType (unsafePerformIO (classInfoFindClass "wxHtmlTagsModule"))---{-# NOINLINE classHtmlWidgetCell #-}-classHtmlWidgetCell :: ClassType (HtmlWidgetCell ())-classHtmlWidgetCell = ClassType (unsafePerformIO (classInfoFindClass "wxHtmlWidgetCell"))---{-# NOINLINE classHtmlWindow #-}-classHtmlWindow :: ClassType (HtmlWindow ())-classHtmlWindow = ClassType (unsafePerformIO (classInfoFindClass "wxHtmlWindow"))---{-# NOINLINE classHtmlWinParser #-}-classHtmlWinParser :: ClassType (HtmlWinParser ())-classHtmlWinParser = ClassType (unsafePerformIO (classInfoFindClass "wxHtmlWinParser"))---{-# NOINLINE classHtmlWinTagHandler #-}-classHtmlWinTagHandler :: ClassType (HtmlWinTagHandler ())-classHtmlWinTagHandler = ClassType (unsafePerformIO (classInfoFindClass "wxHtmlWinTagHandler"))---{-# NOINLINE classHTTP #-}-classHTTP :: ClassType (HTTP ())-classHTTP = ClassType (unsafePerformIO (classInfoFindClass "wxHTTP"))---{-# NOINLINE classIcon #-}-classIcon :: ClassType (Icon ())-classIcon = ClassType (unsafePerformIO (classInfoFindClass "wxIcon"))---{-# NOINLINE classIconizeEvent #-}-classIconizeEvent :: ClassType (IconizeEvent ())-classIconizeEvent = ClassType (unsafePerformIO (classInfoFindClass "wxIconizeEvent"))---{-# NOINLINE classIdleEvent #-}-classIdleEvent :: ClassType (IdleEvent ())-classIdleEvent = ClassType (unsafePerformIO (classInfoFindClass "wxIdleEvent"))---{-# NOINLINE classImage #-}-classImage :: ClassType (Image ())-classImage = ClassType (unsafePerformIO (classInfoFindClass "wxImage"))---{-# NOINLINE classImageHandler #-}-classImageHandler :: ClassType (ImageHandler ())-classImageHandler = ClassType (unsafePerformIO (classInfoFindClass "wxImageHandler"))---{-# NOINLINE classImageList #-}-classImageList :: ClassType (ImageList ())-classImageList = ClassType (unsafePerformIO (classInfoFindClass "wxImageList"))---{-# NOINLINE classIndividualLayoutConstraint #-}-classIndividualLayoutConstraint :: ClassType (IndividualLayoutConstraint ())-classIndividualLayoutConstraint = ClassType (unsafePerformIO (classInfoFindClass "wxIndividualLayoutConstraint"))---{-# NOINLINE classInitDialogEvent #-}-classInitDialogEvent :: ClassType (InitDialogEvent ())-classInitDialogEvent = ClassType (unsafePerformIO (classInfoFindClass "wxInitDialogEvent"))---{-# NOINLINE classInputSinkEvent #-}-classInputSinkEvent :: ClassType (InputSinkEvent ())-classInputSinkEvent = ClassType (unsafePerformIO (classInfoFindClass "wxInputSinkEvent"))---{-# NOINLINE classIPV4address #-}-classIPV4address :: ClassType (IPV4address ())-classIPV4address = ClassType (unsafePerformIO (classInfoFindClass "wxIPV4address"))---{-# NOINLINE classJoystick #-}-classJoystick :: ClassType (Joystick ())-classJoystick = ClassType (unsafePerformIO (classInfoFindClass "wxJoystick"))---{-# NOINLINE classJoystickEvent #-}-classJoystickEvent :: ClassType (JoystickEvent ())-classJoystickEvent = ClassType (unsafePerformIO (classInfoFindClass "wxJoystickEvent"))---{-# NOINLINE classKeyEvent #-}-classKeyEvent :: ClassType (KeyEvent ())-classKeyEvent = ClassType (unsafePerformIO (classInfoFindClass "wxKeyEvent"))---{-# NOINLINE classLayoutAlgorithm #-}-classLayoutAlgorithm :: ClassType (LayoutAlgorithm ())-classLayoutAlgorithm = ClassType (unsafePerformIO (classInfoFindClass "wxLayoutAlgorithm"))---{-# NOINLINE classLayoutConstraints #-}-classLayoutConstraints :: ClassType (LayoutConstraints ())-classLayoutConstraints = ClassType (unsafePerformIO (classInfoFindClass "wxLayoutConstraints"))---{-# NOINLINE classLEDNumberCtrl #-}-classLEDNumberCtrl :: ClassType (LEDNumberCtrl ())-classLEDNumberCtrl = ClassType (unsafePerformIO (classInfoFindClass "wxLEDNumberCtrl"))---{-# NOINLINE classList #-}-classList :: ClassType (List ())-classList = ClassType (unsafePerformIO (classInfoFindClass "wxList"))---{-# NOINLINE classListBox #-}-classListBox :: ClassType (ListBox ())-classListBox = ClassType (unsafePerformIO (classInfoFindClass "wxListBox"))---{-# NOINLINE classListCtrl #-}-classListCtrl :: ClassType (ListCtrl ())-classListCtrl = ClassType (unsafePerformIO (classInfoFindClass "wxListCtrl"))---{-# NOINLINE classListEvent #-}-classListEvent :: ClassType (ListEvent ())-classListEvent = ClassType (unsafePerformIO (classInfoFindClass "wxListEvent"))---{-# NOINLINE classListItem #-}-classListItem :: ClassType (ListItem ())-classListItem = ClassType (unsafePerformIO (classInfoFindClass "wxListItem"))---{-# NOINLINE classMask #-}-classMask :: ClassType (Mask ())-classMask = ClassType (unsafePerformIO (classInfoFindClass "wxMask"))---{-# NOINLINE classMaximizeEvent #-}-classMaximizeEvent :: ClassType (MaximizeEvent ())-classMaximizeEvent = ClassType (unsafePerformIO (classInfoFindClass "wxMaximizeEvent"))---{-# NOINLINE classMDIChildFrame #-}-classMDIChildFrame :: ClassType (MDIChildFrame ())-classMDIChildFrame = ClassType (unsafePerformIO (classInfoFindClass "wxMDIChildFrame"))---{-# NOINLINE classMDIClientWindow #-}-classMDIClientWindow :: ClassType (MDIClientWindow ())-classMDIClientWindow = ClassType (unsafePerformIO (classInfoFindClass "wxMDIClientWindow"))---{-# NOINLINE classMDIParentFrame #-}-classMDIParentFrame :: ClassType (MDIParentFrame ())-classMDIParentFrame = ClassType (unsafePerformIO (classInfoFindClass "wxMDIParentFrame"))---{-# NOINLINE classMediaCtrl #-}-classMediaCtrl :: ClassType (MediaCtrl ())-classMediaCtrl = ClassType (unsafePerformIO (classInfoFindClass "wxMediaCtrl"))---{-# NOINLINE classMediaEvent #-}-classMediaEvent :: ClassType (MediaEvent ())-classMediaEvent = ClassType (unsafePerformIO (classInfoFindClass "wxMediaEvent"))---{-# NOINLINE classMemoryDC #-}-classMemoryDC :: ClassType (MemoryDC ())-classMemoryDC = ClassType (unsafePerformIO (classInfoFindClass "wxMemoryDC"))---{-# NOINLINE classMemoryFSHandler #-}-classMemoryFSHandler :: ClassType (MemoryFSHandler ())-classMemoryFSHandler = ClassType (unsafePerformIO (classInfoFindClass "wxMemoryFSHandler"))---{-# NOINLINE classMenu #-}-classMenu :: ClassType (Menu ())-classMenu = ClassType (unsafePerformIO (classInfoFindClass "wxMenu"))---{-# NOINLINE classMenuBar #-}-classMenuBar :: ClassType (MenuBar ())-classMenuBar = ClassType (unsafePerformIO (classInfoFindClass "wxMenuBar"))---{-# NOINLINE classMenuEvent #-}-classMenuEvent :: ClassType (MenuEvent ())-classMenuEvent = ClassType (unsafePerformIO (classInfoFindClass "wxMenuEvent"))---{-# NOINLINE classMenuItem #-}-classMenuItem :: ClassType (MenuItem ())-classMenuItem = ClassType (unsafePerformIO (classInfoFindClass "wxMenuItem"))---{-# NOINLINE classMessageDialog #-}-classMessageDialog :: ClassType (MessageDialog ())-classMessageDialog = ClassType (unsafePerformIO (classInfoFindClass "wxMessageDialog"))---{-# NOINLINE classMetafile #-}-classMetafile :: ClassType (Metafile ())-classMetafile = ClassType (unsafePerformIO (classInfoFindClass "wxMetafile"))---{-# NOINLINE classMetafileDC #-}-classMetafileDC :: ClassType (MetafileDC ())-classMetafileDC = ClassType (unsafePerformIO (classInfoFindClass "wxMetafileDC"))---{-# NOINLINE classMiniFrame #-}-classMiniFrame :: ClassType (MiniFrame ())-classMiniFrame = ClassType (unsafePerformIO (classInfoFindClass "wxMiniFrame"))---{-# NOINLINE classMirrorDC #-}-classMirrorDC :: ClassType (MirrorDC ())-classMirrorDC = ClassType (unsafePerformIO (classInfoFindClass "wxMirrorDC"))---{-# NOINLINE classModule #-}-classModule :: ClassType (Module ())-classModule = ClassType (unsafePerformIO (classInfoFindClass "wxModule"))---{-# NOINLINE classMouseCaptureChangedEvent #-}-classMouseCaptureChangedEvent :: ClassType (MouseCaptureChangedEvent ())-classMouseCaptureChangedEvent = ClassType (unsafePerformIO (classInfoFindClass "wxMouseCaptureChangedEvent"))---{-# NOINLINE classMouseEvent #-}-classMouseEvent :: ClassType (MouseEvent ())-classMouseEvent = ClassType (unsafePerformIO (classInfoFindClass "wxMouseEvent"))---{-# NOINLINE classMoveEvent #-}-classMoveEvent :: ClassType (MoveEvent ())-classMoveEvent = ClassType (unsafePerformIO (classInfoFindClass "wxMoveEvent"))---{-# NOINLINE classMultiCellCanvas #-}-classMultiCellCanvas :: ClassType (MultiCellCanvas ())-classMultiCellCanvas = ClassType (unsafePerformIO (classInfoFindClass "wxMultiCellCanvas"))---{-# NOINLINE classMultiCellItemHandle #-}-classMultiCellItemHandle :: ClassType (MultiCellItemHandle ())-classMultiCellItemHandle = ClassType (unsafePerformIO (classInfoFindClass "wxMultiCellItemHandle"))---{-# NOINLINE classMultiCellSizer #-}-classMultiCellSizer :: ClassType (MultiCellSizer ())-classMultiCellSizer = ClassType (unsafePerformIO (classInfoFindClass "wxMultiCellSizer"))---{-# NOINLINE classNavigationKeyEvent #-}-classNavigationKeyEvent :: ClassType (NavigationKeyEvent ())-classNavigationKeyEvent = ClassType (unsafePerformIO (classInfoFindClass "wxNavigationKeyEvent"))---{-# NOINLINE classNewBitmapButton #-}-classNewBitmapButton :: ClassType (NewBitmapButton ())-classNewBitmapButton = ClassType (unsafePerformIO (classInfoFindClass "wxNewBitmapButton"))---{-# NOINLINE classNotebook #-}-classNotebook :: ClassType (Notebook ())-classNotebook = ClassType (unsafePerformIO (classInfoFindClass "wxNotebook"))---{-# NOINLINE classNotebookEvent #-}-classNotebookEvent :: ClassType (NotebookEvent ())-classNotebookEvent = ClassType (unsafePerformIO (classInfoFindClass "wxNotebookEvent"))---{-# NOINLINE classNotifyEvent #-}-classNotifyEvent :: ClassType (NotifyEvent ())-classNotifyEvent = ClassType (unsafePerformIO (classInfoFindClass "wxNotifyEvent"))---{-# NOINLINE classPageSetupDialog #-}-classPageSetupDialog :: ClassType (PageSetupDialog ())-classPageSetupDialog = ClassType (unsafePerformIO (classInfoFindClass "wxPageSetupDialog"))---{-# NOINLINE classPageSetupDialogData #-}-classPageSetupDialogData :: ClassType (PageSetupDialogData ())-classPageSetupDialogData = ClassType (unsafePerformIO (classInfoFindClass "wxPageSetupDialogData"))---{-# NOINLINE classPaintDC #-}-classPaintDC :: ClassType (PaintDC ())-classPaintDC = ClassType (unsafePerformIO (classInfoFindClass "wxPaintDC"))---{-# NOINLINE classPaintEvent #-}-classPaintEvent :: ClassType (PaintEvent ())-classPaintEvent = ClassType (unsafePerformIO (classInfoFindClass "wxPaintEvent"))---{-# NOINLINE classPalette #-}-classPalette :: ClassType (Palette ())-classPalette = ClassType (unsafePerformIO (classInfoFindClass "wxPalette"))---{-# NOINLINE classPaletteChangedEvent #-}-classPaletteChangedEvent :: ClassType (PaletteChangedEvent ())-classPaletteChangedEvent = ClassType (unsafePerformIO (classInfoFindClass "wxPaletteChangedEvent"))---{-# NOINLINE classPanel #-}-classPanel :: ClassType (Panel ())-classPanel = ClassType (unsafePerformIO (classInfoFindClass "wxPanel"))---{-# NOINLINE classPathList #-}-classPathList :: ClassType (PathList ())-classPathList = ClassType (unsafePerformIO (classInfoFindClass "wxPathList"))---{-# NOINLINE classPen #-}-classPen :: ClassType (Pen ())-classPen = ClassType (unsafePerformIO (classInfoFindClass "wxPen"))---{-# NOINLINE classPenList #-}-classPenList :: ClassType (PenList ())-classPenList = ClassType (unsafePerformIO (classInfoFindClass "wxPenList"))---{-# NOINLINE classPlotCurve #-}-classPlotCurve :: ClassType (PlotCurve ())-classPlotCurve = ClassType (unsafePerformIO (classInfoFindClass "wxPlotCurve"))---{-# NOINLINE classPlotEvent #-}-classPlotEvent :: ClassType (PlotEvent ())-classPlotEvent = ClassType (unsafePerformIO (classInfoFindClass "wxPlotEvent"))---{-# NOINLINE classPlotOnOffCurve #-}-classPlotOnOffCurve :: ClassType (PlotOnOffCurve ())-classPlotOnOffCurve = ClassType (unsafePerformIO (classInfoFindClass "wxPlotOnOffCurve"))---{-# NOINLINE classPlotWindow #-}-classPlotWindow :: ClassType (PlotWindow ())-classPlotWindow = ClassType (unsafePerformIO (classInfoFindClass "wxPlotWindow"))---{-# NOINLINE classPopupTransientWindow #-}-classPopupTransientWindow :: ClassType (PopupTransientWindow ())-classPopupTransientWindow = ClassType (unsafePerformIO (classInfoFindClass "wxPopupTransientWindow"))---{-# NOINLINE classPopupWindow #-}-classPopupWindow :: ClassType (PopupWindow ())-classPopupWindow = ClassType (unsafePerformIO (classInfoFindClass "wxPopupWindow"))---{-# NOINLINE classPostScriptDC #-}-classPostScriptDC :: ClassType (PostScriptDC ())-classPostScriptDC = ClassType (unsafePerformIO (classInfoFindClass "wxPostScriptDC"))---{-# NOINLINE classPostScriptPrintNativeData #-}-classPostScriptPrintNativeData :: ClassType (PostScriptPrintNativeData ())-classPostScriptPrintNativeData = ClassType (unsafePerformIO (classInfoFindClass "wxPostScriptPrintNativeData"))---{-# NOINLINE classPreviewCanvas #-}-classPreviewCanvas :: ClassType (PreviewCanvas ())-classPreviewCanvas = ClassType (unsafePerformIO (classInfoFindClass "wxPreviewCanvas"))---{-# NOINLINE classPreviewControlBar #-}-classPreviewControlBar :: ClassType (PreviewControlBar ())-classPreviewControlBar = ClassType (unsafePerformIO (classInfoFindClass "wxPreviewControlBar"))---{-# NOINLINE classPreviewFrame #-}-classPreviewFrame :: ClassType (PreviewFrame ())-classPreviewFrame = ClassType (unsafePerformIO (classInfoFindClass "wxPreviewFrame"))---{-# NOINLINE classPrintData #-}-classPrintData :: ClassType (PrintData ())-classPrintData = ClassType (unsafePerformIO (classInfoFindClass "wxPrintData"))---{-# NOINLINE classPrintDialog #-}-classPrintDialog :: ClassType (PrintDialog ())-classPrintDialog = ClassType (unsafePerformIO (classInfoFindClass "wxPrintDialog"))---{-# NOINLINE classPrintDialogData #-}-classPrintDialogData :: ClassType (PrintDialogData ())-classPrintDialogData = ClassType (unsafePerformIO (classInfoFindClass "wxPrintDialogData"))---{-# NOINLINE classPrinter #-}-classPrinter :: ClassType (Printer ())-classPrinter = ClassType (unsafePerformIO (classInfoFindClass "wxPrinter"))---{-# NOINLINE classPrinterDC #-}-classPrinterDC :: ClassType (PrinterDC ())-classPrinterDC = ClassType (unsafePerformIO (classInfoFindClass "wxPrinterDC"))---{-# NOINLINE classPrintout #-}-classPrintout :: ClassType (Printout ())-classPrintout = ClassType (unsafePerformIO (classInfoFindClass "wxPrintout"))---{-# NOINLINE classPrintPreview #-}-classPrintPreview :: ClassType (PrintPreview ())-classPrintPreview = ClassType (unsafePerformIO (classInfoFindClass "wxPrintPreview"))---{-# NOINLINE classProcess #-}-classProcess :: ClassType (Process ())-classProcess = ClassType (unsafePerformIO (classInfoFindClass "wxProcess"))---{-# NOINLINE classProcessEvent #-}-classProcessEvent :: ClassType (ProcessEvent ())-classProcessEvent = ClassType (unsafePerformIO (classInfoFindClass "wxProcessEvent"))---{-# NOINLINE classProgressDialog #-}-classProgressDialog :: ClassType (ProgressDialog ())-classProgressDialog = ClassType (unsafePerformIO (classInfoFindClass "wxProgressDialog"))---{-# NOINLINE classProtocol #-}-classProtocol :: ClassType (Protocol ())-classProtocol = ClassType (unsafePerformIO (classInfoFindClass "wxProtocol"))---{-# NOINLINE classQuantize #-}-classQuantize :: ClassType (Quantize ())-classQuantize = ClassType (unsafePerformIO (classInfoFindClass "wxQuantize"))---{-# NOINLINE classQueryCol #-}-classQueryCol :: ClassType (QueryCol ())-classQueryCol = ClassType (unsafePerformIO (classInfoFindClass "wxQueryCol"))---{-# NOINLINE classQueryField #-}-classQueryField :: ClassType (QueryField ())-classQueryField = ClassType (unsafePerformIO (classInfoFindClass "wxQueryField"))---{-# NOINLINE classQueryLayoutInfoEvent #-}-classQueryLayoutInfoEvent :: ClassType (QueryLayoutInfoEvent ())-classQueryLayoutInfoEvent = ClassType (unsafePerformIO (classInfoFindClass "wxQueryLayoutInfoEvent"))---{-# NOINLINE classQueryNewPaletteEvent #-}-classQueryNewPaletteEvent :: ClassType (QueryNewPaletteEvent ())-classQueryNewPaletteEvent = ClassType (unsafePerformIO (classInfoFindClass "wxQueryNewPaletteEvent"))---{-# NOINLINE classRadioBox #-}-classRadioBox :: ClassType (RadioBox ())-classRadioBox = ClassType (unsafePerformIO (classInfoFindClass "wxRadioBox"))---{-# NOINLINE classRadioButton #-}-classRadioButton :: ClassType (RadioButton ())-classRadioButton = ClassType (unsafePerformIO (classInfoFindClass "wxRadioButton"))---{-# NOINLINE classRecordSet #-}-classRecordSet :: ClassType (RecordSet ())-classRecordSet = ClassType (unsafePerformIO (classInfoFindClass "wxRecordSet"))---{-# NOINLINE classRegion #-}-classRegion :: ClassType (Region ())-classRegion = ClassType (unsafePerformIO (classInfoFindClass "wxRegion"))---{-# NOINLINE classRegionIterator #-}-classRegionIterator :: ClassType (RegionIterator ())-classRegionIterator = ClassType (unsafePerformIO (classInfoFindClass "wxRegionIterator"))---{-# NOINLINE classRemotelyScrolledTreeCtrl #-}-classRemotelyScrolledTreeCtrl :: ClassType (RemotelyScrolledTreeCtrl ())-classRemotelyScrolledTreeCtrl = ClassType (unsafePerformIO (classInfoFindClass "wxRemotelyScrolledTreeCtrl"))---{-# NOINLINE classSashEvent #-}-classSashEvent :: ClassType (SashEvent ())-classSashEvent = ClassType (unsafePerformIO (classInfoFindClass "wxSashEvent"))---{-# NOINLINE classSashLayoutWindow #-}-classSashLayoutWindow :: ClassType (SashLayoutWindow ())-classSashLayoutWindow = ClassType (unsafePerformIO (classInfoFindClass "wxSashLayoutWindow"))---{-# NOINLINE classSashWindow #-}-classSashWindow :: ClassType (SashWindow ())-classSashWindow = ClassType (unsafePerformIO (classInfoFindClass "wxSashWindow"))---{-# NOINLINE classScreenDC #-}-classScreenDC :: ClassType (ScreenDC ())-classScreenDC = ClassType (unsafePerformIO (classInfoFindClass "wxScreenDC"))---{-# NOINLINE classScrollBar #-}-classScrollBar :: ClassType (ScrollBar ())-classScrollBar = ClassType (unsafePerformIO (classInfoFindClass "wxScrollBar"))---{-# NOINLINE classScrolledWindow #-}-classScrolledWindow :: ClassType (ScrolledWindow ())-classScrolledWindow = ClassType (unsafePerformIO (classInfoFindClass "wxScrolledWindow"))---{-# NOINLINE classScrollEvent #-}-classScrollEvent :: ClassType (ScrollEvent ())-classScrollEvent = ClassType (unsafePerformIO (classInfoFindClass "wxScrollEvent"))---{-# NOINLINE classScrollWinEvent #-}-classScrollWinEvent :: ClassType (ScrollWinEvent ())-classScrollWinEvent = ClassType (unsafePerformIO (classInfoFindClass "wxScrollWinEvent"))---{-# NOINLINE classServer #-}-classServer :: ClassType (Server ())-classServer = ClassType (unsafePerformIO (classInfoFindClass "wxServer"))---{-# NOINLINE classServerBase #-}-classServerBase :: ClassType (ServerBase ())-classServerBase = ClassType (unsafePerformIO (classInfoFindClass "wxServerBase"))---{-# NOINLINE classSetCursorEvent #-}-classSetCursorEvent :: ClassType (SetCursorEvent ())-classSetCursorEvent = ClassType (unsafePerformIO (classInfoFindClass "wxSetCursorEvent"))---{-# NOINLINE classShowEvent #-}-classShowEvent :: ClassType (ShowEvent ())-classShowEvent = ClassType (unsafePerformIO (classInfoFindClass "wxShowEvent"))---{-# NOINLINE classSingleChoiceDialog #-}-classSingleChoiceDialog :: ClassType (SingleChoiceDialog ())-classSingleChoiceDialog = ClassType (unsafePerformIO (classInfoFindClass "wxSingleChoiceDialog"))---{-# NOINLINE classSizeEvent #-}-classSizeEvent :: ClassType (SizeEvent ())-classSizeEvent = ClassType (unsafePerformIO (classInfoFindClass "wxSizeEvent"))---{-# NOINLINE classSizer #-}-classSizer :: ClassType (Sizer ())-classSizer = ClassType (unsafePerformIO (classInfoFindClass "wxSizer"))---{-# NOINLINE classSizerItem #-}-classSizerItem :: ClassType (SizerItem ())-classSizerItem = ClassType (unsafePerformIO (classInfoFindClass "wxSizerItem"))---{-# NOINLINE classSlider #-}-classSlider :: ClassType (Slider ())-classSlider = ClassType (unsafePerformIO (classInfoFindClass "wxSlider"))---{-# NOINLINE classSlider95 #-}-classSlider95 :: ClassType (Slider95 ())-classSlider95 = ClassType (unsafePerformIO (classInfoFindClass "wxSlider95"))---{-# NOINLINE classSliderMSW #-}-classSliderMSW :: ClassType (SliderMSW ())-classSliderMSW = ClassType (unsafePerformIO (classInfoFindClass "wxSliderMSW"))---{-# NOINLINE classSockAddress #-}-classSockAddress :: ClassType (SockAddress ())-classSockAddress = ClassType (unsafePerformIO (classInfoFindClass "wxSockAddress"))---{-# NOINLINE classSocketBase #-}-classSocketBase :: ClassType (SocketBase ())-classSocketBase = ClassType (unsafePerformIO (classInfoFindClass "wxSocketBase"))---{-# NOINLINE classSocketClient #-}-classSocketClient :: ClassType (SocketClient ())-classSocketClient = ClassType (unsafePerformIO (classInfoFindClass "wxSocketClient"))---{-# NOINLINE classSocketEvent #-}-classSocketEvent :: ClassType (SocketEvent ())-classSocketEvent = ClassType (unsafePerformIO (classInfoFindClass "wxSocketEvent"))---{-# NOINLINE classSocketServer #-}-classSocketServer :: ClassType (SocketServer ())-classSocketServer = ClassType (unsafePerformIO (classInfoFindClass "wxSocketServer"))---{-# NOINLINE classSound #-}-classSound :: ClassType (Sound ())-classSound = ClassType (unsafePerformIO (classInfoFindClass "wxSound"))---{-# NOINLINE classSpinButton #-}-classSpinButton :: ClassType (SpinButton ())-classSpinButton = ClassType (unsafePerformIO (classInfoFindClass "wxSpinButton"))---{-# NOINLINE classSpinCtrl #-}-classSpinCtrl :: ClassType (SpinCtrl ())-classSpinCtrl = ClassType (unsafePerformIO (classInfoFindClass "wxSpinCtrl"))---{-# NOINLINE classSpinEvent #-}-classSpinEvent :: ClassType (SpinEvent ())-classSpinEvent = ClassType (unsafePerformIO (classInfoFindClass "wxSpinEvent"))---{-# NOINLINE classSplashScreen #-}-classSplashScreen :: ClassType (SplashScreen ())-classSplashScreen = ClassType (unsafePerformIO (classInfoFindClass "wxSplashScreen"))---{-# NOINLINE classSplitterEvent #-}-classSplitterEvent :: ClassType (SplitterEvent ())-classSplitterEvent = ClassType (unsafePerformIO (classInfoFindClass "wxSplitterEvent"))---{-# NOINLINE classSplitterScrolledWindow #-}-classSplitterScrolledWindow :: ClassType (SplitterScrolledWindow ())-classSplitterScrolledWindow = ClassType (unsafePerformIO (classInfoFindClass "wxSplitterScrolledWindow"))---{-# NOINLINE classSplitterWindow #-}-classSplitterWindow :: ClassType (SplitterWindow ())-classSplitterWindow = ClassType (unsafePerformIO (classInfoFindClass "wxSplitterWindow"))---{-# NOINLINE classStaticBitmap #-}-classStaticBitmap :: ClassType (StaticBitmap ())-classStaticBitmap = ClassType (unsafePerformIO (classInfoFindClass "wxStaticBitmap"))---{-# NOINLINE classStaticBox #-}-classStaticBox :: ClassType (StaticBox ())-classStaticBox = ClassType (unsafePerformIO (classInfoFindClass "wxStaticBox"))---{-# NOINLINE classStaticBoxSizer #-}-classStaticBoxSizer :: ClassType (StaticBoxSizer ())-classStaticBoxSizer = ClassType (unsafePerformIO (classInfoFindClass "wxStaticBoxSizer"))---{-# NOINLINE classStaticLine #-}-classStaticLine :: ClassType (StaticLine ())-classStaticLine = ClassType (unsafePerformIO (classInfoFindClass "wxStaticLine"))---{-# NOINLINE classStaticText #-}-classStaticText :: ClassType (StaticText ())-classStaticText = ClassType (unsafePerformIO (classInfoFindClass "wxStaticText"))---{-# NOINLINE classStatusBar #-}-classStatusBar :: ClassType (StatusBar ())-classStatusBar = ClassType (unsafePerformIO (classInfoFindClass "wxStatusBar"))---{-# NOINLINE classStringList #-}-classStringList :: ClassType (StringList ())-classStringList = ClassType (unsafePerformIO (classInfoFindClass "wxStringList"))---{-# NOINLINE classStringTokenizer #-}-classStringTokenizer :: ClassType (StringTokenizer ())-classStringTokenizer = ClassType (unsafePerformIO (classInfoFindClass "wxStringTokenizer"))---{-# NOINLINE classStyledTextCtrl #-}-classStyledTextCtrl :: ClassType (StyledTextCtrl ())-classStyledTextCtrl = ClassType (unsafePerformIO (classInfoFindClass "wxStyledTextCtrl"))---{-# NOINLINE classStyledTextEvent #-}-classStyledTextEvent :: ClassType (StyledTextEvent ())-classStyledTextEvent = ClassType (unsafePerformIO (classInfoFindClass "wxStyledTextEvent"))---{-# NOINLINE classSVGFileDC #-}-classSVGFileDC :: ClassType (SVGFileDC ())-classSVGFileDC = ClassType (unsafePerformIO (classInfoFindClass "wxSVGFileDC"))---{-# NOINLINE classSysColourChangedEvent #-}-classSysColourChangedEvent :: ClassType (SysColourChangedEvent ())-classSysColourChangedEvent = ClassType (unsafePerformIO (classInfoFindClass "wxSysColourChangedEvent"))---{-# NOINLINE classSystemOptions #-}-classSystemOptions :: ClassType (SystemOptions ())-classSystemOptions = ClassType (unsafePerformIO (classInfoFindClass "wxSystemOptions"))---{-# NOINLINE classSystemSettings #-}-classSystemSettings :: ClassType (SystemSettings ())-classSystemSettings = ClassType (unsafePerformIO (classInfoFindClass "wxSystemSettings"))---{-# NOINLINE classTabCtrl #-}-classTabCtrl :: ClassType (TabCtrl ())-classTabCtrl = ClassType (unsafePerformIO (classInfoFindClass "wxTabCtrl"))---{-# NOINLINE classTabEvent #-}-classTabEvent :: ClassType (TabEvent ())-classTabEvent = ClassType (unsafePerformIO (classInfoFindClass "wxTabEvent"))---{-# NOINLINE classTablesInUse #-}-classTablesInUse :: ClassType (TablesInUse ())-classTablesInUse = ClassType (unsafePerformIO (classInfoFindClass "wxTablesInUse"))---{-# NOINLINE classTaskBarIcon #-}-classTaskBarIcon :: ClassType (TaskBarIcon ())-classTaskBarIcon = ClassType (unsafePerformIO (classInfoFindClass "wxTaskBarIcon"))---{-# NOINLINE classTextCtrl #-}-classTextCtrl :: ClassType (TextCtrl ())-classTextCtrl = ClassType (unsafePerformIO (classInfoFindClass "wxTextCtrl"))---{-# NOINLINE classTextEntryDialog #-}-classTextEntryDialog :: ClassType (TextEntryDialog ())-classTextEntryDialog = ClassType (unsafePerformIO (classInfoFindClass "wxTextEntryDialog"))---{-# NOINLINE classTextValidator #-}-classTextValidator :: ClassType (TextValidator ())-classTextValidator = ClassType (unsafePerformIO (classInfoFindClass "wxTextValidator"))---{-# NOINLINE classThinSplitterWindow #-}-classThinSplitterWindow :: ClassType (ThinSplitterWindow ())-classThinSplitterWindow = ClassType (unsafePerformIO (classInfoFindClass "wxThinSplitterWindow"))---{-# NOINLINE classTime #-}-classTime :: ClassType (Time ())-classTime = ClassType (unsafePerformIO (classInfoFindClass "wxTime"))---{-# NOINLINE classTimer #-}-classTimer :: ClassType (Timer ())-classTimer = ClassType (unsafePerformIO (classInfoFindClass "wxTimer"))---{-# NOINLINE classTimerBase #-}-classTimerBase :: ClassType (TimerBase ())-classTimerBase = ClassType (unsafePerformIO (classInfoFindClass "wxTimerBase"))---{-# NOINLINE classTimerEvent #-}-classTimerEvent :: ClassType (TimerEvent ())-classTimerEvent = ClassType (unsafePerformIO (classInfoFindClass "wxTimerEvent"))---{-# NOINLINE classTimerEx #-}-classTimerEx :: ClassType (TimerEx ())-classTimerEx = ClassType (unsafePerformIO (classInfoFindClass "wxTimerEx"))---{-# NOINLINE classTipWindow #-}-classTipWindow :: ClassType (TipWindow ())-classTipWindow = ClassType (unsafePerformIO (classInfoFindClass "wxTipWindow"))---{-# NOINLINE classToggleButton #-}-classToggleButton :: ClassType (ToggleButton ())-classToggleButton = ClassType (unsafePerformIO (classInfoFindClass "wxToggleButton"))---{-# NOINLINE classToolBar #-}-classToolBar :: ClassType (ToolBar ())-classToolBar = ClassType (unsafePerformIO (classInfoFindClass "wxToolBar"))---{-# NOINLINE classToolBarBase #-}-classToolBarBase :: ClassType (ToolBarBase ())-classToolBarBase = ClassType (unsafePerformIO (classInfoFindClass "wxToolBarBase"))---{-# NOINLINE classToolLayoutItem #-}-classToolLayoutItem :: ClassType (ToolLayoutItem ())-classToolLayoutItem = ClassType (unsafePerformIO (classInfoFindClass "wxToolLayoutItem"))---{-# NOINLINE classToolTip #-}-classToolTip :: ClassType (ToolTip ())-classToolTip = ClassType (unsafePerformIO (classInfoFindClass "wxToolTip"))---{-# NOINLINE classToolWindow #-}-classToolWindow :: ClassType (ToolWindow ())-classToolWindow = ClassType (unsafePerformIO (classInfoFindClass "wxToolWindow"))---{-# NOINLINE classTopLevelWindow #-}-classTopLevelWindow :: ClassType (TopLevelWindow ())-classTopLevelWindow = ClassType (unsafePerformIO (classInfoFindClass "wxTopLevelWindow"))---{-# NOINLINE classTreeCompanionWindow #-}-classTreeCompanionWindow :: ClassType (TreeCompanionWindow ())-classTreeCompanionWindow = ClassType (unsafePerformIO (classInfoFindClass "wxTreeCompanionWindow"))---{-# NOINLINE classTreeCtrl #-}-classTreeCtrl :: ClassType (TreeCtrl ())-classTreeCtrl = ClassType (unsafePerformIO (classInfoFindClass "wxTreeCtrl"))---{-# NOINLINE classTreeEvent #-}-classTreeEvent :: ClassType (TreeEvent ())-classTreeEvent = ClassType (unsafePerformIO (classInfoFindClass "wxTreeEvent"))---{-# NOINLINE classTreeLayout #-}-classTreeLayout :: ClassType (TreeLayout ())-classTreeLayout = ClassType (unsafePerformIO (classInfoFindClass "wxTreeLayout"))---{-# NOINLINE classTreeLayoutStored #-}-classTreeLayoutStored :: ClassType (TreeLayoutStored ())-classTreeLayoutStored = ClassType (unsafePerformIO (classInfoFindClass "wxTreeLayoutStored"))---{-# NOINLINE classUpdateUIEvent #-}-classUpdateUIEvent :: ClassType (UpdateUIEvent ())-classUpdateUIEvent = ClassType (unsafePerformIO (classInfoFindClass "wxUpdateUIEvent"))---{-# NOINLINE classURL #-}-classURL :: ClassType (URL ())-classURL = ClassType (unsafePerformIO (classInfoFindClass "wxURL"))---{-# NOINLINE classValidator #-}-classValidator :: ClassType (Validator ())-classValidator = ClassType (unsafePerformIO (classInfoFindClass "wxValidator"))---{-# NOINLINE classVariant #-}-classVariant :: ClassType (Variant ())-classVariant = ClassType (unsafePerformIO (classInfoFindClass "wxVariant"))---{-# NOINLINE classVariantData #-}-classVariantData :: ClassType (VariantData ())-classVariantData = ClassType (unsafePerformIO (classInfoFindClass "wxVariantData"))---{-# NOINLINE classView #-}-classView :: ClassType (View ())-classView = ClassType (unsafePerformIO (classInfoFindClass "wxView"))---{-# NOINLINE classWindow #-}-classWindow :: ClassType (Window ())-classWindow = ClassType (unsafePerformIO (classInfoFindClass "wxWindow"))---{-# NOINLINE classWindowCreateEvent #-}-classWindowCreateEvent :: ClassType (WindowCreateEvent ())-classWindowCreateEvent = ClassType (unsafePerformIO (classInfoFindClass "wxWindowCreateEvent"))---{-# NOINLINE classWindowDC #-}-classWindowDC :: ClassType (WindowDC ())-classWindowDC = ClassType (unsafePerformIO (classInfoFindClass "wxWindowDC"))---{-# NOINLINE classWindowDestroyEvent #-}-classWindowDestroyEvent :: ClassType (WindowDestroyEvent ())-classWindowDestroyEvent = ClassType (unsafePerformIO (classInfoFindClass "wxWindowDestroyEvent"))---{-# NOINLINE classWizard #-}-classWizard :: ClassType (Wizard ())-classWizard = ClassType (unsafePerformIO (classInfoFindClass "wxWizard"))---{-# NOINLINE classWizardEvent #-}-classWizardEvent :: ClassType (WizardEvent ())-classWizardEvent = ClassType (unsafePerformIO (classInfoFindClass "wxWizardEvent"))---{-# NOINLINE classWizardPage #-}-classWizardPage :: ClassType (WizardPage ())-classWizardPage = ClassType (unsafePerformIO (classInfoFindClass "wxWizardPage"))---{-# NOINLINE classWizardPageSimple #-}-classWizardPageSimple :: ClassType (WizardPageSimple ())-classWizardPageSimple = ClassType (unsafePerformIO (classInfoFindClass "wxWizardPageSimple"))---{-# NOINLINE classWXCApp #-}-classWXCApp :: ClassType (WXCApp ())-classWXCApp = ClassType (unsafePerformIO (classInfoFindClass "ELJApp"))---{-# NOINLINE classWXCArtProv #-}-classWXCArtProv :: ClassType (WXCArtProv ())-classWXCArtProv = ClassType (unsafePerformIO (classInfoFindClass "ELJArtProv"))---{-# NOINLINE classWXCClient #-}-classWXCClient :: ClassType (WXCClient ())-classWXCClient = ClassType (unsafePerformIO (classInfoFindClass "ELJClient"))---{-# NOINLINE classWXCCommand #-}-classWXCCommand :: ClassType (WXCCommand ())-classWXCCommand = ClassType (unsafePerformIO (classInfoFindClass "ELJCommand"))---{-# NOINLINE classWXCConnection #-}-classWXCConnection :: ClassType (WXCConnection ())-classWXCConnection = ClassType (unsafePerformIO (classInfoFindClass "ELJConnection"))---{-# NOINLINE classWXCGridTable #-}-classWXCGridTable :: ClassType (WXCGridTable ())-classWXCGridTable = ClassType (unsafePerformIO (classInfoFindClass "ELJGridTable"))---{-# NOINLINE classWXCHtmlEvent #-}-classWXCHtmlEvent :: ClassType (WXCHtmlEvent ())-classWXCHtmlEvent = ClassType (unsafePerformIO (classInfoFindClass "wxcHtmlEvent"))---{-# NOINLINE classWXCHtmlWindow #-}-classWXCHtmlWindow :: ClassType (WXCHtmlWindow ())-classWXCHtmlWindow = ClassType (unsafePerformIO (classInfoFindClass "wxcHtmlWindow"))---{-# NOINLINE classWXCPlotCurve #-}-classWXCPlotCurve :: ClassType (WXCPlotCurve ())-classWXCPlotCurve = ClassType (unsafePerformIO (classInfoFindClass "ELJPlotCurve"))---{-# NOINLINE classWXCPreviewControlBar #-}-classWXCPreviewControlBar :: ClassType (WXCPreviewControlBar ())-classWXCPreviewControlBar = ClassType (unsafePerformIO (classInfoFindClass "ELJPreviewControlBar"))---{-# NOINLINE classWXCPreviewFrame #-}-classWXCPreviewFrame :: ClassType (WXCPreviewFrame ())-classWXCPreviewFrame = ClassType (unsafePerformIO (classInfoFindClass "ELJPreviewFrame"))---{-# NOINLINE classWXCPrintEvent #-}-classWXCPrintEvent :: ClassType (WXCPrintEvent ())-classWXCPrintEvent = ClassType (unsafePerformIO (classInfoFindClass "wxcPrintEvent"))---{-# NOINLINE classWXCPrintout #-}-classWXCPrintout :: ClassType (WXCPrintout ())-classWXCPrintout = ClassType (unsafePerformIO (classInfoFindClass "wxcPrintout"))---{-# NOINLINE classWXCPrintoutHandler #-}-classWXCPrintoutHandler :: ClassType (WXCPrintoutHandler ())-classWXCPrintoutHandler = ClassType (unsafePerformIO (classInfoFindClass "wxcPrintoutHandler"))---{-# NOINLINE classWXCServer #-}-classWXCServer :: ClassType (WXCServer ())-classWXCServer = ClassType (unsafePerformIO (classInfoFindClass "ELJServer"))---{-# NOINLINE classWXCTextValidator #-}-classWXCTextValidator :: ClassType (WXCTextValidator ())-classWXCTextValidator = ClassType (unsafePerformIO (classInfoFindClass "ELJTextValidator"))---{-# NOINLINE classWxObject #-}-classWxObject :: ClassType (WxObject ())-classWxObject = ClassType (unsafePerformIO (classInfoFindClass "wxObject"))---{-# NOINLINE classXmlResource #-}-classXmlResource :: ClassType (XmlResource ())-classXmlResource = ClassType (unsafePerformIO (classInfoFindClass "wxXmlResource"))---{-# NOINLINE classXmlResourceHandler #-}-classXmlResourceHandler :: ClassType (XmlResourceHandler ())-classXmlResourceHandler = ClassType (unsafePerformIO (classInfoFindClass "wxXmlResourceHandler"))---downcastActivateEvent :: ActivateEvent a -> ActivateEvent ()-downcastActivateEvent obj = objectCast obj---downcastApp :: App a -> App ()-downcastApp obj = objectCast obj---downcastArtProvider :: ArtProvider a -> ArtProvider ()-downcastArtProvider obj = objectCast obj---downcastAutoBufferedPaintDC :: AutoBufferedPaintDC a -> AutoBufferedPaintDC ()-downcastAutoBufferedPaintDC obj = objectCast obj---downcastAutomationObject :: AutomationObject a -> AutomationObject ()-downcastAutomationObject obj = objectCast obj---downcastBitmap :: Bitmap a -> Bitmap ()-downcastBitmap obj = objectCast obj---downcastBitmapButton :: BitmapButton a -> BitmapButton ()-downcastBitmapButton obj = objectCast obj---downcastBitmapHandler :: BitmapHandler a -> BitmapHandler ()-downcastBitmapHandler obj = objectCast obj---downcastBoxSizer :: BoxSizer a -> BoxSizer ()-downcastBoxSizer obj = objectCast obj---downcastBrush :: Brush a -> Brush ()-downcastBrush obj = objectCast obj---downcastBrushList :: BrushList a -> BrushList ()-downcastBrushList obj = objectCast obj---downcastBufferedDC :: BufferedDC a -> BufferedDC ()-downcastBufferedDC obj = objectCast obj---downcastBufferedPaintDC :: BufferedPaintDC a -> BufferedPaintDC ()-downcastBufferedPaintDC obj = objectCast obj---downcastButton :: Button a -> Button ()-downcastButton obj = objectCast obj---downcastCalculateLayoutEvent :: CalculateLayoutEvent a -> CalculateLayoutEvent ()-downcastCalculateLayoutEvent obj = objectCast obj---downcastCalendarCtrl :: CalendarCtrl a -> CalendarCtrl ()-downcastCalendarCtrl obj = objectCast obj---downcastCalendarEvent :: CalendarEvent a -> CalendarEvent ()-downcastCalendarEvent obj = objectCast obj---downcastCbAntiflickerPlugin :: CbAntiflickerPlugin a -> CbAntiflickerPlugin ()-downcastCbAntiflickerPlugin obj = objectCast obj---downcastCbBarDragPlugin :: CbBarDragPlugin a -> CbBarDragPlugin ()-downcastCbBarDragPlugin obj = objectCast obj---downcastCbBarHintsPlugin :: CbBarHintsPlugin a -> CbBarHintsPlugin ()-downcastCbBarHintsPlugin obj = objectCast obj---downcastCbBarInfo :: CbBarInfo a -> CbBarInfo ()-downcastCbBarInfo obj = objectCast obj---downcastCbBarSpy :: CbBarSpy a -> CbBarSpy ()-downcastCbBarSpy obj = objectCast obj---downcastCbCloseBox :: CbCloseBox a -> CbCloseBox ()-downcastCbCloseBox obj = objectCast obj---downcastCbCollapseBox :: CbCollapseBox a -> CbCollapseBox ()-downcastCbCollapseBox obj = objectCast obj---downcastCbCommonPaneProperties :: CbCommonPaneProperties a -> CbCommonPaneProperties ()-downcastCbCommonPaneProperties obj = objectCast obj---downcastCbCustomizeBarEvent :: CbCustomizeBarEvent a -> CbCustomizeBarEvent ()-downcastCbCustomizeBarEvent obj = objectCast obj---downcastCbCustomizeLayoutEvent :: CbCustomizeLayoutEvent a -> CbCustomizeLayoutEvent ()-downcastCbCustomizeLayoutEvent obj = objectCast obj---downcastCbDimHandlerBase :: CbDimHandlerBase a -> CbDimHandlerBase ()-downcastCbDimHandlerBase obj = objectCast obj---downcastCbDimInfo :: CbDimInfo a -> CbDimInfo ()-downcastCbDimInfo obj = objectCast obj---downcastCbDockBox :: CbDockBox a -> CbDockBox ()-downcastCbDockBox obj = objectCast obj---downcastCbDockPane :: CbDockPane a -> CbDockPane ()-downcastCbDockPane obj = objectCast obj---downcastCbDrawBarDecorEvent :: CbDrawBarDecorEvent a -> CbDrawBarDecorEvent ()-downcastCbDrawBarDecorEvent obj = objectCast obj---downcastCbDrawBarHandlesEvent :: CbDrawBarHandlesEvent a -> CbDrawBarHandlesEvent ()-downcastCbDrawBarHandlesEvent obj = objectCast obj---downcastCbDrawHintRectEvent :: CbDrawHintRectEvent a -> CbDrawHintRectEvent ()-downcastCbDrawHintRectEvent obj = objectCast obj---downcastCbDrawPaneBkGroundEvent :: CbDrawPaneBkGroundEvent a -> CbDrawPaneBkGroundEvent ()-downcastCbDrawPaneBkGroundEvent obj = objectCast obj---downcastCbDrawPaneDecorEvent :: CbDrawPaneDecorEvent a -> CbDrawPaneDecorEvent ()-downcastCbDrawPaneDecorEvent obj = objectCast obj---downcastCbDrawRowBkGroundEvent :: CbDrawRowBkGroundEvent a -> CbDrawRowBkGroundEvent ()-downcastCbDrawRowBkGroundEvent obj = objectCast obj---downcastCbDrawRowDecorEvent :: CbDrawRowDecorEvent a -> CbDrawRowDecorEvent ()-downcastCbDrawRowDecorEvent obj = objectCast obj---downcastCbDrawRowHandlesEvent :: CbDrawRowHandlesEvent a -> CbDrawRowHandlesEvent ()-downcastCbDrawRowHandlesEvent obj = objectCast obj---downcastCbDynToolBarDimHandler :: CbDynToolBarDimHandler a -> CbDynToolBarDimHandler ()-downcastCbDynToolBarDimHandler obj = objectCast obj---downcastCbFinishDrawInAreaEvent :: CbFinishDrawInAreaEvent a -> CbFinishDrawInAreaEvent ()-downcastCbFinishDrawInAreaEvent obj = objectCast obj---downcastCbFloatedBarWindow :: CbFloatedBarWindow a -> CbFloatedBarWindow ()-downcastCbFloatedBarWindow obj = objectCast obj---downcastCbGCUpdatesMgr :: CbGCUpdatesMgr a -> CbGCUpdatesMgr ()-downcastCbGCUpdatesMgr obj = objectCast obj---downcastCbHintAnimationPlugin :: CbHintAnimationPlugin a -> CbHintAnimationPlugin ()-downcastCbHintAnimationPlugin obj = objectCast obj---downcastCbInsertBarEvent :: CbInsertBarEvent a -> CbInsertBarEvent ()-downcastCbInsertBarEvent obj = objectCast obj---downcastCbLayoutRowEvent :: CbLayoutRowEvent a -> CbLayoutRowEvent ()-downcastCbLayoutRowEvent obj = objectCast obj---downcastCbLeftDClickEvent :: CbLeftDClickEvent a -> CbLeftDClickEvent ()-downcastCbLeftDClickEvent obj = objectCast obj---downcastCbLeftDownEvent :: CbLeftDownEvent a -> CbLeftDownEvent ()-downcastCbLeftDownEvent obj = objectCast obj---downcastCbLeftUpEvent :: CbLeftUpEvent a -> CbLeftUpEvent ()-downcastCbLeftUpEvent obj = objectCast obj---downcastCbMiniButton :: CbMiniButton a -> CbMiniButton ()-downcastCbMiniButton obj = objectCast obj---downcastCbMotionEvent :: CbMotionEvent a -> CbMotionEvent ()-downcastCbMotionEvent obj = objectCast obj---downcastCbPaneDrawPlugin :: CbPaneDrawPlugin a -> CbPaneDrawPlugin ()-downcastCbPaneDrawPlugin obj = objectCast obj---downcastCbPluginBase :: CbPluginBase a -> CbPluginBase ()-downcastCbPluginBase obj = objectCast obj---downcastCbPluginEvent :: CbPluginEvent a -> CbPluginEvent ()-downcastCbPluginEvent obj = objectCast obj---downcastCbRemoveBarEvent :: CbRemoveBarEvent a -> CbRemoveBarEvent ()-downcastCbRemoveBarEvent obj = objectCast obj---downcastCbResizeBarEvent :: CbResizeBarEvent a -> CbResizeBarEvent ()-downcastCbResizeBarEvent obj = objectCast obj---downcastCbResizeRowEvent :: CbResizeRowEvent a -> CbResizeRowEvent ()-downcastCbResizeRowEvent obj = objectCast obj---downcastCbRightDownEvent :: CbRightDownEvent a -> CbRightDownEvent ()-downcastCbRightDownEvent obj = objectCast obj---downcastCbRightUpEvent :: CbRightUpEvent a -> CbRightUpEvent ()-downcastCbRightUpEvent obj = objectCast obj---downcastCbRowDragPlugin :: CbRowDragPlugin a -> CbRowDragPlugin ()-downcastCbRowDragPlugin obj = objectCast obj---downcastCbRowInfo :: CbRowInfo a -> CbRowInfo ()-downcastCbRowInfo obj = objectCast obj---downcastCbRowLayoutPlugin :: CbRowLayoutPlugin a -> CbRowLayoutPlugin ()-downcastCbRowLayoutPlugin obj = objectCast obj---downcastCbSimpleCustomizationPlugin :: CbSimpleCustomizationPlugin a -> CbSimpleCustomizationPlugin ()-downcastCbSimpleCustomizationPlugin obj = objectCast obj---downcastCbSimpleUpdatesMgr :: CbSimpleUpdatesMgr a -> CbSimpleUpdatesMgr ()-downcastCbSimpleUpdatesMgr obj = objectCast obj---downcastCbSizeBarWndEvent :: CbSizeBarWndEvent a -> CbSizeBarWndEvent ()-downcastCbSizeBarWndEvent obj = objectCast obj---downcastCbStartBarDraggingEvent :: CbStartBarDraggingEvent a -> CbStartBarDraggingEvent ()-downcastCbStartBarDraggingEvent obj = objectCast obj---downcastCbStartDrawInAreaEvent :: CbStartDrawInAreaEvent a -> CbStartDrawInAreaEvent ()-downcastCbStartDrawInAreaEvent obj = objectCast obj---downcastCbUpdatesManagerBase :: CbUpdatesManagerBase a -> CbUpdatesManagerBase ()-downcastCbUpdatesManagerBase obj = objectCast obj---downcastCheckBox :: CheckBox a -> CheckBox ()-downcastCheckBox obj = objectCast obj---downcastCheckListBox :: CheckListBox a -> CheckListBox ()-downcastCheckListBox obj = objectCast obj---downcastChoice :: Choice a -> Choice ()-downcastChoice obj = objectCast obj---downcastClient :: Client a -> Client ()-downcastClient obj = objectCast obj---downcastClientBase :: ClientBase a -> ClientBase ()-downcastClientBase obj = objectCast obj---downcastClientDC :: ClientDC a -> ClientDC ()-downcastClientDC obj = objectCast obj---downcastClipboard :: Clipboard a -> Clipboard ()-downcastClipboard obj = objectCast obj---downcastCloseEvent :: CloseEvent a -> CloseEvent ()-downcastCloseEvent obj = objectCast obj---downcastClosure :: Closure a -> Closure ()-downcastClosure obj = objectCast obj---downcastColour :: Colour a -> Colour ()-downcastColour obj = objectCast obj---downcastColourData :: ColourData a -> ColourData ()-downcastColourData obj = objectCast obj---downcastColourDatabase :: ColourDatabase a -> ColourDatabase ()-downcastColourDatabase obj = objectCast obj---downcastColourDialog :: ColourDialog a -> ColourDialog ()-downcastColourDialog obj = objectCast obj---downcastComboBox :: ComboBox a -> ComboBox ()-downcastComboBox obj = objectCast obj---downcastCommand :: Command a -> Command ()-downcastCommand obj = objectCast obj---downcastCommandEvent :: CommandEvent a -> CommandEvent ()-downcastCommandEvent obj = objectCast obj---downcastCommandProcessor :: CommandProcessor a -> CommandProcessor ()-downcastCommandProcessor obj = objectCast obj---downcastConnection :: Connection a -> Connection ()-downcastConnection obj = objectCast obj---downcastConnectionBase :: ConnectionBase a -> ConnectionBase ()-downcastConnectionBase obj = objectCast obj---downcastContextHelp :: ContextHelp a -> ContextHelp ()-downcastContextHelp obj = objectCast obj---downcastContextHelpButton :: ContextHelpButton a -> ContextHelpButton ()-downcastContextHelpButton obj = objectCast obj---downcastControl :: Control a -> Control ()-downcastControl obj = objectCast obj---downcastCursor :: Cursor a -> Cursor ()-downcastCursor obj = objectCast obj---downcastDatabase :: Database a -> Database ()-downcastDatabase obj = objectCast obj---downcastDC :: DC a -> DC ()-downcastDC obj = objectCast obj---downcastDDEClient :: DDEClient a -> DDEClient ()-downcastDDEClient obj = objectCast obj---downcastDDEConnection :: DDEConnection a -> DDEConnection ()-downcastDDEConnection obj = objectCast obj---downcastDDEServer :: DDEServer a -> DDEServer ()-downcastDDEServer obj = objectCast obj---downcastDialog :: Dialog a -> Dialog ()-downcastDialog obj = objectCast obj---downcastDialUpEvent :: DialUpEvent a -> DialUpEvent ()-downcastDialUpEvent obj = objectCast obj---downcastDirDialog :: DirDialog a -> DirDialog ()-downcastDirDialog obj = objectCast obj---downcastDocChildFrame :: DocChildFrame a -> DocChildFrame ()-downcastDocChildFrame obj = objectCast obj---downcastDocManager :: DocManager a -> DocManager ()-downcastDocManager obj = objectCast obj---downcastDocMDIChildFrame :: DocMDIChildFrame a -> DocMDIChildFrame ()-downcastDocMDIChildFrame obj = objectCast obj---downcastDocMDIParentFrame :: DocMDIParentFrame a -> DocMDIParentFrame ()-downcastDocMDIParentFrame obj = objectCast obj---downcastDocParentFrame :: DocParentFrame a -> DocParentFrame ()-downcastDocParentFrame obj = objectCast obj---downcastDocTemplate :: DocTemplate a -> DocTemplate ()-downcastDocTemplate obj = objectCast obj---downcastDocument :: Document a -> Document ()-downcastDocument obj = objectCast obj---downcastDragImage :: DragImage a -> DragImage ()-downcastDragImage obj = objectCast obj---downcastDrawControl :: DrawControl a -> DrawControl ()-downcastDrawControl obj = objectCast obj---downcastDrawWindow :: DrawWindow a -> DrawWindow ()-downcastDrawWindow obj = objectCast obj---downcastDropFilesEvent :: DropFilesEvent a -> DropFilesEvent ()-downcastDropFilesEvent obj = objectCast obj---downcastDynamicSashWindow :: DynamicSashWindow a -> DynamicSashWindow ()-downcastDynamicSashWindow obj = objectCast obj---downcastDynamicToolBar :: DynamicToolBar a -> DynamicToolBar ()-downcastDynamicToolBar obj = objectCast obj---downcastDynToolInfo :: DynToolInfo a -> DynToolInfo ()-downcastDynToolInfo obj = objectCast obj---downcastEditableListBox :: EditableListBox a -> EditableListBox ()-downcastEditableListBox obj = objectCast obj---downcastEncodingConverter :: EncodingConverter a -> EncodingConverter ()-downcastEncodingConverter obj = objectCast obj---downcastEraseEvent :: EraseEvent a -> EraseEvent ()-downcastEraseEvent obj = objectCast obj---downcastEvent :: Event a -> Event ()-downcastEvent obj = objectCast obj---downcastEvtHandler :: EvtHandler a -> EvtHandler ()-downcastEvtHandler obj = objectCast obj---downcastExprDatabase :: ExprDatabase a -> ExprDatabase ()-downcastExprDatabase obj = objectCast obj---downcastFileDialog :: FileDialog a -> FileDialog ()-downcastFileDialog obj = objectCast obj---downcastFileHistory :: FileHistory a -> FileHistory ()-downcastFileHistory obj = objectCast obj---downcastFileSystem :: FileSystem a -> FileSystem ()-downcastFileSystem obj = objectCast obj---downcastFileSystemHandler :: FileSystemHandler a -> FileSystemHandler ()-downcastFileSystemHandler obj = objectCast obj---downcastFindDialogEvent :: FindDialogEvent a -> FindDialogEvent ()-downcastFindDialogEvent obj = objectCast obj---downcastFindReplaceData :: FindReplaceData a -> FindReplaceData ()-downcastFindReplaceData obj = objectCast obj---downcastFindReplaceDialog :: FindReplaceDialog a -> FindReplaceDialog ()-downcastFindReplaceDialog obj = objectCast obj---downcastFlexGridSizer :: FlexGridSizer a -> FlexGridSizer ()-downcastFlexGridSizer obj = objectCast obj---downcastFocusEvent :: FocusEvent a -> FocusEvent ()-downcastFocusEvent obj = objectCast obj---downcastFont :: Font a -> Font ()-downcastFont obj = objectCast obj---downcastFontData :: FontData a -> FontData ()-downcastFontData obj = objectCast obj---downcastFontDialog :: FontDialog a -> FontDialog ()-downcastFontDialog obj = objectCast obj---downcastFontList :: FontList a -> FontList ()-downcastFontList obj = objectCast obj---downcastFrame :: Frame a -> Frame ()-downcastFrame obj = objectCast obj---downcastFrameLayout :: FrameLayout a -> FrameLayout ()-downcastFrameLayout obj = objectCast obj---downcastFSFile :: FSFile a -> FSFile ()-downcastFSFile obj = objectCast obj---downcastFTP :: FTP a -> FTP ()-downcastFTP obj = objectCast obj---downcastGauge :: Gauge a -> Gauge ()-downcastGauge obj = objectCast obj---downcastGauge95 :: Gauge95 a -> Gauge95 ()-downcastGauge95 obj = objectCast obj---downcastGaugeMSW :: GaugeMSW a -> GaugeMSW ()-downcastGaugeMSW obj = objectCast obj---downcastGDIObject :: GDIObject a -> GDIObject ()-downcastGDIObject obj = objectCast obj---downcastGenericDirCtrl :: GenericDirCtrl a -> GenericDirCtrl ()-downcastGenericDirCtrl obj = objectCast obj---downcastGenericDragImage :: GenericDragImage a -> GenericDragImage ()-downcastGenericDragImage obj = objectCast obj---downcastGenericValidator :: GenericValidator a -> GenericValidator ()-downcastGenericValidator obj = objectCast obj---downcastGLCanvas :: GLCanvas a -> GLCanvas ()-downcastGLCanvas obj = objectCast obj---downcastGraphicsBrush :: GraphicsBrush a -> GraphicsBrush ()-downcastGraphicsBrush obj = objectCast obj---downcastGraphicsContext :: GraphicsContext a -> GraphicsContext ()-downcastGraphicsContext obj = objectCast obj---downcastGraphicsFont :: GraphicsFont a -> GraphicsFont ()-downcastGraphicsFont obj = objectCast obj---downcastGraphicsMatrix :: GraphicsMatrix a -> GraphicsMatrix ()-downcastGraphicsMatrix obj = objectCast obj---downcastGraphicsObject :: GraphicsObject a -> GraphicsObject ()-downcastGraphicsObject obj = objectCast obj---downcastGraphicsPath :: GraphicsPath a -> GraphicsPath ()-downcastGraphicsPath obj = objectCast obj---downcastGraphicsPen :: GraphicsPen a -> GraphicsPen ()-downcastGraphicsPen obj = objectCast obj---downcastGraphicsRenderer :: GraphicsRenderer a -> GraphicsRenderer ()-downcastGraphicsRenderer obj = objectCast obj---downcastGrid :: Grid a -> Grid ()-downcastGrid obj = objectCast obj---downcastGridEditorCreatedEvent :: GridEditorCreatedEvent a -> GridEditorCreatedEvent ()-downcastGridEditorCreatedEvent obj = objectCast obj---downcastGridEvent :: GridEvent a -> GridEvent ()-downcastGridEvent obj = objectCast obj---downcastGridRangeSelectEvent :: GridRangeSelectEvent a -> GridRangeSelectEvent ()-downcastGridRangeSelectEvent obj = objectCast obj---downcastGridSizeEvent :: GridSizeEvent a -> GridSizeEvent ()-downcastGridSizeEvent obj = objectCast obj---downcastGridSizer :: GridSizer a -> GridSizer ()-downcastGridSizer obj = objectCast obj---downcastGridTableBase :: GridTableBase a -> GridTableBase ()-downcastGridTableBase obj = objectCast obj---downcastHelpController :: HelpController a -> HelpController ()-downcastHelpController obj = objectCast obj---downcastHelpControllerBase :: HelpControllerBase a -> HelpControllerBase ()-downcastHelpControllerBase obj = objectCast obj---downcastHelpEvent :: HelpEvent a -> HelpEvent ()-downcastHelpEvent obj = objectCast obj---downcastHtmlCell :: HtmlCell a -> HtmlCell ()-downcastHtmlCell obj = objectCast obj---downcastHtmlColourCell :: HtmlColourCell a -> HtmlColourCell ()-downcastHtmlColourCell obj = objectCast obj---downcastHtmlContainerCell :: HtmlContainerCell a -> HtmlContainerCell ()-downcastHtmlContainerCell obj = objectCast obj---downcastHtmlDCRenderer :: HtmlDCRenderer a -> HtmlDCRenderer ()-downcastHtmlDCRenderer obj = objectCast obj---downcastHtmlEasyPrinting :: HtmlEasyPrinting a -> HtmlEasyPrinting ()-downcastHtmlEasyPrinting obj = objectCast obj---downcastHtmlFilter :: HtmlFilter a -> HtmlFilter ()-downcastHtmlFilter obj = objectCast obj---downcastHtmlHelpController :: HtmlHelpController a -> HtmlHelpController ()-downcastHtmlHelpController obj = objectCast obj---downcastHtmlHelpData :: HtmlHelpData a -> HtmlHelpData ()-downcastHtmlHelpData obj = objectCast obj---downcastHtmlHelpFrame :: HtmlHelpFrame a -> HtmlHelpFrame ()-downcastHtmlHelpFrame obj = objectCast obj---downcastHtmlLinkInfo :: HtmlLinkInfo a -> HtmlLinkInfo ()-downcastHtmlLinkInfo obj = objectCast obj---downcastHtmlParser :: HtmlParser a -> HtmlParser ()-downcastHtmlParser obj = objectCast obj---downcastHtmlPrintout :: HtmlPrintout a -> HtmlPrintout ()-downcastHtmlPrintout obj = objectCast obj---downcastHtmlTag :: HtmlTag a -> HtmlTag ()-downcastHtmlTag obj = objectCast obj---downcastHtmlTagHandler :: HtmlTagHandler a -> HtmlTagHandler ()-downcastHtmlTagHandler obj = objectCast obj---downcastHtmlTagsModule :: HtmlTagsModule a -> HtmlTagsModule ()-downcastHtmlTagsModule obj = objectCast obj---downcastHtmlWidgetCell :: HtmlWidgetCell a -> HtmlWidgetCell ()-downcastHtmlWidgetCell obj = objectCast obj---downcastHtmlWindow :: HtmlWindow a -> HtmlWindow ()-downcastHtmlWindow obj = objectCast obj---downcastHtmlWinParser :: HtmlWinParser a -> HtmlWinParser ()-downcastHtmlWinParser obj = objectCast obj---downcastHtmlWinTagHandler :: HtmlWinTagHandler a -> HtmlWinTagHandler ()-downcastHtmlWinTagHandler obj = objectCast obj---downcastHTTP :: HTTP a -> HTTP ()-downcastHTTP obj = objectCast obj---downcastIcon :: Icon a -> Icon ()-downcastIcon obj = objectCast obj---downcastIconizeEvent :: IconizeEvent a -> IconizeEvent ()-downcastIconizeEvent obj = objectCast obj---downcastIdleEvent :: IdleEvent a -> IdleEvent ()-downcastIdleEvent obj = objectCast obj---downcastImage :: Image a -> Image ()-downcastImage obj = objectCast obj---downcastImageHandler :: ImageHandler a -> ImageHandler ()-downcastImageHandler obj = objectCast obj---downcastImageList :: ImageList a -> ImageList ()-downcastImageList obj = objectCast obj---downcastIndividualLayoutConstraint :: IndividualLayoutConstraint a -> IndividualLayoutConstraint ()-downcastIndividualLayoutConstraint obj = objectCast obj---downcastInitDialogEvent :: InitDialogEvent a -> InitDialogEvent ()-downcastInitDialogEvent obj = objectCast obj---downcastInputSinkEvent :: InputSinkEvent a -> InputSinkEvent ()-downcastInputSinkEvent obj = objectCast obj---downcastIPV4address :: IPV4address a -> IPV4address ()-downcastIPV4address obj = objectCast obj---downcastJoystick :: Joystick a -> Joystick ()-downcastJoystick obj = objectCast obj---downcastJoystickEvent :: JoystickEvent a -> JoystickEvent ()-downcastJoystickEvent obj = objectCast obj---downcastKeyEvent :: KeyEvent a -> KeyEvent ()-downcastKeyEvent obj = objectCast obj---downcastLayoutAlgorithm :: LayoutAlgorithm a -> LayoutAlgorithm ()-downcastLayoutAlgorithm obj = objectCast obj---downcastLayoutConstraints :: LayoutConstraints a -> LayoutConstraints ()-downcastLayoutConstraints obj = objectCast obj---downcastLEDNumberCtrl :: LEDNumberCtrl a -> LEDNumberCtrl ()-downcastLEDNumberCtrl obj = objectCast obj---downcastList :: List a -> List ()-downcastList obj = objectCast obj---downcastListBox :: ListBox a -> ListBox ()-downcastListBox obj = objectCast obj---downcastListCtrl :: ListCtrl a -> ListCtrl ()-downcastListCtrl obj = objectCast obj---downcastListEvent :: ListEvent a -> ListEvent ()-downcastListEvent obj = objectCast obj---downcastListItem :: ListItem a -> ListItem ()-downcastListItem obj = objectCast obj---downcastMask :: Mask a -> Mask ()-downcastMask obj = objectCast obj---downcastMaximizeEvent :: MaximizeEvent a -> MaximizeEvent ()-downcastMaximizeEvent obj = objectCast obj---downcastMDIChildFrame :: MDIChildFrame a -> MDIChildFrame ()-downcastMDIChildFrame obj = objectCast obj---downcastMDIClientWindow :: MDIClientWindow a -> MDIClientWindow ()-downcastMDIClientWindow obj = objectCast obj---downcastMDIParentFrame :: MDIParentFrame a -> MDIParentFrame ()-downcastMDIParentFrame obj = objectCast obj---downcastMediaCtrl :: MediaCtrl a -> MediaCtrl ()-downcastMediaCtrl obj = objectCast obj---downcastMediaEvent :: MediaEvent a -> MediaEvent ()-downcastMediaEvent obj = objectCast obj---downcastMemoryDC :: MemoryDC a -> MemoryDC ()-downcastMemoryDC obj = objectCast obj---downcastMemoryFSHandler :: MemoryFSHandler a -> MemoryFSHandler ()-downcastMemoryFSHandler obj = objectCast obj---downcastMenu :: Menu a -> Menu ()-downcastMenu obj = objectCast obj---downcastMenuBar :: MenuBar a -> MenuBar ()-downcastMenuBar obj = objectCast obj---downcastMenuEvent :: MenuEvent a -> MenuEvent ()-downcastMenuEvent obj = objectCast obj---downcastMenuItem :: MenuItem a -> MenuItem ()-downcastMenuItem obj = objectCast obj---downcastMessageDialog :: MessageDialog a -> MessageDialog ()-downcastMessageDialog obj = objectCast obj---downcastMetafile :: Metafile a -> Metafile ()-downcastMetafile obj = objectCast obj---downcastMetafileDC :: MetafileDC a -> MetafileDC ()-downcastMetafileDC obj = objectCast obj---downcastMiniFrame :: MiniFrame a -> MiniFrame ()-downcastMiniFrame obj = objectCast obj---downcastMirrorDC :: MirrorDC a -> MirrorDC ()-downcastMirrorDC obj = objectCast obj---downcastModule :: Module a -> Module ()-downcastModule obj = objectCast obj---downcastMouseCaptureChangedEvent :: MouseCaptureChangedEvent a -> MouseCaptureChangedEvent ()-downcastMouseCaptureChangedEvent obj = objectCast obj---downcastMouseEvent :: MouseEvent a -> MouseEvent ()-downcastMouseEvent obj = objectCast obj---downcastMoveEvent :: MoveEvent a -> MoveEvent ()-downcastMoveEvent obj = objectCast obj---downcastMultiCellCanvas :: MultiCellCanvas a -> MultiCellCanvas ()-downcastMultiCellCanvas obj = objectCast obj---downcastMultiCellItemHandle :: MultiCellItemHandle a -> MultiCellItemHandle ()-downcastMultiCellItemHandle obj = objectCast obj---downcastMultiCellSizer :: MultiCellSizer a -> MultiCellSizer ()-downcastMultiCellSizer obj = objectCast obj---downcastNavigationKeyEvent :: NavigationKeyEvent a -> NavigationKeyEvent ()-downcastNavigationKeyEvent obj = objectCast obj---downcastNewBitmapButton :: NewBitmapButton a -> NewBitmapButton ()-downcastNewBitmapButton obj = objectCast obj---downcastNotebook :: Notebook a -> Notebook ()-downcastNotebook obj = objectCast obj---downcastNotebookEvent :: NotebookEvent a -> NotebookEvent ()-downcastNotebookEvent obj = objectCast obj---downcastNotifyEvent :: NotifyEvent a -> NotifyEvent ()-downcastNotifyEvent obj = objectCast obj---downcastPageSetupDialog :: PageSetupDialog a -> PageSetupDialog ()-downcastPageSetupDialog obj = objectCast obj---downcastPageSetupDialogData :: PageSetupDialogData a -> PageSetupDialogData ()-downcastPageSetupDialogData obj = objectCast obj---downcastPaintDC :: PaintDC a -> PaintDC ()-downcastPaintDC obj = objectCast obj---downcastPaintEvent :: PaintEvent a -> PaintEvent ()-downcastPaintEvent obj = objectCast obj---downcastPalette :: Palette a -> Palette ()-downcastPalette obj = objectCast obj---downcastPaletteChangedEvent :: PaletteChangedEvent a -> PaletteChangedEvent ()-downcastPaletteChangedEvent obj = objectCast obj---downcastPanel :: Panel a -> Panel ()-downcastPanel obj = objectCast obj---downcastPathList :: PathList a -> PathList ()-downcastPathList obj = objectCast obj---downcastPen :: Pen a -> Pen ()-downcastPen obj = objectCast obj---downcastPenList :: PenList a -> PenList ()-downcastPenList obj = objectCast obj---downcastPlotCurve :: PlotCurve a -> PlotCurve ()-downcastPlotCurve obj = objectCast obj---downcastPlotEvent :: PlotEvent a -> PlotEvent ()-downcastPlotEvent obj = objectCast obj---downcastPlotOnOffCurve :: PlotOnOffCurve a -> PlotOnOffCurve ()-downcastPlotOnOffCurve obj = objectCast obj---downcastPlotWindow :: PlotWindow a -> PlotWindow ()-downcastPlotWindow obj = objectCast obj---downcastPopupTransientWindow :: PopupTransientWindow a -> PopupTransientWindow ()-downcastPopupTransientWindow obj = objectCast obj---downcastPopupWindow :: PopupWindow a -> PopupWindow ()-downcastPopupWindow obj = objectCast obj---downcastPostScriptDC :: PostScriptDC a -> PostScriptDC ()-downcastPostScriptDC obj = objectCast obj---downcastPostScriptPrintNativeData :: PostScriptPrintNativeData a -> PostScriptPrintNativeData ()-downcastPostScriptPrintNativeData obj = objectCast obj---downcastPreviewCanvas :: PreviewCanvas a -> PreviewCanvas ()-downcastPreviewCanvas obj = objectCast obj---downcastPreviewControlBar :: PreviewControlBar a -> PreviewControlBar ()-downcastPreviewControlBar obj = objectCast obj---downcastPreviewFrame :: PreviewFrame a -> PreviewFrame ()-downcastPreviewFrame obj = objectCast obj---downcastPrintData :: PrintData a -> PrintData ()-downcastPrintData obj = objectCast obj---downcastPrintDialog :: PrintDialog a -> PrintDialog ()-downcastPrintDialog obj = objectCast obj---downcastPrintDialogData :: PrintDialogData a -> PrintDialogData ()-downcastPrintDialogData obj = objectCast obj---downcastPrinter :: Printer a -> Printer ()-downcastPrinter obj = objectCast obj---downcastPrinterDC :: PrinterDC a -> PrinterDC ()-downcastPrinterDC obj = objectCast obj---downcastPrintout :: Printout a -> Printout ()-downcastPrintout obj = objectCast obj---downcastPrintPreview :: PrintPreview a -> PrintPreview ()-downcastPrintPreview obj = objectCast obj---downcastProcess :: Process a -> Process ()-downcastProcess obj = objectCast obj---downcastProcessEvent :: ProcessEvent a -> ProcessEvent ()-downcastProcessEvent obj = objectCast obj---downcastProgressDialog :: ProgressDialog a -> ProgressDialog ()-downcastProgressDialog obj = objectCast obj---downcastProtocol :: Protocol a -> Protocol ()-downcastProtocol obj = objectCast obj---downcastQuantize :: Quantize a -> Quantize ()-downcastQuantize obj = objectCast obj---downcastQueryCol :: QueryCol a -> QueryCol ()-downcastQueryCol obj = objectCast obj---downcastQueryField :: QueryField a -> QueryField ()-downcastQueryField obj = objectCast obj---downcastQueryLayoutInfoEvent :: QueryLayoutInfoEvent a -> QueryLayoutInfoEvent ()-downcastQueryLayoutInfoEvent obj = objectCast obj---downcastQueryNewPaletteEvent :: QueryNewPaletteEvent a -> QueryNewPaletteEvent ()-downcastQueryNewPaletteEvent obj = objectCast obj---downcastRadioBox :: RadioBox a -> RadioBox ()-downcastRadioBox obj = objectCast obj---downcastRadioButton :: RadioButton a -> RadioButton ()-downcastRadioButton obj = objectCast obj---downcastRecordSet :: RecordSet a -> RecordSet ()-downcastRecordSet obj = objectCast obj---downcastRegion :: Region a -> Region ()-downcastRegion obj = objectCast obj---downcastRegionIterator :: RegionIterator a -> RegionIterator ()-downcastRegionIterator obj = objectCast obj---downcastRemotelyScrolledTreeCtrl :: RemotelyScrolledTreeCtrl a -> RemotelyScrolledTreeCtrl ()-downcastRemotelyScrolledTreeCtrl obj = objectCast obj---downcastSashEvent :: SashEvent a -> SashEvent ()-downcastSashEvent obj = objectCast obj---downcastSashLayoutWindow :: SashLayoutWindow a -> SashLayoutWindow ()-downcastSashLayoutWindow obj = objectCast obj---downcastSashWindow :: SashWindow a -> SashWindow ()-downcastSashWindow obj = objectCast obj---downcastScreenDC :: ScreenDC a -> ScreenDC ()-downcastScreenDC obj = objectCast obj---downcastScrollBar :: ScrollBar a -> ScrollBar ()-downcastScrollBar obj = objectCast obj---downcastScrolledWindow :: ScrolledWindow a -> ScrolledWindow ()-downcastScrolledWindow obj = objectCast obj---downcastScrollEvent :: ScrollEvent a -> ScrollEvent ()-downcastScrollEvent obj = objectCast obj---downcastScrollWinEvent :: ScrollWinEvent a -> ScrollWinEvent ()-downcastScrollWinEvent obj = objectCast obj---downcastServer :: Server a -> Server ()-downcastServer obj = objectCast obj---downcastServerBase :: ServerBase a -> ServerBase ()-downcastServerBase obj = objectCast obj---downcastSetCursorEvent :: SetCursorEvent a -> SetCursorEvent ()-downcastSetCursorEvent obj = objectCast obj---downcastShowEvent :: ShowEvent a -> ShowEvent ()-downcastShowEvent obj = objectCast obj---downcastSingleChoiceDialog :: SingleChoiceDialog a -> SingleChoiceDialog ()-downcastSingleChoiceDialog obj = objectCast obj---downcastSizeEvent :: SizeEvent a -> SizeEvent ()-downcastSizeEvent obj = objectCast obj---downcastSizer :: Sizer a -> Sizer ()-downcastSizer obj = objectCast obj---downcastSizerItem :: SizerItem a -> SizerItem ()-downcastSizerItem obj = objectCast obj---downcastSlider :: Slider a -> Slider ()-downcastSlider obj = objectCast obj---downcastSlider95 :: Slider95 a -> Slider95 ()-downcastSlider95 obj = objectCast obj---downcastSliderMSW :: SliderMSW a -> SliderMSW ()-downcastSliderMSW obj = objectCast obj---downcastSockAddress :: SockAddress a -> SockAddress ()-downcastSockAddress obj = objectCast obj---downcastSocketBase :: SocketBase a -> SocketBase ()-downcastSocketBase obj = objectCast obj---downcastSocketClient :: SocketClient a -> SocketClient ()-downcastSocketClient obj = objectCast obj---downcastSocketEvent :: SocketEvent a -> SocketEvent ()-downcastSocketEvent obj = objectCast obj---downcastSocketServer :: SocketServer a -> SocketServer ()-downcastSocketServer obj = objectCast obj---downcastSound :: Sound a -> Sound ()-downcastSound obj = objectCast obj---downcastSpinButton :: SpinButton a -> SpinButton ()-downcastSpinButton obj = objectCast obj---downcastSpinCtrl :: SpinCtrl a -> SpinCtrl ()-downcastSpinCtrl obj = objectCast obj---downcastSpinEvent :: SpinEvent a -> SpinEvent ()-downcastSpinEvent obj = objectCast obj---downcastSplashScreen :: SplashScreen a -> SplashScreen ()-downcastSplashScreen obj = objectCast obj---downcastSplitterEvent :: SplitterEvent a -> SplitterEvent ()-downcastSplitterEvent obj = objectCast obj---downcastSplitterScrolledWindow :: SplitterScrolledWindow a -> SplitterScrolledWindow ()-downcastSplitterScrolledWindow obj = objectCast obj---downcastSplitterWindow :: SplitterWindow a -> SplitterWindow ()-downcastSplitterWindow obj = objectCast obj---downcastStaticBitmap :: StaticBitmap a -> StaticBitmap ()-downcastStaticBitmap obj = objectCast obj---downcastStaticBox :: StaticBox a -> StaticBox ()-downcastStaticBox obj = objectCast obj---downcastStaticBoxSizer :: StaticBoxSizer a -> StaticBoxSizer ()-downcastStaticBoxSizer obj = objectCast obj---downcastStaticLine :: StaticLine a -> StaticLine ()-downcastStaticLine obj = objectCast obj---downcastStaticText :: StaticText a -> StaticText ()-downcastStaticText obj = objectCast obj---downcastStatusBar :: StatusBar a -> StatusBar ()-downcastStatusBar obj = objectCast obj---downcastStringList :: StringList a -> StringList ()-downcastStringList obj = objectCast obj---downcastStringTokenizer :: StringTokenizer a -> StringTokenizer ()-downcastStringTokenizer obj = objectCast obj---downcastStyledTextCtrl :: StyledTextCtrl a -> StyledTextCtrl ()-downcastStyledTextCtrl obj = objectCast obj---downcastStyledTextEvent :: StyledTextEvent a -> StyledTextEvent ()-downcastStyledTextEvent obj = objectCast obj---downcastSVGFileDC :: SVGFileDC a -> SVGFileDC ()-downcastSVGFileDC obj = objectCast obj---downcastSysColourChangedEvent :: SysColourChangedEvent a -> SysColourChangedEvent ()-downcastSysColourChangedEvent obj = objectCast obj---downcastSystemOptions :: SystemOptions a -> SystemOptions ()-downcastSystemOptions obj = objectCast obj---downcastSystemSettings :: SystemSettings a -> SystemSettings ()-downcastSystemSettings obj = objectCast obj---downcastTabCtrl :: TabCtrl a -> TabCtrl ()-downcastTabCtrl obj = objectCast obj---downcastTabEvent :: TabEvent a -> TabEvent ()-downcastTabEvent obj = objectCast obj---downcastTablesInUse :: TablesInUse a -> TablesInUse ()-downcastTablesInUse obj = objectCast obj---downcastTaskBarIcon :: TaskBarIcon a -> TaskBarIcon ()-downcastTaskBarIcon obj = objectCast obj---downcastTextCtrl :: TextCtrl a -> TextCtrl ()-downcastTextCtrl obj = objectCast obj---downcastTextEntryDialog :: TextEntryDialog a -> TextEntryDialog ()-downcastTextEntryDialog obj = objectCast obj---downcastTextValidator :: TextValidator a -> TextValidator ()-downcastTextValidator obj = objectCast obj---downcastThinSplitterWindow :: ThinSplitterWindow a -> ThinSplitterWindow ()-downcastThinSplitterWindow obj = objectCast obj---downcastTime :: Time a -> Time ()-downcastTime obj = objectCast obj---downcastTimer :: Timer a -> Timer ()-downcastTimer obj = objectCast obj---downcastTimerBase :: TimerBase a -> TimerBase ()-downcastTimerBase obj = objectCast obj---downcastTimerEvent :: TimerEvent a -> TimerEvent ()-downcastTimerEvent obj = objectCast obj---downcastTimerEx :: TimerEx a -> TimerEx ()-downcastTimerEx obj = objectCast obj---downcastTipWindow :: TipWindow a -> TipWindow ()-downcastTipWindow obj = objectCast obj---downcastToggleButton :: ToggleButton a -> ToggleButton ()-downcastToggleButton obj = objectCast obj---downcastToolBar :: ToolBar a -> ToolBar ()-downcastToolBar obj = objectCast obj---downcastToolBarBase :: ToolBarBase a -> ToolBarBase ()-downcastToolBarBase obj = objectCast obj---downcastToolLayoutItem :: ToolLayoutItem a -> ToolLayoutItem ()-downcastToolLayoutItem obj = objectCast obj---downcastToolTip :: ToolTip a -> ToolTip ()-downcastToolTip obj = objectCast obj---downcastToolWindow :: ToolWindow a -> ToolWindow ()-downcastToolWindow obj = objectCast obj---downcastTopLevelWindow :: TopLevelWindow a -> TopLevelWindow ()-downcastTopLevelWindow obj = objectCast obj---downcastTreeCompanionWindow :: TreeCompanionWindow a -> TreeCompanionWindow ()-downcastTreeCompanionWindow obj = objectCast obj---downcastTreeCtrl :: TreeCtrl a -> TreeCtrl ()-downcastTreeCtrl obj = objectCast obj---downcastTreeEvent :: TreeEvent a -> TreeEvent ()-downcastTreeEvent obj = objectCast obj---downcastTreeLayout :: TreeLayout a -> TreeLayout ()-downcastTreeLayout obj = objectCast obj---downcastTreeLayoutStored :: TreeLayoutStored a -> TreeLayoutStored ()-downcastTreeLayoutStored obj = objectCast obj---downcastUpdateUIEvent :: UpdateUIEvent a -> UpdateUIEvent ()-downcastUpdateUIEvent obj = objectCast obj---downcastURL :: URL a -> URL ()-downcastURL obj = objectCast obj---downcastValidator :: Validator a -> Validator ()-downcastValidator obj = objectCast obj---downcastVariant :: Variant a -> Variant ()-downcastVariant obj = objectCast obj---downcastVariantData :: VariantData a -> VariantData ()-downcastVariantData obj = objectCast obj---downcastView :: View a -> View ()-downcastView obj = objectCast obj---downcastWindow :: Window a -> Window ()-downcastWindow obj = objectCast obj---downcastWindowCreateEvent :: WindowCreateEvent a -> WindowCreateEvent ()-downcastWindowCreateEvent obj = objectCast obj---downcastWindowDC :: WindowDC a -> WindowDC ()-downcastWindowDC obj = objectCast obj---downcastWindowDestroyEvent :: WindowDestroyEvent a -> WindowDestroyEvent ()-downcastWindowDestroyEvent obj = objectCast obj---downcastWizard :: Wizard a -> Wizard ()-downcastWizard obj = objectCast obj---downcastWizardEvent :: WizardEvent a -> WizardEvent ()-downcastWizardEvent obj = objectCast obj---downcastWizardPage :: WizardPage a -> WizardPage ()-downcastWizardPage obj = objectCast obj---downcastWizardPageSimple :: WizardPageSimple a -> WizardPageSimple ()-downcastWizardPageSimple obj = objectCast obj---downcastWXCApp :: WXCApp a -> WXCApp ()-downcastWXCApp obj = objectCast obj---downcastWXCArtProv :: WXCArtProv a -> WXCArtProv ()-downcastWXCArtProv obj = objectCast obj---downcastWXCClient :: WXCClient a -> WXCClient ()-downcastWXCClient obj = objectCast obj---downcastWXCCommand :: WXCCommand a -> WXCCommand ()-downcastWXCCommand obj = objectCast obj---downcastWXCConnection :: WXCConnection a -> WXCConnection ()-downcastWXCConnection obj = objectCast obj---downcastWXCGridTable :: WXCGridTable a -> WXCGridTable ()-downcastWXCGridTable obj = objectCast obj---downcastWXCHtmlEvent :: WXCHtmlEvent a -> WXCHtmlEvent ()-downcastWXCHtmlEvent obj = objectCast obj---downcastWXCHtmlWindow :: WXCHtmlWindow a -> WXCHtmlWindow ()-downcastWXCHtmlWindow obj = objectCast obj---downcastWXCPlotCurve :: WXCPlotCurve a -> WXCPlotCurve ()-downcastWXCPlotCurve obj = objectCast obj---downcastWXCPreviewControlBar :: WXCPreviewControlBar a -> WXCPreviewControlBar ()-downcastWXCPreviewControlBar obj = objectCast obj---downcastWXCPreviewFrame :: WXCPreviewFrame a -> WXCPreviewFrame ()-downcastWXCPreviewFrame obj = objectCast obj---downcastWXCPrintEvent :: WXCPrintEvent a -> WXCPrintEvent ()-downcastWXCPrintEvent obj = objectCast obj---downcastWXCPrintout :: WXCPrintout a -> WXCPrintout ()-downcastWXCPrintout obj = objectCast obj---downcastWXCPrintoutHandler :: WXCPrintoutHandler a -> WXCPrintoutHandler ()-downcastWXCPrintoutHandler obj = objectCast obj---downcastWXCServer :: WXCServer a -> WXCServer ()-downcastWXCServer obj = objectCast obj---downcastWXCTextValidator :: WXCTextValidator a -> WXCTextValidator ()-downcastWXCTextValidator obj = objectCast obj---downcastWxObject :: WxObject a -> WxObject ()-downcastWxObject obj = objectCast obj---downcastXmlResource :: XmlResource a -> XmlResource ()-downcastXmlResource obj = objectCast obj---downcastXmlResourceHandler :: XmlResourceHandler a -> XmlResourceHandler ()-downcastXmlResourceHandler obj = objectCast obj--+{-# OPTIONS_HADDOCK prune #-}
+--------------------------------------------------------------------------------
+{-|
+Module      :  WxcClassInfo
+Copyright   :  Copyright (c) Daan Leijen 2003, 2004
+License     :  wxWindows
+
+Maintainer  :  wxhaskell-devel@lists.sourceforge.net
+Stability   :  provisional
+Portability :  portable
+
+Haskell class info definitions for the wxWidgets C library (@wxc.dll@).
+
+Do not edit this file manually!
+This file was automatically generated by wxDirect.
+
+And contains 406 class info definitions.
+-}
+--------------------------------------------------------------------------------
+module Graphics.UI.WXCore.WxcClassInfo
+    ( -- * Class Info
+      ClassType, classInfo, instanceOf, instanceOfName
+      -- * Safe casts
+    , safeCast, ifInstanceOf, whenInstanceOf, whenValidInstanceOf
+      -- * Class Types
+     ,classActivateEvent
+     ,classApp
+     ,classArtProvider
+     ,classAuiManager
+     ,classAuiManagerEvent
+     ,classAuiNotebook
+     ,classAuiNotebookEvent
+     ,classAuiTabCtrl
+     ,classAuiToolBar
+     ,classAuiToolBarEvent
+     ,classAutoBufferedPaintDC
+     ,classAutomationObject
+     ,classBitmap
+     ,classBitmapButton
+     ,classBitmapHandler
+     ,classBitmapToggleButton
+     ,classBookCtrlBase
+     ,classBookCtrlEvent
+     ,classBoolProperty
+     ,classBoxSizer
+     ,classBrush
+     ,classBrushList
+     ,classBufferedDC
+     ,classBufferedPaintDC
+     ,classButton
+     ,classCalculateLayoutEvent
+     ,classCalendarCtrl
+     ,classCalendarEvent
+     ,classCbAntiflickerPlugin
+     ,classCbBarDragPlugin
+     ,classCbBarHintsPlugin
+     ,classCbBarInfo
+     ,classCbBarSpy
+     ,classCbCloseBox
+     ,classCbCollapseBox
+     ,classCbCommonPaneProperties
+     ,classCbCustomizeBarEvent
+     ,classCbCustomizeLayoutEvent
+     ,classCbDimHandlerBase
+     ,classCbDimInfo
+     ,classCbDockBox
+     ,classCbDockPane
+     ,classCbDrawBarDecorEvent
+     ,classCbDrawBarHandlesEvent
+     ,classCbDrawHintRectEvent
+     ,classCbDrawPaneBkGroundEvent
+     ,classCbDrawPaneDecorEvent
+     ,classCbDrawRowBkGroundEvent
+     ,classCbDrawRowDecorEvent
+     ,classCbDrawRowHandlesEvent
+     ,classCbDynToolBarDimHandler
+     ,classCbFinishDrawInAreaEvent
+     ,classCbFloatedBarWindow
+     ,classCbGCUpdatesMgr
+     ,classCbHintAnimationPlugin
+     ,classCbInsertBarEvent
+     ,classCbLayoutRowEvent
+     ,classCbLeftDClickEvent
+     ,classCbLeftDownEvent
+     ,classCbLeftUpEvent
+     ,classCbMiniButton
+     ,classCbMotionEvent
+     ,classCbPaneDrawPlugin
+     ,classCbPluginBase
+     ,classCbPluginEvent
+     ,classCbRemoveBarEvent
+     ,classCbResizeBarEvent
+     ,classCbResizeRowEvent
+     ,classCbRightDownEvent
+     ,classCbRightUpEvent
+     ,classCbRowDragPlugin
+     ,classCbRowInfo
+     ,classCbRowLayoutPlugin
+     ,classCbSimpleCustomizationPlugin
+     ,classCbSimpleUpdatesMgr
+     ,classCbSizeBarWndEvent
+     ,classCbStartBarDraggingEvent
+     ,classCbStartDrawInAreaEvent
+     ,classCbUpdatesManagerBase
+     ,classCheckBox
+     ,classCheckListBox
+     ,classChoice
+     ,classClient
+     ,classClientBase
+     ,classClientDC
+     ,classClipboard
+     ,classCloseEvent
+     ,classClosure
+     ,classColour
+     ,classColourData
+     ,classColourDatabase
+     ,classColourDialog
+     ,classColourPickerCtrl
+     ,classComboBox
+     ,classCommand
+     ,classCommandEvent
+     ,classCommandProcessor
+     ,classConnection
+     ,classConnectionBase
+     ,classContextHelp
+     ,classContextHelpButton
+     ,classControl
+     ,classCursor
+     ,classDatabase
+     ,classDateProperty
+     ,classDC
+     ,classDDEClient
+     ,classDDEConnection
+     ,classDDEServer
+     ,classDialog
+     ,classDialUpEvent
+     ,classDirDialog
+     ,classDocChildFrame
+     ,classDocManager
+     ,classDocMDIChildFrame
+     ,classDocMDIParentFrame
+     ,classDocParentFrame
+     ,classDocTemplate
+     ,classDocument
+     ,classDragImage
+     ,classDrawControl
+     ,classDrawWindow
+     ,classDropFilesEvent
+     ,classDynamicSashWindow
+     ,classDynamicToolBar
+     ,classDynToolInfo
+     ,classEditableListBox
+     ,classEncodingConverter
+     ,classEraseEvent
+     ,classEvent
+     ,classEvtHandler
+     ,classExprDatabase
+     ,classFileDialog
+     ,classFileHistory
+     ,classFileProperty
+     ,classFileSystem
+     ,classFileSystemHandler
+     ,classFindDialogEvent
+     ,classFindReplaceData
+     ,classFindReplaceDialog
+     ,classFlexGridSizer
+     ,classFloatProperty
+     ,classFocusEvent
+     ,classFont
+     ,classFontData
+     ,classFontDialog
+     ,classFontList
+     ,classFrame
+     ,classFrameLayout
+     ,classFSFile
+     ,classFTP
+     ,classGauge
+     ,classGauge95
+     ,classGaugeMSW
+     ,classGCDC
+     ,classGDIObject
+     ,classGenericDirCtrl
+     ,classGenericDragImage
+     ,classGenericValidator
+     ,classGLCanvas
+     ,classGLContext
+     ,classGraphicsBrush
+     ,classGraphicsContext
+     ,classGraphicsFont
+     ,classGraphicsMatrix
+     ,classGraphicsObject
+     ,classGraphicsPath
+     ,classGraphicsPen
+     ,classGraphicsRenderer
+     ,classGrid
+     ,classGridEditorCreatedEvent
+     ,classGridEvent
+     ,classGridRangeSelectEvent
+     ,classGridSizeEvent
+     ,classGridSizer
+     ,classGridTableBase
+     ,classHelpController
+     ,classHelpControllerBase
+     ,classHelpEvent
+     ,classHtmlCell
+     ,classHtmlColourCell
+     ,classHtmlContainerCell
+     ,classHtmlDCRenderer
+     ,classHtmlEasyPrinting
+     ,classHtmlFilter
+     ,classHtmlHelpController
+     ,classHtmlHelpData
+     ,classHtmlHelpFrame
+     ,classHtmlLinkInfo
+     ,classHtmlParser
+     ,classHtmlPrintout
+     ,classHtmlTag
+     ,classHtmlTagHandler
+     ,classHtmlTagsModule
+     ,classHtmlWidgetCell
+     ,classHtmlWindow
+     ,classHtmlWinParser
+     ,classHtmlWinTagHandler
+     ,classHTTP
+     ,classHyperlinkCtrl
+     ,classIcon
+     ,classIconizeEvent
+     ,classIdleEvent
+     ,classImage
+     ,classImageHandler
+     ,classImageList
+     ,classIndividualLayoutConstraint
+     ,classInitDialogEvent
+     ,classInputSinkEvent
+     ,classIntProperty
+     ,classIPV4address
+     ,classJoystick
+     ,classJoystickEvent
+     ,classKeyEvent
+     ,classLayoutAlgorithm
+     ,classLayoutConstraints
+     ,classLEDNumberCtrl
+     ,classList
+     ,classListBox
+     ,classListCtrl
+     ,classListEvent
+     ,classListItem
+     ,classMask
+     ,classMaximizeEvent
+     ,classMDIChildFrame
+     ,classMDIClientWindow
+     ,classMDIParentFrame
+     ,classMediaCtrl
+     ,classMediaEvent
+     ,classMemoryDC
+     ,classMemoryFSHandler
+     ,classMenu
+     ,classMenuBar
+     ,classMenuEvent
+     ,classMenuItem
+     ,classMessageDialog
+     ,classMetafile
+     ,classMetafileDC
+     ,classMiniFrame
+     ,classMirrorDC
+     ,classModule
+     ,classMouseCaptureChangedEvent
+     ,classMouseEvent
+     ,classMoveEvent
+     ,classMultiCellCanvas
+     ,classMultiCellItemHandle
+     ,classMultiCellSizer
+     ,classNavigationKeyEvent
+     ,classNewBitmapButton
+     ,classNotebook
+     ,classNotebookEvent
+     ,classNotifyEvent
+     ,classPageSetupDialog
+     ,classPageSetupDialogData
+     ,classPaintDC
+     ,classPaintEvent
+     ,classPalette
+     ,classPaletteChangedEvent
+     ,classPanel
+     ,classPathList
+     ,classPen
+     ,classPenList
+     ,classPGProperty
+     ,classPickerBase
+     ,classPlotCurve
+     ,classPlotEvent
+     ,classPlotOnOffCurve
+     ,classPlotWindow
+     ,classPopupTransientWindow
+     ,classPopupWindow
+     ,classPostScriptDC
+     ,classPostScriptPrintNativeData
+     ,classPreviewCanvas
+     ,classPreviewControlBar
+     ,classPreviewFrame
+     ,classPrintData
+     ,classPrintDialog
+     ,classPrintDialogData
+     ,classPrinter
+     ,classPrinterDC
+     ,classPrintout
+     ,classPrintPreview
+     ,classProcess
+     ,classProcessEvent
+     ,classProgressDialog
+     ,classPropertyCategory
+     ,classPropertyGrid
+     ,classPropertyGridEvent
+     ,classProtocol
+     ,classQuantize
+     ,classQueryCol
+     ,classQueryField
+     ,classQueryLayoutInfoEvent
+     ,classQueryNewPaletteEvent
+     ,classRadioBox
+     ,classRadioButton
+     ,classRecordSet
+     ,classRegion
+     ,classRegionIterator
+     ,classRemotelyScrolledTreeCtrl
+     ,classSashEvent
+     ,classSashLayoutWindow
+     ,classSashWindow
+     ,classScreenDC
+     ,classScrollBar
+     ,classScrolledWindow
+     ,classScrollEvent
+     ,classScrollWinEvent
+     ,classServer
+     ,classServerBase
+     ,classSetCursorEvent
+     ,classShowEvent
+     ,classSingleChoiceDialog
+     ,classSizeEvent
+     ,classSizer
+     ,classSizerItem
+     ,classSlider
+     ,classSlider95
+     ,classSliderMSW
+     ,classSockAddress
+     ,classSocketBase
+     ,classSocketClient
+     ,classSocketEvent
+     ,classSocketServer
+     ,classSound
+     ,classSpinButton
+     ,classSpinCtrl
+     ,classSpinEvent
+     ,classSplashScreen
+     ,classSplitterEvent
+     ,classSplitterScrolledWindow
+     ,classSplitterWindow
+     ,classStaticBitmap
+     ,classStaticBox
+     ,classStaticBoxSizer
+     ,classStaticLine
+     ,classStaticText
+     ,classStatusBar
+     ,classStringList
+     ,classStringProperty
+     ,classStringTokenizer
+     ,classStyledTextCtrl
+     ,classStyledTextEvent
+     ,classSVGFileDC
+     ,classSysColourChangedEvent
+     ,classSystemOptions
+     ,classSystemSettings
+     ,classTabCtrl
+     ,classTabEvent
+     ,classTablesInUse
+     ,classTaskBarIcon
+     ,classTextCtrl
+     ,classTextEntryDialog
+     ,classTextValidator
+     ,classThinSplitterWindow
+     ,classTime
+     ,classTimer
+     ,classTimerBase
+     ,classTimerEvent
+     ,classTimerEx
+     ,classTipWindow
+     ,classToggleButton
+     ,classToolBar
+     ,classToolBarBase
+     ,classToolLayoutItem
+     ,classToolTip
+     ,classToolWindow
+     ,classTopLevelWindow
+     ,classTreeCompanionWindow
+     ,classTreeCtrl
+     ,classTreeEvent
+     ,classTreeLayout
+     ,classTreeLayoutStored
+     ,classUpdateUIEvent
+     ,classURL
+     ,classValidator
+     ,classVariant
+     ,classVariantData
+     ,classView
+     ,classWindow
+     ,classWindowCreateEvent
+     ,classWindowDC
+     ,classWindowDestroyEvent
+     ,classWizard
+     ,classWizardEvent
+     ,classWizardPage
+     ,classWizardPageSimple
+     ,classWXCApp
+     ,classWXCArtProv
+     ,classWXCClient
+     ,classWXCCommand
+     ,classWXCConnection
+     ,classWXCGridTable
+     ,classWXCHtmlEvent
+     ,classWXCHtmlWindow
+     ,classWXCPlotCurve
+     ,classWXCPreviewControlBar
+     ,classWXCPreviewFrame
+     ,classWXCPrintEvent
+     ,classWXCPrintout
+     ,classWXCPrintoutHandler
+     ,classWXCServer
+     ,classWXCTextValidator
+     ,classWxObject
+     ,classXmlResource
+     ,classXmlResourceHandler
+      -- * Down casts
+     ,downcastActivateEvent
+     ,downcastApp
+     ,downcastArtProvider
+     ,downcastAuiManager
+     ,downcastAuiManagerEvent
+     ,downcastAuiNotebook
+     ,downcastAuiNotebookEvent
+     ,downcastAuiTabCtrl
+     ,downcastAuiToolBar
+     ,downcastAuiToolBarEvent
+     ,downcastAutoBufferedPaintDC
+     ,downcastAutomationObject
+     ,downcastBitmap
+     ,downcastBitmapButton
+     ,downcastBitmapHandler
+     ,downcastBitmapToggleButton
+     ,downcastBookCtrlBase
+     ,downcastBookCtrlEvent
+     ,downcastBoolProperty
+     ,downcastBoxSizer
+     ,downcastBrush
+     ,downcastBrushList
+     ,downcastBufferedDC
+     ,downcastBufferedPaintDC
+     ,downcastButton
+     ,downcastCalculateLayoutEvent
+     ,downcastCalendarCtrl
+     ,downcastCalendarEvent
+     ,downcastCbAntiflickerPlugin
+     ,downcastCbBarDragPlugin
+     ,downcastCbBarHintsPlugin
+     ,downcastCbBarInfo
+     ,downcastCbBarSpy
+     ,downcastCbCloseBox
+     ,downcastCbCollapseBox
+     ,downcastCbCommonPaneProperties
+     ,downcastCbCustomizeBarEvent
+     ,downcastCbCustomizeLayoutEvent
+     ,downcastCbDimHandlerBase
+     ,downcastCbDimInfo
+     ,downcastCbDockBox
+     ,downcastCbDockPane
+     ,downcastCbDrawBarDecorEvent
+     ,downcastCbDrawBarHandlesEvent
+     ,downcastCbDrawHintRectEvent
+     ,downcastCbDrawPaneBkGroundEvent
+     ,downcastCbDrawPaneDecorEvent
+     ,downcastCbDrawRowBkGroundEvent
+     ,downcastCbDrawRowDecorEvent
+     ,downcastCbDrawRowHandlesEvent
+     ,downcastCbDynToolBarDimHandler
+     ,downcastCbFinishDrawInAreaEvent
+     ,downcastCbFloatedBarWindow
+     ,downcastCbGCUpdatesMgr
+     ,downcastCbHintAnimationPlugin
+     ,downcastCbInsertBarEvent
+     ,downcastCbLayoutRowEvent
+     ,downcastCbLeftDClickEvent
+     ,downcastCbLeftDownEvent
+     ,downcastCbLeftUpEvent
+     ,downcastCbMiniButton
+     ,downcastCbMotionEvent
+     ,downcastCbPaneDrawPlugin
+     ,downcastCbPluginBase
+     ,downcastCbPluginEvent
+     ,downcastCbRemoveBarEvent
+     ,downcastCbResizeBarEvent
+     ,downcastCbResizeRowEvent
+     ,downcastCbRightDownEvent
+     ,downcastCbRightUpEvent
+     ,downcastCbRowDragPlugin
+     ,downcastCbRowInfo
+     ,downcastCbRowLayoutPlugin
+     ,downcastCbSimpleCustomizationPlugin
+     ,downcastCbSimpleUpdatesMgr
+     ,downcastCbSizeBarWndEvent
+     ,downcastCbStartBarDraggingEvent
+     ,downcastCbStartDrawInAreaEvent
+     ,downcastCbUpdatesManagerBase
+     ,downcastCheckBox
+     ,downcastCheckListBox
+     ,downcastChoice
+     ,downcastClient
+     ,downcastClientBase
+     ,downcastClientDC
+     ,downcastClipboard
+     ,downcastCloseEvent
+     ,downcastClosure
+     ,downcastColour
+     ,downcastColourData
+     ,downcastColourDatabase
+     ,downcastColourDialog
+     ,downcastColourPickerCtrl
+     ,downcastComboBox
+     ,downcastCommand
+     ,downcastCommandEvent
+     ,downcastCommandProcessor
+     ,downcastConnection
+     ,downcastConnectionBase
+     ,downcastContextHelp
+     ,downcastContextHelpButton
+     ,downcastControl
+     ,downcastCursor
+     ,downcastDatabase
+     ,downcastDateProperty
+     ,downcastDC
+     ,downcastDDEClient
+     ,downcastDDEConnection
+     ,downcastDDEServer
+     ,downcastDialog
+     ,downcastDialUpEvent
+     ,downcastDirDialog
+     ,downcastDocChildFrame
+     ,downcastDocManager
+     ,downcastDocMDIChildFrame
+     ,downcastDocMDIParentFrame
+     ,downcastDocParentFrame
+     ,downcastDocTemplate
+     ,downcastDocument
+     ,downcastDragImage
+     ,downcastDrawControl
+     ,downcastDrawWindow
+     ,downcastDropFilesEvent
+     ,downcastDynamicSashWindow
+     ,downcastDynamicToolBar
+     ,downcastDynToolInfo
+     ,downcastEditableListBox
+     ,downcastEncodingConverter
+     ,downcastEraseEvent
+     ,downcastEvent
+     ,downcastEvtHandler
+     ,downcastExprDatabase
+     ,downcastFileDialog
+     ,downcastFileHistory
+     ,downcastFileProperty
+     ,downcastFileSystem
+     ,downcastFileSystemHandler
+     ,downcastFindDialogEvent
+     ,downcastFindReplaceData
+     ,downcastFindReplaceDialog
+     ,downcastFlexGridSizer
+     ,downcastFloatProperty
+     ,downcastFocusEvent
+     ,downcastFont
+     ,downcastFontData
+     ,downcastFontDialog
+     ,downcastFontList
+     ,downcastFrame
+     ,downcastFrameLayout
+     ,downcastFSFile
+     ,downcastFTP
+     ,downcastGauge
+     ,downcastGauge95
+     ,downcastGaugeMSW
+     ,downcastGCDC
+     ,downcastGDIObject
+     ,downcastGenericDirCtrl
+     ,downcastGenericDragImage
+     ,downcastGenericValidator
+     ,downcastGLCanvas
+     ,downcastGLContext
+     ,downcastGraphicsBrush
+     ,downcastGraphicsContext
+     ,downcastGraphicsFont
+     ,downcastGraphicsMatrix
+     ,downcastGraphicsObject
+     ,downcastGraphicsPath
+     ,downcastGraphicsPen
+     ,downcastGraphicsRenderer
+     ,downcastGrid
+     ,downcastGridEditorCreatedEvent
+     ,downcastGridEvent
+     ,downcastGridRangeSelectEvent
+     ,downcastGridSizeEvent
+     ,downcastGridSizer
+     ,downcastGridTableBase
+     ,downcastHelpController
+     ,downcastHelpControllerBase
+     ,downcastHelpEvent
+     ,downcastHtmlCell
+     ,downcastHtmlColourCell
+     ,downcastHtmlContainerCell
+     ,downcastHtmlDCRenderer
+     ,downcastHtmlEasyPrinting
+     ,downcastHtmlFilter
+     ,downcastHtmlHelpController
+     ,downcastHtmlHelpData
+     ,downcastHtmlHelpFrame
+     ,downcastHtmlLinkInfo
+     ,downcastHtmlParser
+     ,downcastHtmlPrintout
+     ,downcastHtmlTag
+     ,downcastHtmlTagHandler
+     ,downcastHtmlTagsModule
+     ,downcastHtmlWidgetCell
+     ,downcastHtmlWindow
+     ,downcastHtmlWinParser
+     ,downcastHtmlWinTagHandler
+     ,downcastHTTP
+     ,downcastHyperlinkCtrl
+     ,downcastIcon
+     ,downcastIconizeEvent
+     ,downcastIdleEvent
+     ,downcastImage
+     ,downcastImageHandler
+     ,downcastImageList
+     ,downcastIndividualLayoutConstraint
+     ,downcastInitDialogEvent
+     ,downcastInputSinkEvent
+     ,downcastIntProperty
+     ,downcastIPV4address
+     ,downcastJoystick
+     ,downcastJoystickEvent
+     ,downcastKeyEvent
+     ,downcastLayoutAlgorithm
+     ,downcastLayoutConstraints
+     ,downcastLEDNumberCtrl
+     ,downcastList
+     ,downcastListBox
+     ,downcastListCtrl
+     ,downcastListEvent
+     ,downcastListItem
+     ,downcastMask
+     ,downcastMaximizeEvent
+     ,downcastMDIChildFrame
+     ,downcastMDIClientWindow
+     ,downcastMDIParentFrame
+     ,downcastMediaCtrl
+     ,downcastMediaEvent
+     ,downcastMemoryDC
+     ,downcastMemoryFSHandler
+     ,downcastMenu
+     ,downcastMenuBar
+     ,downcastMenuEvent
+     ,downcastMenuItem
+     ,downcastMessageDialog
+     ,downcastMetafile
+     ,downcastMetafileDC
+     ,downcastMiniFrame
+     ,downcastMirrorDC
+     ,downcastModule
+     ,downcastMouseCaptureChangedEvent
+     ,downcastMouseEvent
+     ,downcastMoveEvent
+     ,downcastMultiCellCanvas
+     ,downcastMultiCellItemHandle
+     ,downcastMultiCellSizer
+     ,downcastNavigationKeyEvent
+     ,downcastNewBitmapButton
+     ,downcastNotebook
+     ,downcastNotebookEvent
+     ,downcastNotifyEvent
+     ,downcastPageSetupDialog
+     ,downcastPageSetupDialogData
+     ,downcastPaintDC
+     ,downcastPaintEvent
+     ,downcastPalette
+     ,downcastPaletteChangedEvent
+     ,downcastPanel
+     ,downcastPathList
+     ,downcastPen
+     ,downcastPenList
+     ,downcastPGProperty
+     ,downcastPickerBase
+     ,downcastPlotCurve
+     ,downcastPlotEvent
+     ,downcastPlotOnOffCurve
+     ,downcastPlotWindow
+     ,downcastPopupTransientWindow
+     ,downcastPopupWindow
+     ,downcastPostScriptDC
+     ,downcastPostScriptPrintNativeData
+     ,downcastPreviewCanvas
+     ,downcastPreviewControlBar
+     ,downcastPreviewFrame
+     ,downcastPrintData
+     ,downcastPrintDialog
+     ,downcastPrintDialogData
+     ,downcastPrinter
+     ,downcastPrinterDC
+     ,downcastPrintout
+     ,downcastPrintPreview
+     ,downcastProcess
+     ,downcastProcessEvent
+     ,downcastProgressDialog
+     ,downcastPropertyCategory
+     ,downcastPropertyGrid
+     ,downcastPropertyGridEvent
+     ,downcastProtocol
+     ,downcastQuantize
+     ,downcastQueryCol
+     ,downcastQueryField
+     ,downcastQueryLayoutInfoEvent
+     ,downcastQueryNewPaletteEvent
+     ,downcastRadioBox
+     ,downcastRadioButton
+     ,downcastRecordSet
+     ,downcastRegion
+     ,downcastRegionIterator
+     ,downcastRemotelyScrolledTreeCtrl
+     ,downcastSashEvent
+     ,downcastSashLayoutWindow
+     ,downcastSashWindow
+     ,downcastScreenDC
+     ,downcastScrollBar
+     ,downcastScrolledWindow
+     ,downcastScrollEvent
+     ,downcastScrollWinEvent
+     ,downcastServer
+     ,downcastServerBase
+     ,downcastSetCursorEvent
+     ,downcastShowEvent
+     ,downcastSingleChoiceDialog
+     ,downcastSizeEvent
+     ,downcastSizer
+     ,downcastSizerItem
+     ,downcastSlider
+     ,downcastSlider95
+     ,downcastSliderMSW
+     ,downcastSockAddress
+     ,downcastSocketBase
+     ,downcastSocketClient
+     ,downcastSocketEvent
+     ,downcastSocketServer
+     ,downcastSound
+     ,downcastSpinButton
+     ,downcastSpinCtrl
+     ,downcastSpinEvent
+     ,downcastSplashScreen
+     ,downcastSplitterEvent
+     ,downcastSplitterScrolledWindow
+     ,downcastSplitterWindow
+     ,downcastStaticBitmap
+     ,downcastStaticBox
+     ,downcastStaticBoxSizer
+     ,downcastStaticLine
+     ,downcastStaticText
+     ,downcastStatusBar
+     ,downcastStringList
+     ,downcastStringProperty
+     ,downcastStringTokenizer
+     ,downcastStyledTextCtrl
+     ,downcastStyledTextEvent
+     ,downcastSVGFileDC
+     ,downcastSysColourChangedEvent
+     ,downcastSystemOptions
+     ,downcastSystemSettings
+     ,downcastTabCtrl
+     ,downcastTabEvent
+     ,downcastTablesInUse
+     ,downcastTaskBarIcon
+     ,downcastTextCtrl
+     ,downcastTextEntryDialog
+     ,downcastTextValidator
+     ,downcastThinSplitterWindow
+     ,downcastTime
+     ,downcastTimer
+     ,downcastTimerBase
+     ,downcastTimerEvent
+     ,downcastTimerEx
+     ,downcastTipWindow
+     ,downcastToggleButton
+     ,downcastToolBar
+     ,downcastToolBarBase
+     ,downcastToolLayoutItem
+     ,downcastToolTip
+     ,downcastToolWindow
+     ,downcastTopLevelWindow
+     ,downcastTreeCompanionWindow
+     ,downcastTreeCtrl
+     ,downcastTreeEvent
+     ,downcastTreeLayout
+     ,downcastTreeLayoutStored
+     ,downcastUpdateUIEvent
+     ,downcastURL
+     ,downcastValidator
+     ,downcastVariant
+     ,downcastVariantData
+     ,downcastView
+     ,downcastWindow
+     ,downcastWindowCreateEvent
+     ,downcastWindowDC
+     ,downcastWindowDestroyEvent
+     ,downcastWizard
+     ,downcastWizardEvent
+     ,downcastWizardPage
+     ,downcastWizardPageSimple
+     ,downcastWXCApp
+     ,downcastWXCArtProv
+     ,downcastWXCClient
+     ,downcastWXCCommand
+     ,downcastWXCConnection
+     ,downcastWXCGridTable
+     ,downcastWXCHtmlEvent
+     ,downcastWXCHtmlWindow
+     ,downcastWXCPlotCurve
+     ,downcastWXCPreviewControlBar
+     ,downcastWXCPreviewFrame
+     ,downcastWXCPrintEvent
+     ,downcastWXCPrintout
+     ,downcastWXCPrintoutHandler
+     ,downcastWXCServer
+     ,downcastWXCTextValidator
+     ,downcastWxObject
+     ,downcastXmlResource
+     ,downcastXmlResourceHandler
+    ) where
+
+import System.IO.Unsafe( unsafePerformIO )
+import Graphics.UI.WXCore.WxcClassTypes
+import Graphics.UI.WXCore.WxcTypes
+import Graphics.UI.WXCore.WxcClasses
+
+-- | The type of a class.
+data ClassType a = ClassType (ClassInfo ())
+
+-- | Return the 'ClassInfo' belonging to a class type. (Do not delete this object, it is statically allocated)
+{-# NOINLINE classInfo #-}
+classInfo :: ClassType a -> ClassInfo ()
+classInfo (ClassType info) = info
+
+-- | Test if an object is of a certain kind. (Returns also 'True' when the object is null.)
+{-# NOINLINE instanceOf #-}
+instanceOf :: WxObject b -> ClassType a -> Bool
+instanceOf obj (ClassType classInfo') 
+  = if (objectIsNull obj)
+     then True
+     else unsafePerformIO (objectIsKindOf obj classInfo')
+
+-- | Test if an object is of a certain kind, based on a full wxWidgets class name. (Use with care).
+{-# NOINLINE instanceOfName #-}
+instanceOfName :: WxObject a -> String -> Bool
+instanceOfName obj className 
+  = if (objectIsNull obj)
+     then True
+     else unsafePerformIO (
+          do classInfo'   <- classInfoFindClass className
+             if (objectIsNull classInfo')
+              then return False
+              else objectIsKindOf obj classInfo')
+
+-- | A safe object cast. Returns 'Nothing' if the object is of the wrong type. Note that a null object can always be cast.
+safeCast :: WxObject b -> ClassType (WxObject a) -> Maybe (WxObject a)
+safeCast obj classType
+  | instanceOf obj classType = Just (objectCast obj)
+  | otherwise                = Nothing
+
+-- | Perform an action when the object has the right type /and/ is not null.
+whenValidInstanceOf :: WxObject a -> ClassType (WxObject b) -> (WxObject b -> IO ()) -> IO ()
+whenValidInstanceOf obj classType f
+  = whenInstanceOf obj classType $ \object ->
+    if (object==objectNull) then return () else f object
+
+-- | Perform an action when the object has the right kind. Note that a null object has always the right kind.
+whenInstanceOf :: WxObject a -> ClassType (WxObject b) -> (WxObject b -> IO ()) -> IO ()
+whenInstanceOf obj classType f
+  = ifInstanceOf obj classType f (return ())
+
+-- | Perform an action when the object has the right kind. Perform the default action if the kind is not correct. Note that a null object has always the right kind.
+ifInstanceOf :: WxObject a -> ClassType (WxObject b) -> (WxObject b -> c) -> c -> c
+ifInstanceOf obj classType yes no
+  = case safeCast obj classType of
+      Just object -> yes object
+      Nothing     -> no
+
+{-# NOINLINE classActivateEvent #-}
+classActivateEvent :: ClassType (ActivateEvent ())
+classActivateEvent = ClassType (unsafePerformIO (classInfoFindClass "wxActivateEvent"))
+
+
+{-# NOINLINE classApp #-}
+classApp :: ClassType (App ())
+classApp = ClassType (unsafePerformIO (classInfoFindClass "wxApp"))
+
+
+{-# NOINLINE classArtProvider #-}
+classArtProvider :: ClassType (ArtProvider ())
+classArtProvider = ClassType (unsafePerformIO (classInfoFindClass "wxArtProvider"))
+
+
+{-# NOINLINE classAuiManager #-}
+classAuiManager :: ClassType (AuiManager ())
+classAuiManager = ClassType (unsafePerformIO (classInfoFindClass "wxAuiManager"))
+
+
+{-# NOINLINE classAuiManagerEvent #-}
+classAuiManagerEvent :: ClassType (AuiManagerEvent ())
+classAuiManagerEvent = ClassType (unsafePerformIO (classInfoFindClass "wxAuiManagerEvent"))
+
+
+{-# NOINLINE classAuiNotebook #-}
+classAuiNotebook :: ClassType (AuiNotebook ())
+classAuiNotebook = ClassType (unsafePerformIO (classInfoFindClass "wxAuiNotebook"))
+
+
+{-# NOINLINE classAuiNotebookEvent #-}
+classAuiNotebookEvent :: ClassType (AuiNotebookEvent ())
+classAuiNotebookEvent = ClassType (unsafePerformIO (classInfoFindClass "wxAuiNotebookEvent"))
+
+
+{-# NOINLINE classAuiTabCtrl #-}
+classAuiTabCtrl :: ClassType (AuiTabCtrl ())
+classAuiTabCtrl = ClassType (unsafePerformIO (classInfoFindClass "wxAuiTabCtrl"))
+
+
+{-# NOINLINE classAuiToolBar #-}
+classAuiToolBar :: ClassType (AuiToolBar ())
+classAuiToolBar = ClassType (unsafePerformIO (classInfoFindClass "wxAuiToolBar"))
+
+
+{-# NOINLINE classAuiToolBarEvent #-}
+classAuiToolBarEvent :: ClassType (AuiToolBarEvent ())
+classAuiToolBarEvent = ClassType (unsafePerformIO (classInfoFindClass "wxAuiToolBarEvent"))
+
+
+{-# NOINLINE classAutoBufferedPaintDC #-}
+classAutoBufferedPaintDC :: ClassType (AutoBufferedPaintDC ())
+classAutoBufferedPaintDC = ClassType (unsafePerformIO (classInfoFindClass "wxAutoBufferedPaintDC"))
+
+
+{-# NOINLINE classAutomationObject #-}
+classAutomationObject :: ClassType (AutomationObject ())
+classAutomationObject = ClassType (unsafePerformIO (classInfoFindClass "wxAutomationObject"))
+
+
+{-# NOINLINE classBitmap #-}
+classBitmap :: ClassType (Bitmap ())
+classBitmap = ClassType (unsafePerformIO (classInfoFindClass "wxBitmap"))
+
+
+{-# NOINLINE classBitmapButton #-}
+classBitmapButton :: ClassType (BitmapButton ())
+classBitmapButton = ClassType (unsafePerformIO (classInfoFindClass "wxBitmapButton"))
+
+
+{-# NOINLINE classBitmapHandler #-}
+classBitmapHandler :: ClassType (BitmapHandler ())
+classBitmapHandler = ClassType (unsafePerformIO (classInfoFindClass "wxBitmapHandler"))
+
+
+{-# NOINLINE classBitmapToggleButton #-}
+classBitmapToggleButton :: ClassType (BitmapToggleButton ())
+classBitmapToggleButton = ClassType (unsafePerformIO (classInfoFindClass "wxBitmapToggleButton"))
+
+
+{-# NOINLINE classBookCtrlBase #-}
+classBookCtrlBase :: ClassType (BookCtrlBase ())
+classBookCtrlBase = ClassType (unsafePerformIO (classInfoFindClass "wxBookCtrlBase"))
+
+
+{-# NOINLINE classBookCtrlEvent #-}
+classBookCtrlEvent :: ClassType (BookCtrlEvent ())
+classBookCtrlEvent = ClassType (unsafePerformIO (classInfoFindClass "wxBookCtrlEvent"))
+
+
+{-# NOINLINE classBoolProperty #-}
+classBoolProperty :: ClassType (BoolProperty ())
+classBoolProperty = ClassType (unsafePerformIO (classInfoFindClass "wxBoolProperty"))
+
+
+{-# NOINLINE classBoxSizer #-}
+classBoxSizer :: ClassType (BoxSizer ())
+classBoxSizer = ClassType (unsafePerformIO (classInfoFindClass "wxBoxSizer"))
+
+
+{-# NOINLINE classBrush #-}
+classBrush :: ClassType (Brush ())
+classBrush = ClassType (unsafePerformIO (classInfoFindClass "wxBrush"))
+
+
+{-# NOINLINE classBrushList #-}
+classBrushList :: ClassType (BrushList ())
+classBrushList = ClassType (unsafePerformIO (classInfoFindClass "wxBrushList"))
+
+
+{-# NOINLINE classBufferedDC #-}
+classBufferedDC :: ClassType (BufferedDC ())
+classBufferedDC = ClassType (unsafePerformIO (classInfoFindClass "wxBufferedDC"))
+
+
+{-# NOINLINE classBufferedPaintDC #-}
+classBufferedPaintDC :: ClassType (BufferedPaintDC ())
+classBufferedPaintDC = ClassType (unsafePerformIO (classInfoFindClass "wxBufferedPaintDC"))
+
+
+{-# NOINLINE classButton #-}
+classButton :: ClassType (Button ())
+classButton = ClassType (unsafePerformIO (classInfoFindClass "wxButton"))
+
+
+{-# NOINLINE classCalculateLayoutEvent #-}
+classCalculateLayoutEvent :: ClassType (CalculateLayoutEvent ())
+classCalculateLayoutEvent = ClassType (unsafePerformIO (classInfoFindClass "wxCalculateLayoutEvent"))
+
+
+{-# NOINLINE classCalendarCtrl #-}
+classCalendarCtrl :: ClassType (CalendarCtrl ())
+classCalendarCtrl = ClassType (unsafePerformIO (classInfoFindClass "wxCalendarCtrl"))
+
+
+{-# NOINLINE classCalendarEvent #-}
+classCalendarEvent :: ClassType (CalendarEvent ())
+classCalendarEvent = ClassType (unsafePerformIO (classInfoFindClass "wxCalendarEvent"))
+
+
+{-# NOINLINE classCbAntiflickerPlugin #-}
+classCbAntiflickerPlugin :: ClassType (CbAntiflickerPlugin ())
+classCbAntiflickerPlugin = ClassType (unsafePerformIO (classInfoFindClass "cbAntiflickerPlugin"))
+
+
+{-# NOINLINE classCbBarDragPlugin #-}
+classCbBarDragPlugin :: ClassType (CbBarDragPlugin ())
+classCbBarDragPlugin = ClassType (unsafePerformIO (classInfoFindClass "cbBarDragPlugin"))
+
+
+{-# NOINLINE classCbBarHintsPlugin #-}
+classCbBarHintsPlugin :: ClassType (CbBarHintsPlugin ())
+classCbBarHintsPlugin = ClassType (unsafePerformIO (classInfoFindClass "cbBarHintsPlugin"))
+
+
+{-# NOINLINE classCbBarInfo #-}
+classCbBarInfo :: ClassType (CbBarInfo ())
+classCbBarInfo = ClassType (unsafePerformIO (classInfoFindClass "cbBarInfo"))
+
+
+{-# NOINLINE classCbBarSpy #-}
+classCbBarSpy :: ClassType (CbBarSpy ())
+classCbBarSpy = ClassType (unsafePerformIO (classInfoFindClass "cbBarSpy"))
+
+
+{-# NOINLINE classCbCloseBox #-}
+classCbCloseBox :: ClassType (CbCloseBox ())
+classCbCloseBox = ClassType (unsafePerformIO (classInfoFindClass "cbCloseBox"))
+
+
+{-# NOINLINE classCbCollapseBox #-}
+classCbCollapseBox :: ClassType (CbCollapseBox ())
+classCbCollapseBox = ClassType (unsafePerformIO (classInfoFindClass "cbCollapseBox"))
+
+
+{-# NOINLINE classCbCommonPaneProperties #-}
+classCbCommonPaneProperties :: ClassType (CbCommonPaneProperties ())
+classCbCommonPaneProperties = ClassType (unsafePerformIO (classInfoFindClass "cbCommonPaneProperties"))
+
+
+{-# NOINLINE classCbCustomizeBarEvent #-}
+classCbCustomizeBarEvent :: ClassType (CbCustomizeBarEvent ())
+classCbCustomizeBarEvent = ClassType (unsafePerformIO (classInfoFindClass "cbCustomizeBarEvent"))
+
+
+{-# NOINLINE classCbCustomizeLayoutEvent #-}
+classCbCustomizeLayoutEvent :: ClassType (CbCustomizeLayoutEvent ())
+classCbCustomizeLayoutEvent = ClassType (unsafePerformIO (classInfoFindClass "cbCustomizeLayoutEvent"))
+
+
+{-# NOINLINE classCbDimHandlerBase #-}
+classCbDimHandlerBase :: ClassType (CbDimHandlerBase ())
+classCbDimHandlerBase = ClassType (unsafePerformIO (classInfoFindClass "cbDimHandlerBase"))
+
+
+{-# NOINLINE classCbDimInfo #-}
+classCbDimInfo :: ClassType (CbDimInfo ())
+classCbDimInfo = ClassType (unsafePerformIO (classInfoFindClass "cbDimInfo"))
+
+
+{-# NOINLINE classCbDockBox #-}
+classCbDockBox :: ClassType (CbDockBox ())
+classCbDockBox = ClassType (unsafePerformIO (classInfoFindClass "cbDockBox"))
+
+
+{-# NOINLINE classCbDockPane #-}
+classCbDockPane :: ClassType (CbDockPane ())
+classCbDockPane = ClassType (unsafePerformIO (classInfoFindClass "cbDockPane"))
+
+
+{-# NOINLINE classCbDrawBarDecorEvent #-}
+classCbDrawBarDecorEvent :: ClassType (CbDrawBarDecorEvent ())
+classCbDrawBarDecorEvent = ClassType (unsafePerformIO (classInfoFindClass "cbDrawBarDecorEvent"))
+
+
+{-# NOINLINE classCbDrawBarHandlesEvent #-}
+classCbDrawBarHandlesEvent :: ClassType (CbDrawBarHandlesEvent ())
+classCbDrawBarHandlesEvent = ClassType (unsafePerformIO (classInfoFindClass "cbDrawBarHandlesEvent"))
+
+
+{-# NOINLINE classCbDrawHintRectEvent #-}
+classCbDrawHintRectEvent :: ClassType (CbDrawHintRectEvent ())
+classCbDrawHintRectEvent = ClassType (unsafePerformIO (classInfoFindClass "cbDrawHintRectEvent"))
+
+
+{-# NOINLINE classCbDrawPaneBkGroundEvent #-}
+classCbDrawPaneBkGroundEvent :: ClassType (CbDrawPaneBkGroundEvent ())
+classCbDrawPaneBkGroundEvent = ClassType (unsafePerformIO (classInfoFindClass "cbDrawPaneBkGroundEvent"))
+
+
+{-# NOINLINE classCbDrawPaneDecorEvent #-}
+classCbDrawPaneDecorEvent :: ClassType (CbDrawPaneDecorEvent ())
+classCbDrawPaneDecorEvent = ClassType (unsafePerformIO (classInfoFindClass "cbDrawPaneDecorEvent"))
+
+
+{-# NOINLINE classCbDrawRowBkGroundEvent #-}
+classCbDrawRowBkGroundEvent :: ClassType (CbDrawRowBkGroundEvent ())
+classCbDrawRowBkGroundEvent = ClassType (unsafePerformIO (classInfoFindClass "cbDrawRowBkGroundEvent"))
+
+
+{-# NOINLINE classCbDrawRowDecorEvent #-}
+classCbDrawRowDecorEvent :: ClassType (CbDrawRowDecorEvent ())
+classCbDrawRowDecorEvent = ClassType (unsafePerformIO (classInfoFindClass "cbDrawRowDecorEvent"))
+
+
+{-# NOINLINE classCbDrawRowHandlesEvent #-}
+classCbDrawRowHandlesEvent :: ClassType (CbDrawRowHandlesEvent ())
+classCbDrawRowHandlesEvent = ClassType (unsafePerformIO (classInfoFindClass "cbDrawRowHandlesEvent"))
+
+
+{-# NOINLINE classCbDynToolBarDimHandler #-}
+classCbDynToolBarDimHandler :: ClassType (CbDynToolBarDimHandler ())
+classCbDynToolBarDimHandler = ClassType (unsafePerformIO (classInfoFindClass "cbDynToolBarDimHandler"))
+
+
+{-# NOINLINE classCbFinishDrawInAreaEvent #-}
+classCbFinishDrawInAreaEvent :: ClassType (CbFinishDrawInAreaEvent ())
+classCbFinishDrawInAreaEvent = ClassType (unsafePerformIO (classInfoFindClass "cbFinishDrawInAreaEvent"))
+
+
+{-# NOINLINE classCbFloatedBarWindow #-}
+classCbFloatedBarWindow :: ClassType (CbFloatedBarWindow ())
+classCbFloatedBarWindow = ClassType (unsafePerformIO (classInfoFindClass "cbFloatedBarWindow"))
+
+
+{-# NOINLINE classCbGCUpdatesMgr #-}
+classCbGCUpdatesMgr :: ClassType (CbGCUpdatesMgr ())
+classCbGCUpdatesMgr = ClassType (unsafePerformIO (classInfoFindClass "cbGCUpdatesMgr"))
+
+
+{-# NOINLINE classCbHintAnimationPlugin #-}
+classCbHintAnimationPlugin :: ClassType (CbHintAnimationPlugin ())
+classCbHintAnimationPlugin = ClassType (unsafePerformIO (classInfoFindClass "cbHintAnimationPlugin"))
+
+
+{-# NOINLINE classCbInsertBarEvent #-}
+classCbInsertBarEvent :: ClassType (CbInsertBarEvent ())
+classCbInsertBarEvent = ClassType (unsafePerformIO (classInfoFindClass "cbInsertBarEvent"))
+
+
+{-# NOINLINE classCbLayoutRowEvent #-}
+classCbLayoutRowEvent :: ClassType (CbLayoutRowEvent ())
+classCbLayoutRowEvent = ClassType (unsafePerformIO (classInfoFindClass "cbLayoutRowEvent"))
+
+
+{-# NOINLINE classCbLeftDClickEvent #-}
+classCbLeftDClickEvent :: ClassType (CbLeftDClickEvent ())
+classCbLeftDClickEvent = ClassType (unsafePerformIO (classInfoFindClass "cbLeftDClickEvent"))
+
+
+{-# NOINLINE classCbLeftDownEvent #-}
+classCbLeftDownEvent :: ClassType (CbLeftDownEvent ())
+classCbLeftDownEvent = ClassType (unsafePerformIO (classInfoFindClass "cbLeftDownEvent"))
+
+
+{-# NOINLINE classCbLeftUpEvent #-}
+classCbLeftUpEvent :: ClassType (CbLeftUpEvent ())
+classCbLeftUpEvent = ClassType (unsafePerformIO (classInfoFindClass "cbLeftUpEvent"))
+
+
+{-# NOINLINE classCbMiniButton #-}
+classCbMiniButton :: ClassType (CbMiniButton ())
+classCbMiniButton = ClassType (unsafePerformIO (classInfoFindClass "cbMiniButton"))
+
+
+{-# NOINLINE classCbMotionEvent #-}
+classCbMotionEvent :: ClassType (CbMotionEvent ())
+classCbMotionEvent = ClassType (unsafePerformIO (classInfoFindClass "cbMotionEvent"))
+
+
+{-# NOINLINE classCbPaneDrawPlugin #-}
+classCbPaneDrawPlugin :: ClassType (CbPaneDrawPlugin ())
+classCbPaneDrawPlugin = ClassType (unsafePerformIO (classInfoFindClass "cbPaneDrawPlugin"))
+
+
+{-# NOINLINE classCbPluginBase #-}
+classCbPluginBase :: ClassType (CbPluginBase ())
+classCbPluginBase = ClassType (unsafePerformIO (classInfoFindClass "cbPluginBase"))
+
+
+{-# NOINLINE classCbPluginEvent #-}
+classCbPluginEvent :: ClassType (CbPluginEvent ())
+classCbPluginEvent = ClassType (unsafePerformIO (classInfoFindClass "cbPluginEvent"))
+
+
+{-# NOINLINE classCbRemoveBarEvent #-}
+classCbRemoveBarEvent :: ClassType (CbRemoveBarEvent ())
+classCbRemoveBarEvent = ClassType (unsafePerformIO (classInfoFindClass "cbRemoveBarEvent"))
+
+
+{-# NOINLINE classCbResizeBarEvent #-}
+classCbResizeBarEvent :: ClassType (CbResizeBarEvent ())
+classCbResizeBarEvent = ClassType (unsafePerformIO (classInfoFindClass "cbResizeBarEvent"))
+
+
+{-# NOINLINE classCbResizeRowEvent #-}
+classCbResizeRowEvent :: ClassType (CbResizeRowEvent ())
+classCbResizeRowEvent = ClassType (unsafePerformIO (classInfoFindClass "cbResizeRowEvent"))
+
+
+{-# NOINLINE classCbRightDownEvent #-}
+classCbRightDownEvent :: ClassType (CbRightDownEvent ())
+classCbRightDownEvent = ClassType (unsafePerformIO (classInfoFindClass "cbRightDownEvent"))
+
+
+{-# NOINLINE classCbRightUpEvent #-}
+classCbRightUpEvent :: ClassType (CbRightUpEvent ())
+classCbRightUpEvent = ClassType (unsafePerformIO (classInfoFindClass "cbRightUpEvent"))
+
+
+{-# NOINLINE classCbRowDragPlugin #-}
+classCbRowDragPlugin :: ClassType (CbRowDragPlugin ())
+classCbRowDragPlugin = ClassType (unsafePerformIO (classInfoFindClass "cbRowDragPlugin"))
+
+
+{-# NOINLINE classCbRowInfo #-}
+classCbRowInfo :: ClassType (CbRowInfo ())
+classCbRowInfo = ClassType (unsafePerformIO (classInfoFindClass "cbRowInfo"))
+
+
+{-# NOINLINE classCbRowLayoutPlugin #-}
+classCbRowLayoutPlugin :: ClassType (CbRowLayoutPlugin ())
+classCbRowLayoutPlugin = ClassType (unsafePerformIO (classInfoFindClass "cbRowLayoutPlugin"))
+
+
+{-# NOINLINE classCbSimpleCustomizationPlugin #-}
+classCbSimpleCustomizationPlugin :: ClassType (CbSimpleCustomizationPlugin ())
+classCbSimpleCustomizationPlugin = ClassType (unsafePerformIO (classInfoFindClass "cbSimpleCustomizationPlugin"))
+
+
+{-# NOINLINE classCbSimpleUpdatesMgr #-}
+classCbSimpleUpdatesMgr :: ClassType (CbSimpleUpdatesMgr ())
+classCbSimpleUpdatesMgr = ClassType (unsafePerformIO (classInfoFindClass "cbSimpleUpdatesMgr"))
+
+
+{-# NOINLINE classCbSizeBarWndEvent #-}
+classCbSizeBarWndEvent :: ClassType (CbSizeBarWndEvent ())
+classCbSizeBarWndEvent = ClassType (unsafePerformIO (classInfoFindClass "cbSizeBarWndEvent"))
+
+
+{-# NOINLINE classCbStartBarDraggingEvent #-}
+classCbStartBarDraggingEvent :: ClassType (CbStartBarDraggingEvent ())
+classCbStartBarDraggingEvent = ClassType (unsafePerformIO (classInfoFindClass "cbStartBarDraggingEvent"))
+
+
+{-# NOINLINE classCbStartDrawInAreaEvent #-}
+classCbStartDrawInAreaEvent :: ClassType (CbStartDrawInAreaEvent ())
+classCbStartDrawInAreaEvent = ClassType (unsafePerformIO (classInfoFindClass "cbStartDrawInAreaEvent"))
+
+
+{-# NOINLINE classCbUpdatesManagerBase #-}
+classCbUpdatesManagerBase :: ClassType (CbUpdatesManagerBase ())
+classCbUpdatesManagerBase = ClassType (unsafePerformIO (classInfoFindClass "cbUpdatesManagerBase"))
+
+
+{-# NOINLINE classCheckBox #-}
+classCheckBox :: ClassType (CheckBox ())
+classCheckBox = ClassType (unsafePerformIO (classInfoFindClass "wxCheckBox"))
+
+
+{-# NOINLINE classCheckListBox #-}
+classCheckListBox :: ClassType (CheckListBox ())
+classCheckListBox = ClassType (unsafePerformIO (classInfoFindClass "wxCheckListBox"))
+
+
+{-# NOINLINE classChoice #-}
+classChoice :: ClassType (Choice ())
+classChoice = ClassType (unsafePerformIO (classInfoFindClass "wxChoice"))
+
+
+{-# NOINLINE classClient #-}
+classClient :: ClassType (Client ())
+classClient = ClassType (unsafePerformIO (classInfoFindClass "wxClient"))
+
+
+{-# NOINLINE classClientBase #-}
+classClientBase :: ClassType (ClientBase ())
+classClientBase = ClassType (unsafePerformIO (classInfoFindClass "wxClientBase"))
+
+
+{-# NOINLINE classClientDC #-}
+classClientDC :: ClassType (ClientDC ())
+classClientDC = ClassType (unsafePerformIO (classInfoFindClass "wxClientDC"))
+
+
+{-# NOINLINE classClipboard #-}
+classClipboard :: ClassType (Clipboard ())
+classClipboard = ClassType (unsafePerformIO (classInfoFindClass "wxClipboard"))
+
+
+{-# NOINLINE classCloseEvent #-}
+classCloseEvent :: ClassType (CloseEvent ())
+classCloseEvent = ClassType (unsafePerformIO (classInfoFindClass "wxCloseEvent"))
+
+
+{-# NOINLINE classClosure #-}
+classClosure :: ClassType (Closure ())
+classClosure = ClassType (unsafePerformIO (classInfoFindClass "wxClosure"))
+
+
+{-# NOINLINE classColour #-}
+classColour :: ClassType (Colour ())
+classColour = ClassType (unsafePerformIO (classInfoFindClass "wxColour"))
+
+
+{-# NOINLINE classColourData #-}
+classColourData :: ClassType (ColourData ())
+classColourData = ClassType (unsafePerformIO (classInfoFindClass "wxColourData"))
+
+
+{-# NOINLINE classColourDatabase #-}
+classColourDatabase :: ClassType (ColourDatabase ())
+classColourDatabase = ClassType (unsafePerformIO (classInfoFindClass "wxColourDatabase"))
+
+
+{-# NOINLINE classColourDialog #-}
+classColourDialog :: ClassType (ColourDialog ())
+classColourDialog = ClassType (unsafePerformIO (classInfoFindClass "wxColourDialog"))
+
+
+{-# NOINLINE classColourPickerCtrl #-}
+classColourPickerCtrl :: ClassType (ColourPickerCtrl ())
+classColourPickerCtrl = ClassType (unsafePerformIO (classInfoFindClass "wxColourPickerCtrl"))
+
+
+{-# NOINLINE classComboBox #-}
+classComboBox :: ClassType (ComboBox ())
+classComboBox = ClassType (unsafePerformIO (classInfoFindClass "wxComboBox"))
+
+
+{-# NOINLINE classCommand #-}
+classCommand :: ClassType (Command ())
+classCommand = ClassType (unsafePerformIO (classInfoFindClass "wxCommand"))
+
+
+{-# NOINLINE classCommandEvent #-}
+classCommandEvent :: ClassType (CommandEvent ())
+classCommandEvent = ClassType (unsafePerformIO (classInfoFindClass "wxCommandEvent"))
+
+
+{-# NOINLINE classCommandProcessor #-}
+classCommandProcessor :: ClassType (CommandProcessor ())
+classCommandProcessor = ClassType (unsafePerformIO (classInfoFindClass "wxCommandProcessor"))
+
+
+{-# NOINLINE classConnection #-}
+classConnection :: ClassType (Connection ())
+classConnection = ClassType (unsafePerformIO (classInfoFindClass "wxConnection"))
+
+
+{-# NOINLINE classConnectionBase #-}
+classConnectionBase :: ClassType (ConnectionBase ())
+classConnectionBase = ClassType (unsafePerformIO (classInfoFindClass "wxConnectionBase"))
+
+
+{-# NOINLINE classContextHelp #-}
+classContextHelp :: ClassType (ContextHelp ())
+classContextHelp = ClassType (unsafePerformIO (classInfoFindClass "wxContextHelp"))
+
+
+{-# NOINLINE classContextHelpButton #-}
+classContextHelpButton :: ClassType (ContextHelpButton ())
+classContextHelpButton = ClassType (unsafePerformIO (classInfoFindClass "wxContextHelpButton"))
+
+
+{-# NOINLINE classControl #-}
+classControl :: ClassType (Control ())
+classControl = ClassType (unsafePerformIO (classInfoFindClass "wxControl"))
+
+
+{-# NOINLINE classCursor #-}
+classCursor :: ClassType (Cursor ())
+classCursor = ClassType (unsafePerformIO (classInfoFindClass "wxCursor"))
+
+
+{-# NOINLINE classDatabase #-}
+classDatabase :: ClassType (Database ())
+classDatabase = ClassType (unsafePerformIO (classInfoFindClass "wxDatabase"))
+
+
+{-# NOINLINE classDateProperty #-}
+classDateProperty :: ClassType (DateProperty ())
+classDateProperty = ClassType (unsafePerformIO (classInfoFindClass "wxDateProperty"))
+
+
+{-# NOINLINE classDC #-}
+classDC :: ClassType (DC ())
+classDC = ClassType (unsafePerformIO (classInfoFindClass "wxDC"))
+
+
+{-# NOINLINE classDDEClient #-}
+classDDEClient :: ClassType (DDEClient ())
+classDDEClient = ClassType (unsafePerformIO (classInfoFindClass "wxDDEClient"))
+
+
+{-# NOINLINE classDDEConnection #-}
+classDDEConnection :: ClassType (DDEConnection ())
+classDDEConnection = ClassType (unsafePerformIO (classInfoFindClass "wxDDEConnection"))
+
+
+{-# NOINLINE classDDEServer #-}
+classDDEServer :: ClassType (DDEServer ())
+classDDEServer = ClassType (unsafePerformIO (classInfoFindClass "wxDDEServer"))
+
+
+{-# NOINLINE classDialog #-}
+classDialog :: ClassType (Dialog ())
+classDialog = ClassType (unsafePerformIO (classInfoFindClass "wxDialog"))
+
+
+{-# NOINLINE classDialUpEvent #-}
+classDialUpEvent :: ClassType (DialUpEvent ())
+classDialUpEvent = ClassType (unsafePerformIO (classInfoFindClass "wxDialUpEvent"))
+
+
+{-# NOINLINE classDirDialog #-}
+classDirDialog :: ClassType (DirDialog ())
+classDirDialog = ClassType (unsafePerformIO (classInfoFindClass "wxDirDialog"))
+
+
+{-# NOINLINE classDocChildFrame #-}
+classDocChildFrame :: ClassType (DocChildFrame ())
+classDocChildFrame = ClassType (unsafePerformIO (classInfoFindClass "wxDocChildFrame"))
+
+
+{-# NOINLINE classDocManager #-}
+classDocManager :: ClassType (DocManager ())
+classDocManager = ClassType (unsafePerformIO (classInfoFindClass "wxDocManager"))
+
+
+{-# NOINLINE classDocMDIChildFrame #-}
+classDocMDIChildFrame :: ClassType (DocMDIChildFrame ())
+classDocMDIChildFrame = ClassType (unsafePerformIO (classInfoFindClass "wxDocMDIChildFrame"))
+
+
+{-# NOINLINE classDocMDIParentFrame #-}
+classDocMDIParentFrame :: ClassType (DocMDIParentFrame ())
+classDocMDIParentFrame = ClassType (unsafePerformIO (classInfoFindClass "wxDocMDIParentFrame"))
+
+
+{-# NOINLINE classDocParentFrame #-}
+classDocParentFrame :: ClassType (DocParentFrame ())
+classDocParentFrame = ClassType (unsafePerformIO (classInfoFindClass "wxDocParentFrame"))
+
+
+{-# NOINLINE classDocTemplate #-}
+classDocTemplate :: ClassType (DocTemplate ())
+classDocTemplate = ClassType (unsafePerformIO (classInfoFindClass "wxDocTemplate"))
+
+
+{-# NOINLINE classDocument #-}
+classDocument :: ClassType (Document ())
+classDocument = ClassType (unsafePerformIO (classInfoFindClass "wxDocument"))
+
+
+{-# NOINLINE classDragImage #-}
+classDragImage :: ClassType (DragImage ())
+classDragImage = ClassType (unsafePerformIO (classInfoFindClass "wxDragImage"))
+
+
+{-# NOINLINE classDrawControl #-}
+classDrawControl :: ClassType (DrawControl ())
+classDrawControl = ClassType (unsafePerformIO (classInfoFindClass "wxDrawControl"))
+
+
+{-# NOINLINE classDrawWindow #-}
+classDrawWindow :: ClassType (DrawWindow ())
+classDrawWindow = ClassType (unsafePerformIO (classInfoFindClass "wxDrawWindow"))
+
+
+{-# NOINLINE classDropFilesEvent #-}
+classDropFilesEvent :: ClassType (DropFilesEvent ())
+classDropFilesEvent = ClassType (unsafePerformIO (classInfoFindClass "wxDropFilesEvent"))
+
+
+{-# NOINLINE classDynamicSashWindow #-}
+classDynamicSashWindow :: ClassType (DynamicSashWindow ())
+classDynamicSashWindow = ClassType (unsafePerformIO (classInfoFindClass "wxDynamicSashWindow"))
+
+
+{-# NOINLINE classDynamicToolBar #-}
+classDynamicToolBar :: ClassType (DynamicToolBar ())
+classDynamicToolBar = ClassType (unsafePerformIO (classInfoFindClass "wxDynamicToolBar"))
+
+
+{-# NOINLINE classDynToolInfo #-}
+classDynToolInfo :: ClassType (DynToolInfo ())
+classDynToolInfo = ClassType (unsafePerformIO (classInfoFindClass "wxDynToolInfo"))
+
+
+{-# NOINLINE classEditableListBox #-}
+classEditableListBox :: ClassType (EditableListBox ())
+classEditableListBox = ClassType (unsafePerformIO (classInfoFindClass "wxEditableListBox"))
+
+
+{-# NOINLINE classEncodingConverter #-}
+classEncodingConverter :: ClassType (EncodingConverter ())
+classEncodingConverter = ClassType (unsafePerformIO (classInfoFindClass "wxEncodingConverter"))
+
+
+{-# NOINLINE classEraseEvent #-}
+classEraseEvent :: ClassType (EraseEvent ())
+classEraseEvent = ClassType (unsafePerformIO (classInfoFindClass "wxEraseEvent"))
+
+
+{-# NOINLINE classEvent #-}
+classEvent :: ClassType (Event ())
+classEvent = ClassType (unsafePerformIO (classInfoFindClass "wxEvent"))
+
+
+{-# NOINLINE classEvtHandler #-}
+classEvtHandler :: ClassType (EvtHandler ())
+classEvtHandler = ClassType (unsafePerformIO (classInfoFindClass "wxEvtHandler"))
+
+
+{-# NOINLINE classExprDatabase #-}
+classExprDatabase :: ClassType (ExprDatabase ())
+classExprDatabase = ClassType (unsafePerformIO (classInfoFindClass "wxExprDatabase"))
+
+
+{-# NOINLINE classFileDialog #-}
+classFileDialog :: ClassType (FileDialog ())
+classFileDialog = ClassType (unsafePerformIO (classInfoFindClass "wxFileDialog"))
+
+
+{-# NOINLINE classFileHistory #-}
+classFileHistory :: ClassType (FileHistory ())
+classFileHistory = ClassType (unsafePerformIO (classInfoFindClass "wxFileHistory"))
+
+
+{-# NOINLINE classFileProperty #-}
+classFileProperty :: ClassType (FileProperty ())
+classFileProperty = ClassType (unsafePerformIO (classInfoFindClass "wxFileProperty"))
+
+
+{-# NOINLINE classFileSystem #-}
+classFileSystem :: ClassType (FileSystem ())
+classFileSystem = ClassType (unsafePerformIO (classInfoFindClass "wxFileSystem"))
+
+
+{-# NOINLINE classFileSystemHandler #-}
+classFileSystemHandler :: ClassType (FileSystemHandler ())
+classFileSystemHandler = ClassType (unsafePerformIO (classInfoFindClass "wxFileSystemHandler"))
+
+
+{-# NOINLINE classFindDialogEvent #-}
+classFindDialogEvent :: ClassType (FindDialogEvent ())
+classFindDialogEvent = ClassType (unsafePerformIO (classInfoFindClass "wxFindDialogEvent"))
+
+
+{-# NOINLINE classFindReplaceData #-}
+classFindReplaceData :: ClassType (FindReplaceData ())
+classFindReplaceData = ClassType (unsafePerformIO (classInfoFindClass "wxFindReplaceData"))
+
+
+{-# NOINLINE classFindReplaceDialog #-}
+classFindReplaceDialog :: ClassType (FindReplaceDialog ())
+classFindReplaceDialog = ClassType (unsafePerformIO (classInfoFindClass "wxFindReplaceDialog"))
+
+
+{-# NOINLINE classFlexGridSizer #-}
+classFlexGridSizer :: ClassType (FlexGridSizer ())
+classFlexGridSizer = ClassType (unsafePerformIO (classInfoFindClass "wxFlexGridSizer"))
+
+
+{-# NOINLINE classFloatProperty #-}
+classFloatProperty :: ClassType (FloatProperty ())
+classFloatProperty = ClassType (unsafePerformIO (classInfoFindClass "wxFloatProperty"))
+
+
+{-# NOINLINE classFocusEvent #-}
+classFocusEvent :: ClassType (FocusEvent ())
+classFocusEvent = ClassType (unsafePerformIO (classInfoFindClass "wxFocusEvent"))
+
+
+{-# NOINLINE classFont #-}
+classFont :: ClassType (Font ())
+classFont = ClassType (unsafePerformIO (classInfoFindClass "wxFont"))
+
+
+{-# NOINLINE classFontData #-}
+classFontData :: ClassType (FontData ())
+classFontData = ClassType (unsafePerformIO (classInfoFindClass "wxFontData"))
+
+
+{-# NOINLINE classFontDialog #-}
+classFontDialog :: ClassType (FontDialog ())
+classFontDialog = ClassType (unsafePerformIO (classInfoFindClass "wxFontDialog"))
+
+
+{-# NOINLINE classFontList #-}
+classFontList :: ClassType (FontList ())
+classFontList = ClassType (unsafePerformIO (classInfoFindClass "wxFontList"))
+
+
+{-# NOINLINE classFrame #-}
+classFrame :: ClassType (Frame ())
+classFrame = ClassType (unsafePerformIO (classInfoFindClass "wxFrame"))
+
+
+{-# NOINLINE classFrameLayout #-}
+classFrameLayout :: ClassType (FrameLayout ())
+classFrameLayout = ClassType (unsafePerformIO (classInfoFindClass "wxFrameLayout"))
+
+
+{-# NOINLINE classFSFile #-}
+classFSFile :: ClassType (FSFile ())
+classFSFile = ClassType (unsafePerformIO (classInfoFindClass "wxFSFile"))
+
+
+{-# NOINLINE classFTP #-}
+classFTP :: ClassType (FTP ())
+classFTP = ClassType (unsafePerformIO (classInfoFindClass "wxFTP"))
+
+
+{-# NOINLINE classGauge #-}
+classGauge :: ClassType (Gauge ())
+classGauge = ClassType (unsafePerformIO (classInfoFindClass "wxGauge"))
+
+
+{-# NOINLINE classGauge95 #-}
+classGauge95 :: ClassType (Gauge95 ())
+classGauge95 = ClassType (unsafePerformIO (classInfoFindClass "wxGauge95"))
+
+
+{-# NOINLINE classGaugeMSW #-}
+classGaugeMSW :: ClassType (GaugeMSW ())
+classGaugeMSW = ClassType (unsafePerformIO (classInfoFindClass "wxGaugeMSW"))
+
+
+{-# NOINLINE classGCDC #-}
+classGCDC :: ClassType (GCDC ())
+classGCDC = ClassType (unsafePerformIO (classInfoFindClass "wxGCDC"))
+
+
+{-# NOINLINE classGDIObject #-}
+classGDIObject :: ClassType (GDIObject ())
+classGDIObject = ClassType (unsafePerformIO (classInfoFindClass "wxGDIObject"))
+
+
+{-# NOINLINE classGenericDirCtrl #-}
+classGenericDirCtrl :: ClassType (GenericDirCtrl ())
+classGenericDirCtrl = ClassType (unsafePerformIO (classInfoFindClass "wxGenericDirCtrl"))
+
+
+{-# NOINLINE classGenericDragImage #-}
+classGenericDragImage :: ClassType (GenericDragImage ())
+classGenericDragImage = ClassType (unsafePerformIO (classInfoFindClass "wxGenericDragImage"))
+
+
+{-# NOINLINE classGenericValidator #-}
+classGenericValidator :: ClassType (GenericValidator ())
+classGenericValidator = ClassType (unsafePerformIO (classInfoFindClass "wxGenericValidator"))
+
+
+{-# NOINLINE classGLCanvas #-}
+classGLCanvas :: ClassType (GLCanvas ())
+classGLCanvas = ClassType (unsafePerformIO (classInfoFindClass "wxGLCanvas"))
+
+
+{-# NOINLINE classGLContext #-}
+classGLContext :: ClassType (GLContext ())
+classGLContext = ClassType (unsafePerformIO (classInfoFindClass "wxGLContext"))
+
+
+{-# NOINLINE classGraphicsBrush #-}
+classGraphicsBrush :: ClassType (GraphicsBrush ())
+classGraphicsBrush = ClassType (unsafePerformIO (classInfoFindClass "wxGraphicsBrush"))
+
+
+{-# NOINLINE classGraphicsContext #-}
+classGraphicsContext :: ClassType (GraphicsContext ())
+classGraphicsContext = ClassType (unsafePerformIO (classInfoFindClass "wxGraphicsContext"))
+
+
+{-# NOINLINE classGraphicsFont #-}
+classGraphicsFont :: ClassType (GraphicsFont ())
+classGraphicsFont = ClassType (unsafePerformIO (classInfoFindClass "wxGraphicsFont"))
+
+
+{-# NOINLINE classGraphicsMatrix #-}
+classGraphicsMatrix :: ClassType (GraphicsMatrix ())
+classGraphicsMatrix = ClassType (unsafePerformIO (classInfoFindClass "wxGraphicsMatrix"))
+
+
+{-# NOINLINE classGraphicsObject #-}
+classGraphicsObject :: ClassType (GraphicsObject ())
+classGraphicsObject = ClassType (unsafePerformIO (classInfoFindClass "wxGraphicsObject"))
+
+
+{-# NOINLINE classGraphicsPath #-}
+classGraphicsPath :: ClassType (GraphicsPath ())
+classGraphicsPath = ClassType (unsafePerformIO (classInfoFindClass "wxGraphicsPath"))
+
+
+{-# NOINLINE classGraphicsPen #-}
+classGraphicsPen :: ClassType (GraphicsPen ())
+classGraphicsPen = ClassType (unsafePerformIO (classInfoFindClass "wxGraphicsPen"))
+
+
+{-# NOINLINE classGraphicsRenderer #-}
+classGraphicsRenderer :: ClassType (GraphicsRenderer ())
+classGraphicsRenderer = ClassType (unsafePerformIO (classInfoFindClass "wxGraphicsRenderer"))
+
+
+{-# NOINLINE classGrid #-}
+classGrid :: ClassType (Grid ())
+classGrid = ClassType (unsafePerformIO (classInfoFindClass "wxGrid"))
+
+
+{-# NOINLINE classGridEditorCreatedEvent #-}
+classGridEditorCreatedEvent :: ClassType (GridEditorCreatedEvent ())
+classGridEditorCreatedEvent = ClassType (unsafePerformIO (classInfoFindClass "wxGridEditorCreatedEvent"))
+
+
+{-# NOINLINE classGridEvent #-}
+classGridEvent :: ClassType (GridEvent ())
+classGridEvent = ClassType (unsafePerformIO (classInfoFindClass "wxGridEvent"))
+
+
+{-# NOINLINE classGridRangeSelectEvent #-}
+classGridRangeSelectEvent :: ClassType (GridRangeSelectEvent ())
+classGridRangeSelectEvent = ClassType (unsafePerformIO (classInfoFindClass "wxGridRangeSelectEvent"))
+
+
+{-# NOINLINE classGridSizeEvent #-}
+classGridSizeEvent :: ClassType (GridSizeEvent ())
+classGridSizeEvent = ClassType (unsafePerformIO (classInfoFindClass "wxGridSizeEvent"))
+
+
+{-# NOINLINE classGridSizer #-}
+classGridSizer :: ClassType (GridSizer ())
+classGridSizer = ClassType (unsafePerformIO (classInfoFindClass "wxGridSizer"))
+
+
+{-# NOINLINE classGridTableBase #-}
+classGridTableBase :: ClassType (GridTableBase ())
+classGridTableBase = ClassType (unsafePerformIO (classInfoFindClass "wxGridTableBase"))
+
+
+{-# NOINLINE classHelpController #-}
+classHelpController :: ClassType (HelpController ())
+classHelpController = ClassType (unsafePerformIO (classInfoFindClass "wxHelpController"))
+
+
+{-# NOINLINE classHelpControllerBase #-}
+classHelpControllerBase :: ClassType (HelpControllerBase ())
+classHelpControllerBase = ClassType (unsafePerformIO (classInfoFindClass "wxHelpControllerBase"))
+
+
+{-# NOINLINE classHelpEvent #-}
+classHelpEvent :: ClassType (HelpEvent ())
+classHelpEvent = ClassType (unsafePerformIO (classInfoFindClass "wxHelpEvent"))
+
+
+{-# NOINLINE classHtmlCell #-}
+classHtmlCell :: ClassType (HtmlCell ())
+classHtmlCell = ClassType (unsafePerformIO (classInfoFindClass "wxHtmlCell"))
+
+
+{-# NOINLINE classHtmlColourCell #-}
+classHtmlColourCell :: ClassType (HtmlColourCell ())
+classHtmlColourCell = ClassType (unsafePerformIO (classInfoFindClass "wxHtmlColourCell"))
+
+
+{-# NOINLINE classHtmlContainerCell #-}
+classHtmlContainerCell :: ClassType (HtmlContainerCell ())
+classHtmlContainerCell = ClassType (unsafePerformIO (classInfoFindClass "wxHtmlContainerCell"))
+
+
+{-# NOINLINE classHtmlDCRenderer #-}
+classHtmlDCRenderer :: ClassType (HtmlDCRenderer ())
+classHtmlDCRenderer = ClassType (unsafePerformIO (classInfoFindClass "wxHtmlDCRenderer"))
+
+
+{-# NOINLINE classHtmlEasyPrinting #-}
+classHtmlEasyPrinting :: ClassType (HtmlEasyPrinting ())
+classHtmlEasyPrinting = ClassType (unsafePerformIO (classInfoFindClass "wxHtmlEasyPrinting"))
+
+
+{-# NOINLINE classHtmlFilter #-}
+classHtmlFilter :: ClassType (HtmlFilter ())
+classHtmlFilter = ClassType (unsafePerformIO (classInfoFindClass "wxHtmlFilter"))
+
+
+{-# NOINLINE classHtmlHelpController #-}
+classHtmlHelpController :: ClassType (HtmlHelpController ())
+classHtmlHelpController = ClassType (unsafePerformIO (classInfoFindClass "wxHtmlHelpController"))
+
+
+{-# NOINLINE classHtmlHelpData #-}
+classHtmlHelpData :: ClassType (HtmlHelpData ())
+classHtmlHelpData = ClassType (unsafePerformIO (classInfoFindClass "wxHtmlHelpData"))
+
+
+{-# NOINLINE classHtmlHelpFrame #-}
+classHtmlHelpFrame :: ClassType (HtmlHelpFrame ())
+classHtmlHelpFrame = ClassType (unsafePerformIO (classInfoFindClass "wxHtmlHelpFrame"))
+
+
+{-# NOINLINE classHtmlLinkInfo #-}
+classHtmlLinkInfo :: ClassType (HtmlLinkInfo ())
+classHtmlLinkInfo = ClassType (unsafePerformIO (classInfoFindClass "wxHtmlLinkInfo"))
+
+
+{-# NOINLINE classHtmlParser #-}
+classHtmlParser :: ClassType (HtmlParser ())
+classHtmlParser = ClassType (unsafePerformIO (classInfoFindClass "wxHtmlParser"))
+
+
+{-# NOINLINE classHtmlPrintout #-}
+classHtmlPrintout :: ClassType (HtmlPrintout ())
+classHtmlPrintout = ClassType (unsafePerformIO (classInfoFindClass "wxHtmlPrintout"))
+
+
+{-# NOINLINE classHtmlTag #-}
+classHtmlTag :: ClassType (HtmlTag ())
+classHtmlTag = ClassType (unsafePerformIO (classInfoFindClass "wxHtmlTag"))
+
+
+{-# NOINLINE classHtmlTagHandler #-}
+classHtmlTagHandler :: ClassType (HtmlTagHandler ())
+classHtmlTagHandler = ClassType (unsafePerformIO (classInfoFindClass "wxHtmlTagHandler"))
+
+
+{-# NOINLINE classHtmlTagsModule #-}
+classHtmlTagsModule :: ClassType (HtmlTagsModule ())
+classHtmlTagsModule = ClassType (unsafePerformIO (classInfoFindClass "wxHtmlTagsModule"))
+
+
+{-# NOINLINE classHtmlWidgetCell #-}
+classHtmlWidgetCell :: ClassType (HtmlWidgetCell ())
+classHtmlWidgetCell = ClassType (unsafePerformIO (classInfoFindClass "wxHtmlWidgetCell"))
+
+
+{-# NOINLINE classHtmlWindow #-}
+classHtmlWindow :: ClassType (HtmlWindow ())
+classHtmlWindow = ClassType (unsafePerformIO (classInfoFindClass "wxHtmlWindow"))
+
+
+{-# NOINLINE classHtmlWinParser #-}
+classHtmlWinParser :: ClassType (HtmlWinParser ())
+classHtmlWinParser = ClassType (unsafePerformIO (classInfoFindClass "wxHtmlWinParser"))
+
+
+{-# NOINLINE classHtmlWinTagHandler #-}
+classHtmlWinTagHandler :: ClassType (HtmlWinTagHandler ())
+classHtmlWinTagHandler = ClassType (unsafePerformIO (classInfoFindClass "wxHtmlWinTagHandler"))
+
+
+{-# NOINLINE classHTTP #-}
+classHTTP :: ClassType (HTTP ())
+classHTTP = ClassType (unsafePerformIO (classInfoFindClass "wxHTTP"))
+
+
+{-# NOINLINE classHyperlinkCtrl #-}
+classHyperlinkCtrl :: ClassType (HyperlinkCtrl ())
+classHyperlinkCtrl = ClassType (unsafePerformIO (classInfoFindClass "wxHyperlinkCtrl"))
+
+
+{-# NOINLINE classIcon #-}
+classIcon :: ClassType (Icon ())
+classIcon = ClassType (unsafePerformIO (classInfoFindClass "wxIcon"))
+
+
+{-# NOINLINE classIconizeEvent #-}
+classIconizeEvent :: ClassType (IconizeEvent ())
+classIconizeEvent = ClassType (unsafePerformIO (classInfoFindClass "wxIconizeEvent"))
+
+
+{-# NOINLINE classIdleEvent #-}
+classIdleEvent :: ClassType (IdleEvent ())
+classIdleEvent = ClassType (unsafePerformIO (classInfoFindClass "wxIdleEvent"))
+
+
+{-# NOINLINE classImage #-}
+classImage :: ClassType (Image ())
+classImage = ClassType (unsafePerformIO (classInfoFindClass "wxImage"))
+
+
+{-# NOINLINE classImageHandler #-}
+classImageHandler :: ClassType (ImageHandler ())
+classImageHandler = ClassType (unsafePerformIO (classInfoFindClass "wxImageHandler"))
+
+
+{-# NOINLINE classImageList #-}
+classImageList :: ClassType (ImageList ())
+classImageList = ClassType (unsafePerformIO (classInfoFindClass "wxImageList"))
+
+
+{-# NOINLINE classIndividualLayoutConstraint #-}
+classIndividualLayoutConstraint :: ClassType (IndividualLayoutConstraint ())
+classIndividualLayoutConstraint = ClassType (unsafePerformIO (classInfoFindClass "wxIndividualLayoutConstraint"))
+
+
+{-# NOINLINE classInitDialogEvent #-}
+classInitDialogEvent :: ClassType (InitDialogEvent ())
+classInitDialogEvent = ClassType (unsafePerformIO (classInfoFindClass "wxInitDialogEvent"))
+
+
+{-# NOINLINE classInputSinkEvent #-}
+classInputSinkEvent :: ClassType (InputSinkEvent ())
+classInputSinkEvent = ClassType (unsafePerformIO (classInfoFindClass "wxInputSinkEvent"))
+
+
+{-# NOINLINE classIntProperty #-}
+classIntProperty :: ClassType (IntProperty ())
+classIntProperty = ClassType (unsafePerformIO (classInfoFindClass "wxIntProperty"))
+
+
+{-# NOINLINE classIPV4address #-}
+classIPV4address :: ClassType (IPV4address ())
+classIPV4address = ClassType (unsafePerformIO (classInfoFindClass "wxIPV4address"))
+
+
+{-# NOINLINE classJoystick #-}
+classJoystick :: ClassType (Joystick ())
+classJoystick = ClassType (unsafePerformIO (classInfoFindClass "wxJoystick"))
+
+
+{-# NOINLINE classJoystickEvent #-}
+classJoystickEvent :: ClassType (JoystickEvent ())
+classJoystickEvent = ClassType (unsafePerformIO (classInfoFindClass "wxJoystickEvent"))
+
+
+{-# NOINLINE classKeyEvent #-}
+classKeyEvent :: ClassType (KeyEvent ())
+classKeyEvent = ClassType (unsafePerformIO (classInfoFindClass "wxKeyEvent"))
+
+
+{-# NOINLINE classLayoutAlgorithm #-}
+classLayoutAlgorithm :: ClassType (LayoutAlgorithm ())
+classLayoutAlgorithm = ClassType (unsafePerformIO (classInfoFindClass "wxLayoutAlgorithm"))
+
+
+{-# NOINLINE classLayoutConstraints #-}
+classLayoutConstraints :: ClassType (LayoutConstraints ())
+classLayoutConstraints = ClassType (unsafePerformIO (classInfoFindClass "wxLayoutConstraints"))
+
+
+{-# NOINLINE classLEDNumberCtrl #-}
+classLEDNumberCtrl :: ClassType (LEDNumberCtrl ())
+classLEDNumberCtrl = ClassType (unsafePerformIO (classInfoFindClass "wxLEDNumberCtrl"))
+
+
+{-# NOINLINE classList #-}
+classList :: ClassType (List ())
+classList = ClassType (unsafePerformIO (classInfoFindClass "wxList"))
+
+
+{-# NOINLINE classListBox #-}
+classListBox :: ClassType (ListBox ())
+classListBox = ClassType (unsafePerformIO (classInfoFindClass "wxListBox"))
+
+
+{-# NOINLINE classListCtrl #-}
+classListCtrl :: ClassType (ListCtrl ())
+classListCtrl = ClassType (unsafePerformIO (classInfoFindClass "wxListCtrl"))
+
+
+{-# NOINLINE classListEvent #-}
+classListEvent :: ClassType (ListEvent ())
+classListEvent = ClassType (unsafePerformIO (classInfoFindClass "wxListEvent"))
+
+
+{-# NOINLINE classListItem #-}
+classListItem :: ClassType (ListItem ())
+classListItem = ClassType (unsafePerformIO (classInfoFindClass "wxListItem"))
+
+
+{-# NOINLINE classMask #-}
+classMask :: ClassType (Mask ())
+classMask = ClassType (unsafePerformIO (classInfoFindClass "wxMask"))
+
+
+{-# NOINLINE classMaximizeEvent #-}
+classMaximizeEvent :: ClassType (MaximizeEvent ())
+classMaximizeEvent = ClassType (unsafePerformIO (classInfoFindClass "wxMaximizeEvent"))
+
+
+{-# NOINLINE classMDIChildFrame #-}
+classMDIChildFrame :: ClassType (MDIChildFrame ())
+classMDIChildFrame = ClassType (unsafePerformIO (classInfoFindClass "wxMDIChildFrame"))
+
+
+{-# NOINLINE classMDIClientWindow #-}
+classMDIClientWindow :: ClassType (MDIClientWindow ())
+classMDIClientWindow = ClassType (unsafePerformIO (classInfoFindClass "wxMDIClientWindow"))
+
+
+{-# NOINLINE classMDIParentFrame #-}
+classMDIParentFrame :: ClassType (MDIParentFrame ())
+classMDIParentFrame = ClassType (unsafePerformIO (classInfoFindClass "wxMDIParentFrame"))
+
+
+{-# NOINLINE classMediaCtrl #-}
+classMediaCtrl :: ClassType (MediaCtrl ())
+classMediaCtrl = ClassType (unsafePerformIO (classInfoFindClass "wxMediaCtrl"))
+
+
+{-# NOINLINE classMediaEvent #-}
+classMediaEvent :: ClassType (MediaEvent ())
+classMediaEvent = ClassType (unsafePerformIO (classInfoFindClass "wxMediaEvent"))
+
+
+{-# NOINLINE classMemoryDC #-}
+classMemoryDC :: ClassType (MemoryDC ())
+classMemoryDC = ClassType (unsafePerformIO (classInfoFindClass "wxMemoryDC"))
+
+
+{-# NOINLINE classMemoryFSHandler #-}
+classMemoryFSHandler :: ClassType (MemoryFSHandler ())
+classMemoryFSHandler = ClassType (unsafePerformIO (classInfoFindClass "wxMemoryFSHandler"))
+
+
+{-# NOINLINE classMenu #-}
+classMenu :: ClassType (Menu ())
+classMenu = ClassType (unsafePerformIO (classInfoFindClass "wxMenu"))
+
+
+{-# NOINLINE classMenuBar #-}
+classMenuBar :: ClassType (MenuBar ())
+classMenuBar = ClassType (unsafePerformIO (classInfoFindClass "wxMenuBar"))
+
+
+{-# NOINLINE classMenuEvent #-}
+classMenuEvent :: ClassType (MenuEvent ())
+classMenuEvent = ClassType (unsafePerformIO (classInfoFindClass "wxMenuEvent"))
+
+
+{-# NOINLINE classMenuItem #-}
+classMenuItem :: ClassType (MenuItem ())
+classMenuItem = ClassType (unsafePerformIO (classInfoFindClass "wxMenuItem"))
+
+
+{-# NOINLINE classMessageDialog #-}
+classMessageDialog :: ClassType (MessageDialog ())
+classMessageDialog = ClassType (unsafePerformIO (classInfoFindClass "wxMessageDialog"))
+
+
+{-# NOINLINE classMetafile #-}
+classMetafile :: ClassType (Metafile ())
+classMetafile = ClassType (unsafePerformIO (classInfoFindClass "wxMetafile"))
+
+
+{-# NOINLINE classMetafileDC #-}
+classMetafileDC :: ClassType (MetafileDC ())
+classMetafileDC = ClassType (unsafePerformIO (classInfoFindClass "wxMetafileDC"))
+
+
+{-# NOINLINE classMiniFrame #-}
+classMiniFrame :: ClassType (MiniFrame ())
+classMiniFrame = ClassType (unsafePerformIO (classInfoFindClass "wxMiniFrame"))
+
+
+{-# NOINLINE classMirrorDC #-}
+classMirrorDC :: ClassType (MirrorDC ())
+classMirrorDC = ClassType (unsafePerformIO (classInfoFindClass "wxMirrorDC"))
+
+
+{-# NOINLINE classModule #-}
+classModule :: ClassType (Module ())
+classModule = ClassType (unsafePerformIO (classInfoFindClass "wxModule"))
+
+
+{-# NOINLINE classMouseCaptureChangedEvent #-}
+classMouseCaptureChangedEvent :: ClassType (MouseCaptureChangedEvent ())
+classMouseCaptureChangedEvent = ClassType (unsafePerformIO (classInfoFindClass "wxMouseCaptureChangedEvent"))
+
+
+{-# NOINLINE classMouseEvent #-}
+classMouseEvent :: ClassType (MouseEvent ())
+classMouseEvent = ClassType (unsafePerformIO (classInfoFindClass "wxMouseEvent"))
+
+
+{-# NOINLINE classMoveEvent #-}
+classMoveEvent :: ClassType (MoveEvent ())
+classMoveEvent = ClassType (unsafePerformIO (classInfoFindClass "wxMoveEvent"))
+
+
+{-# NOINLINE classMultiCellCanvas #-}
+classMultiCellCanvas :: ClassType (MultiCellCanvas ())
+classMultiCellCanvas = ClassType (unsafePerformIO (classInfoFindClass "wxMultiCellCanvas"))
+
+
+{-# NOINLINE classMultiCellItemHandle #-}
+classMultiCellItemHandle :: ClassType (MultiCellItemHandle ())
+classMultiCellItemHandle = ClassType (unsafePerformIO (classInfoFindClass "wxMultiCellItemHandle"))
+
+
+{-# NOINLINE classMultiCellSizer #-}
+classMultiCellSizer :: ClassType (MultiCellSizer ())
+classMultiCellSizer = ClassType (unsafePerformIO (classInfoFindClass "wxMultiCellSizer"))
+
+
+{-# NOINLINE classNavigationKeyEvent #-}
+classNavigationKeyEvent :: ClassType (NavigationKeyEvent ())
+classNavigationKeyEvent = ClassType (unsafePerformIO (classInfoFindClass "wxNavigationKeyEvent"))
+
+
+{-# NOINLINE classNewBitmapButton #-}
+classNewBitmapButton :: ClassType (NewBitmapButton ())
+classNewBitmapButton = ClassType (unsafePerformIO (classInfoFindClass "wxNewBitmapButton"))
+
+
+{-# NOINLINE classNotebook #-}
+classNotebook :: ClassType (Notebook ())
+classNotebook = ClassType (unsafePerformIO (classInfoFindClass "wxNotebook"))
+
+
+{-# NOINLINE classNotebookEvent #-}
+classNotebookEvent :: ClassType (NotebookEvent ())
+classNotebookEvent = ClassType (unsafePerformIO (classInfoFindClass "wxNotebookEvent"))
+
+
+{-# NOINLINE classNotifyEvent #-}
+classNotifyEvent :: ClassType (NotifyEvent ())
+classNotifyEvent = ClassType (unsafePerformIO (classInfoFindClass "wxNotifyEvent"))
+
+
+{-# NOINLINE classPageSetupDialog #-}
+classPageSetupDialog :: ClassType (PageSetupDialog ())
+classPageSetupDialog = ClassType (unsafePerformIO (classInfoFindClass "wxPageSetupDialog"))
+
+
+{-# NOINLINE classPageSetupDialogData #-}
+classPageSetupDialogData :: ClassType (PageSetupDialogData ())
+classPageSetupDialogData = ClassType (unsafePerformIO (classInfoFindClass "wxPageSetupDialogData"))
+
+
+{-# NOINLINE classPaintDC #-}
+classPaintDC :: ClassType (PaintDC ())
+classPaintDC = ClassType (unsafePerformIO (classInfoFindClass "wxPaintDC"))
+
+
+{-# NOINLINE classPaintEvent #-}
+classPaintEvent :: ClassType (PaintEvent ())
+classPaintEvent = ClassType (unsafePerformIO (classInfoFindClass "wxPaintEvent"))
+
+
+{-# NOINLINE classPalette #-}
+classPalette :: ClassType (Palette ())
+classPalette = ClassType (unsafePerformIO (classInfoFindClass "wxPalette"))
+
+
+{-# NOINLINE classPaletteChangedEvent #-}
+classPaletteChangedEvent :: ClassType (PaletteChangedEvent ())
+classPaletteChangedEvent = ClassType (unsafePerformIO (classInfoFindClass "wxPaletteChangedEvent"))
+
+
+{-# NOINLINE classPanel #-}
+classPanel :: ClassType (Panel ())
+classPanel = ClassType (unsafePerformIO (classInfoFindClass "wxPanel"))
+
+
+{-# NOINLINE classPathList #-}
+classPathList :: ClassType (PathList ())
+classPathList = ClassType (unsafePerformIO (classInfoFindClass "wxPathList"))
+
+
+{-# NOINLINE classPen #-}
+classPen :: ClassType (Pen ())
+classPen = ClassType (unsafePerformIO (classInfoFindClass "wxPen"))
+
+
+{-# NOINLINE classPenList #-}
+classPenList :: ClassType (PenList ())
+classPenList = ClassType (unsafePerformIO (classInfoFindClass "wxPenList"))
+
+
+{-# NOINLINE classPGProperty #-}
+classPGProperty :: ClassType (PGProperty ())
+classPGProperty = ClassType (unsafePerformIO (classInfoFindClass "wxPGProperty"))
+
+
+{-# NOINLINE classPickerBase #-}
+classPickerBase :: ClassType (PickerBase ())
+classPickerBase = ClassType (unsafePerformIO (classInfoFindClass "wxPickerBase"))
+
+
+{-# NOINLINE classPlotCurve #-}
+classPlotCurve :: ClassType (PlotCurve ())
+classPlotCurve = ClassType (unsafePerformIO (classInfoFindClass "wxPlotCurve"))
+
+
+{-# NOINLINE classPlotEvent #-}
+classPlotEvent :: ClassType (PlotEvent ())
+classPlotEvent = ClassType (unsafePerformIO (classInfoFindClass "wxPlotEvent"))
+
+
+{-# NOINLINE classPlotOnOffCurve #-}
+classPlotOnOffCurve :: ClassType (PlotOnOffCurve ())
+classPlotOnOffCurve = ClassType (unsafePerformIO (classInfoFindClass "wxPlotOnOffCurve"))
+
+
+{-# NOINLINE classPlotWindow #-}
+classPlotWindow :: ClassType (PlotWindow ())
+classPlotWindow = ClassType (unsafePerformIO (classInfoFindClass "wxPlotWindow"))
+
+
+{-# NOINLINE classPopupTransientWindow #-}
+classPopupTransientWindow :: ClassType (PopupTransientWindow ())
+classPopupTransientWindow = ClassType (unsafePerformIO (classInfoFindClass "wxPopupTransientWindow"))
+
+
+{-# NOINLINE classPopupWindow #-}
+classPopupWindow :: ClassType (PopupWindow ())
+classPopupWindow = ClassType (unsafePerformIO (classInfoFindClass "wxPopupWindow"))
+
+
+{-# NOINLINE classPostScriptDC #-}
+classPostScriptDC :: ClassType (PostScriptDC ())
+classPostScriptDC = ClassType (unsafePerformIO (classInfoFindClass "wxPostScriptDC"))
+
+
+{-# NOINLINE classPostScriptPrintNativeData #-}
+classPostScriptPrintNativeData :: ClassType (PostScriptPrintNativeData ())
+classPostScriptPrintNativeData = ClassType (unsafePerformIO (classInfoFindClass "wxPostScriptPrintNativeData"))
+
+
+{-# NOINLINE classPreviewCanvas #-}
+classPreviewCanvas :: ClassType (PreviewCanvas ())
+classPreviewCanvas = ClassType (unsafePerformIO (classInfoFindClass "wxPreviewCanvas"))
+
+
+{-# NOINLINE classPreviewControlBar #-}
+classPreviewControlBar :: ClassType (PreviewControlBar ())
+classPreviewControlBar = ClassType (unsafePerformIO (classInfoFindClass "wxPreviewControlBar"))
+
+
+{-# NOINLINE classPreviewFrame #-}
+classPreviewFrame :: ClassType (PreviewFrame ())
+classPreviewFrame = ClassType (unsafePerformIO (classInfoFindClass "wxPreviewFrame"))
+
+
+{-# NOINLINE classPrintData #-}
+classPrintData :: ClassType (PrintData ())
+classPrintData = ClassType (unsafePerformIO (classInfoFindClass "wxPrintData"))
+
+
+{-# NOINLINE classPrintDialog #-}
+classPrintDialog :: ClassType (PrintDialog ())
+classPrintDialog = ClassType (unsafePerformIO (classInfoFindClass "wxPrintDialog"))
+
+
+{-# NOINLINE classPrintDialogData #-}
+classPrintDialogData :: ClassType (PrintDialogData ())
+classPrintDialogData = ClassType (unsafePerformIO (classInfoFindClass "wxPrintDialogData"))
+
+
+{-# NOINLINE classPrinter #-}
+classPrinter :: ClassType (Printer ())
+classPrinter = ClassType (unsafePerformIO (classInfoFindClass "wxPrinter"))
+
+
+{-# NOINLINE classPrinterDC #-}
+classPrinterDC :: ClassType (PrinterDC ())
+classPrinterDC = ClassType (unsafePerformIO (classInfoFindClass "wxPrinterDC"))
+
+
+{-# NOINLINE classPrintout #-}
+classPrintout :: ClassType (Printout ())
+classPrintout = ClassType (unsafePerformIO (classInfoFindClass "wxPrintout"))
+
+
+{-# NOINLINE classPrintPreview #-}
+classPrintPreview :: ClassType (PrintPreview ())
+classPrintPreview = ClassType (unsafePerformIO (classInfoFindClass "wxPrintPreview"))
+
+
+{-# NOINLINE classProcess #-}
+classProcess :: ClassType (Process ())
+classProcess = ClassType (unsafePerformIO (classInfoFindClass "wxProcess"))
+
+
+{-# NOINLINE classProcessEvent #-}
+classProcessEvent :: ClassType (ProcessEvent ())
+classProcessEvent = ClassType (unsafePerformIO (classInfoFindClass "wxProcessEvent"))
+
+
+{-# NOINLINE classProgressDialog #-}
+classProgressDialog :: ClassType (ProgressDialog ())
+classProgressDialog = ClassType (unsafePerformIO (classInfoFindClass "wxProgressDialog"))
+
+
+{-# NOINLINE classPropertyCategory #-}
+classPropertyCategory :: ClassType (PropertyCategory ())
+classPropertyCategory = ClassType (unsafePerformIO (classInfoFindClass "wxPropertyCategory"))
+
+
+{-# NOINLINE classPropertyGrid #-}
+classPropertyGrid :: ClassType (PropertyGrid ())
+classPropertyGrid = ClassType (unsafePerformIO (classInfoFindClass "wxPropertyGrid"))
+
+
+{-# NOINLINE classPropertyGridEvent #-}
+classPropertyGridEvent :: ClassType (PropertyGridEvent ())
+classPropertyGridEvent = ClassType (unsafePerformIO (classInfoFindClass "wxPropertyGridEvent"))
+
+
+{-# NOINLINE classProtocol #-}
+classProtocol :: ClassType (Protocol ())
+classProtocol = ClassType (unsafePerformIO (classInfoFindClass "wxProtocol"))
+
+
+{-# NOINLINE classQuantize #-}
+classQuantize :: ClassType (Quantize ())
+classQuantize = ClassType (unsafePerformIO (classInfoFindClass "wxQuantize"))
+
+
+{-# NOINLINE classQueryCol #-}
+classQueryCol :: ClassType (QueryCol ())
+classQueryCol = ClassType (unsafePerformIO (classInfoFindClass "wxQueryCol"))
+
+
+{-# NOINLINE classQueryField #-}
+classQueryField :: ClassType (QueryField ())
+classQueryField = ClassType (unsafePerformIO (classInfoFindClass "wxQueryField"))
+
+
+{-# NOINLINE classQueryLayoutInfoEvent #-}
+classQueryLayoutInfoEvent :: ClassType (QueryLayoutInfoEvent ())
+classQueryLayoutInfoEvent = ClassType (unsafePerformIO (classInfoFindClass "wxQueryLayoutInfoEvent"))
+
+
+{-# NOINLINE classQueryNewPaletteEvent #-}
+classQueryNewPaletteEvent :: ClassType (QueryNewPaletteEvent ())
+classQueryNewPaletteEvent = ClassType (unsafePerformIO (classInfoFindClass "wxQueryNewPaletteEvent"))
+
+
+{-# NOINLINE classRadioBox #-}
+classRadioBox :: ClassType (RadioBox ())
+classRadioBox = ClassType (unsafePerformIO (classInfoFindClass "wxRadioBox"))
+
+
+{-# NOINLINE classRadioButton #-}
+classRadioButton :: ClassType (RadioButton ())
+classRadioButton = ClassType (unsafePerformIO (classInfoFindClass "wxRadioButton"))
+
+
+{-# NOINLINE classRecordSet #-}
+classRecordSet :: ClassType (RecordSet ())
+classRecordSet = ClassType (unsafePerformIO (classInfoFindClass "wxRecordSet"))
+
+
+{-# NOINLINE classRegion #-}
+classRegion :: ClassType (Region ())
+classRegion = ClassType (unsafePerformIO (classInfoFindClass "wxRegion"))
+
+
+{-# NOINLINE classRegionIterator #-}
+classRegionIterator :: ClassType (RegionIterator ())
+classRegionIterator = ClassType (unsafePerformIO (classInfoFindClass "wxRegionIterator"))
+
+
+{-# NOINLINE classRemotelyScrolledTreeCtrl #-}
+classRemotelyScrolledTreeCtrl :: ClassType (RemotelyScrolledTreeCtrl ())
+classRemotelyScrolledTreeCtrl = ClassType (unsafePerformIO (classInfoFindClass "wxRemotelyScrolledTreeCtrl"))
+
+
+{-# NOINLINE classSashEvent #-}
+classSashEvent :: ClassType (SashEvent ())
+classSashEvent = ClassType (unsafePerformIO (classInfoFindClass "wxSashEvent"))
+
+
+{-# NOINLINE classSashLayoutWindow #-}
+classSashLayoutWindow :: ClassType (SashLayoutWindow ())
+classSashLayoutWindow = ClassType (unsafePerformIO (classInfoFindClass "wxSashLayoutWindow"))
+
+
+{-# NOINLINE classSashWindow #-}
+classSashWindow :: ClassType (SashWindow ())
+classSashWindow = ClassType (unsafePerformIO (classInfoFindClass "wxSashWindow"))
+
+
+{-# NOINLINE classScreenDC #-}
+classScreenDC :: ClassType (ScreenDC ())
+classScreenDC = ClassType (unsafePerformIO (classInfoFindClass "wxScreenDC"))
+
+
+{-# NOINLINE classScrollBar #-}
+classScrollBar :: ClassType (ScrollBar ())
+classScrollBar = ClassType (unsafePerformIO (classInfoFindClass "wxScrollBar"))
+
+
+{-# NOINLINE classScrolledWindow #-}
+classScrolledWindow :: ClassType (ScrolledWindow ())
+classScrolledWindow = ClassType (unsafePerformIO (classInfoFindClass "wxScrolledWindow"))
+
+
+{-# NOINLINE classScrollEvent #-}
+classScrollEvent :: ClassType (ScrollEvent ())
+classScrollEvent = ClassType (unsafePerformIO (classInfoFindClass "wxScrollEvent"))
+
+
+{-# NOINLINE classScrollWinEvent #-}
+classScrollWinEvent :: ClassType (ScrollWinEvent ())
+classScrollWinEvent = ClassType (unsafePerformIO (classInfoFindClass "wxScrollWinEvent"))
+
+
+{-# NOINLINE classServer #-}
+classServer :: ClassType (Server ())
+classServer = ClassType (unsafePerformIO (classInfoFindClass "wxServer"))
+
+
+{-# NOINLINE classServerBase #-}
+classServerBase :: ClassType (ServerBase ())
+classServerBase = ClassType (unsafePerformIO (classInfoFindClass "wxServerBase"))
+
+
+{-# NOINLINE classSetCursorEvent #-}
+classSetCursorEvent :: ClassType (SetCursorEvent ())
+classSetCursorEvent = ClassType (unsafePerformIO (classInfoFindClass "wxSetCursorEvent"))
+
+
+{-# NOINLINE classShowEvent #-}
+classShowEvent :: ClassType (ShowEvent ())
+classShowEvent = ClassType (unsafePerformIO (classInfoFindClass "wxShowEvent"))
+
+
+{-# NOINLINE classSingleChoiceDialog #-}
+classSingleChoiceDialog :: ClassType (SingleChoiceDialog ())
+classSingleChoiceDialog = ClassType (unsafePerformIO (classInfoFindClass "wxSingleChoiceDialog"))
+
+
+{-# NOINLINE classSizeEvent #-}
+classSizeEvent :: ClassType (SizeEvent ())
+classSizeEvent = ClassType (unsafePerformIO (classInfoFindClass "wxSizeEvent"))
+
+
+{-# NOINLINE classSizer #-}
+classSizer :: ClassType (Sizer ())
+classSizer = ClassType (unsafePerformIO (classInfoFindClass "wxSizer"))
+
+
+{-# NOINLINE classSizerItem #-}
+classSizerItem :: ClassType (SizerItem ())
+classSizerItem = ClassType (unsafePerformIO (classInfoFindClass "wxSizerItem"))
+
+
+{-# NOINLINE classSlider #-}
+classSlider :: ClassType (Slider ())
+classSlider = ClassType (unsafePerformIO (classInfoFindClass "wxSlider"))
+
+
+{-# NOINLINE classSlider95 #-}
+classSlider95 :: ClassType (Slider95 ())
+classSlider95 = ClassType (unsafePerformIO (classInfoFindClass "wxSlider95"))
+
+
+{-# NOINLINE classSliderMSW #-}
+classSliderMSW :: ClassType (SliderMSW ())
+classSliderMSW = ClassType (unsafePerformIO (classInfoFindClass "wxSliderMSW"))
+
+
+{-# NOINLINE classSockAddress #-}
+classSockAddress :: ClassType (SockAddress ())
+classSockAddress = ClassType (unsafePerformIO (classInfoFindClass "wxSockAddress"))
+
+
+{-# NOINLINE classSocketBase #-}
+classSocketBase :: ClassType (SocketBase ())
+classSocketBase = ClassType (unsafePerformIO (classInfoFindClass "wxSocketBase"))
+
+
+{-# NOINLINE classSocketClient #-}
+classSocketClient :: ClassType (SocketClient ())
+classSocketClient = ClassType (unsafePerformIO (classInfoFindClass "wxSocketClient"))
+
+
+{-# NOINLINE classSocketEvent #-}
+classSocketEvent :: ClassType (SocketEvent ())
+classSocketEvent = ClassType (unsafePerformIO (classInfoFindClass "wxSocketEvent"))
+
+
+{-# NOINLINE classSocketServer #-}
+classSocketServer :: ClassType (SocketServer ())
+classSocketServer = ClassType (unsafePerformIO (classInfoFindClass "wxSocketServer"))
+
+
+{-# NOINLINE classSound #-}
+classSound :: ClassType (Sound ())
+classSound = ClassType (unsafePerformIO (classInfoFindClass "wxSound"))
+
+
+{-# NOINLINE classSpinButton #-}
+classSpinButton :: ClassType (SpinButton ())
+classSpinButton = ClassType (unsafePerformIO (classInfoFindClass "wxSpinButton"))
+
+
+{-# NOINLINE classSpinCtrl #-}
+classSpinCtrl :: ClassType (SpinCtrl ())
+classSpinCtrl = ClassType (unsafePerformIO (classInfoFindClass "wxSpinCtrl"))
+
+
+{-# NOINLINE classSpinEvent #-}
+classSpinEvent :: ClassType (SpinEvent ())
+classSpinEvent = ClassType (unsafePerformIO (classInfoFindClass "wxSpinEvent"))
+
+
+{-# NOINLINE classSplashScreen #-}
+classSplashScreen :: ClassType (SplashScreen ())
+classSplashScreen = ClassType (unsafePerformIO (classInfoFindClass "wxSplashScreen"))
+
+
+{-# NOINLINE classSplitterEvent #-}
+classSplitterEvent :: ClassType (SplitterEvent ())
+classSplitterEvent = ClassType (unsafePerformIO (classInfoFindClass "wxSplitterEvent"))
+
+
+{-# NOINLINE classSplitterScrolledWindow #-}
+classSplitterScrolledWindow :: ClassType (SplitterScrolledWindow ())
+classSplitterScrolledWindow = ClassType (unsafePerformIO (classInfoFindClass "wxSplitterScrolledWindow"))
+
+
+{-# NOINLINE classSplitterWindow #-}
+classSplitterWindow :: ClassType (SplitterWindow ())
+classSplitterWindow = ClassType (unsafePerformIO (classInfoFindClass "wxSplitterWindow"))
+
+
+{-# NOINLINE classStaticBitmap #-}
+classStaticBitmap :: ClassType (StaticBitmap ())
+classStaticBitmap = ClassType (unsafePerformIO (classInfoFindClass "wxStaticBitmap"))
+
+
+{-# NOINLINE classStaticBox #-}
+classStaticBox :: ClassType (StaticBox ())
+classStaticBox = ClassType (unsafePerformIO (classInfoFindClass "wxStaticBox"))
+
+
+{-# NOINLINE classStaticBoxSizer #-}
+classStaticBoxSizer :: ClassType (StaticBoxSizer ())
+classStaticBoxSizer = ClassType (unsafePerformIO (classInfoFindClass "wxStaticBoxSizer"))
+
+
+{-# NOINLINE classStaticLine #-}
+classStaticLine :: ClassType (StaticLine ())
+classStaticLine = ClassType (unsafePerformIO (classInfoFindClass "wxStaticLine"))
+
+
+{-# NOINLINE classStaticText #-}
+classStaticText :: ClassType (StaticText ())
+classStaticText = ClassType (unsafePerformIO (classInfoFindClass "wxStaticText"))
+
+
+{-# NOINLINE classStatusBar #-}
+classStatusBar :: ClassType (StatusBar ())
+classStatusBar = ClassType (unsafePerformIO (classInfoFindClass "wxStatusBar"))
+
+
+{-# NOINLINE classStringList #-}
+classStringList :: ClassType (StringList ())
+classStringList = ClassType (unsafePerformIO (classInfoFindClass "wxStringList"))
+
+
+{-# NOINLINE classStringProperty #-}
+classStringProperty :: ClassType (StringProperty ())
+classStringProperty = ClassType (unsafePerformIO (classInfoFindClass "wxStringProperty"))
+
+
+{-# NOINLINE classStringTokenizer #-}
+classStringTokenizer :: ClassType (StringTokenizer ())
+classStringTokenizer = ClassType (unsafePerformIO (classInfoFindClass "wxStringTokenizer"))
+
+
+{-# NOINLINE classStyledTextCtrl #-}
+classStyledTextCtrl :: ClassType (StyledTextCtrl ())
+classStyledTextCtrl = ClassType (unsafePerformIO (classInfoFindClass "wxStyledTextCtrl"))
+
+
+{-# NOINLINE classStyledTextEvent #-}
+classStyledTextEvent :: ClassType (StyledTextEvent ())
+classStyledTextEvent = ClassType (unsafePerformIO (classInfoFindClass "wxStyledTextEvent"))
+
+
+{-# NOINLINE classSVGFileDC #-}
+classSVGFileDC :: ClassType (SVGFileDC ())
+classSVGFileDC = ClassType (unsafePerformIO (classInfoFindClass "wxSVGFileDC"))
+
+
+{-# NOINLINE classSysColourChangedEvent #-}
+classSysColourChangedEvent :: ClassType (SysColourChangedEvent ())
+classSysColourChangedEvent = ClassType (unsafePerformIO (classInfoFindClass "wxSysColourChangedEvent"))
+
+
+{-# NOINLINE classSystemOptions #-}
+classSystemOptions :: ClassType (SystemOptions ())
+classSystemOptions = ClassType (unsafePerformIO (classInfoFindClass "wxSystemOptions"))
+
+
+{-# NOINLINE classSystemSettings #-}
+classSystemSettings :: ClassType (SystemSettings ())
+classSystemSettings = ClassType (unsafePerformIO (classInfoFindClass "wxSystemSettings"))
+
+
+{-# NOINLINE classTabCtrl #-}
+classTabCtrl :: ClassType (TabCtrl ())
+classTabCtrl = ClassType (unsafePerformIO (classInfoFindClass "wxTabCtrl"))
+
+
+{-# NOINLINE classTabEvent #-}
+classTabEvent :: ClassType (TabEvent ())
+classTabEvent = ClassType (unsafePerformIO (classInfoFindClass "wxTabEvent"))
+
+
+{-# NOINLINE classTablesInUse #-}
+classTablesInUse :: ClassType (TablesInUse ())
+classTablesInUse = ClassType (unsafePerformIO (classInfoFindClass "wxTablesInUse"))
+
+
+{-# NOINLINE classTaskBarIcon #-}
+classTaskBarIcon :: ClassType (TaskBarIcon ())
+classTaskBarIcon = ClassType (unsafePerformIO (classInfoFindClass "wxTaskBarIcon"))
+
+
+{-# NOINLINE classTextCtrl #-}
+classTextCtrl :: ClassType (TextCtrl ())
+classTextCtrl = ClassType (unsafePerformIO (classInfoFindClass "wxTextCtrl"))
+
+
+{-# NOINLINE classTextEntryDialog #-}
+classTextEntryDialog :: ClassType (TextEntryDialog ())
+classTextEntryDialog = ClassType (unsafePerformIO (classInfoFindClass "wxTextEntryDialog"))
+
+
+{-# NOINLINE classTextValidator #-}
+classTextValidator :: ClassType (TextValidator ())
+classTextValidator = ClassType (unsafePerformIO (classInfoFindClass "wxTextValidator"))
+
+
+{-# NOINLINE classThinSplitterWindow #-}
+classThinSplitterWindow :: ClassType (ThinSplitterWindow ())
+classThinSplitterWindow = ClassType (unsafePerformIO (classInfoFindClass "wxThinSplitterWindow"))
+
+
+{-# NOINLINE classTime #-}
+classTime :: ClassType (Time ())
+classTime = ClassType (unsafePerformIO (classInfoFindClass "wxTime"))
+
+
+{-# NOINLINE classTimer #-}
+classTimer :: ClassType (Timer ())
+classTimer = ClassType (unsafePerformIO (classInfoFindClass "wxTimer"))
+
+
+{-# NOINLINE classTimerBase #-}
+classTimerBase :: ClassType (TimerBase ())
+classTimerBase = ClassType (unsafePerformIO (classInfoFindClass "wxTimerBase"))
+
+
+{-# NOINLINE classTimerEvent #-}
+classTimerEvent :: ClassType (TimerEvent ())
+classTimerEvent = ClassType (unsafePerformIO (classInfoFindClass "wxTimerEvent"))
+
+
+{-# NOINLINE classTimerEx #-}
+classTimerEx :: ClassType (TimerEx ())
+classTimerEx = ClassType (unsafePerformIO (classInfoFindClass "wxTimerEx"))
+
+
+{-# NOINLINE classTipWindow #-}
+classTipWindow :: ClassType (TipWindow ())
+classTipWindow = ClassType (unsafePerformIO (classInfoFindClass "wxTipWindow"))
+
+
+{-# NOINLINE classToggleButton #-}
+classToggleButton :: ClassType (ToggleButton ())
+classToggleButton = ClassType (unsafePerformIO (classInfoFindClass "wxToggleButton"))
+
+
+{-# NOINLINE classToolBar #-}
+classToolBar :: ClassType (ToolBar ())
+classToolBar = ClassType (unsafePerformIO (classInfoFindClass "wxToolBar"))
+
+
+{-# NOINLINE classToolBarBase #-}
+classToolBarBase :: ClassType (ToolBarBase ())
+classToolBarBase = ClassType (unsafePerformIO (classInfoFindClass "wxToolBarBase"))
+
+
+{-# NOINLINE classToolLayoutItem #-}
+classToolLayoutItem :: ClassType (ToolLayoutItem ())
+classToolLayoutItem = ClassType (unsafePerformIO (classInfoFindClass "wxToolLayoutItem"))
+
+
+{-# NOINLINE classToolTip #-}
+classToolTip :: ClassType (ToolTip ())
+classToolTip = ClassType (unsafePerformIO (classInfoFindClass "wxToolTip"))
+
+
+{-# NOINLINE classToolWindow #-}
+classToolWindow :: ClassType (ToolWindow ())
+classToolWindow = ClassType (unsafePerformIO (classInfoFindClass "wxToolWindow"))
+
+
+{-# NOINLINE classTopLevelWindow #-}
+classTopLevelWindow :: ClassType (TopLevelWindow ())
+classTopLevelWindow = ClassType (unsafePerformIO (classInfoFindClass "wxTopLevelWindow"))
+
+
+{-# NOINLINE classTreeCompanionWindow #-}
+classTreeCompanionWindow :: ClassType (TreeCompanionWindow ())
+classTreeCompanionWindow = ClassType (unsafePerformIO (classInfoFindClass "wxTreeCompanionWindow"))
+
+
+{-# NOINLINE classTreeCtrl #-}
+classTreeCtrl :: ClassType (TreeCtrl ())
+classTreeCtrl = ClassType (unsafePerformIO (classInfoFindClass "wxTreeCtrl"))
+
+
+{-# NOINLINE classTreeEvent #-}
+classTreeEvent :: ClassType (TreeEvent ())
+classTreeEvent = ClassType (unsafePerformIO (classInfoFindClass "wxTreeEvent"))
+
+
+{-# NOINLINE classTreeLayout #-}
+classTreeLayout :: ClassType (TreeLayout ())
+classTreeLayout = ClassType (unsafePerformIO (classInfoFindClass "wxTreeLayout"))
+
+
+{-# NOINLINE classTreeLayoutStored #-}
+classTreeLayoutStored :: ClassType (TreeLayoutStored ())
+classTreeLayoutStored = ClassType (unsafePerformIO (classInfoFindClass "wxTreeLayoutStored"))
+
+
+{-# NOINLINE classUpdateUIEvent #-}
+classUpdateUIEvent :: ClassType (UpdateUIEvent ())
+classUpdateUIEvent = ClassType (unsafePerformIO (classInfoFindClass "wxUpdateUIEvent"))
+
+
+{-# NOINLINE classURL #-}
+classURL :: ClassType (URL ())
+classURL = ClassType (unsafePerformIO (classInfoFindClass "wxURL"))
+
+
+{-# NOINLINE classValidator #-}
+classValidator :: ClassType (Validator ())
+classValidator = ClassType (unsafePerformIO (classInfoFindClass "wxValidator"))
+
+
+{-# NOINLINE classVariant #-}
+classVariant :: ClassType (Variant ())
+classVariant = ClassType (unsafePerformIO (classInfoFindClass "wxVariant"))
+
+
+{-# NOINLINE classVariantData #-}
+classVariantData :: ClassType (VariantData ())
+classVariantData = ClassType (unsafePerformIO (classInfoFindClass "wxVariantData"))
+
+
+{-# NOINLINE classView #-}
+classView :: ClassType (View ())
+classView = ClassType (unsafePerformIO (classInfoFindClass "wxView"))
+
+
+{-# NOINLINE classWindow #-}
+classWindow :: ClassType (Window ())
+classWindow = ClassType (unsafePerformIO (classInfoFindClass "wxWindow"))
+
+
+{-# NOINLINE classWindowCreateEvent #-}
+classWindowCreateEvent :: ClassType (WindowCreateEvent ())
+classWindowCreateEvent = ClassType (unsafePerformIO (classInfoFindClass "wxWindowCreateEvent"))
+
+
+{-# NOINLINE classWindowDC #-}
+classWindowDC :: ClassType (WindowDC ())
+classWindowDC = ClassType (unsafePerformIO (classInfoFindClass "wxWindowDC"))
+
+
+{-# NOINLINE classWindowDestroyEvent #-}
+classWindowDestroyEvent :: ClassType (WindowDestroyEvent ())
+classWindowDestroyEvent = ClassType (unsafePerformIO (classInfoFindClass "wxWindowDestroyEvent"))
+
+
+{-# NOINLINE classWizard #-}
+classWizard :: ClassType (Wizard ())
+classWizard = ClassType (unsafePerformIO (classInfoFindClass "wxWizard"))
+
+
+{-# NOINLINE classWizardEvent #-}
+classWizardEvent :: ClassType (WizardEvent ())
+classWizardEvent = ClassType (unsafePerformIO (classInfoFindClass "wxWizardEvent"))
+
+
+{-# NOINLINE classWizardPage #-}
+classWizardPage :: ClassType (WizardPage ())
+classWizardPage = ClassType (unsafePerformIO (classInfoFindClass "wxWizardPage"))
+
+
+{-# NOINLINE classWizardPageSimple #-}
+classWizardPageSimple :: ClassType (WizardPageSimple ())
+classWizardPageSimple = ClassType (unsafePerformIO (classInfoFindClass "wxWizardPageSimple"))
+
+
+{-# NOINLINE classWXCApp #-}
+classWXCApp :: ClassType (WXCApp ())
+classWXCApp = ClassType (unsafePerformIO (classInfoFindClass "ELJApp"))
+
+
+{-# NOINLINE classWXCArtProv #-}
+classWXCArtProv :: ClassType (WXCArtProv ())
+classWXCArtProv = ClassType (unsafePerformIO (classInfoFindClass "ELJArtProv"))
+
+
+{-# NOINLINE classWXCClient #-}
+classWXCClient :: ClassType (WXCClient ())
+classWXCClient = ClassType (unsafePerformIO (classInfoFindClass "ELJClient"))
+
+
+{-# NOINLINE classWXCCommand #-}
+classWXCCommand :: ClassType (WXCCommand ())
+classWXCCommand = ClassType (unsafePerformIO (classInfoFindClass "ELJCommand"))
+
+
+{-# NOINLINE classWXCConnection #-}
+classWXCConnection :: ClassType (WXCConnection ())
+classWXCConnection = ClassType (unsafePerformIO (classInfoFindClass "ELJConnection"))
+
+
+{-# NOINLINE classWXCGridTable #-}
+classWXCGridTable :: ClassType (WXCGridTable ())
+classWXCGridTable = ClassType (unsafePerformIO (classInfoFindClass "ELJGridTable"))
+
+
+{-# NOINLINE classWXCHtmlEvent #-}
+classWXCHtmlEvent :: ClassType (WXCHtmlEvent ())
+classWXCHtmlEvent = ClassType (unsafePerformIO (classInfoFindClass "wxcHtmlEvent"))
+
+
+{-# NOINLINE classWXCHtmlWindow #-}
+classWXCHtmlWindow :: ClassType (WXCHtmlWindow ())
+classWXCHtmlWindow = ClassType (unsafePerformIO (classInfoFindClass "wxcHtmlWindow"))
+
+
+{-# NOINLINE classWXCPlotCurve #-}
+classWXCPlotCurve :: ClassType (WXCPlotCurve ())
+classWXCPlotCurve = ClassType (unsafePerformIO (classInfoFindClass "ELJPlotCurve"))
+
+
+{-# NOINLINE classWXCPreviewControlBar #-}
+classWXCPreviewControlBar :: ClassType (WXCPreviewControlBar ())
+classWXCPreviewControlBar = ClassType (unsafePerformIO (classInfoFindClass "ELJPreviewControlBar"))
+
+
+{-# NOINLINE classWXCPreviewFrame #-}
+classWXCPreviewFrame :: ClassType (WXCPreviewFrame ())
+classWXCPreviewFrame = ClassType (unsafePerformIO (classInfoFindClass "ELJPreviewFrame"))
+
+
+{-# NOINLINE classWXCPrintEvent #-}
+classWXCPrintEvent :: ClassType (WXCPrintEvent ())
+classWXCPrintEvent = ClassType (unsafePerformIO (classInfoFindClass "wxcPrintEvent"))
+
+
+{-# NOINLINE classWXCPrintout #-}
+classWXCPrintout :: ClassType (WXCPrintout ())
+classWXCPrintout = ClassType (unsafePerformIO (classInfoFindClass "wxcPrintout"))
+
+
+{-# NOINLINE classWXCPrintoutHandler #-}
+classWXCPrintoutHandler :: ClassType (WXCPrintoutHandler ())
+classWXCPrintoutHandler = ClassType (unsafePerformIO (classInfoFindClass "wxcPrintoutHandler"))
+
+
+{-# NOINLINE classWXCServer #-}
+classWXCServer :: ClassType (WXCServer ())
+classWXCServer = ClassType (unsafePerformIO (classInfoFindClass "ELJServer"))
+
+
+{-# NOINLINE classWXCTextValidator #-}
+classWXCTextValidator :: ClassType (WXCTextValidator ())
+classWXCTextValidator = ClassType (unsafePerformIO (classInfoFindClass "ELJTextValidator"))
+
+
+{-# NOINLINE classWxObject #-}
+classWxObject :: ClassType (WxObject ())
+classWxObject = ClassType (unsafePerformIO (classInfoFindClass "wxObject"))
+
+
+{-# NOINLINE classXmlResource #-}
+classXmlResource :: ClassType (XmlResource ())
+classXmlResource = ClassType (unsafePerformIO (classInfoFindClass "wxXmlResource"))
+
+
+{-# NOINLINE classXmlResourceHandler #-}
+classXmlResourceHandler :: ClassType (XmlResourceHandler ())
+classXmlResourceHandler = ClassType (unsafePerformIO (classInfoFindClass "wxXmlResourceHandler"))
+
+
+downcastActivateEvent :: ActivateEvent a -> ActivateEvent ()
+downcastActivateEvent obj = objectCast obj
+
+
+downcastApp :: App a -> App ()
+downcastApp obj = objectCast obj
+
+
+downcastArtProvider :: ArtProvider a -> ArtProvider ()
+downcastArtProvider obj = objectCast obj
+
+
+downcastAuiManager :: AuiManager a -> AuiManager ()
+downcastAuiManager obj = objectCast obj
+
+
+downcastAuiManagerEvent :: AuiManagerEvent a -> AuiManagerEvent ()
+downcastAuiManagerEvent obj = objectCast obj
+
+
+downcastAuiNotebook :: AuiNotebook a -> AuiNotebook ()
+downcastAuiNotebook obj = objectCast obj
+
+
+downcastAuiNotebookEvent :: AuiNotebookEvent a -> AuiNotebookEvent ()
+downcastAuiNotebookEvent obj = objectCast obj
+
+
+downcastAuiTabCtrl :: AuiTabCtrl a -> AuiTabCtrl ()
+downcastAuiTabCtrl obj = objectCast obj
+
+
+downcastAuiToolBar :: AuiToolBar a -> AuiToolBar ()
+downcastAuiToolBar obj = objectCast obj
+
+
+downcastAuiToolBarEvent :: AuiToolBarEvent a -> AuiToolBarEvent ()
+downcastAuiToolBarEvent obj = objectCast obj
+
+
+downcastAutoBufferedPaintDC :: AutoBufferedPaintDC a -> AutoBufferedPaintDC ()
+downcastAutoBufferedPaintDC obj = objectCast obj
+
+
+downcastAutomationObject :: AutomationObject a -> AutomationObject ()
+downcastAutomationObject obj = objectCast obj
+
+
+downcastBitmap :: Bitmap a -> Bitmap ()
+downcastBitmap obj = objectCast obj
+
+
+downcastBitmapButton :: BitmapButton a -> BitmapButton ()
+downcastBitmapButton obj = objectCast obj
+
+
+downcastBitmapHandler :: BitmapHandler a -> BitmapHandler ()
+downcastBitmapHandler obj = objectCast obj
+
+
+downcastBitmapToggleButton :: BitmapToggleButton a -> BitmapToggleButton ()
+downcastBitmapToggleButton obj = objectCast obj
+
+
+downcastBookCtrlBase :: BookCtrlBase a -> BookCtrlBase ()
+downcastBookCtrlBase obj = objectCast obj
+
+
+downcastBookCtrlEvent :: BookCtrlEvent a -> BookCtrlEvent ()
+downcastBookCtrlEvent obj = objectCast obj
+
+
+downcastBoolProperty :: BoolProperty a -> BoolProperty ()
+downcastBoolProperty obj = objectCast obj
+
+
+downcastBoxSizer :: BoxSizer a -> BoxSizer ()
+downcastBoxSizer obj = objectCast obj
+
+
+downcastBrush :: Brush a -> Brush ()
+downcastBrush obj = objectCast obj
+
+
+downcastBrushList :: BrushList a -> BrushList ()
+downcastBrushList obj = objectCast obj
+
+
+downcastBufferedDC :: BufferedDC a -> BufferedDC ()
+downcastBufferedDC obj = objectCast obj
+
+
+downcastBufferedPaintDC :: BufferedPaintDC a -> BufferedPaintDC ()
+downcastBufferedPaintDC obj = objectCast obj
+
+
+downcastButton :: Button a -> Button ()
+downcastButton obj = objectCast obj
+
+
+downcastCalculateLayoutEvent :: CalculateLayoutEvent a -> CalculateLayoutEvent ()
+downcastCalculateLayoutEvent obj = objectCast obj
+
+
+downcastCalendarCtrl :: CalendarCtrl a -> CalendarCtrl ()
+downcastCalendarCtrl obj = objectCast obj
+
+
+downcastCalendarEvent :: CalendarEvent a -> CalendarEvent ()
+downcastCalendarEvent obj = objectCast obj
+
+
+downcastCbAntiflickerPlugin :: CbAntiflickerPlugin a -> CbAntiflickerPlugin ()
+downcastCbAntiflickerPlugin obj = objectCast obj
+
+
+downcastCbBarDragPlugin :: CbBarDragPlugin a -> CbBarDragPlugin ()
+downcastCbBarDragPlugin obj = objectCast obj
+
+
+downcastCbBarHintsPlugin :: CbBarHintsPlugin a -> CbBarHintsPlugin ()
+downcastCbBarHintsPlugin obj = objectCast obj
+
+
+downcastCbBarInfo :: CbBarInfo a -> CbBarInfo ()
+downcastCbBarInfo obj = objectCast obj
+
+
+downcastCbBarSpy :: CbBarSpy a -> CbBarSpy ()
+downcastCbBarSpy obj = objectCast obj
+
+
+downcastCbCloseBox :: CbCloseBox a -> CbCloseBox ()
+downcastCbCloseBox obj = objectCast obj
+
+
+downcastCbCollapseBox :: CbCollapseBox a -> CbCollapseBox ()
+downcastCbCollapseBox obj = objectCast obj
+
+
+downcastCbCommonPaneProperties :: CbCommonPaneProperties a -> CbCommonPaneProperties ()
+downcastCbCommonPaneProperties obj = objectCast obj
+
+
+downcastCbCustomizeBarEvent :: CbCustomizeBarEvent a -> CbCustomizeBarEvent ()
+downcastCbCustomizeBarEvent obj = objectCast obj
+
+
+downcastCbCustomizeLayoutEvent :: CbCustomizeLayoutEvent a -> CbCustomizeLayoutEvent ()
+downcastCbCustomizeLayoutEvent obj = objectCast obj
+
+
+downcastCbDimHandlerBase :: CbDimHandlerBase a -> CbDimHandlerBase ()
+downcastCbDimHandlerBase obj = objectCast obj
+
+
+downcastCbDimInfo :: CbDimInfo a -> CbDimInfo ()
+downcastCbDimInfo obj = objectCast obj
+
+
+downcastCbDockBox :: CbDockBox a -> CbDockBox ()
+downcastCbDockBox obj = objectCast obj
+
+
+downcastCbDockPane :: CbDockPane a -> CbDockPane ()
+downcastCbDockPane obj = objectCast obj
+
+
+downcastCbDrawBarDecorEvent :: CbDrawBarDecorEvent a -> CbDrawBarDecorEvent ()
+downcastCbDrawBarDecorEvent obj = objectCast obj
+
+
+downcastCbDrawBarHandlesEvent :: CbDrawBarHandlesEvent a -> CbDrawBarHandlesEvent ()
+downcastCbDrawBarHandlesEvent obj = objectCast obj
+
+
+downcastCbDrawHintRectEvent :: CbDrawHintRectEvent a -> CbDrawHintRectEvent ()
+downcastCbDrawHintRectEvent obj = objectCast obj
+
+
+downcastCbDrawPaneBkGroundEvent :: CbDrawPaneBkGroundEvent a -> CbDrawPaneBkGroundEvent ()
+downcastCbDrawPaneBkGroundEvent obj = objectCast obj
+
+
+downcastCbDrawPaneDecorEvent :: CbDrawPaneDecorEvent a -> CbDrawPaneDecorEvent ()
+downcastCbDrawPaneDecorEvent obj = objectCast obj
+
+
+downcastCbDrawRowBkGroundEvent :: CbDrawRowBkGroundEvent a -> CbDrawRowBkGroundEvent ()
+downcastCbDrawRowBkGroundEvent obj = objectCast obj
+
+
+downcastCbDrawRowDecorEvent :: CbDrawRowDecorEvent a -> CbDrawRowDecorEvent ()
+downcastCbDrawRowDecorEvent obj = objectCast obj
+
+
+downcastCbDrawRowHandlesEvent :: CbDrawRowHandlesEvent a -> CbDrawRowHandlesEvent ()
+downcastCbDrawRowHandlesEvent obj = objectCast obj
+
+
+downcastCbDynToolBarDimHandler :: CbDynToolBarDimHandler a -> CbDynToolBarDimHandler ()
+downcastCbDynToolBarDimHandler obj = objectCast obj
+
+
+downcastCbFinishDrawInAreaEvent :: CbFinishDrawInAreaEvent a -> CbFinishDrawInAreaEvent ()
+downcastCbFinishDrawInAreaEvent obj = objectCast obj
+
+
+downcastCbFloatedBarWindow :: CbFloatedBarWindow a -> CbFloatedBarWindow ()
+downcastCbFloatedBarWindow obj = objectCast obj
+
+
+downcastCbGCUpdatesMgr :: CbGCUpdatesMgr a -> CbGCUpdatesMgr ()
+downcastCbGCUpdatesMgr obj = objectCast obj
+
+
+downcastCbHintAnimationPlugin :: CbHintAnimationPlugin a -> CbHintAnimationPlugin ()
+downcastCbHintAnimationPlugin obj = objectCast obj
+
+
+downcastCbInsertBarEvent :: CbInsertBarEvent a -> CbInsertBarEvent ()
+downcastCbInsertBarEvent obj = objectCast obj
+
+
+downcastCbLayoutRowEvent :: CbLayoutRowEvent a -> CbLayoutRowEvent ()
+downcastCbLayoutRowEvent obj = objectCast obj
+
+
+downcastCbLeftDClickEvent :: CbLeftDClickEvent a -> CbLeftDClickEvent ()
+downcastCbLeftDClickEvent obj = objectCast obj
+
+
+downcastCbLeftDownEvent :: CbLeftDownEvent a -> CbLeftDownEvent ()
+downcastCbLeftDownEvent obj = objectCast obj
+
+
+downcastCbLeftUpEvent :: CbLeftUpEvent a -> CbLeftUpEvent ()
+downcastCbLeftUpEvent obj = objectCast obj
+
+
+downcastCbMiniButton :: CbMiniButton a -> CbMiniButton ()
+downcastCbMiniButton obj = objectCast obj
+
+
+downcastCbMotionEvent :: CbMotionEvent a -> CbMotionEvent ()
+downcastCbMotionEvent obj = objectCast obj
+
+
+downcastCbPaneDrawPlugin :: CbPaneDrawPlugin a -> CbPaneDrawPlugin ()
+downcastCbPaneDrawPlugin obj = objectCast obj
+
+
+downcastCbPluginBase :: CbPluginBase a -> CbPluginBase ()
+downcastCbPluginBase obj = objectCast obj
+
+
+downcastCbPluginEvent :: CbPluginEvent a -> CbPluginEvent ()
+downcastCbPluginEvent obj = objectCast obj
+
+
+downcastCbRemoveBarEvent :: CbRemoveBarEvent a -> CbRemoveBarEvent ()
+downcastCbRemoveBarEvent obj = objectCast obj
+
+
+downcastCbResizeBarEvent :: CbResizeBarEvent a -> CbResizeBarEvent ()
+downcastCbResizeBarEvent obj = objectCast obj
+
+
+downcastCbResizeRowEvent :: CbResizeRowEvent a -> CbResizeRowEvent ()
+downcastCbResizeRowEvent obj = objectCast obj
+
+
+downcastCbRightDownEvent :: CbRightDownEvent a -> CbRightDownEvent ()
+downcastCbRightDownEvent obj = objectCast obj
+
+
+downcastCbRightUpEvent :: CbRightUpEvent a -> CbRightUpEvent ()
+downcastCbRightUpEvent obj = objectCast obj
+
+
+downcastCbRowDragPlugin :: CbRowDragPlugin a -> CbRowDragPlugin ()
+downcastCbRowDragPlugin obj = objectCast obj
+
+
+downcastCbRowInfo :: CbRowInfo a -> CbRowInfo ()
+downcastCbRowInfo obj = objectCast obj
+
+
+downcastCbRowLayoutPlugin :: CbRowLayoutPlugin a -> CbRowLayoutPlugin ()
+downcastCbRowLayoutPlugin obj = objectCast obj
+
+
+downcastCbSimpleCustomizationPlugin :: CbSimpleCustomizationPlugin a -> CbSimpleCustomizationPlugin ()
+downcastCbSimpleCustomizationPlugin obj = objectCast obj
+
+
+downcastCbSimpleUpdatesMgr :: CbSimpleUpdatesMgr a -> CbSimpleUpdatesMgr ()
+downcastCbSimpleUpdatesMgr obj = objectCast obj
+
+
+downcastCbSizeBarWndEvent :: CbSizeBarWndEvent a -> CbSizeBarWndEvent ()
+downcastCbSizeBarWndEvent obj = objectCast obj
+
+
+downcastCbStartBarDraggingEvent :: CbStartBarDraggingEvent a -> CbStartBarDraggingEvent ()
+downcastCbStartBarDraggingEvent obj = objectCast obj
+
+
+downcastCbStartDrawInAreaEvent :: CbStartDrawInAreaEvent a -> CbStartDrawInAreaEvent ()
+downcastCbStartDrawInAreaEvent obj = objectCast obj
+
+
+downcastCbUpdatesManagerBase :: CbUpdatesManagerBase a -> CbUpdatesManagerBase ()
+downcastCbUpdatesManagerBase obj = objectCast obj
+
+
+downcastCheckBox :: CheckBox a -> CheckBox ()
+downcastCheckBox obj = objectCast obj
+
+
+downcastCheckListBox :: CheckListBox a -> CheckListBox ()
+downcastCheckListBox obj = objectCast obj
+
+
+downcastChoice :: Choice a -> Choice ()
+downcastChoice obj = objectCast obj
+
+
+downcastClient :: Client a -> Client ()
+downcastClient obj = objectCast obj
+
+
+downcastClientBase :: ClientBase a -> ClientBase ()
+downcastClientBase obj = objectCast obj
+
+
+downcastClientDC :: ClientDC a -> ClientDC ()
+downcastClientDC obj = objectCast obj
+
+
+downcastClipboard :: Clipboard a -> Clipboard ()
+downcastClipboard obj = objectCast obj
+
+
+downcastCloseEvent :: CloseEvent a -> CloseEvent ()
+downcastCloseEvent obj = objectCast obj
+
+
+downcastClosure :: Closure a -> Closure ()
+downcastClosure obj = objectCast obj
+
+
+downcastColour :: Colour a -> Colour ()
+downcastColour obj = objectCast obj
+
+
+downcastColourData :: ColourData a -> ColourData ()
+downcastColourData obj = objectCast obj
+
+
+downcastColourDatabase :: ColourDatabase a -> ColourDatabase ()
+downcastColourDatabase obj = objectCast obj
+
+
+downcastColourDialog :: ColourDialog a -> ColourDialog ()
+downcastColourDialog obj = objectCast obj
+
+
+downcastColourPickerCtrl :: ColourPickerCtrl a -> ColourPickerCtrl ()
+downcastColourPickerCtrl obj = objectCast obj
+
+
+downcastComboBox :: ComboBox a -> ComboBox ()
+downcastComboBox obj = objectCast obj
+
+
+downcastCommand :: Command a -> Command ()
+downcastCommand obj = objectCast obj
+
+
+downcastCommandEvent :: CommandEvent a -> CommandEvent ()
+downcastCommandEvent obj = objectCast obj
+
+
+downcastCommandProcessor :: CommandProcessor a -> CommandProcessor ()
+downcastCommandProcessor obj = objectCast obj
+
+
+downcastConnection :: Connection a -> Connection ()
+downcastConnection obj = objectCast obj
+
+
+downcastConnectionBase :: ConnectionBase a -> ConnectionBase ()
+downcastConnectionBase obj = objectCast obj
+
+
+downcastContextHelp :: ContextHelp a -> ContextHelp ()
+downcastContextHelp obj = objectCast obj
+
+
+downcastContextHelpButton :: ContextHelpButton a -> ContextHelpButton ()
+downcastContextHelpButton obj = objectCast obj
+
+
+downcastControl :: Control a -> Control ()
+downcastControl obj = objectCast obj
+
+
+downcastCursor :: Cursor a -> Cursor ()
+downcastCursor obj = objectCast obj
+
+
+downcastDatabase :: Database a -> Database ()
+downcastDatabase obj = objectCast obj
+
+
+downcastDateProperty :: DateProperty a -> DateProperty ()
+downcastDateProperty obj = objectCast obj
+
+
+downcastDC :: DC a -> DC ()
+downcastDC obj = objectCast obj
+
+
+downcastDDEClient :: DDEClient a -> DDEClient ()
+downcastDDEClient obj = objectCast obj
+
+
+downcastDDEConnection :: DDEConnection a -> DDEConnection ()
+downcastDDEConnection obj = objectCast obj
+
+
+downcastDDEServer :: DDEServer a -> DDEServer ()
+downcastDDEServer obj = objectCast obj
+
+
+downcastDialog :: Dialog a -> Dialog ()
+downcastDialog obj = objectCast obj
+
+
+downcastDialUpEvent :: DialUpEvent a -> DialUpEvent ()
+downcastDialUpEvent obj = objectCast obj
+
+
+downcastDirDialog :: DirDialog a -> DirDialog ()
+downcastDirDialog obj = objectCast obj
+
+
+downcastDocChildFrame :: DocChildFrame a -> DocChildFrame ()
+downcastDocChildFrame obj = objectCast obj
+
+
+downcastDocManager :: DocManager a -> DocManager ()
+downcastDocManager obj = objectCast obj
+
+
+downcastDocMDIChildFrame :: DocMDIChildFrame a -> DocMDIChildFrame ()
+downcastDocMDIChildFrame obj = objectCast obj
+
+
+downcastDocMDIParentFrame :: DocMDIParentFrame a -> DocMDIParentFrame ()
+downcastDocMDIParentFrame obj = objectCast obj
+
+
+downcastDocParentFrame :: DocParentFrame a -> DocParentFrame ()
+downcastDocParentFrame obj = objectCast obj
+
+
+downcastDocTemplate :: DocTemplate a -> DocTemplate ()
+downcastDocTemplate obj = objectCast obj
+
+
+downcastDocument :: Document a -> Document ()
+downcastDocument obj = objectCast obj
+
+
+downcastDragImage :: DragImage a -> DragImage ()
+downcastDragImage obj = objectCast obj
+
+
+downcastDrawControl :: DrawControl a -> DrawControl ()
+downcastDrawControl obj = objectCast obj
+
+
+downcastDrawWindow :: DrawWindow a -> DrawWindow ()
+downcastDrawWindow obj = objectCast obj
+
+
+downcastDropFilesEvent :: DropFilesEvent a -> DropFilesEvent ()
+downcastDropFilesEvent obj = objectCast obj
+
+
+downcastDynamicSashWindow :: DynamicSashWindow a -> DynamicSashWindow ()
+downcastDynamicSashWindow obj = objectCast obj
+
+
+downcastDynamicToolBar :: DynamicToolBar a -> DynamicToolBar ()
+downcastDynamicToolBar obj = objectCast obj
+
+
+downcastDynToolInfo :: DynToolInfo a -> DynToolInfo ()
+downcastDynToolInfo obj = objectCast obj
+
+
+downcastEditableListBox :: EditableListBox a -> EditableListBox ()
+downcastEditableListBox obj = objectCast obj
+
+
+downcastEncodingConverter :: EncodingConverter a -> EncodingConverter ()
+downcastEncodingConverter obj = objectCast obj
+
+
+downcastEraseEvent :: EraseEvent a -> EraseEvent ()
+downcastEraseEvent obj = objectCast obj
+
+
+downcastEvent :: Event a -> Event ()
+downcastEvent obj = objectCast obj
+
+
+downcastEvtHandler :: EvtHandler a -> EvtHandler ()
+downcastEvtHandler obj = objectCast obj
+
+
+downcastExprDatabase :: ExprDatabase a -> ExprDatabase ()
+downcastExprDatabase obj = objectCast obj
+
+
+downcastFileDialog :: FileDialog a -> FileDialog ()
+downcastFileDialog obj = objectCast obj
+
+
+downcastFileHistory :: FileHistory a -> FileHistory ()
+downcastFileHistory obj = objectCast obj
+
+
+downcastFileProperty :: FileProperty a -> FileProperty ()
+downcastFileProperty obj = objectCast obj
+
+
+downcastFileSystem :: FileSystem a -> FileSystem ()
+downcastFileSystem obj = objectCast obj
+
+
+downcastFileSystemHandler :: FileSystemHandler a -> FileSystemHandler ()
+downcastFileSystemHandler obj = objectCast obj
+
+
+downcastFindDialogEvent :: FindDialogEvent a -> FindDialogEvent ()
+downcastFindDialogEvent obj = objectCast obj
+
+
+downcastFindReplaceData :: FindReplaceData a -> FindReplaceData ()
+downcastFindReplaceData obj = objectCast obj
+
+
+downcastFindReplaceDialog :: FindReplaceDialog a -> FindReplaceDialog ()
+downcastFindReplaceDialog obj = objectCast obj
+
+
+downcastFlexGridSizer :: FlexGridSizer a -> FlexGridSizer ()
+downcastFlexGridSizer obj = objectCast obj
+
+
+downcastFloatProperty :: FloatProperty a -> FloatProperty ()
+downcastFloatProperty obj = objectCast obj
+
+
+downcastFocusEvent :: FocusEvent a -> FocusEvent ()
+downcastFocusEvent obj = objectCast obj
+
+
+downcastFont :: Font a -> Font ()
+downcastFont obj = objectCast obj
+
+
+downcastFontData :: FontData a -> FontData ()
+downcastFontData obj = objectCast obj
+
+
+downcastFontDialog :: FontDialog a -> FontDialog ()
+downcastFontDialog obj = objectCast obj
+
+
+downcastFontList :: FontList a -> FontList ()
+downcastFontList obj = objectCast obj
+
+
+downcastFrame :: Frame a -> Frame ()
+downcastFrame obj = objectCast obj
+
+
+downcastFrameLayout :: FrameLayout a -> FrameLayout ()
+downcastFrameLayout obj = objectCast obj
+
+
+downcastFSFile :: FSFile a -> FSFile ()
+downcastFSFile obj = objectCast obj
+
+
+downcastFTP :: FTP a -> FTP ()
+downcastFTP obj = objectCast obj
+
+
+downcastGauge :: Gauge a -> Gauge ()
+downcastGauge obj = objectCast obj
+
+
+downcastGauge95 :: Gauge95 a -> Gauge95 ()
+downcastGauge95 obj = objectCast obj
+
+
+downcastGaugeMSW :: GaugeMSW a -> GaugeMSW ()
+downcastGaugeMSW obj = objectCast obj
+
+
+downcastGCDC :: GCDC a -> GCDC ()
+downcastGCDC obj = objectCast obj
+
+
+downcastGDIObject :: GDIObject a -> GDIObject ()
+downcastGDIObject obj = objectCast obj
+
+
+downcastGenericDirCtrl :: GenericDirCtrl a -> GenericDirCtrl ()
+downcastGenericDirCtrl obj = objectCast obj
+
+
+downcastGenericDragImage :: GenericDragImage a -> GenericDragImage ()
+downcastGenericDragImage obj = objectCast obj
+
+
+downcastGenericValidator :: GenericValidator a -> GenericValidator ()
+downcastGenericValidator obj = objectCast obj
+
+
+downcastGLCanvas :: GLCanvas a -> GLCanvas ()
+downcastGLCanvas obj = objectCast obj
+
+
+downcastGLContext :: GLContext a -> GLContext ()
+downcastGLContext obj = objectCast obj
+
+
+downcastGraphicsBrush :: GraphicsBrush a -> GraphicsBrush ()
+downcastGraphicsBrush obj = objectCast obj
+
+
+downcastGraphicsContext :: GraphicsContext a -> GraphicsContext ()
+downcastGraphicsContext obj = objectCast obj
+
+
+downcastGraphicsFont :: GraphicsFont a -> GraphicsFont ()
+downcastGraphicsFont obj = objectCast obj
+
+
+downcastGraphicsMatrix :: GraphicsMatrix a -> GraphicsMatrix ()
+downcastGraphicsMatrix obj = objectCast obj
+
+
+downcastGraphicsObject :: GraphicsObject a -> GraphicsObject ()
+downcastGraphicsObject obj = objectCast obj
+
+
+downcastGraphicsPath :: GraphicsPath a -> GraphicsPath ()
+downcastGraphicsPath obj = objectCast obj
+
+
+downcastGraphicsPen :: GraphicsPen a -> GraphicsPen ()
+downcastGraphicsPen obj = objectCast obj
+
+
+downcastGraphicsRenderer :: GraphicsRenderer a -> GraphicsRenderer ()
+downcastGraphicsRenderer obj = objectCast obj
+
+
+downcastGrid :: Grid a -> Grid ()
+downcastGrid obj = objectCast obj
+
+
+downcastGridEditorCreatedEvent :: GridEditorCreatedEvent a -> GridEditorCreatedEvent ()
+downcastGridEditorCreatedEvent obj = objectCast obj
+
+
+downcastGridEvent :: GridEvent a -> GridEvent ()
+downcastGridEvent obj = objectCast obj
+
+
+downcastGridRangeSelectEvent :: GridRangeSelectEvent a -> GridRangeSelectEvent ()
+downcastGridRangeSelectEvent obj = objectCast obj
+
+
+downcastGridSizeEvent :: GridSizeEvent a -> GridSizeEvent ()
+downcastGridSizeEvent obj = objectCast obj
+
+
+downcastGridSizer :: GridSizer a -> GridSizer ()
+downcastGridSizer obj = objectCast obj
+
+
+downcastGridTableBase :: GridTableBase a -> GridTableBase ()
+downcastGridTableBase obj = objectCast obj
+
+
+downcastHelpController :: HelpController a -> HelpController ()
+downcastHelpController obj = objectCast obj
+
+
+downcastHelpControllerBase :: HelpControllerBase a -> HelpControllerBase ()
+downcastHelpControllerBase obj = objectCast obj
+
+
+downcastHelpEvent :: HelpEvent a -> HelpEvent ()
+downcastHelpEvent obj = objectCast obj
+
+
+downcastHtmlCell :: HtmlCell a -> HtmlCell ()
+downcastHtmlCell obj = objectCast obj
+
+
+downcastHtmlColourCell :: HtmlColourCell a -> HtmlColourCell ()
+downcastHtmlColourCell obj = objectCast obj
+
+
+downcastHtmlContainerCell :: HtmlContainerCell a -> HtmlContainerCell ()
+downcastHtmlContainerCell obj = objectCast obj
+
+
+downcastHtmlDCRenderer :: HtmlDCRenderer a -> HtmlDCRenderer ()
+downcastHtmlDCRenderer obj = objectCast obj
+
+
+downcastHtmlEasyPrinting :: HtmlEasyPrinting a -> HtmlEasyPrinting ()
+downcastHtmlEasyPrinting obj = objectCast obj
+
+
+downcastHtmlFilter :: HtmlFilter a -> HtmlFilter ()
+downcastHtmlFilter obj = objectCast obj
+
+
+downcastHtmlHelpController :: HtmlHelpController a -> HtmlHelpController ()
+downcastHtmlHelpController obj = objectCast obj
+
+
+downcastHtmlHelpData :: HtmlHelpData a -> HtmlHelpData ()
+downcastHtmlHelpData obj = objectCast obj
+
+
+downcastHtmlHelpFrame :: HtmlHelpFrame a -> HtmlHelpFrame ()
+downcastHtmlHelpFrame obj = objectCast obj
+
+
+downcastHtmlLinkInfo :: HtmlLinkInfo a -> HtmlLinkInfo ()
+downcastHtmlLinkInfo obj = objectCast obj
+
+
+downcastHtmlParser :: HtmlParser a -> HtmlParser ()
+downcastHtmlParser obj = objectCast obj
+
+
+downcastHtmlPrintout :: HtmlPrintout a -> HtmlPrintout ()
+downcastHtmlPrintout obj = objectCast obj
+
+
+downcastHtmlTag :: HtmlTag a -> HtmlTag ()
+downcastHtmlTag obj = objectCast obj
+
+
+downcastHtmlTagHandler :: HtmlTagHandler a -> HtmlTagHandler ()
+downcastHtmlTagHandler obj = objectCast obj
+
+
+downcastHtmlTagsModule :: HtmlTagsModule a -> HtmlTagsModule ()
+downcastHtmlTagsModule obj = objectCast obj
+
+
+downcastHtmlWidgetCell :: HtmlWidgetCell a -> HtmlWidgetCell ()
+downcastHtmlWidgetCell obj = objectCast obj
+
+
+downcastHtmlWindow :: HtmlWindow a -> HtmlWindow ()
+downcastHtmlWindow obj = objectCast obj
+
+
+downcastHtmlWinParser :: HtmlWinParser a -> HtmlWinParser ()
+downcastHtmlWinParser obj = objectCast obj
+
+
+downcastHtmlWinTagHandler :: HtmlWinTagHandler a -> HtmlWinTagHandler ()
+downcastHtmlWinTagHandler obj = objectCast obj
+
+
+downcastHTTP :: HTTP a -> HTTP ()
+downcastHTTP obj = objectCast obj
+
+
+downcastHyperlinkCtrl :: HyperlinkCtrl a -> HyperlinkCtrl ()
+downcastHyperlinkCtrl obj = objectCast obj
+
+
+downcastIcon :: Icon a -> Icon ()
+downcastIcon obj = objectCast obj
+
+
+downcastIconizeEvent :: IconizeEvent a -> IconizeEvent ()
+downcastIconizeEvent obj = objectCast obj
+
+
+downcastIdleEvent :: IdleEvent a -> IdleEvent ()
+downcastIdleEvent obj = objectCast obj
+
+
+downcastImage :: Image a -> Image ()
+downcastImage obj = objectCast obj
+
+
+downcastImageHandler :: ImageHandler a -> ImageHandler ()
+downcastImageHandler obj = objectCast obj
+
+
+downcastImageList :: ImageList a -> ImageList ()
+downcastImageList obj = objectCast obj
+
+
+downcastIndividualLayoutConstraint :: IndividualLayoutConstraint a -> IndividualLayoutConstraint ()
+downcastIndividualLayoutConstraint obj = objectCast obj
+
+
+downcastInitDialogEvent :: InitDialogEvent a -> InitDialogEvent ()
+downcastInitDialogEvent obj = objectCast obj
+
+
+downcastInputSinkEvent :: InputSinkEvent a -> InputSinkEvent ()
+downcastInputSinkEvent obj = objectCast obj
+
+
+downcastIntProperty :: IntProperty a -> IntProperty ()
+downcastIntProperty obj = objectCast obj
+
+
+downcastIPV4address :: IPV4address a -> IPV4address ()
+downcastIPV4address obj = objectCast obj
+
+
+downcastJoystick :: Joystick a -> Joystick ()
+downcastJoystick obj = objectCast obj
+
+
+downcastJoystickEvent :: JoystickEvent a -> JoystickEvent ()
+downcastJoystickEvent obj = objectCast obj
+
+
+downcastKeyEvent :: KeyEvent a -> KeyEvent ()
+downcastKeyEvent obj = objectCast obj
+
+
+downcastLayoutAlgorithm :: LayoutAlgorithm a -> LayoutAlgorithm ()
+downcastLayoutAlgorithm obj = objectCast obj
+
+
+downcastLayoutConstraints :: LayoutConstraints a -> LayoutConstraints ()
+downcastLayoutConstraints obj = objectCast obj
+
+
+downcastLEDNumberCtrl :: LEDNumberCtrl a -> LEDNumberCtrl ()
+downcastLEDNumberCtrl obj = objectCast obj
+
+
+downcastList :: List a -> List ()
+downcastList obj = objectCast obj
+
+
+downcastListBox :: ListBox a -> ListBox ()
+downcastListBox obj = objectCast obj
+
+
+downcastListCtrl :: ListCtrl a -> ListCtrl ()
+downcastListCtrl obj = objectCast obj
+
+
+downcastListEvent :: ListEvent a -> ListEvent ()
+downcastListEvent obj = objectCast obj
+
+
+downcastListItem :: ListItem a -> ListItem ()
+downcastListItem obj = objectCast obj
+
+
+downcastMask :: Mask a -> Mask ()
+downcastMask obj = objectCast obj
+
+
+downcastMaximizeEvent :: MaximizeEvent a -> MaximizeEvent ()
+downcastMaximizeEvent obj = objectCast obj
+
+
+downcastMDIChildFrame :: MDIChildFrame a -> MDIChildFrame ()
+downcastMDIChildFrame obj = objectCast obj
+
+
+downcastMDIClientWindow :: MDIClientWindow a -> MDIClientWindow ()
+downcastMDIClientWindow obj = objectCast obj
+
+
+downcastMDIParentFrame :: MDIParentFrame a -> MDIParentFrame ()
+downcastMDIParentFrame obj = objectCast obj
+
+
+downcastMediaCtrl :: MediaCtrl a -> MediaCtrl ()
+downcastMediaCtrl obj = objectCast obj
+
+
+downcastMediaEvent :: MediaEvent a -> MediaEvent ()
+downcastMediaEvent obj = objectCast obj
+
+
+downcastMemoryDC :: MemoryDC a -> MemoryDC ()
+downcastMemoryDC obj = objectCast obj
+
+
+downcastMemoryFSHandler :: MemoryFSHandler a -> MemoryFSHandler ()
+downcastMemoryFSHandler obj = objectCast obj
+
+
+downcastMenu :: Menu a -> Menu ()
+downcastMenu obj = objectCast obj
+
+
+downcastMenuBar :: MenuBar a -> MenuBar ()
+downcastMenuBar obj = objectCast obj
+
+
+downcastMenuEvent :: MenuEvent a -> MenuEvent ()
+downcastMenuEvent obj = objectCast obj
+
+
+downcastMenuItem :: MenuItem a -> MenuItem ()
+downcastMenuItem obj = objectCast obj
+
+
+downcastMessageDialog :: MessageDialog a -> MessageDialog ()
+downcastMessageDialog obj = objectCast obj
+
+
+downcastMetafile :: Metafile a -> Metafile ()
+downcastMetafile obj = objectCast obj
+
+
+downcastMetafileDC :: MetafileDC a -> MetafileDC ()
+downcastMetafileDC obj = objectCast obj
+
+
+downcastMiniFrame :: MiniFrame a -> MiniFrame ()
+downcastMiniFrame obj = objectCast obj
+
+
+downcastMirrorDC :: MirrorDC a -> MirrorDC ()
+downcastMirrorDC obj = objectCast obj
+
+
+downcastModule :: Module a -> Module ()
+downcastModule obj = objectCast obj
+
+
+downcastMouseCaptureChangedEvent :: MouseCaptureChangedEvent a -> MouseCaptureChangedEvent ()
+downcastMouseCaptureChangedEvent obj = objectCast obj
+
+
+downcastMouseEvent :: MouseEvent a -> MouseEvent ()
+downcastMouseEvent obj = objectCast obj
+
+
+downcastMoveEvent :: MoveEvent a -> MoveEvent ()
+downcastMoveEvent obj = objectCast obj
+
+
+downcastMultiCellCanvas :: MultiCellCanvas a -> MultiCellCanvas ()
+downcastMultiCellCanvas obj = objectCast obj
+
+
+downcastMultiCellItemHandle :: MultiCellItemHandle a -> MultiCellItemHandle ()
+downcastMultiCellItemHandle obj = objectCast obj
+
+
+downcastMultiCellSizer :: MultiCellSizer a -> MultiCellSizer ()
+downcastMultiCellSizer obj = objectCast obj
+
+
+downcastNavigationKeyEvent :: NavigationKeyEvent a -> NavigationKeyEvent ()
+downcastNavigationKeyEvent obj = objectCast obj
+
+
+downcastNewBitmapButton :: NewBitmapButton a -> NewBitmapButton ()
+downcastNewBitmapButton obj = objectCast obj
+
+
+downcastNotebook :: Notebook a -> Notebook ()
+downcastNotebook obj = objectCast obj
+
+
+downcastNotebookEvent :: NotebookEvent a -> NotebookEvent ()
+downcastNotebookEvent obj = objectCast obj
+
+
+downcastNotifyEvent :: NotifyEvent a -> NotifyEvent ()
+downcastNotifyEvent obj = objectCast obj
+
+
+downcastPageSetupDialog :: PageSetupDialog a -> PageSetupDialog ()
+downcastPageSetupDialog obj = objectCast obj
+
+
+downcastPageSetupDialogData :: PageSetupDialogData a -> PageSetupDialogData ()
+downcastPageSetupDialogData obj = objectCast obj
+
+
+downcastPaintDC :: PaintDC a -> PaintDC ()
+downcastPaintDC obj = objectCast obj
+
+
+downcastPaintEvent :: PaintEvent a -> PaintEvent ()
+downcastPaintEvent obj = objectCast obj
+
+
+downcastPalette :: Palette a -> Palette ()
+downcastPalette obj = objectCast obj
+
+
+downcastPaletteChangedEvent :: PaletteChangedEvent a -> PaletteChangedEvent ()
+downcastPaletteChangedEvent obj = objectCast obj
+
+
+downcastPanel :: Panel a -> Panel ()
+downcastPanel obj = objectCast obj
+
+
+downcastPathList :: PathList a -> PathList ()
+downcastPathList obj = objectCast obj
+
+
+downcastPen :: Pen a -> Pen ()
+downcastPen obj = objectCast obj
+
+
+downcastPenList :: PenList a -> PenList ()
+downcastPenList obj = objectCast obj
+
+
+downcastPGProperty :: PGProperty a -> PGProperty ()
+downcastPGProperty obj = objectCast obj
+
+
+downcastPickerBase :: PickerBase a -> PickerBase ()
+downcastPickerBase obj = objectCast obj
+
+
+downcastPlotCurve :: PlotCurve a -> PlotCurve ()
+downcastPlotCurve obj = objectCast obj
+
+
+downcastPlotEvent :: PlotEvent a -> PlotEvent ()
+downcastPlotEvent obj = objectCast obj
+
+
+downcastPlotOnOffCurve :: PlotOnOffCurve a -> PlotOnOffCurve ()
+downcastPlotOnOffCurve obj = objectCast obj
+
+
+downcastPlotWindow :: PlotWindow a -> PlotWindow ()
+downcastPlotWindow obj = objectCast obj
+
+
+downcastPopupTransientWindow :: PopupTransientWindow a -> PopupTransientWindow ()
+downcastPopupTransientWindow obj = objectCast obj
+
+
+downcastPopupWindow :: PopupWindow a -> PopupWindow ()
+downcastPopupWindow obj = objectCast obj
+
+
+downcastPostScriptDC :: PostScriptDC a -> PostScriptDC ()
+downcastPostScriptDC obj = objectCast obj
+
+
+downcastPostScriptPrintNativeData :: PostScriptPrintNativeData a -> PostScriptPrintNativeData ()
+downcastPostScriptPrintNativeData obj = objectCast obj
+
+
+downcastPreviewCanvas :: PreviewCanvas a -> PreviewCanvas ()
+downcastPreviewCanvas obj = objectCast obj
+
+
+downcastPreviewControlBar :: PreviewControlBar a -> PreviewControlBar ()
+downcastPreviewControlBar obj = objectCast obj
+
+
+downcastPreviewFrame :: PreviewFrame a -> PreviewFrame ()
+downcastPreviewFrame obj = objectCast obj
+
+
+downcastPrintData :: PrintData a -> PrintData ()
+downcastPrintData obj = objectCast obj
+
+
+downcastPrintDialog :: PrintDialog a -> PrintDialog ()
+downcastPrintDialog obj = objectCast obj
+
+
+downcastPrintDialogData :: PrintDialogData a -> PrintDialogData ()
+downcastPrintDialogData obj = objectCast obj
+
+
+downcastPrinter :: Printer a -> Printer ()
+downcastPrinter obj = objectCast obj
+
+
+downcastPrinterDC :: PrinterDC a -> PrinterDC ()
+downcastPrinterDC obj = objectCast obj
+
+
+downcastPrintout :: Printout a -> Printout ()
+downcastPrintout obj = objectCast obj
+
+
+downcastPrintPreview :: PrintPreview a -> PrintPreview ()
+downcastPrintPreview obj = objectCast obj
+
+
+downcastProcess :: Process a -> Process ()
+downcastProcess obj = objectCast obj
+
+
+downcastProcessEvent :: ProcessEvent a -> ProcessEvent ()
+downcastProcessEvent obj = objectCast obj
+
+
+downcastProgressDialog :: ProgressDialog a -> ProgressDialog ()
+downcastProgressDialog obj = objectCast obj
+
+
+downcastPropertyCategory :: PropertyCategory a -> PropertyCategory ()
+downcastPropertyCategory obj = objectCast obj
+
+
+downcastPropertyGrid :: PropertyGrid a -> PropertyGrid ()
+downcastPropertyGrid obj = objectCast obj
+
+
+downcastPropertyGridEvent :: PropertyGridEvent a -> PropertyGridEvent ()
+downcastPropertyGridEvent obj = objectCast obj
+
+
+downcastProtocol :: Protocol a -> Protocol ()
+downcastProtocol obj = objectCast obj
+
+
+downcastQuantize :: Quantize a -> Quantize ()
+downcastQuantize obj = objectCast obj
+
+
+downcastQueryCol :: QueryCol a -> QueryCol ()
+downcastQueryCol obj = objectCast obj
+
+
+downcastQueryField :: QueryField a -> QueryField ()
+downcastQueryField obj = objectCast obj
+
+
+downcastQueryLayoutInfoEvent :: QueryLayoutInfoEvent a -> QueryLayoutInfoEvent ()
+downcastQueryLayoutInfoEvent obj = objectCast obj
+
+
+downcastQueryNewPaletteEvent :: QueryNewPaletteEvent a -> QueryNewPaletteEvent ()
+downcastQueryNewPaletteEvent obj = objectCast obj
+
+
+downcastRadioBox :: RadioBox a -> RadioBox ()
+downcastRadioBox obj = objectCast obj
+
+
+downcastRadioButton :: RadioButton a -> RadioButton ()
+downcastRadioButton obj = objectCast obj
+
+
+downcastRecordSet :: RecordSet a -> RecordSet ()
+downcastRecordSet obj = objectCast obj
+
+
+downcastRegion :: Region a -> Region ()
+downcastRegion obj = objectCast obj
+
+
+downcastRegionIterator :: RegionIterator a -> RegionIterator ()
+downcastRegionIterator obj = objectCast obj
+
+
+downcastRemotelyScrolledTreeCtrl :: RemotelyScrolledTreeCtrl a -> RemotelyScrolledTreeCtrl ()
+downcastRemotelyScrolledTreeCtrl obj = objectCast obj
+
+
+downcastSashEvent :: SashEvent a -> SashEvent ()
+downcastSashEvent obj = objectCast obj
+
+
+downcastSashLayoutWindow :: SashLayoutWindow a -> SashLayoutWindow ()
+downcastSashLayoutWindow obj = objectCast obj
+
+
+downcastSashWindow :: SashWindow a -> SashWindow ()
+downcastSashWindow obj = objectCast obj
+
+
+downcastScreenDC :: ScreenDC a -> ScreenDC ()
+downcastScreenDC obj = objectCast obj
+
+
+downcastScrollBar :: ScrollBar a -> ScrollBar ()
+downcastScrollBar obj = objectCast obj
+
+
+downcastScrolledWindow :: ScrolledWindow a -> ScrolledWindow ()
+downcastScrolledWindow obj = objectCast obj
+
+
+downcastScrollEvent :: ScrollEvent a -> ScrollEvent ()
+downcastScrollEvent obj = objectCast obj
+
+
+downcastScrollWinEvent :: ScrollWinEvent a -> ScrollWinEvent ()
+downcastScrollWinEvent obj = objectCast obj
+
+
+downcastServer :: Server a -> Server ()
+downcastServer obj = objectCast obj
+
+
+downcastServerBase :: ServerBase a -> ServerBase ()
+downcastServerBase obj = objectCast obj
+
+
+downcastSetCursorEvent :: SetCursorEvent a -> SetCursorEvent ()
+downcastSetCursorEvent obj = objectCast obj
+
+
+downcastShowEvent :: ShowEvent a -> ShowEvent ()
+downcastShowEvent obj = objectCast obj
+
+
+downcastSingleChoiceDialog :: SingleChoiceDialog a -> SingleChoiceDialog ()
+downcastSingleChoiceDialog obj = objectCast obj
+
+
+downcastSizeEvent :: SizeEvent a -> SizeEvent ()
+downcastSizeEvent obj = objectCast obj
+
+
+downcastSizer :: Sizer a -> Sizer ()
+downcastSizer obj = objectCast obj
+
+
+downcastSizerItem :: SizerItem a -> SizerItem ()
+downcastSizerItem obj = objectCast obj
+
+
+downcastSlider :: Slider a -> Slider ()
+downcastSlider obj = objectCast obj
+
+
+downcastSlider95 :: Slider95 a -> Slider95 ()
+downcastSlider95 obj = objectCast obj
+
+
+downcastSliderMSW :: SliderMSW a -> SliderMSW ()
+downcastSliderMSW obj = objectCast obj
+
+
+downcastSockAddress :: SockAddress a -> SockAddress ()
+downcastSockAddress obj = objectCast obj
+
+
+downcastSocketBase :: SocketBase a -> SocketBase ()
+downcastSocketBase obj = objectCast obj
+
+
+downcastSocketClient :: SocketClient a -> SocketClient ()
+downcastSocketClient obj = objectCast obj
+
+
+downcastSocketEvent :: SocketEvent a -> SocketEvent ()
+downcastSocketEvent obj = objectCast obj
+
+
+downcastSocketServer :: SocketServer a -> SocketServer ()
+downcastSocketServer obj = objectCast obj
+
+
+downcastSound :: Sound a -> Sound ()
+downcastSound obj = objectCast obj
+
+
+downcastSpinButton :: SpinButton a -> SpinButton ()
+downcastSpinButton obj = objectCast obj
+
+
+downcastSpinCtrl :: SpinCtrl a -> SpinCtrl ()
+downcastSpinCtrl obj = objectCast obj
+
+
+downcastSpinEvent :: SpinEvent a -> SpinEvent ()
+downcastSpinEvent obj = objectCast obj
+
+
+downcastSplashScreen :: SplashScreen a -> SplashScreen ()
+downcastSplashScreen obj = objectCast obj
+
+
+downcastSplitterEvent :: SplitterEvent a -> SplitterEvent ()
+downcastSplitterEvent obj = objectCast obj
+
+
+downcastSplitterScrolledWindow :: SplitterScrolledWindow a -> SplitterScrolledWindow ()
+downcastSplitterScrolledWindow obj = objectCast obj
+
+
+downcastSplitterWindow :: SplitterWindow a -> SplitterWindow ()
+downcastSplitterWindow obj = objectCast obj
+
+
+downcastStaticBitmap :: StaticBitmap a -> StaticBitmap ()
+downcastStaticBitmap obj = objectCast obj
+
+
+downcastStaticBox :: StaticBox a -> StaticBox ()
+downcastStaticBox obj = objectCast obj
+
+
+downcastStaticBoxSizer :: StaticBoxSizer a -> StaticBoxSizer ()
+downcastStaticBoxSizer obj = objectCast obj
+
+
+downcastStaticLine :: StaticLine a -> StaticLine ()
+downcastStaticLine obj = objectCast obj
+
+
+downcastStaticText :: StaticText a -> StaticText ()
+downcastStaticText obj = objectCast obj
+
+
+downcastStatusBar :: StatusBar a -> StatusBar ()
+downcastStatusBar obj = objectCast obj
+
+
+downcastStringList :: StringList a -> StringList ()
+downcastStringList obj = objectCast obj
+
+
+downcastStringProperty :: StringProperty a -> StringProperty ()
+downcastStringProperty obj = objectCast obj
+
+
+downcastStringTokenizer :: StringTokenizer a -> StringTokenizer ()
+downcastStringTokenizer obj = objectCast obj
+
+
+downcastStyledTextCtrl :: StyledTextCtrl a -> StyledTextCtrl ()
+downcastStyledTextCtrl obj = objectCast obj
+
+
+downcastStyledTextEvent :: StyledTextEvent a -> StyledTextEvent ()
+downcastStyledTextEvent obj = objectCast obj
+
+
+downcastSVGFileDC :: SVGFileDC a -> SVGFileDC ()
+downcastSVGFileDC obj = objectCast obj
+
+
+downcastSysColourChangedEvent :: SysColourChangedEvent a -> SysColourChangedEvent ()
+downcastSysColourChangedEvent obj = objectCast obj
+
+
+downcastSystemOptions :: SystemOptions a -> SystemOptions ()
+downcastSystemOptions obj = objectCast obj
+
+
+downcastSystemSettings :: SystemSettings a -> SystemSettings ()
+downcastSystemSettings obj = objectCast obj
+
+
+downcastTabCtrl :: TabCtrl a -> TabCtrl ()
+downcastTabCtrl obj = objectCast obj
+
+
+downcastTabEvent :: TabEvent a -> TabEvent ()
+downcastTabEvent obj = objectCast obj
+
+
+downcastTablesInUse :: TablesInUse a -> TablesInUse ()
+downcastTablesInUse obj = objectCast obj
+
+
+downcastTaskBarIcon :: TaskBarIcon a -> TaskBarIcon ()
+downcastTaskBarIcon obj = objectCast obj
+
+
+downcastTextCtrl :: TextCtrl a -> TextCtrl ()
+downcastTextCtrl obj = objectCast obj
+
+
+downcastTextEntryDialog :: TextEntryDialog a -> TextEntryDialog ()
+downcastTextEntryDialog obj = objectCast obj
+
+
+downcastTextValidator :: TextValidator a -> TextValidator ()
+downcastTextValidator obj = objectCast obj
+
+
+downcastThinSplitterWindow :: ThinSplitterWindow a -> ThinSplitterWindow ()
+downcastThinSplitterWindow obj = objectCast obj
+
+
+downcastTime :: Time a -> Time ()
+downcastTime obj = objectCast obj
+
+
+downcastTimer :: Timer a -> Timer ()
+downcastTimer obj = objectCast obj
+
+
+downcastTimerBase :: TimerBase a -> TimerBase ()
+downcastTimerBase obj = objectCast obj
+
+
+downcastTimerEvent :: TimerEvent a -> TimerEvent ()
+downcastTimerEvent obj = objectCast obj
+
+
+downcastTimerEx :: TimerEx a -> TimerEx ()
+downcastTimerEx obj = objectCast obj
+
+
+downcastTipWindow :: TipWindow a -> TipWindow ()
+downcastTipWindow obj = objectCast obj
+
+
+downcastToggleButton :: ToggleButton a -> ToggleButton ()
+downcastToggleButton obj = objectCast obj
+
+
+downcastToolBar :: ToolBar a -> ToolBar ()
+downcastToolBar obj = objectCast obj
+
+
+downcastToolBarBase :: ToolBarBase a -> ToolBarBase ()
+downcastToolBarBase obj = objectCast obj
+
+
+downcastToolLayoutItem :: ToolLayoutItem a -> ToolLayoutItem ()
+downcastToolLayoutItem obj = objectCast obj
+
+
+downcastToolTip :: ToolTip a -> ToolTip ()
+downcastToolTip obj = objectCast obj
+
+
+downcastToolWindow :: ToolWindow a -> ToolWindow ()
+downcastToolWindow obj = objectCast obj
+
+
+downcastTopLevelWindow :: TopLevelWindow a -> TopLevelWindow ()
+downcastTopLevelWindow obj = objectCast obj
+
+
+downcastTreeCompanionWindow :: TreeCompanionWindow a -> TreeCompanionWindow ()
+downcastTreeCompanionWindow obj = objectCast obj
+
+
+downcastTreeCtrl :: TreeCtrl a -> TreeCtrl ()
+downcastTreeCtrl obj = objectCast obj
+
+
+downcastTreeEvent :: TreeEvent a -> TreeEvent ()
+downcastTreeEvent obj = objectCast obj
+
+
+downcastTreeLayout :: TreeLayout a -> TreeLayout ()
+downcastTreeLayout obj = objectCast obj
+
+
+downcastTreeLayoutStored :: TreeLayoutStored a -> TreeLayoutStored ()
+downcastTreeLayoutStored obj = objectCast obj
+
+
+downcastUpdateUIEvent :: UpdateUIEvent a -> UpdateUIEvent ()
+downcastUpdateUIEvent obj = objectCast obj
+
+
+downcastURL :: URL a -> URL ()
+downcastURL obj = objectCast obj
+
+
+downcastValidator :: Validator a -> Validator ()
+downcastValidator obj = objectCast obj
+
+
+downcastVariant :: Variant a -> Variant ()
+downcastVariant obj = objectCast obj
+
+
+downcastVariantData :: VariantData a -> VariantData ()
+downcastVariantData obj = objectCast obj
+
+
+downcastView :: View a -> View ()
+downcastView obj = objectCast obj
+
+
+downcastWindow :: Window a -> Window ()
+downcastWindow obj = objectCast obj
+
+
+downcastWindowCreateEvent :: WindowCreateEvent a -> WindowCreateEvent ()
+downcastWindowCreateEvent obj = objectCast obj
+
+
+downcastWindowDC :: WindowDC a -> WindowDC ()
+downcastWindowDC obj = objectCast obj
+
+
+downcastWindowDestroyEvent :: WindowDestroyEvent a -> WindowDestroyEvent ()
+downcastWindowDestroyEvent obj = objectCast obj
+
+
+downcastWizard :: Wizard a -> Wizard ()
+downcastWizard obj = objectCast obj
+
+
+downcastWizardEvent :: WizardEvent a -> WizardEvent ()
+downcastWizardEvent obj = objectCast obj
+
+
+downcastWizardPage :: WizardPage a -> WizardPage ()
+downcastWizardPage obj = objectCast obj
+
+
+downcastWizardPageSimple :: WizardPageSimple a -> WizardPageSimple ()
+downcastWizardPageSimple obj = objectCast obj
+
+
+downcastWXCApp :: WXCApp a -> WXCApp ()
+downcastWXCApp obj = objectCast obj
+
+
+downcastWXCArtProv :: WXCArtProv a -> WXCArtProv ()
+downcastWXCArtProv obj = objectCast obj
+
+
+downcastWXCClient :: WXCClient a -> WXCClient ()
+downcastWXCClient obj = objectCast obj
+
+
+downcastWXCCommand :: WXCCommand a -> WXCCommand ()
+downcastWXCCommand obj = objectCast obj
+
+
+downcastWXCConnection :: WXCConnection a -> WXCConnection ()
+downcastWXCConnection obj = objectCast obj
+
+
+downcastWXCGridTable :: WXCGridTable a -> WXCGridTable ()
+downcastWXCGridTable obj = objectCast obj
+
+
+downcastWXCHtmlEvent :: WXCHtmlEvent a -> WXCHtmlEvent ()
+downcastWXCHtmlEvent obj = objectCast obj
+
+
+downcastWXCHtmlWindow :: WXCHtmlWindow a -> WXCHtmlWindow ()
+downcastWXCHtmlWindow obj = objectCast obj
+
+
+downcastWXCPlotCurve :: WXCPlotCurve a -> WXCPlotCurve ()
+downcastWXCPlotCurve obj = objectCast obj
+
+
+downcastWXCPreviewControlBar :: WXCPreviewControlBar a -> WXCPreviewControlBar ()
+downcastWXCPreviewControlBar obj = objectCast obj
+
+
+downcastWXCPreviewFrame :: WXCPreviewFrame a -> WXCPreviewFrame ()
+downcastWXCPreviewFrame obj = objectCast obj
+
+
+downcastWXCPrintEvent :: WXCPrintEvent a -> WXCPrintEvent ()
+downcastWXCPrintEvent obj = objectCast obj
+
+
+downcastWXCPrintout :: WXCPrintout a -> WXCPrintout ()
+downcastWXCPrintout obj = objectCast obj
+
+
+downcastWXCPrintoutHandler :: WXCPrintoutHandler a -> WXCPrintoutHandler ()
+downcastWXCPrintoutHandler obj = objectCast obj
+
+
+downcastWXCServer :: WXCServer a -> WXCServer ()
+downcastWXCServer obj = objectCast obj
+
+
+downcastWXCTextValidator :: WXCTextValidator a -> WXCTextValidator ()
+downcastWXCTextValidator obj = objectCast obj
+
+
+downcastWxObject :: WxObject a -> WxObject ()
+downcastWxObject obj = objectCast obj
+
+
+downcastXmlResource :: XmlResource a -> XmlResource ()
+downcastXmlResource obj = objectCast obj
+
+
+downcastXmlResourceHandler :: XmlResourceHandler a -> XmlResourceHandler ()
+downcastXmlResourceHandler obj = objectCast obj
+
+
src/haskell/Graphics/UI/WXCore/WxcClassTypes.hs view
@@ -1,5963 +1,6342 @@----------------------------------------------------------------------------------{-|	Module      :  WxcClassTypes-	Copyright   :  Copyright (c) Daan Leijen 2003, 2004-	License     :  wxWidgets--	Maintainer  :  wxhaskell-devel@lists.sourceforge.net-	Stability   :  provisional-	Portability :  portable--Haskell class definitions for the wxWidgets C library (@wxc.dll@).--Do not edit this file manually!-This file was automatically generated by wxDirect on: --  * @2011-06-15 17:40:01.838174 UTC@--From the files:--  * @src\/include\/wxc.h@--And contains 539 class definitions.--}----------------------------------------------------------------------------------module Graphics.UI.WXCore.WxcClassTypes-    ( -- * Version-      classTypesVersion-      -- * Classes-     -- ** AcceleratorEntry-     ,AcceleratorEntry-     ,TAcceleratorEntry-     ,CAcceleratorEntry-     -- ** AcceleratorTable-     ,AcceleratorTable-     ,TAcceleratorTable-     ,CAcceleratorTable-     -- ** ActivateEvent-     ,ActivateEvent-     ,TActivateEvent-     ,CActivateEvent-     -- ** App-     ,App-     ,TApp-     ,CApp-     -- ** ArrayString-     ,ArrayString-     ,TArrayString-     ,CArrayString-     -- ** ArtProvider-     ,ArtProvider-     ,TArtProvider-     ,CArtProvider-     -- ** AutoBufferedPaintDC-     ,AutoBufferedPaintDC-     ,TAutoBufferedPaintDC-     ,CAutoBufferedPaintDC-     -- ** AutomationObject-     ,AutomationObject-     ,TAutomationObject-     ,CAutomationObject-     -- ** Bitmap-     ,Bitmap-     ,TBitmap-     ,CBitmap-     -- ** BitmapButton-     ,BitmapButton-     ,TBitmapButton-     ,CBitmapButton-     -- ** BitmapDataObject-     ,BitmapDataObject-     ,TBitmapDataObject-     ,CBitmapDataObject-     -- ** BitmapHandler-     ,BitmapHandler-     ,TBitmapHandler-     ,CBitmapHandler-     -- ** BoxSizer-     ,BoxSizer-     ,TBoxSizer-     ,CBoxSizer-     -- ** Brush-     ,Brush-     ,TBrush-     ,CBrush-     -- ** BrushList-     ,BrushList-     ,TBrushList-     ,CBrushList-     -- ** BufferedDC-     ,BufferedDC-     ,TBufferedDC-     ,CBufferedDC-     -- ** BufferedInputStream-     ,BufferedInputStream-     ,TBufferedInputStream-     ,CBufferedInputStream-     -- ** BufferedOutputStream-     ,BufferedOutputStream-     ,TBufferedOutputStream-     ,CBufferedOutputStream-     -- ** BufferedPaintDC-     ,BufferedPaintDC-     ,TBufferedPaintDC-     ,CBufferedPaintDC-     -- ** BusyCursor-     ,BusyCursor-     ,TBusyCursor-     ,CBusyCursor-     -- ** BusyInfo-     ,BusyInfo-     ,TBusyInfo-     ,CBusyInfo-     -- ** Button-     ,Button-     ,TButton-     ,CButton-     -- ** CSConv-     ,CSConv-     ,TCSConv-     ,CCSConv-     -- ** CalculateLayoutEvent-     ,CalculateLayoutEvent-     ,TCalculateLayoutEvent-     ,CCalculateLayoutEvent-     -- ** CalendarCtrl-     ,CalendarCtrl-     ,TCalendarCtrl-     ,CCalendarCtrl-     -- ** CalendarDateAttr-     ,CalendarDateAttr-     ,TCalendarDateAttr-     ,CCalendarDateAttr-     -- ** CalendarEvent-     ,CalendarEvent-     ,TCalendarEvent-     ,CCalendarEvent-     -- ** Caret-     ,Caret-     ,TCaret-     ,CCaret-     -- ** CbAntiflickerPlugin-     ,CbAntiflickerPlugin-     ,TCbAntiflickerPlugin-     ,CCbAntiflickerPlugin-     -- ** CbBarDragPlugin-     ,CbBarDragPlugin-     ,TCbBarDragPlugin-     ,CCbBarDragPlugin-     -- ** CbBarHintsPlugin-     ,CbBarHintsPlugin-     ,TCbBarHintsPlugin-     ,CCbBarHintsPlugin-     -- ** CbBarInfo-     ,CbBarInfo-     ,TCbBarInfo-     ,CCbBarInfo-     -- ** CbBarSpy-     ,CbBarSpy-     ,TCbBarSpy-     ,CCbBarSpy-     -- ** CbCloseBox-     ,CbCloseBox-     ,TCbCloseBox-     ,CCbCloseBox-     -- ** CbCollapseBox-     ,CbCollapseBox-     ,TCbCollapseBox-     ,CCbCollapseBox-     -- ** CbCommonPaneProperties-     ,CbCommonPaneProperties-     ,TCbCommonPaneProperties-     ,CCbCommonPaneProperties-     -- ** CbCustomizeBarEvent-     ,CbCustomizeBarEvent-     ,TCbCustomizeBarEvent-     ,CCbCustomizeBarEvent-     -- ** CbCustomizeLayoutEvent-     ,CbCustomizeLayoutEvent-     ,TCbCustomizeLayoutEvent-     ,CCbCustomizeLayoutEvent-     -- ** CbDimHandlerBase-     ,CbDimHandlerBase-     ,TCbDimHandlerBase-     ,CCbDimHandlerBase-     -- ** CbDimInfo-     ,CbDimInfo-     ,TCbDimInfo-     ,CCbDimInfo-     -- ** CbDockBox-     ,CbDockBox-     ,TCbDockBox-     ,CCbDockBox-     -- ** CbDockPane-     ,CbDockPane-     ,TCbDockPane-     ,CCbDockPane-     -- ** CbDrawBarDecorEvent-     ,CbDrawBarDecorEvent-     ,TCbDrawBarDecorEvent-     ,CCbDrawBarDecorEvent-     -- ** CbDrawBarHandlesEvent-     ,CbDrawBarHandlesEvent-     ,TCbDrawBarHandlesEvent-     ,CCbDrawBarHandlesEvent-     -- ** CbDrawHintRectEvent-     ,CbDrawHintRectEvent-     ,TCbDrawHintRectEvent-     ,CCbDrawHintRectEvent-     -- ** CbDrawPaneBkGroundEvent-     ,CbDrawPaneBkGroundEvent-     ,TCbDrawPaneBkGroundEvent-     ,CCbDrawPaneBkGroundEvent-     -- ** CbDrawPaneDecorEvent-     ,CbDrawPaneDecorEvent-     ,TCbDrawPaneDecorEvent-     ,CCbDrawPaneDecorEvent-     -- ** CbDrawRowBkGroundEvent-     ,CbDrawRowBkGroundEvent-     ,TCbDrawRowBkGroundEvent-     ,CCbDrawRowBkGroundEvent-     -- ** CbDrawRowDecorEvent-     ,CbDrawRowDecorEvent-     ,TCbDrawRowDecorEvent-     ,CCbDrawRowDecorEvent-     -- ** CbDrawRowHandlesEvent-     ,CbDrawRowHandlesEvent-     ,TCbDrawRowHandlesEvent-     ,CCbDrawRowHandlesEvent-     -- ** CbDynToolBarDimHandler-     ,CbDynToolBarDimHandler-     ,TCbDynToolBarDimHandler-     ,CCbDynToolBarDimHandler-     -- ** CbFinishDrawInAreaEvent-     ,CbFinishDrawInAreaEvent-     ,TCbFinishDrawInAreaEvent-     ,CCbFinishDrawInAreaEvent-     -- ** CbFloatedBarWindow-     ,CbFloatedBarWindow-     ,TCbFloatedBarWindow-     ,CCbFloatedBarWindow-     -- ** CbGCUpdatesMgr-     ,CbGCUpdatesMgr-     ,TCbGCUpdatesMgr-     ,CCbGCUpdatesMgr-     -- ** CbHintAnimationPlugin-     ,CbHintAnimationPlugin-     ,TCbHintAnimationPlugin-     ,CCbHintAnimationPlugin-     -- ** CbInsertBarEvent-     ,CbInsertBarEvent-     ,TCbInsertBarEvent-     ,CCbInsertBarEvent-     -- ** CbLayoutRowEvent-     ,CbLayoutRowEvent-     ,TCbLayoutRowEvent-     ,CCbLayoutRowEvent-     -- ** CbLeftDClickEvent-     ,CbLeftDClickEvent-     ,TCbLeftDClickEvent-     ,CCbLeftDClickEvent-     -- ** CbLeftDownEvent-     ,CbLeftDownEvent-     ,TCbLeftDownEvent-     ,CCbLeftDownEvent-     -- ** CbLeftUpEvent-     ,CbLeftUpEvent-     ,TCbLeftUpEvent-     ,CCbLeftUpEvent-     -- ** CbMiniButton-     ,CbMiniButton-     ,TCbMiniButton-     ,CCbMiniButton-     -- ** CbMotionEvent-     ,CbMotionEvent-     ,TCbMotionEvent-     ,CCbMotionEvent-     -- ** CbPaneDrawPlugin-     ,CbPaneDrawPlugin-     ,TCbPaneDrawPlugin-     ,CCbPaneDrawPlugin-     -- ** CbPluginBase-     ,CbPluginBase-     ,TCbPluginBase-     ,CCbPluginBase-     -- ** CbPluginEvent-     ,CbPluginEvent-     ,TCbPluginEvent-     ,CCbPluginEvent-     -- ** CbRemoveBarEvent-     ,CbRemoveBarEvent-     ,TCbRemoveBarEvent-     ,CCbRemoveBarEvent-     -- ** CbResizeBarEvent-     ,CbResizeBarEvent-     ,TCbResizeBarEvent-     ,CCbResizeBarEvent-     -- ** CbResizeRowEvent-     ,CbResizeRowEvent-     ,TCbResizeRowEvent-     ,CCbResizeRowEvent-     -- ** CbRightDownEvent-     ,CbRightDownEvent-     ,TCbRightDownEvent-     ,CCbRightDownEvent-     -- ** CbRightUpEvent-     ,CbRightUpEvent-     ,TCbRightUpEvent-     ,CCbRightUpEvent-     -- ** CbRowDragPlugin-     ,CbRowDragPlugin-     ,TCbRowDragPlugin-     ,CCbRowDragPlugin-     -- ** CbRowInfo-     ,CbRowInfo-     ,TCbRowInfo-     ,CCbRowInfo-     -- ** CbRowLayoutPlugin-     ,CbRowLayoutPlugin-     ,TCbRowLayoutPlugin-     ,CCbRowLayoutPlugin-     -- ** CbSimpleCustomizationPlugin-     ,CbSimpleCustomizationPlugin-     ,TCbSimpleCustomizationPlugin-     ,CCbSimpleCustomizationPlugin-     -- ** CbSimpleUpdatesMgr-     ,CbSimpleUpdatesMgr-     ,TCbSimpleUpdatesMgr-     ,CCbSimpleUpdatesMgr-     -- ** CbSizeBarWndEvent-     ,CbSizeBarWndEvent-     ,TCbSizeBarWndEvent-     ,CCbSizeBarWndEvent-     -- ** CbStartBarDraggingEvent-     ,CbStartBarDraggingEvent-     ,TCbStartBarDraggingEvent-     ,CCbStartBarDraggingEvent-     -- ** CbStartDrawInAreaEvent-     ,CbStartDrawInAreaEvent-     ,TCbStartDrawInAreaEvent-     ,CCbStartDrawInAreaEvent-     -- ** CbUpdatesManagerBase-     ,CbUpdatesManagerBase-     ,TCbUpdatesManagerBase-     ,CCbUpdatesManagerBase-     -- ** CheckBox-     ,CheckBox-     ,TCheckBox-     ,CCheckBox-     -- ** CheckListBox-     ,CheckListBox-     ,TCheckListBox-     ,CCheckListBox-     -- ** Choice-     ,Choice-     ,TChoice-     ,CChoice-     -- ** ClassInfo-     ,ClassInfo-     ,TClassInfo-     ,CClassInfo-     -- ** Client-     ,Client-     ,TClient-     ,CClient-     -- ** ClientBase-     ,ClientBase-     ,TClientBase-     ,CClientBase-     -- ** ClientDC-     ,ClientDC-     ,TClientDC-     ,CClientDC-     -- ** ClientData-     ,ClientData-     ,TClientData-     ,CClientData-     -- ** ClientDataContainer-     ,ClientDataContainer-     ,TClientDataContainer-     ,CClientDataContainer-     -- ** Clipboard-     ,Clipboard-     ,TClipboard-     ,CClipboard-     -- ** CloseEvent-     ,CloseEvent-     ,TCloseEvent-     ,CCloseEvent-     -- ** Closure-     ,Closure-     ,TClosure-     ,CClosure-     -- ** Colour-     ,Colour-     ,TColour-     ,CColour-     -- ** ColourData-     ,ColourData-     ,TColourData-     ,CColourData-     -- ** ColourDatabase-     ,ColourDatabase-     ,TColourDatabase-     ,CColourDatabase-     -- ** ColourDialog-     ,ColourDialog-     ,TColourDialog-     ,CColourDialog-     -- ** ComboBox-     ,ComboBox-     ,TComboBox-     ,CComboBox-     -- ** Command-     ,Command-     ,TCommand-     ,CCommand-     -- ** CommandEvent-     ,CommandEvent-     ,TCommandEvent-     ,CCommandEvent-     -- ** CommandLineParser-     ,CommandLineParser-     ,TCommandLineParser-     ,CCommandLineParser-     -- ** CommandProcessor-     ,CommandProcessor-     ,TCommandProcessor-     ,CCommandProcessor-     -- ** Condition-     ,Condition-     ,TCondition-     ,CCondition-     -- ** ConfigBase-     ,ConfigBase-     ,TConfigBase-     ,CConfigBase-     -- ** Connection-     ,Connection-     ,TConnection-     ,CConnection-     -- ** ConnectionBase-     ,ConnectionBase-     ,TConnectionBase-     ,CConnectionBase-     -- ** ContextHelp-     ,ContextHelp-     ,TContextHelp-     ,CContextHelp-     -- ** ContextHelpButton-     ,ContextHelpButton-     ,TContextHelpButton-     ,CContextHelpButton-     -- ** Control-     ,Control-     ,TControl-     ,CControl-     -- ** CountingOutputStream-     ,CountingOutputStream-     ,TCountingOutputStream-     ,CCountingOutputStream-     -- ** CriticalSection-     ,CriticalSection-     ,TCriticalSection-     ,CCriticalSection-     -- ** CriticalSectionLocker-     ,CriticalSectionLocker-     ,TCriticalSectionLocker-     ,CCriticalSectionLocker-     -- ** Cursor-     ,Cursor-     ,TCursor-     ,CCursor-     -- ** CustomDataObject-     ,CustomDataObject-     ,TCustomDataObject-     ,CCustomDataObject-     -- ** DC-     ,DC-     ,TDC-     ,CDC-     -- ** DCClipper-     ,DCClipper-     ,TDCClipper-     ,CDCClipper-     -- ** DDEClient-     ,DDEClient-     ,TDDEClient-     ,CDDEClient-     -- ** DDEConnection-     ,DDEConnection-     ,TDDEConnection-     ,CDDEConnection-     -- ** DDEServer-     ,DDEServer-     ,TDDEServer-     ,CDDEServer-     -- ** DataFormat-     ,DataFormat-     ,TDataFormat-     ,CDataFormat-     -- ** DataInputStream-     ,DataInputStream-     ,TDataInputStream-     ,CDataInputStream-     -- ** DataObject-     ,DataObject-     ,TDataObject-     ,CDataObject-     -- ** DataObjectComposite-     ,DataObjectComposite-     ,TDataObjectComposite-     ,CDataObjectComposite-     -- ** DataObjectSimple-     ,DataObjectSimple-     ,TDataObjectSimple-     ,CDataObjectSimple-     -- ** DataOutputStream-     ,DataOutputStream-     ,TDataOutputStream-     ,CDataOutputStream-     -- ** Database-     ,Database-     ,TDatabase-     ,CDatabase-     -- ** DateTime-     ,DateTime-     ,TDateTime-     ,CDateTime-     -- ** Db-     ,Db-     ,TDb-     ,CDb-     -- ** DbColDef-     ,DbColDef-     ,TDbColDef-     ,CDbColDef-     -- ** DbColFor-     ,DbColFor-     ,TDbColFor-     ,CDbColFor-     -- ** DbColInf-     ,DbColInf-     ,TDbColInf-     ,CDbColInf-     -- ** DbColInfArray-     ,DbColInfArray-     ,TDbColInfArray-     ,CDbColInfArray-     -- ** DbConnectInf-     ,DbConnectInf-     ,TDbConnectInf-     ,CDbConnectInf-     -- ** DbInf-     ,DbInf-     ,TDbInf-     ,CDbInf-     -- ** DbSqlTypeInfo-     ,DbSqlTypeInfo-     ,TDbSqlTypeInfo-     ,CDbSqlTypeInfo-     -- ** DbTable-     ,DbTable-     ,TDbTable-     ,CDbTable-     -- ** DbTableInf-     ,DbTableInf-     ,TDbTableInf-     ,CDbTableInf-     -- ** DbTableInfo-     ,DbTableInfo-     ,TDbTableInfo-     ,CDbTableInfo-     -- ** DebugContext-     ,DebugContext-     ,TDebugContext-     ,CDebugContext-     -- ** DialUpEvent-     ,DialUpEvent-     ,TDialUpEvent-     ,CDialUpEvent-     -- ** DialUpManager-     ,DialUpManager-     ,TDialUpManager-     ,CDialUpManager-     -- ** Dialog-     ,Dialog-     ,TDialog-     ,CDialog-     -- ** DirDialog-     ,DirDialog-     ,TDirDialog-     ,CDirDialog-     -- ** DirTraverser-     ,DirTraverser-     ,TDirTraverser-     ,CDirTraverser-     -- ** DocChildFrame-     ,DocChildFrame-     ,TDocChildFrame-     ,CDocChildFrame-     -- ** DocMDIChildFrame-     ,DocMDIChildFrame-     ,TDocMDIChildFrame-     ,CDocMDIChildFrame-     -- ** DocMDIParentFrame-     ,DocMDIParentFrame-     ,TDocMDIParentFrame-     ,CDocMDIParentFrame-     -- ** DocManager-     ,DocManager-     ,TDocManager-     ,CDocManager-     -- ** DocParentFrame-     ,DocParentFrame-     ,TDocParentFrame-     ,CDocParentFrame-     -- ** DocTemplate-     ,DocTemplate-     ,TDocTemplate-     ,CDocTemplate-     -- ** Document-     ,Document-     ,TDocument-     ,CDocument-     -- ** DragImage-     ,DragImage-     ,TDragImage-     ,CDragImage-     -- ** DrawControl-     ,DrawControl-     ,TDrawControl-     ,CDrawControl-     -- ** DrawWindow-     ,DrawWindow-     ,TDrawWindow-     ,CDrawWindow-     -- ** DropFilesEvent-     ,DropFilesEvent-     ,TDropFilesEvent-     ,CDropFilesEvent-     -- ** DropSource-     ,DropSource-     ,TDropSource-     ,CDropSource-     -- ** DropTarget-     ,DropTarget-     ,TDropTarget-     ,CDropTarget-     -- ** DynToolInfo-     ,DynToolInfo-     ,TDynToolInfo-     ,CDynToolInfo-     -- ** DynamicLibrary-     ,DynamicLibrary-     ,TDynamicLibrary-     ,CDynamicLibrary-     -- ** DynamicSashWindow-     ,DynamicSashWindow-     ,TDynamicSashWindow-     ,CDynamicSashWindow-     -- ** DynamicToolBar-     ,DynamicToolBar-     ,TDynamicToolBar-     ,CDynamicToolBar-     -- ** EditableListBox-     ,EditableListBox-     ,TEditableListBox-     ,CEditableListBox-     -- ** EncodingConverter-     ,EncodingConverter-     ,TEncodingConverter-     ,CEncodingConverter-     -- ** EraseEvent-     ,EraseEvent-     ,TEraseEvent-     ,CEraseEvent-     -- ** Event-     ,Event-     ,TEvent-     ,CEvent-     -- ** EvtHandler-     ,EvtHandler-     ,TEvtHandler-     ,CEvtHandler-     -- ** ExprDatabase-     ,ExprDatabase-     ,TExprDatabase-     ,CExprDatabase-     -- ** FFile-     ,FFile-     ,TFFile-     ,CFFile-     -- ** FFileInputStream-     ,FFileInputStream-     ,TFFileInputStream-     ,CFFileInputStream-     -- ** FFileOutputStream-     ,FFileOutputStream-     ,TFFileOutputStream-     ,CFFileOutputStream-     -- ** FSFile-     ,FSFile-     ,TFSFile-     ,CFSFile-     -- ** FTP-     ,FTP-     ,TFTP-     ,CFTP-     -- ** FileConfig-     ,FileConfig-     ,TFileConfig-     ,CFileConfig-     -- ** FileDataObject-     ,FileDataObject-     ,TFileDataObject-     ,CFileDataObject-     -- ** FileDialog-     ,FileDialog-     ,TFileDialog-     ,CFileDialog-     -- ** FileDropTarget-     ,FileDropTarget-     ,TFileDropTarget-     ,CFileDropTarget-     -- ** FileHistory-     ,FileHistory-     ,TFileHistory-     ,CFileHistory-     -- ** FileInputStream-     ,FileInputStream-     ,TFileInputStream-     ,CFileInputStream-     -- ** FileName-     ,FileName-     ,TFileName-     ,CFileName-     -- ** FileOutputStream-     ,FileOutputStream-     ,TFileOutputStream-     ,CFileOutputStream-     -- ** FileSystem-     ,FileSystem-     ,TFileSystem-     ,CFileSystem-     -- ** FileSystemHandler-     ,FileSystemHandler-     ,TFileSystemHandler-     ,CFileSystemHandler-     -- ** FileType-     ,FileType-     ,TFileType-     ,CFileType-     -- ** FilterInputStream-     ,FilterInputStream-     ,TFilterInputStream-     ,CFilterInputStream-     -- ** FilterOutputStream-     ,FilterOutputStream-     ,TFilterOutputStream-     ,CFilterOutputStream-     -- ** FindDialogEvent-     ,FindDialogEvent-     ,TFindDialogEvent-     ,CFindDialogEvent-     -- ** FindReplaceData-     ,FindReplaceData-     ,TFindReplaceData-     ,CFindReplaceData-     -- ** FindReplaceDialog-     ,FindReplaceDialog-     ,TFindReplaceDialog-     ,CFindReplaceDialog-     -- ** FlexGridSizer-     ,FlexGridSizer-     ,TFlexGridSizer-     ,CFlexGridSizer-     -- ** FocusEvent-     ,FocusEvent-     ,TFocusEvent-     ,CFocusEvent-     -- ** Font-     ,Font-     ,TFont-     ,CFont-     -- ** FontData-     ,FontData-     ,TFontData-     ,CFontData-     -- ** FontDialog-     ,FontDialog-     ,TFontDialog-     ,CFontDialog-     -- ** FontEnumerator-     ,FontEnumerator-     ,TFontEnumerator-     ,CFontEnumerator-     -- ** FontList-     ,FontList-     ,TFontList-     ,CFontList-     -- ** FontMapper-     ,FontMapper-     ,TFontMapper-     ,CFontMapper-     -- ** Frame-     ,Frame-     ,TFrame-     ,CFrame-     -- ** FrameLayout-     ,FrameLayout-     ,TFrameLayout-     ,CFrameLayout-     -- ** GDIObject-     ,GDIObject-     ,TGDIObject-     ,CGDIObject-     -- ** GLCanvas-     ,GLCanvas-     ,TGLCanvas-     ,CGLCanvas-     -- ** Gauge-     ,Gauge-     ,TGauge-     ,CGauge-     -- ** Gauge95-     ,Gauge95-     ,TGauge95-     ,CGauge95-     -- ** GaugeMSW-     ,GaugeMSW-     ,TGaugeMSW-     ,CGaugeMSW-     -- ** GenericDirCtrl-     ,GenericDirCtrl-     ,TGenericDirCtrl-     ,CGenericDirCtrl-     -- ** GenericDragImage-     ,GenericDragImage-     ,TGenericDragImage-     ,CGenericDragImage-     -- ** GenericValidator-     ,GenericValidator-     ,TGenericValidator-     ,CGenericValidator-     -- ** GraphicsBrush-     ,GraphicsBrush-     ,TGraphicsBrush-     ,CGraphicsBrush-     -- ** GraphicsContext-     ,GraphicsContext-     ,TGraphicsContext-     ,CGraphicsContext-     -- ** GraphicsFont-     ,GraphicsFont-     ,TGraphicsFont-     ,CGraphicsFont-     -- ** GraphicsMatrix-     ,GraphicsMatrix-     ,TGraphicsMatrix-     ,CGraphicsMatrix-     -- ** GraphicsObject-     ,GraphicsObject-     ,TGraphicsObject-     ,CGraphicsObject-     -- ** GraphicsPath-     ,GraphicsPath-     ,TGraphicsPath-     ,CGraphicsPath-     -- ** GraphicsPen-     ,GraphicsPen-     ,TGraphicsPen-     ,CGraphicsPen-     -- ** GraphicsRenderer-     ,GraphicsRenderer-     ,TGraphicsRenderer-     ,CGraphicsRenderer-     -- ** Grid-     ,Grid-     ,TGrid-     ,CGrid-     -- ** GridCellAttr-     ,GridCellAttr-     ,TGridCellAttr-     ,CGridCellAttr-     -- ** GridCellBoolEditor-     ,GridCellBoolEditor-     ,TGridCellBoolEditor-     ,CGridCellBoolEditor-     -- ** GridCellBoolRenderer-     ,GridCellBoolRenderer-     ,TGridCellBoolRenderer-     ,CGridCellBoolRenderer-     -- ** GridCellChoiceEditor-     ,GridCellChoiceEditor-     ,TGridCellChoiceEditor-     ,CGridCellChoiceEditor-     -- ** GridCellCoordsArray-     ,GridCellCoordsArray-     ,TGridCellCoordsArray-     ,CGridCellCoordsArray-     -- ** GridCellEditor-     ,GridCellEditor-     ,TGridCellEditor-     ,CGridCellEditor-     -- ** GridCellFloatEditor-     ,GridCellFloatEditor-     ,TGridCellFloatEditor-     ,CGridCellFloatEditor-     -- ** GridCellFloatRenderer-     ,GridCellFloatRenderer-     ,TGridCellFloatRenderer-     ,CGridCellFloatRenderer-     -- ** GridCellNumberEditor-     ,GridCellNumberEditor-     ,TGridCellNumberEditor-     ,CGridCellNumberEditor-     -- ** GridCellNumberRenderer-     ,GridCellNumberRenderer-     ,TGridCellNumberRenderer-     ,CGridCellNumberRenderer-     -- ** GridCellRenderer-     ,GridCellRenderer-     ,TGridCellRenderer-     ,CGridCellRenderer-     -- ** GridCellStringRenderer-     ,GridCellStringRenderer-     ,TGridCellStringRenderer-     ,CGridCellStringRenderer-     -- ** GridCellTextEditor-     ,GridCellTextEditor-     ,TGridCellTextEditor-     ,CGridCellTextEditor-     -- ** GridCellTextEnterEditor-     ,GridCellTextEnterEditor-     ,TGridCellTextEnterEditor-     ,CGridCellTextEnterEditor-     -- ** GridCellWorker-     ,GridCellWorker-     ,TGridCellWorker-     ,CGridCellWorker-     -- ** GridEditorCreatedEvent-     ,GridEditorCreatedEvent-     ,TGridEditorCreatedEvent-     ,CGridEditorCreatedEvent-     -- ** GridEvent-     ,GridEvent-     ,TGridEvent-     ,CGridEvent-     -- ** GridRangeSelectEvent-     ,GridRangeSelectEvent-     ,TGridRangeSelectEvent-     ,CGridRangeSelectEvent-     -- ** GridSizeEvent-     ,GridSizeEvent-     ,TGridSizeEvent-     ,CGridSizeEvent-     -- ** GridSizer-     ,GridSizer-     ,TGridSizer-     ,CGridSizer-     -- ** GridTableBase-     ,GridTableBase-     ,TGridTableBase-     ,CGridTableBase-     -- ** HDBC-     ,HDBC-     ,THDBC-     ,CHDBC-     -- ** HENV-     ,HENV-     ,THENV-     ,CHENV-     -- ** HSTMT-     ,HSTMT-     ,THSTMT-     ,CHSTMT-     -- ** HTTP-     ,HTTP-     ,THTTP-     ,CHTTP-     -- ** HashMap-     ,HashMap-     ,THashMap-     ,CHashMap-     -- ** HelpController-     ,HelpController-     ,THelpController-     ,CHelpController-     -- ** HelpControllerBase-     ,HelpControllerBase-     ,THelpControllerBase-     ,CHelpControllerBase-     -- ** HelpControllerHelpProvider-     ,HelpControllerHelpProvider-     ,THelpControllerHelpProvider-     ,CHelpControllerHelpProvider-     -- ** HelpEvent-     ,HelpEvent-     ,THelpEvent-     ,CHelpEvent-     -- ** HelpProvider-     ,HelpProvider-     ,THelpProvider-     ,CHelpProvider-     -- ** HtmlCell-     ,HtmlCell-     ,THtmlCell-     ,CHtmlCell-     -- ** HtmlColourCell-     ,HtmlColourCell-     ,THtmlColourCell-     ,CHtmlColourCell-     -- ** HtmlContainerCell-     ,HtmlContainerCell-     ,THtmlContainerCell-     ,CHtmlContainerCell-     -- ** HtmlDCRenderer-     ,HtmlDCRenderer-     ,THtmlDCRenderer-     ,CHtmlDCRenderer-     -- ** HtmlEasyPrinting-     ,HtmlEasyPrinting-     ,THtmlEasyPrinting-     ,CHtmlEasyPrinting-     -- ** HtmlFilter-     ,HtmlFilter-     ,THtmlFilter-     ,CHtmlFilter-     -- ** HtmlHelpController-     ,HtmlHelpController-     ,THtmlHelpController-     ,CHtmlHelpController-     -- ** HtmlHelpData-     ,HtmlHelpData-     ,THtmlHelpData-     ,CHtmlHelpData-     -- ** HtmlHelpFrame-     ,HtmlHelpFrame-     ,THtmlHelpFrame-     ,CHtmlHelpFrame-     -- ** HtmlLinkInfo-     ,HtmlLinkInfo-     ,THtmlLinkInfo-     ,CHtmlLinkInfo-     -- ** HtmlParser-     ,HtmlParser-     ,THtmlParser-     ,CHtmlParser-     -- ** HtmlPrintout-     ,HtmlPrintout-     ,THtmlPrintout-     ,CHtmlPrintout-     -- ** HtmlTag-     ,HtmlTag-     ,THtmlTag-     ,CHtmlTag-     -- ** HtmlTagHandler-     ,HtmlTagHandler-     ,THtmlTagHandler-     ,CHtmlTagHandler-     -- ** HtmlTagsModule-     ,HtmlTagsModule-     ,THtmlTagsModule-     ,CHtmlTagsModule-     -- ** HtmlWidgetCell-     ,HtmlWidgetCell-     ,THtmlWidgetCell-     ,CHtmlWidgetCell-     -- ** HtmlWinParser-     ,HtmlWinParser-     ,THtmlWinParser-     ,CHtmlWinParser-     -- ** HtmlWinTagHandler-     ,HtmlWinTagHandler-     ,THtmlWinTagHandler-     ,CHtmlWinTagHandler-     -- ** HtmlWindow-     ,HtmlWindow-     ,THtmlWindow-     ,CHtmlWindow-     -- ** IPV4address-     ,IPV4address-     ,TIPV4address-     ,CIPV4address-     -- ** Icon-     ,Icon-     ,TIcon-     ,CIcon-     -- ** IconBundle-     ,IconBundle-     ,TIconBundle-     ,CIconBundle-     -- ** IconizeEvent-     ,IconizeEvent-     ,TIconizeEvent-     ,CIconizeEvent-     -- ** IdleEvent-     ,IdleEvent-     ,TIdleEvent-     ,CIdleEvent-     -- ** Image-     ,Image-     ,TImage-     ,CImage-     -- ** ImageHandler-     ,ImageHandler-     ,TImageHandler-     ,CImageHandler-     -- ** ImageList-     ,ImageList-     ,TImageList-     ,CImageList-     -- ** IndividualLayoutConstraint-     ,IndividualLayoutConstraint-     ,TIndividualLayoutConstraint-     ,CIndividualLayoutConstraint-     -- ** InitDialogEvent-     ,InitDialogEvent-     ,TInitDialogEvent-     ,CInitDialogEvent-     -- ** InputSink-     ,InputSink-     ,TInputSink-     ,CInputSink-     -- ** InputSinkEvent-     ,InputSinkEvent-     ,TInputSinkEvent-     ,CInputSinkEvent-     -- ** InputStream-     ,InputStream-     ,TInputStream-     ,CInputStream-     -- ** Joystick-     ,Joystick-     ,TJoystick-     ,CJoystick-     -- ** JoystickEvent-     ,JoystickEvent-     ,TJoystickEvent-     ,CJoystickEvent-     -- ** KeyEvent-     ,KeyEvent-     ,TKeyEvent-     ,CKeyEvent-     -- ** LEDNumberCtrl-     ,LEDNumberCtrl-     ,TLEDNumberCtrl-     ,CLEDNumberCtrl-     -- ** LayoutAlgorithm-     ,LayoutAlgorithm-     ,TLayoutAlgorithm-     ,CLayoutAlgorithm-     -- ** LayoutConstraints-     ,LayoutConstraints-     ,TLayoutConstraints-     ,CLayoutConstraints-     -- ** List-     ,List-     ,TList-     ,CList-     -- ** ListBox-     ,ListBox-     ,TListBox-     ,CListBox-     -- ** ListCtrl-     ,ListCtrl-     ,TListCtrl-     ,CListCtrl-     -- ** ListEvent-     ,ListEvent-     ,TListEvent-     ,CListEvent-     -- ** ListItem-     ,ListItem-     ,TListItem-     ,CListItem-     -- ** Locale-     ,Locale-     ,TLocale-     ,CLocale-     -- ** Log-     ,Log-     ,TLog-     ,CLog-     -- ** LogChain-     ,LogChain-     ,TLogChain-     ,CLogChain-     -- ** LogGUI-     ,LogGUI-     ,TLogGUI-     ,CLogGUI-     -- ** LogNull-     ,LogNull-     ,TLogNull-     ,CLogNull-     -- ** LogPassThrough-     ,LogPassThrough-     ,TLogPassThrough-     ,CLogPassThrough-     -- ** LogStderr-     ,LogStderr-     ,TLogStderr-     ,CLogStderr-     -- ** LogStream-     ,LogStream-     ,TLogStream-     ,CLogStream-     -- ** LogTextCtrl-     ,LogTextCtrl-     ,TLogTextCtrl-     ,CLogTextCtrl-     -- ** LogWindow-     ,LogWindow-     ,TLogWindow-     ,CLogWindow-     -- ** LongLong-     ,LongLong-     ,TLongLong-     ,CLongLong-     -- ** MBConv-     ,MBConv-     ,TMBConv-     ,CMBConv-     -- ** MBConvFile-     ,MBConvFile-     ,TMBConvFile-     ,CMBConvFile-     -- ** MBConvUTF7-     ,MBConvUTF7-     ,TMBConvUTF7-     ,CMBConvUTF7-     -- ** MBConvUTF8-     ,MBConvUTF8-     ,TMBConvUTF8-     ,CMBConvUTF8-     -- ** MDIChildFrame-     ,MDIChildFrame-     ,TMDIChildFrame-     ,CMDIChildFrame-     -- ** MDIClientWindow-     ,MDIClientWindow-     ,TMDIClientWindow-     ,CMDIClientWindow-     -- ** MDIParentFrame-     ,MDIParentFrame-     ,TMDIParentFrame-     ,CMDIParentFrame-     -- ** Mask-     ,Mask-     ,TMask-     ,CMask-     -- ** MaximizeEvent-     ,MaximizeEvent-     ,TMaximizeEvent-     ,CMaximizeEvent-     -- ** MediaCtrl-     ,MediaCtrl-     ,TMediaCtrl-     ,CMediaCtrl-     -- ** MediaEvent-     ,MediaEvent-     ,TMediaEvent-     ,CMediaEvent-     -- ** MemoryBuffer-     ,MemoryBuffer-     ,TMemoryBuffer-     ,CMemoryBuffer-     -- ** MemoryDC-     ,MemoryDC-     ,TMemoryDC-     ,CMemoryDC-     -- ** MemoryFSHandler-     ,MemoryFSHandler-     ,TMemoryFSHandler-     ,CMemoryFSHandler-     -- ** MemoryInputStream-     ,MemoryInputStream-     ,TMemoryInputStream-     ,CMemoryInputStream-     -- ** MemoryOutputStream-     ,MemoryOutputStream-     ,TMemoryOutputStream-     ,CMemoryOutputStream-     -- ** Menu-     ,Menu-     ,TMenu-     ,CMenu-     -- ** MenuBar-     ,MenuBar-     ,TMenuBar-     ,CMenuBar-     -- ** MenuEvent-     ,MenuEvent-     ,TMenuEvent-     ,CMenuEvent-     -- ** MenuItem-     ,MenuItem-     ,TMenuItem-     ,CMenuItem-     -- ** MessageDialog-     ,MessageDialog-     ,TMessageDialog-     ,CMessageDialog-     -- ** Metafile-     ,Metafile-     ,TMetafile-     ,CMetafile-     -- ** MetafileDC-     ,MetafileDC-     ,TMetafileDC-     ,CMetafileDC-     -- ** MimeTypesManager-     ,MimeTypesManager-     ,TMimeTypesManager-     ,CMimeTypesManager-     -- ** MiniFrame-     ,MiniFrame-     ,TMiniFrame-     ,CMiniFrame-     -- ** MirrorDC-     ,MirrorDC-     ,TMirrorDC-     ,CMirrorDC-     -- ** Module-     ,Module-     ,TModule-     ,CModule-     -- ** MouseCaptureChangedEvent-     ,MouseCaptureChangedEvent-     ,TMouseCaptureChangedEvent-     ,CMouseCaptureChangedEvent-     -- ** MouseEvent-     ,MouseEvent-     ,TMouseEvent-     ,CMouseEvent-     -- ** MoveEvent-     ,MoveEvent-     ,TMoveEvent-     ,CMoveEvent-     -- ** MultiCellCanvas-     ,MultiCellCanvas-     ,TMultiCellCanvas-     ,CMultiCellCanvas-     -- ** MultiCellItemHandle-     ,MultiCellItemHandle-     ,TMultiCellItemHandle-     ,CMultiCellItemHandle-     -- ** MultiCellSizer-     ,MultiCellSizer-     ,TMultiCellSizer-     ,CMultiCellSizer-     -- ** Mutex-     ,Mutex-     ,TMutex-     ,CMutex-     -- ** MutexLocker-     ,MutexLocker-     ,TMutexLocker-     ,CMutexLocker-     -- ** NavigationKeyEvent-     ,NavigationKeyEvent-     ,TNavigationKeyEvent-     ,CNavigationKeyEvent-     -- ** NewBitmapButton-     ,NewBitmapButton-     ,TNewBitmapButton-     ,CNewBitmapButton-     -- ** NodeBase-     ,NodeBase-     ,TNodeBase-     ,CNodeBase-     -- ** Notebook-     ,Notebook-     ,TNotebook-     ,CNotebook-     -- ** NotebookEvent-     ,NotebookEvent-     ,TNotebookEvent-     ,CNotebookEvent-     -- ** NotifyEvent-     ,NotifyEvent-     ,TNotifyEvent-     ,CNotifyEvent-     -- ** ObjectRefData-     ,ObjectRefData-     ,TObjectRefData-     ,CObjectRefData-     -- ** OutputStream-     ,OutputStream-     ,TOutputStream-     ,COutputStream-     -- ** PageSetupDialog-     ,PageSetupDialog-     ,TPageSetupDialog-     ,CPageSetupDialog-     -- ** PageSetupDialogData-     ,PageSetupDialogData-     ,TPageSetupDialogData-     ,CPageSetupDialogData-     -- ** PaintDC-     ,PaintDC-     ,TPaintDC-     ,CPaintDC-     -- ** PaintEvent-     ,PaintEvent-     ,TPaintEvent-     ,CPaintEvent-     -- ** Palette-     ,Palette-     ,TPalette-     ,CPalette-     -- ** PaletteChangedEvent-     ,PaletteChangedEvent-     ,TPaletteChangedEvent-     ,CPaletteChangedEvent-     -- ** Panel-     ,Panel-     ,TPanel-     ,CPanel-     -- ** PathList-     ,PathList-     ,TPathList-     ,CPathList-     -- ** Pen-     ,Pen-     ,TPen-     ,CPen-     -- ** PenList-     ,PenList-     ,TPenList-     ,CPenList-     -- ** PlotCurve-     ,PlotCurve-     ,TPlotCurve-     ,CPlotCurve-     -- ** PlotEvent-     ,PlotEvent-     ,TPlotEvent-     ,CPlotEvent-     -- ** PlotOnOffCurve-     ,PlotOnOffCurve-     ,TPlotOnOffCurve-     ,CPlotOnOffCurve-     -- ** PlotWindow-     ,PlotWindow-     ,TPlotWindow-     ,CPlotWindow-     -- ** PopupTransientWindow-     ,PopupTransientWindow-     ,TPopupTransientWindow-     ,CPopupTransientWindow-     -- ** PopupWindow-     ,PopupWindow-     ,TPopupWindow-     ,CPopupWindow-     -- ** PostScriptDC-     ,PostScriptDC-     ,TPostScriptDC-     ,CPostScriptDC-     -- ** PostScriptPrintNativeData-     ,PostScriptPrintNativeData-     ,TPostScriptPrintNativeData-     ,CPostScriptPrintNativeData-     -- ** PreviewCanvas-     ,PreviewCanvas-     ,TPreviewCanvas-     ,CPreviewCanvas-     -- ** PreviewControlBar-     ,PreviewControlBar-     ,TPreviewControlBar-     ,CPreviewControlBar-     -- ** PreviewFrame-     ,PreviewFrame-     ,TPreviewFrame-     ,CPreviewFrame-     -- ** PrintData-     ,PrintData-     ,TPrintData-     ,CPrintData-     -- ** PrintDialog-     ,PrintDialog-     ,TPrintDialog-     ,CPrintDialog-     -- ** PrintDialogData-     ,PrintDialogData-     ,TPrintDialogData-     ,CPrintDialogData-     -- ** PrintPreview-     ,PrintPreview-     ,TPrintPreview-     ,CPrintPreview-     -- ** Printer-     ,Printer-     ,TPrinter-     ,CPrinter-     -- ** PrinterDC-     ,PrinterDC-     ,TPrinterDC-     ,CPrinterDC-     -- ** Printout-     ,Printout-     ,TPrintout-     ,CPrintout-     -- ** PrivateDropTarget-     ,PrivateDropTarget-     ,TPrivateDropTarget-     ,CPrivateDropTarget-     -- ** Process-     ,Process-     ,TProcess-     ,CProcess-     -- ** ProcessEvent-     ,ProcessEvent-     ,TProcessEvent-     ,CProcessEvent-     -- ** ProgressDialog-     ,ProgressDialog-     ,TProgressDialog-     ,CProgressDialog-     -- ** Protocol-     ,Protocol-     ,TProtocol-     ,CProtocol-     -- ** Quantize-     ,Quantize-     ,TQuantize-     ,CQuantize-     -- ** QueryCol-     ,QueryCol-     ,TQueryCol-     ,CQueryCol-     -- ** QueryField-     ,QueryField-     ,TQueryField-     ,CQueryField-     -- ** QueryLayoutInfoEvent-     ,QueryLayoutInfoEvent-     ,TQueryLayoutInfoEvent-     ,CQueryLayoutInfoEvent-     -- ** QueryNewPaletteEvent-     ,QueryNewPaletteEvent-     ,TQueryNewPaletteEvent-     ,CQueryNewPaletteEvent-     -- ** RadioBox-     ,RadioBox-     ,TRadioBox-     ,CRadioBox-     -- ** RadioButton-     ,RadioButton-     ,TRadioButton-     ,CRadioButton-     -- ** RealPoint-     ,RealPoint-     ,TRealPoint-     ,CRealPoint-     -- ** RecordSet-     ,RecordSet-     ,TRecordSet-     ,CRecordSet-     -- ** RegEx-     ,RegEx-     ,TRegEx-     ,CRegEx-     -- ** Region-     ,Region-     ,TRegion-     ,CRegion-     -- ** RegionIterator-     ,RegionIterator-     ,TRegionIterator-     ,CRegionIterator-     -- ** RemotelyScrolledTreeCtrl-     ,RemotelyScrolledTreeCtrl-     ,TRemotelyScrolledTreeCtrl-     ,CRemotelyScrolledTreeCtrl-     -- ** STCDoc-     ,STCDoc-     ,TSTCDoc-     ,CSTCDoc-     -- ** SVGFileDC-     ,SVGFileDC-     ,TSVGFileDC-     ,CSVGFileDC-     -- ** SashEvent-     ,SashEvent-     ,TSashEvent-     ,CSashEvent-     -- ** SashLayoutWindow-     ,SashLayoutWindow-     ,TSashLayoutWindow-     ,CSashLayoutWindow-     -- ** SashWindow-     ,SashWindow-     ,TSashWindow-     ,CSashWindow-     -- ** ScopedArray-     ,ScopedArray-     ,TScopedArray-     ,CScopedArray-     -- ** ScopedPtr-     ,ScopedPtr-     ,TScopedPtr-     ,CScopedPtr-     -- ** ScreenDC-     ,ScreenDC-     ,TScreenDC-     ,CScreenDC-     -- ** ScrollBar-     ,ScrollBar-     ,TScrollBar-     ,CScrollBar-     -- ** ScrollEvent-     ,ScrollEvent-     ,TScrollEvent-     ,CScrollEvent-     -- ** ScrollWinEvent-     ,ScrollWinEvent-     ,TScrollWinEvent-     ,CScrollWinEvent-     -- ** ScrolledWindow-     ,ScrolledWindow-     ,TScrolledWindow-     ,CScrolledWindow-     -- ** Semaphore-     ,Semaphore-     ,TSemaphore-     ,CSemaphore-     -- ** Server-     ,Server-     ,TServer-     ,CServer-     -- ** ServerBase-     ,ServerBase-     ,TServerBase-     ,CServerBase-     -- ** SetCursorEvent-     ,SetCursorEvent-     ,TSetCursorEvent-     ,CSetCursorEvent-     -- ** ShowEvent-     ,ShowEvent-     ,TShowEvent-     ,CShowEvent-     -- ** SimpleHelpProvider-     ,SimpleHelpProvider-     ,TSimpleHelpProvider-     ,CSimpleHelpProvider-     -- ** SingleChoiceDialog-     ,SingleChoiceDialog-     ,TSingleChoiceDialog-     ,CSingleChoiceDialog-     -- ** SingleInstanceChecker-     ,SingleInstanceChecker-     ,TSingleInstanceChecker-     ,CSingleInstanceChecker-     -- ** SizeEvent-     ,SizeEvent-     ,TSizeEvent-     ,CSizeEvent-     -- ** Sizer-     ,Sizer-     ,TSizer-     ,CSizer-     -- ** SizerItem-     ,SizerItem-     ,TSizerItem-     ,CSizerItem-     -- ** Slider-     ,Slider-     ,TSlider-     ,CSlider-     -- ** Slider95-     ,Slider95-     ,TSlider95-     ,CSlider95-     -- ** SliderMSW-     ,SliderMSW-     ,TSliderMSW-     ,CSliderMSW-     -- ** SockAddress-     ,SockAddress-     ,TSockAddress-     ,CSockAddress-     -- ** SocketBase-     ,SocketBase-     ,TSocketBase-     ,CSocketBase-     -- ** SocketClient-     ,SocketClient-     ,TSocketClient-     ,CSocketClient-     -- ** SocketEvent-     ,SocketEvent-     ,TSocketEvent-     ,CSocketEvent-     -- ** SocketInputStream-     ,SocketInputStream-     ,TSocketInputStream-     ,CSocketInputStream-     -- ** SocketOutputStream-     ,SocketOutputStream-     ,TSocketOutputStream-     ,CSocketOutputStream-     -- ** SocketServer-     ,SocketServer-     ,TSocketServer-     ,CSocketServer-     -- ** Sound-     ,Sound-     ,TSound-     ,CSound-     -- ** SpinButton-     ,SpinButton-     ,TSpinButton-     ,CSpinButton-     -- ** SpinCtrl-     ,SpinCtrl-     ,TSpinCtrl-     ,CSpinCtrl-     -- ** SpinEvent-     ,SpinEvent-     ,TSpinEvent-     ,CSpinEvent-     -- ** SplashScreen-     ,SplashScreen-     ,TSplashScreen-     ,CSplashScreen-     -- ** SplitterEvent-     ,SplitterEvent-     ,TSplitterEvent-     ,CSplitterEvent-     -- ** SplitterScrolledWindow-     ,SplitterScrolledWindow-     ,TSplitterScrolledWindow-     ,CSplitterScrolledWindow-     -- ** SplitterWindow-     ,SplitterWindow-     ,TSplitterWindow-     ,CSplitterWindow-     -- ** StaticBitmap-     ,StaticBitmap-     ,TStaticBitmap-     ,CStaticBitmap-     -- ** StaticBox-     ,StaticBox-     ,TStaticBox-     ,CStaticBox-     -- ** StaticBoxSizer-     ,StaticBoxSizer-     ,TStaticBoxSizer-     ,CStaticBoxSizer-     -- ** StaticLine-     ,StaticLine-     ,TStaticLine-     ,CStaticLine-     -- ** StaticText-     ,StaticText-     ,TStaticText-     ,CStaticText-     -- ** StatusBar-     ,StatusBar-     ,TStatusBar-     ,CStatusBar-     -- ** StopWatch-     ,StopWatch-     ,TStopWatch-     ,CStopWatch-     -- ** StreamBase-     ,StreamBase-     ,TStreamBase-     ,CStreamBase-     -- ** StreamBuffer-     ,StreamBuffer-     ,TStreamBuffer-     ,CStreamBuffer-     -- ** StreamToTextRedirector-     ,StreamToTextRedirector-     ,TStreamToTextRedirector-     ,CStreamToTextRedirector-     -- ** StringBuffer-     ,StringBuffer-     ,TStringBuffer-     ,CStringBuffer-     -- ** StringClientData-     ,StringClientData-     ,TStringClientData-     ,CStringClientData-     -- ** StringList-     ,StringList-     ,TStringList-     ,CStringList-     -- ** StringTokenizer-     ,StringTokenizer-     ,TStringTokenizer-     ,CStringTokenizer-     -- ** StyledTextCtrl-     ,StyledTextCtrl-     ,TStyledTextCtrl-     ,CStyledTextCtrl-     -- ** StyledTextEvent-     ,StyledTextEvent-     ,TStyledTextEvent-     ,CStyledTextEvent-     -- ** SysColourChangedEvent-     ,SysColourChangedEvent-     ,TSysColourChangedEvent-     ,CSysColourChangedEvent-     -- ** SystemOptions-     ,SystemOptions-     ,TSystemOptions-     ,CSystemOptions-     -- ** SystemSettings-     ,SystemSettings-     ,TSystemSettings-     ,CSystemSettings-     -- ** TabCtrl-     ,TabCtrl-     ,TTabCtrl-     ,CTabCtrl-     -- ** TabEvent-     ,TabEvent-     ,TTabEvent-     ,CTabEvent-     -- ** TablesInUse-     ,TablesInUse-     ,TTablesInUse-     ,CTablesInUse-     -- ** TaskBarIcon-     ,TaskBarIcon-     ,TTaskBarIcon-     ,CTaskBarIcon-     -- ** TempFile-     ,TempFile-     ,TTempFile-     ,CTempFile-     -- ** TextAttr-     ,TextAttr-     ,TTextAttr-     ,CTextAttr-     -- ** TextCtrl-     ,TextCtrl-     ,TTextCtrl-     ,CTextCtrl-     -- ** TextDataObject-     ,TextDataObject-     ,TTextDataObject-     ,CTextDataObject-     -- ** TextDropTarget-     ,TextDropTarget-     ,TTextDropTarget-     ,CTextDropTarget-     -- ** TextEntryDialog-     ,TextEntryDialog-     ,TTextEntryDialog-     ,CTextEntryDialog-     -- ** TextFile-     ,TextFile-     ,TTextFile-     ,CTextFile-     -- ** TextInputStream-     ,TextInputStream-     ,TTextInputStream-     ,CTextInputStream-     -- ** TextOutputStream-     ,TextOutputStream-     ,TTextOutputStream-     ,CTextOutputStream-     -- ** TextValidator-     ,TextValidator-     ,TTextValidator-     ,CTextValidator-     -- ** ThinSplitterWindow-     ,ThinSplitterWindow-     ,TThinSplitterWindow-     ,CThinSplitterWindow-     -- ** Thread-     ,Thread-     ,TThread-     ,CThread-     -- ** Time-     ,Time-     ,TTime-     ,CTime-     -- ** TimeSpan-     ,TimeSpan-     ,TTimeSpan-     ,CTimeSpan-     -- ** Timer-     ,Timer-     ,TTimer-     ,CTimer-     -- ** TimerBase-     ,TimerBase-     ,TTimerBase-     ,CTimerBase-     -- ** TimerEvent-     ,TimerEvent-     ,TTimerEvent-     ,CTimerEvent-     -- ** TimerEx-     ,TimerEx-     ,TTimerEx-     ,CTimerEx-     -- ** TimerRunner-     ,TimerRunner-     ,TTimerRunner-     ,CTimerRunner-     -- ** TipProvider-     ,TipProvider-     ,TTipProvider-     ,CTipProvider-     -- ** TipWindow-     ,TipWindow-     ,TTipWindow-     ,CTipWindow-     -- ** ToggleButton-     ,ToggleButton-     ,TToggleButton-     ,CToggleButton-     -- ** ToolBar-     ,ToolBar-     ,TToolBar-     ,CToolBar-     -- ** ToolBarBase-     ,ToolBarBase-     ,TToolBarBase-     ,CToolBarBase-     -- ** ToolLayoutItem-     ,ToolLayoutItem-     ,TToolLayoutItem-     ,CToolLayoutItem-     -- ** ToolTip-     ,ToolTip-     ,TToolTip-     ,CToolTip-     -- ** ToolWindow-     ,ToolWindow-     ,TToolWindow-     ,CToolWindow-     -- ** TopLevelWindow-     ,TopLevelWindow-     ,TTopLevelWindow-     ,CTopLevelWindow-     -- ** TreeCompanionWindow-     ,TreeCompanionWindow-     ,TTreeCompanionWindow-     ,CTreeCompanionWindow-     -- ** TreeCtrl-     ,TreeCtrl-     ,TTreeCtrl-     ,CTreeCtrl-     -- ** TreeEvent-     ,TreeEvent-     ,TTreeEvent-     ,CTreeEvent-     -- ** TreeItemData-     ,TreeItemData-     ,TTreeItemData-     ,CTreeItemData-     -- ** TreeItemId-     ,TreeItemId-     ,TTreeItemId-     ,CTreeItemId-     -- ** TreeLayout-     ,TreeLayout-     ,TTreeLayout-     ,CTreeLayout-     -- ** TreeLayoutStored-     ,TreeLayoutStored-     ,TTreeLayoutStored-     ,CTreeLayoutStored-     -- ** URL-     ,URL-     ,TURL-     ,CURL-     -- ** UpdateUIEvent-     ,UpdateUIEvent-     ,TUpdateUIEvent-     ,CUpdateUIEvent-     -- ** Validator-     ,Validator-     ,TValidator-     ,CValidator-     -- ** Variant-     ,Variant-     ,TVariant-     ,CVariant-     -- ** VariantData-     ,VariantData-     ,TVariantData-     ,CVariantData-     -- ** View-     ,View-     ,TView-     ,CView-     -- ** WXCApp-     ,WXCApp-     ,TWXCApp-     ,CWXCApp-     -- ** WXCArtProv-     ,WXCArtProv-     ,TWXCArtProv-     ,CWXCArtProv-     -- ** WXCClient-     ,WXCClient-     ,TWXCClient-     ,CWXCClient-     -- ** WXCCommand-     ,WXCCommand-     ,TWXCCommand-     ,CWXCCommand-     -- ** WXCConnection-     ,WXCConnection-     ,TWXCConnection-     ,CWXCConnection-     -- ** WXCDragDataObject-     ,WXCDragDataObject-     ,TWXCDragDataObject-     ,CWXCDragDataObject-     -- ** WXCDropTarget-     ,WXCDropTarget-     ,TWXCDropTarget-     ,CWXCDropTarget-     -- ** WXCFileDropTarget-     ,WXCFileDropTarget-     ,TWXCFileDropTarget-     ,CWXCFileDropTarget-     -- ** WXCGridTable-     ,WXCGridTable-     ,TWXCGridTable-     ,CWXCGridTable-     -- ** WXCHtmlEvent-     ,WXCHtmlEvent-     ,TWXCHtmlEvent-     ,CWXCHtmlEvent-     -- ** WXCHtmlWindow-     ,WXCHtmlWindow-     ,TWXCHtmlWindow-     ,CWXCHtmlWindow-     -- ** WXCLocale-     ,WXCLocale-     ,TWXCLocale-     ,CWXCLocale-     -- ** WXCLog-     ,WXCLog-     ,TWXCLog-     ,CWXCLog-     -- ** WXCMessageParameters-     ,WXCMessageParameters-     ,TWXCMessageParameters-     ,CWXCMessageParameters-     -- ** WXCPlotCurve-     ,WXCPlotCurve-     ,TWXCPlotCurve-     ,CWXCPlotCurve-     -- ** WXCPreviewControlBar-     ,WXCPreviewControlBar-     ,TWXCPreviewControlBar-     ,CWXCPreviewControlBar-     -- ** WXCPreviewFrame-     ,WXCPreviewFrame-     ,TWXCPreviewFrame-     ,CWXCPreviewFrame-     -- ** WXCPrintEvent-     ,WXCPrintEvent-     ,TWXCPrintEvent-     ,CWXCPrintEvent-     -- ** WXCPrintout-     ,WXCPrintout-     ,TWXCPrintout-     ,CWXCPrintout-     -- ** WXCPrintoutHandler-     ,WXCPrintoutHandler-     ,TWXCPrintoutHandler-     ,CWXCPrintoutHandler-     -- ** WXCServer-     ,WXCServer-     ,TWXCServer-     ,CWXCServer-     -- ** WXCTextDropTarget-     ,WXCTextDropTarget-     ,TWXCTextDropTarget-     ,CWXCTextDropTarget-     -- ** WXCTextValidator-     ,WXCTextValidator-     ,TWXCTextValidator-     ,CWXCTextValidator-     -- ** WXCTreeItemData-     ,WXCTreeItemData-     ,TWXCTreeItemData-     ,CWXCTreeItemData-     -- ** Window-     ,Window-     ,TWindow-     ,CWindow-     -- ** WindowCreateEvent-     ,WindowCreateEvent-     ,TWindowCreateEvent-     ,CWindowCreateEvent-     -- ** WindowDC-     ,WindowDC-     ,TWindowDC-     ,CWindowDC-     -- ** WindowDestroyEvent-     ,WindowDestroyEvent-     ,TWindowDestroyEvent-     ,CWindowDestroyEvent-     -- ** WindowDisabler-     ,WindowDisabler-     ,TWindowDisabler-     ,CWindowDisabler-     -- ** Wizard-     ,Wizard-     ,TWizard-     ,CWizard-     -- ** WizardEvent-     ,WizardEvent-     ,TWizardEvent-     ,CWizardEvent-     -- ** WizardPage-     ,WizardPage-     ,TWizardPage-     ,CWizardPage-     -- ** WizardPageSimple-     ,WizardPageSimple-     ,TWizardPageSimple-     ,CWizardPageSimple-     -- ** WxArray-     ,WxArray-     ,TWxArray-     ,CWxArray-     -- ** WxDllLoader-     ,WxDllLoader-     ,TWxDllLoader-     ,CWxDllLoader-     -- ** WxExpr-     ,WxExpr-     ,TWxExpr-     ,CWxExpr-     -- ** WxManagedPtr-     ,WxManagedPtr-     ,TWxManagedPtr-     ,CWxManagedPtr-     -- ** WxObject-     ,WxObject-     ,TWxObject-     ,CWxObject-     -- ** WxPoint-     ,WxPoint-     ,TWxPoint-     ,CWxPoint-     -- ** WxRect-     ,WxRect-     ,TWxRect-     ,CWxRect-     -- ** WxSize-     ,WxSize-     ,TWxSize-     ,CWxSize-     -- ** WxString-     ,WxString-     ,TWxString-     ,CWxString-     -- ** XmlResource-     ,XmlResource-     ,TXmlResource-     ,CXmlResource-     -- ** XmlResourceHandler-     ,XmlResourceHandler-     ,TXmlResourceHandler-     ,CXmlResourceHandler-     -- ** ZipInputStream-     ,ZipInputStream-     ,TZipInputStream-     ,CZipInputStream-     -- ** ZlibInputStream-     ,ZlibInputStream-     ,TZlibInputStream-     ,CZlibInputStream-     -- ** ZlibOutputStream-     ,ZlibOutputStream-     ,TZlibOutputStream-     ,CZlibOutputStream-    ) where--import Graphics.UI.WXCore.WxcObject--classTypesVersion :: String-classTypesVersion  = "2011-06-15 17:40:01.838171 UTC"---- | Pointer to an object of type 'ConfigBase'.-type ConfigBase a  = Object (CConfigBase a)--- | Inheritance type of the ConfigBase class.-type TConfigBase a  = CConfigBase a--- | Abstract type of the ConfigBase class.-data CConfigBase a  = CConfigBase---- | Pointer to an object of type 'FileConfig', derived from 'ConfigBase'.-type FileConfig a  = ConfigBase (CFileConfig a)--- | Inheritance type of the FileConfig class.-type TFileConfig a  = TConfigBase (CFileConfig a)--- | Abstract type of the FileConfig class.-data CFileConfig a  = CFileConfig---- | Pointer to an object of type 'GridCellWorker'.-type GridCellWorker a  = Object (CGridCellWorker a)--- | Inheritance type of the GridCellWorker class.-type TGridCellWorker a  = CGridCellWorker a--- | Abstract type of the GridCellWorker class.-data CGridCellWorker a  = CGridCellWorker---- | Pointer to an object of type 'GridCellEditor', derived from 'GridCellWorker'.-type GridCellEditor a  = GridCellWorker (CGridCellEditor a)--- | Inheritance type of the GridCellEditor class.-type TGridCellEditor a  = TGridCellWorker (CGridCellEditor a)--- | Abstract type of the GridCellEditor class.-data CGridCellEditor a  = CGridCellEditor---- | Pointer to an object of type 'GridCellTextEditor', derived from 'GridCellEditor'.-type GridCellTextEditor a  = GridCellEditor (CGridCellTextEditor a)--- | Inheritance type of the GridCellTextEditor class.-type TGridCellTextEditor a  = TGridCellEditor (CGridCellTextEditor a)--- | Abstract type of the GridCellTextEditor class.-data CGridCellTextEditor a  = CGridCellTextEditor---- | Pointer to an object of type 'GridCellFloatEditor', derived from 'GridCellTextEditor'.-type GridCellFloatEditor a  = GridCellTextEditor (CGridCellFloatEditor a)--- | Inheritance type of the GridCellFloatEditor class.-type TGridCellFloatEditor a  = TGridCellTextEditor (CGridCellFloatEditor a)--- | Abstract type of the GridCellFloatEditor class.-data CGridCellFloatEditor a  = CGridCellFloatEditor---- | Pointer to an object of type 'GridCellTextEnterEditor', derived from 'GridCellTextEditor'.-type GridCellTextEnterEditor a  = GridCellTextEditor (CGridCellTextEnterEditor a)--- | Inheritance type of the GridCellTextEnterEditor class.-type TGridCellTextEnterEditor a  = TGridCellTextEditor (CGridCellTextEnterEditor a)--- | Abstract type of the GridCellTextEnterEditor class.-data CGridCellTextEnterEditor a  = CGridCellTextEnterEditor---- | Pointer to an object of type 'GridCellNumberEditor', derived from 'GridCellTextEditor'.-type GridCellNumberEditor a  = GridCellTextEditor (CGridCellNumberEditor a)--- | Inheritance type of the GridCellNumberEditor class.-type TGridCellNumberEditor a  = TGridCellTextEditor (CGridCellNumberEditor a)--- | Abstract type of the GridCellNumberEditor class.-data CGridCellNumberEditor a  = CGridCellNumberEditor---- | Pointer to an object of type 'GridCellChoiceEditor', derived from 'GridCellEditor'.-type GridCellChoiceEditor a  = GridCellEditor (CGridCellChoiceEditor a)--- | Inheritance type of the GridCellChoiceEditor class.-type TGridCellChoiceEditor a  = TGridCellEditor (CGridCellChoiceEditor a)--- | Abstract type of the GridCellChoiceEditor class.-data CGridCellChoiceEditor a  = CGridCellChoiceEditor---- | Pointer to an object of type 'GridCellBoolEditor', derived from 'GridCellEditor'.-type GridCellBoolEditor a  = GridCellEditor (CGridCellBoolEditor a)--- | Inheritance type of the GridCellBoolEditor class.-type TGridCellBoolEditor a  = TGridCellEditor (CGridCellBoolEditor a)--- | Abstract type of the GridCellBoolEditor class.-data CGridCellBoolEditor a  = CGridCellBoolEditor---- | Pointer to an object of type 'GridCellRenderer', derived from 'GridCellWorker'.-type GridCellRenderer a  = GridCellWorker (CGridCellRenderer a)--- | Inheritance type of the GridCellRenderer class.-type TGridCellRenderer a  = TGridCellWorker (CGridCellRenderer a)--- | Abstract type of the GridCellRenderer class.-data CGridCellRenderer a  = CGridCellRenderer---- | Pointer to an object of type 'GridCellStringRenderer', derived from 'GridCellRenderer'.-type GridCellStringRenderer a  = GridCellRenderer (CGridCellStringRenderer a)--- | Inheritance type of the GridCellStringRenderer class.-type TGridCellStringRenderer a  = TGridCellRenderer (CGridCellStringRenderer a)--- | Abstract type of the GridCellStringRenderer class.-data CGridCellStringRenderer a  = CGridCellStringRenderer---- | Pointer to an object of type 'GridCellFloatRenderer', derived from 'GridCellStringRenderer'.-type GridCellFloatRenderer a  = GridCellStringRenderer (CGridCellFloatRenderer a)--- | Inheritance type of the GridCellFloatRenderer class.-type TGridCellFloatRenderer a  = TGridCellStringRenderer (CGridCellFloatRenderer a)--- | Abstract type of the GridCellFloatRenderer class.-data CGridCellFloatRenderer a  = CGridCellFloatRenderer---- | Pointer to an object of type 'GridCellNumberRenderer', derived from 'GridCellStringRenderer'.-type GridCellNumberRenderer a  = GridCellStringRenderer (CGridCellNumberRenderer a)--- | Inheritance type of the GridCellNumberRenderer class.-type TGridCellNumberRenderer a  = TGridCellStringRenderer (CGridCellNumberRenderer a)--- | Abstract type of the GridCellNumberRenderer class.-data CGridCellNumberRenderer a  = CGridCellNumberRenderer---- | Pointer to an object of type 'GridCellBoolRenderer', derived from 'GridCellRenderer'.-type GridCellBoolRenderer a  = GridCellRenderer (CGridCellBoolRenderer a)--- | Inheritance type of the GridCellBoolRenderer class.-type TGridCellBoolRenderer a  = TGridCellRenderer (CGridCellBoolRenderer a)--- | Abstract type of the GridCellBoolRenderer class.-data CGridCellBoolRenderer a  = CGridCellBoolRenderer---- | Pointer to an object of type 'WxObject'.-type WxObject a  = Object (CWxObject a)--- | Inheritance type of the WxObject class.-type TWxObject a  = CWxObject a--- | Abstract type of the WxObject class.-data CWxObject a  = CWxObject---- | Pointer to an object of type 'EvtHandler', derived from 'WxObject'.-type EvtHandler a  = WxObject (CEvtHandler a)--- | Inheritance type of the EvtHandler class.-type TEvtHandler a  = TWxObject (CEvtHandler a)--- | Abstract type of the EvtHandler class.-data CEvtHandler a  = CEvtHandler---- | Pointer to an object of type 'Window', derived from 'EvtHandler'.-type Window a  = EvtHandler (CWindow a)--- | Inheritance type of the Window class.-type TWindow a  = TEvtHandler (CWindow a)--- | Abstract type of the Window class.-data CWindow a  = CWindow---- | Pointer to an object of type 'Panel', derived from 'Window'.-type Panel a  = Window (CPanel a)--- | Inheritance type of the Panel class.-type TPanel a  = TWindow (CPanel a)--- | Abstract type of the Panel class.-data CPanel a  = CPanel---- | Pointer to an object of type 'ScrolledWindow', derived from 'Panel'.-type ScrolledWindow a  = Panel (CScrolledWindow a)--- | Inheritance type of the ScrolledWindow class.-type TScrolledWindow a  = TPanel (CScrolledWindow a)--- | Abstract type of the ScrolledWindow class.-data CScrolledWindow a  = CScrolledWindow---- | Pointer to an object of type 'GLCanvas', derived from 'ScrolledWindow'.-type GLCanvas a  = ScrolledWindow (CGLCanvas a)--- | Inheritance type of the GLCanvas class.-type TGLCanvas a  = TScrolledWindow (CGLCanvas a)--- | Abstract type of the GLCanvas class.-data CGLCanvas a  = CGLCanvas---- | Pointer to an object of type 'HtmlWindow', derived from 'ScrolledWindow'.-type HtmlWindow a  = ScrolledWindow (CHtmlWindow a)--- | Inheritance type of the HtmlWindow class.-type THtmlWindow a  = TScrolledWindow (CHtmlWindow a)--- | Abstract type of the HtmlWindow class.-data CHtmlWindow a  = CHtmlWindow---- | Pointer to an object of type 'WXCHtmlWindow', derived from 'HtmlWindow'.-type WXCHtmlWindow a  = HtmlWindow (CWXCHtmlWindow a)--- | Inheritance type of the WXCHtmlWindow class.-type TWXCHtmlWindow a  = THtmlWindow (CWXCHtmlWindow a)--- | Abstract type of the WXCHtmlWindow class.-data CWXCHtmlWindow a  = CWXCHtmlWindow---- | Pointer to an object of type 'PreviewCanvas', derived from 'ScrolledWindow'.-type PreviewCanvas a  = ScrolledWindow (CPreviewCanvas a)--- | Inheritance type of the PreviewCanvas class.-type TPreviewCanvas a  = TScrolledWindow (CPreviewCanvas a)--- | Abstract type of the PreviewCanvas class.-data CPreviewCanvas a  = CPreviewCanvas---- | Pointer to an object of type 'SplitterScrolledWindow', derived from 'ScrolledWindow'.-type SplitterScrolledWindow a  = ScrolledWindow (CSplitterScrolledWindow a)--- | Inheritance type of the SplitterScrolledWindow class.-type TSplitterScrolledWindow a  = TScrolledWindow (CSplitterScrolledWindow a)--- | Abstract type of the SplitterScrolledWindow class.-data CSplitterScrolledWindow a  = CSplitterScrolledWindow---- | Pointer to an object of type 'PlotWindow', derived from 'ScrolledWindow'.-type PlotWindow a  = ScrolledWindow (CPlotWindow a)--- | Inheritance type of the PlotWindow class.-type TPlotWindow a  = TScrolledWindow (CPlotWindow a)--- | Abstract type of the PlotWindow class.-data CPlotWindow a  = CPlotWindow---- | Pointer to an object of type 'Grid', derived from 'ScrolledWindow'.-type Grid a  = ScrolledWindow (CGrid a)--- | Inheritance type of the Grid class.-type TGrid a  = TScrolledWindow (CGrid a)--- | Abstract type of the Grid class.-data CGrid a  = CGrid---- | Pointer to an object of type 'PreviewControlBar', derived from 'Panel'.-type PreviewControlBar a  = Panel (CPreviewControlBar a)--- | Inheritance type of the PreviewControlBar class.-type TPreviewControlBar a  = TPanel (CPreviewControlBar a)--- | Abstract type of the PreviewControlBar class.-data CPreviewControlBar a  = CPreviewControlBar---- | Pointer to an object of type 'WXCPreviewControlBar', derived from 'PreviewControlBar'.-type WXCPreviewControlBar a  = PreviewControlBar (CWXCPreviewControlBar a)--- | Inheritance type of the WXCPreviewControlBar class.-type TWXCPreviewControlBar a  = TPreviewControlBar (CWXCPreviewControlBar a)--- | Abstract type of the WXCPreviewControlBar class.-data CWXCPreviewControlBar a  = CWXCPreviewControlBar---- | Pointer to an object of type 'WizardPage', derived from 'Panel'.-type WizardPage a  = Panel (CWizardPage a)--- | Inheritance type of the WizardPage class.-type TWizardPage a  = TPanel (CWizardPage a)--- | Abstract type of the WizardPage class.-data CWizardPage a  = CWizardPage---- | Pointer to an object of type 'WizardPageSimple', derived from 'WizardPage'.-type WizardPageSimple a  = WizardPage (CWizardPageSimple a)--- | Inheritance type of the WizardPageSimple class.-type TWizardPageSimple a  = TWizardPage (CWizardPageSimple a)--- | Abstract type of the WizardPageSimple class.-data CWizardPageSimple a  = CWizardPageSimple---- | Pointer to an object of type 'NewBitmapButton', derived from 'Panel'.-type NewBitmapButton a  = Panel (CNewBitmapButton a)--- | Inheritance type of the NewBitmapButton class.-type TNewBitmapButton a  = TPanel (CNewBitmapButton a)--- | Abstract type of the NewBitmapButton class.-data CNewBitmapButton a  = CNewBitmapButton---- | Pointer to an object of type 'EditableListBox', derived from 'Panel'.-type EditableListBox a  = Panel (CEditableListBox a)--- | Inheritance type of the EditableListBox class.-type TEditableListBox a  = TPanel (CEditableListBox a)--- | Abstract type of the EditableListBox class.-data CEditableListBox a  = CEditableListBox---- | Pointer to an object of type 'DrawWindow', derived from 'Window'.-type DrawWindow a  = Window (CDrawWindow a)--- | Inheritance type of the DrawWindow class.-type TDrawWindow a  = TWindow (CDrawWindow a)--- | Abstract type of the DrawWindow class.-data CDrawWindow a  = CDrawWindow---- | Pointer to an object of type 'MDIClientWindow', derived from 'Window'.-type MDIClientWindow a  = Window (CMDIClientWindow a)--- | Inheritance type of the MDIClientWindow class.-type TMDIClientWindow a  = TWindow (CMDIClientWindow a)--- | Abstract type of the MDIClientWindow class.-data CMDIClientWindow a  = CMDIClientWindow---- | Pointer to an object of type 'StatusBar', derived from 'Window'.-type StatusBar a  = Window (CStatusBar a)--- | Inheritance type of the StatusBar class.-type TStatusBar a  = TWindow (CStatusBar a)--- | Abstract type of the StatusBar class.-data CStatusBar a  = CStatusBar---- | Pointer to an object of type 'MediaCtrl', derived from 'Window'.-type MediaCtrl a  = Window (CMediaCtrl a)--- | Inheritance type of the MediaCtrl class.-type TMediaCtrl a  = TWindow (CMediaCtrl a)--- | Abstract type of the MediaCtrl class.-data CMediaCtrl a  = CMediaCtrl---- | Pointer to an object of type 'TreeCompanionWindow', derived from 'Window'.-type TreeCompanionWindow a  = Window (CTreeCompanionWindow a)--- | Inheritance type of the TreeCompanionWindow class.-type TTreeCompanionWindow a  = TWindow (CTreeCompanionWindow a)--- | Abstract type of the TreeCompanionWindow class.-data CTreeCompanionWindow a  = CTreeCompanionWindow---- | Pointer to an object of type 'SplitterWindow', derived from 'Window'.-type SplitterWindow a  = Window (CSplitterWindow a)--- | Inheritance type of the SplitterWindow class.-type TSplitterWindow a  = TWindow (CSplitterWindow a)--- | Abstract type of the SplitterWindow class.-data CSplitterWindow a  = CSplitterWindow---- | Pointer to an object of type 'ThinSplitterWindow', derived from 'SplitterWindow'.-type ThinSplitterWindow a  = SplitterWindow (CThinSplitterWindow a)--- | Inheritance type of the ThinSplitterWindow class.-type TThinSplitterWindow a  = TSplitterWindow (CThinSplitterWindow a)--- | Abstract type of the ThinSplitterWindow class.-data CThinSplitterWindow a  = CThinSplitterWindow---- | Pointer to an object of type 'SashWindow', derived from 'Window'.-type SashWindow a  = Window (CSashWindow a)--- | Inheritance type of the SashWindow class.-type TSashWindow a  = TWindow (CSashWindow a)--- | Abstract type of the SashWindow class.-data CSashWindow a  = CSashWindow---- | Pointer to an object of type 'SashLayoutWindow', derived from 'SashWindow'.-type SashLayoutWindow a  = SashWindow (CSashLayoutWindow a)--- | Inheritance type of the SashLayoutWindow class.-type TSashLayoutWindow a  = TSashWindow (CSashLayoutWindow a)--- | Abstract type of the SashLayoutWindow class.-data CSashLayoutWindow a  = CSashLayoutWindow---- | Pointer to an object of type 'PopupWindow', derived from 'Window'.-type PopupWindow a  = Window (CPopupWindow a)--- | Inheritance type of the PopupWindow class.-type TPopupWindow a  = TWindow (CPopupWindow a)--- | Abstract type of the PopupWindow class.-data CPopupWindow a  = CPopupWindow---- | Pointer to an object of type 'PopupTransientWindow', derived from 'PopupWindow'.-type PopupTransientWindow a  = PopupWindow (CPopupTransientWindow a)--- | Inheritance type of the PopupTransientWindow class.-type TPopupTransientWindow a  = TPopupWindow (CPopupTransientWindow a)--- | Abstract type of the PopupTransientWindow class.-data CPopupTransientWindow a  = CPopupTransientWindow---- | Pointer to an object of type 'TipWindow', derived from 'PopupTransientWindow'.-type TipWindow a  = PopupTransientWindow (CTipWindow a)--- | Inheritance type of the TipWindow class.-type TTipWindow a  = TPopupTransientWindow (CTipWindow a)--- | Abstract type of the TipWindow class.-data CTipWindow a  = CTipWindow---- | Pointer to an object of type 'DynamicSashWindow', derived from 'Window'.-type DynamicSashWindow a  = Window (CDynamicSashWindow a)--- | Inheritance type of the DynamicSashWindow class.-type TDynamicSashWindow a  = TWindow (CDynamicSashWindow a)--- | Abstract type of the DynamicSashWindow class.-data CDynamicSashWindow a  = CDynamicSashWindow---- | Pointer to an object of type 'Control', derived from 'Window'.-type Control a  = Window (CControl a)--- | Inheritance type of the Control class.-type TControl a  = TWindow (CControl a)--- | Abstract type of the Control class.-data CControl a  = CControl---- | Pointer to an object of type 'Slider', derived from 'Control'.-type Slider a  = Control (CSlider a)--- | Inheritance type of the Slider class.-type TSlider a  = TControl (CSlider a)--- | Abstract type of the Slider class.-data CSlider a  = CSlider---- | Pointer to an object of type 'SliderMSW', derived from 'Slider'.-type SliderMSW a  = Slider (CSliderMSW a)--- | Inheritance type of the SliderMSW class.-type TSliderMSW a  = TSlider (CSliderMSW a)--- | Abstract type of the SliderMSW class.-data CSliderMSW a  = CSliderMSW---- | Pointer to an object of type 'Slider95', derived from 'Slider'.-type Slider95 a  = Slider (CSlider95 a)--- | Inheritance type of the Slider95 class.-type TSlider95 a  = TSlider (CSlider95 a)--- | Abstract type of the Slider95 class.-data CSlider95 a  = CSlider95---- | Pointer to an object of type 'Gauge', derived from 'Control'.-type Gauge a  = Control (CGauge a)--- | Inheritance type of the Gauge class.-type TGauge a  = TControl (CGauge a)--- | Abstract type of the Gauge class.-data CGauge a  = CGauge---- | Pointer to an object of type 'GaugeMSW', derived from 'Gauge'.-type GaugeMSW a  = Gauge (CGaugeMSW a)--- | Inheritance type of the GaugeMSW class.-type TGaugeMSW a  = TGauge (CGaugeMSW a)--- | Abstract type of the GaugeMSW class.-data CGaugeMSW a  = CGaugeMSW---- | Pointer to an object of type 'Gauge95', derived from 'Gauge'.-type Gauge95 a  = Gauge (CGauge95 a)--- | Inheritance type of the Gauge95 class.-type TGauge95 a  = TGauge (CGauge95 a)--- | Abstract type of the Gauge95 class.-data CGauge95 a  = CGauge95---- | Pointer to an object of type 'StyledTextCtrl', derived from 'Control'.-type StyledTextCtrl a  = Control (CStyledTextCtrl a)--- | Inheritance type of the StyledTextCtrl class.-type TStyledTextCtrl a  = TControl (CStyledTextCtrl a)--- | Abstract type of the StyledTextCtrl class.-data CStyledTextCtrl a  = CStyledTextCtrl---- | Pointer to an object of type 'TreeCtrl', derived from 'Control'.-type TreeCtrl a  = Control (CTreeCtrl a)--- | Inheritance type of the TreeCtrl class.-type TTreeCtrl a  = TControl (CTreeCtrl a)--- | Abstract type of the TreeCtrl class.-data CTreeCtrl a  = CTreeCtrl---- | Pointer to an object of type 'RemotelyScrolledTreeCtrl', derived from 'TreeCtrl'.-type RemotelyScrolledTreeCtrl a  = TreeCtrl (CRemotelyScrolledTreeCtrl a)--- | Inheritance type of the RemotelyScrolledTreeCtrl class.-type TRemotelyScrolledTreeCtrl a  = TTreeCtrl (CRemotelyScrolledTreeCtrl a)--- | Abstract type of the RemotelyScrolledTreeCtrl class.-data CRemotelyScrolledTreeCtrl a  = CRemotelyScrolledTreeCtrl---- | Pointer to an object of type 'ToolBarBase', derived from 'Control'.-type ToolBarBase a  = Control (CToolBarBase a)--- | Inheritance type of the ToolBarBase class.-type TToolBarBase a  = TControl (CToolBarBase a)--- | Abstract type of the ToolBarBase class.-data CToolBarBase a  = CToolBarBase---- | Pointer to an object of type 'DynamicToolBar', derived from 'ToolBarBase'.-type DynamicToolBar a  = ToolBarBase (CDynamicToolBar a)--- | Inheritance type of the DynamicToolBar class.-type TDynamicToolBar a  = TToolBarBase (CDynamicToolBar a)--- | Abstract type of the DynamicToolBar class.-data CDynamicToolBar a  = CDynamicToolBar---- | Pointer to an object of type 'ToolBar', derived from 'ToolBarBase'.-type ToolBar a  = ToolBarBase (CToolBar a)--- | Inheritance type of the ToolBar class.-type TToolBar a  = TToolBarBase (CToolBar a)--- | Abstract type of the ToolBar class.-data CToolBar a  = CToolBar---- | Pointer to an object of type 'ToggleButton', derived from 'Control'.-type ToggleButton a  = Control (CToggleButton a)--- | Inheritance type of the ToggleButton class.-type TToggleButton a  = TControl (CToggleButton a)--- | Abstract type of the ToggleButton class.-data CToggleButton a  = CToggleButton---- | Pointer to an object of type 'TextCtrl', derived from 'Control'.-type TextCtrl a  = Control (CTextCtrl a)--- | Inheritance type of the TextCtrl class.-type TTextCtrl a  = TControl (CTextCtrl a)--- | Abstract type of the TextCtrl class.-data CTextCtrl a  = CTextCtrl---- | Pointer to an object of type 'TabCtrl', derived from 'Control'.-type TabCtrl a  = Control (CTabCtrl a)--- | Inheritance type of the TabCtrl class.-type TTabCtrl a  = TControl (CTabCtrl a)--- | Abstract type of the TabCtrl class.-data CTabCtrl a  = CTabCtrl---- | Pointer to an object of type 'StaticText', derived from 'Control'.-type StaticText a  = Control (CStaticText a)--- | Inheritance type of the StaticText class.-type TStaticText a  = TControl (CStaticText a)--- | Abstract type of the StaticText class.-data CStaticText a  = CStaticText---- | Pointer to an object of type 'StaticLine', derived from 'Control'.-type StaticLine a  = Control (CStaticLine a)--- | Inheritance type of the StaticLine class.-type TStaticLine a  = TControl (CStaticLine a)--- | Abstract type of the StaticLine class.-data CStaticLine a  = CStaticLine---- | Pointer to an object of type 'StaticBox', derived from 'Control'.-type StaticBox a  = Control (CStaticBox a)--- | Inheritance type of the StaticBox class.-type TStaticBox a  = TControl (CStaticBox a)--- | Abstract type of the StaticBox class.-data CStaticBox a  = CStaticBox---- | Pointer to an object of type 'StaticBitmap', derived from 'Control'.-type StaticBitmap a  = Control (CStaticBitmap a)--- | Inheritance type of the StaticBitmap class.-type TStaticBitmap a  = TControl (CStaticBitmap a)--- | Abstract type of the StaticBitmap class.-data CStaticBitmap a  = CStaticBitmap---- | Pointer to an object of type 'SpinCtrl', derived from 'Control'.-type SpinCtrl a  = Control (CSpinCtrl a)--- | Inheritance type of the SpinCtrl class.-type TSpinCtrl a  = TControl (CSpinCtrl a)--- | Abstract type of the SpinCtrl class.-data CSpinCtrl a  = CSpinCtrl---- | Pointer to an object of type 'SpinButton', derived from 'Control'.-type SpinButton a  = Control (CSpinButton a)--- | Inheritance type of the SpinButton class.-type TSpinButton a  = TControl (CSpinButton a)--- | Abstract type of the SpinButton class.-data CSpinButton a  = CSpinButton---- | Pointer to an object of type 'ScrollBar', derived from 'Control'.-type ScrollBar a  = Control (CScrollBar a)--- | Inheritance type of the ScrollBar class.-type TScrollBar a  = TControl (CScrollBar a)--- | Abstract type of the ScrollBar class.-data CScrollBar a  = CScrollBar---- | Pointer to an object of type 'RadioButton', derived from 'Control'.-type RadioButton a  = Control (CRadioButton a)--- | Inheritance type of the RadioButton class.-type TRadioButton a  = TControl (CRadioButton a)--- | Abstract type of the RadioButton class.-data CRadioButton a  = CRadioButton---- | Pointer to an object of type 'RadioBox', derived from 'Control'.-type RadioBox a  = Control (CRadioBox a)--- | Inheritance type of the RadioBox class.-type TRadioBox a  = TControl (CRadioBox a)--- | Abstract type of the RadioBox class.-data CRadioBox a  = CRadioBox---- | Pointer to an object of type 'Notebook', derived from 'Control'.-type Notebook a  = Control (CNotebook a)--- | Inheritance type of the Notebook class.-type TNotebook a  = TControl (CNotebook a)--- | Abstract type of the Notebook class.-data CNotebook a  = CNotebook---- | Pointer to an object of type 'ListCtrl', derived from 'Control'.-type ListCtrl a  = Control (CListCtrl a)--- | Inheritance type of the ListCtrl class.-type TListCtrl a  = TControl (CListCtrl a)--- | Abstract type of the ListCtrl class.-data CListCtrl a  = CListCtrl---- | Pointer to an object of type 'ListBox', derived from 'Control'.-type ListBox a  = Control (CListBox a)--- | Inheritance type of the ListBox class.-type TListBox a  = TControl (CListBox a)--- | Abstract type of the ListBox class.-data CListBox a  = CListBox---- | Pointer to an object of type 'CheckListBox', derived from 'ListBox'.-type CheckListBox a  = ListBox (CCheckListBox a)--- | Inheritance type of the CheckListBox class.-type TCheckListBox a  = TListBox (CCheckListBox a)--- | Abstract type of the CheckListBox class.-data CCheckListBox a  = CCheckListBox---- | Pointer to an object of type 'LEDNumberCtrl', derived from 'Control'.-type LEDNumberCtrl a  = Control (CLEDNumberCtrl a)--- | Inheritance type of the LEDNumberCtrl class.-type TLEDNumberCtrl a  = TControl (CLEDNumberCtrl a)--- | Abstract type of the LEDNumberCtrl class.-data CLEDNumberCtrl a  = CLEDNumberCtrl---- | Pointer to an object of type 'GenericDirCtrl', derived from 'Control'.-type GenericDirCtrl a  = Control (CGenericDirCtrl a)--- | Inheritance type of the GenericDirCtrl class.-type TGenericDirCtrl a  = TControl (CGenericDirCtrl a)--- | Abstract type of the GenericDirCtrl class.-data CGenericDirCtrl a  = CGenericDirCtrl---- | Pointer to an object of type 'DrawControl', derived from 'Control'.-type DrawControl a  = Control (CDrawControl a)--- | Inheritance type of the DrawControl class.-type TDrawControl a  = TControl (CDrawControl a)--- | Abstract type of the DrawControl class.-data CDrawControl a  = CDrawControl---- | Pointer to an object of type 'Button', derived from 'Control'.-type Button a  = Control (CButton a)--- | Inheritance type of the Button class.-type TButton a  = TControl (CButton a)--- | Abstract type of the Button class.-data CButton a  = CButton---- | Pointer to an object of type 'BitmapButton', derived from 'Button'.-type BitmapButton a  = Button (CBitmapButton a)--- | Inheritance type of the BitmapButton class.-type TBitmapButton a  = TButton (CBitmapButton a)--- | Abstract type of the BitmapButton class.-data CBitmapButton a  = CBitmapButton---- | Pointer to an object of type 'ContextHelpButton', derived from 'BitmapButton'.-type ContextHelpButton a  = BitmapButton (CContextHelpButton a)--- | Inheritance type of the ContextHelpButton class.-type TContextHelpButton a  = TBitmapButton (CContextHelpButton a)--- | Abstract type of the ContextHelpButton class.-data CContextHelpButton a  = CContextHelpButton---- | Pointer to an object of type 'Choice', derived from 'Control'.-type Choice a  = Control (CChoice a)--- | Inheritance type of the Choice class.-type TChoice a  = TControl (CChoice a)--- | Abstract type of the Choice class.-data CChoice a  = CChoice---- | Pointer to an object of type 'ComboBox', derived from 'Choice'.-type ComboBox a  = Choice (CComboBox a)--- | Inheritance type of the ComboBox class.-type TComboBox a  = TChoice (CComboBox a)--- | Abstract type of the ComboBox class.-data CComboBox a  = CComboBox---- | Pointer to an object of type 'CheckBox', derived from 'Control'.-type CheckBox a  = Control (CCheckBox a)--- | Inheritance type of the CheckBox class.-type TCheckBox a  = TControl (CCheckBox a)--- | Abstract type of the CheckBox class.-data CCheckBox a  = CCheckBox---- | Pointer to an object of type 'CalendarCtrl', derived from 'Control'.-type CalendarCtrl a  = Control (CCalendarCtrl a)--- | Inheritance type of the CalendarCtrl class.-type TCalendarCtrl a  = TControl (CCalendarCtrl a)--- | Abstract type of the CalendarCtrl class.-data CCalendarCtrl a  = CCalendarCtrl---- | Pointer to an object of type 'TopLevelWindow', derived from 'Window'.-type TopLevelWindow a  = Window (CTopLevelWindow a)--- | Inheritance type of the TopLevelWindow class.-type TTopLevelWindow a  = TWindow (CTopLevelWindow a)--- | Abstract type of the TopLevelWindow class.-data CTopLevelWindow a  = CTopLevelWindow---- | Pointer to an object of type 'Frame', derived from 'TopLevelWindow'.-type Frame a  = TopLevelWindow (CFrame a)--- | Inheritance type of the Frame class.-type TFrame a  = TTopLevelWindow (CFrame a)--- | Abstract type of the Frame class.-data CFrame a  = CFrame---- | Pointer to an object of type 'PreviewFrame', derived from 'Frame'.-type PreviewFrame a  = Frame (CPreviewFrame a)--- | Inheritance type of the PreviewFrame class.-type TPreviewFrame a  = TFrame (CPreviewFrame a)--- | Abstract type of the PreviewFrame class.-data CPreviewFrame a  = CPreviewFrame---- | Pointer to an object of type 'WXCPreviewFrame', derived from 'PreviewFrame'.-type WXCPreviewFrame a  = PreviewFrame (CWXCPreviewFrame a)--- | Inheritance type of the WXCPreviewFrame class.-type TWXCPreviewFrame a  = TPreviewFrame (CWXCPreviewFrame a)--- | Abstract type of the WXCPreviewFrame class.-data CWXCPreviewFrame a  = CWXCPreviewFrame---- | Pointer to an object of type 'DocChildFrame', derived from 'Frame'.-type DocChildFrame a  = Frame (CDocChildFrame a)--- | Inheritance type of the DocChildFrame class.-type TDocChildFrame a  = TFrame (CDocChildFrame a)--- | Abstract type of the DocChildFrame class.-data CDocChildFrame a  = CDocChildFrame---- | Pointer to an object of type 'MDIParentFrame', derived from 'Frame'.-type MDIParentFrame a  = Frame (CMDIParentFrame a)--- | Inheritance type of the MDIParentFrame class.-type TMDIParentFrame a  = TFrame (CMDIParentFrame a)--- | Abstract type of the MDIParentFrame class.-data CMDIParentFrame a  = CMDIParentFrame---- | Pointer to an object of type 'DocMDIParentFrame', derived from 'MDIParentFrame'.-type DocMDIParentFrame a  = MDIParentFrame (CDocMDIParentFrame a)--- | Inheritance type of the DocMDIParentFrame class.-type TDocMDIParentFrame a  = TMDIParentFrame (CDocMDIParentFrame a)--- | Abstract type of the DocMDIParentFrame class.-data CDocMDIParentFrame a  = CDocMDIParentFrame---- | Pointer to an object of type 'MiniFrame', derived from 'Frame'.-type MiniFrame a  = Frame (CMiniFrame a)--- | Inheritance type of the MiniFrame class.-type TMiniFrame a  = TFrame (CMiniFrame a)--- | Abstract type of the MiniFrame class.-data CMiniFrame a  = CMiniFrame---- | Pointer to an object of type 'ProgressDialog', derived from 'Frame'.-type ProgressDialog a  = Frame (CProgressDialog a)--- | Inheritance type of the ProgressDialog class.-type TProgressDialog a  = TFrame (CProgressDialog a)--- | Abstract type of the ProgressDialog class.-data CProgressDialog a  = CProgressDialog---- | Pointer to an object of type 'SplashScreen', derived from 'Frame'.-type SplashScreen a  = Frame (CSplashScreen a)--- | Inheritance type of the SplashScreen class.-type TSplashScreen a  = TFrame (CSplashScreen a)--- | Abstract type of the SplashScreen class.-data CSplashScreen a  = CSplashScreen---- | Pointer to an object of type 'HtmlHelpFrame', derived from 'Frame'.-type HtmlHelpFrame a  = Frame (CHtmlHelpFrame a)--- | Inheritance type of the HtmlHelpFrame class.-type THtmlHelpFrame a  = TFrame (CHtmlHelpFrame a)--- | Abstract type of the HtmlHelpFrame class.-data CHtmlHelpFrame a  = CHtmlHelpFrame---- | Pointer to an object of type 'DocParentFrame', derived from 'Frame'.-type DocParentFrame a  = Frame (CDocParentFrame a)--- | Inheritance type of the DocParentFrame class.-type TDocParentFrame a  = TFrame (CDocParentFrame a)--- | Abstract type of the DocParentFrame class.-data CDocParentFrame a  = CDocParentFrame---- | Pointer to an object of type 'MDIChildFrame', derived from 'Frame'.-type MDIChildFrame a  = Frame (CMDIChildFrame a)--- | Inheritance type of the MDIChildFrame class.-type TMDIChildFrame a  = TFrame (CMDIChildFrame a)--- | Abstract type of the MDIChildFrame class.-data CMDIChildFrame a  = CMDIChildFrame---- | Pointer to an object of type 'DocMDIChildFrame', derived from 'MDIChildFrame'.-type DocMDIChildFrame a  = MDIChildFrame (CDocMDIChildFrame a)--- | Inheritance type of the DocMDIChildFrame class.-type TDocMDIChildFrame a  = TMDIChildFrame (CDocMDIChildFrame a)--- | Abstract type of the DocMDIChildFrame class.-data CDocMDIChildFrame a  = CDocMDIChildFrame---- | Pointer to an object of type 'ToolWindow', derived from 'Frame'.-type ToolWindow a  = Frame (CToolWindow a)--- | Inheritance type of the ToolWindow class.-type TToolWindow a  = TFrame (CToolWindow a)--- | Abstract type of the ToolWindow class.-data CToolWindow a  = CToolWindow---- | Pointer to an object of type 'CbFloatedBarWindow', derived from 'ToolWindow'.-type CbFloatedBarWindow a  = ToolWindow (CCbFloatedBarWindow a)--- | Inheritance type of the CbFloatedBarWindow class.-type TCbFloatedBarWindow a  = TToolWindow (CCbFloatedBarWindow a)--- | Abstract type of the CbFloatedBarWindow class.-data CCbFloatedBarWindow a  = CCbFloatedBarWindow---- | Pointer to an object of type 'Dialog', derived from 'TopLevelWindow'.-type Dialog a  = TopLevelWindow (CDialog a)--- | Inheritance type of the Dialog class.-type TDialog a  = TTopLevelWindow (CDialog a)--- | Abstract type of the Dialog class.-data CDialog a  = CDialog---- | Pointer to an object of type 'ColourDialog', derived from 'Dialog'.-type ColourDialog a  = Dialog (CColourDialog a)--- | Inheritance type of the ColourDialog class.-type TColourDialog a  = TDialog (CColourDialog a)--- | Abstract type of the ColourDialog class.-data CColourDialog a  = CColourDialog---- | Pointer to an object of type 'DirDialog', derived from 'Dialog'.-type DirDialog a  = Dialog (CDirDialog a)--- | Inheritance type of the DirDialog class.-type TDirDialog a  = TDialog (CDirDialog a)--- | Abstract type of the DirDialog class.-data CDirDialog a  = CDirDialog---- | Pointer to an object of type 'FindReplaceDialog', derived from 'Dialog'.-type FindReplaceDialog a  = Dialog (CFindReplaceDialog a)--- | Inheritance type of the FindReplaceDialog class.-type TFindReplaceDialog a  = TDialog (CFindReplaceDialog a)--- | Abstract type of the FindReplaceDialog class.-data CFindReplaceDialog a  = CFindReplaceDialog---- | Pointer to an object of type 'MessageDialog', derived from 'Dialog'.-type MessageDialog a  = Dialog (CMessageDialog a)--- | Inheritance type of the MessageDialog class.-type TMessageDialog a  = TDialog (CMessageDialog a)--- | Abstract type of the MessageDialog class.-data CMessageDialog a  = CMessageDialog---- | Pointer to an object of type 'PrintDialog', derived from 'Dialog'.-type PrintDialog a  = Dialog (CPrintDialog a)--- | Inheritance type of the PrintDialog class.-type TPrintDialog a  = TDialog (CPrintDialog a)--- | Abstract type of the PrintDialog class.-data CPrintDialog a  = CPrintDialog---- | Pointer to an object of type 'TextEntryDialog', derived from 'Dialog'.-type TextEntryDialog a  = Dialog (CTextEntryDialog a)--- | Inheritance type of the TextEntryDialog class.-type TTextEntryDialog a  = TDialog (CTextEntryDialog a)--- | Abstract type of the TextEntryDialog class.-data CTextEntryDialog a  = CTextEntryDialog---- | Pointer to an object of type 'Wizard', derived from 'Dialog'.-type Wizard a  = Dialog (CWizard a)--- | Inheritance type of the Wizard class.-type TWizard a  = TDialog (CWizard a)--- | Abstract type of the Wizard class.-data CWizard a  = CWizard---- | Pointer to an object of type 'SingleChoiceDialog', derived from 'Dialog'.-type SingleChoiceDialog a  = Dialog (CSingleChoiceDialog a)--- | Inheritance type of the SingleChoiceDialog class.-type TSingleChoiceDialog a  = TDialog (CSingleChoiceDialog a)--- | Abstract type of the SingleChoiceDialog class.-data CSingleChoiceDialog a  = CSingleChoiceDialog---- | Pointer to an object of type 'PageSetupDialog', derived from 'Dialog'.-type PageSetupDialog a  = Dialog (CPageSetupDialog a)--- | Inheritance type of the PageSetupDialog class.-type TPageSetupDialog a  = TDialog (CPageSetupDialog a)--- | Abstract type of the PageSetupDialog class.-data CPageSetupDialog a  = CPageSetupDialog---- | Pointer to an object of type 'FontDialog', derived from 'Dialog'.-type FontDialog a  = Dialog (CFontDialog a)--- | Inheritance type of the FontDialog class.-type TFontDialog a  = TDialog (CFontDialog a)--- | Abstract type of the FontDialog class.-data CFontDialog a  = CFontDialog---- | Pointer to an object of type 'FileDialog', derived from 'Dialog'.-type FileDialog a  = Dialog (CFileDialog a)--- | Inheritance type of the FileDialog class.-type TFileDialog a  = TDialog (CFileDialog a)--- | Abstract type of the FileDialog class.-data CFileDialog a  = CFileDialog---- | Pointer to an object of type 'WXCPrintoutHandler', derived from 'EvtHandler'.-type WXCPrintoutHandler a  = EvtHandler (CWXCPrintoutHandler a)--- | Inheritance type of the WXCPrintoutHandler class.-type TWXCPrintoutHandler a  = TEvtHandler (CWXCPrintoutHandler a)--- | Abstract type of the WXCPrintoutHandler class.-data CWXCPrintoutHandler a  = CWXCPrintoutHandler---- | Pointer to an object of type 'View', derived from 'EvtHandler'.-type View a  = EvtHandler (CView a)--- | Inheritance type of the View class.-type TView a  = TEvtHandler (CView a)--- | Abstract type of the View class.-data CView a  = CView---- | Pointer to an object of type 'Validator', derived from 'EvtHandler'.-type Validator a  = EvtHandler (CValidator a)--- | Inheritance type of the Validator class.-type TValidator a  = TEvtHandler (CValidator a)--- | Abstract type of the Validator class.-data CValidator a  = CValidator---- | Pointer to an object of type 'TextValidator', derived from 'Validator'.-type TextValidator a  = Validator (CTextValidator a)--- | Inheritance type of the TextValidator class.-type TTextValidator a  = TValidator (CTextValidator a)--- | Abstract type of the TextValidator class.-data CTextValidator a  = CTextValidator---- | Pointer to an object of type 'WXCTextValidator', derived from 'TextValidator'.-type WXCTextValidator a  = TextValidator (CWXCTextValidator a)--- | Inheritance type of the WXCTextValidator class.-type TWXCTextValidator a  = TTextValidator (CWXCTextValidator a)--- | Abstract type of the WXCTextValidator class.-data CWXCTextValidator a  = CWXCTextValidator---- | Pointer to an object of type 'GenericValidator', derived from 'Validator'.-type GenericValidator a  = Validator (CGenericValidator a)--- | Inheritance type of the GenericValidator class.-type TGenericValidator a  = TValidator (CGenericValidator a)--- | Abstract type of the GenericValidator class.-data CGenericValidator a  = CGenericValidator---- | Pointer to an object of type 'TaskBarIcon', derived from 'EvtHandler'.-type TaskBarIcon a  = EvtHandler (CTaskBarIcon a)--- | Inheritance type of the TaskBarIcon class.-type TTaskBarIcon a  = TEvtHandler (CTaskBarIcon a)--- | Abstract type of the TaskBarIcon class.-data CTaskBarIcon a  = CTaskBarIcon---- | Pointer to an object of type 'Process', derived from 'EvtHandler'.-type Process a  = EvtHandler (CProcess a)--- | Inheritance type of the Process class.-type TProcess a  = TEvtHandler (CProcess a)--- | Abstract type of the Process class.-data CProcess a  = CProcess---- | Pointer to an object of type 'MenuBar', derived from 'EvtHandler'.-type MenuBar a  = EvtHandler (CMenuBar a)--- | Inheritance type of the MenuBar class.-type TMenuBar a  = TEvtHandler (CMenuBar a)--- | Abstract type of the MenuBar class.-data CMenuBar a  = CMenuBar---- | Pointer to an object of type 'Menu', derived from 'EvtHandler'.-type Menu a  = EvtHandler (CMenu a)--- | Inheritance type of the Menu class.-type TMenu a  = TEvtHandler (CMenu a)--- | Abstract type of the Menu class.-data CMenu a  = CMenu---- | Pointer to an object of type 'FrameLayout', derived from 'EvtHandler'.-type FrameLayout a  = EvtHandler (CFrameLayout a)--- | Inheritance type of the FrameLayout class.-type TFrameLayout a  = TEvtHandler (CFrameLayout a)--- | Abstract type of the FrameLayout class.-data CFrameLayout a  = CFrameLayout---- | Pointer to an object of type 'Document', derived from 'EvtHandler'.-type Document a  = EvtHandler (CDocument a)--- | Inheritance type of the Document class.-type TDocument a  = TEvtHandler (CDocument a)--- | Abstract type of the Document class.-data CDocument a  = CDocument---- | Pointer to an object of type 'DocManager', derived from 'EvtHandler'.-type DocManager a  = EvtHandler (CDocManager a)--- | Inheritance type of the DocManager class.-type TDocManager a  = TEvtHandler (CDocManager a)--- | Abstract type of the DocManager class.-data CDocManager a  = CDocManager---- | Pointer to an object of type 'App', derived from 'EvtHandler'.-type App a  = EvtHandler (CApp a)--- | Inheritance type of the App class.-type TApp a  = TEvtHandler (CApp a)--- | Abstract type of the App class.-data CApp a  = CApp---- | Pointer to an object of type 'WXCApp', derived from 'App'.-type WXCApp a  = App (CWXCApp a)--- | Inheritance type of the WXCApp class.-type TWXCApp a  = TApp (CWXCApp a)--- | Abstract type of the WXCApp class.-data CWXCApp a  = CWXCApp---- | Pointer to an object of type 'CbPluginBase', derived from 'EvtHandler'.-type CbPluginBase a  = EvtHandler (CCbPluginBase a)--- | Inheritance type of the CbPluginBase class.-type TCbPluginBase a  = TEvtHandler (CCbPluginBase a)--- | Abstract type of the CbPluginBase class.-data CCbPluginBase a  = CCbPluginBase---- | Pointer to an object of type 'CbAntiflickerPlugin', derived from 'CbPluginBase'.-type CbAntiflickerPlugin a  = CbPluginBase (CCbAntiflickerPlugin a)--- | Inheritance type of the CbAntiflickerPlugin class.-type TCbAntiflickerPlugin a  = TCbPluginBase (CCbAntiflickerPlugin a)--- | Abstract type of the CbAntiflickerPlugin class.-data CCbAntiflickerPlugin a  = CCbAntiflickerPlugin---- | Pointer to an object of type 'CbBarHintsPlugin', derived from 'CbPluginBase'.-type CbBarHintsPlugin a  = CbPluginBase (CCbBarHintsPlugin a)--- | Inheritance type of the CbBarHintsPlugin class.-type TCbBarHintsPlugin a  = TCbPluginBase (CCbBarHintsPlugin a)--- | Abstract type of the CbBarHintsPlugin class.-data CCbBarHintsPlugin a  = CCbBarHintsPlugin---- | Pointer to an object of type 'CbPaneDrawPlugin', derived from 'CbPluginBase'.-type CbPaneDrawPlugin a  = CbPluginBase (CCbPaneDrawPlugin a)--- | Inheritance type of the CbPaneDrawPlugin class.-type TCbPaneDrawPlugin a  = TCbPluginBase (CCbPaneDrawPlugin a)--- | Abstract type of the CbPaneDrawPlugin class.-data CCbPaneDrawPlugin a  = CCbPaneDrawPlugin---- | Pointer to an object of type 'CbRowDragPlugin', derived from 'CbPluginBase'.-type CbRowDragPlugin a  = CbPluginBase (CCbRowDragPlugin a)--- | Inheritance type of the CbRowDragPlugin class.-type TCbRowDragPlugin a  = TCbPluginBase (CCbRowDragPlugin a)--- | Abstract type of the CbRowDragPlugin class.-data CCbRowDragPlugin a  = CCbRowDragPlugin---- | Pointer to an object of type 'CbSimpleCustomizationPlugin', derived from 'CbPluginBase'.-type CbSimpleCustomizationPlugin a  = CbPluginBase (CCbSimpleCustomizationPlugin a)--- | Inheritance type of the CbSimpleCustomizationPlugin class.-type TCbSimpleCustomizationPlugin a  = TCbPluginBase (CCbSimpleCustomizationPlugin a)--- | Abstract type of the CbSimpleCustomizationPlugin class.-data CCbSimpleCustomizationPlugin a  = CCbSimpleCustomizationPlugin---- | Pointer to an object of type 'CbRowLayoutPlugin', derived from 'CbPluginBase'.-type CbRowLayoutPlugin a  = CbPluginBase (CCbRowLayoutPlugin a)--- | Inheritance type of the CbRowLayoutPlugin class.-type TCbRowLayoutPlugin a  = TCbPluginBase (CCbRowLayoutPlugin a)--- | Abstract type of the CbRowLayoutPlugin class.-data CCbRowLayoutPlugin a  = CCbRowLayoutPlugin---- | Pointer to an object of type 'CbHintAnimationPlugin', derived from 'CbPluginBase'.-type CbHintAnimationPlugin a  = CbPluginBase (CCbHintAnimationPlugin a)--- | Inheritance type of the CbHintAnimationPlugin class.-type TCbHintAnimationPlugin a  = TCbPluginBase (CCbHintAnimationPlugin a)--- | Abstract type of the CbHintAnimationPlugin class.-data CCbHintAnimationPlugin a  = CCbHintAnimationPlugin---- | Pointer to an object of type 'CbBarDragPlugin', derived from 'CbPluginBase'.-type CbBarDragPlugin a  = CbPluginBase (CCbBarDragPlugin a)--- | Inheritance type of the CbBarDragPlugin class.-type TCbBarDragPlugin a  = TCbPluginBase (CCbBarDragPlugin a)--- | Abstract type of the CbBarDragPlugin class.-data CCbBarDragPlugin a  = CCbBarDragPlugin---- | Pointer to an object of type 'CbBarSpy', derived from 'EvtHandler'.-type CbBarSpy a  = EvtHandler (CCbBarSpy a)--- | Inheritance type of the CbBarSpy class.-type TCbBarSpy a  = TEvtHandler (CCbBarSpy a)--- | Abstract type of the CbBarSpy class.-data CCbBarSpy a  = CCbBarSpy---- | Pointer to an object of type 'ClientBase', derived from 'WxObject'.-type ClientBase a  = WxObject (CClientBase a)--- | Inheritance type of the ClientBase class.-type TClientBase a  = TWxObject (CClientBase a)--- | Abstract type of the ClientBase class.-data CClientBase a  = CClientBase---- | Pointer to an object of type 'DDEClient', derived from 'ClientBase'.-type DDEClient a  = ClientBase (CDDEClient a)--- | Inheritance type of the DDEClient class.-type TDDEClient a  = TClientBase (CDDEClient a)--- | Abstract type of the DDEClient class.-data CDDEClient a  = CDDEClient---- | Pointer to an object of type 'Client', derived from 'ClientBase'.-type Client a  = ClientBase (CClient a)--- | Inheritance type of the Client class.-type TClient a  = TClientBase (CClient a)--- | Abstract type of the Client class.-data CClient a  = CClient---- | Pointer to an object of type 'WXCClient', derived from 'Client'.-type WXCClient a  = Client (CWXCClient a)--- | Inheritance type of the WXCClient class.-type TWXCClient a  = TClient (CWXCClient a)--- | Abstract type of the WXCClient class.-data CWXCClient a  = CWXCClient---- | Pointer to an object of type 'ConnectionBase', derived from 'WxObject'.-type ConnectionBase a  = WxObject (CConnectionBase a)--- | Inheritance type of the ConnectionBase class.-type TConnectionBase a  = TWxObject (CConnectionBase a)--- | Abstract type of the ConnectionBase class.-data CConnectionBase a  = CConnectionBase---- | Pointer to an object of type 'DDEConnection', derived from 'ConnectionBase'.-type DDEConnection a  = ConnectionBase (CDDEConnection a)--- | Inheritance type of the DDEConnection class.-type TDDEConnection a  = TConnectionBase (CDDEConnection a)--- | Abstract type of the DDEConnection class.-data CDDEConnection a  = CDDEConnection---- | Pointer to an object of type 'Connection', derived from 'ConnectionBase'.-type Connection a  = ConnectionBase (CConnection a)--- | Inheritance type of the Connection class.-type TConnection a  = TConnectionBase (CConnection a)--- | Abstract type of the Connection class.-data CConnection a  = CConnection---- | Pointer to an object of type 'WXCConnection', derived from 'Connection'.-type WXCConnection a  = Connection (CWXCConnection a)--- | Inheritance type of the WXCConnection class.-type TWXCConnection a  = TConnection (CWXCConnection a)--- | Abstract type of the WXCConnection class.-data CWXCConnection a  = CWXCConnection---- | Pointer to an object of type 'PlotCurve', derived from 'WxObject'.-type PlotCurve a  = WxObject (CPlotCurve a)--- | Inheritance type of the PlotCurve class.-type TPlotCurve a  = TWxObject (CPlotCurve a)--- | Abstract type of the PlotCurve class.-data CPlotCurve a  = CPlotCurve---- | Pointer to an object of type 'WXCPlotCurve', derived from 'PlotCurve'.-type WXCPlotCurve a  = PlotCurve (CWXCPlotCurve a)--- | Inheritance type of the WXCPlotCurve class.-type TWXCPlotCurve a  = TPlotCurve (CWXCPlotCurve a)--- | Abstract type of the WXCPlotCurve class.-data CWXCPlotCurve a  = CWXCPlotCurve---- | Pointer to an object of type 'CbBarInfo', derived from 'WxObject'.-type CbBarInfo a  = WxObject (CCbBarInfo a)--- | Inheritance type of the CbBarInfo class.-type TCbBarInfo a  = TWxObject (CCbBarInfo a)--- | Abstract type of the CbBarInfo class.-data CCbBarInfo a  = CCbBarInfo---- | Pointer to an object of type 'CbMiniButton', derived from 'WxObject'.-type CbMiniButton a  = WxObject (CCbMiniButton a)--- | Inheritance type of the CbMiniButton class.-type TCbMiniButton a  = TWxObject (CCbMiniButton a)--- | Abstract type of the CbMiniButton class.-data CCbMiniButton a  = CCbMiniButton---- | Pointer to an object of type 'CbDockBox', derived from 'CbMiniButton'.-type CbDockBox a  = CbMiniButton (CCbDockBox a)--- | Inheritance type of the CbDockBox class.-type TCbDockBox a  = TCbMiniButton (CCbDockBox a)--- | Abstract type of the CbDockBox class.-data CCbDockBox a  = CCbDockBox---- | Pointer to an object of type 'CbCollapseBox', derived from 'CbMiniButton'.-type CbCollapseBox a  = CbMiniButton (CCbCollapseBox a)--- | Inheritance type of the CbCollapseBox class.-type TCbCollapseBox a  = TCbMiniButton (CCbCollapseBox a)--- | Abstract type of the CbCollapseBox class.-data CCbCollapseBox a  = CCbCollapseBox---- | Pointer to an object of type 'CbCloseBox', derived from 'CbMiniButton'.-type CbCloseBox a  = CbMiniButton (CCbCloseBox a)--- | Inheritance type of the CbCloseBox class.-type TCbCloseBox a  = TCbMiniButton (CCbCloseBox a)--- | Abstract type of the CbCloseBox class.-data CCbCloseBox a  = CCbCloseBox---- | Pointer to an object of type 'CbCommonPaneProperties', derived from 'WxObject'.-type CbCommonPaneProperties a  = WxObject (CCbCommonPaneProperties a)--- | Inheritance type of the CbCommonPaneProperties class.-type TCbCommonPaneProperties a  = TWxObject (CCbCommonPaneProperties a)--- | Abstract type of the CbCommonPaneProperties class.-data CCbCommonPaneProperties a  = CCbCommonPaneProperties---- | Pointer to an object of type 'CbDimInfo', derived from 'WxObject'.-type CbDimInfo a  = WxObject (CCbDimInfo a)--- | Inheritance type of the CbDimInfo class.-type TCbDimInfo a  = TWxObject (CCbDimInfo a)--- | Abstract type of the CbDimInfo class.-data CCbDimInfo a  = CCbDimInfo---- | Pointer to an object of type 'CbDockPane', derived from 'WxObject'.-type CbDockPane a  = WxObject (CCbDockPane a)--- | Inheritance type of the CbDockPane class.-type TCbDockPane a  = TWxObject (CCbDockPane a)--- | Abstract type of the CbDockPane class.-data CCbDockPane a  = CCbDockPane---- | Pointer to an object of type 'CbUpdatesManagerBase', derived from 'WxObject'.-type CbUpdatesManagerBase a  = WxObject (CCbUpdatesManagerBase a)--- | Inheritance type of the CbUpdatesManagerBase class.-type TCbUpdatesManagerBase a  = TWxObject (CCbUpdatesManagerBase a)--- | Abstract type of the CbUpdatesManagerBase class.-data CCbUpdatesManagerBase a  = CCbUpdatesManagerBase---- | Pointer to an object of type 'CbSimpleUpdatesMgr', derived from 'CbUpdatesManagerBase'.-type CbSimpleUpdatesMgr a  = CbUpdatesManagerBase (CCbSimpleUpdatesMgr a)--- | Inheritance type of the CbSimpleUpdatesMgr class.-type TCbSimpleUpdatesMgr a  = TCbUpdatesManagerBase (CCbSimpleUpdatesMgr a)--- | Abstract type of the CbSimpleUpdatesMgr class.-data CCbSimpleUpdatesMgr a  = CCbSimpleUpdatesMgr---- | Pointer to an object of type 'CbGCUpdatesMgr', derived from 'CbSimpleUpdatesMgr'.-type CbGCUpdatesMgr a  = CbSimpleUpdatesMgr (CCbGCUpdatesMgr a)--- | Inheritance type of the CbGCUpdatesMgr class.-type TCbGCUpdatesMgr a  = TCbSimpleUpdatesMgr (CCbGCUpdatesMgr a)--- | Abstract type of the CbGCUpdatesMgr class.-data CCbGCUpdatesMgr a  = CCbGCUpdatesMgr---- | Pointer to an object of type 'CbRowInfo', derived from 'WxObject'.-type CbRowInfo a  = WxObject (CCbRowInfo a)--- | Inheritance type of the CbRowInfo class.-type TCbRowInfo a  = TWxObject (CCbRowInfo a)--- | Abstract type of the CbRowInfo class.-data CCbRowInfo a  = CCbRowInfo---- | Pointer to an object of type 'AutomationObject', derived from 'WxObject'.-type AutomationObject a  = WxObject (CAutomationObject a)--- | Inheritance type of the AutomationObject class.-type TAutomationObject a  = TWxObject (CAutomationObject a)--- | Abstract type of the AutomationObject class.-data CAutomationObject a  = CAutomationObject---- | Pointer to an object of type 'Sizer', derived from 'WxObject'.-type Sizer a  = WxObject (CSizer a)--- | Inheritance type of the Sizer class.-type TSizer a  = TWxObject (CSizer a)--- | Abstract type of the Sizer class.-data CSizer a  = CSizer---- | Pointer to an object of type 'BoxSizer', derived from 'Sizer'.-type BoxSizer a  = Sizer (CBoxSizer a)--- | Inheritance type of the BoxSizer class.-type TBoxSizer a  = TSizer (CBoxSizer a)--- | Abstract type of the BoxSizer class.-data CBoxSizer a  = CBoxSizer---- | Pointer to an object of type 'StaticBoxSizer', derived from 'BoxSizer'.-type StaticBoxSizer a  = BoxSizer (CStaticBoxSizer a)--- | Inheritance type of the StaticBoxSizer class.-type TStaticBoxSizer a  = TBoxSizer (CStaticBoxSizer a)--- | Abstract type of the StaticBoxSizer class.-data CStaticBoxSizer a  = CStaticBoxSizer---- | Pointer to an object of type 'MultiCellSizer', derived from 'Sizer'.-type MultiCellSizer a  = Sizer (CMultiCellSizer a)--- | Inheritance type of the MultiCellSizer class.-type TMultiCellSizer a  = TSizer (CMultiCellSizer a)--- | Abstract type of the MultiCellSizer class.-data CMultiCellSizer a  = CMultiCellSizer---- | Pointer to an object of type 'GridSizer', derived from 'Sizer'.-type GridSizer a  = Sizer (CGridSizer a)--- | Inheritance type of the GridSizer class.-type TGridSizer a  = TSizer (CGridSizer a)--- | Abstract type of the GridSizer class.-data CGridSizer a  = CGridSizer---- | Pointer to an object of type 'FlexGridSizer', derived from 'GridSizer'.-type FlexGridSizer a  = GridSizer (CFlexGridSizer a)--- | Inheritance type of the FlexGridSizer class.-type TFlexGridSizer a  = TGridSizer (CFlexGridSizer a)--- | Abstract type of the FlexGridSizer class.-data CFlexGridSizer a  = CFlexGridSizer---- | Pointer to an object of type 'MultiCellCanvas', derived from 'FlexGridSizer'.-type MultiCellCanvas a  = FlexGridSizer (CMultiCellCanvas a)--- | Inheritance type of the MultiCellCanvas class.-type TMultiCellCanvas a  = TFlexGridSizer (CMultiCellCanvas a)--- | Abstract type of the MultiCellCanvas class.-data CMultiCellCanvas a  = CMultiCellCanvas---- | Pointer to an object of type 'List', derived from 'WxObject'.-type List a  = WxObject (CList a)--- | Inheritance type of the List class.-type TList a  = TWxObject (CList a)--- | Abstract type of the List class.-data CList a  = CList---- | Pointer to an object of type 'StringList', derived from 'List'.-type StringList a  = List (CStringList a)--- | Inheritance type of the StringList class.-type TStringList a  = TList (CStringList a)--- | Abstract type of the StringList class.-data CStringList a  = CStringList---- | Pointer to an object of type 'PenList', derived from 'List'.-type PenList a  = List (CPenList a)--- | Inheritance type of the PenList class.-type TPenList a  = TList (CPenList a)--- | Abstract type of the PenList class.-data CPenList a  = CPenList---- | Pointer to an object of type 'PathList', derived from 'List'.-type PathList a  = List (CPathList a)--- | Inheritance type of the PathList class.-type TPathList a  = TList (CPathList a)--- | Abstract type of the PathList class.-data CPathList a  = CPathList---- | Pointer to an object of type 'FontList', derived from 'List'.-type FontList a  = List (CFontList a)--- | Inheritance type of the FontList class.-type TFontList a  = TList (CFontList a)--- | Abstract type of the FontList class.-data CFontList a  = CFontList---- | Pointer to an object of type 'ExprDatabase', derived from 'List'.-type ExprDatabase a  = List (CExprDatabase a)--- | Inheritance type of the ExprDatabase class.-type TExprDatabase a  = TList (CExprDatabase a)--- | Abstract type of the ExprDatabase class.-data CExprDatabase a  = CExprDatabase---- | Pointer to an object of type 'ColourDatabase', derived from 'List'.-type ColourDatabase a  = List (CColourDatabase a)--- | Inheritance type of the ColourDatabase class.-type TColourDatabase a  = TList (CColourDatabase a)--- | Abstract type of the ColourDatabase class.-data CColourDatabase a  = CColourDatabase---- | Pointer to an object of type 'BrushList', derived from 'List'.-type BrushList a  = List (CBrushList a)--- | Inheritance type of the BrushList class.-type TBrushList a  = TList (CBrushList a)--- | Abstract type of the BrushList class.-data CBrushList a  = CBrushList---- | Pointer to an object of type 'Colour', derived from 'WxObject'.-type Colour a  = WxObject (CColour a)--- | Inheritance type of the Colour class.-type TColour a  = TWxObject (CColour a)--- | Abstract type of the Colour class.-data CColour a  = CColour---- | Pointer to an object of type 'ContextHelp', derived from 'WxObject'.-type ContextHelp a  = WxObject (CContextHelp a)--- | Inheritance type of the ContextHelp class.-type TContextHelp a  = TWxObject (CContextHelp a)--- | Abstract type of the ContextHelp class.-data CContextHelp a  = CContextHelp---- | Pointer to an object of type 'Database', derived from 'WxObject'.-type Database a  = WxObject (CDatabase a)--- | Inheritance type of the Database class.-type TDatabase a  = TWxObject (CDatabase a)--- | Abstract type of the Database class.-data CDatabase a  = CDatabase---- | Pointer to an object of type 'FSFile', derived from 'WxObject'.-type FSFile a  = WxObject (CFSFile a)--- | Inheritance type of the FSFile class.-type TFSFile a  = TWxObject (CFSFile a)--- | Abstract type of the FSFile class.-data CFSFile a  = CFSFile---- | Pointer to an object of type 'FileSystem', derived from 'WxObject'.-type FileSystem a  = WxObject (CFileSystem a)--- | Inheritance type of the FileSystem class.-type TFileSystem a  = TWxObject (CFileSystem a)--- | Abstract type of the FileSystem class.-data CFileSystem a  = CFileSystem---- | Pointer to an object of type 'FontData', derived from 'WxObject'.-type FontData a  = WxObject (CFontData a)--- | Inheritance type of the FontData class.-type TFontData a  = TWxObject (CFontData a)--- | Abstract type of the FontData class.-data CFontData a  = CFontData---- | Pointer to an object of type 'HelpControllerBase', derived from 'WxObject'.-type HelpControllerBase a  = WxObject (CHelpControllerBase a)--- | Inheritance type of the HelpControllerBase class.-type THelpControllerBase a  = TWxObject (CHelpControllerBase a)--- | Abstract type of the HelpControllerBase class.-data CHelpControllerBase a  = CHelpControllerBase---- | Pointer to an object of type 'HtmlHelpController', derived from 'HelpControllerBase'.-type HtmlHelpController a  = HelpControllerBase (CHtmlHelpController a)--- | Inheritance type of the HtmlHelpController class.-type THtmlHelpController a  = THelpControllerBase (CHtmlHelpController a)--- | Abstract type of the HtmlHelpController class.-data CHtmlHelpController a  = CHtmlHelpController---- | Pointer to an object of type 'HelpController', derived from 'HelpControllerBase'.-type HelpController a  = HelpControllerBase (CHelpController a)--- | Inheritance type of the HelpController class.-type THelpController a  = THelpControllerBase (CHelpController a)--- | Abstract type of the HelpController class.-data CHelpController a  = CHelpController---- | Pointer to an object of type 'HtmlDCRenderer', derived from 'WxObject'.-type HtmlDCRenderer a  = WxObject (CHtmlDCRenderer a)--- | Inheritance type of the HtmlDCRenderer class.-type THtmlDCRenderer a  = TWxObject (CHtmlDCRenderer a)--- | Abstract type of the HtmlDCRenderer class.-data CHtmlDCRenderer a  = CHtmlDCRenderer---- | Pointer to an object of type 'HtmlFilter', derived from 'WxObject'.-type HtmlFilter a  = WxObject (CHtmlFilter a)--- | Inheritance type of the HtmlFilter class.-type THtmlFilter a  = TWxObject (CHtmlFilter a)--- | Abstract type of the HtmlFilter class.-data CHtmlFilter a  = CHtmlFilter---- | Pointer to an object of type 'HtmlHelpData', derived from 'WxObject'.-type HtmlHelpData a  = WxObject (CHtmlHelpData a)--- | Inheritance type of the HtmlHelpData class.-type THtmlHelpData a  = TWxObject (CHtmlHelpData a)--- | Abstract type of the HtmlHelpData class.-data CHtmlHelpData a  = CHtmlHelpData---- | Pointer to an object of type 'HtmlLinkInfo', derived from 'WxObject'.-type HtmlLinkInfo a  = WxObject (CHtmlLinkInfo a)--- | Inheritance type of the HtmlLinkInfo class.-type THtmlLinkInfo a  = TWxObject (CHtmlLinkInfo a)--- | Abstract type of the HtmlLinkInfo class.-data CHtmlLinkInfo a  = CHtmlLinkInfo---- | Pointer to an object of type 'Printout', derived from 'WxObject'.-type Printout a  = WxObject (CPrintout a)--- | Inheritance type of the Printout class.-type TPrintout a  = TWxObject (CPrintout a)--- | Abstract type of the Printout class.-data CPrintout a  = CPrintout---- | Pointer to an object of type 'WXCPrintout', derived from 'Printout'.-type WXCPrintout a  = Printout (CWXCPrintout a)--- | Inheritance type of the WXCPrintout class.-type TWXCPrintout a  = TPrintout (CWXCPrintout a)--- | Abstract type of the WXCPrintout class.-data CWXCPrintout a  = CWXCPrintout---- | Pointer to an object of type 'HtmlPrintout', derived from 'Printout'.-type HtmlPrintout a  = Printout (CHtmlPrintout a)--- | Inheritance type of the HtmlPrintout class.-type THtmlPrintout a  = TPrintout (CHtmlPrintout a)--- | Abstract type of the HtmlPrintout class.-data CHtmlPrintout a  = CHtmlPrintout---- | Pointer to an object of type 'HtmlTagHandler', derived from 'WxObject'.-type HtmlTagHandler a  = WxObject (CHtmlTagHandler a)--- | Inheritance type of the HtmlTagHandler class.-type THtmlTagHandler a  = TWxObject (CHtmlTagHandler a)--- | Abstract type of the HtmlTagHandler class.-data CHtmlTagHandler a  = CHtmlTagHandler---- | Pointer to an object of type 'HtmlWinTagHandler', derived from 'HtmlTagHandler'.-type HtmlWinTagHandler a  = HtmlTagHandler (CHtmlWinTagHandler a)--- | Inheritance type of the HtmlWinTagHandler class.-type THtmlWinTagHandler a  = THtmlTagHandler (CHtmlWinTagHandler a)--- | Abstract type of the HtmlWinTagHandler class.-data CHtmlWinTagHandler a  = CHtmlWinTagHandler---- | Pointer to an object of type 'SockAddress', derived from 'WxObject'.-type SockAddress a  = WxObject (CSockAddress a)--- | Inheritance type of the SockAddress class.-type TSockAddress a  = TWxObject (CSockAddress a)--- | Abstract type of the SockAddress class.-data CSockAddress a  = CSockAddress---- | Pointer to an object of type 'IPV4address', derived from 'SockAddress'.-type IPV4address a  = SockAddress (CIPV4address a)--- | Inheritance type of the IPV4address class.-type TIPV4address a  = TSockAddress (CIPV4address a)--- | Abstract type of the IPV4address class.-data CIPV4address a  = CIPV4address---- | Pointer to an object of type 'Image', derived from 'WxObject'.-type Image a  = WxObject (CImage a)--- | Inheritance type of the Image class.-type TImage a  = TWxObject (CImage a)--- | Abstract type of the Image class.-data CImage a  = CImage---- | Pointer to an object of type 'ImageList', derived from 'WxObject'.-type ImageList a  = WxObject (CImageList a)--- | Inheritance type of the ImageList class.-type TImageList a  = TWxObject (CImageList a)--- | Abstract type of the ImageList class.-data CImageList a  = CImageList---- | Pointer to an object of type 'LayoutConstraints', derived from 'WxObject'.-type LayoutConstraints a  = WxObject (CLayoutConstraints a)--- | Inheritance type of the LayoutConstraints class.-type TLayoutConstraints a  = TWxObject (CLayoutConstraints a)--- | Abstract type of the LayoutConstraints class.-data CLayoutConstraints a  = CLayoutConstraints---- | Pointer to an object of type 'MenuItem', derived from 'WxObject'.-type MenuItem a  = WxObject (CMenuItem a)--- | Inheritance type of the MenuItem class.-type TMenuItem a  = TWxObject (CMenuItem a)--- | Abstract type of the MenuItem class.-data CMenuItem a  = CMenuItem---- | Pointer to an object of type 'Metafile', derived from 'WxObject'.-type Metafile a  = WxObject (CMetafile a)--- | Inheritance type of the Metafile class.-type TMetafile a  = TWxObject (CMetafile a)--- | Abstract type of the Metafile class.-data CMetafile a  = CMetafile---- | Pointer to an object of type 'PageSetupDialogData', derived from 'WxObject'.-type PageSetupDialogData a  = WxObject (CPageSetupDialogData a)--- | Inheritance type of the PageSetupDialogData class.-type TPageSetupDialogData a  = TWxObject (CPageSetupDialogData a)--- | Abstract type of the PageSetupDialogData class.-data CPageSetupDialogData a  = CPageSetupDialogData---- | Pointer to an object of type 'PostScriptPrintNativeData', derived from 'WxObject'.-type PostScriptPrintNativeData a  = WxObject (CPostScriptPrintNativeData a)--- | Inheritance type of the PostScriptPrintNativeData class.-type TPostScriptPrintNativeData a  = TWxObject (CPostScriptPrintNativeData a)--- | Abstract type of the PostScriptPrintNativeData class.-data CPostScriptPrintNativeData a  = CPostScriptPrintNativeData---- | Pointer to an object of type 'PrintDialogData', derived from 'WxObject'.-type PrintDialogData a  = WxObject (CPrintDialogData a)--- | Inheritance type of the PrintDialogData class.-type TPrintDialogData a  = TWxObject (CPrintDialogData a)--- | Abstract type of the PrintDialogData class.-data CPrintDialogData a  = CPrintDialogData---- | Pointer to an object of type 'Printer', derived from 'WxObject'.-type Printer a  = WxObject (CPrinter a)--- | Inheritance type of the Printer class.-type TPrinter a  = TWxObject (CPrinter a)--- | Abstract type of the Printer class.-data CPrinter a  = CPrinter---- | Pointer to an object of type 'QueryCol', derived from 'WxObject'.-type QueryCol a  = WxObject (CQueryCol a)--- | Inheritance type of the QueryCol class.-type TQueryCol a  = TWxObject (CQueryCol a)--- | Abstract type of the QueryCol class.-data CQueryCol a  = CQueryCol---- | Pointer to an object of type 'RecordSet', derived from 'WxObject'.-type RecordSet a  = WxObject (CRecordSet a)--- | Inheritance type of the RecordSet class.-type TRecordSet a  = TWxObject (CRecordSet a)--- | Abstract type of the RecordSet class.-data CRecordSet a  = CRecordSet---- | Pointer to an object of type 'RegionIterator', derived from 'WxObject'.-type RegionIterator a  = WxObject (CRegionIterator a)--- | Inheritance type of the RegionIterator class.-type TRegionIterator a  = TWxObject (CRegionIterator a)--- | Abstract type of the RegionIterator class.-data CRegionIterator a  = CRegionIterator---- | Pointer to an object of type 'SizerItem', derived from 'WxObject'.-type SizerItem a  = WxObject (CSizerItem a)--- | Inheritance type of the SizerItem class.-type TSizerItem a  = TWxObject (CSizerItem a)--- | Abstract type of the SizerItem class.-data CSizerItem a  = CSizerItem---- | Pointer to an object of type 'SystemSettings', derived from 'WxObject'.-type SystemSettings a  = WxObject (CSystemSettings a)--- | Inheritance type of the SystemSettings class.-type TSystemSettings a  = TWxObject (CSystemSettings a)--- | Abstract type of the SystemSettings class.-data CSystemSettings a  = CSystemSettings---- | Pointer to an object of type 'Timer', derived from 'WxObject'.-type Timer a  = WxObject (CTimer a)--- | Inheritance type of the Timer class.-type TTimer a  = TWxObject (CTimer a)--- | Abstract type of the Timer class.-data CTimer a  = CTimer---- | Pointer to an object of type 'TimerEx', derived from 'Timer'.-type TimerEx a  = Timer (CTimerEx a)--- | Inheritance type of the TimerEx class.-type TTimerEx a  = TTimer (CTimerEx a)--- | Abstract type of the TimerEx class.-data CTimerEx a  = CTimerEx---- | Pointer to an object of type 'Variant', derived from 'WxObject'.-type Variant a  = WxObject (CVariant a)--- | Inheritance type of the Variant class.-type TVariant a  = TWxObject (CVariant a)--- | Abstract type of the Variant class.-data CVariant a  = CVariant---- | Pointer to an object of type 'XmlResource', derived from 'WxObject'.-type XmlResource a  = WxObject (CXmlResource a)--- | Inheritance type of the XmlResource class.-type TXmlResource a  = TWxObject (CXmlResource a)--- | Abstract type of the XmlResource class.-data CXmlResource a  = CXmlResource---- | Pointer to an object of type 'GraphicsObject', derived from 'WxObject'.-type GraphicsObject a  = WxObject (CGraphicsObject a)--- | Inheritance type of the GraphicsObject class.-type TGraphicsObject a  = TWxObject (CGraphicsObject a)--- | Abstract type of the GraphicsObject class.-data CGraphicsObject a  = CGraphicsObject---- | Pointer to an object of type 'GraphicsRenderer', derived from 'GraphicsObject'.-type GraphicsRenderer a  = GraphicsObject (CGraphicsRenderer a)--- | Inheritance type of the GraphicsRenderer class.-type TGraphicsRenderer a  = TGraphicsObject (CGraphicsRenderer a)--- | Abstract type of the GraphicsRenderer class.-data CGraphicsRenderer a  = CGraphicsRenderer---- | Pointer to an object of type 'GraphicsPen', derived from 'GraphicsObject'.-type GraphicsPen a  = GraphicsObject (CGraphicsPen a)--- | Inheritance type of the GraphicsPen class.-type TGraphicsPen a  = TGraphicsObject (CGraphicsPen a)--- | Abstract type of the GraphicsPen class.-data CGraphicsPen a  = CGraphicsPen---- | Pointer to an object of type 'GraphicsPath', derived from 'GraphicsObject'.-type GraphicsPath a  = GraphicsObject (CGraphicsPath a)--- | Inheritance type of the GraphicsPath class.-type TGraphicsPath a  = TGraphicsObject (CGraphicsPath a)--- | Abstract type of the GraphicsPath class.-data CGraphicsPath a  = CGraphicsPath---- | Pointer to an object of type 'GraphicsMatrix', derived from 'GraphicsObject'.-type GraphicsMatrix a  = GraphicsObject (CGraphicsMatrix a)--- | Inheritance type of the GraphicsMatrix class.-type TGraphicsMatrix a  = TGraphicsObject (CGraphicsMatrix a)--- | Abstract type of the GraphicsMatrix class.-data CGraphicsMatrix a  = CGraphicsMatrix---- | Pointer to an object of type 'GraphicsFont', derived from 'GraphicsObject'.-type GraphicsFont a  = GraphicsObject (CGraphicsFont a)--- | Inheritance type of the GraphicsFont class.-type TGraphicsFont a  = TGraphicsObject (CGraphicsFont a)--- | Abstract type of the GraphicsFont class.-data CGraphicsFont a  = CGraphicsFont---- | Pointer to an object of type 'GraphicsContext', derived from 'GraphicsObject'.-type GraphicsContext a  = GraphicsObject (CGraphicsContext a)--- | Inheritance type of the GraphicsContext class.-type TGraphicsContext a  = TGraphicsObject (CGraphicsContext a)--- | Abstract type of the GraphicsContext class.-data CGraphicsContext a  = CGraphicsContext---- | Pointer to an object of type 'GraphicsBrush', derived from 'GraphicsObject'.-type GraphicsBrush a  = GraphicsObject (CGraphicsBrush a)--- | Inheritance type of the GraphicsBrush class.-type TGraphicsBrush a  = TGraphicsObject (CGraphicsBrush a)--- | Abstract type of the GraphicsBrush class.-data CGraphicsBrush a  = CGraphicsBrush---- | Pointer to an object of type 'XmlResourceHandler', derived from 'WxObject'.-type XmlResourceHandler a  = WxObject (CXmlResourceHandler a)--- | Inheritance type of the XmlResourceHandler class.-type TXmlResourceHandler a  = TWxObject (CXmlResourceHandler a)--- | Abstract type of the XmlResourceHandler class.-data CXmlResourceHandler a  = CXmlResourceHandler---- | Pointer to an object of type 'Sound', derived from 'WxObject'.-type Sound a  = WxObject (CSound a)--- | Inheritance type of the Sound class.-type TSound a  = TWxObject (CSound a)--- | Abstract type of the Sound class.-data CSound a  = CSound---- | Pointer to an object of type 'VariantData', derived from 'WxObject'.-type VariantData a  = WxObject (CVariantData a)--- | Inheritance type of the VariantData class.-type TVariantData a  = TWxObject (CVariantData a)--- | Abstract type of the VariantData class.-data CVariantData a  = CVariantData---- | Pointer to an object of type 'URL', derived from 'WxObject'.-type URL a  = WxObject (CURL a)--- | Inheritance type of the URL class.-type TURL a  = TWxObject (CURL a)--- | Abstract type of the URL class.-data CURL a  = CURL---- | Pointer to an object of type 'TreeLayout', derived from 'WxObject'.-type TreeLayout a  = WxObject (CTreeLayout a)--- | Inheritance type of the TreeLayout class.-type TTreeLayout a  = TWxObject (CTreeLayout a)--- | Abstract type of the TreeLayout class.-data CTreeLayout a  = CTreeLayout---- | Pointer to an object of type 'TreeLayoutStored', derived from 'TreeLayout'.-type TreeLayoutStored a  = TreeLayout (CTreeLayoutStored a)--- | Inheritance type of the TreeLayoutStored class.-type TTreeLayoutStored a  = TTreeLayout (CTreeLayoutStored a)--- | Abstract type of the TreeLayoutStored class.-data CTreeLayoutStored a  = CTreeLayoutStored---- | Pointer to an object of type 'ToolTip', derived from 'WxObject'.-type ToolTip a  = WxObject (CToolTip a)--- | Inheritance type of the ToolTip class.-type TToolTip a  = TWxObject (CToolTip a)--- | Abstract type of the ToolTip class.-data CToolTip a  = CToolTip---- | Pointer to an object of type 'TimerBase', derived from 'WxObject'.-type TimerBase a  = WxObject (CTimerBase a)--- | Inheritance type of the TimerBase class.-type TTimerBase a  = TWxObject (CTimerBase a)--- | Abstract type of the TimerBase class.-data CTimerBase a  = CTimerBase---- | Pointer to an object of type 'Time', derived from 'WxObject'.-type Time a  = WxObject (CTime a)--- | Inheritance type of the Time class.-type TTime a  = TWxObject (CTime a)--- | Abstract type of the Time class.-data CTime a  = CTime---- | Pointer to an object of type 'TablesInUse', derived from 'WxObject'.-type TablesInUse a  = WxObject (CTablesInUse a)--- | Inheritance type of the TablesInUse class.-type TTablesInUse a  = TWxObject (CTablesInUse a)--- | Abstract type of the TablesInUse class.-data CTablesInUse a  = CTablesInUse---- | Pointer to an object of type 'SystemOptions', derived from 'WxObject'.-type SystemOptions a  = WxObject (CSystemOptions a)--- | Inheritance type of the SystemOptions class.-type TSystemOptions a  = TWxObject (CSystemOptions a)--- | Abstract type of the SystemOptions class.-data CSystemOptions a  = CSystemOptions---- | Pointer to an object of type 'StringTokenizer', derived from 'WxObject'.-type StringTokenizer a  = WxObject (CStringTokenizer a)--- | Inheritance type of the StringTokenizer class.-type TStringTokenizer a  = TWxObject (CStringTokenizer a)--- | Abstract type of the StringTokenizer class.-data CStringTokenizer a  = CStringTokenizer---- | Pointer to an object of type 'QueryField', derived from 'WxObject'.-type QueryField a  = WxObject (CQueryField a)--- | Inheritance type of the QueryField class.-type TQueryField a  = TWxObject (CQueryField a)--- | Abstract type of the QueryField class.-data CQueryField a  = CQueryField---- | Pointer to an object of type 'Quantize', derived from 'WxObject'.-type Quantize a  = WxObject (CQuantize a)--- | Inheritance type of the Quantize class.-type TQuantize a  = TWxObject (CQuantize a)--- | Abstract type of the Quantize class.-data CQuantize a  = CQuantize---- | Pointer to an object of type 'PrintPreview', derived from 'WxObject'.-type PrintPreview a  = WxObject (CPrintPreview a)--- | Inheritance type of the PrintPreview class.-type TPrintPreview a  = TWxObject (CPrintPreview a)--- | Abstract type of the PrintPreview class.-data CPrintPreview a  = CPrintPreview---- | Pointer to an object of type 'PrintData', derived from 'WxObject'.-type PrintData a  = WxObject (CPrintData a)--- | Inheritance type of the PrintData class.-type TPrintData a  = TWxObject (CPrintData a)--- | Abstract type of the PrintData class.-data CPrintData a  = CPrintData---- | Pointer to an object of type 'PlotOnOffCurve', derived from 'WxObject'.-type PlotOnOffCurve a  = WxObject (CPlotOnOffCurve a)--- | Inheritance type of the PlotOnOffCurve class.-type TPlotOnOffCurve a  = TWxObject (CPlotOnOffCurve a)--- | Abstract type of the PlotOnOffCurve class.-data CPlotOnOffCurve a  = CPlotOnOffCurve---- | Pointer to an object of type 'MultiCellItemHandle', derived from 'WxObject'.-type MultiCellItemHandle a  = WxObject (CMultiCellItemHandle a)--- | Inheritance type of the MultiCellItemHandle class.-type TMultiCellItemHandle a  = TWxObject (CMultiCellItemHandle a)--- | Abstract type of the MultiCellItemHandle class.-data CMultiCellItemHandle a  = CMultiCellItemHandle---- | Pointer to an object of type 'Mask', derived from 'WxObject'.-type Mask a  = WxObject (CMask a)--- | Inheritance type of the Mask class.-type TMask a  = TWxObject (CMask a)--- | Abstract type of the Mask class.-data CMask a  = CMask---- | Pointer to an object of type 'ListItem', derived from 'WxObject'.-type ListItem a  = WxObject (CListItem a)--- | Inheritance type of the ListItem class.-type TListItem a  = TWxObject (CListItem a)--- | Abstract type of the ListItem class.-data CListItem a  = CListItem---- | Pointer to an object of type 'LayoutAlgorithm', derived from 'WxObject'.-type LayoutAlgorithm a  = WxObject (CLayoutAlgorithm a)--- | Inheritance type of the LayoutAlgorithm class.-type TLayoutAlgorithm a  = TWxObject (CLayoutAlgorithm a)--- | Abstract type of the LayoutAlgorithm class.-data CLayoutAlgorithm a  = CLayoutAlgorithm---- | Pointer to an object of type 'Joystick', derived from 'WxObject'.-type Joystick a  = WxObject (CJoystick a)--- | Inheritance type of the Joystick class.-type TJoystick a  = TWxObject (CJoystick a)--- | Abstract type of the Joystick class.-data CJoystick a  = CJoystick---- | Pointer to an object of type 'IndividualLayoutConstraint', derived from 'WxObject'.-type IndividualLayoutConstraint a  = WxObject (CIndividualLayoutConstraint a)--- | Inheritance type of the IndividualLayoutConstraint class.-type TIndividualLayoutConstraint a  = TWxObject (CIndividualLayoutConstraint a)--- | Abstract type of the IndividualLayoutConstraint class.-data CIndividualLayoutConstraint a  = CIndividualLayoutConstraint---- | Pointer to an object of type 'ImageHandler', derived from 'WxObject'.-type ImageHandler a  = WxObject (CImageHandler a)--- | Inheritance type of the ImageHandler class.-type TImageHandler a  = TWxObject (CImageHandler a)--- | Abstract type of the ImageHandler class.-data CImageHandler a  = CImageHandler---- | Pointer to an object of type 'Module', derived from 'WxObject'.-type Module a  = WxObject (CModule a)--- | Inheritance type of the Module class.-type TModule a  = TWxObject (CModule a)--- | Abstract type of the Module class.-data CModule a  = CModule---- | Pointer to an object of type 'HtmlTagsModule', derived from 'Module'.-type HtmlTagsModule a  = Module (CHtmlTagsModule a)--- | Inheritance type of the HtmlTagsModule class.-type THtmlTagsModule a  = TModule (CHtmlTagsModule a)--- | Abstract type of the HtmlTagsModule class.-data CHtmlTagsModule a  = CHtmlTagsModule---- | Pointer to an object of type 'HtmlTag', derived from 'WxObject'.-type HtmlTag a  = WxObject (CHtmlTag a)--- | Inheritance type of the HtmlTag class.-type THtmlTag a  = TWxObject (CHtmlTag a)--- | Abstract type of the HtmlTag class.-data CHtmlTag a  = CHtmlTag---- | Pointer to an object of type 'HtmlParser', derived from 'WxObject'.-type HtmlParser a  = WxObject (CHtmlParser a)--- | Inheritance type of the HtmlParser class.-type THtmlParser a  = TWxObject (CHtmlParser a)--- | Abstract type of the HtmlParser class.-data CHtmlParser a  = CHtmlParser---- | Pointer to an object of type 'HtmlWinParser', derived from 'HtmlParser'.-type HtmlWinParser a  = HtmlParser (CHtmlWinParser a)--- | Inheritance type of the HtmlWinParser class.-type THtmlWinParser a  = THtmlParser (CHtmlWinParser a)--- | Abstract type of the HtmlWinParser class.-data CHtmlWinParser a  = CHtmlWinParser---- | Pointer to an object of type 'HtmlEasyPrinting', derived from 'WxObject'.-type HtmlEasyPrinting a  = WxObject (CHtmlEasyPrinting a)--- | Inheritance type of the HtmlEasyPrinting class.-type THtmlEasyPrinting a  = TWxObject (CHtmlEasyPrinting a)--- | Abstract type of the HtmlEasyPrinting class.-data CHtmlEasyPrinting a  = CHtmlEasyPrinting---- | Pointer to an object of type 'HtmlCell', derived from 'WxObject'.-type HtmlCell a  = WxObject (CHtmlCell a)--- | Inheritance type of the HtmlCell class.-type THtmlCell a  = TWxObject (CHtmlCell a)--- | Abstract type of the HtmlCell class.-data CHtmlCell a  = CHtmlCell---- | Pointer to an object of type 'HtmlWidgetCell', derived from 'HtmlCell'.-type HtmlWidgetCell a  = HtmlCell (CHtmlWidgetCell a)--- | Inheritance type of the HtmlWidgetCell class.-type THtmlWidgetCell a  = THtmlCell (CHtmlWidgetCell a)--- | Abstract type of the HtmlWidgetCell class.-data CHtmlWidgetCell a  = CHtmlWidgetCell---- | Pointer to an object of type 'HtmlContainerCell', derived from 'HtmlCell'.-type HtmlContainerCell a  = HtmlCell (CHtmlContainerCell a)--- | Inheritance type of the HtmlContainerCell class.-type THtmlContainerCell a  = THtmlCell (CHtmlContainerCell a)--- | Abstract type of the HtmlContainerCell class.-data CHtmlContainerCell a  = CHtmlContainerCell---- | Pointer to an object of type 'HtmlColourCell', derived from 'HtmlCell'.-type HtmlColourCell a  = HtmlCell (CHtmlColourCell a)--- | Inheritance type of the HtmlColourCell class.-type THtmlColourCell a  = THtmlCell (CHtmlColourCell a)--- | Abstract type of the HtmlColourCell class.-data CHtmlColourCell a  = CHtmlColourCell---- | Pointer to an object of type 'FindReplaceData', derived from 'WxObject'.-type FindReplaceData a  = WxObject (CFindReplaceData a)--- | Inheritance type of the FindReplaceData class.-type TFindReplaceData a  = TWxObject (CFindReplaceData a)--- | Abstract type of the FindReplaceData class.-data CFindReplaceData a  = CFindReplaceData---- | Pointer to an object of type 'FileSystemHandler', derived from 'WxObject'.-type FileSystemHandler a  = WxObject (CFileSystemHandler a)--- | Inheritance type of the FileSystemHandler class.-type TFileSystemHandler a  = TWxObject (CFileSystemHandler a)--- | Abstract type of the FileSystemHandler class.-data CFileSystemHandler a  = CFileSystemHandler---- | Pointer to an object of type 'MemoryFSHandler', derived from 'FileSystemHandler'.-type MemoryFSHandler a  = FileSystemHandler (CMemoryFSHandler a)--- | Inheritance type of the MemoryFSHandler class.-type TMemoryFSHandler a  = TFileSystemHandler (CMemoryFSHandler a)--- | Abstract type of the MemoryFSHandler class.-data CMemoryFSHandler a  = CMemoryFSHandler---- | Pointer to an object of type 'FileHistory', derived from 'WxObject'.-type FileHistory a  = WxObject (CFileHistory a)--- | Inheritance type of the FileHistory class.-type TFileHistory a  = TWxObject (CFileHistory a)--- | Abstract type of the FileHistory class.-data CFileHistory a  = CFileHistory---- | Pointer to an object of type 'SocketBase', derived from 'WxObject'.-type SocketBase a  = WxObject (CSocketBase a)--- | Inheritance type of the SocketBase class.-type TSocketBase a  = TWxObject (CSocketBase a)--- | Abstract type of the SocketBase class.-data CSocketBase a  = CSocketBase---- | Pointer to an object of type 'SocketServer', derived from 'SocketBase'.-type SocketServer a  = SocketBase (CSocketServer a)--- | Inheritance type of the SocketServer class.-type TSocketServer a  = TSocketBase (CSocketServer a)--- | Abstract type of the SocketServer class.-data CSocketServer a  = CSocketServer---- | Pointer to an object of type 'SocketClient', derived from 'SocketBase'.-type SocketClient a  = SocketBase (CSocketClient a)--- | Inheritance type of the SocketClient class.-type TSocketClient a  = TSocketBase (CSocketClient a)--- | Abstract type of the SocketClient class.-data CSocketClient a  = CSocketClient---- | Pointer to an object of type 'Protocol', derived from 'SocketClient'.-type Protocol a  = SocketClient (CProtocol a)--- | Inheritance type of the Protocol class.-type TProtocol a  = TSocketClient (CProtocol a)--- | Abstract type of the Protocol class.-data CProtocol a  = CProtocol---- | Pointer to an object of type 'HTTP', derived from 'Protocol'.-type HTTP a  = Protocol (CHTTP a)--- | Inheritance type of the HTTP class.-type THTTP a  = TProtocol (CHTTP a)--- | Abstract type of the HTTP class.-data CHTTP a  = CHTTP---- | Pointer to an object of type 'FTP', derived from 'Protocol'.-type FTP a  = Protocol (CFTP a)--- | Inheritance type of the FTP class.-type TFTP a  = TProtocol (CFTP a)--- | Abstract type of the FTP class.-data CFTP a  = CFTP---- | Pointer to an object of type 'EncodingConverter', derived from 'WxObject'.-type EncodingConverter a  = WxObject (CEncodingConverter a)--- | Inheritance type of the EncodingConverter class.-type TEncodingConverter a  = TWxObject (CEncodingConverter a)--- | Abstract type of the EncodingConverter class.-data CEncodingConverter a  = CEncodingConverter---- | Pointer to an object of type 'ToolLayoutItem', derived from 'WxObject'.-type ToolLayoutItem a  = WxObject (CToolLayoutItem a)--- | Inheritance type of the ToolLayoutItem class.-type TToolLayoutItem a  = TWxObject (CToolLayoutItem a)--- | Abstract type of the ToolLayoutItem class.-data CToolLayoutItem a  = CToolLayoutItem---- | Pointer to an object of type 'DynToolInfo', derived from 'ToolLayoutItem'.-type DynToolInfo a  = ToolLayoutItem (CDynToolInfo a)--- | Inheritance type of the DynToolInfo class.-type TDynToolInfo a  = TToolLayoutItem (CDynToolInfo a)--- | Abstract type of the DynToolInfo class.-data CDynToolInfo a  = CDynToolInfo---- | Pointer to an object of type 'DragImage', derived from 'WxObject'.-type DragImage a  = WxObject (CDragImage a)--- | Inheritance type of the DragImage class.-type TDragImage a  = TWxObject (CDragImage a)--- | Abstract type of the DragImage class.-data CDragImage a  = CDragImage---- | Pointer to an object of type 'GenericDragImage', derived from 'DragImage'.-type GenericDragImage a  = DragImage (CGenericDragImage a)--- | Inheritance type of the GenericDragImage class.-type TGenericDragImage a  = TDragImage (CGenericDragImage a)--- | Abstract type of the GenericDragImage class.-data CGenericDragImage a  = CGenericDragImage---- | Pointer to an object of type 'DocTemplate', derived from 'WxObject'.-type DocTemplate a  = WxObject (CDocTemplate a)--- | Inheritance type of the DocTemplate class.-type TDocTemplate a  = TWxObject (CDocTemplate a)--- | Abstract type of the DocTemplate class.-data CDocTemplate a  = CDocTemplate---- | Pointer to an object of type 'CommandProcessor', derived from 'WxObject'.-type CommandProcessor a  = WxObject (CCommandProcessor a)--- | Inheritance type of the CommandProcessor class.-type TCommandProcessor a  = TWxObject (CCommandProcessor a)--- | Abstract type of the CommandProcessor class.-data CCommandProcessor a  = CCommandProcessor---- | Pointer to an object of type 'ColourData', derived from 'WxObject'.-type ColourData a  = WxObject (CColourData a)--- | Inheritance type of the ColourData class.-type TColourData a  = TWxObject (CColourData a)--- | Abstract type of the ColourData class.-data CColourData a  = CColourData---- | Pointer to an object of type 'Closure', derived from 'WxObject'.-type Closure a  = WxObject (CClosure a)--- | Inheritance type of the Closure class.-type TClosure a  = TWxObject (CClosure a)--- | Abstract type of the Closure class.-data CClosure a  = CClosure---- | Pointer to an object of type 'Clipboard', derived from 'WxObject'.-type Clipboard a  = WxObject (CClipboard a)--- | Inheritance type of the Clipboard class.-type TClipboard a  = TWxObject (CClipboard a)--- | Abstract type of the Clipboard class.-data CClipboard a  = CClipboard---- | Pointer to an object of type 'BitmapHandler', derived from 'WxObject'.-type BitmapHandler a  = WxObject (CBitmapHandler a)--- | Inheritance type of the BitmapHandler class.-type TBitmapHandler a  = TWxObject (CBitmapHandler a)--- | Abstract type of the BitmapHandler class.-data CBitmapHandler a  = CBitmapHandler---- | Pointer to an object of type 'GDIObject', derived from 'WxObject'.-type GDIObject a  = WxObject (CGDIObject a)--- | Inheritance type of the GDIObject class.-type TGDIObject a  = TWxObject (CGDIObject a)--- | Abstract type of the GDIObject class.-data CGDIObject a  = CGDIObject---- | Pointer to an object of type 'Region', derived from 'GDIObject'.-type Region a  = GDIObject (CRegion a)--- | Inheritance type of the Region class.-type TRegion a  = TGDIObject (CRegion a)--- | Abstract type of the Region class.-data CRegion a  = CRegion---- | Pointer to an object of type 'Pen', derived from 'GDIObject'.-type Pen a  = GDIObject (CPen a)--- | Inheritance type of the Pen class.-type TPen a  = TGDIObject (CPen a)--- | Abstract type of the Pen class.-data CPen a  = CPen---- | Pointer to an object of type 'Palette', derived from 'GDIObject'.-type Palette a  = GDIObject (CPalette a)--- | Inheritance type of the Palette class.-type TPalette a  = TGDIObject (CPalette a)--- | Abstract type of the Palette class.-data CPalette a  = CPalette---- | Pointer to an object of type 'Bitmap', derived from 'GDIObject'.-type Bitmap a  = GDIObject (CBitmap a)--- | Inheritance type of the Bitmap class.-type TBitmap a  = TGDIObject (CBitmap a)--- | Abstract type of the Bitmap class.-data CBitmap a  = CBitmap---- | Pointer to an object of type 'Icon', derived from 'Bitmap'.-type Icon a  = Bitmap (CIcon a)--- | Inheritance type of the Icon class.-type TIcon a  = TBitmap (CIcon a)--- | Abstract type of the Icon class.-data CIcon a  = CIcon---- | Pointer to an object of type 'Cursor', derived from 'Bitmap'.-type Cursor a  = Bitmap (CCursor a)--- | Inheritance type of the Cursor class.-type TCursor a  = TBitmap (CCursor a)--- | Abstract type of the Cursor class.-data CCursor a  = CCursor---- | Pointer to an object of type 'Font', derived from 'GDIObject'.-type Font a  = GDIObject (CFont a)--- | Inheritance type of the Font class.-type TFont a  = TGDIObject (CFont a)--- | Abstract type of the Font class.-data CFont a  = CFont---- | Pointer to an object of type 'Brush', derived from 'GDIObject'.-type Brush a  = GDIObject (CBrush a)--- | Inheritance type of the Brush class.-type TBrush a  = TGDIObject (CBrush a)--- | Abstract type of the Brush class.-data CBrush a  = CBrush---- | Pointer to an object of type 'DC', derived from 'WxObject'.-type DC a  = WxObject (CDC a)--- | Inheritance type of the DC class.-type TDC a  = TWxObject (CDC a)--- | Abstract type of the DC class.-data CDC a  = CDC---- | Pointer to an object of type 'WindowDC', derived from 'DC'.-type WindowDC a  = DC (CWindowDC a)--- | Inheritance type of the WindowDC class.-type TWindowDC a  = TDC (CWindowDC a)--- | Abstract type of the WindowDC class.-data CWindowDC a  = CWindowDC---- | Pointer to an object of type 'ClientDC', derived from 'WindowDC'.-type ClientDC a  = WindowDC (CClientDC a)--- | Inheritance type of the ClientDC class.-type TClientDC a  = TWindowDC (CClientDC a)--- | Abstract type of the ClientDC class.-data CClientDC a  = CClientDC---- | Pointer to an object of type 'PaintDC', derived from 'WindowDC'.-type PaintDC a  = WindowDC (CPaintDC a)--- | Inheritance type of the PaintDC class.-type TPaintDC a  = TWindowDC (CPaintDC a)--- | Abstract type of the PaintDC class.-data CPaintDC a  = CPaintDC---- | Pointer to an object of type 'ScreenDC', derived from 'DC'.-type ScreenDC a  = DC (CScreenDC a)--- | Inheritance type of the ScreenDC class.-type TScreenDC a  = TDC (CScreenDC a)--- | Abstract type of the ScreenDC class.-data CScreenDC a  = CScreenDC---- | Pointer to an object of type 'SVGFileDC', derived from 'DC'.-type SVGFileDC a  = DC (CSVGFileDC a)--- | Inheritance type of the SVGFileDC class.-type TSVGFileDC a  = TDC (CSVGFileDC a)--- | Abstract type of the SVGFileDC class.-data CSVGFileDC a  = CSVGFileDC---- | Pointer to an object of type 'PrinterDC', derived from 'DC'.-type PrinterDC a  = DC (CPrinterDC a)--- | Inheritance type of the PrinterDC class.-type TPrinterDC a  = TDC (CPrinterDC a)--- | Abstract type of the PrinterDC class.-data CPrinterDC a  = CPrinterDC---- | Pointer to an object of type 'PostScriptDC', derived from 'DC'.-type PostScriptDC a  = DC (CPostScriptDC a)--- | Inheritance type of the PostScriptDC class.-type TPostScriptDC a  = TDC (CPostScriptDC a)--- | Abstract type of the PostScriptDC class.-data CPostScriptDC a  = CPostScriptDC---- | Pointer to an object of type 'MirrorDC', derived from 'DC'.-type MirrorDC a  = DC (CMirrorDC a)--- | Inheritance type of the MirrorDC class.-type TMirrorDC a  = TDC (CMirrorDC a)--- | Abstract type of the MirrorDC class.-data CMirrorDC a  = CMirrorDC---- | Pointer to an object of type 'MetafileDC', derived from 'DC'.-type MetafileDC a  = DC (CMetafileDC a)--- | Inheritance type of the MetafileDC class.-type TMetafileDC a  = TDC (CMetafileDC a)--- | Abstract type of the MetafileDC class.-data CMetafileDC a  = CMetafileDC---- | Pointer to an object of type 'MemoryDC', derived from 'DC'.-type MemoryDC a  = DC (CMemoryDC a)--- | Inheritance type of the MemoryDC class.-type TMemoryDC a  = TDC (CMemoryDC a)--- | Abstract type of the MemoryDC class.-data CMemoryDC a  = CMemoryDC---- | Pointer to an object of type 'BufferedPaintDC', derived from 'DC'.-type BufferedPaintDC a  = DC (CBufferedPaintDC a)--- | Inheritance type of the BufferedPaintDC class.-type TBufferedPaintDC a  = TDC (CBufferedPaintDC a)--- | Abstract type of the BufferedPaintDC class.-data CBufferedPaintDC a  = CBufferedPaintDC---- | Pointer to an object of type 'BufferedDC', derived from 'DC'.-type BufferedDC a  = DC (CBufferedDC a)--- | Inheritance type of the BufferedDC class.-type TBufferedDC a  = TDC (CBufferedDC a)--- | Abstract type of the BufferedDC class.-data CBufferedDC a  = CBufferedDC---- | Pointer to an object of type 'AutoBufferedPaintDC', derived from 'DC'.-type AutoBufferedPaintDC a  = DC (CAutoBufferedPaintDC a)--- | Inheritance type of the AutoBufferedPaintDC class.-type TAutoBufferedPaintDC a  = TDC (CAutoBufferedPaintDC a)--- | Abstract type of the AutoBufferedPaintDC class.-data CAutoBufferedPaintDC a  = CAutoBufferedPaintDC---- | Pointer to an object of type 'CbDimHandlerBase', derived from 'WxObject'.-type CbDimHandlerBase a  = WxObject (CCbDimHandlerBase a)--- | Inheritance type of the CbDimHandlerBase class.-type TCbDimHandlerBase a  = TWxObject (CCbDimHandlerBase a)--- | Abstract type of the CbDimHandlerBase class.-data CCbDimHandlerBase a  = CCbDimHandlerBase---- | Pointer to an object of type 'CbDynToolBarDimHandler', derived from 'CbDimHandlerBase'.-type CbDynToolBarDimHandler a  = CbDimHandlerBase (CCbDynToolBarDimHandler a)--- | Inheritance type of the CbDynToolBarDimHandler class.-type TCbDynToolBarDimHandler a  = TCbDimHandlerBase (CCbDynToolBarDimHandler a)--- | Abstract type of the CbDynToolBarDimHandler class.-data CCbDynToolBarDimHandler a  = CCbDynToolBarDimHandler---- | Pointer to an object of type 'Event', derived from 'WxObject'.-type Event a  = WxObject (CEvent a)--- | Inheritance type of the Event class.-type TEvent a  = TWxObject (CEvent a)--- | Abstract type of the Event class.-data CEvent a  = CEvent---- | Pointer to an object of type 'CommandEvent', derived from 'Event'.-type CommandEvent a  = Event (CCommandEvent a)--- | Inheritance type of the CommandEvent class.-type TCommandEvent a  = TEvent (CCommandEvent a)--- | Abstract type of the CommandEvent class.-data CCommandEvent a  = CCommandEvent---- | Pointer to an object of type 'CalendarEvent', derived from 'CommandEvent'.-type CalendarEvent a  = CommandEvent (CCalendarEvent a)--- | Inheritance type of the CalendarEvent class.-type TCalendarEvent a  = TCommandEvent (CCalendarEvent a)--- | Abstract type of the CalendarEvent class.-data CCalendarEvent a  = CCalendarEvent---- | Pointer to an object of type 'FindDialogEvent', derived from 'CommandEvent'.-type FindDialogEvent a  = CommandEvent (CFindDialogEvent a)--- | Inheritance type of the FindDialogEvent class.-type TFindDialogEvent a  = TCommandEvent (CFindDialogEvent a)--- | Abstract type of the FindDialogEvent class.-data CFindDialogEvent a  = CFindDialogEvent---- | Pointer to an object of type 'NotifyEvent', derived from 'CommandEvent'.-type NotifyEvent a  = CommandEvent (CNotifyEvent a)--- | Inheritance type of the NotifyEvent class.-type TNotifyEvent a  = TCommandEvent (CNotifyEvent a)--- | Abstract type of the NotifyEvent class.-data CNotifyEvent a  = CNotifyEvent---- | Pointer to an object of type 'MediaEvent', derived from 'NotifyEvent'.-type MediaEvent a  = NotifyEvent (CMediaEvent a)--- | Inheritance type of the MediaEvent class.-type TMediaEvent a  = TNotifyEvent (CMediaEvent a)--- | Abstract type of the MediaEvent class.-data CMediaEvent a  = CMediaEvent---- | Pointer to an object of type 'WizardEvent', derived from 'NotifyEvent'.-type WizardEvent a  = NotifyEvent (CWizardEvent a)--- | Inheritance type of the WizardEvent class.-type TWizardEvent a  = TNotifyEvent (CWizardEvent a)--- | Abstract type of the WizardEvent class.-data CWizardEvent a  = CWizardEvent---- | Pointer to an object of type 'TreeEvent', derived from 'NotifyEvent'.-type TreeEvent a  = NotifyEvent (CTreeEvent a)--- | Inheritance type of the TreeEvent class.-type TTreeEvent a  = TNotifyEvent (CTreeEvent a)--- | Abstract type of the TreeEvent class.-data CTreeEvent a  = CTreeEvent---- | Pointer to an object of type 'SplitterEvent', derived from 'NotifyEvent'.-type SplitterEvent a  = NotifyEvent (CSplitterEvent a)--- | Inheritance type of the SplitterEvent class.-type TSplitterEvent a  = TNotifyEvent (CSplitterEvent a)--- | Abstract type of the SplitterEvent class.-data CSplitterEvent a  = CSplitterEvent---- | Pointer to an object of type 'SpinEvent', derived from 'NotifyEvent'.-type SpinEvent a  = NotifyEvent (CSpinEvent a)--- | Inheritance type of the SpinEvent class.-type TSpinEvent a  = TNotifyEvent (CSpinEvent a)--- | Abstract type of the SpinEvent class.-data CSpinEvent a  = CSpinEvent---- | Pointer to an object of type 'PlotEvent', derived from 'NotifyEvent'.-type PlotEvent a  = NotifyEvent (CPlotEvent a)--- | Inheritance type of the PlotEvent class.-type TPlotEvent a  = TNotifyEvent (CPlotEvent a)--- | Abstract type of the PlotEvent class.-data CPlotEvent a  = CPlotEvent---- | Pointer to an object of type 'NotebookEvent', derived from 'NotifyEvent'.-type NotebookEvent a  = NotifyEvent (CNotebookEvent a)--- | Inheritance type of the NotebookEvent class.-type TNotebookEvent a  = TNotifyEvent (CNotebookEvent a)--- | Abstract type of the NotebookEvent class.-data CNotebookEvent a  = CNotebookEvent---- | Pointer to an object of type 'ListEvent', derived from 'NotifyEvent'.-type ListEvent a  = NotifyEvent (CListEvent a)--- | Inheritance type of the ListEvent class.-type TListEvent a  = TNotifyEvent (CListEvent a)--- | Abstract type of the ListEvent class.-data CListEvent a  = CListEvent---- | Pointer to an object of type 'GridSizeEvent', derived from 'NotifyEvent'.-type GridSizeEvent a  = NotifyEvent (CGridSizeEvent a)--- | Inheritance type of the GridSizeEvent class.-type TGridSizeEvent a  = TNotifyEvent (CGridSizeEvent a)--- | Abstract type of the GridSizeEvent class.-data CGridSizeEvent a  = CGridSizeEvent---- | Pointer to an object of type 'GridRangeSelectEvent', derived from 'NotifyEvent'.-type GridRangeSelectEvent a  = NotifyEvent (CGridRangeSelectEvent a)--- | Inheritance type of the GridRangeSelectEvent class.-type TGridRangeSelectEvent a  = TNotifyEvent (CGridRangeSelectEvent a)--- | Abstract type of the GridRangeSelectEvent class.-data CGridRangeSelectEvent a  = CGridRangeSelectEvent---- | Pointer to an object of type 'GridEvent', derived from 'NotifyEvent'.-type GridEvent a  = NotifyEvent (CGridEvent a)--- | Inheritance type of the GridEvent class.-type TGridEvent a  = TNotifyEvent (CGridEvent a)--- | Abstract type of the GridEvent class.-data CGridEvent a  = CGridEvent---- | Pointer to an object of type 'TabEvent', derived from 'CommandEvent'.-type TabEvent a  = CommandEvent (CTabEvent a)--- | Inheritance type of the TabEvent class.-type TTabEvent a  = TCommandEvent (CTabEvent a)--- | Abstract type of the TabEvent class.-data CTabEvent a  = CTabEvent---- | Pointer to an object of type 'WindowCreateEvent', derived from 'CommandEvent'.-type WindowCreateEvent a  = CommandEvent (CWindowCreateEvent a)--- | Inheritance type of the WindowCreateEvent class.-type TWindowCreateEvent a  = TCommandEvent (CWindowCreateEvent a)--- | Abstract type of the WindowCreateEvent class.-data CWindowCreateEvent a  = CWindowCreateEvent---- | Pointer to an object of type 'StyledTextEvent', derived from 'CommandEvent'.-type StyledTextEvent a  = CommandEvent (CStyledTextEvent a)--- | Inheritance type of the StyledTextEvent class.-type TStyledTextEvent a  = TCommandEvent (CStyledTextEvent a)--- | Abstract type of the StyledTextEvent class.-data CStyledTextEvent a  = CStyledTextEvent---- | Pointer to an object of type 'WXCHtmlEvent', derived from 'CommandEvent'.-type WXCHtmlEvent a  = CommandEvent (CWXCHtmlEvent a)--- | Inheritance type of the WXCHtmlEvent class.-type TWXCHtmlEvent a  = TCommandEvent (CWXCHtmlEvent a)--- | Abstract type of the WXCHtmlEvent class.-data CWXCHtmlEvent a  = CWXCHtmlEvent---- | Pointer to an object of type 'WindowDestroyEvent', derived from 'CommandEvent'.-type WindowDestroyEvent a  = CommandEvent (CWindowDestroyEvent a)--- | Inheritance type of the WindowDestroyEvent class.-type TWindowDestroyEvent a  = TCommandEvent (CWindowDestroyEvent a)--- | Abstract type of the WindowDestroyEvent class.-data CWindowDestroyEvent a  = CWindowDestroyEvent---- | Pointer to an object of type 'HelpEvent', derived from 'CommandEvent'.-type HelpEvent a  = CommandEvent (CHelpEvent a)--- | Inheritance type of the HelpEvent class.-type THelpEvent a  = TCommandEvent (CHelpEvent a)--- | Abstract type of the HelpEvent class.-data CHelpEvent a  = CHelpEvent---- | Pointer to an object of type 'GridEditorCreatedEvent', derived from 'CommandEvent'.-type GridEditorCreatedEvent a  = CommandEvent (CGridEditorCreatedEvent a)--- | Inheritance type of the GridEditorCreatedEvent class.-type TGridEditorCreatedEvent a  = TCommandEvent (CGridEditorCreatedEvent a)--- | Abstract type of the GridEditorCreatedEvent class.-data CGridEditorCreatedEvent a  = CGridEditorCreatedEvent---- | Pointer to an object of type 'InputSinkEvent', derived from 'Event'.-type InputSinkEvent a  = Event (CInputSinkEvent a)--- | Inheritance type of the InputSinkEvent class.-type TInputSinkEvent a  = TEvent (CInputSinkEvent a)--- | Abstract type of the InputSinkEvent class.-data CInputSinkEvent a  = CInputSinkEvent---- | Pointer to an object of type 'WXCPrintEvent', derived from 'Event'.-type WXCPrintEvent a  = Event (CWXCPrintEvent a)--- | Inheritance type of the WXCPrintEvent class.-type TWXCPrintEvent a  = TEvent (CWXCPrintEvent a)--- | Abstract type of the WXCPrintEvent class.-data CWXCPrintEvent a  = CWXCPrintEvent---- | Pointer to an object of type 'UpdateUIEvent', derived from 'Event'.-type UpdateUIEvent a  = Event (CUpdateUIEvent a)--- | Inheritance type of the UpdateUIEvent class.-type TUpdateUIEvent a  = TEvent (CUpdateUIEvent a)--- | Abstract type of the UpdateUIEvent class.-data CUpdateUIEvent a  = CUpdateUIEvent---- | Pointer to an object of type 'TimerEvent', derived from 'Event'.-type TimerEvent a  = Event (CTimerEvent a)--- | Inheritance type of the TimerEvent class.-type TTimerEvent a  = TEvent (CTimerEvent a)--- | Abstract type of the TimerEvent class.-data CTimerEvent a  = CTimerEvent---- | Pointer to an object of type 'SysColourChangedEvent', derived from 'Event'.-type SysColourChangedEvent a  = Event (CSysColourChangedEvent a)--- | Inheritance type of the SysColourChangedEvent class.-type TSysColourChangedEvent a  = TEvent (CSysColourChangedEvent a)--- | Abstract type of the SysColourChangedEvent class.-data CSysColourChangedEvent a  = CSysColourChangedEvent---- | Pointer to an object of type 'SocketEvent', derived from 'Event'.-type SocketEvent a  = Event (CSocketEvent a)--- | Inheritance type of the SocketEvent class.-type TSocketEvent a  = TEvent (CSocketEvent a)--- | Abstract type of the SocketEvent class.-data CSocketEvent a  = CSocketEvent---- | Pointer to an object of type 'SizeEvent', derived from 'Event'.-type SizeEvent a  = Event (CSizeEvent a)--- | Inheritance type of the SizeEvent class.-type TSizeEvent a  = TEvent (CSizeEvent a)--- | Abstract type of the SizeEvent class.-data CSizeEvent a  = CSizeEvent---- | Pointer to an object of type 'ShowEvent', derived from 'Event'.-type ShowEvent a  = Event (CShowEvent a)--- | Inheritance type of the ShowEvent class.-type TShowEvent a  = TEvent (CShowEvent a)--- | Abstract type of the ShowEvent class.-data CShowEvent a  = CShowEvent---- | Pointer to an object of type 'SetCursorEvent', derived from 'Event'.-type SetCursorEvent a  = Event (CSetCursorEvent a)--- | Inheritance type of the SetCursorEvent class.-type TSetCursorEvent a  = TEvent (CSetCursorEvent a)--- | Abstract type of the SetCursorEvent class.-data CSetCursorEvent a  = CSetCursorEvent---- | Pointer to an object of type 'ScrollWinEvent', derived from 'Event'.-type ScrollWinEvent a  = Event (CScrollWinEvent a)--- | Inheritance type of the ScrollWinEvent class.-type TScrollWinEvent a  = TEvent (CScrollWinEvent a)--- | Abstract type of the ScrollWinEvent class.-data CScrollWinEvent a  = CScrollWinEvent---- | Pointer to an object of type 'ScrollEvent', derived from 'Event'.-type ScrollEvent a  = Event (CScrollEvent a)--- | Inheritance type of the ScrollEvent class.-type TScrollEvent a  = TEvent (CScrollEvent a)--- | Abstract type of the ScrollEvent class.-data CScrollEvent a  = CScrollEvent---- | Pointer to an object of type 'SashEvent', derived from 'Event'.-type SashEvent a  = Event (CSashEvent a)--- | Inheritance type of the SashEvent class.-type TSashEvent a  = TEvent (CSashEvent a)--- | Abstract type of the SashEvent class.-data CSashEvent a  = CSashEvent---- | Pointer to an object of type 'QueryNewPaletteEvent', derived from 'Event'.-type QueryNewPaletteEvent a  = Event (CQueryNewPaletteEvent a)--- | Inheritance type of the QueryNewPaletteEvent class.-type TQueryNewPaletteEvent a  = TEvent (CQueryNewPaletteEvent a)--- | Abstract type of the QueryNewPaletteEvent class.-data CQueryNewPaletteEvent a  = CQueryNewPaletteEvent---- | Pointer to an object of type 'QueryLayoutInfoEvent', derived from 'Event'.-type QueryLayoutInfoEvent a  = Event (CQueryLayoutInfoEvent a)--- | Inheritance type of the QueryLayoutInfoEvent class.-type TQueryLayoutInfoEvent a  = TEvent (CQueryLayoutInfoEvent a)--- | Abstract type of the QueryLayoutInfoEvent class.-data CQueryLayoutInfoEvent a  = CQueryLayoutInfoEvent---- | Pointer to an object of type 'ProcessEvent', derived from 'Event'.-type ProcessEvent a  = Event (CProcessEvent a)--- | Inheritance type of the ProcessEvent class.-type TProcessEvent a  = TEvent (CProcessEvent a)--- | Abstract type of the ProcessEvent class.-data CProcessEvent a  = CProcessEvent---- | Pointer to an object of type 'PaletteChangedEvent', derived from 'Event'.-type PaletteChangedEvent a  = Event (CPaletteChangedEvent a)--- | Inheritance type of the PaletteChangedEvent class.-type TPaletteChangedEvent a  = TEvent (CPaletteChangedEvent a)--- | Abstract type of the PaletteChangedEvent class.-data CPaletteChangedEvent a  = CPaletteChangedEvent---- | Pointer to an object of type 'PaintEvent', derived from 'Event'.-type PaintEvent a  = Event (CPaintEvent a)--- | Inheritance type of the PaintEvent class.-type TPaintEvent a  = TEvent (CPaintEvent a)--- | Abstract type of the PaintEvent class.-data CPaintEvent a  = CPaintEvent---- | Pointer to an object of type 'NavigationKeyEvent', derived from 'Event'.-type NavigationKeyEvent a  = Event (CNavigationKeyEvent a)--- | Inheritance type of the NavigationKeyEvent class.-type TNavigationKeyEvent a  = TEvent (CNavigationKeyEvent a)--- | Abstract type of the NavigationKeyEvent class.-data CNavigationKeyEvent a  = CNavigationKeyEvent---- | Pointer to an object of type 'MoveEvent', derived from 'Event'.-type MoveEvent a  = Event (CMoveEvent a)--- | Inheritance type of the MoveEvent class.-type TMoveEvent a  = TEvent (CMoveEvent a)--- | Abstract type of the MoveEvent class.-data CMoveEvent a  = CMoveEvent---- | Pointer to an object of type 'MouseEvent', derived from 'Event'.-type MouseEvent a  = Event (CMouseEvent a)--- | Inheritance type of the MouseEvent class.-type TMouseEvent a  = TEvent (CMouseEvent a)--- | Abstract type of the MouseEvent class.-data CMouseEvent a  = CMouseEvent---- | Pointer to an object of type 'MouseCaptureChangedEvent', derived from 'Event'.-type MouseCaptureChangedEvent a  = Event (CMouseCaptureChangedEvent a)--- | Inheritance type of the MouseCaptureChangedEvent class.-type TMouseCaptureChangedEvent a  = TEvent (CMouseCaptureChangedEvent a)--- | Abstract type of the MouseCaptureChangedEvent class.-data CMouseCaptureChangedEvent a  = CMouseCaptureChangedEvent---- | Pointer to an object of type 'MenuEvent', derived from 'Event'.-type MenuEvent a  = Event (CMenuEvent a)--- | Inheritance type of the MenuEvent class.-type TMenuEvent a  = TEvent (CMenuEvent a)--- | Abstract type of the MenuEvent class.-data CMenuEvent a  = CMenuEvent---- | Pointer to an object of type 'MaximizeEvent', derived from 'Event'.-type MaximizeEvent a  = Event (CMaximizeEvent a)--- | Inheritance type of the MaximizeEvent class.-type TMaximizeEvent a  = TEvent (CMaximizeEvent a)--- | Abstract type of the MaximizeEvent class.-data CMaximizeEvent a  = CMaximizeEvent---- | Pointer to an object of type 'KeyEvent', derived from 'Event'.-type KeyEvent a  = Event (CKeyEvent a)--- | Inheritance type of the KeyEvent class.-type TKeyEvent a  = TEvent (CKeyEvent a)--- | Abstract type of the KeyEvent class.-data CKeyEvent a  = CKeyEvent---- | Pointer to an object of type 'JoystickEvent', derived from 'Event'.-type JoystickEvent a  = Event (CJoystickEvent a)--- | Inheritance type of the JoystickEvent class.-type TJoystickEvent a  = TEvent (CJoystickEvent a)--- | Abstract type of the JoystickEvent class.-data CJoystickEvent a  = CJoystickEvent---- | Pointer to an object of type 'InitDialogEvent', derived from 'Event'.-type InitDialogEvent a  = Event (CInitDialogEvent a)--- | Inheritance type of the InitDialogEvent class.-type TInitDialogEvent a  = TEvent (CInitDialogEvent a)--- | Abstract type of the InitDialogEvent class.-data CInitDialogEvent a  = CInitDialogEvent---- | Pointer to an object of type 'IdleEvent', derived from 'Event'.-type IdleEvent a  = Event (CIdleEvent a)--- | Inheritance type of the IdleEvent class.-type TIdleEvent a  = TEvent (CIdleEvent a)--- | Abstract type of the IdleEvent class.-data CIdleEvent a  = CIdleEvent---- | Pointer to an object of type 'IconizeEvent', derived from 'Event'.-type IconizeEvent a  = Event (CIconizeEvent a)--- | Inheritance type of the IconizeEvent class.-type TIconizeEvent a  = TEvent (CIconizeEvent a)--- | Abstract type of the IconizeEvent class.-data CIconizeEvent a  = CIconizeEvent---- | Pointer to an object of type 'FocusEvent', derived from 'Event'.-type FocusEvent a  = Event (CFocusEvent a)--- | Inheritance type of the FocusEvent class.-type TFocusEvent a  = TEvent (CFocusEvent a)--- | Abstract type of the FocusEvent class.-data CFocusEvent a  = CFocusEvent---- | Pointer to an object of type 'EraseEvent', derived from 'Event'.-type EraseEvent a  = Event (CEraseEvent a)--- | Inheritance type of the EraseEvent class.-type TEraseEvent a  = TEvent (CEraseEvent a)--- | Abstract type of the EraseEvent class.-data CEraseEvent a  = CEraseEvent---- | Pointer to an object of type 'DropFilesEvent', derived from 'Event'.-type DropFilesEvent a  = Event (CDropFilesEvent a)--- | Inheritance type of the DropFilesEvent class.-type TDropFilesEvent a  = TEvent (CDropFilesEvent a)--- | Abstract type of the DropFilesEvent class.-data CDropFilesEvent a  = CDropFilesEvent---- | Pointer to an object of type 'DialUpEvent', derived from 'Event'.-type DialUpEvent a  = Event (CDialUpEvent a)--- | Inheritance type of the DialUpEvent class.-type TDialUpEvent a  = TEvent (CDialUpEvent a)--- | Abstract type of the DialUpEvent class.-data CDialUpEvent a  = CDialUpEvent---- | Pointer to an object of type 'CloseEvent', derived from 'Event'.-type CloseEvent a  = Event (CCloseEvent a)--- | Inheritance type of the CloseEvent class.-type TCloseEvent a  = TEvent (CCloseEvent a)--- | Abstract type of the CloseEvent class.-data CCloseEvent a  = CCloseEvent---- | Pointer to an object of type 'CalculateLayoutEvent', derived from 'Event'.-type CalculateLayoutEvent a  = Event (CCalculateLayoutEvent a)--- | Inheritance type of the CalculateLayoutEvent class.-type TCalculateLayoutEvent a  = TEvent (CCalculateLayoutEvent a)--- | Abstract type of the CalculateLayoutEvent class.-data CCalculateLayoutEvent a  = CCalculateLayoutEvent---- | Pointer to an object of type 'ActivateEvent', derived from 'Event'.-type ActivateEvent a  = Event (CActivateEvent a)--- | Inheritance type of the ActivateEvent class.-type TActivateEvent a  = TEvent (CActivateEvent a)--- | Abstract type of the ActivateEvent class.-data CActivateEvent a  = CActivateEvent---- | Pointer to an object of type 'CbPluginEvent', derived from 'Event'.-type CbPluginEvent a  = Event (CCbPluginEvent a)--- | Inheritance type of the CbPluginEvent class.-type TCbPluginEvent a  = TEvent (CCbPluginEvent a)--- | Abstract type of the CbPluginEvent class.-data CCbPluginEvent a  = CCbPluginEvent---- | Pointer to an object of type 'CbCustomizeBarEvent', derived from 'CbPluginEvent'.-type CbCustomizeBarEvent a  = CbPluginEvent (CCbCustomizeBarEvent a)--- | Inheritance type of the CbCustomizeBarEvent class.-type TCbCustomizeBarEvent a  = TCbPluginEvent (CCbCustomizeBarEvent a)--- | Abstract type of the CbCustomizeBarEvent class.-data CCbCustomizeBarEvent a  = CCbCustomizeBarEvent---- | Pointer to an object of type 'CbDrawBarDecorEvent', derived from 'CbPluginEvent'.-type CbDrawBarDecorEvent a  = CbPluginEvent (CCbDrawBarDecorEvent a)--- | Inheritance type of the CbDrawBarDecorEvent class.-type TCbDrawBarDecorEvent a  = TCbPluginEvent (CCbDrawBarDecorEvent a)--- | Abstract type of the CbDrawBarDecorEvent class.-data CCbDrawBarDecorEvent a  = CCbDrawBarDecorEvent---- | Pointer to an object of type 'CbDrawHintRectEvent', derived from 'CbPluginEvent'.-type CbDrawHintRectEvent a  = CbPluginEvent (CCbDrawHintRectEvent a)--- | Inheritance type of the CbDrawHintRectEvent class.-type TCbDrawHintRectEvent a  = TCbPluginEvent (CCbDrawHintRectEvent a)--- | Abstract type of the CbDrawHintRectEvent class.-data CCbDrawHintRectEvent a  = CCbDrawHintRectEvent---- | Pointer to an object of type 'CbDrawPaneDecorEvent', derived from 'CbPluginEvent'.-type CbDrawPaneDecorEvent a  = CbPluginEvent (CCbDrawPaneDecorEvent a)--- | Inheritance type of the CbDrawPaneDecorEvent class.-type TCbDrawPaneDecorEvent a  = TCbPluginEvent (CCbDrawPaneDecorEvent a)--- | Abstract type of the CbDrawPaneDecorEvent class.-data CCbDrawPaneDecorEvent a  = CCbDrawPaneDecorEvent---- | Pointer to an object of type 'CbDrawRowDecorEvent', derived from 'CbPluginEvent'.-type CbDrawRowDecorEvent a  = CbPluginEvent (CCbDrawRowDecorEvent a)--- | Inheritance type of the CbDrawRowDecorEvent class.-type TCbDrawRowDecorEvent a  = TCbPluginEvent (CCbDrawRowDecorEvent a)--- | Abstract type of the CbDrawRowDecorEvent class.-data CCbDrawRowDecorEvent a  = CCbDrawRowDecorEvent---- | Pointer to an object of type 'CbFinishDrawInAreaEvent', derived from 'CbPluginEvent'.-type CbFinishDrawInAreaEvent a  = CbPluginEvent (CCbFinishDrawInAreaEvent a)--- | Inheritance type of the CbFinishDrawInAreaEvent class.-type TCbFinishDrawInAreaEvent a  = TCbPluginEvent (CCbFinishDrawInAreaEvent a)--- | Abstract type of the CbFinishDrawInAreaEvent class.-data CCbFinishDrawInAreaEvent a  = CCbFinishDrawInAreaEvent---- | Pointer to an object of type 'CbLayoutRowEvent', derived from 'CbPluginEvent'.-type CbLayoutRowEvent a  = CbPluginEvent (CCbLayoutRowEvent a)--- | Inheritance type of the CbLayoutRowEvent class.-type TCbLayoutRowEvent a  = TCbPluginEvent (CCbLayoutRowEvent a)--- | Abstract type of the CbLayoutRowEvent class.-data CCbLayoutRowEvent a  = CCbLayoutRowEvent---- | Pointer to an object of type 'CbLeftDownEvent', derived from 'CbPluginEvent'.-type CbLeftDownEvent a  = CbPluginEvent (CCbLeftDownEvent a)--- | Inheritance type of the CbLeftDownEvent class.-type TCbLeftDownEvent a  = TCbPluginEvent (CCbLeftDownEvent a)--- | Abstract type of the CbLeftDownEvent class.-data CCbLeftDownEvent a  = CCbLeftDownEvent---- | Pointer to an object of type 'CbMotionEvent', derived from 'CbPluginEvent'.-type CbMotionEvent a  = CbPluginEvent (CCbMotionEvent a)--- | Inheritance type of the CbMotionEvent class.-type TCbMotionEvent a  = TCbPluginEvent (CCbMotionEvent a)--- | Abstract type of the CbMotionEvent class.-data CCbMotionEvent a  = CCbMotionEvent---- | Pointer to an object of type 'CbRemoveBarEvent', derived from 'CbPluginEvent'.-type CbRemoveBarEvent a  = CbPluginEvent (CCbRemoveBarEvent a)--- | Inheritance type of the CbRemoveBarEvent class.-type TCbRemoveBarEvent a  = TCbPluginEvent (CCbRemoveBarEvent a)--- | Abstract type of the CbRemoveBarEvent class.-data CCbRemoveBarEvent a  = CCbRemoveBarEvent---- | Pointer to an object of type 'CbResizeRowEvent', derived from 'CbPluginEvent'.-type CbResizeRowEvent a  = CbPluginEvent (CCbResizeRowEvent a)--- | Inheritance type of the CbResizeRowEvent class.-type TCbResizeRowEvent a  = TCbPluginEvent (CCbResizeRowEvent a)--- | Abstract type of the CbResizeRowEvent class.-data CCbResizeRowEvent a  = CCbResizeRowEvent---- | Pointer to an object of type 'CbRightUpEvent', derived from 'CbPluginEvent'.-type CbRightUpEvent a  = CbPluginEvent (CCbRightUpEvent a)--- | Inheritance type of the CbRightUpEvent class.-type TCbRightUpEvent a  = TCbPluginEvent (CCbRightUpEvent a)--- | Abstract type of the CbRightUpEvent class.-data CCbRightUpEvent a  = CCbRightUpEvent---- | Pointer to an object of type 'CbStartBarDraggingEvent', derived from 'CbPluginEvent'.-type CbStartBarDraggingEvent a  = CbPluginEvent (CCbStartBarDraggingEvent a)--- | Inheritance type of the CbStartBarDraggingEvent class.-type TCbStartBarDraggingEvent a  = TCbPluginEvent (CCbStartBarDraggingEvent a)--- | Abstract type of the CbStartBarDraggingEvent class.-data CCbStartBarDraggingEvent a  = CCbStartBarDraggingEvent---- | Pointer to an object of type 'CbStartDrawInAreaEvent', derived from 'CbPluginEvent'.-type CbStartDrawInAreaEvent a  = CbPluginEvent (CCbStartDrawInAreaEvent a)--- | Inheritance type of the CbStartDrawInAreaEvent class.-type TCbStartDrawInAreaEvent a  = TCbPluginEvent (CCbStartDrawInAreaEvent a)--- | Abstract type of the CbStartDrawInAreaEvent class.-data CCbStartDrawInAreaEvent a  = CCbStartDrawInAreaEvent---- | Pointer to an object of type 'CbSizeBarWndEvent', derived from 'CbPluginEvent'.-type CbSizeBarWndEvent a  = CbPluginEvent (CCbSizeBarWndEvent a)--- | Inheritance type of the CbSizeBarWndEvent class.-type TCbSizeBarWndEvent a  = TCbPluginEvent (CCbSizeBarWndEvent a)--- | Abstract type of the CbSizeBarWndEvent class.-data CCbSizeBarWndEvent a  = CCbSizeBarWndEvent---- | Pointer to an object of type 'CbRightDownEvent', derived from 'CbPluginEvent'.-type CbRightDownEvent a  = CbPluginEvent (CCbRightDownEvent a)--- | Inheritance type of the CbRightDownEvent class.-type TCbRightDownEvent a  = TCbPluginEvent (CCbRightDownEvent a)--- | Abstract type of the CbRightDownEvent class.-data CCbRightDownEvent a  = CCbRightDownEvent---- | Pointer to an object of type 'CbResizeBarEvent', derived from 'CbPluginEvent'.-type CbResizeBarEvent a  = CbPluginEvent (CCbResizeBarEvent a)--- | Inheritance type of the CbResizeBarEvent class.-type TCbResizeBarEvent a  = TCbPluginEvent (CCbResizeBarEvent a)--- | Abstract type of the CbResizeBarEvent class.-data CCbResizeBarEvent a  = CCbResizeBarEvent---- | Pointer to an object of type 'CbLeftUpEvent', derived from 'CbPluginEvent'.-type CbLeftUpEvent a  = CbPluginEvent (CCbLeftUpEvent a)--- | Inheritance type of the CbLeftUpEvent class.-type TCbLeftUpEvent a  = TCbPluginEvent (CCbLeftUpEvent a)--- | Abstract type of the CbLeftUpEvent class.-data CCbLeftUpEvent a  = CCbLeftUpEvent---- | Pointer to an object of type 'CbLeftDClickEvent', derived from 'CbPluginEvent'.-type CbLeftDClickEvent a  = CbPluginEvent (CCbLeftDClickEvent a)--- | Inheritance type of the CbLeftDClickEvent class.-type TCbLeftDClickEvent a  = TCbPluginEvent (CCbLeftDClickEvent a)--- | Abstract type of the CbLeftDClickEvent class.-data CCbLeftDClickEvent a  = CCbLeftDClickEvent---- | Pointer to an object of type 'CbInsertBarEvent', derived from 'CbPluginEvent'.-type CbInsertBarEvent a  = CbPluginEvent (CCbInsertBarEvent a)--- | Inheritance type of the CbInsertBarEvent class.-type TCbInsertBarEvent a  = TCbPluginEvent (CCbInsertBarEvent a)--- | Abstract type of the CbInsertBarEvent class.-data CCbInsertBarEvent a  = CCbInsertBarEvent---- | Pointer to an object of type 'CbDrawRowHandlesEvent', derived from 'CbPluginEvent'.-type CbDrawRowHandlesEvent a  = CbPluginEvent (CCbDrawRowHandlesEvent a)--- | Inheritance type of the CbDrawRowHandlesEvent class.-type TCbDrawRowHandlesEvent a  = TCbPluginEvent (CCbDrawRowHandlesEvent a)--- | Abstract type of the CbDrawRowHandlesEvent class.-data CCbDrawRowHandlesEvent a  = CCbDrawRowHandlesEvent---- | Pointer to an object of type 'CbDrawRowBkGroundEvent', derived from 'CbPluginEvent'.-type CbDrawRowBkGroundEvent a  = CbPluginEvent (CCbDrawRowBkGroundEvent a)--- | Inheritance type of the CbDrawRowBkGroundEvent class.-type TCbDrawRowBkGroundEvent a  = TCbPluginEvent (CCbDrawRowBkGroundEvent a)--- | Abstract type of the CbDrawRowBkGroundEvent class.-data CCbDrawRowBkGroundEvent a  = CCbDrawRowBkGroundEvent---- | Pointer to an object of type 'CbDrawPaneBkGroundEvent', derived from 'CbPluginEvent'.-type CbDrawPaneBkGroundEvent a  = CbPluginEvent (CCbDrawPaneBkGroundEvent a)--- | Inheritance type of the CbDrawPaneBkGroundEvent class.-type TCbDrawPaneBkGroundEvent a  = TCbPluginEvent (CCbDrawPaneBkGroundEvent a)--- | Abstract type of the CbDrawPaneBkGroundEvent class.-data CCbDrawPaneBkGroundEvent a  = CCbDrawPaneBkGroundEvent---- | Pointer to an object of type 'CbDrawBarHandlesEvent', derived from 'CbPluginEvent'.-type CbDrawBarHandlesEvent a  = CbPluginEvent (CCbDrawBarHandlesEvent a)--- | Inheritance type of the CbDrawBarHandlesEvent class.-type TCbDrawBarHandlesEvent a  = TCbPluginEvent (CCbDrawBarHandlesEvent a)--- | Abstract type of the CbDrawBarHandlesEvent class.-data CCbDrawBarHandlesEvent a  = CCbDrawBarHandlesEvent---- | Pointer to an object of type 'CbCustomizeLayoutEvent', derived from 'CbPluginEvent'.-type CbCustomizeLayoutEvent a  = CbPluginEvent (CCbCustomizeLayoutEvent a)--- | Inheritance type of the CbCustomizeLayoutEvent class.-type TCbCustomizeLayoutEvent a  = TCbPluginEvent (CCbCustomizeLayoutEvent a)--- | Abstract type of the CbCustomizeLayoutEvent class.-data CCbCustomizeLayoutEvent a  = CCbCustomizeLayoutEvent---- | Pointer to an object of type 'ServerBase', derived from 'WxObject'.-type ServerBase a  = WxObject (CServerBase a)--- | Inheritance type of the ServerBase class.-type TServerBase a  = TWxObject (CServerBase a)--- | Abstract type of the ServerBase class.-data CServerBase a  = CServerBase---- | Pointer to an object of type 'Server', derived from 'ServerBase'.-type Server a  = ServerBase (CServer a)--- | Inheritance type of the Server class.-type TServer a  = TServerBase (CServer a)--- | Abstract type of the Server class.-data CServer a  = CServer---- | Pointer to an object of type 'WXCServer', derived from 'Server'.-type WXCServer a  = Server (CWXCServer a)--- | Inheritance type of the WXCServer class.-type TWXCServer a  = TServer (CWXCServer a)--- | Abstract type of the WXCServer class.-data CWXCServer a  = CWXCServer---- | Pointer to an object of type 'DDEServer', derived from 'ServerBase'.-type DDEServer a  = ServerBase (CDDEServer a)--- | Inheritance type of the DDEServer class.-type TDDEServer a  = TServerBase (CDDEServer a)--- | Abstract type of the DDEServer class.-data CDDEServer a  = CDDEServer---- | Pointer to an object of type 'GridTableBase', derived from 'WxObject'.-type GridTableBase a  = WxObject (CGridTableBase a)--- | Inheritance type of the GridTableBase class.-type TGridTableBase a  = TWxObject (CGridTableBase a)--- | Abstract type of the GridTableBase class.-data CGridTableBase a  = CGridTableBase---- | Pointer to an object of type 'WXCGridTable', derived from 'GridTableBase'.-type WXCGridTable a  = GridTableBase (CWXCGridTable a)--- | Inheritance type of the WXCGridTable class.-type TWXCGridTable a  = TGridTableBase (CWXCGridTable a)--- | Abstract type of the WXCGridTable class.-data CWXCGridTable a  = CWXCGridTable---- | Pointer to an object of type 'Command', derived from 'WxObject'.-type Command a  = WxObject (CCommand a)--- | Inheritance type of the Command class.-type TCommand a  = TWxObject (CCommand a)--- | Abstract type of the Command class.-data CCommand a  = CCommand---- | Pointer to an object of type 'WXCCommand', derived from 'Command'.-type WXCCommand a  = Command (CWXCCommand a)--- | Inheritance type of the WXCCommand class.-type TWXCCommand a  = TCommand (CWXCCommand a)--- | Abstract type of the WXCCommand class.-data CWXCCommand a  = CWXCCommand---- | Pointer to an object of type 'ArtProvider', derived from 'WxObject'.-type ArtProvider a  = WxObject (CArtProvider a)--- | Inheritance type of the ArtProvider class.-type TArtProvider a  = TWxObject (CArtProvider a)--- | Abstract type of the ArtProvider class.-data CArtProvider a  = CArtProvider---- | Pointer to an object of type 'WXCArtProv', derived from 'ArtProvider'.-type WXCArtProv a  = ArtProvider (CWXCArtProv a)--- | Inheritance type of the WXCArtProv class.-type TWXCArtProv a  = TArtProvider (CWXCArtProv a)--- | Abstract type of the WXCArtProv class.-data CWXCArtProv a  = CWXCArtProv---- | Pointer to an object of type 'Thread'.-type Thread a  = Object (CThread a)--- | Inheritance type of the Thread class.-type TThread a  = CThread a--- | Abstract type of the Thread class.-data CThread a  = CThread---- | Pointer to an object of type 'InputSink', derived from 'Thread'.-type InputSink a  = Thread (CInputSink a)--- | Inheritance type of the InputSink class.-type TInputSink a  = TThread (CInputSink a)--- | Abstract type of the InputSink class.-data CInputSink a  = CInputSink---- | Pointer to an object of type 'ClassInfo'.-type ClassInfo a  = Object (CClassInfo a)--- | Inheritance type of the ClassInfo class.-type TClassInfo a  = CClassInfo a--- | Abstract type of the ClassInfo class.-data CClassInfo a  = CClassInfo---- | Pointer to an object of type 'ClientData'.-type ClientData a  = Object (CClientData a)--- | Inheritance type of the ClientData class.-type TClientData a  = CClientData a--- | Abstract type of the ClientData class.-data CClientData a  = CClientData---- | Pointer to an object of type 'TreeItemData', derived from 'ClientData'.-type TreeItemData a  = ClientData (CTreeItemData a)--- | Inheritance type of the TreeItemData class.-type TTreeItemData a  = TClientData (CTreeItemData a)--- | Abstract type of the TreeItemData class.-data CTreeItemData a  = CTreeItemData---- | Pointer to an object of type 'WXCTreeItemData', derived from 'TreeItemData'.-type WXCTreeItemData a  = TreeItemData (CWXCTreeItemData a)--- | Inheritance type of the WXCTreeItemData class.-type TWXCTreeItemData a  = TTreeItemData (CWXCTreeItemData a)--- | Abstract type of the WXCTreeItemData class.-data CWXCTreeItemData a  = CWXCTreeItemData---- | Pointer to an object of type 'StringClientData', derived from 'ClientData'.-type StringClientData a  = ClientData (CStringClientData a)--- | Inheritance type of the StringClientData class.-type TStringClientData a  = TClientData (CStringClientData a)--- | Abstract type of the StringClientData class.-data CStringClientData a  = CStringClientData---- | Pointer to an object of type 'MemoryBuffer'.-type MemoryBuffer a  = Object (CMemoryBuffer a)--- | Inheritance type of the MemoryBuffer class.-type TMemoryBuffer a  = CMemoryBuffer a--- | Abstract type of the MemoryBuffer class.-data CMemoryBuffer a  = CMemoryBuffer---- | Pointer to an object of type 'STCDoc'.-type STCDoc a  = Object (CSTCDoc a)--- | Inheritance type of the STCDoc class.-type TSTCDoc a  = CSTCDoc a--- | Abstract type of the STCDoc class.-data CSTCDoc a  = CSTCDoc---- | Pointer to an object of type 'TextOutputStream'.-type TextOutputStream a  = Object (CTextOutputStream a)--- | Inheritance type of the TextOutputStream class.-type TTextOutputStream a  = CTextOutputStream a--- | Abstract type of the TextOutputStream class.-data CTextOutputStream a  = CTextOutputStream---- | Pointer to an object of type 'TextInputStream'.-type TextInputStream a  = Object (CTextInputStream a)--- | Inheritance type of the TextInputStream class.-type TTextInputStream a  = CTextInputStream a--- | Abstract type of the TextInputStream class.-data CTextInputStream a  = CTextInputStream---- | Pointer to an object of type 'WxManagedPtr'.-type WxManagedPtr a  = Object (CWxManagedPtr a)--- | Inheritance type of the WxManagedPtr class.-type TWxManagedPtr a  = CWxManagedPtr a--- | Abstract type of the WxManagedPtr class.-data CWxManagedPtr a  = CWxManagedPtr---- | Pointer to an object of type 'DbColInf'.-type DbColInf a  = Object (CDbColInf a)--- | Inheritance type of the DbColInf class.-type TDbColInf a  = CDbColInf a--- | Abstract type of the DbColInf class.-data CDbColInf a  = CDbColInf---- | Pointer to an object of type 'DbColInfArray'.-type DbColInfArray a  = Object (CDbColInfArray a)--- | Inheritance type of the DbColInfArray class.-type TDbColInfArray a  = CDbColInfArray a--- | Abstract type of the DbColInfArray class.-data CDbColInfArray a  = CDbColInfArray---- | Pointer to an object of type 'DbTableInf'.-type DbTableInf a  = Object (CDbTableInf a)--- | Inheritance type of the DbTableInf class.-type TDbTableInf a  = CDbTableInf a--- | Abstract type of the DbTableInf class.-data CDbTableInf a  = CDbTableInf---- | Pointer to an object of type 'DbInf'.-type DbInf a  = Object (CDbInf a)--- | Inheritance type of the DbInf class.-type TDbInf a  = CDbInf a--- | Abstract type of the DbInf class.-data CDbInf a  = CDbInf---- | Pointer to an object of type 'Db'.-type Db a  = Object (CDb a)--- | Inheritance type of the Db class.-type TDb a  = CDb a--- | Abstract type of the Db class.-data CDb a  = CDb---- | Pointer to an object of type 'DbConnectInf'.-type DbConnectInf a  = Object (CDbConnectInf a)--- | Inheritance type of the DbConnectInf class.-type TDbConnectInf a  = CDbConnectInf a--- | Abstract type of the DbConnectInf class.-data CDbConnectInf a  = CDbConnectInf---- | Pointer to an object of type 'HSTMT'.-type HSTMT a  = Object (CHSTMT a)--- | Inheritance type of the HSTMT class.-type THSTMT a  = CHSTMT a--- | Abstract type of the HSTMT class.-data CHSTMT a  = CHSTMT---- | Pointer to an object of type 'HDBC'.-type HDBC a  = Object (CHDBC a)--- | Inheritance type of the HDBC class.-type THDBC a  = CHDBC a--- | Abstract type of the HDBC class.-data CHDBC a  = CHDBC---- | Pointer to an object of type 'HENV'.-type HENV a  = Object (CHENV a)--- | Inheritance type of the HENV class.-type THENV a  = CHENV a--- | Abstract type of the HENV class.-data CHENV a  = CHENV---- | Pointer to an object of type 'StreamBase'.-type StreamBase a  = Object (CStreamBase a)--- | Inheritance type of the StreamBase class.-type TStreamBase a  = CStreamBase a--- | Abstract type of the StreamBase class.-data CStreamBase a  = CStreamBase---- | Pointer to an object of type 'InputStream', derived from 'StreamBase'.-type InputStream a  = StreamBase (CInputStream a)--- | Inheritance type of the InputStream class.-type TInputStream a  = TStreamBase (CInputStream a)--- | Abstract type of the InputStream class.-data CInputStream a  = CInputStream---- | Pointer to an object of type 'FilterInputStream', derived from 'InputStream'.-type FilterInputStream a  = InputStream (CFilterInputStream a)--- | Inheritance type of the FilterInputStream class.-type TFilterInputStream a  = TInputStream (CFilterInputStream a)--- | Abstract type of the FilterInputStream class.-data CFilterInputStream a  = CFilterInputStream---- | Pointer to an object of type 'BufferedInputStream', derived from 'FilterInputStream'.-type BufferedInputStream a  = FilterInputStream (CBufferedInputStream a)--- | Inheritance type of the BufferedInputStream class.-type TBufferedInputStream a  = TFilterInputStream (CBufferedInputStream a)--- | Abstract type of the BufferedInputStream class.-data CBufferedInputStream a  = CBufferedInputStream---- | Pointer to an object of type 'ZlibInputStream', derived from 'FilterInputStream'.-type ZlibInputStream a  = FilterInputStream (CZlibInputStream a)--- | Inheritance type of the ZlibInputStream class.-type TZlibInputStream a  = TFilterInputStream (CZlibInputStream a)--- | Abstract type of the ZlibInputStream class.-data CZlibInputStream a  = CZlibInputStream---- | Pointer to an object of type 'ZipInputStream', derived from 'InputStream'.-type ZipInputStream a  = InputStream (CZipInputStream a)--- | Inheritance type of the ZipInputStream class.-type TZipInputStream a  = TInputStream (CZipInputStream a)--- | Abstract type of the ZipInputStream class.-data CZipInputStream a  = CZipInputStream---- | Pointer to an object of type 'SocketInputStream', derived from 'InputStream'.-type SocketInputStream a  = InputStream (CSocketInputStream a)--- | Inheritance type of the SocketInputStream class.-type TSocketInputStream a  = TInputStream (CSocketInputStream a)--- | Abstract type of the SocketInputStream class.-data CSocketInputStream a  = CSocketInputStream---- | Pointer to an object of type 'MemoryInputStream', derived from 'InputStream'.-type MemoryInputStream a  = InputStream (CMemoryInputStream a)--- | Inheritance type of the MemoryInputStream class.-type TMemoryInputStream a  = TInputStream (CMemoryInputStream a)--- | Abstract type of the MemoryInputStream class.-data CMemoryInputStream a  = CMemoryInputStream---- | Pointer to an object of type 'FileInputStream', derived from 'InputStream'.-type FileInputStream a  = InputStream (CFileInputStream a)--- | Inheritance type of the FileInputStream class.-type TFileInputStream a  = TInputStream (CFileInputStream a)--- | Abstract type of the FileInputStream class.-data CFileInputStream a  = CFileInputStream---- | Pointer to an object of type 'FFileInputStream', derived from 'InputStream'.-type FFileInputStream a  = InputStream (CFFileInputStream a)--- | Inheritance type of the FFileInputStream class.-type TFFileInputStream a  = TInputStream (CFFileInputStream a)--- | Abstract type of the FFileInputStream class.-data CFFileInputStream a  = CFFileInputStream---- | Pointer to an object of type 'OutputStream', derived from 'StreamBase'.-type OutputStream a  = StreamBase (COutputStream a)--- | Inheritance type of the OutputStream class.-type TOutputStream a  = TStreamBase (COutputStream a)--- | Abstract type of the OutputStream class.-data COutputStream a  = COutputStream---- | Pointer to an object of type 'FilterOutputStream', derived from 'OutputStream'.-type FilterOutputStream a  = OutputStream (CFilterOutputStream a)--- | Inheritance type of the FilterOutputStream class.-type TFilterOutputStream a  = TOutputStream (CFilterOutputStream a)--- | Abstract type of the FilterOutputStream class.-data CFilterOutputStream a  = CFilterOutputStream---- | Pointer to an object of type 'BufferedOutputStream', derived from 'FilterOutputStream'.-type BufferedOutputStream a  = FilterOutputStream (CBufferedOutputStream a)--- | Inheritance type of the BufferedOutputStream class.-type TBufferedOutputStream a  = TFilterOutputStream (CBufferedOutputStream a)--- | Abstract type of the BufferedOutputStream class.-data CBufferedOutputStream a  = CBufferedOutputStream---- | Pointer to an object of type 'ZlibOutputStream', derived from 'FilterOutputStream'.-type ZlibOutputStream a  = FilterOutputStream (CZlibOutputStream a)--- | Inheritance type of the ZlibOutputStream class.-type TZlibOutputStream a  = TFilterOutputStream (CZlibOutputStream a)--- | Abstract type of the ZlibOutputStream class.-data CZlibOutputStream a  = CZlibOutputStream---- | Pointer to an object of type 'SocketOutputStream', derived from 'OutputStream'.-type SocketOutputStream a  = OutputStream (CSocketOutputStream a)--- | Inheritance type of the SocketOutputStream class.-type TSocketOutputStream a  = TOutputStream (CSocketOutputStream a)--- | Abstract type of the SocketOutputStream class.-data CSocketOutputStream a  = CSocketOutputStream---- | Pointer to an object of type 'MemoryOutputStream', derived from 'OutputStream'.-type MemoryOutputStream a  = OutputStream (CMemoryOutputStream a)--- | Inheritance type of the MemoryOutputStream class.-type TMemoryOutputStream a  = TOutputStream (CMemoryOutputStream a)--- | Abstract type of the MemoryOutputStream class.-data CMemoryOutputStream a  = CMemoryOutputStream---- | Pointer to an object of type 'FileOutputStream', derived from 'OutputStream'.-type FileOutputStream a  = OutputStream (CFileOutputStream a)--- | Inheritance type of the FileOutputStream class.-type TFileOutputStream a  = TOutputStream (CFileOutputStream a)--- | Abstract type of the FileOutputStream class.-data CFileOutputStream a  = CFileOutputStream---- | Pointer to an object of type 'FFileOutputStream', derived from 'OutputStream'.-type FFileOutputStream a  = OutputStream (CFFileOutputStream a)--- | Inheritance type of the FFileOutputStream class.-type TFFileOutputStream a  = TOutputStream (CFFileOutputStream a)--- | Abstract type of the FFileOutputStream class.-data CFFileOutputStream a  = CFFileOutputStream---- | Pointer to an object of type 'CountingOutputStream', derived from 'OutputStream'.-type CountingOutputStream a  = OutputStream (CCountingOutputStream a)--- | Inheritance type of the CountingOutputStream class.-type TCountingOutputStream a  = TOutputStream (CCountingOutputStream a)--- | Abstract type of the CountingOutputStream class.-data CCountingOutputStream a  = CCountingOutputStream---- | Pointer to an object of type 'WindowDisabler'.-type WindowDisabler a  = Object (CWindowDisabler a)--- | Inheritance type of the WindowDisabler class.-type TWindowDisabler a  = CWindowDisabler a--- | Abstract type of the WindowDisabler class.-data CWindowDisabler a  = CWindowDisabler---- | Pointer to an object of type 'TreeItemId'.-type TreeItemId a  = Object (CTreeItemId a)--- | Inheritance type of the TreeItemId class.-type TTreeItemId a  = CTreeItemId a--- | Abstract type of the TreeItemId class.-data CTreeItemId a  = CTreeItemId---- | Pointer to an object of type 'TipProvider'.-type TipProvider a  = Object (CTipProvider a)--- | Inheritance type of the TipProvider class.-type TTipProvider a  = CTipProvider a--- | Abstract type of the TipProvider class.-data CTipProvider a  = CTipProvider---- | Pointer to an object of type 'TimerRunner'.-type TimerRunner a  = Object (CTimerRunner a)--- | Inheritance type of the TimerRunner class.-type TTimerRunner a  = CTimerRunner a--- | Abstract type of the TimerRunner class.-data CTimerRunner a  = CTimerRunner---- | Pointer to an object of type 'TimeSpan'.-type TimeSpan a  = Object (CTimeSpan a)--- | Inheritance type of the TimeSpan class.-type TTimeSpan a  = CTimeSpan a--- | Abstract type of the TimeSpan class.-data CTimeSpan a  = CTimeSpan---- | Pointer to an object of type 'TextFile'.-type TextFile a  = Object (CTextFile a)--- | Inheritance type of the TextFile class.-type TTextFile a  = CTextFile a--- | Abstract type of the TextFile class.-data CTextFile a  = CTextFile---- | Pointer to an object of type 'DropTarget'.-type DropTarget a  = Object (CDropTarget a)--- | Inheritance type of the DropTarget class.-type TDropTarget a  = CDropTarget a--- | Abstract type of the DropTarget class.-data CDropTarget a  = CDropTarget---- | Pointer to an object of type 'WXCDropTarget', derived from 'DropTarget'.-type WXCDropTarget a  = DropTarget (CWXCDropTarget a)--- | Inheritance type of the WXCDropTarget class.-type TWXCDropTarget a  = TDropTarget (CWXCDropTarget a)--- | Abstract type of the WXCDropTarget class.-data CWXCDropTarget a  = CWXCDropTarget---- | Pointer to an object of type 'TextDropTarget', derived from 'DropTarget'.-type TextDropTarget a  = DropTarget (CTextDropTarget a)--- | Inheritance type of the TextDropTarget class.-type TTextDropTarget a  = TDropTarget (CTextDropTarget a)--- | Abstract type of the TextDropTarget class.-data CTextDropTarget a  = CTextDropTarget---- | Pointer to an object of type 'WXCTextDropTarget', derived from 'TextDropTarget'.-type WXCTextDropTarget a  = TextDropTarget (CWXCTextDropTarget a)--- | Inheritance type of the WXCTextDropTarget class.-type TWXCTextDropTarget a  = TTextDropTarget (CWXCTextDropTarget a)--- | Abstract type of the WXCTextDropTarget class.-data CWXCTextDropTarget a  = CWXCTextDropTarget---- | Pointer to an object of type 'PrivateDropTarget', derived from 'DropTarget'.-type PrivateDropTarget a  = DropTarget (CPrivateDropTarget a)--- | Inheritance type of the PrivateDropTarget class.-type TPrivateDropTarget a  = TDropTarget (CPrivateDropTarget a)--- | Abstract type of the PrivateDropTarget class.-data CPrivateDropTarget a  = CPrivateDropTarget---- | Pointer to an object of type 'FileDropTarget', derived from 'DropTarget'.-type FileDropTarget a  = DropTarget (CFileDropTarget a)--- | Inheritance type of the FileDropTarget class.-type TFileDropTarget a  = TDropTarget (CFileDropTarget a)--- | Abstract type of the FileDropTarget class.-data CFileDropTarget a  = CFileDropTarget---- | Pointer to an object of type 'WXCFileDropTarget', derived from 'FileDropTarget'.-type WXCFileDropTarget a  = FileDropTarget (CWXCFileDropTarget a)--- | Inheritance type of the WXCFileDropTarget class.-type TWXCFileDropTarget a  = TFileDropTarget (CWXCFileDropTarget a)--- | Abstract type of the WXCFileDropTarget class.-data CWXCFileDropTarget a  = CWXCFileDropTarget---- | Pointer to an object of type 'DataObject'.-type DataObject a  = Object (CDataObject a)--- | Inheritance type of the DataObject class.-type TDataObject a  = CDataObject a--- | Abstract type of the DataObject class.-data CDataObject a  = CDataObject---- | Pointer to an object of type 'DataObjectSimple', derived from 'DataObject'.-type DataObjectSimple a  = DataObject (CDataObjectSimple a)--- | Inheritance type of the DataObjectSimple class.-type TDataObjectSimple a  = TDataObject (CDataObjectSimple a)--- | Abstract type of the DataObjectSimple class.-data CDataObjectSimple a  = CDataObjectSimple---- | Pointer to an object of type 'TextDataObject', derived from 'DataObjectSimple'.-type TextDataObject a  = DataObjectSimple (CTextDataObject a)--- | Inheritance type of the TextDataObject class.-type TTextDataObject a  = TDataObjectSimple (CTextDataObject a)--- | Abstract type of the TextDataObject class.-data CTextDataObject a  = CTextDataObject---- | Pointer to an object of type 'FileDataObject', derived from 'DataObjectSimple'.-type FileDataObject a  = DataObjectSimple (CFileDataObject a)--- | Inheritance type of the FileDataObject class.-type TFileDataObject a  = TDataObjectSimple (CFileDataObject a)--- | Abstract type of the FileDataObject class.-data CFileDataObject a  = CFileDataObject---- | Pointer to an object of type 'CustomDataObject', derived from 'DataObjectSimple'.-type CustomDataObject a  = DataObjectSimple (CCustomDataObject a)--- | Inheritance type of the CustomDataObject class.-type TCustomDataObject a  = TDataObjectSimple (CCustomDataObject a)--- | Abstract type of the CustomDataObject class.-data CCustomDataObject a  = CCustomDataObject---- | Pointer to an object of type 'BitmapDataObject', derived from 'DataObjectSimple'.-type BitmapDataObject a  = DataObjectSimple (CBitmapDataObject a)--- | Inheritance type of the BitmapDataObject class.-type TBitmapDataObject a  = TDataObjectSimple (CBitmapDataObject a)--- | Abstract type of the BitmapDataObject class.-data CBitmapDataObject a  = CBitmapDataObject---- | Pointer to an object of type 'DataObjectComposite', derived from 'DataObject'.-type DataObjectComposite a  = DataObject (CDataObjectComposite a)--- | Inheritance type of the DataObjectComposite class.-type TDataObjectComposite a  = TDataObject (CDataObjectComposite a)--- | Abstract type of the DataObjectComposite class.-data CDataObjectComposite a  = CDataObjectComposite---- | Pointer to an object of type 'TextAttr'.-type TextAttr a  = Object (CTextAttr a)--- | Inheritance type of the TextAttr class.-type TTextAttr a  = CTextAttr a--- | Abstract type of the TextAttr class.-data CTextAttr a  = CTextAttr---- | Pointer to an object of type 'TempFile'.-type TempFile a  = Object (CTempFile a)--- | Inheritance type of the TempFile class.-type TTempFile a  = CTempFile a--- | Abstract type of the TempFile class.-data CTempFile a  = CTempFile---- | Pointer to an object of type 'StringBuffer'.-type StringBuffer a  = Object (CStringBuffer a)--- | Inheritance type of the StringBuffer class.-type TStringBuffer a  = CStringBuffer a--- | Abstract type of the StringBuffer class.-data CStringBuffer a  = CStringBuffer---- | Pointer to an object of type 'WxString'.-type WxString a  = Object (CWxString a)--- | Inheritance type of the WxString class.-type TWxString a  = CWxString a--- | Abstract type of the WxString class.-data CWxString a  = CWxString---- | Pointer to an object of type 'StreamToTextRedirector'.-type StreamToTextRedirector a  = Object (CStreamToTextRedirector a)--- | Inheritance type of the StreamToTextRedirector class.-type TStreamToTextRedirector a  = CStreamToTextRedirector a--- | Abstract type of the StreamToTextRedirector class.-data CStreamToTextRedirector a  = CStreamToTextRedirector---- | Pointer to an object of type 'StreamBuffer'.-type StreamBuffer a  = Object (CStreamBuffer a)--- | Inheritance type of the StreamBuffer class.-type TStreamBuffer a  = CStreamBuffer a--- | Abstract type of the StreamBuffer class.-data CStreamBuffer a  = CStreamBuffer---- | Pointer to an object of type 'StopWatch'.-type StopWatch a  = Object (CStopWatch a)--- | Inheritance type of the StopWatch class.-type TStopWatch a  = CStopWatch a--- | Abstract type of the StopWatch class.-data CStopWatch a  = CStopWatch---- | Pointer to an object of type 'WxSize'.-type WxSize a  = Object (CWxSize a)--- | Inheritance type of the WxSize class.-type TWxSize a  = CWxSize a--- | Abstract type of the WxSize class.-data CWxSize a  = CWxSize---- | Pointer to an object of type 'SingleInstanceChecker'.-type SingleInstanceChecker a  = Object (CSingleInstanceChecker a)--- | Inheritance type of the SingleInstanceChecker class.-type TSingleInstanceChecker a  = CSingleInstanceChecker a--- | Abstract type of the SingleInstanceChecker class.-data CSingleInstanceChecker a  = CSingleInstanceChecker---- | Pointer to an object of type 'HelpProvider'.-type HelpProvider a  = Object (CHelpProvider a)--- | Inheritance type of the HelpProvider class.-type THelpProvider a  = CHelpProvider a--- | Abstract type of the HelpProvider class.-data CHelpProvider a  = CHelpProvider---- | Pointer to an object of type 'SimpleHelpProvider', derived from 'HelpProvider'.-type SimpleHelpProvider a  = HelpProvider (CSimpleHelpProvider a)--- | Inheritance type of the SimpleHelpProvider class.-type TSimpleHelpProvider a  = THelpProvider (CSimpleHelpProvider a)--- | Abstract type of the SimpleHelpProvider class.-data CSimpleHelpProvider a  = CSimpleHelpProvider---- | Pointer to an object of type 'HelpControllerHelpProvider', derived from 'SimpleHelpProvider'.-type HelpControllerHelpProvider a  = SimpleHelpProvider (CHelpControllerHelpProvider a)--- | Inheritance type of the HelpControllerHelpProvider class.-type THelpControllerHelpProvider a  = TSimpleHelpProvider (CHelpControllerHelpProvider a)--- | Abstract type of the HelpControllerHelpProvider class.-data CHelpControllerHelpProvider a  = CHelpControllerHelpProvider---- | Pointer to an object of type 'Semaphore'.-type Semaphore a  = Object (CSemaphore a)--- | Inheritance type of the Semaphore class.-type TSemaphore a  = CSemaphore a--- | Abstract type of the Semaphore class.-data CSemaphore a  = CSemaphore---- | Pointer to an object of type 'ScopedPtr'.-type ScopedPtr a  = Object (CScopedPtr a)--- | Inheritance type of the ScopedPtr class.-type TScopedPtr a  = CScopedPtr a--- | Abstract type of the ScopedPtr class.-data CScopedPtr a  = CScopedPtr---- | Pointer to an object of type 'ScopedArray'.-type ScopedArray a  = Object (CScopedArray a)--- | Inheritance type of the ScopedArray class.-type TScopedArray a  = CScopedArray a--- | Abstract type of the ScopedArray class.-data CScopedArray a  = CScopedArray---- | Pointer to an object of type 'RegEx'.-type RegEx a  = Object (CRegEx a)--- | Inheritance type of the RegEx class.-type TRegEx a  = CRegEx a--- | Abstract type of the RegEx class.-data CRegEx a  = CRegEx---- | Pointer to an object of type 'WxRect'.-type WxRect a  = Object (CWxRect a)--- | Inheritance type of the WxRect class.-type TWxRect a  = CWxRect a--- | Abstract type of the WxRect class.-data CWxRect a  = CWxRect---- | Pointer to an object of type 'RealPoint'.-type RealPoint a  = Object (CRealPoint a)--- | Inheritance type of the RealPoint class.-type TRealPoint a  = CRealPoint a--- | Abstract type of the RealPoint class.-data CRealPoint a  = CRealPoint---- | Pointer to an object of type 'WxPoint'.-type WxPoint a  = Object (CWxPoint a)--- | Inheritance type of the WxPoint class.-type TWxPoint a  = CWxPoint a--- | Abstract type of the WxPoint class.-data CWxPoint a  = CWxPoint---- | Pointer to an object of type 'ObjectRefData'.-type ObjectRefData a  = Object (CObjectRefData a)--- | Inheritance type of the ObjectRefData class.-type TObjectRefData a  = CObjectRefData a--- | Abstract type of the ObjectRefData class.-data CObjectRefData a  = CObjectRefData---- | Pointer to an object of type 'NodeBase'.-type NodeBase a  = Object (CNodeBase a)--- | Inheritance type of the NodeBase class.-type TNodeBase a  = CNodeBase a--- | Abstract type of the NodeBase class.-data CNodeBase a  = CNodeBase---- | Pointer to an object of type 'MutexLocker'.-type MutexLocker a  = Object (CMutexLocker a)--- | Inheritance type of the MutexLocker class.-type TMutexLocker a  = CMutexLocker a--- | Abstract type of the MutexLocker class.-data CMutexLocker a  = CMutexLocker---- | Pointer to an object of type 'Mutex'.-type Mutex a  = Object (CMutex a)--- | Inheritance type of the Mutex class.-type TMutex a  = CMutex a--- | Abstract type of the Mutex class.-data CMutex a  = CMutex---- | Pointer to an object of type 'MimeTypesManager'.-type MimeTypesManager a  = Object (CMimeTypesManager a)--- | Inheritance type of the MimeTypesManager class.-type TMimeTypesManager a  = CMimeTypesManager a--- | Abstract type of the MimeTypesManager class.-data CMimeTypesManager a  = CMimeTypesManager---- | Pointer to an object of type 'MBConv'.-type MBConv a  = Object (CMBConv a)--- | Inheritance type of the MBConv class.-type TMBConv a  = CMBConv a--- | Abstract type of the MBConv class.-data CMBConv a  = CMBConv---- | Pointer to an object of type 'CSConv', derived from 'MBConv'.-type CSConv a  = MBConv (CCSConv a)--- | Inheritance type of the CSConv class.-type TCSConv a  = TMBConv (CCSConv a)--- | Abstract type of the CSConv class.-data CCSConv a  = CCSConv---- | Pointer to an object of type 'MBConvFile', derived from 'MBConv'.-type MBConvFile a  = MBConv (CMBConvFile a)--- | Inheritance type of the MBConvFile class.-type TMBConvFile a  = TMBConv (CMBConvFile a)--- | Abstract type of the MBConvFile class.-data CMBConvFile a  = CMBConvFile---- | Pointer to an object of type 'MBConvUTF8', derived from 'MBConv'.-type MBConvUTF8 a  = MBConv (CMBConvUTF8 a)--- | Inheritance type of the MBConvUTF8 class.-type TMBConvUTF8 a  = TMBConv (CMBConvUTF8 a)--- | Abstract type of the MBConvUTF8 class.-data CMBConvUTF8 a  = CMBConvUTF8---- | Pointer to an object of type 'MBConvUTF7', derived from 'MBConv'.-type MBConvUTF7 a  = MBConv (CMBConvUTF7 a)--- | Inheritance type of the MBConvUTF7 class.-type TMBConvUTF7 a  = TMBConv (CMBConvUTF7 a)--- | Abstract type of the MBConvUTF7 class.-data CMBConvUTF7 a  = CMBConvUTF7---- | Pointer to an object of type 'LongLong'.-type LongLong a  = Object (CLongLong a)--- | Inheritance type of the LongLong class.-type TLongLong a  = CLongLong a--- | Abstract type of the LongLong class.-data CLongLong a  = CLongLong---- | Pointer to an object of type 'Log'.-type Log a  = Object (CLog a)--- | Inheritance type of the Log class.-type TLog a  = CLog a--- | Abstract type of the Log class.-data CLog a  = CLog---- | Pointer to an object of type 'WXCLog', derived from 'Log'.-type WXCLog a  = Log (CWXCLog a)--- | Inheritance type of the WXCLog class.-type TWXCLog a  = TLog (CWXCLog a)--- | Abstract type of the WXCLog class.-data CWXCLog a  = CWXCLog---- | Pointer to an object of type 'LogChain', derived from 'Log'.-type LogChain a  = Log (CLogChain a)--- | Inheritance type of the LogChain class.-type TLogChain a  = TLog (CLogChain a)--- | Abstract type of the LogChain class.-data CLogChain a  = CLogChain---- | Pointer to an object of type 'LogPassThrough', derived from 'LogChain'.-type LogPassThrough a  = LogChain (CLogPassThrough a)--- | Inheritance type of the LogPassThrough class.-type TLogPassThrough a  = TLogChain (CLogPassThrough a)--- | Abstract type of the LogPassThrough class.-data CLogPassThrough a  = CLogPassThrough---- | Pointer to an object of type 'LogWindow', derived from 'LogPassThrough'.-type LogWindow a  = LogPassThrough (CLogWindow a)--- | Inheritance type of the LogWindow class.-type TLogWindow a  = TLogPassThrough (CLogWindow a)--- | Abstract type of the LogWindow class.-data CLogWindow a  = CLogWindow---- | Pointer to an object of type 'LogNull', derived from 'Log'.-type LogNull a  = Log (CLogNull a)--- | Inheritance type of the LogNull class.-type TLogNull a  = TLog (CLogNull a)--- | Abstract type of the LogNull class.-data CLogNull a  = CLogNull---- | Pointer to an object of type 'LogStderr', derived from 'Log'.-type LogStderr a  = Log (CLogStderr a)--- | Inheritance type of the LogStderr class.-type TLogStderr a  = TLog (CLogStderr a)--- | Abstract type of the LogStderr class.-data CLogStderr a  = CLogStderr---- | Pointer to an object of type 'LogTextCtrl', derived from 'Log'.-type LogTextCtrl a  = Log (CLogTextCtrl a)--- | Inheritance type of the LogTextCtrl class.-type TLogTextCtrl a  = TLog (CLogTextCtrl a)--- | Abstract type of the LogTextCtrl class.-data CLogTextCtrl a  = CLogTextCtrl---- | Pointer to an object of type 'LogStream', derived from 'Log'.-type LogStream a  = Log (CLogStream a)--- | Inheritance type of the LogStream class.-type TLogStream a  = TLog (CLogStream a)--- | Abstract type of the LogStream class.-data CLogStream a  = CLogStream---- | Pointer to an object of type 'LogGUI', derived from 'Log'.-type LogGUI a  = Log (CLogGUI a)--- | Inheritance type of the LogGUI class.-type TLogGUI a  = TLog (CLogGUI a)--- | Abstract type of the LogGUI class.-data CLogGUI a  = CLogGUI---- | Pointer to an object of type 'Locale'.-type Locale a  = Object (CLocale a)--- | Inheritance type of the Locale class.-type TLocale a  = CLocale a--- | Abstract type of the Locale class.-data CLocale a  = CLocale---- | Pointer to an object of type 'WXCLocale', derived from 'Locale'.-type WXCLocale a  = Locale (CWXCLocale a)--- | Inheritance type of the WXCLocale class.-type TWXCLocale a  = TLocale (CWXCLocale a)--- | Abstract type of the WXCLocale class.-data CWXCLocale a  = CWXCLocale---- | Pointer to an object of type 'IconBundle'.-type IconBundle a  = Object (CIconBundle a)--- | Inheritance type of the IconBundle class.-type TIconBundle a  = CIconBundle a--- | Abstract type of the IconBundle class.-data CIconBundle a  = CIconBundle---- | Pointer to an object of type 'HashMap'.-type HashMap a  = Object (CHashMap a)--- | Inheritance type of the HashMap class.-type THashMap a  = CHashMap a--- | Abstract type of the HashMap class.-data CHashMap a  = CHashMap---- | Pointer to an object of type 'GridCellCoordsArray'.-type GridCellCoordsArray a  = Object (CGridCellCoordsArray a)--- | Inheritance type of the GridCellCoordsArray class.-type TGridCellCoordsArray a  = CGridCellCoordsArray a--- | Abstract type of the GridCellCoordsArray class.-data CGridCellCoordsArray a  = CGridCellCoordsArray---- | Pointer to an object of type 'GridCellAttr'.-type GridCellAttr a  = Object (CGridCellAttr a)--- | Inheritance type of the GridCellAttr class.-type TGridCellAttr a  = CGridCellAttr a--- | Abstract type of the GridCellAttr class.-data CGridCellAttr a  = CGridCellAttr---- | Pointer to an object of type 'FontMapper'.-type FontMapper a  = Object (CFontMapper a)--- | Inheritance type of the FontMapper class.-type TFontMapper a  = CFontMapper a--- | Abstract type of the FontMapper class.-data CFontMapper a  = CFontMapper---- | Pointer to an object of type 'FontEnumerator'.-type FontEnumerator a  = Object (CFontEnumerator a)--- | Inheritance type of the FontEnumerator class.-type TFontEnumerator a  = CFontEnumerator a--- | Abstract type of the FontEnumerator class.-data CFontEnumerator a  = CFontEnumerator---- | Pointer to an object of type 'FileType'.-type FileType a  = Object (CFileType a)--- | Inheritance type of the FileType class.-type TFileType a  = CFileType a--- | Abstract type of the FileType class.-data CFileType a  = CFileType---- | Pointer to an object of type 'FileName'.-type FileName a  = Object (CFileName a)--- | Inheritance type of the FileName class.-type TFileName a  = CFileName a--- | Abstract type of the FileName class.-data CFileName a  = CFileName---- | Pointer to an object of type 'FFile'.-type FFile a  = Object (CFFile a)--- | Inheritance type of the FFile class.-type TFFile a  = CFFile a--- | Abstract type of the FFile class.-data CFFile a  = CFFile---- | Pointer to an object of type 'WxExpr'.-type WxExpr a  = Object (CWxExpr a)--- | Inheritance type of the WxExpr class.-type TWxExpr a  = CWxExpr a--- | Abstract type of the WxExpr class.-data CWxExpr a  = CWxExpr---- | Pointer to an object of type 'DynamicLibrary'.-type DynamicLibrary a  = Object (CDynamicLibrary a)--- | Inheritance type of the DynamicLibrary class.-type TDynamicLibrary a  = CDynamicLibrary a--- | Abstract type of the DynamicLibrary class.-data CDynamicLibrary a  = CDynamicLibrary---- | Pointer to an object of type 'DropSource'.-type DropSource a  = Object (CDropSource a)--- | Inheritance type of the DropSource class.-type TDropSource a  = CDropSource a--- | Abstract type of the DropSource class.-data CDropSource a  = CDropSource---- | Pointer to an object of type 'WxDllLoader'.-type WxDllLoader a  = Object (CWxDllLoader a)--- | Inheritance type of the WxDllLoader class.-type TWxDllLoader a  = CWxDllLoader a--- | Abstract type of the WxDllLoader class.-data CWxDllLoader a  = CWxDllLoader---- | Pointer to an object of type 'DirTraverser'.-type DirTraverser a  = Object (CDirTraverser a)--- | Inheritance type of the DirTraverser class.-type TDirTraverser a  = CDirTraverser a--- | Abstract type of the DirTraverser class.-data CDirTraverser a  = CDirTraverser---- | Pointer to an object of type 'DialUpManager'.-type DialUpManager a  = Object (CDialUpManager a)--- | Inheritance type of the DialUpManager class.-type TDialUpManager a  = CDialUpManager a--- | Abstract type of the DialUpManager class.-data CDialUpManager a  = CDialUpManager---- | Pointer to an object of type 'DebugContext'.-type DebugContext a  = Object (CDebugContext a)--- | Inheritance type of the DebugContext class.-type TDebugContext a  = CDebugContext a--- | Abstract type of the DebugContext class.-data CDebugContext a  = CDebugContext---- | Pointer to an object of type 'DbTableInfo'.-type DbTableInfo a  = Object (CDbTableInfo a)--- | Inheritance type of the DbTableInfo class.-type TDbTableInfo a  = CDbTableInfo a--- | Abstract type of the DbTableInfo class.-data CDbTableInfo a  = CDbTableInfo---- | Pointer to an object of type 'DbTable'.-type DbTable a  = Object (CDbTable a)--- | Inheritance type of the DbTable class.-type TDbTable a  = CDbTable a--- | Abstract type of the DbTable class.-data CDbTable a  = CDbTable---- | Pointer to an object of type 'DbSqlTypeInfo'.-type DbSqlTypeInfo a  = Object (CDbSqlTypeInfo a)--- | Inheritance type of the DbSqlTypeInfo class.-type TDbSqlTypeInfo a  = CDbSqlTypeInfo a--- | Abstract type of the DbSqlTypeInfo class.-data CDbSqlTypeInfo a  = CDbSqlTypeInfo---- | Pointer to an object of type 'DbColFor'.-type DbColFor a  = Object (CDbColFor a)--- | Inheritance type of the DbColFor class.-type TDbColFor a  = CDbColFor a--- | Abstract type of the DbColFor class.-data CDbColFor a  = CDbColFor---- | Pointer to an object of type 'DbColDef'.-type DbColDef a  = Object (CDbColDef a)--- | Inheritance type of the DbColDef class.-type TDbColDef a  = CDbColDef a--- | Abstract type of the DbColDef class.-data CDbColDef a  = CDbColDef---- | Pointer to an object of type 'DateTime'.-type DateTime a  = Object (CDateTime a)--- | Inheritance type of the DateTime class.-type TDateTime a  = CDateTime a--- | Abstract type of the DateTime class.-data CDateTime a  = CDateTime---- | Pointer to an object of type 'DataOutputStream'.-type DataOutputStream a  = Object (CDataOutputStream a)--- | Inheritance type of the DataOutputStream class.-type TDataOutputStream a  = CDataOutputStream a--- | Abstract type of the DataOutputStream class.-data CDataOutputStream a  = CDataOutputStream---- | Pointer to an object of type 'DataInputStream'.-type DataInputStream a  = Object (CDataInputStream a)--- | Inheritance type of the DataInputStream class.-type TDataInputStream a  = CDataInputStream a--- | Abstract type of the DataInputStream class.-data CDataInputStream a  = CDataInputStream---- | Pointer to an object of type 'DataFormat'.-type DataFormat a  = Object (CDataFormat a)--- | Inheritance type of the DataFormat class.-type TDataFormat a  = CDataFormat a--- | Abstract type of the DataFormat class.-data CDataFormat a  = CDataFormat---- | Pointer to an object of type 'DCClipper'.-type DCClipper a  = Object (CDCClipper a)--- | Inheritance type of the DCClipper class.-type TDCClipper a  = CDCClipper a--- | Abstract type of the DCClipper class.-data CDCClipper a  = CDCClipper---- | Pointer to an object of type 'CriticalSectionLocker'.-type CriticalSectionLocker a  = Object (CCriticalSectionLocker a)--- | Inheritance type of the CriticalSectionLocker class.-type TCriticalSectionLocker a  = CCriticalSectionLocker a--- | Abstract type of the CriticalSectionLocker class.-data CCriticalSectionLocker a  = CCriticalSectionLocker---- | Pointer to an object of type 'CriticalSection'.-type CriticalSection a  = Object (CCriticalSection a)--- | Inheritance type of the CriticalSection class.-type TCriticalSection a  = CCriticalSection a--- | Abstract type of the CriticalSection class.-data CCriticalSection a  = CCriticalSection---- | Pointer to an object of type 'Condition'.-type Condition a  = Object (CCondition a)--- | Inheritance type of the Condition class.-type TCondition a  = CCondition a--- | Abstract type of the Condition class.-data CCondition a  = CCondition---- | Pointer to an object of type 'CommandLineParser'.-type CommandLineParser a  = Object (CCommandLineParser a)--- | Inheritance type of the CommandLineParser class.-type TCommandLineParser a  = CCommandLineParser a--- | Abstract type of the CommandLineParser class.-data CCommandLineParser a  = CCommandLineParser---- | Pointer to an object of type 'ClientDataContainer'.-type ClientDataContainer a  = Object (CClientDataContainer a)--- | Inheritance type of the ClientDataContainer class.-type TClientDataContainer a  = CClientDataContainer a--- | Abstract type of the ClientDataContainer class.-data CClientDataContainer a  = CClientDataContainer---- | Pointer to an object of type 'Caret'.-type Caret a  = Object (CCaret a)--- | Inheritance type of the Caret class.-type TCaret a  = CCaret a--- | Abstract type of the Caret class.-data CCaret a  = CCaret---- | Pointer to an object of type 'CalendarDateAttr'.-type CalendarDateAttr a  = Object (CCalendarDateAttr a)--- | Inheritance type of the CalendarDateAttr class.-type TCalendarDateAttr a  = CCalendarDateAttr a--- | Abstract type of the CalendarDateAttr class.-data CCalendarDateAttr a  = CCalendarDateAttr---- | Pointer to an object of type 'BusyInfo'.-type BusyInfo a  = Object (CBusyInfo a)--- | Inheritance type of the BusyInfo class.-type TBusyInfo a  = CBusyInfo a--- | Abstract type of the BusyInfo class.-data CBusyInfo a  = CBusyInfo---- | Pointer to an object of type 'BusyCursor'.-type BusyCursor a  = Object (CBusyCursor a)--- | Inheritance type of the BusyCursor class.-type TBusyCursor a  = CBusyCursor a--- | Abstract type of the BusyCursor class.-data CBusyCursor a  = CBusyCursor---- | Pointer to an object of type 'WxArray'.-type WxArray a  = Object (CWxArray a)--- | Inheritance type of the WxArray class.-type TWxArray a  = CWxArray a--- | Abstract type of the WxArray class.-data CWxArray a  = CWxArray---- | Pointer to an object of type 'ArrayString', derived from 'WxArray'.-type ArrayString a  = WxArray (CArrayString a)--- | Inheritance type of the ArrayString class.-type TArrayString a  = TWxArray (CArrayString a)--- | Abstract type of the ArrayString class.-data CArrayString a  = CArrayString---- | Pointer to an object of type 'AcceleratorTable'.-type AcceleratorTable a  = Object (CAcceleratorTable a)--- | Inheritance type of the AcceleratorTable class.-type TAcceleratorTable a  = CAcceleratorTable a--- | Abstract type of the AcceleratorTable class.-data CAcceleratorTable a  = CAcceleratorTable---- | Pointer to an object of type 'AcceleratorEntry'.-type AcceleratorEntry a  = Object (CAcceleratorEntry a)--- | Inheritance type of the AcceleratorEntry class.-type TAcceleratorEntry a  = CAcceleratorEntry a--- | Abstract type of the AcceleratorEntry class.-data CAcceleratorEntry a  = CAcceleratorEntry---- | Pointer to an object of type 'WXCMessageParameters'.-type WXCMessageParameters a  = Object (CWXCMessageParameters a)--- | Inheritance type of the WXCMessageParameters class.-type TWXCMessageParameters a  = CWXCMessageParameters a--- | Abstract type of the WXCMessageParameters class.-data CWXCMessageParameters a  = CWXCMessageParameters---- | Pointer to an object of type 'WXCDragDataObject'.-type WXCDragDataObject a  = Object (CWXCDragDataObject a)--- | Inheritance type of the WXCDragDataObject class.-type TWXCDragDataObject a  = CWXCDragDataObject a--- | Abstract type of the WXCDragDataObject class.-data CWXCDragDataObject a  = CWXCDragDataObject-+--------------------------------------------------------------------------------
+{-|
+Module      :  WxcClassTypes
+Copyright   :  Copyright (c) Daan Leijen 2003, 2004
+License     :  wxWindows
+
+Maintainer  :  wxhaskell-devel@lists.sourceforge.net
+Stability   :  provisional
+Portability :  portable
+
+Haskell class definitions for the wxWidgets C library (@wxc.dll@).
+
+Do not edit this file manually!
+This file was automatically generated by wxDirect.
+
+From the files:
+
+  * @wxc.h@
+
+And contains 574 class definitions.
+-}
+--------------------------------------------------------------------------------
+module Graphics.UI.WXCore.WxcClassTypes
+    ( -- * Classes
+     -- ** AcceleratorEntry
+      AcceleratorEntry
+     ,TAcceleratorEntry
+     ,CAcceleratorEntry(..)
+     -- ** AcceleratorTable
+     ,AcceleratorTable
+     ,TAcceleratorTable
+     ,CAcceleratorTable(..)
+     -- ** ActivateEvent
+     ,ActivateEvent
+     ,TActivateEvent
+     ,CActivateEvent(..)
+     -- ** App
+     ,App
+     ,TApp
+     ,CApp(..)
+     -- ** ArrayString
+     ,ArrayString
+     ,TArrayString
+     ,CArrayString(..)
+     -- ** ArtProvider
+     ,ArtProvider
+     ,TArtProvider
+     ,CArtProvider(..)
+     -- ** AuiDefaultTabArt
+     ,AuiDefaultTabArt
+     ,TAuiDefaultTabArt
+     ,CAuiDefaultTabArt(..)
+     -- ** AuiDefaultToolBarArt
+     ,AuiDefaultToolBarArt
+     ,TAuiDefaultToolBarArt
+     ,CAuiDefaultToolBarArt(..)
+     -- ** AuiDockArt
+     ,AuiDockArt
+     ,TAuiDockArt
+     ,CAuiDockArt(..)
+     -- ** AuiManager
+     ,AuiManager
+     ,TAuiManager
+     ,CAuiManager(..)
+     -- ** AuiManagerEvent
+     ,AuiManagerEvent
+     ,TAuiManagerEvent
+     ,CAuiManagerEvent(..)
+     -- ** AuiNotebook
+     ,AuiNotebook
+     ,TAuiNotebook
+     ,CAuiNotebook(..)
+     -- ** AuiNotebookEvent
+     ,AuiNotebookEvent
+     ,TAuiNotebookEvent
+     ,CAuiNotebookEvent(..)
+     -- ** AuiNotebookPage
+     ,AuiNotebookPage
+     ,TAuiNotebookPage
+     ,CAuiNotebookPage(..)
+     -- ** AuiNotebookPageArray
+     ,AuiNotebookPageArray
+     ,TAuiNotebookPageArray
+     ,CAuiNotebookPageArray(..)
+     -- ** AuiPaneInfo
+     ,AuiPaneInfo
+     ,TAuiPaneInfo
+     ,CAuiPaneInfo(..)
+     -- ** AuiPaneInfoArray
+     ,AuiPaneInfoArray
+     ,TAuiPaneInfoArray
+     ,CAuiPaneInfoArray(..)
+     -- ** AuiSimpleTabArt
+     ,AuiSimpleTabArt
+     ,TAuiSimpleTabArt
+     ,CAuiSimpleTabArt(..)
+     -- ** AuiTabArt
+     ,AuiTabArt
+     ,TAuiTabArt
+     ,CAuiTabArt(..)
+     -- ** AuiTabContainer
+     ,AuiTabContainer
+     ,TAuiTabContainer
+     ,CAuiTabContainer(..)
+     -- ** AuiTabContainerButton
+     ,AuiTabContainerButton
+     ,TAuiTabContainerButton
+     ,CAuiTabContainerButton(..)
+     -- ** AuiTabCtrl
+     ,AuiTabCtrl
+     ,TAuiTabCtrl
+     ,CAuiTabCtrl(..)
+     -- ** AuiToolBar
+     ,AuiToolBar
+     ,TAuiToolBar
+     ,CAuiToolBar(..)
+     -- ** AuiToolBarArt
+     ,AuiToolBarArt
+     ,TAuiToolBarArt
+     ,CAuiToolBarArt(..)
+     -- ** AuiToolBarEvent
+     ,AuiToolBarEvent
+     ,TAuiToolBarEvent
+     ,CAuiToolBarEvent(..)
+     -- ** AuiToolBarItem
+     ,AuiToolBarItem
+     ,TAuiToolBarItem
+     ,CAuiToolBarItem(..)
+     -- ** AuiToolBarItemArray
+     ,AuiToolBarItemArray
+     ,TAuiToolBarItemArray
+     ,CAuiToolBarItemArray(..)
+     -- ** AutoBufferedPaintDC
+     ,AutoBufferedPaintDC
+     ,TAutoBufferedPaintDC
+     ,CAutoBufferedPaintDC(..)
+     -- ** AutomationObject
+     ,AutomationObject
+     ,TAutomationObject
+     ,CAutomationObject(..)
+     -- ** Bitmap
+     ,Bitmap
+     ,TBitmap
+     ,CBitmap(..)
+     -- ** BitmapButton
+     ,BitmapButton
+     ,TBitmapButton
+     ,CBitmapButton(..)
+     -- ** BitmapDataObject
+     ,BitmapDataObject
+     ,TBitmapDataObject
+     ,CBitmapDataObject(..)
+     -- ** BitmapHandler
+     ,BitmapHandler
+     ,TBitmapHandler
+     ,CBitmapHandler(..)
+     -- ** BitmapToggleButton
+     ,BitmapToggleButton
+     ,TBitmapToggleButton
+     ,CBitmapToggleButton(..)
+     -- ** BookCtrlBase
+     ,BookCtrlBase
+     ,TBookCtrlBase
+     ,CBookCtrlBase(..)
+     -- ** BookCtrlEvent
+     ,BookCtrlEvent
+     ,TBookCtrlEvent
+     ,CBookCtrlEvent(..)
+     -- ** BoolProperty
+     ,BoolProperty
+     ,TBoolProperty
+     ,CBoolProperty(..)
+     -- ** BoxSizer
+     ,BoxSizer
+     ,TBoxSizer
+     ,CBoxSizer(..)
+     -- ** Brush
+     ,Brush
+     ,TBrush
+     ,CBrush(..)
+     -- ** BrushList
+     ,BrushList
+     ,TBrushList
+     ,CBrushList(..)
+     -- ** BufferedDC
+     ,BufferedDC
+     ,TBufferedDC
+     ,CBufferedDC(..)
+     -- ** BufferedInputStream
+     ,BufferedInputStream
+     ,TBufferedInputStream
+     ,CBufferedInputStream(..)
+     -- ** BufferedOutputStream
+     ,BufferedOutputStream
+     ,TBufferedOutputStream
+     ,CBufferedOutputStream(..)
+     -- ** BufferedPaintDC
+     ,BufferedPaintDC
+     ,TBufferedPaintDC
+     ,CBufferedPaintDC(..)
+     -- ** BusyCursor
+     ,BusyCursor
+     ,TBusyCursor
+     ,CBusyCursor(..)
+     -- ** BusyInfo
+     ,BusyInfo
+     ,TBusyInfo
+     ,CBusyInfo(..)
+     -- ** Button
+     ,Button
+     ,TButton
+     ,CButton(..)
+     -- ** CSConv
+     ,CSConv
+     ,TCSConv
+     ,CCSConv(..)
+     -- ** CalculateLayoutEvent
+     ,CalculateLayoutEvent
+     ,TCalculateLayoutEvent
+     ,CCalculateLayoutEvent(..)
+     -- ** CalendarCtrl
+     ,CalendarCtrl
+     ,TCalendarCtrl
+     ,CCalendarCtrl(..)
+     -- ** CalendarDateAttr
+     ,CalendarDateAttr
+     ,TCalendarDateAttr
+     ,CCalendarDateAttr(..)
+     -- ** CalendarEvent
+     ,CalendarEvent
+     ,TCalendarEvent
+     ,CCalendarEvent(..)
+     -- ** Caret
+     ,Caret
+     ,TCaret
+     ,CCaret(..)
+     -- ** CbAntiflickerPlugin
+     ,CbAntiflickerPlugin
+     ,TCbAntiflickerPlugin
+     ,CCbAntiflickerPlugin(..)
+     -- ** CbBarDragPlugin
+     ,CbBarDragPlugin
+     ,TCbBarDragPlugin
+     ,CCbBarDragPlugin(..)
+     -- ** CbBarHintsPlugin
+     ,CbBarHintsPlugin
+     ,TCbBarHintsPlugin
+     ,CCbBarHintsPlugin(..)
+     -- ** CbBarInfo
+     ,CbBarInfo
+     ,TCbBarInfo
+     ,CCbBarInfo(..)
+     -- ** CbBarSpy
+     ,CbBarSpy
+     ,TCbBarSpy
+     ,CCbBarSpy(..)
+     -- ** CbCloseBox
+     ,CbCloseBox
+     ,TCbCloseBox
+     ,CCbCloseBox(..)
+     -- ** CbCollapseBox
+     ,CbCollapseBox
+     ,TCbCollapseBox
+     ,CCbCollapseBox(..)
+     -- ** CbCommonPaneProperties
+     ,CbCommonPaneProperties
+     ,TCbCommonPaneProperties
+     ,CCbCommonPaneProperties(..)
+     -- ** CbCustomizeBarEvent
+     ,CbCustomizeBarEvent
+     ,TCbCustomizeBarEvent
+     ,CCbCustomizeBarEvent(..)
+     -- ** CbCustomizeLayoutEvent
+     ,CbCustomizeLayoutEvent
+     ,TCbCustomizeLayoutEvent
+     ,CCbCustomizeLayoutEvent(..)
+     -- ** CbDimHandlerBase
+     ,CbDimHandlerBase
+     ,TCbDimHandlerBase
+     ,CCbDimHandlerBase(..)
+     -- ** CbDimInfo
+     ,CbDimInfo
+     ,TCbDimInfo
+     ,CCbDimInfo(..)
+     -- ** CbDockBox
+     ,CbDockBox
+     ,TCbDockBox
+     ,CCbDockBox(..)
+     -- ** CbDockPane
+     ,CbDockPane
+     ,TCbDockPane
+     ,CCbDockPane(..)
+     -- ** CbDrawBarDecorEvent
+     ,CbDrawBarDecorEvent
+     ,TCbDrawBarDecorEvent
+     ,CCbDrawBarDecorEvent(..)
+     -- ** CbDrawBarHandlesEvent
+     ,CbDrawBarHandlesEvent
+     ,TCbDrawBarHandlesEvent
+     ,CCbDrawBarHandlesEvent(..)
+     -- ** CbDrawHintRectEvent
+     ,CbDrawHintRectEvent
+     ,TCbDrawHintRectEvent
+     ,CCbDrawHintRectEvent(..)
+     -- ** CbDrawPaneBkGroundEvent
+     ,CbDrawPaneBkGroundEvent
+     ,TCbDrawPaneBkGroundEvent
+     ,CCbDrawPaneBkGroundEvent(..)
+     -- ** CbDrawPaneDecorEvent
+     ,CbDrawPaneDecorEvent
+     ,TCbDrawPaneDecorEvent
+     ,CCbDrawPaneDecorEvent(..)
+     -- ** CbDrawRowBkGroundEvent
+     ,CbDrawRowBkGroundEvent
+     ,TCbDrawRowBkGroundEvent
+     ,CCbDrawRowBkGroundEvent(..)
+     -- ** CbDrawRowDecorEvent
+     ,CbDrawRowDecorEvent
+     ,TCbDrawRowDecorEvent
+     ,CCbDrawRowDecorEvent(..)
+     -- ** CbDrawRowHandlesEvent
+     ,CbDrawRowHandlesEvent
+     ,TCbDrawRowHandlesEvent
+     ,CCbDrawRowHandlesEvent(..)
+     -- ** CbDynToolBarDimHandler
+     ,CbDynToolBarDimHandler
+     ,TCbDynToolBarDimHandler
+     ,CCbDynToolBarDimHandler(..)
+     -- ** CbFinishDrawInAreaEvent
+     ,CbFinishDrawInAreaEvent
+     ,TCbFinishDrawInAreaEvent
+     ,CCbFinishDrawInAreaEvent(..)
+     -- ** CbFloatedBarWindow
+     ,CbFloatedBarWindow
+     ,TCbFloatedBarWindow
+     ,CCbFloatedBarWindow(..)
+     -- ** CbGCUpdatesMgr
+     ,CbGCUpdatesMgr
+     ,TCbGCUpdatesMgr
+     ,CCbGCUpdatesMgr(..)
+     -- ** CbHintAnimationPlugin
+     ,CbHintAnimationPlugin
+     ,TCbHintAnimationPlugin
+     ,CCbHintAnimationPlugin(..)
+     -- ** CbInsertBarEvent
+     ,CbInsertBarEvent
+     ,TCbInsertBarEvent
+     ,CCbInsertBarEvent(..)
+     -- ** CbLayoutRowEvent
+     ,CbLayoutRowEvent
+     ,TCbLayoutRowEvent
+     ,CCbLayoutRowEvent(..)
+     -- ** CbLeftDClickEvent
+     ,CbLeftDClickEvent
+     ,TCbLeftDClickEvent
+     ,CCbLeftDClickEvent(..)
+     -- ** CbLeftDownEvent
+     ,CbLeftDownEvent
+     ,TCbLeftDownEvent
+     ,CCbLeftDownEvent(..)
+     -- ** CbLeftUpEvent
+     ,CbLeftUpEvent
+     ,TCbLeftUpEvent
+     ,CCbLeftUpEvent(..)
+     -- ** CbMiniButton
+     ,CbMiniButton
+     ,TCbMiniButton
+     ,CCbMiniButton(..)
+     -- ** CbMotionEvent
+     ,CbMotionEvent
+     ,TCbMotionEvent
+     ,CCbMotionEvent(..)
+     -- ** CbPaneDrawPlugin
+     ,CbPaneDrawPlugin
+     ,TCbPaneDrawPlugin
+     ,CCbPaneDrawPlugin(..)
+     -- ** CbPluginBase
+     ,CbPluginBase
+     ,TCbPluginBase
+     ,CCbPluginBase(..)
+     -- ** CbPluginEvent
+     ,CbPluginEvent
+     ,TCbPluginEvent
+     ,CCbPluginEvent(..)
+     -- ** CbRemoveBarEvent
+     ,CbRemoveBarEvent
+     ,TCbRemoveBarEvent
+     ,CCbRemoveBarEvent(..)
+     -- ** CbResizeBarEvent
+     ,CbResizeBarEvent
+     ,TCbResizeBarEvent
+     ,CCbResizeBarEvent(..)
+     -- ** CbResizeRowEvent
+     ,CbResizeRowEvent
+     ,TCbResizeRowEvent
+     ,CCbResizeRowEvent(..)
+     -- ** CbRightDownEvent
+     ,CbRightDownEvent
+     ,TCbRightDownEvent
+     ,CCbRightDownEvent(..)
+     -- ** CbRightUpEvent
+     ,CbRightUpEvent
+     ,TCbRightUpEvent
+     ,CCbRightUpEvent(..)
+     -- ** CbRowDragPlugin
+     ,CbRowDragPlugin
+     ,TCbRowDragPlugin
+     ,CCbRowDragPlugin(..)
+     -- ** CbRowInfo
+     ,CbRowInfo
+     ,TCbRowInfo
+     ,CCbRowInfo(..)
+     -- ** CbRowLayoutPlugin
+     ,CbRowLayoutPlugin
+     ,TCbRowLayoutPlugin
+     ,CCbRowLayoutPlugin(..)
+     -- ** CbSimpleCustomizationPlugin
+     ,CbSimpleCustomizationPlugin
+     ,TCbSimpleCustomizationPlugin
+     ,CCbSimpleCustomizationPlugin(..)
+     -- ** CbSimpleUpdatesMgr
+     ,CbSimpleUpdatesMgr
+     ,TCbSimpleUpdatesMgr
+     ,CCbSimpleUpdatesMgr(..)
+     -- ** CbSizeBarWndEvent
+     ,CbSizeBarWndEvent
+     ,TCbSizeBarWndEvent
+     ,CCbSizeBarWndEvent(..)
+     -- ** CbStartBarDraggingEvent
+     ,CbStartBarDraggingEvent
+     ,TCbStartBarDraggingEvent
+     ,CCbStartBarDraggingEvent(..)
+     -- ** CbStartDrawInAreaEvent
+     ,CbStartDrawInAreaEvent
+     ,TCbStartDrawInAreaEvent
+     ,CCbStartDrawInAreaEvent(..)
+     -- ** CbUpdatesManagerBase
+     ,CbUpdatesManagerBase
+     ,TCbUpdatesManagerBase
+     ,CCbUpdatesManagerBase(..)
+     -- ** CheckBox
+     ,CheckBox
+     ,TCheckBox
+     ,CCheckBox(..)
+     -- ** CheckListBox
+     ,CheckListBox
+     ,TCheckListBox
+     ,CCheckListBox(..)
+     -- ** Choice
+     ,Choice
+     ,TChoice
+     ,CChoice(..)
+     -- ** ClassInfo
+     ,ClassInfo
+     ,TClassInfo
+     ,CClassInfo(..)
+     -- ** Client
+     ,Client
+     ,TClient
+     ,CClient(..)
+     -- ** ClientBase
+     ,ClientBase
+     ,TClientBase
+     ,CClientBase(..)
+     -- ** ClientDC
+     ,ClientDC
+     ,TClientDC
+     ,CClientDC(..)
+     -- ** ClientData
+     ,ClientData
+     ,TClientData
+     ,CClientData(..)
+     -- ** ClientDataContainer
+     ,ClientDataContainer
+     ,TClientDataContainer
+     ,CClientDataContainer(..)
+     -- ** Clipboard
+     ,Clipboard
+     ,TClipboard
+     ,CClipboard(..)
+     -- ** CloseEvent
+     ,CloseEvent
+     ,TCloseEvent
+     ,CCloseEvent(..)
+     -- ** Closure
+     ,Closure
+     ,TClosure
+     ,CClosure(..)
+     -- ** Colour
+     ,Colour
+     ,TColour
+     ,CColour(..)
+     -- ** ColourData
+     ,ColourData
+     ,TColourData
+     ,CColourData(..)
+     -- ** ColourDatabase
+     ,ColourDatabase
+     ,TColourDatabase
+     ,CColourDatabase(..)
+     -- ** ColourDialog
+     ,ColourDialog
+     ,TColourDialog
+     ,CColourDialog(..)
+     -- ** ColourPickerCtrl
+     ,ColourPickerCtrl
+     ,TColourPickerCtrl
+     ,CColourPickerCtrl(..)
+     -- ** ComboBox
+     ,ComboBox
+     ,TComboBox
+     ,CComboBox(..)
+     -- ** Command
+     ,Command
+     ,TCommand
+     ,CCommand(..)
+     -- ** CommandEvent
+     ,CommandEvent
+     ,TCommandEvent
+     ,CCommandEvent(..)
+     -- ** CommandLineParser
+     ,CommandLineParser
+     ,TCommandLineParser
+     ,CCommandLineParser(..)
+     -- ** CommandProcessor
+     ,CommandProcessor
+     ,TCommandProcessor
+     ,CCommandProcessor(..)
+     -- ** Condition
+     ,Condition
+     ,TCondition
+     ,CCondition(..)
+     -- ** ConfigBase
+     ,ConfigBase
+     ,TConfigBase
+     ,CConfigBase(..)
+     -- ** Connection
+     ,Connection
+     ,TConnection
+     ,CConnection(..)
+     -- ** ConnectionBase
+     ,ConnectionBase
+     ,TConnectionBase
+     ,CConnectionBase(..)
+     -- ** ContextHelp
+     ,ContextHelp
+     ,TContextHelp
+     ,CContextHelp(..)
+     -- ** ContextHelpButton
+     ,ContextHelpButton
+     ,TContextHelpButton
+     ,CContextHelpButton(..)
+     -- ** Control
+     ,Control
+     ,TControl
+     ,CControl(..)
+     -- ** CountingOutputStream
+     ,CountingOutputStream
+     ,TCountingOutputStream
+     ,CCountingOutputStream(..)
+     -- ** CriticalSection
+     ,CriticalSection
+     ,TCriticalSection
+     ,CCriticalSection(..)
+     -- ** CriticalSectionLocker
+     ,CriticalSectionLocker
+     ,TCriticalSectionLocker
+     ,CCriticalSectionLocker(..)
+     -- ** Cursor
+     ,Cursor
+     ,TCursor
+     ,CCursor(..)
+     -- ** CustomDataObject
+     ,CustomDataObject
+     ,TCustomDataObject
+     ,CCustomDataObject(..)
+     -- ** DC
+     ,DC
+     ,TDC
+     ,CDC(..)
+     -- ** DCClipper
+     ,DCClipper
+     ,TDCClipper
+     ,CDCClipper(..)
+     -- ** DDEClient
+     ,DDEClient
+     ,TDDEClient
+     ,CDDEClient(..)
+     -- ** DDEConnection
+     ,DDEConnection
+     ,TDDEConnection
+     ,CDDEConnection(..)
+     -- ** DDEServer
+     ,DDEServer
+     ,TDDEServer
+     ,CDDEServer(..)
+     -- ** DataFormat
+     ,DataFormat
+     ,TDataFormat
+     ,CDataFormat(..)
+     -- ** DataInputStream
+     ,DataInputStream
+     ,TDataInputStream
+     ,CDataInputStream(..)
+     -- ** DataObject
+     ,DataObject
+     ,TDataObject
+     ,CDataObject(..)
+     -- ** DataObjectComposite
+     ,DataObjectComposite
+     ,TDataObjectComposite
+     ,CDataObjectComposite(..)
+     -- ** DataObjectSimple
+     ,DataObjectSimple
+     ,TDataObjectSimple
+     ,CDataObjectSimple(..)
+     -- ** DataOutputStream
+     ,DataOutputStream
+     ,TDataOutputStream
+     ,CDataOutputStream(..)
+     -- ** Database
+     ,Database
+     ,TDatabase
+     ,CDatabase(..)
+     -- ** DateProperty
+     ,DateProperty
+     ,TDateProperty
+     ,CDateProperty(..)
+     -- ** DateTime
+     ,DateTime
+     ,TDateTime
+     ,CDateTime(..)
+     -- ** Db
+     ,Db
+     ,TDb
+     ,CDb(..)
+     -- ** DbColDef
+     ,DbColDef
+     ,TDbColDef
+     ,CDbColDef(..)
+     -- ** DbColFor
+     ,DbColFor
+     ,TDbColFor
+     ,CDbColFor(..)
+     -- ** DbColInf
+     ,DbColInf
+     ,TDbColInf
+     ,CDbColInf(..)
+     -- ** DbConnectInf
+     ,DbConnectInf
+     ,TDbConnectInf
+     ,CDbConnectInf(..)
+     -- ** DbInf
+     ,DbInf
+     ,TDbInf
+     ,CDbInf(..)
+     -- ** DbSqlTypeInfo
+     ,DbSqlTypeInfo
+     ,TDbSqlTypeInfo
+     ,CDbSqlTypeInfo(..)
+     -- ** DbTable
+     ,DbTable
+     ,TDbTable
+     ,CDbTable(..)
+     -- ** DbTableInfo
+     ,DbTableInfo
+     ,TDbTableInfo
+     ,CDbTableInfo(..)
+     -- ** DebugContext
+     ,DebugContext
+     ,TDebugContext
+     ,CDebugContext(..)
+     -- ** DialUpEvent
+     ,DialUpEvent
+     ,TDialUpEvent
+     ,CDialUpEvent(..)
+     -- ** DialUpManager
+     ,DialUpManager
+     ,TDialUpManager
+     ,CDialUpManager(..)
+     -- ** Dialog
+     ,Dialog
+     ,TDialog
+     ,CDialog(..)
+     -- ** DirDialog
+     ,DirDialog
+     ,TDirDialog
+     ,CDirDialog(..)
+     -- ** DirTraverser
+     ,DirTraverser
+     ,TDirTraverser
+     ,CDirTraverser(..)
+     -- ** DocChildFrame
+     ,DocChildFrame
+     ,TDocChildFrame
+     ,CDocChildFrame(..)
+     -- ** DocMDIChildFrame
+     ,DocMDIChildFrame
+     ,TDocMDIChildFrame
+     ,CDocMDIChildFrame(..)
+     -- ** DocMDIParentFrame
+     ,DocMDIParentFrame
+     ,TDocMDIParentFrame
+     ,CDocMDIParentFrame(..)
+     -- ** DocManager
+     ,DocManager
+     ,TDocManager
+     ,CDocManager(..)
+     -- ** DocParentFrame
+     ,DocParentFrame
+     ,TDocParentFrame
+     ,CDocParentFrame(..)
+     -- ** DocTemplate
+     ,DocTemplate
+     ,TDocTemplate
+     ,CDocTemplate(..)
+     -- ** Document
+     ,Document
+     ,TDocument
+     ,CDocument(..)
+     -- ** DragImage
+     ,DragImage
+     ,TDragImage
+     ,CDragImage(..)
+     -- ** DrawControl
+     ,DrawControl
+     ,TDrawControl
+     ,CDrawControl(..)
+     -- ** DrawWindow
+     ,DrawWindow
+     ,TDrawWindow
+     ,CDrawWindow(..)
+     -- ** DropFilesEvent
+     ,DropFilesEvent
+     ,TDropFilesEvent
+     ,CDropFilesEvent(..)
+     -- ** DropSource
+     ,DropSource
+     ,TDropSource
+     ,CDropSource(..)
+     -- ** DropTarget
+     ,DropTarget
+     ,TDropTarget
+     ,CDropTarget(..)
+     -- ** DynToolInfo
+     ,DynToolInfo
+     ,TDynToolInfo
+     ,CDynToolInfo(..)
+     -- ** DynamicLibrary
+     ,DynamicLibrary
+     ,TDynamicLibrary
+     ,CDynamicLibrary(..)
+     -- ** DynamicSashWindow
+     ,DynamicSashWindow
+     ,TDynamicSashWindow
+     ,CDynamicSashWindow(..)
+     -- ** DynamicToolBar
+     ,DynamicToolBar
+     ,TDynamicToolBar
+     ,CDynamicToolBar(..)
+     -- ** EditableListBox
+     ,EditableListBox
+     ,TEditableListBox
+     ,CEditableListBox(..)
+     -- ** EncodingConverter
+     ,EncodingConverter
+     ,TEncodingConverter
+     ,CEncodingConverter(..)
+     -- ** EraseEvent
+     ,EraseEvent
+     ,TEraseEvent
+     ,CEraseEvent(..)
+     -- ** Event
+     ,Event
+     ,TEvent
+     ,CEvent(..)
+     -- ** EvtHandler
+     ,EvtHandler
+     ,TEvtHandler
+     ,CEvtHandler(..)
+     -- ** ExprDatabase
+     ,ExprDatabase
+     ,TExprDatabase
+     ,CExprDatabase(..)
+     -- ** FFile
+     ,FFile
+     ,TFFile
+     ,CFFile(..)
+     -- ** FFileInputStream
+     ,FFileInputStream
+     ,TFFileInputStream
+     ,CFFileInputStream(..)
+     -- ** FFileOutputStream
+     ,FFileOutputStream
+     ,TFFileOutputStream
+     ,CFFileOutputStream(..)
+     -- ** FSFile
+     ,FSFile
+     ,TFSFile
+     ,CFSFile(..)
+     -- ** FTP
+     ,FTP
+     ,TFTP
+     ,CFTP(..)
+     -- ** FileConfig
+     ,FileConfig
+     ,TFileConfig
+     ,CFileConfig(..)
+     -- ** FileDataObject
+     ,FileDataObject
+     ,TFileDataObject
+     ,CFileDataObject(..)
+     -- ** FileDialog
+     ,FileDialog
+     ,TFileDialog
+     ,CFileDialog(..)
+     -- ** FileDropTarget
+     ,FileDropTarget
+     ,TFileDropTarget
+     ,CFileDropTarget(..)
+     -- ** FileHistory
+     ,FileHistory
+     ,TFileHistory
+     ,CFileHistory(..)
+     -- ** FileInputStream
+     ,FileInputStream
+     ,TFileInputStream
+     ,CFileInputStream(..)
+     -- ** FileName
+     ,FileName
+     ,TFileName
+     ,CFileName(..)
+     -- ** FileOutputStream
+     ,FileOutputStream
+     ,TFileOutputStream
+     ,CFileOutputStream(..)
+     -- ** FileProperty
+     ,FileProperty
+     ,TFileProperty
+     ,CFileProperty(..)
+     -- ** FileSystem
+     ,FileSystem
+     ,TFileSystem
+     ,CFileSystem(..)
+     -- ** FileSystemHandler
+     ,FileSystemHandler
+     ,TFileSystemHandler
+     ,CFileSystemHandler(..)
+     -- ** FileType
+     ,FileType
+     ,TFileType
+     ,CFileType(..)
+     -- ** FilterInputStream
+     ,FilterInputStream
+     ,TFilterInputStream
+     ,CFilterInputStream(..)
+     -- ** FilterOutputStream
+     ,FilterOutputStream
+     ,TFilterOutputStream
+     ,CFilterOutputStream(..)
+     -- ** FindDialogEvent
+     ,FindDialogEvent
+     ,TFindDialogEvent
+     ,CFindDialogEvent(..)
+     -- ** FindReplaceData
+     ,FindReplaceData
+     ,TFindReplaceData
+     ,CFindReplaceData(..)
+     -- ** FindReplaceDialog
+     ,FindReplaceDialog
+     ,TFindReplaceDialog
+     ,CFindReplaceDialog(..)
+     -- ** FlexGridSizer
+     ,FlexGridSizer
+     ,TFlexGridSizer
+     ,CFlexGridSizer(..)
+     -- ** FloatProperty
+     ,FloatProperty
+     ,TFloatProperty
+     ,CFloatProperty(..)
+     -- ** FocusEvent
+     ,FocusEvent
+     ,TFocusEvent
+     ,CFocusEvent(..)
+     -- ** Font
+     ,Font
+     ,TFont
+     ,CFont(..)
+     -- ** FontData
+     ,FontData
+     ,TFontData
+     ,CFontData(..)
+     -- ** FontDialog
+     ,FontDialog
+     ,TFontDialog
+     ,CFontDialog(..)
+     -- ** FontEnumerator
+     ,FontEnumerator
+     ,TFontEnumerator
+     ,CFontEnumerator(..)
+     -- ** FontList
+     ,FontList
+     ,TFontList
+     ,CFontList(..)
+     -- ** FontMapper
+     ,FontMapper
+     ,TFontMapper
+     ,CFontMapper(..)
+     -- ** Frame
+     ,Frame
+     ,TFrame
+     ,CFrame(..)
+     -- ** FrameLayout
+     ,FrameLayout
+     ,TFrameLayout
+     ,CFrameLayout(..)
+     -- ** GCDC
+     ,GCDC
+     ,TGCDC
+     ,CGCDC(..)
+     -- ** GDIObject
+     ,GDIObject
+     ,TGDIObject
+     ,CGDIObject(..)
+     -- ** GLCanvas
+     ,GLCanvas
+     ,TGLCanvas
+     ,CGLCanvas(..)
+     -- ** GLContext
+     ,GLContext
+     ,TGLContext
+     ,CGLContext(..)
+     -- ** Gauge
+     ,Gauge
+     ,TGauge
+     ,CGauge(..)
+     -- ** Gauge95
+     ,Gauge95
+     ,TGauge95
+     ,CGauge95(..)
+     -- ** GaugeMSW
+     ,GaugeMSW
+     ,TGaugeMSW
+     ,CGaugeMSW(..)
+     -- ** GenericDirCtrl
+     ,GenericDirCtrl
+     ,TGenericDirCtrl
+     ,CGenericDirCtrl(..)
+     -- ** GenericDragImage
+     ,GenericDragImage
+     ,TGenericDragImage
+     ,CGenericDragImage(..)
+     -- ** GenericValidator
+     ,GenericValidator
+     ,TGenericValidator
+     ,CGenericValidator(..)
+     -- ** GraphicsBrush
+     ,GraphicsBrush
+     ,TGraphicsBrush
+     ,CGraphicsBrush(..)
+     -- ** GraphicsContext
+     ,GraphicsContext
+     ,TGraphicsContext
+     ,CGraphicsContext(..)
+     -- ** GraphicsFont
+     ,GraphicsFont
+     ,TGraphicsFont
+     ,CGraphicsFont(..)
+     -- ** GraphicsMatrix
+     ,GraphicsMatrix
+     ,TGraphicsMatrix
+     ,CGraphicsMatrix(..)
+     -- ** GraphicsObject
+     ,GraphicsObject
+     ,TGraphicsObject
+     ,CGraphicsObject(..)
+     -- ** GraphicsPath
+     ,GraphicsPath
+     ,TGraphicsPath
+     ,CGraphicsPath(..)
+     -- ** GraphicsPen
+     ,GraphicsPen
+     ,TGraphicsPen
+     ,CGraphicsPen(..)
+     -- ** GraphicsRenderer
+     ,GraphicsRenderer
+     ,TGraphicsRenderer
+     ,CGraphicsRenderer(..)
+     -- ** Grid
+     ,Grid
+     ,TGrid
+     ,CGrid(..)
+     -- ** GridCellAttr
+     ,GridCellAttr
+     ,TGridCellAttr
+     ,CGridCellAttr(..)
+     -- ** GridCellAutoWrapStringRenderer
+     ,GridCellAutoWrapStringRenderer
+     ,TGridCellAutoWrapStringRenderer
+     ,CGridCellAutoWrapStringRenderer(..)
+     -- ** GridCellBoolEditor
+     ,GridCellBoolEditor
+     ,TGridCellBoolEditor
+     ,CGridCellBoolEditor(..)
+     -- ** GridCellBoolRenderer
+     ,GridCellBoolRenderer
+     ,TGridCellBoolRenderer
+     ,CGridCellBoolRenderer(..)
+     -- ** GridCellChoiceEditor
+     ,GridCellChoiceEditor
+     ,TGridCellChoiceEditor
+     ,CGridCellChoiceEditor(..)
+     -- ** GridCellCoordsArray
+     ,GridCellCoordsArray
+     ,TGridCellCoordsArray
+     ,CGridCellCoordsArray(..)
+     -- ** GridCellEditor
+     ,GridCellEditor
+     ,TGridCellEditor
+     ,CGridCellEditor(..)
+     -- ** GridCellFloatEditor
+     ,GridCellFloatEditor
+     ,TGridCellFloatEditor
+     ,CGridCellFloatEditor(..)
+     -- ** GridCellFloatRenderer
+     ,GridCellFloatRenderer
+     ,TGridCellFloatRenderer
+     ,CGridCellFloatRenderer(..)
+     -- ** GridCellNumberEditor
+     ,GridCellNumberEditor
+     ,TGridCellNumberEditor
+     ,CGridCellNumberEditor(..)
+     -- ** GridCellNumberRenderer
+     ,GridCellNumberRenderer
+     ,TGridCellNumberRenderer
+     ,CGridCellNumberRenderer(..)
+     -- ** GridCellRenderer
+     ,GridCellRenderer
+     ,TGridCellRenderer
+     ,CGridCellRenderer(..)
+     -- ** GridCellStringRenderer
+     ,GridCellStringRenderer
+     ,TGridCellStringRenderer
+     ,CGridCellStringRenderer(..)
+     -- ** GridCellTextEditor
+     ,GridCellTextEditor
+     ,TGridCellTextEditor
+     ,CGridCellTextEditor(..)
+     -- ** GridCellTextEnterEditor
+     ,GridCellTextEnterEditor
+     ,TGridCellTextEnterEditor
+     ,CGridCellTextEnterEditor(..)
+     -- ** GridCellWorker
+     ,GridCellWorker
+     ,TGridCellWorker
+     ,CGridCellWorker(..)
+     -- ** GridEditorCreatedEvent
+     ,GridEditorCreatedEvent
+     ,TGridEditorCreatedEvent
+     ,CGridEditorCreatedEvent(..)
+     -- ** GridEvent
+     ,GridEvent
+     ,TGridEvent
+     ,CGridEvent(..)
+     -- ** GridRangeSelectEvent
+     ,GridRangeSelectEvent
+     ,TGridRangeSelectEvent
+     ,CGridRangeSelectEvent(..)
+     -- ** GridSizeEvent
+     ,GridSizeEvent
+     ,TGridSizeEvent
+     ,CGridSizeEvent(..)
+     -- ** GridSizer
+     ,GridSizer
+     ,TGridSizer
+     ,CGridSizer(..)
+     -- ** GridTableBase
+     ,GridTableBase
+     ,TGridTableBase
+     ,CGridTableBase(..)
+     -- ** HTTP
+     ,HTTP
+     ,THTTP
+     ,CHTTP(..)
+     -- ** HashMap
+     ,HashMap
+     ,THashMap
+     ,CHashMap(..)
+     -- ** HelpController
+     ,HelpController
+     ,THelpController
+     ,CHelpController(..)
+     -- ** HelpControllerBase
+     ,HelpControllerBase
+     ,THelpControllerBase
+     ,CHelpControllerBase(..)
+     -- ** HelpControllerHelpProvider
+     ,HelpControllerHelpProvider
+     ,THelpControllerHelpProvider
+     ,CHelpControllerHelpProvider(..)
+     -- ** HelpEvent
+     ,HelpEvent
+     ,THelpEvent
+     ,CHelpEvent(..)
+     -- ** HelpProvider
+     ,HelpProvider
+     ,THelpProvider
+     ,CHelpProvider(..)
+     -- ** HtmlCell
+     ,HtmlCell
+     ,THtmlCell
+     ,CHtmlCell(..)
+     -- ** HtmlColourCell
+     ,HtmlColourCell
+     ,THtmlColourCell
+     ,CHtmlColourCell(..)
+     -- ** HtmlContainerCell
+     ,HtmlContainerCell
+     ,THtmlContainerCell
+     ,CHtmlContainerCell(..)
+     -- ** HtmlDCRenderer
+     ,HtmlDCRenderer
+     ,THtmlDCRenderer
+     ,CHtmlDCRenderer(..)
+     -- ** HtmlEasyPrinting
+     ,HtmlEasyPrinting
+     ,THtmlEasyPrinting
+     ,CHtmlEasyPrinting(..)
+     -- ** HtmlFilter
+     ,HtmlFilter
+     ,THtmlFilter
+     ,CHtmlFilter(..)
+     -- ** HtmlHelpController
+     ,HtmlHelpController
+     ,THtmlHelpController
+     ,CHtmlHelpController(..)
+     -- ** HtmlHelpData
+     ,HtmlHelpData
+     ,THtmlHelpData
+     ,CHtmlHelpData(..)
+     -- ** HtmlHelpFrame
+     ,HtmlHelpFrame
+     ,THtmlHelpFrame
+     ,CHtmlHelpFrame(..)
+     -- ** HtmlLinkInfo
+     ,HtmlLinkInfo
+     ,THtmlLinkInfo
+     ,CHtmlLinkInfo(..)
+     -- ** HtmlParser
+     ,HtmlParser
+     ,THtmlParser
+     ,CHtmlParser(..)
+     -- ** HtmlPrintout
+     ,HtmlPrintout
+     ,THtmlPrintout
+     ,CHtmlPrintout(..)
+     -- ** HtmlTag
+     ,HtmlTag
+     ,THtmlTag
+     ,CHtmlTag(..)
+     -- ** HtmlTagHandler
+     ,HtmlTagHandler
+     ,THtmlTagHandler
+     ,CHtmlTagHandler(..)
+     -- ** HtmlTagsModule
+     ,HtmlTagsModule
+     ,THtmlTagsModule
+     ,CHtmlTagsModule(..)
+     -- ** HtmlWidgetCell
+     ,HtmlWidgetCell
+     ,THtmlWidgetCell
+     ,CHtmlWidgetCell(..)
+     -- ** HtmlWinParser
+     ,HtmlWinParser
+     ,THtmlWinParser
+     ,CHtmlWinParser(..)
+     -- ** HtmlWinTagHandler
+     ,HtmlWinTagHandler
+     ,THtmlWinTagHandler
+     ,CHtmlWinTagHandler(..)
+     -- ** HtmlWindow
+     ,HtmlWindow
+     ,THtmlWindow
+     ,CHtmlWindow(..)
+     -- ** HyperlinkCtrl
+     ,HyperlinkCtrl
+     ,THyperlinkCtrl
+     ,CHyperlinkCtrl(..)
+     -- ** IPV4address
+     ,IPV4address
+     ,TIPV4address
+     ,CIPV4address(..)
+     -- ** Icon
+     ,Icon
+     ,TIcon
+     ,CIcon(..)
+     -- ** IconBundle
+     ,IconBundle
+     ,TIconBundle
+     ,CIconBundle(..)
+     -- ** IconizeEvent
+     ,IconizeEvent
+     ,TIconizeEvent
+     ,CIconizeEvent(..)
+     -- ** IdleEvent
+     ,IdleEvent
+     ,TIdleEvent
+     ,CIdleEvent(..)
+     -- ** Image
+     ,Image
+     ,TImage
+     ,CImage(..)
+     -- ** ImageHandler
+     ,ImageHandler
+     ,TImageHandler
+     ,CImageHandler(..)
+     -- ** ImageList
+     ,ImageList
+     ,TImageList
+     ,CImageList(..)
+     -- ** IndividualLayoutConstraint
+     ,IndividualLayoutConstraint
+     ,TIndividualLayoutConstraint
+     ,CIndividualLayoutConstraint(..)
+     -- ** InitDialogEvent
+     ,InitDialogEvent
+     ,TInitDialogEvent
+     ,CInitDialogEvent(..)
+     -- ** InputSink
+     ,InputSink
+     ,TInputSink
+     ,CInputSink(..)
+     -- ** InputSinkEvent
+     ,InputSinkEvent
+     ,TInputSinkEvent
+     ,CInputSinkEvent(..)
+     -- ** InputStream
+     ,InputStream
+     ,TInputStream
+     ,CInputStream(..)
+     -- ** IntProperty
+     ,IntProperty
+     ,TIntProperty
+     ,CIntProperty(..)
+     -- ** Joystick
+     ,Joystick
+     ,TJoystick
+     ,CJoystick(..)
+     -- ** JoystickEvent
+     ,JoystickEvent
+     ,TJoystickEvent
+     ,CJoystickEvent(..)
+     -- ** KeyEvent
+     ,KeyEvent
+     ,TKeyEvent
+     ,CKeyEvent(..)
+     -- ** LEDNumberCtrl
+     ,LEDNumberCtrl
+     ,TLEDNumberCtrl
+     ,CLEDNumberCtrl(..)
+     -- ** LayoutAlgorithm
+     ,LayoutAlgorithm
+     ,TLayoutAlgorithm
+     ,CLayoutAlgorithm(..)
+     -- ** LayoutConstraints
+     ,LayoutConstraints
+     ,TLayoutConstraints
+     ,CLayoutConstraints(..)
+     -- ** List
+     ,List
+     ,TList
+     ,CList(..)
+     -- ** ListBox
+     ,ListBox
+     ,TListBox
+     ,CListBox(..)
+     -- ** ListCtrl
+     ,ListCtrl
+     ,TListCtrl
+     ,CListCtrl(..)
+     -- ** ListEvent
+     ,ListEvent
+     ,TListEvent
+     ,CListEvent(..)
+     -- ** ListItem
+     ,ListItem
+     ,TListItem
+     ,CListItem(..)
+     -- ** Locale
+     ,Locale
+     ,TLocale
+     ,CLocale(..)
+     -- ** Log
+     ,Log
+     ,TLog
+     ,CLog(..)
+     -- ** LogChain
+     ,LogChain
+     ,TLogChain
+     ,CLogChain(..)
+     -- ** LogGUI
+     ,LogGUI
+     ,TLogGUI
+     ,CLogGUI(..)
+     -- ** LogNull
+     ,LogNull
+     ,TLogNull
+     ,CLogNull(..)
+     -- ** LogPassThrough
+     ,LogPassThrough
+     ,TLogPassThrough
+     ,CLogPassThrough(..)
+     -- ** LogStderr
+     ,LogStderr
+     ,TLogStderr
+     ,CLogStderr(..)
+     -- ** LogStream
+     ,LogStream
+     ,TLogStream
+     ,CLogStream(..)
+     -- ** LogTextCtrl
+     ,LogTextCtrl
+     ,TLogTextCtrl
+     ,CLogTextCtrl(..)
+     -- ** LogWindow
+     ,LogWindow
+     ,TLogWindow
+     ,CLogWindow(..)
+     -- ** LongLong
+     ,LongLong
+     ,TLongLong
+     ,CLongLong(..)
+     -- ** MBConv
+     ,MBConv
+     ,TMBConv
+     ,CMBConv(..)
+     -- ** MBConvFile
+     ,MBConvFile
+     ,TMBConvFile
+     ,CMBConvFile(..)
+     -- ** MBConvUTF7
+     ,MBConvUTF7
+     ,TMBConvUTF7
+     ,CMBConvUTF7(..)
+     -- ** MBConvUTF8
+     ,MBConvUTF8
+     ,TMBConvUTF8
+     ,CMBConvUTF8(..)
+     -- ** MDIChildFrame
+     ,MDIChildFrame
+     ,TMDIChildFrame
+     ,CMDIChildFrame(..)
+     -- ** MDIClientWindow
+     ,MDIClientWindow
+     ,TMDIClientWindow
+     ,CMDIClientWindow(..)
+     -- ** MDIParentFrame
+     ,MDIParentFrame
+     ,TMDIParentFrame
+     ,CMDIParentFrame(..)
+     -- ** Mask
+     ,Mask
+     ,TMask
+     ,CMask(..)
+     -- ** MaximizeEvent
+     ,MaximizeEvent
+     ,TMaximizeEvent
+     ,CMaximizeEvent(..)
+     -- ** MediaCtrl
+     ,MediaCtrl
+     ,TMediaCtrl
+     ,CMediaCtrl(..)
+     -- ** MediaEvent
+     ,MediaEvent
+     ,TMediaEvent
+     ,CMediaEvent(..)
+     -- ** MemoryBuffer
+     ,MemoryBuffer
+     ,TMemoryBuffer
+     ,CMemoryBuffer(..)
+     -- ** MemoryDC
+     ,MemoryDC
+     ,TMemoryDC
+     ,CMemoryDC(..)
+     -- ** MemoryFSHandler
+     ,MemoryFSHandler
+     ,TMemoryFSHandler
+     ,CMemoryFSHandler(..)
+     -- ** MemoryInputStream
+     ,MemoryInputStream
+     ,TMemoryInputStream
+     ,CMemoryInputStream(..)
+     -- ** MemoryOutputStream
+     ,MemoryOutputStream
+     ,TMemoryOutputStream
+     ,CMemoryOutputStream(..)
+     -- ** Menu
+     ,Menu
+     ,TMenu
+     ,CMenu(..)
+     -- ** MenuBar
+     ,MenuBar
+     ,TMenuBar
+     ,CMenuBar(..)
+     -- ** MenuEvent
+     ,MenuEvent
+     ,TMenuEvent
+     ,CMenuEvent(..)
+     -- ** MenuItem
+     ,MenuItem
+     ,TMenuItem
+     ,CMenuItem(..)
+     -- ** MessageDialog
+     ,MessageDialog
+     ,TMessageDialog
+     ,CMessageDialog(..)
+     -- ** Metafile
+     ,Metafile
+     ,TMetafile
+     ,CMetafile(..)
+     -- ** MetafileDC
+     ,MetafileDC
+     ,TMetafileDC
+     ,CMetafileDC(..)
+     -- ** MimeTypesManager
+     ,MimeTypesManager
+     ,TMimeTypesManager
+     ,CMimeTypesManager(..)
+     -- ** MiniFrame
+     ,MiniFrame
+     ,TMiniFrame
+     ,CMiniFrame(..)
+     -- ** MirrorDC
+     ,MirrorDC
+     ,TMirrorDC
+     ,CMirrorDC(..)
+     -- ** Module
+     ,Module
+     ,TModule
+     ,CModule(..)
+     -- ** MouseCaptureChangedEvent
+     ,MouseCaptureChangedEvent
+     ,TMouseCaptureChangedEvent
+     ,CMouseCaptureChangedEvent(..)
+     -- ** MouseEvent
+     ,MouseEvent
+     ,TMouseEvent
+     ,CMouseEvent(..)
+     -- ** MoveEvent
+     ,MoveEvent
+     ,TMoveEvent
+     ,CMoveEvent(..)
+     -- ** MultiCellCanvas
+     ,MultiCellCanvas
+     ,TMultiCellCanvas
+     ,CMultiCellCanvas(..)
+     -- ** MultiCellItemHandle
+     ,MultiCellItemHandle
+     ,TMultiCellItemHandle
+     ,CMultiCellItemHandle(..)
+     -- ** MultiCellSizer
+     ,MultiCellSizer
+     ,TMultiCellSizer
+     ,CMultiCellSizer(..)
+     -- ** Mutex
+     ,Mutex
+     ,TMutex
+     ,CMutex(..)
+     -- ** MutexLocker
+     ,MutexLocker
+     ,TMutexLocker
+     ,CMutexLocker(..)
+     -- ** NavigationKeyEvent
+     ,NavigationKeyEvent
+     ,TNavigationKeyEvent
+     ,CNavigationKeyEvent(..)
+     -- ** NewBitmapButton
+     ,NewBitmapButton
+     ,TNewBitmapButton
+     ,CNewBitmapButton(..)
+     -- ** NodeBase
+     ,NodeBase
+     ,TNodeBase
+     ,CNodeBase(..)
+     -- ** Notebook
+     ,Notebook
+     ,TNotebook
+     ,CNotebook(..)
+     -- ** NotebookEvent
+     ,NotebookEvent
+     ,TNotebookEvent
+     ,CNotebookEvent(..)
+     -- ** NotifyEvent
+     ,NotifyEvent
+     ,TNotifyEvent
+     ,CNotifyEvent(..)
+     -- ** ObjectRefData
+     ,ObjectRefData
+     ,TObjectRefData
+     ,CObjectRefData(..)
+     -- ** OutputStream
+     ,OutputStream
+     ,TOutputStream
+     ,COutputStream(..)
+     -- ** PGProperty
+     ,PGProperty
+     ,TPGProperty
+     ,CPGProperty(..)
+     -- ** PageSetupDialog
+     ,PageSetupDialog
+     ,TPageSetupDialog
+     ,CPageSetupDialog(..)
+     -- ** PageSetupDialogData
+     ,PageSetupDialogData
+     ,TPageSetupDialogData
+     ,CPageSetupDialogData(..)
+     -- ** PaintDC
+     ,PaintDC
+     ,TPaintDC
+     ,CPaintDC(..)
+     -- ** PaintEvent
+     ,PaintEvent
+     ,TPaintEvent
+     ,CPaintEvent(..)
+     -- ** Palette
+     ,Palette
+     ,TPalette
+     ,CPalette(..)
+     -- ** PaletteChangedEvent
+     ,PaletteChangedEvent
+     ,TPaletteChangedEvent
+     ,CPaletteChangedEvent(..)
+     -- ** Panel
+     ,Panel
+     ,TPanel
+     ,CPanel(..)
+     -- ** PathList
+     ,PathList
+     ,TPathList
+     ,CPathList(..)
+     -- ** Pen
+     ,Pen
+     ,TPen
+     ,CPen(..)
+     -- ** PenList
+     ,PenList
+     ,TPenList
+     ,CPenList(..)
+     -- ** PickerBase
+     ,PickerBase
+     ,TPickerBase
+     ,CPickerBase(..)
+     -- ** PlotCurve
+     ,PlotCurve
+     ,TPlotCurve
+     ,CPlotCurve(..)
+     -- ** PlotEvent
+     ,PlotEvent
+     ,TPlotEvent
+     ,CPlotEvent(..)
+     -- ** PlotOnOffCurve
+     ,PlotOnOffCurve
+     ,TPlotOnOffCurve
+     ,CPlotOnOffCurve(..)
+     -- ** PlotWindow
+     ,PlotWindow
+     ,TPlotWindow
+     ,CPlotWindow(..)
+     -- ** PopupTransientWindow
+     ,PopupTransientWindow
+     ,TPopupTransientWindow
+     ,CPopupTransientWindow(..)
+     -- ** PopupWindow
+     ,PopupWindow
+     ,TPopupWindow
+     ,CPopupWindow(..)
+     -- ** PostScriptDC
+     ,PostScriptDC
+     ,TPostScriptDC
+     ,CPostScriptDC(..)
+     -- ** PostScriptPrintNativeData
+     ,PostScriptPrintNativeData
+     ,TPostScriptPrintNativeData
+     ,CPostScriptPrintNativeData(..)
+     -- ** PreviewCanvas
+     ,PreviewCanvas
+     ,TPreviewCanvas
+     ,CPreviewCanvas(..)
+     -- ** PreviewControlBar
+     ,PreviewControlBar
+     ,TPreviewControlBar
+     ,CPreviewControlBar(..)
+     -- ** PreviewFrame
+     ,PreviewFrame
+     ,TPreviewFrame
+     ,CPreviewFrame(..)
+     -- ** PrintData
+     ,PrintData
+     ,TPrintData
+     ,CPrintData(..)
+     -- ** PrintDialog
+     ,PrintDialog
+     ,TPrintDialog
+     ,CPrintDialog(..)
+     -- ** PrintDialogData
+     ,PrintDialogData
+     ,TPrintDialogData
+     ,CPrintDialogData(..)
+     -- ** PrintPreview
+     ,PrintPreview
+     ,TPrintPreview
+     ,CPrintPreview(..)
+     -- ** Printer
+     ,Printer
+     ,TPrinter
+     ,CPrinter(..)
+     -- ** PrinterDC
+     ,PrinterDC
+     ,TPrinterDC
+     ,CPrinterDC(..)
+     -- ** Printout
+     ,Printout
+     ,TPrintout
+     ,CPrintout(..)
+     -- ** PrivateDropTarget
+     ,PrivateDropTarget
+     ,TPrivateDropTarget
+     ,CPrivateDropTarget(..)
+     -- ** Process
+     ,Process
+     ,TProcess
+     ,CProcess(..)
+     -- ** ProcessEvent
+     ,ProcessEvent
+     ,TProcessEvent
+     ,CProcessEvent(..)
+     -- ** ProgressDialog
+     ,ProgressDialog
+     ,TProgressDialog
+     ,CProgressDialog(..)
+     -- ** PropertyCategory
+     ,PropertyCategory
+     ,TPropertyCategory
+     ,CPropertyCategory(..)
+     -- ** PropertyGrid
+     ,PropertyGrid
+     ,TPropertyGrid
+     ,CPropertyGrid(..)
+     -- ** PropertyGridEvent
+     ,PropertyGridEvent
+     ,TPropertyGridEvent
+     ,CPropertyGridEvent(..)
+     -- ** Protocol
+     ,Protocol
+     ,TProtocol
+     ,CProtocol(..)
+     -- ** Quantize
+     ,Quantize
+     ,TQuantize
+     ,CQuantize(..)
+     -- ** QueryCol
+     ,QueryCol
+     ,TQueryCol
+     ,CQueryCol(..)
+     -- ** QueryField
+     ,QueryField
+     ,TQueryField
+     ,CQueryField(..)
+     -- ** QueryLayoutInfoEvent
+     ,QueryLayoutInfoEvent
+     ,TQueryLayoutInfoEvent
+     ,CQueryLayoutInfoEvent(..)
+     -- ** QueryNewPaletteEvent
+     ,QueryNewPaletteEvent
+     ,TQueryNewPaletteEvent
+     ,CQueryNewPaletteEvent(..)
+     -- ** RadioBox
+     ,RadioBox
+     ,TRadioBox
+     ,CRadioBox(..)
+     -- ** RadioButton
+     ,RadioButton
+     ,TRadioButton
+     ,CRadioButton(..)
+     -- ** RealPoint
+     ,RealPoint
+     ,TRealPoint
+     ,CRealPoint(..)
+     -- ** RecordSet
+     ,RecordSet
+     ,TRecordSet
+     ,CRecordSet(..)
+     -- ** RegEx
+     ,RegEx
+     ,TRegEx
+     ,CRegEx(..)
+     -- ** Region
+     ,Region
+     ,TRegion
+     ,CRegion(..)
+     -- ** RegionIterator
+     ,RegionIterator
+     ,TRegionIterator
+     ,CRegionIterator(..)
+     -- ** RemotelyScrolledTreeCtrl
+     ,RemotelyScrolledTreeCtrl
+     ,TRemotelyScrolledTreeCtrl
+     ,CRemotelyScrolledTreeCtrl(..)
+     -- ** STCDoc
+     ,STCDoc
+     ,TSTCDoc
+     ,CSTCDoc(..)
+     -- ** SVGFileDC
+     ,SVGFileDC
+     ,TSVGFileDC
+     ,CSVGFileDC(..)
+     -- ** SashEvent
+     ,SashEvent
+     ,TSashEvent
+     ,CSashEvent(..)
+     -- ** SashLayoutWindow
+     ,SashLayoutWindow
+     ,TSashLayoutWindow
+     ,CSashLayoutWindow(..)
+     -- ** SashWindow
+     ,SashWindow
+     ,TSashWindow
+     ,CSashWindow(..)
+     -- ** ScopedArray
+     ,ScopedArray
+     ,TScopedArray
+     ,CScopedArray(..)
+     -- ** ScopedPtr
+     ,ScopedPtr
+     ,TScopedPtr
+     ,CScopedPtr(..)
+     -- ** ScreenDC
+     ,ScreenDC
+     ,TScreenDC
+     ,CScreenDC(..)
+     -- ** ScrollBar
+     ,ScrollBar
+     ,TScrollBar
+     ,CScrollBar(..)
+     -- ** ScrollEvent
+     ,ScrollEvent
+     ,TScrollEvent
+     ,CScrollEvent(..)
+     -- ** ScrollWinEvent
+     ,ScrollWinEvent
+     ,TScrollWinEvent
+     ,CScrollWinEvent(..)
+     -- ** ScrolledWindow
+     ,ScrolledWindow
+     ,TScrolledWindow
+     ,CScrolledWindow(..)
+     -- ** Semaphore
+     ,Semaphore
+     ,TSemaphore
+     ,CSemaphore(..)
+     -- ** Server
+     ,Server
+     ,TServer
+     ,CServer(..)
+     -- ** ServerBase
+     ,ServerBase
+     ,TServerBase
+     ,CServerBase(..)
+     -- ** SetCursorEvent
+     ,SetCursorEvent
+     ,TSetCursorEvent
+     ,CSetCursorEvent(..)
+     -- ** ShowEvent
+     ,ShowEvent
+     ,TShowEvent
+     ,CShowEvent(..)
+     -- ** SimpleHelpProvider
+     ,SimpleHelpProvider
+     ,TSimpleHelpProvider
+     ,CSimpleHelpProvider(..)
+     -- ** SingleChoiceDialog
+     ,SingleChoiceDialog
+     ,TSingleChoiceDialog
+     ,CSingleChoiceDialog(..)
+     -- ** SingleInstanceChecker
+     ,SingleInstanceChecker
+     ,TSingleInstanceChecker
+     ,CSingleInstanceChecker(..)
+     -- ** SizeEvent
+     ,SizeEvent
+     ,TSizeEvent
+     ,CSizeEvent(..)
+     -- ** Sizer
+     ,Sizer
+     ,TSizer
+     ,CSizer(..)
+     -- ** SizerItem
+     ,SizerItem
+     ,TSizerItem
+     ,CSizerItem(..)
+     -- ** Slider
+     ,Slider
+     ,TSlider
+     ,CSlider(..)
+     -- ** Slider95
+     ,Slider95
+     ,TSlider95
+     ,CSlider95(..)
+     -- ** SliderMSW
+     ,SliderMSW
+     ,TSliderMSW
+     ,CSliderMSW(..)
+     -- ** SockAddress
+     ,SockAddress
+     ,TSockAddress
+     ,CSockAddress(..)
+     -- ** SocketBase
+     ,SocketBase
+     ,TSocketBase
+     ,CSocketBase(..)
+     -- ** SocketClient
+     ,SocketClient
+     ,TSocketClient
+     ,CSocketClient(..)
+     -- ** SocketEvent
+     ,SocketEvent
+     ,TSocketEvent
+     ,CSocketEvent(..)
+     -- ** SocketInputStream
+     ,SocketInputStream
+     ,TSocketInputStream
+     ,CSocketInputStream(..)
+     -- ** SocketOutputStream
+     ,SocketOutputStream
+     ,TSocketOutputStream
+     ,CSocketOutputStream(..)
+     -- ** SocketServer
+     ,SocketServer
+     ,TSocketServer
+     ,CSocketServer(..)
+     -- ** Sound
+     ,Sound
+     ,TSound
+     ,CSound(..)
+     -- ** SpinButton
+     ,SpinButton
+     ,TSpinButton
+     ,CSpinButton(..)
+     -- ** SpinCtrl
+     ,SpinCtrl
+     ,TSpinCtrl
+     ,CSpinCtrl(..)
+     -- ** SpinEvent
+     ,SpinEvent
+     ,TSpinEvent
+     ,CSpinEvent(..)
+     -- ** SplashScreen
+     ,SplashScreen
+     ,TSplashScreen
+     ,CSplashScreen(..)
+     -- ** SplitterEvent
+     ,SplitterEvent
+     ,TSplitterEvent
+     ,CSplitterEvent(..)
+     -- ** SplitterScrolledWindow
+     ,SplitterScrolledWindow
+     ,TSplitterScrolledWindow
+     ,CSplitterScrolledWindow(..)
+     -- ** SplitterWindow
+     ,SplitterWindow
+     ,TSplitterWindow
+     ,CSplitterWindow(..)
+     -- ** StaticBitmap
+     ,StaticBitmap
+     ,TStaticBitmap
+     ,CStaticBitmap(..)
+     -- ** StaticBox
+     ,StaticBox
+     ,TStaticBox
+     ,CStaticBox(..)
+     -- ** StaticBoxSizer
+     ,StaticBoxSizer
+     ,TStaticBoxSizer
+     ,CStaticBoxSizer(..)
+     -- ** StaticLine
+     ,StaticLine
+     ,TStaticLine
+     ,CStaticLine(..)
+     -- ** StaticText
+     ,StaticText
+     ,TStaticText
+     ,CStaticText(..)
+     -- ** StatusBar
+     ,StatusBar
+     ,TStatusBar
+     ,CStatusBar(..)
+     -- ** StopWatch
+     ,StopWatch
+     ,TStopWatch
+     ,CStopWatch(..)
+     -- ** StreamBase
+     ,StreamBase
+     ,TStreamBase
+     ,CStreamBase(..)
+     -- ** StreamBuffer
+     ,StreamBuffer
+     ,TStreamBuffer
+     ,CStreamBuffer(..)
+     -- ** StreamToTextRedirector
+     ,StreamToTextRedirector
+     ,TStreamToTextRedirector
+     ,CStreamToTextRedirector(..)
+     -- ** StringBuffer
+     ,StringBuffer
+     ,TStringBuffer
+     ,CStringBuffer(..)
+     -- ** StringClientData
+     ,StringClientData
+     ,TStringClientData
+     ,CStringClientData(..)
+     -- ** StringList
+     ,StringList
+     ,TStringList
+     ,CStringList(..)
+     -- ** StringProperty
+     ,StringProperty
+     ,TStringProperty
+     ,CStringProperty(..)
+     -- ** StringTokenizer
+     ,StringTokenizer
+     ,TStringTokenizer
+     ,CStringTokenizer(..)
+     -- ** StyledTextCtrl
+     ,StyledTextCtrl
+     ,TStyledTextCtrl
+     ,CStyledTextCtrl(..)
+     -- ** StyledTextEvent
+     ,StyledTextEvent
+     ,TStyledTextEvent
+     ,CStyledTextEvent(..)
+     -- ** SysColourChangedEvent
+     ,SysColourChangedEvent
+     ,TSysColourChangedEvent
+     ,CSysColourChangedEvent(..)
+     -- ** SystemOptions
+     ,SystemOptions
+     ,TSystemOptions
+     ,CSystemOptions(..)
+     -- ** SystemSettings
+     ,SystemSettings
+     ,TSystemSettings
+     ,CSystemSettings(..)
+     -- ** TabCtrl
+     ,TabCtrl
+     ,TTabCtrl
+     ,CTabCtrl(..)
+     -- ** TabEvent
+     ,TabEvent
+     ,TTabEvent
+     ,CTabEvent(..)
+     -- ** TablesInUse
+     ,TablesInUse
+     ,TTablesInUse
+     ,CTablesInUse(..)
+     -- ** TaskBarIcon
+     ,TaskBarIcon
+     ,TTaskBarIcon
+     ,CTaskBarIcon(..)
+     -- ** TempFile
+     ,TempFile
+     ,TTempFile
+     ,CTempFile(..)
+     -- ** TextAttr
+     ,TextAttr
+     ,TTextAttr
+     ,CTextAttr(..)
+     -- ** TextCtrl
+     ,TextCtrl
+     ,TTextCtrl
+     ,CTextCtrl(..)
+     -- ** TextDataObject
+     ,TextDataObject
+     ,TTextDataObject
+     ,CTextDataObject(..)
+     -- ** TextDropTarget
+     ,TextDropTarget
+     ,TTextDropTarget
+     ,CTextDropTarget(..)
+     -- ** TextEntryDialog
+     ,TextEntryDialog
+     ,TTextEntryDialog
+     ,CTextEntryDialog(..)
+     -- ** TextFile
+     ,TextFile
+     ,TTextFile
+     ,CTextFile(..)
+     -- ** TextInputStream
+     ,TextInputStream
+     ,TTextInputStream
+     ,CTextInputStream(..)
+     -- ** TextOutputStream
+     ,TextOutputStream
+     ,TTextOutputStream
+     ,CTextOutputStream(..)
+     -- ** TextValidator
+     ,TextValidator
+     ,TTextValidator
+     ,CTextValidator(..)
+     -- ** ThinSplitterWindow
+     ,ThinSplitterWindow
+     ,TThinSplitterWindow
+     ,CThinSplitterWindow(..)
+     -- ** Thread
+     ,Thread
+     ,TThread
+     ,CThread(..)
+     -- ** Time
+     ,Time
+     ,TTime
+     ,CTime(..)
+     -- ** TimeSpan
+     ,TimeSpan
+     ,TTimeSpan
+     ,CTimeSpan(..)
+     -- ** Timer
+     ,Timer
+     ,TTimer
+     ,CTimer(..)
+     -- ** TimerBase
+     ,TimerBase
+     ,TTimerBase
+     ,CTimerBase(..)
+     -- ** TimerEvent
+     ,TimerEvent
+     ,TTimerEvent
+     ,CTimerEvent(..)
+     -- ** TimerEx
+     ,TimerEx
+     ,TTimerEx
+     ,CTimerEx(..)
+     -- ** TimerRunner
+     ,TimerRunner
+     ,TTimerRunner
+     ,CTimerRunner(..)
+     -- ** TipProvider
+     ,TipProvider
+     ,TTipProvider
+     ,CTipProvider(..)
+     -- ** TipWindow
+     ,TipWindow
+     ,TTipWindow
+     ,CTipWindow(..)
+     -- ** ToggleButton
+     ,ToggleButton
+     ,TToggleButton
+     ,CToggleButton(..)
+     -- ** ToolBar
+     ,ToolBar
+     ,TToolBar
+     ,CToolBar(..)
+     -- ** ToolBarBase
+     ,ToolBarBase
+     ,TToolBarBase
+     ,CToolBarBase(..)
+     -- ** ToolLayoutItem
+     ,ToolLayoutItem
+     ,TToolLayoutItem
+     ,CToolLayoutItem(..)
+     -- ** ToolTip
+     ,ToolTip
+     ,TToolTip
+     ,CToolTip(..)
+     -- ** ToolWindow
+     ,ToolWindow
+     ,TToolWindow
+     ,CToolWindow(..)
+     -- ** TopLevelWindow
+     ,TopLevelWindow
+     ,TTopLevelWindow
+     ,CTopLevelWindow(..)
+     -- ** TreeCompanionWindow
+     ,TreeCompanionWindow
+     ,TTreeCompanionWindow
+     ,CTreeCompanionWindow(..)
+     -- ** TreeCtrl
+     ,TreeCtrl
+     ,TTreeCtrl
+     ,CTreeCtrl(..)
+     -- ** TreeEvent
+     ,TreeEvent
+     ,TTreeEvent
+     ,CTreeEvent(..)
+     -- ** TreeItemData
+     ,TreeItemData
+     ,TTreeItemData
+     ,CTreeItemData(..)
+     -- ** TreeItemId
+     ,TreeItemId
+     ,TTreeItemId
+     ,CTreeItemId(..)
+     -- ** TreeLayout
+     ,TreeLayout
+     ,TTreeLayout
+     ,CTreeLayout(..)
+     -- ** TreeLayoutStored
+     ,TreeLayoutStored
+     ,TTreeLayoutStored
+     ,CTreeLayoutStored(..)
+     -- ** URL
+     ,URL
+     ,TURL
+     ,CURL(..)
+     -- ** UpdateUIEvent
+     ,UpdateUIEvent
+     ,TUpdateUIEvent
+     ,CUpdateUIEvent(..)
+     -- ** Validator
+     ,Validator
+     ,TValidator
+     ,CValidator(..)
+     -- ** Variant
+     ,Variant
+     ,TVariant
+     ,CVariant(..)
+     -- ** VariantData
+     ,VariantData
+     ,TVariantData
+     ,CVariantData(..)
+     -- ** View
+     ,View
+     ,TView
+     ,CView(..)
+     -- ** WXCApp
+     ,WXCApp
+     ,TWXCApp
+     ,CWXCApp(..)
+     -- ** WXCArtProv
+     ,WXCArtProv
+     ,TWXCArtProv
+     ,CWXCArtProv(..)
+     -- ** WXCClient
+     ,WXCClient
+     ,TWXCClient
+     ,CWXCClient(..)
+     -- ** WXCCommand
+     ,WXCCommand
+     ,TWXCCommand
+     ,CWXCCommand(..)
+     -- ** WXCConnection
+     ,WXCConnection
+     ,TWXCConnection
+     ,CWXCConnection(..)
+     -- ** WXCDragDataObject
+     ,WXCDragDataObject
+     ,TWXCDragDataObject
+     ,CWXCDragDataObject(..)
+     -- ** WXCDropTarget
+     ,WXCDropTarget
+     ,TWXCDropTarget
+     ,CWXCDropTarget(..)
+     -- ** WXCFileDropTarget
+     ,WXCFileDropTarget
+     ,TWXCFileDropTarget
+     ,CWXCFileDropTarget(..)
+     -- ** WXCGridTable
+     ,WXCGridTable
+     ,TWXCGridTable
+     ,CWXCGridTable(..)
+     -- ** WXCHtmlEvent
+     ,WXCHtmlEvent
+     ,TWXCHtmlEvent
+     ,CWXCHtmlEvent(..)
+     -- ** WXCHtmlWindow
+     ,WXCHtmlWindow
+     ,TWXCHtmlWindow
+     ,CWXCHtmlWindow(..)
+     -- ** WXCLocale
+     ,WXCLocale
+     ,TWXCLocale
+     ,CWXCLocale(..)
+     -- ** WXCLog
+     ,WXCLog
+     ,TWXCLog
+     ,CWXCLog(..)
+     -- ** WXCMessageParameters
+     ,WXCMessageParameters
+     ,TWXCMessageParameters
+     ,CWXCMessageParameters(..)
+     -- ** WXCPlotCurve
+     ,WXCPlotCurve
+     ,TWXCPlotCurve
+     ,CWXCPlotCurve(..)
+     -- ** WXCPreviewControlBar
+     ,WXCPreviewControlBar
+     ,TWXCPreviewControlBar
+     ,CWXCPreviewControlBar(..)
+     -- ** WXCPreviewFrame
+     ,WXCPreviewFrame
+     ,TWXCPreviewFrame
+     ,CWXCPreviewFrame(..)
+     -- ** WXCPrintEvent
+     ,WXCPrintEvent
+     ,TWXCPrintEvent
+     ,CWXCPrintEvent(..)
+     -- ** WXCPrintout
+     ,WXCPrintout
+     ,TWXCPrintout
+     ,CWXCPrintout(..)
+     -- ** WXCPrintoutHandler
+     ,WXCPrintoutHandler
+     ,TWXCPrintoutHandler
+     ,CWXCPrintoutHandler(..)
+     -- ** WXCServer
+     ,WXCServer
+     ,TWXCServer
+     ,CWXCServer(..)
+     -- ** WXCTextDropTarget
+     ,WXCTextDropTarget
+     ,TWXCTextDropTarget
+     ,CWXCTextDropTarget(..)
+     -- ** WXCTextValidator
+     ,WXCTextValidator
+     ,TWXCTextValidator
+     ,CWXCTextValidator(..)
+     -- ** WXCTreeItemData
+     ,WXCTreeItemData
+     ,TWXCTreeItemData
+     ,CWXCTreeItemData(..)
+     -- ** Window
+     ,Window
+     ,TWindow
+     ,CWindow(..)
+     -- ** WindowCreateEvent
+     ,WindowCreateEvent
+     ,TWindowCreateEvent
+     ,CWindowCreateEvent(..)
+     -- ** WindowDC
+     ,WindowDC
+     ,TWindowDC
+     ,CWindowDC(..)
+     -- ** WindowDestroyEvent
+     ,WindowDestroyEvent
+     ,TWindowDestroyEvent
+     ,CWindowDestroyEvent(..)
+     -- ** WindowDisabler
+     ,WindowDisabler
+     ,TWindowDisabler
+     ,CWindowDisabler(..)
+     -- ** Wizard
+     ,Wizard
+     ,TWizard
+     ,CWizard(..)
+     -- ** WizardEvent
+     ,WizardEvent
+     ,TWizardEvent
+     ,CWizardEvent(..)
+     -- ** WizardPage
+     ,WizardPage
+     ,TWizardPage
+     ,CWizardPage(..)
+     -- ** WizardPageSimple
+     ,WizardPageSimple
+     ,TWizardPageSimple
+     ,CWizardPageSimple(..)
+     -- ** WxArray
+     ,WxArray
+     ,TWxArray
+     ,CWxArray(..)
+     -- ** WxDllLoader
+     ,WxDllLoader
+     ,TWxDllLoader
+     ,CWxDllLoader(..)
+     -- ** WxExpr
+     ,WxExpr
+     ,TWxExpr
+     ,CWxExpr(..)
+     -- ** WxManagedPtr
+     ,WxManagedPtr
+     ,TWxManagedPtr
+     ,CWxManagedPtr(..)
+     -- ** WxObject
+     ,WxObject
+     ,TWxObject
+     ,CWxObject(..)
+     -- ** WxPoint
+     ,WxPoint
+     ,TWxPoint
+     ,CWxPoint(..)
+     -- ** WxRect
+     ,WxRect
+     ,TWxRect
+     ,CWxRect(..)
+     -- ** WxSize
+     ,WxSize
+     ,TWxSize
+     ,CWxSize(..)
+     -- ** WxString
+     ,WxString
+     ,TWxString
+     ,CWxString(..)
+     -- ** XmlResource
+     ,XmlResource
+     ,TXmlResource
+     ,CXmlResource(..)
+     -- ** XmlResourceHandler
+     ,XmlResourceHandler
+     ,TXmlResourceHandler
+     ,CXmlResourceHandler(..)
+     -- ** ZipInputStream
+     ,ZipInputStream
+     ,TZipInputStream
+     ,CZipInputStream(..)
+     -- ** ZlibInputStream
+     ,ZlibInputStream
+     ,TZlibInputStream
+     ,CZlibInputStream(..)
+     -- ** ZlibOutputStream
+     ,ZlibOutputStream
+     ,TZlibOutputStream
+     ,CZlibOutputStream(..)
+    ) where
+
+import Graphics.UI.WXCore.WxcObject
+
+-- | Pointer to an object of type 'ConfigBase'.
+type ConfigBase a  = Object (CConfigBase a)
+-- | Inheritance type of the ConfigBase class.
+type TConfigBase a  = CConfigBase a
+-- | Abstract type of the ConfigBase class.
+data CConfigBase a  = CConfigBase
+
+-- | Pointer to an object of type 'FileConfig', derived from 'ConfigBase'.
+type FileConfig a  = ConfigBase (CFileConfig a)
+-- | Inheritance type of the FileConfig class.
+type TFileConfig a  = TConfigBase (CFileConfig a)
+-- | Abstract type of the FileConfig class.
+data CFileConfig a  = CFileConfig
+
+-- | Pointer to an object of type 'GridCellWorker'.
+type GridCellWorker a  = Object (CGridCellWorker a)
+-- | Inheritance type of the GridCellWorker class.
+type TGridCellWorker a  = CGridCellWorker a
+-- | Abstract type of the GridCellWorker class.
+data CGridCellWorker a  = CGridCellWorker
+
+-- | Pointer to an object of type 'GridCellEditor', derived from 'GridCellWorker'.
+type GridCellEditor a  = GridCellWorker (CGridCellEditor a)
+-- | Inheritance type of the GridCellEditor class.
+type TGridCellEditor a  = TGridCellWorker (CGridCellEditor a)
+-- | Abstract type of the GridCellEditor class.
+data CGridCellEditor a  = CGridCellEditor
+
+-- | Pointer to an object of type 'GridCellTextEditor', derived from 'GridCellEditor'.
+type GridCellTextEditor a  = GridCellEditor (CGridCellTextEditor a)
+-- | Inheritance type of the GridCellTextEditor class.
+type TGridCellTextEditor a  = TGridCellEditor (CGridCellTextEditor a)
+-- | Abstract type of the GridCellTextEditor class.
+data CGridCellTextEditor a  = CGridCellTextEditor
+
+-- | Pointer to an object of type 'GridCellFloatEditor', derived from 'GridCellTextEditor'.
+type GridCellFloatEditor a  = GridCellTextEditor (CGridCellFloatEditor a)
+-- | Inheritance type of the GridCellFloatEditor class.
+type TGridCellFloatEditor a  = TGridCellTextEditor (CGridCellFloatEditor a)
+-- | Abstract type of the GridCellFloatEditor class.
+data CGridCellFloatEditor a  = CGridCellFloatEditor
+
+-- | Pointer to an object of type 'GridCellTextEnterEditor', derived from 'GridCellTextEditor'.
+type GridCellTextEnterEditor a  = GridCellTextEditor (CGridCellTextEnterEditor a)
+-- | Inheritance type of the GridCellTextEnterEditor class.
+type TGridCellTextEnterEditor a  = TGridCellTextEditor (CGridCellTextEnterEditor a)
+-- | Abstract type of the GridCellTextEnterEditor class.
+data CGridCellTextEnterEditor a  = CGridCellTextEnterEditor
+
+-- | Pointer to an object of type 'GridCellNumberEditor', derived from 'GridCellTextEditor'.
+type GridCellNumberEditor a  = GridCellTextEditor (CGridCellNumberEditor a)
+-- | Inheritance type of the GridCellNumberEditor class.
+type TGridCellNumberEditor a  = TGridCellTextEditor (CGridCellNumberEditor a)
+-- | Abstract type of the GridCellNumberEditor class.
+data CGridCellNumberEditor a  = CGridCellNumberEditor
+
+-- | Pointer to an object of type 'GridCellChoiceEditor', derived from 'GridCellEditor'.
+type GridCellChoiceEditor a  = GridCellEditor (CGridCellChoiceEditor a)
+-- | Inheritance type of the GridCellChoiceEditor class.
+type TGridCellChoiceEditor a  = TGridCellEditor (CGridCellChoiceEditor a)
+-- | Abstract type of the GridCellChoiceEditor class.
+data CGridCellChoiceEditor a  = CGridCellChoiceEditor
+
+-- | Pointer to an object of type 'GridCellBoolEditor', derived from 'GridCellEditor'.
+type GridCellBoolEditor a  = GridCellEditor (CGridCellBoolEditor a)
+-- | Inheritance type of the GridCellBoolEditor class.
+type TGridCellBoolEditor a  = TGridCellEditor (CGridCellBoolEditor a)
+-- | Abstract type of the GridCellBoolEditor class.
+data CGridCellBoolEditor a  = CGridCellBoolEditor
+
+-- | Pointer to an object of type 'GridCellRenderer', derived from 'GridCellWorker'.
+type GridCellRenderer a  = GridCellWorker (CGridCellRenderer a)
+-- | Inheritance type of the GridCellRenderer class.
+type TGridCellRenderer a  = TGridCellWorker (CGridCellRenderer a)
+-- | Abstract type of the GridCellRenderer class.
+data CGridCellRenderer a  = CGridCellRenderer
+
+-- | Pointer to an object of type 'GridCellStringRenderer', derived from 'GridCellRenderer'.
+type GridCellStringRenderer a  = GridCellRenderer (CGridCellStringRenderer a)
+-- | Inheritance type of the GridCellStringRenderer class.
+type TGridCellStringRenderer a  = TGridCellRenderer (CGridCellStringRenderer a)
+-- | Abstract type of the GridCellStringRenderer class.
+data CGridCellStringRenderer a  = CGridCellStringRenderer
+
+-- | Pointer to an object of type 'GridCellFloatRenderer', derived from 'GridCellStringRenderer'.
+type GridCellFloatRenderer a  = GridCellStringRenderer (CGridCellFloatRenderer a)
+-- | Inheritance type of the GridCellFloatRenderer class.
+type TGridCellFloatRenderer a  = TGridCellStringRenderer (CGridCellFloatRenderer a)
+-- | Abstract type of the GridCellFloatRenderer class.
+data CGridCellFloatRenderer a  = CGridCellFloatRenderer
+
+-- | Pointer to an object of type 'GridCellAutoWrapStringRenderer', derived from 'GridCellStringRenderer'.
+type GridCellAutoWrapStringRenderer a  = GridCellStringRenderer (CGridCellAutoWrapStringRenderer a)
+-- | Inheritance type of the GridCellAutoWrapStringRenderer class.
+type TGridCellAutoWrapStringRenderer a  = TGridCellStringRenderer (CGridCellAutoWrapStringRenderer a)
+-- | Abstract type of the GridCellAutoWrapStringRenderer class.
+data CGridCellAutoWrapStringRenderer a  = CGridCellAutoWrapStringRenderer
+
+-- | Pointer to an object of type 'GridCellNumberRenderer', derived from 'GridCellStringRenderer'.
+type GridCellNumberRenderer a  = GridCellStringRenderer (CGridCellNumberRenderer a)
+-- | Inheritance type of the GridCellNumberRenderer class.
+type TGridCellNumberRenderer a  = TGridCellStringRenderer (CGridCellNumberRenderer a)
+-- | Abstract type of the GridCellNumberRenderer class.
+data CGridCellNumberRenderer a  = CGridCellNumberRenderer
+
+-- | Pointer to an object of type 'GridCellBoolRenderer', derived from 'GridCellRenderer'.
+type GridCellBoolRenderer a  = GridCellRenderer (CGridCellBoolRenderer a)
+-- | Inheritance type of the GridCellBoolRenderer class.
+type TGridCellBoolRenderer a  = TGridCellRenderer (CGridCellBoolRenderer a)
+-- | Abstract type of the GridCellBoolRenderer class.
+data CGridCellBoolRenderer a  = CGridCellBoolRenderer
+
+-- | Pointer to an object of type 'WxObject'.
+type WxObject a  = Object (CWxObject a)
+-- | Inheritance type of the WxObject class.
+type TWxObject a  = CWxObject a
+-- | Abstract type of the WxObject class.
+data CWxObject a  = CWxObject
+
+-- | Pointer to an object of type 'EvtHandler', derived from 'WxObject'.
+type EvtHandler a  = WxObject (CEvtHandler a)
+-- | Inheritance type of the EvtHandler class.
+type TEvtHandler a  = TWxObject (CEvtHandler a)
+-- | Abstract type of the EvtHandler class.
+data CEvtHandler a  = CEvtHandler
+
+-- | Pointer to an object of type 'Window', derived from 'EvtHandler'.
+type Window a  = EvtHandler (CWindow a)
+-- | Inheritance type of the Window class.
+type TWindow a  = TEvtHandler (CWindow a)
+-- | Abstract type of the Window class.
+data CWindow a  = CWindow
+
+-- | Pointer to an object of type 'Panel', derived from 'Window'.
+type Panel a  = Window (CPanel a)
+-- | Inheritance type of the Panel class.
+type TPanel a  = TWindow (CPanel a)
+-- | Abstract type of the Panel class.
+data CPanel a  = CPanel
+
+-- | Pointer to an object of type 'ScrolledWindow', derived from 'Panel'.
+type ScrolledWindow a  = Panel (CScrolledWindow a)
+-- | Inheritance type of the ScrolledWindow class.
+type TScrolledWindow a  = TPanel (CScrolledWindow a)
+-- | Abstract type of the ScrolledWindow class.
+data CScrolledWindow a  = CScrolledWindow
+
+-- | Pointer to an object of type 'Grid', derived from 'ScrolledWindow'.
+type Grid a  = ScrolledWindow (CGrid a)
+-- | Inheritance type of the Grid class.
+type TGrid a  = TScrolledWindow (CGrid a)
+-- | Abstract type of the Grid class.
+data CGrid a  = CGrid
+
+-- | Pointer to an object of type 'PlotWindow', derived from 'ScrolledWindow'.
+type PlotWindow a  = ScrolledWindow (CPlotWindow a)
+-- | Inheritance type of the PlotWindow class.
+type TPlotWindow a  = TScrolledWindow (CPlotWindow a)
+-- | Abstract type of the PlotWindow class.
+data CPlotWindow a  = CPlotWindow
+
+-- | Pointer to an object of type 'SplitterScrolledWindow', derived from 'ScrolledWindow'.
+type SplitterScrolledWindow a  = ScrolledWindow (CSplitterScrolledWindow a)
+-- | Inheritance type of the SplitterScrolledWindow class.
+type TSplitterScrolledWindow a  = TScrolledWindow (CSplitterScrolledWindow a)
+-- | Abstract type of the SplitterScrolledWindow class.
+data CSplitterScrolledWindow a  = CSplitterScrolledWindow
+
+-- | Pointer to an object of type 'PreviewCanvas', derived from 'ScrolledWindow'.
+type PreviewCanvas a  = ScrolledWindow (CPreviewCanvas a)
+-- | Inheritance type of the PreviewCanvas class.
+type TPreviewCanvas a  = TScrolledWindow (CPreviewCanvas a)
+-- | Abstract type of the PreviewCanvas class.
+data CPreviewCanvas a  = CPreviewCanvas
+
+-- | Pointer to an object of type 'HtmlWindow', derived from 'ScrolledWindow'.
+type HtmlWindow a  = ScrolledWindow (CHtmlWindow a)
+-- | Inheritance type of the HtmlWindow class.
+type THtmlWindow a  = TScrolledWindow (CHtmlWindow a)
+-- | Abstract type of the HtmlWindow class.
+data CHtmlWindow a  = CHtmlWindow
+
+-- | Pointer to an object of type 'WXCHtmlWindow', derived from 'HtmlWindow'.
+type WXCHtmlWindow a  = HtmlWindow (CWXCHtmlWindow a)
+-- | Inheritance type of the WXCHtmlWindow class.
+type TWXCHtmlWindow a  = THtmlWindow (CWXCHtmlWindow a)
+-- | Abstract type of the WXCHtmlWindow class.
+data CWXCHtmlWindow a  = CWXCHtmlWindow
+
+-- | Pointer to an object of type 'PreviewControlBar', derived from 'Panel'.
+type PreviewControlBar a  = Panel (CPreviewControlBar a)
+-- | Inheritance type of the PreviewControlBar class.
+type TPreviewControlBar a  = TPanel (CPreviewControlBar a)
+-- | Abstract type of the PreviewControlBar class.
+data CPreviewControlBar a  = CPreviewControlBar
+
+-- | Pointer to an object of type 'WXCPreviewControlBar', derived from 'PreviewControlBar'.
+type WXCPreviewControlBar a  = PreviewControlBar (CWXCPreviewControlBar a)
+-- | Inheritance type of the WXCPreviewControlBar class.
+type TWXCPreviewControlBar a  = TPreviewControlBar (CWXCPreviewControlBar a)
+-- | Abstract type of the WXCPreviewControlBar class.
+data CWXCPreviewControlBar a  = CWXCPreviewControlBar
+
+-- | Pointer to an object of type 'WizardPage', derived from 'Panel'.
+type WizardPage a  = Panel (CWizardPage a)
+-- | Inheritance type of the WizardPage class.
+type TWizardPage a  = TPanel (CWizardPage a)
+-- | Abstract type of the WizardPage class.
+data CWizardPage a  = CWizardPage
+
+-- | Pointer to an object of type 'WizardPageSimple', derived from 'WizardPage'.
+type WizardPageSimple a  = WizardPage (CWizardPageSimple a)
+-- | Inheritance type of the WizardPageSimple class.
+type TWizardPageSimple a  = TWizardPage (CWizardPageSimple a)
+-- | Abstract type of the WizardPageSimple class.
+data CWizardPageSimple a  = CWizardPageSimple
+
+-- | Pointer to an object of type 'NewBitmapButton', derived from 'Panel'.
+type NewBitmapButton a  = Panel (CNewBitmapButton a)
+-- | Inheritance type of the NewBitmapButton class.
+type TNewBitmapButton a  = TPanel (CNewBitmapButton a)
+-- | Abstract type of the NewBitmapButton class.
+data CNewBitmapButton a  = CNewBitmapButton
+
+-- | Pointer to an object of type 'EditableListBox', derived from 'Panel'.
+type EditableListBox a  = Panel (CEditableListBox a)
+-- | Inheritance type of the EditableListBox class.
+type TEditableListBox a  = TPanel (CEditableListBox a)
+-- | Abstract type of the EditableListBox class.
+data CEditableListBox a  = CEditableListBox
+
+-- | Pointer to an object of type 'DynamicSashWindow', derived from 'Window'.
+type DynamicSashWindow a  = Window (CDynamicSashWindow a)
+-- | Inheritance type of the DynamicSashWindow class.
+type TDynamicSashWindow a  = TWindow (CDynamicSashWindow a)
+-- | Abstract type of the DynamicSashWindow class.
+data CDynamicSashWindow a  = CDynamicSashWindow
+
+-- | Pointer to an object of type 'PopupWindow', derived from 'Window'.
+type PopupWindow a  = Window (CPopupWindow a)
+-- | Inheritance type of the PopupWindow class.
+type TPopupWindow a  = TWindow (CPopupWindow a)
+-- | Abstract type of the PopupWindow class.
+data CPopupWindow a  = CPopupWindow
+
+-- | Pointer to an object of type 'PopupTransientWindow', derived from 'PopupWindow'.
+type PopupTransientWindow a  = PopupWindow (CPopupTransientWindow a)
+-- | Inheritance type of the PopupTransientWindow class.
+type TPopupTransientWindow a  = TPopupWindow (CPopupTransientWindow a)
+-- | Abstract type of the PopupTransientWindow class.
+data CPopupTransientWindow a  = CPopupTransientWindow
+
+-- | Pointer to an object of type 'TipWindow', derived from 'PopupTransientWindow'.
+type TipWindow a  = PopupTransientWindow (CTipWindow a)
+-- | Inheritance type of the TipWindow class.
+type TTipWindow a  = TPopupTransientWindow (CTipWindow a)
+-- | Abstract type of the TipWindow class.
+data CTipWindow a  = CTipWindow
+
+-- | Pointer to an object of type 'SashWindow', derived from 'Window'.
+type SashWindow a  = Window (CSashWindow a)
+-- | Inheritance type of the SashWindow class.
+type TSashWindow a  = TWindow (CSashWindow a)
+-- | Abstract type of the SashWindow class.
+data CSashWindow a  = CSashWindow
+
+-- | Pointer to an object of type 'SashLayoutWindow', derived from 'SashWindow'.
+type SashLayoutWindow a  = SashWindow (CSashLayoutWindow a)
+-- | Inheritance type of the SashLayoutWindow class.
+type TSashLayoutWindow a  = TSashWindow (CSashLayoutWindow a)
+-- | Abstract type of the SashLayoutWindow class.
+data CSashLayoutWindow a  = CSashLayoutWindow
+
+-- | Pointer to an object of type 'SplitterWindow', derived from 'Window'.
+type SplitterWindow a  = Window (CSplitterWindow a)
+-- | Inheritance type of the SplitterWindow class.
+type TSplitterWindow a  = TWindow (CSplitterWindow a)
+-- | Abstract type of the SplitterWindow class.
+data CSplitterWindow a  = CSplitterWindow
+
+-- | Pointer to an object of type 'ThinSplitterWindow', derived from 'SplitterWindow'.
+type ThinSplitterWindow a  = SplitterWindow (CThinSplitterWindow a)
+-- | Inheritance type of the ThinSplitterWindow class.
+type TThinSplitterWindow a  = TSplitterWindow (CThinSplitterWindow a)
+-- | Abstract type of the ThinSplitterWindow class.
+data CThinSplitterWindow a  = CThinSplitterWindow
+
+-- | Pointer to an object of type 'TreeCompanionWindow', derived from 'Window'.
+type TreeCompanionWindow a  = Window (CTreeCompanionWindow a)
+-- | Inheritance type of the TreeCompanionWindow class.
+type TTreeCompanionWindow a  = TWindow (CTreeCompanionWindow a)
+-- | Abstract type of the TreeCompanionWindow class.
+data CTreeCompanionWindow a  = CTreeCompanionWindow
+
+-- | Pointer to an object of type 'MediaCtrl', derived from 'Window'.
+type MediaCtrl a  = Window (CMediaCtrl a)
+-- | Inheritance type of the MediaCtrl class.
+type TMediaCtrl a  = TWindow (CMediaCtrl a)
+-- | Abstract type of the MediaCtrl class.
+data CMediaCtrl a  = CMediaCtrl
+
+-- | Pointer to an object of type 'StatusBar', derived from 'Window'.
+type StatusBar a  = Window (CStatusBar a)
+-- | Inheritance type of the StatusBar class.
+type TStatusBar a  = TWindow (CStatusBar a)
+-- | Abstract type of the StatusBar class.
+data CStatusBar a  = CStatusBar
+
+-- | Pointer to an object of type 'MDIClientWindow', derived from 'Window'.
+type MDIClientWindow a  = Window (CMDIClientWindow a)
+-- | Inheritance type of the MDIClientWindow class.
+type TMDIClientWindow a  = TWindow (CMDIClientWindow a)
+-- | Abstract type of the MDIClientWindow class.
+data CMDIClientWindow a  = CMDIClientWindow
+
+-- | Pointer to an object of type 'GLCanvas', derived from 'Window'.
+type GLCanvas a  = Window (CGLCanvas a)
+-- | Inheritance type of the GLCanvas class.
+type TGLCanvas a  = TWindow (CGLCanvas a)
+-- | Abstract type of the GLCanvas class.
+data CGLCanvas a  = CGLCanvas
+
+-- | Pointer to an object of type 'DrawWindow', derived from 'Window'.
+type DrawWindow a  = Window (CDrawWindow a)
+-- | Inheritance type of the DrawWindow class.
+type TDrawWindow a  = TWindow (CDrawWindow a)
+-- | Abstract type of the DrawWindow class.
+data CDrawWindow a  = CDrawWindow
+
+-- | Pointer to an object of type 'Control', derived from 'Window'.
+type Control a  = Window (CControl a)
+-- | Inheritance type of the Control class.
+type TControl a  = TWindow (CControl a)
+-- | Abstract type of the Control class.
+data CControl a  = CControl
+
+-- | Pointer to an object of type 'Slider', derived from 'Control'.
+type Slider a  = Control (CSlider a)
+-- | Inheritance type of the Slider class.
+type TSlider a  = TControl (CSlider a)
+-- | Abstract type of the Slider class.
+data CSlider a  = CSlider
+
+-- | Pointer to an object of type 'SliderMSW', derived from 'Slider'.
+type SliderMSW a  = Slider (CSliderMSW a)
+-- | Inheritance type of the SliderMSW class.
+type TSliderMSW a  = TSlider (CSliderMSW a)
+-- | Abstract type of the SliderMSW class.
+data CSliderMSW a  = CSliderMSW
+
+-- | Pointer to an object of type 'Slider95', derived from 'Slider'.
+type Slider95 a  = Slider (CSlider95 a)
+-- | Inheritance type of the Slider95 class.
+type TSlider95 a  = TSlider (CSlider95 a)
+-- | Abstract type of the Slider95 class.
+data CSlider95 a  = CSlider95
+
+-- | Pointer to an object of type 'Gauge', derived from 'Control'.
+type Gauge a  = Control (CGauge a)
+-- | Inheritance type of the Gauge class.
+type TGauge a  = TControl (CGauge a)
+-- | Abstract type of the Gauge class.
+data CGauge a  = CGauge
+
+-- | Pointer to an object of type 'GaugeMSW', derived from 'Gauge'.
+type GaugeMSW a  = Gauge (CGaugeMSW a)
+-- | Inheritance type of the GaugeMSW class.
+type TGaugeMSW a  = TGauge (CGaugeMSW a)
+-- | Abstract type of the GaugeMSW class.
+data CGaugeMSW a  = CGaugeMSW
+
+-- | Pointer to an object of type 'Gauge95', derived from 'Gauge'.
+type Gauge95 a  = Gauge (CGauge95 a)
+-- | Inheritance type of the Gauge95 class.
+type TGauge95 a  = TGauge (CGauge95 a)
+-- | Abstract type of the Gauge95 class.
+data CGauge95 a  = CGauge95
+
+-- | Pointer to an object of type 'StyledTextCtrl', derived from 'Control'.
+type StyledTextCtrl a  = Control (CStyledTextCtrl a)
+-- | Inheritance type of the StyledTextCtrl class.
+type TStyledTextCtrl a  = TControl (CStyledTextCtrl a)
+-- | Abstract type of the StyledTextCtrl class.
+data CStyledTextCtrl a  = CStyledTextCtrl
+
+-- | Pointer to an object of type 'PickerBase', derived from 'Control'.
+type PickerBase a  = Control (CPickerBase a)
+-- | Inheritance type of the PickerBase class.
+type TPickerBase a  = TControl (CPickerBase a)
+-- | Abstract type of the PickerBase class.
+data CPickerBase a  = CPickerBase
+
+-- | Pointer to an object of type 'ColourPickerCtrl', derived from 'PickerBase'.
+type ColourPickerCtrl a  = PickerBase (CColourPickerCtrl a)
+-- | Inheritance type of the ColourPickerCtrl class.
+type TColourPickerCtrl a  = TPickerBase (CColourPickerCtrl a)
+-- | Abstract type of the ColourPickerCtrl class.
+data CColourPickerCtrl a  = CColourPickerCtrl
+
+-- | Pointer to an object of type 'HyperlinkCtrl', derived from 'Control'.
+type HyperlinkCtrl a  = Control (CHyperlinkCtrl a)
+-- | Inheritance type of the HyperlinkCtrl class.
+type THyperlinkCtrl a  = TControl (CHyperlinkCtrl a)
+-- | Abstract type of the HyperlinkCtrl class.
+data CHyperlinkCtrl a  = CHyperlinkCtrl
+
+-- | Pointer to an object of type 'PropertyGrid', derived from 'Control'.
+type PropertyGrid a  = Control (CPropertyGrid a)
+-- | Inheritance type of the PropertyGrid class.
+type TPropertyGrid a  = TControl (CPropertyGrid a)
+-- | Abstract type of the PropertyGrid class.
+data CPropertyGrid a  = CPropertyGrid
+
+-- | Pointer to an object of type 'TreeCtrl', derived from 'Control'.
+type TreeCtrl a  = Control (CTreeCtrl a)
+-- | Inheritance type of the TreeCtrl class.
+type TTreeCtrl a  = TControl (CTreeCtrl a)
+-- | Abstract type of the TreeCtrl class.
+data CTreeCtrl a  = CTreeCtrl
+
+-- | Pointer to an object of type 'RemotelyScrolledTreeCtrl', derived from 'TreeCtrl'.
+type RemotelyScrolledTreeCtrl a  = TreeCtrl (CRemotelyScrolledTreeCtrl a)
+-- | Inheritance type of the RemotelyScrolledTreeCtrl class.
+type TRemotelyScrolledTreeCtrl a  = TTreeCtrl (CRemotelyScrolledTreeCtrl a)
+-- | Abstract type of the RemotelyScrolledTreeCtrl class.
+data CRemotelyScrolledTreeCtrl a  = CRemotelyScrolledTreeCtrl
+
+-- | Pointer to an object of type 'ToolBarBase', derived from 'Control'.
+type ToolBarBase a  = Control (CToolBarBase a)
+-- | Inheritance type of the ToolBarBase class.
+type TToolBarBase a  = TControl (CToolBarBase a)
+-- | Abstract type of the ToolBarBase class.
+data CToolBarBase a  = CToolBarBase
+
+-- | Pointer to an object of type 'DynamicToolBar', derived from 'ToolBarBase'.
+type DynamicToolBar a  = ToolBarBase (CDynamicToolBar a)
+-- | Inheritance type of the DynamicToolBar class.
+type TDynamicToolBar a  = TToolBarBase (CDynamicToolBar a)
+-- | Abstract type of the DynamicToolBar class.
+data CDynamicToolBar a  = CDynamicToolBar
+
+-- | Pointer to an object of type 'ToolBar', derived from 'ToolBarBase'.
+type ToolBar a  = ToolBarBase (CToolBar a)
+-- | Inheritance type of the ToolBar class.
+type TToolBar a  = TToolBarBase (CToolBar a)
+-- | Abstract type of the ToolBar class.
+data CToolBar a  = CToolBar
+
+-- | Pointer to an object of type 'ToggleButton', derived from 'Control'.
+type ToggleButton a  = Control (CToggleButton a)
+-- | Inheritance type of the ToggleButton class.
+type TToggleButton a  = TControl (CToggleButton a)
+-- | Abstract type of the ToggleButton class.
+data CToggleButton a  = CToggleButton
+
+-- | Pointer to an object of type 'BitmapToggleButton', derived from 'ToggleButton'.
+type BitmapToggleButton a  = ToggleButton (CBitmapToggleButton a)
+-- | Inheritance type of the BitmapToggleButton class.
+type TBitmapToggleButton a  = TToggleButton (CBitmapToggleButton a)
+-- | Abstract type of the BitmapToggleButton class.
+data CBitmapToggleButton a  = CBitmapToggleButton
+
+-- | Pointer to an object of type 'TextCtrl', derived from 'Control'.
+type TextCtrl a  = Control (CTextCtrl a)
+-- | Inheritance type of the TextCtrl class.
+type TTextCtrl a  = TControl (CTextCtrl a)
+-- | Abstract type of the TextCtrl class.
+data CTextCtrl a  = CTextCtrl
+
+-- | Pointer to an object of type 'TabCtrl', derived from 'Control'.
+type TabCtrl a  = Control (CTabCtrl a)
+-- | Inheritance type of the TabCtrl class.
+type TTabCtrl a  = TControl (CTabCtrl a)
+-- | Abstract type of the TabCtrl class.
+data CTabCtrl a  = CTabCtrl
+
+-- | Pointer to an object of type 'StaticText', derived from 'Control'.
+type StaticText a  = Control (CStaticText a)
+-- | Inheritance type of the StaticText class.
+type TStaticText a  = TControl (CStaticText a)
+-- | Abstract type of the StaticText class.
+data CStaticText a  = CStaticText
+
+-- | Pointer to an object of type 'StaticLine', derived from 'Control'.
+type StaticLine a  = Control (CStaticLine a)
+-- | Inheritance type of the StaticLine class.
+type TStaticLine a  = TControl (CStaticLine a)
+-- | Abstract type of the StaticLine class.
+data CStaticLine a  = CStaticLine
+
+-- | Pointer to an object of type 'StaticBox', derived from 'Control'.
+type StaticBox a  = Control (CStaticBox a)
+-- | Inheritance type of the StaticBox class.
+type TStaticBox a  = TControl (CStaticBox a)
+-- | Abstract type of the StaticBox class.
+data CStaticBox a  = CStaticBox
+
+-- | Pointer to an object of type 'StaticBitmap', derived from 'Control'.
+type StaticBitmap a  = Control (CStaticBitmap a)
+-- | Inheritance type of the StaticBitmap class.
+type TStaticBitmap a  = TControl (CStaticBitmap a)
+-- | Abstract type of the StaticBitmap class.
+data CStaticBitmap a  = CStaticBitmap
+
+-- | Pointer to an object of type 'SpinCtrl', derived from 'Control'.
+type SpinCtrl a  = Control (CSpinCtrl a)
+-- | Inheritance type of the SpinCtrl class.
+type TSpinCtrl a  = TControl (CSpinCtrl a)
+-- | Abstract type of the SpinCtrl class.
+data CSpinCtrl a  = CSpinCtrl
+
+-- | Pointer to an object of type 'SpinButton', derived from 'Control'.
+type SpinButton a  = Control (CSpinButton a)
+-- | Inheritance type of the SpinButton class.
+type TSpinButton a  = TControl (CSpinButton a)
+-- | Abstract type of the SpinButton class.
+data CSpinButton a  = CSpinButton
+
+-- | Pointer to an object of type 'ScrollBar', derived from 'Control'.
+type ScrollBar a  = Control (CScrollBar a)
+-- | Inheritance type of the ScrollBar class.
+type TScrollBar a  = TControl (CScrollBar a)
+-- | Abstract type of the ScrollBar class.
+data CScrollBar a  = CScrollBar
+
+-- | Pointer to an object of type 'RadioButton', derived from 'Control'.
+type RadioButton a  = Control (CRadioButton a)
+-- | Inheritance type of the RadioButton class.
+type TRadioButton a  = TControl (CRadioButton a)
+-- | Abstract type of the RadioButton class.
+data CRadioButton a  = CRadioButton
+
+-- | Pointer to an object of type 'RadioBox', derived from 'Control'.
+type RadioBox a  = Control (CRadioBox a)
+-- | Inheritance type of the RadioBox class.
+type TRadioBox a  = TControl (CRadioBox a)
+-- | Abstract type of the RadioBox class.
+data CRadioBox a  = CRadioBox
+
+-- | Pointer to an object of type 'Notebook', derived from 'Control'.
+type Notebook a  = Control (CNotebook a)
+-- | Inheritance type of the Notebook class.
+type TNotebook a  = TControl (CNotebook a)
+-- | Abstract type of the Notebook class.
+data CNotebook a  = CNotebook
+
+-- | Pointer to an object of type 'ListCtrl', derived from 'Control'.
+type ListCtrl a  = Control (CListCtrl a)
+-- | Inheritance type of the ListCtrl class.
+type TListCtrl a  = TControl (CListCtrl a)
+-- | Abstract type of the ListCtrl class.
+data CListCtrl a  = CListCtrl
+
+-- | Pointer to an object of type 'ListBox', derived from 'Control'.
+type ListBox a  = Control (CListBox a)
+-- | Inheritance type of the ListBox class.
+type TListBox a  = TControl (CListBox a)
+-- | Abstract type of the ListBox class.
+data CListBox a  = CListBox
+
+-- | Pointer to an object of type 'CheckListBox', derived from 'ListBox'.
+type CheckListBox a  = ListBox (CCheckListBox a)
+-- | Inheritance type of the CheckListBox class.
+type TCheckListBox a  = TListBox (CCheckListBox a)
+-- | Abstract type of the CheckListBox class.
+data CCheckListBox a  = CCheckListBox
+
+-- | Pointer to an object of type 'LEDNumberCtrl', derived from 'Control'.
+type LEDNumberCtrl a  = Control (CLEDNumberCtrl a)
+-- | Inheritance type of the LEDNumberCtrl class.
+type TLEDNumberCtrl a  = TControl (CLEDNumberCtrl a)
+-- | Abstract type of the LEDNumberCtrl class.
+data CLEDNumberCtrl a  = CLEDNumberCtrl
+
+-- | Pointer to an object of type 'GenericDirCtrl', derived from 'Control'.
+type GenericDirCtrl a  = Control (CGenericDirCtrl a)
+-- | Inheritance type of the GenericDirCtrl class.
+type TGenericDirCtrl a  = TControl (CGenericDirCtrl a)
+-- | Abstract type of the GenericDirCtrl class.
+data CGenericDirCtrl a  = CGenericDirCtrl
+
+-- | Pointer to an object of type 'DrawControl', derived from 'Control'.
+type DrawControl a  = Control (CDrawControl a)
+-- | Inheritance type of the DrawControl class.
+type TDrawControl a  = TControl (CDrawControl a)
+-- | Abstract type of the DrawControl class.
+data CDrawControl a  = CDrawControl
+
+-- | Pointer to an object of type 'Button', derived from 'Control'.
+type Button a  = Control (CButton a)
+-- | Inheritance type of the Button class.
+type TButton a  = TControl (CButton a)
+-- | Abstract type of the Button class.
+data CButton a  = CButton
+
+-- | Pointer to an object of type 'BitmapButton', derived from 'Button'.
+type BitmapButton a  = Button (CBitmapButton a)
+-- | Inheritance type of the BitmapButton class.
+type TBitmapButton a  = TButton (CBitmapButton a)
+-- | Abstract type of the BitmapButton class.
+data CBitmapButton a  = CBitmapButton
+
+-- | Pointer to an object of type 'ContextHelpButton', derived from 'BitmapButton'.
+type ContextHelpButton a  = BitmapButton (CContextHelpButton a)
+-- | Inheritance type of the ContextHelpButton class.
+type TContextHelpButton a  = TBitmapButton (CContextHelpButton a)
+-- | Abstract type of the ContextHelpButton class.
+data CContextHelpButton a  = CContextHelpButton
+
+-- | Pointer to an object of type 'Choice', derived from 'Control'.
+type Choice a  = Control (CChoice a)
+-- | Inheritance type of the Choice class.
+type TChoice a  = TControl (CChoice a)
+-- | Abstract type of the Choice class.
+data CChoice a  = CChoice
+
+-- | Pointer to an object of type 'ComboBox', derived from 'Choice'.
+type ComboBox a  = Choice (CComboBox a)
+-- | Inheritance type of the ComboBox class.
+type TComboBox a  = TChoice (CComboBox a)
+-- | Abstract type of the ComboBox class.
+data CComboBox a  = CComboBox
+
+-- | Pointer to an object of type 'CheckBox', derived from 'Control'.
+type CheckBox a  = Control (CCheckBox a)
+-- | Inheritance type of the CheckBox class.
+type TCheckBox a  = TControl (CCheckBox a)
+-- | Abstract type of the CheckBox class.
+data CCheckBox a  = CCheckBox
+
+-- | Pointer to an object of type 'CalendarCtrl', derived from 'Control'.
+type CalendarCtrl a  = Control (CCalendarCtrl a)
+-- | Inheritance type of the CalendarCtrl class.
+type TCalendarCtrl a  = TControl (CCalendarCtrl a)
+-- | Abstract type of the CalendarCtrl class.
+data CCalendarCtrl a  = CCalendarCtrl
+
+-- | Pointer to an object of type 'BookCtrlBase', derived from 'Control'.
+type BookCtrlBase a  = Control (CBookCtrlBase a)
+-- | Inheritance type of the BookCtrlBase class.
+type TBookCtrlBase a  = TControl (CBookCtrlBase a)
+-- | Abstract type of the BookCtrlBase class.
+data CBookCtrlBase a  = CBookCtrlBase
+
+-- | Pointer to an object of type 'AuiNotebook', derived from 'BookCtrlBase'.
+type AuiNotebook a  = BookCtrlBase (CAuiNotebook a)
+-- | Inheritance type of the AuiNotebook class.
+type TAuiNotebook a  = TBookCtrlBase (CAuiNotebook a)
+-- | Abstract type of the AuiNotebook class.
+data CAuiNotebook a  = CAuiNotebook
+
+-- | Pointer to an object of type 'AuiTabCtrl', derived from 'Control'.
+type AuiTabCtrl a  = Control (CAuiTabCtrl a)
+-- | Inheritance type of the AuiTabCtrl class.
+type TAuiTabCtrl a  = TControl (CAuiTabCtrl a)
+-- | Abstract type of the AuiTabCtrl class.
+data CAuiTabCtrl a  = CAuiTabCtrl
+
+-- | Pointer to an object of type 'AuiToolBar', derived from 'Control'.
+type AuiToolBar a  = Control (CAuiToolBar a)
+-- | Inheritance type of the AuiToolBar class.
+type TAuiToolBar a  = TControl (CAuiToolBar a)
+-- | Abstract type of the AuiToolBar class.
+data CAuiToolBar a  = CAuiToolBar
+
+-- | Pointer to an object of type 'TopLevelWindow', derived from 'Window'.
+type TopLevelWindow a  = Window (CTopLevelWindow a)
+-- | Inheritance type of the TopLevelWindow class.
+type TTopLevelWindow a  = TWindow (CTopLevelWindow a)
+-- | Abstract type of the TopLevelWindow class.
+data CTopLevelWindow a  = CTopLevelWindow
+
+-- | Pointer to an object of type 'Frame', derived from 'TopLevelWindow'.
+type Frame a  = TopLevelWindow (CFrame a)
+-- | Inheritance type of the Frame class.
+type TFrame a  = TTopLevelWindow (CFrame a)
+-- | Abstract type of the Frame class.
+data CFrame a  = CFrame
+
+-- | Pointer to an object of type 'PreviewFrame', derived from 'Frame'.
+type PreviewFrame a  = Frame (CPreviewFrame a)
+-- | Inheritance type of the PreviewFrame class.
+type TPreviewFrame a  = TFrame (CPreviewFrame a)
+-- | Abstract type of the PreviewFrame class.
+data CPreviewFrame a  = CPreviewFrame
+
+-- | Pointer to an object of type 'WXCPreviewFrame', derived from 'PreviewFrame'.
+type WXCPreviewFrame a  = PreviewFrame (CWXCPreviewFrame a)
+-- | Inheritance type of the WXCPreviewFrame class.
+type TWXCPreviewFrame a  = TPreviewFrame (CWXCPreviewFrame a)
+-- | Abstract type of the WXCPreviewFrame class.
+data CWXCPreviewFrame a  = CWXCPreviewFrame
+
+-- | Pointer to an object of type 'DocChildFrame', derived from 'Frame'.
+type DocChildFrame a  = Frame (CDocChildFrame a)
+-- | Inheritance type of the DocChildFrame class.
+type TDocChildFrame a  = TFrame (CDocChildFrame a)
+-- | Abstract type of the DocChildFrame class.
+data CDocChildFrame a  = CDocChildFrame
+
+-- | Pointer to an object of type 'MDIParentFrame', derived from 'Frame'.
+type MDIParentFrame a  = Frame (CMDIParentFrame a)
+-- | Inheritance type of the MDIParentFrame class.
+type TMDIParentFrame a  = TFrame (CMDIParentFrame a)
+-- | Abstract type of the MDIParentFrame class.
+data CMDIParentFrame a  = CMDIParentFrame
+
+-- | Pointer to an object of type 'DocMDIParentFrame', derived from 'MDIParentFrame'.
+type DocMDIParentFrame a  = MDIParentFrame (CDocMDIParentFrame a)
+-- | Inheritance type of the DocMDIParentFrame class.
+type TDocMDIParentFrame a  = TMDIParentFrame (CDocMDIParentFrame a)
+-- | Abstract type of the DocMDIParentFrame class.
+data CDocMDIParentFrame a  = CDocMDIParentFrame
+
+-- | Pointer to an object of type 'MiniFrame', derived from 'Frame'.
+type MiniFrame a  = Frame (CMiniFrame a)
+-- | Inheritance type of the MiniFrame class.
+type TMiniFrame a  = TFrame (CMiniFrame a)
+-- | Abstract type of the MiniFrame class.
+data CMiniFrame a  = CMiniFrame
+
+-- | Pointer to an object of type 'ProgressDialog', derived from 'Frame'.
+type ProgressDialog a  = Frame (CProgressDialog a)
+-- | Inheritance type of the ProgressDialog class.
+type TProgressDialog a  = TFrame (CProgressDialog a)
+-- | Abstract type of the ProgressDialog class.
+data CProgressDialog a  = CProgressDialog
+
+-- | Pointer to an object of type 'SplashScreen', derived from 'Frame'.
+type SplashScreen a  = Frame (CSplashScreen a)
+-- | Inheritance type of the SplashScreen class.
+type TSplashScreen a  = TFrame (CSplashScreen a)
+-- | Abstract type of the SplashScreen class.
+data CSplashScreen a  = CSplashScreen
+
+-- | Pointer to an object of type 'HtmlHelpFrame', derived from 'Frame'.
+type HtmlHelpFrame a  = Frame (CHtmlHelpFrame a)
+-- | Inheritance type of the HtmlHelpFrame class.
+type THtmlHelpFrame a  = TFrame (CHtmlHelpFrame a)
+-- | Abstract type of the HtmlHelpFrame class.
+data CHtmlHelpFrame a  = CHtmlHelpFrame
+
+-- | Pointer to an object of type 'DocParentFrame', derived from 'Frame'.
+type DocParentFrame a  = Frame (CDocParentFrame a)
+-- | Inheritance type of the DocParentFrame class.
+type TDocParentFrame a  = TFrame (CDocParentFrame a)
+-- | Abstract type of the DocParentFrame class.
+data CDocParentFrame a  = CDocParentFrame
+
+-- | Pointer to an object of type 'MDIChildFrame', derived from 'Frame'.
+type MDIChildFrame a  = Frame (CMDIChildFrame a)
+-- | Inheritance type of the MDIChildFrame class.
+type TMDIChildFrame a  = TFrame (CMDIChildFrame a)
+-- | Abstract type of the MDIChildFrame class.
+data CMDIChildFrame a  = CMDIChildFrame
+
+-- | Pointer to an object of type 'DocMDIChildFrame', derived from 'MDIChildFrame'.
+type DocMDIChildFrame a  = MDIChildFrame (CDocMDIChildFrame a)
+-- | Inheritance type of the DocMDIChildFrame class.
+type TDocMDIChildFrame a  = TMDIChildFrame (CDocMDIChildFrame a)
+-- | Abstract type of the DocMDIChildFrame class.
+data CDocMDIChildFrame a  = CDocMDIChildFrame
+
+-- | Pointer to an object of type 'ToolWindow', derived from 'Frame'.
+type ToolWindow a  = Frame (CToolWindow a)
+-- | Inheritance type of the ToolWindow class.
+type TToolWindow a  = TFrame (CToolWindow a)
+-- | Abstract type of the ToolWindow class.
+data CToolWindow a  = CToolWindow
+
+-- | Pointer to an object of type 'CbFloatedBarWindow', derived from 'ToolWindow'.
+type CbFloatedBarWindow a  = ToolWindow (CCbFloatedBarWindow a)
+-- | Inheritance type of the CbFloatedBarWindow class.
+type TCbFloatedBarWindow a  = TToolWindow (CCbFloatedBarWindow a)
+-- | Abstract type of the CbFloatedBarWindow class.
+data CCbFloatedBarWindow a  = CCbFloatedBarWindow
+
+-- | Pointer to an object of type 'Dialog', derived from 'TopLevelWindow'.
+type Dialog a  = TopLevelWindow (CDialog a)
+-- | Inheritance type of the Dialog class.
+type TDialog a  = TTopLevelWindow (CDialog a)
+-- | Abstract type of the Dialog class.
+data CDialog a  = CDialog
+
+-- | Pointer to an object of type 'ColourDialog', derived from 'Dialog'.
+type ColourDialog a  = Dialog (CColourDialog a)
+-- | Inheritance type of the ColourDialog class.
+type TColourDialog a  = TDialog (CColourDialog a)
+-- | Abstract type of the ColourDialog class.
+data CColourDialog a  = CColourDialog
+
+-- | Pointer to an object of type 'DirDialog', derived from 'Dialog'.
+type DirDialog a  = Dialog (CDirDialog a)
+-- | Inheritance type of the DirDialog class.
+type TDirDialog a  = TDialog (CDirDialog a)
+-- | Abstract type of the DirDialog class.
+data CDirDialog a  = CDirDialog
+
+-- | Pointer to an object of type 'FindReplaceDialog', derived from 'Dialog'.
+type FindReplaceDialog a  = Dialog (CFindReplaceDialog a)
+-- | Inheritance type of the FindReplaceDialog class.
+type TFindReplaceDialog a  = TDialog (CFindReplaceDialog a)
+-- | Abstract type of the FindReplaceDialog class.
+data CFindReplaceDialog a  = CFindReplaceDialog
+
+-- | Pointer to an object of type 'MessageDialog', derived from 'Dialog'.
+type MessageDialog a  = Dialog (CMessageDialog a)
+-- | Inheritance type of the MessageDialog class.
+type TMessageDialog a  = TDialog (CMessageDialog a)
+-- | Abstract type of the MessageDialog class.
+data CMessageDialog a  = CMessageDialog
+
+-- | Pointer to an object of type 'PrintDialog', derived from 'Dialog'.
+type PrintDialog a  = Dialog (CPrintDialog a)
+-- | Inheritance type of the PrintDialog class.
+type TPrintDialog a  = TDialog (CPrintDialog a)
+-- | Abstract type of the PrintDialog class.
+data CPrintDialog a  = CPrintDialog
+
+-- | Pointer to an object of type 'TextEntryDialog', derived from 'Dialog'.
+type TextEntryDialog a  = Dialog (CTextEntryDialog a)
+-- | Inheritance type of the TextEntryDialog class.
+type TTextEntryDialog a  = TDialog (CTextEntryDialog a)
+-- | Abstract type of the TextEntryDialog class.
+data CTextEntryDialog a  = CTextEntryDialog
+
+-- | Pointer to an object of type 'Wizard', derived from 'Dialog'.
+type Wizard a  = Dialog (CWizard a)
+-- | Inheritance type of the Wizard class.
+type TWizard a  = TDialog (CWizard a)
+-- | Abstract type of the Wizard class.
+data CWizard a  = CWizard
+
+-- | Pointer to an object of type 'SingleChoiceDialog', derived from 'Dialog'.
+type SingleChoiceDialog a  = Dialog (CSingleChoiceDialog a)
+-- | Inheritance type of the SingleChoiceDialog class.
+type TSingleChoiceDialog a  = TDialog (CSingleChoiceDialog a)
+-- | Abstract type of the SingleChoiceDialog class.
+data CSingleChoiceDialog a  = CSingleChoiceDialog
+
+-- | Pointer to an object of type 'PageSetupDialog', derived from 'Dialog'.
+type PageSetupDialog a  = Dialog (CPageSetupDialog a)
+-- | Inheritance type of the PageSetupDialog class.
+type TPageSetupDialog a  = TDialog (CPageSetupDialog a)
+-- | Abstract type of the PageSetupDialog class.
+data CPageSetupDialog a  = CPageSetupDialog
+
+-- | Pointer to an object of type 'FontDialog', derived from 'Dialog'.
+type FontDialog a  = Dialog (CFontDialog a)
+-- | Inheritance type of the FontDialog class.
+type TFontDialog a  = TDialog (CFontDialog a)
+-- | Abstract type of the FontDialog class.
+data CFontDialog a  = CFontDialog
+
+-- | Pointer to an object of type 'FileDialog', derived from 'Dialog'.
+type FileDialog a  = Dialog (CFileDialog a)
+-- | Inheritance type of the FileDialog class.
+type TFileDialog a  = TDialog (CFileDialog a)
+-- | Abstract type of the FileDialog class.
+data CFileDialog a  = CFileDialog
+
+-- | Pointer to an object of type 'WXCPrintoutHandler', derived from 'EvtHandler'.
+type WXCPrintoutHandler a  = EvtHandler (CWXCPrintoutHandler a)
+-- | Inheritance type of the WXCPrintoutHandler class.
+type TWXCPrintoutHandler a  = TEvtHandler (CWXCPrintoutHandler a)
+-- | Abstract type of the WXCPrintoutHandler class.
+data CWXCPrintoutHandler a  = CWXCPrintoutHandler
+
+-- | Pointer to an object of type 'View', derived from 'EvtHandler'.
+type View a  = EvtHandler (CView a)
+-- | Inheritance type of the View class.
+type TView a  = TEvtHandler (CView a)
+-- | Abstract type of the View class.
+data CView a  = CView
+
+-- | Pointer to an object of type 'Validator', derived from 'EvtHandler'.
+type Validator a  = EvtHandler (CValidator a)
+-- | Inheritance type of the Validator class.
+type TValidator a  = TEvtHandler (CValidator a)
+-- | Abstract type of the Validator class.
+data CValidator a  = CValidator
+
+-- | Pointer to an object of type 'TextValidator', derived from 'Validator'.
+type TextValidator a  = Validator (CTextValidator a)
+-- | Inheritance type of the TextValidator class.
+type TTextValidator a  = TValidator (CTextValidator a)
+-- | Abstract type of the TextValidator class.
+data CTextValidator a  = CTextValidator
+
+-- | Pointer to an object of type 'WXCTextValidator', derived from 'TextValidator'.
+type WXCTextValidator a  = TextValidator (CWXCTextValidator a)
+-- | Inheritance type of the WXCTextValidator class.
+type TWXCTextValidator a  = TTextValidator (CWXCTextValidator a)
+-- | Abstract type of the WXCTextValidator class.
+data CWXCTextValidator a  = CWXCTextValidator
+
+-- | Pointer to an object of type 'GenericValidator', derived from 'Validator'.
+type GenericValidator a  = Validator (CGenericValidator a)
+-- | Inheritance type of the GenericValidator class.
+type TGenericValidator a  = TValidator (CGenericValidator a)
+-- | Abstract type of the GenericValidator class.
+data CGenericValidator a  = CGenericValidator
+
+-- | Pointer to an object of type 'TaskBarIcon', derived from 'EvtHandler'.
+type TaskBarIcon a  = EvtHandler (CTaskBarIcon a)
+-- | Inheritance type of the TaskBarIcon class.
+type TTaskBarIcon a  = TEvtHandler (CTaskBarIcon a)
+-- | Abstract type of the TaskBarIcon class.
+data CTaskBarIcon a  = CTaskBarIcon
+
+-- | Pointer to an object of type 'Process', derived from 'EvtHandler'.
+type Process a  = EvtHandler (CProcess a)
+-- | Inheritance type of the Process class.
+type TProcess a  = TEvtHandler (CProcess a)
+-- | Abstract type of the Process class.
+data CProcess a  = CProcess
+
+-- | Pointer to an object of type 'MenuBar', derived from 'EvtHandler'.
+type MenuBar a  = EvtHandler (CMenuBar a)
+-- | Inheritance type of the MenuBar class.
+type TMenuBar a  = TEvtHandler (CMenuBar a)
+-- | Abstract type of the MenuBar class.
+data CMenuBar a  = CMenuBar
+
+-- | Pointer to an object of type 'Menu', derived from 'EvtHandler'.
+type Menu a  = EvtHandler (CMenu a)
+-- | Inheritance type of the Menu class.
+type TMenu a  = TEvtHandler (CMenu a)
+-- | Abstract type of the Menu class.
+data CMenu a  = CMenu
+
+-- | Pointer to an object of type 'FrameLayout', derived from 'EvtHandler'.
+type FrameLayout a  = EvtHandler (CFrameLayout a)
+-- | Inheritance type of the FrameLayout class.
+type TFrameLayout a  = TEvtHandler (CFrameLayout a)
+-- | Abstract type of the FrameLayout class.
+data CFrameLayout a  = CFrameLayout
+
+-- | Pointer to an object of type 'Document', derived from 'EvtHandler'.
+type Document a  = EvtHandler (CDocument a)
+-- | Inheritance type of the Document class.
+type TDocument a  = TEvtHandler (CDocument a)
+-- | Abstract type of the Document class.
+data CDocument a  = CDocument
+
+-- | Pointer to an object of type 'DocManager', derived from 'EvtHandler'.
+type DocManager a  = EvtHandler (CDocManager a)
+-- | Inheritance type of the DocManager class.
+type TDocManager a  = TEvtHandler (CDocManager a)
+-- | Abstract type of the DocManager class.
+data CDocManager a  = CDocManager
+
+-- | Pointer to an object of type 'AuiManagerEvent', derived from 'EvtHandler'.
+type AuiManagerEvent a  = EvtHandler (CAuiManagerEvent a)
+-- | Inheritance type of the AuiManagerEvent class.
+type TAuiManagerEvent a  = TEvtHandler (CAuiManagerEvent a)
+-- | Abstract type of the AuiManagerEvent class.
+data CAuiManagerEvent a  = CAuiManagerEvent
+
+-- | Pointer to an object of type 'AuiManager', derived from 'EvtHandler'.
+type AuiManager a  = EvtHandler (CAuiManager a)
+-- | Inheritance type of the AuiManager class.
+type TAuiManager a  = TEvtHandler (CAuiManager a)
+-- | Abstract type of the AuiManager class.
+data CAuiManager a  = CAuiManager
+
+-- | Pointer to an object of type 'App', derived from 'EvtHandler'.
+type App a  = EvtHandler (CApp a)
+-- | Inheritance type of the App class.
+type TApp a  = TEvtHandler (CApp a)
+-- | Abstract type of the App class.
+data CApp a  = CApp
+
+-- | Pointer to an object of type 'WXCApp', derived from 'App'.
+type WXCApp a  = App (CWXCApp a)
+-- | Inheritance type of the WXCApp class.
+type TWXCApp a  = TApp (CWXCApp a)
+-- | Abstract type of the WXCApp class.
+data CWXCApp a  = CWXCApp
+
+-- | Pointer to an object of type 'CbPluginBase', derived from 'EvtHandler'.
+type CbPluginBase a  = EvtHandler (CCbPluginBase a)
+-- | Inheritance type of the CbPluginBase class.
+type TCbPluginBase a  = TEvtHandler (CCbPluginBase a)
+-- | Abstract type of the CbPluginBase class.
+data CCbPluginBase a  = CCbPluginBase
+
+-- | Pointer to an object of type 'CbAntiflickerPlugin', derived from 'CbPluginBase'.
+type CbAntiflickerPlugin a  = CbPluginBase (CCbAntiflickerPlugin a)
+-- | Inheritance type of the CbAntiflickerPlugin class.
+type TCbAntiflickerPlugin a  = TCbPluginBase (CCbAntiflickerPlugin a)
+-- | Abstract type of the CbAntiflickerPlugin class.
+data CCbAntiflickerPlugin a  = CCbAntiflickerPlugin
+
+-- | Pointer to an object of type 'CbBarHintsPlugin', derived from 'CbPluginBase'.
+type CbBarHintsPlugin a  = CbPluginBase (CCbBarHintsPlugin a)
+-- | Inheritance type of the CbBarHintsPlugin class.
+type TCbBarHintsPlugin a  = TCbPluginBase (CCbBarHintsPlugin a)
+-- | Abstract type of the CbBarHintsPlugin class.
+data CCbBarHintsPlugin a  = CCbBarHintsPlugin
+
+-- | Pointer to an object of type 'CbPaneDrawPlugin', derived from 'CbPluginBase'.
+type CbPaneDrawPlugin a  = CbPluginBase (CCbPaneDrawPlugin a)
+-- | Inheritance type of the CbPaneDrawPlugin class.
+type TCbPaneDrawPlugin a  = TCbPluginBase (CCbPaneDrawPlugin a)
+-- | Abstract type of the CbPaneDrawPlugin class.
+data CCbPaneDrawPlugin a  = CCbPaneDrawPlugin
+
+-- | Pointer to an object of type 'CbRowDragPlugin', derived from 'CbPluginBase'.
+type CbRowDragPlugin a  = CbPluginBase (CCbRowDragPlugin a)
+-- | Inheritance type of the CbRowDragPlugin class.
+type TCbRowDragPlugin a  = TCbPluginBase (CCbRowDragPlugin a)
+-- | Abstract type of the CbRowDragPlugin class.
+data CCbRowDragPlugin a  = CCbRowDragPlugin
+
+-- | Pointer to an object of type 'CbSimpleCustomizationPlugin', derived from 'CbPluginBase'.
+type CbSimpleCustomizationPlugin a  = CbPluginBase (CCbSimpleCustomizationPlugin a)
+-- | Inheritance type of the CbSimpleCustomizationPlugin class.
+type TCbSimpleCustomizationPlugin a  = TCbPluginBase (CCbSimpleCustomizationPlugin a)
+-- | Abstract type of the CbSimpleCustomizationPlugin class.
+data CCbSimpleCustomizationPlugin a  = CCbSimpleCustomizationPlugin
+
+-- | Pointer to an object of type 'CbRowLayoutPlugin', derived from 'CbPluginBase'.
+type CbRowLayoutPlugin a  = CbPluginBase (CCbRowLayoutPlugin a)
+-- | Inheritance type of the CbRowLayoutPlugin class.
+type TCbRowLayoutPlugin a  = TCbPluginBase (CCbRowLayoutPlugin a)
+-- | Abstract type of the CbRowLayoutPlugin class.
+data CCbRowLayoutPlugin a  = CCbRowLayoutPlugin
+
+-- | Pointer to an object of type 'CbHintAnimationPlugin', derived from 'CbPluginBase'.
+type CbHintAnimationPlugin a  = CbPluginBase (CCbHintAnimationPlugin a)
+-- | Inheritance type of the CbHintAnimationPlugin class.
+type TCbHintAnimationPlugin a  = TCbPluginBase (CCbHintAnimationPlugin a)
+-- | Abstract type of the CbHintAnimationPlugin class.
+data CCbHintAnimationPlugin a  = CCbHintAnimationPlugin
+
+-- | Pointer to an object of type 'CbBarDragPlugin', derived from 'CbPluginBase'.
+type CbBarDragPlugin a  = CbPluginBase (CCbBarDragPlugin a)
+-- | Inheritance type of the CbBarDragPlugin class.
+type TCbBarDragPlugin a  = TCbPluginBase (CCbBarDragPlugin a)
+-- | Abstract type of the CbBarDragPlugin class.
+data CCbBarDragPlugin a  = CCbBarDragPlugin
+
+-- | Pointer to an object of type 'CbBarSpy', derived from 'EvtHandler'.
+type CbBarSpy a  = EvtHandler (CCbBarSpy a)
+-- | Inheritance type of the CbBarSpy class.
+type TCbBarSpy a  = TEvtHandler (CCbBarSpy a)
+-- | Abstract type of the CbBarSpy class.
+data CCbBarSpy a  = CCbBarSpy
+
+-- | Pointer to an object of type 'ClientBase', derived from 'WxObject'.
+type ClientBase a  = WxObject (CClientBase a)
+-- | Inheritance type of the ClientBase class.
+type TClientBase a  = TWxObject (CClientBase a)
+-- | Abstract type of the ClientBase class.
+data CClientBase a  = CClientBase
+
+-- | Pointer to an object of type 'DDEClient', derived from 'ClientBase'.
+type DDEClient a  = ClientBase (CDDEClient a)
+-- | Inheritance type of the DDEClient class.
+type TDDEClient a  = TClientBase (CDDEClient a)
+-- | Abstract type of the DDEClient class.
+data CDDEClient a  = CDDEClient
+
+-- | Pointer to an object of type 'Client', derived from 'ClientBase'.
+type Client a  = ClientBase (CClient a)
+-- | Inheritance type of the Client class.
+type TClient a  = TClientBase (CClient a)
+-- | Abstract type of the Client class.
+data CClient a  = CClient
+
+-- | Pointer to an object of type 'WXCClient', derived from 'Client'.
+type WXCClient a  = Client (CWXCClient a)
+-- | Inheritance type of the WXCClient class.
+type TWXCClient a  = TClient (CWXCClient a)
+-- | Abstract type of the WXCClient class.
+data CWXCClient a  = CWXCClient
+
+-- | Pointer to an object of type 'ConnectionBase', derived from 'WxObject'.
+type ConnectionBase a  = WxObject (CConnectionBase a)
+-- | Inheritance type of the ConnectionBase class.
+type TConnectionBase a  = TWxObject (CConnectionBase a)
+-- | Abstract type of the ConnectionBase class.
+data CConnectionBase a  = CConnectionBase
+
+-- | Pointer to an object of type 'DDEConnection', derived from 'ConnectionBase'.
+type DDEConnection a  = ConnectionBase (CDDEConnection a)
+-- | Inheritance type of the DDEConnection class.
+type TDDEConnection a  = TConnectionBase (CDDEConnection a)
+-- | Abstract type of the DDEConnection class.
+data CDDEConnection a  = CDDEConnection
+
+-- | Pointer to an object of type 'Connection', derived from 'ConnectionBase'.
+type Connection a  = ConnectionBase (CConnection a)
+-- | Inheritance type of the Connection class.
+type TConnection a  = TConnectionBase (CConnection a)
+-- | Abstract type of the Connection class.
+data CConnection a  = CConnection
+
+-- | Pointer to an object of type 'WXCConnection', derived from 'Connection'.
+type WXCConnection a  = Connection (CWXCConnection a)
+-- | Inheritance type of the WXCConnection class.
+type TWXCConnection a  = TConnection (CWXCConnection a)
+-- | Abstract type of the WXCConnection class.
+data CWXCConnection a  = CWXCConnection
+
+-- | Pointer to an object of type 'PlotCurve', derived from 'WxObject'.
+type PlotCurve a  = WxObject (CPlotCurve a)
+-- | Inheritance type of the PlotCurve class.
+type TPlotCurve a  = TWxObject (CPlotCurve a)
+-- | Abstract type of the PlotCurve class.
+data CPlotCurve a  = CPlotCurve
+
+-- | Pointer to an object of type 'WXCPlotCurve', derived from 'PlotCurve'.
+type WXCPlotCurve a  = PlotCurve (CWXCPlotCurve a)
+-- | Inheritance type of the WXCPlotCurve class.
+type TWXCPlotCurve a  = TPlotCurve (CWXCPlotCurve a)
+-- | Abstract type of the WXCPlotCurve class.
+data CWXCPlotCurve a  = CWXCPlotCurve
+
+-- | Pointer to an object of type 'CbBarInfo', derived from 'WxObject'.
+type CbBarInfo a  = WxObject (CCbBarInfo a)
+-- | Inheritance type of the CbBarInfo class.
+type TCbBarInfo a  = TWxObject (CCbBarInfo a)
+-- | Abstract type of the CbBarInfo class.
+data CCbBarInfo a  = CCbBarInfo
+
+-- | Pointer to an object of type 'CbMiniButton', derived from 'WxObject'.
+type CbMiniButton a  = WxObject (CCbMiniButton a)
+-- | Inheritance type of the CbMiniButton class.
+type TCbMiniButton a  = TWxObject (CCbMiniButton a)
+-- | Abstract type of the CbMiniButton class.
+data CCbMiniButton a  = CCbMiniButton
+
+-- | Pointer to an object of type 'CbDockBox', derived from 'CbMiniButton'.
+type CbDockBox a  = CbMiniButton (CCbDockBox a)
+-- | Inheritance type of the CbDockBox class.
+type TCbDockBox a  = TCbMiniButton (CCbDockBox a)
+-- | Abstract type of the CbDockBox class.
+data CCbDockBox a  = CCbDockBox
+
+-- | Pointer to an object of type 'CbCollapseBox', derived from 'CbMiniButton'.
+type CbCollapseBox a  = CbMiniButton (CCbCollapseBox a)
+-- | Inheritance type of the CbCollapseBox class.
+type TCbCollapseBox a  = TCbMiniButton (CCbCollapseBox a)
+-- | Abstract type of the CbCollapseBox class.
+data CCbCollapseBox a  = CCbCollapseBox
+
+-- | Pointer to an object of type 'CbCloseBox', derived from 'CbMiniButton'.
+type CbCloseBox a  = CbMiniButton (CCbCloseBox a)
+-- | Inheritance type of the CbCloseBox class.
+type TCbCloseBox a  = TCbMiniButton (CCbCloseBox a)
+-- | Abstract type of the CbCloseBox class.
+data CCbCloseBox a  = CCbCloseBox
+
+-- | Pointer to an object of type 'CbCommonPaneProperties', derived from 'WxObject'.
+type CbCommonPaneProperties a  = WxObject (CCbCommonPaneProperties a)
+-- | Inheritance type of the CbCommonPaneProperties class.
+type TCbCommonPaneProperties a  = TWxObject (CCbCommonPaneProperties a)
+-- | Abstract type of the CbCommonPaneProperties class.
+data CCbCommonPaneProperties a  = CCbCommonPaneProperties
+
+-- | Pointer to an object of type 'CbDimInfo', derived from 'WxObject'.
+type CbDimInfo a  = WxObject (CCbDimInfo a)
+-- | Inheritance type of the CbDimInfo class.
+type TCbDimInfo a  = TWxObject (CCbDimInfo a)
+-- | Abstract type of the CbDimInfo class.
+data CCbDimInfo a  = CCbDimInfo
+
+-- | Pointer to an object of type 'CbDockPane', derived from 'WxObject'.
+type CbDockPane a  = WxObject (CCbDockPane a)
+-- | Inheritance type of the CbDockPane class.
+type TCbDockPane a  = TWxObject (CCbDockPane a)
+-- | Abstract type of the CbDockPane class.
+data CCbDockPane a  = CCbDockPane
+
+-- | Pointer to an object of type 'CbUpdatesManagerBase', derived from 'WxObject'.
+type CbUpdatesManagerBase a  = WxObject (CCbUpdatesManagerBase a)
+-- | Inheritance type of the CbUpdatesManagerBase class.
+type TCbUpdatesManagerBase a  = TWxObject (CCbUpdatesManagerBase a)
+-- | Abstract type of the CbUpdatesManagerBase class.
+data CCbUpdatesManagerBase a  = CCbUpdatesManagerBase
+
+-- | Pointer to an object of type 'CbSimpleUpdatesMgr', derived from 'CbUpdatesManagerBase'.
+type CbSimpleUpdatesMgr a  = CbUpdatesManagerBase (CCbSimpleUpdatesMgr a)
+-- | Inheritance type of the CbSimpleUpdatesMgr class.
+type TCbSimpleUpdatesMgr a  = TCbUpdatesManagerBase (CCbSimpleUpdatesMgr a)
+-- | Abstract type of the CbSimpleUpdatesMgr class.
+data CCbSimpleUpdatesMgr a  = CCbSimpleUpdatesMgr
+
+-- | Pointer to an object of type 'CbGCUpdatesMgr', derived from 'CbSimpleUpdatesMgr'.
+type CbGCUpdatesMgr a  = CbSimpleUpdatesMgr (CCbGCUpdatesMgr a)
+-- | Inheritance type of the CbGCUpdatesMgr class.
+type TCbGCUpdatesMgr a  = TCbSimpleUpdatesMgr (CCbGCUpdatesMgr a)
+-- | Abstract type of the CbGCUpdatesMgr class.
+data CCbGCUpdatesMgr a  = CCbGCUpdatesMgr
+
+-- | Pointer to an object of type 'CbRowInfo', derived from 'WxObject'.
+type CbRowInfo a  = WxObject (CCbRowInfo a)
+-- | Inheritance type of the CbRowInfo class.
+type TCbRowInfo a  = TWxObject (CCbRowInfo a)
+-- | Abstract type of the CbRowInfo class.
+data CCbRowInfo a  = CCbRowInfo
+
+-- | Pointer to an object of type 'DC', derived from 'WxObject'.
+type DC a  = WxObject (CDC a)
+-- | Inheritance type of the DC class.
+type TDC a  = TWxObject (CDC a)
+-- | Abstract type of the DC class.
+data CDC a  = CDC
+
+-- | Pointer to an object of type 'GCDC', derived from 'DC'.
+type GCDC a  = DC (CGCDC a)
+-- | Inheritance type of the GCDC class.
+type TGCDC a  = TDC (CGCDC a)
+-- | Abstract type of the GCDC class.
+data CGCDC a  = CGCDC
+
+-- | Pointer to an object of type 'WindowDC', derived from 'DC'.
+type WindowDC a  = DC (CWindowDC a)
+-- | Inheritance type of the WindowDC class.
+type TWindowDC a  = TDC (CWindowDC a)
+-- | Abstract type of the WindowDC class.
+data CWindowDC a  = CWindowDC
+
+-- | Pointer to an object of type 'ClientDC', derived from 'WindowDC'.
+type ClientDC a  = WindowDC (CClientDC a)
+-- | Inheritance type of the ClientDC class.
+type TClientDC a  = TWindowDC (CClientDC a)
+-- | Abstract type of the ClientDC class.
+data CClientDC a  = CClientDC
+
+-- | Pointer to an object of type 'PaintDC', derived from 'WindowDC'.
+type PaintDC a  = WindowDC (CPaintDC a)
+-- | Inheritance type of the PaintDC class.
+type TPaintDC a  = TWindowDC (CPaintDC a)
+-- | Abstract type of the PaintDC class.
+data CPaintDC a  = CPaintDC
+
+-- | Pointer to an object of type 'ScreenDC', derived from 'DC'.
+type ScreenDC a  = DC (CScreenDC a)
+-- | Inheritance type of the ScreenDC class.
+type TScreenDC a  = TDC (CScreenDC a)
+-- | Abstract type of the ScreenDC class.
+data CScreenDC a  = CScreenDC
+
+-- | Pointer to an object of type 'SVGFileDC', derived from 'DC'.
+type SVGFileDC a  = DC (CSVGFileDC a)
+-- | Inheritance type of the SVGFileDC class.
+type TSVGFileDC a  = TDC (CSVGFileDC a)
+-- | Abstract type of the SVGFileDC class.
+data CSVGFileDC a  = CSVGFileDC
+
+-- | Pointer to an object of type 'PrinterDC', derived from 'DC'.
+type PrinterDC a  = DC (CPrinterDC a)
+-- | Inheritance type of the PrinterDC class.
+type TPrinterDC a  = TDC (CPrinterDC a)
+-- | Abstract type of the PrinterDC class.
+data CPrinterDC a  = CPrinterDC
+
+-- | Pointer to an object of type 'PostScriptDC', derived from 'DC'.
+type PostScriptDC a  = DC (CPostScriptDC a)
+-- | Inheritance type of the PostScriptDC class.
+type TPostScriptDC a  = TDC (CPostScriptDC a)
+-- | Abstract type of the PostScriptDC class.
+data CPostScriptDC a  = CPostScriptDC
+
+-- | Pointer to an object of type 'MirrorDC', derived from 'DC'.
+type MirrorDC a  = DC (CMirrorDC a)
+-- | Inheritance type of the MirrorDC class.
+type TMirrorDC a  = TDC (CMirrorDC a)
+-- | Abstract type of the MirrorDC class.
+data CMirrorDC a  = CMirrorDC
+
+-- | Pointer to an object of type 'MetafileDC', derived from 'DC'.
+type MetafileDC a  = DC (CMetafileDC a)
+-- | Inheritance type of the MetafileDC class.
+type TMetafileDC a  = TDC (CMetafileDC a)
+-- | Abstract type of the MetafileDC class.
+data CMetafileDC a  = CMetafileDC
+
+-- | Pointer to an object of type 'MemoryDC', derived from 'DC'.
+type MemoryDC a  = DC (CMemoryDC a)
+-- | Inheritance type of the MemoryDC class.
+type TMemoryDC a  = TDC (CMemoryDC a)
+-- | Abstract type of the MemoryDC class.
+data CMemoryDC a  = CMemoryDC
+
+-- | Pointer to an object of type 'BufferedPaintDC', derived from 'DC'.
+type BufferedPaintDC a  = DC (CBufferedPaintDC a)
+-- | Inheritance type of the BufferedPaintDC class.
+type TBufferedPaintDC a  = TDC (CBufferedPaintDC a)
+-- | Abstract type of the BufferedPaintDC class.
+data CBufferedPaintDC a  = CBufferedPaintDC
+
+-- | Pointer to an object of type 'BufferedDC', derived from 'DC'.
+type BufferedDC a  = DC (CBufferedDC a)
+-- | Inheritance type of the BufferedDC class.
+type TBufferedDC a  = TDC (CBufferedDC a)
+-- | Abstract type of the BufferedDC class.
+data CBufferedDC a  = CBufferedDC
+
+-- | Pointer to an object of type 'AutoBufferedPaintDC', derived from 'DC'.
+type AutoBufferedPaintDC a  = DC (CAutoBufferedPaintDC a)
+-- | Inheritance type of the AutoBufferedPaintDC class.
+type TAutoBufferedPaintDC a  = TDC (CAutoBufferedPaintDC a)
+-- | Abstract type of the AutoBufferedPaintDC class.
+data CAutoBufferedPaintDC a  = CAutoBufferedPaintDC
+
+-- | Pointer to an object of type 'GDIObject', derived from 'WxObject'.
+type GDIObject a  = WxObject (CGDIObject a)
+-- | Inheritance type of the GDIObject class.
+type TGDIObject a  = TWxObject (CGDIObject a)
+-- | Abstract type of the GDIObject class.
+data CGDIObject a  = CGDIObject
+
+-- | Pointer to an object of type 'Region', derived from 'GDIObject'.
+type Region a  = GDIObject (CRegion a)
+-- | Inheritance type of the Region class.
+type TRegion a  = TGDIObject (CRegion a)
+-- | Abstract type of the Region class.
+data CRegion a  = CRegion
+
+-- | Pointer to an object of type 'Pen', derived from 'GDIObject'.
+type Pen a  = GDIObject (CPen a)
+-- | Inheritance type of the Pen class.
+type TPen a  = TGDIObject (CPen a)
+-- | Abstract type of the Pen class.
+data CPen a  = CPen
+
+-- | Pointer to an object of type 'Palette', derived from 'GDIObject'.
+type Palette a  = GDIObject (CPalette a)
+-- | Inheritance type of the Palette class.
+type TPalette a  = TGDIObject (CPalette a)
+-- | Abstract type of the Palette class.
+data CPalette a  = CPalette
+
+-- | Pointer to an object of type 'Bitmap', derived from 'GDIObject'.
+type Bitmap a  = GDIObject (CBitmap a)
+-- | Inheritance type of the Bitmap class.
+type TBitmap a  = TGDIObject (CBitmap a)
+-- | Abstract type of the Bitmap class.
+data CBitmap a  = CBitmap
+
+-- | Pointer to an object of type 'Icon', derived from 'Bitmap'.
+type Icon a  = Bitmap (CIcon a)
+-- | Inheritance type of the Icon class.
+type TIcon a  = TBitmap (CIcon a)
+-- | Abstract type of the Icon class.
+data CIcon a  = CIcon
+
+-- | Pointer to an object of type 'Cursor', derived from 'Bitmap'.
+type Cursor a  = Bitmap (CCursor a)
+-- | Inheritance type of the Cursor class.
+type TCursor a  = TBitmap (CCursor a)
+-- | Abstract type of the Cursor class.
+data CCursor a  = CCursor
+
+-- | Pointer to an object of type 'Font', derived from 'GDIObject'.
+type Font a  = GDIObject (CFont a)
+-- | Inheritance type of the Font class.
+type TFont a  = TGDIObject (CFont a)
+-- | Abstract type of the Font class.
+data CFont a  = CFont
+
+-- | Pointer to an object of type 'Brush', derived from 'GDIObject'.
+type Brush a  = GDIObject (CBrush a)
+-- | Inheritance type of the Brush class.
+type TBrush a  = TGDIObject (CBrush a)
+-- | Abstract type of the Brush class.
+data CBrush a  = CBrush
+
+-- | Pointer to an object of type 'Sizer', derived from 'WxObject'.
+type Sizer a  = WxObject (CSizer a)
+-- | Inheritance type of the Sizer class.
+type TSizer a  = TWxObject (CSizer a)
+-- | Abstract type of the Sizer class.
+data CSizer a  = CSizer
+
+-- | Pointer to an object of type 'BoxSizer', derived from 'Sizer'.
+type BoxSizer a  = Sizer (CBoxSizer a)
+-- | Inheritance type of the BoxSizer class.
+type TBoxSizer a  = TSizer (CBoxSizer a)
+-- | Abstract type of the BoxSizer class.
+data CBoxSizer a  = CBoxSizer
+
+-- | Pointer to an object of type 'StaticBoxSizer', derived from 'BoxSizer'.
+type StaticBoxSizer a  = BoxSizer (CStaticBoxSizer a)
+-- | Inheritance type of the StaticBoxSizer class.
+type TStaticBoxSizer a  = TBoxSizer (CStaticBoxSizer a)
+-- | Abstract type of the StaticBoxSizer class.
+data CStaticBoxSizer a  = CStaticBoxSizer
+
+-- | Pointer to an object of type 'MultiCellSizer', derived from 'Sizer'.
+type MultiCellSizer a  = Sizer (CMultiCellSizer a)
+-- | Inheritance type of the MultiCellSizer class.
+type TMultiCellSizer a  = TSizer (CMultiCellSizer a)
+-- | Abstract type of the MultiCellSizer class.
+data CMultiCellSizer a  = CMultiCellSizer
+
+-- | Pointer to an object of type 'GridSizer', derived from 'Sizer'.
+type GridSizer a  = Sizer (CGridSizer a)
+-- | Inheritance type of the GridSizer class.
+type TGridSizer a  = TSizer (CGridSizer a)
+-- | Abstract type of the GridSizer class.
+data CGridSizer a  = CGridSizer
+
+-- | Pointer to an object of type 'FlexGridSizer', derived from 'GridSizer'.
+type FlexGridSizer a  = GridSizer (CFlexGridSizer a)
+-- | Inheritance type of the FlexGridSizer class.
+type TFlexGridSizer a  = TGridSizer (CFlexGridSizer a)
+-- | Abstract type of the FlexGridSizer class.
+data CFlexGridSizer a  = CFlexGridSizer
+
+-- | Pointer to an object of type 'MultiCellCanvas', derived from 'FlexGridSizer'.
+type MultiCellCanvas a  = FlexGridSizer (CMultiCellCanvas a)
+-- | Inheritance type of the MultiCellCanvas class.
+type TMultiCellCanvas a  = TFlexGridSizer (CMultiCellCanvas a)
+-- | Abstract type of the MultiCellCanvas class.
+data CMultiCellCanvas a  = CMultiCellCanvas
+
+-- | Pointer to an object of type 'List', derived from 'WxObject'.
+type List a  = WxObject (CList a)
+-- | Inheritance type of the List class.
+type TList a  = TWxObject (CList a)
+-- | Abstract type of the List class.
+data CList a  = CList
+
+-- | Pointer to an object of type 'StringList', derived from 'List'.
+type StringList a  = List (CStringList a)
+-- | Inheritance type of the StringList class.
+type TStringList a  = TList (CStringList a)
+-- | Abstract type of the StringList class.
+data CStringList a  = CStringList
+
+-- | Pointer to an object of type 'PenList', derived from 'List'.
+type PenList a  = List (CPenList a)
+-- | Inheritance type of the PenList class.
+type TPenList a  = TList (CPenList a)
+-- | Abstract type of the PenList class.
+data CPenList a  = CPenList
+
+-- | Pointer to an object of type 'PathList', derived from 'List'.
+type PathList a  = List (CPathList a)
+-- | Inheritance type of the PathList class.
+type TPathList a  = TList (CPathList a)
+-- | Abstract type of the PathList class.
+data CPathList a  = CPathList
+
+-- | Pointer to an object of type 'FontList', derived from 'List'.
+type FontList a  = List (CFontList a)
+-- | Inheritance type of the FontList class.
+type TFontList a  = TList (CFontList a)
+-- | Abstract type of the FontList class.
+data CFontList a  = CFontList
+
+-- | Pointer to an object of type 'ExprDatabase', derived from 'List'.
+type ExprDatabase a  = List (CExprDatabase a)
+-- | Inheritance type of the ExprDatabase class.
+type TExprDatabase a  = TList (CExprDatabase a)
+-- | Abstract type of the ExprDatabase class.
+data CExprDatabase a  = CExprDatabase
+
+-- | Pointer to an object of type 'ColourDatabase', derived from 'List'.
+type ColourDatabase a  = List (CColourDatabase a)
+-- | Inheritance type of the ColourDatabase class.
+type TColourDatabase a  = TList (CColourDatabase a)
+-- | Abstract type of the ColourDatabase class.
+data CColourDatabase a  = CColourDatabase
+
+-- | Pointer to an object of type 'BrushList', derived from 'List'.
+type BrushList a  = List (CBrushList a)
+-- | Inheritance type of the BrushList class.
+type TBrushList a  = TList (CBrushList a)
+-- | Abstract type of the BrushList class.
+data CBrushList a  = CBrushList
+
+-- | Pointer to an object of type 'Colour', derived from 'WxObject'.
+type Colour a  = WxObject (CColour a)
+-- | Inheritance type of the Colour class.
+type TColour a  = TWxObject (CColour a)
+-- | Abstract type of the Colour class.
+data CColour a  = CColour
+
+-- | Pointer to an object of type 'ContextHelp', derived from 'WxObject'.
+type ContextHelp a  = WxObject (CContextHelp a)
+-- | Inheritance type of the ContextHelp class.
+type TContextHelp a  = TWxObject (CContextHelp a)
+-- | Abstract type of the ContextHelp class.
+data CContextHelp a  = CContextHelp
+
+-- | Pointer to an object of type 'Database', derived from 'WxObject'.
+type Database a  = WxObject (CDatabase a)
+-- | Inheritance type of the Database class.
+type TDatabase a  = TWxObject (CDatabase a)
+-- | Abstract type of the Database class.
+data CDatabase a  = CDatabase
+
+-- | Pointer to an object of type 'FSFile', derived from 'WxObject'.
+type FSFile a  = WxObject (CFSFile a)
+-- | Inheritance type of the FSFile class.
+type TFSFile a  = TWxObject (CFSFile a)
+-- | Abstract type of the FSFile class.
+data CFSFile a  = CFSFile
+
+-- | Pointer to an object of type 'FileSystem', derived from 'WxObject'.
+type FileSystem a  = WxObject (CFileSystem a)
+-- | Inheritance type of the FileSystem class.
+type TFileSystem a  = TWxObject (CFileSystem a)
+-- | Abstract type of the FileSystem class.
+data CFileSystem a  = CFileSystem
+
+-- | Pointer to an object of type 'FontData', derived from 'WxObject'.
+type FontData a  = WxObject (CFontData a)
+-- | Inheritance type of the FontData class.
+type TFontData a  = TWxObject (CFontData a)
+-- | Abstract type of the FontData class.
+data CFontData a  = CFontData
+
+-- | Pointer to an object of type 'HelpControllerBase', derived from 'WxObject'.
+type HelpControllerBase a  = WxObject (CHelpControllerBase a)
+-- | Inheritance type of the HelpControllerBase class.
+type THelpControllerBase a  = TWxObject (CHelpControllerBase a)
+-- | Abstract type of the HelpControllerBase class.
+data CHelpControllerBase a  = CHelpControllerBase
+
+-- | Pointer to an object of type 'HtmlHelpController', derived from 'HelpControllerBase'.
+type HtmlHelpController a  = HelpControllerBase (CHtmlHelpController a)
+-- | Inheritance type of the HtmlHelpController class.
+type THtmlHelpController a  = THelpControllerBase (CHtmlHelpController a)
+-- | Abstract type of the HtmlHelpController class.
+data CHtmlHelpController a  = CHtmlHelpController
+
+-- | Pointer to an object of type 'HelpController', derived from 'HelpControllerBase'.
+type HelpController a  = HelpControllerBase (CHelpController a)
+-- | Inheritance type of the HelpController class.
+type THelpController a  = THelpControllerBase (CHelpController a)
+-- | Abstract type of the HelpController class.
+data CHelpController a  = CHelpController
+
+-- | Pointer to an object of type 'HtmlDCRenderer', derived from 'WxObject'.
+type HtmlDCRenderer a  = WxObject (CHtmlDCRenderer a)
+-- | Inheritance type of the HtmlDCRenderer class.
+type THtmlDCRenderer a  = TWxObject (CHtmlDCRenderer a)
+-- | Abstract type of the HtmlDCRenderer class.
+data CHtmlDCRenderer a  = CHtmlDCRenderer
+
+-- | Pointer to an object of type 'HtmlFilter', derived from 'WxObject'.
+type HtmlFilter a  = WxObject (CHtmlFilter a)
+-- | Inheritance type of the HtmlFilter class.
+type THtmlFilter a  = TWxObject (CHtmlFilter a)
+-- | Abstract type of the HtmlFilter class.
+data CHtmlFilter a  = CHtmlFilter
+
+-- | Pointer to an object of type 'HtmlHelpData', derived from 'WxObject'.
+type HtmlHelpData a  = WxObject (CHtmlHelpData a)
+-- | Inheritance type of the HtmlHelpData class.
+type THtmlHelpData a  = TWxObject (CHtmlHelpData a)
+-- | Abstract type of the HtmlHelpData class.
+data CHtmlHelpData a  = CHtmlHelpData
+
+-- | Pointer to an object of type 'HtmlLinkInfo', derived from 'WxObject'.
+type HtmlLinkInfo a  = WxObject (CHtmlLinkInfo a)
+-- | Inheritance type of the HtmlLinkInfo class.
+type THtmlLinkInfo a  = TWxObject (CHtmlLinkInfo a)
+-- | Abstract type of the HtmlLinkInfo class.
+data CHtmlLinkInfo a  = CHtmlLinkInfo
+
+-- | Pointer to an object of type 'Printout', derived from 'WxObject'.
+type Printout a  = WxObject (CPrintout a)
+-- | Inheritance type of the Printout class.
+type TPrintout a  = TWxObject (CPrintout a)
+-- | Abstract type of the Printout class.
+data CPrintout a  = CPrintout
+
+-- | Pointer to an object of type 'WXCPrintout', derived from 'Printout'.
+type WXCPrintout a  = Printout (CWXCPrintout a)
+-- | Inheritance type of the WXCPrintout class.
+type TWXCPrintout a  = TPrintout (CWXCPrintout a)
+-- | Abstract type of the WXCPrintout class.
+data CWXCPrintout a  = CWXCPrintout
+
+-- | Pointer to an object of type 'HtmlPrintout', derived from 'Printout'.
+type HtmlPrintout a  = Printout (CHtmlPrintout a)
+-- | Inheritance type of the HtmlPrintout class.
+type THtmlPrintout a  = TPrintout (CHtmlPrintout a)
+-- | Abstract type of the HtmlPrintout class.
+data CHtmlPrintout a  = CHtmlPrintout
+
+-- | Pointer to an object of type 'HtmlTagHandler', derived from 'WxObject'.
+type HtmlTagHandler a  = WxObject (CHtmlTagHandler a)
+-- | Inheritance type of the HtmlTagHandler class.
+type THtmlTagHandler a  = TWxObject (CHtmlTagHandler a)
+-- | Abstract type of the HtmlTagHandler class.
+data CHtmlTagHandler a  = CHtmlTagHandler
+
+-- | Pointer to an object of type 'HtmlWinTagHandler', derived from 'HtmlTagHandler'.
+type HtmlWinTagHandler a  = HtmlTagHandler (CHtmlWinTagHandler a)
+-- | Inheritance type of the HtmlWinTagHandler class.
+type THtmlWinTagHandler a  = THtmlTagHandler (CHtmlWinTagHandler a)
+-- | Abstract type of the HtmlWinTagHandler class.
+data CHtmlWinTagHandler a  = CHtmlWinTagHandler
+
+-- | Pointer to an object of type 'SockAddress', derived from 'WxObject'.
+type SockAddress a  = WxObject (CSockAddress a)
+-- | Inheritance type of the SockAddress class.
+type TSockAddress a  = TWxObject (CSockAddress a)
+-- | Abstract type of the SockAddress class.
+data CSockAddress a  = CSockAddress
+
+-- | Pointer to an object of type 'IPV4address', derived from 'SockAddress'.
+type IPV4address a  = SockAddress (CIPV4address a)
+-- | Inheritance type of the IPV4address class.
+type TIPV4address a  = TSockAddress (CIPV4address a)
+-- | Abstract type of the IPV4address class.
+data CIPV4address a  = CIPV4address
+
+-- | Pointer to an object of type 'Image', derived from 'WxObject'.
+type Image a  = WxObject (CImage a)
+-- | Inheritance type of the Image class.
+type TImage a  = TWxObject (CImage a)
+-- | Abstract type of the Image class.
+data CImage a  = CImage
+
+-- | Pointer to an object of type 'ImageList', derived from 'WxObject'.
+type ImageList a  = WxObject (CImageList a)
+-- | Inheritance type of the ImageList class.
+type TImageList a  = TWxObject (CImageList a)
+-- | Abstract type of the ImageList class.
+data CImageList a  = CImageList
+
+-- | Pointer to an object of type 'LayoutConstraints', derived from 'WxObject'.
+type LayoutConstraints a  = WxObject (CLayoutConstraints a)
+-- | Inheritance type of the LayoutConstraints class.
+type TLayoutConstraints a  = TWxObject (CLayoutConstraints a)
+-- | Abstract type of the LayoutConstraints class.
+data CLayoutConstraints a  = CLayoutConstraints
+
+-- | Pointer to an object of type 'MenuItem', derived from 'WxObject'.
+type MenuItem a  = WxObject (CMenuItem a)
+-- | Inheritance type of the MenuItem class.
+type TMenuItem a  = TWxObject (CMenuItem a)
+-- | Abstract type of the MenuItem class.
+data CMenuItem a  = CMenuItem
+
+-- | Pointer to an object of type 'Metafile', derived from 'WxObject'.
+type Metafile a  = WxObject (CMetafile a)
+-- | Inheritance type of the Metafile class.
+type TMetafile a  = TWxObject (CMetafile a)
+-- | Abstract type of the Metafile class.
+data CMetafile a  = CMetafile
+
+-- | Pointer to an object of type 'PageSetupDialogData', derived from 'WxObject'.
+type PageSetupDialogData a  = WxObject (CPageSetupDialogData a)
+-- | Inheritance type of the PageSetupDialogData class.
+type TPageSetupDialogData a  = TWxObject (CPageSetupDialogData a)
+-- | Abstract type of the PageSetupDialogData class.
+data CPageSetupDialogData a  = CPageSetupDialogData
+
+-- | Pointer to an object of type 'PostScriptPrintNativeData', derived from 'WxObject'.
+type PostScriptPrintNativeData a  = WxObject (CPostScriptPrintNativeData a)
+-- | Inheritance type of the PostScriptPrintNativeData class.
+type TPostScriptPrintNativeData a  = TWxObject (CPostScriptPrintNativeData a)
+-- | Abstract type of the PostScriptPrintNativeData class.
+data CPostScriptPrintNativeData a  = CPostScriptPrintNativeData
+
+-- | Pointer to an object of type 'PrintDialogData', derived from 'WxObject'.
+type PrintDialogData a  = WxObject (CPrintDialogData a)
+-- | Inheritance type of the PrintDialogData class.
+type TPrintDialogData a  = TWxObject (CPrintDialogData a)
+-- | Abstract type of the PrintDialogData class.
+data CPrintDialogData a  = CPrintDialogData
+
+-- | Pointer to an object of type 'Printer', derived from 'WxObject'.
+type Printer a  = WxObject (CPrinter a)
+-- | Inheritance type of the Printer class.
+type TPrinter a  = TWxObject (CPrinter a)
+-- | Abstract type of the Printer class.
+data CPrinter a  = CPrinter
+
+-- | Pointer to an object of type 'QueryCol', derived from 'WxObject'.
+type QueryCol a  = WxObject (CQueryCol a)
+-- | Inheritance type of the QueryCol class.
+type TQueryCol a  = TWxObject (CQueryCol a)
+-- | Abstract type of the QueryCol class.
+data CQueryCol a  = CQueryCol
+
+-- | Pointer to an object of type 'RecordSet', derived from 'WxObject'.
+type RecordSet a  = WxObject (CRecordSet a)
+-- | Inheritance type of the RecordSet class.
+type TRecordSet a  = TWxObject (CRecordSet a)
+-- | Abstract type of the RecordSet class.
+data CRecordSet a  = CRecordSet
+
+-- | Pointer to an object of type 'RegionIterator', derived from 'WxObject'.
+type RegionIterator a  = WxObject (CRegionIterator a)
+-- | Inheritance type of the RegionIterator class.
+type TRegionIterator a  = TWxObject (CRegionIterator a)
+-- | Abstract type of the RegionIterator class.
+data CRegionIterator a  = CRegionIterator
+
+-- | Pointer to an object of type 'SizerItem', derived from 'WxObject'.
+type SizerItem a  = WxObject (CSizerItem a)
+-- | Inheritance type of the SizerItem class.
+type TSizerItem a  = TWxObject (CSizerItem a)
+-- | Abstract type of the SizerItem class.
+data CSizerItem a  = CSizerItem
+
+-- | Pointer to an object of type 'SystemSettings', derived from 'WxObject'.
+type SystemSettings a  = WxObject (CSystemSettings a)
+-- | Inheritance type of the SystemSettings class.
+type TSystemSettings a  = TWxObject (CSystemSettings a)
+-- | Abstract type of the SystemSettings class.
+data CSystemSettings a  = CSystemSettings
+
+-- | Pointer to an object of type 'Timer', derived from 'WxObject'.
+type Timer a  = WxObject (CTimer a)
+-- | Inheritance type of the Timer class.
+type TTimer a  = TWxObject (CTimer a)
+-- | Abstract type of the Timer class.
+data CTimer a  = CTimer
+
+-- | Pointer to an object of type 'TimerEx', derived from 'Timer'.
+type TimerEx a  = Timer (CTimerEx a)
+-- | Inheritance type of the TimerEx class.
+type TTimerEx a  = TTimer (CTimerEx a)
+-- | Abstract type of the TimerEx class.
+data CTimerEx a  = CTimerEx
+
+-- | Pointer to an object of type 'Variant', derived from 'WxObject'.
+type Variant a  = WxObject (CVariant a)
+-- | Inheritance type of the Variant class.
+type TVariant a  = TWxObject (CVariant a)
+-- | Abstract type of the Variant class.
+data CVariant a  = CVariant
+
+-- | Pointer to an object of type 'XmlResource', derived from 'WxObject'.
+type XmlResource a  = WxObject (CXmlResource a)
+-- | Inheritance type of the XmlResource class.
+type TXmlResource a  = TWxObject (CXmlResource a)
+-- | Abstract type of the XmlResource class.
+data CXmlResource a  = CXmlResource
+
+-- | Pointer to an object of type 'PGProperty', derived from 'WxObject'.
+type PGProperty a  = WxObject (CPGProperty a)
+-- | Inheritance type of the PGProperty class.
+type TPGProperty a  = TWxObject (CPGProperty a)
+-- | Abstract type of the PGProperty class.
+data CPGProperty a  = CPGProperty
+
+-- | Pointer to an object of type 'PropertyCategory', derived from 'PGProperty'.
+type PropertyCategory a  = PGProperty (CPropertyCategory a)
+-- | Inheritance type of the PropertyCategory class.
+type TPropertyCategory a  = TPGProperty (CPropertyCategory a)
+-- | Abstract type of the PropertyCategory class.
+data CPropertyCategory a  = CPropertyCategory
+
+-- | Pointer to an object of type 'FileProperty', derived from 'PGProperty'.
+type FileProperty a  = PGProperty (CFileProperty a)
+-- | Inheritance type of the FileProperty class.
+type TFileProperty a  = TPGProperty (CFileProperty a)
+-- | Abstract type of the FileProperty class.
+data CFileProperty a  = CFileProperty
+
+-- | Pointer to an object of type 'DateProperty', derived from 'PGProperty'.
+type DateProperty a  = PGProperty (CDateProperty a)
+-- | Inheritance type of the DateProperty class.
+type TDateProperty a  = TPGProperty (CDateProperty a)
+-- | Abstract type of the DateProperty class.
+data CDateProperty a  = CDateProperty
+
+-- | Pointer to an object of type 'FloatProperty', derived from 'PGProperty'.
+type FloatProperty a  = PGProperty (CFloatProperty a)
+-- | Inheritance type of the FloatProperty class.
+type TFloatProperty a  = TPGProperty (CFloatProperty a)
+-- | Abstract type of the FloatProperty class.
+data CFloatProperty a  = CFloatProperty
+
+-- | Pointer to an object of type 'BoolProperty', derived from 'PGProperty'.
+type BoolProperty a  = PGProperty (CBoolProperty a)
+-- | Inheritance type of the BoolProperty class.
+type TBoolProperty a  = TPGProperty (CBoolProperty a)
+-- | Abstract type of the BoolProperty class.
+data CBoolProperty a  = CBoolProperty
+
+-- | Pointer to an object of type 'IntProperty', derived from 'PGProperty'.
+type IntProperty a  = PGProperty (CIntProperty a)
+-- | Inheritance type of the IntProperty class.
+type TIntProperty a  = TPGProperty (CIntProperty a)
+-- | Abstract type of the IntProperty class.
+data CIntProperty a  = CIntProperty
+
+-- | Pointer to an object of type 'StringProperty', derived from 'PGProperty'.
+type StringProperty a  = PGProperty (CStringProperty a)
+-- | Inheritance type of the StringProperty class.
+type TStringProperty a  = TPGProperty (CStringProperty a)
+-- | Abstract type of the StringProperty class.
+data CStringProperty a  = CStringProperty
+
+-- | Pointer to an object of type 'GraphicsObject', derived from 'WxObject'.
+type GraphicsObject a  = WxObject (CGraphicsObject a)
+-- | Inheritance type of the GraphicsObject class.
+type TGraphicsObject a  = TWxObject (CGraphicsObject a)
+-- | Abstract type of the GraphicsObject class.
+data CGraphicsObject a  = CGraphicsObject
+
+-- | Pointer to an object of type 'GraphicsRenderer', derived from 'GraphicsObject'.
+type GraphicsRenderer a  = GraphicsObject (CGraphicsRenderer a)
+-- | Inheritance type of the GraphicsRenderer class.
+type TGraphicsRenderer a  = TGraphicsObject (CGraphicsRenderer a)
+-- | Abstract type of the GraphicsRenderer class.
+data CGraphicsRenderer a  = CGraphicsRenderer
+
+-- | Pointer to an object of type 'GraphicsPen', derived from 'GraphicsObject'.
+type GraphicsPen a  = GraphicsObject (CGraphicsPen a)
+-- | Inheritance type of the GraphicsPen class.
+type TGraphicsPen a  = TGraphicsObject (CGraphicsPen a)
+-- | Abstract type of the GraphicsPen class.
+data CGraphicsPen a  = CGraphicsPen
+
+-- | Pointer to an object of type 'GraphicsPath', derived from 'GraphicsObject'.
+type GraphicsPath a  = GraphicsObject (CGraphicsPath a)
+-- | Inheritance type of the GraphicsPath class.
+type TGraphicsPath a  = TGraphicsObject (CGraphicsPath a)
+-- | Abstract type of the GraphicsPath class.
+data CGraphicsPath a  = CGraphicsPath
+
+-- | Pointer to an object of type 'GraphicsMatrix', derived from 'GraphicsObject'.
+type GraphicsMatrix a  = GraphicsObject (CGraphicsMatrix a)
+-- | Inheritance type of the GraphicsMatrix class.
+type TGraphicsMatrix a  = TGraphicsObject (CGraphicsMatrix a)
+-- | Abstract type of the GraphicsMatrix class.
+data CGraphicsMatrix a  = CGraphicsMatrix
+
+-- | Pointer to an object of type 'GraphicsFont', derived from 'GraphicsObject'.
+type GraphicsFont a  = GraphicsObject (CGraphicsFont a)
+-- | Inheritance type of the GraphicsFont class.
+type TGraphicsFont a  = TGraphicsObject (CGraphicsFont a)
+-- | Abstract type of the GraphicsFont class.
+data CGraphicsFont a  = CGraphicsFont
+
+-- | Pointer to an object of type 'GraphicsContext', derived from 'GraphicsObject'.
+type GraphicsContext a  = GraphicsObject (CGraphicsContext a)
+-- | Inheritance type of the GraphicsContext class.
+type TGraphicsContext a  = TGraphicsObject (CGraphicsContext a)
+-- | Abstract type of the GraphicsContext class.
+data CGraphicsContext a  = CGraphicsContext
+
+-- | Pointer to an object of type 'GraphicsBrush', derived from 'GraphicsObject'.
+type GraphicsBrush a  = GraphicsObject (CGraphicsBrush a)
+-- | Inheritance type of the GraphicsBrush class.
+type TGraphicsBrush a  = TGraphicsObject (CGraphicsBrush a)
+-- | Abstract type of the GraphicsBrush class.
+data CGraphicsBrush a  = CGraphicsBrush
+
+-- | Pointer to an object of type 'GLContext', derived from 'WxObject'.
+type GLContext a  = WxObject (CGLContext a)
+-- | Inheritance type of the GLContext class.
+type TGLContext a  = TWxObject (CGLContext a)
+-- | Abstract type of the GLContext class.
+data CGLContext a  = CGLContext
+
+-- | Pointer to an object of type 'XmlResourceHandler', derived from 'WxObject'.
+type XmlResourceHandler a  = WxObject (CXmlResourceHandler a)
+-- | Inheritance type of the XmlResourceHandler class.
+type TXmlResourceHandler a  = TWxObject (CXmlResourceHandler a)
+-- | Abstract type of the XmlResourceHandler class.
+data CXmlResourceHandler a  = CXmlResourceHandler
+
+-- | Pointer to an object of type 'Sound', derived from 'WxObject'.
+type Sound a  = WxObject (CSound a)
+-- | Inheritance type of the Sound class.
+type TSound a  = TWxObject (CSound a)
+-- | Abstract type of the Sound class.
+data CSound a  = CSound
+
+-- | Pointer to an object of type 'VariantData', derived from 'WxObject'.
+type VariantData a  = WxObject (CVariantData a)
+-- | Inheritance type of the VariantData class.
+type TVariantData a  = TWxObject (CVariantData a)
+-- | Abstract type of the VariantData class.
+data CVariantData a  = CVariantData
+
+-- | Pointer to an object of type 'URL', derived from 'WxObject'.
+type URL a  = WxObject (CURL a)
+-- | Inheritance type of the URL class.
+type TURL a  = TWxObject (CURL a)
+-- | Abstract type of the URL class.
+data CURL a  = CURL
+
+-- | Pointer to an object of type 'TreeLayout', derived from 'WxObject'.
+type TreeLayout a  = WxObject (CTreeLayout a)
+-- | Inheritance type of the TreeLayout class.
+type TTreeLayout a  = TWxObject (CTreeLayout a)
+-- | Abstract type of the TreeLayout class.
+data CTreeLayout a  = CTreeLayout
+
+-- | Pointer to an object of type 'TreeLayoutStored', derived from 'TreeLayout'.
+type TreeLayoutStored a  = TreeLayout (CTreeLayoutStored a)
+-- | Inheritance type of the TreeLayoutStored class.
+type TTreeLayoutStored a  = TTreeLayout (CTreeLayoutStored a)
+-- | Abstract type of the TreeLayoutStored class.
+data CTreeLayoutStored a  = CTreeLayoutStored
+
+-- | Pointer to an object of type 'ToolTip', derived from 'WxObject'.
+type ToolTip a  = WxObject (CToolTip a)
+-- | Inheritance type of the ToolTip class.
+type TToolTip a  = TWxObject (CToolTip a)
+-- | Abstract type of the ToolTip class.
+data CToolTip a  = CToolTip
+
+-- | Pointer to an object of type 'TimerBase', derived from 'WxObject'.
+type TimerBase a  = WxObject (CTimerBase a)
+-- | Inheritance type of the TimerBase class.
+type TTimerBase a  = TWxObject (CTimerBase a)
+-- | Abstract type of the TimerBase class.
+data CTimerBase a  = CTimerBase
+
+-- | Pointer to an object of type 'Time', derived from 'WxObject'.
+type Time a  = WxObject (CTime a)
+-- | Inheritance type of the Time class.
+type TTime a  = TWxObject (CTime a)
+-- | Abstract type of the Time class.
+data CTime a  = CTime
+
+-- | Pointer to an object of type 'TablesInUse', derived from 'WxObject'.
+type TablesInUse a  = WxObject (CTablesInUse a)
+-- | Inheritance type of the TablesInUse class.
+type TTablesInUse a  = TWxObject (CTablesInUse a)
+-- | Abstract type of the TablesInUse class.
+data CTablesInUse a  = CTablesInUse
+
+-- | Pointer to an object of type 'SystemOptions', derived from 'WxObject'.
+type SystemOptions a  = WxObject (CSystemOptions a)
+-- | Inheritance type of the SystemOptions class.
+type TSystemOptions a  = TWxObject (CSystemOptions a)
+-- | Abstract type of the SystemOptions class.
+data CSystemOptions a  = CSystemOptions
+
+-- | Pointer to an object of type 'StringTokenizer', derived from 'WxObject'.
+type StringTokenizer a  = WxObject (CStringTokenizer a)
+-- | Inheritance type of the StringTokenizer class.
+type TStringTokenizer a  = TWxObject (CStringTokenizer a)
+-- | Abstract type of the StringTokenizer class.
+data CStringTokenizer a  = CStringTokenizer
+
+-- | Pointer to an object of type 'QueryField', derived from 'WxObject'.
+type QueryField a  = WxObject (CQueryField a)
+-- | Inheritance type of the QueryField class.
+type TQueryField a  = TWxObject (CQueryField a)
+-- | Abstract type of the QueryField class.
+data CQueryField a  = CQueryField
+
+-- | Pointer to an object of type 'Quantize', derived from 'WxObject'.
+type Quantize a  = WxObject (CQuantize a)
+-- | Inheritance type of the Quantize class.
+type TQuantize a  = TWxObject (CQuantize a)
+-- | Abstract type of the Quantize class.
+data CQuantize a  = CQuantize
+
+-- | Pointer to an object of type 'PrintPreview', derived from 'WxObject'.
+type PrintPreview a  = WxObject (CPrintPreview a)
+-- | Inheritance type of the PrintPreview class.
+type TPrintPreview a  = TWxObject (CPrintPreview a)
+-- | Abstract type of the PrintPreview class.
+data CPrintPreview a  = CPrintPreview
+
+-- | Pointer to an object of type 'PrintData', derived from 'WxObject'.
+type PrintData a  = WxObject (CPrintData a)
+-- | Inheritance type of the PrintData class.
+type TPrintData a  = TWxObject (CPrintData a)
+-- | Abstract type of the PrintData class.
+data CPrintData a  = CPrintData
+
+-- | Pointer to an object of type 'PlotOnOffCurve', derived from 'WxObject'.
+type PlotOnOffCurve a  = WxObject (CPlotOnOffCurve a)
+-- | Inheritance type of the PlotOnOffCurve class.
+type TPlotOnOffCurve a  = TWxObject (CPlotOnOffCurve a)
+-- | Abstract type of the PlotOnOffCurve class.
+data CPlotOnOffCurve a  = CPlotOnOffCurve
+
+-- | Pointer to an object of type 'MultiCellItemHandle', derived from 'WxObject'.
+type MultiCellItemHandle a  = WxObject (CMultiCellItemHandle a)
+-- | Inheritance type of the MultiCellItemHandle class.
+type TMultiCellItemHandle a  = TWxObject (CMultiCellItemHandle a)
+-- | Abstract type of the MultiCellItemHandle class.
+data CMultiCellItemHandle a  = CMultiCellItemHandle
+
+-- | Pointer to an object of type 'Mask', derived from 'WxObject'.
+type Mask a  = WxObject (CMask a)
+-- | Inheritance type of the Mask class.
+type TMask a  = TWxObject (CMask a)
+-- | Abstract type of the Mask class.
+data CMask a  = CMask
+
+-- | Pointer to an object of type 'ListItem', derived from 'WxObject'.
+type ListItem a  = WxObject (CListItem a)
+-- | Inheritance type of the ListItem class.
+type TListItem a  = TWxObject (CListItem a)
+-- | Abstract type of the ListItem class.
+data CListItem a  = CListItem
+
+-- | Pointer to an object of type 'LayoutAlgorithm', derived from 'WxObject'.
+type LayoutAlgorithm a  = WxObject (CLayoutAlgorithm a)
+-- | Inheritance type of the LayoutAlgorithm class.
+type TLayoutAlgorithm a  = TWxObject (CLayoutAlgorithm a)
+-- | Abstract type of the LayoutAlgorithm class.
+data CLayoutAlgorithm a  = CLayoutAlgorithm
+
+-- | Pointer to an object of type 'Joystick', derived from 'WxObject'.
+type Joystick a  = WxObject (CJoystick a)
+-- | Inheritance type of the Joystick class.
+type TJoystick a  = TWxObject (CJoystick a)
+-- | Abstract type of the Joystick class.
+data CJoystick a  = CJoystick
+
+-- | Pointer to an object of type 'IndividualLayoutConstraint', derived from 'WxObject'.
+type IndividualLayoutConstraint a  = WxObject (CIndividualLayoutConstraint a)
+-- | Inheritance type of the IndividualLayoutConstraint class.
+type TIndividualLayoutConstraint a  = TWxObject (CIndividualLayoutConstraint a)
+-- | Abstract type of the IndividualLayoutConstraint class.
+data CIndividualLayoutConstraint a  = CIndividualLayoutConstraint
+
+-- | Pointer to an object of type 'ImageHandler', derived from 'WxObject'.
+type ImageHandler a  = WxObject (CImageHandler a)
+-- | Inheritance type of the ImageHandler class.
+type TImageHandler a  = TWxObject (CImageHandler a)
+-- | Abstract type of the ImageHandler class.
+data CImageHandler a  = CImageHandler
+
+-- | Pointer to an object of type 'Module', derived from 'WxObject'.
+type Module a  = WxObject (CModule a)
+-- | Inheritance type of the Module class.
+type TModule a  = TWxObject (CModule a)
+-- | Abstract type of the Module class.
+data CModule a  = CModule
+
+-- | Pointer to an object of type 'HtmlTagsModule', derived from 'Module'.
+type HtmlTagsModule a  = Module (CHtmlTagsModule a)
+-- | Inheritance type of the HtmlTagsModule class.
+type THtmlTagsModule a  = TModule (CHtmlTagsModule a)
+-- | Abstract type of the HtmlTagsModule class.
+data CHtmlTagsModule a  = CHtmlTagsModule
+
+-- | Pointer to an object of type 'HtmlTag', derived from 'WxObject'.
+type HtmlTag a  = WxObject (CHtmlTag a)
+-- | Inheritance type of the HtmlTag class.
+type THtmlTag a  = TWxObject (CHtmlTag a)
+-- | Abstract type of the HtmlTag class.
+data CHtmlTag a  = CHtmlTag
+
+-- | Pointer to an object of type 'HtmlParser', derived from 'WxObject'.
+type HtmlParser a  = WxObject (CHtmlParser a)
+-- | Inheritance type of the HtmlParser class.
+type THtmlParser a  = TWxObject (CHtmlParser a)
+-- | Abstract type of the HtmlParser class.
+data CHtmlParser a  = CHtmlParser
+
+-- | Pointer to an object of type 'HtmlWinParser', derived from 'HtmlParser'.
+type HtmlWinParser a  = HtmlParser (CHtmlWinParser a)
+-- | Inheritance type of the HtmlWinParser class.
+type THtmlWinParser a  = THtmlParser (CHtmlWinParser a)
+-- | Abstract type of the HtmlWinParser class.
+data CHtmlWinParser a  = CHtmlWinParser
+
+-- | Pointer to an object of type 'HtmlEasyPrinting', derived from 'WxObject'.
+type HtmlEasyPrinting a  = WxObject (CHtmlEasyPrinting a)
+-- | Inheritance type of the HtmlEasyPrinting class.
+type THtmlEasyPrinting a  = TWxObject (CHtmlEasyPrinting a)
+-- | Abstract type of the HtmlEasyPrinting class.
+data CHtmlEasyPrinting a  = CHtmlEasyPrinting
+
+-- | Pointer to an object of type 'HtmlCell', derived from 'WxObject'.
+type HtmlCell a  = WxObject (CHtmlCell a)
+-- | Inheritance type of the HtmlCell class.
+type THtmlCell a  = TWxObject (CHtmlCell a)
+-- | Abstract type of the HtmlCell class.
+data CHtmlCell a  = CHtmlCell
+
+-- | Pointer to an object of type 'HtmlWidgetCell', derived from 'HtmlCell'.
+type HtmlWidgetCell a  = HtmlCell (CHtmlWidgetCell a)
+-- | Inheritance type of the HtmlWidgetCell class.
+type THtmlWidgetCell a  = THtmlCell (CHtmlWidgetCell a)
+-- | Abstract type of the HtmlWidgetCell class.
+data CHtmlWidgetCell a  = CHtmlWidgetCell
+
+-- | Pointer to an object of type 'HtmlContainerCell', derived from 'HtmlCell'.
+type HtmlContainerCell a  = HtmlCell (CHtmlContainerCell a)
+-- | Inheritance type of the HtmlContainerCell class.
+type THtmlContainerCell a  = THtmlCell (CHtmlContainerCell a)
+-- | Abstract type of the HtmlContainerCell class.
+data CHtmlContainerCell a  = CHtmlContainerCell
+
+-- | Pointer to an object of type 'HtmlColourCell', derived from 'HtmlCell'.
+type HtmlColourCell a  = HtmlCell (CHtmlColourCell a)
+-- | Inheritance type of the HtmlColourCell class.
+type THtmlColourCell a  = THtmlCell (CHtmlColourCell a)
+-- | Abstract type of the HtmlColourCell class.
+data CHtmlColourCell a  = CHtmlColourCell
+
+-- | Pointer to an object of type 'FindReplaceData', derived from 'WxObject'.
+type FindReplaceData a  = WxObject (CFindReplaceData a)
+-- | Inheritance type of the FindReplaceData class.
+type TFindReplaceData a  = TWxObject (CFindReplaceData a)
+-- | Abstract type of the FindReplaceData class.
+data CFindReplaceData a  = CFindReplaceData
+
+-- | Pointer to an object of type 'FileSystemHandler', derived from 'WxObject'.
+type FileSystemHandler a  = WxObject (CFileSystemHandler a)
+-- | Inheritance type of the FileSystemHandler class.
+type TFileSystemHandler a  = TWxObject (CFileSystemHandler a)
+-- | Abstract type of the FileSystemHandler class.
+data CFileSystemHandler a  = CFileSystemHandler
+
+-- | Pointer to an object of type 'MemoryFSHandler', derived from 'FileSystemHandler'.
+type MemoryFSHandler a  = FileSystemHandler (CMemoryFSHandler a)
+-- | Inheritance type of the MemoryFSHandler class.
+type TMemoryFSHandler a  = TFileSystemHandler (CMemoryFSHandler a)
+-- | Abstract type of the MemoryFSHandler class.
+data CMemoryFSHandler a  = CMemoryFSHandler
+
+-- | Pointer to an object of type 'FileHistory', derived from 'WxObject'.
+type FileHistory a  = WxObject (CFileHistory a)
+-- | Inheritance type of the FileHistory class.
+type TFileHistory a  = TWxObject (CFileHistory a)
+-- | Abstract type of the FileHistory class.
+data CFileHistory a  = CFileHistory
+
+-- | Pointer to an object of type 'SocketBase', derived from 'WxObject'.
+type SocketBase a  = WxObject (CSocketBase a)
+-- | Inheritance type of the SocketBase class.
+type TSocketBase a  = TWxObject (CSocketBase a)
+-- | Abstract type of the SocketBase class.
+data CSocketBase a  = CSocketBase
+
+-- | Pointer to an object of type 'SocketServer', derived from 'SocketBase'.
+type SocketServer a  = SocketBase (CSocketServer a)
+-- | Inheritance type of the SocketServer class.
+type TSocketServer a  = TSocketBase (CSocketServer a)
+-- | Abstract type of the SocketServer class.
+data CSocketServer a  = CSocketServer
+
+-- | Pointer to an object of type 'SocketClient', derived from 'SocketBase'.
+type SocketClient a  = SocketBase (CSocketClient a)
+-- | Inheritance type of the SocketClient class.
+type TSocketClient a  = TSocketBase (CSocketClient a)
+-- | Abstract type of the SocketClient class.
+data CSocketClient a  = CSocketClient
+
+-- | Pointer to an object of type 'Protocol', derived from 'SocketClient'.
+type Protocol a  = SocketClient (CProtocol a)
+-- | Inheritance type of the Protocol class.
+type TProtocol a  = TSocketClient (CProtocol a)
+-- | Abstract type of the Protocol class.
+data CProtocol a  = CProtocol
+
+-- | Pointer to an object of type 'HTTP', derived from 'Protocol'.
+type HTTP a  = Protocol (CHTTP a)
+-- | Inheritance type of the HTTP class.
+type THTTP a  = TProtocol (CHTTP a)
+-- | Abstract type of the HTTP class.
+data CHTTP a  = CHTTP
+
+-- | Pointer to an object of type 'FTP', derived from 'Protocol'.
+type FTP a  = Protocol (CFTP a)
+-- | Inheritance type of the FTP class.
+type TFTP a  = TProtocol (CFTP a)
+-- | Abstract type of the FTP class.
+data CFTP a  = CFTP
+
+-- | Pointer to an object of type 'EncodingConverter', derived from 'WxObject'.
+type EncodingConverter a  = WxObject (CEncodingConverter a)
+-- | Inheritance type of the EncodingConverter class.
+type TEncodingConverter a  = TWxObject (CEncodingConverter a)
+-- | Abstract type of the EncodingConverter class.
+data CEncodingConverter a  = CEncodingConverter
+
+-- | Pointer to an object of type 'ToolLayoutItem', derived from 'WxObject'.
+type ToolLayoutItem a  = WxObject (CToolLayoutItem a)
+-- | Inheritance type of the ToolLayoutItem class.
+type TToolLayoutItem a  = TWxObject (CToolLayoutItem a)
+-- | Abstract type of the ToolLayoutItem class.
+data CToolLayoutItem a  = CToolLayoutItem
+
+-- | Pointer to an object of type 'DynToolInfo', derived from 'ToolLayoutItem'.
+type DynToolInfo a  = ToolLayoutItem (CDynToolInfo a)
+-- | Inheritance type of the DynToolInfo class.
+type TDynToolInfo a  = TToolLayoutItem (CDynToolInfo a)
+-- | Abstract type of the DynToolInfo class.
+data CDynToolInfo a  = CDynToolInfo
+
+-- | Pointer to an object of type 'DragImage', derived from 'WxObject'.
+type DragImage a  = WxObject (CDragImage a)
+-- | Inheritance type of the DragImage class.
+type TDragImage a  = TWxObject (CDragImage a)
+-- | Abstract type of the DragImage class.
+data CDragImage a  = CDragImage
+
+-- | Pointer to an object of type 'GenericDragImage', derived from 'DragImage'.
+type GenericDragImage a  = DragImage (CGenericDragImage a)
+-- | Inheritance type of the GenericDragImage class.
+type TGenericDragImage a  = TDragImage (CGenericDragImage a)
+-- | Abstract type of the GenericDragImage class.
+data CGenericDragImage a  = CGenericDragImage
+
+-- | Pointer to an object of type 'DocTemplate', derived from 'WxObject'.
+type DocTemplate a  = WxObject (CDocTemplate a)
+-- | Inheritance type of the DocTemplate class.
+type TDocTemplate a  = TWxObject (CDocTemplate a)
+-- | Abstract type of the DocTemplate class.
+data CDocTemplate a  = CDocTemplate
+
+-- | Pointer to an object of type 'CommandProcessor', derived from 'WxObject'.
+type CommandProcessor a  = WxObject (CCommandProcessor a)
+-- | Inheritance type of the CommandProcessor class.
+type TCommandProcessor a  = TWxObject (CCommandProcessor a)
+-- | Abstract type of the CommandProcessor class.
+data CCommandProcessor a  = CCommandProcessor
+
+-- | Pointer to an object of type 'ColourData', derived from 'WxObject'.
+type ColourData a  = WxObject (CColourData a)
+-- | Inheritance type of the ColourData class.
+type TColourData a  = TWxObject (CColourData a)
+-- | Abstract type of the ColourData class.
+data CColourData a  = CColourData
+
+-- | Pointer to an object of type 'Closure', derived from 'WxObject'.
+type Closure a  = WxObject (CClosure a)
+-- | Inheritance type of the Closure class.
+type TClosure a  = TWxObject (CClosure a)
+-- | Abstract type of the Closure class.
+data CClosure a  = CClosure
+
+-- | Pointer to an object of type 'Clipboard', derived from 'WxObject'.
+type Clipboard a  = WxObject (CClipboard a)
+-- | Inheritance type of the Clipboard class.
+type TClipboard a  = TWxObject (CClipboard a)
+-- | Abstract type of the Clipboard class.
+data CClipboard a  = CClipboard
+
+-- | Pointer to an object of type 'BitmapHandler', derived from 'WxObject'.
+type BitmapHandler a  = WxObject (CBitmapHandler a)
+-- | Inheritance type of the BitmapHandler class.
+type TBitmapHandler a  = TWxObject (CBitmapHandler a)
+-- | Abstract type of the BitmapHandler class.
+data CBitmapHandler a  = CBitmapHandler
+
+-- | Pointer to an object of type 'AutomationObject', derived from 'WxObject'.
+type AutomationObject a  = WxObject (CAutomationObject a)
+-- | Inheritance type of the AutomationObject class.
+type TAutomationObject a  = TWxObject (CAutomationObject a)
+-- | Abstract type of the AutomationObject class.
+data CAutomationObject a  = CAutomationObject
+
+-- | Pointer to an object of type 'CbDimHandlerBase', derived from 'WxObject'.
+type CbDimHandlerBase a  = WxObject (CCbDimHandlerBase a)
+-- | Inheritance type of the CbDimHandlerBase class.
+type TCbDimHandlerBase a  = TWxObject (CCbDimHandlerBase a)
+-- | Abstract type of the CbDimHandlerBase class.
+data CCbDimHandlerBase a  = CCbDimHandlerBase
+
+-- | Pointer to an object of type 'CbDynToolBarDimHandler', derived from 'CbDimHandlerBase'.
+type CbDynToolBarDimHandler a  = CbDimHandlerBase (CCbDynToolBarDimHandler a)
+-- | Inheritance type of the CbDynToolBarDimHandler class.
+type TCbDynToolBarDimHandler a  = TCbDimHandlerBase (CCbDynToolBarDimHandler a)
+-- | Abstract type of the CbDynToolBarDimHandler class.
+data CCbDynToolBarDimHandler a  = CCbDynToolBarDimHandler
+
+-- | Pointer to an object of type 'Event', derived from 'WxObject'.
+type Event a  = WxObject (CEvent a)
+-- | Inheritance type of the Event class.
+type TEvent a  = TWxObject (CEvent a)
+-- | Abstract type of the Event class.
+data CEvent a  = CEvent
+
+-- | Pointer to an object of type 'CommandEvent', derived from 'Event'.
+type CommandEvent a  = Event (CCommandEvent a)
+-- | Inheritance type of the CommandEvent class.
+type TCommandEvent a  = TEvent (CCommandEvent a)
+-- | Abstract type of the CommandEvent class.
+data CCommandEvent a  = CCommandEvent
+
+-- | Pointer to an object of type 'NotifyEvent', derived from 'CommandEvent'.
+type NotifyEvent a  = CommandEvent (CNotifyEvent a)
+-- | Inheritance type of the NotifyEvent class.
+type TNotifyEvent a  = TCommandEvent (CNotifyEvent a)
+-- | Abstract type of the NotifyEvent class.
+data CNotifyEvent a  = CNotifyEvent
+
+-- | Pointer to an object of type 'MediaEvent', derived from 'NotifyEvent'.
+type MediaEvent a  = NotifyEvent (CMediaEvent a)
+-- | Inheritance type of the MediaEvent class.
+type TMediaEvent a  = TNotifyEvent (CMediaEvent a)
+-- | Abstract type of the MediaEvent class.
+data CMediaEvent a  = CMediaEvent
+
+-- | Pointer to an object of type 'PropertyGridEvent', derived from 'NotifyEvent'.
+type PropertyGridEvent a  = NotifyEvent (CPropertyGridEvent a)
+-- | Inheritance type of the PropertyGridEvent class.
+type TPropertyGridEvent a  = TNotifyEvent (CPropertyGridEvent a)
+-- | Abstract type of the PropertyGridEvent class.
+data CPropertyGridEvent a  = CPropertyGridEvent
+
+-- | Pointer to an object of type 'WizardEvent', derived from 'NotifyEvent'.
+type WizardEvent a  = NotifyEvent (CWizardEvent a)
+-- | Inheritance type of the WizardEvent class.
+type TWizardEvent a  = TNotifyEvent (CWizardEvent a)
+-- | Abstract type of the WizardEvent class.
+data CWizardEvent a  = CWizardEvent
+
+-- | Pointer to an object of type 'TreeEvent', derived from 'NotifyEvent'.
+type TreeEvent a  = NotifyEvent (CTreeEvent a)
+-- | Inheritance type of the TreeEvent class.
+type TTreeEvent a  = TNotifyEvent (CTreeEvent a)
+-- | Abstract type of the TreeEvent class.
+data CTreeEvent a  = CTreeEvent
+
+-- | Pointer to an object of type 'SplitterEvent', derived from 'NotifyEvent'.
+type SplitterEvent a  = NotifyEvent (CSplitterEvent a)
+-- | Inheritance type of the SplitterEvent class.
+type TSplitterEvent a  = TNotifyEvent (CSplitterEvent a)
+-- | Abstract type of the SplitterEvent class.
+data CSplitterEvent a  = CSplitterEvent
+
+-- | Pointer to an object of type 'SpinEvent', derived from 'NotifyEvent'.
+type SpinEvent a  = NotifyEvent (CSpinEvent a)
+-- | Inheritance type of the SpinEvent class.
+type TSpinEvent a  = TNotifyEvent (CSpinEvent a)
+-- | Abstract type of the SpinEvent class.
+data CSpinEvent a  = CSpinEvent
+
+-- | Pointer to an object of type 'PlotEvent', derived from 'NotifyEvent'.
+type PlotEvent a  = NotifyEvent (CPlotEvent a)
+-- | Inheritance type of the PlotEvent class.
+type TPlotEvent a  = TNotifyEvent (CPlotEvent a)
+-- | Abstract type of the PlotEvent class.
+data CPlotEvent a  = CPlotEvent
+
+-- | Pointer to an object of type 'NotebookEvent', derived from 'NotifyEvent'.
+type NotebookEvent a  = NotifyEvent (CNotebookEvent a)
+-- | Inheritance type of the NotebookEvent class.
+type TNotebookEvent a  = TNotifyEvent (CNotebookEvent a)
+-- | Abstract type of the NotebookEvent class.
+data CNotebookEvent a  = CNotebookEvent
+
+-- | Pointer to an object of type 'ListEvent', derived from 'NotifyEvent'.
+type ListEvent a  = NotifyEvent (CListEvent a)
+-- | Inheritance type of the ListEvent class.
+type TListEvent a  = TNotifyEvent (CListEvent a)
+-- | Abstract type of the ListEvent class.
+data CListEvent a  = CListEvent
+
+-- | Pointer to an object of type 'GridSizeEvent', derived from 'NotifyEvent'.
+type GridSizeEvent a  = NotifyEvent (CGridSizeEvent a)
+-- | Inheritance type of the GridSizeEvent class.
+type TGridSizeEvent a  = TNotifyEvent (CGridSizeEvent a)
+-- | Abstract type of the GridSizeEvent class.
+data CGridSizeEvent a  = CGridSizeEvent
+
+-- | Pointer to an object of type 'GridRangeSelectEvent', derived from 'NotifyEvent'.
+type GridRangeSelectEvent a  = NotifyEvent (CGridRangeSelectEvent a)
+-- | Inheritance type of the GridRangeSelectEvent class.
+type TGridRangeSelectEvent a  = TNotifyEvent (CGridRangeSelectEvent a)
+-- | Abstract type of the GridRangeSelectEvent class.
+data CGridRangeSelectEvent a  = CGridRangeSelectEvent
+
+-- | Pointer to an object of type 'GridEvent', derived from 'NotifyEvent'.
+type GridEvent a  = NotifyEvent (CGridEvent a)
+-- | Inheritance type of the GridEvent class.
+type TGridEvent a  = TNotifyEvent (CGridEvent a)
+-- | Abstract type of the GridEvent class.
+data CGridEvent a  = CGridEvent
+
+-- | Pointer to an object of type 'BookCtrlEvent', derived from 'NotifyEvent'.
+type BookCtrlEvent a  = NotifyEvent (CBookCtrlEvent a)
+-- | Inheritance type of the BookCtrlEvent class.
+type TBookCtrlEvent a  = TNotifyEvent (CBookCtrlEvent a)
+-- | Abstract type of the BookCtrlEvent class.
+data CBookCtrlEvent a  = CBookCtrlEvent
+
+-- | Pointer to an object of type 'AuiNotebookEvent', derived from 'BookCtrlEvent'.
+type AuiNotebookEvent a  = BookCtrlEvent (CAuiNotebookEvent a)
+-- | Inheritance type of the AuiNotebookEvent class.
+type TAuiNotebookEvent a  = TBookCtrlEvent (CAuiNotebookEvent a)
+-- | Abstract type of the AuiNotebookEvent class.
+data CAuiNotebookEvent a  = CAuiNotebookEvent
+
+-- | Pointer to an object of type 'AuiToolBarEvent', derived from 'NotifyEvent'.
+type AuiToolBarEvent a  = NotifyEvent (CAuiToolBarEvent a)
+-- | Inheritance type of the AuiToolBarEvent class.
+type TAuiToolBarEvent a  = TNotifyEvent (CAuiToolBarEvent a)
+-- | Abstract type of the AuiToolBarEvent class.
+data CAuiToolBarEvent a  = CAuiToolBarEvent
+
+-- | Pointer to an object of type 'GridEditorCreatedEvent', derived from 'CommandEvent'.
+type GridEditorCreatedEvent a  = CommandEvent (CGridEditorCreatedEvent a)
+-- | Inheritance type of the GridEditorCreatedEvent class.
+type TGridEditorCreatedEvent a  = TCommandEvent (CGridEditorCreatedEvent a)
+-- | Abstract type of the GridEditorCreatedEvent class.
+data CGridEditorCreatedEvent a  = CGridEditorCreatedEvent
+
+-- | Pointer to an object of type 'HelpEvent', derived from 'CommandEvent'.
+type HelpEvent a  = CommandEvent (CHelpEvent a)
+-- | Inheritance type of the HelpEvent class.
+type THelpEvent a  = TCommandEvent (CHelpEvent a)
+-- | Abstract type of the HelpEvent class.
+data CHelpEvent a  = CHelpEvent
+
+-- | Pointer to an object of type 'WindowDestroyEvent', derived from 'CommandEvent'.
+type WindowDestroyEvent a  = CommandEvent (CWindowDestroyEvent a)
+-- | Inheritance type of the WindowDestroyEvent class.
+type TWindowDestroyEvent a  = TCommandEvent (CWindowDestroyEvent a)
+-- | Abstract type of the WindowDestroyEvent class.
+data CWindowDestroyEvent a  = CWindowDestroyEvent
+
+-- | Pointer to an object of type 'StyledTextEvent', derived from 'CommandEvent'.
+type StyledTextEvent a  = CommandEvent (CStyledTextEvent a)
+-- | Inheritance type of the StyledTextEvent class.
+type TStyledTextEvent a  = TCommandEvent (CStyledTextEvent a)
+-- | Abstract type of the StyledTextEvent class.
+data CStyledTextEvent a  = CStyledTextEvent
+
+-- | Pointer to an object of type 'WXCHtmlEvent', derived from 'CommandEvent'.
+type WXCHtmlEvent a  = CommandEvent (CWXCHtmlEvent a)
+-- | Inheritance type of the WXCHtmlEvent class.
+type TWXCHtmlEvent a  = TCommandEvent (CWXCHtmlEvent a)
+-- | Abstract type of the WXCHtmlEvent class.
+data CWXCHtmlEvent a  = CWXCHtmlEvent
+
+-- | Pointer to an object of type 'WindowCreateEvent', derived from 'CommandEvent'.
+type WindowCreateEvent a  = CommandEvent (CWindowCreateEvent a)
+-- | Inheritance type of the WindowCreateEvent class.
+type TWindowCreateEvent a  = TCommandEvent (CWindowCreateEvent a)
+-- | Abstract type of the WindowCreateEvent class.
+data CWindowCreateEvent a  = CWindowCreateEvent
+
+-- | Pointer to an object of type 'TabEvent', derived from 'CommandEvent'.
+type TabEvent a  = CommandEvent (CTabEvent a)
+-- | Inheritance type of the TabEvent class.
+type TTabEvent a  = TCommandEvent (CTabEvent a)
+-- | Abstract type of the TabEvent class.
+data CTabEvent a  = CTabEvent
+
+-- | Pointer to an object of type 'FindDialogEvent', derived from 'CommandEvent'.
+type FindDialogEvent a  = CommandEvent (CFindDialogEvent a)
+-- | Inheritance type of the FindDialogEvent class.
+type TFindDialogEvent a  = TCommandEvent (CFindDialogEvent a)
+-- | Abstract type of the FindDialogEvent class.
+data CFindDialogEvent a  = CFindDialogEvent
+
+-- | Pointer to an object of type 'CalendarEvent', derived from 'CommandEvent'.
+type CalendarEvent a  = CommandEvent (CCalendarEvent a)
+-- | Inheritance type of the CalendarEvent class.
+type TCalendarEvent a  = TCommandEvent (CCalendarEvent a)
+-- | Abstract type of the CalendarEvent class.
+data CCalendarEvent a  = CCalendarEvent
+
+-- | Pointer to an object of type 'InputSinkEvent', derived from 'Event'.
+type InputSinkEvent a  = Event (CInputSinkEvent a)
+-- | Inheritance type of the InputSinkEvent class.
+type TInputSinkEvent a  = TEvent (CInputSinkEvent a)
+-- | Abstract type of the InputSinkEvent class.
+data CInputSinkEvent a  = CInputSinkEvent
+
+-- | Pointer to an object of type 'WXCPrintEvent', derived from 'Event'.
+type WXCPrintEvent a  = Event (CWXCPrintEvent a)
+-- | Inheritance type of the WXCPrintEvent class.
+type TWXCPrintEvent a  = TEvent (CWXCPrintEvent a)
+-- | Abstract type of the WXCPrintEvent class.
+data CWXCPrintEvent a  = CWXCPrintEvent
+
+-- | Pointer to an object of type 'UpdateUIEvent', derived from 'Event'.
+type UpdateUIEvent a  = Event (CUpdateUIEvent a)
+-- | Inheritance type of the UpdateUIEvent class.
+type TUpdateUIEvent a  = TEvent (CUpdateUIEvent a)
+-- | Abstract type of the UpdateUIEvent class.
+data CUpdateUIEvent a  = CUpdateUIEvent
+
+-- | Pointer to an object of type 'TimerEvent', derived from 'Event'.
+type TimerEvent a  = Event (CTimerEvent a)
+-- | Inheritance type of the TimerEvent class.
+type TTimerEvent a  = TEvent (CTimerEvent a)
+-- | Abstract type of the TimerEvent class.
+data CTimerEvent a  = CTimerEvent
+
+-- | Pointer to an object of type 'SysColourChangedEvent', derived from 'Event'.
+type SysColourChangedEvent a  = Event (CSysColourChangedEvent a)
+-- | Inheritance type of the SysColourChangedEvent class.
+type TSysColourChangedEvent a  = TEvent (CSysColourChangedEvent a)
+-- | Abstract type of the SysColourChangedEvent class.
+data CSysColourChangedEvent a  = CSysColourChangedEvent
+
+-- | Pointer to an object of type 'SocketEvent', derived from 'Event'.
+type SocketEvent a  = Event (CSocketEvent a)
+-- | Inheritance type of the SocketEvent class.
+type TSocketEvent a  = TEvent (CSocketEvent a)
+-- | Abstract type of the SocketEvent class.
+data CSocketEvent a  = CSocketEvent
+
+-- | Pointer to an object of type 'SizeEvent', derived from 'Event'.
+type SizeEvent a  = Event (CSizeEvent a)
+-- | Inheritance type of the SizeEvent class.
+type TSizeEvent a  = TEvent (CSizeEvent a)
+-- | Abstract type of the SizeEvent class.
+data CSizeEvent a  = CSizeEvent
+
+-- | Pointer to an object of type 'ShowEvent', derived from 'Event'.
+type ShowEvent a  = Event (CShowEvent a)
+-- | Inheritance type of the ShowEvent class.
+type TShowEvent a  = TEvent (CShowEvent a)
+-- | Abstract type of the ShowEvent class.
+data CShowEvent a  = CShowEvent
+
+-- | Pointer to an object of type 'SetCursorEvent', derived from 'Event'.
+type SetCursorEvent a  = Event (CSetCursorEvent a)
+-- | Inheritance type of the SetCursorEvent class.
+type TSetCursorEvent a  = TEvent (CSetCursorEvent a)
+-- | Abstract type of the SetCursorEvent class.
+data CSetCursorEvent a  = CSetCursorEvent
+
+-- | Pointer to an object of type 'ScrollWinEvent', derived from 'Event'.
+type ScrollWinEvent a  = Event (CScrollWinEvent a)
+-- | Inheritance type of the ScrollWinEvent class.
+type TScrollWinEvent a  = TEvent (CScrollWinEvent a)
+-- | Abstract type of the ScrollWinEvent class.
+data CScrollWinEvent a  = CScrollWinEvent
+
+-- | Pointer to an object of type 'ScrollEvent', derived from 'Event'.
+type ScrollEvent a  = Event (CScrollEvent a)
+-- | Inheritance type of the ScrollEvent class.
+type TScrollEvent a  = TEvent (CScrollEvent a)
+-- | Abstract type of the ScrollEvent class.
+data CScrollEvent a  = CScrollEvent
+
+-- | Pointer to an object of type 'SashEvent', derived from 'Event'.
+type SashEvent a  = Event (CSashEvent a)
+-- | Inheritance type of the SashEvent class.
+type TSashEvent a  = TEvent (CSashEvent a)
+-- | Abstract type of the SashEvent class.
+data CSashEvent a  = CSashEvent
+
+-- | Pointer to an object of type 'QueryNewPaletteEvent', derived from 'Event'.
+type QueryNewPaletteEvent a  = Event (CQueryNewPaletteEvent a)
+-- | Inheritance type of the QueryNewPaletteEvent class.
+type TQueryNewPaletteEvent a  = TEvent (CQueryNewPaletteEvent a)
+-- | Abstract type of the QueryNewPaletteEvent class.
+data CQueryNewPaletteEvent a  = CQueryNewPaletteEvent
+
+-- | Pointer to an object of type 'QueryLayoutInfoEvent', derived from 'Event'.
+type QueryLayoutInfoEvent a  = Event (CQueryLayoutInfoEvent a)
+-- | Inheritance type of the QueryLayoutInfoEvent class.
+type TQueryLayoutInfoEvent a  = TEvent (CQueryLayoutInfoEvent a)
+-- | Abstract type of the QueryLayoutInfoEvent class.
+data CQueryLayoutInfoEvent a  = CQueryLayoutInfoEvent
+
+-- | Pointer to an object of type 'ProcessEvent', derived from 'Event'.
+type ProcessEvent a  = Event (CProcessEvent a)
+-- | Inheritance type of the ProcessEvent class.
+type TProcessEvent a  = TEvent (CProcessEvent a)
+-- | Abstract type of the ProcessEvent class.
+data CProcessEvent a  = CProcessEvent
+
+-- | Pointer to an object of type 'PaletteChangedEvent', derived from 'Event'.
+type PaletteChangedEvent a  = Event (CPaletteChangedEvent a)
+-- | Inheritance type of the PaletteChangedEvent class.
+type TPaletteChangedEvent a  = TEvent (CPaletteChangedEvent a)
+-- | Abstract type of the PaletteChangedEvent class.
+data CPaletteChangedEvent a  = CPaletteChangedEvent
+
+-- | Pointer to an object of type 'PaintEvent', derived from 'Event'.
+type PaintEvent a  = Event (CPaintEvent a)
+-- | Inheritance type of the PaintEvent class.
+type TPaintEvent a  = TEvent (CPaintEvent a)
+-- | Abstract type of the PaintEvent class.
+data CPaintEvent a  = CPaintEvent
+
+-- | Pointer to an object of type 'NavigationKeyEvent', derived from 'Event'.
+type NavigationKeyEvent a  = Event (CNavigationKeyEvent a)
+-- | Inheritance type of the NavigationKeyEvent class.
+type TNavigationKeyEvent a  = TEvent (CNavigationKeyEvent a)
+-- | Abstract type of the NavigationKeyEvent class.
+data CNavigationKeyEvent a  = CNavigationKeyEvent
+
+-- | Pointer to an object of type 'MoveEvent', derived from 'Event'.
+type MoveEvent a  = Event (CMoveEvent a)
+-- | Inheritance type of the MoveEvent class.
+type TMoveEvent a  = TEvent (CMoveEvent a)
+-- | Abstract type of the MoveEvent class.
+data CMoveEvent a  = CMoveEvent
+
+-- | Pointer to an object of type 'MouseEvent', derived from 'Event'.
+type MouseEvent a  = Event (CMouseEvent a)
+-- | Inheritance type of the MouseEvent class.
+type TMouseEvent a  = TEvent (CMouseEvent a)
+-- | Abstract type of the MouseEvent class.
+data CMouseEvent a  = CMouseEvent
+
+-- | Pointer to an object of type 'MouseCaptureChangedEvent', derived from 'Event'.
+type MouseCaptureChangedEvent a  = Event (CMouseCaptureChangedEvent a)
+-- | Inheritance type of the MouseCaptureChangedEvent class.
+type TMouseCaptureChangedEvent a  = TEvent (CMouseCaptureChangedEvent a)
+-- | Abstract type of the MouseCaptureChangedEvent class.
+data CMouseCaptureChangedEvent a  = CMouseCaptureChangedEvent
+
+-- | Pointer to an object of type 'MenuEvent', derived from 'Event'.
+type MenuEvent a  = Event (CMenuEvent a)
+-- | Inheritance type of the MenuEvent class.
+type TMenuEvent a  = TEvent (CMenuEvent a)
+-- | Abstract type of the MenuEvent class.
+data CMenuEvent a  = CMenuEvent
+
+-- | Pointer to an object of type 'MaximizeEvent', derived from 'Event'.
+type MaximizeEvent a  = Event (CMaximizeEvent a)
+-- | Inheritance type of the MaximizeEvent class.
+type TMaximizeEvent a  = TEvent (CMaximizeEvent a)
+-- | Abstract type of the MaximizeEvent class.
+data CMaximizeEvent a  = CMaximizeEvent
+
+-- | Pointer to an object of type 'KeyEvent', derived from 'Event'.
+type KeyEvent a  = Event (CKeyEvent a)
+-- | Inheritance type of the KeyEvent class.
+type TKeyEvent a  = TEvent (CKeyEvent a)
+-- | Abstract type of the KeyEvent class.
+data CKeyEvent a  = CKeyEvent
+
+-- | Pointer to an object of type 'JoystickEvent', derived from 'Event'.
+type JoystickEvent a  = Event (CJoystickEvent a)
+-- | Inheritance type of the JoystickEvent class.
+type TJoystickEvent a  = TEvent (CJoystickEvent a)
+-- | Abstract type of the JoystickEvent class.
+data CJoystickEvent a  = CJoystickEvent
+
+-- | Pointer to an object of type 'InitDialogEvent', derived from 'Event'.
+type InitDialogEvent a  = Event (CInitDialogEvent a)
+-- | Inheritance type of the InitDialogEvent class.
+type TInitDialogEvent a  = TEvent (CInitDialogEvent a)
+-- | Abstract type of the InitDialogEvent class.
+data CInitDialogEvent a  = CInitDialogEvent
+
+-- | Pointer to an object of type 'IdleEvent', derived from 'Event'.
+type IdleEvent a  = Event (CIdleEvent a)
+-- | Inheritance type of the IdleEvent class.
+type TIdleEvent a  = TEvent (CIdleEvent a)
+-- | Abstract type of the IdleEvent class.
+data CIdleEvent a  = CIdleEvent
+
+-- | Pointer to an object of type 'IconizeEvent', derived from 'Event'.
+type IconizeEvent a  = Event (CIconizeEvent a)
+-- | Inheritance type of the IconizeEvent class.
+type TIconizeEvent a  = TEvent (CIconizeEvent a)
+-- | Abstract type of the IconizeEvent class.
+data CIconizeEvent a  = CIconizeEvent
+
+-- | Pointer to an object of type 'FocusEvent', derived from 'Event'.
+type FocusEvent a  = Event (CFocusEvent a)
+-- | Inheritance type of the FocusEvent class.
+type TFocusEvent a  = TEvent (CFocusEvent a)
+-- | Abstract type of the FocusEvent class.
+data CFocusEvent a  = CFocusEvent
+
+-- | Pointer to an object of type 'EraseEvent', derived from 'Event'.
+type EraseEvent a  = Event (CEraseEvent a)
+-- | Inheritance type of the EraseEvent class.
+type TEraseEvent a  = TEvent (CEraseEvent a)
+-- | Abstract type of the EraseEvent class.
+data CEraseEvent a  = CEraseEvent
+
+-- | Pointer to an object of type 'DropFilesEvent', derived from 'Event'.
+type DropFilesEvent a  = Event (CDropFilesEvent a)
+-- | Inheritance type of the DropFilesEvent class.
+type TDropFilesEvent a  = TEvent (CDropFilesEvent a)
+-- | Abstract type of the DropFilesEvent class.
+data CDropFilesEvent a  = CDropFilesEvent
+
+-- | Pointer to an object of type 'DialUpEvent', derived from 'Event'.
+type DialUpEvent a  = Event (CDialUpEvent a)
+-- | Inheritance type of the DialUpEvent class.
+type TDialUpEvent a  = TEvent (CDialUpEvent a)
+-- | Abstract type of the DialUpEvent class.
+data CDialUpEvent a  = CDialUpEvent
+
+-- | Pointer to an object of type 'CloseEvent', derived from 'Event'.
+type CloseEvent a  = Event (CCloseEvent a)
+-- | Inheritance type of the CloseEvent class.
+type TCloseEvent a  = TEvent (CCloseEvent a)
+-- | Abstract type of the CloseEvent class.
+data CCloseEvent a  = CCloseEvent
+
+-- | Pointer to an object of type 'CalculateLayoutEvent', derived from 'Event'.
+type CalculateLayoutEvent a  = Event (CCalculateLayoutEvent a)
+-- | Inheritance type of the CalculateLayoutEvent class.
+type TCalculateLayoutEvent a  = TEvent (CCalculateLayoutEvent a)
+-- | Abstract type of the CalculateLayoutEvent class.
+data CCalculateLayoutEvent a  = CCalculateLayoutEvent
+
+-- | Pointer to an object of type 'ActivateEvent', derived from 'Event'.
+type ActivateEvent a  = Event (CActivateEvent a)
+-- | Inheritance type of the ActivateEvent class.
+type TActivateEvent a  = TEvent (CActivateEvent a)
+-- | Abstract type of the ActivateEvent class.
+data CActivateEvent a  = CActivateEvent
+
+-- | Pointer to an object of type 'CbPluginEvent', derived from 'Event'.
+type CbPluginEvent a  = Event (CCbPluginEvent a)
+-- | Inheritance type of the CbPluginEvent class.
+type TCbPluginEvent a  = TEvent (CCbPluginEvent a)
+-- | Abstract type of the CbPluginEvent class.
+data CCbPluginEvent a  = CCbPluginEvent
+
+-- | Pointer to an object of type 'CbCustomizeBarEvent', derived from 'CbPluginEvent'.
+type CbCustomizeBarEvent a  = CbPluginEvent (CCbCustomizeBarEvent a)
+-- | Inheritance type of the CbCustomizeBarEvent class.
+type TCbCustomizeBarEvent a  = TCbPluginEvent (CCbCustomizeBarEvent a)
+-- | Abstract type of the CbCustomizeBarEvent class.
+data CCbCustomizeBarEvent a  = CCbCustomizeBarEvent
+
+-- | Pointer to an object of type 'CbDrawBarDecorEvent', derived from 'CbPluginEvent'.
+type CbDrawBarDecorEvent a  = CbPluginEvent (CCbDrawBarDecorEvent a)
+-- | Inheritance type of the CbDrawBarDecorEvent class.
+type TCbDrawBarDecorEvent a  = TCbPluginEvent (CCbDrawBarDecorEvent a)
+-- | Abstract type of the CbDrawBarDecorEvent class.
+data CCbDrawBarDecorEvent a  = CCbDrawBarDecorEvent
+
+-- | Pointer to an object of type 'CbDrawHintRectEvent', derived from 'CbPluginEvent'.
+type CbDrawHintRectEvent a  = CbPluginEvent (CCbDrawHintRectEvent a)
+-- | Inheritance type of the CbDrawHintRectEvent class.
+type TCbDrawHintRectEvent a  = TCbPluginEvent (CCbDrawHintRectEvent a)
+-- | Abstract type of the CbDrawHintRectEvent class.
+data CCbDrawHintRectEvent a  = CCbDrawHintRectEvent
+
+-- | Pointer to an object of type 'CbDrawPaneDecorEvent', derived from 'CbPluginEvent'.
+type CbDrawPaneDecorEvent a  = CbPluginEvent (CCbDrawPaneDecorEvent a)
+-- | Inheritance type of the CbDrawPaneDecorEvent class.
+type TCbDrawPaneDecorEvent a  = TCbPluginEvent (CCbDrawPaneDecorEvent a)
+-- | Abstract type of the CbDrawPaneDecorEvent class.
+data CCbDrawPaneDecorEvent a  = CCbDrawPaneDecorEvent
+
+-- | Pointer to an object of type 'CbDrawRowDecorEvent', derived from 'CbPluginEvent'.
+type CbDrawRowDecorEvent a  = CbPluginEvent (CCbDrawRowDecorEvent a)
+-- | Inheritance type of the CbDrawRowDecorEvent class.
+type TCbDrawRowDecorEvent a  = TCbPluginEvent (CCbDrawRowDecorEvent a)
+-- | Abstract type of the CbDrawRowDecorEvent class.
+data CCbDrawRowDecorEvent a  = CCbDrawRowDecorEvent
+
+-- | Pointer to an object of type 'CbFinishDrawInAreaEvent', derived from 'CbPluginEvent'.
+type CbFinishDrawInAreaEvent a  = CbPluginEvent (CCbFinishDrawInAreaEvent a)
+-- | Inheritance type of the CbFinishDrawInAreaEvent class.
+type TCbFinishDrawInAreaEvent a  = TCbPluginEvent (CCbFinishDrawInAreaEvent a)
+-- | Abstract type of the CbFinishDrawInAreaEvent class.
+data CCbFinishDrawInAreaEvent a  = CCbFinishDrawInAreaEvent
+
+-- | Pointer to an object of type 'CbLayoutRowEvent', derived from 'CbPluginEvent'.
+type CbLayoutRowEvent a  = CbPluginEvent (CCbLayoutRowEvent a)
+-- | Inheritance type of the CbLayoutRowEvent class.
+type TCbLayoutRowEvent a  = TCbPluginEvent (CCbLayoutRowEvent a)
+-- | Abstract type of the CbLayoutRowEvent class.
+data CCbLayoutRowEvent a  = CCbLayoutRowEvent
+
+-- | Pointer to an object of type 'CbLeftDownEvent', derived from 'CbPluginEvent'.
+type CbLeftDownEvent a  = CbPluginEvent (CCbLeftDownEvent a)
+-- | Inheritance type of the CbLeftDownEvent class.
+type TCbLeftDownEvent a  = TCbPluginEvent (CCbLeftDownEvent a)
+-- | Abstract type of the CbLeftDownEvent class.
+data CCbLeftDownEvent a  = CCbLeftDownEvent
+
+-- | Pointer to an object of type 'CbMotionEvent', derived from 'CbPluginEvent'.
+type CbMotionEvent a  = CbPluginEvent (CCbMotionEvent a)
+-- | Inheritance type of the CbMotionEvent class.
+type TCbMotionEvent a  = TCbPluginEvent (CCbMotionEvent a)
+-- | Abstract type of the CbMotionEvent class.
+data CCbMotionEvent a  = CCbMotionEvent
+
+-- | Pointer to an object of type 'CbRemoveBarEvent', derived from 'CbPluginEvent'.
+type CbRemoveBarEvent a  = CbPluginEvent (CCbRemoveBarEvent a)
+-- | Inheritance type of the CbRemoveBarEvent class.
+type TCbRemoveBarEvent a  = TCbPluginEvent (CCbRemoveBarEvent a)
+-- | Abstract type of the CbRemoveBarEvent class.
+data CCbRemoveBarEvent a  = CCbRemoveBarEvent
+
+-- | Pointer to an object of type 'CbResizeRowEvent', derived from 'CbPluginEvent'.
+type CbResizeRowEvent a  = CbPluginEvent (CCbResizeRowEvent a)
+-- | Inheritance type of the CbResizeRowEvent class.
+type TCbResizeRowEvent a  = TCbPluginEvent (CCbResizeRowEvent a)
+-- | Abstract type of the CbResizeRowEvent class.
+data CCbResizeRowEvent a  = CCbResizeRowEvent
+
+-- | Pointer to an object of type 'CbRightUpEvent', derived from 'CbPluginEvent'.
+type CbRightUpEvent a  = CbPluginEvent (CCbRightUpEvent a)
+-- | Inheritance type of the CbRightUpEvent class.
+type TCbRightUpEvent a  = TCbPluginEvent (CCbRightUpEvent a)
+-- | Abstract type of the CbRightUpEvent class.
+data CCbRightUpEvent a  = CCbRightUpEvent
+
+-- | Pointer to an object of type 'CbStartBarDraggingEvent', derived from 'CbPluginEvent'.
+type CbStartBarDraggingEvent a  = CbPluginEvent (CCbStartBarDraggingEvent a)
+-- | Inheritance type of the CbStartBarDraggingEvent class.
+type TCbStartBarDraggingEvent a  = TCbPluginEvent (CCbStartBarDraggingEvent a)
+-- | Abstract type of the CbStartBarDraggingEvent class.
+data CCbStartBarDraggingEvent a  = CCbStartBarDraggingEvent
+
+-- | Pointer to an object of type 'CbStartDrawInAreaEvent', derived from 'CbPluginEvent'.
+type CbStartDrawInAreaEvent a  = CbPluginEvent (CCbStartDrawInAreaEvent a)
+-- | Inheritance type of the CbStartDrawInAreaEvent class.
+type TCbStartDrawInAreaEvent a  = TCbPluginEvent (CCbStartDrawInAreaEvent a)
+-- | Abstract type of the CbStartDrawInAreaEvent class.
+data CCbStartDrawInAreaEvent a  = CCbStartDrawInAreaEvent
+
+-- | Pointer to an object of type 'CbSizeBarWndEvent', derived from 'CbPluginEvent'.
+type CbSizeBarWndEvent a  = CbPluginEvent (CCbSizeBarWndEvent a)
+-- | Inheritance type of the CbSizeBarWndEvent class.
+type TCbSizeBarWndEvent a  = TCbPluginEvent (CCbSizeBarWndEvent a)
+-- | Abstract type of the CbSizeBarWndEvent class.
+data CCbSizeBarWndEvent a  = CCbSizeBarWndEvent
+
+-- | Pointer to an object of type 'CbRightDownEvent', derived from 'CbPluginEvent'.
+type CbRightDownEvent a  = CbPluginEvent (CCbRightDownEvent a)
+-- | Inheritance type of the CbRightDownEvent class.
+type TCbRightDownEvent a  = TCbPluginEvent (CCbRightDownEvent a)
+-- | Abstract type of the CbRightDownEvent class.
+data CCbRightDownEvent a  = CCbRightDownEvent
+
+-- | Pointer to an object of type 'CbResizeBarEvent', derived from 'CbPluginEvent'.
+type CbResizeBarEvent a  = CbPluginEvent (CCbResizeBarEvent a)
+-- | Inheritance type of the CbResizeBarEvent class.
+type TCbResizeBarEvent a  = TCbPluginEvent (CCbResizeBarEvent a)
+-- | Abstract type of the CbResizeBarEvent class.
+data CCbResizeBarEvent a  = CCbResizeBarEvent
+
+-- | Pointer to an object of type 'CbLeftUpEvent', derived from 'CbPluginEvent'.
+type CbLeftUpEvent a  = CbPluginEvent (CCbLeftUpEvent a)
+-- | Inheritance type of the CbLeftUpEvent class.
+type TCbLeftUpEvent a  = TCbPluginEvent (CCbLeftUpEvent a)
+-- | Abstract type of the CbLeftUpEvent class.
+data CCbLeftUpEvent a  = CCbLeftUpEvent
+
+-- | Pointer to an object of type 'CbLeftDClickEvent', derived from 'CbPluginEvent'.
+type CbLeftDClickEvent a  = CbPluginEvent (CCbLeftDClickEvent a)
+-- | Inheritance type of the CbLeftDClickEvent class.
+type TCbLeftDClickEvent a  = TCbPluginEvent (CCbLeftDClickEvent a)
+-- | Abstract type of the CbLeftDClickEvent class.
+data CCbLeftDClickEvent a  = CCbLeftDClickEvent
+
+-- | Pointer to an object of type 'CbInsertBarEvent', derived from 'CbPluginEvent'.
+type CbInsertBarEvent a  = CbPluginEvent (CCbInsertBarEvent a)
+-- | Inheritance type of the CbInsertBarEvent class.
+type TCbInsertBarEvent a  = TCbPluginEvent (CCbInsertBarEvent a)
+-- | Abstract type of the CbInsertBarEvent class.
+data CCbInsertBarEvent a  = CCbInsertBarEvent
+
+-- | Pointer to an object of type 'CbDrawRowHandlesEvent', derived from 'CbPluginEvent'.
+type CbDrawRowHandlesEvent a  = CbPluginEvent (CCbDrawRowHandlesEvent a)
+-- | Inheritance type of the CbDrawRowHandlesEvent class.
+type TCbDrawRowHandlesEvent a  = TCbPluginEvent (CCbDrawRowHandlesEvent a)
+-- | Abstract type of the CbDrawRowHandlesEvent class.
+data CCbDrawRowHandlesEvent a  = CCbDrawRowHandlesEvent
+
+-- | Pointer to an object of type 'CbDrawRowBkGroundEvent', derived from 'CbPluginEvent'.
+type CbDrawRowBkGroundEvent a  = CbPluginEvent (CCbDrawRowBkGroundEvent a)
+-- | Inheritance type of the CbDrawRowBkGroundEvent class.
+type TCbDrawRowBkGroundEvent a  = TCbPluginEvent (CCbDrawRowBkGroundEvent a)
+-- | Abstract type of the CbDrawRowBkGroundEvent class.
+data CCbDrawRowBkGroundEvent a  = CCbDrawRowBkGroundEvent
+
+-- | Pointer to an object of type 'CbDrawPaneBkGroundEvent', derived from 'CbPluginEvent'.
+type CbDrawPaneBkGroundEvent a  = CbPluginEvent (CCbDrawPaneBkGroundEvent a)
+-- | Inheritance type of the CbDrawPaneBkGroundEvent class.
+type TCbDrawPaneBkGroundEvent a  = TCbPluginEvent (CCbDrawPaneBkGroundEvent a)
+-- | Abstract type of the CbDrawPaneBkGroundEvent class.
+data CCbDrawPaneBkGroundEvent a  = CCbDrawPaneBkGroundEvent
+
+-- | Pointer to an object of type 'CbDrawBarHandlesEvent', derived from 'CbPluginEvent'.
+type CbDrawBarHandlesEvent a  = CbPluginEvent (CCbDrawBarHandlesEvent a)
+-- | Inheritance type of the CbDrawBarHandlesEvent class.
+type TCbDrawBarHandlesEvent a  = TCbPluginEvent (CCbDrawBarHandlesEvent a)
+-- | Abstract type of the CbDrawBarHandlesEvent class.
+data CCbDrawBarHandlesEvent a  = CCbDrawBarHandlesEvent
+
+-- | Pointer to an object of type 'CbCustomizeLayoutEvent', derived from 'CbPluginEvent'.
+type CbCustomizeLayoutEvent a  = CbPluginEvent (CCbCustomizeLayoutEvent a)
+-- | Inheritance type of the CbCustomizeLayoutEvent class.
+type TCbCustomizeLayoutEvent a  = TCbPluginEvent (CCbCustomizeLayoutEvent a)
+-- | Abstract type of the CbCustomizeLayoutEvent class.
+data CCbCustomizeLayoutEvent a  = CCbCustomizeLayoutEvent
+
+-- | Pointer to an object of type 'ServerBase', derived from 'WxObject'.
+type ServerBase a  = WxObject (CServerBase a)
+-- | Inheritance type of the ServerBase class.
+type TServerBase a  = TWxObject (CServerBase a)
+-- | Abstract type of the ServerBase class.
+data CServerBase a  = CServerBase
+
+-- | Pointer to an object of type 'Server', derived from 'ServerBase'.
+type Server a  = ServerBase (CServer a)
+-- | Inheritance type of the Server class.
+type TServer a  = TServerBase (CServer a)
+-- | Abstract type of the Server class.
+data CServer a  = CServer
+
+-- | Pointer to an object of type 'WXCServer', derived from 'Server'.
+type WXCServer a  = Server (CWXCServer a)
+-- | Inheritance type of the WXCServer class.
+type TWXCServer a  = TServer (CWXCServer a)
+-- | Abstract type of the WXCServer class.
+data CWXCServer a  = CWXCServer
+
+-- | Pointer to an object of type 'DDEServer', derived from 'ServerBase'.
+type DDEServer a  = ServerBase (CDDEServer a)
+-- | Inheritance type of the DDEServer class.
+type TDDEServer a  = TServerBase (CDDEServer a)
+-- | Abstract type of the DDEServer class.
+data CDDEServer a  = CDDEServer
+
+-- | Pointer to an object of type 'GridTableBase', derived from 'WxObject'.
+type GridTableBase a  = WxObject (CGridTableBase a)
+-- | Inheritance type of the GridTableBase class.
+type TGridTableBase a  = TWxObject (CGridTableBase a)
+-- | Abstract type of the GridTableBase class.
+data CGridTableBase a  = CGridTableBase
+
+-- | Pointer to an object of type 'WXCGridTable', derived from 'GridTableBase'.
+type WXCGridTable a  = GridTableBase (CWXCGridTable a)
+-- | Inheritance type of the WXCGridTable class.
+type TWXCGridTable a  = TGridTableBase (CWXCGridTable a)
+-- | Abstract type of the WXCGridTable class.
+data CWXCGridTable a  = CWXCGridTable
+
+-- | Pointer to an object of type 'Command', derived from 'WxObject'.
+type Command a  = WxObject (CCommand a)
+-- | Inheritance type of the Command class.
+type TCommand a  = TWxObject (CCommand a)
+-- | Abstract type of the Command class.
+data CCommand a  = CCommand
+
+-- | Pointer to an object of type 'WXCCommand', derived from 'Command'.
+type WXCCommand a  = Command (CWXCCommand a)
+-- | Inheritance type of the WXCCommand class.
+type TWXCCommand a  = TCommand (CWXCCommand a)
+-- | Abstract type of the WXCCommand class.
+data CWXCCommand a  = CWXCCommand
+
+-- | Pointer to an object of type 'ArtProvider', derived from 'WxObject'.
+type ArtProvider a  = WxObject (CArtProvider a)
+-- | Inheritance type of the ArtProvider class.
+type TArtProvider a  = TWxObject (CArtProvider a)
+-- | Abstract type of the ArtProvider class.
+data CArtProvider a  = CArtProvider
+
+-- | Pointer to an object of type 'WXCArtProv', derived from 'ArtProvider'.
+type WXCArtProv a  = ArtProvider (CWXCArtProv a)
+-- | Inheritance type of the WXCArtProv class.
+type TWXCArtProv a  = TArtProvider (CWXCArtProv a)
+-- | Abstract type of the WXCArtProv class.
+data CWXCArtProv a  = CWXCArtProv
+
+-- | Pointer to an object of type 'Thread'.
+type Thread a  = Object (CThread a)
+-- | Inheritance type of the Thread class.
+type TThread a  = CThread a
+-- | Abstract type of the Thread class.
+data CThread a  = CThread
+
+-- | Pointer to an object of type 'InputSink', derived from 'Thread'.
+type InputSink a  = Thread (CInputSink a)
+-- | Inheritance type of the InputSink class.
+type TInputSink a  = TThread (CInputSink a)
+-- | Abstract type of the InputSink class.
+data CInputSink a  = CInputSink
+
+-- | Pointer to an object of type 'ClassInfo'.
+type ClassInfo a  = Object (CClassInfo a)
+-- | Inheritance type of the ClassInfo class.
+type TClassInfo a  = CClassInfo a
+-- | Abstract type of the ClassInfo class.
+data CClassInfo a  = CClassInfo
+
+-- | Pointer to an object of type 'ClientData'.
+type ClientData a  = Object (CClientData a)
+-- | Inheritance type of the ClientData class.
+type TClientData a  = CClientData a
+-- | Abstract type of the ClientData class.
+data CClientData a  = CClientData
+
+-- | Pointer to an object of type 'TreeItemData', derived from 'ClientData'.
+type TreeItemData a  = ClientData (CTreeItemData a)
+-- | Inheritance type of the TreeItemData class.
+type TTreeItemData a  = TClientData (CTreeItemData a)
+-- | Abstract type of the TreeItemData class.
+data CTreeItemData a  = CTreeItemData
+
+-- | Pointer to an object of type 'WXCTreeItemData', derived from 'TreeItemData'.
+type WXCTreeItemData a  = TreeItemData (CWXCTreeItemData a)
+-- | Inheritance type of the WXCTreeItemData class.
+type TWXCTreeItemData a  = TTreeItemData (CWXCTreeItemData a)
+-- | Abstract type of the WXCTreeItemData class.
+data CWXCTreeItemData a  = CWXCTreeItemData
+
+-- | Pointer to an object of type 'StringClientData', derived from 'ClientData'.
+type StringClientData a  = ClientData (CStringClientData a)
+-- | Inheritance type of the StringClientData class.
+type TStringClientData a  = TClientData (CStringClientData a)
+-- | Abstract type of the StringClientData class.
+data CStringClientData a  = CStringClientData
+
+-- | Pointer to an object of type 'MemoryBuffer'.
+type MemoryBuffer a  = Object (CMemoryBuffer a)
+-- | Inheritance type of the MemoryBuffer class.
+type TMemoryBuffer a  = CMemoryBuffer a
+-- | Abstract type of the MemoryBuffer class.
+data CMemoryBuffer a  = CMemoryBuffer
+
+-- | Pointer to an object of type 'STCDoc'.
+type STCDoc a  = Object (CSTCDoc a)
+-- | Inheritance type of the STCDoc class.
+type TSTCDoc a  = CSTCDoc a
+-- | Abstract type of the STCDoc class.
+data CSTCDoc a  = CSTCDoc
+
+-- | Pointer to an object of type 'TextOutputStream'.
+type TextOutputStream a  = Object (CTextOutputStream a)
+-- | Inheritance type of the TextOutputStream class.
+type TTextOutputStream a  = CTextOutputStream a
+-- | Abstract type of the TextOutputStream class.
+data CTextOutputStream a  = CTextOutputStream
+
+-- | Pointer to an object of type 'TextInputStream'.
+type TextInputStream a  = Object (CTextInputStream a)
+-- | Inheritance type of the TextInputStream class.
+type TTextInputStream a  = CTextInputStream a
+-- | Abstract type of the TextInputStream class.
+data CTextInputStream a  = CTextInputStream
+
+-- | Pointer to an object of type 'WxManagedPtr'.
+type WxManagedPtr a  = Object (CWxManagedPtr a)
+-- | Inheritance type of the WxManagedPtr class.
+type TWxManagedPtr a  = CWxManagedPtr a
+-- | Abstract type of the WxManagedPtr class.
+data CWxManagedPtr a  = CWxManagedPtr
+
+-- | Pointer to an object of type 'StreamBase'.
+type StreamBase a  = Object (CStreamBase a)
+-- | Inheritance type of the StreamBase class.
+type TStreamBase a  = CStreamBase a
+-- | Abstract type of the StreamBase class.
+data CStreamBase a  = CStreamBase
+
+-- | Pointer to an object of type 'InputStream', derived from 'StreamBase'.
+type InputStream a  = StreamBase (CInputStream a)
+-- | Inheritance type of the InputStream class.
+type TInputStream a  = TStreamBase (CInputStream a)
+-- | Abstract type of the InputStream class.
+data CInputStream a  = CInputStream
+
+-- | Pointer to an object of type 'FilterInputStream', derived from 'InputStream'.
+type FilterInputStream a  = InputStream (CFilterInputStream a)
+-- | Inheritance type of the FilterInputStream class.
+type TFilterInputStream a  = TInputStream (CFilterInputStream a)
+-- | Abstract type of the FilterInputStream class.
+data CFilterInputStream a  = CFilterInputStream
+
+-- | Pointer to an object of type 'BufferedInputStream', derived from 'FilterInputStream'.
+type BufferedInputStream a  = FilterInputStream (CBufferedInputStream a)
+-- | Inheritance type of the BufferedInputStream class.
+type TBufferedInputStream a  = TFilterInputStream (CBufferedInputStream a)
+-- | Abstract type of the BufferedInputStream class.
+data CBufferedInputStream a  = CBufferedInputStream
+
+-- | Pointer to an object of type 'ZlibInputStream', derived from 'FilterInputStream'.
+type ZlibInputStream a  = FilterInputStream (CZlibInputStream a)
+-- | Inheritance type of the ZlibInputStream class.
+type TZlibInputStream a  = TFilterInputStream (CZlibInputStream a)
+-- | Abstract type of the ZlibInputStream class.
+data CZlibInputStream a  = CZlibInputStream
+
+-- | Pointer to an object of type 'ZipInputStream', derived from 'InputStream'.
+type ZipInputStream a  = InputStream (CZipInputStream a)
+-- | Inheritance type of the ZipInputStream class.
+type TZipInputStream a  = TInputStream (CZipInputStream a)
+-- | Abstract type of the ZipInputStream class.
+data CZipInputStream a  = CZipInputStream
+
+-- | Pointer to an object of type 'SocketInputStream', derived from 'InputStream'.
+type SocketInputStream a  = InputStream (CSocketInputStream a)
+-- | Inheritance type of the SocketInputStream class.
+type TSocketInputStream a  = TInputStream (CSocketInputStream a)
+-- | Abstract type of the SocketInputStream class.
+data CSocketInputStream a  = CSocketInputStream
+
+-- | Pointer to an object of type 'MemoryInputStream', derived from 'InputStream'.
+type MemoryInputStream a  = InputStream (CMemoryInputStream a)
+-- | Inheritance type of the MemoryInputStream class.
+type TMemoryInputStream a  = TInputStream (CMemoryInputStream a)
+-- | Abstract type of the MemoryInputStream class.
+data CMemoryInputStream a  = CMemoryInputStream
+
+-- | Pointer to an object of type 'FileInputStream', derived from 'InputStream'.
+type FileInputStream a  = InputStream (CFileInputStream a)
+-- | Inheritance type of the FileInputStream class.
+type TFileInputStream a  = TInputStream (CFileInputStream a)
+-- | Abstract type of the FileInputStream class.
+data CFileInputStream a  = CFileInputStream
+
+-- | Pointer to an object of type 'FFileInputStream', derived from 'InputStream'.
+type FFileInputStream a  = InputStream (CFFileInputStream a)
+-- | Inheritance type of the FFileInputStream class.
+type TFFileInputStream a  = TInputStream (CFFileInputStream a)
+-- | Abstract type of the FFileInputStream class.
+data CFFileInputStream a  = CFFileInputStream
+
+-- | Pointer to an object of type 'OutputStream', derived from 'StreamBase'.
+type OutputStream a  = StreamBase (COutputStream a)
+-- | Inheritance type of the OutputStream class.
+type TOutputStream a  = TStreamBase (COutputStream a)
+-- | Abstract type of the OutputStream class.
+data COutputStream a  = COutputStream
+
+-- | Pointer to an object of type 'FilterOutputStream', derived from 'OutputStream'.
+type FilterOutputStream a  = OutputStream (CFilterOutputStream a)
+-- | Inheritance type of the FilterOutputStream class.
+type TFilterOutputStream a  = TOutputStream (CFilterOutputStream a)
+-- | Abstract type of the FilterOutputStream class.
+data CFilterOutputStream a  = CFilterOutputStream
+
+-- | Pointer to an object of type 'BufferedOutputStream', derived from 'FilterOutputStream'.
+type BufferedOutputStream a  = FilterOutputStream (CBufferedOutputStream a)
+-- | Inheritance type of the BufferedOutputStream class.
+type TBufferedOutputStream a  = TFilterOutputStream (CBufferedOutputStream a)
+-- | Abstract type of the BufferedOutputStream class.
+data CBufferedOutputStream a  = CBufferedOutputStream
+
+-- | Pointer to an object of type 'ZlibOutputStream', derived from 'FilterOutputStream'.
+type ZlibOutputStream a  = FilterOutputStream (CZlibOutputStream a)
+-- | Inheritance type of the ZlibOutputStream class.
+type TZlibOutputStream a  = TFilterOutputStream (CZlibOutputStream a)
+-- | Abstract type of the ZlibOutputStream class.
+data CZlibOutputStream a  = CZlibOutputStream
+
+-- | Pointer to an object of type 'SocketOutputStream', derived from 'OutputStream'.
+type SocketOutputStream a  = OutputStream (CSocketOutputStream a)
+-- | Inheritance type of the SocketOutputStream class.
+type TSocketOutputStream a  = TOutputStream (CSocketOutputStream a)
+-- | Abstract type of the SocketOutputStream class.
+data CSocketOutputStream a  = CSocketOutputStream
+
+-- | Pointer to an object of type 'MemoryOutputStream', derived from 'OutputStream'.
+type MemoryOutputStream a  = OutputStream (CMemoryOutputStream a)
+-- | Inheritance type of the MemoryOutputStream class.
+type TMemoryOutputStream a  = TOutputStream (CMemoryOutputStream a)
+-- | Abstract type of the MemoryOutputStream class.
+data CMemoryOutputStream a  = CMemoryOutputStream
+
+-- | Pointer to an object of type 'FileOutputStream', derived from 'OutputStream'.
+type FileOutputStream a  = OutputStream (CFileOutputStream a)
+-- | Inheritance type of the FileOutputStream class.
+type TFileOutputStream a  = TOutputStream (CFileOutputStream a)
+-- | Abstract type of the FileOutputStream class.
+data CFileOutputStream a  = CFileOutputStream
+
+-- | Pointer to an object of type 'FFileOutputStream', derived from 'OutputStream'.
+type FFileOutputStream a  = OutputStream (CFFileOutputStream a)
+-- | Inheritance type of the FFileOutputStream class.
+type TFFileOutputStream a  = TOutputStream (CFFileOutputStream a)
+-- | Abstract type of the FFileOutputStream class.
+data CFFileOutputStream a  = CFFileOutputStream
+
+-- | Pointer to an object of type 'CountingOutputStream', derived from 'OutputStream'.
+type CountingOutputStream a  = OutputStream (CCountingOutputStream a)
+-- | Inheritance type of the CountingOutputStream class.
+type TCountingOutputStream a  = TOutputStream (CCountingOutputStream a)
+-- | Abstract type of the CountingOutputStream class.
+data CCountingOutputStream a  = CCountingOutputStream
+
+-- | Pointer to an object of type 'WindowDisabler'.
+type WindowDisabler a  = Object (CWindowDisabler a)
+-- | Inheritance type of the WindowDisabler class.
+type TWindowDisabler a  = CWindowDisabler a
+-- | Abstract type of the WindowDisabler class.
+data CWindowDisabler a  = CWindowDisabler
+
+-- | Pointer to an object of type 'TreeItemId'.
+type TreeItemId a  = Object (CTreeItemId a)
+-- | Inheritance type of the TreeItemId class.
+type TTreeItemId a  = CTreeItemId a
+-- | Abstract type of the TreeItemId class.
+data CTreeItemId a  = CTreeItemId
+
+-- | Pointer to an object of type 'TipProvider'.
+type TipProvider a  = Object (CTipProvider a)
+-- | Inheritance type of the TipProvider class.
+type TTipProvider a  = CTipProvider a
+-- | Abstract type of the TipProvider class.
+data CTipProvider a  = CTipProvider
+
+-- | Pointer to an object of type 'TimerRunner'.
+type TimerRunner a  = Object (CTimerRunner a)
+-- | Inheritance type of the TimerRunner class.
+type TTimerRunner a  = CTimerRunner a
+-- | Abstract type of the TimerRunner class.
+data CTimerRunner a  = CTimerRunner
+
+-- | Pointer to an object of type 'TimeSpan'.
+type TimeSpan a  = Object (CTimeSpan a)
+-- | Inheritance type of the TimeSpan class.
+type TTimeSpan a  = CTimeSpan a
+-- | Abstract type of the TimeSpan class.
+data CTimeSpan a  = CTimeSpan
+
+-- | Pointer to an object of type 'TextFile'.
+type TextFile a  = Object (CTextFile a)
+-- | Inheritance type of the TextFile class.
+type TTextFile a  = CTextFile a
+-- | Abstract type of the TextFile class.
+data CTextFile a  = CTextFile
+
+-- | Pointer to an object of type 'DropTarget'.
+type DropTarget a  = Object (CDropTarget a)
+-- | Inheritance type of the DropTarget class.
+type TDropTarget a  = CDropTarget a
+-- | Abstract type of the DropTarget class.
+data CDropTarget a  = CDropTarget
+
+-- | Pointer to an object of type 'WXCDropTarget', derived from 'DropTarget'.
+type WXCDropTarget a  = DropTarget (CWXCDropTarget a)
+-- | Inheritance type of the WXCDropTarget class.
+type TWXCDropTarget a  = TDropTarget (CWXCDropTarget a)
+-- | Abstract type of the WXCDropTarget class.
+data CWXCDropTarget a  = CWXCDropTarget
+
+-- | Pointer to an object of type 'TextDropTarget', derived from 'DropTarget'.
+type TextDropTarget a  = DropTarget (CTextDropTarget a)
+-- | Inheritance type of the TextDropTarget class.
+type TTextDropTarget a  = TDropTarget (CTextDropTarget a)
+-- | Abstract type of the TextDropTarget class.
+data CTextDropTarget a  = CTextDropTarget
+
+-- | Pointer to an object of type 'WXCTextDropTarget', derived from 'TextDropTarget'.
+type WXCTextDropTarget a  = TextDropTarget (CWXCTextDropTarget a)
+-- | Inheritance type of the WXCTextDropTarget class.
+type TWXCTextDropTarget a  = TTextDropTarget (CWXCTextDropTarget a)
+-- | Abstract type of the WXCTextDropTarget class.
+data CWXCTextDropTarget a  = CWXCTextDropTarget
+
+-- | Pointer to an object of type 'PrivateDropTarget', derived from 'DropTarget'.
+type PrivateDropTarget a  = DropTarget (CPrivateDropTarget a)
+-- | Inheritance type of the PrivateDropTarget class.
+type TPrivateDropTarget a  = TDropTarget (CPrivateDropTarget a)
+-- | Abstract type of the PrivateDropTarget class.
+data CPrivateDropTarget a  = CPrivateDropTarget
+
+-- | Pointer to an object of type 'FileDropTarget', derived from 'DropTarget'.
+type FileDropTarget a  = DropTarget (CFileDropTarget a)
+-- | Inheritance type of the FileDropTarget class.
+type TFileDropTarget a  = TDropTarget (CFileDropTarget a)
+-- | Abstract type of the FileDropTarget class.
+data CFileDropTarget a  = CFileDropTarget
+
+-- | Pointer to an object of type 'WXCFileDropTarget', derived from 'FileDropTarget'.
+type WXCFileDropTarget a  = FileDropTarget (CWXCFileDropTarget a)
+-- | Inheritance type of the WXCFileDropTarget class.
+type TWXCFileDropTarget a  = TFileDropTarget (CWXCFileDropTarget a)
+-- | Abstract type of the WXCFileDropTarget class.
+data CWXCFileDropTarget a  = CWXCFileDropTarget
+
+-- | Pointer to an object of type 'DataObject'.
+type DataObject a  = Object (CDataObject a)
+-- | Inheritance type of the DataObject class.
+type TDataObject a  = CDataObject a
+-- | Abstract type of the DataObject class.
+data CDataObject a  = CDataObject
+
+-- | Pointer to an object of type 'DataObjectSimple', derived from 'DataObject'.
+type DataObjectSimple a  = DataObject (CDataObjectSimple a)
+-- | Inheritance type of the DataObjectSimple class.
+type TDataObjectSimple a  = TDataObject (CDataObjectSimple a)
+-- | Abstract type of the DataObjectSimple class.
+data CDataObjectSimple a  = CDataObjectSimple
+
+-- | Pointer to an object of type 'TextDataObject', derived from 'DataObjectSimple'.
+type TextDataObject a  = DataObjectSimple (CTextDataObject a)
+-- | Inheritance type of the TextDataObject class.
+type TTextDataObject a  = TDataObjectSimple (CTextDataObject a)
+-- | Abstract type of the TextDataObject class.
+data CTextDataObject a  = CTextDataObject
+
+-- | Pointer to an object of type 'FileDataObject', derived from 'DataObjectSimple'.
+type FileDataObject a  = DataObjectSimple (CFileDataObject a)
+-- | Inheritance type of the FileDataObject class.
+type TFileDataObject a  = TDataObjectSimple (CFileDataObject a)
+-- | Abstract type of the FileDataObject class.
+data CFileDataObject a  = CFileDataObject
+
+-- | Pointer to an object of type 'CustomDataObject', derived from 'DataObjectSimple'.
+type CustomDataObject a  = DataObjectSimple (CCustomDataObject a)
+-- | Inheritance type of the CustomDataObject class.
+type TCustomDataObject a  = TDataObjectSimple (CCustomDataObject a)
+-- | Abstract type of the CustomDataObject class.
+data CCustomDataObject a  = CCustomDataObject
+
+-- | Pointer to an object of type 'BitmapDataObject', derived from 'DataObjectSimple'.
+type BitmapDataObject a  = DataObjectSimple (CBitmapDataObject a)
+-- | Inheritance type of the BitmapDataObject class.
+type TBitmapDataObject a  = TDataObjectSimple (CBitmapDataObject a)
+-- | Abstract type of the BitmapDataObject class.
+data CBitmapDataObject a  = CBitmapDataObject
+
+-- | Pointer to an object of type 'DataObjectComposite', derived from 'DataObject'.
+type DataObjectComposite a  = DataObject (CDataObjectComposite a)
+-- | Inheritance type of the DataObjectComposite class.
+type TDataObjectComposite a  = TDataObject (CDataObjectComposite a)
+-- | Abstract type of the DataObjectComposite class.
+data CDataObjectComposite a  = CDataObjectComposite
+
+-- | Pointer to an object of type 'TextAttr'.
+type TextAttr a  = Object (CTextAttr a)
+-- | Inheritance type of the TextAttr class.
+type TTextAttr a  = CTextAttr a
+-- | Abstract type of the TextAttr class.
+data CTextAttr a  = CTextAttr
+
+-- | Pointer to an object of type 'TempFile'.
+type TempFile a  = Object (CTempFile a)
+-- | Inheritance type of the TempFile class.
+type TTempFile a  = CTempFile a
+-- | Abstract type of the TempFile class.
+data CTempFile a  = CTempFile
+
+-- | Pointer to an object of type 'StringBuffer'.
+type StringBuffer a  = Object (CStringBuffer a)
+-- | Inheritance type of the StringBuffer class.
+type TStringBuffer a  = CStringBuffer a
+-- | Abstract type of the StringBuffer class.
+data CStringBuffer a  = CStringBuffer
+
+-- | Pointer to an object of type 'WxString'.
+type WxString a  = Object (CWxString a)
+-- | Inheritance type of the WxString class.
+type TWxString a  = CWxString a
+-- | Abstract type of the WxString class.
+data CWxString a  = CWxString
+
+-- | Pointer to an object of type 'StreamToTextRedirector'.
+type StreamToTextRedirector a  = Object (CStreamToTextRedirector a)
+-- | Inheritance type of the StreamToTextRedirector class.
+type TStreamToTextRedirector a  = CStreamToTextRedirector a
+-- | Abstract type of the StreamToTextRedirector class.
+data CStreamToTextRedirector a  = CStreamToTextRedirector
+
+-- | Pointer to an object of type 'StreamBuffer'.
+type StreamBuffer a  = Object (CStreamBuffer a)
+-- | Inheritance type of the StreamBuffer class.
+type TStreamBuffer a  = CStreamBuffer a
+-- | Abstract type of the StreamBuffer class.
+data CStreamBuffer a  = CStreamBuffer
+
+-- | Pointer to an object of type 'StopWatch'.
+type StopWatch a  = Object (CStopWatch a)
+-- | Inheritance type of the StopWatch class.
+type TStopWatch a  = CStopWatch a
+-- | Abstract type of the StopWatch class.
+data CStopWatch a  = CStopWatch
+
+-- | Pointer to an object of type 'WxSize'.
+type WxSize a  = Object (CWxSize a)
+-- | Inheritance type of the WxSize class.
+type TWxSize a  = CWxSize a
+-- | Abstract type of the WxSize class.
+data CWxSize a  = CWxSize
+
+-- | Pointer to an object of type 'SingleInstanceChecker'.
+type SingleInstanceChecker a  = Object (CSingleInstanceChecker a)
+-- | Inheritance type of the SingleInstanceChecker class.
+type TSingleInstanceChecker a  = CSingleInstanceChecker a
+-- | Abstract type of the SingleInstanceChecker class.
+data CSingleInstanceChecker a  = CSingleInstanceChecker
+
+-- | Pointer to an object of type 'HelpProvider'.
+type HelpProvider a  = Object (CHelpProvider a)
+-- | Inheritance type of the HelpProvider class.
+type THelpProvider a  = CHelpProvider a
+-- | Abstract type of the HelpProvider class.
+data CHelpProvider a  = CHelpProvider
+
+-- | Pointer to an object of type 'SimpleHelpProvider', derived from 'HelpProvider'.
+type SimpleHelpProvider a  = HelpProvider (CSimpleHelpProvider a)
+-- | Inheritance type of the SimpleHelpProvider class.
+type TSimpleHelpProvider a  = THelpProvider (CSimpleHelpProvider a)
+-- | Abstract type of the SimpleHelpProvider class.
+data CSimpleHelpProvider a  = CSimpleHelpProvider
+
+-- | Pointer to an object of type 'HelpControllerHelpProvider', derived from 'SimpleHelpProvider'.
+type HelpControllerHelpProvider a  = SimpleHelpProvider (CHelpControllerHelpProvider a)
+-- | Inheritance type of the HelpControllerHelpProvider class.
+type THelpControllerHelpProvider a  = TSimpleHelpProvider (CHelpControllerHelpProvider a)
+-- | Abstract type of the HelpControllerHelpProvider class.
+data CHelpControllerHelpProvider a  = CHelpControllerHelpProvider
+
+-- | Pointer to an object of type 'Semaphore'.
+type Semaphore a  = Object (CSemaphore a)
+-- | Inheritance type of the Semaphore class.
+type TSemaphore a  = CSemaphore a
+-- | Abstract type of the Semaphore class.
+data CSemaphore a  = CSemaphore
+
+-- | Pointer to an object of type 'ScopedPtr'.
+type ScopedPtr a  = Object (CScopedPtr a)
+-- | Inheritance type of the ScopedPtr class.
+type TScopedPtr a  = CScopedPtr a
+-- | Abstract type of the ScopedPtr class.
+data CScopedPtr a  = CScopedPtr
+
+-- | Pointer to an object of type 'ScopedArray'.
+type ScopedArray a  = Object (CScopedArray a)
+-- | Inheritance type of the ScopedArray class.
+type TScopedArray a  = CScopedArray a
+-- | Abstract type of the ScopedArray class.
+data CScopedArray a  = CScopedArray
+
+-- | Pointer to an object of type 'RegEx'.
+type RegEx a  = Object (CRegEx a)
+-- | Inheritance type of the RegEx class.
+type TRegEx a  = CRegEx a
+-- | Abstract type of the RegEx class.
+data CRegEx a  = CRegEx
+
+-- | Pointer to an object of type 'WxRect'.
+type WxRect a  = Object (CWxRect a)
+-- | Inheritance type of the WxRect class.
+type TWxRect a  = CWxRect a
+-- | Abstract type of the WxRect class.
+data CWxRect a  = CWxRect
+
+-- | Pointer to an object of type 'RealPoint'.
+type RealPoint a  = Object (CRealPoint a)
+-- | Inheritance type of the RealPoint class.
+type TRealPoint a  = CRealPoint a
+-- | Abstract type of the RealPoint class.
+data CRealPoint a  = CRealPoint
+
+-- | Pointer to an object of type 'WxPoint'.
+type WxPoint a  = Object (CWxPoint a)
+-- | Inheritance type of the WxPoint class.
+type TWxPoint a  = CWxPoint a
+-- | Abstract type of the WxPoint class.
+data CWxPoint a  = CWxPoint
+
+-- | Pointer to an object of type 'ObjectRefData'.
+type ObjectRefData a  = Object (CObjectRefData a)
+-- | Inheritance type of the ObjectRefData class.
+type TObjectRefData a  = CObjectRefData a
+-- | Abstract type of the ObjectRefData class.
+data CObjectRefData a  = CObjectRefData
+
+-- | Pointer to an object of type 'NodeBase'.
+type NodeBase a  = Object (CNodeBase a)
+-- | Inheritance type of the NodeBase class.
+type TNodeBase a  = CNodeBase a
+-- | Abstract type of the NodeBase class.
+data CNodeBase a  = CNodeBase
+
+-- | Pointer to an object of type 'MutexLocker'.
+type MutexLocker a  = Object (CMutexLocker a)
+-- | Inheritance type of the MutexLocker class.
+type TMutexLocker a  = CMutexLocker a
+-- | Abstract type of the MutexLocker class.
+data CMutexLocker a  = CMutexLocker
+
+-- | Pointer to an object of type 'Mutex'.
+type Mutex a  = Object (CMutex a)
+-- | Inheritance type of the Mutex class.
+type TMutex a  = CMutex a
+-- | Abstract type of the Mutex class.
+data CMutex a  = CMutex
+
+-- | Pointer to an object of type 'MimeTypesManager'.
+type MimeTypesManager a  = Object (CMimeTypesManager a)
+-- | Inheritance type of the MimeTypesManager class.
+type TMimeTypesManager a  = CMimeTypesManager a
+-- | Abstract type of the MimeTypesManager class.
+data CMimeTypesManager a  = CMimeTypesManager
+
+-- | Pointer to an object of type 'MBConv'.
+type MBConv a  = Object (CMBConv a)
+-- | Inheritance type of the MBConv class.
+type TMBConv a  = CMBConv a
+-- | Abstract type of the MBConv class.
+data CMBConv a  = CMBConv
+
+-- | Pointer to an object of type 'CSConv', derived from 'MBConv'.
+type CSConv a  = MBConv (CCSConv a)
+-- | Inheritance type of the CSConv class.
+type TCSConv a  = TMBConv (CCSConv a)
+-- | Abstract type of the CSConv class.
+data CCSConv a  = CCSConv
+
+-- | Pointer to an object of type 'MBConvFile', derived from 'MBConv'.
+type MBConvFile a  = MBConv (CMBConvFile a)
+-- | Inheritance type of the MBConvFile class.
+type TMBConvFile a  = TMBConv (CMBConvFile a)
+-- | Abstract type of the MBConvFile class.
+data CMBConvFile a  = CMBConvFile
+
+-- | Pointer to an object of type 'MBConvUTF8', derived from 'MBConv'.
+type MBConvUTF8 a  = MBConv (CMBConvUTF8 a)
+-- | Inheritance type of the MBConvUTF8 class.
+type TMBConvUTF8 a  = TMBConv (CMBConvUTF8 a)
+-- | Abstract type of the MBConvUTF8 class.
+data CMBConvUTF8 a  = CMBConvUTF8
+
+-- | Pointer to an object of type 'MBConvUTF7', derived from 'MBConv'.
+type MBConvUTF7 a  = MBConv (CMBConvUTF7 a)
+-- | Inheritance type of the MBConvUTF7 class.
+type TMBConvUTF7 a  = TMBConv (CMBConvUTF7 a)
+-- | Abstract type of the MBConvUTF7 class.
+data CMBConvUTF7 a  = CMBConvUTF7
+
+-- | Pointer to an object of type 'LongLong'.
+type LongLong a  = Object (CLongLong a)
+-- | Inheritance type of the LongLong class.
+type TLongLong a  = CLongLong a
+-- | Abstract type of the LongLong class.
+data CLongLong a  = CLongLong
+
+-- | Pointer to an object of type 'Log'.
+type Log a  = Object (CLog a)
+-- | Inheritance type of the Log class.
+type TLog a  = CLog a
+-- | Abstract type of the Log class.
+data CLog a  = CLog
+
+-- | Pointer to an object of type 'WXCLog', derived from 'Log'.
+type WXCLog a  = Log (CWXCLog a)
+-- | Inheritance type of the WXCLog class.
+type TWXCLog a  = TLog (CWXCLog a)
+-- | Abstract type of the WXCLog class.
+data CWXCLog a  = CWXCLog
+
+-- | Pointer to an object of type 'LogChain', derived from 'Log'.
+type LogChain a  = Log (CLogChain a)
+-- | Inheritance type of the LogChain class.
+type TLogChain a  = TLog (CLogChain a)
+-- | Abstract type of the LogChain class.
+data CLogChain a  = CLogChain
+
+-- | Pointer to an object of type 'LogPassThrough', derived from 'LogChain'.
+type LogPassThrough a  = LogChain (CLogPassThrough a)
+-- | Inheritance type of the LogPassThrough class.
+type TLogPassThrough a  = TLogChain (CLogPassThrough a)
+-- | Abstract type of the LogPassThrough class.
+data CLogPassThrough a  = CLogPassThrough
+
+-- | Pointer to an object of type 'LogWindow', derived from 'LogPassThrough'.
+type LogWindow a  = LogPassThrough (CLogWindow a)
+-- | Inheritance type of the LogWindow class.
+type TLogWindow a  = TLogPassThrough (CLogWindow a)
+-- | Abstract type of the LogWindow class.
+data CLogWindow a  = CLogWindow
+
+-- | Pointer to an object of type 'LogNull', derived from 'Log'.
+type LogNull a  = Log (CLogNull a)
+-- | Inheritance type of the LogNull class.
+type TLogNull a  = TLog (CLogNull a)
+-- | Abstract type of the LogNull class.
+data CLogNull a  = CLogNull
+
+-- | Pointer to an object of type 'LogStderr', derived from 'Log'.
+type LogStderr a  = Log (CLogStderr a)
+-- | Inheritance type of the LogStderr class.
+type TLogStderr a  = TLog (CLogStderr a)
+-- | Abstract type of the LogStderr class.
+data CLogStderr a  = CLogStderr
+
+-- | Pointer to an object of type 'LogTextCtrl', derived from 'Log'.
+type LogTextCtrl a  = Log (CLogTextCtrl a)
+-- | Inheritance type of the LogTextCtrl class.
+type TLogTextCtrl a  = TLog (CLogTextCtrl a)
+-- | Abstract type of the LogTextCtrl class.
+data CLogTextCtrl a  = CLogTextCtrl
+
+-- | Pointer to an object of type 'LogStream', derived from 'Log'.
+type LogStream a  = Log (CLogStream a)
+-- | Inheritance type of the LogStream class.
+type TLogStream a  = TLog (CLogStream a)
+-- | Abstract type of the LogStream class.
+data CLogStream a  = CLogStream
+
+-- | Pointer to an object of type 'LogGUI', derived from 'Log'.
+type LogGUI a  = Log (CLogGUI a)
+-- | Inheritance type of the LogGUI class.
+type TLogGUI a  = TLog (CLogGUI a)
+-- | Abstract type of the LogGUI class.
+data CLogGUI a  = CLogGUI
+
+-- | Pointer to an object of type 'Locale'.
+type Locale a  = Object (CLocale a)
+-- | Inheritance type of the Locale class.
+type TLocale a  = CLocale a
+-- | Abstract type of the Locale class.
+data CLocale a  = CLocale
+
+-- | Pointer to an object of type 'WXCLocale', derived from 'Locale'.
+type WXCLocale a  = Locale (CWXCLocale a)
+-- | Inheritance type of the WXCLocale class.
+type TWXCLocale a  = TLocale (CWXCLocale a)
+-- | Abstract type of the WXCLocale class.
+data CWXCLocale a  = CWXCLocale
+
+-- | Pointer to an object of type 'IconBundle'.
+type IconBundle a  = Object (CIconBundle a)
+-- | Inheritance type of the IconBundle class.
+type TIconBundle a  = CIconBundle a
+-- | Abstract type of the IconBundle class.
+data CIconBundle a  = CIconBundle
+
+-- | Pointer to an object of type 'HashMap'.
+type HashMap a  = Object (CHashMap a)
+-- | Inheritance type of the HashMap class.
+type THashMap a  = CHashMap a
+-- | Abstract type of the HashMap class.
+data CHashMap a  = CHashMap
+
+-- | Pointer to an object of type 'GridCellCoordsArray'.
+type GridCellCoordsArray a  = Object (CGridCellCoordsArray a)
+-- | Inheritance type of the GridCellCoordsArray class.
+type TGridCellCoordsArray a  = CGridCellCoordsArray a
+-- | Abstract type of the GridCellCoordsArray class.
+data CGridCellCoordsArray a  = CGridCellCoordsArray
+
+-- | Pointer to an object of type 'GridCellAttr'.
+type GridCellAttr a  = Object (CGridCellAttr a)
+-- | Inheritance type of the GridCellAttr class.
+type TGridCellAttr a  = CGridCellAttr a
+-- | Abstract type of the GridCellAttr class.
+data CGridCellAttr a  = CGridCellAttr
+
+-- | Pointer to an object of type 'FontMapper'.
+type FontMapper a  = Object (CFontMapper a)
+-- | Inheritance type of the FontMapper class.
+type TFontMapper a  = CFontMapper a
+-- | Abstract type of the FontMapper class.
+data CFontMapper a  = CFontMapper
+
+-- | Pointer to an object of type 'FontEnumerator'.
+type FontEnumerator a  = Object (CFontEnumerator a)
+-- | Inheritance type of the FontEnumerator class.
+type TFontEnumerator a  = CFontEnumerator a
+-- | Abstract type of the FontEnumerator class.
+data CFontEnumerator a  = CFontEnumerator
+
+-- | Pointer to an object of type 'FileType'.
+type FileType a  = Object (CFileType a)
+-- | Inheritance type of the FileType class.
+type TFileType a  = CFileType a
+-- | Abstract type of the FileType class.
+data CFileType a  = CFileType
+
+-- | Pointer to an object of type 'FileName'.
+type FileName a  = Object (CFileName a)
+-- | Inheritance type of the FileName class.
+type TFileName a  = CFileName a
+-- | Abstract type of the FileName class.
+data CFileName a  = CFileName
+
+-- | Pointer to an object of type 'FFile'.
+type FFile a  = Object (CFFile a)
+-- | Inheritance type of the FFile class.
+type TFFile a  = CFFile a
+-- | Abstract type of the FFile class.
+data CFFile a  = CFFile
+
+-- | Pointer to an object of type 'WxExpr'.
+type WxExpr a  = Object (CWxExpr a)
+-- | Inheritance type of the WxExpr class.
+type TWxExpr a  = CWxExpr a
+-- | Abstract type of the WxExpr class.
+data CWxExpr a  = CWxExpr
+
+-- | Pointer to an object of type 'DynamicLibrary'.
+type DynamicLibrary a  = Object (CDynamicLibrary a)
+-- | Inheritance type of the DynamicLibrary class.
+type TDynamicLibrary a  = CDynamicLibrary a
+-- | Abstract type of the DynamicLibrary class.
+data CDynamicLibrary a  = CDynamicLibrary
+
+-- | Pointer to an object of type 'DropSource'.
+type DropSource a  = Object (CDropSource a)
+-- | Inheritance type of the DropSource class.
+type TDropSource a  = CDropSource a
+-- | Abstract type of the DropSource class.
+data CDropSource a  = CDropSource
+
+-- | Pointer to an object of type 'WxDllLoader'.
+type WxDllLoader a  = Object (CWxDllLoader a)
+-- | Inheritance type of the WxDllLoader class.
+type TWxDllLoader a  = CWxDllLoader a
+-- | Abstract type of the WxDllLoader class.
+data CWxDllLoader a  = CWxDllLoader
+
+-- | Pointer to an object of type 'DirTraverser'.
+type DirTraverser a  = Object (CDirTraverser a)
+-- | Inheritance type of the DirTraverser class.
+type TDirTraverser a  = CDirTraverser a
+-- | Abstract type of the DirTraverser class.
+data CDirTraverser a  = CDirTraverser
+
+-- | Pointer to an object of type 'DialUpManager'.
+type DialUpManager a  = Object (CDialUpManager a)
+-- | Inheritance type of the DialUpManager class.
+type TDialUpManager a  = CDialUpManager a
+-- | Abstract type of the DialUpManager class.
+data CDialUpManager a  = CDialUpManager
+
+-- | Pointer to an object of type 'DebugContext'.
+type DebugContext a  = Object (CDebugContext a)
+-- | Inheritance type of the DebugContext class.
+type TDebugContext a  = CDebugContext a
+-- | Abstract type of the DebugContext class.
+data CDebugContext a  = CDebugContext
+
+-- | Pointer to an object of type 'DbTableInfo'.
+type DbTableInfo a  = Object (CDbTableInfo a)
+-- | Inheritance type of the DbTableInfo class.
+type TDbTableInfo a  = CDbTableInfo a
+-- | Abstract type of the DbTableInfo class.
+data CDbTableInfo a  = CDbTableInfo
+
+-- | Pointer to an object of type 'DbTable'.
+type DbTable a  = Object (CDbTable a)
+-- | Inheritance type of the DbTable class.
+type TDbTable a  = CDbTable a
+-- | Abstract type of the DbTable class.
+data CDbTable a  = CDbTable
+
+-- | Pointer to an object of type 'DbSqlTypeInfo'.
+type DbSqlTypeInfo a  = Object (CDbSqlTypeInfo a)
+-- | Inheritance type of the DbSqlTypeInfo class.
+type TDbSqlTypeInfo a  = CDbSqlTypeInfo a
+-- | Abstract type of the DbSqlTypeInfo class.
+data CDbSqlTypeInfo a  = CDbSqlTypeInfo
+
+-- | Pointer to an object of type 'DbInf'.
+type DbInf a  = Object (CDbInf a)
+-- | Inheritance type of the DbInf class.
+type TDbInf a  = CDbInf a
+-- | Abstract type of the DbInf class.
+data CDbInf a  = CDbInf
+
+-- | Pointer to an object of type 'DbConnectInf'.
+type DbConnectInf a  = Object (CDbConnectInf a)
+-- | Inheritance type of the DbConnectInf class.
+type TDbConnectInf a  = CDbConnectInf a
+-- | Abstract type of the DbConnectInf class.
+data CDbConnectInf a  = CDbConnectInf
+
+-- | Pointer to an object of type 'DbColInf'.
+type DbColInf a  = Object (CDbColInf a)
+-- | Inheritance type of the DbColInf class.
+type TDbColInf a  = CDbColInf a
+-- | Abstract type of the DbColInf class.
+data CDbColInf a  = CDbColInf
+
+-- | Pointer to an object of type 'DbColFor'.
+type DbColFor a  = Object (CDbColFor a)
+-- | Inheritance type of the DbColFor class.
+type TDbColFor a  = CDbColFor a
+-- | Abstract type of the DbColFor class.
+data CDbColFor a  = CDbColFor
+
+-- | Pointer to an object of type 'DbColDef'.
+type DbColDef a  = Object (CDbColDef a)
+-- | Inheritance type of the DbColDef class.
+type TDbColDef a  = CDbColDef a
+-- | Abstract type of the DbColDef class.
+data CDbColDef a  = CDbColDef
+
+-- | Pointer to an object of type 'Db'.
+type Db a  = Object (CDb a)
+-- | Inheritance type of the Db class.
+type TDb a  = CDb a
+-- | Abstract type of the Db class.
+data CDb a  = CDb
+
+-- | Pointer to an object of type 'DateTime'.
+type DateTime a  = Object (CDateTime a)
+-- | Inheritance type of the DateTime class.
+type TDateTime a  = CDateTime a
+-- | Abstract type of the DateTime class.
+data CDateTime a  = CDateTime
+
+-- | Pointer to an object of type 'DataOutputStream'.
+type DataOutputStream a  = Object (CDataOutputStream a)
+-- | Inheritance type of the DataOutputStream class.
+type TDataOutputStream a  = CDataOutputStream a
+-- | Abstract type of the DataOutputStream class.
+data CDataOutputStream a  = CDataOutputStream
+
+-- | Pointer to an object of type 'DataInputStream'.
+type DataInputStream a  = Object (CDataInputStream a)
+-- | Inheritance type of the DataInputStream class.
+type TDataInputStream a  = CDataInputStream a
+-- | Abstract type of the DataInputStream class.
+data CDataInputStream a  = CDataInputStream
+
+-- | Pointer to an object of type 'DataFormat'.
+type DataFormat a  = Object (CDataFormat a)
+-- | Inheritance type of the DataFormat class.
+type TDataFormat a  = CDataFormat a
+-- | Abstract type of the DataFormat class.
+data CDataFormat a  = CDataFormat
+
+-- | Pointer to an object of type 'DCClipper'.
+type DCClipper a  = Object (CDCClipper a)
+-- | Inheritance type of the DCClipper class.
+type TDCClipper a  = CDCClipper a
+-- | Abstract type of the DCClipper class.
+data CDCClipper a  = CDCClipper
+
+-- | Pointer to an object of type 'CriticalSectionLocker'.
+type CriticalSectionLocker a  = Object (CCriticalSectionLocker a)
+-- | Inheritance type of the CriticalSectionLocker class.
+type TCriticalSectionLocker a  = CCriticalSectionLocker a
+-- | Abstract type of the CriticalSectionLocker class.
+data CCriticalSectionLocker a  = CCriticalSectionLocker
+
+-- | Pointer to an object of type 'CriticalSection'.
+type CriticalSection a  = Object (CCriticalSection a)
+-- | Inheritance type of the CriticalSection class.
+type TCriticalSection a  = CCriticalSection a
+-- | Abstract type of the CriticalSection class.
+data CCriticalSection a  = CCriticalSection
+
+-- | Pointer to an object of type 'Condition'.
+type Condition a  = Object (CCondition a)
+-- | Inheritance type of the Condition class.
+type TCondition a  = CCondition a
+-- | Abstract type of the Condition class.
+data CCondition a  = CCondition
+
+-- | Pointer to an object of type 'CommandLineParser'.
+type CommandLineParser a  = Object (CCommandLineParser a)
+-- | Inheritance type of the CommandLineParser class.
+type TCommandLineParser a  = CCommandLineParser a
+-- | Abstract type of the CommandLineParser class.
+data CCommandLineParser a  = CCommandLineParser
+
+-- | Pointer to an object of type 'ClientDataContainer'.
+type ClientDataContainer a  = Object (CClientDataContainer a)
+-- | Inheritance type of the ClientDataContainer class.
+type TClientDataContainer a  = CClientDataContainer a
+-- | Abstract type of the ClientDataContainer class.
+data CClientDataContainer a  = CClientDataContainer
+
+-- | Pointer to an object of type 'Caret'.
+type Caret a  = Object (CCaret a)
+-- | Inheritance type of the Caret class.
+type TCaret a  = CCaret a
+-- | Abstract type of the Caret class.
+data CCaret a  = CCaret
+
+-- | Pointer to an object of type 'CalendarDateAttr'.
+type CalendarDateAttr a  = Object (CCalendarDateAttr a)
+-- | Inheritance type of the CalendarDateAttr class.
+type TCalendarDateAttr a  = CCalendarDateAttr a
+-- | Abstract type of the CalendarDateAttr class.
+data CCalendarDateAttr a  = CCalendarDateAttr
+
+-- | Pointer to an object of type 'BusyInfo'.
+type BusyInfo a  = Object (CBusyInfo a)
+-- | Inheritance type of the BusyInfo class.
+type TBusyInfo a  = CBusyInfo a
+-- | Abstract type of the BusyInfo class.
+data CBusyInfo a  = CBusyInfo
+
+-- | Pointer to an object of type 'BusyCursor'.
+type BusyCursor a  = Object (CBusyCursor a)
+-- | Inheritance type of the BusyCursor class.
+type TBusyCursor a  = CBusyCursor a
+-- | Abstract type of the BusyCursor class.
+data CBusyCursor a  = CBusyCursor
+
+-- | Pointer to an object of type 'AuiPaneInfoArray'.
+type AuiPaneInfoArray a  = Object (CAuiPaneInfoArray a)
+-- | Inheritance type of the AuiPaneInfoArray class.
+type TAuiPaneInfoArray a  = CAuiPaneInfoArray a
+-- | Abstract type of the AuiPaneInfoArray class.
+data CAuiPaneInfoArray a  = CAuiPaneInfoArray
+
+-- | Pointer to an object of type 'AuiToolBarItemArray'.
+type AuiToolBarItemArray a  = Object (CAuiToolBarItemArray a)
+-- | Inheritance type of the AuiToolBarItemArray class.
+type TAuiToolBarItemArray a  = CAuiToolBarItemArray a
+-- | Abstract type of the AuiToolBarItemArray class.
+data CAuiToolBarItemArray a  = CAuiToolBarItemArray
+
+-- | Pointer to an object of type 'AuiNotebookPageArray'.
+type AuiNotebookPageArray a  = Object (CAuiNotebookPageArray a)
+-- | Inheritance type of the AuiNotebookPageArray class.
+type TAuiNotebookPageArray a  = CAuiNotebookPageArray a
+-- | Abstract type of the AuiNotebookPageArray class.
+data CAuiNotebookPageArray a  = CAuiNotebookPageArray
+
+-- | Pointer to an object of type 'AuiNotebookPage'.
+type AuiNotebookPage a  = Object (CAuiNotebookPage a)
+-- | Inheritance type of the AuiNotebookPage class.
+type TAuiNotebookPage a  = CAuiNotebookPage a
+-- | Abstract type of the AuiNotebookPage class.
+data CAuiNotebookPage a  = CAuiNotebookPage
+
+-- | Pointer to an object of type 'AuiPaneInfo'.
+type AuiPaneInfo a  = Object (CAuiPaneInfo a)
+-- | Inheritance type of the AuiPaneInfo class.
+type TAuiPaneInfo a  = CAuiPaneInfo a
+-- | Abstract type of the AuiPaneInfo class.
+data CAuiPaneInfo a  = CAuiPaneInfo
+
+-- | Pointer to an object of type 'AuiDockArt'.
+type AuiDockArt a  = Object (CAuiDockArt a)
+-- | Inheritance type of the AuiDockArt class.
+type TAuiDockArt a  = CAuiDockArt a
+-- | Abstract type of the AuiDockArt class.
+data CAuiDockArt a  = CAuiDockArt
+
+-- | Pointer to an object of type 'AuiTabArt'.
+type AuiTabArt a  = Object (CAuiTabArt a)
+-- | Inheritance type of the AuiTabArt class.
+type TAuiTabArt a  = CAuiTabArt a
+-- | Abstract type of the AuiTabArt class.
+data CAuiTabArt a  = CAuiTabArt
+
+-- | Pointer to an object of type 'AuiDefaultTabArt', derived from 'AuiTabArt'.
+type AuiDefaultTabArt a  = AuiTabArt (CAuiDefaultTabArt a)
+-- | Inheritance type of the AuiDefaultTabArt class.
+type TAuiDefaultTabArt a  = TAuiTabArt (CAuiDefaultTabArt a)
+-- | Abstract type of the AuiDefaultTabArt class.
+data CAuiDefaultTabArt a  = CAuiDefaultTabArt
+
+-- | Pointer to an object of type 'AuiSimpleTabArt', derived from 'AuiTabArt'.
+type AuiSimpleTabArt a  = AuiTabArt (CAuiSimpleTabArt a)
+-- | Inheritance type of the AuiSimpleTabArt class.
+type TAuiSimpleTabArt a  = TAuiTabArt (CAuiSimpleTabArt a)
+-- | Abstract type of the AuiSimpleTabArt class.
+data CAuiSimpleTabArt a  = CAuiSimpleTabArt
+
+-- | Pointer to an object of type 'AuiTabContainer'.
+type AuiTabContainer a  = Object (CAuiTabContainer a)
+-- | Inheritance type of the AuiTabContainer class.
+type TAuiTabContainer a  = CAuiTabContainer a
+-- | Abstract type of the AuiTabContainer class.
+data CAuiTabContainer a  = CAuiTabContainer
+
+-- | Pointer to an object of type 'AuiTabContainerButton'.
+type AuiTabContainerButton a  = Object (CAuiTabContainerButton a)
+-- | Inheritance type of the AuiTabContainerButton class.
+type TAuiTabContainerButton a  = CAuiTabContainerButton a
+-- | Abstract type of the AuiTabContainerButton class.
+data CAuiTabContainerButton a  = CAuiTabContainerButton
+
+-- | Pointer to an object of type 'AuiToolBarArt'.
+type AuiToolBarArt a  = Object (CAuiToolBarArt a)
+-- | Inheritance type of the AuiToolBarArt class.
+type TAuiToolBarArt a  = CAuiToolBarArt a
+-- | Abstract type of the AuiToolBarArt class.
+data CAuiToolBarArt a  = CAuiToolBarArt
+
+-- | Pointer to an object of type 'AuiDefaultToolBarArt', derived from 'AuiToolBarArt'.
+type AuiDefaultToolBarArt a  = AuiToolBarArt (CAuiDefaultToolBarArt a)
+-- | Inheritance type of the AuiDefaultToolBarArt class.
+type TAuiDefaultToolBarArt a  = TAuiToolBarArt (CAuiDefaultToolBarArt a)
+-- | Abstract type of the AuiDefaultToolBarArt class.
+data CAuiDefaultToolBarArt a  = CAuiDefaultToolBarArt
+
+-- | Pointer to an object of type 'AuiToolBarItem'.
+type AuiToolBarItem a  = Object (CAuiToolBarItem a)
+-- | Inheritance type of the AuiToolBarItem class.
+type TAuiToolBarItem a  = CAuiToolBarItem a
+-- | Abstract type of the AuiToolBarItem class.
+data CAuiToolBarItem a  = CAuiToolBarItem
+
+-- | Pointer to an object of type 'WxArray'.
+type WxArray a  = Object (CWxArray a)
+-- | Inheritance type of the WxArray class.
+type TWxArray a  = CWxArray a
+-- | Abstract type of the WxArray class.
+data CWxArray a  = CWxArray
+
+-- | Pointer to an object of type 'ArrayString', derived from 'WxArray'.
+type ArrayString a  = WxArray (CArrayString a)
+-- | Inheritance type of the ArrayString class.
+type TArrayString a  = TWxArray (CArrayString a)
+-- | Abstract type of the ArrayString class.
+data CArrayString a  = CArrayString
+
+-- | Pointer to an object of type 'AcceleratorTable'.
+type AcceleratorTable a  = Object (CAcceleratorTable a)
+-- | Inheritance type of the AcceleratorTable class.
+type TAcceleratorTable a  = CAcceleratorTable a
+-- | Abstract type of the AcceleratorTable class.
+data CAcceleratorTable a  = CAcceleratorTable
+
+-- | Pointer to an object of type 'AcceleratorEntry'.
+type AcceleratorEntry a  = Object (CAcceleratorEntry a)
+-- | Inheritance type of the AcceleratorEntry class.
+type TAcceleratorEntry a  = CAcceleratorEntry a
+-- | Abstract type of the AcceleratorEntry class.
+data CAcceleratorEntry a  = CAcceleratorEntry
+
+-- | Pointer to an object of type 'WXCMessageParameters'.
+type WXCMessageParameters a  = Object (CWXCMessageParameters a)
+-- | Inheritance type of the WXCMessageParameters class.
+type TWXCMessageParameters a  = CWXCMessageParameters a
+-- | Abstract type of the WXCMessageParameters class.
+data CWXCMessageParameters a  = CWXCMessageParameters
+
+-- | Pointer to an object of type 'WXCDragDataObject'.
+type WXCDragDataObject a  = Object (CWXCDragDataObject a)
+-- | Inheritance type of the WXCDragDataObject class.
+type TWXCDragDataObject a  = CWXCDragDataObject a
+-- | Abstract type of the WXCDragDataObject class.
+data CWXCDragDataObject a  = CWXCDragDataObject
+
src/haskell/Graphics/UI/WXCore/WxcClasses.hs view
@@ -1,39 +1,33 @@----------------------------------------------------------------------------------{-|	Module      :  WxcClasses-	Copyright   :  Copyright (c) Daan Leijen 2003, 2004-	License     :  wxWidgets--	Maintainer  :  wxhaskell-devel@lists.sourceforge.net-	Stability   :  provisional-	Portability :  portable--Haskell class definitions for the wxWidgets C library (@wxc.dll@).--Do not edit this file manually!-This file was automatically generated by wxDirect on: --  * @2011-06-15 17:40:04.272992 UTC@--From the files:--  * @src\/include\/wxc.h@--And contains 3744 methods for 243 classes.--}----------------------------------------------------------------------------------module Graphics.UI.WXCore.WxcClasses-    ( -- * Version-      versionWxcClasses-      -- * Re-export-    , module Graphics.UI.WXCore.WxcClassesAL-    , module Graphics.UI.WXCore.WxcClassesMZ-    , module Graphics.UI.WXCore.WxcClassTypes-    ) where--import Graphics.UI.WXCore.WxcClassesAL-import Graphics.UI.WXCore.WxcClassesMZ-import Graphics.UI.WXCore.WxcClassTypes--versionWxcClasses :: String-versionWxcClasses  = "2011-06-15 17:40:03.302826 UTC"-+--------------------------------------------------------------------------------
+{-|
+Module      :  WxcClasses
+Copyright   :  Copyright (c) Daan Leijen 2003, 2004
+License     :  wxWindows
+
+Maintainer  :  wxhaskell-devel@lists.sourceforge.net
+Stability   :  provisional
+Portability :  portable
+
+Haskell class definitions for the wxWidgets C library (@wxc.dll@).
+
+Do not edit this file manually!
+This file was automatically generated by wxDirect.
+
+From the files:
+
+  * @wxc.h@
+
+And contains 4354 methods for 281 classes.
+-}
+--------------------------------------------------------------------------------
+module Graphics.UI.WXCore.WxcClasses
+    ( -- * Re-export
+      module Graphics.UI.WXCore.WxcClassesAL
+    , module Graphics.UI.WXCore.WxcClassesMZ
+    , module Graphics.UI.WXCore.WxcClassTypes
+    ) where
+
+import Graphics.UI.WXCore.WxcClassesAL
+import Graphics.UI.WXCore.WxcClassesMZ
+import Graphics.UI.WXCore.WxcClassTypes
+
src/haskell/Graphics/UI/WXCore/WxcClassesAL.hs view
@@ -1,13842 +1,18083 @@-{-# INCLUDE "wxc.h" #-}-{-# LANGUAGE ForeignFunctionInterface #-}----------------------------------------------------------------------------------{-|	Module      :  WxcClassesAL-	Copyright   :  Copyright (c) Daan Leijen 2003, 2004-	License     :  wxWidgets--	Maintainer  :  wxhaskell-devel@lists.sourceforge.net-	Stability   :  provisional-	Portability :  portable--Haskell class definitions for the wxWidgets C library (@wxc.dll@).--Do not edit this file manually!-This file was automatically generated by wxDirect on: --  * @2011-06-15 17:40:03.302828 UTC@--From the files:--  * @src\/include\/wxc.h@--And contains 1560 methods for 120 classes.--}----------------------------------------------------------------------------------module Graphics.UI.WXCore.WxcClassesAL-    ( -- * Version-      versionWxcClassesAL-      -- * Global-     -- ** Misc.-     ,bitmapDataObjectCreate-     ,bitmapDataObjectCreateEmpty-     ,bitmapDataObjectDelete-     ,bitmapDataObjectGetBitmap-     ,bitmapDataObjectSetBitmap-     ,cFree-     ,cursorCreateFromImage-     ,cursorCreateFromStock-     ,cursorCreateLoad-     ,dragIcon-     ,dragListItem-     ,dragString-     ,dragTreeItem-     ,dropSourceCreate-     ,dropSourceDelete-     ,dropSourceDoDragDrop-     ,fileDataObjectAddFile-     ,fileDataObjectCreate-     ,fileDataObjectDelete-     ,fileDataObjectGetFilenames-     ,genericDragIcon-     ,genericDragListItem-     ,genericDragString-     ,genericDragTreeItem-     ,getApplicationDir-     ,getApplicationPath-     ,getColourFromUser-     ,getELJLocale-     ,getELJTranslation-     ,getFontFromUser-     ,getNumberFromUser-     ,getPasswordFromUser-     ,getTextFromUser-     ,isDefined-     ,kill-     ,logDebug-     ,logError-     ,logErrorMsg-     ,logFatalError-     ,logFatalErrorMsg-     ,logMessage-     ,logMessageMsg-     ,logStatus-     ,logSysError-     ,logTrace-     ,logVerbose-     ,logWarning-     ,logWarningMsg-      -- * Classes-     -- ** AcceleratorEntry-     ,acceleratorEntryCreate-     ,acceleratorEntryDelete-     ,acceleratorEntryGetCommand-     ,acceleratorEntryGetFlags-     ,acceleratorEntryGetKeyCode-     ,acceleratorEntrySet-     -- ** AcceleratorTable-     ,acceleratorTableCreate-     ,acceleratorTableDelete-     -- ** ActivateEvent-     ,activateEventCopyObject-     ,activateEventGetActive-     -- ** AutoBufferedPaintDC-     ,autoBufferedPaintDCCreate-     ,autoBufferedPaintDCDelete-     -- ** Bitmap-     ,bitmapAddHandler-     ,bitmapCleanUpHandlers-     ,bitmapCreate-     ,bitmapCreateDefault-     ,bitmapCreateEmpty-     ,bitmapCreateFromImage-     ,bitmapCreateFromXPM-     ,bitmapCreateLoad-     ,bitmapDelete-     ,bitmapFindHandlerByExtension-     ,bitmapFindHandlerByName-     ,bitmapFindHandlerByType-     ,bitmapGetDepth-     ,bitmapGetHeight-     ,bitmapGetMask-     ,bitmapGetSubBitmap-     ,bitmapGetWidth-     ,bitmapInitStandardHandlers-     ,bitmapInsertHandler-     ,bitmapIsOk-     ,bitmapIsStatic-     ,bitmapLoadFile-     ,bitmapRemoveHandler-     ,bitmapSafeDelete-     ,bitmapSaveFile-     ,bitmapSetDepth-     ,bitmapSetHeight-     ,bitmapSetMask-     ,bitmapSetWidth-     -- ** BitmapButton-     ,bitmapButtonCreate-     ,bitmapButtonGetBitmapDisabled-     ,bitmapButtonGetBitmapFocus-     ,bitmapButtonGetBitmapLabel-     ,bitmapButtonGetBitmapSelected-     ,bitmapButtonGetMarginX-     ,bitmapButtonGetMarginY-     ,bitmapButtonSetBitmapDisabled-     ,bitmapButtonSetBitmapFocus-     ,bitmapButtonSetBitmapLabel-     ,bitmapButtonSetBitmapSelected-     ,bitmapButtonSetMargins-     -- ** BoxSizer-     ,boxSizerCalcMin-     ,boxSizerCreate-     ,boxSizerGetOrientation-     ,boxSizerRecalcSizes-     -- ** Brush-     ,brushAssign-     ,brushCreateDefault-     ,brushCreateFromBitmap-     ,brushCreateFromColour-     ,brushCreateFromStock-     ,brushDelete-     ,brushGetColour-     ,brushGetStipple-     ,brushGetStyle-     ,brushIsEqual-     ,brushIsOk-     ,brushIsStatic-     ,brushSafeDelete-     ,brushSetColour-     ,brushSetColourSingle-     ,brushSetStipple-     ,brushSetStyle-     -- ** BufferedDC-     ,bufferedDCCreateByDCAndBitmap-     ,bufferedDCCreateByDCAndSize-     ,bufferedDCDelete-     -- ** BufferedPaintDC-     ,bufferedPaintDCCreate-     ,bufferedPaintDCCreateWithBitmap-     ,bufferedPaintDCDelete-     -- ** BusyCursor-     ,busyCursorCreate-     ,busyCursorCreateWithCursor-     ,busyCursorDelete-     -- ** BusyInfo-     ,busyInfoCreate-     ,busyInfoDelete-     -- ** Button-     ,buttonCreate-     ,buttonSetBackgroundColour-     ,buttonSetDefault-     -- ** CalculateLayoutEvent-     ,calculateLayoutEventCreate-     ,calculateLayoutEventGetFlags-     ,calculateLayoutEventGetRect-     ,calculateLayoutEventSetFlags-     ,calculateLayoutEventSetRect-     -- ** CalendarCtrl-     ,calendarCtrlCreate-     ,calendarCtrlEnableHolidayDisplay-     ,calendarCtrlEnableMonthChange-     ,calendarCtrlEnableYearChange-     ,calendarCtrlGetAttr-     ,calendarCtrlGetDate-     ,calendarCtrlGetHeaderColourBg-     ,calendarCtrlGetHeaderColourFg-     ,calendarCtrlGetHighlightColourBg-     ,calendarCtrlGetHighlightColourFg-     ,calendarCtrlGetHolidayColourBg-     ,calendarCtrlGetHolidayColourFg-     ,calendarCtrlHitTest-     ,calendarCtrlResetAttr-     ,calendarCtrlSetAttr-     ,calendarCtrlSetDate-     ,calendarCtrlSetHeaderColours-     ,calendarCtrlSetHighlightColours-     ,calendarCtrlSetHoliday-     ,calendarCtrlSetHolidayColours-     -- ** CalendarDateAttr-     ,calendarDateAttrCreate-     ,calendarDateAttrCreateDefault-     ,calendarDateAttrDelete-     ,calendarDateAttrGetBackgroundColour-     ,calendarDateAttrGetBorder-     ,calendarDateAttrGetBorderColour-     ,calendarDateAttrGetFont-     ,calendarDateAttrGetTextColour-     ,calendarDateAttrHasBackgroundColour-     ,calendarDateAttrHasBorder-     ,calendarDateAttrHasBorderColour-     ,calendarDateAttrHasFont-     ,calendarDateAttrHasTextColour-     ,calendarDateAttrIsHoliday-     ,calendarDateAttrSetBackgroundColour-     ,calendarDateAttrSetBorder-     ,calendarDateAttrSetBorderColour-     ,calendarDateAttrSetFont-     ,calendarDateAttrSetHoliday-     ,calendarDateAttrSetTextColour-     -- ** CalendarEvent-     ,calendarEventGetDate-     ,calendarEventGetWeekDay-     -- ** Caret-     ,caretCreate-     ,caretGetBlinkTime-     ,caretGetPosition-     ,caretGetSize-     ,caretGetWindow-     ,caretHide-     ,caretIsOk-     ,caretIsVisible-     ,caretMove-     ,caretSetBlinkTime-     ,caretSetSize-     ,caretShow-     -- ** CheckBox-     ,checkBoxCreate-     ,checkBoxDelete-     ,checkBoxGetValue-     ,checkBoxSetValue-     -- ** CheckListBox-     ,checkListBoxCheck-     ,checkListBoxCreate-     ,checkListBoxDelete-     ,checkListBoxIsChecked-     -- ** Choice-     ,choiceAppend-     ,choiceClear-     ,choiceCreate-     ,choiceDelete-     ,choiceFindString-     ,choiceGetCount-     ,choiceGetSelection-     ,choiceGetString-     ,choiceSetSelection-     ,choiceSetString-     -- ** ClassInfo-     ,classInfoCreateClassByName-     ,classInfoFindClass-     ,classInfoGetBaseClassName1-     ,classInfoGetBaseClassName2-     ,classInfoGetClassName-     ,classInfoGetClassNameEx-     ,classInfoGetSize-     ,classInfoIsKindOf-     ,classInfoIsKindOfEx-     -- ** ClientDC-     ,clientDCCreate-     ,clientDCDelete-     -- ** Clipboard-     ,clipboardAddData-     ,clipboardClear-     ,clipboardClose-     ,clipboardCreate-     ,clipboardFlush-     ,clipboardGetData-     ,clipboardIsOpened-     ,clipboardIsSupported-     ,clipboardOpen-     ,clipboardSetData-     ,clipboardUsePrimarySelection-     -- ** CloseEvent-     ,closeEventCanVeto-     ,closeEventCopyObject-     ,closeEventGetLoggingOff-     ,closeEventGetVeto-     ,closeEventSetCanVeto-     ,closeEventSetLoggingOff-     ,closeEventVeto-     -- ** Closure-     ,closureCreate-     ,closureGetData-     -- ** ComboBox-     ,comboBoxAppend-     ,comboBoxAppendData-     ,comboBoxClear-     ,comboBoxCopy-     ,comboBoxCreate-     ,comboBoxCut-     ,comboBoxDelete-     ,comboBoxFindString-     ,comboBoxGetClientData-     ,comboBoxGetCount-     ,comboBoxGetInsertionPoint-     ,comboBoxGetLastPosition-     ,comboBoxGetSelection-     ,comboBoxGetString-     ,comboBoxGetStringSelection-     ,comboBoxGetValue-     ,comboBoxPaste-     ,comboBoxRemove-     ,comboBoxReplace-     ,comboBoxSetClientData-     ,comboBoxSetEditable-     ,comboBoxSetInsertionPoint-     ,comboBoxSetInsertionPointEnd-     ,comboBoxSetSelection-     ,comboBoxSetTextSelection-     -- ** CommandEvent-     ,commandEventCopyObject-     ,commandEventCreate-     ,commandEventDelete-     ,commandEventGetClientData-     ,commandEventGetClientObject-     ,commandEventGetExtraLong-     ,commandEventGetInt-     ,commandEventGetSelection-     ,commandEventGetString-     ,commandEventIsChecked-     ,commandEventIsSelection-     ,commandEventSetClientData-     ,commandEventSetClientObject-     ,commandEventSetExtraLong-     ,commandEventSetInt-     ,commandEventSetString-     -- ** ConfigBase-     ,configBaseCreate-     ,configBaseDelete-     ,configBaseDeleteAll-     ,configBaseDeleteEntry-     ,configBaseDeleteGroup-     ,configBaseExists-     ,configBaseExpandEnvVars-     ,configBaseFlush-     ,configBaseGet-     ,configBaseGetAppName-     ,configBaseGetEntryType-     ,configBaseGetFirstEntry-     ,configBaseGetFirstGroup-     ,configBaseGetNextEntry-     ,configBaseGetNextGroup-     ,configBaseGetNumberOfEntries-     ,configBaseGetNumberOfGroups-     ,configBaseGetPath-     ,configBaseGetStyle-     ,configBaseGetVendorName-     ,configBaseHasEntry-     ,configBaseHasGroup-     ,configBaseIsExpandingEnvVars-     ,configBaseIsRecordingDefaults-     ,configBaseReadBool-     ,configBaseReadDouble-     ,configBaseReadInteger-     ,configBaseReadString-     ,configBaseRenameEntry-     ,configBaseRenameGroup-     ,configBaseSet-     ,configBaseSetAppName-     ,configBaseSetExpandEnvVars-     ,configBaseSetPath-     ,configBaseSetRecordDefaults-     ,configBaseSetStyle-     ,configBaseSetVendorName-     ,configBaseWriteBool-     ,configBaseWriteDouble-     ,configBaseWriteInteger-     ,configBaseWriteLong-     ,configBaseWriteString-     -- ** ContextHelp-     ,contextHelpBeginContextHelp-     ,contextHelpCreate-     ,contextHelpDelete-     ,contextHelpEndContextHelp-     -- ** ContextHelpButton-     ,contextHelpButtonCreate-     -- ** Control-     ,controlCommand-     ,controlGetLabel-     ,controlSetLabel-     -- ** Cursor-     ,cursorDelete-     ,cursorIsStatic-     ,cursorSafeDelete-     -- ** DC-     ,dcBeginDrawing-     ,dcBlit-     ,dcCalcBoundingBox-     ,dcCanDrawBitmap-     ,dcCanGetTextExtent-     ,dcClear-     ,dcComputeScaleAndOrigin-     ,dcCrossHair-     ,dcDelete-     ,dcDestroyClippingRegion-     ,dcDeviceToLogicalX-     ,dcDeviceToLogicalXRel-     ,dcDeviceToLogicalY-     ,dcDeviceToLogicalYRel-     ,dcDrawArc-     ,dcDrawBitmap-     ,dcDrawCheckMark-     ,dcDrawCircle-     ,dcDrawEllipse-     ,dcDrawEllipticArc-     ,dcDrawIcon-     ,dcDrawLabel-     ,dcDrawLabelBitmap-     ,dcDrawLine-     ,dcDrawLines-     ,dcDrawPoint-     ,dcDrawPolyPolygon-     ,dcDrawPolygon-     ,dcDrawRectangle-     ,dcDrawRotatedText-     ,dcDrawRoundedRectangle-     ,dcDrawText-     ,dcEndDoc-     ,dcEndDrawing-     ,dcEndPage-     ,dcFloodFill-     ,dcGetBackground-     ,dcGetBackgroundMode-     ,dcGetBrush-     ,dcGetCharHeight-     ,dcGetCharWidth-     ,dcGetClippingBox-     ,dcGetDepth-     ,dcGetDeviceOrigin-     ,dcGetFont-     ,dcGetLogicalFunction-     ,dcGetLogicalOrigin-     ,dcGetLogicalScale-     ,dcGetMapMode-     ,dcGetMultiLineTextExtent-     ,dcGetPPI-     ,dcGetPen-     ,dcGetPixel-     ,dcGetPixel2-     ,dcGetSize-     ,dcGetSizeMM-     ,dcGetTextBackground-     ,dcGetTextExtent-     ,dcGetTextForeground-     ,dcGetUserScale-     ,dcGetUserScaleX-     ,dcGetUserScaleY-     ,dcIsOk-     ,dcLogicalToDeviceX-     ,dcLogicalToDeviceXRel-     ,dcLogicalToDeviceY-     ,dcLogicalToDeviceYRel-     ,dcMaxX-     ,dcMaxY-     ,dcMinX-     ,dcMinY-     ,dcResetBoundingBox-     ,dcSetAxisOrientation-     ,dcSetBackground-     ,dcSetBackgroundMode-     ,dcSetBrush-     ,dcSetClippingRegion-     ,dcSetClippingRegionFromRegion-     ,dcSetDeviceOrigin-     ,dcSetFont-     ,dcSetLogicalFunction-     ,dcSetLogicalOrigin-     ,dcSetLogicalScale-     ,dcSetMapMode-     ,dcSetPalette-     ,dcSetPen-     ,dcSetTextBackground-     ,dcSetTextForeground-     ,dcSetUserScale-     ,dcStartDoc-     ,dcStartPage-     -- ** DataFormat-     ,dataFormatCreateFromId-     ,dataFormatCreateFromType-     ,dataFormatDelete-     ,dataFormatGetId-     ,dataFormatGetType-     ,dataFormatIsEqual-     ,dataFormatSetId-     ,dataFormatSetType-     -- ** DataObjectComposite-     ,dataObjectCompositeAdd-     ,dataObjectCompositeCreate-     ,dataObjectCompositeDelete-     -- ** DateTime-     ,dateTimeAddDate-     ,dateTimeAddDateValues-     ,dateTimeAddTime-     ,dateTimeAddTimeValues-     ,dateTimeConvertYearToBC-     ,dateTimeCreate-     ,dateTimeDelete-     ,dateTimeFormat-     ,dateTimeFormatDate-     ,dateTimeFormatISODate-     ,dateTimeFormatISOTime-     ,dateTimeFormatTime-     ,dateTimeGetAmString-     ,dateTimeGetBeginDST-     ,dateTimeGetCentury-     ,dateTimeGetCountry-     ,dateTimeGetCurrentMonth-     ,dateTimeGetCurrentYear-     ,dateTimeGetDay-     ,dateTimeGetDayOfYear-     ,dateTimeGetEndDST-     ,dateTimeGetHour-     ,dateTimeGetLastMonthDay-     ,dateTimeGetLastWeekDay-     ,dateTimeGetMillisecond-     ,dateTimeGetMinute-     ,dateTimeGetMonth-     ,dateTimeGetMonthName-     ,dateTimeGetNextWeekDay-     ,dateTimeGetNumberOfDays-     ,dateTimeGetNumberOfDaysMonth-     ,dateTimeGetPmString-     ,dateTimeGetPrevWeekDay-     ,dateTimeGetSecond-     ,dateTimeGetTicks-     ,dateTimeGetTimeNow-     ,dateTimeGetValue-     ,dateTimeGetWeekDay-     ,dateTimeGetWeekDayInSameWeek-     ,dateTimeGetWeekDayName-     ,dateTimeGetWeekDayTZ-     ,dateTimeGetWeekOfMonth-     ,dateTimeGetWeekOfYear-     ,dateTimeGetYear-     ,dateTimeIsBetween-     ,dateTimeIsDST-     ,dateTimeIsDSTApplicable-     ,dateTimeIsEarlierThan-     ,dateTimeIsEqualTo-     ,dateTimeIsEqualUpTo-     ,dateTimeIsLaterThan-     ,dateTimeIsLeapYear-     ,dateTimeIsSameDate-     ,dateTimeIsSameTime-     ,dateTimeIsStrictlyBetween-     ,dateTimeIsValid-     ,dateTimeIsWestEuropeanCountry-     ,dateTimeIsWorkDay-     ,dateTimeMakeGMT-     ,dateTimeMakeTimezone-     ,dateTimeNow-     ,dateTimeParseDate-     ,dateTimeParseDateTime-     ,dateTimeParseFormat-     ,dateTimeParseRfc822Date-     ,dateTimeParseTime-     ,dateTimeResetTime-     ,dateTimeSet-     ,dateTimeSetCountry-     ,dateTimeSetDay-     ,dateTimeSetHour-     ,dateTimeSetMillisecond-     ,dateTimeSetMinute-     ,dateTimeSetMonth-     ,dateTimeSetSecond-     ,dateTimeSetTime-     ,dateTimeSetToCurrent-     ,dateTimeSetToLastMonthDay-     ,dateTimeSetToLastWeekDay-     ,dateTimeSetToNextWeekDay-     ,dateTimeSetToPrevWeekDay-     ,dateTimeSetToWeekDay-     ,dateTimeSetToWeekDayInSameWeek-     ,dateTimeSetYear-     ,dateTimeSubtractDate-     ,dateTimeSubtractTime-     ,dateTimeToGMT-     ,dateTimeToTimezone-     ,dateTimeToday-     ,dateTimeUNow-     ,dateTimewxDateTime-     -- ** Db-     ,dbClose-     ,dbCloseConnections-     ,dbCommitTrans-     ,dbConnectionsInUse-     ,dbCreate-     ,dbDbms-     ,dbDelete-     ,dbExecSql-     ,dbFreeConnection-     ,dbGetCatalog-     ,dbGetColumnCount-     ,dbGetColumns-     ,dbGetConnection-     ,dbGetData-     ,dbGetDataBinary-     ,dbGetDataDate-     ,dbGetDataDouble-     ,dbGetDataInt-     ,dbGetDataSource-     ,dbGetDataTime-     ,dbGetDataTimeStamp-     ,dbGetDatabaseName-     ,dbGetDatasourceName-     ,dbGetErrorMessage-     ,dbGetErrorMsg-     ,dbGetHDBC-     ,dbGetHENV-     ,dbGetHSTMT-     ,dbGetNativeError-     ,dbGetNext-     ,dbGetNextError-     ,dbGetNumErrorMessages-     ,dbGetPassword-     ,dbGetResultColumns-     ,dbGetStatus-     ,dbGetTableCount-     ,dbGetUsername-     ,dbGrant-     ,dbIsOpen-     ,dbIsSupported-     ,dbOpen-     ,dbRollbackTrans-     ,dbSQLColumnName-     ,dbSQLTableName-     ,dbSqlTypeToStandardSqlType-     ,dbStandardSqlTypeToSqlType-     ,dbTableExists-     ,dbTablePrivileges-     ,dbTranslateSqlState-     -- ** DbColInf-     ,dbColInfGetBufferLength-     ,dbColInfGetCatalog-     ,dbColInfGetColName-     ,dbColInfGetColumnSize-     ,dbColInfGetDbDataType-     ,dbColInfGetDecimalDigits-     ,dbColInfGetFkCol-     ,dbColInfGetFkTableName-     ,dbColInfGetNumPrecRadix-     ,dbColInfGetPkCol-     ,dbColInfGetPkTableName-     ,dbColInfGetRemarks-     ,dbColInfGetSchema-     ,dbColInfGetSqlDataType-     ,dbColInfGetTableName-     ,dbColInfGetTypeName-     ,dbColInfIsNullable-     -- ** DbColInfArray-     ,dbColInfArrayDelete-     ,dbColInfArrayGetColInf-     -- ** DbConnectInf-     ,dbConnectInfAllocHenv-     ,dbConnectInfCreate-     ,dbConnectInfDelete-     ,dbConnectInfFreeHenv-     ,dbConnectInfGetHenv-     -- ** DbInf-     ,dbInfDelete-     ,dbInfGetCatalogName-     ,dbInfGetNumTables-     ,dbInfGetSchemaName-     ,dbInfGetTableInf-     -- ** DbTableInf-     ,dbTableInfGetNumCols-     ,dbTableInfGetTableName-     ,dbTableInfGetTableRemarks-     ,dbTableInfGetTableType-     -- ** Dialog-     ,dialogCreate-     ,dialogEndModal-     ,dialogGetReturnCode-     ,dialogIsModal-     ,dialogSetReturnCode-     ,dialogShowModal-     -- ** DirDialog-     ,dirDialogCreate-     ,dirDialogGetMessage-     ,dirDialogGetPath-     ,dirDialogGetStyle-     ,dirDialogSetMessage-     ,dirDialogSetPath-     ,dirDialogSetStyle-     -- ** DragImage-     ,dragImageBeginDrag-     ,dragImageBeginDragFullScreen-     ,dragImageCreate-     ,dragImageDelete-     ,dragImageEndDrag-     ,dragImageHide-     ,dragImageMove-     ,dragImageShow-     -- ** DrawControl-     ,drawControlCreate-     -- ** DrawWindow-     ,drawWindowCreate-     -- ** DropTarget-     ,dropTargetGetData-     ,dropTargetSetDataObject-     -- ** EncodingConverter-     ,encodingConverterConvert-     ,encodingConverterCreate-     ,encodingConverterDelete-     ,encodingConverterGetAllEquivalents-     ,encodingConverterGetPlatformEquivalents-     ,encodingConverterInit-     -- ** EraseEvent-     ,eraseEventCopyObject-     ,eraseEventGetDC-     -- ** Event-     ,eventCopyObject-     ,eventGetEventObject-     ,eventGetEventType-     ,eventGetId-     ,eventGetSkipped-     ,eventGetTimestamp-     ,eventIsCommandEvent-     ,eventNewEventType-     ,eventSetEventObject-     ,eventSetEventType-     ,eventSetId-     ,eventSetTimestamp-     ,eventSkip-     -- ** EvtHandler-     ,evtHandlerAddPendingEvent-     ,evtHandlerConnect-     ,evtHandlerCreate-     ,evtHandlerDelete-     ,evtHandlerDisconnect-     ,evtHandlerGetClientClosure-     ,evtHandlerGetClosure-     ,evtHandlerGetEvtHandlerEnabled-     ,evtHandlerGetNextHandler-     ,evtHandlerGetPreviousHandler-     ,evtHandlerProcessEvent-     ,evtHandlerProcessPendingEvents-     ,evtHandlerSetClientClosure-     ,evtHandlerSetEvtHandlerEnabled-     ,evtHandlerSetNextHandler-     ,evtHandlerSetPreviousHandler-     -- ** FileConfig-     ,fileConfigCreate-     -- ** FileDialog-     ,fileDialogCreate-     ,fileDialogGetDirectory-     ,fileDialogGetFilename-     ,fileDialogGetFilenames-     ,fileDialogGetFilterIndex-     ,fileDialogGetMessage-     ,fileDialogGetPath-     ,fileDialogGetPaths-     ,fileDialogGetStyle-     ,fileDialogGetWildcard-     ,fileDialogSetDirectory-     ,fileDialogSetFilename-     ,fileDialogSetFilterIndex-     ,fileDialogSetMessage-     ,fileDialogSetPath-     ,fileDialogSetStyle-     ,fileDialogSetWildcard-     -- ** FileHistory-     ,fileHistoryAddFileToHistory-     ,fileHistoryAddFilesToMenu-     ,fileHistoryCreate-     ,fileHistoryDelete-     ,fileHistoryGetCount-     ,fileHistoryGetHistoryFile-     ,fileHistoryGetMaxFiles-     ,fileHistoryGetMenus-     ,fileHistoryLoad-     ,fileHistoryRemoveFileFromHistory-     ,fileHistoryRemoveMenu-     ,fileHistorySave-     ,fileHistoryUseMenu-     -- ** FileType-     ,fileTypeDelete-     ,fileTypeExpandCommand-     ,fileTypeGetDescription-     ,fileTypeGetExtensions-     ,fileTypeGetIcon-     ,fileTypeGetMimeType-     ,fileTypeGetMimeTypes-     ,fileTypeGetOpenCommand-     ,fileTypeGetPrintCommand-     -- ** FindDialogEvent-     ,findDialogEventGetFindString-     ,findDialogEventGetFlags-     ,findDialogEventGetReplaceString-     -- ** FindReplaceData-     ,findReplaceDataCreate-     ,findReplaceDataCreateDefault-     ,findReplaceDataDelete-     ,findReplaceDataGetFindString-     ,findReplaceDataGetFlags-     ,findReplaceDataGetReplaceString-     ,findReplaceDataSetFindString-     ,findReplaceDataSetFlags-     ,findReplaceDataSetReplaceString-     -- ** FindReplaceDialog-     ,findReplaceDialogCreate-     ,findReplaceDialogGetData-     ,findReplaceDialogSetData-     -- ** FlexGridSizer-     ,flexGridSizerAddGrowableCol-     ,flexGridSizerAddGrowableRow-     ,flexGridSizerCalcMin-     ,flexGridSizerCreate-     ,flexGridSizerRecalcSizes-     ,flexGridSizerRemoveGrowableCol-     ,flexGridSizerRemoveGrowableRow-     -- ** Font-     ,fontCreate-     ,fontCreateDefault-     ,fontCreateFromStock-     ,fontDelete-     ,fontGetDefaultEncoding-     ,fontGetEncoding-     ,fontGetFaceName-     ,fontGetFamily-     ,fontGetFamilyString-     ,fontGetPointSize-     ,fontGetStyle-     ,fontGetStyleString-     ,fontGetUnderlined-     ,fontGetWeight-     ,fontGetWeightString-     ,fontIsOk-     ,fontIsStatic-     ,fontSafeDelete-     ,fontSetDefaultEncoding-     ,fontSetEncoding-     ,fontSetFaceName-     ,fontSetFamily-     ,fontSetPointSize-     ,fontSetStyle-     ,fontSetUnderlined-     ,fontSetWeight-     -- ** FontData-     ,fontDataCreate-     ,fontDataDelete-     ,fontDataEnableEffects-     ,fontDataGetAllowSymbols-     ,fontDataGetChosenFont-     ,fontDataGetColour-     ,fontDataGetEnableEffects-     ,fontDataGetEncoding-     ,fontDataGetInitialFont-     ,fontDataGetShowHelp-     ,fontDataSetAllowSymbols-     ,fontDataSetChosenFont-     ,fontDataSetColour-     ,fontDataSetEncoding-     ,fontDataSetInitialFont-     ,fontDataSetRange-     ,fontDataSetShowHelp-     -- ** FontDialog-     ,fontDialogCreate-     ,fontDialogGetFontData-     -- ** FontEnumerator-     ,fontEnumeratorCreate-     ,fontEnumeratorDelete-     ,fontEnumeratorEnumerateEncodings-     ,fontEnumeratorEnumerateFacenames-     -- ** FontMapper-     ,fontMapperCreate-     ,fontMapperGetAltForEncoding-     ,fontMapperIsEncodingAvailable-     -- ** Frame-     ,frameCentre-     ,frameCreate-     ,frameCreateStatusBar-     ,frameCreateToolBar-     ,frameGetClientAreaOriginleft-     ,frameGetClientAreaOrigintop-     ,frameGetMenuBar-     ,frameGetStatusBar-     ,frameGetTitle-     ,frameGetToolBar-     ,frameIsFullScreen-     ,frameRestore-     ,frameSetMenuBar-     ,frameSetShape-     ,frameSetStatusBar-     ,frameSetStatusText-     ,frameSetStatusWidths-     ,frameSetTitle-     ,frameSetToolBar-     ,frameShowFullScreen-     -- ** Gauge-     ,gaugeCreate-     ,gaugeGetBezelFace-     ,gaugeGetRange-     ,gaugeGetShadowWidth-     ,gaugeGetValue-     ,gaugeSetBezelFace-     ,gaugeSetRange-     ,gaugeSetShadowWidth-     ,gaugeSetValue-     -- ** GenericDragImage-     ,genericDragImageCreate-     ,genericDragImageDoDrawImage-     ,genericDragImageGetImageRect-     ,genericDragImageUpdateBackingFromWindow-     -- ** GraphicsBrush-     ,graphicsBrushCreate-     ,graphicsBrushDelete-     -- ** GraphicsContext-     ,graphicsContextClip-     ,graphicsContextClipByRectangle-     ,graphicsContextConcatTransform-     ,graphicsContextCreate-     ,graphicsContextCreateFromNative-     ,graphicsContextCreateFromNativeWindow-     ,graphicsContextCreateFromWindow-     ,graphicsContextDelete-     ,graphicsContextDrawBitmap-     ,graphicsContextDrawEllipse-     ,graphicsContextDrawIcon-     ,graphicsContextDrawLines-     ,graphicsContextDrawPath-     ,graphicsContextDrawRectangle-     ,graphicsContextDrawRoundedRectangle-     ,graphicsContextDrawText-     ,graphicsContextDrawTextWithAngle-     ,graphicsContextFillPath-     ,graphicsContextGetNativeContext-     ,graphicsContextGetTextExtent-     ,graphicsContextResetClip-     ,graphicsContextRotate-     ,graphicsContextScale-     ,graphicsContextSetBrush-     ,graphicsContextSetFont-     ,graphicsContextSetGraphicsBrush-     ,graphicsContextSetGraphicsFont-     ,graphicsContextSetGraphicsPen-     ,graphicsContextSetPen-     ,graphicsContextSetTransform-     ,graphicsContextStrokeLine-     ,graphicsContextStrokeLines-     ,graphicsContextStrokePath-     ,graphicsContextTranslate-     -- ** GraphicsFont-     ,graphicsFontCreate-     ,graphicsFontDelete-     -- ** GraphicsMatrix-     ,graphicsMatrixConcat-     ,graphicsMatrixCreate-     ,graphicsMatrixDelete-     ,graphicsMatrixGet-     ,graphicsMatrixGetNativeMatrix-     ,graphicsMatrixInvert-     ,graphicsMatrixIsEqual-     ,graphicsMatrixIsIdentity-     ,graphicsMatrixRotate-     ,graphicsMatrixScale-     ,graphicsMatrixSet-     ,graphicsMatrixTransformDistance-     ,graphicsMatrixTransformPoint-     ,graphicsMatrixTranslate-     -- ** GraphicsObject-     ,graphicsObjectGetRenderer-     ,graphicsObjectIsNull-     -- ** GraphicsPath-     ,graphicsPathAddArc-     ,graphicsPathAddArcToPoint-     ,graphicsPathAddCircle-     ,graphicsPathAddCurveToPoint-     ,graphicsPathAddEllipse-     ,graphicsPathAddLineToPoint-     ,graphicsPathAddPath-     ,graphicsPathAddQuadCurveToPoint-     ,graphicsPathAddRectangle-     ,graphicsPathAddRoundedRectangle-     ,graphicsPathCloseSubpath-     ,graphicsPathContains-     ,graphicsPathCreate-     ,graphicsPathDelete-     ,graphicsPathGetBox-     ,graphicsPathGetCurrentPoint-     ,graphicsPathGetNativePath-     ,graphicsPathMoveToPoint-     ,graphicsPathTransform-     ,graphicsPathUnGetNativePath-     -- ** GraphicsPen-     ,graphicsPenCreate-     ,graphicsPenDelete-     -- ** GraphicsRenderer-     ,graphicsRendererCreateContext-     ,graphicsRendererCreateContextFromNativeContext-     ,graphicsRendererCreateContextFromNativeWindow-     ,graphicsRendererCreateContextFromWindow-     ,graphicsRendererDelete-     ,graphicsRendererGetDefaultRenderer-     -- ** Grid-     ,gridAppendCols-     ,gridAppendRows-     ,gridAutoSize-     ,gridAutoSizeColumn-     ,gridAutoSizeColumns-     ,gridAutoSizeRow-     ,gridAutoSizeRows-     ,gridBeginBatch-     ,gridBlockToDeviceRect-     ,gridCalcCellsExposed-     ,gridCalcColLabelsExposed-     ,gridCalcRowLabelsExposed-     ,gridCanDragColSize-     ,gridCanDragGridSize-     ,gridCanDragRowSize-     ,gridCanEnableCellControl-     ,gridCellToRect-     ,gridClearGrid-     ,gridClearSelection-     ,gridCreate-     ,gridCreateGrid-     ,gridDeleteCols-     ,gridDeleteRows-     ,gridDisableCellEditControl-     ,gridDisableDragColSize-     ,gridDisableDragGridSize-     ,gridDisableDragRowSize-     ,gridDoEndDragResizeCol-     ,gridDoEndDragResizeRow-     ,gridDrawAllGridLines-     ,gridDrawCell-     ,gridDrawCellBorder-     ,gridDrawCellHighlight-     ,gridDrawColLabel-     ,gridDrawColLabels-     ,gridDrawGridCellArea-     ,gridDrawGridSpace-     ,gridDrawHighlight-     ,gridDrawRowLabel-     ,gridDrawRowLabels-     ,gridDrawTextRectangle-     ,gridEnableCellEditControl-     ,gridEnableDragColSize-     ,gridEnableDragGridSize-     ,gridEnableDragRowSize-     ,gridEnableEditing-     ,gridEnableGridLines-     ,gridEndBatch-     ,gridGetBatchCount-     ,gridGetCellAlignment-     ,gridGetCellBackgroundColour-     ,gridGetCellEditor-     ,gridGetCellFont-     ,gridGetCellHighlightColour-     ,gridGetCellRenderer-     ,gridGetCellTextColour-     ,gridGetCellValue-     ,gridGetColLabelAlignment-     ,gridGetColLabelSize-     ,gridGetColLabelValue-     ,gridGetColSize-     ,gridGetDefaultCellAlignment-     ,gridGetDefaultCellBackgroundColour-     ,gridGetDefaultCellFont-     ,gridGetDefaultCellTextColour-     ,gridGetDefaultColLabelSize-     ,gridGetDefaultColSize-     ,gridGetDefaultEditor-     ,gridGetDefaultEditorForCell-     ,gridGetDefaultEditorForType-     ,gridGetDefaultRenderer-     ,gridGetDefaultRendererForCell-     ,gridGetDefaultRendererForType-     ,gridGetDefaultRowLabelSize-     ,gridGetDefaultRowSize-     ,gridGetGridCursorCol-     ,gridGetGridCursorRow-     ,gridGetGridLineColour-     ,gridGetLabelBackgroundColour-     ,gridGetLabelFont-     ,gridGetLabelTextColour-     ,gridGetNumberCols-     ,gridGetNumberRows-     ,gridGetRowLabelAlignment-     ,gridGetRowLabelSize-     ,gridGetRowLabelValue-     ,gridGetRowSize-     ,gridGetSelectedCells-     ,gridGetSelectedCols-     ,gridGetSelectedRows-     ,gridGetSelectionBackground-     ,gridGetSelectionBlockBottomRight-     ,gridGetSelectionBlockTopLeft-     ,gridGetSelectionForeground-     ,gridGetTable-     ,gridGetTextBoxSize-     ,gridGridLinesEnabled-     ,gridHideCellEditControl-     ,gridInsertCols-     ,gridInsertRows-     ,gridIsCellEditControlEnabled-     ,gridIsCellEditControlShown-     ,gridIsCurrentCellReadOnly-     ,gridIsEditable-     ,gridIsInSelection-     ,gridIsReadOnly-     ,gridIsSelection-     ,gridIsVisible-     ,gridMakeCellVisible-     ,gridMoveCursorDown-     ,gridMoveCursorDownBlock-     ,gridMoveCursorLeft-     ,gridMoveCursorLeftBlock-     ,gridMoveCursorRight-     ,gridMoveCursorRightBlock-     ,gridMoveCursorUp-     ,gridMoveCursorUpBlock-     ,gridMovePageDown-     ,gridMovePageUp-     ,gridNewCalcCellsExposed-     ,gridNewDrawGridCellArea-     ,gridNewDrawHighlight-     ,gridProcessColLabelMouseEvent-     ,gridProcessCornerLabelMouseEvent-     ,gridProcessGridCellMouseEvent-     ,gridProcessRowLabelMouseEvent-     ,gridProcessTableMessage-     ,gridRegisterDataType-     ,gridSaveEditControlValue-     ,gridSelectAll-     ,gridSelectBlock-     ,gridSelectCol-     ,gridSelectRow-     ,gridSetCellAlignment-     ,gridSetCellBackgroundColour-     ,gridSetCellEditor-     ,gridSetCellFont-     ,gridSetCellHighlightColour-     ,gridSetCellRenderer-     ,gridSetCellTextColour-     ,gridSetCellValue-     ,gridSetColAttr-     ,gridSetColFormatBool-     ,gridSetColFormatCustom-     ,gridSetColFormatFloat-     ,gridSetColFormatNumber-     ,gridSetColLabelAlignment-     ,gridSetColLabelSize-     ,gridSetColLabelValue-     ,gridSetColMinimalWidth-     ,gridSetColSize-     ,gridSetDefaultCellAlignment-     ,gridSetDefaultCellBackgroundColour-     ,gridSetDefaultCellFont-     ,gridSetDefaultCellTextColour-     ,gridSetDefaultColSize-     ,gridSetDefaultEditor-     ,gridSetDefaultRenderer-     ,gridSetDefaultRowSize-     ,gridSetGridCursor-     ,gridSetGridLineColour-     ,gridSetLabelBackgroundColour-     ,gridSetLabelFont-     ,gridSetLabelTextColour-     ,gridSetMargins-     ,gridSetReadOnly-     ,gridSetRowAttr-     ,gridSetRowLabelAlignment-     ,gridSetRowLabelSize-     ,gridSetRowLabelValue-     ,gridSetRowMinimalHeight-     ,gridSetRowSize-     ,gridSetSelectionBackground-     ,gridSetSelectionForeground-     ,gridSetSelectionMode-     ,gridSetTable-     ,gridShowCellEditControl-     ,gridStringToLines-     ,gridXToCol-     ,gridXToEdgeOfCol-     ,gridXYToCell-     ,gridYToEdgeOfRow-     ,gridYToRow-     -- ** GridCellAttr-     ,gridCellAttrCtor-     ,gridCellAttrDecRef-     ,gridCellAttrGetAlignment-     ,gridCellAttrGetBackgroundColour-     ,gridCellAttrGetEditor-     ,gridCellAttrGetFont-     ,gridCellAttrGetRenderer-     ,gridCellAttrGetTextColour-     ,gridCellAttrHasAlignment-     ,gridCellAttrHasBackgroundColour-     ,gridCellAttrHasEditor-     ,gridCellAttrHasFont-     ,gridCellAttrHasRenderer-     ,gridCellAttrHasTextColour-     ,gridCellAttrIncRef-     ,gridCellAttrIsReadOnly-     ,gridCellAttrSetAlignment-     ,gridCellAttrSetBackgroundColour-     ,gridCellAttrSetDefAttr-     ,gridCellAttrSetEditor-     ,gridCellAttrSetFont-     ,gridCellAttrSetReadOnly-     ,gridCellAttrSetRenderer-     ,gridCellAttrSetTextColour-     -- ** GridCellBoolEditor-     ,gridCellBoolEditorCtor-     -- ** GridCellChoiceEditor-     ,gridCellChoiceEditorCtor-     -- ** GridCellCoordsArray-     ,gridCellCoordsArrayCreate-     ,gridCellCoordsArrayDelete-     ,gridCellCoordsArrayGetCount-     ,gridCellCoordsArrayItem-     -- ** GridCellEditor-     ,gridCellEditorBeginEdit-     ,gridCellEditorCreate-     ,gridCellEditorDestroy-     ,gridCellEditorEndEdit-     ,gridCellEditorGetControl-     ,gridCellEditorHandleReturn-     ,gridCellEditorIsAcceptedKey-     ,gridCellEditorIsCreated-     ,gridCellEditorPaintBackground-     ,gridCellEditorReset-     ,gridCellEditorSetControl-     ,gridCellEditorSetParameters-     ,gridCellEditorSetSize-     ,gridCellEditorShow-     ,gridCellEditorStartingClick-     ,gridCellEditorStartingKey-     -- ** GridCellFloatEditor-     ,gridCellFloatEditorCtor-     -- ** GridCellNumberEditor-     ,gridCellNumberEditorCtor-     -- ** GridCellTextEditor-     ,gridCellTextEditorCtor-     -- ** GridCellTextEnterEditor-     ,gridCellTextEnterEditorCtor-     -- ** GridEditorCreatedEvent-     ,gridEditorCreatedEventGetCol-     ,gridEditorCreatedEventGetControl-     ,gridEditorCreatedEventGetRow-     ,gridEditorCreatedEventSetCol-     ,gridEditorCreatedEventSetControl-     ,gridEditorCreatedEventSetRow-     -- ** GridEvent-     ,gridEventAltDown-     ,gridEventControlDown-     ,gridEventGetCol-     ,gridEventGetPosition-     ,gridEventGetRow-     ,gridEventMetaDown-     ,gridEventSelecting-     ,gridEventShiftDown-     -- ** GridRangeSelectEvent-     ,gridRangeSelectEventAltDown-     ,gridRangeSelectEventControlDown-     ,gridRangeSelectEventGetBottomRightCoords-     ,gridRangeSelectEventGetBottomRow-     ,gridRangeSelectEventGetLeftCol-     ,gridRangeSelectEventGetRightCol-     ,gridRangeSelectEventGetTopLeftCoords-     ,gridRangeSelectEventGetTopRow-     ,gridRangeSelectEventMetaDown-     ,gridRangeSelectEventSelecting-     ,gridRangeSelectEventShiftDown-     -- ** GridSizeEvent-     ,gridSizeEventAltDown-     ,gridSizeEventControlDown-     ,gridSizeEventGetPosition-     ,gridSizeEventGetRowOrCol-     ,gridSizeEventMetaDown-     ,gridSizeEventShiftDown-     -- ** GridSizer-     ,gridSizerCalcMin-     ,gridSizerCreate-     ,gridSizerGetCols-     ,gridSizerGetHGap-     ,gridSizerGetRows-     ,gridSizerGetVGap-     ,gridSizerRecalcSizes-     ,gridSizerSetCols-     ,gridSizerSetHGap-     ,gridSizerSetRows-     ,gridSizerSetVGap-     -- ** HelpControllerHelpProvider-     ,helpControllerHelpProviderCreate-     ,helpControllerHelpProviderGetHelpController-     ,helpControllerHelpProviderSetHelpController-     -- ** HelpEvent-     ,helpEventGetLink-     ,helpEventGetPosition-     ,helpEventGetTarget-     ,helpEventSetLink-     ,helpEventSetPosition-     ,helpEventSetTarget-     -- ** HelpProvider-     ,helpProviderAddHelp-     ,helpProviderAddHelpById-     ,helpProviderDelete-     ,helpProviderGet-     ,helpProviderGetHelp-     ,helpProviderRemoveHelp-     ,helpProviderSet-     ,helpProviderShowHelp-     -- ** HtmlHelpController-     ,htmlHelpControllerAddBook-     ,htmlHelpControllerCreate-     ,htmlHelpControllerDelete-     ,htmlHelpControllerDisplay-     ,htmlHelpControllerDisplayBlock-     ,htmlHelpControllerDisplayContents-     ,htmlHelpControllerDisplayIndex-     ,htmlHelpControllerDisplayNumber-     ,htmlHelpControllerDisplaySection-     ,htmlHelpControllerDisplaySectionNumber-     ,htmlHelpControllerGetFrame-     ,htmlHelpControllerGetFrameParameters-     ,htmlHelpControllerInitialize-     ,htmlHelpControllerKeywordSearch-     ,htmlHelpControllerLoadFile-     ,htmlHelpControllerQuit-     ,htmlHelpControllerReadCustomization-     ,htmlHelpControllerSetFrameParameters-     ,htmlHelpControllerSetTempDir-     ,htmlHelpControllerSetTitleFormat-     ,htmlHelpControllerSetViewer-     ,htmlHelpControllerUseConfig-     ,htmlHelpControllerWriteCustomization-     -- ** HtmlWindow-     ,htmlWindowAppendToPage-     ,htmlWindowCreate-     ,htmlWindowGetInternalRepresentation-     ,htmlWindowGetOpenedAnchor-     ,htmlWindowGetOpenedPage-     ,htmlWindowGetOpenedPageTitle-     ,htmlWindowGetRelatedFrame-     ,htmlWindowHistoryBack-     ,htmlWindowHistoryCanBack-     ,htmlWindowHistoryCanForward-     ,htmlWindowHistoryClear-     ,htmlWindowHistoryForward-     ,htmlWindowLoadPage-     ,htmlWindowReadCustomization-     ,htmlWindowSetBorders-     ,htmlWindowSetFonts-     ,htmlWindowSetPage-     ,htmlWindowSetRelatedFrame-     ,htmlWindowSetRelatedStatusBar-     ,htmlWindowWriteCustomization-     -- ** Icon-     ,iconAssign-     ,iconCopyFromBitmap-     ,iconCreateDefault-     ,iconCreateLoad-     ,iconDelete-     ,iconFromRaw-     ,iconFromXPM-     ,iconGetDepth-     ,iconGetHeight-     ,iconGetWidth-     ,iconIsEqual-     ,iconIsOk-     ,iconIsStatic-     ,iconLoad-     ,iconSafeDelete-     ,iconSetDepth-     ,iconSetHeight-     ,iconSetWidth-     -- ** IconBundle-     ,iconBundleAddIcon-     ,iconBundleAddIconFromFile-     ,iconBundleCreateDefault-     ,iconBundleCreateFromFile-     ,iconBundleCreateFromIcon-     ,iconBundleDelete-     ,iconBundleGetIcon-     -- ** IdleEvent-     ,idleEventCopyObject-     ,idleEventMoreRequested-     ,idleEventRequestMore-     -- ** Image-     ,imageCanRead-     ,imageConvertToBitmap-     ,imageConvertToByteString-     ,imageConvertToLazyByteString-     ,imageCountColours-     ,imageCreateDefault-     ,imageCreateFromBitmap-     ,imageCreateFromByteString-     ,imageCreateFromData-     ,imageCreateFromDataEx-     ,imageCreateFromFile-     ,imageCreateFromLazyByteString-     ,imageCreateSized-     ,imageDelete-     ,imageDestroy-     ,imageGetBlue-     ,imageGetData-     ,imageGetGreen-     ,imageGetHeight-     ,imageGetMaskBlue-     ,imageGetMaskGreen-     ,imageGetMaskRed-     ,imageGetOption-     ,imageGetOptionInt-     ,imageGetRed-     ,imageGetSubImage-     ,imageGetWidth-     ,imageHasMask-     ,imageHasOption-     ,imageInitialize-     ,imageInitializeFromData-     ,imageIsOk-     ,imageLoadFile-     ,imageMirror-     ,imagePaste-     ,imageReplace-     ,imageRescale-     ,imageRotate-     ,imageRotate90-     ,imageSaveFile-     ,imageScale-     ,imageSetData-     ,imageSetDataAndSize-     ,imageSetMask-     ,imageSetMaskColour-     ,imageSetOption-     ,imageSetOptionInt-     ,imageSetRGB-     -- ** ImageList-     ,imageListAddBitmap-     ,imageListAddIcon-     ,imageListAddMasked-     ,imageListCreate-     ,imageListDelete-     ,imageListDraw-     ,imageListGetImageCount-     ,imageListGetSize-     ,imageListRemove-     ,imageListRemoveAll-     ,imageListReplace-     ,imageListReplaceIcon-     -- ** IndividualLayoutConstraint-     ,individualLayoutConstraintAbove-     ,individualLayoutConstraintAbsolute-     ,individualLayoutConstraintAsIs-     ,individualLayoutConstraintBelow-     ,individualLayoutConstraintGetDone-     ,individualLayoutConstraintGetEdge-     ,individualLayoutConstraintGetMargin-     ,individualLayoutConstraintGetMyEdge-     ,individualLayoutConstraintGetOtherEdge-     ,individualLayoutConstraintGetOtherWindow-     ,individualLayoutConstraintGetPercent-     ,individualLayoutConstraintGetRelationship-     ,individualLayoutConstraintGetValue-     ,individualLayoutConstraintLeftOf-     ,individualLayoutConstraintPercentOf-     ,individualLayoutConstraintResetIfWin-     ,individualLayoutConstraintRightOf-     ,individualLayoutConstraintSameAs-     ,individualLayoutConstraintSatisfyConstraint-     ,individualLayoutConstraintSet-     ,individualLayoutConstraintSetDone-     ,individualLayoutConstraintSetEdge-     ,individualLayoutConstraintSetMargin-     ,individualLayoutConstraintSetRelationship-     ,individualLayoutConstraintSetValue-     ,individualLayoutConstraintUnconstrained-     -- ** InputSink-     ,inputSinkCreate-     ,inputSinkGetId-     ,inputSinkStart-     -- ** InputSinkEvent-     ,inputSinkEventLastError-     ,inputSinkEventLastInput-     ,inputSinkEventLastRead-     -- ** InputStream-     ,inputStreamCanRead-     ,inputStreamDelete-     ,inputStreamEof-     ,inputStreamGetC-     ,inputStreamLastRead-     ,inputStreamPeek-     ,inputStreamRead-     ,inputStreamSeekI-     ,inputStreamTell-     ,inputStreamUngetBuffer-     ,inputStreamUngetch-     -- ** KeyEvent-     ,keyEventAltDown-     ,keyEventControlDown-     ,keyEventCopyObject-     ,keyEventGetKeyCode-     ,keyEventGetModifiers-     ,keyEventGetPosition-     ,keyEventGetX-     ,keyEventGetY-     ,keyEventHasModifiers-     ,keyEventMetaDown-     ,keyEventSetKeyCode-     ,keyEventShiftDown-     -- ** LayoutAlgorithm-     ,layoutAlgorithmCreate-     ,layoutAlgorithmDelete-     ,layoutAlgorithmLayoutFrame-     ,layoutAlgorithmLayoutMDIFrame-     ,layoutAlgorithmLayoutWindow-     -- ** LayoutConstraints-     ,layoutConstraintsCreate-     ,layoutConstraintsbottom-     ,layoutConstraintscentreX-     ,layoutConstraintscentreY-     ,layoutConstraintsheight-     ,layoutConstraintsleft-     ,layoutConstraintsright-     ,layoutConstraintstop-     ,layoutConstraintswidth-     -- ** ListBox-     ,listBoxAppend-     ,listBoxAppendData-     ,listBoxClear-     ,listBoxCreate-     ,listBoxDelete-     ,listBoxFindString-     ,listBoxGetClientData-     ,listBoxGetCount-     ,listBoxGetSelection-     ,listBoxGetSelections-     ,listBoxGetString-     ,listBoxInsertItems-     ,listBoxIsSelected-     ,listBoxSetClientData-     ,listBoxSetFirstItem-     ,listBoxSetSelection-     ,listBoxSetString-     ,listBoxSetStringSelection-     -- ** ListCtrl-     ,listCtrlArrange-     ,listCtrlAssignImageList-     ,listCtrlClearAll-     ,listCtrlCreate-     ,listCtrlDeleteAllColumns-     ,listCtrlDeleteAllItems-     ,listCtrlDeleteColumn-     ,listCtrlDeleteItem-     ,listCtrlEditLabel-     ,listCtrlEndEditLabel-     ,listCtrlEnsureVisible-     ,listCtrlFindItem-     ,listCtrlFindItemByData-     ,listCtrlFindItemByPosition-     ,listCtrlGetColumn-     ,listCtrlGetColumn2-     ,listCtrlGetColumnCount-     ,listCtrlGetColumnWidth-     ,listCtrlGetCountPerPage-     ,listCtrlGetEditControl-     ,listCtrlGetImageList-     ,listCtrlGetItem-     ,listCtrlGetItem2-     ,listCtrlGetItemCount-     ,listCtrlGetItemData-     ,listCtrlGetItemPosition-     ,listCtrlGetItemPosition2-     ,listCtrlGetItemRect-     ,listCtrlGetItemSpacing-     ,listCtrlGetItemState-     ,listCtrlGetItemText-     ,listCtrlGetNextItem-     ,listCtrlGetSelectedItemCount-     ,listCtrlGetTextColour-     ,listCtrlGetTopItem-     ,listCtrlHitTest-     ,listCtrlInsertColumn-     ,listCtrlInsertColumnFromInfo-     ,listCtrlInsertItem-     ,listCtrlInsertItemWithData-     ,listCtrlInsertItemWithImage-     ,listCtrlInsertItemWithLabel-     ,listCtrlScrollList-     ,listCtrlSetBackgroundColour-     ,listCtrlSetColumn-     ,listCtrlSetColumnWidth-     ,listCtrlSetForegroundColour-     ,listCtrlSetImageList-     ,listCtrlSetItem-     ,listCtrlSetItemData-     ,listCtrlSetItemFromInfo-     ,listCtrlSetItemImage-     ,listCtrlSetItemPosition-     ,listCtrlSetItemState-     ,listCtrlSetItemText-     ,listCtrlSetSingleStyle-     ,listCtrlSetTextColour-     ,listCtrlSetWindowStyleFlag-     ,listCtrlSortItems-     ,listCtrlSortItems2-     ,listCtrlUpdateStyle-     -- ** ListEvent-     ,listEventCancelled-     ,listEventGetCacheFrom-     ,listEventGetCacheTo-     ,listEventGetCode-     ,listEventGetColumn-     ,listEventGetData-     ,listEventGetImage-     ,listEventGetIndex-     ,listEventGetItem-     ,listEventGetLabel-     ,listEventGetMask-     ,listEventGetPoint-     ,listEventGetText-     -- ** ListItem-     ,listItemClear-     ,listItemClearAttributes-     ,listItemCreate-     ,listItemDelete-     ,listItemGetAlign-     ,listItemGetAttributes-     ,listItemGetBackgroundColour-     ,listItemGetColumn-     ,listItemGetData-     ,listItemGetFont-     ,listItemGetId-     ,listItemGetImage-     ,listItemGetMask-     ,listItemGetState-     ,listItemGetText-     ,listItemGetTextColour-     ,listItemGetWidth-     ,listItemHasAttributes-     ,listItemSetAlign-     ,listItemSetBackgroundColour-     ,listItemSetColumn-     ,listItemSetData-     ,listItemSetDataPointer-     ,listItemSetFont-     ,listItemSetId-     ,listItemSetImage-     ,listItemSetMask-     ,listItemSetState-     ,listItemSetStateMask-     ,listItemSetText-     ,listItemSetTextColour-     ,listItemSetWidth-     -- ** Locale-     ,localeAddCatalog-     ,localeAddCatalogLookupPathPrefix-     ,localeCreate-     ,localeDelete-     ,localeGetLocale-     ,localeGetName-     ,localeGetString-     ,localeIsLoaded-     ,localeIsOk-     -- ** Log-     ,logAddTraceMask-     ,logDelete-     ,logDontCreateOnDemand-     ,logFlush-     ,logFlushActive-     ,logGetActiveTarget-     ,logGetTimestamp-     ,logGetTraceMask-     ,logGetVerbose-     ,logHasPendingMessages-     ,logIsAllowedTraceMask-     ,logOnLog-     ,logRemoveTraceMask-     ,logResume-     ,logSetActiveTarget-     ,logSetTimestamp-     ,logSetTraceMask-     ,logSetVerbose-     ,logSuspend-     -- ** LogChain-     ,logChainCreate-     ,logChainDelete-     ,logChainGetOldLog-     ,logChainIsPassingMessages-     ,logChainPassMessages-     ,logChainSetLog-     -- ** LogNull-     ,logNullCreate-     -- ** LogStderr-     ,logStderrCreate-     ,logStderrCreateStdOut-     -- ** LogTextCtrl-     ,logTextCtrlCreate-     -- ** LogWindow-     ,logWindowCreate-     ,logWindowGetFrame-    ) where--import qualified Data.ByteString as B (ByteString, useAsCStringLen)-import qualified Data.ByteString.Lazy as LB (ByteString, length, unpack)-import System.IO.Unsafe( unsafePerformIO )-import Graphics.UI.WXCore.WxcTypes-import Graphics.UI.WXCore.WxcClassTypes--versionWxcClassesAL :: String-versionWxcClassesAL  = "2011-06-15 17:40:03.302826 UTC"---- | usage: (@acceleratorEntryCreate flags keyCode cmd@).-acceleratorEntryCreate :: Int -> Int -> Int ->  IO (AcceleratorEntry  ())-acceleratorEntryCreate flags keyCode cmd -  = withObjectResult $-    wxAcceleratorEntry_Create (toCInt flags)  (toCInt keyCode)  (toCInt cmd)  -foreign import ccall "wxAcceleratorEntry_Create" wxAcceleratorEntry_Create :: CInt -> CInt -> CInt -> IO (Ptr (TAcceleratorEntry ()))---- | usage: (@acceleratorEntryDelete obj@).-acceleratorEntryDelete :: AcceleratorEntry  a ->  IO ()-acceleratorEntryDelete _obj -  = withObjectRef "acceleratorEntryDelete" _obj $ \cobj__obj -> -    wxAcceleratorEntry_Delete cobj__obj  -foreign import ccall "wxAcceleratorEntry_Delete" wxAcceleratorEntry_Delete :: Ptr (TAcceleratorEntry a) -> IO ()---- | usage: (@acceleratorEntryGetCommand obj@).-acceleratorEntryGetCommand :: AcceleratorEntry  a ->  IO Int-acceleratorEntryGetCommand _obj -  = withIntResult $-    withObjectRef "acceleratorEntryGetCommand" _obj $ \cobj__obj -> -    wxAcceleratorEntry_GetCommand cobj__obj  -foreign import ccall "wxAcceleratorEntry_GetCommand" wxAcceleratorEntry_GetCommand :: Ptr (TAcceleratorEntry a) -> IO CInt---- | usage: (@acceleratorEntryGetFlags obj@).-acceleratorEntryGetFlags :: AcceleratorEntry  a ->  IO Int-acceleratorEntryGetFlags _obj -  = withIntResult $-    withObjectRef "acceleratorEntryGetFlags" _obj $ \cobj__obj -> -    wxAcceleratorEntry_GetFlags cobj__obj  -foreign import ccall "wxAcceleratorEntry_GetFlags" wxAcceleratorEntry_GetFlags :: Ptr (TAcceleratorEntry a) -> IO CInt---- | usage: (@acceleratorEntryGetKeyCode obj@).-acceleratorEntryGetKeyCode :: AcceleratorEntry  a ->  IO Int-acceleratorEntryGetKeyCode _obj -  = withIntResult $-    withObjectRef "acceleratorEntryGetKeyCode" _obj $ \cobj__obj -> -    wxAcceleratorEntry_GetKeyCode cobj__obj  -foreign import ccall "wxAcceleratorEntry_GetKeyCode" wxAcceleratorEntry_GetKeyCode :: Ptr (TAcceleratorEntry a) -> IO CInt---- | usage: (@acceleratorEntrySet obj flags keyCode cmd@).-acceleratorEntrySet :: AcceleratorEntry  a -> Int -> Int -> Int ->  IO ()-acceleratorEntrySet _obj flags keyCode cmd -  = withObjectRef "acceleratorEntrySet" _obj $ \cobj__obj -> -    wxAcceleratorEntry_Set cobj__obj  (toCInt flags)  (toCInt keyCode)  (toCInt cmd)  -foreign import ccall "wxAcceleratorEntry_Set" wxAcceleratorEntry_Set :: Ptr (TAcceleratorEntry a) -> CInt -> CInt -> CInt -> IO ()---- | usage: (@acceleratorTableCreate n entries@).-acceleratorTableCreate :: Int -> Ptr  b ->  IO (AcceleratorTable  ())-acceleratorTableCreate n entries -  = withObjectResult $-    wxAcceleratorTable_Create (toCInt n)  entries  -foreign import ccall "wxAcceleratorTable_Create" wxAcceleratorTable_Create :: CInt -> Ptr  b -> IO (Ptr (TAcceleratorTable ()))---- | usage: (@acceleratorTableDelete obj@).-acceleratorTableDelete :: AcceleratorTable  a ->  IO ()-acceleratorTableDelete _obj -  = withObjectRef "acceleratorTableDelete" _obj $ \cobj__obj -> -    wxAcceleratorTable_Delete cobj__obj  -foreign import ccall "wxAcceleratorTable_Delete" wxAcceleratorTable_Delete :: Ptr (TAcceleratorTable a) -> IO ()---- | usage: (@activateEventCopyObject obj obj@).-activateEventCopyObject :: ActivateEvent  a -> Ptr  b ->  IO ()-activateEventCopyObject _obj obj -  = withObjectRef "activateEventCopyObject" _obj $ \cobj__obj -> -    wxActivateEvent_CopyObject cobj__obj  obj  -foreign import ccall "wxActivateEvent_CopyObject" wxActivateEvent_CopyObject :: Ptr (TActivateEvent a) -> Ptr  b -> IO ()---- | usage: (@activateEventGetActive obj@).-activateEventGetActive :: ActivateEvent  a ->  IO Bool-activateEventGetActive _obj -  = withBoolResult $-    withObjectRef "activateEventGetActive" _obj $ \cobj__obj -> -    wxActivateEvent_GetActive cobj__obj  -foreign import ccall "wxActivateEvent_GetActive" wxActivateEvent_GetActive :: Ptr (TActivateEvent a) -> IO CBool---- | usage: (@autoBufferedPaintDCCreate window@).-autoBufferedPaintDCCreate :: Window  a ->  IO (AutoBufferedPaintDC  ())-autoBufferedPaintDCCreate window -  = withObjectResult $-    withObjectPtr window $ \cobj_window -> -    wxAutoBufferedPaintDC_Create cobj_window  -foreign import ccall "wxAutoBufferedPaintDC_Create" wxAutoBufferedPaintDC_Create :: Ptr (TWindow a) -> IO (Ptr (TAutoBufferedPaintDC ()))---- | usage: (@autoBufferedPaintDCDelete self@).-autoBufferedPaintDCDelete :: AutoBufferedPaintDC  a ->  IO ()-autoBufferedPaintDCDelete-  = objectDelete----- | usage: (@bitmapAddHandler handler@).-bitmapAddHandler :: EvtHandler  a ->  IO ()-bitmapAddHandler handler -  = withObjectPtr handler $ \cobj_handler -> -    wxBitmap_AddHandler cobj_handler  -foreign import ccall "wxBitmap_AddHandler" wxBitmap_AddHandler :: Ptr (TEvtHandler a) -> IO ()---- | usage: (@bitmapButtonCreate prt id bmp lfttopwdthgt stl@).-bitmapButtonCreate :: Window  a -> Id -> Bitmap  c -> Rect -> Style ->  IO (BitmapButton  ())-bitmapButtonCreate _prt _id _bmp _lfttopwdthgt _stl -  = withObjectResult $-    withObjectPtr _prt $ \cobj__prt -> -    withObjectPtr _bmp $ \cobj__bmp -> -    wxBitmapButton_Create cobj__prt  (toCInt _id)  cobj__bmp  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  (toCInt _stl)  -foreign import ccall "wxBitmapButton_Create" wxBitmapButton_Create :: Ptr (TWindow a) -> CInt -> Ptr (TBitmap c) -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TBitmapButton ()))---- | usage: (@bitmapButtonGetBitmapDisabled obj@).-bitmapButtonGetBitmapDisabled :: BitmapButton  a ->  IO (Bitmap  ())-bitmapButtonGetBitmapDisabled _obj -  = withRefBitmap $ \pref -> -    withObjectRef "bitmapButtonGetBitmapDisabled" _obj $ \cobj__obj -> -    wxBitmapButton_GetBitmapDisabled cobj__obj   pref-foreign import ccall "wxBitmapButton_GetBitmapDisabled" wxBitmapButton_GetBitmapDisabled :: Ptr (TBitmapButton a) -> Ptr (TBitmap ()) -> IO ()---- | usage: (@bitmapButtonGetBitmapFocus obj@).-bitmapButtonGetBitmapFocus :: BitmapButton  a ->  IO (Bitmap  ())-bitmapButtonGetBitmapFocus _obj -  = withRefBitmap $ \pref -> -    withObjectRef "bitmapButtonGetBitmapFocus" _obj $ \cobj__obj -> -    wxBitmapButton_GetBitmapFocus cobj__obj   pref-foreign import ccall "wxBitmapButton_GetBitmapFocus" wxBitmapButton_GetBitmapFocus :: Ptr (TBitmapButton a) -> Ptr (TBitmap ()) -> IO ()---- | usage: (@bitmapButtonGetBitmapLabel obj@).-bitmapButtonGetBitmapLabel :: BitmapButton  a ->  IO (Bitmap  ())-bitmapButtonGetBitmapLabel _obj -  = withRefBitmap $ \pref -> -    withObjectRef "bitmapButtonGetBitmapLabel" _obj $ \cobj__obj -> -    wxBitmapButton_GetBitmapLabel cobj__obj   pref-foreign import ccall "wxBitmapButton_GetBitmapLabel" wxBitmapButton_GetBitmapLabel :: Ptr (TBitmapButton a) -> Ptr (TBitmap ()) -> IO ()---- | usage: (@bitmapButtonGetBitmapSelected obj@).-bitmapButtonGetBitmapSelected :: BitmapButton  a ->  IO (Bitmap  ())-bitmapButtonGetBitmapSelected _obj -  = withRefBitmap $ \pref -> -    withObjectRef "bitmapButtonGetBitmapSelected" _obj $ \cobj__obj -> -    wxBitmapButton_GetBitmapSelected cobj__obj   pref-foreign import ccall "wxBitmapButton_GetBitmapSelected" wxBitmapButton_GetBitmapSelected :: Ptr (TBitmapButton a) -> Ptr (TBitmap ()) -> IO ()---- | usage: (@bitmapButtonGetMarginX obj@).-bitmapButtonGetMarginX :: BitmapButton  a ->  IO Int-bitmapButtonGetMarginX _obj -  = withIntResult $-    withObjectRef "bitmapButtonGetMarginX" _obj $ \cobj__obj -> -    wxBitmapButton_GetMarginX cobj__obj  -foreign import ccall "wxBitmapButton_GetMarginX" wxBitmapButton_GetMarginX :: Ptr (TBitmapButton a) -> IO CInt---- | usage: (@bitmapButtonGetMarginY obj@).-bitmapButtonGetMarginY :: BitmapButton  a ->  IO Int-bitmapButtonGetMarginY _obj -  = withIntResult $-    withObjectRef "bitmapButtonGetMarginY" _obj $ \cobj__obj -> -    wxBitmapButton_GetMarginY cobj__obj  -foreign import ccall "wxBitmapButton_GetMarginY" wxBitmapButton_GetMarginY :: Ptr (TBitmapButton a) -> IO CInt---- | usage: (@bitmapButtonSetBitmapDisabled obj disabled@).-bitmapButtonSetBitmapDisabled :: BitmapButton  a -> Bitmap  b ->  IO ()-bitmapButtonSetBitmapDisabled _obj disabled -  = withObjectRef "bitmapButtonSetBitmapDisabled" _obj $ \cobj__obj -> -    withObjectPtr disabled $ \cobj_disabled -> -    wxBitmapButton_SetBitmapDisabled cobj__obj  cobj_disabled  -foreign import ccall "wxBitmapButton_SetBitmapDisabled" wxBitmapButton_SetBitmapDisabled :: Ptr (TBitmapButton a) -> Ptr (TBitmap b) -> IO ()---- | usage: (@bitmapButtonSetBitmapFocus obj focus@).-bitmapButtonSetBitmapFocus :: BitmapButton  a -> Bitmap  b ->  IO ()-bitmapButtonSetBitmapFocus _obj focus -  = withObjectRef "bitmapButtonSetBitmapFocus" _obj $ \cobj__obj -> -    withObjectPtr focus $ \cobj_focus -> -    wxBitmapButton_SetBitmapFocus cobj__obj  cobj_focus  -foreign import ccall "wxBitmapButton_SetBitmapFocus" wxBitmapButton_SetBitmapFocus :: Ptr (TBitmapButton a) -> Ptr (TBitmap b) -> IO ()---- | usage: (@bitmapButtonSetBitmapLabel obj bitmap@).-bitmapButtonSetBitmapLabel :: BitmapButton  a -> Bitmap  b ->  IO ()-bitmapButtonSetBitmapLabel _obj bitmap -  = withObjectRef "bitmapButtonSetBitmapLabel" _obj $ \cobj__obj -> -    withObjectPtr bitmap $ \cobj_bitmap -> -    wxBitmapButton_SetBitmapLabel cobj__obj  cobj_bitmap  -foreign import ccall "wxBitmapButton_SetBitmapLabel" wxBitmapButton_SetBitmapLabel :: Ptr (TBitmapButton a) -> Ptr (TBitmap b) -> IO ()---- | usage: (@bitmapButtonSetBitmapSelected obj sel@).-bitmapButtonSetBitmapSelected :: BitmapButton  a -> Bitmap  b ->  IO ()-bitmapButtonSetBitmapSelected _obj sel -  = withObjectRef "bitmapButtonSetBitmapSelected" _obj $ \cobj__obj -> -    withObjectPtr sel $ \cobj_sel -> -    wxBitmapButton_SetBitmapSelected cobj__obj  cobj_sel  -foreign import ccall "wxBitmapButton_SetBitmapSelected" wxBitmapButton_SetBitmapSelected :: Ptr (TBitmapButton a) -> Ptr (TBitmap b) -> IO ()---- | usage: (@bitmapButtonSetMargins obj xy@).-bitmapButtonSetMargins :: BitmapButton  a -> Point ->  IO ()-bitmapButtonSetMargins _obj xy -  = withObjectRef "bitmapButtonSetMargins" _obj $ \cobj__obj -> -    wxBitmapButton_SetMargins cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  -foreign import ccall "wxBitmapButton_SetMargins" wxBitmapButton_SetMargins :: Ptr (TBitmapButton a) -> CInt -> CInt -> IO ()---- | usage: (@bitmapCleanUpHandlers@).-bitmapCleanUpHandlers ::  IO ()-bitmapCleanUpHandlers -  = wxBitmap_CleanUpHandlers -foreign import ccall "wxBitmap_CleanUpHandlers" wxBitmap_CleanUpHandlers :: IO ()---- | usage: (@bitmapCreate wxdata wxtype widthheight depth@).-bitmapCreate :: Ptr  a -> Int -> Size -> Int ->  IO (Bitmap  ())-bitmapCreate _data _type _widthheight _depth -  = withManagedBitmapResult $-    wxBitmap_Create _data  (toCInt _type)  (toCIntSizeW _widthheight) (toCIntSizeH _widthheight)  (toCInt _depth)  -foreign import ccall "wxBitmap_Create" wxBitmap_Create :: Ptr  a -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TBitmap ()))---- | usage: (@bitmapCreateDefault@).-bitmapCreateDefault ::  IO (Bitmap  ())-bitmapCreateDefault -  = withManagedBitmapResult $-    wxBitmap_CreateDefault -foreign import ccall "wxBitmap_CreateDefault" wxBitmap_CreateDefault :: IO (Ptr (TBitmap ()))---- | usage: (@bitmapCreateEmpty widthheight depth@).-bitmapCreateEmpty :: Size -> Int ->  IO (Bitmap  ())-bitmapCreateEmpty _widthheight _depth -  = withManagedBitmapResult $-    wxBitmap_CreateEmpty (toCIntSizeW _widthheight) (toCIntSizeH _widthheight)  (toCInt _depth)  -foreign import ccall "wxBitmap_CreateEmpty" wxBitmap_CreateEmpty :: CInt -> CInt -> CInt -> IO (Ptr (TBitmap ()))---- | usage: (@bitmapCreateFromImage image depth@).-bitmapCreateFromImage :: Image  a -> Int ->  IO (Bitmap  ())-bitmapCreateFromImage image depth -  = withManagedBitmapResult $-    withObjectPtr image $ \cobj_image -> -    wxBitmap_CreateFromImage cobj_image  (toCInt depth)  -foreign import ccall "wxBitmap_CreateFromImage" wxBitmap_CreateFromImage :: Ptr (TImage a) -> CInt -> IO (Ptr (TBitmap ()))---- | usage: (@bitmapCreateFromXPM wxdata@).-bitmapCreateFromXPM :: Bitmap  a ->  IO (Bitmap  ())-bitmapCreateFromXPM wxdata -  = withManagedBitmapResult $-    withObjectRef "bitmapCreateFromXPM" wxdata $ \cobj_wxdata -> -    wxBitmap_CreateFromXPM cobj_wxdata  -foreign import ccall "wxBitmap_CreateFromXPM" wxBitmap_CreateFromXPM :: Ptr (TBitmap a) -> IO (Ptr (TBitmap ()))---- | usage: (@bitmapCreateLoad name wxtype@).-bitmapCreateLoad :: String -> Int ->  IO (Bitmap  ())-bitmapCreateLoad name wxtype -  = withManagedBitmapResult $-    withStringPtr name $ \cobj_name -> -    wxBitmap_CreateLoad cobj_name  (toCInt wxtype)  -foreign import ccall "wxBitmap_CreateLoad" wxBitmap_CreateLoad :: Ptr (TWxString a) -> CInt -> IO (Ptr (TBitmap ()))---- | usage: (@bitmapDataObjectCreate bmp@).-bitmapDataObjectCreate :: Bitmap  a ->  IO (BitmapDataObject  ())-bitmapDataObjectCreate _bmp -  = withObjectResult $-    withObjectPtr _bmp $ \cobj__bmp -> -    wx_BitmapDataObject_Create cobj__bmp  -foreign import ccall "BitmapDataObject_Create" wx_BitmapDataObject_Create :: Ptr (TBitmap a) -> IO (Ptr (TBitmapDataObject ()))---- | usage: (@bitmapDataObjectCreateEmpty@).-bitmapDataObjectCreateEmpty ::  IO (BitmapDataObject  ())-bitmapDataObjectCreateEmpty -  = withObjectResult $-    wx_BitmapDataObject_CreateEmpty -foreign import ccall "BitmapDataObject_CreateEmpty" wx_BitmapDataObject_CreateEmpty :: IO (Ptr (TBitmapDataObject ()))---- | usage: (@bitmapDataObjectDelete obj@).-bitmapDataObjectDelete :: BitmapDataObject  a ->  IO ()-bitmapDataObjectDelete _obj -  = withObjectPtr _obj $ \cobj__obj -> -    wx_BitmapDataObject_Delete cobj__obj  -foreign import ccall "BitmapDataObject_Delete" wx_BitmapDataObject_Delete :: Ptr (TBitmapDataObject a) -> IO ()---- | usage: (@bitmapDataObjectGetBitmap obj@).-bitmapDataObjectGetBitmap :: BitmapDataObject  a ->  IO (Bitmap  ())-bitmapDataObjectGetBitmap _obj -  = withRefBitmap $ \pref -> -    withObjectPtr _obj $ \cobj__obj -> -    wx_BitmapDataObject_GetBitmap cobj__obj   pref-foreign import ccall "BitmapDataObject_GetBitmap" wx_BitmapDataObject_GetBitmap :: Ptr (TBitmapDataObject a) -> Ptr (TBitmap ()) -> IO ()---- | usage: (@bitmapDataObjectSetBitmap obj bmp@).-bitmapDataObjectSetBitmap :: BitmapDataObject  a -> Bitmap  b ->  IO ()-bitmapDataObjectSetBitmap _obj _bmp -  = withObjectPtr _obj $ \cobj__obj -> -    withObjectPtr _bmp $ \cobj__bmp -> -    wx_BitmapDataObject_SetBitmap cobj__obj  cobj__bmp  -foreign import ccall "BitmapDataObject_SetBitmap" wx_BitmapDataObject_SetBitmap :: Ptr (TBitmapDataObject a) -> Ptr (TBitmap b) -> IO ()---- | usage: (@bitmapDelete obj@).-bitmapDelete :: Bitmap  a ->  IO ()-bitmapDelete-  = objectDelete----- | usage: (@bitmapFindHandlerByExtension extension wxtype@).-bitmapFindHandlerByExtension :: Bitmap  a -> Int ->  IO (Ptr  ())-bitmapFindHandlerByExtension extension wxtype -  = withObjectRef "bitmapFindHandlerByExtension" extension $ \cobj_extension -> -    wxBitmap_FindHandlerByExtension cobj_extension  (toCInt wxtype)  -foreign import ccall "wxBitmap_FindHandlerByExtension" wxBitmap_FindHandlerByExtension :: Ptr (TBitmap a) -> CInt -> IO (Ptr  ())---- | usage: (@bitmapFindHandlerByName name@).-bitmapFindHandlerByName :: String ->  IO (Ptr  ())-bitmapFindHandlerByName name -  = withStringPtr name $ \cobj_name -> -    wxBitmap_FindHandlerByName cobj_name  -foreign import ccall "wxBitmap_FindHandlerByName" wxBitmap_FindHandlerByName :: Ptr (TWxString a) -> IO (Ptr  ())---- | usage: (@bitmapFindHandlerByType wxtype@).-bitmapFindHandlerByType :: Int ->  IO (Ptr  ())-bitmapFindHandlerByType wxtype -  = wxBitmap_FindHandlerByType (toCInt wxtype)  -foreign import ccall "wxBitmap_FindHandlerByType" wxBitmap_FindHandlerByType :: CInt -> IO (Ptr  ())---- | usage: (@bitmapGetDepth obj@).-bitmapGetDepth :: Bitmap  a ->  IO Int-bitmapGetDepth _obj -  = withIntResult $-    withObjectRef "bitmapGetDepth" _obj $ \cobj__obj -> -    wxBitmap_GetDepth cobj__obj  -foreign import ccall "wxBitmap_GetDepth" wxBitmap_GetDepth :: Ptr (TBitmap a) -> IO CInt---- | usage: (@bitmapGetHeight obj@).-bitmapGetHeight :: Bitmap  a ->  IO Int-bitmapGetHeight _obj -  = withIntResult $-    withObjectRef "bitmapGetHeight" _obj $ \cobj__obj -> -    wxBitmap_GetHeight cobj__obj  -foreign import ccall "wxBitmap_GetHeight" wxBitmap_GetHeight :: Ptr (TBitmap a) -> IO CInt---- | usage: (@bitmapGetMask obj@).-bitmapGetMask :: Bitmap  a ->  IO (Mask  ())-bitmapGetMask _obj -  = withObjectResult $-    withObjectRef "bitmapGetMask" _obj $ \cobj__obj -> -    wxBitmap_GetMask cobj__obj  -foreign import ccall "wxBitmap_GetMask" wxBitmap_GetMask :: Ptr (TBitmap a) -> IO (Ptr (TMask ()))---- | usage: (@bitmapGetSubBitmap obj xywh@).-bitmapGetSubBitmap :: Bitmap  a -> Rect ->  IO (Bitmap  ())-bitmapGetSubBitmap _obj xywh -  = withRefBitmap $ \pref -> -    withObjectRef "bitmapGetSubBitmap" _obj $ \cobj__obj -> -    wxBitmap_GetSubBitmap cobj__obj  (toCIntRectX xywh) (toCIntRectY xywh)(toCIntRectW xywh) (toCIntRectH xywh)   pref-foreign import ccall "wxBitmap_GetSubBitmap" wxBitmap_GetSubBitmap :: Ptr (TBitmap a) -> CInt -> CInt -> CInt -> CInt -> Ptr (TBitmap ()) -> IO ()---- | usage: (@bitmapGetWidth obj@).-bitmapGetWidth :: Bitmap  a ->  IO Int-bitmapGetWidth _obj -  = withIntResult $-    withObjectRef "bitmapGetWidth" _obj $ \cobj__obj -> -    wxBitmap_GetWidth cobj__obj  -foreign import ccall "wxBitmap_GetWidth" wxBitmap_GetWidth :: Ptr (TBitmap a) -> IO CInt---- | usage: (@bitmapInitStandardHandlers@).-bitmapInitStandardHandlers ::  IO ()-bitmapInitStandardHandlers -  = wxBitmap_InitStandardHandlers -foreign import ccall "wxBitmap_InitStandardHandlers" wxBitmap_InitStandardHandlers :: IO ()---- | usage: (@bitmapInsertHandler handler@).-bitmapInsertHandler :: EvtHandler  a ->  IO ()-bitmapInsertHandler handler -  = withObjectPtr handler $ \cobj_handler -> -    wxBitmap_InsertHandler cobj_handler  -foreign import ccall "wxBitmap_InsertHandler" wxBitmap_InsertHandler :: Ptr (TEvtHandler a) -> IO ()---- | usage: (@bitmapIsOk obj@).-bitmapIsOk :: Bitmap  a ->  IO Bool-bitmapIsOk _obj -  = withBoolResult $-    withObjectRef "bitmapIsOk" _obj $ \cobj__obj -> -    wxBitmap_IsOk cobj__obj  -foreign import ccall "wxBitmap_IsOk" wxBitmap_IsOk :: Ptr (TBitmap a) -> IO CBool---- | usage: (@bitmapIsStatic self@).-bitmapIsStatic :: Bitmap  a ->  IO Bool-bitmapIsStatic self -  = withBoolResult $-    withObjectPtr self $ \cobj_self -> -    wxBitmap_IsStatic cobj_self  -foreign import ccall "wxBitmap_IsStatic" wxBitmap_IsStatic :: Ptr (TBitmap a) -> IO CBool---- | usage: (@bitmapLoadFile obj name wxtype@).-bitmapLoadFile :: Bitmap  a -> String -> Int ->  IO Int-bitmapLoadFile _obj name wxtype -  = withIntResult $-    withObjectRef "bitmapLoadFile" _obj $ \cobj__obj -> -    withStringPtr name $ \cobj_name -> -    wxBitmap_LoadFile cobj__obj  cobj_name  (toCInt wxtype)  -foreign import ccall "wxBitmap_LoadFile" wxBitmap_LoadFile :: Ptr (TBitmap a) -> Ptr (TWxString b) -> CInt -> IO CInt---- | usage: (@bitmapRemoveHandler name@).-bitmapRemoveHandler :: String ->  IO Bool-bitmapRemoveHandler name -  = withBoolResult $-    withStringPtr name $ \cobj_name -> -    wxBitmap_RemoveHandler cobj_name  -foreign import ccall "wxBitmap_RemoveHandler" wxBitmap_RemoveHandler :: Ptr (TWxString a) -> IO CBool---- | usage: (@bitmapSafeDelete self@).-bitmapSafeDelete :: Bitmap  a ->  IO ()-bitmapSafeDelete self -  = withObjectPtr self $ \cobj_self -> -    wxBitmap_SafeDelete cobj_self  -foreign import ccall "wxBitmap_SafeDelete" wxBitmap_SafeDelete :: Ptr (TBitmap a) -> IO ()---- | usage: (@bitmapSaveFile obj name wxtype cmap@).-bitmapSaveFile :: Bitmap  a -> String -> Int -> Palette  d ->  IO Int-bitmapSaveFile _obj name wxtype cmap -  = withIntResult $-    withObjectRef "bitmapSaveFile" _obj $ \cobj__obj -> -    withStringPtr name $ \cobj_name -> -    withObjectPtr cmap $ \cobj_cmap -> -    wxBitmap_SaveFile cobj__obj  cobj_name  (toCInt wxtype)  cobj_cmap  -foreign import ccall "wxBitmap_SaveFile" wxBitmap_SaveFile :: Ptr (TBitmap a) -> Ptr (TWxString b) -> CInt -> Ptr (TPalette d) -> IO CInt---- | usage: (@bitmapSetDepth obj d@).-bitmapSetDepth :: Bitmap  a -> Int ->  IO ()-bitmapSetDepth _obj d -  = withObjectRef "bitmapSetDepth" _obj $ \cobj__obj -> -    wxBitmap_SetDepth cobj__obj  (toCInt d)  -foreign import ccall "wxBitmap_SetDepth" wxBitmap_SetDepth :: Ptr (TBitmap a) -> CInt -> IO ()---- | usage: (@bitmapSetHeight obj h@).-bitmapSetHeight :: Bitmap  a -> Int ->  IO ()-bitmapSetHeight _obj h -  = withObjectRef "bitmapSetHeight" _obj $ \cobj__obj -> -    wxBitmap_SetHeight cobj__obj  (toCInt h)  -foreign import ccall "wxBitmap_SetHeight" wxBitmap_SetHeight :: Ptr (TBitmap a) -> CInt -> IO ()---- | usage: (@bitmapSetMask obj mask@).-bitmapSetMask :: Bitmap  a -> Mask  b ->  IO ()-bitmapSetMask _obj mask -  = withObjectRef "bitmapSetMask" _obj $ \cobj__obj -> -    withObjectPtr mask $ \cobj_mask -> -    wxBitmap_SetMask cobj__obj  cobj_mask  -foreign import ccall "wxBitmap_SetMask" wxBitmap_SetMask :: Ptr (TBitmap a) -> Ptr (TMask b) -> IO ()---- | usage: (@bitmapSetWidth obj w@).-bitmapSetWidth :: Bitmap  a -> Int ->  IO ()-bitmapSetWidth _obj w -  = withObjectRef "bitmapSetWidth" _obj $ \cobj__obj -> -    wxBitmap_SetWidth cobj__obj  (toCInt w)  -foreign import ccall "wxBitmap_SetWidth" wxBitmap_SetWidth :: Ptr (TBitmap a) -> CInt -> IO ()---- | usage: (@boxSizerCalcMin obj@).-boxSizerCalcMin :: BoxSizer  a ->  IO (Size)-boxSizerCalcMin _obj -  = withWxSizeResult $-    withObjectRef "boxSizerCalcMin" _obj $ \cobj__obj -> -    wxBoxSizer_CalcMin cobj__obj  -foreign import ccall "wxBoxSizer_CalcMin" wxBoxSizer_CalcMin :: Ptr (TBoxSizer a) -> IO (Ptr (TWxSize ()))---- | usage: (@boxSizerCreate orient@).-boxSizerCreate :: Int ->  IO (BoxSizer  ())-boxSizerCreate orient -  = withObjectResult $-    wxBoxSizer_Create (toCInt orient)  -foreign import ccall "wxBoxSizer_Create" wxBoxSizer_Create :: CInt -> IO (Ptr (TBoxSizer ()))---- | usage: (@boxSizerGetOrientation obj@).-boxSizerGetOrientation :: BoxSizer  a ->  IO Int-boxSizerGetOrientation _obj -  = withIntResult $-    withObjectRef "boxSizerGetOrientation" _obj $ \cobj__obj -> -    wxBoxSizer_GetOrientation cobj__obj  -foreign import ccall "wxBoxSizer_GetOrientation" wxBoxSizer_GetOrientation :: Ptr (TBoxSizer a) -> IO CInt---- | usage: (@boxSizerRecalcSizes obj@).-boxSizerRecalcSizes :: BoxSizer  a ->  IO ()-boxSizerRecalcSizes _obj -  = withObjectRef "boxSizerRecalcSizes" _obj $ \cobj__obj -> -    wxBoxSizer_RecalcSizes cobj__obj  -foreign import ccall "wxBoxSizer_RecalcSizes" wxBoxSizer_RecalcSizes :: Ptr (TBoxSizer a) -> IO ()---- | usage: (@brushAssign obj brush@).-brushAssign :: Brush  a -> Brush  b ->  IO ()-brushAssign _obj brush -  = withObjectRef "brushAssign" _obj $ \cobj__obj -> -    withObjectPtr brush $ \cobj_brush -> -    wxBrush_Assign cobj__obj  cobj_brush  -foreign import ccall "wxBrush_Assign" wxBrush_Assign :: Ptr (TBrush a) -> Ptr (TBrush b) -> IO ()---- | usage: (@brushCreateDefault@).-brushCreateDefault ::  IO (Brush  ())-brushCreateDefault -  = withManagedBrushResult $-    wxBrush_CreateDefault -foreign import ccall "wxBrush_CreateDefault" wxBrush_CreateDefault :: IO (Ptr (TBrush ()))---- | usage: (@brushCreateFromBitmap bitmap@).-brushCreateFromBitmap :: Bitmap  a ->  IO (Brush  ())-brushCreateFromBitmap bitmap -  = withManagedBrushResult $-    withObjectPtr bitmap $ \cobj_bitmap -> -    wxBrush_CreateFromBitmap cobj_bitmap  -foreign import ccall "wxBrush_CreateFromBitmap" wxBrush_CreateFromBitmap :: Ptr (TBitmap a) -> IO (Ptr (TBrush ()))---- | usage: (@brushCreateFromColour col style@).-brushCreateFromColour :: Color -> Int ->  IO (Brush  ())-brushCreateFromColour col style -  = withManagedBrushResult $-    withColourPtr col $ \cobj_col -> -    wxBrush_CreateFromColour cobj_col  (toCInt style)  -foreign import ccall "wxBrush_CreateFromColour" wxBrush_CreateFromColour :: Ptr (TColour a) -> CInt -> IO (Ptr (TBrush ()))---- | usage: (@brushCreateFromStock id@).-brushCreateFromStock :: Id ->  IO (Brush  ())-brushCreateFromStock id -  = withManagedBrushResult $-    wxBrush_CreateFromStock (toCInt id)  -foreign import ccall "wxBrush_CreateFromStock" wxBrush_CreateFromStock :: CInt -> IO (Ptr (TBrush ()))---- | usage: (@brushDelete obj@).-brushDelete :: Brush  a ->  IO ()-brushDelete-  = objectDelete----- | usage: (@brushGetColour obj@).-brushGetColour :: Brush  a ->  IO (Color)-brushGetColour _obj -  = withRefColour $ \pref -> -    withObjectRef "brushGetColour" _obj $ \cobj__obj -> -    wxBrush_GetColour cobj__obj   pref-foreign import ccall "wxBrush_GetColour" wxBrush_GetColour :: Ptr (TBrush a) -> Ptr (TColour ()) -> IO ()---- | usage: (@brushGetStipple obj@).-brushGetStipple :: Brush  a ->  IO (Bitmap  ())-brushGetStipple _obj -  = withRefBitmap $ \pref -> -    withObjectRef "brushGetStipple" _obj $ \cobj__obj -> -    wxBrush_GetStipple cobj__obj   pref-foreign import ccall "wxBrush_GetStipple" wxBrush_GetStipple :: Ptr (TBrush a) -> Ptr (TBitmap ()) -> IO ()---- | usage: (@brushGetStyle obj@).-brushGetStyle :: Brush  a ->  IO Int-brushGetStyle _obj -  = withIntResult $-    withObjectRef "brushGetStyle" _obj $ \cobj__obj -> -    wxBrush_GetStyle cobj__obj  -foreign import ccall "wxBrush_GetStyle" wxBrush_GetStyle :: Ptr (TBrush a) -> IO CInt---- | usage: (@brushIsEqual obj brush@).-brushIsEqual :: Brush  a -> Brush  b ->  IO Bool-brushIsEqual _obj brush -  = withBoolResult $-    withObjectRef "brushIsEqual" _obj $ \cobj__obj -> -    withObjectPtr brush $ \cobj_brush -> -    wxBrush_IsEqual cobj__obj  cobj_brush  -foreign import ccall "wxBrush_IsEqual" wxBrush_IsEqual :: Ptr (TBrush a) -> Ptr (TBrush b) -> IO CBool---- | usage: (@brushIsOk obj@).-brushIsOk :: Brush  a ->  IO Bool-brushIsOk _obj -  = withBoolResult $-    withObjectRef "brushIsOk" _obj $ \cobj__obj -> -    wxBrush_IsOk cobj__obj  -foreign import ccall "wxBrush_IsOk" wxBrush_IsOk :: Ptr (TBrush a) -> IO CBool---- | usage: (@brushIsStatic self@).-brushIsStatic :: Brush  a ->  IO Bool-brushIsStatic self -  = withBoolResult $-    withObjectPtr self $ \cobj_self -> -    wxBrush_IsStatic cobj_self  -foreign import ccall "wxBrush_IsStatic" wxBrush_IsStatic :: Ptr (TBrush a) -> IO CBool---- | usage: (@brushSafeDelete self@).-brushSafeDelete :: Brush  a ->  IO ()-brushSafeDelete self -  = withObjectPtr self $ \cobj_self -> -    wxBrush_SafeDelete cobj_self  -foreign import ccall "wxBrush_SafeDelete" wxBrush_SafeDelete :: Ptr (TBrush a) -> IO ()---- | usage: (@brushSetColour obj col@).-brushSetColour :: Brush  a -> Color ->  IO ()-brushSetColour _obj col -  = withObjectRef "brushSetColour" _obj $ \cobj__obj -> -    withColourPtr col $ \cobj_col -> -    wxBrush_SetColour cobj__obj  cobj_col  -foreign import ccall "wxBrush_SetColour" wxBrush_SetColour :: Ptr (TBrush a) -> Ptr (TColour b) -> IO ()---- | usage: (@brushSetColourSingle obj r g b@).-brushSetColourSingle :: Brush  a -> Char -> Char -> Char ->  IO ()-brushSetColourSingle _obj r g b -  = withObjectRef "brushSetColourSingle" _obj $ \cobj__obj -> -    wxBrush_SetColourSingle cobj__obj  (toCWchar r)  (toCWchar g)  (toCWchar b)  -foreign import ccall "wxBrush_SetColourSingle" wxBrush_SetColourSingle :: Ptr (TBrush a) -> CWchar -> CWchar -> CWchar -> IO ()---- | usage: (@brushSetStipple obj stipple@).-brushSetStipple :: Brush  a -> Bitmap  b ->  IO ()-brushSetStipple _obj stipple -  = withObjectRef "brushSetStipple" _obj $ \cobj__obj -> -    withObjectPtr stipple $ \cobj_stipple -> -    wxBrush_SetStipple cobj__obj  cobj_stipple  -foreign import ccall "wxBrush_SetStipple" wxBrush_SetStipple :: Ptr (TBrush a) -> Ptr (TBitmap b) -> IO ()---- | usage: (@brushSetStyle obj style@).-brushSetStyle :: Brush  a -> Int ->  IO ()-brushSetStyle _obj style -  = withObjectRef "brushSetStyle" _obj $ \cobj__obj -> -    wxBrush_SetStyle cobj__obj  (toCInt style)  -foreign import ccall "wxBrush_SetStyle" wxBrush_SetStyle :: Ptr (TBrush a) -> CInt -> IO ()---- | usage: (@bufferedDCCreateByDCAndBitmap dc bitmap style@).-bufferedDCCreateByDCAndBitmap :: DC  a -> Bitmap  b -> Int ->  IO (BufferedDC  ())-bufferedDCCreateByDCAndBitmap dc bitmap style -  = withObjectResult $-    withObjectPtr dc $ \cobj_dc -> -    withObjectPtr bitmap $ \cobj_bitmap -> -    wxBufferedDC_CreateByDCAndBitmap cobj_dc  cobj_bitmap  (toCInt style)  -foreign import ccall "wxBufferedDC_CreateByDCAndBitmap" wxBufferedDC_CreateByDCAndBitmap :: Ptr (TDC a) -> Ptr (TBitmap b) -> CInt -> IO (Ptr (TBufferedDC ()))---- | usage: (@bufferedDCCreateByDCAndSize dc widthhight style@).-bufferedDCCreateByDCAndSize :: DC  a -> Size -> Int ->  IO (BufferedDC  ())-bufferedDCCreateByDCAndSize dc widthhight style -  = withObjectResult $-    withObjectPtr dc $ \cobj_dc -> -    wxBufferedDC_CreateByDCAndSize cobj_dc  (toCIntSizeW widthhight) (toCIntSizeH widthhight)  (toCInt style)  -foreign import ccall "wxBufferedDC_CreateByDCAndSize" wxBufferedDC_CreateByDCAndSize :: Ptr (TDC a) -> CInt -> CInt -> CInt -> IO (Ptr (TBufferedDC ()))---- | usage: (@bufferedDCDelete self@).-bufferedDCDelete :: BufferedDC  a ->  IO ()-bufferedDCDelete-  = objectDelete----- | usage: (@bufferedPaintDCCreate window style@).-bufferedPaintDCCreate :: Window  a -> Int ->  IO (BufferedPaintDC  ())-bufferedPaintDCCreate window style -  = withObjectResult $-    withObjectPtr window $ \cobj_window -> -    wxBufferedPaintDC_Create cobj_window  (toCInt style)  -foreign import ccall "wxBufferedPaintDC_Create" wxBufferedPaintDC_Create :: Ptr (TWindow a) -> CInt -> IO (Ptr (TBufferedPaintDC ()))---- | usage: (@bufferedPaintDCCreateWithBitmap window bitmap style@).-bufferedPaintDCCreateWithBitmap :: Window  a -> Bitmap  b -> Int ->  IO (BufferedPaintDC  ())-bufferedPaintDCCreateWithBitmap window bitmap style -  = withObjectResult $-    withObjectPtr window $ \cobj_window -> -    withObjectPtr bitmap $ \cobj_bitmap -> -    wxBufferedPaintDC_CreateWithBitmap cobj_window  cobj_bitmap  (toCInt style)  -foreign import ccall "wxBufferedPaintDC_CreateWithBitmap" wxBufferedPaintDC_CreateWithBitmap :: Ptr (TWindow a) -> Ptr (TBitmap b) -> CInt -> IO (Ptr (TBufferedPaintDC ()))---- | usage: (@bufferedPaintDCDelete self@).-bufferedPaintDCDelete :: BufferedPaintDC  a ->  IO ()-bufferedPaintDCDelete-  = objectDelete----- | usage: (@busyCursorCreate@).-busyCursorCreate ::  IO (BusyCursor  ())-busyCursorCreate -  = withObjectResult $-    wxBusyCursor_Create -foreign import ccall "wxBusyCursor_Create" wxBusyCursor_Create :: IO (Ptr (TBusyCursor ()))---- | usage: (@busyCursorCreateWithCursor cur@).-busyCursorCreateWithCursor :: BusyCursor  a ->  IO (Ptr  ())-busyCursorCreateWithCursor _cur -  = withObjectRef "busyCursorCreateWithCursor" _cur $ \cobj__cur -> -    wxBusyCursor_CreateWithCursor cobj__cur  -foreign import ccall "wxBusyCursor_CreateWithCursor" wxBusyCursor_CreateWithCursor :: Ptr (TBusyCursor a) -> IO (Ptr  ())---- | usage: (@busyCursorDelete obj@).-busyCursorDelete :: BusyCursor  a ->  IO ()-busyCursorDelete _obj -  = withObjectRef "busyCursorDelete" _obj $ \cobj__obj -> -    wxBusyCursor_Delete cobj__obj  -foreign import ccall "wxBusyCursor_Delete" wxBusyCursor_Delete :: Ptr (TBusyCursor a) -> IO ()---- | usage: (@busyInfoCreate txt@).-busyInfoCreate :: String ->  IO (BusyInfo  ())-busyInfoCreate _txt -  = withObjectResult $-    withStringPtr _txt $ \cobj__txt -> -    wxBusyInfo_Create cobj__txt  -foreign import ccall "wxBusyInfo_Create" wxBusyInfo_Create :: Ptr (TWxString a) -> IO (Ptr (TBusyInfo ()))---- | usage: (@busyInfoDelete obj@).-busyInfoDelete :: BusyInfo  a ->  IO ()-busyInfoDelete _obj -  = withObjectRef "busyInfoDelete" _obj $ \cobj__obj -> -    wxBusyInfo_Delete cobj__obj  -foreign import ccall "wxBusyInfo_Delete" wxBusyInfo_Delete :: Ptr (TBusyInfo a) -> IO ()---- | usage: (@buttonCreate prt id txt lfttopwdthgt stl@).-buttonCreate :: Window  a -> Id -> String -> Rect -> Style ->  IO (Button  ())-buttonCreate _prt _id _txt _lfttopwdthgt _stl -  = withObjectResult $-    withObjectPtr _prt $ \cobj__prt -> -    withStringPtr _txt $ \cobj__txt -> -    wxButton_Create cobj__prt  (toCInt _id)  cobj__txt  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  (toCInt _stl)  -foreign import ccall "wxButton_Create" wxButton_Create :: Ptr (TWindow a) -> CInt -> Ptr (TWxString c) -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TButton ()))---- | usage: (@buttonSetBackgroundColour obj colour@).-buttonSetBackgroundColour :: Button  a -> Color ->  IO Int-buttonSetBackgroundColour _obj colour -  = withIntResult $-    withObjectRef "buttonSetBackgroundColour" _obj $ \cobj__obj -> -    withColourPtr colour $ \cobj_colour -> -    wxButton_SetBackgroundColour cobj__obj  cobj_colour  -foreign import ccall "wxButton_SetBackgroundColour" wxButton_SetBackgroundColour :: Ptr (TButton a) -> Ptr (TColour b) -> IO CInt---- | usage: (@buttonSetDefault obj@).-buttonSetDefault :: Button  a ->  IO ()-buttonSetDefault _obj -  = withObjectRef "buttonSetDefault" _obj $ \cobj__obj -> -    wxButton_SetDefault cobj__obj  -foreign import ccall "wxButton_SetDefault" wxButton_SetDefault :: Ptr (TButton a) -> IO ()---- | usage: (@cFree ptr@).-cFree :: Ptr  a ->  IO ()-cFree _ptr -  = wx_wxCFree _ptr  -foreign import ccall "wxCFree" wx_wxCFree :: Ptr  a -> IO ()---- | usage: (@calculateLayoutEventCreate id@).-calculateLayoutEventCreate :: Id ->  IO (CalculateLayoutEvent  ())-calculateLayoutEventCreate id -  = withObjectResult $-    wxCalculateLayoutEvent_Create (toCInt id)  -foreign import ccall "wxCalculateLayoutEvent_Create" wxCalculateLayoutEvent_Create :: CInt -> IO (Ptr (TCalculateLayoutEvent ()))---- | usage: (@calculateLayoutEventGetFlags obj@).-calculateLayoutEventGetFlags :: CalculateLayoutEvent  a ->  IO Int-calculateLayoutEventGetFlags _obj -  = withIntResult $-    withObjectRef "calculateLayoutEventGetFlags" _obj $ \cobj__obj -> -    wxCalculateLayoutEvent_GetFlags cobj__obj  -foreign import ccall "wxCalculateLayoutEvent_GetFlags" wxCalculateLayoutEvent_GetFlags :: Ptr (TCalculateLayoutEvent a) -> IO CInt---- | usage: (@calculateLayoutEventGetRect obj@).-calculateLayoutEventGetRect :: CalculateLayoutEvent  a ->  IO (Rect)-calculateLayoutEventGetRect _obj -  = withWxRectResult $-    withObjectRef "calculateLayoutEventGetRect" _obj $ \cobj__obj -> -    wxCalculateLayoutEvent_GetRect cobj__obj  -foreign import ccall "wxCalculateLayoutEvent_GetRect" wxCalculateLayoutEvent_GetRect :: Ptr (TCalculateLayoutEvent a) -> IO (Ptr (TWxRect ()))---- | usage: (@calculateLayoutEventSetFlags obj flags@).-calculateLayoutEventSetFlags :: CalculateLayoutEvent  a -> Int ->  IO ()-calculateLayoutEventSetFlags _obj flags -  = withObjectRef "calculateLayoutEventSetFlags" _obj $ \cobj__obj -> -    wxCalculateLayoutEvent_SetFlags cobj__obj  (toCInt flags)  -foreign import ccall "wxCalculateLayoutEvent_SetFlags" wxCalculateLayoutEvent_SetFlags :: Ptr (TCalculateLayoutEvent a) -> CInt -> IO ()---- | usage: (@calculateLayoutEventSetRect obj xywh@).-calculateLayoutEventSetRect :: CalculateLayoutEvent  a -> Rect ->  IO ()-calculateLayoutEventSetRect _obj xywh -  = withObjectRef "calculateLayoutEventSetRect" _obj $ \cobj__obj -> -    wxCalculateLayoutEvent_SetRect cobj__obj  (toCIntRectX xywh) (toCIntRectY xywh)(toCIntRectW xywh) (toCIntRectH xywh)  -foreign import ccall "wxCalculateLayoutEvent_SetRect" wxCalculateLayoutEvent_SetRect :: Ptr (TCalculateLayoutEvent a) -> CInt -> CInt -> CInt -> CInt -> IO ()---- | usage: (@calendarCtrlCreate prt id dat lfttopwdthgt stl@).-calendarCtrlCreate :: Window  a -> Id -> DateTime  c -> Rect -> Style ->  IO (CalendarCtrl  ())-calendarCtrlCreate _prt _id _dat _lfttopwdthgt _stl -  = withObjectResult $-    withObjectPtr _prt $ \cobj__prt -> -    withObjectPtr _dat $ \cobj__dat -> -    wxCalendarCtrl_Create cobj__prt  (toCInt _id)  cobj__dat  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  (toCInt _stl)  -foreign import ccall "wxCalendarCtrl_Create" wxCalendarCtrl_Create :: Ptr (TWindow a) -> CInt -> Ptr (TDateTime c) -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TCalendarCtrl ()))---- | usage: (@calendarCtrlEnableHolidayDisplay obj display@).-calendarCtrlEnableHolidayDisplay :: CalendarCtrl  a -> Int ->  IO ()-calendarCtrlEnableHolidayDisplay _obj display -  = withObjectRef "calendarCtrlEnableHolidayDisplay" _obj $ \cobj__obj -> -    wxCalendarCtrl_EnableHolidayDisplay cobj__obj  (toCInt display)  -foreign import ccall "wxCalendarCtrl_EnableHolidayDisplay" wxCalendarCtrl_EnableHolidayDisplay :: Ptr (TCalendarCtrl a) -> CInt -> IO ()---- | usage: (@calendarCtrlEnableMonthChange obj enable@).-calendarCtrlEnableMonthChange :: CalendarCtrl  a -> Bool ->  IO ()-calendarCtrlEnableMonthChange _obj enable -  = withObjectRef "calendarCtrlEnableMonthChange" _obj $ \cobj__obj -> -    wxCalendarCtrl_EnableMonthChange cobj__obj  (toCBool enable)  -foreign import ccall "wxCalendarCtrl_EnableMonthChange" wxCalendarCtrl_EnableMonthChange :: Ptr (TCalendarCtrl a) -> CBool -> IO ()---- | usage: (@calendarCtrlEnableYearChange obj enable@).-calendarCtrlEnableYearChange :: CalendarCtrl  a -> Bool ->  IO ()-calendarCtrlEnableYearChange _obj enable -  = withObjectRef "calendarCtrlEnableYearChange" _obj $ \cobj__obj -> -    wxCalendarCtrl_EnableYearChange cobj__obj  (toCBool enable)  -foreign import ccall "wxCalendarCtrl_EnableYearChange" wxCalendarCtrl_EnableYearChange :: Ptr (TCalendarCtrl a) -> CBool -> IO ()---- | usage: (@calendarCtrlGetAttr obj day@).-calendarCtrlGetAttr :: CalendarCtrl  a -> Int ->  IO (Ptr  ())-calendarCtrlGetAttr _obj day -  = withObjectRef "calendarCtrlGetAttr" _obj $ \cobj__obj -> -    wxCalendarCtrl_GetAttr cobj__obj  (toCInt day)  -foreign import ccall "wxCalendarCtrl_GetAttr" wxCalendarCtrl_GetAttr :: Ptr (TCalendarCtrl a) -> CInt -> IO (Ptr  ())---- | usage: (@calendarCtrlGetDate obj date@).-calendarCtrlGetDate :: CalendarCtrl  a -> Ptr  b ->  IO ()-calendarCtrlGetDate _obj date -  = withObjectRef "calendarCtrlGetDate" _obj $ \cobj__obj -> -    wxCalendarCtrl_GetDate cobj__obj  date  -foreign import ccall "wxCalendarCtrl_GetDate" wxCalendarCtrl_GetDate :: Ptr (TCalendarCtrl a) -> Ptr  b -> IO ()---- | usage: (@calendarCtrlGetHeaderColourBg obj@).-calendarCtrlGetHeaderColourBg :: CalendarCtrl  a ->  IO (Color)-calendarCtrlGetHeaderColourBg _obj -  = withRefColour $ \pref -> -    withObjectRef "calendarCtrlGetHeaderColourBg" _obj $ \cobj__obj -> -    wxCalendarCtrl_GetHeaderColourBg cobj__obj   pref-foreign import ccall "wxCalendarCtrl_GetHeaderColourBg" wxCalendarCtrl_GetHeaderColourBg :: Ptr (TCalendarCtrl a) -> Ptr (TColour ()) -> IO ()---- | usage: (@calendarCtrlGetHeaderColourFg obj@).-calendarCtrlGetHeaderColourFg :: CalendarCtrl  a ->  IO (Color)-calendarCtrlGetHeaderColourFg _obj -  = withRefColour $ \pref -> -    withObjectRef "calendarCtrlGetHeaderColourFg" _obj $ \cobj__obj -> -    wxCalendarCtrl_GetHeaderColourFg cobj__obj   pref-foreign import ccall "wxCalendarCtrl_GetHeaderColourFg" wxCalendarCtrl_GetHeaderColourFg :: Ptr (TCalendarCtrl a) -> Ptr (TColour ()) -> IO ()---- | usage: (@calendarCtrlGetHighlightColourBg obj@).-calendarCtrlGetHighlightColourBg :: CalendarCtrl  a ->  IO (Color)-calendarCtrlGetHighlightColourBg _obj -  = withRefColour $ \pref -> -    withObjectRef "calendarCtrlGetHighlightColourBg" _obj $ \cobj__obj -> -    wxCalendarCtrl_GetHighlightColourBg cobj__obj   pref-foreign import ccall "wxCalendarCtrl_GetHighlightColourBg" wxCalendarCtrl_GetHighlightColourBg :: Ptr (TCalendarCtrl a) -> Ptr (TColour ()) -> IO ()---- | usage: (@calendarCtrlGetHighlightColourFg obj@).-calendarCtrlGetHighlightColourFg :: CalendarCtrl  a ->  IO (Color)-calendarCtrlGetHighlightColourFg _obj -  = withRefColour $ \pref -> -    withObjectRef "calendarCtrlGetHighlightColourFg" _obj $ \cobj__obj -> -    wxCalendarCtrl_GetHighlightColourFg cobj__obj   pref-foreign import ccall "wxCalendarCtrl_GetHighlightColourFg" wxCalendarCtrl_GetHighlightColourFg :: Ptr (TCalendarCtrl a) -> Ptr (TColour ()) -> IO ()---- | usage: (@calendarCtrlGetHolidayColourBg obj@).-calendarCtrlGetHolidayColourBg :: CalendarCtrl  a ->  IO (Color)-calendarCtrlGetHolidayColourBg _obj -  = withRefColour $ \pref -> -    withObjectRef "calendarCtrlGetHolidayColourBg" _obj $ \cobj__obj -> -    wxCalendarCtrl_GetHolidayColourBg cobj__obj   pref-foreign import ccall "wxCalendarCtrl_GetHolidayColourBg" wxCalendarCtrl_GetHolidayColourBg :: Ptr (TCalendarCtrl a) -> Ptr (TColour ()) -> IO ()---- | usage: (@calendarCtrlGetHolidayColourFg obj@).-calendarCtrlGetHolidayColourFg :: CalendarCtrl  a ->  IO (Color)-calendarCtrlGetHolidayColourFg _obj -  = withRefColour $ \pref -> -    withObjectRef "calendarCtrlGetHolidayColourFg" _obj $ \cobj__obj -> -    wxCalendarCtrl_GetHolidayColourFg cobj__obj   pref-foreign import ccall "wxCalendarCtrl_GetHolidayColourFg" wxCalendarCtrl_GetHolidayColourFg :: Ptr (TCalendarCtrl a) -> Ptr (TColour ()) -> IO ()---- | usage: (@calendarCtrlHitTest obj xy date wd@).-calendarCtrlHitTest :: CalendarCtrl  a -> Point -> Ptr  c -> Ptr  d ->  IO Int-calendarCtrlHitTest _obj xy date wd -  = withIntResult $-    withObjectRef "calendarCtrlHitTest" _obj $ \cobj__obj -> -    wxCalendarCtrl_HitTest cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  date  wd  -foreign import ccall "wxCalendarCtrl_HitTest" wxCalendarCtrl_HitTest :: Ptr (TCalendarCtrl a) -> CInt -> CInt -> Ptr  c -> Ptr  d -> IO CInt---- | usage: (@calendarCtrlResetAttr obj day@).-calendarCtrlResetAttr :: CalendarCtrl  a -> Int ->  IO ()-calendarCtrlResetAttr _obj day -  = withObjectRef "calendarCtrlResetAttr" _obj $ \cobj__obj -> -    wxCalendarCtrl_ResetAttr cobj__obj  (toCInt day)  -foreign import ccall "wxCalendarCtrl_ResetAttr" wxCalendarCtrl_ResetAttr :: Ptr (TCalendarCtrl a) -> CInt -> IO ()---- | usage: (@calendarCtrlSetAttr obj day attr@).-calendarCtrlSetAttr :: CalendarCtrl  a -> Int -> Ptr  c ->  IO ()-calendarCtrlSetAttr _obj day attr -  = withObjectRef "calendarCtrlSetAttr" _obj $ \cobj__obj -> -    wxCalendarCtrl_SetAttr cobj__obj  (toCInt day)  attr  -foreign import ccall "wxCalendarCtrl_SetAttr" wxCalendarCtrl_SetAttr :: Ptr (TCalendarCtrl a) -> CInt -> Ptr  c -> IO ()---- | usage: (@calendarCtrlSetDate obj date@).-calendarCtrlSetDate :: CalendarCtrl  a -> Ptr  b ->  IO ()-calendarCtrlSetDate _obj date -  = withObjectRef "calendarCtrlSetDate" _obj $ \cobj__obj -> -    wxCalendarCtrl_SetDate cobj__obj  date  -foreign import ccall "wxCalendarCtrl_SetDate" wxCalendarCtrl_SetDate :: Ptr (TCalendarCtrl a) -> Ptr  b -> IO ()---- | usage: (@calendarCtrlSetHeaderColours obj colFg colBg@).-calendarCtrlSetHeaderColours :: CalendarCtrl  a -> Ptr  b -> Ptr  c ->  IO ()-calendarCtrlSetHeaderColours _obj colFg colBg -  = withObjectRef "calendarCtrlSetHeaderColours" _obj $ \cobj__obj -> -    wxCalendarCtrl_SetHeaderColours cobj__obj  colFg  colBg  -foreign import ccall "wxCalendarCtrl_SetHeaderColours" wxCalendarCtrl_SetHeaderColours :: Ptr (TCalendarCtrl a) -> Ptr  b -> Ptr  c -> IO ()---- | usage: (@calendarCtrlSetHighlightColours obj colFg colBg@).-calendarCtrlSetHighlightColours :: CalendarCtrl  a -> Ptr  b -> Ptr  c ->  IO ()-calendarCtrlSetHighlightColours _obj colFg colBg -  = withObjectRef "calendarCtrlSetHighlightColours" _obj $ \cobj__obj -> -    wxCalendarCtrl_SetHighlightColours cobj__obj  colFg  colBg  -foreign import ccall "wxCalendarCtrl_SetHighlightColours" wxCalendarCtrl_SetHighlightColours :: Ptr (TCalendarCtrl a) -> Ptr  b -> Ptr  c -> IO ()---- | usage: (@calendarCtrlSetHoliday obj day@).-calendarCtrlSetHoliday :: CalendarCtrl  a -> Int ->  IO ()-calendarCtrlSetHoliday _obj day -  = withObjectRef "calendarCtrlSetHoliday" _obj $ \cobj__obj -> -    wxCalendarCtrl_SetHoliday cobj__obj  (toCInt day)  -foreign import ccall "wxCalendarCtrl_SetHoliday" wxCalendarCtrl_SetHoliday :: Ptr (TCalendarCtrl a) -> CInt -> IO ()---- | usage: (@calendarCtrlSetHolidayColours obj colFg colBg@).-calendarCtrlSetHolidayColours :: CalendarCtrl  a -> Ptr  b -> Ptr  c ->  IO ()-calendarCtrlSetHolidayColours _obj colFg colBg -  = withObjectRef "calendarCtrlSetHolidayColours" _obj $ \cobj__obj -> -    wxCalendarCtrl_SetHolidayColours cobj__obj  colFg  colBg  -foreign import ccall "wxCalendarCtrl_SetHolidayColours" wxCalendarCtrl_SetHolidayColours :: Ptr (TCalendarCtrl a) -> Ptr  b -> Ptr  c -> IO ()---- | usage: (@calendarDateAttrCreate ctxt cbck cbrd fnt brd@).-calendarDateAttrCreate :: Ptr  a -> Ptr  b -> Ptr  c -> Ptr  d -> Int ->  IO (CalendarDateAttr  ())-calendarDateAttrCreate _ctxt _cbck _cbrd _fnt _brd -  = withObjectResult $-    wxCalendarDateAttr_Create _ctxt  _cbck  _cbrd  _fnt  (toCInt _brd)  -foreign import ccall "wxCalendarDateAttr_Create" wxCalendarDateAttr_Create :: Ptr  a -> Ptr  b -> Ptr  c -> Ptr  d -> CInt -> IO (Ptr (TCalendarDateAttr ()))---- | usage: (@calendarDateAttrCreateDefault@).-calendarDateAttrCreateDefault ::  IO (CalendarDateAttr  ())-calendarDateAttrCreateDefault -  = withObjectResult $-    wxCalendarDateAttr_CreateDefault -foreign import ccall "wxCalendarDateAttr_CreateDefault" wxCalendarDateAttr_CreateDefault :: IO (Ptr (TCalendarDateAttr ()))---- | usage: (@calendarDateAttrDelete obj@).-calendarDateAttrDelete :: CalendarDateAttr  a ->  IO ()-calendarDateAttrDelete _obj -  = withObjectRef "calendarDateAttrDelete" _obj $ \cobj__obj -> -    wxCalendarDateAttr_Delete cobj__obj  -foreign import ccall "wxCalendarDateAttr_Delete" wxCalendarDateAttr_Delete :: Ptr (TCalendarDateAttr a) -> IO ()---- | usage: (@calendarDateAttrGetBackgroundColour obj@).-calendarDateAttrGetBackgroundColour :: CalendarDateAttr  a ->  IO (Color)-calendarDateAttrGetBackgroundColour _obj -  = withRefColour $ \pref -> -    withObjectRef "calendarDateAttrGetBackgroundColour" _obj $ \cobj__obj -> -    wxCalendarDateAttr_GetBackgroundColour cobj__obj   pref-foreign import ccall "wxCalendarDateAttr_GetBackgroundColour" wxCalendarDateAttr_GetBackgroundColour :: Ptr (TCalendarDateAttr a) -> Ptr (TColour ()) -> IO ()---- | usage: (@calendarDateAttrGetBorder obj@).-calendarDateAttrGetBorder :: CalendarDateAttr  a ->  IO Int-calendarDateAttrGetBorder _obj -  = withIntResult $-    withObjectRef "calendarDateAttrGetBorder" _obj $ \cobj__obj -> -    wxCalendarDateAttr_GetBorder cobj__obj  -foreign import ccall "wxCalendarDateAttr_GetBorder" wxCalendarDateAttr_GetBorder :: Ptr (TCalendarDateAttr a) -> IO CInt---- | usage: (@calendarDateAttrGetBorderColour obj@).-calendarDateAttrGetBorderColour :: CalendarDateAttr  a ->  IO (Color)-calendarDateAttrGetBorderColour _obj -  = withRefColour $ \pref -> -    withObjectRef "calendarDateAttrGetBorderColour" _obj $ \cobj__obj -> -    wxCalendarDateAttr_GetBorderColour cobj__obj   pref-foreign import ccall "wxCalendarDateAttr_GetBorderColour" wxCalendarDateAttr_GetBorderColour :: Ptr (TCalendarDateAttr a) -> Ptr (TColour ()) -> IO ()---- | usage: (@calendarDateAttrGetFont obj@).-calendarDateAttrGetFont :: CalendarDateAttr  a ->  IO (Font  ())-calendarDateAttrGetFont _obj -  = withRefFont $ \pref -> -    withObjectRef "calendarDateAttrGetFont" _obj $ \cobj__obj -> -    wxCalendarDateAttr_GetFont cobj__obj   pref-foreign import ccall "wxCalendarDateAttr_GetFont" wxCalendarDateAttr_GetFont :: Ptr (TCalendarDateAttr a) -> Ptr (TFont ()) -> IO ()---- | usage: (@calendarDateAttrGetTextColour obj@).-calendarDateAttrGetTextColour :: CalendarDateAttr  a ->  IO (Color)-calendarDateAttrGetTextColour _obj -  = withRefColour $ \pref -> -    withObjectRef "calendarDateAttrGetTextColour" _obj $ \cobj__obj -> -    wxCalendarDateAttr_GetTextColour cobj__obj   pref-foreign import ccall "wxCalendarDateAttr_GetTextColour" wxCalendarDateAttr_GetTextColour :: Ptr (TCalendarDateAttr a) -> Ptr (TColour ()) -> IO ()---- | usage: (@calendarDateAttrHasBackgroundColour obj@).-calendarDateAttrHasBackgroundColour :: CalendarDateAttr  a ->  IO Bool-calendarDateAttrHasBackgroundColour _obj -  = withBoolResult $-    withObjectRef "calendarDateAttrHasBackgroundColour" _obj $ \cobj__obj -> -    wxCalendarDateAttr_HasBackgroundColour cobj__obj  -foreign import ccall "wxCalendarDateAttr_HasBackgroundColour" wxCalendarDateAttr_HasBackgroundColour :: Ptr (TCalendarDateAttr a) -> IO CBool---- | usage: (@calendarDateAttrHasBorder obj@).-calendarDateAttrHasBorder :: CalendarDateAttr  a ->  IO Bool-calendarDateAttrHasBorder _obj -  = withBoolResult $-    withObjectRef "calendarDateAttrHasBorder" _obj $ \cobj__obj -> -    wxCalendarDateAttr_HasBorder cobj__obj  -foreign import ccall "wxCalendarDateAttr_HasBorder" wxCalendarDateAttr_HasBorder :: Ptr (TCalendarDateAttr a) -> IO CBool---- | usage: (@calendarDateAttrHasBorderColour obj@).-calendarDateAttrHasBorderColour :: CalendarDateAttr  a ->  IO Bool-calendarDateAttrHasBorderColour _obj -  = withBoolResult $-    withObjectRef "calendarDateAttrHasBorderColour" _obj $ \cobj__obj -> -    wxCalendarDateAttr_HasBorderColour cobj__obj  -foreign import ccall "wxCalendarDateAttr_HasBorderColour" wxCalendarDateAttr_HasBorderColour :: Ptr (TCalendarDateAttr a) -> IO CBool---- | usage: (@calendarDateAttrHasFont obj@).-calendarDateAttrHasFont :: CalendarDateAttr  a ->  IO Bool-calendarDateAttrHasFont _obj -  = withBoolResult $-    withObjectRef "calendarDateAttrHasFont" _obj $ \cobj__obj -> -    wxCalendarDateAttr_HasFont cobj__obj  -foreign import ccall "wxCalendarDateAttr_HasFont" wxCalendarDateAttr_HasFont :: Ptr (TCalendarDateAttr a) -> IO CBool---- | usage: (@calendarDateAttrHasTextColour obj@).-calendarDateAttrHasTextColour :: CalendarDateAttr  a ->  IO Bool-calendarDateAttrHasTextColour _obj -  = withBoolResult $-    withObjectRef "calendarDateAttrHasTextColour" _obj $ \cobj__obj -> -    wxCalendarDateAttr_HasTextColour cobj__obj  -foreign import ccall "wxCalendarDateAttr_HasTextColour" wxCalendarDateAttr_HasTextColour :: Ptr (TCalendarDateAttr a) -> IO CBool---- | usage: (@calendarDateAttrIsHoliday obj@).-calendarDateAttrIsHoliday :: CalendarDateAttr  a ->  IO Bool-calendarDateAttrIsHoliday _obj -  = withBoolResult $-    withObjectRef "calendarDateAttrIsHoliday" _obj $ \cobj__obj -> -    wxCalendarDateAttr_IsHoliday cobj__obj  -foreign import ccall "wxCalendarDateAttr_IsHoliday" wxCalendarDateAttr_IsHoliday :: Ptr (TCalendarDateAttr a) -> IO CBool---- | usage: (@calendarDateAttrSetBackgroundColour obj col@).-calendarDateAttrSetBackgroundColour :: CalendarDateAttr  a -> Color ->  IO ()-calendarDateAttrSetBackgroundColour _obj col -  = withObjectRef "calendarDateAttrSetBackgroundColour" _obj $ \cobj__obj -> -    withColourPtr col $ \cobj_col -> -    wxCalendarDateAttr_SetBackgroundColour cobj__obj  cobj_col  -foreign import ccall "wxCalendarDateAttr_SetBackgroundColour" wxCalendarDateAttr_SetBackgroundColour :: Ptr (TCalendarDateAttr a) -> Ptr (TColour b) -> IO ()---- | usage: (@calendarDateAttrSetBorder obj border@).-calendarDateAttrSetBorder :: CalendarDateAttr  a -> Int ->  IO ()-calendarDateAttrSetBorder _obj border -  = withObjectRef "calendarDateAttrSetBorder" _obj $ \cobj__obj -> -    wxCalendarDateAttr_SetBorder cobj__obj  (toCInt border)  -foreign import ccall "wxCalendarDateAttr_SetBorder" wxCalendarDateAttr_SetBorder :: Ptr (TCalendarDateAttr a) -> CInt -> IO ()---- | usage: (@calendarDateAttrSetBorderColour obj col@).-calendarDateAttrSetBorderColour :: CalendarDateAttr  a -> Color ->  IO ()-calendarDateAttrSetBorderColour _obj col -  = withObjectRef "calendarDateAttrSetBorderColour" _obj $ \cobj__obj -> -    withColourPtr col $ \cobj_col -> -    wxCalendarDateAttr_SetBorderColour cobj__obj  cobj_col  -foreign import ccall "wxCalendarDateAttr_SetBorderColour" wxCalendarDateAttr_SetBorderColour :: Ptr (TCalendarDateAttr a) -> Ptr (TColour b) -> IO ()---- | usage: (@calendarDateAttrSetFont obj font@).-calendarDateAttrSetFont :: CalendarDateAttr  a -> Font  b ->  IO ()-calendarDateAttrSetFont _obj font -  = withObjectRef "calendarDateAttrSetFont" _obj $ \cobj__obj -> -    withObjectPtr font $ \cobj_font -> -    wxCalendarDateAttr_SetFont cobj__obj  cobj_font  -foreign import ccall "wxCalendarDateAttr_SetFont" wxCalendarDateAttr_SetFont :: Ptr (TCalendarDateAttr a) -> Ptr (TFont b) -> IO ()---- | usage: (@calendarDateAttrSetHoliday obj holiday@).-calendarDateAttrSetHoliday :: CalendarDateAttr  a -> Int ->  IO ()-calendarDateAttrSetHoliday _obj holiday -  = withObjectRef "calendarDateAttrSetHoliday" _obj $ \cobj__obj -> -    wxCalendarDateAttr_SetHoliday cobj__obj  (toCInt holiday)  -foreign import ccall "wxCalendarDateAttr_SetHoliday" wxCalendarDateAttr_SetHoliday :: Ptr (TCalendarDateAttr a) -> CInt -> IO ()---- | usage: (@calendarDateAttrSetTextColour obj col@).-calendarDateAttrSetTextColour :: CalendarDateAttr  a -> Color ->  IO ()-calendarDateAttrSetTextColour _obj col -  = withObjectRef "calendarDateAttrSetTextColour" _obj $ \cobj__obj -> -    withColourPtr col $ \cobj_col -> -    wxCalendarDateAttr_SetTextColour cobj__obj  cobj_col  -foreign import ccall "wxCalendarDateAttr_SetTextColour" wxCalendarDateAttr_SetTextColour :: Ptr (TCalendarDateAttr a) -> Ptr (TColour b) -> IO ()---- | usage: (@calendarEventGetDate obj dte@).-calendarEventGetDate :: CalendarEvent  a -> Ptr  b ->  IO ()-calendarEventGetDate _obj _dte -  = withObjectRef "calendarEventGetDate" _obj $ \cobj__obj -> -    wxCalendarEvent_GetDate cobj__obj  _dte  -foreign import ccall "wxCalendarEvent_GetDate" wxCalendarEvent_GetDate :: Ptr (TCalendarEvent a) -> Ptr  b -> IO ()---- | usage: (@calendarEventGetWeekDay obj@).-calendarEventGetWeekDay :: CalendarEvent  a ->  IO Int-calendarEventGetWeekDay _obj -  = withIntResult $-    withObjectRef "calendarEventGetWeekDay" _obj $ \cobj__obj -> -    wxCalendarEvent_GetWeekDay cobj__obj  -foreign import ccall "wxCalendarEvent_GetWeekDay" wxCalendarEvent_GetWeekDay :: Ptr (TCalendarEvent a) -> IO CInt---- | usage: (@caretCreate wnd wth hgt@).-caretCreate :: Window  a -> Int -> Int ->  IO (Caret  ())-caretCreate _wnd _wth _hgt -  = withObjectResult $-    withObjectPtr _wnd $ \cobj__wnd -> -    wxCaret_Create cobj__wnd  (toCInt _wth)  (toCInt _hgt)  -foreign import ccall "wxCaret_Create" wxCaret_Create :: Ptr (TWindow a) -> CInt -> CInt -> IO (Ptr (TCaret ()))---- | usage: (@caretGetBlinkTime@).-caretGetBlinkTime ::  IO Int-caretGetBlinkTime -  = withIntResult $-    wxCaret_GetBlinkTime -foreign import ccall "wxCaret_GetBlinkTime" wxCaret_GetBlinkTime :: IO CInt---- | usage: (@caretGetPosition obj@).-caretGetPosition :: Caret  a ->  IO (Point)-caretGetPosition _obj -  = withWxPointResult $-    withObjectRef "caretGetPosition" _obj $ \cobj__obj -> -    wxCaret_GetPosition cobj__obj  -foreign import ccall "wxCaret_GetPosition" wxCaret_GetPosition :: Ptr (TCaret a) -> IO (Ptr (TWxPoint ()))---- | usage: (@caretGetSize obj@).-caretGetSize :: Caret  a ->  IO (Size)-caretGetSize _obj -  = withWxSizeResult $-    withObjectRef "caretGetSize" _obj $ \cobj__obj -> -    wxCaret_GetSize cobj__obj  -foreign import ccall "wxCaret_GetSize" wxCaret_GetSize :: Ptr (TCaret a) -> IO (Ptr (TWxSize ()))---- | usage: (@caretGetWindow obj@).-caretGetWindow :: Caret  a ->  IO (Window  ())-caretGetWindow _obj -  = withObjectResult $-    withObjectRef "caretGetWindow" _obj $ \cobj__obj -> -    wxCaret_GetWindow cobj__obj  -foreign import ccall "wxCaret_GetWindow" wxCaret_GetWindow :: Ptr (TCaret a) -> IO (Ptr (TWindow ()))---- | usage: (@caretHide obj@).-caretHide :: Caret  a ->  IO ()-caretHide _obj -  = withObjectRef "caretHide" _obj $ \cobj__obj -> -    wxCaret_Hide cobj__obj  -foreign import ccall "wxCaret_Hide" wxCaret_Hide :: Ptr (TCaret a) -> IO ()---- | usage: (@caretIsOk obj@).-caretIsOk :: Caret  a ->  IO Bool-caretIsOk _obj -  = withBoolResult $-    withObjectRef "caretIsOk" _obj $ \cobj__obj -> -    wxCaret_IsOk cobj__obj  -foreign import ccall "wxCaret_IsOk" wxCaret_IsOk :: Ptr (TCaret a) -> IO CBool---- | usage: (@caretIsVisible obj@).-caretIsVisible :: Caret  a ->  IO Bool-caretIsVisible _obj -  = withBoolResult $-    withObjectRef "caretIsVisible" _obj $ \cobj__obj -> -    wxCaret_IsVisible cobj__obj  -foreign import ccall "wxCaret_IsVisible" wxCaret_IsVisible :: Ptr (TCaret a) -> IO CBool---- | usage: (@caretMove obj xy@).-caretMove :: Caret  a -> Point ->  IO ()-caretMove _obj xy -  = withObjectRef "caretMove" _obj $ \cobj__obj -> -    wxCaret_Move cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  -foreign import ccall "wxCaret_Move" wxCaret_Move :: Ptr (TCaret a) -> CInt -> CInt -> IO ()---- | usage: (@caretSetBlinkTime milliseconds@).-caretSetBlinkTime :: Int ->  IO ()-caretSetBlinkTime milliseconds -  = wxCaret_SetBlinkTime (toCInt milliseconds)  -foreign import ccall "wxCaret_SetBlinkTime" wxCaret_SetBlinkTime :: CInt -> IO ()---- | usage: (@caretSetSize obj widthheight@).-caretSetSize :: Caret  a -> Size ->  IO ()-caretSetSize _obj widthheight -  = withObjectRef "caretSetSize" _obj $ \cobj__obj -> -    wxCaret_SetSize cobj__obj  (toCIntSizeW widthheight) (toCIntSizeH widthheight)  -foreign import ccall "wxCaret_SetSize" wxCaret_SetSize :: Ptr (TCaret a) -> CInt -> CInt -> IO ()---- | usage: (@caretShow obj@).-caretShow :: Caret  a ->  IO ()-caretShow _obj -  = withObjectRef "caretShow" _obj $ \cobj__obj -> -    wxCaret_Show cobj__obj  -foreign import ccall "wxCaret_Show" wxCaret_Show :: Ptr (TCaret a) -> IO ()---- | usage: (@checkBoxCreate prt id txt lfttopwdthgt stl@).-checkBoxCreate :: Window  a -> Id -> String -> Rect -> Style ->  IO (CheckBox  ())-checkBoxCreate _prt _id _txt _lfttopwdthgt _stl -  = withObjectResult $-    withObjectPtr _prt $ \cobj__prt -> -    withStringPtr _txt $ \cobj__txt -> -    wxCheckBox_Create cobj__prt  (toCInt _id)  cobj__txt  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  (toCInt _stl)  -foreign import ccall "wxCheckBox_Create" wxCheckBox_Create :: Ptr (TWindow a) -> CInt -> Ptr (TWxString c) -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TCheckBox ()))---- | usage: (@checkBoxDelete obj@).-checkBoxDelete :: CheckBox  a ->  IO ()-checkBoxDelete-  = objectDelete----- | usage: (@checkBoxGetValue obj@).-checkBoxGetValue :: CheckBox  a ->  IO Bool-checkBoxGetValue _obj -  = withBoolResult $-    withObjectRef "checkBoxGetValue" _obj $ \cobj__obj -> -    wxCheckBox_GetValue cobj__obj  -foreign import ccall "wxCheckBox_GetValue" wxCheckBox_GetValue :: Ptr (TCheckBox a) -> IO CBool---- | usage: (@checkBoxSetValue obj value@).-checkBoxSetValue :: CheckBox  a -> Bool ->  IO ()-checkBoxSetValue _obj value -  = withObjectRef "checkBoxSetValue" _obj $ \cobj__obj -> -    wxCheckBox_SetValue cobj__obj  (toCBool value)  -foreign import ccall "wxCheckBox_SetValue" wxCheckBox_SetValue :: Ptr (TCheckBox a) -> CBool -> IO ()---- | usage: (@checkListBoxCheck obj item check@).-checkListBoxCheck :: CheckListBox  a -> Int -> Bool ->  IO ()-checkListBoxCheck _obj item check -  = withObjectRef "checkListBoxCheck" _obj $ \cobj__obj -> -    wxCheckListBox_Check cobj__obj  (toCInt item)  (toCBool check)  -foreign import ccall "wxCheckListBox_Check" wxCheckListBox_Check :: Ptr (TCheckListBox a) -> CInt -> CBool -> IO ()---- | usage: (@checkListBoxCreate prt id lfttopwdthgt nstr stl@).-checkListBoxCreate :: Window  a -> Id -> Rect -> [String] -> Style ->  IO (CheckListBox  ())-checkListBoxCreate _prt _id _lfttopwdthgt nstr _stl -  = withObjectResult $-    withObjectPtr _prt $ \cobj__prt -> -    withArrayWString nstr $ \carrlen_nstr carr_nstr -> -    wxCheckListBox_Create cobj__prt  (toCInt _id)  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  carrlen_nstr carr_nstr  (toCInt _stl)  -foreign import ccall "wxCheckListBox_Create" wxCheckListBox_Create :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> Ptr (Ptr CWchar) -> CInt -> IO (Ptr (TCheckListBox ()))---- | usage: (@checkListBoxDelete obj@).-checkListBoxDelete :: CheckListBox  a ->  IO ()-checkListBoxDelete-  = objectDelete----- | usage: (@checkListBoxIsChecked obj item@).-checkListBoxIsChecked :: CheckListBox  a -> Int ->  IO Bool-checkListBoxIsChecked _obj item -  = withBoolResult $-    withObjectRef "checkListBoxIsChecked" _obj $ \cobj__obj -> -    wxCheckListBox_IsChecked cobj__obj  (toCInt item)  -foreign import ccall "wxCheckListBox_IsChecked" wxCheckListBox_IsChecked :: Ptr (TCheckListBox a) -> CInt -> IO CBool---- | usage: (@choiceAppend obj item@).-choiceAppend :: Choice  a -> String ->  IO ()-choiceAppend _obj item -  = withObjectRef "choiceAppend" _obj $ \cobj__obj -> -    withStringPtr item $ \cobj_item -> -    wxChoice_Append cobj__obj  cobj_item  -foreign import ccall "wxChoice_Append" wxChoice_Append :: Ptr (TChoice a) -> Ptr (TWxString b) -> IO ()---- | usage: (@choiceClear obj@).-choiceClear :: Choice  a ->  IO ()-choiceClear _obj -  = withObjectRef "choiceClear" _obj $ \cobj__obj -> -    wxChoice_Clear cobj__obj  -foreign import ccall "wxChoice_Clear" wxChoice_Clear :: Ptr (TChoice a) -> IO ()---- | usage: (@choiceCreate prt id lfttopwdthgt nstr stl@).-choiceCreate :: Window  a -> Id -> Rect -> [String] -> Style ->  IO (Choice  ())-choiceCreate _prt _id _lfttopwdthgt nstr _stl -  = withObjectResult $-    withObjectPtr _prt $ \cobj__prt -> -    withArrayWString nstr $ \carrlen_nstr carr_nstr -> -    wxChoice_Create cobj__prt  (toCInt _id)  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  carrlen_nstr carr_nstr  (toCInt _stl)  -foreign import ccall "wxChoice_Create" wxChoice_Create :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> Ptr (Ptr CWchar) -> CInt -> IO (Ptr (TChoice ()))---- | usage: (@choiceDelete obj n@).-choiceDelete :: Choice  a -> Int ->  IO ()-choiceDelete _obj n -  = withObjectRef "choiceDelete" _obj $ \cobj__obj -> -    wxChoice_Delete cobj__obj  (toCInt n)  -foreign import ccall "wxChoice_Delete" wxChoice_Delete :: Ptr (TChoice a) -> CInt -> IO ()---- | usage: (@choiceFindString obj s@).-choiceFindString :: Choice  a -> String ->  IO Int-choiceFindString _obj s -  = withIntResult $-    withObjectRef "choiceFindString" _obj $ \cobj__obj -> -    withStringPtr s $ \cobj_s -> -    wxChoice_FindString cobj__obj  cobj_s  -foreign import ccall "wxChoice_FindString" wxChoice_FindString :: Ptr (TChoice a) -> Ptr (TWxString b) -> IO CInt---- | usage: (@choiceGetCount obj@).-choiceGetCount :: Choice  a ->  IO Int-choiceGetCount _obj -  = withIntResult $-    withObjectRef "choiceGetCount" _obj $ \cobj__obj -> -    wxChoice_GetCount cobj__obj  -foreign import ccall "wxChoice_GetCount" wxChoice_GetCount :: Ptr (TChoice a) -> IO CInt---- | usage: (@choiceGetSelection obj@).-choiceGetSelection :: Choice  a ->  IO Int-choiceGetSelection _obj -  = withIntResult $-    withObjectRef "choiceGetSelection" _obj $ \cobj__obj -> -    wxChoice_GetSelection cobj__obj  -foreign import ccall "wxChoice_GetSelection" wxChoice_GetSelection :: Ptr (TChoice a) -> IO CInt---- | usage: (@choiceGetString obj n@).-choiceGetString :: Choice  a -> Int ->  IO (String)-choiceGetString _obj n -  = withManagedStringResult $-    withObjectRef "choiceGetString" _obj $ \cobj__obj -> -    wxChoice_GetString cobj__obj  (toCInt n)  -foreign import ccall "wxChoice_GetString" wxChoice_GetString :: Ptr (TChoice a) -> CInt -> IO (Ptr (TWxString ()))---- | usage: (@choiceSetSelection obj n@).-choiceSetSelection :: Choice  a -> Int ->  IO ()-choiceSetSelection _obj n -  = withObjectRef "choiceSetSelection" _obj $ \cobj__obj -> -    wxChoice_SetSelection cobj__obj  (toCInt n)  -foreign import ccall "wxChoice_SetSelection" wxChoice_SetSelection :: Ptr (TChoice a) -> CInt -> IO ()---- | usage: (@choiceSetString obj n s@).-choiceSetString :: Choice  a -> Int -> String ->  IO ()-choiceSetString _obj n s -  = withObjectRef "choiceSetString" _obj $ \cobj__obj -> -    withStringPtr s $ \cobj_s -> -    wxChoice_SetString cobj__obj  (toCInt n)  cobj_s  -foreign import ccall "wxChoice_SetString" wxChoice_SetString :: Ptr (TChoice a) -> CInt -> Ptr (TWxString c) -> IO ()---- | usage: (@classInfoCreateClassByName inf@).-classInfoCreateClassByName :: ClassInfo  a ->  IO (Ptr  ())-classInfoCreateClassByName _inf -  = withObjectRef "classInfoCreateClassByName" _inf $ \cobj__inf -> -    wxClassInfo_CreateClassByName cobj__inf  -foreign import ccall "wxClassInfo_CreateClassByName" wxClassInfo_CreateClassByName :: Ptr (TClassInfo a) -> IO (Ptr  ())---- | usage: (@classInfoFindClass txt@).-classInfoFindClass :: String ->  IO (ClassInfo  ())-classInfoFindClass _txt -  = withObjectResult $-    withStringPtr _txt $ \cobj__txt -> -    wxClassInfo_FindClass cobj__txt  -foreign import ccall "wxClassInfo_FindClass" wxClassInfo_FindClass :: Ptr (TWxString a) -> IO (Ptr (TClassInfo ()))---- | usage: (@classInfoGetBaseClassName1 obj@).-classInfoGetBaseClassName1 :: ClassInfo  a ->  IO (String)-classInfoGetBaseClassName1 _obj -  = withManagedStringResult $-    withObjectRef "classInfoGetBaseClassName1" _obj $ \cobj__obj -> -    wxClassInfo_GetBaseClassName1 cobj__obj  -foreign import ccall "wxClassInfo_GetBaseClassName1" wxClassInfo_GetBaseClassName1 :: Ptr (TClassInfo a) -> IO (Ptr (TWxString ()))---- | usage: (@classInfoGetBaseClassName2 obj@).-classInfoGetBaseClassName2 :: ClassInfo  a ->  IO (String)-classInfoGetBaseClassName2 _obj -  = withManagedStringResult $-    withObjectRef "classInfoGetBaseClassName2" _obj $ \cobj__obj -> -    wxClassInfo_GetBaseClassName2 cobj__obj  -foreign import ccall "wxClassInfo_GetBaseClassName2" wxClassInfo_GetBaseClassName2 :: Ptr (TClassInfo a) -> IO (Ptr (TWxString ()))---- | usage: (@classInfoGetClassName inf@).-classInfoGetClassName :: ClassInfo  a ->  IO (Ptr  ())-classInfoGetClassName _inf -  = withObjectRef "classInfoGetClassName" _inf $ \cobj__inf -> -    wxClassInfo_GetClassName cobj__inf  -foreign import ccall "wxClassInfo_GetClassName" wxClassInfo_GetClassName :: Ptr (TClassInfo a) -> IO (Ptr  ())---- | usage: (@classInfoGetClassNameEx obj@).-classInfoGetClassNameEx :: ClassInfo  a ->  IO (String)-classInfoGetClassNameEx _obj -  = withManagedStringResult $-    withObjectRef "classInfoGetClassNameEx" _obj $ \cobj__obj -> -    wxClassInfo_GetClassNameEx cobj__obj  -foreign import ccall "wxClassInfo_GetClassNameEx" wxClassInfo_GetClassNameEx :: Ptr (TClassInfo a) -> IO (Ptr (TWxString ()))---- | usage: (@classInfoGetSize obj@).-classInfoGetSize :: ClassInfo  a ->  IO Int-classInfoGetSize _obj -  = withIntResult $-    withObjectRef "classInfoGetSize" _obj $ \cobj__obj -> -    wxClassInfo_GetSize cobj__obj  -foreign import ccall "wxClassInfo_GetSize" wxClassInfo_GetSize :: Ptr (TClassInfo a) -> IO CInt---- | usage: (@classInfoIsKindOf obj name@).-classInfoIsKindOf :: ClassInfo  a -> String ->  IO Bool-classInfoIsKindOf _obj _name -  = withBoolResult $-    withObjectRef "classInfoIsKindOf" _obj $ \cobj__obj -> -    withStringPtr _name $ \cobj__name -> -    wxClassInfo_IsKindOf cobj__obj  cobj__name  -foreign import ccall "wxClassInfo_IsKindOf" wxClassInfo_IsKindOf :: Ptr (TClassInfo a) -> Ptr (TWxString b) -> IO CBool---- | usage: (@classInfoIsKindOfEx obj classInfo@).-classInfoIsKindOfEx :: ClassInfo  a -> ClassInfo  b ->  IO Bool-classInfoIsKindOfEx _obj classInfo -  = withBoolResult $-    withObjectRef "classInfoIsKindOfEx" _obj $ \cobj__obj -> -    withObjectPtr classInfo $ \cobj_classInfo -> -    wxClassInfo_IsKindOfEx cobj__obj  cobj_classInfo  -foreign import ccall "wxClassInfo_IsKindOfEx" wxClassInfo_IsKindOfEx :: Ptr (TClassInfo a) -> Ptr (TClassInfo b) -> IO CBool---- | usage: (@clientDCCreate win@).-clientDCCreate :: Window  a ->  IO (ClientDC  ())-clientDCCreate win -  = withObjectResult $-    withObjectPtr win $ \cobj_win -> -    wxClientDC_Create cobj_win  -foreign import ccall "wxClientDC_Create" wxClientDC_Create :: Ptr (TWindow a) -> IO (Ptr (TClientDC ()))---- | usage: (@clientDCDelete obj@).-clientDCDelete :: ClientDC  a ->  IO ()-clientDCDelete-  = objectDelete----- | usage: (@clipboardAddData obj wxdata@).-clipboardAddData :: Clipboard  a -> DataObject  b ->  IO Bool-clipboardAddData _obj wxdata -  = withBoolResult $-    withObjectRef "clipboardAddData" _obj $ \cobj__obj -> -    withObjectPtr wxdata $ \cobj_wxdata -> -    wxClipboard_AddData cobj__obj  cobj_wxdata  -foreign import ccall "wxClipboard_AddData" wxClipboard_AddData :: Ptr (TClipboard a) -> Ptr (TDataObject b) -> IO CBool---- | usage: (@clipboardClear obj@).-clipboardClear :: Clipboard  a ->  IO ()-clipboardClear _obj -  = withObjectRef "clipboardClear" _obj $ \cobj__obj -> -    wxClipboard_Clear cobj__obj  -foreign import ccall "wxClipboard_Clear" wxClipboard_Clear :: Ptr (TClipboard a) -> IO ()---- | usage: (@clipboardClose obj@).-clipboardClose :: Clipboard  a ->  IO ()-clipboardClose _obj -  = withObjectRef "clipboardClose" _obj $ \cobj__obj -> -    wxClipboard_Close cobj__obj  -foreign import ccall "wxClipboard_Close" wxClipboard_Close :: Ptr (TClipboard a) -> IO ()---- | usage: (@clipboardCreate@).-clipboardCreate ::  IO (Clipboard  ())-clipboardCreate -  = withObjectResult $-    wxClipboard_Create -foreign import ccall "wxClipboard_Create" wxClipboard_Create :: IO (Ptr (TClipboard ()))---- | usage: (@clipboardFlush obj@).-clipboardFlush :: Clipboard  a ->  IO Bool-clipboardFlush _obj -  = withBoolResult $-    withObjectRef "clipboardFlush" _obj $ \cobj__obj -> -    wxClipboard_Flush cobj__obj  -foreign import ccall "wxClipboard_Flush" wxClipboard_Flush :: Ptr (TClipboard a) -> IO CBool---- | usage: (@clipboardGetData obj wxdata@).-clipboardGetData :: Clipboard  a -> DataObject  b ->  IO Bool-clipboardGetData _obj wxdata -  = withBoolResult $-    withObjectRef "clipboardGetData" _obj $ \cobj__obj -> -    withObjectPtr wxdata $ \cobj_wxdata -> -    wxClipboard_GetData cobj__obj  cobj_wxdata  -foreign import ccall "wxClipboard_GetData" wxClipboard_GetData :: Ptr (TClipboard a) -> Ptr (TDataObject b) -> IO CBool---- | usage: (@clipboardIsOpened obj@).-clipboardIsOpened :: Clipboard  a ->  IO Bool-clipboardIsOpened _obj -  = withBoolResult $-    withObjectRef "clipboardIsOpened" _obj $ \cobj__obj -> -    wxClipboard_IsOpened cobj__obj  -foreign import ccall "wxClipboard_IsOpened" wxClipboard_IsOpened :: Ptr (TClipboard a) -> IO CBool---- | usage: (@clipboardIsSupported obj format@).-clipboardIsSupported :: Clipboard  a -> DataFormat  b ->  IO Bool-clipboardIsSupported _obj format -  = withBoolResult $-    withObjectRef "clipboardIsSupported" _obj $ \cobj__obj -> -    withObjectPtr format $ \cobj_format -> -    wxClipboard_IsSupported cobj__obj  cobj_format  -foreign import ccall "wxClipboard_IsSupported" wxClipboard_IsSupported :: Ptr (TClipboard a) -> Ptr (TDataFormat b) -> IO CBool---- | usage: (@clipboardOpen obj@).-clipboardOpen :: Clipboard  a ->  IO Bool-clipboardOpen _obj -  = withBoolResult $-    withObjectRef "clipboardOpen" _obj $ \cobj__obj -> -    wxClipboard_Open cobj__obj  -foreign import ccall "wxClipboard_Open" wxClipboard_Open :: Ptr (TClipboard a) -> IO CBool---- | usage: (@clipboardSetData obj wxdata@).-clipboardSetData :: Clipboard  a -> DataObject  b ->  IO Bool-clipboardSetData _obj wxdata -  = withBoolResult $-    withObjectRef "clipboardSetData" _obj $ \cobj__obj -> -    withObjectPtr wxdata $ \cobj_wxdata -> -    wxClipboard_SetData cobj__obj  cobj_wxdata  -foreign import ccall "wxClipboard_SetData" wxClipboard_SetData :: Ptr (TClipboard a) -> Ptr (TDataObject b) -> IO CBool---- | usage: (@clipboardUsePrimarySelection obj primary@).-clipboardUsePrimarySelection :: Clipboard  a -> Bool ->  IO ()-clipboardUsePrimarySelection _obj primary -  = withObjectRef "clipboardUsePrimarySelection" _obj $ \cobj__obj -> -    wxClipboard_UsePrimarySelection cobj__obj  (toCBool primary)  -foreign import ccall "wxClipboard_UsePrimarySelection" wxClipboard_UsePrimarySelection :: Ptr (TClipboard a) -> CBool -> IO ()---- | usage: (@closeEventCanVeto obj@).-closeEventCanVeto :: CloseEvent  a ->  IO Bool-closeEventCanVeto _obj -  = withBoolResult $-    withObjectRef "closeEventCanVeto" _obj $ \cobj__obj -> -    wxCloseEvent_CanVeto cobj__obj  -foreign import ccall "wxCloseEvent_CanVeto" wxCloseEvent_CanVeto :: Ptr (TCloseEvent a) -> IO CBool---- | usage: (@closeEventCopyObject obj obj@).-closeEventCopyObject :: CloseEvent  a -> WxObject  b ->  IO ()-closeEventCopyObject _obj obj -  = withObjectRef "closeEventCopyObject" _obj $ \cobj__obj -> -    withObjectPtr obj $ \cobj_obj -> -    wxCloseEvent_CopyObject cobj__obj  cobj_obj  -foreign import ccall "wxCloseEvent_CopyObject" wxCloseEvent_CopyObject :: Ptr (TCloseEvent a) -> Ptr (TWxObject b) -> IO ()---- | usage: (@closeEventGetLoggingOff obj@).-closeEventGetLoggingOff :: CloseEvent  a ->  IO Bool-closeEventGetLoggingOff _obj -  = withBoolResult $-    withObjectRef "closeEventGetLoggingOff" _obj $ \cobj__obj -> -    wxCloseEvent_GetLoggingOff cobj__obj  -foreign import ccall "wxCloseEvent_GetLoggingOff" wxCloseEvent_GetLoggingOff :: Ptr (TCloseEvent a) -> IO CBool---- | usage: (@closeEventGetVeto obj@).-closeEventGetVeto :: CloseEvent  a ->  IO Bool-closeEventGetVeto _obj -  = withBoolResult $-    withObjectRef "closeEventGetVeto" _obj $ \cobj__obj -> -    wxCloseEvent_GetVeto cobj__obj  -foreign import ccall "wxCloseEvent_GetVeto" wxCloseEvent_GetVeto :: Ptr (TCloseEvent a) -> IO CBool---- | usage: (@closeEventSetCanVeto obj canVeto@).-closeEventSetCanVeto :: CloseEvent  a -> Bool ->  IO ()-closeEventSetCanVeto _obj canVeto -  = withObjectRef "closeEventSetCanVeto" _obj $ \cobj__obj -> -    wxCloseEvent_SetCanVeto cobj__obj  (toCBool canVeto)  -foreign import ccall "wxCloseEvent_SetCanVeto" wxCloseEvent_SetCanVeto :: Ptr (TCloseEvent a) -> CBool -> IO ()---- | usage: (@closeEventSetLoggingOff obj logOff@).-closeEventSetLoggingOff :: CloseEvent  a -> Bool ->  IO ()-closeEventSetLoggingOff _obj logOff -  = withObjectRef "closeEventSetLoggingOff" _obj $ \cobj__obj -> -    wxCloseEvent_SetLoggingOff cobj__obj  (toCBool logOff)  -foreign import ccall "wxCloseEvent_SetLoggingOff" wxCloseEvent_SetLoggingOff :: Ptr (TCloseEvent a) -> CBool -> IO ()---- | usage: (@closeEventVeto obj veto@).-closeEventVeto :: CloseEvent  a -> Bool ->  IO ()-closeEventVeto _obj veto -  = withObjectRef "closeEventVeto" _obj $ \cobj__obj -> -    wxCloseEvent_Veto cobj__obj  (toCBool veto)  -foreign import ccall "wxCloseEvent_Veto" wxCloseEvent_Veto :: Ptr (TCloseEvent a) -> CBool -> IO ()---- | usage: (@closureCreate funCEvent wxdata@).-closureCreate :: FunPtr (Ptr fun -> Ptr state -> Ptr (TEvent evt) -> IO ()) -> Ptr  b ->  IO (Closure  ())-closureCreate _funCEvent _data -  = withObjectResult $-    wxClosure_Create (toCFunPtr _funCEvent)  _data  -foreign import ccall "wxClosure_Create" wxClosure_Create :: Ptr (Ptr fun -> Ptr state -> Ptr (TEvent evt) -> IO ()) -> Ptr  b -> IO (Ptr (TClosure ()))---- | usage: (@closureGetData obj@).-closureGetData :: Closure  a ->  IO (Ptr  ())-closureGetData _obj -  = withObjectRef "closureGetData" _obj $ \cobj__obj -> -    wxClosure_GetData cobj__obj  -foreign import ccall "wxClosure_GetData" wxClosure_GetData :: Ptr (TClosure a) -> IO (Ptr  ())---- | usage: (@comboBoxAppend obj item@).-comboBoxAppend :: ComboBox  a -> String ->  IO ()-comboBoxAppend _obj item -  = withObjectRef "comboBoxAppend" _obj $ \cobj__obj -> -    withStringPtr item $ \cobj_item -> -    wxComboBox_Append cobj__obj  cobj_item  -foreign import ccall "wxComboBox_Append" wxComboBox_Append :: Ptr (TComboBox a) -> Ptr (TWxString b) -> IO ()---- | usage: (@comboBoxAppendData obj item d@).-comboBoxAppendData :: ComboBox  a -> String -> Ptr  c ->  IO ()-comboBoxAppendData _obj item d -  = withObjectRef "comboBoxAppendData" _obj $ \cobj__obj -> -    withStringPtr item $ \cobj_item -> -    wxComboBox_AppendData cobj__obj  cobj_item  d  -foreign import ccall "wxComboBox_AppendData" wxComboBox_AppendData :: Ptr (TComboBox a) -> Ptr (TWxString b) -> Ptr  c -> IO ()---- | usage: (@comboBoxClear obj@).-comboBoxClear :: ComboBox  a ->  IO ()-comboBoxClear _obj -  = withObjectRef "comboBoxClear" _obj $ \cobj__obj -> -    wxComboBox_Clear cobj__obj  -foreign import ccall "wxComboBox_Clear" wxComboBox_Clear :: Ptr (TComboBox a) -> IO ()---- | usage: (@comboBoxCopy obj@).-comboBoxCopy :: ComboBox  a ->  IO ()-comboBoxCopy _obj -  = withObjectRef "comboBoxCopy" _obj $ \cobj__obj -> -    wxComboBox_Copy cobj__obj  -foreign import ccall "wxComboBox_Copy" wxComboBox_Copy :: Ptr (TComboBox a) -> IO ()---- | usage: (@comboBoxCreate prt id txt lfttopwdthgt nstr stl@).-comboBoxCreate :: Window  a -> Id -> String -> Rect -> [String] -> Style ->  IO (ComboBox  ())-comboBoxCreate _prt _id _txt _lfttopwdthgt nstr _stl -  = withObjectResult $-    withObjectPtr _prt $ \cobj__prt -> -    withStringPtr _txt $ \cobj__txt -> -    withArrayWString nstr $ \carrlen_nstr carr_nstr -> -    wxComboBox_Create cobj__prt  (toCInt _id)  cobj__txt  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  carrlen_nstr carr_nstr  (toCInt _stl)  -foreign import ccall "wxComboBox_Create" wxComboBox_Create :: Ptr (TWindow a) -> CInt -> Ptr (TWxString c) -> CInt -> CInt -> CInt -> CInt -> CInt -> Ptr (Ptr CWchar) -> CInt -> IO (Ptr (TComboBox ()))---- | usage: (@comboBoxCut obj@).-comboBoxCut :: ComboBox  a ->  IO ()-comboBoxCut _obj -  = withObjectRef "comboBoxCut" _obj $ \cobj__obj -> -    wxComboBox_Cut cobj__obj  -foreign import ccall "wxComboBox_Cut" wxComboBox_Cut :: Ptr (TComboBox a) -> IO ()---- | usage: (@comboBoxDelete obj n@).-comboBoxDelete :: ComboBox  a -> Int ->  IO ()-comboBoxDelete _obj n -  = withObjectRef "comboBoxDelete" _obj $ \cobj__obj -> -    wxComboBox_Delete cobj__obj  (toCInt n)  -foreign import ccall "wxComboBox_Delete" wxComboBox_Delete :: Ptr (TComboBox a) -> CInt -> IO ()---- | usage: (@comboBoxFindString obj s@).-comboBoxFindString :: ComboBox  a -> String ->  IO Int-comboBoxFindString _obj s -  = withIntResult $-    withObjectRef "comboBoxFindString" _obj $ \cobj__obj -> -    withStringPtr s $ \cobj_s -> -    wxComboBox_FindString cobj__obj  cobj_s  -foreign import ccall "wxComboBox_FindString" wxComboBox_FindString :: Ptr (TComboBox a) -> Ptr (TWxString b) -> IO CInt---- | usage: (@comboBoxGetClientData obj n@).-comboBoxGetClientData :: ComboBox  a -> Int ->  IO (ClientData  ())-comboBoxGetClientData _obj n -  = withObjectResult $-    withObjectRef "comboBoxGetClientData" _obj $ \cobj__obj -> -    wxComboBox_GetClientData cobj__obj  (toCInt n)  -foreign import ccall "wxComboBox_GetClientData" wxComboBox_GetClientData :: Ptr (TComboBox a) -> CInt -> IO (Ptr (TClientData ()))---- | usage: (@comboBoxGetCount obj@).-comboBoxGetCount :: ComboBox  a ->  IO Int-comboBoxGetCount _obj -  = withIntResult $-    withObjectRef "comboBoxGetCount" _obj $ \cobj__obj -> -    wxComboBox_GetCount cobj__obj  -foreign import ccall "wxComboBox_GetCount" wxComboBox_GetCount :: Ptr (TComboBox a) -> IO CInt---- | usage: (@comboBoxGetInsertionPoint obj@).-comboBoxGetInsertionPoint :: ComboBox  a ->  IO Int-comboBoxGetInsertionPoint _obj -  = withIntResult $-    withObjectRef "comboBoxGetInsertionPoint" _obj $ \cobj__obj -> -    wxComboBox_GetInsertionPoint cobj__obj  -foreign import ccall "wxComboBox_GetInsertionPoint" wxComboBox_GetInsertionPoint :: Ptr (TComboBox a) -> IO CInt---- | usage: (@comboBoxGetLastPosition obj@).-comboBoxGetLastPosition :: ComboBox  a ->  IO Int-comboBoxGetLastPosition _obj -  = withIntResult $-    withObjectRef "comboBoxGetLastPosition" _obj $ \cobj__obj -> -    wxComboBox_GetLastPosition cobj__obj  -foreign import ccall "wxComboBox_GetLastPosition" wxComboBox_GetLastPosition :: Ptr (TComboBox a) -> IO CInt---- | usage: (@comboBoxGetSelection obj@).-comboBoxGetSelection :: ComboBox  a ->  IO Int-comboBoxGetSelection _obj -  = withIntResult $-    withObjectRef "comboBoxGetSelection" _obj $ \cobj__obj -> -    wxComboBox_GetSelection cobj__obj  -foreign import ccall "wxComboBox_GetSelection" wxComboBox_GetSelection :: Ptr (TComboBox a) -> IO CInt---- | usage: (@comboBoxGetString obj n@).-comboBoxGetString :: ComboBox  a -> Int ->  IO (String)-comboBoxGetString _obj n -  = withManagedStringResult $-    withObjectRef "comboBoxGetString" _obj $ \cobj__obj -> -    wxComboBox_GetString cobj__obj  (toCInt n)  -foreign import ccall "wxComboBox_GetString" wxComboBox_GetString :: Ptr (TComboBox a) -> CInt -> IO (Ptr (TWxString ()))---- | usage: (@comboBoxGetStringSelection obj@).-comboBoxGetStringSelection :: ComboBox  a ->  IO (String)-comboBoxGetStringSelection _obj -  = withManagedStringResult $-    withObjectRef "comboBoxGetStringSelection" _obj $ \cobj__obj -> -    wxComboBox_GetStringSelection cobj__obj  -foreign import ccall "wxComboBox_GetStringSelection" wxComboBox_GetStringSelection :: Ptr (TComboBox a) -> IO (Ptr (TWxString ()))---- | usage: (@comboBoxGetValue obj@).-comboBoxGetValue :: ComboBox  a ->  IO (String)-comboBoxGetValue _obj -  = withManagedStringResult $-    withObjectRef "comboBoxGetValue" _obj $ \cobj__obj -> -    wxComboBox_GetValue cobj__obj  -foreign import ccall "wxComboBox_GetValue" wxComboBox_GetValue :: Ptr (TComboBox a) -> IO (Ptr (TWxString ()))---- | usage: (@comboBoxPaste obj@).-comboBoxPaste :: ComboBox  a ->  IO ()-comboBoxPaste _obj -  = withObjectRef "comboBoxPaste" _obj $ \cobj__obj -> -    wxComboBox_Paste cobj__obj  -foreign import ccall "wxComboBox_Paste" wxComboBox_Paste :: Ptr (TComboBox a) -> IO ()---- | usage: (@comboBoxRemove obj from to@).-comboBoxRemove :: ComboBox  a -> Int -> Int ->  IO ()-comboBoxRemove _obj from to -  = withObjectRef "comboBoxRemove" _obj $ \cobj__obj -> -    wxComboBox_Remove cobj__obj  (toCInt from)  (toCInt to)  -foreign import ccall "wxComboBox_Remove" wxComboBox_Remove :: Ptr (TComboBox a) -> CInt -> CInt -> IO ()---- | usage: (@comboBoxReplace obj from to value@).-comboBoxReplace :: ComboBox  a -> Int -> Int -> String ->  IO ()-comboBoxReplace _obj from to value -  = withObjectRef "comboBoxReplace" _obj $ \cobj__obj -> -    withStringPtr value $ \cobj_value -> -    wxComboBox_Replace cobj__obj  (toCInt from)  (toCInt to)  cobj_value  -foreign import ccall "wxComboBox_Replace" wxComboBox_Replace :: Ptr (TComboBox a) -> CInt -> CInt -> Ptr (TWxString d) -> IO ()---- | usage: (@comboBoxSetClientData obj n clientData@).-comboBoxSetClientData :: ComboBox  a -> Int -> ClientData  c ->  IO ()-comboBoxSetClientData _obj n clientData -  = withObjectRef "comboBoxSetClientData" _obj $ \cobj__obj -> -    withObjectPtr clientData $ \cobj_clientData -> -    wxComboBox_SetClientData cobj__obj  (toCInt n)  cobj_clientData  -foreign import ccall "wxComboBox_SetClientData" wxComboBox_SetClientData :: Ptr (TComboBox a) -> CInt -> Ptr (TClientData c) -> IO ()---- | usage: (@comboBoxSetEditable obj editable@).-comboBoxSetEditable :: ComboBox  a -> Bool ->  IO ()-comboBoxSetEditable _obj editable -  = withObjectRef "comboBoxSetEditable" _obj $ \cobj__obj -> -    wxComboBox_SetEditable cobj__obj  (toCBool editable)  -foreign import ccall "wxComboBox_SetEditable" wxComboBox_SetEditable :: Ptr (TComboBox a) -> CBool -> IO ()---- | usage: (@comboBoxSetInsertionPoint obj pos@).-comboBoxSetInsertionPoint :: ComboBox  a -> Int ->  IO ()-comboBoxSetInsertionPoint _obj pos -  = withObjectRef "comboBoxSetInsertionPoint" _obj $ \cobj__obj -> -    wxComboBox_SetInsertionPoint cobj__obj  (toCInt pos)  -foreign import ccall "wxComboBox_SetInsertionPoint" wxComboBox_SetInsertionPoint :: Ptr (TComboBox a) -> CInt -> IO ()---- | usage: (@comboBoxSetInsertionPointEnd obj@).-comboBoxSetInsertionPointEnd :: ComboBox  a ->  IO ()-comboBoxSetInsertionPointEnd _obj -  = withObjectRef "comboBoxSetInsertionPointEnd" _obj $ \cobj__obj -> -    wxComboBox_SetInsertionPointEnd cobj__obj  -foreign import ccall "wxComboBox_SetInsertionPointEnd" wxComboBox_SetInsertionPointEnd :: Ptr (TComboBox a) -> IO ()---- | usage: (@comboBoxSetSelection obj n@).-comboBoxSetSelection :: ComboBox  a -> Int ->  IO ()-comboBoxSetSelection _obj n -  = withObjectRef "comboBoxSetSelection" _obj $ \cobj__obj -> -    wxComboBox_SetSelection cobj__obj  (toCInt n)  -foreign import ccall "wxComboBox_SetSelection" wxComboBox_SetSelection :: Ptr (TComboBox a) -> CInt -> IO ()---- | usage: (@comboBoxSetTextSelection obj from to@).-comboBoxSetTextSelection :: ComboBox  a -> Int -> Int ->  IO ()-comboBoxSetTextSelection _obj from to -  = withObjectRef "comboBoxSetTextSelection" _obj $ \cobj__obj -> -    wxComboBox_SetTextSelection cobj__obj  (toCInt from)  (toCInt to)  -foreign import ccall "wxComboBox_SetTextSelection" wxComboBox_SetTextSelection :: Ptr (TComboBox a) -> CInt -> CInt -> IO ()---- | usage: (@commandEventCopyObject obj objectdest@).-commandEventCopyObject :: CommandEvent  a -> Ptr  b ->  IO ()-commandEventCopyObject _obj objectdest -  = withObjectRef "commandEventCopyObject" _obj $ \cobj__obj -> -    wxCommandEvent_CopyObject cobj__obj  objectdest  -foreign import ccall "wxCommandEvent_CopyObject" wxCommandEvent_CopyObject :: Ptr (TCommandEvent a) -> Ptr  b -> IO ()---- | usage: (@commandEventCreate typ id@).-commandEventCreate :: Int -> Id ->  IO (CommandEvent  ())-commandEventCreate _typ _id -  = withObjectResult $-    wxCommandEvent_Create (toCInt _typ)  (toCInt _id)  -foreign import ccall "wxCommandEvent_Create" wxCommandEvent_Create :: CInt -> CInt -> IO (Ptr (TCommandEvent ()))---- | usage: (@commandEventDelete obj@).-commandEventDelete :: CommandEvent  a ->  IO ()-commandEventDelete-  = objectDelete----- | usage: (@commandEventGetClientData obj@).-commandEventGetClientData :: CommandEvent  a ->  IO (ClientData  ())-commandEventGetClientData _obj -  = withObjectResult $-    withObjectRef "commandEventGetClientData" _obj $ \cobj__obj -> -    wxCommandEvent_GetClientData cobj__obj  -foreign import ccall "wxCommandEvent_GetClientData" wxCommandEvent_GetClientData :: Ptr (TCommandEvent a) -> IO (Ptr (TClientData ()))---- | usage: (@commandEventGetClientObject obj@).-commandEventGetClientObject :: CommandEvent  a ->  IO (ClientData  ())-commandEventGetClientObject _obj -  = withObjectResult $-    withObjectRef "commandEventGetClientObject" _obj $ \cobj__obj -> -    wxCommandEvent_GetClientObject cobj__obj  -foreign import ccall "wxCommandEvent_GetClientObject" wxCommandEvent_GetClientObject :: Ptr (TCommandEvent a) -> IO (Ptr (TClientData ()))---- | usage: (@commandEventGetExtraLong obj@).-commandEventGetExtraLong :: CommandEvent  a ->  IO Int-commandEventGetExtraLong _obj -  = withIntResult $-    withObjectRef "commandEventGetExtraLong" _obj $ \cobj__obj -> -    wxCommandEvent_GetExtraLong cobj__obj  -foreign import ccall "wxCommandEvent_GetExtraLong" wxCommandEvent_GetExtraLong :: Ptr (TCommandEvent a) -> IO CInt---- | usage: (@commandEventGetInt obj@).-commandEventGetInt :: CommandEvent  a ->  IO Int-commandEventGetInt _obj -  = withIntResult $-    withObjectRef "commandEventGetInt" _obj $ \cobj__obj -> -    wxCommandEvent_GetInt cobj__obj  -foreign import ccall "wxCommandEvent_GetInt" wxCommandEvent_GetInt :: Ptr (TCommandEvent a) -> IO CInt---- | usage: (@commandEventGetSelection obj@).-commandEventGetSelection :: CommandEvent  a ->  IO Int-commandEventGetSelection _obj -  = withIntResult $-    withObjectRef "commandEventGetSelection" _obj $ \cobj__obj -> -    wxCommandEvent_GetSelection cobj__obj  -foreign import ccall "wxCommandEvent_GetSelection" wxCommandEvent_GetSelection :: Ptr (TCommandEvent a) -> IO CInt---- | usage: (@commandEventGetString obj@).-commandEventGetString :: CommandEvent  a ->  IO (String)-commandEventGetString _obj -  = withManagedStringResult $-    withObjectRef "commandEventGetString" _obj $ \cobj__obj -> -    wxCommandEvent_GetString cobj__obj  -foreign import ccall "wxCommandEvent_GetString" wxCommandEvent_GetString :: Ptr (TCommandEvent a) -> IO (Ptr (TWxString ()))---- | usage: (@commandEventIsChecked obj@).-commandEventIsChecked :: CommandEvent  a ->  IO Bool-commandEventIsChecked _obj -  = withBoolResult $-    withObjectRef "commandEventIsChecked" _obj $ \cobj__obj -> -    wxCommandEvent_IsChecked cobj__obj  -foreign import ccall "wxCommandEvent_IsChecked" wxCommandEvent_IsChecked :: Ptr (TCommandEvent a) -> IO CBool---- | usage: (@commandEventIsSelection obj@).-commandEventIsSelection :: CommandEvent  a ->  IO Bool-commandEventIsSelection _obj -  = withBoolResult $-    withObjectRef "commandEventIsSelection" _obj $ \cobj__obj -> -    wxCommandEvent_IsSelection cobj__obj  -foreign import ccall "wxCommandEvent_IsSelection" wxCommandEvent_IsSelection :: Ptr (TCommandEvent a) -> IO CBool---- | usage: (@commandEventSetClientData obj clientData@).-commandEventSetClientData :: CommandEvent  a -> ClientData  b ->  IO ()-commandEventSetClientData _obj clientData -  = withObjectRef "commandEventSetClientData" _obj $ \cobj__obj -> -    withObjectPtr clientData $ \cobj_clientData -> -    wxCommandEvent_SetClientData cobj__obj  cobj_clientData  -foreign import ccall "wxCommandEvent_SetClientData" wxCommandEvent_SetClientData :: Ptr (TCommandEvent a) -> Ptr (TClientData b) -> IO ()---- | usage: (@commandEventSetClientObject obj clientObject@).-commandEventSetClientObject :: CommandEvent  a -> ClientData  b ->  IO ()-commandEventSetClientObject _obj clientObject -  = withObjectRef "commandEventSetClientObject" _obj $ \cobj__obj -> -    withObjectPtr clientObject $ \cobj_clientObject -> -    wxCommandEvent_SetClientObject cobj__obj  cobj_clientObject  -foreign import ccall "wxCommandEvent_SetClientObject" wxCommandEvent_SetClientObject :: Ptr (TCommandEvent a) -> Ptr (TClientData b) -> IO ()---- | usage: (@commandEventSetExtraLong obj extraLong@).-commandEventSetExtraLong :: CommandEvent  a -> Int ->  IO ()-commandEventSetExtraLong _obj extraLong -  = withObjectRef "commandEventSetExtraLong" _obj $ \cobj__obj -> -    wxCommandEvent_SetExtraLong cobj__obj  (toCInt extraLong)  -foreign import ccall "wxCommandEvent_SetExtraLong" wxCommandEvent_SetExtraLong :: Ptr (TCommandEvent a) -> CInt -> IO ()---- | usage: (@commandEventSetInt obj i@).-commandEventSetInt :: CommandEvent  a -> Int ->  IO ()-commandEventSetInt _obj i -  = withObjectRef "commandEventSetInt" _obj $ \cobj__obj -> -    wxCommandEvent_SetInt cobj__obj  (toCInt i)  -foreign import ccall "wxCommandEvent_SetInt" wxCommandEvent_SetInt :: Ptr (TCommandEvent a) -> CInt -> IO ()---- | usage: (@commandEventSetString obj s@).-commandEventSetString :: CommandEvent  a -> String ->  IO ()-commandEventSetString _obj s -  = withObjectRef "commandEventSetString" _obj $ \cobj__obj -> -    withStringPtr s $ \cobj_s -> -    wxCommandEvent_SetString cobj__obj  cobj_s  -foreign import ccall "wxCommandEvent_SetString" wxCommandEvent_SetString :: Ptr (TCommandEvent a) -> Ptr (TWxString b) -> IO ()---- | usage: (@configBaseCreate@).-configBaseCreate ::  IO (ConfigBase  ())-configBaseCreate -  = withObjectResult $-    wxConfigBase_Create -foreign import ccall "wxConfigBase_Create" wxConfigBase_Create :: IO (Ptr (TConfigBase ()))---- | usage: (@configBaseDelete obj@).-configBaseDelete :: ConfigBase  a ->  IO ()-configBaseDelete _obj -  = withObjectRef "configBaseDelete" _obj $ \cobj__obj -> -    wxConfigBase_Delete cobj__obj  -foreign import ccall "wxConfigBase_Delete" wxConfigBase_Delete :: Ptr (TConfigBase a) -> IO ()---- | usage: (@configBaseDeleteAll obj@).-configBaseDeleteAll :: ConfigBase  a ->  IO Bool-configBaseDeleteAll _obj -  = withBoolResult $-    withObjectRef "configBaseDeleteAll" _obj $ \cobj__obj -> -    wxConfigBase_DeleteAll cobj__obj  -foreign import ccall "wxConfigBase_DeleteAll" wxConfigBase_DeleteAll :: Ptr (TConfigBase a) -> IO CBool---- | usage: (@configBaseDeleteEntry obj key bDeleteGroupIfEmpty@).-configBaseDeleteEntry :: ConfigBase  a -> String -> Bool ->  IO Bool-configBaseDeleteEntry _obj key bDeleteGroupIfEmpty -  = withBoolResult $-    withObjectRef "configBaseDeleteEntry" _obj $ \cobj__obj -> -    withStringPtr key $ \cobj_key -> -    wxConfigBase_DeleteEntry cobj__obj  cobj_key  (toCBool bDeleteGroupIfEmpty)  -foreign import ccall "wxConfigBase_DeleteEntry" wxConfigBase_DeleteEntry :: Ptr (TConfigBase a) -> Ptr (TWxString b) -> CBool -> IO CBool---- | usage: (@configBaseDeleteGroup obj key@).-configBaseDeleteGroup :: ConfigBase  a -> String ->  IO Bool-configBaseDeleteGroup _obj key -  = withBoolResult $-    withObjectRef "configBaseDeleteGroup" _obj $ \cobj__obj -> -    withStringPtr key $ \cobj_key -> -    wxConfigBase_DeleteGroup cobj__obj  cobj_key  -foreign import ccall "wxConfigBase_DeleteGroup" wxConfigBase_DeleteGroup :: Ptr (TConfigBase a) -> Ptr (TWxString b) -> IO CBool---- | usage: (@configBaseExists obj strName@).-configBaseExists :: ConfigBase  a -> String ->  IO Bool-configBaseExists _obj strName -  = withBoolResult $-    withObjectRef "configBaseExists" _obj $ \cobj__obj -> -    withStringPtr strName $ \cobj_strName -> -    wxConfigBase_Exists cobj__obj  cobj_strName  -foreign import ccall "wxConfigBase_Exists" wxConfigBase_Exists :: Ptr (TConfigBase a) -> Ptr (TWxString b) -> IO CBool---- | usage: (@configBaseExpandEnvVars obj str@).-configBaseExpandEnvVars :: ConfigBase  a -> String ->  IO (String)-configBaseExpandEnvVars _obj str -  = withManagedStringResult $-    withObjectRef "configBaseExpandEnvVars" _obj $ \cobj__obj -> -    withStringPtr str $ \cobj_str -> -    wxConfigBase_ExpandEnvVars cobj__obj  cobj_str  -foreign import ccall "wxConfigBase_ExpandEnvVars" wxConfigBase_ExpandEnvVars :: Ptr (TConfigBase a) -> Ptr (TWxString b) -> IO (Ptr (TWxString ()))---- | usage: (@configBaseFlush obj bCurrentOnly@).-configBaseFlush :: ConfigBase  a -> Bool ->  IO Bool-configBaseFlush _obj bCurrentOnly -  = withBoolResult $-    withObjectRef "configBaseFlush" _obj $ \cobj__obj -> -    wxConfigBase_Flush cobj__obj  (toCBool bCurrentOnly)  -foreign import ccall "wxConfigBase_Flush" wxConfigBase_Flush :: Ptr (TConfigBase a) -> CBool -> IO CBool---- | usage: (@configBaseGet@).-configBaseGet ::  IO (ConfigBase  ())-configBaseGet -  = withObjectResult $-    wxConfigBase_Get -foreign import ccall "wxConfigBase_Get" wxConfigBase_Get :: IO (Ptr (TConfigBase ()))---- | usage: (@configBaseGetAppName obj@).-configBaseGetAppName :: ConfigBase  a ->  IO (String)-configBaseGetAppName _obj -  = withManagedStringResult $-    withObjectRef "configBaseGetAppName" _obj $ \cobj__obj -> -    wxConfigBase_GetAppName cobj__obj  -foreign import ccall "wxConfigBase_GetAppName" wxConfigBase_GetAppName :: Ptr (TConfigBase a) -> IO (Ptr (TWxString ()))---- | usage: (@configBaseGetEntryType obj name@).-configBaseGetEntryType :: ConfigBase  a -> String ->  IO Int-configBaseGetEntryType _obj name -  = withIntResult $-    withObjectRef "configBaseGetEntryType" _obj $ \cobj__obj -> -    withStringPtr name $ \cobj_name -> -    wxConfigBase_GetEntryType cobj__obj  cobj_name  -foreign import ccall "wxConfigBase_GetEntryType" wxConfigBase_GetEntryType :: Ptr (TConfigBase a) -> Ptr (TWxString b) -> IO CInt---- | usage: (@configBaseGetFirstEntry obj lIndex@).-configBaseGetFirstEntry :: ConfigBase  a -> Ptr  b ->  IO (String)-configBaseGetFirstEntry _obj lIndex -  = withManagedStringResult $-    withObjectRef "configBaseGetFirstEntry" _obj $ \cobj__obj -> -    wxConfigBase_GetFirstEntry cobj__obj  lIndex  -foreign import ccall "wxConfigBase_GetFirstEntry" wxConfigBase_GetFirstEntry :: Ptr (TConfigBase a) -> Ptr  b -> IO (Ptr (TWxString ()))---- | usage: (@configBaseGetFirstGroup obj lIndex@).-configBaseGetFirstGroup :: ConfigBase  a -> Ptr  b ->  IO (String)-configBaseGetFirstGroup _obj lIndex -  = withManagedStringResult $-    withObjectRef "configBaseGetFirstGroup" _obj $ \cobj__obj -> -    wxConfigBase_GetFirstGroup cobj__obj  lIndex  -foreign import ccall "wxConfigBase_GetFirstGroup" wxConfigBase_GetFirstGroup :: Ptr (TConfigBase a) -> Ptr  b -> IO (Ptr (TWxString ()))---- | usage: (@configBaseGetNextEntry obj lIndex@).-configBaseGetNextEntry :: ConfigBase  a -> Ptr  b ->  IO (String)-configBaseGetNextEntry _obj lIndex -  = withManagedStringResult $-    withObjectRef "configBaseGetNextEntry" _obj $ \cobj__obj -> -    wxConfigBase_GetNextEntry cobj__obj  lIndex  -foreign import ccall "wxConfigBase_GetNextEntry" wxConfigBase_GetNextEntry :: Ptr (TConfigBase a) -> Ptr  b -> IO (Ptr (TWxString ()))---- | usage: (@configBaseGetNextGroup obj lIndex@).-configBaseGetNextGroup :: ConfigBase  a -> Ptr  b ->  IO (String)-configBaseGetNextGroup _obj lIndex -  = withManagedStringResult $-    withObjectRef "configBaseGetNextGroup" _obj $ \cobj__obj -> -    wxConfigBase_GetNextGroup cobj__obj  lIndex  -foreign import ccall "wxConfigBase_GetNextGroup" wxConfigBase_GetNextGroup :: Ptr (TConfigBase a) -> Ptr  b -> IO (Ptr (TWxString ()))---- | usage: (@configBaseGetNumberOfEntries obj bRecursive@).-configBaseGetNumberOfEntries :: ConfigBase  a -> Bool ->  IO Int-configBaseGetNumberOfEntries _obj bRecursive -  = withIntResult $-    withObjectRef "configBaseGetNumberOfEntries" _obj $ \cobj__obj -> -    wxConfigBase_GetNumberOfEntries cobj__obj  (toCBool bRecursive)  -foreign import ccall "wxConfigBase_GetNumberOfEntries" wxConfigBase_GetNumberOfEntries :: Ptr (TConfigBase a) -> CBool -> IO CInt---- | usage: (@configBaseGetNumberOfGroups obj bRecursive@).-configBaseGetNumberOfGroups :: ConfigBase  a -> Bool ->  IO Int-configBaseGetNumberOfGroups _obj bRecursive -  = withIntResult $-    withObjectRef "configBaseGetNumberOfGroups" _obj $ \cobj__obj -> -    wxConfigBase_GetNumberOfGroups cobj__obj  (toCBool bRecursive)  -foreign import ccall "wxConfigBase_GetNumberOfGroups" wxConfigBase_GetNumberOfGroups :: Ptr (TConfigBase a) -> CBool -> IO CInt---- | usage: (@configBaseGetPath obj@).-configBaseGetPath :: ConfigBase  a ->  IO (String)-configBaseGetPath _obj -  = withManagedStringResult $-    withObjectRef "configBaseGetPath" _obj $ \cobj__obj -> -    wxConfigBase_GetPath cobj__obj  -foreign import ccall "wxConfigBase_GetPath" wxConfigBase_GetPath :: Ptr (TConfigBase a) -> IO (Ptr (TWxString ()))---- | usage: (@configBaseGetStyle obj@).-configBaseGetStyle :: ConfigBase  a ->  IO Int-configBaseGetStyle _obj -  = withIntResult $-    withObjectRef "configBaseGetStyle" _obj $ \cobj__obj -> -    wxConfigBase_GetStyle cobj__obj  -foreign import ccall "wxConfigBase_GetStyle" wxConfigBase_GetStyle :: Ptr (TConfigBase a) -> IO CInt---- | usage: (@configBaseGetVendorName obj@).-configBaseGetVendorName :: ConfigBase  a ->  IO (String)-configBaseGetVendorName _obj -  = withManagedStringResult $-    withObjectRef "configBaseGetVendorName" _obj $ \cobj__obj -> -    wxConfigBase_GetVendorName cobj__obj  -foreign import ccall "wxConfigBase_GetVendorName" wxConfigBase_GetVendorName :: Ptr (TConfigBase a) -> IO (Ptr (TWxString ()))---- | usage: (@configBaseHasEntry obj strName@).-configBaseHasEntry :: ConfigBase  a -> String ->  IO Bool-configBaseHasEntry _obj strName -  = withBoolResult $-    withObjectRef "configBaseHasEntry" _obj $ \cobj__obj -> -    withStringPtr strName $ \cobj_strName -> -    wxConfigBase_HasEntry cobj__obj  cobj_strName  -foreign import ccall "wxConfigBase_HasEntry" wxConfigBase_HasEntry :: Ptr (TConfigBase a) -> Ptr (TWxString b) -> IO CBool---- | usage: (@configBaseHasGroup obj strName@).-configBaseHasGroup :: ConfigBase  a -> String ->  IO Bool-configBaseHasGroup _obj strName -  = withBoolResult $-    withObjectRef "configBaseHasGroup" _obj $ \cobj__obj -> -    withStringPtr strName $ \cobj_strName -> -    wxConfigBase_HasGroup cobj__obj  cobj_strName  -foreign import ccall "wxConfigBase_HasGroup" wxConfigBase_HasGroup :: Ptr (TConfigBase a) -> Ptr (TWxString b) -> IO CBool---- | usage: (@configBaseIsExpandingEnvVars obj@).-configBaseIsExpandingEnvVars :: ConfigBase  a ->  IO Bool-configBaseIsExpandingEnvVars _obj -  = withBoolResult $-    withObjectRef "configBaseIsExpandingEnvVars" _obj $ \cobj__obj -> -    wxConfigBase_IsExpandingEnvVars cobj__obj  -foreign import ccall "wxConfigBase_IsExpandingEnvVars" wxConfigBase_IsExpandingEnvVars :: Ptr (TConfigBase a) -> IO CBool---- | usage: (@configBaseIsRecordingDefaults obj@).-configBaseIsRecordingDefaults :: ConfigBase  a ->  IO Bool-configBaseIsRecordingDefaults _obj -  = withBoolResult $-    withObjectRef "configBaseIsRecordingDefaults" _obj $ \cobj__obj -> -    wxConfigBase_IsRecordingDefaults cobj__obj  -foreign import ccall "wxConfigBase_IsRecordingDefaults" wxConfigBase_IsRecordingDefaults :: Ptr (TConfigBase a) -> IO CBool---- | usage: (@configBaseReadBool obj key defVal@).-configBaseReadBool :: ConfigBase  a -> String -> Bool ->  IO Bool-configBaseReadBool _obj key defVal -  = withBoolResult $-    withObjectRef "configBaseReadBool" _obj $ \cobj__obj -> -    withStringPtr key $ \cobj_key -> -    wxConfigBase_ReadBool cobj__obj  cobj_key  (toCBool defVal)  -foreign import ccall "wxConfigBase_ReadBool" wxConfigBase_ReadBool :: Ptr (TConfigBase a) -> Ptr (TWxString b) -> CBool -> IO CBool---- | usage: (@configBaseReadDouble obj key defVal@).-configBaseReadDouble :: ConfigBase  a -> String -> Double ->  IO Double-configBaseReadDouble _obj key defVal -  = withObjectRef "configBaseReadDouble" _obj $ \cobj__obj -> -    withStringPtr key $ \cobj_key -> -    wxConfigBase_ReadDouble cobj__obj  cobj_key  defVal  -foreign import ccall "wxConfigBase_ReadDouble" wxConfigBase_ReadDouble :: Ptr (TConfigBase a) -> Ptr (TWxString b) -> Double -> IO Double---- | usage: (@configBaseReadInteger obj key defVal@).-configBaseReadInteger :: ConfigBase  a -> String -> Int ->  IO Int-configBaseReadInteger _obj key defVal -  = withIntResult $-    withObjectRef "configBaseReadInteger" _obj $ \cobj__obj -> -    withStringPtr key $ \cobj_key -> -    wxConfigBase_ReadInteger cobj__obj  cobj_key  (toCInt defVal)  -foreign import ccall "wxConfigBase_ReadInteger" wxConfigBase_ReadInteger :: Ptr (TConfigBase a) -> Ptr (TWxString b) -> CInt -> IO CInt---- | usage: (@configBaseReadString obj key defVal@).-configBaseReadString :: ConfigBase  a -> String -> String ->  IO (String)-configBaseReadString _obj key defVal -  = withManagedStringResult $-    withObjectRef "configBaseReadString" _obj $ \cobj__obj -> -    withStringPtr key $ \cobj_key -> -    withStringPtr defVal $ \cobj_defVal -> -    wxConfigBase_ReadString cobj__obj  cobj_key  cobj_defVal  -foreign import ccall "wxConfigBase_ReadString" wxConfigBase_ReadString :: Ptr (TConfigBase a) -> Ptr (TWxString b) -> Ptr (TWxString c) -> IO (Ptr (TWxString ()))---- | usage: (@configBaseRenameEntry obj oldName newName@).-configBaseRenameEntry :: ConfigBase  a -> String -> String ->  IO Bool-configBaseRenameEntry _obj oldName newName -  = withBoolResult $-    withObjectRef "configBaseRenameEntry" _obj $ \cobj__obj -> -    withStringPtr oldName $ \cobj_oldName -> -    withStringPtr newName $ \cobj_newName -> -    wxConfigBase_RenameEntry cobj__obj  cobj_oldName  cobj_newName  -foreign import ccall "wxConfigBase_RenameEntry" wxConfigBase_RenameEntry :: Ptr (TConfigBase a) -> Ptr (TWxString b) -> Ptr (TWxString c) -> IO CBool---- | usage: (@configBaseRenameGroup obj oldName newName@).-configBaseRenameGroup :: ConfigBase  a -> String -> String ->  IO Bool-configBaseRenameGroup _obj oldName newName -  = withBoolResult $-    withObjectRef "configBaseRenameGroup" _obj $ \cobj__obj -> -    withStringPtr oldName $ \cobj_oldName -> -    withStringPtr newName $ \cobj_newName -> -    wxConfigBase_RenameGroup cobj__obj  cobj_oldName  cobj_newName  -foreign import ccall "wxConfigBase_RenameGroup" wxConfigBase_RenameGroup :: Ptr (TConfigBase a) -> Ptr (TWxString b) -> Ptr (TWxString c) -> IO CBool---- | usage: (@configBaseSet self@).-configBaseSet :: ConfigBase  a ->  IO ()-configBaseSet self -  = withObjectRef "configBaseSet" self $ \cobj_self -> -    wxConfigBase_Set cobj_self  -foreign import ccall "wxConfigBase_Set" wxConfigBase_Set :: Ptr (TConfigBase a) -> IO ()---- | usage: (@configBaseSetAppName obj appName@).-configBaseSetAppName :: ConfigBase  a -> String ->  IO ()-configBaseSetAppName _obj appName -  = withObjectRef "configBaseSetAppName" _obj $ \cobj__obj -> -    withStringPtr appName $ \cobj_appName -> -    wxConfigBase_SetAppName cobj__obj  cobj_appName  -foreign import ccall "wxConfigBase_SetAppName" wxConfigBase_SetAppName :: Ptr (TConfigBase a) -> Ptr (TWxString b) -> IO ()---- | usage: (@configBaseSetExpandEnvVars obj bDoIt@).-configBaseSetExpandEnvVars :: ConfigBase  a -> Bool ->  IO ()-configBaseSetExpandEnvVars _obj bDoIt -  = withObjectRef "configBaseSetExpandEnvVars" _obj $ \cobj__obj -> -    wxConfigBase_SetExpandEnvVars cobj__obj  (toCBool bDoIt)  -foreign import ccall "wxConfigBase_SetExpandEnvVars" wxConfigBase_SetExpandEnvVars :: Ptr (TConfigBase a) -> CBool -> IO ()---- | usage: (@configBaseSetPath obj strPath@).-configBaseSetPath :: ConfigBase  a -> String ->  IO ()-configBaseSetPath _obj strPath -  = withObjectRef "configBaseSetPath" _obj $ \cobj__obj -> -    withStringPtr strPath $ \cobj_strPath -> -    wxConfigBase_SetPath cobj__obj  cobj_strPath  -foreign import ccall "wxConfigBase_SetPath" wxConfigBase_SetPath :: Ptr (TConfigBase a) -> Ptr (TWxString b) -> IO ()---- | usage: (@configBaseSetRecordDefaults obj bDoIt@).-configBaseSetRecordDefaults :: ConfigBase  a -> Bool ->  IO ()-configBaseSetRecordDefaults _obj bDoIt -  = withObjectRef "configBaseSetRecordDefaults" _obj $ \cobj__obj -> -    wxConfigBase_SetRecordDefaults cobj__obj  (toCBool bDoIt)  -foreign import ccall "wxConfigBase_SetRecordDefaults" wxConfigBase_SetRecordDefaults :: Ptr (TConfigBase a) -> CBool -> IO ()---- | usage: (@configBaseSetStyle obj style@).-configBaseSetStyle :: ConfigBase  a -> Int ->  IO ()-configBaseSetStyle _obj style -  = withObjectRef "configBaseSetStyle" _obj $ \cobj__obj -> -    wxConfigBase_SetStyle cobj__obj  (toCInt style)  -foreign import ccall "wxConfigBase_SetStyle" wxConfigBase_SetStyle :: Ptr (TConfigBase a) -> CInt -> IO ()---- | usage: (@configBaseSetVendorName obj vendorName@).-configBaseSetVendorName :: ConfigBase  a -> String ->  IO ()-configBaseSetVendorName _obj vendorName -  = withObjectRef "configBaseSetVendorName" _obj $ \cobj__obj -> -    withStringPtr vendorName $ \cobj_vendorName -> -    wxConfigBase_SetVendorName cobj__obj  cobj_vendorName  -foreign import ccall "wxConfigBase_SetVendorName" wxConfigBase_SetVendorName :: Ptr (TConfigBase a) -> Ptr (TWxString b) -> IO ()---- | usage: (@configBaseWriteBool obj key value@).-configBaseWriteBool :: ConfigBase  a -> String -> Bool ->  IO Bool-configBaseWriteBool _obj key value -  = withBoolResult $-    withObjectRef "configBaseWriteBool" _obj $ \cobj__obj -> -    withStringPtr key $ \cobj_key -> -    wxConfigBase_WriteBool cobj__obj  cobj_key  (toCBool value)  -foreign import ccall "wxConfigBase_WriteBool" wxConfigBase_WriteBool :: Ptr (TConfigBase a) -> Ptr (TWxString b) -> CBool -> IO CBool---- | usage: (@configBaseWriteDouble obj key value@).-configBaseWriteDouble :: ConfigBase  a -> String -> Double ->  IO Bool-configBaseWriteDouble _obj key value -  = withBoolResult $-    withObjectRef "configBaseWriteDouble" _obj $ \cobj__obj -> -    withStringPtr key $ \cobj_key -> -    wxConfigBase_WriteDouble cobj__obj  cobj_key  value  -foreign import ccall "wxConfigBase_WriteDouble" wxConfigBase_WriteDouble :: Ptr (TConfigBase a) -> Ptr (TWxString b) -> Double -> IO CBool---- | usage: (@configBaseWriteInteger obj key value@).-configBaseWriteInteger :: ConfigBase  a -> String -> Int ->  IO Bool-configBaseWriteInteger _obj key value -  = withBoolResult $-    withObjectRef "configBaseWriteInteger" _obj $ \cobj__obj -> -    withStringPtr key $ \cobj_key -> -    wxConfigBase_WriteInteger cobj__obj  cobj_key  (toCInt value)  -foreign import ccall "wxConfigBase_WriteInteger" wxConfigBase_WriteInteger :: Ptr (TConfigBase a) -> Ptr (TWxString b) -> CInt -> IO CBool---- | usage: (@configBaseWriteLong obj key value@).-configBaseWriteLong :: ConfigBase  a -> String -> Int ->  IO Bool-configBaseWriteLong _obj key value -  = withBoolResult $-    withObjectRef "configBaseWriteLong" _obj $ \cobj__obj -> -    withStringPtr key $ \cobj_key -> -    wxConfigBase_WriteLong cobj__obj  cobj_key  (toCInt value)  -foreign import ccall "wxConfigBase_WriteLong" wxConfigBase_WriteLong :: Ptr (TConfigBase a) -> Ptr (TWxString b) -> CInt -> IO CBool---- | usage: (@configBaseWriteString obj key value@).-configBaseWriteString :: ConfigBase  a -> String -> String ->  IO Bool-configBaseWriteString _obj key value -  = withBoolResult $-    withObjectRef "configBaseWriteString" _obj $ \cobj__obj -> -    withStringPtr key $ \cobj_key -> -    withStringPtr value $ \cobj_value -> -    wxConfigBase_WriteString cobj__obj  cobj_key  cobj_value  -foreign import ccall "wxConfigBase_WriteString" wxConfigBase_WriteString :: Ptr (TConfigBase a) -> Ptr (TWxString b) -> Ptr (TWxString c) -> IO CBool---- | usage: (@contextHelpBeginContextHelp obj win@).-contextHelpBeginContextHelp :: ContextHelp  a -> Window  b ->  IO Bool-contextHelpBeginContextHelp _obj win -  = withBoolResult $-    withObjectRef "contextHelpBeginContextHelp" _obj $ \cobj__obj -> -    withObjectPtr win $ \cobj_win -> -    wxContextHelp_BeginContextHelp cobj__obj  cobj_win  -foreign import ccall "wxContextHelp_BeginContextHelp" wxContextHelp_BeginContextHelp :: Ptr (TContextHelp a) -> Ptr (TWindow b) -> IO CBool---- | usage: (@contextHelpButtonCreate parent id xywh style@).-contextHelpButtonCreate :: Window  a -> Id -> Rect -> Int ->  IO (ContextHelpButton  ())-contextHelpButtonCreate parent id xywh style -  = withObjectResult $-    withObjectPtr parent $ \cobj_parent -> -    wxContextHelpButton_Create cobj_parent  (toCInt id)  (toCIntRectX xywh) (toCIntRectY xywh)(toCIntRectW xywh) (toCIntRectH xywh)  (toCInt style)  -foreign import ccall "wxContextHelpButton_Create" wxContextHelpButton_Create :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TContextHelpButton ()))---- | usage: (@contextHelpCreate win beginHelp@).-contextHelpCreate :: Window  a -> Bool ->  IO (ContextHelp  ())-contextHelpCreate win beginHelp -  = withObjectResult $-    withObjectPtr win $ \cobj_win -> -    wxContextHelp_Create cobj_win  (toCBool beginHelp)  -foreign import ccall "wxContextHelp_Create" wxContextHelp_Create :: Ptr (TWindow a) -> CBool -> IO (Ptr (TContextHelp ()))---- | usage: (@contextHelpDelete obj@).-contextHelpDelete :: ContextHelp  a ->  IO ()-contextHelpDelete-  = objectDelete----- | usage: (@contextHelpEndContextHelp obj@).-contextHelpEndContextHelp :: ContextHelp  a ->  IO Bool-contextHelpEndContextHelp _obj -  = withBoolResult $-    withObjectRef "contextHelpEndContextHelp" _obj $ \cobj__obj -> -    wxContextHelp_EndContextHelp cobj__obj  -foreign import ccall "wxContextHelp_EndContextHelp" wxContextHelp_EndContextHelp :: Ptr (TContextHelp a) -> IO CBool---- | usage: (@controlCommand obj event@).-controlCommand :: Control  a -> Event  b ->  IO ()-controlCommand _obj event -  = withObjectRef "controlCommand" _obj $ \cobj__obj -> -    withObjectPtr event $ \cobj_event -> -    wxControl_Command cobj__obj  cobj_event  -foreign import ccall "wxControl_Command" wxControl_Command :: Ptr (TControl a) -> Ptr (TEvent b) -> IO ()---- | usage: (@controlGetLabel obj@).-controlGetLabel :: Control  a ->  IO (String)-controlGetLabel _obj -  = withManagedStringResult $-    withObjectRef "controlGetLabel" _obj $ \cobj__obj -> -    wxControl_GetLabel cobj__obj  -foreign import ccall "wxControl_GetLabel" wxControl_GetLabel :: Ptr (TControl a) -> IO (Ptr (TWxString ()))---- | usage: (@controlSetLabel obj text@).-controlSetLabel :: Control  a -> String ->  IO ()-controlSetLabel _obj text -  = withObjectRef "controlSetLabel" _obj $ \cobj__obj -> -    withStringPtr text $ \cobj_text -> -    wxControl_SetLabel cobj__obj  cobj_text  -foreign import ccall "wxControl_SetLabel" wxControl_SetLabel :: Ptr (TControl a) -> Ptr (TWxString b) -> IO ()---- | usage: (@cursorCreateFromImage image@).-cursorCreateFromImage :: Image  a ->  IO (Cursor  ())-cursorCreateFromImage image -  = withManagedCursorResult $-    withObjectPtr image $ \cobj_image -> -    wx_Cursor_CreateFromImage cobj_image  -foreign import ccall "Cursor_CreateFromImage" wx_Cursor_CreateFromImage :: Ptr (TImage a) -> IO (Ptr (TCursor ()))---- | usage: (@cursorCreateFromStock id@).-cursorCreateFromStock :: Id ->  IO (Cursor  ())-cursorCreateFromStock _id -  = withManagedCursorResult $-    wx_Cursor_CreateFromStock (toCInt _id)  -foreign import ccall "Cursor_CreateFromStock" wx_Cursor_CreateFromStock :: CInt -> IO (Ptr (TCursor ()))---- | usage: (@cursorCreateLoad name wxtype widthheight@).-cursorCreateLoad :: String -> Int -> Size ->  IO (Cursor  ())-cursorCreateLoad name wxtype widthheight -  = withManagedCursorResult $-    withStringPtr name $ \cobj_name -> -    wx_Cursor_CreateLoad cobj_name  (toCInt wxtype)  (toCIntSizeW widthheight) (toCIntSizeH widthheight)  -foreign import ccall "Cursor_CreateLoad" wx_Cursor_CreateLoad :: Ptr (TWxString a) -> CInt -> CInt -> CInt -> IO (Ptr (TCursor ()))---- | usage: (@cursorDelete obj@).-cursorDelete :: Cursor  a ->  IO ()-cursorDelete-  = objectDelete----- | usage: (@cursorIsStatic self@).-cursorIsStatic :: Cursor  a ->  IO Bool-cursorIsStatic self -  = withBoolResult $-    withObjectPtr self $ \cobj_self -> -    wxCursor_IsStatic cobj_self  -foreign import ccall "wxCursor_IsStatic" wxCursor_IsStatic :: Ptr (TCursor a) -> IO CBool---- | usage: (@cursorSafeDelete self@).-cursorSafeDelete :: Cursor  a ->  IO ()-cursorSafeDelete self -  = withObjectPtr self $ \cobj_self -> -    wxCursor_SafeDelete cobj_self  -foreign import ccall "wxCursor_SafeDelete" wxCursor_SafeDelete :: Ptr (TCursor a) -> IO ()---- | usage: (@dataFormatCreateFromId name@).-dataFormatCreateFromId :: String ->  IO (DataFormat  ())-dataFormatCreateFromId name -  = withObjectResult $-    withStringPtr name $ \cobj_name -> -    wxDataFormat_CreateFromId cobj_name  -foreign import ccall "wxDataFormat_CreateFromId" wxDataFormat_CreateFromId :: Ptr (TWxString a) -> IO (Ptr (TDataFormat ()))---- | usage: (@dataFormatCreateFromType typ@).-dataFormatCreateFromType :: Int ->  IO (DataFormat  ())-dataFormatCreateFromType typ -  = withObjectResult $-    wxDataFormat_CreateFromType (toCInt typ)  -foreign import ccall "wxDataFormat_CreateFromType" wxDataFormat_CreateFromType :: CInt -> IO (Ptr (TDataFormat ()))---- | usage: (@dataFormatDelete obj@).-dataFormatDelete :: DataFormat  a ->  IO ()-dataFormatDelete _obj -  = withObjectRef "dataFormatDelete" _obj $ \cobj__obj -> -    wxDataFormat_Delete cobj__obj  -foreign import ccall "wxDataFormat_Delete" wxDataFormat_Delete :: Ptr (TDataFormat a) -> IO ()---- | usage: (@dataFormatGetId obj@).-dataFormatGetId :: DataFormat  a ->  IO (String)-dataFormatGetId _obj -  = withManagedStringResult $-    withObjectRef "dataFormatGetId" _obj $ \cobj__obj -> -    wxDataFormat_GetId cobj__obj  -foreign import ccall "wxDataFormat_GetId" wxDataFormat_GetId :: Ptr (TDataFormat a) -> IO (Ptr (TWxString ()))---- | usage: (@dataFormatGetType obj@).-dataFormatGetType :: DataFormat  a ->  IO Int-dataFormatGetType _obj -  = withIntResult $-    withObjectRef "dataFormatGetType" _obj $ \cobj__obj -> -    wxDataFormat_GetType cobj__obj  -foreign import ccall "wxDataFormat_GetType" wxDataFormat_GetType :: Ptr (TDataFormat a) -> IO CInt---- | usage: (@dataFormatIsEqual obj other@).-dataFormatIsEqual :: DataFormat  a -> Ptr  b ->  IO Bool-dataFormatIsEqual _obj other -  = withBoolResult $-    withObjectRef "dataFormatIsEqual" _obj $ \cobj__obj -> -    wxDataFormat_IsEqual cobj__obj  other  -foreign import ccall "wxDataFormat_IsEqual" wxDataFormat_IsEqual :: Ptr (TDataFormat a) -> Ptr  b -> IO CBool---- | usage: (@dataFormatSetId obj id@).-dataFormatSetId :: DataFormat  a -> Ptr  b ->  IO ()-dataFormatSetId _obj id -  = withObjectRef "dataFormatSetId" _obj $ \cobj__obj -> -    wxDataFormat_SetId cobj__obj  id  -foreign import ccall "wxDataFormat_SetId" wxDataFormat_SetId :: Ptr (TDataFormat a) -> Ptr  b -> IO ()---- | usage: (@dataFormatSetType obj typ@).-dataFormatSetType :: DataFormat  a -> Int ->  IO ()-dataFormatSetType _obj typ -  = withObjectRef "dataFormatSetType" _obj $ \cobj__obj -> -    wxDataFormat_SetType cobj__obj  (toCInt typ)  -foreign import ccall "wxDataFormat_SetType" wxDataFormat_SetType :: Ptr (TDataFormat a) -> CInt -> IO ()---- | usage: (@dataObjectCompositeAdd obj dat preferred@).-dataObjectCompositeAdd :: DataObjectComposite  a -> Ptr  b -> Int ->  IO ()-dataObjectCompositeAdd _obj _dat _preferred -  = withObjectRef "dataObjectCompositeAdd" _obj $ \cobj__obj -> -    wxDataObjectComposite_Add cobj__obj  _dat  (toCInt _preferred)  -foreign import ccall "wxDataObjectComposite_Add" wxDataObjectComposite_Add :: Ptr (TDataObjectComposite a) -> Ptr  b -> CInt -> IO ()---- | usage: (@dataObjectCompositeCreate@).-dataObjectCompositeCreate ::  IO (DataObjectComposite  ())-dataObjectCompositeCreate -  = withObjectResult $-    wxDataObjectComposite_Create -foreign import ccall "wxDataObjectComposite_Create" wxDataObjectComposite_Create :: IO (Ptr (TDataObjectComposite ()))---- | usage: (@dataObjectCompositeDelete obj@).-dataObjectCompositeDelete :: DataObjectComposite  a ->  IO ()-dataObjectCompositeDelete _obj -  = withObjectRef "dataObjectCompositeDelete" _obj $ \cobj__obj -> -    wxDataObjectComposite_Delete cobj__obj  -foreign import ccall "wxDataObjectComposite_Delete" wxDataObjectComposite_Delete :: Ptr (TDataObjectComposite a) -> IO ()---- | usage: (@dateTimeAddDate obj diff@).-dateTimeAddDate :: DateTime  a -> Ptr  b ->  IO (DateTime  ())-dateTimeAddDate _obj diff -  = withRefDateTime $ \pref -> -    withObjectRef "dateTimeAddDate" _obj $ \cobj__obj -> -    wxDateTime_AddDate cobj__obj  diff   pref-foreign import ccall "wxDateTime_AddDate" wxDateTime_AddDate :: Ptr (TDateTime a) -> Ptr  b -> Ptr (TDateTime ()) -> IO ()---- | usage: (@dateTimeAddDateValues obj yrs mnt wek day@).-dateTimeAddDateValues :: DateTime  a -> Int -> Int -> Int -> Int ->  IO ()-dateTimeAddDateValues _obj _yrs _mnt _wek _day -  = withObjectRef "dateTimeAddDateValues" _obj $ \cobj__obj -> -    wxDateTime_AddDateValues cobj__obj  (toCInt _yrs)  (toCInt _mnt)  (toCInt _wek)  (toCInt _day)  -foreign import ccall "wxDateTime_AddDateValues" wxDateTime_AddDateValues :: Ptr (TDateTime a) -> CInt -> CInt -> CInt -> CInt -> IO ()---- | usage: (@dateTimeAddTime obj diff@).-dateTimeAddTime :: DateTime  a -> Ptr  b ->  IO (DateTime  ())-dateTimeAddTime _obj diff -  = withRefDateTime $ \pref -> -    withObjectRef "dateTimeAddTime" _obj $ \cobj__obj -> -    wxDateTime_AddTime cobj__obj  diff   pref-foreign import ccall "wxDateTime_AddTime" wxDateTime_AddTime :: Ptr (TDateTime a) -> Ptr  b -> Ptr (TDateTime ()) -> IO ()---- | usage: (@dateTimeAddTimeValues obj hrs min sec mls@).-dateTimeAddTimeValues :: DateTime  a -> Int -> Int -> Int -> Int ->  IO ()-dateTimeAddTimeValues _obj _hrs _min _sec _mls -  = withObjectRef "dateTimeAddTimeValues" _obj $ \cobj__obj -> -    wxDateTime_AddTimeValues cobj__obj  (toCInt _hrs)  (toCInt _min)  (toCInt _sec)  (toCInt _mls)  -foreign import ccall "wxDateTime_AddTimeValues" wxDateTime_AddTimeValues :: Ptr (TDateTime a) -> CInt -> CInt -> CInt -> CInt -> IO ()---- | usage: (@dateTimeConvertYearToBC year@).-dateTimeConvertYearToBC :: Int ->  IO Int-dateTimeConvertYearToBC year -  = withIntResult $-    wxDateTime_ConvertYearToBC (toCInt year)  -foreign import ccall "wxDateTime_ConvertYearToBC" wxDateTime_ConvertYearToBC :: CInt -> IO CInt---- | usage: (@dateTimeCreate@).-dateTimeCreate ::  IO (DateTime  ())-dateTimeCreate -  = withManagedDateTimeResult $-    wxDateTime_Create -foreign import ccall "wxDateTime_Create" wxDateTime_Create :: IO (Ptr (TDateTime ()))---- | usage: (@dateTimeDelete obj@).-dateTimeDelete :: DateTime  a ->  IO ()-dateTimeDelete-  = dateTimeDelete----- | usage: (@dateTimeFormat obj format tz@).-dateTimeFormat :: DateTime  a -> Ptr  b -> Int ->  IO (String)-dateTimeFormat _obj format tz -  = withManagedStringResult $-    withObjectRef "dateTimeFormat" _obj $ \cobj__obj -> -    wxDateTime_Format cobj__obj  format  (toCInt tz)  -foreign import ccall "wxDateTime_Format" wxDateTime_Format :: Ptr (TDateTime a) -> Ptr  b -> CInt -> IO (Ptr (TWxString ()))---- | usage: (@dateTimeFormatDate obj@).-dateTimeFormatDate :: DateTime  a ->  IO (String)-dateTimeFormatDate _obj -  = withManagedStringResult $-    withObjectRef "dateTimeFormatDate" _obj $ \cobj__obj -> -    wxDateTime_FormatDate cobj__obj  -foreign import ccall "wxDateTime_FormatDate" wxDateTime_FormatDate :: Ptr (TDateTime a) -> IO (Ptr (TWxString ()))---- | usage: (@dateTimeFormatISODate obj@).-dateTimeFormatISODate :: DateTime  a ->  IO (String)-dateTimeFormatISODate _obj -  = withManagedStringResult $-    withObjectRef "dateTimeFormatISODate" _obj $ \cobj__obj -> -    wxDateTime_FormatISODate cobj__obj  -foreign import ccall "wxDateTime_FormatISODate" wxDateTime_FormatISODate :: Ptr (TDateTime a) -> IO (Ptr (TWxString ()))---- | usage: (@dateTimeFormatISOTime obj@).-dateTimeFormatISOTime :: DateTime  a ->  IO (String)-dateTimeFormatISOTime _obj -  = withManagedStringResult $-    withObjectRef "dateTimeFormatISOTime" _obj $ \cobj__obj -> -    wxDateTime_FormatISOTime cobj__obj  -foreign import ccall "wxDateTime_FormatISOTime" wxDateTime_FormatISOTime :: Ptr (TDateTime a) -> IO (Ptr (TWxString ()))---- | usage: (@dateTimeFormatTime obj@).-dateTimeFormatTime :: DateTime  a ->  IO (String)-dateTimeFormatTime _obj -  = withManagedStringResult $-    withObjectRef "dateTimeFormatTime" _obj $ \cobj__obj -> -    wxDateTime_FormatTime cobj__obj  -foreign import ccall "wxDateTime_FormatTime" wxDateTime_FormatTime :: Ptr (TDateTime a) -> IO (Ptr (TWxString ()))---- | usage: (@dateTimeGetAmString@).-dateTimeGetAmString ::  IO (String)-dateTimeGetAmString -  = withManagedStringResult $-    wxDateTime_GetAmString -foreign import ccall "wxDateTime_GetAmString" wxDateTime_GetAmString :: IO (Ptr (TWxString ()))---- | usage: (@dateTimeGetBeginDST year country dt@).-dateTimeGetBeginDST :: Int -> Int -> DateTime  c ->  IO ()-dateTimeGetBeginDST year country dt -  = withObjectPtr dt $ \cobj_dt -> -    wxDateTime_GetBeginDST (toCInt year)  (toCInt country)  cobj_dt  -foreign import ccall "wxDateTime_GetBeginDST" wxDateTime_GetBeginDST :: CInt -> CInt -> Ptr (TDateTime c) -> IO ()---- | usage: (@dateTimeGetCentury year@).-dateTimeGetCentury :: Int ->  IO Int-dateTimeGetCentury year -  = withIntResult $-    wxDateTime_GetCentury (toCInt year)  -foreign import ccall "wxDateTime_GetCentury" wxDateTime_GetCentury :: CInt -> IO CInt---- | usage: (@dateTimeGetCountry@).-dateTimeGetCountry ::  IO Int-dateTimeGetCountry -  = withIntResult $-    wxDateTime_GetCountry -foreign import ccall "wxDateTime_GetCountry" wxDateTime_GetCountry :: IO CInt---- | usage: (@dateTimeGetCurrentMonth cal@).-dateTimeGetCurrentMonth :: Int ->  IO Int-dateTimeGetCurrentMonth cal -  = withIntResult $-    wxDateTime_GetCurrentMonth (toCInt cal)  -foreign import ccall "wxDateTime_GetCurrentMonth" wxDateTime_GetCurrentMonth :: CInt -> IO CInt---- | usage: (@dateTimeGetCurrentYear cal@).-dateTimeGetCurrentYear :: Int ->  IO Int-dateTimeGetCurrentYear cal -  = withIntResult $-    wxDateTime_GetCurrentYear (toCInt cal)  -foreign import ccall "wxDateTime_GetCurrentYear" wxDateTime_GetCurrentYear :: CInt -> IO CInt---- | usage: (@dateTimeGetDay obj tz@).-dateTimeGetDay :: DateTime  a -> Int ->  IO Int-dateTimeGetDay _obj tz -  = withIntResult $-    withObjectRef "dateTimeGetDay" _obj $ \cobj__obj -> -    wxDateTime_GetDay cobj__obj  (toCInt tz)  -foreign import ccall "wxDateTime_GetDay" wxDateTime_GetDay :: Ptr (TDateTime a) -> CInt -> IO CInt---- | usage: (@dateTimeGetDayOfYear obj tz@).-dateTimeGetDayOfYear :: DateTime  a -> Int ->  IO Int-dateTimeGetDayOfYear _obj tz -  = withIntResult $-    withObjectRef "dateTimeGetDayOfYear" _obj $ \cobj__obj -> -    wxDateTime_GetDayOfYear cobj__obj  (toCInt tz)  -foreign import ccall "wxDateTime_GetDayOfYear" wxDateTime_GetDayOfYear :: Ptr (TDateTime a) -> CInt -> IO CInt---- | usage: (@dateTimeGetEndDST year country dt@).-dateTimeGetEndDST :: Int -> Int -> DateTime  c ->  IO ()-dateTimeGetEndDST year country dt -  = withObjectPtr dt $ \cobj_dt -> -    wxDateTime_GetEndDST (toCInt year)  (toCInt country)  cobj_dt  -foreign import ccall "wxDateTime_GetEndDST" wxDateTime_GetEndDST :: CInt -> CInt -> Ptr (TDateTime c) -> IO ()---- | usage: (@dateTimeGetHour obj tz@).-dateTimeGetHour :: DateTime  a -> Int ->  IO Int-dateTimeGetHour _obj tz -  = withIntResult $-    withObjectRef "dateTimeGetHour" _obj $ \cobj__obj -> -    wxDateTime_GetHour cobj__obj  (toCInt tz)  -foreign import ccall "wxDateTime_GetHour" wxDateTime_GetHour :: Ptr (TDateTime a) -> CInt -> IO CInt---- | usage: (@dateTimeGetLastMonthDay obj month year@).-dateTimeGetLastMonthDay :: DateTime  a -> Int -> Int ->  IO (DateTime  ())-dateTimeGetLastMonthDay _obj month year -  = withRefDateTime $ \pref -> -    withObjectRef "dateTimeGetLastMonthDay" _obj $ \cobj__obj -> -    wxDateTime_GetLastMonthDay cobj__obj  (toCInt month)  (toCInt year)   pref-foreign import ccall "wxDateTime_GetLastMonthDay" wxDateTime_GetLastMonthDay :: Ptr (TDateTime a) -> CInt -> CInt -> Ptr (TDateTime ()) -> IO ()---- | usage: (@dateTimeGetLastWeekDay obj weekday month year@).-dateTimeGetLastWeekDay :: DateTime  a -> Int -> Int -> Int ->  IO (DateTime  ())-dateTimeGetLastWeekDay _obj weekday month year -  = withRefDateTime $ \pref -> -    withObjectRef "dateTimeGetLastWeekDay" _obj $ \cobj__obj -> -    wxDateTime_GetLastWeekDay cobj__obj  (toCInt weekday)  (toCInt month)  (toCInt year)   pref-foreign import ccall "wxDateTime_GetLastWeekDay" wxDateTime_GetLastWeekDay :: Ptr (TDateTime a) -> CInt -> CInt -> CInt -> Ptr (TDateTime ()) -> IO ()---- | usage: (@dateTimeGetMillisecond obj tz@).-dateTimeGetMillisecond :: DateTime  a -> Int ->  IO Int-dateTimeGetMillisecond _obj tz -  = withIntResult $-    withObjectRef "dateTimeGetMillisecond" _obj $ \cobj__obj -> -    wxDateTime_GetMillisecond cobj__obj  (toCInt tz)  -foreign import ccall "wxDateTime_GetMillisecond" wxDateTime_GetMillisecond :: Ptr (TDateTime a) -> CInt -> IO CInt---- | usage: (@dateTimeGetMinute obj tz@).-dateTimeGetMinute :: DateTime  a -> Int ->  IO Int-dateTimeGetMinute _obj tz -  = withIntResult $-    withObjectRef "dateTimeGetMinute" _obj $ \cobj__obj -> -    wxDateTime_GetMinute cobj__obj  (toCInt tz)  -foreign import ccall "wxDateTime_GetMinute" wxDateTime_GetMinute :: Ptr (TDateTime a) -> CInt -> IO CInt---- | usage: (@dateTimeGetMonth obj tz@).-dateTimeGetMonth :: DateTime  a -> Int ->  IO Int-dateTimeGetMonth _obj tz -  = withIntResult $-    withObjectRef "dateTimeGetMonth" _obj $ \cobj__obj -> -    wxDateTime_GetMonth cobj__obj  (toCInt tz)  -foreign import ccall "wxDateTime_GetMonth" wxDateTime_GetMonth :: Ptr (TDateTime a) -> CInt -> IO CInt---- | usage: (@dateTimeGetMonthName month flags@).-dateTimeGetMonthName :: Int -> Int ->  IO (String)-dateTimeGetMonthName month flags -  = withManagedStringResult $-    wxDateTime_GetMonthName (toCInt month)  (toCInt flags)  -foreign import ccall "wxDateTime_GetMonthName" wxDateTime_GetMonthName :: CInt -> CInt -> IO (Ptr (TWxString ()))---- | usage: (@dateTimeGetNextWeekDay obj weekday@).-dateTimeGetNextWeekDay :: DateTime  a -> Int ->  IO (DateTime  ())-dateTimeGetNextWeekDay _obj weekday -  = withRefDateTime $ \pref -> -    withObjectRef "dateTimeGetNextWeekDay" _obj $ \cobj__obj -> -    wxDateTime_GetNextWeekDay cobj__obj  (toCInt weekday)   pref-foreign import ccall "wxDateTime_GetNextWeekDay" wxDateTime_GetNextWeekDay :: Ptr (TDateTime a) -> CInt -> Ptr (TDateTime ()) -> IO ()---- | usage: (@dateTimeGetNumberOfDays year cal@).-dateTimeGetNumberOfDays :: Int -> Int ->  IO Int-dateTimeGetNumberOfDays year cal -  = withIntResult $-    wxDateTime_GetNumberOfDays (toCInt year)  (toCInt cal)  -foreign import ccall "wxDateTime_GetNumberOfDays" wxDateTime_GetNumberOfDays :: CInt -> CInt -> IO CInt---- | usage: (@dateTimeGetNumberOfDaysMonth month year cal@).-dateTimeGetNumberOfDaysMonth :: Int -> Int -> Int ->  IO Int-dateTimeGetNumberOfDaysMonth month year cal -  = withIntResult $-    wxDateTime_GetNumberOfDaysMonth (toCInt month)  (toCInt year)  (toCInt cal)  -foreign import ccall "wxDateTime_GetNumberOfDaysMonth" wxDateTime_GetNumberOfDaysMonth :: CInt -> CInt -> CInt -> IO CInt---- | usage: (@dateTimeGetPmString@).-dateTimeGetPmString ::  IO (String)-dateTimeGetPmString -  = withManagedStringResult $-    wxDateTime_GetPmString -foreign import ccall "wxDateTime_GetPmString" wxDateTime_GetPmString :: IO (Ptr (TWxString ()))---- | usage: (@dateTimeGetPrevWeekDay obj weekday@).-dateTimeGetPrevWeekDay :: DateTime  a -> Int ->  IO (DateTime  ())-dateTimeGetPrevWeekDay _obj weekday -  = withRefDateTime $ \pref -> -    withObjectRef "dateTimeGetPrevWeekDay" _obj $ \cobj__obj -> -    wxDateTime_GetPrevWeekDay cobj__obj  (toCInt weekday)   pref-foreign import ccall "wxDateTime_GetPrevWeekDay" wxDateTime_GetPrevWeekDay :: Ptr (TDateTime a) -> CInt -> Ptr (TDateTime ()) -> IO ()---- | usage: (@dateTimeGetSecond obj tz@).-dateTimeGetSecond :: DateTime  a -> Int ->  IO Int-dateTimeGetSecond _obj tz -  = withIntResult $-    withObjectRef "dateTimeGetSecond" _obj $ \cobj__obj -> -    wxDateTime_GetSecond cobj__obj  (toCInt tz)  -foreign import ccall "wxDateTime_GetSecond" wxDateTime_GetSecond :: Ptr (TDateTime a) -> CInt -> IO CInt---- | usage: (@dateTimeGetTicks obj@).-dateTimeGetTicks :: DateTime  a ->  IO Int-dateTimeGetTicks _obj -  = withIntResult $-    withObjectRef "dateTimeGetTicks" _obj $ \cobj__obj -> -    wxDateTime_GetTicks cobj__obj  -foreign import ccall "wxDateTime_GetTicks" wxDateTime_GetTicks :: Ptr (TDateTime a) -> IO CInt---- | usage: (@dateTimeGetTimeNow@).-dateTimeGetTimeNow ::  IO Int-dateTimeGetTimeNow -  = withIntResult $-    wxDateTime_GetTimeNow -foreign import ccall "wxDateTime_GetTimeNow" wxDateTime_GetTimeNow :: IO CInt---- | usage: (@dateTimeGetValue obj hilong lolong@).-dateTimeGetValue :: DateTime  a -> Ptr  b -> Ptr  c ->  IO ()-dateTimeGetValue _obj hilong lolong -  = withObjectRef "dateTimeGetValue" _obj $ \cobj__obj -> -    wxDateTime_GetValue cobj__obj  hilong  lolong  -foreign import ccall "wxDateTime_GetValue" wxDateTime_GetValue :: Ptr (TDateTime a) -> Ptr  b -> Ptr  c -> IO ()---- | usage: (@dateTimeGetWeekDay obj weekday n month year@).-dateTimeGetWeekDay :: DateTime  a -> Int -> Int -> Int -> Int ->  IO (DateTime  ())-dateTimeGetWeekDay _obj weekday n month year -  = withRefDateTime $ \pref -> -    withObjectRef "dateTimeGetWeekDay" _obj $ \cobj__obj -> -    wxDateTime_GetWeekDay cobj__obj  (toCInt weekday)  (toCInt n)  (toCInt month)  (toCInt year)   pref-foreign import ccall "wxDateTime_GetWeekDay" wxDateTime_GetWeekDay :: Ptr (TDateTime a) -> CInt -> CInt -> CInt -> CInt -> Ptr (TDateTime ()) -> IO ()---- | usage: (@dateTimeGetWeekDayInSameWeek obj weekday@).-dateTimeGetWeekDayInSameWeek :: DateTime  a -> Int ->  IO (DateTime  ())-dateTimeGetWeekDayInSameWeek _obj weekday -  = withRefDateTime $ \pref -> -    withObjectRef "dateTimeGetWeekDayInSameWeek" _obj $ \cobj__obj -> -    wxDateTime_GetWeekDayInSameWeek cobj__obj  (toCInt weekday)   pref-foreign import ccall "wxDateTime_GetWeekDayInSameWeek" wxDateTime_GetWeekDayInSameWeek :: Ptr (TDateTime a) -> CInt -> Ptr (TDateTime ()) -> IO ()---- | usage: (@dateTimeGetWeekDayName weekday flags@).-dateTimeGetWeekDayName :: Int -> Int ->  IO (String)-dateTimeGetWeekDayName weekday flags -  = withManagedStringResult $-    wxDateTime_GetWeekDayName (toCInt weekday)  (toCInt flags)  -foreign import ccall "wxDateTime_GetWeekDayName" wxDateTime_GetWeekDayName :: CInt -> CInt -> IO (Ptr (TWxString ()))---- | usage: (@dateTimeGetWeekDayTZ obj tz@).-dateTimeGetWeekDayTZ :: DateTime  a -> Int ->  IO Int-dateTimeGetWeekDayTZ _obj tz -  = withIntResult $-    withObjectRef "dateTimeGetWeekDayTZ" _obj $ \cobj__obj -> -    wxDateTime_GetWeekDayTZ cobj__obj  (toCInt tz)  -foreign import ccall "wxDateTime_GetWeekDayTZ" wxDateTime_GetWeekDayTZ :: Ptr (TDateTime a) -> CInt -> IO CInt---- | usage: (@dateTimeGetWeekOfMonth obj flags tz@).-dateTimeGetWeekOfMonth :: DateTime  a -> Int -> Int ->  IO Int-dateTimeGetWeekOfMonth _obj flags tz -  = withIntResult $-    withObjectRef "dateTimeGetWeekOfMonth" _obj $ \cobj__obj -> -    wxDateTime_GetWeekOfMonth cobj__obj  (toCInt flags)  (toCInt tz)  -foreign import ccall "wxDateTime_GetWeekOfMonth" wxDateTime_GetWeekOfMonth :: Ptr (TDateTime a) -> CInt -> CInt -> IO CInt---- | usage: (@dateTimeGetWeekOfYear obj flags tz@).-dateTimeGetWeekOfYear :: DateTime  a -> Int -> Int ->  IO Int-dateTimeGetWeekOfYear _obj flags tz -  = withIntResult $-    withObjectRef "dateTimeGetWeekOfYear" _obj $ \cobj__obj -> -    wxDateTime_GetWeekOfYear cobj__obj  (toCInt flags)  (toCInt tz)  -foreign import ccall "wxDateTime_GetWeekOfYear" wxDateTime_GetWeekOfYear :: Ptr (TDateTime a) -> CInt -> CInt -> IO CInt---- | usage: (@dateTimeGetYear obj tz@).-dateTimeGetYear :: DateTime  a -> Int ->  IO Int-dateTimeGetYear _obj tz -  = withIntResult $-    withObjectRef "dateTimeGetYear" _obj $ \cobj__obj -> -    wxDateTime_GetYear cobj__obj  (toCInt tz)  -foreign import ccall "wxDateTime_GetYear" wxDateTime_GetYear :: Ptr (TDateTime a) -> CInt -> IO CInt---- | usage: (@dateTimeIsBetween obj t1 t2@).-dateTimeIsBetween :: DateTime  a -> DateTime  b -> DateTime  c ->  IO Bool-dateTimeIsBetween _obj t1 t2 -  = withBoolResult $-    withObjectRef "dateTimeIsBetween" _obj $ \cobj__obj -> -    withObjectPtr t1 $ \cobj_t1 -> -    withObjectPtr t2 $ \cobj_t2 -> -    wxDateTime_IsBetween cobj__obj  cobj_t1  cobj_t2  -foreign import ccall "wxDateTime_IsBetween" wxDateTime_IsBetween :: Ptr (TDateTime a) -> Ptr (TDateTime b) -> Ptr (TDateTime c) -> IO CBool---- | usage: (@dateTimeIsDST obj country@).-dateTimeIsDST :: DateTime  a -> Int ->  IO Bool-dateTimeIsDST _obj country -  = withBoolResult $-    withObjectRef "dateTimeIsDST" _obj $ \cobj__obj -> -    wxDateTime_IsDST cobj__obj  (toCInt country)  -foreign import ccall "wxDateTime_IsDST" wxDateTime_IsDST :: Ptr (TDateTime a) -> CInt -> IO CBool---- | usage: (@dateTimeIsDSTApplicable year country@).-dateTimeIsDSTApplicable :: Int -> Int ->  IO Bool-dateTimeIsDSTApplicable year country -  = withBoolResult $-    wxDateTime_IsDSTApplicable (toCInt year)  (toCInt country)  -foreign import ccall "wxDateTime_IsDSTApplicable" wxDateTime_IsDSTApplicable :: CInt -> CInt -> IO CBool---- | usage: (@dateTimeIsEarlierThan obj datetime@).-dateTimeIsEarlierThan :: DateTime  a -> Ptr  b ->  IO Bool-dateTimeIsEarlierThan _obj datetime -  = withBoolResult $-    withObjectRef "dateTimeIsEarlierThan" _obj $ \cobj__obj -> -    wxDateTime_IsEarlierThan cobj__obj  datetime  -foreign import ccall "wxDateTime_IsEarlierThan" wxDateTime_IsEarlierThan :: Ptr (TDateTime a) -> Ptr  b -> IO CBool---- | usage: (@dateTimeIsEqualTo obj datetime@).-dateTimeIsEqualTo :: DateTime  a -> Ptr  b ->  IO Bool-dateTimeIsEqualTo _obj datetime -  = withBoolResult $-    withObjectRef "dateTimeIsEqualTo" _obj $ \cobj__obj -> -    wxDateTime_IsEqualTo cobj__obj  datetime  -foreign import ccall "wxDateTime_IsEqualTo" wxDateTime_IsEqualTo :: Ptr (TDateTime a) -> Ptr  b -> IO CBool---- | usage: (@dateTimeIsEqualUpTo obj dt ts@).-dateTimeIsEqualUpTo :: DateTime  a -> DateTime  b -> Ptr  c ->  IO Bool-dateTimeIsEqualUpTo _obj dt ts -  = withBoolResult $-    withObjectRef "dateTimeIsEqualUpTo" _obj $ \cobj__obj -> -    withObjectPtr dt $ \cobj_dt -> -    wxDateTime_IsEqualUpTo cobj__obj  cobj_dt  ts  -foreign import ccall "wxDateTime_IsEqualUpTo" wxDateTime_IsEqualUpTo :: Ptr (TDateTime a) -> Ptr (TDateTime b) -> Ptr  c -> IO CBool---- | usage: (@dateTimeIsLaterThan obj datetime@).-dateTimeIsLaterThan :: DateTime  a -> Ptr  b ->  IO Bool-dateTimeIsLaterThan _obj datetime -  = withBoolResult $-    withObjectRef "dateTimeIsLaterThan" _obj $ \cobj__obj -> -    wxDateTime_IsLaterThan cobj__obj  datetime  -foreign import ccall "wxDateTime_IsLaterThan" wxDateTime_IsLaterThan :: Ptr (TDateTime a) -> Ptr  b -> IO CBool---- | usage: (@dateTimeIsLeapYear year cal@).-dateTimeIsLeapYear :: Int -> Int ->  IO Bool-dateTimeIsLeapYear year cal -  = withBoolResult $-    wxDateTime_IsLeapYear (toCInt year)  (toCInt cal)  -foreign import ccall "wxDateTime_IsLeapYear" wxDateTime_IsLeapYear :: CInt -> CInt -> IO CBool---- | usage: (@dateTimeIsSameDate obj dt@).-dateTimeIsSameDate :: DateTime  a -> DateTime  b ->  IO Bool-dateTimeIsSameDate _obj dt -  = withBoolResult $-    withObjectRef "dateTimeIsSameDate" _obj $ \cobj__obj -> -    withObjectPtr dt $ \cobj_dt -> -    wxDateTime_IsSameDate cobj__obj  cobj_dt  -foreign import ccall "wxDateTime_IsSameDate" wxDateTime_IsSameDate :: Ptr (TDateTime a) -> Ptr (TDateTime b) -> IO CBool---- | usage: (@dateTimeIsSameTime obj dt@).-dateTimeIsSameTime :: DateTime  a -> DateTime  b ->  IO Bool-dateTimeIsSameTime _obj dt -  = withBoolResult $-    withObjectRef "dateTimeIsSameTime" _obj $ \cobj__obj -> -    withObjectPtr dt $ \cobj_dt -> -    wxDateTime_IsSameTime cobj__obj  cobj_dt  -foreign import ccall "wxDateTime_IsSameTime" wxDateTime_IsSameTime :: Ptr (TDateTime a) -> Ptr (TDateTime b) -> IO CBool---- | usage: (@dateTimeIsStrictlyBetween obj t1 t2@).-dateTimeIsStrictlyBetween :: DateTime  a -> DateTime  b -> DateTime  c ->  IO Bool-dateTimeIsStrictlyBetween _obj t1 t2 -  = withBoolResult $-    withObjectRef "dateTimeIsStrictlyBetween" _obj $ \cobj__obj -> -    withObjectPtr t1 $ \cobj_t1 -> -    withObjectPtr t2 $ \cobj_t2 -> -    wxDateTime_IsStrictlyBetween cobj__obj  cobj_t1  cobj_t2  -foreign import ccall "wxDateTime_IsStrictlyBetween" wxDateTime_IsStrictlyBetween :: Ptr (TDateTime a) -> Ptr (TDateTime b) -> Ptr (TDateTime c) -> IO CBool---- | usage: (@dateTimeIsValid obj@).-dateTimeIsValid :: DateTime  a ->  IO Bool-dateTimeIsValid _obj -  = withBoolResult $-    withObjectRef "dateTimeIsValid" _obj $ \cobj__obj -> -    wxDateTime_IsValid cobj__obj  -foreign import ccall "wxDateTime_IsValid" wxDateTime_IsValid :: Ptr (TDateTime a) -> IO CBool---- | usage: (@dateTimeIsWestEuropeanCountry country@).-dateTimeIsWestEuropeanCountry :: Int ->  IO Bool-dateTimeIsWestEuropeanCountry country -  = withBoolResult $-    wxDateTime_IsWestEuropeanCountry (toCInt country)  -foreign import ccall "wxDateTime_IsWestEuropeanCountry" wxDateTime_IsWestEuropeanCountry :: CInt -> IO CBool---- | usage: (@dateTimeIsWorkDay obj country@).-dateTimeIsWorkDay :: DateTime  a -> Int ->  IO Bool-dateTimeIsWorkDay _obj country -  = withBoolResult $-    withObjectRef "dateTimeIsWorkDay" _obj $ \cobj__obj -> -    wxDateTime_IsWorkDay cobj__obj  (toCInt country)  -foreign import ccall "wxDateTime_IsWorkDay" wxDateTime_IsWorkDay :: Ptr (TDateTime a) -> CInt -> IO CBool---- | usage: (@dateTimeMakeGMT obj noDST@).-dateTimeMakeGMT :: DateTime  a -> Int ->  IO ()-dateTimeMakeGMT _obj noDST -  = withObjectRef "dateTimeMakeGMT" _obj $ \cobj__obj -> -    wxDateTime_MakeGMT cobj__obj  (toCInt noDST)  -foreign import ccall "wxDateTime_MakeGMT" wxDateTime_MakeGMT :: Ptr (TDateTime a) -> CInt -> IO ()---- | usage: (@dateTimeMakeTimezone obj tz noDST@).-dateTimeMakeTimezone :: DateTime  a -> Int -> Int ->  IO ()-dateTimeMakeTimezone _obj tz noDST -  = withObjectRef "dateTimeMakeTimezone" _obj $ \cobj__obj -> -    wxDateTime_MakeTimezone cobj__obj  (toCInt tz)  (toCInt noDST)  -foreign import ccall "wxDateTime_MakeTimezone" wxDateTime_MakeTimezone :: Ptr (TDateTime a) -> CInt -> CInt -> IO ()---- | usage: (@dateTimeNow dt@).-dateTimeNow :: DateTime  a ->  IO ()-dateTimeNow dt -  = withObjectRef "dateTimeNow" dt $ \cobj_dt -> -    wxDateTime_Now cobj_dt  -foreign import ccall "wxDateTime_Now" wxDateTime_Now :: Ptr (TDateTime a) -> IO ()---- | usage: (@dateTimeParseDate obj date@).-dateTimeParseDate :: DateTime  a -> Ptr  b ->  IO (Ptr  ())-dateTimeParseDate _obj date -  = withObjectRef "dateTimeParseDate" _obj $ \cobj__obj -> -    wxDateTime_ParseDate cobj__obj  date  -foreign import ccall "wxDateTime_ParseDate" wxDateTime_ParseDate :: Ptr (TDateTime a) -> Ptr  b -> IO (Ptr  ())---- | usage: (@dateTimeParseDateTime obj datetime@).-dateTimeParseDateTime :: DateTime  a -> Ptr  b ->  IO (Ptr  ())-dateTimeParseDateTime _obj datetime -  = withObjectRef "dateTimeParseDateTime" _obj $ \cobj__obj -> -    wxDateTime_ParseDateTime cobj__obj  datetime  -foreign import ccall "wxDateTime_ParseDateTime" wxDateTime_ParseDateTime :: Ptr (TDateTime a) -> Ptr  b -> IO (Ptr  ())---- | usage: (@dateTimeParseFormat obj date format dateDef@).-dateTimeParseFormat :: DateTime  a -> Ptr  b -> Ptr  c -> Ptr  d ->  IO (Ptr  ())-dateTimeParseFormat _obj date format dateDef -  = withObjectRef "dateTimeParseFormat" _obj $ \cobj__obj -> -    wxDateTime_ParseFormat cobj__obj  date  format  dateDef  -foreign import ccall "wxDateTime_ParseFormat" wxDateTime_ParseFormat :: Ptr (TDateTime a) -> Ptr  b -> Ptr  c -> Ptr  d -> IO (Ptr  ())---- | usage: (@dateTimeParseRfc822Date obj date@).-dateTimeParseRfc822Date :: DateTime  a -> Ptr  b ->  IO (Ptr  ())-dateTimeParseRfc822Date _obj date -  = withObjectRef "dateTimeParseRfc822Date" _obj $ \cobj__obj -> -    wxDateTime_ParseRfc822Date cobj__obj  date  -foreign import ccall "wxDateTime_ParseRfc822Date" wxDateTime_ParseRfc822Date :: Ptr (TDateTime a) -> Ptr  b -> IO (Ptr  ())---- | usage: (@dateTimeParseTime obj time@).-dateTimeParseTime :: DateTime  a -> Time  b ->  IO (Ptr  ())-dateTimeParseTime _obj time -  = withObjectRef "dateTimeParseTime" _obj $ \cobj__obj -> -    withObjectPtr time $ \cobj_time -> -    wxDateTime_ParseTime cobj__obj  cobj_time  -foreign import ccall "wxDateTime_ParseTime" wxDateTime_ParseTime :: Ptr (TDateTime a) -> Ptr (TTime b) -> IO (Ptr  ())---- | usage: (@dateTimeResetTime obj@).-dateTimeResetTime :: DateTime  a ->  IO ()-dateTimeResetTime _obj -  = withObjectRef "dateTimeResetTime" _obj $ \cobj__obj -> -    wxDateTime_ResetTime cobj__obj  -foreign import ccall "wxDateTime_ResetTime" wxDateTime_ResetTime :: Ptr (TDateTime a) -> IO ()---- | usage: (@dateTimeSet obj day month year hour minute second millisec@).-dateTimeSet :: DateTime  a -> Int -> Int -> Int -> Int -> Int -> Int -> Int ->  IO ()-dateTimeSet _obj day month year hour minute second millisec -  = withObjectRef "dateTimeSet" _obj $ \cobj__obj -> -    wxDateTime_Set cobj__obj  (toCInt day)  (toCInt month)  (toCInt year)  (toCInt hour)  (toCInt minute)  (toCInt second)  (toCInt millisec)  -foreign import ccall "wxDateTime_Set" wxDateTime_Set :: Ptr (TDateTime a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO ()---- | usage: (@dateTimeSetCountry country@).-dateTimeSetCountry :: Int ->  IO ()-dateTimeSetCountry country -  = wxDateTime_SetCountry (toCInt country)  -foreign import ccall "wxDateTime_SetCountry" wxDateTime_SetCountry :: CInt -> IO ()---- | usage: (@dateTimeSetDay obj day@).-dateTimeSetDay :: DateTime  a -> Int ->  IO ()-dateTimeSetDay _obj day -  = withObjectRef "dateTimeSetDay" _obj $ \cobj__obj -> -    wxDateTime_SetDay cobj__obj  (toCInt day)  -foreign import ccall "wxDateTime_SetDay" wxDateTime_SetDay :: Ptr (TDateTime a) -> CInt -> IO ()---- | usage: (@dateTimeSetHour obj hour@).-dateTimeSetHour :: DateTime  a -> Int ->  IO ()-dateTimeSetHour _obj hour -  = withObjectRef "dateTimeSetHour" _obj $ \cobj__obj -> -    wxDateTime_SetHour cobj__obj  (toCInt hour)  -foreign import ccall "wxDateTime_SetHour" wxDateTime_SetHour :: Ptr (TDateTime a) -> CInt -> IO ()---- | usage: (@dateTimeSetMillisecond obj millisecond@).-dateTimeSetMillisecond :: DateTime  a -> Int ->  IO ()-dateTimeSetMillisecond _obj millisecond -  = withObjectRef "dateTimeSetMillisecond" _obj $ \cobj__obj -> -    wxDateTime_SetMillisecond cobj__obj  (toCInt millisecond)  -foreign import ccall "wxDateTime_SetMillisecond" wxDateTime_SetMillisecond :: Ptr (TDateTime a) -> CInt -> IO ()---- | usage: (@dateTimeSetMinute obj minute@).-dateTimeSetMinute :: DateTime  a -> Int ->  IO ()-dateTimeSetMinute _obj minute -  = withObjectRef "dateTimeSetMinute" _obj $ \cobj__obj -> -    wxDateTime_SetMinute cobj__obj  (toCInt minute)  -foreign import ccall "wxDateTime_SetMinute" wxDateTime_SetMinute :: Ptr (TDateTime a) -> CInt -> IO ()---- | usage: (@dateTimeSetMonth obj month@).-dateTimeSetMonth :: DateTime  a -> Int ->  IO ()-dateTimeSetMonth _obj month -  = withObjectRef "dateTimeSetMonth" _obj $ \cobj__obj -> -    wxDateTime_SetMonth cobj__obj  (toCInt month)  -foreign import ccall "wxDateTime_SetMonth" wxDateTime_SetMonth :: Ptr (TDateTime a) -> CInt -> IO ()---- | usage: (@dateTimeSetSecond obj second@).-dateTimeSetSecond :: DateTime  a -> Int ->  IO ()-dateTimeSetSecond _obj second -  = withObjectRef "dateTimeSetSecond" _obj $ \cobj__obj -> -    wxDateTime_SetSecond cobj__obj  (toCInt second)  -foreign import ccall "wxDateTime_SetSecond" wxDateTime_SetSecond :: Ptr (TDateTime a) -> CInt -> IO ()---- | usage: (@dateTimeSetTime obj hour minute second millisec@).-dateTimeSetTime :: DateTime  a -> Int -> Int -> Int -> Int ->  IO ()-dateTimeSetTime _obj hour minute second millisec -  = withObjectRef "dateTimeSetTime" _obj $ \cobj__obj -> -    wxDateTime_SetTime cobj__obj  (toCInt hour)  (toCInt minute)  (toCInt second)  (toCInt millisec)  -foreign import ccall "wxDateTime_SetTime" wxDateTime_SetTime :: Ptr (TDateTime a) -> CInt -> CInt -> CInt -> CInt -> IO ()---- | usage: (@dateTimeSetToCurrent obj@).-dateTimeSetToCurrent :: DateTime  a ->  IO ()-dateTimeSetToCurrent _obj -  = withObjectRef "dateTimeSetToCurrent" _obj $ \cobj__obj -> -    wxDateTime_SetToCurrent cobj__obj  -foreign import ccall "wxDateTime_SetToCurrent" wxDateTime_SetToCurrent :: Ptr (TDateTime a) -> IO ()---- | usage: (@dateTimeSetToLastMonthDay obj month year@).-dateTimeSetToLastMonthDay :: DateTime  a -> Int -> Int ->  IO ()-dateTimeSetToLastMonthDay _obj month year -  = withObjectRef "dateTimeSetToLastMonthDay" _obj $ \cobj__obj -> -    wxDateTime_SetToLastMonthDay cobj__obj  (toCInt month)  (toCInt year)  -foreign import ccall "wxDateTime_SetToLastMonthDay" wxDateTime_SetToLastMonthDay :: Ptr (TDateTime a) -> CInt -> CInt -> IO ()---- | usage: (@dateTimeSetToLastWeekDay obj weekday month year@).-dateTimeSetToLastWeekDay :: DateTime  a -> Int -> Int -> Int ->  IO Bool-dateTimeSetToLastWeekDay _obj weekday month year -  = withBoolResult $-    withObjectRef "dateTimeSetToLastWeekDay" _obj $ \cobj__obj -> -    wxDateTime_SetToLastWeekDay cobj__obj  (toCInt weekday)  (toCInt month)  (toCInt year)  -foreign import ccall "wxDateTime_SetToLastWeekDay" wxDateTime_SetToLastWeekDay :: Ptr (TDateTime a) -> CInt -> CInt -> CInt -> IO CBool---- | usage: (@dateTimeSetToNextWeekDay obj weekday@).-dateTimeSetToNextWeekDay :: DateTime  a -> Int ->  IO ()-dateTimeSetToNextWeekDay _obj weekday -  = withObjectRef "dateTimeSetToNextWeekDay" _obj $ \cobj__obj -> -    wxDateTime_SetToNextWeekDay cobj__obj  (toCInt weekday)  -foreign import ccall "wxDateTime_SetToNextWeekDay" wxDateTime_SetToNextWeekDay :: Ptr (TDateTime a) -> CInt -> IO ()---- | usage: (@dateTimeSetToPrevWeekDay obj weekday@).-dateTimeSetToPrevWeekDay :: DateTime  a -> Int ->  IO ()-dateTimeSetToPrevWeekDay _obj weekday -  = withObjectRef "dateTimeSetToPrevWeekDay" _obj $ \cobj__obj -> -    wxDateTime_SetToPrevWeekDay cobj__obj  (toCInt weekday)  -foreign import ccall "wxDateTime_SetToPrevWeekDay" wxDateTime_SetToPrevWeekDay :: Ptr (TDateTime a) -> CInt -> IO ()---- | usage: (@dateTimeSetToWeekDay obj weekday n month year@).-dateTimeSetToWeekDay :: DateTime  a -> Int -> Int -> Int -> Int ->  IO Bool-dateTimeSetToWeekDay _obj weekday n month year -  = withBoolResult $-    withObjectRef "dateTimeSetToWeekDay" _obj $ \cobj__obj -> -    wxDateTime_SetToWeekDay cobj__obj  (toCInt weekday)  (toCInt n)  (toCInt month)  (toCInt year)  -foreign import ccall "wxDateTime_SetToWeekDay" wxDateTime_SetToWeekDay :: Ptr (TDateTime a) -> CInt -> CInt -> CInt -> CInt -> IO CBool---- | usage: (@dateTimeSetToWeekDayInSameWeek obj weekday@).-dateTimeSetToWeekDayInSameWeek :: DateTime  a -> Int ->  IO ()-dateTimeSetToWeekDayInSameWeek _obj weekday -  = withObjectRef "dateTimeSetToWeekDayInSameWeek" _obj $ \cobj__obj -> -    wxDateTime_SetToWeekDayInSameWeek cobj__obj  (toCInt weekday)  -foreign import ccall "wxDateTime_SetToWeekDayInSameWeek" wxDateTime_SetToWeekDayInSameWeek :: Ptr (TDateTime a) -> CInt -> IO ()---- | usage: (@dateTimeSetYear obj year@).-dateTimeSetYear :: DateTime  a -> Int ->  IO ()-dateTimeSetYear _obj year -  = withObjectRef "dateTimeSetYear" _obj $ \cobj__obj -> -    wxDateTime_SetYear cobj__obj  (toCInt year)  -foreign import ccall "wxDateTime_SetYear" wxDateTime_SetYear :: Ptr (TDateTime a) -> CInt -> IO ()---- | usage: (@dateTimeSubtractDate obj diff@).-dateTimeSubtractDate :: DateTime  a -> Ptr  b ->  IO (DateTime  ())-dateTimeSubtractDate _obj diff -  = withRefDateTime $ \pref -> -    withObjectRef "dateTimeSubtractDate" _obj $ \cobj__obj -> -    wxDateTime_SubtractDate cobj__obj  diff   pref-foreign import ccall "wxDateTime_SubtractDate" wxDateTime_SubtractDate :: Ptr (TDateTime a) -> Ptr  b -> Ptr (TDateTime ()) -> IO ()---- | usage: (@dateTimeSubtractTime obj diff@).-dateTimeSubtractTime :: DateTime  a -> Ptr  b ->  IO (DateTime  ())-dateTimeSubtractTime _obj diff -  = withRefDateTime $ \pref -> -    withObjectRef "dateTimeSubtractTime" _obj $ \cobj__obj -> -    wxDateTime_SubtractTime cobj__obj  diff   pref-foreign import ccall "wxDateTime_SubtractTime" wxDateTime_SubtractTime :: Ptr (TDateTime a) -> Ptr  b -> Ptr (TDateTime ()) -> IO ()---- | usage: (@dateTimeToGMT obj noDST@).-dateTimeToGMT :: DateTime  a -> Int ->  IO ()-dateTimeToGMT _obj noDST -  = withObjectRef "dateTimeToGMT" _obj $ \cobj__obj -> -    wxDateTime_ToGMT cobj__obj  (toCInt noDST)  -foreign import ccall "wxDateTime_ToGMT" wxDateTime_ToGMT :: Ptr (TDateTime a) -> CInt -> IO ()---- | usage: (@dateTimeToTimezone obj tz noDST@).-dateTimeToTimezone :: DateTime  a -> Int -> Int ->  IO ()-dateTimeToTimezone _obj tz noDST -  = withObjectRef "dateTimeToTimezone" _obj $ \cobj__obj -> -    wxDateTime_ToTimezone cobj__obj  (toCInt tz)  (toCInt noDST)  -foreign import ccall "wxDateTime_ToTimezone" wxDateTime_ToTimezone :: Ptr (TDateTime a) -> CInt -> CInt -> IO ()---- | usage: (@dateTimeToday dt@).-dateTimeToday :: DateTime  a ->  IO ()-dateTimeToday dt -  = withObjectRef "dateTimeToday" dt $ \cobj_dt -> -    wxDateTime_Today cobj_dt  -foreign import ccall "wxDateTime_Today" wxDateTime_Today :: Ptr (TDateTime a) -> IO ()---- | usage: (@dateTimeUNow dt@).-dateTimeUNow :: DateTime  a ->  IO ()-dateTimeUNow dt -  = withObjectRef "dateTimeUNow" dt $ \cobj_dt -> -    wxDateTime_UNow cobj_dt  -foreign import ccall "wxDateTime_UNow" wxDateTime_UNow :: Ptr (TDateTime a) -> IO ()---- | usage: (@dateTimewxDateTime hilong lolong@).-dateTimewxDateTime :: Int -> Int ->  IO (Ptr  ())-dateTimewxDateTime hilong lolong -  = wxDateTime_wxDateTime (toCInt hilong)  (toCInt lolong)  -foreign import ccall "wxDateTime_wxDateTime" wxDateTime_wxDateTime :: CInt -> CInt -> IO (Ptr  ())---- | usage: (@dbClose db@).-dbClose :: Db  a ->  IO ()-dbClose db -  = withObjectRef "dbClose" db $ \cobj_db -> -    wxDb_Close cobj_db  -foreign import ccall "wxDb_Close" wxDb_Close :: Ptr (TDb a) -> IO ()---- | usage: (@dbCloseConnections@).-dbCloseConnections ::  IO ()-dbCloseConnections -  = wxDb_CloseConnections -foreign import ccall "wxDb_CloseConnections" wxDb_CloseConnections :: IO ()---- | usage: (@dbColInfArrayDelete self@).-dbColInfArrayDelete :: DbColInfArray  a ->  IO ()-dbColInfArrayDelete self -  = withObjectRef "dbColInfArrayDelete" self $ \cobj_self -> -    wxDbColInfArray_Delete cobj_self  -foreign import ccall "wxDbColInfArray_Delete" wxDbColInfArray_Delete :: Ptr (TDbColInfArray a) -> IO ()---- | usage: (@dbColInfArrayGetColInf self index@).-dbColInfArrayGetColInf :: DbColInfArray  a -> Int ->  IO (DbColInf  ())-dbColInfArrayGetColInf self index -  = withObjectResult $-    withObjectRef "dbColInfArrayGetColInf" self $ \cobj_self -> -    wxDbColInfArray_GetColInf cobj_self  (toCInt index)  -foreign import ccall "wxDbColInfArray_GetColInf" wxDbColInfArray_GetColInf :: Ptr (TDbColInfArray a) -> CInt -> IO (Ptr (TDbColInf ()))---- | usage: (@dbColInfGetBufferLength self@).-dbColInfGetBufferLength :: DbColInf  a ->  IO Int-dbColInfGetBufferLength self -  = withIntResult $-    withObjectRef "dbColInfGetBufferLength" self $ \cobj_self -> -    wxDbColInf_GetBufferLength cobj_self  -foreign import ccall "wxDbColInf_GetBufferLength" wxDbColInf_GetBufferLength :: Ptr (TDbColInf a) -> IO CInt---- | usage: (@dbColInfGetCatalog self@).-dbColInfGetCatalog :: DbColInf  a ->  IO (String)-dbColInfGetCatalog self -  = withManagedStringResult $-    withObjectRef "dbColInfGetCatalog" self $ \cobj_self -> -    wxDbColInf_GetCatalog cobj_self  -foreign import ccall "wxDbColInf_GetCatalog" wxDbColInf_GetCatalog :: Ptr (TDbColInf a) -> IO (Ptr (TWxString ()))---- | usage: (@dbColInfGetColName self@).-dbColInfGetColName :: DbColInf  a ->  IO (String)-dbColInfGetColName self -  = withManagedStringResult $-    withObjectRef "dbColInfGetColName" self $ \cobj_self -> -    wxDbColInf_GetColName cobj_self  -foreign import ccall "wxDbColInf_GetColName" wxDbColInf_GetColName :: Ptr (TDbColInf a) -> IO (Ptr (TWxString ()))---- | usage: (@dbColInfGetColumnSize self@).-dbColInfGetColumnSize :: DbColInf  a ->  IO Int-dbColInfGetColumnSize self -  = withIntResult $-    withObjectRef "dbColInfGetColumnSize" self $ \cobj_self -> -    wxDbColInf_GetColumnSize cobj_self  -foreign import ccall "wxDbColInf_GetColumnSize" wxDbColInf_GetColumnSize :: Ptr (TDbColInf a) -> IO CInt---- | usage: (@dbColInfGetDbDataType self@).-dbColInfGetDbDataType :: DbColInf  a ->  IO Int-dbColInfGetDbDataType self -  = withIntResult $-    withObjectRef "dbColInfGetDbDataType" self $ \cobj_self -> -    wxDbColInf_GetDbDataType cobj_self  -foreign import ccall "wxDbColInf_GetDbDataType" wxDbColInf_GetDbDataType :: Ptr (TDbColInf a) -> IO CInt---- | usage: (@dbColInfGetDecimalDigits self@).-dbColInfGetDecimalDigits :: DbColInf  a ->  IO Int-dbColInfGetDecimalDigits self -  = withIntResult $-    withObjectRef "dbColInfGetDecimalDigits" self $ \cobj_self -> -    wxDbColInf_GetDecimalDigits cobj_self  -foreign import ccall "wxDbColInf_GetDecimalDigits" wxDbColInf_GetDecimalDigits :: Ptr (TDbColInf a) -> IO CInt---- | usage: (@dbColInfGetFkCol self@).-dbColInfGetFkCol :: DbColInf  a ->  IO Int-dbColInfGetFkCol self -  = withIntResult $-    withObjectRef "dbColInfGetFkCol" self $ \cobj_self -> -    wxDbColInf_GetFkCol cobj_self  -foreign import ccall "wxDbColInf_GetFkCol" wxDbColInf_GetFkCol :: Ptr (TDbColInf a) -> IO CInt---- | usage: (@dbColInfGetFkTableName self@).-dbColInfGetFkTableName :: DbColInf  a ->  IO (String)-dbColInfGetFkTableName self -  = withManagedStringResult $-    withObjectRef "dbColInfGetFkTableName" self $ \cobj_self -> -    wxDbColInf_GetFkTableName cobj_self  -foreign import ccall "wxDbColInf_GetFkTableName" wxDbColInf_GetFkTableName :: Ptr (TDbColInf a) -> IO (Ptr (TWxString ()))---- | usage: (@dbColInfGetNumPrecRadix self@).-dbColInfGetNumPrecRadix :: DbColInf  a ->  IO Int-dbColInfGetNumPrecRadix self -  = withIntResult $-    withObjectRef "dbColInfGetNumPrecRadix" self $ \cobj_self -> -    wxDbColInf_GetNumPrecRadix cobj_self  -foreign import ccall "wxDbColInf_GetNumPrecRadix" wxDbColInf_GetNumPrecRadix :: Ptr (TDbColInf a) -> IO CInt---- | usage: (@dbColInfGetPkCol self@).-dbColInfGetPkCol :: DbColInf  a ->  IO Int-dbColInfGetPkCol self -  = withIntResult $-    withObjectRef "dbColInfGetPkCol" self $ \cobj_self -> -    wxDbColInf_GetPkCol cobj_self  -foreign import ccall "wxDbColInf_GetPkCol" wxDbColInf_GetPkCol :: Ptr (TDbColInf a) -> IO CInt---- | usage: (@dbColInfGetPkTableName self@).-dbColInfGetPkTableName :: DbColInf  a ->  IO (String)-dbColInfGetPkTableName self -  = withManagedStringResult $-    withObjectRef "dbColInfGetPkTableName" self $ \cobj_self -> -    wxDbColInf_GetPkTableName cobj_self  -foreign import ccall "wxDbColInf_GetPkTableName" wxDbColInf_GetPkTableName :: Ptr (TDbColInf a) -> IO (Ptr (TWxString ()))---- | usage: (@dbColInfGetRemarks self@).-dbColInfGetRemarks :: DbColInf  a ->  IO (String)-dbColInfGetRemarks self -  = withManagedStringResult $-    withObjectRef "dbColInfGetRemarks" self $ \cobj_self -> -    wxDbColInf_GetRemarks cobj_self  -foreign import ccall "wxDbColInf_GetRemarks" wxDbColInf_GetRemarks :: Ptr (TDbColInf a) -> IO (Ptr (TWxString ()))---- | usage: (@dbColInfGetSchema self@).-dbColInfGetSchema :: DbColInf  a ->  IO (String)-dbColInfGetSchema self -  = withManagedStringResult $-    withObjectRef "dbColInfGetSchema" self $ \cobj_self -> -    wxDbColInf_GetSchema cobj_self  -foreign import ccall "wxDbColInf_GetSchema" wxDbColInf_GetSchema :: Ptr (TDbColInf a) -> IO (Ptr (TWxString ()))---- | usage: (@dbColInfGetSqlDataType self@).-dbColInfGetSqlDataType :: DbColInf  a ->  IO Int-dbColInfGetSqlDataType self -  = withIntResult $-    withObjectRef "dbColInfGetSqlDataType" self $ \cobj_self -> -    wxDbColInf_GetSqlDataType cobj_self  -foreign import ccall "wxDbColInf_GetSqlDataType" wxDbColInf_GetSqlDataType :: Ptr (TDbColInf a) -> IO CInt---- | usage: (@dbColInfGetTableName self@).-dbColInfGetTableName :: DbColInf  a ->  IO (String)-dbColInfGetTableName self -  = withManagedStringResult $-    withObjectRef "dbColInfGetTableName" self $ \cobj_self -> -    wxDbColInf_GetTableName cobj_self  -foreign import ccall "wxDbColInf_GetTableName" wxDbColInf_GetTableName :: Ptr (TDbColInf a) -> IO (Ptr (TWxString ()))---- | usage: (@dbColInfGetTypeName self@).-dbColInfGetTypeName :: DbColInf  a ->  IO (String)-dbColInfGetTypeName self -  = withManagedStringResult $-    withObjectRef "dbColInfGetTypeName" self $ \cobj_self -> -    wxDbColInf_GetTypeName cobj_self  -foreign import ccall "wxDbColInf_GetTypeName" wxDbColInf_GetTypeName :: Ptr (TDbColInf a) -> IO (Ptr (TWxString ()))---- | usage: (@dbColInfIsNullable self@).-dbColInfIsNullable :: DbColInf  a ->  IO Bool-dbColInfIsNullable self -  = withBoolResult $-    withObjectRef "dbColInfIsNullable" self $ \cobj_self -> -    wxDbColInf_IsNullable cobj_self  -foreign import ccall "wxDbColInf_IsNullable" wxDbColInf_IsNullable :: Ptr (TDbColInf a) -> IO CBool---- | usage: (@dbCommitTrans db@).-dbCommitTrans :: Db  a ->  IO Bool-dbCommitTrans db -  = withBoolResult $-    withObjectRef "dbCommitTrans" db $ \cobj_db -> -    wxDb_CommitTrans cobj_db  -foreign import ccall "wxDb_CommitTrans" wxDb_CommitTrans :: Ptr (TDb a) -> IO CBool---- | usage: (@dbConnectInfAllocHenv self@).-dbConnectInfAllocHenv :: DbConnectInf  a ->  IO ()-dbConnectInfAllocHenv self -  = withObjectRef "dbConnectInfAllocHenv" self $ \cobj_self -> -    wxDbConnectInf_AllocHenv cobj_self  -foreign import ccall "wxDbConnectInf_AllocHenv" wxDbConnectInf_AllocHenv :: Ptr (TDbConnectInf a) -> IO ()---- | usage: (@dbConnectInfCreate henv dsn userID password defaultDir description fileType@).-dbConnectInfCreate :: HENV  a -> String -> String -> String -> String -> String -> String ->  IO (DbConnectInf  ())-dbConnectInfCreate henv dsn userID password defaultDir description fileType -  = withObjectResult $-    withObjectPtr henv $ \cobj_henv -> -    withStringPtr dsn $ \cobj_dsn -> -    withStringPtr userID $ \cobj_userID -> -    withStringPtr password $ \cobj_password -> -    withStringPtr defaultDir $ \cobj_defaultDir -> -    withStringPtr description $ \cobj_description -> -    withStringPtr fileType $ \cobj_fileType -> -    wxDbConnectInf_Create cobj_henv  cobj_dsn  cobj_userID  cobj_password  cobj_defaultDir  cobj_description  cobj_fileType  -foreign import ccall "wxDbConnectInf_Create" wxDbConnectInf_Create :: Ptr (THENV a) -> Ptr (TWxString b) -> Ptr (TWxString c) -> Ptr (TWxString d) -> Ptr (TWxString e) -> Ptr (TWxString f) -> Ptr (TWxString g) -> IO (Ptr (TDbConnectInf ()))---- | usage: (@dbConnectInfDelete self@).-dbConnectInfDelete :: DbConnectInf  a ->  IO ()-dbConnectInfDelete self -  = withObjectRef "dbConnectInfDelete" self $ \cobj_self -> -    wxDbConnectInf_Delete cobj_self  -foreign import ccall "wxDbConnectInf_Delete" wxDbConnectInf_Delete :: Ptr (TDbConnectInf a) -> IO ()---- | usage: (@dbConnectInfFreeHenv self@).-dbConnectInfFreeHenv :: DbConnectInf  a ->  IO ()-dbConnectInfFreeHenv self -  = withObjectRef "dbConnectInfFreeHenv" self $ \cobj_self -> -    wxDbConnectInf_FreeHenv cobj_self  -foreign import ccall "wxDbConnectInf_FreeHenv" wxDbConnectInf_FreeHenv :: Ptr (TDbConnectInf a) -> IO ()---- | usage: (@dbConnectInfGetHenv self@).-dbConnectInfGetHenv :: DbConnectInf  a ->  IO (HENV  ())-dbConnectInfGetHenv self -  = withObjectResult $-    withObjectRef "dbConnectInfGetHenv" self $ \cobj_self -> -    wxDbConnectInf_GetHenv cobj_self  -foreign import ccall "wxDbConnectInf_GetHenv" wxDbConnectInf_GetHenv :: Ptr (TDbConnectInf a) -> IO (Ptr (THENV ()))---- | usage: (@dbConnectionsInUse@).-dbConnectionsInUse ::  IO Int-dbConnectionsInUse -  = withIntResult $-    wxDb_ConnectionsInUse -foreign import ccall "wxDb_ConnectionsInUse" wxDb_ConnectionsInUse :: IO CInt---- | usage: (@dbCreate henv fwdOnlyCursors@).-dbCreate :: HENV  a -> Bool ->  IO (Db  ())-dbCreate henv fwdOnlyCursors -  = withObjectResult $-    withObjectPtr henv $ \cobj_henv -> -    wxDb_Create cobj_henv  (toCBool fwdOnlyCursors)  -foreign import ccall "wxDb_Create" wxDb_Create :: Ptr (THENV a) -> CBool -> IO (Ptr (TDb ()))---- | usage: (@dbDbms db@).-dbDbms :: Db  a ->  IO Int-dbDbms db -  = withIntResult $-    withObjectRef "dbDbms" db $ \cobj_db -> -    wxDb_Dbms cobj_db  -foreign import ccall "wxDb_Dbms" wxDb_Dbms :: Ptr (TDb a) -> IO CInt---- | usage: (@dbDelete db@).-dbDelete :: Db  a ->  IO ()-dbDelete db -  = withObjectRef "dbDelete" db $ \cobj_db -> -    wxDb_Delete cobj_db  -foreign import ccall "wxDb_Delete" wxDb_Delete :: Ptr (TDb a) -> IO ()---- | usage: (@dbExecSql db sql@).-dbExecSql :: Db  a -> String ->  IO Bool-dbExecSql db sql -  = withBoolResult $-    withObjectRef "dbExecSql" db $ \cobj_db -> -    withStringPtr sql $ \cobj_sql -> -    wxDb_ExecSql cobj_db  cobj_sql  -foreign import ccall "wxDb_ExecSql" wxDb_ExecSql :: Ptr (TDb a) -> Ptr (TWxString b) -> IO CBool---- | usage: (@dbFreeConnection db@).-dbFreeConnection :: Db  a ->  IO Bool-dbFreeConnection db -  = withBoolResult $-    withObjectRef "dbFreeConnection" db $ \cobj_db -> -    wxDb_FreeConnection cobj_db  -foreign import ccall "wxDb_FreeConnection" wxDb_FreeConnection :: Ptr (TDb a) -> IO CBool---- | usage: (@dbGetCatalog db userName@).-dbGetCatalog :: Db  a -> String ->  IO (DbInf  ())-dbGetCatalog db userName -  = withObjectResult $-    withObjectRef "dbGetCatalog" db $ \cobj_db -> -    withStringPtr userName $ \cobj_userName -> -    wxDb_GetCatalog cobj_db  cobj_userName  -foreign import ccall "wxDb_GetCatalog" wxDb_GetCatalog :: Ptr (TDb a) -> Ptr (TWxString b) -> IO (Ptr (TDbInf ()))---- | usage: (@dbGetColumnCount db tableName userName@).-dbGetColumnCount :: Db  a -> String -> String ->  IO Int-dbGetColumnCount db tableName userName -  = withIntResult $-    withObjectRef "dbGetColumnCount" db $ \cobj_db -> -    withStringPtr tableName $ \cobj_tableName -> -    withStringPtr userName $ \cobj_userName -> -    wxDb_GetColumnCount cobj_db  cobj_tableName  cobj_userName  -foreign import ccall "wxDb_GetColumnCount" wxDb_GetColumnCount :: Ptr (TDb a) -> Ptr (TWxString b) -> Ptr (TWxString c) -> IO CInt---- | usage: (@dbGetColumns db tableName columnCount userName@).-dbGetColumns :: Db  a -> String -> Ptr CInt -> String ->  IO (DbColInfArray  ())-dbGetColumns db tableName columnCount userName -  = withObjectResult $-    withObjectRef "dbGetColumns" db $ \cobj_db -> -    withStringPtr tableName $ \cobj_tableName -> -    withStringPtr userName $ \cobj_userName -> -    wxDb_GetColumns cobj_db  cobj_tableName  columnCount  cobj_userName  -foreign import ccall "wxDb_GetColumns" wxDb_GetColumns :: Ptr (TDb a) -> Ptr (TWxString b) -> Ptr CInt -> Ptr (TWxString d) -> IO (Ptr (TDbColInfArray ()))---- | usage: (@dbGetConnection connectInf fwdCursorsOnly@).-dbGetConnection :: DbConnectInf  a -> Bool ->  IO (Db  ())-dbGetConnection connectInf fwdCursorsOnly -  = withObjectResult $-    withObjectPtr connectInf $ \cobj_connectInf -> -    wxDb_GetConnection cobj_connectInf  (toCBool fwdCursorsOnly)  -foreign import ccall "wxDb_GetConnection" wxDb_GetConnection :: Ptr (TDbConnectInf a) -> CBool -> IO (Ptr (TDb ()))---- | usage: (@dbGetData db column ctype wxdata dataLen usedLen@).-dbGetData :: Db  a -> Int -> Int -> Ptr  d -> Int -> Ptr CInt ->  IO Bool-dbGetData db column ctype wxdata dataLen usedLen -  = withBoolResult $-    withObjectRef "dbGetData" db $ \cobj_db -> -    wxDb_GetData cobj_db  (toCInt column)  (toCInt ctype)  wxdata  (toCInt dataLen)  usedLen  -foreign import ccall "wxDb_GetData" wxDb_GetData :: Ptr (TDb a) -> CInt -> CInt -> Ptr  d -> CInt -> Ptr CInt -> IO CBool--{- |  usage: @dbGetDataBinary db column asChars pbuffer plen@. Returns binary data to given buffer (that must be deallocated using 'wxcFree'). The return length is 'wxSQL_NULL_DATA' if @NULL@ data was encountered. If @asChars@ is 'True', the data is returned as characters, true binary data is than returned as a string of hex values (@3E002C...@).* -}-dbGetDataBinary :: Db  a -> Int -> Bool -> Ptr  d -> Ptr CInt ->  IO Bool-dbGetDataBinary db column asChars pbuf len -  = withBoolResult $-    withObjectRef "dbGetDataBinary" db $ \cobj_db -> -    wxDb_GetDataBinary cobj_db  (toCInt column)  (toCBool asChars)  pbuf  len  -foreign import ccall "wxDb_GetDataBinary" wxDb_GetDataBinary :: Ptr (TDb a) -> CInt -> CBool -> Ptr  d -> Ptr CInt -> IO CBool---- | usage: (@dbGetDataDate db column ctime usedLen@).-dbGetDataDate :: Db  a -> Int -> Ptr CInt -> Ptr CInt ->  IO Bool-dbGetDataDate db column ctime usedLen -  = withBoolResult $-    withObjectRef "dbGetDataDate" db $ \cobj_db -> -    wxDb_GetDataDate cobj_db  (toCInt column)  ctime  usedLen  -foreign import ccall "wxDb_GetDataDate" wxDb_GetDataDate :: Ptr (TDb a) -> CInt -> Ptr CInt -> Ptr CInt -> IO CBool---- | usage: (@dbGetDataDouble db column d usedLen@).-dbGetDataDouble :: Db  a -> Int -> Ptr Double -> Ptr CInt ->  IO Bool-dbGetDataDouble db column d usedLen -  = withBoolResult $-    withObjectRef "dbGetDataDouble" db $ \cobj_db -> -    wxDb_GetDataDouble cobj_db  (toCInt column)  d  usedLen  -foreign import ccall "wxDb_GetDataDouble" wxDb_GetDataDouble :: Ptr (TDb a) -> CInt -> Ptr Double -> Ptr CInt -> IO CBool---- | usage: (@dbGetDataInt db column i usedLen@).-dbGetDataInt :: Db  a -> Int -> Ptr CInt -> Ptr CInt ->  IO Bool-dbGetDataInt db column i usedLen -  = withBoolResult $-    withObjectRef "dbGetDataInt" db $ \cobj_db -> -    wxDb_GetDataInt cobj_db  (toCInt column)  i  usedLen  -foreign import ccall "wxDb_GetDataInt" wxDb_GetDataInt :: Ptr (TDb a) -> CInt -> Ptr CInt -> Ptr CInt -> IO CBool---- | usage: (@dbGetDataSource henv dsn dsnLen description descLen direction@).-dbGetDataSource :: HENV  a -> Ptr  b -> Int -> Ptr  d -> Int -> Int ->  IO Bool-dbGetDataSource henv dsn dsnLen description descLen direction -  = withBoolResult $-    withObjectPtr henv $ \cobj_henv -> -    wxDb_GetDataSource cobj_henv  dsn  (toCInt dsnLen)  description  (toCInt descLen)  (toCInt direction)  -foreign import ccall "wxDb_GetDataSource" wxDb_GetDataSource :: Ptr (THENV a) -> Ptr  b -> CInt -> Ptr  d -> CInt -> CInt -> IO CBool---- | usage: (@dbGetDataTime db column secs usedLen@).-dbGetDataTime :: Db  a -> Int -> Ptr CInt -> Ptr CInt ->  IO Bool-dbGetDataTime db column secs usedLen -  = withBoolResult $-    withObjectRef "dbGetDataTime" db $ \cobj_db -> -    wxDb_GetDataTime cobj_db  (toCInt column)  secs  usedLen  -foreign import ccall "wxDb_GetDataTime" wxDb_GetDataTime :: Ptr (TDb a) -> CInt -> Ptr CInt -> Ptr CInt -> IO CBool---- | usage: (@dbGetDataTimeStamp db column ctime fraction usedLen@).-dbGetDataTimeStamp :: Db  a -> Int -> Ptr CInt -> Ptr CInt -> Ptr CInt ->  IO Bool-dbGetDataTimeStamp db column ctime fraction usedLen -  = withBoolResult $-    withObjectRef "dbGetDataTimeStamp" db $ \cobj_db -> -    wxDb_GetDataTimeStamp cobj_db  (toCInt column)  ctime  fraction  usedLen  -foreign import ccall "wxDb_GetDataTimeStamp" wxDb_GetDataTimeStamp :: Ptr (TDb a) -> CInt -> Ptr CInt -> Ptr CInt -> Ptr CInt -> IO CBool---- | usage: (@dbGetDatabaseName db@).-dbGetDatabaseName :: Db  a ->  IO (String)-dbGetDatabaseName db -  = withManagedStringResult $-    withObjectRef "dbGetDatabaseName" db $ \cobj_db -> -    wxDb_GetDatabaseName cobj_db  -foreign import ccall "wxDb_GetDatabaseName" wxDb_GetDatabaseName :: Ptr (TDb a) -> IO (Ptr (TWxString ()))---- | usage: (@dbGetDatasourceName db@).-dbGetDatasourceName :: Db  a ->  IO (String)-dbGetDatasourceName db -  = withManagedStringResult $-    withObjectRef "dbGetDatasourceName" db $ \cobj_db -> -    wxDb_GetDatasourceName cobj_db  -foreign import ccall "wxDb_GetDatasourceName" wxDb_GetDatasourceName :: Ptr (TDb a) -> IO (Ptr (TWxString ()))--{- |  Retrieve the last /n/ error messages, where
    /n/ is 'dbGetNumErrorMessages'. Index 0 is the most recent error
   that corresponds with 'dbGetStatus' and 'dbGetNativeError' * -}-dbGetErrorMessage :: Db  a -> Int ->  IO (String)-dbGetErrorMessage db index -  = withManagedStringResult $-    withObjectRef "dbGetErrorMessage" db $ \cobj_db -> -    wxDb_GetErrorMessage cobj_db  (toCInt index)  -foreign import ccall "wxDb_GetErrorMessage" wxDb_GetErrorMessage :: Ptr (TDb a) -> CInt -> IO (Ptr (TWxString ()))--{- |  Retrieve error message set by 'dbGetNextError' * -}-dbGetErrorMsg :: Db  a ->  IO (String)-dbGetErrorMsg db -  = withManagedStringResult $-    withObjectRef "dbGetErrorMsg" db $ \cobj_db -> -    wxDb_GetErrorMsg cobj_db  -foreign import ccall "wxDb_GetErrorMsg" wxDb_GetErrorMsg :: Ptr (TDb a) -> IO (Ptr (TWxString ()))---- | usage: (@dbGetHDBC db@).-dbGetHDBC :: Db  a ->  IO (HDBC  ())-dbGetHDBC db -  = withObjectResult $-    withObjectRef "dbGetHDBC" db $ \cobj_db -> -    wxDb_GetHDBC cobj_db  -foreign import ccall "wxDb_GetHDBC" wxDb_GetHDBC :: Ptr (TDb a) -> IO (Ptr (THDBC ()))---- | usage: (@dbGetHENV db@).-dbGetHENV :: Db  a ->  IO (HENV  ())-dbGetHENV db -  = withObjectResult $-    withObjectRef "dbGetHENV" db $ \cobj_db -> -    wxDb_GetHENV cobj_db  -foreign import ccall "wxDb_GetHENV" wxDb_GetHENV :: Ptr (TDb a) -> IO (Ptr (THENV ()))---- | usage: (@dbGetHSTMT db@).-dbGetHSTMT :: Db  a ->  IO (HSTMT  ())-dbGetHSTMT db -  = withObjectResult $-    withObjectRef "dbGetHSTMT" db $ \cobj_db -> -    wxDb_GetHSTMT cobj_db  -foreign import ccall "wxDb_GetHSTMT" wxDb_GetHSTMT :: Ptr (TDb a) -> IO (Ptr (THSTMT ()))---- | usage: (@dbGetNativeError db@).-dbGetNativeError :: Db  a ->  IO Int-dbGetNativeError db -  = withIntResult $-    withObjectRef "dbGetNativeError" db $ \cobj_db -> -    wxDb_GetNativeError cobj_db  -foreign import ccall "wxDb_GetNativeError" wxDb_GetNativeError :: Ptr (TDb a) -> IO CInt---- | usage: (@dbGetNext db@).-dbGetNext :: Db  a ->  IO Bool-dbGetNext db -  = withBoolResult $-    withObjectRef "dbGetNext" db $ \cobj_db -> -    wxDb_GetNext cobj_db  -foreign import ccall "wxDb_GetNext" wxDb_GetNext :: Ptr (TDb a) -> IO CBool---- | usage: (@dbGetNextError db henv hdbc hstmt@).-dbGetNextError :: Db  a -> HENV  b -> HDBC  c -> HSTMT  d ->  IO Bool-dbGetNextError db henv hdbc hstmt -  = withBoolResult $-    withObjectRef "dbGetNextError" db $ \cobj_db -> -    withObjectPtr henv $ \cobj_henv -> -    withObjectPtr hdbc $ \cobj_hdbc -> -    withObjectPtr hstmt $ \cobj_hstmt -> -    wxDb_GetNextError cobj_db  cobj_henv  cobj_hdbc  cobj_hstmt  -foreign import ccall "wxDb_GetNextError" wxDb_GetNextError :: Ptr (TDb a) -> Ptr (THENV b) -> Ptr (THDBC c) -> Ptr (THSTMT d) -> IO CBool--{- |  Get the number of stored error messages. * -}-dbGetNumErrorMessages :: Db  a ->  IO Int-dbGetNumErrorMessages db -  = withIntResult $-    withObjectRef "dbGetNumErrorMessages" db $ \cobj_db -> -    wxDb_GetNumErrorMessages cobj_db  -foreign import ccall "wxDb_GetNumErrorMessages" wxDb_GetNumErrorMessages :: Ptr (TDb a) -> IO CInt---- | usage: (@dbGetPassword db@).-dbGetPassword :: Db  a ->  IO (String)-dbGetPassword db -  = withManagedStringResult $-    withObjectRef "dbGetPassword" db $ \cobj_db -> -    wxDb_GetPassword cobj_db  -foreign import ccall "wxDb_GetPassword" wxDb_GetPassword :: Ptr (TDb a) -> IO (Ptr (TWxString ()))--{- |  Return dynamic column information about a result set of a query. * -}-dbGetResultColumns :: Db  a -> Ptr CInt ->  IO (DbColInfArray  ())-dbGetResultColumns db pnumCols -  = withObjectResult $-    withObjectRef "dbGetResultColumns" db $ \cobj_db -> -    wxDb_GetResultColumns cobj_db  pnumCols  -foreign import ccall "wxDb_GetResultColumns" wxDb_GetResultColumns :: Ptr (TDb a) -> Ptr CInt -> IO (Ptr (TDbColInfArray ()))---- | usage: (@dbGetStatus db@).-dbGetStatus :: Db  a ->  IO Int-dbGetStatus db -  = withIntResult $-    withObjectRef "dbGetStatus" db $ \cobj_db -> -    wxDb_GetStatus cobj_db  -foreign import ccall "wxDb_GetStatus" wxDb_GetStatus :: Ptr (TDb a) -> IO CInt---- | usage: (@dbGetTableCount db@).-dbGetTableCount :: Db  a ->  IO Int-dbGetTableCount db -  = withIntResult $-    withObjectRef "dbGetTableCount" db $ \cobj_db -> -    wxDb_GetTableCount cobj_db  -foreign import ccall "wxDb_GetTableCount" wxDb_GetTableCount :: Ptr (TDb a) -> IO CInt---- | usage: (@dbGetUsername db@).-dbGetUsername :: Db  a ->  IO (String)-dbGetUsername db -  = withManagedStringResult $-    withObjectRef "dbGetUsername" db $ \cobj_db -> -    wxDb_GetUsername cobj_db  -foreign import ccall "wxDb_GetUsername" wxDb_GetUsername :: Ptr (TDb a) -> IO (Ptr (TWxString ()))---- | usage: (@dbGrant db privileges tableName userList@).-dbGrant :: Db  a -> Int -> String -> String ->  IO Bool-dbGrant db privileges tableName userList -  = withBoolResult $-    withObjectRef "dbGrant" db $ \cobj_db -> -    withStringPtr tableName $ \cobj_tableName -> -    withStringPtr userList $ \cobj_userList -> -    wxDb_Grant cobj_db  (toCInt privileges)  cobj_tableName  cobj_userList  -foreign import ccall "wxDb_Grant" wxDb_Grant :: Ptr (TDb a) -> CInt -> Ptr (TWxString c) -> Ptr (TWxString d) -> IO CBool---- | usage: (@dbInfDelete self@).-dbInfDelete :: DbInf  a ->  IO ()-dbInfDelete self -  = withObjectRef "dbInfDelete" self $ \cobj_self -> -    wxDbInf_Delete cobj_self  -foreign import ccall "wxDbInf_Delete" wxDbInf_Delete :: Ptr (TDbInf a) -> IO ()---- | usage: (@dbInfGetCatalogName self@).-dbInfGetCatalogName :: DbInf  a ->  IO (String)-dbInfGetCatalogName self -  = withManagedStringResult $-    withObjectRef "dbInfGetCatalogName" self $ \cobj_self -> -    wxDbInf_GetCatalogName cobj_self  -foreign import ccall "wxDbInf_GetCatalogName" wxDbInf_GetCatalogName :: Ptr (TDbInf a) -> IO (Ptr (TWxString ()))---- | usage: (@dbInfGetNumTables self@).-dbInfGetNumTables :: DbInf  a ->  IO Int-dbInfGetNumTables self -  = withIntResult $-    withObjectRef "dbInfGetNumTables" self $ \cobj_self -> -    wxDbInf_GetNumTables cobj_self  -foreign import ccall "wxDbInf_GetNumTables" wxDbInf_GetNumTables :: Ptr (TDbInf a) -> IO CInt---- | usage: (@dbInfGetSchemaName self@).-dbInfGetSchemaName :: DbInf  a ->  IO (String)-dbInfGetSchemaName self -  = withManagedStringResult $-    withObjectRef "dbInfGetSchemaName" self $ \cobj_self -> -    wxDbInf_GetSchemaName cobj_self  -foreign import ccall "wxDbInf_GetSchemaName" wxDbInf_GetSchemaName :: Ptr (TDbInf a) -> IO (Ptr (TWxString ()))---- | usage: (@dbInfGetTableInf self index@).-dbInfGetTableInf :: DbInf  a -> Int ->  IO (DbTableInf  ())-dbInfGetTableInf self index -  = withObjectResult $-    withObjectRef "dbInfGetTableInf" self $ \cobj_self -> -    wxDbInf_GetTableInf cobj_self  (toCInt index)  -foreign import ccall "wxDbInf_GetTableInf" wxDbInf_GetTableInf :: Ptr (TDbInf a) -> CInt -> IO (Ptr (TDbTableInf ()))---- | usage: (@dbIsOpen db@).-dbIsOpen :: Db  a ->  IO Bool-dbIsOpen db -  = withBoolResult $-    withObjectRef "dbIsOpen" db $ \cobj_db -> -    wxDb_IsOpen cobj_db  -foreign import ccall "wxDb_IsOpen" wxDb_IsOpen :: Ptr (TDb a) -> IO CBool--{- |  Are the database classes supported on this platform ? * -}-dbIsSupported ::  IO Bool-dbIsSupported -  = withBoolResult $-    wxDb_IsSupported -foreign import ccall "wxDb_IsSupported" wxDb_IsSupported :: IO CBool---- | usage: (@dbOpen db dsn userId password@).-dbOpen :: Db  a -> String -> String -> String ->  IO Bool-dbOpen db dsn userId password -  = withBoolResult $-    withObjectRef "dbOpen" db $ \cobj_db -> -    withStringPtr dsn $ \cobj_dsn -> -    withStringPtr userId $ \cobj_userId -> -    withStringPtr password $ \cobj_password -> -    wxDb_Open cobj_db  cobj_dsn  cobj_userId  cobj_password  -foreign import ccall "wxDb_Open" wxDb_Open :: Ptr (TDb a) -> Ptr (TWxString b) -> Ptr (TWxString c) -> Ptr (TWxString d) -> IO CBool---- | usage: (@dbRollbackTrans db@).-dbRollbackTrans :: Db  a ->  IO Bool-dbRollbackTrans db -  = withBoolResult $-    withObjectRef "dbRollbackTrans" db $ \cobj_db -> -    wxDb_RollbackTrans cobj_db  -foreign import ccall "wxDb_RollbackTrans" wxDb_RollbackTrans :: Ptr (TDb a) -> IO CBool---- | usage: (@dbSQLColumnName db columnName@).-dbSQLColumnName :: Db  a -> String ->  IO (String)-dbSQLColumnName db columnName -  = withManagedStringResult $-    withObjectRef "dbSQLColumnName" db $ \cobj_db -> -    withStringPtr columnName $ \cobj_columnName -> -    wxDb_SQLColumnName cobj_db  cobj_columnName  -foreign import ccall "wxDb_SQLColumnName" wxDb_SQLColumnName :: Ptr (TDb a) -> Ptr (TWxString b) -> IO (Ptr (TWxString ()))---- | usage: (@dbSQLTableName db tableName@).-dbSQLTableName :: Db  a -> String ->  IO (String)-dbSQLTableName db tableName -  = withManagedStringResult $-    withObjectRef "dbSQLTableName" db $ \cobj_db -> -    withStringPtr tableName $ \cobj_tableName -> -    wxDb_SQLTableName cobj_db  cobj_tableName  -foreign import ccall "wxDb_SQLTableName" wxDb_SQLTableName :: Ptr (TDb a) -> Ptr (TWxString b) -> IO (Ptr (TWxString ()))---- | usage: (@dbSqlTypeToStandardSqlType sqlType@).-dbSqlTypeToStandardSqlType :: Int ->  IO Int-dbSqlTypeToStandardSqlType sqlType -  = withIntResult $-    wxDb_SqlTypeToStandardSqlType (toCInt sqlType)  -foreign import ccall "wxDb_SqlTypeToStandardSqlType" wxDb_SqlTypeToStandardSqlType :: CInt -> IO CInt---- | usage: (@dbStandardSqlTypeToSqlType sqlType@).-dbStandardSqlTypeToSqlType :: Int ->  IO Int-dbStandardSqlTypeToSqlType sqlType -  = withIntResult $-    wxDb_StandardSqlTypeToSqlType (toCInt sqlType)  -foreign import ccall "wxDb_StandardSqlTypeToSqlType" wxDb_StandardSqlTypeToSqlType :: CInt -> IO CInt---- | usage: (@dbTableExists db tableName userName path@).-dbTableExists :: Db  a -> String -> String -> String ->  IO Bool-dbTableExists db tableName userName path -  = withBoolResult $-    withObjectRef "dbTableExists" db $ \cobj_db -> -    withStringPtr tableName $ \cobj_tableName -> -    withStringPtr userName $ \cobj_userName -> -    withStringPtr path $ \cobj_path -> -    wxDb_TableExists cobj_db  cobj_tableName  cobj_userName  cobj_path  -foreign import ccall "wxDb_TableExists" wxDb_TableExists :: Ptr (TDb a) -> Ptr (TWxString b) -> Ptr (TWxString c) -> Ptr (TWxString d) -> IO CBool---- | usage: (@dbTableInfGetNumCols self@).-dbTableInfGetNumCols :: DbTableInf  a ->  IO Int-dbTableInfGetNumCols self -  = withIntResult $-    withObjectRef "dbTableInfGetNumCols" self $ \cobj_self -> -    wxDbTableInf_GetNumCols cobj_self  -foreign import ccall "wxDbTableInf_GetNumCols" wxDbTableInf_GetNumCols :: Ptr (TDbTableInf a) -> IO CInt---- | usage: (@dbTableInfGetTableName self@).-dbTableInfGetTableName :: DbTableInf  a ->  IO (String)-dbTableInfGetTableName self -  = withManagedStringResult $-    withObjectRef "dbTableInfGetTableName" self $ \cobj_self -> -    wxDbTableInf_GetTableName cobj_self  -foreign import ccall "wxDbTableInf_GetTableName" wxDbTableInf_GetTableName :: Ptr (TDbTableInf a) -> IO (Ptr (TWxString ()))---- | usage: (@dbTableInfGetTableRemarks self@).-dbTableInfGetTableRemarks :: DbTableInf  a ->  IO (String)-dbTableInfGetTableRemarks self -  = withManagedStringResult $-    withObjectRef "dbTableInfGetTableRemarks" self $ \cobj_self -> -    wxDbTableInf_GetTableRemarks cobj_self  -foreign import ccall "wxDbTableInf_GetTableRemarks" wxDbTableInf_GetTableRemarks :: Ptr (TDbTableInf a) -> IO (Ptr (TWxString ()))---- | usage: (@dbTableInfGetTableType self@).-dbTableInfGetTableType :: DbTableInf  a ->  IO (String)-dbTableInfGetTableType self -  = withManagedStringResult $-    withObjectRef "dbTableInfGetTableType" self $ \cobj_self -> -    wxDbTableInf_GetTableType cobj_self  -foreign import ccall "wxDbTableInf_GetTableType" wxDbTableInf_GetTableType :: Ptr (TDbTableInf a) -> IO (Ptr (TWxString ()))---- | usage: (@dbTablePrivileges db tableName privileges userName schema path@).-dbTablePrivileges :: Db  a -> String -> String -> String -> String -> String ->  IO Bool-dbTablePrivileges db tableName privileges userName schema path -  = withBoolResult $-    withObjectRef "dbTablePrivileges" db $ \cobj_db -> -    withStringPtr tableName $ \cobj_tableName -> -    withStringPtr privileges $ \cobj_privileges -> -    withStringPtr userName $ \cobj_userName -> -    withStringPtr schema $ \cobj_schema -> -    withStringPtr path $ \cobj_path -> -    wxDb_TablePrivileges cobj_db  cobj_tableName  cobj_privileges  cobj_userName  cobj_schema  cobj_path  -foreign import ccall "wxDb_TablePrivileges" wxDb_TablePrivileges :: Ptr (TDb a) -> Ptr (TWxString b) -> Ptr (TWxString c) -> Ptr (TWxString d) -> Ptr (TWxString e) -> Ptr (TWxString f) -> IO CBool---- | usage: (@dbTranslateSqlState db sqlState@).-dbTranslateSqlState :: Db  a -> String ->  IO Int-dbTranslateSqlState db sqlState -  = withIntResult $-    withObjectRef "dbTranslateSqlState" db $ \cobj_db -> -    withStringPtr sqlState $ \cobj_sqlState -> -    wxDb_TranslateSqlState cobj_db  cobj_sqlState  -foreign import ccall "wxDb_TranslateSqlState" wxDb_TranslateSqlState :: Ptr (TDb a) -> Ptr (TWxString b) -> IO CInt---- | usage: (@dcBeginDrawing obj@).-dcBeginDrawing :: DC  a ->  IO ()-dcBeginDrawing _obj -  = withObjectRef "dcBeginDrawing" _obj $ \cobj__obj -> -    wxDC_BeginDrawing cobj__obj  -foreign import ccall "wxDC_BeginDrawing" wxDC_BeginDrawing :: Ptr (TDC a) -> IO ()---- | usage: (@dcBlit obj xdestydestwidthheight source xsrcysrc rop useMask@).-dcBlit :: DC  a -> Rect -> DC  c -> Point -> Int -> Bool ->  IO Bool-dcBlit _obj xdestydestwidthheight source xsrcysrc rop useMask -  = withBoolResult $-    withObjectRef "dcBlit" _obj $ \cobj__obj -> -    withObjectPtr source $ \cobj_source -> -    wxDC_Blit cobj__obj  (toCIntRectX xdestydestwidthheight) (toCIntRectY xdestydestwidthheight)(toCIntRectW xdestydestwidthheight) (toCIntRectH xdestydestwidthheight)  cobj_source  (toCIntPointX xsrcysrc) (toCIntPointY xsrcysrc)  (toCInt rop)  (toCBool useMask)  -foreign import ccall "wxDC_Blit" wxDC_Blit :: Ptr (TDC a) -> CInt -> CInt -> CInt -> CInt -> Ptr (TDC c) -> CInt -> CInt -> CInt -> CBool -> IO CBool---- | usage: (@dcCalcBoundingBox obj xy@).-dcCalcBoundingBox :: DC  a -> Point ->  IO ()-dcCalcBoundingBox _obj xy -  = withObjectRef "dcCalcBoundingBox" _obj $ \cobj__obj -> -    wxDC_CalcBoundingBox cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  -foreign import ccall "wxDC_CalcBoundingBox" wxDC_CalcBoundingBox :: Ptr (TDC a) -> CInt -> CInt -> IO ()---- | usage: (@dcCanDrawBitmap obj@).-dcCanDrawBitmap :: DC  a ->  IO Bool-dcCanDrawBitmap _obj -  = withBoolResult $-    withObjectRef "dcCanDrawBitmap" _obj $ \cobj__obj -> -    wxDC_CanDrawBitmap cobj__obj  -foreign import ccall "wxDC_CanDrawBitmap" wxDC_CanDrawBitmap :: Ptr (TDC a) -> IO CBool---- | usage: (@dcCanGetTextExtent obj@).-dcCanGetTextExtent :: DC  a ->  IO Bool-dcCanGetTextExtent _obj -  = withBoolResult $-    withObjectRef "dcCanGetTextExtent" _obj $ \cobj__obj -> -    wxDC_CanGetTextExtent cobj__obj  -foreign import ccall "wxDC_CanGetTextExtent" wxDC_CanGetTextExtent :: Ptr (TDC a) -> IO CBool---- | usage: (@dcClear obj@).-dcClear :: DC  a ->  IO ()-dcClear _obj -  = withObjectRef "dcClear" _obj $ \cobj__obj -> -    wxDC_Clear cobj__obj  -foreign import ccall "wxDC_Clear" wxDC_Clear :: Ptr (TDC a) -> IO ()---- | usage: (@dcComputeScaleAndOrigin obj@).-dcComputeScaleAndOrigin :: DC  a ->  IO ()-dcComputeScaleAndOrigin obj -  = withObjectRef "dcComputeScaleAndOrigin" obj $ \cobj_obj -> -    wxDC_ComputeScaleAndOrigin cobj_obj  -foreign import ccall "wxDC_ComputeScaleAndOrigin" wxDC_ComputeScaleAndOrigin :: Ptr (TDC a) -> IO ()---- | usage: (@dcCrossHair obj xy@).-dcCrossHair :: DC  a -> Point ->  IO ()-dcCrossHair _obj xy -  = withObjectRef "dcCrossHair" _obj $ \cobj__obj -> -    wxDC_CrossHair cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  -foreign import ccall "wxDC_CrossHair" wxDC_CrossHair :: Ptr (TDC a) -> CInt -> CInt -> IO ()---- | usage: (@dcDelete obj@).-dcDelete :: DC  a ->  IO ()-dcDelete-  = objectDelete----- | usage: (@dcDestroyClippingRegion obj@).-dcDestroyClippingRegion :: DC  a ->  IO ()-dcDestroyClippingRegion _obj -  = withObjectRef "dcDestroyClippingRegion" _obj $ \cobj__obj -> -    wxDC_DestroyClippingRegion cobj__obj  -foreign import ccall "wxDC_DestroyClippingRegion" wxDC_DestroyClippingRegion :: Ptr (TDC a) -> IO ()---- | usage: (@dcDeviceToLogicalX obj x@).-dcDeviceToLogicalX :: DC  a -> Int ->  IO Int-dcDeviceToLogicalX _obj x -  = withIntResult $-    withObjectRef "dcDeviceToLogicalX" _obj $ \cobj__obj -> -    wxDC_DeviceToLogicalX cobj__obj  (toCInt x)  -foreign import ccall "wxDC_DeviceToLogicalX" wxDC_DeviceToLogicalX :: Ptr (TDC a) -> CInt -> IO CInt---- | usage: (@dcDeviceToLogicalXRel obj x@).-dcDeviceToLogicalXRel :: DC  a -> Int ->  IO Int-dcDeviceToLogicalXRel _obj x -  = withIntResult $-    withObjectRef "dcDeviceToLogicalXRel" _obj $ \cobj__obj -> -    wxDC_DeviceToLogicalXRel cobj__obj  (toCInt x)  -foreign import ccall "wxDC_DeviceToLogicalXRel" wxDC_DeviceToLogicalXRel :: Ptr (TDC a) -> CInt -> IO CInt---- | usage: (@dcDeviceToLogicalY obj y@).-dcDeviceToLogicalY :: DC  a -> Int ->  IO Int-dcDeviceToLogicalY _obj y -  = withIntResult $-    withObjectRef "dcDeviceToLogicalY" _obj $ \cobj__obj -> -    wxDC_DeviceToLogicalY cobj__obj  (toCInt y)  -foreign import ccall "wxDC_DeviceToLogicalY" wxDC_DeviceToLogicalY :: Ptr (TDC a) -> CInt -> IO CInt---- | usage: (@dcDeviceToLogicalYRel obj y@).-dcDeviceToLogicalYRel :: DC  a -> Int ->  IO Int-dcDeviceToLogicalYRel _obj y -  = withIntResult $-    withObjectRef "dcDeviceToLogicalYRel" _obj $ \cobj__obj -> -    wxDC_DeviceToLogicalYRel cobj__obj  (toCInt y)  -foreign import ccall "wxDC_DeviceToLogicalYRel" wxDC_DeviceToLogicalYRel :: Ptr (TDC a) -> CInt -> IO CInt---- | usage: (@dcDrawArc obj x1y1 x2y2 xcyc@).-dcDrawArc :: DC  a -> Point -> Point -> Point ->  IO ()-dcDrawArc _obj x1y1 x2y2 xcyc -  = withObjectRef "dcDrawArc" _obj $ \cobj__obj -> -    wxDC_DrawArc cobj__obj  (toCIntPointX x1y1) (toCIntPointY x1y1)  (toCIntPointX x2y2) (toCIntPointY x2y2)  (toCIntPointX xcyc) (toCIntPointY xcyc)  -foreign import ccall "wxDC_DrawArc" wxDC_DrawArc :: Ptr (TDC a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO ()---- | usage: (@dcDrawBitmap obj bmp xy useMask@).-dcDrawBitmap :: DC  a -> Bitmap  b -> Point -> Bool ->  IO ()-dcDrawBitmap _obj bmp xy useMask -  = withObjectRef "dcDrawBitmap" _obj $ \cobj__obj -> -    withObjectPtr bmp $ \cobj_bmp -> -    wxDC_DrawBitmap cobj__obj  cobj_bmp  (toCIntPointX xy) (toCIntPointY xy)  (toCBool useMask)  -foreign import ccall "wxDC_DrawBitmap" wxDC_DrawBitmap :: Ptr (TDC a) -> Ptr (TBitmap b) -> CInt -> CInt -> CBool -> IO ()---- | usage: (@dcDrawCheckMark obj xywidthheight@).-dcDrawCheckMark :: DC  a -> Rect ->  IO ()-dcDrawCheckMark _obj xywidthheight -  = withObjectRef "dcDrawCheckMark" _obj $ \cobj__obj -> -    wxDC_DrawCheckMark cobj__obj  (toCIntRectX xywidthheight) (toCIntRectY xywidthheight)(toCIntRectW xywidthheight) (toCIntRectH xywidthheight)  -foreign import ccall "wxDC_DrawCheckMark" wxDC_DrawCheckMark :: Ptr (TDC a) -> CInt -> CInt -> CInt -> CInt -> IO ()---- | usage: (@dcDrawCircle obj xy radius@).-dcDrawCircle :: DC  a -> Point -> Int ->  IO ()-dcDrawCircle _obj xy radius -  = withObjectRef "dcDrawCircle" _obj $ \cobj__obj -> -    wxDC_DrawCircle cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  (toCInt radius)  -foreign import ccall "wxDC_DrawCircle" wxDC_DrawCircle :: Ptr (TDC a) -> CInt -> CInt -> CInt -> IO ()---- | usage: (@dcDrawEllipse obj xywidthheight@).-dcDrawEllipse :: DC  a -> Rect ->  IO ()-dcDrawEllipse _obj xywidthheight -  = withObjectRef "dcDrawEllipse" _obj $ \cobj__obj -> -    wxDC_DrawEllipse cobj__obj  (toCIntRectX xywidthheight) (toCIntRectY xywidthheight)(toCIntRectW xywidthheight) (toCIntRectH xywidthheight)  -foreign import ccall "wxDC_DrawEllipse" wxDC_DrawEllipse :: Ptr (TDC a) -> CInt -> CInt -> CInt -> CInt -> IO ()---- | usage: (@dcDrawEllipticArc obj xywh sa ea@).-dcDrawEllipticArc :: DC  a -> Rect -> Double -> Double ->  IO ()-dcDrawEllipticArc _obj xywh sa ea -  = withObjectRef "dcDrawEllipticArc" _obj $ \cobj__obj -> -    wxDC_DrawEllipticArc cobj__obj  (toCIntRectX xywh) (toCIntRectY xywh)(toCIntRectW xywh) (toCIntRectH xywh)  sa  ea  -foreign import ccall "wxDC_DrawEllipticArc" wxDC_DrawEllipticArc :: Ptr (TDC a) -> CInt -> CInt -> CInt -> CInt -> Double -> Double -> IO ()---- | usage: (@dcDrawIcon obj icon xy@).-dcDrawIcon :: DC  a -> Icon  b -> Point ->  IO ()-dcDrawIcon _obj icon xy -  = withObjectRef "dcDrawIcon" _obj $ \cobj__obj -> -    withObjectPtr icon $ \cobj_icon -> -    wxDC_DrawIcon cobj__obj  cobj_icon  (toCIntPointX xy) (toCIntPointY xy)  -foreign import ccall "wxDC_DrawIcon" wxDC_DrawIcon :: Ptr (TDC a) -> Ptr (TIcon b) -> CInt -> CInt -> IO ()---- | usage: (@dcDrawLabel obj str xywh align indexAccel@).-dcDrawLabel :: DC  a -> String -> Rect -> Int -> Int ->  IO ()-dcDrawLabel _obj str xywh align indexAccel -  = withObjectRef "dcDrawLabel" _obj $ \cobj__obj -> -    withStringPtr str $ \cobj_str -> -    wxDC_DrawLabel cobj__obj  cobj_str  (toCIntRectX xywh) (toCIntRectY xywh)(toCIntRectW xywh) (toCIntRectH xywh)  (toCInt align)  (toCInt indexAccel)  -foreign import ccall "wxDC_DrawLabel" wxDC_DrawLabel :: Ptr (TDC a) -> Ptr (TWxString b) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO ()---- | usage: (@dcDrawLabelBitmap obj str bmp xywh align indexAccel@).-dcDrawLabelBitmap :: DC  a -> String -> Bitmap  c -> Rect -> Int -> Int ->  IO (Rect)-dcDrawLabelBitmap _obj str bmp xywh align indexAccel -  = withWxRectResult $-    withObjectRef "dcDrawLabelBitmap" _obj $ \cobj__obj -> -    withStringPtr str $ \cobj_str -> -    withObjectPtr bmp $ \cobj_bmp -> -    wxDC_DrawLabelBitmap cobj__obj  cobj_str  cobj_bmp  (toCIntRectX xywh) (toCIntRectY xywh)(toCIntRectW xywh) (toCIntRectH xywh)  (toCInt align)  (toCInt indexAccel)  -foreign import ccall "wxDC_DrawLabelBitmap" wxDC_DrawLabelBitmap :: Ptr (TDC a) -> Ptr (TWxString b) -> Ptr (TBitmap c) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TWxRect ()))---- | usage: (@dcDrawLine obj x1y1 x2y2@).-dcDrawLine :: DC  a -> Point -> Point ->  IO ()-dcDrawLine _obj x1y1 x2y2 -  = withObjectRef "dcDrawLine" _obj $ \cobj__obj -> -    wxDC_DrawLine cobj__obj  (toCIntPointX x1y1) (toCIntPointY x1y1)  (toCIntPointX x2y2) (toCIntPointY x2y2)  -foreign import ccall "wxDC_DrawLine" wxDC_DrawLine :: Ptr (TDC a) -> CInt -> CInt -> CInt -> CInt -> IO ()---- | usage: (@dcDrawLines obj n x y xoffsetyoffset@).-dcDrawLines :: DC  a -> Int -> Ptr  c -> Ptr  d -> Point ->  IO ()-dcDrawLines _obj n x y xoffsetyoffset -  = withObjectRef "dcDrawLines" _obj $ \cobj__obj -> -    wxDC_DrawLines cobj__obj  (toCInt n)  x  y  (toCIntPointX xoffsetyoffset) (toCIntPointY xoffsetyoffset)  -foreign import ccall "wxDC_DrawLines" wxDC_DrawLines :: Ptr (TDC a) -> CInt -> Ptr  c -> Ptr  d -> CInt -> CInt -> IO ()---- | usage: (@dcDrawPoint obj xy@).-dcDrawPoint :: DC  a -> Point ->  IO ()-dcDrawPoint _obj xy -  = withObjectRef "dcDrawPoint" _obj $ \cobj__obj -> -    wxDC_DrawPoint cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  -foreign import ccall "wxDC_DrawPoint" wxDC_DrawPoint :: Ptr (TDC a) -> CInt -> CInt -> IO ()---- | usage: (@dcDrawPolyPolygon obj n count x y xoffsetyoffset fillStyle@).-dcDrawPolyPolygon :: DC  a -> Int -> Ptr  c -> Ptr  d -> Ptr  e -> Point -> Int ->  IO ()-dcDrawPolyPolygon _obj n count x y xoffsetyoffset fillStyle -  = withObjectRef "dcDrawPolyPolygon" _obj $ \cobj__obj -> -    wxDC_DrawPolyPolygon cobj__obj  (toCInt n)  count  x  y  (toCIntPointX xoffsetyoffset) (toCIntPointY xoffsetyoffset)  (toCInt fillStyle)  -foreign import ccall "wxDC_DrawPolyPolygon" wxDC_DrawPolyPolygon :: Ptr (TDC a) -> CInt -> Ptr  c -> Ptr  d -> Ptr  e -> CInt -> CInt -> CInt -> IO ()---- | usage: (@dcDrawPolygon obj n x y xoffsetyoffset fillStyle@).-dcDrawPolygon :: DC  a -> Int -> Ptr  c -> Ptr  d -> Point -> Int ->  IO ()-dcDrawPolygon _obj n x y xoffsetyoffset fillStyle -  = withObjectRef "dcDrawPolygon" _obj $ \cobj__obj -> -    wxDC_DrawPolygon cobj__obj  (toCInt n)  x  y  (toCIntPointX xoffsetyoffset) (toCIntPointY xoffsetyoffset)  (toCInt fillStyle)  -foreign import ccall "wxDC_DrawPolygon" wxDC_DrawPolygon :: Ptr (TDC a) -> CInt -> Ptr  c -> Ptr  d -> CInt -> CInt -> CInt -> IO ()---- | usage: (@dcDrawRectangle obj xywidthheight@).-dcDrawRectangle :: DC  a -> Rect ->  IO ()-dcDrawRectangle _obj xywidthheight -  = withObjectRef "dcDrawRectangle" _obj $ \cobj__obj -> -    wxDC_DrawRectangle cobj__obj  (toCIntRectX xywidthheight) (toCIntRectY xywidthheight)(toCIntRectW xywidthheight) (toCIntRectH xywidthheight)  -foreign import ccall "wxDC_DrawRectangle" wxDC_DrawRectangle :: Ptr (TDC a) -> CInt -> CInt -> CInt -> CInt -> IO ()---- | usage: (@dcDrawRotatedText obj text xy angle@).-dcDrawRotatedText :: DC  a -> String -> Point -> Double ->  IO ()-dcDrawRotatedText _obj text xy angle -  = withObjectRef "dcDrawRotatedText" _obj $ \cobj__obj -> -    withStringPtr text $ \cobj_text -> -    wxDC_DrawRotatedText cobj__obj  cobj_text  (toCIntPointX xy) (toCIntPointY xy)  angle  -foreign import ccall "wxDC_DrawRotatedText" wxDC_DrawRotatedText :: Ptr (TDC a) -> Ptr (TWxString b) -> CInt -> CInt -> Double -> IO ()---- | usage: (@dcDrawRoundedRectangle obj xywidthheight radius@).-dcDrawRoundedRectangle :: DC  a -> Rect -> Double ->  IO ()-dcDrawRoundedRectangle _obj xywidthheight radius -  = withObjectRef "dcDrawRoundedRectangle" _obj $ \cobj__obj -> -    wxDC_DrawRoundedRectangle cobj__obj  (toCIntRectX xywidthheight) (toCIntRectY xywidthheight)(toCIntRectW xywidthheight) (toCIntRectH xywidthheight)  radius  -foreign import ccall "wxDC_DrawRoundedRectangle" wxDC_DrawRoundedRectangle :: Ptr (TDC a) -> CInt -> CInt -> CInt -> CInt -> Double -> IO ()---- | usage: (@dcDrawText obj text xy@).-dcDrawText :: DC  a -> String -> Point ->  IO ()-dcDrawText _obj text xy -  = withObjectRef "dcDrawText" _obj $ \cobj__obj -> -    withStringPtr text $ \cobj_text -> -    wxDC_DrawText cobj__obj  cobj_text  (toCIntPointX xy) (toCIntPointY xy)  -foreign import ccall "wxDC_DrawText" wxDC_DrawText :: Ptr (TDC a) -> Ptr (TWxString b) -> CInt -> CInt -> IO ()---- | usage: (@dcEndDoc obj@).-dcEndDoc :: DC  a ->  IO ()-dcEndDoc _obj -  = withObjectRef "dcEndDoc" _obj $ \cobj__obj -> -    wxDC_EndDoc cobj__obj  -foreign import ccall "wxDC_EndDoc" wxDC_EndDoc :: Ptr (TDC a) -> IO ()---- | usage: (@dcEndDrawing obj@).-dcEndDrawing :: DC  a ->  IO ()-dcEndDrawing _obj -  = withObjectRef "dcEndDrawing" _obj $ \cobj__obj -> -    wxDC_EndDrawing cobj__obj  -foreign import ccall "wxDC_EndDrawing" wxDC_EndDrawing :: Ptr (TDC a) -> IO ()---- | usage: (@dcEndPage obj@).-dcEndPage :: DC  a ->  IO ()-dcEndPage _obj -  = withObjectRef "dcEndPage" _obj $ \cobj__obj -> -    wxDC_EndPage cobj__obj  -foreign import ccall "wxDC_EndPage" wxDC_EndPage :: Ptr (TDC a) -> IO ()---- | usage: (@dcFloodFill obj xy col style@).-dcFloodFill :: DC  a -> Point -> Color -> Int ->  IO ()-dcFloodFill _obj xy col style -  = withObjectRef "dcFloodFill" _obj $ \cobj__obj -> -    withColourPtr col $ \cobj_col -> -    wxDC_FloodFill cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  cobj_col  (toCInt style)  -foreign import ccall "wxDC_FloodFill" wxDC_FloodFill :: Ptr (TDC a) -> CInt -> CInt -> Ptr (TColour c) -> CInt -> IO ()---- | usage: (@dcGetBackground obj@).-dcGetBackground :: DC  a ->  IO (Brush  ())-dcGetBackground _obj -  = withRefBrush $ \pref -> -    withObjectRef "dcGetBackground" _obj $ \cobj__obj -> -    wxDC_GetBackground cobj__obj   pref-foreign import ccall "wxDC_GetBackground" wxDC_GetBackground :: Ptr (TDC a) -> Ptr (TBrush ()) -> IO ()---- | usage: (@dcGetBackgroundMode obj@).-dcGetBackgroundMode :: DC  a ->  IO Int-dcGetBackgroundMode _obj -  = withIntResult $-    withObjectRef "dcGetBackgroundMode" _obj $ \cobj__obj -> -    wxDC_GetBackgroundMode cobj__obj  -foreign import ccall "wxDC_GetBackgroundMode" wxDC_GetBackgroundMode :: Ptr (TDC a) -> IO CInt---- | usage: (@dcGetBrush obj@).-dcGetBrush :: DC  a ->  IO (Brush  ())-dcGetBrush _obj -  = withRefBrush $ \pref -> -    withObjectRef "dcGetBrush" _obj $ \cobj__obj -> -    wxDC_GetBrush cobj__obj   pref-foreign import ccall "wxDC_GetBrush" wxDC_GetBrush :: Ptr (TDC a) -> Ptr (TBrush ()) -> IO ()---- | usage: (@dcGetCharHeight obj@).-dcGetCharHeight :: DC  a ->  IO Int-dcGetCharHeight _obj -  = withIntResult $-    withObjectRef "dcGetCharHeight" _obj $ \cobj__obj -> -    wxDC_GetCharHeight cobj__obj  -foreign import ccall "wxDC_GetCharHeight" wxDC_GetCharHeight :: Ptr (TDC a) -> IO CInt---- | usage: (@dcGetCharWidth obj@).-dcGetCharWidth :: DC  a ->  IO Int-dcGetCharWidth _obj -  = withIntResult $-    withObjectRef "dcGetCharWidth" _obj $ \cobj__obj -> -    wxDC_GetCharWidth cobj__obj  -foreign import ccall "wxDC_GetCharWidth" wxDC_GetCharWidth :: Ptr (TDC a) -> IO CInt---- | usage: (@dcGetClippingBox obj@).-dcGetClippingBox :: DC  a ->  IO Rect-dcGetClippingBox _obj -  = withRectResult $ \px py pw ph -> -    withObjectRef "dcGetClippingBox" _obj $ \cobj__obj -> -    wxDC_GetClippingBox cobj__obj  px py pw ph-foreign import ccall "wxDC_GetClippingBox" wxDC_GetClippingBox :: Ptr (TDC a) -> Ptr CInt -> Ptr CInt -> Ptr CInt -> Ptr CInt -> IO ()---- | usage: (@dcGetDepth obj@).-dcGetDepth :: DC  a ->  IO Int-dcGetDepth _obj -  = withIntResult $-    withObjectRef "dcGetDepth" _obj $ \cobj__obj -> -    wxDC_GetDepth cobj__obj  -foreign import ccall "wxDC_GetDepth" wxDC_GetDepth :: Ptr (TDC a) -> IO CInt---- | usage: (@dcGetDeviceOrigin obj@).-dcGetDeviceOrigin :: DC  a ->  IO Point-dcGetDeviceOrigin _obj -  = withPointResult $ \px py -> -    withObjectRef "dcGetDeviceOrigin" _obj $ \cobj__obj -> -    wxDC_GetDeviceOrigin cobj__obj   px py-foreign import ccall "wxDC_GetDeviceOrigin" wxDC_GetDeviceOrigin :: Ptr (TDC a) -> Ptr CInt -> Ptr CInt -> IO ()---- | usage: (@dcGetFont obj@).-dcGetFont :: DC  a ->  IO (Font  ())-dcGetFont _obj -  = withRefFont $ \pref -> -    withObjectRef "dcGetFont" _obj $ \cobj__obj -> -    wxDC_GetFont cobj__obj   pref-foreign import ccall "wxDC_GetFont" wxDC_GetFont :: Ptr (TDC a) -> Ptr (TFont ()) -> IO ()---- | usage: (@dcGetLogicalFunction obj@).-dcGetLogicalFunction :: DC  a ->  IO Int-dcGetLogicalFunction _obj -  = withIntResult $-    withObjectRef "dcGetLogicalFunction" _obj $ \cobj__obj -> -    wxDC_GetLogicalFunction cobj__obj  -foreign import ccall "wxDC_GetLogicalFunction" wxDC_GetLogicalFunction :: Ptr (TDC a) -> IO CInt---- | usage: (@dcGetLogicalOrigin obj@).-dcGetLogicalOrigin :: DC  a ->  IO Point-dcGetLogicalOrigin _obj -  = withPointResult $ \px py -> -    withObjectRef "dcGetLogicalOrigin" _obj $ \cobj__obj -> -    wxDC_GetLogicalOrigin cobj__obj   px py-foreign import ccall "wxDC_GetLogicalOrigin" wxDC_GetLogicalOrigin :: Ptr (TDC a) -> Ptr CInt -> Ptr CInt -> IO ()---- | usage: (@dcGetLogicalScale obj@).-dcGetLogicalScale :: DC  a ->  IO (Size2D Double)-dcGetLogicalScale _obj -  = withSizeDoubleResult $ \pw ph -> -    withObjectRef "dcGetLogicalScale" _obj $ \cobj__obj -> -    wxDC_GetLogicalScale cobj__obj   pw ph-foreign import ccall "wxDC_GetLogicalScale" wxDC_GetLogicalScale :: Ptr (TDC a) -> Ptr CDouble -> Ptr CDouble -> IO ()---- | usage: (@dcGetMapMode obj@).-dcGetMapMode :: DC  a ->  IO Int-dcGetMapMode _obj -  = withIntResult $-    withObjectRef "dcGetMapMode" _obj $ \cobj__obj -> -    wxDC_GetMapMode cobj__obj  -foreign import ccall "wxDC_GetMapMode" wxDC_GetMapMode :: Ptr (TDC a) -> IO CInt---- | usage: (@dcGetMultiLineTextExtent self string w h heightLine theFont@).-dcGetMultiLineTextExtent :: DC  a -> String -> Ptr  c -> Ptr  d -> Ptr  e -> Font  f ->  IO ()-dcGetMultiLineTextExtent self string w h heightLine theFont -  = withObjectRef "dcGetMultiLineTextExtent" self $ \cobj_self -> -    withStringPtr string $ \cobj_string -> -    withObjectPtr theFont $ \cobj_theFont -> -    wxDC_GetMultiLineTextExtent cobj_self  cobj_string  w  h  heightLine  cobj_theFont  -foreign import ccall "wxDC_GetMultiLineTextExtent" wxDC_GetMultiLineTextExtent :: Ptr (TDC a) -> Ptr (TWxString b) -> Ptr  c -> Ptr  d -> Ptr  e -> Ptr (TFont f) -> IO ()---- | usage: (@dcGetPPI obj@).-dcGetPPI :: DC  a ->  IO (Size)-dcGetPPI _obj -  = withWxSizeResult $-    withObjectRef "dcGetPPI" _obj $ \cobj__obj -> -    wxDC_GetPPI cobj__obj  -foreign import ccall "wxDC_GetPPI" wxDC_GetPPI :: Ptr (TDC a) -> IO (Ptr (TWxSize ()))---- | usage: (@dcGetPen obj@).-dcGetPen :: DC  a ->  IO (Pen  ())-dcGetPen _obj -  = withRefPen $ \pref -> -    withObjectRef "dcGetPen" _obj $ \cobj__obj -> -    wxDC_GetPen cobj__obj   pref-foreign import ccall "wxDC_GetPen" wxDC_GetPen :: Ptr (TDC a) -> Ptr (TPen ()) -> IO ()---- | usage: (@dcGetPixel obj xy col@).-dcGetPixel :: DC  a -> Point -> Color ->  IO Bool-dcGetPixel _obj xy col -  = withBoolResult $-    withObjectRef "dcGetPixel" _obj $ \cobj__obj -> -    withColourPtr col $ \cobj_col -> -    wxDC_GetPixel cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  cobj_col  -foreign import ccall "wxDC_GetPixel" wxDC_GetPixel :: Ptr (TDC a) -> CInt -> CInt -> Ptr (TColour c) -> IO CBool--{- |  Get the color of pixel. Note: this is not a portable method at the moment and its use is discouraged. * -}-dcGetPixel2 :: DC  a -> Point ->  IO (Color)-dcGetPixel2 _obj xy -  = withRefColour $ \pref -> -    withObjectRef "dcGetPixel2" _obj $ \cobj__obj -> -    wxDC_GetPixel2 cobj__obj  (toCIntPointX xy) (toCIntPointY xy)   pref-foreign import ccall "wxDC_GetPixel2" wxDC_GetPixel2 :: Ptr (TDC a) -> CInt -> CInt -> Ptr (TColour ()) -> IO ()---- | usage: (@dcGetSize obj@).-dcGetSize :: DC  a ->  IO (Size)-dcGetSize _obj -  = withWxSizeResult $-    withObjectRef "dcGetSize" _obj $ \cobj__obj -> -    wxDC_GetSize cobj__obj  -foreign import ccall "wxDC_GetSize" wxDC_GetSize :: Ptr (TDC a) -> IO (Ptr (TWxSize ()))---- | usage: (@dcGetSizeMM obj@).-dcGetSizeMM :: DC  a ->  IO (Size)-dcGetSizeMM _obj -  = withWxSizeResult $-    withObjectRef "dcGetSizeMM" _obj $ \cobj__obj -> -    wxDC_GetSizeMM cobj__obj  -foreign import ccall "wxDC_GetSizeMM" wxDC_GetSizeMM :: Ptr (TDC a) -> IO (Ptr (TWxSize ()))---- | usage: (@dcGetTextBackground obj@).-dcGetTextBackground :: DC  a ->  IO (Color)-dcGetTextBackground _obj -  = withRefColour $ \pref -> -    withObjectRef "dcGetTextBackground" _obj $ \cobj__obj -> -    wxDC_GetTextBackground cobj__obj   pref-foreign import ccall "wxDC_GetTextBackground" wxDC_GetTextBackground :: Ptr (TDC a) -> Ptr (TColour ()) -> IO ()---- | usage: (@dcGetTextExtent self string w h descent externalLeading theFont@).-dcGetTextExtent :: DC  a -> String -> Ptr  c -> Ptr  d -> Ptr  e -> Ptr  f -> Font  g ->  IO ()-dcGetTextExtent self string w h descent externalLeading theFont -  = withObjectRef "dcGetTextExtent" self $ \cobj_self -> -    withStringPtr string $ \cobj_string -> -    withObjectPtr theFont $ \cobj_theFont -> -    wxDC_GetTextExtent cobj_self  cobj_string  w  h  descent  externalLeading  cobj_theFont  -foreign import ccall "wxDC_GetTextExtent" wxDC_GetTextExtent :: Ptr (TDC a) -> Ptr (TWxString b) -> Ptr  c -> Ptr  d -> Ptr  e -> Ptr  f -> Ptr (TFont g) -> IO ()---- | usage: (@dcGetTextForeground obj@).-dcGetTextForeground :: DC  a ->  IO (Color)-dcGetTextForeground _obj -  = withRefColour $ \pref -> -    withObjectRef "dcGetTextForeground" _obj $ \cobj__obj -> -    wxDC_GetTextForeground cobj__obj   pref-foreign import ccall "wxDC_GetTextForeground" wxDC_GetTextForeground :: Ptr (TDC a) -> Ptr (TColour ()) -> IO ()---- | usage: (@dcGetUserScale obj@).-dcGetUserScale :: DC  a ->  IO (Size2D Double)-dcGetUserScale _obj -  = withSizeDoubleResult $ \pw ph -> -    withObjectRef "dcGetUserScale" _obj $ \cobj__obj -> -    wxDC_GetUserScale cobj__obj   pw ph-foreign import ccall "wxDC_GetUserScale" wxDC_GetUserScale :: Ptr (TDC a) -> Ptr CDouble -> Ptr CDouble -> IO ()---- | usage: (@dcGetUserScaleX dc@).-dcGetUserScaleX :: DC  a ->  IO Double-dcGetUserScaleX dc -  = withObjectRef "dcGetUserScaleX" dc $ \cobj_dc -> -    wxDC_GetUserScaleX cobj_dc  -foreign import ccall "wxDC_GetUserScaleX" wxDC_GetUserScaleX :: Ptr (TDC a) -> IO Double---- | usage: (@dcGetUserScaleY dc@).-dcGetUserScaleY :: DC  a ->  IO Double-dcGetUserScaleY dc -  = withObjectRef "dcGetUserScaleY" dc $ \cobj_dc -> -    wxDC_GetUserScaleY cobj_dc  -foreign import ccall "wxDC_GetUserScaleY" wxDC_GetUserScaleY :: Ptr (TDC a) -> IO Double---- | usage: (@dcIsOk obj@).-dcIsOk :: DC  a ->  IO Bool-dcIsOk _obj -  = withBoolResult $-    withObjectRef "dcIsOk" _obj $ \cobj__obj -> -    wxDC_IsOk cobj__obj  -foreign import ccall "wxDC_IsOk" wxDC_IsOk :: Ptr (TDC a) -> IO CBool---- | usage: (@dcLogicalToDeviceX obj x@).-dcLogicalToDeviceX :: DC  a -> Int ->  IO Int-dcLogicalToDeviceX _obj x -  = withIntResult $-    withObjectRef "dcLogicalToDeviceX" _obj $ \cobj__obj -> -    wxDC_LogicalToDeviceX cobj__obj  (toCInt x)  -foreign import ccall "wxDC_LogicalToDeviceX" wxDC_LogicalToDeviceX :: Ptr (TDC a) -> CInt -> IO CInt---- | usage: (@dcLogicalToDeviceXRel obj x@).-dcLogicalToDeviceXRel :: DC  a -> Int ->  IO Int-dcLogicalToDeviceXRel _obj x -  = withIntResult $-    withObjectRef "dcLogicalToDeviceXRel" _obj $ \cobj__obj -> -    wxDC_LogicalToDeviceXRel cobj__obj  (toCInt x)  -foreign import ccall "wxDC_LogicalToDeviceXRel" wxDC_LogicalToDeviceXRel :: Ptr (TDC a) -> CInt -> IO CInt---- | usage: (@dcLogicalToDeviceY obj y@).-dcLogicalToDeviceY :: DC  a -> Int ->  IO Int-dcLogicalToDeviceY _obj y -  = withIntResult $-    withObjectRef "dcLogicalToDeviceY" _obj $ \cobj__obj -> -    wxDC_LogicalToDeviceY cobj__obj  (toCInt y)  -foreign import ccall "wxDC_LogicalToDeviceY" wxDC_LogicalToDeviceY :: Ptr (TDC a) -> CInt -> IO CInt---- | usage: (@dcLogicalToDeviceYRel obj y@).-dcLogicalToDeviceYRel :: DC  a -> Int ->  IO Int-dcLogicalToDeviceYRel _obj y -  = withIntResult $-    withObjectRef "dcLogicalToDeviceYRel" _obj $ \cobj__obj -> -    wxDC_LogicalToDeviceYRel cobj__obj  (toCInt y)  -foreign import ccall "wxDC_LogicalToDeviceYRel" wxDC_LogicalToDeviceYRel :: Ptr (TDC a) -> CInt -> IO CInt---- | usage: (@dcMaxX obj@).-dcMaxX :: DC  a ->  IO Int-dcMaxX _obj -  = withIntResult $-    withObjectRef "dcMaxX" _obj $ \cobj__obj -> -    wxDC_MaxX cobj__obj  -foreign import ccall "wxDC_MaxX" wxDC_MaxX :: Ptr (TDC a) -> IO CInt---- | usage: (@dcMaxY obj@).-dcMaxY :: DC  a ->  IO Int-dcMaxY _obj -  = withIntResult $-    withObjectRef "dcMaxY" _obj $ \cobj__obj -> -    wxDC_MaxY cobj__obj  -foreign import ccall "wxDC_MaxY" wxDC_MaxY :: Ptr (TDC a) -> IO CInt---- | usage: (@dcMinX obj@).-dcMinX :: DC  a ->  IO Int-dcMinX _obj -  = withIntResult $-    withObjectRef "dcMinX" _obj $ \cobj__obj -> -    wxDC_MinX cobj__obj  -foreign import ccall "wxDC_MinX" wxDC_MinX :: Ptr (TDC a) -> IO CInt---- | usage: (@dcMinY obj@).-dcMinY :: DC  a ->  IO Int-dcMinY _obj -  = withIntResult $-    withObjectRef "dcMinY" _obj $ \cobj__obj -> -    wxDC_MinY cobj__obj  -foreign import ccall "wxDC_MinY" wxDC_MinY :: Ptr (TDC a) -> IO CInt---- | usage: (@dcResetBoundingBox obj@).-dcResetBoundingBox :: DC  a ->  IO ()-dcResetBoundingBox _obj -  = withObjectRef "dcResetBoundingBox" _obj $ \cobj__obj -> -    wxDC_ResetBoundingBox cobj__obj  -foreign import ccall "wxDC_ResetBoundingBox" wxDC_ResetBoundingBox :: Ptr (TDC a) -> IO ()---- | usage: (@dcSetAxisOrientation obj xLeftRight yBottomUp@).-dcSetAxisOrientation :: DC  a -> Bool -> Bool ->  IO ()-dcSetAxisOrientation _obj xLeftRight yBottomUp -  = withObjectRef "dcSetAxisOrientation" _obj $ \cobj__obj -> -    wxDC_SetAxisOrientation cobj__obj  (toCBool xLeftRight)  (toCBool yBottomUp)  -foreign import ccall "wxDC_SetAxisOrientation" wxDC_SetAxisOrientation :: Ptr (TDC a) -> CBool -> CBool -> IO ()---- | usage: (@dcSetBackground obj brush@).-dcSetBackground :: DC  a -> Brush  b ->  IO ()-dcSetBackground _obj brush -  = withObjectRef "dcSetBackground" _obj $ \cobj__obj -> -    withObjectPtr brush $ \cobj_brush -> -    wxDC_SetBackground cobj__obj  cobj_brush  -foreign import ccall "wxDC_SetBackground" wxDC_SetBackground :: Ptr (TDC a) -> Ptr (TBrush b) -> IO ()---- | usage: (@dcSetBackgroundMode obj mode@).-dcSetBackgroundMode :: DC  a -> Int ->  IO ()-dcSetBackgroundMode _obj mode -  = withObjectRef "dcSetBackgroundMode" _obj $ \cobj__obj -> -    wxDC_SetBackgroundMode cobj__obj  (toCInt mode)  -foreign import ccall "wxDC_SetBackgroundMode" wxDC_SetBackgroundMode :: Ptr (TDC a) -> CInt -> IO ()---- | usage: (@dcSetBrush obj brush@).-dcSetBrush :: DC  a -> Brush  b ->  IO ()-dcSetBrush _obj brush -  = withObjectRef "dcSetBrush" _obj $ \cobj__obj -> -    withObjectPtr brush $ \cobj_brush -> -    wxDC_SetBrush cobj__obj  cobj_brush  -foreign import ccall "wxDC_SetBrush" wxDC_SetBrush :: Ptr (TDC a) -> Ptr (TBrush b) -> IO ()---- | usage: (@dcSetClippingRegion obj xywidthheight@).-dcSetClippingRegion :: DC  a -> Rect ->  IO ()-dcSetClippingRegion _obj xywidthheight -  = withObjectRef "dcSetClippingRegion" _obj $ \cobj__obj -> -    wxDC_SetClippingRegion cobj__obj  (toCIntRectX xywidthheight) (toCIntRectY xywidthheight)(toCIntRectW xywidthheight) (toCIntRectH xywidthheight)  -foreign import ccall "wxDC_SetClippingRegion" wxDC_SetClippingRegion :: Ptr (TDC a) -> CInt -> CInt -> CInt -> CInt -> IO ()---- | usage: (@dcSetClippingRegionFromRegion obj region@).-dcSetClippingRegionFromRegion :: DC  a -> Region  b ->  IO ()-dcSetClippingRegionFromRegion _obj region -  = withObjectRef "dcSetClippingRegionFromRegion" _obj $ \cobj__obj -> -    withObjectPtr region $ \cobj_region -> -    wxDC_SetClippingRegionFromRegion cobj__obj  cobj_region  -foreign import ccall "wxDC_SetClippingRegionFromRegion" wxDC_SetClippingRegionFromRegion :: Ptr (TDC a) -> Ptr (TRegion b) -> IO ()---- | usage: (@dcSetDeviceOrigin obj xy@).-dcSetDeviceOrigin :: DC  a -> Point ->  IO ()-dcSetDeviceOrigin _obj xy -  = withObjectRef "dcSetDeviceOrigin" _obj $ \cobj__obj -> -    wxDC_SetDeviceOrigin cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  -foreign import ccall "wxDC_SetDeviceOrigin" wxDC_SetDeviceOrigin :: Ptr (TDC a) -> CInt -> CInt -> IO ()---- | usage: (@dcSetFont obj font@).-dcSetFont :: DC  a -> Font  b ->  IO ()-dcSetFont _obj font -  = withObjectRef "dcSetFont" _obj $ \cobj__obj -> -    withObjectPtr font $ \cobj_font -> -    wxDC_SetFont cobj__obj  cobj_font  -foreign import ccall "wxDC_SetFont" wxDC_SetFont :: Ptr (TDC a) -> Ptr (TFont b) -> IO ()---- | usage: (@dcSetLogicalFunction obj function@).-dcSetLogicalFunction :: DC  a -> Int ->  IO ()-dcSetLogicalFunction _obj function -  = withObjectRef "dcSetLogicalFunction" _obj $ \cobj__obj -> -    wxDC_SetLogicalFunction cobj__obj  (toCInt function)  -foreign import ccall "wxDC_SetLogicalFunction" wxDC_SetLogicalFunction :: Ptr (TDC a) -> CInt -> IO ()---- | usage: (@dcSetLogicalOrigin obj xy@).-dcSetLogicalOrigin :: DC  a -> Point ->  IO ()-dcSetLogicalOrigin _obj xy -  = withObjectRef "dcSetLogicalOrigin" _obj $ \cobj__obj -> -    wxDC_SetLogicalOrigin cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  -foreign import ccall "wxDC_SetLogicalOrigin" wxDC_SetLogicalOrigin :: Ptr (TDC a) -> CInt -> CInt -> IO ()---- | usage: (@dcSetLogicalScale obj x y@).-dcSetLogicalScale :: DC  a -> Double -> Double ->  IO ()-dcSetLogicalScale _obj x y -  = withObjectRef "dcSetLogicalScale" _obj $ \cobj__obj -> -    wxDC_SetLogicalScale cobj__obj  x  y  -foreign import ccall "wxDC_SetLogicalScale" wxDC_SetLogicalScale :: Ptr (TDC a) -> Double -> Double -> IO ()---- | usage: (@dcSetMapMode obj mode@).-dcSetMapMode :: DC  a -> Int ->  IO ()-dcSetMapMode _obj mode -  = withObjectRef "dcSetMapMode" _obj $ \cobj__obj -> -    wxDC_SetMapMode cobj__obj  (toCInt mode)  -foreign import ccall "wxDC_SetMapMode" wxDC_SetMapMode :: Ptr (TDC a) -> CInt -> IO ()---- | usage: (@dcSetPalette obj palette@).-dcSetPalette :: DC  a -> Palette  b ->  IO ()-dcSetPalette _obj palette -  = withObjectRef "dcSetPalette" _obj $ \cobj__obj -> -    withObjectPtr palette $ \cobj_palette -> -    wxDC_SetPalette cobj__obj  cobj_palette  -foreign import ccall "wxDC_SetPalette" wxDC_SetPalette :: Ptr (TDC a) -> Ptr (TPalette b) -> IO ()---- | usage: (@dcSetPen obj pen@).-dcSetPen :: DC  a -> Pen  b ->  IO ()-dcSetPen _obj pen -  = withObjectRef "dcSetPen" _obj $ \cobj__obj -> -    withObjectPtr pen $ \cobj_pen -> -    wxDC_SetPen cobj__obj  cobj_pen  -foreign import ccall "wxDC_SetPen" wxDC_SetPen :: Ptr (TDC a) -> Ptr (TPen b) -> IO ()---- | usage: (@dcSetTextBackground obj colour@).-dcSetTextBackground :: DC  a -> Color ->  IO ()-dcSetTextBackground _obj colour -  = withObjectRef "dcSetTextBackground" _obj $ \cobj__obj -> -    withColourPtr colour $ \cobj_colour -> -    wxDC_SetTextBackground cobj__obj  cobj_colour  -foreign import ccall "wxDC_SetTextBackground" wxDC_SetTextBackground :: Ptr (TDC a) -> Ptr (TColour b) -> IO ()---- | usage: (@dcSetTextForeground obj colour@).-dcSetTextForeground :: DC  a -> Color ->  IO ()-dcSetTextForeground _obj colour -  = withObjectRef "dcSetTextForeground" _obj $ \cobj__obj -> -    withColourPtr colour $ \cobj_colour -> -    wxDC_SetTextForeground cobj__obj  cobj_colour  -foreign import ccall "wxDC_SetTextForeground" wxDC_SetTextForeground :: Ptr (TDC a) -> Ptr (TColour b) -> IO ()---- | usage: (@dcSetUserScale obj x y@).-dcSetUserScale :: DC  a -> Double -> Double ->  IO ()-dcSetUserScale _obj x y -  = withObjectRef "dcSetUserScale" _obj $ \cobj__obj -> -    wxDC_SetUserScale cobj__obj  x  y  -foreign import ccall "wxDC_SetUserScale" wxDC_SetUserScale :: Ptr (TDC a) -> Double -> Double -> IO ()---- | usage: (@dcStartDoc obj msg@).-dcStartDoc :: DC  a -> String ->  IO Bool-dcStartDoc _obj msg -  = withBoolResult $-    withObjectRef "dcStartDoc" _obj $ \cobj__obj -> -    withStringPtr msg $ \cobj_msg -> -    wxDC_StartDoc cobj__obj  cobj_msg  -foreign import ccall "wxDC_StartDoc" wxDC_StartDoc :: Ptr (TDC a) -> Ptr (TWxString b) -> IO CBool---- | usage: (@dcStartPage obj@).-dcStartPage :: DC  a ->  IO ()-dcStartPage _obj -  = withObjectRef "dcStartPage" _obj $ \cobj__obj -> -    wxDC_StartPage cobj__obj  -foreign import ccall "wxDC_StartPage" wxDC_StartPage :: Ptr (TDC a) -> IO ()---- | usage: (@dialogCreate prt id txt lfttopwdthgt stl@).-dialogCreate :: Window  a -> Id -> String -> Rect -> Style ->  IO (Dialog  ())-dialogCreate _prt _id _txt _lfttopwdthgt _stl -  = withObjectResult $-    withObjectPtr _prt $ \cobj__prt -> -    withStringPtr _txt $ \cobj__txt -> -    wxDialog_Create cobj__prt  (toCInt _id)  cobj__txt  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  (toCInt _stl)  -foreign import ccall "wxDialog_Create" wxDialog_Create :: Ptr (TWindow a) -> CInt -> Ptr (TWxString c) -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TDialog ()))---- | usage: (@dialogEndModal obj retCode@).-dialogEndModal :: Dialog  a -> Int ->  IO ()-dialogEndModal _obj retCode -  = withObjectRef "dialogEndModal" _obj $ \cobj__obj -> -    wxDialog_EndModal cobj__obj  (toCInt retCode)  -foreign import ccall "wxDialog_EndModal" wxDialog_EndModal :: Ptr (TDialog a) -> CInt -> IO ()---- | usage: (@dialogGetReturnCode obj@).-dialogGetReturnCode :: Dialog  a ->  IO Int-dialogGetReturnCode _obj -  = withIntResult $-    withObjectRef "dialogGetReturnCode" _obj $ \cobj__obj -> -    wxDialog_GetReturnCode cobj__obj  -foreign import ccall "wxDialog_GetReturnCode" wxDialog_GetReturnCode :: Ptr (TDialog a) -> IO CInt---- | usage: (@dialogIsModal obj@).-dialogIsModal :: Dialog  a ->  IO Bool-dialogIsModal _obj -  = withBoolResult $-    withObjectRef "dialogIsModal" _obj $ \cobj__obj -> -    wxDialog_IsModal cobj__obj  -foreign import ccall "wxDialog_IsModal" wxDialog_IsModal :: Ptr (TDialog a) -> IO CBool---- | usage: (@dialogSetReturnCode obj returnCode@).-dialogSetReturnCode :: Dialog  a -> Int ->  IO ()-dialogSetReturnCode _obj returnCode -  = withObjectRef "dialogSetReturnCode" _obj $ \cobj__obj -> -    wxDialog_SetReturnCode cobj__obj  (toCInt returnCode)  -foreign import ccall "wxDialog_SetReturnCode" wxDialog_SetReturnCode :: Ptr (TDialog a) -> CInt -> IO ()---- | usage: (@dialogShowModal obj@).-dialogShowModal :: Dialog  a ->  IO Int-dialogShowModal _obj -  = withIntResult $-    withObjectRef "dialogShowModal" _obj $ \cobj__obj -> -    wxDialog_ShowModal cobj__obj  -foreign import ccall "wxDialog_ShowModal" wxDialog_ShowModal :: Ptr (TDialog a) -> IO CInt---- | usage: (@dirDialogCreate prt msg dir lfttop stl@).-dirDialogCreate :: Window  a -> String -> String -> Point -> Style ->  IO (DirDialog  ())-dirDialogCreate _prt _msg _dir _lfttop _stl -  = withObjectResult $-    withObjectPtr _prt $ \cobj__prt -> -    withStringPtr _msg $ \cobj__msg -> -    withStringPtr _dir $ \cobj__dir -> -    wxDirDialog_Create cobj__prt  cobj__msg  cobj__dir  (toCIntPointX _lfttop) (toCIntPointY _lfttop)  (toCInt _stl)  -foreign import ccall "wxDirDialog_Create" wxDirDialog_Create :: Ptr (TWindow a) -> Ptr (TWxString b) -> Ptr (TWxString c) -> CInt -> CInt -> CInt -> IO (Ptr (TDirDialog ()))---- | usage: (@dirDialogGetMessage obj@).-dirDialogGetMessage :: DirDialog  a ->  IO (String)-dirDialogGetMessage _obj -  = withManagedStringResult $-    withObjectRef "dirDialogGetMessage" _obj $ \cobj__obj -> -    wxDirDialog_GetMessage cobj__obj  -foreign import ccall "wxDirDialog_GetMessage" wxDirDialog_GetMessage :: Ptr (TDirDialog a) -> IO (Ptr (TWxString ()))---- | usage: (@dirDialogGetPath obj@).-dirDialogGetPath :: DirDialog  a ->  IO (String)-dirDialogGetPath _obj -  = withManagedStringResult $-    withObjectRef "dirDialogGetPath" _obj $ \cobj__obj -> -    wxDirDialog_GetPath cobj__obj  -foreign import ccall "wxDirDialog_GetPath" wxDirDialog_GetPath :: Ptr (TDirDialog a) -> IO (Ptr (TWxString ()))---- | usage: (@dirDialogGetStyle obj@).-dirDialogGetStyle :: DirDialog  a ->  IO Int-dirDialogGetStyle _obj -  = withIntResult $-    withObjectRef "dirDialogGetStyle" _obj $ \cobj__obj -> -    wxDirDialog_GetStyle cobj__obj  -foreign import ccall "wxDirDialog_GetStyle" wxDirDialog_GetStyle :: Ptr (TDirDialog a) -> IO CInt---- | usage: (@dirDialogSetMessage obj msg@).-dirDialogSetMessage :: DirDialog  a -> String ->  IO ()-dirDialogSetMessage _obj msg -  = withObjectRef "dirDialogSetMessage" _obj $ \cobj__obj -> -    withStringPtr msg $ \cobj_msg -> -    wxDirDialog_SetMessage cobj__obj  cobj_msg  -foreign import ccall "wxDirDialog_SetMessage" wxDirDialog_SetMessage :: Ptr (TDirDialog a) -> Ptr (TWxString b) -> IO ()---- | usage: (@dirDialogSetPath obj pth@).-dirDialogSetPath :: DirDialog  a -> String ->  IO ()-dirDialogSetPath _obj pth -  = withObjectRef "dirDialogSetPath" _obj $ \cobj__obj -> -    withStringPtr pth $ \cobj_pth -> -    wxDirDialog_SetPath cobj__obj  cobj_pth  -foreign import ccall "wxDirDialog_SetPath" wxDirDialog_SetPath :: Ptr (TDirDialog a) -> Ptr (TWxString b) -> IO ()---- | usage: (@dirDialogSetStyle obj style@).-dirDialogSetStyle :: DirDialog  a -> Int ->  IO ()-dirDialogSetStyle _obj style -  = withObjectRef "dirDialogSetStyle" _obj $ \cobj__obj -> -    wxDirDialog_SetStyle cobj__obj  (toCInt style)  -foreign import ccall "wxDirDialog_SetStyle" wxDirDialog_SetStyle :: Ptr (TDirDialog a) -> CInt -> IO ()---- | usage: (@dragIcon icon xy@).-dragIcon :: Icon  a -> Point ->  IO (DragImage  ())-dragIcon icon xy -  = withObjectResult $-    withObjectPtr icon $ \cobj_icon -> -    wx_wxDragIcon cobj_icon  (toCIntPointX xy) (toCIntPointY xy)  -foreign import ccall "wxDragIcon" wx_wxDragIcon :: Ptr (TIcon a) -> CInt -> CInt -> IO (Ptr (TDragImage ()))---- | usage: (@dragImageBeginDrag self xy window boundingWindow@).-dragImageBeginDrag :: DragImage  a -> Point -> Window  c -> Window  d ->  IO Bool-dragImageBeginDrag self xy window boundingWindow -  = withBoolResult $-    withObjectRef "dragImageBeginDrag" self $ \cobj_self -> -    withObjectPtr window $ \cobj_window -> -    withObjectPtr boundingWindow $ \cobj_boundingWindow -> -    wxDragImage_BeginDrag cobj_self  (toCIntPointX xy) (toCIntPointY xy)  cobj_window  cobj_boundingWindow  -foreign import ccall "wxDragImage_BeginDrag" wxDragImage_BeginDrag :: Ptr (TDragImage a) -> CInt -> CInt -> Ptr (TWindow c) -> Ptr (TWindow d) -> IO CBool---- | usage: (@dragImageBeginDragFullScreen self xposypos window fullScreen rect@).-dragImageBeginDragFullScreen :: DragImage  a -> Point -> Window  c -> Bool -> Rect ->  IO Bool-dragImageBeginDragFullScreen self xposypos window fullScreen rect -  = withBoolResult $-    withObjectRef "dragImageBeginDragFullScreen" self $ \cobj_self -> -    withObjectPtr window $ \cobj_window -> -    withWxRectPtr rect $ \cobj_rect -> -    wxDragImage_BeginDragFullScreen cobj_self  (toCIntPointX xposypos) (toCIntPointY xposypos)  cobj_window  (toCBool fullScreen)  cobj_rect  -foreign import ccall "wxDragImage_BeginDragFullScreen" wxDragImage_BeginDragFullScreen :: Ptr (TDragImage a) -> CInt -> CInt -> Ptr (TWindow c) -> CBool -> Ptr (TWxRect e) -> IO CBool---- | usage: (@dragImageCreate image xy@).-dragImageCreate :: Bitmap  a -> Point ->  IO (DragImage  ())-dragImageCreate image xy -  = withObjectResult $-    withObjectPtr image $ \cobj_image -> -    wxDragImage_Create cobj_image  (toCIntPointX xy) (toCIntPointY xy)  -foreign import ccall "wxDragImage_Create" wxDragImage_Create :: Ptr (TBitmap a) -> CInt -> CInt -> IO (Ptr (TDragImage ()))---- | usage: (@dragImageDelete self@).-dragImageDelete :: DragImage  a ->  IO ()-dragImageDelete-  = objectDelete----- | usage: (@dragImageEndDrag self@).-dragImageEndDrag :: DragImage  a ->  IO ()-dragImageEndDrag self -  = withObjectRef "dragImageEndDrag" self $ \cobj_self -> -    wxDragImage_EndDrag cobj_self  -foreign import ccall "wxDragImage_EndDrag" wxDragImage_EndDrag :: Ptr (TDragImage a) -> IO ()---- | usage: (@dragImageHide self@).-dragImageHide :: DragImage  a ->  IO Bool-dragImageHide self -  = withBoolResult $-    withObjectRef "dragImageHide" self $ \cobj_self -> -    wxDragImage_Hide cobj_self  -foreign import ccall "wxDragImage_Hide" wxDragImage_Hide :: Ptr (TDragImage a) -> IO CBool---- | usage: (@dragImageMove self xy@).-dragImageMove :: DragImage  a -> Point ->  IO Bool-dragImageMove self xy -  = withBoolResult $-    withObjectRef "dragImageMove" self $ \cobj_self -> -    wxDragImage_Move cobj_self  (toCIntPointX xy) (toCIntPointY xy)  -foreign import ccall "wxDragImage_Move" wxDragImage_Move :: Ptr (TDragImage a) -> CInt -> CInt -> IO CBool---- | usage: (@dragImageShow self@).-dragImageShow :: DragImage  a ->  IO Bool-dragImageShow self -  = withBoolResult $-    withObjectRef "dragImageShow" self $ \cobj_self -> -    wxDragImage_Show cobj_self  -foreign import ccall "wxDragImage_Show" wxDragImage_Show :: Ptr (TDragImage a) -> IO CBool---- | usage: (@dragListItem treeCtrl id@).-dragListItem :: ListCtrl  a -> Id ->  IO (DragImage  ())-dragListItem treeCtrl id -  = withObjectResult $-    withObjectPtr treeCtrl $ \cobj_treeCtrl -> -    wx_wxDragListItem cobj_treeCtrl  (toCInt id)  -foreign import ccall "wxDragListItem" wx_wxDragListItem :: Ptr (TListCtrl a) -> CInt -> IO (Ptr (TDragImage ()))---- | usage: (@dragString test xy@).-dragString :: String -> Point ->  IO (DragImage  ())-dragString test xy -  = withObjectResult $-    withStringPtr test $ \cobj_test -> -    wx_wxDragString cobj_test  (toCIntPointX xy) (toCIntPointY xy)  -foreign import ccall "wxDragString" wx_wxDragString :: Ptr (TWxString a) -> CInt -> CInt -> IO (Ptr (TDragImage ()))---- | usage: (@dragTreeItem treeCtrl id@).-dragTreeItem :: TreeCtrl  a -> TreeItem ->  IO (DragImage  ())-dragTreeItem treeCtrl id -  = withObjectResult $-    withObjectPtr treeCtrl $ \cobj_treeCtrl -> -    withTreeItemIdPtr id $ \cobj_id -> -    wx_wxDragTreeItem cobj_treeCtrl  cobj_id  -foreign import ccall "wxDragTreeItem" wx_wxDragTreeItem :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> IO (Ptr (TDragImage ()))---- | usage: (@drawControlCreate prt id lfttopwdthgt stl@).-drawControlCreate :: Window  a -> Id -> Rect -> Style ->  IO (DrawControl  ())-drawControlCreate _prt _id _lfttopwdthgt _stl -  = withObjectResult $-    withObjectPtr _prt $ \cobj__prt -> -    wxDrawControl_Create cobj__prt  (toCInt _id)  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  (toCInt _stl)  -foreign import ccall "wxDrawControl_Create" wxDrawControl_Create :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TDrawControl ()))---- | usage: (@drawWindowCreate prt id lfttopwdthgt stl@).-drawWindowCreate :: Window  a -> Id -> Rect -> Style ->  IO (DrawWindow  ())-drawWindowCreate _prt _id _lfttopwdthgt _stl -  = withObjectResult $-    withObjectPtr _prt $ \cobj__prt -> -    wxDrawWindow_Create cobj__prt  (toCInt _id)  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  (toCInt _stl)  -foreign import ccall "wxDrawWindow_Create" wxDrawWindow_Create :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TDrawWindow ()))---- | usage: (@dropSourceCreate wxdata win copy move none@).-dropSourceCreate :: DataObject  a -> Window  b -> Ptr  c -> Ptr  d -> Ptr  e ->  IO (DropSource  ())-dropSourceCreate wxdata win copy move none -  = withObjectResult $-    withObjectPtr wxdata $ \cobj_wxdata -> -    withObjectPtr win $ \cobj_win -> -    wx_DropSource_Create cobj_wxdata  cobj_win  copy  move  none  -foreign import ccall "DropSource_Create" wx_DropSource_Create :: Ptr (TDataObject a) -> Ptr (TWindow b) -> Ptr  c -> Ptr  d -> Ptr  e -> IO (Ptr (TDropSource ()))---- | usage: (@dropSourceDelete obj@).-dropSourceDelete :: DropSource  a ->  IO ()-dropSourceDelete _obj -  = withObjectPtr _obj $ \cobj__obj -> -    wx_DropSource_Delete cobj__obj  -foreign import ccall "DropSource_Delete" wx_DropSource_Delete :: Ptr (TDropSource a) -> IO ()---- | usage: (@dropSourceDoDragDrop obj move@).-dropSourceDoDragDrop :: DropSource  a -> Int ->  IO Int-dropSourceDoDragDrop _obj _move -  = withIntResult $-    withObjectPtr _obj $ \cobj__obj -> -    wx_DropSource_DoDragDrop cobj__obj  (toCInt _move)  -foreign import ccall "DropSource_DoDragDrop" wx_DropSource_DoDragDrop :: Ptr (TDropSource a) -> CInt -> IO CInt---- | usage: (@dropTargetGetData obj@).-dropTargetGetData :: DropTarget  a ->  IO ()-dropTargetGetData _obj -  = withObjectRef "dropTargetGetData" _obj $ \cobj__obj -> -    wxDropTarget_GetData cobj__obj  -foreign import ccall "wxDropTarget_GetData" wxDropTarget_GetData :: Ptr (TDropTarget a) -> IO ()---- | usage: (@dropTargetSetDataObject obj dat@).-dropTargetSetDataObject :: DropTarget  a -> DataObject  b ->  IO ()-dropTargetSetDataObject _obj _dat -  = withObjectRef "dropTargetSetDataObject" _obj $ \cobj__obj -> -    withObjectPtr _dat $ \cobj__dat -> -    wxDropTarget_SetDataObject cobj__obj  cobj__dat  -foreign import ccall "wxDropTarget_SetDataObject" wxDropTarget_SetDataObject :: Ptr (TDropTarget a) -> Ptr (TDataObject b) -> IO ()---- | usage: (@encodingConverterConvert obj input output@).-encodingConverterConvert :: EncodingConverter  a -> Ptr  b -> Ptr  c ->  IO ()-encodingConverterConvert _obj input output -  = withObjectRef "encodingConverterConvert" _obj $ \cobj__obj -> -    wxEncodingConverter_Convert cobj__obj  input  output  -foreign import ccall "wxEncodingConverter_Convert" wxEncodingConverter_Convert :: Ptr (TEncodingConverter a) -> Ptr  b -> Ptr  c -> IO ()---- | usage: (@encodingConverterCreate@).-encodingConverterCreate ::  IO (EncodingConverter  ())-encodingConverterCreate -  = withObjectResult $-    wxEncodingConverter_Create -foreign import ccall "wxEncodingConverter_Create" wxEncodingConverter_Create :: IO (Ptr (TEncodingConverter ()))---- | usage: (@encodingConverterDelete obj@).-encodingConverterDelete :: EncodingConverter  a ->  IO ()-encodingConverterDelete-  = objectDelete----- | usage: (@encodingConverterGetAllEquivalents obj enc lst@).-encodingConverterGetAllEquivalents :: EncodingConverter  a -> Int -> List  c ->  IO Int-encodingConverterGetAllEquivalents _obj enc _lst -  = withIntResult $-    withObjectRef "encodingConverterGetAllEquivalents" _obj $ \cobj__obj -> -    withObjectPtr _lst $ \cobj__lst -> -    wxEncodingConverter_GetAllEquivalents cobj__obj  (toCInt enc)  cobj__lst  -foreign import ccall "wxEncodingConverter_GetAllEquivalents" wxEncodingConverter_GetAllEquivalents :: Ptr (TEncodingConverter a) -> CInt -> Ptr (TList c) -> IO CInt---- | usage: (@encodingConverterGetPlatformEquivalents obj enc platform lst@).-encodingConverterGetPlatformEquivalents :: EncodingConverter  a -> Int -> Int -> List  d ->  IO Int-encodingConverterGetPlatformEquivalents _obj enc platform _lst -  = withIntResult $-    withObjectRef "encodingConverterGetPlatformEquivalents" _obj $ \cobj__obj -> -    withObjectPtr _lst $ \cobj__lst -> -    wxEncodingConverter_GetPlatformEquivalents cobj__obj  (toCInt enc)  (toCInt platform)  cobj__lst  -foreign import ccall "wxEncodingConverter_GetPlatformEquivalents" wxEncodingConverter_GetPlatformEquivalents :: Ptr (TEncodingConverter a) -> CInt -> CInt -> Ptr (TList d) -> IO CInt---- | usage: (@encodingConverterInit obj inputenc outputenc method@).-encodingConverterInit :: EncodingConverter  a -> Int -> Int -> Int ->  IO Int-encodingConverterInit _obj inputenc outputenc method -  = withIntResult $-    withObjectRef "encodingConverterInit" _obj $ \cobj__obj -> -    wxEncodingConverter_Init cobj__obj  (toCInt inputenc)  (toCInt outputenc)  (toCInt method)  -foreign import ccall "wxEncodingConverter_Init" wxEncodingConverter_Init :: Ptr (TEncodingConverter a) -> CInt -> CInt -> CInt -> IO CInt---- | usage: (@eraseEventCopyObject obj obj@).-eraseEventCopyObject :: EraseEvent  a -> Ptr  b ->  IO ()-eraseEventCopyObject _obj obj -  = withObjectRef "eraseEventCopyObject" _obj $ \cobj__obj -> -    wxEraseEvent_CopyObject cobj__obj  obj  -foreign import ccall "wxEraseEvent_CopyObject" wxEraseEvent_CopyObject :: Ptr (TEraseEvent a) -> Ptr  b -> IO ()---- | usage: (@eraseEventGetDC obj@).-eraseEventGetDC :: EraseEvent  a ->  IO (DC  ())-eraseEventGetDC _obj -  = withObjectResult $-    withObjectRef "eraseEventGetDC" _obj $ \cobj__obj -> -    wxEraseEvent_GetDC cobj__obj  -foreign import ccall "wxEraseEvent_GetDC" wxEraseEvent_GetDC :: Ptr (TEraseEvent a) -> IO (Ptr (TDC ()))---- | usage: (@eventCopyObject obj objectdest@).-eventCopyObject :: Event  a -> Ptr  b ->  IO ()-eventCopyObject _obj objectdest -  = withObjectRef "eventCopyObject" _obj $ \cobj__obj -> -    wxEvent_CopyObject cobj__obj  objectdest  -foreign import ccall "wxEvent_CopyObject" wxEvent_CopyObject :: Ptr (TEvent a) -> Ptr  b -> IO ()---- | usage: (@eventGetEventObject obj@).-eventGetEventObject :: Event  a ->  IO (WxObject  ())-eventGetEventObject _obj -  = withObjectResult $-    withObjectRef "eventGetEventObject" _obj $ \cobj__obj -> -    wxEvent_GetEventObject cobj__obj  -foreign import ccall "wxEvent_GetEventObject" wxEvent_GetEventObject :: Ptr (TEvent a) -> IO (Ptr (TWxObject ()))---- | usage: (@eventGetEventType obj@).-eventGetEventType :: Event  a ->  IO Int-eventGetEventType _obj -  = withIntResult $-    withObjectRef "eventGetEventType" _obj $ \cobj__obj -> -    wxEvent_GetEventType cobj__obj  -foreign import ccall "wxEvent_GetEventType" wxEvent_GetEventType :: Ptr (TEvent a) -> IO CInt---- | usage: (@eventGetId obj@).-eventGetId :: Event  a ->  IO Int-eventGetId _obj -  = withIntResult $-    withObjectRef "eventGetId" _obj $ \cobj__obj -> -    wxEvent_GetId cobj__obj  -foreign import ccall "wxEvent_GetId" wxEvent_GetId :: Ptr (TEvent a) -> IO CInt---- | usage: (@eventGetSkipped obj@).-eventGetSkipped :: Event  a ->  IO Bool-eventGetSkipped _obj -  = withBoolResult $-    withObjectRef "eventGetSkipped" _obj $ \cobj__obj -> -    wxEvent_GetSkipped cobj__obj  -foreign import ccall "wxEvent_GetSkipped" wxEvent_GetSkipped :: Ptr (TEvent a) -> IO CBool---- | usage: (@eventGetTimestamp obj@).-eventGetTimestamp :: Event  a ->  IO Int-eventGetTimestamp _obj -  = withIntResult $-    withObjectRef "eventGetTimestamp" _obj $ \cobj__obj -> -    wxEvent_GetTimestamp cobj__obj  -foreign import ccall "wxEvent_GetTimestamp" wxEvent_GetTimestamp :: Ptr (TEvent a) -> IO CInt---- | usage: (@eventIsCommandEvent obj@).-eventIsCommandEvent :: Event  a ->  IO Bool-eventIsCommandEvent _obj -  = withBoolResult $-    withObjectRef "eventIsCommandEvent" _obj $ \cobj__obj -> -    wxEvent_IsCommandEvent cobj__obj  -foreign import ccall "wxEvent_IsCommandEvent" wxEvent_IsCommandEvent :: Ptr (TEvent a) -> IO CBool---- | usage: (@eventNewEventType@).-eventNewEventType ::  IO Int-eventNewEventType -  = withIntResult $-    wxEvent_NewEventType -foreign import ccall "wxEvent_NewEventType" wxEvent_NewEventType :: IO CInt---- | usage: (@eventSetEventObject obj obj@).-eventSetEventObject :: Event  a -> WxObject  b ->  IO ()-eventSetEventObject _obj obj -  = withObjectRef "eventSetEventObject" _obj $ \cobj__obj -> -    withObjectPtr obj $ \cobj_obj -> -    wxEvent_SetEventObject cobj__obj  cobj_obj  -foreign import ccall "wxEvent_SetEventObject" wxEvent_SetEventObject :: Ptr (TEvent a) -> Ptr (TWxObject b) -> IO ()---- | usage: (@eventSetEventType obj typ@).-eventSetEventType :: Event  a -> Int ->  IO ()-eventSetEventType _obj typ -  = withObjectRef "eventSetEventType" _obj $ \cobj__obj -> -    wxEvent_SetEventType cobj__obj  (toCInt typ)  -foreign import ccall "wxEvent_SetEventType" wxEvent_SetEventType :: Ptr (TEvent a) -> CInt -> IO ()---- | usage: (@eventSetId obj id@).-eventSetId :: Event  a -> Int ->  IO ()-eventSetId _obj id -  = withObjectRef "eventSetId" _obj $ \cobj__obj -> -    wxEvent_SetId cobj__obj  (toCInt id)  -foreign import ccall "wxEvent_SetId" wxEvent_SetId :: Ptr (TEvent a) -> CInt -> IO ()---- | usage: (@eventSetTimestamp obj ts@).-eventSetTimestamp :: Event  a -> Int ->  IO ()-eventSetTimestamp _obj ts -  = withObjectRef "eventSetTimestamp" _obj $ \cobj__obj -> -    wxEvent_SetTimestamp cobj__obj  (toCInt ts)  -foreign import ccall "wxEvent_SetTimestamp" wxEvent_SetTimestamp :: Ptr (TEvent a) -> CInt -> IO ()---- | usage: (@eventSkip obj@).-eventSkip :: Event  a ->  IO ()-eventSkip _obj -  = withObjectRef "eventSkip" _obj $ \cobj__obj -> -    wxEvent_Skip cobj__obj  -foreign import ccall "wxEvent_Skip" wxEvent_Skip :: Ptr (TEvent a) -> IO ()---- | usage: (@evtHandlerAddPendingEvent obj event@).-evtHandlerAddPendingEvent :: EvtHandler  a -> Event  b ->  IO ()-evtHandlerAddPendingEvent _obj event -  = withObjectRef "evtHandlerAddPendingEvent" _obj $ \cobj__obj -> -    withObjectPtr event $ \cobj_event -> -    wxEvtHandler_AddPendingEvent cobj__obj  cobj_event  -foreign import ccall "wxEvtHandler_AddPendingEvent" wxEvtHandler_AddPendingEvent :: Ptr (TEvtHandler a) -> Ptr (TEvent b) -> IO ()---- | usage: (@evtHandlerConnect obj first last wxtype wxdata@).-evtHandlerConnect :: EvtHandler  a -> Int -> Int -> Int -> Ptr  e ->  IO Int-evtHandlerConnect _obj first last wxtype wxdata -  = withIntResult $-    withObjectRef "evtHandlerConnect" _obj $ \cobj__obj -> -    wxEvtHandler_Connect cobj__obj  (toCInt first)  (toCInt last)  (toCInt wxtype)  wxdata  -foreign import ccall "wxEvtHandler_Connect" wxEvtHandler_Connect :: Ptr (TEvtHandler a) -> CInt -> CInt -> CInt -> Ptr  e -> IO CInt---- | usage: (@evtHandlerCreate@).-evtHandlerCreate ::  IO (EvtHandler  ())-evtHandlerCreate -  = withObjectResult $-    wxEvtHandler_Create -foreign import ccall "wxEvtHandler_Create" wxEvtHandler_Create :: IO (Ptr (TEvtHandler ()))---- | usage: (@evtHandlerDelete obj@).-evtHandlerDelete :: EvtHandler  a ->  IO ()-evtHandlerDelete-  = objectDelete----- | usage: (@evtHandlerDisconnect obj first last wxtype id@).-evtHandlerDisconnect :: EvtHandler  a -> Int -> Int -> Int -> Id ->  IO Int-evtHandlerDisconnect _obj first last wxtype id -  = withIntResult $-    withObjectRef "evtHandlerDisconnect" _obj $ \cobj__obj -> -    wxEvtHandler_Disconnect cobj__obj  (toCInt first)  (toCInt last)  (toCInt wxtype)  (toCInt id)  -foreign import ccall "wxEvtHandler_Disconnect" wxEvtHandler_Disconnect :: Ptr (TEvtHandler a) -> CInt -> CInt -> CInt -> CInt -> IO CInt--{- |  Get the client data in the form of a closure. Use 'closureGetData' to get to the actual data. -}-evtHandlerGetClientClosure :: EvtHandler  a ->  IO (Closure  ())-evtHandlerGetClientClosure _obj -  = withObjectResult $-    withObjectRef "evtHandlerGetClientClosure" _obj $ \cobj__obj -> -    wxEvtHandler_GetClientClosure cobj__obj  -foreign import ccall "wxEvtHandler_GetClientClosure" wxEvtHandler_GetClientClosure :: Ptr (TEvtHandler a) -> IO (Ptr (TClosure ()))---- | usage: (@evtHandlerGetClosure obj id wxtype@).-evtHandlerGetClosure :: EvtHandler  a -> Id -> Int ->  IO (Closure  ())-evtHandlerGetClosure _obj id wxtype -  = withObjectResult $-    withObjectRef "evtHandlerGetClosure" _obj $ \cobj__obj -> -    wxEvtHandler_GetClosure cobj__obj  (toCInt id)  (toCInt wxtype)  -foreign import ccall "wxEvtHandler_GetClosure" wxEvtHandler_GetClosure :: Ptr (TEvtHandler a) -> CInt -> CInt -> IO (Ptr (TClosure ()))---- | usage: (@evtHandlerGetEvtHandlerEnabled obj@).-evtHandlerGetEvtHandlerEnabled :: EvtHandler  a ->  IO Bool-evtHandlerGetEvtHandlerEnabled _obj -  = withBoolResult $-    withObjectRef "evtHandlerGetEvtHandlerEnabled" _obj $ \cobj__obj -> -    wxEvtHandler_GetEvtHandlerEnabled cobj__obj  -foreign import ccall "wxEvtHandler_GetEvtHandlerEnabled" wxEvtHandler_GetEvtHandlerEnabled :: Ptr (TEvtHandler a) -> IO CBool---- | usage: (@evtHandlerGetNextHandler obj@).-evtHandlerGetNextHandler :: EvtHandler  a ->  IO (EvtHandler  ())-evtHandlerGetNextHandler _obj -  = withObjectResult $-    withObjectRef "evtHandlerGetNextHandler" _obj $ \cobj__obj -> -    wxEvtHandler_GetNextHandler cobj__obj  -foreign import ccall "wxEvtHandler_GetNextHandler" wxEvtHandler_GetNextHandler :: Ptr (TEvtHandler a) -> IO (Ptr (TEvtHandler ()))---- | usage: (@evtHandlerGetPreviousHandler obj@).-evtHandlerGetPreviousHandler :: EvtHandler  a ->  IO (EvtHandler  ())-evtHandlerGetPreviousHandler _obj -  = withObjectResult $-    withObjectRef "evtHandlerGetPreviousHandler" _obj $ \cobj__obj -> -    wxEvtHandler_GetPreviousHandler cobj__obj  -foreign import ccall "wxEvtHandler_GetPreviousHandler" wxEvtHandler_GetPreviousHandler :: Ptr (TEvtHandler a) -> IO (Ptr (TEvtHandler ()))---- | usage: (@evtHandlerProcessEvent obj event@).-evtHandlerProcessEvent :: EvtHandler  a -> Event  b ->  IO Bool-evtHandlerProcessEvent _obj event -  = withBoolResult $-    withObjectRef "evtHandlerProcessEvent" _obj $ \cobj__obj -> -    withObjectPtr event $ \cobj_event -> -    wxEvtHandler_ProcessEvent cobj__obj  cobj_event  -foreign import ccall "wxEvtHandler_ProcessEvent" wxEvtHandler_ProcessEvent :: Ptr (TEvtHandler a) -> Ptr (TEvent b) -> IO CBool---- | usage: (@evtHandlerProcessPendingEvents obj@).-evtHandlerProcessPendingEvents :: EvtHandler  a ->  IO ()-evtHandlerProcessPendingEvents _obj -  = withObjectRef "evtHandlerProcessPendingEvents" _obj $ \cobj__obj -> -    wxEvtHandler_ProcessPendingEvents cobj__obj  -foreign import ccall "wxEvtHandler_ProcessPendingEvents" wxEvtHandler_ProcessPendingEvents :: Ptr (TEvtHandler a) -> IO ()--{- |  Set the client data as a closure. The closure data contains the data while the function is called on deletion.  -}-evtHandlerSetClientClosure :: EvtHandler  a -> Closure  b ->  IO ()-evtHandlerSetClientClosure _obj closure -  = withObjectRef "evtHandlerSetClientClosure" _obj $ \cobj__obj -> -    withObjectPtr closure $ \cobj_closure -> -    wxEvtHandler_SetClientClosure cobj__obj  cobj_closure  -foreign import ccall "wxEvtHandler_SetClientClosure" wxEvtHandler_SetClientClosure :: Ptr (TEvtHandler a) -> Ptr (TClosure b) -> IO ()---- | usage: (@evtHandlerSetEvtHandlerEnabled obj enabled@).-evtHandlerSetEvtHandlerEnabled :: EvtHandler  a -> Bool ->  IO ()-evtHandlerSetEvtHandlerEnabled _obj enabled -  = withObjectRef "evtHandlerSetEvtHandlerEnabled" _obj $ \cobj__obj -> -    wxEvtHandler_SetEvtHandlerEnabled cobj__obj  (toCBool enabled)  -foreign import ccall "wxEvtHandler_SetEvtHandlerEnabled" wxEvtHandler_SetEvtHandlerEnabled :: Ptr (TEvtHandler a) -> CBool -> IO ()---- | usage: (@evtHandlerSetNextHandler obj handler@).-evtHandlerSetNextHandler :: EvtHandler  a -> EvtHandler  b ->  IO ()-evtHandlerSetNextHandler _obj handler -  = withObjectRef "evtHandlerSetNextHandler" _obj $ \cobj__obj -> -    withObjectPtr handler $ \cobj_handler -> -    wxEvtHandler_SetNextHandler cobj__obj  cobj_handler  -foreign import ccall "wxEvtHandler_SetNextHandler" wxEvtHandler_SetNextHandler :: Ptr (TEvtHandler a) -> Ptr (TEvtHandler b) -> IO ()---- | usage: (@evtHandlerSetPreviousHandler obj handler@).-evtHandlerSetPreviousHandler :: EvtHandler  a -> EvtHandler  b ->  IO ()-evtHandlerSetPreviousHandler _obj handler -  = withObjectRef "evtHandlerSetPreviousHandler" _obj $ \cobj__obj -> -    withObjectPtr handler $ \cobj_handler -> -    wxEvtHandler_SetPreviousHandler cobj__obj  cobj_handler  -foreign import ccall "wxEvtHandler_SetPreviousHandler" wxEvtHandler_SetPreviousHandler :: Ptr (TEvtHandler a) -> Ptr (TEvtHandler b) -> IO ()---- | usage: (@fileConfigCreate inp@).-fileConfigCreate :: InputStream  a ->  IO (FileConfig  ())-fileConfigCreate inp -  = withObjectResult $-    withObjectPtr inp $ \cobj_inp -> -    wxFileConfig_Create cobj_inp  -foreign import ccall "wxFileConfig_Create" wxFileConfig_Create :: Ptr (TInputStream a) -> IO (Ptr (TFileConfig ()))---- | usage: (@fileDataObjectAddFile obj fle@).-fileDataObjectAddFile :: FileDataObject  a -> String ->  IO ()-fileDataObjectAddFile _obj _fle -  = withObjectPtr _obj $ \cobj__obj -> -    withStringPtr _fle $ \cobj__fle -> -    wx_FileDataObject_AddFile cobj__obj  cobj__fle  -foreign import ccall "FileDataObject_AddFile" wx_FileDataObject_AddFile :: Ptr (TFileDataObject a) -> Ptr (TWxString b) -> IO ()---- | usage: (@fileDataObjectCreate cntlst@).-fileDataObjectCreate :: [String] ->  IO (FileDataObject  ())-fileDataObjectCreate _cntlst -  = withObjectResult $-    withArrayWString _cntlst $ \carrlen__cntlst carr__cntlst -> -    wx_FileDataObject_Create carrlen__cntlst carr__cntlst  -foreign import ccall "FileDataObject_Create" wx_FileDataObject_Create :: CInt -> Ptr (Ptr CWchar) -> IO (Ptr (TFileDataObject ()))---- | usage: (@fileDataObjectDelete obj@).-fileDataObjectDelete :: FileDataObject  a ->  IO ()-fileDataObjectDelete _obj -  = withObjectPtr _obj $ \cobj__obj -> -    wx_FileDataObject_Delete cobj__obj  -foreign import ccall "FileDataObject_Delete" wx_FileDataObject_Delete :: Ptr (TFileDataObject a) -> IO ()---- | usage: (@fileDataObjectGetFilenames obj@).-fileDataObjectGetFilenames :: FileDataObject  a ->  IO [String]-fileDataObjectGetFilenames _obj -  = withArrayWStringResult $ \arr -> -    withObjectPtr _obj $ \cobj__obj -> -    wx_FileDataObject_GetFilenames cobj__obj   arr-foreign import ccall "FileDataObject_GetFilenames" wx_FileDataObject_GetFilenames :: Ptr (TFileDataObject a) -> Ptr (Ptr CWchar) -> IO CInt---- | usage: (@fileDialogCreate prt msg dir fle wcd lfttop stl@).-fileDialogCreate :: Window  a -> String -> String -> String -> String -> Point -> Style ->  IO (FileDialog  ())-fileDialogCreate _prt _msg _dir _fle _wcd _lfttop _stl -  = withObjectResult $-    withObjectPtr _prt $ \cobj__prt -> -    withStringPtr _msg $ \cobj__msg -> -    withStringPtr _dir $ \cobj__dir -> -    withStringPtr _fle $ \cobj__fle -> -    withStringPtr _wcd $ \cobj__wcd -> -    wxFileDialog_Create cobj__prt  cobj__msg  cobj__dir  cobj__fle  cobj__wcd  (toCIntPointX _lfttop) (toCIntPointY _lfttop)  (toCInt _stl)  -foreign import ccall "wxFileDialog_Create" wxFileDialog_Create :: Ptr (TWindow a) -> Ptr (TWxString b) -> Ptr (TWxString c) -> Ptr (TWxString d) -> Ptr (TWxString e) -> CInt -> CInt -> CInt -> IO (Ptr (TFileDialog ()))---- | usage: (@fileDialogGetDirectory obj@).-fileDialogGetDirectory :: FileDialog  a ->  IO (String)-fileDialogGetDirectory _obj -  = withManagedStringResult $-    withObjectRef "fileDialogGetDirectory" _obj $ \cobj__obj -> -    wxFileDialog_GetDirectory cobj__obj  -foreign import ccall "wxFileDialog_GetDirectory" wxFileDialog_GetDirectory :: Ptr (TFileDialog a) -> IO (Ptr (TWxString ()))---- | usage: (@fileDialogGetFilename obj@).-fileDialogGetFilename :: FileDialog  a ->  IO (String)-fileDialogGetFilename _obj -  = withManagedStringResult $-    withObjectRef "fileDialogGetFilename" _obj $ \cobj__obj -> -    wxFileDialog_GetFilename cobj__obj  -foreign import ccall "wxFileDialog_GetFilename" wxFileDialog_GetFilename :: Ptr (TFileDialog a) -> IO (Ptr (TWxString ()))---- | usage: (@fileDialogGetFilenames obj@).-fileDialogGetFilenames :: FileDialog  a ->  IO [String]-fileDialogGetFilenames _obj -  = withArrayWStringResult $ \arr -> -    withObjectRef "fileDialogGetFilenames" _obj $ \cobj__obj -> -    wxFileDialog_GetFilenames cobj__obj   arr-foreign import ccall "wxFileDialog_GetFilenames" wxFileDialog_GetFilenames :: Ptr (TFileDialog a) -> Ptr (Ptr CWchar) -> IO CInt---- | usage: (@fileDialogGetFilterIndex obj@).-fileDialogGetFilterIndex :: FileDialog  a ->  IO Int-fileDialogGetFilterIndex _obj -  = withIntResult $-    withObjectRef "fileDialogGetFilterIndex" _obj $ \cobj__obj -> -    wxFileDialog_GetFilterIndex cobj__obj  -foreign import ccall "wxFileDialog_GetFilterIndex" wxFileDialog_GetFilterIndex :: Ptr (TFileDialog a) -> IO CInt---- | usage: (@fileDialogGetMessage obj@).-fileDialogGetMessage :: FileDialog  a ->  IO (String)-fileDialogGetMessage _obj -  = withManagedStringResult $-    withObjectRef "fileDialogGetMessage" _obj $ \cobj__obj -> -    wxFileDialog_GetMessage cobj__obj  -foreign import ccall "wxFileDialog_GetMessage" wxFileDialog_GetMessage :: Ptr (TFileDialog a) -> IO (Ptr (TWxString ()))---- | usage: (@fileDialogGetPath obj@).-fileDialogGetPath :: FileDialog  a ->  IO (String)-fileDialogGetPath _obj -  = withManagedStringResult $-    withObjectRef "fileDialogGetPath" _obj $ \cobj__obj -> -    wxFileDialog_GetPath cobj__obj  -foreign import ccall "wxFileDialog_GetPath" wxFileDialog_GetPath :: Ptr (TFileDialog a) -> IO (Ptr (TWxString ()))---- | usage: (@fileDialogGetPaths obj@).-fileDialogGetPaths :: FileDialog  a ->  IO [String]-fileDialogGetPaths _obj -  = withArrayWStringResult $ \arr -> -    withObjectRef "fileDialogGetPaths" _obj $ \cobj__obj -> -    wxFileDialog_GetPaths cobj__obj   arr-foreign import ccall "wxFileDialog_GetPaths" wxFileDialog_GetPaths :: Ptr (TFileDialog a) -> Ptr (Ptr CWchar) -> IO CInt---- | usage: (@fileDialogGetStyle obj@).-fileDialogGetStyle :: FileDialog  a ->  IO Int-fileDialogGetStyle _obj -  = withIntResult $-    withObjectRef "fileDialogGetStyle" _obj $ \cobj__obj -> -    wxFileDialog_GetStyle cobj__obj  -foreign import ccall "wxFileDialog_GetStyle" wxFileDialog_GetStyle :: Ptr (TFileDialog a) -> IO CInt---- | usage: (@fileDialogGetWildcard obj@).-fileDialogGetWildcard :: FileDialog  a ->  IO (String)-fileDialogGetWildcard _obj -  = withManagedStringResult $-    withObjectRef "fileDialogGetWildcard" _obj $ \cobj__obj -> -    wxFileDialog_GetWildcard cobj__obj  -foreign import ccall "wxFileDialog_GetWildcard" wxFileDialog_GetWildcard :: Ptr (TFileDialog a) -> IO (Ptr (TWxString ()))---- | usage: (@fileDialogSetDirectory obj dir@).-fileDialogSetDirectory :: FileDialog  a -> String ->  IO ()-fileDialogSetDirectory _obj dir -  = withObjectRef "fileDialogSetDirectory" _obj $ \cobj__obj -> -    withStringPtr dir $ \cobj_dir -> -    wxFileDialog_SetDirectory cobj__obj  cobj_dir  -foreign import ccall "wxFileDialog_SetDirectory" wxFileDialog_SetDirectory :: Ptr (TFileDialog a) -> Ptr (TWxString b) -> IO ()---- | usage: (@fileDialogSetFilename obj name@).-fileDialogSetFilename :: FileDialog  a -> String ->  IO ()-fileDialogSetFilename _obj name -  = withObjectRef "fileDialogSetFilename" _obj $ \cobj__obj -> -    withStringPtr name $ \cobj_name -> -    wxFileDialog_SetFilename cobj__obj  cobj_name  -foreign import ccall "wxFileDialog_SetFilename" wxFileDialog_SetFilename :: Ptr (TFileDialog a) -> Ptr (TWxString b) -> IO ()---- | usage: (@fileDialogSetFilterIndex obj filterIndex@).-fileDialogSetFilterIndex :: FileDialog  a -> Int ->  IO ()-fileDialogSetFilterIndex _obj filterIndex -  = withObjectRef "fileDialogSetFilterIndex" _obj $ \cobj__obj -> -    wxFileDialog_SetFilterIndex cobj__obj  (toCInt filterIndex)  -foreign import ccall "wxFileDialog_SetFilterIndex" wxFileDialog_SetFilterIndex :: Ptr (TFileDialog a) -> CInt -> IO ()---- | usage: (@fileDialogSetMessage obj message@).-fileDialogSetMessage :: FileDialog  a -> String ->  IO ()-fileDialogSetMessage _obj message -  = withObjectRef "fileDialogSetMessage" _obj $ \cobj__obj -> -    withStringPtr message $ \cobj_message -> -    wxFileDialog_SetMessage cobj__obj  cobj_message  -foreign import ccall "wxFileDialog_SetMessage" wxFileDialog_SetMessage :: Ptr (TFileDialog a) -> Ptr (TWxString b) -> IO ()---- | usage: (@fileDialogSetPath obj path@).-fileDialogSetPath :: FileDialog  a -> String ->  IO ()-fileDialogSetPath _obj path -  = withObjectRef "fileDialogSetPath" _obj $ \cobj__obj -> -    withStringPtr path $ \cobj_path -> -    wxFileDialog_SetPath cobj__obj  cobj_path  -foreign import ccall "wxFileDialog_SetPath" wxFileDialog_SetPath :: Ptr (TFileDialog a) -> Ptr (TWxString b) -> IO ()---- | usage: (@fileDialogSetStyle obj style@).-fileDialogSetStyle :: FileDialog  a -> Int ->  IO ()-fileDialogSetStyle _obj style -  = withObjectRef "fileDialogSetStyle" _obj $ \cobj__obj -> -    wxFileDialog_SetStyle cobj__obj  (toCInt style)  -foreign import ccall "wxFileDialog_SetStyle" wxFileDialog_SetStyle :: Ptr (TFileDialog a) -> CInt -> IO ()---- | usage: (@fileDialogSetWildcard obj wildCard@).-fileDialogSetWildcard :: FileDialog  a -> String ->  IO ()-fileDialogSetWildcard _obj wildCard -  = withObjectRef "fileDialogSetWildcard" _obj $ \cobj__obj -> -    withStringPtr wildCard $ \cobj_wildCard -> -    wxFileDialog_SetWildcard cobj__obj  cobj_wildCard  -foreign import ccall "wxFileDialog_SetWildcard" wxFileDialog_SetWildcard :: Ptr (TFileDialog a) -> Ptr (TWxString b) -> IO ()---- | usage: (@fileHistoryAddFileToHistory obj file@).-fileHistoryAddFileToHistory :: FileHistory  a -> String ->  IO ()-fileHistoryAddFileToHistory _obj file -  = withObjectRef "fileHistoryAddFileToHistory" _obj $ \cobj__obj -> -    withStringPtr file $ \cobj_file -> -    wxFileHistory_AddFileToHistory cobj__obj  cobj_file  -foreign import ccall "wxFileHistory_AddFileToHistory" wxFileHistory_AddFileToHistory :: Ptr (TFileHistory a) -> Ptr (TWxString b) -> IO ()---- | usage: (@fileHistoryAddFilesToMenu obj menu@).-fileHistoryAddFilesToMenu :: FileHistory  a -> Menu  b ->  IO ()-fileHistoryAddFilesToMenu _obj menu -  = withObjectRef "fileHistoryAddFilesToMenu" _obj $ \cobj__obj -> -    withObjectPtr menu $ \cobj_menu -> -    wxFileHistory_AddFilesToMenu cobj__obj  cobj_menu  -foreign import ccall "wxFileHistory_AddFilesToMenu" wxFileHistory_AddFilesToMenu :: Ptr (TFileHistory a) -> Ptr (TMenu b) -> IO ()---- | usage: (@fileHistoryCreate maxFiles@).-fileHistoryCreate :: Int ->  IO (FileHistory  ())-fileHistoryCreate maxFiles -  = withObjectResult $-    wxFileHistory_Create (toCInt maxFiles)  -foreign import ccall "wxFileHistory_Create" wxFileHistory_Create :: CInt -> IO (Ptr (TFileHistory ()))---- | usage: (@fileHistoryDelete obj@).-fileHistoryDelete :: FileHistory  a ->  IO ()-fileHistoryDelete-  = objectDelete----- | usage: (@fileHistoryGetCount obj@).-fileHistoryGetCount :: FileHistory  a ->  IO Int-fileHistoryGetCount _obj -  = withIntResult $-    withObjectRef "fileHistoryGetCount" _obj $ \cobj__obj -> -    wxFileHistory_GetCount cobj__obj  -foreign import ccall "wxFileHistory_GetCount" wxFileHistory_GetCount :: Ptr (TFileHistory a) -> IO CInt---- | usage: (@fileHistoryGetHistoryFile obj i@).-fileHistoryGetHistoryFile :: FileHistory  a -> Int ->  IO (String)-fileHistoryGetHistoryFile _obj i -  = withManagedStringResult $-    withObjectRef "fileHistoryGetHistoryFile" _obj $ \cobj__obj -> -    wxFileHistory_GetHistoryFile cobj__obj  (toCInt i)  -foreign import ccall "wxFileHistory_GetHistoryFile" wxFileHistory_GetHistoryFile :: Ptr (TFileHistory a) -> CInt -> IO (Ptr (TWxString ()))---- | usage: (@fileHistoryGetMaxFiles obj@).-fileHistoryGetMaxFiles :: FileHistory  a ->  IO Int-fileHistoryGetMaxFiles _obj -  = withIntResult $-    withObjectRef "fileHistoryGetMaxFiles" _obj $ \cobj__obj -> -    wxFileHistory_GetMaxFiles cobj__obj  -foreign import ccall "wxFileHistory_GetMaxFiles" wxFileHistory_GetMaxFiles :: Ptr (TFileHistory a) -> IO CInt---- | usage: (@fileHistoryGetMenus obj@).-fileHistoryGetMenus :: FileHistory  a ->  IO [Menu ()]-fileHistoryGetMenus _obj -  = withArrayObjectResult $ \arr -> -    withObjectRef "fileHistoryGetMenus" _obj $ \cobj__obj -> -    wxFileHistory_GetMenus cobj__obj   arr-foreign import ccall "wxFileHistory_GetMenus" wxFileHistory_GetMenus :: Ptr (TFileHistory a) -> Ptr (Ptr (TMenu ())) -> IO CInt---- | usage: (@fileHistoryLoad obj config@).-fileHistoryLoad :: FileHistory  a -> ConfigBase  b ->  IO ()-fileHistoryLoad _obj config -  = withObjectRef "fileHistoryLoad" _obj $ \cobj__obj -> -    withObjectPtr config $ \cobj_config -> -    wxFileHistory_Load cobj__obj  cobj_config  -foreign import ccall "wxFileHistory_Load" wxFileHistory_Load :: Ptr (TFileHistory a) -> Ptr (TConfigBase b) -> IO ()---- | usage: (@fileHistoryRemoveFileFromHistory obj i@).-fileHistoryRemoveFileFromHistory :: FileHistory  a -> Int ->  IO ()-fileHistoryRemoveFileFromHistory _obj i -  = withObjectRef "fileHistoryRemoveFileFromHistory" _obj $ \cobj__obj -> -    wxFileHistory_RemoveFileFromHistory cobj__obj  (toCInt i)  -foreign import ccall "wxFileHistory_RemoveFileFromHistory" wxFileHistory_RemoveFileFromHistory :: Ptr (TFileHistory a) -> CInt -> IO ()---- | usage: (@fileHistoryRemoveMenu obj menu@).-fileHistoryRemoveMenu :: FileHistory  a -> Menu  b ->  IO ()-fileHistoryRemoveMenu _obj menu -  = withObjectRef "fileHistoryRemoveMenu" _obj $ \cobj__obj -> -    withObjectPtr menu $ \cobj_menu -> -    wxFileHistory_RemoveMenu cobj__obj  cobj_menu  -foreign import ccall "wxFileHistory_RemoveMenu" wxFileHistory_RemoveMenu :: Ptr (TFileHistory a) -> Ptr (TMenu b) -> IO ()---- | usage: (@fileHistorySave obj config@).-fileHistorySave :: FileHistory  a -> ConfigBase  b ->  IO ()-fileHistorySave _obj config -  = withObjectRef "fileHistorySave" _obj $ \cobj__obj -> -    withObjectPtr config $ \cobj_config -> -    wxFileHistory_Save cobj__obj  cobj_config  -foreign import ccall "wxFileHistory_Save" wxFileHistory_Save :: Ptr (TFileHistory a) -> Ptr (TConfigBase b) -> IO ()---- | usage: (@fileHistoryUseMenu obj menu@).-fileHistoryUseMenu :: FileHistory  a -> Menu  b ->  IO ()-fileHistoryUseMenu _obj menu -  = withObjectRef "fileHistoryUseMenu" _obj $ \cobj__obj -> -    withObjectPtr menu $ \cobj_menu -> -    wxFileHistory_UseMenu cobj__obj  cobj_menu  -foreign import ccall "wxFileHistory_UseMenu" wxFileHistory_UseMenu :: Ptr (TFileHistory a) -> Ptr (TMenu b) -> IO ()---- | usage: (@fileTypeDelete obj@).-fileTypeDelete :: FileType  a ->  IO ()-fileTypeDelete _obj -  = withObjectRef "fileTypeDelete" _obj $ \cobj__obj -> -    wxFileType_Delete cobj__obj  -foreign import ccall "wxFileType_Delete" wxFileType_Delete :: Ptr (TFileType a) -> IO ()---- | usage: (@fileTypeExpandCommand obj cmd params@).-fileTypeExpandCommand :: FileType  a -> Ptr  b -> Ptr  c ->  IO (String)-fileTypeExpandCommand _obj _cmd _params -  = withManagedStringResult $-    withObjectRef "fileTypeExpandCommand" _obj $ \cobj__obj -> -    wxFileType_ExpandCommand cobj__obj  _cmd  _params  -foreign import ccall "wxFileType_ExpandCommand" wxFileType_ExpandCommand :: Ptr (TFileType a) -> Ptr  b -> Ptr  c -> IO (Ptr (TWxString ()))---- | usage: (@fileTypeGetDescription obj@).-fileTypeGetDescription :: FileType  a ->  IO (String)-fileTypeGetDescription _obj -  = withManagedStringResult $-    withObjectRef "fileTypeGetDescription" _obj $ \cobj__obj -> -    wxFileType_GetDescription cobj__obj  -foreign import ccall "wxFileType_GetDescription" wxFileType_GetDescription :: Ptr (TFileType a) -> IO (Ptr (TWxString ()))---- | usage: (@fileTypeGetExtensions obj lst@).-fileTypeGetExtensions :: FileType  a -> List  b ->  IO Int-fileTypeGetExtensions _obj _lst -  = withIntResult $-    withObjectRef "fileTypeGetExtensions" _obj $ \cobj__obj -> -    withObjectPtr _lst $ \cobj__lst -> -    wxFileType_GetExtensions cobj__obj  cobj__lst  -foreign import ccall "wxFileType_GetExtensions" wxFileType_GetExtensions :: Ptr (TFileType a) -> Ptr (TList b) -> IO CInt---- | usage: (@fileTypeGetIcon obj icon@).-fileTypeGetIcon :: FileType  a -> Icon  b ->  IO Int-fileTypeGetIcon _obj icon -  = withIntResult $-    withObjectRef "fileTypeGetIcon" _obj $ \cobj__obj -> -    withObjectPtr icon $ \cobj_icon -> -    wxFileType_GetIcon cobj__obj  cobj_icon  -foreign import ccall "wxFileType_GetIcon" wxFileType_GetIcon :: Ptr (TFileType a) -> Ptr (TIcon b) -> IO CInt---- | usage: (@fileTypeGetMimeType obj@).-fileTypeGetMimeType :: FileType  a ->  IO (String)-fileTypeGetMimeType _obj -  = withManagedStringResult $-    withObjectRef "fileTypeGetMimeType" _obj $ \cobj__obj -> -    wxFileType_GetMimeType cobj__obj  -foreign import ccall "wxFileType_GetMimeType" wxFileType_GetMimeType :: Ptr (TFileType a) -> IO (Ptr (TWxString ()))---- | usage: (@fileTypeGetMimeTypes obj lst@).-fileTypeGetMimeTypes :: FileType  a -> List  b ->  IO Int-fileTypeGetMimeTypes _obj _lst -  = withIntResult $-    withObjectRef "fileTypeGetMimeTypes" _obj $ \cobj__obj -> -    withObjectPtr _lst $ \cobj__lst -> -    wxFileType_GetMimeTypes cobj__obj  cobj__lst  -foreign import ccall "wxFileType_GetMimeTypes" wxFileType_GetMimeTypes :: Ptr (TFileType a) -> Ptr (TList b) -> IO CInt---- | usage: (@fileTypeGetOpenCommand obj buf params@).-fileTypeGetOpenCommand :: FileType  a -> Ptr  b -> Ptr  c ->  IO Int-fileTypeGetOpenCommand _obj _buf _params -  = withIntResult $-    withObjectRef "fileTypeGetOpenCommand" _obj $ \cobj__obj -> -    wxFileType_GetOpenCommand cobj__obj  _buf  _params  -foreign import ccall "wxFileType_GetOpenCommand" wxFileType_GetOpenCommand :: Ptr (TFileType a) -> Ptr  b -> Ptr  c -> IO CInt---- | usage: (@fileTypeGetPrintCommand obj buf params@).-fileTypeGetPrintCommand :: FileType  a -> Ptr  b -> Ptr  c ->  IO Int-fileTypeGetPrintCommand _obj _buf _params -  = withIntResult $-    withObjectRef "fileTypeGetPrintCommand" _obj $ \cobj__obj -> -    wxFileType_GetPrintCommand cobj__obj  _buf  _params  -foreign import ccall "wxFileType_GetPrintCommand" wxFileType_GetPrintCommand :: Ptr (TFileType a) -> Ptr  b -> Ptr  c -> IO CInt---- | usage: (@findDialogEventGetFindString obj ref@).-findDialogEventGetFindString :: FindDialogEvent  a -> Ptr  b ->  IO Int-findDialogEventGetFindString _obj _ref -  = withIntResult $-    withObjectRef "findDialogEventGetFindString" _obj $ \cobj__obj -> -    wxFindDialogEvent_GetFindString cobj__obj  _ref  -foreign import ccall "wxFindDialogEvent_GetFindString" wxFindDialogEvent_GetFindString :: Ptr (TFindDialogEvent a) -> Ptr  b -> IO CInt---- | usage: (@findDialogEventGetFlags obj@).-findDialogEventGetFlags :: FindDialogEvent  a ->  IO Int-findDialogEventGetFlags _obj -  = withIntResult $-    withObjectRef "findDialogEventGetFlags" _obj $ \cobj__obj -> -    wxFindDialogEvent_GetFlags cobj__obj  -foreign import ccall "wxFindDialogEvent_GetFlags" wxFindDialogEvent_GetFlags :: Ptr (TFindDialogEvent a) -> IO CInt---- | usage: (@findDialogEventGetReplaceString obj ref@).-findDialogEventGetReplaceString :: FindDialogEvent  a -> Ptr  b ->  IO Int-findDialogEventGetReplaceString _obj _ref -  = withIntResult $-    withObjectRef "findDialogEventGetReplaceString" _obj $ \cobj__obj -> -    wxFindDialogEvent_GetReplaceString cobj__obj  _ref  -foreign import ccall "wxFindDialogEvent_GetReplaceString" wxFindDialogEvent_GetReplaceString :: Ptr (TFindDialogEvent a) -> Ptr  b -> IO CInt---- | usage: (@findReplaceDataCreate flags@).-findReplaceDataCreate :: Int ->  IO (FindReplaceData  ())-findReplaceDataCreate flags -  = withObjectResult $-    wxFindReplaceData_Create (toCInt flags)  -foreign import ccall "wxFindReplaceData_Create" wxFindReplaceData_Create :: CInt -> IO (Ptr (TFindReplaceData ()))---- | usage: (@findReplaceDataCreateDefault@).-findReplaceDataCreateDefault ::  IO (FindReplaceData  ())-findReplaceDataCreateDefault -  = withObjectResult $-    wxFindReplaceData_CreateDefault -foreign import ccall "wxFindReplaceData_CreateDefault" wxFindReplaceData_CreateDefault :: IO (Ptr (TFindReplaceData ()))---- | usage: (@findReplaceDataDelete obj@).-findReplaceDataDelete :: FindReplaceData  a ->  IO ()-findReplaceDataDelete-  = objectDelete----- | usage: (@findReplaceDataGetFindString obj@).-findReplaceDataGetFindString :: FindReplaceData  a ->  IO (String)-findReplaceDataGetFindString _obj -  = withManagedStringResult $-    withObjectRef "findReplaceDataGetFindString" _obj $ \cobj__obj -> -    wxFindReplaceData_GetFindString cobj__obj  -foreign import ccall "wxFindReplaceData_GetFindString" wxFindReplaceData_GetFindString :: Ptr (TFindReplaceData a) -> IO (Ptr (TWxString ()))---- | usage: (@findReplaceDataGetFlags obj@).-findReplaceDataGetFlags :: FindReplaceData  a ->  IO Int-findReplaceDataGetFlags _obj -  = withIntResult $-    withObjectRef "findReplaceDataGetFlags" _obj $ \cobj__obj -> -    wxFindReplaceData_GetFlags cobj__obj  -foreign import ccall "wxFindReplaceData_GetFlags" wxFindReplaceData_GetFlags :: Ptr (TFindReplaceData a) -> IO CInt---- | usage: (@findReplaceDataGetReplaceString obj@).-findReplaceDataGetReplaceString :: FindReplaceData  a ->  IO (String)-findReplaceDataGetReplaceString _obj -  = withManagedStringResult $-    withObjectRef "findReplaceDataGetReplaceString" _obj $ \cobj__obj -> -    wxFindReplaceData_GetReplaceString cobj__obj  -foreign import ccall "wxFindReplaceData_GetReplaceString" wxFindReplaceData_GetReplaceString :: Ptr (TFindReplaceData a) -> IO (Ptr (TWxString ()))---- | usage: (@findReplaceDataSetFindString obj str@).-findReplaceDataSetFindString :: FindReplaceData  a -> String ->  IO ()-findReplaceDataSetFindString _obj str -  = withObjectRef "findReplaceDataSetFindString" _obj $ \cobj__obj -> -    withStringPtr str $ \cobj_str -> -    wxFindReplaceData_SetFindString cobj__obj  cobj_str  -foreign import ccall "wxFindReplaceData_SetFindString" wxFindReplaceData_SetFindString :: Ptr (TFindReplaceData a) -> Ptr (TWxString b) -> IO ()---- | usage: (@findReplaceDataSetFlags obj flags@).-findReplaceDataSetFlags :: FindReplaceData  a -> Int ->  IO ()-findReplaceDataSetFlags _obj flags -  = withObjectRef "findReplaceDataSetFlags" _obj $ \cobj__obj -> -    wxFindReplaceData_SetFlags cobj__obj  (toCInt flags)  -foreign import ccall "wxFindReplaceData_SetFlags" wxFindReplaceData_SetFlags :: Ptr (TFindReplaceData a) -> CInt -> IO ()---- | usage: (@findReplaceDataSetReplaceString obj str@).-findReplaceDataSetReplaceString :: FindReplaceData  a -> String ->  IO ()-findReplaceDataSetReplaceString _obj str -  = withObjectRef "findReplaceDataSetReplaceString" _obj $ \cobj__obj -> -    withStringPtr str $ \cobj_str -> -    wxFindReplaceData_SetReplaceString cobj__obj  cobj_str  -foreign import ccall "wxFindReplaceData_SetReplaceString" wxFindReplaceData_SetReplaceString :: Ptr (TFindReplaceData a) -> Ptr (TWxString b) -> IO ()---- | usage: (@findReplaceDialogCreate parent wxdata title style@).-findReplaceDialogCreate :: Window  a -> FindReplaceData  b -> String -> Int ->  IO (FindReplaceDialog  ())-findReplaceDialogCreate parent wxdata title style -  = withObjectResult $-    withObjectPtr parent $ \cobj_parent -> -    withObjectPtr wxdata $ \cobj_wxdata -> -    withStringPtr title $ \cobj_title -> -    wxFindReplaceDialog_Create cobj_parent  cobj_wxdata  cobj_title  (toCInt style)  -foreign import ccall "wxFindReplaceDialog_Create" wxFindReplaceDialog_Create :: Ptr (TWindow a) -> Ptr (TFindReplaceData b) -> Ptr (TWxString c) -> CInt -> IO (Ptr (TFindReplaceDialog ()))---- | usage: (@findReplaceDialogGetData obj@).-findReplaceDialogGetData :: FindReplaceDialog  a ->  IO (FindReplaceData  ())-findReplaceDialogGetData _obj -  = withObjectResult $-    withObjectRef "findReplaceDialogGetData" _obj $ \cobj__obj -> -    wxFindReplaceDialog_GetData cobj__obj  -foreign import ccall "wxFindReplaceDialog_GetData" wxFindReplaceDialog_GetData :: Ptr (TFindReplaceDialog a) -> IO (Ptr (TFindReplaceData ()))---- | usage: (@findReplaceDialogSetData obj wxdata@).-findReplaceDialogSetData :: FindReplaceDialog  a -> FindReplaceData  b ->  IO ()-findReplaceDialogSetData _obj wxdata -  = withObjectRef "findReplaceDialogSetData" _obj $ \cobj__obj -> -    withObjectPtr wxdata $ \cobj_wxdata -> -    wxFindReplaceDialog_SetData cobj__obj  cobj_wxdata  -foreign import ccall "wxFindReplaceDialog_SetData" wxFindReplaceDialog_SetData :: Ptr (TFindReplaceDialog a) -> Ptr (TFindReplaceData b) -> IO ()---- | usage: (@flexGridSizerAddGrowableCol obj idx@).-flexGridSizerAddGrowableCol :: FlexGridSizer  a -> Int ->  IO ()-flexGridSizerAddGrowableCol _obj idx -  = withObjectRef "flexGridSizerAddGrowableCol" _obj $ \cobj__obj -> -    wxFlexGridSizer_AddGrowableCol cobj__obj  (toCInt idx)  -foreign import ccall "wxFlexGridSizer_AddGrowableCol" wxFlexGridSizer_AddGrowableCol :: Ptr (TFlexGridSizer a) -> CInt -> IO ()---- | usage: (@flexGridSizerAddGrowableRow obj idx@).-flexGridSizerAddGrowableRow :: FlexGridSizer  a -> Int ->  IO ()-flexGridSizerAddGrowableRow _obj idx -  = withObjectRef "flexGridSizerAddGrowableRow" _obj $ \cobj__obj -> -    wxFlexGridSizer_AddGrowableRow cobj__obj  (toCInt idx)  -foreign import ccall "wxFlexGridSizer_AddGrowableRow" wxFlexGridSizer_AddGrowableRow :: Ptr (TFlexGridSizer a) -> CInt -> IO ()---- | usage: (@flexGridSizerCalcMin obj@).-flexGridSizerCalcMin :: FlexGridSizer  a ->  IO (Size)-flexGridSizerCalcMin _obj -  = withWxSizeResult $-    withObjectRef "flexGridSizerCalcMin" _obj $ \cobj__obj -> -    wxFlexGridSizer_CalcMin cobj__obj  -foreign import ccall "wxFlexGridSizer_CalcMin" wxFlexGridSizer_CalcMin :: Ptr (TFlexGridSizer a) -> IO (Ptr (TWxSize ()))---- | usage: (@flexGridSizerCreate rows cols vgap hgap@).-flexGridSizerCreate :: Int -> Int -> Int -> Int ->  IO (FlexGridSizer  ())-flexGridSizerCreate rows cols vgap hgap -  = withObjectResult $-    wxFlexGridSizer_Create (toCInt rows)  (toCInt cols)  (toCInt vgap)  (toCInt hgap)  -foreign import ccall "wxFlexGridSizer_Create" wxFlexGridSizer_Create :: CInt -> CInt -> CInt -> CInt -> IO (Ptr (TFlexGridSizer ()))---- | usage: (@flexGridSizerRecalcSizes obj@).-flexGridSizerRecalcSizes :: FlexGridSizer  a ->  IO ()-flexGridSizerRecalcSizes _obj -  = withObjectRef "flexGridSizerRecalcSizes" _obj $ \cobj__obj -> -    wxFlexGridSizer_RecalcSizes cobj__obj  -foreign import ccall "wxFlexGridSizer_RecalcSizes" wxFlexGridSizer_RecalcSizes :: Ptr (TFlexGridSizer a) -> IO ()---- | usage: (@flexGridSizerRemoveGrowableCol obj idx@).-flexGridSizerRemoveGrowableCol :: FlexGridSizer  a -> Int ->  IO ()-flexGridSizerRemoveGrowableCol _obj idx -  = withObjectRef "flexGridSizerRemoveGrowableCol" _obj $ \cobj__obj -> -    wxFlexGridSizer_RemoveGrowableCol cobj__obj  (toCInt idx)  -foreign import ccall "wxFlexGridSizer_RemoveGrowableCol" wxFlexGridSizer_RemoveGrowableCol :: Ptr (TFlexGridSizer a) -> CInt -> IO ()---- | usage: (@flexGridSizerRemoveGrowableRow obj idx@).-flexGridSizerRemoveGrowableRow :: FlexGridSizer  a -> Int ->  IO ()-flexGridSizerRemoveGrowableRow _obj idx -  = withObjectRef "flexGridSizerRemoveGrowableRow" _obj $ \cobj__obj -> -    wxFlexGridSizer_RemoveGrowableRow cobj__obj  (toCInt idx)  -foreign import ccall "wxFlexGridSizer_RemoveGrowableRow" wxFlexGridSizer_RemoveGrowableRow :: Ptr (TFlexGridSizer a) -> CInt -> IO ()---- | usage: (@fontCreate pointSize family style weight underlined face enc@).-fontCreate :: Int -> Int -> Int -> Int -> Bool -> String -> Int ->  IO (Font  ())-fontCreate pointSize family style weight underlined face enc -  = withManagedFontResult $-    withStringPtr face $ \cobj_face -> -    wxFont_Create (toCInt pointSize)  (toCInt family)  (toCInt style)  (toCInt weight)  (toCBool underlined)  cobj_face  (toCInt enc)  -foreign import ccall "wxFont_Create" wxFont_Create :: CInt -> CInt -> CInt -> CInt -> CBool -> Ptr (TWxString f) -> CInt -> IO (Ptr (TFont ()))---- | usage: (@fontCreateDefault@).-fontCreateDefault ::  IO (Font  ())-fontCreateDefault -  = withManagedFontResult $-    wxFont_CreateDefault -foreign import ccall "wxFont_CreateDefault" wxFont_CreateDefault :: IO (Ptr (TFont ()))---- | usage: (@fontCreateFromStock id@).-fontCreateFromStock :: Id ->  IO (Font  ())-fontCreateFromStock id -  = withManagedFontResult $-    wxFont_CreateFromStock (toCInt id)  -foreign import ccall "wxFont_CreateFromStock" wxFont_CreateFromStock :: CInt -> IO (Ptr (TFont ()))---- | usage: (@fontDataCreate@).-fontDataCreate ::  IO (FontData  ())-fontDataCreate -  = withManagedObjectResult $-    wxFontData_Create -foreign import ccall "wxFontData_Create" wxFontData_Create :: IO (Ptr (TFontData ()))---- | usage: (@fontDataDelete obj@).-fontDataDelete :: FontData  a ->  IO ()-fontDataDelete-  = objectDelete----- | usage: (@fontDataEnableEffects obj flag@).-fontDataEnableEffects :: FontData  a -> Bool ->  IO ()-fontDataEnableEffects _obj flag -  = withObjectRef "fontDataEnableEffects" _obj $ \cobj__obj -> -    wxFontData_EnableEffects cobj__obj  (toCBool flag)  -foreign import ccall "wxFontData_EnableEffects" wxFontData_EnableEffects :: Ptr (TFontData a) -> CBool -> IO ()---- | usage: (@fontDataGetAllowSymbols obj@).-fontDataGetAllowSymbols :: FontData  a ->  IO Bool-fontDataGetAllowSymbols _obj -  = withBoolResult $-    withObjectRef "fontDataGetAllowSymbols" _obj $ \cobj__obj -> -    wxFontData_GetAllowSymbols cobj__obj  -foreign import ccall "wxFontData_GetAllowSymbols" wxFontData_GetAllowSymbols :: Ptr (TFontData a) -> IO CBool---- | usage: (@fontDataGetChosenFont obj@).-fontDataGetChosenFont :: FontData  a ->  IO (Font  ())-fontDataGetChosenFont _obj -  = withRefFont $ \pref -> -    withObjectRef "fontDataGetChosenFont" _obj $ \cobj__obj -> -    wxFontData_GetChosenFont cobj__obj   pref-foreign import ccall "wxFontData_GetChosenFont" wxFontData_GetChosenFont :: Ptr (TFontData a) -> Ptr (TFont ()) -> IO ()---- | usage: (@fontDataGetColour obj@).-fontDataGetColour :: FontData  a ->  IO (Color)-fontDataGetColour _obj -  = withRefColour $ \pref -> -    withObjectRef "fontDataGetColour" _obj $ \cobj__obj -> -    wxFontData_GetColour cobj__obj   pref-foreign import ccall "wxFontData_GetColour" wxFontData_GetColour :: Ptr (TFontData a) -> Ptr (TColour ()) -> IO ()---- | usage: (@fontDataGetEnableEffects obj@).-fontDataGetEnableEffects :: FontData  a ->  IO Bool-fontDataGetEnableEffects _obj -  = withBoolResult $-    withObjectRef "fontDataGetEnableEffects" _obj $ \cobj__obj -> -    wxFontData_GetEnableEffects cobj__obj  -foreign import ccall "wxFontData_GetEnableEffects" wxFontData_GetEnableEffects :: Ptr (TFontData a) -> IO CBool---- | usage: (@fontDataGetEncoding obj@).-fontDataGetEncoding :: FontData  a ->  IO Int-fontDataGetEncoding _obj -  = withIntResult $-    withObjectRef "fontDataGetEncoding" _obj $ \cobj__obj -> -    wxFontData_GetEncoding cobj__obj  -foreign import ccall "wxFontData_GetEncoding" wxFontData_GetEncoding :: Ptr (TFontData a) -> IO CInt---- | usage: (@fontDataGetInitialFont obj@).-fontDataGetInitialFont :: FontData  a ->  IO (Font  ())-fontDataGetInitialFont _obj -  = withRefFont $ \pref -> -    withObjectRef "fontDataGetInitialFont" _obj $ \cobj__obj -> -    wxFontData_GetInitialFont cobj__obj   pref-foreign import ccall "wxFontData_GetInitialFont" wxFontData_GetInitialFont :: Ptr (TFontData a) -> Ptr (TFont ()) -> IO ()---- | usage: (@fontDataGetShowHelp obj@).-fontDataGetShowHelp :: FontData  a ->  IO Int-fontDataGetShowHelp _obj -  = withIntResult $-    withObjectRef "fontDataGetShowHelp" _obj $ \cobj__obj -> -    wxFontData_GetShowHelp cobj__obj  -foreign import ccall "wxFontData_GetShowHelp" wxFontData_GetShowHelp :: Ptr (TFontData a) -> IO CInt---- | usage: (@fontDataSetAllowSymbols obj flag@).-fontDataSetAllowSymbols :: FontData  a -> Bool ->  IO ()-fontDataSetAllowSymbols _obj flag -  = withObjectRef "fontDataSetAllowSymbols" _obj $ \cobj__obj -> -    wxFontData_SetAllowSymbols cobj__obj  (toCBool flag)  -foreign import ccall "wxFontData_SetAllowSymbols" wxFontData_SetAllowSymbols :: Ptr (TFontData a) -> CBool -> IO ()---- | usage: (@fontDataSetChosenFont obj font@).-fontDataSetChosenFont :: FontData  a -> Font  b ->  IO ()-fontDataSetChosenFont _obj font -  = withObjectRef "fontDataSetChosenFont" _obj $ \cobj__obj -> -    withObjectPtr font $ \cobj_font -> -    wxFontData_SetChosenFont cobj__obj  cobj_font  -foreign import ccall "wxFontData_SetChosenFont" wxFontData_SetChosenFont :: Ptr (TFontData a) -> Ptr (TFont b) -> IO ()---- | usage: (@fontDataSetColour obj colour@).-fontDataSetColour :: FontData  a -> Color ->  IO ()-fontDataSetColour _obj colour -  = withObjectRef "fontDataSetColour" _obj $ \cobj__obj -> -    withColourPtr colour $ \cobj_colour -> -    wxFontData_SetColour cobj__obj  cobj_colour  -foreign import ccall "wxFontData_SetColour" wxFontData_SetColour :: Ptr (TFontData a) -> Ptr (TColour b) -> IO ()---- | usage: (@fontDataSetEncoding obj encoding@).-fontDataSetEncoding :: FontData  a -> Int ->  IO ()-fontDataSetEncoding _obj encoding -  = withObjectRef "fontDataSetEncoding" _obj $ \cobj__obj -> -    wxFontData_SetEncoding cobj__obj  (toCInt encoding)  -foreign import ccall "wxFontData_SetEncoding" wxFontData_SetEncoding :: Ptr (TFontData a) -> CInt -> IO ()---- | usage: (@fontDataSetInitialFont obj font@).-fontDataSetInitialFont :: FontData  a -> Font  b ->  IO ()-fontDataSetInitialFont _obj font -  = withObjectRef "fontDataSetInitialFont" _obj $ \cobj__obj -> -    withObjectPtr font $ \cobj_font -> -    wxFontData_SetInitialFont cobj__obj  cobj_font  -foreign import ccall "wxFontData_SetInitialFont" wxFontData_SetInitialFont :: Ptr (TFontData a) -> Ptr (TFont b) -> IO ()---- | usage: (@fontDataSetRange obj minRange maxRange@).-fontDataSetRange :: FontData  a -> Int -> Int ->  IO ()-fontDataSetRange _obj minRange maxRange -  = withObjectRef "fontDataSetRange" _obj $ \cobj__obj -> -    wxFontData_SetRange cobj__obj  (toCInt minRange)  (toCInt maxRange)  -foreign import ccall "wxFontData_SetRange" wxFontData_SetRange :: Ptr (TFontData a) -> CInt -> CInt -> IO ()---- | usage: (@fontDataSetShowHelp obj flag@).-fontDataSetShowHelp :: FontData  a -> Bool ->  IO ()-fontDataSetShowHelp _obj flag -  = withObjectRef "fontDataSetShowHelp" _obj $ \cobj__obj -> -    wxFontData_SetShowHelp cobj__obj  (toCBool flag)  -foreign import ccall "wxFontData_SetShowHelp" wxFontData_SetShowHelp :: Ptr (TFontData a) -> CBool -> IO ()---- | usage: (@fontDelete obj@).-fontDelete :: Font  a ->  IO ()-fontDelete-  = objectDelete----- | usage: (@fontDialogCreate prt fnt@).-fontDialogCreate :: Window  a -> FontData  b ->  IO (FontDialog  ())-fontDialogCreate _prt fnt -  = withObjectResult $-    withObjectPtr _prt $ \cobj__prt -> -    withObjectPtr fnt $ \cobj_fnt -> -    wxFontDialog_Create cobj__prt  cobj_fnt  -foreign import ccall "wxFontDialog_Create" wxFontDialog_Create :: Ptr (TWindow a) -> Ptr (TFontData b) -> IO (Ptr (TFontDialog ()))---- | usage: (@fontDialogGetFontData obj@).-fontDialogGetFontData :: FontDialog  a ->  IO (FontData  ())-fontDialogGetFontData _obj -  = withRefFontData $ \pref -> -    withObjectRef "fontDialogGetFontData" _obj $ \cobj__obj -> -    wxFontDialog_GetFontData cobj__obj   pref-foreign import ccall "wxFontDialog_GetFontData" wxFontDialog_GetFontData :: Ptr (TFontDialog a) -> Ptr (TFontData ()) -> IO ()---- | usage: (@fontEnumeratorCreate obj fnc@).-fontEnumeratorCreate :: Ptr  a -> Ptr  b ->  IO (FontEnumerator  ())-fontEnumeratorCreate _obj _fnc -  = withObjectResult $-    wxFontEnumerator_Create _obj  _fnc  -foreign import ccall "wxFontEnumerator_Create" wxFontEnumerator_Create :: Ptr  a -> Ptr  b -> IO (Ptr (TFontEnumerator ()))---- | usage: (@fontEnumeratorDelete obj@).-fontEnumeratorDelete :: FontEnumerator  a ->  IO ()-fontEnumeratorDelete _obj -  = withObjectRef "fontEnumeratorDelete" _obj $ \cobj__obj -> -    wxFontEnumerator_Delete cobj__obj  -foreign import ccall "wxFontEnumerator_Delete" wxFontEnumerator_Delete :: Ptr (TFontEnumerator a) -> IO ()---- | usage: (@fontEnumeratorEnumerateEncodings obj facename@).-fontEnumeratorEnumerateEncodings :: FontEnumerator  a -> String ->  IO Bool-fontEnumeratorEnumerateEncodings _obj facename -  = withBoolResult $-    withObjectRef "fontEnumeratorEnumerateEncodings" _obj $ \cobj__obj -> -    withStringPtr facename $ \cobj_facename -> -    wxFontEnumerator_EnumerateEncodings cobj__obj  cobj_facename  -foreign import ccall "wxFontEnumerator_EnumerateEncodings" wxFontEnumerator_EnumerateEncodings :: Ptr (TFontEnumerator a) -> Ptr (TWxString b) -> IO CBool---- | usage: (@fontEnumeratorEnumerateFacenames obj encoding fixedWidthOnly@).-fontEnumeratorEnumerateFacenames :: FontEnumerator  a -> Int -> Int ->  IO Bool-fontEnumeratorEnumerateFacenames _obj encoding fixedWidthOnly -  = withBoolResult $-    withObjectRef "fontEnumeratorEnumerateFacenames" _obj $ \cobj__obj -> -    wxFontEnumerator_EnumerateFacenames cobj__obj  (toCInt encoding)  (toCInt fixedWidthOnly)  -foreign import ccall "wxFontEnumerator_EnumerateFacenames" wxFontEnumerator_EnumerateFacenames :: Ptr (TFontEnumerator a) -> CInt -> CInt -> IO CBool---- | usage: (@fontGetDefaultEncoding obj@).-fontGetDefaultEncoding :: Font  a ->  IO Int-fontGetDefaultEncoding _obj -  = withIntResult $-    withObjectRef "fontGetDefaultEncoding" _obj $ \cobj__obj -> -    wxFont_GetDefaultEncoding cobj__obj  -foreign import ccall "wxFont_GetDefaultEncoding" wxFont_GetDefaultEncoding :: Ptr (TFont a) -> IO CInt---- | usage: (@fontGetEncoding obj@).-fontGetEncoding :: Font  a ->  IO Int-fontGetEncoding _obj -  = withIntResult $-    withObjectRef "fontGetEncoding" _obj $ \cobj__obj -> -    wxFont_GetEncoding cobj__obj  -foreign import ccall "wxFont_GetEncoding" wxFont_GetEncoding :: Ptr (TFont a) -> IO CInt---- | usage: (@fontGetFaceName obj@).-fontGetFaceName :: Font  a ->  IO (String)-fontGetFaceName _obj -  = withManagedStringResult $-    withObjectRef "fontGetFaceName" _obj $ \cobj__obj -> -    wxFont_GetFaceName cobj__obj  -foreign import ccall "wxFont_GetFaceName" wxFont_GetFaceName :: Ptr (TFont a) -> IO (Ptr (TWxString ()))---- | usage: (@fontGetFamily obj@).-fontGetFamily :: Font  a ->  IO Int-fontGetFamily _obj -  = withIntResult $-    withObjectRef "fontGetFamily" _obj $ \cobj__obj -> -    wxFont_GetFamily cobj__obj  -foreign import ccall "wxFont_GetFamily" wxFont_GetFamily :: Ptr (TFont a) -> IO CInt---- | usage: (@fontGetFamilyString obj@).-fontGetFamilyString :: Font  a ->  IO (String)-fontGetFamilyString _obj -  = withManagedStringResult $-    withObjectRef "fontGetFamilyString" _obj $ \cobj__obj -> -    wxFont_GetFamilyString cobj__obj  -foreign import ccall "wxFont_GetFamilyString" wxFont_GetFamilyString :: Ptr (TFont a) -> IO (Ptr (TWxString ()))---- | usage: (@fontGetPointSize obj@).-fontGetPointSize :: Font  a ->  IO Int-fontGetPointSize _obj -  = withIntResult $-    withObjectRef "fontGetPointSize" _obj $ \cobj__obj -> -    wxFont_GetPointSize cobj__obj  -foreign import ccall "wxFont_GetPointSize" wxFont_GetPointSize :: Ptr (TFont a) -> IO CInt---- | usage: (@fontGetStyle obj@).-fontGetStyle :: Font  a ->  IO Int-fontGetStyle _obj -  = withIntResult $-    withObjectRef "fontGetStyle" _obj $ \cobj__obj -> -    wxFont_GetStyle cobj__obj  -foreign import ccall "wxFont_GetStyle" wxFont_GetStyle :: Ptr (TFont a) -> IO CInt---- | usage: (@fontGetStyleString obj@).-fontGetStyleString :: Font  a ->  IO (String)-fontGetStyleString _obj -  = withManagedStringResult $-    withObjectRef "fontGetStyleString" _obj $ \cobj__obj -> -    wxFont_GetStyleString cobj__obj  -foreign import ccall "wxFont_GetStyleString" wxFont_GetStyleString :: Ptr (TFont a) -> IO (Ptr (TWxString ()))---- | usage: (@fontGetUnderlined obj@).-fontGetUnderlined :: Font  a ->  IO Int-fontGetUnderlined _obj -  = withIntResult $-    withObjectRef "fontGetUnderlined" _obj $ \cobj__obj -> -    wxFont_GetUnderlined cobj__obj  -foreign import ccall "wxFont_GetUnderlined" wxFont_GetUnderlined :: Ptr (TFont a) -> IO CInt---- | usage: (@fontGetWeight obj@).-fontGetWeight :: Font  a ->  IO Int-fontGetWeight _obj -  = withIntResult $-    withObjectRef "fontGetWeight" _obj $ \cobj__obj -> -    wxFont_GetWeight cobj__obj  -foreign import ccall "wxFont_GetWeight" wxFont_GetWeight :: Ptr (TFont a) -> IO CInt---- | usage: (@fontGetWeightString obj@).-fontGetWeightString :: Font  a ->  IO (String)-fontGetWeightString _obj -  = withManagedStringResult $-    withObjectRef "fontGetWeightString" _obj $ \cobj__obj -> -    wxFont_GetWeightString cobj__obj  -foreign import ccall "wxFont_GetWeightString" wxFont_GetWeightString :: Ptr (TFont a) -> IO (Ptr (TWxString ()))---- | usage: (@fontIsOk obj@).-fontIsOk :: Font  a ->  IO Bool-fontIsOk _obj -  = withBoolResult $-    withObjectRef "fontIsOk" _obj $ \cobj__obj -> -    wxFont_IsOk cobj__obj  -foreign import ccall "wxFont_IsOk" wxFont_IsOk :: Ptr (TFont a) -> IO CBool---- | usage: (@fontIsStatic self@).-fontIsStatic :: Font  a ->  IO Bool-fontIsStatic self -  = withBoolResult $-    withObjectPtr self $ \cobj_self -> -    wxFont_IsStatic cobj_self  -foreign import ccall "wxFont_IsStatic" wxFont_IsStatic :: Ptr (TFont a) -> IO CBool---- | usage: (@fontMapperCreate@).-fontMapperCreate ::  IO (FontMapper  ())-fontMapperCreate -  = withObjectResult $-    wxFontMapper_Create -foreign import ccall "wxFontMapper_Create" wxFontMapper_Create :: IO (Ptr (TFontMapper ()))---- | usage: (@fontMapperGetAltForEncoding obj encoding altencoding buf@).-fontMapperGetAltForEncoding :: FontMapper  a -> Int -> Ptr  c -> String ->  IO Bool-fontMapperGetAltForEncoding _obj encoding altencoding _buf -  = withBoolResult $-    withObjectRef "fontMapperGetAltForEncoding" _obj $ \cobj__obj -> -    withStringPtr _buf $ \cobj__buf -> -    wxFontMapper_GetAltForEncoding cobj__obj  (toCInt encoding)  altencoding  cobj__buf  -foreign import ccall "wxFontMapper_GetAltForEncoding" wxFontMapper_GetAltForEncoding :: Ptr (TFontMapper a) -> CInt -> Ptr  c -> Ptr (TWxString d) -> IO CBool---- | usage: (@fontMapperIsEncodingAvailable obj encoding buf@).-fontMapperIsEncodingAvailable :: FontMapper  a -> Int -> String ->  IO Bool-fontMapperIsEncodingAvailable _obj encoding _buf -  = withBoolResult $-    withObjectRef "fontMapperIsEncodingAvailable" _obj $ \cobj__obj -> -    withStringPtr _buf $ \cobj__buf -> -    wxFontMapper_IsEncodingAvailable cobj__obj  (toCInt encoding)  cobj__buf  -foreign import ccall "wxFontMapper_IsEncodingAvailable" wxFontMapper_IsEncodingAvailable :: Ptr (TFontMapper a) -> CInt -> Ptr (TWxString c) -> IO CBool---- | usage: (@fontSafeDelete self@).-fontSafeDelete :: Font  a ->  IO ()-fontSafeDelete self -  = withObjectPtr self $ \cobj_self -> -    wxFont_SafeDelete cobj_self  -foreign import ccall "wxFont_SafeDelete" wxFont_SafeDelete :: Ptr (TFont a) -> IO ()---- | usage: (@fontSetDefaultEncoding obj encoding@).-fontSetDefaultEncoding :: Font  a -> Int ->  IO ()-fontSetDefaultEncoding _obj encoding -  = withObjectRef "fontSetDefaultEncoding" _obj $ \cobj__obj -> -    wxFont_SetDefaultEncoding cobj__obj  (toCInt encoding)  -foreign import ccall "wxFont_SetDefaultEncoding" wxFont_SetDefaultEncoding :: Ptr (TFont a) -> CInt -> IO ()---- | usage: (@fontSetEncoding obj encoding@).-fontSetEncoding :: Font  a -> Int ->  IO ()-fontSetEncoding _obj encoding -  = withObjectRef "fontSetEncoding" _obj $ \cobj__obj -> -    wxFont_SetEncoding cobj__obj  (toCInt encoding)  -foreign import ccall "wxFont_SetEncoding" wxFont_SetEncoding :: Ptr (TFont a) -> CInt -> IO ()---- | usage: (@fontSetFaceName obj faceName@).-fontSetFaceName :: Font  a -> String ->  IO ()-fontSetFaceName _obj faceName -  = withObjectRef "fontSetFaceName" _obj $ \cobj__obj -> -    withStringPtr faceName $ \cobj_faceName -> -    wxFont_SetFaceName cobj__obj  cobj_faceName  -foreign import ccall "wxFont_SetFaceName" wxFont_SetFaceName :: Ptr (TFont a) -> Ptr (TWxString b) -> IO ()---- | usage: (@fontSetFamily obj family@).-fontSetFamily :: Font  a -> Int ->  IO ()-fontSetFamily _obj family -  = withObjectRef "fontSetFamily" _obj $ \cobj__obj -> -    wxFont_SetFamily cobj__obj  (toCInt family)  -foreign import ccall "wxFont_SetFamily" wxFont_SetFamily :: Ptr (TFont a) -> CInt -> IO ()---- | usage: (@fontSetPointSize obj pointSize@).-fontSetPointSize :: Font  a -> Int ->  IO ()-fontSetPointSize _obj pointSize -  = withObjectRef "fontSetPointSize" _obj $ \cobj__obj -> -    wxFont_SetPointSize cobj__obj  (toCInt pointSize)  -foreign import ccall "wxFont_SetPointSize" wxFont_SetPointSize :: Ptr (TFont a) -> CInt -> IO ()---- | usage: (@fontSetStyle obj style@).-fontSetStyle :: Font  a -> Int ->  IO ()-fontSetStyle _obj style -  = withObjectRef "fontSetStyle" _obj $ \cobj__obj -> -    wxFont_SetStyle cobj__obj  (toCInt style)  -foreign import ccall "wxFont_SetStyle" wxFont_SetStyle :: Ptr (TFont a) -> CInt -> IO ()---- | usage: (@fontSetUnderlined obj underlined@).-fontSetUnderlined :: Font  a -> Int ->  IO ()-fontSetUnderlined _obj underlined -  = withObjectRef "fontSetUnderlined" _obj $ \cobj__obj -> -    wxFont_SetUnderlined cobj__obj  (toCInt underlined)  -foreign import ccall "wxFont_SetUnderlined" wxFont_SetUnderlined :: Ptr (TFont a) -> CInt -> IO ()---- | usage: (@fontSetWeight obj weight@).-fontSetWeight :: Font  a -> Int ->  IO ()-fontSetWeight _obj weight -  = withObjectRef "fontSetWeight" _obj $ \cobj__obj -> -    wxFont_SetWeight cobj__obj  (toCInt weight)  -foreign import ccall "wxFont_SetWeight" wxFont_SetWeight :: Ptr (TFont a) -> CInt -> IO ()---- | usage: (@frameCentre self orientation@).-frameCentre :: Frame  a -> Int ->  IO ()-frameCentre self orientation -  = withObjectRef "frameCentre" self $ \cobj_self -> -    wxFrame_Centre cobj_self  (toCInt orientation)  -foreign import ccall "wxFrame_Centre" wxFrame_Centre :: Ptr (TFrame a) -> CInt -> IO ()---- | usage: (@frameCreate prt id txt lfttopwdthgt stl@).-frameCreate :: Window  a -> Id -> String -> Rect -> Style ->  IO (Frame  ())-frameCreate _prt _id _txt _lfttopwdthgt _stl -  = withObjectResult $-    withObjectPtr _prt $ \cobj__prt -> -    withStringPtr _txt $ \cobj__txt -> -    wxFrame_Create cobj__prt  (toCInt _id)  cobj__txt  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  (toCInt _stl)  -foreign import ccall "wxFrame_Create" wxFrame_Create :: Ptr (TWindow a) -> CInt -> Ptr (TWxString c) -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TFrame ()))---- | usage: (@frameCreateStatusBar obj number style@).-frameCreateStatusBar :: Frame  a -> Int -> Int ->  IO (StatusBar  ())-frameCreateStatusBar _obj number style -  = withObjectResult $-    withObjectRef "frameCreateStatusBar" _obj $ \cobj__obj -> -    wxFrame_CreateStatusBar cobj__obj  (toCInt number)  (toCInt style)  -foreign import ccall "wxFrame_CreateStatusBar" wxFrame_CreateStatusBar :: Ptr (TFrame a) -> CInt -> CInt -> IO (Ptr (TStatusBar ()))---- | usage: (@frameCreateToolBar obj style@).-frameCreateToolBar :: Frame  a -> Int ->  IO (ToolBar  ())-frameCreateToolBar _obj style -  = withObjectResult $-    withObjectRef "frameCreateToolBar" _obj $ \cobj__obj -> -    wxFrame_CreateToolBar cobj__obj  (toCInt style)  -foreign import ccall "wxFrame_CreateToolBar" wxFrame_CreateToolBar :: Ptr (TFrame a) -> CInt -> IO (Ptr (TToolBar ()))---- | usage: (@frameGetClientAreaOriginleft obj@).-frameGetClientAreaOriginleft :: Frame  a ->  IO Int-frameGetClientAreaOriginleft _obj -  = withIntResult $-    withObjectRef "frameGetClientAreaOriginleft" _obj $ \cobj__obj -> -    wxFrame_GetClientAreaOrigin_left cobj__obj  -foreign import ccall "wxFrame_GetClientAreaOrigin_left" wxFrame_GetClientAreaOrigin_left :: Ptr (TFrame a) -> IO CInt---- | usage: (@frameGetClientAreaOrigintop obj@).-frameGetClientAreaOrigintop :: Frame  a ->  IO Int-frameGetClientAreaOrigintop _obj -  = withIntResult $-    withObjectRef "frameGetClientAreaOrigintop" _obj $ \cobj__obj -> -    wxFrame_GetClientAreaOrigin_top cobj__obj  -foreign import ccall "wxFrame_GetClientAreaOrigin_top" wxFrame_GetClientAreaOrigin_top :: Ptr (TFrame a) -> IO CInt---- | usage: (@frameGetMenuBar obj@).-frameGetMenuBar :: Frame  a ->  IO (MenuBar  ())-frameGetMenuBar _obj -  = withObjectResult $-    withObjectRef "frameGetMenuBar" _obj $ \cobj__obj -> -    wxFrame_GetMenuBar cobj__obj  -foreign import ccall "wxFrame_GetMenuBar" wxFrame_GetMenuBar :: Ptr (TFrame a) -> IO (Ptr (TMenuBar ()))---- | usage: (@frameGetStatusBar obj@).-frameGetStatusBar :: Frame  a ->  IO (StatusBar  ())-frameGetStatusBar _obj -  = withObjectResult $-    withObjectRef "frameGetStatusBar" _obj $ \cobj__obj -> -    wxFrame_GetStatusBar cobj__obj  -foreign import ccall "wxFrame_GetStatusBar" wxFrame_GetStatusBar :: Ptr (TFrame a) -> IO (Ptr (TStatusBar ()))---- | usage: (@frameGetTitle obj@).-frameGetTitle :: Frame  a ->  IO (String)-frameGetTitle _obj -  = withManagedStringResult $-    withObjectRef "frameGetTitle" _obj $ \cobj__obj -> -    wxFrame_GetTitle cobj__obj  -foreign import ccall "wxFrame_GetTitle" wxFrame_GetTitle :: Ptr (TFrame a) -> IO (Ptr (TWxString ()))---- | usage: (@frameGetToolBar obj@).-frameGetToolBar :: Frame  a ->  IO (ToolBar  ())-frameGetToolBar _obj -  = withObjectResult $-    withObjectRef "frameGetToolBar" _obj $ \cobj__obj -> -    wxFrame_GetToolBar cobj__obj  -foreign import ccall "wxFrame_GetToolBar" wxFrame_GetToolBar :: Ptr (TFrame a) -> IO (Ptr (TToolBar ()))---- | usage: (@frameIsFullScreen self@).-frameIsFullScreen :: Frame  a ->  IO Bool-frameIsFullScreen self -  = withBoolResult $-    withObjectRef "frameIsFullScreen" self $ \cobj_self -> -    wxFrame_IsFullScreen cobj_self  -foreign import ccall "wxFrame_IsFullScreen" wxFrame_IsFullScreen :: Ptr (TFrame a) -> IO CBool---- | usage: (@frameRestore obj@).-frameRestore :: Frame  a ->  IO ()-frameRestore _obj -  = withObjectRef "frameRestore" _obj $ \cobj__obj -> -    wxFrame_Restore cobj__obj  -foreign import ccall "wxFrame_Restore" wxFrame_Restore :: Ptr (TFrame a) -> IO ()---- | usage: (@frameSetMenuBar obj menubar@).-frameSetMenuBar :: Frame  a -> MenuBar  b ->  IO ()-frameSetMenuBar _obj menubar -  = withObjectRef "frameSetMenuBar" _obj $ \cobj__obj -> -    withObjectPtr menubar $ \cobj_menubar -> -    wxFrame_SetMenuBar cobj__obj  cobj_menubar  -foreign import ccall "wxFrame_SetMenuBar" wxFrame_SetMenuBar :: Ptr (TFrame a) -> Ptr (TMenuBar b) -> IO ()---- | usage: (@frameSetShape self region@).-frameSetShape :: Frame  a -> Region  b ->  IO Bool-frameSetShape self region -  = withBoolResult $-    withObjectRef "frameSetShape" self $ \cobj_self -> -    withObjectPtr region $ \cobj_region -> -    wxFrame_SetShape cobj_self  cobj_region  -foreign import ccall "wxFrame_SetShape" wxFrame_SetShape :: Ptr (TFrame a) -> Ptr (TRegion b) -> IO CBool---- | usage: (@frameSetStatusBar obj statBar@).-frameSetStatusBar :: Frame  a -> StatusBar  b ->  IO ()-frameSetStatusBar _obj statBar -  = withObjectRef "frameSetStatusBar" _obj $ \cobj__obj -> -    withObjectPtr statBar $ \cobj_statBar -> -    wxFrame_SetStatusBar cobj__obj  cobj_statBar  -foreign import ccall "wxFrame_SetStatusBar" wxFrame_SetStatusBar :: Ptr (TFrame a) -> Ptr (TStatusBar b) -> IO ()---- | usage: (@frameSetStatusText obj txt number@).-frameSetStatusText :: Frame  a -> String -> Int ->  IO ()-frameSetStatusText _obj _txt _number -  = withObjectRef "frameSetStatusText" _obj $ \cobj__obj -> -    withStringPtr _txt $ \cobj__txt -> -    wxFrame_SetStatusText cobj__obj  cobj__txt  (toCInt _number)  -foreign import ccall "wxFrame_SetStatusText" wxFrame_SetStatusText :: Ptr (TFrame a) -> Ptr (TWxString b) -> CInt -> IO ()---- | usage: (@frameSetStatusWidths obj n widthsfield@).-frameSetStatusWidths :: Frame  a -> Int -> Ptr  c ->  IO ()-frameSetStatusWidths _obj _n _widthsfield -  = withObjectRef "frameSetStatusWidths" _obj $ \cobj__obj -> -    wxFrame_SetStatusWidths cobj__obj  (toCInt _n)  _widthsfield  -foreign import ccall "wxFrame_SetStatusWidths" wxFrame_SetStatusWidths :: Ptr (TFrame a) -> CInt -> Ptr  c -> IO ()---- | usage: (@frameSetTitle frame txt@).-frameSetTitle :: Frame  a -> String ->  IO ()-frameSetTitle _frame _txt -  = withObjectRef "frameSetTitle" _frame $ \cobj__frame -> -    withStringPtr _txt $ \cobj__txt -> -    wxFrame_SetTitle cobj__frame  cobj__txt  -foreign import ccall "wxFrame_SetTitle" wxFrame_SetTitle :: Ptr (TFrame a) -> Ptr (TWxString b) -> IO ()---- | usage: (@frameSetToolBar obj toolbar@).-frameSetToolBar :: Frame  a -> ToolBar  b ->  IO ()-frameSetToolBar _obj _toolbar -  = withObjectRef "frameSetToolBar" _obj $ \cobj__obj -> -    withObjectPtr _toolbar $ \cobj__toolbar -> -    wxFrame_SetToolBar cobj__obj  cobj__toolbar  -foreign import ccall "wxFrame_SetToolBar" wxFrame_SetToolBar :: Ptr (TFrame a) -> Ptr (TToolBar b) -> IO ()---- | usage: (@frameShowFullScreen self show style@).-frameShowFullScreen :: Frame  a -> Bool -> Int ->  IO Bool-frameShowFullScreen self show style -  = withBoolResult $-    withObjectRef "frameShowFullScreen" self $ \cobj_self -> -    wxFrame_ShowFullScreen cobj_self  (toCBool show)  (toCInt style)  -foreign import ccall "wxFrame_ShowFullScreen" wxFrame_ShowFullScreen :: Ptr (TFrame a) -> CBool -> CInt -> IO CBool---- | usage: (@gaugeCreate prt id rng lfttopwdthgt stl@).-gaugeCreate :: Window  a -> Id -> Int -> Rect -> Style ->  IO (Gauge  ())-gaugeCreate _prt _id _rng _lfttopwdthgt _stl -  = withObjectResult $-    withObjectPtr _prt $ \cobj__prt -> -    wxGauge_Create cobj__prt  (toCInt _id)  (toCInt _rng)  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  (toCInt _stl)  -foreign import ccall "wxGauge_Create" wxGauge_Create :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TGauge ()))---- | usage: (@gaugeGetBezelFace obj@).-gaugeGetBezelFace :: Gauge  a ->  IO Int-gaugeGetBezelFace _obj -  = withIntResult $-    withObjectRef "gaugeGetBezelFace" _obj $ \cobj__obj -> -    wxGauge_GetBezelFace cobj__obj  -foreign import ccall "wxGauge_GetBezelFace" wxGauge_GetBezelFace :: Ptr (TGauge a) -> IO CInt---- | usage: (@gaugeGetRange obj@).-gaugeGetRange :: Gauge  a ->  IO Int-gaugeGetRange _obj -  = withIntResult $-    withObjectRef "gaugeGetRange" _obj $ \cobj__obj -> -    wxGauge_GetRange cobj__obj  -foreign import ccall "wxGauge_GetRange" wxGauge_GetRange :: Ptr (TGauge a) -> IO CInt---- | usage: (@gaugeGetShadowWidth obj@).-gaugeGetShadowWidth :: Gauge  a ->  IO Int-gaugeGetShadowWidth _obj -  = withIntResult $-    withObjectRef "gaugeGetShadowWidth" _obj $ \cobj__obj -> -    wxGauge_GetShadowWidth cobj__obj  -foreign import ccall "wxGauge_GetShadowWidth" wxGauge_GetShadowWidth :: Ptr (TGauge a) -> IO CInt---- | usage: (@gaugeGetValue obj@).-gaugeGetValue :: Gauge  a ->  IO Int-gaugeGetValue _obj -  = withIntResult $-    withObjectRef "gaugeGetValue" _obj $ \cobj__obj -> -    wxGauge_GetValue cobj__obj  -foreign import ccall "wxGauge_GetValue" wxGauge_GetValue :: Ptr (TGauge a) -> IO CInt---- | usage: (@gaugeSetBezelFace obj w@).-gaugeSetBezelFace :: Gauge  a -> Int ->  IO ()-gaugeSetBezelFace _obj w -  = withObjectRef "gaugeSetBezelFace" _obj $ \cobj__obj -> -    wxGauge_SetBezelFace cobj__obj  (toCInt w)  -foreign import ccall "wxGauge_SetBezelFace" wxGauge_SetBezelFace :: Ptr (TGauge a) -> CInt -> IO ()---- | usage: (@gaugeSetRange obj r@).-gaugeSetRange :: Gauge  a -> Int ->  IO ()-gaugeSetRange _obj r -  = withObjectRef "gaugeSetRange" _obj $ \cobj__obj -> -    wxGauge_SetRange cobj__obj  (toCInt r)  -foreign import ccall "wxGauge_SetRange" wxGauge_SetRange :: Ptr (TGauge a) -> CInt -> IO ()---- | usage: (@gaugeSetShadowWidth obj w@).-gaugeSetShadowWidth :: Gauge  a -> Int ->  IO ()-gaugeSetShadowWidth _obj w -  = withObjectRef "gaugeSetShadowWidth" _obj $ \cobj__obj -> -    wxGauge_SetShadowWidth cobj__obj  (toCInt w)  -foreign import ccall "wxGauge_SetShadowWidth" wxGauge_SetShadowWidth :: Ptr (TGauge a) -> CInt -> IO ()---- | usage: (@gaugeSetValue obj pos@).-gaugeSetValue :: Gauge  a -> Int ->  IO ()-gaugeSetValue _obj pos -  = withObjectRef "gaugeSetValue" _obj $ \cobj__obj -> -    wxGauge_SetValue cobj__obj  (toCInt pos)  -foreign import ccall "wxGauge_SetValue" wxGauge_SetValue :: Ptr (TGauge a) -> CInt -> IO ()---- | usage: (@genericDragIcon icon@).-genericDragIcon :: Icon  a ->  IO (GenericDragImage  ())-genericDragIcon icon -  = withObjectResult $-    withObjectPtr icon $ \cobj_icon -> -    wx_wxGenericDragIcon cobj_icon  -foreign import ccall "wxGenericDragIcon" wx_wxGenericDragIcon :: Ptr (TIcon a) -> IO (Ptr (TGenericDragImage ()))---- | usage: (@genericDragImageCreate cursor@).-genericDragImageCreate :: Cursor  a ->  IO (GenericDragImage  ())-genericDragImageCreate cursor -  = withObjectResult $-    withObjectPtr cursor $ \cobj_cursor -> -    wxGenericDragImage_Create cobj_cursor  -foreign import ccall "wxGenericDragImage_Create" wxGenericDragImage_Create :: Ptr (TCursor a) -> IO (Ptr (TGenericDragImage ()))---- | usage: (@genericDragImageDoDrawImage self dc xy@).-genericDragImageDoDrawImage :: GenericDragImage  a -> DC  b -> Point ->  IO Bool-genericDragImageDoDrawImage self dc xy -  = withBoolResult $-    withObjectRef "genericDragImageDoDrawImage" self $ \cobj_self -> -    withObjectPtr dc $ \cobj_dc -> -    wxGenericDragImage_DoDrawImage cobj_self  cobj_dc  (toCIntPointX xy) (toCIntPointY xy)  -foreign import ccall "wxGenericDragImage_DoDrawImage" wxGenericDragImage_DoDrawImage :: Ptr (TGenericDragImage a) -> Ptr (TDC b) -> CInt -> CInt -> IO CBool---- | usage: (@genericDragImageGetImageRect self xposypos@).-genericDragImageGetImageRect :: GenericDragImage  a -> Point ->  IO (Rect)-genericDragImageGetImageRect self xposypos -  = withWxRectResult $-    withObjectRef "genericDragImageGetImageRect" self $ \cobj_self -> -    wxGenericDragImage_GetImageRect cobj_self  (toCIntPointX xposypos) (toCIntPointY xposypos)  -foreign import ccall "wxGenericDragImage_GetImageRect" wxGenericDragImage_GetImageRect :: Ptr (TGenericDragImage a) -> CInt -> CInt -> IO (Ptr (TWxRect ()))---- | usage: (@genericDragImageUpdateBackingFromWindow self windowDC destDC xywh xdestydestwidthheight@).-genericDragImageUpdateBackingFromWindow :: GenericDragImage  a -> DC  b -> MemoryDC  c -> Rect -> Rect ->  IO Bool-genericDragImageUpdateBackingFromWindow self windowDC destDC xywh xdestydestwidthheight -  = withBoolResult $-    withObjectRef "genericDragImageUpdateBackingFromWindow" self $ \cobj_self -> -    withObjectPtr windowDC $ \cobj_windowDC -> -    withObjectPtr destDC $ \cobj_destDC -> -    wxGenericDragImage_UpdateBackingFromWindow cobj_self  cobj_windowDC  cobj_destDC  (toCIntRectX xywh) (toCIntRectY xywh)(toCIntRectW xywh) (toCIntRectH xywh)  (toCIntRectX xdestydestwidthheight) (toCIntRectY xdestydestwidthheight)(toCIntRectW xdestydestwidthheight) (toCIntRectH xdestydestwidthheight)  -foreign import ccall "wxGenericDragImage_UpdateBackingFromWindow" wxGenericDragImage_UpdateBackingFromWindow :: Ptr (TGenericDragImage a) -> Ptr (TDC b) -> Ptr (TMemoryDC c) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO CBool---- | usage: (@genericDragListItem treeCtrl id@).-genericDragListItem :: ListCtrl  a -> Id ->  IO (GenericDragImage  ())-genericDragListItem treeCtrl id -  = withObjectResult $-    withObjectPtr treeCtrl $ \cobj_treeCtrl -> -    wx_wxGenericDragListItem cobj_treeCtrl  (toCInt id)  -foreign import ccall "wxGenericDragListItem" wx_wxGenericDragListItem :: Ptr (TListCtrl a) -> CInt -> IO (Ptr (TGenericDragImage ()))---- | usage: (@genericDragString test@).-genericDragString :: String ->  IO (GenericDragImage  ())-genericDragString test -  = withObjectResult $-    withStringPtr test $ \cobj_test -> -    wx_wxGenericDragString cobj_test  -foreign import ccall "wxGenericDragString" wx_wxGenericDragString :: Ptr (TWxString a) -> IO (Ptr (TGenericDragImage ()))---- | usage: (@genericDragTreeItem treeCtrl id@).-genericDragTreeItem :: TreeCtrl  a -> TreeItem ->  IO (GenericDragImage  ())-genericDragTreeItem treeCtrl id -  = withObjectResult $-    withObjectPtr treeCtrl $ \cobj_treeCtrl -> -    withTreeItemIdPtr id $ \cobj_id -> -    wx_wxGenericDragTreeItem cobj_treeCtrl  cobj_id  -foreign import ccall "wxGenericDragTreeItem" wx_wxGenericDragTreeItem :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> IO (Ptr (TGenericDragImage ()))--{- |  Return the directory of the application. On unix systems (except MacOS X), it is not always possible to determine this correctly. Therefore, the APPDIR environment variable is returned first if it is defined. * -}-getApplicationDir ::  IO (String)-getApplicationDir -  = withManagedStringResult $-    wx_wxGetApplicationDir -foreign import ccall "wxGetApplicationDir" wx_wxGetApplicationDir :: IO (Ptr (TWxString ()))--{- |  Return the full path of the application. On unix systems (except MacOS X), it is not always possible to determine this correctly. * -}-getApplicationPath ::  IO (String)-getApplicationPath -  = withManagedStringResult $-    wx_wxGetApplicationPath -foreign import ccall "wxGetApplicationPath" wx_wxGetApplicationPath :: IO (Ptr (TWxString ()))---- | usage: (@getColourFromUser parent colInit@).-getColourFromUser :: Window  a -> Color ->  IO (Color)-getColourFromUser parent colInit -  = withRefColour $ \pref -> -    withObjectPtr parent $ \cobj_parent -> -    withColourPtr colInit $ \cobj_colInit -> -    wx_wxGetColourFromUser cobj_parent  cobj_colInit   pref-foreign import ccall "wxGetColourFromUser" wx_wxGetColourFromUser :: Ptr (TWindow a) -> Ptr (TColour b) -> Ptr (TColour ()) -> IO ()---- | usage: (@getELJLocale@).-getELJLocale ::  IO (WXCLocale  ())-getELJLocale -  = withObjectResult $-    wx_wxGetELJLocale -foreign import ccall "wxGetELJLocale" wx_wxGetELJLocale :: IO (Ptr (TWXCLocale ()))---- | usage: (@getELJTranslation sz@).-getELJTranslation :: String ->  IO (Ptr  ())-getELJTranslation sz -  = withCWString sz $ \cstr_sz -> -    wx_wxGetELJTranslation cstr_sz  -foreign import ccall "wxGetELJTranslation" wx_wxGetELJTranslation :: CWString -> IO (Ptr  ())---- | usage: (@getFontFromUser parent fontInit@).-getFontFromUser :: Window  a -> Font  b ->  IO (Font  ())-getFontFromUser parent fontInit -  = withRefFont $ \pref -> -    withObjectPtr parent $ \cobj_parent -> -    withObjectPtr fontInit $ \cobj_fontInit -> -    wx_wxGetFontFromUser cobj_parent  cobj_fontInit   pref-foreign import ccall "wxGetFontFromUser" wx_wxGetFontFromUser :: Ptr (TWindow a) -> Ptr (TFont b) -> Ptr (TFont ()) -> IO ()---- | usage: (@getNumberFromUser message prompt caption value min max parent xy@).-getNumberFromUser :: String -> String -> String -> Int -> Int -> Int -> Window  g -> Point ->  IO Int-getNumberFromUser message prompt caption value min max parent xy -  = withIntResult $-    withStringPtr message $ \cobj_message -> -    withStringPtr prompt $ \cobj_prompt -> -    withStringPtr caption $ \cobj_caption -> -    withObjectPtr parent $ \cobj_parent -> -    wx_wxGetNumberFromUser cobj_message  cobj_prompt  cobj_caption  (toCInt value)  (toCInt min)  (toCInt max)  cobj_parent  (toCIntPointX xy) (toCIntPointY xy)  -foreign import ccall "wxGetNumberFromUser" wx_wxGetNumberFromUser :: Ptr (TWxString a) -> Ptr (TWxString b) -> Ptr (TWxString c) -> CInt -> CInt -> CInt -> Ptr (TWindow g) -> CInt -> CInt -> IO CInt---- | usage: (@getPasswordFromUser message caption defaultText parent@).-getPasswordFromUser :: String -> String -> String -> Window  d ->  IO String-getPasswordFromUser message caption defaultText parent -  = withWStringResult $ \buffer -> -    withCWString message $ \cstr_message -> -    withCWString caption $ \cstr_caption -> -    withCWString defaultText $ \cstr_defaultText -> -    withObjectPtr parent $ \cobj_parent -> -    wx_wxGetPasswordFromUser cstr_message  cstr_caption  cstr_defaultText  cobj_parent   buffer-foreign import ccall "wxGetPasswordFromUser" wx_wxGetPasswordFromUser :: CWString -> CWString -> CWString -> Ptr (TWindow d) -> Ptr CWchar -> IO CInt---- | usage: (@getTextFromUser message caption defaultText parent xy center@).-getTextFromUser :: String -> String -> String -> Window  d -> Point -> Bool ->  IO String-getTextFromUser message caption defaultText parent xy center -  = withWStringResult $ \buffer -> -    withCWString message $ \cstr_message -> -    withCWString caption $ \cstr_caption -> -    withCWString defaultText $ \cstr_defaultText -> -    withObjectPtr parent $ \cobj_parent -> -    wx_wxGetTextFromUser cstr_message  cstr_caption  cstr_defaultText  cobj_parent  (toCIntPointX xy) (toCIntPointY xy)  (toCBool center)   buffer-foreign import ccall "wxGetTextFromUser" wx_wxGetTextFromUser :: CWString -> CWString -> CWString -> Ptr (TWindow d) -> CInt -> CInt -> CBool -> Ptr CWchar -> IO CInt---- | usage: (@graphicsBrushCreate@).-graphicsBrushCreate ::  IO (GraphicsBrush  ())-graphicsBrushCreate -  = withObjectResult $-    wxGraphicsBrush_Create -foreign import ccall "wxGraphicsBrush_Create" wxGraphicsBrush_Create :: IO (Ptr (TGraphicsBrush ()))---- | usage: (@graphicsBrushDelete self@).-graphicsBrushDelete :: GraphicsBrush  a ->  IO ()-graphicsBrushDelete-  = objectDelete----- | usage: (@graphicsContextClip self region@).-graphicsContextClip :: GraphicsContext  a -> Region  b ->  IO ()-graphicsContextClip self region -  = withObjectRef "graphicsContextClip" self $ \cobj_self -> -    withObjectPtr region $ \cobj_region -> -    wxGraphicsContext_Clip cobj_self  cobj_region  -foreign import ccall "wxGraphicsContext_Clip" wxGraphicsContext_Clip :: Ptr (TGraphicsContext a) -> Ptr (TRegion b) -> IO ()---- | usage: (@graphicsContextClipByRectangle self xywh@).-graphicsContextClipByRectangle :: GraphicsContext  a -> (Rect2D Double) ->  IO ()-graphicsContextClipByRectangle self xywh -  = withObjectRef "graphicsContextClipByRectangle" self $ \cobj_self -> -    wxGraphicsContext_ClipByRectangle cobj_self  (toCDoubleRectX xywh) (toCDoubleRectY xywh)(toCDoubleRectW xywh) (toCDoubleRectH xywh)  -foreign import ccall "wxGraphicsContext_ClipByRectangle" wxGraphicsContext_ClipByRectangle :: Ptr (TGraphicsContext a) -> CDouble -> CDouble -> CDouble -> CDouble -> IO ()---- | usage: (@graphicsContextConcatTransform self path@).-graphicsContextConcatTransform :: GraphicsContext  a -> GraphicsMatrix  b ->  IO ()-graphicsContextConcatTransform self path -  = withObjectRef "graphicsContextConcatTransform" self $ \cobj_self -> -    withObjectPtr path $ \cobj_path -> -    wxGraphicsContext_ConcatTransform cobj_self  cobj_path  -foreign import ccall "wxGraphicsContext_ConcatTransform" wxGraphicsContext_ConcatTransform :: Ptr (TGraphicsContext a) -> Ptr (TGraphicsMatrix b) -> IO ()---- | usage: (@graphicsContextCreate dc@).-graphicsContextCreate :: WindowDC  a ->  IO (GraphicsContext  ())-graphicsContextCreate dc -  = withObjectResult $-    withObjectPtr dc $ \cobj_dc -> -    wxGraphicsContext_Create cobj_dc  -foreign import ccall "wxGraphicsContext_Create" wxGraphicsContext_Create :: Ptr (TWindowDC a) -> IO (Ptr (TGraphicsContext ()))---- | usage: (@graphicsContextCreateFromNative context@).-graphicsContextCreateFromNative :: GraphicsContext  a ->  IO (GraphicsContext  ())-graphicsContextCreateFromNative context -  = withObjectResult $-    withObjectRef "graphicsContextCreateFromNative" context $ \cobj_context -> -    wxGraphicsContext_CreateFromNative cobj_context  -foreign import ccall "wxGraphicsContext_CreateFromNative" wxGraphicsContext_CreateFromNative :: Ptr (TGraphicsContext a) -> IO (Ptr (TGraphicsContext ()))---- | usage: (@graphicsContextCreateFromNativeWindow window@).-graphicsContextCreateFromNativeWindow :: Window  a ->  IO (GraphicsContext  ())-graphicsContextCreateFromNativeWindow window -  = withObjectResult $-    withObjectPtr window $ \cobj_window -> -    wxGraphicsContext_CreateFromNativeWindow cobj_window  -foreign import ccall "wxGraphicsContext_CreateFromNativeWindow" wxGraphicsContext_CreateFromNativeWindow :: Ptr (TWindow a) -> IO (Ptr (TGraphicsContext ()))---- | usage: (@graphicsContextCreateFromWindow window@).-graphicsContextCreateFromWindow :: Window  a ->  IO (GraphicsContext  ())-graphicsContextCreateFromWindow window -  = withObjectResult $-    withObjectPtr window $ \cobj_window -> -    wxGraphicsContext_CreateFromWindow cobj_window  -foreign import ccall "wxGraphicsContext_CreateFromWindow" wxGraphicsContext_CreateFromWindow :: Ptr (TWindow a) -> IO (Ptr (TGraphicsContext ()))---- | usage: (@graphicsContextDelete self@).-graphicsContextDelete :: GraphicsContext  a ->  IO ()-graphicsContextDelete-  = objectDelete----- | usage: (@graphicsContextDrawBitmap self bmp xywh@).-graphicsContextDrawBitmap :: GraphicsContext  a -> Bitmap  b -> (Rect2D Double) ->  IO ()-graphicsContextDrawBitmap self bmp xywh -  = withObjectRef "graphicsContextDrawBitmap" self $ \cobj_self -> -    withObjectPtr bmp $ \cobj_bmp -> -    wxGraphicsContext_DrawBitmap cobj_self  cobj_bmp  (toCDoubleRectX xywh) (toCDoubleRectY xywh)(toCDoubleRectW xywh) (toCDoubleRectH xywh)  -foreign import ccall "wxGraphicsContext_DrawBitmap" wxGraphicsContext_DrawBitmap :: Ptr (TGraphicsContext a) -> Ptr (TBitmap b) -> CDouble -> CDouble -> CDouble -> CDouble -> IO ()---- | usage: (@graphicsContextDrawEllipse self xywh@).-graphicsContextDrawEllipse :: GraphicsContext  a -> (Rect2D Double) ->  IO ()-graphicsContextDrawEllipse self xywh -  = withObjectRef "graphicsContextDrawEllipse" self $ \cobj_self -> -    wxGraphicsContext_DrawEllipse cobj_self  (toCDoubleRectX xywh) (toCDoubleRectY xywh)(toCDoubleRectW xywh) (toCDoubleRectH xywh)  -foreign import ccall "wxGraphicsContext_DrawEllipse" wxGraphicsContext_DrawEllipse :: Ptr (TGraphicsContext a) -> CDouble -> CDouble -> CDouble -> CDouble -> IO ()---- | usage: (@graphicsContextDrawIcon self icon xywh@).-graphicsContextDrawIcon :: GraphicsContext  a -> Icon  b -> (Rect2D Double) ->  IO ()-graphicsContextDrawIcon self icon xywh -  = withObjectRef "graphicsContextDrawIcon" self $ \cobj_self -> -    withObjectPtr icon $ \cobj_icon -> -    wxGraphicsContext_DrawIcon cobj_self  cobj_icon  (toCDoubleRectX xywh) (toCDoubleRectY xywh)(toCDoubleRectW xywh) (toCDoubleRectH xywh)  -foreign import ccall "wxGraphicsContext_DrawIcon" wxGraphicsContext_DrawIcon :: Ptr (TGraphicsContext a) -> Ptr (TIcon b) -> CDouble -> CDouble -> CDouble -> CDouble -> IO ()---- | usage: (@graphicsContextDrawLines self n x y style@).-graphicsContextDrawLines :: GraphicsContext  a -> Int -> Ptr  c -> Ptr  d -> Int ->  IO ()-graphicsContextDrawLines self n x y style -  = withObjectRef "graphicsContextDrawLines" self $ \cobj_self -> -    wxGraphicsContext_DrawLines cobj_self  (toCInt n)  x  y  (toCInt style)  -foreign import ccall "wxGraphicsContext_DrawLines" wxGraphicsContext_DrawLines :: Ptr (TGraphicsContext a) -> CInt -> Ptr  c -> Ptr  d -> CInt -> IO ()---- | usage: (@graphicsContextDrawPath self path style@).-graphicsContextDrawPath :: GraphicsContext  a -> GraphicsPath  b -> Int ->  IO ()-graphicsContextDrawPath self path style -  = withObjectRef "graphicsContextDrawPath" self $ \cobj_self -> -    withObjectPtr path $ \cobj_path -> -    wxGraphicsContext_DrawPath cobj_self  cobj_path  (toCInt style)  -foreign import ccall "wxGraphicsContext_DrawPath" wxGraphicsContext_DrawPath :: Ptr (TGraphicsContext a) -> Ptr (TGraphicsPath b) -> CInt -> IO ()---- | usage: (@graphicsContextDrawRectangle self xywh@).-graphicsContextDrawRectangle :: GraphicsContext  a -> (Rect2D Double) ->  IO ()-graphicsContextDrawRectangle self xywh -  = withObjectRef "graphicsContextDrawRectangle" self $ \cobj_self -> -    wxGraphicsContext_DrawRectangle cobj_self  (toCDoubleRectX xywh) (toCDoubleRectY xywh)(toCDoubleRectW xywh) (toCDoubleRectH xywh)  -foreign import ccall "wxGraphicsContext_DrawRectangle" wxGraphicsContext_DrawRectangle :: Ptr (TGraphicsContext a) -> CDouble -> CDouble -> CDouble -> CDouble -> IO ()---- | usage: (@graphicsContextDrawRoundedRectangle self xywh radius@).-graphicsContextDrawRoundedRectangle :: GraphicsContext  a -> (Rect2D Double) -> Double ->  IO ()-graphicsContextDrawRoundedRectangle self xywh radius -  = withObjectRef "graphicsContextDrawRoundedRectangle" self $ \cobj_self -> -    wxGraphicsContext_DrawRoundedRectangle cobj_self  (toCDoubleRectX xywh) (toCDoubleRectY xywh)(toCDoubleRectW xywh) (toCDoubleRectH xywh)  radius  -foreign import ccall "wxGraphicsContext_DrawRoundedRectangle" wxGraphicsContext_DrawRoundedRectangle :: Ptr (TGraphicsContext a) -> CDouble -> CDouble -> CDouble -> CDouble -> Double -> IO ()---- | usage: (@graphicsContextDrawText self text xy@).-graphicsContextDrawText :: GraphicsContext  a -> String -> (Point2 Double) ->  IO ()-graphicsContextDrawText self text xy -  = withObjectRef "graphicsContextDrawText" self $ \cobj_self -> -    withStringPtr text $ \cobj_text -> -    wxGraphicsContext_DrawText cobj_self  cobj_text  (toCDoublePointX xy) (toCDoublePointY xy)  -foreign import ccall "wxGraphicsContext_DrawText" wxGraphicsContext_DrawText :: Ptr (TGraphicsContext a) -> Ptr (TWxString b) -> CDouble -> CDouble -> IO ()---- | usage: (@graphicsContextDrawTextWithAngle self text xy radius@).-graphicsContextDrawTextWithAngle :: GraphicsContext  a -> String -> (Point2 Double) -> Double ->  IO ()-graphicsContextDrawTextWithAngle self text xy radius -  = withObjectRef "graphicsContextDrawTextWithAngle" self $ \cobj_self -> -    withStringPtr text $ \cobj_text -> -    wxGraphicsContext_DrawTextWithAngle cobj_self  cobj_text  (toCDoublePointX xy) (toCDoublePointY xy)  radius  -foreign import ccall "wxGraphicsContext_DrawTextWithAngle" wxGraphicsContext_DrawTextWithAngle :: Ptr (TGraphicsContext a) -> Ptr (TWxString b) -> CDouble -> CDouble -> Double -> IO ()---- | usage: (@graphicsContextFillPath self path style@).-graphicsContextFillPath :: GraphicsContext  a -> GraphicsPath  b -> Int ->  IO ()-graphicsContextFillPath self path style -  = withObjectRef "graphicsContextFillPath" self $ \cobj_self -> -    withObjectPtr path $ \cobj_path -> -    wxGraphicsContext_FillPath cobj_self  cobj_path  (toCInt style)  -foreign import ccall "wxGraphicsContext_FillPath" wxGraphicsContext_FillPath :: Ptr (TGraphicsContext a) -> Ptr (TGraphicsPath b) -> CInt -> IO ()---- | usage: (@graphicsContextGetNativeContext self@).-graphicsContextGetNativeContext :: GraphicsContext  a ->  IO (Ptr  ())-graphicsContextGetNativeContext self -  = withObjectRef "graphicsContextGetNativeContext" self $ \cobj_self -> -    wxGraphicsContext_GetNativeContext cobj_self  -foreign import ccall "wxGraphicsContext_GetNativeContext" wxGraphicsContext_GetNativeContext :: Ptr (TGraphicsContext a) -> IO (Ptr  ())---- | usage: (@graphicsContextGetTextExtent self text width height descent externalLeading@).-graphicsContextGetTextExtent :: GraphicsContext  a -> String -> Ptr Double -> Ptr Double -> Ptr Double -> Ptr Double ->  IO ()-graphicsContextGetTextExtent self text width height descent externalLeading -  = withObjectRef "graphicsContextGetTextExtent" self $ \cobj_self -> -    withStringPtr text $ \cobj_text -> -    wxGraphicsContext_GetTextExtent cobj_self  cobj_text  width  height  descent  externalLeading  -foreign import ccall "wxGraphicsContext_GetTextExtent" wxGraphicsContext_GetTextExtent :: Ptr (TGraphicsContext a) -> Ptr (TWxString b) -> Ptr Double -> Ptr Double -> Ptr Double -> Ptr Double -> IO ()---- | usage: (@graphicsContextResetClip self@).-graphicsContextResetClip :: GraphicsContext  a ->  IO ()-graphicsContextResetClip self -  = withObjectRef "graphicsContextResetClip" self $ \cobj_self -> -    wxGraphicsContext_ResetClip cobj_self  -foreign import ccall "wxGraphicsContext_ResetClip" wxGraphicsContext_ResetClip :: Ptr (TGraphicsContext a) -> IO ()---- | usage: (@graphicsContextRotate self angle@).-graphicsContextRotate :: GraphicsContext  a -> Double ->  IO ()-graphicsContextRotate self angle -  = withObjectRef "graphicsContextRotate" self $ \cobj_self -> -    wxGraphicsContext_Rotate cobj_self  angle  -foreign import ccall "wxGraphicsContext_Rotate" wxGraphicsContext_Rotate :: Ptr (TGraphicsContext a) -> Double -> IO ()---- | usage: (@graphicsContextScale self xScaleyScale@).-graphicsContextScale :: GraphicsContext  a -> (Size2D Double) ->  IO ()-graphicsContextScale self xScaleyScale -  = withObjectRef "graphicsContextScale" self $ \cobj_self -> -    wxGraphicsContext_Scale cobj_self  (toCDoubleSizeW xScaleyScale) (toCDoubleSizeH xScaleyScale)  -foreign import ccall "wxGraphicsContext_Scale" wxGraphicsContext_Scale :: Ptr (TGraphicsContext a) -> CDouble -> CDouble -> IO ()---- | usage: (@graphicsContextSetBrush self brush@).-graphicsContextSetBrush :: GraphicsContext  a -> Brush  b ->  IO ()-graphicsContextSetBrush self brush -  = withObjectRef "graphicsContextSetBrush" self $ \cobj_self -> -    withObjectPtr brush $ \cobj_brush -> -    wxGraphicsContext_SetBrush cobj_self  cobj_brush  -foreign import ccall "wxGraphicsContext_SetBrush" wxGraphicsContext_SetBrush :: Ptr (TGraphicsContext a) -> Ptr (TBrush b) -> IO ()---- | usage: (@graphicsContextSetFont self font colour@).-graphicsContextSetFont :: GraphicsContext  a -> Font  b -> Color ->  IO ()-graphicsContextSetFont self font colour -  = withObjectRef "graphicsContextSetFont" self $ \cobj_self -> -    withObjectPtr font $ \cobj_font -> -    withColourPtr colour $ \cobj_colour -> -    wxGraphicsContext_SetFont cobj_self  cobj_font  cobj_colour  -foreign import ccall "wxGraphicsContext_SetFont" wxGraphicsContext_SetFont :: Ptr (TGraphicsContext a) -> Ptr (TFont b) -> Ptr (TColour c) -> IO ()---- | usage: (@graphicsContextSetGraphicsBrush self brush@).-graphicsContextSetGraphicsBrush :: GraphicsContext  a -> GraphicsBrush  b ->  IO ()-graphicsContextSetGraphicsBrush self brush -  = withObjectRef "graphicsContextSetGraphicsBrush" self $ \cobj_self -> -    withObjectPtr brush $ \cobj_brush -> -    wxGraphicsContext_SetGraphicsBrush cobj_self  cobj_brush  -foreign import ccall "wxGraphicsContext_SetGraphicsBrush" wxGraphicsContext_SetGraphicsBrush :: Ptr (TGraphicsContext a) -> Ptr (TGraphicsBrush b) -> IO ()---- | usage: (@graphicsContextSetGraphicsFont self font@).-graphicsContextSetGraphicsFont :: GraphicsContext  a -> GraphicsFont  b ->  IO ()-graphicsContextSetGraphicsFont self font -  = withObjectRef "graphicsContextSetGraphicsFont" self $ \cobj_self -> -    withObjectPtr font $ \cobj_font -> -    wxGraphicsContext_SetGraphicsFont cobj_self  cobj_font  -foreign import ccall "wxGraphicsContext_SetGraphicsFont" wxGraphicsContext_SetGraphicsFont :: Ptr (TGraphicsContext a) -> Ptr (TGraphicsFont b) -> IO ()---- | usage: (@graphicsContextSetGraphicsPen self pen@).-graphicsContextSetGraphicsPen :: GraphicsContext  a -> GraphicsPen  b ->  IO ()-graphicsContextSetGraphicsPen self pen -  = withObjectRef "graphicsContextSetGraphicsPen" self $ \cobj_self -> -    withObjectPtr pen $ \cobj_pen -> -    wxGraphicsContext_SetGraphicsPen cobj_self  cobj_pen  -foreign import ccall "wxGraphicsContext_SetGraphicsPen" wxGraphicsContext_SetGraphicsPen :: Ptr (TGraphicsContext a) -> Ptr (TGraphicsPen b) -> IO ()---- | usage: (@graphicsContextSetPen self pen@).-graphicsContextSetPen :: GraphicsContext  a -> Pen  b ->  IO ()-graphicsContextSetPen self pen -  = withObjectRef "graphicsContextSetPen" self $ \cobj_self -> -    withObjectPtr pen $ \cobj_pen -> -    wxGraphicsContext_SetPen cobj_self  cobj_pen  -foreign import ccall "wxGraphicsContext_SetPen" wxGraphicsContext_SetPen :: Ptr (TGraphicsContext a) -> Ptr (TPen b) -> IO ()---- | usage: (@graphicsContextSetTransform self path@).-graphicsContextSetTransform :: GraphicsContext  a -> GraphicsMatrix  b ->  IO ()-graphicsContextSetTransform self path -  = withObjectRef "graphicsContextSetTransform" self $ \cobj_self -> -    withObjectPtr path $ \cobj_path -> -    wxGraphicsContext_SetTransform cobj_self  cobj_path  -foreign import ccall "wxGraphicsContext_SetTransform" wxGraphicsContext_SetTransform :: Ptr (TGraphicsContext a) -> Ptr (TGraphicsMatrix b) -> IO ()---- | usage: (@graphicsContextStrokeLine self x1y1 x2y2@).-graphicsContextStrokeLine :: GraphicsContext  a -> (Point2 Double) -> (Point2 Double) ->  IO ()-graphicsContextStrokeLine self x1y1 x2y2 -  = withObjectRef "graphicsContextStrokeLine" self $ \cobj_self -> -    wxGraphicsContext_StrokeLine cobj_self  (toCDoublePointX x1y1) (toCDoublePointY x1y1)  (toCDoublePointX x2y2) (toCDoublePointY x2y2)  -foreign import ccall "wxGraphicsContext_StrokeLine" wxGraphicsContext_StrokeLine :: Ptr (TGraphicsContext a) -> CDouble -> CDouble -> CDouble -> CDouble -> IO ()---- | usage: (@graphicsContextStrokeLines self n x y style@).-graphicsContextStrokeLines :: GraphicsContext  a -> Int -> Ptr  c -> Ptr  d -> Int ->  IO ()-graphicsContextStrokeLines self n x y style -  = withObjectRef "graphicsContextStrokeLines" self $ \cobj_self -> -    wxGraphicsContext_StrokeLines cobj_self  (toCInt n)  x  y  (toCInt style)  -foreign import ccall "wxGraphicsContext_StrokeLines" wxGraphicsContext_StrokeLines :: Ptr (TGraphicsContext a) -> CInt -> Ptr  c -> Ptr  d -> CInt -> IO ()---- | usage: (@graphicsContextStrokePath self path@).-graphicsContextStrokePath :: GraphicsContext  a -> GraphicsPath  b ->  IO ()-graphicsContextStrokePath self path -  = withObjectRef "graphicsContextStrokePath" self $ \cobj_self -> -    withObjectPtr path $ \cobj_path -> -    wxGraphicsContext_StrokePath cobj_self  cobj_path  -foreign import ccall "wxGraphicsContext_StrokePath" wxGraphicsContext_StrokePath :: Ptr (TGraphicsContext a) -> Ptr (TGraphicsPath b) -> IO ()---- | usage: (@graphicsContextTranslate self dx dy@).-graphicsContextTranslate :: GraphicsContext  a -> Double -> Double ->  IO ()-graphicsContextTranslate self dx dy -  = withObjectRef "graphicsContextTranslate" self $ \cobj_self -> -    wxGraphicsContext_Translate cobj_self  dx  dy  -foreign import ccall "wxGraphicsContext_Translate" wxGraphicsContext_Translate :: Ptr (TGraphicsContext a) -> Double -> Double -> IO ()---- | usage: (@graphicsFontCreate@).-graphicsFontCreate ::  IO (GraphicsFont  ())-graphicsFontCreate -  = withObjectResult $-    wxGraphicsFont_Create -foreign import ccall "wxGraphicsFont_Create" wxGraphicsFont_Create :: IO (Ptr (TGraphicsFont ()))---- | usage: (@graphicsFontDelete self@).-graphicsFontDelete :: GraphicsFont  a ->  IO ()-graphicsFontDelete-  = objectDelete----- | usage: (@graphicsMatrixConcat self t@).-graphicsMatrixConcat :: GraphicsMatrix  a -> GraphicsMatrix  b ->  IO ()-graphicsMatrixConcat self t -  = withObjectRef "graphicsMatrixConcat" self $ \cobj_self -> -    withObjectPtr t $ \cobj_t -> -    wxGraphicsMatrix_Concat cobj_self  cobj_t  -foreign import ccall "wxGraphicsMatrix_Concat" wxGraphicsMatrix_Concat :: Ptr (TGraphicsMatrix a) -> Ptr (TGraphicsMatrix b) -> IO ()---- | usage: (@graphicsMatrixCreate@).-graphicsMatrixCreate ::  IO (GraphicsMatrix  ())-graphicsMatrixCreate -  = withObjectResult $-    wxGraphicsMatrix_Create -foreign import ccall "wxGraphicsMatrix_Create" wxGraphicsMatrix_Create :: IO (Ptr (TGraphicsMatrix ()))---- | usage: (@graphicsMatrixDelete self@).-graphicsMatrixDelete :: GraphicsMatrix  a ->  IO ()-graphicsMatrixDelete-  = objectDelete----- | usage: (@graphicsMatrixGet self a b c d tx ty@).-graphicsMatrixGet :: GraphicsMatrix  a -> Ptr Double -> Ptr Double -> Ptr Double -> Ptr Double -> Ptr Double -> Ptr Double ->  IO ()-graphicsMatrixGet self a b c d tx ty -  = withObjectRef "graphicsMatrixGet" self $ \cobj_self -> -    wxGraphicsMatrix_Get cobj_self  a  b  c  d  tx  ty  -foreign import ccall "wxGraphicsMatrix_Get" wxGraphicsMatrix_Get :: Ptr (TGraphicsMatrix a) -> Ptr Double -> Ptr Double -> Ptr Double -> Ptr Double -> Ptr Double -> Ptr Double -> IO ()---- | usage: (@graphicsMatrixGetNativeMatrix self@).-graphicsMatrixGetNativeMatrix :: GraphicsMatrix  a ->  IO (Ptr  ())-graphicsMatrixGetNativeMatrix self -  = withObjectRef "graphicsMatrixGetNativeMatrix" self $ \cobj_self -> -    wxGraphicsMatrix_GetNativeMatrix cobj_self  -foreign import ccall "wxGraphicsMatrix_GetNativeMatrix" wxGraphicsMatrix_GetNativeMatrix :: Ptr (TGraphicsMatrix a) -> IO (Ptr  ())---- | usage: (@graphicsMatrixInvert self@).-graphicsMatrixInvert :: GraphicsMatrix  a ->  IO ()-graphicsMatrixInvert self -  = withObjectRef "graphicsMatrixInvert" self $ \cobj_self -> -    wxGraphicsMatrix_Invert cobj_self  -foreign import ccall "wxGraphicsMatrix_Invert" wxGraphicsMatrix_Invert :: Ptr (TGraphicsMatrix a) -> IO ()---- | usage: (@graphicsMatrixIsEqual self t@).-graphicsMatrixIsEqual :: GraphicsMatrix  a -> GraphicsMatrix  b ->  IO Bool-graphicsMatrixIsEqual self t -  = withBoolResult $-    withObjectRef "graphicsMatrixIsEqual" self $ \cobj_self -> -    withObjectPtr t $ \cobj_t -> -    wxGraphicsMatrix_IsEqual cobj_self  cobj_t  -foreign import ccall "wxGraphicsMatrix_IsEqual" wxGraphicsMatrix_IsEqual :: Ptr (TGraphicsMatrix a) -> Ptr (TGraphicsMatrix b) -> IO CBool---- | usage: (@graphicsMatrixIsIdentity self@).-graphicsMatrixIsIdentity :: GraphicsMatrix  a ->  IO Bool-graphicsMatrixIsIdentity self -  = withBoolResult $-    withObjectRef "graphicsMatrixIsIdentity" self $ \cobj_self -> -    wxGraphicsMatrix_IsIdentity cobj_self  -foreign import ccall "wxGraphicsMatrix_IsIdentity" wxGraphicsMatrix_IsIdentity :: Ptr (TGraphicsMatrix a) -> IO CBool---- | usage: (@graphicsMatrixRotate self angle@).-graphicsMatrixRotate :: GraphicsMatrix  a -> Double ->  IO ()-graphicsMatrixRotate self angle -  = withObjectRef "graphicsMatrixRotate" self $ \cobj_self -> -    wxGraphicsMatrix_Rotate cobj_self  angle  -foreign import ccall "wxGraphicsMatrix_Rotate" wxGraphicsMatrix_Rotate :: Ptr (TGraphicsMatrix a) -> Double -> IO ()---- | usage: (@graphicsMatrixScale self xScaleyScale@).-graphicsMatrixScale :: GraphicsMatrix  a -> (Size2D Double) ->  IO ()-graphicsMatrixScale self xScaleyScale -  = withObjectRef "graphicsMatrixScale" self $ \cobj_self -> -    wxGraphicsMatrix_Scale cobj_self  (toCDoubleSizeW xScaleyScale) (toCDoubleSizeH xScaleyScale)  -foreign import ccall "wxGraphicsMatrix_Scale" wxGraphicsMatrix_Scale :: Ptr (TGraphicsMatrix a) -> CDouble -> CDouble -> IO ()---- | usage: (@graphicsMatrixSet self a b c d tx ty@).-graphicsMatrixSet :: GraphicsMatrix  a -> Double -> Double -> Double -> Double -> Double -> Double ->  IO ()-graphicsMatrixSet self a b c d tx ty -  = withObjectRef "graphicsMatrixSet" self $ \cobj_self -> -    wxGraphicsMatrix_Set cobj_self  a  b  c  d  tx  ty  -foreign import ccall "wxGraphicsMatrix_Set" wxGraphicsMatrix_Set :: Ptr (TGraphicsMatrix a) -> Double -> Double -> Double -> Double -> Double -> Double -> IO ()---- | usage: (@graphicsMatrixTransformDistance self dx dy@).-graphicsMatrixTransformDistance :: GraphicsMatrix  a -> Ptr Double -> Ptr Double ->  IO ()-graphicsMatrixTransformDistance self dx dy -  = withObjectRef "graphicsMatrixTransformDistance" self $ \cobj_self -> -    wxGraphicsMatrix_TransformDistance cobj_self  dx  dy  -foreign import ccall "wxGraphicsMatrix_TransformDistance" wxGraphicsMatrix_TransformDistance :: Ptr (TGraphicsMatrix a) -> Ptr Double -> Ptr Double -> IO ()---- | usage: (@graphicsMatrixTransformPoint self@).-graphicsMatrixTransformPoint :: GraphicsMatrix  a ->  IO (Point2 Double)-graphicsMatrixTransformPoint self -  = withPointDoubleResult $ \px py -> -    withObjectRef "graphicsMatrixTransformPoint" self $ \cobj_self -> -    wxGraphicsMatrix_TransformPoint cobj_self   px py-foreign import ccall "wxGraphicsMatrix_TransformPoint" wxGraphicsMatrix_TransformPoint :: Ptr (TGraphicsMatrix a) -> Ptr CDouble -> Ptr CDouble -> IO ()---- | usage: (@graphicsMatrixTranslate self dx dy@).-graphicsMatrixTranslate :: GraphicsMatrix  a -> Double -> Double ->  IO ()-graphicsMatrixTranslate self dx dy -  = withObjectRef "graphicsMatrixTranslate" self $ \cobj_self -> -    wxGraphicsMatrix_Translate cobj_self  dx  dy  -foreign import ccall "wxGraphicsMatrix_Translate" wxGraphicsMatrix_Translate :: Ptr (TGraphicsMatrix a) -> Double -> Double -> IO ()---- | usage: (@graphicsObjectGetRenderer@).-graphicsObjectGetRenderer ::  IO (GraphicsRenderer  ())-graphicsObjectGetRenderer -  = withObjectResult $-    wxGraphicsObject_GetRenderer -foreign import ccall "wxGraphicsObject_GetRenderer" wxGraphicsObject_GetRenderer :: IO (Ptr (TGraphicsRenderer ()))---- | usage: (@graphicsObjectIsNull self@).-graphicsObjectIsNull :: GraphicsObject  a ->  IO Bool-graphicsObjectIsNull self -  = withBoolResult $-    withObjectRef "graphicsObjectIsNull" self $ \cobj_self -> -    wxGraphicsObject_IsNull cobj_self  -foreign import ccall "wxGraphicsObject_IsNull" wxGraphicsObject_IsNull :: Ptr (TGraphicsObject a) -> IO CBool---- | usage: (@graphicsPathAddArc self xy r startAngle endAngle clockwise@).-graphicsPathAddArc :: GraphicsPath  a -> (Point2 Double) -> Double -> Double -> Double -> Bool ->  IO ()-graphicsPathAddArc self xy r startAngle endAngle clockwise -  = withObjectRef "graphicsPathAddArc" self $ \cobj_self -> -    wxGraphicsPath_AddArc cobj_self  (toCDoublePointX xy) (toCDoublePointY xy)  r  startAngle  endAngle  (toCBool clockwise)  -foreign import ccall "wxGraphicsPath_AddArc" wxGraphicsPath_AddArc :: Ptr (TGraphicsPath a) -> CDouble -> CDouble -> Double -> Double -> Double -> CBool -> IO ()---- | usage: (@graphicsPathAddArcToPoint self x1y1 x2y2 r@).-graphicsPathAddArcToPoint :: GraphicsPath  a -> (Point2 Double) -> (Point2 Double) -> Double ->  IO ()-graphicsPathAddArcToPoint self x1y1 x2y2 r -  = withObjectRef "graphicsPathAddArcToPoint" self $ \cobj_self -> -    wxGraphicsPath_AddArcToPoint cobj_self  (toCDoublePointX x1y1) (toCDoublePointY x1y1)  (toCDoublePointX x2y2) (toCDoublePointY x2y2)  r  -foreign import ccall "wxGraphicsPath_AddArcToPoint" wxGraphicsPath_AddArcToPoint :: Ptr (TGraphicsPath a) -> CDouble -> CDouble -> CDouble -> CDouble -> Double -> IO ()---- | usage: (@graphicsPathAddCircle self xy r@).-graphicsPathAddCircle :: GraphicsPath  a -> (Point2 Double) -> Double ->  IO ()-graphicsPathAddCircle self xy r -  = withObjectRef "graphicsPathAddCircle" self $ \cobj_self -> -    wxGraphicsPath_AddCircle cobj_self  (toCDoublePointX xy) (toCDoublePointY xy)  r  -foreign import ccall "wxGraphicsPath_AddCircle" wxGraphicsPath_AddCircle :: Ptr (TGraphicsPath a) -> CDouble -> CDouble -> Double -> IO ()---- | usage: (@graphicsPathAddCurveToPoint self cx1cy1 cx2cy2 xy@).-graphicsPathAddCurveToPoint :: GraphicsPath  a -> (Point2 Double) -> (Point2 Double) -> (Point2 Double) ->  IO ()-graphicsPathAddCurveToPoint self cx1cy1 cx2cy2 xy -  = withObjectRef "graphicsPathAddCurveToPoint" self $ \cobj_self -> -    wxGraphicsPath_AddCurveToPoint cobj_self  (toCDoublePointX cx1cy1) (toCDoublePointY cx1cy1)  (toCDoublePointX cx2cy2) (toCDoublePointY cx2cy2)  (toCDoublePointX xy) (toCDoublePointY xy)  -foreign import ccall "wxGraphicsPath_AddCurveToPoint" wxGraphicsPath_AddCurveToPoint :: Ptr (TGraphicsPath a) -> CDouble -> CDouble -> CDouble -> CDouble -> CDouble -> CDouble -> IO ()---- | usage: (@graphicsPathAddEllipse self xywh@).-graphicsPathAddEllipse :: GraphicsPath  a -> (Rect2D Double) ->  IO ()-graphicsPathAddEllipse self xywh -  = withObjectRef "graphicsPathAddEllipse" self $ \cobj_self -> -    wxGraphicsPath_AddEllipse cobj_self  (toCDoubleRectX xywh) (toCDoubleRectY xywh)(toCDoubleRectW xywh) (toCDoubleRectH xywh)  -foreign import ccall "wxGraphicsPath_AddEllipse" wxGraphicsPath_AddEllipse :: Ptr (TGraphicsPath a) -> CDouble -> CDouble -> CDouble -> CDouble -> IO ()---- | usage: (@graphicsPathAddLineToPoint self xy@).-graphicsPathAddLineToPoint :: GraphicsPath  a -> (Point2 Double) ->  IO ()-graphicsPathAddLineToPoint self xy -  = withObjectRef "graphicsPathAddLineToPoint" self $ \cobj_self -> -    wxGraphicsPath_AddLineToPoint cobj_self  (toCDoublePointX xy) (toCDoublePointY xy)  -foreign import ccall "wxGraphicsPath_AddLineToPoint" wxGraphicsPath_AddLineToPoint :: Ptr (TGraphicsPath a) -> CDouble -> CDouble -> IO ()---- | usage: (@graphicsPathAddPath self xy path@).-graphicsPathAddPath :: GraphicsPath  a -> (Point2 Double) -> GraphicsPath  c ->  IO ()-graphicsPathAddPath self xy path -  = withObjectRef "graphicsPathAddPath" self $ \cobj_self -> -    withObjectPtr path $ \cobj_path -> -    wxGraphicsPath_AddPath cobj_self  (toCDoublePointX xy) (toCDoublePointY xy)  cobj_path  -foreign import ccall "wxGraphicsPath_AddPath" wxGraphicsPath_AddPath :: Ptr (TGraphicsPath a) -> CDouble -> CDouble -> Ptr (TGraphicsPath c) -> IO ()---- | usage: (@graphicsPathAddQuadCurveToPoint self cxcy xy@).-graphicsPathAddQuadCurveToPoint :: GraphicsPath  a -> (Point2 Double) -> (Point2 Double) ->  IO ()-graphicsPathAddQuadCurveToPoint self cxcy xy -  = withObjectRef "graphicsPathAddQuadCurveToPoint" self $ \cobj_self -> -    wxGraphicsPath_AddQuadCurveToPoint cobj_self  (toCDoublePointX cxcy) (toCDoublePointY cxcy)  (toCDoublePointX xy) (toCDoublePointY xy)  -foreign import ccall "wxGraphicsPath_AddQuadCurveToPoint" wxGraphicsPath_AddQuadCurveToPoint :: Ptr (TGraphicsPath a) -> CDouble -> CDouble -> CDouble -> CDouble -> IO ()---- | usage: (@graphicsPathAddRectangle self xywh@).-graphicsPathAddRectangle :: GraphicsPath  a -> (Rect2D Double) ->  IO ()-graphicsPathAddRectangle self xywh -  = withObjectRef "graphicsPathAddRectangle" self $ \cobj_self -> -    wxGraphicsPath_AddRectangle cobj_self  (toCDoubleRectX xywh) (toCDoubleRectY xywh)(toCDoubleRectW xywh) (toCDoubleRectH xywh)  -foreign import ccall "wxGraphicsPath_AddRectangle" wxGraphicsPath_AddRectangle :: Ptr (TGraphicsPath a) -> CDouble -> CDouble -> CDouble -> CDouble -> IO ()---- | usage: (@graphicsPathAddRoundedRectangle self xywh radius@).-graphicsPathAddRoundedRectangle :: GraphicsPath  a -> (Rect2D Double) -> Double ->  IO ()-graphicsPathAddRoundedRectangle self xywh radius -  = withObjectRef "graphicsPathAddRoundedRectangle" self $ \cobj_self -> -    wxGraphicsPath_AddRoundedRectangle cobj_self  (toCDoubleRectX xywh) (toCDoubleRectY xywh)(toCDoubleRectW xywh) (toCDoubleRectH xywh)  radius  -foreign import ccall "wxGraphicsPath_AddRoundedRectangle" wxGraphicsPath_AddRoundedRectangle :: Ptr (TGraphicsPath a) -> CDouble -> CDouble -> CDouble -> CDouble -> Double -> IO ()---- | usage: (@graphicsPathCloseSubpath self@).-graphicsPathCloseSubpath :: GraphicsPath  a ->  IO ()-graphicsPathCloseSubpath self -  = withObjectRef "graphicsPathCloseSubpath" self $ \cobj_self -> -    wxGraphicsPath_CloseSubpath cobj_self  -foreign import ccall "wxGraphicsPath_CloseSubpath" wxGraphicsPath_CloseSubpath :: Ptr (TGraphicsPath a) -> IO ()---- | usage: (@graphicsPathContains self xy style@).-graphicsPathContains :: GraphicsPath  a -> (Point2 Double) -> Int ->  IO ()-graphicsPathContains self xy style -  = withObjectRef "graphicsPathContains" self $ \cobj_self -> -    wxGraphicsPath_Contains cobj_self  (toCDoublePointX xy) (toCDoublePointY xy)  (toCInt style)  -foreign import ccall "wxGraphicsPath_Contains" wxGraphicsPath_Contains :: Ptr (TGraphicsPath a) -> CDouble -> CDouble -> CInt -> IO ()---- | usage: (@graphicsPathCreate@).-graphicsPathCreate ::  IO (GraphicsPath  ())-graphicsPathCreate -  = withObjectResult $-    wxGraphicsPath_Create -foreign import ccall "wxGraphicsPath_Create" wxGraphicsPath_Create :: IO (Ptr (TGraphicsPath ()))---- | usage: (@graphicsPathDelete self@).-graphicsPathDelete :: GraphicsPath  a ->  IO ()-graphicsPathDelete-  = objectDelete----- | usage: (@graphicsPathGetBox self@).-graphicsPathGetBox :: GraphicsPath  a ->  IO (Rect2D Double)-graphicsPathGetBox self -  = withRectDoubleResult $ \px py pw ph -> -    withObjectRef "graphicsPathGetBox" self $ \cobj_self -> -    wxGraphicsPath_GetBox cobj_self  px py pw ph-foreign import ccall "wxGraphicsPath_GetBox" wxGraphicsPath_GetBox :: Ptr (TGraphicsPath a) -> Ptr CDouble -> Ptr CDouble -> Ptr CDouble -> Ptr CDouble -> IO ()---- | usage: (@graphicsPathGetCurrentPoint self@).-graphicsPathGetCurrentPoint :: GraphicsPath  a ->  IO (Point2 Double)-graphicsPathGetCurrentPoint self -  = withPointDoubleResult $ \px py -> -    withObjectRef "graphicsPathGetCurrentPoint" self $ \cobj_self -> -    wxGraphicsPath_GetCurrentPoint cobj_self   px py-foreign import ccall "wxGraphicsPath_GetCurrentPoint" wxGraphicsPath_GetCurrentPoint :: Ptr (TGraphicsPath a) -> Ptr CDouble -> Ptr CDouble -> IO ()---- | usage: (@graphicsPathGetNativePath self@).-graphicsPathGetNativePath :: GraphicsPath  a ->  IO (Ptr  ())-graphicsPathGetNativePath self -  = withObjectRef "graphicsPathGetNativePath" self $ \cobj_self -> -    wxGraphicsPath_GetNativePath cobj_self  -foreign import ccall "wxGraphicsPath_GetNativePath" wxGraphicsPath_GetNativePath :: Ptr (TGraphicsPath a) -> IO (Ptr  ())---- | usage: (@graphicsPathMoveToPoint self xy@).-graphicsPathMoveToPoint :: GraphicsPath  a -> (Point2 Double) ->  IO ()-graphicsPathMoveToPoint self xy -  = withObjectRef "graphicsPathMoveToPoint" self $ \cobj_self -> -    wxGraphicsPath_MoveToPoint cobj_self  (toCDoublePointX xy) (toCDoublePointY xy)  -foreign import ccall "wxGraphicsPath_MoveToPoint" wxGraphicsPath_MoveToPoint :: Ptr (TGraphicsPath a) -> CDouble -> CDouble -> IO ()---- | usage: (@graphicsPathTransform self matrix@).-graphicsPathTransform :: GraphicsPath  a -> GraphicsMatrix  b ->  IO ()-graphicsPathTransform self matrix -  = withObjectRef "graphicsPathTransform" self $ \cobj_self -> -    withObjectPtr matrix $ \cobj_matrix -> -    wxGraphicsPath_Transform cobj_self  cobj_matrix  -foreign import ccall "wxGraphicsPath_Transform" wxGraphicsPath_Transform :: Ptr (TGraphicsPath a) -> Ptr (TGraphicsMatrix b) -> IO ()---- | usage: (@graphicsPathUnGetNativePath p@).-graphicsPathUnGetNativePath :: GraphicsPath  a ->  IO ()-graphicsPathUnGetNativePath p -  = withObjectRef "graphicsPathUnGetNativePath" p $ \cobj_p -> -    wxGraphicsPath_UnGetNativePath cobj_p  -foreign import ccall "wxGraphicsPath_UnGetNativePath" wxGraphicsPath_UnGetNativePath :: Ptr (TGraphicsPath a) -> IO ()---- | usage: (@graphicsPenCreate@).-graphicsPenCreate ::  IO (GraphicsPen  ())-graphicsPenCreate -  = withObjectResult $-    wxGraphicsPen_Create -foreign import ccall "wxGraphicsPen_Create" wxGraphicsPen_Create :: IO (Ptr (TGraphicsPen ()))---- | usage: (@graphicsPenDelete self@).-graphicsPenDelete :: GraphicsPen  a ->  IO ()-graphicsPenDelete-  = objectDelete----- | usage: (@graphicsRendererCreateContext dc@).-graphicsRendererCreateContext :: WindowDC  a ->  IO (GraphicsContext  ())-graphicsRendererCreateContext dc -  = withObjectResult $-    withObjectPtr dc $ \cobj_dc -> -    wxGraphicsRenderer_CreateContext cobj_dc  -foreign import ccall "wxGraphicsRenderer_CreateContext" wxGraphicsRenderer_CreateContext :: Ptr (TWindowDC a) -> IO (Ptr (TGraphicsContext ()))---- | usage: (@graphicsRendererCreateContextFromNativeContext context@).-graphicsRendererCreateContextFromNativeContext :: GraphicsRenderer  a ->  IO (GraphicsContext  ())-graphicsRendererCreateContextFromNativeContext context -  = withObjectResult $-    withObjectRef "graphicsRendererCreateContextFromNativeContext" context $ \cobj_context -> -    wxGraphicsRenderer_CreateContextFromNativeContext cobj_context  -foreign import ccall "wxGraphicsRenderer_CreateContextFromNativeContext" wxGraphicsRenderer_CreateContextFromNativeContext :: Ptr (TGraphicsRenderer a) -> IO (Ptr (TGraphicsContext ()))---- | usage: (@graphicsRendererCreateContextFromNativeWindow window@).-graphicsRendererCreateContextFromNativeWindow :: Window  a ->  IO (GraphicsContext  ())-graphicsRendererCreateContextFromNativeWindow window -  = withObjectResult $-    withObjectPtr window $ \cobj_window -> -    wxGraphicsRenderer_CreateContextFromNativeWindow cobj_window  -foreign import ccall "wxGraphicsRenderer_CreateContextFromNativeWindow" wxGraphicsRenderer_CreateContextFromNativeWindow :: Ptr (TWindow a) -> IO (Ptr (TGraphicsContext ()))---- | usage: (@graphicsRendererCreateContextFromWindow window@).-graphicsRendererCreateContextFromWindow :: Window  a ->  IO (GraphicsContext  ())-graphicsRendererCreateContextFromWindow window -  = withObjectResult $-    withObjectPtr window $ \cobj_window -> -    wxGraphicsRenderer_CreateContextFromWindow cobj_window  -foreign import ccall "wxGraphicsRenderer_CreateContextFromWindow" wxGraphicsRenderer_CreateContextFromWindow :: Ptr (TWindow a) -> IO (Ptr (TGraphicsContext ()))---- | usage: (@graphicsRendererDelete self@).-graphicsRendererDelete :: GraphicsRenderer  a ->  IO ()-graphicsRendererDelete-  = objectDelete----- | usage: (@graphicsRendererGetDefaultRenderer self@).-graphicsRendererGetDefaultRenderer :: GraphicsRenderer  a ->  IO (GraphicsRenderer  ())-graphicsRendererGetDefaultRenderer self -  = withObjectResult $-    withObjectRef "graphicsRendererGetDefaultRenderer" self $ \cobj_self -> -    wxGraphicsRenderer_GetDefaultRenderer cobj_self  -foreign import ccall "wxGraphicsRenderer_GetDefaultRenderer" wxGraphicsRenderer_GetDefaultRenderer :: Ptr (TGraphicsRenderer a) -> IO (Ptr (TGraphicsRenderer ()))---- | usage: (@gridAppendCols obj numCols updateLabels@).-gridAppendCols :: Grid  a -> Int -> Bool ->  IO Bool-gridAppendCols _obj numCols updateLabels -  = withBoolResult $-    withObjectRef "gridAppendCols" _obj $ \cobj__obj -> -    wxGrid_AppendCols cobj__obj  (toCInt numCols)  (toCBool updateLabels)  -foreign import ccall "wxGrid_AppendCols" wxGrid_AppendCols :: Ptr (TGrid a) -> CInt -> CBool -> IO CBool---- | usage: (@gridAppendRows obj numRows updateLabels@).-gridAppendRows :: Grid  a -> Int -> Bool ->  IO Bool-gridAppendRows _obj numRows updateLabels -  = withBoolResult $-    withObjectRef "gridAppendRows" _obj $ \cobj__obj -> -    wxGrid_AppendRows cobj__obj  (toCInt numRows)  (toCBool updateLabels)  -foreign import ccall "wxGrid_AppendRows" wxGrid_AppendRows :: Ptr (TGrid a) -> CInt -> CBool -> IO CBool---- | usage: (@gridAutoSize obj@).-gridAutoSize :: Grid  a ->  IO ()-gridAutoSize _obj -  = withObjectRef "gridAutoSize" _obj $ \cobj__obj -> -    wxGrid_AutoSize cobj__obj  -foreign import ccall "wxGrid_AutoSize" wxGrid_AutoSize :: Ptr (TGrid a) -> IO ()---- | usage: (@gridAutoSizeColumn obj col setAsMin@).-gridAutoSizeColumn :: Grid  a -> Int -> Bool ->  IO ()-gridAutoSizeColumn _obj col setAsMin -  = withObjectRef "gridAutoSizeColumn" _obj $ \cobj__obj -> -    wxGrid_AutoSizeColumn cobj__obj  (toCInt col)  (toCBool setAsMin)  -foreign import ccall "wxGrid_AutoSizeColumn" wxGrid_AutoSizeColumn :: Ptr (TGrid a) -> CInt -> CBool -> IO ()---- | usage: (@gridAutoSizeColumns obj setAsMin@).-gridAutoSizeColumns :: Grid  a -> Bool ->  IO ()-gridAutoSizeColumns _obj setAsMin -  = withObjectRef "gridAutoSizeColumns" _obj $ \cobj__obj -> -    wxGrid_AutoSizeColumns cobj__obj  (toCBool setAsMin)  -foreign import ccall "wxGrid_AutoSizeColumns" wxGrid_AutoSizeColumns :: Ptr (TGrid a) -> CBool -> IO ()---- | usage: (@gridAutoSizeRow obj row setAsMin@).-gridAutoSizeRow :: Grid  a -> Int -> Bool ->  IO ()-gridAutoSizeRow _obj row setAsMin -  = withObjectRef "gridAutoSizeRow" _obj $ \cobj__obj -> -    wxGrid_AutoSizeRow cobj__obj  (toCInt row)  (toCBool setAsMin)  -foreign import ccall "wxGrid_AutoSizeRow" wxGrid_AutoSizeRow :: Ptr (TGrid a) -> CInt -> CBool -> IO ()---- | usage: (@gridAutoSizeRows obj setAsMin@).-gridAutoSizeRows :: Grid  a -> Bool ->  IO ()-gridAutoSizeRows _obj setAsMin -  = withObjectRef "gridAutoSizeRows" _obj $ \cobj__obj -> -    wxGrid_AutoSizeRows cobj__obj  (toCBool setAsMin)  -foreign import ccall "wxGrid_AutoSizeRows" wxGrid_AutoSizeRows :: Ptr (TGrid a) -> CBool -> IO ()---- | usage: (@gridBeginBatch obj@).-gridBeginBatch :: Grid  a ->  IO ()-gridBeginBatch _obj -  = withObjectRef "gridBeginBatch" _obj $ \cobj__obj -> -    wxGrid_BeginBatch cobj__obj  -foreign import ccall "wxGrid_BeginBatch" wxGrid_BeginBatch :: Ptr (TGrid a) -> IO ()---- | usage: (@gridBlockToDeviceRect obj top left bottom right@).-gridBlockToDeviceRect :: Grid  a -> Int -> Int -> Int -> Int ->  IO (Rect)-gridBlockToDeviceRect _obj top left bottom right -  = withWxRectResult $-    withObjectRef "gridBlockToDeviceRect" _obj $ \cobj__obj -> -    wxGrid_BlockToDeviceRect cobj__obj  (toCInt top)  (toCInt left)  (toCInt bottom)  (toCInt right)  -foreign import ccall "wxGrid_BlockToDeviceRect" wxGrid_BlockToDeviceRect :: Ptr (TGrid a) -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TWxRect ()))---- | usage: (@gridCalcCellsExposed obj reg@).-gridCalcCellsExposed :: Grid  a -> Region  b ->  IO ()-gridCalcCellsExposed _obj reg -  = withObjectRef "gridCalcCellsExposed" _obj $ \cobj__obj -> -    withObjectPtr reg $ \cobj_reg -> -    wxGrid_CalcCellsExposed cobj__obj  cobj_reg  -foreign import ccall "wxGrid_CalcCellsExposed" wxGrid_CalcCellsExposed :: Ptr (TGrid a) -> Ptr (TRegion b) -> IO ()---- | usage: (@gridCalcColLabelsExposed obj reg@).-gridCalcColLabelsExposed :: Grid  a -> Region  b ->  IO ()-gridCalcColLabelsExposed _obj reg -  = withObjectRef "gridCalcColLabelsExposed" _obj $ \cobj__obj -> -    withObjectPtr reg $ \cobj_reg -> -    wxGrid_CalcColLabelsExposed cobj__obj  cobj_reg  -foreign import ccall "wxGrid_CalcColLabelsExposed" wxGrid_CalcColLabelsExposed :: Ptr (TGrid a) -> Ptr (TRegion b) -> IO ()---- | usage: (@gridCalcRowLabelsExposed obj reg@).-gridCalcRowLabelsExposed :: Grid  a -> Region  b ->  IO ()-gridCalcRowLabelsExposed _obj reg -  = withObjectRef "gridCalcRowLabelsExposed" _obj $ \cobj__obj -> -    withObjectPtr reg $ \cobj_reg -> -    wxGrid_CalcRowLabelsExposed cobj__obj  cobj_reg  -foreign import ccall "wxGrid_CalcRowLabelsExposed" wxGrid_CalcRowLabelsExposed :: Ptr (TGrid a) -> Ptr (TRegion b) -> IO ()---- | usage: (@gridCanDragColSize obj@).-gridCanDragColSize :: Grid  a ->  IO Bool-gridCanDragColSize _obj -  = withBoolResult $-    withObjectRef "gridCanDragColSize" _obj $ \cobj__obj -> -    wxGrid_CanDragColSize cobj__obj  -foreign import ccall "wxGrid_CanDragColSize" wxGrid_CanDragColSize :: Ptr (TGrid a) -> IO CBool---- | usage: (@gridCanDragGridSize obj@).-gridCanDragGridSize :: Grid  a ->  IO Bool-gridCanDragGridSize _obj -  = withBoolResult $-    withObjectRef "gridCanDragGridSize" _obj $ \cobj__obj -> -    wxGrid_CanDragGridSize cobj__obj  -foreign import ccall "wxGrid_CanDragGridSize" wxGrid_CanDragGridSize :: Ptr (TGrid a) -> IO CBool---- | usage: (@gridCanDragRowSize obj@).-gridCanDragRowSize :: Grid  a ->  IO Bool-gridCanDragRowSize _obj -  = withBoolResult $-    withObjectRef "gridCanDragRowSize" _obj $ \cobj__obj -> -    wxGrid_CanDragRowSize cobj__obj  -foreign import ccall "wxGrid_CanDragRowSize" wxGrid_CanDragRowSize :: Ptr (TGrid a) -> IO CBool---- | usage: (@gridCanEnableCellControl obj@).-gridCanEnableCellControl :: Grid  a ->  IO Bool-gridCanEnableCellControl _obj -  = withBoolResult $-    withObjectRef "gridCanEnableCellControl" _obj $ \cobj__obj -> -    wxGrid_CanEnableCellControl cobj__obj  -foreign import ccall "wxGrid_CanEnableCellControl" wxGrid_CanEnableCellControl :: Ptr (TGrid a) -> IO CBool---- | usage: (@gridCellAttrCtor@).-gridCellAttrCtor ::  IO (GridCellAttr  ())-gridCellAttrCtor -  = withObjectResult $-    wxGridCellAttr_Ctor -foreign import ccall "wxGridCellAttr_Ctor" wxGridCellAttr_Ctor :: IO (Ptr (TGridCellAttr ()))---- | usage: (@gridCellAttrDecRef obj@).-gridCellAttrDecRef :: GridCellAttr  a ->  IO ()-gridCellAttrDecRef _obj -  = withObjectRef "gridCellAttrDecRef" _obj $ \cobj__obj -> -    wxGridCellAttr_DecRef cobj__obj  -foreign import ccall "wxGridCellAttr_DecRef" wxGridCellAttr_DecRef :: Ptr (TGridCellAttr a) -> IO ()---- | usage: (@gridCellAttrGetAlignment obj@).-gridCellAttrGetAlignment :: GridCellAttr  a ->  IO Size-gridCellAttrGetAlignment _obj -  = withSizeResult $ \pw ph -> -    withObjectRef "gridCellAttrGetAlignment" _obj $ \cobj__obj -> -    wxGridCellAttr_GetAlignment cobj__obj   pw ph-foreign import ccall "wxGridCellAttr_GetAlignment" wxGridCellAttr_GetAlignment :: Ptr (TGridCellAttr a) -> Ptr CInt -> Ptr CInt -> IO ()---- | usage: (@gridCellAttrGetBackgroundColour obj@).-gridCellAttrGetBackgroundColour :: GridCellAttr  a ->  IO (Color)-gridCellAttrGetBackgroundColour _obj -  = withRefColour $ \pref -> -    withObjectRef "gridCellAttrGetBackgroundColour" _obj $ \cobj__obj -> -    wxGridCellAttr_GetBackgroundColour cobj__obj   pref-foreign import ccall "wxGridCellAttr_GetBackgroundColour" wxGridCellAttr_GetBackgroundColour :: Ptr (TGridCellAttr a) -> Ptr (TColour ()) -> IO ()---- | usage: (@gridCellAttrGetEditor obj grid row col@).-gridCellAttrGetEditor :: GridCellAttr  a -> Grid  b -> Int -> Int ->  IO (GridCellEditor  ())-gridCellAttrGetEditor _obj grid row col -  = withObjectResult $-    withObjectRef "gridCellAttrGetEditor" _obj $ \cobj__obj -> -    withObjectPtr grid $ \cobj_grid -> -    wxGridCellAttr_GetEditor cobj__obj  cobj_grid  (toCInt row)  (toCInt col)  -foreign import ccall "wxGridCellAttr_GetEditor" wxGridCellAttr_GetEditor :: Ptr (TGridCellAttr a) -> Ptr (TGrid b) -> CInt -> CInt -> IO (Ptr (TGridCellEditor ()))---- | usage: (@gridCellAttrGetFont obj@).-gridCellAttrGetFont :: GridCellAttr  a ->  IO (Font  ())-gridCellAttrGetFont _obj -  = withRefFont $ \pref -> -    withObjectRef "gridCellAttrGetFont" _obj $ \cobj__obj -> -    wxGridCellAttr_GetFont cobj__obj   pref-foreign import ccall "wxGridCellAttr_GetFont" wxGridCellAttr_GetFont :: Ptr (TGridCellAttr a) -> Ptr (TFont ()) -> IO ()---- | usage: (@gridCellAttrGetRenderer obj grid row col@).-gridCellAttrGetRenderer :: GridCellAttr  a -> Grid  b -> Int -> Int ->  IO (GridCellRenderer  ())-gridCellAttrGetRenderer _obj grid row col -  = withObjectResult $-    withObjectRef "gridCellAttrGetRenderer" _obj $ \cobj__obj -> -    withObjectPtr grid $ \cobj_grid -> -    wxGridCellAttr_GetRenderer cobj__obj  cobj_grid  (toCInt row)  (toCInt col)  -foreign import ccall "wxGridCellAttr_GetRenderer" wxGridCellAttr_GetRenderer :: Ptr (TGridCellAttr a) -> Ptr (TGrid b) -> CInt -> CInt -> IO (Ptr (TGridCellRenderer ()))---- | usage: (@gridCellAttrGetTextColour obj@).-gridCellAttrGetTextColour :: GridCellAttr  a ->  IO (Color)-gridCellAttrGetTextColour _obj -  = withRefColour $ \pref -> -    withObjectRef "gridCellAttrGetTextColour" _obj $ \cobj__obj -> -    wxGridCellAttr_GetTextColour cobj__obj   pref-foreign import ccall "wxGridCellAttr_GetTextColour" wxGridCellAttr_GetTextColour :: Ptr (TGridCellAttr a) -> Ptr (TColour ()) -> IO ()---- | usage: (@gridCellAttrHasAlignment obj@).-gridCellAttrHasAlignment :: GridCellAttr  a ->  IO Bool-gridCellAttrHasAlignment _obj -  = withBoolResult $-    withObjectRef "gridCellAttrHasAlignment" _obj $ \cobj__obj -> -    wxGridCellAttr_HasAlignment cobj__obj  -foreign import ccall "wxGridCellAttr_HasAlignment" wxGridCellAttr_HasAlignment :: Ptr (TGridCellAttr a) -> IO CBool---- | usage: (@gridCellAttrHasBackgroundColour obj@).-gridCellAttrHasBackgroundColour :: GridCellAttr  a ->  IO Bool-gridCellAttrHasBackgroundColour _obj -  = withBoolResult $-    withObjectRef "gridCellAttrHasBackgroundColour" _obj $ \cobj__obj -> -    wxGridCellAttr_HasBackgroundColour cobj__obj  -foreign import ccall "wxGridCellAttr_HasBackgroundColour" wxGridCellAttr_HasBackgroundColour :: Ptr (TGridCellAttr a) -> IO CBool---- | usage: (@gridCellAttrHasEditor obj@).-gridCellAttrHasEditor :: GridCellAttr  a ->  IO Bool-gridCellAttrHasEditor _obj -  = withBoolResult $-    withObjectRef "gridCellAttrHasEditor" _obj $ \cobj__obj -> -    wxGridCellAttr_HasEditor cobj__obj  -foreign import ccall "wxGridCellAttr_HasEditor" wxGridCellAttr_HasEditor :: Ptr (TGridCellAttr a) -> IO CBool---- | usage: (@gridCellAttrHasFont obj@).-gridCellAttrHasFont :: GridCellAttr  a ->  IO Bool-gridCellAttrHasFont _obj -  = withBoolResult $-    withObjectRef "gridCellAttrHasFont" _obj $ \cobj__obj -> -    wxGridCellAttr_HasFont cobj__obj  -foreign import ccall "wxGridCellAttr_HasFont" wxGridCellAttr_HasFont :: Ptr (TGridCellAttr a) -> IO CBool---- | usage: (@gridCellAttrHasRenderer obj@).-gridCellAttrHasRenderer :: GridCellAttr  a ->  IO Bool-gridCellAttrHasRenderer _obj -  = withBoolResult $-    withObjectRef "gridCellAttrHasRenderer" _obj $ \cobj__obj -> -    wxGridCellAttr_HasRenderer cobj__obj  -foreign import ccall "wxGridCellAttr_HasRenderer" wxGridCellAttr_HasRenderer :: Ptr (TGridCellAttr a) -> IO CBool---- | usage: (@gridCellAttrHasTextColour obj@).-gridCellAttrHasTextColour :: GridCellAttr  a ->  IO Bool-gridCellAttrHasTextColour _obj -  = withBoolResult $-    withObjectRef "gridCellAttrHasTextColour" _obj $ \cobj__obj -> -    wxGridCellAttr_HasTextColour cobj__obj  -foreign import ccall "wxGridCellAttr_HasTextColour" wxGridCellAttr_HasTextColour :: Ptr (TGridCellAttr a) -> IO CBool---- | usage: (@gridCellAttrIncRef obj@).-gridCellAttrIncRef :: GridCellAttr  a ->  IO ()-gridCellAttrIncRef _obj -  = withObjectRef "gridCellAttrIncRef" _obj $ \cobj__obj -> -    wxGridCellAttr_IncRef cobj__obj  -foreign import ccall "wxGridCellAttr_IncRef" wxGridCellAttr_IncRef :: Ptr (TGridCellAttr a) -> IO ()---- | usage: (@gridCellAttrIsReadOnly obj@).-gridCellAttrIsReadOnly :: GridCellAttr  a ->  IO Bool-gridCellAttrIsReadOnly _obj -  = withBoolResult $-    withObjectRef "gridCellAttrIsReadOnly" _obj $ \cobj__obj -> -    wxGridCellAttr_IsReadOnly cobj__obj  -foreign import ccall "wxGridCellAttr_IsReadOnly" wxGridCellAttr_IsReadOnly :: Ptr (TGridCellAttr a) -> IO CBool---- | usage: (@gridCellAttrSetAlignment obj hAlign vAlign@).-gridCellAttrSetAlignment :: GridCellAttr  a -> Int -> Int ->  IO ()-gridCellAttrSetAlignment _obj hAlign vAlign -  = withObjectRef "gridCellAttrSetAlignment" _obj $ \cobj__obj -> -    wxGridCellAttr_SetAlignment cobj__obj  (toCInt hAlign)  (toCInt vAlign)  -foreign import ccall "wxGridCellAttr_SetAlignment" wxGridCellAttr_SetAlignment :: Ptr (TGridCellAttr a) -> CInt -> CInt -> IO ()---- | usage: (@gridCellAttrSetBackgroundColour obj colBack@).-gridCellAttrSetBackgroundColour :: GridCellAttr  a -> Color ->  IO ()-gridCellAttrSetBackgroundColour _obj colBack -  = withObjectRef "gridCellAttrSetBackgroundColour" _obj $ \cobj__obj -> -    withColourPtr colBack $ \cobj_colBack -> -    wxGridCellAttr_SetBackgroundColour cobj__obj  cobj_colBack  -foreign import ccall "wxGridCellAttr_SetBackgroundColour" wxGridCellAttr_SetBackgroundColour :: Ptr (TGridCellAttr a) -> Ptr (TColour b) -> IO ()---- | usage: (@gridCellAttrSetDefAttr obj defAttr@).-gridCellAttrSetDefAttr :: GridCellAttr  a -> GridCellAttr  b ->  IO ()-gridCellAttrSetDefAttr _obj defAttr -  = withObjectRef "gridCellAttrSetDefAttr" _obj $ \cobj__obj -> -    withObjectPtr defAttr $ \cobj_defAttr -> -    wxGridCellAttr_SetDefAttr cobj__obj  cobj_defAttr  -foreign import ccall "wxGridCellAttr_SetDefAttr" wxGridCellAttr_SetDefAttr :: Ptr (TGridCellAttr a) -> Ptr (TGridCellAttr b) -> IO ()---- | usage: (@gridCellAttrSetEditor obj editor@).-gridCellAttrSetEditor :: GridCellAttr  a -> GridCellEditor  b ->  IO ()-gridCellAttrSetEditor _obj editor -  = withObjectRef "gridCellAttrSetEditor" _obj $ \cobj__obj -> -    withObjectPtr editor $ \cobj_editor -> -    wxGridCellAttr_SetEditor cobj__obj  cobj_editor  -foreign import ccall "wxGridCellAttr_SetEditor" wxGridCellAttr_SetEditor :: Ptr (TGridCellAttr a) -> Ptr (TGridCellEditor b) -> IO ()---- | usage: (@gridCellAttrSetFont obj font@).-gridCellAttrSetFont :: GridCellAttr  a -> Font  b ->  IO ()-gridCellAttrSetFont _obj font -  = withObjectRef "gridCellAttrSetFont" _obj $ \cobj__obj -> -    withObjectPtr font $ \cobj_font -> -    wxGridCellAttr_SetFont cobj__obj  cobj_font  -foreign import ccall "wxGridCellAttr_SetFont" wxGridCellAttr_SetFont :: Ptr (TGridCellAttr a) -> Ptr (TFont b) -> IO ()---- | usage: (@gridCellAttrSetReadOnly obj isReadOnly@).-gridCellAttrSetReadOnly :: GridCellAttr  a -> Bool ->  IO ()-gridCellAttrSetReadOnly _obj isReadOnly -  = withObjectRef "gridCellAttrSetReadOnly" _obj $ \cobj__obj -> -    wxGridCellAttr_SetReadOnly cobj__obj  (toCBool isReadOnly)  -foreign import ccall "wxGridCellAttr_SetReadOnly" wxGridCellAttr_SetReadOnly :: Ptr (TGridCellAttr a) -> CBool -> IO ()---- | usage: (@gridCellAttrSetRenderer obj renderer@).-gridCellAttrSetRenderer :: GridCellAttr  a -> GridCellRenderer  b ->  IO ()-gridCellAttrSetRenderer _obj renderer -  = withObjectRef "gridCellAttrSetRenderer" _obj $ \cobj__obj -> -    withObjectPtr renderer $ \cobj_renderer -> -    wxGridCellAttr_SetRenderer cobj__obj  cobj_renderer  -foreign import ccall "wxGridCellAttr_SetRenderer" wxGridCellAttr_SetRenderer :: Ptr (TGridCellAttr a) -> Ptr (TGridCellRenderer b) -> IO ()---- | usage: (@gridCellAttrSetTextColour obj colText@).-gridCellAttrSetTextColour :: GridCellAttr  a -> Color ->  IO ()-gridCellAttrSetTextColour _obj colText -  = withObjectRef "gridCellAttrSetTextColour" _obj $ \cobj__obj -> -    withColourPtr colText $ \cobj_colText -> -    wxGridCellAttr_SetTextColour cobj__obj  cobj_colText  -foreign import ccall "wxGridCellAttr_SetTextColour" wxGridCellAttr_SetTextColour :: Ptr (TGridCellAttr a) -> Ptr (TColour b) -> IO ()---- | usage: (@gridCellBoolEditorCtor@).-gridCellBoolEditorCtor ::  IO (GridCellBoolEditor  ())-gridCellBoolEditorCtor -  = withObjectResult $-    wxGridCellBoolEditor_Ctor -foreign import ccall "wxGridCellBoolEditor_Ctor" wxGridCellBoolEditor_Ctor :: IO (Ptr (TGridCellBoolEditor ()))---- | usage: (@gridCellChoiceEditorCtor countchoices allowOthers@).-gridCellChoiceEditorCtor :: [String] -> Bool ->  IO (GridCellChoiceEditor  ())-gridCellChoiceEditorCtor countchoices allowOthers -  = withObjectResult $-    withArrayWString countchoices $ \carrlen_countchoices carr_countchoices -> -    wxGridCellChoiceEditor_Ctor carrlen_countchoices carr_countchoices  (toCBool allowOthers)  -foreign import ccall "wxGridCellChoiceEditor_Ctor" wxGridCellChoiceEditor_Ctor :: CInt -> Ptr (Ptr CWchar) -> CBool -> IO (Ptr (TGridCellChoiceEditor ()))---- | usage: (@gridCellCoordsArrayCreate@).-gridCellCoordsArrayCreate ::  IO (GridCellCoordsArray  ())-gridCellCoordsArrayCreate -  = withManagedGridCellCoordsArrayResult $-    wxGridCellCoordsArray_Create -foreign import ccall "wxGridCellCoordsArray_Create" wxGridCellCoordsArray_Create :: IO (Ptr (TGridCellCoordsArray ()))---- | usage: (@gridCellCoordsArrayDelete obj@).-gridCellCoordsArrayDelete :: GridCellCoordsArray  a ->  IO ()-gridCellCoordsArrayDelete-  = gridCellCoordsArrayDelete----- | usage: (@gridCellCoordsArrayGetCount obj@).-gridCellCoordsArrayGetCount :: GridCellCoordsArray  a ->  IO Int-gridCellCoordsArrayGetCount _obj -  = withIntResult $-    withObjectRef "gridCellCoordsArrayGetCount" _obj $ \cobj__obj -> -    wxGridCellCoordsArray_GetCount cobj__obj  -foreign import ccall "wxGridCellCoordsArray_GetCount" wxGridCellCoordsArray_GetCount :: Ptr (TGridCellCoordsArray a) -> IO CInt---- | usage: (@gridCellCoordsArrayItem obj idx@).-gridCellCoordsArrayItem :: GridCellCoordsArray  a -> Int ->  IO Point-gridCellCoordsArrayItem _obj _idx -  = withPointResult $ \px py -> -    withObjectRef "gridCellCoordsArrayItem" _obj $ \cobj__obj -> -    wxGridCellCoordsArray_Item cobj__obj  (toCInt _idx)   px py-foreign import ccall "wxGridCellCoordsArray_Item" wxGridCellCoordsArray_Item :: Ptr (TGridCellCoordsArray a) -> CInt -> Ptr CInt -> Ptr CInt -> IO ()---- | usage: (@gridCellEditorBeginEdit obj row col grid@).-gridCellEditorBeginEdit :: GridCellEditor  a -> Int -> Int -> Grid  d ->  IO ()-gridCellEditorBeginEdit _obj row col grid -  = withObjectRef "gridCellEditorBeginEdit" _obj $ \cobj__obj -> -    withObjectPtr grid $ \cobj_grid -> -    wxGridCellEditor_BeginEdit cobj__obj  (toCInt row)  (toCInt col)  cobj_grid  -foreign import ccall "wxGridCellEditor_BeginEdit" wxGridCellEditor_BeginEdit :: Ptr (TGridCellEditor a) -> CInt -> CInt -> Ptr (TGrid d) -> IO ()---- | usage: (@gridCellEditorCreate obj parent id evtHandler@).-gridCellEditorCreate :: GridCellEditor  a -> Window  b -> Id -> EvtHandler  d ->  IO ()-gridCellEditorCreate _obj parent id evtHandler -  = withObjectPtr _obj $ \cobj__obj -> -    withObjectPtr parent $ \cobj_parent -> -    withObjectPtr evtHandler $ \cobj_evtHandler -> -    wxGridCellEditor_Create cobj__obj  cobj_parent  (toCInt id)  cobj_evtHandler  -foreign import ccall "wxGridCellEditor_Create" wxGridCellEditor_Create :: Ptr (TGridCellEditor a) -> Ptr (TWindow b) -> CInt -> Ptr (TEvtHandler d) -> IO ()---- | usage: (@gridCellEditorDestroy obj@).-gridCellEditorDestroy :: GridCellEditor  a ->  IO ()-gridCellEditorDestroy _obj -  = withObjectRef "gridCellEditorDestroy" _obj $ \cobj__obj -> -    wxGridCellEditor_Destroy cobj__obj  -foreign import ccall "wxGridCellEditor_Destroy" wxGridCellEditor_Destroy :: Ptr (TGridCellEditor a) -> IO ()---- | usage: (@gridCellEditorEndEdit obj row col grid@).-gridCellEditorEndEdit :: GridCellEditor  a -> Int -> Int -> Grid  d ->  IO Int-gridCellEditorEndEdit _obj row col grid -  = withIntResult $-    withObjectRef "gridCellEditorEndEdit" _obj $ \cobj__obj -> -    withObjectPtr grid $ \cobj_grid -> -    wxGridCellEditor_EndEdit cobj__obj  (toCInt row)  (toCInt col)  cobj_grid  -foreign import ccall "wxGridCellEditor_EndEdit" wxGridCellEditor_EndEdit :: Ptr (TGridCellEditor a) -> CInt -> CInt -> Ptr (TGrid d) -> IO CInt---- | usage: (@gridCellEditorGetControl obj@).-gridCellEditorGetControl :: GridCellEditor  a ->  IO (Control  ())-gridCellEditorGetControl _obj -  = withObjectResult $-    withObjectRef "gridCellEditorGetControl" _obj $ \cobj__obj -> -    wxGridCellEditor_GetControl cobj__obj  -foreign import ccall "wxGridCellEditor_GetControl" wxGridCellEditor_GetControl :: Ptr (TGridCellEditor a) -> IO (Ptr (TControl ()))---- | usage: (@gridCellEditorHandleReturn obj event@).-gridCellEditorHandleReturn :: GridCellEditor  a -> Event  b ->  IO ()-gridCellEditorHandleReturn _obj event -  = withObjectRef "gridCellEditorHandleReturn" _obj $ \cobj__obj -> -    withObjectPtr event $ \cobj_event -> -    wxGridCellEditor_HandleReturn cobj__obj  cobj_event  -foreign import ccall "wxGridCellEditor_HandleReturn" wxGridCellEditor_HandleReturn :: Ptr (TGridCellEditor a) -> Ptr (TEvent b) -> IO ()---- | usage: (@gridCellEditorIsAcceptedKey obj event@).-gridCellEditorIsAcceptedKey :: GridCellEditor  a -> Event  b ->  IO Bool-gridCellEditorIsAcceptedKey _obj event -  = withBoolResult $-    withObjectRef "gridCellEditorIsAcceptedKey" _obj $ \cobj__obj -> -    withObjectPtr event $ \cobj_event -> -    wxGridCellEditor_IsAcceptedKey cobj__obj  cobj_event  -foreign import ccall "wxGridCellEditor_IsAcceptedKey" wxGridCellEditor_IsAcceptedKey :: Ptr (TGridCellEditor a) -> Ptr (TEvent b) -> IO CBool---- | usage: (@gridCellEditorIsCreated obj@).-gridCellEditorIsCreated :: GridCellEditor  a ->  IO Bool-gridCellEditorIsCreated _obj -  = withBoolResult $-    withObjectRef "gridCellEditorIsCreated" _obj $ \cobj__obj -> -    wxGridCellEditor_IsCreated cobj__obj  -foreign import ccall "wxGridCellEditor_IsCreated" wxGridCellEditor_IsCreated :: Ptr (TGridCellEditor a) -> IO CBool---- | usage: (@gridCellEditorPaintBackground obj xywh attr@).-gridCellEditorPaintBackground :: GridCellEditor  a -> Rect -> GridCellAttr  c ->  IO ()-gridCellEditorPaintBackground _obj xywh attr -  = withObjectRef "gridCellEditorPaintBackground" _obj $ \cobj__obj -> -    withObjectPtr attr $ \cobj_attr -> -    wxGridCellEditor_PaintBackground cobj__obj  (toCIntRectX xywh) (toCIntRectY xywh)(toCIntRectW xywh) (toCIntRectH xywh)  cobj_attr  -foreign import ccall "wxGridCellEditor_PaintBackground" wxGridCellEditor_PaintBackground :: Ptr (TGridCellEditor a) -> CInt -> CInt -> CInt -> CInt -> Ptr (TGridCellAttr c) -> IO ()---- | usage: (@gridCellEditorReset obj@).-gridCellEditorReset :: GridCellEditor  a ->  IO ()-gridCellEditorReset _obj -  = withObjectRef "gridCellEditorReset" _obj $ \cobj__obj -> -    wxGridCellEditor_Reset cobj__obj  -foreign import ccall "wxGridCellEditor_Reset" wxGridCellEditor_Reset :: Ptr (TGridCellEditor a) -> IO ()---- | usage: (@gridCellEditorSetControl obj control@).-gridCellEditorSetControl :: GridCellEditor  a -> Control  b ->  IO ()-gridCellEditorSetControl _obj control -  = withObjectRef "gridCellEditorSetControl" _obj $ \cobj__obj -> -    withObjectPtr control $ \cobj_control -> -    wxGridCellEditor_SetControl cobj__obj  cobj_control  -foreign import ccall "wxGridCellEditor_SetControl" wxGridCellEditor_SetControl :: Ptr (TGridCellEditor a) -> Ptr (TControl b) -> IO ()---- | usage: (@gridCellEditorSetParameters obj params@).-gridCellEditorSetParameters :: GridCellEditor  a -> String ->  IO ()-gridCellEditorSetParameters _obj params -  = withObjectRef "gridCellEditorSetParameters" _obj $ \cobj__obj -> -    withStringPtr params $ \cobj_params -> -    wxGridCellEditor_SetParameters cobj__obj  cobj_params  -foreign import ccall "wxGridCellEditor_SetParameters" wxGridCellEditor_SetParameters :: Ptr (TGridCellEditor a) -> Ptr (TWxString b) -> IO ()---- | usage: (@gridCellEditorSetSize obj xywh@).-gridCellEditorSetSize :: GridCellEditor  a -> Rect ->  IO ()-gridCellEditorSetSize _obj xywh -  = withObjectRef "gridCellEditorSetSize" _obj $ \cobj__obj -> -    wxGridCellEditor_SetSize cobj__obj  (toCIntRectX xywh) (toCIntRectY xywh)(toCIntRectW xywh) (toCIntRectH xywh)  -foreign import ccall "wxGridCellEditor_SetSize" wxGridCellEditor_SetSize :: Ptr (TGridCellEditor a) -> CInt -> CInt -> CInt -> CInt -> IO ()---- | usage: (@gridCellEditorShow obj show attr@).-gridCellEditorShow :: GridCellEditor  a -> Bool -> GridCellAttr  c ->  IO ()-gridCellEditorShow _obj show attr -  = withObjectRef "gridCellEditorShow" _obj $ \cobj__obj -> -    withObjectPtr attr $ \cobj_attr -> -    wxGridCellEditor_Show cobj__obj  (toCBool show)  cobj_attr  -foreign import ccall "wxGridCellEditor_Show" wxGridCellEditor_Show :: Ptr (TGridCellEditor a) -> CBool -> Ptr (TGridCellAttr c) -> IO ()---- | usage: (@gridCellEditorStartingClick obj@).-gridCellEditorStartingClick :: GridCellEditor  a ->  IO ()-gridCellEditorStartingClick _obj -  = withObjectRef "gridCellEditorStartingClick" _obj $ \cobj__obj -> -    wxGridCellEditor_StartingClick cobj__obj  -foreign import ccall "wxGridCellEditor_StartingClick" wxGridCellEditor_StartingClick :: Ptr (TGridCellEditor a) -> IO ()---- | usage: (@gridCellEditorStartingKey obj event@).-gridCellEditorStartingKey :: GridCellEditor  a -> Event  b ->  IO ()-gridCellEditorStartingKey _obj event -  = withObjectRef "gridCellEditorStartingKey" _obj $ \cobj__obj -> -    withObjectPtr event $ \cobj_event -> -    wxGridCellEditor_StartingKey cobj__obj  cobj_event  -foreign import ccall "wxGridCellEditor_StartingKey" wxGridCellEditor_StartingKey :: Ptr (TGridCellEditor a) -> Ptr (TEvent b) -> IO ()---- | usage: (@gridCellFloatEditorCtor width precision@).-gridCellFloatEditorCtor :: Int -> Int ->  IO (GridCellFloatEditor  ())-gridCellFloatEditorCtor width precision -  = withObjectResult $-    wxGridCellFloatEditor_Ctor (toCInt width)  (toCInt precision)  -foreign import ccall "wxGridCellFloatEditor_Ctor" wxGridCellFloatEditor_Ctor :: CInt -> CInt -> IO (Ptr (TGridCellFloatEditor ()))---- | usage: (@gridCellNumberEditorCtor min max@).-gridCellNumberEditorCtor :: Int -> Int ->  IO (GridCellNumberEditor  ())-gridCellNumberEditorCtor min max -  = withObjectResult $-    wxGridCellNumberEditor_Ctor (toCInt min)  (toCInt max)  -foreign import ccall "wxGridCellNumberEditor_Ctor" wxGridCellNumberEditor_Ctor :: CInt -> CInt -> IO (Ptr (TGridCellNumberEditor ()))---- | usage: (@gridCellTextEditorCtor@).-gridCellTextEditorCtor ::  IO (GridCellTextEditor  ())-gridCellTextEditorCtor -  = withObjectResult $-    wxGridCellTextEditor_Ctor -foreign import ccall "wxGridCellTextEditor_Ctor" wxGridCellTextEditor_Ctor :: IO (Ptr (TGridCellTextEditor ()))---- | usage: (@gridCellTextEnterEditorCtor@).-gridCellTextEnterEditorCtor ::  IO (GridCellTextEnterEditor  ())-gridCellTextEnterEditorCtor -  = withObjectResult $-    wxGridCellTextEnterEditor_Ctor -foreign import ccall "wxGridCellTextEnterEditor_Ctor" wxGridCellTextEnterEditor_Ctor :: IO (Ptr (TGridCellTextEnterEditor ()))---- | usage: (@gridCellToRect obj row col@).-gridCellToRect :: Grid  a -> Int -> Int ->  IO (Rect)-gridCellToRect _obj row col -  = withWxRectResult $-    withObjectRef "gridCellToRect" _obj $ \cobj__obj -> -    wxGrid_CellToRect cobj__obj  (toCInt row)  (toCInt col)  -foreign import ccall "wxGrid_CellToRect" wxGrid_CellToRect :: Ptr (TGrid a) -> CInt -> CInt -> IO (Ptr (TWxRect ()))---- | usage: (@gridClearGrid obj@).-gridClearGrid :: Grid  a ->  IO ()-gridClearGrid _obj -  = withObjectRef "gridClearGrid" _obj $ \cobj__obj -> -    wxGrid_ClearGrid cobj__obj  -foreign import ccall "wxGrid_ClearGrid" wxGrid_ClearGrid :: Ptr (TGrid a) -> IO ()---- | usage: (@gridClearSelection obj@).-gridClearSelection :: Grid  a ->  IO ()-gridClearSelection _obj -  = withObjectRef "gridClearSelection" _obj $ \cobj__obj -> -    wxGrid_ClearSelection cobj__obj  -foreign import ccall "wxGrid_ClearSelection" wxGrid_ClearSelection :: Ptr (TGrid a) -> IO ()---- | usage: (@gridCreate prt id lfttopwdthgt stl@).-gridCreate :: Window  a -> Id -> Rect -> Style ->  IO (Grid  ())-gridCreate _prt _id _lfttopwdthgt _stl -  = withObjectResult $-    withObjectPtr _prt $ \cobj__prt -> -    wxGrid_Create cobj__prt  (toCInt _id)  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  (toCInt _stl)  -foreign import ccall "wxGrid_Create" wxGrid_Create :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TGrid ()))---- | usage: (@gridCreateGrid obj rows cols selmode@).-gridCreateGrid :: Grid  a -> Int -> Int -> Int ->  IO ()-gridCreateGrid _obj rows cols selmode -  = withObjectRef "gridCreateGrid" _obj $ \cobj__obj -> -    wxGrid_CreateGrid cobj__obj  (toCInt rows)  (toCInt cols)  (toCInt selmode)  -foreign import ccall "wxGrid_CreateGrid" wxGrid_CreateGrid :: Ptr (TGrid a) -> CInt -> CInt -> CInt -> IO ()---- | usage: (@gridDeleteCols obj pos numCols updateLabels@).-gridDeleteCols :: Grid  a -> Int -> Int -> Bool ->  IO Bool-gridDeleteCols _obj pos numCols updateLabels -  = withBoolResult $-    withObjectRef "gridDeleteCols" _obj $ \cobj__obj -> -    wxGrid_DeleteCols cobj__obj  (toCInt pos)  (toCInt numCols)  (toCBool updateLabels)  -foreign import ccall "wxGrid_DeleteCols" wxGrid_DeleteCols :: Ptr (TGrid a) -> CInt -> CInt -> CBool -> IO CBool---- | usage: (@gridDeleteRows obj pos numRows updateLabels@).-gridDeleteRows :: Grid  a -> Int -> Int -> Bool ->  IO Bool-gridDeleteRows _obj pos numRows updateLabels -  = withBoolResult $-    withObjectRef "gridDeleteRows" _obj $ \cobj__obj -> -    wxGrid_DeleteRows cobj__obj  (toCInt pos)  (toCInt numRows)  (toCBool updateLabels)  -foreign import ccall "wxGrid_DeleteRows" wxGrid_DeleteRows :: Ptr (TGrid a) -> CInt -> CInt -> CBool -> IO CBool---- | usage: (@gridDisableCellEditControl obj@).-gridDisableCellEditControl :: Grid  a ->  IO ()-gridDisableCellEditControl _obj -  = withObjectRef "gridDisableCellEditControl" _obj $ \cobj__obj -> -    wxGrid_DisableCellEditControl cobj__obj  -foreign import ccall "wxGrid_DisableCellEditControl" wxGrid_DisableCellEditControl :: Ptr (TGrid a) -> IO ()---- | usage: (@gridDisableDragColSize obj@).-gridDisableDragColSize :: Grid  a ->  IO ()-gridDisableDragColSize _obj -  = withObjectRef "gridDisableDragColSize" _obj $ \cobj__obj -> -    wxGrid_DisableDragColSize cobj__obj  -foreign import ccall "wxGrid_DisableDragColSize" wxGrid_DisableDragColSize :: Ptr (TGrid a) -> IO ()---- | usage: (@gridDisableDragGridSize obj@).-gridDisableDragGridSize :: Grid  a ->  IO ()-gridDisableDragGridSize _obj -  = withObjectRef "gridDisableDragGridSize" _obj $ \cobj__obj -> -    wxGrid_DisableDragGridSize cobj__obj  -foreign import ccall "wxGrid_DisableDragGridSize" wxGrid_DisableDragGridSize :: Ptr (TGrid a) -> IO ()---- | usage: (@gridDisableDragRowSize obj@).-gridDisableDragRowSize :: Grid  a ->  IO ()-gridDisableDragRowSize _obj -  = withObjectRef "gridDisableDragRowSize" _obj $ \cobj__obj -> -    wxGrid_DisableDragRowSize cobj__obj  -foreign import ccall "wxGrid_DisableDragRowSize" wxGrid_DisableDragRowSize :: Ptr (TGrid a) -> IO ()---- | usage: (@gridDoEndDragResizeCol obj@).-gridDoEndDragResizeCol :: Grid  a ->  IO ()-gridDoEndDragResizeCol _obj -  = withObjectRef "gridDoEndDragResizeCol" _obj $ \cobj__obj -> -    wxGrid_DoEndDragResizeCol cobj__obj  -foreign import ccall "wxGrid_DoEndDragResizeCol" wxGrid_DoEndDragResizeCol :: Ptr (TGrid a) -> IO ()---- | usage: (@gridDoEndDragResizeRow obj@).-gridDoEndDragResizeRow :: Grid  a ->  IO ()-gridDoEndDragResizeRow _obj -  = withObjectRef "gridDoEndDragResizeRow" _obj $ \cobj__obj -> -    wxGrid_DoEndDragResizeRow cobj__obj  -foreign import ccall "wxGrid_DoEndDragResizeRow" wxGrid_DoEndDragResizeRow :: Ptr (TGrid a) -> IO ()---- | usage: (@gridDrawAllGridLines obj dc reg@).-gridDrawAllGridLines :: Grid  a -> DC  b -> Region  c ->  IO ()-gridDrawAllGridLines _obj dc reg -  = withObjectRef "gridDrawAllGridLines" _obj $ \cobj__obj -> -    withObjectPtr dc $ \cobj_dc -> -    withObjectPtr reg $ \cobj_reg -> -    wxGrid_DrawAllGridLines cobj__obj  cobj_dc  cobj_reg  -foreign import ccall "wxGrid_DrawAllGridLines" wxGrid_DrawAllGridLines :: Ptr (TGrid a) -> Ptr (TDC b) -> Ptr (TRegion c) -> IO ()---- | usage: (@gridDrawCell obj dc row col@).-gridDrawCell :: Grid  a -> DC  b -> Int -> Int ->  IO ()-gridDrawCell _obj dc _row _col -  = withObjectRef "gridDrawCell" _obj $ \cobj__obj -> -    withObjectPtr dc $ \cobj_dc -> -    wxGrid_DrawCell cobj__obj  cobj_dc  (toCInt _row)  (toCInt _col)  -foreign import ccall "wxGrid_DrawCell" wxGrid_DrawCell :: Ptr (TGrid a) -> Ptr (TDC b) -> CInt -> CInt -> IO ()---- | usage: (@gridDrawCellBorder obj dc row col@).-gridDrawCellBorder :: Grid  a -> DC  b -> Int -> Int ->  IO ()-gridDrawCellBorder _obj dc _row _col -  = withObjectRef "gridDrawCellBorder" _obj $ \cobj__obj -> -    withObjectPtr dc $ \cobj_dc -> -    wxGrid_DrawCellBorder cobj__obj  cobj_dc  (toCInt _row)  (toCInt _col)  -foreign import ccall "wxGrid_DrawCellBorder" wxGrid_DrawCellBorder :: Ptr (TGrid a) -> Ptr (TDC b) -> CInt -> CInt -> IO ()---- | usage: (@gridDrawCellHighlight obj dc attr@).-gridDrawCellHighlight :: Grid  a -> DC  b -> GridCellAttr  c ->  IO ()-gridDrawCellHighlight _obj dc attr -  = withObjectRef "gridDrawCellHighlight" _obj $ \cobj__obj -> -    withObjectPtr dc $ \cobj_dc -> -    withObjectPtr attr $ \cobj_attr -> -    wxGrid_DrawCellHighlight cobj__obj  cobj_dc  cobj_attr  -foreign import ccall "wxGrid_DrawCellHighlight" wxGrid_DrawCellHighlight :: Ptr (TGrid a) -> Ptr (TDC b) -> Ptr (TGridCellAttr c) -> IO ()---- | usage: (@gridDrawColLabel obj dc col@).-gridDrawColLabel :: Grid  a -> DC  b -> Int ->  IO ()-gridDrawColLabel _obj dc col -  = withObjectRef "gridDrawColLabel" _obj $ \cobj__obj -> -    withObjectPtr dc $ \cobj_dc -> -    wxGrid_DrawColLabel cobj__obj  cobj_dc  (toCInt col)  -foreign import ccall "wxGrid_DrawColLabel" wxGrid_DrawColLabel :: Ptr (TGrid a) -> Ptr (TDC b) -> CInt -> IO ()---- | usage: (@gridDrawColLabels obj dc@).-gridDrawColLabels :: Grid  a -> DC  b ->  IO ()-gridDrawColLabels _obj dc -  = withObjectRef "gridDrawColLabels" _obj $ \cobj__obj -> -    withObjectPtr dc $ \cobj_dc -> -    wxGrid_DrawColLabels cobj__obj  cobj_dc  -foreign import ccall "wxGrid_DrawColLabels" wxGrid_DrawColLabels :: Ptr (TGrid a) -> Ptr (TDC b) -> IO ()---- | usage: (@gridDrawGridCellArea obj dc@).-gridDrawGridCellArea :: Grid  a -> DC  b ->  IO ()-gridDrawGridCellArea _obj dc -  = withObjectRef "gridDrawGridCellArea" _obj $ \cobj__obj -> -    withObjectPtr dc $ \cobj_dc -> -    wxGrid_DrawGridCellArea cobj__obj  cobj_dc  -foreign import ccall "wxGrid_DrawGridCellArea" wxGrid_DrawGridCellArea :: Ptr (TGrid a) -> Ptr (TDC b) -> IO ()---- | usage: (@gridDrawGridSpace obj dc@).-gridDrawGridSpace :: Grid  a -> DC  b ->  IO ()-gridDrawGridSpace _obj dc -  = withObjectRef "gridDrawGridSpace" _obj $ \cobj__obj -> -    withObjectPtr dc $ \cobj_dc -> -    wxGrid_DrawGridSpace cobj__obj  cobj_dc  -foreign import ccall "wxGrid_DrawGridSpace" wxGrid_DrawGridSpace :: Ptr (TGrid a) -> Ptr (TDC b) -> IO ()---- | usage: (@gridDrawHighlight obj dc@).-gridDrawHighlight :: Grid  a -> DC  b ->  IO ()-gridDrawHighlight _obj dc -  = withObjectRef "gridDrawHighlight" _obj $ \cobj__obj -> -    withObjectPtr dc $ \cobj_dc -> -    wxGrid_DrawHighlight cobj__obj  cobj_dc  -foreign import ccall "wxGrid_DrawHighlight" wxGrid_DrawHighlight :: Ptr (TGrid a) -> Ptr (TDC b) -> IO ()---- | usage: (@gridDrawRowLabel obj dc row@).-gridDrawRowLabel :: Grid  a -> DC  b -> Int ->  IO ()-gridDrawRowLabel _obj dc row -  = withObjectRef "gridDrawRowLabel" _obj $ \cobj__obj -> -    withObjectPtr dc $ \cobj_dc -> -    wxGrid_DrawRowLabel cobj__obj  cobj_dc  (toCInt row)  -foreign import ccall "wxGrid_DrawRowLabel" wxGrid_DrawRowLabel :: Ptr (TGrid a) -> Ptr (TDC b) -> CInt -> IO ()---- | usage: (@gridDrawRowLabels obj dc@).-gridDrawRowLabels :: Grid  a -> DC  b ->  IO ()-gridDrawRowLabels _obj dc -  = withObjectRef "gridDrawRowLabels" _obj $ \cobj__obj -> -    withObjectPtr dc $ \cobj_dc -> -    wxGrid_DrawRowLabels cobj__obj  cobj_dc  -foreign import ccall "wxGrid_DrawRowLabels" wxGrid_DrawRowLabels :: Ptr (TGrid a) -> Ptr (TDC b) -> IO ()---- | usage: (@gridDrawTextRectangle obj dc txt xywh horizontalAlignment verticalAlignment@).-gridDrawTextRectangle :: Grid  a -> DC  b -> String -> Rect -> Int -> Int ->  IO ()-gridDrawTextRectangle _obj dc txt xywh horizontalAlignment verticalAlignment -  = withObjectRef "gridDrawTextRectangle" _obj $ \cobj__obj -> -    withObjectPtr dc $ \cobj_dc -> -    withStringPtr txt $ \cobj_txt -> -    wxGrid_DrawTextRectangle cobj__obj  cobj_dc  cobj_txt  (toCIntRectX xywh) (toCIntRectY xywh)(toCIntRectW xywh) (toCIntRectH xywh)  (toCInt horizontalAlignment)  (toCInt verticalAlignment)  -foreign import ccall "wxGrid_DrawTextRectangle" wxGrid_DrawTextRectangle :: Ptr (TGrid a) -> Ptr (TDC b) -> Ptr (TWxString c) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO ()---- | usage: (@gridEditorCreatedEventGetCol obj@).-gridEditorCreatedEventGetCol :: GridEditorCreatedEvent  a ->  IO Int-gridEditorCreatedEventGetCol _obj -  = withIntResult $-    withObjectRef "gridEditorCreatedEventGetCol" _obj $ \cobj__obj -> -    wxGridEditorCreatedEvent_GetCol cobj__obj  -foreign import ccall "wxGridEditorCreatedEvent_GetCol" wxGridEditorCreatedEvent_GetCol :: Ptr (TGridEditorCreatedEvent a) -> IO CInt---- | usage: (@gridEditorCreatedEventGetControl obj@).-gridEditorCreatedEventGetControl :: GridEditorCreatedEvent  a ->  IO (Control  ())-gridEditorCreatedEventGetControl _obj -  = withObjectResult $-    withObjectRef "gridEditorCreatedEventGetControl" _obj $ \cobj__obj -> -    wxGridEditorCreatedEvent_GetControl cobj__obj  -foreign import ccall "wxGridEditorCreatedEvent_GetControl" wxGridEditorCreatedEvent_GetControl :: Ptr (TGridEditorCreatedEvent a) -> IO (Ptr (TControl ()))---- | usage: (@gridEditorCreatedEventGetRow obj@).-gridEditorCreatedEventGetRow :: GridEditorCreatedEvent  a ->  IO Int-gridEditorCreatedEventGetRow _obj -  = withIntResult $-    withObjectRef "gridEditorCreatedEventGetRow" _obj $ \cobj__obj -> -    wxGridEditorCreatedEvent_GetRow cobj__obj  -foreign import ccall "wxGridEditorCreatedEvent_GetRow" wxGridEditorCreatedEvent_GetRow :: Ptr (TGridEditorCreatedEvent a) -> IO CInt---- | usage: (@gridEditorCreatedEventSetCol obj col@).-gridEditorCreatedEventSetCol :: GridEditorCreatedEvent  a -> Int ->  IO ()-gridEditorCreatedEventSetCol _obj col -  = withObjectRef "gridEditorCreatedEventSetCol" _obj $ \cobj__obj -> -    wxGridEditorCreatedEvent_SetCol cobj__obj  (toCInt col)  -foreign import ccall "wxGridEditorCreatedEvent_SetCol" wxGridEditorCreatedEvent_SetCol :: Ptr (TGridEditorCreatedEvent a) -> CInt -> IO ()---- | usage: (@gridEditorCreatedEventSetControl obj ctrl@).-gridEditorCreatedEventSetControl :: GridEditorCreatedEvent  a -> Control  b ->  IO ()-gridEditorCreatedEventSetControl _obj ctrl -  = withObjectRef "gridEditorCreatedEventSetControl" _obj $ \cobj__obj -> -    withObjectPtr ctrl $ \cobj_ctrl -> -    wxGridEditorCreatedEvent_SetControl cobj__obj  cobj_ctrl  -foreign import ccall "wxGridEditorCreatedEvent_SetControl" wxGridEditorCreatedEvent_SetControl :: Ptr (TGridEditorCreatedEvent a) -> Ptr (TControl b) -> IO ()---- | usage: (@gridEditorCreatedEventSetRow obj row@).-gridEditorCreatedEventSetRow :: GridEditorCreatedEvent  a -> Int ->  IO ()-gridEditorCreatedEventSetRow _obj row -  = withObjectRef "gridEditorCreatedEventSetRow" _obj $ \cobj__obj -> -    wxGridEditorCreatedEvent_SetRow cobj__obj  (toCInt row)  -foreign import ccall "wxGridEditorCreatedEvent_SetRow" wxGridEditorCreatedEvent_SetRow :: Ptr (TGridEditorCreatedEvent a) -> CInt -> IO ()---- | usage: (@gridEnableCellEditControl obj enable@).-gridEnableCellEditControl :: Grid  a -> Bool ->  IO ()-gridEnableCellEditControl _obj enable -  = withObjectRef "gridEnableCellEditControl" _obj $ \cobj__obj -> -    wxGrid_EnableCellEditControl cobj__obj  (toCBool enable)  -foreign import ccall "wxGrid_EnableCellEditControl" wxGrid_EnableCellEditControl :: Ptr (TGrid a) -> CBool -> IO ()---- | usage: (@gridEnableDragColSize obj enable@).-gridEnableDragColSize :: Grid  a -> Bool ->  IO ()-gridEnableDragColSize _obj enable -  = withObjectRef "gridEnableDragColSize" _obj $ \cobj__obj -> -    wxGrid_EnableDragColSize cobj__obj  (toCBool enable)  -foreign import ccall "wxGrid_EnableDragColSize" wxGrid_EnableDragColSize :: Ptr (TGrid a) -> CBool -> IO ()---- | usage: (@gridEnableDragGridSize obj enable@).-gridEnableDragGridSize :: Grid  a -> Bool ->  IO ()-gridEnableDragGridSize _obj enable -  = withObjectRef "gridEnableDragGridSize" _obj $ \cobj__obj -> -    wxGrid_EnableDragGridSize cobj__obj  (toCBool enable)  -foreign import ccall "wxGrid_EnableDragGridSize" wxGrid_EnableDragGridSize :: Ptr (TGrid a) -> CBool -> IO ()---- | usage: (@gridEnableDragRowSize obj enable@).-gridEnableDragRowSize :: Grid  a -> Bool ->  IO ()-gridEnableDragRowSize _obj enable -  = withObjectRef "gridEnableDragRowSize" _obj $ \cobj__obj -> -    wxGrid_EnableDragRowSize cobj__obj  (toCBool enable)  -foreign import ccall "wxGrid_EnableDragRowSize" wxGrid_EnableDragRowSize :: Ptr (TGrid a) -> CBool -> IO ()---- | usage: (@gridEnableEditing obj edit@).-gridEnableEditing :: Grid  a -> Bool ->  IO ()-gridEnableEditing _obj edit -  = withObjectRef "gridEnableEditing" _obj $ \cobj__obj -> -    wxGrid_EnableEditing cobj__obj  (toCBool edit)  -foreign import ccall "wxGrid_EnableEditing" wxGrid_EnableEditing :: Ptr (TGrid a) -> CBool -> IO ()---- | usage: (@gridEnableGridLines obj enable@).-gridEnableGridLines :: Grid  a -> Bool ->  IO ()-gridEnableGridLines _obj enable -  = withObjectRef "gridEnableGridLines" _obj $ \cobj__obj -> -    wxGrid_EnableGridLines cobj__obj  (toCBool enable)  -foreign import ccall "wxGrid_EnableGridLines" wxGrid_EnableGridLines :: Ptr (TGrid a) -> CBool -> IO ()---- | usage: (@gridEndBatch obj@).-gridEndBatch :: Grid  a ->  IO ()-gridEndBatch _obj -  = withObjectRef "gridEndBatch" _obj $ \cobj__obj -> -    wxGrid_EndBatch cobj__obj  -foreign import ccall "wxGrid_EndBatch" wxGrid_EndBatch :: Ptr (TGrid a) -> IO ()---- | usage: (@gridEventAltDown obj@).-gridEventAltDown :: GridEvent  a ->  IO Bool-gridEventAltDown _obj -  = withBoolResult $-    withObjectRef "gridEventAltDown" _obj $ \cobj__obj -> -    wxGridEvent_AltDown cobj__obj  -foreign import ccall "wxGridEvent_AltDown" wxGridEvent_AltDown :: Ptr (TGridEvent a) -> IO CBool---- | usage: (@gridEventControlDown obj@).-gridEventControlDown :: GridEvent  a ->  IO Bool-gridEventControlDown _obj -  = withBoolResult $-    withObjectRef "gridEventControlDown" _obj $ \cobj__obj -> -    wxGridEvent_ControlDown cobj__obj  -foreign import ccall "wxGridEvent_ControlDown" wxGridEvent_ControlDown :: Ptr (TGridEvent a) -> IO CBool---- | usage: (@gridEventGetCol obj@).-gridEventGetCol :: GridEvent  a ->  IO Int-gridEventGetCol _obj -  = withIntResult $-    withObjectRef "gridEventGetCol" _obj $ \cobj__obj -> -    wxGridEvent_GetCol cobj__obj  -foreign import ccall "wxGridEvent_GetCol" wxGridEvent_GetCol :: Ptr (TGridEvent a) -> IO CInt---- | usage: (@gridEventGetPosition obj@).-gridEventGetPosition :: GridEvent  a ->  IO (Point)-gridEventGetPosition _obj -  = withWxPointResult $-    withObjectRef "gridEventGetPosition" _obj $ \cobj__obj -> -    wxGridEvent_GetPosition cobj__obj  -foreign import ccall "wxGridEvent_GetPosition" wxGridEvent_GetPosition :: Ptr (TGridEvent a) -> IO (Ptr (TWxPoint ()))---- | usage: (@gridEventGetRow obj@).-gridEventGetRow :: GridEvent  a ->  IO Int-gridEventGetRow _obj -  = withIntResult $-    withObjectRef "gridEventGetRow" _obj $ \cobj__obj -> -    wxGridEvent_GetRow cobj__obj  -foreign import ccall "wxGridEvent_GetRow" wxGridEvent_GetRow :: Ptr (TGridEvent a) -> IO CInt---- | usage: (@gridEventMetaDown obj@).-gridEventMetaDown :: GridEvent  a ->  IO Bool-gridEventMetaDown _obj -  = withBoolResult $-    withObjectRef "gridEventMetaDown" _obj $ \cobj__obj -> -    wxGridEvent_MetaDown cobj__obj  -foreign import ccall "wxGridEvent_MetaDown" wxGridEvent_MetaDown :: Ptr (TGridEvent a) -> IO CBool---- | usage: (@gridEventSelecting obj@).-gridEventSelecting :: GridEvent  a ->  IO Bool-gridEventSelecting _obj -  = withBoolResult $-    withObjectRef "gridEventSelecting" _obj $ \cobj__obj -> -    wxGridEvent_Selecting cobj__obj  -foreign import ccall "wxGridEvent_Selecting" wxGridEvent_Selecting :: Ptr (TGridEvent a) -> IO CBool---- | usage: (@gridEventShiftDown obj@).-gridEventShiftDown :: GridEvent  a ->  IO Bool-gridEventShiftDown _obj -  = withBoolResult $-    withObjectRef "gridEventShiftDown" _obj $ \cobj__obj -> -    wxGridEvent_ShiftDown cobj__obj  -foreign import ccall "wxGridEvent_ShiftDown" wxGridEvent_ShiftDown :: Ptr (TGridEvent a) -> IO CBool---- | usage: (@gridGetBatchCount obj@).-gridGetBatchCount :: Grid  a ->  IO Int-gridGetBatchCount _obj -  = withIntResult $-    withObjectRef "gridGetBatchCount" _obj $ \cobj__obj -> -    wxGrid_GetBatchCount cobj__obj  -foreign import ccall "wxGrid_GetBatchCount" wxGrid_GetBatchCount :: Ptr (TGrid a) -> IO CInt---- | usage: (@gridGetCellAlignment obj row col@).-gridGetCellAlignment :: Grid  a -> Int -> Int ->  IO Size-gridGetCellAlignment _obj row col -  = withSizeResult $ \pw ph -> -    withObjectRef "gridGetCellAlignment" _obj $ \cobj__obj -> -    wxGrid_GetCellAlignment cobj__obj  (toCInt row)  (toCInt col)   pw ph-foreign import ccall "wxGrid_GetCellAlignment" wxGrid_GetCellAlignment :: Ptr (TGrid a) -> CInt -> CInt -> Ptr CInt -> Ptr CInt -> IO ()---- | usage: (@gridGetCellBackgroundColour obj row col colour@).-gridGetCellBackgroundColour :: Grid  a -> Int -> Int -> Color ->  IO ()-gridGetCellBackgroundColour _obj row col colour -  = withObjectRef "gridGetCellBackgroundColour" _obj $ \cobj__obj -> -    withColourPtr colour $ \cobj_colour -> -    wxGrid_GetCellBackgroundColour cobj__obj  (toCInt row)  (toCInt col)  cobj_colour  -foreign import ccall "wxGrid_GetCellBackgroundColour" wxGrid_GetCellBackgroundColour :: Ptr (TGrid a) -> CInt -> CInt -> Ptr (TColour d) -> IO ()---- | usage: (@gridGetCellEditor obj row col@).-gridGetCellEditor :: Grid  a -> Int -> Int ->  IO (GridCellEditor  ())-gridGetCellEditor _obj row col -  = withObjectResult $-    withObjectRef "gridGetCellEditor" _obj $ \cobj__obj -> -    wxGrid_GetCellEditor cobj__obj  (toCInt row)  (toCInt col)  -foreign import ccall "wxGrid_GetCellEditor" wxGrid_GetCellEditor :: Ptr (TGrid a) -> CInt -> CInt -> IO (Ptr (TGridCellEditor ()))---- | usage: (@gridGetCellFont obj row col font@).-gridGetCellFont :: Grid  a -> Int -> Int -> Font  d ->  IO ()-gridGetCellFont _obj row col font -  = withObjectRef "gridGetCellFont" _obj $ \cobj__obj -> -    withObjectPtr font $ \cobj_font -> -    wxGrid_GetCellFont cobj__obj  (toCInt row)  (toCInt col)  cobj_font  -foreign import ccall "wxGrid_GetCellFont" wxGrid_GetCellFont :: Ptr (TGrid a) -> CInt -> CInt -> Ptr (TFont d) -> IO ()---- | usage: (@gridGetCellHighlightColour obj@).-gridGetCellHighlightColour :: Grid  a ->  IO (Color)-gridGetCellHighlightColour _obj -  = withRefColour $ \pref -> -    withObjectRef "gridGetCellHighlightColour" _obj $ \cobj__obj -> -    wxGrid_GetCellHighlightColour cobj__obj   pref-foreign import ccall "wxGrid_GetCellHighlightColour" wxGrid_GetCellHighlightColour :: Ptr (TGrid a) -> Ptr (TColour ()) -> IO ()---- | usage: (@gridGetCellRenderer obj row col@).-gridGetCellRenderer :: Grid  a -> Int -> Int ->  IO (GridCellRenderer  ())-gridGetCellRenderer _obj row col -  = withObjectResult $-    withObjectRef "gridGetCellRenderer" _obj $ \cobj__obj -> -    wxGrid_GetCellRenderer cobj__obj  (toCInt row)  (toCInt col)  -foreign import ccall "wxGrid_GetCellRenderer" wxGrid_GetCellRenderer :: Ptr (TGrid a) -> CInt -> CInt -> IO (Ptr (TGridCellRenderer ()))---- | usage: (@gridGetCellTextColour obj row col colour@).-gridGetCellTextColour :: Grid  a -> Int -> Int -> Color ->  IO ()-gridGetCellTextColour _obj row col colour -  = withObjectRef "gridGetCellTextColour" _obj $ \cobj__obj -> -    withColourPtr colour $ \cobj_colour -> -    wxGrid_GetCellTextColour cobj__obj  (toCInt row)  (toCInt col)  cobj_colour  -foreign import ccall "wxGrid_GetCellTextColour" wxGrid_GetCellTextColour :: Ptr (TGrid a) -> CInt -> CInt -> Ptr (TColour d) -> IO ()---- | usage: (@gridGetCellValue obj row col@).-gridGetCellValue :: Grid  a -> Int -> Int ->  IO (String)-gridGetCellValue _obj row col -  = withManagedStringResult $-    withObjectRef "gridGetCellValue" _obj $ \cobj__obj -> -    wxGrid_GetCellValue cobj__obj  (toCInt row)  (toCInt col)  -foreign import ccall "wxGrid_GetCellValue" wxGrid_GetCellValue :: Ptr (TGrid a) -> CInt -> CInt -> IO (Ptr (TWxString ()))---- | usage: (@gridGetColLabelAlignment obj@).-gridGetColLabelAlignment :: Grid  a ->  IO Size-gridGetColLabelAlignment _obj -  = withSizeResult $ \pw ph -> -    withObjectRef "gridGetColLabelAlignment" _obj $ \cobj__obj -> -    wxGrid_GetColLabelAlignment cobj__obj   pw ph-foreign import ccall "wxGrid_GetColLabelAlignment" wxGrid_GetColLabelAlignment :: Ptr (TGrid a) -> Ptr CInt -> Ptr CInt -> IO ()---- | usage: (@gridGetColLabelSize obj@).-gridGetColLabelSize :: Grid  a ->  IO Int-gridGetColLabelSize _obj -  = withIntResult $-    withObjectRef "gridGetColLabelSize" _obj $ \cobj__obj -> -    wxGrid_GetColLabelSize cobj__obj  -foreign import ccall "wxGrid_GetColLabelSize" wxGrid_GetColLabelSize :: Ptr (TGrid a) -> IO CInt---- | usage: (@gridGetColLabelValue obj col@).-gridGetColLabelValue :: Grid  a -> Int ->  IO (String)-gridGetColLabelValue _obj col -  = withManagedStringResult $-    withObjectRef "gridGetColLabelValue" _obj $ \cobj__obj -> -    wxGrid_GetColLabelValue cobj__obj  (toCInt col)  -foreign import ccall "wxGrid_GetColLabelValue" wxGrid_GetColLabelValue :: Ptr (TGrid a) -> CInt -> IO (Ptr (TWxString ()))---- | usage: (@gridGetColSize obj col@).-gridGetColSize :: Grid  a -> Int ->  IO Int-gridGetColSize _obj col -  = withIntResult $-    withObjectRef "gridGetColSize" _obj $ \cobj__obj -> -    wxGrid_GetColSize cobj__obj  (toCInt col)  -foreign import ccall "wxGrid_GetColSize" wxGrid_GetColSize :: Ptr (TGrid a) -> CInt -> IO CInt---- | usage: (@gridGetDefaultCellAlignment obj@).-gridGetDefaultCellAlignment :: Grid  a ->  IO Size-gridGetDefaultCellAlignment _obj -  = withSizeResult $ \pw ph -> -    withObjectRef "gridGetDefaultCellAlignment" _obj $ \cobj__obj -> -    wxGrid_GetDefaultCellAlignment cobj__obj   pw ph-foreign import ccall "wxGrid_GetDefaultCellAlignment" wxGrid_GetDefaultCellAlignment :: Ptr (TGrid a) -> Ptr CInt -> Ptr CInt -> IO ()---- | usage: (@gridGetDefaultCellBackgroundColour obj@).-gridGetDefaultCellBackgroundColour :: Grid  a ->  IO (Color)-gridGetDefaultCellBackgroundColour _obj -  = withRefColour $ \pref -> -    withObjectRef "gridGetDefaultCellBackgroundColour" _obj $ \cobj__obj -> -    wxGrid_GetDefaultCellBackgroundColour cobj__obj   pref-foreign import ccall "wxGrid_GetDefaultCellBackgroundColour" wxGrid_GetDefaultCellBackgroundColour :: Ptr (TGrid a) -> Ptr (TColour ()) -> IO ()---- | usage: (@gridGetDefaultCellFont obj@).-gridGetDefaultCellFont :: Grid  a ->  IO (Font  ())-gridGetDefaultCellFont _obj -  = withRefFont $ \pref -> -    withObjectRef "gridGetDefaultCellFont" _obj $ \cobj__obj -> -    wxGrid_GetDefaultCellFont cobj__obj   pref-foreign import ccall "wxGrid_GetDefaultCellFont" wxGrid_GetDefaultCellFont :: Ptr (TGrid a) -> Ptr (TFont ()) -> IO ()---- | usage: (@gridGetDefaultCellTextColour obj@).-gridGetDefaultCellTextColour :: Grid  a ->  IO (Color)-gridGetDefaultCellTextColour _obj -  = withRefColour $ \pref -> -    withObjectRef "gridGetDefaultCellTextColour" _obj $ \cobj__obj -> -    wxGrid_GetDefaultCellTextColour cobj__obj   pref-foreign import ccall "wxGrid_GetDefaultCellTextColour" wxGrid_GetDefaultCellTextColour :: Ptr (TGrid a) -> Ptr (TColour ()) -> IO ()---- | usage: (@gridGetDefaultColLabelSize obj@).-gridGetDefaultColLabelSize :: Grid  a ->  IO Int-gridGetDefaultColLabelSize _obj -  = withIntResult $-    withObjectRef "gridGetDefaultColLabelSize" _obj $ \cobj__obj -> -    wxGrid_GetDefaultColLabelSize cobj__obj  -foreign import ccall "wxGrid_GetDefaultColLabelSize" wxGrid_GetDefaultColLabelSize :: Ptr (TGrid a) -> IO CInt---- | usage: (@gridGetDefaultColSize obj@).-gridGetDefaultColSize :: Grid  a ->  IO Int-gridGetDefaultColSize _obj -  = withIntResult $-    withObjectRef "gridGetDefaultColSize" _obj $ \cobj__obj -> -    wxGrid_GetDefaultColSize cobj__obj  -foreign import ccall "wxGrid_GetDefaultColSize" wxGrid_GetDefaultColSize :: Ptr (TGrid a) -> IO CInt---- | usage: (@gridGetDefaultEditor obj@).-gridGetDefaultEditor :: Grid  a ->  IO (GridCellEditor  ())-gridGetDefaultEditor _obj -  = withObjectResult $-    withObjectRef "gridGetDefaultEditor" _obj $ \cobj__obj -> -    wxGrid_GetDefaultEditor cobj__obj  -foreign import ccall "wxGrid_GetDefaultEditor" wxGrid_GetDefaultEditor :: Ptr (TGrid a) -> IO (Ptr (TGridCellEditor ()))---- | usage: (@gridGetDefaultEditorForCell obj row col@).-gridGetDefaultEditorForCell :: Grid  a -> Int -> Int ->  IO (GridCellEditor  ())-gridGetDefaultEditorForCell _obj row col -  = withObjectResult $-    withObjectRef "gridGetDefaultEditorForCell" _obj $ \cobj__obj -> -    wxGrid_GetDefaultEditorForCell cobj__obj  (toCInt row)  (toCInt col)  -foreign import ccall "wxGrid_GetDefaultEditorForCell" wxGrid_GetDefaultEditorForCell :: Ptr (TGrid a) -> CInt -> CInt -> IO (Ptr (TGridCellEditor ()))---- | usage: (@gridGetDefaultEditorForType obj typeName@).-gridGetDefaultEditorForType :: Grid  a -> String ->  IO (GridCellEditor  ())-gridGetDefaultEditorForType _obj typeName -  = withObjectResult $-    withObjectRef "gridGetDefaultEditorForType" _obj $ \cobj__obj -> -    withStringPtr typeName $ \cobj_typeName -> -    wxGrid_GetDefaultEditorForType cobj__obj  cobj_typeName  -foreign import ccall "wxGrid_GetDefaultEditorForType" wxGrid_GetDefaultEditorForType :: Ptr (TGrid a) -> Ptr (TWxString b) -> IO (Ptr (TGridCellEditor ()))---- | usage: (@gridGetDefaultRenderer obj@).-gridGetDefaultRenderer :: Grid  a ->  IO (GridCellRenderer  ())-gridGetDefaultRenderer _obj -  = withObjectResult $-    withObjectRef "gridGetDefaultRenderer" _obj $ \cobj__obj -> -    wxGrid_GetDefaultRenderer cobj__obj  -foreign import ccall "wxGrid_GetDefaultRenderer" wxGrid_GetDefaultRenderer :: Ptr (TGrid a) -> IO (Ptr (TGridCellRenderer ()))---- | usage: (@gridGetDefaultRendererForCell obj row col@).-gridGetDefaultRendererForCell :: Grid  a -> Int -> Int ->  IO (GridCellRenderer  ())-gridGetDefaultRendererForCell _obj row col -  = withObjectResult $-    withObjectRef "gridGetDefaultRendererForCell" _obj $ \cobj__obj -> -    wxGrid_GetDefaultRendererForCell cobj__obj  (toCInt row)  (toCInt col)  -foreign import ccall "wxGrid_GetDefaultRendererForCell" wxGrid_GetDefaultRendererForCell :: Ptr (TGrid a) -> CInt -> CInt -> IO (Ptr (TGridCellRenderer ()))---- | usage: (@gridGetDefaultRendererForType obj typeName@).-gridGetDefaultRendererForType :: Grid  a -> String ->  IO (GridCellRenderer  ())-gridGetDefaultRendererForType _obj typeName -  = withObjectResult $-    withObjectRef "gridGetDefaultRendererForType" _obj $ \cobj__obj -> -    withStringPtr typeName $ \cobj_typeName -> -    wxGrid_GetDefaultRendererForType cobj__obj  cobj_typeName  -foreign import ccall "wxGrid_GetDefaultRendererForType" wxGrid_GetDefaultRendererForType :: Ptr (TGrid a) -> Ptr (TWxString b) -> IO (Ptr (TGridCellRenderer ()))---- | usage: (@gridGetDefaultRowLabelSize obj@).-gridGetDefaultRowLabelSize :: Grid  a ->  IO Int-gridGetDefaultRowLabelSize _obj -  = withIntResult $-    withObjectRef "gridGetDefaultRowLabelSize" _obj $ \cobj__obj -> -    wxGrid_GetDefaultRowLabelSize cobj__obj  -foreign import ccall "wxGrid_GetDefaultRowLabelSize" wxGrid_GetDefaultRowLabelSize :: Ptr (TGrid a) -> IO CInt---- | usage: (@gridGetDefaultRowSize obj@).-gridGetDefaultRowSize :: Grid  a ->  IO Int-gridGetDefaultRowSize _obj -  = withIntResult $-    withObjectRef "gridGetDefaultRowSize" _obj $ \cobj__obj -> -    wxGrid_GetDefaultRowSize cobj__obj  -foreign import ccall "wxGrid_GetDefaultRowSize" wxGrid_GetDefaultRowSize :: Ptr (TGrid a) -> IO CInt---- | usage: (@gridGetGridCursorCol obj@).-gridGetGridCursorCol :: Grid  a ->  IO Int-gridGetGridCursorCol _obj -  = withIntResult $-    withObjectRef "gridGetGridCursorCol" _obj $ \cobj__obj -> -    wxGrid_GetGridCursorCol cobj__obj  -foreign import ccall "wxGrid_GetGridCursorCol" wxGrid_GetGridCursorCol :: Ptr (TGrid a) -> IO CInt---- | usage: (@gridGetGridCursorRow obj@).-gridGetGridCursorRow :: Grid  a ->  IO Int-gridGetGridCursorRow _obj -  = withIntResult $-    withObjectRef "gridGetGridCursorRow" _obj $ \cobj__obj -> -    wxGrid_GetGridCursorRow cobj__obj  -foreign import ccall "wxGrid_GetGridCursorRow" wxGrid_GetGridCursorRow :: Ptr (TGrid a) -> IO CInt---- | usage: (@gridGetGridLineColour obj@).-gridGetGridLineColour :: Grid  a ->  IO (Color)-gridGetGridLineColour _obj -  = withRefColour $ \pref -> -    withObjectRef "gridGetGridLineColour" _obj $ \cobj__obj -> -    wxGrid_GetGridLineColour cobj__obj   pref-foreign import ccall "wxGrid_GetGridLineColour" wxGrid_GetGridLineColour :: Ptr (TGrid a) -> Ptr (TColour ()) -> IO ()---- | usage: (@gridGetLabelBackgroundColour obj@).-gridGetLabelBackgroundColour :: Grid  a ->  IO (Color)-gridGetLabelBackgroundColour _obj -  = withRefColour $ \pref -> -    withObjectRef "gridGetLabelBackgroundColour" _obj $ \cobj__obj -> -    wxGrid_GetLabelBackgroundColour cobj__obj   pref-foreign import ccall "wxGrid_GetLabelBackgroundColour" wxGrid_GetLabelBackgroundColour :: Ptr (TGrid a) -> Ptr (TColour ()) -> IO ()---- | usage: (@gridGetLabelFont obj@).-gridGetLabelFont :: Grid  a ->  IO (Font  ())-gridGetLabelFont _obj -  = withRefFont $ \pref -> -    withObjectRef "gridGetLabelFont" _obj $ \cobj__obj -> -    wxGrid_GetLabelFont cobj__obj   pref-foreign import ccall "wxGrid_GetLabelFont" wxGrid_GetLabelFont :: Ptr (TGrid a) -> Ptr (TFont ()) -> IO ()---- | usage: (@gridGetLabelTextColour obj@).-gridGetLabelTextColour :: Grid  a ->  IO (Color)-gridGetLabelTextColour _obj -  = withRefColour $ \pref -> -    withObjectRef "gridGetLabelTextColour" _obj $ \cobj__obj -> -    wxGrid_GetLabelTextColour cobj__obj   pref-foreign import ccall "wxGrid_GetLabelTextColour" wxGrid_GetLabelTextColour :: Ptr (TGrid a) -> Ptr (TColour ()) -> IO ()---- | usage: (@gridGetNumberCols obj@).-gridGetNumberCols :: Grid  a ->  IO Int-gridGetNumberCols _obj -  = withIntResult $-    withObjectRef "gridGetNumberCols" _obj $ \cobj__obj -> -    wxGrid_GetNumberCols cobj__obj  -foreign import ccall "wxGrid_GetNumberCols" wxGrid_GetNumberCols :: Ptr (TGrid a) -> IO CInt---- | usage: (@gridGetNumberRows obj@).-gridGetNumberRows :: Grid  a ->  IO Int-gridGetNumberRows _obj -  = withIntResult $-    withObjectRef "gridGetNumberRows" _obj $ \cobj__obj -> -    wxGrid_GetNumberRows cobj__obj  -foreign import ccall "wxGrid_GetNumberRows" wxGrid_GetNumberRows :: Ptr (TGrid a) -> IO CInt---- | usage: (@gridGetRowLabelAlignment obj@).-gridGetRowLabelAlignment :: Grid  a ->  IO Size-gridGetRowLabelAlignment _obj -  = withSizeResult $ \pw ph -> -    withObjectRef "gridGetRowLabelAlignment" _obj $ \cobj__obj -> -    wxGrid_GetRowLabelAlignment cobj__obj   pw ph-foreign import ccall "wxGrid_GetRowLabelAlignment" wxGrid_GetRowLabelAlignment :: Ptr (TGrid a) -> Ptr CInt -> Ptr CInt -> IO ()---- | usage: (@gridGetRowLabelSize obj@).-gridGetRowLabelSize :: Grid  a ->  IO Int-gridGetRowLabelSize _obj -  = withIntResult $-    withObjectRef "gridGetRowLabelSize" _obj $ \cobj__obj -> -    wxGrid_GetRowLabelSize cobj__obj  -foreign import ccall "wxGrid_GetRowLabelSize" wxGrid_GetRowLabelSize :: Ptr (TGrid a) -> IO CInt---- | usage: (@gridGetRowLabelValue obj row@).-gridGetRowLabelValue :: Grid  a -> Int ->  IO (String)-gridGetRowLabelValue _obj row -  = withManagedStringResult $-    withObjectRef "gridGetRowLabelValue" _obj $ \cobj__obj -> -    wxGrid_GetRowLabelValue cobj__obj  (toCInt row)  -foreign import ccall "wxGrid_GetRowLabelValue" wxGrid_GetRowLabelValue :: Ptr (TGrid a) -> CInt -> IO (Ptr (TWxString ()))---- | usage: (@gridGetRowSize obj row@).-gridGetRowSize :: Grid  a -> Int ->  IO Int-gridGetRowSize _obj row -  = withIntResult $-    withObjectRef "gridGetRowSize" _obj $ \cobj__obj -> -    wxGrid_GetRowSize cobj__obj  (toCInt row)  -foreign import ccall "wxGrid_GetRowSize" wxGrid_GetRowSize :: Ptr (TGrid a) -> CInt -> IO CInt---- | usage: (@gridGetSelectedCells obj@).-gridGetSelectedCells :: Grid  a ->  IO (GridCellCoordsArray  ())-gridGetSelectedCells _obj -  = withRefGridCellCoordsArray $ \pref -> -    withObjectRef "gridGetSelectedCells" _obj $ \cobj__obj -> -    wxGrid_GetSelectedCells cobj__obj   pref-foreign import ccall "wxGrid_GetSelectedCells" wxGrid_GetSelectedCells :: Ptr (TGrid a) -> Ptr (TGridCellCoordsArray ()) -> IO ()---- | usage: (@gridGetSelectedCols obj@).-gridGetSelectedCols :: Grid  a ->  IO [Int]-gridGetSelectedCols _obj -  = withArrayIntResult $ \arr -> -    withObjectRef "gridGetSelectedCols" _obj $ \cobj__obj -> -    wxGrid_GetSelectedCols cobj__obj   arr-foreign import ccall "wxGrid_GetSelectedCols" wxGrid_GetSelectedCols :: Ptr (TGrid a) -> Ptr CInt -> IO CInt---- | usage: (@gridGetSelectedRows obj@).-gridGetSelectedRows :: Grid  a ->  IO [Int]-gridGetSelectedRows _obj -  = withArrayIntResult $ \arr -> -    withObjectRef "gridGetSelectedRows" _obj $ \cobj__obj -> -    wxGrid_GetSelectedRows cobj__obj   arr-foreign import ccall "wxGrid_GetSelectedRows" wxGrid_GetSelectedRows :: Ptr (TGrid a) -> Ptr CInt -> IO CInt---- | usage: (@gridGetSelectionBackground obj@).-gridGetSelectionBackground :: Grid  a ->  IO (Color)-gridGetSelectionBackground _obj -  = withRefColour $ \pref -> -    withObjectRef "gridGetSelectionBackground" _obj $ \cobj__obj -> -    wxGrid_GetSelectionBackground cobj__obj   pref-foreign import ccall "wxGrid_GetSelectionBackground" wxGrid_GetSelectionBackground :: Ptr (TGrid a) -> Ptr (TColour ()) -> IO ()---- | usage: (@gridGetSelectionBlockBottomRight obj@).-gridGetSelectionBlockBottomRight :: Grid  a ->  IO (GridCellCoordsArray  ())-gridGetSelectionBlockBottomRight _obj -  = withRefGridCellCoordsArray $ \pref -> -    withObjectRef "gridGetSelectionBlockBottomRight" _obj $ \cobj__obj -> -    wxGrid_GetSelectionBlockBottomRight cobj__obj   pref-foreign import ccall "wxGrid_GetSelectionBlockBottomRight" wxGrid_GetSelectionBlockBottomRight :: Ptr (TGrid a) -> Ptr (TGridCellCoordsArray ()) -> IO ()---- | usage: (@gridGetSelectionBlockTopLeft obj@).-gridGetSelectionBlockTopLeft :: Grid  a ->  IO (GridCellCoordsArray  ())-gridGetSelectionBlockTopLeft _obj -  = withRefGridCellCoordsArray $ \pref -> -    withObjectRef "gridGetSelectionBlockTopLeft" _obj $ \cobj__obj -> -    wxGrid_GetSelectionBlockTopLeft cobj__obj   pref-foreign import ccall "wxGrid_GetSelectionBlockTopLeft" wxGrid_GetSelectionBlockTopLeft :: Ptr (TGrid a) -> Ptr (TGridCellCoordsArray ()) -> IO ()---- | usage: (@gridGetSelectionForeground obj@).-gridGetSelectionForeground :: Grid  a ->  IO (Color)-gridGetSelectionForeground _obj -  = withRefColour $ \pref -> -    withObjectRef "gridGetSelectionForeground" _obj $ \cobj__obj -> -    wxGrid_GetSelectionForeground cobj__obj   pref-foreign import ccall "wxGrid_GetSelectionForeground" wxGrid_GetSelectionForeground :: Ptr (TGrid a) -> Ptr (TColour ()) -> IO ()---- | usage: (@gridGetTable obj@).-gridGetTable :: Grid  a ->  IO (GridTableBase  ())-gridGetTable _obj -  = withObjectResult $-    withObjectRef "gridGetTable" _obj $ \cobj__obj -> -    wxGrid_GetTable cobj__obj  -foreign import ccall "wxGrid_GetTable" wxGrid_GetTable :: Ptr (TGrid a) -> IO (Ptr (TGridTableBase ()))---- | usage: (@gridGetTextBoxSize obj dc countlines@).-gridGetTextBoxSize :: Grid  a -> DC  b -> [String] ->  IO Size-gridGetTextBoxSize _obj dc countlines -  = withSizeResult $ \pw ph -> -    withObjectRef "gridGetTextBoxSize" _obj $ \cobj__obj -> -    withObjectPtr dc $ \cobj_dc -> -    withArrayWString countlines $ \carrlen_countlines carr_countlines -> -    wxGrid_GetTextBoxSize cobj__obj  cobj_dc  carrlen_countlines carr_countlines   pw ph-foreign import ccall "wxGrid_GetTextBoxSize" wxGrid_GetTextBoxSize :: Ptr (TGrid a) -> Ptr (TDC b) -> CInt -> Ptr (Ptr CWchar) -> Ptr CInt -> Ptr CInt -> IO ()---- | usage: (@gridGridLinesEnabled obj@).-gridGridLinesEnabled :: Grid  a ->  IO Int-gridGridLinesEnabled _obj -  = withIntResult $-    withObjectRef "gridGridLinesEnabled" _obj $ \cobj__obj -> -    wxGrid_GridLinesEnabled cobj__obj  -foreign import ccall "wxGrid_GridLinesEnabled" wxGrid_GridLinesEnabled :: Ptr (TGrid a) -> IO CInt---- | usage: (@gridHideCellEditControl obj@).-gridHideCellEditControl :: Grid  a ->  IO ()-gridHideCellEditControl _obj -  = withObjectRef "gridHideCellEditControl" _obj $ \cobj__obj -> -    wxGrid_HideCellEditControl cobj__obj  -foreign import ccall "wxGrid_HideCellEditControl" wxGrid_HideCellEditControl :: Ptr (TGrid a) -> IO ()---- | usage: (@gridInsertCols obj pos numCols updateLabels@).-gridInsertCols :: Grid  a -> Int -> Int -> Bool ->  IO Bool-gridInsertCols _obj pos numCols updateLabels -  = withBoolResult $-    withObjectRef "gridInsertCols" _obj $ \cobj__obj -> -    wxGrid_InsertCols cobj__obj  (toCInt pos)  (toCInt numCols)  (toCBool updateLabels)  -foreign import ccall "wxGrid_InsertCols" wxGrid_InsertCols :: Ptr (TGrid a) -> CInt -> CInt -> CBool -> IO CBool---- | usage: (@gridInsertRows obj pos numRows updateLabels@).-gridInsertRows :: Grid  a -> Int -> Int -> Bool ->  IO Bool-gridInsertRows _obj pos numRows updateLabels -  = withBoolResult $-    withObjectRef "gridInsertRows" _obj $ \cobj__obj -> -    wxGrid_InsertRows cobj__obj  (toCInt pos)  (toCInt numRows)  (toCBool updateLabels)  -foreign import ccall "wxGrid_InsertRows" wxGrid_InsertRows :: Ptr (TGrid a) -> CInt -> CInt -> CBool -> IO CBool---- | usage: (@gridIsCellEditControlEnabled obj@).-gridIsCellEditControlEnabled :: Grid  a ->  IO Bool-gridIsCellEditControlEnabled _obj -  = withBoolResult $-    withObjectRef "gridIsCellEditControlEnabled" _obj $ \cobj__obj -> -    wxGrid_IsCellEditControlEnabled cobj__obj  -foreign import ccall "wxGrid_IsCellEditControlEnabled" wxGrid_IsCellEditControlEnabled :: Ptr (TGrid a) -> IO CBool---- | usage: (@gridIsCellEditControlShown obj@).-gridIsCellEditControlShown :: Grid  a ->  IO Bool-gridIsCellEditControlShown _obj -  = withBoolResult $-    withObjectRef "gridIsCellEditControlShown" _obj $ \cobj__obj -> -    wxGrid_IsCellEditControlShown cobj__obj  -foreign import ccall "wxGrid_IsCellEditControlShown" wxGrid_IsCellEditControlShown :: Ptr (TGrid a) -> IO CBool---- | usage: (@gridIsCurrentCellReadOnly obj@).-gridIsCurrentCellReadOnly :: Grid  a ->  IO Bool-gridIsCurrentCellReadOnly _obj -  = withBoolResult $-    withObjectRef "gridIsCurrentCellReadOnly" _obj $ \cobj__obj -> -    wxGrid_IsCurrentCellReadOnly cobj__obj  -foreign import ccall "wxGrid_IsCurrentCellReadOnly" wxGrid_IsCurrentCellReadOnly :: Ptr (TGrid a) -> IO CBool---- | usage: (@gridIsEditable obj@).-gridIsEditable :: Grid  a ->  IO Bool-gridIsEditable _obj -  = withBoolResult $-    withObjectRef "gridIsEditable" _obj $ \cobj__obj -> -    wxGrid_IsEditable cobj__obj  -foreign import ccall "wxGrid_IsEditable" wxGrid_IsEditable :: Ptr (TGrid a) -> IO CBool---- | usage: (@gridIsInSelection obj row col@).-gridIsInSelection :: Grid  a -> Int -> Int ->  IO Bool-gridIsInSelection _obj row col -  = withBoolResult $-    withObjectRef "gridIsInSelection" _obj $ \cobj__obj -> -    wxGrid_IsInSelection cobj__obj  (toCInt row)  (toCInt col)  -foreign import ccall "wxGrid_IsInSelection" wxGrid_IsInSelection :: Ptr (TGrid a) -> CInt -> CInt -> IO CBool---- | usage: (@gridIsReadOnly obj row col@).-gridIsReadOnly :: Grid  a -> Int -> Int ->  IO Bool-gridIsReadOnly _obj row col -  = withBoolResult $-    withObjectRef "gridIsReadOnly" _obj $ \cobj__obj -> -    wxGrid_IsReadOnly cobj__obj  (toCInt row)  (toCInt col)  -foreign import ccall "wxGrid_IsReadOnly" wxGrid_IsReadOnly :: Ptr (TGrid a) -> CInt -> CInt -> IO CBool---- | usage: (@gridIsSelection obj@).-gridIsSelection :: Grid  a ->  IO Bool-gridIsSelection _obj -  = withBoolResult $-    withObjectRef "gridIsSelection" _obj $ \cobj__obj -> -    wxGrid_IsSelection cobj__obj  -foreign import ccall "wxGrid_IsSelection" wxGrid_IsSelection :: Ptr (TGrid a) -> IO CBool---- | usage: (@gridIsVisible obj row col wholeCellVisible@).-gridIsVisible :: Grid  a -> Int -> Int -> Bool ->  IO Bool-gridIsVisible _obj row col wholeCellVisible -  = withBoolResult $-    withObjectRef "gridIsVisible" _obj $ \cobj__obj -> -    wxGrid_IsVisible cobj__obj  (toCInt row)  (toCInt col)  (toCBool wholeCellVisible)  -foreign import ccall "wxGrid_IsVisible" wxGrid_IsVisible :: Ptr (TGrid a) -> CInt -> CInt -> CBool -> IO CBool---- | usage: (@gridMakeCellVisible obj row col@).-gridMakeCellVisible :: Grid  a -> Int -> Int ->  IO ()-gridMakeCellVisible _obj row col -  = withObjectRef "gridMakeCellVisible" _obj $ \cobj__obj -> -    wxGrid_MakeCellVisible cobj__obj  (toCInt row)  (toCInt col)  -foreign import ccall "wxGrid_MakeCellVisible" wxGrid_MakeCellVisible :: Ptr (TGrid a) -> CInt -> CInt -> IO ()---- | usage: (@gridMoveCursorDown obj expandSelection@).-gridMoveCursorDown :: Grid  a -> Bool ->  IO Bool-gridMoveCursorDown _obj expandSelection -  = withBoolResult $-    withObjectRef "gridMoveCursorDown" _obj $ \cobj__obj -> -    wxGrid_MoveCursorDown cobj__obj  (toCBool expandSelection)  -foreign import ccall "wxGrid_MoveCursorDown" wxGrid_MoveCursorDown :: Ptr (TGrid a) -> CBool -> IO CBool---- | usage: (@gridMoveCursorDownBlock obj expandSelection@).-gridMoveCursorDownBlock :: Grid  a -> Bool ->  IO Bool-gridMoveCursorDownBlock _obj expandSelection -  = withBoolResult $-    withObjectRef "gridMoveCursorDownBlock" _obj $ \cobj__obj -> -    wxGrid_MoveCursorDownBlock cobj__obj  (toCBool expandSelection)  -foreign import ccall "wxGrid_MoveCursorDownBlock" wxGrid_MoveCursorDownBlock :: Ptr (TGrid a) -> CBool -> IO CBool---- | usage: (@gridMoveCursorLeft obj expandSelection@).-gridMoveCursorLeft :: Grid  a -> Bool ->  IO Bool-gridMoveCursorLeft _obj expandSelection -  = withBoolResult $-    withObjectRef "gridMoveCursorLeft" _obj $ \cobj__obj -> -    wxGrid_MoveCursorLeft cobj__obj  (toCBool expandSelection)  -foreign import ccall "wxGrid_MoveCursorLeft" wxGrid_MoveCursorLeft :: Ptr (TGrid a) -> CBool -> IO CBool---- | usage: (@gridMoveCursorLeftBlock obj expandSelection@).-gridMoveCursorLeftBlock :: Grid  a -> Bool ->  IO Bool-gridMoveCursorLeftBlock _obj expandSelection -  = withBoolResult $-    withObjectRef "gridMoveCursorLeftBlock" _obj $ \cobj__obj -> -    wxGrid_MoveCursorLeftBlock cobj__obj  (toCBool expandSelection)  -foreign import ccall "wxGrid_MoveCursorLeftBlock" wxGrid_MoveCursorLeftBlock :: Ptr (TGrid a) -> CBool -> IO CBool---- | usage: (@gridMoveCursorRight obj expandSelection@).-gridMoveCursorRight :: Grid  a -> Bool ->  IO Bool-gridMoveCursorRight _obj expandSelection -  = withBoolResult $-    withObjectRef "gridMoveCursorRight" _obj $ \cobj__obj -> -    wxGrid_MoveCursorRight cobj__obj  (toCBool expandSelection)  -foreign import ccall "wxGrid_MoveCursorRight" wxGrid_MoveCursorRight :: Ptr (TGrid a) -> CBool -> IO CBool---- | usage: (@gridMoveCursorRightBlock obj expandSelection@).-gridMoveCursorRightBlock :: Grid  a -> Bool ->  IO Bool-gridMoveCursorRightBlock _obj expandSelection -  = withBoolResult $-    withObjectRef "gridMoveCursorRightBlock" _obj $ \cobj__obj -> -    wxGrid_MoveCursorRightBlock cobj__obj  (toCBool expandSelection)  -foreign import ccall "wxGrid_MoveCursorRightBlock" wxGrid_MoveCursorRightBlock :: Ptr (TGrid a) -> CBool -> IO CBool---- | usage: (@gridMoveCursorUp obj expandSelection@).-gridMoveCursorUp :: Grid  a -> Bool ->  IO Bool-gridMoveCursorUp _obj expandSelection -  = withBoolResult $-    withObjectRef "gridMoveCursorUp" _obj $ \cobj__obj -> -    wxGrid_MoveCursorUp cobj__obj  (toCBool expandSelection)  -foreign import ccall "wxGrid_MoveCursorUp" wxGrid_MoveCursorUp :: Ptr (TGrid a) -> CBool -> IO CBool---- | usage: (@gridMoveCursorUpBlock obj expandSelection@).-gridMoveCursorUpBlock :: Grid  a -> Bool ->  IO Bool-gridMoveCursorUpBlock _obj expandSelection -  = withBoolResult $-    withObjectRef "gridMoveCursorUpBlock" _obj $ \cobj__obj -> -    wxGrid_MoveCursorUpBlock cobj__obj  (toCBool expandSelection)  -foreign import ccall "wxGrid_MoveCursorUpBlock" wxGrid_MoveCursorUpBlock :: Ptr (TGrid a) -> CBool -> IO CBool---- | usage: (@gridMovePageDown obj@).-gridMovePageDown :: Grid  a ->  IO Bool-gridMovePageDown _obj -  = withBoolResult $-    withObjectRef "gridMovePageDown" _obj $ \cobj__obj -> -    wxGrid_MovePageDown cobj__obj  -foreign import ccall "wxGrid_MovePageDown" wxGrid_MovePageDown :: Ptr (TGrid a) -> IO CBool---- | usage: (@gridMovePageUp obj@).-gridMovePageUp :: Grid  a ->  IO Bool-gridMovePageUp _obj -  = withBoolResult $-    withObjectRef "gridMovePageUp" _obj $ \cobj__obj -> -    wxGrid_MovePageUp cobj__obj  -foreign import ccall "wxGrid_MovePageUp" wxGrid_MovePageUp :: Ptr (TGrid a) -> IO CBool---- | usage: (@gridNewCalcCellsExposed obj reg@).-gridNewCalcCellsExposed :: Grid  a -> Region  b ->  IO (GridCellCoordsArray  ())-gridNewCalcCellsExposed _obj reg -  = withRefGridCellCoordsArray $ \pref -> -    withObjectRef "gridNewCalcCellsExposed" _obj $ \cobj__obj -> -    withObjectPtr reg $ \cobj_reg -> -    wxGrid_NewCalcCellsExposed cobj__obj  cobj_reg   pref-foreign import ccall "wxGrid_NewCalcCellsExposed" wxGrid_NewCalcCellsExposed :: Ptr (TGrid a) -> Ptr (TRegion b) -> Ptr (TGridCellCoordsArray ()) -> IO ()---- | usage: (@gridNewDrawGridCellArea obj dc arr@).-gridNewDrawGridCellArea :: Grid  a -> DC  b -> GridCellCoordsArray  c ->  IO ()-gridNewDrawGridCellArea _obj dc arr -  = withObjectRef "gridNewDrawGridCellArea" _obj $ \cobj__obj -> -    withObjectPtr dc $ \cobj_dc -> -    withObjectPtr arr $ \cobj_arr -> -    wxGrid_NewDrawGridCellArea cobj__obj  cobj_dc  cobj_arr  -foreign import ccall "wxGrid_NewDrawGridCellArea" wxGrid_NewDrawGridCellArea :: Ptr (TGrid a) -> Ptr (TDC b) -> Ptr (TGridCellCoordsArray c) -> IO ()---- | usage: (@gridNewDrawHighlight obj dc arr@).-gridNewDrawHighlight :: Grid  a -> DC  b -> GridCellCoordsArray  c ->  IO ()-gridNewDrawHighlight _obj dc arr -  = withObjectRef "gridNewDrawHighlight" _obj $ \cobj__obj -> -    withObjectPtr dc $ \cobj_dc -> -    withObjectPtr arr $ \cobj_arr -> -    wxGrid_NewDrawHighlight cobj__obj  cobj_dc  cobj_arr  -foreign import ccall "wxGrid_NewDrawHighlight" wxGrid_NewDrawHighlight :: Ptr (TGrid a) -> Ptr (TDC b) -> Ptr (TGridCellCoordsArray c) -> IO ()---- | usage: (@gridProcessColLabelMouseEvent obj event@).-gridProcessColLabelMouseEvent :: Grid  a -> MouseEvent  b ->  IO ()-gridProcessColLabelMouseEvent _obj event -  = withObjectRef "gridProcessColLabelMouseEvent" _obj $ \cobj__obj -> -    withObjectPtr event $ \cobj_event -> -    wxGrid_ProcessColLabelMouseEvent cobj__obj  cobj_event  -foreign import ccall "wxGrid_ProcessColLabelMouseEvent" wxGrid_ProcessColLabelMouseEvent :: Ptr (TGrid a) -> Ptr (TMouseEvent b) -> IO ()---- | usage: (@gridProcessCornerLabelMouseEvent obj event@).-gridProcessCornerLabelMouseEvent :: Grid  a -> MouseEvent  b ->  IO ()-gridProcessCornerLabelMouseEvent _obj event -  = withObjectRef "gridProcessCornerLabelMouseEvent" _obj $ \cobj__obj -> -    withObjectPtr event $ \cobj_event -> -    wxGrid_ProcessCornerLabelMouseEvent cobj__obj  cobj_event  -foreign import ccall "wxGrid_ProcessCornerLabelMouseEvent" wxGrid_ProcessCornerLabelMouseEvent :: Ptr (TGrid a) -> Ptr (TMouseEvent b) -> IO ()---- | usage: (@gridProcessGridCellMouseEvent obj event@).-gridProcessGridCellMouseEvent :: Grid  a -> MouseEvent  b ->  IO ()-gridProcessGridCellMouseEvent _obj event -  = withObjectRef "gridProcessGridCellMouseEvent" _obj $ \cobj__obj -> -    withObjectPtr event $ \cobj_event -> -    wxGrid_ProcessGridCellMouseEvent cobj__obj  cobj_event  -foreign import ccall "wxGrid_ProcessGridCellMouseEvent" wxGrid_ProcessGridCellMouseEvent :: Ptr (TGrid a) -> Ptr (TMouseEvent b) -> IO ()---- | usage: (@gridProcessRowLabelMouseEvent obj event@).-gridProcessRowLabelMouseEvent :: Grid  a -> MouseEvent  b ->  IO ()-gridProcessRowLabelMouseEvent _obj event -  = withObjectRef "gridProcessRowLabelMouseEvent" _obj $ \cobj__obj -> -    withObjectPtr event $ \cobj_event -> -    wxGrid_ProcessRowLabelMouseEvent cobj__obj  cobj_event  -foreign import ccall "wxGrid_ProcessRowLabelMouseEvent" wxGrid_ProcessRowLabelMouseEvent :: Ptr (TGrid a) -> Ptr (TMouseEvent b) -> IO ()---- | usage: (@gridProcessTableMessage obj evt@).-gridProcessTableMessage :: Grid  a -> Event  b ->  IO Bool-gridProcessTableMessage _obj evt -  = withBoolResult $-    withObjectRef "gridProcessTableMessage" _obj $ \cobj__obj -> -    withObjectPtr evt $ \cobj_evt -> -    wxGrid_ProcessTableMessage cobj__obj  cobj_evt  -foreign import ccall "wxGrid_ProcessTableMessage" wxGrid_ProcessTableMessage :: Ptr (TGrid a) -> Ptr (TEvent b) -> IO CBool---- | usage: (@gridRangeSelectEventAltDown obj@).-gridRangeSelectEventAltDown :: GridRangeSelectEvent  a ->  IO Bool-gridRangeSelectEventAltDown _obj -  = withBoolResult $-    withObjectRef "gridRangeSelectEventAltDown" _obj $ \cobj__obj -> -    wxGridRangeSelectEvent_AltDown cobj__obj  -foreign import ccall "wxGridRangeSelectEvent_AltDown" wxGridRangeSelectEvent_AltDown :: Ptr (TGridRangeSelectEvent a) -> IO CBool---- | usage: (@gridRangeSelectEventControlDown obj@).-gridRangeSelectEventControlDown :: GridRangeSelectEvent  a ->  IO Bool-gridRangeSelectEventControlDown _obj -  = withBoolResult $-    withObjectRef "gridRangeSelectEventControlDown" _obj $ \cobj__obj -> -    wxGridRangeSelectEvent_ControlDown cobj__obj  -foreign import ccall "wxGridRangeSelectEvent_ControlDown" wxGridRangeSelectEvent_ControlDown :: Ptr (TGridRangeSelectEvent a) -> IO CBool---- | usage: (@gridRangeSelectEventGetBottomRightCoords obj@).-gridRangeSelectEventGetBottomRightCoords :: GridRangeSelectEvent  a ->  IO Point-gridRangeSelectEventGetBottomRightCoords _obj -  = withPointResult $ \px py -> -    withObjectRef "gridRangeSelectEventGetBottomRightCoords" _obj $ \cobj__obj -> -    wxGridRangeSelectEvent_GetBottomRightCoords cobj__obj   px py-foreign import ccall "wxGridRangeSelectEvent_GetBottomRightCoords" wxGridRangeSelectEvent_GetBottomRightCoords :: Ptr (TGridRangeSelectEvent a) -> Ptr CInt -> Ptr CInt -> IO ()---- | usage: (@gridRangeSelectEventGetBottomRow obj@).-gridRangeSelectEventGetBottomRow :: GridRangeSelectEvent  a ->  IO Int-gridRangeSelectEventGetBottomRow _obj -  = withIntResult $-    withObjectRef "gridRangeSelectEventGetBottomRow" _obj $ \cobj__obj -> -    wxGridRangeSelectEvent_GetBottomRow cobj__obj  -foreign import ccall "wxGridRangeSelectEvent_GetBottomRow" wxGridRangeSelectEvent_GetBottomRow :: Ptr (TGridRangeSelectEvent a) -> IO CInt---- | usage: (@gridRangeSelectEventGetLeftCol obj@).-gridRangeSelectEventGetLeftCol :: GridRangeSelectEvent  a ->  IO Int-gridRangeSelectEventGetLeftCol _obj -  = withIntResult $-    withObjectRef "gridRangeSelectEventGetLeftCol" _obj $ \cobj__obj -> -    wxGridRangeSelectEvent_GetLeftCol cobj__obj  -foreign import ccall "wxGridRangeSelectEvent_GetLeftCol" wxGridRangeSelectEvent_GetLeftCol :: Ptr (TGridRangeSelectEvent a) -> IO CInt---- | usage: (@gridRangeSelectEventGetRightCol obj@).-gridRangeSelectEventGetRightCol :: GridRangeSelectEvent  a ->  IO Int-gridRangeSelectEventGetRightCol _obj -  = withIntResult $-    withObjectRef "gridRangeSelectEventGetRightCol" _obj $ \cobj__obj -> -    wxGridRangeSelectEvent_GetRightCol cobj__obj  -foreign import ccall "wxGridRangeSelectEvent_GetRightCol" wxGridRangeSelectEvent_GetRightCol :: Ptr (TGridRangeSelectEvent a) -> IO CInt---- | usage: (@gridRangeSelectEventGetTopLeftCoords obj@).-gridRangeSelectEventGetTopLeftCoords :: GridRangeSelectEvent  a ->  IO Point-gridRangeSelectEventGetTopLeftCoords _obj -  = withPointResult $ \px py -> -    withObjectRef "gridRangeSelectEventGetTopLeftCoords" _obj $ \cobj__obj -> -    wxGridRangeSelectEvent_GetTopLeftCoords cobj__obj   px py-foreign import ccall "wxGridRangeSelectEvent_GetTopLeftCoords" wxGridRangeSelectEvent_GetTopLeftCoords :: Ptr (TGridRangeSelectEvent a) -> Ptr CInt -> Ptr CInt -> IO ()---- | usage: (@gridRangeSelectEventGetTopRow obj@).-gridRangeSelectEventGetTopRow :: GridRangeSelectEvent  a ->  IO Int-gridRangeSelectEventGetTopRow _obj -  = withIntResult $-    withObjectRef "gridRangeSelectEventGetTopRow" _obj $ \cobj__obj -> -    wxGridRangeSelectEvent_GetTopRow cobj__obj  -foreign import ccall "wxGridRangeSelectEvent_GetTopRow" wxGridRangeSelectEvent_GetTopRow :: Ptr (TGridRangeSelectEvent a) -> IO CInt---- | usage: (@gridRangeSelectEventMetaDown obj@).-gridRangeSelectEventMetaDown :: GridRangeSelectEvent  a ->  IO Bool-gridRangeSelectEventMetaDown _obj -  = withBoolResult $-    withObjectRef "gridRangeSelectEventMetaDown" _obj $ \cobj__obj -> -    wxGridRangeSelectEvent_MetaDown cobj__obj  -foreign import ccall "wxGridRangeSelectEvent_MetaDown" wxGridRangeSelectEvent_MetaDown :: Ptr (TGridRangeSelectEvent a) -> IO CBool---- | usage: (@gridRangeSelectEventSelecting obj@).-gridRangeSelectEventSelecting :: GridRangeSelectEvent  a ->  IO Bool-gridRangeSelectEventSelecting _obj -  = withBoolResult $-    withObjectRef "gridRangeSelectEventSelecting" _obj $ \cobj__obj -> -    wxGridRangeSelectEvent_Selecting cobj__obj  -foreign import ccall "wxGridRangeSelectEvent_Selecting" wxGridRangeSelectEvent_Selecting :: Ptr (TGridRangeSelectEvent a) -> IO CBool---- | usage: (@gridRangeSelectEventShiftDown obj@).-gridRangeSelectEventShiftDown :: GridRangeSelectEvent  a ->  IO Bool-gridRangeSelectEventShiftDown _obj -  = withBoolResult $-    withObjectRef "gridRangeSelectEventShiftDown" _obj $ \cobj__obj -> -    wxGridRangeSelectEvent_ShiftDown cobj__obj  -foreign import ccall "wxGridRangeSelectEvent_ShiftDown" wxGridRangeSelectEvent_ShiftDown :: Ptr (TGridRangeSelectEvent a) -> IO CBool---- | usage: (@gridRegisterDataType obj typeName renderer editor@).-gridRegisterDataType :: Grid  a -> String -> GridCellRenderer  c -> GridCellEditor  d ->  IO ()-gridRegisterDataType _obj typeName renderer editor -  = withObjectRef "gridRegisterDataType" _obj $ \cobj__obj -> -    withStringPtr typeName $ \cobj_typeName -> -    withObjectPtr renderer $ \cobj_renderer -> -    withObjectPtr editor $ \cobj_editor -> -    wxGrid_RegisterDataType cobj__obj  cobj_typeName  cobj_renderer  cobj_editor  -foreign import ccall "wxGrid_RegisterDataType" wxGrid_RegisterDataType :: Ptr (TGrid a) -> Ptr (TWxString b) -> Ptr (TGridCellRenderer c) -> Ptr (TGridCellEditor d) -> IO ()---- | usage: (@gridSaveEditControlValue obj@).-gridSaveEditControlValue :: Grid  a ->  IO ()-gridSaveEditControlValue _obj -  = withObjectRef "gridSaveEditControlValue" _obj $ \cobj__obj -> -    wxGrid_SaveEditControlValue cobj__obj  -foreign import ccall "wxGrid_SaveEditControlValue" wxGrid_SaveEditControlValue :: Ptr (TGrid a) -> IO ()---- | usage: (@gridSelectAll obj@).-gridSelectAll :: Grid  a ->  IO ()-gridSelectAll _obj -  = withObjectRef "gridSelectAll" _obj $ \cobj__obj -> -    wxGrid_SelectAll cobj__obj  -foreign import ccall "wxGrid_SelectAll" wxGrid_SelectAll :: Ptr (TGrid a) -> IO ()---- | usage: (@gridSelectBlock obj topRow leftCol bottomRow rightCol addToSelected@).-gridSelectBlock :: Grid  a -> Int -> Int -> Int -> Int -> Bool ->  IO ()-gridSelectBlock _obj topRow leftCol bottomRow rightCol addToSelected -  = withObjectRef "gridSelectBlock" _obj $ \cobj__obj -> -    wxGrid_SelectBlock cobj__obj  (toCInt topRow)  (toCInt leftCol)  (toCInt bottomRow)  (toCInt rightCol)  (toCBool addToSelected)  -foreign import ccall "wxGrid_SelectBlock" wxGrid_SelectBlock :: Ptr (TGrid a) -> CInt -> CInt -> CInt -> CInt -> CBool -> IO ()---- | usage: (@gridSelectCol obj col addToSelected@).-gridSelectCol :: Grid  a -> Int -> Bool ->  IO ()-gridSelectCol _obj col addToSelected -  = withObjectRef "gridSelectCol" _obj $ \cobj__obj -> -    wxGrid_SelectCol cobj__obj  (toCInt col)  (toCBool addToSelected)  -foreign import ccall "wxGrid_SelectCol" wxGrid_SelectCol :: Ptr (TGrid a) -> CInt -> CBool -> IO ()---- | usage: (@gridSelectRow obj row addToSelected@).-gridSelectRow :: Grid  a -> Int -> Bool ->  IO ()-gridSelectRow _obj row addToSelected -  = withObjectRef "gridSelectRow" _obj $ \cobj__obj -> -    wxGrid_SelectRow cobj__obj  (toCInt row)  (toCBool addToSelected)  -foreign import ccall "wxGrid_SelectRow" wxGrid_SelectRow :: Ptr (TGrid a) -> CInt -> CBool -> IO ()---- | usage: (@gridSetCellAlignment obj row col horiz vert@).-gridSetCellAlignment :: Grid  a -> Int -> Int -> Int -> Int ->  IO ()-gridSetCellAlignment _obj row col horiz vert -  = withObjectRef "gridSetCellAlignment" _obj $ \cobj__obj -> -    wxGrid_SetCellAlignment cobj__obj  (toCInt row)  (toCInt col)  (toCInt horiz)  (toCInt vert)  -foreign import ccall "wxGrid_SetCellAlignment" wxGrid_SetCellAlignment :: Ptr (TGrid a) -> CInt -> CInt -> CInt -> CInt -> IO ()---- | usage: (@gridSetCellBackgroundColour obj row col colour@).-gridSetCellBackgroundColour :: Grid  a -> Int -> Int -> Color ->  IO ()-gridSetCellBackgroundColour _obj row col colour -  = withObjectRef "gridSetCellBackgroundColour" _obj $ \cobj__obj -> -    withColourPtr colour $ \cobj_colour -> -    wxGrid_SetCellBackgroundColour cobj__obj  (toCInt row)  (toCInt col)  cobj_colour  -foreign import ccall "wxGrid_SetCellBackgroundColour" wxGrid_SetCellBackgroundColour :: Ptr (TGrid a) -> CInt -> CInt -> Ptr (TColour d) -> IO ()---- | usage: (@gridSetCellEditor obj row col editor@).-gridSetCellEditor :: Grid  a -> Int -> Int -> GridCellEditor  d ->  IO ()-gridSetCellEditor _obj row col editor -  = withObjectRef "gridSetCellEditor" _obj $ \cobj__obj -> -    withObjectPtr editor $ \cobj_editor -> -    wxGrid_SetCellEditor cobj__obj  (toCInt row)  (toCInt col)  cobj_editor  -foreign import ccall "wxGrid_SetCellEditor" wxGrid_SetCellEditor :: Ptr (TGrid a) -> CInt -> CInt -> Ptr (TGridCellEditor d) -> IO ()---- | usage: (@gridSetCellFont obj row col font@).-gridSetCellFont :: Grid  a -> Int -> Int -> Font  d ->  IO ()-gridSetCellFont _obj row col font -  = withObjectRef "gridSetCellFont" _obj $ \cobj__obj -> -    withObjectPtr font $ \cobj_font -> -    wxGrid_SetCellFont cobj__obj  (toCInt row)  (toCInt col)  cobj_font  -foreign import ccall "wxGrid_SetCellFont" wxGrid_SetCellFont :: Ptr (TGrid a) -> CInt -> CInt -> Ptr (TFont d) -> IO ()---- | usage: (@gridSetCellHighlightColour obj col@).-gridSetCellHighlightColour :: Grid  a -> Color ->  IO ()-gridSetCellHighlightColour _obj col -  = withObjectRef "gridSetCellHighlightColour" _obj $ \cobj__obj -> -    withColourPtr col $ \cobj_col -> -    wxGrid_SetCellHighlightColour cobj__obj  cobj_col  -foreign import ccall "wxGrid_SetCellHighlightColour" wxGrid_SetCellHighlightColour :: Ptr (TGrid a) -> Ptr (TColour b) -> IO ()---- | usage: (@gridSetCellRenderer obj row col renderer@).-gridSetCellRenderer :: Grid  a -> Int -> Int -> GridCellRenderer  d ->  IO ()-gridSetCellRenderer _obj row col renderer -  = withObjectRef "gridSetCellRenderer" _obj $ \cobj__obj -> -    withObjectPtr renderer $ \cobj_renderer -> -    wxGrid_SetCellRenderer cobj__obj  (toCInt row)  (toCInt col)  cobj_renderer  -foreign import ccall "wxGrid_SetCellRenderer" wxGrid_SetCellRenderer :: Ptr (TGrid a) -> CInt -> CInt -> Ptr (TGridCellRenderer d) -> IO ()---- | usage: (@gridSetCellTextColour obj row col colour@).-gridSetCellTextColour :: Grid  a -> Int -> Int -> Color ->  IO ()-gridSetCellTextColour _obj row col colour -  = withObjectRef "gridSetCellTextColour" _obj $ \cobj__obj -> -    withColourPtr colour $ \cobj_colour -> -    wxGrid_SetCellTextColour cobj__obj  (toCInt row)  (toCInt col)  cobj_colour  -foreign import ccall "wxGrid_SetCellTextColour" wxGrid_SetCellTextColour :: Ptr (TGrid a) -> CInt -> CInt -> Ptr (TColour d) -> IO ()---- | usage: (@gridSetCellValue obj row col s@).-gridSetCellValue :: Grid  a -> Int -> Int -> String ->  IO ()-gridSetCellValue _obj row col s -  = withObjectRef "gridSetCellValue" _obj $ \cobj__obj -> -    withStringPtr s $ \cobj_s -> -    wxGrid_SetCellValue cobj__obj  (toCInt row)  (toCInt col)  cobj_s  -foreign import ccall "wxGrid_SetCellValue" wxGrid_SetCellValue :: Ptr (TGrid a) -> CInt -> CInt -> Ptr (TWxString d) -> IO ()---- | usage: (@gridSetColAttr obj col attr@).-gridSetColAttr :: Grid  a -> Int -> GridCellAttr  c ->  IO ()-gridSetColAttr _obj col attr -  = withObjectRef "gridSetColAttr" _obj $ \cobj__obj -> -    withObjectPtr attr $ \cobj_attr -> -    wxGrid_SetColAttr cobj__obj  (toCInt col)  cobj_attr  -foreign import ccall "wxGrid_SetColAttr" wxGrid_SetColAttr :: Ptr (TGrid a) -> CInt -> Ptr (TGridCellAttr c) -> IO ()---- | usage: (@gridSetColFormatBool obj col@).-gridSetColFormatBool :: Grid  a -> Int ->  IO ()-gridSetColFormatBool _obj col -  = withObjectRef "gridSetColFormatBool" _obj $ \cobj__obj -> -    wxGrid_SetColFormatBool cobj__obj  (toCInt col)  -foreign import ccall "wxGrid_SetColFormatBool" wxGrid_SetColFormatBool :: Ptr (TGrid a) -> CInt -> IO ()---- | usage: (@gridSetColFormatCustom obj col typeName@).-gridSetColFormatCustom :: Grid  a -> Int -> String ->  IO ()-gridSetColFormatCustom _obj col typeName -  = withObjectRef "gridSetColFormatCustom" _obj $ \cobj__obj -> -    withStringPtr typeName $ \cobj_typeName -> -    wxGrid_SetColFormatCustom cobj__obj  (toCInt col)  cobj_typeName  -foreign import ccall "wxGrid_SetColFormatCustom" wxGrid_SetColFormatCustom :: Ptr (TGrid a) -> CInt -> Ptr (TWxString c) -> IO ()---- | usage: (@gridSetColFormatFloat obj col width precision@).-gridSetColFormatFloat :: Grid  a -> Int -> Int -> Int ->  IO ()-gridSetColFormatFloat _obj col width precision -  = withObjectRef "gridSetColFormatFloat" _obj $ \cobj__obj -> -    wxGrid_SetColFormatFloat cobj__obj  (toCInt col)  (toCInt width)  (toCInt precision)  -foreign import ccall "wxGrid_SetColFormatFloat" wxGrid_SetColFormatFloat :: Ptr (TGrid a) -> CInt -> CInt -> CInt -> IO ()---- | usage: (@gridSetColFormatNumber obj col@).-gridSetColFormatNumber :: Grid  a -> Int ->  IO ()-gridSetColFormatNumber _obj col -  = withObjectRef "gridSetColFormatNumber" _obj $ \cobj__obj -> -    wxGrid_SetColFormatNumber cobj__obj  (toCInt col)  -foreign import ccall "wxGrid_SetColFormatNumber" wxGrid_SetColFormatNumber :: Ptr (TGrid a) -> CInt -> IO ()---- | usage: (@gridSetColLabelAlignment obj horiz vert@).-gridSetColLabelAlignment :: Grid  a -> Int -> Int ->  IO ()-gridSetColLabelAlignment _obj horiz vert -  = withObjectRef "gridSetColLabelAlignment" _obj $ \cobj__obj -> -    wxGrid_SetColLabelAlignment cobj__obj  (toCInt horiz)  (toCInt vert)  -foreign import ccall "wxGrid_SetColLabelAlignment" wxGrid_SetColLabelAlignment :: Ptr (TGrid a) -> CInt -> CInt -> IO ()---- | usage: (@gridSetColLabelSize obj height@).-gridSetColLabelSize :: Grid  a -> Int ->  IO ()-gridSetColLabelSize _obj height -  = withObjectRef "gridSetColLabelSize" _obj $ \cobj__obj -> -    wxGrid_SetColLabelSize cobj__obj  (toCInt height)  -foreign import ccall "wxGrid_SetColLabelSize" wxGrid_SetColLabelSize :: Ptr (TGrid a) -> CInt -> IO ()---- | usage: (@gridSetColLabelValue obj col label@).-gridSetColLabelValue :: Grid  a -> Int -> String ->  IO ()-gridSetColLabelValue _obj col label -  = withObjectRef "gridSetColLabelValue" _obj $ \cobj__obj -> -    withStringPtr label $ \cobj_label -> -    wxGrid_SetColLabelValue cobj__obj  (toCInt col)  cobj_label  -foreign import ccall "wxGrid_SetColLabelValue" wxGrid_SetColLabelValue :: Ptr (TGrid a) -> CInt -> Ptr (TWxString c) -> IO ()---- | usage: (@gridSetColMinimalWidth obj col width@).-gridSetColMinimalWidth :: Grid  a -> Int -> Int ->  IO ()-gridSetColMinimalWidth _obj col width -  = withObjectRef "gridSetColMinimalWidth" _obj $ \cobj__obj -> -    wxGrid_SetColMinimalWidth cobj__obj  (toCInt col)  (toCInt width)  -foreign import ccall "wxGrid_SetColMinimalWidth" wxGrid_SetColMinimalWidth :: Ptr (TGrid a) -> CInt -> CInt -> IO ()---- | usage: (@gridSetColSize obj col width@).-gridSetColSize :: Grid  a -> Int -> Int ->  IO ()-gridSetColSize _obj col width -  = withObjectRef "gridSetColSize" _obj $ \cobj__obj -> -    wxGrid_SetColSize cobj__obj  (toCInt col)  (toCInt width)  -foreign import ccall "wxGrid_SetColSize" wxGrid_SetColSize :: Ptr (TGrid a) -> CInt -> CInt -> IO ()---- | usage: (@gridSetDefaultCellAlignment obj horiz vert@).-gridSetDefaultCellAlignment :: Grid  a -> Int -> Int ->  IO ()-gridSetDefaultCellAlignment _obj horiz vert -  = withObjectRef "gridSetDefaultCellAlignment" _obj $ \cobj__obj -> -    wxGrid_SetDefaultCellAlignment cobj__obj  (toCInt horiz)  (toCInt vert)  -foreign import ccall "wxGrid_SetDefaultCellAlignment" wxGrid_SetDefaultCellAlignment :: Ptr (TGrid a) -> CInt -> CInt -> IO ()---- | usage: (@gridSetDefaultCellBackgroundColour obj colour@).-gridSetDefaultCellBackgroundColour :: Grid  a -> Color ->  IO ()-gridSetDefaultCellBackgroundColour _obj colour -  = withObjectRef "gridSetDefaultCellBackgroundColour" _obj $ \cobj__obj -> -    withColourPtr colour $ \cobj_colour -> -    wxGrid_SetDefaultCellBackgroundColour cobj__obj  cobj_colour  -foreign import ccall "wxGrid_SetDefaultCellBackgroundColour" wxGrid_SetDefaultCellBackgroundColour :: Ptr (TGrid a) -> Ptr (TColour b) -> IO ()---- | usage: (@gridSetDefaultCellFont obj font@).-gridSetDefaultCellFont :: Grid  a -> Font  b ->  IO ()-gridSetDefaultCellFont _obj font -  = withObjectRef "gridSetDefaultCellFont" _obj $ \cobj__obj -> -    withObjectPtr font $ \cobj_font -> -    wxGrid_SetDefaultCellFont cobj__obj  cobj_font  -foreign import ccall "wxGrid_SetDefaultCellFont" wxGrid_SetDefaultCellFont :: Ptr (TGrid a) -> Ptr (TFont b) -> IO ()---- | usage: (@gridSetDefaultCellTextColour obj colour@).-gridSetDefaultCellTextColour :: Grid  a -> Color ->  IO ()-gridSetDefaultCellTextColour _obj colour -  = withObjectRef "gridSetDefaultCellTextColour" _obj $ \cobj__obj -> -    withColourPtr colour $ \cobj_colour -> -    wxGrid_SetDefaultCellTextColour cobj__obj  cobj_colour  -foreign import ccall "wxGrid_SetDefaultCellTextColour" wxGrid_SetDefaultCellTextColour :: Ptr (TGrid a) -> Ptr (TColour b) -> IO ()---- | usage: (@gridSetDefaultColSize obj width resizeExistingCols@).-gridSetDefaultColSize :: Grid  a -> Int -> Bool ->  IO ()-gridSetDefaultColSize _obj width resizeExistingCols -  = withObjectRef "gridSetDefaultColSize" _obj $ \cobj__obj -> -    wxGrid_SetDefaultColSize cobj__obj  (toCInt width)  (toCBool resizeExistingCols)  -foreign import ccall "wxGrid_SetDefaultColSize" wxGrid_SetDefaultColSize :: Ptr (TGrid a) -> CInt -> CBool -> IO ()---- | usage: (@gridSetDefaultEditor obj editor@).-gridSetDefaultEditor :: Grid  a -> GridCellEditor  b ->  IO ()-gridSetDefaultEditor _obj editor -  = withObjectRef "gridSetDefaultEditor" _obj $ \cobj__obj -> -    withObjectPtr editor $ \cobj_editor -> -    wxGrid_SetDefaultEditor cobj__obj  cobj_editor  -foreign import ccall "wxGrid_SetDefaultEditor" wxGrid_SetDefaultEditor :: Ptr (TGrid a) -> Ptr (TGridCellEditor b) -> IO ()---- | usage: (@gridSetDefaultRenderer obj renderer@).-gridSetDefaultRenderer :: Grid  a -> GridCellRenderer  b ->  IO ()-gridSetDefaultRenderer _obj renderer -  = withObjectRef "gridSetDefaultRenderer" _obj $ \cobj__obj -> -    withObjectPtr renderer $ \cobj_renderer -> -    wxGrid_SetDefaultRenderer cobj__obj  cobj_renderer  -foreign import ccall "wxGrid_SetDefaultRenderer" wxGrid_SetDefaultRenderer :: Ptr (TGrid a) -> Ptr (TGridCellRenderer b) -> IO ()---- | usage: (@gridSetDefaultRowSize obj height resizeExistingRows@).-gridSetDefaultRowSize :: Grid  a -> Int -> Bool ->  IO ()-gridSetDefaultRowSize _obj height resizeExistingRows -  = withObjectRef "gridSetDefaultRowSize" _obj $ \cobj__obj -> -    wxGrid_SetDefaultRowSize cobj__obj  (toCInt height)  (toCBool resizeExistingRows)  -foreign import ccall "wxGrid_SetDefaultRowSize" wxGrid_SetDefaultRowSize :: Ptr (TGrid a) -> CInt -> CBool -> IO ()---- | usage: (@gridSetGridCursor obj row col@).-gridSetGridCursor :: Grid  a -> Int -> Int ->  IO ()-gridSetGridCursor _obj row col -  = withObjectRef "gridSetGridCursor" _obj $ \cobj__obj -> -    wxGrid_SetGridCursor cobj__obj  (toCInt row)  (toCInt col)  -foreign import ccall "wxGrid_SetGridCursor" wxGrid_SetGridCursor :: Ptr (TGrid a) -> CInt -> CInt -> IO ()---- | usage: (@gridSetGridLineColour obj col@).-gridSetGridLineColour :: Grid  a -> Color ->  IO ()-gridSetGridLineColour _obj col -  = withObjectRef "gridSetGridLineColour" _obj $ \cobj__obj -> -    withColourPtr col $ \cobj_col -> -    wxGrid_SetGridLineColour cobj__obj  cobj_col  -foreign import ccall "wxGrid_SetGridLineColour" wxGrid_SetGridLineColour :: Ptr (TGrid a) -> Ptr (TColour b) -> IO ()---- | usage: (@gridSetLabelBackgroundColour obj colour@).-gridSetLabelBackgroundColour :: Grid  a -> Color ->  IO ()-gridSetLabelBackgroundColour _obj colour -  = withObjectRef "gridSetLabelBackgroundColour" _obj $ \cobj__obj -> -    withColourPtr colour $ \cobj_colour -> -    wxGrid_SetLabelBackgroundColour cobj__obj  cobj_colour  -foreign import ccall "wxGrid_SetLabelBackgroundColour" wxGrid_SetLabelBackgroundColour :: Ptr (TGrid a) -> Ptr (TColour b) -> IO ()---- | usage: (@gridSetLabelFont obj font@).-gridSetLabelFont :: Grid  a -> Font  b ->  IO ()-gridSetLabelFont _obj font -  = withObjectRef "gridSetLabelFont" _obj $ \cobj__obj -> -    withObjectPtr font $ \cobj_font -> -    wxGrid_SetLabelFont cobj__obj  cobj_font  -foreign import ccall "wxGrid_SetLabelFont" wxGrid_SetLabelFont :: Ptr (TGrid a) -> Ptr (TFont b) -> IO ()---- | usage: (@gridSetLabelTextColour obj colour@).-gridSetLabelTextColour :: Grid  a -> Color ->  IO ()-gridSetLabelTextColour _obj colour -  = withObjectRef "gridSetLabelTextColour" _obj $ \cobj__obj -> -    withColourPtr colour $ \cobj_colour -> -    wxGrid_SetLabelTextColour cobj__obj  cobj_colour  -foreign import ccall "wxGrid_SetLabelTextColour" wxGrid_SetLabelTextColour :: Ptr (TGrid a) -> Ptr (TColour b) -> IO ()---- | usage: (@gridSetMargins obj extraWidth extraHeight@).-gridSetMargins :: Grid  a -> Int -> Int ->  IO ()-gridSetMargins _obj extraWidth extraHeight -  = withObjectRef "gridSetMargins" _obj $ \cobj__obj -> -    wxGrid_SetMargins cobj__obj  (toCInt extraWidth)  (toCInt extraHeight)  -foreign import ccall "wxGrid_SetMargins" wxGrid_SetMargins :: Ptr (TGrid a) -> CInt -> CInt -> IO ()---- | usage: (@gridSetReadOnly obj row col isReadOnly@).-gridSetReadOnly :: Grid  a -> Int -> Int -> Bool ->  IO ()-gridSetReadOnly _obj row col isReadOnly -  = withObjectRef "gridSetReadOnly" _obj $ \cobj__obj -> -    wxGrid_SetReadOnly cobj__obj  (toCInt row)  (toCInt col)  (toCBool isReadOnly)  -foreign import ccall "wxGrid_SetReadOnly" wxGrid_SetReadOnly :: Ptr (TGrid a) -> CInt -> CInt -> CBool -> IO ()---- | usage: (@gridSetRowAttr obj row attr@).-gridSetRowAttr :: Grid  a -> Int -> GridCellAttr  c ->  IO ()-gridSetRowAttr _obj row attr -  = withObjectRef "gridSetRowAttr" _obj $ \cobj__obj -> -    withObjectPtr attr $ \cobj_attr -> -    wxGrid_SetRowAttr cobj__obj  (toCInt row)  cobj_attr  -foreign import ccall "wxGrid_SetRowAttr" wxGrid_SetRowAttr :: Ptr (TGrid a) -> CInt -> Ptr (TGridCellAttr c) -> IO ()---- | usage: (@gridSetRowLabelAlignment obj horiz vert@).-gridSetRowLabelAlignment :: Grid  a -> Int -> Int ->  IO ()-gridSetRowLabelAlignment _obj horiz vert -  = withObjectRef "gridSetRowLabelAlignment" _obj $ \cobj__obj -> -    wxGrid_SetRowLabelAlignment cobj__obj  (toCInt horiz)  (toCInt vert)  -foreign import ccall "wxGrid_SetRowLabelAlignment" wxGrid_SetRowLabelAlignment :: Ptr (TGrid a) -> CInt -> CInt -> IO ()---- | usage: (@gridSetRowLabelSize obj width@).-gridSetRowLabelSize :: Grid  a -> Int ->  IO ()-gridSetRowLabelSize _obj width -  = withObjectRef "gridSetRowLabelSize" _obj $ \cobj__obj -> -    wxGrid_SetRowLabelSize cobj__obj  (toCInt width)  -foreign import ccall "wxGrid_SetRowLabelSize" wxGrid_SetRowLabelSize :: Ptr (TGrid a) -> CInt -> IO ()---- | usage: (@gridSetRowLabelValue obj row label@).-gridSetRowLabelValue :: Grid  a -> Int -> String ->  IO ()-gridSetRowLabelValue _obj row label -  = withObjectRef "gridSetRowLabelValue" _obj $ \cobj__obj -> -    withStringPtr label $ \cobj_label -> -    wxGrid_SetRowLabelValue cobj__obj  (toCInt row)  cobj_label  -foreign import ccall "wxGrid_SetRowLabelValue" wxGrid_SetRowLabelValue :: Ptr (TGrid a) -> CInt -> Ptr (TWxString c) -> IO ()---- | usage: (@gridSetRowMinimalHeight obj row width@).-gridSetRowMinimalHeight :: Grid  a -> Int -> Int ->  IO ()-gridSetRowMinimalHeight _obj row width -  = withObjectRef "gridSetRowMinimalHeight" _obj $ \cobj__obj -> -    wxGrid_SetRowMinimalHeight cobj__obj  (toCInt row)  (toCInt width)  -foreign import ccall "wxGrid_SetRowMinimalHeight" wxGrid_SetRowMinimalHeight :: Ptr (TGrid a) -> CInt -> CInt -> IO ()---- | usage: (@gridSetRowSize obj row height@).-gridSetRowSize :: Grid  a -> Int -> Int ->  IO ()-gridSetRowSize _obj row height -  = withObjectRef "gridSetRowSize" _obj $ \cobj__obj -> -    wxGrid_SetRowSize cobj__obj  (toCInt row)  (toCInt height)  -foreign import ccall "wxGrid_SetRowSize" wxGrid_SetRowSize :: Ptr (TGrid a) -> CInt -> CInt -> IO ()---- | usage: (@gridSetSelectionBackground obj c@).-gridSetSelectionBackground :: Grid  a -> Color ->  IO ()-gridSetSelectionBackground _obj c -  = withObjectRef "gridSetSelectionBackground" _obj $ \cobj__obj -> -    withColourPtr c $ \cobj_c -> -    wxGrid_SetSelectionBackground cobj__obj  cobj_c  -foreign import ccall "wxGrid_SetSelectionBackground" wxGrid_SetSelectionBackground :: Ptr (TGrid a) -> Ptr (TColour b) -> IO ()---- | usage: (@gridSetSelectionForeground obj c@).-gridSetSelectionForeground :: Grid  a -> Color ->  IO ()-gridSetSelectionForeground _obj c -  = withObjectRef "gridSetSelectionForeground" _obj $ \cobj__obj -> -    withColourPtr c $ \cobj_c -> -    wxGrid_SetSelectionForeground cobj__obj  cobj_c  -foreign import ccall "wxGrid_SetSelectionForeground" wxGrid_SetSelectionForeground :: Ptr (TGrid a) -> Ptr (TColour b) -> IO ()---- | usage: (@gridSetSelectionMode obj selmode@).-gridSetSelectionMode :: Grid  a -> Int ->  IO ()-gridSetSelectionMode _obj selmode -  = withObjectRef "gridSetSelectionMode" _obj $ \cobj__obj -> -    wxGrid_SetSelectionMode cobj__obj  (toCInt selmode)  -foreign import ccall "wxGrid_SetSelectionMode" wxGrid_SetSelectionMode :: Ptr (TGrid a) -> CInt -> IO ()---- | usage: (@gridSetTable obj table takeOwnership selmode@).-gridSetTable :: Grid  a -> GridTableBase  b -> Bool -> Int ->  IO Bool-gridSetTable _obj table takeOwnership selmode -  = withBoolResult $-    withObjectRef "gridSetTable" _obj $ \cobj__obj -> -    withObjectPtr table $ \cobj_table -> -    wxGrid_SetTable cobj__obj  cobj_table  (toCBool takeOwnership)  (toCInt selmode)  -foreign import ccall "wxGrid_SetTable" wxGrid_SetTable :: Ptr (TGrid a) -> Ptr (TGridTableBase b) -> CBool -> CInt -> IO CBool---- | usage: (@gridShowCellEditControl obj@).-gridShowCellEditControl :: Grid  a ->  IO ()-gridShowCellEditControl _obj -  = withObjectRef "gridShowCellEditControl" _obj $ \cobj__obj -> -    wxGrid_ShowCellEditControl cobj__obj  -foreign import ccall "wxGrid_ShowCellEditControl" wxGrid_ShowCellEditControl :: Ptr (TGrid a) -> IO ()---- | usage: (@gridSizeEventAltDown obj@).-gridSizeEventAltDown :: GridSizeEvent  a ->  IO Bool-gridSizeEventAltDown _obj -  = withBoolResult $-    withObjectRef "gridSizeEventAltDown" _obj $ \cobj__obj -> -    wxGridSizeEvent_AltDown cobj__obj  -foreign import ccall "wxGridSizeEvent_AltDown" wxGridSizeEvent_AltDown :: Ptr (TGridSizeEvent a) -> IO CBool---- | usage: (@gridSizeEventControlDown obj@).-gridSizeEventControlDown :: GridSizeEvent  a ->  IO Bool-gridSizeEventControlDown _obj -  = withBoolResult $-    withObjectRef "gridSizeEventControlDown" _obj $ \cobj__obj -> -    wxGridSizeEvent_ControlDown cobj__obj  -foreign import ccall "wxGridSizeEvent_ControlDown" wxGridSizeEvent_ControlDown :: Ptr (TGridSizeEvent a) -> IO CBool---- | usage: (@gridSizeEventGetPosition obj@).-gridSizeEventGetPosition :: GridSizeEvent  a ->  IO (Point)-gridSizeEventGetPosition _obj -  = withWxPointResult $-    withObjectRef "gridSizeEventGetPosition" _obj $ \cobj__obj -> -    wxGridSizeEvent_GetPosition cobj__obj  -foreign import ccall "wxGridSizeEvent_GetPosition" wxGridSizeEvent_GetPosition :: Ptr (TGridSizeEvent a) -> IO (Ptr (TWxPoint ()))---- | usage: (@gridSizeEventGetRowOrCol obj@).-gridSizeEventGetRowOrCol :: GridSizeEvent  a ->  IO Int-gridSizeEventGetRowOrCol _obj -  = withIntResult $-    withObjectRef "gridSizeEventGetRowOrCol" _obj $ \cobj__obj -> -    wxGridSizeEvent_GetRowOrCol cobj__obj  -foreign import ccall "wxGridSizeEvent_GetRowOrCol" wxGridSizeEvent_GetRowOrCol :: Ptr (TGridSizeEvent a) -> IO CInt---- | usage: (@gridSizeEventMetaDown obj@).-gridSizeEventMetaDown :: GridSizeEvent  a ->  IO Bool-gridSizeEventMetaDown _obj -  = withBoolResult $-    withObjectRef "gridSizeEventMetaDown" _obj $ \cobj__obj -> -    wxGridSizeEvent_MetaDown cobj__obj  -foreign import ccall "wxGridSizeEvent_MetaDown" wxGridSizeEvent_MetaDown :: Ptr (TGridSizeEvent a) -> IO CBool---- | usage: (@gridSizeEventShiftDown obj@).-gridSizeEventShiftDown :: GridSizeEvent  a ->  IO Bool-gridSizeEventShiftDown _obj -  = withBoolResult $-    withObjectRef "gridSizeEventShiftDown" _obj $ \cobj__obj -> -    wxGridSizeEvent_ShiftDown cobj__obj  -foreign import ccall "wxGridSizeEvent_ShiftDown" wxGridSizeEvent_ShiftDown :: Ptr (TGridSizeEvent a) -> IO CBool---- | usage: (@gridSizerCalcMin obj@).-gridSizerCalcMin :: GridSizer  a ->  IO (Size)-gridSizerCalcMin _obj -  = withWxSizeResult $-    withObjectRef "gridSizerCalcMin" _obj $ \cobj__obj -> -    wxGridSizer_CalcMin cobj__obj  -foreign import ccall "wxGridSizer_CalcMin" wxGridSizer_CalcMin :: Ptr (TGridSizer a) -> IO (Ptr (TWxSize ()))---- | usage: (@gridSizerCreate rows cols vgap hgap@).-gridSizerCreate :: Int -> Int -> Int -> Int ->  IO (GridSizer  ())-gridSizerCreate rows cols vgap hgap -  = withObjectResult $-    wxGridSizer_Create (toCInt rows)  (toCInt cols)  (toCInt vgap)  (toCInt hgap)  -foreign import ccall "wxGridSizer_Create" wxGridSizer_Create :: CInt -> CInt -> CInt -> CInt -> IO (Ptr (TGridSizer ()))---- | usage: (@gridSizerGetCols obj@).-gridSizerGetCols :: GridSizer  a ->  IO Int-gridSizerGetCols _obj -  = withIntResult $-    withObjectRef "gridSizerGetCols" _obj $ \cobj__obj -> -    wxGridSizer_GetCols cobj__obj  -foreign import ccall "wxGridSizer_GetCols" wxGridSizer_GetCols :: Ptr (TGridSizer a) -> IO CInt---- | usage: (@gridSizerGetHGap obj@).-gridSizerGetHGap :: GridSizer  a ->  IO Int-gridSizerGetHGap _obj -  = withIntResult $-    withObjectRef "gridSizerGetHGap" _obj $ \cobj__obj -> -    wxGridSizer_GetHGap cobj__obj  -foreign import ccall "wxGridSizer_GetHGap" wxGridSizer_GetHGap :: Ptr (TGridSizer a) -> IO CInt---- | usage: (@gridSizerGetRows obj@).-gridSizerGetRows :: GridSizer  a ->  IO Int-gridSizerGetRows _obj -  = withIntResult $-    withObjectRef "gridSizerGetRows" _obj $ \cobj__obj -> -    wxGridSizer_GetRows cobj__obj  -foreign import ccall "wxGridSizer_GetRows" wxGridSizer_GetRows :: Ptr (TGridSizer a) -> IO CInt---- | usage: (@gridSizerGetVGap obj@).-gridSizerGetVGap :: GridSizer  a ->  IO Int-gridSizerGetVGap _obj -  = withIntResult $-    withObjectRef "gridSizerGetVGap" _obj $ \cobj__obj -> -    wxGridSizer_GetVGap cobj__obj  -foreign import ccall "wxGridSizer_GetVGap" wxGridSizer_GetVGap :: Ptr (TGridSizer a) -> IO CInt---- | usage: (@gridSizerRecalcSizes obj@).-gridSizerRecalcSizes :: GridSizer  a ->  IO ()-gridSizerRecalcSizes _obj -  = withObjectRef "gridSizerRecalcSizes" _obj $ \cobj__obj -> -    wxGridSizer_RecalcSizes cobj__obj  -foreign import ccall "wxGridSizer_RecalcSizes" wxGridSizer_RecalcSizes :: Ptr (TGridSizer a) -> IO ()---- | usage: (@gridSizerSetCols obj cols@).-gridSizerSetCols :: GridSizer  a -> Int ->  IO ()-gridSizerSetCols _obj cols -  = withObjectRef "gridSizerSetCols" _obj $ \cobj__obj -> -    wxGridSizer_SetCols cobj__obj  (toCInt cols)  -foreign import ccall "wxGridSizer_SetCols" wxGridSizer_SetCols :: Ptr (TGridSizer a) -> CInt -> IO ()---- | usage: (@gridSizerSetHGap obj gap@).-gridSizerSetHGap :: GridSizer  a -> Int ->  IO ()-gridSizerSetHGap _obj gap -  = withObjectRef "gridSizerSetHGap" _obj $ \cobj__obj -> -    wxGridSizer_SetHGap cobj__obj  (toCInt gap)  -foreign import ccall "wxGridSizer_SetHGap" wxGridSizer_SetHGap :: Ptr (TGridSizer a) -> CInt -> IO ()---- | usage: (@gridSizerSetRows obj rows@).-gridSizerSetRows :: GridSizer  a -> Int ->  IO ()-gridSizerSetRows _obj rows -  = withObjectRef "gridSizerSetRows" _obj $ \cobj__obj -> -    wxGridSizer_SetRows cobj__obj  (toCInt rows)  -foreign import ccall "wxGridSizer_SetRows" wxGridSizer_SetRows :: Ptr (TGridSizer a) -> CInt -> IO ()---- | usage: (@gridSizerSetVGap obj gap@).-gridSizerSetVGap :: GridSizer  a -> Int ->  IO ()-gridSizerSetVGap _obj gap -  = withObjectRef "gridSizerSetVGap" _obj $ \cobj__obj -> -    wxGridSizer_SetVGap cobj__obj  (toCInt gap)  -foreign import ccall "wxGridSizer_SetVGap" wxGridSizer_SetVGap :: Ptr (TGridSizer a) -> CInt -> IO ()---- | usage: (@gridStringToLines obj value lines@).-gridStringToLines :: Grid  a -> String -> Ptr  c ->  IO Int-gridStringToLines _obj value lines -  = withIntResult $-    withObjectRef "gridStringToLines" _obj $ \cobj__obj -> -    withStringPtr value $ \cobj_value -> -    wxGrid_StringToLines cobj__obj  cobj_value  lines  -foreign import ccall "wxGrid_StringToLines" wxGrid_StringToLines :: Ptr (TGrid a) -> Ptr (TWxString b) -> Ptr  c -> IO CInt---- | usage: (@gridXToCol obj x@).-gridXToCol :: Grid  a -> Int ->  IO Int-gridXToCol _obj x -  = withIntResult $-    withObjectRef "gridXToCol" _obj $ \cobj__obj -> -    wxGrid_XToCol cobj__obj  (toCInt x)  -foreign import ccall "wxGrid_XToCol" wxGrid_XToCol :: Ptr (TGrid a) -> CInt -> IO CInt---- | usage: (@gridXToEdgeOfCol obj x@).-gridXToEdgeOfCol :: Grid  a -> Int ->  IO Int-gridXToEdgeOfCol _obj x -  = withIntResult $-    withObjectRef "gridXToEdgeOfCol" _obj $ \cobj__obj -> -    wxGrid_XToEdgeOfCol cobj__obj  (toCInt x)  -foreign import ccall "wxGrid_XToEdgeOfCol" wxGrid_XToEdgeOfCol :: Ptr (TGrid a) -> CInt -> IO CInt---- | usage: (@gridXYToCell obj xy@).-gridXYToCell :: Grid  a -> Point ->  IO Point-gridXYToCell _obj xy -  = withPointResult $ \px py -> -    withObjectRef "gridXYToCell" _obj $ \cobj__obj -> -    wxGrid_XYToCell cobj__obj  (toCIntPointX xy) (toCIntPointY xy)   px py-foreign import ccall "wxGrid_XYToCell" wxGrid_XYToCell :: Ptr (TGrid a) -> CInt -> CInt -> Ptr CInt -> Ptr CInt -> IO ()---- | usage: (@gridYToEdgeOfRow obj y@).-gridYToEdgeOfRow :: Grid  a -> Int ->  IO Int-gridYToEdgeOfRow _obj y -  = withIntResult $-    withObjectRef "gridYToEdgeOfRow" _obj $ \cobj__obj -> -    wxGrid_YToEdgeOfRow cobj__obj  (toCInt y)  -foreign import ccall "wxGrid_YToEdgeOfRow" wxGrid_YToEdgeOfRow :: Ptr (TGrid a) -> CInt -> IO CInt---- | usage: (@gridYToRow obj y@).-gridYToRow :: Grid  a -> Int ->  IO Int-gridYToRow _obj y -  = withIntResult $-    withObjectRef "gridYToRow" _obj $ \cobj__obj -> -    wxGrid_YToRow cobj__obj  (toCInt y)  -foreign import ccall "wxGrid_YToRow" wxGrid_YToRow :: Ptr (TGrid a) -> CInt -> IO CInt---- | usage: (@helpControllerHelpProviderCreate ctr@).-helpControllerHelpProviderCreate :: HelpControllerBase  a ->  IO (HelpControllerHelpProvider  ())-helpControllerHelpProviderCreate ctr -  = withObjectResult $-    withObjectPtr ctr $ \cobj_ctr -> -    wxHelpControllerHelpProvider_Create cobj_ctr  -foreign import ccall "wxHelpControllerHelpProvider_Create" wxHelpControllerHelpProvider_Create :: Ptr (THelpControllerBase a) -> IO (Ptr (THelpControllerHelpProvider ()))---- | usage: (@helpControllerHelpProviderGetHelpController obj@).-helpControllerHelpProviderGetHelpController :: HelpControllerHelpProvider  a ->  IO (HelpControllerBase  ())-helpControllerHelpProviderGetHelpController _obj -  = withObjectResult $-    withObjectRef "helpControllerHelpProviderGetHelpController" _obj $ \cobj__obj -> -    wxHelpControllerHelpProvider_GetHelpController cobj__obj  -foreign import ccall "wxHelpControllerHelpProvider_GetHelpController" wxHelpControllerHelpProvider_GetHelpController :: Ptr (THelpControllerHelpProvider a) -> IO (Ptr (THelpControllerBase ()))---- | usage: (@helpControllerHelpProviderSetHelpController obj hc@).-helpControllerHelpProviderSetHelpController :: HelpControllerHelpProvider  a -> HelpController  b ->  IO ()-helpControllerHelpProviderSetHelpController _obj hc -  = withObjectRef "helpControllerHelpProviderSetHelpController" _obj $ \cobj__obj -> -    withObjectPtr hc $ \cobj_hc -> -    wxHelpControllerHelpProvider_SetHelpController cobj__obj  cobj_hc  -foreign import ccall "wxHelpControllerHelpProvider_SetHelpController" wxHelpControllerHelpProvider_SetHelpController :: Ptr (THelpControllerHelpProvider a) -> Ptr (THelpController b) -> IO ()---- | usage: (@helpEventGetLink obj@).-helpEventGetLink :: HelpEvent  a ->  IO (String)-helpEventGetLink _obj -  = withManagedStringResult $-    withObjectRef "helpEventGetLink" _obj $ \cobj__obj -> -    wxHelpEvent_GetLink cobj__obj  -foreign import ccall "wxHelpEvent_GetLink" wxHelpEvent_GetLink :: Ptr (THelpEvent a) -> IO (Ptr (TWxString ()))---- | usage: (@helpEventGetPosition obj@).-helpEventGetPosition :: HelpEvent  a ->  IO (Point)-helpEventGetPosition _obj -  = withWxPointResult $-    withObjectRef "helpEventGetPosition" _obj $ \cobj__obj -> -    wxHelpEvent_GetPosition cobj__obj  -foreign import ccall "wxHelpEvent_GetPosition" wxHelpEvent_GetPosition :: Ptr (THelpEvent a) -> IO (Ptr (TWxPoint ()))---- | usage: (@helpEventGetTarget obj@).-helpEventGetTarget :: HelpEvent  a ->  IO (String)-helpEventGetTarget _obj -  = withManagedStringResult $-    withObjectRef "helpEventGetTarget" _obj $ \cobj__obj -> -    wxHelpEvent_GetTarget cobj__obj  -foreign import ccall "wxHelpEvent_GetTarget" wxHelpEvent_GetTarget :: Ptr (THelpEvent a) -> IO (Ptr (TWxString ()))---- | usage: (@helpEventSetLink obj link@).-helpEventSetLink :: HelpEvent  a -> String ->  IO ()-helpEventSetLink _obj link -  = withObjectRef "helpEventSetLink" _obj $ \cobj__obj -> -    withStringPtr link $ \cobj_link -> -    wxHelpEvent_SetLink cobj__obj  cobj_link  -foreign import ccall "wxHelpEvent_SetLink" wxHelpEvent_SetLink :: Ptr (THelpEvent a) -> Ptr (TWxString b) -> IO ()---- | usage: (@helpEventSetPosition obj xy@).-helpEventSetPosition :: HelpEvent  a -> Point ->  IO ()-helpEventSetPosition _obj xy -  = withObjectRef "helpEventSetPosition" _obj $ \cobj__obj -> -    wxHelpEvent_SetPosition cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  -foreign import ccall "wxHelpEvent_SetPosition" wxHelpEvent_SetPosition :: Ptr (THelpEvent a) -> CInt -> CInt -> IO ()---- | usage: (@helpEventSetTarget obj target@).-helpEventSetTarget :: HelpEvent  a -> String ->  IO ()-helpEventSetTarget _obj target -  = withObjectRef "helpEventSetTarget" _obj $ \cobj__obj -> -    withStringPtr target $ \cobj_target -> -    wxHelpEvent_SetTarget cobj__obj  cobj_target  -foreign import ccall "wxHelpEvent_SetTarget" wxHelpEvent_SetTarget :: Ptr (THelpEvent a) -> Ptr (TWxString b) -> IO ()---- | usage: (@helpProviderAddHelp obj window text@).-helpProviderAddHelp :: HelpProvider  a -> Window  b -> String ->  IO ()-helpProviderAddHelp _obj window text -  = withObjectRef "helpProviderAddHelp" _obj $ \cobj__obj -> -    withObjectPtr window $ \cobj_window -> -    withStringPtr text $ \cobj_text -> -    wxHelpProvider_AddHelp cobj__obj  cobj_window  cobj_text  -foreign import ccall "wxHelpProvider_AddHelp" wxHelpProvider_AddHelp :: Ptr (THelpProvider a) -> Ptr (TWindow b) -> Ptr (TWxString c) -> IO ()---- | usage: (@helpProviderAddHelpById obj id text@).-helpProviderAddHelpById :: HelpProvider  a -> Id -> String ->  IO ()-helpProviderAddHelpById _obj id text -  = withObjectRef "helpProviderAddHelpById" _obj $ \cobj__obj -> -    withStringPtr text $ \cobj_text -> -    wxHelpProvider_AddHelpById cobj__obj  (toCInt id)  cobj_text  -foreign import ccall "wxHelpProvider_AddHelpById" wxHelpProvider_AddHelpById :: Ptr (THelpProvider a) -> CInt -> Ptr (TWxString c) -> IO ()---- | usage: (@helpProviderDelete obj@).-helpProviderDelete :: HelpProvider  a ->  IO ()-helpProviderDelete _obj -  = withObjectRef "helpProviderDelete" _obj $ \cobj__obj -> -    wxHelpProvider_Delete cobj__obj  -foreign import ccall "wxHelpProvider_Delete" wxHelpProvider_Delete :: Ptr (THelpProvider a) -> IO ()---- | usage: (@helpProviderGet@).-helpProviderGet ::  IO (HelpProvider  ())-helpProviderGet -  = withObjectResult $-    wxHelpProvider_Get -foreign import ccall "wxHelpProvider_Get" wxHelpProvider_Get :: IO (Ptr (THelpProvider ()))---- | usage: (@helpProviderGetHelp obj window@).-helpProviderGetHelp :: HelpProvider  a -> Window  b ->  IO (String)-helpProviderGetHelp _obj window -  = withManagedStringResult $-    withObjectRef "helpProviderGetHelp" _obj $ \cobj__obj -> -    withObjectPtr window $ \cobj_window -> -    wxHelpProvider_GetHelp cobj__obj  cobj_window  -foreign import ccall "wxHelpProvider_GetHelp" wxHelpProvider_GetHelp :: Ptr (THelpProvider a) -> Ptr (TWindow b) -> IO (Ptr (TWxString ()))---- | usage: (@helpProviderRemoveHelp obj window@).-helpProviderRemoveHelp :: HelpProvider  a -> Window  b ->  IO ()-helpProviderRemoveHelp _obj window -  = withObjectRef "helpProviderRemoveHelp" _obj $ \cobj__obj -> -    withObjectPtr window $ \cobj_window -> -    wxHelpProvider_RemoveHelp cobj__obj  cobj_window  -foreign import ccall "wxHelpProvider_RemoveHelp" wxHelpProvider_RemoveHelp :: Ptr (THelpProvider a) -> Ptr (TWindow b) -> IO ()---- | usage: (@helpProviderSet helpProvider@).-helpProviderSet :: HelpProvider  a ->  IO (HelpProvider  ())-helpProviderSet helpProvider -  = withObjectResult $-    withObjectRef "helpProviderSet" helpProvider $ \cobj_helpProvider -> -    wxHelpProvider_Set cobj_helpProvider  -foreign import ccall "wxHelpProvider_Set" wxHelpProvider_Set :: Ptr (THelpProvider a) -> IO (Ptr (THelpProvider ()))---- | usage: (@helpProviderShowHelp obj window@).-helpProviderShowHelp :: HelpProvider  a -> Window  b ->  IO Bool-helpProviderShowHelp _obj window -  = withBoolResult $-    withObjectRef "helpProviderShowHelp" _obj $ \cobj__obj -> -    withObjectPtr window $ \cobj_window -> -    wxHelpProvider_ShowHelp cobj__obj  cobj_window  -foreign import ccall "wxHelpProvider_ShowHelp" wxHelpProvider_ShowHelp :: Ptr (THelpProvider a) -> Ptr (TWindow b) -> IO CBool---- | usage: (@htmlHelpControllerAddBook obj book showwaitmsg@).-htmlHelpControllerAddBook :: HtmlHelpController  a -> Ptr  b -> Int ->  IO Bool-htmlHelpControllerAddBook _obj book showwaitmsg -  = withBoolResult $-    withObjectRef "htmlHelpControllerAddBook" _obj $ \cobj__obj -> -    wxHtmlHelpController_AddBook cobj__obj  book  (toCInt showwaitmsg)  -foreign import ccall "wxHtmlHelpController_AddBook" wxHtmlHelpController_AddBook :: Ptr (THtmlHelpController a) -> Ptr  b -> CInt -> IO CBool---- | usage: (@htmlHelpControllerCreate style@).-htmlHelpControllerCreate :: Int ->  IO (HtmlHelpController  ())-htmlHelpControllerCreate _style -  = withObjectResult $-    wxHtmlHelpController_Create (toCInt _style)  -foreign import ccall "wxHtmlHelpController_Create" wxHtmlHelpController_Create :: CInt -> IO (Ptr (THtmlHelpController ()))---- | usage: (@htmlHelpControllerDelete obj@).-htmlHelpControllerDelete :: HtmlHelpController  a ->  IO ()-htmlHelpControllerDelete-  = objectDelete----- | usage: (@htmlHelpControllerDisplay obj x@).-htmlHelpControllerDisplay :: HtmlHelpController  a -> Ptr  b ->  IO Int-htmlHelpControllerDisplay _obj x -  = withIntResult $-    withObjectRef "htmlHelpControllerDisplay" _obj $ \cobj__obj -> -    wxHtmlHelpController_Display cobj__obj  x  -foreign import ccall "wxHtmlHelpController_Display" wxHtmlHelpController_Display :: Ptr (THtmlHelpController a) -> Ptr  b -> IO CInt---- | usage: (@htmlHelpControllerDisplayBlock obj blockNo@).-htmlHelpControllerDisplayBlock :: HtmlHelpController  a -> Int ->  IO Bool-htmlHelpControllerDisplayBlock _obj blockNo -  = withBoolResult $-    withObjectRef "htmlHelpControllerDisplayBlock" _obj $ \cobj__obj -> -    wxHtmlHelpController_DisplayBlock cobj__obj  (toCInt blockNo)  -foreign import ccall "wxHtmlHelpController_DisplayBlock" wxHtmlHelpController_DisplayBlock :: Ptr (THtmlHelpController a) -> CInt -> IO CBool---- | usage: (@htmlHelpControllerDisplayContents obj@).-htmlHelpControllerDisplayContents :: HtmlHelpController  a ->  IO Int-htmlHelpControllerDisplayContents _obj -  = withIntResult $-    withObjectRef "htmlHelpControllerDisplayContents" _obj $ \cobj__obj -> -    wxHtmlHelpController_DisplayContents cobj__obj  -foreign import ccall "wxHtmlHelpController_DisplayContents" wxHtmlHelpController_DisplayContents :: Ptr (THtmlHelpController a) -> IO CInt---- | usage: (@htmlHelpControllerDisplayIndex obj@).-htmlHelpControllerDisplayIndex :: HtmlHelpController  a ->  IO Int-htmlHelpControllerDisplayIndex _obj -  = withIntResult $-    withObjectRef "htmlHelpControllerDisplayIndex" _obj $ \cobj__obj -> -    wxHtmlHelpController_DisplayIndex cobj__obj  -foreign import ccall "wxHtmlHelpController_DisplayIndex" wxHtmlHelpController_DisplayIndex :: Ptr (THtmlHelpController a) -> IO CInt---- | usage: (@htmlHelpControllerDisplayNumber obj id@).-htmlHelpControllerDisplayNumber :: HtmlHelpController  a -> Id ->  IO Int-htmlHelpControllerDisplayNumber _obj id -  = withIntResult $-    withObjectRef "htmlHelpControllerDisplayNumber" _obj $ \cobj__obj -> -    wxHtmlHelpController_DisplayNumber cobj__obj  (toCInt id)  -foreign import ccall "wxHtmlHelpController_DisplayNumber" wxHtmlHelpController_DisplayNumber :: Ptr (THtmlHelpController a) -> CInt -> IO CInt---- | usage: (@htmlHelpControllerDisplaySection obj section@).-htmlHelpControllerDisplaySection :: HtmlHelpController  a -> String ->  IO Bool-htmlHelpControllerDisplaySection _obj section -  = withBoolResult $-    withObjectRef "htmlHelpControllerDisplaySection" _obj $ \cobj__obj -> -    withStringPtr section $ \cobj_section -> -    wxHtmlHelpController_DisplaySection cobj__obj  cobj_section  -foreign import ccall "wxHtmlHelpController_DisplaySection" wxHtmlHelpController_DisplaySection :: Ptr (THtmlHelpController a) -> Ptr (TWxString b) -> IO CBool---- | usage: (@htmlHelpControllerDisplaySectionNumber obj sectionNo@).-htmlHelpControllerDisplaySectionNumber :: HtmlHelpController  a -> Int ->  IO Bool-htmlHelpControllerDisplaySectionNumber _obj sectionNo -  = withBoolResult $-    withObjectRef "htmlHelpControllerDisplaySectionNumber" _obj $ \cobj__obj -> -    wxHtmlHelpController_DisplaySectionNumber cobj__obj  (toCInt sectionNo)  -foreign import ccall "wxHtmlHelpController_DisplaySectionNumber" wxHtmlHelpController_DisplaySectionNumber :: Ptr (THtmlHelpController a) -> CInt -> IO CBool---- | usage: (@htmlHelpControllerGetFrame obj@).-htmlHelpControllerGetFrame :: HtmlHelpController  a ->  IO (Frame  ())-htmlHelpControllerGetFrame _obj -  = withObjectResult $-    withObjectRef "htmlHelpControllerGetFrame" _obj $ \cobj__obj -> -    wxHtmlHelpController_GetFrame cobj__obj  -foreign import ccall "wxHtmlHelpController_GetFrame" wxHtmlHelpController_GetFrame :: Ptr (THtmlHelpController a) -> IO (Ptr (TFrame ()))---- | usage: (@htmlHelpControllerGetFrameParameters obj title width height posx posy newFrameEachTime@).-htmlHelpControllerGetFrameParameters :: HtmlHelpController  a -> Ptr  b -> Ptr CInt -> Ptr CInt -> Ptr CInt -> Ptr CInt -> Ptr CInt ->  IO (Ptr  ())-htmlHelpControllerGetFrameParameters _obj title width height posx posy newFrameEachTime -  = withObjectRef "htmlHelpControllerGetFrameParameters" _obj $ \cobj__obj -> -    wxHtmlHelpController_GetFrameParameters cobj__obj  title  width  height  posx  posy  newFrameEachTime  -foreign import ccall "wxHtmlHelpController_GetFrameParameters" wxHtmlHelpController_GetFrameParameters :: Ptr (THtmlHelpController a) -> Ptr  b -> Ptr CInt -> Ptr CInt -> Ptr CInt -> Ptr CInt -> Ptr CInt -> IO (Ptr  ())---- | usage: (@htmlHelpControllerInitialize obj file@).-htmlHelpControllerInitialize :: HtmlHelpController  a -> String ->  IO Bool-htmlHelpControllerInitialize _obj file -  = withBoolResult $-    withObjectRef "htmlHelpControllerInitialize" _obj $ \cobj__obj -> -    withStringPtr file $ \cobj_file -> -    wxHtmlHelpController_Initialize cobj__obj  cobj_file  -foreign import ccall "wxHtmlHelpController_Initialize" wxHtmlHelpController_Initialize :: Ptr (THtmlHelpController a) -> Ptr (TWxString b) -> IO CBool---- | usage: (@htmlHelpControllerKeywordSearch obj keyword@).-htmlHelpControllerKeywordSearch :: HtmlHelpController  a -> String ->  IO Bool-htmlHelpControllerKeywordSearch _obj keyword -  = withBoolResult $-    withObjectRef "htmlHelpControllerKeywordSearch" _obj $ \cobj__obj -> -    withStringPtr keyword $ \cobj_keyword -> -    wxHtmlHelpController_KeywordSearch cobj__obj  cobj_keyword  -foreign import ccall "wxHtmlHelpController_KeywordSearch" wxHtmlHelpController_KeywordSearch :: Ptr (THtmlHelpController a) -> Ptr (TWxString b) -> IO CBool---- | usage: (@htmlHelpControllerLoadFile obj file@).-htmlHelpControllerLoadFile :: HtmlHelpController  a -> String ->  IO Bool-htmlHelpControllerLoadFile _obj file -  = withBoolResult $-    withObjectRef "htmlHelpControllerLoadFile" _obj $ \cobj__obj -> -    withStringPtr file $ \cobj_file -> -    wxHtmlHelpController_LoadFile cobj__obj  cobj_file  -foreign import ccall "wxHtmlHelpController_LoadFile" wxHtmlHelpController_LoadFile :: Ptr (THtmlHelpController a) -> Ptr (TWxString b) -> IO CBool---- | usage: (@htmlHelpControllerQuit obj@).-htmlHelpControllerQuit :: HtmlHelpController  a ->  IO Bool-htmlHelpControllerQuit _obj -  = withBoolResult $-    withObjectRef "htmlHelpControllerQuit" _obj $ \cobj__obj -> -    wxHtmlHelpController_Quit cobj__obj  -foreign import ccall "wxHtmlHelpController_Quit" wxHtmlHelpController_Quit :: Ptr (THtmlHelpController a) -> IO CBool---- | usage: (@htmlHelpControllerReadCustomization obj cfg path@).-htmlHelpControllerReadCustomization :: HtmlHelpController  a -> ConfigBase  b -> String ->  IO ()-htmlHelpControllerReadCustomization _obj cfg path -  = withObjectRef "htmlHelpControllerReadCustomization" _obj $ \cobj__obj -> -    withObjectPtr cfg $ \cobj_cfg -> -    withStringPtr path $ \cobj_path -> -    wxHtmlHelpController_ReadCustomization cobj__obj  cobj_cfg  cobj_path  -foreign import ccall "wxHtmlHelpController_ReadCustomization" wxHtmlHelpController_ReadCustomization :: Ptr (THtmlHelpController a) -> Ptr (TConfigBase b) -> Ptr (TWxString c) -> IO ()---- | usage: (@htmlHelpControllerSetFrameParameters obj title widthheight posx posy newFrameEachTime@).-htmlHelpControllerSetFrameParameters :: HtmlHelpController  a -> Ptr  b -> Size -> Int -> Int -> Bool ->  IO ()-htmlHelpControllerSetFrameParameters _obj title widthheight posx posy newFrameEachTime -  = withObjectRef "htmlHelpControllerSetFrameParameters" _obj $ \cobj__obj -> -    wxHtmlHelpController_SetFrameParameters cobj__obj  title  (toCIntSizeW widthheight) (toCIntSizeH widthheight)  (toCInt posx)  (toCInt posy)  (toCBool newFrameEachTime)  -foreign import ccall "wxHtmlHelpController_SetFrameParameters" wxHtmlHelpController_SetFrameParameters :: Ptr (THtmlHelpController a) -> Ptr  b -> CInt -> CInt -> CInt -> CInt -> CBool -> IO ()---- | usage: (@htmlHelpControllerSetTempDir obj path@).-htmlHelpControllerSetTempDir :: HtmlHelpController  a -> String ->  IO ()-htmlHelpControllerSetTempDir _obj path -  = withObjectRef "htmlHelpControllerSetTempDir" _obj $ \cobj__obj -> -    withStringPtr path $ \cobj_path -> -    wxHtmlHelpController_SetTempDir cobj__obj  cobj_path  -foreign import ccall "wxHtmlHelpController_SetTempDir" wxHtmlHelpController_SetTempDir :: Ptr (THtmlHelpController a) -> Ptr (TWxString b) -> IO ()---- | usage: (@htmlHelpControllerSetTitleFormat obj format@).-htmlHelpControllerSetTitleFormat :: HtmlHelpController  a -> Ptr  b ->  IO ()-htmlHelpControllerSetTitleFormat _obj format -  = withObjectRef "htmlHelpControllerSetTitleFormat" _obj $ \cobj__obj -> -    wxHtmlHelpController_SetTitleFormat cobj__obj  format  -foreign import ccall "wxHtmlHelpController_SetTitleFormat" wxHtmlHelpController_SetTitleFormat :: Ptr (THtmlHelpController a) -> Ptr  b -> IO ()---- | usage: (@htmlHelpControllerSetViewer obj viewer flags@).-htmlHelpControllerSetViewer :: HtmlHelpController  a -> String -> Int ->  IO ()-htmlHelpControllerSetViewer _obj viewer flags -  = withObjectRef "htmlHelpControllerSetViewer" _obj $ \cobj__obj -> -    withStringPtr viewer $ \cobj_viewer -> -    wxHtmlHelpController_SetViewer cobj__obj  cobj_viewer  (toCInt flags)  -foreign import ccall "wxHtmlHelpController_SetViewer" wxHtmlHelpController_SetViewer :: Ptr (THtmlHelpController a) -> Ptr (TWxString b) -> CInt -> IO ()---- | usage: (@htmlHelpControllerUseConfig obj config rootpath@).-htmlHelpControllerUseConfig :: HtmlHelpController  a -> ConfigBase  b -> String ->  IO ()-htmlHelpControllerUseConfig _obj config rootpath -  = withObjectRef "htmlHelpControllerUseConfig" _obj $ \cobj__obj -> -    withObjectPtr config $ \cobj_config -> -    withStringPtr rootpath $ \cobj_rootpath -> -    wxHtmlHelpController_UseConfig cobj__obj  cobj_config  cobj_rootpath  -foreign import ccall "wxHtmlHelpController_UseConfig" wxHtmlHelpController_UseConfig :: Ptr (THtmlHelpController a) -> Ptr (TConfigBase b) -> Ptr (TWxString c) -> IO ()---- | usage: (@htmlHelpControllerWriteCustomization obj cfg path@).-htmlHelpControllerWriteCustomization :: HtmlHelpController  a -> ConfigBase  b -> String ->  IO ()-htmlHelpControllerWriteCustomization _obj cfg path -  = withObjectRef "htmlHelpControllerWriteCustomization" _obj $ \cobj__obj -> -    withObjectPtr cfg $ \cobj_cfg -> -    withStringPtr path $ \cobj_path -> -    wxHtmlHelpController_WriteCustomization cobj__obj  cobj_cfg  cobj_path  -foreign import ccall "wxHtmlHelpController_WriteCustomization" wxHtmlHelpController_WriteCustomization :: Ptr (THtmlHelpController a) -> Ptr (TConfigBase b) -> Ptr (TWxString c) -> IO ()---- | usage: (@htmlWindowAppendToPage obj source@).-htmlWindowAppendToPage :: HtmlWindow  a -> String ->  IO Bool-htmlWindowAppendToPage _obj source -  = withBoolResult $-    withObjectRef "htmlWindowAppendToPage" _obj $ \cobj__obj -> -    withStringPtr source $ \cobj_source -> -    wxHtmlWindow_AppendToPage cobj__obj  cobj_source  -foreign import ccall "wxHtmlWindow_AppendToPage" wxHtmlWindow_AppendToPage :: Ptr (THtmlWindow a) -> Ptr (TWxString b) -> IO CBool---- | usage: (@htmlWindowCreate prt id lfttopwdthgt stl txt@).-htmlWindowCreate :: Window  a -> Id -> Rect -> Style -> String ->  IO (HtmlWindow  ())-htmlWindowCreate _prt _id _lfttopwdthgt _stl _txt -  = withObjectResult $-    withObjectPtr _prt $ \cobj__prt -> -    withStringPtr _txt $ \cobj__txt -> -    wxHtmlWindow_Create cobj__prt  (toCInt _id)  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  (toCInt _stl)  cobj__txt  -foreign import ccall "wxHtmlWindow_Create" wxHtmlWindow_Create :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> Ptr (TWxString e) -> IO (Ptr (THtmlWindow ()))---- | usage: (@htmlWindowGetInternalRepresentation obj@).-htmlWindowGetInternalRepresentation :: HtmlWindow  a ->  IO (HtmlContainerCell  ())-htmlWindowGetInternalRepresentation _obj -  = withObjectResult $-    withObjectRef "htmlWindowGetInternalRepresentation" _obj $ \cobj__obj -> -    wxHtmlWindow_GetInternalRepresentation cobj__obj  -foreign import ccall "wxHtmlWindow_GetInternalRepresentation" wxHtmlWindow_GetInternalRepresentation :: Ptr (THtmlWindow a) -> IO (Ptr (THtmlContainerCell ()))---- | usage: (@htmlWindowGetOpenedAnchor obj@).-htmlWindowGetOpenedAnchor :: HtmlWindow  a ->  IO (String)-htmlWindowGetOpenedAnchor _obj -  = withManagedStringResult $-    withObjectRef "htmlWindowGetOpenedAnchor" _obj $ \cobj__obj -> -    wxHtmlWindow_GetOpenedAnchor cobj__obj  -foreign import ccall "wxHtmlWindow_GetOpenedAnchor" wxHtmlWindow_GetOpenedAnchor :: Ptr (THtmlWindow a) -> IO (Ptr (TWxString ()))---- | usage: (@htmlWindowGetOpenedPage obj@).-htmlWindowGetOpenedPage :: HtmlWindow  a ->  IO (String)-htmlWindowGetOpenedPage _obj -  = withManagedStringResult $-    withObjectRef "htmlWindowGetOpenedPage" _obj $ \cobj__obj -> -    wxHtmlWindow_GetOpenedPage cobj__obj  -foreign import ccall "wxHtmlWindow_GetOpenedPage" wxHtmlWindow_GetOpenedPage :: Ptr (THtmlWindow a) -> IO (Ptr (TWxString ()))---- | usage: (@htmlWindowGetOpenedPageTitle obj@).-htmlWindowGetOpenedPageTitle :: HtmlWindow  a ->  IO (String)-htmlWindowGetOpenedPageTitle _obj -  = withManagedStringResult $-    withObjectRef "htmlWindowGetOpenedPageTitle" _obj $ \cobj__obj -> -    wxHtmlWindow_GetOpenedPageTitle cobj__obj  -foreign import ccall "wxHtmlWindow_GetOpenedPageTitle" wxHtmlWindow_GetOpenedPageTitle :: Ptr (THtmlWindow a) -> IO (Ptr (TWxString ()))---- | usage: (@htmlWindowGetRelatedFrame obj@).-htmlWindowGetRelatedFrame :: HtmlWindow  a ->  IO (Frame  ())-htmlWindowGetRelatedFrame _obj -  = withObjectResult $-    withObjectRef "htmlWindowGetRelatedFrame" _obj $ \cobj__obj -> -    wxHtmlWindow_GetRelatedFrame cobj__obj  -foreign import ccall "wxHtmlWindow_GetRelatedFrame" wxHtmlWindow_GetRelatedFrame :: Ptr (THtmlWindow a) -> IO (Ptr (TFrame ()))---- | usage: (@htmlWindowHistoryBack obj@).-htmlWindowHistoryBack :: HtmlWindow  a ->  IO Bool-htmlWindowHistoryBack _obj -  = withBoolResult $-    withObjectRef "htmlWindowHistoryBack" _obj $ \cobj__obj -> -    wxHtmlWindow_HistoryBack cobj__obj  -foreign import ccall "wxHtmlWindow_HistoryBack" wxHtmlWindow_HistoryBack :: Ptr (THtmlWindow a) -> IO CBool---- | usage: (@htmlWindowHistoryCanBack obj@).-htmlWindowHistoryCanBack :: HtmlWindow  a ->  IO Bool-htmlWindowHistoryCanBack _obj -  = withBoolResult $-    withObjectRef "htmlWindowHistoryCanBack" _obj $ \cobj__obj -> -    wxHtmlWindow_HistoryCanBack cobj__obj  -foreign import ccall "wxHtmlWindow_HistoryCanBack" wxHtmlWindow_HistoryCanBack :: Ptr (THtmlWindow a) -> IO CBool---- | usage: (@htmlWindowHistoryCanForward obj@).-htmlWindowHistoryCanForward :: HtmlWindow  a ->  IO Bool-htmlWindowHistoryCanForward _obj -  = withBoolResult $-    withObjectRef "htmlWindowHistoryCanForward" _obj $ \cobj__obj -> -    wxHtmlWindow_HistoryCanForward cobj__obj  -foreign import ccall "wxHtmlWindow_HistoryCanForward" wxHtmlWindow_HistoryCanForward :: Ptr (THtmlWindow a) -> IO CBool---- | usage: (@htmlWindowHistoryClear obj@).-htmlWindowHistoryClear :: HtmlWindow  a ->  IO ()-htmlWindowHistoryClear _obj -  = withObjectRef "htmlWindowHistoryClear" _obj $ \cobj__obj -> -    wxHtmlWindow_HistoryClear cobj__obj  -foreign import ccall "wxHtmlWindow_HistoryClear" wxHtmlWindow_HistoryClear :: Ptr (THtmlWindow a) -> IO ()---- | usage: (@htmlWindowHistoryForward obj@).-htmlWindowHistoryForward :: HtmlWindow  a ->  IO Bool-htmlWindowHistoryForward _obj -  = withBoolResult $-    withObjectRef "htmlWindowHistoryForward" _obj $ \cobj__obj -> -    wxHtmlWindow_HistoryForward cobj__obj  -foreign import ccall "wxHtmlWindow_HistoryForward" wxHtmlWindow_HistoryForward :: Ptr (THtmlWindow a) -> IO CBool---- | usage: (@htmlWindowLoadPage obj location@).-htmlWindowLoadPage :: HtmlWindow  a -> String ->  IO Bool-htmlWindowLoadPage _obj location -  = withBoolResult $-    withObjectRef "htmlWindowLoadPage" _obj $ \cobj__obj -> -    withStringPtr location $ \cobj_location -> -    wxHtmlWindow_LoadPage cobj__obj  cobj_location  -foreign import ccall "wxHtmlWindow_LoadPage" wxHtmlWindow_LoadPage :: Ptr (THtmlWindow a) -> Ptr (TWxString b) -> IO CBool---- | usage: (@htmlWindowReadCustomization obj cfg path@).-htmlWindowReadCustomization :: HtmlWindow  a -> ConfigBase  b -> String ->  IO ()-htmlWindowReadCustomization _obj cfg path -  = withObjectRef "htmlWindowReadCustomization" _obj $ \cobj__obj -> -    withObjectPtr cfg $ \cobj_cfg -> -    withStringPtr path $ \cobj_path -> -    wxHtmlWindow_ReadCustomization cobj__obj  cobj_cfg  cobj_path  -foreign import ccall "wxHtmlWindow_ReadCustomization" wxHtmlWindow_ReadCustomization :: Ptr (THtmlWindow a) -> Ptr (TConfigBase b) -> Ptr (TWxString c) -> IO ()---- | usage: (@htmlWindowSetBorders obj b@).-htmlWindowSetBorders :: HtmlWindow  a -> Int ->  IO ()-htmlWindowSetBorders _obj b -  = withObjectRef "htmlWindowSetBorders" _obj $ \cobj__obj -> -    wxHtmlWindow_SetBorders cobj__obj  (toCInt b)  -foreign import ccall "wxHtmlWindow_SetBorders" wxHtmlWindow_SetBorders :: Ptr (THtmlWindow a) -> CInt -> IO ()---- | usage: (@htmlWindowSetFonts obj normalface fixedface sizes@).-htmlWindowSetFonts :: HtmlWindow  a -> String -> String -> Ptr CInt ->  IO ()-htmlWindowSetFonts _obj normalface fixedface sizes -  = withObjectRef "htmlWindowSetFonts" _obj $ \cobj__obj -> -    withStringPtr normalface $ \cobj_normalface -> -    withStringPtr fixedface $ \cobj_fixedface -> -    wxHtmlWindow_SetFonts cobj__obj  cobj_normalface  cobj_fixedface  sizes  -foreign import ccall "wxHtmlWindow_SetFonts" wxHtmlWindow_SetFonts :: Ptr (THtmlWindow a) -> Ptr (TWxString b) -> Ptr (TWxString c) -> Ptr CInt -> IO ()---- | usage: (@htmlWindowSetPage obj source@).-htmlWindowSetPage :: HtmlWindow  a -> String ->  IO ()-htmlWindowSetPage _obj source -  = withObjectRef "htmlWindowSetPage" _obj $ \cobj__obj -> -    withStringPtr source $ \cobj_source -> -    wxHtmlWindow_SetPage cobj__obj  cobj_source  -foreign import ccall "wxHtmlWindow_SetPage" wxHtmlWindow_SetPage :: Ptr (THtmlWindow a) -> Ptr (TWxString b) -> IO ()---- | usage: (@htmlWindowSetRelatedFrame obj frame format@).-htmlWindowSetRelatedFrame :: HtmlWindow  a -> Frame  b -> String ->  IO ()-htmlWindowSetRelatedFrame _obj frame format -  = withObjectRef "htmlWindowSetRelatedFrame" _obj $ \cobj__obj -> -    withObjectPtr frame $ \cobj_frame -> -    withStringPtr format $ \cobj_format -> -    wxHtmlWindow_SetRelatedFrame cobj__obj  cobj_frame  cobj_format  -foreign import ccall "wxHtmlWindow_SetRelatedFrame" wxHtmlWindow_SetRelatedFrame :: Ptr (THtmlWindow a) -> Ptr (TFrame b) -> Ptr (TWxString c) -> IO ()---- | usage: (@htmlWindowSetRelatedStatusBar obj bar@).-htmlWindowSetRelatedStatusBar :: HtmlWindow  a -> Int ->  IO ()-htmlWindowSetRelatedStatusBar _obj bar -  = withObjectRef "htmlWindowSetRelatedStatusBar" _obj $ \cobj__obj -> -    wxHtmlWindow_SetRelatedStatusBar cobj__obj  (toCInt bar)  -foreign import ccall "wxHtmlWindow_SetRelatedStatusBar" wxHtmlWindow_SetRelatedStatusBar :: Ptr (THtmlWindow a) -> CInt -> IO ()---- | usage: (@htmlWindowWriteCustomization obj cfg path@).-htmlWindowWriteCustomization :: HtmlWindow  a -> ConfigBase  b -> String ->  IO ()-htmlWindowWriteCustomization _obj cfg path -  = withObjectRef "htmlWindowWriteCustomization" _obj $ \cobj__obj -> -    withObjectPtr cfg $ \cobj_cfg -> -    withStringPtr path $ \cobj_path -> -    wxHtmlWindow_WriteCustomization cobj__obj  cobj_cfg  cobj_path  -foreign import ccall "wxHtmlWindow_WriteCustomization" wxHtmlWindow_WriteCustomization :: Ptr (THtmlWindow a) -> Ptr (TConfigBase b) -> Ptr (TWxString c) -> IO ()---- | usage: (@iconAssign obj other@).-iconAssign :: Icon  a -> Ptr  b ->  IO ()-iconAssign _obj other -  = withObjectRef "iconAssign" _obj $ \cobj__obj -> -    wxIcon_Assign cobj__obj  other  -foreign import ccall "wxIcon_Assign" wxIcon_Assign :: Ptr (TIcon a) -> Ptr  b -> IO ()---- | usage: (@iconBundleAddIcon obj icon@).-iconBundleAddIcon :: IconBundle  a -> Icon  b ->  IO ()-iconBundleAddIcon _obj icon -  = withObjectRef "iconBundleAddIcon" _obj $ \cobj__obj -> -    withObjectPtr icon $ \cobj_icon -> -    wxIconBundle_AddIcon cobj__obj  cobj_icon  -foreign import ccall "wxIconBundle_AddIcon" wxIconBundle_AddIcon :: Ptr (TIconBundle a) -> Ptr (TIcon b) -> IO ()---- | usage: (@iconBundleAddIconFromFile obj file wxtype@).-iconBundleAddIconFromFile :: IconBundle  a -> String -> Int ->  IO ()-iconBundleAddIconFromFile _obj file wxtype -  = withObjectRef "iconBundleAddIconFromFile" _obj $ \cobj__obj -> -    withStringPtr file $ \cobj_file -> -    wxIconBundle_AddIconFromFile cobj__obj  cobj_file  (toCInt wxtype)  -foreign import ccall "wxIconBundle_AddIconFromFile" wxIconBundle_AddIconFromFile :: Ptr (TIconBundle a) -> Ptr (TWxString b) -> CInt -> IO ()---- | usage: (@iconBundleCreateDefault@).-iconBundleCreateDefault ::  IO (IconBundle  ())-iconBundleCreateDefault -  = withObjectResult $-    wxIconBundle_CreateDefault -foreign import ccall "wxIconBundle_CreateDefault" wxIconBundle_CreateDefault :: IO (Ptr (TIconBundle ()))---- | usage: (@iconBundleCreateFromFile file wxtype@).-iconBundleCreateFromFile :: String -> Int ->  IO (IconBundle  ())-iconBundleCreateFromFile file wxtype -  = withObjectResult $-    withStringPtr file $ \cobj_file -> -    wxIconBundle_CreateFromFile cobj_file  (toCInt wxtype)  -foreign import ccall "wxIconBundle_CreateFromFile" wxIconBundle_CreateFromFile :: Ptr (TWxString a) -> CInt -> IO (Ptr (TIconBundle ()))---- | usage: (@iconBundleCreateFromIcon icon@).-iconBundleCreateFromIcon :: Icon  a ->  IO (IconBundle  ())-iconBundleCreateFromIcon icon -  = withObjectResult $-    withObjectPtr icon $ \cobj_icon -> -    wxIconBundle_CreateFromIcon cobj_icon  -foreign import ccall "wxIconBundle_CreateFromIcon" wxIconBundle_CreateFromIcon :: Ptr (TIcon a) -> IO (Ptr (TIconBundle ()))---- | usage: (@iconBundleDelete obj@).-iconBundleDelete :: IconBundle  a ->  IO ()-iconBundleDelete _obj -  = withObjectRef "iconBundleDelete" _obj $ \cobj__obj -> -    wxIconBundle_Delete cobj__obj  -foreign import ccall "wxIconBundle_Delete" wxIconBundle_Delete :: Ptr (TIconBundle a) -> IO ()---- | usage: (@iconBundleGetIcon obj wh@).-iconBundleGetIcon :: IconBundle  a -> Size ->  IO (Icon  ())-iconBundleGetIcon _obj wh -  = withRefIcon $ \pref -> -    withObjectRef "iconBundleGetIcon" _obj $ \cobj__obj -> -    wxIconBundle_GetIcon cobj__obj  (toCIntSizeW wh) (toCIntSizeH wh)   pref-foreign import ccall "wxIconBundle_GetIcon" wxIconBundle_GetIcon :: Ptr (TIconBundle a) -> CInt -> CInt -> Ptr (TIcon ()) -> IO ()---- | usage: (@iconCopyFromBitmap obj bmp@).-iconCopyFromBitmap :: Icon  a -> Bitmap  b ->  IO ()-iconCopyFromBitmap _obj bmp -  = withObjectRef "iconCopyFromBitmap" _obj $ \cobj__obj -> -    withObjectPtr bmp $ \cobj_bmp -> -    wxIcon_CopyFromBitmap cobj__obj  cobj_bmp  -foreign import ccall "wxIcon_CopyFromBitmap" wxIcon_CopyFromBitmap :: Ptr (TIcon a) -> Ptr (TBitmap b) -> IO ()---- | usage: (@iconCreateDefault@).-iconCreateDefault ::  IO (Icon  ())-iconCreateDefault -  = withManagedIconResult $-    wxIcon_CreateDefault -foreign import ccall "wxIcon_CreateDefault" wxIcon_CreateDefault :: IO (Ptr (TIcon ()))---- | usage: (@iconCreateLoad name wxtype widthheight@).-iconCreateLoad :: String -> Int -> Size ->  IO (Icon  ())-iconCreateLoad name wxtype widthheight -  = withManagedIconResult $-    withStringPtr name $ \cobj_name -> -    wxIcon_CreateLoad cobj_name  (toCInt wxtype)  (toCIntSizeW widthheight) (toCIntSizeH widthheight)  -foreign import ccall "wxIcon_CreateLoad" wxIcon_CreateLoad :: Ptr (TWxString a) -> CInt -> CInt -> CInt -> IO (Ptr (TIcon ()))---- | usage: (@iconDelete obj@).-iconDelete :: Icon  a ->  IO ()-iconDelete-  = objectDelete----- | usage: (@iconFromRaw wxdata widthheight@).-iconFromRaw :: Icon  a -> Size ->  IO (Icon  ())-iconFromRaw wxdata widthheight -  = withManagedIconResult $-    withObjectRef "iconFromRaw" wxdata $ \cobj_wxdata -> -    wxIcon_FromRaw cobj_wxdata  (toCIntSizeW widthheight) (toCIntSizeH widthheight)  -foreign import ccall "wxIcon_FromRaw" wxIcon_FromRaw :: Ptr (TIcon a) -> CInt -> CInt -> IO (Ptr (TIcon ()))---- | usage: (@iconFromXPM wxdata@).-iconFromXPM :: Icon  a ->  IO (Icon  ())-iconFromXPM wxdata -  = withManagedIconResult $-    withObjectRef "iconFromXPM" wxdata $ \cobj_wxdata -> -    wxIcon_FromXPM cobj_wxdata  -foreign import ccall "wxIcon_FromXPM" wxIcon_FromXPM :: Ptr (TIcon a) -> IO (Ptr (TIcon ()))---- | usage: (@iconGetDepth obj@).-iconGetDepth :: Icon  a ->  IO Int-iconGetDepth _obj -  = withIntResult $-    withObjectRef "iconGetDepth" _obj $ \cobj__obj -> -    wxIcon_GetDepth cobj__obj  -foreign import ccall "wxIcon_GetDepth" wxIcon_GetDepth :: Ptr (TIcon a) -> IO CInt---- | usage: (@iconGetHeight obj@).-iconGetHeight :: Icon  a ->  IO Int-iconGetHeight _obj -  = withIntResult $-    withObjectRef "iconGetHeight" _obj $ \cobj__obj -> -    wxIcon_GetHeight cobj__obj  -foreign import ccall "wxIcon_GetHeight" wxIcon_GetHeight :: Ptr (TIcon a) -> IO CInt---- | usage: (@iconGetWidth obj@).-iconGetWidth :: Icon  a ->  IO Int-iconGetWidth _obj -  = withIntResult $-    withObjectRef "iconGetWidth" _obj $ \cobj__obj -> -    wxIcon_GetWidth cobj__obj  -foreign import ccall "wxIcon_GetWidth" wxIcon_GetWidth :: Ptr (TIcon a) -> IO CInt---- | usage: (@iconIsEqual obj other@).-iconIsEqual :: Icon  a -> Icon  b ->  IO Bool-iconIsEqual _obj other -  = withBoolResult $-    withObjectRef "iconIsEqual" _obj $ \cobj__obj -> -    withObjectPtr other $ \cobj_other -> -    wxIcon_IsEqual cobj__obj  cobj_other  -foreign import ccall "wxIcon_IsEqual" wxIcon_IsEqual :: Ptr (TIcon a) -> Ptr (TIcon b) -> IO CBool---- | usage: (@iconIsOk obj@).-iconIsOk :: Icon  a ->  IO Bool-iconIsOk _obj -  = withBoolResult $-    withObjectRef "iconIsOk" _obj $ \cobj__obj -> -    wxIcon_IsOk cobj__obj  -foreign import ccall "wxIcon_IsOk" wxIcon_IsOk :: Ptr (TIcon a) -> IO CBool---- | usage: (@iconIsStatic self@).-iconIsStatic :: Icon  a ->  IO Bool-iconIsStatic self -  = withBoolResult $-    withObjectPtr self $ \cobj_self -> -    wxIcon_IsStatic cobj_self  -foreign import ccall "wxIcon_IsStatic" wxIcon_IsStatic :: Ptr (TIcon a) -> IO CBool---- | usage: (@iconLoad obj name wxtype widthheight@).-iconLoad :: Icon  a -> String -> Int -> Size ->  IO Int-iconLoad _obj name wxtype widthheight -  = withIntResult $-    withObjectRef "iconLoad" _obj $ \cobj__obj -> -    withStringPtr name $ \cobj_name -> -    wxIcon_Load cobj__obj  cobj_name  (toCInt wxtype)  (toCIntSizeW widthheight) (toCIntSizeH widthheight)  -foreign import ccall "wxIcon_Load" wxIcon_Load :: Ptr (TIcon a) -> Ptr (TWxString b) -> CInt -> CInt -> CInt -> IO CInt---- | usage: (@iconSafeDelete self@).-iconSafeDelete :: Icon  a ->  IO ()-iconSafeDelete self -  = withObjectPtr self $ \cobj_self -> -    wxIcon_SafeDelete cobj_self  -foreign import ccall "wxIcon_SafeDelete" wxIcon_SafeDelete :: Ptr (TIcon a) -> IO ()---- | usage: (@iconSetDepth obj depth@).-iconSetDepth :: Icon  a -> Int ->  IO ()-iconSetDepth _obj depth -  = withObjectRef "iconSetDepth" _obj $ \cobj__obj -> -    wxIcon_SetDepth cobj__obj  (toCInt depth)  -foreign import ccall "wxIcon_SetDepth" wxIcon_SetDepth :: Ptr (TIcon a) -> CInt -> IO ()---- | usage: (@iconSetHeight obj height@).-iconSetHeight :: Icon  a -> Int ->  IO ()-iconSetHeight _obj height -  = withObjectRef "iconSetHeight" _obj $ \cobj__obj -> -    wxIcon_SetHeight cobj__obj  (toCInt height)  -foreign import ccall "wxIcon_SetHeight" wxIcon_SetHeight :: Ptr (TIcon a) -> CInt -> IO ()---- | usage: (@iconSetWidth obj width@).-iconSetWidth :: Icon  a -> Int ->  IO ()-iconSetWidth _obj width -  = withObjectRef "iconSetWidth" _obj $ \cobj__obj -> -    wxIcon_SetWidth cobj__obj  (toCInt width)  -foreign import ccall "wxIcon_SetWidth" wxIcon_SetWidth :: Ptr (TIcon a) -> CInt -> IO ()---- | usage: (@idleEventCopyObject obj objectdest@).-idleEventCopyObject :: IdleEvent  a -> WxObject  b ->  IO ()-idleEventCopyObject _obj objectdest -  = withObjectRef "idleEventCopyObject" _obj $ \cobj__obj -> -    withObjectPtr objectdest $ \cobj_objectdest -> -    wxIdleEvent_CopyObject cobj__obj  cobj_objectdest  -foreign import ccall "wxIdleEvent_CopyObject" wxIdleEvent_CopyObject :: Ptr (TIdleEvent a) -> Ptr (TWxObject b) -> IO ()---- | usage: (@idleEventMoreRequested obj@).-idleEventMoreRequested :: IdleEvent  a ->  IO Bool-idleEventMoreRequested _obj -  = withBoolResult $-    withObjectRef "idleEventMoreRequested" _obj $ \cobj__obj -> -    wxIdleEvent_MoreRequested cobj__obj  -foreign import ccall "wxIdleEvent_MoreRequested" wxIdleEvent_MoreRequested :: Ptr (TIdleEvent a) -> IO CBool---- | usage: (@idleEventRequestMore obj needMore@).-idleEventRequestMore :: IdleEvent  a -> Bool ->  IO ()-idleEventRequestMore _obj needMore -  = withObjectRef "idleEventRequestMore" _obj $ \cobj__obj -> -    wxIdleEvent_RequestMore cobj__obj  (toCBool needMore)  -foreign import ccall "wxIdleEvent_RequestMore" wxIdleEvent_RequestMore :: Ptr (TIdleEvent a) -> CBool -> IO ()---- | usage: (@imageCanRead name@).-imageCanRead :: String ->  IO Bool-imageCanRead name -  = withBoolResult $-    withStringPtr name $ \cobj_name -> -    wxImage_CanRead cobj_name  -foreign import ccall "wxImage_CanRead" wxImage_CanRead :: Ptr (TWxString a) -> IO CBool---- | usage: (@imageConvertToBitmap obj@).-imageConvertToBitmap :: Image  a ->  IO (Bitmap  ())-imageConvertToBitmap _obj -  = withRefBitmap $ \pref -> -    withObjectRef "imageConvertToBitmap" _obj $ \cobj__obj -> -    wxImage_ConvertToBitmap cobj__obj   pref-foreign import ccall "wxImage_ConvertToBitmap" wxImage_ConvertToBitmap :: Ptr (TImage a) -> Ptr (TBitmap ()) -> IO ()---- | usage: (@imageConvertToByteString obj wxtype@).-imageConvertToByteString :: Image  a -> Int ->  IO B.ByteString-imageConvertToByteString _obj wxtype -  = withByteStringResult $ \buffer -> -    withObjectRef "imageConvertToByteString" _obj $ \cobj__obj -> -    wxImage_ConvertToByteString cobj__obj  (toCInt wxtype)   buffer-foreign import ccall "wxImage_ConvertToByteString" wxImage_ConvertToByteString :: Ptr (TImage a) -> CInt -> Ptr CChar -> IO CInt---- | usage: (@imageConvertToLazyByteString obj wxtype@).-imageConvertToLazyByteString :: Image  a -> Int ->  IO LB.ByteString-imageConvertToLazyByteString _obj wxtype -  = withLazyByteStringResult $ \buffer -> -    withObjectRef "imageConvertToLazyByteString" _obj $ \cobj__obj -> -    wxImage_ConvertToLazyByteString cobj__obj  (toCInt wxtype)   buffer-foreign import ccall "wxImage_ConvertToLazyByteString" wxImage_ConvertToLazyByteString :: Ptr (TImage a) -> CInt -> Ptr CChar -> IO CInt---- | usage: (@imageCountColours obj stopafter@).-imageCountColours :: Image  a -> Int ->  IO Int-imageCountColours _obj stopafter -  = withIntResult $-    withObjectRef "imageCountColours" _obj $ \cobj__obj -> -    wxImage_CountColours cobj__obj  (toCInt stopafter)  -foreign import ccall "wxImage_CountColours" wxImage_CountColours :: Ptr (TImage a) -> CInt -> IO CInt---- | usage: (@imageCreateDefault@).-imageCreateDefault ::  IO (Image  ())-imageCreateDefault -  = withManagedObjectResult $-    wxImage_CreateDefault -foreign import ccall "wxImage_CreateDefault" wxImage_CreateDefault :: IO (Ptr (TImage ()))---- | usage: (@imageCreateFromBitmap bitmap@).-imageCreateFromBitmap :: Bitmap  a ->  IO (Image  ())-imageCreateFromBitmap bitmap -  = withManagedObjectResult $-    withObjectPtr bitmap $ \cobj_bitmap -> -    wxImage_CreateFromBitmap cobj_bitmap  -foreign import ccall "wxImage_CreateFromBitmap" wxImage_CreateFromBitmap :: Ptr (TBitmap a) -> IO (Ptr (TImage ()))---- | usage: (@imageCreateFromByteString datalength wxtype@).-imageCreateFromByteString :: B.ByteString -> Int ->  IO (Image  ())-imageCreateFromByteString datalength wxtype -  = withManagedObjectResult $-    B.useAsCStringLen datalength $ \(bs_datalength, bslen_datalength)  -> -    wxImage_CreateFromByteString bs_datalength bslen_datalength  (toCInt wxtype)  -foreign import ccall "wxImage_CreateFromByteString" wxImage_CreateFromByteString :: Ptr CChar -> Int -> CInt -> IO (Ptr (TImage ()))---- | usage: (@imageCreateFromData widthheight wxdata@).-imageCreateFromData :: Size -> Ptr  b ->  IO (Image  ())-imageCreateFromData widthheight wxdata -  = withManagedObjectResult $-    wxImage_CreateFromData (toCIntSizeW widthheight) (toCIntSizeH widthheight)  wxdata  -foreign import ccall "wxImage_CreateFromData" wxImage_CreateFromData :: CInt -> CInt -> Ptr  b -> IO (Ptr (TImage ()))---- | usage: (@imageCreateFromDataEx widthheight wxdata isStaticData@).-imageCreateFromDataEx :: Size -> Ptr  b -> Bool ->  IO (Image  ())-imageCreateFromDataEx widthheight wxdata isStaticData -  = withManagedObjectResult $-    wxImage_CreateFromDataEx (toCIntSizeW widthheight) (toCIntSizeH widthheight)  wxdata  (toCBool isStaticData)  -foreign import ccall "wxImage_CreateFromDataEx" wxImage_CreateFromDataEx :: CInt -> CInt -> Ptr  b -> CBool -> IO (Ptr (TImage ()))---- | usage: (@imageCreateFromFile name@).-imageCreateFromFile :: String ->  IO (Image  ())-imageCreateFromFile name -  = withManagedObjectResult $-    withStringPtr name $ \cobj_name -> -    wxImage_CreateFromFile cobj_name  -foreign import ccall "wxImage_CreateFromFile" wxImage_CreateFromFile :: Ptr (TWxString a) -> IO (Ptr (TImage ()))---- | usage: (@imageCreateFromLazyByteString datalength wxtype@).-imageCreateFromLazyByteString :: LB.ByteString -> Int ->  IO (Image  ())-imageCreateFromLazyByteString datalength wxtype -  = withManagedObjectResult $-    withArray (LB.unpack datalength) $ \bs_datalength -> -    wxImage_CreateFromLazyByteString bs_datalength (fromIntegral $ LB.length datalength)  (toCInt wxtype)  -foreign import ccall "wxImage_CreateFromLazyByteString" wxImage_CreateFromLazyByteString :: Ptr Word8 -> Int -> CInt -> IO (Ptr (TImage ()))---- | usage: (@imageCreateSized widthheight@).-imageCreateSized :: Size ->  IO (Image  ())-imageCreateSized widthheight -  = withManagedObjectResult $-    wxImage_CreateSized (toCIntSizeW widthheight) (toCIntSizeH widthheight)  -foreign import ccall "wxImage_CreateSized" wxImage_CreateSized :: CInt -> CInt -> IO (Ptr (TImage ()))---- | usage: (@imageDelete image@).-imageDelete :: Image  a ->  IO ()-imageDelete-  = objectDelete----- | usage: (@imageDestroy obj@).-imageDestroy :: Image  a ->  IO ()-imageDestroy _obj -  = withObjectRef "imageDestroy" _obj $ \cobj__obj -> -    wxImage_Destroy cobj__obj  -foreign import ccall "wxImage_Destroy" wxImage_Destroy :: Ptr (TImage a) -> IO ()---- | usage: (@imageGetBlue obj xy@).-imageGetBlue :: Image  a -> Point ->  IO Char-imageGetBlue _obj xy -  = withCharResult $-    withObjectRef "imageGetBlue" _obj $ \cobj__obj -> -    wxImage_GetBlue cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  -foreign import ccall "wxImage_GetBlue" wxImage_GetBlue :: Ptr (TImage a) -> CInt -> CInt -> IO CWchar---- | usage: (@imageGetData obj@).-imageGetData :: Image  a ->  IO (Ptr  ())-imageGetData _obj -  = withObjectRef "imageGetData" _obj $ \cobj__obj -> -    wxImage_GetData cobj__obj  -foreign import ccall "wxImage_GetData" wxImage_GetData :: Ptr (TImage a) -> IO (Ptr  ())---- | usage: (@imageGetGreen obj xy@).-imageGetGreen :: Image  a -> Point ->  IO Char-imageGetGreen _obj xy -  = withCharResult $-    withObjectRef "imageGetGreen" _obj $ \cobj__obj -> -    wxImage_GetGreen cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  -foreign import ccall "wxImage_GetGreen" wxImage_GetGreen :: Ptr (TImage a) -> CInt -> CInt -> IO CWchar---- | usage: (@imageGetHeight obj@).-imageGetHeight :: Image  a ->  IO Int-imageGetHeight _obj -  = withIntResult $-    withObjectRef "imageGetHeight" _obj $ \cobj__obj -> -    wxImage_GetHeight cobj__obj  -foreign import ccall "wxImage_GetHeight" wxImage_GetHeight :: Ptr (TImage a) -> IO CInt---- | usage: (@imageGetMaskBlue obj@).-imageGetMaskBlue :: Image  a ->  IO Char-imageGetMaskBlue _obj -  = withCharResult $-    withObjectRef "imageGetMaskBlue" _obj $ \cobj__obj -> -    wxImage_GetMaskBlue cobj__obj  -foreign import ccall "wxImage_GetMaskBlue" wxImage_GetMaskBlue :: Ptr (TImage a) -> IO CWchar---- | usage: (@imageGetMaskGreen obj@).-imageGetMaskGreen :: Image  a ->  IO Char-imageGetMaskGreen _obj -  = withCharResult $-    withObjectRef "imageGetMaskGreen" _obj $ \cobj__obj -> -    wxImage_GetMaskGreen cobj__obj  -foreign import ccall "wxImage_GetMaskGreen" wxImage_GetMaskGreen :: Ptr (TImage a) -> IO CWchar---- | usage: (@imageGetMaskRed obj@).-imageGetMaskRed :: Image  a ->  IO Char-imageGetMaskRed _obj -  = withCharResult $-    withObjectRef "imageGetMaskRed" _obj $ \cobj__obj -> -    wxImage_GetMaskRed cobj__obj  -foreign import ccall "wxImage_GetMaskRed" wxImage_GetMaskRed :: Ptr (TImage a) -> IO CWchar---- | usage: (@imageGetOption obj name@).-imageGetOption :: Image  a -> String ->  IO (String)-imageGetOption _obj name -  = withManagedStringResult $-    withObjectRef "imageGetOption" _obj $ \cobj__obj -> -    withStringPtr name $ \cobj_name -> -    wxImage_GetOption cobj__obj  cobj_name  -foreign import ccall "wxImage_GetOption" wxImage_GetOption :: Ptr (TImage a) -> Ptr (TWxString b) -> IO (Ptr (TWxString ()))---- | usage: (@imageGetOptionInt obj name@).-imageGetOptionInt :: Image  a -> String ->  IO Bool-imageGetOptionInt _obj name -  = withBoolResult $-    withObjectRef "imageGetOptionInt" _obj $ \cobj__obj -> -    withStringPtr name $ \cobj_name -> -    wxImage_GetOptionInt cobj__obj  cobj_name  -foreign import ccall "wxImage_GetOptionInt" wxImage_GetOptionInt :: Ptr (TImage a) -> Ptr (TWxString b) -> IO CBool---- | usage: (@imageGetRed obj xy@).-imageGetRed :: Image  a -> Point ->  IO Char-imageGetRed _obj xy -  = withCharResult $-    withObjectRef "imageGetRed" _obj $ \cobj__obj -> -    wxImage_GetRed cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  -foreign import ccall "wxImage_GetRed" wxImage_GetRed :: Ptr (TImage a) -> CInt -> CInt -> IO CWchar---- | usage: (@imageGetSubImage obj xywh@).-imageGetSubImage :: Image  a -> Rect ->  IO (Image  ())-imageGetSubImage _obj xywh -  = withRefImage $ \pref -> -    withObjectRef "imageGetSubImage" _obj $ \cobj__obj -> -    wxImage_GetSubImage cobj__obj  (toCIntRectX xywh) (toCIntRectY xywh)(toCIntRectW xywh) (toCIntRectH xywh)   pref-foreign import ccall "wxImage_GetSubImage" wxImage_GetSubImage :: Ptr (TImage a) -> CInt -> CInt -> CInt -> CInt -> Ptr (TImage ()) -> IO ()---- | usage: (@imageGetWidth obj@).-imageGetWidth :: Image  a ->  IO Int-imageGetWidth _obj -  = withIntResult $-    withObjectRef "imageGetWidth" _obj $ \cobj__obj -> -    wxImage_GetWidth cobj__obj  -foreign import ccall "wxImage_GetWidth" wxImage_GetWidth :: Ptr (TImage a) -> IO CInt---- | usage: (@imageHasMask obj@).-imageHasMask :: Image  a ->  IO Bool-imageHasMask _obj -  = withBoolResult $-    withObjectRef "imageHasMask" _obj $ \cobj__obj -> -    wxImage_HasMask cobj__obj  -foreign import ccall "wxImage_HasMask" wxImage_HasMask :: Ptr (TImage a) -> IO CBool---- | usage: (@imageHasOption obj name@).-imageHasOption :: Image  a -> String ->  IO Bool-imageHasOption _obj name -  = withBoolResult $-    withObjectRef "imageHasOption" _obj $ \cobj__obj -> -    withStringPtr name $ \cobj_name -> -    wxImage_HasOption cobj__obj  cobj_name  -foreign import ccall "wxImage_HasOption" wxImage_HasOption :: Ptr (TImage a) -> Ptr (TWxString b) -> IO CBool---- | usage: (@imageInitialize obj widthheight@).-imageInitialize :: Image  a -> Size ->  IO ()-imageInitialize _obj widthheight -  = withObjectRef "imageInitialize" _obj $ \cobj__obj -> -    wxImage_Initialize cobj__obj  (toCIntSizeW widthheight) (toCIntSizeH widthheight)  -foreign import ccall "wxImage_Initialize" wxImage_Initialize :: Ptr (TImage a) -> CInt -> CInt -> IO ()---- | usage: (@imageInitializeFromData obj widthheight wxdata@).-imageInitializeFromData :: Image  a -> Size -> Ptr  c ->  IO ()-imageInitializeFromData _obj widthheight wxdata -  = withObjectRef "imageInitializeFromData" _obj $ \cobj__obj -> -    wxImage_InitializeFromData cobj__obj  (toCIntSizeW widthheight) (toCIntSizeH widthheight)  wxdata  -foreign import ccall "wxImage_InitializeFromData" wxImage_InitializeFromData :: Ptr (TImage a) -> CInt -> CInt -> Ptr  c -> IO ()---- | usage: (@imageIsOk obj@).-imageIsOk :: Image  a ->  IO Bool-imageIsOk _obj -  = withBoolResult $-    withObjectRef "imageIsOk" _obj $ \cobj__obj -> -    wxImage_IsOk cobj__obj  -foreign import ccall "wxImage_IsOk" wxImage_IsOk :: Ptr (TImage a) -> IO CBool---- | usage: (@imageListAddBitmap obj bitmap mask@).-imageListAddBitmap :: ImageList  a -> Bitmap  b -> Bitmap  c ->  IO Int-imageListAddBitmap _obj bitmap mask -  = withIntResult $-    withObjectRef "imageListAddBitmap" _obj $ \cobj__obj -> -    withObjectPtr bitmap $ \cobj_bitmap -> -    withObjectPtr mask $ \cobj_mask -> -    wxImageList_AddBitmap cobj__obj  cobj_bitmap  cobj_mask  -foreign import ccall "wxImageList_AddBitmap" wxImageList_AddBitmap :: Ptr (TImageList a) -> Ptr (TBitmap b) -> Ptr (TBitmap c) -> IO CInt---- | usage: (@imageListAddIcon obj icon@).-imageListAddIcon :: ImageList  a -> Icon  b ->  IO Int-imageListAddIcon _obj icon -  = withIntResult $-    withObjectRef "imageListAddIcon" _obj $ \cobj__obj -> -    withObjectPtr icon $ \cobj_icon -> -    wxImageList_AddIcon cobj__obj  cobj_icon  -foreign import ccall "wxImageList_AddIcon" wxImageList_AddIcon :: Ptr (TImageList a) -> Ptr (TIcon b) -> IO CInt---- | usage: (@imageListAddMasked obj bitmap maskColour@).-imageListAddMasked :: ImageList  a -> Bitmap  b -> Color ->  IO Int-imageListAddMasked _obj bitmap maskColour -  = withIntResult $-    withObjectRef "imageListAddMasked" _obj $ \cobj__obj -> -    withObjectPtr bitmap $ \cobj_bitmap -> -    withColourPtr maskColour $ \cobj_maskColour -> -    wxImageList_AddMasked cobj__obj  cobj_bitmap  cobj_maskColour  -foreign import ccall "wxImageList_AddMasked" wxImageList_AddMasked :: Ptr (TImageList a) -> Ptr (TBitmap b) -> Ptr (TColour c) -> IO CInt---- | usage: (@imageListCreate widthheight mask initialCount@).-imageListCreate :: Size -> Bool -> Int ->  IO (ImageList  ())-imageListCreate widthheight mask initialCount -  = withObjectResult $-    wxImageList_Create (toCIntSizeW widthheight) (toCIntSizeH widthheight)  (toCBool mask)  (toCInt initialCount)  -foreign import ccall "wxImageList_Create" wxImageList_Create :: CInt -> CInt -> CBool -> CInt -> IO (Ptr (TImageList ()))---- | usage: (@imageListDelete obj@).-imageListDelete :: ImageList  a ->  IO ()-imageListDelete-  = objectDelete----- | usage: (@imageListDraw obj index dc xy flags solidBackground@).-imageListDraw :: ImageList  a -> Int -> DC  c -> Point -> Int -> Bool ->  IO Bool-imageListDraw _obj index dc xy flags solidBackground -  = withBoolResult $-    withObjectRef "imageListDraw" _obj $ \cobj__obj -> -    withObjectPtr dc $ \cobj_dc -> -    wxImageList_Draw cobj__obj  (toCInt index)  cobj_dc  (toCIntPointX xy) (toCIntPointY xy)  (toCInt flags)  (toCBool solidBackground)  -foreign import ccall "wxImageList_Draw" wxImageList_Draw :: Ptr (TImageList a) -> CInt -> Ptr (TDC c) -> CInt -> CInt -> CInt -> CBool -> IO CBool---- | usage: (@imageListGetImageCount obj@).-imageListGetImageCount :: ImageList  a ->  IO Int-imageListGetImageCount _obj -  = withIntResult $-    withObjectRef "imageListGetImageCount" _obj $ \cobj__obj -> -    wxImageList_GetImageCount cobj__obj  -foreign import ccall "wxImageList_GetImageCount" wxImageList_GetImageCount :: Ptr (TImageList a) -> IO CInt---- | usage: (@imageListGetSize obj index@).-imageListGetSize :: ImageList  a -> Int ->  IO Size-imageListGetSize _obj index -  = withSizeResult $ \pw ph -> -    withObjectRef "imageListGetSize" _obj $ \cobj__obj -> -    wxImageList_GetSize cobj__obj  (toCInt index)   pw ph-foreign import ccall "wxImageList_GetSize" wxImageList_GetSize :: Ptr (TImageList a) -> CInt -> Ptr CInt -> Ptr CInt -> IO ()---- | usage: (@imageListRemove obj index@).-imageListRemove :: ImageList  a -> Int ->  IO Bool-imageListRemove _obj index -  = withBoolResult $-    withObjectRef "imageListRemove" _obj $ \cobj__obj -> -    wxImageList_Remove cobj__obj  (toCInt index)  -foreign import ccall "wxImageList_Remove" wxImageList_Remove :: Ptr (TImageList a) -> CInt -> IO CBool---- | usage: (@imageListRemoveAll obj@).-imageListRemoveAll :: ImageList  a ->  IO Bool-imageListRemoveAll _obj -  = withBoolResult $-    withObjectRef "imageListRemoveAll" _obj $ \cobj__obj -> -    wxImageList_RemoveAll cobj__obj  -foreign import ccall "wxImageList_RemoveAll" wxImageList_RemoveAll :: Ptr (TImageList a) -> IO CBool---- | usage: (@imageListReplace obj index bitmap mask@).-imageListReplace :: ImageList  a -> Int -> Bitmap  c -> Bitmap  d ->  IO Bool-imageListReplace _obj index bitmap mask -  = withBoolResult $-    withObjectRef "imageListReplace" _obj $ \cobj__obj -> -    withObjectPtr bitmap $ \cobj_bitmap -> -    withObjectPtr mask $ \cobj_mask -> -    wxImageList_Replace cobj__obj  (toCInt index)  cobj_bitmap  cobj_mask  -foreign import ccall "wxImageList_Replace" wxImageList_Replace :: Ptr (TImageList a) -> CInt -> Ptr (TBitmap c) -> Ptr (TBitmap d) -> IO CBool---- | usage: (@imageListReplaceIcon obj index icon@).-imageListReplaceIcon :: ImageList  a -> Int -> Icon  c ->  IO Bool-imageListReplaceIcon _obj index icon -  = withBoolResult $-    withObjectRef "imageListReplaceIcon" _obj $ \cobj__obj -> -    withObjectPtr icon $ \cobj_icon -> -    wxImageList_ReplaceIcon cobj__obj  (toCInt index)  cobj_icon  -foreign import ccall "wxImageList_ReplaceIcon" wxImageList_ReplaceIcon :: Ptr (TImageList a) -> CInt -> Ptr (TIcon c) -> IO CBool---- | usage: (@imageLoadFile obj name wxtype@).-imageLoadFile :: Image  a -> String -> Int ->  IO Bool-imageLoadFile _obj name wxtype -  = withBoolResult $-    withObjectRef "imageLoadFile" _obj $ \cobj__obj -> -    withStringPtr name $ \cobj_name -> -    wxImage_LoadFile cobj__obj  cobj_name  (toCInt wxtype)  -foreign import ccall "wxImage_LoadFile" wxImage_LoadFile :: Ptr (TImage a) -> Ptr (TWxString b) -> CInt -> IO CBool---- | usage: (@imageMirror obj horizontally@).-imageMirror :: Image  a -> Bool ->  IO (Image  ())-imageMirror _obj horizontally -  = withRefImage $ \pref -> -    withObjectRef "imageMirror" _obj $ \cobj__obj -> -    wxImage_Mirror cobj__obj  (toCBool horizontally)   pref-foreign import ccall "wxImage_Mirror" wxImage_Mirror :: Ptr (TImage a) -> CBool -> Ptr (TImage ()) -> IO ()---- | usage: (@imagePaste obj image xy@).-imagePaste :: Image  a -> Image  b -> Point ->  IO ()-imagePaste _obj image xy -  = withObjectRef "imagePaste" _obj $ \cobj__obj -> -    withObjectPtr image $ \cobj_image -> -    wxImage_Paste cobj__obj  cobj_image  (toCIntPointX xy) (toCIntPointY xy)  -foreign import ccall "wxImage_Paste" wxImage_Paste :: Ptr (TImage a) -> Ptr (TImage b) -> CInt -> CInt -> IO ()---- | usage: (@imageReplace obj r1g1b1 r2g2b2@).-imageReplace :: Image  a -> Color -> Color ->  IO ()-imageReplace _obj r1g1b1 r2g2b2 -  = withObjectRef "imageReplace" _obj $ \cobj__obj -> -    wxImage_Replace cobj__obj  (colorRed r1g1b1) (colorGreen r1g1b1) (colorBlue r1g1b1)  (colorRed r2g2b2) (colorGreen r2g2b2) (colorBlue r2g2b2)  -foreign import ccall "wxImage_Replace" wxImage_Replace :: Ptr (TImage a) -> Word8 -> Word8 -> Word8 -> Word8 -> Word8 -> Word8 -> IO ()---- | usage: (@imageRescale obj widthheight@).-imageRescale :: Image  a -> Size ->  IO ()-imageRescale _obj widthheight -  = withObjectRef "imageRescale" _obj $ \cobj__obj -> -    wxImage_Rescale cobj__obj  (toCIntSizeW widthheight) (toCIntSizeH widthheight)  -foreign import ccall "wxImage_Rescale" wxImage_Rescale :: Ptr (TImage a) -> CInt -> CInt -> IO ()---- | usage: (@imageRotate obj angle cxcy interpolating offsetafterrotation@).-imageRotate :: Image  a -> Double -> Point -> Bool -> Ptr  e ->  IO (Image  ())-imageRotate _obj angle cxcy interpolating offsetafterrotation -  = withRefImage $ \pref -> -    withObjectRef "imageRotate" _obj $ \cobj__obj -> -    wxImage_Rotate cobj__obj  angle  (toCIntPointX cxcy) (toCIntPointY cxcy)  (toCBool interpolating)  offsetafterrotation   pref-foreign import ccall "wxImage_Rotate" wxImage_Rotate :: Ptr (TImage a) -> Double -> CInt -> CInt -> CBool -> Ptr  e -> Ptr (TImage ()) -> IO ()---- | usage: (@imageRotate90 obj clockwise@).-imageRotate90 :: Image  a -> Bool ->  IO (Image  ())-imageRotate90 _obj clockwise -  = withRefImage $ \pref -> -    withObjectRef "imageRotate90" _obj $ \cobj__obj -> -    wxImage_Rotate90 cobj__obj  (toCBool clockwise)   pref-foreign import ccall "wxImage_Rotate90" wxImage_Rotate90 :: Ptr (TImage a) -> CBool -> Ptr (TImage ()) -> IO ()---- | usage: (@imageSaveFile obj name wxtype@).-imageSaveFile :: Image  a -> String -> Int ->  IO Bool-imageSaveFile _obj name wxtype -  = withBoolResult $-    withObjectRef "imageSaveFile" _obj $ \cobj__obj -> -    withStringPtr name $ \cobj_name -> -    wxImage_SaveFile cobj__obj  cobj_name  (toCInt wxtype)  -foreign import ccall "wxImage_SaveFile" wxImage_SaveFile :: Ptr (TImage a) -> Ptr (TWxString b) -> CInt -> IO CBool---- | usage: (@imageScale obj widthheight@).-imageScale :: Image  a -> Size ->  IO (Image  ())-imageScale _obj widthheight -  = withRefImage $ \pref -> -    withObjectRef "imageScale" _obj $ \cobj__obj -> -    wxImage_Scale cobj__obj  (toCIntSizeW widthheight) (toCIntSizeH widthheight)   pref-foreign import ccall "wxImage_Scale" wxImage_Scale :: Ptr (TImage a) -> CInt -> CInt -> Ptr (TImage ()) -> IO ()---- | usage: (@imageSetData obj wxdata@).-imageSetData :: Image  a -> Ptr  b ->  IO ()-imageSetData _obj wxdata -  = withObjectRef "imageSetData" _obj $ \cobj__obj -> -    wxImage_SetData cobj__obj  wxdata  -foreign import ccall "wxImage_SetData" wxImage_SetData :: Ptr (TImage a) -> Ptr  b -> IO ()---- | usage: (@imageSetDataAndSize obj wxdata newwidthnewheight@).-imageSetDataAndSize :: Image  a -> Ptr  b -> Size ->  IO ()-imageSetDataAndSize _obj wxdata newwidthnewheight -  = withObjectRef "imageSetDataAndSize" _obj $ \cobj__obj -> -    wxImage_SetDataAndSize cobj__obj  wxdata  (toCIntSizeW newwidthnewheight) (toCIntSizeH newwidthnewheight)  -foreign import ccall "wxImage_SetDataAndSize" wxImage_SetDataAndSize :: Ptr (TImage a) -> Ptr  b -> CInt -> CInt -> IO ()---- | usage: (@imageSetMask obj mask@).-imageSetMask :: Image  a -> Int ->  IO ()-imageSetMask _obj mask -  = withObjectRef "imageSetMask" _obj $ \cobj__obj -> -    wxImage_SetMask cobj__obj  (toCInt mask)  -foreign import ccall "wxImage_SetMask" wxImage_SetMask :: Ptr (TImage a) -> CInt -> IO ()---- | usage: (@imageSetMaskColour obj rgb@).-imageSetMaskColour :: Image  a -> Color ->  IO ()-imageSetMaskColour _obj rgb -  = withObjectRef "imageSetMaskColour" _obj $ \cobj__obj -> -    wxImage_SetMaskColour cobj__obj  (colorRed rgb) (colorGreen rgb) (colorBlue rgb)  -foreign import ccall "wxImage_SetMaskColour" wxImage_SetMaskColour :: Ptr (TImage a) -> Word8 -> Word8 -> Word8 -> IO ()---- | usage: (@imageSetOption obj name value@).-imageSetOption :: Image  a -> String -> String ->  IO ()-imageSetOption _obj name value -  = withObjectRef "imageSetOption" _obj $ \cobj__obj -> -    withStringPtr name $ \cobj_name -> -    withStringPtr value $ \cobj_value -> -    wxImage_SetOption cobj__obj  cobj_name  cobj_value  -foreign import ccall "wxImage_SetOption" wxImage_SetOption :: Ptr (TImage a) -> Ptr (TWxString b) -> Ptr (TWxString c) -> IO ()---- | usage: (@imageSetOptionInt obj name value@).-imageSetOptionInt :: Image  a -> String -> Int ->  IO ()-imageSetOptionInt _obj name value -  = withObjectRef "imageSetOptionInt" _obj $ \cobj__obj -> -    withStringPtr name $ \cobj_name -> -    wxImage_SetOptionInt cobj__obj  cobj_name  (toCInt value)  -foreign import ccall "wxImage_SetOptionInt" wxImage_SetOptionInt :: Ptr (TImage a) -> Ptr (TWxString b) -> CInt -> IO ()---- | usage: (@imageSetRGB obj xy rgb@).-imageSetRGB :: Image  a -> Point -> Color ->  IO ()-imageSetRGB _obj xy rgb -  = withObjectRef "imageSetRGB" _obj $ \cobj__obj -> -    wxImage_SetRGB cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  (colorRed rgb) (colorGreen rgb) (colorBlue rgb)  -foreign import ccall "wxImage_SetRGB" wxImage_SetRGB :: Ptr (TImage a) -> CInt -> CInt -> Word8 -> Word8 -> Word8 -> IO ()---- | usage: (@individualLayoutConstraintAbove obj sibling marg@).-individualLayoutConstraintAbove :: IndividualLayoutConstraint  a -> Window  b -> Int ->  IO ()-individualLayoutConstraintAbove _obj sibling marg -  = withObjectRef "individualLayoutConstraintAbove" _obj $ \cobj__obj -> -    withObjectPtr sibling $ \cobj_sibling -> -    wxIndividualLayoutConstraint_Above cobj__obj  cobj_sibling  (toCInt marg)  -foreign import ccall "wxIndividualLayoutConstraint_Above" wxIndividualLayoutConstraint_Above :: Ptr (TIndividualLayoutConstraint a) -> Ptr (TWindow b) -> CInt -> IO ()---- | usage: (@individualLayoutConstraintAbsolute obj val@).-individualLayoutConstraintAbsolute :: IndividualLayoutConstraint  a -> Int ->  IO ()-individualLayoutConstraintAbsolute _obj val -  = withObjectRef "individualLayoutConstraintAbsolute" _obj $ \cobj__obj -> -    wxIndividualLayoutConstraint_Absolute cobj__obj  (toCInt val)  -foreign import ccall "wxIndividualLayoutConstraint_Absolute" wxIndividualLayoutConstraint_Absolute :: Ptr (TIndividualLayoutConstraint a) -> CInt -> IO ()---- | usage: (@individualLayoutConstraintAsIs obj@).-individualLayoutConstraintAsIs :: IndividualLayoutConstraint  a ->  IO ()-individualLayoutConstraintAsIs _obj -  = withObjectRef "individualLayoutConstraintAsIs" _obj $ \cobj__obj -> -    wxIndividualLayoutConstraint_AsIs cobj__obj  -foreign import ccall "wxIndividualLayoutConstraint_AsIs" wxIndividualLayoutConstraint_AsIs :: Ptr (TIndividualLayoutConstraint a) -> IO ()---- | usage: (@individualLayoutConstraintBelow obj sibling marg@).-individualLayoutConstraintBelow :: IndividualLayoutConstraint  a -> Window  b -> Int ->  IO ()-individualLayoutConstraintBelow _obj sibling marg -  = withObjectRef "individualLayoutConstraintBelow" _obj $ \cobj__obj -> -    withObjectPtr sibling $ \cobj_sibling -> -    wxIndividualLayoutConstraint_Below cobj__obj  cobj_sibling  (toCInt marg)  -foreign import ccall "wxIndividualLayoutConstraint_Below" wxIndividualLayoutConstraint_Below :: Ptr (TIndividualLayoutConstraint a) -> Ptr (TWindow b) -> CInt -> IO ()---- | usage: (@individualLayoutConstraintGetDone obj@).-individualLayoutConstraintGetDone :: IndividualLayoutConstraint  a ->  IO Bool-individualLayoutConstraintGetDone _obj -  = withBoolResult $-    withObjectRef "individualLayoutConstraintGetDone" _obj $ \cobj__obj -> -    wxIndividualLayoutConstraint_GetDone cobj__obj  -foreign import ccall "wxIndividualLayoutConstraint_GetDone" wxIndividualLayoutConstraint_GetDone :: Ptr (TIndividualLayoutConstraint a) -> IO CBool---- | usage: (@individualLayoutConstraintGetEdge obj which thisWin other@).-individualLayoutConstraintGetEdge :: IndividualLayoutConstraint  a -> Int -> Ptr  c -> Ptr  d ->  IO Int-individualLayoutConstraintGetEdge _obj which thisWin other -  = withIntResult $-    withObjectRef "individualLayoutConstraintGetEdge" _obj $ \cobj__obj -> -    wxIndividualLayoutConstraint_GetEdge cobj__obj  (toCInt which)  thisWin  other  -foreign import ccall "wxIndividualLayoutConstraint_GetEdge" wxIndividualLayoutConstraint_GetEdge :: Ptr (TIndividualLayoutConstraint a) -> CInt -> Ptr  c -> Ptr  d -> IO CInt---- | usage: (@individualLayoutConstraintGetMargin obj@).-individualLayoutConstraintGetMargin :: IndividualLayoutConstraint  a ->  IO Int-individualLayoutConstraintGetMargin _obj -  = withIntResult $-    withObjectRef "individualLayoutConstraintGetMargin" _obj $ \cobj__obj -> -    wxIndividualLayoutConstraint_GetMargin cobj__obj  -foreign import ccall "wxIndividualLayoutConstraint_GetMargin" wxIndividualLayoutConstraint_GetMargin :: Ptr (TIndividualLayoutConstraint a) -> IO CInt---- | usage: (@individualLayoutConstraintGetMyEdge obj@).-individualLayoutConstraintGetMyEdge :: IndividualLayoutConstraint  a ->  IO Int-individualLayoutConstraintGetMyEdge _obj -  = withIntResult $-    withObjectRef "individualLayoutConstraintGetMyEdge" _obj $ \cobj__obj -> -    wxIndividualLayoutConstraint_GetMyEdge cobj__obj  -foreign import ccall "wxIndividualLayoutConstraint_GetMyEdge" wxIndividualLayoutConstraint_GetMyEdge :: Ptr (TIndividualLayoutConstraint a) -> IO CInt---- | usage: (@individualLayoutConstraintGetOtherEdge obj@).-individualLayoutConstraintGetOtherEdge :: IndividualLayoutConstraint  a ->  IO Int-individualLayoutConstraintGetOtherEdge _obj -  = withIntResult $-    withObjectRef "individualLayoutConstraintGetOtherEdge" _obj $ \cobj__obj -> -    wxIndividualLayoutConstraint_GetOtherEdge cobj__obj  -foreign import ccall "wxIndividualLayoutConstraint_GetOtherEdge" wxIndividualLayoutConstraint_GetOtherEdge :: Ptr (TIndividualLayoutConstraint a) -> IO CInt---- | usage: (@individualLayoutConstraintGetOtherWindow obj@).-individualLayoutConstraintGetOtherWindow :: IndividualLayoutConstraint  a ->  IO (Ptr  ())-individualLayoutConstraintGetOtherWindow _obj -  = withObjectRef "individualLayoutConstraintGetOtherWindow" _obj $ \cobj__obj -> -    wxIndividualLayoutConstraint_GetOtherWindow cobj__obj  -foreign import ccall "wxIndividualLayoutConstraint_GetOtherWindow" wxIndividualLayoutConstraint_GetOtherWindow :: Ptr (TIndividualLayoutConstraint a) -> IO (Ptr  ())---- | usage: (@individualLayoutConstraintGetPercent obj@).-individualLayoutConstraintGetPercent :: IndividualLayoutConstraint  a ->  IO Int-individualLayoutConstraintGetPercent _obj -  = withIntResult $-    withObjectRef "individualLayoutConstraintGetPercent" _obj $ \cobj__obj -> -    wxIndividualLayoutConstraint_GetPercent cobj__obj  -foreign import ccall "wxIndividualLayoutConstraint_GetPercent" wxIndividualLayoutConstraint_GetPercent :: Ptr (TIndividualLayoutConstraint a) -> IO CInt---- | usage: (@individualLayoutConstraintGetRelationship obj@).-individualLayoutConstraintGetRelationship :: IndividualLayoutConstraint  a ->  IO Int-individualLayoutConstraintGetRelationship _obj -  = withIntResult $-    withObjectRef "individualLayoutConstraintGetRelationship" _obj $ \cobj__obj -> -    wxIndividualLayoutConstraint_GetRelationship cobj__obj  -foreign import ccall "wxIndividualLayoutConstraint_GetRelationship" wxIndividualLayoutConstraint_GetRelationship :: Ptr (TIndividualLayoutConstraint a) -> IO CInt---- | usage: (@individualLayoutConstraintGetValue obj@).-individualLayoutConstraintGetValue :: IndividualLayoutConstraint  a ->  IO Int-individualLayoutConstraintGetValue _obj -  = withIntResult $-    withObjectRef "individualLayoutConstraintGetValue" _obj $ \cobj__obj -> -    wxIndividualLayoutConstraint_GetValue cobj__obj  -foreign import ccall "wxIndividualLayoutConstraint_GetValue" wxIndividualLayoutConstraint_GetValue :: Ptr (TIndividualLayoutConstraint a) -> IO CInt---- | usage: (@individualLayoutConstraintLeftOf obj sibling marg@).-individualLayoutConstraintLeftOf :: IndividualLayoutConstraint  a -> Window  b -> Int ->  IO ()-individualLayoutConstraintLeftOf _obj sibling marg -  = withObjectRef "individualLayoutConstraintLeftOf" _obj $ \cobj__obj -> -    withObjectPtr sibling $ \cobj_sibling -> -    wxIndividualLayoutConstraint_LeftOf cobj__obj  cobj_sibling  (toCInt marg)  -foreign import ccall "wxIndividualLayoutConstraint_LeftOf" wxIndividualLayoutConstraint_LeftOf :: Ptr (TIndividualLayoutConstraint a) -> Ptr (TWindow b) -> CInt -> IO ()---- | usage: (@individualLayoutConstraintPercentOf obj otherW wh per@).-individualLayoutConstraintPercentOf :: IndividualLayoutConstraint  a -> Window  b -> Int -> Int ->  IO ()-individualLayoutConstraintPercentOf _obj otherW wh per -  = withObjectRef "individualLayoutConstraintPercentOf" _obj $ \cobj__obj -> -    withObjectPtr otherW $ \cobj_otherW -> -    wxIndividualLayoutConstraint_PercentOf cobj__obj  cobj_otherW  (toCInt wh)  (toCInt per)  -foreign import ccall "wxIndividualLayoutConstraint_PercentOf" wxIndividualLayoutConstraint_PercentOf :: Ptr (TIndividualLayoutConstraint a) -> Ptr (TWindow b) -> CInt -> CInt -> IO ()---- | usage: (@individualLayoutConstraintResetIfWin obj otherW@).-individualLayoutConstraintResetIfWin :: IndividualLayoutConstraint  a -> Window  b ->  IO Bool-individualLayoutConstraintResetIfWin _obj otherW -  = withBoolResult $-    withObjectRef "individualLayoutConstraintResetIfWin" _obj $ \cobj__obj -> -    withObjectPtr otherW $ \cobj_otherW -> -    wxIndividualLayoutConstraint_ResetIfWin cobj__obj  cobj_otherW  -foreign import ccall "wxIndividualLayoutConstraint_ResetIfWin" wxIndividualLayoutConstraint_ResetIfWin :: Ptr (TIndividualLayoutConstraint a) -> Ptr (TWindow b) -> IO CBool---- | usage: (@individualLayoutConstraintRightOf obj sibling marg@).-individualLayoutConstraintRightOf :: IndividualLayoutConstraint  a -> Window  b -> Int ->  IO ()-individualLayoutConstraintRightOf _obj sibling marg -  = withObjectRef "individualLayoutConstraintRightOf" _obj $ \cobj__obj -> -    withObjectPtr sibling $ \cobj_sibling -> -    wxIndividualLayoutConstraint_RightOf cobj__obj  cobj_sibling  (toCInt marg)  -foreign import ccall "wxIndividualLayoutConstraint_RightOf" wxIndividualLayoutConstraint_RightOf :: Ptr (TIndividualLayoutConstraint a) -> Ptr (TWindow b) -> CInt -> IO ()---- | usage: (@individualLayoutConstraintSameAs obj otherW edge marg@).-individualLayoutConstraintSameAs :: IndividualLayoutConstraint  a -> Window  b -> Int -> Int ->  IO ()-individualLayoutConstraintSameAs _obj otherW edge marg -  = withObjectRef "individualLayoutConstraintSameAs" _obj $ \cobj__obj -> -    withObjectPtr otherW $ \cobj_otherW -> -    wxIndividualLayoutConstraint_SameAs cobj__obj  cobj_otherW  (toCInt edge)  (toCInt marg)  -foreign import ccall "wxIndividualLayoutConstraint_SameAs" wxIndividualLayoutConstraint_SameAs :: Ptr (TIndividualLayoutConstraint a) -> Ptr (TWindow b) -> CInt -> CInt -> IO ()---- | usage: (@individualLayoutConstraintSatisfyConstraint obj constraints win@).-individualLayoutConstraintSatisfyConstraint :: IndividualLayoutConstraint  a -> Ptr  b -> Window  c ->  IO Bool-individualLayoutConstraintSatisfyConstraint _obj constraints win -  = withBoolResult $-    withObjectRef "individualLayoutConstraintSatisfyConstraint" _obj $ \cobj__obj -> -    withObjectPtr win $ \cobj_win -> -    wxIndividualLayoutConstraint_SatisfyConstraint cobj__obj  constraints  cobj_win  -foreign import ccall "wxIndividualLayoutConstraint_SatisfyConstraint" wxIndividualLayoutConstraint_SatisfyConstraint :: Ptr (TIndividualLayoutConstraint a) -> Ptr  b -> Ptr (TWindow c) -> IO CBool---- | usage: (@individualLayoutConstraintSet obj rel otherW otherE val marg@).-individualLayoutConstraintSet :: IndividualLayoutConstraint  a -> Int -> Window  c -> Int -> Int -> Int ->  IO ()-individualLayoutConstraintSet _obj rel otherW otherE val marg -  = withObjectRef "individualLayoutConstraintSet" _obj $ \cobj__obj -> -    withObjectPtr otherW $ \cobj_otherW -> -    wxIndividualLayoutConstraint_Set cobj__obj  (toCInt rel)  cobj_otherW  (toCInt otherE)  (toCInt val)  (toCInt marg)  -foreign import ccall "wxIndividualLayoutConstraint_Set" wxIndividualLayoutConstraint_Set :: Ptr (TIndividualLayoutConstraint a) -> CInt -> Ptr (TWindow c) -> CInt -> CInt -> CInt -> IO ()---- | usage: (@individualLayoutConstraintSetDone obj d@).-individualLayoutConstraintSetDone :: IndividualLayoutConstraint  a -> Bool ->  IO ()-individualLayoutConstraintSetDone _obj d -  = withObjectRef "individualLayoutConstraintSetDone" _obj $ \cobj__obj -> -    wxIndividualLayoutConstraint_SetDone cobj__obj  (toCBool d)  -foreign import ccall "wxIndividualLayoutConstraint_SetDone" wxIndividualLayoutConstraint_SetDone :: Ptr (TIndividualLayoutConstraint a) -> CBool -> IO ()---- | usage: (@individualLayoutConstraintSetEdge obj which@).-individualLayoutConstraintSetEdge :: IndividualLayoutConstraint  a -> Int ->  IO ()-individualLayoutConstraintSetEdge _obj which -  = withObjectRef "individualLayoutConstraintSetEdge" _obj $ \cobj__obj -> -    wxIndividualLayoutConstraint_SetEdge cobj__obj  (toCInt which)  -foreign import ccall "wxIndividualLayoutConstraint_SetEdge" wxIndividualLayoutConstraint_SetEdge :: Ptr (TIndividualLayoutConstraint a) -> CInt -> IO ()---- | usage: (@individualLayoutConstraintSetMargin obj m@).-individualLayoutConstraintSetMargin :: IndividualLayoutConstraint  a -> Int ->  IO ()-individualLayoutConstraintSetMargin _obj m -  = withObjectRef "individualLayoutConstraintSetMargin" _obj $ \cobj__obj -> -    wxIndividualLayoutConstraint_SetMargin cobj__obj  (toCInt m)  -foreign import ccall "wxIndividualLayoutConstraint_SetMargin" wxIndividualLayoutConstraint_SetMargin :: Ptr (TIndividualLayoutConstraint a) -> CInt -> IO ()---- | usage: (@individualLayoutConstraintSetRelationship obj r@).-individualLayoutConstraintSetRelationship :: IndividualLayoutConstraint  a -> Int ->  IO ()-individualLayoutConstraintSetRelationship _obj r -  = withObjectRef "individualLayoutConstraintSetRelationship" _obj $ \cobj__obj -> -    wxIndividualLayoutConstraint_SetRelationship cobj__obj  (toCInt r)  -foreign import ccall "wxIndividualLayoutConstraint_SetRelationship" wxIndividualLayoutConstraint_SetRelationship :: Ptr (TIndividualLayoutConstraint a) -> CInt -> IO ()---- | usage: (@individualLayoutConstraintSetValue obj v@).-individualLayoutConstraintSetValue :: IndividualLayoutConstraint  a -> Int ->  IO ()-individualLayoutConstraintSetValue _obj v -  = withObjectRef "individualLayoutConstraintSetValue" _obj $ \cobj__obj -> -    wxIndividualLayoutConstraint_SetValue cobj__obj  (toCInt v)  -foreign import ccall "wxIndividualLayoutConstraint_SetValue" wxIndividualLayoutConstraint_SetValue :: Ptr (TIndividualLayoutConstraint a) -> CInt -> IO ()---- | usage: (@individualLayoutConstraintUnconstrained obj@).-individualLayoutConstraintUnconstrained :: IndividualLayoutConstraint  a ->  IO ()-individualLayoutConstraintUnconstrained _obj -  = withObjectRef "individualLayoutConstraintUnconstrained" _obj $ \cobj__obj -> -    wxIndividualLayoutConstraint_Unconstrained cobj__obj  -foreign import ccall "wxIndividualLayoutConstraint_Unconstrained" wxIndividualLayoutConstraint_Unconstrained :: Ptr (TIndividualLayoutConstraint a) -> IO ()--{- |  Create an event driven input stream. It is unsafe to reference the original inputStream after this call! The last parameter @bufferLen@ gives the default input batch size. The sink is automatically destroyed whenever the input stream has no more input.  -}-inputSinkCreate :: InputStream  a -> EvtHandler  b -> Int ->  IO (InputSink  ())-inputSinkCreate input evtHandler bufferLen -  = withObjectResult $-    withObjectPtr input $ \cobj_input -> -    withObjectPtr evtHandler $ \cobj_evtHandler -> -    wxInputSink_Create cobj_input  cobj_evtHandler  (toCInt bufferLen)  -foreign import ccall "wxInputSink_Create" wxInputSink_Create :: Ptr (TInputStream a) -> Ptr (TEvtHandler b) -> CInt -> IO (Ptr (TInputSink ()))--{- |  Get the input status (@wxSTREAM_NO_ERROR@ is ok).  -}-inputSinkEventLastError :: InputSinkEvent  a ->  IO Int-inputSinkEventLastError obj -  = withIntResult $-    withObjectRef "inputSinkEventLastError" obj $ \cobj_obj -> -    wxInputSinkEvent_LastError cobj_obj  -foreign import ccall "wxInputSinkEvent_LastError" wxInputSinkEvent_LastError :: Ptr (TInputSinkEvent a) -> IO CInt--{- |  The input buffer.  -}-inputSinkEventLastInput :: InputSinkEvent  a ->  IO (Ptr CWchar)-inputSinkEventLastInput obj -  = withObjectRef "inputSinkEventLastInput" obj $ \cobj_obj -> -    wxInputSinkEvent_LastInput cobj_obj  -foreign import ccall "wxInputSinkEvent_LastInput" wxInputSinkEvent_LastInput :: Ptr (TInputSinkEvent a) -> IO (Ptr CWchar)--{- |  The number of characters in the input buffer.  -}-inputSinkEventLastRead :: InputSinkEvent  a ->  IO Int-inputSinkEventLastRead obj -  = withIntResult $-    withObjectRef "inputSinkEventLastRead" obj $ \cobj_obj -> -    wxInputSinkEvent_LastRead cobj_obj  -foreign import ccall "wxInputSinkEvent_LastRead" wxInputSinkEvent_LastRead :: Ptr (TInputSinkEvent a) -> IO CInt--{- |  After creation, retrieve the @id@ of the sink to connect to @wxEVT_INPUT_SINK@ events.  -}-inputSinkGetId :: InputSink  a ->  IO Int-inputSinkGetId obj -  = withIntResult $-    withObjectRef "inputSinkGetId" obj $ \cobj_obj -> -    wxInputSink_GetId cobj_obj  -foreign import ccall "wxInputSink_GetId" wxInputSink_GetId :: Ptr (TInputSink a) -> IO CInt--{- |  After event connection, start non-blocking reading of the inputstream. This will generate @inputSinkEvent@ events.  -}-inputSinkStart :: InputSink  a ->  IO ()-inputSinkStart obj -  = withObjectRef "inputSinkStart" obj $ \cobj_obj -> -    wxInputSink_Start cobj_obj  -foreign import ccall "wxInputSink_Start" wxInputSink_Start :: Ptr (TInputSink a) -> IO ()---- | usage: (@inputStreamCanRead self@).-inputStreamCanRead :: InputStream  a ->  IO Bool-inputStreamCanRead self -  = withBoolResult $-    withObjectRef "inputStreamCanRead" self $ \cobj_self -> -    wxInputStream_CanRead cobj_self  -foreign import ccall "wxInputStream_CanRead" wxInputStream_CanRead :: Ptr (TInputStream a) -> IO CBool---- | usage: (@inputStreamDelete obj@).-inputStreamDelete :: InputStream  a ->  IO ()-inputStreamDelete _obj -  = withObjectRef "inputStreamDelete" _obj $ \cobj__obj -> -    wxInputStream_Delete cobj__obj  -foreign import ccall "wxInputStream_Delete" wxInputStream_Delete :: Ptr (TInputStream a) -> IO ()---- | usage: (@inputStreamEof obj@).-inputStreamEof :: InputStream  a ->  IO Bool-inputStreamEof _obj -  = withBoolResult $-    withObjectRef "inputStreamEof" _obj $ \cobj__obj -> -    wxInputStream_Eof cobj__obj  -foreign import ccall "wxInputStream_Eof" wxInputStream_Eof :: Ptr (TInputStream a) -> IO CBool---- | usage: (@inputStreamGetC obj@).-inputStreamGetC :: InputStream  a ->  IO Char-inputStreamGetC _obj -  = withCharResult $-    withObjectRef "inputStreamGetC" _obj $ \cobj__obj -> -    wxInputStream_GetC cobj__obj  -foreign import ccall "wxInputStream_GetC" wxInputStream_GetC :: Ptr (TInputStream a) -> IO CWchar---- | usage: (@inputStreamLastRead obj@).-inputStreamLastRead :: InputStream  a ->  IO Int-inputStreamLastRead _obj -  = withIntResult $-    withObjectRef "inputStreamLastRead" _obj $ \cobj__obj -> -    wxInputStream_LastRead cobj__obj  -foreign import ccall "wxInputStream_LastRead" wxInputStream_LastRead :: Ptr (TInputStream a) -> IO CInt---- | usage: (@inputStreamPeek obj@).-inputStreamPeek :: InputStream  a ->  IO Char-inputStreamPeek _obj -  = withCharResult $-    withObjectRef "inputStreamPeek" _obj $ \cobj__obj -> -    wxInputStream_Peek cobj__obj  -foreign import ccall "wxInputStream_Peek" wxInputStream_Peek :: Ptr (TInputStream a) -> IO CWchar---- | usage: (@inputStreamRead obj buffer size@).-inputStreamRead :: InputStream  a -> Ptr  b -> Int ->  IO ()-inputStreamRead _obj buffer size -  = withObjectRef "inputStreamRead" _obj $ \cobj__obj -> -    wxInputStream_Read cobj__obj  buffer  (toCInt size)  -foreign import ccall "wxInputStream_Read" wxInputStream_Read :: Ptr (TInputStream a) -> Ptr  b -> CInt -> IO ()---- | usage: (@inputStreamSeekI obj pos mode@).-inputStreamSeekI :: InputStream  a -> Int -> Int ->  IO Int-inputStreamSeekI _obj pos mode -  = withIntResult $-    withObjectRef "inputStreamSeekI" _obj $ \cobj__obj -> -    wxInputStream_SeekI cobj__obj  (toCInt pos)  (toCInt mode)  -foreign import ccall "wxInputStream_SeekI" wxInputStream_SeekI :: Ptr (TInputStream a) -> CInt -> CInt -> IO CInt---- | usage: (@inputStreamTell obj@).-inputStreamTell :: InputStream  a ->  IO Int-inputStreamTell _obj -  = withIntResult $-    withObjectRef "inputStreamTell" _obj $ \cobj__obj -> -    wxInputStream_Tell cobj__obj  -foreign import ccall "wxInputStream_Tell" wxInputStream_Tell :: Ptr (TInputStream a) -> IO CInt---- | usage: (@inputStreamUngetBuffer obj buffer size@).-inputStreamUngetBuffer :: InputStream  a -> Ptr  b -> Int ->  IO Int-inputStreamUngetBuffer _obj buffer size -  = withIntResult $-    withObjectRef "inputStreamUngetBuffer" _obj $ \cobj__obj -> -    wxInputStream_UngetBuffer cobj__obj  buffer  (toCInt size)  -foreign import ccall "wxInputStream_UngetBuffer" wxInputStream_UngetBuffer :: Ptr (TInputStream a) -> Ptr  b -> CInt -> IO CInt---- | usage: (@inputStreamUngetch obj c@).-inputStreamUngetch :: InputStream  a -> Char ->  IO Int-inputStreamUngetch _obj c -  = withIntResult $-    withObjectRef "inputStreamUngetch" _obj $ \cobj__obj -> -    wxInputStream_Ungetch cobj__obj  (toCWchar c)  -foreign import ccall "wxInputStream_Ungetch" wxInputStream_Ungetch :: Ptr (TInputStream a) -> CWchar -> IO CInt--{- |  Check if a preprocessor macro is defined. For example, @wxIsDefined("__WXGTK__")@ or @wxIsDefined("wxUSE_GIF")@.  -}-isDefined :: String ->  IO Bool-isDefined s -  = withBoolResult $-    withCWString s $ \cstr_s -> -    wx_wxIsDefined cstr_s  -foreign import ccall "wxIsDefined" wx_wxIsDefined :: CWString -> IO CBool---- | usage: (@keyEventAltDown obj@).-keyEventAltDown :: KeyEvent  a ->  IO Bool-keyEventAltDown _obj -  = withBoolResult $-    withObjectRef "keyEventAltDown" _obj $ \cobj__obj -> -    wxKeyEvent_AltDown cobj__obj  -foreign import ccall "wxKeyEvent_AltDown" wxKeyEvent_AltDown :: Ptr (TKeyEvent a) -> IO CBool---- | usage: (@keyEventControlDown obj@).-keyEventControlDown :: KeyEvent  a ->  IO Bool-keyEventControlDown _obj -  = withBoolResult $-    withObjectRef "keyEventControlDown" _obj $ \cobj__obj -> -    wxKeyEvent_ControlDown cobj__obj  -foreign import ccall "wxKeyEvent_ControlDown" wxKeyEvent_ControlDown :: Ptr (TKeyEvent a) -> IO CBool---- | usage: (@keyEventCopyObject obj obj@).-keyEventCopyObject :: KeyEvent  a -> Ptr  b ->  IO ()-keyEventCopyObject _obj obj -  = withObjectRef "keyEventCopyObject" _obj $ \cobj__obj -> -    wxKeyEvent_CopyObject cobj__obj  obj  -foreign import ccall "wxKeyEvent_CopyObject" wxKeyEvent_CopyObject :: Ptr (TKeyEvent a) -> Ptr  b -> IO ()---- | usage: (@keyEventGetKeyCode obj@).-keyEventGetKeyCode :: KeyEvent  a ->  IO Int-keyEventGetKeyCode _obj -  = withIntResult $-    withObjectRef "keyEventGetKeyCode" _obj $ \cobj__obj -> -    wxKeyEvent_GetKeyCode cobj__obj  -foreign import ccall "wxKeyEvent_GetKeyCode" wxKeyEvent_GetKeyCode :: Ptr (TKeyEvent a) -> IO CInt---- | usage: (@keyEventGetModifiers obj@).-keyEventGetModifiers :: KeyEvent  a ->  IO Int-keyEventGetModifiers _obj -  = withIntResult $-    withObjectRef "keyEventGetModifiers" _obj $ \cobj__obj -> -    wxKeyEvent_GetModifiers cobj__obj  -foreign import ccall "wxKeyEvent_GetModifiers" wxKeyEvent_GetModifiers :: Ptr (TKeyEvent a) -> IO CInt---- | usage: (@keyEventGetPosition obj@).-keyEventGetPosition :: KeyEvent  a ->  IO (Point)-keyEventGetPosition _obj -  = withWxPointResult $-    withObjectRef "keyEventGetPosition" _obj $ \cobj__obj -> -    wxKeyEvent_GetPosition cobj__obj  -foreign import ccall "wxKeyEvent_GetPosition" wxKeyEvent_GetPosition :: Ptr (TKeyEvent a) -> IO (Ptr (TWxPoint ()))---- | usage: (@keyEventGetX obj@).-keyEventGetX :: KeyEvent  a ->  IO Int-keyEventGetX _obj -  = withIntResult $-    withObjectRef "keyEventGetX" _obj $ \cobj__obj -> -    wxKeyEvent_GetX cobj__obj  -foreign import ccall "wxKeyEvent_GetX" wxKeyEvent_GetX :: Ptr (TKeyEvent a) -> IO CInt---- | usage: (@keyEventGetY obj@).-keyEventGetY :: KeyEvent  a ->  IO Int-keyEventGetY _obj -  = withIntResult $-    withObjectRef "keyEventGetY" _obj $ \cobj__obj -> -    wxKeyEvent_GetY cobj__obj  -foreign import ccall "wxKeyEvent_GetY" wxKeyEvent_GetY :: Ptr (TKeyEvent a) -> IO CInt---- | usage: (@keyEventHasModifiers obj@).-keyEventHasModifiers :: KeyEvent  a ->  IO Bool-keyEventHasModifiers _obj -  = withBoolResult $-    withObjectRef "keyEventHasModifiers" _obj $ \cobj__obj -> -    wxKeyEvent_HasModifiers cobj__obj  -foreign import ccall "wxKeyEvent_HasModifiers" wxKeyEvent_HasModifiers :: Ptr (TKeyEvent a) -> IO CBool---- | usage: (@keyEventMetaDown obj@).-keyEventMetaDown :: KeyEvent  a ->  IO Bool-keyEventMetaDown _obj -  = withBoolResult $-    withObjectRef "keyEventMetaDown" _obj $ \cobj__obj -> -    wxKeyEvent_MetaDown cobj__obj  -foreign import ccall "wxKeyEvent_MetaDown" wxKeyEvent_MetaDown :: Ptr (TKeyEvent a) -> IO CBool---- | usage: (@keyEventSetKeyCode obj code@).-keyEventSetKeyCode :: KeyEvent  a -> Int ->  IO ()-keyEventSetKeyCode _obj code -  = withObjectRef "keyEventSetKeyCode" _obj $ \cobj__obj -> -    wxKeyEvent_SetKeyCode cobj__obj  (toCInt code)  -foreign import ccall "wxKeyEvent_SetKeyCode" wxKeyEvent_SetKeyCode :: Ptr (TKeyEvent a) -> CInt -> IO ()---- | usage: (@keyEventShiftDown obj@).-keyEventShiftDown :: KeyEvent  a ->  IO Bool-keyEventShiftDown _obj -  = withBoolResult $-    withObjectRef "keyEventShiftDown" _obj $ \cobj__obj -> -    wxKeyEvent_ShiftDown cobj__obj  -foreign import ccall "wxKeyEvent_ShiftDown" wxKeyEvent_ShiftDown :: Ptr (TKeyEvent a) -> IO CBool---- | usage: (@kill pid signal@).-kill :: Int -> Int ->  IO Int-kill pid signal -  = withIntResult $-    wx_wxKill (toCInt pid)  (toCInt signal)  -foreign import ccall "wxKill" wx_wxKill :: CInt -> CInt -> IO CInt---- | usage: (@layoutAlgorithmCreate@).-layoutAlgorithmCreate ::  IO (LayoutAlgorithm  ())-layoutAlgorithmCreate -  = withObjectResult $-    wxLayoutAlgorithm_Create -foreign import ccall "wxLayoutAlgorithm_Create" wxLayoutAlgorithm_Create :: IO (Ptr (TLayoutAlgorithm ()))---- | usage: (@layoutAlgorithmDelete obj@).-layoutAlgorithmDelete :: LayoutAlgorithm  a ->  IO ()-layoutAlgorithmDelete-  = objectDelete----- | usage: (@layoutAlgorithmLayoutFrame obj frame mainWindow@).-layoutAlgorithmLayoutFrame :: LayoutAlgorithm  a -> Frame  b -> Ptr  c ->  IO Bool-layoutAlgorithmLayoutFrame _obj frame mainWindow -  = withBoolResult $-    withObjectRef "layoutAlgorithmLayoutFrame" _obj $ \cobj__obj -> -    withObjectPtr frame $ \cobj_frame -> -    wxLayoutAlgorithm_LayoutFrame cobj__obj  cobj_frame  mainWindow  -foreign import ccall "wxLayoutAlgorithm_LayoutFrame" wxLayoutAlgorithm_LayoutFrame :: Ptr (TLayoutAlgorithm a) -> Ptr (TFrame b) -> Ptr  c -> IO CBool---- | usage: (@layoutAlgorithmLayoutMDIFrame obj frame xywh use@).-layoutAlgorithmLayoutMDIFrame :: LayoutAlgorithm  a -> Frame  b -> Rect -> Int ->  IO Bool-layoutAlgorithmLayoutMDIFrame _obj frame xywh use -  = withBoolResult $-    withObjectRef "layoutAlgorithmLayoutMDIFrame" _obj $ \cobj__obj -> -    withObjectPtr frame $ \cobj_frame -> -    wxLayoutAlgorithm_LayoutMDIFrame cobj__obj  cobj_frame  (toCIntRectX xywh) (toCIntRectY xywh)(toCIntRectW xywh) (toCIntRectH xywh)  (toCInt use)  -foreign import ccall "wxLayoutAlgorithm_LayoutMDIFrame" wxLayoutAlgorithm_LayoutMDIFrame :: Ptr (TLayoutAlgorithm a) -> Ptr (TFrame b) -> CInt -> CInt -> CInt -> CInt -> CInt -> IO CBool---- | usage: (@layoutAlgorithmLayoutWindow obj frame mainWindow@).-layoutAlgorithmLayoutWindow :: LayoutAlgorithm  a -> Frame  b -> Ptr  c ->  IO Bool-layoutAlgorithmLayoutWindow _obj frame mainWindow -  = withBoolResult $-    withObjectRef "layoutAlgorithmLayoutWindow" _obj $ \cobj__obj -> -    withObjectPtr frame $ \cobj_frame -> -    wxLayoutAlgorithm_LayoutWindow cobj__obj  cobj_frame  mainWindow  -foreign import ccall "wxLayoutAlgorithm_LayoutWindow" wxLayoutAlgorithm_LayoutWindow :: Ptr (TLayoutAlgorithm a) -> Ptr (TFrame b) -> Ptr  c -> IO CBool---- | usage: (@layoutConstraintsCreate@).-layoutConstraintsCreate ::  IO (LayoutConstraints  ())-layoutConstraintsCreate -  = withObjectResult $-    wxLayoutConstraints_Create -foreign import ccall "wxLayoutConstraints_Create" wxLayoutConstraints_Create :: IO (Ptr (TLayoutConstraints ()))---- | usage: (@layoutConstraintsbottom obj@).-layoutConstraintsbottom :: LayoutConstraints  a ->  IO (Ptr  ())-layoutConstraintsbottom _obj -  = withObjectRef "layoutConstraintsbottom" _obj $ \cobj__obj -> -    wxLayoutConstraints_bottom cobj__obj  -foreign import ccall "wxLayoutConstraints_bottom" wxLayoutConstraints_bottom :: Ptr (TLayoutConstraints a) -> IO (Ptr  ())---- | usage: (@layoutConstraintscentreX obj@).-layoutConstraintscentreX :: LayoutConstraints  a ->  IO (Ptr  ())-layoutConstraintscentreX _obj -  = withObjectRef "layoutConstraintscentreX" _obj $ \cobj__obj -> -    wxLayoutConstraints_centreX cobj__obj  -foreign import ccall "wxLayoutConstraints_centreX" wxLayoutConstraints_centreX :: Ptr (TLayoutConstraints a) -> IO (Ptr  ())---- | usage: (@layoutConstraintscentreY obj@).-layoutConstraintscentreY :: LayoutConstraints  a ->  IO (Ptr  ())-layoutConstraintscentreY _obj -  = withObjectRef "layoutConstraintscentreY" _obj $ \cobj__obj -> -    wxLayoutConstraints_centreY cobj__obj  -foreign import ccall "wxLayoutConstraints_centreY" wxLayoutConstraints_centreY :: Ptr (TLayoutConstraints a) -> IO (Ptr  ())---- | usage: (@layoutConstraintsheight obj@).-layoutConstraintsheight :: LayoutConstraints  a ->  IO (Ptr  ())-layoutConstraintsheight _obj -  = withObjectRef "layoutConstraintsheight" _obj $ \cobj__obj -> -    wxLayoutConstraints_height cobj__obj  -foreign import ccall "wxLayoutConstraints_height" wxLayoutConstraints_height :: Ptr (TLayoutConstraints a) -> IO (Ptr  ())---- | usage: (@layoutConstraintsleft obj@).-layoutConstraintsleft :: LayoutConstraints  a ->  IO (Ptr  ())-layoutConstraintsleft _obj -  = withObjectRef "layoutConstraintsleft" _obj $ \cobj__obj -> -    wxLayoutConstraints_left cobj__obj  -foreign import ccall "wxLayoutConstraints_left" wxLayoutConstraints_left :: Ptr (TLayoutConstraints a) -> IO (Ptr  ())---- | usage: (@layoutConstraintsright obj@).-layoutConstraintsright :: LayoutConstraints  a ->  IO (Ptr  ())-layoutConstraintsright _obj -  = withObjectRef "layoutConstraintsright" _obj $ \cobj__obj -> -    wxLayoutConstraints_right cobj__obj  -foreign import ccall "wxLayoutConstraints_right" wxLayoutConstraints_right :: Ptr (TLayoutConstraints a) -> IO (Ptr  ())---- | usage: (@layoutConstraintstop obj@).-layoutConstraintstop :: LayoutConstraints  a ->  IO (Ptr  ())-layoutConstraintstop _obj -  = withObjectRef "layoutConstraintstop" _obj $ \cobj__obj -> -    wxLayoutConstraints_top cobj__obj  -foreign import ccall "wxLayoutConstraints_top" wxLayoutConstraints_top :: Ptr (TLayoutConstraints a) -> IO (Ptr  ())---- | usage: (@layoutConstraintswidth obj@).-layoutConstraintswidth :: LayoutConstraints  a ->  IO (Ptr  ())-layoutConstraintswidth _obj -  = withObjectRef "layoutConstraintswidth" _obj $ \cobj__obj -> -    wxLayoutConstraints_width cobj__obj  -foreign import ccall "wxLayoutConstraints_width" wxLayoutConstraints_width :: Ptr (TLayoutConstraints a) -> IO (Ptr  ())---- | usage: (@listBoxAppend obj item@).-listBoxAppend :: ListBox  a -> String ->  IO ()-listBoxAppend _obj item -  = withObjectRef "listBoxAppend" _obj $ \cobj__obj -> -    withStringPtr item $ \cobj_item -> -    wxListBox_Append cobj__obj  cobj_item  -foreign import ccall "wxListBox_Append" wxListBox_Append :: Ptr (TListBox a) -> Ptr (TWxString b) -> IO ()---- | usage: (@listBoxAppendData obj item wxdata@).-listBoxAppendData :: ListBox  a -> String -> Ptr  c ->  IO ()-listBoxAppendData _obj item wxdata -  = withObjectRef "listBoxAppendData" _obj $ \cobj__obj -> -    withStringPtr item $ \cobj_item -> -    wxListBox_AppendData cobj__obj  cobj_item  wxdata  -foreign import ccall "wxListBox_AppendData" wxListBox_AppendData :: Ptr (TListBox a) -> Ptr (TWxString b) -> Ptr  c -> IO ()---- | usage: (@listBoxClear obj@).-listBoxClear :: ListBox  a ->  IO ()-listBoxClear _obj -  = withObjectRef "listBoxClear" _obj $ \cobj__obj -> -    wxListBox_Clear cobj__obj  -foreign import ccall "wxListBox_Clear" wxListBox_Clear :: Ptr (TListBox a) -> IO ()---- | usage: (@listBoxCreate prt id lfttopwdthgt nstr stl@).-listBoxCreate :: Window  a -> Id -> Rect -> [String] -> Style ->  IO (ListBox  ())-listBoxCreate _prt _id _lfttopwdthgt nstr _stl -  = withObjectResult $-    withObjectPtr _prt $ \cobj__prt -> -    withArrayWString nstr $ \carrlen_nstr carr_nstr -> -    wxListBox_Create cobj__prt  (toCInt _id)  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  carrlen_nstr carr_nstr  (toCInt _stl)  -foreign import ccall "wxListBox_Create" wxListBox_Create :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> Ptr (Ptr CWchar) -> CInt -> IO (Ptr (TListBox ()))---- | usage: (@listBoxDelete obj n@).-listBoxDelete :: ListBox  a -> Int ->  IO ()-listBoxDelete _obj n -  = withObjectRef "listBoxDelete" _obj $ \cobj__obj -> -    wxListBox_Delete cobj__obj  (toCInt n)  -foreign import ccall "wxListBox_Delete" wxListBox_Delete :: Ptr (TListBox a) -> CInt -> IO ()---- | usage: (@listBoxFindString obj s@).-listBoxFindString :: ListBox  a -> String ->  IO Int-listBoxFindString _obj s -  = withIntResult $-    withObjectRef "listBoxFindString" _obj $ \cobj__obj -> -    withStringPtr s $ \cobj_s -> -    wxListBox_FindString cobj__obj  cobj_s  -foreign import ccall "wxListBox_FindString" wxListBox_FindString :: Ptr (TListBox a) -> Ptr (TWxString b) -> IO CInt---- | usage: (@listBoxGetClientData obj n@).-listBoxGetClientData :: ListBox  a -> Int ->  IO (ClientData  ())-listBoxGetClientData _obj n -  = withObjectResult $-    withObjectRef "listBoxGetClientData" _obj $ \cobj__obj -> -    wxListBox_GetClientData cobj__obj  (toCInt n)  -foreign import ccall "wxListBox_GetClientData" wxListBox_GetClientData :: Ptr (TListBox a) -> CInt -> IO (Ptr (TClientData ()))---- | usage: (@listBoxGetCount obj@).-listBoxGetCount :: ListBox  a ->  IO Int-listBoxGetCount _obj -  = withIntResult $-    withObjectRef "listBoxGetCount" _obj $ \cobj__obj -> -    wxListBox_GetCount cobj__obj  -foreign import ccall "wxListBox_GetCount" wxListBox_GetCount :: Ptr (TListBox a) -> IO CInt---- | usage: (@listBoxGetSelection obj@).-listBoxGetSelection :: ListBox  a ->  IO Int-listBoxGetSelection _obj -  = withIntResult $-    withObjectRef "listBoxGetSelection" _obj $ \cobj__obj -> -    wxListBox_GetSelection cobj__obj  -foreign import ccall "wxListBox_GetSelection" wxListBox_GetSelection :: Ptr (TListBox a) -> IO CInt---- | usage: (@listBoxGetSelections obj aSelections allocated@).-listBoxGetSelections :: ListBox  a -> Ptr CInt -> Int ->  IO Int-listBoxGetSelections _obj aSelections allocated -  = withIntResult $-    withObjectRef "listBoxGetSelections" _obj $ \cobj__obj -> -    wxListBox_GetSelections cobj__obj  aSelections  (toCInt allocated)  -foreign import ccall "wxListBox_GetSelections" wxListBox_GetSelections :: Ptr (TListBox a) -> Ptr CInt -> CInt -> IO CInt---- | usage: (@listBoxGetString obj n@).-listBoxGetString :: ListBox  a -> Int ->  IO (String)-listBoxGetString _obj n -  = withManagedStringResult $-    withObjectRef "listBoxGetString" _obj $ \cobj__obj -> -    wxListBox_GetString cobj__obj  (toCInt n)  -foreign import ccall "wxListBox_GetString" wxListBox_GetString :: Ptr (TListBox a) -> CInt -> IO (Ptr (TWxString ()))---- | usage: (@listBoxInsertItems obj items pos count@).-listBoxInsertItems :: ListBox  a -> Ptr  b -> Int -> Int ->  IO ()-listBoxInsertItems _obj items pos count -  = withObjectRef "listBoxInsertItems" _obj $ \cobj__obj -> -    wxListBox_InsertItems cobj__obj  items  (toCInt pos)  (toCInt count)  -foreign import ccall "wxListBox_InsertItems" wxListBox_InsertItems :: Ptr (TListBox a) -> Ptr  b -> CInt -> CInt -> IO ()---- | usage: (@listBoxIsSelected obj n@).-listBoxIsSelected :: ListBox  a -> Int ->  IO Bool-listBoxIsSelected _obj n -  = withBoolResult $-    withObjectRef "listBoxIsSelected" _obj $ \cobj__obj -> -    wxListBox_IsSelected cobj__obj  (toCInt n)  -foreign import ccall "wxListBox_IsSelected" wxListBox_IsSelected :: Ptr (TListBox a) -> CInt -> IO CBool---- | usage: (@listBoxSetClientData obj n clientData@).-listBoxSetClientData :: ListBox  a -> Int -> ClientData  c ->  IO ()-listBoxSetClientData _obj n clientData -  = withObjectRef "listBoxSetClientData" _obj $ \cobj__obj -> -    withObjectPtr clientData $ \cobj_clientData -> -    wxListBox_SetClientData cobj__obj  (toCInt n)  cobj_clientData  -foreign import ccall "wxListBox_SetClientData" wxListBox_SetClientData :: Ptr (TListBox a) -> CInt -> Ptr (TClientData c) -> IO ()---- | usage: (@listBoxSetFirstItem obj n@).-listBoxSetFirstItem :: ListBox  a -> Int ->  IO ()-listBoxSetFirstItem _obj n -  = withObjectRef "listBoxSetFirstItem" _obj $ \cobj__obj -> -    wxListBox_SetFirstItem cobj__obj  (toCInt n)  -foreign import ccall "wxListBox_SetFirstItem" wxListBox_SetFirstItem :: Ptr (TListBox a) -> CInt -> IO ()---- | usage: (@listBoxSetSelection obj n select@).-listBoxSetSelection :: ListBox  a -> Int -> Bool ->  IO ()-listBoxSetSelection _obj n select -  = withObjectRef "listBoxSetSelection" _obj $ \cobj__obj -> -    wxListBox_SetSelection cobj__obj  (toCInt n)  (toCBool select)  -foreign import ccall "wxListBox_SetSelection" wxListBox_SetSelection :: Ptr (TListBox a) -> CInt -> CBool -> IO ()---- | usage: (@listBoxSetString obj n s@).-listBoxSetString :: ListBox  a -> Int -> String ->  IO ()-listBoxSetString _obj n s -  = withObjectRef "listBoxSetString" _obj $ \cobj__obj -> -    withStringPtr s $ \cobj_s -> -    wxListBox_SetString cobj__obj  (toCInt n)  cobj_s  -foreign import ccall "wxListBox_SetString" wxListBox_SetString :: Ptr (TListBox a) -> CInt -> Ptr (TWxString c) -> IO ()---- | usage: (@listBoxSetStringSelection obj str sel@).-listBoxSetStringSelection :: ListBox  a -> String -> Bool ->  IO ()-listBoxSetStringSelection _obj str sel -  = withObjectRef "listBoxSetStringSelection" _obj $ \cobj__obj -> -    withStringPtr str $ \cobj_str -> -    wxListBox_SetStringSelection cobj__obj  cobj_str  (toCBool sel)  -foreign import ccall "wxListBox_SetStringSelection" wxListBox_SetStringSelection :: Ptr (TListBox a) -> Ptr (TWxString b) -> CBool -> IO ()---- | usage: (@listCtrlArrange obj flag@).-listCtrlArrange :: ListCtrl  a -> Int ->  IO Bool-listCtrlArrange _obj flag -  = withBoolResult $-    withObjectRef "listCtrlArrange" _obj $ \cobj__obj -> -    wxListCtrl_Arrange cobj__obj  (toCInt flag)  -foreign import ccall "wxListCtrl_Arrange" wxListCtrl_Arrange :: Ptr (TListCtrl a) -> CInt -> IO CBool---- | usage: (@listCtrlAssignImageList obj images which@).-listCtrlAssignImageList :: ListCtrl  a -> ImageList  b -> Int ->  IO ()-listCtrlAssignImageList _obj images which -  = withObjectRef "listCtrlAssignImageList" _obj $ \cobj__obj -> -    withObjectPtr images $ \cobj_images -> -    wxListCtrl_AssignImageList cobj__obj  cobj_images  (toCInt which)  -foreign import ccall "wxListCtrl_AssignImageList" wxListCtrl_AssignImageList :: Ptr (TListCtrl a) -> Ptr (TImageList b) -> CInt -> IO ()---- | usage: (@listCtrlClearAll obj@).-listCtrlClearAll :: ListCtrl  a ->  IO ()-listCtrlClearAll _obj -  = withObjectRef "listCtrlClearAll" _obj $ \cobj__obj -> -    wxListCtrl_ClearAll cobj__obj  -foreign import ccall "wxListCtrl_ClearAll" wxListCtrl_ClearAll :: Ptr (TListCtrl a) -> IO ()---- | usage: (@listCtrlCreate prt id lfttopwdthgt stl@).-listCtrlCreate :: Window  a -> Id -> Rect -> Style ->  IO (ListCtrl  ())-listCtrlCreate _prt _id _lfttopwdthgt _stl -  = withObjectResult $-    withObjectPtr _prt $ \cobj__prt -> -    wxListCtrl_Create cobj__prt  (toCInt _id)  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  (toCInt _stl)  -foreign import ccall "wxListCtrl_Create" wxListCtrl_Create :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TListCtrl ()))---- | usage: (@listCtrlDeleteAllColumns obj@).-listCtrlDeleteAllColumns :: ListCtrl  a ->  IO Bool-listCtrlDeleteAllColumns _obj -  = withBoolResult $-    withObjectRef "listCtrlDeleteAllColumns" _obj $ \cobj__obj -> -    wxListCtrl_DeleteAllColumns cobj__obj  -foreign import ccall "wxListCtrl_DeleteAllColumns" wxListCtrl_DeleteAllColumns :: Ptr (TListCtrl a) -> IO CBool---- | usage: (@listCtrlDeleteAllItems obj@).-listCtrlDeleteAllItems :: ListCtrl  a ->  IO Bool-listCtrlDeleteAllItems _obj -  = withBoolResult $-    withObjectRef "listCtrlDeleteAllItems" _obj $ \cobj__obj -> -    wxListCtrl_DeleteAllItems cobj__obj  -foreign import ccall "wxListCtrl_DeleteAllItems" wxListCtrl_DeleteAllItems :: Ptr (TListCtrl a) -> IO CBool---- | usage: (@listCtrlDeleteColumn obj col@).-listCtrlDeleteColumn :: ListCtrl  a -> Int ->  IO Bool-listCtrlDeleteColumn _obj col -  = withBoolResult $-    withObjectRef "listCtrlDeleteColumn" _obj $ \cobj__obj -> -    wxListCtrl_DeleteColumn cobj__obj  (toCInt col)  -foreign import ccall "wxListCtrl_DeleteColumn" wxListCtrl_DeleteColumn :: Ptr (TListCtrl a) -> CInt -> IO CBool---- | usage: (@listCtrlDeleteItem obj item@).-listCtrlDeleteItem :: ListCtrl  a -> Int ->  IO Bool-listCtrlDeleteItem _obj item -  = withBoolResult $-    withObjectRef "listCtrlDeleteItem" _obj $ \cobj__obj -> -    wxListCtrl_DeleteItem cobj__obj  (toCInt item)  -foreign import ccall "wxListCtrl_DeleteItem" wxListCtrl_DeleteItem :: Ptr (TListCtrl a) -> CInt -> IO CBool---- | usage: (@listCtrlEditLabel obj item@).-listCtrlEditLabel :: ListCtrl  a -> Int ->  IO ()-listCtrlEditLabel _obj item -  = withObjectRef "listCtrlEditLabel" _obj $ \cobj__obj -> -    wxListCtrl_EditLabel cobj__obj  (toCInt item)  -foreign import ccall "wxListCtrl_EditLabel" wxListCtrl_EditLabel :: Ptr (TListCtrl a) -> CInt -> IO ()---- | usage: (@listCtrlEndEditLabel obj cancel@).-listCtrlEndEditLabel :: ListCtrl  a -> Int ->  IO Bool-listCtrlEndEditLabel _obj cancel -  = withBoolResult $-    withObjectRef "listCtrlEndEditLabel" _obj $ \cobj__obj -> -    wxListCtrl_EndEditLabel cobj__obj  (toCInt cancel)  -foreign import ccall "wxListCtrl_EndEditLabel" wxListCtrl_EndEditLabel :: Ptr (TListCtrl a) -> CInt -> IO CBool---- | usage: (@listCtrlEnsureVisible obj item@).-listCtrlEnsureVisible :: ListCtrl  a -> Int ->  IO Bool-listCtrlEnsureVisible _obj item -  = withBoolResult $-    withObjectRef "listCtrlEnsureVisible" _obj $ \cobj__obj -> -    wxListCtrl_EnsureVisible cobj__obj  (toCInt item)  -foreign import ccall "wxListCtrl_EnsureVisible" wxListCtrl_EnsureVisible :: Ptr (TListCtrl a) -> CInt -> IO CBool---- | usage: (@listCtrlFindItem obj start str partial@).-listCtrlFindItem :: ListCtrl  a -> Int -> String -> Bool ->  IO Int-listCtrlFindItem _obj start str partial -  = withIntResult $-    withObjectRef "listCtrlFindItem" _obj $ \cobj__obj -> -    withStringPtr str $ \cobj_str -> -    wxListCtrl_FindItem cobj__obj  (toCInt start)  cobj_str  (toCBool partial)  -foreign import ccall "wxListCtrl_FindItem" wxListCtrl_FindItem :: Ptr (TListCtrl a) -> CInt -> Ptr (TWxString c) -> CBool -> IO CInt---- | usage: (@listCtrlFindItemByData obj start wxdata@).-listCtrlFindItemByData :: ListCtrl  a -> Int -> Int ->  IO Int-listCtrlFindItemByData _obj start wxdata -  = withIntResult $-    withObjectRef "listCtrlFindItemByData" _obj $ \cobj__obj -> -    wxListCtrl_FindItemByData cobj__obj  (toCInt start)  (toCInt wxdata)  -foreign import ccall "wxListCtrl_FindItemByData" wxListCtrl_FindItemByData :: Ptr (TListCtrl a) -> CInt -> CInt -> IO CInt---- | usage: (@listCtrlFindItemByPosition obj start xy direction@).-listCtrlFindItemByPosition :: ListCtrl  a -> Int -> Point -> Int ->  IO Int-listCtrlFindItemByPosition _obj start xy direction -  = withIntResult $-    withObjectRef "listCtrlFindItemByPosition" _obj $ \cobj__obj -> -    wxListCtrl_FindItemByPosition cobj__obj  (toCInt start)  (toCIntPointX xy) (toCIntPointY xy)  (toCInt direction)  -foreign import ccall "wxListCtrl_FindItemByPosition" wxListCtrl_FindItemByPosition :: Ptr (TListCtrl a) -> CInt -> CInt -> CInt -> CInt -> IO CInt---- | usage: (@listCtrlGetColumn obj col item@).-listCtrlGetColumn :: ListCtrl  a -> Int -> ListItem  c ->  IO Bool-listCtrlGetColumn _obj col item -  = withBoolResult $-    withObjectRef "listCtrlGetColumn" _obj $ \cobj__obj -> -    withObjectPtr item $ \cobj_item -> -    wxListCtrl_GetColumn cobj__obj  (toCInt col)  cobj_item  -foreign import ccall "wxListCtrl_GetColumn" wxListCtrl_GetColumn :: Ptr (TListCtrl a) -> CInt -> Ptr (TListItem c) -> IO CBool---- | usage: (@listCtrlGetColumn2 obj col@).-listCtrlGetColumn2 :: ListCtrl  a -> Int ->  IO (ListItem  ())-listCtrlGetColumn2 _obj col -  = withRefListItem $ \pref -> -    withObjectRef "listCtrlGetColumn2" _obj $ \cobj__obj -> -    wxListCtrl_GetColumn2 cobj__obj  (toCInt col)   pref-foreign import ccall "wxListCtrl_GetColumn2" wxListCtrl_GetColumn2 :: Ptr (TListCtrl a) -> CInt -> Ptr (TListItem ()) -> IO ()---- | usage: (@listCtrlGetColumnCount obj@).-listCtrlGetColumnCount :: ListCtrl  a ->  IO Int-listCtrlGetColumnCount _obj -  = withIntResult $-    withObjectRef "listCtrlGetColumnCount" _obj $ \cobj__obj -> -    wxListCtrl_GetColumnCount cobj__obj  -foreign import ccall "wxListCtrl_GetColumnCount" wxListCtrl_GetColumnCount :: Ptr (TListCtrl a) -> IO CInt---- | usage: (@listCtrlGetColumnWidth obj col@).-listCtrlGetColumnWidth :: ListCtrl  a -> Int ->  IO Int-listCtrlGetColumnWidth _obj col -  = withIntResult $-    withObjectRef "listCtrlGetColumnWidth" _obj $ \cobj__obj -> -    wxListCtrl_GetColumnWidth cobj__obj  (toCInt col)  -foreign import ccall "wxListCtrl_GetColumnWidth" wxListCtrl_GetColumnWidth :: Ptr (TListCtrl a) -> CInt -> IO CInt---- | usage: (@listCtrlGetCountPerPage obj@).-listCtrlGetCountPerPage :: ListCtrl  a ->  IO Int-listCtrlGetCountPerPage _obj -  = withIntResult $-    withObjectRef "listCtrlGetCountPerPage" _obj $ \cobj__obj -> -    wxListCtrl_GetCountPerPage cobj__obj  -foreign import ccall "wxListCtrl_GetCountPerPage" wxListCtrl_GetCountPerPage :: Ptr (TListCtrl a) -> IO CInt---- | usage: (@listCtrlGetEditControl obj@).-listCtrlGetEditControl :: ListCtrl  a ->  IO (TextCtrl  ())-listCtrlGetEditControl _obj -  = withObjectResult $-    withObjectRef "listCtrlGetEditControl" _obj $ \cobj__obj -> -    wxListCtrl_GetEditControl cobj__obj  -foreign import ccall "wxListCtrl_GetEditControl" wxListCtrl_GetEditControl :: Ptr (TListCtrl a) -> IO (Ptr (TTextCtrl ()))---- | usage: (@listCtrlGetImageList obj which@).-listCtrlGetImageList :: ListCtrl  a -> Int ->  IO (ImageList  ())-listCtrlGetImageList _obj which -  = withObjectResult $-    withObjectRef "listCtrlGetImageList" _obj $ \cobj__obj -> -    wxListCtrl_GetImageList cobj__obj  (toCInt which)  -foreign import ccall "wxListCtrl_GetImageList" wxListCtrl_GetImageList :: Ptr (TListCtrl a) -> CInt -> IO (Ptr (TImageList ()))---- | usage: (@listCtrlGetItem obj info@).-listCtrlGetItem :: ListCtrl  a -> ListItem  b ->  IO Bool-listCtrlGetItem _obj info -  = withBoolResult $-    withObjectRef "listCtrlGetItem" _obj $ \cobj__obj -> -    withObjectPtr info $ \cobj_info -> -    wxListCtrl_GetItem cobj__obj  cobj_info  -foreign import ccall "wxListCtrl_GetItem" wxListCtrl_GetItem :: Ptr (TListCtrl a) -> Ptr (TListItem b) -> IO CBool---- | usage: (@listCtrlGetItem2 obj@).-listCtrlGetItem2 :: ListCtrl  a ->  IO (ListItem  ())-listCtrlGetItem2 _obj -  = withRefListItem $ \pref -> -    withObjectRef "listCtrlGetItem2" _obj $ \cobj__obj -> -    wxListCtrl_GetItem2 cobj__obj   pref-foreign import ccall "wxListCtrl_GetItem2" wxListCtrl_GetItem2 :: Ptr (TListCtrl a) -> Ptr (TListItem ()) -> IO ()---- | usage: (@listCtrlGetItemCount obj@).-listCtrlGetItemCount :: ListCtrl  a ->  IO Int-listCtrlGetItemCount _obj -  = withIntResult $-    withObjectRef "listCtrlGetItemCount" _obj $ \cobj__obj -> -    wxListCtrl_GetItemCount cobj__obj  -foreign import ccall "wxListCtrl_GetItemCount" wxListCtrl_GetItemCount :: Ptr (TListCtrl a) -> IO CInt---- | usage: (@listCtrlGetItemData obj item@).-listCtrlGetItemData :: ListCtrl  a -> Int ->  IO Int-listCtrlGetItemData _obj item -  = withIntResult $-    withObjectRef "listCtrlGetItemData" _obj $ \cobj__obj -> -    wxListCtrl_GetItemData cobj__obj  (toCInt item)  -foreign import ccall "wxListCtrl_GetItemData" wxListCtrl_GetItemData :: Ptr (TListCtrl a) -> CInt -> IO CInt---- | usage: (@listCtrlGetItemPosition obj item@).-listCtrlGetItemPosition :: ListCtrl  a -> Int ->  IO (Point)-listCtrlGetItemPosition _obj item -  = withWxPointResult $-    withObjectRef "listCtrlGetItemPosition" _obj $ \cobj__obj -> -    wxListCtrl_GetItemPosition cobj__obj  (toCInt item)  -foreign import ccall "wxListCtrl_GetItemPosition" wxListCtrl_GetItemPosition :: Ptr (TListCtrl a) -> CInt -> IO (Ptr (TWxPoint ()))---- | usage: (@listCtrlGetItemPosition2 obj item@).-listCtrlGetItemPosition2 :: ListCtrl  a -> Int ->  IO (Point)-listCtrlGetItemPosition2 _obj item -  = withWxPointResult $-    withObjectRef "listCtrlGetItemPosition2" _obj $ \cobj__obj -> -    wxListCtrl_GetItemPosition2 cobj__obj  (toCInt item)  -foreign import ccall "wxListCtrl_GetItemPosition2" wxListCtrl_GetItemPosition2 :: Ptr (TListCtrl a) -> CInt -> IO (Ptr (TWxPoint ()))---- | usage: (@listCtrlGetItemRect obj item code@).-listCtrlGetItemRect :: ListCtrl  a -> Int -> Int ->  IO (Rect)-listCtrlGetItemRect _obj item code -  = withWxRectResult $-    withObjectRef "listCtrlGetItemRect" _obj $ \cobj__obj -> -    wxListCtrl_GetItemRect cobj__obj  (toCInt item)  (toCInt code)  -foreign import ccall "wxListCtrl_GetItemRect" wxListCtrl_GetItemRect :: Ptr (TListCtrl a) -> CInt -> CInt -> IO (Ptr (TWxRect ()))---- | usage: (@listCtrlGetItemSpacing obj isSmall@).-listCtrlGetItemSpacing :: ListCtrl  a -> Bool ->  IO (Size)-listCtrlGetItemSpacing _obj isSmall -  = withWxSizeResult $-    withObjectRef "listCtrlGetItemSpacing" _obj $ \cobj__obj -> -    wxListCtrl_GetItemSpacing cobj__obj  (toCBool isSmall)  -foreign import ccall "wxListCtrl_GetItemSpacing" wxListCtrl_GetItemSpacing :: Ptr (TListCtrl a) -> CBool -> IO (Ptr (TWxSize ()))---- | usage: (@listCtrlGetItemState obj item stateMask@).-listCtrlGetItemState :: ListCtrl  a -> Int -> Int ->  IO Int-listCtrlGetItemState _obj item stateMask -  = withIntResult $-    withObjectRef "listCtrlGetItemState" _obj $ \cobj__obj -> -    wxListCtrl_GetItemState cobj__obj  (toCInt item)  (toCInt stateMask)  -foreign import ccall "wxListCtrl_GetItemState" wxListCtrl_GetItemState :: Ptr (TListCtrl a) -> CInt -> CInt -> IO CInt---- | usage: (@listCtrlGetItemText obj item@).-listCtrlGetItemText :: ListCtrl  a -> Int ->  IO (String)-listCtrlGetItemText _obj item -  = withManagedStringResult $-    withObjectRef "listCtrlGetItemText" _obj $ \cobj__obj -> -    wxListCtrl_GetItemText cobj__obj  (toCInt item)  -foreign import ccall "wxListCtrl_GetItemText" wxListCtrl_GetItemText :: Ptr (TListCtrl a) -> CInt -> IO (Ptr (TWxString ()))---- | usage: (@listCtrlGetNextItem obj item geometry state@).-listCtrlGetNextItem :: ListCtrl  a -> Int -> Int -> Int ->  IO Int-listCtrlGetNextItem _obj item geometry state -  = withIntResult $-    withObjectRef "listCtrlGetNextItem" _obj $ \cobj__obj -> -    wxListCtrl_GetNextItem cobj__obj  (toCInt item)  (toCInt geometry)  (toCInt state)  -foreign import ccall "wxListCtrl_GetNextItem" wxListCtrl_GetNextItem :: Ptr (TListCtrl a) -> CInt -> CInt -> CInt -> IO CInt---- | usage: (@listCtrlGetSelectedItemCount obj@).-listCtrlGetSelectedItemCount :: ListCtrl  a ->  IO Int-listCtrlGetSelectedItemCount _obj -  = withIntResult $-    withObjectRef "listCtrlGetSelectedItemCount" _obj $ \cobj__obj -> -    wxListCtrl_GetSelectedItemCount cobj__obj  -foreign import ccall "wxListCtrl_GetSelectedItemCount" wxListCtrl_GetSelectedItemCount :: Ptr (TListCtrl a) -> IO CInt---- | usage: (@listCtrlGetTextColour obj@).-listCtrlGetTextColour :: ListCtrl  a ->  IO (Color)-listCtrlGetTextColour _obj -  = withRefColour $ \pref -> -    withObjectRef "listCtrlGetTextColour" _obj $ \cobj__obj -> -    wxListCtrl_GetTextColour cobj__obj   pref-foreign import ccall "wxListCtrl_GetTextColour" wxListCtrl_GetTextColour :: Ptr (TListCtrl a) -> Ptr (TColour ()) -> IO ()---- | usage: (@listCtrlGetTopItem obj@).-listCtrlGetTopItem :: ListCtrl  a ->  IO Int-listCtrlGetTopItem _obj -  = withIntResult $-    withObjectRef "listCtrlGetTopItem" _obj $ \cobj__obj -> -    wxListCtrl_GetTopItem cobj__obj  -foreign import ccall "wxListCtrl_GetTopItem" wxListCtrl_GetTopItem :: Ptr (TListCtrl a) -> IO CInt---- | usage: (@listCtrlHitTest obj xy flags@).-listCtrlHitTest :: ListCtrl  a -> Point -> Ptr  c ->  IO Int-listCtrlHitTest _obj xy flags -  = withIntResult $-    withObjectRef "listCtrlHitTest" _obj $ \cobj__obj -> -    wxListCtrl_HitTest cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  flags  -foreign import ccall "wxListCtrl_HitTest" wxListCtrl_HitTest :: Ptr (TListCtrl a) -> CInt -> CInt -> Ptr  c -> IO CInt---- | usage: (@listCtrlInsertColumn obj col heading format width@).-listCtrlInsertColumn :: ListCtrl  a -> Int -> String -> Int -> Int ->  IO Int-listCtrlInsertColumn _obj col heading format width -  = withIntResult $-    withObjectRef "listCtrlInsertColumn" _obj $ \cobj__obj -> -    withStringPtr heading $ \cobj_heading -> -    wxListCtrl_InsertColumn cobj__obj  (toCInt col)  cobj_heading  (toCInt format)  (toCInt width)  -foreign import ccall "wxListCtrl_InsertColumn" wxListCtrl_InsertColumn :: Ptr (TListCtrl a) -> CInt -> Ptr (TWxString c) -> CInt -> CInt -> IO CInt---- | usage: (@listCtrlInsertColumnFromInfo obj col info@).-listCtrlInsertColumnFromInfo :: ListCtrl  a -> Int -> ListItem  c ->  IO Int-listCtrlInsertColumnFromInfo _obj col info -  = withIntResult $-    withObjectRef "listCtrlInsertColumnFromInfo" _obj $ \cobj__obj -> -    withObjectPtr info $ \cobj_info -> -    wxListCtrl_InsertColumnFromInfo cobj__obj  (toCInt col)  cobj_info  -foreign import ccall "wxListCtrl_InsertColumnFromInfo" wxListCtrl_InsertColumnFromInfo :: Ptr (TListCtrl a) -> CInt -> Ptr (TListItem c) -> IO CInt---- | usage: (@listCtrlInsertItem obj info@).-listCtrlInsertItem :: ListCtrl  a -> ListItem  b ->  IO Int-listCtrlInsertItem _obj info -  = withIntResult $-    withObjectRef "listCtrlInsertItem" _obj $ \cobj__obj -> -    withObjectPtr info $ \cobj_info -> -    wxListCtrl_InsertItem cobj__obj  cobj_info  -foreign import ccall "wxListCtrl_InsertItem" wxListCtrl_InsertItem :: Ptr (TListCtrl a) -> Ptr (TListItem b) -> IO CInt---- | usage: (@listCtrlInsertItemWithData obj index label@).-listCtrlInsertItemWithData :: ListCtrl  a -> Int -> String ->  IO Int-listCtrlInsertItemWithData _obj index label -  = withIntResult $-    withObjectRef "listCtrlInsertItemWithData" _obj $ \cobj__obj -> -    withStringPtr label $ \cobj_label -> -    wxListCtrl_InsertItemWithData cobj__obj  (toCInt index)  cobj_label  -foreign import ccall "wxListCtrl_InsertItemWithData" wxListCtrl_InsertItemWithData :: Ptr (TListCtrl a) -> CInt -> Ptr (TWxString c) -> IO CInt---- | usage: (@listCtrlInsertItemWithImage obj index imageIndex@).-listCtrlInsertItemWithImage :: ListCtrl  a -> Int -> Int ->  IO Int-listCtrlInsertItemWithImage _obj index imageIndex -  = withIntResult $-    withObjectRef "listCtrlInsertItemWithImage" _obj $ \cobj__obj -> -    wxListCtrl_InsertItemWithImage cobj__obj  (toCInt index)  (toCInt imageIndex)  -foreign import ccall "wxListCtrl_InsertItemWithImage" wxListCtrl_InsertItemWithImage :: Ptr (TListCtrl a) -> CInt -> CInt -> IO CInt---- | usage: (@listCtrlInsertItemWithLabel obj index label imageIndex@).-listCtrlInsertItemWithLabel :: ListCtrl  a -> Int -> String -> Int ->  IO Int-listCtrlInsertItemWithLabel _obj index label imageIndex -  = withIntResult $-    withObjectRef "listCtrlInsertItemWithLabel" _obj $ \cobj__obj -> -    withStringPtr label $ \cobj_label -> -    wxListCtrl_InsertItemWithLabel cobj__obj  (toCInt index)  cobj_label  (toCInt imageIndex)  -foreign import ccall "wxListCtrl_InsertItemWithLabel" wxListCtrl_InsertItemWithLabel :: Ptr (TListCtrl a) -> CInt -> Ptr (TWxString c) -> CInt -> IO CInt---- | usage: (@listCtrlScrollList obj dxdy@).-listCtrlScrollList :: ListCtrl  a -> Vector ->  IO Bool-listCtrlScrollList _obj dxdy -  = withBoolResult $-    withObjectRef "listCtrlScrollList" _obj $ \cobj__obj -> -    wxListCtrl_ScrollList cobj__obj  (toCIntVectorX dxdy) (toCIntVectorY dxdy)  -foreign import ccall "wxListCtrl_ScrollList" wxListCtrl_ScrollList :: Ptr (TListCtrl a) -> CInt -> CInt -> IO CBool---- | usage: (@listCtrlSetBackgroundColour obj col@).-listCtrlSetBackgroundColour :: ListCtrl  a -> Color ->  IO ()-listCtrlSetBackgroundColour _obj col -  = withObjectRef "listCtrlSetBackgroundColour" _obj $ \cobj__obj -> -    withColourPtr col $ \cobj_col -> -    wxListCtrl_SetBackgroundColour cobj__obj  cobj_col  -foreign import ccall "wxListCtrl_SetBackgroundColour" wxListCtrl_SetBackgroundColour :: Ptr (TListCtrl a) -> Ptr (TColour b) -> IO ()---- | usage: (@listCtrlSetColumn obj col item@).-listCtrlSetColumn :: ListCtrl  a -> Int -> ListItem  c ->  IO Bool-listCtrlSetColumn _obj col item -  = withBoolResult $-    withObjectRef "listCtrlSetColumn" _obj $ \cobj__obj -> -    withObjectPtr item $ \cobj_item -> -    wxListCtrl_SetColumn cobj__obj  (toCInt col)  cobj_item  -foreign import ccall "wxListCtrl_SetColumn" wxListCtrl_SetColumn :: Ptr (TListCtrl a) -> CInt -> Ptr (TListItem c) -> IO CBool---- | usage: (@listCtrlSetColumnWidth obj col width@).-listCtrlSetColumnWidth :: ListCtrl  a -> Int -> Int ->  IO Bool-listCtrlSetColumnWidth _obj col width -  = withBoolResult $-    withObjectRef "listCtrlSetColumnWidth" _obj $ \cobj__obj -> -    wxListCtrl_SetColumnWidth cobj__obj  (toCInt col)  (toCInt width)  -foreign import ccall "wxListCtrl_SetColumnWidth" wxListCtrl_SetColumnWidth :: Ptr (TListCtrl a) -> CInt -> CInt -> IO CBool---- | usage: (@listCtrlSetForegroundColour obj col@).-listCtrlSetForegroundColour :: ListCtrl  a -> Color ->  IO Int-listCtrlSetForegroundColour _obj col -  = withIntResult $-    withObjectRef "listCtrlSetForegroundColour" _obj $ \cobj__obj -> -    withColourPtr col $ \cobj_col -> -    wxListCtrl_SetForegroundColour cobj__obj  cobj_col  -foreign import ccall "wxListCtrl_SetForegroundColour" wxListCtrl_SetForegroundColour :: Ptr (TListCtrl a) -> Ptr (TColour b) -> IO CInt---- | usage: (@listCtrlSetImageList obj imageList which@).-listCtrlSetImageList :: ListCtrl  a -> ImageList  b -> Int ->  IO ()-listCtrlSetImageList _obj imageList which -  = withObjectRef "listCtrlSetImageList" _obj $ \cobj__obj -> -    withObjectPtr imageList $ \cobj_imageList -> -    wxListCtrl_SetImageList cobj__obj  cobj_imageList  (toCInt which)  -foreign import ccall "wxListCtrl_SetImageList" wxListCtrl_SetImageList :: Ptr (TListCtrl a) -> Ptr (TImageList b) -> CInt -> IO ()---- | usage: (@listCtrlSetItem obj index col label imageId@).-listCtrlSetItem :: ListCtrl  a -> Int -> Int -> String -> Int ->  IO Bool-listCtrlSetItem _obj index col label imageId -  = withBoolResult $-    withObjectRef "listCtrlSetItem" _obj $ \cobj__obj -> -    withStringPtr label $ \cobj_label -> -    wxListCtrl_SetItem cobj__obj  (toCInt index)  (toCInt col)  cobj_label  (toCInt imageId)  -foreign import ccall "wxListCtrl_SetItem" wxListCtrl_SetItem :: Ptr (TListCtrl a) -> CInt -> CInt -> Ptr (TWxString d) -> CInt -> IO CBool---- | usage: (@listCtrlSetItemData obj item wxdata@).-listCtrlSetItemData :: ListCtrl  a -> Int -> Int ->  IO Bool-listCtrlSetItemData _obj item wxdata -  = withBoolResult $-    withObjectRef "listCtrlSetItemData" _obj $ \cobj__obj -> -    wxListCtrl_SetItemData cobj__obj  (toCInt item)  (toCInt wxdata)  -foreign import ccall "wxListCtrl_SetItemData" wxListCtrl_SetItemData :: Ptr (TListCtrl a) -> CInt -> CInt -> IO CBool---- | usage: (@listCtrlSetItemFromInfo obj info@).-listCtrlSetItemFromInfo :: ListCtrl  a -> ListItem  b ->  IO Bool-listCtrlSetItemFromInfo _obj info -  = withBoolResult $-    withObjectRef "listCtrlSetItemFromInfo" _obj $ \cobj__obj -> -    withObjectPtr info $ \cobj_info -> -    wxListCtrl_SetItemFromInfo cobj__obj  cobj_info  -foreign import ccall "wxListCtrl_SetItemFromInfo" wxListCtrl_SetItemFromInfo :: Ptr (TListCtrl a) -> Ptr (TListItem b) -> IO CBool---- | usage: (@listCtrlSetItemImage obj item image selImage@).-listCtrlSetItemImage :: ListCtrl  a -> Int -> Int -> Int ->  IO Bool-listCtrlSetItemImage _obj item image selImage -  = withBoolResult $-    withObjectRef "listCtrlSetItemImage" _obj $ \cobj__obj -> -    wxListCtrl_SetItemImage cobj__obj  (toCInt item)  (toCInt image)  (toCInt selImage)  -foreign import ccall "wxListCtrl_SetItemImage" wxListCtrl_SetItemImage :: Ptr (TListCtrl a) -> CInt -> CInt -> CInt -> IO CBool---- | usage: (@listCtrlSetItemPosition obj item xy@).-listCtrlSetItemPosition :: ListCtrl  a -> Int -> Point ->  IO Bool-listCtrlSetItemPosition _obj item xy -  = withBoolResult $-    withObjectRef "listCtrlSetItemPosition" _obj $ \cobj__obj -> -    wxListCtrl_SetItemPosition cobj__obj  (toCInt item)  (toCIntPointX xy) (toCIntPointY xy)  -foreign import ccall "wxListCtrl_SetItemPosition" wxListCtrl_SetItemPosition :: Ptr (TListCtrl a) -> CInt -> CInt -> CInt -> IO CBool---- | usage: (@listCtrlSetItemState obj item state stateMask@).-listCtrlSetItemState :: ListCtrl  a -> Int -> Int -> Int ->  IO Bool-listCtrlSetItemState _obj item state stateMask -  = withBoolResult $-    withObjectRef "listCtrlSetItemState" _obj $ \cobj__obj -> -    wxListCtrl_SetItemState cobj__obj  (toCInt item)  (toCInt state)  (toCInt stateMask)  -foreign import ccall "wxListCtrl_SetItemState" wxListCtrl_SetItemState :: Ptr (TListCtrl a) -> CInt -> CInt -> CInt -> IO CBool---- | usage: (@listCtrlSetItemText obj item str@).-listCtrlSetItemText :: ListCtrl  a -> Int -> String ->  IO ()-listCtrlSetItemText _obj item str -  = withObjectRef "listCtrlSetItemText" _obj $ \cobj__obj -> -    withStringPtr str $ \cobj_str -> -    wxListCtrl_SetItemText cobj__obj  (toCInt item)  cobj_str  -foreign import ccall "wxListCtrl_SetItemText" wxListCtrl_SetItemText :: Ptr (TListCtrl a) -> CInt -> Ptr (TWxString c) -> IO ()---- | usage: (@listCtrlSetSingleStyle obj style add@).-listCtrlSetSingleStyle :: ListCtrl  a -> Int -> Bool ->  IO ()-listCtrlSetSingleStyle _obj style add -  = withObjectRef "listCtrlSetSingleStyle" _obj $ \cobj__obj -> -    wxListCtrl_SetSingleStyle cobj__obj  (toCInt style)  (toCBool add)  -foreign import ccall "wxListCtrl_SetSingleStyle" wxListCtrl_SetSingleStyle :: Ptr (TListCtrl a) -> CInt -> CBool -> IO ()---- | usage: (@listCtrlSetTextColour obj col@).-listCtrlSetTextColour :: ListCtrl  a -> Color ->  IO ()-listCtrlSetTextColour _obj col -  = withObjectRef "listCtrlSetTextColour" _obj $ \cobj__obj -> -    withColourPtr col $ \cobj_col -> -    wxListCtrl_SetTextColour cobj__obj  cobj_col  -foreign import ccall "wxListCtrl_SetTextColour" wxListCtrl_SetTextColour :: Ptr (TListCtrl a) -> Ptr (TColour b) -> IO ()---- | usage: (@listCtrlSetWindowStyleFlag obj style@).-listCtrlSetWindowStyleFlag :: ListCtrl  a -> Int ->  IO ()-listCtrlSetWindowStyleFlag _obj style -  = withObjectRef "listCtrlSetWindowStyleFlag" _obj $ \cobj__obj -> -    wxListCtrl_SetWindowStyleFlag cobj__obj  (toCInt style)  -foreign import ccall "wxListCtrl_SetWindowStyleFlag" wxListCtrl_SetWindowStyleFlag :: Ptr (TListCtrl a) -> CInt -> IO ()---- | usage: (@listCtrlSortItems obj fn eifobj@).-listCtrlSortItems :: ListCtrl  a -> Ptr  b -> Ptr  c ->  IO Bool-listCtrlSortItems _obj fn eifobj -  = withBoolResult $-    withObjectRef "listCtrlSortItems" _obj $ \cobj__obj -> -    wxListCtrl_SortItems cobj__obj  fn  eifobj  -foreign import ccall "wxListCtrl_SortItems" wxListCtrl_SortItems :: Ptr (TListCtrl a) -> Ptr  b -> Ptr  c -> IO CBool--{- |  Sort items in a list control. Takes a closure that is called with a 'CommandEvent' where the @Int@ is the item data of the first item and the @ExtraLong@ the item data of the second item. The event handler should set the @Int@ to 0 when the items are equal, -1 when the first is less, and 1 when the second is less. * -}-listCtrlSortItems2 :: ListCtrl  a -> Closure  b ->  IO Bool-listCtrlSortItems2 _obj closure -  = withBoolResult $-    withObjectRef "listCtrlSortItems2" _obj $ \cobj__obj -> -    withObjectPtr closure $ \cobj_closure -> -    wxListCtrl_SortItems2 cobj__obj  cobj_closure  -foreign import ccall "wxListCtrl_SortItems2" wxListCtrl_SortItems2 :: Ptr (TListCtrl a) -> Ptr (TClosure b) -> IO CBool---- | usage: (@listCtrlUpdateStyle obj@).-listCtrlUpdateStyle :: ListCtrl  a ->  IO ()-listCtrlUpdateStyle _obj -  = withObjectRef "listCtrlUpdateStyle" _obj $ \cobj__obj -> -    wxListCtrl_UpdateStyle cobj__obj  -foreign import ccall "wxListCtrl_UpdateStyle" wxListCtrl_UpdateStyle :: Ptr (TListCtrl a) -> IO ()---- | usage: (@listEventCancelled obj@).-listEventCancelled :: ListEvent  a ->  IO Bool-listEventCancelled _obj -  = withBoolResult $-    withObjectRef "listEventCancelled" _obj $ \cobj__obj -> -    wxListEvent_Cancelled cobj__obj  -foreign import ccall "wxListEvent_Cancelled" wxListEvent_Cancelled :: Ptr (TListEvent a) -> IO CBool---- | usage: (@listEventGetCacheFrom obj@).-listEventGetCacheFrom :: ListEvent  a ->  IO Int-listEventGetCacheFrom _obj -  = withIntResult $-    withObjectRef "listEventGetCacheFrom" _obj $ \cobj__obj -> -    wxListEvent_GetCacheFrom cobj__obj  -foreign import ccall "wxListEvent_GetCacheFrom" wxListEvent_GetCacheFrom :: Ptr (TListEvent a) -> IO CInt---- | usage: (@listEventGetCacheTo obj@).-listEventGetCacheTo :: ListEvent  a ->  IO Int-listEventGetCacheTo _obj -  = withIntResult $-    withObjectRef "listEventGetCacheTo" _obj $ \cobj__obj -> -    wxListEvent_GetCacheTo cobj__obj  -foreign import ccall "wxListEvent_GetCacheTo" wxListEvent_GetCacheTo :: Ptr (TListEvent a) -> IO CInt---- | usage: (@listEventGetCode obj@).-listEventGetCode :: ListEvent  a ->  IO Int-listEventGetCode _obj -  = withIntResult $-    withObjectRef "listEventGetCode" _obj $ \cobj__obj -> -    wxListEvent_GetCode cobj__obj  -foreign import ccall "wxListEvent_GetCode" wxListEvent_GetCode :: Ptr (TListEvent a) -> IO CInt---- | usage: (@listEventGetColumn obj@).-listEventGetColumn :: ListEvent  a ->  IO Int-listEventGetColumn _obj -  = withIntResult $-    withObjectRef "listEventGetColumn" _obj $ \cobj__obj -> -    wxListEvent_GetColumn cobj__obj  -foreign import ccall "wxListEvent_GetColumn" wxListEvent_GetColumn :: Ptr (TListEvent a) -> IO CInt---- | usage: (@listEventGetData obj@).-listEventGetData :: ListEvent  a ->  IO Int-listEventGetData _obj -  = withIntResult $-    withObjectRef "listEventGetData" _obj $ \cobj__obj -> -    wxListEvent_GetData cobj__obj  -foreign import ccall "wxListEvent_GetData" wxListEvent_GetData :: Ptr (TListEvent a) -> IO CInt---- | usage: (@listEventGetImage obj@).-listEventGetImage :: ListEvent  a ->  IO Int-listEventGetImage _obj -  = withIntResult $-    withObjectRef "listEventGetImage" _obj $ \cobj__obj -> -    wxListEvent_GetImage cobj__obj  -foreign import ccall "wxListEvent_GetImage" wxListEvent_GetImage :: Ptr (TListEvent a) -> IO CInt---- | usage: (@listEventGetIndex obj@).-listEventGetIndex :: ListEvent  a ->  IO Int-listEventGetIndex _obj -  = withIntResult $-    withObjectRef "listEventGetIndex" _obj $ \cobj__obj -> -    wxListEvent_GetIndex cobj__obj  -foreign import ccall "wxListEvent_GetIndex" wxListEvent_GetIndex :: Ptr (TListEvent a) -> IO CInt---- | usage: (@listEventGetItem obj@).-listEventGetItem :: ListEvent  a ->  IO (ListItem  ())-listEventGetItem _obj -  = withRefListItem $ \pref -> -    withObjectRef "listEventGetItem" _obj $ \cobj__obj -> -    wxListEvent_GetItem cobj__obj   pref-foreign import ccall "wxListEvent_GetItem" wxListEvent_GetItem :: Ptr (TListEvent a) -> Ptr (TListItem ()) -> IO ()---- | usage: (@listEventGetLabel obj@).-listEventGetLabel :: ListEvent  a ->  IO (String)-listEventGetLabel _obj -  = withManagedStringResult $-    withObjectRef "listEventGetLabel" _obj $ \cobj__obj -> -    wxListEvent_GetLabel cobj__obj  -foreign import ccall "wxListEvent_GetLabel" wxListEvent_GetLabel :: Ptr (TListEvent a) -> IO (Ptr (TWxString ()))---- | usage: (@listEventGetMask obj@).-listEventGetMask :: ListEvent  a ->  IO Int-listEventGetMask _obj -  = withIntResult $-    withObjectRef "listEventGetMask" _obj $ \cobj__obj -> -    wxListEvent_GetMask cobj__obj  -foreign import ccall "wxListEvent_GetMask" wxListEvent_GetMask :: Ptr (TListEvent a) -> IO CInt---- | usage: (@listEventGetPoint obj@).-listEventGetPoint :: ListEvent  a ->  IO (Point)-listEventGetPoint _obj -  = withWxPointResult $-    withObjectRef "listEventGetPoint" _obj $ \cobj__obj -> -    wxListEvent_GetPoint cobj__obj  -foreign import ccall "wxListEvent_GetPoint" wxListEvent_GetPoint :: Ptr (TListEvent a) -> IO (Ptr (TWxPoint ()))---- | usage: (@listEventGetText obj@).-listEventGetText :: ListEvent  a ->  IO (String)-listEventGetText _obj -  = withManagedStringResult $-    withObjectRef "listEventGetText" _obj $ \cobj__obj -> -    wxListEvent_GetText cobj__obj  -foreign import ccall "wxListEvent_GetText" wxListEvent_GetText :: Ptr (TListEvent a) -> IO (Ptr (TWxString ()))---- | usage: (@listItemClear obj@).-listItemClear :: ListItem  a ->  IO ()-listItemClear _obj -  = withObjectRef "listItemClear" _obj $ \cobj__obj -> -    wxListItem_Clear cobj__obj  -foreign import ccall "wxListItem_Clear" wxListItem_Clear :: Ptr (TListItem a) -> IO ()---- | usage: (@listItemClearAttributes obj@).-listItemClearAttributes :: ListItem  a ->  IO ()-listItemClearAttributes _obj -  = withObjectRef "listItemClearAttributes" _obj $ \cobj__obj -> -    wxListItem_ClearAttributes cobj__obj  -foreign import ccall "wxListItem_ClearAttributes" wxListItem_ClearAttributes :: Ptr (TListItem a) -> IO ()---- | usage: (@listItemCreate@).-listItemCreate ::  IO (ListItem  ())-listItemCreate -  = withManagedObjectResult $-    wxListItem_Create -foreign import ccall "wxListItem_Create" wxListItem_Create :: IO (Ptr (TListItem ()))---- | usage: (@listItemDelete obj@).-listItemDelete :: ListItem  a ->  IO ()-listItemDelete-  = objectDelete----- | usage: (@listItemGetAlign obj@).-listItemGetAlign :: ListItem  a ->  IO Int-listItemGetAlign _obj -  = withIntResult $-    withObjectRef "listItemGetAlign" _obj $ \cobj__obj -> -    wxListItem_GetAlign cobj__obj  -foreign import ccall "wxListItem_GetAlign" wxListItem_GetAlign :: Ptr (TListItem a) -> IO CInt---- | usage: (@listItemGetAttributes obj@).-listItemGetAttributes :: ListItem  a ->  IO (Ptr  ())-listItemGetAttributes _obj -  = withObjectRef "listItemGetAttributes" _obj $ \cobj__obj -> -    wxListItem_GetAttributes cobj__obj  -foreign import ccall "wxListItem_GetAttributes" wxListItem_GetAttributes :: Ptr (TListItem a) -> IO (Ptr  ())---- | usage: (@listItemGetBackgroundColour obj@).-listItemGetBackgroundColour :: ListItem  a ->  IO (Color)-listItemGetBackgroundColour _obj -  = withRefColour $ \pref -> -    withObjectRef "listItemGetBackgroundColour" _obj $ \cobj__obj -> -    wxListItem_GetBackgroundColour cobj__obj   pref-foreign import ccall "wxListItem_GetBackgroundColour" wxListItem_GetBackgroundColour :: Ptr (TListItem a) -> Ptr (TColour ()) -> IO ()---- | usage: (@listItemGetColumn obj@).-listItemGetColumn :: ListItem  a ->  IO Int-listItemGetColumn _obj -  = withIntResult $-    withObjectRef "listItemGetColumn" _obj $ \cobj__obj -> -    wxListItem_GetColumn cobj__obj  -foreign import ccall "wxListItem_GetColumn" wxListItem_GetColumn :: Ptr (TListItem a) -> IO CInt---- | usage: (@listItemGetData obj@).-listItemGetData :: ListItem  a ->  IO Int-listItemGetData _obj -  = withIntResult $-    withObjectRef "listItemGetData" _obj $ \cobj__obj -> -    wxListItem_GetData cobj__obj  -foreign import ccall "wxListItem_GetData" wxListItem_GetData :: Ptr (TListItem a) -> IO CInt---- | usage: (@listItemGetFont obj@).-listItemGetFont :: ListItem  a ->  IO (Font  ())-listItemGetFont _obj -  = withRefFont $ \pref -> -    withObjectRef "listItemGetFont" _obj $ \cobj__obj -> -    wxListItem_GetFont cobj__obj   pref-foreign import ccall "wxListItem_GetFont" wxListItem_GetFont :: Ptr (TListItem a) -> Ptr (TFont ()) -> IO ()---- | usage: (@listItemGetId obj@).-listItemGetId :: ListItem  a ->  IO Int-listItemGetId _obj -  = withIntResult $-    withObjectRef "listItemGetId" _obj $ \cobj__obj -> -    wxListItem_GetId cobj__obj  -foreign import ccall "wxListItem_GetId" wxListItem_GetId :: Ptr (TListItem a) -> IO CInt---- | usage: (@listItemGetImage obj@).-listItemGetImage :: ListItem  a ->  IO Int-listItemGetImage _obj -  = withIntResult $-    withObjectRef "listItemGetImage" _obj $ \cobj__obj -> -    wxListItem_GetImage cobj__obj  -foreign import ccall "wxListItem_GetImage" wxListItem_GetImage :: Ptr (TListItem a) -> IO CInt---- | usage: (@listItemGetMask obj@).-listItemGetMask :: ListItem  a ->  IO Int-listItemGetMask _obj -  = withIntResult $-    withObjectRef "listItemGetMask" _obj $ \cobj__obj -> -    wxListItem_GetMask cobj__obj  -foreign import ccall "wxListItem_GetMask" wxListItem_GetMask :: Ptr (TListItem a) -> IO CInt---- | usage: (@listItemGetState obj@).-listItemGetState :: ListItem  a ->  IO Int-listItemGetState _obj -  = withIntResult $-    withObjectRef "listItemGetState" _obj $ \cobj__obj -> -    wxListItem_GetState cobj__obj  -foreign import ccall "wxListItem_GetState" wxListItem_GetState :: Ptr (TListItem a) -> IO CInt---- | usage: (@listItemGetText obj@).-listItemGetText :: ListItem  a ->  IO (String)-listItemGetText _obj -  = withManagedStringResult $-    withObjectRef "listItemGetText" _obj $ \cobj__obj -> -    wxListItem_GetText cobj__obj  -foreign import ccall "wxListItem_GetText" wxListItem_GetText :: Ptr (TListItem a) -> IO (Ptr (TWxString ()))---- | usage: (@listItemGetTextColour obj@).-listItemGetTextColour :: ListItem  a ->  IO (Color)-listItemGetTextColour _obj -  = withRefColour $ \pref -> -    withObjectRef "listItemGetTextColour" _obj $ \cobj__obj -> -    wxListItem_GetTextColour cobj__obj   pref-foreign import ccall "wxListItem_GetTextColour" wxListItem_GetTextColour :: Ptr (TListItem a) -> Ptr (TColour ()) -> IO ()---- | usage: (@listItemGetWidth obj@).-listItemGetWidth :: ListItem  a ->  IO Int-listItemGetWidth _obj -  = withIntResult $-    withObjectRef "listItemGetWidth" _obj $ \cobj__obj -> -    wxListItem_GetWidth cobj__obj  -foreign import ccall "wxListItem_GetWidth" wxListItem_GetWidth :: Ptr (TListItem a) -> IO CInt---- | usage: (@listItemHasAttributes obj@).-listItemHasAttributes :: ListItem  a ->  IO Bool-listItemHasAttributes _obj -  = withBoolResult $-    withObjectRef "listItemHasAttributes" _obj $ \cobj__obj -> -    wxListItem_HasAttributes cobj__obj  -foreign import ccall "wxListItem_HasAttributes" wxListItem_HasAttributes :: Ptr (TListItem a) -> IO CBool---- | usage: (@listItemSetAlign obj align@).-listItemSetAlign :: ListItem  a -> Int ->  IO ()-listItemSetAlign _obj align -  = withObjectRef "listItemSetAlign" _obj $ \cobj__obj -> -    wxListItem_SetAlign cobj__obj  (toCInt align)  -foreign import ccall "wxListItem_SetAlign" wxListItem_SetAlign :: Ptr (TListItem a) -> CInt -> IO ()---- | usage: (@listItemSetBackgroundColour obj colBack@).-listItemSetBackgroundColour :: ListItem  a -> Color ->  IO ()-listItemSetBackgroundColour _obj colBack -  = withObjectRef "listItemSetBackgroundColour" _obj $ \cobj__obj -> -    withColourPtr colBack $ \cobj_colBack -> -    wxListItem_SetBackgroundColour cobj__obj  cobj_colBack  -foreign import ccall "wxListItem_SetBackgroundColour" wxListItem_SetBackgroundColour :: Ptr (TListItem a) -> Ptr (TColour b) -> IO ()---- | usage: (@listItemSetColumn obj col@).-listItemSetColumn :: ListItem  a -> Int ->  IO ()-listItemSetColumn _obj col -  = withObjectRef "listItemSetColumn" _obj $ \cobj__obj -> -    wxListItem_SetColumn cobj__obj  (toCInt col)  -foreign import ccall "wxListItem_SetColumn" wxListItem_SetColumn :: Ptr (TListItem a) -> CInt -> IO ()---- | usage: (@listItemSetData obj wxdata@).-listItemSetData :: ListItem  a -> Int ->  IO ()-listItemSetData _obj wxdata -  = withObjectRef "listItemSetData" _obj $ \cobj__obj -> -    wxListItem_SetData cobj__obj  (toCInt wxdata)  -foreign import ccall "wxListItem_SetData" wxListItem_SetData :: Ptr (TListItem a) -> CInt -> IO ()---- | usage: (@listItemSetDataPointer obj wxdata@).-listItemSetDataPointer :: ListItem  a -> Ptr  b ->  IO ()-listItemSetDataPointer _obj wxdata -  = withObjectRef "listItemSetDataPointer" _obj $ \cobj__obj -> -    wxListItem_SetDataPointer cobj__obj  wxdata  -foreign import ccall "wxListItem_SetDataPointer" wxListItem_SetDataPointer :: Ptr (TListItem a) -> Ptr  b -> IO ()---- | usage: (@listItemSetFont obj font@).-listItemSetFont :: ListItem  a -> Font  b ->  IO ()-listItemSetFont _obj font -  = withObjectRef "listItemSetFont" _obj $ \cobj__obj -> -    withObjectPtr font $ \cobj_font -> -    wxListItem_SetFont cobj__obj  cobj_font  -foreign import ccall "wxListItem_SetFont" wxListItem_SetFont :: Ptr (TListItem a) -> Ptr (TFont b) -> IO ()---- | usage: (@listItemSetId obj id@).-listItemSetId :: ListItem  a -> Id ->  IO ()-listItemSetId _obj id -  = withObjectRef "listItemSetId" _obj $ \cobj__obj -> -    wxListItem_SetId cobj__obj  (toCInt id)  -foreign import ccall "wxListItem_SetId" wxListItem_SetId :: Ptr (TListItem a) -> CInt -> IO ()---- | usage: (@listItemSetImage obj image@).-listItemSetImage :: ListItem  a -> Int ->  IO ()-listItemSetImage _obj image -  = withObjectRef "listItemSetImage" _obj $ \cobj__obj -> -    wxListItem_SetImage cobj__obj  (toCInt image)  -foreign import ccall "wxListItem_SetImage" wxListItem_SetImage :: Ptr (TListItem a) -> CInt -> IO ()---- | usage: (@listItemSetMask obj mask@).-listItemSetMask :: ListItem  a -> Int ->  IO ()-listItemSetMask _obj mask -  = withObjectRef "listItemSetMask" _obj $ \cobj__obj -> -    wxListItem_SetMask cobj__obj  (toCInt mask)  -foreign import ccall "wxListItem_SetMask" wxListItem_SetMask :: Ptr (TListItem a) -> CInt -> IO ()---- | usage: (@listItemSetState obj state@).-listItemSetState :: ListItem  a -> Int ->  IO ()-listItemSetState _obj state -  = withObjectRef "listItemSetState" _obj $ \cobj__obj -> -    wxListItem_SetState cobj__obj  (toCInt state)  -foreign import ccall "wxListItem_SetState" wxListItem_SetState :: Ptr (TListItem a) -> CInt -> IO ()---- | usage: (@listItemSetStateMask obj stateMask@).-listItemSetStateMask :: ListItem  a -> Int ->  IO ()-listItemSetStateMask _obj stateMask -  = withObjectRef "listItemSetStateMask" _obj $ \cobj__obj -> -    wxListItem_SetStateMask cobj__obj  (toCInt stateMask)  -foreign import ccall "wxListItem_SetStateMask" wxListItem_SetStateMask :: Ptr (TListItem a) -> CInt -> IO ()---- | usage: (@listItemSetText obj text@).-listItemSetText :: ListItem  a -> String ->  IO ()-listItemSetText _obj text -  = withObjectRef "listItemSetText" _obj $ \cobj__obj -> -    withStringPtr text $ \cobj_text -> -    wxListItem_SetText cobj__obj  cobj_text  -foreign import ccall "wxListItem_SetText" wxListItem_SetText :: Ptr (TListItem a) -> Ptr (TWxString b) -> IO ()---- | usage: (@listItemSetTextColour obj colText@).-listItemSetTextColour :: ListItem  a -> Color ->  IO ()-listItemSetTextColour _obj colText -  = withObjectRef "listItemSetTextColour" _obj $ \cobj__obj -> -    withColourPtr colText $ \cobj_colText -> -    wxListItem_SetTextColour cobj__obj  cobj_colText  -foreign import ccall "wxListItem_SetTextColour" wxListItem_SetTextColour :: Ptr (TListItem a) -> Ptr (TColour b) -> IO ()---- | usage: (@listItemSetWidth obj width@).-listItemSetWidth :: ListItem  a -> Int ->  IO ()-listItemSetWidth _obj width -  = withObjectRef "listItemSetWidth" _obj $ \cobj__obj -> -    wxListItem_SetWidth cobj__obj  (toCInt width)  -foreign import ccall "wxListItem_SetWidth" wxListItem_SetWidth :: Ptr (TListItem a) -> CInt -> IO ()---- | usage: (@localeAddCatalog obj szDomain@).-localeAddCatalog :: Locale  a -> Ptr  b ->  IO Int-localeAddCatalog _obj szDomain -  = withIntResult $-    withObjectRef "localeAddCatalog" _obj $ \cobj__obj -> -    wxLocale_AddCatalog cobj__obj  szDomain  -foreign import ccall "wxLocale_AddCatalog" wxLocale_AddCatalog :: Ptr (TLocale a) -> Ptr  b -> IO CInt---- | usage: (@localeAddCatalogLookupPathPrefix obj prefix@).-localeAddCatalogLookupPathPrefix :: Locale  a -> Ptr  b ->  IO ()-localeAddCatalogLookupPathPrefix _obj prefix -  = withObjectRef "localeAddCatalogLookupPathPrefix" _obj $ \cobj__obj -> -    wxLocale_AddCatalogLookupPathPrefix cobj__obj  prefix  -foreign import ccall "wxLocale_AddCatalogLookupPathPrefix" wxLocale_AddCatalogLookupPathPrefix :: Ptr (TLocale a) -> Ptr  b -> IO ()---- | usage: (@localeCreate name flags@).-localeCreate :: Int -> Int ->  IO (Locale  ())-localeCreate _name _flags -  = withObjectResult $-    wxLocale_Create (toCInt _name)  (toCInt _flags)  -foreign import ccall "wxLocale_Create" wxLocale_Create :: CInt -> CInt -> IO (Ptr (TLocale ()))---- | usage: (@localeDelete obj@).-localeDelete :: Locale  a ->  IO ()-localeDelete _obj -  = withObjectRef "localeDelete" _obj $ \cobj__obj -> -    wxLocale_Delete cobj__obj  -foreign import ccall "wxLocale_Delete" wxLocale_Delete :: Ptr (TLocale a) -> IO ()---- | usage: (@localeGetLocale obj@).-localeGetLocale :: Locale  a ->  IO (Locale  ())-localeGetLocale _obj -  = withObjectResult $-    withObjectRef "localeGetLocale" _obj $ \cobj__obj -> -    wxLocale_GetLocale cobj__obj  -foreign import ccall "wxLocale_GetLocale" wxLocale_GetLocale :: Ptr (TLocale a) -> IO (Ptr (TLocale ()))---- | usage: (@localeGetName obj@).-localeGetName :: Locale  a ->  IO (String)-localeGetName _obj -  = withManagedStringResult $-    withObjectRef "localeGetName" _obj $ \cobj__obj -> -    wxLocale_GetName cobj__obj  -foreign import ccall "wxLocale_GetName" wxLocale_GetName :: Ptr (TLocale a) -> IO (Ptr (TWxString ()))---- | usage: (@localeGetString obj szOrigString szDomain@).-localeGetString :: Locale  a -> Ptr  b -> Ptr  c ->  IO String-localeGetString _obj szOrigString szDomain -  = withWStringResult $ \buffer -> -    withObjectRef "localeGetString" _obj $ \cobj__obj -> -    wxLocale_GetString cobj__obj  szOrigString  szDomain   buffer-foreign import ccall "wxLocale_GetString" wxLocale_GetString :: Ptr (TLocale a) -> Ptr  b -> Ptr  c -> Ptr CWchar -> IO CInt---- | usage: (@localeIsLoaded obj szDomain@).-localeIsLoaded :: Locale  a -> Ptr  b ->  IO Bool-localeIsLoaded _obj szDomain -  = withBoolResult $-    withObjectRef "localeIsLoaded" _obj $ \cobj__obj -> -    wxLocale_IsLoaded cobj__obj  szDomain  -foreign import ccall "wxLocale_IsLoaded" wxLocale_IsLoaded :: Ptr (TLocale a) -> Ptr  b -> IO CBool---- | usage: (@localeIsOk obj@).-localeIsOk :: Locale  a ->  IO Bool-localeIsOk _obj -  = withBoolResult $-    withObjectRef "localeIsOk" _obj $ \cobj__obj -> -    wxLocale_IsOk cobj__obj  -foreign import ccall "wxLocale_IsOk" wxLocale_IsOk :: Ptr (TLocale a) -> IO CBool---- | usage: (@logAddTraceMask obj str@).-logAddTraceMask :: Log  a -> String ->  IO ()-logAddTraceMask _obj str -  = withObjectRef "logAddTraceMask" _obj $ \cobj__obj -> -    withStringPtr str $ \cobj_str -> -    wxLog_AddTraceMask cobj__obj  cobj_str  -foreign import ccall "wxLog_AddTraceMask" wxLog_AddTraceMask :: Ptr (TLog a) -> Ptr (TWxString b) -> IO ()---- | usage: (@logChainCreate logger@).-logChainCreate :: Log  a ->  IO (LogChain  ())-logChainCreate logger -  = withObjectResult $-    withObjectPtr logger $ \cobj_logger -> -    wxLogChain_Create cobj_logger  -foreign import ccall "wxLogChain_Create" wxLogChain_Create :: Ptr (TLog a) -> IO (Ptr (TLogChain ()))---- | usage: (@logChainDelete obj@).-logChainDelete :: LogChain  a ->  IO ()-logChainDelete _obj -  = withObjectRef "logChainDelete" _obj $ \cobj__obj -> -    wxLogChain_Delete cobj__obj  -foreign import ccall "wxLogChain_Delete" wxLogChain_Delete :: Ptr (TLogChain a) -> IO ()---- | usage: (@logChainGetOldLog obj@).-logChainGetOldLog :: LogChain  a ->  IO (Log  ())-logChainGetOldLog _obj -  = withObjectResult $-    withObjectRef "logChainGetOldLog" _obj $ \cobj__obj -> -    wxLogChain_GetOldLog cobj__obj  -foreign import ccall "wxLogChain_GetOldLog" wxLogChain_GetOldLog :: Ptr (TLogChain a) -> IO (Ptr (TLog ()))---- | usage: (@logChainIsPassingMessages obj@).-logChainIsPassingMessages :: LogChain  a ->  IO Bool-logChainIsPassingMessages _obj -  = withBoolResult $-    withObjectRef "logChainIsPassingMessages" _obj $ \cobj__obj -> -    wxLogChain_IsPassingMessages cobj__obj  -foreign import ccall "wxLogChain_IsPassingMessages" wxLogChain_IsPassingMessages :: Ptr (TLogChain a) -> IO CBool---- | usage: (@logChainPassMessages obj bDoPass@).-logChainPassMessages :: LogChain  a -> Bool ->  IO ()-logChainPassMessages _obj bDoPass -  = withObjectRef "logChainPassMessages" _obj $ \cobj__obj -> -    wxLogChain_PassMessages cobj__obj  (toCBool bDoPass)  -foreign import ccall "wxLogChain_PassMessages" wxLogChain_PassMessages :: Ptr (TLogChain a) -> CBool -> IO ()---- | usage: (@logChainSetLog obj logger@).-logChainSetLog :: LogChain  a -> Log  b ->  IO ()-logChainSetLog _obj logger -  = withObjectRef "logChainSetLog" _obj $ \cobj__obj -> -    withObjectPtr logger $ \cobj_logger -> -    wxLogChain_SetLog cobj__obj  cobj_logger  -foreign import ccall "wxLogChain_SetLog" wxLogChain_SetLog :: Ptr (TLogChain a) -> Ptr (TLog b) -> IO ()---- | usage: (@logDebug msg@).-logDebug :: String ->  IO ()-logDebug _msg -  = withStringPtr _msg $ \cobj__msg -> -    wx_LogDebug cobj__msg  -foreign import ccall "LogDebug" wx_LogDebug :: Ptr (TWxString a) -> IO ()---- | usage: (@logDelete obj@).-logDelete :: Log  a ->  IO ()-logDelete _obj -  = withObjectRef "logDelete" _obj $ \cobj__obj -> -    wxLog_Delete cobj__obj  -foreign import ccall "wxLog_Delete" wxLog_Delete :: Ptr (TLog a) -> IO ()---- | usage: (@logDontCreateOnDemand obj@).-logDontCreateOnDemand :: Log  a ->  IO ()-logDontCreateOnDemand _obj -  = withObjectRef "logDontCreateOnDemand" _obj $ \cobj__obj -> -    wxLog_DontCreateOnDemand cobj__obj  -foreign import ccall "wxLog_DontCreateOnDemand" wxLog_DontCreateOnDemand :: Ptr (TLog a) -> IO ()---- | usage: (@logError msg@).-logError :: String ->  IO ()-logError _msg -  = withStringPtr _msg $ \cobj__msg -> -    wx_LogError cobj__msg  -foreign import ccall "LogError" wx_LogError :: Ptr (TWxString a) -> IO ()---- | usage: (@logErrorMsg msg@).-logErrorMsg :: String ->  IO ()-logErrorMsg _msg -  = withStringPtr _msg $ \cobj__msg -> -    wx_LogErrorMsg cobj__msg  -foreign import ccall "LogErrorMsg" wx_LogErrorMsg :: Ptr (TWxString a) -> IO ()---- | usage: (@logFatalError msg@).-logFatalError :: String ->  IO ()-logFatalError _msg -  = withStringPtr _msg $ \cobj__msg -> -    wx_LogFatalError cobj__msg  -foreign import ccall "LogFatalError" wx_LogFatalError :: Ptr (TWxString a) -> IO ()---- | usage: (@logFatalErrorMsg msg@).-logFatalErrorMsg :: String ->  IO ()-logFatalErrorMsg _msg -  = withStringPtr _msg $ \cobj__msg -> -    wx_LogFatalErrorMsg cobj__msg  -foreign import ccall "LogFatalErrorMsg" wx_LogFatalErrorMsg :: Ptr (TWxString a) -> IO ()---- | usage: (@logFlush obj@).-logFlush :: Log  a ->  IO ()-logFlush _obj -  = withObjectRef "logFlush" _obj $ \cobj__obj -> -    wxLog_Flush cobj__obj  -foreign import ccall "wxLog_Flush" wxLog_Flush :: Ptr (TLog a) -> IO ()---- | usage: (@logFlushActive obj@).-logFlushActive :: Log  a ->  IO ()-logFlushActive _obj -  = withObjectRef "logFlushActive" _obj $ \cobj__obj -> -    wxLog_FlushActive cobj__obj  -foreign import ccall "wxLog_FlushActive" wxLog_FlushActive :: Ptr (TLog a) -> IO ()---- | usage: (@logGetActiveTarget@).-logGetActiveTarget ::  IO (Log  ())-logGetActiveTarget -  = withObjectResult $-    wxLog_GetActiveTarget -foreign import ccall "wxLog_GetActiveTarget" wxLog_GetActiveTarget :: IO (Ptr (TLog ()))---- | usage: (@logGetTimestamp obj@).-logGetTimestamp :: Log  a ->  IO (Ptr CWchar)-logGetTimestamp _obj -  = withObjectRef "logGetTimestamp" _obj $ \cobj__obj -> -    wxLog_GetTimestamp cobj__obj  -foreign import ccall "wxLog_GetTimestamp" wxLog_GetTimestamp :: Ptr (TLog a) -> IO (Ptr CWchar)---- | usage: (@logGetTraceMask obj@).-logGetTraceMask :: Log  a ->  IO Int-logGetTraceMask _obj -  = withIntResult $-    withObjectRef "logGetTraceMask" _obj $ \cobj__obj -> -    wxLog_GetTraceMask cobj__obj  -foreign import ccall "wxLog_GetTraceMask" wxLog_GetTraceMask :: Ptr (TLog a) -> IO CInt---- | usage: (@logGetVerbose obj@).-logGetVerbose :: Log  a ->  IO Int-logGetVerbose _obj -  = withIntResult $-    withObjectRef "logGetVerbose" _obj $ \cobj__obj -> -    wxLog_GetVerbose cobj__obj  -foreign import ccall "wxLog_GetVerbose" wxLog_GetVerbose :: Ptr (TLog a) -> IO CInt---- | usage: (@logHasPendingMessages obj@).-logHasPendingMessages :: Log  a ->  IO Bool-logHasPendingMessages _obj -  = withBoolResult $-    withObjectRef "logHasPendingMessages" _obj $ \cobj__obj -> -    wxLog_HasPendingMessages cobj__obj  -foreign import ccall "wxLog_HasPendingMessages" wxLog_HasPendingMessages :: Ptr (TLog a) -> IO CBool---- | usage: (@logIsAllowedTraceMask obj mask@).-logIsAllowedTraceMask :: Log  a -> Mask  b ->  IO Bool-logIsAllowedTraceMask _obj mask -  = withBoolResult $-    withObjectRef "logIsAllowedTraceMask" _obj $ \cobj__obj -> -    withObjectPtr mask $ \cobj_mask -> -    wxLog_IsAllowedTraceMask cobj__obj  cobj_mask  -foreign import ccall "wxLog_IsAllowedTraceMask" wxLog_IsAllowedTraceMask :: Ptr (TLog a) -> Ptr (TMask b) -> IO CBool---- | usage: (@logMessage msg@).-logMessage :: String ->  IO ()-logMessage _msg -  = withStringPtr _msg $ \cobj__msg -> -    wx_LogMessage cobj__msg  -foreign import ccall "LogMessage" wx_LogMessage :: Ptr (TWxString a) -> IO ()---- | usage: (@logMessageMsg msg@).-logMessageMsg :: String ->  IO ()-logMessageMsg _msg -  = withStringPtr _msg $ \cobj__msg -> -    wx_LogMessageMsg cobj__msg  -foreign import ccall "LogMessageMsg" wx_LogMessageMsg :: Ptr (TWxString a) -> IO ()---- | usage: (@logNullCreate@).-logNullCreate ::  IO (LogNull  ())-logNullCreate -  = withObjectResult $-    wxLogNull_Create -foreign import ccall "wxLogNull_Create" wxLogNull_Create :: IO (Ptr (TLogNull ()))---- | usage: (@logOnLog obj level szString t@).-logOnLog :: Log  a -> Int -> String -> Int ->  IO ()-logOnLog _obj level szString t -  = withObjectRef "logOnLog" _obj $ \cobj__obj -> -    withCWString szString $ \cstr_szString -> -    wxLog_OnLog cobj__obj  (toCInt level)  cstr_szString  (toCInt t)  -foreign import ccall "wxLog_OnLog" wxLog_OnLog :: Ptr (TLog a) -> CInt -> CWString -> CInt -> IO ()---- | usage: (@logRemoveTraceMask obj str@).-logRemoveTraceMask :: Log  a -> String ->  IO ()-logRemoveTraceMask _obj str -  = withObjectRef "logRemoveTraceMask" _obj $ \cobj__obj -> -    withStringPtr str $ \cobj_str -> -    wxLog_RemoveTraceMask cobj__obj  cobj_str  -foreign import ccall "wxLog_RemoveTraceMask" wxLog_RemoveTraceMask :: Ptr (TLog a) -> Ptr (TWxString b) -> IO ()---- | usage: (@logResume obj@).-logResume :: Log  a ->  IO ()-logResume _obj -  = withObjectRef "logResume" _obj $ \cobj__obj -> -    wxLog_Resume cobj__obj  -foreign import ccall "wxLog_Resume" wxLog_Resume :: Ptr (TLog a) -> IO ()---- | usage: (@logSetActiveTarget pLogger@).-logSetActiveTarget :: Log  a ->  IO (Log  ())-logSetActiveTarget pLogger -  = withObjectResult $-    withObjectRef "logSetActiveTarget" pLogger $ \cobj_pLogger -> -    wxLog_SetActiveTarget cobj_pLogger  -foreign import ccall "wxLog_SetActiveTarget" wxLog_SetActiveTarget :: Ptr (TLog a) -> IO (Ptr (TLog ()))---- | usage: (@logSetTimestamp obj ts@).-logSetTimestamp :: Log  a -> String ->  IO ()-logSetTimestamp _obj ts -  = withObjectRef "logSetTimestamp" _obj $ \cobj__obj -> -    withCWString ts $ \cstr_ts -> -    wxLog_SetTimestamp cobj__obj  cstr_ts  -foreign import ccall "wxLog_SetTimestamp" wxLog_SetTimestamp :: Ptr (TLog a) -> CWString -> IO ()---- | usage: (@logSetTraceMask obj ulMask@).-logSetTraceMask :: Log  a -> Int ->  IO ()-logSetTraceMask _obj ulMask -  = withObjectRef "logSetTraceMask" _obj $ \cobj__obj -> -    wxLog_SetTraceMask cobj__obj  (toCInt ulMask)  -foreign import ccall "wxLog_SetTraceMask" wxLog_SetTraceMask :: Ptr (TLog a) -> CInt -> IO ()---- | usage: (@logSetVerbose obj bVerbose@).-logSetVerbose :: Log  a -> Bool ->  IO ()-logSetVerbose _obj bVerbose -  = withObjectRef "logSetVerbose" _obj $ \cobj__obj -> -    wxLog_SetVerbose cobj__obj  (toCBool bVerbose)  -foreign import ccall "wxLog_SetVerbose" wxLog_SetVerbose :: Ptr (TLog a) -> CBool -> IO ()---- | usage: (@logStatus msg@).-logStatus :: String ->  IO ()-logStatus _msg -  = withStringPtr _msg $ \cobj__msg -> -    wx_LogStatus cobj__msg  -foreign import ccall "LogStatus" wx_LogStatus :: Ptr (TWxString a) -> IO ()---- | usage: (@logStderrCreate@).-logStderrCreate ::  IO (LogStderr  ())-logStderrCreate -  = withObjectResult $-    wxLogStderr_Create -foreign import ccall "wxLogStderr_Create" wxLogStderr_Create :: IO (Ptr (TLogStderr ()))---- | usage: (@logStderrCreateStdOut@).-logStderrCreateStdOut ::  IO (LogStderr  ())-logStderrCreateStdOut -  = withObjectResult $-    wxLogStderr_CreateStdOut -foreign import ccall "wxLogStderr_CreateStdOut" wxLogStderr_CreateStdOut :: IO (Ptr (TLogStderr ()))---- | usage: (@logSuspend obj@).-logSuspend :: Log  a ->  IO ()-logSuspend _obj -  = withObjectRef "logSuspend" _obj $ \cobj__obj -> -    wxLog_Suspend cobj__obj  -foreign import ccall "wxLog_Suspend" wxLog_Suspend :: Ptr (TLog a) -> IO ()---- | usage: (@logSysError msg@).-logSysError :: String ->  IO ()-logSysError _msg -  = withStringPtr _msg $ \cobj__msg -> -    wx_LogSysError cobj__msg  -foreign import ccall "LogSysError" wx_LogSysError :: Ptr (TWxString a) -> IO ()---- | usage: (@logTextCtrlCreate text@).-logTextCtrlCreate :: TextCtrl  a ->  IO (LogTextCtrl  ())-logTextCtrlCreate text -  = withObjectResult $-    withObjectPtr text $ \cobj_text -> -    wxLogTextCtrl_Create cobj_text  -foreign import ccall "wxLogTextCtrl_Create" wxLogTextCtrl_Create :: Ptr (TTextCtrl a) -> IO (Ptr (TLogTextCtrl ()))---- | usage: (@logTrace mask msg@).-logTrace :: String -> String ->  IO ()-logTrace mask _msg -  = withStringPtr mask $ \cobj_mask -> -    withStringPtr _msg $ \cobj__msg -> -    wx_LogTrace cobj_mask  cobj__msg  -foreign import ccall "LogTrace" wx_LogTrace :: Ptr (TWxString a) -> Ptr (TWxString b) -> IO ()---- | usage: (@logVerbose msg@).-logVerbose :: String ->  IO ()-logVerbose _msg -  = withStringPtr _msg $ \cobj__msg -> -    wx_LogVerbose cobj__msg  -foreign import ccall "LogVerbose" wx_LogVerbose :: Ptr (TWxString a) -> IO ()---- | usage: (@logWarning msg@).-logWarning :: String ->  IO ()-logWarning _msg -  = withStringPtr _msg $ \cobj__msg -> -    wx_LogWarning cobj__msg  -foreign import ccall "LogWarning" wx_LogWarning :: Ptr (TWxString a) -> IO ()---- | usage: (@logWarningMsg msg@).-logWarningMsg :: String ->  IO ()-logWarningMsg _msg -  = withStringPtr _msg $ \cobj__msg -> -    wx_LogWarningMsg cobj__msg  -foreign import ccall "LogWarningMsg" wx_LogWarningMsg :: Ptr (TWxString a) -> IO ()---- | usage: (@logWindowCreate parent title showit passthrough@).-logWindowCreate :: Window  a -> String -> Bool -> Bool ->  IO (LogWindow  ())-logWindowCreate parent title showit passthrough -  = withObjectResult $-    withObjectPtr parent $ \cobj_parent -> -    withCWString title $ \cstr_title -> -    wxLogWindow_Create cobj_parent  cstr_title  (toCBool showit)  (toCBool passthrough)  -foreign import ccall "wxLogWindow_Create" wxLogWindow_Create :: Ptr (TWindow a) -> CWString -> CBool -> CBool -> IO (Ptr (TLogWindow ()))---- | usage: (@logWindowGetFrame obj@).-logWindowGetFrame :: LogWindow  a ->  IO (Frame  ())-logWindowGetFrame obj -  = withObjectResult $-    withObjectRef "logWindowGetFrame" obj $ \cobj_obj -> -    wxLogWindow_GetFrame cobj_obj  -foreign import ccall "wxLogWindow_GetFrame" wxLogWindow_GetFrame :: Ptr (TLogWindow a) -> IO (Ptr (TFrame ()))-+{-# OPTIONS_HADDOCK prune #-}
+{-# LANGUAGE ForeignFunctionInterface #-}
+--------------------------------------------------------------------------------
+{-|
+Module      :  WxcClassesAL
+Copyright   :  Copyright (c) Daan Leijen 2003, 2004
+License     :  wxWindows
+
+Maintainer  :  wxhaskell-devel@lists.sourceforge.net
+Stability   :  provisional
+Portability :  portable
+
+Haskell class definitions for the wxWidgets C library (@wxc.dll@).
+
+Do not edit this file manually!
+This file was automatically generated by wxDirect.
+
+From the files:
+
+  * @wxc.h@
+
+And contains 2015 methods for 150 classes.
+-}
+--------------------------------------------------------------------------------
+module Graphics.UI.WXCore.WxcClassesAL
+    ( -- * Global
+     -- ** Misc.
+      bitmapDataObjectCreate
+     ,bitmapDataObjectCreateEmpty
+     ,bitmapDataObjectDelete
+     ,bitmapDataObjectGetBitmap
+     ,bitmapDataObjectSetBitmap
+     ,cFree
+     ,colorPickerCtrlCreate
+     ,colorPickerCtrlGetColour
+     ,colorPickerCtrlSetColour
+     ,cursorCreateFromImage
+     ,cursorCreateFromStock
+     ,cursorCreateLoad
+     ,dragIcon
+     ,dragListItem
+     ,dragString
+     ,dragTreeItem
+     ,dropSourceCreate
+     ,dropSourceDelete
+     ,dropSourceDoDragDrop
+     ,fileDataObjectAddFile
+     ,fileDataObjectCreate
+     ,fileDataObjectDelete
+     ,fileDataObjectGetFilenames
+     ,gcdcCreate
+     ,gcdcCreateFromMemory
+     ,gcdcCreateFromPrinter
+     ,gcdcDelete
+     ,gcdcGetGraphicsContext
+     ,gcdcSetGraphicsContext
+     ,genericDragIcon
+     ,genericDragListItem
+     ,genericDragString
+     ,genericDragTreeItem
+     ,getApplicationDir
+     ,getApplicationPath
+     ,getColourFromUser
+     ,getELJLocale
+     ,getELJTranslation
+     ,getFontFromUser
+     ,getNumberFromUser
+     ,getPasswordFromUser
+     ,getTextFromUser
+     ,isDefined
+     ,kill
+     ,logDebug
+     ,logError
+     ,logErrorMsg
+     ,logFatalError
+     ,logFatalErrorMsg
+     ,logMessage
+     ,logMessageMsg
+     ,logStatus
+     ,logSysError
+     ,logTrace
+     ,logVerbose
+     ,logWarning
+     ,logWarningMsg
+      -- * Classes
+     -- ** AcceleratorEntry
+     ,acceleratorEntryCreate
+     ,acceleratorEntryDelete
+     ,acceleratorEntryGetCommand
+     ,acceleratorEntryGetFlags
+     ,acceleratorEntryGetKeyCode
+     ,acceleratorEntrySet
+     -- ** AcceleratorTable
+     ,acceleratorTableCreate
+     ,acceleratorTableDelete
+     -- ** ActivateEvent
+     ,activateEventCopyObject
+     ,activateEventGetActive
+     -- ** AuiDefaultTabArt
+     ,auiDefaultTabArtClone
+     ,auiDefaultTabArtCreate
+     ,auiDefaultTabArtDrawBackground
+     ,auiDefaultTabArtDrawButton
+     ,auiDefaultTabArtDrawTab
+     ,auiDefaultTabArtGetBestTabCtrlSize
+     ,auiDefaultTabArtGetIndentSize
+     ,auiDefaultTabArtGetTabSize
+     ,auiDefaultTabArtSetActiveColour
+     ,auiDefaultTabArtSetColour
+     ,auiDefaultTabArtSetFlags
+     ,auiDefaultTabArtSetMeasuringFont
+     ,auiDefaultTabArtSetNormalFont
+     ,auiDefaultTabArtSetSelectedFont
+     ,auiDefaultTabArtSetSizingInfo
+     ,auiDefaultTabArtShowDropDown
+     -- ** AuiDefaultToolBarArt
+     ,auiDefaultToolBarArtClone
+     ,auiDefaultToolBarArtCreate
+     ,auiDefaultToolBarArtDrawBackground
+     ,auiDefaultToolBarArtDrawButton
+     ,auiDefaultToolBarArtDrawControlLabel
+     ,auiDefaultToolBarArtDrawDropDownButton
+     ,auiDefaultToolBarArtDrawGripper
+     ,auiDefaultToolBarArtDrawLabel
+     ,auiDefaultToolBarArtDrawOverflowButton
+     ,auiDefaultToolBarArtDrawPlainBackground
+     ,auiDefaultToolBarArtDrawSeparator
+     ,auiDefaultToolBarArtGetElementSize
+     ,auiDefaultToolBarArtGetFlags
+     ,auiDefaultToolBarArtGetFont
+     ,auiDefaultToolBarArtGetLabelSize
+     ,auiDefaultToolBarArtGetTextOrientation
+     ,auiDefaultToolBarArtGetToolSize
+     ,auiDefaultToolBarArtSetElementSize
+     ,auiDefaultToolBarArtSetFlags
+     ,auiDefaultToolBarArtSetFont
+     ,auiDefaultToolBarArtSetTextOrientation
+     ,auiDefaultToolBarArtShowDropDown
+     -- ** AuiDockArt
+     ,auiDockArtDrawBackground
+     ,auiDockArtDrawBorder
+     ,auiDockArtDrawCaption
+     ,auiDockArtDrawGripper
+     ,auiDockArtDrawPaneButton
+     ,auiDockArtDrawSash
+     ,auiDockArtGetColour
+     ,auiDockArtGetFont
+     ,auiDockArtGetMetric
+     ,auiDockArtSetColour
+     ,auiDockArtSetFont
+     ,auiDockArtSetMetric
+     -- ** AuiManager
+     ,auiManagerAddPane
+     ,auiManagerAddPaneByPaneInfo
+     ,auiManagerAddPaneByPaneInfoAndDropPosition
+     ,auiManagerCreate
+     ,auiManagerDelete
+     ,auiManagerDetachPane
+     ,auiManagerGetAllPanes
+     ,auiManagerGetArtProvider
+     ,auiManagerGetDockSizeConstraint
+     ,auiManagerGetFlags
+     ,auiManagerGetManagedWindow
+     ,auiManagerGetManager
+     ,auiManagerGetPaneByName
+     ,auiManagerGetPaneByWindow
+     ,auiManagerHideHint
+     ,auiManagerInsertPane
+     ,auiManagerLoadPaneInfo
+     ,auiManagerLoadPerspective
+     ,auiManagerSavePaneInfo
+     ,auiManagerSavePerspective
+     ,auiManagerSetArtProvider
+     ,auiManagerSetDockSizeConstraint
+     ,auiManagerSetFlags
+     ,auiManagerSetManagedWindow
+     ,auiManagerShowHint
+     ,auiManagerUnInit
+     ,auiManagerUpdate
+     -- ** AuiManagerEvent
+     ,auiManagerEventCanVeto
+     ,auiManagerEventCreate
+     ,auiManagerEventGetButton
+     ,auiManagerEventGetDC
+     ,auiManagerEventGetManager
+     ,auiManagerEventGetPane
+     ,auiManagerEventGetVeto
+     ,auiManagerEventSetButton
+     ,auiManagerEventSetCanVeto
+     ,auiManagerEventSetDC
+     ,auiManagerEventSetManager
+     ,auiManagerEventSetPane
+     ,auiManagerEventVeto
+     -- ** AuiNotebook
+     ,auiNotebookAddPage
+     ,auiNotebookAddPageWithBitmap
+     ,auiNotebookAdvanceSelection
+     ,auiNotebookChangeSelection
+     ,auiNotebookCreate
+     ,auiNotebookCreateDefault
+     ,auiNotebookCreateFromDefault
+     ,auiNotebookDeleteAllPages
+     ,auiNotebookDeletePage
+     ,auiNotebookGetArtProvider
+     ,auiNotebookGetCurrentPage
+     ,auiNotebookGetHeightForPageHeight
+     ,auiNotebookGetPage
+     ,auiNotebookGetPageBitmap
+     ,auiNotebookGetPageCount
+     ,auiNotebookGetPageIndex
+     ,auiNotebookGetPageText
+     ,auiNotebookGetPageToolTip
+     ,auiNotebookGetSelection
+     ,auiNotebookGetTabCtrlHeight
+     ,auiNotebookInsertPage
+     ,auiNotebookInsertPageWithBitmap
+     ,auiNotebookRemovePage
+     ,auiNotebookSetArtProvider
+     ,auiNotebookSetFont
+     ,auiNotebookSetMeasuringFont
+     ,auiNotebookSetNormalFont
+     ,auiNotebookSetPageBitmap
+     ,auiNotebookSetPageImage
+     ,auiNotebookSetPageText
+     ,auiNotebookSetPageToolTip
+     ,auiNotebookSetSelectedFont
+     ,auiNotebookSetSelection
+     ,auiNotebookSetTabCtrlHeight
+     ,auiNotebookSetUniformBitmapSize
+     ,auiNotebookShowWindowMenu
+     ,auiNotebookSplit
+     -- ** AuiNotebookEvent
+     ,auiNotebookEventCreate
+     ,auiNotebookEventGetDragSource
+     -- ** AuiNotebookPage
+     ,auiNotebookPageActive
+     ,auiNotebookPageBitmap
+     ,auiNotebookPageCaption
+     ,auiNotebookPageRect
+     ,auiNotebookPageTooltip
+     ,auiNotebookPageWindow
+     -- ** AuiNotebookPageArray
+     ,auiNotebookPageArrayCreate
+     ,auiNotebookPageArrayDelete
+     ,auiNotebookPageArrayGetCount
+     ,auiNotebookPageArrayItem
+     -- ** AuiPaneInfo
+     ,auiPaneInfoBestSize
+     ,auiPaneInfoBestSizeXY
+     ,auiPaneInfoBottom
+     ,auiPaneInfoBottomDockable
+     ,auiPaneInfoCaption
+     ,auiPaneInfoCaptionVisible
+     ,auiPaneInfoCenter
+     ,auiPaneInfoCenterPane
+     ,auiPaneInfoCentre
+     ,auiPaneInfoCentrePane
+     ,auiPaneInfoCloseButton
+     ,auiPaneInfoCopy
+     ,auiPaneInfoCreate
+     ,auiPaneInfoCreateDefault
+     ,auiPaneInfoDefaultPane
+     ,auiPaneInfoDestroyOnClose
+     ,auiPaneInfoDirection
+     ,auiPaneInfoDock
+     ,auiPaneInfoDockFixed
+     ,auiPaneInfoDockable
+     ,auiPaneInfoFixed
+     ,auiPaneInfoFloat
+     ,auiPaneInfoFloatable
+     ,auiPaneInfoFloatingPosition
+     ,auiPaneInfoFloatingPositionXY
+     ,auiPaneInfoFloatingSize
+     ,auiPaneInfoFloatingSizeXY
+     ,auiPaneInfoGripper
+     ,auiPaneInfoGripperTop
+     ,auiPaneInfoHasBorder
+     ,auiPaneInfoHasCaption
+     ,auiPaneInfoHasCloseButton
+     ,auiPaneInfoHasFlag
+     ,auiPaneInfoHasGripper
+     ,auiPaneInfoHasGripperTop
+     ,auiPaneInfoHasMaximizeButton
+     ,auiPaneInfoHasMinimizeButton
+     ,auiPaneInfoHasPinButton
+     ,auiPaneInfoHide
+     ,auiPaneInfoIcon
+     ,auiPaneInfoIsBottomDockable
+     ,auiPaneInfoIsDockable
+     ,auiPaneInfoIsDocked
+     ,auiPaneInfoIsFixed
+     ,auiPaneInfoIsFloatable
+     ,auiPaneInfoIsFloating
+     ,auiPaneInfoIsLeftDockable
+     ,auiPaneInfoIsMovable
+     ,auiPaneInfoIsOk
+     ,auiPaneInfoIsResizable
+     ,auiPaneInfoIsRightDockable
+     ,auiPaneInfoIsShown
+     ,auiPaneInfoIsToolbar
+     ,auiPaneInfoIsTopDockable
+     ,auiPaneInfoLayer
+     ,auiPaneInfoLeft
+     ,auiPaneInfoLeftDockable
+     ,auiPaneInfoMaxSize
+     ,auiPaneInfoMaxSizeXY
+     ,auiPaneInfoMaximizeButton
+     ,auiPaneInfoMinSize
+     ,auiPaneInfoMinSizeXY
+     ,auiPaneInfoMinimizeButton
+     ,auiPaneInfoMovable
+     ,auiPaneInfoName
+     ,auiPaneInfoPaneBorder
+     ,auiPaneInfoPinButton
+     ,auiPaneInfoPosition
+     ,auiPaneInfoResizable
+     ,auiPaneInfoRight
+     ,auiPaneInfoRightDockable
+     ,auiPaneInfoRow
+     ,auiPaneInfoSafeSet
+     ,auiPaneInfoSetFlag
+     ,auiPaneInfoShow
+     ,auiPaneInfoToolbarPane
+     ,auiPaneInfoTop
+     ,auiPaneInfoTopDockable
+     ,auiPaneInfoWindow
+     -- ** AuiPaneInfoArray
+     ,auiPaneInfoArrayCreate
+     ,auiPaneInfoArrayDelete
+     ,auiPaneInfoArrayGetCount
+     ,auiPaneInfoArrayItem
+     -- ** AuiSimpleTabArt
+     ,auiSimpleTabArtClone
+     ,auiSimpleTabArtCreate
+     ,auiSimpleTabArtDrawBackground
+     ,auiSimpleTabArtDrawButton
+     ,auiSimpleTabArtDrawTab
+     ,auiSimpleTabArtGetBestTabCtrlSize
+     ,auiSimpleTabArtGetIndentSize
+     ,auiSimpleTabArtGetTabSize
+     ,auiSimpleTabArtSetActiveColour
+     ,auiSimpleTabArtSetColour
+     ,auiSimpleTabArtSetFlags
+     ,auiSimpleTabArtSetMeasuringFont
+     ,auiSimpleTabArtSetNormalFont
+     ,auiSimpleTabArtSetSelectedFont
+     ,auiSimpleTabArtSetSizingInfo
+     ,auiSimpleTabArtShowDropDown
+     -- ** AuiTabArt
+     ,auiTabArtClone
+     ,auiTabArtDrawBackground
+     ,auiTabArtDrawButton
+     ,auiTabArtDrawTab
+     ,auiTabArtGetBestTabCtrlSize
+     ,auiTabArtGetIndentSize
+     ,auiTabArtGetTabSize
+     ,auiTabArtSetActiveColour
+     ,auiTabArtSetColour
+     ,auiTabArtSetFlags
+     ,auiTabArtSetMeasuringFont
+     ,auiTabArtSetNormalFont
+     ,auiTabArtSetSelectedFont
+     ,auiTabArtSetSizingInfo
+     -- ** AuiTabContainer
+     ,auiTabContainerAddButton
+     ,auiTabContainerAddPage
+     ,auiTabContainerCreate
+     ,auiTabContainerDoShowHide
+     ,auiTabContainerGetActivePage
+     ,auiTabContainerGetArtProvider
+     ,auiTabContainerGetFlags
+     ,auiTabContainerGetIdxFromWindow
+     ,auiTabContainerGetPage
+     ,auiTabContainerGetPageCount
+     ,auiTabContainerGetPages
+     ,auiTabContainerGetTabOffset
+     ,auiTabContainerGetWindowFromIdx
+     ,auiTabContainerInsertPage
+     ,auiTabContainerIsTabVisible
+     ,auiTabContainerMakeTabVisible
+     ,auiTabContainerMovePage
+     ,auiTabContainerRemoveButton
+     ,auiTabContainerRemovePage
+     ,auiTabContainerSetActiveColour
+     ,auiTabContainerSetActivePage
+     ,auiTabContainerSetActivePageByWindow
+     ,auiTabContainerSetArtProvider
+     ,auiTabContainerSetColour
+     ,auiTabContainerSetFlags
+     ,auiTabContainerSetMeasuringFont
+     ,auiTabContainerSetNoneActive
+     ,auiTabContainerSetNormalFont
+     ,auiTabContainerSetRect
+     ,auiTabContainerSetSelectedFont
+     ,auiTabContainerSetTabOffset
+     -- ** AuiTabContainerButton
+     ,auiTabContainerButtonBitmap
+     ,auiTabContainerButtonCurState
+     ,auiTabContainerButtonDisBitmap
+     ,auiTabContainerButtonId
+     ,auiTabContainerButtonLocation
+     ,auiTabContainerButtonRect
+     -- ** AuiTabCtrl
+     ,auiTabCtrlAddButton
+     ,auiTabCtrlAddPage
+     ,auiTabCtrlDoShowHide
+     ,auiTabCtrlGetActivePage
+     ,auiTabCtrlGetArtProvider
+     ,auiTabCtrlGetFlags
+     ,auiTabCtrlGetIdxFromWindow
+     ,auiTabCtrlGetPage
+     ,auiTabCtrlGetPageCount
+     ,auiTabCtrlGetPages
+     ,auiTabCtrlGetTabOffset
+     ,auiTabCtrlGetWindowFromIdx
+     ,auiTabCtrlInsertPage
+     ,auiTabCtrlIsTabVisible
+     ,auiTabCtrlMakeTabVisible
+     ,auiTabCtrlMovePage
+     ,auiTabCtrlRemoveButton
+     ,auiTabCtrlRemovePage
+     ,auiTabCtrlSetActiveColour
+     ,auiTabCtrlSetActivePage
+     ,auiTabCtrlSetActivePageByWindow
+     ,auiTabCtrlSetArtProvider
+     ,auiTabCtrlSetColour
+     ,auiTabCtrlSetFlags
+     ,auiTabCtrlSetMeasuringFont
+     ,auiTabCtrlSetNoneActive
+     ,auiTabCtrlSetNormalFont
+     ,auiTabCtrlSetRect
+     ,auiTabCtrlSetSelectedFont
+     ,auiTabCtrlSetTabOffset
+     -- ** AuiToolBar
+     ,auiToolBarAddControl
+     ,auiToolBarAddLabel
+     ,auiToolBarAddSeparator
+     ,auiToolBarAddSpacer
+     ,auiToolBarAddStretchSpacer
+     ,auiToolBarAddTool
+     ,auiToolBarAddToolByBitmap
+     ,auiToolBarAddToolByLabel
+     ,auiToolBarClear
+     ,auiToolBarClearTools
+     ,auiToolBarCreate
+     ,auiToolBarCreateDefault
+     ,auiToolBarCreateFromDefault
+     ,auiToolBarDelete
+     ,auiToolBarDeleteByIndex
+     ,auiToolBarDeleteTool
+     ,auiToolBarEnableTool
+     ,auiToolBarFindControl
+     ,auiToolBarFindTool
+     ,auiToolBarFindToolByIndex
+     ,auiToolBarFindToolByPosition
+     ,auiToolBarGetArtProvider
+     ,auiToolBarGetGripperVisible
+     ,auiToolBarGetHintSize
+     ,auiToolBarGetOverflowVisible
+     ,auiToolBarGetToolBarFits
+     ,auiToolBarGetToolBitmap
+     ,auiToolBarGetToolBitmapSize
+     ,auiToolBarGetToolBorderPadding
+     ,auiToolBarGetToolCount
+     ,auiToolBarGetToolDropDown
+     ,auiToolBarGetToolEnabled
+     ,auiToolBarGetToolFits
+     ,auiToolBarGetToolFitsByIndex
+     ,auiToolBarGetToolIndex
+     ,auiToolBarGetToolLabel
+     ,auiToolBarGetToolLongHelp
+     ,auiToolBarGetToolPacking
+     ,auiToolBarGetToolPos
+     ,auiToolBarGetToolProportion
+     ,auiToolBarGetToolRect
+     ,auiToolBarGetToolSeparation
+     ,auiToolBarGetToolShortHelp
+     ,auiToolBarGetToolSticky
+     ,auiToolBarGetToolTextOrientation
+     ,auiToolBarGetToolToggled
+     ,auiToolBarGetWindowStyleFlag
+     ,auiToolBarIsPaneValid
+     ,auiToolBarRealize
+     ,auiToolBarSetArtProvider
+     ,auiToolBarSetCustomOverflowItems
+     ,auiToolBarSetFont
+     ,auiToolBarSetGripperVisible
+     ,auiToolBarSetMargins
+     ,auiToolBarSetMarginsDetailed
+     ,auiToolBarSetMarginsXY
+     ,auiToolBarSetOverflowVisible
+     ,auiToolBarSetToolBitmap
+     ,auiToolBarSetToolBitmapSize
+     ,auiToolBarSetToolBorderPadding
+     ,auiToolBarSetToolDropDown
+     ,auiToolBarSetToolLabel
+     ,auiToolBarSetToolLongHelp
+     ,auiToolBarSetToolPacking
+     ,auiToolBarSetToolProportion
+     ,auiToolBarSetToolSeparation
+     ,auiToolBarSetToolShortHelp
+     ,auiToolBarSetToolSticky
+     ,auiToolBarSetToolTextOrientation
+     ,auiToolBarSetWindowStyleFlag
+     ,auiToolBarToggleTool
+     -- ** AuiToolBarArt
+     ,auiToolBarArtClone
+     ,auiToolBarArtDrawBackground
+     ,auiToolBarArtDrawButton
+     ,auiToolBarArtDrawControlLabel
+     ,auiToolBarArtDrawDropDownButton
+     ,auiToolBarArtDrawGripper
+     ,auiToolBarArtDrawLabel
+     ,auiToolBarArtDrawOverflowButton
+     ,auiToolBarArtDrawPlainBackground
+     ,auiToolBarArtDrawSeparator
+     ,auiToolBarArtGetElementSize
+     ,auiToolBarArtGetFlags
+     ,auiToolBarArtGetFont
+     ,auiToolBarArtGetLabelSize
+     ,auiToolBarArtGetTextOrientation
+     ,auiToolBarArtGetToolSize
+     ,auiToolBarArtSetElementSize
+     ,auiToolBarArtSetFlags
+     ,auiToolBarArtSetFont
+     ,auiToolBarArtSetTextOrientation
+     ,auiToolBarArtShowDropDown
+     -- ** AuiToolBarEvent
+     ,auiToolBarEventGetClickPoint
+     ,auiToolBarEventGetItemRect
+     ,auiToolBarEventGetToolId
+     ,auiToolBarEventIsDropDownClicked
+     -- ** AuiToolBarItem
+     ,auiToolBarItemAssign
+     ,auiToolBarItemCopy
+     ,auiToolBarItemCreate
+     ,auiToolBarItemCreateDefault
+     ,auiToolBarItemGetAlignment
+     ,auiToolBarItemGetBitmap
+     ,auiToolBarItemGetDisabledBitmap
+     ,auiToolBarItemGetHoverBitmap
+     ,auiToolBarItemGetId
+     ,auiToolBarItemGetKind
+     ,auiToolBarItemGetLabel
+     ,auiToolBarItemGetLongHelp
+     ,auiToolBarItemGetMinSize
+     ,auiToolBarItemGetProportion
+     ,auiToolBarItemGetShortHelp
+     ,auiToolBarItemGetSizerItem
+     ,auiToolBarItemGetSpacerPixels
+     ,auiToolBarItemGetState
+     ,auiToolBarItemGetUserData
+     ,auiToolBarItemGetWindow
+     ,auiToolBarItemHasDropDown
+     ,auiToolBarItemIsActive
+     ,auiToolBarItemIsSticky
+     ,auiToolBarItemSetActive
+     ,auiToolBarItemSetAlignment
+     ,auiToolBarItemSetBitmap
+     ,auiToolBarItemSetDisabledBitmap
+     ,auiToolBarItemSetHasDropDown
+     ,auiToolBarItemSetHoverBitmap
+     ,auiToolBarItemSetId
+     ,auiToolBarItemSetKind
+     ,auiToolBarItemSetLabel
+     ,auiToolBarItemSetLongHelp
+     ,auiToolBarItemSetMinSize
+     ,auiToolBarItemSetProportion
+     ,auiToolBarItemSetShortHelp
+     ,auiToolBarItemSetSizerItem
+     ,auiToolBarItemSetSpacerPixels
+     ,auiToolBarItemSetState
+     ,auiToolBarItemSetSticky
+     ,auiToolBarItemSetUserData
+     ,auiToolBarItemSetWindow
+     -- ** AuiToolBarItemArray
+     ,auiToolBarItemArrayCreate
+     ,auiToolBarItemArrayDelete
+     ,auiToolBarItemArrayGetCount
+     ,auiToolBarItemArrayItem
+     -- ** AutoBufferedPaintDC
+     ,autoBufferedPaintDCCreate
+     ,autoBufferedPaintDCDelete
+     -- ** Bitmap
+     ,bitmapAddHandler
+     ,bitmapCleanUpHandlers
+     ,bitmapCreate
+     ,bitmapCreateDefault
+     ,bitmapCreateEmpty
+     ,bitmapCreateFromImage
+     ,bitmapCreateFromXPM
+     ,bitmapCreateLoad
+     ,bitmapDelete
+     ,bitmapFindHandlerByExtension
+     ,bitmapFindHandlerByName
+     ,bitmapFindHandlerByType
+     ,bitmapGetDepth
+     ,bitmapGetHeight
+     ,bitmapGetMask
+     ,bitmapGetSubBitmap
+     ,bitmapGetWidth
+     ,bitmapInitStandardHandlers
+     ,bitmapInsertHandler
+     ,bitmapIsOk
+     ,bitmapIsStatic
+     ,bitmapLoadFile
+     ,bitmapRemoveHandler
+     ,bitmapSafeDelete
+     ,bitmapSaveFile
+     ,bitmapSetDepth
+     ,bitmapSetHeight
+     ,bitmapSetMask
+     ,bitmapSetWidth
+     -- ** BitmapButton
+     ,bitmapButtonCreate
+     ,bitmapButtonGetBitmapDisabled
+     ,bitmapButtonGetBitmapFocus
+     ,bitmapButtonGetBitmapLabel
+     ,bitmapButtonGetBitmapSelected
+     ,bitmapButtonGetMarginX
+     ,bitmapButtonGetMarginY
+     ,bitmapButtonSetBitmapDisabled
+     ,bitmapButtonSetBitmapFocus
+     ,bitmapButtonSetBitmapLabel
+     ,bitmapButtonSetBitmapSelected
+     ,bitmapButtonSetMargins
+     -- ** BitmapToggleButton
+     ,bitmapToggleButtonCreate
+     ,bitmapToggleButtonEnable
+     ,bitmapToggleButtonGetValue
+     ,bitmapToggleButtonSetBitmapLabel
+     ,bitmapToggleButtonSetValue
+     -- ** BookCtrlBase
+     ,bookCtrlBaseAddPage
+     ,bookCtrlBaseAdvanceSelection
+     ,bookCtrlBaseAssignImageList
+     ,bookCtrlBaseChangeSelection
+     ,bookCtrlBaseCreateFromDefault
+     ,bookCtrlBaseDeleteAllPages
+     ,bookCtrlBaseDeletePage
+     ,bookCtrlBaseFindPage
+     ,bookCtrlBaseGetCurrentPage
+     ,bookCtrlBaseGetImageList
+     ,bookCtrlBaseGetPage
+     ,bookCtrlBaseGetPageCount
+     ,bookCtrlBaseGetPageImage
+     ,bookCtrlBaseGetPageText
+     ,bookCtrlBaseGetSelection
+     ,bookCtrlBaseHitTest
+     ,bookCtrlBaseInsertPage
+     ,bookCtrlBaseRemovePage
+     ,bookCtrlBaseSetImageList
+     ,bookCtrlBaseSetPageImage
+     ,bookCtrlBaseSetPageSize
+     ,bookCtrlBaseSetPageText
+     ,bookCtrlBaseSetSelection
+     -- ** BookCtrlEvent
+     ,bookCtrlEventCreate
+     ,bookCtrlEventGetOldSelection
+     ,bookCtrlEventGetSelection
+     -- ** BoolProperty
+     ,boolPropertyCreate
+     -- ** BoxSizer
+     ,boxSizerCalcMin
+     ,boxSizerCreate
+     ,boxSizerGetOrientation
+     ,boxSizerRecalcSizes
+     -- ** Brush
+     ,brushAssign
+     ,brushCreateDefault
+     ,brushCreateFromBitmap
+     ,brushCreateFromColour
+     ,brushCreateFromStock
+     ,brushDelete
+     ,brushGetColour
+     ,brushGetStipple
+     ,brushGetStyle
+     ,brushIsEqual
+     ,brushIsOk
+     ,brushIsStatic
+     ,brushSafeDelete
+     ,brushSetColour
+     ,brushSetColourSingle
+     ,brushSetStipple
+     ,brushSetStyle
+     -- ** BufferedDC
+     ,bufferedDCCreateByDCAndBitmap
+     ,bufferedDCCreateByDCAndSize
+     ,bufferedDCDelete
+     -- ** BufferedPaintDC
+     ,bufferedPaintDCCreate
+     ,bufferedPaintDCCreateWithBitmap
+     ,bufferedPaintDCDelete
+     -- ** BusyCursor
+     ,busyCursorCreate
+     ,busyCursorCreateWithCursor
+     ,busyCursorDelete
+     -- ** BusyInfo
+     ,busyInfoCreate
+     ,busyInfoDelete
+     -- ** Button
+     ,buttonCreate
+     ,buttonSetBackgroundColour
+     ,buttonSetDefault
+     -- ** CalculateLayoutEvent
+     ,calculateLayoutEventCreate
+     ,calculateLayoutEventGetFlags
+     ,calculateLayoutEventGetRect
+     ,calculateLayoutEventSetFlags
+     ,calculateLayoutEventSetRect
+     -- ** CalendarCtrl
+     ,calendarCtrlCreate
+     ,calendarCtrlEnableHolidayDisplay
+     ,calendarCtrlEnableMonthChange
+     ,calendarCtrlGetAttr
+     ,calendarCtrlGetDate
+     ,calendarCtrlGetHeaderColourBg
+     ,calendarCtrlGetHeaderColourFg
+     ,calendarCtrlGetHighlightColourBg
+     ,calendarCtrlGetHighlightColourFg
+     ,calendarCtrlGetHolidayColourBg
+     ,calendarCtrlGetHolidayColourFg
+     ,calendarCtrlHitTest
+     ,calendarCtrlResetAttr
+     ,calendarCtrlSetAttr
+     ,calendarCtrlSetDate
+     ,calendarCtrlSetHeaderColours
+     ,calendarCtrlSetHighlightColours
+     ,calendarCtrlSetHoliday
+     ,calendarCtrlSetHolidayColours
+     -- ** CalendarDateAttr
+     ,calendarDateAttrCreate
+     ,calendarDateAttrCreateDefault
+     ,calendarDateAttrDelete
+     ,calendarDateAttrGetBackgroundColour
+     ,calendarDateAttrGetBorder
+     ,calendarDateAttrGetBorderColour
+     ,calendarDateAttrGetFont
+     ,calendarDateAttrGetTextColour
+     ,calendarDateAttrHasBackgroundColour
+     ,calendarDateAttrHasBorder
+     ,calendarDateAttrHasBorderColour
+     ,calendarDateAttrHasFont
+     ,calendarDateAttrHasTextColour
+     ,calendarDateAttrIsHoliday
+     ,calendarDateAttrSetBackgroundColour
+     ,calendarDateAttrSetBorder
+     ,calendarDateAttrSetBorderColour
+     ,calendarDateAttrSetFont
+     ,calendarDateAttrSetHoliday
+     ,calendarDateAttrSetTextColour
+     -- ** CalendarEvent
+     ,calendarEventGetDate
+     ,calendarEventGetWeekDay
+     -- ** Caret
+     ,caretCreate
+     ,caretGetBlinkTime
+     ,caretGetPosition
+     ,caretGetSize
+     ,caretGetWindow
+     ,caretHide
+     ,caretIsOk
+     ,caretIsVisible
+     ,caretMove
+     ,caretSetBlinkTime
+     ,caretSetSize
+     ,caretShow
+     -- ** CheckBox
+     ,checkBoxCreate
+     ,checkBoxDelete
+     ,checkBoxGetValue
+     ,checkBoxSetValue
+     -- ** CheckListBox
+     ,checkListBoxCheck
+     ,checkListBoxCreate
+     ,checkListBoxDelete
+     ,checkListBoxIsChecked
+     -- ** Choice
+     ,choiceAppend
+     ,choiceClear
+     ,choiceCreate
+     ,choiceDelete
+     ,choiceFindString
+     ,choiceGetCount
+     ,choiceGetSelection
+     ,choiceGetString
+     ,choiceSetSelection
+     ,choiceSetString
+     -- ** ClassInfo
+     ,classInfoCreateClassByName
+     ,classInfoFindClass
+     ,classInfoGetBaseClassName1
+     ,classInfoGetBaseClassName2
+     ,classInfoGetClassName
+     ,classInfoGetClassNameEx
+     ,classInfoGetSize
+     ,classInfoIsKindOf
+     ,classInfoIsKindOfEx
+     -- ** ClientDC
+     ,clientDCCreate
+     ,clientDCDelete
+     -- ** Clipboard
+     ,clipboardAddData
+     ,clipboardClear
+     ,clipboardClose
+     ,clipboardCreate
+     ,clipboardFlush
+     ,clipboardGetData
+     ,clipboardIsOpened
+     ,clipboardIsSupported
+     ,clipboardOpen
+     ,clipboardSetData
+     ,clipboardUsePrimarySelection
+     -- ** CloseEvent
+     ,closeEventCanVeto
+     ,closeEventCopyObject
+     ,closeEventGetLoggingOff
+     ,closeEventGetVeto
+     ,closeEventSetCanVeto
+     ,closeEventSetLoggingOff
+     ,closeEventVeto
+     -- ** Closure
+     ,closureCreate
+     ,closureGetData
+     -- ** ComboBox
+     ,comboBoxAppend
+     ,comboBoxAppendData
+     ,comboBoxClear
+     ,comboBoxCopy
+     ,comboBoxCreate
+     ,comboBoxCut
+     ,comboBoxDelete
+     ,comboBoxFindString
+     ,comboBoxGetClientData
+     ,comboBoxGetCount
+     ,comboBoxGetInsertionPoint
+     ,comboBoxGetLastPosition
+     ,comboBoxGetSelection
+     ,comboBoxGetString
+     ,comboBoxGetStringSelection
+     ,comboBoxGetValue
+     ,comboBoxPaste
+     ,comboBoxRemove
+     ,comboBoxReplace
+     ,comboBoxSetClientData
+     ,comboBoxSetEditable
+     ,comboBoxSetInsertionPoint
+     ,comboBoxSetInsertionPointEnd
+     ,comboBoxSetSelection
+     ,comboBoxSetTextSelection
+     ,comboBoxSetValue
+     -- ** CommandEvent
+     ,commandEventCopyObject
+     ,commandEventCreate
+     ,commandEventDelete
+     ,commandEventGetClientData
+     ,commandEventGetClientObject
+     ,commandEventGetExtraLong
+     ,commandEventGetInt
+     ,commandEventGetSelection
+     ,commandEventGetString
+     ,commandEventIsChecked
+     ,commandEventIsSelection
+     ,commandEventSetClientData
+     ,commandEventSetClientObject
+     ,commandEventSetExtraLong
+     ,commandEventSetInt
+     ,commandEventSetString
+     -- ** ConfigBase
+     ,configBaseCreate
+     ,configBaseDelete
+     ,configBaseDeleteAll
+     ,configBaseDeleteEntry
+     ,configBaseDeleteGroup
+     ,configBaseExists
+     ,configBaseExpandEnvVars
+     ,configBaseFlush
+     ,configBaseGet
+     ,configBaseGetAppName
+     ,configBaseGetEntryType
+     ,configBaseGetFirstEntry
+     ,configBaseGetFirstGroup
+     ,configBaseGetNextEntry
+     ,configBaseGetNextGroup
+     ,configBaseGetNumberOfEntries
+     ,configBaseGetNumberOfGroups
+     ,configBaseGetPath
+     ,configBaseGetStyle
+     ,configBaseGetVendorName
+     ,configBaseHasEntry
+     ,configBaseHasGroup
+     ,configBaseIsExpandingEnvVars
+     ,configBaseIsRecordingDefaults
+     ,configBaseReadBool
+     ,configBaseReadDouble
+     ,configBaseReadInteger
+     ,configBaseReadString
+     ,configBaseRenameEntry
+     ,configBaseRenameGroup
+     ,configBaseSet
+     ,configBaseSetAppName
+     ,configBaseSetExpandEnvVars
+     ,configBaseSetPath
+     ,configBaseSetRecordDefaults
+     ,configBaseSetStyle
+     ,configBaseSetVendorName
+     ,configBaseWriteBool
+     ,configBaseWriteDouble
+     ,configBaseWriteInteger
+     ,configBaseWriteLong
+     ,configBaseWriteString
+     -- ** ContextHelp
+     ,contextHelpBeginContextHelp
+     ,contextHelpCreate
+     ,contextHelpDelete
+     ,contextHelpEndContextHelp
+     -- ** ContextHelpButton
+     ,contextHelpButtonCreate
+     -- ** Control
+     ,controlCommand
+     ,controlGetLabel
+     ,controlSetLabel
+     -- ** Cursor
+     ,cursorDelete
+     ,cursorIsStatic
+     ,cursorSafeDelete
+     -- ** DC
+     ,dcBlit
+     ,dcCalcBoundingBox
+     ,dcCanDrawBitmap
+     ,dcCanGetTextExtent
+     ,dcClear
+     ,dcComputeScaleAndOrigin
+     ,dcCrossHair
+     ,dcDelete
+     ,dcDestroyClippingRegion
+     ,dcDeviceToLogicalX
+     ,dcDeviceToLogicalXRel
+     ,dcDeviceToLogicalY
+     ,dcDeviceToLogicalYRel
+     ,dcDrawArc
+     ,dcDrawBitmap
+     ,dcDrawCheckMark
+     ,dcDrawCircle
+     ,dcDrawEllipse
+     ,dcDrawEllipticArc
+     ,dcDrawIcon
+     ,dcDrawLabel
+     ,dcDrawLabelBitmap
+     ,dcDrawLine
+     ,dcDrawLines
+     ,dcDrawPoint
+     ,dcDrawPolyPolygon
+     ,dcDrawPolygon
+     ,dcDrawRectangle
+     ,dcDrawRotatedText
+     ,dcDrawRoundedRectangle
+     ,dcDrawText
+     ,dcEndDoc
+     ,dcEndPage
+     ,dcFloodFill
+     ,dcGetBackground
+     ,dcGetBackgroundMode
+     ,dcGetBrush
+     ,dcGetCharHeight
+     ,dcGetCharWidth
+     ,dcGetClippingBox
+     ,dcGetDepth
+     ,dcGetDeviceOrigin
+     ,dcGetFont
+     ,dcGetLogicalFunction
+     ,dcGetLogicalOrigin
+     ,dcGetLogicalScale
+     ,dcGetMapMode
+     ,dcGetMultiLineTextExtent
+     ,dcGetPPI
+     ,dcGetPen
+     ,dcGetPixel
+     ,dcGetPixel2
+     ,dcGetSize
+     ,dcGetSizeMM
+     ,dcGetTextBackground
+     ,dcGetTextExtent
+     ,dcGetTextForeground
+     ,dcGetUserScale
+     ,dcGetUserScaleX
+     ,dcGetUserScaleY
+     ,dcIsOk
+     ,dcLogicalToDeviceX
+     ,dcLogicalToDeviceXRel
+     ,dcLogicalToDeviceY
+     ,dcLogicalToDeviceYRel
+     ,dcMaxX
+     ,dcMaxY
+     ,dcMinX
+     ,dcMinY
+     ,dcResetBoundingBox
+     ,dcSetAxisOrientation
+     ,dcSetBackground
+     ,dcSetBackgroundMode
+     ,dcSetBrush
+     ,dcSetClippingRegion
+     ,dcSetClippingRegionFromRegion
+     ,dcSetDeviceClippingRegion
+     ,dcSetDeviceOrigin
+     ,dcSetFont
+     ,dcSetLogicalFunction
+     ,dcSetLogicalOrigin
+     ,dcSetLogicalScale
+     ,dcSetMapMode
+     ,dcSetPalette
+     ,dcSetPen
+     ,dcSetTextBackground
+     ,dcSetTextForeground
+     ,dcSetUserScale
+     ,dcStartDoc
+     ,dcStartPage
+     -- ** DataFormat
+     ,dataFormatCreateFromId
+     ,dataFormatCreateFromType
+     ,dataFormatDelete
+     ,dataFormatGetId
+     ,dataFormatGetType
+     ,dataFormatIsEqual
+     ,dataFormatSetId
+     ,dataFormatSetType
+     -- ** DataObjectComposite
+     ,dataObjectCompositeAdd
+     ,dataObjectCompositeCreate
+     ,dataObjectCompositeDelete
+     -- ** DateProperty
+     ,datePropertyCreate
+     -- ** DateTime
+     ,dateTimeAddDate
+     ,dateTimeAddDateValues
+     ,dateTimeAddTime
+     ,dateTimeAddTimeValues
+     ,dateTimeConvertYearToBC
+     ,dateTimeCreate
+     ,dateTimeDelete
+     ,dateTimeFormat
+     ,dateTimeFormatDate
+     ,dateTimeFormatISODate
+     ,dateTimeFormatISOTime
+     ,dateTimeFormatTime
+     ,dateTimeGetAmString
+     ,dateTimeGetBeginDST
+     ,dateTimeGetCentury
+     ,dateTimeGetCountry
+     ,dateTimeGetCurrentMonth
+     ,dateTimeGetCurrentYear
+     ,dateTimeGetDay
+     ,dateTimeGetDayOfYear
+     ,dateTimeGetEndDST
+     ,dateTimeGetHour
+     ,dateTimeGetLastMonthDay
+     ,dateTimeGetLastWeekDay
+     ,dateTimeGetMillisecond
+     ,dateTimeGetMinute
+     ,dateTimeGetMonth
+     ,dateTimeGetMonthName
+     ,dateTimeGetNextWeekDay
+     ,dateTimeGetNumberOfDays
+     ,dateTimeGetNumberOfDaysMonth
+     ,dateTimeGetPmString
+     ,dateTimeGetPrevWeekDay
+     ,dateTimeGetSecond
+     ,dateTimeGetTicks
+     ,dateTimeGetTimeNow
+     ,dateTimeGetValue
+     ,dateTimeGetWeekDay
+     ,dateTimeGetWeekDayInSameWeek
+     ,dateTimeGetWeekDayName
+     ,dateTimeGetWeekDayTZ
+     ,dateTimeGetWeekOfMonth
+     ,dateTimeGetWeekOfYear
+     ,dateTimeGetYear
+     ,dateTimeIsBetween
+     ,dateTimeIsDST
+     ,dateTimeIsDSTApplicable
+     ,dateTimeIsEarlierThan
+     ,dateTimeIsEqualTo
+     ,dateTimeIsEqualUpTo
+     ,dateTimeIsLaterThan
+     ,dateTimeIsLeapYear
+     ,dateTimeIsSameDate
+     ,dateTimeIsSameTime
+     ,dateTimeIsStrictlyBetween
+     ,dateTimeIsValid
+     ,dateTimeIsWestEuropeanCountry
+     ,dateTimeIsWorkDay
+     ,dateTimeMakeGMT
+     ,dateTimeMakeTimezone
+     ,dateTimeNow
+     ,dateTimeParseDate
+     ,dateTimeParseDateTime
+     ,dateTimeParseFormat
+     ,dateTimeParseRfc822Date
+     ,dateTimeParseTime
+     ,dateTimeResetTime
+     ,dateTimeSet
+     ,dateTimeSetCountry
+     ,dateTimeSetDay
+     ,dateTimeSetHour
+     ,dateTimeSetMillisecond
+     ,dateTimeSetMinute
+     ,dateTimeSetMonth
+     ,dateTimeSetSecond
+     ,dateTimeSetTime
+     ,dateTimeSetToCurrent
+     ,dateTimeSetToLastMonthDay
+     ,dateTimeSetToLastWeekDay
+     ,dateTimeSetToNextWeekDay
+     ,dateTimeSetToPrevWeekDay
+     ,dateTimeSetToWeekDay
+     ,dateTimeSetToWeekDayInSameWeek
+     ,dateTimeSetYear
+     ,dateTimeSubtractDate
+     ,dateTimeSubtractTime
+     ,dateTimeToGMT
+     ,dateTimeToTimezone
+     ,dateTimeToday
+     ,dateTimeUNow
+     ,dateTimewxDateTime
+     -- ** Dialog
+     ,dialogCreate
+     ,dialogEndModal
+     ,dialogGetReturnCode
+     ,dialogIsModal
+     ,dialogSetReturnCode
+     ,dialogShowModal
+     -- ** DirDialog
+     ,dirDialogCreate
+     ,dirDialogGetMessage
+     ,dirDialogGetPath
+     ,dirDialogGetStyle
+     ,dirDialogSetMessage
+     ,dirDialogSetPath
+     ,dirDialogSetStyle
+     -- ** DragImage
+     ,dragImageBeginDrag
+     ,dragImageBeginDragFullScreen
+     ,dragImageCreate
+     ,dragImageDelete
+     ,dragImageEndDrag
+     ,dragImageHide
+     ,dragImageMove
+     ,dragImageShow
+     -- ** DrawControl
+     ,drawControlCreate
+     -- ** DrawWindow
+     ,drawWindowCreate
+     -- ** DropTarget
+     ,dropTargetGetData
+     ,dropTargetSetDataObject
+     -- ** EncodingConverter
+     ,encodingConverterConvert
+     ,encodingConverterCreate
+     ,encodingConverterDelete
+     ,encodingConverterGetAllEquivalents
+     ,encodingConverterGetPlatformEquivalents
+     ,encodingConverterInit
+     -- ** EraseEvent
+     ,eraseEventCopyObject
+     ,eraseEventGetDC
+     -- ** Event
+     ,eventCopyObject
+     ,eventGetEventObject
+     ,eventGetEventType
+     ,eventGetId
+     ,eventGetSkipped
+     ,eventGetTimestamp
+     ,eventIsCommandEvent
+     ,eventNewEventType
+     ,eventSetEventObject
+     ,eventSetEventType
+     ,eventSetId
+     ,eventSetTimestamp
+     ,eventSkip
+     -- ** EvtHandler
+     ,evtHandlerAddPendingEvent
+     ,evtHandlerConnect
+     ,evtHandlerCreate
+     ,evtHandlerDelete
+     ,evtHandlerDisconnect
+     ,evtHandlerGetClientClosure
+     ,evtHandlerGetClosure
+     ,evtHandlerGetEvtHandlerEnabled
+     ,evtHandlerGetNextHandler
+     ,evtHandlerGetPreviousHandler
+     ,evtHandlerProcessEvent
+     ,evtHandlerProcessPendingEvents
+     ,evtHandlerSetClientClosure
+     ,evtHandlerSetEvtHandlerEnabled
+     ,evtHandlerSetNextHandler
+     ,evtHandlerSetPreviousHandler
+     -- ** FileConfig
+     ,fileConfigCreate
+     -- ** FileDialog
+     ,fileDialogCreate
+     ,fileDialogGetDirectory
+     ,fileDialogGetFilename
+     ,fileDialogGetFilenames
+     ,fileDialogGetFilterIndex
+     ,fileDialogGetMessage
+     ,fileDialogGetPath
+     ,fileDialogGetPaths
+     ,fileDialogGetStyle
+     ,fileDialogGetWildcard
+     ,fileDialogSetDirectory
+     ,fileDialogSetFilename
+     ,fileDialogSetFilterIndex
+     ,fileDialogSetMessage
+     ,fileDialogSetPath
+     ,fileDialogSetStyle
+     ,fileDialogSetWildcard
+     -- ** FileHistory
+     ,fileHistoryAddFileToHistory
+     ,fileHistoryAddFilesToMenu
+     ,fileHistoryCreate
+     ,fileHistoryDelete
+     ,fileHistoryGetCount
+     ,fileHistoryGetHistoryFile
+     ,fileHistoryGetMaxFiles
+     ,fileHistoryGetMenus
+     ,fileHistoryLoad
+     ,fileHistoryRemoveFileFromHistory
+     ,fileHistoryRemoveMenu
+     ,fileHistorySave
+     ,fileHistoryUseMenu
+     -- ** FileInputStream
+     ,fileInputStreamCreate
+     ,fileInputStreamDelete
+     ,fileInputStreamIsOk
+     -- ** FileOutputStream
+     ,fileOutputStreamCreate
+     ,fileOutputStreamDelete
+     ,fileOutputStreamIsOk
+     -- ** FileProperty
+     ,filePropertyCreate
+     -- ** FileType
+     ,fileTypeDelete
+     ,fileTypeExpandCommand
+     ,fileTypeGetDescription
+     ,fileTypeGetExtensions
+     ,fileTypeGetIcon
+     ,fileTypeGetMimeType
+     ,fileTypeGetMimeTypes
+     ,fileTypeGetOpenCommand
+     ,fileTypeGetPrintCommand
+     -- ** FindDialogEvent
+     ,findDialogEventGetFindString
+     ,findDialogEventGetFlags
+     ,findDialogEventGetReplaceString
+     -- ** FindReplaceData
+     ,findReplaceDataCreate
+     ,findReplaceDataCreateDefault
+     ,findReplaceDataDelete
+     ,findReplaceDataGetFindString
+     ,findReplaceDataGetFlags
+     ,findReplaceDataGetReplaceString
+     ,findReplaceDataSetFindString
+     ,findReplaceDataSetFlags
+     ,findReplaceDataSetReplaceString
+     -- ** FindReplaceDialog
+     ,findReplaceDialogCreate
+     ,findReplaceDialogGetData
+     ,findReplaceDialogSetData
+     -- ** FlexGridSizer
+     ,flexGridSizerAddGrowableCol
+     ,flexGridSizerAddGrowableRow
+     ,flexGridSizerCalcMin
+     ,flexGridSizerCreate
+     ,flexGridSizerRecalcSizes
+     ,flexGridSizerRemoveGrowableCol
+     ,flexGridSizerRemoveGrowableRow
+     -- ** FloatProperty
+     ,floatPropertyCreate
+     -- ** Font
+     ,fontCreate
+     ,fontCreateDefault
+     ,fontCreateFromStock
+     ,fontDelete
+     ,fontGetDefaultEncoding
+     ,fontGetEncoding
+     ,fontGetFaceName
+     ,fontGetFamily
+     ,fontGetFamilyString
+     ,fontGetPointSize
+     ,fontGetStyle
+     ,fontGetStyleString
+     ,fontGetUnderlined
+     ,fontGetWeight
+     ,fontGetWeightString
+     ,fontIsOk
+     ,fontIsStatic
+     ,fontSafeDelete
+     ,fontSetDefaultEncoding
+     ,fontSetEncoding
+     ,fontSetFaceName
+     ,fontSetFamily
+     ,fontSetPointSize
+     ,fontSetStyle
+     ,fontSetUnderlined
+     ,fontSetWeight
+     -- ** FontData
+     ,fontDataCreate
+     ,fontDataDelete
+     ,fontDataEnableEffects
+     ,fontDataGetAllowSymbols
+     ,fontDataGetChosenFont
+     ,fontDataGetColour
+     ,fontDataGetEnableEffects
+     ,fontDataGetEncoding
+     ,fontDataGetInitialFont
+     ,fontDataGetShowHelp
+     ,fontDataSetAllowSymbols
+     ,fontDataSetChosenFont
+     ,fontDataSetColour
+     ,fontDataSetEncoding
+     ,fontDataSetInitialFont
+     ,fontDataSetRange
+     ,fontDataSetShowHelp
+     -- ** FontDialog
+     ,fontDialogCreate
+     ,fontDialogGetFontData
+     -- ** FontEnumerator
+     ,fontEnumeratorCreate
+     ,fontEnumeratorDelete
+     ,fontEnumeratorEnumerateEncodings
+     ,fontEnumeratorEnumerateFacenames
+     -- ** FontMapper
+     ,fontMapperCreate
+     ,fontMapperGetAltForEncoding
+     ,fontMapperIsEncodingAvailable
+     -- ** Frame
+     ,frameCentre
+     ,frameCreate
+     ,frameCreateStatusBar
+     ,frameCreateToolBar
+     ,frameGetClientAreaOriginleft
+     ,frameGetClientAreaOrigintop
+     ,frameGetMenuBar
+     ,frameGetStatusBar
+     ,frameGetTitle
+     ,frameGetToolBar
+     ,frameIsFullScreen
+     ,frameRestore
+     ,frameSetMenuBar
+     ,frameSetShape
+     ,frameSetStatusBar
+     ,frameSetStatusText
+     ,frameSetStatusWidths
+     ,frameSetTitle
+     ,frameSetToolBar
+     ,frameShowFullScreen
+     -- ** GLCanvas
+     ,glCanvasCreate
+     ,glCanvasIsDisplaySupported
+     ,glCanvasIsExtensionSupported
+     ,glCanvasSetColour
+     ,glCanvasSetCurrent
+     ,glCanvasSwapBuffers
+     -- ** GLContext
+     ,glContextCreate
+     ,glContextCreateFromNull
+     ,glContextSetCurrent
+     -- ** Gauge
+     ,gaugeCreate
+     ,gaugeGetBezelFace
+     ,gaugeGetRange
+     ,gaugeGetShadowWidth
+     ,gaugeGetValue
+     ,gaugeSetBezelFace
+     ,gaugeSetRange
+     ,gaugeSetShadowWidth
+     ,gaugeSetValue
+     -- ** GenericDragImage
+     ,genericDragImageCreate
+     ,genericDragImageDoDrawImage
+     ,genericDragImageGetImageRect
+     ,genericDragImageUpdateBackingFromWindow
+     -- ** GraphicsBrush
+     ,graphicsBrushCreate
+     ,graphicsBrushDelete
+     -- ** GraphicsContext
+     ,graphicsContextClip
+     ,graphicsContextClipByRectangle
+     ,graphicsContextConcatTransform
+     ,graphicsContextCreate
+     ,graphicsContextCreateDefaultMatrix
+     ,graphicsContextCreateFromMemory
+     ,graphicsContextCreateFromNative
+     ,graphicsContextCreateFromNativeWindow
+     ,graphicsContextCreateFromPrinter
+     ,graphicsContextCreateFromWindow
+     ,graphicsContextCreateMatrix
+     ,graphicsContextCreatePath
+     ,graphicsContextDelete
+     ,graphicsContextDrawBitmap
+     ,graphicsContextDrawEllipse
+     ,graphicsContextDrawIcon
+     ,graphicsContextDrawLines
+     ,graphicsContextDrawPath
+     ,graphicsContextDrawRectangle
+     ,graphicsContextDrawRoundedRectangle
+     ,graphicsContextDrawText
+     ,graphicsContextDrawTextWithAngle
+     ,graphicsContextFillPath
+     ,graphicsContextGetNativeContext
+     ,graphicsContextGetTextExtent
+     ,graphicsContextPopState
+     ,graphicsContextPushState
+     ,graphicsContextResetClip
+     ,graphicsContextRotate
+     ,graphicsContextScale
+     ,graphicsContextSetBrush
+     ,graphicsContextSetFont
+     ,graphicsContextSetGraphicsBrush
+     ,graphicsContextSetGraphicsFont
+     ,graphicsContextSetGraphicsPen
+     ,graphicsContextSetPen
+     ,graphicsContextSetTransform
+     ,graphicsContextStrokeLine
+     ,graphicsContextStrokeLines
+     ,graphicsContextStrokePath
+     ,graphicsContextTranslate
+     -- ** GraphicsFont
+     ,graphicsFontCreate
+     ,graphicsFontDelete
+     -- ** GraphicsMatrix
+     ,graphicsMatrixConcat
+     ,graphicsMatrixCreate
+     ,graphicsMatrixDelete
+     ,graphicsMatrixGet
+     ,graphicsMatrixGetNativeMatrix
+     ,graphicsMatrixInvert
+     ,graphicsMatrixIsEqual
+     ,graphicsMatrixIsIdentity
+     ,graphicsMatrixRotate
+     ,graphicsMatrixScale
+     ,graphicsMatrixSet
+     ,graphicsMatrixTransformDistance
+     ,graphicsMatrixTransformPoint
+     ,graphicsMatrixTranslate
+     -- ** GraphicsObject
+     ,graphicsObjectGetRenderer
+     ,graphicsObjectIsNull
+     -- ** GraphicsPath
+     ,graphicsPathAddArc
+     ,graphicsPathAddArcToPoint
+     ,graphicsPathAddCircle
+     ,graphicsPathAddCurveToPoint
+     ,graphicsPathAddEllipse
+     ,graphicsPathAddLineToPoint
+     ,graphicsPathAddPath
+     ,graphicsPathAddQuadCurveToPoint
+     ,graphicsPathAddRectangle
+     ,graphicsPathAddRoundedRectangle
+     ,graphicsPathCloseSubpath
+     ,graphicsPathContains
+     ,graphicsPathDelete
+     ,graphicsPathGetBox
+     ,graphicsPathGetCurrentPoint
+     ,graphicsPathGetNativePath
+     ,graphicsPathMoveToPoint
+     ,graphicsPathTransform
+     ,graphicsPathUnGetNativePath
+     -- ** GraphicsPen
+     ,graphicsPenCreate
+     ,graphicsPenDelete
+     -- ** GraphicsRenderer
+     ,graphicsRendererCreateContext
+     ,graphicsRendererCreateContextFromNativeContext
+     ,graphicsRendererCreateContextFromNativeWindow
+     ,graphicsRendererCreateContextFromWindow
+     ,graphicsRendererCreatePath
+     ,graphicsRendererDelete
+     ,graphicsRendererGetDefaultRenderer
+     -- ** Grid
+     ,gridAppendCols
+     ,gridAppendRows
+     ,gridAutoSize
+     ,gridAutoSizeColumn
+     ,gridAutoSizeColumns
+     ,gridAutoSizeRow
+     ,gridAutoSizeRows
+     ,gridBeginBatch
+     ,gridBlockToDeviceRect
+     ,gridCanDragColSize
+     ,gridCanDragGridSize
+     ,gridCanDragRowSize
+     ,gridCanEnableCellControl
+     ,gridCellToRect
+     ,gridClearGrid
+     ,gridClearSelection
+     ,gridCreate
+     ,gridCreateGrid
+     ,gridDeleteCols
+     ,gridDeleteRows
+     ,gridDisableCellEditControl
+     ,gridDisableDragColSize
+     ,gridDisableDragGridSize
+     ,gridDisableDragRowSize
+     ,gridDrawAllGridLines
+     ,gridDrawCell
+     ,gridDrawCellBorder
+     ,gridDrawCellHighlight
+     ,gridDrawColLabel
+     ,gridDrawColLabels
+     ,gridDrawGridSpace
+     ,gridDrawRowLabel
+     ,gridDrawRowLabels
+     ,gridDrawTextRectangle
+     ,gridEnableCellEditControl
+     ,gridEnableDragColSize
+     ,gridEnableDragGridSize
+     ,gridEnableDragRowSize
+     ,gridEnableEditing
+     ,gridEnableGridLines
+     ,gridEndBatch
+     ,gridGetBatchCount
+     ,gridGetCellAlignment
+     ,gridGetCellBackgroundColour
+     ,gridGetCellEditor
+     ,gridGetCellFont
+     ,gridGetCellHighlightColour
+     ,gridGetCellRenderer
+     ,gridGetCellSize
+     ,gridGetCellTextColour
+     ,gridGetCellValue
+     ,gridGetColLabelAlignment
+     ,gridGetColLabelSize
+     ,gridGetColLabelValue
+     ,gridGetColSize
+     ,gridGetDefaultCellAlignment
+     ,gridGetDefaultCellBackgroundColour
+     ,gridGetDefaultCellFont
+     ,gridGetDefaultCellTextColour
+     ,gridGetDefaultColLabelSize
+     ,gridGetDefaultColSize
+     ,gridGetDefaultEditor
+     ,gridGetDefaultEditorForCell
+     ,gridGetDefaultEditorForType
+     ,gridGetDefaultRenderer
+     ,gridGetDefaultRendererForCell
+     ,gridGetDefaultRendererForType
+     ,gridGetDefaultRowLabelSize
+     ,gridGetDefaultRowSize
+     ,gridGetGridCursorCol
+     ,gridGetGridCursorRow
+     ,gridGetGridLineColour
+     ,gridGetLabelBackgroundColour
+     ,gridGetLabelFont
+     ,gridGetLabelTextColour
+     ,gridGetNumberCols
+     ,gridGetNumberRows
+     ,gridGetRowLabelAlignment
+     ,gridGetRowLabelSize
+     ,gridGetRowLabelValue
+     ,gridGetRowSize
+     ,gridGetSelectedCells
+     ,gridGetSelectedCols
+     ,gridGetSelectedRows
+     ,gridGetSelectionBackground
+     ,gridGetSelectionBlockBottomRight
+     ,gridGetSelectionBlockTopLeft
+     ,gridGetSelectionForeground
+     ,gridGetTable
+     ,gridGetTextBoxSize
+     ,gridGridLinesEnabled
+     ,gridHideCellEditControl
+     ,gridInsertCols
+     ,gridInsertRows
+     ,gridIsCellEditControlEnabled
+     ,gridIsCellEditControlShown
+     ,gridIsCurrentCellReadOnly
+     ,gridIsEditable
+     ,gridIsInSelection
+     ,gridIsReadOnly
+     ,gridIsSelection
+     ,gridIsVisible
+     ,gridMakeCellVisible
+     ,gridMoveCursorDown
+     ,gridMoveCursorDownBlock
+     ,gridMoveCursorLeft
+     ,gridMoveCursorLeftBlock
+     ,gridMoveCursorRight
+     ,gridMoveCursorRightBlock
+     ,gridMoveCursorUp
+     ,gridMoveCursorUpBlock
+     ,gridMovePageDown
+     ,gridMovePageUp
+     ,gridProcessTableMessage
+     ,gridRegisterDataType
+     ,gridSaveEditControlValue
+     ,gridSelectAll
+     ,gridSelectBlock
+     ,gridSelectCol
+     ,gridSelectRow
+     ,gridSetCellAlignment
+     ,gridSetCellBackgroundColour
+     ,gridSetCellEditor
+     ,gridSetCellFont
+     ,gridSetCellHighlightColour
+     ,gridSetCellRenderer
+     ,gridSetCellSize
+     ,gridSetCellTextColour
+     ,gridSetCellValue
+     ,gridSetColAttr
+     ,gridSetColFormatBool
+     ,gridSetColFormatCustom
+     ,gridSetColFormatFloat
+     ,gridSetColFormatNumber
+     ,gridSetColLabelAlignment
+     ,gridSetColLabelSize
+     ,gridSetColLabelValue
+     ,gridSetColMinimalWidth
+     ,gridSetColSize
+     ,gridSetDefaultCellAlignment
+     ,gridSetDefaultCellBackgroundColour
+     ,gridSetDefaultCellFont
+     ,gridSetDefaultCellTextColour
+     ,gridSetDefaultColSize
+     ,gridSetDefaultEditor
+     ,gridSetDefaultRenderer
+     ,gridSetDefaultRowSize
+     ,gridSetGridCursor
+     ,gridSetGridLineColour
+     ,gridSetLabelBackgroundColour
+     ,gridSetLabelFont
+     ,gridSetLabelTextColour
+     ,gridSetMargins
+     ,gridSetReadOnly
+     ,gridSetRowAttr
+     ,gridSetRowLabelAlignment
+     ,gridSetRowLabelSize
+     ,gridSetRowLabelValue
+     ,gridSetRowMinimalHeight
+     ,gridSetRowSize
+     ,gridSetSelectionBackground
+     ,gridSetSelectionForeground
+     ,gridSetSelectionMode
+     ,gridSetTable
+     ,gridShowCellEditControl
+     ,gridStringToLines
+     ,gridXToCol
+     ,gridXToEdgeOfCol
+     ,gridXYToCell
+     ,gridYToEdgeOfRow
+     ,gridYToRow
+     -- ** GridCellAttr
+     ,gridCellAttrCtor
+     ,gridCellAttrDecRef
+     ,gridCellAttrGetAlignment
+     ,gridCellAttrGetBackgroundColour
+     ,gridCellAttrGetEditor
+     ,gridCellAttrGetFont
+     ,gridCellAttrGetRenderer
+     ,gridCellAttrGetTextColour
+     ,gridCellAttrHasAlignment
+     ,gridCellAttrHasBackgroundColour
+     ,gridCellAttrHasEditor
+     ,gridCellAttrHasFont
+     ,gridCellAttrHasRenderer
+     ,gridCellAttrHasTextColour
+     ,gridCellAttrIncRef
+     ,gridCellAttrIsReadOnly
+     ,gridCellAttrSetAlignment
+     ,gridCellAttrSetBackgroundColour
+     ,gridCellAttrSetDefAttr
+     ,gridCellAttrSetEditor
+     ,gridCellAttrSetFont
+     ,gridCellAttrSetReadOnly
+     ,gridCellAttrSetRenderer
+     ,gridCellAttrSetTextColour
+     -- ** GridCellAutoWrapStringRenderer
+     ,gridCellAutoWrapStringRendererCtor
+     -- ** GridCellBoolEditor
+     ,gridCellBoolEditorCtor
+     -- ** GridCellChoiceEditor
+     ,gridCellChoiceEditorCtor
+     -- ** GridCellCoordsArray
+     ,gridCellCoordsArrayCreate
+     ,gridCellCoordsArrayDelete
+     ,gridCellCoordsArrayGetCount
+     ,gridCellCoordsArrayItem
+     -- ** GridCellEditor
+     ,gridCellEditorBeginEdit
+     ,gridCellEditorCreate
+     ,gridCellEditorDestroy
+     ,gridCellEditorEndEdit
+     ,gridCellEditorGetControl
+     ,gridCellEditorHandleReturn
+     ,gridCellEditorIsAcceptedKey
+     ,gridCellEditorIsCreated
+     ,gridCellEditorPaintBackground
+     ,gridCellEditorReset
+     ,gridCellEditorSetControl
+     ,gridCellEditorSetParameters
+     ,gridCellEditorSetSize
+     ,gridCellEditorShow
+     ,gridCellEditorStartingClick
+     ,gridCellEditorStartingKey
+     -- ** GridCellFloatEditor
+     ,gridCellFloatEditorCtor
+     -- ** GridCellNumberEditor
+     ,gridCellNumberEditorCtor
+     -- ** GridCellNumberRenderer
+     ,gridCellNumberRendererCtor
+     -- ** GridCellTextEditor
+     ,gridCellTextEditorCtor
+     -- ** GridCellTextEnterEditor
+     ,gridCellTextEnterEditorCtor
+     -- ** GridEditorCreatedEvent
+     ,gridEditorCreatedEventGetCol
+     ,gridEditorCreatedEventGetControl
+     ,gridEditorCreatedEventGetRow
+     ,gridEditorCreatedEventSetCol
+     ,gridEditorCreatedEventSetControl
+     ,gridEditorCreatedEventSetRow
+     -- ** GridEvent
+     ,gridEventAltDown
+     ,gridEventControlDown
+     ,gridEventGetCol
+     ,gridEventGetPosition
+     ,gridEventGetRow
+     ,gridEventMetaDown
+     ,gridEventSelecting
+     ,gridEventShiftDown
+     -- ** GridRangeSelectEvent
+     ,gridRangeSelectEventAltDown
+     ,gridRangeSelectEventControlDown
+     ,gridRangeSelectEventGetBottomRightCoords
+     ,gridRangeSelectEventGetBottomRow
+     ,gridRangeSelectEventGetLeftCol
+     ,gridRangeSelectEventGetRightCol
+     ,gridRangeSelectEventGetTopLeftCoords
+     ,gridRangeSelectEventGetTopRow
+     ,gridRangeSelectEventMetaDown
+     ,gridRangeSelectEventSelecting
+     ,gridRangeSelectEventShiftDown
+     -- ** GridSizeEvent
+     ,gridSizeEventAltDown
+     ,gridSizeEventControlDown
+     ,gridSizeEventGetPosition
+     ,gridSizeEventGetRowOrCol
+     ,gridSizeEventMetaDown
+     ,gridSizeEventShiftDown
+     -- ** GridSizer
+     ,gridSizerCalcMin
+     ,gridSizerCreate
+     ,gridSizerGetCols
+     ,gridSizerGetHGap
+     ,gridSizerGetRows
+     ,gridSizerGetVGap
+     ,gridSizerRecalcSizes
+     ,gridSizerSetCols
+     ,gridSizerSetHGap
+     ,gridSizerSetRows
+     ,gridSizerSetVGap
+     -- ** HelpControllerHelpProvider
+     ,helpControllerHelpProviderCreate
+     ,helpControllerHelpProviderGetHelpController
+     ,helpControllerHelpProviderSetHelpController
+     -- ** HelpEvent
+     ,helpEventGetLink
+     ,helpEventGetPosition
+     ,helpEventGetTarget
+     ,helpEventSetLink
+     ,helpEventSetPosition
+     ,helpEventSetTarget
+     -- ** HelpProvider
+     ,helpProviderAddHelp
+     ,helpProviderAddHelpById
+     ,helpProviderDelete
+     ,helpProviderGet
+     ,helpProviderGetHelp
+     ,helpProviderRemoveHelp
+     ,helpProviderSet
+     ,helpProviderShowHelp
+     -- ** HtmlHelpController
+     ,htmlHelpControllerAddBook
+     ,htmlHelpControllerCreate
+     ,htmlHelpControllerDelete
+     ,htmlHelpControllerDisplay
+     ,htmlHelpControllerDisplayBlock
+     ,htmlHelpControllerDisplayContents
+     ,htmlHelpControllerDisplayIndex
+     ,htmlHelpControllerDisplayNumber
+     ,htmlHelpControllerDisplaySection
+     ,htmlHelpControllerDisplaySectionNumber
+     ,htmlHelpControllerGetFrame
+     ,htmlHelpControllerGetFrameParameters
+     ,htmlHelpControllerInitialize
+     ,htmlHelpControllerKeywordSearch
+     ,htmlHelpControllerLoadFile
+     ,htmlHelpControllerQuit
+     ,htmlHelpControllerReadCustomization
+     ,htmlHelpControllerSetFrameParameters
+     ,htmlHelpControllerSetTempDir
+     ,htmlHelpControllerSetTitleFormat
+     ,htmlHelpControllerSetViewer
+     ,htmlHelpControllerUseConfig
+     ,htmlHelpControllerWriteCustomization
+     -- ** HtmlWindow
+     ,htmlWindowAppendToPage
+     ,htmlWindowCreate
+     ,htmlWindowGetInternalRepresentation
+     ,htmlWindowGetOpenedAnchor
+     ,htmlWindowGetOpenedPage
+     ,htmlWindowGetOpenedPageTitle
+     ,htmlWindowGetRelatedFrame
+     ,htmlWindowHistoryBack
+     ,htmlWindowHistoryCanBack
+     ,htmlWindowHistoryCanForward
+     ,htmlWindowHistoryClear
+     ,htmlWindowHistoryForward
+     ,htmlWindowLoadPage
+     ,htmlWindowReadCustomization
+     ,htmlWindowSetBorders
+     ,htmlWindowSetFonts
+     ,htmlWindowSetPage
+     ,htmlWindowSetRelatedFrame
+     ,htmlWindowSetRelatedStatusBar
+     ,htmlWindowWriteCustomization
+     -- ** HyperlinkCtrl
+     ,hyperlinkCtrlCreate
+     ,hyperlinkCtrlGetHoverColour
+     ,hyperlinkCtrlGetNormalColour
+     ,hyperlinkCtrlGetURL
+     ,hyperlinkCtrlGetVisited
+     ,hyperlinkCtrlGetVisitedColour
+     ,hyperlinkCtrlSetHoverColour
+     ,hyperlinkCtrlSetNormalColour
+     ,hyperlinkCtrlSetURL
+     ,hyperlinkCtrlSetVisited
+     ,hyperlinkCtrlSetVisitedColour
+     -- ** Icon
+     ,iconAssign
+     ,iconCopyFromBitmap
+     ,iconCreateDefault
+     ,iconCreateLoad
+     ,iconDelete
+     ,iconFromRaw
+     ,iconFromXPM
+     ,iconGetDepth
+     ,iconGetHeight
+     ,iconGetWidth
+     ,iconIsEqual
+     ,iconIsOk
+     ,iconIsStatic
+     ,iconLoad
+     ,iconSafeDelete
+     ,iconSetDepth
+     ,iconSetHeight
+     ,iconSetWidth
+     -- ** IconBundle
+     ,iconBundleAddIcon
+     ,iconBundleAddIconFromFile
+     ,iconBundleCreateDefault
+     ,iconBundleCreateFromFile
+     ,iconBundleCreateFromIcon
+     ,iconBundleDelete
+     ,iconBundleGetIcon
+     -- ** IdleEvent
+     ,idleEventCopyObject
+     ,idleEventMoreRequested
+     ,idleEventRequestMore
+     -- ** Image
+     ,imageCanRead
+     ,imageConvertToBitmap
+     ,imageConvertToByteString
+     ,imageConvertToLazyByteString
+     ,imageCopy
+     ,imageCountColours
+     ,imageCreateDefault
+     ,imageCreateFromBitmap
+     ,imageCreateFromByteString
+     ,imageCreateFromData
+     ,imageCreateFromDataEx
+     ,imageCreateFromFile
+     ,imageCreateFromLazyByteString
+     ,imageCreateSized
+     ,imageDelete
+     ,imageDestroy
+     ,imageGetBlue
+     ,imageGetData
+     ,imageGetGreen
+     ,imageGetHeight
+     ,imageGetMaskBlue
+     ,imageGetMaskGreen
+     ,imageGetMaskRed
+     ,imageGetOption
+     ,imageGetOptionInt
+     ,imageGetRed
+     ,imageGetSubImage
+     ,imageGetType
+     ,imageGetWidth
+     ,imageHasMask
+     ,imageHasOption
+     ,imageInitialize
+     ,imageInitializeFromData
+     ,imageIsOk
+     ,imageLoadFile
+     ,imageLoadStream
+     ,imageMirror
+     ,imagePaste
+     ,imageReplace
+     ,imageRescale
+     ,imageRescaleEx
+     ,imageRotate
+     ,imageRotate90
+     ,imageSaveFile
+     ,imageSaveStream
+     ,imageScale
+     ,imageScaleEx
+     ,imageSetData
+     ,imageSetDataAndSize
+     ,imageSetMask
+     ,imageSetMaskColour
+     ,imageSetOption
+     ,imageSetOptionInt
+     ,imageSetRGB
+     ,imageSetType
+     -- ** ImageList
+     ,imageListAddBitmap
+     ,imageListAddIcon
+     ,imageListAddMasked
+     ,imageListCreate
+     ,imageListDelete
+     ,imageListDraw
+     ,imageListGetImageCount
+     ,imageListGetSize
+     ,imageListRemove
+     ,imageListRemoveAll
+     ,imageListReplace
+     ,imageListReplaceIcon
+     -- ** IndividualLayoutConstraint
+     ,individualLayoutConstraintAbove
+     ,individualLayoutConstraintAbsolute
+     ,individualLayoutConstraintAsIs
+     ,individualLayoutConstraintBelow
+     ,individualLayoutConstraintGetDone
+     ,individualLayoutConstraintGetEdge
+     ,individualLayoutConstraintGetMargin
+     ,individualLayoutConstraintGetMyEdge
+     ,individualLayoutConstraintGetOtherEdge
+     ,individualLayoutConstraintGetOtherWindow
+     ,individualLayoutConstraintGetPercent
+     ,individualLayoutConstraintGetRelationship
+     ,individualLayoutConstraintGetValue
+     ,individualLayoutConstraintLeftOf
+     ,individualLayoutConstraintPercentOf
+     ,individualLayoutConstraintResetIfWin
+     ,individualLayoutConstraintRightOf
+     ,individualLayoutConstraintSameAs
+     ,individualLayoutConstraintSatisfyConstraint
+     ,individualLayoutConstraintSet
+     ,individualLayoutConstraintSetDone
+     ,individualLayoutConstraintSetEdge
+     ,individualLayoutConstraintSetMargin
+     ,individualLayoutConstraintSetRelationship
+     ,individualLayoutConstraintSetValue
+     ,individualLayoutConstraintUnconstrained
+     -- ** InputSink
+     ,inputSinkCreate
+     ,inputSinkGetId
+     ,inputSinkStart
+     -- ** InputSinkEvent
+     ,inputSinkEventLastError
+     ,inputSinkEventLastInput
+     ,inputSinkEventLastRead
+     -- ** InputStream
+     ,inputStreamCanRead
+     ,inputStreamDelete
+     ,inputStreamEof
+     ,inputStreamGetC
+     ,inputStreamLastRead
+     ,inputStreamPeek
+     ,inputStreamRead
+     ,inputStreamSeekI
+     ,inputStreamTell
+     ,inputStreamUngetBuffer
+     ,inputStreamUngetch
+     -- ** IntProperty
+     ,intPropertyCreate
+     -- ** KeyEvent
+     ,keyEventAltDown
+     ,keyEventControlDown
+     ,keyEventCopyObject
+     ,keyEventGetKeyCode
+     ,keyEventGetModifiers
+     ,keyEventGetPosition
+     ,keyEventGetX
+     ,keyEventGetY
+     ,keyEventHasModifiers
+     ,keyEventMetaDown
+     ,keyEventSetKeyCode
+     ,keyEventShiftDown
+     -- ** LayoutAlgorithm
+     ,layoutAlgorithmCreate
+     ,layoutAlgorithmDelete
+     ,layoutAlgorithmLayoutFrame
+     ,layoutAlgorithmLayoutMDIFrame
+     ,layoutAlgorithmLayoutWindow
+     -- ** LayoutConstraints
+     ,layoutConstraintsCreate
+     ,layoutConstraintsbottom
+     ,layoutConstraintscentreX
+     ,layoutConstraintscentreY
+     ,layoutConstraintsheight
+     ,layoutConstraintsleft
+     ,layoutConstraintsright
+     ,layoutConstraintstop
+     ,layoutConstraintswidth
+     -- ** ListBox
+     ,listBoxAppend
+     ,listBoxAppendData
+     ,listBoxClear
+     ,listBoxCreate
+     ,listBoxDelete
+     ,listBoxFindString
+     ,listBoxGetClientData
+     ,listBoxGetCount
+     ,listBoxGetSelection
+     ,listBoxGetSelections
+     ,listBoxGetString
+     ,listBoxInsertItems
+     ,listBoxIsSelected
+     ,listBoxSetClientData
+     ,listBoxSetFirstItem
+     ,listBoxSetSelection
+     ,listBoxSetString
+     ,listBoxSetStringSelection
+     -- ** ListCtrl
+     ,listCtrlArrange
+     ,listCtrlAssignImageList
+     ,listCtrlClearAll
+     ,listCtrlCreate
+     ,listCtrlDeleteAllColumns
+     ,listCtrlDeleteAllItems
+     ,listCtrlDeleteColumn
+     ,listCtrlDeleteItem
+     ,listCtrlEditLabel
+     ,listCtrlEndEditLabel
+     ,listCtrlEnsureVisible
+     ,listCtrlFindItem
+     ,listCtrlFindItemByData
+     ,listCtrlFindItemByPosition
+     ,listCtrlGetColumn
+     ,listCtrlGetColumn2
+     ,listCtrlGetColumnCount
+     ,listCtrlGetColumnWidth
+     ,listCtrlGetCountPerPage
+     ,listCtrlGetEditControl
+     ,listCtrlGetImageList
+     ,listCtrlGetItem
+     ,listCtrlGetItem2
+     ,listCtrlGetItemCount
+     ,listCtrlGetItemData
+     ,listCtrlGetItemFont
+     ,listCtrlGetItemPosition
+     ,listCtrlGetItemPosition2
+     ,listCtrlGetItemRect
+     ,listCtrlGetItemSpacing
+     ,listCtrlGetItemState
+     ,listCtrlGetItemText
+     ,listCtrlGetNextItem
+     ,listCtrlGetSelectedItemCount
+     ,listCtrlGetTextColour
+     ,listCtrlGetTopItem
+     ,listCtrlHitTest
+     ,listCtrlInsertColumn
+     ,listCtrlInsertColumnFromInfo
+     ,listCtrlInsertItem
+     ,listCtrlInsertItemWithData
+     ,listCtrlInsertItemWithImage
+     ,listCtrlInsertItemWithLabel
+     ,listCtrlIsVirtual
+     ,listCtrlRefreshItem
+     ,listCtrlScrollList
+     ,listCtrlSetBackgroundColour
+     ,listCtrlSetColumn
+     ,listCtrlSetColumnWidth
+     ,listCtrlSetForegroundColour
+     ,listCtrlSetImageList
+     ,listCtrlSetItem
+     ,listCtrlSetItemData
+     ,listCtrlSetItemFromInfo
+     ,listCtrlSetItemImage
+     ,listCtrlSetItemPosition
+     ,listCtrlSetItemState
+     ,listCtrlSetItemText
+     ,listCtrlSetSingleStyle
+     ,listCtrlSetTextColour
+     ,listCtrlSetWindowStyleFlag
+     ,listCtrlSortItems
+     ,listCtrlSortItems2
+     ,listCtrlUpdateStyle
+     -- ** ListEvent
+     ,listEventCancelled
+     ,listEventGetCacheFrom
+     ,listEventGetCacheTo
+     ,listEventGetCode
+     ,listEventGetColumn
+     ,listEventGetData
+     ,listEventGetImage
+     ,listEventGetIndex
+     ,listEventGetItem
+     ,listEventGetLabel
+     ,listEventGetMask
+     ,listEventGetPoint
+     ,listEventGetText
+     -- ** ListItem
+     ,listItemClear
+     ,listItemClearAttributes
+     ,listItemCreate
+     ,listItemDelete
+     ,listItemGetAlign
+     ,listItemGetAttributes
+     ,listItemGetBackgroundColour
+     ,listItemGetColumn
+     ,listItemGetData
+     ,listItemGetFont
+     ,listItemGetId
+     ,listItemGetImage
+     ,listItemGetMask
+     ,listItemGetState
+     ,listItemGetText
+     ,listItemGetTextColour
+     ,listItemGetWidth
+     ,listItemHasAttributes
+     ,listItemSetAlign
+     ,listItemSetBackgroundColour
+     ,listItemSetColumn
+     ,listItemSetData
+     ,listItemSetDataPointer
+     ,listItemSetFont
+     ,listItemSetId
+     ,listItemSetImage
+     ,listItemSetMask
+     ,listItemSetState
+     ,listItemSetStateMask
+     ,listItemSetText
+     ,listItemSetTextColour
+     ,listItemSetWidth
+     -- ** Locale
+     ,localeAddCatalog
+     ,localeAddCatalogLookupPathPrefix
+     ,localeCreate
+     ,localeDelete
+     ,localeGetLocale
+     ,localeGetName
+     ,localeGetString
+     ,localeIsLoaded
+     ,localeIsOk
+     -- ** Log
+     ,logAddTraceMask
+     ,logDelete
+     ,logDontCreateOnDemand
+     ,logFlush
+     ,logFlushActive
+     ,logGetActiveTarget
+     ,logGetTimestamp
+     ,logGetTraceMask
+     ,logGetVerbose
+     ,logHasPendingMessages
+     ,logIsAllowedTraceMask
+     ,logOnLog
+     ,logRemoveTraceMask
+     ,logResume
+     ,logSetActiveTarget
+     ,logSetTimestamp
+     ,logSetVerbose
+     ,logSuspend
+     -- ** LogChain
+     ,logChainCreate
+     ,logChainDelete
+     ,logChainGetOldLog
+     ,logChainIsPassingMessages
+     ,logChainPassMessages
+     ,logChainSetLog
+     -- ** LogNull
+     ,logNullCreate
+     -- ** LogStderr
+     ,logStderrCreate
+     ,logStderrCreateStdOut
+     -- ** LogTextCtrl
+     ,logTextCtrlCreate
+     -- ** LogWindow
+     ,logWindowCreate
+     ,logWindowGetFrame
+    ) where
+
+import Prelude hiding (id, last, length, lines, max, min, show)
+import qualified Data.ByteString as B (ByteString, useAsCStringLen)
+import qualified Data.ByteString.Lazy as LB (ByteString, length, unpack)
+import Graphics.UI.WXCore.WxcTypes hiding (rect, rgb, rgba, sz)
+import Graphics.UI.WXCore.WxcClassTypes
+
+-- | usage: (@acceleratorEntryCreate flags keyCode cmd@).
+acceleratorEntryCreate :: Int -> Int -> Int ->  IO (AcceleratorEntry  ())
+acceleratorEntryCreate flags keyCode cmd 
+  = withObjectResult $
+    wxAcceleratorEntry_Create (toCInt flags)  (toCInt keyCode)  (toCInt cmd)  
+foreign import ccall "wxAcceleratorEntry_Create" wxAcceleratorEntry_Create :: CInt -> CInt -> CInt -> IO (Ptr (TAcceleratorEntry ()))
+
+-- | usage: (@acceleratorEntryDelete obj@).
+acceleratorEntryDelete :: AcceleratorEntry  a ->  IO ()
+acceleratorEntryDelete _obj 
+  = withObjectRef "acceleratorEntryDelete" _obj $ \cobj__obj -> 
+    wxAcceleratorEntry_Delete cobj__obj  
+foreign import ccall "wxAcceleratorEntry_Delete" wxAcceleratorEntry_Delete :: Ptr (TAcceleratorEntry a) -> IO ()
+
+-- | usage: (@acceleratorEntryGetCommand obj@).
+acceleratorEntryGetCommand :: AcceleratorEntry  a ->  IO Int
+acceleratorEntryGetCommand _obj 
+  = withIntResult $
+    withObjectRef "acceleratorEntryGetCommand" _obj $ \cobj__obj -> 
+    wxAcceleratorEntry_GetCommand cobj__obj  
+foreign import ccall "wxAcceleratorEntry_GetCommand" wxAcceleratorEntry_GetCommand :: Ptr (TAcceleratorEntry a) -> IO CInt
+
+-- | usage: (@acceleratorEntryGetFlags obj@).
+acceleratorEntryGetFlags :: AcceleratorEntry  a ->  IO Int
+acceleratorEntryGetFlags _obj 
+  = withIntResult $
+    withObjectRef "acceleratorEntryGetFlags" _obj $ \cobj__obj -> 
+    wxAcceleratorEntry_GetFlags cobj__obj  
+foreign import ccall "wxAcceleratorEntry_GetFlags" wxAcceleratorEntry_GetFlags :: Ptr (TAcceleratorEntry a) -> IO CInt
+
+-- | usage: (@acceleratorEntryGetKeyCode obj@).
+acceleratorEntryGetKeyCode :: AcceleratorEntry  a ->  IO Int
+acceleratorEntryGetKeyCode _obj 
+  = withIntResult $
+    withObjectRef "acceleratorEntryGetKeyCode" _obj $ \cobj__obj -> 
+    wxAcceleratorEntry_GetKeyCode cobj__obj  
+foreign import ccall "wxAcceleratorEntry_GetKeyCode" wxAcceleratorEntry_GetKeyCode :: Ptr (TAcceleratorEntry a) -> IO CInt
+
+-- | usage: (@acceleratorEntrySet obj flags keyCode cmd@).
+acceleratorEntrySet :: AcceleratorEntry  a -> Int -> Int -> Int ->  IO ()
+acceleratorEntrySet _obj flags keyCode cmd 
+  = withObjectRef "acceleratorEntrySet" _obj $ \cobj__obj -> 
+    wxAcceleratorEntry_Set cobj__obj  (toCInt flags)  (toCInt keyCode)  (toCInt cmd)  
+foreign import ccall "wxAcceleratorEntry_Set" wxAcceleratorEntry_Set :: Ptr (TAcceleratorEntry a) -> CInt -> CInt -> CInt -> IO ()
+
+-- | usage: (@acceleratorTableCreate n entries@).
+acceleratorTableCreate :: Int -> Ptr  b ->  IO (AcceleratorTable  ())
+acceleratorTableCreate n entries 
+  = withObjectResult $
+    wxAcceleratorTable_Create (toCInt n)  entries  
+foreign import ccall "wxAcceleratorTable_Create" wxAcceleratorTable_Create :: CInt -> Ptr  b -> IO (Ptr (TAcceleratorTable ()))
+
+-- | usage: (@acceleratorTableDelete obj@).
+acceleratorTableDelete :: AcceleratorTable  a ->  IO ()
+acceleratorTableDelete _obj 
+  = withObjectRef "acceleratorTableDelete" _obj $ \cobj__obj -> 
+    wxAcceleratorTable_Delete cobj__obj  
+foreign import ccall "wxAcceleratorTable_Delete" wxAcceleratorTable_Delete :: Ptr (TAcceleratorTable a) -> IO ()
+
+-- | usage: (@activateEventCopyObject obj obj@).
+activateEventCopyObject :: ActivateEvent  a -> Ptr  b ->  IO ()
+activateEventCopyObject _obj obj 
+  = withObjectRef "activateEventCopyObject" _obj $ \cobj__obj -> 
+    wxActivateEvent_CopyObject cobj__obj  obj  
+foreign import ccall "wxActivateEvent_CopyObject" wxActivateEvent_CopyObject :: Ptr (TActivateEvent a) -> Ptr  b -> IO ()
+
+-- | usage: (@activateEventGetActive obj@).
+activateEventGetActive :: ActivateEvent  a ->  IO Bool
+activateEventGetActive _obj 
+  = withBoolResult $
+    withObjectRef "activateEventGetActive" _obj $ \cobj__obj -> 
+    wxActivateEvent_GetActive cobj__obj  
+foreign import ccall "wxActivateEvent_GetActive" wxActivateEvent_GetActive :: Ptr (TActivateEvent a) -> IO CBool
+
+-- | usage: (@auiDefaultTabArtClone obj@).
+auiDefaultTabArtClone :: AuiDefaultTabArt  a ->  IO (AuiTabArt  ())
+auiDefaultTabArtClone _obj 
+  = withObjectResult $
+    withObjectRef "auiDefaultTabArtClone" _obj $ \cobj__obj -> 
+    wxAuiDefaultTabArt_Clone cobj__obj  
+foreign import ccall "wxAuiDefaultTabArt_Clone" wxAuiDefaultTabArt_Clone :: Ptr (TAuiDefaultTabArt a) -> IO (Ptr (TAuiTabArt ()))
+
+-- | usage: (@auiDefaultTabArtCreate@).
+auiDefaultTabArtCreate ::  IO (AuiDefaultTabArt  ())
+auiDefaultTabArtCreate 
+  = withObjectResult $
+    wxAuiDefaultTabArt_Create 
+foreign import ccall "wxAuiDefaultTabArt_Create" wxAuiDefaultTabArt_Create :: IO (Ptr (TAuiDefaultTabArt ()))
+
+-- | usage: (@auiDefaultTabArtDrawBackground obj dc wnd rect@).
+auiDefaultTabArtDrawBackground :: AuiDefaultTabArt  a -> DC  b -> Window  c -> Rect ->  IO ()
+auiDefaultTabArtDrawBackground _obj _dc _wnd _rect 
+  = withObjectRef "auiDefaultTabArtDrawBackground" _obj $ \cobj__obj -> 
+    withObjectPtr _dc $ \cobj__dc -> 
+    withObjectPtr _wnd $ \cobj__wnd -> 
+    withWxRectPtr _rect $ \cobj__rect -> 
+    wxAuiDefaultTabArt_DrawBackground cobj__obj  cobj__dc  cobj__wnd  cobj__rect  
+foreign import ccall "wxAuiDefaultTabArt_DrawBackground" wxAuiDefaultTabArt_DrawBackground :: Ptr (TAuiDefaultTabArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TWxRect d) -> IO ()
+
+-- | usage: (@auiDefaultTabArtDrawButton obj dc wnd inRect bitmapId buttonState orientation outRect@).
+auiDefaultTabArtDrawButton :: AuiDefaultTabArt  a -> DC  b -> Window  c -> Rect -> Int -> Int -> Int -> Rect ->  IO ()
+auiDefaultTabArtDrawButton _obj _dc _wnd _inRect bitmapId buttonState orientation _outRect 
+  = withObjectRef "auiDefaultTabArtDrawButton" _obj $ \cobj__obj -> 
+    withObjectPtr _dc $ \cobj__dc -> 
+    withObjectPtr _wnd $ \cobj__wnd -> 
+    withWxRectPtr _inRect $ \cobj__inRect -> 
+    withWxRectPtr _outRect $ \cobj__outRect -> 
+    wxAuiDefaultTabArt_DrawButton cobj__obj  cobj__dc  cobj__wnd  cobj__inRect  (toCInt bitmapId)  (toCInt buttonState)  (toCInt orientation)  cobj__outRect  
+foreign import ccall "wxAuiDefaultTabArt_DrawButton" wxAuiDefaultTabArt_DrawButton :: Ptr (TAuiDefaultTabArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TWxRect d) -> CInt -> CInt -> CInt -> Ptr (TWxRect h) -> IO ()
+
+-- | usage: (@auiDefaultTabArtDrawTab obj dc wnd pane inRect closeButtonState outTabRect outButtonRect xExtent@).
+auiDefaultTabArtDrawTab :: AuiDefaultTabArt  a -> DC  b -> Window  c -> AuiNotebookPage  d -> Rect -> Int -> Rect -> Rect -> Ptr CInt ->  IO ()
+auiDefaultTabArtDrawTab _obj _dc _wnd _pane _inRect closeButtonState _outTabRect _outButtonRect xExtent 
+  = withObjectRef "auiDefaultTabArtDrawTab" _obj $ \cobj__obj -> 
+    withObjectPtr _dc $ \cobj__dc -> 
+    withObjectPtr _wnd $ \cobj__wnd -> 
+    withObjectPtr _pane $ \cobj__pane -> 
+    withWxRectPtr _inRect $ \cobj__inRect -> 
+    withWxRectPtr _outTabRect $ \cobj__outTabRect -> 
+    withWxRectPtr _outButtonRect $ \cobj__outButtonRect -> 
+    wxAuiDefaultTabArt_DrawTab cobj__obj  cobj__dc  cobj__wnd  cobj__pane  cobj__inRect  (toCInt closeButtonState)  cobj__outTabRect  cobj__outButtonRect  xExtent  
+foreign import ccall "wxAuiDefaultTabArt_DrawTab" wxAuiDefaultTabArt_DrawTab :: Ptr (TAuiDefaultTabArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TAuiNotebookPage d) -> Ptr (TWxRect e) -> CInt -> Ptr (TWxRect g) -> Ptr (TWxRect h) -> Ptr CInt -> IO ()
+
+-- | usage: (@auiDefaultTabArtGetBestTabCtrlSize obj wnd pages widthheight@).
+auiDefaultTabArtGetBestTabCtrlSize :: AuiDefaultTabArt  a -> Window  b -> AuiNotebookPageArray  c -> Size ->  IO Int
+auiDefaultTabArtGetBestTabCtrlSize _obj _wnd _pages _widthheight 
+  = withIntResult $
+    withObjectRef "auiDefaultTabArtGetBestTabCtrlSize" _obj $ \cobj__obj -> 
+    withObjectPtr _wnd $ \cobj__wnd -> 
+    withObjectPtr _pages $ \cobj__pages -> 
+    wxAuiDefaultTabArt_GetBestTabCtrlSize cobj__obj  cobj__wnd  cobj__pages  (toCIntSizeW _widthheight) (toCIntSizeH _widthheight)  
+foreign import ccall "wxAuiDefaultTabArt_GetBestTabCtrlSize" wxAuiDefaultTabArt_GetBestTabCtrlSize :: Ptr (TAuiDefaultTabArt a) -> Ptr (TWindow b) -> Ptr (TAuiNotebookPageArray c) -> CInt -> CInt -> IO CInt
+
+-- | usage: (@auiDefaultTabArtGetIndentSize obj@).
+auiDefaultTabArtGetIndentSize :: AuiDefaultTabArt  a ->  IO Int
+auiDefaultTabArtGetIndentSize _obj 
+  = withIntResult $
+    withObjectRef "auiDefaultTabArtGetIndentSize" _obj $ \cobj__obj -> 
+    wxAuiDefaultTabArt_GetIndentSize cobj__obj  
+foreign import ccall "wxAuiDefaultTabArt_GetIndentSize" wxAuiDefaultTabArt_GetIndentSize :: Ptr (TAuiDefaultTabArt a) -> IO CInt
+
+-- | usage: (@auiDefaultTabArtGetTabSize obj dc wnd caption bitmap active closeButtonState xExtent@).
+auiDefaultTabArtGetTabSize :: AuiDefaultTabArt  a -> DC  b -> Window  c -> String -> Bitmap  e -> Bool -> Int -> Ptr CInt ->  IO (Size)
+auiDefaultTabArtGetTabSize _obj _dc _wnd _caption _bitmap active closeButtonState xExtent 
+  = withWxSizeResult $
+    withObjectRef "auiDefaultTabArtGetTabSize" _obj $ \cobj__obj -> 
+    withObjectPtr _dc $ \cobj__dc -> 
+    withObjectPtr _wnd $ \cobj__wnd -> 
+    withStringPtr _caption $ \cobj__caption -> 
+    withObjectPtr _bitmap $ \cobj__bitmap -> 
+    wxAuiDefaultTabArt_GetTabSize cobj__obj  cobj__dc  cobj__wnd  cobj__caption  cobj__bitmap  (toCBool active)  (toCInt closeButtonState)  xExtent  
+foreign import ccall "wxAuiDefaultTabArt_GetTabSize" wxAuiDefaultTabArt_GetTabSize :: Ptr (TAuiDefaultTabArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TWxString d) -> Ptr (TBitmap e) -> CBool -> CInt -> Ptr CInt -> IO (Ptr (TWxSize ()))
+
+-- | usage: (@auiDefaultTabArtSetActiveColour obj colour@).
+auiDefaultTabArtSetActiveColour :: AuiDefaultTabArt  a -> Color ->  IO ()
+auiDefaultTabArtSetActiveColour _obj _colour 
+  = withObjectRef "auiDefaultTabArtSetActiveColour" _obj $ \cobj__obj -> 
+    withColourPtr _colour $ \cobj__colour -> 
+    wxAuiDefaultTabArt_SetActiveColour cobj__obj  cobj__colour  
+foreign import ccall "wxAuiDefaultTabArt_SetActiveColour" wxAuiDefaultTabArt_SetActiveColour :: Ptr (TAuiDefaultTabArt a) -> Ptr (TColour b) -> IO ()
+
+-- | usage: (@auiDefaultTabArtSetColour obj colour@).
+auiDefaultTabArtSetColour :: AuiDefaultTabArt  a -> Color ->  IO ()
+auiDefaultTabArtSetColour _obj _colour 
+  = withObjectRef "auiDefaultTabArtSetColour" _obj $ \cobj__obj -> 
+    withColourPtr _colour $ \cobj__colour -> 
+    wxAuiDefaultTabArt_SetColour cobj__obj  cobj__colour  
+foreign import ccall "wxAuiDefaultTabArt_SetColour" wxAuiDefaultTabArt_SetColour :: Ptr (TAuiDefaultTabArt a) -> Ptr (TColour b) -> IO ()
+
+-- | usage: (@auiDefaultTabArtSetFlags obj flags@).
+auiDefaultTabArtSetFlags :: AuiDefaultTabArt  a -> Int ->  IO ()
+auiDefaultTabArtSetFlags _obj _flags 
+  = withObjectRef "auiDefaultTabArtSetFlags" _obj $ \cobj__obj -> 
+    wxAuiDefaultTabArt_SetFlags cobj__obj  (toCInt _flags)  
+foreign import ccall "wxAuiDefaultTabArt_SetFlags" wxAuiDefaultTabArt_SetFlags :: Ptr (TAuiDefaultTabArt a) -> CInt -> IO ()
+
+-- | usage: (@auiDefaultTabArtSetMeasuringFont obj font@).
+auiDefaultTabArtSetMeasuringFont :: AuiDefaultTabArt  a -> Font  b ->  IO ()
+auiDefaultTabArtSetMeasuringFont _obj _font 
+  = withObjectRef "auiDefaultTabArtSetMeasuringFont" _obj $ \cobj__obj -> 
+    withObjectPtr _font $ \cobj__font -> 
+    wxAuiDefaultTabArt_SetMeasuringFont cobj__obj  cobj__font  
+foreign import ccall "wxAuiDefaultTabArt_SetMeasuringFont" wxAuiDefaultTabArt_SetMeasuringFont :: Ptr (TAuiDefaultTabArt a) -> Ptr (TFont b) -> IO ()
+
+-- | usage: (@auiDefaultTabArtSetNormalFont obj font@).
+auiDefaultTabArtSetNormalFont :: AuiDefaultTabArt  a -> Font  b ->  IO ()
+auiDefaultTabArtSetNormalFont _obj _font 
+  = withObjectRef "auiDefaultTabArtSetNormalFont" _obj $ \cobj__obj -> 
+    withObjectPtr _font $ \cobj__font -> 
+    wxAuiDefaultTabArt_SetNormalFont cobj__obj  cobj__font  
+foreign import ccall "wxAuiDefaultTabArt_SetNormalFont" wxAuiDefaultTabArt_SetNormalFont :: Ptr (TAuiDefaultTabArt a) -> Ptr (TFont b) -> IO ()
+
+-- | usage: (@auiDefaultTabArtSetSelectedFont obj font@).
+auiDefaultTabArtSetSelectedFont :: AuiDefaultTabArt  a -> Font  b ->  IO ()
+auiDefaultTabArtSetSelectedFont _obj _font 
+  = withObjectRef "auiDefaultTabArtSetSelectedFont" _obj $ \cobj__obj -> 
+    withObjectPtr _font $ \cobj__font -> 
+    wxAuiDefaultTabArt_SetSelectedFont cobj__obj  cobj__font  
+foreign import ccall "wxAuiDefaultTabArt_SetSelectedFont" wxAuiDefaultTabArt_SetSelectedFont :: Ptr (TAuiDefaultTabArt a) -> Ptr (TFont b) -> IO ()
+
+-- | usage: (@auiDefaultTabArtSetSizingInfo obj widthheight tabCount@).
+auiDefaultTabArtSetSizingInfo :: AuiDefaultTabArt  a -> Size -> Int ->  IO ()
+auiDefaultTabArtSetSizingInfo _obj _widthheight tabCount 
+  = withObjectRef "auiDefaultTabArtSetSizingInfo" _obj $ \cobj__obj -> 
+    wxAuiDefaultTabArt_SetSizingInfo cobj__obj  (toCIntSizeW _widthheight) (toCIntSizeH _widthheight)  (toCInt tabCount)  
+foreign import ccall "wxAuiDefaultTabArt_SetSizingInfo" wxAuiDefaultTabArt_SetSizingInfo :: Ptr (TAuiDefaultTabArt a) -> CInt -> CInt -> CInt -> IO ()
+
+-- | usage: (@auiDefaultTabArtShowDropDown obj wnd items activeIdx@).
+auiDefaultTabArtShowDropDown :: AuiDefaultTabArt  a -> Window  b -> AuiNotebookPageArray  c -> Int ->  IO Int
+auiDefaultTabArtShowDropDown _obj _wnd _items activeIdx 
+  = withIntResult $
+    withObjectRef "auiDefaultTabArtShowDropDown" _obj $ \cobj__obj -> 
+    withObjectPtr _wnd $ \cobj__wnd -> 
+    withObjectPtr _items $ \cobj__items -> 
+    wxAuiDefaultTabArt_ShowDropDown cobj__obj  cobj__wnd  cobj__items  (toCInt activeIdx)  
+foreign import ccall "wxAuiDefaultTabArt_ShowDropDown" wxAuiDefaultTabArt_ShowDropDown :: Ptr (TAuiDefaultTabArt a) -> Ptr (TWindow b) -> Ptr (TAuiNotebookPageArray c) -> CInt -> IO CInt
+
+-- | usage: (@auiDefaultToolBarArtClone obj@).
+auiDefaultToolBarArtClone :: AuiDefaultToolBarArt  a ->  IO (AuiToolBarArt  ())
+auiDefaultToolBarArtClone _obj 
+  = withObjectResult $
+    withObjectRef "auiDefaultToolBarArtClone" _obj $ \cobj__obj -> 
+    wxAuiDefaultToolBarArt_Clone cobj__obj  
+foreign import ccall "wxAuiDefaultToolBarArt_Clone" wxAuiDefaultToolBarArt_Clone :: Ptr (TAuiDefaultToolBarArt a) -> IO (Ptr (TAuiToolBarArt ()))
+
+-- | usage: (@auiDefaultToolBarArtCreate@).
+auiDefaultToolBarArtCreate ::  IO (AuiDefaultToolBarArt  ())
+auiDefaultToolBarArtCreate 
+  = withObjectResult $
+    wxAuiDefaultToolBarArt_Create 
+foreign import ccall "wxAuiDefaultToolBarArt_Create" wxAuiDefaultToolBarArt_Create :: IO (Ptr (TAuiDefaultToolBarArt ()))
+
+-- | usage: (@auiDefaultToolBarArtDrawBackground obj dc wnd rect@).
+auiDefaultToolBarArtDrawBackground :: AuiDefaultToolBarArt  a -> DC  b -> Window  c -> Rect ->  IO ()
+auiDefaultToolBarArtDrawBackground _obj _dc _wnd _rect 
+  = withObjectRef "auiDefaultToolBarArtDrawBackground" _obj $ \cobj__obj -> 
+    withObjectPtr _dc $ \cobj__dc -> 
+    withObjectPtr _wnd $ \cobj__wnd -> 
+    withWxRectPtr _rect $ \cobj__rect -> 
+    wxAuiDefaultToolBarArt_DrawBackground cobj__obj  cobj__dc  cobj__wnd  cobj__rect  
+foreign import ccall "wxAuiDefaultToolBarArt_DrawBackground" wxAuiDefaultToolBarArt_DrawBackground :: Ptr (TAuiDefaultToolBarArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TWxRect d) -> IO ()
+
+-- | usage: (@auiDefaultToolBarArtDrawButton obj dc wnd item rect@).
+auiDefaultToolBarArtDrawButton :: AuiDefaultToolBarArt  a -> DC  b -> Window  c -> AuiToolBarItem  d -> Rect ->  IO ()
+auiDefaultToolBarArtDrawButton _obj _dc _wnd _item _rect 
+  = withObjectRef "auiDefaultToolBarArtDrawButton" _obj $ \cobj__obj -> 
+    withObjectPtr _dc $ \cobj__dc -> 
+    withObjectPtr _wnd $ \cobj__wnd -> 
+    withObjectPtr _item $ \cobj__item -> 
+    withWxRectPtr _rect $ \cobj__rect -> 
+    wxAuiDefaultToolBarArt_DrawButton cobj__obj  cobj__dc  cobj__wnd  cobj__item  cobj__rect  
+foreign import ccall "wxAuiDefaultToolBarArt_DrawButton" wxAuiDefaultToolBarArt_DrawButton :: Ptr (TAuiDefaultToolBarArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TAuiToolBarItem d) -> Ptr (TWxRect e) -> IO ()
+
+-- | usage: (@auiDefaultToolBarArtDrawControlLabel obj dc wnd item rect@).
+auiDefaultToolBarArtDrawControlLabel :: AuiDefaultToolBarArt  a -> DC  b -> Window  c -> AuiToolBarItem  d -> Rect ->  IO ()
+auiDefaultToolBarArtDrawControlLabel _obj _dc _wnd _item _rect 
+  = withObjectRef "auiDefaultToolBarArtDrawControlLabel" _obj $ \cobj__obj -> 
+    withObjectPtr _dc $ \cobj__dc -> 
+    withObjectPtr _wnd $ \cobj__wnd -> 
+    withObjectPtr _item $ \cobj__item -> 
+    withWxRectPtr _rect $ \cobj__rect -> 
+    wxAuiDefaultToolBarArt_DrawControlLabel cobj__obj  cobj__dc  cobj__wnd  cobj__item  cobj__rect  
+foreign import ccall "wxAuiDefaultToolBarArt_DrawControlLabel" wxAuiDefaultToolBarArt_DrawControlLabel :: Ptr (TAuiDefaultToolBarArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TAuiToolBarItem d) -> Ptr (TWxRect e) -> IO ()
+
+-- | usage: (@auiDefaultToolBarArtDrawDropDownButton obj dc wnd item rect@).
+auiDefaultToolBarArtDrawDropDownButton :: AuiDefaultToolBarArt  a -> DC  b -> Window  c -> AuiToolBarItem  d -> Rect ->  IO ()
+auiDefaultToolBarArtDrawDropDownButton _obj _dc _wnd _item _rect 
+  = withObjectRef "auiDefaultToolBarArtDrawDropDownButton" _obj $ \cobj__obj -> 
+    withObjectPtr _dc $ \cobj__dc -> 
+    withObjectPtr _wnd $ \cobj__wnd -> 
+    withObjectPtr _item $ \cobj__item -> 
+    withWxRectPtr _rect $ \cobj__rect -> 
+    wxAuiDefaultToolBarArt_DrawDropDownButton cobj__obj  cobj__dc  cobj__wnd  cobj__item  cobj__rect  
+foreign import ccall "wxAuiDefaultToolBarArt_DrawDropDownButton" wxAuiDefaultToolBarArt_DrawDropDownButton :: Ptr (TAuiDefaultToolBarArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TAuiToolBarItem d) -> Ptr (TWxRect e) -> IO ()
+
+-- | usage: (@auiDefaultToolBarArtDrawGripper obj dc wnd rect@).
+auiDefaultToolBarArtDrawGripper :: AuiDefaultToolBarArt  a -> DC  b -> Window  c -> Rect ->  IO ()
+auiDefaultToolBarArtDrawGripper _obj _dc _wnd _rect 
+  = withObjectRef "auiDefaultToolBarArtDrawGripper" _obj $ \cobj__obj -> 
+    withObjectPtr _dc $ \cobj__dc -> 
+    withObjectPtr _wnd $ \cobj__wnd -> 
+    withWxRectPtr _rect $ \cobj__rect -> 
+    wxAuiDefaultToolBarArt_DrawGripper cobj__obj  cobj__dc  cobj__wnd  cobj__rect  
+foreign import ccall "wxAuiDefaultToolBarArt_DrawGripper" wxAuiDefaultToolBarArt_DrawGripper :: Ptr (TAuiDefaultToolBarArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TWxRect d) -> IO ()
+
+-- | usage: (@auiDefaultToolBarArtDrawLabel obj dc wnd item rect@).
+auiDefaultToolBarArtDrawLabel :: AuiDefaultToolBarArt  a -> DC  b -> Window  c -> AuiToolBarItem  d -> Rect ->  IO ()
+auiDefaultToolBarArtDrawLabel _obj _dc _wnd _item _rect 
+  = withObjectRef "auiDefaultToolBarArtDrawLabel" _obj $ \cobj__obj -> 
+    withObjectPtr _dc $ \cobj__dc -> 
+    withObjectPtr _wnd $ \cobj__wnd -> 
+    withObjectPtr _item $ \cobj__item -> 
+    withWxRectPtr _rect $ \cobj__rect -> 
+    wxAuiDefaultToolBarArt_DrawLabel cobj__obj  cobj__dc  cobj__wnd  cobj__item  cobj__rect  
+foreign import ccall "wxAuiDefaultToolBarArt_DrawLabel" wxAuiDefaultToolBarArt_DrawLabel :: Ptr (TAuiDefaultToolBarArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TAuiToolBarItem d) -> Ptr (TWxRect e) -> IO ()
+
+-- | usage: (@auiDefaultToolBarArtDrawOverflowButton obj dc wnd rect state@).
+auiDefaultToolBarArtDrawOverflowButton :: AuiDefaultToolBarArt  a -> DC  b -> Window  c -> Rect -> Int ->  IO ()
+auiDefaultToolBarArtDrawOverflowButton _obj _dc _wnd _rect state 
+  = withObjectRef "auiDefaultToolBarArtDrawOverflowButton" _obj $ \cobj__obj -> 
+    withObjectPtr _dc $ \cobj__dc -> 
+    withObjectPtr _wnd $ \cobj__wnd -> 
+    withWxRectPtr _rect $ \cobj__rect -> 
+    wxAuiDefaultToolBarArt_DrawOverflowButton cobj__obj  cobj__dc  cobj__wnd  cobj__rect  (toCInt state)  
+foreign import ccall "wxAuiDefaultToolBarArt_DrawOverflowButton" wxAuiDefaultToolBarArt_DrawOverflowButton :: Ptr (TAuiDefaultToolBarArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TWxRect d) -> CInt -> IO ()
+
+-- | usage: (@auiDefaultToolBarArtDrawPlainBackground obj dc wnd rect@).
+auiDefaultToolBarArtDrawPlainBackground :: AuiDefaultToolBarArt  a -> DC  b -> Window  c -> Rect ->  IO ()
+auiDefaultToolBarArtDrawPlainBackground _obj _dc _wnd _rect 
+  = withObjectRef "auiDefaultToolBarArtDrawPlainBackground" _obj $ \cobj__obj -> 
+    withObjectPtr _dc $ \cobj__dc -> 
+    withObjectPtr _wnd $ \cobj__wnd -> 
+    withWxRectPtr _rect $ \cobj__rect -> 
+    wxAuiDefaultToolBarArt_DrawPlainBackground cobj__obj  cobj__dc  cobj__wnd  cobj__rect  
+foreign import ccall "wxAuiDefaultToolBarArt_DrawPlainBackground" wxAuiDefaultToolBarArt_DrawPlainBackground :: Ptr (TAuiDefaultToolBarArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TWxRect d) -> IO ()
+
+-- | usage: (@auiDefaultToolBarArtDrawSeparator obj dc wnd rect@).
+auiDefaultToolBarArtDrawSeparator :: AuiDefaultToolBarArt  a -> DC  b -> Window  c -> Rect ->  IO ()
+auiDefaultToolBarArtDrawSeparator _obj _dc _wnd _rect 
+  = withObjectRef "auiDefaultToolBarArtDrawSeparator" _obj $ \cobj__obj -> 
+    withObjectPtr _dc $ \cobj__dc -> 
+    withObjectPtr _wnd $ \cobj__wnd -> 
+    withWxRectPtr _rect $ \cobj__rect -> 
+    wxAuiDefaultToolBarArt_DrawSeparator cobj__obj  cobj__dc  cobj__wnd  cobj__rect  
+foreign import ccall "wxAuiDefaultToolBarArt_DrawSeparator" wxAuiDefaultToolBarArt_DrawSeparator :: Ptr (TAuiDefaultToolBarArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TWxRect d) -> IO ()
+
+-- | usage: (@auiDefaultToolBarArtGetElementSize obj element@).
+auiDefaultToolBarArtGetElementSize :: AuiDefaultToolBarArt  a -> Int ->  IO Int
+auiDefaultToolBarArtGetElementSize _obj element 
+  = withIntResult $
+    withObjectRef "auiDefaultToolBarArtGetElementSize" _obj $ \cobj__obj -> 
+    wxAuiDefaultToolBarArt_GetElementSize cobj__obj  (toCInt element)  
+foreign import ccall "wxAuiDefaultToolBarArt_GetElementSize" wxAuiDefaultToolBarArt_GetElementSize :: Ptr (TAuiDefaultToolBarArt a) -> CInt -> IO CInt
+
+-- | usage: (@auiDefaultToolBarArtGetFlags obj@).
+auiDefaultToolBarArtGetFlags :: AuiDefaultToolBarArt  a ->  IO Int
+auiDefaultToolBarArtGetFlags _obj 
+  = withIntResult $
+    withObjectRef "auiDefaultToolBarArtGetFlags" _obj $ \cobj__obj -> 
+    wxAuiDefaultToolBarArt_GetFlags cobj__obj  
+foreign import ccall "wxAuiDefaultToolBarArt_GetFlags" wxAuiDefaultToolBarArt_GetFlags :: Ptr (TAuiDefaultToolBarArt a) -> IO CInt
+
+-- | usage: (@auiDefaultToolBarArtGetFont obj@).
+auiDefaultToolBarArtGetFont :: AuiDefaultToolBarArt  a ->  IO (Font  ())
+auiDefaultToolBarArtGetFont _obj 
+  = withManagedFontResult $
+    withObjectRef "auiDefaultToolBarArtGetFont" _obj $ \cobj__obj -> 
+    wxAuiDefaultToolBarArt_GetFont cobj__obj  
+foreign import ccall "wxAuiDefaultToolBarArt_GetFont" wxAuiDefaultToolBarArt_GetFont :: Ptr (TAuiDefaultToolBarArt a) -> IO (Ptr (TFont ()))
+
+-- | usage: (@auiDefaultToolBarArtGetLabelSize obj dc wnd item@).
+auiDefaultToolBarArtGetLabelSize :: AuiDefaultToolBarArt  a -> DC  b -> Window  c -> AuiToolBarItem  d ->  IO (Size)
+auiDefaultToolBarArtGetLabelSize _obj _dc _wnd _item 
+  = withWxSizeResult $
+    withObjectRef "auiDefaultToolBarArtGetLabelSize" _obj $ \cobj__obj -> 
+    withObjectPtr _dc $ \cobj__dc -> 
+    withObjectPtr _wnd $ \cobj__wnd -> 
+    withObjectPtr _item $ \cobj__item -> 
+    wxAuiDefaultToolBarArt_GetLabelSize cobj__obj  cobj__dc  cobj__wnd  cobj__item  
+foreign import ccall "wxAuiDefaultToolBarArt_GetLabelSize" wxAuiDefaultToolBarArt_GetLabelSize :: Ptr (TAuiDefaultToolBarArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TAuiToolBarItem d) -> IO (Ptr (TWxSize ()))
+
+-- | usage: (@auiDefaultToolBarArtGetTextOrientation obj@).
+auiDefaultToolBarArtGetTextOrientation :: AuiDefaultToolBarArt  a ->  IO Int
+auiDefaultToolBarArtGetTextOrientation _obj 
+  = withIntResult $
+    withObjectRef "auiDefaultToolBarArtGetTextOrientation" _obj $ \cobj__obj -> 
+    wxAuiDefaultToolBarArt_GetTextOrientation cobj__obj  
+foreign import ccall "wxAuiDefaultToolBarArt_GetTextOrientation" wxAuiDefaultToolBarArt_GetTextOrientation :: Ptr (TAuiDefaultToolBarArt a) -> IO CInt
+
+-- | usage: (@auiDefaultToolBarArtGetToolSize obj dc wnd item@).
+auiDefaultToolBarArtGetToolSize :: AuiDefaultToolBarArt  a -> DC  b -> Window  c -> AuiToolBarItem  d ->  IO (Size)
+auiDefaultToolBarArtGetToolSize _obj _dc _wnd _item 
+  = withWxSizeResult $
+    withObjectRef "auiDefaultToolBarArtGetToolSize" _obj $ \cobj__obj -> 
+    withObjectPtr _dc $ \cobj__dc -> 
+    withObjectPtr _wnd $ \cobj__wnd -> 
+    withObjectPtr _item $ \cobj__item -> 
+    wxAuiDefaultToolBarArt_GetToolSize cobj__obj  cobj__dc  cobj__wnd  cobj__item  
+foreign import ccall "wxAuiDefaultToolBarArt_GetToolSize" wxAuiDefaultToolBarArt_GetToolSize :: Ptr (TAuiDefaultToolBarArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TAuiToolBarItem d) -> IO (Ptr (TWxSize ()))
+
+-- | usage: (@auiDefaultToolBarArtSetElementSize obj elementid size@).
+auiDefaultToolBarArtSetElementSize :: AuiDefaultToolBarArt  a -> Int -> Int ->  IO ()
+auiDefaultToolBarArtSetElementSize _obj elementid size 
+  = withObjectRef "auiDefaultToolBarArtSetElementSize" _obj $ \cobj__obj -> 
+    wxAuiDefaultToolBarArt_SetElementSize cobj__obj  (toCInt elementid)  (toCInt size)  
+foreign import ccall "wxAuiDefaultToolBarArt_SetElementSize" wxAuiDefaultToolBarArt_SetElementSize :: Ptr (TAuiDefaultToolBarArt a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@auiDefaultToolBarArtSetFlags obj flags@).
+auiDefaultToolBarArtSetFlags :: AuiDefaultToolBarArt  a -> Int ->  IO ()
+auiDefaultToolBarArtSetFlags _obj _flags 
+  = withObjectRef "auiDefaultToolBarArtSetFlags" _obj $ \cobj__obj -> 
+    wxAuiDefaultToolBarArt_SetFlags cobj__obj  (toCInt _flags)  
+foreign import ccall "wxAuiDefaultToolBarArt_SetFlags" wxAuiDefaultToolBarArt_SetFlags :: Ptr (TAuiDefaultToolBarArt a) -> CInt -> IO ()
+
+-- | usage: (@auiDefaultToolBarArtSetFont obj font@).
+auiDefaultToolBarArtSetFont :: AuiDefaultToolBarArt  a -> Font  b ->  IO ()
+auiDefaultToolBarArtSetFont _obj _font 
+  = withObjectRef "auiDefaultToolBarArtSetFont" _obj $ \cobj__obj -> 
+    withObjectPtr _font $ \cobj__font -> 
+    wxAuiDefaultToolBarArt_SetFont cobj__obj  cobj__font  
+foreign import ccall "wxAuiDefaultToolBarArt_SetFont" wxAuiDefaultToolBarArt_SetFont :: Ptr (TAuiDefaultToolBarArt a) -> Ptr (TFont b) -> IO ()
+
+-- | usage: (@auiDefaultToolBarArtSetTextOrientation obj orientation@).
+auiDefaultToolBarArtSetTextOrientation :: AuiDefaultToolBarArt  a -> Int ->  IO ()
+auiDefaultToolBarArtSetTextOrientation _obj orientation 
+  = withObjectRef "auiDefaultToolBarArtSetTextOrientation" _obj $ \cobj__obj -> 
+    wxAuiDefaultToolBarArt_SetTextOrientation cobj__obj  (toCInt orientation)  
+foreign import ccall "wxAuiDefaultToolBarArt_SetTextOrientation" wxAuiDefaultToolBarArt_SetTextOrientation :: Ptr (TAuiDefaultToolBarArt a) -> CInt -> IO ()
+
+-- | usage: (@auiDefaultToolBarArtShowDropDown obj wnd items@).
+auiDefaultToolBarArtShowDropDown :: AuiDefaultToolBarArt  a -> Window  b -> AuiToolBarItemArray  c ->  IO Int
+auiDefaultToolBarArtShowDropDown _obj _wnd _items 
+  = withIntResult $
+    withObjectRef "auiDefaultToolBarArtShowDropDown" _obj $ \cobj__obj -> 
+    withObjectPtr _wnd $ \cobj__wnd -> 
+    withObjectPtr _items $ \cobj__items -> 
+    wxAuiDefaultToolBarArt_ShowDropDown cobj__obj  cobj__wnd  cobj__items  
+foreign import ccall "wxAuiDefaultToolBarArt_ShowDropDown" wxAuiDefaultToolBarArt_ShowDropDown :: Ptr (TAuiDefaultToolBarArt a) -> Ptr (TWindow b) -> Ptr (TAuiToolBarItemArray c) -> IO CInt
+
+-- | usage: (@auiDockArtDrawBackground obj dc window orientation rect@).
+auiDockArtDrawBackground :: AuiDockArt  a -> DC  b -> Window  c -> Int -> Rect ->  IO ()
+auiDockArtDrawBackground _obj _dc _window orientation _rect 
+  = withObjectRef "auiDockArtDrawBackground" _obj $ \cobj__obj -> 
+    withObjectPtr _dc $ \cobj__dc -> 
+    withObjectPtr _window $ \cobj__window -> 
+    withWxRectPtr _rect $ \cobj__rect -> 
+    wxAuiDockArt_DrawBackground cobj__obj  cobj__dc  cobj__window  (toCInt orientation)  cobj__rect  
+foreign import ccall "wxAuiDockArt_DrawBackground" wxAuiDockArt_DrawBackground :: Ptr (TAuiDockArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> CInt -> Ptr (TWxRect e) -> IO ()
+
+-- | usage: (@auiDockArtDrawBorder obj dc window rect pane@).
+auiDockArtDrawBorder :: AuiDockArt  a -> DC  b -> Window  c -> Rect -> AuiPaneInfo  e ->  IO ()
+auiDockArtDrawBorder _obj _dc _window _rect _pane 
+  = withObjectRef "auiDockArtDrawBorder" _obj $ \cobj__obj -> 
+    withObjectPtr _dc $ \cobj__dc -> 
+    withObjectPtr _window $ \cobj__window -> 
+    withWxRectPtr _rect $ \cobj__rect -> 
+    withObjectPtr _pane $ \cobj__pane -> 
+    wxAuiDockArt_DrawBorder cobj__obj  cobj__dc  cobj__window  cobj__rect  cobj__pane  
+foreign import ccall "wxAuiDockArt_DrawBorder" wxAuiDockArt_DrawBorder :: Ptr (TAuiDockArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TWxRect d) -> Ptr (TAuiPaneInfo e) -> IO ()
+
+-- | usage: (@auiDockArtDrawCaption obj dc window text rect pane@).
+auiDockArtDrawCaption :: AuiDockArt  a -> DC  b -> Window  c -> String -> Rect -> AuiPaneInfo  f ->  IO ()
+auiDockArtDrawCaption _obj _dc _window _text _rect _pane 
+  = withObjectRef "auiDockArtDrawCaption" _obj $ \cobj__obj -> 
+    withObjectPtr _dc $ \cobj__dc -> 
+    withObjectPtr _window $ \cobj__window -> 
+    withStringPtr _text $ \cobj__text -> 
+    withWxRectPtr _rect $ \cobj__rect -> 
+    withObjectPtr _pane $ \cobj__pane -> 
+    wxAuiDockArt_DrawCaption cobj__obj  cobj__dc  cobj__window  cobj__text  cobj__rect  cobj__pane  
+foreign import ccall "wxAuiDockArt_DrawCaption" wxAuiDockArt_DrawCaption :: Ptr (TAuiDockArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TWxString d) -> Ptr (TWxRect e) -> Ptr (TAuiPaneInfo f) -> IO ()
+
+-- | usage: (@auiDockArtDrawGripper obj dc window rect pane@).
+auiDockArtDrawGripper :: AuiDockArt  a -> DC  b -> Window  c -> Rect -> AuiPaneInfo  e ->  IO ()
+auiDockArtDrawGripper _obj _dc _window _rect _pane 
+  = withObjectRef "auiDockArtDrawGripper" _obj $ \cobj__obj -> 
+    withObjectPtr _dc $ \cobj__dc -> 
+    withObjectPtr _window $ \cobj__window -> 
+    withWxRectPtr _rect $ \cobj__rect -> 
+    withObjectPtr _pane $ \cobj__pane -> 
+    wxAuiDockArt_DrawGripper cobj__obj  cobj__dc  cobj__window  cobj__rect  cobj__pane  
+foreign import ccall "wxAuiDockArt_DrawGripper" wxAuiDockArt_DrawGripper :: Ptr (TAuiDockArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TWxRect d) -> Ptr (TAuiPaneInfo e) -> IO ()
+
+-- | usage: (@auiDockArtDrawPaneButton obj dc window button buttonstate rect pane@).
+auiDockArtDrawPaneButton :: AuiDockArt  a -> DC  b -> Window  c -> Int -> Int -> Rect -> AuiPaneInfo  g ->  IO ()
+auiDockArtDrawPaneButton _obj _dc _window button buttonstate _rect _pane 
+  = withObjectRef "auiDockArtDrawPaneButton" _obj $ \cobj__obj -> 
+    withObjectPtr _dc $ \cobj__dc -> 
+    withObjectPtr _window $ \cobj__window -> 
+    withWxRectPtr _rect $ \cobj__rect -> 
+    withObjectPtr _pane $ \cobj__pane -> 
+    wxAuiDockArt_DrawPaneButton cobj__obj  cobj__dc  cobj__window  (toCInt button)  (toCInt buttonstate)  cobj__rect  cobj__pane  
+foreign import ccall "wxAuiDockArt_DrawPaneButton" wxAuiDockArt_DrawPaneButton :: Ptr (TAuiDockArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> CInt -> CInt -> Ptr (TWxRect f) -> Ptr (TAuiPaneInfo g) -> IO ()
+
+-- | usage: (@auiDockArtDrawSash obj dc window orientation rect@).
+auiDockArtDrawSash :: AuiDockArt  a -> DC  b -> Window  c -> Int -> Rect ->  IO ()
+auiDockArtDrawSash _obj _dc _window orientation _rect 
+  = withObjectRef "auiDockArtDrawSash" _obj $ \cobj__obj -> 
+    withObjectPtr _dc $ \cobj__dc -> 
+    withObjectPtr _window $ \cobj__window -> 
+    withWxRectPtr _rect $ \cobj__rect -> 
+    wxAuiDockArt_DrawSash cobj__obj  cobj__dc  cobj__window  (toCInt orientation)  cobj__rect  
+foreign import ccall "wxAuiDockArt_DrawSash" wxAuiDockArt_DrawSash :: Ptr (TAuiDockArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> CInt -> Ptr (TWxRect e) -> IO ()
+
+-- | usage: (@auiDockArtGetColour obj id@).
+auiDockArtGetColour :: AuiDockArt  a -> Id ->  IO (Color)
+auiDockArtGetColour _obj id 
+  = withManagedColourResult $
+    withObjectRef "auiDockArtGetColour" _obj $ \cobj__obj -> 
+    wxAuiDockArt_GetColour cobj__obj  (toCInt id)  
+foreign import ccall "wxAuiDockArt_GetColour" wxAuiDockArt_GetColour :: Ptr (TAuiDockArt a) -> CInt -> IO (Ptr (TColour ()))
+
+-- | usage: (@auiDockArtGetFont obj id@).
+auiDockArtGetFont :: AuiDockArt  a -> Id ->  IO (Font  ())
+auiDockArtGetFont _obj id 
+  = withManagedFontResult $
+    withObjectRef "auiDockArtGetFont" _obj $ \cobj__obj -> 
+    wxAuiDockArt_GetFont cobj__obj  (toCInt id)  
+foreign import ccall "wxAuiDockArt_GetFont" wxAuiDockArt_GetFont :: Ptr (TAuiDockArt a) -> CInt -> IO (Ptr (TFont ()))
+
+-- | usage: (@auiDockArtGetMetric obj id@).
+auiDockArtGetMetric :: AuiDockArt  a -> Id ->  IO Int
+auiDockArtGetMetric _obj id 
+  = withIntResult $
+    withObjectRef "auiDockArtGetMetric" _obj $ \cobj__obj -> 
+    wxAuiDockArt_GetMetric cobj__obj  (toCInt id)  
+foreign import ccall "wxAuiDockArt_GetMetric" wxAuiDockArt_GetMetric :: Ptr (TAuiDockArt a) -> CInt -> IO CInt
+
+-- | usage: (@auiDockArtSetColour obj id colour@).
+auiDockArtSetColour :: AuiDockArt  a -> Id -> Color ->  IO ()
+auiDockArtSetColour _obj id _colour 
+  = withObjectRef "auiDockArtSetColour" _obj $ \cobj__obj -> 
+    withColourPtr _colour $ \cobj__colour -> 
+    wxAuiDockArt_SetColour cobj__obj  (toCInt id)  cobj__colour  
+foreign import ccall "wxAuiDockArt_SetColour" wxAuiDockArt_SetColour :: Ptr (TAuiDockArt a) -> CInt -> Ptr (TColour c) -> IO ()
+
+-- | usage: (@auiDockArtSetFont obj id font@).
+auiDockArtSetFont :: AuiDockArt  a -> Id -> Font  c ->  IO ()
+auiDockArtSetFont _obj id _font 
+  = withObjectRef "auiDockArtSetFont" _obj $ \cobj__obj -> 
+    withObjectPtr _font $ \cobj__font -> 
+    wxAuiDockArt_SetFont cobj__obj  (toCInt id)  cobj__font  
+foreign import ccall "wxAuiDockArt_SetFont" wxAuiDockArt_SetFont :: Ptr (TAuiDockArt a) -> CInt -> Ptr (TFont c) -> IO ()
+
+-- | usage: (@auiDockArtSetMetric obj id newval@).
+auiDockArtSetMetric :: AuiDockArt  a -> Id -> Int ->  IO ()
+auiDockArtSetMetric _obj id newval 
+  = withObjectRef "auiDockArtSetMetric" _obj $ \cobj__obj -> 
+    wxAuiDockArt_SetMetric cobj__obj  (toCInt id)  (toCInt newval)  
+foreign import ccall "wxAuiDockArt_SetMetric" wxAuiDockArt_SetMetric :: Ptr (TAuiDockArt a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@auiManagerAddPane obj window direction caption@).
+auiManagerAddPane :: AuiManager  a -> Window  b -> Int -> String ->  IO Bool
+auiManagerAddPane _obj _window _direction _caption 
+  = withBoolResult $
+    withObjectRef "auiManagerAddPane" _obj $ \cobj__obj -> 
+    withObjectPtr _window $ \cobj__window -> 
+    withStringPtr _caption $ \cobj__caption -> 
+    wxAuiManager_AddPane cobj__obj  cobj__window  (toCInt _direction)  cobj__caption  
+foreign import ccall "wxAuiManager_AddPane" wxAuiManager_AddPane :: Ptr (TAuiManager a) -> Ptr (TWindow b) -> CInt -> Ptr (TWxString d) -> IO CBool
+
+-- | usage: (@auiManagerAddPaneByPaneInfo obj window paneinfo@).
+auiManagerAddPaneByPaneInfo :: AuiManager  a -> Window  b -> AuiPaneInfo  c ->  IO Bool
+auiManagerAddPaneByPaneInfo _obj _window _paneinfo 
+  = withBoolResult $
+    withObjectRef "auiManagerAddPaneByPaneInfo" _obj $ \cobj__obj -> 
+    withObjectPtr _window $ \cobj__window -> 
+    withObjectPtr _paneinfo $ \cobj__paneinfo -> 
+    wxAuiManager_AddPaneByPaneInfo cobj__obj  cobj__window  cobj__paneinfo  
+foreign import ccall "wxAuiManager_AddPaneByPaneInfo" wxAuiManager_AddPaneByPaneInfo :: Ptr (TAuiManager a) -> Ptr (TWindow b) -> Ptr (TAuiPaneInfo c) -> IO CBool
+
+-- | usage: (@auiManagerAddPaneByPaneInfoAndDropPosition obj window paneinfo xy@).
+auiManagerAddPaneByPaneInfoAndDropPosition :: AuiManager  a -> Window  b -> AuiPaneInfo  c -> Point ->  IO Bool
+auiManagerAddPaneByPaneInfoAndDropPosition _obj _window _paneinfo xy 
+  = withBoolResult $
+    withObjectRef "auiManagerAddPaneByPaneInfoAndDropPosition" _obj $ \cobj__obj -> 
+    withObjectPtr _window $ \cobj__window -> 
+    withObjectPtr _paneinfo $ \cobj__paneinfo -> 
+    wxAuiManager_AddPaneByPaneInfoAndDropPosition cobj__obj  cobj__window  cobj__paneinfo  (toCIntPointX xy) (toCIntPointY xy)  
+foreign import ccall "wxAuiManager_AddPaneByPaneInfoAndDropPosition" wxAuiManager_AddPaneByPaneInfoAndDropPosition :: Ptr (TAuiManager a) -> Ptr (TWindow b) -> Ptr (TAuiPaneInfo c) -> CInt -> CInt -> IO CBool
+
+-- | usage: (@auiManagerCreate managedwnd flags@).
+auiManagerCreate :: Window  a -> Int ->  IO (AuiManager  ())
+auiManagerCreate _managedwnd _flags 
+  = withObjectResult $
+    withObjectPtr _managedwnd $ \cobj__managedwnd -> 
+    wxAuiManager_Create cobj__managedwnd  (toCInt _flags)  
+foreign import ccall "wxAuiManager_Create" wxAuiManager_Create :: Ptr (TWindow a) -> CInt -> IO (Ptr (TAuiManager ()))
+
+-- | usage: (@auiManagerDelete obj@).
+auiManagerDelete :: AuiManager  a ->  IO ()
+auiManagerDelete
+  = objectDelete
+
+
+-- | usage: (@auiManagerDetachPane obj window@).
+auiManagerDetachPane :: AuiManager  a -> Window  b ->  IO Bool
+auiManagerDetachPane _obj _window 
+  = withBoolResult $
+    withObjectRef "auiManagerDetachPane" _obj $ \cobj__obj -> 
+    withObjectPtr _window $ \cobj__window -> 
+    wxAuiManager_DetachPane cobj__obj  cobj__window  
+foreign import ccall "wxAuiManager_DetachPane" wxAuiManager_DetachPane :: Ptr (TAuiManager a) -> Ptr (TWindow b) -> IO CBool
+
+-- | usage: (@auiManagerEventCanVeto obj@).
+auiManagerEventCanVeto :: AuiManagerEvent  a ->  IO Bool
+auiManagerEventCanVeto _obj 
+  = withBoolResult $
+    withObjectRef "auiManagerEventCanVeto" _obj $ \cobj__obj -> 
+    wxAuiManagerEvent_CanVeto cobj__obj  
+foreign import ccall "wxAuiManagerEvent_CanVeto" wxAuiManagerEvent_CanVeto :: Ptr (TAuiManagerEvent a) -> IO CBool
+
+-- | usage: (@auiManagerEventCreate wxtype@).
+auiManagerEventCreate :: Int ->  IO (AuiManagerEvent  ())
+auiManagerEventCreate wxtype 
+  = withObjectResult $
+    wxAuiManagerEvent_Create (toCInt wxtype)  
+foreign import ccall "wxAuiManagerEvent_Create" wxAuiManagerEvent_Create :: CInt -> IO (Ptr (TAuiManagerEvent ()))
+
+-- | usage: (@auiManagerEventGetButton obj@).
+auiManagerEventGetButton :: AuiManagerEvent  a ->  IO Int
+auiManagerEventGetButton _obj 
+  = withIntResult $
+    withObjectRef "auiManagerEventGetButton" _obj $ \cobj__obj -> 
+    wxAuiManagerEvent_GetButton cobj__obj  
+foreign import ccall "wxAuiManagerEvent_GetButton" wxAuiManagerEvent_GetButton :: Ptr (TAuiManagerEvent a) -> IO CInt
+
+-- | usage: (@auiManagerEventGetDC obj@).
+auiManagerEventGetDC :: AuiManagerEvent  a ->  IO (DC  ())
+auiManagerEventGetDC _obj 
+  = withObjectResult $
+    withObjectRef "auiManagerEventGetDC" _obj $ \cobj__obj -> 
+    wxAuiManagerEvent_GetDC cobj__obj  
+foreign import ccall "wxAuiManagerEvent_GetDC" wxAuiManagerEvent_GetDC :: Ptr (TAuiManagerEvent a) -> IO (Ptr (TDC ()))
+
+-- | usage: (@auiManagerEventGetManager obj@).
+auiManagerEventGetManager :: AuiManagerEvent  a ->  IO (AuiManager  ())
+auiManagerEventGetManager _obj 
+  = withObjectResult $
+    withObjectRef "auiManagerEventGetManager" _obj $ \cobj__obj -> 
+    wxAuiManagerEvent_GetManager cobj__obj  
+foreign import ccall "wxAuiManagerEvent_GetManager" wxAuiManagerEvent_GetManager :: Ptr (TAuiManagerEvent a) -> IO (Ptr (TAuiManager ()))
+
+-- | usage: (@auiManagerEventGetPane obj@).
+auiManagerEventGetPane :: AuiManagerEvent  a ->  IO (AuiPaneInfo  ())
+auiManagerEventGetPane _obj 
+  = withObjectResult $
+    withObjectRef "auiManagerEventGetPane" _obj $ \cobj__obj -> 
+    wxAuiManagerEvent_GetPane cobj__obj  
+foreign import ccall "wxAuiManagerEvent_GetPane" wxAuiManagerEvent_GetPane :: Ptr (TAuiManagerEvent a) -> IO (Ptr (TAuiPaneInfo ()))
+
+-- | usage: (@auiManagerEventGetVeto obj@).
+auiManagerEventGetVeto :: AuiManagerEvent  a ->  IO Bool
+auiManagerEventGetVeto _obj 
+  = withBoolResult $
+    withObjectRef "auiManagerEventGetVeto" _obj $ \cobj__obj -> 
+    wxAuiManagerEvent_GetVeto cobj__obj  
+foreign import ccall "wxAuiManagerEvent_GetVeto" wxAuiManagerEvent_GetVeto :: Ptr (TAuiManagerEvent a) -> IO CBool
+
+-- | usage: (@auiManagerEventSetButton obj button@).
+auiManagerEventSetButton :: AuiManagerEvent  a -> Int ->  IO ()
+auiManagerEventSetButton _obj button 
+  = withObjectRef "auiManagerEventSetButton" _obj $ \cobj__obj -> 
+    wxAuiManagerEvent_SetButton cobj__obj  (toCInt button)  
+foreign import ccall "wxAuiManagerEvent_SetButton" wxAuiManagerEvent_SetButton :: Ptr (TAuiManagerEvent a) -> CInt -> IO ()
+
+-- | usage: (@auiManagerEventSetCanVeto obj canveto@).
+auiManagerEventSetCanVeto :: AuiManagerEvent  a -> Bool ->  IO ()
+auiManagerEventSetCanVeto _obj canveto 
+  = withObjectRef "auiManagerEventSetCanVeto" _obj $ \cobj__obj -> 
+    wxAuiManagerEvent_SetCanVeto cobj__obj  (toCBool canveto)  
+foreign import ccall "wxAuiManagerEvent_SetCanVeto" wxAuiManagerEvent_SetCanVeto :: Ptr (TAuiManagerEvent a) -> CBool -> IO ()
+
+-- | usage: (@auiManagerEventSetDC obj pdc@).
+auiManagerEventSetDC :: AuiManagerEvent  a -> DC  b ->  IO ()
+auiManagerEventSetDC _obj _pdc 
+  = withObjectRef "auiManagerEventSetDC" _obj $ \cobj__obj -> 
+    withObjectPtr _pdc $ \cobj__pdc -> 
+    wxAuiManagerEvent_SetDC cobj__obj  cobj__pdc  
+foreign import ccall "wxAuiManagerEvent_SetDC" wxAuiManagerEvent_SetDC :: Ptr (TAuiManagerEvent a) -> Ptr (TDC b) -> IO ()
+
+-- | usage: (@auiManagerEventSetManager obj manager@).
+auiManagerEventSetManager :: AuiManagerEvent  a -> AuiManager  b ->  IO ()
+auiManagerEventSetManager _obj _manager 
+  = withObjectRef "auiManagerEventSetManager" _obj $ \cobj__obj -> 
+    withObjectPtr _manager $ \cobj__manager -> 
+    wxAuiManagerEvent_SetManager cobj__obj  cobj__manager  
+foreign import ccall "wxAuiManagerEvent_SetManager" wxAuiManagerEvent_SetManager :: Ptr (TAuiManagerEvent a) -> Ptr (TAuiManager b) -> IO ()
+
+-- | usage: (@auiManagerEventSetPane obj pane@).
+auiManagerEventSetPane :: AuiManagerEvent  a -> AuiPaneInfo  b ->  IO ()
+auiManagerEventSetPane _obj _pane 
+  = withObjectRef "auiManagerEventSetPane" _obj $ \cobj__obj -> 
+    withObjectPtr _pane $ \cobj__pane -> 
+    wxAuiManagerEvent_SetPane cobj__obj  cobj__pane  
+foreign import ccall "wxAuiManagerEvent_SetPane" wxAuiManagerEvent_SetPane :: Ptr (TAuiManagerEvent a) -> Ptr (TAuiPaneInfo b) -> IO ()
+
+-- | usage: (@auiManagerEventVeto obj veto@).
+auiManagerEventVeto :: AuiManagerEvent  a -> Bool ->  IO ()
+auiManagerEventVeto _obj veto 
+  = withObjectRef "auiManagerEventVeto" _obj $ \cobj__obj -> 
+    wxAuiManagerEvent_Veto cobj__obj  (toCBool veto)  
+foreign import ccall "wxAuiManagerEvent_Veto" wxAuiManagerEvent_Veto :: Ptr (TAuiManagerEvent a) -> CBool -> IO ()
+
+-- | usage: (@auiManagerGetAllPanes obj@).
+auiManagerGetAllPanes :: AuiManager  a ->  IO (AuiPaneInfoArray  ())
+auiManagerGetAllPanes _obj 
+  = withObjectResult $
+    withObjectRef "auiManagerGetAllPanes" _obj $ \cobj__obj -> 
+    wxAuiManager_GetAllPanes cobj__obj  
+foreign import ccall "wxAuiManager_GetAllPanes" wxAuiManager_GetAllPanes :: Ptr (TAuiManager a) -> IO (Ptr (TAuiPaneInfoArray ()))
+
+-- | usage: (@auiManagerGetArtProvider obj@).
+auiManagerGetArtProvider :: AuiManager  a ->  IO (AuiDockArt  ())
+auiManagerGetArtProvider _obj 
+  = withObjectResult $
+    withObjectRef "auiManagerGetArtProvider" _obj $ \cobj__obj -> 
+    wxAuiManager_GetArtProvider cobj__obj  
+foreign import ccall "wxAuiManager_GetArtProvider" wxAuiManager_GetArtProvider :: Ptr (TAuiManager a) -> IO (Ptr (TAuiDockArt ()))
+
+-- | usage: (@auiManagerGetDockSizeConstraint obj widthpct heightpct@).
+auiManagerGetDockSizeConstraint :: AuiManager  a -> Ptr Double -> Ptr Double ->  IO ()
+auiManagerGetDockSizeConstraint _obj _widthpct _heightpct 
+  = withObjectRef "auiManagerGetDockSizeConstraint" _obj $ \cobj__obj -> 
+    wxAuiManager_GetDockSizeConstraint cobj__obj  _widthpct  _heightpct  
+foreign import ccall "wxAuiManager_GetDockSizeConstraint" wxAuiManager_GetDockSizeConstraint :: Ptr (TAuiManager a) -> Ptr Double -> Ptr Double -> IO ()
+
+-- | usage: (@auiManagerGetFlags obj@).
+auiManagerGetFlags :: AuiManager  a ->  IO Int
+auiManagerGetFlags _obj 
+  = withIntResult $
+    withObjectRef "auiManagerGetFlags" _obj $ \cobj__obj -> 
+    wxAuiManager_GetFlags cobj__obj  
+foreign import ccall "wxAuiManager_GetFlags" wxAuiManager_GetFlags :: Ptr (TAuiManager a) -> IO CInt
+
+-- | usage: (@auiManagerGetManagedWindow obj@).
+auiManagerGetManagedWindow :: AuiManager  a ->  IO (Window  ())
+auiManagerGetManagedWindow _obj 
+  = withObjectResult $
+    withObjectRef "auiManagerGetManagedWindow" _obj $ \cobj__obj -> 
+    wxAuiManager_GetManagedWindow cobj__obj  
+foreign import ccall "wxAuiManager_GetManagedWindow" wxAuiManager_GetManagedWindow :: Ptr (TAuiManager a) -> IO (Ptr (TWindow ()))
+
+-- | usage: (@auiManagerGetManager window@).
+auiManagerGetManager :: Window  a ->  IO (AuiManager  ())
+auiManagerGetManager _window 
+  = withObjectResult $
+    withObjectPtr _window $ \cobj__window -> 
+    wxAuiManager_GetManager cobj__window  
+foreign import ccall "wxAuiManager_GetManager" wxAuiManager_GetManager :: Ptr (TWindow a) -> IO (Ptr (TAuiManager ()))
+
+-- | usage: (@auiManagerGetPaneByName obj name@).
+auiManagerGetPaneByName :: AuiManager  a -> String ->  IO (AuiPaneInfo  ())
+auiManagerGetPaneByName _obj _name 
+  = withObjectResult $
+    withObjectRef "auiManagerGetPaneByName" _obj $ \cobj__obj -> 
+    withStringPtr _name $ \cobj__name -> 
+    wxAuiManager_GetPaneByName cobj__obj  cobj__name  
+foreign import ccall "wxAuiManager_GetPaneByName" wxAuiManager_GetPaneByName :: Ptr (TAuiManager a) -> Ptr (TWxString b) -> IO (Ptr (TAuiPaneInfo ()))
+
+-- | usage: (@auiManagerGetPaneByWindow obj window@).
+auiManagerGetPaneByWindow :: AuiManager  a -> Window  b ->  IO (AuiPaneInfo  ())
+auiManagerGetPaneByWindow _obj _window 
+  = withObjectResult $
+    withObjectRef "auiManagerGetPaneByWindow" _obj $ \cobj__obj -> 
+    withObjectPtr _window $ \cobj__window -> 
+    wxAuiManager_GetPaneByWindow cobj__obj  cobj__window  
+foreign import ccall "wxAuiManager_GetPaneByWindow" wxAuiManager_GetPaneByWindow :: Ptr (TAuiManager a) -> Ptr (TWindow b) -> IO (Ptr (TAuiPaneInfo ()))
+
+-- | usage: (@auiManagerHideHint obj@).
+auiManagerHideHint :: AuiManager  a ->  IO ()
+auiManagerHideHint _obj 
+  = withObjectRef "auiManagerHideHint" _obj $ \cobj__obj -> 
+    wxAuiManager_HideHint cobj__obj  
+foreign import ccall "wxAuiManager_HideHint" wxAuiManager_HideHint :: Ptr (TAuiManager a) -> IO ()
+
+-- | usage: (@auiManagerInsertPane obj window insertlocation insertlevel@).
+auiManagerInsertPane :: AuiManager  a -> Window  b -> AuiPaneInfo  c -> Int ->  IO Bool
+auiManagerInsertPane _obj _window _insertlocation _insertlevel 
+  = withBoolResult $
+    withObjectRef "auiManagerInsertPane" _obj $ \cobj__obj -> 
+    withObjectPtr _window $ \cobj__window -> 
+    withObjectPtr _insertlocation $ \cobj__insertlocation -> 
+    wxAuiManager_InsertPane cobj__obj  cobj__window  cobj__insertlocation  (toCInt _insertlevel)  
+foreign import ccall "wxAuiManager_InsertPane" wxAuiManager_InsertPane :: Ptr (TAuiManager a) -> Ptr (TWindow b) -> Ptr (TAuiPaneInfo c) -> CInt -> IO CBool
+
+-- | usage: (@auiManagerLoadPaneInfo obj panepart pane@).
+auiManagerLoadPaneInfo :: AuiManager  a -> String -> AuiPaneInfo  c ->  IO ()
+auiManagerLoadPaneInfo _obj _panepart _pane 
+  = withObjectRef "auiManagerLoadPaneInfo" _obj $ \cobj__obj -> 
+    withStringPtr _panepart $ \cobj__panepart -> 
+    withObjectPtr _pane $ \cobj__pane -> 
+    wxAuiManager_LoadPaneInfo cobj__obj  cobj__panepart  cobj__pane  
+foreign import ccall "wxAuiManager_LoadPaneInfo" wxAuiManager_LoadPaneInfo :: Ptr (TAuiManager a) -> Ptr (TWxString b) -> Ptr (TAuiPaneInfo c) -> IO ()
+
+-- | usage: (@auiManagerLoadPerspective obj perspective update@).
+auiManagerLoadPerspective :: AuiManager  a -> String -> Bool ->  IO Bool
+auiManagerLoadPerspective _obj _perspective update 
+  = withBoolResult $
+    withObjectRef "auiManagerLoadPerspective" _obj $ \cobj__obj -> 
+    withStringPtr _perspective $ \cobj__perspective -> 
+    wxAuiManager_LoadPerspective cobj__obj  cobj__perspective  (toCBool update)  
+foreign import ccall "wxAuiManager_LoadPerspective" wxAuiManager_LoadPerspective :: Ptr (TAuiManager a) -> Ptr (TWxString b) -> CBool -> IO CBool
+
+-- | usage: (@auiManagerSavePaneInfo obj pane@).
+auiManagerSavePaneInfo :: AuiManager  a -> AuiPaneInfo  b ->  IO (String)
+auiManagerSavePaneInfo _obj _pane 
+  = withManagedStringResult $
+    withObjectRef "auiManagerSavePaneInfo" _obj $ \cobj__obj -> 
+    withObjectPtr _pane $ \cobj__pane -> 
+    wxAuiManager_SavePaneInfo cobj__obj  cobj__pane  
+foreign import ccall "wxAuiManager_SavePaneInfo" wxAuiManager_SavePaneInfo :: Ptr (TAuiManager a) -> Ptr (TAuiPaneInfo b) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@auiManagerSavePerspective obj@).
+auiManagerSavePerspective :: AuiManager  a ->  IO (String)
+auiManagerSavePerspective _obj 
+  = withManagedStringResult $
+    withObjectRef "auiManagerSavePerspective" _obj $ \cobj__obj -> 
+    wxAuiManager_SavePerspective cobj__obj  
+foreign import ccall "wxAuiManager_SavePerspective" wxAuiManager_SavePerspective :: Ptr (TAuiManager a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@auiManagerSetArtProvider obj artprovider@).
+auiManagerSetArtProvider :: AuiManager  a -> AuiDockArt  b ->  IO ()
+auiManagerSetArtProvider _obj _artprovider 
+  = withObjectRef "auiManagerSetArtProvider" _obj $ \cobj__obj -> 
+    withObjectPtr _artprovider $ \cobj__artprovider -> 
+    wxAuiManager_SetArtProvider cobj__obj  cobj__artprovider  
+foreign import ccall "wxAuiManager_SetArtProvider" wxAuiManager_SetArtProvider :: Ptr (TAuiManager a) -> Ptr (TAuiDockArt b) -> IO ()
+
+-- | usage: (@auiManagerSetDockSizeConstraint obj widthpct heightpct@).
+auiManagerSetDockSizeConstraint :: AuiManager  a -> Double -> Double ->  IO ()
+auiManagerSetDockSizeConstraint _obj widthpct heightpct 
+  = withObjectRef "auiManagerSetDockSizeConstraint" _obj $ \cobj__obj -> 
+    wxAuiManager_SetDockSizeConstraint cobj__obj  widthpct  heightpct  
+foreign import ccall "wxAuiManager_SetDockSizeConstraint" wxAuiManager_SetDockSizeConstraint :: Ptr (TAuiManager a) -> Double -> Double -> IO ()
+
+-- | usage: (@auiManagerSetFlags obj flags@).
+auiManagerSetFlags :: AuiManager  a -> Int ->  IO ()
+auiManagerSetFlags _obj flags 
+  = withObjectRef "auiManagerSetFlags" _obj $ \cobj__obj -> 
+    wxAuiManager_SetFlags cobj__obj  (toCInt flags)  
+foreign import ccall "wxAuiManager_SetFlags" wxAuiManager_SetFlags :: Ptr (TAuiManager a) -> CInt -> IO ()
+
+-- | usage: (@auiManagerSetManagedWindow obj managedwnd@).
+auiManagerSetManagedWindow :: AuiManager  a -> Window  b ->  IO ()
+auiManagerSetManagedWindow _obj _managedwnd 
+  = withObjectRef "auiManagerSetManagedWindow" _obj $ \cobj__obj -> 
+    withObjectPtr _managedwnd $ \cobj__managedwnd -> 
+    wxAuiManager_SetManagedWindow cobj__obj  cobj__managedwnd  
+foreign import ccall "wxAuiManager_SetManagedWindow" wxAuiManager_SetManagedWindow :: Ptr (TAuiManager a) -> Ptr (TWindow b) -> IO ()
+
+-- | usage: (@auiManagerShowHint obj rect@).
+auiManagerShowHint :: AuiManager  a -> Rect ->  IO ()
+auiManagerShowHint _obj _rect 
+  = withObjectRef "auiManagerShowHint" _obj $ \cobj__obj -> 
+    withWxRectPtr _rect $ \cobj__rect -> 
+    wxAuiManager_ShowHint cobj__obj  cobj__rect  
+foreign import ccall "wxAuiManager_ShowHint" wxAuiManager_ShowHint :: Ptr (TAuiManager a) -> Ptr (TWxRect b) -> IO ()
+
+-- | usage: (@auiManagerUnInit obj@).
+auiManagerUnInit :: AuiManager  a ->  IO ()
+auiManagerUnInit _obj 
+  = withObjectRef "auiManagerUnInit" _obj $ \cobj__obj -> 
+    wxAuiManager_UnInit cobj__obj  
+foreign import ccall "wxAuiManager_UnInit" wxAuiManager_UnInit :: Ptr (TAuiManager a) -> IO ()
+
+-- | usage: (@auiManagerUpdate obj@).
+auiManagerUpdate :: AuiManager  a ->  IO ()
+auiManagerUpdate _obj 
+  = withObjectRef "auiManagerUpdate" _obj $ \cobj__obj -> 
+    wxAuiManager_Update cobj__obj  
+foreign import ccall "wxAuiManager_Update" wxAuiManager_Update :: Ptr (TAuiManager a) -> IO ()
+
+-- | usage: (@auiNotebookAddPage obj page text select imageId@).
+auiNotebookAddPage :: AuiNotebook  a -> Window  b -> String -> Bool -> Int ->  IO Bool
+auiNotebookAddPage _obj _page _text select imageId 
+  = withBoolResult $
+    withObjectRef "auiNotebookAddPage" _obj $ \cobj__obj -> 
+    withObjectPtr _page $ \cobj__page -> 
+    withStringPtr _text $ \cobj__text -> 
+    wxAuiNotebook_AddPage cobj__obj  cobj__page  cobj__text  (toCBool select)  (toCInt imageId)  
+foreign import ccall "wxAuiNotebook_AddPage" wxAuiNotebook_AddPage :: Ptr (TAuiNotebook a) -> Ptr (TWindow b) -> Ptr (TWxString c) -> CBool -> CInt -> IO CBool
+
+-- | usage: (@auiNotebookAddPageWithBitmap obj page caption select bitmap@).
+auiNotebookAddPageWithBitmap :: AuiNotebook  a -> Window  b -> String -> Bool -> Bitmap  e ->  IO Bool
+auiNotebookAddPageWithBitmap _obj _page _caption select _bitmap 
+  = withBoolResult $
+    withObjectRef "auiNotebookAddPageWithBitmap" _obj $ \cobj__obj -> 
+    withObjectPtr _page $ \cobj__page -> 
+    withStringPtr _caption $ \cobj__caption -> 
+    withObjectPtr _bitmap $ \cobj__bitmap -> 
+    wxAuiNotebook_AddPageWithBitmap cobj__obj  cobj__page  cobj__caption  (toCBool select)  cobj__bitmap  
+foreign import ccall "wxAuiNotebook_AddPageWithBitmap" wxAuiNotebook_AddPageWithBitmap :: Ptr (TAuiNotebook a) -> Ptr (TWindow b) -> Ptr (TWxString c) -> CBool -> Ptr (TBitmap e) -> IO CBool
+
+-- | usage: (@auiNotebookAdvanceSelection obj forward@).
+auiNotebookAdvanceSelection :: AuiNotebook  a -> Bool ->  IO ()
+auiNotebookAdvanceSelection _obj forward 
+  = withObjectRef "auiNotebookAdvanceSelection" _obj $ \cobj__obj -> 
+    wxAuiNotebook_AdvanceSelection cobj__obj  (toCBool forward)  
+foreign import ccall "wxAuiNotebook_AdvanceSelection" wxAuiNotebook_AdvanceSelection :: Ptr (TAuiNotebook a) -> CBool -> IO ()
+
+-- | usage: (@auiNotebookChangeSelection obj n@).
+auiNotebookChangeSelection :: AuiNotebook  a -> Int ->  IO Int
+auiNotebookChangeSelection _obj n 
+  = withIntResult $
+    withObjectRef "auiNotebookChangeSelection" _obj $ \cobj__obj -> 
+    wxAuiNotebook_ChangeSelection cobj__obj  (toCInt n)  
+foreign import ccall "wxAuiNotebook_ChangeSelection" wxAuiNotebook_ChangeSelection :: Ptr (TAuiNotebook a) -> CInt -> IO CInt
+
+-- | usage: (@auiNotebookCreate parent id xy widthheight style@).
+auiNotebookCreate :: Window  a -> Id -> Point -> Size -> Int ->  IO (AuiNotebook  ())
+auiNotebookCreate _parent id xy _widthheight style 
+  = withObjectResult $
+    withObjectPtr _parent $ \cobj__parent -> 
+    wxAuiNotebook_Create cobj__parent  (toCInt id)  (toCIntPointX xy) (toCIntPointY xy)  (toCIntSizeW _widthheight) (toCIntSizeH _widthheight)  (toCInt style)  
+foreign import ccall "wxAuiNotebook_Create" wxAuiNotebook_Create :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TAuiNotebook ()))
+
+-- | usage: (@auiNotebookCreateDefault@).
+auiNotebookCreateDefault ::  IO (AuiNotebook  ())
+auiNotebookCreateDefault 
+  = withObjectResult $
+    wxAuiNotebook_CreateDefault 
+foreign import ccall "wxAuiNotebook_CreateDefault" wxAuiNotebook_CreateDefault :: IO (Ptr (TAuiNotebook ()))
+
+-- | usage: (@auiNotebookCreateFromDefault obj parent id xy widthheight style@).
+auiNotebookCreateFromDefault :: AuiNotebook  a -> Window  b -> Id -> Point -> Size -> Int ->  IO Bool
+auiNotebookCreateFromDefault _obj _parent id xy _widthheight style 
+  = withBoolResult $
+    withObjectRef "auiNotebookCreateFromDefault" _obj $ \cobj__obj -> 
+    withObjectPtr _parent $ \cobj__parent -> 
+    wxAuiNotebook_CreateFromDefault cobj__obj  cobj__parent  (toCInt id)  (toCIntPointX xy) (toCIntPointY xy)  (toCIntSizeW _widthheight) (toCIntSizeH _widthheight)  (toCInt style)  
+foreign import ccall "wxAuiNotebook_CreateFromDefault" wxAuiNotebook_CreateFromDefault :: Ptr (TAuiNotebook a) -> Ptr (TWindow b) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO CBool
+
+-- | usage: (@auiNotebookDeleteAllPages obj@).
+auiNotebookDeleteAllPages :: AuiNotebook  a ->  IO Bool
+auiNotebookDeleteAllPages _obj 
+  = withBoolResult $
+    withObjectRef "auiNotebookDeleteAllPages" _obj $ \cobj__obj -> 
+    wxAuiNotebook_DeleteAllPages cobj__obj  
+foreign import ccall "wxAuiNotebook_DeleteAllPages" wxAuiNotebook_DeleteAllPages :: Ptr (TAuiNotebook a) -> IO CBool
+
+-- | usage: (@auiNotebookDeletePage obj page@).
+auiNotebookDeletePage :: AuiNotebook  a -> Int ->  IO Bool
+auiNotebookDeletePage _obj page 
+  = withBoolResult $
+    withObjectRef "auiNotebookDeletePage" _obj $ \cobj__obj -> 
+    wxAuiNotebook_DeletePage cobj__obj  (toCInt page)  
+foreign import ccall "wxAuiNotebook_DeletePage" wxAuiNotebook_DeletePage :: Ptr (TAuiNotebook a) -> CInt -> IO CBool
+
+-- | usage: (@auiNotebookEventCreate commandtype winid@).
+auiNotebookEventCreate :: Int -> Int ->  IO (AuiNotebookEvent  ())
+auiNotebookEventCreate commandtype winid 
+  = withObjectResult $
+    wxAuiNotebookEvent_Create (toCInt commandtype)  (toCInt winid)  
+foreign import ccall "wxAuiNotebookEvent_Create" wxAuiNotebookEvent_Create :: CInt -> CInt -> IO (Ptr (TAuiNotebookEvent ()))
+
+-- | usage: (@auiNotebookEventGetDragSource obj@).
+auiNotebookEventGetDragSource :: AuiNotebookEvent  a ->  IO (AuiNotebook  ())
+auiNotebookEventGetDragSource _obj 
+  = withObjectResult $
+    withObjectRef "auiNotebookEventGetDragSource" _obj $ \cobj__obj -> 
+    wxAuiNotebookEvent_GetDragSource cobj__obj  
+foreign import ccall "wxAuiNotebookEvent_GetDragSource" wxAuiNotebookEvent_GetDragSource :: Ptr (TAuiNotebookEvent a) -> IO (Ptr (TAuiNotebook ()))
+
+-- | usage: (@auiNotebookGetArtProvider obj@).
+auiNotebookGetArtProvider :: AuiNotebook  a ->  IO (AuiTabArt  ())
+auiNotebookGetArtProvider _obj 
+  = withObjectResult $
+    withObjectRef "auiNotebookGetArtProvider" _obj $ \cobj__obj -> 
+    wxAuiNotebook_GetArtProvider cobj__obj  
+foreign import ccall "wxAuiNotebook_GetArtProvider" wxAuiNotebook_GetArtProvider :: Ptr (TAuiNotebook a) -> IO (Ptr (TAuiTabArt ()))
+
+-- | usage: (@auiNotebookGetCurrentPage obj@).
+auiNotebookGetCurrentPage :: AuiNotebook  a ->  IO (Window  ())
+auiNotebookGetCurrentPage _obj 
+  = withObjectResult $
+    withObjectRef "auiNotebookGetCurrentPage" _obj $ \cobj__obj -> 
+    wxAuiNotebook_GetCurrentPage cobj__obj  
+foreign import ccall "wxAuiNotebook_GetCurrentPage" wxAuiNotebook_GetCurrentPage :: Ptr (TAuiNotebook a) -> IO (Ptr (TWindow ()))
+
+-- | usage: (@auiNotebookGetHeightForPageHeight obj pageHeight@).
+auiNotebookGetHeightForPageHeight :: AuiNotebook  a -> Int ->  IO Int
+auiNotebookGetHeightForPageHeight _obj pageHeight 
+  = withIntResult $
+    withObjectRef "auiNotebookGetHeightForPageHeight" _obj $ \cobj__obj -> 
+    wxAuiNotebook_GetHeightForPageHeight cobj__obj  (toCInt pageHeight)  
+foreign import ccall "wxAuiNotebook_GetHeightForPageHeight" wxAuiNotebook_GetHeightForPageHeight :: Ptr (TAuiNotebook a) -> CInt -> IO CInt
+
+-- | usage: (@auiNotebookGetPage obj pageidx@).
+auiNotebookGetPage :: AuiNotebook  a -> Int ->  IO (Window  ())
+auiNotebookGetPage _obj pageidx 
+  = withObjectResult $
+    withObjectRef "auiNotebookGetPage" _obj $ \cobj__obj -> 
+    wxAuiNotebook_GetPage cobj__obj  (toCInt pageidx)  
+foreign import ccall "wxAuiNotebook_GetPage" wxAuiNotebook_GetPage :: Ptr (TAuiNotebook a) -> CInt -> IO (Ptr (TWindow ()))
+
+-- | usage: (@auiNotebookGetPageBitmap obj page@).
+auiNotebookGetPageBitmap :: AuiNotebook  a -> Int ->  IO (Bitmap  ())
+auiNotebookGetPageBitmap _obj page 
+  = withRefBitmap $ \pref -> 
+    withObjectRef "auiNotebookGetPageBitmap" _obj $ \cobj__obj -> 
+    wxAuiNotebook_GetPageBitmap cobj__obj  (toCInt page)   pref
+foreign import ccall "wxAuiNotebook_GetPageBitmap" wxAuiNotebook_GetPageBitmap :: Ptr (TAuiNotebook a) -> CInt -> Ptr (TBitmap ()) -> IO ()
+
+-- | usage: (@auiNotebookGetPageCount obj@).
+auiNotebookGetPageCount :: AuiNotebook  a ->  IO Int
+auiNotebookGetPageCount _obj 
+  = withIntResult $
+    withObjectRef "auiNotebookGetPageCount" _obj $ \cobj__obj -> 
+    wxAuiNotebook_GetPageCount cobj__obj  
+foreign import ccall "wxAuiNotebook_GetPageCount" wxAuiNotebook_GetPageCount :: Ptr (TAuiNotebook a) -> IO CInt
+
+-- | usage: (@auiNotebookGetPageIndex obj pagewnd@).
+auiNotebookGetPageIndex :: AuiNotebook  a -> Window  b ->  IO Int
+auiNotebookGetPageIndex _obj _pagewnd 
+  = withIntResult $
+    withObjectRef "auiNotebookGetPageIndex" _obj $ \cobj__obj -> 
+    withObjectPtr _pagewnd $ \cobj__pagewnd -> 
+    wxAuiNotebook_GetPageIndex cobj__obj  cobj__pagewnd  
+foreign import ccall "wxAuiNotebook_GetPageIndex" wxAuiNotebook_GetPageIndex :: Ptr (TAuiNotebook a) -> Ptr (TWindow b) -> IO CInt
+
+-- | usage: (@auiNotebookGetPageText obj page@).
+auiNotebookGetPageText :: AuiNotebook  a -> Int ->  IO (String)
+auiNotebookGetPageText _obj page 
+  = withManagedStringResult $
+    withObjectRef "auiNotebookGetPageText" _obj $ \cobj__obj -> 
+    wxAuiNotebook_GetPageText cobj__obj  (toCInt page)  
+foreign import ccall "wxAuiNotebook_GetPageText" wxAuiNotebook_GetPageText :: Ptr (TAuiNotebook a) -> CInt -> IO (Ptr (TWxString ()))
+
+-- | usage: (@auiNotebookGetPageToolTip obj pageIdx@).
+auiNotebookGetPageToolTip :: AuiNotebook  a -> Int ->  IO (String)
+auiNotebookGetPageToolTip _obj pageIdx 
+  = withManagedStringResult $
+    withObjectRef "auiNotebookGetPageToolTip" _obj $ \cobj__obj -> 
+    wxAuiNotebook_GetPageToolTip cobj__obj  (toCInt pageIdx)  
+foreign import ccall "wxAuiNotebook_GetPageToolTip" wxAuiNotebook_GetPageToolTip :: Ptr (TAuiNotebook a) -> CInt -> IO (Ptr (TWxString ()))
+
+-- | usage: (@auiNotebookGetSelection obj@).
+auiNotebookGetSelection :: AuiNotebook  a ->  IO Int
+auiNotebookGetSelection _obj 
+  = withIntResult $
+    withObjectRef "auiNotebookGetSelection" _obj $ \cobj__obj -> 
+    wxAuiNotebook_GetSelection cobj__obj  
+foreign import ccall "wxAuiNotebook_GetSelection" wxAuiNotebook_GetSelection :: Ptr (TAuiNotebook a) -> IO CInt
+
+-- | usage: (@auiNotebookGetTabCtrlHeight obj@).
+auiNotebookGetTabCtrlHeight :: AuiNotebook  a ->  IO Int
+auiNotebookGetTabCtrlHeight _obj 
+  = withIntResult $
+    withObjectRef "auiNotebookGetTabCtrlHeight" _obj $ \cobj__obj -> 
+    wxAuiNotebook_GetTabCtrlHeight cobj__obj  
+foreign import ccall "wxAuiNotebook_GetTabCtrlHeight" wxAuiNotebook_GetTabCtrlHeight :: Ptr (TAuiNotebook a) -> IO CInt
+
+-- | usage: (@auiNotebookInsertPage obj index page text select imageId@).
+auiNotebookInsertPage :: AuiNotebook  a -> Int -> Window  c -> String -> Bool -> Int ->  IO Bool
+auiNotebookInsertPage _obj index _page _text select imageId 
+  = withBoolResult $
+    withObjectRef "auiNotebookInsertPage" _obj $ \cobj__obj -> 
+    withObjectPtr _page $ \cobj__page -> 
+    withStringPtr _text $ \cobj__text -> 
+    wxAuiNotebook_InsertPage cobj__obj  (toCInt index)  cobj__page  cobj__text  (toCBool select)  (toCInt imageId)  
+foreign import ccall "wxAuiNotebook_InsertPage" wxAuiNotebook_InsertPage :: Ptr (TAuiNotebook a) -> CInt -> Ptr (TWindow c) -> Ptr (TWxString d) -> CBool -> CInt -> IO CBool
+
+-- | usage: (@auiNotebookInsertPageWithBitmap obj pageidx page caption select bitmap@).
+auiNotebookInsertPageWithBitmap :: AuiNotebook  a -> Int -> Window  c -> String -> Bool -> Bitmap  f ->  IO Bool
+auiNotebookInsertPageWithBitmap _obj pageidx _page _caption select _bitmap 
+  = withBoolResult $
+    withObjectRef "auiNotebookInsertPageWithBitmap" _obj $ \cobj__obj -> 
+    withObjectPtr _page $ \cobj__page -> 
+    withStringPtr _caption $ \cobj__caption -> 
+    withObjectPtr _bitmap $ \cobj__bitmap -> 
+    wxAuiNotebook_InsertPageWithBitmap cobj__obj  (toCInt pageidx)  cobj__page  cobj__caption  (toCBool select)  cobj__bitmap  
+foreign import ccall "wxAuiNotebook_InsertPageWithBitmap" wxAuiNotebook_InsertPageWithBitmap :: Ptr (TAuiNotebook a) -> CInt -> Ptr (TWindow c) -> Ptr (TWxString d) -> CBool -> Ptr (TBitmap f) -> IO CBool
+
+-- | usage: (@auiNotebookPageActive obj@).
+auiNotebookPageActive :: AuiNotebookPage  a ->  IO Bool
+auiNotebookPageActive _obj 
+  = withBoolResult $
+    withObjectRef "auiNotebookPageActive" _obj $ \cobj__obj -> 
+    wxAuiNotebookPage_Active cobj__obj  
+foreign import ccall "wxAuiNotebookPage_Active" wxAuiNotebookPage_Active :: Ptr (TAuiNotebookPage a) -> IO CBool
+
+-- | usage: (@auiNotebookPageArrayCreate@).
+auiNotebookPageArrayCreate ::  IO (AuiNotebookPageArray  ())
+auiNotebookPageArrayCreate 
+  = withObjectResult $
+    wxAuiNotebookPageArray_Create 
+foreign import ccall "wxAuiNotebookPageArray_Create" wxAuiNotebookPageArray_Create :: IO (Ptr (TAuiNotebookPageArray ()))
+
+-- | usage: (@auiNotebookPageArrayDelete obj@).
+auiNotebookPageArrayDelete :: AuiNotebookPageArray  a ->  IO ()
+auiNotebookPageArrayDelete _obj 
+  = withObjectRef "auiNotebookPageArrayDelete" _obj $ \cobj__obj -> 
+    wxAuiNotebookPageArray_Delete cobj__obj  
+foreign import ccall "wxAuiNotebookPageArray_Delete" wxAuiNotebookPageArray_Delete :: Ptr (TAuiNotebookPageArray a) -> IO ()
+
+-- | usage: (@auiNotebookPageArrayGetCount obj@).
+auiNotebookPageArrayGetCount :: AuiNotebookPageArray  a ->  IO Int
+auiNotebookPageArrayGetCount _obj 
+  = withIntResult $
+    withObjectRef "auiNotebookPageArrayGetCount" _obj $ \cobj__obj -> 
+    wxAuiNotebookPageArray_GetCount cobj__obj  
+foreign import ccall "wxAuiNotebookPageArray_GetCount" wxAuiNotebookPageArray_GetCount :: Ptr (TAuiNotebookPageArray a) -> IO CInt
+
+-- | usage: (@auiNotebookPageArrayItem obj idx@).
+auiNotebookPageArrayItem :: AuiNotebookPageArray  a -> Int ->  IO (AuiNotebookPage  ())
+auiNotebookPageArrayItem _obj _idx 
+  = withObjectResult $
+    withObjectRef "auiNotebookPageArrayItem" _obj $ \cobj__obj -> 
+    wxAuiNotebookPageArray_Item cobj__obj  (toCInt _idx)  
+foreign import ccall "wxAuiNotebookPageArray_Item" wxAuiNotebookPageArray_Item :: Ptr (TAuiNotebookPageArray a) -> CInt -> IO (Ptr (TAuiNotebookPage ()))
+
+-- | usage: (@auiNotebookPageBitmap obj@).
+auiNotebookPageBitmap :: AuiNotebookPage  a ->  IO (Bitmap  ())
+auiNotebookPageBitmap _obj 
+  = withManagedBitmapResult $
+    withObjectRef "auiNotebookPageBitmap" _obj $ \cobj__obj -> 
+    wxAuiNotebookPage_Bitmap cobj__obj  
+foreign import ccall "wxAuiNotebookPage_Bitmap" wxAuiNotebookPage_Bitmap :: Ptr (TAuiNotebookPage a) -> IO (Ptr (TBitmap ()))
+
+-- | usage: (@auiNotebookPageCaption obj@).
+auiNotebookPageCaption :: AuiNotebookPage  a ->  IO (String)
+auiNotebookPageCaption _obj 
+  = withManagedStringResult $
+    withObjectRef "auiNotebookPageCaption" _obj $ \cobj__obj -> 
+    wxAuiNotebookPage_Caption cobj__obj  
+foreign import ccall "wxAuiNotebookPage_Caption" wxAuiNotebookPage_Caption :: Ptr (TAuiNotebookPage a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@auiNotebookPageRect obj@).
+auiNotebookPageRect :: AuiNotebookPage  a ->  IO (Rect)
+auiNotebookPageRect _obj 
+  = withWxRectResult $
+    withObjectRef "auiNotebookPageRect" _obj $ \cobj__obj -> 
+    wxAuiNotebookPage_Rect cobj__obj  
+foreign import ccall "wxAuiNotebookPage_Rect" wxAuiNotebookPage_Rect :: Ptr (TAuiNotebookPage a) -> IO (Ptr (TWxRect ()))
+
+-- | usage: (@auiNotebookPageTooltip obj@).
+auiNotebookPageTooltip :: AuiNotebookPage  a ->  IO (String)
+auiNotebookPageTooltip _obj 
+  = withManagedStringResult $
+    withObjectRef "auiNotebookPageTooltip" _obj $ \cobj__obj -> 
+    wxAuiNotebookPage_Tooltip cobj__obj  
+foreign import ccall "wxAuiNotebookPage_Tooltip" wxAuiNotebookPage_Tooltip :: Ptr (TAuiNotebookPage a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@auiNotebookPageWindow obj@).
+auiNotebookPageWindow :: AuiNotebookPage  a ->  IO (Window  ())
+auiNotebookPageWindow _obj 
+  = withObjectResult $
+    withObjectRef "auiNotebookPageWindow" _obj $ \cobj__obj -> 
+    wxAuiNotebookPage_Window cobj__obj  
+foreign import ccall "wxAuiNotebookPage_Window" wxAuiNotebookPage_Window :: Ptr (TAuiNotebookPage a) -> IO (Ptr (TWindow ()))
+
+-- | usage: (@auiNotebookRemovePage obj page@).
+auiNotebookRemovePage :: AuiNotebook  a -> Int ->  IO Bool
+auiNotebookRemovePage _obj page 
+  = withBoolResult $
+    withObjectRef "auiNotebookRemovePage" _obj $ \cobj__obj -> 
+    wxAuiNotebook_RemovePage cobj__obj  (toCInt page)  
+foreign import ccall "wxAuiNotebook_RemovePage" wxAuiNotebook_RemovePage :: Ptr (TAuiNotebook a) -> CInt -> IO CBool
+
+-- | usage: (@auiNotebookSetArtProvider obj art@).
+auiNotebookSetArtProvider :: AuiNotebook  a -> AuiTabArt  b ->  IO ()
+auiNotebookSetArtProvider _obj _art 
+  = withObjectRef "auiNotebookSetArtProvider" _obj $ \cobj__obj -> 
+    withObjectPtr _art $ \cobj__art -> 
+    wxAuiNotebook_SetArtProvider cobj__obj  cobj__art  
+foreign import ccall "wxAuiNotebook_SetArtProvider" wxAuiNotebook_SetArtProvider :: Ptr (TAuiNotebook a) -> Ptr (TAuiTabArt b) -> IO ()
+
+-- | usage: (@auiNotebookSetFont obj font@).
+auiNotebookSetFont :: AuiNotebook  a -> Font  b ->  IO Bool
+auiNotebookSetFont _obj _font 
+  = withBoolResult $
+    withObjectRef "auiNotebookSetFont" _obj $ \cobj__obj -> 
+    withObjectPtr _font $ \cobj__font -> 
+    wxAuiNotebook_SetFont cobj__obj  cobj__font  
+foreign import ccall "wxAuiNotebook_SetFont" wxAuiNotebook_SetFont :: Ptr (TAuiNotebook a) -> Ptr (TFont b) -> IO CBool
+
+-- | usage: (@auiNotebookSetMeasuringFont obj font@).
+auiNotebookSetMeasuringFont :: AuiNotebook  a -> Font  b ->  IO ()
+auiNotebookSetMeasuringFont _obj _font 
+  = withObjectRef "auiNotebookSetMeasuringFont" _obj $ \cobj__obj -> 
+    withObjectPtr _font $ \cobj__font -> 
+    wxAuiNotebook_SetMeasuringFont cobj__obj  cobj__font  
+foreign import ccall "wxAuiNotebook_SetMeasuringFont" wxAuiNotebook_SetMeasuringFont :: Ptr (TAuiNotebook a) -> Ptr (TFont b) -> IO ()
+
+-- | usage: (@auiNotebookSetNormalFont obj font@).
+auiNotebookSetNormalFont :: AuiNotebook  a -> Font  b ->  IO ()
+auiNotebookSetNormalFont _obj _font 
+  = withObjectRef "auiNotebookSetNormalFont" _obj $ \cobj__obj -> 
+    withObjectPtr _font $ \cobj__font -> 
+    wxAuiNotebook_SetNormalFont cobj__obj  cobj__font  
+foreign import ccall "wxAuiNotebook_SetNormalFont" wxAuiNotebook_SetNormalFont :: Ptr (TAuiNotebook a) -> Ptr (TFont b) -> IO ()
+
+-- | usage: (@auiNotebookSetPageBitmap obj page bitmap@).
+auiNotebookSetPageBitmap :: AuiNotebook  a -> Int -> Bitmap  c ->  IO Bool
+auiNotebookSetPageBitmap _obj page _bitmap 
+  = withBoolResult $
+    withObjectRef "auiNotebookSetPageBitmap" _obj $ \cobj__obj -> 
+    withObjectPtr _bitmap $ \cobj__bitmap -> 
+    wxAuiNotebook_SetPageBitmap cobj__obj  (toCInt page)  cobj__bitmap  
+foreign import ccall "wxAuiNotebook_SetPageBitmap" wxAuiNotebook_SetPageBitmap :: Ptr (TAuiNotebook a) -> CInt -> Ptr (TBitmap c) -> IO CBool
+
+-- | usage: (@auiNotebookSetPageImage obj n imageId@).
+auiNotebookSetPageImage :: AuiNotebook  a -> Int -> Int ->  IO Bool
+auiNotebookSetPageImage _obj n imageId 
+  = withBoolResult $
+    withObjectRef "auiNotebookSetPageImage" _obj $ \cobj__obj -> 
+    wxAuiNotebook_SetPageImage cobj__obj  (toCInt n)  (toCInt imageId)  
+foreign import ccall "wxAuiNotebook_SetPageImage" wxAuiNotebook_SetPageImage :: Ptr (TAuiNotebook a) -> CInt -> CInt -> IO CBool
+
+-- | usage: (@auiNotebookSetPageText obj page text@).
+auiNotebookSetPageText :: AuiNotebook  a -> Int -> String ->  IO Bool
+auiNotebookSetPageText _obj page _text 
+  = withBoolResult $
+    withObjectRef "auiNotebookSetPageText" _obj $ \cobj__obj -> 
+    withStringPtr _text $ \cobj__text -> 
+    wxAuiNotebook_SetPageText cobj__obj  (toCInt page)  cobj__text  
+foreign import ccall "wxAuiNotebook_SetPageText" wxAuiNotebook_SetPageText :: Ptr (TAuiNotebook a) -> CInt -> Ptr (TWxString c) -> IO CBool
+
+-- | usage: (@auiNotebookSetPageToolTip obj page text@).
+auiNotebookSetPageToolTip :: AuiNotebook  a -> Int -> String ->  IO Bool
+auiNotebookSetPageToolTip _obj page _text 
+  = withBoolResult $
+    withObjectRef "auiNotebookSetPageToolTip" _obj $ \cobj__obj -> 
+    withStringPtr _text $ \cobj__text -> 
+    wxAuiNotebook_SetPageToolTip cobj__obj  (toCInt page)  cobj__text  
+foreign import ccall "wxAuiNotebook_SetPageToolTip" wxAuiNotebook_SetPageToolTip :: Ptr (TAuiNotebook a) -> CInt -> Ptr (TWxString c) -> IO CBool
+
+-- | usage: (@auiNotebookSetSelectedFont obj font@).
+auiNotebookSetSelectedFont :: AuiNotebook  a -> Font  b ->  IO ()
+auiNotebookSetSelectedFont _obj _font 
+  = withObjectRef "auiNotebookSetSelectedFont" _obj $ \cobj__obj -> 
+    withObjectPtr _font $ \cobj__font -> 
+    wxAuiNotebook_SetSelectedFont cobj__obj  cobj__font  
+foreign import ccall "wxAuiNotebook_SetSelectedFont" wxAuiNotebook_SetSelectedFont :: Ptr (TAuiNotebook a) -> Ptr (TFont b) -> IO ()
+
+-- | usage: (@auiNotebookSetSelection obj newpage@).
+auiNotebookSetSelection :: AuiNotebook  a -> Int ->  IO Int
+auiNotebookSetSelection _obj newpage 
+  = withIntResult $
+    withObjectRef "auiNotebookSetSelection" _obj $ \cobj__obj -> 
+    wxAuiNotebook_SetSelection cobj__obj  (toCInt newpage)  
+foreign import ccall "wxAuiNotebook_SetSelection" wxAuiNotebook_SetSelection :: Ptr (TAuiNotebook a) -> CInt -> IO CInt
+
+-- | usage: (@auiNotebookSetTabCtrlHeight obj height@).
+auiNotebookSetTabCtrlHeight :: AuiNotebook  a -> Int ->  IO ()
+auiNotebookSetTabCtrlHeight _obj height 
+  = withObjectRef "auiNotebookSetTabCtrlHeight" _obj $ \cobj__obj -> 
+    wxAuiNotebook_SetTabCtrlHeight cobj__obj  (toCInt height)  
+foreign import ccall "wxAuiNotebook_SetTabCtrlHeight" wxAuiNotebook_SetTabCtrlHeight :: Ptr (TAuiNotebook a) -> CInt -> IO ()
+
+-- | usage: (@auiNotebookSetUniformBitmapSize obj widthheight@).
+auiNotebookSetUniformBitmapSize :: AuiNotebook  a -> Size ->  IO ()
+auiNotebookSetUniformBitmapSize _obj _widthheight 
+  = withObjectRef "auiNotebookSetUniformBitmapSize" _obj $ \cobj__obj -> 
+    wxAuiNotebook_SetUniformBitmapSize cobj__obj  (toCIntSizeW _widthheight) (toCIntSizeH _widthheight)  
+foreign import ccall "wxAuiNotebook_SetUniformBitmapSize" wxAuiNotebook_SetUniformBitmapSize :: Ptr (TAuiNotebook a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@auiNotebookShowWindowMenu obj@).
+auiNotebookShowWindowMenu :: AuiNotebook  a ->  IO Bool
+auiNotebookShowWindowMenu _obj 
+  = withBoolResult $
+    withObjectRef "auiNotebookShowWindowMenu" _obj $ \cobj__obj -> 
+    wxAuiNotebook_ShowWindowMenu cobj__obj  
+foreign import ccall "wxAuiNotebook_ShowWindowMenu" wxAuiNotebook_ShowWindowMenu :: Ptr (TAuiNotebook a) -> IO CBool
+
+-- | usage: (@auiNotebookSplit obj page direction@).
+auiNotebookSplit :: AuiNotebook  a -> Int -> Int ->  IO ()
+auiNotebookSplit _obj page direction 
+  = withObjectRef "auiNotebookSplit" _obj $ \cobj__obj -> 
+    wxAuiNotebook_Split cobj__obj  (toCInt page)  (toCInt direction)  
+foreign import ccall "wxAuiNotebook_Split" wxAuiNotebook_Split :: Ptr (TAuiNotebook a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@auiPaneInfoArrayCreate@).
+auiPaneInfoArrayCreate ::  IO (AuiPaneInfoArray  ())
+auiPaneInfoArrayCreate 
+  = withObjectResult $
+    wxAuiPaneInfoArray_Create 
+foreign import ccall "wxAuiPaneInfoArray_Create" wxAuiPaneInfoArray_Create :: IO (Ptr (TAuiPaneInfoArray ()))
+
+-- | usage: (@auiPaneInfoArrayDelete obj@).
+auiPaneInfoArrayDelete :: AuiPaneInfoArray  a ->  IO ()
+auiPaneInfoArrayDelete _obj 
+  = withObjectRef "auiPaneInfoArrayDelete" _obj $ \cobj__obj -> 
+    wxAuiPaneInfoArray_Delete cobj__obj  
+foreign import ccall "wxAuiPaneInfoArray_Delete" wxAuiPaneInfoArray_Delete :: Ptr (TAuiPaneInfoArray a) -> IO ()
+
+-- | usage: (@auiPaneInfoArrayGetCount obj@).
+auiPaneInfoArrayGetCount :: AuiPaneInfoArray  a ->  IO Int
+auiPaneInfoArrayGetCount _obj 
+  = withIntResult $
+    withObjectRef "auiPaneInfoArrayGetCount" _obj $ \cobj__obj -> 
+    wxAuiPaneInfoArray_GetCount cobj__obj  
+foreign import ccall "wxAuiPaneInfoArray_GetCount" wxAuiPaneInfoArray_GetCount :: Ptr (TAuiPaneInfoArray a) -> IO CInt
+
+-- | usage: (@auiPaneInfoArrayItem obj idx@).
+auiPaneInfoArrayItem :: AuiPaneInfoArray  a -> Int ->  IO (AuiPaneInfo  ())
+auiPaneInfoArrayItem _obj _idx 
+  = withObjectResult $
+    withObjectRef "auiPaneInfoArrayItem" _obj $ \cobj__obj -> 
+    wxAuiPaneInfoArray_Item cobj__obj  (toCInt _idx)  
+foreign import ccall "wxAuiPaneInfoArray_Item" wxAuiPaneInfoArray_Item :: Ptr (TAuiPaneInfoArray a) -> CInt -> IO (Ptr (TAuiPaneInfo ()))
+
+-- | usage: (@auiPaneInfoBestSize obj widthheight@).
+auiPaneInfoBestSize :: AuiPaneInfo  a -> Size ->  IO (AuiPaneInfo  ())
+auiPaneInfoBestSize _obj _widthheight 
+  = withObjectResult $
+    withObjectRef "auiPaneInfoBestSize" _obj $ \cobj__obj -> 
+    wxAuiPaneInfo_BestSize cobj__obj  (toCIntSizeW _widthheight) (toCIntSizeH _widthheight)  
+foreign import ccall "wxAuiPaneInfo_BestSize" wxAuiPaneInfo_BestSize :: Ptr (TAuiPaneInfo a) -> CInt -> CInt -> IO (Ptr (TAuiPaneInfo ()))
+
+-- | usage: (@auiPaneInfoBestSizeXY obj xy@).
+auiPaneInfoBestSizeXY :: AuiPaneInfo  a -> Point ->  IO (AuiPaneInfo  ())
+auiPaneInfoBestSizeXY _obj xy 
+  = withObjectResult $
+    withObjectRef "auiPaneInfoBestSizeXY" _obj $ \cobj__obj -> 
+    wxAuiPaneInfo_BestSizeXY cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  
+foreign import ccall "wxAuiPaneInfo_BestSizeXY" wxAuiPaneInfo_BestSizeXY :: Ptr (TAuiPaneInfo a) -> CInt -> CInt -> IO (Ptr (TAuiPaneInfo ()))
+
+-- | usage: (@auiPaneInfoBottom obj@).
+auiPaneInfoBottom :: AuiPaneInfo  a ->  IO (AuiPaneInfo  ())
+auiPaneInfoBottom _obj 
+  = withObjectResult $
+    withObjectRef "auiPaneInfoBottom" _obj $ \cobj__obj -> 
+    wxAuiPaneInfo_Bottom cobj__obj  
+foreign import ccall "wxAuiPaneInfo_Bottom" wxAuiPaneInfo_Bottom :: Ptr (TAuiPaneInfo a) -> IO (Ptr (TAuiPaneInfo ()))
+
+-- | usage: (@auiPaneInfoBottomDockable obj b@).
+auiPaneInfoBottomDockable :: AuiPaneInfo  a -> Bool ->  IO (AuiPaneInfo  ())
+auiPaneInfoBottomDockable _obj b 
+  = withObjectResult $
+    withObjectRef "auiPaneInfoBottomDockable" _obj $ \cobj__obj -> 
+    wxAuiPaneInfo_BottomDockable cobj__obj  (toCBool b)  
+foreign import ccall "wxAuiPaneInfo_BottomDockable" wxAuiPaneInfo_BottomDockable :: Ptr (TAuiPaneInfo a) -> CBool -> IO (Ptr (TAuiPaneInfo ()))
+
+-- | usage: (@auiPaneInfoCaption obj c@).
+auiPaneInfoCaption :: AuiPaneInfo  a -> String ->  IO (AuiPaneInfo  ())
+auiPaneInfoCaption _obj _c 
+  = withObjectResult $
+    withObjectRef "auiPaneInfoCaption" _obj $ \cobj__obj -> 
+    withStringPtr _c $ \cobj__c -> 
+    wxAuiPaneInfo_Caption cobj__obj  cobj__c  
+foreign import ccall "wxAuiPaneInfo_Caption" wxAuiPaneInfo_Caption :: Ptr (TAuiPaneInfo a) -> Ptr (TWxString b) -> IO (Ptr (TAuiPaneInfo ()))
+
+-- | usage: (@auiPaneInfoCaptionVisible obj visible@).
+auiPaneInfoCaptionVisible :: AuiPaneInfo  a -> Bool ->  IO (AuiPaneInfo  ())
+auiPaneInfoCaptionVisible _obj visible 
+  = withObjectResult $
+    withObjectRef "auiPaneInfoCaptionVisible" _obj $ \cobj__obj -> 
+    wxAuiPaneInfo_CaptionVisible cobj__obj  (toCBool visible)  
+foreign import ccall "wxAuiPaneInfo_CaptionVisible" wxAuiPaneInfo_CaptionVisible :: Ptr (TAuiPaneInfo a) -> CBool -> IO (Ptr (TAuiPaneInfo ()))
+
+-- | usage: (@auiPaneInfoCenter obj@).
+auiPaneInfoCenter :: AuiPaneInfo  a ->  IO (AuiPaneInfo  ())
+auiPaneInfoCenter _obj 
+  = withObjectResult $
+    withObjectRef "auiPaneInfoCenter" _obj $ \cobj__obj -> 
+    wxAuiPaneInfo_Center cobj__obj  
+foreign import ccall "wxAuiPaneInfo_Center" wxAuiPaneInfo_Center :: Ptr (TAuiPaneInfo a) -> IO (Ptr (TAuiPaneInfo ()))
+
+-- | usage: (@auiPaneInfoCenterPane obj@).
+auiPaneInfoCenterPane :: AuiPaneInfo  a ->  IO (AuiPaneInfo  ())
+auiPaneInfoCenterPane _obj 
+  = withObjectResult $
+    withObjectRef "auiPaneInfoCenterPane" _obj $ \cobj__obj -> 
+    wxAuiPaneInfo_CenterPane cobj__obj  
+foreign import ccall "wxAuiPaneInfo_CenterPane" wxAuiPaneInfo_CenterPane :: Ptr (TAuiPaneInfo a) -> IO (Ptr (TAuiPaneInfo ()))
+
+-- | usage: (@auiPaneInfoCentre obj@).
+auiPaneInfoCentre :: AuiPaneInfo  a ->  IO (AuiPaneInfo  ())
+auiPaneInfoCentre _obj 
+  = withObjectResult $
+    withObjectRef "auiPaneInfoCentre" _obj $ \cobj__obj -> 
+    wxAuiPaneInfo_Centre cobj__obj  
+foreign import ccall "wxAuiPaneInfo_Centre" wxAuiPaneInfo_Centre :: Ptr (TAuiPaneInfo a) -> IO (Ptr (TAuiPaneInfo ()))
+
+-- | usage: (@auiPaneInfoCentrePane obj@).
+auiPaneInfoCentrePane :: AuiPaneInfo  a ->  IO (AuiPaneInfo  ())
+auiPaneInfoCentrePane _obj 
+  = withObjectResult $
+    withObjectRef "auiPaneInfoCentrePane" _obj $ \cobj__obj -> 
+    wxAuiPaneInfo_CentrePane cobj__obj  
+foreign import ccall "wxAuiPaneInfo_CentrePane" wxAuiPaneInfo_CentrePane :: Ptr (TAuiPaneInfo a) -> IO (Ptr (TAuiPaneInfo ()))
+
+-- | usage: (@auiPaneInfoCloseButton obj visible@).
+auiPaneInfoCloseButton :: AuiPaneInfo  a -> Bool ->  IO (AuiPaneInfo  ())
+auiPaneInfoCloseButton _obj visible 
+  = withObjectResult $
+    withObjectRef "auiPaneInfoCloseButton" _obj $ \cobj__obj -> 
+    wxAuiPaneInfo_CloseButton cobj__obj  (toCBool visible)  
+foreign import ccall "wxAuiPaneInfo_CloseButton" wxAuiPaneInfo_CloseButton :: Ptr (TAuiPaneInfo a) -> CBool -> IO (Ptr (TAuiPaneInfo ()))
+
+-- | usage: (@auiPaneInfoCopy obj c@).
+auiPaneInfoCopy :: AuiPaneInfo  a -> AuiPaneInfo  b ->  IO (AuiPaneInfo  ())
+auiPaneInfoCopy _obj _c 
+  = withObjectResult $
+    withObjectRef "auiPaneInfoCopy" _obj $ \cobj__obj -> 
+    withObjectPtr _c $ \cobj__c -> 
+    wxAuiPaneInfo_Copy cobj__obj  cobj__c  
+foreign import ccall "wxAuiPaneInfo_Copy" wxAuiPaneInfo_Copy :: Ptr (TAuiPaneInfo a) -> Ptr (TAuiPaneInfo b) -> IO (Ptr (TAuiPaneInfo ()))
+
+-- | usage: (@auiPaneInfoCreate c@).
+auiPaneInfoCreate :: AuiPaneInfo  a ->  IO (AuiPaneInfo  ())
+auiPaneInfoCreate _c 
+  = withObjectResult $
+    withObjectPtr _c $ \cobj__c -> 
+    wxAuiPaneInfo_Create cobj__c  
+foreign import ccall "wxAuiPaneInfo_Create" wxAuiPaneInfo_Create :: Ptr (TAuiPaneInfo a) -> IO (Ptr (TAuiPaneInfo ()))
+
+-- | usage: (@auiPaneInfoCreateDefault@).
+auiPaneInfoCreateDefault ::  IO (AuiPaneInfo  ())
+auiPaneInfoCreateDefault 
+  = withObjectResult $
+    wxAuiPaneInfo_CreateDefault 
+foreign import ccall "wxAuiPaneInfo_CreateDefault" wxAuiPaneInfo_CreateDefault :: IO (Ptr (TAuiPaneInfo ()))
+
+-- | usage: (@auiPaneInfoDefaultPane obj@).
+auiPaneInfoDefaultPane :: AuiPaneInfo  a ->  IO (AuiPaneInfo  ())
+auiPaneInfoDefaultPane _obj 
+  = withObjectResult $
+    withObjectRef "auiPaneInfoDefaultPane" _obj $ \cobj__obj -> 
+    wxAuiPaneInfo_DefaultPane cobj__obj  
+foreign import ccall "wxAuiPaneInfo_DefaultPane" wxAuiPaneInfo_DefaultPane :: Ptr (TAuiPaneInfo a) -> IO (Ptr (TAuiPaneInfo ()))
+
+-- | usage: (@auiPaneInfoDestroyOnClose obj b@).
+auiPaneInfoDestroyOnClose :: AuiPaneInfo  a -> Bool ->  IO (AuiPaneInfo  ())
+auiPaneInfoDestroyOnClose _obj b 
+  = withObjectResult $
+    withObjectRef "auiPaneInfoDestroyOnClose" _obj $ \cobj__obj -> 
+    wxAuiPaneInfo_DestroyOnClose cobj__obj  (toCBool b)  
+foreign import ccall "wxAuiPaneInfo_DestroyOnClose" wxAuiPaneInfo_DestroyOnClose :: Ptr (TAuiPaneInfo a) -> CBool -> IO (Ptr (TAuiPaneInfo ()))
+
+-- | usage: (@auiPaneInfoDirection obj direction@).
+auiPaneInfoDirection :: AuiPaneInfo  a -> Int ->  IO (AuiPaneInfo  ())
+auiPaneInfoDirection _obj direction 
+  = withObjectResult $
+    withObjectRef "auiPaneInfoDirection" _obj $ \cobj__obj -> 
+    wxAuiPaneInfo_Direction cobj__obj  (toCInt direction)  
+foreign import ccall "wxAuiPaneInfo_Direction" wxAuiPaneInfo_Direction :: Ptr (TAuiPaneInfo a) -> CInt -> IO (Ptr (TAuiPaneInfo ()))
+
+-- | usage: (@auiPaneInfoDock obj@).
+auiPaneInfoDock :: AuiPaneInfo  a ->  IO (AuiPaneInfo  ())
+auiPaneInfoDock _obj 
+  = withObjectResult $
+    withObjectRef "auiPaneInfoDock" _obj $ \cobj__obj -> 
+    wxAuiPaneInfo_Dock cobj__obj  
+foreign import ccall "wxAuiPaneInfo_Dock" wxAuiPaneInfo_Dock :: Ptr (TAuiPaneInfo a) -> IO (Ptr (TAuiPaneInfo ()))
+
+-- | usage: (@auiPaneInfoDockFixed obj b@).
+auiPaneInfoDockFixed :: AuiPaneInfo  a -> Bool ->  IO (AuiPaneInfo  ())
+auiPaneInfoDockFixed _obj b 
+  = withObjectResult $
+    withObjectRef "auiPaneInfoDockFixed" _obj $ \cobj__obj -> 
+    wxAuiPaneInfo_DockFixed cobj__obj  (toCBool b)  
+foreign import ccall "wxAuiPaneInfo_DockFixed" wxAuiPaneInfo_DockFixed :: Ptr (TAuiPaneInfo a) -> CBool -> IO (Ptr (TAuiPaneInfo ()))
+
+-- | usage: (@auiPaneInfoDockable obj b@).
+auiPaneInfoDockable :: AuiPaneInfo  a -> Bool ->  IO (AuiPaneInfo  ())
+auiPaneInfoDockable _obj b 
+  = withObjectResult $
+    withObjectRef "auiPaneInfoDockable" _obj $ \cobj__obj -> 
+    wxAuiPaneInfo_Dockable cobj__obj  (toCBool b)  
+foreign import ccall "wxAuiPaneInfo_Dockable" wxAuiPaneInfo_Dockable :: Ptr (TAuiPaneInfo a) -> CBool -> IO (Ptr (TAuiPaneInfo ()))
+
+-- | usage: (@auiPaneInfoFixed obj@).
+auiPaneInfoFixed :: AuiPaneInfo  a ->  IO (AuiPaneInfo  ())
+auiPaneInfoFixed _obj 
+  = withObjectResult $
+    withObjectRef "auiPaneInfoFixed" _obj $ \cobj__obj -> 
+    wxAuiPaneInfo_Fixed cobj__obj  
+foreign import ccall "wxAuiPaneInfo_Fixed" wxAuiPaneInfo_Fixed :: Ptr (TAuiPaneInfo a) -> IO (Ptr (TAuiPaneInfo ()))
+
+-- | usage: (@auiPaneInfoFloat obj@).
+auiPaneInfoFloat :: AuiPaneInfo  a ->  IO (AuiPaneInfo  ())
+auiPaneInfoFloat _obj 
+  = withObjectResult $
+    withObjectRef "auiPaneInfoFloat" _obj $ \cobj__obj -> 
+    wxAuiPaneInfo_Float cobj__obj  
+foreign import ccall "wxAuiPaneInfo_Float" wxAuiPaneInfo_Float :: Ptr (TAuiPaneInfo a) -> IO (Ptr (TAuiPaneInfo ()))
+
+-- | usage: (@auiPaneInfoFloatable obj b@).
+auiPaneInfoFloatable :: AuiPaneInfo  a -> Bool ->  IO (AuiPaneInfo  ())
+auiPaneInfoFloatable _obj b 
+  = withObjectResult $
+    withObjectRef "auiPaneInfoFloatable" _obj $ \cobj__obj -> 
+    wxAuiPaneInfo_Floatable cobj__obj  (toCBool b)  
+foreign import ccall "wxAuiPaneInfo_Floatable" wxAuiPaneInfo_Floatable :: Ptr (TAuiPaneInfo a) -> CBool -> IO (Ptr (TAuiPaneInfo ()))
+
+-- | usage: (@auiPaneInfoFloatingPosition obj xy@).
+auiPaneInfoFloatingPosition :: AuiPaneInfo  a -> Point ->  IO (AuiPaneInfo  ())
+auiPaneInfoFloatingPosition _obj xy 
+  = withObjectResult $
+    withObjectRef "auiPaneInfoFloatingPosition" _obj $ \cobj__obj -> 
+    wxAuiPaneInfo_FloatingPosition cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  
+foreign import ccall "wxAuiPaneInfo_FloatingPosition" wxAuiPaneInfo_FloatingPosition :: Ptr (TAuiPaneInfo a) -> CInt -> CInt -> IO (Ptr (TAuiPaneInfo ()))
+
+-- | usage: (@auiPaneInfoFloatingPositionXY obj xy@).
+auiPaneInfoFloatingPositionXY :: AuiPaneInfo  a -> Point ->  IO (AuiPaneInfo  ())
+auiPaneInfoFloatingPositionXY _obj xy 
+  = withObjectResult $
+    withObjectRef "auiPaneInfoFloatingPositionXY" _obj $ \cobj__obj -> 
+    wxAuiPaneInfo_FloatingPositionXY cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  
+foreign import ccall "wxAuiPaneInfo_FloatingPositionXY" wxAuiPaneInfo_FloatingPositionXY :: Ptr (TAuiPaneInfo a) -> CInt -> CInt -> IO (Ptr (TAuiPaneInfo ()))
+
+-- | usage: (@auiPaneInfoFloatingSize obj widthheight@).
+auiPaneInfoFloatingSize :: AuiPaneInfo  a -> Size ->  IO (AuiPaneInfo  ())
+auiPaneInfoFloatingSize _obj _widthheight 
+  = withObjectResult $
+    withObjectRef "auiPaneInfoFloatingSize" _obj $ \cobj__obj -> 
+    wxAuiPaneInfo_FloatingSize cobj__obj  (toCIntSizeW _widthheight) (toCIntSizeH _widthheight)  
+foreign import ccall "wxAuiPaneInfo_FloatingSize" wxAuiPaneInfo_FloatingSize :: Ptr (TAuiPaneInfo a) -> CInt -> CInt -> IO (Ptr (TAuiPaneInfo ()))
+
+-- | usage: (@auiPaneInfoFloatingSizeXY obj xy@).
+auiPaneInfoFloatingSizeXY :: AuiPaneInfo  a -> Point ->  IO (AuiPaneInfo  ())
+auiPaneInfoFloatingSizeXY _obj xy 
+  = withObjectResult $
+    withObjectRef "auiPaneInfoFloatingSizeXY" _obj $ \cobj__obj -> 
+    wxAuiPaneInfo_FloatingSizeXY cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  
+foreign import ccall "wxAuiPaneInfo_FloatingSizeXY" wxAuiPaneInfo_FloatingSizeXY :: Ptr (TAuiPaneInfo a) -> CInt -> CInt -> IO (Ptr (TAuiPaneInfo ()))
+
+-- | usage: (@auiPaneInfoGripper obj visible@).
+auiPaneInfoGripper :: AuiPaneInfo  a -> Bool ->  IO (AuiPaneInfo  ())
+auiPaneInfoGripper _obj visible 
+  = withObjectResult $
+    withObjectRef "auiPaneInfoGripper" _obj $ \cobj__obj -> 
+    wxAuiPaneInfo_Gripper cobj__obj  (toCBool visible)  
+foreign import ccall "wxAuiPaneInfo_Gripper" wxAuiPaneInfo_Gripper :: Ptr (TAuiPaneInfo a) -> CBool -> IO (Ptr (TAuiPaneInfo ()))
+
+-- | usage: (@auiPaneInfoGripperTop obj attop@).
+auiPaneInfoGripperTop :: AuiPaneInfo  a -> Bool ->  IO (AuiPaneInfo  ())
+auiPaneInfoGripperTop _obj attop 
+  = withObjectResult $
+    withObjectRef "auiPaneInfoGripperTop" _obj $ \cobj__obj -> 
+    wxAuiPaneInfo_GripperTop cobj__obj  (toCBool attop)  
+foreign import ccall "wxAuiPaneInfo_GripperTop" wxAuiPaneInfo_GripperTop :: Ptr (TAuiPaneInfo a) -> CBool -> IO (Ptr (TAuiPaneInfo ()))
+
+-- | usage: (@auiPaneInfoHasBorder obj@).
+auiPaneInfoHasBorder :: AuiPaneInfo  a ->  IO Bool
+auiPaneInfoHasBorder _obj 
+  = withBoolResult $
+    withObjectRef "auiPaneInfoHasBorder" _obj $ \cobj__obj -> 
+    wxAuiPaneInfo_HasBorder cobj__obj  
+foreign import ccall "wxAuiPaneInfo_HasBorder" wxAuiPaneInfo_HasBorder :: Ptr (TAuiPaneInfo a) -> IO CBool
+
+-- | usage: (@auiPaneInfoHasCaption obj@).
+auiPaneInfoHasCaption :: AuiPaneInfo  a ->  IO Bool
+auiPaneInfoHasCaption _obj 
+  = withBoolResult $
+    withObjectRef "auiPaneInfoHasCaption" _obj $ \cobj__obj -> 
+    wxAuiPaneInfo_HasCaption cobj__obj  
+foreign import ccall "wxAuiPaneInfo_HasCaption" wxAuiPaneInfo_HasCaption :: Ptr (TAuiPaneInfo a) -> IO CBool
+
+-- | usage: (@auiPaneInfoHasCloseButton obj@).
+auiPaneInfoHasCloseButton :: AuiPaneInfo  a ->  IO Bool
+auiPaneInfoHasCloseButton _obj 
+  = withBoolResult $
+    withObjectRef "auiPaneInfoHasCloseButton" _obj $ \cobj__obj -> 
+    wxAuiPaneInfo_HasCloseButton cobj__obj  
+foreign import ccall "wxAuiPaneInfo_HasCloseButton" wxAuiPaneInfo_HasCloseButton :: Ptr (TAuiPaneInfo a) -> IO CBool
+
+-- | usage: (@auiPaneInfoHasFlag obj flag@).
+auiPaneInfoHasFlag :: AuiPaneInfo  a -> Int ->  IO Bool
+auiPaneInfoHasFlag _obj flag 
+  = withBoolResult $
+    withObjectRef "auiPaneInfoHasFlag" _obj $ \cobj__obj -> 
+    wxAuiPaneInfo_HasFlag cobj__obj  (toCInt flag)  
+foreign import ccall "wxAuiPaneInfo_HasFlag" wxAuiPaneInfo_HasFlag :: Ptr (TAuiPaneInfo a) -> CInt -> IO CBool
+
+-- | usage: (@auiPaneInfoHasGripper obj@).
+auiPaneInfoHasGripper :: AuiPaneInfo  a ->  IO Bool
+auiPaneInfoHasGripper _obj 
+  = withBoolResult $
+    withObjectRef "auiPaneInfoHasGripper" _obj $ \cobj__obj -> 
+    wxAuiPaneInfo_HasGripper cobj__obj  
+foreign import ccall "wxAuiPaneInfo_HasGripper" wxAuiPaneInfo_HasGripper :: Ptr (TAuiPaneInfo a) -> IO CBool
+
+-- | usage: (@auiPaneInfoHasGripperTop obj@).
+auiPaneInfoHasGripperTop :: AuiPaneInfo  a ->  IO Bool
+auiPaneInfoHasGripperTop _obj 
+  = withBoolResult $
+    withObjectRef "auiPaneInfoHasGripperTop" _obj $ \cobj__obj -> 
+    wxAuiPaneInfo_HasGripperTop cobj__obj  
+foreign import ccall "wxAuiPaneInfo_HasGripperTop" wxAuiPaneInfo_HasGripperTop :: Ptr (TAuiPaneInfo a) -> IO CBool
+
+-- | usage: (@auiPaneInfoHasMaximizeButton obj@).
+auiPaneInfoHasMaximizeButton :: AuiPaneInfo  a ->  IO Bool
+auiPaneInfoHasMaximizeButton _obj 
+  = withBoolResult $
+    withObjectRef "auiPaneInfoHasMaximizeButton" _obj $ \cobj__obj -> 
+    wxAuiPaneInfo_HasMaximizeButton cobj__obj  
+foreign import ccall "wxAuiPaneInfo_HasMaximizeButton" wxAuiPaneInfo_HasMaximizeButton :: Ptr (TAuiPaneInfo a) -> IO CBool
+
+-- | usage: (@auiPaneInfoHasMinimizeButton obj@).
+auiPaneInfoHasMinimizeButton :: AuiPaneInfo  a ->  IO Bool
+auiPaneInfoHasMinimizeButton _obj 
+  = withBoolResult $
+    withObjectRef "auiPaneInfoHasMinimizeButton" _obj $ \cobj__obj -> 
+    wxAuiPaneInfo_HasMinimizeButton cobj__obj  
+foreign import ccall "wxAuiPaneInfo_HasMinimizeButton" wxAuiPaneInfo_HasMinimizeButton :: Ptr (TAuiPaneInfo a) -> IO CBool
+
+-- | usage: (@auiPaneInfoHasPinButton obj@).
+auiPaneInfoHasPinButton :: AuiPaneInfo  a ->  IO Bool
+auiPaneInfoHasPinButton _obj 
+  = withBoolResult $
+    withObjectRef "auiPaneInfoHasPinButton" _obj $ \cobj__obj -> 
+    wxAuiPaneInfo_HasPinButton cobj__obj  
+foreign import ccall "wxAuiPaneInfo_HasPinButton" wxAuiPaneInfo_HasPinButton :: Ptr (TAuiPaneInfo a) -> IO CBool
+
+-- | usage: (@auiPaneInfoHide obj@).
+auiPaneInfoHide :: AuiPaneInfo  a ->  IO (AuiPaneInfo  ())
+auiPaneInfoHide _obj 
+  = withObjectResult $
+    withObjectRef "auiPaneInfoHide" _obj $ \cobj__obj -> 
+    wxAuiPaneInfo_Hide cobj__obj  
+foreign import ccall "wxAuiPaneInfo_Hide" wxAuiPaneInfo_Hide :: Ptr (TAuiPaneInfo a) -> IO (Ptr (TAuiPaneInfo ()))
+
+-- | usage: (@auiPaneInfoIcon obj b@).
+auiPaneInfoIcon :: AuiPaneInfo  a -> Bitmap  b ->  IO (AuiPaneInfo  ())
+auiPaneInfoIcon _obj _b 
+  = withObjectResult $
+    withObjectRef "auiPaneInfoIcon" _obj $ \cobj__obj -> 
+    withObjectPtr _b $ \cobj__b -> 
+    wxAuiPaneInfo_Icon cobj__obj  cobj__b  
+foreign import ccall "wxAuiPaneInfo_Icon" wxAuiPaneInfo_Icon :: Ptr (TAuiPaneInfo a) -> Ptr (TBitmap b) -> IO (Ptr (TAuiPaneInfo ()))
+
+-- | usage: (@auiPaneInfoIsBottomDockable obj@).
+auiPaneInfoIsBottomDockable :: AuiPaneInfo  a ->  IO Bool
+auiPaneInfoIsBottomDockable _obj 
+  = withBoolResult $
+    withObjectRef "auiPaneInfoIsBottomDockable" _obj $ \cobj__obj -> 
+    wxAuiPaneInfo_IsBottomDockable cobj__obj  
+foreign import ccall "wxAuiPaneInfo_IsBottomDockable" wxAuiPaneInfo_IsBottomDockable :: Ptr (TAuiPaneInfo a) -> IO CBool
+
+-- | usage: (@auiPaneInfoIsDockable obj@).
+auiPaneInfoIsDockable :: AuiPaneInfo  a ->  IO Bool
+auiPaneInfoIsDockable _obj 
+  = withBoolResult $
+    withObjectRef "auiPaneInfoIsDockable" _obj $ \cobj__obj -> 
+    wxAuiPaneInfo_IsDockable cobj__obj  
+foreign import ccall "wxAuiPaneInfo_IsDockable" wxAuiPaneInfo_IsDockable :: Ptr (TAuiPaneInfo a) -> IO CBool
+
+-- | usage: (@auiPaneInfoIsDocked obj@).
+auiPaneInfoIsDocked :: AuiPaneInfo  a ->  IO Bool
+auiPaneInfoIsDocked _obj 
+  = withBoolResult $
+    withObjectRef "auiPaneInfoIsDocked" _obj $ \cobj__obj -> 
+    wxAuiPaneInfo_IsDocked cobj__obj  
+foreign import ccall "wxAuiPaneInfo_IsDocked" wxAuiPaneInfo_IsDocked :: Ptr (TAuiPaneInfo a) -> IO CBool
+
+-- | usage: (@auiPaneInfoIsFixed obj@).
+auiPaneInfoIsFixed :: AuiPaneInfo  a ->  IO Bool
+auiPaneInfoIsFixed _obj 
+  = withBoolResult $
+    withObjectRef "auiPaneInfoIsFixed" _obj $ \cobj__obj -> 
+    wxAuiPaneInfo_IsFixed cobj__obj  
+foreign import ccall "wxAuiPaneInfo_IsFixed" wxAuiPaneInfo_IsFixed :: Ptr (TAuiPaneInfo a) -> IO CBool
+
+-- | usage: (@auiPaneInfoIsFloatable obj@).
+auiPaneInfoIsFloatable :: AuiPaneInfo  a ->  IO Bool
+auiPaneInfoIsFloatable _obj 
+  = withBoolResult $
+    withObjectRef "auiPaneInfoIsFloatable" _obj $ \cobj__obj -> 
+    wxAuiPaneInfo_IsFloatable cobj__obj  
+foreign import ccall "wxAuiPaneInfo_IsFloatable" wxAuiPaneInfo_IsFloatable :: Ptr (TAuiPaneInfo a) -> IO CBool
+
+-- | usage: (@auiPaneInfoIsFloating obj@).
+auiPaneInfoIsFloating :: AuiPaneInfo  a ->  IO Bool
+auiPaneInfoIsFloating _obj 
+  = withBoolResult $
+    withObjectRef "auiPaneInfoIsFloating" _obj $ \cobj__obj -> 
+    wxAuiPaneInfo_IsFloating cobj__obj  
+foreign import ccall "wxAuiPaneInfo_IsFloating" wxAuiPaneInfo_IsFloating :: Ptr (TAuiPaneInfo a) -> IO CBool
+
+-- | usage: (@auiPaneInfoIsLeftDockable obj@).
+auiPaneInfoIsLeftDockable :: AuiPaneInfo  a ->  IO Bool
+auiPaneInfoIsLeftDockable _obj 
+  = withBoolResult $
+    withObjectRef "auiPaneInfoIsLeftDockable" _obj $ \cobj__obj -> 
+    wxAuiPaneInfo_IsLeftDockable cobj__obj  
+foreign import ccall "wxAuiPaneInfo_IsLeftDockable" wxAuiPaneInfo_IsLeftDockable :: Ptr (TAuiPaneInfo a) -> IO CBool
+
+-- | usage: (@auiPaneInfoIsMovable obj@).
+auiPaneInfoIsMovable :: AuiPaneInfo  a ->  IO Bool
+auiPaneInfoIsMovable _obj 
+  = withBoolResult $
+    withObjectRef "auiPaneInfoIsMovable" _obj $ \cobj__obj -> 
+    wxAuiPaneInfo_IsMovable cobj__obj  
+foreign import ccall "wxAuiPaneInfo_IsMovable" wxAuiPaneInfo_IsMovable :: Ptr (TAuiPaneInfo a) -> IO CBool
+
+-- | usage: (@auiPaneInfoIsOk obj@).
+auiPaneInfoIsOk :: AuiPaneInfo  a ->  IO Bool
+auiPaneInfoIsOk _obj 
+  = withBoolResult $
+    withObjectRef "auiPaneInfoIsOk" _obj $ \cobj__obj -> 
+    wxAuiPaneInfo_IsOk cobj__obj  
+foreign import ccall "wxAuiPaneInfo_IsOk" wxAuiPaneInfo_IsOk :: Ptr (TAuiPaneInfo a) -> IO CBool
+
+-- | usage: (@auiPaneInfoIsResizable obj@).
+auiPaneInfoIsResizable :: AuiPaneInfo  a ->  IO Bool
+auiPaneInfoIsResizable _obj 
+  = withBoolResult $
+    withObjectRef "auiPaneInfoIsResizable" _obj $ \cobj__obj -> 
+    wxAuiPaneInfo_IsResizable cobj__obj  
+foreign import ccall "wxAuiPaneInfo_IsResizable" wxAuiPaneInfo_IsResizable :: Ptr (TAuiPaneInfo a) -> IO CBool
+
+-- | usage: (@auiPaneInfoIsRightDockable obj@).
+auiPaneInfoIsRightDockable :: AuiPaneInfo  a ->  IO Bool
+auiPaneInfoIsRightDockable _obj 
+  = withBoolResult $
+    withObjectRef "auiPaneInfoIsRightDockable" _obj $ \cobj__obj -> 
+    wxAuiPaneInfo_IsRightDockable cobj__obj  
+foreign import ccall "wxAuiPaneInfo_IsRightDockable" wxAuiPaneInfo_IsRightDockable :: Ptr (TAuiPaneInfo a) -> IO CBool
+
+-- | usage: (@auiPaneInfoIsShown obj@).
+auiPaneInfoIsShown :: AuiPaneInfo  a ->  IO Bool
+auiPaneInfoIsShown _obj 
+  = withBoolResult $
+    withObjectRef "auiPaneInfoIsShown" _obj $ \cobj__obj -> 
+    wxAuiPaneInfo_IsShown cobj__obj  
+foreign import ccall "wxAuiPaneInfo_IsShown" wxAuiPaneInfo_IsShown :: Ptr (TAuiPaneInfo a) -> IO CBool
+
+-- | usage: (@auiPaneInfoIsToolbar obj@).
+auiPaneInfoIsToolbar :: AuiPaneInfo  a ->  IO Bool
+auiPaneInfoIsToolbar _obj 
+  = withBoolResult $
+    withObjectRef "auiPaneInfoIsToolbar" _obj $ \cobj__obj -> 
+    wxAuiPaneInfo_IsToolbar cobj__obj  
+foreign import ccall "wxAuiPaneInfo_IsToolbar" wxAuiPaneInfo_IsToolbar :: Ptr (TAuiPaneInfo a) -> IO CBool
+
+-- | usage: (@auiPaneInfoIsTopDockable obj@).
+auiPaneInfoIsTopDockable :: AuiPaneInfo  a ->  IO Bool
+auiPaneInfoIsTopDockable _obj 
+  = withBoolResult $
+    withObjectRef "auiPaneInfoIsTopDockable" _obj $ \cobj__obj -> 
+    wxAuiPaneInfo_IsTopDockable cobj__obj  
+foreign import ccall "wxAuiPaneInfo_IsTopDockable" wxAuiPaneInfo_IsTopDockable :: Ptr (TAuiPaneInfo a) -> IO CBool
+
+-- | usage: (@auiPaneInfoLayer obj layer@).
+auiPaneInfoLayer :: AuiPaneInfo  a -> Int ->  IO (AuiPaneInfo  ())
+auiPaneInfoLayer _obj layer 
+  = withObjectResult $
+    withObjectRef "auiPaneInfoLayer" _obj $ \cobj__obj -> 
+    wxAuiPaneInfo_Layer cobj__obj  (toCInt layer)  
+foreign import ccall "wxAuiPaneInfo_Layer" wxAuiPaneInfo_Layer :: Ptr (TAuiPaneInfo a) -> CInt -> IO (Ptr (TAuiPaneInfo ()))
+
+-- | usage: (@auiPaneInfoLeft obj@).
+auiPaneInfoLeft :: AuiPaneInfo  a ->  IO (AuiPaneInfo  ())
+auiPaneInfoLeft _obj 
+  = withObjectResult $
+    withObjectRef "auiPaneInfoLeft" _obj $ \cobj__obj -> 
+    wxAuiPaneInfo_Left cobj__obj  
+foreign import ccall "wxAuiPaneInfo_Left" wxAuiPaneInfo_Left :: Ptr (TAuiPaneInfo a) -> IO (Ptr (TAuiPaneInfo ()))
+
+-- | usage: (@auiPaneInfoLeftDockable obj b@).
+auiPaneInfoLeftDockable :: AuiPaneInfo  a -> Bool ->  IO (AuiPaneInfo  ())
+auiPaneInfoLeftDockable _obj b 
+  = withObjectResult $
+    withObjectRef "auiPaneInfoLeftDockable" _obj $ \cobj__obj -> 
+    wxAuiPaneInfo_LeftDockable cobj__obj  (toCBool b)  
+foreign import ccall "wxAuiPaneInfo_LeftDockable" wxAuiPaneInfo_LeftDockable :: Ptr (TAuiPaneInfo a) -> CBool -> IO (Ptr (TAuiPaneInfo ()))
+
+-- | usage: (@auiPaneInfoMaxSize obj widthheight@).
+auiPaneInfoMaxSize :: AuiPaneInfo  a -> Size ->  IO (AuiPaneInfo  ())
+auiPaneInfoMaxSize _obj _widthheight 
+  = withObjectResult $
+    withObjectRef "auiPaneInfoMaxSize" _obj $ \cobj__obj -> 
+    wxAuiPaneInfo_MaxSize cobj__obj  (toCIntSizeW _widthheight) (toCIntSizeH _widthheight)  
+foreign import ccall "wxAuiPaneInfo_MaxSize" wxAuiPaneInfo_MaxSize :: Ptr (TAuiPaneInfo a) -> CInt -> CInt -> IO (Ptr (TAuiPaneInfo ()))
+
+-- | usage: (@auiPaneInfoMaxSizeXY obj xy@).
+auiPaneInfoMaxSizeXY :: AuiPaneInfo  a -> Point ->  IO (AuiPaneInfo  ())
+auiPaneInfoMaxSizeXY _obj xy 
+  = withObjectResult $
+    withObjectRef "auiPaneInfoMaxSizeXY" _obj $ \cobj__obj -> 
+    wxAuiPaneInfo_MaxSizeXY cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  
+foreign import ccall "wxAuiPaneInfo_MaxSizeXY" wxAuiPaneInfo_MaxSizeXY :: Ptr (TAuiPaneInfo a) -> CInt -> CInt -> IO (Ptr (TAuiPaneInfo ()))
+
+-- | usage: (@auiPaneInfoMaximizeButton obj visible@).
+auiPaneInfoMaximizeButton :: AuiPaneInfo  a -> Bool ->  IO (AuiPaneInfo  ())
+auiPaneInfoMaximizeButton _obj visible 
+  = withObjectResult $
+    withObjectRef "auiPaneInfoMaximizeButton" _obj $ \cobj__obj -> 
+    wxAuiPaneInfo_MaximizeButton cobj__obj  (toCBool visible)  
+foreign import ccall "wxAuiPaneInfo_MaximizeButton" wxAuiPaneInfo_MaximizeButton :: Ptr (TAuiPaneInfo a) -> CBool -> IO (Ptr (TAuiPaneInfo ()))
+
+-- | usage: (@auiPaneInfoMinSize obj widthheight@).
+auiPaneInfoMinSize :: AuiPaneInfo  a -> Size ->  IO (AuiPaneInfo  ())
+auiPaneInfoMinSize _obj _widthheight 
+  = withObjectResult $
+    withObjectRef "auiPaneInfoMinSize" _obj $ \cobj__obj -> 
+    wxAuiPaneInfo_MinSize cobj__obj  (toCIntSizeW _widthheight) (toCIntSizeH _widthheight)  
+foreign import ccall "wxAuiPaneInfo_MinSize" wxAuiPaneInfo_MinSize :: Ptr (TAuiPaneInfo a) -> CInt -> CInt -> IO (Ptr (TAuiPaneInfo ()))
+
+-- | usage: (@auiPaneInfoMinSizeXY obj xy@).
+auiPaneInfoMinSizeXY :: AuiPaneInfo  a -> Point ->  IO (AuiPaneInfo  ())
+auiPaneInfoMinSizeXY _obj xy 
+  = withObjectResult $
+    withObjectRef "auiPaneInfoMinSizeXY" _obj $ \cobj__obj -> 
+    wxAuiPaneInfo_MinSizeXY cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  
+foreign import ccall "wxAuiPaneInfo_MinSizeXY" wxAuiPaneInfo_MinSizeXY :: Ptr (TAuiPaneInfo a) -> CInt -> CInt -> IO (Ptr (TAuiPaneInfo ()))
+
+-- | usage: (@auiPaneInfoMinimizeButton obj visible@).
+auiPaneInfoMinimizeButton :: AuiPaneInfo  a -> Bool ->  IO (AuiPaneInfo  ())
+auiPaneInfoMinimizeButton _obj visible 
+  = withObjectResult $
+    withObjectRef "auiPaneInfoMinimizeButton" _obj $ \cobj__obj -> 
+    wxAuiPaneInfo_MinimizeButton cobj__obj  (toCBool visible)  
+foreign import ccall "wxAuiPaneInfo_MinimizeButton" wxAuiPaneInfo_MinimizeButton :: Ptr (TAuiPaneInfo a) -> CBool -> IO (Ptr (TAuiPaneInfo ()))
+
+-- | usage: (@auiPaneInfoMovable obj b@).
+auiPaneInfoMovable :: AuiPaneInfo  a -> Bool ->  IO (AuiPaneInfo  ())
+auiPaneInfoMovable _obj b 
+  = withObjectResult $
+    withObjectRef "auiPaneInfoMovable" _obj $ \cobj__obj -> 
+    wxAuiPaneInfo_Movable cobj__obj  (toCBool b)  
+foreign import ccall "wxAuiPaneInfo_Movable" wxAuiPaneInfo_Movable :: Ptr (TAuiPaneInfo a) -> CBool -> IO (Ptr (TAuiPaneInfo ()))
+
+-- | usage: (@auiPaneInfoName obj n@).
+auiPaneInfoName :: AuiPaneInfo  a -> String ->  IO (AuiPaneInfo  ())
+auiPaneInfoName _obj _n 
+  = withObjectResult $
+    withObjectRef "auiPaneInfoName" _obj $ \cobj__obj -> 
+    withStringPtr _n $ \cobj__n -> 
+    wxAuiPaneInfo_Name cobj__obj  cobj__n  
+foreign import ccall "wxAuiPaneInfo_Name" wxAuiPaneInfo_Name :: Ptr (TAuiPaneInfo a) -> Ptr (TWxString b) -> IO (Ptr (TAuiPaneInfo ()))
+
+-- | usage: (@auiPaneInfoPaneBorder obj visible@).
+auiPaneInfoPaneBorder :: AuiPaneInfo  a -> Bool ->  IO (AuiPaneInfo  ())
+auiPaneInfoPaneBorder _obj visible 
+  = withObjectResult $
+    withObjectRef "auiPaneInfoPaneBorder" _obj $ \cobj__obj -> 
+    wxAuiPaneInfo_PaneBorder cobj__obj  (toCBool visible)  
+foreign import ccall "wxAuiPaneInfo_PaneBorder" wxAuiPaneInfo_PaneBorder :: Ptr (TAuiPaneInfo a) -> CBool -> IO (Ptr (TAuiPaneInfo ()))
+
+-- | usage: (@auiPaneInfoPinButton obj visible@).
+auiPaneInfoPinButton :: AuiPaneInfo  a -> Bool ->  IO (AuiPaneInfo  ())
+auiPaneInfoPinButton _obj visible 
+  = withObjectResult $
+    withObjectRef "auiPaneInfoPinButton" _obj $ \cobj__obj -> 
+    wxAuiPaneInfo_PinButton cobj__obj  (toCBool visible)  
+foreign import ccall "wxAuiPaneInfo_PinButton" wxAuiPaneInfo_PinButton :: Ptr (TAuiPaneInfo a) -> CBool -> IO (Ptr (TAuiPaneInfo ()))
+
+-- | usage: (@auiPaneInfoPosition obj pos@).
+auiPaneInfoPosition :: AuiPaneInfo  a -> Int ->  IO (AuiPaneInfo  ())
+auiPaneInfoPosition _obj pos 
+  = withObjectResult $
+    withObjectRef "auiPaneInfoPosition" _obj $ \cobj__obj -> 
+    wxAuiPaneInfo_Position cobj__obj  (toCInt pos)  
+foreign import ccall "wxAuiPaneInfo_Position" wxAuiPaneInfo_Position :: Ptr (TAuiPaneInfo a) -> CInt -> IO (Ptr (TAuiPaneInfo ()))
+
+-- | usage: (@auiPaneInfoResizable obj resizable@).
+auiPaneInfoResizable :: AuiPaneInfo  a -> Bool ->  IO (AuiPaneInfo  ())
+auiPaneInfoResizable _obj resizable 
+  = withObjectResult $
+    withObjectRef "auiPaneInfoResizable" _obj $ \cobj__obj -> 
+    wxAuiPaneInfo_Resizable cobj__obj  (toCBool resizable)  
+foreign import ccall "wxAuiPaneInfo_Resizable" wxAuiPaneInfo_Resizable :: Ptr (TAuiPaneInfo a) -> CBool -> IO (Ptr (TAuiPaneInfo ()))
+
+-- | usage: (@auiPaneInfoRight obj@).
+auiPaneInfoRight :: AuiPaneInfo  a ->  IO (AuiPaneInfo  ())
+auiPaneInfoRight _obj 
+  = withObjectResult $
+    withObjectRef "auiPaneInfoRight" _obj $ \cobj__obj -> 
+    wxAuiPaneInfo_Right cobj__obj  
+foreign import ccall "wxAuiPaneInfo_Right" wxAuiPaneInfo_Right :: Ptr (TAuiPaneInfo a) -> IO (Ptr (TAuiPaneInfo ()))
+
+-- | usage: (@auiPaneInfoRightDockable obj b@).
+auiPaneInfoRightDockable :: AuiPaneInfo  a -> Bool ->  IO (AuiPaneInfo  ())
+auiPaneInfoRightDockable _obj b 
+  = withObjectResult $
+    withObjectRef "auiPaneInfoRightDockable" _obj $ \cobj__obj -> 
+    wxAuiPaneInfo_RightDockable cobj__obj  (toCBool b)  
+foreign import ccall "wxAuiPaneInfo_RightDockable" wxAuiPaneInfo_RightDockable :: Ptr (TAuiPaneInfo a) -> CBool -> IO (Ptr (TAuiPaneInfo ()))
+
+-- | usage: (@auiPaneInfoRow obj row@).
+auiPaneInfoRow :: AuiPaneInfo  a -> Int ->  IO (AuiPaneInfo  ())
+auiPaneInfoRow _obj row 
+  = withObjectResult $
+    withObjectRef "auiPaneInfoRow" _obj $ \cobj__obj -> 
+    wxAuiPaneInfo_Row cobj__obj  (toCInt row)  
+foreign import ccall "wxAuiPaneInfo_Row" wxAuiPaneInfo_Row :: Ptr (TAuiPaneInfo a) -> CInt -> IO (Ptr (TAuiPaneInfo ()))
+
+-- | usage: (@auiPaneInfoSafeSet obj source@).
+auiPaneInfoSafeSet :: AuiPaneInfo  a -> AuiPaneInfo  b ->  IO ()
+auiPaneInfoSafeSet _obj source 
+  = withObjectRef "auiPaneInfoSafeSet" _obj $ \cobj__obj -> 
+    withObjectPtr source $ \cobj_source -> 
+    wxAuiPaneInfo_SafeSet cobj__obj  cobj_source  
+foreign import ccall "wxAuiPaneInfo_SafeSet" wxAuiPaneInfo_SafeSet :: Ptr (TAuiPaneInfo a) -> Ptr (TAuiPaneInfo b) -> IO ()
+
+-- | usage: (@auiPaneInfoSetFlag obj flag optionstate@).
+auiPaneInfoSetFlag :: AuiPaneInfo  a -> Int -> Bool ->  IO (AuiPaneInfo  ())
+auiPaneInfoSetFlag _obj flag optionstate 
+  = withObjectResult $
+    withObjectRef "auiPaneInfoSetFlag" _obj $ \cobj__obj -> 
+    wxAuiPaneInfo_SetFlag cobj__obj  (toCInt flag)  (toCBool optionstate)  
+foreign import ccall "wxAuiPaneInfo_SetFlag" wxAuiPaneInfo_SetFlag :: Ptr (TAuiPaneInfo a) -> CInt -> CBool -> IO (Ptr (TAuiPaneInfo ()))
+
+-- | usage: (@auiPaneInfoShow obj show@).
+auiPaneInfoShow :: AuiPaneInfo  a -> Bool ->  IO (AuiPaneInfo  ())
+auiPaneInfoShow _obj show 
+  = withObjectResult $
+    withObjectRef "auiPaneInfoShow" _obj $ \cobj__obj -> 
+    wxAuiPaneInfo_Show cobj__obj  (toCBool show)  
+foreign import ccall "wxAuiPaneInfo_Show" wxAuiPaneInfo_Show :: Ptr (TAuiPaneInfo a) -> CBool -> IO (Ptr (TAuiPaneInfo ()))
+
+-- | usage: (@auiPaneInfoToolbarPane obj@).
+auiPaneInfoToolbarPane :: AuiPaneInfo  a ->  IO (AuiPaneInfo  ())
+auiPaneInfoToolbarPane _obj 
+  = withObjectResult $
+    withObjectRef "auiPaneInfoToolbarPane" _obj $ \cobj__obj -> 
+    wxAuiPaneInfo_ToolbarPane cobj__obj  
+foreign import ccall "wxAuiPaneInfo_ToolbarPane" wxAuiPaneInfo_ToolbarPane :: Ptr (TAuiPaneInfo a) -> IO (Ptr (TAuiPaneInfo ()))
+
+-- | usage: (@auiPaneInfoTop obj@).
+auiPaneInfoTop :: AuiPaneInfo  a ->  IO (AuiPaneInfo  ())
+auiPaneInfoTop _obj 
+  = withObjectResult $
+    withObjectRef "auiPaneInfoTop" _obj $ \cobj__obj -> 
+    wxAuiPaneInfo_Top cobj__obj  
+foreign import ccall "wxAuiPaneInfo_Top" wxAuiPaneInfo_Top :: Ptr (TAuiPaneInfo a) -> IO (Ptr (TAuiPaneInfo ()))
+
+-- | usage: (@auiPaneInfoTopDockable obj b@).
+auiPaneInfoTopDockable :: AuiPaneInfo  a -> Bool ->  IO (AuiPaneInfo  ())
+auiPaneInfoTopDockable _obj b 
+  = withObjectResult $
+    withObjectRef "auiPaneInfoTopDockable" _obj $ \cobj__obj -> 
+    wxAuiPaneInfo_TopDockable cobj__obj  (toCBool b)  
+foreign import ccall "wxAuiPaneInfo_TopDockable" wxAuiPaneInfo_TopDockable :: Ptr (TAuiPaneInfo a) -> CBool -> IO (Ptr (TAuiPaneInfo ()))
+
+-- | usage: (@auiPaneInfoWindow obj w@).
+auiPaneInfoWindow :: AuiPaneInfo  a -> Window  b ->  IO (AuiPaneInfo  ())
+auiPaneInfoWindow _obj _w 
+  = withObjectResult $
+    withObjectRef "auiPaneInfoWindow" _obj $ \cobj__obj -> 
+    withObjectPtr _w $ \cobj__w -> 
+    wxAuiPaneInfo_Window cobj__obj  cobj__w  
+foreign import ccall "wxAuiPaneInfo_Window" wxAuiPaneInfo_Window :: Ptr (TAuiPaneInfo a) -> Ptr (TWindow b) -> IO (Ptr (TAuiPaneInfo ()))
+
+-- | usage: (@auiSimpleTabArtClone obj@).
+auiSimpleTabArtClone :: AuiSimpleTabArt  a ->  IO (AuiTabArt  ())
+auiSimpleTabArtClone _obj 
+  = withObjectResult $
+    withObjectRef "auiSimpleTabArtClone" _obj $ \cobj__obj -> 
+    wxAuiSimpleTabArt_Clone cobj__obj  
+foreign import ccall "wxAuiSimpleTabArt_Clone" wxAuiSimpleTabArt_Clone :: Ptr (TAuiSimpleTabArt a) -> IO (Ptr (TAuiTabArt ()))
+
+-- | usage: (@auiSimpleTabArtCreate@).
+auiSimpleTabArtCreate ::  IO (AuiSimpleTabArt  ())
+auiSimpleTabArtCreate 
+  = withObjectResult $
+    wxAuiSimpleTabArt_Create 
+foreign import ccall "wxAuiSimpleTabArt_Create" wxAuiSimpleTabArt_Create :: IO (Ptr (TAuiSimpleTabArt ()))
+
+-- | usage: (@auiSimpleTabArtDrawBackground obj dc wnd rect@).
+auiSimpleTabArtDrawBackground :: AuiSimpleTabArt  a -> DC  b -> Window  c -> Rect ->  IO ()
+auiSimpleTabArtDrawBackground _obj _dc _wnd _rect 
+  = withObjectRef "auiSimpleTabArtDrawBackground" _obj $ \cobj__obj -> 
+    withObjectPtr _dc $ \cobj__dc -> 
+    withObjectPtr _wnd $ \cobj__wnd -> 
+    withWxRectPtr _rect $ \cobj__rect -> 
+    wxAuiSimpleTabArt_DrawBackground cobj__obj  cobj__dc  cobj__wnd  cobj__rect  
+foreign import ccall "wxAuiSimpleTabArt_DrawBackground" wxAuiSimpleTabArt_DrawBackground :: Ptr (TAuiSimpleTabArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TWxRect d) -> IO ()
+
+-- | usage: (@auiSimpleTabArtDrawButton obj dc wnd inRect bitmapId buttonState orientation outRect@).
+auiSimpleTabArtDrawButton :: AuiSimpleTabArt  a -> DC  b -> Window  c -> Rect -> Int -> Int -> Int -> Rect ->  IO ()
+auiSimpleTabArtDrawButton _obj _dc _wnd _inRect bitmapId buttonState orientation _outRect 
+  = withObjectRef "auiSimpleTabArtDrawButton" _obj $ \cobj__obj -> 
+    withObjectPtr _dc $ \cobj__dc -> 
+    withObjectPtr _wnd $ \cobj__wnd -> 
+    withWxRectPtr _inRect $ \cobj__inRect -> 
+    withWxRectPtr _outRect $ \cobj__outRect -> 
+    wxAuiSimpleTabArt_DrawButton cobj__obj  cobj__dc  cobj__wnd  cobj__inRect  (toCInt bitmapId)  (toCInt buttonState)  (toCInt orientation)  cobj__outRect  
+foreign import ccall "wxAuiSimpleTabArt_DrawButton" wxAuiSimpleTabArt_DrawButton :: Ptr (TAuiSimpleTabArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TWxRect d) -> CInt -> CInt -> CInt -> Ptr (TWxRect h) -> IO ()
+
+-- | usage: (@auiSimpleTabArtDrawTab obj dc wnd pane inRect closeButtonState outTabRect outButtonRect xExtent@).
+auiSimpleTabArtDrawTab :: AuiSimpleTabArt  a -> DC  b -> Window  c -> AuiNotebookPage  d -> Rect -> Int -> Rect -> Rect -> Ptr CInt ->  IO ()
+auiSimpleTabArtDrawTab _obj _dc _wnd _pane _inRect closeButtonState _outTabRect _outButtonRect xExtent 
+  = withObjectRef "auiSimpleTabArtDrawTab" _obj $ \cobj__obj -> 
+    withObjectPtr _dc $ \cobj__dc -> 
+    withObjectPtr _wnd $ \cobj__wnd -> 
+    withObjectPtr _pane $ \cobj__pane -> 
+    withWxRectPtr _inRect $ \cobj__inRect -> 
+    withWxRectPtr _outTabRect $ \cobj__outTabRect -> 
+    withWxRectPtr _outButtonRect $ \cobj__outButtonRect -> 
+    wxAuiSimpleTabArt_DrawTab cobj__obj  cobj__dc  cobj__wnd  cobj__pane  cobj__inRect  (toCInt closeButtonState)  cobj__outTabRect  cobj__outButtonRect  xExtent  
+foreign import ccall "wxAuiSimpleTabArt_DrawTab" wxAuiSimpleTabArt_DrawTab :: Ptr (TAuiSimpleTabArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TAuiNotebookPage d) -> Ptr (TWxRect e) -> CInt -> Ptr (TWxRect g) -> Ptr (TWxRect h) -> Ptr CInt -> IO ()
+
+-- | usage: (@auiSimpleTabArtGetBestTabCtrlSize obj wnd pages widthheight@).
+auiSimpleTabArtGetBestTabCtrlSize :: AuiSimpleTabArt  a -> Window  b -> AuiNotebookPageArray  c -> Size ->  IO Int
+auiSimpleTabArtGetBestTabCtrlSize _obj _wnd _pages _widthheight 
+  = withIntResult $
+    withObjectRef "auiSimpleTabArtGetBestTabCtrlSize" _obj $ \cobj__obj -> 
+    withObjectPtr _wnd $ \cobj__wnd -> 
+    withObjectPtr _pages $ \cobj__pages -> 
+    wxAuiSimpleTabArt_GetBestTabCtrlSize cobj__obj  cobj__wnd  cobj__pages  (toCIntSizeW _widthheight) (toCIntSizeH _widthheight)  
+foreign import ccall "wxAuiSimpleTabArt_GetBestTabCtrlSize" wxAuiSimpleTabArt_GetBestTabCtrlSize :: Ptr (TAuiSimpleTabArt a) -> Ptr (TWindow b) -> Ptr (TAuiNotebookPageArray c) -> CInt -> CInt -> IO CInt
+
+-- | usage: (@auiSimpleTabArtGetIndentSize obj@).
+auiSimpleTabArtGetIndentSize :: AuiSimpleTabArt  a ->  IO Int
+auiSimpleTabArtGetIndentSize _obj 
+  = withIntResult $
+    withObjectRef "auiSimpleTabArtGetIndentSize" _obj $ \cobj__obj -> 
+    wxAuiSimpleTabArt_GetIndentSize cobj__obj  
+foreign import ccall "wxAuiSimpleTabArt_GetIndentSize" wxAuiSimpleTabArt_GetIndentSize :: Ptr (TAuiSimpleTabArt a) -> IO CInt
+
+-- | usage: (@auiSimpleTabArtGetTabSize obj dc wnd caption bitmap active closeButtonState xExtent@).
+auiSimpleTabArtGetTabSize :: AuiSimpleTabArt  a -> DC  b -> Window  c -> String -> Bitmap  e -> Bool -> Int -> Ptr CInt ->  IO (Size)
+auiSimpleTabArtGetTabSize _obj _dc _wnd _caption _bitmap active closeButtonState xExtent 
+  = withWxSizeResult $
+    withObjectRef "auiSimpleTabArtGetTabSize" _obj $ \cobj__obj -> 
+    withObjectPtr _dc $ \cobj__dc -> 
+    withObjectPtr _wnd $ \cobj__wnd -> 
+    withStringPtr _caption $ \cobj__caption -> 
+    withObjectPtr _bitmap $ \cobj__bitmap -> 
+    wxAuiSimpleTabArt_GetTabSize cobj__obj  cobj__dc  cobj__wnd  cobj__caption  cobj__bitmap  (toCBool active)  (toCInt closeButtonState)  xExtent  
+foreign import ccall "wxAuiSimpleTabArt_GetTabSize" wxAuiSimpleTabArt_GetTabSize :: Ptr (TAuiSimpleTabArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TWxString d) -> Ptr (TBitmap e) -> CBool -> CInt -> Ptr CInt -> IO (Ptr (TWxSize ()))
+
+-- | usage: (@auiSimpleTabArtSetActiveColour obj colour@).
+auiSimpleTabArtSetActiveColour :: AuiSimpleTabArt  a -> Color ->  IO ()
+auiSimpleTabArtSetActiveColour _obj _colour 
+  = withObjectRef "auiSimpleTabArtSetActiveColour" _obj $ \cobj__obj -> 
+    withColourPtr _colour $ \cobj__colour -> 
+    wxAuiSimpleTabArt_SetActiveColour cobj__obj  cobj__colour  
+foreign import ccall "wxAuiSimpleTabArt_SetActiveColour" wxAuiSimpleTabArt_SetActiveColour :: Ptr (TAuiSimpleTabArt a) -> Ptr (TColour b) -> IO ()
+
+-- | usage: (@auiSimpleTabArtSetColour obj colour@).
+auiSimpleTabArtSetColour :: AuiSimpleTabArt  a -> Color ->  IO ()
+auiSimpleTabArtSetColour _obj _colour 
+  = withObjectRef "auiSimpleTabArtSetColour" _obj $ \cobj__obj -> 
+    withColourPtr _colour $ \cobj__colour -> 
+    wxAuiSimpleTabArt_SetColour cobj__obj  cobj__colour  
+foreign import ccall "wxAuiSimpleTabArt_SetColour" wxAuiSimpleTabArt_SetColour :: Ptr (TAuiSimpleTabArt a) -> Ptr (TColour b) -> IO ()
+
+-- | usage: (@auiSimpleTabArtSetFlags obj flags@).
+auiSimpleTabArtSetFlags :: AuiSimpleTabArt  a -> Int ->  IO ()
+auiSimpleTabArtSetFlags _obj _flags 
+  = withObjectRef "auiSimpleTabArtSetFlags" _obj $ \cobj__obj -> 
+    wxAuiSimpleTabArt_SetFlags cobj__obj  (toCInt _flags)  
+foreign import ccall "wxAuiSimpleTabArt_SetFlags" wxAuiSimpleTabArt_SetFlags :: Ptr (TAuiSimpleTabArt a) -> CInt -> IO ()
+
+-- | usage: (@auiSimpleTabArtSetMeasuringFont obj font@).
+auiSimpleTabArtSetMeasuringFont :: AuiSimpleTabArt  a -> Font  b ->  IO ()
+auiSimpleTabArtSetMeasuringFont _obj _font 
+  = withObjectRef "auiSimpleTabArtSetMeasuringFont" _obj $ \cobj__obj -> 
+    withObjectPtr _font $ \cobj__font -> 
+    wxAuiSimpleTabArt_SetMeasuringFont cobj__obj  cobj__font  
+foreign import ccall "wxAuiSimpleTabArt_SetMeasuringFont" wxAuiSimpleTabArt_SetMeasuringFont :: Ptr (TAuiSimpleTabArt a) -> Ptr (TFont b) -> IO ()
+
+-- | usage: (@auiSimpleTabArtSetNormalFont obj font@).
+auiSimpleTabArtSetNormalFont :: AuiSimpleTabArt  a -> Font  b ->  IO ()
+auiSimpleTabArtSetNormalFont _obj _font 
+  = withObjectRef "auiSimpleTabArtSetNormalFont" _obj $ \cobj__obj -> 
+    withObjectPtr _font $ \cobj__font -> 
+    wxAuiSimpleTabArt_SetNormalFont cobj__obj  cobj__font  
+foreign import ccall "wxAuiSimpleTabArt_SetNormalFont" wxAuiSimpleTabArt_SetNormalFont :: Ptr (TAuiSimpleTabArt a) -> Ptr (TFont b) -> IO ()
+
+-- | usage: (@auiSimpleTabArtSetSelectedFont obj font@).
+auiSimpleTabArtSetSelectedFont :: AuiSimpleTabArt  a -> Font  b ->  IO ()
+auiSimpleTabArtSetSelectedFont _obj _font 
+  = withObjectRef "auiSimpleTabArtSetSelectedFont" _obj $ \cobj__obj -> 
+    withObjectPtr _font $ \cobj__font -> 
+    wxAuiSimpleTabArt_SetSelectedFont cobj__obj  cobj__font  
+foreign import ccall "wxAuiSimpleTabArt_SetSelectedFont" wxAuiSimpleTabArt_SetSelectedFont :: Ptr (TAuiSimpleTabArt a) -> Ptr (TFont b) -> IO ()
+
+-- | usage: (@auiSimpleTabArtSetSizingInfo obj widthheight tabCount@).
+auiSimpleTabArtSetSizingInfo :: AuiSimpleTabArt  a -> Size -> Int ->  IO ()
+auiSimpleTabArtSetSizingInfo _obj _widthheight tabCount 
+  = withObjectRef "auiSimpleTabArtSetSizingInfo" _obj $ \cobj__obj -> 
+    wxAuiSimpleTabArt_SetSizingInfo cobj__obj  (toCIntSizeW _widthheight) (toCIntSizeH _widthheight)  (toCInt tabCount)  
+foreign import ccall "wxAuiSimpleTabArt_SetSizingInfo" wxAuiSimpleTabArt_SetSizingInfo :: Ptr (TAuiSimpleTabArt a) -> CInt -> CInt -> CInt -> IO ()
+
+-- | usage: (@auiSimpleTabArtShowDropDown obj wnd items activeIdx@).
+auiSimpleTabArtShowDropDown :: AuiSimpleTabArt  a -> Window  b -> AuiNotebookPageArray  c -> Int ->  IO Int
+auiSimpleTabArtShowDropDown _obj _wnd _items activeIdx 
+  = withIntResult $
+    withObjectRef "auiSimpleTabArtShowDropDown" _obj $ \cobj__obj -> 
+    withObjectPtr _wnd $ \cobj__wnd -> 
+    withObjectPtr _items $ \cobj__items -> 
+    wxAuiSimpleTabArt_ShowDropDown cobj__obj  cobj__wnd  cobj__items  (toCInt activeIdx)  
+foreign import ccall "wxAuiSimpleTabArt_ShowDropDown" wxAuiSimpleTabArt_ShowDropDown :: Ptr (TAuiSimpleTabArt a) -> Ptr (TWindow b) -> Ptr (TAuiNotebookPageArray c) -> CInt -> IO CInt
+
+-- | usage: (@auiTabArtClone obj@).
+auiTabArtClone :: AuiTabArt  a ->  IO (AuiTabArt  ())
+auiTabArtClone _obj 
+  = withObjectResult $
+    withObjectRef "auiTabArtClone" _obj $ \cobj__obj -> 
+    wxAuiTabArt_Clone cobj__obj  
+foreign import ccall "wxAuiTabArt_Clone" wxAuiTabArt_Clone :: Ptr (TAuiTabArt a) -> IO (Ptr (TAuiTabArt ()))
+
+-- | usage: (@auiTabArtDrawBackground obj dc wnd rect@).
+auiTabArtDrawBackground :: AuiTabArt  a -> DC  b -> Window  c -> Rect ->  IO ()
+auiTabArtDrawBackground _obj _dc _wnd _rect 
+  = withObjectRef "auiTabArtDrawBackground" _obj $ \cobj__obj -> 
+    withObjectPtr _dc $ \cobj__dc -> 
+    withObjectPtr _wnd $ \cobj__wnd -> 
+    withWxRectPtr _rect $ \cobj__rect -> 
+    wxAuiTabArt_DrawBackground cobj__obj  cobj__dc  cobj__wnd  cobj__rect  
+foreign import ccall "wxAuiTabArt_DrawBackground" wxAuiTabArt_DrawBackground :: Ptr (TAuiTabArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TWxRect d) -> IO ()
+
+-- | usage: (@auiTabArtDrawButton obj dc wnd inrect bitmapid buttonstate orientation outrect@).
+auiTabArtDrawButton :: AuiTabArt  a -> DC  b -> Window  c -> Rect -> Int -> Int -> Int -> Rect ->  IO ()
+auiTabArtDrawButton _obj _dc _wnd _inrect bitmapid buttonstate orientation _outrect 
+  = withObjectRef "auiTabArtDrawButton" _obj $ \cobj__obj -> 
+    withObjectPtr _dc $ \cobj__dc -> 
+    withObjectPtr _wnd $ \cobj__wnd -> 
+    withWxRectPtr _inrect $ \cobj__inrect -> 
+    withWxRectPtr _outrect $ \cobj__outrect -> 
+    wxAuiTabArt_DrawButton cobj__obj  cobj__dc  cobj__wnd  cobj__inrect  (toCInt bitmapid)  (toCInt buttonstate)  (toCInt orientation)  cobj__outrect  
+foreign import ccall "wxAuiTabArt_DrawButton" wxAuiTabArt_DrawButton :: Ptr (TAuiTabArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TWxRect d) -> CInt -> CInt -> CInt -> Ptr (TWxRect h) -> IO ()
+
+-- | usage: (@auiTabArtDrawTab obj dc wnd page rect closebuttonstate outtabrect outbuttonrect xextent@).
+auiTabArtDrawTab :: AuiTabArt  a -> DC  b -> Window  c -> AuiNotebookPage  d -> Rect -> Int -> Rect -> Rect -> Ptr CInt ->  IO ()
+auiTabArtDrawTab _obj _dc _wnd _page _rect closebuttonstate _outtabrect _outbuttonrect xextent 
+  = withObjectRef "auiTabArtDrawTab" _obj $ \cobj__obj -> 
+    withObjectPtr _dc $ \cobj__dc -> 
+    withObjectPtr _wnd $ \cobj__wnd -> 
+    withObjectPtr _page $ \cobj__page -> 
+    withWxRectPtr _rect $ \cobj__rect -> 
+    withWxRectPtr _outtabrect $ \cobj__outtabrect -> 
+    withWxRectPtr _outbuttonrect $ \cobj__outbuttonrect -> 
+    wxAuiTabArt_DrawTab cobj__obj  cobj__dc  cobj__wnd  cobj__page  cobj__rect  (toCInt closebuttonstate)  cobj__outtabrect  cobj__outbuttonrect  xextent  
+foreign import ccall "wxAuiTabArt_DrawTab" wxAuiTabArt_DrawTab :: Ptr (TAuiTabArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TAuiNotebookPage d) -> Ptr (TWxRect e) -> CInt -> Ptr (TWxRect g) -> Ptr (TWxRect h) -> Ptr CInt -> IO ()
+
+-- | usage: (@auiTabArtGetBestTabCtrlSize obj wnd pages widthheight@).
+auiTabArtGetBestTabCtrlSize :: AuiTabArt  a -> Window  b -> AuiNotebookPageArray  c -> Size ->  IO Int
+auiTabArtGetBestTabCtrlSize _obj _wnd _pages _widthheight 
+  = withIntResult $
+    withObjectRef "auiTabArtGetBestTabCtrlSize" _obj $ \cobj__obj -> 
+    withObjectPtr _wnd $ \cobj__wnd -> 
+    withObjectPtr _pages $ \cobj__pages -> 
+    wxAuiTabArt_GetBestTabCtrlSize cobj__obj  cobj__wnd  cobj__pages  (toCIntSizeW _widthheight) (toCIntSizeH _widthheight)  
+foreign import ccall "wxAuiTabArt_GetBestTabCtrlSize" wxAuiTabArt_GetBestTabCtrlSize :: Ptr (TAuiTabArt a) -> Ptr (TWindow b) -> Ptr (TAuiNotebookPageArray c) -> CInt -> CInt -> IO CInt
+
+-- | usage: (@auiTabArtGetIndentSize obj@).
+auiTabArtGetIndentSize :: AuiTabArt  a ->  IO Int
+auiTabArtGetIndentSize _obj 
+  = withIntResult $
+    withObjectRef "auiTabArtGetIndentSize" _obj $ \cobj__obj -> 
+    wxAuiTabArt_GetIndentSize cobj__obj  
+foreign import ccall "wxAuiTabArt_GetIndentSize" wxAuiTabArt_GetIndentSize :: Ptr (TAuiTabArt a) -> IO CInt
+
+-- | usage: (@auiTabArtGetTabSize obj dc wnd caption bitmap active closebuttonstate xextent@).
+auiTabArtGetTabSize :: AuiTabArt  a -> DC  b -> Window  c -> String -> Bitmap  e -> Bool -> Int -> Ptr CInt ->  IO (Size)
+auiTabArtGetTabSize _obj _dc _wnd _caption _bitmap active closebuttonstate xextent 
+  = withWxSizeResult $
+    withObjectRef "auiTabArtGetTabSize" _obj $ \cobj__obj -> 
+    withObjectPtr _dc $ \cobj__dc -> 
+    withObjectPtr _wnd $ \cobj__wnd -> 
+    withStringPtr _caption $ \cobj__caption -> 
+    withObjectPtr _bitmap $ \cobj__bitmap -> 
+    wxAuiTabArt_GetTabSize cobj__obj  cobj__dc  cobj__wnd  cobj__caption  cobj__bitmap  (toCBool active)  (toCInt closebuttonstate)  xextent  
+foreign import ccall "wxAuiTabArt_GetTabSize" wxAuiTabArt_GetTabSize :: Ptr (TAuiTabArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TWxString d) -> Ptr (TBitmap e) -> CBool -> CInt -> Ptr CInt -> IO (Ptr (TWxSize ()))
+
+-- | usage: (@auiTabArtSetActiveColour obj colour@).
+auiTabArtSetActiveColour :: AuiTabArt  a -> Color ->  IO ()
+auiTabArtSetActiveColour _obj _colour 
+  = withObjectRef "auiTabArtSetActiveColour" _obj $ \cobj__obj -> 
+    withColourPtr _colour $ \cobj__colour -> 
+    wxAuiTabArt_SetActiveColour cobj__obj  cobj__colour  
+foreign import ccall "wxAuiTabArt_SetActiveColour" wxAuiTabArt_SetActiveColour :: Ptr (TAuiTabArt a) -> Ptr (TColour b) -> IO ()
+
+-- | usage: (@auiTabArtSetColour obj colour@).
+auiTabArtSetColour :: AuiTabArt  a -> Color ->  IO ()
+auiTabArtSetColour _obj _colour 
+  = withObjectRef "auiTabArtSetColour" _obj $ \cobj__obj -> 
+    withColourPtr _colour $ \cobj__colour -> 
+    wxAuiTabArt_SetColour cobj__obj  cobj__colour  
+foreign import ccall "wxAuiTabArt_SetColour" wxAuiTabArt_SetColour :: Ptr (TAuiTabArt a) -> Ptr (TColour b) -> IO ()
+
+-- | usage: (@auiTabArtSetFlags obj flags@).
+auiTabArtSetFlags :: AuiTabArt  a -> Int ->  IO ()
+auiTabArtSetFlags _obj _flags 
+  = withObjectRef "auiTabArtSetFlags" _obj $ \cobj__obj -> 
+    wxAuiTabArt_SetFlags cobj__obj  (toCInt _flags)  
+foreign import ccall "wxAuiTabArt_SetFlags" wxAuiTabArt_SetFlags :: Ptr (TAuiTabArt a) -> CInt -> IO ()
+
+-- | usage: (@auiTabArtSetMeasuringFont obj font@).
+auiTabArtSetMeasuringFont :: AuiTabArt  a -> Font  b ->  IO ()
+auiTabArtSetMeasuringFont _obj _font 
+  = withObjectRef "auiTabArtSetMeasuringFont" _obj $ \cobj__obj -> 
+    withObjectPtr _font $ \cobj__font -> 
+    wxAuiTabArt_SetMeasuringFont cobj__obj  cobj__font  
+foreign import ccall "wxAuiTabArt_SetMeasuringFont" wxAuiTabArt_SetMeasuringFont :: Ptr (TAuiTabArt a) -> Ptr (TFont b) -> IO ()
+
+-- | usage: (@auiTabArtSetNormalFont obj font@).
+auiTabArtSetNormalFont :: AuiTabArt  a -> Font  b ->  IO ()
+auiTabArtSetNormalFont _obj _font 
+  = withObjectRef "auiTabArtSetNormalFont" _obj $ \cobj__obj -> 
+    withObjectPtr _font $ \cobj__font -> 
+    wxAuiTabArt_SetNormalFont cobj__obj  cobj__font  
+foreign import ccall "wxAuiTabArt_SetNormalFont" wxAuiTabArt_SetNormalFont :: Ptr (TAuiTabArt a) -> Ptr (TFont b) -> IO ()
+
+-- | usage: (@auiTabArtSetSelectedFont obj font@).
+auiTabArtSetSelectedFont :: AuiTabArt  a -> Font  b ->  IO ()
+auiTabArtSetSelectedFont _obj _font 
+  = withObjectRef "auiTabArtSetSelectedFont" _obj $ \cobj__obj -> 
+    withObjectPtr _font $ \cobj__font -> 
+    wxAuiTabArt_SetSelectedFont cobj__obj  cobj__font  
+foreign import ccall "wxAuiTabArt_SetSelectedFont" wxAuiTabArt_SetSelectedFont :: Ptr (TAuiTabArt a) -> Ptr (TFont b) -> IO ()
+
+-- | usage: (@auiTabArtSetSizingInfo obj widthheight tabcount@).
+auiTabArtSetSizingInfo :: AuiTabArt  a -> Size -> Int ->  IO ()
+auiTabArtSetSizingInfo _obj _widthheight tabcount 
+  = withObjectRef "auiTabArtSetSizingInfo" _obj $ \cobj__obj -> 
+    wxAuiTabArt_SetSizingInfo cobj__obj  (toCIntSizeW _widthheight) (toCIntSizeH _widthheight)  (toCInt tabcount)  
+foreign import ccall "wxAuiTabArt_SetSizingInfo" wxAuiTabArt_SetSizingInfo :: Ptr (TAuiTabArt a) -> CInt -> CInt -> CInt -> IO ()
+
+-- | usage: (@auiTabContainerAddButton obj id location normalBitmap disabledBitmap@).
+auiTabContainerAddButton :: AuiTabContainer  a -> Id -> Int -> Bitmap  d -> Bitmap  e ->  IO ()
+auiTabContainerAddButton _obj id location _normalBitmap _disabledBitmap 
+  = withObjectRef "auiTabContainerAddButton" _obj $ \cobj__obj -> 
+    withObjectPtr _normalBitmap $ \cobj__normalBitmap -> 
+    withObjectPtr _disabledBitmap $ \cobj__disabledBitmap -> 
+    wxAuiTabContainer_AddButton cobj__obj  (toCInt id)  (toCInt location)  cobj__normalBitmap  cobj__disabledBitmap  
+foreign import ccall "wxAuiTabContainer_AddButton" wxAuiTabContainer_AddButton :: Ptr (TAuiTabContainer a) -> CInt -> CInt -> Ptr (TBitmap d) -> Ptr (TBitmap e) -> IO ()
+
+-- | usage: (@auiTabContainerAddPage obj page info@).
+auiTabContainerAddPage :: AuiTabContainer  a -> Window  b -> AuiNotebookPage  c ->  IO Bool
+auiTabContainerAddPage _obj _page _info 
+  = withBoolResult $
+    withObjectRef "auiTabContainerAddPage" _obj $ \cobj__obj -> 
+    withObjectPtr _page $ \cobj__page -> 
+    withObjectPtr _info $ \cobj__info -> 
+    wxAuiTabContainer_AddPage cobj__obj  cobj__page  cobj__info  
+foreign import ccall "wxAuiTabContainer_AddPage" wxAuiTabContainer_AddPage :: Ptr (TAuiTabContainer a) -> Ptr (TWindow b) -> Ptr (TAuiNotebookPage c) -> IO CBool
+
+-- | usage: (@auiTabContainerButtonBitmap obj@).
+auiTabContainerButtonBitmap :: AuiTabContainerButton  a ->  IO (Bitmap  ())
+auiTabContainerButtonBitmap _obj 
+  = withRefBitmap $ \pref -> 
+    withObjectRef "auiTabContainerButtonBitmap" _obj $ \cobj__obj -> 
+    wxAuiTabContainerButton_Bitmap cobj__obj   pref
+foreign import ccall "wxAuiTabContainerButton_Bitmap" wxAuiTabContainerButton_Bitmap :: Ptr (TAuiTabContainerButton a) -> Ptr (TBitmap ()) -> IO ()
+
+-- | usage: (@auiTabContainerButtonCurState obj@).
+auiTabContainerButtonCurState :: AuiTabContainerButton  a ->  IO Int
+auiTabContainerButtonCurState _obj 
+  = withIntResult $
+    withObjectRef "auiTabContainerButtonCurState" _obj $ \cobj__obj -> 
+    wxAuiTabContainerButton_CurState cobj__obj  
+foreign import ccall "wxAuiTabContainerButton_CurState" wxAuiTabContainerButton_CurState :: Ptr (TAuiTabContainerButton a) -> IO CInt
+
+-- | usage: (@auiTabContainerButtonDisBitmap obj@).
+auiTabContainerButtonDisBitmap :: AuiTabContainerButton  a ->  IO (Bitmap  ())
+auiTabContainerButtonDisBitmap _obj 
+  = withRefBitmap $ \pref -> 
+    withObjectRef "auiTabContainerButtonDisBitmap" _obj $ \cobj__obj -> 
+    wxAuiTabContainerButton_DisBitmap cobj__obj   pref
+foreign import ccall "wxAuiTabContainerButton_DisBitmap" wxAuiTabContainerButton_DisBitmap :: Ptr (TAuiTabContainerButton a) -> Ptr (TBitmap ()) -> IO ()
+
+-- | usage: (@auiTabContainerButtonId obj@).
+auiTabContainerButtonId :: AuiTabContainerButton  a ->  IO Int
+auiTabContainerButtonId _obj 
+  = withIntResult $
+    withObjectRef "auiTabContainerButtonId" _obj $ \cobj__obj -> 
+    wxAuiTabContainerButton_Id cobj__obj  
+foreign import ccall "wxAuiTabContainerButton_Id" wxAuiTabContainerButton_Id :: Ptr (TAuiTabContainerButton a) -> IO CInt
+
+-- | usage: (@auiTabContainerButtonLocation obj@).
+auiTabContainerButtonLocation :: AuiTabContainerButton  a ->  IO Int
+auiTabContainerButtonLocation _obj 
+  = withIntResult $
+    withObjectRef "auiTabContainerButtonLocation" _obj $ \cobj__obj -> 
+    wxAuiTabContainerButton_Location cobj__obj  
+foreign import ccall "wxAuiTabContainerButton_Location" wxAuiTabContainerButton_Location :: Ptr (TAuiTabContainerButton a) -> IO CInt
+
+-- | usage: (@auiTabContainerButtonRect obj@).
+auiTabContainerButtonRect :: AuiTabContainerButton  a ->  IO (Rect)
+auiTabContainerButtonRect _obj 
+  = withWxRectResult $
+    withObjectRef "auiTabContainerButtonRect" _obj $ \cobj__obj -> 
+    wxAuiTabContainerButton_Rect cobj__obj  
+foreign import ccall "wxAuiTabContainerButton_Rect" wxAuiTabContainerButton_Rect :: Ptr (TAuiTabContainerButton a) -> IO (Ptr (TWxRect ()))
+
+-- | usage: (@auiTabContainerCreate@).
+auiTabContainerCreate ::  IO (AuiTabContainer  ())
+auiTabContainerCreate 
+  = withObjectResult $
+    wxAuiTabContainer_Create 
+foreign import ccall "wxAuiTabContainer_Create" wxAuiTabContainer_Create :: IO (Ptr (TAuiTabContainer ()))
+
+-- | usage: (@auiTabContainerDoShowHide obj@).
+auiTabContainerDoShowHide :: AuiTabContainer  a ->  IO ()
+auiTabContainerDoShowHide _obj 
+  = withObjectRef "auiTabContainerDoShowHide" _obj $ \cobj__obj -> 
+    wxAuiTabContainer_DoShowHide cobj__obj  
+foreign import ccall "wxAuiTabContainer_DoShowHide" wxAuiTabContainer_DoShowHide :: Ptr (TAuiTabContainer a) -> IO ()
+
+-- | usage: (@auiTabContainerGetActivePage obj@).
+auiTabContainerGetActivePage :: AuiTabContainer  a ->  IO Int
+auiTabContainerGetActivePage _obj 
+  = withIntResult $
+    withObjectRef "auiTabContainerGetActivePage" _obj $ \cobj__obj -> 
+    wxAuiTabContainer_GetActivePage cobj__obj  
+foreign import ccall "wxAuiTabContainer_GetActivePage" wxAuiTabContainer_GetActivePage :: Ptr (TAuiTabContainer a) -> IO CInt
+
+-- | usage: (@auiTabContainerGetArtProvider obj@).
+auiTabContainerGetArtProvider :: AuiTabContainer  a ->  IO (AuiTabArt  ())
+auiTabContainerGetArtProvider _obj 
+  = withObjectResult $
+    withObjectRef "auiTabContainerGetArtProvider" _obj $ \cobj__obj -> 
+    wxAuiTabContainer_GetArtProvider cobj__obj  
+foreign import ccall "wxAuiTabContainer_GetArtProvider" wxAuiTabContainer_GetArtProvider :: Ptr (TAuiTabContainer a) -> IO (Ptr (TAuiTabArt ()))
+
+-- | usage: (@auiTabContainerGetFlags obj@).
+auiTabContainerGetFlags :: AuiTabContainer  a ->  IO Int
+auiTabContainerGetFlags _obj 
+  = withIntResult $
+    withObjectRef "auiTabContainerGetFlags" _obj $ \cobj__obj -> 
+    wxAuiTabContainer_GetFlags cobj__obj  
+foreign import ccall "wxAuiTabContainer_GetFlags" wxAuiTabContainer_GetFlags :: Ptr (TAuiTabContainer a) -> IO CInt
+
+-- | usage: (@auiTabContainerGetIdxFromWindow obj page@).
+auiTabContainerGetIdxFromWindow :: AuiTabContainer  a -> Window  b ->  IO Int
+auiTabContainerGetIdxFromWindow _obj _page 
+  = withIntResult $
+    withObjectRef "auiTabContainerGetIdxFromWindow" _obj $ \cobj__obj -> 
+    withObjectPtr _page $ \cobj__page -> 
+    wxAuiTabContainer_GetIdxFromWindow cobj__obj  cobj__page  
+foreign import ccall "wxAuiTabContainer_GetIdxFromWindow" wxAuiTabContainer_GetIdxFromWindow :: Ptr (TAuiTabContainer a) -> Ptr (TWindow b) -> IO CInt
+
+-- | usage: (@auiTabContainerGetPage obj idx@).
+auiTabContainerGetPage :: AuiTabContainer  a -> Int ->  IO (AuiNotebookPage  ())
+auiTabContainerGetPage _obj idx 
+  = withObjectResult $
+    withObjectRef "auiTabContainerGetPage" _obj $ \cobj__obj -> 
+    wxAuiTabContainer_GetPage cobj__obj  (toCInt idx)  
+foreign import ccall "wxAuiTabContainer_GetPage" wxAuiTabContainer_GetPage :: Ptr (TAuiTabContainer a) -> CInt -> IO (Ptr (TAuiNotebookPage ()))
+
+-- | usage: (@auiTabContainerGetPageCount obj@).
+auiTabContainerGetPageCount :: AuiTabContainer  a ->  IO Int
+auiTabContainerGetPageCount _obj 
+  = withIntResult $
+    withObjectRef "auiTabContainerGetPageCount" _obj $ \cobj__obj -> 
+    wxAuiTabContainer_GetPageCount cobj__obj  
+foreign import ccall "wxAuiTabContainer_GetPageCount" wxAuiTabContainer_GetPageCount :: Ptr (TAuiTabContainer a) -> IO CInt
+
+-- | usage: (@auiTabContainerGetPages obj@).
+auiTabContainerGetPages :: AuiTabContainer  a ->  IO (AuiNotebookPageArray  ())
+auiTabContainerGetPages _obj 
+  = withObjectResult $
+    withObjectRef "auiTabContainerGetPages" _obj $ \cobj__obj -> 
+    wxAuiTabContainer_GetPages cobj__obj  
+foreign import ccall "wxAuiTabContainer_GetPages" wxAuiTabContainer_GetPages :: Ptr (TAuiTabContainer a) -> IO (Ptr (TAuiNotebookPageArray ()))
+
+-- | usage: (@auiTabContainerGetTabOffset obj@).
+auiTabContainerGetTabOffset :: AuiTabContainer  a ->  IO Int
+auiTabContainerGetTabOffset _obj 
+  = withIntResult $
+    withObjectRef "auiTabContainerGetTabOffset" _obj $ \cobj__obj -> 
+    wxAuiTabContainer_GetTabOffset cobj__obj  
+foreign import ccall "wxAuiTabContainer_GetTabOffset" wxAuiTabContainer_GetTabOffset :: Ptr (TAuiTabContainer a) -> IO CInt
+
+-- | usage: (@auiTabContainerGetWindowFromIdx obj idx@).
+auiTabContainerGetWindowFromIdx :: AuiTabContainer  a -> Int ->  IO (Window  ())
+auiTabContainerGetWindowFromIdx _obj idx 
+  = withObjectResult $
+    withObjectRef "auiTabContainerGetWindowFromIdx" _obj $ \cobj__obj -> 
+    wxAuiTabContainer_GetWindowFromIdx cobj__obj  (toCInt idx)  
+foreign import ccall "wxAuiTabContainer_GetWindowFromIdx" wxAuiTabContainer_GetWindowFromIdx :: Ptr (TAuiTabContainer a) -> CInt -> IO (Ptr (TWindow ()))
+
+-- | usage: (@auiTabContainerInsertPage obj page info idx@).
+auiTabContainerInsertPage :: AuiTabContainer  a -> Window  b -> AuiNotebookPage  c -> Int ->  IO Bool
+auiTabContainerInsertPage _obj _page _info idx 
+  = withBoolResult $
+    withObjectRef "auiTabContainerInsertPage" _obj $ \cobj__obj -> 
+    withObjectPtr _page $ \cobj__page -> 
+    withObjectPtr _info $ \cobj__info -> 
+    wxAuiTabContainer_InsertPage cobj__obj  cobj__page  cobj__info  (toCInt idx)  
+foreign import ccall "wxAuiTabContainer_InsertPage" wxAuiTabContainer_InsertPage :: Ptr (TAuiTabContainer a) -> Ptr (TWindow b) -> Ptr (TAuiNotebookPage c) -> CInt -> IO CBool
+
+-- | usage: (@auiTabContainerIsTabVisible obj tabPage tabOffset dc wnd@).
+auiTabContainerIsTabVisible :: AuiTabContainer  a -> Int -> Int -> DC  d -> Window  e ->  IO Bool
+auiTabContainerIsTabVisible _obj tabPage tabOffset _dc _wnd 
+  = withBoolResult $
+    withObjectRef "auiTabContainerIsTabVisible" _obj $ \cobj__obj -> 
+    withObjectPtr _dc $ \cobj__dc -> 
+    withObjectPtr _wnd $ \cobj__wnd -> 
+    wxAuiTabContainer_IsTabVisible cobj__obj  (toCInt tabPage)  (toCInt tabOffset)  cobj__dc  cobj__wnd  
+foreign import ccall "wxAuiTabContainer_IsTabVisible" wxAuiTabContainer_IsTabVisible :: Ptr (TAuiTabContainer a) -> CInt -> CInt -> Ptr (TDC d) -> Ptr (TWindow e) -> IO CBool
+
+-- | usage: (@auiTabContainerMakeTabVisible obj tabPage win@).
+auiTabContainerMakeTabVisible :: AuiTabContainer  a -> Int -> Window  c ->  IO ()
+auiTabContainerMakeTabVisible _obj tabPage _win 
+  = withObjectRef "auiTabContainerMakeTabVisible" _obj $ \cobj__obj -> 
+    withObjectPtr _win $ \cobj__win -> 
+    wxAuiTabContainer_MakeTabVisible cobj__obj  (toCInt tabPage)  cobj__win  
+foreign import ccall "wxAuiTabContainer_MakeTabVisible" wxAuiTabContainer_MakeTabVisible :: Ptr (TAuiTabContainer a) -> CInt -> Ptr (TWindow c) -> IO ()
+
+-- | usage: (@auiTabContainerMovePage obj page newIdx@).
+auiTabContainerMovePage :: AuiTabContainer  a -> Window  b -> Int ->  IO Bool
+auiTabContainerMovePage _obj _page newIdx 
+  = withBoolResult $
+    withObjectRef "auiTabContainerMovePage" _obj $ \cobj__obj -> 
+    withObjectPtr _page $ \cobj__page -> 
+    wxAuiTabContainer_MovePage cobj__obj  cobj__page  (toCInt newIdx)  
+foreign import ccall "wxAuiTabContainer_MovePage" wxAuiTabContainer_MovePage :: Ptr (TAuiTabContainer a) -> Ptr (TWindow b) -> CInt -> IO CBool
+
+-- | usage: (@auiTabContainerRemoveButton obj id@).
+auiTabContainerRemoveButton :: AuiTabContainer  a -> Id ->  IO ()
+auiTabContainerRemoveButton _obj id 
+  = withObjectRef "auiTabContainerRemoveButton" _obj $ \cobj__obj -> 
+    wxAuiTabContainer_RemoveButton cobj__obj  (toCInt id)  
+foreign import ccall "wxAuiTabContainer_RemoveButton" wxAuiTabContainer_RemoveButton :: Ptr (TAuiTabContainer a) -> CInt -> IO ()
+
+-- | usage: (@auiTabContainerRemovePage obj page@).
+auiTabContainerRemovePage :: AuiTabContainer  a -> Window  b ->  IO Bool
+auiTabContainerRemovePage _obj _page 
+  = withBoolResult $
+    withObjectRef "auiTabContainerRemovePage" _obj $ \cobj__obj -> 
+    withObjectPtr _page $ \cobj__page -> 
+    wxAuiTabContainer_RemovePage cobj__obj  cobj__page  
+foreign import ccall "wxAuiTabContainer_RemovePage" wxAuiTabContainer_RemovePage :: Ptr (TAuiTabContainer a) -> Ptr (TWindow b) -> IO CBool
+
+-- | usage: (@auiTabContainerSetActiveColour obj colour@).
+auiTabContainerSetActiveColour :: AuiTabContainer  a -> Color ->  IO ()
+auiTabContainerSetActiveColour _obj _colour 
+  = withObjectRef "auiTabContainerSetActiveColour" _obj $ \cobj__obj -> 
+    withColourPtr _colour $ \cobj__colour -> 
+    wxAuiTabContainer_SetActiveColour cobj__obj  cobj__colour  
+foreign import ccall "wxAuiTabContainer_SetActiveColour" wxAuiTabContainer_SetActiveColour :: Ptr (TAuiTabContainer a) -> Ptr (TColour b) -> IO ()
+
+-- | usage: (@auiTabContainerSetActivePage obj page@).
+auiTabContainerSetActivePage :: AuiTabContainer  a -> Int ->  IO Bool
+auiTabContainerSetActivePage _obj page 
+  = withBoolResult $
+    withObjectRef "auiTabContainerSetActivePage" _obj $ \cobj__obj -> 
+    wxAuiTabContainer_SetActivePage cobj__obj  (toCInt page)  
+foreign import ccall "wxAuiTabContainer_SetActivePage" wxAuiTabContainer_SetActivePage :: Ptr (TAuiTabContainer a) -> CInt -> IO CBool
+
+-- | usage: (@auiTabContainerSetActivePageByWindow obj page@).
+auiTabContainerSetActivePageByWindow :: AuiTabContainer  a -> Window  b ->  IO Bool
+auiTabContainerSetActivePageByWindow _obj _page 
+  = withBoolResult $
+    withObjectRef "auiTabContainerSetActivePageByWindow" _obj $ \cobj__obj -> 
+    withObjectPtr _page $ \cobj__page -> 
+    wxAuiTabContainer_SetActivePageByWindow cobj__obj  cobj__page  
+foreign import ccall "wxAuiTabContainer_SetActivePageByWindow" wxAuiTabContainer_SetActivePageByWindow :: Ptr (TAuiTabContainer a) -> Ptr (TWindow b) -> IO CBool
+
+-- | usage: (@auiTabContainerSetArtProvider obj art@).
+auiTabContainerSetArtProvider :: AuiTabContainer  a -> AuiTabArt  b ->  IO ()
+auiTabContainerSetArtProvider _obj _art 
+  = withObjectRef "auiTabContainerSetArtProvider" _obj $ \cobj__obj -> 
+    withObjectPtr _art $ \cobj__art -> 
+    wxAuiTabContainer_SetArtProvider cobj__obj  cobj__art  
+foreign import ccall "wxAuiTabContainer_SetArtProvider" wxAuiTabContainer_SetArtProvider :: Ptr (TAuiTabContainer a) -> Ptr (TAuiTabArt b) -> IO ()
+
+-- | usage: (@auiTabContainerSetColour obj colour@).
+auiTabContainerSetColour :: AuiTabContainer  a -> Color ->  IO ()
+auiTabContainerSetColour _obj _colour 
+  = withObjectRef "auiTabContainerSetColour" _obj $ \cobj__obj -> 
+    withColourPtr _colour $ \cobj__colour -> 
+    wxAuiTabContainer_SetColour cobj__obj  cobj__colour  
+foreign import ccall "wxAuiTabContainer_SetColour" wxAuiTabContainer_SetColour :: Ptr (TAuiTabContainer a) -> Ptr (TColour b) -> IO ()
+
+-- | usage: (@auiTabContainerSetFlags obj flags@).
+auiTabContainerSetFlags :: AuiTabContainer  a -> Int ->  IO ()
+auiTabContainerSetFlags _obj _flags 
+  = withObjectRef "auiTabContainerSetFlags" _obj $ \cobj__obj -> 
+    wxAuiTabContainer_SetFlags cobj__obj  (toCInt _flags)  
+foreign import ccall "wxAuiTabContainer_SetFlags" wxAuiTabContainer_SetFlags :: Ptr (TAuiTabContainer a) -> CInt -> IO ()
+
+-- | usage: (@auiTabContainerSetMeasuringFont obj measuringFont@).
+auiTabContainerSetMeasuringFont :: AuiTabContainer  a -> Font  b ->  IO ()
+auiTabContainerSetMeasuringFont _obj _measuringFont 
+  = withObjectRef "auiTabContainerSetMeasuringFont" _obj $ \cobj__obj -> 
+    withObjectPtr _measuringFont $ \cobj__measuringFont -> 
+    wxAuiTabContainer_SetMeasuringFont cobj__obj  cobj__measuringFont  
+foreign import ccall "wxAuiTabContainer_SetMeasuringFont" wxAuiTabContainer_SetMeasuringFont :: Ptr (TAuiTabContainer a) -> Ptr (TFont b) -> IO ()
+
+-- | usage: (@auiTabContainerSetNoneActive obj@).
+auiTabContainerSetNoneActive :: AuiTabContainer  a ->  IO ()
+auiTabContainerSetNoneActive _obj 
+  = withObjectRef "auiTabContainerSetNoneActive" _obj $ \cobj__obj -> 
+    wxAuiTabContainer_SetNoneActive cobj__obj  
+foreign import ccall "wxAuiTabContainer_SetNoneActive" wxAuiTabContainer_SetNoneActive :: Ptr (TAuiTabContainer a) -> IO ()
+
+-- | usage: (@auiTabContainerSetNormalFont obj normalFont@).
+auiTabContainerSetNormalFont :: AuiTabContainer  a -> Font  b ->  IO ()
+auiTabContainerSetNormalFont _obj _normalFont 
+  = withObjectRef "auiTabContainerSetNormalFont" _obj $ \cobj__obj -> 
+    withObjectPtr _normalFont $ \cobj__normalFont -> 
+    wxAuiTabContainer_SetNormalFont cobj__obj  cobj__normalFont  
+foreign import ccall "wxAuiTabContainer_SetNormalFont" wxAuiTabContainer_SetNormalFont :: Ptr (TAuiTabContainer a) -> Ptr (TFont b) -> IO ()
+
+-- | usage: (@auiTabContainerSetRect obj rect@).
+auiTabContainerSetRect :: AuiTabContainer  a -> Rect ->  IO ()
+auiTabContainerSetRect _obj _rect 
+  = withObjectRef "auiTabContainerSetRect" _obj $ \cobj__obj -> 
+    withWxRectPtr _rect $ \cobj__rect -> 
+    wxAuiTabContainer_SetRect cobj__obj  cobj__rect  
+foreign import ccall "wxAuiTabContainer_SetRect" wxAuiTabContainer_SetRect :: Ptr (TAuiTabContainer a) -> Ptr (TWxRect b) -> IO ()
+
+-- | usage: (@auiTabContainerSetSelectedFont obj selectedFont@).
+auiTabContainerSetSelectedFont :: AuiTabContainer  a -> Font  b ->  IO ()
+auiTabContainerSetSelectedFont _obj _selectedFont 
+  = withObjectRef "auiTabContainerSetSelectedFont" _obj $ \cobj__obj -> 
+    withObjectPtr _selectedFont $ \cobj__selectedFont -> 
+    wxAuiTabContainer_SetSelectedFont cobj__obj  cobj__selectedFont  
+foreign import ccall "wxAuiTabContainer_SetSelectedFont" wxAuiTabContainer_SetSelectedFont :: Ptr (TAuiTabContainer a) -> Ptr (TFont b) -> IO ()
+
+-- | usage: (@auiTabContainerSetTabOffset obj offset@).
+auiTabContainerSetTabOffset :: AuiTabContainer  a -> Int ->  IO ()
+auiTabContainerSetTabOffset _obj offset 
+  = withObjectRef "auiTabContainerSetTabOffset" _obj $ \cobj__obj -> 
+    wxAuiTabContainer_SetTabOffset cobj__obj  (toCInt offset)  
+foreign import ccall "wxAuiTabContainer_SetTabOffset" wxAuiTabContainer_SetTabOffset :: Ptr (TAuiTabContainer a) -> CInt -> IO ()
+
+-- | usage: (@auiTabCtrlAddButton obj id location normalBitmap disabledBitmap@).
+auiTabCtrlAddButton :: AuiTabCtrl  a -> Id -> Int -> Bitmap  d -> Bitmap  e ->  IO ()
+auiTabCtrlAddButton _obj id location _normalBitmap _disabledBitmap 
+  = withObjectRef "auiTabCtrlAddButton" _obj $ \cobj__obj -> 
+    withObjectPtr _normalBitmap $ \cobj__normalBitmap -> 
+    withObjectPtr _disabledBitmap $ \cobj__disabledBitmap -> 
+    wxAuiTabCtrl_AddButton cobj__obj  (toCInt id)  (toCInt location)  cobj__normalBitmap  cobj__disabledBitmap  
+foreign import ccall "wxAuiTabCtrl_AddButton" wxAuiTabCtrl_AddButton :: Ptr (TAuiTabCtrl a) -> CInt -> CInt -> Ptr (TBitmap d) -> Ptr (TBitmap e) -> IO ()
+
+-- | usage: (@auiTabCtrlAddPage obj page info@).
+auiTabCtrlAddPage :: AuiTabCtrl  a -> Window  b -> AuiNotebookPage  c ->  IO Bool
+auiTabCtrlAddPage _obj _page _info 
+  = withBoolResult $
+    withObjectRef "auiTabCtrlAddPage" _obj $ \cobj__obj -> 
+    withObjectPtr _page $ \cobj__page -> 
+    withObjectPtr _info $ \cobj__info -> 
+    wxAuiTabCtrl_AddPage cobj__obj  cobj__page  cobj__info  
+foreign import ccall "wxAuiTabCtrl_AddPage" wxAuiTabCtrl_AddPage :: Ptr (TAuiTabCtrl a) -> Ptr (TWindow b) -> Ptr (TAuiNotebookPage c) -> IO CBool
+
+-- | usage: (@auiTabCtrlDoShowHide obj@).
+auiTabCtrlDoShowHide :: AuiTabCtrl  a ->  IO ()
+auiTabCtrlDoShowHide _obj 
+  = withObjectRef "auiTabCtrlDoShowHide" _obj $ \cobj__obj -> 
+    wxAuiTabCtrl_DoShowHide cobj__obj  
+foreign import ccall "wxAuiTabCtrl_DoShowHide" wxAuiTabCtrl_DoShowHide :: Ptr (TAuiTabCtrl a) -> IO ()
+
+-- | usage: (@auiTabCtrlGetActivePage obj@).
+auiTabCtrlGetActivePage :: AuiTabCtrl  a ->  IO Int
+auiTabCtrlGetActivePage _obj 
+  = withIntResult $
+    withObjectRef "auiTabCtrlGetActivePage" _obj $ \cobj__obj -> 
+    wxAuiTabCtrl_GetActivePage cobj__obj  
+foreign import ccall "wxAuiTabCtrl_GetActivePage" wxAuiTabCtrl_GetActivePage :: Ptr (TAuiTabCtrl a) -> IO CInt
+
+-- | usage: (@auiTabCtrlGetArtProvider obj@).
+auiTabCtrlGetArtProvider :: AuiTabCtrl  a ->  IO (AuiTabArt  ())
+auiTabCtrlGetArtProvider _obj 
+  = withObjectResult $
+    withObjectRef "auiTabCtrlGetArtProvider" _obj $ \cobj__obj -> 
+    wxAuiTabCtrl_GetArtProvider cobj__obj  
+foreign import ccall "wxAuiTabCtrl_GetArtProvider" wxAuiTabCtrl_GetArtProvider :: Ptr (TAuiTabCtrl a) -> IO (Ptr (TAuiTabArt ()))
+
+-- | usage: (@auiTabCtrlGetFlags obj@).
+auiTabCtrlGetFlags :: AuiTabCtrl  a ->  IO Int
+auiTabCtrlGetFlags _obj 
+  = withIntResult $
+    withObjectRef "auiTabCtrlGetFlags" _obj $ \cobj__obj -> 
+    wxAuiTabCtrl_GetFlags cobj__obj  
+foreign import ccall "wxAuiTabCtrl_GetFlags" wxAuiTabCtrl_GetFlags :: Ptr (TAuiTabCtrl a) -> IO CInt
+
+-- | usage: (@auiTabCtrlGetIdxFromWindow obj page@).
+auiTabCtrlGetIdxFromWindow :: AuiTabCtrl  a -> Window  b ->  IO Int
+auiTabCtrlGetIdxFromWindow _obj _page 
+  = withIntResult $
+    withObjectRef "auiTabCtrlGetIdxFromWindow" _obj $ \cobj__obj -> 
+    withObjectPtr _page $ \cobj__page -> 
+    wxAuiTabCtrl_GetIdxFromWindow cobj__obj  cobj__page  
+foreign import ccall "wxAuiTabCtrl_GetIdxFromWindow" wxAuiTabCtrl_GetIdxFromWindow :: Ptr (TAuiTabCtrl a) -> Ptr (TWindow b) -> IO CInt
+
+-- | usage: (@auiTabCtrlGetPage obj idx@).
+auiTabCtrlGetPage :: AuiTabCtrl  a -> Int ->  IO (AuiNotebookPage  ())
+auiTabCtrlGetPage _obj idx 
+  = withObjectResult $
+    withObjectRef "auiTabCtrlGetPage" _obj $ \cobj__obj -> 
+    wxAuiTabCtrl_GetPage cobj__obj  (toCInt idx)  
+foreign import ccall "wxAuiTabCtrl_GetPage" wxAuiTabCtrl_GetPage :: Ptr (TAuiTabCtrl a) -> CInt -> IO (Ptr (TAuiNotebookPage ()))
+
+-- | usage: (@auiTabCtrlGetPageCount obj@).
+auiTabCtrlGetPageCount :: AuiTabCtrl  a ->  IO Int
+auiTabCtrlGetPageCount _obj 
+  = withIntResult $
+    withObjectRef "auiTabCtrlGetPageCount" _obj $ \cobj__obj -> 
+    wxAuiTabCtrl_GetPageCount cobj__obj  
+foreign import ccall "wxAuiTabCtrl_GetPageCount" wxAuiTabCtrl_GetPageCount :: Ptr (TAuiTabCtrl a) -> IO CInt
+
+-- | usage: (@auiTabCtrlGetPages obj@).
+auiTabCtrlGetPages :: AuiTabCtrl  a ->  IO (AuiNotebookPageArray  ())
+auiTabCtrlGetPages _obj 
+  = withObjectResult $
+    withObjectRef "auiTabCtrlGetPages" _obj $ \cobj__obj -> 
+    wxAuiTabCtrl_GetPages cobj__obj  
+foreign import ccall "wxAuiTabCtrl_GetPages" wxAuiTabCtrl_GetPages :: Ptr (TAuiTabCtrl a) -> IO (Ptr (TAuiNotebookPageArray ()))
+
+-- | usage: (@auiTabCtrlGetTabOffset obj@).
+auiTabCtrlGetTabOffset :: AuiTabCtrl  a ->  IO Int
+auiTabCtrlGetTabOffset _obj 
+  = withIntResult $
+    withObjectRef "auiTabCtrlGetTabOffset" _obj $ \cobj__obj -> 
+    wxAuiTabCtrl_GetTabOffset cobj__obj  
+foreign import ccall "wxAuiTabCtrl_GetTabOffset" wxAuiTabCtrl_GetTabOffset :: Ptr (TAuiTabCtrl a) -> IO CInt
+
+-- | usage: (@auiTabCtrlGetWindowFromIdx obj idx@).
+auiTabCtrlGetWindowFromIdx :: AuiTabCtrl  a -> Int ->  IO (Window  ())
+auiTabCtrlGetWindowFromIdx _obj idx 
+  = withObjectResult $
+    withObjectRef "auiTabCtrlGetWindowFromIdx" _obj $ \cobj__obj -> 
+    wxAuiTabCtrl_GetWindowFromIdx cobj__obj  (toCInt idx)  
+foreign import ccall "wxAuiTabCtrl_GetWindowFromIdx" wxAuiTabCtrl_GetWindowFromIdx :: Ptr (TAuiTabCtrl a) -> CInt -> IO (Ptr (TWindow ()))
+
+-- | usage: (@auiTabCtrlInsertPage obj page info idx@).
+auiTabCtrlInsertPage :: AuiTabCtrl  a -> Window  b -> AuiNotebookPage  c -> Int ->  IO Bool
+auiTabCtrlInsertPage _obj _page _info idx 
+  = withBoolResult $
+    withObjectRef "auiTabCtrlInsertPage" _obj $ \cobj__obj -> 
+    withObjectPtr _page $ \cobj__page -> 
+    withObjectPtr _info $ \cobj__info -> 
+    wxAuiTabCtrl_InsertPage cobj__obj  cobj__page  cobj__info  (toCInt idx)  
+foreign import ccall "wxAuiTabCtrl_InsertPage" wxAuiTabCtrl_InsertPage :: Ptr (TAuiTabCtrl a) -> Ptr (TWindow b) -> Ptr (TAuiNotebookPage c) -> CInt -> IO CBool
+
+-- | usage: (@auiTabCtrlIsTabVisible obj tabPage tabOffset dc wnd@).
+auiTabCtrlIsTabVisible :: AuiTabCtrl  a -> Int -> Int -> DC  d -> Window  e ->  IO Bool
+auiTabCtrlIsTabVisible _obj tabPage tabOffset _dc _wnd 
+  = withBoolResult $
+    withObjectRef "auiTabCtrlIsTabVisible" _obj $ \cobj__obj -> 
+    withObjectPtr _dc $ \cobj__dc -> 
+    withObjectPtr _wnd $ \cobj__wnd -> 
+    wxAuiTabCtrl_IsTabVisible cobj__obj  (toCInt tabPage)  (toCInt tabOffset)  cobj__dc  cobj__wnd  
+foreign import ccall "wxAuiTabCtrl_IsTabVisible" wxAuiTabCtrl_IsTabVisible :: Ptr (TAuiTabCtrl a) -> CInt -> CInt -> Ptr (TDC d) -> Ptr (TWindow e) -> IO CBool
+
+-- | usage: (@auiTabCtrlMakeTabVisible obj tabPage win@).
+auiTabCtrlMakeTabVisible :: AuiTabCtrl  a -> Int -> Window  c ->  IO ()
+auiTabCtrlMakeTabVisible _obj tabPage _win 
+  = withObjectRef "auiTabCtrlMakeTabVisible" _obj $ \cobj__obj -> 
+    withObjectPtr _win $ \cobj__win -> 
+    wxAuiTabCtrl_MakeTabVisible cobj__obj  (toCInt tabPage)  cobj__win  
+foreign import ccall "wxAuiTabCtrl_MakeTabVisible" wxAuiTabCtrl_MakeTabVisible :: Ptr (TAuiTabCtrl a) -> CInt -> Ptr (TWindow c) -> IO ()
+
+-- | usage: (@auiTabCtrlMovePage obj page newIdx@).
+auiTabCtrlMovePage :: AuiTabCtrl  a -> Window  b -> Int ->  IO Bool
+auiTabCtrlMovePage _obj _page newIdx 
+  = withBoolResult $
+    withObjectRef "auiTabCtrlMovePage" _obj $ \cobj__obj -> 
+    withObjectPtr _page $ \cobj__page -> 
+    wxAuiTabCtrl_MovePage cobj__obj  cobj__page  (toCInt newIdx)  
+foreign import ccall "wxAuiTabCtrl_MovePage" wxAuiTabCtrl_MovePage :: Ptr (TAuiTabCtrl a) -> Ptr (TWindow b) -> CInt -> IO CBool
+
+-- | usage: (@auiTabCtrlRemoveButton obj id@).
+auiTabCtrlRemoveButton :: AuiTabCtrl  a -> Id ->  IO ()
+auiTabCtrlRemoveButton _obj id 
+  = withObjectRef "auiTabCtrlRemoveButton" _obj $ \cobj__obj -> 
+    wxAuiTabCtrl_RemoveButton cobj__obj  (toCInt id)  
+foreign import ccall "wxAuiTabCtrl_RemoveButton" wxAuiTabCtrl_RemoveButton :: Ptr (TAuiTabCtrl a) -> CInt -> IO ()
+
+-- | usage: (@auiTabCtrlRemovePage obj page@).
+auiTabCtrlRemovePage :: AuiTabCtrl  a -> Window  b ->  IO Bool
+auiTabCtrlRemovePage _obj _page 
+  = withBoolResult $
+    withObjectRef "auiTabCtrlRemovePage" _obj $ \cobj__obj -> 
+    withObjectPtr _page $ \cobj__page -> 
+    wxAuiTabCtrl_RemovePage cobj__obj  cobj__page  
+foreign import ccall "wxAuiTabCtrl_RemovePage" wxAuiTabCtrl_RemovePage :: Ptr (TAuiTabCtrl a) -> Ptr (TWindow b) -> IO CBool
+
+-- | usage: (@auiTabCtrlSetActiveColour obj colour@).
+auiTabCtrlSetActiveColour :: AuiTabCtrl  a -> Color ->  IO ()
+auiTabCtrlSetActiveColour _obj _colour 
+  = withObjectRef "auiTabCtrlSetActiveColour" _obj $ \cobj__obj -> 
+    withColourPtr _colour $ \cobj__colour -> 
+    wxAuiTabCtrl_SetActiveColour cobj__obj  cobj__colour  
+foreign import ccall "wxAuiTabCtrl_SetActiveColour" wxAuiTabCtrl_SetActiveColour :: Ptr (TAuiTabCtrl a) -> Ptr (TColour b) -> IO ()
+
+-- | usage: (@auiTabCtrlSetActivePage obj page@).
+auiTabCtrlSetActivePage :: AuiTabCtrl  a -> Int ->  IO Bool
+auiTabCtrlSetActivePage _obj page 
+  = withBoolResult $
+    withObjectRef "auiTabCtrlSetActivePage" _obj $ \cobj__obj -> 
+    wxAuiTabCtrl_SetActivePage cobj__obj  (toCInt page)  
+foreign import ccall "wxAuiTabCtrl_SetActivePage" wxAuiTabCtrl_SetActivePage :: Ptr (TAuiTabCtrl a) -> CInt -> IO CBool
+
+-- | usage: (@auiTabCtrlSetActivePageByWindow obj page@).
+auiTabCtrlSetActivePageByWindow :: AuiTabCtrl  a -> Window  b ->  IO Bool
+auiTabCtrlSetActivePageByWindow _obj _page 
+  = withBoolResult $
+    withObjectRef "auiTabCtrlSetActivePageByWindow" _obj $ \cobj__obj -> 
+    withObjectPtr _page $ \cobj__page -> 
+    wxAuiTabCtrl_SetActivePageByWindow cobj__obj  cobj__page  
+foreign import ccall "wxAuiTabCtrl_SetActivePageByWindow" wxAuiTabCtrl_SetActivePageByWindow :: Ptr (TAuiTabCtrl a) -> Ptr (TWindow b) -> IO CBool
+
+-- | usage: (@auiTabCtrlSetArtProvider obj art@).
+auiTabCtrlSetArtProvider :: AuiTabCtrl  a -> AuiTabArt  b ->  IO ()
+auiTabCtrlSetArtProvider _obj _art 
+  = withObjectRef "auiTabCtrlSetArtProvider" _obj $ \cobj__obj -> 
+    withObjectPtr _art $ \cobj__art -> 
+    wxAuiTabCtrl_SetArtProvider cobj__obj  cobj__art  
+foreign import ccall "wxAuiTabCtrl_SetArtProvider" wxAuiTabCtrl_SetArtProvider :: Ptr (TAuiTabCtrl a) -> Ptr (TAuiTabArt b) -> IO ()
+
+-- | usage: (@auiTabCtrlSetColour obj colour@).
+auiTabCtrlSetColour :: AuiTabCtrl  a -> Color ->  IO ()
+auiTabCtrlSetColour _obj _colour 
+  = withObjectRef "auiTabCtrlSetColour" _obj $ \cobj__obj -> 
+    withColourPtr _colour $ \cobj__colour -> 
+    wxAuiTabCtrl_SetColour cobj__obj  cobj__colour  
+foreign import ccall "wxAuiTabCtrl_SetColour" wxAuiTabCtrl_SetColour :: Ptr (TAuiTabCtrl a) -> Ptr (TColour b) -> IO ()
+
+-- | usage: (@auiTabCtrlSetFlags obj flags@).
+auiTabCtrlSetFlags :: AuiTabCtrl  a -> Int ->  IO ()
+auiTabCtrlSetFlags _obj _flags 
+  = withObjectRef "auiTabCtrlSetFlags" _obj $ \cobj__obj -> 
+    wxAuiTabCtrl_SetFlags cobj__obj  (toCInt _flags)  
+foreign import ccall "wxAuiTabCtrl_SetFlags" wxAuiTabCtrl_SetFlags :: Ptr (TAuiTabCtrl a) -> CInt -> IO ()
+
+-- | usage: (@auiTabCtrlSetMeasuringFont obj measuringFont@).
+auiTabCtrlSetMeasuringFont :: AuiTabCtrl  a -> Font  b ->  IO ()
+auiTabCtrlSetMeasuringFont _obj _measuringFont 
+  = withObjectRef "auiTabCtrlSetMeasuringFont" _obj $ \cobj__obj -> 
+    withObjectPtr _measuringFont $ \cobj__measuringFont -> 
+    wxAuiTabCtrl_SetMeasuringFont cobj__obj  cobj__measuringFont  
+foreign import ccall "wxAuiTabCtrl_SetMeasuringFont" wxAuiTabCtrl_SetMeasuringFont :: Ptr (TAuiTabCtrl a) -> Ptr (TFont b) -> IO ()
+
+-- | usage: (@auiTabCtrlSetNoneActive obj@).
+auiTabCtrlSetNoneActive :: AuiTabCtrl  a ->  IO ()
+auiTabCtrlSetNoneActive _obj 
+  = withObjectRef "auiTabCtrlSetNoneActive" _obj $ \cobj__obj -> 
+    wxAuiTabCtrl_SetNoneActive cobj__obj  
+foreign import ccall "wxAuiTabCtrl_SetNoneActive" wxAuiTabCtrl_SetNoneActive :: Ptr (TAuiTabCtrl a) -> IO ()
+
+-- | usage: (@auiTabCtrlSetNormalFont obj normalFont@).
+auiTabCtrlSetNormalFont :: AuiTabCtrl  a -> Font  b ->  IO ()
+auiTabCtrlSetNormalFont _obj _normalFont 
+  = withObjectRef "auiTabCtrlSetNormalFont" _obj $ \cobj__obj -> 
+    withObjectPtr _normalFont $ \cobj__normalFont -> 
+    wxAuiTabCtrl_SetNormalFont cobj__obj  cobj__normalFont  
+foreign import ccall "wxAuiTabCtrl_SetNormalFont" wxAuiTabCtrl_SetNormalFont :: Ptr (TAuiTabCtrl a) -> Ptr (TFont b) -> IO ()
+
+-- | usage: (@auiTabCtrlSetRect obj rect@).
+auiTabCtrlSetRect :: AuiTabCtrl  a -> Rect ->  IO ()
+auiTabCtrlSetRect _obj _rect 
+  = withObjectRef "auiTabCtrlSetRect" _obj $ \cobj__obj -> 
+    withWxRectPtr _rect $ \cobj__rect -> 
+    wxAuiTabCtrl_SetRect cobj__obj  cobj__rect  
+foreign import ccall "wxAuiTabCtrl_SetRect" wxAuiTabCtrl_SetRect :: Ptr (TAuiTabCtrl a) -> Ptr (TWxRect b) -> IO ()
+
+-- | usage: (@auiTabCtrlSetSelectedFont obj selectedFont@).
+auiTabCtrlSetSelectedFont :: AuiTabCtrl  a -> Font  b ->  IO ()
+auiTabCtrlSetSelectedFont _obj _selectedFont 
+  = withObjectRef "auiTabCtrlSetSelectedFont" _obj $ \cobj__obj -> 
+    withObjectPtr _selectedFont $ \cobj__selectedFont -> 
+    wxAuiTabCtrl_SetSelectedFont cobj__obj  cobj__selectedFont  
+foreign import ccall "wxAuiTabCtrl_SetSelectedFont" wxAuiTabCtrl_SetSelectedFont :: Ptr (TAuiTabCtrl a) -> Ptr (TFont b) -> IO ()
+
+-- | usage: (@auiTabCtrlSetTabOffset obj offset@).
+auiTabCtrlSetTabOffset :: AuiTabCtrl  a -> Int ->  IO ()
+auiTabCtrlSetTabOffset _obj offset 
+  = withObjectRef "auiTabCtrlSetTabOffset" _obj $ \cobj__obj -> 
+    wxAuiTabCtrl_SetTabOffset cobj__obj  (toCInt offset)  
+foreign import ccall "wxAuiTabCtrl_SetTabOffset" wxAuiTabCtrl_SetTabOffset :: Ptr (TAuiTabCtrl a) -> CInt -> IO ()
+
+-- | usage: (@auiToolBarAddControl obj control label@).
+auiToolBarAddControl :: AuiToolBar  a -> Control  b -> String ->  IO (AuiToolBarItem  ())
+auiToolBarAddControl _obj _control _label 
+  = withObjectResult $
+    withObjectRef "auiToolBarAddControl" _obj $ \cobj__obj -> 
+    withObjectPtr _control $ \cobj__control -> 
+    withStringPtr _label $ \cobj__label -> 
+    wxAuiToolBar_AddControl cobj__obj  cobj__control  cobj__label  
+foreign import ccall "wxAuiToolBar_AddControl" wxAuiToolBar_AddControl :: Ptr (TAuiToolBar a) -> Ptr (TControl b) -> Ptr (TWxString c) -> IO (Ptr (TAuiToolBarItem ()))
+
+-- | usage: (@auiToolBarAddLabel obj toolid label width@).
+auiToolBarAddLabel :: AuiToolBar  a -> Int -> String -> Int ->  IO (AuiToolBarItem  ())
+auiToolBarAddLabel _obj toolid _label width 
+  = withObjectResult $
+    withObjectRef "auiToolBarAddLabel" _obj $ \cobj__obj -> 
+    withStringPtr _label $ \cobj__label -> 
+    wxAuiToolBar_AddLabel cobj__obj  (toCInt toolid)  cobj__label  (toCInt width)  
+foreign import ccall "wxAuiToolBar_AddLabel" wxAuiToolBar_AddLabel :: Ptr (TAuiToolBar a) -> CInt -> Ptr (TWxString c) -> CInt -> IO (Ptr (TAuiToolBarItem ()))
+
+-- | usage: (@auiToolBarAddSeparator obj@).
+auiToolBarAddSeparator :: AuiToolBar  a ->  IO (AuiToolBarItem  ())
+auiToolBarAddSeparator _obj 
+  = withObjectResult $
+    withObjectRef "auiToolBarAddSeparator" _obj $ \cobj__obj -> 
+    wxAuiToolBar_AddSeparator cobj__obj  
+foreign import ccall "wxAuiToolBar_AddSeparator" wxAuiToolBar_AddSeparator :: Ptr (TAuiToolBar a) -> IO (Ptr (TAuiToolBarItem ()))
+
+-- | usage: (@auiToolBarAddSpacer obj pixels@).
+auiToolBarAddSpacer :: AuiToolBar  a -> Int ->  IO (AuiToolBarItem  ())
+auiToolBarAddSpacer _obj pixels 
+  = withObjectResult $
+    withObjectRef "auiToolBarAddSpacer" _obj $ \cobj__obj -> 
+    wxAuiToolBar_AddSpacer cobj__obj  (toCInt pixels)  
+foreign import ccall "wxAuiToolBar_AddSpacer" wxAuiToolBar_AddSpacer :: Ptr (TAuiToolBar a) -> CInt -> IO (Ptr (TAuiToolBarItem ()))
+
+-- | usage: (@auiToolBarAddStretchSpacer obj proportion@).
+auiToolBarAddStretchSpacer :: AuiToolBar  a -> Int ->  IO (AuiToolBarItem  ())
+auiToolBarAddStretchSpacer _obj proportion 
+  = withObjectResult $
+    withObjectRef "auiToolBarAddStretchSpacer" _obj $ \cobj__obj -> 
+    wxAuiToolBar_AddStretchSpacer cobj__obj  (toCInt proportion)  
+foreign import ccall "wxAuiToolBar_AddStretchSpacer" wxAuiToolBar_AddStretchSpacer :: Ptr (TAuiToolBar a) -> CInt -> IO (Ptr (TAuiToolBarItem ()))
+
+-- | usage: (@auiToolBarAddTool obj toolid label bitmap disabledbitmap kind shorthelpstring longhelpstring clientdata@).
+auiToolBarAddTool :: AuiToolBar  a -> Int -> String -> Bitmap  d -> Bitmap  e -> Int -> String -> String -> WxObject  i ->  IO (AuiToolBarItem  ())
+auiToolBarAddTool _obj toolid _label _bitmap _disabledbitmap kind _shorthelpstring _longhelpstring _clientdata 
+  = withObjectResult $
+    withObjectRef "auiToolBarAddTool" _obj $ \cobj__obj -> 
+    withStringPtr _label $ \cobj__label -> 
+    withObjectPtr _bitmap $ \cobj__bitmap -> 
+    withObjectPtr _disabledbitmap $ \cobj__disabledbitmap -> 
+    withStringPtr _shorthelpstring $ \cobj__shorthelpstring -> 
+    withStringPtr _longhelpstring $ \cobj__longhelpstring -> 
+    withObjectPtr _clientdata $ \cobj__clientdata -> 
+    wxAuiToolBar_AddTool cobj__obj  (toCInt toolid)  cobj__label  cobj__bitmap  cobj__disabledbitmap  (toCInt kind)  cobj__shorthelpstring  cobj__longhelpstring  cobj__clientdata  
+foreign import ccall "wxAuiToolBar_AddTool" wxAuiToolBar_AddTool :: Ptr (TAuiToolBar a) -> CInt -> Ptr (TWxString c) -> Ptr (TBitmap d) -> Ptr (TBitmap e) -> CInt -> Ptr (TWxString g) -> Ptr (TWxString h) -> Ptr (TWxObject i) -> IO (Ptr (TAuiToolBarItem ()))
+
+-- | usage: (@auiToolBarAddToolByBitmap obj toolid bitmap disabledbitmap toggle clientdata shorthelpstring longhelpstring@).
+auiToolBarAddToolByBitmap :: AuiToolBar  a -> Int -> Bitmap  c -> Bitmap  d -> Bool -> WxObject  f -> String -> String ->  IO (AuiToolBarItem  ())
+auiToolBarAddToolByBitmap _obj toolid _bitmap _disabledbitmap toggle _clientdata _shorthelpstring _longhelpstring 
+  = withObjectResult $
+    withObjectRef "auiToolBarAddToolByBitmap" _obj $ \cobj__obj -> 
+    withObjectPtr _bitmap $ \cobj__bitmap -> 
+    withObjectPtr _disabledbitmap $ \cobj__disabledbitmap -> 
+    withObjectPtr _clientdata $ \cobj__clientdata -> 
+    withStringPtr _shorthelpstring $ \cobj__shorthelpstring -> 
+    withStringPtr _longhelpstring $ \cobj__longhelpstring -> 
+    wxAuiToolBar_AddToolByBitmap cobj__obj  (toCInt toolid)  cobj__bitmap  cobj__disabledbitmap  (toCBool toggle)  cobj__clientdata  cobj__shorthelpstring  cobj__longhelpstring  
+foreign import ccall "wxAuiToolBar_AddToolByBitmap" wxAuiToolBar_AddToolByBitmap :: Ptr (TAuiToolBar a) -> CInt -> Ptr (TBitmap c) -> Ptr (TBitmap d) -> CBool -> Ptr (TWxObject f) -> Ptr (TWxString g) -> Ptr (TWxString h) -> IO (Ptr (TAuiToolBarItem ()))
+
+-- | usage: (@auiToolBarAddToolByLabel obj toolid label bitmap shorthelpstring kind@).
+auiToolBarAddToolByLabel :: AuiToolBar  a -> Int -> String -> Bitmap  d -> String -> Int ->  IO (AuiToolBarItem  ())
+auiToolBarAddToolByLabel _obj toolid _label _bitmap _shorthelpstring kind 
+  = withObjectResult $
+    withObjectRef "auiToolBarAddToolByLabel" _obj $ \cobj__obj -> 
+    withStringPtr _label $ \cobj__label -> 
+    withObjectPtr _bitmap $ \cobj__bitmap -> 
+    withStringPtr _shorthelpstring $ \cobj__shorthelpstring -> 
+    wxAuiToolBar_AddToolByLabel cobj__obj  (toCInt toolid)  cobj__label  cobj__bitmap  cobj__shorthelpstring  (toCInt kind)  
+foreign import ccall "wxAuiToolBar_AddToolByLabel" wxAuiToolBar_AddToolByLabel :: Ptr (TAuiToolBar a) -> CInt -> Ptr (TWxString c) -> Ptr (TBitmap d) -> Ptr (TWxString e) -> CInt -> IO (Ptr (TAuiToolBarItem ()))
+
+-- | usage: (@auiToolBarArtClone obj@).
+auiToolBarArtClone :: AuiToolBarArt  a ->  IO (AuiToolBarArt  ())
+auiToolBarArtClone _obj 
+  = withObjectResult $
+    withObjectRef "auiToolBarArtClone" _obj $ \cobj__obj -> 
+    wxAuiToolBarArt_Clone cobj__obj  
+foreign import ccall "wxAuiToolBarArt_Clone" wxAuiToolBarArt_Clone :: Ptr (TAuiToolBarArt a) -> IO (Ptr (TAuiToolBarArt ()))
+
+-- | usage: (@auiToolBarArtDrawBackground obj dc wnd rect@).
+auiToolBarArtDrawBackground :: AuiToolBarArt  a -> DC  b -> Window  c -> Rect ->  IO ()
+auiToolBarArtDrawBackground _obj _dc _wnd _rect 
+  = withObjectRef "auiToolBarArtDrawBackground" _obj $ \cobj__obj -> 
+    withObjectPtr _dc $ \cobj__dc -> 
+    withObjectPtr _wnd $ \cobj__wnd -> 
+    withWxRectPtr _rect $ \cobj__rect -> 
+    wxAuiToolBarArt_DrawBackground cobj__obj  cobj__dc  cobj__wnd  cobj__rect  
+foreign import ccall "wxAuiToolBarArt_DrawBackground" wxAuiToolBarArt_DrawBackground :: Ptr (TAuiToolBarArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TWxRect d) -> IO ()
+
+-- | usage: (@auiToolBarArtDrawButton obj dc wnd item rect@).
+auiToolBarArtDrawButton :: AuiToolBarArt  a -> DC  b -> Window  c -> AuiToolBarItem  d -> Rect ->  IO ()
+auiToolBarArtDrawButton _obj _dc _wnd _item _rect 
+  = withObjectRef "auiToolBarArtDrawButton" _obj $ \cobj__obj -> 
+    withObjectPtr _dc $ \cobj__dc -> 
+    withObjectPtr _wnd $ \cobj__wnd -> 
+    withObjectPtr _item $ \cobj__item -> 
+    withWxRectPtr _rect $ \cobj__rect -> 
+    wxAuiToolBarArt_DrawButton cobj__obj  cobj__dc  cobj__wnd  cobj__item  cobj__rect  
+foreign import ccall "wxAuiToolBarArt_DrawButton" wxAuiToolBarArt_DrawButton :: Ptr (TAuiToolBarArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TAuiToolBarItem d) -> Ptr (TWxRect e) -> IO ()
+
+-- | usage: (@auiToolBarArtDrawControlLabel obj dc wnd item rect@).
+auiToolBarArtDrawControlLabel :: AuiToolBarArt  a -> DC  b -> Window  c -> AuiToolBarItem  d -> Rect ->  IO ()
+auiToolBarArtDrawControlLabel _obj _dc _wnd _item _rect 
+  = withObjectRef "auiToolBarArtDrawControlLabel" _obj $ \cobj__obj -> 
+    withObjectPtr _dc $ \cobj__dc -> 
+    withObjectPtr _wnd $ \cobj__wnd -> 
+    withObjectPtr _item $ \cobj__item -> 
+    withWxRectPtr _rect $ \cobj__rect -> 
+    wxAuiToolBarArt_DrawControlLabel cobj__obj  cobj__dc  cobj__wnd  cobj__item  cobj__rect  
+foreign import ccall "wxAuiToolBarArt_DrawControlLabel" wxAuiToolBarArt_DrawControlLabel :: Ptr (TAuiToolBarArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TAuiToolBarItem d) -> Ptr (TWxRect e) -> IO ()
+
+-- | usage: (@auiToolBarArtDrawDropDownButton obj dc wnd item rect@).
+auiToolBarArtDrawDropDownButton :: AuiToolBarArt  a -> DC  b -> Window  c -> AuiToolBarItem  d -> Rect ->  IO ()
+auiToolBarArtDrawDropDownButton _obj _dc _wnd _item _rect 
+  = withObjectRef "auiToolBarArtDrawDropDownButton" _obj $ \cobj__obj -> 
+    withObjectPtr _dc $ \cobj__dc -> 
+    withObjectPtr _wnd $ \cobj__wnd -> 
+    withObjectPtr _item $ \cobj__item -> 
+    withWxRectPtr _rect $ \cobj__rect -> 
+    wxAuiToolBarArt_DrawDropDownButton cobj__obj  cobj__dc  cobj__wnd  cobj__item  cobj__rect  
+foreign import ccall "wxAuiToolBarArt_DrawDropDownButton" wxAuiToolBarArt_DrawDropDownButton :: Ptr (TAuiToolBarArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TAuiToolBarItem d) -> Ptr (TWxRect e) -> IO ()
+
+-- | usage: (@auiToolBarArtDrawGripper obj dc wnd rect@).
+auiToolBarArtDrawGripper :: AuiToolBarArt  a -> DC  b -> Window  c -> Rect ->  IO ()
+auiToolBarArtDrawGripper _obj _dc _wnd _rect 
+  = withObjectRef "auiToolBarArtDrawGripper" _obj $ \cobj__obj -> 
+    withObjectPtr _dc $ \cobj__dc -> 
+    withObjectPtr _wnd $ \cobj__wnd -> 
+    withWxRectPtr _rect $ \cobj__rect -> 
+    wxAuiToolBarArt_DrawGripper cobj__obj  cobj__dc  cobj__wnd  cobj__rect  
+foreign import ccall "wxAuiToolBarArt_DrawGripper" wxAuiToolBarArt_DrawGripper :: Ptr (TAuiToolBarArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TWxRect d) -> IO ()
+
+-- | usage: (@auiToolBarArtDrawLabel obj dc wnd item rect@).
+auiToolBarArtDrawLabel :: AuiToolBarArt  a -> DC  b -> Window  c -> AuiToolBarItem  d -> Rect ->  IO ()
+auiToolBarArtDrawLabel _obj _dc _wnd _item _rect 
+  = withObjectRef "auiToolBarArtDrawLabel" _obj $ \cobj__obj -> 
+    withObjectPtr _dc $ \cobj__dc -> 
+    withObjectPtr _wnd $ \cobj__wnd -> 
+    withObjectPtr _item $ \cobj__item -> 
+    withWxRectPtr _rect $ \cobj__rect -> 
+    wxAuiToolBarArt_DrawLabel cobj__obj  cobj__dc  cobj__wnd  cobj__item  cobj__rect  
+foreign import ccall "wxAuiToolBarArt_DrawLabel" wxAuiToolBarArt_DrawLabel :: Ptr (TAuiToolBarArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TAuiToolBarItem d) -> Ptr (TWxRect e) -> IO ()
+
+-- | usage: (@auiToolBarArtDrawOverflowButton obj dc wnd rect state@).
+auiToolBarArtDrawOverflowButton :: AuiToolBarArt  a -> DC  b -> Window  c -> Rect -> Int ->  IO ()
+auiToolBarArtDrawOverflowButton _obj _dc _wnd _rect state 
+  = withObjectRef "auiToolBarArtDrawOverflowButton" _obj $ \cobj__obj -> 
+    withObjectPtr _dc $ \cobj__dc -> 
+    withObjectPtr _wnd $ \cobj__wnd -> 
+    withWxRectPtr _rect $ \cobj__rect -> 
+    wxAuiToolBarArt_DrawOverflowButton cobj__obj  cobj__dc  cobj__wnd  cobj__rect  (toCInt state)  
+foreign import ccall "wxAuiToolBarArt_DrawOverflowButton" wxAuiToolBarArt_DrawOverflowButton :: Ptr (TAuiToolBarArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TWxRect d) -> CInt -> IO ()
+
+-- | usage: (@auiToolBarArtDrawPlainBackground obj dc wnd rect@).
+auiToolBarArtDrawPlainBackground :: AuiToolBarArt  a -> DC  b -> Window  c -> Rect ->  IO ()
+auiToolBarArtDrawPlainBackground _obj _dc _wnd _rect 
+  = withObjectRef "auiToolBarArtDrawPlainBackground" _obj $ \cobj__obj -> 
+    withObjectPtr _dc $ \cobj__dc -> 
+    withObjectPtr _wnd $ \cobj__wnd -> 
+    withWxRectPtr _rect $ \cobj__rect -> 
+    wxAuiToolBarArt_DrawPlainBackground cobj__obj  cobj__dc  cobj__wnd  cobj__rect  
+foreign import ccall "wxAuiToolBarArt_DrawPlainBackground" wxAuiToolBarArt_DrawPlainBackground :: Ptr (TAuiToolBarArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TWxRect d) -> IO ()
+
+-- | usage: (@auiToolBarArtDrawSeparator obj dc wnd rect@).
+auiToolBarArtDrawSeparator :: AuiToolBarArt  a -> DC  b -> Window  c -> Rect ->  IO ()
+auiToolBarArtDrawSeparator _obj _dc _wnd _rect 
+  = withObjectRef "auiToolBarArtDrawSeparator" _obj $ \cobj__obj -> 
+    withObjectPtr _dc $ \cobj__dc -> 
+    withObjectPtr _wnd $ \cobj__wnd -> 
+    withWxRectPtr _rect $ \cobj__rect -> 
+    wxAuiToolBarArt_DrawSeparator cobj__obj  cobj__dc  cobj__wnd  cobj__rect  
+foreign import ccall "wxAuiToolBarArt_DrawSeparator" wxAuiToolBarArt_DrawSeparator :: Ptr (TAuiToolBarArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TWxRect d) -> IO ()
+
+-- | usage: (@auiToolBarArtGetElementSize obj elementid@).
+auiToolBarArtGetElementSize :: AuiToolBarArt  a -> Int ->  IO Int
+auiToolBarArtGetElementSize _obj elementid 
+  = withIntResult $
+    withObjectRef "auiToolBarArtGetElementSize" _obj $ \cobj__obj -> 
+    wxAuiToolBarArt_GetElementSize cobj__obj  (toCInt elementid)  
+foreign import ccall "wxAuiToolBarArt_GetElementSize" wxAuiToolBarArt_GetElementSize :: Ptr (TAuiToolBarArt a) -> CInt -> IO CInt
+
+-- | usage: (@auiToolBarArtGetFlags obj@).
+auiToolBarArtGetFlags :: AuiToolBarArt  a ->  IO Int
+auiToolBarArtGetFlags _obj 
+  = withIntResult $
+    withObjectRef "auiToolBarArtGetFlags" _obj $ \cobj__obj -> 
+    wxAuiToolBarArt_GetFlags cobj__obj  
+foreign import ccall "wxAuiToolBarArt_GetFlags" wxAuiToolBarArt_GetFlags :: Ptr (TAuiToolBarArt a) -> IO CInt
+
+-- | usage: (@auiToolBarArtGetFont obj@).
+auiToolBarArtGetFont :: AuiToolBarArt  a ->  IO (Font  ())
+auiToolBarArtGetFont _obj 
+  = withManagedFontResult $
+    withObjectRef "auiToolBarArtGetFont" _obj $ \cobj__obj -> 
+    wxAuiToolBarArt_GetFont cobj__obj  
+foreign import ccall "wxAuiToolBarArt_GetFont" wxAuiToolBarArt_GetFont :: Ptr (TAuiToolBarArt a) -> IO (Ptr (TFont ()))
+
+-- | usage: (@auiToolBarArtGetLabelSize obj dc wnd item@).
+auiToolBarArtGetLabelSize :: AuiToolBarArt  a -> DC  b -> Window  c -> AuiToolBarItem  d ->  IO (Size)
+auiToolBarArtGetLabelSize _obj _dc _wnd _item 
+  = withWxSizeResult $
+    withObjectRef "auiToolBarArtGetLabelSize" _obj $ \cobj__obj -> 
+    withObjectPtr _dc $ \cobj__dc -> 
+    withObjectPtr _wnd $ \cobj__wnd -> 
+    withObjectPtr _item $ \cobj__item -> 
+    wxAuiToolBarArt_GetLabelSize cobj__obj  cobj__dc  cobj__wnd  cobj__item  
+foreign import ccall "wxAuiToolBarArt_GetLabelSize" wxAuiToolBarArt_GetLabelSize :: Ptr (TAuiToolBarArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TAuiToolBarItem d) -> IO (Ptr (TWxSize ()))
+
+-- | usage: (@auiToolBarArtGetTextOrientation obj@).
+auiToolBarArtGetTextOrientation :: AuiToolBarArt  a ->  IO Int
+auiToolBarArtGetTextOrientation _obj 
+  = withIntResult $
+    withObjectRef "auiToolBarArtGetTextOrientation" _obj $ \cobj__obj -> 
+    wxAuiToolBarArt_GetTextOrientation cobj__obj  
+foreign import ccall "wxAuiToolBarArt_GetTextOrientation" wxAuiToolBarArt_GetTextOrientation :: Ptr (TAuiToolBarArt a) -> IO CInt
+
+-- | usage: (@auiToolBarArtGetToolSize obj dc wnd item@).
+auiToolBarArtGetToolSize :: AuiToolBarArt  a -> DC  b -> Window  c -> AuiToolBarItem  d ->  IO (Size)
+auiToolBarArtGetToolSize _obj _dc _wnd _item 
+  = withWxSizeResult $
+    withObjectRef "auiToolBarArtGetToolSize" _obj $ \cobj__obj -> 
+    withObjectPtr _dc $ \cobj__dc -> 
+    withObjectPtr _wnd $ \cobj__wnd -> 
+    withObjectPtr _item $ \cobj__item -> 
+    wxAuiToolBarArt_GetToolSize cobj__obj  cobj__dc  cobj__wnd  cobj__item  
+foreign import ccall "wxAuiToolBarArt_GetToolSize" wxAuiToolBarArt_GetToolSize :: Ptr (TAuiToolBarArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TAuiToolBarItem d) -> IO (Ptr (TWxSize ()))
+
+-- | usage: (@auiToolBarArtSetElementSize obj elementid size@).
+auiToolBarArtSetElementSize :: AuiToolBarArt  a -> Int -> Int ->  IO ()
+auiToolBarArtSetElementSize _obj elementid size 
+  = withObjectRef "auiToolBarArtSetElementSize" _obj $ \cobj__obj -> 
+    wxAuiToolBarArt_SetElementSize cobj__obj  (toCInt elementid)  (toCInt size)  
+foreign import ccall "wxAuiToolBarArt_SetElementSize" wxAuiToolBarArt_SetElementSize :: Ptr (TAuiToolBarArt a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@auiToolBarArtSetFlags obj flags@).
+auiToolBarArtSetFlags :: AuiToolBarArt  a -> Int ->  IO ()
+auiToolBarArtSetFlags _obj _flags 
+  = withObjectRef "auiToolBarArtSetFlags" _obj $ \cobj__obj -> 
+    wxAuiToolBarArt_SetFlags cobj__obj  (toCInt _flags)  
+foreign import ccall "wxAuiToolBarArt_SetFlags" wxAuiToolBarArt_SetFlags :: Ptr (TAuiToolBarArt a) -> CInt -> IO ()
+
+-- | usage: (@auiToolBarArtSetFont obj font@).
+auiToolBarArtSetFont :: AuiToolBarArt  a -> Font  b ->  IO ()
+auiToolBarArtSetFont _obj _font 
+  = withObjectRef "auiToolBarArtSetFont" _obj $ \cobj__obj -> 
+    withObjectPtr _font $ \cobj__font -> 
+    wxAuiToolBarArt_SetFont cobj__obj  cobj__font  
+foreign import ccall "wxAuiToolBarArt_SetFont" wxAuiToolBarArt_SetFont :: Ptr (TAuiToolBarArt a) -> Ptr (TFont b) -> IO ()
+
+-- | usage: (@auiToolBarArtSetTextOrientation obj orientation@).
+auiToolBarArtSetTextOrientation :: AuiToolBarArt  a -> Int ->  IO ()
+auiToolBarArtSetTextOrientation _obj orientation 
+  = withObjectRef "auiToolBarArtSetTextOrientation" _obj $ \cobj__obj -> 
+    wxAuiToolBarArt_SetTextOrientation cobj__obj  (toCInt orientation)  
+foreign import ccall "wxAuiToolBarArt_SetTextOrientation" wxAuiToolBarArt_SetTextOrientation :: Ptr (TAuiToolBarArt a) -> CInt -> IO ()
+
+-- | usage: (@auiToolBarArtShowDropDown obj wnd items@).
+auiToolBarArtShowDropDown :: AuiToolBarArt  a -> Window  b -> AuiToolBarItemArray  c ->  IO Int
+auiToolBarArtShowDropDown _obj _wnd _items 
+  = withIntResult $
+    withObjectRef "auiToolBarArtShowDropDown" _obj $ \cobj__obj -> 
+    withObjectPtr _wnd $ \cobj__wnd -> 
+    withObjectPtr _items $ \cobj__items -> 
+    wxAuiToolBarArt_ShowDropDown cobj__obj  cobj__wnd  cobj__items  
+foreign import ccall "wxAuiToolBarArt_ShowDropDown" wxAuiToolBarArt_ShowDropDown :: Ptr (TAuiToolBarArt a) -> Ptr (TWindow b) -> Ptr (TAuiToolBarItemArray c) -> IO CInt
+
+-- | usage: (@auiToolBarClear obj@).
+auiToolBarClear :: AuiToolBar  a ->  IO ()
+auiToolBarClear _obj 
+  = withObjectRef "auiToolBarClear" _obj $ \cobj__obj -> 
+    wxAuiToolBar_Clear cobj__obj  
+foreign import ccall "wxAuiToolBar_Clear" wxAuiToolBar_Clear :: Ptr (TAuiToolBar a) -> IO ()
+
+-- | usage: (@auiToolBarClearTools obj@).
+auiToolBarClearTools :: AuiToolBar  a ->  IO ()
+auiToolBarClearTools _obj 
+  = withObjectRef "auiToolBarClearTools" _obj $ \cobj__obj -> 
+    wxAuiToolBar_ClearTools cobj__obj  
+foreign import ccall "wxAuiToolBar_ClearTools" wxAuiToolBar_ClearTools :: Ptr (TAuiToolBar a) -> IO ()
+
+-- | usage: (@auiToolBarCreate parent id xy widthheight style@).
+auiToolBarCreate :: Window  a -> Id -> Point -> Size -> Int ->  IO (AuiToolBar  ())
+auiToolBarCreate _parent id xy _widthheight style 
+  = withObjectResult $
+    withObjectPtr _parent $ \cobj__parent -> 
+    wxAuiToolBar_Create cobj__parent  (toCInt id)  (toCIntPointX xy) (toCIntPointY xy)  (toCIntSizeW _widthheight) (toCIntSizeH _widthheight)  (toCInt style)  
+foreign import ccall "wxAuiToolBar_Create" wxAuiToolBar_Create :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TAuiToolBar ()))
+
+-- | usage: (@auiToolBarCreateDefault@).
+auiToolBarCreateDefault ::  IO (AuiToolBar  ())
+auiToolBarCreateDefault 
+  = withObjectResult $
+    wxAuiToolBar_CreateDefault 
+foreign import ccall "wxAuiToolBar_CreateDefault" wxAuiToolBar_CreateDefault :: IO (Ptr (TAuiToolBar ()))
+
+-- | usage: (@auiToolBarCreateFromDefault obj parent id xy widthheight style@).
+auiToolBarCreateFromDefault :: AuiToolBar  a -> Window  b -> Id -> Point -> Size -> Int ->  IO Bool
+auiToolBarCreateFromDefault _obj _parent id xy _widthheight style 
+  = withBoolResult $
+    withObjectRef "auiToolBarCreateFromDefault" _obj $ \cobj__obj -> 
+    withObjectPtr _parent $ \cobj__parent -> 
+    wxAuiToolBar_CreateFromDefault cobj__obj  cobj__parent  (toCInt id)  (toCIntPointX xy) (toCIntPointY xy)  (toCIntSizeW _widthheight) (toCIntSizeH _widthheight)  (toCInt style)  
+foreign import ccall "wxAuiToolBar_CreateFromDefault" wxAuiToolBar_CreateFromDefault :: Ptr (TAuiToolBar a) -> Ptr (TWindow b) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO CBool
+
+-- | usage: (@auiToolBarDelete obj@).
+auiToolBarDelete :: AuiToolBar  a ->  IO ()
+auiToolBarDelete
+  = objectDelete
+
+
+-- | usage: (@auiToolBarDeleteByIndex obj toolid@).
+auiToolBarDeleteByIndex :: AuiToolBar  a -> Int ->  IO Bool
+auiToolBarDeleteByIndex _obj toolid 
+  = withBoolResult $
+    withObjectRef "auiToolBarDeleteByIndex" _obj $ \cobj__obj -> 
+    wxAuiToolBar_DeleteByIndex cobj__obj  (toCInt toolid)  
+foreign import ccall "wxAuiToolBar_DeleteByIndex" wxAuiToolBar_DeleteByIndex :: Ptr (TAuiToolBar a) -> CInt -> IO CBool
+
+-- | usage: (@auiToolBarDeleteTool obj toolid@).
+auiToolBarDeleteTool :: AuiToolBar  a -> Int ->  IO Bool
+auiToolBarDeleteTool _obj toolid 
+  = withBoolResult $
+    withObjectRef "auiToolBarDeleteTool" _obj $ \cobj__obj -> 
+    wxAuiToolBar_DeleteTool cobj__obj  (toCInt toolid)  
+foreign import ccall "wxAuiToolBar_DeleteTool" wxAuiToolBar_DeleteTool :: Ptr (TAuiToolBar a) -> CInt -> IO CBool
+
+-- | usage: (@auiToolBarEnableTool obj toolid state@).
+auiToolBarEnableTool :: AuiToolBar  a -> Int -> Bool ->  IO ()
+auiToolBarEnableTool _obj toolid state 
+  = withObjectRef "auiToolBarEnableTool" _obj $ \cobj__obj -> 
+    wxAuiToolBar_EnableTool cobj__obj  (toCInt toolid)  (toCBool state)  
+foreign import ccall "wxAuiToolBar_EnableTool" wxAuiToolBar_EnableTool :: Ptr (TAuiToolBar a) -> CInt -> CBool -> IO ()
+
+-- | usage: (@auiToolBarEventGetClickPoint obj@).
+auiToolBarEventGetClickPoint :: AuiToolBarEvent  a ->  IO (Point)
+auiToolBarEventGetClickPoint _obj 
+  = withWxPointResult $
+    withObjectRef "auiToolBarEventGetClickPoint" _obj $ \cobj__obj -> 
+    wxAuiToolBarEvent_GetClickPoint cobj__obj  
+foreign import ccall "wxAuiToolBarEvent_GetClickPoint" wxAuiToolBarEvent_GetClickPoint :: Ptr (TAuiToolBarEvent a) -> IO (Ptr (TWxPoint ()))
+
+-- | usage: (@auiToolBarEventGetItemRect obj@).
+auiToolBarEventGetItemRect :: AuiToolBarEvent  a ->  IO (Rect)
+auiToolBarEventGetItemRect _obj 
+  = withWxRectResult $
+    withObjectRef "auiToolBarEventGetItemRect" _obj $ \cobj__obj -> 
+    wxAuiToolBarEvent_GetItemRect cobj__obj  
+foreign import ccall "wxAuiToolBarEvent_GetItemRect" wxAuiToolBarEvent_GetItemRect :: Ptr (TAuiToolBarEvent a) -> IO (Ptr (TWxRect ()))
+
+-- | usage: (@auiToolBarEventGetToolId obj@).
+auiToolBarEventGetToolId :: AuiToolBarEvent  a ->  IO Int
+auiToolBarEventGetToolId _obj 
+  = withIntResult $
+    withObjectRef "auiToolBarEventGetToolId" _obj $ \cobj__obj -> 
+    wxAuiToolBarEvent_GetToolId cobj__obj  
+foreign import ccall "wxAuiToolBarEvent_GetToolId" wxAuiToolBarEvent_GetToolId :: Ptr (TAuiToolBarEvent a) -> IO CInt
+
+-- | usage: (@auiToolBarEventIsDropDownClicked obj@).
+auiToolBarEventIsDropDownClicked :: AuiToolBarEvent  a ->  IO Bool
+auiToolBarEventIsDropDownClicked _obj 
+  = withBoolResult $
+    withObjectRef "auiToolBarEventIsDropDownClicked" _obj $ \cobj__obj -> 
+    wxAuiToolBarEvent_IsDropDownClicked cobj__obj  
+foreign import ccall "wxAuiToolBarEvent_IsDropDownClicked" wxAuiToolBarEvent_IsDropDownClicked :: Ptr (TAuiToolBarEvent a) -> IO CBool
+
+-- | usage: (@auiToolBarFindControl obj windowid@).
+auiToolBarFindControl :: AuiToolBar  a -> Int ->  IO (Control  ())
+auiToolBarFindControl _obj windowid 
+  = withObjectResult $
+    withObjectRef "auiToolBarFindControl" _obj $ \cobj__obj -> 
+    wxAuiToolBar_FindControl cobj__obj  (toCInt windowid)  
+foreign import ccall "wxAuiToolBar_FindControl" wxAuiToolBar_FindControl :: Ptr (TAuiToolBar a) -> CInt -> IO (Ptr (TControl ()))
+
+-- | usage: (@auiToolBarFindTool obj toolid@).
+auiToolBarFindTool :: AuiToolBar  a -> Int ->  IO (AuiToolBarItem  ())
+auiToolBarFindTool _obj toolid 
+  = withObjectResult $
+    withObjectRef "auiToolBarFindTool" _obj $ \cobj__obj -> 
+    wxAuiToolBar_FindTool cobj__obj  (toCInt toolid)  
+foreign import ccall "wxAuiToolBar_FindTool" wxAuiToolBar_FindTool :: Ptr (TAuiToolBar a) -> CInt -> IO (Ptr (TAuiToolBarItem ()))
+
+-- | usage: (@auiToolBarFindToolByIndex obj idx@).
+auiToolBarFindToolByIndex :: AuiToolBar  a -> Int ->  IO (AuiToolBarItem  ())
+auiToolBarFindToolByIndex _obj idx 
+  = withObjectResult $
+    withObjectRef "auiToolBarFindToolByIndex" _obj $ \cobj__obj -> 
+    wxAuiToolBar_FindToolByIndex cobj__obj  (toCInt idx)  
+foreign import ccall "wxAuiToolBar_FindToolByIndex" wxAuiToolBar_FindToolByIndex :: Ptr (TAuiToolBar a) -> CInt -> IO (Ptr (TAuiToolBarItem ()))
+
+-- | usage: (@auiToolBarFindToolByPosition obj xy@).
+auiToolBarFindToolByPosition :: AuiToolBar  a -> Point ->  IO (AuiToolBarItem  ())
+auiToolBarFindToolByPosition _obj xy 
+  = withObjectResult $
+    withObjectRef "auiToolBarFindToolByPosition" _obj $ \cobj__obj -> 
+    wxAuiToolBar_FindToolByPosition cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  
+foreign import ccall "wxAuiToolBar_FindToolByPosition" wxAuiToolBar_FindToolByPosition :: Ptr (TAuiToolBar a) -> CInt -> CInt -> IO (Ptr (TAuiToolBarItem ()))
+
+-- | usage: (@auiToolBarGetArtProvider obj@).
+auiToolBarGetArtProvider :: AuiToolBar  a ->  IO (AuiToolBarArt  ())
+auiToolBarGetArtProvider _obj 
+  = withObjectResult $
+    withObjectRef "auiToolBarGetArtProvider" _obj $ \cobj__obj -> 
+    wxAuiToolBar_GetArtProvider cobj__obj  
+foreign import ccall "wxAuiToolBar_GetArtProvider" wxAuiToolBar_GetArtProvider :: Ptr (TAuiToolBar a) -> IO (Ptr (TAuiToolBarArt ()))
+
+-- | usage: (@auiToolBarGetGripperVisible obj@).
+auiToolBarGetGripperVisible :: AuiToolBar  a ->  IO Bool
+auiToolBarGetGripperVisible _obj 
+  = withBoolResult $
+    withObjectRef "auiToolBarGetGripperVisible" _obj $ \cobj__obj -> 
+    wxAuiToolBar_GetGripperVisible cobj__obj  
+foreign import ccall "wxAuiToolBar_GetGripperVisible" wxAuiToolBar_GetGripperVisible :: Ptr (TAuiToolBar a) -> IO CBool
+
+-- | usage: (@auiToolBarGetHintSize obj dockdirection@).
+auiToolBarGetHintSize :: AuiToolBar  a -> Int ->  IO (Size)
+auiToolBarGetHintSize _obj dockdirection 
+  = withWxSizeResult $
+    withObjectRef "auiToolBarGetHintSize" _obj $ \cobj__obj -> 
+    wxAuiToolBar_GetHintSize cobj__obj  (toCInt dockdirection)  
+foreign import ccall "wxAuiToolBar_GetHintSize" wxAuiToolBar_GetHintSize :: Ptr (TAuiToolBar a) -> CInt -> IO (Ptr (TWxSize ()))
+
+-- | usage: (@auiToolBarGetOverflowVisible obj@).
+auiToolBarGetOverflowVisible :: AuiToolBar  a ->  IO Bool
+auiToolBarGetOverflowVisible _obj 
+  = withBoolResult $
+    withObjectRef "auiToolBarGetOverflowVisible" _obj $ \cobj__obj -> 
+    wxAuiToolBar_GetOverflowVisible cobj__obj  
+foreign import ccall "wxAuiToolBar_GetOverflowVisible" wxAuiToolBar_GetOverflowVisible :: Ptr (TAuiToolBar a) -> IO CBool
+
+-- | usage: (@auiToolBarGetToolBarFits obj@).
+auiToolBarGetToolBarFits :: AuiToolBar  a ->  IO Bool
+auiToolBarGetToolBarFits _obj 
+  = withBoolResult $
+    withObjectRef "auiToolBarGetToolBarFits" _obj $ \cobj__obj -> 
+    wxAuiToolBar_GetToolBarFits cobj__obj  
+foreign import ccall "wxAuiToolBar_GetToolBarFits" wxAuiToolBar_GetToolBarFits :: Ptr (TAuiToolBar a) -> IO CBool
+
+-- | usage: (@auiToolBarGetToolBitmap obj toolid@).
+auiToolBarGetToolBitmap :: AuiToolBar  a -> Int ->  IO (Bitmap  ())
+auiToolBarGetToolBitmap _obj toolid 
+  = withRefBitmap $ \pref -> 
+    withObjectRef "auiToolBarGetToolBitmap" _obj $ \cobj__obj -> 
+    wxAuiToolBar_GetToolBitmap cobj__obj  (toCInt toolid)   pref
+foreign import ccall "wxAuiToolBar_GetToolBitmap" wxAuiToolBar_GetToolBitmap :: Ptr (TAuiToolBar a) -> CInt -> Ptr (TBitmap ()) -> IO ()
+
+-- | usage: (@auiToolBarGetToolBitmapSize obj@).
+auiToolBarGetToolBitmapSize :: AuiToolBar  a ->  IO (Size)
+auiToolBarGetToolBitmapSize _obj 
+  = withWxSizeResult $
+    withObjectRef "auiToolBarGetToolBitmapSize" _obj $ \cobj__obj -> 
+    wxAuiToolBar_GetToolBitmapSize cobj__obj  
+foreign import ccall "wxAuiToolBar_GetToolBitmapSize" wxAuiToolBar_GetToolBitmapSize :: Ptr (TAuiToolBar a) -> IO (Ptr (TWxSize ()))
+
+-- | usage: (@auiToolBarGetToolBorderPadding obj@).
+auiToolBarGetToolBorderPadding :: AuiToolBar  a ->  IO Int
+auiToolBarGetToolBorderPadding _obj 
+  = withIntResult $
+    withObjectRef "auiToolBarGetToolBorderPadding" _obj $ \cobj__obj -> 
+    wxAuiToolBar_GetToolBorderPadding cobj__obj  
+foreign import ccall "wxAuiToolBar_GetToolBorderPadding" wxAuiToolBar_GetToolBorderPadding :: Ptr (TAuiToolBar a) -> IO CInt
+
+-- | usage: (@auiToolBarGetToolCount obj@).
+auiToolBarGetToolCount :: AuiToolBar  a ->  IO Int
+auiToolBarGetToolCount _obj 
+  = withIntResult $
+    withObjectRef "auiToolBarGetToolCount" _obj $ \cobj__obj -> 
+    wxAuiToolBar_GetToolCount cobj__obj  
+foreign import ccall "wxAuiToolBar_GetToolCount" wxAuiToolBar_GetToolCount :: Ptr (TAuiToolBar a) -> IO CInt
+
+-- | usage: (@auiToolBarGetToolDropDown obj toolid@).
+auiToolBarGetToolDropDown :: AuiToolBar  a -> Int ->  IO Bool
+auiToolBarGetToolDropDown _obj toolid 
+  = withBoolResult $
+    withObjectRef "auiToolBarGetToolDropDown" _obj $ \cobj__obj -> 
+    wxAuiToolBar_GetToolDropDown cobj__obj  (toCInt toolid)  
+foreign import ccall "wxAuiToolBar_GetToolDropDown" wxAuiToolBar_GetToolDropDown :: Ptr (TAuiToolBar a) -> CInt -> IO CBool
+
+-- | usage: (@auiToolBarGetToolEnabled obj toolid@).
+auiToolBarGetToolEnabled :: AuiToolBar  a -> Int ->  IO Bool
+auiToolBarGetToolEnabled _obj toolid 
+  = withBoolResult $
+    withObjectRef "auiToolBarGetToolEnabled" _obj $ \cobj__obj -> 
+    wxAuiToolBar_GetToolEnabled cobj__obj  (toCInt toolid)  
+foreign import ccall "wxAuiToolBar_GetToolEnabled" wxAuiToolBar_GetToolEnabled :: Ptr (TAuiToolBar a) -> CInt -> IO CBool
+
+-- | usage: (@auiToolBarGetToolFits obj toolid@).
+auiToolBarGetToolFits :: AuiToolBar  a -> Int ->  IO Bool
+auiToolBarGetToolFits _obj toolid 
+  = withBoolResult $
+    withObjectRef "auiToolBarGetToolFits" _obj $ \cobj__obj -> 
+    wxAuiToolBar_GetToolFits cobj__obj  (toCInt toolid)  
+foreign import ccall "wxAuiToolBar_GetToolFits" wxAuiToolBar_GetToolFits :: Ptr (TAuiToolBar a) -> CInt -> IO CBool
+
+-- | usage: (@auiToolBarGetToolFitsByIndex obj toolid@).
+auiToolBarGetToolFitsByIndex :: AuiToolBar  a -> Int ->  IO Bool
+auiToolBarGetToolFitsByIndex _obj toolid 
+  = withBoolResult $
+    withObjectRef "auiToolBarGetToolFitsByIndex" _obj $ \cobj__obj -> 
+    wxAuiToolBar_GetToolFitsByIndex cobj__obj  (toCInt toolid)  
+foreign import ccall "wxAuiToolBar_GetToolFitsByIndex" wxAuiToolBar_GetToolFitsByIndex :: Ptr (TAuiToolBar a) -> CInt -> IO CBool
+
+-- | usage: (@auiToolBarGetToolIndex obj toolid@).
+auiToolBarGetToolIndex :: AuiToolBar  a -> Int ->  IO Int
+auiToolBarGetToolIndex _obj toolid 
+  = withIntResult $
+    withObjectRef "auiToolBarGetToolIndex" _obj $ \cobj__obj -> 
+    wxAuiToolBar_GetToolIndex cobj__obj  (toCInt toolid)  
+foreign import ccall "wxAuiToolBar_GetToolIndex" wxAuiToolBar_GetToolIndex :: Ptr (TAuiToolBar a) -> CInt -> IO CInt
+
+-- | usage: (@auiToolBarGetToolLabel obj toolid@).
+auiToolBarGetToolLabel :: AuiToolBar  a -> Int ->  IO (String)
+auiToolBarGetToolLabel _obj toolid 
+  = withManagedStringResult $
+    withObjectRef "auiToolBarGetToolLabel" _obj $ \cobj__obj -> 
+    wxAuiToolBar_GetToolLabel cobj__obj  (toCInt toolid)  
+foreign import ccall "wxAuiToolBar_GetToolLabel" wxAuiToolBar_GetToolLabel :: Ptr (TAuiToolBar a) -> CInt -> IO (Ptr (TWxString ()))
+
+-- | usage: (@auiToolBarGetToolLongHelp obj toolid@).
+auiToolBarGetToolLongHelp :: AuiToolBar  a -> Int ->  IO (String)
+auiToolBarGetToolLongHelp _obj toolid 
+  = withManagedStringResult $
+    withObjectRef "auiToolBarGetToolLongHelp" _obj $ \cobj__obj -> 
+    wxAuiToolBar_GetToolLongHelp cobj__obj  (toCInt toolid)  
+foreign import ccall "wxAuiToolBar_GetToolLongHelp" wxAuiToolBar_GetToolLongHelp :: Ptr (TAuiToolBar a) -> CInt -> IO (Ptr (TWxString ()))
+
+-- | usage: (@auiToolBarGetToolPacking obj@).
+auiToolBarGetToolPacking :: AuiToolBar  a ->  IO Int
+auiToolBarGetToolPacking _obj 
+  = withIntResult $
+    withObjectRef "auiToolBarGetToolPacking" _obj $ \cobj__obj -> 
+    wxAuiToolBar_GetToolPacking cobj__obj  
+foreign import ccall "wxAuiToolBar_GetToolPacking" wxAuiToolBar_GetToolPacking :: Ptr (TAuiToolBar a) -> IO CInt
+
+-- | usage: (@auiToolBarGetToolPos obj toolid@).
+auiToolBarGetToolPos :: AuiToolBar  a -> Int ->  IO Int
+auiToolBarGetToolPos _obj toolid 
+  = withIntResult $
+    withObjectRef "auiToolBarGetToolPos" _obj $ \cobj__obj -> 
+    wxAuiToolBar_GetToolPos cobj__obj  (toCInt toolid)  
+foreign import ccall "wxAuiToolBar_GetToolPos" wxAuiToolBar_GetToolPos :: Ptr (TAuiToolBar a) -> CInt -> IO CInt
+
+-- | usage: (@auiToolBarGetToolProportion obj toolid@).
+auiToolBarGetToolProportion :: AuiToolBar  a -> Int ->  IO Int
+auiToolBarGetToolProportion _obj toolid 
+  = withIntResult $
+    withObjectRef "auiToolBarGetToolProportion" _obj $ \cobj__obj -> 
+    wxAuiToolBar_GetToolProportion cobj__obj  (toCInt toolid)  
+foreign import ccall "wxAuiToolBar_GetToolProportion" wxAuiToolBar_GetToolProportion :: Ptr (TAuiToolBar a) -> CInt -> IO CInt
+
+-- | usage: (@auiToolBarGetToolRect obj toolid@).
+auiToolBarGetToolRect :: AuiToolBar  a -> Int ->  IO (Rect)
+auiToolBarGetToolRect _obj toolid 
+  = withWxRectResult $
+    withObjectRef "auiToolBarGetToolRect" _obj $ \cobj__obj -> 
+    wxAuiToolBar_GetToolRect cobj__obj  (toCInt toolid)  
+foreign import ccall "wxAuiToolBar_GetToolRect" wxAuiToolBar_GetToolRect :: Ptr (TAuiToolBar a) -> CInt -> IO (Ptr (TWxRect ()))
+
+-- | usage: (@auiToolBarGetToolSeparation obj@).
+auiToolBarGetToolSeparation :: AuiToolBar  a ->  IO Int
+auiToolBarGetToolSeparation _obj 
+  = withIntResult $
+    withObjectRef "auiToolBarGetToolSeparation" _obj $ \cobj__obj -> 
+    wxAuiToolBar_GetToolSeparation cobj__obj  
+foreign import ccall "wxAuiToolBar_GetToolSeparation" wxAuiToolBar_GetToolSeparation :: Ptr (TAuiToolBar a) -> IO CInt
+
+-- | usage: (@auiToolBarGetToolShortHelp obj toolid@).
+auiToolBarGetToolShortHelp :: AuiToolBar  a -> Int ->  IO (String)
+auiToolBarGetToolShortHelp _obj toolid 
+  = withManagedStringResult $
+    withObjectRef "auiToolBarGetToolShortHelp" _obj $ \cobj__obj -> 
+    wxAuiToolBar_GetToolShortHelp cobj__obj  (toCInt toolid)  
+foreign import ccall "wxAuiToolBar_GetToolShortHelp" wxAuiToolBar_GetToolShortHelp :: Ptr (TAuiToolBar a) -> CInt -> IO (Ptr (TWxString ()))
+
+-- | usage: (@auiToolBarGetToolSticky obj toolid@).
+auiToolBarGetToolSticky :: AuiToolBar  a -> Int ->  IO Bool
+auiToolBarGetToolSticky _obj toolid 
+  = withBoolResult $
+    withObjectRef "auiToolBarGetToolSticky" _obj $ \cobj__obj -> 
+    wxAuiToolBar_GetToolSticky cobj__obj  (toCInt toolid)  
+foreign import ccall "wxAuiToolBar_GetToolSticky" wxAuiToolBar_GetToolSticky :: Ptr (TAuiToolBar a) -> CInt -> IO CBool
+
+-- | usage: (@auiToolBarGetToolTextOrientation obj@).
+auiToolBarGetToolTextOrientation :: AuiToolBar  a ->  IO Int
+auiToolBarGetToolTextOrientation _obj 
+  = withIntResult $
+    withObjectRef "auiToolBarGetToolTextOrientation" _obj $ \cobj__obj -> 
+    wxAuiToolBar_GetToolTextOrientation cobj__obj  
+foreign import ccall "wxAuiToolBar_GetToolTextOrientation" wxAuiToolBar_GetToolTextOrientation :: Ptr (TAuiToolBar a) -> IO CInt
+
+-- | usage: (@auiToolBarGetToolToggled obj toolid@).
+auiToolBarGetToolToggled :: AuiToolBar  a -> Int ->  IO Bool
+auiToolBarGetToolToggled _obj toolid 
+  = withBoolResult $
+    withObjectRef "auiToolBarGetToolToggled" _obj $ \cobj__obj -> 
+    wxAuiToolBar_GetToolToggled cobj__obj  (toCInt toolid)  
+foreign import ccall "wxAuiToolBar_GetToolToggled" wxAuiToolBar_GetToolToggled :: Ptr (TAuiToolBar a) -> CInt -> IO CBool
+
+-- | usage: (@auiToolBarGetWindowStyleFlag obj@).
+auiToolBarGetWindowStyleFlag :: AuiToolBar  a ->  IO Int
+auiToolBarGetWindowStyleFlag _obj 
+  = withIntResult $
+    withObjectRef "auiToolBarGetWindowStyleFlag" _obj $ \cobj__obj -> 
+    wxAuiToolBar_GetWindowStyleFlag cobj__obj  
+foreign import ccall "wxAuiToolBar_GetWindowStyleFlag" wxAuiToolBar_GetWindowStyleFlag :: Ptr (TAuiToolBar a) -> IO CInt
+
+-- | usage: (@auiToolBarIsPaneValid obj pane@).
+auiToolBarIsPaneValid :: AuiToolBar  a -> AuiPaneInfo  b ->  IO Bool
+auiToolBarIsPaneValid _obj _pane 
+  = withBoolResult $
+    withObjectRef "auiToolBarIsPaneValid" _obj $ \cobj__obj -> 
+    withObjectPtr _pane $ \cobj__pane -> 
+    wxAuiToolBar_IsPaneValid cobj__obj  cobj__pane  
+foreign import ccall "wxAuiToolBar_IsPaneValid" wxAuiToolBar_IsPaneValid :: Ptr (TAuiToolBar a) -> Ptr (TAuiPaneInfo b) -> IO CBool
+
+-- | usage: (@auiToolBarItemArrayCreate@).
+auiToolBarItemArrayCreate ::  IO (AuiToolBarItemArray  ())
+auiToolBarItemArrayCreate 
+  = withObjectResult $
+    wxAuiToolBarItemArray_Create 
+foreign import ccall "wxAuiToolBarItemArray_Create" wxAuiToolBarItemArray_Create :: IO (Ptr (TAuiToolBarItemArray ()))
+
+-- | usage: (@auiToolBarItemArrayDelete obj@).
+auiToolBarItemArrayDelete :: AuiToolBarItemArray  a ->  IO ()
+auiToolBarItemArrayDelete _obj 
+  = withObjectRef "auiToolBarItemArrayDelete" _obj $ \cobj__obj -> 
+    wxAuiToolBarItemArray_Delete cobj__obj  
+foreign import ccall "wxAuiToolBarItemArray_Delete" wxAuiToolBarItemArray_Delete :: Ptr (TAuiToolBarItemArray a) -> IO ()
+
+-- | usage: (@auiToolBarItemArrayGetCount obj@).
+auiToolBarItemArrayGetCount :: AuiToolBarItemArray  a ->  IO Int
+auiToolBarItemArrayGetCount _obj 
+  = withIntResult $
+    withObjectRef "auiToolBarItemArrayGetCount" _obj $ \cobj__obj -> 
+    wxAuiToolBarItemArray_GetCount cobj__obj  
+foreign import ccall "wxAuiToolBarItemArray_GetCount" wxAuiToolBarItemArray_GetCount :: Ptr (TAuiToolBarItemArray a) -> IO CInt
+
+-- | usage: (@auiToolBarItemArrayItem obj idx@).
+auiToolBarItemArrayItem :: AuiToolBarItemArray  a -> Int ->  IO (AuiToolBarItem  ())
+auiToolBarItemArrayItem _obj _idx 
+  = withObjectResult $
+    withObjectRef "auiToolBarItemArrayItem" _obj $ \cobj__obj -> 
+    wxAuiToolBarItemArray_Item cobj__obj  (toCInt _idx)  
+foreign import ccall "wxAuiToolBarItemArray_Item" wxAuiToolBarItemArray_Item :: Ptr (TAuiToolBarItemArray a) -> CInt -> IO (Ptr (TAuiToolBarItem ()))
+
+-- | usage: (@auiToolBarItemAssign obj c@).
+auiToolBarItemAssign :: AuiToolBarItem  a -> AuiToolBarItem  b ->  IO ()
+auiToolBarItemAssign _obj _c 
+  = withObjectRef "auiToolBarItemAssign" _obj $ \cobj__obj -> 
+    withObjectPtr _c $ \cobj__c -> 
+    wxAuiToolBarItem_Assign cobj__obj  cobj__c  
+foreign import ccall "wxAuiToolBarItem_Assign" wxAuiToolBarItem_Assign :: Ptr (TAuiToolBarItem a) -> Ptr (TAuiToolBarItem b) -> IO ()
+
+-- | usage: (@auiToolBarItemCopy obj c@).
+auiToolBarItemCopy :: AuiToolBarItem  a -> AuiToolBarItem  b ->  IO (AuiToolBarItem  ())
+auiToolBarItemCopy _obj _c 
+  = withObjectResult $
+    withObjectRef "auiToolBarItemCopy" _obj $ \cobj__obj -> 
+    withObjectPtr _c $ \cobj__c -> 
+    wxAuiToolBarItem_Copy cobj__obj  cobj__c  
+foreign import ccall "wxAuiToolBarItem_Copy" wxAuiToolBarItem_Copy :: Ptr (TAuiToolBarItem a) -> Ptr (TAuiToolBarItem b) -> IO (Ptr (TAuiToolBarItem ()))
+
+-- | usage: (@auiToolBarItemCreate c@).
+auiToolBarItemCreate :: AuiToolBarItem  a ->  IO (AuiToolBarItem  ())
+auiToolBarItemCreate _c 
+  = withObjectResult $
+    withObjectPtr _c $ \cobj__c -> 
+    wxAuiToolBarItem_Create cobj__c  
+foreign import ccall "wxAuiToolBarItem_Create" wxAuiToolBarItem_Create :: Ptr (TAuiToolBarItem a) -> IO (Ptr (TAuiToolBarItem ()))
+
+-- | usage: (@auiToolBarItemCreateDefault@).
+auiToolBarItemCreateDefault ::  IO (AuiToolBarItem  ())
+auiToolBarItemCreateDefault 
+  = withObjectResult $
+    wxAuiToolBarItem_CreateDefault 
+foreign import ccall "wxAuiToolBarItem_CreateDefault" wxAuiToolBarItem_CreateDefault :: IO (Ptr (TAuiToolBarItem ()))
+
+-- | usage: (@auiToolBarItemGetAlignment obj@).
+auiToolBarItemGetAlignment :: AuiToolBarItem  a ->  IO Int
+auiToolBarItemGetAlignment _obj 
+  = withIntResult $
+    withObjectRef "auiToolBarItemGetAlignment" _obj $ \cobj__obj -> 
+    wxAuiToolBarItem_GetAlignment cobj__obj  
+foreign import ccall "wxAuiToolBarItem_GetAlignment" wxAuiToolBarItem_GetAlignment :: Ptr (TAuiToolBarItem a) -> IO CInt
+
+-- | usage: (@auiToolBarItemGetBitmap obj@).
+auiToolBarItemGetBitmap :: AuiToolBarItem  a ->  IO (Bitmap  ())
+auiToolBarItemGetBitmap _obj 
+  = withRefBitmap $ \pref -> 
+    withObjectRef "auiToolBarItemGetBitmap" _obj $ \cobj__obj -> 
+    wxAuiToolBarItem_GetBitmap cobj__obj   pref
+foreign import ccall "wxAuiToolBarItem_GetBitmap" wxAuiToolBarItem_GetBitmap :: Ptr (TAuiToolBarItem a) -> Ptr (TBitmap ()) -> IO ()
+
+-- | usage: (@auiToolBarItemGetDisabledBitmap obj@).
+auiToolBarItemGetDisabledBitmap :: AuiToolBarItem  a ->  IO (Bitmap  ())
+auiToolBarItemGetDisabledBitmap _obj 
+  = withRefBitmap $ \pref -> 
+    withObjectRef "auiToolBarItemGetDisabledBitmap" _obj $ \cobj__obj -> 
+    wxAuiToolBarItem_GetDisabledBitmap cobj__obj   pref
+foreign import ccall "wxAuiToolBarItem_GetDisabledBitmap" wxAuiToolBarItem_GetDisabledBitmap :: Ptr (TAuiToolBarItem a) -> Ptr (TBitmap ()) -> IO ()
+
+-- | usage: (@auiToolBarItemGetHoverBitmap obj@).
+auiToolBarItemGetHoverBitmap :: AuiToolBarItem  a ->  IO (Bitmap  ())
+auiToolBarItemGetHoverBitmap _obj 
+  = withRefBitmap $ \pref -> 
+    withObjectRef "auiToolBarItemGetHoverBitmap" _obj $ \cobj__obj -> 
+    wxAuiToolBarItem_GetHoverBitmap cobj__obj   pref
+foreign import ccall "wxAuiToolBarItem_GetHoverBitmap" wxAuiToolBarItem_GetHoverBitmap :: Ptr (TAuiToolBarItem a) -> Ptr (TBitmap ()) -> IO ()
+
+-- | usage: (@auiToolBarItemGetId obj@).
+auiToolBarItemGetId :: AuiToolBarItem  a ->  IO Int
+auiToolBarItemGetId _obj 
+  = withIntResult $
+    withObjectRef "auiToolBarItemGetId" _obj $ \cobj__obj -> 
+    wxAuiToolBarItem_GetId cobj__obj  
+foreign import ccall "wxAuiToolBarItem_GetId" wxAuiToolBarItem_GetId :: Ptr (TAuiToolBarItem a) -> IO CInt
+
+-- | usage: (@auiToolBarItemGetKind obj@).
+auiToolBarItemGetKind :: AuiToolBarItem  a ->  IO Int
+auiToolBarItemGetKind _obj 
+  = withIntResult $
+    withObjectRef "auiToolBarItemGetKind" _obj $ \cobj__obj -> 
+    wxAuiToolBarItem_GetKind cobj__obj  
+foreign import ccall "wxAuiToolBarItem_GetKind" wxAuiToolBarItem_GetKind :: Ptr (TAuiToolBarItem a) -> IO CInt
+
+-- | usage: (@auiToolBarItemGetLabel obj@).
+auiToolBarItemGetLabel :: AuiToolBarItem  a ->  IO (String)
+auiToolBarItemGetLabel _obj 
+  = withManagedStringResult $
+    withObjectRef "auiToolBarItemGetLabel" _obj $ \cobj__obj -> 
+    wxAuiToolBarItem_GetLabel cobj__obj  
+foreign import ccall "wxAuiToolBarItem_GetLabel" wxAuiToolBarItem_GetLabel :: Ptr (TAuiToolBarItem a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@auiToolBarItemGetLongHelp obj@).
+auiToolBarItemGetLongHelp :: AuiToolBarItem  a ->  IO (String)
+auiToolBarItemGetLongHelp _obj 
+  = withManagedStringResult $
+    withObjectRef "auiToolBarItemGetLongHelp" _obj $ \cobj__obj -> 
+    wxAuiToolBarItem_GetLongHelp cobj__obj  
+foreign import ccall "wxAuiToolBarItem_GetLongHelp" wxAuiToolBarItem_GetLongHelp :: Ptr (TAuiToolBarItem a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@auiToolBarItemGetMinSize obj@).
+auiToolBarItemGetMinSize :: AuiToolBarItem  a ->  IO (Size)
+auiToolBarItemGetMinSize _obj 
+  = withWxSizeResult $
+    withObjectRef "auiToolBarItemGetMinSize" _obj $ \cobj__obj -> 
+    wxAuiToolBarItem_GetMinSize cobj__obj  
+foreign import ccall "wxAuiToolBarItem_GetMinSize" wxAuiToolBarItem_GetMinSize :: Ptr (TAuiToolBarItem a) -> IO (Ptr (TWxSize ()))
+
+-- | usage: (@auiToolBarItemGetProportion obj@).
+auiToolBarItemGetProportion :: AuiToolBarItem  a ->  IO Int
+auiToolBarItemGetProportion _obj 
+  = withIntResult $
+    withObjectRef "auiToolBarItemGetProportion" _obj $ \cobj__obj -> 
+    wxAuiToolBarItem_GetProportion cobj__obj  
+foreign import ccall "wxAuiToolBarItem_GetProportion" wxAuiToolBarItem_GetProportion :: Ptr (TAuiToolBarItem a) -> IO CInt
+
+-- | usage: (@auiToolBarItemGetShortHelp obj@).
+auiToolBarItemGetShortHelp :: AuiToolBarItem  a ->  IO (String)
+auiToolBarItemGetShortHelp _obj 
+  = withManagedStringResult $
+    withObjectRef "auiToolBarItemGetShortHelp" _obj $ \cobj__obj -> 
+    wxAuiToolBarItem_GetShortHelp cobj__obj  
+foreign import ccall "wxAuiToolBarItem_GetShortHelp" wxAuiToolBarItem_GetShortHelp :: Ptr (TAuiToolBarItem a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@auiToolBarItemGetSizerItem obj@).
+auiToolBarItemGetSizerItem :: AuiToolBarItem  a ->  IO (SizerItem  ())
+auiToolBarItemGetSizerItem _obj 
+  = withObjectResult $
+    withObjectRef "auiToolBarItemGetSizerItem" _obj $ \cobj__obj -> 
+    wxAuiToolBarItem_GetSizerItem cobj__obj  
+foreign import ccall "wxAuiToolBarItem_GetSizerItem" wxAuiToolBarItem_GetSizerItem :: Ptr (TAuiToolBarItem a) -> IO (Ptr (TSizerItem ()))
+
+-- | usage: (@auiToolBarItemGetSpacerPixels obj@).
+auiToolBarItemGetSpacerPixels :: AuiToolBarItem  a ->  IO Int
+auiToolBarItemGetSpacerPixels _obj 
+  = withIntResult $
+    withObjectRef "auiToolBarItemGetSpacerPixels" _obj $ \cobj__obj -> 
+    wxAuiToolBarItem_GetSpacerPixels cobj__obj  
+foreign import ccall "wxAuiToolBarItem_GetSpacerPixels" wxAuiToolBarItem_GetSpacerPixels :: Ptr (TAuiToolBarItem a) -> IO CInt
+
+-- | usage: (@auiToolBarItemGetState obj@).
+auiToolBarItemGetState :: AuiToolBarItem  a ->  IO Int
+auiToolBarItemGetState _obj 
+  = withIntResult $
+    withObjectRef "auiToolBarItemGetState" _obj $ \cobj__obj -> 
+    wxAuiToolBarItem_GetState cobj__obj  
+foreign import ccall "wxAuiToolBarItem_GetState" wxAuiToolBarItem_GetState :: Ptr (TAuiToolBarItem a) -> IO CInt
+
+-- | usage: (@auiToolBarItemGetUserData obj@).
+auiToolBarItemGetUserData :: AuiToolBarItem  a ->  IO Int
+auiToolBarItemGetUserData _obj 
+  = withIntResult $
+    withObjectRef "auiToolBarItemGetUserData" _obj $ \cobj__obj -> 
+    wxAuiToolBarItem_GetUserData cobj__obj  
+foreign import ccall "wxAuiToolBarItem_GetUserData" wxAuiToolBarItem_GetUserData :: Ptr (TAuiToolBarItem a) -> IO CInt
+
+-- | usage: (@auiToolBarItemGetWindow obj@).
+auiToolBarItemGetWindow :: AuiToolBarItem  a ->  IO (Window  ())
+auiToolBarItemGetWindow _obj 
+  = withObjectResult $
+    withObjectRef "auiToolBarItemGetWindow" _obj $ \cobj__obj -> 
+    wxAuiToolBarItem_GetWindow cobj__obj  
+foreign import ccall "wxAuiToolBarItem_GetWindow" wxAuiToolBarItem_GetWindow :: Ptr (TAuiToolBarItem a) -> IO (Ptr (TWindow ()))
+
+-- | usage: (@auiToolBarItemHasDropDown obj@).
+auiToolBarItemHasDropDown :: AuiToolBarItem  a ->  IO Bool
+auiToolBarItemHasDropDown _obj 
+  = withBoolResult $
+    withObjectRef "auiToolBarItemHasDropDown" _obj $ \cobj__obj -> 
+    wxAuiToolBarItem_HasDropDown cobj__obj  
+foreign import ccall "wxAuiToolBarItem_HasDropDown" wxAuiToolBarItem_HasDropDown :: Ptr (TAuiToolBarItem a) -> IO CBool
+
+-- | usage: (@auiToolBarItemIsActive obj@).
+auiToolBarItemIsActive :: AuiToolBarItem  a ->  IO Bool
+auiToolBarItemIsActive _obj 
+  = withBoolResult $
+    withObjectRef "auiToolBarItemIsActive" _obj $ \cobj__obj -> 
+    wxAuiToolBarItem_IsActive cobj__obj  
+foreign import ccall "wxAuiToolBarItem_IsActive" wxAuiToolBarItem_IsActive :: Ptr (TAuiToolBarItem a) -> IO CBool
+
+-- | usage: (@auiToolBarItemIsSticky obj@).
+auiToolBarItemIsSticky :: AuiToolBarItem  a ->  IO Bool
+auiToolBarItemIsSticky _obj 
+  = withBoolResult $
+    withObjectRef "auiToolBarItemIsSticky" _obj $ \cobj__obj -> 
+    wxAuiToolBarItem_IsSticky cobj__obj  
+foreign import ccall "wxAuiToolBarItem_IsSticky" wxAuiToolBarItem_IsSticky :: Ptr (TAuiToolBarItem a) -> IO CBool
+
+-- | usage: (@auiToolBarItemSetActive obj b@).
+auiToolBarItemSetActive :: AuiToolBarItem  a -> Bool ->  IO ()
+auiToolBarItemSetActive _obj b 
+  = withObjectRef "auiToolBarItemSetActive" _obj $ \cobj__obj -> 
+    wxAuiToolBarItem_SetActive cobj__obj  (toCBool b)  
+foreign import ccall "wxAuiToolBarItem_SetActive" wxAuiToolBarItem_SetActive :: Ptr (TAuiToolBarItem a) -> CBool -> IO ()
+
+-- | usage: (@auiToolBarItemSetAlignment obj l@).
+auiToolBarItemSetAlignment :: AuiToolBarItem  a -> Int ->  IO ()
+auiToolBarItemSetAlignment _obj l 
+  = withObjectRef "auiToolBarItemSetAlignment" _obj $ \cobj__obj -> 
+    wxAuiToolBarItem_SetAlignment cobj__obj  (toCInt l)  
+foreign import ccall "wxAuiToolBarItem_SetAlignment" wxAuiToolBarItem_SetAlignment :: Ptr (TAuiToolBarItem a) -> CInt -> IO ()
+
+-- | usage: (@auiToolBarItemSetBitmap obj bmp@).
+auiToolBarItemSetBitmap :: AuiToolBarItem  a -> Bitmap  b ->  IO ()
+auiToolBarItemSetBitmap _obj _bmp 
+  = withObjectRef "auiToolBarItemSetBitmap" _obj $ \cobj__obj -> 
+    withObjectPtr _bmp $ \cobj__bmp -> 
+    wxAuiToolBarItem_SetBitmap cobj__obj  cobj__bmp  
+foreign import ccall "wxAuiToolBarItem_SetBitmap" wxAuiToolBarItem_SetBitmap :: Ptr (TAuiToolBarItem a) -> Ptr (TBitmap b) -> IO ()
+
+-- | usage: (@auiToolBarItemSetDisabledBitmap obj bmp@).
+auiToolBarItemSetDisabledBitmap :: AuiToolBarItem  a -> Bitmap  b ->  IO ()
+auiToolBarItemSetDisabledBitmap _obj _bmp 
+  = withObjectRef "auiToolBarItemSetDisabledBitmap" _obj $ \cobj__obj -> 
+    withObjectPtr _bmp $ \cobj__bmp -> 
+    wxAuiToolBarItem_SetDisabledBitmap cobj__obj  cobj__bmp  
+foreign import ccall "wxAuiToolBarItem_SetDisabledBitmap" wxAuiToolBarItem_SetDisabledBitmap :: Ptr (TAuiToolBarItem a) -> Ptr (TBitmap b) -> IO ()
+
+-- | usage: (@auiToolBarItemSetHasDropDown obj b@).
+auiToolBarItemSetHasDropDown :: AuiToolBarItem  a -> Bool ->  IO ()
+auiToolBarItemSetHasDropDown _obj b 
+  = withObjectRef "auiToolBarItemSetHasDropDown" _obj $ \cobj__obj -> 
+    wxAuiToolBarItem_SetHasDropDown cobj__obj  (toCBool b)  
+foreign import ccall "wxAuiToolBarItem_SetHasDropDown" wxAuiToolBarItem_SetHasDropDown :: Ptr (TAuiToolBarItem a) -> CBool -> IO ()
+
+-- | usage: (@auiToolBarItemSetHoverBitmap obj bmp@).
+auiToolBarItemSetHoverBitmap :: AuiToolBarItem  a -> Bitmap  b ->  IO ()
+auiToolBarItemSetHoverBitmap _obj _bmp 
+  = withObjectRef "auiToolBarItemSetHoverBitmap" _obj $ \cobj__obj -> 
+    withObjectPtr _bmp $ \cobj__bmp -> 
+    wxAuiToolBarItem_SetHoverBitmap cobj__obj  cobj__bmp  
+foreign import ccall "wxAuiToolBarItem_SetHoverBitmap" wxAuiToolBarItem_SetHoverBitmap :: Ptr (TAuiToolBarItem a) -> Ptr (TBitmap b) -> IO ()
+
+-- | usage: (@auiToolBarItemSetId obj newid@).
+auiToolBarItemSetId :: AuiToolBarItem  a -> Int ->  IO ()
+auiToolBarItemSetId _obj newid 
+  = withObjectRef "auiToolBarItemSetId" _obj $ \cobj__obj -> 
+    wxAuiToolBarItem_SetId cobj__obj  (toCInt newid)  
+foreign import ccall "wxAuiToolBarItem_SetId" wxAuiToolBarItem_SetId :: Ptr (TAuiToolBarItem a) -> CInt -> IO ()
+
+-- | usage: (@auiToolBarItemSetKind obj newkind@).
+auiToolBarItemSetKind :: AuiToolBarItem  a -> Int ->  IO ()
+auiToolBarItemSetKind _obj newkind 
+  = withObjectRef "auiToolBarItemSetKind" _obj $ \cobj__obj -> 
+    wxAuiToolBarItem_SetKind cobj__obj  (toCInt newkind)  
+foreign import ccall "wxAuiToolBarItem_SetKind" wxAuiToolBarItem_SetKind :: Ptr (TAuiToolBarItem a) -> CInt -> IO ()
+
+-- | usage: (@auiToolBarItemSetLabel obj s@).
+auiToolBarItemSetLabel :: AuiToolBarItem  a -> String ->  IO ()
+auiToolBarItemSetLabel _obj _s 
+  = withObjectRef "auiToolBarItemSetLabel" _obj $ \cobj__obj -> 
+    withStringPtr _s $ \cobj__s -> 
+    wxAuiToolBarItem_SetLabel cobj__obj  cobj__s  
+foreign import ccall "wxAuiToolBarItem_SetLabel" wxAuiToolBarItem_SetLabel :: Ptr (TAuiToolBarItem a) -> Ptr (TWxString b) -> IO ()
+
+-- | usage: (@auiToolBarItemSetLongHelp obj s@).
+auiToolBarItemSetLongHelp :: AuiToolBarItem  a -> String ->  IO ()
+auiToolBarItemSetLongHelp _obj _s 
+  = withObjectRef "auiToolBarItemSetLongHelp" _obj $ \cobj__obj -> 
+    withStringPtr _s $ \cobj__s -> 
+    wxAuiToolBarItem_SetLongHelp cobj__obj  cobj__s  
+foreign import ccall "wxAuiToolBarItem_SetLongHelp" wxAuiToolBarItem_SetLongHelp :: Ptr (TAuiToolBarItem a) -> Ptr (TWxString b) -> IO ()
+
+-- | usage: (@auiToolBarItemSetMinSize obj widthheight@).
+auiToolBarItemSetMinSize :: AuiToolBarItem  a -> Size ->  IO ()
+auiToolBarItemSetMinSize _obj _widthheight 
+  = withObjectRef "auiToolBarItemSetMinSize" _obj $ \cobj__obj -> 
+    wxAuiToolBarItem_SetMinSize cobj__obj  (toCIntSizeW _widthheight) (toCIntSizeH _widthheight)  
+foreign import ccall "wxAuiToolBarItem_SetMinSize" wxAuiToolBarItem_SetMinSize :: Ptr (TAuiToolBarItem a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@auiToolBarItemSetProportion obj p@).
+auiToolBarItemSetProportion :: AuiToolBarItem  a -> Int ->  IO ()
+auiToolBarItemSetProportion _obj p 
+  = withObjectRef "auiToolBarItemSetProportion" _obj $ \cobj__obj -> 
+    wxAuiToolBarItem_SetProportion cobj__obj  (toCInt p)  
+foreign import ccall "wxAuiToolBarItem_SetProportion" wxAuiToolBarItem_SetProportion :: Ptr (TAuiToolBarItem a) -> CInt -> IO ()
+
+-- | usage: (@auiToolBarItemSetShortHelp obj s@).
+auiToolBarItemSetShortHelp :: AuiToolBarItem  a -> String ->  IO ()
+auiToolBarItemSetShortHelp _obj _s 
+  = withObjectRef "auiToolBarItemSetShortHelp" _obj $ \cobj__obj -> 
+    withStringPtr _s $ \cobj__s -> 
+    wxAuiToolBarItem_SetShortHelp cobj__obj  cobj__s  
+foreign import ccall "wxAuiToolBarItem_SetShortHelp" wxAuiToolBarItem_SetShortHelp :: Ptr (TAuiToolBarItem a) -> Ptr (TWxString b) -> IO ()
+
+-- | usage: (@auiToolBarItemSetSizerItem obj s@).
+auiToolBarItemSetSizerItem :: AuiToolBarItem  a -> SizerItem  b ->  IO ()
+auiToolBarItemSetSizerItem _obj _s 
+  = withObjectRef "auiToolBarItemSetSizerItem" _obj $ \cobj__obj -> 
+    withObjectPtr _s $ \cobj__s -> 
+    wxAuiToolBarItem_SetSizerItem cobj__obj  cobj__s  
+foreign import ccall "wxAuiToolBarItem_SetSizerItem" wxAuiToolBarItem_SetSizerItem :: Ptr (TAuiToolBarItem a) -> Ptr (TSizerItem b) -> IO ()
+
+-- | usage: (@auiToolBarItemSetSpacerPixels obj s@).
+auiToolBarItemSetSpacerPixels :: AuiToolBarItem  a -> Int ->  IO ()
+auiToolBarItemSetSpacerPixels _obj s 
+  = withObjectRef "auiToolBarItemSetSpacerPixels" _obj $ \cobj__obj -> 
+    wxAuiToolBarItem_SetSpacerPixels cobj__obj  (toCInt s)  
+foreign import ccall "wxAuiToolBarItem_SetSpacerPixels" wxAuiToolBarItem_SetSpacerPixels :: Ptr (TAuiToolBarItem a) -> CInt -> IO ()
+
+-- | usage: (@auiToolBarItemSetState obj newstate@).
+auiToolBarItemSetState :: AuiToolBarItem  a -> Int ->  IO ()
+auiToolBarItemSetState _obj newstate 
+  = withObjectRef "auiToolBarItemSetState" _obj $ \cobj__obj -> 
+    wxAuiToolBarItem_SetState cobj__obj  (toCInt newstate)  
+foreign import ccall "wxAuiToolBarItem_SetState" wxAuiToolBarItem_SetState :: Ptr (TAuiToolBarItem a) -> CInt -> IO ()
+
+-- | usage: (@auiToolBarItemSetSticky obj b@).
+auiToolBarItemSetSticky :: AuiToolBarItem  a -> Bool ->  IO ()
+auiToolBarItemSetSticky _obj b 
+  = withObjectRef "auiToolBarItemSetSticky" _obj $ \cobj__obj -> 
+    wxAuiToolBarItem_SetSticky cobj__obj  (toCBool b)  
+foreign import ccall "wxAuiToolBarItem_SetSticky" wxAuiToolBarItem_SetSticky :: Ptr (TAuiToolBarItem a) -> CBool -> IO ()
+
+-- | usage: (@auiToolBarItemSetUserData obj l@).
+auiToolBarItemSetUserData :: AuiToolBarItem  a -> Int ->  IO ()
+auiToolBarItemSetUserData _obj l 
+  = withObjectRef "auiToolBarItemSetUserData" _obj $ \cobj__obj -> 
+    wxAuiToolBarItem_SetUserData cobj__obj  (toCInt l)  
+foreign import ccall "wxAuiToolBarItem_SetUserData" wxAuiToolBarItem_SetUserData :: Ptr (TAuiToolBarItem a) -> CInt -> IO ()
+
+-- | usage: (@auiToolBarItemSetWindow obj w@).
+auiToolBarItemSetWindow :: AuiToolBarItem  a -> Window  b ->  IO ()
+auiToolBarItemSetWindow _obj _w 
+  = withObjectRef "auiToolBarItemSetWindow" _obj $ \cobj__obj -> 
+    withObjectPtr _w $ \cobj__w -> 
+    wxAuiToolBarItem_SetWindow cobj__obj  cobj__w  
+foreign import ccall "wxAuiToolBarItem_SetWindow" wxAuiToolBarItem_SetWindow :: Ptr (TAuiToolBarItem a) -> Ptr (TWindow b) -> IO ()
+
+-- | usage: (@auiToolBarRealize obj@).
+auiToolBarRealize :: AuiToolBar  a ->  IO Bool
+auiToolBarRealize _obj 
+  = withBoolResult $
+    withObjectRef "auiToolBarRealize" _obj $ \cobj__obj -> 
+    wxAuiToolBar_Realize cobj__obj  
+foreign import ccall "wxAuiToolBar_Realize" wxAuiToolBar_Realize :: Ptr (TAuiToolBar a) -> IO CBool
+
+-- | usage: (@auiToolBarSetArtProvider obj art@).
+auiToolBarSetArtProvider :: AuiToolBar  a -> AuiToolBarArt  b ->  IO ()
+auiToolBarSetArtProvider _obj _art 
+  = withObjectRef "auiToolBarSetArtProvider" _obj $ \cobj__obj -> 
+    withObjectPtr _art $ \cobj__art -> 
+    wxAuiToolBar_SetArtProvider cobj__obj  cobj__art  
+foreign import ccall "wxAuiToolBar_SetArtProvider" wxAuiToolBar_SetArtProvider :: Ptr (TAuiToolBar a) -> Ptr (TAuiToolBarArt b) -> IO ()
+
+-- | usage: (@auiToolBarSetCustomOverflowItems obj prepend append@).
+auiToolBarSetCustomOverflowItems :: AuiToolBar  a -> AuiToolBarItemArray  b -> AuiToolBarItemArray  c ->  IO ()
+auiToolBarSetCustomOverflowItems _obj _prepend _append 
+  = withObjectRef "auiToolBarSetCustomOverflowItems" _obj $ \cobj__obj -> 
+    withObjectPtr _prepend $ \cobj__prepend -> 
+    withObjectPtr _append $ \cobj__append -> 
+    wxAuiToolBar_SetCustomOverflowItems cobj__obj  cobj__prepend  cobj__append  
+foreign import ccall "wxAuiToolBar_SetCustomOverflowItems" wxAuiToolBar_SetCustomOverflowItems :: Ptr (TAuiToolBar a) -> Ptr (TAuiToolBarItemArray b) -> Ptr (TAuiToolBarItemArray c) -> IO ()
+
+-- | usage: (@auiToolBarSetFont obj font@).
+auiToolBarSetFont :: AuiToolBar  a -> Font  b ->  IO Bool
+auiToolBarSetFont _obj _font 
+  = withBoolResult $
+    withObjectRef "auiToolBarSetFont" _obj $ \cobj__obj -> 
+    withObjectPtr _font $ \cobj__font -> 
+    wxAuiToolBar_SetFont cobj__obj  cobj__font  
+foreign import ccall "wxAuiToolBar_SetFont" wxAuiToolBar_SetFont :: Ptr (TAuiToolBar a) -> Ptr (TFont b) -> IO CBool
+
+-- | usage: (@auiToolBarSetGripperVisible obj visible@).
+auiToolBarSetGripperVisible :: AuiToolBar  a -> Bool ->  IO ()
+auiToolBarSetGripperVisible _obj visible 
+  = withObjectRef "auiToolBarSetGripperVisible" _obj $ \cobj__obj -> 
+    wxAuiToolBar_SetGripperVisible cobj__obj  (toCBool visible)  
+foreign import ccall "wxAuiToolBar_SetGripperVisible" wxAuiToolBar_SetGripperVisible :: Ptr (TAuiToolBar a) -> CBool -> IO ()
+
+-- | usage: (@auiToolBarSetMargins obj widthheight@).
+auiToolBarSetMargins :: AuiToolBar  a -> Size ->  IO ()
+auiToolBarSetMargins _obj _widthheight 
+  = withObjectRef "auiToolBarSetMargins" _obj $ \cobj__obj -> 
+    wxAuiToolBar_SetMargins cobj__obj  (toCIntSizeW _widthheight) (toCIntSizeH _widthheight)  
+foreign import ccall "wxAuiToolBar_SetMargins" wxAuiToolBar_SetMargins :: Ptr (TAuiToolBar a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@auiToolBarSetMarginsDetailed obj left right top bottom@).
+auiToolBarSetMarginsDetailed :: AuiToolBar  a -> Int -> Int -> Int -> Int ->  IO ()
+auiToolBarSetMarginsDetailed _obj left right top bottom 
+  = withObjectRef "auiToolBarSetMarginsDetailed" _obj $ \cobj__obj -> 
+    wxAuiToolBar_SetMarginsDetailed cobj__obj  (toCInt left)  (toCInt right)  (toCInt top)  (toCInt bottom)  
+foreign import ccall "wxAuiToolBar_SetMarginsDetailed" wxAuiToolBar_SetMarginsDetailed :: Ptr (TAuiToolBar a) -> CInt -> CInt -> CInt -> CInt -> IO ()
+
+-- | usage: (@auiToolBarSetMarginsXY obj xy@).
+auiToolBarSetMarginsXY :: AuiToolBar  a -> Point ->  IO ()
+auiToolBarSetMarginsXY _obj xy 
+  = withObjectRef "auiToolBarSetMarginsXY" _obj $ \cobj__obj -> 
+    wxAuiToolBar_SetMarginsXY cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  
+foreign import ccall "wxAuiToolBar_SetMarginsXY" wxAuiToolBar_SetMarginsXY :: Ptr (TAuiToolBar a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@auiToolBarSetOverflowVisible obj visible@).
+auiToolBarSetOverflowVisible :: AuiToolBar  a -> Bool ->  IO ()
+auiToolBarSetOverflowVisible _obj visible 
+  = withObjectRef "auiToolBarSetOverflowVisible" _obj $ \cobj__obj -> 
+    wxAuiToolBar_SetOverflowVisible cobj__obj  (toCBool visible)  
+foreign import ccall "wxAuiToolBar_SetOverflowVisible" wxAuiToolBar_SetOverflowVisible :: Ptr (TAuiToolBar a) -> CBool -> IO ()
+
+-- | usage: (@auiToolBarSetToolBitmap obj toolid bitmap@).
+auiToolBarSetToolBitmap :: AuiToolBar  a -> Int -> Bitmap  c ->  IO ()
+auiToolBarSetToolBitmap _obj toolid _bitmap 
+  = withObjectRef "auiToolBarSetToolBitmap" _obj $ \cobj__obj -> 
+    withObjectPtr _bitmap $ \cobj__bitmap -> 
+    wxAuiToolBar_SetToolBitmap cobj__obj  (toCInt toolid)  cobj__bitmap  
+foreign import ccall "wxAuiToolBar_SetToolBitmap" wxAuiToolBar_SetToolBitmap :: Ptr (TAuiToolBar a) -> CInt -> Ptr (TBitmap c) -> IO ()
+
+-- | usage: (@auiToolBarSetToolBitmapSize obj widthheight@).
+auiToolBarSetToolBitmapSize :: AuiToolBar  a -> Size ->  IO ()
+auiToolBarSetToolBitmapSize _obj _widthheight 
+  = withObjectRef "auiToolBarSetToolBitmapSize" _obj $ \cobj__obj -> 
+    wxAuiToolBar_SetToolBitmapSize cobj__obj  (toCIntSizeW _widthheight) (toCIntSizeH _widthheight)  
+foreign import ccall "wxAuiToolBar_SetToolBitmapSize" wxAuiToolBar_SetToolBitmapSize :: Ptr (TAuiToolBar a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@auiToolBarSetToolBorderPadding obj padding@).
+auiToolBarSetToolBorderPadding :: AuiToolBar  a -> Int ->  IO ()
+auiToolBarSetToolBorderPadding _obj padding 
+  = withObjectRef "auiToolBarSetToolBorderPadding" _obj $ \cobj__obj -> 
+    wxAuiToolBar_SetToolBorderPadding cobj__obj  (toCInt padding)  
+foreign import ccall "wxAuiToolBar_SetToolBorderPadding" wxAuiToolBar_SetToolBorderPadding :: Ptr (TAuiToolBar a) -> CInt -> IO ()
+
+-- | usage: (@auiToolBarSetToolDropDown obj toolid dropdown@).
+auiToolBarSetToolDropDown :: AuiToolBar  a -> Int -> Bool ->  IO ()
+auiToolBarSetToolDropDown _obj toolid dropdown 
+  = withObjectRef "auiToolBarSetToolDropDown" _obj $ \cobj__obj -> 
+    wxAuiToolBar_SetToolDropDown cobj__obj  (toCInt toolid)  (toCBool dropdown)  
+foreign import ccall "wxAuiToolBar_SetToolDropDown" wxAuiToolBar_SetToolDropDown :: Ptr (TAuiToolBar a) -> CInt -> CBool -> IO ()
+
+-- | usage: (@auiToolBarSetToolLabel obj toolid label@).
+auiToolBarSetToolLabel :: AuiToolBar  a -> Int -> String ->  IO ()
+auiToolBarSetToolLabel _obj toolid _label 
+  = withObjectRef "auiToolBarSetToolLabel" _obj $ \cobj__obj -> 
+    withStringPtr _label $ \cobj__label -> 
+    wxAuiToolBar_SetToolLabel cobj__obj  (toCInt toolid)  cobj__label  
+foreign import ccall "wxAuiToolBar_SetToolLabel" wxAuiToolBar_SetToolLabel :: Ptr (TAuiToolBar a) -> CInt -> Ptr (TWxString c) -> IO ()
+
+-- | usage: (@auiToolBarSetToolLongHelp obj toolid helpstring@).
+auiToolBarSetToolLongHelp :: AuiToolBar  a -> Int -> String ->  IO ()
+auiToolBarSetToolLongHelp _obj toolid _helpstring 
+  = withObjectRef "auiToolBarSetToolLongHelp" _obj $ \cobj__obj -> 
+    withStringPtr _helpstring $ \cobj__helpstring -> 
+    wxAuiToolBar_SetToolLongHelp cobj__obj  (toCInt toolid)  cobj__helpstring  
+foreign import ccall "wxAuiToolBar_SetToolLongHelp" wxAuiToolBar_SetToolLongHelp :: Ptr (TAuiToolBar a) -> CInt -> Ptr (TWxString c) -> IO ()
+
+-- | usage: (@auiToolBarSetToolPacking obj packing@).
+auiToolBarSetToolPacking :: AuiToolBar  a -> Int ->  IO ()
+auiToolBarSetToolPacking _obj packing 
+  = withObjectRef "auiToolBarSetToolPacking" _obj $ \cobj__obj -> 
+    wxAuiToolBar_SetToolPacking cobj__obj  (toCInt packing)  
+foreign import ccall "wxAuiToolBar_SetToolPacking" wxAuiToolBar_SetToolPacking :: Ptr (TAuiToolBar a) -> CInt -> IO ()
+
+-- | usage: (@auiToolBarSetToolProportion obj toolid proportion@).
+auiToolBarSetToolProportion :: AuiToolBar  a -> Int -> Int ->  IO ()
+auiToolBarSetToolProportion _obj toolid proportion 
+  = withObjectRef "auiToolBarSetToolProportion" _obj $ \cobj__obj -> 
+    wxAuiToolBar_SetToolProportion cobj__obj  (toCInt toolid)  (toCInt proportion)  
+foreign import ccall "wxAuiToolBar_SetToolProportion" wxAuiToolBar_SetToolProportion :: Ptr (TAuiToolBar a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@auiToolBarSetToolSeparation obj separation@).
+auiToolBarSetToolSeparation :: AuiToolBar  a -> Int ->  IO ()
+auiToolBarSetToolSeparation _obj separation 
+  = withObjectRef "auiToolBarSetToolSeparation" _obj $ \cobj__obj -> 
+    wxAuiToolBar_SetToolSeparation cobj__obj  (toCInt separation)  
+foreign import ccall "wxAuiToolBar_SetToolSeparation" wxAuiToolBar_SetToolSeparation :: Ptr (TAuiToolBar a) -> CInt -> IO ()
+
+-- | usage: (@auiToolBarSetToolShortHelp obj toolid helpstring@).
+auiToolBarSetToolShortHelp :: AuiToolBar  a -> Int -> String ->  IO ()
+auiToolBarSetToolShortHelp _obj toolid _helpstring 
+  = withObjectRef "auiToolBarSetToolShortHelp" _obj $ \cobj__obj -> 
+    withStringPtr _helpstring $ \cobj__helpstring -> 
+    wxAuiToolBar_SetToolShortHelp cobj__obj  (toCInt toolid)  cobj__helpstring  
+foreign import ccall "wxAuiToolBar_SetToolShortHelp" wxAuiToolBar_SetToolShortHelp :: Ptr (TAuiToolBar a) -> CInt -> Ptr (TWxString c) -> IO ()
+
+-- | usage: (@auiToolBarSetToolSticky obj toolid sticky@).
+auiToolBarSetToolSticky :: AuiToolBar  a -> Int -> Bool ->  IO ()
+auiToolBarSetToolSticky _obj toolid sticky 
+  = withObjectRef "auiToolBarSetToolSticky" _obj $ \cobj__obj -> 
+    wxAuiToolBar_SetToolSticky cobj__obj  (toCInt toolid)  (toCBool sticky)  
+foreign import ccall "wxAuiToolBar_SetToolSticky" wxAuiToolBar_SetToolSticky :: Ptr (TAuiToolBar a) -> CInt -> CBool -> IO ()
+
+-- | usage: (@auiToolBarSetToolTextOrientation obj orientation@).
+auiToolBarSetToolTextOrientation :: AuiToolBar  a -> Int ->  IO ()
+auiToolBarSetToolTextOrientation _obj orientation 
+  = withObjectRef "auiToolBarSetToolTextOrientation" _obj $ \cobj__obj -> 
+    wxAuiToolBar_SetToolTextOrientation cobj__obj  (toCInt orientation)  
+foreign import ccall "wxAuiToolBar_SetToolTextOrientation" wxAuiToolBar_SetToolTextOrientation :: Ptr (TAuiToolBar a) -> CInt -> IO ()
+
+-- | usage: (@auiToolBarSetWindowStyleFlag obj style@).
+auiToolBarSetWindowStyleFlag :: AuiToolBar  a -> Int ->  IO ()
+auiToolBarSetWindowStyleFlag _obj style 
+  = withObjectRef "auiToolBarSetWindowStyleFlag" _obj $ \cobj__obj -> 
+    wxAuiToolBar_SetWindowStyleFlag cobj__obj  (toCInt style)  
+foreign import ccall "wxAuiToolBar_SetWindowStyleFlag" wxAuiToolBar_SetWindowStyleFlag :: Ptr (TAuiToolBar a) -> CInt -> IO ()
+
+-- | usage: (@auiToolBarToggleTool obj toolid state@).
+auiToolBarToggleTool :: AuiToolBar  a -> Int -> Bool ->  IO ()
+auiToolBarToggleTool _obj toolid state 
+  = withObjectRef "auiToolBarToggleTool" _obj $ \cobj__obj -> 
+    wxAuiToolBar_ToggleTool cobj__obj  (toCInt toolid)  (toCBool state)  
+foreign import ccall "wxAuiToolBar_ToggleTool" wxAuiToolBar_ToggleTool :: Ptr (TAuiToolBar a) -> CInt -> CBool -> IO ()
+
+-- | usage: (@autoBufferedPaintDCCreate window@).
+autoBufferedPaintDCCreate :: Window  a ->  IO (AutoBufferedPaintDC  ())
+autoBufferedPaintDCCreate window 
+  = withObjectResult $
+    withObjectPtr window $ \cobj_window -> 
+    wxAutoBufferedPaintDC_Create cobj_window  
+foreign import ccall "wxAutoBufferedPaintDC_Create" wxAutoBufferedPaintDC_Create :: Ptr (TWindow a) -> IO (Ptr (TAutoBufferedPaintDC ()))
+
+-- | usage: (@autoBufferedPaintDCDelete self@).
+autoBufferedPaintDCDelete :: AutoBufferedPaintDC  a ->  IO ()
+autoBufferedPaintDCDelete
+  = objectDelete
+
+
+-- | usage: (@bitmapAddHandler handler@).
+bitmapAddHandler :: EvtHandler  a ->  IO ()
+bitmapAddHandler handler 
+  = withObjectPtr handler $ \cobj_handler -> 
+    wxBitmap_AddHandler cobj_handler  
+foreign import ccall "wxBitmap_AddHandler" wxBitmap_AddHandler :: Ptr (TEvtHandler a) -> IO ()
+
+-- | usage: (@bitmapButtonCreate prt id bmp lfttopwdthgt stl@).
+bitmapButtonCreate :: Window  a -> Id -> Bitmap  c -> Rect -> Style ->  IO (BitmapButton  ())
+bitmapButtonCreate _prt _id _bmp _lfttopwdthgt _stl 
+  = withObjectResult $
+    withObjectPtr _prt $ \cobj__prt -> 
+    withObjectPtr _bmp $ \cobj__bmp -> 
+    wxBitmapButton_Create cobj__prt  (toCInt _id)  cobj__bmp  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  (toCInt _stl)  
+foreign import ccall "wxBitmapButton_Create" wxBitmapButton_Create :: Ptr (TWindow a) -> CInt -> Ptr (TBitmap c) -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TBitmapButton ()))
+
+-- | usage: (@bitmapButtonGetBitmapDisabled obj@).
+bitmapButtonGetBitmapDisabled :: BitmapButton  a ->  IO (Bitmap  ())
+bitmapButtonGetBitmapDisabled _obj 
+  = withRefBitmap $ \pref -> 
+    withObjectRef "bitmapButtonGetBitmapDisabled" _obj $ \cobj__obj -> 
+    wxBitmapButton_GetBitmapDisabled cobj__obj   pref
+foreign import ccall "wxBitmapButton_GetBitmapDisabled" wxBitmapButton_GetBitmapDisabled :: Ptr (TBitmapButton a) -> Ptr (TBitmap ()) -> IO ()
+
+-- | usage: (@bitmapButtonGetBitmapFocus obj@).
+bitmapButtonGetBitmapFocus :: BitmapButton  a ->  IO (Bitmap  ())
+bitmapButtonGetBitmapFocus _obj 
+  = withRefBitmap $ \pref -> 
+    withObjectRef "bitmapButtonGetBitmapFocus" _obj $ \cobj__obj -> 
+    wxBitmapButton_GetBitmapFocus cobj__obj   pref
+foreign import ccall "wxBitmapButton_GetBitmapFocus" wxBitmapButton_GetBitmapFocus :: Ptr (TBitmapButton a) -> Ptr (TBitmap ()) -> IO ()
+
+-- | usage: (@bitmapButtonGetBitmapLabel obj@).
+bitmapButtonGetBitmapLabel :: BitmapButton  a ->  IO (Bitmap  ())
+bitmapButtonGetBitmapLabel _obj 
+  = withRefBitmap $ \pref -> 
+    withObjectRef "bitmapButtonGetBitmapLabel" _obj $ \cobj__obj -> 
+    wxBitmapButton_GetBitmapLabel cobj__obj   pref
+foreign import ccall "wxBitmapButton_GetBitmapLabel" wxBitmapButton_GetBitmapLabel :: Ptr (TBitmapButton a) -> Ptr (TBitmap ()) -> IO ()
+
+-- | usage: (@bitmapButtonGetBitmapSelected obj@).
+bitmapButtonGetBitmapSelected :: BitmapButton  a ->  IO (Bitmap  ())
+bitmapButtonGetBitmapSelected _obj 
+  = withRefBitmap $ \pref -> 
+    withObjectRef "bitmapButtonGetBitmapSelected" _obj $ \cobj__obj -> 
+    wxBitmapButton_GetBitmapSelected cobj__obj   pref
+foreign import ccall "wxBitmapButton_GetBitmapSelected" wxBitmapButton_GetBitmapSelected :: Ptr (TBitmapButton a) -> Ptr (TBitmap ()) -> IO ()
+
+-- | usage: (@bitmapButtonGetMarginX obj@).
+bitmapButtonGetMarginX :: BitmapButton  a ->  IO Int
+bitmapButtonGetMarginX _obj 
+  = withIntResult $
+    withObjectRef "bitmapButtonGetMarginX" _obj $ \cobj__obj -> 
+    wxBitmapButton_GetMarginX cobj__obj  
+foreign import ccall "wxBitmapButton_GetMarginX" wxBitmapButton_GetMarginX :: Ptr (TBitmapButton a) -> IO CInt
+
+-- | usage: (@bitmapButtonGetMarginY obj@).
+bitmapButtonGetMarginY :: BitmapButton  a ->  IO Int
+bitmapButtonGetMarginY _obj 
+  = withIntResult $
+    withObjectRef "bitmapButtonGetMarginY" _obj $ \cobj__obj -> 
+    wxBitmapButton_GetMarginY cobj__obj  
+foreign import ccall "wxBitmapButton_GetMarginY" wxBitmapButton_GetMarginY :: Ptr (TBitmapButton a) -> IO CInt
+
+-- | usage: (@bitmapButtonSetBitmapDisabled obj disabled@).
+bitmapButtonSetBitmapDisabled :: BitmapButton  a -> Bitmap  b ->  IO ()
+bitmapButtonSetBitmapDisabled _obj disabled 
+  = withObjectRef "bitmapButtonSetBitmapDisabled" _obj $ \cobj__obj -> 
+    withObjectPtr disabled $ \cobj_disabled -> 
+    wxBitmapButton_SetBitmapDisabled cobj__obj  cobj_disabled  
+foreign import ccall "wxBitmapButton_SetBitmapDisabled" wxBitmapButton_SetBitmapDisabled :: Ptr (TBitmapButton a) -> Ptr (TBitmap b) -> IO ()
+
+-- | usage: (@bitmapButtonSetBitmapFocus obj focus@).
+bitmapButtonSetBitmapFocus :: BitmapButton  a -> Bitmap  b ->  IO ()
+bitmapButtonSetBitmapFocus _obj focus 
+  = withObjectRef "bitmapButtonSetBitmapFocus" _obj $ \cobj__obj -> 
+    withObjectPtr focus $ \cobj_focus -> 
+    wxBitmapButton_SetBitmapFocus cobj__obj  cobj_focus  
+foreign import ccall "wxBitmapButton_SetBitmapFocus" wxBitmapButton_SetBitmapFocus :: Ptr (TBitmapButton a) -> Ptr (TBitmap b) -> IO ()
+
+-- | usage: (@bitmapButtonSetBitmapLabel obj bitmap@).
+bitmapButtonSetBitmapLabel :: BitmapButton  a -> Bitmap  b ->  IO ()
+bitmapButtonSetBitmapLabel _obj bitmap 
+  = withObjectRef "bitmapButtonSetBitmapLabel" _obj $ \cobj__obj -> 
+    withObjectPtr bitmap $ \cobj_bitmap -> 
+    wxBitmapButton_SetBitmapLabel cobj__obj  cobj_bitmap  
+foreign import ccall "wxBitmapButton_SetBitmapLabel" wxBitmapButton_SetBitmapLabel :: Ptr (TBitmapButton a) -> Ptr (TBitmap b) -> IO ()
+
+-- | usage: (@bitmapButtonSetBitmapSelected obj sel@).
+bitmapButtonSetBitmapSelected :: BitmapButton  a -> Bitmap  b ->  IO ()
+bitmapButtonSetBitmapSelected _obj sel 
+  = withObjectRef "bitmapButtonSetBitmapSelected" _obj $ \cobj__obj -> 
+    withObjectPtr sel $ \cobj_sel -> 
+    wxBitmapButton_SetBitmapSelected cobj__obj  cobj_sel  
+foreign import ccall "wxBitmapButton_SetBitmapSelected" wxBitmapButton_SetBitmapSelected :: Ptr (TBitmapButton a) -> Ptr (TBitmap b) -> IO ()
+
+-- | usage: (@bitmapButtonSetMargins obj xy@).
+bitmapButtonSetMargins :: BitmapButton  a -> Point ->  IO ()
+bitmapButtonSetMargins _obj xy 
+  = withObjectRef "bitmapButtonSetMargins" _obj $ \cobj__obj -> 
+    wxBitmapButton_SetMargins cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  
+foreign import ccall "wxBitmapButton_SetMargins" wxBitmapButton_SetMargins :: Ptr (TBitmapButton a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@bitmapCleanUpHandlers@).
+bitmapCleanUpHandlers ::  IO ()
+bitmapCleanUpHandlers 
+  = wxBitmap_CleanUpHandlers 
+foreign import ccall "wxBitmap_CleanUpHandlers" wxBitmap_CleanUpHandlers :: IO ()
+
+-- | usage: (@bitmapCreate wxdata wxtype widthheight depth@).
+bitmapCreate :: Ptr  a -> Int -> Size -> Int ->  IO (Bitmap  ())
+bitmapCreate _data _type _widthheight _depth 
+  = withManagedBitmapResult $
+    wxBitmap_Create _data  (toCInt _type)  (toCIntSizeW _widthheight) (toCIntSizeH _widthheight)  (toCInt _depth)  
+foreign import ccall "wxBitmap_Create" wxBitmap_Create :: Ptr  a -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TBitmap ()))
+
+-- | usage: (@bitmapCreateDefault@).
+bitmapCreateDefault ::  IO (Bitmap  ())
+bitmapCreateDefault 
+  = withManagedBitmapResult $
+    wxBitmap_CreateDefault 
+foreign import ccall "wxBitmap_CreateDefault" wxBitmap_CreateDefault :: IO (Ptr (TBitmap ()))
+
+-- | usage: (@bitmapCreateEmpty widthheight depth@).
+bitmapCreateEmpty :: Size -> Int ->  IO (Bitmap  ())
+bitmapCreateEmpty _widthheight _depth 
+  = withManagedBitmapResult $
+    wxBitmap_CreateEmpty (toCIntSizeW _widthheight) (toCIntSizeH _widthheight)  (toCInt _depth)  
+foreign import ccall "wxBitmap_CreateEmpty" wxBitmap_CreateEmpty :: CInt -> CInt -> CInt -> IO (Ptr (TBitmap ()))
+
+-- | usage: (@bitmapCreateFromImage image depth@).
+bitmapCreateFromImage :: Image  a -> Int ->  IO (Bitmap  ())
+bitmapCreateFromImage image depth 
+  = withManagedBitmapResult $
+    withObjectPtr image $ \cobj_image -> 
+    wxBitmap_CreateFromImage cobj_image  (toCInt depth)  
+foreign import ccall "wxBitmap_CreateFromImage" wxBitmap_CreateFromImage :: Ptr (TImage a) -> CInt -> IO (Ptr (TBitmap ()))
+
+-- | usage: (@bitmapCreateFromXPM wxdata@).
+bitmapCreateFromXPM :: Bitmap  a ->  IO (Bitmap  ())
+bitmapCreateFromXPM wxdata 
+  = withManagedBitmapResult $
+    withObjectRef "bitmapCreateFromXPM" wxdata $ \cobj_wxdata -> 
+    wxBitmap_CreateFromXPM cobj_wxdata  
+foreign import ccall "wxBitmap_CreateFromXPM" wxBitmap_CreateFromXPM :: Ptr (TBitmap a) -> IO (Ptr (TBitmap ()))
+
+-- | usage: (@bitmapCreateLoad name wxtype@).
+bitmapCreateLoad :: String -> Int ->  IO (Bitmap  ())
+bitmapCreateLoad name wxtype 
+  = withManagedBitmapResult $
+    withStringPtr name $ \cobj_name -> 
+    wxBitmap_CreateLoad cobj_name  (toCInt wxtype)  
+foreign import ccall "wxBitmap_CreateLoad" wxBitmap_CreateLoad :: Ptr (TWxString a) -> CInt -> IO (Ptr (TBitmap ()))
+
+-- | usage: (@bitmapDataObjectCreate bmp@).
+bitmapDataObjectCreate :: Bitmap  a ->  IO (BitmapDataObject  ())
+bitmapDataObjectCreate _bmp 
+  = withObjectResult $
+    withObjectPtr _bmp $ \cobj__bmp -> 
+    wx_BitmapDataObject_Create cobj__bmp  
+foreign import ccall "BitmapDataObject_Create" wx_BitmapDataObject_Create :: Ptr (TBitmap a) -> IO (Ptr (TBitmapDataObject ()))
+
+-- | usage: (@bitmapDataObjectCreateEmpty@).
+bitmapDataObjectCreateEmpty ::  IO (BitmapDataObject  ())
+bitmapDataObjectCreateEmpty 
+  = withObjectResult $
+    wx_BitmapDataObject_CreateEmpty 
+foreign import ccall "BitmapDataObject_CreateEmpty" wx_BitmapDataObject_CreateEmpty :: IO (Ptr (TBitmapDataObject ()))
+
+-- | usage: (@bitmapDataObjectDelete obj@).
+bitmapDataObjectDelete :: BitmapDataObject  a ->  IO ()
+bitmapDataObjectDelete _obj 
+  = withObjectPtr _obj $ \cobj__obj -> 
+    wx_BitmapDataObject_Delete cobj__obj  
+foreign import ccall "BitmapDataObject_Delete" wx_BitmapDataObject_Delete :: Ptr (TBitmapDataObject a) -> IO ()
+
+-- | usage: (@bitmapDataObjectGetBitmap obj@).
+bitmapDataObjectGetBitmap :: BitmapDataObject  a ->  IO (Bitmap  ())
+bitmapDataObjectGetBitmap _obj 
+  = withRefBitmap $ \pref -> 
+    withObjectPtr _obj $ \cobj__obj -> 
+    wx_BitmapDataObject_GetBitmap cobj__obj   pref
+foreign import ccall "BitmapDataObject_GetBitmap" wx_BitmapDataObject_GetBitmap :: Ptr (TBitmapDataObject a) -> Ptr (TBitmap ()) -> IO ()
+
+-- | usage: (@bitmapDataObjectSetBitmap obj bmp@).
+bitmapDataObjectSetBitmap :: BitmapDataObject  a -> Bitmap  b ->  IO ()
+bitmapDataObjectSetBitmap _obj _bmp 
+  = withObjectPtr _obj $ \cobj__obj -> 
+    withObjectPtr _bmp $ \cobj__bmp -> 
+    wx_BitmapDataObject_SetBitmap cobj__obj  cobj__bmp  
+foreign import ccall "BitmapDataObject_SetBitmap" wx_BitmapDataObject_SetBitmap :: Ptr (TBitmapDataObject a) -> Ptr (TBitmap b) -> IO ()
+
+-- | usage: (@bitmapDelete obj@).
+bitmapDelete :: Bitmap  a ->  IO ()
+bitmapDelete
+  = objectDelete
+
+
+-- | usage: (@bitmapFindHandlerByExtension extension wxtype@).
+bitmapFindHandlerByExtension :: Bitmap  a -> Int ->  IO (Ptr  ())
+bitmapFindHandlerByExtension extension wxtype 
+  = withObjectRef "bitmapFindHandlerByExtension" extension $ \cobj_extension -> 
+    wxBitmap_FindHandlerByExtension cobj_extension  (toCInt wxtype)  
+foreign import ccall "wxBitmap_FindHandlerByExtension" wxBitmap_FindHandlerByExtension :: Ptr (TBitmap a) -> CInt -> IO (Ptr  ())
+
+-- | usage: (@bitmapFindHandlerByName name@).
+bitmapFindHandlerByName :: String ->  IO (Ptr  ())
+bitmapFindHandlerByName name 
+  = withStringPtr name $ \cobj_name -> 
+    wxBitmap_FindHandlerByName cobj_name  
+foreign import ccall "wxBitmap_FindHandlerByName" wxBitmap_FindHandlerByName :: Ptr (TWxString a) -> IO (Ptr  ())
+
+-- | usage: (@bitmapFindHandlerByType wxtype@).
+bitmapFindHandlerByType :: Int ->  IO (Ptr  ())
+bitmapFindHandlerByType wxtype 
+  = wxBitmap_FindHandlerByType (toCInt wxtype)  
+foreign import ccall "wxBitmap_FindHandlerByType" wxBitmap_FindHandlerByType :: CInt -> IO (Ptr  ())
+
+-- | usage: (@bitmapGetDepth obj@).
+bitmapGetDepth :: Bitmap  a ->  IO Int
+bitmapGetDepth _obj 
+  = withIntResult $
+    withObjectRef "bitmapGetDepth" _obj $ \cobj__obj -> 
+    wxBitmap_GetDepth cobj__obj  
+foreign import ccall "wxBitmap_GetDepth" wxBitmap_GetDepth :: Ptr (TBitmap a) -> IO CInt
+
+-- | usage: (@bitmapGetHeight obj@).
+bitmapGetHeight :: Bitmap  a ->  IO Int
+bitmapGetHeight _obj 
+  = withIntResult $
+    withObjectRef "bitmapGetHeight" _obj $ \cobj__obj -> 
+    wxBitmap_GetHeight cobj__obj  
+foreign import ccall "wxBitmap_GetHeight" wxBitmap_GetHeight :: Ptr (TBitmap a) -> IO CInt
+
+-- | usage: (@bitmapGetMask obj@).
+bitmapGetMask :: Bitmap  a ->  IO (Mask  ())
+bitmapGetMask _obj 
+  = withObjectResult $
+    withObjectRef "bitmapGetMask" _obj $ \cobj__obj -> 
+    wxBitmap_GetMask cobj__obj  
+foreign import ccall "wxBitmap_GetMask" wxBitmap_GetMask :: Ptr (TBitmap a) -> IO (Ptr (TMask ()))
+
+-- | usage: (@bitmapGetSubBitmap obj xywh@).
+bitmapGetSubBitmap :: Bitmap  a -> Rect ->  IO (Bitmap  ())
+bitmapGetSubBitmap _obj xywh 
+  = withRefBitmap $ \pref -> 
+    withObjectRef "bitmapGetSubBitmap" _obj $ \cobj__obj -> 
+    wxBitmap_GetSubBitmap cobj__obj  (toCIntRectX xywh) (toCIntRectY xywh)(toCIntRectW xywh) (toCIntRectH xywh)   pref
+foreign import ccall "wxBitmap_GetSubBitmap" wxBitmap_GetSubBitmap :: Ptr (TBitmap a) -> CInt -> CInt -> CInt -> CInt -> Ptr (TBitmap ()) -> IO ()
+
+-- | usage: (@bitmapGetWidth obj@).
+bitmapGetWidth :: Bitmap  a ->  IO Int
+bitmapGetWidth _obj 
+  = withIntResult $
+    withObjectRef "bitmapGetWidth" _obj $ \cobj__obj -> 
+    wxBitmap_GetWidth cobj__obj  
+foreign import ccall "wxBitmap_GetWidth" wxBitmap_GetWidth :: Ptr (TBitmap a) -> IO CInt
+
+-- | usage: (@bitmapInitStandardHandlers@).
+bitmapInitStandardHandlers ::  IO ()
+bitmapInitStandardHandlers 
+  = wxBitmap_InitStandardHandlers 
+foreign import ccall "wxBitmap_InitStandardHandlers" wxBitmap_InitStandardHandlers :: IO ()
+
+-- | usage: (@bitmapInsertHandler handler@).
+bitmapInsertHandler :: EvtHandler  a ->  IO ()
+bitmapInsertHandler handler 
+  = withObjectPtr handler $ \cobj_handler -> 
+    wxBitmap_InsertHandler cobj_handler  
+foreign import ccall "wxBitmap_InsertHandler" wxBitmap_InsertHandler :: Ptr (TEvtHandler a) -> IO ()
+
+-- | usage: (@bitmapIsOk obj@).
+bitmapIsOk :: Bitmap  a ->  IO Bool
+bitmapIsOk _obj 
+  = withBoolResult $
+    withObjectRef "bitmapIsOk" _obj $ \cobj__obj -> 
+    wxBitmap_IsOk cobj__obj  
+foreign import ccall "wxBitmap_IsOk" wxBitmap_IsOk :: Ptr (TBitmap a) -> IO CBool
+
+-- | usage: (@bitmapIsStatic self@).
+bitmapIsStatic :: Bitmap  a ->  IO Bool
+bitmapIsStatic self 
+  = withBoolResult $
+    withObjectPtr self $ \cobj_self -> 
+    wxBitmap_IsStatic cobj_self  
+foreign import ccall "wxBitmap_IsStatic" wxBitmap_IsStatic :: Ptr (TBitmap a) -> IO CBool
+
+-- | usage: (@bitmapLoadFile obj name wxtype@).
+bitmapLoadFile :: Bitmap  a -> String -> Int ->  IO Int
+bitmapLoadFile _obj name wxtype 
+  = withIntResult $
+    withObjectRef "bitmapLoadFile" _obj $ \cobj__obj -> 
+    withStringPtr name $ \cobj_name -> 
+    wxBitmap_LoadFile cobj__obj  cobj_name  (toCInt wxtype)  
+foreign import ccall "wxBitmap_LoadFile" wxBitmap_LoadFile :: Ptr (TBitmap a) -> Ptr (TWxString b) -> CInt -> IO CInt
+
+-- | usage: (@bitmapRemoveHandler name@).
+bitmapRemoveHandler :: String ->  IO Bool
+bitmapRemoveHandler name 
+  = withBoolResult $
+    withStringPtr name $ \cobj_name -> 
+    wxBitmap_RemoveHandler cobj_name  
+foreign import ccall "wxBitmap_RemoveHandler" wxBitmap_RemoveHandler :: Ptr (TWxString a) -> IO CBool
+
+-- | usage: (@bitmapSafeDelete self@).
+bitmapSafeDelete :: Bitmap  a ->  IO ()
+bitmapSafeDelete self 
+  = withObjectPtr self $ \cobj_self -> 
+    wxBitmap_SafeDelete cobj_self  
+foreign import ccall "wxBitmap_SafeDelete" wxBitmap_SafeDelete :: Ptr (TBitmap a) -> IO ()
+
+-- | usage: (@bitmapSaveFile obj name wxtype cmap@).
+bitmapSaveFile :: Bitmap  a -> String -> Int -> Palette  d ->  IO Int
+bitmapSaveFile _obj name wxtype cmap 
+  = withIntResult $
+    withObjectRef "bitmapSaveFile" _obj $ \cobj__obj -> 
+    withStringPtr name $ \cobj_name -> 
+    withObjectPtr cmap $ \cobj_cmap -> 
+    wxBitmap_SaveFile cobj__obj  cobj_name  (toCInt wxtype)  cobj_cmap  
+foreign import ccall "wxBitmap_SaveFile" wxBitmap_SaveFile :: Ptr (TBitmap a) -> Ptr (TWxString b) -> CInt -> Ptr (TPalette d) -> IO CInt
+
+-- | usage: (@bitmapSetDepth obj d@).
+bitmapSetDepth :: Bitmap  a -> Int ->  IO ()
+bitmapSetDepth _obj d 
+  = withObjectRef "bitmapSetDepth" _obj $ \cobj__obj -> 
+    wxBitmap_SetDepth cobj__obj  (toCInt d)  
+foreign import ccall "wxBitmap_SetDepth" wxBitmap_SetDepth :: Ptr (TBitmap a) -> CInt -> IO ()
+
+-- | usage: (@bitmapSetHeight obj h@).
+bitmapSetHeight :: Bitmap  a -> Int ->  IO ()
+bitmapSetHeight _obj h 
+  = withObjectRef "bitmapSetHeight" _obj $ \cobj__obj -> 
+    wxBitmap_SetHeight cobj__obj  (toCInt h)  
+foreign import ccall "wxBitmap_SetHeight" wxBitmap_SetHeight :: Ptr (TBitmap a) -> CInt -> IO ()
+
+-- | usage: (@bitmapSetMask obj mask@).
+bitmapSetMask :: Bitmap  a -> Mask  b ->  IO ()
+bitmapSetMask _obj mask 
+  = withObjectRef "bitmapSetMask" _obj $ \cobj__obj -> 
+    withObjectPtr mask $ \cobj_mask -> 
+    wxBitmap_SetMask cobj__obj  cobj_mask  
+foreign import ccall "wxBitmap_SetMask" wxBitmap_SetMask :: Ptr (TBitmap a) -> Ptr (TMask b) -> IO ()
+
+-- | usage: (@bitmapSetWidth obj w@).
+bitmapSetWidth :: Bitmap  a -> Int ->  IO ()
+bitmapSetWidth _obj w 
+  = withObjectRef "bitmapSetWidth" _obj $ \cobj__obj -> 
+    wxBitmap_SetWidth cobj__obj  (toCInt w)  
+foreign import ccall "wxBitmap_SetWidth" wxBitmap_SetWidth :: Ptr (TBitmap a) -> CInt -> IO ()
+
+-- | usage: (@bitmapToggleButtonCreate parent id bmp xywh style@).
+bitmapToggleButtonCreate :: Window  a -> Id -> Bitmap  c -> Rect -> Int ->  IO (BitmapToggleButton  ())
+bitmapToggleButtonCreate parent id _bmp xywh style 
+  = withObjectResult $
+    withObjectPtr parent $ \cobj_parent -> 
+    withObjectPtr _bmp $ \cobj__bmp -> 
+    wxBitmapToggleButton_Create cobj_parent  (toCInt id)  cobj__bmp  (toCIntRectX xywh) (toCIntRectY xywh)(toCIntRectW xywh) (toCIntRectH xywh)  (toCInt style)  
+foreign import ccall "wxBitmapToggleButton_Create" wxBitmapToggleButton_Create :: Ptr (TWindow a) -> CInt -> Ptr (TBitmap c) -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TBitmapToggleButton ()))
+
+-- | usage: (@bitmapToggleButtonEnable obj enable@).
+bitmapToggleButtonEnable :: BitmapToggleButton  a -> Bool ->  IO Bool
+bitmapToggleButtonEnable _obj enable 
+  = withBoolResult $
+    withObjectRef "bitmapToggleButtonEnable" _obj $ \cobj__obj -> 
+    wxBitmapToggleButton_Enable cobj__obj  (toCBool enable)  
+foreign import ccall "wxBitmapToggleButton_Enable" wxBitmapToggleButton_Enable :: Ptr (TBitmapToggleButton a) -> CBool -> IO CBool
+
+-- | usage: (@bitmapToggleButtonGetValue obj@).
+bitmapToggleButtonGetValue :: BitmapToggleButton  a ->  IO Bool
+bitmapToggleButtonGetValue _obj 
+  = withBoolResult $
+    withObjectRef "bitmapToggleButtonGetValue" _obj $ \cobj__obj -> 
+    wxBitmapToggleButton_GetValue cobj__obj  
+foreign import ccall "wxBitmapToggleButton_GetValue" wxBitmapToggleButton_GetValue :: Ptr (TBitmapToggleButton a) -> IO CBool
+
+-- | usage: (@bitmapToggleButtonSetBitmapLabel obj bmp@).
+bitmapToggleButtonSetBitmapLabel :: BitmapToggleButton  a -> Bitmap  b ->  IO ()
+bitmapToggleButtonSetBitmapLabel _obj _bmp 
+  = withObjectRef "bitmapToggleButtonSetBitmapLabel" _obj $ \cobj__obj -> 
+    withObjectPtr _bmp $ \cobj__bmp -> 
+    wxBitmapToggleButton_SetBitmapLabel cobj__obj  cobj__bmp  
+foreign import ccall "wxBitmapToggleButton_SetBitmapLabel" wxBitmapToggleButton_SetBitmapLabel :: Ptr (TBitmapToggleButton a) -> Ptr (TBitmap b) -> IO ()
+
+-- | usage: (@bitmapToggleButtonSetValue obj state@).
+bitmapToggleButtonSetValue :: BitmapToggleButton  a -> Bool ->  IO ()
+bitmapToggleButtonSetValue _obj state 
+  = withObjectRef "bitmapToggleButtonSetValue" _obj $ \cobj__obj -> 
+    wxBitmapToggleButton_SetValue cobj__obj  (toCBool state)  
+foreign import ccall "wxBitmapToggleButton_SetValue" wxBitmapToggleButton_SetValue :: Ptr (TBitmapToggleButton a) -> CBool -> IO ()
+
+-- | usage: (@bookCtrlBaseAddPage obj page text select imageId@).
+bookCtrlBaseAddPage :: BookCtrlBase  a -> Window  b -> String -> Bool -> Int ->  IO Bool
+bookCtrlBaseAddPage _obj _page _text select imageId 
+  = withBoolResult $
+    withObjectRef "bookCtrlBaseAddPage" _obj $ \cobj__obj -> 
+    withObjectPtr _page $ \cobj__page -> 
+    withStringPtr _text $ \cobj__text -> 
+    wxBookCtrlBase_AddPage cobj__obj  cobj__page  cobj__text  (toCBool select)  (toCInt imageId)  
+foreign import ccall "wxBookCtrlBase_AddPage" wxBookCtrlBase_AddPage :: Ptr (TBookCtrlBase a) -> Ptr (TWindow b) -> Ptr (TWxString c) -> CBool -> CInt -> IO CBool
+
+-- | usage: (@bookCtrlBaseAdvanceSelection obj forward@).
+bookCtrlBaseAdvanceSelection :: BookCtrlBase  a -> Bool ->  IO ()
+bookCtrlBaseAdvanceSelection _obj forward 
+  = withObjectRef "bookCtrlBaseAdvanceSelection" _obj $ \cobj__obj -> 
+    wxBookCtrlBase_AdvanceSelection cobj__obj  (toCBool forward)  
+foreign import ccall "wxBookCtrlBase_AdvanceSelection" wxBookCtrlBase_AdvanceSelection :: Ptr (TBookCtrlBase a) -> CBool -> IO ()
+
+-- | usage: (@bookCtrlBaseAssignImageList obj imageList@).
+bookCtrlBaseAssignImageList :: BookCtrlBase  a -> ImageList  b ->  IO ()
+bookCtrlBaseAssignImageList _obj imageList 
+  = withObjectRef "bookCtrlBaseAssignImageList" _obj $ \cobj__obj -> 
+    withObjectPtr imageList $ \cobj_imageList -> 
+    wxBookCtrlBase_AssignImageList cobj__obj  cobj_imageList  
+foreign import ccall "wxBookCtrlBase_AssignImageList" wxBookCtrlBase_AssignImageList :: Ptr (TBookCtrlBase a) -> Ptr (TImageList b) -> IO ()
+
+-- | usage: (@bookCtrlBaseChangeSelection obj page@).
+bookCtrlBaseChangeSelection :: BookCtrlBase  a -> Int ->  IO Int
+bookCtrlBaseChangeSelection _obj page 
+  = withIntResult $
+    withObjectRef "bookCtrlBaseChangeSelection" _obj $ \cobj__obj -> 
+    wxBookCtrlBase_ChangeSelection cobj__obj  (toCInt page)  
+foreign import ccall "wxBookCtrlBase_ChangeSelection" wxBookCtrlBase_ChangeSelection :: Ptr (TBookCtrlBase a) -> CInt -> IO CInt
+
+-- | usage: (@bookCtrlBaseCreateFromDefault obj parent winid xy widthheight style name@).
+bookCtrlBaseCreateFromDefault :: BookCtrlBase  a -> Window  b -> Int -> Point -> Size -> Int -> String ->  IO Bool
+bookCtrlBaseCreateFromDefault _obj _parent winid xy _widthheight style _name 
+  = withBoolResult $
+    withObjectRef "bookCtrlBaseCreateFromDefault" _obj $ \cobj__obj -> 
+    withObjectPtr _parent $ \cobj__parent -> 
+    withStringPtr _name $ \cobj__name -> 
+    wxBookCtrlBase_CreateFromDefault cobj__obj  cobj__parent  (toCInt winid)  (toCIntPointX xy) (toCIntPointY xy)  (toCIntSizeW _widthheight) (toCIntSizeH _widthheight)  (toCInt style)  cobj__name  
+foreign import ccall "wxBookCtrlBase_CreateFromDefault" wxBookCtrlBase_CreateFromDefault :: Ptr (TBookCtrlBase a) -> Ptr (TWindow b) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> Ptr (TWxString g) -> IO CBool
+
+-- | usage: (@bookCtrlBaseDeleteAllPages obj@).
+bookCtrlBaseDeleteAllPages :: BookCtrlBase  a ->  IO Bool
+bookCtrlBaseDeleteAllPages _obj 
+  = withBoolResult $
+    withObjectRef "bookCtrlBaseDeleteAllPages" _obj $ \cobj__obj -> 
+    wxBookCtrlBase_DeleteAllPages cobj__obj  
+foreign import ccall "wxBookCtrlBase_DeleteAllPages" wxBookCtrlBase_DeleteAllPages :: Ptr (TBookCtrlBase a) -> IO CBool
+
+-- | usage: (@bookCtrlBaseDeletePage obj page@).
+bookCtrlBaseDeletePage :: BookCtrlBase  a -> Int ->  IO Bool
+bookCtrlBaseDeletePage _obj page 
+  = withBoolResult $
+    withObjectRef "bookCtrlBaseDeletePage" _obj $ \cobj__obj -> 
+    wxBookCtrlBase_DeletePage cobj__obj  (toCInt page)  
+foreign import ccall "wxBookCtrlBase_DeletePage" wxBookCtrlBase_DeletePage :: Ptr (TBookCtrlBase a) -> CInt -> IO CBool
+
+-- | usage: (@bookCtrlBaseFindPage obj page@).
+bookCtrlBaseFindPage :: BookCtrlBase  a -> Window  b ->  IO Int
+bookCtrlBaseFindPage _obj _page 
+  = withIntResult $
+    withObjectRef "bookCtrlBaseFindPage" _obj $ \cobj__obj -> 
+    withObjectPtr _page $ \cobj__page -> 
+    wxBookCtrlBase_FindPage cobj__obj  cobj__page  
+foreign import ccall "wxBookCtrlBase_FindPage" wxBookCtrlBase_FindPage :: Ptr (TBookCtrlBase a) -> Ptr (TWindow b) -> IO CInt
+
+-- | usage: (@bookCtrlBaseGetCurrentPage obj@).
+bookCtrlBaseGetCurrentPage :: BookCtrlBase  a ->  IO (Window  ())
+bookCtrlBaseGetCurrentPage _obj 
+  = withObjectResult $
+    withObjectRef "bookCtrlBaseGetCurrentPage" _obj $ \cobj__obj -> 
+    wxBookCtrlBase_GetCurrentPage cobj__obj  
+foreign import ccall "wxBookCtrlBase_GetCurrentPage" wxBookCtrlBase_GetCurrentPage :: Ptr (TBookCtrlBase a) -> IO (Ptr (TWindow ()))
+
+-- | usage: (@bookCtrlBaseGetImageList obj@).
+bookCtrlBaseGetImageList :: BookCtrlBase  a ->  IO (ImageList  ())
+bookCtrlBaseGetImageList _obj 
+  = withObjectResult $
+    withObjectRef "bookCtrlBaseGetImageList" _obj $ \cobj__obj -> 
+    wxBookCtrlBase_GetImageList cobj__obj  
+foreign import ccall "wxBookCtrlBase_GetImageList" wxBookCtrlBase_GetImageList :: Ptr (TBookCtrlBase a) -> IO (Ptr (TImageList ()))
+
+-- | usage: (@bookCtrlBaseGetPage obj page@).
+bookCtrlBaseGetPage :: BookCtrlBase  a -> Int ->  IO (Window  ())
+bookCtrlBaseGetPage _obj page 
+  = withObjectResult $
+    withObjectRef "bookCtrlBaseGetPage" _obj $ \cobj__obj -> 
+    wxBookCtrlBase_GetPage cobj__obj  (toCInt page)  
+foreign import ccall "wxBookCtrlBase_GetPage" wxBookCtrlBase_GetPage :: Ptr (TBookCtrlBase a) -> CInt -> IO (Ptr (TWindow ()))
+
+-- | usage: (@bookCtrlBaseGetPageCount obj@).
+bookCtrlBaseGetPageCount :: BookCtrlBase  a ->  IO Int
+bookCtrlBaseGetPageCount _obj 
+  = withIntResult $
+    withObjectRef "bookCtrlBaseGetPageCount" _obj $ \cobj__obj -> 
+    wxBookCtrlBase_GetPageCount cobj__obj  
+foreign import ccall "wxBookCtrlBase_GetPageCount" wxBookCtrlBase_GetPageCount :: Ptr (TBookCtrlBase a) -> IO CInt
+
+-- | usage: (@bookCtrlBaseGetPageImage obj nPage@).
+bookCtrlBaseGetPageImage :: BookCtrlBase  a -> Int ->  IO Int
+bookCtrlBaseGetPageImage _obj nPage 
+  = withIntResult $
+    withObjectRef "bookCtrlBaseGetPageImage" _obj $ \cobj__obj -> 
+    wxBookCtrlBase_GetPageImage cobj__obj  (toCInt nPage)  
+foreign import ccall "wxBookCtrlBase_GetPageImage" wxBookCtrlBase_GetPageImage :: Ptr (TBookCtrlBase a) -> CInt -> IO CInt
+
+-- | usage: (@bookCtrlBaseGetPageText obj nPage@).
+bookCtrlBaseGetPageText :: BookCtrlBase  a -> Int ->  IO (String)
+bookCtrlBaseGetPageText _obj nPage 
+  = withManagedStringResult $
+    withObjectRef "bookCtrlBaseGetPageText" _obj $ \cobj__obj -> 
+    wxBookCtrlBase_GetPageText cobj__obj  (toCInt nPage)  
+foreign import ccall "wxBookCtrlBase_GetPageText" wxBookCtrlBase_GetPageText :: Ptr (TBookCtrlBase a) -> CInt -> IO (Ptr (TWxString ()))
+
+-- | usage: (@bookCtrlBaseGetSelection obj@).
+bookCtrlBaseGetSelection :: BookCtrlBase  a ->  IO Int
+bookCtrlBaseGetSelection _obj 
+  = withIntResult $
+    withObjectRef "bookCtrlBaseGetSelection" _obj $ \cobj__obj -> 
+    wxBookCtrlBase_GetSelection cobj__obj  
+foreign import ccall "wxBookCtrlBase_GetSelection" wxBookCtrlBase_GetSelection :: Ptr (TBookCtrlBase a) -> IO CInt
+
+-- | usage: (@bookCtrlBaseHitTest obj xy flags@).
+bookCtrlBaseHitTest :: BookCtrlBase  a -> Point -> Ptr CInt ->  IO Int
+bookCtrlBaseHitTest _obj xy flags 
+  = withIntResult $
+    withObjectRef "bookCtrlBaseHitTest" _obj $ \cobj__obj -> 
+    wxBookCtrlBase_HitTest cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  flags  
+foreign import ccall "wxBookCtrlBase_HitTest" wxBookCtrlBase_HitTest :: Ptr (TBookCtrlBase a) -> CInt -> CInt -> Ptr CInt -> IO CInt
+
+-- | usage: (@bookCtrlBaseInsertPage obj index page text select imageId@).
+bookCtrlBaseInsertPage :: BookCtrlBase  a -> Int -> Window  c -> String -> Bool -> Int ->  IO Bool
+bookCtrlBaseInsertPage _obj index _page _text select imageId 
+  = withBoolResult $
+    withObjectRef "bookCtrlBaseInsertPage" _obj $ \cobj__obj -> 
+    withObjectPtr _page $ \cobj__page -> 
+    withStringPtr _text $ \cobj__text -> 
+    wxBookCtrlBase_InsertPage cobj__obj  (toCInt index)  cobj__page  cobj__text  (toCBool select)  (toCInt imageId)  
+foreign import ccall "wxBookCtrlBase_InsertPage" wxBookCtrlBase_InsertPage :: Ptr (TBookCtrlBase a) -> CInt -> Ptr (TWindow c) -> Ptr (TWxString d) -> CBool -> CInt -> IO CBool
+
+-- | usage: (@bookCtrlBaseRemovePage obj page@).
+bookCtrlBaseRemovePage :: BookCtrlBase  a -> Int ->  IO Bool
+bookCtrlBaseRemovePage _obj page 
+  = withBoolResult $
+    withObjectRef "bookCtrlBaseRemovePage" _obj $ \cobj__obj -> 
+    wxBookCtrlBase_RemovePage cobj__obj  (toCInt page)  
+foreign import ccall "wxBookCtrlBase_RemovePage" wxBookCtrlBase_RemovePage :: Ptr (TBookCtrlBase a) -> CInt -> IO CBool
+
+-- | usage: (@bookCtrlBaseSetImageList obj imageList@).
+bookCtrlBaseSetImageList :: BookCtrlBase  a -> ImageList  b ->  IO ()
+bookCtrlBaseSetImageList _obj imageList 
+  = withObjectRef "bookCtrlBaseSetImageList" _obj $ \cobj__obj -> 
+    withObjectPtr imageList $ \cobj_imageList -> 
+    wxBookCtrlBase_SetImageList cobj__obj  cobj_imageList  
+foreign import ccall "wxBookCtrlBase_SetImageList" wxBookCtrlBase_SetImageList :: Ptr (TBookCtrlBase a) -> Ptr (TImageList b) -> IO ()
+
+-- | usage: (@bookCtrlBaseSetPageImage obj page image@).
+bookCtrlBaseSetPageImage :: BookCtrlBase  a -> Int -> Int ->  IO Bool
+bookCtrlBaseSetPageImage _obj page image 
+  = withBoolResult $
+    withObjectRef "bookCtrlBaseSetPageImage" _obj $ \cobj__obj -> 
+    wxBookCtrlBase_SetPageImage cobj__obj  (toCInt page)  (toCInt image)  
+foreign import ccall "wxBookCtrlBase_SetPageImage" wxBookCtrlBase_SetPageImage :: Ptr (TBookCtrlBase a) -> CInt -> CInt -> IO CBool
+
+-- | usage: (@bookCtrlBaseSetPageSize obj widthheight@).
+bookCtrlBaseSetPageSize :: BookCtrlBase  a -> Size ->  IO ()
+bookCtrlBaseSetPageSize _obj _widthheight 
+  = withObjectRef "bookCtrlBaseSetPageSize" _obj $ \cobj__obj -> 
+    wxBookCtrlBase_SetPageSize cobj__obj  (toCIntSizeW _widthheight) (toCIntSizeH _widthheight)  
+foreign import ccall "wxBookCtrlBase_SetPageSize" wxBookCtrlBase_SetPageSize :: Ptr (TBookCtrlBase a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@bookCtrlBaseSetPageText obj page text@).
+bookCtrlBaseSetPageText :: BookCtrlBase  a -> Int -> String ->  IO Bool
+bookCtrlBaseSetPageText _obj page _text 
+  = withBoolResult $
+    withObjectRef "bookCtrlBaseSetPageText" _obj $ \cobj__obj -> 
+    withStringPtr _text $ \cobj__text -> 
+    wxBookCtrlBase_SetPageText cobj__obj  (toCInt page)  cobj__text  
+foreign import ccall "wxBookCtrlBase_SetPageText" wxBookCtrlBase_SetPageText :: Ptr (TBookCtrlBase a) -> CInt -> Ptr (TWxString c) -> IO CBool
+
+-- | usage: (@bookCtrlBaseSetSelection obj page@).
+bookCtrlBaseSetSelection :: BookCtrlBase  a -> Int ->  IO Int
+bookCtrlBaseSetSelection _obj page 
+  = withIntResult $
+    withObjectRef "bookCtrlBaseSetSelection" _obj $ \cobj__obj -> 
+    wxBookCtrlBase_SetSelection cobj__obj  (toCInt page)  
+foreign import ccall "wxBookCtrlBase_SetSelection" wxBookCtrlBase_SetSelection :: Ptr (TBookCtrlBase a) -> CInt -> IO CInt
+
+-- | usage: (@bookCtrlEventCreate commandType winid nSel nOldSel@).
+bookCtrlEventCreate :: Int -> Int -> Int -> Int ->  IO (BookCtrlEvent  ())
+bookCtrlEventCreate commandType winid nSel nOldSel 
+  = withObjectResult $
+    wxBookCtrlEvent_Create (toCInt commandType)  (toCInt winid)  (toCInt nSel)  (toCInt nOldSel)  
+foreign import ccall "wxBookCtrlEvent_Create" wxBookCtrlEvent_Create :: CInt -> CInt -> CInt -> CInt -> IO (Ptr (TBookCtrlEvent ()))
+
+-- | usage: (@bookCtrlEventGetOldSelection obj@).
+bookCtrlEventGetOldSelection :: BookCtrlEvent  a ->  IO Int
+bookCtrlEventGetOldSelection _obj 
+  = withIntResult $
+    withObjectRef "bookCtrlEventGetOldSelection" _obj $ \cobj__obj -> 
+    wxBookCtrlEvent_GetOldSelection cobj__obj  
+foreign import ccall "wxBookCtrlEvent_GetOldSelection" wxBookCtrlEvent_GetOldSelection :: Ptr (TBookCtrlEvent a) -> IO CInt
+
+-- | usage: (@bookCtrlEventGetSelection obj@).
+bookCtrlEventGetSelection :: BookCtrlEvent  a ->  IO Int
+bookCtrlEventGetSelection _obj 
+  = withIntResult $
+    withObjectRef "bookCtrlEventGetSelection" _obj $ \cobj__obj -> 
+    wxBookCtrlEvent_GetSelection cobj__obj  
+foreign import ccall "wxBookCtrlEvent_GetSelection" wxBookCtrlEvent_GetSelection :: Ptr (TBookCtrlEvent a) -> IO CInt
+
+-- | usage: (@boolPropertyCreate label name value@).
+boolPropertyCreate :: String -> String -> Bool ->  IO (BoolProperty  ())
+boolPropertyCreate label name value 
+  = withObjectResult $
+    withStringPtr label $ \cobj_label -> 
+    withStringPtr name $ \cobj_name -> 
+    wxBoolProperty_Create cobj_label  cobj_name  (toCBool value)  
+foreign import ccall "wxBoolProperty_Create" wxBoolProperty_Create :: Ptr (TWxString a) -> Ptr (TWxString b) -> CBool -> IO (Ptr (TBoolProperty ()))
+
+-- | usage: (@boxSizerCalcMin obj@).
+boxSizerCalcMin :: BoxSizer  a ->  IO (Size)
+boxSizerCalcMin _obj 
+  = withWxSizeResult $
+    withObjectRef "boxSizerCalcMin" _obj $ \cobj__obj -> 
+    wxBoxSizer_CalcMin cobj__obj  
+foreign import ccall "wxBoxSizer_CalcMin" wxBoxSizer_CalcMin :: Ptr (TBoxSizer a) -> IO (Ptr (TWxSize ()))
+
+-- | usage: (@boxSizerCreate orient@).
+boxSizerCreate :: Int ->  IO (BoxSizer  ())
+boxSizerCreate orient 
+  = withObjectResult $
+    wxBoxSizer_Create (toCInt orient)  
+foreign import ccall "wxBoxSizer_Create" wxBoxSizer_Create :: CInt -> IO (Ptr (TBoxSizer ()))
+
+-- | usage: (@boxSizerGetOrientation obj@).
+boxSizerGetOrientation :: BoxSizer  a ->  IO Int
+boxSizerGetOrientation _obj 
+  = withIntResult $
+    withObjectRef "boxSizerGetOrientation" _obj $ \cobj__obj -> 
+    wxBoxSizer_GetOrientation cobj__obj  
+foreign import ccall "wxBoxSizer_GetOrientation" wxBoxSizer_GetOrientation :: Ptr (TBoxSizer a) -> IO CInt
+
+-- | usage: (@boxSizerRecalcSizes obj@).
+boxSizerRecalcSizes :: BoxSizer  a ->  IO ()
+boxSizerRecalcSizes _obj 
+  = withObjectRef "boxSizerRecalcSizes" _obj $ \cobj__obj -> 
+    wxBoxSizer_RecalcSizes cobj__obj  
+foreign import ccall "wxBoxSizer_RecalcSizes" wxBoxSizer_RecalcSizes :: Ptr (TBoxSizer a) -> IO ()
+
+-- | usage: (@brushAssign obj brush@).
+brushAssign :: Brush  a -> Brush  b ->  IO ()
+brushAssign _obj brush 
+  = withObjectRef "brushAssign" _obj $ \cobj__obj -> 
+    withObjectPtr brush $ \cobj_brush -> 
+    wxBrush_Assign cobj__obj  cobj_brush  
+foreign import ccall "wxBrush_Assign" wxBrush_Assign :: Ptr (TBrush a) -> Ptr (TBrush b) -> IO ()
+
+-- | usage: (@brushCreateDefault@).
+brushCreateDefault ::  IO (Brush  ())
+brushCreateDefault 
+  = withManagedBrushResult $
+    wxBrush_CreateDefault 
+foreign import ccall "wxBrush_CreateDefault" wxBrush_CreateDefault :: IO (Ptr (TBrush ()))
+
+-- | usage: (@brushCreateFromBitmap bitmap@).
+brushCreateFromBitmap :: Bitmap  a ->  IO (Brush  ())
+brushCreateFromBitmap bitmap 
+  = withManagedBrushResult $
+    withObjectPtr bitmap $ \cobj_bitmap -> 
+    wxBrush_CreateFromBitmap cobj_bitmap  
+foreign import ccall "wxBrush_CreateFromBitmap" wxBrush_CreateFromBitmap :: Ptr (TBitmap a) -> IO (Ptr (TBrush ()))
+
+-- | usage: (@brushCreateFromColour col style@).
+brushCreateFromColour :: Color -> Int ->  IO (Brush  ())
+brushCreateFromColour col style 
+  = withManagedBrushResult $
+    withColourPtr col $ \cobj_col -> 
+    wxBrush_CreateFromColour cobj_col  (toCInt style)  
+foreign import ccall "wxBrush_CreateFromColour" wxBrush_CreateFromColour :: Ptr (TColour a) -> CInt -> IO (Ptr (TBrush ()))
+
+-- | usage: (@brushCreateFromStock id@).
+brushCreateFromStock :: Id ->  IO (Brush  ())
+brushCreateFromStock id 
+  = withManagedBrushResult $
+    wxBrush_CreateFromStock (toCInt id)  
+foreign import ccall "wxBrush_CreateFromStock" wxBrush_CreateFromStock :: CInt -> IO (Ptr (TBrush ()))
+
+-- | usage: (@brushDelete obj@).
+brushDelete :: Brush  a ->  IO ()
+brushDelete
+  = objectDelete
+
+
+-- | usage: (@brushGetColour obj@).
+brushGetColour :: Brush  a ->  IO (Color)
+brushGetColour _obj 
+  = withRefColour $ \pref -> 
+    withObjectRef "brushGetColour" _obj $ \cobj__obj -> 
+    wxBrush_GetColour cobj__obj   pref
+foreign import ccall "wxBrush_GetColour" wxBrush_GetColour :: Ptr (TBrush a) -> Ptr (TColour ()) -> IO ()
+
+-- | usage: (@brushGetStipple obj@).
+brushGetStipple :: Brush  a ->  IO (Bitmap  ())
+brushGetStipple _obj 
+  = withRefBitmap $ \pref -> 
+    withObjectRef "brushGetStipple" _obj $ \cobj__obj -> 
+    wxBrush_GetStipple cobj__obj   pref
+foreign import ccall "wxBrush_GetStipple" wxBrush_GetStipple :: Ptr (TBrush a) -> Ptr (TBitmap ()) -> IO ()
+
+-- | usage: (@brushGetStyle obj@).
+brushGetStyle :: Brush  a ->  IO Int
+brushGetStyle _obj 
+  = withIntResult $
+    withObjectRef "brushGetStyle" _obj $ \cobj__obj -> 
+    wxBrush_GetStyle cobj__obj  
+foreign import ccall "wxBrush_GetStyle" wxBrush_GetStyle :: Ptr (TBrush a) -> IO CInt
+
+-- | usage: (@brushIsEqual obj brush@).
+brushIsEqual :: Brush  a -> Brush  b ->  IO Bool
+brushIsEqual _obj brush 
+  = withBoolResult $
+    withObjectRef "brushIsEqual" _obj $ \cobj__obj -> 
+    withObjectPtr brush $ \cobj_brush -> 
+    wxBrush_IsEqual cobj__obj  cobj_brush  
+foreign import ccall "wxBrush_IsEqual" wxBrush_IsEqual :: Ptr (TBrush a) -> Ptr (TBrush b) -> IO CBool
+
+-- | usage: (@brushIsOk obj@).
+brushIsOk :: Brush  a ->  IO Bool
+brushIsOk _obj 
+  = withBoolResult $
+    withObjectRef "brushIsOk" _obj $ \cobj__obj -> 
+    wxBrush_IsOk cobj__obj  
+foreign import ccall "wxBrush_IsOk" wxBrush_IsOk :: Ptr (TBrush a) -> IO CBool
+
+-- | usage: (@brushIsStatic self@).
+brushIsStatic :: Brush  a ->  IO Bool
+brushIsStatic self 
+  = withBoolResult $
+    withObjectPtr self $ \cobj_self -> 
+    wxBrush_IsStatic cobj_self  
+foreign import ccall "wxBrush_IsStatic" wxBrush_IsStatic :: Ptr (TBrush a) -> IO CBool
+
+-- | usage: (@brushSafeDelete self@).
+brushSafeDelete :: Brush  a ->  IO ()
+brushSafeDelete self 
+  = withObjectPtr self $ \cobj_self -> 
+    wxBrush_SafeDelete cobj_self  
+foreign import ccall "wxBrush_SafeDelete" wxBrush_SafeDelete :: Ptr (TBrush a) -> IO ()
+
+-- | usage: (@brushSetColour obj col@).
+brushSetColour :: Brush  a -> Color ->  IO ()
+brushSetColour _obj col 
+  = withObjectRef "brushSetColour" _obj $ \cobj__obj -> 
+    withColourPtr col $ \cobj_col -> 
+    wxBrush_SetColour cobj__obj  cobj_col  
+foreign import ccall "wxBrush_SetColour" wxBrush_SetColour :: Ptr (TBrush a) -> Ptr (TColour b) -> IO ()
+
+-- | usage: (@brushSetColourSingle obj r g b@).
+brushSetColourSingle :: Brush  a -> Char -> Char -> Char ->  IO ()
+brushSetColourSingle _obj r g b 
+  = withObjectRef "brushSetColourSingle" _obj $ \cobj__obj -> 
+    wxBrush_SetColourSingle cobj__obj  (toCWchar r)  (toCWchar g)  (toCWchar b)  
+foreign import ccall "wxBrush_SetColourSingle" wxBrush_SetColourSingle :: Ptr (TBrush a) -> CWchar -> CWchar -> CWchar -> IO ()
+
+-- | usage: (@brushSetStipple obj stipple@).
+brushSetStipple :: Brush  a -> Bitmap  b ->  IO ()
+brushSetStipple _obj stipple 
+  = withObjectRef "brushSetStipple" _obj $ \cobj__obj -> 
+    withObjectPtr stipple $ \cobj_stipple -> 
+    wxBrush_SetStipple cobj__obj  cobj_stipple  
+foreign import ccall "wxBrush_SetStipple" wxBrush_SetStipple :: Ptr (TBrush a) -> Ptr (TBitmap b) -> IO ()
+
+-- | usage: (@brushSetStyle obj style@).
+brushSetStyle :: Brush  a -> Int ->  IO ()
+brushSetStyle _obj style 
+  = withObjectRef "brushSetStyle" _obj $ \cobj__obj -> 
+    wxBrush_SetStyle cobj__obj  (toCInt style)  
+foreign import ccall "wxBrush_SetStyle" wxBrush_SetStyle :: Ptr (TBrush a) -> CInt -> IO ()
+
+-- | usage: (@bufferedDCCreateByDCAndBitmap dc bitmap style@).
+bufferedDCCreateByDCAndBitmap :: DC  a -> Bitmap  b -> Int ->  IO (BufferedDC  ())
+bufferedDCCreateByDCAndBitmap dc bitmap style 
+  = withObjectResult $
+    withObjectPtr dc $ \cobj_dc -> 
+    withObjectPtr bitmap $ \cobj_bitmap -> 
+    wxBufferedDC_CreateByDCAndBitmap cobj_dc  cobj_bitmap  (toCInt style)  
+foreign import ccall "wxBufferedDC_CreateByDCAndBitmap" wxBufferedDC_CreateByDCAndBitmap :: Ptr (TDC a) -> Ptr (TBitmap b) -> CInt -> IO (Ptr (TBufferedDC ()))
+
+-- | usage: (@bufferedDCCreateByDCAndSize dc widthhight style@).
+bufferedDCCreateByDCAndSize :: DC  a -> Size -> Int ->  IO (BufferedDC  ())
+bufferedDCCreateByDCAndSize dc widthhight style 
+  = withObjectResult $
+    withObjectPtr dc $ \cobj_dc -> 
+    wxBufferedDC_CreateByDCAndSize cobj_dc  (toCIntSizeW widthhight) (toCIntSizeH widthhight)  (toCInt style)  
+foreign import ccall "wxBufferedDC_CreateByDCAndSize" wxBufferedDC_CreateByDCAndSize :: Ptr (TDC a) -> CInt -> CInt -> CInt -> IO (Ptr (TBufferedDC ()))
+
+-- | usage: (@bufferedDCDelete self@).
+bufferedDCDelete :: BufferedDC  a ->  IO ()
+bufferedDCDelete
+  = objectDelete
+
+
+-- | usage: (@bufferedPaintDCCreate window style@).
+bufferedPaintDCCreate :: Window  a -> Int ->  IO (BufferedPaintDC  ())
+bufferedPaintDCCreate window style 
+  = withObjectResult $
+    withObjectPtr window $ \cobj_window -> 
+    wxBufferedPaintDC_Create cobj_window  (toCInt style)  
+foreign import ccall "wxBufferedPaintDC_Create" wxBufferedPaintDC_Create :: Ptr (TWindow a) -> CInt -> IO (Ptr (TBufferedPaintDC ()))
+
+-- | usage: (@bufferedPaintDCCreateWithBitmap window bitmap style@).
+bufferedPaintDCCreateWithBitmap :: Window  a -> Bitmap  b -> Int ->  IO (BufferedPaintDC  ())
+bufferedPaintDCCreateWithBitmap window bitmap style 
+  = withObjectResult $
+    withObjectPtr window $ \cobj_window -> 
+    withObjectPtr bitmap $ \cobj_bitmap -> 
+    wxBufferedPaintDC_CreateWithBitmap cobj_window  cobj_bitmap  (toCInt style)  
+foreign import ccall "wxBufferedPaintDC_CreateWithBitmap" wxBufferedPaintDC_CreateWithBitmap :: Ptr (TWindow a) -> Ptr (TBitmap b) -> CInt -> IO (Ptr (TBufferedPaintDC ()))
+
+-- | usage: (@bufferedPaintDCDelete self@).
+bufferedPaintDCDelete :: BufferedPaintDC  a ->  IO ()
+bufferedPaintDCDelete
+  = objectDelete
+
+
+-- | usage: (@busyCursorCreate@).
+busyCursorCreate ::  IO (BusyCursor  ())
+busyCursorCreate 
+  = withObjectResult $
+    wxBusyCursor_Create 
+foreign import ccall "wxBusyCursor_Create" wxBusyCursor_Create :: IO (Ptr (TBusyCursor ()))
+
+-- | usage: (@busyCursorCreateWithCursor cur@).
+busyCursorCreateWithCursor :: BusyCursor  a ->  IO (Ptr  ())
+busyCursorCreateWithCursor _cur 
+  = withObjectRef "busyCursorCreateWithCursor" _cur $ \cobj__cur -> 
+    wxBusyCursor_CreateWithCursor cobj__cur  
+foreign import ccall "wxBusyCursor_CreateWithCursor" wxBusyCursor_CreateWithCursor :: Ptr (TBusyCursor a) -> IO (Ptr  ())
+
+-- | usage: (@busyCursorDelete obj@).
+busyCursorDelete :: BusyCursor  a ->  IO ()
+busyCursorDelete _obj 
+  = withObjectRef "busyCursorDelete" _obj $ \cobj__obj -> 
+    wxBusyCursor_Delete cobj__obj  
+foreign import ccall "wxBusyCursor_Delete" wxBusyCursor_Delete :: Ptr (TBusyCursor a) -> IO ()
+
+-- | usage: (@busyInfoCreate txt@).
+busyInfoCreate :: String ->  IO (BusyInfo  ())
+busyInfoCreate _txt 
+  = withObjectResult $
+    withStringPtr _txt $ \cobj__txt -> 
+    wxBusyInfo_Create cobj__txt  
+foreign import ccall "wxBusyInfo_Create" wxBusyInfo_Create :: Ptr (TWxString a) -> IO (Ptr (TBusyInfo ()))
+
+-- | usage: (@busyInfoDelete obj@).
+busyInfoDelete :: BusyInfo  a ->  IO ()
+busyInfoDelete _obj 
+  = withObjectRef "busyInfoDelete" _obj $ \cobj__obj -> 
+    wxBusyInfo_Delete cobj__obj  
+foreign import ccall "wxBusyInfo_Delete" wxBusyInfo_Delete :: Ptr (TBusyInfo a) -> IO ()
+
+-- | usage: (@buttonCreate prt id txt lfttopwdthgt stl@).
+buttonCreate :: Window  a -> Id -> String -> Rect -> Style ->  IO (Button  ())
+buttonCreate _prt _id _txt _lfttopwdthgt _stl 
+  = withObjectResult $
+    withObjectPtr _prt $ \cobj__prt -> 
+    withStringPtr _txt $ \cobj__txt -> 
+    wxButton_Create cobj__prt  (toCInt _id)  cobj__txt  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  (toCInt _stl)  
+foreign import ccall "wxButton_Create" wxButton_Create :: Ptr (TWindow a) -> CInt -> Ptr (TWxString c) -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TButton ()))
+
+-- | usage: (@buttonSetBackgroundColour obj colour@).
+buttonSetBackgroundColour :: Button  a -> Color ->  IO Int
+buttonSetBackgroundColour _obj colour 
+  = withIntResult $
+    withObjectRef "buttonSetBackgroundColour" _obj $ \cobj__obj -> 
+    withColourPtr colour $ \cobj_colour -> 
+    wxButton_SetBackgroundColour cobj__obj  cobj_colour  
+foreign import ccall "wxButton_SetBackgroundColour" wxButton_SetBackgroundColour :: Ptr (TButton a) -> Ptr (TColour b) -> IO CInt
+
+-- | usage: (@buttonSetDefault obj@).
+buttonSetDefault :: Button  a ->  IO ()
+buttonSetDefault _obj 
+  = withObjectRef "buttonSetDefault" _obj $ \cobj__obj -> 
+    wxButton_SetDefault cobj__obj  
+foreign import ccall "wxButton_SetDefault" wxButton_SetDefault :: Ptr (TButton a) -> IO ()
+
+-- | usage: (@cFree ptr@).
+cFree :: Ptr  a ->  IO ()
+cFree _ptr 
+  = wx_wxCFree _ptr  
+foreign import ccall "wxCFree" wx_wxCFree :: Ptr  a -> IO ()
+
+-- | usage: (@calculateLayoutEventCreate id@).
+calculateLayoutEventCreate :: Id ->  IO (CalculateLayoutEvent  ())
+calculateLayoutEventCreate id 
+  = withObjectResult $
+    wxCalculateLayoutEvent_Create (toCInt id)  
+foreign import ccall "wxCalculateLayoutEvent_Create" wxCalculateLayoutEvent_Create :: CInt -> IO (Ptr (TCalculateLayoutEvent ()))
+
+-- | usage: (@calculateLayoutEventGetFlags obj@).
+calculateLayoutEventGetFlags :: CalculateLayoutEvent  a ->  IO Int
+calculateLayoutEventGetFlags _obj 
+  = withIntResult $
+    withObjectRef "calculateLayoutEventGetFlags" _obj $ \cobj__obj -> 
+    wxCalculateLayoutEvent_GetFlags cobj__obj  
+foreign import ccall "wxCalculateLayoutEvent_GetFlags" wxCalculateLayoutEvent_GetFlags :: Ptr (TCalculateLayoutEvent a) -> IO CInt
+
+-- | usage: (@calculateLayoutEventGetRect obj@).
+calculateLayoutEventGetRect :: CalculateLayoutEvent  a ->  IO (Rect)
+calculateLayoutEventGetRect _obj 
+  = withWxRectResult $
+    withObjectRef "calculateLayoutEventGetRect" _obj $ \cobj__obj -> 
+    wxCalculateLayoutEvent_GetRect cobj__obj  
+foreign import ccall "wxCalculateLayoutEvent_GetRect" wxCalculateLayoutEvent_GetRect :: Ptr (TCalculateLayoutEvent a) -> IO (Ptr (TWxRect ()))
+
+-- | usage: (@calculateLayoutEventSetFlags obj flags@).
+calculateLayoutEventSetFlags :: CalculateLayoutEvent  a -> Int ->  IO ()
+calculateLayoutEventSetFlags _obj flags 
+  = withObjectRef "calculateLayoutEventSetFlags" _obj $ \cobj__obj -> 
+    wxCalculateLayoutEvent_SetFlags cobj__obj  (toCInt flags)  
+foreign import ccall "wxCalculateLayoutEvent_SetFlags" wxCalculateLayoutEvent_SetFlags :: Ptr (TCalculateLayoutEvent a) -> CInt -> IO ()
+
+-- | usage: (@calculateLayoutEventSetRect obj xywh@).
+calculateLayoutEventSetRect :: CalculateLayoutEvent  a -> Rect ->  IO ()
+calculateLayoutEventSetRect _obj xywh 
+  = withObjectRef "calculateLayoutEventSetRect" _obj $ \cobj__obj -> 
+    wxCalculateLayoutEvent_SetRect cobj__obj  (toCIntRectX xywh) (toCIntRectY xywh)(toCIntRectW xywh) (toCIntRectH xywh)  
+foreign import ccall "wxCalculateLayoutEvent_SetRect" wxCalculateLayoutEvent_SetRect :: Ptr (TCalculateLayoutEvent a) -> CInt -> CInt -> CInt -> CInt -> IO ()
+
+-- | usage: (@calendarCtrlCreate prt id dat lfttopwdthgt stl@).
+calendarCtrlCreate :: Window  a -> Id -> DateTime  c -> Rect -> Style ->  IO (CalendarCtrl  ())
+calendarCtrlCreate _prt _id _dat _lfttopwdthgt _stl 
+  = withObjectResult $
+    withObjectPtr _prt $ \cobj__prt -> 
+    withObjectPtr _dat $ \cobj__dat -> 
+    wxCalendarCtrl_Create cobj__prt  (toCInt _id)  cobj__dat  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  (toCInt _stl)  
+foreign import ccall "wxCalendarCtrl_Create" wxCalendarCtrl_Create :: Ptr (TWindow a) -> CInt -> Ptr (TDateTime c) -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TCalendarCtrl ()))
+
+-- | usage: (@calendarCtrlEnableHolidayDisplay obj display@).
+calendarCtrlEnableHolidayDisplay :: CalendarCtrl  a -> Int ->  IO ()
+calendarCtrlEnableHolidayDisplay _obj display 
+  = withObjectRef "calendarCtrlEnableHolidayDisplay" _obj $ \cobj__obj -> 
+    wxCalendarCtrl_EnableHolidayDisplay cobj__obj  (toCInt display)  
+foreign import ccall "wxCalendarCtrl_EnableHolidayDisplay" wxCalendarCtrl_EnableHolidayDisplay :: Ptr (TCalendarCtrl a) -> CInt -> IO ()
+
+-- | usage: (@calendarCtrlEnableMonthChange obj enable@).
+calendarCtrlEnableMonthChange :: CalendarCtrl  a -> Bool ->  IO ()
+calendarCtrlEnableMonthChange _obj enable 
+  = withObjectRef "calendarCtrlEnableMonthChange" _obj $ \cobj__obj -> 
+    wxCalendarCtrl_EnableMonthChange cobj__obj  (toCBool enable)  
+foreign import ccall "wxCalendarCtrl_EnableMonthChange" wxCalendarCtrl_EnableMonthChange :: Ptr (TCalendarCtrl a) -> CBool -> IO ()
+
+-- | usage: (@calendarCtrlGetAttr obj day@).
+calendarCtrlGetAttr :: CalendarCtrl  a -> Int ->  IO (Ptr  ())
+calendarCtrlGetAttr _obj day 
+  = withObjectRef "calendarCtrlGetAttr" _obj $ \cobj__obj -> 
+    wxCalendarCtrl_GetAttr cobj__obj  (toCInt day)  
+foreign import ccall "wxCalendarCtrl_GetAttr" wxCalendarCtrl_GetAttr :: Ptr (TCalendarCtrl a) -> CInt -> IO (Ptr  ())
+
+-- | usage: (@calendarCtrlGetDate obj date@).
+calendarCtrlGetDate :: CalendarCtrl  a -> Ptr  b ->  IO ()
+calendarCtrlGetDate _obj date 
+  = withObjectRef "calendarCtrlGetDate" _obj $ \cobj__obj -> 
+    wxCalendarCtrl_GetDate cobj__obj  date  
+foreign import ccall "wxCalendarCtrl_GetDate" wxCalendarCtrl_GetDate :: Ptr (TCalendarCtrl a) -> Ptr  b -> IO ()
+
+-- | usage: (@calendarCtrlGetHeaderColourBg obj@).
+calendarCtrlGetHeaderColourBg :: CalendarCtrl  a ->  IO (Color)
+calendarCtrlGetHeaderColourBg _obj 
+  = withRefColour $ \pref -> 
+    withObjectRef "calendarCtrlGetHeaderColourBg" _obj $ \cobj__obj -> 
+    wxCalendarCtrl_GetHeaderColourBg cobj__obj   pref
+foreign import ccall "wxCalendarCtrl_GetHeaderColourBg" wxCalendarCtrl_GetHeaderColourBg :: Ptr (TCalendarCtrl a) -> Ptr (TColour ()) -> IO ()
+
+-- | usage: (@calendarCtrlGetHeaderColourFg obj@).
+calendarCtrlGetHeaderColourFg :: CalendarCtrl  a ->  IO (Color)
+calendarCtrlGetHeaderColourFg _obj 
+  = withRefColour $ \pref -> 
+    withObjectRef "calendarCtrlGetHeaderColourFg" _obj $ \cobj__obj -> 
+    wxCalendarCtrl_GetHeaderColourFg cobj__obj   pref
+foreign import ccall "wxCalendarCtrl_GetHeaderColourFg" wxCalendarCtrl_GetHeaderColourFg :: Ptr (TCalendarCtrl a) -> Ptr (TColour ()) -> IO ()
+
+-- | usage: (@calendarCtrlGetHighlightColourBg obj@).
+calendarCtrlGetHighlightColourBg :: CalendarCtrl  a ->  IO (Color)
+calendarCtrlGetHighlightColourBg _obj 
+  = withRefColour $ \pref -> 
+    withObjectRef "calendarCtrlGetHighlightColourBg" _obj $ \cobj__obj -> 
+    wxCalendarCtrl_GetHighlightColourBg cobj__obj   pref
+foreign import ccall "wxCalendarCtrl_GetHighlightColourBg" wxCalendarCtrl_GetHighlightColourBg :: Ptr (TCalendarCtrl a) -> Ptr (TColour ()) -> IO ()
+
+-- | usage: (@calendarCtrlGetHighlightColourFg obj@).
+calendarCtrlGetHighlightColourFg :: CalendarCtrl  a ->  IO (Color)
+calendarCtrlGetHighlightColourFg _obj 
+  = withRefColour $ \pref -> 
+    withObjectRef "calendarCtrlGetHighlightColourFg" _obj $ \cobj__obj -> 
+    wxCalendarCtrl_GetHighlightColourFg cobj__obj   pref
+foreign import ccall "wxCalendarCtrl_GetHighlightColourFg" wxCalendarCtrl_GetHighlightColourFg :: Ptr (TCalendarCtrl a) -> Ptr (TColour ()) -> IO ()
+
+-- | usage: (@calendarCtrlGetHolidayColourBg obj@).
+calendarCtrlGetHolidayColourBg :: CalendarCtrl  a ->  IO (Color)
+calendarCtrlGetHolidayColourBg _obj 
+  = withRefColour $ \pref -> 
+    withObjectRef "calendarCtrlGetHolidayColourBg" _obj $ \cobj__obj -> 
+    wxCalendarCtrl_GetHolidayColourBg cobj__obj   pref
+foreign import ccall "wxCalendarCtrl_GetHolidayColourBg" wxCalendarCtrl_GetHolidayColourBg :: Ptr (TCalendarCtrl a) -> Ptr (TColour ()) -> IO ()
+
+-- | usage: (@calendarCtrlGetHolidayColourFg obj@).
+calendarCtrlGetHolidayColourFg :: CalendarCtrl  a ->  IO (Color)
+calendarCtrlGetHolidayColourFg _obj 
+  = withRefColour $ \pref -> 
+    withObjectRef "calendarCtrlGetHolidayColourFg" _obj $ \cobj__obj -> 
+    wxCalendarCtrl_GetHolidayColourFg cobj__obj   pref
+foreign import ccall "wxCalendarCtrl_GetHolidayColourFg" wxCalendarCtrl_GetHolidayColourFg :: Ptr (TCalendarCtrl a) -> Ptr (TColour ()) -> IO ()
+
+-- | usage: (@calendarCtrlHitTest obj xy date wd@).
+calendarCtrlHitTest :: CalendarCtrl  a -> Point -> Ptr  c -> Ptr  d ->  IO Int
+calendarCtrlHitTest _obj xy date wd 
+  = withIntResult $
+    withObjectRef "calendarCtrlHitTest" _obj $ \cobj__obj -> 
+    wxCalendarCtrl_HitTest cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  date  wd  
+foreign import ccall "wxCalendarCtrl_HitTest" wxCalendarCtrl_HitTest :: Ptr (TCalendarCtrl a) -> CInt -> CInt -> Ptr  c -> Ptr  d -> IO CInt
+
+-- | usage: (@calendarCtrlResetAttr obj day@).
+calendarCtrlResetAttr :: CalendarCtrl  a -> Int ->  IO ()
+calendarCtrlResetAttr _obj day 
+  = withObjectRef "calendarCtrlResetAttr" _obj $ \cobj__obj -> 
+    wxCalendarCtrl_ResetAttr cobj__obj  (toCInt day)  
+foreign import ccall "wxCalendarCtrl_ResetAttr" wxCalendarCtrl_ResetAttr :: Ptr (TCalendarCtrl a) -> CInt -> IO ()
+
+-- | usage: (@calendarCtrlSetAttr obj day attr@).
+calendarCtrlSetAttr :: CalendarCtrl  a -> Int -> Ptr  c ->  IO ()
+calendarCtrlSetAttr _obj day attr 
+  = withObjectRef "calendarCtrlSetAttr" _obj $ \cobj__obj -> 
+    wxCalendarCtrl_SetAttr cobj__obj  (toCInt day)  attr  
+foreign import ccall "wxCalendarCtrl_SetAttr" wxCalendarCtrl_SetAttr :: Ptr (TCalendarCtrl a) -> CInt -> Ptr  c -> IO ()
+
+-- | usage: (@calendarCtrlSetDate obj date@).
+calendarCtrlSetDate :: CalendarCtrl  a -> Ptr  b ->  IO ()
+calendarCtrlSetDate _obj date 
+  = withObjectRef "calendarCtrlSetDate" _obj $ \cobj__obj -> 
+    wxCalendarCtrl_SetDate cobj__obj  date  
+foreign import ccall "wxCalendarCtrl_SetDate" wxCalendarCtrl_SetDate :: Ptr (TCalendarCtrl a) -> Ptr  b -> IO ()
+
+-- | usage: (@calendarCtrlSetHeaderColours obj colFg colBg@).
+calendarCtrlSetHeaderColours :: CalendarCtrl  a -> Ptr  b -> Ptr  c ->  IO ()
+calendarCtrlSetHeaderColours _obj colFg colBg 
+  = withObjectRef "calendarCtrlSetHeaderColours" _obj $ \cobj__obj -> 
+    wxCalendarCtrl_SetHeaderColours cobj__obj  colFg  colBg  
+foreign import ccall "wxCalendarCtrl_SetHeaderColours" wxCalendarCtrl_SetHeaderColours :: Ptr (TCalendarCtrl a) -> Ptr  b -> Ptr  c -> IO ()
+
+-- | usage: (@calendarCtrlSetHighlightColours obj colFg colBg@).
+calendarCtrlSetHighlightColours :: CalendarCtrl  a -> Ptr  b -> Ptr  c ->  IO ()
+calendarCtrlSetHighlightColours _obj colFg colBg 
+  = withObjectRef "calendarCtrlSetHighlightColours" _obj $ \cobj__obj -> 
+    wxCalendarCtrl_SetHighlightColours cobj__obj  colFg  colBg  
+foreign import ccall "wxCalendarCtrl_SetHighlightColours" wxCalendarCtrl_SetHighlightColours :: Ptr (TCalendarCtrl a) -> Ptr  b -> Ptr  c -> IO ()
+
+-- | usage: (@calendarCtrlSetHoliday obj day@).
+calendarCtrlSetHoliday :: CalendarCtrl  a -> Int ->  IO ()
+calendarCtrlSetHoliday _obj day 
+  = withObjectRef "calendarCtrlSetHoliday" _obj $ \cobj__obj -> 
+    wxCalendarCtrl_SetHoliday cobj__obj  (toCInt day)  
+foreign import ccall "wxCalendarCtrl_SetHoliday" wxCalendarCtrl_SetHoliday :: Ptr (TCalendarCtrl a) -> CInt -> IO ()
+
+-- | usage: (@calendarCtrlSetHolidayColours obj colFg colBg@).
+calendarCtrlSetHolidayColours :: CalendarCtrl  a -> Ptr  b -> Ptr  c ->  IO ()
+calendarCtrlSetHolidayColours _obj colFg colBg 
+  = withObjectRef "calendarCtrlSetHolidayColours" _obj $ \cobj__obj -> 
+    wxCalendarCtrl_SetHolidayColours cobj__obj  colFg  colBg  
+foreign import ccall "wxCalendarCtrl_SetHolidayColours" wxCalendarCtrl_SetHolidayColours :: Ptr (TCalendarCtrl a) -> Ptr  b -> Ptr  c -> IO ()
+
+-- | usage: (@calendarDateAttrCreate ctxt cbck cbrd fnt brd@).
+calendarDateAttrCreate :: Ptr  a -> Ptr  b -> Ptr  c -> Ptr  d -> Int ->  IO (CalendarDateAttr  ())
+calendarDateAttrCreate _ctxt _cbck _cbrd _fnt _brd 
+  = withObjectResult $
+    wxCalendarDateAttr_Create _ctxt  _cbck  _cbrd  _fnt  (toCInt _brd)  
+foreign import ccall "wxCalendarDateAttr_Create" wxCalendarDateAttr_Create :: Ptr  a -> Ptr  b -> Ptr  c -> Ptr  d -> CInt -> IO (Ptr (TCalendarDateAttr ()))
+
+-- | usage: (@calendarDateAttrCreateDefault@).
+calendarDateAttrCreateDefault ::  IO (CalendarDateAttr  ())
+calendarDateAttrCreateDefault 
+  = withObjectResult $
+    wxCalendarDateAttr_CreateDefault 
+foreign import ccall "wxCalendarDateAttr_CreateDefault" wxCalendarDateAttr_CreateDefault :: IO (Ptr (TCalendarDateAttr ()))
+
+-- | usage: (@calendarDateAttrDelete obj@).
+calendarDateAttrDelete :: CalendarDateAttr  a ->  IO ()
+calendarDateAttrDelete _obj 
+  = withObjectRef "calendarDateAttrDelete" _obj $ \cobj__obj -> 
+    wxCalendarDateAttr_Delete cobj__obj  
+foreign import ccall "wxCalendarDateAttr_Delete" wxCalendarDateAttr_Delete :: Ptr (TCalendarDateAttr a) -> IO ()
+
+-- | usage: (@calendarDateAttrGetBackgroundColour obj@).
+calendarDateAttrGetBackgroundColour :: CalendarDateAttr  a ->  IO (Color)
+calendarDateAttrGetBackgroundColour _obj 
+  = withRefColour $ \pref -> 
+    withObjectRef "calendarDateAttrGetBackgroundColour" _obj $ \cobj__obj -> 
+    wxCalendarDateAttr_GetBackgroundColour cobj__obj   pref
+foreign import ccall "wxCalendarDateAttr_GetBackgroundColour" wxCalendarDateAttr_GetBackgroundColour :: Ptr (TCalendarDateAttr a) -> Ptr (TColour ()) -> IO ()
+
+-- | usage: (@calendarDateAttrGetBorder obj@).
+calendarDateAttrGetBorder :: CalendarDateAttr  a ->  IO Int
+calendarDateAttrGetBorder _obj 
+  = withIntResult $
+    withObjectRef "calendarDateAttrGetBorder" _obj $ \cobj__obj -> 
+    wxCalendarDateAttr_GetBorder cobj__obj  
+foreign import ccall "wxCalendarDateAttr_GetBorder" wxCalendarDateAttr_GetBorder :: Ptr (TCalendarDateAttr a) -> IO CInt
+
+-- | usage: (@calendarDateAttrGetBorderColour obj@).
+calendarDateAttrGetBorderColour :: CalendarDateAttr  a ->  IO (Color)
+calendarDateAttrGetBorderColour _obj 
+  = withRefColour $ \pref -> 
+    withObjectRef "calendarDateAttrGetBorderColour" _obj $ \cobj__obj -> 
+    wxCalendarDateAttr_GetBorderColour cobj__obj   pref
+foreign import ccall "wxCalendarDateAttr_GetBorderColour" wxCalendarDateAttr_GetBorderColour :: Ptr (TCalendarDateAttr a) -> Ptr (TColour ()) -> IO ()
+
+-- | usage: (@calendarDateAttrGetFont obj@).
+calendarDateAttrGetFont :: CalendarDateAttr  a ->  IO (Font  ())
+calendarDateAttrGetFont _obj 
+  = withRefFont $ \pref -> 
+    withObjectRef "calendarDateAttrGetFont" _obj $ \cobj__obj -> 
+    wxCalendarDateAttr_GetFont cobj__obj   pref
+foreign import ccall "wxCalendarDateAttr_GetFont" wxCalendarDateAttr_GetFont :: Ptr (TCalendarDateAttr a) -> Ptr (TFont ()) -> IO ()
+
+-- | usage: (@calendarDateAttrGetTextColour obj@).
+calendarDateAttrGetTextColour :: CalendarDateAttr  a ->  IO (Color)
+calendarDateAttrGetTextColour _obj 
+  = withRefColour $ \pref -> 
+    withObjectRef "calendarDateAttrGetTextColour" _obj $ \cobj__obj -> 
+    wxCalendarDateAttr_GetTextColour cobj__obj   pref
+foreign import ccall "wxCalendarDateAttr_GetTextColour" wxCalendarDateAttr_GetTextColour :: Ptr (TCalendarDateAttr a) -> Ptr (TColour ()) -> IO ()
+
+-- | usage: (@calendarDateAttrHasBackgroundColour obj@).
+calendarDateAttrHasBackgroundColour :: CalendarDateAttr  a ->  IO Bool
+calendarDateAttrHasBackgroundColour _obj 
+  = withBoolResult $
+    withObjectRef "calendarDateAttrHasBackgroundColour" _obj $ \cobj__obj -> 
+    wxCalendarDateAttr_HasBackgroundColour cobj__obj  
+foreign import ccall "wxCalendarDateAttr_HasBackgroundColour" wxCalendarDateAttr_HasBackgroundColour :: Ptr (TCalendarDateAttr a) -> IO CBool
+
+-- | usage: (@calendarDateAttrHasBorder obj@).
+calendarDateAttrHasBorder :: CalendarDateAttr  a ->  IO Bool
+calendarDateAttrHasBorder _obj 
+  = withBoolResult $
+    withObjectRef "calendarDateAttrHasBorder" _obj $ \cobj__obj -> 
+    wxCalendarDateAttr_HasBorder cobj__obj  
+foreign import ccall "wxCalendarDateAttr_HasBorder" wxCalendarDateAttr_HasBorder :: Ptr (TCalendarDateAttr a) -> IO CBool
+
+-- | usage: (@calendarDateAttrHasBorderColour obj@).
+calendarDateAttrHasBorderColour :: CalendarDateAttr  a ->  IO Bool
+calendarDateAttrHasBorderColour _obj 
+  = withBoolResult $
+    withObjectRef "calendarDateAttrHasBorderColour" _obj $ \cobj__obj -> 
+    wxCalendarDateAttr_HasBorderColour cobj__obj  
+foreign import ccall "wxCalendarDateAttr_HasBorderColour" wxCalendarDateAttr_HasBorderColour :: Ptr (TCalendarDateAttr a) -> IO CBool
+
+-- | usage: (@calendarDateAttrHasFont obj@).
+calendarDateAttrHasFont :: CalendarDateAttr  a ->  IO Bool
+calendarDateAttrHasFont _obj 
+  = withBoolResult $
+    withObjectRef "calendarDateAttrHasFont" _obj $ \cobj__obj -> 
+    wxCalendarDateAttr_HasFont cobj__obj  
+foreign import ccall "wxCalendarDateAttr_HasFont" wxCalendarDateAttr_HasFont :: Ptr (TCalendarDateAttr a) -> IO CBool
+
+-- | usage: (@calendarDateAttrHasTextColour obj@).
+calendarDateAttrHasTextColour :: CalendarDateAttr  a ->  IO Bool
+calendarDateAttrHasTextColour _obj 
+  = withBoolResult $
+    withObjectRef "calendarDateAttrHasTextColour" _obj $ \cobj__obj -> 
+    wxCalendarDateAttr_HasTextColour cobj__obj  
+foreign import ccall "wxCalendarDateAttr_HasTextColour" wxCalendarDateAttr_HasTextColour :: Ptr (TCalendarDateAttr a) -> IO CBool
+
+-- | usage: (@calendarDateAttrIsHoliday obj@).
+calendarDateAttrIsHoliday :: CalendarDateAttr  a ->  IO Bool
+calendarDateAttrIsHoliday _obj 
+  = withBoolResult $
+    withObjectRef "calendarDateAttrIsHoliday" _obj $ \cobj__obj -> 
+    wxCalendarDateAttr_IsHoliday cobj__obj  
+foreign import ccall "wxCalendarDateAttr_IsHoliday" wxCalendarDateAttr_IsHoliday :: Ptr (TCalendarDateAttr a) -> IO CBool
+
+-- | usage: (@calendarDateAttrSetBackgroundColour obj col@).
+calendarDateAttrSetBackgroundColour :: CalendarDateAttr  a -> Color ->  IO ()
+calendarDateAttrSetBackgroundColour _obj col 
+  = withObjectRef "calendarDateAttrSetBackgroundColour" _obj $ \cobj__obj -> 
+    withColourPtr col $ \cobj_col -> 
+    wxCalendarDateAttr_SetBackgroundColour cobj__obj  cobj_col  
+foreign import ccall "wxCalendarDateAttr_SetBackgroundColour" wxCalendarDateAttr_SetBackgroundColour :: Ptr (TCalendarDateAttr a) -> Ptr (TColour b) -> IO ()
+
+-- | usage: (@calendarDateAttrSetBorder obj border@).
+calendarDateAttrSetBorder :: CalendarDateAttr  a -> Int ->  IO ()
+calendarDateAttrSetBorder _obj border 
+  = withObjectRef "calendarDateAttrSetBorder" _obj $ \cobj__obj -> 
+    wxCalendarDateAttr_SetBorder cobj__obj  (toCInt border)  
+foreign import ccall "wxCalendarDateAttr_SetBorder" wxCalendarDateAttr_SetBorder :: Ptr (TCalendarDateAttr a) -> CInt -> IO ()
+
+-- | usage: (@calendarDateAttrSetBorderColour obj col@).
+calendarDateAttrSetBorderColour :: CalendarDateAttr  a -> Color ->  IO ()
+calendarDateAttrSetBorderColour _obj col 
+  = withObjectRef "calendarDateAttrSetBorderColour" _obj $ \cobj__obj -> 
+    withColourPtr col $ \cobj_col -> 
+    wxCalendarDateAttr_SetBorderColour cobj__obj  cobj_col  
+foreign import ccall "wxCalendarDateAttr_SetBorderColour" wxCalendarDateAttr_SetBorderColour :: Ptr (TCalendarDateAttr a) -> Ptr (TColour b) -> IO ()
+
+-- | usage: (@calendarDateAttrSetFont obj font@).
+calendarDateAttrSetFont :: CalendarDateAttr  a -> Font  b ->  IO ()
+calendarDateAttrSetFont _obj font 
+  = withObjectRef "calendarDateAttrSetFont" _obj $ \cobj__obj -> 
+    withObjectPtr font $ \cobj_font -> 
+    wxCalendarDateAttr_SetFont cobj__obj  cobj_font  
+foreign import ccall "wxCalendarDateAttr_SetFont" wxCalendarDateAttr_SetFont :: Ptr (TCalendarDateAttr a) -> Ptr (TFont b) -> IO ()
+
+-- | usage: (@calendarDateAttrSetHoliday obj holiday@).
+calendarDateAttrSetHoliday :: CalendarDateAttr  a -> Int ->  IO ()
+calendarDateAttrSetHoliday _obj holiday 
+  = withObjectRef "calendarDateAttrSetHoliday" _obj $ \cobj__obj -> 
+    wxCalendarDateAttr_SetHoliday cobj__obj  (toCInt holiday)  
+foreign import ccall "wxCalendarDateAttr_SetHoliday" wxCalendarDateAttr_SetHoliday :: Ptr (TCalendarDateAttr a) -> CInt -> IO ()
+
+-- | usage: (@calendarDateAttrSetTextColour obj col@).
+calendarDateAttrSetTextColour :: CalendarDateAttr  a -> Color ->  IO ()
+calendarDateAttrSetTextColour _obj col 
+  = withObjectRef "calendarDateAttrSetTextColour" _obj $ \cobj__obj -> 
+    withColourPtr col $ \cobj_col -> 
+    wxCalendarDateAttr_SetTextColour cobj__obj  cobj_col  
+foreign import ccall "wxCalendarDateAttr_SetTextColour" wxCalendarDateAttr_SetTextColour :: Ptr (TCalendarDateAttr a) -> Ptr (TColour b) -> IO ()
+
+-- | usage: (@calendarEventGetDate obj dte@).
+calendarEventGetDate :: CalendarEvent  a -> Ptr  b ->  IO ()
+calendarEventGetDate _obj _dte 
+  = withObjectRef "calendarEventGetDate" _obj $ \cobj__obj -> 
+    wxCalendarEvent_GetDate cobj__obj  _dte  
+foreign import ccall "wxCalendarEvent_GetDate" wxCalendarEvent_GetDate :: Ptr (TCalendarEvent a) -> Ptr  b -> IO ()
+
+-- | usage: (@calendarEventGetWeekDay obj@).
+calendarEventGetWeekDay :: CalendarEvent  a ->  IO Int
+calendarEventGetWeekDay _obj 
+  = withIntResult $
+    withObjectRef "calendarEventGetWeekDay" _obj $ \cobj__obj -> 
+    wxCalendarEvent_GetWeekDay cobj__obj  
+foreign import ccall "wxCalendarEvent_GetWeekDay" wxCalendarEvent_GetWeekDay :: Ptr (TCalendarEvent a) -> IO CInt
+
+-- | usage: (@caretCreate wnd wth hgt@).
+caretCreate :: Window  a -> Int -> Int ->  IO (Caret  ())
+caretCreate _wnd _wth _hgt 
+  = withObjectResult $
+    withObjectPtr _wnd $ \cobj__wnd -> 
+    wxCaret_Create cobj__wnd  (toCInt _wth)  (toCInt _hgt)  
+foreign import ccall "wxCaret_Create" wxCaret_Create :: Ptr (TWindow a) -> CInt -> CInt -> IO (Ptr (TCaret ()))
+
+-- | usage: (@caretGetBlinkTime@).
+caretGetBlinkTime ::  IO Int
+caretGetBlinkTime 
+  = withIntResult $
+    wxCaret_GetBlinkTime 
+foreign import ccall "wxCaret_GetBlinkTime" wxCaret_GetBlinkTime :: IO CInt
+
+-- | usage: (@caretGetPosition obj@).
+caretGetPosition :: Caret  a ->  IO (Point)
+caretGetPosition _obj 
+  = withWxPointResult $
+    withObjectRef "caretGetPosition" _obj $ \cobj__obj -> 
+    wxCaret_GetPosition cobj__obj  
+foreign import ccall "wxCaret_GetPosition" wxCaret_GetPosition :: Ptr (TCaret a) -> IO (Ptr (TWxPoint ()))
+
+-- | usage: (@caretGetSize obj@).
+caretGetSize :: Caret  a ->  IO (Size)
+caretGetSize _obj 
+  = withWxSizeResult $
+    withObjectRef "caretGetSize" _obj $ \cobj__obj -> 
+    wxCaret_GetSize cobj__obj  
+foreign import ccall "wxCaret_GetSize" wxCaret_GetSize :: Ptr (TCaret a) -> IO (Ptr (TWxSize ()))
+
+-- | usage: (@caretGetWindow obj@).
+caretGetWindow :: Caret  a ->  IO (Window  ())
+caretGetWindow _obj 
+  = withObjectResult $
+    withObjectRef "caretGetWindow" _obj $ \cobj__obj -> 
+    wxCaret_GetWindow cobj__obj  
+foreign import ccall "wxCaret_GetWindow" wxCaret_GetWindow :: Ptr (TCaret a) -> IO (Ptr (TWindow ()))
+
+-- | usage: (@caretHide obj@).
+caretHide :: Caret  a ->  IO ()
+caretHide _obj 
+  = withObjectRef "caretHide" _obj $ \cobj__obj -> 
+    wxCaret_Hide cobj__obj  
+foreign import ccall "wxCaret_Hide" wxCaret_Hide :: Ptr (TCaret a) -> IO ()
+
+-- | usage: (@caretIsOk obj@).
+caretIsOk :: Caret  a ->  IO Bool
+caretIsOk _obj 
+  = withBoolResult $
+    withObjectRef "caretIsOk" _obj $ \cobj__obj -> 
+    wxCaret_IsOk cobj__obj  
+foreign import ccall "wxCaret_IsOk" wxCaret_IsOk :: Ptr (TCaret a) -> IO CBool
+
+-- | usage: (@caretIsVisible obj@).
+caretIsVisible :: Caret  a ->  IO Bool
+caretIsVisible _obj 
+  = withBoolResult $
+    withObjectRef "caretIsVisible" _obj $ \cobj__obj -> 
+    wxCaret_IsVisible cobj__obj  
+foreign import ccall "wxCaret_IsVisible" wxCaret_IsVisible :: Ptr (TCaret a) -> IO CBool
+
+-- | usage: (@caretMove obj xy@).
+caretMove :: Caret  a -> Point ->  IO ()
+caretMove _obj xy 
+  = withObjectRef "caretMove" _obj $ \cobj__obj -> 
+    wxCaret_Move cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  
+foreign import ccall "wxCaret_Move" wxCaret_Move :: Ptr (TCaret a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@caretSetBlinkTime milliseconds@).
+caretSetBlinkTime :: Int ->  IO ()
+caretSetBlinkTime milliseconds 
+  = wxCaret_SetBlinkTime (toCInt milliseconds)  
+foreign import ccall "wxCaret_SetBlinkTime" wxCaret_SetBlinkTime :: CInt -> IO ()
+
+-- | usage: (@caretSetSize obj widthheight@).
+caretSetSize :: Caret  a -> Size ->  IO ()
+caretSetSize _obj widthheight 
+  = withObjectRef "caretSetSize" _obj $ \cobj__obj -> 
+    wxCaret_SetSize cobj__obj  (toCIntSizeW widthheight) (toCIntSizeH widthheight)  
+foreign import ccall "wxCaret_SetSize" wxCaret_SetSize :: Ptr (TCaret a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@caretShow obj@).
+caretShow :: Caret  a ->  IO ()
+caretShow _obj 
+  = withObjectRef "caretShow" _obj $ \cobj__obj -> 
+    wxCaret_Show cobj__obj  
+foreign import ccall "wxCaret_Show" wxCaret_Show :: Ptr (TCaret a) -> IO ()
+
+-- | usage: (@checkBoxCreate prt id txt lfttopwdthgt stl@).
+checkBoxCreate :: Window  a -> Id -> String -> Rect -> Style ->  IO (CheckBox  ())
+checkBoxCreate _prt _id _txt _lfttopwdthgt _stl 
+  = withObjectResult $
+    withObjectPtr _prt $ \cobj__prt -> 
+    withStringPtr _txt $ \cobj__txt -> 
+    wxCheckBox_Create cobj__prt  (toCInt _id)  cobj__txt  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  (toCInt _stl)  
+foreign import ccall "wxCheckBox_Create" wxCheckBox_Create :: Ptr (TWindow a) -> CInt -> Ptr (TWxString c) -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TCheckBox ()))
+
+-- | usage: (@checkBoxDelete obj@).
+checkBoxDelete :: CheckBox  a ->  IO ()
+checkBoxDelete
+  = objectDelete
+
+
+-- | usage: (@checkBoxGetValue obj@).
+checkBoxGetValue :: CheckBox  a ->  IO Bool
+checkBoxGetValue _obj 
+  = withBoolResult $
+    withObjectRef "checkBoxGetValue" _obj $ \cobj__obj -> 
+    wxCheckBox_GetValue cobj__obj  
+foreign import ccall "wxCheckBox_GetValue" wxCheckBox_GetValue :: Ptr (TCheckBox a) -> IO CBool
+
+-- | usage: (@checkBoxSetValue obj value@).
+checkBoxSetValue :: CheckBox  a -> Bool ->  IO ()
+checkBoxSetValue _obj value 
+  = withObjectRef "checkBoxSetValue" _obj $ \cobj__obj -> 
+    wxCheckBox_SetValue cobj__obj  (toCBool value)  
+foreign import ccall "wxCheckBox_SetValue" wxCheckBox_SetValue :: Ptr (TCheckBox a) -> CBool -> IO ()
+
+-- | usage: (@checkListBoxCheck obj item check@).
+checkListBoxCheck :: CheckListBox  a -> Int -> Bool ->  IO ()
+checkListBoxCheck _obj item check 
+  = withObjectRef "checkListBoxCheck" _obj $ \cobj__obj -> 
+    wxCheckListBox_Check cobj__obj  (toCInt item)  (toCBool check)  
+foreign import ccall "wxCheckListBox_Check" wxCheckListBox_Check :: Ptr (TCheckListBox a) -> CInt -> CBool -> IO ()
+
+-- | usage: (@checkListBoxCreate prt id lfttopwdthgt nstr stl@).
+checkListBoxCreate :: Window  a -> Id -> Rect -> [String] -> Style ->  IO (CheckListBox  ())
+checkListBoxCreate _prt _id _lfttopwdthgt nstr _stl 
+  = withObjectResult $
+    withObjectPtr _prt $ \cobj__prt -> 
+    withArrayWString nstr $ \carrlen_nstr carr_nstr -> 
+    wxCheckListBox_Create cobj__prt  (toCInt _id)  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  carrlen_nstr carr_nstr  (toCInt _stl)  
+foreign import ccall "wxCheckListBox_Create" wxCheckListBox_Create :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> Ptr (Ptr CWchar) -> CInt -> IO (Ptr (TCheckListBox ()))
+
+-- | usage: (@checkListBoxDelete obj@).
+checkListBoxDelete :: CheckListBox  a ->  IO ()
+checkListBoxDelete
+  = objectDelete
+
+
+-- | usage: (@checkListBoxIsChecked obj item@).
+checkListBoxIsChecked :: CheckListBox  a -> Int ->  IO Bool
+checkListBoxIsChecked _obj item 
+  = withBoolResult $
+    withObjectRef "checkListBoxIsChecked" _obj $ \cobj__obj -> 
+    wxCheckListBox_IsChecked cobj__obj  (toCInt item)  
+foreign import ccall "wxCheckListBox_IsChecked" wxCheckListBox_IsChecked :: Ptr (TCheckListBox a) -> CInt -> IO CBool
+
+-- | usage: (@choiceAppend obj item@).
+choiceAppend :: Choice  a -> String ->  IO ()
+choiceAppend _obj item 
+  = withObjectRef "choiceAppend" _obj $ \cobj__obj -> 
+    withStringPtr item $ \cobj_item -> 
+    wxChoice_Append cobj__obj  cobj_item  
+foreign import ccall "wxChoice_Append" wxChoice_Append :: Ptr (TChoice a) -> Ptr (TWxString b) -> IO ()
+
+-- | usage: (@choiceClear obj@).
+choiceClear :: Choice  a ->  IO ()
+choiceClear _obj 
+  = withObjectRef "choiceClear" _obj $ \cobj__obj -> 
+    wxChoice_Clear cobj__obj  
+foreign import ccall "wxChoice_Clear" wxChoice_Clear :: Ptr (TChoice a) -> IO ()
+
+-- | usage: (@choiceCreate prt id lfttopwdthgt nstr stl@).
+choiceCreate :: Window  a -> Id -> Rect -> [String] -> Style ->  IO (Choice  ())
+choiceCreate _prt _id _lfttopwdthgt nstr _stl 
+  = withObjectResult $
+    withObjectPtr _prt $ \cobj__prt -> 
+    withArrayWString nstr $ \carrlen_nstr carr_nstr -> 
+    wxChoice_Create cobj__prt  (toCInt _id)  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  carrlen_nstr carr_nstr  (toCInt _stl)  
+foreign import ccall "wxChoice_Create" wxChoice_Create :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> Ptr (Ptr CWchar) -> CInt -> IO (Ptr (TChoice ()))
+
+-- | usage: (@choiceDelete obj n@).
+choiceDelete :: Choice  a -> Int ->  IO ()
+choiceDelete _obj n 
+  = withObjectRef "choiceDelete" _obj $ \cobj__obj -> 
+    wxChoice_Delete cobj__obj  (toCInt n)  
+foreign import ccall "wxChoice_Delete" wxChoice_Delete :: Ptr (TChoice a) -> CInt -> IO ()
+
+-- | usage: (@choiceFindString obj s@).
+choiceFindString :: Choice  a -> String ->  IO Int
+choiceFindString _obj s 
+  = withIntResult $
+    withObjectRef "choiceFindString" _obj $ \cobj__obj -> 
+    withStringPtr s $ \cobj_s -> 
+    wxChoice_FindString cobj__obj  cobj_s  
+foreign import ccall "wxChoice_FindString" wxChoice_FindString :: Ptr (TChoice a) -> Ptr (TWxString b) -> IO CInt
+
+-- | usage: (@choiceGetCount obj@).
+choiceGetCount :: Choice  a ->  IO Int
+choiceGetCount _obj 
+  = withIntResult $
+    withObjectRef "choiceGetCount" _obj $ \cobj__obj -> 
+    wxChoice_GetCount cobj__obj  
+foreign import ccall "wxChoice_GetCount" wxChoice_GetCount :: Ptr (TChoice a) -> IO CInt
+
+-- | usage: (@choiceGetSelection obj@).
+choiceGetSelection :: Choice  a ->  IO Int
+choiceGetSelection _obj 
+  = withIntResult $
+    withObjectRef "choiceGetSelection" _obj $ \cobj__obj -> 
+    wxChoice_GetSelection cobj__obj  
+foreign import ccall "wxChoice_GetSelection" wxChoice_GetSelection :: Ptr (TChoice a) -> IO CInt
+
+-- | usage: (@choiceGetString obj n@).
+choiceGetString :: Choice  a -> Int ->  IO (String)
+choiceGetString _obj n 
+  = withManagedStringResult $
+    withObjectRef "choiceGetString" _obj $ \cobj__obj -> 
+    wxChoice_GetString cobj__obj  (toCInt n)  
+foreign import ccall "wxChoice_GetString" wxChoice_GetString :: Ptr (TChoice a) -> CInt -> IO (Ptr (TWxString ()))
+
+-- | usage: (@choiceSetSelection obj n@).
+choiceSetSelection :: Choice  a -> Int ->  IO ()
+choiceSetSelection _obj n 
+  = withObjectRef "choiceSetSelection" _obj $ \cobj__obj -> 
+    wxChoice_SetSelection cobj__obj  (toCInt n)  
+foreign import ccall "wxChoice_SetSelection" wxChoice_SetSelection :: Ptr (TChoice a) -> CInt -> IO ()
+
+-- | usage: (@choiceSetString obj n s@).
+choiceSetString :: Choice  a -> Int -> String ->  IO ()
+choiceSetString _obj n s 
+  = withObjectRef "choiceSetString" _obj $ \cobj__obj -> 
+    withStringPtr s $ \cobj_s -> 
+    wxChoice_SetString cobj__obj  (toCInt n)  cobj_s  
+foreign import ccall "wxChoice_SetString" wxChoice_SetString :: Ptr (TChoice a) -> CInt -> Ptr (TWxString c) -> IO ()
+
+-- | usage: (@classInfoCreateClassByName inf@).
+classInfoCreateClassByName :: ClassInfo  a ->  IO (Ptr  ())
+classInfoCreateClassByName _inf 
+  = withObjectRef "classInfoCreateClassByName" _inf $ \cobj__inf -> 
+    wxClassInfo_CreateClassByName cobj__inf  
+foreign import ccall "wxClassInfo_CreateClassByName" wxClassInfo_CreateClassByName :: Ptr (TClassInfo a) -> IO (Ptr  ())
+
+-- | usage: (@classInfoFindClass txt@).
+classInfoFindClass :: String ->  IO (ClassInfo  ())
+classInfoFindClass _txt 
+  = withObjectResult $
+    withStringPtr _txt $ \cobj__txt -> 
+    wxClassInfo_FindClass cobj__txt  
+foreign import ccall "wxClassInfo_FindClass" wxClassInfo_FindClass :: Ptr (TWxString a) -> IO (Ptr (TClassInfo ()))
+
+-- | usage: (@classInfoGetBaseClassName1 obj@).
+classInfoGetBaseClassName1 :: ClassInfo  a ->  IO (String)
+classInfoGetBaseClassName1 _obj 
+  = withManagedStringResult $
+    withObjectRef "classInfoGetBaseClassName1" _obj $ \cobj__obj -> 
+    wxClassInfo_GetBaseClassName1 cobj__obj  
+foreign import ccall "wxClassInfo_GetBaseClassName1" wxClassInfo_GetBaseClassName1 :: Ptr (TClassInfo a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@classInfoGetBaseClassName2 obj@).
+classInfoGetBaseClassName2 :: ClassInfo  a ->  IO (String)
+classInfoGetBaseClassName2 _obj 
+  = withManagedStringResult $
+    withObjectRef "classInfoGetBaseClassName2" _obj $ \cobj__obj -> 
+    wxClassInfo_GetBaseClassName2 cobj__obj  
+foreign import ccall "wxClassInfo_GetBaseClassName2" wxClassInfo_GetBaseClassName2 :: Ptr (TClassInfo a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@classInfoGetClassName inf@).
+classInfoGetClassName :: ClassInfo  a ->  IO (Ptr  ())
+classInfoGetClassName _inf 
+  = withObjectRef "classInfoGetClassName" _inf $ \cobj__inf -> 
+    wxClassInfo_GetClassName cobj__inf  
+foreign import ccall "wxClassInfo_GetClassName" wxClassInfo_GetClassName :: Ptr (TClassInfo a) -> IO (Ptr  ())
+
+-- | usage: (@classInfoGetClassNameEx obj@).
+classInfoGetClassNameEx :: ClassInfo  a ->  IO (String)
+classInfoGetClassNameEx _obj 
+  = withManagedStringResult $
+    withObjectRef "classInfoGetClassNameEx" _obj $ \cobj__obj -> 
+    wxClassInfo_GetClassNameEx cobj__obj  
+foreign import ccall "wxClassInfo_GetClassNameEx" wxClassInfo_GetClassNameEx :: Ptr (TClassInfo a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@classInfoGetSize obj@).
+classInfoGetSize :: ClassInfo  a ->  IO Int
+classInfoGetSize _obj 
+  = withIntResult $
+    withObjectRef "classInfoGetSize" _obj $ \cobj__obj -> 
+    wxClassInfo_GetSize cobj__obj  
+foreign import ccall "wxClassInfo_GetSize" wxClassInfo_GetSize :: Ptr (TClassInfo a) -> IO CInt
+
+-- | usage: (@classInfoIsKindOf obj name@).
+classInfoIsKindOf :: ClassInfo  a -> String ->  IO Bool
+classInfoIsKindOf _obj _name 
+  = withBoolResult $
+    withObjectRef "classInfoIsKindOf" _obj $ \cobj__obj -> 
+    withStringPtr _name $ \cobj__name -> 
+    wxClassInfo_IsKindOf cobj__obj  cobj__name  
+foreign import ccall "wxClassInfo_IsKindOf" wxClassInfo_IsKindOf :: Ptr (TClassInfo a) -> Ptr (TWxString b) -> IO CBool
+
+-- | usage: (@classInfoIsKindOfEx obj classInfo@).
+classInfoIsKindOfEx :: ClassInfo  a -> ClassInfo  b ->  IO Bool
+classInfoIsKindOfEx _obj classInfo 
+  = withBoolResult $
+    withObjectRef "classInfoIsKindOfEx" _obj $ \cobj__obj -> 
+    withObjectPtr classInfo $ \cobj_classInfo -> 
+    wxClassInfo_IsKindOfEx cobj__obj  cobj_classInfo  
+foreign import ccall "wxClassInfo_IsKindOfEx" wxClassInfo_IsKindOfEx :: Ptr (TClassInfo a) -> Ptr (TClassInfo b) -> IO CBool
+
+-- | usage: (@clientDCCreate win@).
+clientDCCreate :: Window  a ->  IO (ClientDC  ())
+clientDCCreate win 
+  = withObjectResult $
+    withObjectPtr win $ \cobj_win -> 
+    wxClientDC_Create cobj_win  
+foreign import ccall "wxClientDC_Create" wxClientDC_Create :: Ptr (TWindow a) -> IO (Ptr (TClientDC ()))
+
+-- | usage: (@clientDCDelete obj@).
+clientDCDelete :: ClientDC  a ->  IO ()
+clientDCDelete
+  = objectDelete
+
+
+-- | usage: (@clipboardAddData obj wxdata@).
+clipboardAddData :: Clipboard  a -> DataObject  b ->  IO Bool
+clipboardAddData _obj wxdata 
+  = withBoolResult $
+    withObjectRef "clipboardAddData" _obj $ \cobj__obj -> 
+    withObjectPtr wxdata $ \cobj_wxdata -> 
+    wxClipboard_AddData cobj__obj  cobj_wxdata  
+foreign import ccall "wxClipboard_AddData" wxClipboard_AddData :: Ptr (TClipboard a) -> Ptr (TDataObject b) -> IO CBool
+
+-- | usage: (@clipboardClear obj@).
+clipboardClear :: Clipboard  a ->  IO ()
+clipboardClear _obj 
+  = withObjectRef "clipboardClear" _obj $ \cobj__obj -> 
+    wxClipboard_Clear cobj__obj  
+foreign import ccall "wxClipboard_Clear" wxClipboard_Clear :: Ptr (TClipboard a) -> IO ()
+
+-- | usage: (@clipboardClose obj@).
+clipboardClose :: Clipboard  a ->  IO ()
+clipboardClose _obj 
+  = withObjectRef "clipboardClose" _obj $ \cobj__obj -> 
+    wxClipboard_Close cobj__obj  
+foreign import ccall "wxClipboard_Close" wxClipboard_Close :: Ptr (TClipboard a) -> IO ()
+
+-- | usage: (@clipboardCreate@).
+clipboardCreate ::  IO (Clipboard  ())
+clipboardCreate 
+  = withObjectResult $
+    wxClipboard_Create 
+foreign import ccall "wxClipboard_Create" wxClipboard_Create :: IO (Ptr (TClipboard ()))
+
+-- | usage: (@clipboardFlush obj@).
+clipboardFlush :: Clipboard  a ->  IO Bool
+clipboardFlush _obj 
+  = withBoolResult $
+    withObjectRef "clipboardFlush" _obj $ \cobj__obj -> 
+    wxClipboard_Flush cobj__obj  
+foreign import ccall "wxClipboard_Flush" wxClipboard_Flush :: Ptr (TClipboard a) -> IO CBool
+
+-- | usage: (@clipboardGetData obj wxdata@).
+clipboardGetData :: Clipboard  a -> DataObject  b ->  IO Bool
+clipboardGetData _obj wxdata 
+  = withBoolResult $
+    withObjectRef "clipboardGetData" _obj $ \cobj__obj -> 
+    withObjectPtr wxdata $ \cobj_wxdata -> 
+    wxClipboard_GetData cobj__obj  cobj_wxdata  
+foreign import ccall "wxClipboard_GetData" wxClipboard_GetData :: Ptr (TClipboard a) -> Ptr (TDataObject b) -> IO CBool
+
+-- | usage: (@clipboardIsOpened obj@).
+clipboardIsOpened :: Clipboard  a ->  IO Bool
+clipboardIsOpened _obj 
+  = withBoolResult $
+    withObjectRef "clipboardIsOpened" _obj $ \cobj__obj -> 
+    wxClipboard_IsOpened cobj__obj  
+foreign import ccall "wxClipboard_IsOpened" wxClipboard_IsOpened :: Ptr (TClipboard a) -> IO CBool
+
+-- | usage: (@clipboardIsSupported obj format@).
+clipboardIsSupported :: Clipboard  a -> DataFormat  b ->  IO Bool
+clipboardIsSupported _obj format 
+  = withBoolResult $
+    withObjectRef "clipboardIsSupported" _obj $ \cobj__obj -> 
+    withObjectPtr format $ \cobj_format -> 
+    wxClipboard_IsSupported cobj__obj  cobj_format  
+foreign import ccall "wxClipboard_IsSupported" wxClipboard_IsSupported :: Ptr (TClipboard a) -> Ptr (TDataFormat b) -> IO CBool
+
+-- | usage: (@clipboardOpen obj@).
+clipboardOpen :: Clipboard  a ->  IO Bool
+clipboardOpen _obj 
+  = withBoolResult $
+    withObjectRef "clipboardOpen" _obj $ \cobj__obj -> 
+    wxClipboard_Open cobj__obj  
+foreign import ccall "wxClipboard_Open" wxClipboard_Open :: Ptr (TClipboard a) -> IO CBool
+
+-- | usage: (@clipboardSetData obj wxdata@).
+clipboardSetData :: Clipboard  a -> DataObject  b ->  IO Bool
+clipboardSetData _obj wxdata 
+  = withBoolResult $
+    withObjectRef "clipboardSetData" _obj $ \cobj__obj -> 
+    withObjectPtr wxdata $ \cobj_wxdata -> 
+    wxClipboard_SetData cobj__obj  cobj_wxdata  
+foreign import ccall "wxClipboard_SetData" wxClipboard_SetData :: Ptr (TClipboard a) -> Ptr (TDataObject b) -> IO CBool
+
+-- | usage: (@clipboardUsePrimarySelection obj primary@).
+clipboardUsePrimarySelection :: Clipboard  a -> Bool ->  IO ()
+clipboardUsePrimarySelection _obj primary 
+  = withObjectRef "clipboardUsePrimarySelection" _obj $ \cobj__obj -> 
+    wxClipboard_UsePrimarySelection cobj__obj  (toCBool primary)  
+foreign import ccall "wxClipboard_UsePrimarySelection" wxClipboard_UsePrimarySelection :: Ptr (TClipboard a) -> CBool -> IO ()
+
+-- | usage: (@closeEventCanVeto obj@).
+closeEventCanVeto :: CloseEvent  a ->  IO Bool
+closeEventCanVeto _obj 
+  = withBoolResult $
+    withObjectRef "closeEventCanVeto" _obj $ \cobj__obj -> 
+    wxCloseEvent_CanVeto cobj__obj  
+foreign import ccall "wxCloseEvent_CanVeto" wxCloseEvent_CanVeto :: Ptr (TCloseEvent a) -> IO CBool
+
+-- | usage: (@closeEventCopyObject obj obj@).
+closeEventCopyObject :: CloseEvent  a -> WxObject  b ->  IO ()
+closeEventCopyObject _obj obj 
+  = withObjectRef "closeEventCopyObject" _obj $ \cobj__obj -> 
+    withObjectPtr obj $ \cobj_obj -> 
+    wxCloseEvent_CopyObject cobj__obj  cobj_obj  
+foreign import ccall "wxCloseEvent_CopyObject" wxCloseEvent_CopyObject :: Ptr (TCloseEvent a) -> Ptr (TWxObject b) -> IO ()
+
+-- | usage: (@closeEventGetLoggingOff obj@).
+closeEventGetLoggingOff :: CloseEvent  a ->  IO Bool
+closeEventGetLoggingOff _obj 
+  = withBoolResult $
+    withObjectRef "closeEventGetLoggingOff" _obj $ \cobj__obj -> 
+    wxCloseEvent_GetLoggingOff cobj__obj  
+foreign import ccall "wxCloseEvent_GetLoggingOff" wxCloseEvent_GetLoggingOff :: Ptr (TCloseEvent a) -> IO CBool
+
+-- | usage: (@closeEventGetVeto obj@).
+closeEventGetVeto :: CloseEvent  a ->  IO Bool
+closeEventGetVeto _obj 
+  = withBoolResult $
+    withObjectRef "closeEventGetVeto" _obj $ \cobj__obj -> 
+    wxCloseEvent_GetVeto cobj__obj  
+foreign import ccall "wxCloseEvent_GetVeto" wxCloseEvent_GetVeto :: Ptr (TCloseEvent a) -> IO CBool
+
+-- | usage: (@closeEventSetCanVeto obj canVeto@).
+closeEventSetCanVeto :: CloseEvent  a -> Bool ->  IO ()
+closeEventSetCanVeto _obj canVeto 
+  = withObjectRef "closeEventSetCanVeto" _obj $ \cobj__obj -> 
+    wxCloseEvent_SetCanVeto cobj__obj  (toCBool canVeto)  
+foreign import ccall "wxCloseEvent_SetCanVeto" wxCloseEvent_SetCanVeto :: Ptr (TCloseEvent a) -> CBool -> IO ()
+
+-- | usage: (@closeEventSetLoggingOff obj logOff@).
+closeEventSetLoggingOff :: CloseEvent  a -> Bool ->  IO ()
+closeEventSetLoggingOff _obj logOff 
+  = withObjectRef "closeEventSetLoggingOff" _obj $ \cobj__obj -> 
+    wxCloseEvent_SetLoggingOff cobj__obj  (toCBool logOff)  
+foreign import ccall "wxCloseEvent_SetLoggingOff" wxCloseEvent_SetLoggingOff :: Ptr (TCloseEvent a) -> CBool -> IO ()
+
+-- | usage: (@closeEventVeto obj veto@).
+closeEventVeto :: CloseEvent  a -> Bool ->  IO ()
+closeEventVeto _obj veto 
+  = withObjectRef "closeEventVeto" _obj $ \cobj__obj -> 
+    wxCloseEvent_Veto cobj__obj  (toCBool veto)  
+foreign import ccall "wxCloseEvent_Veto" wxCloseEvent_Veto :: Ptr (TCloseEvent a) -> CBool -> IO ()
+
+-- | usage: (@closureCreate funCEvent wxdata@).
+closureCreate :: FunPtr (Ptr fun -> Ptr state -> Ptr (TEvent evt) -> IO ()) -> Ptr  b ->  IO (Closure  ())
+closureCreate _funCEvent _data 
+  = withObjectResult $
+    wxClosure_Create (toCFunPtr _funCEvent)  _data  
+foreign import ccall "wxClosure_Create" wxClosure_Create :: Ptr (Ptr fun -> Ptr state -> Ptr (TEvent evt) -> IO ()) -> Ptr  b -> IO (Ptr (TClosure ()))
+
+-- | usage: (@closureGetData obj@).
+closureGetData :: Closure  a ->  IO (Ptr  ())
+closureGetData _obj 
+  = withObjectRef "closureGetData" _obj $ \cobj__obj -> 
+    wxClosure_GetData cobj__obj  
+foreign import ccall "wxClosure_GetData" wxClosure_GetData :: Ptr (TClosure a) -> IO (Ptr  ())
+
+-- | usage: (@colorPickerCtrlCreate parent id colour xywh style@).
+colorPickerCtrlCreate :: Window  a -> Id -> Color -> Rect -> Int ->  IO (ColourPickerCtrl  ())
+colorPickerCtrlCreate parent id colour xywh style 
+  = withObjectResult $
+    withObjectPtr parent $ \cobj_parent -> 
+    withColourPtr colour $ \cobj_colour -> 
+    wxColorPickerCtrl_Create cobj_parent  (toCInt id)  cobj_colour  (toCIntRectX xywh) (toCIntRectY xywh)(toCIntRectW xywh) (toCIntRectH xywh)  (toCInt style)  
+foreign import ccall "wxColorPickerCtrl_Create" wxColorPickerCtrl_Create :: Ptr (TWindow a) -> CInt -> Ptr (TColour c) -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TColourPickerCtrl ()))
+
+-- | usage: (@colorPickerCtrlGetColour self@).
+colorPickerCtrlGetColour :: ColourPickerCtrl  a ->  IO (Color)
+colorPickerCtrlGetColour self 
+  = withRefColour $ \pref -> 
+    withObjectPtr self $ \cobj_self -> 
+    wxColorPickerCtrl_GetColour cobj_self   pref
+foreign import ccall "wxColorPickerCtrl_GetColour" wxColorPickerCtrl_GetColour :: Ptr (TColourPickerCtrl a) -> Ptr (TColour ()) -> IO ()
+
+-- | usage: (@colorPickerCtrlSetColour self colour@).
+colorPickerCtrlSetColour :: ColourPickerCtrl  a -> Color ->  IO ()
+colorPickerCtrlSetColour self colour 
+  = withObjectPtr self $ \cobj_self -> 
+    withColourPtr colour $ \cobj_colour -> 
+    wxColorPickerCtrl_SetColour cobj_self  cobj_colour  
+foreign import ccall "wxColorPickerCtrl_SetColour" wxColorPickerCtrl_SetColour :: Ptr (TColourPickerCtrl a) -> Ptr (TColour b) -> IO ()
+
+-- | usage: (@comboBoxAppend obj item@).
+comboBoxAppend :: ComboBox  a -> String ->  IO ()
+comboBoxAppend _obj item 
+  = withObjectRef "comboBoxAppend" _obj $ \cobj__obj -> 
+    withStringPtr item $ \cobj_item -> 
+    wxComboBox_Append cobj__obj  cobj_item  
+foreign import ccall "wxComboBox_Append" wxComboBox_Append :: Ptr (TComboBox a) -> Ptr (TWxString b) -> IO ()
+
+-- | usage: (@comboBoxAppendData obj item d@).
+comboBoxAppendData :: ComboBox  a -> String -> Ptr  c ->  IO ()
+comboBoxAppendData _obj item d 
+  = withObjectRef "comboBoxAppendData" _obj $ \cobj__obj -> 
+    withStringPtr item $ \cobj_item -> 
+    wxComboBox_AppendData cobj__obj  cobj_item  d  
+foreign import ccall "wxComboBox_AppendData" wxComboBox_AppendData :: Ptr (TComboBox a) -> Ptr (TWxString b) -> Ptr  c -> IO ()
+
+-- | usage: (@comboBoxClear obj@).
+comboBoxClear :: ComboBox  a ->  IO ()
+comboBoxClear _obj 
+  = withObjectRef "comboBoxClear" _obj $ \cobj__obj -> 
+    wxComboBox_Clear cobj__obj  
+foreign import ccall "wxComboBox_Clear" wxComboBox_Clear :: Ptr (TComboBox a) -> IO ()
+
+-- | usage: (@comboBoxCopy obj@).
+comboBoxCopy :: ComboBox  a ->  IO ()
+comboBoxCopy _obj 
+  = withObjectRef "comboBoxCopy" _obj $ \cobj__obj -> 
+    wxComboBox_Copy cobj__obj  
+foreign import ccall "wxComboBox_Copy" wxComboBox_Copy :: Ptr (TComboBox a) -> IO ()
+
+-- | usage: (@comboBoxCreate prt id txt lfttopwdthgt nstr stl@).
+comboBoxCreate :: Window  a -> Id -> String -> Rect -> [String] -> Style ->  IO (ComboBox  ())
+comboBoxCreate _prt _id _txt _lfttopwdthgt nstr _stl 
+  = withObjectResult $
+    withObjectPtr _prt $ \cobj__prt -> 
+    withStringPtr _txt $ \cobj__txt -> 
+    withArrayWString nstr $ \carrlen_nstr carr_nstr -> 
+    wxComboBox_Create cobj__prt  (toCInt _id)  cobj__txt  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  carrlen_nstr carr_nstr  (toCInt _stl)  
+foreign import ccall "wxComboBox_Create" wxComboBox_Create :: Ptr (TWindow a) -> CInt -> Ptr (TWxString c) -> CInt -> CInt -> CInt -> CInt -> CInt -> Ptr (Ptr CWchar) -> CInt -> IO (Ptr (TComboBox ()))
+
+-- | usage: (@comboBoxCut obj@).
+comboBoxCut :: ComboBox  a ->  IO ()
+comboBoxCut _obj 
+  = withObjectRef "comboBoxCut" _obj $ \cobj__obj -> 
+    wxComboBox_Cut cobj__obj  
+foreign import ccall "wxComboBox_Cut" wxComboBox_Cut :: Ptr (TComboBox a) -> IO ()
+
+-- | usage: (@comboBoxDelete obj n@).
+comboBoxDelete :: ComboBox  a -> Int ->  IO ()
+comboBoxDelete _obj n 
+  = withObjectRef "comboBoxDelete" _obj $ \cobj__obj -> 
+    wxComboBox_Delete cobj__obj  (toCInt n)  
+foreign import ccall "wxComboBox_Delete" wxComboBox_Delete :: Ptr (TComboBox a) -> CInt -> IO ()
+
+-- | usage: (@comboBoxFindString obj s@).
+comboBoxFindString :: ComboBox  a -> String ->  IO Int
+comboBoxFindString _obj s 
+  = withIntResult $
+    withObjectRef "comboBoxFindString" _obj $ \cobj__obj -> 
+    withStringPtr s $ \cobj_s -> 
+    wxComboBox_FindString cobj__obj  cobj_s  
+foreign import ccall "wxComboBox_FindString" wxComboBox_FindString :: Ptr (TComboBox a) -> Ptr (TWxString b) -> IO CInt
+
+-- | usage: (@comboBoxGetClientData obj n@).
+comboBoxGetClientData :: ComboBox  a -> Int ->  IO (ClientData  ())
+comboBoxGetClientData _obj n 
+  = withObjectResult $
+    withObjectRef "comboBoxGetClientData" _obj $ \cobj__obj -> 
+    wxComboBox_GetClientData cobj__obj  (toCInt n)  
+foreign import ccall "wxComboBox_GetClientData" wxComboBox_GetClientData :: Ptr (TComboBox a) -> CInt -> IO (Ptr (TClientData ()))
+
+-- | usage: (@comboBoxGetCount obj@).
+comboBoxGetCount :: ComboBox  a ->  IO Int
+comboBoxGetCount _obj 
+  = withIntResult $
+    withObjectRef "comboBoxGetCount" _obj $ \cobj__obj -> 
+    wxComboBox_GetCount cobj__obj  
+foreign import ccall "wxComboBox_GetCount" wxComboBox_GetCount :: Ptr (TComboBox a) -> IO CInt
+
+-- | usage: (@comboBoxGetInsertionPoint obj@).
+comboBoxGetInsertionPoint :: ComboBox  a ->  IO Int
+comboBoxGetInsertionPoint _obj 
+  = withIntResult $
+    withObjectRef "comboBoxGetInsertionPoint" _obj $ \cobj__obj -> 
+    wxComboBox_GetInsertionPoint cobj__obj  
+foreign import ccall "wxComboBox_GetInsertionPoint" wxComboBox_GetInsertionPoint :: Ptr (TComboBox a) -> IO CInt
+
+-- | usage: (@comboBoxGetLastPosition obj@).
+comboBoxGetLastPosition :: ComboBox  a ->  IO Int
+comboBoxGetLastPosition _obj 
+  = withIntResult $
+    withObjectRef "comboBoxGetLastPosition" _obj $ \cobj__obj -> 
+    wxComboBox_GetLastPosition cobj__obj  
+foreign import ccall "wxComboBox_GetLastPosition" wxComboBox_GetLastPosition :: Ptr (TComboBox a) -> IO CInt
+
+-- | usage: (@comboBoxGetSelection obj@).
+comboBoxGetSelection :: ComboBox  a ->  IO Int
+comboBoxGetSelection _obj 
+  = withIntResult $
+    withObjectRef "comboBoxGetSelection" _obj $ \cobj__obj -> 
+    wxComboBox_GetSelection cobj__obj  
+foreign import ccall "wxComboBox_GetSelection" wxComboBox_GetSelection :: Ptr (TComboBox a) -> IO CInt
+
+-- | usage: (@comboBoxGetString obj n@).
+comboBoxGetString :: ComboBox  a -> Int ->  IO (String)
+comboBoxGetString _obj n 
+  = withManagedStringResult $
+    withObjectRef "comboBoxGetString" _obj $ \cobj__obj -> 
+    wxComboBox_GetString cobj__obj  (toCInt n)  
+foreign import ccall "wxComboBox_GetString" wxComboBox_GetString :: Ptr (TComboBox a) -> CInt -> IO (Ptr (TWxString ()))
+
+-- | usage: (@comboBoxGetStringSelection obj@).
+comboBoxGetStringSelection :: ComboBox  a ->  IO (String)
+comboBoxGetStringSelection _obj 
+  = withManagedStringResult $
+    withObjectRef "comboBoxGetStringSelection" _obj $ \cobj__obj -> 
+    wxComboBox_GetStringSelection cobj__obj  
+foreign import ccall "wxComboBox_GetStringSelection" wxComboBox_GetStringSelection :: Ptr (TComboBox a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@comboBoxGetValue obj@).
+comboBoxGetValue :: ComboBox  a ->  IO (String)
+comboBoxGetValue _obj 
+  = withManagedStringResult $
+    withObjectRef "comboBoxGetValue" _obj $ \cobj__obj -> 
+    wxComboBox_GetValue cobj__obj  
+foreign import ccall "wxComboBox_GetValue" wxComboBox_GetValue :: Ptr (TComboBox a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@comboBoxPaste obj@).
+comboBoxPaste :: ComboBox  a ->  IO ()
+comboBoxPaste _obj 
+  = withObjectRef "comboBoxPaste" _obj $ \cobj__obj -> 
+    wxComboBox_Paste cobj__obj  
+foreign import ccall "wxComboBox_Paste" wxComboBox_Paste :: Ptr (TComboBox a) -> IO ()
+
+-- | usage: (@comboBoxRemove obj from to@).
+comboBoxRemove :: ComboBox  a -> Int -> Int ->  IO ()
+comboBoxRemove _obj from to 
+  = withObjectRef "comboBoxRemove" _obj $ \cobj__obj -> 
+    wxComboBox_Remove cobj__obj  (toCInt from)  (toCInt to)  
+foreign import ccall "wxComboBox_Remove" wxComboBox_Remove :: Ptr (TComboBox a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@comboBoxReplace obj from to value@).
+comboBoxReplace :: ComboBox  a -> Int -> Int -> String ->  IO ()
+comboBoxReplace _obj from to value 
+  = withObjectRef "comboBoxReplace" _obj $ \cobj__obj -> 
+    withStringPtr value $ \cobj_value -> 
+    wxComboBox_Replace cobj__obj  (toCInt from)  (toCInt to)  cobj_value  
+foreign import ccall "wxComboBox_Replace" wxComboBox_Replace :: Ptr (TComboBox a) -> CInt -> CInt -> Ptr (TWxString d) -> IO ()
+
+-- | usage: (@comboBoxSetClientData obj n clientData@).
+comboBoxSetClientData :: ComboBox  a -> Int -> ClientData  c ->  IO ()
+comboBoxSetClientData _obj n clientData 
+  = withObjectRef "comboBoxSetClientData" _obj $ \cobj__obj -> 
+    withObjectPtr clientData $ \cobj_clientData -> 
+    wxComboBox_SetClientData cobj__obj  (toCInt n)  cobj_clientData  
+foreign import ccall "wxComboBox_SetClientData" wxComboBox_SetClientData :: Ptr (TComboBox a) -> CInt -> Ptr (TClientData c) -> IO ()
+
+-- | usage: (@comboBoxSetEditable obj editable@).
+comboBoxSetEditable :: ComboBox  a -> Bool ->  IO ()
+comboBoxSetEditable _obj editable 
+  = withObjectRef "comboBoxSetEditable" _obj $ \cobj__obj -> 
+    wxComboBox_SetEditable cobj__obj  (toCBool editable)  
+foreign import ccall "wxComboBox_SetEditable" wxComboBox_SetEditable :: Ptr (TComboBox a) -> CBool -> IO ()
+
+-- | usage: (@comboBoxSetInsertionPoint obj pos@).
+comboBoxSetInsertionPoint :: ComboBox  a -> Int ->  IO ()
+comboBoxSetInsertionPoint _obj pos 
+  = withObjectRef "comboBoxSetInsertionPoint" _obj $ \cobj__obj -> 
+    wxComboBox_SetInsertionPoint cobj__obj  (toCInt pos)  
+foreign import ccall "wxComboBox_SetInsertionPoint" wxComboBox_SetInsertionPoint :: Ptr (TComboBox a) -> CInt -> IO ()
+
+-- | usage: (@comboBoxSetInsertionPointEnd obj@).
+comboBoxSetInsertionPointEnd :: ComboBox  a ->  IO ()
+comboBoxSetInsertionPointEnd _obj 
+  = withObjectRef "comboBoxSetInsertionPointEnd" _obj $ \cobj__obj -> 
+    wxComboBox_SetInsertionPointEnd cobj__obj  
+foreign import ccall "wxComboBox_SetInsertionPointEnd" wxComboBox_SetInsertionPointEnd :: Ptr (TComboBox a) -> IO ()
+
+-- | usage: (@comboBoxSetSelection obj n@).
+comboBoxSetSelection :: ComboBox  a -> Int ->  IO ()
+comboBoxSetSelection _obj n 
+  = withObjectRef "comboBoxSetSelection" _obj $ \cobj__obj -> 
+    wxComboBox_SetSelection cobj__obj  (toCInt n)  
+foreign import ccall "wxComboBox_SetSelection" wxComboBox_SetSelection :: Ptr (TComboBox a) -> CInt -> IO ()
+
+-- | usage: (@comboBoxSetTextSelection obj from to@).
+comboBoxSetTextSelection :: ComboBox  a -> Int -> Int ->  IO ()
+comboBoxSetTextSelection _obj from to 
+  = withObjectRef "comboBoxSetTextSelection" _obj $ \cobj__obj -> 
+    wxComboBox_SetTextSelection cobj__obj  (toCInt from)  (toCInt to)  
+foreign import ccall "wxComboBox_SetTextSelection" wxComboBox_SetTextSelection :: Ptr (TComboBox a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@comboBoxSetValue obj value@).
+comboBoxSetValue :: ComboBox  a -> String ->  IO ()
+comboBoxSetValue _obj value 
+  = withObjectRef "comboBoxSetValue" _obj $ \cobj__obj -> 
+    withStringPtr value $ \cobj_value -> 
+    wxComboBox_SetValue cobj__obj  cobj_value  
+foreign import ccall "wxComboBox_SetValue" wxComboBox_SetValue :: Ptr (TComboBox a) -> Ptr (TWxString b) -> IO ()
+
+-- | usage: (@commandEventCopyObject obj objectdest@).
+commandEventCopyObject :: CommandEvent  a -> Ptr  b ->  IO ()
+commandEventCopyObject _obj objectdest 
+  = withObjectRef "commandEventCopyObject" _obj $ \cobj__obj -> 
+    wxCommandEvent_CopyObject cobj__obj  objectdest  
+foreign import ccall "wxCommandEvent_CopyObject" wxCommandEvent_CopyObject :: Ptr (TCommandEvent a) -> Ptr  b -> IO ()
+
+-- | usage: (@commandEventCreate typ id@).
+commandEventCreate :: Int -> Id ->  IO (CommandEvent  ())
+commandEventCreate _typ _id 
+  = withObjectResult $
+    wxCommandEvent_Create (toCInt _typ)  (toCInt _id)  
+foreign import ccall "wxCommandEvent_Create" wxCommandEvent_Create :: CInt -> CInt -> IO (Ptr (TCommandEvent ()))
+
+-- | usage: (@commandEventDelete obj@).
+commandEventDelete :: CommandEvent  a ->  IO ()
+commandEventDelete
+  = objectDelete
+
+
+-- | usage: (@commandEventGetClientData obj@).
+commandEventGetClientData :: CommandEvent  a ->  IO (ClientData  ())
+commandEventGetClientData _obj 
+  = withObjectResult $
+    withObjectRef "commandEventGetClientData" _obj $ \cobj__obj -> 
+    wxCommandEvent_GetClientData cobj__obj  
+foreign import ccall "wxCommandEvent_GetClientData" wxCommandEvent_GetClientData :: Ptr (TCommandEvent a) -> IO (Ptr (TClientData ()))
+
+-- | usage: (@commandEventGetClientObject obj@).
+commandEventGetClientObject :: CommandEvent  a ->  IO (ClientData  ())
+commandEventGetClientObject _obj 
+  = withObjectResult $
+    withObjectRef "commandEventGetClientObject" _obj $ \cobj__obj -> 
+    wxCommandEvent_GetClientObject cobj__obj  
+foreign import ccall "wxCommandEvent_GetClientObject" wxCommandEvent_GetClientObject :: Ptr (TCommandEvent a) -> IO (Ptr (TClientData ()))
+
+-- | usage: (@commandEventGetExtraLong obj@).
+commandEventGetExtraLong :: CommandEvent  a ->  IO Int
+commandEventGetExtraLong _obj 
+  = withIntResult $
+    withObjectRef "commandEventGetExtraLong" _obj $ \cobj__obj -> 
+    wxCommandEvent_GetExtraLong cobj__obj  
+foreign import ccall "wxCommandEvent_GetExtraLong" wxCommandEvent_GetExtraLong :: Ptr (TCommandEvent a) -> IO CInt
+
+-- | usage: (@commandEventGetInt obj@).
+commandEventGetInt :: CommandEvent  a ->  IO Int
+commandEventGetInt _obj 
+  = withIntResult $
+    withObjectRef "commandEventGetInt" _obj $ \cobj__obj -> 
+    wxCommandEvent_GetInt cobj__obj  
+foreign import ccall "wxCommandEvent_GetInt" wxCommandEvent_GetInt :: Ptr (TCommandEvent a) -> IO CInt
+
+-- | usage: (@commandEventGetSelection obj@).
+commandEventGetSelection :: CommandEvent  a ->  IO Int
+commandEventGetSelection _obj 
+  = withIntResult $
+    withObjectRef "commandEventGetSelection" _obj $ \cobj__obj -> 
+    wxCommandEvent_GetSelection cobj__obj  
+foreign import ccall "wxCommandEvent_GetSelection" wxCommandEvent_GetSelection :: Ptr (TCommandEvent a) -> IO CInt
+
+-- | usage: (@commandEventGetString obj@).
+commandEventGetString :: CommandEvent  a ->  IO (String)
+commandEventGetString _obj 
+  = withManagedStringResult $
+    withObjectRef "commandEventGetString" _obj $ \cobj__obj -> 
+    wxCommandEvent_GetString cobj__obj  
+foreign import ccall "wxCommandEvent_GetString" wxCommandEvent_GetString :: Ptr (TCommandEvent a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@commandEventIsChecked obj@).
+commandEventIsChecked :: CommandEvent  a ->  IO Bool
+commandEventIsChecked _obj 
+  = withBoolResult $
+    withObjectRef "commandEventIsChecked" _obj $ \cobj__obj -> 
+    wxCommandEvent_IsChecked cobj__obj  
+foreign import ccall "wxCommandEvent_IsChecked" wxCommandEvent_IsChecked :: Ptr (TCommandEvent a) -> IO CBool
+
+-- | usage: (@commandEventIsSelection obj@).
+commandEventIsSelection :: CommandEvent  a ->  IO Bool
+commandEventIsSelection _obj 
+  = withBoolResult $
+    withObjectRef "commandEventIsSelection" _obj $ \cobj__obj -> 
+    wxCommandEvent_IsSelection cobj__obj  
+foreign import ccall "wxCommandEvent_IsSelection" wxCommandEvent_IsSelection :: Ptr (TCommandEvent a) -> IO CBool
+
+-- | usage: (@commandEventSetClientData obj clientData@).
+commandEventSetClientData :: CommandEvent  a -> ClientData  b ->  IO ()
+commandEventSetClientData _obj clientData 
+  = withObjectRef "commandEventSetClientData" _obj $ \cobj__obj -> 
+    withObjectPtr clientData $ \cobj_clientData -> 
+    wxCommandEvent_SetClientData cobj__obj  cobj_clientData  
+foreign import ccall "wxCommandEvent_SetClientData" wxCommandEvent_SetClientData :: Ptr (TCommandEvent a) -> Ptr (TClientData b) -> IO ()
+
+-- | usage: (@commandEventSetClientObject obj clientObject@).
+commandEventSetClientObject :: CommandEvent  a -> ClientData  b ->  IO ()
+commandEventSetClientObject _obj clientObject 
+  = withObjectRef "commandEventSetClientObject" _obj $ \cobj__obj -> 
+    withObjectPtr clientObject $ \cobj_clientObject -> 
+    wxCommandEvent_SetClientObject cobj__obj  cobj_clientObject  
+foreign import ccall "wxCommandEvent_SetClientObject" wxCommandEvent_SetClientObject :: Ptr (TCommandEvent a) -> Ptr (TClientData b) -> IO ()
+
+-- | usage: (@commandEventSetExtraLong obj extraLong@).
+commandEventSetExtraLong :: CommandEvent  a -> Int ->  IO ()
+commandEventSetExtraLong _obj extraLong 
+  = withObjectRef "commandEventSetExtraLong" _obj $ \cobj__obj -> 
+    wxCommandEvent_SetExtraLong cobj__obj  (toCInt extraLong)  
+foreign import ccall "wxCommandEvent_SetExtraLong" wxCommandEvent_SetExtraLong :: Ptr (TCommandEvent a) -> CInt -> IO ()
+
+-- | usage: (@commandEventSetInt obj i@).
+commandEventSetInt :: CommandEvent  a -> Int ->  IO ()
+commandEventSetInt _obj i 
+  = withObjectRef "commandEventSetInt" _obj $ \cobj__obj -> 
+    wxCommandEvent_SetInt cobj__obj  (toCInt i)  
+foreign import ccall "wxCommandEvent_SetInt" wxCommandEvent_SetInt :: Ptr (TCommandEvent a) -> CInt -> IO ()
+
+-- | usage: (@commandEventSetString obj s@).
+commandEventSetString :: CommandEvent  a -> String ->  IO ()
+commandEventSetString _obj s 
+  = withObjectRef "commandEventSetString" _obj $ \cobj__obj -> 
+    withStringPtr s $ \cobj_s -> 
+    wxCommandEvent_SetString cobj__obj  cobj_s  
+foreign import ccall "wxCommandEvent_SetString" wxCommandEvent_SetString :: Ptr (TCommandEvent a) -> Ptr (TWxString b) -> IO ()
+
+-- | usage: (@configBaseCreate@).
+configBaseCreate ::  IO (ConfigBase  ())
+configBaseCreate 
+  = withObjectResult $
+    wxConfigBase_Create 
+foreign import ccall "wxConfigBase_Create" wxConfigBase_Create :: IO (Ptr (TConfigBase ()))
+
+-- | usage: (@configBaseDelete obj@).
+configBaseDelete :: ConfigBase  a ->  IO ()
+configBaseDelete _obj 
+  = withObjectRef "configBaseDelete" _obj $ \cobj__obj -> 
+    wxConfigBase_Delete cobj__obj  
+foreign import ccall "wxConfigBase_Delete" wxConfigBase_Delete :: Ptr (TConfigBase a) -> IO ()
+
+-- | usage: (@configBaseDeleteAll obj@).
+configBaseDeleteAll :: ConfigBase  a ->  IO Bool
+configBaseDeleteAll _obj 
+  = withBoolResult $
+    withObjectRef "configBaseDeleteAll" _obj $ \cobj__obj -> 
+    wxConfigBase_DeleteAll cobj__obj  
+foreign import ccall "wxConfigBase_DeleteAll" wxConfigBase_DeleteAll :: Ptr (TConfigBase a) -> IO CBool
+
+-- | usage: (@configBaseDeleteEntry obj key bDeleteGroupIfEmpty@).
+configBaseDeleteEntry :: ConfigBase  a -> String -> Bool ->  IO Bool
+configBaseDeleteEntry _obj key bDeleteGroupIfEmpty 
+  = withBoolResult $
+    withObjectRef "configBaseDeleteEntry" _obj $ \cobj__obj -> 
+    withStringPtr key $ \cobj_key -> 
+    wxConfigBase_DeleteEntry cobj__obj  cobj_key  (toCBool bDeleteGroupIfEmpty)  
+foreign import ccall "wxConfigBase_DeleteEntry" wxConfigBase_DeleteEntry :: Ptr (TConfigBase a) -> Ptr (TWxString b) -> CBool -> IO CBool
+
+-- | usage: (@configBaseDeleteGroup obj key@).
+configBaseDeleteGroup :: ConfigBase  a -> String ->  IO Bool
+configBaseDeleteGroup _obj key 
+  = withBoolResult $
+    withObjectRef "configBaseDeleteGroup" _obj $ \cobj__obj -> 
+    withStringPtr key $ \cobj_key -> 
+    wxConfigBase_DeleteGroup cobj__obj  cobj_key  
+foreign import ccall "wxConfigBase_DeleteGroup" wxConfigBase_DeleteGroup :: Ptr (TConfigBase a) -> Ptr (TWxString b) -> IO CBool
+
+-- | usage: (@configBaseExists obj strName@).
+configBaseExists :: ConfigBase  a -> String ->  IO Bool
+configBaseExists _obj strName 
+  = withBoolResult $
+    withObjectRef "configBaseExists" _obj $ \cobj__obj -> 
+    withStringPtr strName $ \cobj_strName -> 
+    wxConfigBase_Exists cobj__obj  cobj_strName  
+foreign import ccall "wxConfigBase_Exists" wxConfigBase_Exists :: Ptr (TConfigBase a) -> Ptr (TWxString b) -> IO CBool
+
+-- | usage: (@configBaseExpandEnvVars obj str@).
+configBaseExpandEnvVars :: ConfigBase  a -> String ->  IO (String)
+configBaseExpandEnvVars _obj str 
+  = withManagedStringResult $
+    withObjectRef "configBaseExpandEnvVars" _obj $ \cobj__obj -> 
+    withStringPtr str $ \cobj_str -> 
+    wxConfigBase_ExpandEnvVars cobj__obj  cobj_str  
+foreign import ccall "wxConfigBase_ExpandEnvVars" wxConfigBase_ExpandEnvVars :: Ptr (TConfigBase a) -> Ptr (TWxString b) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@configBaseFlush obj bCurrentOnly@).
+configBaseFlush :: ConfigBase  a -> Bool ->  IO Bool
+configBaseFlush _obj bCurrentOnly 
+  = withBoolResult $
+    withObjectRef "configBaseFlush" _obj $ \cobj__obj -> 
+    wxConfigBase_Flush cobj__obj  (toCBool bCurrentOnly)  
+foreign import ccall "wxConfigBase_Flush" wxConfigBase_Flush :: Ptr (TConfigBase a) -> CBool -> IO CBool
+
+-- | usage: (@configBaseGet@).
+configBaseGet ::  IO (ConfigBase  ())
+configBaseGet 
+  = withObjectResult $
+    wxConfigBase_Get 
+foreign import ccall "wxConfigBase_Get" wxConfigBase_Get :: IO (Ptr (TConfigBase ()))
+
+-- | usage: (@configBaseGetAppName obj@).
+configBaseGetAppName :: ConfigBase  a ->  IO (String)
+configBaseGetAppName _obj 
+  = withManagedStringResult $
+    withObjectRef "configBaseGetAppName" _obj $ \cobj__obj -> 
+    wxConfigBase_GetAppName cobj__obj  
+foreign import ccall "wxConfigBase_GetAppName" wxConfigBase_GetAppName :: Ptr (TConfigBase a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@configBaseGetEntryType obj name@).
+configBaseGetEntryType :: ConfigBase  a -> String ->  IO Int
+configBaseGetEntryType _obj name 
+  = withIntResult $
+    withObjectRef "configBaseGetEntryType" _obj $ \cobj__obj -> 
+    withStringPtr name $ \cobj_name -> 
+    wxConfigBase_GetEntryType cobj__obj  cobj_name  
+foreign import ccall "wxConfigBase_GetEntryType" wxConfigBase_GetEntryType :: Ptr (TConfigBase a) -> Ptr (TWxString b) -> IO CInt
+
+-- | usage: (@configBaseGetFirstEntry obj lIndex@).
+configBaseGetFirstEntry :: ConfigBase  a -> Ptr  b ->  IO (String)
+configBaseGetFirstEntry _obj lIndex 
+  = withManagedStringResult $
+    withObjectRef "configBaseGetFirstEntry" _obj $ \cobj__obj -> 
+    wxConfigBase_GetFirstEntry cobj__obj  lIndex  
+foreign import ccall "wxConfigBase_GetFirstEntry" wxConfigBase_GetFirstEntry :: Ptr (TConfigBase a) -> Ptr  b -> IO (Ptr (TWxString ()))
+
+-- | usage: (@configBaseGetFirstGroup obj lIndex@).
+configBaseGetFirstGroup :: ConfigBase  a -> Ptr  b ->  IO (String)
+configBaseGetFirstGroup _obj lIndex 
+  = withManagedStringResult $
+    withObjectRef "configBaseGetFirstGroup" _obj $ \cobj__obj -> 
+    wxConfigBase_GetFirstGroup cobj__obj  lIndex  
+foreign import ccall "wxConfigBase_GetFirstGroup" wxConfigBase_GetFirstGroup :: Ptr (TConfigBase a) -> Ptr  b -> IO (Ptr (TWxString ()))
+
+-- | usage: (@configBaseGetNextEntry obj lIndex@).
+configBaseGetNextEntry :: ConfigBase  a -> Ptr  b ->  IO (String)
+configBaseGetNextEntry _obj lIndex 
+  = withManagedStringResult $
+    withObjectRef "configBaseGetNextEntry" _obj $ \cobj__obj -> 
+    wxConfigBase_GetNextEntry cobj__obj  lIndex  
+foreign import ccall "wxConfigBase_GetNextEntry" wxConfigBase_GetNextEntry :: Ptr (TConfigBase a) -> Ptr  b -> IO (Ptr (TWxString ()))
+
+-- | usage: (@configBaseGetNextGroup obj lIndex@).
+configBaseGetNextGroup :: ConfigBase  a -> Ptr  b ->  IO (String)
+configBaseGetNextGroup _obj lIndex 
+  = withManagedStringResult $
+    withObjectRef "configBaseGetNextGroup" _obj $ \cobj__obj -> 
+    wxConfigBase_GetNextGroup cobj__obj  lIndex  
+foreign import ccall "wxConfigBase_GetNextGroup" wxConfigBase_GetNextGroup :: Ptr (TConfigBase a) -> Ptr  b -> IO (Ptr (TWxString ()))
+
+-- | usage: (@configBaseGetNumberOfEntries obj bRecursive@).
+configBaseGetNumberOfEntries :: ConfigBase  a -> Bool ->  IO Int
+configBaseGetNumberOfEntries _obj bRecursive 
+  = withIntResult $
+    withObjectRef "configBaseGetNumberOfEntries" _obj $ \cobj__obj -> 
+    wxConfigBase_GetNumberOfEntries cobj__obj  (toCBool bRecursive)  
+foreign import ccall "wxConfigBase_GetNumberOfEntries" wxConfigBase_GetNumberOfEntries :: Ptr (TConfigBase a) -> CBool -> IO CInt
+
+-- | usage: (@configBaseGetNumberOfGroups obj bRecursive@).
+configBaseGetNumberOfGroups :: ConfigBase  a -> Bool ->  IO Int
+configBaseGetNumberOfGroups _obj bRecursive 
+  = withIntResult $
+    withObjectRef "configBaseGetNumberOfGroups" _obj $ \cobj__obj -> 
+    wxConfigBase_GetNumberOfGroups cobj__obj  (toCBool bRecursive)  
+foreign import ccall "wxConfigBase_GetNumberOfGroups" wxConfigBase_GetNumberOfGroups :: Ptr (TConfigBase a) -> CBool -> IO CInt
+
+-- | usage: (@configBaseGetPath obj@).
+configBaseGetPath :: ConfigBase  a ->  IO (String)
+configBaseGetPath _obj 
+  = withManagedStringResult $
+    withObjectRef "configBaseGetPath" _obj $ \cobj__obj -> 
+    wxConfigBase_GetPath cobj__obj  
+foreign import ccall "wxConfigBase_GetPath" wxConfigBase_GetPath :: Ptr (TConfigBase a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@configBaseGetStyle obj@).
+configBaseGetStyle :: ConfigBase  a ->  IO Int
+configBaseGetStyle _obj 
+  = withIntResult $
+    withObjectRef "configBaseGetStyle" _obj $ \cobj__obj -> 
+    wxConfigBase_GetStyle cobj__obj  
+foreign import ccall "wxConfigBase_GetStyle" wxConfigBase_GetStyle :: Ptr (TConfigBase a) -> IO CInt
+
+-- | usage: (@configBaseGetVendorName obj@).
+configBaseGetVendorName :: ConfigBase  a ->  IO (String)
+configBaseGetVendorName _obj 
+  = withManagedStringResult $
+    withObjectRef "configBaseGetVendorName" _obj $ \cobj__obj -> 
+    wxConfigBase_GetVendorName cobj__obj  
+foreign import ccall "wxConfigBase_GetVendorName" wxConfigBase_GetVendorName :: Ptr (TConfigBase a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@configBaseHasEntry obj strName@).
+configBaseHasEntry :: ConfigBase  a -> String ->  IO Bool
+configBaseHasEntry _obj strName 
+  = withBoolResult $
+    withObjectRef "configBaseHasEntry" _obj $ \cobj__obj -> 
+    withStringPtr strName $ \cobj_strName -> 
+    wxConfigBase_HasEntry cobj__obj  cobj_strName  
+foreign import ccall "wxConfigBase_HasEntry" wxConfigBase_HasEntry :: Ptr (TConfigBase a) -> Ptr (TWxString b) -> IO CBool
+
+-- | usage: (@configBaseHasGroup obj strName@).
+configBaseHasGroup :: ConfigBase  a -> String ->  IO Bool
+configBaseHasGroup _obj strName 
+  = withBoolResult $
+    withObjectRef "configBaseHasGroup" _obj $ \cobj__obj -> 
+    withStringPtr strName $ \cobj_strName -> 
+    wxConfigBase_HasGroup cobj__obj  cobj_strName  
+foreign import ccall "wxConfigBase_HasGroup" wxConfigBase_HasGroup :: Ptr (TConfigBase a) -> Ptr (TWxString b) -> IO CBool
+
+-- | usage: (@configBaseIsExpandingEnvVars obj@).
+configBaseIsExpandingEnvVars :: ConfigBase  a ->  IO Bool
+configBaseIsExpandingEnvVars _obj 
+  = withBoolResult $
+    withObjectRef "configBaseIsExpandingEnvVars" _obj $ \cobj__obj -> 
+    wxConfigBase_IsExpandingEnvVars cobj__obj  
+foreign import ccall "wxConfigBase_IsExpandingEnvVars" wxConfigBase_IsExpandingEnvVars :: Ptr (TConfigBase a) -> IO CBool
+
+-- | usage: (@configBaseIsRecordingDefaults obj@).
+configBaseIsRecordingDefaults :: ConfigBase  a ->  IO Bool
+configBaseIsRecordingDefaults _obj 
+  = withBoolResult $
+    withObjectRef "configBaseIsRecordingDefaults" _obj $ \cobj__obj -> 
+    wxConfigBase_IsRecordingDefaults cobj__obj  
+foreign import ccall "wxConfigBase_IsRecordingDefaults" wxConfigBase_IsRecordingDefaults :: Ptr (TConfigBase a) -> IO CBool
+
+-- | usage: (@configBaseReadBool obj key defVal@).
+configBaseReadBool :: ConfigBase  a -> String -> Bool ->  IO Bool
+configBaseReadBool _obj key defVal 
+  = withBoolResult $
+    withObjectRef "configBaseReadBool" _obj $ \cobj__obj -> 
+    withStringPtr key $ \cobj_key -> 
+    wxConfigBase_ReadBool cobj__obj  cobj_key  (toCBool defVal)  
+foreign import ccall "wxConfigBase_ReadBool" wxConfigBase_ReadBool :: Ptr (TConfigBase a) -> Ptr (TWxString b) -> CBool -> IO CBool
+
+-- | usage: (@configBaseReadDouble obj key defVal@).
+configBaseReadDouble :: ConfigBase  a -> String -> Double ->  IO Double
+configBaseReadDouble _obj key defVal 
+  = withObjectRef "configBaseReadDouble" _obj $ \cobj__obj -> 
+    withStringPtr key $ \cobj_key -> 
+    wxConfigBase_ReadDouble cobj__obj  cobj_key  defVal  
+foreign import ccall "wxConfigBase_ReadDouble" wxConfigBase_ReadDouble :: Ptr (TConfigBase a) -> Ptr (TWxString b) -> Double -> IO Double
+
+-- | usage: (@configBaseReadInteger obj key defVal@).
+configBaseReadInteger :: ConfigBase  a -> String -> Int ->  IO Int
+configBaseReadInteger _obj key defVal 
+  = withIntResult $
+    withObjectRef "configBaseReadInteger" _obj $ \cobj__obj -> 
+    withStringPtr key $ \cobj_key -> 
+    wxConfigBase_ReadInteger cobj__obj  cobj_key  (toCInt defVal)  
+foreign import ccall "wxConfigBase_ReadInteger" wxConfigBase_ReadInteger :: Ptr (TConfigBase a) -> Ptr (TWxString b) -> CInt -> IO CInt
+
+-- | usage: (@configBaseReadString obj key defVal@).
+configBaseReadString :: ConfigBase  a -> String -> String ->  IO (String)
+configBaseReadString _obj key defVal 
+  = withManagedStringResult $
+    withObjectRef "configBaseReadString" _obj $ \cobj__obj -> 
+    withStringPtr key $ \cobj_key -> 
+    withStringPtr defVal $ \cobj_defVal -> 
+    wxConfigBase_ReadString cobj__obj  cobj_key  cobj_defVal  
+foreign import ccall "wxConfigBase_ReadString" wxConfigBase_ReadString :: Ptr (TConfigBase a) -> Ptr (TWxString b) -> Ptr (TWxString c) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@configBaseRenameEntry obj oldName newName@).
+configBaseRenameEntry :: ConfigBase  a -> String -> String ->  IO Bool
+configBaseRenameEntry _obj oldName newName 
+  = withBoolResult $
+    withObjectRef "configBaseRenameEntry" _obj $ \cobj__obj -> 
+    withStringPtr oldName $ \cobj_oldName -> 
+    withStringPtr newName $ \cobj_newName -> 
+    wxConfigBase_RenameEntry cobj__obj  cobj_oldName  cobj_newName  
+foreign import ccall "wxConfigBase_RenameEntry" wxConfigBase_RenameEntry :: Ptr (TConfigBase a) -> Ptr (TWxString b) -> Ptr (TWxString c) -> IO CBool
+
+-- | usage: (@configBaseRenameGroup obj oldName newName@).
+configBaseRenameGroup :: ConfigBase  a -> String -> String ->  IO Bool
+configBaseRenameGroup _obj oldName newName 
+  = withBoolResult $
+    withObjectRef "configBaseRenameGroup" _obj $ \cobj__obj -> 
+    withStringPtr oldName $ \cobj_oldName -> 
+    withStringPtr newName $ \cobj_newName -> 
+    wxConfigBase_RenameGroup cobj__obj  cobj_oldName  cobj_newName  
+foreign import ccall "wxConfigBase_RenameGroup" wxConfigBase_RenameGroup :: Ptr (TConfigBase a) -> Ptr (TWxString b) -> Ptr (TWxString c) -> IO CBool
+
+-- | usage: (@configBaseSet self@).
+configBaseSet :: ConfigBase  a ->  IO ()
+configBaseSet self 
+  = withObjectRef "configBaseSet" self $ \cobj_self -> 
+    wxConfigBase_Set cobj_self  
+foreign import ccall "wxConfigBase_Set" wxConfigBase_Set :: Ptr (TConfigBase a) -> IO ()
+
+-- | usage: (@configBaseSetAppName obj appName@).
+configBaseSetAppName :: ConfigBase  a -> String ->  IO ()
+configBaseSetAppName _obj appName 
+  = withObjectRef "configBaseSetAppName" _obj $ \cobj__obj -> 
+    withStringPtr appName $ \cobj_appName -> 
+    wxConfigBase_SetAppName cobj__obj  cobj_appName  
+foreign import ccall "wxConfigBase_SetAppName" wxConfigBase_SetAppName :: Ptr (TConfigBase a) -> Ptr (TWxString b) -> IO ()
+
+-- | usage: (@configBaseSetExpandEnvVars obj bDoIt@).
+configBaseSetExpandEnvVars :: ConfigBase  a -> Bool ->  IO ()
+configBaseSetExpandEnvVars _obj bDoIt 
+  = withObjectRef "configBaseSetExpandEnvVars" _obj $ \cobj__obj -> 
+    wxConfigBase_SetExpandEnvVars cobj__obj  (toCBool bDoIt)  
+foreign import ccall "wxConfigBase_SetExpandEnvVars" wxConfigBase_SetExpandEnvVars :: Ptr (TConfigBase a) -> CBool -> IO ()
+
+-- | usage: (@configBaseSetPath obj strPath@).
+configBaseSetPath :: ConfigBase  a -> String ->  IO ()
+configBaseSetPath _obj strPath 
+  = withObjectRef "configBaseSetPath" _obj $ \cobj__obj -> 
+    withStringPtr strPath $ \cobj_strPath -> 
+    wxConfigBase_SetPath cobj__obj  cobj_strPath  
+foreign import ccall "wxConfigBase_SetPath" wxConfigBase_SetPath :: Ptr (TConfigBase a) -> Ptr (TWxString b) -> IO ()
+
+-- | usage: (@configBaseSetRecordDefaults obj bDoIt@).
+configBaseSetRecordDefaults :: ConfigBase  a -> Bool ->  IO ()
+configBaseSetRecordDefaults _obj bDoIt 
+  = withObjectRef "configBaseSetRecordDefaults" _obj $ \cobj__obj -> 
+    wxConfigBase_SetRecordDefaults cobj__obj  (toCBool bDoIt)  
+foreign import ccall "wxConfigBase_SetRecordDefaults" wxConfigBase_SetRecordDefaults :: Ptr (TConfigBase a) -> CBool -> IO ()
+
+-- | usage: (@configBaseSetStyle obj style@).
+configBaseSetStyle :: ConfigBase  a -> Int ->  IO ()
+configBaseSetStyle _obj style 
+  = withObjectRef "configBaseSetStyle" _obj $ \cobj__obj -> 
+    wxConfigBase_SetStyle cobj__obj  (toCInt style)  
+foreign import ccall "wxConfigBase_SetStyle" wxConfigBase_SetStyle :: Ptr (TConfigBase a) -> CInt -> IO ()
+
+-- | usage: (@configBaseSetVendorName obj vendorName@).
+configBaseSetVendorName :: ConfigBase  a -> String ->  IO ()
+configBaseSetVendorName _obj vendorName 
+  = withObjectRef "configBaseSetVendorName" _obj $ \cobj__obj -> 
+    withStringPtr vendorName $ \cobj_vendorName -> 
+    wxConfigBase_SetVendorName cobj__obj  cobj_vendorName  
+foreign import ccall "wxConfigBase_SetVendorName" wxConfigBase_SetVendorName :: Ptr (TConfigBase a) -> Ptr (TWxString b) -> IO ()
+
+-- | usage: (@configBaseWriteBool obj key value@).
+configBaseWriteBool :: ConfigBase  a -> String -> Bool ->  IO Bool
+configBaseWriteBool _obj key value 
+  = withBoolResult $
+    withObjectRef "configBaseWriteBool" _obj $ \cobj__obj -> 
+    withStringPtr key $ \cobj_key -> 
+    wxConfigBase_WriteBool cobj__obj  cobj_key  (toCBool value)  
+foreign import ccall "wxConfigBase_WriteBool" wxConfigBase_WriteBool :: Ptr (TConfigBase a) -> Ptr (TWxString b) -> CBool -> IO CBool
+
+-- | usage: (@configBaseWriteDouble obj key value@).
+configBaseWriteDouble :: ConfigBase  a -> String -> Double ->  IO Bool
+configBaseWriteDouble _obj key value 
+  = withBoolResult $
+    withObjectRef "configBaseWriteDouble" _obj $ \cobj__obj -> 
+    withStringPtr key $ \cobj_key -> 
+    wxConfigBase_WriteDouble cobj__obj  cobj_key  value  
+foreign import ccall "wxConfigBase_WriteDouble" wxConfigBase_WriteDouble :: Ptr (TConfigBase a) -> Ptr (TWxString b) -> Double -> IO CBool
+
+-- | usage: (@configBaseWriteInteger obj key value@).
+configBaseWriteInteger :: ConfigBase  a -> String -> Int ->  IO Bool
+configBaseWriteInteger _obj key value 
+  = withBoolResult $
+    withObjectRef "configBaseWriteInteger" _obj $ \cobj__obj -> 
+    withStringPtr key $ \cobj_key -> 
+    wxConfigBase_WriteInteger cobj__obj  cobj_key  (toCInt value)  
+foreign import ccall "wxConfigBase_WriteInteger" wxConfigBase_WriteInteger :: Ptr (TConfigBase a) -> Ptr (TWxString b) -> CInt -> IO CBool
+
+-- | usage: (@configBaseWriteLong obj key value@).
+configBaseWriteLong :: ConfigBase  a -> String -> Int ->  IO Bool
+configBaseWriteLong _obj key value 
+  = withBoolResult $
+    withObjectRef "configBaseWriteLong" _obj $ \cobj__obj -> 
+    withStringPtr key $ \cobj_key -> 
+    wxConfigBase_WriteLong cobj__obj  cobj_key  (toCInt value)  
+foreign import ccall "wxConfigBase_WriteLong" wxConfigBase_WriteLong :: Ptr (TConfigBase a) -> Ptr (TWxString b) -> CInt -> IO CBool
+
+-- | usage: (@configBaseWriteString obj key value@).
+configBaseWriteString :: ConfigBase  a -> String -> String ->  IO Bool
+configBaseWriteString _obj key value 
+  = withBoolResult $
+    withObjectRef "configBaseWriteString" _obj $ \cobj__obj -> 
+    withStringPtr key $ \cobj_key -> 
+    withStringPtr value $ \cobj_value -> 
+    wxConfigBase_WriteString cobj__obj  cobj_key  cobj_value  
+foreign import ccall "wxConfigBase_WriteString" wxConfigBase_WriteString :: Ptr (TConfigBase a) -> Ptr (TWxString b) -> Ptr (TWxString c) -> IO CBool
+
+-- | usage: (@contextHelpBeginContextHelp obj win@).
+contextHelpBeginContextHelp :: ContextHelp  a -> Window  b ->  IO Bool
+contextHelpBeginContextHelp _obj win 
+  = withBoolResult $
+    withObjectRef "contextHelpBeginContextHelp" _obj $ \cobj__obj -> 
+    withObjectPtr win $ \cobj_win -> 
+    wxContextHelp_BeginContextHelp cobj__obj  cobj_win  
+foreign import ccall "wxContextHelp_BeginContextHelp" wxContextHelp_BeginContextHelp :: Ptr (TContextHelp a) -> Ptr (TWindow b) -> IO CBool
+
+-- | usage: (@contextHelpButtonCreate parent id xywh style@).
+contextHelpButtonCreate :: Window  a -> Id -> Rect -> Int ->  IO (ContextHelpButton  ())
+contextHelpButtonCreate parent id xywh style 
+  = withObjectResult $
+    withObjectPtr parent $ \cobj_parent -> 
+    wxContextHelpButton_Create cobj_parent  (toCInt id)  (toCIntRectX xywh) (toCIntRectY xywh)(toCIntRectW xywh) (toCIntRectH xywh)  (toCInt style)  
+foreign import ccall "wxContextHelpButton_Create" wxContextHelpButton_Create :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TContextHelpButton ()))
+
+-- | usage: (@contextHelpCreate win beginHelp@).
+contextHelpCreate :: Window  a -> Bool ->  IO (ContextHelp  ())
+contextHelpCreate win beginHelp 
+  = withObjectResult $
+    withObjectPtr win $ \cobj_win -> 
+    wxContextHelp_Create cobj_win  (toCBool beginHelp)  
+foreign import ccall "wxContextHelp_Create" wxContextHelp_Create :: Ptr (TWindow a) -> CBool -> IO (Ptr (TContextHelp ()))
+
+-- | usage: (@contextHelpDelete obj@).
+contextHelpDelete :: ContextHelp  a ->  IO ()
+contextHelpDelete
+  = objectDelete
+
+
+-- | usage: (@contextHelpEndContextHelp obj@).
+contextHelpEndContextHelp :: ContextHelp  a ->  IO Bool
+contextHelpEndContextHelp _obj 
+  = withBoolResult $
+    withObjectRef "contextHelpEndContextHelp" _obj $ \cobj__obj -> 
+    wxContextHelp_EndContextHelp cobj__obj  
+foreign import ccall "wxContextHelp_EndContextHelp" wxContextHelp_EndContextHelp :: Ptr (TContextHelp a) -> IO CBool
+
+-- | usage: (@controlCommand obj event@).
+controlCommand :: Control  a -> Event  b ->  IO ()
+controlCommand _obj event 
+  = withObjectRef "controlCommand" _obj $ \cobj__obj -> 
+    withObjectPtr event $ \cobj_event -> 
+    wxControl_Command cobj__obj  cobj_event  
+foreign import ccall "wxControl_Command" wxControl_Command :: Ptr (TControl a) -> Ptr (TEvent b) -> IO ()
+
+-- | usage: (@controlGetLabel obj@).
+controlGetLabel :: Control  a ->  IO (String)
+controlGetLabel _obj 
+  = withManagedStringResult $
+    withObjectRef "controlGetLabel" _obj $ \cobj__obj -> 
+    wxControl_GetLabel cobj__obj  
+foreign import ccall "wxControl_GetLabel" wxControl_GetLabel :: Ptr (TControl a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@controlSetLabel obj text@).
+controlSetLabel :: Control  a -> String ->  IO ()
+controlSetLabel _obj text 
+  = withObjectRef "controlSetLabel" _obj $ \cobj__obj -> 
+    withStringPtr text $ \cobj_text -> 
+    wxControl_SetLabel cobj__obj  cobj_text  
+foreign import ccall "wxControl_SetLabel" wxControl_SetLabel :: Ptr (TControl a) -> Ptr (TWxString b) -> IO ()
+
+-- | usage: (@cursorCreateFromImage image@).
+cursorCreateFromImage :: Image  a ->  IO (Cursor  ())
+cursorCreateFromImage image 
+  = withManagedCursorResult $
+    withObjectPtr image $ \cobj_image -> 
+    wx_Cursor_CreateFromImage cobj_image  
+foreign import ccall "Cursor_CreateFromImage" wx_Cursor_CreateFromImage :: Ptr (TImage a) -> IO (Ptr (TCursor ()))
+
+-- | usage: (@cursorCreateFromStock id@).
+cursorCreateFromStock :: Id ->  IO (Cursor  ())
+cursorCreateFromStock _id 
+  = withManagedCursorResult $
+    wx_Cursor_CreateFromStock (toCInt _id)  
+foreign import ccall "Cursor_CreateFromStock" wx_Cursor_CreateFromStock :: CInt -> IO (Ptr (TCursor ()))
+
+-- | usage: (@cursorCreateLoad name wxtype widthheight@).
+cursorCreateLoad :: String -> Int -> Size ->  IO (Cursor  ())
+cursorCreateLoad name wxtype widthheight 
+  = withManagedCursorResult $
+    withStringPtr name $ \cobj_name -> 
+    wx_Cursor_CreateLoad cobj_name  (toCInt wxtype)  (toCIntSizeW widthheight) (toCIntSizeH widthheight)  
+foreign import ccall "Cursor_CreateLoad" wx_Cursor_CreateLoad :: Ptr (TWxString a) -> CInt -> CInt -> CInt -> IO (Ptr (TCursor ()))
+
+-- | usage: (@cursorDelete obj@).
+cursorDelete :: Cursor  a ->  IO ()
+cursorDelete
+  = objectDelete
+
+
+-- | usage: (@cursorIsStatic self@).
+cursorIsStatic :: Cursor  a ->  IO Bool
+cursorIsStatic self 
+  = withBoolResult $
+    withObjectPtr self $ \cobj_self -> 
+    wxCursor_IsStatic cobj_self  
+foreign import ccall "wxCursor_IsStatic" wxCursor_IsStatic :: Ptr (TCursor a) -> IO CBool
+
+-- | usage: (@cursorSafeDelete self@).
+cursorSafeDelete :: Cursor  a ->  IO ()
+cursorSafeDelete self 
+  = withObjectPtr self $ \cobj_self -> 
+    wxCursor_SafeDelete cobj_self  
+foreign import ccall "wxCursor_SafeDelete" wxCursor_SafeDelete :: Ptr (TCursor a) -> IO ()
+
+-- | usage: (@dataFormatCreateFromId name@).
+dataFormatCreateFromId :: String ->  IO (DataFormat  ())
+dataFormatCreateFromId name 
+  = withObjectResult $
+    withStringPtr name $ \cobj_name -> 
+    wxDataFormat_CreateFromId cobj_name  
+foreign import ccall "wxDataFormat_CreateFromId" wxDataFormat_CreateFromId :: Ptr (TWxString a) -> IO (Ptr (TDataFormat ()))
+
+-- | usage: (@dataFormatCreateFromType typ@).
+dataFormatCreateFromType :: Int ->  IO (DataFormat  ())
+dataFormatCreateFromType typ 
+  = withObjectResult $
+    wxDataFormat_CreateFromType (toCInt typ)  
+foreign import ccall "wxDataFormat_CreateFromType" wxDataFormat_CreateFromType :: CInt -> IO (Ptr (TDataFormat ()))
+
+-- | usage: (@dataFormatDelete obj@).
+dataFormatDelete :: DataFormat  a ->  IO ()
+dataFormatDelete _obj 
+  = withObjectRef "dataFormatDelete" _obj $ \cobj__obj -> 
+    wxDataFormat_Delete cobj__obj  
+foreign import ccall "wxDataFormat_Delete" wxDataFormat_Delete :: Ptr (TDataFormat a) -> IO ()
+
+-- | usage: (@dataFormatGetId obj@).
+dataFormatGetId :: DataFormat  a ->  IO (String)
+dataFormatGetId _obj 
+  = withManagedStringResult $
+    withObjectRef "dataFormatGetId" _obj $ \cobj__obj -> 
+    wxDataFormat_GetId cobj__obj  
+foreign import ccall "wxDataFormat_GetId" wxDataFormat_GetId :: Ptr (TDataFormat a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@dataFormatGetType obj@).
+dataFormatGetType :: DataFormat  a ->  IO Int
+dataFormatGetType _obj 
+  = withIntResult $
+    withObjectRef "dataFormatGetType" _obj $ \cobj__obj -> 
+    wxDataFormat_GetType cobj__obj  
+foreign import ccall "wxDataFormat_GetType" wxDataFormat_GetType :: Ptr (TDataFormat a) -> IO CInt
+
+-- | usage: (@dataFormatIsEqual obj other@).
+dataFormatIsEqual :: DataFormat  a -> Ptr  b ->  IO Bool
+dataFormatIsEqual _obj other 
+  = withBoolResult $
+    withObjectRef "dataFormatIsEqual" _obj $ \cobj__obj -> 
+    wxDataFormat_IsEqual cobj__obj  other  
+foreign import ccall "wxDataFormat_IsEqual" wxDataFormat_IsEqual :: Ptr (TDataFormat a) -> Ptr  b -> IO CBool
+
+-- | usage: (@dataFormatSetId obj id@).
+dataFormatSetId :: DataFormat  a -> Ptr  b ->  IO ()
+dataFormatSetId _obj id 
+  = withObjectRef "dataFormatSetId" _obj $ \cobj__obj -> 
+    wxDataFormat_SetId cobj__obj  id  
+foreign import ccall "wxDataFormat_SetId" wxDataFormat_SetId :: Ptr (TDataFormat a) -> Ptr  b -> IO ()
+
+-- | usage: (@dataFormatSetType obj typ@).
+dataFormatSetType :: DataFormat  a -> Int ->  IO ()
+dataFormatSetType _obj typ 
+  = withObjectRef "dataFormatSetType" _obj $ \cobj__obj -> 
+    wxDataFormat_SetType cobj__obj  (toCInt typ)  
+foreign import ccall "wxDataFormat_SetType" wxDataFormat_SetType :: Ptr (TDataFormat a) -> CInt -> IO ()
+
+-- | usage: (@dataObjectCompositeAdd obj dat preferred@).
+dataObjectCompositeAdd :: DataObjectComposite  a -> Ptr  b -> Int ->  IO ()
+dataObjectCompositeAdd _obj _dat _preferred 
+  = withObjectRef "dataObjectCompositeAdd" _obj $ \cobj__obj -> 
+    wxDataObjectComposite_Add cobj__obj  _dat  (toCInt _preferred)  
+foreign import ccall "wxDataObjectComposite_Add" wxDataObjectComposite_Add :: Ptr (TDataObjectComposite a) -> Ptr  b -> CInt -> IO ()
+
+-- | usage: (@dataObjectCompositeCreate@).
+dataObjectCompositeCreate ::  IO (DataObjectComposite  ())
+dataObjectCompositeCreate 
+  = withObjectResult $
+    wxDataObjectComposite_Create 
+foreign import ccall "wxDataObjectComposite_Create" wxDataObjectComposite_Create :: IO (Ptr (TDataObjectComposite ()))
+
+-- | usage: (@dataObjectCompositeDelete obj@).
+dataObjectCompositeDelete :: DataObjectComposite  a ->  IO ()
+dataObjectCompositeDelete _obj 
+  = withObjectRef "dataObjectCompositeDelete" _obj $ \cobj__obj -> 
+    wxDataObjectComposite_Delete cobj__obj  
+foreign import ccall "wxDataObjectComposite_Delete" wxDataObjectComposite_Delete :: Ptr (TDataObjectComposite a) -> IO ()
+
+-- | usage: (@datePropertyCreate label name value@).
+datePropertyCreate :: String -> String -> DateTime  c ->  IO (DateProperty  ())
+datePropertyCreate label name value 
+  = withObjectResult $
+    withStringPtr label $ \cobj_label -> 
+    withStringPtr name $ \cobj_name -> 
+    withObjectPtr value $ \cobj_value -> 
+    wxDateProperty_Create cobj_label  cobj_name  cobj_value  
+foreign import ccall "wxDateProperty_Create" wxDateProperty_Create :: Ptr (TWxString a) -> Ptr (TWxString b) -> Ptr (TDateTime c) -> IO (Ptr (TDateProperty ()))
+
+-- | usage: (@dateTimeAddDate obj diff@).
+dateTimeAddDate :: DateTime  a -> Ptr  b ->  IO (DateTime  ())
+dateTimeAddDate _obj diff 
+  = withRefDateTime $ \pref -> 
+    withObjectRef "dateTimeAddDate" _obj $ \cobj__obj -> 
+    wxDateTime_AddDate cobj__obj  diff   pref
+foreign import ccall "wxDateTime_AddDate" wxDateTime_AddDate :: Ptr (TDateTime a) -> Ptr  b -> Ptr (TDateTime ()) -> IO ()
+
+-- | usage: (@dateTimeAddDateValues obj yrs mnt wek day@).
+dateTimeAddDateValues :: DateTime  a -> Int -> Int -> Int -> Int ->  IO ()
+dateTimeAddDateValues _obj _yrs _mnt _wek _day 
+  = withObjectRef "dateTimeAddDateValues" _obj $ \cobj__obj -> 
+    wxDateTime_AddDateValues cobj__obj  (toCInt _yrs)  (toCInt _mnt)  (toCInt _wek)  (toCInt _day)  
+foreign import ccall "wxDateTime_AddDateValues" wxDateTime_AddDateValues :: Ptr (TDateTime a) -> CInt -> CInt -> CInt -> CInt -> IO ()
+
+-- | usage: (@dateTimeAddTime obj diff@).
+dateTimeAddTime :: DateTime  a -> Ptr  b ->  IO (DateTime  ())
+dateTimeAddTime _obj diff 
+  = withRefDateTime $ \pref -> 
+    withObjectRef "dateTimeAddTime" _obj $ \cobj__obj -> 
+    wxDateTime_AddTime cobj__obj  diff   pref
+foreign import ccall "wxDateTime_AddTime" wxDateTime_AddTime :: Ptr (TDateTime a) -> Ptr  b -> Ptr (TDateTime ()) -> IO ()
+
+-- | usage: (@dateTimeAddTimeValues obj hrs min sec mls@).
+dateTimeAddTimeValues :: DateTime  a -> Int -> Int -> Int -> Int ->  IO ()
+dateTimeAddTimeValues _obj _hrs _min _sec _mls 
+  = withObjectRef "dateTimeAddTimeValues" _obj $ \cobj__obj -> 
+    wxDateTime_AddTimeValues cobj__obj  (toCInt _hrs)  (toCInt _min)  (toCInt _sec)  (toCInt _mls)  
+foreign import ccall "wxDateTime_AddTimeValues" wxDateTime_AddTimeValues :: Ptr (TDateTime a) -> CInt -> CInt -> CInt -> CInt -> IO ()
+
+-- | usage: (@dateTimeConvertYearToBC year@).
+dateTimeConvertYearToBC :: Int ->  IO Int
+dateTimeConvertYearToBC year 
+  = withIntResult $
+    wxDateTime_ConvertYearToBC (toCInt year)  
+foreign import ccall "wxDateTime_ConvertYearToBC" wxDateTime_ConvertYearToBC :: CInt -> IO CInt
+
+-- | usage: (@dateTimeCreate@).
+dateTimeCreate ::  IO (DateTime  ())
+dateTimeCreate 
+  = withManagedDateTimeResult $
+    wxDateTime_Create 
+foreign import ccall "wxDateTime_Create" wxDateTime_Create :: IO (Ptr (TDateTime ()))
+
+-- | usage: (@dateTimeDelete obj@).
+dateTimeDelete :: DateTime  a ->  IO ()
+dateTimeDelete
+  = dateTimeDelete
+
+
+-- | usage: (@dateTimeFormat obj format tz@).
+dateTimeFormat :: DateTime  a -> Ptr  b -> Int ->  IO (String)
+dateTimeFormat _obj format tz 
+  = withManagedStringResult $
+    withObjectRef "dateTimeFormat" _obj $ \cobj__obj -> 
+    wxDateTime_Format cobj__obj  format  (toCInt tz)  
+foreign import ccall "wxDateTime_Format" wxDateTime_Format :: Ptr (TDateTime a) -> Ptr  b -> CInt -> IO (Ptr (TWxString ()))
+
+-- | usage: (@dateTimeFormatDate obj@).
+dateTimeFormatDate :: DateTime  a ->  IO (String)
+dateTimeFormatDate _obj 
+  = withManagedStringResult $
+    withObjectRef "dateTimeFormatDate" _obj $ \cobj__obj -> 
+    wxDateTime_FormatDate cobj__obj  
+foreign import ccall "wxDateTime_FormatDate" wxDateTime_FormatDate :: Ptr (TDateTime a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@dateTimeFormatISODate obj@).
+dateTimeFormatISODate :: DateTime  a ->  IO (String)
+dateTimeFormatISODate _obj 
+  = withManagedStringResult $
+    withObjectRef "dateTimeFormatISODate" _obj $ \cobj__obj -> 
+    wxDateTime_FormatISODate cobj__obj  
+foreign import ccall "wxDateTime_FormatISODate" wxDateTime_FormatISODate :: Ptr (TDateTime a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@dateTimeFormatISOTime obj@).
+dateTimeFormatISOTime :: DateTime  a ->  IO (String)
+dateTimeFormatISOTime _obj 
+  = withManagedStringResult $
+    withObjectRef "dateTimeFormatISOTime" _obj $ \cobj__obj -> 
+    wxDateTime_FormatISOTime cobj__obj  
+foreign import ccall "wxDateTime_FormatISOTime" wxDateTime_FormatISOTime :: Ptr (TDateTime a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@dateTimeFormatTime obj@).
+dateTimeFormatTime :: DateTime  a ->  IO (String)
+dateTimeFormatTime _obj 
+  = withManagedStringResult $
+    withObjectRef "dateTimeFormatTime" _obj $ \cobj__obj -> 
+    wxDateTime_FormatTime cobj__obj  
+foreign import ccall "wxDateTime_FormatTime" wxDateTime_FormatTime :: Ptr (TDateTime a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@dateTimeGetAmString@).
+dateTimeGetAmString ::  IO (String)
+dateTimeGetAmString 
+  = withManagedStringResult $
+    wxDateTime_GetAmString 
+foreign import ccall "wxDateTime_GetAmString" wxDateTime_GetAmString :: IO (Ptr (TWxString ()))
+
+-- | usage: (@dateTimeGetBeginDST year country dt@).
+dateTimeGetBeginDST :: Int -> Int -> DateTime  c ->  IO ()
+dateTimeGetBeginDST year country dt 
+  = withObjectPtr dt $ \cobj_dt -> 
+    wxDateTime_GetBeginDST (toCInt year)  (toCInt country)  cobj_dt  
+foreign import ccall "wxDateTime_GetBeginDST" wxDateTime_GetBeginDST :: CInt -> CInt -> Ptr (TDateTime c) -> IO ()
+
+-- | usage: (@dateTimeGetCentury year@).
+dateTimeGetCentury :: Int ->  IO Int
+dateTimeGetCentury year 
+  = withIntResult $
+    wxDateTime_GetCentury (toCInt year)  
+foreign import ccall "wxDateTime_GetCentury" wxDateTime_GetCentury :: CInt -> IO CInt
+
+-- | usage: (@dateTimeGetCountry@).
+dateTimeGetCountry ::  IO Int
+dateTimeGetCountry 
+  = withIntResult $
+    wxDateTime_GetCountry 
+foreign import ccall "wxDateTime_GetCountry" wxDateTime_GetCountry :: IO CInt
+
+-- | usage: (@dateTimeGetCurrentMonth cal@).
+dateTimeGetCurrentMonth :: Int ->  IO Int
+dateTimeGetCurrentMonth cal 
+  = withIntResult $
+    wxDateTime_GetCurrentMonth (toCInt cal)  
+foreign import ccall "wxDateTime_GetCurrentMonth" wxDateTime_GetCurrentMonth :: CInt -> IO CInt
+
+-- | usage: (@dateTimeGetCurrentYear cal@).
+dateTimeGetCurrentYear :: Int ->  IO Int
+dateTimeGetCurrentYear cal 
+  = withIntResult $
+    wxDateTime_GetCurrentYear (toCInt cal)  
+foreign import ccall "wxDateTime_GetCurrentYear" wxDateTime_GetCurrentYear :: CInt -> IO CInt
+
+-- | usage: (@dateTimeGetDay obj tz@).
+dateTimeGetDay :: DateTime  a -> Int ->  IO Int
+dateTimeGetDay _obj tz 
+  = withIntResult $
+    withObjectRef "dateTimeGetDay" _obj $ \cobj__obj -> 
+    wxDateTime_GetDay cobj__obj  (toCInt tz)  
+foreign import ccall "wxDateTime_GetDay" wxDateTime_GetDay :: Ptr (TDateTime a) -> CInt -> IO CInt
+
+-- | usage: (@dateTimeGetDayOfYear obj tz@).
+dateTimeGetDayOfYear :: DateTime  a -> Int ->  IO Int
+dateTimeGetDayOfYear _obj tz 
+  = withIntResult $
+    withObjectRef "dateTimeGetDayOfYear" _obj $ \cobj__obj -> 
+    wxDateTime_GetDayOfYear cobj__obj  (toCInt tz)  
+foreign import ccall "wxDateTime_GetDayOfYear" wxDateTime_GetDayOfYear :: Ptr (TDateTime a) -> CInt -> IO CInt
+
+-- | usage: (@dateTimeGetEndDST year country dt@).
+dateTimeGetEndDST :: Int -> Int -> DateTime  c ->  IO ()
+dateTimeGetEndDST year country dt 
+  = withObjectPtr dt $ \cobj_dt -> 
+    wxDateTime_GetEndDST (toCInt year)  (toCInt country)  cobj_dt  
+foreign import ccall "wxDateTime_GetEndDST" wxDateTime_GetEndDST :: CInt -> CInt -> Ptr (TDateTime c) -> IO ()
+
+-- | usage: (@dateTimeGetHour obj tz@).
+dateTimeGetHour :: DateTime  a -> Int ->  IO Int
+dateTimeGetHour _obj tz 
+  = withIntResult $
+    withObjectRef "dateTimeGetHour" _obj $ \cobj__obj -> 
+    wxDateTime_GetHour cobj__obj  (toCInt tz)  
+foreign import ccall "wxDateTime_GetHour" wxDateTime_GetHour :: Ptr (TDateTime a) -> CInt -> IO CInt
+
+-- | usage: (@dateTimeGetLastMonthDay obj month year@).
+dateTimeGetLastMonthDay :: DateTime  a -> Int -> Int ->  IO (DateTime  ())
+dateTimeGetLastMonthDay _obj month year 
+  = withRefDateTime $ \pref -> 
+    withObjectRef "dateTimeGetLastMonthDay" _obj $ \cobj__obj -> 
+    wxDateTime_GetLastMonthDay cobj__obj  (toCInt month)  (toCInt year)   pref
+foreign import ccall "wxDateTime_GetLastMonthDay" wxDateTime_GetLastMonthDay :: Ptr (TDateTime a) -> CInt -> CInt -> Ptr (TDateTime ()) -> IO ()
+
+-- | usage: (@dateTimeGetLastWeekDay obj weekday month year@).
+dateTimeGetLastWeekDay :: DateTime  a -> Int -> Int -> Int ->  IO (DateTime  ())
+dateTimeGetLastWeekDay _obj weekday month year 
+  = withRefDateTime $ \pref -> 
+    withObjectRef "dateTimeGetLastWeekDay" _obj $ \cobj__obj -> 
+    wxDateTime_GetLastWeekDay cobj__obj  (toCInt weekday)  (toCInt month)  (toCInt year)   pref
+foreign import ccall "wxDateTime_GetLastWeekDay" wxDateTime_GetLastWeekDay :: Ptr (TDateTime a) -> CInt -> CInt -> CInt -> Ptr (TDateTime ()) -> IO ()
+
+-- | usage: (@dateTimeGetMillisecond obj tz@).
+dateTimeGetMillisecond :: DateTime  a -> Int ->  IO Int
+dateTimeGetMillisecond _obj tz 
+  = withIntResult $
+    withObjectRef "dateTimeGetMillisecond" _obj $ \cobj__obj -> 
+    wxDateTime_GetMillisecond cobj__obj  (toCInt tz)  
+foreign import ccall "wxDateTime_GetMillisecond" wxDateTime_GetMillisecond :: Ptr (TDateTime a) -> CInt -> IO CInt
+
+-- | usage: (@dateTimeGetMinute obj tz@).
+dateTimeGetMinute :: DateTime  a -> Int ->  IO Int
+dateTimeGetMinute _obj tz 
+  = withIntResult $
+    withObjectRef "dateTimeGetMinute" _obj $ \cobj__obj -> 
+    wxDateTime_GetMinute cobj__obj  (toCInt tz)  
+foreign import ccall "wxDateTime_GetMinute" wxDateTime_GetMinute :: Ptr (TDateTime a) -> CInt -> IO CInt
+
+-- | usage: (@dateTimeGetMonth obj tz@).
+dateTimeGetMonth :: DateTime  a -> Int ->  IO Int
+dateTimeGetMonth _obj tz 
+  = withIntResult $
+    withObjectRef "dateTimeGetMonth" _obj $ \cobj__obj -> 
+    wxDateTime_GetMonth cobj__obj  (toCInt tz)  
+foreign import ccall "wxDateTime_GetMonth" wxDateTime_GetMonth :: Ptr (TDateTime a) -> CInt -> IO CInt
+
+-- | usage: (@dateTimeGetMonthName month flags@).
+dateTimeGetMonthName :: Int -> Int ->  IO (String)
+dateTimeGetMonthName month flags 
+  = withManagedStringResult $
+    wxDateTime_GetMonthName (toCInt month)  (toCInt flags)  
+foreign import ccall "wxDateTime_GetMonthName" wxDateTime_GetMonthName :: CInt -> CInt -> IO (Ptr (TWxString ()))
+
+-- | usage: (@dateTimeGetNextWeekDay obj weekday@).
+dateTimeGetNextWeekDay :: DateTime  a -> Int ->  IO (DateTime  ())
+dateTimeGetNextWeekDay _obj weekday 
+  = withRefDateTime $ \pref -> 
+    withObjectRef "dateTimeGetNextWeekDay" _obj $ \cobj__obj -> 
+    wxDateTime_GetNextWeekDay cobj__obj  (toCInt weekday)   pref
+foreign import ccall "wxDateTime_GetNextWeekDay" wxDateTime_GetNextWeekDay :: Ptr (TDateTime a) -> CInt -> Ptr (TDateTime ()) -> IO ()
+
+-- | usage: (@dateTimeGetNumberOfDays year cal@).
+dateTimeGetNumberOfDays :: Int -> Int ->  IO Int
+dateTimeGetNumberOfDays year cal 
+  = withIntResult $
+    wxDateTime_GetNumberOfDays (toCInt year)  (toCInt cal)  
+foreign import ccall "wxDateTime_GetNumberOfDays" wxDateTime_GetNumberOfDays :: CInt -> CInt -> IO CInt
+
+-- | usage: (@dateTimeGetNumberOfDaysMonth month year cal@).
+dateTimeGetNumberOfDaysMonth :: Int -> Int -> Int ->  IO Int
+dateTimeGetNumberOfDaysMonth month year cal 
+  = withIntResult $
+    wxDateTime_GetNumberOfDaysMonth (toCInt month)  (toCInt year)  (toCInt cal)  
+foreign import ccall "wxDateTime_GetNumberOfDaysMonth" wxDateTime_GetNumberOfDaysMonth :: CInt -> CInt -> CInt -> IO CInt
+
+-- | usage: (@dateTimeGetPmString@).
+dateTimeGetPmString ::  IO (String)
+dateTimeGetPmString 
+  = withManagedStringResult $
+    wxDateTime_GetPmString 
+foreign import ccall "wxDateTime_GetPmString" wxDateTime_GetPmString :: IO (Ptr (TWxString ()))
+
+-- | usage: (@dateTimeGetPrevWeekDay obj weekday@).
+dateTimeGetPrevWeekDay :: DateTime  a -> Int ->  IO (DateTime  ())
+dateTimeGetPrevWeekDay _obj weekday 
+  = withRefDateTime $ \pref -> 
+    withObjectRef "dateTimeGetPrevWeekDay" _obj $ \cobj__obj -> 
+    wxDateTime_GetPrevWeekDay cobj__obj  (toCInt weekday)   pref
+foreign import ccall "wxDateTime_GetPrevWeekDay" wxDateTime_GetPrevWeekDay :: Ptr (TDateTime a) -> CInt -> Ptr (TDateTime ()) -> IO ()
+
+-- | usage: (@dateTimeGetSecond obj tz@).
+dateTimeGetSecond :: DateTime  a -> Int ->  IO Int
+dateTimeGetSecond _obj tz 
+  = withIntResult $
+    withObjectRef "dateTimeGetSecond" _obj $ \cobj__obj -> 
+    wxDateTime_GetSecond cobj__obj  (toCInt tz)  
+foreign import ccall "wxDateTime_GetSecond" wxDateTime_GetSecond :: Ptr (TDateTime a) -> CInt -> IO CInt
+
+-- | usage: (@dateTimeGetTicks obj@).
+dateTimeGetTicks :: DateTime  a ->  IO Int
+dateTimeGetTicks _obj 
+  = withIntResult $
+    withObjectRef "dateTimeGetTicks" _obj $ \cobj__obj -> 
+    wxDateTime_GetTicks cobj__obj  
+foreign import ccall "wxDateTime_GetTicks" wxDateTime_GetTicks :: Ptr (TDateTime a) -> IO CInt
+
+-- | usage: (@dateTimeGetTimeNow@).
+dateTimeGetTimeNow ::  IO Int
+dateTimeGetTimeNow 
+  = withIntResult $
+    wxDateTime_GetTimeNow 
+foreign import ccall "wxDateTime_GetTimeNow" wxDateTime_GetTimeNow :: IO CInt
+
+-- | usage: (@dateTimeGetValue obj hilong lolong@).
+dateTimeGetValue :: DateTime  a -> Ptr  b -> Ptr  c ->  IO ()
+dateTimeGetValue _obj hilong lolong 
+  = withObjectRef "dateTimeGetValue" _obj $ \cobj__obj -> 
+    wxDateTime_GetValue cobj__obj  hilong  lolong  
+foreign import ccall "wxDateTime_GetValue" wxDateTime_GetValue :: Ptr (TDateTime a) -> Ptr  b -> Ptr  c -> IO ()
+
+-- | usage: (@dateTimeGetWeekDay obj weekday n month year@).
+dateTimeGetWeekDay :: DateTime  a -> Int -> Int -> Int -> Int ->  IO (DateTime  ())
+dateTimeGetWeekDay _obj weekday n month year 
+  = withRefDateTime $ \pref -> 
+    withObjectRef "dateTimeGetWeekDay" _obj $ \cobj__obj -> 
+    wxDateTime_GetWeekDay cobj__obj  (toCInt weekday)  (toCInt n)  (toCInt month)  (toCInt year)   pref
+foreign import ccall "wxDateTime_GetWeekDay" wxDateTime_GetWeekDay :: Ptr (TDateTime a) -> CInt -> CInt -> CInt -> CInt -> Ptr (TDateTime ()) -> IO ()
+
+-- | usage: (@dateTimeGetWeekDayInSameWeek obj weekday@).
+dateTimeGetWeekDayInSameWeek :: DateTime  a -> Int ->  IO (DateTime  ())
+dateTimeGetWeekDayInSameWeek _obj weekday 
+  = withRefDateTime $ \pref -> 
+    withObjectRef "dateTimeGetWeekDayInSameWeek" _obj $ \cobj__obj -> 
+    wxDateTime_GetWeekDayInSameWeek cobj__obj  (toCInt weekday)   pref
+foreign import ccall "wxDateTime_GetWeekDayInSameWeek" wxDateTime_GetWeekDayInSameWeek :: Ptr (TDateTime a) -> CInt -> Ptr (TDateTime ()) -> IO ()
+
+-- | usage: (@dateTimeGetWeekDayName weekday flags@).
+dateTimeGetWeekDayName :: Int -> Int ->  IO (String)
+dateTimeGetWeekDayName weekday flags 
+  = withManagedStringResult $
+    wxDateTime_GetWeekDayName (toCInt weekday)  (toCInt flags)  
+foreign import ccall "wxDateTime_GetWeekDayName" wxDateTime_GetWeekDayName :: CInt -> CInt -> IO (Ptr (TWxString ()))
+
+-- | usage: (@dateTimeGetWeekDayTZ obj tz@).
+dateTimeGetWeekDayTZ :: DateTime  a -> Int ->  IO Int
+dateTimeGetWeekDayTZ _obj tz 
+  = withIntResult $
+    withObjectRef "dateTimeGetWeekDayTZ" _obj $ \cobj__obj -> 
+    wxDateTime_GetWeekDayTZ cobj__obj  (toCInt tz)  
+foreign import ccall "wxDateTime_GetWeekDayTZ" wxDateTime_GetWeekDayTZ :: Ptr (TDateTime a) -> CInt -> IO CInt
+
+-- | usage: (@dateTimeGetWeekOfMonth obj flags tz@).
+dateTimeGetWeekOfMonth :: DateTime  a -> Int -> Int ->  IO Int
+dateTimeGetWeekOfMonth _obj flags tz 
+  = withIntResult $
+    withObjectRef "dateTimeGetWeekOfMonth" _obj $ \cobj__obj -> 
+    wxDateTime_GetWeekOfMonth cobj__obj  (toCInt flags)  (toCInt tz)  
+foreign import ccall "wxDateTime_GetWeekOfMonth" wxDateTime_GetWeekOfMonth :: Ptr (TDateTime a) -> CInt -> CInt -> IO CInt
+
+-- | usage: (@dateTimeGetWeekOfYear obj flags tz@).
+dateTimeGetWeekOfYear :: DateTime  a -> Int -> Int ->  IO Int
+dateTimeGetWeekOfYear _obj flags tz 
+  = withIntResult $
+    withObjectRef "dateTimeGetWeekOfYear" _obj $ \cobj__obj -> 
+    wxDateTime_GetWeekOfYear cobj__obj  (toCInt flags)  (toCInt tz)  
+foreign import ccall "wxDateTime_GetWeekOfYear" wxDateTime_GetWeekOfYear :: Ptr (TDateTime a) -> CInt -> CInt -> IO CInt
+
+-- | usage: (@dateTimeGetYear obj tz@).
+dateTimeGetYear :: DateTime  a -> Int ->  IO Int
+dateTimeGetYear _obj tz 
+  = withIntResult $
+    withObjectRef "dateTimeGetYear" _obj $ \cobj__obj -> 
+    wxDateTime_GetYear cobj__obj  (toCInt tz)  
+foreign import ccall "wxDateTime_GetYear" wxDateTime_GetYear :: Ptr (TDateTime a) -> CInt -> IO CInt
+
+-- | usage: (@dateTimeIsBetween obj t1 t2@).
+dateTimeIsBetween :: DateTime  a -> DateTime  b -> DateTime  c ->  IO Bool
+dateTimeIsBetween _obj t1 t2 
+  = withBoolResult $
+    withObjectRef "dateTimeIsBetween" _obj $ \cobj__obj -> 
+    withObjectPtr t1 $ \cobj_t1 -> 
+    withObjectPtr t2 $ \cobj_t2 -> 
+    wxDateTime_IsBetween cobj__obj  cobj_t1  cobj_t2  
+foreign import ccall "wxDateTime_IsBetween" wxDateTime_IsBetween :: Ptr (TDateTime a) -> Ptr (TDateTime b) -> Ptr (TDateTime c) -> IO CBool
+
+-- | usage: (@dateTimeIsDST obj country@).
+dateTimeIsDST :: DateTime  a -> Int ->  IO Bool
+dateTimeIsDST _obj country 
+  = withBoolResult $
+    withObjectRef "dateTimeIsDST" _obj $ \cobj__obj -> 
+    wxDateTime_IsDST cobj__obj  (toCInt country)  
+foreign import ccall "wxDateTime_IsDST" wxDateTime_IsDST :: Ptr (TDateTime a) -> CInt -> IO CBool
+
+-- | usage: (@dateTimeIsDSTApplicable year country@).
+dateTimeIsDSTApplicable :: Int -> Int ->  IO Bool
+dateTimeIsDSTApplicable year country 
+  = withBoolResult $
+    wxDateTime_IsDSTApplicable (toCInt year)  (toCInt country)  
+foreign import ccall "wxDateTime_IsDSTApplicable" wxDateTime_IsDSTApplicable :: CInt -> CInt -> IO CBool
+
+-- | usage: (@dateTimeIsEarlierThan obj datetime@).
+dateTimeIsEarlierThan :: DateTime  a -> Ptr  b ->  IO Bool
+dateTimeIsEarlierThan _obj datetime 
+  = withBoolResult $
+    withObjectRef "dateTimeIsEarlierThan" _obj $ \cobj__obj -> 
+    wxDateTime_IsEarlierThan cobj__obj  datetime  
+foreign import ccall "wxDateTime_IsEarlierThan" wxDateTime_IsEarlierThan :: Ptr (TDateTime a) -> Ptr  b -> IO CBool
+
+-- | usage: (@dateTimeIsEqualTo obj datetime@).
+dateTimeIsEqualTo :: DateTime  a -> Ptr  b ->  IO Bool
+dateTimeIsEqualTo _obj datetime 
+  = withBoolResult $
+    withObjectRef "dateTimeIsEqualTo" _obj $ \cobj__obj -> 
+    wxDateTime_IsEqualTo cobj__obj  datetime  
+foreign import ccall "wxDateTime_IsEqualTo" wxDateTime_IsEqualTo :: Ptr (TDateTime a) -> Ptr  b -> IO CBool
+
+-- | usage: (@dateTimeIsEqualUpTo obj dt ts@).
+dateTimeIsEqualUpTo :: DateTime  a -> DateTime  b -> Ptr  c ->  IO Bool
+dateTimeIsEqualUpTo _obj dt ts 
+  = withBoolResult $
+    withObjectRef "dateTimeIsEqualUpTo" _obj $ \cobj__obj -> 
+    withObjectPtr dt $ \cobj_dt -> 
+    wxDateTime_IsEqualUpTo cobj__obj  cobj_dt  ts  
+foreign import ccall "wxDateTime_IsEqualUpTo" wxDateTime_IsEqualUpTo :: Ptr (TDateTime a) -> Ptr (TDateTime b) -> Ptr  c -> IO CBool
+
+-- | usage: (@dateTimeIsLaterThan obj datetime@).
+dateTimeIsLaterThan :: DateTime  a -> Ptr  b ->  IO Bool
+dateTimeIsLaterThan _obj datetime 
+  = withBoolResult $
+    withObjectRef "dateTimeIsLaterThan" _obj $ \cobj__obj -> 
+    wxDateTime_IsLaterThan cobj__obj  datetime  
+foreign import ccall "wxDateTime_IsLaterThan" wxDateTime_IsLaterThan :: Ptr (TDateTime a) -> Ptr  b -> IO CBool
+
+-- | usage: (@dateTimeIsLeapYear year cal@).
+dateTimeIsLeapYear :: Int -> Int ->  IO Bool
+dateTimeIsLeapYear year cal 
+  = withBoolResult $
+    wxDateTime_IsLeapYear (toCInt year)  (toCInt cal)  
+foreign import ccall "wxDateTime_IsLeapYear" wxDateTime_IsLeapYear :: CInt -> CInt -> IO CBool
+
+-- | usage: (@dateTimeIsSameDate obj dt@).
+dateTimeIsSameDate :: DateTime  a -> DateTime  b ->  IO Bool
+dateTimeIsSameDate _obj dt 
+  = withBoolResult $
+    withObjectRef "dateTimeIsSameDate" _obj $ \cobj__obj -> 
+    withObjectPtr dt $ \cobj_dt -> 
+    wxDateTime_IsSameDate cobj__obj  cobj_dt  
+foreign import ccall "wxDateTime_IsSameDate" wxDateTime_IsSameDate :: Ptr (TDateTime a) -> Ptr (TDateTime b) -> IO CBool
+
+-- | usage: (@dateTimeIsSameTime obj dt@).
+dateTimeIsSameTime :: DateTime  a -> DateTime  b ->  IO Bool
+dateTimeIsSameTime _obj dt 
+  = withBoolResult $
+    withObjectRef "dateTimeIsSameTime" _obj $ \cobj__obj -> 
+    withObjectPtr dt $ \cobj_dt -> 
+    wxDateTime_IsSameTime cobj__obj  cobj_dt  
+foreign import ccall "wxDateTime_IsSameTime" wxDateTime_IsSameTime :: Ptr (TDateTime a) -> Ptr (TDateTime b) -> IO CBool
+
+-- | usage: (@dateTimeIsStrictlyBetween obj t1 t2@).
+dateTimeIsStrictlyBetween :: DateTime  a -> DateTime  b -> DateTime  c ->  IO Bool
+dateTimeIsStrictlyBetween _obj t1 t2 
+  = withBoolResult $
+    withObjectRef "dateTimeIsStrictlyBetween" _obj $ \cobj__obj -> 
+    withObjectPtr t1 $ \cobj_t1 -> 
+    withObjectPtr t2 $ \cobj_t2 -> 
+    wxDateTime_IsStrictlyBetween cobj__obj  cobj_t1  cobj_t2  
+foreign import ccall "wxDateTime_IsStrictlyBetween" wxDateTime_IsStrictlyBetween :: Ptr (TDateTime a) -> Ptr (TDateTime b) -> Ptr (TDateTime c) -> IO CBool
+
+-- | usage: (@dateTimeIsValid obj@).
+dateTimeIsValid :: DateTime  a ->  IO Bool
+dateTimeIsValid _obj 
+  = withBoolResult $
+    withObjectRef "dateTimeIsValid" _obj $ \cobj__obj -> 
+    wxDateTime_IsValid cobj__obj  
+foreign import ccall "wxDateTime_IsValid" wxDateTime_IsValid :: Ptr (TDateTime a) -> IO CBool
+
+-- | usage: (@dateTimeIsWestEuropeanCountry country@).
+dateTimeIsWestEuropeanCountry :: Int ->  IO Bool
+dateTimeIsWestEuropeanCountry country 
+  = withBoolResult $
+    wxDateTime_IsWestEuropeanCountry (toCInt country)  
+foreign import ccall "wxDateTime_IsWestEuropeanCountry" wxDateTime_IsWestEuropeanCountry :: CInt -> IO CBool
+
+-- | usage: (@dateTimeIsWorkDay obj country@).
+dateTimeIsWorkDay :: DateTime  a -> Int ->  IO Bool
+dateTimeIsWorkDay _obj country 
+  = withBoolResult $
+    withObjectRef "dateTimeIsWorkDay" _obj $ \cobj__obj -> 
+    wxDateTime_IsWorkDay cobj__obj  (toCInt country)  
+foreign import ccall "wxDateTime_IsWorkDay" wxDateTime_IsWorkDay :: Ptr (TDateTime a) -> CInt -> IO CBool
+
+-- | usage: (@dateTimeMakeGMT obj noDST@).
+dateTimeMakeGMT :: DateTime  a -> Int ->  IO ()
+dateTimeMakeGMT _obj noDST 
+  = withObjectRef "dateTimeMakeGMT" _obj $ \cobj__obj -> 
+    wxDateTime_MakeGMT cobj__obj  (toCInt noDST)  
+foreign import ccall "wxDateTime_MakeGMT" wxDateTime_MakeGMT :: Ptr (TDateTime a) -> CInt -> IO ()
+
+-- | usage: (@dateTimeMakeTimezone obj tz noDST@).
+dateTimeMakeTimezone :: DateTime  a -> Int -> Int ->  IO ()
+dateTimeMakeTimezone _obj tz noDST 
+  = withObjectRef "dateTimeMakeTimezone" _obj $ \cobj__obj -> 
+    wxDateTime_MakeTimezone cobj__obj  (toCInt tz)  (toCInt noDST)  
+foreign import ccall "wxDateTime_MakeTimezone" wxDateTime_MakeTimezone :: Ptr (TDateTime a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@dateTimeNow dt@).
+dateTimeNow :: DateTime  a ->  IO ()
+dateTimeNow dt 
+  = withObjectRef "dateTimeNow" dt $ \cobj_dt -> 
+    wxDateTime_Now cobj_dt  
+foreign import ccall "wxDateTime_Now" wxDateTime_Now :: Ptr (TDateTime a) -> IO ()
+
+-- | usage: (@dateTimeParseDate obj date@).
+dateTimeParseDate :: DateTime  a -> Ptr  b ->  IO (Ptr  ())
+dateTimeParseDate _obj date 
+  = withObjectRef "dateTimeParseDate" _obj $ \cobj__obj -> 
+    wxDateTime_ParseDate cobj__obj  date  
+foreign import ccall "wxDateTime_ParseDate" wxDateTime_ParseDate :: Ptr (TDateTime a) -> Ptr  b -> IO (Ptr  ())
+
+-- | usage: (@dateTimeParseDateTime obj datetime@).
+dateTimeParseDateTime :: DateTime  a -> Ptr  b ->  IO (Ptr  ())
+dateTimeParseDateTime _obj datetime 
+  = withObjectRef "dateTimeParseDateTime" _obj $ \cobj__obj -> 
+    wxDateTime_ParseDateTime cobj__obj  datetime  
+foreign import ccall "wxDateTime_ParseDateTime" wxDateTime_ParseDateTime :: Ptr (TDateTime a) -> Ptr  b -> IO (Ptr  ())
+
+-- | usage: (@dateTimeParseFormat obj date format dateDef@).
+dateTimeParseFormat :: DateTime  a -> Ptr  b -> Ptr  c -> Ptr  d ->  IO (Ptr  ())
+dateTimeParseFormat _obj date format dateDef 
+  = withObjectRef "dateTimeParseFormat" _obj $ \cobj__obj -> 
+    wxDateTime_ParseFormat cobj__obj  date  format  dateDef  
+foreign import ccall "wxDateTime_ParseFormat" wxDateTime_ParseFormat :: Ptr (TDateTime a) -> Ptr  b -> Ptr  c -> Ptr  d -> IO (Ptr  ())
+
+-- | usage: (@dateTimeParseRfc822Date obj date@).
+dateTimeParseRfc822Date :: DateTime  a -> Ptr  b ->  IO (Ptr  ())
+dateTimeParseRfc822Date _obj date 
+  = withObjectRef "dateTimeParseRfc822Date" _obj $ \cobj__obj -> 
+    wxDateTime_ParseRfc822Date cobj__obj  date  
+foreign import ccall "wxDateTime_ParseRfc822Date" wxDateTime_ParseRfc822Date :: Ptr (TDateTime a) -> Ptr  b -> IO (Ptr  ())
+
+-- | usage: (@dateTimeParseTime obj time@).
+dateTimeParseTime :: DateTime  a -> Time  b ->  IO (Ptr  ())
+dateTimeParseTime _obj time 
+  = withObjectRef "dateTimeParseTime" _obj $ \cobj__obj -> 
+    withObjectPtr time $ \cobj_time -> 
+    wxDateTime_ParseTime cobj__obj  cobj_time  
+foreign import ccall "wxDateTime_ParseTime" wxDateTime_ParseTime :: Ptr (TDateTime a) -> Ptr (TTime b) -> IO (Ptr  ())
+
+-- | usage: (@dateTimeResetTime obj@).
+dateTimeResetTime :: DateTime  a ->  IO ()
+dateTimeResetTime _obj 
+  = withObjectRef "dateTimeResetTime" _obj $ \cobj__obj -> 
+    wxDateTime_ResetTime cobj__obj  
+foreign import ccall "wxDateTime_ResetTime" wxDateTime_ResetTime :: Ptr (TDateTime a) -> IO ()
+
+-- | usage: (@dateTimeSet obj day month year hour minute second millisec@).
+dateTimeSet :: DateTime  a -> Int -> Int -> Int -> Int -> Int -> Int -> Int ->  IO ()
+dateTimeSet _obj day month year hour minute second millisec 
+  = withObjectRef "dateTimeSet" _obj $ \cobj__obj -> 
+    wxDateTime_Set cobj__obj  (toCInt day)  (toCInt month)  (toCInt year)  (toCInt hour)  (toCInt minute)  (toCInt second)  (toCInt millisec)  
+foreign import ccall "wxDateTime_Set" wxDateTime_Set :: Ptr (TDateTime a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO ()
+
+-- | usage: (@dateTimeSetCountry country@).
+dateTimeSetCountry :: Int ->  IO ()
+dateTimeSetCountry country 
+  = wxDateTime_SetCountry (toCInt country)  
+foreign import ccall "wxDateTime_SetCountry" wxDateTime_SetCountry :: CInt -> IO ()
+
+-- | usage: (@dateTimeSetDay obj day@).
+dateTimeSetDay :: DateTime  a -> Int ->  IO ()
+dateTimeSetDay _obj day 
+  = withObjectRef "dateTimeSetDay" _obj $ \cobj__obj -> 
+    wxDateTime_SetDay cobj__obj  (toCInt day)  
+foreign import ccall "wxDateTime_SetDay" wxDateTime_SetDay :: Ptr (TDateTime a) -> CInt -> IO ()
+
+-- | usage: (@dateTimeSetHour obj hour@).
+dateTimeSetHour :: DateTime  a -> Int ->  IO ()
+dateTimeSetHour _obj hour 
+  = withObjectRef "dateTimeSetHour" _obj $ \cobj__obj -> 
+    wxDateTime_SetHour cobj__obj  (toCInt hour)  
+foreign import ccall "wxDateTime_SetHour" wxDateTime_SetHour :: Ptr (TDateTime a) -> CInt -> IO ()
+
+-- | usage: (@dateTimeSetMillisecond obj millisecond@).
+dateTimeSetMillisecond :: DateTime  a -> Int ->  IO ()
+dateTimeSetMillisecond _obj millisecond 
+  = withObjectRef "dateTimeSetMillisecond" _obj $ \cobj__obj -> 
+    wxDateTime_SetMillisecond cobj__obj  (toCInt millisecond)  
+foreign import ccall "wxDateTime_SetMillisecond" wxDateTime_SetMillisecond :: Ptr (TDateTime a) -> CInt -> IO ()
+
+-- | usage: (@dateTimeSetMinute obj minute@).
+dateTimeSetMinute :: DateTime  a -> Int ->  IO ()
+dateTimeSetMinute _obj minute 
+  = withObjectRef "dateTimeSetMinute" _obj $ \cobj__obj -> 
+    wxDateTime_SetMinute cobj__obj  (toCInt minute)  
+foreign import ccall "wxDateTime_SetMinute" wxDateTime_SetMinute :: Ptr (TDateTime a) -> CInt -> IO ()
+
+-- | usage: (@dateTimeSetMonth obj month@).
+dateTimeSetMonth :: DateTime  a -> Int ->  IO ()
+dateTimeSetMonth _obj month 
+  = withObjectRef "dateTimeSetMonth" _obj $ \cobj__obj -> 
+    wxDateTime_SetMonth cobj__obj  (toCInt month)  
+foreign import ccall "wxDateTime_SetMonth" wxDateTime_SetMonth :: Ptr (TDateTime a) -> CInt -> IO ()
+
+-- | usage: (@dateTimeSetSecond obj second@).
+dateTimeSetSecond :: DateTime  a -> Int ->  IO ()
+dateTimeSetSecond _obj second 
+  = withObjectRef "dateTimeSetSecond" _obj $ \cobj__obj -> 
+    wxDateTime_SetSecond cobj__obj  (toCInt second)  
+foreign import ccall "wxDateTime_SetSecond" wxDateTime_SetSecond :: Ptr (TDateTime a) -> CInt -> IO ()
+
+-- | usage: (@dateTimeSetTime obj hour minute second millisec@).
+dateTimeSetTime :: DateTime  a -> Int -> Int -> Int -> Int ->  IO ()
+dateTimeSetTime _obj hour minute second millisec 
+  = withObjectRef "dateTimeSetTime" _obj $ \cobj__obj -> 
+    wxDateTime_SetTime cobj__obj  (toCInt hour)  (toCInt minute)  (toCInt second)  (toCInt millisec)  
+foreign import ccall "wxDateTime_SetTime" wxDateTime_SetTime :: Ptr (TDateTime a) -> CInt -> CInt -> CInt -> CInt -> IO ()
+
+-- | usage: (@dateTimeSetToCurrent obj@).
+dateTimeSetToCurrent :: DateTime  a ->  IO ()
+dateTimeSetToCurrent _obj 
+  = withObjectRef "dateTimeSetToCurrent" _obj $ \cobj__obj -> 
+    wxDateTime_SetToCurrent cobj__obj  
+foreign import ccall "wxDateTime_SetToCurrent" wxDateTime_SetToCurrent :: Ptr (TDateTime a) -> IO ()
+
+-- | usage: (@dateTimeSetToLastMonthDay obj month year@).
+dateTimeSetToLastMonthDay :: DateTime  a -> Int -> Int ->  IO ()
+dateTimeSetToLastMonthDay _obj month year 
+  = withObjectRef "dateTimeSetToLastMonthDay" _obj $ \cobj__obj -> 
+    wxDateTime_SetToLastMonthDay cobj__obj  (toCInt month)  (toCInt year)  
+foreign import ccall "wxDateTime_SetToLastMonthDay" wxDateTime_SetToLastMonthDay :: Ptr (TDateTime a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@dateTimeSetToLastWeekDay obj weekday month year@).
+dateTimeSetToLastWeekDay :: DateTime  a -> Int -> Int -> Int ->  IO Bool
+dateTimeSetToLastWeekDay _obj weekday month year 
+  = withBoolResult $
+    withObjectRef "dateTimeSetToLastWeekDay" _obj $ \cobj__obj -> 
+    wxDateTime_SetToLastWeekDay cobj__obj  (toCInt weekday)  (toCInt month)  (toCInt year)  
+foreign import ccall "wxDateTime_SetToLastWeekDay" wxDateTime_SetToLastWeekDay :: Ptr (TDateTime a) -> CInt -> CInt -> CInt -> IO CBool
+
+-- | usage: (@dateTimeSetToNextWeekDay obj weekday@).
+dateTimeSetToNextWeekDay :: DateTime  a -> Int ->  IO ()
+dateTimeSetToNextWeekDay _obj weekday 
+  = withObjectRef "dateTimeSetToNextWeekDay" _obj $ \cobj__obj -> 
+    wxDateTime_SetToNextWeekDay cobj__obj  (toCInt weekday)  
+foreign import ccall "wxDateTime_SetToNextWeekDay" wxDateTime_SetToNextWeekDay :: Ptr (TDateTime a) -> CInt -> IO ()
+
+-- | usage: (@dateTimeSetToPrevWeekDay obj weekday@).
+dateTimeSetToPrevWeekDay :: DateTime  a -> Int ->  IO ()
+dateTimeSetToPrevWeekDay _obj weekday 
+  = withObjectRef "dateTimeSetToPrevWeekDay" _obj $ \cobj__obj -> 
+    wxDateTime_SetToPrevWeekDay cobj__obj  (toCInt weekday)  
+foreign import ccall "wxDateTime_SetToPrevWeekDay" wxDateTime_SetToPrevWeekDay :: Ptr (TDateTime a) -> CInt -> IO ()
+
+-- | usage: (@dateTimeSetToWeekDay obj weekday n month year@).
+dateTimeSetToWeekDay :: DateTime  a -> Int -> Int -> Int -> Int ->  IO Bool
+dateTimeSetToWeekDay _obj weekday n month year 
+  = withBoolResult $
+    withObjectRef "dateTimeSetToWeekDay" _obj $ \cobj__obj -> 
+    wxDateTime_SetToWeekDay cobj__obj  (toCInt weekday)  (toCInt n)  (toCInt month)  (toCInt year)  
+foreign import ccall "wxDateTime_SetToWeekDay" wxDateTime_SetToWeekDay :: Ptr (TDateTime a) -> CInt -> CInt -> CInt -> CInt -> IO CBool
+
+-- | usage: (@dateTimeSetToWeekDayInSameWeek obj weekday@).
+dateTimeSetToWeekDayInSameWeek :: DateTime  a -> Int ->  IO ()
+dateTimeSetToWeekDayInSameWeek _obj weekday 
+  = withObjectRef "dateTimeSetToWeekDayInSameWeek" _obj $ \cobj__obj -> 
+    wxDateTime_SetToWeekDayInSameWeek cobj__obj  (toCInt weekday)  
+foreign import ccall "wxDateTime_SetToWeekDayInSameWeek" wxDateTime_SetToWeekDayInSameWeek :: Ptr (TDateTime a) -> CInt -> IO ()
+
+-- | usage: (@dateTimeSetYear obj year@).
+dateTimeSetYear :: DateTime  a -> Int ->  IO ()
+dateTimeSetYear _obj year 
+  = withObjectRef "dateTimeSetYear" _obj $ \cobj__obj -> 
+    wxDateTime_SetYear cobj__obj  (toCInt year)  
+foreign import ccall "wxDateTime_SetYear" wxDateTime_SetYear :: Ptr (TDateTime a) -> CInt -> IO ()
+
+-- | usage: (@dateTimeSubtractDate obj diff@).
+dateTimeSubtractDate :: DateTime  a -> Ptr  b ->  IO (DateTime  ())
+dateTimeSubtractDate _obj diff 
+  = withRefDateTime $ \pref -> 
+    withObjectRef "dateTimeSubtractDate" _obj $ \cobj__obj -> 
+    wxDateTime_SubtractDate cobj__obj  diff   pref
+foreign import ccall "wxDateTime_SubtractDate" wxDateTime_SubtractDate :: Ptr (TDateTime a) -> Ptr  b -> Ptr (TDateTime ()) -> IO ()
+
+-- | usage: (@dateTimeSubtractTime obj diff@).
+dateTimeSubtractTime :: DateTime  a -> Ptr  b ->  IO (DateTime  ())
+dateTimeSubtractTime _obj diff 
+  = withRefDateTime $ \pref -> 
+    withObjectRef "dateTimeSubtractTime" _obj $ \cobj__obj -> 
+    wxDateTime_SubtractTime cobj__obj  diff   pref
+foreign import ccall "wxDateTime_SubtractTime" wxDateTime_SubtractTime :: Ptr (TDateTime a) -> Ptr  b -> Ptr (TDateTime ()) -> IO ()
+
+-- | usage: (@dateTimeToGMT obj noDST@).
+dateTimeToGMT :: DateTime  a -> Int ->  IO ()
+dateTimeToGMT _obj noDST 
+  = withObjectRef "dateTimeToGMT" _obj $ \cobj__obj -> 
+    wxDateTime_ToGMT cobj__obj  (toCInt noDST)  
+foreign import ccall "wxDateTime_ToGMT" wxDateTime_ToGMT :: Ptr (TDateTime a) -> CInt -> IO ()
+
+-- | usage: (@dateTimeToTimezone obj tz noDST@).
+dateTimeToTimezone :: DateTime  a -> Int -> Int ->  IO ()
+dateTimeToTimezone _obj tz noDST 
+  = withObjectRef "dateTimeToTimezone" _obj $ \cobj__obj -> 
+    wxDateTime_ToTimezone cobj__obj  (toCInt tz)  (toCInt noDST)  
+foreign import ccall "wxDateTime_ToTimezone" wxDateTime_ToTimezone :: Ptr (TDateTime a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@dateTimeToday dt@).
+dateTimeToday :: DateTime  a ->  IO ()
+dateTimeToday dt 
+  = withObjectRef "dateTimeToday" dt $ \cobj_dt -> 
+    wxDateTime_Today cobj_dt  
+foreign import ccall "wxDateTime_Today" wxDateTime_Today :: Ptr (TDateTime a) -> IO ()
+
+-- | usage: (@dateTimeUNow dt@).
+dateTimeUNow :: DateTime  a ->  IO ()
+dateTimeUNow dt 
+  = withObjectRef "dateTimeUNow" dt $ \cobj_dt -> 
+    wxDateTime_UNow cobj_dt  
+foreign import ccall "wxDateTime_UNow" wxDateTime_UNow :: Ptr (TDateTime a) -> IO ()
+
+-- | usage: (@dateTimewxDateTime hilong lolong@).
+dateTimewxDateTime :: Int -> Int ->  IO (Ptr  ())
+dateTimewxDateTime hilong lolong 
+  = wxDateTime_wxDateTime (toCInt hilong)  (toCInt lolong)  
+foreign import ccall "wxDateTime_wxDateTime" wxDateTime_wxDateTime :: CInt -> CInt -> IO (Ptr  ())
+
+-- | usage: (@dcBlit obj xdestydestwidthheight source xsrcysrc rop useMask@).
+dcBlit :: DC  a -> Rect -> DC  c -> Point -> Int -> Bool ->  IO Bool
+dcBlit _obj xdestydestwidthheight source xsrcysrc rop useMask 
+  = withBoolResult $
+    withObjectRef "dcBlit" _obj $ \cobj__obj -> 
+    withObjectPtr source $ \cobj_source -> 
+    wxDC_Blit cobj__obj  (toCIntRectX xdestydestwidthheight) (toCIntRectY xdestydestwidthheight)(toCIntRectW xdestydestwidthheight) (toCIntRectH xdestydestwidthheight)  cobj_source  (toCIntPointX xsrcysrc) (toCIntPointY xsrcysrc)  (toCInt rop)  (toCBool useMask)  
+foreign import ccall "wxDC_Blit" wxDC_Blit :: Ptr (TDC a) -> CInt -> CInt -> CInt -> CInt -> Ptr (TDC c) -> CInt -> CInt -> CInt -> CBool -> IO CBool
+
+-- | usage: (@dcCalcBoundingBox obj xy@).
+dcCalcBoundingBox :: DC  a -> Point ->  IO ()
+dcCalcBoundingBox _obj xy 
+  = withObjectRef "dcCalcBoundingBox" _obj $ \cobj__obj -> 
+    wxDC_CalcBoundingBox cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  
+foreign import ccall "wxDC_CalcBoundingBox" wxDC_CalcBoundingBox :: Ptr (TDC a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@dcCanDrawBitmap obj@).
+dcCanDrawBitmap :: DC  a ->  IO Bool
+dcCanDrawBitmap _obj 
+  = withBoolResult $
+    withObjectRef "dcCanDrawBitmap" _obj $ \cobj__obj -> 
+    wxDC_CanDrawBitmap cobj__obj  
+foreign import ccall "wxDC_CanDrawBitmap" wxDC_CanDrawBitmap :: Ptr (TDC a) -> IO CBool
+
+-- | usage: (@dcCanGetTextExtent obj@).
+dcCanGetTextExtent :: DC  a ->  IO Bool
+dcCanGetTextExtent _obj 
+  = withBoolResult $
+    withObjectRef "dcCanGetTextExtent" _obj $ \cobj__obj -> 
+    wxDC_CanGetTextExtent cobj__obj  
+foreign import ccall "wxDC_CanGetTextExtent" wxDC_CanGetTextExtent :: Ptr (TDC a) -> IO CBool
+
+-- | usage: (@dcClear obj@).
+dcClear :: DC  a ->  IO ()
+dcClear _obj 
+  = withObjectRef "dcClear" _obj $ \cobj__obj -> 
+    wxDC_Clear cobj__obj  
+foreign import ccall "wxDC_Clear" wxDC_Clear :: Ptr (TDC a) -> IO ()
+
+-- | usage: (@dcComputeScaleAndOrigin obj@).
+dcComputeScaleAndOrigin :: DC  a ->  IO ()
+dcComputeScaleAndOrigin obj 
+  = withObjectRef "dcComputeScaleAndOrigin" obj $ \cobj_obj -> 
+    wxDC_ComputeScaleAndOrigin cobj_obj  
+foreign import ccall "wxDC_ComputeScaleAndOrigin" wxDC_ComputeScaleAndOrigin :: Ptr (TDC a) -> IO ()
+
+-- | usage: (@dcCrossHair obj xy@).
+dcCrossHair :: DC  a -> Point ->  IO ()
+dcCrossHair _obj xy 
+  = withObjectRef "dcCrossHair" _obj $ \cobj__obj -> 
+    wxDC_CrossHair cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  
+foreign import ccall "wxDC_CrossHair" wxDC_CrossHair :: Ptr (TDC a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@dcDelete obj@).
+dcDelete :: DC  a ->  IO ()
+dcDelete
+  = objectDelete
+
+
+-- | usage: (@dcDestroyClippingRegion obj@).
+dcDestroyClippingRegion :: DC  a ->  IO ()
+dcDestroyClippingRegion _obj 
+  = withObjectRef "dcDestroyClippingRegion" _obj $ \cobj__obj -> 
+    wxDC_DestroyClippingRegion cobj__obj  
+foreign import ccall "wxDC_DestroyClippingRegion" wxDC_DestroyClippingRegion :: Ptr (TDC a) -> IO ()
+
+-- | usage: (@dcDeviceToLogicalX obj x@).
+dcDeviceToLogicalX :: DC  a -> Int ->  IO Int
+dcDeviceToLogicalX _obj x 
+  = withIntResult $
+    withObjectRef "dcDeviceToLogicalX" _obj $ \cobj__obj -> 
+    wxDC_DeviceToLogicalX cobj__obj  (toCInt x)  
+foreign import ccall "wxDC_DeviceToLogicalX" wxDC_DeviceToLogicalX :: Ptr (TDC a) -> CInt -> IO CInt
+
+-- | usage: (@dcDeviceToLogicalXRel obj x@).
+dcDeviceToLogicalXRel :: DC  a -> Int ->  IO Int
+dcDeviceToLogicalXRel _obj x 
+  = withIntResult $
+    withObjectRef "dcDeviceToLogicalXRel" _obj $ \cobj__obj -> 
+    wxDC_DeviceToLogicalXRel cobj__obj  (toCInt x)  
+foreign import ccall "wxDC_DeviceToLogicalXRel" wxDC_DeviceToLogicalXRel :: Ptr (TDC a) -> CInt -> IO CInt
+
+-- | usage: (@dcDeviceToLogicalY obj y@).
+dcDeviceToLogicalY :: DC  a -> Int ->  IO Int
+dcDeviceToLogicalY _obj y 
+  = withIntResult $
+    withObjectRef "dcDeviceToLogicalY" _obj $ \cobj__obj -> 
+    wxDC_DeviceToLogicalY cobj__obj  (toCInt y)  
+foreign import ccall "wxDC_DeviceToLogicalY" wxDC_DeviceToLogicalY :: Ptr (TDC a) -> CInt -> IO CInt
+
+-- | usage: (@dcDeviceToLogicalYRel obj y@).
+dcDeviceToLogicalYRel :: DC  a -> Int ->  IO Int
+dcDeviceToLogicalYRel _obj y 
+  = withIntResult $
+    withObjectRef "dcDeviceToLogicalYRel" _obj $ \cobj__obj -> 
+    wxDC_DeviceToLogicalYRel cobj__obj  (toCInt y)  
+foreign import ccall "wxDC_DeviceToLogicalYRel" wxDC_DeviceToLogicalYRel :: Ptr (TDC a) -> CInt -> IO CInt
+
+-- | usage: (@dcDrawArc obj x1y1 x2y2 xcyc@).
+dcDrawArc :: DC  a -> Point -> Point -> Point ->  IO ()
+dcDrawArc _obj x1y1 x2y2 xcyc 
+  = withObjectRef "dcDrawArc" _obj $ \cobj__obj -> 
+    wxDC_DrawArc cobj__obj  (toCIntPointX x1y1) (toCIntPointY x1y1)  (toCIntPointX x2y2) (toCIntPointY x2y2)  (toCIntPointX xcyc) (toCIntPointY xcyc)  
+foreign import ccall "wxDC_DrawArc" wxDC_DrawArc :: Ptr (TDC a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO ()
+
+-- | usage: (@dcDrawBitmap obj bmp xy useMask@).
+dcDrawBitmap :: DC  a -> Bitmap  b -> Point -> Bool ->  IO ()
+dcDrawBitmap _obj bmp xy useMask 
+  = withObjectRef "dcDrawBitmap" _obj $ \cobj__obj -> 
+    withObjectPtr bmp $ \cobj_bmp -> 
+    wxDC_DrawBitmap cobj__obj  cobj_bmp  (toCIntPointX xy) (toCIntPointY xy)  (toCBool useMask)  
+foreign import ccall "wxDC_DrawBitmap" wxDC_DrawBitmap :: Ptr (TDC a) -> Ptr (TBitmap b) -> CInt -> CInt -> CBool -> IO ()
+
+-- | usage: (@dcDrawCheckMark obj xywidthheight@).
+dcDrawCheckMark :: DC  a -> Rect ->  IO ()
+dcDrawCheckMark _obj xywidthheight 
+  = withObjectRef "dcDrawCheckMark" _obj $ \cobj__obj -> 
+    wxDC_DrawCheckMark cobj__obj  (toCIntRectX xywidthheight) (toCIntRectY xywidthheight)(toCIntRectW xywidthheight) (toCIntRectH xywidthheight)  
+foreign import ccall "wxDC_DrawCheckMark" wxDC_DrawCheckMark :: Ptr (TDC a) -> CInt -> CInt -> CInt -> CInt -> IO ()
+
+-- | usage: (@dcDrawCircle obj xy radius@).
+dcDrawCircle :: DC  a -> Point -> Int ->  IO ()
+dcDrawCircle _obj xy radius 
+  = withObjectRef "dcDrawCircle" _obj $ \cobj__obj -> 
+    wxDC_DrawCircle cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  (toCInt radius)  
+foreign import ccall "wxDC_DrawCircle" wxDC_DrawCircle :: Ptr (TDC a) -> CInt -> CInt -> CInt -> IO ()
+
+-- | usage: (@dcDrawEllipse obj xywidthheight@).
+dcDrawEllipse :: DC  a -> Rect ->  IO ()
+dcDrawEllipse _obj xywidthheight 
+  = withObjectRef "dcDrawEllipse" _obj $ \cobj__obj -> 
+    wxDC_DrawEllipse cobj__obj  (toCIntRectX xywidthheight) (toCIntRectY xywidthheight)(toCIntRectW xywidthheight) (toCIntRectH xywidthheight)  
+foreign import ccall "wxDC_DrawEllipse" wxDC_DrawEllipse :: Ptr (TDC a) -> CInt -> CInt -> CInt -> CInt -> IO ()
+
+-- | usage: (@dcDrawEllipticArc obj xywh sa ea@).
+dcDrawEllipticArc :: DC  a -> Rect -> Double -> Double ->  IO ()
+dcDrawEllipticArc _obj xywh sa ea 
+  = withObjectRef "dcDrawEllipticArc" _obj $ \cobj__obj -> 
+    wxDC_DrawEllipticArc cobj__obj  (toCIntRectX xywh) (toCIntRectY xywh)(toCIntRectW xywh) (toCIntRectH xywh)  sa  ea  
+foreign import ccall "wxDC_DrawEllipticArc" wxDC_DrawEllipticArc :: Ptr (TDC a) -> CInt -> CInt -> CInt -> CInt -> Double -> Double -> IO ()
+
+-- | usage: (@dcDrawIcon obj icon xy@).
+dcDrawIcon :: DC  a -> Icon  b -> Point ->  IO ()
+dcDrawIcon _obj icon xy 
+  = withObjectRef "dcDrawIcon" _obj $ \cobj__obj -> 
+    withObjectPtr icon $ \cobj_icon -> 
+    wxDC_DrawIcon cobj__obj  cobj_icon  (toCIntPointX xy) (toCIntPointY xy)  
+foreign import ccall "wxDC_DrawIcon" wxDC_DrawIcon :: Ptr (TDC a) -> Ptr (TIcon b) -> CInt -> CInt -> IO ()
+
+-- | usage: (@dcDrawLabel obj str xywh align indexAccel@).
+dcDrawLabel :: DC  a -> String -> Rect -> Int -> Int ->  IO ()
+dcDrawLabel _obj str xywh align indexAccel 
+  = withObjectRef "dcDrawLabel" _obj $ \cobj__obj -> 
+    withStringPtr str $ \cobj_str -> 
+    wxDC_DrawLabel cobj__obj  cobj_str  (toCIntRectX xywh) (toCIntRectY xywh)(toCIntRectW xywh) (toCIntRectH xywh)  (toCInt align)  (toCInt indexAccel)  
+foreign import ccall "wxDC_DrawLabel" wxDC_DrawLabel :: Ptr (TDC a) -> Ptr (TWxString b) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO ()
+
+-- | usage: (@dcDrawLabelBitmap obj str bmp xywh align indexAccel@).
+dcDrawLabelBitmap :: DC  a -> String -> Bitmap  c -> Rect -> Int -> Int ->  IO (Rect)
+dcDrawLabelBitmap _obj str bmp xywh align indexAccel 
+  = withWxRectResult $
+    withObjectRef "dcDrawLabelBitmap" _obj $ \cobj__obj -> 
+    withStringPtr str $ \cobj_str -> 
+    withObjectPtr bmp $ \cobj_bmp -> 
+    wxDC_DrawLabelBitmap cobj__obj  cobj_str  cobj_bmp  (toCIntRectX xywh) (toCIntRectY xywh)(toCIntRectW xywh) (toCIntRectH xywh)  (toCInt align)  (toCInt indexAccel)  
+foreign import ccall "wxDC_DrawLabelBitmap" wxDC_DrawLabelBitmap :: Ptr (TDC a) -> Ptr (TWxString b) -> Ptr (TBitmap c) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TWxRect ()))
+
+-- | usage: (@dcDrawLine obj x1y1 x2y2@).
+dcDrawLine :: DC  a -> Point -> Point ->  IO ()
+dcDrawLine _obj x1y1 x2y2 
+  = withObjectRef "dcDrawLine" _obj $ \cobj__obj -> 
+    wxDC_DrawLine cobj__obj  (toCIntPointX x1y1) (toCIntPointY x1y1)  (toCIntPointX x2y2) (toCIntPointY x2y2)  
+foreign import ccall "wxDC_DrawLine" wxDC_DrawLine :: Ptr (TDC a) -> CInt -> CInt -> CInt -> CInt -> IO ()
+
+-- | usage: (@dcDrawLines obj n x y xoffsetyoffset@).
+dcDrawLines :: DC  a -> Int -> Ptr  c -> Ptr  d -> Point ->  IO ()
+dcDrawLines _obj n x y xoffsetyoffset 
+  = withObjectRef "dcDrawLines" _obj $ \cobj__obj -> 
+    wxDC_DrawLines cobj__obj  (toCInt n)  x  y  (toCIntPointX xoffsetyoffset) (toCIntPointY xoffsetyoffset)  
+foreign import ccall "wxDC_DrawLines" wxDC_DrawLines :: Ptr (TDC a) -> CInt -> Ptr  c -> Ptr  d -> CInt -> CInt -> IO ()
+
+-- | usage: (@dcDrawPoint obj xy@).
+dcDrawPoint :: DC  a -> Point ->  IO ()
+dcDrawPoint _obj xy 
+  = withObjectRef "dcDrawPoint" _obj $ \cobj__obj -> 
+    wxDC_DrawPoint cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  
+foreign import ccall "wxDC_DrawPoint" wxDC_DrawPoint :: Ptr (TDC a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@dcDrawPolyPolygon obj n count x y xoffsetyoffset fillStyle@).
+dcDrawPolyPolygon :: DC  a -> Int -> Ptr  c -> Ptr  d -> Ptr  e -> Point -> Int ->  IO ()
+dcDrawPolyPolygon _obj n count x y xoffsetyoffset fillStyle 
+  = withObjectRef "dcDrawPolyPolygon" _obj $ \cobj__obj -> 
+    wxDC_DrawPolyPolygon cobj__obj  (toCInt n)  count  x  y  (toCIntPointX xoffsetyoffset) (toCIntPointY xoffsetyoffset)  (toCInt fillStyle)  
+foreign import ccall "wxDC_DrawPolyPolygon" wxDC_DrawPolyPolygon :: Ptr (TDC a) -> CInt -> Ptr  c -> Ptr  d -> Ptr  e -> CInt -> CInt -> CInt -> IO ()
+
+-- | usage: (@dcDrawPolygon obj n x y xoffsetyoffset fillStyle@).
+dcDrawPolygon :: DC  a -> Int -> Ptr  c -> Ptr  d -> Point -> Int ->  IO ()
+dcDrawPolygon _obj n x y xoffsetyoffset fillStyle 
+  = withObjectRef "dcDrawPolygon" _obj $ \cobj__obj -> 
+    wxDC_DrawPolygon cobj__obj  (toCInt n)  x  y  (toCIntPointX xoffsetyoffset) (toCIntPointY xoffsetyoffset)  (toCInt fillStyle)  
+foreign import ccall "wxDC_DrawPolygon" wxDC_DrawPolygon :: Ptr (TDC a) -> CInt -> Ptr  c -> Ptr  d -> CInt -> CInt -> CInt -> IO ()
+
+-- | usage: (@dcDrawRectangle obj xywidthheight@).
+dcDrawRectangle :: DC  a -> Rect ->  IO ()
+dcDrawRectangle _obj xywidthheight 
+  = withObjectRef "dcDrawRectangle" _obj $ \cobj__obj -> 
+    wxDC_DrawRectangle cobj__obj  (toCIntRectX xywidthheight) (toCIntRectY xywidthheight)(toCIntRectW xywidthheight) (toCIntRectH xywidthheight)  
+foreign import ccall "wxDC_DrawRectangle" wxDC_DrawRectangle :: Ptr (TDC a) -> CInt -> CInt -> CInt -> CInt -> IO ()
+
+-- | usage: (@dcDrawRotatedText obj text xy angle@).
+dcDrawRotatedText :: DC  a -> String -> Point -> Double ->  IO ()
+dcDrawRotatedText _obj text xy angle 
+  = withObjectRef "dcDrawRotatedText" _obj $ \cobj__obj -> 
+    withStringPtr text $ \cobj_text -> 
+    wxDC_DrawRotatedText cobj__obj  cobj_text  (toCIntPointX xy) (toCIntPointY xy)  angle  
+foreign import ccall "wxDC_DrawRotatedText" wxDC_DrawRotatedText :: Ptr (TDC a) -> Ptr (TWxString b) -> CInt -> CInt -> Double -> IO ()
+
+-- | usage: (@dcDrawRoundedRectangle obj xywidthheight radius@).
+dcDrawRoundedRectangle :: DC  a -> Rect -> Double ->  IO ()
+dcDrawRoundedRectangle _obj xywidthheight radius 
+  = withObjectRef "dcDrawRoundedRectangle" _obj $ \cobj__obj -> 
+    wxDC_DrawRoundedRectangle cobj__obj  (toCIntRectX xywidthheight) (toCIntRectY xywidthheight)(toCIntRectW xywidthheight) (toCIntRectH xywidthheight)  radius  
+foreign import ccall "wxDC_DrawRoundedRectangle" wxDC_DrawRoundedRectangle :: Ptr (TDC a) -> CInt -> CInt -> CInt -> CInt -> Double -> IO ()
+
+-- | usage: (@dcDrawText obj text xy@).
+dcDrawText :: DC  a -> String -> Point ->  IO ()
+dcDrawText _obj text xy 
+  = withObjectRef "dcDrawText" _obj $ \cobj__obj -> 
+    withStringPtr text $ \cobj_text -> 
+    wxDC_DrawText cobj__obj  cobj_text  (toCIntPointX xy) (toCIntPointY xy)  
+foreign import ccall "wxDC_DrawText" wxDC_DrawText :: Ptr (TDC a) -> Ptr (TWxString b) -> CInt -> CInt -> IO ()
+
+-- | usage: (@dcEndDoc obj@).
+dcEndDoc :: DC  a ->  IO ()
+dcEndDoc _obj 
+  = withObjectRef "dcEndDoc" _obj $ \cobj__obj -> 
+    wxDC_EndDoc cobj__obj  
+foreign import ccall "wxDC_EndDoc" wxDC_EndDoc :: Ptr (TDC a) -> IO ()
+
+-- | usage: (@dcEndPage obj@).
+dcEndPage :: DC  a ->  IO ()
+dcEndPage _obj 
+  = withObjectRef "dcEndPage" _obj $ \cobj__obj -> 
+    wxDC_EndPage cobj__obj  
+foreign import ccall "wxDC_EndPage" wxDC_EndPage :: Ptr (TDC a) -> IO ()
+
+-- | usage: (@dcFloodFill obj xy col style@).
+dcFloodFill :: DC  a -> Point -> Color -> Int ->  IO ()
+dcFloodFill _obj xy col style 
+  = withObjectRef "dcFloodFill" _obj $ \cobj__obj -> 
+    withColourPtr col $ \cobj_col -> 
+    wxDC_FloodFill cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  cobj_col  (toCInt style)  
+foreign import ccall "wxDC_FloodFill" wxDC_FloodFill :: Ptr (TDC a) -> CInt -> CInt -> Ptr (TColour c) -> CInt -> IO ()
+
+-- | usage: (@dcGetBackground obj@).
+dcGetBackground :: DC  a ->  IO (Brush  ())
+dcGetBackground _obj 
+  = withRefBrush $ \pref -> 
+    withObjectRef "dcGetBackground" _obj $ \cobj__obj -> 
+    wxDC_GetBackground cobj__obj   pref
+foreign import ccall "wxDC_GetBackground" wxDC_GetBackground :: Ptr (TDC a) -> Ptr (TBrush ()) -> IO ()
+
+-- | usage: (@dcGetBackgroundMode obj@).
+dcGetBackgroundMode :: DC  a ->  IO Int
+dcGetBackgroundMode _obj 
+  = withIntResult $
+    withObjectRef "dcGetBackgroundMode" _obj $ \cobj__obj -> 
+    wxDC_GetBackgroundMode cobj__obj  
+foreign import ccall "wxDC_GetBackgroundMode" wxDC_GetBackgroundMode :: Ptr (TDC a) -> IO CInt
+
+-- | usage: (@dcGetBrush obj@).
+dcGetBrush :: DC  a ->  IO (Brush  ())
+dcGetBrush _obj 
+  = withRefBrush $ \pref -> 
+    withObjectRef "dcGetBrush" _obj $ \cobj__obj -> 
+    wxDC_GetBrush cobj__obj   pref
+foreign import ccall "wxDC_GetBrush" wxDC_GetBrush :: Ptr (TDC a) -> Ptr (TBrush ()) -> IO ()
+
+-- | usage: (@dcGetCharHeight obj@).
+dcGetCharHeight :: DC  a ->  IO Int
+dcGetCharHeight _obj 
+  = withIntResult $
+    withObjectRef "dcGetCharHeight" _obj $ \cobj__obj -> 
+    wxDC_GetCharHeight cobj__obj  
+foreign import ccall "wxDC_GetCharHeight" wxDC_GetCharHeight :: Ptr (TDC a) -> IO CInt
+
+-- | usage: (@dcGetCharWidth obj@).
+dcGetCharWidth :: DC  a ->  IO Int
+dcGetCharWidth _obj 
+  = withIntResult $
+    withObjectRef "dcGetCharWidth" _obj $ \cobj__obj -> 
+    wxDC_GetCharWidth cobj__obj  
+foreign import ccall "wxDC_GetCharWidth" wxDC_GetCharWidth :: Ptr (TDC a) -> IO CInt
+
+-- | usage: (@dcGetClippingBox obj@).
+dcGetClippingBox :: DC  a ->  IO Rect
+dcGetClippingBox _obj 
+  = withRectResult $ \px py pw ph -> 
+    withObjectRef "dcGetClippingBox" _obj $ \cobj__obj -> 
+    wxDC_GetClippingBox cobj__obj  px py pw ph
+foreign import ccall "wxDC_GetClippingBox" wxDC_GetClippingBox :: Ptr (TDC a) -> Ptr CInt -> Ptr CInt -> Ptr CInt -> Ptr CInt -> IO ()
+
+-- | usage: (@dcGetDepth obj@).
+dcGetDepth :: DC  a ->  IO Int
+dcGetDepth _obj 
+  = withIntResult $
+    withObjectRef "dcGetDepth" _obj $ \cobj__obj -> 
+    wxDC_GetDepth cobj__obj  
+foreign import ccall "wxDC_GetDepth" wxDC_GetDepth :: Ptr (TDC a) -> IO CInt
+
+-- | usage: (@dcGetDeviceOrigin obj@).
+dcGetDeviceOrigin :: DC  a ->  IO Point
+dcGetDeviceOrigin _obj 
+  = withPointResult $ \px py -> 
+    withObjectRef "dcGetDeviceOrigin" _obj $ \cobj__obj -> 
+    wxDC_GetDeviceOrigin cobj__obj   px py
+foreign import ccall "wxDC_GetDeviceOrigin" wxDC_GetDeviceOrigin :: Ptr (TDC a) -> Ptr CInt -> Ptr CInt -> IO ()
+
+-- | usage: (@dcGetFont obj@).
+dcGetFont :: DC  a ->  IO (Font  ())
+dcGetFont _obj 
+  = withRefFont $ \pref -> 
+    withObjectRef "dcGetFont" _obj $ \cobj__obj -> 
+    wxDC_GetFont cobj__obj   pref
+foreign import ccall "wxDC_GetFont" wxDC_GetFont :: Ptr (TDC a) -> Ptr (TFont ()) -> IO ()
+
+-- | usage: (@dcGetLogicalFunction obj@).
+dcGetLogicalFunction :: DC  a ->  IO Int
+dcGetLogicalFunction _obj 
+  = withIntResult $
+    withObjectRef "dcGetLogicalFunction" _obj $ \cobj__obj -> 
+    wxDC_GetLogicalFunction cobj__obj  
+foreign import ccall "wxDC_GetLogicalFunction" wxDC_GetLogicalFunction :: Ptr (TDC a) -> IO CInt
+
+-- | usage: (@dcGetLogicalOrigin obj@).
+dcGetLogicalOrigin :: DC  a ->  IO Point
+dcGetLogicalOrigin _obj 
+  = withPointResult $ \px py -> 
+    withObjectRef "dcGetLogicalOrigin" _obj $ \cobj__obj -> 
+    wxDC_GetLogicalOrigin cobj__obj   px py
+foreign import ccall "wxDC_GetLogicalOrigin" wxDC_GetLogicalOrigin :: Ptr (TDC a) -> Ptr CInt -> Ptr CInt -> IO ()
+
+-- | usage: (@dcGetLogicalScale obj@).
+dcGetLogicalScale :: DC  a ->  IO (Size2D Double)
+dcGetLogicalScale _obj 
+  = withSizeDoubleResult $ \pw ph -> 
+    withObjectRef "dcGetLogicalScale" _obj $ \cobj__obj -> 
+    wxDC_GetLogicalScale cobj__obj   pw ph
+foreign import ccall "wxDC_GetLogicalScale" wxDC_GetLogicalScale :: Ptr (TDC a) -> Ptr CDouble -> Ptr CDouble -> IO ()
+
+-- | usage: (@dcGetMapMode obj@).
+dcGetMapMode :: DC  a ->  IO Int
+dcGetMapMode _obj 
+  = withIntResult $
+    withObjectRef "dcGetMapMode" _obj $ \cobj__obj -> 
+    wxDC_GetMapMode cobj__obj  
+foreign import ccall "wxDC_GetMapMode" wxDC_GetMapMode :: Ptr (TDC a) -> IO CInt
+
+-- | usage: (@dcGetMultiLineTextExtent self string w h heightLine theFont@).
+dcGetMultiLineTextExtent :: DC  a -> String -> Ptr  c -> Ptr  d -> Ptr  e -> Font  f ->  IO ()
+dcGetMultiLineTextExtent self string w h heightLine theFont 
+  = withObjectRef "dcGetMultiLineTextExtent" self $ \cobj_self -> 
+    withStringPtr string $ \cobj_string -> 
+    withObjectPtr theFont $ \cobj_theFont -> 
+    wxDC_GetMultiLineTextExtent cobj_self  cobj_string  w  h  heightLine  cobj_theFont  
+foreign import ccall "wxDC_GetMultiLineTextExtent" wxDC_GetMultiLineTextExtent :: Ptr (TDC a) -> Ptr (TWxString b) -> Ptr  c -> Ptr  d -> Ptr  e -> Ptr (TFont f) -> IO ()
+
+-- | usage: (@dcGetPPI obj@).
+dcGetPPI :: DC  a ->  IO (Size)
+dcGetPPI _obj 
+  = withWxSizeResult $
+    withObjectRef "dcGetPPI" _obj $ \cobj__obj -> 
+    wxDC_GetPPI cobj__obj  
+foreign import ccall "wxDC_GetPPI" wxDC_GetPPI :: Ptr (TDC a) -> IO (Ptr (TWxSize ()))
+
+-- | usage: (@dcGetPen obj@).
+dcGetPen :: DC  a ->  IO (Pen  ())
+dcGetPen _obj 
+  = withRefPen $ \pref -> 
+    withObjectRef "dcGetPen" _obj $ \cobj__obj -> 
+    wxDC_GetPen cobj__obj   pref
+foreign import ccall "wxDC_GetPen" wxDC_GetPen :: Ptr (TDC a) -> Ptr (TPen ()) -> IO ()
+
+-- | usage: (@dcGetPixel obj xy col@).
+dcGetPixel :: DC  a -> Point -> Color ->  IO Bool
+dcGetPixel _obj xy col 
+  = withBoolResult $
+    withObjectRef "dcGetPixel" _obj $ \cobj__obj -> 
+    withColourPtr col $ \cobj_col -> 
+    wxDC_GetPixel cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  cobj_col  
+foreign import ccall "wxDC_GetPixel" wxDC_GetPixel :: Ptr (TDC a) -> CInt -> CInt -> Ptr (TColour c) -> IO CBool
+
+-- | usage: (@dcGetPixel2 obj xy@).
+dcGetPixel2 :: DC  a -> Point ->  IO (Color)
+dcGetPixel2 _obj xy 
+  = withRefColour $ \pref -> 
+    withObjectRef "dcGetPixel2" _obj $ \cobj__obj -> 
+    wxDC_GetPixel2 cobj__obj  (toCIntPointX xy) (toCIntPointY xy)   pref
+foreign import ccall "wxDC_GetPixel2" wxDC_GetPixel2 :: Ptr (TDC a) -> CInt -> CInt -> Ptr (TColour ()) -> IO ()
+
+-- | usage: (@dcGetSize obj@).
+dcGetSize :: DC  a ->  IO (Size)
+dcGetSize _obj 
+  = withWxSizeResult $
+    withObjectRef "dcGetSize" _obj $ \cobj__obj -> 
+    wxDC_GetSize cobj__obj  
+foreign import ccall "wxDC_GetSize" wxDC_GetSize :: Ptr (TDC a) -> IO (Ptr (TWxSize ()))
+
+-- | usage: (@dcGetSizeMM obj@).
+dcGetSizeMM :: DC  a ->  IO (Size)
+dcGetSizeMM _obj 
+  = withWxSizeResult $
+    withObjectRef "dcGetSizeMM" _obj $ \cobj__obj -> 
+    wxDC_GetSizeMM cobj__obj  
+foreign import ccall "wxDC_GetSizeMM" wxDC_GetSizeMM :: Ptr (TDC a) -> IO (Ptr (TWxSize ()))
+
+-- | usage: (@dcGetTextBackground obj@).
+dcGetTextBackground :: DC  a ->  IO (Color)
+dcGetTextBackground _obj 
+  = withRefColour $ \pref -> 
+    withObjectRef "dcGetTextBackground" _obj $ \cobj__obj -> 
+    wxDC_GetTextBackground cobj__obj   pref
+foreign import ccall "wxDC_GetTextBackground" wxDC_GetTextBackground :: Ptr (TDC a) -> Ptr (TColour ()) -> IO ()
+
+-- | usage: (@dcGetTextExtent self string w h descent externalLeading theFont@).
+dcGetTextExtent :: DC  a -> String -> Ptr  c -> Ptr  d -> Ptr  e -> Ptr  f -> Font  g ->  IO ()
+dcGetTextExtent self string w h descent externalLeading theFont 
+  = withObjectRef "dcGetTextExtent" self $ \cobj_self -> 
+    withStringPtr string $ \cobj_string -> 
+    withObjectPtr theFont $ \cobj_theFont -> 
+    wxDC_GetTextExtent cobj_self  cobj_string  w  h  descent  externalLeading  cobj_theFont  
+foreign import ccall "wxDC_GetTextExtent" wxDC_GetTextExtent :: Ptr (TDC a) -> Ptr (TWxString b) -> Ptr  c -> Ptr  d -> Ptr  e -> Ptr  f -> Ptr (TFont g) -> IO ()
+
+-- | usage: (@dcGetTextForeground obj@).
+dcGetTextForeground :: DC  a ->  IO (Color)
+dcGetTextForeground _obj 
+  = withRefColour $ \pref -> 
+    withObjectRef "dcGetTextForeground" _obj $ \cobj__obj -> 
+    wxDC_GetTextForeground cobj__obj   pref
+foreign import ccall "wxDC_GetTextForeground" wxDC_GetTextForeground :: Ptr (TDC a) -> Ptr (TColour ()) -> IO ()
+
+-- | usage: (@dcGetUserScale obj@).
+dcGetUserScale :: DC  a ->  IO (Size2D Double)
+dcGetUserScale _obj 
+  = withSizeDoubleResult $ \pw ph -> 
+    withObjectRef "dcGetUserScale" _obj $ \cobj__obj -> 
+    wxDC_GetUserScale cobj__obj   pw ph
+foreign import ccall "wxDC_GetUserScale" wxDC_GetUserScale :: Ptr (TDC a) -> Ptr CDouble -> Ptr CDouble -> IO ()
+
+-- | usage: (@dcGetUserScaleX dc@).
+dcGetUserScaleX :: DC  a ->  IO Double
+dcGetUserScaleX dc 
+  = withObjectRef "dcGetUserScaleX" dc $ \cobj_dc -> 
+    wxDC_GetUserScaleX cobj_dc  
+foreign import ccall "wxDC_GetUserScaleX" wxDC_GetUserScaleX :: Ptr (TDC a) -> IO Double
+
+-- | usage: (@dcGetUserScaleY dc@).
+dcGetUserScaleY :: DC  a ->  IO Double
+dcGetUserScaleY dc 
+  = withObjectRef "dcGetUserScaleY" dc $ \cobj_dc -> 
+    wxDC_GetUserScaleY cobj_dc  
+foreign import ccall "wxDC_GetUserScaleY" wxDC_GetUserScaleY :: Ptr (TDC a) -> IO Double
+
+-- | usage: (@dcIsOk obj@).
+dcIsOk :: DC  a ->  IO Bool
+dcIsOk _obj 
+  = withBoolResult $
+    withObjectRef "dcIsOk" _obj $ \cobj__obj -> 
+    wxDC_IsOk cobj__obj  
+foreign import ccall "wxDC_IsOk" wxDC_IsOk :: Ptr (TDC a) -> IO CBool
+
+-- | usage: (@dcLogicalToDeviceX obj x@).
+dcLogicalToDeviceX :: DC  a -> Int ->  IO Int
+dcLogicalToDeviceX _obj x 
+  = withIntResult $
+    withObjectRef "dcLogicalToDeviceX" _obj $ \cobj__obj -> 
+    wxDC_LogicalToDeviceX cobj__obj  (toCInt x)  
+foreign import ccall "wxDC_LogicalToDeviceX" wxDC_LogicalToDeviceX :: Ptr (TDC a) -> CInt -> IO CInt
+
+-- | usage: (@dcLogicalToDeviceXRel obj x@).
+dcLogicalToDeviceXRel :: DC  a -> Int ->  IO Int
+dcLogicalToDeviceXRel _obj x 
+  = withIntResult $
+    withObjectRef "dcLogicalToDeviceXRel" _obj $ \cobj__obj -> 
+    wxDC_LogicalToDeviceXRel cobj__obj  (toCInt x)  
+foreign import ccall "wxDC_LogicalToDeviceXRel" wxDC_LogicalToDeviceXRel :: Ptr (TDC a) -> CInt -> IO CInt
+
+-- | usage: (@dcLogicalToDeviceY obj y@).
+dcLogicalToDeviceY :: DC  a -> Int ->  IO Int
+dcLogicalToDeviceY _obj y 
+  = withIntResult $
+    withObjectRef "dcLogicalToDeviceY" _obj $ \cobj__obj -> 
+    wxDC_LogicalToDeviceY cobj__obj  (toCInt y)  
+foreign import ccall "wxDC_LogicalToDeviceY" wxDC_LogicalToDeviceY :: Ptr (TDC a) -> CInt -> IO CInt
+
+-- | usage: (@dcLogicalToDeviceYRel obj y@).
+dcLogicalToDeviceYRel :: DC  a -> Int ->  IO Int
+dcLogicalToDeviceYRel _obj y 
+  = withIntResult $
+    withObjectRef "dcLogicalToDeviceYRel" _obj $ \cobj__obj -> 
+    wxDC_LogicalToDeviceYRel cobj__obj  (toCInt y)  
+foreign import ccall "wxDC_LogicalToDeviceYRel" wxDC_LogicalToDeviceYRel :: Ptr (TDC a) -> CInt -> IO CInt
+
+-- | usage: (@dcMaxX obj@).
+dcMaxX :: DC  a ->  IO Int
+dcMaxX _obj 
+  = withIntResult $
+    withObjectRef "dcMaxX" _obj $ \cobj__obj -> 
+    wxDC_MaxX cobj__obj  
+foreign import ccall "wxDC_MaxX" wxDC_MaxX :: Ptr (TDC a) -> IO CInt
+
+-- | usage: (@dcMaxY obj@).
+dcMaxY :: DC  a ->  IO Int
+dcMaxY _obj 
+  = withIntResult $
+    withObjectRef "dcMaxY" _obj $ \cobj__obj -> 
+    wxDC_MaxY cobj__obj  
+foreign import ccall "wxDC_MaxY" wxDC_MaxY :: Ptr (TDC a) -> IO CInt
+
+-- | usage: (@dcMinX obj@).
+dcMinX :: DC  a ->  IO Int
+dcMinX _obj 
+  = withIntResult $
+    withObjectRef "dcMinX" _obj $ \cobj__obj -> 
+    wxDC_MinX cobj__obj  
+foreign import ccall "wxDC_MinX" wxDC_MinX :: Ptr (TDC a) -> IO CInt
+
+-- | usage: (@dcMinY obj@).
+dcMinY :: DC  a ->  IO Int
+dcMinY _obj 
+  = withIntResult $
+    withObjectRef "dcMinY" _obj $ \cobj__obj -> 
+    wxDC_MinY cobj__obj  
+foreign import ccall "wxDC_MinY" wxDC_MinY :: Ptr (TDC a) -> IO CInt
+
+-- | usage: (@dcResetBoundingBox obj@).
+dcResetBoundingBox :: DC  a ->  IO ()
+dcResetBoundingBox _obj 
+  = withObjectRef "dcResetBoundingBox" _obj $ \cobj__obj -> 
+    wxDC_ResetBoundingBox cobj__obj  
+foreign import ccall "wxDC_ResetBoundingBox" wxDC_ResetBoundingBox :: Ptr (TDC a) -> IO ()
+
+-- | usage: (@dcSetAxisOrientation obj xLeftRight yBottomUp@).
+dcSetAxisOrientation :: DC  a -> Bool -> Bool ->  IO ()
+dcSetAxisOrientation _obj xLeftRight yBottomUp 
+  = withObjectRef "dcSetAxisOrientation" _obj $ \cobj__obj -> 
+    wxDC_SetAxisOrientation cobj__obj  (toCBool xLeftRight)  (toCBool yBottomUp)  
+foreign import ccall "wxDC_SetAxisOrientation" wxDC_SetAxisOrientation :: Ptr (TDC a) -> CBool -> CBool -> IO ()
+
+-- | usage: (@dcSetBackground obj brush@).
+dcSetBackground :: DC  a -> Brush  b ->  IO ()
+dcSetBackground _obj brush 
+  = withObjectRef "dcSetBackground" _obj $ \cobj__obj -> 
+    withObjectPtr brush $ \cobj_brush -> 
+    wxDC_SetBackground cobj__obj  cobj_brush  
+foreign import ccall "wxDC_SetBackground" wxDC_SetBackground :: Ptr (TDC a) -> Ptr (TBrush b) -> IO ()
+
+-- | usage: (@dcSetBackgroundMode obj mode@).
+dcSetBackgroundMode :: DC  a -> Int ->  IO ()
+dcSetBackgroundMode _obj mode 
+  = withObjectRef "dcSetBackgroundMode" _obj $ \cobj__obj -> 
+    wxDC_SetBackgroundMode cobj__obj  (toCInt mode)  
+foreign import ccall "wxDC_SetBackgroundMode" wxDC_SetBackgroundMode :: Ptr (TDC a) -> CInt -> IO ()
+
+-- | usage: (@dcSetBrush obj brush@).
+dcSetBrush :: DC  a -> Brush  b ->  IO ()
+dcSetBrush _obj brush 
+  = withObjectRef "dcSetBrush" _obj $ \cobj__obj -> 
+    withObjectPtr brush $ \cobj_brush -> 
+    wxDC_SetBrush cobj__obj  cobj_brush  
+foreign import ccall "wxDC_SetBrush" wxDC_SetBrush :: Ptr (TDC a) -> Ptr (TBrush b) -> IO ()
+
+-- | usage: (@dcSetClippingRegion obj xywidthheight@).
+dcSetClippingRegion :: DC  a -> Rect ->  IO ()
+dcSetClippingRegion _obj xywidthheight 
+  = withObjectRef "dcSetClippingRegion" _obj $ \cobj__obj -> 
+    wxDC_SetClippingRegion cobj__obj  (toCIntRectX xywidthheight) (toCIntRectY xywidthheight)(toCIntRectW xywidthheight) (toCIntRectH xywidthheight)  
+foreign import ccall "wxDC_SetClippingRegion" wxDC_SetClippingRegion :: Ptr (TDC a) -> CInt -> CInt -> CInt -> CInt -> IO ()
+
+-- | usage: (@dcSetClippingRegionFromRegion obj region@).
+dcSetClippingRegionFromRegion :: DC  a -> Region  b ->  IO ()
+dcSetClippingRegionFromRegion _obj region 
+  = withObjectRef "dcSetClippingRegionFromRegion" _obj $ \cobj__obj -> 
+    withObjectPtr region $ \cobj_region -> 
+    wxDC_SetClippingRegionFromRegion cobj__obj  cobj_region  
+foreign import ccall "wxDC_SetClippingRegionFromRegion" wxDC_SetClippingRegionFromRegion :: Ptr (TDC a) -> Ptr (TRegion b) -> IO ()
+
+-- | usage: (@dcSetDeviceClippingRegion obj region@).
+dcSetDeviceClippingRegion :: DC  a -> Region  b ->  IO ()
+dcSetDeviceClippingRegion _obj region 
+  = withObjectRef "dcSetDeviceClippingRegion" _obj $ \cobj__obj -> 
+    withObjectPtr region $ \cobj_region -> 
+    wxDC_SetDeviceClippingRegion cobj__obj  cobj_region  
+foreign import ccall "wxDC_SetDeviceClippingRegion" wxDC_SetDeviceClippingRegion :: Ptr (TDC a) -> Ptr (TRegion b) -> IO ()
+
+-- | usage: (@dcSetDeviceOrigin obj xy@).
+dcSetDeviceOrigin :: DC  a -> Point ->  IO ()
+dcSetDeviceOrigin _obj xy 
+  = withObjectRef "dcSetDeviceOrigin" _obj $ \cobj__obj -> 
+    wxDC_SetDeviceOrigin cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  
+foreign import ccall "wxDC_SetDeviceOrigin" wxDC_SetDeviceOrigin :: Ptr (TDC a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@dcSetFont obj font@).
+dcSetFont :: DC  a -> Font  b ->  IO ()
+dcSetFont _obj font 
+  = withObjectRef "dcSetFont" _obj $ \cobj__obj -> 
+    withObjectPtr font $ \cobj_font -> 
+    wxDC_SetFont cobj__obj  cobj_font  
+foreign import ccall "wxDC_SetFont" wxDC_SetFont :: Ptr (TDC a) -> Ptr (TFont b) -> IO ()
+
+-- | usage: (@dcSetLogicalFunction obj function@).
+dcSetLogicalFunction :: DC  a -> Int ->  IO ()
+dcSetLogicalFunction _obj function 
+  = withObjectRef "dcSetLogicalFunction" _obj $ \cobj__obj -> 
+    wxDC_SetLogicalFunction cobj__obj  (toCInt function)  
+foreign import ccall "wxDC_SetLogicalFunction" wxDC_SetLogicalFunction :: Ptr (TDC a) -> CInt -> IO ()
+
+-- | usage: (@dcSetLogicalOrigin obj xy@).
+dcSetLogicalOrigin :: DC  a -> Point ->  IO ()
+dcSetLogicalOrigin _obj xy 
+  = withObjectRef "dcSetLogicalOrigin" _obj $ \cobj__obj -> 
+    wxDC_SetLogicalOrigin cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  
+foreign import ccall "wxDC_SetLogicalOrigin" wxDC_SetLogicalOrigin :: Ptr (TDC a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@dcSetLogicalScale obj x y@).
+dcSetLogicalScale :: DC  a -> Double -> Double ->  IO ()
+dcSetLogicalScale _obj x y 
+  = withObjectRef "dcSetLogicalScale" _obj $ \cobj__obj -> 
+    wxDC_SetLogicalScale cobj__obj  x  y  
+foreign import ccall "wxDC_SetLogicalScale" wxDC_SetLogicalScale :: Ptr (TDC a) -> Double -> Double -> IO ()
+
+-- | usage: (@dcSetMapMode obj mode@).
+dcSetMapMode :: DC  a -> Int ->  IO ()
+dcSetMapMode _obj mode 
+  = withObjectRef "dcSetMapMode" _obj $ \cobj__obj -> 
+    wxDC_SetMapMode cobj__obj  (toCInt mode)  
+foreign import ccall "wxDC_SetMapMode" wxDC_SetMapMode :: Ptr (TDC a) -> CInt -> IO ()
+
+-- | usage: (@dcSetPalette obj palette@).
+dcSetPalette :: DC  a -> Palette  b ->  IO ()
+dcSetPalette _obj palette 
+  = withObjectRef "dcSetPalette" _obj $ \cobj__obj -> 
+    withObjectPtr palette $ \cobj_palette -> 
+    wxDC_SetPalette cobj__obj  cobj_palette  
+foreign import ccall "wxDC_SetPalette" wxDC_SetPalette :: Ptr (TDC a) -> Ptr (TPalette b) -> IO ()
+
+-- | usage: (@dcSetPen obj pen@).
+dcSetPen :: DC  a -> Pen  b ->  IO ()
+dcSetPen _obj pen 
+  = withObjectRef "dcSetPen" _obj $ \cobj__obj -> 
+    withObjectPtr pen $ \cobj_pen -> 
+    wxDC_SetPen cobj__obj  cobj_pen  
+foreign import ccall "wxDC_SetPen" wxDC_SetPen :: Ptr (TDC a) -> Ptr (TPen b) -> IO ()
+
+-- | usage: (@dcSetTextBackground obj colour@).
+dcSetTextBackground :: DC  a -> Color ->  IO ()
+dcSetTextBackground _obj colour 
+  = withObjectRef "dcSetTextBackground" _obj $ \cobj__obj -> 
+    withColourPtr colour $ \cobj_colour -> 
+    wxDC_SetTextBackground cobj__obj  cobj_colour  
+foreign import ccall "wxDC_SetTextBackground" wxDC_SetTextBackground :: Ptr (TDC a) -> Ptr (TColour b) -> IO ()
+
+-- | usage: (@dcSetTextForeground obj colour@).
+dcSetTextForeground :: DC  a -> Color ->  IO ()
+dcSetTextForeground _obj colour 
+  = withObjectRef "dcSetTextForeground" _obj $ \cobj__obj -> 
+    withColourPtr colour $ \cobj_colour -> 
+    wxDC_SetTextForeground cobj__obj  cobj_colour  
+foreign import ccall "wxDC_SetTextForeground" wxDC_SetTextForeground :: Ptr (TDC a) -> Ptr (TColour b) -> IO ()
+
+-- | usage: (@dcSetUserScale obj x y@).
+dcSetUserScale :: DC  a -> Double -> Double ->  IO ()
+dcSetUserScale _obj x y 
+  = withObjectRef "dcSetUserScale" _obj $ \cobj__obj -> 
+    wxDC_SetUserScale cobj__obj  x  y  
+foreign import ccall "wxDC_SetUserScale" wxDC_SetUserScale :: Ptr (TDC a) -> Double -> Double -> IO ()
+
+-- | usage: (@dcStartDoc obj msg@).
+dcStartDoc :: DC  a -> String ->  IO Bool
+dcStartDoc _obj msg 
+  = withBoolResult $
+    withObjectRef "dcStartDoc" _obj $ \cobj__obj -> 
+    withStringPtr msg $ \cobj_msg -> 
+    wxDC_StartDoc cobj__obj  cobj_msg  
+foreign import ccall "wxDC_StartDoc" wxDC_StartDoc :: Ptr (TDC a) -> Ptr (TWxString b) -> IO CBool
+
+-- | usage: (@dcStartPage obj@).
+dcStartPage :: DC  a ->  IO ()
+dcStartPage _obj 
+  = withObjectRef "dcStartPage" _obj $ \cobj__obj -> 
+    wxDC_StartPage cobj__obj  
+foreign import ccall "wxDC_StartPage" wxDC_StartPage :: Ptr (TDC a) -> IO ()
+
+-- | usage: (@dialogCreate prt id txt lfttopwdthgt stl@).
+dialogCreate :: Window  a -> Id -> String -> Rect -> Style ->  IO (Dialog  ())
+dialogCreate _prt _id _txt _lfttopwdthgt _stl 
+  = withObjectResult $
+    withObjectPtr _prt $ \cobj__prt -> 
+    withStringPtr _txt $ \cobj__txt -> 
+    wxDialog_Create cobj__prt  (toCInt _id)  cobj__txt  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  (toCInt _stl)  
+foreign import ccall "wxDialog_Create" wxDialog_Create :: Ptr (TWindow a) -> CInt -> Ptr (TWxString c) -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TDialog ()))
+
+-- | usage: (@dialogEndModal obj retCode@).
+dialogEndModal :: Dialog  a -> Int ->  IO ()
+dialogEndModal _obj retCode 
+  = withObjectRef "dialogEndModal" _obj $ \cobj__obj -> 
+    wxDialog_EndModal cobj__obj  (toCInt retCode)  
+foreign import ccall "wxDialog_EndModal" wxDialog_EndModal :: Ptr (TDialog a) -> CInt -> IO ()
+
+-- | usage: (@dialogGetReturnCode obj@).
+dialogGetReturnCode :: Dialog  a ->  IO Int
+dialogGetReturnCode _obj 
+  = withIntResult $
+    withObjectRef "dialogGetReturnCode" _obj $ \cobj__obj -> 
+    wxDialog_GetReturnCode cobj__obj  
+foreign import ccall "wxDialog_GetReturnCode" wxDialog_GetReturnCode :: Ptr (TDialog a) -> IO CInt
+
+-- | usage: (@dialogIsModal obj@).
+dialogIsModal :: Dialog  a ->  IO Bool
+dialogIsModal _obj 
+  = withBoolResult $
+    withObjectRef "dialogIsModal" _obj $ \cobj__obj -> 
+    wxDialog_IsModal cobj__obj  
+foreign import ccall "wxDialog_IsModal" wxDialog_IsModal :: Ptr (TDialog a) -> IO CBool
+
+-- | usage: (@dialogSetReturnCode obj returnCode@).
+dialogSetReturnCode :: Dialog  a -> Int ->  IO ()
+dialogSetReturnCode _obj returnCode 
+  = withObjectRef "dialogSetReturnCode" _obj $ \cobj__obj -> 
+    wxDialog_SetReturnCode cobj__obj  (toCInt returnCode)  
+foreign import ccall "wxDialog_SetReturnCode" wxDialog_SetReturnCode :: Ptr (TDialog a) -> CInt -> IO ()
+
+-- | usage: (@dialogShowModal obj@).
+dialogShowModal :: Dialog  a ->  IO Int
+dialogShowModal _obj 
+  = withIntResult $
+    withObjectRef "dialogShowModal" _obj $ \cobj__obj -> 
+    wxDialog_ShowModal cobj__obj  
+foreign import ccall "wxDialog_ShowModal" wxDialog_ShowModal :: Ptr (TDialog a) -> IO CInt
+
+-- | usage: (@dirDialogCreate prt msg dir lfttop stl@).
+dirDialogCreate :: Window  a -> String -> String -> Point -> Style ->  IO (DirDialog  ())
+dirDialogCreate _prt _msg _dir _lfttop _stl 
+  = withObjectResult $
+    withObjectPtr _prt $ \cobj__prt -> 
+    withStringPtr _msg $ \cobj__msg -> 
+    withStringPtr _dir $ \cobj__dir -> 
+    wxDirDialog_Create cobj__prt  cobj__msg  cobj__dir  (toCIntPointX _lfttop) (toCIntPointY _lfttop)  (toCInt _stl)  
+foreign import ccall "wxDirDialog_Create" wxDirDialog_Create :: Ptr (TWindow a) -> Ptr (TWxString b) -> Ptr (TWxString c) -> CInt -> CInt -> CInt -> IO (Ptr (TDirDialog ()))
+
+-- | usage: (@dirDialogGetMessage obj@).
+dirDialogGetMessage :: DirDialog  a ->  IO (String)
+dirDialogGetMessage _obj 
+  = withManagedStringResult $
+    withObjectRef "dirDialogGetMessage" _obj $ \cobj__obj -> 
+    wxDirDialog_GetMessage cobj__obj  
+foreign import ccall "wxDirDialog_GetMessage" wxDirDialog_GetMessage :: Ptr (TDirDialog a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@dirDialogGetPath obj@).
+dirDialogGetPath :: DirDialog  a ->  IO (String)
+dirDialogGetPath _obj 
+  = withManagedStringResult $
+    withObjectRef "dirDialogGetPath" _obj $ \cobj__obj -> 
+    wxDirDialog_GetPath cobj__obj  
+foreign import ccall "wxDirDialog_GetPath" wxDirDialog_GetPath :: Ptr (TDirDialog a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@dirDialogGetStyle obj@).
+dirDialogGetStyle :: DirDialog  a ->  IO Int
+dirDialogGetStyle _obj 
+  = withIntResult $
+    withObjectRef "dirDialogGetStyle" _obj $ \cobj__obj -> 
+    wxDirDialog_GetStyle cobj__obj  
+foreign import ccall "wxDirDialog_GetStyle" wxDirDialog_GetStyle :: Ptr (TDirDialog a) -> IO CInt
+
+-- | usage: (@dirDialogSetMessage obj msg@).
+dirDialogSetMessage :: DirDialog  a -> String ->  IO ()
+dirDialogSetMessage _obj msg 
+  = withObjectRef "dirDialogSetMessage" _obj $ \cobj__obj -> 
+    withStringPtr msg $ \cobj_msg -> 
+    wxDirDialog_SetMessage cobj__obj  cobj_msg  
+foreign import ccall "wxDirDialog_SetMessage" wxDirDialog_SetMessage :: Ptr (TDirDialog a) -> Ptr (TWxString b) -> IO ()
+
+-- | usage: (@dirDialogSetPath obj pth@).
+dirDialogSetPath :: DirDialog  a -> String ->  IO ()
+dirDialogSetPath _obj pth 
+  = withObjectRef "dirDialogSetPath" _obj $ \cobj__obj -> 
+    withStringPtr pth $ \cobj_pth -> 
+    wxDirDialog_SetPath cobj__obj  cobj_pth  
+foreign import ccall "wxDirDialog_SetPath" wxDirDialog_SetPath :: Ptr (TDirDialog a) -> Ptr (TWxString b) -> IO ()
+
+-- | usage: (@dirDialogSetStyle obj style@).
+dirDialogSetStyle :: DirDialog  a -> Int ->  IO ()
+dirDialogSetStyle _obj style 
+  = withObjectRef "dirDialogSetStyle" _obj $ \cobj__obj -> 
+    wxDirDialog_SetStyle cobj__obj  (toCInt style)  
+foreign import ccall "wxDirDialog_SetStyle" wxDirDialog_SetStyle :: Ptr (TDirDialog a) -> CInt -> IO ()
+
+-- | usage: (@dragIcon icon xy@).
+dragIcon :: Icon  a -> Point ->  IO (DragImage  ())
+dragIcon icon xy 
+  = withObjectResult $
+    withObjectPtr icon $ \cobj_icon -> 
+    wx_wxDragIcon cobj_icon  (toCIntPointX xy) (toCIntPointY xy)  
+foreign import ccall "wxDragIcon" wx_wxDragIcon :: Ptr (TIcon a) -> CInt -> CInt -> IO (Ptr (TDragImage ()))
+
+-- | usage: (@dragImageBeginDrag self xy window boundingWindow@).
+dragImageBeginDrag :: DragImage  a -> Point -> Window  c -> Window  d ->  IO Bool
+dragImageBeginDrag self xy window boundingWindow 
+  = withBoolResult $
+    withObjectRef "dragImageBeginDrag" self $ \cobj_self -> 
+    withObjectPtr window $ \cobj_window -> 
+    withObjectPtr boundingWindow $ \cobj_boundingWindow -> 
+    wxDragImage_BeginDrag cobj_self  (toCIntPointX xy) (toCIntPointY xy)  cobj_window  cobj_boundingWindow  
+foreign import ccall "wxDragImage_BeginDrag" wxDragImage_BeginDrag :: Ptr (TDragImage a) -> CInt -> CInt -> Ptr (TWindow c) -> Ptr (TWindow d) -> IO CBool
+
+-- | usage: (@dragImageBeginDragFullScreen self xposypos window fullScreen rect@).
+dragImageBeginDragFullScreen :: DragImage  a -> Point -> Window  c -> Bool -> Rect ->  IO Bool
+dragImageBeginDragFullScreen self xposypos window fullScreen rect 
+  = withBoolResult $
+    withObjectRef "dragImageBeginDragFullScreen" self $ \cobj_self -> 
+    withObjectPtr window $ \cobj_window -> 
+    withWxRectPtr rect $ \cobj_rect -> 
+    wxDragImage_BeginDragFullScreen cobj_self  (toCIntPointX xposypos) (toCIntPointY xposypos)  cobj_window  (toCBool fullScreen)  cobj_rect  
+foreign import ccall "wxDragImage_BeginDragFullScreen" wxDragImage_BeginDragFullScreen :: Ptr (TDragImage a) -> CInt -> CInt -> Ptr (TWindow c) -> CBool -> Ptr (TWxRect e) -> IO CBool
+
+-- | usage: (@dragImageCreate image xy@).
+dragImageCreate :: Bitmap  a -> Point ->  IO (DragImage  ())
+dragImageCreate image xy 
+  = withObjectResult $
+    withObjectPtr image $ \cobj_image -> 
+    wxDragImage_Create cobj_image  (toCIntPointX xy) (toCIntPointY xy)  
+foreign import ccall "wxDragImage_Create" wxDragImage_Create :: Ptr (TBitmap a) -> CInt -> CInt -> IO (Ptr (TDragImage ()))
+
+-- | usage: (@dragImageDelete self@).
+dragImageDelete :: DragImage  a ->  IO ()
+dragImageDelete
+  = objectDelete
+
+
+-- | usage: (@dragImageEndDrag self@).
+dragImageEndDrag :: DragImage  a ->  IO ()
+dragImageEndDrag self 
+  = withObjectRef "dragImageEndDrag" self $ \cobj_self -> 
+    wxDragImage_EndDrag cobj_self  
+foreign import ccall "wxDragImage_EndDrag" wxDragImage_EndDrag :: Ptr (TDragImage a) -> IO ()
+
+-- | usage: (@dragImageHide self@).
+dragImageHide :: DragImage  a ->  IO Bool
+dragImageHide self 
+  = withBoolResult $
+    withObjectRef "dragImageHide" self $ \cobj_self -> 
+    wxDragImage_Hide cobj_self  
+foreign import ccall "wxDragImage_Hide" wxDragImage_Hide :: Ptr (TDragImage a) -> IO CBool
+
+-- | usage: (@dragImageMove self xy@).
+dragImageMove :: DragImage  a -> Point ->  IO Bool
+dragImageMove self xy 
+  = withBoolResult $
+    withObjectRef "dragImageMove" self $ \cobj_self -> 
+    wxDragImage_Move cobj_self  (toCIntPointX xy) (toCIntPointY xy)  
+foreign import ccall "wxDragImage_Move" wxDragImage_Move :: Ptr (TDragImage a) -> CInt -> CInt -> IO CBool
+
+-- | usage: (@dragImageShow self@).
+dragImageShow :: DragImage  a ->  IO Bool
+dragImageShow self 
+  = withBoolResult $
+    withObjectRef "dragImageShow" self $ \cobj_self -> 
+    wxDragImage_Show cobj_self  
+foreign import ccall "wxDragImage_Show" wxDragImage_Show :: Ptr (TDragImage a) -> IO CBool
+
+-- | usage: (@dragListItem treeCtrl id@).
+dragListItem :: ListCtrl  a -> Id ->  IO (DragImage  ())
+dragListItem treeCtrl id 
+  = withObjectResult $
+    withObjectPtr treeCtrl $ \cobj_treeCtrl -> 
+    wx_wxDragListItem cobj_treeCtrl  (toCInt id)  
+foreign import ccall "wxDragListItem" wx_wxDragListItem :: Ptr (TListCtrl a) -> CInt -> IO (Ptr (TDragImage ()))
+
+-- | usage: (@dragString test xy@).
+dragString :: String -> Point ->  IO (DragImage  ())
+dragString test xy 
+  = withObjectResult $
+    withStringPtr test $ \cobj_test -> 
+    wx_wxDragString cobj_test  (toCIntPointX xy) (toCIntPointY xy)  
+foreign import ccall "wxDragString" wx_wxDragString :: Ptr (TWxString a) -> CInt -> CInt -> IO (Ptr (TDragImage ()))
+
+-- | usage: (@dragTreeItem treeCtrl id@).
+dragTreeItem :: TreeCtrl  a -> TreeItem ->  IO (DragImage  ())
+dragTreeItem treeCtrl id 
+  = withObjectResult $
+    withObjectPtr treeCtrl $ \cobj_treeCtrl -> 
+    withTreeItemIdPtr id $ \cobj_id -> 
+    wx_wxDragTreeItem cobj_treeCtrl  cobj_id  
+foreign import ccall "wxDragTreeItem" wx_wxDragTreeItem :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> IO (Ptr (TDragImage ()))
+
+-- | usage: (@drawControlCreate prt id lfttopwdthgt stl@).
+drawControlCreate :: Window  a -> Id -> Rect -> Style ->  IO (DrawControl  ())
+drawControlCreate _prt _id _lfttopwdthgt _stl 
+  = withObjectResult $
+    withObjectPtr _prt $ \cobj__prt -> 
+    wxDrawControl_Create cobj__prt  (toCInt _id)  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  (toCInt _stl)  
+foreign import ccall "wxDrawControl_Create" wxDrawControl_Create :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TDrawControl ()))
+
+-- | usage: (@drawWindowCreate prt id lfttopwdthgt stl@).
+drawWindowCreate :: Window  a -> Id -> Rect -> Style ->  IO (DrawWindow  ())
+drawWindowCreate _prt _id _lfttopwdthgt _stl 
+  = withObjectResult $
+    withObjectPtr _prt $ \cobj__prt -> 
+    wxDrawWindow_Create cobj__prt  (toCInt _id)  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  (toCInt _stl)  
+foreign import ccall "wxDrawWindow_Create" wxDrawWindow_Create :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TDrawWindow ()))
+
+-- | usage: (@dropSourceCreate wxdata win copy move none@).
+dropSourceCreate :: DataObject  a -> Window  b -> Ptr  c -> Ptr  d -> Ptr  e ->  IO (DropSource  ())
+dropSourceCreate wxdata win copy move none 
+  = withObjectResult $
+    withObjectPtr wxdata $ \cobj_wxdata -> 
+    withObjectPtr win $ \cobj_win -> 
+    wx_DropSource_Create cobj_wxdata  cobj_win  copy  move  none  
+foreign import ccall "DropSource_Create" wx_DropSource_Create :: Ptr (TDataObject a) -> Ptr (TWindow b) -> Ptr  c -> Ptr  d -> Ptr  e -> IO (Ptr (TDropSource ()))
+
+-- | usage: (@dropSourceDelete obj@).
+dropSourceDelete :: DropSource  a ->  IO ()
+dropSourceDelete _obj 
+  = withObjectPtr _obj $ \cobj__obj -> 
+    wx_DropSource_Delete cobj__obj  
+foreign import ccall "DropSource_Delete" wx_DropSource_Delete :: Ptr (TDropSource a) -> IO ()
+
+-- | usage: (@dropSourceDoDragDrop obj move@).
+dropSourceDoDragDrop :: DropSource  a -> Int ->  IO Int
+dropSourceDoDragDrop _obj _move 
+  = withIntResult $
+    withObjectPtr _obj $ \cobj__obj -> 
+    wx_DropSource_DoDragDrop cobj__obj  (toCInt _move)  
+foreign import ccall "DropSource_DoDragDrop" wx_DropSource_DoDragDrop :: Ptr (TDropSource a) -> CInt -> IO CInt
+
+-- | usage: (@dropTargetGetData obj@).
+dropTargetGetData :: DropTarget  a ->  IO ()
+dropTargetGetData _obj 
+  = withObjectRef "dropTargetGetData" _obj $ \cobj__obj -> 
+    wxDropTarget_GetData cobj__obj  
+foreign import ccall "wxDropTarget_GetData" wxDropTarget_GetData :: Ptr (TDropTarget a) -> IO ()
+
+-- | usage: (@dropTargetSetDataObject obj dat@).
+dropTargetSetDataObject :: DropTarget  a -> DataObject  b ->  IO ()
+dropTargetSetDataObject _obj _dat 
+  = withObjectRef "dropTargetSetDataObject" _obj $ \cobj__obj -> 
+    withObjectPtr _dat $ \cobj__dat -> 
+    wxDropTarget_SetDataObject cobj__obj  cobj__dat  
+foreign import ccall "wxDropTarget_SetDataObject" wxDropTarget_SetDataObject :: Ptr (TDropTarget a) -> Ptr (TDataObject b) -> IO ()
+
+-- | usage: (@encodingConverterConvert obj input output@).
+encodingConverterConvert :: EncodingConverter  a -> Ptr  b -> Ptr  c ->  IO ()
+encodingConverterConvert _obj input output 
+  = withObjectRef "encodingConverterConvert" _obj $ \cobj__obj -> 
+    wxEncodingConverter_Convert cobj__obj  input  output  
+foreign import ccall "wxEncodingConverter_Convert" wxEncodingConverter_Convert :: Ptr (TEncodingConverter a) -> Ptr  b -> Ptr  c -> IO ()
+
+-- | usage: (@encodingConverterCreate@).
+encodingConverterCreate ::  IO (EncodingConverter  ())
+encodingConverterCreate 
+  = withObjectResult $
+    wxEncodingConverter_Create 
+foreign import ccall "wxEncodingConverter_Create" wxEncodingConverter_Create :: IO (Ptr (TEncodingConverter ()))
+
+-- | usage: (@encodingConverterDelete obj@).
+encodingConverterDelete :: EncodingConverter  a ->  IO ()
+encodingConverterDelete
+  = objectDelete
+
+
+-- | usage: (@encodingConverterGetAllEquivalents obj enc lst@).
+encodingConverterGetAllEquivalents :: EncodingConverter  a -> Int -> List  c ->  IO Int
+encodingConverterGetAllEquivalents _obj enc _lst 
+  = withIntResult $
+    withObjectRef "encodingConverterGetAllEquivalents" _obj $ \cobj__obj -> 
+    withObjectPtr _lst $ \cobj__lst -> 
+    wxEncodingConverter_GetAllEquivalents cobj__obj  (toCInt enc)  cobj__lst  
+foreign import ccall "wxEncodingConverter_GetAllEquivalents" wxEncodingConverter_GetAllEquivalents :: Ptr (TEncodingConverter a) -> CInt -> Ptr (TList c) -> IO CInt
+
+-- | usage: (@encodingConverterGetPlatformEquivalents obj enc platform lst@).
+encodingConverterGetPlatformEquivalents :: EncodingConverter  a -> Int -> Int -> List  d ->  IO Int
+encodingConverterGetPlatformEquivalents _obj enc platform _lst 
+  = withIntResult $
+    withObjectRef "encodingConverterGetPlatformEquivalents" _obj $ \cobj__obj -> 
+    withObjectPtr _lst $ \cobj__lst -> 
+    wxEncodingConverter_GetPlatformEquivalents cobj__obj  (toCInt enc)  (toCInt platform)  cobj__lst  
+foreign import ccall "wxEncodingConverter_GetPlatformEquivalents" wxEncodingConverter_GetPlatformEquivalents :: Ptr (TEncodingConverter a) -> CInt -> CInt -> Ptr (TList d) -> IO CInt
+
+-- | usage: (@encodingConverterInit obj inputenc outputenc method@).
+encodingConverterInit :: EncodingConverter  a -> Int -> Int -> Int ->  IO Int
+encodingConverterInit _obj inputenc outputenc method 
+  = withIntResult $
+    withObjectRef "encodingConverterInit" _obj $ \cobj__obj -> 
+    wxEncodingConverter_Init cobj__obj  (toCInt inputenc)  (toCInt outputenc)  (toCInt method)  
+foreign import ccall "wxEncodingConverter_Init" wxEncodingConverter_Init :: Ptr (TEncodingConverter a) -> CInt -> CInt -> CInt -> IO CInt
+
+-- | usage: (@eraseEventCopyObject obj obj@).
+eraseEventCopyObject :: EraseEvent  a -> Ptr  b ->  IO ()
+eraseEventCopyObject _obj obj 
+  = withObjectRef "eraseEventCopyObject" _obj $ \cobj__obj -> 
+    wxEraseEvent_CopyObject cobj__obj  obj  
+foreign import ccall "wxEraseEvent_CopyObject" wxEraseEvent_CopyObject :: Ptr (TEraseEvent a) -> Ptr  b -> IO ()
+
+-- | usage: (@eraseEventGetDC obj@).
+eraseEventGetDC :: EraseEvent  a ->  IO (DC  ())
+eraseEventGetDC _obj 
+  = withObjectResult $
+    withObjectRef "eraseEventGetDC" _obj $ \cobj__obj -> 
+    wxEraseEvent_GetDC cobj__obj  
+foreign import ccall "wxEraseEvent_GetDC" wxEraseEvent_GetDC :: Ptr (TEraseEvent a) -> IO (Ptr (TDC ()))
+
+-- | usage: (@eventCopyObject obj objectdest@).
+eventCopyObject :: Event  a -> Ptr  b ->  IO ()
+eventCopyObject _obj objectdest 
+  = withObjectRef "eventCopyObject" _obj $ \cobj__obj -> 
+    wxEvent_CopyObject cobj__obj  objectdest  
+foreign import ccall "wxEvent_CopyObject" wxEvent_CopyObject :: Ptr (TEvent a) -> Ptr  b -> IO ()
+
+-- | usage: (@eventGetEventObject obj@).
+eventGetEventObject :: Event  a ->  IO (WxObject  ())
+eventGetEventObject _obj 
+  = withObjectResult $
+    withObjectRef "eventGetEventObject" _obj $ \cobj__obj -> 
+    wxEvent_GetEventObject cobj__obj  
+foreign import ccall "wxEvent_GetEventObject" wxEvent_GetEventObject :: Ptr (TEvent a) -> IO (Ptr (TWxObject ()))
+
+-- | usage: (@eventGetEventType obj@).
+eventGetEventType :: Event  a ->  IO Int
+eventGetEventType _obj 
+  = withIntResult $
+    withObjectRef "eventGetEventType" _obj $ \cobj__obj -> 
+    wxEvent_GetEventType cobj__obj  
+foreign import ccall "wxEvent_GetEventType" wxEvent_GetEventType :: Ptr (TEvent a) -> IO CInt
+
+-- | usage: (@eventGetId obj@).
+eventGetId :: Event  a ->  IO Int
+eventGetId _obj 
+  = withIntResult $
+    withObjectRef "eventGetId" _obj $ \cobj__obj -> 
+    wxEvent_GetId cobj__obj  
+foreign import ccall "wxEvent_GetId" wxEvent_GetId :: Ptr (TEvent a) -> IO CInt
+
+-- | usage: (@eventGetSkipped obj@).
+eventGetSkipped :: Event  a ->  IO Bool
+eventGetSkipped _obj 
+  = withBoolResult $
+    withObjectRef "eventGetSkipped" _obj $ \cobj__obj -> 
+    wxEvent_GetSkipped cobj__obj  
+foreign import ccall "wxEvent_GetSkipped" wxEvent_GetSkipped :: Ptr (TEvent a) -> IO CBool
+
+-- | usage: (@eventGetTimestamp obj@).
+eventGetTimestamp :: Event  a ->  IO Int
+eventGetTimestamp _obj 
+  = withIntResult $
+    withObjectRef "eventGetTimestamp" _obj $ \cobj__obj -> 
+    wxEvent_GetTimestamp cobj__obj  
+foreign import ccall "wxEvent_GetTimestamp" wxEvent_GetTimestamp :: Ptr (TEvent a) -> IO CInt
+
+-- | usage: (@eventIsCommandEvent obj@).
+eventIsCommandEvent :: Event  a ->  IO Bool
+eventIsCommandEvent _obj 
+  = withBoolResult $
+    withObjectRef "eventIsCommandEvent" _obj $ \cobj__obj -> 
+    wxEvent_IsCommandEvent cobj__obj  
+foreign import ccall "wxEvent_IsCommandEvent" wxEvent_IsCommandEvent :: Ptr (TEvent a) -> IO CBool
+
+-- | usage: (@eventNewEventType@).
+eventNewEventType ::  IO Int
+eventNewEventType 
+  = withIntResult $
+    wxEvent_NewEventType 
+foreign import ccall "wxEvent_NewEventType" wxEvent_NewEventType :: IO CInt
+
+-- | usage: (@eventSetEventObject obj obj@).
+eventSetEventObject :: Event  a -> WxObject  b ->  IO ()
+eventSetEventObject _obj obj 
+  = withObjectRef "eventSetEventObject" _obj $ \cobj__obj -> 
+    withObjectPtr obj $ \cobj_obj -> 
+    wxEvent_SetEventObject cobj__obj  cobj_obj  
+foreign import ccall "wxEvent_SetEventObject" wxEvent_SetEventObject :: Ptr (TEvent a) -> Ptr (TWxObject b) -> IO ()
+
+-- | usage: (@eventSetEventType obj typ@).
+eventSetEventType :: Event  a -> Int ->  IO ()
+eventSetEventType _obj typ 
+  = withObjectRef "eventSetEventType" _obj $ \cobj__obj -> 
+    wxEvent_SetEventType cobj__obj  (toCInt typ)  
+foreign import ccall "wxEvent_SetEventType" wxEvent_SetEventType :: Ptr (TEvent a) -> CInt -> IO ()
+
+-- | usage: (@eventSetId obj id@).
+eventSetId :: Event  a -> Int ->  IO ()
+eventSetId _obj id 
+  = withObjectRef "eventSetId" _obj $ \cobj__obj -> 
+    wxEvent_SetId cobj__obj  (toCInt id)  
+foreign import ccall "wxEvent_SetId" wxEvent_SetId :: Ptr (TEvent a) -> CInt -> IO ()
+
+-- | usage: (@eventSetTimestamp obj ts@).
+eventSetTimestamp :: Event  a -> Int ->  IO ()
+eventSetTimestamp _obj ts 
+  = withObjectRef "eventSetTimestamp" _obj $ \cobj__obj -> 
+    wxEvent_SetTimestamp cobj__obj  (toCInt ts)  
+foreign import ccall "wxEvent_SetTimestamp" wxEvent_SetTimestamp :: Ptr (TEvent a) -> CInt -> IO ()
+
+-- | usage: (@eventSkip obj@).
+eventSkip :: Event  a ->  IO ()
+eventSkip _obj 
+  = withObjectRef "eventSkip" _obj $ \cobj__obj -> 
+    wxEvent_Skip cobj__obj  
+foreign import ccall "wxEvent_Skip" wxEvent_Skip :: Ptr (TEvent a) -> IO ()
+
+-- | usage: (@evtHandlerAddPendingEvent obj event@).
+evtHandlerAddPendingEvent :: EvtHandler  a -> Event  b ->  IO ()
+evtHandlerAddPendingEvent _obj event 
+  = withObjectRef "evtHandlerAddPendingEvent" _obj $ \cobj__obj -> 
+    withObjectPtr event $ \cobj_event -> 
+    wxEvtHandler_AddPendingEvent cobj__obj  cobj_event  
+foreign import ccall "wxEvtHandler_AddPendingEvent" wxEvtHandler_AddPendingEvent :: Ptr (TEvtHandler a) -> Ptr (TEvent b) -> IO ()
+
+-- | usage: (@evtHandlerConnect obj first last wxtype wxdata@).
+evtHandlerConnect :: EvtHandler  a -> Int -> Int -> Int -> Ptr  e ->  IO Int
+evtHandlerConnect _obj first last wxtype wxdata 
+  = withIntResult $
+    withObjectRef "evtHandlerConnect" _obj $ \cobj__obj -> 
+    wxEvtHandler_Connect cobj__obj  (toCInt first)  (toCInt last)  (toCInt wxtype)  wxdata  
+foreign import ccall "wxEvtHandler_Connect" wxEvtHandler_Connect :: Ptr (TEvtHandler a) -> CInt -> CInt -> CInt -> Ptr  e -> IO CInt
+
+-- | usage: (@evtHandlerCreate@).
+evtHandlerCreate ::  IO (EvtHandler  ())
+evtHandlerCreate 
+  = withObjectResult $
+    wxEvtHandler_Create 
+foreign import ccall "wxEvtHandler_Create" wxEvtHandler_Create :: IO (Ptr (TEvtHandler ()))
+
+-- | usage: (@evtHandlerDelete obj@).
+evtHandlerDelete :: EvtHandler  a ->  IO ()
+evtHandlerDelete
+  = objectDelete
+
+
+-- | usage: (@evtHandlerDisconnect obj first last wxtype id@).
+evtHandlerDisconnect :: EvtHandler  a -> Int -> Int -> Int -> Id ->  IO Int
+evtHandlerDisconnect _obj first last wxtype id 
+  = withIntResult $
+    withObjectRef "evtHandlerDisconnect" _obj $ \cobj__obj -> 
+    wxEvtHandler_Disconnect cobj__obj  (toCInt first)  (toCInt last)  (toCInt wxtype)  (toCInt id)  
+foreign import ccall "wxEvtHandler_Disconnect" wxEvtHandler_Disconnect :: Ptr (TEvtHandler a) -> CInt -> CInt -> CInt -> CInt -> IO CInt
+
+{- |  Get the client data in the form of a closure. Use 'closureGetData' to get to the actual data. -}
+evtHandlerGetClientClosure :: EvtHandler  a ->  IO (Closure  ())
+evtHandlerGetClientClosure _obj 
+  = withObjectResult $
+    withObjectRef "evtHandlerGetClientClosure" _obj $ \cobj__obj -> 
+    wxEvtHandler_GetClientClosure cobj__obj  
+foreign import ccall "wxEvtHandler_GetClientClosure" wxEvtHandler_GetClientClosure :: Ptr (TEvtHandler a) -> IO (Ptr (TClosure ()))
+
+-- | usage: (@evtHandlerGetClosure obj id wxtype@).
+evtHandlerGetClosure :: EvtHandler  a -> Id -> Int ->  IO (Closure  ())
+evtHandlerGetClosure _obj id wxtype 
+  = withObjectResult $
+    withObjectRef "evtHandlerGetClosure" _obj $ \cobj__obj -> 
+    wxEvtHandler_GetClosure cobj__obj  (toCInt id)  (toCInt wxtype)  
+foreign import ccall "wxEvtHandler_GetClosure" wxEvtHandler_GetClosure :: Ptr (TEvtHandler a) -> CInt -> CInt -> IO (Ptr (TClosure ()))
+
+-- | usage: (@evtHandlerGetEvtHandlerEnabled obj@).
+evtHandlerGetEvtHandlerEnabled :: EvtHandler  a ->  IO Bool
+evtHandlerGetEvtHandlerEnabled _obj 
+  = withBoolResult $
+    withObjectRef "evtHandlerGetEvtHandlerEnabled" _obj $ \cobj__obj -> 
+    wxEvtHandler_GetEvtHandlerEnabled cobj__obj  
+foreign import ccall "wxEvtHandler_GetEvtHandlerEnabled" wxEvtHandler_GetEvtHandlerEnabled :: Ptr (TEvtHandler a) -> IO CBool
+
+-- | usage: (@evtHandlerGetNextHandler obj@).
+evtHandlerGetNextHandler :: EvtHandler  a ->  IO (EvtHandler  ())
+evtHandlerGetNextHandler _obj 
+  = withObjectResult $
+    withObjectRef "evtHandlerGetNextHandler" _obj $ \cobj__obj -> 
+    wxEvtHandler_GetNextHandler cobj__obj  
+foreign import ccall "wxEvtHandler_GetNextHandler" wxEvtHandler_GetNextHandler :: Ptr (TEvtHandler a) -> IO (Ptr (TEvtHandler ()))
+
+-- | usage: (@evtHandlerGetPreviousHandler obj@).
+evtHandlerGetPreviousHandler :: EvtHandler  a ->  IO (EvtHandler  ())
+evtHandlerGetPreviousHandler _obj 
+  = withObjectResult $
+    withObjectRef "evtHandlerGetPreviousHandler" _obj $ \cobj__obj -> 
+    wxEvtHandler_GetPreviousHandler cobj__obj  
+foreign import ccall "wxEvtHandler_GetPreviousHandler" wxEvtHandler_GetPreviousHandler :: Ptr (TEvtHandler a) -> IO (Ptr (TEvtHandler ()))
+
+-- | usage: (@evtHandlerProcessEvent obj event@).
+evtHandlerProcessEvent :: EvtHandler  a -> Event  b ->  IO Bool
+evtHandlerProcessEvent _obj event 
+  = withBoolResult $
+    withObjectRef "evtHandlerProcessEvent" _obj $ \cobj__obj -> 
+    withObjectPtr event $ \cobj_event -> 
+    wxEvtHandler_ProcessEvent cobj__obj  cobj_event  
+foreign import ccall "wxEvtHandler_ProcessEvent" wxEvtHandler_ProcessEvent :: Ptr (TEvtHandler a) -> Ptr (TEvent b) -> IO CBool
+
+-- | usage: (@evtHandlerProcessPendingEvents obj@).
+evtHandlerProcessPendingEvents :: EvtHandler  a ->  IO ()
+evtHandlerProcessPendingEvents _obj 
+  = withObjectRef "evtHandlerProcessPendingEvents" _obj $ \cobj__obj -> 
+    wxEvtHandler_ProcessPendingEvents cobj__obj  
+foreign import ccall "wxEvtHandler_ProcessPendingEvents" wxEvtHandler_ProcessPendingEvents :: Ptr (TEvtHandler a) -> IO ()
+
+{- |  Set the client data as a closure. The closure data contains the data while the function is called on deletion.  -}
+evtHandlerSetClientClosure :: EvtHandler  a -> Closure  b ->  IO ()
+evtHandlerSetClientClosure _obj closure 
+  = withObjectRef "evtHandlerSetClientClosure" _obj $ \cobj__obj -> 
+    withObjectPtr closure $ \cobj_closure -> 
+    wxEvtHandler_SetClientClosure cobj__obj  cobj_closure  
+foreign import ccall "wxEvtHandler_SetClientClosure" wxEvtHandler_SetClientClosure :: Ptr (TEvtHandler a) -> Ptr (TClosure b) -> IO ()
+
+-- | usage: (@evtHandlerSetEvtHandlerEnabled obj enabled@).
+evtHandlerSetEvtHandlerEnabled :: EvtHandler  a -> Bool ->  IO ()
+evtHandlerSetEvtHandlerEnabled _obj enabled 
+  = withObjectRef "evtHandlerSetEvtHandlerEnabled" _obj $ \cobj__obj -> 
+    wxEvtHandler_SetEvtHandlerEnabled cobj__obj  (toCBool enabled)  
+foreign import ccall "wxEvtHandler_SetEvtHandlerEnabled" wxEvtHandler_SetEvtHandlerEnabled :: Ptr (TEvtHandler a) -> CBool -> IO ()
+
+-- | usage: (@evtHandlerSetNextHandler obj handler@).
+evtHandlerSetNextHandler :: EvtHandler  a -> EvtHandler  b ->  IO ()
+evtHandlerSetNextHandler _obj handler 
+  = withObjectRef "evtHandlerSetNextHandler" _obj $ \cobj__obj -> 
+    withObjectPtr handler $ \cobj_handler -> 
+    wxEvtHandler_SetNextHandler cobj__obj  cobj_handler  
+foreign import ccall "wxEvtHandler_SetNextHandler" wxEvtHandler_SetNextHandler :: Ptr (TEvtHandler a) -> Ptr (TEvtHandler b) -> IO ()
+
+-- | usage: (@evtHandlerSetPreviousHandler obj handler@).
+evtHandlerSetPreviousHandler :: EvtHandler  a -> EvtHandler  b ->  IO ()
+evtHandlerSetPreviousHandler _obj handler 
+  = withObjectRef "evtHandlerSetPreviousHandler" _obj $ \cobj__obj -> 
+    withObjectPtr handler $ \cobj_handler -> 
+    wxEvtHandler_SetPreviousHandler cobj__obj  cobj_handler  
+foreign import ccall "wxEvtHandler_SetPreviousHandler" wxEvtHandler_SetPreviousHandler :: Ptr (TEvtHandler a) -> Ptr (TEvtHandler b) -> IO ()
+
+-- | usage: (@fileConfigCreate inp@).
+fileConfigCreate :: InputStream  a ->  IO (FileConfig  ())
+fileConfigCreate inp 
+  = withObjectResult $
+    withObjectPtr inp $ \cobj_inp -> 
+    wxFileConfig_Create cobj_inp  
+foreign import ccall "wxFileConfig_Create" wxFileConfig_Create :: Ptr (TInputStream a) -> IO (Ptr (TFileConfig ()))
+
+-- | usage: (@fileDataObjectAddFile obj fle@).
+fileDataObjectAddFile :: FileDataObject  a -> String ->  IO ()
+fileDataObjectAddFile _obj _fle 
+  = withObjectPtr _obj $ \cobj__obj -> 
+    withStringPtr _fle $ \cobj__fle -> 
+    wx_FileDataObject_AddFile cobj__obj  cobj__fle  
+foreign import ccall "FileDataObject_AddFile" wx_FileDataObject_AddFile :: Ptr (TFileDataObject a) -> Ptr (TWxString b) -> IO ()
+
+-- | usage: (@fileDataObjectCreate cntlst@).
+fileDataObjectCreate :: [String] ->  IO (FileDataObject  ())
+fileDataObjectCreate _cntlst 
+  = withObjectResult $
+    withArrayWString _cntlst $ \carrlen__cntlst carr__cntlst -> 
+    wx_FileDataObject_Create carrlen__cntlst carr__cntlst  
+foreign import ccall "FileDataObject_Create" wx_FileDataObject_Create :: CInt -> Ptr (Ptr CWchar) -> IO (Ptr (TFileDataObject ()))
+
+-- | usage: (@fileDataObjectDelete obj@).
+fileDataObjectDelete :: FileDataObject  a ->  IO ()
+fileDataObjectDelete _obj 
+  = withObjectPtr _obj $ \cobj__obj -> 
+    wx_FileDataObject_Delete cobj__obj  
+foreign import ccall "FileDataObject_Delete" wx_FileDataObject_Delete :: Ptr (TFileDataObject a) -> IO ()
+
+-- | usage: (@fileDataObjectGetFilenames obj@).
+fileDataObjectGetFilenames :: FileDataObject  a ->  IO [String]
+fileDataObjectGetFilenames _obj 
+  = withArrayWStringResult $ \arr -> 
+    withObjectPtr _obj $ \cobj__obj -> 
+    wx_FileDataObject_GetFilenames cobj__obj   arr
+foreign import ccall "FileDataObject_GetFilenames" wx_FileDataObject_GetFilenames :: Ptr (TFileDataObject a) -> Ptr (Ptr CWchar) -> IO CInt
+
+-- | usage: (@fileDialogCreate prt msg dir fle wcd lfttop stl@).
+fileDialogCreate :: Window  a -> String -> String -> String -> String -> Point -> Style ->  IO (FileDialog  ())
+fileDialogCreate _prt _msg _dir _fle _wcd _lfttop _stl 
+  = withObjectResult $
+    withObjectPtr _prt $ \cobj__prt -> 
+    withStringPtr _msg $ \cobj__msg -> 
+    withStringPtr _dir $ \cobj__dir -> 
+    withStringPtr _fle $ \cobj__fle -> 
+    withStringPtr _wcd $ \cobj__wcd -> 
+    wxFileDialog_Create cobj__prt  cobj__msg  cobj__dir  cobj__fle  cobj__wcd  (toCIntPointX _lfttop) (toCIntPointY _lfttop)  (toCInt _stl)  
+foreign import ccall "wxFileDialog_Create" wxFileDialog_Create :: Ptr (TWindow a) -> Ptr (TWxString b) -> Ptr (TWxString c) -> Ptr (TWxString d) -> Ptr (TWxString e) -> CInt -> CInt -> CInt -> IO (Ptr (TFileDialog ()))
+
+-- | usage: (@fileDialogGetDirectory obj@).
+fileDialogGetDirectory :: FileDialog  a ->  IO (String)
+fileDialogGetDirectory _obj 
+  = withManagedStringResult $
+    withObjectRef "fileDialogGetDirectory" _obj $ \cobj__obj -> 
+    wxFileDialog_GetDirectory cobj__obj  
+foreign import ccall "wxFileDialog_GetDirectory" wxFileDialog_GetDirectory :: Ptr (TFileDialog a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@fileDialogGetFilename obj@).
+fileDialogGetFilename :: FileDialog  a ->  IO (String)
+fileDialogGetFilename _obj 
+  = withManagedStringResult $
+    withObjectRef "fileDialogGetFilename" _obj $ \cobj__obj -> 
+    wxFileDialog_GetFilename cobj__obj  
+foreign import ccall "wxFileDialog_GetFilename" wxFileDialog_GetFilename :: Ptr (TFileDialog a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@fileDialogGetFilenames obj@).
+fileDialogGetFilenames :: FileDialog  a ->  IO [String]
+fileDialogGetFilenames _obj 
+  = withArrayWStringResult $ \arr -> 
+    withObjectRef "fileDialogGetFilenames" _obj $ \cobj__obj -> 
+    wxFileDialog_GetFilenames cobj__obj   arr
+foreign import ccall "wxFileDialog_GetFilenames" wxFileDialog_GetFilenames :: Ptr (TFileDialog a) -> Ptr (Ptr CWchar) -> IO CInt
+
+-- | usage: (@fileDialogGetFilterIndex obj@).
+fileDialogGetFilterIndex :: FileDialog  a ->  IO Int
+fileDialogGetFilterIndex _obj 
+  = withIntResult $
+    withObjectRef "fileDialogGetFilterIndex" _obj $ \cobj__obj -> 
+    wxFileDialog_GetFilterIndex cobj__obj  
+foreign import ccall "wxFileDialog_GetFilterIndex" wxFileDialog_GetFilterIndex :: Ptr (TFileDialog a) -> IO CInt
+
+-- | usage: (@fileDialogGetMessage obj@).
+fileDialogGetMessage :: FileDialog  a ->  IO (String)
+fileDialogGetMessage _obj 
+  = withManagedStringResult $
+    withObjectRef "fileDialogGetMessage" _obj $ \cobj__obj -> 
+    wxFileDialog_GetMessage cobj__obj  
+foreign import ccall "wxFileDialog_GetMessage" wxFileDialog_GetMessage :: Ptr (TFileDialog a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@fileDialogGetPath obj@).
+fileDialogGetPath :: FileDialog  a ->  IO (String)
+fileDialogGetPath _obj 
+  = withManagedStringResult $
+    withObjectRef "fileDialogGetPath" _obj $ \cobj__obj -> 
+    wxFileDialog_GetPath cobj__obj  
+foreign import ccall "wxFileDialog_GetPath" wxFileDialog_GetPath :: Ptr (TFileDialog a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@fileDialogGetPaths obj@).
+fileDialogGetPaths :: FileDialog  a ->  IO [String]
+fileDialogGetPaths _obj 
+  = withArrayWStringResult $ \arr -> 
+    withObjectRef "fileDialogGetPaths" _obj $ \cobj__obj -> 
+    wxFileDialog_GetPaths cobj__obj   arr
+foreign import ccall "wxFileDialog_GetPaths" wxFileDialog_GetPaths :: Ptr (TFileDialog a) -> Ptr (Ptr CWchar) -> IO CInt
+
+-- | usage: (@fileDialogGetStyle obj@).
+fileDialogGetStyle :: FileDialog  a ->  IO Int
+fileDialogGetStyle _obj 
+  = withIntResult $
+    withObjectRef "fileDialogGetStyle" _obj $ \cobj__obj -> 
+    wxFileDialog_GetStyle cobj__obj  
+foreign import ccall "wxFileDialog_GetStyle" wxFileDialog_GetStyle :: Ptr (TFileDialog a) -> IO CInt
+
+-- | usage: (@fileDialogGetWildcard obj@).
+fileDialogGetWildcard :: FileDialog  a ->  IO (String)
+fileDialogGetWildcard _obj 
+  = withManagedStringResult $
+    withObjectRef "fileDialogGetWildcard" _obj $ \cobj__obj -> 
+    wxFileDialog_GetWildcard cobj__obj  
+foreign import ccall "wxFileDialog_GetWildcard" wxFileDialog_GetWildcard :: Ptr (TFileDialog a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@fileDialogSetDirectory obj dir@).
+fileDialogSetDirectory :: FileDialog  a -> String ->  IO ()
+fileDialogSetDirectory _obj dir 
+  = withObjectRef "fileDialogSetDirectory" _obj $ \cobj__obj -> 
+    withStringPtr dir $ \cobj_dir -> 
+    wxFileDialog_SetDirectory cobj__obj  cobj_dir  
+foreign import ccall "wxFileDialog_SetDirectory" wxFileDialog_SetDirectory :: Ptr (TFileDialog a) -> Ptr (TWxString b) -> IO ()
+
+-- | usage: (@fileDialogSetFilename obj name@).
+fileDialogSetFilename :: FileDialog  a -> String ->  IO ()
+fileDialogSetFilename _obj name 
+  = withObjectRef "fileDialogSetFilename" _obj $ \cobj__obj -> 
+    withStringPtr name $ \cobj_name -> 
+    wxFileDialog_SetFilename cobj__obj  cobj_name  
+foreign import ccall "wxFileDialog_SetFilename" wxFileDialog_SetFilename :: Ptr (TFileDialog a) -> Ptr (TWxString b) -> IO ()
+
+-- | usage: (@fileDialogSetFilterIndex obj filterIndex@).
+fileDialogSetFilterIndex :: FileDialog  a -> Int ->  IO ()
+fileDialogSetFilterIndex _obj filterIndex 
+  = withObjectRef "fileDialogSetFilterIndex" _obj $ \cobj__obj -> 
+    wxFileDialog_SetFilterIndex cobj__obj  (toCInt filterIndex)  
+foreign import ccall "wxFileDialog_SetFilterIndex" wxFileDialog_SetFilterIndex :: Ptr (TFileDialog a) -> CInt -> IO ()
+
+-- | usage: (@fileDialogSetMessage obj message@).
+fileDialogSetMessage :: FileDialog  a -> String ->  IO ()
+fileDialogSetMessage _obj message 
+  = withObjectRef "fileDialogSetMessage" _obj $ \cobj__obj -> 
+    withStringPtr message $ \cobj_message -> 
+    wxFileDialog_SetMessage cobj__obj  cobj_message  
+foreign import ccall "wxFileDialog_SetMessage" wxFileDialog_SetMessage :: Ptr (TFileDialog a) -> Ptr (TWxString b) -> IO ()
+
+-- | usage: (@fileDialogSetPath obj path@).
+fileDialogSetPath :: FileDialog  a -> String ->  IO ()
+fileDialogSetPath _obj path 
+  = withObjectRef "fileDialogSetPath" _obj $ \cobj__obj -> 
+    withStringPtr path $ \cobj_path -> 
+    wxFileDialog_SetPath cobj__obj  cobj_path  
+foreign import ccall "wxFileDialog_SetPath" wxFileDialog_SetPath :: Ptr (TFileDialog a) -> Ptr (TWxString b) -> IO ()
+
+-- | usage: (@fileDialogSetStyle obj style@).
+fileDialogSetStyle :: FileDialog  a -> Int ->  IO ()
+fileDialogSetStyle _obj style 
+  = withObjectRef "fileDialogSetStyle" _obj $ \cobj__obj -> 
+    wxFileDialog_SetStyle cobj__obj  (toCInt style)  
+foreign import ccall "wxFileDialog_SetStyle" wxFileDialog_SetStyle :: Ptr (TFileDialog a) -> CInt -> IO ()
+
+-- | usage: (@fileDialogSetWildcard obj wildCard@).
+fileDialogSetWildcard :: FileDialog  a -> String ->  IO ()
+fileDialogSetWildcard _obj wildCard 
+  = withObjectRef "fileDialogSetWildcard" _obj $ \cobj__obj -> 
+    withStringPtr wildCard $ \cobj_wildCard -> 
+    wxFileDialog_SetWildcard cobj__obj  cobj_wildCard  
+foreign import ccall "wxFileDialog_SetWildcard" wxFileDialog_SetWildcard :: Ptr (TFileDialog a) -> Ptr (TWxString b) -> IO ()
+
+-- | usage: (@fileHistoryAddFileToHistory obj file@).
+fileHistoryAddFileToHistory :: FileHistory  a -> String ->  IO ()
+fileHistoryAddFileToHistory _obj file 
+  = withObjectRef "fileHistoryAddFileToHistory" _obj $ \cobj__obj -> 
+    withStringPtr file $ \cobj_file -> 
+    wxFileHistory_AddFileToHistory cobj__obj  cobj_file  
+foreign import ccall "wxFileHistory_AddFileToHistory" wxFileHistory_AddFileToHistory :: Ptr (TFileHistory a) -> Ptr (TWxString b) -> IO ()
+
+-- | usage: (@fileHistoryAddFilesToMenu obj menu@).
+fileHistoryAddFilesToMenu :: FileHistory  a -> Menu  b ->  IO ()
+fileHistoryAddFilesToMenu _obj menu 
+  = withObjectRef "fileHistoryAddFilesToMenu" _obj $ \cobj__obj -> 
+    withObjectPtr menu $ \cobj_menu -> 
+    wxFileHistory_AddFilesToMenu cobj__obj  cobj_menu  
+foreign import ccall "wxFileHistory_AddFilesToMenu" wxFileHistory_AddFilesToMenu :: Ptr (TFileHistory a) -> Ptr (TMenu b) -> IO ()
+
+-- | usage: (@fileHistoryCreate maxFiles@).
+fileHistoryCreate :: Int ->  IO (FileHistory  ())
+fileHistoryCreate maxFiles 
+  = withObjectResult $
+    wxFileHistory_Create (toCInt maxFiles)  
+foreign import ccall "wxFileHistory_Create" wxFileHistory_Create :: CInt -> IO (Ptr (TFileHistory ()))
+
+-- | usage: (@fileHistoryDelete obj@).
+fileHistoryDelete :: FileHistory  a ->  IO ()
+fileHistoryDelete
+  = objectDelete
+
+
+-- | usage: (@fileHistoryGetCount obj@).
+fileHistoryGetCount :: FileHistory  a ->  IO Int
+fileHistoryGetCount _obj 
+  = withIntResult $
+    withObjectRef "fileHistoryGetCount" _obj $ \cobj__obj -> 
+    wxFileHistory_GetCount cobj__obj  
+foreign import ccall "wxFileHistory_GetCount" wxFileHistory_GetCount :: Ptr (TFileHistory a) -> IO CInt
+
+-- | usage: (@fileHistoryGetHistoryFile obj i@).
+fileHistoryGetHistoryFile :: FileHistory  a -> Int ->  IO (String)
+fileHistoryGetHistoryFile _obj i 
+  = withManagedStringResult $
+    withObjectRef "fileHistoryGetHistoryFile" _obj $ \cobj__obj -> 
+    wxFileHistory_GetHistoryFile cobj__obj  (toCInt i)  
+foreign import ccall "wxFileHistory_GetHistoryFile" wxFileHistory_GetHistoryFile :: Ptr (TFileHistory a) -> CInt -> IO (Ptr (TWxString ()))
+
+-- | usage: (@fileHistoryGetMaxFiles obj@).
+fileHistoryGetMaxFiles :: FileHistory  a ->  IO Int
+fileHistoryGetMaxFiles _obj 
+  = withIntResult $
+    withObjectRef "fileHistoryGetMaxFiles" _obj $ \cobj__obj -> 
+    wxFileHistory_GetMaxFiles cobj__obj  
+foreign import ccall "wxFileHistory_GetMaxFiles" wxFileHistory_GetMaxFiles :: Ptr (TFileHistory a) -> IO CInt
+
+-- | usage: (@fileHistoryGetMenus obj@).
+fileHistoryGetMenus :: FileHistory  a ->  IO [Menu ()]
+fileHistoryGetMenus _obj 
+  = withArrayObjectResult $ \arr -> 
+    withObjectRef "fileHistoryGetMenus" _obj $ \cobj__obj -> 
+    wxFileHistory_GetMenus cobj__obj   arr
+foreign import ccall "wxFileHistory_GetMenus" wxFileHistory_GetMenus :: Ptr (TFileHistory a) -> Ptr (Ptr (TMenu ())) -> IO CInt
+
+-- | usage: (@fileHistoryLoad obj config@).
+fileHistoryLoad :: FileHistory  a -> ConfigBase  b ->  IO ()
+fileHistoryLoad _obj config 
+  = withObjectRef "fileHistoryLoad" _obj $ \cobj__obj -> 
+    withObjectPtr config $ \cobj_config -> 
+    wxFileHistory_Load cobj__obj  cobj_config  
+foreign import ccall "wxFileHistory_Load" wxFileHistory_Load :: Ptr (TFileHistory a) -> Ptr (TConfigBase b) -> IO ()
+
+-- | usage: (@fileHistoryRemoveFileFromHistory obj i@).
+fileHistoryRemoveFileFromHistory :: FileHistory  a -> Int ->  IO ()
+fileHistoryRemoveFileFromHistory _obj i 
+  = withObjectRef "fileHistoryRemoveFileFromHistory" _obj $ \cobj__obj -> 
+    wxFileHistory_RemoveFileFromHistory cobj__obj  (toCInt i)  
+foreign import ccall "wxFileHistory_RemoveFileFromHistory" wxFileHistory_RemoveFileFromHistory :: Ptr (TFileHistory a) -> CInt -> IO ()
+
+-- | usage: (@fileHistoryRemoveMenu obj menu@).
+fileHistoryRemoveMenu :: FileHistory  a -> Menu  b ->  IO ()
+fileHistoryRemoveMenu _obj menu 
+  = withObjectRef "fileHistoryRemoveMenu" _obj $ \cobj__obj -> 
+    withObjectPtr menu $ \cobj_menu -> 
+    wxFileHistory_RemoveMenu cobj__obj  cobj_menu  
+foreign import ccall "wxFileHistory_RemoveMenu" wxFileHistory_RemoveMenu :: Ptr (TFileHistory a) -> Ptr (TMenu b) -> IO ()
+
+-- | usage: (@fileHistorySave obj config@).
+fileHistorySave :: FileHistory  a -> ConfigBase  b ->  IO ()
+fileHistorySave _obj config 
+  = withObjectRef "fileHistorySave" _obj $ \cobj__obj -> 
+    withObjectPtr config $ \cobj_config -> 
+    wxFileHistory_Save cobj__obj  cobj_config  
+foreign import ccall "wxFileHistory_Save" wxFileHistory_Save :: Ptr (TFileHistory a) -> Ptr (TConfigBase b) -> IO ()
+
+-- | usage: (@fileHistoryUseMenu obj menu@).
+fileHistoryUseMenu :: FileHistory  a -> Menu  b ->  IO ()
+fileHistoryUseMenu _obj menu 
+  = withObjectRef "fileHistoryUseMenu" _obj $ \cobj__obj -> 
+    withObjectPtr menu $ \cobj_menu -> 
+    wxFileHistory_UseMenu cobj__obj  cobj_menu  
+foreign import ccall "wxFileHistory_UseMenu" wxFileHistory_UseMenu :: Ptr (TFileHistory a) -> Ptr (TMenu b) -> IO ()
+
+-- | usage: (@fileInputStreamCreate ofileName@).
+fileInputStreamCreate :: String ->  IO (FileInputStream  ())
+fileInputStreamCreate ofileName 
+  = withObjectResult $
+    withStringPtr ofileName $ \cobj_ofileName -> 
+    wxFileInputStream_Create cobj_ofileName  
+foreign import ccall "wxFileInputStream_Create" wxFileInputStream_Create :: Ptr (TWxString a) -> IO (Ptr (TFileInputStream ()))
+
+-- | usage: (@fileInputStreamDelete self@).
+fileInputStreamDelete :: FileInputStream  a ->  IO ()
+fileInputStreamDelete self 
+  = withObjectRef "fileInputStreamDelete" self $ \cobj_self -> 
+    wxFileInputStream_Delete cobj_self  
+foreign import ccall "wxFileInputStream_Delete" wxFileInputStream_Delete :: Ptr (TFileInputStream a) -> IO ()
+
+-- | usage: (@fileInputStreamIsOk self@).
+fileInputStreamIsOk :: FileInputStream  a ->  IO Bool
+fileInputStreamIsOk self 
+  = withBoolResult $
+    withObjectRef "fileInputStreamIsOk" self $ \cobj_self -> 
+    wxFileInputStream_IsOk cobj_self  
+foreign import ccall "wxFileInputStream_IsOk" wxFileInputStream_IsOk :: Ptr (TFileInputStream a) -> IO CBool
+
+-- | usage: (@fileOutputStreamCreate ofileName@).
+fileOutputStreamCreate :: String ->  IO (FileOutputStream  ())
+fileOutputStreamCreate ofileName 
+  = withObjectResult $
+    withStringPtr ofileName $ \cobj_ofileName -> 
+    wxFileOutputStream_Create cobj_ofileName  
+foreign import ccall "wxFileOutputStream_Create" wxFileOutputStream_Create :: Ptr (TWxString a) -> IO (Ptr (TFileOutputStream ()))
+
+-- | usage: (@fileOutputStreamDelete self@).
+fileOutputStreamDelete :: FileOutputStream  a ->  IO ()
+fileOutputStreamDelete self 
+  = withObjectRef "fileOutputStreamDelete" self $ \cobj_self -> 
+    wxFileOutputStream_Delete cobj_self  
+foreign import ccall "wxFileOutputStream_Delete" wxFileOutputStream_Delete :: Ptr (TFileOutputStream a) -> IO ()
+
+-- | usage: (@fileOutputStreamIsOk self@).
+fileOutputStreamIsOk :: FileOutputStream  a ->  IO Bool
+fileOutputStreamIsOk self 
+  = withBoolResult $
+    withObjectRef "fileOutputStreamIsOk" self $ \cobj_self -> 
+    wxFileOutputStream_IsOk cobj_self  
+foreign import ccall "wxFileOutputStream_IsOk" wxFileOutputStream_IsOk :: Ptr (TFileOutputStream a) -> IO CBool
+
+-- | usage: (@filePropertyCreate label name value@).
+filePropertyCreate :: String -> String -> String ->  IO (FileProperty  ())
+filePropertyCreate label name value 
+  = withObjectResult $
+    withStringPtr label $ \cobj_label -> 
+    withStringPtr name $ \cobj_name -> 
+    withStringPtr value $ \cobj_value -> 
+    wxFileProperty_Create cobj_label  cobj_name  cobj_value  
+foreign import ccall "wxFileProperty_Create" wxFileProperty_Create :: Ptr (TWxString a) -> Ptr (TWxString b) -> Ptr (TWxString c) -> IO (Ptr (TFileProperty ()))
+
+-- | usage: (@fileTypeDelete obj@).
+fileTypeDelete :: FileType  a ->  IO ()
+fileTypeDelete _obj 
+  = withObjectRef "fileTypeDelete" _obj $ \cobj__obj -> 
+    wxFileType_Delete cobj__obj  
+foreign import ccall "wxFileType_Delete" wxFileType_Delete :: Ptr (TFileType a) -> IO ()
+
+-- | usage: (@fileTypeExpandCommand obj cmd params@).
+fileTypeExpandCommand :: FileType  a -> Ptr  b -> Ptr  c ->  IO (String)
+fileTypeExpandCommand _obj _cmd _params 
+  = withManagedStringResult $
+    withObjectRef "fileTypeExpandCommand" _obj $ \cobj__obj -> 
+    wxFileType_ExpandCommand cobj__obj  _cmd  _params  
+foreign import ccall "wxFileType_ExpandCommand" wxFileType_ExpandCommand :: Ptr (TFileType a) -> Ptr  b -> Ptr  c -> IO (Ptr (TWxString ()))
+
+-- | usage: (@fileTypeGetDescription obj@).
+fileTypeGetDescription :: FileType  a ->  IO (String)
+fileTypeGetDescription _obj 
+  = withManagedStringResult $
+    withObjectRef "fileTypeGetDescription" _obj $ \cobj__obj -> 
+    wxFileType_GetDescription cobj__obj  
+foreign import ccall "wxFileType_GetDescription" wxFileType_GetDescription :: Ptr (TFileType a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@fileTypeGetExtensions obj lst@).
+fileTypeGetExtensions :: FileType  a -> List  b ->  IO Int
+fileTypeGetExtensions _obj _lst 
+  = withIntResult $
+    withObjectRef "fileTypeGetExtensions" _obj $ \cobj__obj -> 
+    withObjectPtr _lst $ \cobj__lst -> 
+    wxFileType_GetExtensions cobj__obj  cobj__lst  
+foreign import ccall "wxFileType_GetExtensions" wxFileType_GetExtensions :: Ptr (TFileType a) -> Ptr (TList b) -> IO CInt
+
+-- | usage: (@fileTypeGetIcon obj icon@).
+fileTypeGetIcon :: FileType  a -> Icon  b ->  IO Int
+fileTypeGetIcon _obj icon 
+  = withIntResult $
+    withObjectRef "fileTypeGetIcon" _obj $ \cobj__obj -> 
+    withObjectPtr icon $ \cobj_icon -> 
+    wxFileType_GetIcon cobj__obj  cobj_icon  
+foreign import ccall "wxFileType_GetIcon" wxFileType_GetIcon :: Ptr (TFileType a) -> Ptr (TIcon b) -> IO CInt
+
+-- | usage: (@fileTypeGetMimeType obj@).
+fileTypeGetMimeType :: FileType  a ->  IO (String)
+fileTypeGetMimeType _obj 
+  = withManagedStringResult $
+    withObjectRef "fileTypeGetMimeType" _obj $ \cobj__obj -> 
+    wxFileType_GetMimeType cobj__obj  
+foreign import ccall "wxFileType_GetMimeType" wxFileType_GetMimeType :: Ptr (TFileType a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@fileTypeGetMimeTypes obj lst@).
+fileTypeGetMimeTypes :: FileType  a -> List  b ->  IO Int
+fileTypeGetMimeTypes _obj _lst 
+  = withIntResult $
+    withObjectRef "fileTypeGetMimeTypes" _obj $ \cobj__obj -> 
+    withObjectPtr _lst $ \cobj__lst -> 
+    wxFileType_GetMimeTypes cobj__obj  cobj__lst  
+foreign import ccall "wxFileType_GetMimeTypes" wxFileType_GetMimeTypes :: Ptr (TFileType a) -> Ptr (TList b) -> IO CInt
+
+-- | usage: (@fileTypeGetOpenCommand obj buf params@).
+fileTypeGetOpenCommand :: FileType  a -> Ptr  b -> Ptr  c ->  IO Int
+fileTypeGetOpenCommand _obj _buf _params 
+  = withIntResult $
+    withObjectRef "fileTypeGetOpenCommand" _obj $ \cobj__obj -> 
+    wxFileType_GetOpenCommand cobj__obj  _buf  _params  
+foreign import ccall "wxFileType_GetOpenCommand" wxFileType_GetOpenCommand :: Ptr (TFileType a) -> Ptr  b -> Ptr  c -> IO CInt
+
+-- | usage: (@fileTypeGetPrintCommand obj buf params@).
+fileTypeGetPrintCommand :: FileType  a -> Ptr  b -> Ptr  c ->  IO Int
+fileTypeGetPrintCommand _obj _buf _params 
+  = withIntResult $
+    withObjectRef "fileTypeGetPrintCommand" _obj $ \cobj__obj -> 
+    wxFileType_GetPrintCommand cobj__obj  _buf  _params  
+foreign import ccall "wxFileType_GetPrintCommand" wxFileType_GetPrintCommand :: Ptr (TFileType a) -> Ptr  b -> Ptr  c -> IO CInt
+
+-- | usage: (@findDialogEventGetFindString obj ref@).
+findDialogEventGetFindString :: FindDialogEvent  a -> Ptr  b ->  IO Int
+findDialogEventGetFindString _obj _ref 
+  = withIntResult $
+    withObjectRef "findDialogEventGetFindString" _obj $ \cobj__obj -> 
+    wxFindDialogEvent_GetFindString cobj__obj  _ref  
+foreign import ccall "wxFindDialogEvent_GetFindString" wxFindDialogEvent_GetFindString :: Ptr (TFindDialogEvent a) -> Ptr  b -> IO CInt
+
+-- | usage: (@findDialogEventGetFlags obj@).
+findDialogEventGetFlags :: FindDialogEvent  a ->  IO Int
+findDialogEventGetFlags _obj 
+  = withIntResult $
+    withObjectRef "findDialogEventGetFlags" _obj $ \cobj__obj -> 
+    wxFindDialogEvent_GetFlags cobj__obj  
+foreign import ccall "wxFindDialogEvent_GetFlags" wxFindDialogEvent_GetFlags :: Ptr (TFindDialogEvent a) -> IO CInt
+
+-- | usage: (@findDialogEventGetReplaceString obj ref@).
+findDialogEventGetReplaceString :: FindDialogEvent  a -> Ptr  b ->  IO Int
+findDialogEventGetReplaceString _obj _ref 
+  = withIntResult $
+    withObjectRef "findDialogEventGetReplaceString" _obj $ \cobj__obj -> 
+    wxFindDialogEvent_GetReplaceString cobj__obj  _ref  
+foreign import ccall "wxFindDialogEvent_GetReplaceString" wxFindDialogEvent_GetReplaceString :: Ptr (TFindDialogEvent a) -> Ptr  b -> IO CInt
+
+-- | usage: (@findReplaceDataCreate flags@).
+findReplaceDataCreate :: Int ->  IO (FindReplaceData  ())
+findReplaceDataCreate flags 
+  = withObjectResult $
+    wxFindReplaceData_Create (toCInt flags)  
+foreign import ccall "wxFindReplaceData_Create" wxFindReplaceData_Create :: CInt -> IO (Ptr (TFindReplaceData ()))
+
+-- | usage: (@findReplaceDataCreateDefault@).
+findReplaceDataCreateDefault ::  IO (FindReplaceData  ())
+findReplaceDataCreateDefault 
+  = withObjectResult $
+    wxFindReplaceData_CreateDefault 
+foreign import ccall "wxFindReplaceData_CreateDefault" wxFindReplaceData_CreateDefault :: IO (Ptr (TFindReplaceData ()))
+
+-- | usage: (@findReplaceDataDelete obj@).
+findReplaceDataDelete :: FindReplaceData  a ->  IO ()
+findReplaceDataDelete
+  = objectDelete
+
+
+-- | usage: (@findReplaceDataGetFindString obj@).
+findReplaceDataGetFindString :: FindReplaceData  a ->  IO (String)
+findReplaceDataGetFindString _obj 
+  = withManagedStringResult $
+    withObjectRef "findReplaceDataGetFindString" _obj $ \cobj__obj -> 
+    wxFindReplaceData_GetFindString cobj__obj  
+foreign import ccall "wxFindReplaceData_GetFindString" wxFindReplaceData_GetFindString :: Ptr (TFindReplaceData a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@findReplaceDataGetFlags obj@).
+findReplaceDataGetFlags :: FindReplaceData  a ->  IO Int
+findReplaceDataGetFlags _obj 
+  = withIntResult $
+    withObjectRef "findReplaceDataGetFlags" _obj $ \cobj__obj -> 
+    wxFindReplaceData_GetFlags cobj__obj  
+foreign import ccall "wxFindReplaceData_GetFlags" wxFindReplaceData_GetFlags :: Ptr (TFindReplaceData a) -> IO CInt
+
+-- | usage: (@findReplaceDataGetReplaceString obj@).
+findReplaceDataGetReplaceString :: FindReplaceData  a ->  IO (String)
+findReplaceDataGetReplaceString _obj 
+  = withManagedStringResult $
+    withObjectRef "findReplaceDataGetReplaceString" _obj $ \cobj__obj -> 
+    wxFindReplaceData_GetReplaceString cobj__obj  
+foreign import ccall "wxFindReplaceData_GetReplaceString" wxFindReplaceData_GetReplaceString :: Ptr (TFindReplaceData a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@findReplaceDataSetFindString obj str@).
+findReplaceDataSetFindString :: FindReplaceData  a -> String ->  IO ()
+findReplaceDataSetFindString _obj str 
+  = withObjectRef "findReplaceDataSetFindString" _obj $ \cobj__obj -> 
+    withStringPtr str $ \cobj_str -> 
+    wxFindReplaceData_SetFindString cobj__obj  cobj_str  
+foreign import ccall "wxFindReplaceData_SetFindString" wxFindReplaceData_SetFindString :: Ptr (TFindReplaceData a) -> Ptr (TWxString b) -> IO ()
+
+-- | usage: (@findReplaceDataSetFlags obj flags@).
+findReplaceDataSetFlags :: FindReplaceData  a -> Int ->  IO ()
+findReplaceDataSetFlags _obj flags 
+  = withObjectRef "findReplaceDataSetFlags" _obj $ \cobj__obj -> 
+    wxFindReplaceData_SetFlags cobj__obj  (toCInt flags)  
+foreign import ccall "wxFindReplaceData_SetFlags" wxFindReplaceData_SetFlags :: Ptr (TFindReplaceData a) -> CInt -> IO ()
+
+-- | usage: (@findReplaceDataSetReplaceString obj str@).
+findReplaceDataSetReplaceString :: FindReplaceData  a -> String ->  IO ()
+findReplaceDataSetReplaceString _obj str 
+  = withObjectRef "findReplaceDataSetReplaceString" _obj $ \cobj__obj -> 
+    withStringPtr str $ \cobj_str -> 
+    wxFindReplaceData_SetReplaceString cobj__obj  cobj_str  
+foreign import ccall "wxFindReplaceData_SetReplaceString" wxFindReplaceData_SetReplaceString :: Ptr (TFindReplaceData a) -> Ptr (TWxString b) -> IO ()
+
+-- | usage: (@findReplaceDialogCreate parent wxdata title style@).
+findReplaceDialogCreate :: Window  a -> FindReplaceData  b -> String -> Int ->  IO (FindReplaceDialog  ())
+findReplaceDialogCreate parent wxdata title style 
+  = withObjectResult $
+    withObjectPtr parent $ \cobj_parent -> 
+    withObjectPtr wxdata $ \cobj_wxdata -> 
+    withStringPtr title $ \cobj_title -> 
+    wxFindReplaceDialog_Create cobj_parent  cobj_wxdata  cobj_title  (toCInt style)  
+foreign import ccall "wxFindReplaceDialog_Create" wxFindReplaceDialog_Create :: Ptr (TWindow a) -> Ptr (TFindReplaceData b) -> Ptr (TWxString c) -> CInt -> IO (Ptr (TFindReplaceDialog ()))
+
+-- | usage: (@findReplaceDialogGetData obj@).
+findReplaceDialogGetData :: FindReplaceDialog  a ->  IO (FindReplaceData  ())
+findReplaceDialogGetData _obj 
+  = withObjectResult $
+    withObjectRef "findReplaceDialogGetData" _obj $ \cobj__obj -> 
+    wxFindReplaceDialog_GetData cobj__obj  
+foreign import ccall "wxFindReplaceDialog_GetData" wxFindReplaceDialog_GetData :: Ptr (TFindReplaceDialog a) -> IO (Ptr (TFindReplaceData ()))
+
+-- | usage: (@findReplaceDialogSetData obj wxdata@).
+findReplaceDialogSetData :: FindReplaceDialog  a -> FindReplaceData  b ->  IO ()
+findReplaceDialogSetData _obj wxdata 
+  = withObjectRef "findReplaceDialogSetData" _obj $ \cobj__obj -> 
+    withObjectPtr wxdata $ \cobj_wxdata -> 
+    wxFindReplaceDialog_SetData cobj__obj  cobj_wxdata  
+foreign import ccall "wxFindReplaceDialog_SetData" wxFindReplaceDialog_SetData :: Ptr (TFindReplaceDialog a) -> Ptr (TFindReplaceData b) -> IO ()
+
+-- | usage: (@flexGridSizerAddGrowableCol obj idx@).
+flexGridSizerAddGrowableCol :: FlexGridSizer  a -> Int ->  IO ()
+flexGridSizerAddGrowableCol _obj idx 
+  = withObjectRef "flexGridSizerAddGrowableCol" _obj $ \cobj__obj -> 
+    wxFlexGridSizer_AddGrowableCol cobj__obj  (toCInt idx)  
+foreign import ccall "wxFlexGridSizer_AddGrowableCol" wxFlexGridSizer_AddGrowableCol :: Ptr (TFlexGridSizer a) -> CInt -> IO ()
+
+-- | usage: (@flexGridSizerAddGrowableRow obj idx@).
+flexGridSizerAddGrowableRow :: FlexGridSizer  a -> Int ->  IO ()
+flexGridSizerAddGrowableRow _obj idx 
+  = withObjectRef "flexGridSizerAddGrowableRow" _obj $ \cobj__obj -> 
+    wxFlexGridSizer_AddGrowableRow cobj__obj  (toCInt idx)  
+foreign import ccall "wxFlexGridSizer_AddGrowableRow" wxFlexGridSizer_AddGrowableRow :: Ptr (TFlexGridSizer a) -> CInt -> IO ()
+
+-- | usage: (@flexGridSizerCalcMin obj@).
+flexGridSizerCalcMin :: FlexGridSizer  a ->  IO (Size)
+flexGridSizerCalcMin _obj 
+  = withWxSizeResult $
+    withObjectRef "flexGridSizerCalcMin" _obj $ \cobj__obj -> 
+    wxFlexGridSizer_CalcMin cobj__obj  
+foreign import ccall "wxFlexGridSizer_CalcMin" wxFlexGridSizer_CalcMin :: Ptr (TFlexGridSizer a) -> IO (Ptr (TWxSize ()))
+
+-- | usage: (@flexGridSizerCreate rows cols vgap hgap@).
+flexGridSizerCreate :: Int -> Int -> Int -> Int ->  IO (FlexGridSizer  ())
+flexGridSizerCreate rows cols vgap hgap 
+  = withObjectResult $
+    wxFlexGridSizer_Create (toCInt rows)  (toCInt cols)  (toCInt vgap)  (toCInt hgap)  
+foreign import ccall "wxFlexGridSizer_Create" wxFlexGridSizer_Create :: CInt -> CInt -> CInt -> CInt -> IO (Ptr (TFlexGridSizer ()))
+
+-- | usage: (@flexGridSizerRecalcSizes obj@).
+flexGridSizerRecalcSizes :: FlexGridSizer  a ->  IO ()
+flexGridSizerRecalcSizes _obj 
+  = withObjectRef "flexGridSizerRecalcSizes" _obj $ \cobj__obj -> 
+    wxFlexGridSizer_RecalcSizes cobj__obj  
+foreign import ccall "wxFlexGridSizer_RecalcSizes" wxFlexGridSizer_RecalcSizes :: Ptr (TFlexGridSizer a) -> IO ()
+
+-- | usage: (@flexGridSizerRemoveGrowableCol obj idx@).
+flexGridSizerRemoveGrowableCol :: FlexGridSizer  a -> Int ->  IO ()
+flexGridSizerRemoveGrowableCol _obj idx 
+  = withObjectRef "flexGridSizerRemoveGrowableCol" _obj $ \cobj__obj -> 
+    wxFlexGridSizer_RemoveGrowableCol cobj__obj  (toCInt idx)  
+foreign import ccall "wxFlexGridSizer_RemoveGrowableCol" wxFlexGridSizer_RemoveGrowableCol :: Ptr (TFlexGridSizer a) -> CInt -> IO ()
+
+-- | usage: (@flexGridSizerRemoveGrowableRow obj idx@).
+flexGridSizerRemoveGrowableRow :: FlexGridSizer  a -> Int ->  IO ()
+flexGridSizerRemoveGrowableRow _obj idx 
+  = withObjectRef "flexGridSizerRemoveGrowableRow" _obj $ \cobj__obj -> 
+    wxFlexGridSizer_RemoveGrowableRow cobj__obj  (toCInt idx)  
+foreign import ccall "wxFlexGridSizer_RemoveGrowableRow" wxFlexGridSizer_RemoveGrowableRow :: Ptr (TFlexGridSizer a) -> CInt -> IO ()
+
+-- | usage: (@floatPropertyCreate label name value@).
+floatPropertyCreate :: String -> String -> Float ->  IO (FloatProperty  ())
+floatPropertyCreate label name value 
+  = withObjectResult $
+    withStringPtr label $ \cobj_label -> 
+    withStringPtr name $ \cobj_name -> 
+    wxFloatProperty_Create cobj_label  cobj_name  value  
+foreign import ccall "wxFloatProperty_Create" wxFloatProperty_Create :: Ptr (TWxString a) -> Ptr (TWxString b) -> Float -> IO (Ptr (TFloatProperty ()))
+
+-- | usage: (@fontCreate pointSize family style weight underlined face enc@).
+fontCreate :: Int -> Int -> Int -> Int -> Bool -> String -> Int ->  IO (Font  ())
+fontCreate pointSize family style weight underlined face enc 
+  = withManagedFontResult $
+    withStringPtr face $ \cobj_face -> 
+    wxFont_Create (toCInt pointSize)  (toCInt family)  (toCInt style)  (toCInt weight)  (toCBool underlined)  cobj_face  (toCInt enc)  
+foreign import ccall "wxFont_Create" wxFont_Create :: CInt -> CInt -> CInt -> CInt -> CBool -> Ptr (TWxString f) -> CInt -> IO (Ptr (TFont ()))
+
+-- | usage: (@fontCreateDefault@).
+fontCreateDefault ::  IO (Font  ())
+fontCreateDefault 
+  = withManagedFontResult $
+    wxFont_CreateDefault 
+foreign import ccall "wxFont_CreateDefault" wxFont_CreateDefault :: IO (Ptr (TFont ()))
+
+-- | usage: (@fontCreateFromStock id@).
+fontCreateFromStock :: Id ->  IO (Font  ())
+fontCreateFromStock id 
+  = withManagedFontResult $
+    wxFont_CreateFromStock (toCInt id)  
+foreign import ccall "wxFont_CreateFromStock" wxFont_CreateFromStock :: CInt -> IO (Ptr (TFont ()))
+
+-- | usage: (@fontDataCreate@).
+fontDataCreate ::  IO (FontData  ())
+fontDataCreate 
+  = withManagedObjectResult $
+    wxFontData_Create 
+foreign import ccall "wxFontData_Create" wxFontData_Create :: IO (Ptr (TFontData ()))
+
+-- | usage: (@fontDataDelete obj@).
+fontDataDelete :: FontData  a ->  IO ()
+fontDataDelete
+  = objectDelete
+
+
+-- | usage: (@fontDataEnableEffects obj flag@).
+fontDataEnableEffects :: FontData  a -> Bool ->  IO ()
+fontDataEnableEffects _obj flag 
+  = withObjectRef "fontDataEnableEffects" _obj $ \cobj__obj -> 
+    wxFontData_EnableEffects cobj__obj  (toCBool flag)  
+foreign import ccall "wxFontData_EnableEffects" wxFontData_EnableEffects :: Ptr (TFontData a) -> CBool -> IO ()
+
+-- | usage: (@fontDataGetAllowSymbols obj@).
+fontDataGetAllowSymbols :: FontData  a ->  IO Bool
+fontDataGetAllowSymbols _obj 
+  = withBoolResult $
+    withObjectRef "fontDataGetAllowSymbols" _obj $ \cobj__obj -> 
+    wxFontData_GetAllowSymbols cobj__obj  
+foreign import ccall "wxFontData_GetAllowSymbols" wxFontData_GetAllowSymbols :: Ptr (TFontData a) -> IO CBool
+
+-- | usage: (@fontDataGetChosenFont obj@).
+fontDataGetChosenFont :: FontData  a ->  IO (Font  ())
+fontDataGetChosenFont _obj 
+  = withRefFont $ \pref -> 
+    withObjectRef "fontDataGetChosenFont" _obj $ \cobj__obj -> 
+    wxFontData_GetChosenFont cobj__obj   pref
+foreign import ccall "wxFontData_GetChosenFont" wxFontData_GetChosenFont :: Ptr (TFontData a) -> Ptr (TFont ()) -> IO ()
+
+-- | usage: (@fontDataGetColour obj@).
+fontDataGetColour :: FontData  a ->  IO (Color)
+fontDataGetColour _obj 
+  = withRefColour $ \pref -> 
+    withObjectRef "fontDataGetColour" _obj $ \cobj__obj -> 
+    wxFontData_GetColour cobj__obj   pref
+foreign import ccall "wxFontData_GetColour" wxFontData_GetColour :: Ptr (TFontData a) -> Ptr (TColour ()) -> IO ()
+
+-- | usage: (@fontDataGetEnableEffects obj@).
+fontDataGetEnableEffects :: FontData  a ->  IO Bool
+fontDataGetEnableEffects _obj 
+  = withBoolResult $
+    withObjectRef "fontDataGetEnableEffects" _obj $ \cobj__obj -> 
+    wxFontData_GetEnableEffects cobj__obj  
+foreign import ccall "wxFontData_GetEnableEffects" wxFontData_GetEnableEffects :: Ptr (TFontData a) -> IO CBool
+
+-- | usage: (@fontDataGetEncoding obj@).
+fontDataGetEncoding :: FontData  a ->  IO Int
+fontDataGetEncoding _obj 
+  = withIntResult $
+    withObjectRef "fontDataGetEncoding" _obj $ \cobj__obj -> 
+    wxFontData_GetEncoding cobj__obj  
+foreign import ccall "wxFontData_GetEncoding" wxFontData_GetEncoding :: Ptr (TFontData a) -> IO CInt
+
+-- | usage: (@fontDataGetInitialFont obj@).
+fontDataGetInitialFont :: FontData  a ->  IO (Font  ())
+fontDataGetInitialFont _obj 
+  = withRefFont $ \pref -> 
+    withObjectRef "fontDataGetInitialFont" _obj $ \cobj__obj -> 
+    wxFontData_GetInitialFont cobj__obj   pref
+foreign import ccall "wxFontData_GetInitialFont" wxFontData_GetInitialFont :: Ptr (TFontData a) -> Ptr (TFont ()) -> IO ()
+
+-- | usage: (@fontDataGetShowHelp obj@).
+fontDataGetShowHelp :: FontData  a ->  IO Int
+fontDataGetShowHelp _obj 
+  = withIntResult $
+    withObjectRef "fontDataGetShowHelp" _obj $ \cobj__obj -> 
+    wxFontData_GetShowHelp cobj__obj  
+foreign import ccall "wxFontData_GetShowHelp" wxFontData_GetShowHelp :: Ptr (TFontData a) -> IO CInt
+
+-- | usage: (@fontDataSetAllowSymbols obj flag@).
+fontDataSetAllowSymbols :: FontData  a -> Bool ->  IO ()
+fontDataSetAllowSymbols _obj flag 
+  = withObjectRef "fontDataSetAllowSymbols" _obj $ \cobj__obj -> 
+    wxFontData_SetAllowSymbols cobj__obj  (toCBool flag)  
+foreign import ccall "wxFontData_SetAllowSymbols" wxFontData_SetAllowSymbols :: Ptr (TFontData a) -> CBool -> IO ()
+
+-- | usage: (@fontDataSetChosenFont obj font@).
+fontDataSetChosenFont :: FontData  a -> Font  b ->  IO ()
+fontDataSetChosenFont _obj font 
+  = withObjectRef "fontDataSetChosenFont" _obj $ \cobj__obj -> 
+    withObjectPtr font $ \cobj_font -> 
+    wxFontData_SetChosenFont cobj__obj  cobj_font  
+foreign import ccall "wxFontData_SetChosenFont" wxFontData_SetChosenFont :: Ptr (TFontData a) -> Ptr (TFont b) -> IO ()
+
+-- | usage: (@fontDataSetColour obj colour@).
+fontDataSetColour :: FontData  a -> Color ->  IO ()
+fontDataSetColour _obj colour 
+  = withObjectRef "fontDataSetColour" _obj $ \cobj__obj -> 
+    withColourPtr colour $ \cobj_colour -> 
+    wxFontData_SetColour cobj__obj  cobj_colour  
+foreign import ccall "wxFontData_SetColour" wxFontData_SetColour :: Ptr (TFontData a) -> Ptr (TColour b) -> IO ()
+
+-- | usage: (@fontDataSetEncoding obj encoding@).
+fontDataSetEncoding :: FontData  a -> Int ->  IO ()
+fontDataSetEncoding _obj encoding 
+  = withObjectRef "fontDataSetEncoding" _obj $ \cobj__obj -> 
+    wxFontData_SetEncoding cobj__obj  (toCInt encoding)  
+foreign import ccall "wxFontData_SetEncoding" wxFontData_SetEncoding :: Ptr (TFontData a) -> CInt -> IO ()
+
+-- | usage: (@fontDataSetInitialFont obj font@).
+fontDataSetInitialFont :: FontData  a -> Font  b ->  IO ()
+fontDataSetInitialFont _obj font 
+  = withObjectRef "fontDataSetInitialFont" _obj $ \cobj__obj -> 
+    withObjectPtr font $ \cobj_font -> 
+    wxFontData_SetInitialFont cobj__obj  cobj_font  
+foreign import ccall "wxFontData_SetInitialFont" wxFontData_SetInitialFont :: Ptr (TFontData a) -> Ptr (TFont b) -> IO ()
+
+-- | usage: (@fontDataSetRange obj minRange maxRange@).
+fontDataSetRange :: FontData  a -> Int -> Int ->  IO ()
+fontDataSetRange _obj minRange maxRange 
+  = withObjectRef "fontDataSetRange" _obj $ \cobj__obj -> 
+    wxFontData_SetRange cobj__obj  (toCInt minRange)  (toCInt maxRange)  
+foreign import ccall "wxFontData_SetRange" wxFontData_SetRange :: Ptr (TFontData a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@fontDataSetShowHelp obj flag@).
+fontDataSetShowHelp :: FontData  a -> Bool ->  IO ()
+fontDataSetShowHelp _obj flag 
+  = withObjectRef "fontDataSetShowHelp" _obj $ \cobj__obj -> 
+    wxFontData_SetShowHelp cobj__obj  (toCBool flag)  
+foreign import ccall "wxFontData_SetShowHelp" wxFontData_SetShowHelp :: Ptr (TFontData a) -> CBool -> IO ()
+
+-- | usage: (@fontDelete obj@).
+fontDelete :: Font  a ->  IO ()
+fontDelete
+  = objectDelete
+
+
+-- | usage: (@fontDialogCreate prt fnt@).
+fontDialogCreate :: Window  a -> FontData  b ->  IO (FontDialog  ())
+fontDialogCreate _prt fnt 
+  = withObjectResult $
+    withObjectPtr _prt $ \cobj__prt -> 
+    withObjectPtr fnt $ \cobj_fnt -> 
+    wxFontDialog_Create cobj__prt  cobj_fnt  
+foreign import ccall "wxFontDialog_Create" wxFontDialog_Create :: Ptr (TWindow a) -> Ptr (TFontData b) -> IO (Ptr (TFontDialog ()))
+
+-- | usage: (@fontDialogGetFontData obj@).
+fontDialogGetFontData :: FontDialog  a ->  IO (FontData  ())
+fontDialogGetFontData _obj 
+  = withRefFontData $ \pref -> 
+    withObjectRef "fontDialogGetFontData" _obj $ \cobj__obj -> 
+    wxFontDialog_GetFontData cobj__obj   pref
+foreign import ccall "wxFontDialog_GetFontData" wxFontDialog_GetFontData :: Ptr (TFontDialog a) -> Ptr (TFontData ()) -> IO ()
+
+-- | usage: (@fontEnumeratorCreate obj fnc@).
+fontEnumeratorCreate :: Ptr  a -> Ptr  b ->  IO (FontEnumerator  ())
+fontEnumeratorCreate _obj _fnc 
+  = withObjectResult $
+    wxFontEnumerator_Create _obj  _fnc  
+foreign import ccall "wxFontEnumerator_Create" wxFontEnumerator_Create :: Ptr  a -> Ptr  b -> IO (Ptr (TFontEnumerator ()))
+
+-- | usage: (@fontEnumeratorDelete obj@).
+fontEnumeratorDelete :: FontEnumerator  a ->  IO ()
+fontEnumeratorDelete _obj 
+  = withObjectRef "fontEnumeratorDelete" _obj $ \cobj__obj -> 
+    wxFontEnumerator_Delete cobj__obj  
+foreign import ccall "wxFontEnumerator_Delete" wxFontEnumerator_Delete :: Ptr (TFontEnumerator a) -> IO ()
+
+-- | usage: (@fontEnumeratorEnumerateEncodings obj facename@).
+fontEnumeratorEnumerateEncodings :: FontEnumerator  a -> String ->  IO Bool
+fontEnumeratorEnumerateEncodings _obj facename 
+  = withBoolResult $
+    withObjectRef "fontEnumeratorEnumerateEncodings" _obj $ \cobj__obj -> 
+    withStringPtr facename $ \cobj_facename -> 
+    wxFontEnumerator_EnumerateEncodings cobj__obj  cobj_facename  
+foreign import ccall "wxFontEnumerator_EnumerateEncodings" wxFontEnumerator_EnumerateEncodings :: Ptr (TFontEnumerator a) -> Ptr (TWxString b) -> IO CBool
+
+-- | usage: (@fontEnumeratorEnumerateFacenames obj encoding fixedWidthOnly@).
+fontEnumeratorEnumerateFacenames :: FontEnumerator  a -> Int -> Int ->  IO Bool
+fontEnumeratorEnumerateFacenames _obj encoding fixedWidthOnly 
+  = withBoolResult $
+    withObjectRef "fontEnumeratorEnumerateFacenames" _obj $ \cobj__obj -> 
+    wxFontEnumerator_EnumerateFacenames cobj__obj  (toCInt encoding)  (toCInt fixedWidthOnly)  
+foreign import ccall "wxFontEnumerator_EnumerateFacenames" wxFontEnumerator_EnumerateFacenames :: Ptr (TFontEnumerator a) -> CInt -> CInt -> IO CBool
+
+-- | usage: (@fontGetDefaultEncoding obj@).
+fontGetDefaultEncoding :: Font  a ->  IO Int
+fontGetDefaultEncoding _obj 
+  = withIntResult $
+    withObjectRef "fontGetDefaultEncoding" _obj $ \cobj__obj -> 
+    wxFont_GetDefaultEncoding cobj__obj  
+foreign import ccall "wxFont_GetDefaultEncoding" wxFont_GetDefaultEncoding :: Ptr (TFont a) -> IO CInt
+
+-- | usage: (@fontGetEncoding obj@).
+fontGetEncoding :: Font  a ->  IO Int
+fontGetEncoding _obj 
+  = withIntResult $
+    withObjectRef "fontGetEncoding" _obj $ \cobj__obj -> 
+    wxFont_GetEncoding cobj__obj  
+foreign import ccall "wxFont_GetEncoding" wxFont_GetEncoding :: Ptr (TFont a) -> IO CInt
+
+-- | usage: (@fontGetFaceName obj@).
+fontGetFaceName :: Font  a ->  IO (String)
+fontGetFaceName _obj 
+  = withManagedStringResult $
+    withObjectRef "fontGetFaceName" _obj $ \cobj__obj -> 
+    wxFont_GetFaceName cobj__obj  
+foreign import ccall "wxFont_GetFaceName" wxFont_GetFaceName :: Ptr (TFont a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@fontGetFamily obj@).
+fontGetFamily :: Font  a ->  IO Int
+fontGetFamily _obj 
+  = withIntResult $
+    withObjectRef "fontGetFamily" _obj $ \cobj__obj -> 
+    wxFont_GetFamily cobj__obj  
+foreign import ccall "wxFont_GetFamily" wxFont_GetFamily :: Ptr (TFont a) -> IO CInt
+
+-- | usage: (@fontGetFamilyString obj@).
+fontGetFamilyString :: Font  a ->  IO (String)
+fontGetFamilyString _obj 
+  = withManagedStringResult $
+    withObjectRef "fontGetFamilyString" _obj $ \cobj__obj -> 
+    wxFont_GetFamilyString cobj__obj  
+foreign import ccall "wxFont_GetFamilyString" wxFont_GetFamilyString :: Ptr (TFont a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@fontGetPointSize obj@).
+fontGetPointSize :: Font  a ->  IO Int
+fontGetPointSize _obj 
+  = withIntResult $
+    withObjectRef "fontGetPointSize" _obj $ \cobj__obj -> 
+    wxFont_GetPointSize cobj__obj  
+foreign import ccall "wxFont_GetPointSize" wxFont_GetPointSize :: Ptr (TFont a) -> IO CInt
+
+-- | usage: (@fontGetStyle obj@).
+fontGetStyle :: Font  a ->  IO Int
+fontGetStyle _obj 
+  = withIntResult $
+    withObjectRef "fontGetStyle" _obj $ \cobj__obj -> 
+    wxFont_GetStyle cobj__obj  
+foreign import ccall "wxFont_GetStyle" wxFont_GetStyle :: Ptr (TFont a) -> IO CInt
+
+-- | usage: (@fontGetStyleString obj@).
+fontGetStyleString :: Font  a ->  IO (String)
+fontGetStyleString _obj 
+  = withManagedStringResult $
+    withObjectRef "fontGetStyleString" _obj $ \cobj__obj -> 
+    wxFont_GetStyleString cobj__obj  
+foreign import ccall "wxFont_GetStyleString" wxFont_GetStyleString :: Ptr (TFont a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@fontGetUnderlined obj@).
+fontGetUnderlined :: Font  a ->  IO Int
+fontGetUnderlined _obj 
+  = withIntResult $
+    withObjectRef "fontGetUnderlined" _obj $ \cobj__obj -> 
+    wxFont_GetUnderlined cobj__obj  
+foreign import ccall "wxFont_GetUnderlined" wxFont_GetUnderlined :: Ptr (TFont a) -> IO CInt
+
+-- | usage: (@fontGetWeight obj@).
+fontGetWeight :: Font  a ->  IO Int
+fontGetWeight _obj 
+  = withIntResult $
+    withObjectRef "fontGetWeight" _obj $ \cobj__obj -> 
+    wxFont_GetWeight cobj__obj  
+foreign import ccall "wxFont_GetWeight" wxFont_GetWeight :: Ptr (TFont a) -> IO CInt
+
+-- | usage: (@fontGetWeightString obj@).
+fontGetWeightString :: Font  a ->  IO (String)
+fontGetWeightString _obj 
+  = withManagedStringResult $
+    withObjectRef "fontGetWeightString" _obj $ \cobj__obj -> 
+    wxFont_GetWeightString cobj__obj  
+foreign import ccall "wxFont_GetWeightString" wxFont_GetWeightString :: Ptr (TFont a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@fontIsOk obj@).
+fontIsOk :: Font  a ->  IO Bool
+fontIsOk _obj 
+  = withBoolResult $
+    withObjectRef "fontIsOk" _obj $ \cobj__obj -> 
+    wxFont_IsOk cobj__obj  
+foreign import ccall "wxFont_IsOk" wxFont_IsOk :: Ptr (TFont a) -> IO CBool
+
+-- | usage: (@fontIsStatic self@).
+fontIsStatic :: Font  a ->  IO Bool
+fontIsStatic self 
+  = withBoolResult $
+    withObjectPtr self $ \cobj_self -> 
+    wxFont_IsStatic cobj_self  
+foreign import ccall "wxFont_IsStatic" wxFont_IsStatic :: Ptr (TFont a) -> IO CBool
+
+-- | usage: (@fontMapperCreate@).
+fontMapperCreate ::  IO (FontMapper  ())
+fontMapperCreate 
+  = withObjectResult $
+    wxFontMapper_Create 
+foreign import ccall "wxFontMapper_Create" wxFontMapper_Create :: IO (Ptr (TFontMapper ()))
+
+-- | usage: (@fontMapperGetAltForEncoding obj encoding altencoding buf@).
+fontMapperGetAltForEncoding :: FontMapper  a -> Int -> Ptr  c -> String ->  IO Bool
+fontMapperGetAltForEncoding _obj encoding altencoding _buf 
+  = withBoolResult $
+    withObjectRef "fontMapperGetAltForEncoding" _obj $ \cobj__obj -> 
+    withStringPtr _buf $ \cobj__buf -> 
+    wxFontMapper_GetAltForEncoding cobj__obj  (toCInt encoding)  altencoding  cobj__buf  
+foreign import ccall "wxFontMapper_GetAltForEncoding" wxFontMapper_GetAltForEncoding :: Ptr (TFontMapper a) -> CInt -> Ptr  c -> Ptr (TWxString d) -> IO CBool
+
+-- | usage: (@fontMapperIsEncodingAvailable obj encoding buf@).
+fontMapperIsEncodingAvailable :: FontMapper  a -> Int -> String ->  IO Bool
+fontMapperIsEncodingAvailable _obj encoding _buf 
+  = withBoolResult $
+    withObjectRef "fontMapperIsEncodingAvailable" _obj $ \cobj__obj -> 
+    withStringPtr _buf $ \cobj__buf -> 
+    wxFontMapper_IsEncodingAvailable cobj__obj  (toCInt encoding)  cobj__buf  
+foreign import ccall "wxFontMapper_IsEncodingAvailable" wxFontMapper_IsEncodingAvailable :: Ptr (TFontMapper a) -> CInt -> Ptr (TWxString c) -> IO CBool
+
+-- | usage: (@fontSafeDelete self@).
+fontSafeDelete :: Font  a ->  IO ()
+fontSafeDelete self 
+  = withObjectPtr self $ \cobj_self -> 
+    wxFont_SafeDelete cobj_self  
+foreign import ccall "wxFont_SafeDelete" wxFont_SafeDelete :: Ptr (TFont a) -> IO ()
+
+-- | usage: (@fontSetDefaultEncoding obj encoding@).
+fontSetDefaultEncoding :: Font  a -> Int ->  IO ()
+fontSetDefaultEncoding _obj encoding 
+  = withObjectRef "fontSetDefaultEncoding" _obj $ \cobj__obj -> 
+    wxFont_SetDefaultEncoding cobj__obj  (toCInt encoding)  
+foreign import ccall "wxFont_SetDefaultEncoding" wxFont_SetDefaultEncoding :: Ptr (TFont a) -> CInt -> IO ()
+
+-- | usage: (@fontSetEncoding obj encoding@).
+fontSetEncoding :: Font  a -> Int ->  IO ()
+fontSetEncoding _obj encoding 
+  = withObjectRef "fontSetEncoding" _obj $ \cobj__obj -> 
+    wxFont_SetEncoding cobj__obj  (toCInt encoding)  
+foreign import ccall "wxFont_SetEncoding" wxFont_SetEncoding :: Ptr (TFont a) -> CInt -> IO ()
+
+-- | usage: (@fontSetFaceName obj faceName@).
+fontSetFaceName :: Font  a -> String ->  IO ()
+fontSetFaceName _obj faceName 
+  = withObjectRef "fontSetFaceName" _obj $ \cobj__obj -> 
+    withStringPtr faceName $ \cobj_faceName -> 
+    wxFont_SetFaceName cobj__obj  cobj_faceName  
+foreign import ccall "wxFont_SetFaceName" wxFont_SetFaceName :: Ptr (TFont a) -> Ptr (TWxString b) -> IO ()
+
+-- | usage: (@fontSetFamily obj family@).
+fontSetFamily :: Font  a -> Int ->  IO ()
+fontSetFamily _obj family 
+  = withObjectRef "fontSetFamily" _obj $ \cobj__obj -> 
+    wxFont_SetFamily cobj__obj  (toCInt family)  
+foreign import ccall "wxFont_SetFamily" wxFont_SetFamily :: Ptr (TFont a) -> CInt -> IO ()
+
+-- | usage: (@fontSetPointSize obj pointSize@).
+fontSetPointSize :: Font  a -> Int ->  IO ()
+fontSetPointSize _obj pointSize 
+  = withObjectRef "fontSetPointSize" _obj $ \cobj__obj -> 
+    wxFont_SetPointSize cobj__obj  (toCInt pointSize)  
+foreign import ccall "wxFont_SetPointSize" wxFont_SetPointSize :: Ptr (TFont a) -> CInt -> IO ()
+
+-- | usage: (@fontSetStyle obj style@).
+fontSetStyle :: Font  a -> Int ->  IO ()
+fontSetStyle _obj style 
+  = withObjectRef "fontSetStyle" _obj $ \cobj__obj -> 
+    wxFont_SetStyle cobj__obj  (toCInt style)  
+foreign import ccall "wxFont_SetStyle" wxFont_SetStyle :: Ptr (TFont a) -> CInt -> IO ()
+
+-- | usage: (@fontSetUnderlined obj underlined@).
+fontSetUnderlined :: Font  a -> Int ->  IO ()
+fontSetUnderlined _obj underlined 
+  = withObjectRef "fontSetUnderlined" _obj $ \cobj__obj -> 
+    wxFont_SetUnderlined cobj__obj  (toCInt underlined)  
+foreign import ccall "wxFont_SetUnderlined" wxFont_SetUnderlined :: Ptr (TFont a) -> CInt -> IO ()
+
+-- | usage: (@fontSetWeight obj weight@).
+fontSetWeight :: Font  a -> Int ->  IO ()
+fontSetWeight _obj weight 
+  = withObjectRef "fontSetWeight" _obj $ \cobj__obj -> 
+    wxFont_SetWeight cobj__obj  (toCInt weight)  
+foreign import ccall "wxFont_SetWeight" wxFont_SetWeight :: Ptr (TFont a) -> CInt -> IO ()
+
+-- | usage: (@frameCentre self orientation@).
+frameCentre :: Frame  a -> Int ->  IO ()
+frameCentre self orientation 
+  = withObjectRef "frameCentre" self $ \cobj_self -> 
+    wxFrame_Centre cobj_self  (toCInt orientation)  
+foreign import ccall "wxFrame_Centre" wxFrame_Centre :: Ptr (TFrame a) -> CInt -> IO ()
+
+-- | usage: (@frameCreate prt id txt lfttopwdthgt stl@).
+frameCreate :: Window  a -> Id -> String -> Rect -> Style ->  IO (Frame  ())
+frameCreate _prt _id _txt _lfttopwdthgt _stl 
+  = withObjectResult $
+    withObjectPtr _prt $ \cobj__prt -> 
+    withStringPtr _txt $ \cobj__txt -> 
+    wxFrame_Create cobj__prt  (toCInt _id)  cobj__txt  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  (toCInt _stl)  
+foreign import ccall "wxFrame_Create" wxFrame_Create :: Ptr (TWindow a) -> CInt -> Ptr (TWxString c) -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TFrame ()))
+
+-- | usage: (@frameCreateStatusBar obj number style@).
+frameCreateStatusBar :: Frame  a -> Int -> Int ->  IO (StatusBar  ())
+frameCreateStatusBar _obj number style 
+  = withObjectResult $
+    withObjectRef "frameCreateStatusBar" _obj $ \cobj__obj -> 
+    wxFrame_CreateStatusBar cobj__obj  (toCInt number)  (toCInt style)  
+foreign import ccall "wxFrame_CreateStatusBar" wxFrame_CreateStatusBar :: Ptr (TFrame a) -> CInt -> CInt -> IO (Ptr (TStatusBar ()))
+
+-- | usage: (@frameCreateToolBar obj style@).
+frameCreateToolBar :: Frame  a -> Int ->  IO (ToolBar  ())
+frameCreateToolBar _obj style 
+  = withObjectResult $
+    withObjectRef "frameCreateToolBar" _obj $ \cobj__obj -> 
+    wxFrame_CreateToolBar cobj__obj  (toCInt style)  
+foreign import ccall "wxFrame_CreateToolBar" wxFrame_CreateToolBar :: Ptr (TFrame a) -> CInt -> IO (Ptr (TToolBar ()))
+
+-- | usage: (@frameGetClientAreaOriginleft obj@).
+frameGetClientAreaOriginleft :: Frame  a ->  IO Int
+frameGetClientAreaOriginleft _obj 
+  = withIntResult $
+    withObjectRef "frameGetClientAreaOriginleft" _obj $ \cobj__obj -> 
+    wxFrame_GetClientAreaOrigin_left cobj__obj  
+foreign import ccall "wxFrame_GetClientAreaOrigin_left" wxFrame_GetClientAreaOrigin_left :: Ptr (TFrame a) -> IO CInt
+
+-- | usage: (@frameGetClientAreaOrigintop obj@).
+frameGetClientAreaOrigintop :: Frame  a ->  IO Int
+frameGetClientAreaOrigintop _obj 
+  = withIntResult $
+    withObjectRef "frameGetClientAreaOrigintop" _obj $ \cobj__obj -> 
+    wxFrame_GetClientAreaOrigin_top cobj__obj  
+foreign import ccall "wxFrame_GetClientAreaOrigin_top" wxFrame_GetClientAreaOrigin_top :: Ptr (TFrame a) -> IO CInt
+
+-- | usage: (@frameGetMenuBar obj@).
+frameGetMenuBar :: Frame  a ->  IO (MenuBar  ())
+frameGetMenuBar _obj 
+  = withObjectResult $
+    withObjectRef "frameGetMenuBar" _obj $ \cobj__obj -> 
+    wxFrame_GetMenuBar cobj__obj  
+foreign import ccall "wxFrame_GetMenuBar" wxFrame_GetMenuBar :: Ptr (TFrame a) -> IO (Ptr (TMenuBar ()))
+
+-- | usage: (@frameGetStatusBar obj@).
+frameGetStatusBar :: Frame  a ->  IO (StatusBar  ())
+frameGetStatusBar _obj 
+  = withObjectResult $
+    withObjectRef "frameGetStatusBar" _obj $ \cobj__obj -> 
+    wxFrame_GetStatusBar cobj__obj  
+foreign import ccall "wxFrame_GetStatusBar" wxFrame_GetStatusBar :: Ptr (TFrame a) -> IO (Ptr (TStatusBar ()))
+
+-- | usage: (@frameGetTitle obj@).
+frameGetTitle :: Frame  a ->  IO (String)
+frameGetTitle _obj 
+  = withManagedStringResult $
+    withObjectRef "frameGetTitle" _obj $ \cobj__obj -> 
+    wxFrame_GetTitle cobj__obj  
+foreign import ccall "wxFrame_GetTitle" wxFrame_GetTitle :: Ptr (TFrame a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@frameGetToolBar obj@).
+frameGetToolBar :: Frame  a ->  IO (ToolBar  ())
+frameGetToolBar _obj 
+  = withObjectResult $
+    withObjectRef "frameGetToolBar" _obj $ \cobj__obj -> 
+    wxFrame_GetToolBar cobj__obj  
+foreign import ccall "wxFrame_GetToolBar" wxFrame_GetToolBar :: Ptr (TFrame a) -> IO (Ptr (TToolBar ()))
+
+-- | usage: (@frameIsFullScreen self@).
+frameIsFullScreen :: Frame  a ->  IO Bool
+frameIsFullScreen self 
+  = withBoolResult $
+    withObjectRef "frameIsFullScreen" self $ \cobj_self -> 
+    wxFrame_IsFullScreen cobj_self  
+foreign import ccall "wxFrame_IsFullScreen" wxFrame_IsFullScreen :: Ptr (TFrame a) -> IO CBool
+
+-- | usage: (@frameRestore obj@).
+frameRestore :: Frame  a ->  IO ()
+frameRestore _obj 
+  = withObjectRef "frameRestore" _obj $ \cobj__obj -> 
+    wxFrame_Restore cobj__obj  
+foreign import ccall "wxFrame_Restore" wxFrame_Restore :: Ptr (TFrame a) -> IO ()
+
+-- | usage: (@frameSetMenuBar obj menubar@).
+frameSetMenuBar :: Frame  a -> MenuBar  b ->  IO ()
+frameSetMenuBar _obj menubar 
+  = withObjectRef "frameSetMenuBar" _obj $ \cobj__obj -> 
+    withObjectPtr menubar $ \cobj_menubar -> 
+    wxFrame_SetMenuBar cobj__obj  cobj_menubar  
+foreign import ccall "wxFrame_SetMenuBar" wxFrame_SetMenuBar :: Ptr (TFrame a) -> Ptr (TMenuBar b) -> IO ()
+
+-- | usage: (@frameSetShape self region@).
+frameSetShape :: Frame  a -> Region  b ->  IO Bool
+frameSetShape self region 
+  = withBoolResult $
+    withObjectRef "frameSetShape" self $ \cobj_self -> 
+    withObjectPtr region $ \cobj_region -> 
+    wxFrame_SetShape cobj_self  cobj_region  
+foreign import ccall "wxFrame_SetShape" wxFrame_SetShape :: Ptr (TFrame a) -> Ptr (TRegion b) -> IO CBool
+
+-- | usage: (@frameSetStatusBar obj statBar@).
+frameSetStatusBar :: Frame  a -> StatusBar  b ->  IO ()
+frameSetStatusBar _obj statBar 
+  = withObjectRef "frameSetStatusBar" _obj $ \cobj__obj -> 
+    withObjectPtr statBar $ \cobj_statBar -> 
+    wxFrame_SetStatusBar cobj__obj  cobj_statBar  
+foreign import ccall "wxFrame_SetStatusBar" wxFrame_SetStatusBar :: Ptr (TFrame a) -> Ptr (TStatusBar b) -> IO ()
+
+-- | usage: (@frameSetStatusText obj txt number@).
+frameSetStatusText :: Frame  a -> String -> Int ->  IO ()
+frameSetStatusText _obj _txt _number 
+  = withObjectRef "frameSetStatusText" _obj $ \cobj__obj -> 
+    withStringPtr _txt $ \cobj__txt -> 
+    wxFrame_SetStatusText cobj__obj  cobj__txt  (toCInt _number)  
+foreign import ccall "wxFrame_SetStatusText" wxFrame_SetStatusText :: Ptr (TFrame a) -> Ptr (TWxString b) -> CInt -> IO ()
+
+-- | usage: (@frameSetStatusWidths obj n widthsfield@).
+frameSetStatusWidths :: Frame  a -> Int -> Ptr  c ->  IO ()
+frameSetStatusWidths _obj _n _widthsfield 
+  = withObjectRef "frameSetStatusWidths" _obj $ \cobj__obj -> 
+    wxFrame_SetStatusWidths cobj__obj  (toCInt _n)  _widthsfield  
+foreign import ccall "wxFrame_SetStatusWidths" wxFrame_SetStatusWidths :: Ptr (TFrame a) -> CInt -> Ptr  c -> IO ()
+
+-- | usage: (@frameSetTitle frame txt@).
+frameSetTitle :: Frame  a -> String ->  IO ()
+frameSetTitle _frame _txt 
+  = withObjectRef "frameSetTitle" _frame $ \cobj__frame -> 
+    withStringPtr _txt $ \cobj__txt -> 
+    wxFrame_SetTitle cobj__frame  cobj__txt  
+foreign import ccall "wxFrame_SetTitle" wxFrame_SetTitle :: Ptr (TFrame a) -> Ptr (TWxString b) -> IO ()
+
+-- | usage: (@frameSetToolBar obj toolbar@).
+frameSetToolBar :: Frame  a -> ToolBar  b ->  IO ()
+frameSetToolBar _obj _toolbar 
+  = withObjectRef "frameSetToolBar" _obj $ \cobj__obj -> 
+    withObjectPtr _toolbar $ \cobj__toolbar -> 
+    wxFrame_SetToolBar cobj__obj  cobj__toolbar  
+foreign import ccall "wxFrame_SetToolBar" wxFrame_SetToolBar :: Ptr (TFrame a) -> Ptr (TToolBar b) -> IO ()
+
+-- | usage: (@frameShowFullScreen self show style@).
+frameShowFullScreen :: Frame  a -> Bool -> Int ->  IO Bool
+frameShowFullScreen self show style 
+  = withBoolResult $
+    withObjectRef "frameShowFullScreen" self $ \cobj_self -> 
+    wxFrame_ShowFullScreen cobj_self  (toCBool show)  (toCInt style)  
+foreign import ccall "wxFrame_ShowFullScreen" wxFrame_ShowFullScreen :: Ptr (TFrame a) -> CBool -> CInt -> IO CBool
+
+-- | usage: (@gaugeCreate prt id rng lfttopwdthgt stl@).
+gaugeCreate :: Window  a -> Id -> Int -> Rect -> Style ->  IO (Gauge  ())
+gaugeCreate _prt _id _rng _lfttopwdthgt _stl 
+  = withObjectResult $
+    withObjectPtr _prt $ \cobj__prt -> 
+    wxGauge_Create cobj__prt  (toCInt _id)  (toCInt _rng)  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  (toCInt _stl)  
+foreign import ccall "wxGauge_Create" wxGauge_Create :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TGauge ()))
+
+-- | usage: (@gaugeGetBezelFace obj@).
+gaugeGetBezelFace :: Gauge  a ->  IO Int
+gaugeGetBezelFace _obj 
+  = withIntResult $
+    withObjectRef "gaugeGetBezelFace" _obj $ \cobj__obj -> 
+    wxGauge_GetBezelFace cobj__obj  
+foreign import ccall "wxGauge_GetBezelFace" wxGauge_GetBezelFace :: Ptr (TGauge a) -> IO CInt
+
+-- | usage: (@gaugeGetRange obj@).
+gaugeGetRange :: Gauge  a ->  IO Int
+gaugeGetRange _obj 
+  = withIntResult $
+    withObjectRef "gaugeGetRange" _obj $ \cobj__obj -> 
+    wxGauge_GetRange cobj__obj  
+foreign import ccall "wxGauge_GetRange" wxGauge_GetRange :: Ptr (TGauge a) -> IO CInt
+
+-- | usage: (@gaugeGetShadowWidth obj@).
+gaugeGetShadowWidth :: Gauge  a ->  IO Int
+gaugeGetShadowWidth _obj 
+  = withIntResult $
+    withObjectRef "gaugeGetShadowWidth" _obj $ \cobj__obj -> 
+    wxGauge_GetShadowWidth cobj__obj  
+foreign import ccall "wxGauge_GetShadowWidth" wxGauge_GetShadowWidth :: Ptr (TGauge a) -> IO CInt
+
+-- | usage: (@gaugeGetValue obj@).
+gaugeGetValue :: Gauge  a ->  IO Int
+gaugeGetValue _obj 
+  = withIntResult $
+    withObjectRef "gaugeGetValue" _obj $ \cobj__obj -> 
+    wxGauge_GetValue cobj__obj  
+foreign import ccall "wxGauge_GetValue" wxGauge_GetValue :: Ptr (TGauge a) -> IO CInt
+
+-- | usage: (@gaugeSetBezelFace obj w@).
+gaugeSetBezelFace :: Gauge  a -> Int ->  IO ()
+gaugeSetBezelFace _obj w 
+  = withObjectRef "gaugeSetBezelFace" _obj $ \cobj__obj -> 
+    wxGauge_SetBezelFace cobj__obj  (toCInt w)  
+foreign import ccall "wxGauge_SetBezelFace" wxGauge_SetBezelFace :: Ptr (TGauge a) -> CInt -> IO ()
+
+-- | usage: (@gaugeSetRange obj r@).
+gaugeSetRange :: Gauge  a -> Int ->  IO ()
+gaugeSetRange _obj r 
+  = withObjectRef "gaugeSetRange" _obj $ \cobj__obj -> 
+    wxGauge_SetRange cobj__obj  (toCInt r)  
+foreign import ccall "wxGauge_SetRange" wxGauge_SetRange :: Ptr (TGauge a) -> CInt -> IO ()
+
+-- | usage: (@gaugeSetShadowWidth obj w@).
+gaugeSetShadowWidth :: Gauge  a -> Int ->  IO ()
+gaugeSetShadowWidth _obj w 
+  = withObjectRef "gaugeSetShadowWidth" _obj $ \cobj__obj -> 
+    wxGauge_SetShadowWidth cobj__obj  (toCInt w)  
+foreign import ccall "wxGauge_SetShadowWidth" wxGauge_SetShadowWidth :: Ptr (TGauge a) -> CInt -> IO ()
+
+-- | usage: (@gaugeSetValue obj pos@).
+gaugeSetValue :: Gauge  a -> Int ->  IO ()
+gaugeSetValue _obj pos 
+  = withObjectRef "gaugeSetValue" _obj $ \cobj__obj -> 
+    wxGauge_SetValue cobj__obj  (toCInt pos)  
+foreign import ccall "wxGauge_SetValue" wxGauge_SetValue :: Ptr (TGauge a) -> CInt -> IO ()
+
+-- | usage: (@gcdcCreate dc@).
+gcdcCreate :: WindowDC  a ->  IO (GCDC  ())
+gcdcCreate dc 
+  = withObjectResult $
+    withObjectPtr dc $ \cobj_dc -> 
+    wxGcdc_Create cobj_dc  
+foreign import ccall "wxGcdc_Create" wxGcdc_Create :: Ptr (TWindowDC a) -> IO (Ptr (TGCDC ()))
+
+-- | usage: (@gcdcCreateFromMemory dc@).
+gcdcCreateFromMemory :: MemoryDC  a ->  IO (GCDC  ())
+gcdcCreateFromMemory dc 
+  = withObjectResult $
+    withObjectPtr dc $ \cobj_dc -> 
+    wxGcdc_CreateFromMemory cobj_dc  
+foreign import ccall "wxGcdc_CreateFromMemory" wxGcdc_CreateFromMemory :: Ptr (TMemoryDC a) -> IO (Ptr (TGCDC ()))
+
+-- | usage: (@gcdcCreateFromPrinter dc@).
+gcdcCreateFromPrinter :: PrinterDC  a ->  IO (GCDC  ())
+gcdcCreateFromPrinter dc 
+  = withObjectResult $
+    withObjectPtr dc $ \cobj_dc -> 
+    wxGcdc_CreateFromPrinter cobj_dc  
+foreign import ccall "wxGcdc_CreateFromPrinter" wxGcdc_CreateFromPrinter :: Ptr (TPrinterDC a) -> IO (Ptr (TGCDC ()))
+
+-- | usage: (@gcdcDelete self@).
+gcdcDelete :: GCDC  a ->  IO ()
+gcdcDelete self 
+  = withObjectPtr self $ \cobj_self -> 
+    wxGcdc_Delete cobj_self  
+foreign import ccall "wxGcdc_Delete" wxGcdc_Delete :: Ptr (TGCDC a) -> IO ()
+
+-- | usage: (@gcdcGetGraphicsContext self@).
+gcdcGetGraphicsContext :: GCDC  a ->  IO (GraphicsContext  ())
+gcdcGetGraphicsContext self 
+  = withObjectResult $
+    withObjectPtr self $ \cobj_self -> 
+    wxGcdc_GetGraphicsContext cobj_self  
+foreign import ccall "wxGcdc_GetGraphicsContext" wxGcdc_GetGraphicsContext :: Ptr (TGCDC a) -> IO (Ptr (TGraphicsContext ()))
+
+-- | usage: (@gcdcSetGraphicsContext self gc@).
+gcdcSetGraphicsContext :: GCDC  a -> GraphicsContext  b ->  IO ()
+gcdcSetGraphicsContext self gc 
+  = withObjectPtr self $ \cobj_self -> 
+    withObjectPtr gc $ \cobj_gc -> 
+    wxGcdc_SetGraphicsContext cobj_self  cobj_gc  
+foreign import ccall "wxGcdc_SetGraphicsContext" wxGcdc_SetGraphicsContext :: Ptr (TGCDC a) -> Ptr (TGraphicsContext b) -> IO ()
+
+-- | usage: (@genericDragIcon icon@).
+genericDragIcon :: Icon  a ->  IO (GenericDragImage  ())
+genericDragIcon icon 
+  = withObjectResult $
+    withObjectPtr icon $ \cobj_icon -> 
+    wx_wxGenericDragIcon cobj_icon  
+foreign import ccall "wxGenericDragIcon" wx_wxGenericDragIcon :: Ptr (TIcon a) -> IO (Ptr (TGenericDragImage ()))
+
+-- | usage: (@genericDragImageCreate cursor@).
+genericDragImageCreate :: Cursor  a ->  IO (GenericDragImage  ())
+genericDragImageCreate cursor 
+  = withObjectResult $
+    withObjectPtr cursor $ \cobj_cursor -> 
+    wxGenericDragImage_Create cobj_cursor  
+foreign import ccall "wxGenericDragImage_Create" wxGenericDragImage_Create :: Ptr (TCursor a) -> IO (Ptr (TGenericDragImage ()))
+
+-- | usage: (@genericDragImageDoDrawImage self dc xy@).
+genericDragImageDoDrawImage :: GenericDragImage  a -> DC  b -> Point ->  IO Bool
+genericDragImageDoDrawImage self dc xy 
+  = withBoolResult $
+    withObjectRef "genericDragImageDoDrawImage" self $ \cobj_self -> 
+    withObjectPtr dc $ \cobj_dc -> 
+    wxGenericDragImage_DoDrawImage cobj_self  cobj_dc  (toCIntPointX xy) (toCIntPointY xy)  
+foreign import ccall "wxGenericDragImage_DoDrawImage" wxGenericDragImage_DoDrawImage :: Ptr (TGenericDragImage a) -> Ptr (TDC b) -> CInt -> CInt -> IO CBool
+
+-- | usage: (@genericDragImageGetImageRect self xposypos@).
+genericDragImageGetImageRect :: GenericDragImage  a -> Point ->  IO (Rect)
+genericDragImageGetImageRect self xposypos 
+  = withWxRectResult $
+    withObjectRef "genericDragImageGetImageRect" self $ \cobj_self -> 
+    wxGenericDragImage_GetImageRect cobj_self  (toCIntPointX xposypos) (toCIntPointY xposypos)  
+foreign import ccall "wxGenericDragImage_GetImageRect" wxGenericDragImage_GetImageRect :: Ptr (TGenericDragImage a) -> CInt -> CInt -> IO (Ptr (TWxRect ()))
+
+-- | usage: (@genericDragImageUpdateBackingFromWindow self windowDC destDC xywh xdestydestwidthheight@).
+genericDragImageUpdateBackingFromWindow :: GenericDragImage  a -> DC  b -> MemoryDC  c -> Rect -> Rect ->  IO Bool
+genericDragImageUpdateBackingFromWindow self windowDC destDC xywh xdestydestwidthheight 
+  = withBoolResult $
+    withObjectRef "genericDragImageUpdateBackingFromWindow" self $ \cobj_self -> 
+    withObjectPtr windowDC $ \cobj_windowDC -> 
+    withObjectPtr destDC $ \cobj_destDC -> 
+    wxGenericDragImage_UpdateBackingFromWindow cobj_self  cobj_windowDC  cobj_destDC  (toCIntRectX xywh) (toCIntRectY xywh)(toCIntRectW xywh) (toCIntRectH xywh)  (toCIntRectX xdestydestwidthheight) (toCIntRectY xdestydestwidthheight)(toCIntRectW xdestydestwidthheight) (toCIntRectH xdestydestwidthheight)  
+foreign import ccall "wxGenericDragImage_UpdateBackingFromWindow" wxGenericDragImage_UpdateBackingFromWindow :: Ptr (TGenericDragImage a) -> Ptr (TDC b) -> Ptr (TMemoryDC c) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO CBool
+
+-- | usage: (@genericDragListItem treeCtrl id@).
+genericDragListItem :: ListCtrl  a -> Id ->  IO (GenericDragImage  ())
+genericDragListItem treeCtrl id 
+  = withObjectResult $
+    withObjectPtr treeCtrl $ \cobj_treeCtrl -> 
+    wx_wxGenericDragListItem cobj_treeCtrl  (toCInt id)  
+foreign import ccall "wxGenericDragListItem" wx_wxGenericDragListItem :: Ptr (TListCtrl a) -> CInt -> IO (Ptr (TGenericDragImage ()))
+
+-- | usage: (@genericDragString test@).
+genericDragString :: String ->  IO (GenericDragImage  ())
+genericDragString test 
+  = withObjectResult $
+    withStringPtr test $ \cobj_test -> 
+    wx_wxGenericDragString cobj_test  
+foreign import ccall "wxGenericDragString" wx_wxGenericDragString :: Ptr (TWxString a) -> IO (Ptr (TGenericDragImage ()))
+
+-- | usage: (@genericDragTreeItem treeCtrl id@).
+genericDragTreeItem :: TreeCtrl  a -> TreeItem ->  IO (GenericDragImage  ())
+genericDragTreeItem treeCtrl id 
+  = withObjectResult $
+    withObjectPtr treeCtrl $ \cobj_treeCtrl -> 
+    withTreeItemIdPtr id $ \cobj_id -> 
+    wx_wxGenericDragTreeItem cobj_treeCtrl  cobj_id  
+foreign import ccall "wxGenericDragTreeItem" wx_wxGenericDragTreeItem :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> IO (Ptr (TGenericDragImage ()))
+
+-- | usage: (@getApplicationDir@).
+getApplicationDir ::  IO (String)
+getApplicationDir 
+  = withManagedStringResult $
+    wx_wxGetApplicationDir 
+foreign import ccall "wxGetApplicationDir" wx_wxGetApplicationDir :: IO (Ptr (TWxString ()))
+
+-- | usage: (@getApplicationPath@).
+getApplicationPath ::  IO (String)
+getApplicationPath 
+  = withManagedStringResult $
+    wx_wxGetApplicationPath 
+foreign import ccall "wxGetApplicationPath" wx_wxGetApplicationPath :: IO (Ptr (TWxString ()))
+
+-- | usage: (@getColourFromUser parent colInit@).
+getColourFromUser :: Window  a -> Color ->  IO (Color)
+getColourFromUser parent colInit 
+  = withRefColour $ \pref -> 
+    withObjectPtr parent $ \cobj_parent -> 
+    withColourPtr colInit $ \cobj_colInit -> 
+    wx_wxGetColourFromUser cobj_parent  cobj_colInit   pref
+foreign import ccall "wxGetColourFromUser" wx_wxGetColourFromUser :: Ptr (TWindow a) -> Ptr (TColour b) -> Ptr (TColour ()) -> IO ()
+
+-- | usage: (@getELJLocale@).
+getELJLocale ::  IO (WXCLocale  ())
+getELJLocale 
+  = withObjectResult $
+    wx_wxGetELJLocale 
+foreign import ccall "wxGetELJLocale" wx_wxGetELJLocale :: IO (Ptr (TWXCLocale ()))
+
+-- | usage: (@getELJTranslation sz@).
+getELJTranslation :: String ->  IO (Ptr  ())
+getELJTranslation sz 
+  = withCWString sz $ \cstr_sz -> 
+    wx_wxGetELJTranslation cstr_sz  
+foreign import ccall "wxGetELJTranslation" wx_wxGetELJTranslation :: CWString -> IO (Ptr  ())
+
+-- | usage: (@getFontFromUser parent fontInit@).
+getFontFromUser :: Window  a -> Font  b ->  IO (Font  ())
+getFontFromUser parent fontInit 
+  = withRefFont $ \pref -> 
+    withObjectPtr parent $ \cobj_parent -> 
+    withObjectPtr fontInit $ \cobj_fontInit -> 
+    wx_wxGetFontFromUser cobj_parent  cobj_fontInit   pref
+foreign import ccall "wxGetFontFromUser" wx_wxGetFontFromUser :: Ptr (TWindow a) -> Ptr (TFont b) -> Ptr (TFont ()) -> IO ()
+
+-- | usage: (@getNumberFromUser message prompt caption value min max parent xy@).
+getNumberFromUser :: String -> String -> String -> Int -> Int -> Int -> Window  g -> Point ->  IO Int
+getNumberFromUser message prompt caption value min max parent xy 
+  = withIntResult $
+    withStringPtr message $ \cobj_message -> 
+    withStringPtr prompt $ \cobj_prompt -> 
+    withStringPtr caption $ \cobj_caption -> 
+    withObjectPtr parent $ \cobj_parent -> 
+    wx_wxGetNumberFromUser cobj_message  cobj_prompt  cobj_caption  (toCInt value)  (toCInt min)  (toCInt max)  cobj_parent  (toCIntPointX xy) (toCIntPointY xy)  
+foreign import ccall "wxGetNumberFromUser" wx_wxGetNumberFromUser :: Ptr (TWxString a) -> Ptr (TWxString b) -> Ptr (TWxString c) -> CInt -> CInt -> CInt -> Ptr (TWindow g) -> CInt -> CInt -> IO CInt
+
+-- | usage: (@getPasswordFromUser message caption defaultText parent@).
+getPasswordFromUser :: String -> String -> String -> Window  d ->  IO String
+getPasswordFromUser message caption defaultText parent 
+  = withWStringResult $ \buffer -> 
+    withCWString message $ \cstr_message -> 
+    withCWString caption $ \cstr_caption -> 
+    withCWString defaultText $ \cstr_defaultText -> 
+    withObjectPtr parent $ \cobj_parent -> 
+    wx_wxGetPasswordFromUser cstr_message  cstr_caption  cstr_defaultText  cobj_parent   buffer
+foreign import ccall "wxGetPasswordFromUser" wx_wxGetPasswordFromUser :: CWString -> CWString -> CWString -> Ptr (TWindow d) -> Ptr CWchar -> IO CInt
+
+-- | usage: (@getTextFromUser message caption defaultText parent xy center@).
+getTextFromUser :: String -> String -> String -> Window  d -> Point -> Bool ->  IO String
+getTextFromUser message caption defaultText parent xy center 
+  = withWStringResult $ \buffer -> 
+    withCWString message $ \cstr_message -> 
+    withCWString caption $ \cstr_caption -> 
+    withCWString defaultText $ \cstr_defaultText -> 
+    withObjectPtr parent $ \cobj_parent -> 
+    wx_wxGetTextFromUser cstr_message  cstr_caption  cstr_defaultText  cobj_parent  (toCIntPointX xy) (toCIntPointY xy)  (toCBool center)   buffer
+foreign import ccall "wxGetTextFromUser" wx_wxGetTextFromUser :: CWString -> CWString -> CWString -> Ptr (TWindow d) -> CInt -> CInt -> CBool -> Ptr CWchar -> IO CInt
+
+-- | usage: (@glCanvasCreate parent windowID attributes xywh stl title palette@).
+glCanvasCreate :: Window  a -> Int -> Ptr CInt -> Rect -> Style -> String -> Palette  g ->  IO (GLCanvas  ())
+glCanvasCreate parent windowID attributes xywh _stl title palette 
+  = withObjectResult $
+    withObjectPtr parent $ \cobj_parent -> 
+    withStringPtr title $ \cobj_title -> 
+    withObjectPtr palette $ \cobj_palette -> 
+    wxGLCanvas_Create cobj_parent  (toCInt windowID)  attributes  (toCIntRectX xywh) (toCIntRectY xywh)(toCIntRectW xywh) (toCIntRectH xywh)  (toCInt _stl)  cobj_title  cobj_palette  
+foreign import ccall "wxGLCanvas_Create" wxGLCanvas_Create :: Ptr (TWindow a) -> CInt -> Ptr CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> Ptr (TWxString f) -> Ptr (TPalette g) -> IO (Ptr (TGLCanvas ()))
+
+-- | usage: (@glCanvasIsDisplaySupported attributes@).
+glCanvasIsDisplaySupported :: Ptr CInt ->  IO Bool
+glCanvasIsDisplaySupported attributes 
+  = withBoolResult $
+    wxGLCanvas_IsDisplaySupported attributes  
+foreign import ccall "wxGLCanvas_IsDisplaySupported" wxGLCanvas_IsDisplaySupported :: Ptr CInt -> IO CBool
+
+-- | usage: (@glCanvasIsExtensionSupported extension@).
+glCanvasIsExtensionSupported :: String ->  IO Bool
+glCanvasIsExtensionSupported extension 
+  = withBoolResult $
+    withStringPtr extension $ \cobj_extension -> 
+    wxGLCanvas_IsExtensionSupported cobj_extension  
+foreign import ccall "wxGLCanvas_IsExtensionSupported" wxGLCanvas_IsExtensionSupported :: Ptr (TWxString a) -> IO CBool
+
+-- | usage: (@glCanvasSetColour self colour@).
+glCanvasSetColour :: GLCanvas  a -> Color ->  IO Bool
+glCanvasSetColour self colour 
+  = withBoolResult $
+    withObjectRef "glCanvasSetColour" self $ \cobj_self -> 
+    withColourPtr colour $ \cobj_colour -> 
+    wxGLCanvas_SetColour cobj_self  cobj_colour  
+foreign import ccall "wxGLCanvas_SetColour" wxGLCanvas_SetColour :: Ptr (TGLCanvas a) -> Ptr (TColour b) -> IO CBool
+
+-- | usage: (@glCanvasSetCurrent self ctxt@).
+glCanvasSetCurrent :: GLCanvas  a -> GLContext  b ->  IO Bool
+glCanvasSetCurrent self ctxt 
+  = withBoolResult $
+    withObjectRef "glCanvasSetCurrent" self $ \cobj_self -> 
+    withObjectPtr ctxt $ \cobj_ctxt -> 
+    wxGLCanvas_SetCurrent cobj_self  cobj_ctxt  
+foreign import ccall "wxGLCanvas_SetCurrent" wxGLCanvas_SetCurrent :: Ptr (TGLCanvas a) -> Ptr (TGLContext b) -> IO CBool
+
+-- | usage: (@glCanvasSwapBuffers self@).
+glCanvasSwapBuffers :: GLCanvas  a ->  IO Bool
+glCanvasSwapBuffers self 
+  = withBoolResult $
+    withObjectRef "glCanvasSwapBuffers" self $ \cobj_self -> 
+    wxGLCanvas_SwapBuffers cobj_self  
+foreign import ccall "wxGLCanvas_SwapBuffers" wxGLCanvas_SwapBuffers :: Ptr (TGLCanvas a) -> IO CBool
+
+-- | usage: (@glContextCreate win other@).
+glContextCreate :: GLCanvas  a -> GLContext  b ->  IO (GLContext  ())
+glContextCreate win other 
+  = withObjectResult $
+    withObjectPtr win $ \cobj_win -> 
+    withObjectPtr other $ \cobj_other -> 
+    wxGLContext_Create cobj_win  cobj_other  
+foreign import ccall "wxGLContext_Create" wxGLContext_Create :: Ptr (TGLCanvas a) -> Ptr (TGLContext b) -> IO (Ptr (TGLContext ()))
+
+-- | usage: (@glContextCreateFromNull win@).
+glContextCreateFromNull :: GLCanvas  a ->  IO (GLContext  ())
+glContextCreateFromNull win 
+  = withObjectResult $
+    withObjectPtr win $ \cobj_win -> 
+    wxGLContext_CreateFromNull cobj_win  
+foreign import ccall "wxGLContext_CreateFromNull" wxGLContext_CreateFromNull :: Ptr (TGLCanvas a) -> IO (Ptr (TGLContext ()))
+
+-- | usage: (@glContextSetCurrent self win@).
+glContextSetCurrent :: GLContext  a -> GLCanvas  b ->  IO Bool
+glContextSetCurrent self win 
+  = withBoolResult $
+    withObjectRef "glContextSetCurrent" self $ \cobj_self -> 
+    withObjectPtr win $ \cobj_win -> 
+    wxGLContext_SetCurrent cobj_self  cobj_win  
+foreign import ccall "wxGLContext_SetCurrent" wxGLContext_SetCurrent :: Ptr (TGLContext a) -> Ptr (TGLCanvas b) -> IO CBool
+
+-- | usage: (@graphicsBrushCreate@).
+graphicsBrushCreate ::  IO (GraphicsBrush  ())
+graphicsBrushCreate 
+  = withObjectResult $
+    wxGraphicsBrush_Create 
+foreign import ccall "wxGraphicsBrush_Create" wxGraphicsBrush_Create :: IO (Ptr (TGraphicsBrush ()))
+
+-- | usage: (@graphicsBrushDelete self@).
+graphicsBrushDelete :: GraphicsBrush  a ->  IO ()
+graphicsBrushDelete
+  = objectDelete
+
+
+-- | usage: (@graphicsContextClip self region@).
+graphicsContextClip :: GraphicsContext  a -> Region  b ->  IO ()
+graphicsContextClip self region 
+  = withObjectRef "graphicsContextClip" self $ \cobj_self -> 
+    withObjectPtr region $ \cobj_region -> 
+    wxGraphicsContext_Clip cobj_self  cobj_region  
+foreign import ccall "wxGraphicsContext_Clip" wxGraphicsContext_Clip :: Ptr (TGraphicsContext a) -> Ptr (TRegion b) -> IO ()
+
+-- | usage: (@graphicsContextClipByRectangle self xywh@).
+graphicsContextClipByRectangle :: GraphicsContext  a -> (Rect2D Double) ->  IO ()
+graphicsContextClipByRectangle self xywh 
+  = withObjectRef "graphicsContextClipByRectangle" self $ \cobj_self -> 
+    wxGraphicsContext_ClipByRectangle cobj_self  (toCDoubleRectX xywh) (toCDoubleRectY xywh)(toCDoubleRectW xywh) (toCDoubleRectH xywh)  
+foreign import ccall "wxGraphicsContext_ClipByRectangle" wxGraphicsContext_ClipByRectangle :: Ptr (TGraphicsContext a) -> CDouble -> CDouble -> CDouble -> CDouble -> IO ()
+
+-- | usage: (@graphicsContextConcatTransform self path@).
+graphicsContextConcatTransform :: GraphicsContext  a -> GraphicsMatrix  b ->  IO ()
+graphicsContextConcatTransform self path 
+  = withObjectRef "graphicsContextConcatTransform" self $ \cobj_self -> 
+    withObjectPtr path $ \cobj_path -> 
+    wxGraphicsContext_ConcatTransform cobj_self  cobj_path  
+foreign import ccall "wxGraphicsContext_ConcatTransform" wxGraphicsContext_ConcatTransform :: Ptr (TGraphicsContext a) -> Ptr (TGraphicsMatrix b) -> IO ()
+
+-- | usage: (@graphicsContextCreate dc@).
+graphicsContextCreate :: WindowDC  a ->  IO (GraphicsContext  ())
+graphicsContextCreate dc 
+  = withObjectResult $
+    withObjectPtr dc $ \cobj_dc -> 
+    wxGraphicsContext_Create cobj_dc  
+foreign import ccall "wxGraphicsContext_Create" wxGraphicsContext_Create :: Ptr (TWindowDC a) -> IO (Ptr (TGraphicsContext ()))
+
+-- | usage: (@graphicsContextCreateDefaultMatrix self@).
+graphicsContextCreateDefaultMatrix :: GraphicsContext  a ->  IO (GraphicsMatrix  ())
+graphicsContextCreateDefaultMatrix self 
+  = withObjectResult $
+    withObjectRef "graphicsContextCreateDefaultMatrix" self $ \cobj_self -> 
+    wxGraphicsContext_CreateDefaultMatrix cobj_self  
+foreign import ccall "wxGraphicsContext_CreateDefaultMatrix" wxGraphicsContext_CreateDefaultMatrix :: Ptr (TGraphicsContext a) -> IO (Ptr (TGraphicsMatrix ()))
+
+-- | usage: (@graphicsContextCreateFromMemory dc@).
+graphicsContextCreateFromMemory :: MemoryDC  a ->  IO (GraphicsContext  ())
+graphicsContextCreateFromMemory dc 
+  = withObjectResult $
+    withObjectPtr dc $ \cobj_dc -> 
+    wxGraphicsContext_CreateFromMemory cobj_dc  
+foreign import ccall "wxGraphicsContext_CreateFromMemory" wxGraphicsContext_CreateFromMemory :: Ptr (TMemoryDC a) -> IO (Ptr (TGraphicsContext ()))
+
+-- | usage: (@graphicsContextCreateFromNative context@).
+graphicsContextCreateFromNative :: GraphicsContext  a ->  IO (GraphicsContext  ())
+graphicsContextCreateFromNative context 
+  = withObjectResult $
+    withObjectRef "graphicsContextCreateFromNative" context $ \cobj_context -> 
+    wxGraphicsContext_CreateFromNative cobj_context  
+foreign import ccall "wxGraphicsContext_CreateFromNative" wxGraphicsContext_CreateFromNative :: Ptr (TGraphicsContext a) -> IO (Ptr (TGraphicsContext ()))
+
+-- | usage: (@graphicsContextCreateFromNativeWindow window@).
+graphicsContextCreateFromNativeWindow :: Window  a ->  IO (GraphicsContext  ())
+graphicsContextCreateFromNativeWindow window 
+  = withObjectResult $
+    withObjectPtr window $ \cobj_window -> 
+    wxGraphicsContext_CreateFromNativeWindow cobj_window  
+foreign import ccall "wxGraphicsContext_CreateFromNativeWindow" wxGraphicsContext_CreateFromNativeWindow :: Ptr (TWindow a) -> IO (Ptr (TGraphicsContext ()))
+
+-- | usage: (@graphicsContextCreateFromPrinter dc@).
+graphicsContextCreateFromPrinter :: PrinterDC  a ->  IO (GraphicsContext  ())
+graphicsContextCreateFromPrinter dc 
+  = withObjectResult $
+    withObjectPtr dc $ \cobj_dc -> 
+    wxGraphicsContext_CreateFromPrinter cobj_dc  
+foreign import ccall "wxGraphicsContext_CreateFromPrinter" wxGraphicsContext_CreateFromPrinter :: Ptr (TPrinterDC a) -> IO (Ptr (TGraphicsContext ()))
+
+-- | usage: (@graphicsContextCreateFromWindow window@).
+graphicsContextCreateFromWindow :: Window  a ->  IO (GraphicsContext  ())
+graphicsContextCreateFromWindow window 
+  = withObjectResult $
+    withObjectPtr window $ \cobj_window -> 
+    wxGraphicsContext_CreateFromWindow cobj_window  
+foreign import ccall "wxGraphicsContext_CreateFromWindow" wxGraphicsContext_CreateFromWindow :: Ptr (TWindow a) -> IO (Ptr (TGraphicsContext ()))
+
+-- | usage: (@graphicsContextCreateMatrix self a b c d tx ty@).
+graphicsContextCreateMatrix :: GraphicsContext  a -> Double -> Double -> Double -> Double -> Double -> Double ->  IO (GraphicsMatrix  ())
+graphicsContextCreateMatrix self a b c d tx ty 
+  = withObjectResult $
+    withObjectRef "graphicsContextCreateMatrix" self $ \cobj_self -> 
+    wxGraphicsContext_CreateMatrix cobj_self  a  b  c  d  tx  ty  
+foreign import ccall "wxGraphicsContext_CreateMatrix" wxGraphicsContext_CreateMatrix :: Ptr (TGraphicsContext a) -> Double -> Double -> Double -> Double -> Double -> Double -> IO (Ptr (TGraphicsMatrix ()))
+
+-- | usage: (@graphicsContextCreatePath self@).
+graphicsContextCreatePath :: GraphicsContext  a ->  IO (GraphicsPath  ())
+graphicsContextCreatePath self 
+  = withObjectResult $
+    withObjectRef "graphicsContextCreatePath" self $ \cobj_self -> 
+    wxGraphicsContext_CreatePath cobj_self  
+foreign import ccall "wxGraphicsContext_CreatePath" wxGraphicsContext_CreatePath :: Ptr (TGraphicsContext a) -> IO (Ptr (TGraphicsPath ()))
+
+-- | usage: (@graphicsContextDelete self@).
+graphicsContextDelete :: GraphicsContext  a ->  IO ()
+graphicsContextDelete
+  = objectDelete
+
+
+-- | usage: (@graphicsContextDrawBitmap self bmp xywh@).
+graphicsContextDrawBitmap :: GraphicsContext  a -> Bitmap  b -> (Rect2D Double) ->  IO ()
+graphicsContextDrawBitmap self bmp xywh 
+  = withObjectRef "graphicsContextDrawBitmap" self $ \cobj_self -> 
+    withObjectPtr bmp $ \cobj_bmp -> 
+    wxGraphicsContext_DrawBitmap cobj_self  cobj_bmp  (toCDoubleRectX xywh) (toCDoubleRectY xywh)(toCDoubleRectW xywh) (toCDoubleRectH xywh)  
+foreign import ccall "wxGraphicsContext_DrawBitmap" wxGraphicsContext_DrawBitmap :: Ptr (TGraphicsContext a) -> Ptr (TBitmap b) -> CDouble -> CDouble -> CDouble -> CDouble -> IO ()
+
+-- | usage: (@graphicsContextDrawEllipse self xywh@).
+graphicsContextDrawEllipse :: GraphicsContext  a -> (Rect2D Double) ->  IO ()
+graphicsContextDrawEllipse self xywh 
+  = withObjectRef "graphicsContextDrawEllipse" self $ \cobj_self -> 
+    wxGraphicsContext_DrawEllipse cobj_self  (toCDoubleRectX xywh) (toCDoubleRectY xywh)(toCDoubleRectW xywh) (toCDoubleRectH xywh)  
+foreign import ccall "wxGraphicsContext_DrawEllipse" wxGraphicsContext_DrawEllipse :: Ptr (TGraphicsContext a) -> CDouble -> CDouble -> CDouble -> CDouble -> IO ()
+
+-- | usage: (@graphicsContextDrawIcon self icon xywh@).
+graphicsContextDrawIcon :: GraphicsContext  a -> Icon  b -> (Rect2D Double) ->  IO ()
+graphicsContextDrawIcon self icon xywh 
+  = withObjectRef "graphicsContextDrawIcon" self $ \cobj_self -> 
+    withObjectPtr icon $ \cobj_icon -> 
+    wxGraphicsContext_DrawIcon cobj_self  cobj_icon  (toCDoubleRectX xywh) (toCDoubleRectY xywh)(toCDoubleRectW xywh) (toCDoubleRectH xywh)  
+foreign import ccall "wxGraphicsContext_DrawIcon" wxGraphicsContext_DrawIcon :: Ptr (TGraphicsContext a) -> Ptr (TIcon b) -> CDouble -> CDouble -> CDouble -> CDouble -> IO ()
+
+-- | usage: (@graphicsContextDrawLines self n x y style@).
+graphicsContextDrawLines :: GraphicsContext  a -> Int -> Ptr  c -> Ptr  d -> Int ->  IO ()
+graphicsContextDrawLines self n x y style 
+  = withObjectRef "graphicsContextDrawLines" self $ \cobj_self -> 
+    wxGraphicsContext_DrawLines cobj_self  (toCInt n)  x  y  (toCInt style)  
+foreign import ccall "wxGraphicsContext_DrawLines" wxGraphicsContext_DrawLines :: Ptr (TGraphicsContext a) -> CInt -> Ptr  c -> Ptr  d -> CInt -> IO ()
+
+-- | usage: (@graphicsContextDrawPath self path style@).
+graphicsContextDrawPath :: GraphicsContext  a -> GraphicsPath  b -> Int ->  IO ()
+graphicsContextDrawPath self path style 
+  = withObjectRef "graphicsContextDrawPath" self $ \cobj_self -> 
+    withObjectPtr path $ \cobj_path -> 
+    wxGraphicsContext_DrawPath cobj_self  cobj_path  (toCInt style)  
+foreign import ccall "wxGraphicsContext_DrawPath" wxGraphicsContext_DrawPath :: Ptr (TGraphicsContext a) -> Ptr (TGraphicsPath b) -> CInt -> IO ()
+
+-- | usage: (@graphicsContextDrawRectangle self xywh@).
+graphicsContextDrawRectangle :: GraphicsContext  a -> (Rect2D Double) ->  IO ()
+graphicsContextDrawRectangle self xywh 
+  = withObjectRef "graphicsContextDrawRectangle" self $ \cobj_self -> 
+    wxGraphicsContext_DrawRectangle cobj_self  (toCDoubleRectX xywh) (toCDoubleRectY xywh)(toCDoubleRectW xywh) (toCDoubleRectH xywh)  
+foreign import ccall "wxGraphicsContext_DrawRectangle" wxGraphicsContext_DrawRectangle :: Ptr (TGraphicsContext a) -> CDouble -> CDouble -> CDouble -> CDouble -> IO ()
+
+-- | usage: (@graphicsContextDrawRoundedRectangle self xywh radius@).
+graphicsContextDrawRoundedRectangle :: GraphicsContext  a -> (Rect2D Double) -> Double ->  IO ()
+graphicsContextDrawRoundedRectangle self xywh radius 
+  = withObjectRef "graphicsContextDrawRoundedRectangle" self $ \cobj_self -> 
+    wxGraphicsContext_DrawRoundedRectangle cobj_self  (toCDoubleRectX xywh) (toCDoubleRectY xywh)(toCDoubleRectW xywh) (toCDoubleRectH xywh)  radius  
+foreign import ccall "wxGraphicsContext_DrawRoundedRectangle" wxGraphicsContext_DrawRoundedRectangle :: Ptr (TGraphicsContext a) -> CDouble -> CDouble -> CDouble -> CDouble -> Double -> IO ()
+
+-- | usage: (@graphicsContextDrawText self text xy@).
+graphicsContextDrawText :: GraphicsContext  a -> String -> (Point2 Double) ->  IO ()
+graphicsContextDrawText self text xy 
+  = withObjectRef "graphicsContextDrawText" self $ \cobj_self -> 
+    withStringPtr text $ \cobj_text -> 
+    wxGraphicsContext_DrawText cobj_self  cobj_text  (toCDoublePointX xy) (toCDoublePointY xy)  
+foreign import ccall "wxGraphicsContext_DrawText" wxGraphicsContext_DrawText :: Ptr (TGraphicsContext a) -> Ptr (TWxString b) -> CDouble -> CDouble -> IO ()
+
+-- | usage: (@graphicsContextDrawTextWithAngle self text xy radius@).
+graphicsContextDrawTextWithAngle :: GraphicsContext  a -> String -> (Point2 Double) -> Double ->  IO ()
+graphicsContextDrawTextWithAngle self text xy radius 
+  = withObjectRef "graphicsContextDrawTextWithAngle" self $ \cobj_self -> 
+    withStringPtr text $ \cobj_text -> 
+    wxGraphicsContext_DrawTextWithAngle cobj_self  cobj_text  (toCDoublePointX xy) (toCDoublePointY xy)  radius  
+foreign import ccall "wxGraphicsContext_DrawTextWithAngle" wxGraphicsContext_DrawTextWithAngle :: Ptr (TGraphicsContext a) -> Ptr (TWxString b) -> CDouble -> CDouble -> Double -> IO ()
+
+-- | usage: (@graphicsContextFillPath self path style@).
+graphicsContextFillPath :: GraphicsContext  a -> GraphicsPath  b -> Int ->  IO ()
+graphicsContextFillPath self path style 
+  = withObjectRef "graphicsContextFillPath" self $ \cobj_self -> 
+    withObjectPtr path $ \cobj_path -> 
+    wxGraphicsContext_FillPath cobj_self  cobj_path  (toCInt style)  
+foreign import ccall "wxGraphicsContext_FillPath" wxGraphicsContext_FillPath :: Ptr (TGraphicsContext a) -> Ptr (TGraphicsPath b) -> CInt -> IO ()
+
+-- | usage: (@graphicsContextGetNativeContext self@).
+graphicsContextGetNativeContext :: GraphicsContext  a ->  IO (Ptr  ())
+graphicsContextGetNativeContext self 
+  = withObjectRef "graphicsContextGetNativeContext" self $ \cobj_self -> 
+    wxGraphicsContext_GetNativeContext cobj_self  
+foreign import ccall "wxGraphicsContext_GetNativeContext" wxGraphicsContext_GetNativeContext :: Ptr (TGraphicsContext a) -> IO (Ptr  ())
+
+-- | usage: (@graphicsContextGetTextExtent self text width height descent externalLeading@).
+graphicsContextGetTextExtent :: GraphicsContext  a -> String -> Ptr Double -> Ptr Double -> Ptr Double -> Ptr Double ->  IO ()
+graphicsContextGetTextExtent self text width height descent externalLeading 
+  = withObjectRef "graphicsContextGetTextExtent" self $ \cobj_self -> 
+    withStringPtr text $ \cobj_text -> 
+    wxGraphicsContext_GetTextExtent cobj_self  cobj_text  width  height  descent  externalLeading  
+foreign import ccall "wxGraphicsContext_GetTextExtent" wxGraphicsContext_GetTextExtent :: Ptr (TGraphicsContext a) -> Ptr (TWxString b) -> Ptr Double -> Ptr Double -> Ptr Double -> Ptr Double -> IO ()
+
+-- | usage: (@graphicsContextPopState self@).
+graphicsContextPopState :: GraphicsContext  a ->  IO ()
+graphicsContextPopState self 
+  = withObjectRef "graphicsContextPopState" self $ \cobj_self -> 
+    wxGraphicsContext_PopState cobj_self  
+foreign import ccall "wxGraphicsContext_PopState" wxGraphicsContext_PopState :: Ptr (TGraphicsContext a) -> IO ()
+
+-- | usage: (@graphicsContextPushState self@).
+graphicsContextPushState :: GraphicsContext  a ->  IO ()
+graphicsContextPushState self 
+  = withObjectRef "graphicsContextPushState" self $ \cobj_self -> 
+    wxGraphicsContext_PushState cobj_self  
+foreign import ccall "wxGraphicsContext_PushState" wxGraphicsContext_PushState :: Ptr (TGraphicsContext a) -> IO ()
+
+-- | usage: (@graphicsContextResetClip self@).
+graphicsContextResetClip :: GraphicsContext  a ->  IO ()
+graphicsContextResetClip self 
+  = withObjectRef "graphicsContextResetClip" self $ \cobj_self -> 
+    wxGraphicsContext_ResetClip cobj_self  
+foreign import ccall "wxGraphicsContext_ResetClip" wxGraphicsContext_ResetClip :: Ptr (TGraphicsContext a) -> IO ()
+
+-- | usage: (@graphicsContextRotate self angle@).
+graphicsContextRotate :: GraphicsContext  a -> Double ->  IO ()
+graphicsContextRotate self angle 
+  = withObjectRef "graphicsContextRotate" self $ \cobj_self -> 
+    wxGraphicsContext_Rotate cobj_self  angle  
+foreign import ccall "wxGraphicsContext_Rotate" wxGraphicsContext_Rotate :: Ptr (TGraphicsContext a) -> Double -> IO ()
+
+-- | usage: (@graphicsContextScale self xScaleyScale@).
+graphicsContextScale :: GraphicsContext  a -> (Size2D Double) ->  IO ()
+graphicsContextScale self xScaleyScale 
+  = withObjectRef "graphicsContextScale" self $ \cobj_self -> 
+    wxGraphicsContext_Scale cobj_self  (toCDoubleSizeW xScaleyScale) (toCDoubleSizeH xScaleyScale)  
+foreign import ccall "wxGraphicsContext_Scale" wxGraphicsContext_Scale :: Ptr (TGraphicsContext a) -> CDouble -> CDouble -> IO ()
+
+-- | usage: (@graphicsContextSetBrush self brush@).
+graphicsContextSetBrush :: GraphicsContext  a -> Brush  b ->  IO ()
+graphicsContextSetBrush self brush 
+  = withObjectRef "graphicsContextSetBrush" self $ \cobj_self -> 
+    withObjectPtr brush $ \cobj_brush -> 
+    wxGraphicsContext_SetBrush cobj_self  cobj_brush  
+foreign import ccall "wxGraphicsContext_SetBrush" wxGraphicsContext_SetBrush :: Ptr (TGraphicsContext a) -> Ptr (TBrush b) -> IO ()
+
+-- | usage: (@graphicsContextSetFont self font colour@).
+graphicsContextSetFont :: GraphicsContext  a -> Font  b -> Color ->  IO ()
+graphicsContextSetFont self font colour 
+  = withObjectRef "graphicsContextSetFont" self $ \cobj_self -> 
+    withObjectPtr font $ \cobj_font -> 
+    withColourPtr colour $ \cobj_colour -> 
+    wxGraphicsContext_SetFont cobj_self  cobj_font  cobj_colour  
+foreign import ccall "wxGraphicsContext_SetFont" wxGraphicsContext_SetFont :: Ptr (TGraphicsContext a) -> Ptr (TFont b) -> Ptr (TColour c) -> IO ()
+
+-- | usage: (@graphicsContextSetGraphicsBrush self brush@).
+graphicsContextSetGraphicsBrush :: GraphicsContext  a -> GraphicsBrush  b ->  IO ()
+graphicsContextSetGraphicsBrush self brush 
+  = withObjectRef "graphicsContextSetGraphicsBrush" self $ \cobj_self -> 
+    withObjectPtr brush $ \cobj_brush -> 
+    wxGraphicsContext_SetGraphicsBrush cobj_self  cobj_brush  
+foreign import ccall "wxGraphicsContext_SetGraphicsBrush" wxGraphicsContext_SetGraphicsBrush :: Ptr (TGraphicsContext a) -> Ptr (TGraphicsBrush b) -> IO ()
+
+-- | usage: (@graphicsContextSetGraphicsFont self font@).
+graphicsContextSetGraphicsFont :: GraphicsContext  a -> GraphicsFont  b ->  IO ()
+graphicsContextSetGraphicsFont self font 
+  = withObjectRef "graphicsContextSetGraphicsFont" self $ \cobj_self -> 
+    withObjectPtr font $ \cobj_font -> 
+    wxGraphicsContext_SetGraphicsFont cobj_self  cobj_font  
+foreign import ccall "wxGraphicsContext_SetGraphicsFont" wxGraphicsContext_SetGraphicsFont :: Ptr (TGraphicsContext a) -> Ptr (TGraphicsFont b) -> IO ()
+
+-- | usage: (@graphicsContextSetGraphicsPen self pen@).
+graphicsContextSetGraphicsPen :: GraphicsContext  a -> GraphicsPen  b ->  IO ()
+graphicsContextSetGraphicsPen self pen 
+  = withObjectRef "graphicsContextSetGraphicsPen" self $ \cobj_self -> 
+    withObjectPtr pen $ \cobj_pen -> 
+    wxGraphicsContext_SetGraphicsPen cobj_self  cobj_pen  
+foreign import ccall "wxGraphicsContext_SetGraphicsPen" wxGraphicsContext_SetGraphicsPen :: Ptr (TGraphicsContext a) -> Ptr (TGraphicsPen b) -> IO ()
+
+-- | usage: (@graphicsContextSetPen self pen@).
+graphicsContextSetPen :: GraphicsContext  a -> Pen  b ->  IO ()
+graphicsContextSetPen self pen 
+  = withObjectRef "graphicsContextSetPen" self $ \cobj_self -> 
+    withObjectPtr pen $ \cobj_pen -> 
+    wxGraphicsContext_SetPen cobj_self  cobj_pen  
+foreign import ccall "wxGraphicsContext_SetPen" wxGraphicsContext_SetPen :: Ptr (TGraphicsContext a) -> Ptr (TPen b) -> IO ()
+
+-- | usage: (@graphicsContextSetTransform self path@).
+graphicsContextSetTransform :: GraphicsContext  a -> GraphicsMatrix  b ->  IO ()
+graphicsContextSetTransform self path 
+  = withObjectRef "graphicsContextSetTransform" self $ \cobj_self -> 
+    withObjectPtr path $ \cobj_path -> 
+    wxGraphicsContext_SetTransform cobj_self  cobj_path  
+foreign import ccall "wxGraphicsContext_SetTransform" wxGraphicsContext_SetTransform :: Ptr (TGraphicsContext a) -> Ptr (TGraphicsMatrix b) -> IO ()
+
+-- | usage: (@graphicsContextStrokeLine self x1y1 x2y2@).
+graphicsContextStrokeLine :: GraphicsContext  a -> (Point2 Double) -> (Point2 Double) ->  IO ()
+graphicsContextStrokeLine self x1y1 x2y2 
+  = withObjectRef "graphicsContextStrokeLine" self $ \cobj_self -> 
+    wxGraphicsContext_StrokeLine cobj_self  (toCDoublePointX x1y1) (toCDoublePointY x1y1)  (toCDoublePointX x2y2) (toCDoublePointY x2y2)  
+foreign import ccall "wxGraphicsContext_StrokeLine" wxGraphicsContext_StrokeLine :: Ptr (TGraphicsContext a) -> CDouble -> CDouble -> CDouble -> CDouble -> IO ()
+
+-- | usage: (@graphicsContextStrokeLines self n x y style@).
+graphicsContextStrokeLines :: GraphicsContext  a -> Int -> Ptr  c -> Ptr  d -> Int ->  IO ()
+graphicsContextStrokeLines self n x y style 
+  = withObjectRef "graphicsContextStrokeLines" self $ \cobj_self -> 
+    wxGraphicsContext_StrokeLines cobj_self  (toCInt n)  x  y  (toCInt style)  
+foreign import ccall "wxGraphicsContext_StrokeLines" wxGraphicsContext_StrokeLines :: Ptr (TGraphicsContext a) -> CInt -> Ptr  c -> Ptr  d -> CInt -> IO ()
+
+-- | usage: (@graphicsContextStrokePath self path@).
+graphicsContextStrokePath :: GraphicsContext  a -> GraphicsPath  b ->  IO ()
+graphicsContextStrokePath self path 
+  = withObjectRef "graphicsContextStrokePath" self $ \cobj_self -> 
+    withObjectPtr path $ \cobj_path -> 
+    wxGraphicsContext_StrokePath cobj_self  cobj_path  
+foreign import ccall "wxGraphicsContext_StrokePath" wxGraphicsContext_StrokePath :: Ptr (TGraphicsContext a) -> Ptr (TGraphicsPath b) -> IO ()
+
+-- | usage: (@graphicsContextTranslate self dx dy@).
+graphicsContextTranslate :: GraphicsContext  a -> Double -> Double ->  IO ()
+graphicsContextTranslate self dx dy 
+  = withObjectRef "graphicsContextTranslate" self $ \cobj_self -> 
+    wxGraphicsContext_Translate cobj_self  dx  dy  
+foreign import ccall "wxGraphicsContext_Translate" wxGraphicsContext_Translate :: Ptr (TGraphicsContext a) -> Double -> Double -> IO ()
+
+-- | usage: (@graphicsFontCreate@).
+graphicsFontCreate ::  IO (GraphicsFont  ())
+graphicsFontCreate 
+  = withObjectResult $
+    wxGraphicsFont_Create 
+foreign import ccall "wxGraphicsFont_Create" wxGraphicsFont_Create :: IO (Ptr (TGraphicsFont ()))
+
+-- | usage: (@graphicsFontDelete self@).
+graphicsFontDelete :: GraphicsFont  a ->  IO ()
+graphicsFontDelete
+  = objectDelete
+
+
+-- | usage: (@graphicsMatrixConcat self t@).
+graphicsMatrixConcat :: GraphicsMatrix  a -> GraphicsMatrix  b ->  IO ()
+graphicsMatrixConcat self t 
+  = withObjectRef "graphicsMatrixConcat" self $ \cobj_self -> 
+    withObjectPtr t $ \cobj_t -> 
+    wxGraphicsMatrix_Concat cobj_self  cobj_t  
+foreign import ccall "wxGraphicsMatrix_Concat" wxGraphicsMatrix_Concat :: Ptr (TGraphicsMatrix a) -> Ptr (TGraphicsMatrix b) -> IO ()
+
+-- | usage: (@graphicsMatrixCreate@).
+graphicsMatrixCreate ::  IO (GraphicsMatrix  ())
+graphicsMatrixCreate 
+  = withObjectResult $
+    wxGraphicsMatrix_Create 
+foreign import ccall "wxGraphicsMatrix_Create" wxGraphicsMatrix_Create :: IO (Ptr (TGraphicsMatrix ()))
+
+-- | usage: (@graphicsMatrixDelete self@).
+graphicsMatrixDelete :: GraphicsMatrix  a ->  IO ()
+graphicsMatrixDelete
+  = objectDelete
+
+
+-- | usage: (@graphicsMatrixGet self a b c d tx ty@).
+graphicsMatrixGet :: GraphicsMatrix  a -> Ptr Double -> Ptr Double -> Ptr Double -> Ptr Double -> Ptr Double -> Ptr Double ->  IO ()
+graphicsMatrixGet self a b c d tx ty 
+  = withObjectRef "graphicsMatrixGet" self $ \cobj_self -> 
+    wxGraphicsMatrix_Get cobj_self  a  b  c  d  tx  ty  
+foreign import ccall "wxGraphicsMatrix_Get" wxGraphicsMatrix_Get :: Ptr (TGraphicsMatrix a) -> Ptr Double -> Ptr Double -> Ptr Double -> Ptr Double -> Ptr Double -> Ptr Double -> IO ()
+
+-- | usage: (@graphicsMatrixGetNativeMatrix self@).
+graphicsMatrixGetNativeMatrix :: GraphicsMatrix  a ->  IO (Ptr  ())
+graphicsMatrixGetNativeMatrix self 
+  = withObjectRef "graphicsMatrixGetNativeMatrix" self $ \cobj_self -> 
+    wxGraphicsMatrix_GetNativeMatrix cobj_self  
+foreign import ccall "wxGraphicsMatrix_GetNativeMatrix" wxGraphicsMatrix_GetNativeMatrix :: Ptr (TGraphicsMatrix a) -> IO (Ptr  ())
+
+-- | usage: (@graphicsMatrixInvert self@).
+graphicsMatrixInvert :: GraphicsMatrix  a ->  IO ()
+graphicsMatrixInvert self 
+  = withObjectRef "graphicsMatrixInvert" self $ \cobj_self -> 
+    wxGraphicsMatrix_Invert cobj_self  
+foreign import ccall "wxGraphicsMatrix_Invert" wxGraphicsMatrix_Invert :: Ptr (TGraphicsMatrix a) -> IO ()
+
+-- | usage: (@graphicsMatrixIsEqual self t@).
+graphicsMatrixIsEqual :: GraphicsMatrix  a -> GraphicsMatrix  b ->  IO Bool
+graphicsMatrixIsEqual self t 
+  = withBoolResult $
+    withObjectRef "graphicsMatrixIsEqual" self $ \cobj_self -> 
+    withObjectPtr t $ \cobj_t -> 
+    wxGraphicsMatrix_IsEqual cobj_self  cobj_t  
+foreign import ccall "wxGraphicsMatrix_IsEqual" wxGraphicsMatrix_IsEqual :: Ptr (TGraphicsMatrix a) -> Ptr (TGraphicsMatrix b) -> IO CBool
+
+-- | usage: (@graphicsMatrixIsIdentity self@).
+graphicsMatrixIsIdentity :: GraphicsMatrix  a ->  IO Bool
+graphicsMatrixIsIdentity self 
+  = withBoolResult $
+    withObjectRef "graphicsMatrixIsIdentity" self $ \cobj_self -> 
+    wxGraphicsMatrix_IsIdentity cobj_self  
+foreign import ccall "wxGraphicsMatrix_IsIdentity" wxGraphicsMatrix_IsIdentity :: Ptr (TGraphicsMatrix a) -> IO CBool
+
+-- | usage: (@graphicsMatrixRotate self angle@).
+graphicsMatrixRotate :: GraphicsMatrix  a -> Double ->  IO ()
+graphicsMatrixRotate self angle 
+  = withObjectRef "graphicsMatrixRotate" self $ \cobj_self -> 
+    wxGraphicsMatrix_Rotate cobj_self  angle  
+foreign import ccall "wxGraphicsMatrix_Rotate" wxGraphicsMatrix_Rotate :: Ptr (TGraphicsMatrix a) -> Double -> IO ()
+
+-- | usage: (@graphicsMatrixScale self xScaleyScale@).
+graphicsMatrixScale :: GraphicsMatrix  a -> (Size2D Double) ->  IO ()
+graphicsMatrixScale self xScaleyScale 
+  = withObjectRef "graphicsMatrixScale" self $ \cobj_self -> 
+    wxGraphicsMatrix_Scale cobj_self  (toCDoubleSizeW xScaleyScale) (toCDoubleSizeH xScaleyScale)  
+foreign import ccall "wxGraphicsMatrix_Scale" wxGraphicsMatrix_Scale :: Ptr (TGraphicsMatrix a) -> CDouble -> CDouble -> IO ()
+
+-- | usage: (@graphicsMatrixSet self a b c d tx ty@).
+graphicsMatrixSet :: GraphicsMatrix  a -> Double -> Double -> Double -> Double -> Double -> Double ->  IO ()
+graphicsMatrixSet self a b c d tx ty 
+  = withObjectRef "graphicsMatrixSet" self $ \cobj_self -> 
+    wxGraphicsMatrix_Set cobj_self  a  b  c  d  tx  ty  
+foreign import ccall "wxGraphicsMatrix_Set" wxGraphicsMatrix_Set :: Ptr (TGraphicsMatrix a) -> Double -> Double -> Double -> Double -> Double -> Double -> IO ()
+
+-- | usage: (@graphicsMatrixTransformDistance self dx dy@).
+graphicsMatrixTransformDistance :: GraphicsMatrix  a -> Ptr Double -> Ptr Double ->  IO ()
+graphicsMatrixTransformDistance self dx dy 
+  = withObjectRef "graphicsMatrixTransformDistance" self $ \cobj_self -> 
+    wxGraphicsMatrix_TransformDistance cobj_self  dx  dy  
+foreign import ccall "wxGraphicsMatrix_TransformDistance" wxGraphicsMatrix_TransformDistance :: Ptr (TGraphicsMatrix a) -> Ptr Double -> Ptr Double -> IO ()
+
+-- | usage: (@graphicsMatrixTransformPoint self@).
+graphicsMatrixTransformPoint :: GraphicsMatrix  a ->  IO (Point2 Double)
+graphicsMatrixTransformPoint self 
+  = withPointDoubleResult $ \px py -> 
+    withObjectRef "graphicsMatrixTransformPoint" self $ \cobj_self -> 
+    wxGraphicsMatrix_TransformPoint cobj_self   px py
+foreign import ccall "wxGraphicsMatrix_TransformPoint" wxGraphicsMatrix_TransformPoint :: Ptr (TGraphicsMatrix a) -> Ptr CDouble -> Ptr CDouble -> IO ()
+
+-- | usage: (@graphicsMatrixTranslate self dx dy@).
+graphicsMatrixTranslate :: GraphicsMatrix  a -> Double -> Double ->  IO ()
+graphicsMatrixTranslate self dx dy 
+  = withObjectRef "graphicsMatrixTranslate" self $ \cobj_self -> 
+    wxGraphicsMatrix_Translate cobj_self  dx  dy  
+foreign import ccall "wxGraphicsMatrix_Translate" wxGraphicsMatrix_Translate :: Ptr (TGraphicsMatrix a) -> Double -> Double -> IO ()
+
+-- | usage: (@graphicsObjectGetRenderer@).
+graphicsObjectGetRenderer ::  IO (GraphicsRenderer  ())
+graphicsObjectGetRenderer 
+  = withObjectResult $
+    wxGraphicsObject_GetRenderer 
+foreign import ccall "wxGraphicsObject_GetRenderer" wxGraphicsObject_GetRenderer :: IO (Ptr (TGraphicsRenderer ()))
+
+-- | usage: (@graphicsObjectIsNull self@).
+graphicsObjectIsNull :: GraphicsObject  a ->  IO Bool
+graphicsObjectIsNull self 
+  = withBoolResult $
+    withObjectRef "graphicsObjectIsNull" self $ \cobj_self -> 
+    wxGraphicsObject_IsNull cobj_self  
+foreign import ccall "wxGraphicsObject_IsNull" wxGraphicsObject_IsNull :: Ptr (TGraphicsObject a) -> IO CBool
+
+-- | usage: (@graphicsPathAddArc self xy r startAngle endAngle clockwise@).
+graphicsPathAddArc :: GraphicsPath  a -> (Point2 Double) -> Double -> Double -> Double -> Bool ->  IO ()
+graphicsPathAddArc self xy r startAngle endAngle clockwise 
+  = withObjectRef "graphicsPathAddArc" self $ \cobj_self -> 
+    wxGraphicsPath_AddArc cobj_self  (toCDoublePointX xy) (toCDoublePointY xy)  r  startAngle  endAngle  (toCBool clockwise)  
+foreign import ccall "wxGraphicsPath_AddArc" wxGraphicsPath_AddArc :: Ptr (TGraphicsPath a) -> CDouble -> CDouble -> Double -> Double -> Double -> CBool -> IO ()
+
+-- | usage: (@graphicsPathAddArcToPoint self x1y1 x2y2 r@).
+graphicsPathAddArcToPoint :: GraphicsPath  a -> (Point2 Double) -> (Point2 Double) -> Double ->  IO ()
+graphicsPathAddArcToPoint self x1y1 x2y2 r 
+  = withObjectRef "graphicsPathAddArcToPoint" self $ \cobj_self -> 
+    wxGraphicsPath_AddArcToPoint cobj_self  (toCDoublePointX x1y1) (toCDoublePointY x1y1)  (toCDoublePointX x2y2) (toCDoublePointY x2y2)  r  
+foreign import ccall "wxGraphicsPath_AddArcToPoint" wxGraphicsPath_AddArcToPoint :: Ptr (TGraphicsPath a) -> CDouble -> CDouble -> CDouble -> CDouble -> Double -> IO ()
+
+-- | usage: (@graphicsPathAddCircle self xy r@).
+graphicsPathAddCircle :: GraphicsPath  a -> (Point2 Double) -> Double ->  IO ()
+graphicsPathAddCircle self xy r 
+  = withObjectRef "graphicsPathAddCircle" self $ \cobj_self -> 
+    wxGraphicsPath_AddCircle cobj_self  (toCDoublePointX xy) (toCDoublePointY xy)  r  
+foreign import ccall "wxGraphicsPath_AddCircle" wxGraphicsPath_AddCircle :: Ptr (TGraphicsPath a) -> CDouble -> CDouble -> Double -> IO ()
+
+-- | usage: (@graphicsPathAddCurveToPoint self cx1cy1 cx2cy2 xy@).
+graphicsPathAddCurveToPoint :: GraphicsPath  a -> (Point2 Double) -> (Point2 Double) -> (Point2 Double) ->  IO ()
+graphicsPathAddCurveToPoint self cx1cy1 cx2cy2 xy 
+  = withObjectRef "graphicsPathAddCurveToPoint" self $ \cobj_self -> 
+    wxGraphicsPath_AddCurveToPoint cobj_self  (toCDoublePointX cx1cy1) (toCDoublePointY cx1cy1)  (toCDoublePointX cx2cy2) (toCDoublePointY cx2cy2)  (toCDoublePointX xy) (toCDoublePointY xy)  
+foreign import ccall "wxGraphicsPath_AddCurveToPoint" wxGraphicsPath_AddCurveToPoint :: Ptr (TGraphicsPath a) -> CDouble -> CDouble -> CDouble -> CDouble -> CDouble -> CDouble -> IO ()
+
+-- | usage: (@graphicsPathAddEllipse self xywh@).
+graphicsPathAddEllipse :: GraphicsPath  a -> (Rect2D Double) ->  IO ()
+graphicsPathAddEllipse self xywh 
+  = withObjectRef "graphicsPathAddEllipse" self $ \cobj_self -> 
+    wxGraphicsPath_AddEllipse cobj_self  (toCDoubleRectX xywh) (toCDoubleRectY xywh)(toCDoubleRectW xywh) (toCDoubleRectH xywh)  
+foreign import ccall "wxGraphicsPath_AddEllipse" wxGraphicsPath_AddEllipse :: Ptr (TGraphicsPath a) -> CDouble -> CDouble -> CDouble -> CDouble -> IO ()
+
+-- | usage: (@graphicsPathAddLineToPoint self xy@).
+graphicsPathAddLineToPoint :: GraphicsPath  a -> (Point2 Double) ->  IO ()
+graphicsPathAddLineToPoint self xy 
+  = withObjectRef "graphicsPathAddLineToPoint" self $ \cobj_self -> 
+    wxGraphicsPath_AddLineToPoint cobj_self  (toCDoublePointX xy) (toCDoublePointY xy)  
+foreign import ccall "wxGraphicsPath_AddLineToPoint" wxGraphicsPath_AddLineToPoint :: Ptr (TGraphicsPath a) -> CDouble -> CDouble -> IO ()
+
+-- | usage: (@graphicsPathAddPath self xy path@).
+graphicsPathAddPath :: GraphicsPath  a -> (Point2 Double) -> GraphicsPath  c ->  IO ()
+graphicsPathAddPath self xy path 
+  = withObjectRef "graphicsPathAddPath" self $ \cobj_self -> 
+    withObjectPtr path $ \cobj_path -> 
+    wxGraphicsPath_AddPath cobj_self  (toCDoublePointX xy) (toCDoublePointY xy)  cobj_path  
+foreign import ccall "wxGraphicsPath_AddPath" wxGraphicsPath_AddPath :: Ptr (TGraphicsPath a) -> CDouble -> CDouble -> Ptr (TGraphicsPath c) -> IO ()
+
+-- | usage: (@graphicsPathAddQuadCurveToPoint self cxcy xy@).
+graphicsPathAddQuadCurveToPoint :: GraphicsPath  a -> (Point2 Double) -> (Point2 Double) ->  IO ()
+graphicsPathAddQuadCurveToPoint self cxcy xy 
+  = withObjectRef "graphicsPathAddQuadCurveToPoint" self $ \cobj_self -> 
+    wxGraphicsPath_AddQuadCurveToPoint cobj_self  (toCDoublePointX cxcy) (toCDoublePointY cxcy)  (toCDoublePointX xy) (toCDoublePointY xy)  
+foreign import ccall "wxGraphicsPath_AddQuadCurveToPoint" wxGraphicsPath_AddQuadCurveToPoint :: Ptr (TGraphicsPath a) -> CDouble -> CDouble -> CDouble -> CDouble -> IO ()
+
+-- | usage: (@graphicsPathAddRectangle self xywh@).
+graphicsPathAddRectangle :: GraphicsPath  a -> (Rect2D Double) ->  IO ()
+graphicsPathAddRectangle self xywh 
+  = withObjectRef "graphicsPathAddRectangle" self $ \cobj_self -> 
+    wxGraphicsPath_AddRectangle cobj_self  (toCDoubleRectX xywh) (toCDoubleRectY xywh)(toCDoubleRectW xywh) (toCDoubleRectH xywh)  
+foreign import ccall "wxGraphicsPath_AddRectangle" wxGraphicsPath_AddRectangle :: Ptr (TGraphicsPath a) -> CDouble -> CDouble -> CDouble -> CDouble -> IO ()
+
+-- | usage: (@graphicsPathAddRoundedRectangle self xywh radius@).
+graphicsPathAddRoundedRectangle :: GraphicsPath  a -> (Rect2D Double) -> Double ->  IO ()
+graphicsPathAddRoundedRectangle self xywh radius 
+  = withObjectRef "graphicsPathAddRoundedRectangle" self $ \cobj_self -> 
+    wxGraphicsPath_AddRoundedRectangle cobj_self  (toCDoubleRectX xywh) (toCDoubleRectY xywh)(toCDoubleRectW xywh) (toCDoubleRectH xywh)  radius  
+foreign import ccall "wxGraphicsPath_AddRoundedRectangle" wxGraphicsPath_AddRoundedRectangle :: Ptr (TGraphicsPath a) -> CDouble -> CDouble -> CDouble -> CDouble -> Double -> IO ()
+
+-- | usage: (@graphicsPathCloseSubpath self@).
+graphicsPathCloseSubpath :: GraphicsPath  a ->  IO ()
+graphicsPathCloseSubpath self 
+  = withObjectRef "graphicsPathCloseSubpath" self $ \cobj_self -> 
+    wxGraphicsPath_CloseSubpath cobj_self  
+foreign import ccall "wxGraphicsPath_CloseSubpath" wxGraphicsPath_CloseSubpath :: Ptr (TGraphicsPath a) -> IO ()
+
+-- | usage: (@graphicsPathContains self xy style@).
+graphicsPathContains :: GraphicsPath  a -> (Point2 Double) -> Int ->  IO ()
+graphicsPathContains self xy style 
+  = withObjectRef "graphicsPathContains" self $ \cobj_self -> 
+    wxGraphicsPath_Contains cobj_self  (toCDoublePointX xy) (toCDoublePointY xy)  (toCInt style)  
+foreign import ccall "wxGraphicsPath_Contains" wxGraphicsPath_Contains :: Ptr (TGraphicsPath a) -> CDouble -> CDouble -> CInt -> IO ()
+
+-- | usage: (@graphicsPathDelete self@).
+graphicsPathDelete :: GraphicsPath  a ->  IO ()
+graphicsPathDelete
+  = objectDelete
+
+
+-- | usage: (@graphicsPathGetBox self@).
+graphicsPathGetBox :: GraphicsPath  a ->  IO (Rect2D Double)
+graphicsPathGetBox self 
+  = withRectDoubleResult $ \px py pw ph -> 
+    withObjectRef "graphicsPathGetBox" self $ \cobj_self -> 
+    wxGraphicsPath_GetBox cobj_self  px py pw ph
+foreign import ccall "wxGraphicsPath_GetBox" wxGraphicsPath_GetBox :: Ptr (TGraphicsPath a) -> Ptr CDouble -> Ptr CDouble -> Ptr CDouble -> Ptr CDouble -> IO ()
+
+-- | usage: (@graphicsPathGetCurrentPoint self@).
+graphicsPathGetCurrentPoint :: GraphicsPath  a ->  IO (Point2 Double)
+graphicsPathGetCurrentPoint self 
+  = withPointDoubleResult $ \px py -> 
+    withObjectRef "graphicsPathGetCurrentPoint" self $ \cobj_self -> 
+    wxGraphicsPath_GetCurrentPoint cobj_self   px py
+foreign import ccall "wxGraphicsPath_GetCurrentPoint" wxGraphicsPath_GetCurrentPoint :: Ptr (TGraphicsPath a) -> Ptr CDouble -> Ptr CDouble -> IO ()
+
+-- | usage: (@graphicsPathGetNativePath self@).
+graphicsPathGetNativePath :: GraphicsPath  a ->  IO (Ptr  ())
+graphicsPathGetNativePath self 
+  = withObjectRef "graphicsPathGetNativePath" self $ \cobj_self -> 
+    wxGraphicsPath_GetNativePath cobj_self  
+foreign import ccall "wxGraphicsPath_GetNativePath" wxGraphicsPath_GetNativePath :: Ptr (TGraphicsPath a) -> IO (Ptr  ())
+
+-- | usage: (@graphicsPathMoveToPoint self xy@).
+graphicsPathMoveToPoint :: GraphicsPath  a -> (Point2 Double) ->  IO ()
+graphicsPathMoveToPoint self xy 
+  = withObjectRef "graphicsPathMoveToPoint" self $ \cobj_self -> 
+    wxGraphicsPath_MoveToPoint cobj_self  (toCDoublePointX xy) (toCDoublePointY xy)  
+foreign import ccall "wxGraphicsPath_MoveToPoint" wxGraphicsPath_MoveToPoint :: Ptr (TGraphicsPath a) -> CDouble -> CDouble -> IO ()
+
+-- | usage: (@graphicsPathTransform self matrix@).
+graphicsPathTransform :: GraphicsPath  a -> GraphicsMatrix  b ->  IO ()
+graphicsPathTransform self matrix 
+  = withObjectRef "graphicsPathTransform" self $ \cobj_self -> 
+    withObjectPtr matrix $ \cobj_matrix -> 
+    wxGraphicsPath_Transform cobj_self  cobj_matrix  
+foreign import ccall "wxGraphicsPath_Transform" wxGraphicsPath_Transform :: Ptr (TGraphicsPath a) -> Ptr (TGraphicsMatrix b) -> IO ()
+
+-- | usage: (@graphicsPathUnGetNativePath p@).
+graphicsPathUnGetNativePath :: GraphicsPath  a ->  IO ()
+graphicsPathUnGetNativePath p 
+  = withObjectRef "graphicsPathUnGetNativePath" p $ \cobj_p -> 
+    wxGraphicsPath_UnGetNativePath cobj_p  
+foreign import ccall "wxGraphicsPath_UnGetNativePath" wxGraphicsPath_UnGetNativePath :: Ptr (TGraphicsPath a) -> IO ()
+
+-- | usage: (@graphicsPenCreate@).
+graphicsPenCreate ::  IO (GraphicsPen  ())
+graphicsPenCreate 
+  = withObjectResult $
+    wxGraphicsPen_Create 
+foreign import ccall "wxGraphicsPen_Create" wxGraphicsPen_Create :: IO (Ptr (TGraphicsPen ()))
+
+-- | usage: (@graphicsPenDelete self@).
+graphicsPenDelete :: GraphicsPen  a ->  IO ()
+graphicsPenDelete
+  = objectDelete
+
+
+-- | usage: (@graphicsRendererCreateContext dc@).
+graphicsRendererCreateContext :: WindowDC  a ->  IO (GraphicsContext  ())
+graphicsRendererCreateContext dc 
+  = withObjectResult $
+    withObjectPtr dc $ \cobj_dc -> 
+    wxGraphicsRenderer_CreateContext cobj_dc  
+foreign import ccall "wxGraphicsRenderer_CreateContext" wxGraphicsRenderer_CreateContext :: Ptr (TWindowDC a) -> IO (Ptr (TGraphicsContext ()))
+
+-- | usage: (@graphicsRendererCreateContextFromNativeContext context@).
+graphicsRendererCreateContextFromNativeContext :: GraphicsRenderer  a ->  IO (GraphicsContext  ())
+graphicsRendererCreateContextFromNativeContext context 
+  = withObjectResult $
+    withObjectRef "graphicsRendererCreateContextFromNativeContext" context $ \cobj_context -> 
+    wxGraphicsRenderer_CreateContextFromNativeContext cobj_context  
+foreign import ccall "wxGraphicsRenderer_CreateContextFromNativeContext" wxGraphicsRenderer_CreateContextFromNativeContext :: Ptr (TGraphicsRenderer a) -> IO (Ptr (TGraphicsContext ()))
+
+-- | usage: (@graphicsRendererCreateContextFromNativeWindow window@).
+graphicsRendererCreateContextFromNativeWindow :: Window  a ->  IO (GraphicsContext  ())
+graphicsRendererCreateContextFromNativeWindow window 
+  = withObjectResult $
+    withObjectPtr window $ \cobj_window -> 
+    wxGraphicsRenderer_CreateContextFromNativeWindow cobj_window  
+foreign import ccall "wxGraphicsRenderer_CreateContextFromNativeWindow" wxGraphicsRenderer_CreateContextFromNativeWindow :: Ptr (TWindow a) -> IO (Ptr (TGraphicsContext ()))
+
+-- | usage: (@graphicsRendererCreateContextFromWindow window@).
+graphicsRendererCreateContextFromWindow :: Window  a ->  IO (GraphicsContext  ())
+graphicsRendererCreateContextFromWindow window 
+  = withObjectResult $
+    withObjectPtr window $ \cobj_window -> 
+    wxGraphicsRenderer_CreateContextFromWindow cobj_window  
+foreign import ccall "wxGraphicsRenderer_CreateContextFromWindow" wxGraphicsRenderer_CreateContextFromWindow :: Ptr (TWindow a) -> IO (Ptr (TGraphicsContext ()))
+
+-- | usage: (@graphicsRendererCreatePath self@).
+graphicsRendererCreatePath :: GraphicsRenderer  a ->  IO (GraphicsPath  ())
+graphicsRendererCreatePath self 
+  = withObjectResult $
+    withObjectRef "graphicsRendererCreatePath" self $ \cobj_self -> 
+    wxGraphicsRenderer_CreatePath cobj_self  
+foreign import ccall "wxGraphicsRenderer_CreatePath" wxGraphicsRenderer_CreatePath :: Ptr (TGraphicsRenderer a) -> IO (Ptr (TGraphicsPath ()))
+
+-- | usage: (@graphicsRendererDelete self@).
+graphicsRendererDelete :: GraphicsRenderer  a ->  IO ()
+graphicsRendererDelete
+  = objectDelete
+
+
+-- | usage: (@graphicsRendererGetDefaultRenderer self@).
+graphicsRendererGetDefaultRenderer :: GraphicsRenderer  a ->  IO (GraphicsRenderer  ())
+graphicsRendererGetDefaultRenderer self 
+  = withObjectResult $
+    withObjectRef "graphicsRendererGetDefaultRenderer" self $ \cobj_self -> 
+    wxGraphicsRenderer_GetDefaultRenderer cobj_self  
+foreign import ccall "wxGraphicsRenderer_GetDefaultRenderer" wxGraphicsRenderer_GetDefaultRenderer :: Ptr (TGraphicsRenderer a) -> IO (Ptr (TGraphicsRenderer ()))
+
+-- | usage: (@gridAppendCols obj numCols updateLabels@).
+gridAppendCols :: Grid  a -> Int -> Bool ->  IO Bool
+gridAppendCols _obj numCols updateLabels 
+  = withBoolResult $
+    withObjectRef "gridAppendCols" _obj $ \cobj__obj -> 
+    wxGrid_AppendCols cobj__obj  (toCInt numCols)  (toCBool updateLabels)  
+foreign import ccall "wxGrid_AppendCols" wxGrid_AppendCols :: Ptr (TGrid a) -> CInt -> CBool -> IO CBool
+
+-- | usage: (@gridAppendRows obj numRows updateLabels@).
+gridAppendRows :: Grid  a -> Int -> Bool ->  IO Bool
+gridAppendRows _obj numRows updateLabels 
+  = withBoolResult $
+    withObjectRef "gridAppendRows" _obj $ \cobj__obj -> 
+    wxGrid_AppendRows cobj__obj  (toCInt numRows)  (toCBool updateLabels)  
+foreign import ccall "wxGrid_AppendRows" wxGrid_AppendRows :: Ptr (TGrid a) -> CInt -> CBool -> IO CBool
+
+-- | usage: (@gridAutoSize obj@).
+gridAutoSize :: Grid  a ->  IO ()
+gridAutoSize _obj 
+  = withObjectRef "gridAutoSize" _obj $ \cobj__obj -> 
+    wxGrid_AutoSize cobj__obj  
+foreign import ccall "wxGrid_AutoSize" wxGrid_AutoSize :: Ptr (TGrid a) -> IO ()
+
+-- | usage: (@gridAutoSizeColumn obj col setAsMin@).
+gridAutoSizeColumn :: Grid  a -> Int -> Bool ->  IO ()
+gridAutoSizeColumn _obj col setAsMin 
+  = withObjectRef "gridAutoSizeColumn" _obj $ \cobj__obj -> 
+    wxGrid_AutoSizeColumn cobj__obj  (toCInt col)  (toCBool setAsMin)  
+foreign import ccall "wxGrid_AutoSizeColumn" wxGrid_AutoSizeColumn :: Ptr (TGrid a) -> CInt -> CBool -> IO ()
+
+-- | usage: (@gridAutoSizeColumns obj setAsMin@).
+gridAutoSizeColumns :: Grid  a -> Bool ->  IO ()
+gridAutoSizeColumns _obj setAsMin 
+  = withObjectRef "gridAutoSizeColumns" _obj $ \cobj__obj -> 
+    wxGrid_AutoSizeColumns cobj__obj  (toCBool setAsMin)  
+foreign import ccall "wxGrid_AutoSizeColumns" wxGrid_AutoSizeColumns :: Ptr (TGrid a) -> CBool -> IO ()
+
+-- | usage: (@gridAutoSizeRow obj row setAsMin@).
+gridAutoSizeRow :: Grid  a -> Int -> Bool ->  IO ()
+gridAutoSizeRow _obj row setAsMin 
+  = withObjectRef "gridAutoSizeRow" _obj $ \cobj__obj -> 
+    wxGrid_AutoSizeRow cobj__obj  (toCInt row)  (toCBool setAsMin)  
+foreign import ccall "wxGrid_AutoSizeRow" wxGrid_AutoSizeRow :: Ptr (TGrid a) -> CInt -> CBool -> IO ()
+
+-- | usage: (@gridAutoSizeRows obj setAsMin@).
+gridAutoSizeRows :: Grid  a -> Bool ->  IO ()
+gridAutoSizeRows _obj setAsMin 
+  = withObjectRef "gridAutoSizeRows" _obj $ \cobj__obj -> 
+    wxGrid_AutoSizeRows cobj__obj  (toCBool setAsMin)  
+foreign import ccall "wxGrid_AutoSizeRows" wxGrid_AutoSizeRows :: Ptr (TGrid a) -> CBool -> IO ()
+
+-- | usage: (@gridBeginBatch obj@).
+gridBeginBatch :: Grid  a ->  IO ()
+gridBeginBatch _obj 
+  = withObjectRef "gridBeginBatch" _obj $ \cobj__obj -> 
+    wxGrid_BeginBatch cobj__obj  
+foreign import ccall "wxGrid_BeginBatch" wxGrid_BeginBatch :: Ptr (TGrid a) -> IO ()
+
+-- | usage: (@gridBlockToDeviceRect obj top left bottom right@).
+gridBlockToDeviceRect :: Grid  a -> Int -> Int -> Int -> Int ->  IO (Rect)
+gridBlockToDeviceRect _obj top left bottom right 
+  = withWxRectResult $
+    withObjectRef "gridBlockToDeviceRect" _obj $ \cobj__obj -> 
+    wxGrid_BlockToDeviceRect cobj__obj  (toCInt top)  (toCInt left)  (toCInt bottom)  (toCInt right)  
+foreign import ccall "wxGrid_BlockToDeviceRect" wxGrid_BlockToDeviceRect :: Ptr (TGrid a) -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TWxRect ()))
+
+-- | usage: (@gridCanDragColSize obj col@).
+gridCanDragColSize :: Grid  a -> Int ->  IO Bool
+gridCanDragColSize _obj col 
+  = withBoolResult $
+    withObjectRef "gridCanDragColSize" _obj $ \cobj__obj -> 
+    wxGrid_CanDragColSize cobj__obj  (toCInt col)  
+foreign import ccall "wxGrid_CanDragColSize" wxGrid_CanDragColSize :: Ptr (TGrid a) -> CInt -> IO CBool
+
+-- | usage: (@gridCanDragGridSize obj@).
+gridCanDragGridSize :: Grid  a ->  IO Bool
+gridCanDragGridSize _obj 
+  = withBoolResult $
+    withObjectRef "gridCanDragGridSize" _obj $ \cobj__obj -> 
+    wxGrid_CanDragGridSize cobj__obj  
+foreign import ccall "wxGrid_CanDragGridSize" wxGrid_CanDragGridSize :: Ptr (TGrid a) -> IO CBool
+
+-- | usage: (@gridCanDragRowSize obj row@).
+gridCanDragRowSize :: Grid  a -> Int ->  IO Bool
+gridCanDragRowSize _obj row 
+  = withBoolResult $
+    withObjectRef "gridCanDragRowSize" _obj $ \cobj__obj -> 
+    wxGrid_CanDragRowSize cobj__obj  (toCInt row)  
+foreign import ccall "wxGrid_CanDragRowSize" wxGrid_CanDragRowSize :: Ptr (TGrid a) -> CInt -> IO CBool
+
+-- | usage: (@gridCanEnableCellControl obj@).
+gridCanEnableCellControl :: Grid  a ->  IO Bool
+gridCanEnableCellControl _obj 
+  = withBoolResult $
+    withObjectRef "gridCanEnableCellControl" _obj $ \cobj__obj -> 
+    wxGrid_CanEnableCellControl cobj__obj  
+foreign import ccall "wxGrid_CanEnableCellControl" wxGrid_CanEnableCellControl :: Ptr (TGrid a) -> IO CBool
+
+-- | usage: (@gridCellAttrCtor@).
+gridCellAttrCtor ::  IO (GridCellAttr  ())
+gridCellAttrCtor 
+  = withObjectResult $
+    wxGridCellAttr_Ctor 
+foreign import ccall "wxGridCellAttr_Ctor" wxGridCellAttr_Ctor :: IO (Ptr (TGridCellAttr ()))
+
+-- | usage: (@gridCellAttrDecRef obj@).
+gridCellAttrDecRef :: GridCellAttr  a ->  IO ()
+gridCellAttrDecRef _obj 
+  = withObjectRef "gridCellAttrDecRef" _obj $ \cobj__obj -> 
+    wxGridCellAttr_DecRef cobj__obj  
+foreign import ccall "wxGridCellAttr_DecRef" wxGridCellAttr_DecRef :: Ptr (TGridCellAttr a) -> IO ()
+
+-- | usage: (@gridCellAttrGetAlignment obj@).
+gridCellAttrGetAlignment :: GridCellAttr  a ->  IO Size
+gridCellAttrGetAlignment _obj 
+  = withSizeResult $ \pw ph -> 
+    withObjectRef "gridCellAttrGetAlignment" _obj $ \cobj__obj -> 
+    wxGridCellAttr_GetAlignment cobj__obj   pw ph
+foreign import ccall "wxGridCellAttr_GetAlignment" wxGridCellAttr_GetAlignment :: Ptr (TGridCellAttr a) -> Ptr CInt -> Ptr CInt -> IO ()
+
+-- | usage: (@gridCellAttrGetBackgroundColour obj@).
+gridCellAttrGetBackgroundColour :: GridCellAttr  a ->  IO (Color)
+gridCellAttrGetBackgroundColour _obj 
+  = withRefColour $ \pref -> 
+    withObjectRef "gridCellAttrGetBackgroundColour" _obj $ \cobj__obj -> 
+    wxGridCellAttr_GetBackgroundColour cobj__obj   pref
+foreign import ccall "wxGridCellAttr_GetBackgroundColour" wxGridCellAttr_GetBackgroundColour :: Ptr (TGridCellAttr a) -> Ptr (TColour ()) -> IO ()
+
+-- | usage: (@gridCellAttrGetEditor obj grid row col@).
+gridCellAttrGetEditor :: GridCellAttr  a -> Grid  b -> Int -> Int ->  IO (GridCellEditor  ())
+gridCellAttrGetEditor _obj grid row col 
+  = withObjectResult $
+    withObjectRef "gridCellAttrGetEditor" _obj $ \cobj__obj -> 
+    withObjectPtr grid $ \cobj_grid -> 
+    wxGridCellAttr_GetEditor cobj__obj  cobj_grid  (toCInt row)  (toCInt col)  
+foreign import ccall "wxGridCellAttr_GetEditor" wxGridCellAttr_GetEditor :: Ptr (TGridCellAttr a) -> Ptr (TGrid b) -> CInt -> CInt -> IO (Ptr (TGridCellEditor ()))
+
+-- | usage: (@gridCellAttrGetFont obj@).
+gridCellAttrGetFont :: GridCellAttr  a ->  IO (Font  ())
+gridCellAttrGetFont _obj 
+  = withRefFont $ \pref -> 
+    withObjectRef "gridCellAttrGetFont" _obj $ \cobj__obj -> 
+    wxGridCellAttr_GetFont cobj__obj   pref
+foreign import ccall "wxGridCellAttr_GetFont" wxGridCellAttr_GetFont :: Ptr (TGridCellAttr a) -> Ptr (TFont ()) -> IO ()
+
+-- | usage: (@gridCellAttrGetRenderer obj grid row col@).
+gridCellAttrGetRenderer :: GridCellAttr  a -> Grid  b -> Int -> Int ->  IO (GridCellRenderer  ())
+gridCellAttrGetRenderer _obj grid row col 
+  = withObjectResult $
+    withObjectRef "gridCellAttrGetRenderer" _obj $ \cobj__obj -> 
+    withObjectPtr grid $ \cobj_grid -> 
+    wxGridCellAttr_GetRenderer cobj__obj  cobj_grid  (toCInt row)  (toCInt col)  
+foreign import ccall "wxGridCellAttr_GetRenderer" wxGridCellAttr_GetRenderer :: Ptr (TGridCellAttr a) -> Ptr (TGrid b) -> CInt -> CInt -> IO (Ptr (TGridCellRenderer ()))
+
+-- | usage: (@gridCellAttrGetTextColour obj@).
+gridCellAttrGetTextColour :: GridCellAttr  a ->  IO (Color)
+gridCellAttrGetTextColour _obj 
+  = withRefColour $ \pref -> 
+    withObjectRef "gridCellAttrGetTextColour" _obj $ \cobj__obj -> 
+    wxGridCellAttr_GetTextColour cobj__obj   pref
+foreign import ccall "wxGridCellAttr_GetTextColour" wxGridCellAttr_GetTextColour :: Ptr (TGridCellAttr a) -> Ptr (TColour ()) -> IO ()
+
+-- | usage: (@gridCellAttrHasAlignment obj@).
+gridCellAttrHasAlignment :: GridCellAttr  a ->  IO Bool
+gridCellAttrHasAlignment _obj 
+  = withBoolResult $
+    withObjectRef "gridCellAttrHasAlignment" _obj $ \cobj__obj -> 
+    wxGridCellAttr_HasAlignment cobj__obj  
+foreign import ccall "wxGridCellAttr_HasAlignment" wxGridCellAttr_HasAlignment :: Ptr (TGridCellAttr a) -> IO CBool
+
+-- | usage: (@gridCellAttrHasBackgroundColour obj@).
+gridCellAttrHasBackgroundColour :: GridCellAttr  a ->  IO Bool
+gridCellAttrHasBackgroundColour _obj 
+  = withBoolResult $
+    withObjectRef "gridCellAttrHasBackgroundColour" _obj $ \cobj__obj -> 
+    wxGridCellAttr_HasBackgroundColour cobj__obj  
+foreign import ccall "wxGridCellAttr_HasBackgroundColour" wxGridCellAttr_HasBackgroundColour :: Ptr (TGridCellAttr a) -> IO CBool
+
+-- | usage: (@gridCellAttrHasEditor obj@).
+gridCellAttrHasEditor :: GridCellAttr  a ->  IO Bool
+gridCellAttrHasEditor _obj 
+  = withBoolResult $
+    withObjectRef "gridCellAttrHasEditor" _obj $ \cobj__obj -> 
+    wxGridCellAttr_HasEditor cobj__obj  
+foreign import ccall "wxGridCellAttr_HasEditor" wxGridCellAttr_HasEditor :: Ptr (TGridCellAttr a) -> IO CBool
+
+-- | usage: (@gridCellAttrHasFont obj@).
+gridCellAttrHasFont :: GridCellAttr  a ->  IO Bool
+gridCellAttrHasFont _obj 
+  = withBoolResult $
+    withObjectRef "gridCellAttrHasFont" _obj $ \cobj__obj -> 
+    wxGridCellAttr_HasFont cobj__obj  
+foreign import ccall "wxGridCellAttr_HasFont" wxGridCellAttr_HasFont :: Ptr (TGridCellAttr a) -> IO CBool
+
+-- | usage: (@gridCellAttrHasRenderer obj@).
+gridCellAttrHasRenderer :: GridCellAttr  a ->  IO Bool
+gridCellAttrHasRenderer _obj 
+  = withBoolResult $
+    withObjectRef "gridCellAttrHasRenderer" _obj $ \cobj__obj -> 
+    wxGridCellAttr_HasRenderer cobj__obj  
+foreign import ccall "wxGridCellAttr_HasRenderer" wxGridCellAttr_HasRenderer :: Ptr (TGridCellAttr a) -> IO CBool
+
+-- | usage: (@gridCellAttrHasTextColour obj@).
+gridCellAttrHasTextColour :: GridCellAttr  a ->  IO Bool
+gridCellAttrHasTextColour _obj 
+  = withBoolResult $
+    withObjectRef "gridCellAttrHasTextColour" _obj $ \cobj__obj -> 
+    wxGridCellAttr_HasTextColour cobj__obj  
+foreign import ccall "wxGridCellAttr_HasTextColour" wxGridCellAttr_HasTextColour :: Ptr (TGridCellAttr a) -> IO CBool
+
+-- | usage: (@gridCellAttrIncRef obj@).
+gridCellAttrIncRef :: GridCellAttr  a ->  IO ()
+gridCellAttrIncRef _obj 
+  = withObjectRef "gridCellAttrIncRef" _obj $ \cobj__obj -> 
+    wxGridCellAttr_IncRef cobj__obj  
+foreign import ccall "wxGridCellAttr_IncRef" wxGridCellAttr_IncRef :: Ptr (TGridCellAttr a) -> IO ()
+
+-- | usage: (@gridCellAttrIsReadOnly obj@).
+gridCellAttrIsReadOnly :: GridCellAttr  a ->  IO Bool
+gridCellAttrIsReadOnly _obj 
+  = withBoolResult $
+    withObjectRef "gridCellAttrIsReadOnly" _obj $ \cobj__obj -> 
+    wxGridCellAttr_IsReadOnly cobj__obj  
+foreign import ccall "wxGridCellAttr_IsReadOnly" wxGridCellAttr_IsReadOnly :: Ptr (TGridCellAttr a) -> IO CBool
+
+-- | usage: (@gridCellAttrSetAlignment obj hAlign vAlign@).
+gridCellAttrSetAlignment :: GridCellAttr  a -> Int -> Int ->  IO ()
+gridCellAttrSetAlignment _obj hAlign vAlign 
+  = withObjectRef "gridCellAttrSetAlignment" _obj $ \cobj__obj -> 
+    wxGridCellAttr_SetAlignment cobj__obj  (toCInt hAlign)  (toCInt vAlign)  
+foreign import ccall "wxGridCellAttr_SetAlignment" wxGridCellAttr_SetAlignment :: Ptr (TGridCellAttr a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@gridCellAttrSetBackgroundColour obj colBack@).
+gridCellAttrSetBackgroundColour :: GridCellAttr  a -> Color ->  IO ()
+gridCellAttrSetBackgroundColour _obj colBack 
+  = withObjectRef "gridCellAttrSetBackgroundColour" _obj $ \cobj__obj -> 
+    withColourPtr colBack $ \cobj_colBack -> 
+    wxGridCellAttr_SetBackgroundColour cobj__obj  cobj_colBack  
+foreign import ccall "wxGridCellAttr_SetBackgroundColour" wxGridCellAttr_SetBackgroundColour :: Ptr (TGridCellAttr a) -> Ptr (TColour b) -> IO ()
+
+-- | usage: (@gridCellAttrSetDefAttr obj defAttr@).
+gridCellAttrSetDefAttr :: GridCellAttr  a -> GridCellAttr  b ->  IO ()
+gridCellAttrSetDefAttr _obj defAttr 
+  = withObjectRef "gridCellAttrSetDefAttr" _obj $ \cobj__obj -> 
+    withObjectPtr defAttr $ \cobj_defAttr -> 
+    wxGridCellAttr_SetDefAttr cobj__obj  cobj_defAttr  
+foreign import ccall "wxGridCellAttr_SetDefAttr" wxGridCellAttr_SetDefAttr :: Ptr (TGridCellAttr a) -> Ptr (TGridCellAttr b) -> IO ()
+
+-- | usage: (@gridCellAttrSetEditor obj editor@).
+gridCellAttrSetEditor :: GridCellAttr  a -> GridCellEditor  b ->  IO ()
+gridCellAttrSetEditor _obj editor 
+  = withObjectRef "gridCellAttrSetEditor" _obj $ \cobj__obj -> 
+    withObjectPtr editor $ \cobj_editor -> 
+    wxGridCellAttr_SetEditor cobj__obj  cobj_editor  
+foreign import ccall "wxGridCellAttr_SetEditor" wxGridCellAttr_SetEditor :: Ptr (TGridCellAttr a) -> Ptr (TGridCellEditor b) -> IO ()
+
+-- | usage: (@gridCellAttrSetFont obj font@).
+gridCellAttrSetFont :: GridCellAttr  a -> Font  b ->  IO ()
+gridCellAttrSetFont _obj font 
+  = withObjectRef "gridCellAttrSetFont" _obj $ \cobj__obj -> 
+    withObjectPtr font $ \cobj_font -> 
+    wxGridCellAttr_SetFont cobj__obj  cobj_font  
+foreign import ccall "wxGridCellAttr_SetFont" wxGridCellAttr_SetFont :: Ptr (TGridCellAttr a) -> Ptr (TFont b) -> IO ()
+
+-- | usage: (@gridCellAttrSetReadOnly obj isReadOnly@).
+gridCellAttrSetReadOnly :: GridCellAttr  a -> Bool ->  IO ()
+gridCellAttrSetReadOnly _obj isReadOnly 
+  = withObjectRef "gridCellAttrSetReadOnly" _obj $ \cobj__obj -> 
+    wxGridCellAttr_SetReadOnly cobj__obj  (toCBool isReadOnly)  
+foreign import ccall "wxGridCellAttr_SetReadOnly" wxGridCellAttr_SetReadOnly :: Ptr (TGridCellAttr a) -> CBool -> IO ()
+
+-- | usage: (@gridCellAttrSetRenderer obj renderer@).
+gridCellAttrSetRenderer :: GridCellAttr  a -> GridCellRenderer  b ->  IO ()
+gridCellAttrSetRenderer _obj renderer 
+  = withObjectRef "gridCellAttrSetRenderer" _obj $ \cobj__obj -> 
+    withObjectPtr renderer $ \cobj_renderer -> 
+    wxGridCellAttr_SetRenderer cobj__obj  cobj_renderer  
+foreign import ccall "wxGridCellAttr_SetRenderer" wxGridCellAttr_SetRenderer :: Ptr (TGridCellAttr a) -> Ptr (TGridCellRenderer b) -> IO ()
+
+-- | usage: (@gridCellAttrSetTextColour obj colText@).
+gridCellAttrSetTextColour :: GridCellAttr  a -> Color ->  IO ()
+gridCellAttrSetTextColour _obj colText 
+  = withObjectRef "gridCellAttrSetTextColour" _obj $ \cobj__obj -> 
+    withColourPtr colText $ \cobj_colText -> 
+    wxGridCellAttr_SetTextColour cobj__obj  cobj_colText  
+foreign import ccall "wxGridCellAttr_SetTextColour" wxGridCellAttr_SetTextColour :: Ptr (TGridCellAttr a) -> Ptr (TColour b) -> IO ()
+
+-- | usage: (@gridCellAutoWrapStringRendererCtor@).
+gridCellAutoWrapStringRendererCtor ::  IO (GridCellAutoWrapStringRenderer  ())
+gridCellAutoWrapStringRendererCtor 
+  = withObjectResult $
+    wxGridCellAutoWrapStringRenderer_Ctor 
+foreign import ccall "wxGridCellAutoWrapStringRenderer_Ctor" wxGridCellAutoWrapStringRenderer_Ctor :: IO (Ptr (TGridCellAutoWrapStringRenderer ()))
+
+-- | usage: (@gridCellBoolEditorCtor@).
+gridCellBoolEditorCtor ::  IO (GridCellBoolEditor  ())
+gridCellBoolEditorCtor 
+  = withObjectResult $
+    wxGridCellBoolEditor_Ctor 
+foreign import ccall "wxGridCellBoolEditor_Ctor" wxGridCellBoolEditor_Ctor :: IO (Ptr (TGridCellBoolEditor ()))
+
+-- | usage: (@gridCellChoiceEditorCtor countchoices allowOthers@).
+gridCellChoiceEditorCtor :: [String] -> Bool ->  IO (GridCellChoiceEditor  ())
+gridCellChoiceEditorCtor countchoices allowOthers 
+  = withObjectResult $
+    withArrayWString countchoices $ \carrlen_countchoices carr_countchoices -> 
+    wxGridCellChoiceEditor_Ctor carrlen_countchoices carr_countchoices  (toCBool allowOthers)  
+foreign import ccall "wxGridCellChoiceEditor_Ctor" wxGridCellChoiceEditor_Ctor :: CInt -> Ptr (Ptr CWchar) -> CBool -> IO (Ptr (TGridCellChoiceEditor ()))
+
+-- | usage: (@gridCellCoordsArrayCreate@).
+gridCellCoordsArrayCreate ::  IO (GridCellCoordsArray  ())
+gridCellCoordsArrayCreate 
+  = withManagedGridCellCoordsArrayResult $
+    wxGridCellCoordsArray_Create 
+foreign import ccall "wxGridCellCoordsArray_Create" wxGridCellCoordsArray_Create :: IO (Ptr (TGridCellCoordsArray ()))
+
+-- | usage: (@gridCellCoordsArrayDelete obj@).
+gridCellCoordsArrayDelete :: GridCellCoordsArray  a ->  IO ()
+gridCellCoordsArrayDelete
+  = gridCellCoordsArrayDelete
+
+
+-- | usage: (@gridCellCoordsArrayGetCount obj@).
+gridCellCoordsArrayGetCount :: GridCellCoordsArray  a ->  IO Int
+gridCellCoordsArrayGetCount _obj 
+  = withIntResult $
+    withObjectRef "gridCellCoordsArrayGetCount" _obj $ \cobj__obj -> 
+    wxGridCellCoordsArray_GetCount cobj__obj  
+foreign import ccall "wxGridCellCoordsArray_GetCount" wxGridCellCoordsArray_GetCount :: Ptr (TGridCellCoordsArray a) -> IO CInt
+
+-- | usage: (@gridCellCoordsArrayItem obj idx@).
+gridCellCoordsArrayItem :: GridCellCoordsArray  a -> Int ->  IO Point
+gridCellCoordsArrayItem _obj _idx 
+  = withPointResult $ \px py -> 
+    withObjectRef "gridCellCoordsArrayItem" _obj $ \cobj__obj -> 
+    wxGridCellCoordsArray_Item cobj__obj  (toCInt _idx)   px py
+foreign import ccall "wxGridCellCoordsArray_Item" wxGridCellCoordsArray_Item :: Ptr (TGridCellCoordsArray a) -> CInt -> Ptr CInt -> Ptr CInt -> IO ()
+
+-- | usage: (@gridCellEditorBeginEdit obj row col grid@).
+gridCellEditorBeginEdit :: GridCellEditor  a -> Int -> Int -> Grid  d ->  IO ()
+gridCellEditorBeginEdit _obj row col grid 
+  = withObjectRef "gridCellEditorBeginEdit" _obj $ \cobj__obj -> 
+    withObjectPtr grid $ \cobj_grid -> 
+    wxGridCellEditor_BeginEdit cobj__obj  (toCInt row)  (toCInt col)  cobj_grid  
+foreign import ccall "wxGridCellEditor_BeginEdit" wxGridCellEditor_BeginEdit :: Ptr (TGridCellEditor a) -> CInt -> CInt -> Ptr (TGrid d) -> IO ()
+
+-- | usage: (@gridCellEditorCreate obj parent id evtHandler@).
+gridCellEditorCreate :: GridCellEditor  a -> Window  b -> Id -> EvtHandler  d ->  IO ()
+gridCellEditorCreate _obj parent id evtHandler 
+  = withObjectPtr _obj $ \cobj__obj -> 
+    withObjectPtr parent $ \cobj_parent -> 
+    withObjectPtr evtHandler $ \cobj_evtHandler -> 
+    wxGridCellEditor_Create cobj__obj  cobj_parent  (toCInt id)  cobj_evtHandler  
+foreign import ccall "wxGridCellEditor_Create" wxGridCellEditor_Create :: Ptr (TGridCellEditor a) -> Ptr (TWindow b) -> CInt -> Ptr (TEvtHandler d) -> IO ()
+
+-- | usage: (@gridCellEditorDestroy obj@).
+gridCellEditorDestroy :: GridCellEditor  a ->  IO ()
+gridCellEditorDestroy _obj 
+  = withObjectRef "gridCellEditorDestroy" _obj $ \cobj__obj -> 
+    wxGridCellEditor_Destroy cobj__obj  
+foreign import ccall "wxGridCellEditor_Destroy" wxGridCellEditor_Destroy :: Ptr (TGridCellEditor a) -> IO ()
+
+-- | usage: (@gridCellEditorEndEdit obj row col grid oldStr newStr@).
+gridCellEditorEndEdit :: GridCellEditor  a -> Int -> Int -> Grid  d -> String -> String ->  IO Int
+gridCellEditorEndEdit _obj row col grid oldStr newStr 
+  = withIntResult $
+    withObjectRef "gridCellEditorEndEdit" _obj $ \cobj__obj -> 
+    withObjectPtr grid $ \cobj_grid -> 
+    withStringPtr oldStr $ \cobj_oldStr -> 
+    withStringPtr newStr $ \cobj_newStr -> 
+    wxGridCellEditor_EndEdit cobj__obj  (toCInt row)  (toCInt col)  cobj_grid  cobj_oldStr  cobj_newStr  
+foreign import ccall "wxGridCellEditor_EndEdit" wxGridCellEditor_EndEdit :: Ptr (TGridCellEditor a) -> CInt -> CInt -> Ptr (TGrid d) -> Ptr (TWxString e) -> Ptr (TWxString f) -> IO CInt
+
+-- | usage: (@gridCellEditorGetControl obj@).
+gridCellEditorGetControl :: GridCellEditor  a ->  IO (Control  ())
+gridCellEditorGetControl _obj 
+  = withObjectResult $
+    withObjectRef "gridCellEditorGetControl" _obj $ \cobj__obj -> 
+    wxGridCellEditor_GetControl cobj__obj  
+foreign import ccall "wxGridCellEditor_GetControl" wxGridCellEditor_GetControl :: Ptr (TGridCellEditor a) -> IO (Ptr (TControl ()))
+
+-- | usage: (@gridCellEditorHandleReturn obj event@).
+gridCellEditorHandleReturn :: GridCellEditor  a -> Event  b ->  IO ()
+gridCellEditorHandleReturn _obj event 
+  = withObjectRef "gridCellEditorHandleReturn" _obj $ \cobj__obj -> 
+    withObjectPtr event $ \cobj_event -> 
+    wxGridCellEditor_HandleReturn cobj__obj  cobj_event  
+foreign import ccall "wxGridCellEditor_HandleReturn" wxGridCellEditor_HandleReturn :: Ptr (TGridCellEditor a) -> Ptr (TEvent b) -> IO ()
+
+-- | usage: (@gridCellEditorIsAcceptedKey obj event@).
+gridCellEditorIsAcceptedKey :: GridCellEditor  a -> Event  b ->  IO Bool
+gridCellEditorIsAcceptedKey _obj event 
+  = withBoolResult $
+    withObjectRef "gridCellEditorIsAcceptedKey" _obj $ \cobj__obj -> 
+    withObjectPtr event $ \cobj_event -> 
+    wxGridCellEditor_IsAcceptedKey cobj__obj  cobj_event  
+foreign import ccall "wxGridCellEditor_IsAcceptedKey" wxGridCellEditor_IsAcceptedKey :: Ptr (TGridCellEditor a) -> Ptr (TEvent b) -> IO CBool
+
+-- | usage: (@gridCellEditorIsCreated obj@).
+gridCellEditorIsCreated :: GridCellEditor  a ->  IO Bool
+gridCellEditorIsCreated _obj 
+  = withBoolResult $
+    withObjectRef "gridCellEditorIsCreated" _obj $ \cobj__obj -> 
+    wxGridCellEditor_IsCreated cobj__obj  
+foreign import ccall "wxGridCellEditor_IsCreated" wxGridCellEditor_IsCreated :: Ptr (TGridCellEditor a) -> IO CBool
+
+-- | usage: (@gridCellEditorPaintBackground obj dc xywh attr@).
+gridCellEditorPaintBackground :: GridCellEditor  a -> DC  b -> Rect -> GridCellAttr  d ->  IO ()
+gridCellEditorPaintBackground _obj dc xywh attr 
+  = withObjectRef "gridCellEditorPaintBackground" _obj $ \cobj__obj -> 
+    withObjectPtr dc $ \cobj_dc -> 
+    withObjectPtr attr $ \cobj_attr -> 
+    wxGridCellEditor_PaintBackground cobj__obj  cobj_dc  (toCIntRectX xywh) (toCIntRectY xywh)(toCIntRectW xywh) (toCIntRectH xywh)  cobj_attr  
+foreign import ccall "wxGridCellEditor_PaintBackground" wxGridCellEditor_PaintBackground :: Ptr (TGridCellEditor a) -> Ptr (TDC b) -> CInt -> CInt -> CInt -> CInt -> Ptr (TGridCellAttr d) -> IO ()
+
+-- | usage: (@gridCellEditorReset obj@).
+gridCellEditorReset :: GridCellEditor  a ->  IO ()
+gridCellEditorReset _obj 
+  = withObjectRef "gridCellEditorReset" _obj $ \cobj__obj -> 
+    wxGridCellEditor_Reset cobj__obj  
+foreign import ccall "wxGridCellEditor_Reset" wxGridCellEditor_Reset :: Ptr (TGridCellEditor a) -> IO ()
+
+-- | usage: (@gridCellEditorSetControl obj control@).
+gridCellEditorSetControl :: GridCellEditor  a -> Control  b ->  IO ()
+gridCellEditorSetControl _obj control 
+  = withObjectRef "gridCellEditorSetControl" _obj $ \cobj__obj -> 
+    withObjectPtr control $ \cobj_control -> 
+    wxGridCellEditor_SetControl cobj__obj  cobj_control  
+foreign import ccall "wxGridCellEditor_SetControl" wxGridCellEditor_SetControl :: Ptr (TGridCellEditor a) -> Ptr (TControl b) -> IO ()
+
+-- | usage: (@gridCellEditorSetParameters obj params@).
+gridCellEditorSetParameters :: GridCellEditor  a -> String ->  IO ()
+gridCellEditorSetParameters _obj params 
+  = withObjectRef "gridCellEditorSetParameters" _obj $ \cobj__obj -> 
+    withStringPtr params $ \cobj_params -> 
+    wxGridCellEditor_SetParameters cobj__obj  cobj_params  
+foreign import ccall "wxGridCellEditor_SetParameters" wxGridCellEditor_SetParameters :: Ptr (TGridCellEditor a) -> Ptr (TWxString b) -> IO ()
+
+-- | usage: (@gridCellEditorSetSize obj xywh@).
+gridCellEditorSetSize :: GridCellEditor  a -> Rect ->  IO ()
+gridCellEditorSetSize _obj xywh 
+  = withObjectRef "gridCellEditorSetSize" _obj $ \cobj__obj -> 
+    wxGridCellEditor_SetSize cobj__obj  (toCIntRectX xywh) (toCIntRectY xywh)(toCIntRectW xywh) (toCIntRectH xywh)  
+foreign import ccall "wxGridCellEditor_SetSize" wxGridCellEditor_SetSize :: Ptr (TGridCellEditor a) -> CInt -> CInt -> CInt -> CInt -> IO ()
+
+-- | usage: (@gridCellEditorShow obj show attr@).
+gridCellEditorShow :: GridCellEditor  a -> Bool -> GridCellAttr  c ->  IO ()
+gridCellEditorShow _obj show attr 
+  = withObjectRef "gridCellEditorShow" _obj $ \cobj__obj -> 
+    withObjectPtr attr $ \cobj_attr -> 
+    wxGridCellEditor_Show cobj__obj  (toCBool show)  cobj_attr  
+foreign import ccall "wxGridCellEditor_Show" wxGridCellEditor_Show :: Ptr (TGridCellEditor a) -> CBool -> Ptr (TGridCellAttr c) -> IO ()
+
+-- | usage: (@gridCellEditorStartingClick obj@).
+gridCellEditorStartingClick :: GridCellEditor  a ->  IO ()
+gridCellEditorStartingClick _obj 
+  = withObjectRef "gridCellEditorStartingClick" _obj $ \cobj__obj -> 
+    wxGridCellEditor_StartingClick cobj__obj  
+foreign import ccall "wxGridCellEditor_StartingClick" wxGridCellEditor_StartingClick :: Ptr (TGridCellEditor a) -> IO ()
+
+-- | usage: (@gridCellEditorStartingKey obj event@).
+gridCellEditorStartingKey :: GridCellEditor  a -> Event  b ->  IO ()
+gridCellEditorStartingKey _obj event 
+  = withObjectRef "gridCellEditorStartingKey" _obj $ \cobj__obj -> 
+    withObjectPtr event $ \cobj_event -> 
+    wxGridCellEditor_StartingKey cobj__obj  cobj_event  
+foreign import ccall "wxGridCellEditor_StartingKey" wxGridCellEditor_StartingKey :: Ptr (TGridCellEditor a) -> Ptr (TEvent b) -> IO ()
+
+-- | usage: (@gridCellFloatEditorCtor width precision@).
+gridCellFloatEditorCtor :: Int -> Int ->  IO (GridCellFloatEditor  ())
+gridCellFloatEditorCtor width precision 
+  = withObjectResult $
+    wxGridCellFloatEditor_Ctor (toCInt width)  (toCInt precision)  
+foreign import ccall "wxGridCellFloatEditor_Ctor" wxGridCellFloatEditor_Ctor :: CInt -> CInt -> IO (Ptr (TGridCellFloatEditor ()))
+
+-- | usage: (@gridCellNumberEditorCtor min max@).
+gridCellNumberEditorCtor :: Int -> Int ->  IO (GridCellNumberEditor  ())
+gridCellNumberEditorCtor min max 
+  = withObjectResult $
+    wxGridCellNumberEditor_Ctor (toCInt min)  (toCInt max)  
+foreign import ccall "wxGridCellNumberEditor_Ctor" wxGridCellNumberEditor_Ctor :: CInt -> CInt -> IO (Ptr (TGridCellNumberEditor ()))
+
+-- | usage: (@gridCellNumberRendererCtor@).
+gridCellNumberRendererCtor ::  IO (GridCellNumberRenderer  ())
+gridCellNumberRendererCtor 
+  = withObjectResult $
+    wxGridCellNumberRenderer_Ctor 
+foreign import ccall "wxGridCellNumberRenderer_Ctor" wxGridCellNumberRenderer_Ctor :: IO (Ptr (TGridCellNumberRenderer ()))
+
+-- | usage: (@gridCellTextEditorCtor@).
+gridCellTextEditorCtor ::  IO (GridCellTextEditor  ())
+gridCellTextEditorCtor 
+  = withObjectResult $
+    wxGridCellTextEditor_Ctor 
+foreign import ccall "wxGridCellTextEditor_Ctor" wxGridCellTextEditor_Ctor :: IO (Ptr (TGridCellTextEditor ()))
+
+-- | usage: (@gridCellTextEnterEditorCtor@).
+gridCellTextEnterEditorCtor ::  IO (GridCellTextEnterEditor  ())
+gridCellTextEnterEditorCtor 
+  = withObjectResult $
+    wxGridCellTextEnterEditor_Ctor 
+foreign import ccall "wxGridCellTextEnterEditor_Ctor" wxGridCellTextEnterEditor_Ctor :: IO (Ptr (TGridCellTextEnterEditor ()))
+
+-- | usage: (@gridCellToRect obj row col@).
+gridCellToRect :: Grid  a -> Int -> Int ->  IO (Rect)
+gridCellToRect _obj row col 
+  = withWxRectResult $
+    withObjectRef "gridCellToRect" _obj $ \cobj__obj -> 
+    wxGrid_CellToRect cobj__obj  (toCInt row)  (toCInt col)  
+foreign import ccall "wxGrid_CellToRect" wxGrid_CellToRect :: Ptr (TGrid a) -> CInt -> CInt -> IO (Ptr (TWxRect ()))
+
+-- | usage: (@gridClearGrid obj@).
+gridClearGrid :: Grid  a ->  IO ()
+gridClearGrid _obj 
+  = withObjectRef "gridClearGrid" _obj $ \cobj__obj -> 
+    wxGrid_ClearGrid cobj__obj  
+foreign import ccall "wxGrid_ClearGrid" wxGrid_ClearGrid :: Ptr (TGrid a) -> IO ()
+
+-- | usage: (@gridClearSelection obj@).
+gridClearSelection :: Grid  a ->  IO ()
+gridClearSelection _obj 
+  = withObjectRef "gridClearSelection" _obj $ \cobj__obj -> 
+    wxGrid_ClearSelection cobj__obj  
+foreign import ccall "wxGrid_ClearSelection" wxGrid_ClearSelection :: Ptr (TGrid a) -> IO ()
+
+-- | usage: (@gridCreate prt id lfttopwdthgt stl@).
+gridCreate :: Window  a -> Id -> Rect -> Style ->  IO (Grid  ())
+gridCreate _prt _id _lfttopwdthgt _stl 
+  = withObjectResult $
+    withObjectPtr _prt $ \cobj__prt -> 
+    wxGrid_Create cobj__prt  (toCInt _id)  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  (toCInt _stl)  
+foreign import ccall "wxGrid_Create" wxGrid_Create :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TGrid ()))
+
+-- | usage: (@gridCreateGrid obj rows cols selmode@).
+gridCreateGrid :: Grid  a -> Int -> Int -> Int ->  IO ()
+gridCreateGrid _obj rows cols selmode 
+  = withObjectRef "gridCreateGrid" _obj $ \cobj__obj -> 
+    wxGrid_CreateGrid cobj__obj  (toCInt rows)  (toCInt cols)  (toCInt selmode)  
+foreign import ccall "wxGrid_CreateGrid" wxGrid_CreateGrid :: Ptr (TGrid a) -> CInt -> CInt -> CInt -> IO ()
+
+-- | usage: (@gridDeleteCols obj pos numCols updateLabels@).
+gridDeleteCols :: Grid  a -> Int -> Int -> Bool ->  IO Bool
+gridDeleteCols _obj pos numCols updateLabels 
+  = withBoolResult $
+    withObjectRef "gridDeleteCols" _obj $ \cobj__obj -> 
+    wxGrid_DeleteCols cobj__obj  (toCInt pos)  (toCInt numCols)  (toCBool updateLabels)  
+foreign import ccall "wxGrid_DeleteCols" wxGrid_DeleteCols :: Ptr (TGrid a) -> CInt -> CInt -> CBool -> IO CBool
+
+-- | usage: (@gridDeleteRows obj pos numRows updateLabels@).
+gridDeleteRows :: Grid  a -> Int -> Int -> Bool ->  IO Bool
+gridDeleteRows _obj pos numRows updateLabels 
+  = withBoolResult $
+    withObjectRef "gridDeleteRows" _obj $ \cobj__obj -> 
+    wxGrid_DeleteRows cobj__obj  (toCInt pos)  (toCInt numRows)  (toCBool updateLabels)  
+foreign import ccall "wxGrid_DeleteRows" wxGrid_DeleteRows :: Ptr (TGrid a) -> CInt -> CInt -> CBool -> IO CBool
+
+-- | usage: (@gridDisableCellEditControl obj@).
+gridDisableCellEditControl :: Grid  a ->  IO ()
+gridDisableCellEditControl _obj 
+  = withObjectRef "gridDisableCellEditControl" _obj $ \cobj__obj -> 
+    wxGrid_DisableCellEditControl cobj__obj  
+foreign import ccall "wxGrid_DisableCellEditControl" wxGrid_DisableCellEditControl :: Ptr (TGrid a) -> IO ()
+
+-- | usage: (@gridDisableDragColSize obj@).
+gridDisableDragColSize :: Grid  a ->  IO ()
+gridDisableDragColSize _obj 
+  = withObjectRef "gridDisableDragColSize" _obj $ \cobj__obj -> 
+    wxGrid_DisableDragColSize cobj__obj  
+foreign import ccall "wxGrid_DisableDragColSize" wxGrid_DisableDragColSize :: Ptr (TGrid a) -> IO ()
+
+-- | usage: (@gridDisableDragGridSize obj@).
+gridDisableDragGridSize :: Grid  a ->  IO ()
+gridDisableDragGridSize _obj 
+  = withObjectRef "gridDisableDragGridSize" _obj $ \cobj__obj -> 
+    wxGrid_DisableDragGridSize cobj__obj  
+foreign import ccall "wxGrid_DisableDragGridSize" wxGrid_DisableDragGridSize :: Ptr (TGrid a) -> IO ()
+
+-- | usage: (@gridDisableDragRowSize obj@).
+gridDisableDragRowSize :: Grid  a ->  IO ()
+gridDisableDragRowSize _obj 
+  = withObjectRef "gridDisableDragRowSize" _obj $ \cobj__obj -> 
+    wxGrid_DisableDragRowSize cobj__obj  
+foreign import ccall "wxGrid_DisableDragRowSize" wxGrid_DisableDragRowSize :: Ptr (TGrid a) -> IO ()
+
+-- | usage: (@gridDrawAllGridLines obj dc reg@).
+gridDrawAllGridLines :: Grid  a -> DC  b -> Region  c ->  IO ()
+gridDrawAllGridLines _obj dc reg 
+  = withObjectRef "gridDrawAllGridLines" _obj $ \cobj__obj -> 
+    withObjectPtr dc $ \cobj_dc -> 
+    withObjectPtr reg $ \cobj_reg -> 
+    wxGrid_DrawAllGridLines cobj__obj  cobj_dc  cobj_reg  
+foreign import ccall "wxGrid_DrawAllGridLines" wxGrid_DrawAllGridLines :: Ptr (TGrid a) -> Ptr (TDC b) -> Ptr (TRegion c) -> IO ()
+
+-- | usage: (@gridDrawCell obj dc row col@).
+gridDrawCell :: Grid  a -> DC  b -> Int -> Int ->  IO ()
+gridDrawCell _obj dc _row _col 
+  = withObjectRef "gridDrawCell" _obj $ \cobj__obj -> 
+    withObjectPtr dc $ \cobj_dc -> 
+    wxGrid_DrawCell cobj__obj  cobj_dc  (toCInt _row)  (toCInt _col)  
+foreign import ccall "wxGrid_DrawCell" wxGrid_DrawCell :: Ptr (TGrid a) -> Ptr (TDC b) -> CInt -> CInt -> IO ()
+
+-- | usage: (@gridDrawCellBorder obj dc row col@).
+gridDrawCellBorder :: Grid  a -> DC  b -> Int -> Int ->  IO ()
+gridDrawCellBorder _obj dc _row _col 
+  = withObjectRef "gridDrawCellBorder" _obj $ \cobj__obj -> 
+    withObjectPtr dc $ \cobj_dc -> 
+    wxGrid_DrawCellBorder cobj__obj  cobj_dc  (toCInt _row)  (toCInt _col)  
+foreign import ccall "wxGrid_DrawCellBorder" wxGrid_DrawCellBorder :: Ptr (TGrid a) -> Ptr (TDC b) -> CInt -> CInt -> IO ()
+
+-- | usage: (@gridDrawCellHighlight obj dc attr@).
+gridDrawCellHighlight :: Grid  a -> DC  b -> GridCellAttr  c ->  IO ()
+gridDrawCellHighlight _obj dc attr 
+  = withObjectRef "gridDrawCellHighlight" _obj $ \cobj__obj -> 
+    withObjectPtr dc $ \cobj_dc -> 
+    withObjectPtr attr $ \cobj_attr -> 
+    wxGrid_DrawCellHighlight cobj__obj  cobj_dc  cobj_attr  
+foreign import ccall "wxGrid_DrawCellHighlight" wxGrid_DrawCellHighlight :: Ptr (TGrid a) -> Ptr (TDC b) -> Ptr (TGridCellAttr c) -> IO ()
+
+-- | usage: (@gridDrawColLabel obj dc col@).
+gridDrawColLabel :: Grid  a -> DC  b -> Int ->  IO ()
+gridDrawColLabel _obj dc col 
+  = withObjectRef "gridDrawColLabel" _obj $ \cobj__obj -> 
+    withObjectPtr dc $ \cobj_dc -> 
+    wxGrid_DrawColLabel cobj__obj  cobj_dc  (toCInt col)  
+foreign import ccall "wxGrid_DrawColLabel" wxGrid_DrawColLabel :: Ptr (TGrid a) -> Ptr (TDC b) -> CInt -> IO ()
+
+-- | usage: (@gridDrawColLabels obj dc@).
+gridDrawColLabels :: Grid  a -> DC  b ->  IO ()
+gridDrawColLabels _obj dc 
+  = withObjectRef "gridDrawColLabels" _obj $ \cobj__obj -> 
+    withObjectPtr dc $ \cobj_dc -> 
+    wxGrid_DrawColLabels cobj__obj  cobj_dc  
+foreign import ccall "wxGrid_DrawColLabels" wxGrid_DrawColLabels :: Ptr (TGrid a) -> Ptr (TDC b) -> IO ()
+
+-- | usage: (@gridDrawGridSpace obj dc@).
+gridDrawGridSpace :: Grid  a -> DC  b ->  IO ()
+gridDrawGridSpace _obj dc 
+  = withObjectRef "gridDrawGridSpace" _obj $ \cobj__obj -> 
+    withObjectPtr dc $ \cobj_dc -> 
+    wxGrid_DrawGridSpace cobj__obj  cobj_dc  
+foreign import ccall "wxGrid_DrawGridSpace" wxGrid_DrawGridSpace :: Ptr (TGrid a) -> Ptr (TDC b) -> IO ()
+
+-- | usage: (@gridDrawRowLabel obj dc row@).
+gridDrawRowLabel :: Grid  a -> DC  b -> Int ->  IO ()
+gridDrawRowLabel _obj dc row 
+  = withObjectRef "gridDrawRowLabel" _obj $ \cobj__obj -> 
+    withObjectPtr dc $ \cobj_dc -> 
+    wxGrid_DrawRowLabel cobj__obj  cobj_dc  (toCInt row)  
+foreign import ccall "wxGrid_DrawRowLabel" wxGrid_DrawRowLabel :: Ptr (TGrid a) -> Ptr (TDC b) -> CInt -> IO ()
+
+-- | usage: (@gridDrawRowLabels obj dc@).
+gridDrawRowLabels :: Grid  a -> DC  b ->  IO ()
+gridDrawRowLabels _obj dc 
+  = withObjectRef "gridDrawRowLabels" _obj $ \cobj__obj -> 
+    withObjectPtr dc $ \cobj_dc -> 
+    wxGrid_DrawRowLabels cobj__obj  cobj_dc  
+foreign import ccall "wxGrid_DrawRowLabels" wxGrid_DrawRowLabels :: Ptr (TGrid a) -> Ptr (TDC b) -> IO ()
+
+-- | usage: (@gridDrawTextRectangle obj dc txt xywh horizontalAlignment verticalAlignment@).
+gridDrawTextRectangle :: Grid  a -> DC  b -> String -> Rect -> Int -> Int ->  IO ()
+gridDrawTextRectangle _obj dc txt xywh horizontalAlignment verticalAlignment 
+  = withObjectRef "gridDrawTextRectangle" _obj $ \cobj__obj -> 
+    withObjectPtr dc $ \cobj_dc -> 
+    withStringPtr txt $ \cobj_txt -> 
+    wxGrid_DrawTextRectangle cobj__obj  cobj_dc  cobj_txt  (toCIntRectX xywh) (toCIntRectY xywh)(toCIntRectW xywh) (toCIntRectH xywh)  (toCInt horizontalAlignment)  (toCInt verticalAlignment)  
+foreign import ccall "wxGrid_DrawTextRectangle" wxGrid_DrawTextRectangle :: Ptr (TGrid a) -> Ptr (TDC b) -> Ptr (TWxString c) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO ()
+
+-- | usage: (@gridEditorCreatedEventGetCol obj@).
+gridEditorCreatedEventGetCol :: GridEditorCreatedEvent  a ->  IO Int
+gridEditorCreatedEventGetCol _obj 
+  = withIntResult $
+    withObjectRef "gridEditorCreatedEventGetCol" _obj $ \cobj__obj -> 
+    wxGridEditorCreatedEvent_GetCol cobj__obj  
+foreign import ccall "wxGridEditorCreatedEvent_GetCol" wxGridEditorCreatedEvent_GetCol :: Ptr (TGridEditorCreatedEvent a) -> IO CInt
+
+-- | usage: (@gridEditorCreatedEventGetControl obj@).
+gridEditorCreatedEventGetControl :: GridEditorCreatedEvent  a ->  IO (Control  ())
+gridEditorCreatedEventGetControl _obj 
+  = withObjectResult $
+    withObjectRef "gridEditorCreatedEventGetControl" _obj $ \cobj__obj -> 
+    wxGridEditorCreatedEvent_GetControl cobj__obj  
+foreign import ccall "wxGridEditorCreatedEvent_GetControl" wxGridEditorCreatedEvent_GetControl :: Ptr (TGridEditorCreatedEvent a) -> IO (Ptr (TControl ()))
+
+-- | usage: (@gridEditorCreatedEventGetRow obj@).
+gridEditorCreatedEventGetRow :: GridEditorCreatedEvent  a ->  IO Int
+gridEditorCreatedEventGetRow _obj 
+  = withIntResult $
+    withObjectRef "gridEditorCreatedEventGetRow" _obj $ \cobj__obj -> 
+    wxGridEditorCreatedEvent_GetRow cobj__obj  
+foreign import ccall "wxGridEditorCreatedEvent_GetRow" wxGridEditorCreatedEvent_GetRow :: Ptr (TGridEditorCreatedEvent a) -> IO CInt
+
+-- | usage: (@gridEditorCreatedEventSetCol obj col@).
+gridEditorCreatedEventSetCol :: GridEditorCreatedEvent  a -> Int ->  IO ()
+gridEditorCreatedEventSetCol _obj col 
+  = withObjectRef "gridEditorCreatedEventSetCol" _obj $ \cobj__obj -> 
+    wxGridEditorCreatedEvent_SetCol cobj__obj  (toCInt col)  
+foreign import ccall "wxGridEditorCreatedEvent_SetCol" wxGridEditorCreatedEvent_SetCol :: Ptr (TGridEditorCreatedEvent a) -> CInt -> IO ()
+
+-- | usage: (@gridEditorCreatedEventSetControl obj ctrl@).
+gridEditorCreatedEventSetControl :: GridEditorCreatedEvent  a -> Control  b ->  IO ()
+gridEditorCreatedEventSetControl _obj ctrl 
+  = withObjectRef "gridEditorCreatedEventSetControl" _obj $ \cobj__obj -> 
+    withObjectPtr ctrl $ \cobj_ctrl -> 
+    wxGridEditorCreatedEvent_SetControl cobj__obj  cobj_ctrl  
+foreign import ccall "wxGridEditorCreatedEvent_SetControl" wxGridEditorCreatedEvent_SetControl :: Ptr (TGridEditorCreatedEvent a) -> Ptr (TControl b) -> IO ()
+
+-- | usage: (@gridEditorCreatedEventSetRow obj row@).
+gridEditorCreatedEventSetRow :: GridEditorCreatedEvent  a -> Int ->  IO ()
+gridEditorCreatedEventSetRow _obj row 
+  = withObjectRef "gridEditorCreatedEventSetRow" _obj $ \cobj__obj -> 
+    wxGridEditorCreatedEvent_SetRow cobj__obj  (toCInt row)  
+foreign import ccall "wxGridEditorCreatedEvent_SetRow" wxGridEditorCreatedEvent_SetRow :: Ptr (TGridEditorCreatedEvent a) -> CInt -> IO ()
+
+-- | usage: (@gridEnableCellEditControl obj enable@).
+gridEnableCellEditControl :: Grid  a -> Bool ->  IO ()
+gridEnableCellEditControl _obj enable 
+  = withObjectRef "gridEnableCellEditControl" _obj $ \cobj__obj -> 
+    wxGrid_EnableCellEditControl cobj__obj  (toCBool enable)  
+foreign import ccall "wxGrid_EnableCellEditControl" wxGrid_EnableCellEditControl :: Ptr (TGrid a) -> CBool -> IO ()
+
+-- | usage: (@gridEnableDragColSize obj enable@).
+gridEnableDragColSize :: Grid  a -> Bool ->  IO ()
+gridEnableDragColSize _obj enable 
+  = withObjectRef "gridEnableDragColSize" _obj $ \cobj__obj -> 
+    wxGrid_EnableDragColSize cobj__obj  (toCBool enable)  
+foreign import ccall "wxGrid_EnableDragColSize" wxGrid_EnableDragColSize :: Ptr (TGrid a) -> CBool -> IO ()
+
+-- | usage: (@gridEnableDragGridSize obj enable@).
+gridEnableDragGridSize :: Grid  a -> Bool ->  IO ()
+gridEnableDragGridSize _obj enable 
+  = withObjectRef "gridEnableDragGridSize" _obj $ \cobj__obj -> 
+    wxGrid_EnableDragGridSize cobj__obj  (toCBool enable)  
+foreign import ccall "wxGrid_EnableDragGridSize" wxGrid_EnableDragGridSize :: Ptr (TGrid a) -> CBool -> IO ()
+
+-- | usage: (@gridEnableDragRowSize obj enable@).
+gridEnableDragRowSize :: Grid  a -> Bool ->  IO ()
+gridEnableDragRowSize _obj enable 
+  = withObjectRef "gridEnableDragRowSize" _obj $ \cobj__obj -> 
+    wxGrid_EnableDragRowSize cobj__obj  (toCBool enable)  
+foreign import ccall "wxGrid_EnableDragRowSize" wxGrid_EnableDragRowSize :: Ptr (TGrid a) -> CBool -> IO ()
+
+-- | usage: (@gridEnableEditing obj edit@).
+gridEnableEditing :: Grid  a -> Bool ->  IO ()
+gridEnableEditing _obj edit 
+  = withObjectRef "gridEnableEditing" _obj $ \cobj__obj -> 
+    wxGrid_EnableEditing cobj__obj  (toCBool edit)  
+foreign import ccall "wxGrid_EnableEditing" wxGrid_EnableEditing :: Ptr (TGrid a) -> CBool -> IO ()
+
+-- | usage: (@gridEnableGridLines obj enable@).
+gridEnableGridLines :: Grid  a -> Bool ->  IO ()
+gridEnableGridLines _obj enable 
+  = withObjectRef "gridEnableGridLines" _obj $ \cobj__obj -> 
+    wxGrid_EnableGridLines cobj__obj  (toCBool enable)  
+foreign import ccall "wxGrid_EnableGridLines" wxGrid_EnableGridLines :: Ptr (TGrid a) -> CBool -> IO ()
+
+-- | usage: (@gridEndBatch obj@).
+gridEndBatch :: Grid  a ->  IO ()
+gridEndBatch _obj 
+  = withObjectRef "gridEndBatch" _obj $ \cobj__obj -> 
+    wxGrid_EndBatch cobj__obj  
+foreign import ccall "wxGrid_EndBatch" wxGrid_EndBatch :: Ptr (TGrid a) -> IO ()
+
+-- | usage: (@gridEventAltDown obj@).
+gridEventAltDown :: GridEvent  a ->  IO Bool
+gridEventAltDown _obj 
+  = withBoolResult $
+    withObjectRef "gridEventAltDown" _obj $ \cobj__obj -> 
+    wxGridEvent_AltDown cobj__obj  
+foreign import ccall "wxGridEvent_AltDown" wxGridEvent_AltDown :: Ptr (TGridEvent a) -> IO CBool
+
+-- | usage: (@gridEventControlDown obj@).
+gridEventControlDown :: GridEvent  a ->  IO Bool
+gridEventControlDown _obj 
+  = withBoolResult $
+    withObjectRef "gridEventControlDown" _obj $ \cobj__obj -> 
+    wxGridEvent_ControlDown cobj__obj  
+foreign import ccall "wxGridEvent_ControlDown" wxGridEvent_ControlDown :: Ptr (TGridEvent a) -> IO CBool
+
+-- | usage: (@gridEventGetCol obj@).
+gridEventGetCol :: GridEvent  a ->  IO Int
+gridEventGetCol _obj 
+  = withIntResult $
+    withObjectRef "gridEventGetCol" _obj $ \cobj__obj -> 
+    wxGridEvent_GetCol cobj__obj  
+foreign import ccall "wxGridEvent_GetCol" wxGridEvent_GetCol :: Ptr (TGridEvent a) -> IO CInt
+
+-- | usage: (@gridEventGetPosition obj@).
+gridEventGetPosition :: GridEvent  a ->  IO (Point)
+gridEventGetPosition _obj 
+  = withWxPointResult $
+    withObjectRef "gridEventGetPosition" _obj $ \cobj__obj -> 
+    wxGridEvent_GetPosition cobj__obj  
+foreign import ccall "wxGridEvent_GetPosition" wxGridEvent_GetPosition :: Ptr (TGridEvent a) -> IO (Ptr (TWxPoint ()))
+
+-- | usage: (@gridEventGetRow obj@).
+gridEventGetRow :: GridEvent  a ->  IO Int
+gridEventGetRow _obj 
+  = withIntResult $
+    withObjectRef "gridEventGetRow" _obj $ \cobj__obj -> 
+    wxGridEvent_GetRow cobj__obj  
+foreign import ccall "wxGridEvent_GetRow" wxGridEvent_GetRow :: Ptr (TGridEvent a) -> IO CInt
+
+-- | usage: (@gridEventMetaDown obj@).
+gridEventMetaDown :: GridEvent  a ->  IO Bool
+gridEventMetaDown _obj 
+  = withBoolResult $
+    withObjectRef "gridEventMetaDown" _obj $ \cobj__obj -> 
+    wxGridEvent_MetaDown cobj__obj  
+foreign import ccall "wxGridEvent_MetaDown" wxGridEvent_MetaDown :: Ptr (TGridEvent a) -> IO CBool
+
+-- | usage: (@gridEventSelecting obj@).
+gridEventSelecting :: GridEvent  a ->  IO Bool
+gridEventSelecting _obj 
+  = withBoolResult $
+    withObjectRef "gridEventSelecting" _obj $ \cobj__obj -> 
+    wxGridEvent_Selecting cobj__obj  
+foreign import ccall "wxGridEvent_Selecting" wxGridEvent_Selecting :: Ptr (TGridEvent a) -> IO CBool
+
+-- | usage: (@gridEventShiftDown obj@).
+gridEventShiftDown :: GridEvent  a ->  IO Bool
+gridEventShiftDown _obj 
+  = withBoolResult $
+    withObjectRef "gridEventShiftDown" _obj $ \cobj__obj -> 
+    wxGridEvent_ShiftDown cobj__obj  
+foreign import ccall "wxGridEvent_ShiftDown" wxGridEvent_ShiftDown :: Ptr (TGridEvent a) -> IO CBool
+
+-- | usage: (@gridGetBatchCount obj@).
+gridGetBatchCount :: Grid  a ->  IO Int
+gridGetBatchCount _obj 
+  = withIntResult $
+    withObjectRef "gridGetBatchCount" _obj $ \cobj__obj -> 
+    wxGrid_GetBatchCount cobj__obj  
+foreign import ccall "wxGrid_GetBatchCount" wxGrid_GetBatchCount :: Ptr (TGrid a) -> IO CInt
+
+-- | usage: (@gridGetCellAlignment obj row col@).
+gridGetCellAlignment :: Grid  a -> Int -> Int ->  IO Size
+gridGetCellAlignment _obj row col 
+  = withSizeResult $ \pw ph -> 
+    withObjectRef "gridGetCellAlignment" _obj $ \cobj__obj -> 
+    wxGrid_GetCellAlignment cobj__obj  (toCInt row)  (toCInt col)   pw ph
+foreign import ccall "wxGrid_GetCellAlignment" wxGrid_GetCellAlignment :: Ptr (TGrid a) -> CInt -> CInt -> Ptr CInt -> Ptr CInt -> IO ()
+
+-- | usage: (@gridGetCellBackgroundColour obj row col colour@).
+gridGetCellBackgroundColour :: Grid  a -> Int -> Int -> Color ->  IO ()
+gridGetCellBackgroundColour _obj row col colour 
+  = withObjectRef "gridGetCellBackgroundColour" _obj $ \cobj__obj -> 
+    withColourPtr colour $ \cobj_colour -> 
+    wxGrid_GetCellBackgroundColour cobj__obj  (toCInt row)  (toCInt col)  cobj_colour  
+foreign import ccall "wxGrid_GetCellBackgroundColour" wxGrid_GetCellBackgroundColour :: Ptr (TGrid a) -> CInt -> CInt -> Ptr (TColour d) -> IO ()
+
+-- | usage: (@gridGetCellEditor obj row col@).
+gridGetCellEditor :: Grid  a -> Int -> Int ->  IO (GridCellEditor  ())
+gridGetCellEditor _obj row col 
+  = withObjectResult $
+    withObjectRef "gridGetCellEditor" _obj $ \cobj__obj -> 
+    wxGrid_GetCellEditor cobj__obj  (toCInt row)  (toCInt col)  
+foreign import ccall "wxGrid_GetCellEditor" wxGrid_GetCellEditor :: Ptr (TGrid a) -> CInt -> CInt -> IO (Ptr (TGridCellEditor ()))
+
+-- | usage: (@gridGetCellFont obj row col font@).
+gridGetCellFont :: Grid  a -> Int -> Int -> Font  d ->  IO ()
+gridGetCellFont _obj row col font 
+  = withObjectRef "gridGetCellFont" _obj $ \cobj__obj -> 
+    withObjectPtr font $ \cobj_font -> 
+    wxGrid_GetCellFont cobj__obj  (toCInt row)  (toCInt col)  cobj_font  
+foreign import ccall "wxGrid_GetCellFont" wxGrid_GetCellFont :: Ptr (TGrid a) -> CInt -> CInt -> Ptr (TFont d) -> IO ()
+
+-- | usage: (@gridGetCellHighlightColour obj@).
+gridGetCellHighlightColour :: Grid  a ->  IO (Color)
+gridGetCellHighlightColour _obj 
+  = withRefColour $ \pref -> 
+    withObjectRef "gridGetCellHighlightColour" _obj $ \cobj__obj -> 
+    wxGrid_GetCellHighlightColour cobj__obj   pref
+foreign import ccall "wxGrid_GetCellHighlightColour" wxGrid_GetCellHighlightColour :: Ptr (TGrid a) -> Ptr (TColour ()) -> IO ()
+
+-- | usage: (@gridGetCellRenderer obj row col@).
+gridGetCellRenderer :: Grid  a -> Int -> Int ->  IO (GridCellRenderer  ())
+gridGetCellRenderer _obj row col 
+  = withObjectResult $
+    withObjectRef "gridGetCellRenderer" _obj $ \cobj__obj -> 
+    wxGrid_GetCellRenderer cobj__obj  (toCInt row)  (toCInt col)  
+foreign import ccall "wxGrid_GetCellRenderer" wxGrid_GetCellRenderer :: Ptr (TGrid a) -> CInt -> CInt -> IO (Ptr (TGridCellRenderer ()))
+
+-- | usage: (@gridGetCellSize obj row col@).
+gridGetCellSize :: Grid  a -> Int -> Int ->  IO Size
+gridGetCellSize _obj row col 
+  = withSizeResult $ \pw ph -> 
+    withObjectRef "gridGetCellSize" _obj $ \cobj__obj -> 
+    wxGrid_GetCellSize cobj__obj  (toCInt row)  (toCInt col)   pw ph
+foreign import ccall "wxGrid_GetCellSize" wxGrid_GetCellSize :: Ptr (TGrid a) -> CInt -> CInt -> Ptr CInt -> Ptr CInt -> IO ()
+
+-- | usage: (@gridGetCellTextColour obj row col colour@).
+gridGetCellTextColour :: Grid  a -> Int -> Int -> Color ->  IO ()
+gridGetCellTextColour _obj row col colour 
+  = withObjectRef "gridGetCellTextColour" _obj $ \cobj__obj -> 
+    withColourPtr colour $ \cobj_colour -> 
+    wxGrid_GetCellTextColour cobj__obj  (toCInt row)  (toCInt col)  cobj_colour  
+foreign import ccall "wxGrid_GetCellTextColour" wxGrid_GetCellTextColour :: Ptr (TGrid a) -> CInt -> CInt -> Ptr (TColour d) -> IO ()
+
+-- | usage: (@gridGetCellValue obj row col@).
+gridGetCellValue :: Grid  a -> Int -> Int ->  IO (String)
+gridGetCellValue _obj row col 
+  = withManagedStringResult $
+    withObjectRef "gridGetCellValue" _obj $ \cobj__obj -> 
+    wxGrid_GetCellValue cobj__obj  (toCInt row)  (toCInt col)  
+foreign import ccall "wxGrid_GetCellValue" wxGrid_GetCellValue :: Ptr (TGrid a) -> CInt -> CInt -> IO (Ptr (TWxString ()))
+
+-- | usage: (@gridGetColLabelAlignment obj@).
+gridGetColLabelAlignment :: Grid  a ->  IO Size
+gridGetColLabelAlignment _obj 
+  = withSizeResult $ \pw ph -> 
+    withObjectRef "gridGetColLabelAlignment" _obj $ \cobj__obj -> 
+    wxGrid_GetColLabelAlignment cobj__obj   pw ph
+foreign import ccall "wxGrid_GetColLabelAlignment" wxGrid_GetColLabelAlignment :: Ptr (TGrid a) -> Ptr CInt -> Ptr CInt -> IO ()
+
+-- | usage: (@gridGetColLabelSize obj@).
+gridGetColLabelSize :: Grid  a ->  IO Int
+gridGetColLabelSize _obj 
+  = withIntResult $
+    withObjectRef "gridGetColLabelSize" _obj $ \cobj__obj -> 
+    wxGrid_GetColLabelSize cobj__obj  
+foreign import ccall "wxGrid_GetColLabelSize" wxGrid_GetColLabelSize :: Ptr (TGrid a) -> IO CInt
+
+-- | usage: (@gridGetColLabelValue obj col@).
+gridGetColLabelValue :: Grid  a -> Int ->  IO (String)
+gridGetColLabelValue _obj col 
+  = withManagedStringResult $
+    withObjectRef "gridGetColLabelValue" _obj $ \cobj__obj -> 
+    wxGrid_GetColLabelValue cobj__obj  (toCInt col)  
+foreign import ccall "wxGrid_GetColLabelValue" wxGrid_GetColLabelValue :: Ptr (TGrid a) -> CInt -> IO (Ptr (TWxString ()))
+
+-- | usage: (@gridGetColSize obj col@).
+gridGetColSize :: Grid  a -> Int ->  IO Int
+gridGetColSize _obj col 
+  = withIntResult $
+    withObjectRef "gridGetColSize" _obj $ \cobj__obj -> 
+    wxGrid_GetColSize cobj__obj  (toCInt col)  
+foreign import ccall "wxGrid_GetColSize" wxGrid_GetColSize :: Ptr (TGrid a) -> CInt -> IO CInt
+
+-- | usage: (@gridGetDefaultCellAlignment obj@).
+gridGetDefaultCellAlignment :: Grid  a ->  IO Size
+gridGetDefaultCellAlignment _obj 
+  = withSizeResult $ \pw ph -> 
+    withObjectRef "gridGetDefaultCellAlignment" _obj $ \cobj__obj -> 
+    wxGrid_GetDefaultCellAlignment cobj__obj   pw ph
+foreign import ccall "wxGrid_GetDefaultCellAlignment" wxGrid_GetDefaultCellAlignment :: Ptr (TGrid a) -> Ptr CInt -> Ptr CInt -> IO ()
+
+-- | usage: (@gridGetDefaultCellBackgroundColour obj@).
+gridGetDefaultCellBackgroundColour :: Grid  a ->  IO (Color)
+gridGetDefaultCellBackgroundColour _obj 
+  = withRefColour $ \pref -> 
+    withObjectRef "gridGetDefaultCellBackgroundColour" _obj $ \cobj__obj -> 
+    wxGrid_GetDefaultCellBackgroundColour cobj__obj   pref
+foreign import ccall "wxGrid_GetDefaultCellBackgroundColour" wxGrid_GetDefaultCellBackgroundColour :: Ptr (TGrid a) -> Ptr (TColour ()) -> IO ()
+
+-- | usage: (@gridGetDefaultCellFont obj@).
+gridGetDefaultCellFont :: Grid  a ->  IO (Font  ())
+gridGetDefaultCellFont _obj 
+  = withRefFont $ \pref -> 
+    withObjectRef "gridGetDefaultCellFont" _obj $ \cobj__obj -> 
+    wxGrid_GetDefaultCellFont cobj__obj   pref
+foreign import ccall "wxGrid_GetDefaultCellFont" wxGrid_GetDefaultCellFont :: Ptr (TGrid a) -> Ptr (TFont ()) -> IO ()
+
+-- | usage: (@gridGetDefaultCellTextColour obj@).
+gridGetDefaultCellTextColour :: Grid  a ->  IO (Color)
+gridGetDefaultCellTextColour _obj 
+  = withRefColour $ \pref -> 
+    withObjectRef "gridGetDefaultCellTextColour" _obj $ \cobj__obj -> 
+    wxGrid_GetDefaultCellTextColour cobj__obj   pref
+foreign import ccall "wxGrid_GetDefaultCellTextColour" wxGrid_GetDefaultCellTextColour :: Ptr (TGrid a) -> Ptr (TColour ()) -> IO ()
+
+-- | usage: (@gridGetDefaultColLabelSize obj@).
+gridGetDefaultColLabelSize :: Grid  a ->  IO Int
+gridGetDefaultColLabelSize _obj 
+  = withIntResult $
+    withObjectRef "gridGetDefaultColLabelSize" _obj $ \cobj__obj -> 
+    wxGrid_GetDefaultColLabelSize cobj__obj  
+foreign import ccall "wxGrid_GetDefaultColLabelSize" wxGrid_GetDefaultColLabelSize :: Ptr (TGrid a) -> IO CInt
+
+-- | usage: (@gridGetDefaultColSize obj@).
+gridGetDefaultColSize :: Grid  a ->  IO Int
+gridGetDefaultColSize _obj 
+  = withIntResult $
+    withObjectRef "gridGetDefaultColSize" _obj $ \cobj__obj -> 
+    wxGrid_GetDefaultColSize cobj__obj  
+foreign import ccall "wxGrid_GetDefaultColSize" wxGrid_GetDefaultColSize :: Ptr (TGrid a) -> IO CInt
+
+-- | usage: (@gridGetDefaultEditor obj@).
+gridGetDefaultEditor :: Grid  a ->  IO (GridCellEditor  ())
+gridGetDefaultEditor _obj 
+  = withObjectResult $
+    withObjectRef "gridGetDefaultEditor" _obj $ \cobj__obj -> 
+    wxGrid_GetDefaultEditor cobj__obj  
+foreign import ccall "wxGrid_GetDefaultEditor" wxGrid_GetDefaultEditor :: Ptr (TGrid a) -> IO (Ptr (TGridCellEditor ()))
+
+-- | usage: (@gridGetDefaultEditorForCell obj row col@).
+gridGetDefaultEditorForCell :: Grid  a -> Int -> Int ->  IO (GridCellEditor  ())
+gridGetDefaultEditorForCell _obj row col 
+  = withObjectResult $
+    withObjectRef "gridGetDefaultEditorForCell" _obj $ \cobj__obj -> 
+    wxGrid_GetDefaultEditorForCell cobj__obj  (toCInt row)  (toCInt col)  
+foreign import ccall "wxGrid_GetDefaultEditorForCell" wxGrid_GetDefaultEditorForCell :: Ptr (TGrid a) -> CInt -> CInt -> IO (Ptr (TGridCellEditor ()))
+
+-- | usage: (@gridGetDefaultEditorForType obj typeName@).
+gridGetDefaultEditorForType :: Grid  a -> String ->  IO (GridCellEditor  ())
+gridGetDefaultEditorForType _obj typeName 
+  = withObjectResult $
+    withObjectRef "gridGetDefaultEditorForType" _obj $ \cobj__obj -> 
+    withStringPtr typeName $ \cobj_typeName -> 
+    wxGrid_GetDefaultEditorForType cobj__obj  cobj_typeName  
+foreign import ccall "wxGrid_GetDefaultEditorForType" wxGrid_GetDefaultEditorForType :: Ptr (TGrid a) -> Ptr (TWxString b) -> IO (Ptr (TGridCellEditor ()))
+
+-- | usage: (@gridGetDefaultRenderer obj@).
+gridGetDefaultRenderer :: Grid  a ->  IO (GridCellRenderer  ())
+gridGetDefaultRenderer _obj 
+  = withObjectResult $
+    withObjectRef "gridGetDefaultRenderer" _obj $ \cobj__obj -> 
+    wxGrid_GetDefaultRenderer cobj__obj  
+foreign import ccall "wxGrid_GetDefaultRenderer" wxGrid_GetDefaultRenderer :: Ptr (TGrid a) -> IO (Ptr (TGridCellRenderer ()))
+
+-- | usage: (@gridGetDefaultRendererForCell obj row col@).
+gridGetDefaultRendererForCell :: Grid  a -> Int -> Int ->  IO (GridCellRenderer  ())
+gridGetDefaultRendererForCell _obj row col 
+  = withObjectResult $
+    withObjectRef "gridGetDefaultRendererForCell" _obj $ \cobj__obj -> 
+    wxGrid_GetDefaultRendererForCell cobj__obj  (toCInt row)  (toCInt col)  
+foreign import ccall "wxGrid_GetDefaultRendererForCell" wxGrid_GetDefaultRendererForCell :: Ptr (TGrid a) -> CInt -> CInt -> IO (Ptr (TGridCellRenderer ()))
+
+-- | usage: (@gridGetDefaultRendererForType obj typeName@).
+gridGetDefaultRendererForType :: Grid  a -> String ->  IO (GridCellRenderer  ())
+gridGetDefaultRendererForType _obj typeName 
+  = withObjectResult $
+    withObjectRef "gridGetDefaultRendererForType" _obj $ \cobj__obj -> 
+    withStringPtr typeName $ \cobj_typeName -> 
+    wxGrid_GetDefaultRendererForType cobj__obj  cobj_typeName  
+foreign import ccall "wxGrid_GetDefaultRendererForType" wxGrid_GetDefaultRendererForType :: Ptr (TGrid a) -> Ptr (TWxString b) -> IO (Ptr (TGridCellRenderer ()))
+
+-- | usage: (@gridGetDefaultRowLabelSize obj@).
+gridGetDefaultRowLabelSize :: Grid  a ->  IO Int
+gridGetDefaultRowLabelSize _obj 
+  = withIntResult $
+    withObjectRef "gridGetDefaultRowLabelSize" _obj $ \cobj__obj -> 
+    wxGrid_GetDefaultRowLabelSize cobj__obj  
+foreign import ccall "wxGrid_GetDefaultRowLabelSize" wxGrid_GetDefaultRowLabelSize :: Ptr (TGrid a) -> IO CInt
+
+-- | usage: (@gridGetDefaultRowSize obj@).
+gridGetDefaultRowSize :: Grid  a ->  IO Int
+gridGetDefaultRowSize _obj 
+  = withIntResult $
+    withObjectRef "gridGetDefaultRowSize" _obj $ \cobj__obj -> 
+    wxGrid_GetDefaultRowSize cobj__obj  
+foreign import ccall "wxGrid_GetDefaultRowSize" wxGrid_GetDefaultRowSize :: Ptr (TGrid a) -> IO CInt
+
+-- | usage: (@gridGetGridCursorCol obj@).
+gridGetGridCursorCol :: Grid  a ->  IO Int
+gridGetGridCursorCol _obj 
+  = withIntResult $
+    withObjectRef "gridGetGridCursorCol" _obj $ \cobj__obj -> 
+    wxGrid_GetGridCursorCol cobj__obj  
+foreign import ccall "wxGrid_GetGridCursorCol" wxGrid_GetGridCursorCol :: Ptr (TGrid a) -> IO CInt
+
+-- | usage: (@gridGetGridCursorRow obj@).
+gridGetGridCursorRow :: Grid  a ->  IO Int
+gridGetGridCursorRow _obj 
+  = withIntResult $
+    withObjectRef "gridGetGridCursorRow" _obj $ \cobj__obj -> 
+    wxGrid_GetGridCursorRow cobj__obj  
+foreign import ccall "wxGrid_GetGridCursorRow" wxGrid_GetGridCursorRow :: Ptr (TGrid a) -> IO CInt
+
+-- | usage: (@gridGetGridLineColour obj@).
+gridGetGridLineColour :: Grid  a ->  IO (Color)
+gridGetGridLineColour _obj 
+  = withRefColour $ \pref -> 
+    withObjectRef "gridGetGridLineColour" _obj $ \cobj__obj -> 
+    wxGrid_GetGridLineColour cobj__obj   pref
+foreign import ccall "wxGrid_GetGridLineColour" wxGrid_GetGridLineColour :: Ptr (TGrid a) -> Ptr (TColour ()) -> IO ()
+
+-- | usage: (@gridGetLabelBackgroundColour obj@).
+gridGetLabelBackgroundColour :: Grid  a ->  IO (Color)
+gridGetLabelBackgroundColour _obj 
+  = withRefColour $ \pref -> 
+    withObjectRef "gridGetLabelBackgroundColour" _obj $ \cobj__obj -> 
+    wxGrid_GetLabelBackgroundColour cobj__obj   pref
+foreign import ccall "wxGrid_GetLabelBackgroundColour" wxGrid_GetLabelBackgroundColour :: Ptr (TGrid a) -> Ptr (TColour ()) -> IO ()
+
+-- | usage: (@gridGetLabelFont obj@).
+gridGetLabelFont :: Grid  a ->  IO (Font  ())
+gridGetLabelFont _obj 
+  = withRefFont $ \pref -> 
+    withObjectRef "gridGetLabelFont" _obj $ \cobj__obj -> 
+    wxGrid_GetLabelFont cobj__obj   pref
+foreign import ccall "wxGrid_GetLabelFont" wxGrid_GetLabelFont :: Ptr (TGrid a) -> Ptr (TFont ()) -> IO ()
+
+-- | usage: (@gridGetLabelTextColour obj@).
+gridGetLabelTextColour :: Grid  a ->  IO (Color)
+gridGetLabelTextColour _obj 
+  = withRefColour $ \pref -> 
+    withObjectRef "gridGetLabelTextColour" _obj $ \cobj__obj -> 
+    wxGrid_GetLabelTextColour cobj__obj   pref
+foreign import ccall "wxGrid_GetLabelTextColour" wxGrid_GetLabelTextColour :: Ptr (TGrid a) -> Ptr (TColour ()) -> IO ()
+
+-- | usage: (@gridGetNumberCols obj@).
+gridGetNumberCols :: Grid  a ->  IO Int
+gridGetNumberCols _obj 
+  = withIntResult $
+    withObjectRef "gridGetNumberCols" _obj $ \cobj__obj -> 
+    wxGrid_GetNumberCols cobj__obj  
+foreign import ccall "wxGrid_GetNumberCols" wxGrid_GetNumberCols :: Ptr (TGrid a) -> IO CInt
+
+-- | usage: (@gridGetNumberRows obj@).
+gridGetNumberRows :: Grid  a ->  IO Int
+gridGetNumberRows _obj 
+  = withIntResult $
+    withObjectRef "gridGetNumberRows" _obj $ \cobj__obj -> 
+    wxGrid_GetNumberRows cobj__obj  
+foreign import ccall "wxGrid_GetNumberRows" wxGrid_GetNumberRows :: Ptr (TGrid a) -> IO CInt
+
+-- | usage: (@gridGetRowLabelAlignment obj@).
+gridGetRowLabelAlignment :: Grid  a ->  IO Size
+gridGetRowLabelAlignment _obj 
+  = withSizeResult $ \pw ph -> 
+    withObjectRef "gridGetRowLabelAlignment" _obj $ \cobj__obj -> 
+    wxGrid_GetRowLabelAlignment cobj__obj   pw ph
+foreign import ccall "wxGrid_GetRowLabelAlignment" wxGrid_GetRowLabelAlignment :: Ptr (TGrid a) -> Ptr CInt -> Ptr CInt -> IO ()
+
+-- | usage: (@gridGetRowLabelSize obj@).
+gridGetRowLabelSize :: Grid  a ->  IO Int
+gridGetRowLabelSize _obj 
+  = withIntResult $
+    withObjectRef "gridGetRowLabelSize" _obj $ \cobj__obj -> 
+    wxGrid_GetRowLabelSize cobj__obj  
+foreign import ccall "wxGrid_GetRowLabelSize" wxGrid_GetRowLabelSize :: Ptr (TGrid a) -> IO CInt
+
+-- | usage: (@gridGetRowLabelValue obj row@).
+gridGetRowLabelValue :: Grid  a -> Int ->  IO (String)
+gridGetRowLabelValue _obj row 
+  = withManagedStringResult $
+    withObjectRef "gridGetRowLabelValue" _obj $ \cobj__obj -> 
+    wxGrid_GetRowLabelValue cobj__obj  (toCInt row)  
+foreign import ccall "wxGrid_GetRowLabelValue" wxGrid_GetRowLabelValue :: Ptr (TGrid a) -> CInt -> IO (Ptr (TWxString ()))
+
+-- | usage: (@gridGetRowSize obj row@).
+gridGetRowSize :: Grid  a -> Int ->  IO Int
+gridGetRowSize _obj row 
+  = withIntResult $
+    withObjectRef "gridGetRowSize" _obj $ \cobj__obj -> 
+    wxGrid_GetRowSize cobj__obj  (toCInt row)  
+foreign import ccall "wxGrid_GetRowSize" wxGrid_GetRowSize :: Ptr (TGrid a) -> CInt -> IO CInt
+
+-- | usage: (@gridGetSelectedCells obj@).
+gridGetSelectedCells :: Grid  a ->  IO (GridCellCoordsArray  ())
+gridGetSelectedCells _obj 
+  = withRefGridCellCoordsArray $ \pref -> 
+    withObjectRef "gridGetSelectedCells" _obj $ \cobj__obj -> 
+    wxGrid_GetSelectedCells cobj__obj   pref
+foreign import ccall "wxGrid_GetSelectedCells" wxGrid_GetSelectedCells :: Ptr (TGrid a) -> Ptr (TGridCellCoordsArray ()) -> IO ()
+
+-- | usage: (@gridGetSelectedCols obj@).
+gridGetSelectedCols :: Grid  a ->  IO [Int]
+gridGetSelectedCols _obj 
+  = withArrayIntResult $ \arr -> 
+    withObjectRef "gridGetSelectedCols" _obj $ \cobj__obj -> 
+    wxGrid_GetSelectedCols cobj__obj   arr
+foreign import ccall "wxGrid_GetSelectedCols" wxGrid_GetSelectedCols :: Ptr (TGrid a) -> Ptr CInt -> IO CInt
+
+-- | usage: (@gridGetSelectedRows obj@).
+gridGetSelectedRows :: Grid  a ->  IO [Int]
+gridGetSelectedRows _obj 
+  = withArrayIntResult $ \arr -> 
+    withObjectRef "gridGetSelectedRows" _obj $ \cobj__obj -> 
+    wxGrid_GetSelectedRows cobj__obj   arr
+foreign import ccall "wxGrid_GetSelectedRows" wxGrid_GetSelectedRows :: Ptr (TGrid a) -> Ptr CInt -> IO CInt
+
+-- | usage: (@gridGetSelectionBackground obj@).
+gridGetSelectionBackground :: Grid  a ->  IO (Color)
+gridGetSelectionBackground _obj 
+  = withRefColour $ \pref -> 
+    withObjectRef "gridGetSelectionBackground" _obj $ \cobj__obj -> 
+    wxGrid_GetSelectionBackground cobj__obj   pref
+foreign import ccall "wxGrid_GetSelectionBackground" wxGrid_GetSelectionBackground :: Ptr (TGrid a) -> Ptr (TColour ()) -> IO ()
+
+-- | usage: (@gridGetSelectionBlockBottomRight obj@).
+gridGetSelectionBlockBottomRight :: Grid  a ->  IO (GridCellCoordsArray  ())
+gridGetSelectionBlockBottomRight _obj 
+  = withRefGridCellCoordsArray $ \pref -> 
+    withObjectRef "gridGetSelectionBlockBottomRight" _obj $ \cobj__obj -> 
+    wxGrid_GetSelectionBlockBottomRight cobj__obj   pref
+foreign import ccall "wxGrid_GetSelectionBlockBottomRight" wxGrid_GetSelectionBlockBottomRight :: Ptr (TGrid a) -> Ptr (TGridCellCoordsArray ()) -> IO ()
+
+-- | usage: (@gridGetSelectionBlockTopLeft obj@).
+gridGetSelectionBlockTopLeft :: Grid  a ->  IO (GridCellCoordsArray  ())
+gridGetSelectionBlockTopLeft _obj 
+  = withRefGridCellCoordsArray $ \pref -> 
+    withObjectRef "gridGetSelectionBlockTopLeft" _obj $ \cobj__obj -> 
+    wxGrid_GetSelectionBlockTopLeft cobj__obj   pref
+foreign import ccall "wxGrid_GetSelectionBlockTopLeft" wxGrid_GetSelectionBlockTopLeft :: Ptr (TGrid a) -> Ptr (TGridCellCoordsArray ()) -> IO ()
+
+-- | usage: (@gridGetSelectionForeground obj@).
+gridGetSelectionForeground :: Grid  a ->  IO (Color)
+gridGetSelectionForeground _obj 
+  = withRefColour $ \pref -> 
+    withObjectRef "gridGetSelectionForeground" _obj $ \cobj__obj -> 
+    wxGrid_GetSelectionForeground cobj__obj   pref
+foreign import ccall "wxGrid_GetSelectionForeground" wxGrid_GetSelectionForeground :: Ptr (TGrid a) -> Ptr (TColour ()) -> IO ()
+
+-- | usage: (@gridGetTable obj@).
+gridGetTable :: Grid  a ->  IO (GridTableBase  ())
+gridGetTable _obj 
+  = withObjectResult $
+    withObjectRef "gridGetTable" _obj $ \cobj__obj -> 
+    wxGrid_GetTable cobj__obj  
+foreign import ccall "wxGrid_GetTable" wxGrid_GetTable :: Ptr (TGrid a) -> IO (Ptr (TGridTableBase ()))
+
+-- | usage: (@gridGetTextBoxSize obj dc countlines@).
+gridGetTextBoxSize :: Grid  a -> DC  b -> [String] ->  IO Size
+gridGetTextBoxSize _obj dc countlines 
+  = withSizeResult $ \pw ph -> 
+    withObjectRef "gridGetTextBoxSize" _obj $ \cobj__obj -> 
+    withObjectPtr dc $ \cobj_dc -> 
+    withArrayWString countlines $ \carrlen_countlines carr_countlines -> 
+    wxGrid_GetTextBoxSize cobj__obj  cobj_dc  carrlen_countlines carr_countlines   pw ph
+foreign import ccall "wxGrid_GetTextBoxSize" wxGrid_GetTextBoxSize :: Ptr (TGrid a) -> Ptr (TDC b) -> CInt -> Ptr (Ptr CWchar) -> Ptr CInt -> Ptr CInt -> IO ()
+
+-- | usage: (@gridGridLinesEnabled obj@).
+gridGridLinesEnabled :: Grid  a ->  IO Int
+gridGridLinesEnabled _obj 
+  = withIntResult $
+    withObjectRef "gridGridLinesEnabled" _obj $ \cobj__obj -> 
+    wxGrid_GridLinesEnabled cobj__obj  
+foreign import ccall "wxGrid_GridLinesEnabled" wxGrid_GridLinesEnabled :: Ptr (TGrid a) -> IO CInt
+
+-- | usage: (@gridHideCellEditControl obj@).
+gridHideCellEditControl :: Grid  a ->  IO ()
+gridHideCellEditControl _obj 
+  = withObjectRef "gridHideCellEditControl" _obj $ \cobj__obj -> 
+    wxGrid_HideCellEditControl cobj__obj  
+foreign import ccall "wxGrid_HideCellEditControl" wxGrid_HideCellEditControl :: Ptr (TGrid a) -> IO ()
+
+-- | usage: (@gridInsertCols obj pos numCols updateLabels@).
+gridInsertCols :: Grid  a -> Int -> Int -> Bool ->  IO Bool
+gridInsertCols _obj pos numCols updateLabels 
+  = withBoolResult $
+    withObjectRef "gridInsertCols" _obj $ \cobj__obj -> 
+    wxGrid_InsertCols cobj__obj  (toCInt pos)  (toCInt numCols)  (toCBool updateLabels)  
+foreign import ccall "wxGrid_InsertCols" wxGrid_InsertCols :: Ptr (TGrid a) -> CInt -> CInt -> CBool -> IO CBool
+
+-- | usage: (@gridInsertRows obj pos numRows updateLabels@).
+gridInsertRows :: Grid  a -> Int -> Int -> Bool ->  IO Bool
+gridInsertRows _obj pos numRows updateLabels 
+  = withBoolResult $
+    withObjectRef "gridInsertRows" _obj $ \cobj__obj -> 
+    wxGrid_InsertRows cobj__obj  (toCInt pos)  (toCInt numRows)  (toCBool updateLabels)  
+foreign import ccall "wxGrid_InsertRows" wxGrid_InsertRows :: Ptr (TGrid a) -> CInt -> CInt -> CBool -> IO CBool
+
+-- | usage: (@gridIsCellEditControlEnabled obj@).
+gridIsCellEditControlEnabled :: Grid  a ->  IO Bool
+gridIsCellEditControlEnabled _obj 
+  = withBoolResult $
+    withObjectRef "gridIsCellEditControlEnabled" _obj $ \cobj__obj -> 
+    wxGrid_IsCellEditControlEnabled cobj__obj  
+foreign import ccall "wxGrid_IsCellEditControlEnabled" wxGrid_IsCellEditControlEnabled :: Ptr (TGrid a) -> IO CBool
+
+-- | usage: (@gridIsCellEditControlShown obj@).
+gridIsCellEditControlShown :: Grid  a ->  IO Bool
+gridIsCellEditControlShown _obj 
+  = withBoolResult $
+    withObjectRef "gridIsCellEditControlShown" _obj $ \cobj__obj -> 
+    wxGrid_IsCellEditControlShown cobj__obj  
+foreign import ccall "wxGrid_IsCellEditControlShown" wxGrid_IsCellEditControlShown :: Ptr (TGrid a) -> IO CBool
+
+-- | usage: (@gridIsCurrentCellReadOnly obj@).
+gridIsCurrentCellReadOnly :: Grid  a ->  IO Bool
+gridIsCurrentCellReadOnly _obj 
+  = withBoolResult $
+    withObjectRef "gridIsCurrentCellReadOnly" _obj $ \cobj__obj -> 
+    wxGrid_IsCurrentCellReadOnly cobj__obj  
+foreign import ccall "wxGrid_IsCurrentCellReadOnly" wxGrid_IsCurrentCellReadOnly :: Ptr (TGrid a) -> IO CBool
+
+-- | usage: (@gridIsEditable obj@).
+gridIsEditable :: Grid  a ->  IO Bool
+gridIsEditable _obj 
+  = withBoolResult $
+    withObjectRef "gridIsEditable" _obj $ \cobj__obj -> 
+    wxGrid_IsEditable cobj__obj  
+foreign import ccall "wxGrid_IsEditable" wxGrid_IsEditable :: Ptr (TGrid a) -> IO CBool
+
+-- | usage: (@gridIsInSelection obj row col@).
+gridIsInSelection :: Grid  a -> Int -> Int ->  IO Bool
+gridIsInSelection _obj row col 
+  = withBoolResult $
+    withObjectRef "gridIsInSelection" _obj $ \cobj__obj -> 
+    wxGrid_IsInSelection cobj__obj  (toCInt row)  (toCInt col)  
+foreign import ccall "wxGrid_IsInSelection" wxGrid_IsInSelection :: Ptr (TGrid a) -> CInt -> CInt -> IO CBool
+
+-- | usage: (@gridIsReadOnly obj row col@).
+gridIsReadOnly :: Grid  a -> Int -> Int ->  IO Bool
+gridIsReadOnly _obj row col 
+  = withBoolResult $
+    withObjectRef "gridIsReadOnly" _obj $ \cobj__obj -> 
+    wxGrid_IsReadOnly cobj__obj  (toCInt row)  (toCInt col)  
+foreign import ccall "wxGrid_IsReadOnly" wxGrid_IsReadOnly :: Ptr (TGrid a) -> CInt -> CInt -> IO CBool
+
+-- | usage: (@gridIsSelection obj@).
+gridIsSelection :: Grid  a ->  IO Bool
+gridIsSelection _obj 
+  = withBoolResult $
+    withObjectRef "gridIsSelection" _obj $ \cobj__obj -> 
+    wxGrid_IsSelection cobj__obj  
+foreign import ccall "wxGrid_IsSelection" wxGrid_IsSelection :: Ptr (TGrid a) -> IO CBool
+
+-- | usage: (@gridIsVisible obj row col wholeCellVisible@).
+gridIsVisible :: Grid  a -> Int -> Int -> Bool ->  IO Bool
+gridIsVisible _obj row col wholeCellVisible 
+  = withBoolResult $
+    withObjectRef "gridIsVisible" _obj $ \cobj__obj -> 
+    wxGrid_IsVisible cobj__obj  (toCInt row)  (toCInt col)  (toCBool wholeCellVisible)  
+foreign import ccall "wxGrid_IsVisible" wxGrid_IsVisible :: Ptr (TGrid a) -> CInt -> CInt -> CBool -> IO CBool
+
+-- | usage: (@gridMakeCellVisible obj row col@).
+gridMakeCellVisible :: Grid  a -> Int -> Int ->  IO ()
+gridMakeCellVisible _obj row col 
+  = withObjectRef "gridMakeCellVisible" _obj $ \cobj__obj -> 
+    wxGrid_MakeCellVisible cobj__obj  (toCInt row)  (toCInt col)  
+foreign import ccall "wxGrid_MakeCellVisible" wxGrid_MakeCellVisible :: Ptr (TGrid a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@gridMoveCursorDown obj expandSelection@).
+gridMoveCursorDown :: Grid  a -> Bool ->  IO Bool
+gridMoveCursorDown _obj expandSelection 
+  = withBoolResult $
+    withObjectRef "gridMoveCursorDown" _obj $ \cobj__obj -> 
+    wxGrid_MoveCursorDown cobj__obj  (toCBool expandSelection)  
+foreign import ccall "wxGrid_MoveCursorDown" wxGrid_MoveCursorDown :: Ptr (TGrid a) -> CBool -> IO CBool
+
+-- | usage: (@gridMoveCursorDownBlock obj expandSelection@).
+gridMoveCursorDownBlock :: Grid  a -> Bool ->  IO Bool
+gridMoveCursorDownBlock _obj expandSelection 
+  = withBoolResult $
+    withObjectRef "gridMoveCursorDownBlock" _obj $ \cobj__obj -> 
+    wxGrid_MoveCursorDownBlock cobj__obj  (toCBool expandSelection)  
+foreign import ccall "wxGrid_MoveCursorDownBlock" wxGrid_MoveCursorDownBlock :: Ptr (TGrid a) -> CBool -> IO CBool
+
+-- | usage: (@gridMoveCursorLeft obj expandSelection@).
+gridMoveCursorLeft :: Grid  a -> Bool ->  IO Bool
+gridMoveCursorLeft _obj expandSelection 
+  = withBoolResult $
+    withObjectRef "gridMoveCursorLeft" _obj $ \cobj__obj -> 
+    wxGrid_MoveCursorLeft cobj__obj  (toCBool expandSelection)  
+foreign import ccall "wxGrid_MoveCursorLeft" wxGrid_MoveCursorLeft :: Ptr (TGrid a) -> CBool -> IO CBool
+
+-- | usage: (@gridMoveCursorLeftBlock obj expandSelection@).
+gridMoveCursorLeftBlock :: Grid  a -> Bool ->  IO Bool
+gridMoveCursorLeftBlock _obj expandSelection 
+  = withBoolResult $
+    withObjectRef "gridMoveCursorLeftBlock" _obj $ \cobj__obj -> 
+    wxGrid_MoveCursorLeftBlock cobj__obj  (toCBool expandSelection)  
+foreign import ccall "wxGrid_MoveCursorLeftBlock" wxGrid_MoveCursorLeftBlock :: Ptr (TGrid a) -> CBool -> IO CBool
+
+-- | usage: (@gridMoveCursorRight obj expandSelection@).
+gridMoveCursorRight :: Grid  a -> Bool ->  IO Bool
+gridMoveCursorRight _obj expandSelection 
+  = withBoolResult $
+    withObjectRef "gridMoveCursorRight" _obj $ \cobj__obj -> 
+    wxGrid_MoveCursorRight cobj__obj  (toCBool expandSelection)  
+foreign import ccall "wxGrid_MoveCursorRight" wxGrid_MoveCursorRight :: Ptr (TGrid a) -> CBool -> IO CBool
+
+-- | usage: (@gridMoveCursorRightBlock obj expandSelection@).
+gridMoveCursorRightBlock :: Grid  a -> Bool ->  IO Bool
+gridMoveCursorRightBlock _obj expandSelection 
+  = withBoolResult $
+    withObjectRef "gridMoveCursorRightBlock" _obj $ \cobj__obj -> 
+    wxGrid_MoveCursorRightBlock cobj__obj  (toCBool expandSelection)  
+foreign import ccall "wxGrid_MoveCursorRightBlock" wxGrid_MoveCursorRightBlock :: Ptr (TGrid a) -> CBool -> IO CBool
+
+-- | usage: (@gridMoveCursorUp obj expandSelection@).
+gridMoveCursorUp :: Grid  a -> Bool ->  IO Bool
+gridMoveCursorUp _obj expandSelection 
+  = withBoolResult $
+    withObjectRef "gridMoveCursorUp" _obj $ \cobj__obj -> 
+    wxGrid_MoveCursorUp cobj__obj  (toCBool expandSelection)  
+foreign import ccall "wxGrid_MoveCursorUp" wxGrid_MoveCursorUp :: Ptr (TGrid a) -> CBool -> IO CBool
+
+-- | usage: (@gridMoveCursorUpBlock obj expandSelection@).
+gridMoveCursorUpBlock :: Grid  a -> Bool ->  IO Bool
+gridMoveCursorUpBlock _obj expandSelection 
+  = withBoolResult $
+    withObjectRef "gridMoveCursorUpBlock" _obj $ \cobj__obj -> 
+    wxGrid_MoveCursorUpBlock cobj__obj  (toCBool expandSelection)  
+foreign import ccall "wxGrid_MoveCursorUpBlock" wxGrid_MoveCursorUpBlock :: Ptr (TGrid a) -> CBool -> IO CBool
+
+-- | usage: (@gridMovePageDown obj@).
+gridMovePageDown :: Grid  a ->  IO Bool
+gridMovePageDown _obj 
+  = withBoolResult $
+    withObjectRef "gridMovePageDown" _obj $ \cobj__obj -> 
+    wxGrid_MovePageDown cobj__obj  
+foreign import ccall "wxGrid_MovePageDown" wxGrid_MovePageDown :: Ptr (TGrid a) -> IO CBool
+
+-- | usage: (@gridMovePageUp obj@).
+gridMovePageUp :: Grid  a ->  IO Bool
+gridMovePageUp _obj 
+  = withBoolResult $
+    withObjectRef "gridMovePageUp" _obj $ \cobj__obj -> 
+    wxGrid_MovePageUp cobj__obj  
+foreign import ccall "wxGrid_MovePageUp" wxGrid_MovePageUp :: Ptr (TGrid a) -> IO CBool
+
+-- | usage: (@gridProcessTableMessage obj evt@).
+gridProcessTableMessage :: Grid  a -> Event  b ->  IO Bool
+gridProcessTableMessage _obj evt 
+  = withBoolResult $
+    withObjectRef "gridProcessTableMessage" _obj $ \cobj__obj -> 
+    withObjectPtr evt $ \cobj_evt -> 
+    wxGrid_ProcessTableMessage cobj__obj  cobj_evt  
+foreign import ccall "wxGrid_ProcessTableMessage" wxGrid_ProcessTableMessage :: Ptr (TGrid a) -> Ptr (TEvent b) -> IO CBool
+
+-- | usage: (@gridRangeSelectEventAltDown obj@).
+gridRangeSelectEventAltDown :: GridRangeSelectEvent  a ->  IO Bool
+gridRangeSelectEventAltDown _obj 
+  = withBoolResult $
+    withObjectRef "gridRangeSelectEventAltDown" _obj $ \cobj__obj -> 
+    wxGridRangeSelectEvent_AltDown cobj__obj  
+foreign import ccall "wxGridRangeSelectEvent_AltDown" wxGridRangeSelectEvent_AltDown :: Ptr (TGridRangeSelectEvent a) -> IO CBool
+
+-- | usage: (@gridRangeSelectEventControlDown obj@).
+gridRangeSelectEventControlDown :: GridRangeSelectEvent  a ->  IO Bool
+gridRangeSelectEventControlDown _obj 
+  = withBoolResult $
+    withObjectRef "gridRangeSelectEventControlDown" _obj $ \cobj__obj -> 
+    wxGridRangeSelectEvent_ControlDown cobj__obj  
+foreign import ccall "wxGridRangeSelectEvent_ControlDown" wxGridRangeSelectEvent_ControlDown :: Ptr (TGridRangeSelectEvent a) -> IO CBool
+
+-- | usage: (@gridRangeSelectEventGetBottomRightCoords obj@).
+gridRangeSelectEventGetBottomRightCoords :: GridRangeSelectEvent  a ->  IO Point
+gridRangeSelectEventGetBottomRightCoords _obj 
+  = withPointResult $ \px py -> 
+    withObjectRef "gridRangeSelectEventGetBottomRightCoords" _obj $ \cobj__obj -> 
+    wxGridRangeSelectEvent_GetBottomRightCoords cobj__obj   px py
+foreign import ccall "wxGridRangeSelectEvent_GetBottomRightCoords" wxGridRangeSelectEvent_GetBottomRightCoords :: Ptr (TGridRangeSelectEvent a) -> Ptr CInt -> Ptr CInt -> IO ()
+
+-- | usage: (@gridRangeSelectEventGetBottomRow obj@).
+gridRangeSelectEventGetBottomRow :: GridRangeSelectEvent  a ->  IO Int
+gridRangeSelectEventGetBottomRow _obj 
+  = withIntResult $
+    withObjectRef "gridRangeSelectEventGetBottomRow" _obj $ \cobj__obj -> 
+    wxGridRangeSelectEvent_GetBottomRow cobj__obj  
+foreign import ccall "wxGridRangeSelectEvent_GetBottomRow" wxGridRangeSelectEvent_GetBottomRow :: Ptr (TGridRangeSelectEvent a) -> IO CInt
+
+-- | usage: (@gridRangeSelectEventGetLeftCol obj@).
+gridRangeSelectEventGetLeftCol :: GridRangeSelectEvent  a ->  IO Int
+gridRangeSelectEventGetLeftCol _obj 
+  = withIntResult $
+    withObjectRef "gridRangeSelectEventGetLeftCol" _obj $ \cobj__obj -> 
+    wxGridRangeSelectEvent_GetLeftCol cobj__obj  
+foreign import ccall "wxGridRangeSelectEvent_GetLeftCol" wxGridRangeSelectEvent_GetLeftCol :: Ptr (TGridRangeSelectEvent a) -> IO CInt
+
+-- | usage: (@gridRangeSelectEventGetRightCol obj@).
+gridRangeSelectEventGetRightCol :: GridRangeSelectEvent  a ->  IO Int
+gridRangeSelectEventGetRightCol _obj 
+  = withIntResult $
+    withObjectRef "gridRangeSelectEventGetRightCol" _obj $ \cobj__obj -> 
+    wxGridRangeSelectEvent_GetRightCol cobj__obj  
+foreign import ccall "wxGridRangeSelectEvent_GetRightCol" wxGridRangeSelectEvent_GetRightCol :: Ptr (TGridRangeSelectEvent a) -> IO CInt
+
+-- | usage: (@gridRangeSelectEventGetTopLeftCoords obj@).
+gridRangeSelectEventGetTopLeftCoords :: GridRangeSelectEvent  a ->  IO Point
+gridRangeSelectEventGetTopLeftCoords _obj 
+  = withPointResult $ \px py -> 
+    withObjectRef "gridRangeSelectEventGetTopLeftCoords" _obj $ \cobj__obj -> 
+    wxGridRangeSelectEvent_GetTopLeftCoords cobj__obj   px py
+foreign import ccall "wxGridRangeSelectEvent_GetTopLeftCoords" wxGridRangeSelectEvent_GetTopLeftCoords :: Ptr (TGridRangeSelectEvent a) -> Ptr CInt -> Ptr CInt -> IO ()
+
+-- | usage: (@gridRangeSelectEventGetTopRow obj@).
+gridRangeSelectEventGetTopRow :: GridRangeSelectEvent  a ->  IO Int
+gridRangeSelectEventGetTopRow _obj 
+  = withIntResult $
+    withObjectRef "gridRangeSelectEventGetTopRow" _obj $ \cobj__obj -> 
+    wxGridRangeSelectEvent_GetTopRow cobj__obj  
+foreign import ccall "wxGridRangeSelectEvent_GetTopRow" wxGridRangeSelectEvent_GetTopRow :: Ptr (TGridRangeSelectEvent a) -> IO CInt
+
+-- | usage: (@gridRangeSelectEventMetaDown obj@).
+gridRangeSelectEventMetaDown :: GridRangeSelectEvent  a ->  IO Bool
+gridRangeSelectEventMetaDown _obj 
+  = withBoolResult $
+    withObjectRef "gridRangeSelectEventMetaDown" _obj $ \cobj__obj -> 
+    wxGridRangeSelectEvent_MetaDown cobj__obj  
+foreign import ccall "wxGridRangeSelectEvent_MetaDown" wxGridRangeSelectEvent_MetaDown :: Ptr (TGridRangeSelectEvent a) -> IO CBool
+
+-- | usage: (@gridRangeSelectEventSelecting obj@).
+gridRangeSelectEventSelecting :: GridRangeSelectEvent  a ->  IO Bool
+gridRangeSelectEventSelecting _obj 
+  = withBoolResult $
+    withObjectRef "gridRangeSelectEventSelecting" _obj $ \cobj__obj -> 
+    wxGridRangeSelectEvent_Selecting cobj__obj  
+foreign import ccall "wxGridRangeSelectEvent_Selecting" wxGridRangeSelectEvent_Selecting :: Ptr (TGridRangeSelectEvent a) -> IO CBool
+
+-- | usage: (@gridRangeSelectEventShiftDown obj@).
+gridRangeSelectEventShiftDown :: GridRangeSelectEvent  a ->  IO Bool
+gridRangeSelectEventShiftDown _obj 
+  = withBoolResult $
+    withObjectRef "gridRangeSelectEventShiftDown" _obj $ \cobj__obj -> 
+    wxGridRangeSelectEvent_ShiftDown cobj__obj  
+foreign import ccall "wxGridRangeSelectEvent_ShiftDown" wxGridRangeSelectEvent_ShiftDown :: Ptr (TGridRangeSelectEvent a) -> IO CBool
+
+-- | usage: (@gridRegisterDataType obj typeName renderer editor@).
+gridRegisterDataType :: Grid  a -> String -> GridCellRenderer  c -> GridCellEditor  d ->  IO ()
+gridRegisterDataType _obj typeName renderer editor 
+  = withObjectRef "gridRegisterDataType" _obj $ \cobj__obj -> 
+    withStringPtr typeName $ \cobj_typeName -> 
+    withObjectPtr renderer $ \cobj_renderer -> 
+    withObjectPtr editor $ \cobj_editor -> 
+    wxGrid_RegisterDataType cobj__obj  cobj_typeName  cobj_renderer  cobj_editor  
+foreign import ccall "wxGrid_RegisterDataType" wxGrid_RegisterDataType :: Ptr (TGrid a) -> Ptr (TWxString b) -> Ptr (TGridCellRenderer c) -> Ptr (TGridCellEditor d) -> IO ()
+
+-- | usage: (@gridSaveEditControlValue obj@).
+gridSaveEditControlValue :: Grid  a ->  IO ()
+gridSaveEditControlValue _obj 
+  = withObjectRef "gridSaveEditControlValue" _obj $ \cobj__obj -> 
+    wxGrid_SaveEditControlValue cobj__obj  
+foreign import ccall "wxGrid_SaveEditControlValue" wxGrid_SaveEditControlValue :: Ptr (TGrid a) -> IO ()
+
+-- | usage: (@gridSelectAll obj@).
+gridSelectAll :: Grid  a ->  IO ()
+gridSelectAll _obj 
+  = withObjectRef "gridSelectAll" _obj $ \cobj__obj -> 
+    wxGrid_SelectAll cobj__obj  
+foreign import ccall "wxGrid_SelectAll" wxGrid_SelectAll :: Ptr (TGrid a) -> IO ()
+
+-- | usage: (@gridSelectBlock obj topRow leftCol bottomRow rightCol addToSelected@).
+gridSelectBlock :: Grid  a -> Int -> Int -> Int -> Int -> Bool ->  IO ()
+gridSelectBlock _obj topRow leftCol bottomRow rightCol addToSelected 
+  = withObjectRef "gridSelectBlock" _obj $ \cobj__obj -> 
+    wxGrid_SelectBlock cobj__obj  (toCInt topRow)  (toCInt leftCol)  (toCInt bottomRow)  (toCInt rightCol)  (toCBool addToSelected)  
+foreign import ccall "wxGrid_SelectBlock" wxGrid_SelectBlock :: Ptr (TGrid a) -> CInt -> CInt -> CInt -> CInt -> CBool -> IO ()
+
+-- | usage: (@gridSelectCol obj col addToSelected@).
+gridSelectCol :: Grid  a -> Int -> Bool ->  IO ()
+gridSelectCol _obj col addToSelected 
+  = withObjectRef "gridSelectCol" _obj $ \cobj__obj -> 
+    wxGrid_SelectCol cobj__obj  (toCInt col)  (toCBool addToSelected)  
+foreign import ccall "wxGrid_SelectCol" wxGrid_SelectCol :: Ptr (TGrid a) -> CInt -> CBool -> IO ()
+
+-- | usage: (@gridSelectRow obj row addToSelected@).
+gridSelectRow :: Grid  a -> Int -> Bool ->  IO ()
+gridSelectRow _obj row addToSelected 
+  = withObjectRef "gridSelectRow" _obj $ \cobj__obj -> 
+    wxGrid_SelectRow cobj__obj  (toCInt row)  (toCBool addToSelected)  
+foreign import ccall "wxGrid_SelectRow" wxGrid_SelectRow :: Ptr (TGrid a) -> CInt -> CBool -> IO ()
+
+-- | usage: (@gridSetCellAlignment obj row col horiz vert@).
+gridSetCellAlignment :: Grid  a -> Int -> Int -> Int -> Int ->  IO ()
+gridSetCellAlignment _obj row col horiz vert 
+  = withObjectRef "gridSetCellAlignment" _obj $ \cobj__obj -> 
+    wxGrid_SetCellAlignment cobj__obj  (toCInt row)  (toCInt col)  (toCInt horiz)  (toCInt vert)  
+foreign import ccall "wxGrid_SetCellAlignment" wxGrid_SetCellAlignment :: Ptr (TGrid a) -> CInt -> CInt -> CInt -> CInt -> IO ()
+
+-- | usage: (@gridSetCellBackgroundColour obj row col colour@).
+gridSetCellBackgroundColour :: Grid  a -> Int -> Int -> Color ->  IO ()
+gridSetCellBackgroundColour _obj row col colour 
+  = withObjectRef "gridSetCellBackgroundColour" _obj $ \cobj__obj -> 
+    withColourPtr colour $ \cobj_colour -> 
+    wxGrid_SetCellBackgroundColour cobj__obj  (toCInt row)  (toCInt col)  cobj_colour  
+foreign import ccall "wxGrid_SetCellBackgroundColour" wxGrid_SetCellBackgroundColour :: Ptr (TGrid a) -> CInt -> CInt -> Ptr (TColour d) -> IO ()
+
+-- | usage: (@gridSetCellEditor obj row col editor@).
+gridSetCellEditor :: Grid  a -> Int -> Int -> GridCellEditor  d ->  IO ()
+gridSetCellEditor _obj row col editor 
+  = withObjectRef "gridSetCellEditor" _obj $ \cobj__obj -> 
+    withObjectPtr editor $ \cobj_editor -> 
+    wxGrid_SetCellEditor cobj__obj  (toCInt row)  (toCInt col)  cobj_editor  
+foreign import ccall "wxGrid_SetCellEditor" wxGrid_SetCellEditor :: Ptr (TGrid a) -> CInt -> CInt -> Ptr (TGridCellEditor d) -> IO ()
+
+-- | usage: (@gridSetCellFont obj row col font@).
+gridSetCellFont :: Grid  a -> Int -> Int -> Font  d ->  IO ()
+gridSetCellFont _obj row col font 
+  = withObjectRef "gridSetCellFont" _obj $ \cobj__obj -> 
+    withObjectPtr font $ \cobj_font -> 
+    wxGrid_SetCellFont cobj__obj  (toCInt row)  (toCInt col)  cobj_font  
+foreign import ccall "wxGrid_SetCellFont" wxGrid_SetCellFont :: Ptr (TGrid a) -> CInt -> CInt -> Ptr (TFont d) -> IO ()
+
+-- | usage: (@gridSetCellHighlightColour obj col@).
+gridSetCellHighlightColour :: Grid  a -> Color ->  IO ()
+gridSetCellHighlightColour _obj col 
+  = withObjectRef "gridSetCellHighlightColour" _obj $ \cobj__obj -> 
+    withColourPtr col $ \cobj_col -> 
+    wxGrid_SetCellHighlightColour cobj__obj  cobj_col  
+foreign import ccall "wxGrid_SetCellHighlightColour" wxGrid_SetCellHighlightColour :: Ptr (TGrid a) -> Ptr (TColour b) -> IO ()
+
+-- | usage: (@gridSetCellRenderer obj row col renderer@).
+gridSetCellRenderer :: Grid  a -> Int -> Int -> GridCellRenderer  d ->  IO ()
+gridSetCellRenderer _obj row col renderer 
+  = withObjectRef "gridSetCellRenderer" _obj $ \cobj__obj -> 
+    withObjectPtr renderer $ \cobj_renderer -> 
+    wxGrid_SetCellRenderer cobj__obj  (toCInt row)  (toCInt col)  cobj_renderer  
+foreign import ccall "wxGrid_SetCellRenderer" wxGrid_SetCellRenderer :: Ptr (TGrid a) -> CInt -> CInt -> Ptr (TGridCellRenderer d) -> IO ()
+
+-- | usage: (@gridSetCellSize obj row col srowscol@).
+gridSetCellSize :: Grid  a -> Int -> Int -> Size ->  IO ()
+gridSetCellSize _obj row col srowscol 
+  = withObjectRef "gridSetCellSize" _obj $ \cobj__obj -> 
+    wxGrid_SetCellSize cobj__obj  (toCInt row)  (toCInt col)  (toCIntSizeW srowscol) (toCIntSizeH srowscol)  
+foreign import ccall "wxGrid_SetCellSize" wxGrid_SetCellSize :: Ptr (TGrid a) -> CInt -> CInt -> CInt -> CInt -> IO ()
+
+-- | usage: (@gridSetCellTextColour obj row col colour@).
+gridSetCellTextColour :: Grid  a -> Int -> Int -> Color ->  IO ()
+gridSetCellTextColour _obj row col colour 
+  = withObjectRef "gridSetCellTextColour" _obj $ \cobj__obj -> 
+    withColourPtr colour $ \cobj_colour -> 
+    wxGrid_SetCellTextColour cobj__obj  (toCInt row)  (toCInt col)  cobj_colour  
+foreign import ccall "wxGrid_SetCellTextColour" wxGrid_SetCellTextColour :: Ptr (TGrid a) -> CInt -> CInt -> Ptr (TColour d) -> IO ()
+
+-- | usage: (@gridSetCellValue obj row col s@).
+gridSetCellValue :: Grid  a -> Int -> Int -> String ->  IO ()
+gridSetCellValue _obj row col s 
+  = withObjectRef "gridSetCellValue" _obj $ \cobj__obj -> 
+    withStringPtr s $ \cobj_s -> 
+    wxGrid_SetCellValue cobj__obj  (toCInt row)  (toCInt col)  cobj_s  
+foreign import ccall "wxGrid_SetCellValue" wxGrid_SetCellValue :: Ptr (TGrid a) -> CInt -> CInt -> Ptr (TWxString d) -> IO ()
+
+-- | usage: (@gridSetColAttr obj col attr@).
+gridSetColAttr :: Grid  a -> Int -> GridCellAttr  c ->  IO ()
+gridSetColAttr _obj col attr 
+  = withObjectRef "gridSetColAttr" _obj $ \cobj__obj -> 
+    withObjectPtr attr $ \cobj_attr -> 
+    wxGrid_SetColAttr cobj__obj  (toCInt col)  cobj_attr  
+foreign import ccall "wxGrid_SetColAttr" wxGrid_SetColAttr :: Ptr (TGrid a) -> CInt -> Ptr (TGridCellAttr c) -> IO ()
+
+-- | usage: (@gridSetColFormatBool obj col@).
+gridSetColFormatBool :: Grid  a -> Int ->  IO ()
+gridSetColFormatBool _obj col 
+  = withObjectRef "gridSetColFormatBool" _obj $ \cobj__obj -> 
+    wxGrid_SetColFormatBool cobj__obj  (toCInt col)  
+foreign import ccall "wxGrid_SetColFormatBool" wxGrid_SetColFormatBool :: Ptr (TGrid a) -> CInt -> IO ()
+
+-- | usage: (@gridSetColFormatCustom obj col typeName@).
+gridSetColFormatCustom :: Grid  a -> Int -> String ->  IO ()
+gridSetColFormatCustom _obj col typeName 
+  = withObjectRef "gridSetColFormatCustom" _obj $ \cobj__obj -> 
+    withStringPtr typeName $ \cobj_typeName -> 
+    wxGrid_SetColFormatCustom cobj__obj  (toCInt col)  cobj_typeName  
+foreign import ccall "wxGrid_SetColFormatCustom" wxGrid_SetColFormatCustom :: Ptr (TGrid a) -> CInt -> Ptr (TWxString c) -> IO ()
+
+-- | usage: (@gridSetColFormatFloat obj col width precision@).
+gridSetColFormatFloat :: Grid  a -> Int -> Int -> Int ->  IO ()
+gridSetColFormatFloat _obj col width precision 
+  = withObjectRef "gridSetColFormatFloat" _obj $ \cobj__obj -> 
+    wxGrid_SetColFormatFloat cobj__obj  (toCInt col)  (toCInt width)  (toCInt precision)  
+foreign import ccall "wxGrid_SetColFormatFloat" wxGrid_SetColFormatFloat :: Ptr (TGrid a) -> CInt -> CInt -> CInt -> IO ()
+
+-- | usage: (@gridSetColFormatNumber obj col@).
+gridSetColFormatNumber :: Grid  a -> Int ->  IO ()
+gridSetColFormatNumber _obj col 
+  = withObjectRef "gridSetColFormatNumber" _obj $ \cobj__obj -> 
+    wxGrid_SetColFormatNumber cobj__obj  (toCInt col)  
+foreign import ccall "wxGrid_SetColFormatNumber" wxGrid_SetColFormatNumber :: Ptr (TGrid a) -> CInt -> IO ()
+
+-- | usage: (@gridSetColLabelAlignment obj horiz vert@).
+gridSetColLabelAlignment :: Grid  a -> Int -> Int ->  IO ()
+gridSetColLabelAlignment _obj horiz vert 
+  = withObjectRef "gridSetColLabelAlignment" _obj $ \cobj__obj -> 
+    wxGrid_SetColLabelAlignment cobj__obj  (toCInt horiz)  (toCInt vert)  
+foreign import ccall "wxGrid_SetColLabelAlignment" wxGrid_SetColLabelAlignment :: Ptr (TGrid a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@gridSetColLabelSize obj height@).
+gridSetColLabelSize :: Grid  a -> Int ->  IO ()
+gridSetColLabelSize _obj height 
+  = withObjectRef "gridSetColLabelSize" _obj $ \cobj__obj -> 
+    wxGrid_SetColLabelSize cobj__obj  (toCInt height)  
+foreign import ccall "wxGrid_SetColLabelSize" wxGrid_SetColLabelSize :: Ptr (TGrid a) -> CInt -> IO ()
+
+-- | usage: (@gridSetColLabelValue obj col label@).
+gridSetColLabelValue :: Grid  a -> Int -> String ->  IO ()
+gridSetColLabelValue _obj col label 
+  = withObjectRef "gridSetColLabelValue" _obj $ \cobj__obj -> 
+    withStringPtr label $ \cobj_label -> 
+    wxGrid_SetColLabelValue cobj__obj  (toCInt col)  cobj_label  
+foreign import ccall "wxGrid_SetColLabelValue" wxGrid_SetColLabelValue :: Ptr (TGrid a) -> CInt -> Ptr (TWxString c) -> IO ()
+
+-- | usage: (@gridSetColMinimalWidth obj col width@).
+gridSetColMinimalWidth :: Grid  a -> Int -> Int ->  IO ()
+gridSetColMinimalWidth _obj col width 
+  = withObjectRef "gridSetColMinimalWidth" _obj $ \cobj__obj -> 
+    wxGrid_SetColMinimalWidth cobj__obj  (toCInt col)  (toCInt width)  
+foreign import ccall "wxGrid_SetColMinimalWidth" wxGrid_SetColMinimalWidth :: Ptr (TGrid a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@gridSetColSize obj col width@).
+gridSetColSize :: Grid  a -> Int -> Int ->  IO ()
+gridSetColSize _obj col width 
+  = withObjectRef "gridSetColSize" _obj $ \cobj__obj -> 
+    wxGrid_SetColSize cobj__obj  (toCInt col)  (toCInt width)  
+foreign import ccall "wxGrid_SetColSize" wxGrid_SetColSize :: Ptr (TGrid a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@gridSetDefaultCellAlignment obj horiz vert@).
+gridSetDefaultCellAlignment :: Grid  a -> Int -> Int ->  IO ()
+gridSetDefaultCellAlignment _obj horiz vert 
+  = withObjectRef "gridSetDefaultCellAlignment" _obj $ \cobj__obj -> 
+    wxGrid_SetDefaultCellAlignment cobj__obj  (toCInt horiz)  (toCInt vert)  
+foreign import ccall "wxGrid_SetDefaultCellAlignment" wxGrid_SetDefaultCellAlignment :: Ptr (TGrid a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@gridSetDefaultCellBackgroundColour obj colour@).
+gridSetDefaultCellBackgroundColour :: Grid  a -> Color ->  IO ()
+gridSetDefaultCellBackgroundColour _obj colour 
+  = withObjectRef "gridSetDefaultCellBackgroundColour" _obj $ \cobj__obj -> 
+    withColourPtr colour $ \cobj_colour -> 
+    wxGrid_SetDefaultCellBackgroundColour cobj__obj  cobj_colour  
+foreign import ccall "wxGrid_SetDefaultCellBackgroundColour" wxGrid_SetDefaultCellBackgroundColour :: Ptr (TGrid a) -> Ptr (TColour b) -> IO ()
+
+-- | usage: (@gridSetDefaultCellFont obj font@).
+gridSetDefaultCellFont :: Grid  a -> Font  b ->  IO ()
+gridSetDefaultCellFont _obj font 
+  = withObjectRef "gridSetDefaultCellFont" _obj $ \cobj__obj -> 
+    withObjectPtr font $ \cobj_font -> 
+    wxGrid_SetDefaultCellFont cobj__obj  cobj_font  
+foreign import ccall "wxGrid_SetDefaultCellFont" wxGrid_SetDefaultCellFont :: Ptr (TGrid a) -> Ptr (TFont b) -> IO ()
+
+-- | usage: (@gridSetDefaultCellTextColour obj colour@).
+gridSetDefaultCellTextColour :: Grid  a -> Color ->  IO ()
+gridSetDefaultCellTextColour _obj colour 
+  = withObjectRef "gridSetDefaultCellTextColour" _obj $ \cobj__obj -> 
+    withColourPtr colour $ \cobj_colour -> 
+    wxGrid_SetDefaultCellTextColour cobj__obj  cobj_colour  
+foreign import ccall "wxGrid_SetDefaultCellTextColour" wxGrid_SetDefaultCellTextColour :: Ptr (TGrid a) -> Ptr (TColour b) -> IO ()
+
+-- | usage: (@gridSetDefaultColSize obj width resizeExistingCols@).
+gridSetDefaultColSize :: Grid  a -> Int -> Bool ->  IO ()
+gridSetDefaultColSize _obj width resizeExistingCols 
+  = withObjectRef "gridSetDefaultColSize" _obj $ \cobj__obj -> 
+    wxGrid_SetDefaultColSize cobj__obj  (toCInt width)  (toCBool resizeExistingCols)  
+foreign import ccall "wxGrid_SetDefaultColSize" wxGrid_SetDefaultColSize :: Ptr (TGrid a) -> CInt -> CBool -> IO ()
+
+-- | usage: (@gridSetDefaultEditor obj editor@).
+gridSetDefaultEditor :: Grid  a -> GridCellEditor  b ->  IO ()
+gridSetDefaultEditor _obj editor 
+  = withObjectRef "gridSetDefaultEditor" _obj $ \cobj__obj -> 
+    withObjectPtr editor $ \cobj_editor -> 
+    wxGrid_SetDefaultEditor cobj__obj  cobj_editor  
+foreign import ccall "wxGrid_SetDefaultEditor" wxGrid_SetDefaultEditor :: Ptr (TGrid a) -> Ptr (TGridCellEditor b) -> IO ()
+
+-- | usage: (@gridSetDefaultRenderer obj renderer@).
+gridSetDefaultRenderer :: Grid  a -> GridCellRenderer  b ->  IO ()
+gridSetDefaultRenderer _obj renderer 
+  = withObjectRef "gridSetDefaultRenderer" _obj $ \cobj__obj -> 
+    withObjectPtr renderer $ \cobj_renderer -> 
+    wxGrid_SetDefaultRenderer cobj__obj  cobj_renderer  
+foreign import ccall "wxGrid_SetDefaultRenderer" wxGrid_SetDefaultRenderer :: Ptr (TGrid a) -> Ptr (TGridCellRenderer b) -> IO ()
+
+-- | usage: (@gridSetDefaultRowSize obj height resizeExistingRows@).
+gridSetDefaultRowSize :: Grid  a -> Int -> Bool ->  IO ()
+gridSetDefaultRowSize _obj height resizeExistingRows 
+  = withObjectRef "gridSetDefaultRowSize" _obj $ \cobj__obj -> 
+    wxGrid_SetDefaultRowSize cobj__obj  (toCInt height)  (toCBool resizeExistingRows)  
+foreign import ccall "wxGrid_SetDefaultRowSize" wxGrid_SetDefaultRowSize :: Ptr (TGrid a) -> CInt -> CBool -> IO ()
+
+-- | usage: (@gridSetGridCursor obj row col@).
+gridSetGridCursor :: Grid  a -> Int -> Int ->  IO ()
+gridSetGridCursor _obj row col 
+  = withObjectRef "gridSetGridCursor" _obj $ \cobj__obj -> 
+    wxGrid_SetGridCursor cobj__obj  (toCInt row)  (toCInt col)  
+foreign import ccall "wxGrid_SetGridCursor" wxGrid_SetGridCursor :: Ptr (TGrid a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@gridSetGridLineColour obj col@).
+gridSetGridLineColour :: Grid  a -> Color ->  IO ()
+gridSetGridLineColour _obj col 
+  = withObjectRef "gridSetGridLineColour" _obj $ \cobj__obj -> 
+    withColourPtr col $ \cobj_col -> 
+    wxGrid_SetGridLineColour cobj__obj  cobj_col  
+foreign import ccall "wxGrid_SetGridLineColour" wxGrid_SetGridLineColour :: Ptr (TGrid a) -> Ptr (TColour b) -> IO ()
+
+-- | usage: (@gridSetLabelBackgroundColour obj colour@).
+gridSetLabelBackgroundColour :: Grid  a -> Color ->  IO ()
+gridSetLabelBackgroundColour _obj colour 
+  = withObjectRef "gridSetLabelBackgroundColour" _obj $ \cobj__obj -> 
+    withColourPtr colour $ \cobj_colour -> 
+    wxGrid_SetLabelBackgroundColour cobj__obj  cobj_colour  
+foreign import ccall "wxGrid_SetLabelBackgroundColour" wxGrid_SetLabelBackgroundColour :: Ptr (TGrid a) -> Ptr (TColour b) -> IO ()
+
+-- | usage: (@gridSetLabelFont obj font@).
+gridSetLabelFont :: Grid  a -> Font  b ->  IO ()
+gridSetLabelFont _obj font 
+  = withObjectRef "gridSetLabelFont" _obj $ \cobj__obj -> 
+    withObjectPtr font $ \cobj_font -> 
+    wxGrid_SetLabelFont cobj__obj  cobj_font  
+foreign import ccall "wxGrid_SetLabelFont" wxGrid_SetLabelFont :: Ptr (TGrid a) -> Ptr (TFont b) -> IO ()
+
+-- | usage: (@gridSetLabelTextColour obj colour@).
+gridSetLabelTextColour :: Grid  a -> Color ->  IO ()
+gridSetLabelTextColour _obj colour 
+  = withObjectRef "gridSetLabelTextColour" _obj $ \cobj__obj -> 
+    withColourPtr colour $ \cobj_colour -> 
+    wxGrid_SetLabelTextColour cobj__obj  cobj_colour  
+foreign import ccall "wxGrid_SetLabelTextColour" wxGrid_SetLabelTextColour :: Ptr (TGrid a) -> Ptr (TColour b) -> IO ()
+
+-- | usage: (@gridSetMargins obj extraWidth extraHeight@).
+gridSetMargins :: Grid  a -> Int -> Int ->  IO ()
+gridSetMargins _obj extraWidth extraHeight 
+  = withObjectRef "gridSetMargins" _obj $ \cobj__obj -> 
+    wxGrid_SetMargins cobj__obj  (toCInt extraWidth)  (toCInt extraHeight)  
+foreign import ccall "wxGrid_SetMargins" wxGrid_SetMargins :: Ptr (TGrid a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@gridSetReadOnly obj row col isReadOnly@).
+gridSetReadOnly :: Grid  a -> Int -> Int -> Bool ->  IO ()
+gridSetReadOnly _obj row col isReadOnly 
+  = withObjectRef "gridSetReadOnly" _obj $ \cobj__obj -> 
+    wxGrid_SetReadOnly cobj__obj  (toCInt row)  (toCInt col)  (toCBool isReadOnly)  
+foreign import ccall "wxGrid_SetReadOnly" wxGrid_SetReadOnly :: Ptr (TGrid a) -> CInt -> CInt -> CBool -> IO ()
+
+-- | usage: (@gridSetRowAttr obj row attr@).
+gridSetRowAttr :: Grid  a -> Int -> GridCellAttr  c ->  IO ()
+gridSetRowAttr _obj row attr 
+  = withObjectRef "gridSetRowAttr" _obj $ \cobj__obj -> 
+    withObjectPtr attr $ \cobj_attr -> 
+    wxGrid_SetRowAttr cobj__obj  (toCInt row)  cobj_attr  
+foreign import ccall "wxGrid_SetRowAttr" wxGrid_SetRowAttr :: Ptr (TGrid a) -> CInt -> Ptr (TGridCellAttr c) -> IO ()
+
+-- | usage: (@gridSetRowLabelAlignment obj horiz vert@).
+gridSetRowLabelAlignment :: Grid  a -> Int -> Int ->  IO ()
+gridSetRowLabelAlignment _obj horiz vert 
+  = withObjectRef "gridSetRowLabelAlignment" _obj $ \cobj__obj -> 
+    wxGrid_SetRowLabelAlignment cobj__obj  (toCInt horiz)  (toCInt vert)  
+foreign import ccall "wxGrid_SetRowLabelAlignment" wxGrid_SetRowLabelAlignment :: Ptr (TGrid a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@gridSetRowLabelSize obj width@).
+gridSetRowLabelSize :: Grid  a -> Int ->  IO ()
+gridSetRowLabelSize _obj width 
+  = withObjectRef "gridSetRowLabelSize" _obj $ \cobj__obj -> 
+    wxGrid_SetRowLabelSize cobj__obj  (toCInt width)  
+foreign import ccall "wxGrid_SetRowLabelSize" wxGrid_SetRowLabelSize :: Ptr (TGrid a) -> CInt -> IO ()
+
+-- | usage: (@gridSetRowLabelValue obj row label@).
+gridSetRowLabelValue :: Grid  a -> Int -> String ->  IO ()
+gridSetRowLabelValue _obj row label 
+  = withObjectRef "gridSetRowLabelValue" _obj $ \cobj__obj -> 
+    withStringPtr label $ \cobj_label -> 
+    wxGrid_SetRowLabelValue cobj__obj  (toCInt row)  cobj_label  
+foreign import ccall "wxGrid_SetRowLabelValue" wxGrid_SetRowLabelValue :: Ptr (TGrid a) -> CInt -> Ptr (TWxString c) -> IO ()
+
+-- | usage: (@gridSetRowMinimalHeight obj row width@).
+gridSetRowMinimalHeight :: Grid  a -> Int -> Int ->  IO ()
+gridSetRowMinimalHeight _obj row width 
+  = withObjectRef "gridSetRowMinimalHeight" _obj $ \cobj__obj -> 
+    wxGrid_SetRowMinimalHeight cobj__obj  (toCInt row)  (toCInt width)  
+foreign import ccall "wxGrid_SetRowMinimalHeight" wxGrid_SetRowMinimalHeight :: Ptr (TGrid a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@gridSetRowSize obj row height@).
+gridSetRowSize :: Grid  a -> Int -> Int ->  IO ()
+gridSetRowSize _obj row height 
+  = withObjectRef "gridSetRowSize" _obj $ \cobj__obj -> 
+    wxGrid_SetRowSize cobj__obj  (toCInt row)  (toCInt height)  
+foreign import ccall "wxGrid_SetRowSize" wxGrid_SetRowSize :: Ptr (TGrid a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@gridSetSelectionBackground obj c@).
+gridSetSelectionBackground :: Grid  a -> Color ->  IO ()
+gridSetSelectionBackground _obj c 
+  = withObjectRef "gridSetSelectionBackground" _obj $ \cobj__obj -> 
+    withColourPtr c $ \cobj_c -> 
+    wxGrid_SetSelectionBackground cobj__obj  cobj_c  
+foreign import ccall "wxGrid_SetSelectionBackground" wxGrid_SetSelectionBackground :: Ptr (TGrid a) -> Ptr (TColour b) -> IO ()
+
+-- | usage: (@gridSetSelectionForeground obj c@).
+gridSetSelectionForeground :: Grid  a -> Color ->  IO ()
+gridSetSelectionForeground _obj c 
+  = withObjectRef "gridSetSelectionForeground" _obj $ \cobj__obj -> 
+    withColourPtr c $ \cobj_c -> 
+    wxGrid_SetSelectionForeground cobj__obj  cobj_c  
+foreign import ccall "wxGrid_SetSelectionForeground" wxGrid_SetSelectionForeground :: Ptr (TGrid a) -> Ptr (TColour b) -> IO ()
+
+-- | usage: (@gridSetSelectionMode obj selmode@).
+gridSetSelectionMode :: Grid  a -> Int ->  IO ()
+gridSetSelectionMode _obj selmode 
+  = withObjectRef "gridSetSelectionMode" _obj $ \cobj__obj -> 
+    wxGrid_SetSelectionMode cobj__obj  (toCInt selmode)  
+foreign import ccall "wxGrid_SetSelectionMode" wxGrid_SetSelectionMode :: Ptr (TGrid a) -> CInt -> IO ()
+
+-- | usage: (@gridSetTable obj table takeOwnership selmode@).
+gridSetTable :: Grid  a -> GridTableBase  b -> Bool -> Int ->  IO Bool
+gridSetTable _obj table takeOwnership selmode 
+  = withBoolResult $
+    withObjectRef "gridSetTable" _obj $ \cobj__obj -> 
+    withObjectPtr table $ \cobj_table -> 
+    wxGrid_SetTable cobj__obj  cobj_table  (toCBool takeOwnership)  (toCInt selmode)  
+foreign import ccall "wxGrid_SetTable" wxGrid_SetTable :: Ptr (TGrid a) -> Ptr (TGridTableBase b) -> CBool -> CInt -> IO CBool
+
+-- | usage: (@gridShowCellEditControl obj@).
+gridShowCellEditControl :: Grid  a ->  IO ()
+gridShowCellEditControl _obj 
+  = withObjectRef "gridShowCellEditControl" _obj $ \cobj__obj -> 
+    wxGrid_ShowCellEditControl cobj__obj  
+foreign import ccall "wxGrid_ShowCellEditControl" wxGrid_ShowCellEditControl :: Ptr (TGrid a) -> IO ()
+
+-- | usage: (@gridSizeEventAltDown obj@).
+gridSizeEventAltDown :: GridSizeEvent  a ->  IO Bool
+gridSizeEventAltDown _obj 
+  = withBoolResult $
+    withObjectRef "gridSizeEventAltDown" _obj $ \cobj__obj -> 
+    wxGridSizeEvent_AltDown cobj__obj  
+foreign import ccall "wxGridSizeEvent_AltDown" wxGridSizeEvent_AltDown :: Ptr (TGridSizeEvent a) -> IO CBool
+
+-- | usage: (@gridSizeEventControlDown obj@).
+gridSizeEventControlDown :: GridSizeEvent  a ->  IO Bool
+gridSizeEventControlDown _obj 
+  = withBoolResult $
+    withObjectRef "gridSizeEventControlDown" _obj $ \cobj__obj -> 
+    wxGridSizeEvent_ControlDown cobj__obj  
+foreign import ccall "wxGridSizeEvent_ControlDown" wxGridSizeEvent_ControlDown :: Ptr (TGridSizeEvent a) -> IO CBool
+
+-- | usage: (@gridSizeEventGetPosition obj@).
+gridSizeEventGetPosition :: GridSizeEvent  a ->  IO (Point)
+gridSizeEventGetPosition _obj 
+  = withWxPointResult $
+    withObjectRef "gridSizeEventGetPosition" _obj $ \cobj__obj -> 
+    wxGridSizeEvent_GetPosition cobj__obj  
+foreign import ccall "wxGridSizeEvent_GetPosition" wxGridSizeEvent_GetPosition :: Ptr (TGridSizeEvent a) -> IO (Ptr (TWxPoint ()))
+
+-- | usage: (@gridSizeEventGetRowOrCol obj@).
+gridSizeEventGetRowOrCol :: GridSizeEvent  a ->  IO Int
+gridSizeEventGetRowOrCol _obj 
+  = withIntResult $
+    withObjectRef "gridSizeEventGetRowOrCol" _obj $ \cobj__obj -> 
+    wxGridSizeEvent_GetRowOrCol cobj__obj  
+foreign import ccall "wxGridSizeEvent_GetRowOrCol" wxGridSizeEvent_GetRowOrCol :: Ptr (TGridSizeEvent a) -> IO CInt
+
+-- | usage: (@gridSizeEventMetaDown obj@).
+gridSizeEventMetaDown :: GridSizeEvent  a ->  IO Bool
+gridSizeEventMetaDown _obj 
+  = withBoolResult $
+    withObjectRef "gridSizeEventMetaDown" _obj $ \cobj__obj -> 
+    wxGridSizeEvent_MetaDown cobj__obj  
+foreign import ccall "wxGridSizeEvent_MetaDown" wxGridSizeEvent_MetaDown :: Ptr (TGridSizeEvent a) -> IO CBool
+
+-- | usage: (@gridSizeEventShiftDown obj@).
+gridSizeEventShiftDown :: GridSizeEvent  a ->  IO Bool
+gridSizeEventShiftDown _obj 
+  = withBoolResult $
+    withObjectRef "gridSizeEventShiftDown" _obj $ \cobj__obj -> 
+    wxGridSizeEvent_ShiftDown cobj__obj  
+foreign import ccall "wxGridSizeEvent_ShiftDown" wxGridSizeEvent_ShiftDown :: Ptr (TGridSizeEvent a) -> IO CBool
+
+-- | usage: (@gridSizerCalcMin obj@).
+gridSizerCalcMin :: GridSizer  a ->  IO (Size)
+gridSizerCalcMin _obj 
+  = withWxSizeResult $
+    withObjectRef "gridSizerCalcMin" _obj $ \cobj__obj -> 
+    wxGridSizer_CalcMin cobj__obj  
+foreign import ccall "wxGridSizer_CalcMin" wxGridSizer_CalcMin :: Ptr (TGridSizer a) -> IO (Ptr (TWxSize ()))
+
+-- | usage: (@gridSizerCreate rows cols vgap hgap@).
+gridSizerCreate :: Int -> Int -> Int -> Int ->  IO (GridSizer  ())
+gridSizerCreate rows cols vgap hgap 
+  = withObjectResult $
+    wxGridSizer_Create (toCInt rows)  (toCInt cols)  (toCInt vgap)  (toCInt hgap)  
+foreign import ccall "wxGridSizer_Create" wxGridSizer_Create :: CInt -> CInt -> CInt -> CInt -> IO (Ptr (TGridSizer ()))
+
+-- | usage: (@gridSizerGetCols obj@).
+gridSizerGetCols :: GridSizer  a ->  IO Int
+gridSizerGetCols _obj 
+  = withIntResult $
+    withObjectRef "gridSizerGetCols" _obj $ \cobj__obj -> 
+    wxGridSizer_GetCols cobj__obj  
+foreign import ccall "wxGridSizer_GetCols" wxGridSizer_GetCols :: Ptr (TGridSizer a) -> IO CInt
+
+-- | usage: (@gridSizerGetHGap obj@).
+gridSizerGetHGap :: GridSizer  a ->  IO Int
+gridSizerGetHGap _obj 
+  = withIntResult $
+    withObjectRef "gridSizerGetHGap" _obj $ \cobj__obj -> 
+    wxGridSizer_GetHGap cobj__obj  
+foreign import ccall "wxGridSizer_GetHGap" wxGridSizer_GetHGap :: Ptr (TGridSizer a) -> IO CInt
+
+-- | usage: (@gridSizerGetRows obj@).
+gridSizerGetRows :: GridSizer  a ->  IO Int
+gridSizerGetRows _obj 
+  = withIntResult $
+    withObjectRef "gridSizerGetRows" _obj $ \cobj__obj -> 
+    wxGridSizer_GetRows cobj__obj  
+foreign import ccall "wxGridSizer_GetRows" wxGridSizer_GetRows :: Ptr (TGridSizer a) -> IO CInt
+
+-- | usage: (@gridSizerGetVGap obj@).
+gridSizerGetVGap :: GridSizer  a ->  IO Int
+gridSizerGetVGap _obj 
+  = withIntResult $
+    withObjectRef "gridSizerGetVGap" _obj $ \cobj__obj -> 
+    wxGridSizer_GetVGap cobj__obj  
+foreign import ccall "wxGridSizer_GetVGap" wxGridSizer_GetVGap :: Ptr (TGridSizer a) -> IO CInt
+
+-- | usage: (@gridSizerRecalcSizes obj@).
+gridSizerRecalcSizes :: GridSizer  a ->  IO ()
+gridSizerRecalcSizes _obj 
+  = withObjectRef "gridSizerRecalcSizes" _obj $ \cobj__obj -> 
+    wxGridSizer_RecalcSizes cobj__obj  
+foreign import ccall "wxGridSizer_RecalcSizes" wxGridSizer_RecalcSizes :: Ptr (TGridSizer a) -> IO ()
+
+-- | usage: (@gridSizerSetCols obj cols@).
+gridSizerSetCols :: GridSizer  a -> Int ->  IO ()
+gridSizerSetCols _obj cols 
+  = withObjectRef "gridSizerSetCols" _obj $ \cobj__obj -> 
+    wxGridSizer_SetCols cobj__obj  (toCInt cols)  
+foreign import ccall "wxGridSizer_SetCols" wxGridSizer_SetCols :: Ptr (TGridSizer a) -> CInt -> IO ()
+
+-- | usage: (@gridSizerSetHGap obj gap@).
+gridSizerSetHGap :: GridSizer  a -> Int ->  IO ()
+gridSizerSetHGap _obj gap 
+  = withObjectRef "gridSizerSetHGap" _obj $ \cobj__obj -> 
+    wxGridSizer_SetHGap cobj__obj  (toCInt gap)  
+foreign import ccall "wxGridSizer_SetHGap" wxGridSizer_SetHGap :: Ptr (TGridSizer a) -> CInt -> IO ()
+
+-- | usage: (@gridSizerSetRows obj rows@).
+gridSizerSetRows :: GridSizer  a -> Int ->  IO ()
+gridSizerSetRows _obj rows 
+  = withObjectRef "gridSizerSetRows" _obj $ \cobj__obj -> 
+    wxGridSizer_SetRows cobj__obj  (toCInt rows)  
+foreign import ccall "wxGridSizer_SetRows" wxGridSizer_SetRows :: Ptr (TGridSizer a) -> CInt -> IO ()
+
+-- | usage: (@gridSizerSetVGap obj gap@).
+gridSizerSetVGap :: GridSizer  a -> Int ->  IO ()
+gridSizerSetVGap _obj gap 
+  = withObjectRef "gridSizerSetVGap" _obj $ \cobj__obj -> 
+    wxGridSizer_SetVGap cobj__obj  (toCInt gap)  
+foreign import ccall "wxGridSizer_SetVGap" wxGridSizer_SetVGap :: Ptr (TGridSizer a) -> CInt -> IO ()
+
+-- | usage: (@gridStringToLines obj value lines@).
+gridStringToLines :: Grid  a -> String -> Ptr  c ->  IO Int
+gridStringToLines _obj value lines 
+  = withIntResult $
+    withObjectRef "gridStringToLines" _obj $ \cobj__obj -> 
+    withStringPtr value $ \cobj_value -> 
+    wxGrid_StringToLines cobj__obj  cobj_value  lines  
+foreign import ccall "wxGrid_StringToLines" wxGrid_StringToLines :: Ptr (TGrid a) -> Ptr (TWxString b) -> Ptr  c -> IO CInt
+
+-- | usage: (@gridXToCol obj x@).
+gridXToCol :: Grid  a -> Int ->  IO Int
+gridXToCol _obj x 
+  = withIntResult $
+    withObjectRef "gridXToCol" _obj $ \cobj__obj -> 
+    wxGrid_XToCol cobj__obj  (toCInt x)  
+foreign import ccall "wxGrid_XToCol" wxGrid_XToCol :: Ptr (TGrid a) -> CInt -> IO CInt
+
+-- | usage: (@gridXToEdgeOfCol obj x@).
+gridXToEdgeOfCol :: Grid  a -> Int ->  IO Int
+gridXToEdgeOfCol _obj x 
+  = withIntResult $
+    withObjectRef "gridXToEdgeOfCol" _obj $ \cobj__obj -> 
+    wxGrid_XToEdgeOfCol cobj__obj  (toCInt x)  
+foreign import ccall "wxGrid_XToEdgeOfCol" wxGrid_XToEdgeOfCol :: Ptr (TGrid a) -> CInt -> IO CInt
+
+-- | usage: (@gridXYToCell obj xy@).
+gridXYToCell :: Grid  a -> Point ->  IO Point
+gridXYToCell _obj xy 
+  = withPointResult $ \px py -> 
+    withObjectRef "gridXYToCell" _obj $ \cobj__obj -> 
+    wxGrid_XYToCell cobj__obj  (toCIntPointX xy) (toCIntPointY xy)   px py
+foreign import ccall "wxGrid_XYToCell" wxGrid_XYToCell :: Ptr (TGrid a) -> CInt -> CInt -> Ptr CInt -> Ptr CInt -> IO ()
+
+-- | usage: (@gridYToEdgeOfRow obj y@).
+gridYToEdgeOfRow :: Grid  a -> Int ->  IO Int
+gridYToEdgeOfRow _obj y 
+  = withIntResult $
+    withObjectRef "gridYToEdgeOfRow" _obj $ \cobj__obj -> 
+    wxGrid_YToEdgeOfRow cobj__obj  (toCInt y)  
+foreign import ccall "wxGrid_YToEdgeOfRow" wxGrid_YToEdgeOfRow :: Ptr (TGrid a) -> CInt -> IO CInt
+
+-- | usage: (@gridYToRow obj y@).
+gridYToRow :: Grid  a -> Int ->  IO Int
+gridYToRow _obj y 
+  = withIntResult $
+    withObjectRef "gridYToRow" _obj $ \cobj__obj -> 
+    wxGrid_YToRow cobj__obj  (toCInt y)  
+foreign import ccall "wxGrid_YToRow" wxGrid_YToRow :: Ptr (TGrid a) -> CInt -> IO CInt
+
+-- | usage: (@helpControllerHelpProviderCreate ctr@).
+helpControllerHelpProviderCreate :: HelpControllerBase  a ->  IO (HelpControllerHelpProvider  ())
+helpControllerHelpProviderCreate ctr 
+  = withObjectResult $
+    withObjectPtr ctr $ \cobj_ctr -> 
+    wxHelpControllerHelpProvider_Create cobj_ctr  
+foreign import ccall "wxHelpControllerHelpProvider_Create" wxHelpControllerHelpProvider_Create :: Ptr (THelpControllerBase a) -> IO (Ptr (THelpControllerHelpProvider ()))
+
+-- | usage: (@helpControllerHelpProviderGetHelpController obj@).
+helpControllerHelpProviderGetHelpController :: HelpControllerHelpProvider  a ->  IO (HelpControllerBase  ())
+helpControllerHelpProviderGetHelpController _obj 
+  = withObjectResult $
+    withObjectRef "helpControllerHelpProviderGetHelpController" _obj $ \cobj__obj -> 
+    wxHelpControllerHelpProvider_GetHelpController cobj__obj  
+foreign import ccall "wxHelpControllerHelpProvider_GetHelpController" wxHelpControllerHelpProvider_GetHelpController :: Ptr (THelpControllerHelpProvider a) -> IO (Ptr (THelpControllerBase ()))
+
+-- | usage: (@helpControllerHelpProviderSetHelpController obj hc@).
+helpControllerHelpProviderSetHelpController :: HelpControllerHelpProvider  a -> HelpController  b ->  IO ()
+helpControllerHelpProviderSetHelpController _obj hc 
+  = withObjectRef "helpControllerHelpProviderSetHelpController" _obj $ \cobj__obj -> 
+    withObjectPtr hc $ \cobj_hc -> 
+    wxHelpControllerHelpProvider_SetHelpController cobj__obj  cobj_hc  
+foreign import ccall "wxHelpControllerHelpProvider_SetHelpController" wxHelpControllerHelpProvider_SetHelpController :: Ptr (THelpControllerHelpProvider a) -> Ptr (THelpController b) -> IO ()
+
+-- | usage: (@helpEventGetLink obj@).
+helpEventGetLink :: HelpEvent  a ->  IO (String)
+helpEventGetLink _obj 
+  = withManagedStringResult $
+    withObjectRef "helpEventGetLink" _obj $ \cobj__obj -> 
+    wxHelpEvent_GetLink cobj__obj  
+foreign import ccall "wxHelpEvent_GetLink" wxHelpEvent_GetLink :: Ptr (THelpEvent a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@helpEventGetPosition obj@).
+helpEventGetPosition :: HelpEvent  a ->  IO (Point)
+helpEventGetPosition _obj 
+  = withWxPointResult $
+    withObjectRef "helpEventGetPosition" _obj $ \cobj__obj -> 
+    wxHelpEvent_GetPosition cobj__obj  
+foreign import ccall "wxHelpEvent_GetPosition" wxHelpEvent_GetPosition :: Ptr (THelpEvent a) -> IO (Ptr (TWxPoint ()))
+
+-- | usage: (@helpEventGetTarget obj@).
+helpEventGetTarget :: HelpEvent  a ->  IO (String)
+helpEventGetTarget _obj 
+  = withManagedStringResult $
+    withObjectRef "helpEventGetTarget" _obj $ \cobj__obj -> 
+    wxHelpEvent_GetTarget cobj__obj  
+foreign import ccall "wxHelpEvent_GetTarget" wxHelpEvent_GetTarget :: Ptr (THelpEvent a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@helpEventSetLink obj link@).
+helpEventSetLink :: HelpEvent  a -> String ->  IO ()
+helpEventSetLink _obj link 
+  = withObjectRef "helpEventSetLink" _obj $ \cobj__obj -> 
+    withStringPtr link $ \cobj_link -> 
+    wxHelpEvent_SetLink cobj__obj  cobj_link  
+foreign import ccall "wxHelpEvent_SetLink" wxHelpEvent_SetLink :: Ptr (THelpEvent a) -> Ptr (TWxString b) -> IO ()
+
+-- | usage: (@helpEventSetPosition obj xy@).
+helpEventSetPosition :: HelpEvent  a -> Point ->  IO ()
+helpEventSetPosition _obj xy 
+  = withObjectRef "helpEventSetPosition" _obj $ \cobj__obj -> 
+    wxHelpEvent_SetPosition cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  
+foreign import ccall "wxHelpEvent_SetPosition" wxHelpEvent_SetPosition :: Ptr (THelpEvent a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@helpEventSetTarget obj target@).
+helpEventSetTarget :: HelpEvent  a -> String ->  IO ()
+helpEventSetTarget _obj target 
+  = withObjectRef "helpEventSetTarget" _obj $ \cobj__obj -> 
+    withStringPtr target $ \cobj_target -> 
+    wxHelpEvent_SetTarget cobj__obj  cobj_target  
+foreign import ccall "wxHelpEvent_SetTarget" wxHelpEvent_SetTarget :: Ptr (THelpEvent a) -> Ptr (TWxString b) -> IO ()
+
+-- | usage: (@helpProviderAddHelp obj window text@).
+helpProviderAddHelp :: HelpProvider  a -> Window  b -> String ->  IO ()
+helpProviderAddHelp _obj window text 
+  = withObjectRef "helpProviderAddHelp" _obj $ \cobj__obj -> 
+    withObjectPtr window $ \cobj_window -> 
+    withStringPtr text $ \cobj_text -> 
+    wxHelpProvider_AddHelp cobj__obj  cobj_window  cobj_text  
+foreign import ccall "wxHelpProvider_AddHelp" wxHelpProvider_AddHelp :: Ptr (THelpProvider a) -> Ptr (TWindow b) -> Ptr (TWxString c) -> IO ()
+
+-- | usage: (@helpProviderAddHelpById obj id text@).
+helpProviderAddHelpById :: HelpProvider  a -> Id -> String ->  IO ()
+helpProviderAddHelpById _obj id text 
+  = withObjectRef "helpProviderAddHelpById" _obj $ \cobj__obj -> 
+    withStringPtr text $ \cobj_text -> 
+    wxHelpProvider_AddHelpById cobj__obj  (toCInt id)  cobj_text  
+foreign import ccall "wxHelpProvider_AddHelpById" wxHelpProvider_AddHelpById :: Ptr (THelpProvider a) -> CInt -> Ptr (TWxString c) -> IO ()
+
+-- | usage: (@helpProviderDelete obj@).
+helpProviderDelete :: HelpProvider  a ->  IO ()
+helpProviderDelete _obj 
+  = withObjectRef "helpProviderDelete" _obj $ \cobj__obj -> 
+    wxHelpProvider_Delete cobj__obj  
+foreign import ccall "wxHelpProvider_Delete" wxHelpProvider_Delete :: Ptr (THelpProvider a) -> IO ()
+
+-- | usage: (@helpProviderGet@).
+helpProviderGet ::  IO (HelpProvider  ())
+helpProviderGet 
+  = withObjectResult $
+    wxHelpProvider_Get 
+foreign import ccall "wxHelpProvider_Get" wxHelpProvider_Get :: IO (Ptr (THelpProvider ()))
+
+-- | usage: (@helpProviderGetHelp obj window@).
+helpProviderGetHelp :: HelpProvider  a -> Window  b ->  IO (String)
+helpProviderGetHelp _obj window 
+  = withManagedStringResult $
+    withObjectRef "helpProviderGetHelp" _obj $ \cobj__obj -> 
+    withObjectPtr window $ \cobj_window -> 
+    wxHelpProvider_GetHelp cobj__obj  cobj_window  
+foreign import ccall "wxHelpProvider_GetHelp" wxHelpProvider_GetHelp :: Ptr (THelpProvider a) -> Ptr (TWindow b) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@helpProviderRemoveHelp obj window@).
+helpProviderRemoveHelp :: HelpProvider  a -> Window  b ->  IO ()
+helpProviderRemoveHelp _obj window 
+  = withObjectRef "helpProviderRemoveHelp" _obj $ \cobj__obj -> 
+    withObjectPtr window $ \cobj_window -> 
+    wxHelpProvider_RemoveHelp cobj__obj  cobj_window  
+foreign import ccall "wxHelpProvider_RemoveHelp" wxHelpProvider_RemoveHelp :: Ptr (THelpProvider a) -> Ptr (TWindow b) -> IO ()
+
+-- | usage: (@helpProviderSet helpProvider@).
+helpProviderSet :: HelpProvider  a ->  IO (HelpProvider  ())
+helpProviderSet helpProvider 
+  = withObjectResult $
+    withObjectRef "helpProviderSet" helpProvider $ \cobj_helpProvider -> 
+    wxHelpProvider_Set cobj_helpProvider  
+foreign import ccall "wxHelpProvider_Set" wxHelpProvider_Set :: Ptr (THelpProvider a) -> IO (Ptr (THelpProvider ()))
+
+-- | usage: (@helpProviderShowHelp obj window@).
+helpProviderShowHelp :: HelpProvider  a -> Window  b ->  IO Bool
+helpProviderShowHelp _obj window 
+  = withBoolResult $
+    withObjectRef "helpProviderShowHelp" _obj $ \cobj__obj -> 
+    withObjectPtr window $ \cobj_window -> 
+    wxHelpProvider_ShowHelp cobj__obj  cobj_window  
+foreign import ccall "wxHelpProvider_ShowHelp" wxHelpProvider_ShowHelp :: Ptr (THelpProvider a) -> Ptr (TWindow b) -> IO CBool
+
+-- | usage: (@htmlHelpControllerAddBook obj book showwaitmsg@).
+htmlHelpControllerAddBook :: HtmlHelpController  a -> Ptr  b -> Int ->  IO Bool
+htmlHelpControllerAddBook _obj book showwaitmsg 
+  = withBoolResult $
+    withObjectRef "htmlHelpControllerAddBook" _obj $ \cobj__obj -> 
+    wxHtmlHelpController_AddBook cobj__obj  book  (toCInt showwaitmsg)  
+foreign import ccall "wxHtmlHelpController_AddBook" wxHtmlHelpController_AddBook :: Ptr (THtmlHelpController a) -> Ptr  b -> CInt -> IO CBool
+
+-- | usage: (@htmlHelpControllerCreate style@).
+htmlHelpControllerCreate :: Int ->  IO (HtmlHelpController  ())
+htmlHelpControllerCreate _style 
+  = withObjectResult $
+    wxHtmlHelpController_Create (toCInt _style)  
+foreign import ccall "wxHtmlHelpController_Create" wxHtmlHelpController_Create :: CInt -> IO (Ptr (THtmlHelpController ()))
+
+-- | usage: (@htmlHelpControllerDelete obj@).
+htmlHelpControllerDelete :: HtmlHelpController  a ->  IO ()
+htmlHelpControllerDelete
+  = objectDelete
+
+
+-- | usage: (@htmlHelpControllerDisplay obj x@).
+htmlHelpControllerDisplay :: HtmlHelpController  a -> Ptr  b ->  IO Int
+htmlHelpControllerDisplay _obj x 
+  = withIntResult $
+    withObjectRef "htmlHelpControllerDisplay" _obj $ \cobj__obj -> 
+    wxHtmlHelpController_Display cobj__obj  x  
+foreign import ccall "wxHtmlHelpController_Display" wxHtmlHelpController_Display :: Ptr (THtmlHelpController a) -> Ptr  b -> IO CInt
+
+-- | usage: (@htmlHelpControllerDisplayBlock obj blockNo@).
+htmlHelpControllerDisplayBlock :: HtmlHelpController  a -> Int ->  IO Bool
+htmlHelpControllerDisplayBlock _obj blockNo 
+  = withBoolResult $
+    withObjectRef "htmlHelpControllerDisplayBlock" _obj $ \cobj__obj -> 
+    wxHtmlHelpController_DisplayBlock cobj__obj  (toCInt blockNo)  
+foreign import ccall "wxHtmlHelpController_DisplayBlock" wxHtmlHelpController_DisplayBlock :: Ptr (THtmlHelpController a) -> CInt -> IO CBool
+
+-- | usage: (@htmlHelpControllerDisplayContents obj@).
+htmlHelpControllerDisplayContents :: HtmlHelpController  a ->  IO Int
+htmlHelpControllerDisplayContents _obj 
+  = withIntResult $
+    withObjectRef "htmlHelpControllerDisplayContents" _obj $ \cobj__obj -> 
+    wxHtmlHelpController_DisplayContents cobj__obj  
+foreign import ccall "wxHtmlHelpController_DisplayContents" wxHtmlHelpController_DisplayContents :: Ptr (THtmlHelpController a) -> IO CInt
+
+-- | usage: (@htmlHelpControllerDisplayIndex obj@).
+htmlHelpControllerDisplayIndex :: HtmlHelpController  a ->  IO Int
+htmlHelpControllerDisplayIndex _obj 
+  = withIntResult $
+    withObjectRef "htmlHelpControllerDisplayIndex" _obj $ \cobj__obj -> 
+    wxHtmlHelpController_DisplayIndex cobj__obj  
+foreign import ccall "wxHtmlHelpController_DisplayIndex" wxHtmlHelpController_DisplayIndex :: Ptr (THtmlHelpController a) -> IO CInt
+
+-- | usage: (@htmlHelpControllerDisplayNumber obj id@).
+htmlHelpControllerDisplayNumber :: HtmlHelpController  a -> Id ->  IO Int
+htmlHelpControllerDisplayNumber _obj id 
+  = withIntResult $
+    withObjectRef "htmlHelpControllerDisplayNumber" _obj $ \cobj__obj -> 
+    wxHtmlHelpController_DisplayNumber cobj__obj  (toCInt id)  
+foreign import ccall "wxHtmlHelpController_DisplayNumber" wxHtmlHelpController_DisplayNumber :: Ptr (THtmlHelpController a) -> CInt -> IO CInt
+
+-- | usage: (@htmlHelpControllerDisplaySection obj section@).
+htmlHelpControllerDisplaySection :: HtmlHelpController  a -> String ->  IO Bool
+htmlHelpControllerDisplaySection _obj section 
+  = withBoolResult $
+    withObjectRef "htmlHelpControllerDisplaySection" _obj $ \cobj__obj -> 
+    withStringPtr section $ \cobj_section -> 
+    wxHtmlHelpController_DisplaySection cobj__obj  cobj_section  
+foreign import ccall "wxHtmlHelpController_DisplaySection" wxHtmlHelpController_DisplaySection :: Ptr (THtmlHelpController a) -> Ptr (TWxString b) -> IO CBool
+
+-- | usage: (@htmlHelpControllerDisplaySectionNumber obj sectionNo@).
+htmlHelpControllerDisplaySectionNumber :: HtmlHelpController  a -> Int ->  IO Bool
+htmlHelpControllerDisplaySectionNumber _obj sectionNo 
+  = withBoolResult $
+    withObjectRef "htmlHelpControllerDisplaySectionNumber" _obj $ \cobj__obj -> 
+    wxHtmlHelpController_DisplaySectionNumber cobj__obj  (toCInt sectionNo)  
+foreign import ccall "wxHtmlHelpController_DisplaySectionNumber" wxHtmlHelpController_DisplaySectionNumber :: Ptr (THtmlHelpController a) -> CInt -> IO CBool
+
+-- | usage: (@htmlHelpControllerGetFrame obj@).
+htmlHelpControllerGetFrame :: HtmlHelpController  a ->  IO (Frame  ())
+htmlHelpControllerGetFrame _obj 
+  = withObjectResult $
+    withObjectRef "htmlHelpControllerGetFrame" _obj $ \cobj__obj -> 
+    wxHtmlHelpController_GetFrame cobj__obj  
+foreign import ccall "wxHtmlHelpController_GetFrame" wxHtmlHelpController_GetFrame :: Ptr (THtmlHelpController a) -> IO (Ptr (TFrame ()))
+
+-- | usage: (@htmlHelpControllerGetFrameParameters obj title width height posx posy newFrameEachTime@).
+htmlHelpControllerGetFrameParameters :: HtmlHelpController  a -> Ptr  b -> Ptr CInt -> Ptr CInt -> Ptr CInt -> Ptr CInt -> Ptr CInt ->  IO (Ptr  ())
+htmlHelpControllerGetFrameParameters _obj title width height posx posy newFrameEachTime 
+  = withObjectRef "htmlHelpControllerGetFrameParameters" _obj $ \cobj__obj -> 
+    wxHtmlHelpController_GetFrameParameters cobj__obj  title  width  height  posx  posy  newFrameEachTime  
+foreign import ccall "wxHtmlHelpController_GetFrameParameters" wxHtmlHelpController_GetFrameParameters :: Ptr (THtmlHelpController a) -> Ptr  b -> Ptr CInt -> Ptr CInt -> Ptr CInt -> Ptr CInt -> Ptr CInt -> IO (Ptr  ())
+
+-- | usage: (@htmlHelpControllerInitialize obj file@).
+htmlHelpControllerInitialize :: HtmlHelpController  a -> String ->  IO Bool
+htmlHelpControllerInitialize _obj file 
+  = withBoolResult $
+    withObjectRef "htmlHelpControllerInitialize" _obj $ \cobj__obj -> 
+    withStringPtr file $ \cobj_file -> 
+    wxHtmlHelpController_Initialize cobj__obj  cobj_file  
+foreign import ccall "wxHtmlHelpController_Initialize" wxHtmlHelpController_Initialize :: Ptr (THtmlHelpController a) -> Ptr (TWxString b) -> IO CBool
+
+-- | usage: (@htmlHelpControllerKeywordSearch obj keyword@).
+htmlHelpControllerKeywordSearch :: HtmlHelpController  a -> String ->  IO Bool
+htmlHelpControllerKeywordSearch _obj keyword 
+  = withBoolResult $
+    withObjectRef "htmlHelpControllerKeywordSearch" _obj $ \cobj__obj -> 
+    withStringPtr keyword $ \cobj_keyword -> 
+    wxHtmlHelpController_KeywordSearch cobj__obj  cobj_keyword  
+foreign import ccall "wxHtmlHelpController_KeywordSearch" wxHtmlHelpController_KeywordSearch :: Ptr (THtmlHelpController a) -> Ptr (TWxString b) -> IO CBool
+
+-- | usage: (@htmlHelpControllerLoadFile obj file@).
+htmlHelpControllerLoadFile :: HtmlHelpController  a -> String ->  IO Bool
+htmlHelpControllerLoadFile _obj file 
+  = withBoolResult $
+    withObjectRef "htmlHelpControllerLoadFile" _obj $ \cobj__obj -> 
+    withStringPtr file $ \cobj_file -> 
+    wxHtmlHelpController_LoadFile cobj__obj  cobj_file  
+foreign import ccall "wxHtmlHelpController_LoadFile" wxHtmlHelpController_LoadFile :: Ptr (THtmlHelpController a) -> Ptr (TWxString b) -> IO CBool
+
+-- | usage: (@htmlHelpControllerQuit obj@).
+htmlHelpControllerQuit :: HtmlHelpController  a ->  IO Bool
+htmlHelpControllerQuit _obj 
+  = withBoolResult $
+    withObjectRef "htmlHelpControllerQuit" _obj $ \cobj__obj -> 
+    wxHtmlHelpController_Quit cobj__obj  
+foreign import ccall "wxHtmlHelpController_Quit" wxHtmlHelpController_Quit :: Ptr (THtmlHelpController a) -> IO CBool
+
+-- | usage: (@htmlHelpControllerReadCustomization obj cfg path@).
+htmlHelpControllerReadCustomization :: HtmlHelpController  a -> ConfigBase  b -> String ->  IO ()
+htmlHelpControllerReadCustomization _obj cfg path 
+  = withObjectRef "htmlHelpControllerReadCustomization" _obj $ \cobj__obj -> 
+    withObjectPtr cfg $ \cobj_cfg -> 
+    withStringPtr path $ \cobj_path -> 
+    wxHtmlHelpController_ReadCustomization cobj__obj  cobj_cfg  cobj_path  
+foreign import ccall "wxHtmlHelpController_ReadCustomization" wxHtmlHelpController_ReadCustomization :: Ptr (THtmlHelpController a) -> Ptr (TConfigBase b) -> Ptr (TWxString c) -> IO ()
+
+-- | usage: (@htmlHelpControllerSetFrameParameters obj title widthheight posx posy newFrameEachTime@).
+htmlHelpControllerSetFrameParameters :: HtmlHelpController  a -> Ptr  b -> Size -> Int -> Int -> Bool ->  IO ()
+htmlHelpControllerSetFrameParameters _obj title widthheight posx posy newFrameEachTime 
+  = withObjectRef "htmlHelpControllerSetFrameParameters" _obj $ \cobj__obj -> 
+    wxHtmlHelpController_SetFrameParameters cobj__obj  title  (toCIntSizeW widthheight) (toCIntSizeH widthheight)  (toCInt posx)  (toCInt posy)  (toCBool newFrameEachTime)  
+foreign import ccall "wxHtmlHelpController_SetFrameParameters" wxHtmlHelpController_SetFrameParameters :: Ptr (THtmlHelpController a) -> Ptr  b -> CInt -> CInt -> CInt -> CInt -> CBool -> IO ()
+
+-- | usage: (@htmlHelpControllerSetTempDir obj path@).
+htmlHelpControllerSetTempDir :: HtmlHelpController  a -> String ->  IO ()
+htmlHelpControllerSetTempDir _obj path 
+  = withObjectRef "htmlHelpControllerSetTempDir" _obj $ \cobj__obj -> 
+    withStringPtr path $ \cobj_path -> 
+    wxHtmlHelpController_SetTempDir cobj__obj  cobj_path  
+foreign import ccall "wxHtmlHelpController_SetTempDir" wxHtmlHelpController_SetTempDir :: Ptr (THtmlHelpController a) -> Ptr (TWxString b) -> IO ()
+
+-- | usage: (@htmlHelpControllerSetTitleFormat obj format@).
+htmlHelpControllerSetTitleFormat :: HtmlHelpController  a -> Ptr  b ->  IO ()
+htmlHelpControllerSetTitleFormat _obj format 
+  = withObjectRef "htmlHelpControllerSetTitleFormat" _obj $ \cobj__obj -> 
+    wxHtmlHelpController_SetTitleFormat cobj__obj  format  
+foreign import ccall "wxHtmlHelpController_SetTitleFormat" wxHtmlHelpController_SetTitleFormat :: Ptr (THtmlHelpController a) -> Ptr  b -> IO ()
+
+-- | usage: (@htmlHelpControllerSetViewer obj viewer flags@).
+htmlHelpControllerSetViewer :: HtmlHelpController  a -> String -> Int ->  IO ()
+htmlHelpControllerSetViewer _obj viewer flags 
+  = withObjectRef "htmlHelpControllerSetViewer" _obj $ \cobj__obj -> 
+    withStringPtr viewer $ \cobj_viewer -> 
+    wxHtmlHelpController_SetViewer cobj__obj  cobj_viewer  (toCInt flags)  
+foreign import ccall "wxHtmlHelpController_SetViewer" wxHtmlHelpController_SetViewer :: Ptr (THtmlHelpController a) -> Ptr (TWxString b) -> CInt -> IO ()
+
+-- | usage: (@htmlHelpControllerUseConfig obj config rootpath@).
+htmlHelpControllerUseConfig :: HtmlHelpController  a -> ConfigBase  b -> String ->  IO ()
+htmlHelpControllerUseConfig _obj config rootpath 
+  = withObjectRef "htmlHelpControllerUseConfig" _obj $ \cobj__obj -> 
+    withObjectPtr config $ \cobj_config -> 
+    withStringPtr rootpath $ \cobj_rootpath -> 
+    wxHtmlHelpController_UseConfig cobj__obj  cobj_config  cobj_rootpath  
+foreign import ccall "wxHtmlHelpController_UseConfig" wxHtmlHelpController_UseConfig :: Ptr (THtmlHelpController a) -> Ptr (TConfigBase b) -> Ptr (TWxString c) -> IO ()
+
+-- | usage: (@htmlHelpControllerWriteCustomization obj cfg path@).
+htmlHelpControllerWriteCustomization :: HtmlHelpController  a -> ConfigBase  b -> String ->  IO ()
+htmlHelpControllerWriteCustomization _obj cfg path 
+  = withObjectRef "htmlHelpControllerWriteCustomization" _obj $ \cobj__obj -> 
+    withObjectPtr cfg $ \cobj_cfg -> 
+    withStringPtr path $ \cobj_path -> 
+    wxHtmlHelpController_WriteCustomization cobj__obj  cobj_cfg  cobj_path  
+foreign import ccall "wxHtmlHelpController_WriteCustomization" wxHtmlHelpController_WriteCustomization :: Ptr (THtmlHelpController a) -> Ptr (TConfigBase b) -> Ptr (TWxString c) -> IO ()
+
+-- | usage: (@htmlWindowAppendToPage obj source@).
+htmlWindowAppendToPage :: HtmlWindow  a -> String ->  IO Bool
+htmlWindowAppendToPage _obj source 
+  = withBoolResult $
+    withObjectRef "htmlWindowAppendToPage" _obj $ \cobj__obj -> 
+    withStringPtr source $ \cobj_source -> 
+    wxHtmlWindow_AppendToPage cobj__obj  cobj_source  
+foreign import ccall "wxHtmlWindow_AppendToPage" wxHtmlWindow_AppendToPage :: Ptr (THtmlWindow a) -> Ptr (TWxString b) -> IO CBool
+
+-- | usage: (@htmlWindowCreate prt id lfttopwdthgt stl txt@).
+htmlWindowCreate :: Window  a -> Id -> Rect -> Style -> String ->  IO (HtmlWindow  ())
+htmlWindowCreate _prt _id _lfttopwdthgt _stl _txt 
+  = withObjectResult $
+    withObjectPtr _prt $ \cobj__prt -> 
+    withStringPtr _txt $ \cobj__txt -> 
+    wxHtmlWindow_Create cobj__prt  (toCInt _id)  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  (toCInt _stl)  cobj__txt  
+foreign import ccall "wxHtmlWindow_Create" wxHtmlWindow_Create :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> Ptr (TWxString e) -> IO (Ptr (THtmlWindow ()))
+
+-- | usage: (@htmlWindowGetInternalRepresentation obj@).
+htmlWindowGetInternalRepresentation :: HtmlWindow  a ->  IO (HtmlContainerCell  ())
+htmlWindowGetInternalRepresentation _obj 
+  = withObjectResult $
+    withObjectRef "htmlWindowGetInternalRepresentation" _obj $ \cobj__obj -> 
+    wxHtmlWindow_GetInternalRepresentation cobj__obj  
+foreign import ccall "wxHtmlWindow_GetInternalRepresentation" wxHtmlWindow_GetInternalRepresentation :: Ptr (THtmlWindow a) -> IO (Ptr (THtmlContainerCell ()))
+
+-- | usage: (@htmlWindowGetOpenedAnchor obj@).
+htmlWindowGetOpenedAnchor :: HtmlWindow  a ->  IO (String)
+htmlWindowGetOpenedAnchor _obj 
+  = withManagedStringResult $
+    withObjectRef "htmlWindowGetOpenedAnchor" _obj $ \cobj__obj -> 
+    wxHtmlWindow_GetOpenedAnchor cobj__obj  
+foreign import ccall "wxHtmlWindow_GetOpenedAnchor" wxHtmlWindow_GetOpenedAnchor :: Ptr (THtmlWindow a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@htmlWindowGetOpenedPage obj@).
+htmlWindowGetOpenedPage :: HtmlWindow  a ->  IO (String)
+htmlWindowGetOpenedPage _obj 
+  = withManagedStringResult $
+    withObjectRef "htmlWindowGetOpenedPage" _obj $ \cobj__obj -> 
+    wxHtmlWindow_GetOpenedPage cobj__obj  
+foreign import ccall "wxHtmlWindow_GetOpenedPage" wxHtmlWindow_GetOpenedPage :: Ptr (THtmlWindow a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@htmlWindowGetOpenedPageTitle obj@).
+htmlWindowGetOpenedPageTitle :: HtmlWindow  a ->  IO (String)
+htmlWindowGetOpenedPageTitle _obj 
+  = withManagedStringResult $
+    withObjectRef "htmlWindowGetOpenedPageTitle" _obj $ \cobj__obj -> 
+    wxHtmlWindow_GetOpenedPageTitle cobj__obj  
+foreign import ccall "wxHtmlWindow_GetOpenedPageTitle" wxHtmlWindow_GetOpenedPageTitle :: Ptr (THtmlWindow a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@htmlWindowGetRelatedFrame obj@).
+htmlWindowGetRelatedFrame :: HtmlWindow  a ->  IO (Frame  ())
+htmlWindowGetRelatedFrame _obj 
+  = withObjectResult $
+    withObjectRef "htmlWindowGetRelatedFrame" _obj $ \cobj__obj -> 
+    wxHtmlWindow_GetRelatedFrame cobj__obj  
+foreign import ccall "wxHtmlWindow_GetRelatedFrame" wxHtmlWindow_GetRelatedFrame :: Ptr (THtmlWindow a) -> IO (Ptr (TFrame ()))
+
+-- | usage: (@htmlWindowHistoryBack obj@).
+htmlWindowHistoryBack :: HtmlWindow  a ->  IO Bool
+htmlWindowHistoryBack _obj 
+  = withBoolResult $
+    withObjectRef "htmlWindowHistoryBack" _obj $ \cobj__obj -> 
+    wxHtmlWindow_HistoryBack cobj__obj  
+foreign import ccall "wxHtmlWindow_HistoryBack" wxHtmlWindow_HistoryBack :: Ptr (THtmlWindow a) -> IO CBool
+
+-- | usage: (@htmlWindowHistoryCanBack obj@).
+htmlWindowHistoryCanBack :: HtmlWindow  a ->  IO Bool
+htmlWindowHistoryCanBack _obj 
+  = withBoolResult $
+    withObjectRef "htmlWindowHistoryCanBack" _obj $ \cobj__obj -> 
+    wxHtmlWindow_HistoryCanBack cobj__obj  
+foreign import ccall "wxHtmlWindow_HistoryCanBack" wxHtmlWindow_HistoryCanBack :: Ptr (THtmlWindow a) -> IO CBool
+
+-- | usage: (@htmlWindowHistoryCanForward obj@).
+htmlWindowHistoryCanForward :: HtmlWindow  a ->  IO Bool
+htmlWindowHistoryCanForward _obj 
+  = withBoolResult $
+    withObjectRef "htmlWindowHistoryCanForward" _obj $ \cobj__obj -> 
+    wxHtmlWindow_HistoryCanForward cobj__obj  
+foreign import ccall "wxHtmlWindow_HistoryCanForward" wxHtmlWindow_HistoryCanForward :: Ptr (THtmlWindow a) -> IO CBool
+
+-- | usage: (@htmlWindowHistoryClear obj@).
+htmlWindowHistoryClear :: HtmlWindow  a ->  IO ()
+htmlWindowHistoryClear _obj 
+  = withObjectRef "htmlWindowHistoryClear" _obj $ \cobj__obj -> 
+    wxHtmlWindow_HistoryClear cobj__obj  
+foreign import ccall "wxHtmlWindow_HistoryClear" wxHtmlWindow_HistoryClear :: Ptr (THtmlWindow a) -> IO ()
+
+-- | usage: (@htmlWindowHistoryForward obj@).
+htmlWindowHistoryForward :: HtmlWindow  a ->  IO Bool
+htmlWindowHistoryForward _obj 
+  = withBoolResult $
+    withObjectRef "htmlWindowHistoryForward" _obj $ \cobj__obj -> 
+    wxHtmlWindow_HistoryForward cobj__obj  
+foreign import ccall "wxHtmlWindow_HistoryForward" wxHtmlWindow_HistoryForward :: Ptr (THtmlWindow a) -> IO CBool
+
+-- | usage: (@htmlWindowLoadPage obj location@).
+htmlWindowLoadPage :: HtmlWindow  a -> String ->  IO Bool
+htmlWindowLoadPage _obj location 
+  = withBoolResult $
+    withObjectRef "htmlWindowLoadPage" _obj $ \cobj__obj -> 
+    withStringPtr location $ \cobj_location -> 
+    wxHtmlWindow_LoadPage cobj__obj  cobj_location  
+foreign import ccall "wxHtmlWindow_LoadPage" wxHtmlWindow_LoadPage :: Ptr (THtmlWindow a) -> Ptr (TWxString b) -> IO CBool
+
+-- | usage: (@htmlWindowReadCustomization obj cfg path@).
+htmlWindowReadCustomization :: HtmlWindow  a -> ConfigBase  b -> String ->  IO ()
+htmlWindowReadCustomization _obj cfg path 
+  = withObjectRef "htmlWindowReadCustomization" _obj $ \cobj__obj -> 
+    withObjectPtr cfg $ \cobj_cfg -> 
+    withStringPtr path $ \cobj_path -> 
+    wxHtmlWindow_ReadCustomization cobj__obj  cobj_cfg  cobj_path  
+foreign import ccall "wxHtmlWindow_ReadCustomization" wxHtmlWindow_ReadCustomization :: Ptr (THtmlWindow a) -> Ptr (TConfigBase b) -> Ptr (TWxString c) -> IO ()
+
+-- | usage: (@htmlWindowSetBorders obj b@).
+htmlWindowSetBorders :: HtmlWindow  a -> Int ->  IO ()
+htmlWindowSetBorders _obj b 
+  = withObjectRef "htmlWindowSetBorders" _obj $ \cobj__obj -> 
+    wxHtmlWindow_SetBorders cobj__obj  (toCInt b)  
+foreign import ccall "wxHtmlWindow_SetBorders" wxHtmlWindow_SetBorders :: Ptr (THtmlWindow a) -> CInt -> IO ()
+
+-- | usage: (@htmlWindowSetFonts obj normalface fixedface sizes@).
+htmlWindowSetFonts :: HtmlWindow  a -> String -> String -> Ptr CInt ->  IO ()
+htmlWindowSetFonts _obj normalface fixedface sizes 
+  = withObjectRef "htmlWindowSetFonts" _obj $ \cobj__obj -> 
+    withStringPtr normalface $ \cobj_normalface -> 
+    withStringPtr fixedface $ \cobj_fixedface -> 
+    wxHtmlWindow_SetFonts cobj__obj  cobj_normalface  cobj_fixedface  sizes  
+foreign import ccall "wxHtmlWindow_SetFonts" wxHtmlWindow_SetFonts :: Ptr (THtmlWindow a) -> Ptr (TWxString b) -> Ptr (TWxString c) -> Ptr CInt -> IO ()
+
+-- | usage: (@htmlWindowSetPage obj source@).
+htmlWindowSetPage :: HtmlWindow  a -> String ->  IO ()
+htmlWindowSetPage _obj source 
+  = withObjectRef "htmlWindowSetPage" _obj $ \cobj__obj -> 
+    withStringPtr source $ \cobj_source -> 
+    wxHtmlWindow_SetPage cobj__obj  cobj_source  
+foreign import ccall "wxHtmlWindow_SetPage" wxHtmlWindow_SetPage :: Ptr (THtmlWindow a) -> Ptr (TWxString b) -> IO ()
+
+-- | usage: (@htmlWindowSetRelatedFrame obj frame format@).
+htmlWindowSetRelatedFrame :: HtmlWindow  a -> Frame  b -> String ->  IO ()
+htmlWindowSetRelatedFrame _obj frame format 
+  = withObjectRef "htmlWindowSetRelatedFrame" _obj $ \cobj__obj -> 
+    withObjectPtr frame $ \cobj_frame -> 
+    withStringPtr format $ \cobj_format -> 
+    wxHtmlWindow_SetRelatedFrame cobj__obj  cobj_frame  cobj_format  
+foreign import ccall "wxHtmlWindow_SetRelatedFrame" wxHtmlWindow_SetRelatedFrame :: Ptr (THtmlWindow a) -> Ptr (TFrame b) -> Ptr (TWxString c) -> IO ()
+
+-- | usage: (@htmlWindowSetRelatedStatusBar obj bar@).
+htmlWindowSetRelatedStatusBar :: HtmlWindow  a -> Int ->  IO ()
+htmlWindowSetRelatedStatusBar _obj bar 
+  = withObjectRef "htmlWindowSetRelatedStatusBar" _obj $ \cobj__obj -> 
+    wxHtmlWindow_SetRelatedStatusBar cobj__obj  (toCInt bar)  
+foreign import ccall "wxHtmlWindow_SetRelatedStatusBar" wxHtmlWindow_SetRelatedStatusBar :: Ptr (THtmlWindow a) -> CInt -> IO ()
+
+-- | usage: (@htmlWindowWriteCustomization obj cfg path@).
+htmlWindowWriteCustomization :: HtmlWindow  a -> ConfigBase  b -> String ->  IO ()
+htmlWindowWriteCustomization _obj cfg path 
+  = withObjectRef "htmlWindowWriteCustomization" _obj $ \cobj__obj -> 
+    withObjectPtr cfg $ \cobj_cfg -> 
+    withStringPtr path $ \cobj_path -> 
+    wxHtmlWindow_WriteCustomization cobj__obj  cobj_cfg  cobj_path  
+foreign import ccall "wxHtmlWindow_WriteCustomization" wxHtmlWindow_WriteCustomization :: Ptr (THtmlWindow a) -> Ptr (TConfigBase b) -> Ptr (TWxString c) -> IO ()
+
+-- | usage: (@hyperlinkCtrlCreate parent id label url xywh style@).
+hyperlinkCtrlCreate :: Window  a -> Id -> String -> String -> Rect -> Int ->  IO (HyperlinkCtrl  ())
+hyperlinkCtrlCreate parent id label url xywh style 
+  = withObjectResult $
+    withObjectPtr parent $ \cobj_parent -> 
+    withStringPtr label $ \cobj_label -> 
+    withStringPtr url $ \cobj_url -> 
+    wxHyperlinkCtrl_Create cobj_parent  (toCInt id)  cobj_label  cobj_url  (toCIntRectX xywh) (toCIntRectY xywh)(toCIntRectW xywh) (toCIntRectH xywh)  (toCInt style)  
+foreign import ccall "wxHyperlinkCtrl_Create" wxHyperlinkCtrl_Create :: Ptr (TWindow a) -> CInt -> Ptr (TWxString c) -> Ptr (TWxString d) -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (THyperlinkCtrl ()))
+
+-- | usage: (@hyperlinkCtrlGetHoverColour self@).
+hyperlinkCtrlGetHoverColour :: HyperlinkCtrl  a ->  IO (Color)
+hyperlinkCtrlGetHoverColour self 
+  = withManagedColourResult $
+    withObjectRef "hyperlinkCtrlGetHoverColour" self $ \cobj_self -> 
+    wxHyperlinkCtrl_GetHoverColour cobj_self  
+foreign import ccall "wxHyperlinkCtrl_GetHoverColour" wxHyperlinkCtrl_GetHoverColour :: Ptr (THyperlinkCtrl a) -> IO (Ptr (TColour ()))
+
+-- | usage: (@hyperlinkCtrlGetNormalColour self@).
+hyperlinkCtrlGetNormalColour :: HyperlinkCtrl  a ->  IO (Color)
+hyperlinkCtrlGetNormalColour self 
+  = withManagedColourResult $
+    withObjectRef "hyperlinkCtrlGetNormalColour" self $ \cobj_self -> 
+    wxHyperlinkCtrl_GetNormalColour cobj_self  
+foreign import ccall "wxHyperlinkCtrl_GetNormalColour" wxHyperlinkCtrl_GetNormalColour :: Ptr (THyperlinkCtrl a) -> IO (Ptr (TColour ()))
+
+-- | usage: (@hyperlinkCtrlGetURL self@).
+hyperlinkCtrlGetURL :: HyperlinkCtrl  a ->  IO (String)
+hyperlinkCtrlGetURL self 
+  = withManagedStringResult $
+    withObjectRef "hyperlinkCtrlGetURL" self $ \cobj_self -> 
+    wxHyperlinkCtrl_GetURL cobj_self  
+foreign import ccall "wxHyperlinkCtrl_GetURL" wxHyperlinkCtrl_GetURL :: Ptr (THyperlinkCtrl a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@hyperlinkCtrlGetVisited self@).
+hyperlinkCtrlGetVisited :: HyperlinkCtrl  a ->  IO Bool
+hyperlinkCtrlGetVisited self 
+  = withBoolResult $
+    withObjectRef "hyperlinkCtrlGetVisited" self $ \cobj_self -> 
+    wxHyperlinkCtrl_GetVisited cobj_self  
+foreign import ccall "wxHyperlinkCtrl_GetVisited" wxHyperlinkCtrl_GetVisited :: Ptr (THyperlinkCtrl a) -> IO CBool
+
+-- | usage: (@hyperlinkCtrlGetVisitedColour self@).
+hyperlinkCtrlGetVisitedColour :: HyperlinkCtrl  a ->  IO (Color)
+hyperlinkCtrlGetVisitedColour self 
+  = withManagedColourResult $
+    withObjectRef "hyperlinkCtrlGetVisitedColour" self $ \cobj_self -> 
+    wxHyperlinkCtrl_GetVisitedColour cobj_self  
+foreign import ccall "wxHyperlinkCtrl_GetVisitedColour" wxHyperlinkCtrl_GetVisitedColour :: Ptr (THyperlinkCtrl a) -> IO (Ptr (TColour ()))
+
+-- | usage: (@hyperlinkCtrlSetHoverColour self colour@).
+hyperlinkCtrlSetHoverColour :: HyperlinkCtrl  a -> Color ->  IO ()
+hyperlinkCtrlSetHoverColour self colour 
+  = withObjectRef "hyperlinkCtrlSetHoverColour" self $ \cobj_self -> 
+    withColourPtr colour $ \cobj_colour -> 
+    wxHyperlinkCtrl_SetHoverColour cobj_self  cobj_colour  
+foreign import ccall "wxHyperlinkCtrl_SetHoverColour" wxHyperlinkCtrl_SetHoverColour :: Ptr (THyperlinkCtrl a) -> Ptr (TColour b) -> IO ()
+
+-- | usage: (@hyperlinkCtrlSetNormalColour self colour@).
+hyperlinkCtrlSetNormalColour :: HyperlinkCtrl  a -> Color ->  IO ()
+hyperlinkCtrlSetNormalColour self colour 
+  = withObjectRef "hyperlinkCtrlSetNormalColour" self $ \cobj_self -> 
+    withColourPtr colour $ \cobj_colour -> 
+    wxHyperlinkCtrl_SetNormalColour cobj_self  cobj_colour  
+foreign import ccall "wxHyperlinkCtrl_SetNormalColour" wxHyperlinkCtrl_SetNormalColour :: Ptr (THyperlinkCtrl a) -> Ptr (TColour b) -> IO ()
+
+-- | usage: (@hyperlinkCtrlSetURL self url@).
+hyperlinkCtrlSetURL :: HyperlinkCtrl  a -> String ->  IO ()
+hyperlinkCtrlSetURL self url 
+  = withObjectRef "hyperlinkCtrlSetURL" self $ \cobj_self -> 
+    withStringPtr url $ \cobj_url -> 
+    wxHyperlinkCtrl_SetURL cobj_self  cobj_url  
+foreign import ccall "wxHyperlinkCtrl_SetURL" wxHyperlinkCtrl_SetURL :: Ptr (THyperlinkCtrl a) -> Ptr (TWxString b) -> IO ()
+
+-- | usage: (@hyperlinkCtrlSetVisited self visited@).
+hyperlinkCtrlSetVisited :: HyperlinkCtrl  a -> Bool ->  IO ()
+hyperlinkCtrlSetVisited self visited 
+  = withObjectRef "hyperlinkCtrlSetVisited" self $ \cobj_self -> 
+    wxHyperlinkCtrl_SetVisited cobj_self  (toCBool visited)  
+foreign import ccall "wxHyperlinkCtrl_SetVisited" wxHyperlinkCtrl_SetVisited :: Ptr (THyperlinkCtrl a) -> CBool -> IO ()
+
+-- | usage: (@hyperlinkCtrlSetVisitedColour self colour@).
+hyperlinkCtrlSetVisitedColour :: HyperlinkCtrl  a -> Color ->  IO ()
+hyperlinkCtrlSetVisitedColour self colour 
+  = withObjectRef "hyperlinkCtrlSetVisitedColour" self $ \cobj_self -> 
+    withColourPtr colour $ \cobj_colour -> 
+    wxHyperlinkCtrl_SetVisitedColour cobj_self  cobj_colour  
+foreign import ccall "wxHyperlinkCtrl_SetVisitedColour" wxHyperlinkCtrl_SetVisitedColour :: Ptr (THyperlinkCtrl a) -> Ptr (TColour b) -> IO ()
+
+-- | usage: (@iconAssign obj other@).
+iconAssign :: Icon  a -> Ptr  b ->  IO ()
+iconAssign _obj other 
+  = withObjectRef "iconAssign" _obj $ \cobj__obj -> 
+    wxIcon_Assign cobj__obj  other  
+foreign import ccall "wxIcon_Assign" wxIcon_Assign :: Ptr (TIcon a) -> Ptr  b -> IO ()
+
+-- | usage: (@iconBundleAddIcon obj icon@).
+iconBundleAddIcon :: IconBundle  a -> Icon  b ->  IO ()
+iconBundleAddIcon _obj icon 
+  = withObjectRef "iconBundleAddIcon" _obj $ \cobj__obj -> 
+    withObjectPtr icon $ \cobj_icon -> 
+    wxIconBundle_AddIcon cobj__obj  cobj_icon  
+foreign import ccall "wxIconBundle_AddIcon" wxIconBundle_AddIcon :: Ptr (TIconBundle a) -> Ptr (TIcon b) -> IO ()
+
+-- | usage: (@iconBundleAddIconFromFile obj file wxtype@).
+iconBundleAddIconFromFile :: IconBundle  a -> String -> Int ->  IO ()
+iconBundleAddIconFromFile _obj file wxtype 
+  = withObjectRef "iconBundleAddIconFromFile" _obj $ \cobj__obj -> 
+    withStringPtr file $ \cobj_file -> 
+    wxIconBundle_AddIconFromFile cobj__obj  cobj_file  (toCInt wxtype)  
+foreign import ccall "wxIconBundle_AddIconFromFile" wxIconBundle_AddIconFromFile :: Ptr (TIconBundle a) -> Ptr (TWxString b) -> CInt -> IO ()
+
+-- | usage: (@iconBundleCreateDefault@).
+iconBundleCreateDefault ::  IO (IconBundle  ())
+iconBundleCreateDefault 
+  = withObjectResult $
+    wxIconBundle_CreateDefault 
+foreign import ccall "wxIconBundle_CreateDefault" wxIconBundle_CreateDefault :: IO (Ptr (TIconBundle ()))
+
+-- | usage: (@iconBundleCreateFromFile file wxtype@).
+iconBundleCreateFromFile :: String -> Int ->  IO (IconBundle  ())
+iconBundleCreateFromFile file wxtype 
+  = withObjectResult $
+    withStringPtr file $ \cobj_file -> 
+    wxIconBundle_CreateFromFile cobj_file  (toCInt wxtype)  
+foreign import ccall "wxIconBundle_CreateFromFile" wxIconBundle_CreateFromFile :: Ptr (TWxString a) -> CInt -> IO (Ptr (TIconBundle ()))
+
+-- | usage: (@iconBundleCreateFromIcon icon@).
+iconBundleCreateFromIcon :: Icon  a ->  IO (IconBundle  ())
+iconBundleCreateFromIcon icon 
+  = withObjectResult $
+    withObjectPtr icon $ \cobj_icon -> 
+    wxIconBundle_CreateFromIcon cobj_icon  
+foreign import ccall "wxIconBundle_CreateFromIcon" wxIconBundle_CreateFromIcon :: Ptr (TIcon a) -> IO (Ptr (TIconBundle ()))
+
+-- | usage: (@iconBundleDelete obj@).
+iconBundleDelete :: IconBundle  a ->  IO ()
+iconBundleDelete _obj 
+  = withObjectRef "iconBundleDelete" _obj $ \cobj__obj -> 
+    wxIconBundle_Delete cobj__obj  
+foreign import ccall "wxIconBundle_Delete" wxIconBundle_Delete :: Ptr (TIconBundle a) -> IO ()
+
+-- | usage: (@iconBundleGetIcon obj wh@).
+iconBundleGetIcon :: IconBundle  a -> Size ->  IO (Icon  ())
+iconBundleGetIcon _obj wh 
+  = withRefIcon $ \pref -> 
+    withObjectRef "iconBundleGetIcon" _obj $ \cobj__obj -> 
+    wxIconBundle_GetIcon cobj__obj  (toCIntSizeW wh) (toCIntSizeH wh)   pref
+foreign import ccall "wxIconBundle_GetIcon" wxIconBundle_GetIcon :: Ptr (TIconBundle a) -> CInt -> CInt -> Ptr (TIcon ()) -> IO ()
+
+-- | usage: (@iconCopyFromBitmap obj bmp@).
+iconCopyFromBitmap :: Icon  a -> Bitmap  b ->  IO ()
+iconCopyFromBitmap _obj bmp 
+  = withObjectRef "iconCopyFromBitmap" _obj $ \cobj__obj -> 
+    withObjectPtr bmp $ \cobj_bmp -> 
+    wxIcon_CopyFromBitmap cobj__obj  cobj_bmp  
+foreign import ccall "wxIcon_CopyFromBitmap" wxIcon_CopyFromBitmap :: Ptr (TIcon a) -> Ptr (TBitmap b) -> IO ()
+
+-- | usage: (@iconCreateDefault@).
+iconCreateDefault ::  IO (Icon  ())
+iconCreateDefault 
+  = withManagedIconResult $
+    wxIcon_CreateDefault 
+foreign import ccall "wxIcon_CreateDefault" wxIcon_CreateDefault :: IO (Ptr (TIcon ()))
+
+-- | usage: (@iconCreateLoad name wxtype widthheight@).
+iconCreateLoad :: String -> Int -> Size ->  IO (Icon  ())
+iconCreateLoad name wxtype widthheight 
+  = withManagedIconResult $
+    withStringPtr name $ \cobj_name -> 
+    wxIcon_CreateLoad cobj_name  (toCInt wxtype)  (toCIntSizeW widthheight) (toCIntSizeH widthheight)  
+foreign import ccall "wxIcon_CreateLoad" wxIcon_CreateLoad :: Ptr (TWxString a) -> CInt -> CInt -> CInt -> IO (Ptr (TIcon ()))
+
+-- | usage: (@iconDelete obj@).
+iconDelete :: Icon  a ->  IO ()
+iconDelete
+  = objectDelete
+
+
+-- | usage: (@iconFromRaw wxdata widthheight@).
+iconFromRaw :: Icon  a -> Size ->  IO (Icon  ())
+iconFromRaw wxdata widthheight 
+  = withManagedIconResult $
+    withObjectRef "iconFromRaw" wxdata $ \cobj_wxdata -> 
+    wxIcon_FromRaw cobj_wxdata  (toCIntSizeW widthheight) (toCIntSizeH widthheight)  
+foreign import ccall "wxIcon_FromRaw" wxIcon_FromRaw :: Ptr (TIcon a) -> CInt -> CInt -> IO (Ptr (TIcon ()))
+
+-- | usage: (@iconFromXPM wxdata@).
+iconFromXPM :: Icon  a ->  IO (Icon  ())
+iconFromXPM wxdata 
+  = withManagedIconResult $
+    withObjectRef "iconFromXPM" wxdata $ \cobj_wxdata -> 
+    wxIcon_FromXPM cobj_wxdata  
+foreign import ccall "wxIcon_FromXPM" wxIcon_FromXPM :: Ptr (TIcon a) -> IO (Ptr (TIcon ()))
+
+-- | usage: (@iconGetDepth obj@).
+iconGetDepth :: Icon  a ->  IO Int
+iconGetDepth _obj 
+  = withIntResult $
+    withObjectRef "iconGetDepth" _obj $ \cobj__obj -> 
+    wxIcon_GetDepth cobj__obj  
+foreign import ccall "wxIcon_GetDepth" wxIcon_GetDepth :: Ptr (TIcon a) -> IO CInt
+
+-- | usage: (@iconGetHeight obj@).
+iconGetHeight :: Icon  a ->  IO Int
+iconGetHeight _obj 
+  = withIntResult $
+    withObjectRef "iconGetHeight" _obj $ \cobj__obj -> 
+    wxIcon_GetHeight cobj__obj  
+foreign import ccall "wxIcon_GetHeight" wxIcon_GetHeight :: Ptr (TIcon a) -> IO CInt
+
+-- | usage: (@iconGetWidth obj@).
+iconGetWidth :: Icon  a ->  IO Int
+iconGetWidth _obj 
+  = withIntResult $
+    withObjectRef "iconGetWidth" _obj $ \cobj__obj -> 
+    wxIcon_GetWidth cobj__obj  
+foreign import ccall "wxIcon_GetWidth" wxIcon_GetWidth :: Ptr (TIcon a) -> IO CInt
+
+-- | usage: (@iconIsEqual obj other@).
+iconIsEqual :: Icon  a -> Icon  b ->  IO Bool
+iconIsEqual _obj other 
+  = withBoolResult $
+    withObjectRef "iconIsEqual" _obj $ \cobj__obj -> 
+    withObjectPtr other $ \cobj_other -> 
+    wxIcon_IsEqual cobj__obj  cobj_other  
+foreign import ccall "wxIcon_IsEqual" wxIcon_IsEqual :: Ptr (TIcon a) -> Ptr (TIcon b) -> IO CBool
+
+-- | usage: (@iconIsOk obj@).
+iconIsOk :: Icon  a ->  IO Bool
+iconIsOk _obj 
+  = withBoolResult $
+    withObjectRef "iconIsOk" _obj $ \cobj__obj -> 
+    wxIcon_IsOk cobj__obj  
+foreign import ccall "wxIcon_IsOk" wxIcon_IsOk :: Ptr (TIcon a) -> IO CBool
+
+-- | usage: (@iconIsStatic self@).
+iconIsStatic :: Icon  a ->  IO Bool
+iconIsStatic self 
+  = withBoolResult $
+    withObjectPtr self $ \cobj_self -> 
+    wxIcon_IsStatic cobj_self  
+foreign import ccall "wxIcon_IsStatic" wxIcon_IsStatic :: Ptr (TIcon a) -> IO CBool
+
+-- | usage: (@iconLoad obj name wxtype widthheight@).
+iconLoad :: Icon  a -> String -> Int -> Size ->  IO Int
+iconLoad _obj name wxtype widthheight 
+  = withIntResult $
+    withObjectRef "iconLoad" _obj $ \cobj__obj -> 
+    withStringPtr name $ \cobj_name -> 
+    wxIcon_Load cobj__obj  cobj_name  (toCInt wxtype)  (toCIntSizeW widthheight) (toCIntSizeH widthheight)  
+foreign import ccall "wxIcon_Load" wxIcon_Load :: Ptr (TIcon a) -> Ptr (TWxString b) -> CInt -> CInt -> CInt -> IO CInt
+
+-- | usage: (@iconSafeDelete self@).
+iconSafeDelete :: Icon  a ->  IO ()
+iconSafeDelete self 
+  = withObjectPtr self $ \cobj_self -> 
+    wxIcon_SafeDelete cobj_self  
+foreign import ccall "wxIcon_SafeDelete" wxIcon_SafeDelete :: Ptr (TIcon a) -> IO ()
+
+-- | usage: (@iconSetDepth obj depth@).
+iconSetDepth :: Icon  a -> Int ->  IO ()
+iconSetDepth _obj depth 
+  = withObjectRef "iconSetDepth" _obj $ \cobj__obj -> 
+    wxIcon_SetDepth cobj__obj  (toCInt depth)  
+foreign import ccall "wxIcon_SetDepth" wxIcon_SetDepth :: Ptr (TIcon a) -> CInt -> IO ()
+
+-- | usage: (@iconSetHeight obj height@).
+iconSetHeight :: Icon  a -> Int ->  IO ()
+iconSetHeight _obj height 
+  = withObjectRef "iconSetHeight" _obj $ \cobj__obj -> 
+    wxIcon_SetHeight cobj__obj  (toCInt height)  
+foreign import ccall "wxIcon_SetHeight" wxIcon_SetHeight :: Ptr (TIcon a) -> CInt -> IO ()
+
+-- | usage: (@iconSetWidth obj width@).
+iconSetWidth :: Icon  a -> Int ->  IO ()
+iconSetWidth _obj width 
+  = withObjectRef "iconSetWidth" _obj $ \cobj__obj -> 
+    wxIcon_SetWidth cobj__obj  (toCInt width)  
+foreign import ccall "wxIcon_SetWidth" wxIcon_SetWidth :: Ptr (TIcon a) -> CInt -> IO ()
+
+-- | usage: (@idleEventCopyObject obj objectdest@).
+idleEventCopyObject :: IdleEvent  a -> WxObject  b ->  IO ()
+idleEventCopyObject _obj objectdest 
+  = withObjectRef "idleEventCopyObject" _obj $ \cobj__obj -> 
+    withObjectPtr objectdest $ \cobj_objectdest -> 
+    wxIdleEvent_CopyObject cobj__obj  cobj_objectdest  
+foreign import ccall "wxIdleEvent_CopyObject" wxIdleEvent_CopyObject :: Ptr (TIdleEvent a) -> Ptr (TWxObject b) -> IO ()
+
+-- | usage: (@idleEventMoreRequested obj@).
+idleEventMoreRequested :: IdleEvent  a ->  IO Bool
+idleEventMoreRequested _obj 
+  = withBoolResult $
+    withObjectRef "idleEventMoreRequested" _obj $ \cobj__obj -> 
+    wxIdleEvent_MoreRequested cobj__obj  
+foreign import ccall "wxIdleEvent_MoreRequested" wxIdleEvent_MoreRequested :: Ptr (TIdleEvent a) -> IO CBool
+
+-- | usage: (@idleEventRequestMore obj needMore@).
+idleEventRequestMore :: IdleEvent  a -> Bool ->  IO ()
+idleEventRequestMore _obj needMore 
+  = withObjectRef "idleEventRequestMore" _obj $ \cobj__obj -> 
+    wxIdleEvent_RequestMore cobj__obj  (toCBool needMore)  
+foreign import ccall "wxIdleEvent_RequestMore" wxIdleEvent_RequestMore :: Ptr (TIdleEvent a) -> CBool -> IO ()
+
+-- | usage: (@imageCanRead name@).
+imageCanRead :: String ->  IO Bool
+imageCanRead name 
+  = withBoolResult $
+    withStringPtr name $ \cobj_name -> 
+    wxImage_CanRead cobj_name  
+foreign import ccall "wxImage_CanRead" wxImage_CanRead :: Ptr (TWxString a) -> IO CBool
+
+-- | usage: (@imageConvertToBitmap obj@).
+imageConvertToBitmap :: Image  a ->  IO (Bitmap  ())
+imageConvertToBitmap _obj 
+  = withRefBitmap $ \pref -> 
+    withObjectRef "imageConvertToBitmap" _obj $ \cobj__obj -> 
+    wxImage_ConvertToBitmap cobj__obj   pref
+foreign import ccall "wxImage_ConvertToBitmap" wxImage_ConvertToBitmap :: Ptr (TImage a) -> Ptr (TBitmap ()) -> IO ()
+
+-- | usage: (@imageConvertToByteString obj wxtype@).
+imageConvertToByteString :: Image  a -> Int ->  IO B.ByteString
+imageConvertToByteString _obj wxtype 
+  = withByteStringResult $ \buffer -> 
+    withObjectRef "imageConvertToByteString" _obj $ \cobj__obj -> 
+    wxImage_ConvertToByteString cobj__obj  (toCInt wxtype)   buffer
+foreign import ccall "wxImage_ConvertToByteString" wxImage_ConvertToByteString :: Ptr (TImage a) -> CInt -> Ptr CChar -> IO CInt
+
+-- | usage: (@imageConvertToLazyByteString obj wxtype@).
+imageConvertToLazyByteString :: Image  a -> Int ->  IO LB.ByteString
+imageConvertToLazyByteString _obj wxtype 
+  = withLazyByteStringResult $ \buffer -> 
+    withObjectRef "imageConvertToLazyByteString" _obj $ \cobj__obj -> 
+    wxImage_ConvertToLazyByteString cobj__obj  (toCInt wxtype)   buffer
+foreign import ccall "wxImage_ConvertToLazyByteString" wxImage_ConvertToLazyByteString :: Ptr (TImage a) -> CInt -> Ptr CChar -> IO CInt
+
+-- | usage: (@imageCopy obj@).
+imageCopy :: Image  a ->  IO (Image  ())
+imageCopy _obj 
+  = withRefImage $ \pref -> 
+    withObjectRef "imageCopy" _obj $ \cobj__obj -> 
+    wxImage_Copy cobj__obj   pref
+foreign import ccall "wxImage_Copy" wxImage_Copy :: Ptr (TImage a) -> Ptr (TImage ()) -> IO ()
+
+-- | usage: (@imageCountColours obj stopafter@).
+imageCountColours :: Image  a -> Int ->  IO Int
+imageCountColours _obj stopafter 
+  = withIntResult $
+    withObjectRef "imageCountColours" _obj $ \cobj__obj -> 
+    wxImage_CountColours cobj__obj  (toCInt stopafter)  
+foreign import ccall "wxImage_CountColours" wxImage_CountColours :: Ptr (TImage a) -> CInt -> IO CInt
+
+-- | usage: (@imageCreateDefault@).
+imageCreateDefault ::  IO (Image  ())
+imageCreateDefault 
+  = withManagedObjectResult $
+    wxImage_CreateDefault 
+foreign import ccall "wxImage_CreateDefault" wxImage_CreateDefault :: IO (Ptr (TImage ()))
+
+-- | usage: (@imageCreateFromBitmap bitmap@).
+imageCreateFromBitmap :: Bitmap  a ->  IO (Image  ())
+imageCreateFromBitmap bitmap 
+  = withManagedObjectResult $
+    withObjectPtr bitmap $ \cobj_bitmap -> 
+    wxImage_CreateFromBitmap cobj_bitmap  
+foreign import ccall "wxImage_CreateFromBitmap" wxImage_CreateFromBitmap :: Ptr (TBitmap a) -> IO (Ptr (TImage ()))
+
+-- | usage: (@imageCreateFromByteString widthheight datalength@).
+imageCreateFromByteString :: Size -> B.ByteString ->  IO (Image  ())
+imageCreateFromByteString widthheight datalength 
+  = withManagedObjectResult $
+    B.useAsCStringLen datalength $ \(bs_datalength, bslen_datalength)  -> 
+    wxImage_CreateFromByteString (toCIntSizeW widthheight) (toCIntSizeH widthheight)  bs_datalength bslen_datalength  
+foreign import ccall "wxImage_CreateFromByteString" wxImage_CreateFromByteString :: CInt -> CInt -> Ptr CChar -> Int -> IO (Ptr (TImage ()))
+
+-- | usage: (@imageCreateFromData widthheight wxdata@).
+imageCreateFromData :: Size -> Ptr  b ->  IO (Image  ())
+imageCreateFromData widthheight wxdata 
+  = withManagedObjectResult $
+    wxImage_CreateFromData (toCIntSizeW widthheight) (toCIntSizeH widthheight)  wxdata  
+foreign import ccall "wxImage_CreateFromData" wxImage_CreateFromData :: CInt -> CInt -> Ptr  b -> IO (Ptr (TImage ()))
+
+-- | usage: (@imageCreateFromDataEx widthheight wxdata isStaticData@).
+imageCreateFromDataEx :: Size -> Ptr  b -> Bool ->  IO (Image  ())
+imageCreateFromDataEx widthheight wxdata isStaticData 
+  = withManagedObjectResult $
+    wxImage_CreateFromDataEx (toCIntSizeW widthheight) (toCIntSizeH widthheight)  wxdata  (toCBool isStaticData)  
+foreign import ccall "wxImage_CreateFromDataEx" wxImage_CreateFromDataEx :: CInt -> CInt -> Ptr  b -> CBool -> IO (Ptr (TImage ()))
+
+-- | usage: (@imageCreateFromFile name@).
+imageCreateFromFile :: String ->  IO (Image  ())
+imageCreateFromFile name 
+  = withManagedObjectResult $
+    withStringPtr name $ \cobj_name -> 
+    wxImage_CreateFromFile cobj_name  
+foreign import ccall "wxImage_CreateFromFile" wxImage_CreateFromFile :: Ptr (TWxString a) -> IO (Ptr (TImage ()))
+
+-- | usage: (@imageCreateFromLazyByteString widthheight datalength@).
+imageCreateFromLazyByteString :: Size -> LB.ByteString ->  IO (Image  ())
+imageCreateFromLazyByteString widthheight datalength 
+  = withManagedObjectResult $
+    withArray (LB.unpack datalength) $ \bs_datalength -> 
+    wxImage_CreateFromLazyByteString (toCIntSizeW widthheight) (toCIntSizeH widthheight)  bs_datalength (fromIntegral $ LB.length datalength)  
+foreign import ccall "wxImage_CreateFromLazyByteString" wxImage_CreateFromLazyByteString :: CInt -> CInt -> Ptr Word8 -> Int -> IO (Ptr (TImage ()))
+
+-- | usage: (@imageCreateSized widthheight@).
+imageCreateSized :: Size ->  IO (Image  ())
+imageCreateSized widthheight 
+  = withManagedObjectResult $
+    wxImage_CreateSized (toCIntSizeW widthheight) (toCIntSizeH widthheight)  
+foreign import ccall "wxImage_CreateSized" wxImage_CreateSized :: CInt -> CInt -> IO (Ptr (TImage ()))
+
+-- | usage: (@imageDelete image@).
+imageDelete :: Image  a ->  IO ()
+imageDelete
+  = objectDelete
+
+
+-- | usage: (@imageDestroy obj@).
+imageDestroy :: Image  a ->  IO ()
+imageDestroy _obj 
+  = withObjectRef "imageDestroy" _obj $ \cobj__obj -> 
+    wxImage_Destroy cobj__obj  
+foreign import ccall "wxImage_Destroy" wxImage_Destroy :: Ptr (TImage a) -> IO ()
+
+-- | usage: (@imageGetBlue obj xy@).
+imageGetBlue :: Image  a -> Point ->  IO Char
+imageGetBlue _obj xy 
+  = withCharResult $
+    withObjectRef "imageGetBlue" _obj $ \cobj__obj -> 
+    wxImage_GetBlue cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  
+foreign import ccall "wxImage_GetBlue" wxImage_GetBlue :: Ptr (TImage a) -> CInt -> CInt -> IO CWchar
+
+-- | usage: (@imageGetData obj@).
+imageGetData :: Image  a ->  IO (Ptr  ())
+imageGetData _obj 
+  = withObjectRef "imageGetData" _obj $ \cobj__obj -> 
+    wxImage_GetData cobj__obj  
+foreign import ccall "wxImage_GetData" wxImage_GetData :: Ptr (TImage a) -> IO (Ptr  ())
+
+-- | usage: (@imageGetGreen obj xy@).
+imageGetGreen :: Image  a -> Point ->  IO Char
+imageGetGreen _obj xy 
+  = withCharResult $
+    withObjectRef "imageGetGreen" _obj $ \cobj__obj -> 
+    wxImage_GetGreen cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  
+foreign import ccall "wxImage_GetGreen" wxImage_GetGreen :: Ptr (TImage a) -> CInt -> CInt -> IO CWchar
+
+-- | usage: (@imageGetHeight obj@).
+imageGetHeight :: Image  a ->  IO Int
+imageGetHeight _obj 
+  = withIntResult $
+    withObjectRef "imageGetHeight" _obj $ \cobj__obj -> 
+    wxImage_GetHeight cobj__obj  
+foreign import ccall "wxImage_GetHeight" wxImage_GetHeight :: Ptr (TImage a) -> IO CInt
+
+-- | usage: (@imageGetMaskBlue obj@).
+imageGetMaskBlue :: Image  a ->  IO Char
+imageGetMaskBlue _obj 
+  = withCharResult $
+    withObjectRef "imageGetMaskBlue" _obj $ \cobj__obj -> 
+    wxImage_GetMaskBlue cobj__obj  
+foreign import ccall "wxImage_GetMaskBlue" wxImage_GetMaskBlue :: Ptr (TImage a) -> IO CWchar
+
+-- | usage: (@imageGetMaskGreen obj@).
+imageGetMaskGreen :: Image  a ->  IO Char
+imageGetMaskGreen _obj 
+  = withCharResult $
+    withObjectRef "imageGetMaskGreen" _obj $ \cobj__obj -> 
+    wxImage_GetMaskGreen cobj__obj  
+foreign import ccall "wxImage_GetMaskGreen" wxImage_GetMaskGreen :: Ptr (TImage a) -> IO CWchar
+
+-- | usage: (@imageGetMaskRed obj@).
+imageGetMaskRed :: Image  a ->  IO Char
+imageGetMaskRed _obj 
+  = withCharResult $
+    withObjectRef "imageGetMaskRed" _obj $ \cobj__obj -> 
+    wxImage_GetMaskRed cobj__obj  
+foreign import ccall "wxImage_GetMaskRed" wxImage_GetMaskRed :: Ptr (TImage a) -> IO CWchar
+
+-- | usage: (@imageGetOption obj name@).
+imageGetOption :: Image  a -> String ->  IO (String)
+imageGetOption _obj name 
+  = withManagedStringResult $
+    withObjectRef "imageGetOption" _obj $ \cobj__obj -> 
+    withStringPtr name $ \cobj_name -> 
+    wxImage_GetOption cobj__obj  cobj_name  
+foreign import ccall "wxImage_GetOption" wxImage_GetOption :: Ptr (TImage a) -> Ptr (TWxString b) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@imageGetOptionInt obj name@).
+imageGetOptionInt :: Image  a -> String ->  IO Bool
+imageGetOptionInt _obj name 
+  = withBoolResult $
+    withObjectRef "imageGetOptionInt" _obj $ \cobj__obj -> 
+    withStringPtr name $ \cobj_name -> 
+    wxImage_GetOptionInt cobj__obj  cobj_name  
+foreign import ccall "wxImage_GetOptionInt" wxImage_GetOptionInt :: Ptr (TImage a) -> Ptr (TWxString b) -> IO CBool
+
+-- | usage: (@imageGetRed obj xy@).
+imageGetRed :: Image  a -> Point ->  IO Char
+imageGetRed _obj xy 
+  = withCharResult $
+    withObjectRef "imageGetRed" _obj $ \cobj__obj -> 
+    wxImage_GetRed cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  
+foreign import ccall "wxImage_GetRed" wxImage_GetRed :: Ptr (TImage a) -> CInt -> CInt -> IO CWchar
+
+-- | usage: (@imageGetSubImage obj xywh@).
+imageGetSubImage :: Image  a -> Rect ->  IO (Image  ())
+imageGetSubImage _obj xywh 
+  = withRefImage $ \pref -> 
+    withObjectRef "imageGetSubImage" _obj $ \cobj__obj -> 
+    wxImage_GetSubImage cobj__obj  (toCIntRectX xywh) (toCIntRectY xywh)(toCIntRectW xywh) (toCIntRectH xywh)   pref
+foreign import ccall "wxImage_GetSubImage" wxImage_GetSubImage :: Ptr (TImage a) -> CInt -> CInt -> CInt -> CInt -> Ptr (TImage ()) -> IO ()
+
+-- | usage: (@imageGetType obj@).
+imageGetType :: Image  a ->  IO Int
+imageGetType _obj 
+  = withIntResult $
+    withObjectRef "imageGetType" _obj $ \cobj__obj -> 
+    wxImage_GetType cobj__obj  
+foreign import ccall "wxImage_GetType" wxImage_GetType :: Ptr (TImage a) -> IO CInt
+
+-- | usage: (@imageGetWidth obj@).
+imageGetWidth :: Image  a ->  IO Int
+imageGetWidth _obj 
+  = withIntResult $
+    withObjectRef "imageGetWidth" _obj $ \cobj__obj -> 
+    wxImage_GetWidth cobj__obj  
+foreign import ccall "wxImage_GetWidth" wxImage_GetWidth :: Ptr (TImage a) -> IO CInt
+
+-- | usage: (@imageHasMask obj@).
+imageHasMask :: Image  a ->  IO Bool
+imageHasMask _obj 
+  = withBoolResult $
+    withObjectRef "imageHasMask" _obj $ \cobj__obj -> 
+    wxImage_HasMask cobj__obj  
+foreign import ccall "wxImage_HasMask" wxImage_HasMask :: Ptr (TImage a) -> IO CBool
+
+-- | usage: (@imageHasOption obj name@).
+imageHasOption :: Image  a -> String ->  IO Bool
+imageHasOption _obj name 
+  = withBoolResult $
+    withObjectRef "imageHasOption" _obj $ \cobj__obj -> 
+    withStringPtr name $ \cobj_name -> 
+    wxImage_HasOption cobj__obj  cobj_name  
+foreign import ccall "wxImage_HasOption" wxImage_HasOption :: Ptr (TImage a) -> Ptr (TWxString b) -> IO CBool
+
+-- | usage: (@imageInitialize obj widthheight@).
+imageInitialize :: Image  a -> Size ->  IO ()
+imageInitialize _obj widthheight 
+  = withObjectRef "imageInitialize" _obj $ \cobj__obj -> 
+    wxImage_Initialize cobj__obj  (toCIntSizeW widthheight) (toCIntSizeH widthheight)  
+foreign import ccall "wxImage_Initialize" wxImage_Initialize :: Ptr (TImage a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@imageInitializeFromData obj widthheight wxdata@).
+imageInitializeFromData :: Image  a -> Size -> Ptr  c ->  IO ()
+imageInitializeFromData _obj widthheight wxdata 
+  = withObjectRef "imageInitializeFromData" _obj $ \cobj__obj -> 
+    wxImage_InitializeFromData cobj__obj  (toCIntSizeW widthheight) (toCIntSizeH widthheight)  wxdata  
+foreign import ccall "wxImage_InitializeFromData" wxImage_InitializeFromData :: Ptr (TImage a) -> CInt -> CInt -> Ptr  c -> IO ()
+
+-- | usage: (@imageIsOk obj@).
+imageIsOk :: Image  a ->  IO Bool
+imageIsOk _obj 
+  = withBoolResult $
+    withObjectRef "imageIsOk" _obj $ \cobj__obj -> 
+    wxImage_IsOk cobj__obj  
+foreign import ccall "wxImage_IsOk" wxImage_IsOk :: Ptr (TImage a) -> IO CBool
+
+-- | usage: (@imageListAddBitmap obj bitmap mask@).
+imageListAddBitmap :: ImageList  a -> Bitmap  b -> Bitmap  c ->  IO Int
+imageListAddBitmap _obj bitmap mask 
+  = withIntResult $
+    withObjectRef "imageListAddBitmap" _obj $ \cobj__obj -> 
+    withObjectPtr bitmap $ \cobj_bitmap -> 
+    withObjectPtr mask $ \cobj_mask -> 
+    wxImageList_AddBitmap cobj__obj  cobj_bitmap  cobj_mask  
+foreign import ccall "wxImageList_AddBitmap" wxImageList_AddBitmap :: Ptr (TImageList a) -> Ptr (TBitmap b) -> Ptr (TBitmap c) -> IO CInt
+
+-- | usage: (@imageListAddIcon obj icon@).
+imageListAddIcon :: ImageList  a -> Icon  b ->  IO Int
+imageListAddIcon _obj icon 
+  = withIntResult $
+    withObjectRef "imageListAddIcon" _obj $ \cobj__obj -> 
+    withObjectPtr icon $ \cobj_icon -> 
+    wxImageList_AddIcon cobj__obj  cobj_icon  
+foreign import ccall "wxImageList_AddIcon" wxImageList_AddIcon :: Ptr (TImageList a) -> Ptr (TIcon b) -> IO CInt
+
+-- | usage: (@imageListAddMasked obj bitmap maskColour@).
+imageListAddMasked :: ImageList  a -> Bitmap  b -> Color ->  IO Int
+imageListAddMasked _obj bitmap maskColour 
+  = withIntResult $
+    withObjectRef "imageListAddMasked" _obj $ \cobj__obj -> 
+    withObjectPtr bitmap $ \cobj_bitmap -> 
+    withColourPtr maskColour $ \cobj_maskColour -> 
+    wxImageList_AddMasked cobj__obj  cobj_bitmap  cobj_maskColour  
+foreign import ccall "wxImageList_AddMasked" wxImageList_AddMasked :: Ptr (TImageList a) -> Ptr (TBitmap b) -> Ptr (TColour c) -> IO CInt
+
+-- | usage: (@imageListCreate widthheight mask initialCount@).
+imageListCreate :: Size -> Bool -> Int ->  IO (ImageList  ())
+imageListCreate widthheight mask initialCount 
+  = withObjectResult $
+    wxImageList_Create (toCIntSizeW widthheight) (toCIntSizeH widthheight)  (toCBool mask)  (toCInt initialCount)  
+foreign import ccall "wxImageList_Create" wxImageList_Create :: CInt -> CInt -> CBool -> CInt -> IO (Ptr (TImageList ()))
+
+-- | usage: (@imageListDelete obj@).
+imageListDelete :: ImageList  a ->  IO ()
+imageListDelete
+  = objectDelete
+
+
+-- | usage: (@imageListDraw obj index dc xy flags solidBackground@).
+imageListDraw :: ImageList  a -> Int -> DC  c -> Point -> Int -> Bool ->  IO Bool
+imageListDraw _obj index dc xy flags solidBackground 
+  = withBoolResult $
+    withObjectRef "imageListDraw" _obj $ \cobj__obj -> 
+    withObjectPtr dc $ \cobj_dc -> 
+    wxImageList_Draw cobj__obj  (toCInt index)  cobj_dc  (toCIntPointX xy) (toCIntPointY xy)  (toCInt flags)  (toCBool solidBackground)  
+foreign import ccall "wxImageList_Draw" wxImageList_Draw :: Ptr (TImageList a) -> CInt -> Ptr (TDC c) -> CInt -> CInt -> CInt -> CBool -> IO CBool
+
+-- | usage: (@imageListGetImageCount obj@).
+imageListGetImageCount :: ImageList  a ->  IO Int
+imageListGetImageCount _obj 
+  = withIntResult $
+    withObjectRef "imageListGetImageCount" _obj $ \cobj__obj -> 
+    wxImageList_GetImageCount cobj__obj  
+foreign import ccall "wxImageList_GetImageCount" wxImageList_GetImageCount :: Ptr (TImageList a) -> IO CInt
+
+-- | usage: (@imageListGetSize obj index@).
+imageListGetSize :: ImageList  a -> Int ->  IO Size
+imageListGetSize _obj index 
+  = withSizeResult $ \pw ph -> 
+    withObjectRef "imageListGetSize" _obj $ \cobj__obj -> 
+    wxImageList_GetSize cobj__obj  (toCInt index)   pw ph
+foreign import ccall "wxImageList_GetSize" wxImageList_GetSize :: Ptr (TImageList a) -> CInt -> Ptr CInt -> Ptr CInt -> IO ()
+
+-- | usage: (@imageListRemove obj index@).
+imageListRemove :: ImageList  a -> Int ->  IO Bool
+imageListRemove _obj index 
+  = withBoolResult $
+    withObjectRef "imageListRemove" _obj $ \cobj__obj -> 
+    wxImageList_Remove cobj__obj  (toCInt index)  
+foreign import ccall "wxImageList_Remove" wxImageList_Remove :: Ptr (TImageList a) -> CInt -> IO CBool
+
+-- | usage: (@imageListRemoveAll obj@).
+imageListRemoveAll :: ImageList  a ->  IO Bool
+imageListRemoveAll _obj 
+  = withBoolResult $
+    withObjectRef "imageListRemoveAll" _obj $ \cobj__obj -> 
+    wxImageList_RemoveAll cobj__obj  
+foreign import ccall "wxImageList_RemoveAll" wxImageList_RemoveAll :: Ptr (TImageList a) -> IO CBool
+
+-- | usage: (@imageListReplace obj index bitmap mask@).
+imageListReplace :: ImageList  a -> Int -> Bitmap  c -> Bitmap  d ->  IO Bool
+imageListReplace _obj index bitmap mask 
+  = withBoolResult $
+    withObjectRef "imageListReplace" _obj $ \cobj__obj -> 
+    withObjectPtr bitmap $ \cobj_bitmap -> 
+    withObjectPtr mask $ \cobj_mask -> 
+    wxImageList_Replace cobj__obj  (toCInt index)  cobj_bitmap  cobj_mask  
+foreign import ccall "wxImageList_Replace" wxImageList_Replace :: Ptr (TImageList a) -> CInt -> Ptr (TBitmap c) -> Ptr (TBitmap d) -> IO CBool
+
+-- | usage: (@imageListReplaceIcon obj index icon@).
+imageListReplaceIcon :: ImageList  a -> Int -> Icon  c ->  IO Bool
+imageListReplaceIcon _obj index icon 
+  = withBoolResult $
+    withObjectRef "imageListReplaceIcon" _obj $ \cobj__obj -> 
+    withObjectPtr icon $ \cobj_icon -> 
+    wxImageList_ReplaceIcon cobj__obj  (toCInt index)  cobj_icon  
+foreign import ccall "wxImageList_ReplaceIcon" wxImageList_ReplaceIcon :: Ptr (TImageList a) -> CInt -> Ptr (TIcon c) -> IO CBool
+
+-- | usage: (@imageLoadFile obj name wxtype@).
+imageLoadFile :: Image  a -> String -> Int ->  IO Bool
+imageLoadFile _obj name wxtype 
+  = withBoolResult $
+    withObjectRef "imageLoadFile" _obj $ \cobj__obj -> 
+    withStringPtr name $ \cobj_name -> 
+    wxImage_LoadFile cobj__obj  cobj_name  (toCInt wxtype)  
+foreign import ccall "wxImage_LoadFile" wxImage_LoadFile :: Ptr (TImage a) -> Ptr (TWxString b) -> CInt -> IO CBool
+
+-- | usage: (@imageLoadStream obj name wxtype index@).
+imageLoadStream :: Image  a -> InputStream  b -> Int -> Int ->  IO Bool
+imageLoadStream _obj name wxtype index 
+  = withBoolResult $
+    withObjectRef "imageLoadStream" _obj $ \cobj__obj -> 
+    withObjectPtr name $ \cobj_name -> 
+    wxImage_LoadStream cobj__obj  cobj_name  (toCInt wxtype)  (toCInt index)  
+foreign import ccall "wxImage_LoadStream" wxImage_LoadStream :: Ptr (TImage a) -> Ptr (TInputStream b) -> CInt -> CInt -> IO CBool
+
+-- | usage: (@imageMirror obj horizontally@).
+imageMirror :: Image  a -> Bool ->  IO (Image  ())
+imageMirror _obj horizontally 
+  = withRefImage $ \pref -> 
+    withObjectRef "imageMirror" _obj $ \cobj__obj -> 
+    wxImage_Mirror cobj__obj  (toCBool horizontally)   pref
+foreign import ccall "wxImage_Mirror" wxImage_Mirror :: Ptr (TImage a) -> CBool -> Ptr (TImage ()) -> IO ()
+
+-- | usage: (@imagePaste obj image xy@).
+imagePaste :: Image  a -> Image  b -> Point ->  IO ()
+imagePaste _obj image xy 
+  = withObjectRef "imagePaste" _obj $ \cobj__obj -> 
+    withObjectPtr image $ \cobj_image -> 
+    wxImage_Paste cobj__obj  cobj_image  (toCIntPointX xy) (toCIntPointY xy)  
+foreign import ccall "wxImage_Paste" wxImage_Paste :: Ptr (TImage a) -> Ptr (TImage b) -> CInt -> CInt -> IO ()
+
+-- | usage: (@imageReplace obj r1g1b1 r2g2b2@).
+imageReplace :: Image  a -> Color -> Color ->  IO ()
+imageReplace _obj r1g1b1 r2g2b2 
+  = withObjectRef "imageReplace" _obj $ \cobj__obj -> 
+    wxImage_Replace cobj__obj  (colorRed r1g1b1) (colorGreen r1g1b1) (colorBlue r1g1b1)  (colorRed r2g2b2) (colorGreen r2g2b2) (colorBlue r2g2b2)  
+foreign import ccall "wxImage_Replace" wxImage_Replace :: Ptr (TImage a) -> Word8 -> Word8 -> Word8 -> Word8 -> Word8 -> Word8 -> IO ()
+
+-- | usage: (@imageRescale obj widthheight@).
+imageRescale :: Image  a -> Size ->  IO ()
+imageRescale _obj widthheight 
+  = withObjectRef "imageRescale" _obj $ \cobj__obj -> 
+    wxImage_Rescale cobj__obj  (toCIntSizeW widthheight) (toCIntSizeH widthheight)  
+foreign import ccall "wxImage_Rescale" wxImage_Rescale :: Ptr (TImage a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@imageRescaleEx obj widthheight quality@).
+imageRescaleEx :: Image  a -> Size -> Int ->  IO ()
+imageRescaleEx _obj widthheight quality 
+  = withObjectRef "imageRescaleEx" _obj $ \cobj__obj -> 
+    wxImage_RescaleEx cobj__obj  (toCIntSizeW widthheight) (toCIntSizeH widthheight)  (toCInt quality)  
+foreign import ccall "wxImage_RescaleEx" wxImage_RescaleEx :: Ptr (TImage a) -> CInt -> CInt -> CInt -> IO ()
+
+-- | usage: (@imageRotate obj angle cxcy interpolating offsetafterrotation@).
+imageRotate :: Image  a -> Double -> Point -> Bool -> Ptr  e ->  IO (Image  ())
+imageRotate _obj angle cxcy interpolating offsetafterrotation 
+  = withRefImage $ \pref -> 
+    withObjectRef "imageRotate" _obj $ \cobj__obj -> 
+    wxImage_Rotate cobj__obj  angle  (toCIntPointX cxcy) (toCIntPointY cxcy)  (toCBool interpolating)  offsetafterrotation   pref
+foreign import ccall "wxImage_Rotate" wxImage_Rotate :: Ptr (TImage a) -> Double -> CInt -> CInt -> CBool -> Ptr  e -> Ptr (TImage ()) -> IO ()
+
+-- | usage: (@imageRotate90 obj clockwise@).
+imageRotate90 :: Image  a -> Bool ->  IO (Image  ())
+imageRotate90 _obj clockwise 
+  = withRefImage $ \pref -> 
+    withObjectRef "imageRotate90" _obj $ \cobj__obj -> 
+    wxImage_Rotate90 cobj__obj  (toCBool clockwise)   pref
+foreign import ccall "wxImage_Rotate90" wxImage_Rotate90 :: Ptr (TImage a) -> CBool -> Ptr (TImage ()) -> IO ()
+
+-- | usage: (@imageSaveFile obj name wxtype@).
+imageSaveFile :: Image  a -> String -> Int ->  IO Bool
+imageSaveFile _obj name wxtype 
+  = withBoolResult $
+    withObjectRef "imageSaveFile" _obj $ \cobj__obj -> 
+    withStringPtr name $ \cobj_name -> 
+    wxImage_SaveFile cobj__obj  cobj_name  (toCInt wxtype)  
+foreign import ccall "wxImage_SaveFile" wxImage_SaveFile :: Ptr (TImage a) -> Ptr (TWxString b) -> CInt -> IO CBool
+
+-- | usage: (@imageSaveStream obj stream wxtype@).
+imageSaveStream :: Image  a -> OutputStream  b -> Int ->  IO Bool
+imageSaveStream _obj stream wxtype 
+  = withBoolResult $
+    withObjectRef "imageSaveStream" _obj $ \cobj__obj -> 
+    withObjectPtr stream $ \cobj_stream -> 
+    wxImage_SaveStream cobj__obj  cobj_stream  (toCInt wxtype)  
+foreign import ccall "wxImage_SaveStream" wxImage_SaveStream :: Ptr (TImage a) -> Ptr (TOutputStream b) -> CInt -> IO CBool
+
+-- | usage: (@imageScale obj widthheight@).
+imageScale :: Image  a -> Size ->  IO (Image  ())
+imageScale _obj widthheight 
+  = withRefImage $ \pref -> 
+    withObjectRef "imageScale" _obj $ \cobj__obj -> 
+    wxImage_Scale cobj__obj  (toCIntSizeW widthheight) (toCIntSizeH widthheight)   pref
+foreign import ccall "wxImage_Scale" wxImage_Scale :: Ptr (TImage a) -> CInt -> CInt -> Ptr (TImage ()) -> IO ()
+
+-- | usage: (@imageScaleEx obj widthheight quality@).
+imageScaleEx :: Image  a -> Size -> Int ->  IO (Image  ())
+imageScaleEx _obj widthheight quality 
+  = withRefImage $ \pref -> 
+    withObjectRef "imageScaleEx" _obj $ \cobj__obj -> 
+    wxImage_ScaleEx cobj__obj  (toCIntSizeW widthheight) (toCIntSizeH widthheight)  (toCInt quality)   pref
+foreign import ccall "wxImage_ScaleEx" wxImage_ScaleEx :: Ptr (TImage a) -> CInt -> CInt -> CInt -> Ptr (TImage ()) -> IO ()
+
+-- | usage: (@imageSetData obj wxdata@).
+imageSetData :: Image  a -> Ptr  b ->  IO ()
+imageSetData _obj wxdata 
+  = withObjectRef "imageSetData" _obj $ \cobj__obj -> 
+    wxImage_SetData cobj__obj  wxdata  
+foreign import ccall "wxImage_SetData" wxImage_SetData :: Ptr (TImage a) -> Ptr  b -> IO ()
+
+-- | usage: (@imageSetDataAndSize obj wxdata newwidthnewheight@).
+imageSetDataAndSize :: Image  a -> Ptr  b -> Size ->  IO ()
+imageSetDataAndSize _obj wxdata newwidthnewheight 
+  = withObjectRef "imageSetDataAndSize" _obj $ \cobj__obj -> 
+    wxImage_SetDataAndSize cobj__obj  wxdata  (toCIntSizeW newwidthnewheight) (toCIntSizeH newwidthnewheight)  
+foreign import ccall "wxImage_SetDataAndSize" wxImage_SetDataAndSize :: Ptr (TImage a) -> Ptr  b -> CInt -> CInt -> IO ()
+
+-- | usage: (@imageSetMask obj mask@).
+imageSetMask :: Image  a -> Int ->  IO ()
+imageSetMask _obj mask 
+  = withObjectRef "imageSetMask" _obj $ \cobj__obj -> 
+    wxImage_SetMask cobj__obj  (toCInt mask)  
+foreign import ccall "wxImage_SetMask" wxImage_SetMask :: Ptr (TImage a) -> CInt -> IO ()
+
+-- | usage: (@imageSetMaskColour obj rgb@).
+imageSetMaskColour :: Image  a -> Color ->  IO ()
+imageSetMaskColour _obj rgb 
+  = withObjectRef "imageSetMaskColour" _obj $ \cobj__obj -> 
+    wxImage_SetMaskColour cobj__obj  (colorRed rgb) (colorGreen rgb) (colorBlue rgb)  
+foreign import ccall "wxImage_SetMaskColour" wxImage_SetMaskColour :: Ptr (TImage a) -> Word8 -> Word8 -> Word8 -> IO ()
+
+-- | usage: (@imageSetOption obj name value@).
+imageSetOption :: Image  a -> String -> String ->  IO ()
+imageSetOption _obj name value 
+  = withObjectRef "imageSetOption" _obj $ \cobj__obj -> 
+    withStringPtr name $ \cobj_name -> 
+    withStringPtr value $ \cobj_value -> 
+    wxImage_SetOption cobj__obj  cobj_name  cobj_value  
+foreign import ccall "wxImage_SetOption" wxImage_SetOption :: Ptr (TImage a) -> Ptr (TWxString b) -> Ptr (TWxString c) -> IO ()
+
+-- | usage: (@imageSetOptionInt obj name value@).
+imageSetOptionInt :: Image  a -> String -> Int ->  IO ()
+imageSetOptionInt _obj name value 
+  = withObjectRef "imageSetOptionInt" _obj $ \cobj__obj -> 
+    withStringPtr name $ \cobj_name -> 
+    wxImage_SetOptionInt cobj__obj  cobj_name  (toCInt value)  
+foreign import ccall "wxImage_SetOptionInt" wxImage_SetOptionInt :: Ptr (TImage a) -> Ptr (TWxString b) -> CInt -> IO ()
+
+-- | usage: (@imageSetRGB obj xy rgb@).
+imageSetRGB :: Image  a -> Point -> Color ->  IO ()
+imageSetRGB _obj xy rgb 
+  = withObjectRef "imageSetRGB" _obj $ \cobj__obj -> 
+    wxImage_SetRGB cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  (colorRed rgb) (colorGreen rgb) (colorBlue rgb)  
+foreign import ccall "wxImage_SetRGB" wxImage_SetRGB :: Ptr (TImage a) -> CInt -> CInt -> Word8 -> Word8 -> Word8 -> IO ()
+
+-- | usage: (@imageSetType obj wxtype@).
+imageSetType :: Image  a -> Int ->  IO ()
+imageSetType _obj wxtype 
+  = withObjectRef "imageSetType" _obj $ \cobj__obj -> 
+    wxImage_SetType cobj__obj  (toCInt wxtype)  
+foreign import ccall "wxImage_SetType" wxImage_SetType :: Ptr (TImage a) -> CInt -> IO ()
+
+-- | usage: (@individualLayoutConstraintAbove obj sibling marg@).
+individualLayoutConstraintAbove :: IndividualLayoutConstraint  a -> Window  b -> Int ->  IO ()
+individualLayoutConstraintAbove _obj sibling marg 
+  = withObjectRef "individualLayoutConstraintAbove" _obj $ \cobj__obj -> 
+    withObjectPtr sibling $ \cobj_sibling -> 
+    wxIndividualLayoutConstraint_Above cobj__obj  cobj_sibling  (toCInt marg)  
+foreign import ccall "wxIndividualLayoutConstraint_Above" wxIndividualLayoutConstraint_Above :: Ptr (TIndividualLayoutConstraint a) -> Ptr (TWindow b) -> CInt -> IO ()
+
+-- | usage: (@individualLayoutConstraintAbsolute obj val@).
+individualLayoutConstraintAbsolute :: IndividualLayoutConstraint  a -> Int ->  IO ()
+individualLayoutConstraintAbsolute _obj val 
+  = withObjectRef "individualLayoutConstraintAbsolute" _obj $ \cobj__obj -> 
+    wxIndividualLayoutConstraint_Absolute cobj__obj  (toCInt val)  
+foreign import ccall "wxIndividualLayoutConstraint_Absolute" wxIndividualLayoutConstraint_Absolute :: Ptr (TIndividualLayoutConstraint a) -> CInt -> IO ()
+
+-- | usage: (@individualLayoutConstraintAsIs obj@).
+individualLayoutConstraintAsIs :: IndividualLayoutConstraint  a ->  IO ()
+individualLayoutConstraintAsIs _obj 
+  = withObjectRef "individualLayoutConstraintAsIs" _obj $ \cobj__obj -> 
+    wxIndividualLayoutConstraint_AsIs cobj__obj  
+foreign import ccall "wxIndividualLayoutConstraint_AsIs" wxIndividualLayoutConstraint_AsIs :: Ptr (TIndividualLayoutConstraint a) -> IO ()
+
+-- | usage: (@individualLayoutConstraintBelow obj sibling marg@).
+individualLayoutConstraintBelow :: IndividualLayoutConstraint  a -> Window  b -> Int ->  IO ()
+individualLayoutConstraintBelow _obj sibling marg 
+  = withObjectRef "individualLayoutConstraintBelow" _obj $ \cobj__obj -> 
+    withObjectPtr sibling $ \cobj_sibling -> 
+    wxIndividualLayoutConstraint_Below cobj__obj  cobj_sibling  (toCInt marg)  
+foreign import ccall "wxIndividualLayoutConstraint_Below" wxIndividualLayoutConstraint_Below :: Ptr (TIndividualLayoutConstraint a) -> Ptr (TWindow b) -> CInt -> IO ()
+
+-- | usage: (@individualLayoutConstraintGetDone obj@).
+individualLayoutConstraintGetDone :: IndividualLayoutConstraint  a ->  IO Bool
+individualLayoutConstraintGetDone _obj 
+  = withBoolResult $
+    withObjectRef "individualLayoutConstraintGetDone" _obj $ \cobj__obj -> 
+    wxIndividualLayoutConstraint_GetDone cobj__obj  
+foreign import ccall "wxIndividualLayoutConstraint_GetDone" wxIndividualLayoutConstraint_GetDone :: Ptr (TIndividualLayoutConstraint a) -> IO CBool
+
+-- | usage: (@individualLayoutConstraintGetEdge obj which thisWin other@).
+individualLayoutConstraintGetEdge :: IndividualLayoutConstraint  a -> Int -> Ptr  c -> Ptr  d ->  IO Int
+individualLayoutConstraintGetEdge _obj which thisWin other 
+  = withIntResult $
+    withObjectRef "individualLayoutConstraintGetEdge" _obj $ \cobj__obj -> 
+    wxIndividualLayoutConstraint_GetEdge cobj__obj  (toCInt which)  thisWin  other  
+foreign import ccall "wxIndividualLayoutConstraint_GetEdge" wxIndividualLayoutConstraint_GetEdge :: Ptr (TIndividualLayoutConstraint a) -> CInt -> Ptr  c -> Ptr  d -> IO CInt
+
+-- | usage: (@individualLayoutConstraintGetMargin obj@).
+individualLayoutConstraintGetMargin :: IndividualLayoutConstraint  a ->  IO Int
+individualLayoutConstraintGetMargin _obj 
+  = withIntResult $
+    withObjectRef "individualLayoutConstraintGetMargin" _obj $ \cobj__obj -> 
+    wxIndividualLayoutConstraint_GetMargin cobj__obj  
+foreign import ccall "wxIndividualLayoutConstraint_GetMargin" wxIndividualLayoutConstraint_GetMargin :: Ptr (TIndividualLayoutConstraint a) -> IO CInt
+
+-- | usage: (@individualLayoutConstraintGetMyEdge obj@).
+individualLayoutConstraintGetMyEdge :: IndividualLayoutConstraint  a ->  IO Int
+individualLayoutConstraintGetMyEdge _obj 
+  = withIntResult $
+    withObjectRef "individualLayoutConstraintGetMyEdge" _obj $ \cobj__obj -> 
+    wxIndividualLayoutConstraint_GetMyEdge cobj__obj  
+foreign import ccall "wxIndividualLayoutConstraint_GetMyEdge" wxIndividualLayoutConstraint_GetMyEdge :: Ptr (TIndividualLayoutConstraint a) -> IO CInt
+
+-- | usage: (@individualLayoutConstraintGetOtherEdge obj@).
+individualLayoutConstraintGetOtherEdge :: IndividualLayoutConstraint  a ->  IO Int
+individualLayoutConstraintGetOtherEdge _obj 
+  = withIntResult $
+    withObjectRef "individualLayoutConstraintGetOtherEdge" _obj $ \cobj__obj -> 
+    wxIndividualLayoutConstraint_GetOtherEdge cobj__obj  
+foreign import ccall "wxIndividualLayoutConstraint_GetOtherEdge" wxIndividualLayoutConstraint_GetOtherEdge :: Ptr (TIndividualLayoutConstraint a) -> IO CInt
+
+-- | usage: (@individualLayoutConstraintGetOtherWindow obj@).
+individualLayoutConstraintGetOtherWindow :: IndividualLayoutConstraint  a ->  IO (Ptr  ())
+individualLayoutConstraintGetOtherWindow _obj 
+  = withObjectRef "individualLayoutConstraintGetOtherWindow" _obj $ \cobj__obj -> 
+    wxIndividualLayoutConstraint_GetOtherWindow cobj__obj  
+foreign import ccall "wxIndividualLayoutConstraint_GetOtherWindow" wxIndividualLayoutConstraint_GetOtherWindow :: Ptr (TIndividualLayoutConstraint a) -> IO (Ptr  ())
+
+-- | usage: (@individualLayoutConstraintGetPercent obj@).
+individualLayoutConstraintGetPercent :: IndividualLayoutConstraint  a ->  IO Int
+individualLayoutConstraintGetPercent _obj 
+  = withIntResult $
+    withObjectRef "individualLayoutConstraintGetPercent" _obj $ \cobj__obj -> 
+    wxIndividualLayoutConstraint_GetPercent cobj__obj  
+foreign import ccall "wxIndividualLayoutConstraint_GetPercent" wxIndividualLayoutConstraint_GetPercent :: Ptr (TIndividualLayoutConstraint a) -> IO CInt
+
+-- | usage: (@individualLayoutConstraintGetRelationship obj@).
+individualLayoutConstraintGetRelationship :: IndividualLayoutConstraint  a ->  IO Int
+individualLayoutConstraintGetRelationship _obj 
+  = withIntResult $
+    withObjectRef "individualLayoutConstraintGetRelationship" _obj $ \cobj__obj -> 
+    wxIndividualLayoutConstraint_GetRelationship cobj__obj  
+foreign import ccall "wxIndividualLayoutConstraint_GetRelationship" wxIndividualLayoutConstraint_GetRelationship :: Ptr (TIndividualLayoutConstraint a) -> IO CInt
+
+-- | usage: (@individualLayoutConstraintGetValue obj@).
+individualLayoutConstraintGetValue :: IndividualLayoutConstraint  a ->  IO Int
+individualLayoutConstraintGetValue _obj 
+  = withIntResult $
+    withObjectRef "individualLayoutConstraintGetValue" _obj $ \cobj__obj -> 
+    wxIndividualLayoutConstraint_GetValue cobj__obj  
+foreign import ccall "wxIndividualLayoutConstraint_GetValue" wxIndividualLayoutConstraint_GetValue :: Ptr (TIndividualLayoutConstraint a) -> IO CInt
+
+-- | usage: (@individualLayoutConstraintLeftOf obj sibling marg@).
+individualLayoutConstraintLeftOf :: IndividualLayoutConstraint  a -> Window  b -> Int ->  IO ()
+individualLayoutConstraintLeftOf _obj sibling marg 
+  = withObjectRef "individualLayoutConstraintLeftOf" _obj $ \cobj__obj -> 
+    withObjectPtr sibling $ \cobj_sibling -> 
+    wxIndividualLayoutConstraint_LeftOf cobj__obj  cobj_sibling  (toCInt marg)  
+foreign import ccall "wxIndividualLayoutConstraint_LeftOf" wxIndividualLayoutConstraint_LeftOf :: Ptr (TIndividualLayoutConstraint a) -> Ptr (TWindow b) -> CInt -> IO ()
+
+-- | usage: (@individualLayoutConstraintPercentOf obj otherW wh per@).
+individualLayoutConstraintPercentOf :: IndividualLayoutConstraint  a -> Window  b -> Int -> Int ->  IO ()
+individualLayoutConstraintPercentOf _obj otherW wh per 
+  = withObjectRef "individualLayoutConstraintPercentOf" _obj $ \cobj__obj -> 
+    withObjectPtr otherW $ \cobj_otherW -> 
+    wxIndividualLayoutConstraint_PercentOf cobj__obj  cobj_otherW  (toCInt wh)  (toCInt per)  
+foreign import ccall "wxIndividualLayoutConstraint_PercentOf" wxIndividualLayoutConstraint_PercentOf :: Ptr (TIndividualLayoutConstraint a) -> Ptr (TWindow b) -> CInt -> CInt -> IO ()
+
+-- | usage: (@individualLayoutConstraintResetIfWin obj otherW@).
+individualLayoutConstraintResetIfWin :: IndividualLayoutConstraint  a -> Window  b ->  IO Bool
+individualLayoutConstraintResetIfWin _obj otherW 
+  = withBoolResult $
+    withObjectRef "individualLayoutConstraintResetIfWin" _obj $ \cobj__obj -> 
+    withObjectPtr otherW $ \cobj_otherW -> 
+    wxIndividualLayoutConstraint_ResetIfWin cobj__obj  cobj_otherW  
+foreign import ccall "wxIndividualLayoutConstraint_ResetIfWin" wxIndividualLayoutConstraint_ResetIfWin :: Ptr (TIndividualLayoutConstraint a) -> Ptr (TWindow b) -> IO CBool
+
+-- | usage: (@individualLayoutConstraintRightOf obj sibling marg@).
+individualLayoutConstraintRightOf :: IndividualLayoutConstraint  a -> Window  b -> Int ->  IO ()
+individualLayoutConstraintRightOf _obj sibling marg 
+  = withObjectRef "individualLayoutConstraintRightOf" _obj $ \cobj__obj -> 
+    withObjectPtr sibling $ \cobj_sibling -> 
+    wxIndividualLayoutConstraint_RightOf cobj__obj  cobj_sibling  (toCInt marg)  
+foreign import ccall "wxIndividualLayoutConstraint_RightOf" wxIndividualLayoutConstraint_RightOf :: Ptr (TIndividualLayoutConstraint a) -> Ptr (TWindow b) -> CInt -> IO ()
+
+-- | usage: (@individualLayoutConstraintSameAs obj otherW edge marg@).
+individualLayoutConstraintSameAs :: IndividualLayoutConstraint  a -> Window  b -> Int -> Int ->  IO ()
+individualLayoutConstraintSameAs _obj otherW edge marg 
+  = withObjectRef "individualLayoutConstraintSameAs" _obj $ \cobj__obj -> 
+    withObjectPtr otherW $ \cobj_otherW -> 
+    wxIndividualLayoutConstraint_SameAs cobj__obj  cobj_otherW  (toCInt edge)  (toCInt marg)  
+foreign import ccall "wxIndividualLayoutConstraint_SameAs" wxIndividualLayoutConstraint_SameAs :: Ptr (TIndividualLayoutConstraint a) -> Ptr (TWindow b) -> CInt -> CInt -> IO ()
+
+-- | usage: (@individualLayoutConstraintSatisfyConstraint obj constraints win@).
+individualLayoutConstraintSatisfyConstraint :: IndividualLayoutConstraint  a -> Ptr  b -> Window  c ->  IO Bool
+individualLayoutConstraintSatisfyConstraint _obj constraints win 
+  = withBoolResult $
+    withObjectRef "individualLayoutConstraintSatisfyConstraint" _obj $ \cobj__obj -> 
+    withObjectPtr win $ \cobj_win -> 
+    wxIndividualLayoutConstraint_SatisfyConstraint cobj__obj  constraints  cobj_win  
+foreign import ccall "wxIndividualLayoutConstraint_SatisfyConstraint" wxIndividualLayoutConstraint_SatisfyConstraint :: Ptr (TIndividualLayoutConstraint a) -> Ptr  b -> Ptr (TWindow c) -> IO CBool
+
+-- | usage: (@individualLayoutConstraintSet obj rel otherW otherE val marg@).
+individualLayoutConstraintSet :: IndividualLayoutConstraint  a -> Int -> Window  c -> Int -> Int -> Int ->  IO ()
+individualLayoutConstraintSet _obj rel otherW otherE val marg 
+  = withObjectRef "individualLayoutConstraintSet" _obj $ \cobj__obj -> 
+    withObjectPtr otherW $ \cobj_otherW -> 
+    wxIndividualLayoutConstraint_Set cobj__obj  (toCInt rel)  cobj_otherW  (toCInt otherE)  (toCInt val)  (toCInt marg)  
+foreign import ccall "wxIndividualLayoutConstraint_Set" wxIndividualLayoutConstraint_Set :: Ptr (TIndividualLayoutConstraint a) -> CInt -> Ptr (TWindow c) -> CInt -> CInt -> CInt -> IO ()
+
+-- | usage: (@individualLayoutConstraintSetDone obj d@).
+individualLayoutConstraintSetDone :: IndividualLayoutConstraint  a -> Bool ->  IO ()
+individualLayoutConstraintSetDone _obj d 
+  = withObjectRef "individualLayoutConstraintSetDone" _obj $ \cobj__obj -> 
+    wxIndividualLayoutConstraint_SetDone cobj__obj  (toCBool d)  
+foreign import ccall "wxIndividualLayoutConstraint_SetDone" wxIndividualLayoutConstraint_SetDone :: Ptr (TIndividualLayoutConstraint a) -> CBool -> IO ()
+
+-- | usage: (@individualLayoutConstraintSetEdge obj which@).
+individualLayoutConstraintSetEdge :: IndividualLayoutConstraint  a -> Int ->  IO ()
+individualLayoutConstraintSetEdge _obj which 
+  = withObjectRef "individualLayoutConstraintSetEdge" _obj $ \cobj__obj -> 
+    wxIndividualLayoutConstraint_SetEdge cobj__obj  (toCInt which)  
+foreign import ccall "wxIndividualLayoutConstraint_SetEdge" wxIndividualLayoutConstraint_SetEdge :: Ptr (TIndividualLayoutConstraint a) -> CInt -> IO ()
+
+-- | usage: (@individualLayoutConstraintSetMargin obj m@).
+individualLayoutConstraintSetMargin :: IndividualLayoutConstraint  a -> Int ->  IO ()
+individualLayoutConstraintSetMargin _obj m 
+  = withObjectRef "individualLayoutConstraintSetMargin" _obj $ \cobj__obj -> 
+    wxIndividualLayoutConstraint_SetMargin cobj__obj  (toCInt m)  
+foreign import ccall "wxIndividualLayoutConstraint_SetMargin" wxIndividualLayoutConstraint_SetMargin :: Ptr (TIndividualLayoutConstraint a) -> CInt -> IO ()
+
+-- | usage: (@individualLayoutConstraintSetRelationship obj r@).
+individualLayoutConstraintSetRelationship :: IndividualLayoutConstraint  a -> Int ->  IO ()
+individualLayoutConstraintSetRelationship _obj r 
+  = withObjectRef "individualLayoutConstraintSetRelationship" _obj $ \cobj__obj -> 
+    wxIndividualLayoutConstraint_SetRelationship cobj__obj  (toCInt r)  
+foreign import ccall "wxIndividualLayoutConstraint_SetRelationship" wxIndividualLayoutConstraint_SetRelationship :: Ptr (TIndividualLayoutConstraint a) -> CInt -> IO ()
+
+-- | usage: (@individualLayoutConstraintSetValue obj v@).
+individualLayoutConstraintSetValue :: IndividualLayoutConstraint  a -> Int ->  IO ()
+individualLayoutConstraintSetValue _obj v 
+  = withObjectRef "individualLayoutConstraintSetValue" _obj $ \cobj__obj -> 
+    wxIndividualLayoutConstraint_SetValue cobj__obj  (toCInt v)  
+foreign import ccall "wxIndividualLayoutConstraint_SetValue" wxIndividualLayoutConstraint_SetValue :: Ptr (TIndividualLayoutConstraint a) -> CInt -> IO ()
+
+-- | usage: (@individualLayoutConstraintUnconstrained obj@).
+individualLayoutConstraintUnconstrained :: IndividualLayoutConstraint  a ->  IO ()
+individualLayoutConstraintUnconstrained _obj 
+  = withObjectRef "individualLayoutConstraintUnconstrained" _obj $ \cobj__obj -> 
+    wxIndividualLayoutConstraint_Unconstrained cobj__obj  
+foreign import ccall "wxIndividualLayoutConstraint_Unconstrained" wxIndividualLayoutConstraint_Unconstrained :: Ptr (TIndividualLayoutConstraint a) -> IO ()
+
+{- |  Create an event driven input stream. It is unsafe to reference the original inputStream after this call! The last parameter @bufferLen@ gives the default input batch size. The sink is automatically destroyed whenever the input stream has no more input.  -}
+inputSinkCreate :: InputStream  a -> EvtHandler  b -> Int ->  IO (InputSink  ())
+inputSinkCreate input evtHandler bufferLen 
+  = withObjectResult $
+    withObjectPtr input $ \cobj_input -> 
+    withObjectPtr evtHandler $ \cobj_evtHandler -> 
+    wxInputSink_Create cobj_input  cobj_evtHandler  (toCInt bufferLen)  
+foreign import ccall "wxInputSink_Create" wxInputSink_Create :: Ptr (TInputStream a) -> Ptr (TEvtHandler b) -> CInt -> IO (Ptr (TInputSink ()))
+
+{- |  Get the input status (@wxSTREAM_NO_ERROR@ is ok).  -}
+inputSinkEventLastError :: InputSinkEvent  a ->  IO Int
+inputSinkEventLastError obj 
+  = withIntResult $
+    withObjectRef "inputSinkEventLastError" obj $ \cobj_obj -> 
+    wxInputSinkEvent_LastError cobj_obj  
+foreign import ccall "wxInputSinkEvent_LastError" wxInputSinkEvent_LastError :: Ptr (TInputSinkEvent a) -> IO CInt
+
+{- |  The input buffer.  -}
+inputSinkEventLastInput :: InputSinkEvent  a ->  IO (Ptr CWchar)
+inputSinkEventLastInput obj 
+  = withObjectRef "inputSinkEventLastInput" obj $ \cobj_obj -> 
+    wxInputSinkEvent_LastInput cobj_obj  
+foreign import ccall "wxInputSinkEvent_LastInput" wxInputSinkEvent_LastInput :: Ptr (TInputSinkEvent a) -> IO (Ptr CWchar)
+
+{- |  The number of characters in the input buffer.  -}
+inputSinkEventLastRead :: InputSinkEvent  a ->  IO Int
+inputSinkEventLastRead obj 
+  = withIntResult $
+    withObjectRef "inputSinkEventLastRead" obj $ \cobj_obj -> 
+    wxInputSinkEvent_LastRead cobj_obj  
+foreign import ccall "wxInputSinkEvent_LastRead" wxInputSinkEvent_LastRead :: Ptr (TInputSinkEvent a) -> IO CInt
+
+{- |  After creation, retrieve the @id@ of the sink to connect to @wxEVT_INPUT_SINK@ events.  -}
+inputSinkGetId :: InputSink  a ->  IO Int
+inputSinkGetId obj 
+  = withIntResult $
+    withObjectRef "inputSinkGetId" obj $ \cobj_obj -> 
+    wxInputSink_GetId cobj_obj  
+foreign import ccall "wxInputSink_GetId" wxInputSink_GetId :: Ptr (TInputSink a) -> IO CInt
+
+{- |  After event connection, start non-blocking reading of the inputstream. This will generate @inputSinkEvent@ events.  -}
+inputSinkStart :: InputSink  a ->  IO ()
+inputSinkStart obj 
+  = withObjectRef "inputSinkStart" obj $ \cobj_obj -> 
+    wxInputSink_Start cobj_obj  
+foreign import ccall "wxInputSink_Start" wxInputSink_Start :: Ptr (TInputSink a) -> IO ()
+
+-- | usage: (@inputStreamCanRead self@).
+inputStreamCanRead :: InputStream  a ->  IO Bool
+inputStreamCanRead self 
+  = withBoolResult $
+    withObjectRef "inputStreamCanRead" self $ \cobj_self -> 
+    wxInputStream_CanRead cobj_self  
+foreign import ccall "wxInputStream_CanRead" wxInputStream_CanRead :: Ptr (TInputStream a) -> IO CBool
+
+-- | usage: (@inputStreamDelete obj@).
+inputStreamDelete :: InputStream  a ->  IO ()
+inputStreamDelete _obj 
+  = withObjectRef "inputStreamDelete" _obj $ \cobj__obj -> 
+    wxInputStream_Delete cobj__obj  
+foreign import ccall "wxInputStream_Delete" wxInputStream_Delete :: Ptr (TInputStream a) -> IO ()
+
+-- | usage: (@inputStreamEof obj@).
+inputStreamEof :: InputStream  a ->  IO Bool
+inputStreamEof _obj 
+  = withBoolResult $
+    withObjectRef "inputStreamEof" _obj $ \cobj__obj -> 
+    wxInputStream_Eof cobj__obj  
+foreign import ccall "wxInputStream_Eof" wxInputStream_Eof :: Ptr (TInputStream a) -> IO CBool
+
+-- | usage: (@inputStreamGetC obj@).
+inputStreamGetC :: InputStream  a ->  IO Char
+inputStreamGetC _obj 
+  = withCharResult $
+    withObjectRef "inputStreamGetC" _obj $ \cobj__obj -> 
+    wxInputStream_GetC cobj__obj  
+foreign import ccall "wxInputStream_GetC" wxInputStream_GetC :: Ptr (TInputStream a) -> IO CWchar
+
+-- | usage: (@inputStreamLastRead obj@).
+inputStreamLastRead :: InputStream  a ->  IO Int
+inputStreamLastRead _obj 
+  = withIntResult $
+    withObjectRef "inputStreamLastRead" _obj $ \cobj__obj -> 
+    wxInputStream_LastRead cobj__obj  
+foreign import ccall "wxInputStream_LastRead" wxInputStream_LastRead :: Ptr (TInputStream a) -> IO CInt
+
+-- | usage: (@inputStreamPeek obj@).
+inputStreamPeek :: InputStream  a ->  IO Char
+inputStreamPeek _obj 
+  = withCharResult $
+    withObjectRef "inputStreamPeek" _obj $ \cobj__obj -> 
+    wxInputStream_Peek cobj__obj  
+foreign import ccall "wxInputStream_Peek" wxInputStream_Peek :: Ptr (TInputStream a) -> IO CWchar
+
+-- | usage: (@inputStreamRead obj buffer size@).
+inputStreamRead :: InputStream  a -> Ptr  b -> Int ->  IO ()
+inputStreamRead _obj buffer size 
+  = withObjectRef "inputStreamRead" _obj $ \cobj__obj -> 
+    wxInputStream_Read cobj__obj  buffer  (toCInt size)  
+foreign import ccall "wxInputStream_Read" wxInputStream_Read :: Ptr (TInputStream a) -> Ptr  b -> CInt -> IO ()
+
+-- | usage: (@inputStreamSeekI obj pos mode@).
+inputStreamSeekI :: InputStream  a -> Int -> Int ->  IO Int
+inputStreamSeekI _obj pos mode 
+  = withIntResult $
+    withObjectRef "inputStreamSeekI" _obj $ \cobj__obj -> 
+    wxInputStream_SeekI cobj__obj  (toCInt pos)  (toCInt mode)  
+foreign import ccall "wxInputStream_SeekI" wxInputStream_SeekI :: Ptr (TInputStream a) -> CInt -> CInt -> IO CInt
+
+-- | usage: (@inputStreamTell obj@).
+inputStreamTell :: InputStream  a ->  IO Int
+inputStreamTell _obj 
+  = withIntResult $
+    withObjectRef "inputStreamTell" _obj $ \cobj__obj -> 
+    wxInputStream_Tell cobj__obj  
+foreign import ccall "wxInputStream_Tell" wxInputStream_Tell :: Ptr (TInputStream a) -> IO CInt
+
+-- | usage: (@inputStreamUngetBuffer obj buffer size@).
+inputStreamUngetBuffer :: InputStream  a -> Ptr  b -> Int ->  IO Int
+inputStreamUngetBuffer _obj buffer size 
+  = withIntResult $
+    withObjectRef "inputStreamUngetBuffer" _obj $ \cobj__obj -> 
+    wxInputStream_UngetBuffer cobj__obj  buffer  (toCInt size)  
+foreign import ccall "wxInputStream_UngetBuffer" wxInputStream_UngetBuffer :: Ptr (TInputStream a) -> Ptr  b -> CInt -> IO CInt
+
+-- | usage: (@inputStreamUngetch obj c@).
+inputStreamUngetch :: InputStream  a -> Char ->  IO Int
+inputStreamUngetch _obj c 
+  = withIntResult $
+    withObjectRef "inputStreamUngetch" _obj $ \cobj__obj -> 
+    wxInputStream_Ungetch cobj__obj  (toCWchar c)  
+foreign import ccall "wxInputStream_Ungetch" wxInputStream_Ungetch :: Ptr (TInputStream a) -> CWchar -> IO CInt
+
+-- | usage: (@intPropertyCreate label name value@).
+intPropertyCreate :: String -> String -> Int ->  IO (IntProperty  ())
+intPropertyCreate label name value 
+  = withObjectResult $
+    withStringPtr label $ \cobj_label -> 
+    withStringPtr name $ \cobj_name -> 
+    wxIntProperty_Create cobj_label  cobj_name  (toCInt value)  
+foreign import ccall "wxIntProperty_Create" wxIntProperty_Create :: Ptr (TWxString a) -> Ptr (TWxString b) -> CInt -> IO (Ptr (TIntProperty ()))
+
+{- |  Check if a preprocessor macro is defined. For example, @wxIsDefined("__WXGTK__")@ or @wxIsDefined("wxUSE_GIF")@.  -}
+isDefined :: String ->  IO Bool
+isDefined s 
+  = withBoolResult $
+    withCWString s $ \cstr_s -> 
+    wx_wxIsDefined cstr_s  
+foreign import ccall "wxIsDefined" wx_wxIsDefined :: CWString -> IO CBool
+
+-- | usage: (@keyEventAltDown obj@).
+keyEventAltDown :: KeyEvent  a ->  IO Bool
+keyEventAltDown _obj 
+  = withBoolResult $
+    withObjectRef "keyEventAltDown" _obj $ \cobj__obj -> 
+    wxKeyEvent_AltDown cobj__obj  
+foreign import ccall "wxKeyEvent_AltDown" wxKeyEvent_AltDown :: Ptr (TKeyEvent a) -> IO CBool
+
+-- | usage: (@keyEventControlDown obj@).
+keyEventControlDown :: KeyEvent  a ->  IO Bool
+keyEventControlDown _obj 
+  = withBoolResult $
+    withObjectRef "keyEventControlDown" _obj $ \cobj__obj -> 
+    wxKeyEvent_ControlDown cobj__obj  
+foreign import ccall "wxKeyEvent_ControlDown" wxKeyEvent_ControlDown :: Ptr (TKeyEvent a) -> IO CBool
+
+-- | usage: (@keyEventCopyObject obj obj@).
+keyEventCopyObject :: KeyEvent  a -> Ptr  b ->  IO ()
+keyEventCopyObject _obj obj 
+  = withObjectRef "keyEventCopyObject" _obj $ \cobj__obj -> 
+    wxKeyEvent_CopyObject cobj__obj  obj  
+foreign import ccall "wxKeyEvent_CopyObject" wxKeyEvent_CopyObject :: Ptr (TKeyEvent a) -> Ptr  b -> IO ()
+
+-- | usage: (@keyEventGetKeyCode obj@).
+keyEventGetKeyCode :: KeyEvent  a ->  IO Int
+keyEventGetKeyCode _obj 
+  = withIntResult $
+    withObjectRef "keyEventGetKeyCode" _obj $ \cobj__obj -> 
+    wxKeyEvent_GetKeyCode cobj__obj  
+foreign import ccall "wxKeyEvent_GetKeyCode" wxKeyEvent_GetKeyCode :: Ptr (TKeyEvent a) -> IO CInt
+
+-- | usage: (@keyEventGetModifiers obj@).
+keyEventGetModifiers :: KeyEvent  a ->  IO Int
+keyEventGetModifiers _obj 
+  = withIntResult $
+    withObjectRef "keyEventGetModifiers" _obj $ \cobj__obj -> 
+    wxKeyEvent_GetModifiers cobj__obj  
+foreign import ccall "wxKeyEvent_GetModifiers" wxKeyEvent_GetModifiers :: Ptr (TKeyEvent a) -> IO CInt
+
+-- | usage: (@keyEventGetPosition obj@).
+keyEventGetPosition :: KeyEvent  a ->  IO (Point)
+keyEventGetPosition _obj 
+  = withWxPointResult $
+    withObjectRef "keyEventGetPosition" _obj $ \cobj__obj -> 
+    wxKeyEvent_GetPosition cobj__obj  
+foreign import ccall "wxKeyEvent_GetPosition" wxKeyEvent_GetPosition :: Ptr (TKeyEvent a) -> IO (Ptr (TWxPoint ()))
+
+-- | usage: (@keyEventGetX obj@).
+keyEventGetX :: KeyEvent  a ->  IO Int
+keyEventGetX _obj 
+  = withIntResult $
+    withObjectRef "keyEventGetX" _obj $ \cobj__obj -> 
+    wxKeyEvent_GetX cobj__obj  
+foreign import ccall "wxKeyEvent_GetX" wxKeyEvent_GetX :: Ptr (TKeyEvent a) -> IO CInt
+
+-- | usage: (@keyEventGetY obj@).
+keyEventGetY :: KeyEvent  a ->  IO Int
+keyEventGetY _obj 
+  = withIntResult $
+    withObjectRef "keyEventGetY" _obj $ \cobj__obj -> 
+    wxKeyEvent_GetY cobj__obj  
+foreign import ccall "wxKeyEvent_GetY" wxKeyEvent_GetY :: Ptr (TKeyEvent a) -> IO CInt
+
+-- | usage: (@keyEventHasModifiers obj@).
+keyEventHasModifiers :: KeyEvent  a ->  IO Bool
+keyEventHasModifiers _obj 
+  = withBoolResult $
+    withObjectRef "keyEventHasModifiers" _obj $ \cobj__obj -> 
+    wxKeyEvent_HasModifiers cobj__obj  
+foreign import ccall "wxKeyEvent_HasModifiers" wxKeyEvent_HasModifiers :: Ptr (TKeyEvent a) -> IO CBool
+
+-- | usage: (@keyEventMetaDown obj@).
+keyEventMetaDown :: KeyEvent  a ->  IO Bool
+keyEventMetaDown _obj 
+  = withBoolResult $
+    withObjectRef "keyEventMetaDown" _obj $ \cobj__obj -> 
+    wxKeyEvent_MetaDown cobj__obj  
+foreign import ccall "wxKeyEvent_MetaDown" wxKeyEvent_MetaDown :: Ptr (TKeyEvent a) -> IO CBool
+
+-- | usage: (@keyEventSetKeyCode obj code@).
+keyEventSetKeyCode :: KeyEvent  a -> Int ->  IO ()
+keyEventSetKeyCode _obj code 
+  = withObjectRef "keyEventSetKeyCode" _obj $ \cobj__obj -> 
+    wxKeyEvent_SetKeyCode cobj__obj  (toCInt code)  
+foreign import ccall "wxKeyEvent_SetKeyCode" wxKeyEvent_SetKeyCode :: Ptr (TKeyEvent a) -> CInt -> IO ()
+
+-- | usage: (@keyEventShiftDown obj@).
+keyEventShiftDown :: KeyEvent  a ->  IO Bool
+keyEventShiftDown _obj 
+  = withBoolResult $
+    withObjectRef "keyEventShiftDown" _obj $ \cobj__obj -> 
+    wxKeyEvent_ShiftDown cobj__obj  
+foreign import ccall "wxKeyEvent_ShiftDown" wxKeyEvent_ShiftDown :: Ptr (TKeyEvent a) -> IO CBool
+
+-- | usage: (@kill pid signal@).
+kill :: Int -> Int ->  IO Int
+kill pid signal 
+  = withIntResult $
+    wx_wxKill (toCInt pid)  (toCInt signal)  
+foreign import ccall "wxKill" wx_wxKill :: CInt -> CInt -> IO CInt
+
+-- | usage: (@layoutAlgorithmCreate@).
+layoutAlgorithmCreate ::  IO (LayoutAlgorithm  ())
+layoutAlgorithmCreate 
+  = withObjectResult $
+    wxLayoutAlgorithm_Create 
+foreign import ccall "wxLayoutAlgorithm_Create" wxLayoutAlgorithm_Create :: IO (Ptr (TLayoutAlgorithm ()))
+
+-- | usage: (@layoutAlgorithmDelete obj@).
+layoutAlgorithmDelete :: LayoutAlgorithm  a ->  IO ()
+layoutAlgorithmDelete
+  = objectDelete
+
+
+-- | usage: (@layoutAlgorithmLayoutFrame obj frame mainWindow@).
+layoutAlgorithmLayoutFrame :: LayoutAlgorithm  a -> Frame  b -> Ptr  c ->  IO Bool
+layoutAlgorithmLayoutFrame _obj frame mainWindow 
+  = withBoolResult $
+    withObjectRef "layoutAlgorithmLayoutFrame" _obj $ \cobj__obj -> 
+    withObjectPtr frame $ \cobj_frame -> 
+    wxLayoutAlgorithm_LayoutFrame cobj__obj  cobj_frame  mainWindow  
+foreign import ccall "wxLayoutAlgorithm_LayoutFrame" wxLayoutAlgorithm_LayoutFrame :: Ptr (TLayoutAlgorithm a) -> Ptr (TFrame b) -> Ptr  c -> IO CBool
+
+-- | usage: (@layoutAlgorithmLayoutMDIFrame obj frame xywh use@).
+layoutAlgorithmLayoutMDIFrame :: LayoutAlgorithm  a -> Frame  b -> Rect -> Int ->  IO Bool
+layoutAlgorithmLayoutMDIFrame _obj frame xywh use 
+  = withBoolResult $
+    withObjectRef "layoutAlgorithmLayoutMDIFrame" _obj $ \cobj__obj -> 
+    withObjectPtr frame $ \cobj_frame -> 
+    wxLayoutAlgorithm_LayoutMDIFrame cobj__obj  cobj_frame  (toCIntRectX xywh) (toCIntRectY xywh)(toCIntRectW xywh) (toCIntRectH xywh)  (toCInt use)  
+foreign import ccall "wxLayoutAlgorithm_LayoutMDIFrame" wxLayoutAlgorithm_LayoutMDIFrame :: Ptr (TLayoutAlgorithm a) -> Ptr (TFrame b) -> CInt -> CInt -> CInt -> CInt -> CInt -> IO CBool
+
+-- | usage: (@layoutAlgorithmLayoutWindow obj frame mainWindow@).
+layoutAlgorithmLayoutWindow :: LayoutAlgorithm  a -> Frame  b -> Ptr  c ->  IO Bool
+layoutAlgorithmLayoutWindow _obj frame mainWindow 
+  = withBoolResult $
+    withObjectRef "layoutAlgorithmLayoutWindow" _obj $ \cobj__obj -> 
+    withObjectPtr frame $ \cobj_frame -> 
+    wxLayoutAlgorithm_LayoutWindow cobj__obj  cobj_frame  mainWindow  
+foreign import ccall "wxLayoutAlgorithm_LayoutWindow" wxLayoutAlgorithm_LayoutWindow :: Ptr (TLayoutAlgorithm a) -> Ptr (TFrame b) -> Ptr  c -> IO CBool
+
+-- | usage: (@layoutConstraintsCreate@).
+layoutConstraintsCreate ::  IO (LayoutConstraints  ())
+layoutConstraintsCreate 
+  = withObjectResult $
+    wxLayoutConstraints_Create 
+foreign import ccall "wxLayoutConstraints_Create" wxLayoutConstraints_Create :: IO (Ptr (TLayoutConstraints ()))
+
+-- | usage: (@layoutConstraintsbottom obj@).
+layoutConstraintsbottom :: LayoutConstraints  a ->  IO (Ptr  ())
+layoutConstraintsbottom _obj 
+  = withObjectRef "layoutConstraintsbottom" _obj $ \cobj__obj -> 
+    wxLayoutConstraints_bottom cobj__obj  
+foreign import ccall "wxLayoutConstraints_bottom" wxLayoutConstraints_bottom :: Ptr (TLayoutConstraints a) -> IO (Ptr  ())
+
+-- | usage: (@layoutConstraintscentreX obj@).
+layoutConstraintscentreX :: LayoutConstraints  a ->  IO (Ptr  ())
+layoutConstraintscentreX _obj 
+  = withObjectRef "layoutConstraintscentreX" _obj $ \cobj__obj -> 
+    wxLayoutConstraints_centreX cobj__obj  
+foreign import ccall "wxLayoutConstraints_centreX" wxLayoutConstraints_centreX :: Ptr (TLayoutConstraints a) -> IO (Ptr  ())
+
+-- | usage: (@layoutConstraintscentreY obj@).
+layoutConstraintscentreY :: LayoutConstraints  a ->  IO (Ptr  ())
+layoutConstraintscentreY _obj 
+  = withObjectRef "layoutConstraintscentreY" _obj $ \cobj__obj -> 
+    wxLayoutConstraints_centreY cobj__obj  
+foreign import ccall "wxLayoutConstraints_centreY" wxLayoutConstraints_centreY :: Ptr (TLayoutConstraints a) -> IO (Ptr  ())
+
+-- | usage: (@layoutConstraintsheight obj@).
+layoutConstraintsheight :: LayoutConstraints  a ->  IO (Ptr  ())
+layoutConstraintsheight _obj 
+  = withObjectRef "layoutConstraintsheight" _obj $ \cobj__obj -> 
+    wxLayoutConstraints_height cobj__obj  
+foreign import ccall "wxLayoutConstraints_height" wxLayoutConstraints_height :: Ptr (TLayoutConstraints a) -> IO (Ptr  ())
+
+-- | usage: (@layoutConstraintsleft obj@).
+layoutConstraintsleft :: LayoutConstraints  a ->  IO (Ptr  ())
+layoutConstraintsleft _obj 
+  = withObjectRef "layoutConstraintsleft" _obj $ \cobj__obj -> 
+    wxLayoutConstraints_left cobj__obj  
+foreign import ccall "wxLayoutConstraints_left" wxLayoutConstraints_left :: Ptr (TLayoutConstraints a) -> IO (Ptr  ())
+
+-- | usage: (@layoutConstraintsright obj@).
+layoutConstraintsright :: LayoutConstraints  a ->  IO (Ptr  ())
+layoutConstraintsright _obj 
+  = withObjectRef "layoutConstraintsright" _obj $ \cobj__obj -> 
+    wxLayoutConstraints_right cobj__obj  
+foreign import ccall "wxLayoutConstraints_right" wxLayoutConstraints_right :: Ptr (TLayoutConstraints a) -> IO (Ptr  ())
+
+-- | usage: (@layoutConstraintstop obj@).
+layoutConstraintstop :: LayoutConstraints  a ->  IO (Ptr  ())
+layoutConstraintstop _obj 
+  = withObjectRef "layoutConstraintstop" _obj $ \cobj__obj -> 
+    wxLayoutConstraints_top cobj__obj  
+foreign import ccall "wxLayoutConstraints_top" wxLayoutConstraints_top :: Ptr (TLayoutConstraints a) -> IO (Ptr  ())
+
+-- | usage: (@layoutConstraintswidth obj@).
+layoutConstraintswidth :: LayoutConstraints  a ->  IO (Ptr  ())
+layoutConstraintswidth _obj 
+  = withObjectRef "layoutConstraintswidth" _obj $ \cobj__obj -> 
+    wxLayoutConstraints_width cobj__obj  
+foreign import ccall "wxLayoutConstraints_width" wxLayoutConstraints_width :: Ptr (TLayoutConstraints a) -> IO (Ptr  ())
+
+-- | usage: (@listBoxAppend obj item@).
+listBoxAppend :: ListBox  a -> String ->  IO ()
+listBoxAppend _obj item 
+  = withObjectRef "listBoxAppend" _obj $ \cobj__obj -> 
+    withStringPtr item $ \cobj_item -> 
+    wxListBox_Append cobj__obj  cobj_item  
+foreign import ccall "wxListBox_Append" wxListBox_Append :: Ptr (TListBox a) -> Ptr (TWxString b) -> IO ()
+
+-- | usage: (@listBoxAppendData obj item wxdata@).
+listBoxAppendData :: ListBox  a -> String -> Ptr  c ->  IO ()
+listBoxAppendData _obj item wxdata 
+  = withObjectRef "listBoxAppendData" _obj $ \cobj__obj -> 
+    withStringPtr item $ \cobj_item -> 
+    wxListBox_AppendData cobj__obj  cobj_item  wxdata  
+foreign import ccall "wxListBox_AppendData" wxListBox_AppendData :: Ptr (TListBox a) -> Ptr (TWxString b) -> Ptr  c -> IO ()
+
+-- | usage: (@listBoxClear obj@).
+listBoxClear :: ListBox  a ->  IO ()
+listBoxClear _obj 
+  = withObjectRef "listBoxClear" _obj $ \cobj__obj -> 
+    wxListBox_Clear cobj__obj  
+foreign import ccall "wxListBox_Clear" wxListBox_Clear :: Ptr (TListBox a) -> IO ()
+
+-- | usage: (@listBoxCreate prt id lfttopwdthgt nstr stl@).
+listBoxCreate :: Window  a -> Id -> Rect -> [String] -> Style ->  IO (ListBox  ())
+listBoxCreate _prt _id _lfttopwdthgt nstr _stl 
+  = withObjectResult $
+    withObjectPtr _prt $ \cobj__prt -> 
+    withArrayWString nstr $ \carrlen_nstr carr_nstr -> 
+    wxListBox_Create cobj__prt  (toCInt _id)  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  carrlen_nstr carr_nstr  (toCInt _stl)  
+foreign import ccall "wxListBox_Create" wxListBox_Create :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> Ptr (Ptr CWchar) -> CInt -> IO (Ptr (TListBox ()))
+
+-- | usage: (@listBoxDelete obj n@).
+listBoxDelete :: ListBox  a -> Int ->  IO ()
+listBoxDelete _obj n 
+  = withObjectRef "listBoxDelete" _obj $ \cobj__obj -> 
+    wxListBox_Delete cobj__obj  (toCInt n)  
+foreign import ccall "wxListBox_Delete" wxListBox_Delete :: Ptr (TListBox a) -> CInt -> IO ()
+
+-- | usage: (@listBoxFindString obj s@).
+listBoxFindString :: ListBox  a -> String ->  IO Int
+listBoxFindString _obj s 
+  = withIntResult $
+    withObjectRef "listBoxFindString" _obj $ \cobj__obj -> 
+    withStringPtr s $ \cobj_s -> 
+    wxListBox_FindString cobj__obj  cobj_s  
+foreign import ccall "wxListBox_FindString" wxListBox_FindString :: Ptr (TListBox a) -> Ptr (TWxString b) -> IO CInt
+
+-- | usage: (@listBoxGetClientData obj n@).
+listBoxGetClientData :: ListBox  a -> Int ->  IO (ClientData  ())
+listBoxGetClientData _obj n 
+  = withObjectResult $
+    withObjectRef "listBoxGetClientData" _obj $ \cobj__obj -> 
+    wxListBox_GetClientData cobj__obj  (toCInt n)  
+foreign import ccall "wxListBox_GetClientData" wxListBox_GetClientData :: Ptr (TListBox a) -> CInt -> IO (Ptr (TClientData ()))
+
+-- | usage: (@listBoxGetCount obj@).
+listBoxGetCount :: ListBox  a ->  IO Int
+listBoxGetCount _obj 
+  = withIntResult $
+    withObjectRef "listBoxGetCount" _obj $ \cobj__obj -> 
+    wxListBox_GetCount cobj__obj  
+foreign import ccall "wxListBox_GetCount" wxListBox_GetCount :: Ptr (TListBox a) -> IO CInt
+
+-- | usage: (@listBoxGetSelection obj@).
+listBoxGetSelection :: ListBox  a ->  IO Int
+listBoxGetSelection _obj 
+  = withIntResult $
+    withObjectRef "listBoxGetSelection" _obj $ \cobj__obj -> 
+    wxListBox_GetSelection cobj__obj  
+foreign import ccall "wxListBox_GetSelection" wxListBox_GetSelection :: Ptr (TListBox a) -> IO CInt
+
+-- | usage: (@listBoxGetSelections obj aSelections allocated@).
+listBoxGetSelections :: ListBox  a -> Ptr CInt -> Int ->  IO Int
+listBoxGetSelections _obj aSelections allocated 
+  = withIntResult $
+    withObjectRef "listBoxGetSelections" _obj $ \cobj__obj -> 
+    wxListBox_GetSelections cobj__obj  aSelections  (toCInt allocated)  
+foreign import ccall "wxListBox_GetSelections" wxListBox_GetSelections :: Ptr (TListBox a) -> Ptr CInt -> CInt -> IO CInt
+
+-- | usage: (@listBoxGetString obj n@).
+listBoxGetString :: ListBox  a -> Int ->  IO (String)
+listBoxGetString _obj n 
+  = withManagedStringResult $
+    withObjectRef "listBoxGetString" _obj $ \cobj__obj -> 
+    wxListBox_GetString cobj__obj  (toCInt n)  
+foreign import ccall "wxListBox_GetString" wxListBox_GetString :: Ptr (TListBox a) -> CInt -> IO (Ptr (TWxString ()))
+
+-- | usage: (@listBoxInsertItems obj items pos count@).
+listBoxInsertItems :: ListBox  a -> Ptr  b -> Int -> Int ->  IO ()
+listBoxInsertItems _obj items pos count 
+  = withObjectRef "listBoxInsertItems" _obj $ \cobj__obj -> 
+    wxListBox_InsertItems cobj__obj  items  (toCInt pos)  (toCInt count)  
+foreign import ccall "wxListBox_InsertItems" wxListBox_InsertItems :: Ptr (TListBox a) -> Ptr  b -> CInt -> CInt -> IO ()
+
+-- | usage: (@listBoxIsSelected obj n@).
+listBoxIsSelected :: ListBox  a -> Int ->  IO Bool
+listBoxIsSelected _obj n 
+  = withBoolResult $
+    withObjectRef "listBoxIsSelected" _obj $ \cobj__obj -> 
+    wxListBox_IsSelected cobj__obj  (toCInt n)  
+foreign import ccall "wxListBox_IsSelected" wxListBox_IsSelected :: Ptr (TListBox a) -> CInt -> IO CBool
+
+-- | usage: (@listBoxSetClientData obj n clientData@).
+listBoxSetClientData :: ListBox  a -> Int -> ClientData  c ->  IO ()
+listBoxSetClientData _obj n clientData 
+  = withObjectRef "listBoxSetClientData" _obj $ \cobj__obj -> 
+    withObjectPtr clientData $ \cobj_clientData -> 
+    wxListBox_SetClientData cobj__obj  (toCInt n)  cobj_clientData  
+foreign import ccall "wxListBox_SetClientData" wxListBox_SetClientData :: Ptr (TListBox a) -> CInt -> Ptr (TClientData c) -> IO ()
+
+-- | usage: (@listBoxSetFirstItem obj n@).
+listBoxSetFirstItem :: ListBox  a -> Int ->  IO ()
+listBoxSetFirstItem _obj n 
+  = withObjectRef "listBoxSetFirstItem" _obj $ \cobj__obj -> 
+    wxListBox_SetFirstItem cobj__obj  (toCInt n)  
+foreign import ccall "wxListBox_SetFirstItem" wxListBox_SetFirstItem :: Ptr (TListBox a) -> CInt -> IO ()
+
+-- | usage: (@listBoxSetSelection obj n select@).
+listBoxSetSelection :: ListBox  a -> Int -> Bool ->  IO ()
+listBoxSetSelection _obj n select 
+  = withObjectRef "listBoxSetSelection" _obj $ \cobj__obj -> 
+    wxListBox_SetSelection cobj__obj  (toCInt n)  (toCBool select)  
+foreign import ccall "wxListBox_SetSelection" wxListBox_SetSelection :: Ptr (TListBox a) -> CInt -> CBool -> IO ()
+
+-- | usage: (@listBoxSetString obj n s@).
+listBoxSetString :: ListBox  a -> Int -> String ->  IO ()
+listBoxSetString _obj n s 
+  = withObjectRef "listBoxSetString" _obj $ \cobj__obj -> 
+    withStringPtr s $ \cobj_s -> 
+    wxListBox_SetString cobj__obj  (toCInt n)  cobj_s  
+foreign import ccall "wxListBox_SetString" wxListBox_SetString :: Ptr (TListBox a) -> CInt -> Ptr (TWxString c) -> IO ()
+
+-- | usage: (@listBoxSetStringSelection obj str sel@).
+listBoxSetStringSelection :: ListBox  a -> String -> Bool ->  IO ()
+listBoxSetStringSelection _obj str sel 
+  = withObjectRef "listBoxSetStringSelection" _obj $ \cobj__obj -> 
+    withStringPtr str $ \cobj_str -> 
+    wxListBox_SetStringSelection cobj__obj  cobj_str  (toCBool sel)  
+foreign import ccall "wxListBox_SetStringSelection" wxListBox_SetStringSelection :: Ptr (TListBox a) -> Ptr (TWxString b) -> CBool -> IO ()
+
+-- | usage: (@listCtrlArrange obj flag@).
+listCtrlArrange :: ListCtrl  a -> Int ->  IO Bool
+listCtrlArrange _obj flag 
+  = withBoolResult $
+    withObjectRef "listCtrlArrange" _obj $ \cobj__obj -> 
+    wxListCtrl_Arrange cobj__obj  (toCInt flag)  
+foreign import ccall "wxListCtrl_Arrange" wxListCtrl_Arrange :: Ptr (TListCtrl a) -> CInt -> IO CBool
+
+-- | usage: (@listCtrlAssignImageList obj images which@).
+listCtrlAssignImageList :: ListCtrl  a -> ImageList  b -> Int ->  IO ()
+listCtrlAssignImageList _obj images which 
+  = withObjectRef "listCtrlAssignImageList" _obj $ \cobj__obj -> 
+    withObjectPtr images $ \cobj_images -> 
+    wxListCtrl_AssignImageList cobj__obj  cobj_images  (toCInt which)  
+foreign import ccall "wxListCtrl_AssignImageList" wxListCtrl_AssignImageList :: Ptr (TListCtrl a) -> Ptr (TImageList b) -> CInt -> IO ()
+
+-- | usage: (@listCtrlClearAll obj@).
+listCtrlClearAll :: ListCtrl  a ->  IO ()
+listCtrlClearAll _obj 
+  = withObjectRef "listCtrlClearAll" _obj $ \cobj__obj -> 
+    wxListCtrl_ClearAll cobj__obj  
+foreign import ccall "wxListCtrl_ClearAll" wxListCtrl_ClearAll :: Ptr (TListCtrl a) -> IO ()
+
+-- | usage: (@listCtrlCreate prt id lfttopwdthgt stl@).
+listCtrlCreate :: Window  a -> Id -> Rect -> Style ->  IO (ListCtrl  ())
+listCtrlCreate _prt _id _lfttopwdthgt _stl 
+  = withObjectResult $
+    withObjectPtr _prt $ \cobj__prt -> 
+    wxListCtrl_Create cobj__prt  (toCInt _id)  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  (toCInt _stl)  
+foreign import ccall "wxListCtrl_Create" wxListCtrl_Create :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TListCtrl ()))
+
+-- | usage: (@listCtrlDeleteAllColumns obj@).
+listCtrlDeleteAllColumns :: ListCtrl  a ->  IO Bool
+listCtrlDeleteAllColumns _obj 
+  = withBoolResult $
+    withObjectRef "listCtrlDeleteAllColumns" _obj $ \cobj__obj -> 
+    wxListCtrl_DeleteAllColumns cobj__obj  
+foreign import ccall "wxListCtrl_DeleteAllColumns" wxListCtrl_DeleteAllColumns :: Ptr (TListCtrl a) -> IO CBool
+
+-- | usage: (@listCtrlDeleteAllItems obj@).
+listCtrlDeleteAllItems :: ListCtrl  a ->  IO Bool
+listCtrlDeleteAllItems _obj 
+  = withBoolResult $
+    withObjectRef "listCtrlDeleteAllItems" _obj $ \cobj__obj -> 
+    wxListCtrl_DeleteAllItems cobj__obj  
+foreign import ccall "wxListCtrl_DeleteAllItems" wxListCtrl_DeleteAllItems :: Ptr (TListCtrl a) -> IO CBool
+
+-- | usage: (@listCtrlDeleteColumn obj col@).
+listCtrlDeleteColumn :: ListCtrl  a -> Int ->  IO Bool
+listCtrlDeleteColumn _obj col 
+  = withBoolResult $
+    withObjectRef "listCtrlDeleteColumn" _obj $ \cobj__obj -> 
+    wxListCtrl_DeleteColumn cobj__obj  (toCInt col)  
+foreign import ccall "wxListCtrl_DeleteColumn" wxListCtrl_DeleteColumn :: Ptr (TListCtrl a) -> CInt -> IO CBool
+
+-- | usage: (@listCtrlDeleteItem obj item@).
+listCtrlDeleteItem :: ListCtrl  a -> Int ->  IO Bool
+listCtrlDeleteItem _obj item 
+  = withBoolResult $
+    withObjectRef "listCtrlDeleteItem" _obj $ \cobj__obj -> 
+    wxListCtrl_DeleteItem cobj__obj  (toCInt item)  
+foreign import ccall "wxListCtrl_DeleteItem" wxListCtrl_DeleteItem :: Ptr (TListCtrl a) -> CInt -> IO CBool
+
+-- | usage: (@listCtrlEditLabel obj item@).
+listCtrlEditLabel :: ListCtrl  a -> Int ->  IO ()
+listCtrlEditLabel _obj item 
+  = withObjectRef "listCtrlEditLabel" _obj $ \cobj__obj -> 
+    wxListCtrl_EditLabel cobj__obj  (toCInt item)  
+foreign import ccall "wxListCtrl_EditLabel" wxListCtrl_EditLabel :: Ptr (TListCtrl a) -> CInt -> IO ()
+
+-- | usage: (@listCtrlEndEditLabel obj cancel@).
+listCtrlEndEditLabel :: ListCtrl  a -> Int ->  IO Bool
+listCtrlEndEditLabel _obj cancel 
+  = withBoolResult $
+    withObjectRef "listCtrlEndEditLabel" _obj $ \cobj__obj -> 
+    wxListCtrl_EndEditLabel cobj__obj  (toCInt cancel)  
+foreign import ccall "wxListCtrl_EndEditLabel" wxListCtrl_EndEditLabel :: Ptr (TListCtrl a) -> CInt -> IO CBool
+
+-- | usage: (@listCtrlEnsureVisible obj item@).
+listCtrlEnsureVisible :: ListCtrl  a -> Int ->  IO Bool
+listCtrlEnsureVisible _obj item 
+  = withBoolResult $
+    withObjectRef "listCtrlEnsureVisible" _obj $ \cobj__obj -> 
+    wxListCtrl_EnsureVisible cobj__obj  (toCInt item)  
+foreign import ccall "wxListCtrl_EnsureVisible" wxListCtrl_EnsureVisible :: Ptr (TListCtrl a) -> CInt -> IO CBool
+
+-- | usage: (@listCtrlFindItem obj start str partial@).
+listCtrlFindItem :: ListCtrl  a -> Int -> String -> Bool ->  IO Int
+listCtrlFindItem _obj start str partial 
+  = withIntResult $
+    withObjectRef "listCtrlFindItem" _obj $ \cobj__obj -> 
+    withStringPtr str $ \cobj_str -> 
+    wxListCtrl_FindItem cobj__obj  (toCInt start)  cobj_str  (toCBool partial)  
+foreign import ccall "wxListCtrl_FindItem" wxListCtrl_FindItem :: Ptr (TListCtrl a) -> CInt -> Ptr (TWxString c) -> CBool -> IO CInt
+
+-- | usage: (@listCtrlFindItemByData obj start wxdata@).
+listCtrlFindItemByData :: ListCtrl  a -> Int -> Int ->  IO Int
+listCtrlFindItemByData _obj start wxdata 
+  = withIntResult $
+    withObjectRef "listCtrlFindItemByData" _obj $ \cobj__obj -> 
+    wxListCtrl_FindItemByData cobj__obj  (toCInt start)  (toCInt wxdata)  
+foreign import ccall "wxListCtrl_FindItemByData" wxListCtrl_FindItemByData :: Ptr (TListCtrl a) -> CInt -> CInt -> IO CInt
+
+-- | usage: (@listCtrlFindItemByPosition obj start xy direction@).
+listCtrlFindItemByPosition :: ListCtrl  a -> Int -> Point -> Int ->  IO Int
+listCtrlFindItemByPosition _obj start xy direction 
+  = withIntResult $
+    withObjectRef "listCtrlFindItemByPosition" _obj $ \cobj__obj -> 
+    wxListCtrl_FindItemByPosition cobj__obj  (toCInt start)  (toCIntPointX xy) (toCIntPointY xy)  (toCInt direction)  
+foreign import ccall "wxListCtrl_FindItemByPosition" wxListCtrl_FindItemByPosition :: Ptr (TListCtrl a) -> CInt -> CInt -> CInt -> CInt -> IO CInt
+
+-- | usage: (@listCtrlGetColumn obj col item@).
+listCtrlGetColumn :: ListCtrl  a -> Int -> ListItem  c ->  IO Bool
+listCtrlGetColumn _obj col item 
+  = withBoolResult $
+    withObjectRef "listCtrlGetColumn" _obj $ \cobj__obj -> 
+    withObjectPtr item $ \cobj_item -> 
+    wxListCtrl_GetColumn cobj__obj  (toCInt col)  cobj_item  
+foreign import ccall "wxListCtrl_GetColumn" wxListCtrl_GetColumn :: Ptr (TListCtrl a) -> CInt -> Ptr (TListItem c) -> IO CBool
+
+-- | usage: (@listCtrlGetColumn2 obj col@).
+listCtrlGetColumn2 :: ListCtrl  a -> Int ->  IO (ListItem  ())
+listCtrlGetColumn2 _obj col 
+  = withRefListItem $ \pref -> 
+    withObjectRef "listCtrlGetColumn2" _obj $ \cobj__obj -> 
+    wxListCtrl_GetColumn2 cobj__obj  (toCInt col)   pref
+foreign import ccall "wxListCtrl_GetColumn2" wxListCtrl_GetColumn2 :: Ptr (TListCtrl a) -> CInt -> Ptr (TListItem ()) -> IO ()
+
+-- | usage: (@listCtrlGetColumnCount obj@).
+listCtrlGetColumnCount :: ListCtrl  a ->  IO Int
+listCtrlGetColumnCount _obj 
+  = withIntResult $
+    withObjectRef "listCtrlGetColumnCount" _obj $ \cobj__obj -> 
+    wxListCtrl_GetColumnCount cobj__obj  
+foreign import ccall "wxListCtrl_GetColumnCount" wxListCtrl_GetColumnCount :: Ptr (TListCtrl a) -> IO CInt
+
+-- | usage: (@listCtrlGetColumnWidth obj col@).
+listCtrlGetColumnWidth :: ListCtrl  a -> Int ->  IO Int
+listCtrlGetColumnWidth _obj col 
+  = withIntResult $
+    withObjectRef "listCtrlGetColumnWidth" _obj $ \cobj__obj -> 
+    wxListCtrl_GetColumnWidth cobj__obj  (toCInt col)  
+foreign import ccall "wxListCtrl_GetColumnWidth" wxListCtrl_GetColumnWidth :: Ptr (TListCtrl a) -> CInt -> IO CInt
+
+-- | usage: (@listCtrlGetCountPerPage obj@).
+listCtrlGetCountPerPage :: ListCtrl  a ->  IO Int
+listCtrlGetCountPerPage _obj 
+  = withIntResult $
+    withObjectRef "listCtrlGetCountPerPage" _obj $ \cobj__obj -> 
+    wxListCtrl_GetCountPerPage cobj__obj  
+foreign import ccall "wxListCtrl_GetCountPerPage" wxListCtrl_GetCountPerPage :: Ptr (TListCtrl a) -> IO CInt
+
+-- | usage: (@listCtrlGetEditControl obj@).
+listCtrlGetEditControl :: ListCtrl  a ->  IO (TextCtrl  ())
+listCtrlGetEditControl _obj 
+  = withObjectResult $
+    withObjectRef "listCtrlGetEditControl" _obj $ \cobj__obj -> 
+    wxListCtrl_GetEditControl cobj__obj  
+foreign import ccall "wxListCtrl_GetEditControl" wxListCtrl_GetEditControl :: Ptr (TListCtrl a) -> IO (Ptr (TTextCtrl ()))
+
+-- | usage: (@listCtrlGetImageList obj which@).
+listCtrlGetImageList :: ListCtrl  a -> Int ->  IO (ImageList  ())
+listCtrlGetImageList _obj which 
+  = withObjectResult $
+    withObjectRef "listCtrlGetImageList" _obj $ \cobj__obj -> 
+    wxListCtrl_GetImageList cobj__obj  (toCInt which)  
+foreign import ccall "wxListCtrl_GetImageList" wxListCtrl_GetImageList :: Ptr (TListCtrl a) -> CInt -> IO (Ptr (TImageList ()))
+
+-- | usage: (@listCtrlGetItem obj info@).
+listCtrlGetItem :: ListCtrl  a -> ListItem  b ->  IO Bool
+listCtrlGetItem _obj info 
+  = withBoolResult $
+    withObjectRef "listCtrlGetItem" _obj $ \cobj__obj -> 
+    withObjectPtr info $ \cobj_info -> 
+    wxListCtrl_GetItem cobj__obj  cobj_info  
+foreign import ccall "wxListCtrl_GetItem" wxListCtrl_GetItem :: Ptr (TListCtrl a) -> Ptr (TListItem b) -> IO CBool
+
+-- | usage: (@listCtrlGetItem2 obj@).
+listCtrlGetItem2 :: ListCtrl  a ->  IO (ListItem  ())
+listCtrlGetItem2 _obj 
+  = withRefListItem $ \pref -> 
+    withObjectRef "listCtrlGetItem2" _obj $ \cobj__obj -> 
+    wxListCtrl_GetItem2 cobj__obj   pref
+foreign import ccall "wxListCtrl_GetItem2" wxListCtrl_GetItem2 :: Ptr (TListCtrl a) -> Ptr (TListItem ()) -> IO ()
+
+-- | usage: (@listCtrlGetItemCount obj@).
+listCtrlGetItemCount :: ListCtrl  a ->  IO Int
+listCtrlGetItemCount _obj 
+  = withIntResult $
+    withObjectRef "listCtrlGetItemCount" _obj $ \cobj__obj -> 
+    wxListCtrl_GetItemCount cobj__obj  
+foreign import ccall "wxListCtrl_GetItemCount" wxListCtrl_GetItemCount :: Ptr (TListCtrl a) -> IO CInt
+
+-- | usage: (@listCtrlGetItemData obj item@).
+listCtrlGetItemData :: ListCtrl  a -> Int ->  IO Int
+listCtrlGetItemData _obj item 
+  = withIntResult $
+    withObjectRef "listCtrlGetItemData" _obj $ \cobj__obj -> 
+    wxListCtrl_GetItemData cobj__obj  (toCInt item)  
+foreign import ccall "wxListCtrl_GetItemData" wxListCtrl_GetItemData :: Ptr (TListCtrl a) -> CInt -> IO CInt
+
+-- | usage: (@listCtrlGetItemFont obj item@).
+listCtrlGetItemFont :: ListCtrl  a -> Int ->  IO (Font  ())
+listCtrlGetItemFont _obj item 
+  = withManagedFontResult $
+    withObjectRef "listCtrlGetItemFont" _obj $ \cobj__obj -> 
+    wxListCtrl_GetItemFont cobj__obj  (toCInt item)  
+foreign import ccall "wxListCtrl_GetItemFont" wxListCtrl_GetItemFont :: Ptr (TListCtrl a) -> CInt -> IO (Ptr (TFont ()))
+
+-- | usage: (@listCtrlGetItemPosition obj item@).
+listCtrlGetItemPosition :: ListCtrl  a -> Int ->  IO (Point)
+listCtrlGetItemPosition _obj item 
+  = withWxPointResult $
+    withObjectRef "listCtrlGetItemPosition" _obj $ \cobj__obj -> 
+    wxListCtrl_GetItemPosition cobj__obj  (toCInt item)  
+foreign import ccall "wxListCtrl_GetItemPosition" wxListCtrl_GetItemPosition :: Ptr (TListCtrl a) -> CInt -> IO (Ptr (TWxPoint ()))
+
+-- | usage: (@listCtrlGetItemPosition2 obj item@).
+listCtrlGetItemPosition2 :: ListCtrl  a -> Int ->  IO (Point)
+listCtrlGetItemPosition2 _obj item 
+  = withWxPointResult $
+    withObjectRef "listCtrlGetItemPosition2" _obj $ \cobj__obj -> 
+    wxListCtrl_GetItemPosition2 cobj__obj  (toCInt item)  
+foreign import ccall "wxListCtrl_GetItemPosition2" wxListCtrl_GetItemPosition2 :: Ptr (TListCtrl a) -> CInt -> IO (Ptr (TWxPoint ()))
+
+-- | usage: (@listCtrlGetItemRect obj item code@).
+listCtrlGetItemRect :: ListCtrl  a -> Int -> Int ->  IO (Rect)
+listCtrlGetItemRect _obj item code 
+  = withWxRectResult $
+    withObjectRef "listCtrlGetItemRect" _obj $ \cobj__obj -> 
+    wxListCtrl_GetItemRect cobj__obj  (toCInt item)  (toCInt code)  
+foreign import ccall "wxListCtrl_GetItemRect" wxListCtrl_GetItemRect :: Ptr (TListCtrl a) -> CInt -> CInt -> IO (Ptr (TWxRect ()))
+
+-- | usage: (@listCtrlGetItemSpacing obj isSmall@).
+listCtrlGetItemSpacing :: ListCtrl  a -> Bool ->  IO (Size)
+listCtrlGetItemSpacing _obj isSmall 
+  = withWxSizeResult $
+    withObjectRef "listCtrlGetItemSpacing" _obj $ \cobj__obj -> 
+    wxListCtrl_GetItemSpacing cobj__obj  (toCBool isSmall)  
+foreign import ccall "wxListCtrl_GetItemSpacing" wxListCtrl_GetItemSpacing :: Ptr (TListCtrl a) -> CBool -> IO (Ptr (TWxSize ()))
+
+-- | usage: (@listCtrlGetItemState obj item stateMask@).
+listCtrlGetItemState :: ListCtrl  a -> Int -> Int ->  IO Int
+listCtrlGetItemState _obj item stateMask 
+  = withIntResult $
+    withObjectRef "listCtrlGetItemState" _obj $ \cobj__obj -> 
+    wxListCtrl_GetItemState cobj__obj  (toCInt item)  (toCInt stateMask)  
+foreign import ccall "wxListCtrl_GetItemState" wxListCtrl_GetItemState :: Ptr (TListCtrl a) -> CInt -> CInt -> IO CInt
+
+-- | usage: (@listCtrlGetItemText obj item@).
+listCtrlGetItemText :: ListCtrl  a -> Int ->  IO (String)
+listCtrlGetItemText _obj item 
+  = withManagedStringResult $
+    withObjectRef "listCtrlGetItemText" _obj $ \cobj__obj -> 
+    wxListCtrl_GetItemText cobj__obj  (toCInt item)  
+foreign import ccall "wxListCtrl_GetItemText" wxListCtrl_GetItemText :: Ptr (TListCtrl a) -> CInt -> IO (Ptr (TWxString ()))
+
+-- | usage: (@listCtrlGetNextItem obj item geometry state@).
+listCtrlGetNextItem :: ListCtrl  a -> Int -> Int -> Int ->  IO Int
+listCtrlGetNextItem _obj item geometry state 
+  = withIntResult $
+    withObjectRef "listCtrlGetNextItem" _obj $ \cobj__obj -> 
+    wxListCtrl_GetNextItem cobj__obj  (toCInt item)  (toCInt geometry)  (toCInt state)  
+foreign import ccall "wxListCtrl_GetNextItem" wxListCtrl_GetNextItem :: Ptr (TListCtrl a) -> CInt -> CInt -> CInt -> IO CInt
+
+-- | usage: (@listCtrlGetSelectedItemCount obj@).
+listCtrlGetSelectedItemCount :: ListCtrl  a ->  IO Int
+listCtrlGetSelectedItemCount _obj 
+  = withIntResult $
+    withObjectRef "listCtrlGetSelectedItemCount" _obj $ \cobj__obj -> 
+    wxListCtrl_GetSelectedItemCount cobj__obj  
+foreign import ccall "wxListCtrl_GetSelectedItemCount" wxListCtrl_GetSelectedItemCount :: Ptr (TListCtrl a) -> IO CInt
+
+-- | usage: (@listCtrlGetTextColour obj@).
+listCtrlGetTextColour :: ListCtrl  a ->  IO (Color)
+listCtrlGetTextColour _obj 
+  = withRefColour $ \pref -> 
+    withObjectRef "listCtrlGetTextColour" _obj $ \cobj__obj -> 
+    wxListCtrl_GetTextColour cobj__obj   pref
+foreign import ccall "wxListCtrl_GetTextColour" wxListCtrl_GetTextColour :: Ptr (TListCtrl a) -> Ptr (TColour ()) -> IO ()
+
+-- | usage: (@listCtrlGetTopItem obj@).
+listCtrlGetTopItem :: ListCtrl  a ->  IO Int
+listCtrlGetTopItem _obj 
+  = withIntResult $
+    withObjectRef "listCtrlGetTopItem" _obj $ \cobj__obj -> 
+    wxListCtrl_GetTopItem cobj__obj  
+foreign import ccall "wxListCtrl_GetTopItem" wxListCtrl_GetTopItem :: Ptr (TListCtrl a) -> IO CInt
+
+-- | usage: (@listCtrlHitTest obj xy flags@).
+listCtrlHitTest :: ListCtrl  a -> Point -> Ptr  c ->  IO Int
+listCtrlHitTest _obj xy flags 
+  = withIntResult $
+    withObjectRef "listCtrlHitTest" _obj $ \cobj__obj -> 
+    wxListCtrl_HitTest cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  flags  
+foreign import ccall "wxListCtrl_HitTest" wxListCtrl_HitTest :: Ptr (TListCtrl a) -> CInt -> CInt -> Ptr  c -> IO CInt
+
+-- | usage: (@listCtrlInsertColumn obj col heading format width@).
+listCtrlInsertColumn :: ListCtrl  a -> Int -> String -> Int -> Int ->  IO Int
+listCtrlInsertColumn _obj col heading format width 
+  = withIntResult $
+    withObjectRef "listCtrlInsertColumn" _obj $ \cobj__obj -> 
+    withStringPtr heading $ \cobj_heading -> 
+    wxListCtrl_InsertColumn cobj__obj  (toCInt col)  cobj_heading  (toCInt format)  (toCInt width)  
+foreign import ccall "wxListCtrl_InsertColumn" wxListCtrl_InsertColumn :: Ptr (TListCtrl a) -> CInt -> Ptr (TWxString c) -> CInt -> CInt -> IO CInt
+
+-- | usage: (@listCtrlInsertColumnFromInfo obj col info@).
+listCtrlInsertColumnFromInfo :: ListCtrl  a -> Int -> ListItem  c ->  IO Int
+listCtrlInsertColumnFromInfo _obj col info 
+  = withIntResult $
+    withObjectRef "listCtrlInsertColumnFromInfo" _obj $ \cobj__obj -> 
+    withObjectPtr info $ \cobj_info -> 
+    wxListCtrl_InsertColumnFromInfo cobj__obj  (toCInt col)  cobj_info  
+foreign import ccall "wxListCtrl_InsertColumnFromInfo" wxListCtrl_InsertColumnFromInfo :: Ptr (TListCtrl a) -> CInt -> Ptr (TListItem c) -> IO CInt
+
+-- | usage: (@listCtrlInsertItem obj info@).
+listCtrlInsertItem :: ListCtrl  a -> ListItem  b ->  IO Int
+listCtrlInsertItem _obj info 
+  = withIntResult $
+    withObjectRef "listCtrlInsertItem" _obj $ \cobj__obj -> 
+    withObjectPtr info $ \cobj_info -> 
+    wxListCtrl_InsertItem cobj__obj  cobj_info  
+foreign import ccall "wxListCtrl_InsertItem" wxListCtrl_InsertItem :: Ptr (TListCtrl a) -> Ptr (TListItem b) -> IO CInt
+
+-- | usage: (@listCtrlInsertItemWithData obj index label@).
+listCtrlInsertItemWithData :: ListCtrl  a -> Int -> String ->  IO Int
+listCtrlInsertItemWithData _obj index label 
+  = withIntResult $
+    withObjectRef "listCtrlInsertItemWithData" _obj $ \cobj__obj -> 
+    withStringPtr label $ \cobj_label -> 
+    wxListCtrl_InsertItemWithData cobj__obj  (toCInt index)  cobj_label  
+foreign import ccall "wxListCtrl_InsertItemWithData" wxListCtrl_InsertItemWithData :: Ptr (TListCtrl a) -> CInt -> Ptr (TWxString c) -> IO CInt
+
+-- | usage: (@listCtrlInsertItemWithImage obj index imageIndex@).
+listCtrlInsertItemWithImage :: ListCtrl  a -> Int -> Int ->  IO Int
+listCtrlInsertItemWithImage _obj index imageIndex 
+  = withIntResult $
+    withObjectRef "listCtrlInsertItemWithImage" _obj $ \cobj__obj -> 
+    wxListCtrl_InsertItemWithImage cobj__obj  (toCInt index)  (toCInt imageIndex)  
+foreign import ccall "wxListCtrl_InsertItemWithImage" wxListCtrl_InsertItemWithImage :: Ptr (TListCtrl a) -> CInt -> CInt -> IO CInt
+
+-- | usage: (@listCtrlInsertItemWithLabel obj index label imageIndex@).
+listCtrlInsertItemWithLabel :: ListCtrl  a -> Int -> String -> Int ->  IO Int
+listCtrlInsertItemWithLabel _obj index label imageIndex 
+  = withIntResult $
+    withObjectRef "listCtrlInsertItemWithLabel" _obj $ \cobj__obj -> 
+    withStringPtr label $ \cobj_label -> 
+    wxListCtrl_InsertItemWithLabel cobj__obj  (toCInt index)  cobj_label  (toCInt imageIndex)  
+foreign import ccall "wxListCtrl_InsertItemWithLabel" wxListCtrl_InsertItemWithLabel :: Ptr (TListCtrl a) -> CInt -> Ptr (TWxString c) -> CInt -> IO CInt
+
+-- | usage: (@listCtrlIsVirtual obj@).
+listCtrlIsVirtual :: ListCtrl  a ->  IO Bool
+listCtrlIsVirtual _obj 
+  = withBoolResult $
+    withObjectRef "listCtrlIsVirtual" _obj $ \cobj__obj -> 
+    wxListCtrl_IsVirtual cobj__obj  
+foreign import ccall "wxListCtrl_IsVirtual" wxListCtrl_IsVirtual :: Ptr (TListCtrl a) -> IO CBool
+
+-- | usage: (@listCtrlRefreshItem obj item@).
+listCtrlRefreshItem :: ListCtrl  a -> Int ->  IO ()
+listCtrlRefreshItem _obj item 
+  = withObjectRef "listCtrlRefreshItem" _obj $ \cobj__obj -> 
+    wxListCtrl_RefreshItem cobj__obj  (toCInt item)  
+foreign import ccall "wxListCtrl_RefreshItem" wxListCtrl_RefreshItem :: Ptr (TListCtrl a) -> CInt -> IO ()
+
+-- | usage: (@listCtrlScrollList obj dxdy@).
+listCtrlScrollList :: ListCtrl  a -> Vector ->  IO Bool
+listCtrlScrollList _obj dxdy 
+  = withBoolResult $
+    withObjectRef "listCtrlScrollList" _obj $ \cobj__obj -> 
+    wxListCtrl_ScrollList cobj__obj  (toCIntVectorX dxdy) (toCIntVectorY dxdy)  
+foreign import ccall "wxListCtrl_ScrollList" wxListCtrl_ScrollList :: Ptr (TListCtrl a) -> CInt -> CInt -> IO CBool
+
+-- | usage: (@listCtrlSetBackgroundColour obj col@).
+listCtrlSetBackgroundColour :: ListCtrl  a -> Color ->  IO ()
+listCtrlSetBackgroundColour _obj col 
+  = withObjectRef "listCtrlSetBackgroundColour" _obj $ \cobj__obj -> 
+    withColourPtr col $ \cobj_col -> 
+    wxListCtrl_SetBackgroundColour cobj__obj  cobj_col  
+foreign import ccall "wxListCtrl_SetBackgroundColour" wxListCtrl_SetBackgroundColour :: Ptr (TListCtrl a) -> Ptr (TColour b) -> IO ()
+
+-- | usage: (@listCtrlSetColumn obj col item@).
+listCtrlSetColumn :: ListCtrl  a -> Int -> ListItem  c ->  IO Bool
+listCtrlSetColumn _obj col item 
+  = withBoolResult $
+    withObjectRef "listCtrlSetColumn" _obj $ \cobj__obj -> 
+    withObjectPtr item $ \cobj_item -> 
+    wxListCtrl_SetColumn cobj__obj  (toCInt col)  cobj_item  
+foreign import ccall "wxListCtrl_SetColumn" wxListCtrl_SetColumn :: Ptr (TListCtrl a) -> CInt -> Ptr (TListItem c) -> IO CBool
+
+-- | usage: (@listCtrlSetColumnWidth obj col width@).
+listCtrlSetColumnWidth :: ListCtrl  a -> Int -> Int ->  IO Bool
+listCtrlSetColumnWidth _obj col width 
+  = withBoolResult $
+    withObjectRef "listCtrlSetColumnWidth" _obj $ \cobj__obj -> 
+    wxListCtrl_SetColumnWidth cobj__obj  (toCInt col)  (toCInt width)  
+foreign import ccall "wxListCtrl_SetColumnWidth" wxListCtrl_SetColumnWidth :: Ptr (TListCtrl a) -> CInt -> CInt -> IO CBool
+
+-- | usage: (@listCtrlSetForegroundColour obj col@).
+listCtrlSetForegroundColour :: ListCtrl  a -> Color ->  IO Int
+listCtrlSetForegroundColour _obj col 
+  = withIntResult $
+    withObjectRef "listCtrlSetForegroundColour" _obj $ \cobj__obj -> 
+    withColourPtr col $ \cobj_col -> 
+    wxListCtrl_SetForegroundColour cobj__obj  cobj_col  
+foreign import ccall "wxListCtrl_SetForegroundColour" wxListCtrl_SetForegroundColour :: Ptr (TListCtrl a) -> Ptr (TColour b) -> IO CInt
+
+-- | usage: (@listCtrlSetImageList obj imageList which@).
+listCtrlSetImageList :: ListCtrl  a -> ImageList  b -> Int ->  IO ()
+listCtrlSetImageList _obj imageList which 
+  = withObjectRef "listCtrlSetImageList" _obj $ \cobj__obj -> 
+    withObjectPtr imageList $ \cobj_imageList -> 
+    wxListCtrl_SetImageList cobj__obj  cobj_imageList  (toCInt which)  
+foreign import ccall "wxListCtrl_SetImageList" wxListCtrl_SetImageList :: Ptr (TListCtrl a) -> Ptr (TImageList b) -> CInt -> IO ()
+
+-- | usage: (@listCtrlSetItem obj index col label imageId@).
+listCtrlSetItem :: ListCtrl  a -> Int -> Int -> String -> Int ->  IO Bool
+listCtrlSetItem _obj index col label imageId 
+  = withBoolResult $
+    withObjectRef "listCtrlSetItem" _obj $ \cobj__obj -> 
+    withStringPtr label $ \cobj_label -> 
+    wxListCtrl_SetItem cobj__obj  (toCInt index)  (toCInt col)  cobj_label  (toCInt imageId)  
+foreign import ccall "wxListCtrl_SetItem" wxListCtrl_SetItem :: Ptr (TListCtrl a) -> CInt -> CInt -> Ptr (TWxString d) -> CInt -> IO CBool
+
+-- | usage: (@listCtrlSetItemData obj item wxdata@).
+listCtrlSetItemData :: ListCtrl  a -> Int -> Int ->  IO Bool
+listCtrlSetItemData _obj item wxdata 
+  = withBoolResult $
+    withObjectRef "listCtrlSetItemData" _obj $ \cobj__obj -> 
+    wxListCtrl_SetItemData cobj__obj  (toCInt item)  (toCInt wxdata)  
+foreign import ccall "wxListCtrl_SetItemData" wxListCtrl_SetItemData :: Ptr (TListCtrl a) -> CInt -> CInt -> IO CBool
+
+-- | usage: (@listCtrlSetItemFromInfo obj info@).
+listCtrlSetItemFromInfo :: ListCtrl  a -> ListItem  b ->  IO Bool
+listCtrlSetItemFromInfo _obj info 
+  = withBoolResult $
+    withObjectRef "listCtrlSetItemFromInfo" _obj $ \cobj__obj -> 
+    withObjectPtr info $ \cobj_info -> 
+    wxListCtrl_SetItemFromInfo cobj__obj  cobj_info  
+foreign import ccall "wxListCtrl_SetItemFromInfo" wxListCtrl_SetItemFromInfo :: Ptr (TListCtrl a) -> Ptr (TListItem b) -> IO CBool
+
+-- | usage: (@listCtrlSetItemImage obj item image selImage@).
+listCtrlSetItemImage :: ListCtrl  a -> Int -> Int -> Int ->  IO Bool
+listCtrlSetItemImage _obj item image selImage 
+  = withBoolResult $
+    withObjectRef "listCtrlSetItemImage" _obj $ \cobj__obj -> 
+    wxListCtrl_SetItemImage cobj__obj  (toCInt item)  (toCInt image)  (toCInt selImage)  
+foreign import ccall "wxListCtrl_SetItemImage" wxListCtrl_SetItemImage :: Ptr (TListCtrl a) -> CInt -> CInt -> CInt -> IO CBool
+
+-- | usage: (@listCtrlSetItemPosition obj item xy@).
+listCtrlSetItemPosition :: ListCtrl  a -> Int -> Point ->  IO Bool
+listCtrlSetItemPosition _obj item xy 
+  = withBoolResult $
+    withObjectRef "listCtrlSetItemPosition" _obj $ \cobj__obj -> 
+    wxListCtrl_SetItemPosition cobj__obj  (toCInt item)  (toCIntPointX xy) (toCIntPointY xy)  
+foreign import ccall "wxListCtrl_SetItemPosition" wxListCtrl_SetItemPosition :: Ptr (TListCtrl a) -> CInt -> CInt -> CInt -> IO CBool
+
+-- | usage: (@listCtrlSetItemState obj item state stateMask@).
+listCtrlSetItemState :: ListCtrl  a -> Int -> Int -> Int ->  IO Bool
+listCtrlSetItemState _obj item state stateMask 
+  = withBoolResult $
+    withObjectRef "listCtrlSetItemState" _obj $ \cobj__obj -> 
+    wxListCtrl_SetItemState cobj__obj  (toCInt item)  (toCInt state)  (toCInt stateMask)  
+foreign import ccall "wxListCtrl_SetItemState" wxListCtrl_SetItemState :: Ptr (TListCtrl a) -> CInt -> CInt -> CInt -> IO CBool
+
+-- | usage: (@listCtrlSetItemText obj item str@).
+listCtrlSetItemText :: ListCtrl  a -> Int -> String ->  IO ()
+listCtrlSetItemText _obj item str 
+  = withObjectRef "listCtrlSetItemText" _obj $ \cobj__obj -> 
+    withStringPtr str $ \cobj_str -> 
+    wxListCtrl_SetItemText cobj__obj  (toCInt item)  cobj_str  
+foreign import ccall "wxListCtrl_SetItemText" wxListCtrl_SetItemText :: Ptr (TListCtrl a) -> CInt -> Ptr (TWxString c) -> IO ()
+
+-- | usage: (@listCtrlSetSingleStyle obj style add@).
+listCtrlSetSingleStyle :: ListCtrl  a -> Int -> Bool ->  IO ()
+listCtrlSetSingleStyle _obj style add 
+  = withObjectRef "listCtrlSetSingleStyle" _obj $ \cobj__obj -> 
+    wxListCtrl_SetSingleStyle cobj__obj  (toCInt style)  (toCBool add)  
+foreign import ccall "wxListCtrl_SetSingleStyle" wxListCtrl_SetSingleStyle :: Ptr (TListCtrl a) -> CInt -> CBool -> IO ()
+
+-- | usage: (@listCtrlSetTextColour obj col@).
+listCtrlSetTextColour :: ListCtrl  a -> Color ->  IO ()
+listCtrlSetTextColour _obj col 
+  = withObjectRef "listCtrlSetTextColour" _obj $ \cobj__obj -> 
+    withColourPtr col $ \cobj_col -> 
+    wxListCtrl_SetTextColour cobj__obj  cobj_col  
+foreign import ccall "wxListCtrl_SetTextColour" wxListCtrl_SetTextColour :: Ptr (TListCtrl a) -> Ptr (TColour b) -> IO ()
+
+-- | usage: (@listCtrlSetWindowStyleFlag obj style@).
+listCtrlSetWindowStyleFlag :: ListCtrl  a -> Int ->  IO ()
+listCtrlSetWindowStyleFlag _obj style 
+  = withObjectRef "listCtrlSetWindowStyleFlag" _obj $ \cobj__obj -> 
+    wxListCtrl_SetWindowStyleFlag cobj__obj  (toCInt style)  
+foreign import ccall "wxListCtrl_SetWindowStyleFlag" wxListCtrl_SetWindowStyleFlag :: Ptr (TListCtrl a) -> CInt -> IO ()
+
+-- | usage: (@listCtrlSortItems obj fn eifobj@).
+listCtrlSortItems :: ListCtrl  a -> Ptr  b -> Ptr  c ->  IO Bool
+listCtrlSortItems _obj fn eifobj 
+  = withBoolResult $
+    withObjectRef "listCtrlSortItems" _obj $ \cobj__obj -> 
+    wxListCtrl_SortItems cobj__obj  fn  eifobj  
+foreign import ccall "wxListCtrl_SortItems" wxListCtrl_SortItems :: Ptr (TListCtrl a) -> Ptr  b -> Ptr  c -> IO CBool
+
+-- | usage: (@listCtrlSortItems2 obj closure@).
+listCtrlSortItems2 :: ListCtrl  a -> Closure  b ->  IO Bool
+listCtrlSortItems2 _obj closure 
+  = withBoolResult $
+    withObjectRef "listCtrlSortItems2" _obj $ \cobj__obj -> 
+    withObjectPtr closure $ \cobj_closure -> 
+    wxListCtrl_SortItems2 cobj__obj  cobj_closure  
+foreign import ccall "wxListCtrl_SortItems2" wxListCtrl_SortItems2 :: Ptr (TListCtrl a) -> Ptr (TClosure b) -> IO CBool
+
+-- | usage: (@listCtrlUpdateStyle obj@).
+listCtrlUpdateStyle :: ListCtrl  a ->  IO ()
+listCtrlUpdateStyle _obj 
+  = withObjectRef "listCtrlUpdateStyle" _obj $ \cobj__obj -> 
+    wxListCtrl_UpdateStyle cobj__obj  
+foreign import ccall "wxListCtrl_UpdateStyle" wxListCtrl_UpdateStyle :: Ptr (TListCtrl a) -> IO ()
+
+-- | usage: (@listEventCancelled obj@).
+listEventCancelled :: ListEvent  a ->  IO Bool
+listEventCancelled _obj 
+  = withBoolResult $
+    withObjectRef "listEventCancelled" _obj $ \cobj__obj -> 
+    wxListEvent_Cancelled cobj__obj  
+foreign import ccall "wxListEvent_Cancelled" wxListEvent_Cancelled :: Ptr (TListEvent a) -> IO CBool
+
+-- | usage: (@listEventGetCacheFrom obj@).
+listEventGetCacheFrom :: ListEvent  a ->  IO Int
+listEventGetCacheFrom _obj 
+  = withIntResult $
+    withObjectRef "listEventGetCacheFrom" _obj $ \cobj__obj -> 
+    wxListEvent_GetCacheFrom cobj__obj  
+foreign import ccall "wxListEvent_GetCacheFrom" wxListEvent_GetCacheFrom :: Ptr (TListEvent a) -> IO CInt
+
+-- | usage: (@listEventGetCacheTo obj@).
+listEventGetCacheTo :: ListEvent  a ->  IO Int
+listEventGetCacheTo _obj 
+  = withIntResult $
+    withObjectRef "listEventGetCacheTo" _obj $ \cobj__obj -> 
+    wxListEvent_GetCacheTo cobj__obj  
+foreign import ccall "wxListEvent_GetCacheTo" wxListEvent_GetCacheTo :: Ptr (TListEvent a) -> IO CInt
+
+-- | usage: (@listEventGetCode obj@).
+listEventGetCode :: ListEvent  a ->  IO Int
+listEventGetCode _obj 
+  = withIntResult $
+    withObjectRef "listEventGetCode" _obj $ \cobj__obj -> 
+    wxListEvent_GetCode cobj__obj  
+foreign import ccall "wxListEvent_GetCode" wxListEvent_GetCode :: Ptr (TListEvent a) -> IO CInt
+
+-- | usage: (@listEventGetColumn obj@).
+listEventGetColumn :: ListEvent  a ->  IO Int
+listEventGetColumn _obj 
+  = withIntResult $
+    withObjectRef "listEventGetColumn" _obj $ \cobj__obj -> 
+    wxListEvent_GetColumn cobj__obj  
+foreign import ccall "wxListEvent_GetColumn" wxListEvent_GetColumn :: Ptr (TListEvent a) -> IO CInt
+
+-- | usage: (@listEventGetData obj@).
+listEventGetData :: ListEvent  a ->  IO Int
+listEventGetData _obj 
+  = withIntResult $
+    withObjectRef "listEventGetData" _obj $ \cobj__obj -> 
+    wxListEvent_GetData cobj__obj  
+foreign import ccall "wxListEvent_GetData" wxListEvent_GetData :: Ptr (TListEvent a) -> IO CInt
+
+-- | usage: (@listEventGetImage obj@).
+listEventGetImage :: ListEvent  a ->  IO Int
+listEventGetImage _obj 
+  = withIntResult $
+    withObjectRef "listEventGetImage" _obj $ \cobj__obj -> 
+    wxListEvent_GetImage cobj__obj  
+foreign import ccall "wxListEvent_GetImage" wxListEvent_GetImage :: Ptr (TListEvent a) -> IO CInt
+
+-- | usage: (@listEventGetIndex obj@).
+listEventGetIndex :: ListEvent  a ->  IO Int
+listEventGetIndex _obj 
+  = withIntResult $
+    withObjectRef "listEventGetIndex" _obj $ \cobj__obj -> 
+    wxListEvent_GetIndex cobj__obj  
+foreign import ccall "wxListEvent_GetIndex" wxListEvent_GetIndex :: Ptr (TListEvent a) -> IO CInt
+
+-- | usage: (@listEventGetItem obj@).
+listEventGetItem :: ListEvent  a ->  IO (ListItem  ())
+listEventGetItem _obj 
+  = withRefListItem $ \pref -> 
+    withObjectRef "listEventGetItem" _obj $ \cobj__obj -> 
+    wxListEvent_GetItem cobj__obj   pref
+foreign import ccall "wxListEvent_GetItem" wxListEvent_GetItem :: Ptr (TListEvent a) -> Ptr (TListItem ()) -> IO ()
+
+-- | usage: (@listEventGetLabel obj@).
+listEventGetLabel :: ListEvent  a ->  IO (String)
+listEventGetLabel _obj 
+  = withManagedStringResult $
+    withObjectRef "listEventGetLabel" _obj $ \cobj__obj -> 
+    wxListEvent_GetLabel cobj__obj  
+foreign import ccall "wxListEvent_GetLabel" wxListEvent_GetLabel :: Ptr (TListEvent a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@listEventGetMask obj@).
+listEventGetMask :: ListEvent  a ->  IO Int
+listEventGetMask _obj 
+  = withIntResult $
+    withObjectRef "listEventGetMask" _obj $ \cobj__obj -> 
+    wxListEvent_GetMask cobj__obj  
+foreign import ccall "wxListEvent_GetMask" wxListEvent_GetMask :: Ptr (TListEvent a) -> IO CInt
+
+-- | usage: (@listEventGetPoint obj@).
+listEventGetPoint :: ListEvent  a ->  IO (Point)
+listEventGetPoint _obj 
+  = withWxPointResult $
+    withObjectRef "listEventGetPoint" _obj $ \cobj__obj -> 
+    wxListEvent_GetPoint cobj__obj  
+foreign import ccall "wxListEvent_GetPoint" wxListEvent_GetPoint :: Ptr (TListEvent a) -> IO (Ptr (TWxPoint ()))
+
+-- | usage: (@listEventGetText obj@).
+listEventGetText :: ListEvent  a ->  IO (String)
+listEventGetText _obj 
+  = withManagedStringResult $
+    withObjectRef "listEventGetText" _obj $ \cobj__obj -> 
+    wxListEvent_GetText cobj__obj  
+foreign import ccall "wxListEvent_GetText" wxListEvent_GetText :: Ptr (TListEvent a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@listItemClear obj@).
+listItemClear :: ListItem  a ->  IO ()
+listItemClear _obj 
+  = withObjectRef "listItemClear" _obj $ \cobj__obj -> 
+    wxListItem_Clear cobj__obj  
+foreign import ccall "wxListItem_Clear" wxListItem_Clear :: Ptr (TListItem a) -> IO ()
+
+-- | usage: (@listItemClearAttributes obj@).
+listItemClearAttributes :: ListItem  a ->  IO ()
+listItemClearAttributes _obj 
+  = withObjectRef "listItemClearAttributes" _obj $ \cobj__obj -> 
+    wxListItem_ClearAttributes cobj__obj  
+foreign import ccall "wxListItem_ClearAttributes" wxListItem_ClearAttributes :: Ptr (TListItem a) -> IO ()
+
+-- | usage: (@listItemCreate@).
+listItemCreate ::  IO (ListItem  ())
+listItemCreate 
+  = withManagedObjectResult $
+    wxListItem_Create 
+foreign import ccall "wxListItem_Create" wxListItem_Create :: IO (Ptr (TListItem ()))
+
+-- | usage: (@listItemDelete obj@).
+listItemDelete :: ListItem  a ->  IO ()
+listItemDelete
+  = objectDelete
+
+
+-- | usage: (@listItemGetAlign obj@).
+listItemGetAlign :: ListItem  a ->  IO Int
+listItemGetAlign _obj 
+  = withIntResult $
+    withObjectRef "listItemGetAlign" _obj $ \cobj__obj -> 
+    wxListItem_GetAlign cobj__obj  
+foreign import ccall "wxListItem_GetAlign" wxListItem_GetAlign :: Ptr (TListItem a) -> IO CInt
+
+-- | usage: (@listItemGetAttributes obj@).
+listItemGetAttributes :: ListItem  a ->  IO (Ptr  ())
+listItemGetAttributes _obj 
+  = withObjectRef "listItemGetAttributes" _obj $ \cobj__obj -> 
+    wxListItem_GetAttributes cobj__obj  
+foreign import ccall "wxListItem_GetAttributes" wxListItem_GetAttributes :: Ptr (TListItem a) -> IO (Ptr  ())
+
+-- | usage: (@listItemGetBackgroundColour obj@).
+listItemGetBackgroundColour :: ListItem  a ->  IO (Color)
+listItemGetBackgroundColour _obj 
+  = withRefColour $ \pref -> 
+    withObjectRef "listItemGetBackgroundColour" _obj $ \cobj__obj -> 
+    wxListItem_GetBackgroundColour cobj__obj   pref
+foreign import ccall "wxListItem_GetBackgroundColour" wxListItem_GetBackgroundColour :: Ptr (TListItem a) -> Ptr (TColour ()) -> IO ()
+
+-- | usage: (@listItemGetColumn obj@).
+listItemGetColumn :: ListItem  a ->  IO Int
+listItemGetColumn _obj 
+  = withIntResult $
+    withObjectRef "listItemGetColumn" _obj $ \cobj__obj -> 
+    wxListItem_GetColumn cobj__obj  
+foreign import ccall "wxListItem_GetColumn" wxListItem_GetColumn :: Ptr (TListItem a) -> IO CInt
+
+-- | usage: (@listItemGetData obj@).
+listItemGetData :: ListItem  a ->  IO Int
+listItemGetData _obj 
+  = withIntResult $
+    withObjectRef "listItemGetData" _obj $ \cobj__obj -> 
+    wxListItem_GetData cobj__obj  
+foreign import ccall "wxListItem_GetData" wxListItem_GetData :: Ptr (TListItem a) -> IO CInt
+
+-- | usage: (@listItemGetFont obj@).
+listItemGetFont :: ListItem  a ->  IO (Font  ())
+listItemGetFont _obj 
+  = withRefFont $ \pref -> 
+    withObjectRef "listItemGetFont" _obj $ \cobj__obj -> 
+    wxListItem_GetFont cobj__obj   pref
+foreign import ccall "wxListItem_GetFont" wxListItem_GetFont :: Ptr (TListItem a) -> Ptr (TFont ()) -> IO ()
+
+-- | usage: (@listItemGetId obj@).
+listItemGetId :: ListItem  a ->  IO Int
+listItemGetId _obj 
+  = withIntResult $
+    withObjectRef "listItemGetId" _obj $ \cobj__obj -> 
+    wxListItem_GetId cobj__obj  
+foreign import ccall "wxListItem_GetId" wxListItem_GetId :: Ptr (TListItem a) -> IO CInt
+
+-- | usage: (@listItemGetImage obj@).
+listItemGetImage :: ListItem  a ->  IO Int
+listItemGetImage _obj 
+  = withIntResult $
+    withObjectRef "listItemGetImage" _obj $ \cobj__obj -> 
+    wxListItem_GetImage cobj__obj  
+foreign import ccall "wxListItem_GetImage" wxListItem_GetImage :: Ptr (TListItem a) -> IO CInt
+
+-- | usage: (@listItemGetMask obj@).
+listItemGetMask :: ListItem  a ->  IO Int
+listItemGetMask _obj 
+  = withIntResult $
+    withObjectRef "listItemGetMask" _obj $ \cobj__obj -> 
+    wxListItem_GetMask cobj__obj  
+foreign import ccall "wxListItem_GetMask" wxListItem_GetMask :: Ptr (TListItem a) -> IO CInt
+
+-- | usage: (@listItemGetState obj@).
+listItemGetState :: ListItem  a ->  IO Int
+listItemGetState _obj 
+  = withIntResult $
+    withObjectRef "listItemGetState" _obj $ \cobj__obj -> 
+    wxListItem_GetState cobj__obj  
+foreign import ccall "wxListItem_GetState" wxListItem_GetState :: Ptr (TListItem a) -> IO CInt
+
+-- | usage: (@listItemGetText obj@).
+listItemGetText :: ListItem  a ->  IO (String)
+listItemGetText _obj 
+  = withManagedStringResult $
+    withObjectRef "listItemGetText" _obj $ \cobj__obj -> 
+    wxListItem_GetText cobj__obj  
+foreign import ccall "wxListItem_GetText" wxListItem_GetText :: Ptr (TListItem a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@listItemGetTextColour obj@).
+listItemGetTextColour :: ListItem  a ->  IO (Color)
+listItemGetTextColour _obj 
+  = withRefColour $ \pref -> 
+    withObjectRef "listItemGetTextColour" _obj $ \cobj__obj -> 
+    wxListItem_GetTextColour cobj__obj   pref
+foreign import ccall "wxListItem_GetTextColour" wxListItem_GetTextColour :: Ptr (TListItem a) -> Ptr (TColour ()) -> IO ()
+
+-- | usage: (@listItemGetWidth obj@).
+listItemGetWidth :: ListItem  a ->  IO Int
+listItemGetWidth _obj 
+  = withIntResult $
+    withObjectRef "listItemGetWidth" _obj $ \cobj__obj -> 
+    wxListItem_GetWidth cobj__obj  
+foreign import ccall "wxListItem_GetWidth" wxListItem_GetWidth :: Ptr (TListItem a) -> IO CInt
+
+-- | usage: (@listItemHasAttributes obj@).
+listItemHasAttributes :: ListItem  a ->  IO Bool
+listItemHasAttributes _obj 
+  = withBoolResult $
+    withObjectRef "listItemHasAttributes" _obj $ \cobj__obj -> 
+    wxListItem_HasAttributes cobj__obj  
+foreign import ccall "wxListItem_HasAttributes" wxListItem_HasAttributes :: Ptr (TListItem a) -> IO CBool
+
+-- | usage: (@listItemSetAlign obj align@).
+listItemSetAlign :: ListItem  a -> Int ->  IO ()
+listItemSetAlign _obj align 
+  = withObjectRef "listItemSetAlign" _obj $ \cobj__obj -> 
+    wxListItem_SetAlign cobj__obj  (toCInt align)  
+foreign import ccall "wxListItem_SetAlign" wxListItem_SetAlign :: Ptr (TListItem a) -> CInt -> IO ()
+
+-- | usage: (@listItemSetBackgroundColour obj colBack@).
+listItemSetBackgroundColour :: ListItem  a -> Color ->  IO ()
+listItemSetBackgroundColour _obj colBack 
+  = withObjectRef "listItemSetBackgroundColour" _obj $ \cobj__obj -> 
+    withColourPtr colBack $ \cobj_colBack -> 
+    wxListItem_SetBackgroundColour cobj__obj  cobj_colBack  
+foreign import ccall "wxListItem_SetBackgroundColour" wxListItem_SetBackgroundColour :: Ptr (TListItem a) -> Ptr (TColour b) -> IO ()
+
+-- | usage: (@listItemSetColumn obj col@).
+listItemSetColumn :: ListItem  a -> Int ->  IO ()
+listItemSetColumn _obj col 
+  = withObjectRef "listItemSetColumn" _obj $ \cobj__obj -> 
+    wxListItem_SetColumn cobj__obj  (toCInt col)  
+foreign import ccall "wxListItem_SetColumn" wxListItem_SetColumn :: Ptr (TListItem a) -> CInt -> IO ()
+
+-- | usage: (@listItemSetData obj wxdata@).
+listItemSetData :: ListItem  a -> Int ->  IO ()
+listItemSetData _obj wxdata 
+  = withObjectRef "listItemSetData" _obj $ \cobj__obj -> 
+    wxListItem_SetData cobj__obj  (toCInt wxdata)  
+foreign import ccall "wxListItem_SetData" wxListItem_SetData :: Ptr (TListItem a) -> CInt -> IO ()
+
+-- | usage: (@listItemSetDataPointer obj wxdata@).
+listItemSetDataPointer :: ListItem  a -> Ptr  b ->  IO ()
+listItemSetDataPointer _obj wxdata 
+  = withObjectRef "listItemSetDataPointer" _obj $ \cobj__obj -> 
+    wxListItem_SetDataPointer cobj__obj  wxdata  
+foreign import ccall "wxListItem_SetDataPointer" wxListItem_SetDataPointer :: Ptr (TListItem a) -> Ptr  b -> IO ()
+
+-- | usage: (@listItemSetFont obj font@).
+listItemSetFont :: ListItem  a -> Font  b ->  IO ()
+listItemSetFont _obj font 
+  = withObjectRef "listItemSetFont" _obj $ \cobj__obj -> 
+    withObjectPtr font $ \cobj_font -> 
+    wxListItem_SetFont cobj__obj  cobj_font  
+foreign import ccall "wxListItem_SetFont" wxListItem_SetFont :: Ptr (TListItem a) -> Ptr (TFont b) -> IO ()
+
+-- | usage: (@listItemSetId obj id@).
+listItemSetId :: ListItem  a -> Id ->  IO ()
+listItemSetId _obj id 
+  = withObjectRef "listItemSetId" _obj $ \cobj__obj -> 
+    wxListItem_SetId cobj__obj  (toCInt id)  
+foreign import ccall "wxListItem_SetId" wxListItem_SetId :: Ptr (TListItem a) -> CInt -> IO ()
+
+-- | usage: (@listItemSetImage obj image@).
+listItemSetImage :: ListItem  a -> Int ->  IO ()
+listItemSetImage _obj image 
+  = withObjectRef "listItemSetImage" _obj $ \cobj__obj -> 
+    wxListItem_SetImage cobj__obj  (toCInt image)  
+foreign import ccall "wxListItem_SetImage" wxListItem_SetImage :: Ptr (TListItem a) -> CInt -> IO ()
+
+-- | usage: (@listItemSetMask obj mask@).
+listItemSetMask :: ListItem  a -> Int ->  IO ()
+listItemSetMask _obj mask 
+  = withObjectRef "listItemSetMask" _obj $ \cobj__obj -> 
+    wxListItem_SetMask cobj__obj  (toCInt mask)  
+foreign import ccall "wxListItem_SetMask" wxListItem_SetMask :: Ptr (TListItem a) -> CInt -> IO ()
+
+-- | usage: (@listItemSetState obj state@).
+listItemSetState :: ListItem  a -> Int ->  IO ()
+listItemSetState _obj state 
+  = withObjectRef "listItemSetState" _obj $ \cobj__obj -> 
+    wxListItem_SetState cobj__obj  (toCInt state)  
+foreign import ccall "wxListItem_SetState" wxListItem_SetState :: Ptr (TListItem a) -> CInt -> IO ()
+
+-- | usage: (@listItemSetStateMask obj stateMask@).
+listItemSetStateMask :: ListItem  a -> Int ->  IO ()
+listItemSetStateMask _obj stateMask 
+  = withObjectRef "listItemSetStateMask" _obj $ \cobj__obj -> 
+    wxListItem_SetStateMask cobj__obj  (toCInt stateMask)  
+foreign import ccall "wxListItem_SetStateMask" wxListItem_SetStateMask :: Ptr (TListItem a) -> CInt -> IO ()
+
+-- | usage: (@listItemSetText obj text@).
+listItemSetText :: ListItem  a -> String ->  IO ()
+listItemSetText _obj text 
+  = withObjectRef "listItemSetText" _obj $ \cobj__obj -> 
+    withStringPtr text $ \cobj_text -> 
+    wxListItem_SetText cobj__obj  cobj_text  
+foreign import ccall "wxListItem_SetText" wxListItem_SetText :: Ptr (TListItem a) -> Ptr (TWxString b) -> IO ()
+
+-- | usage: (@listItemSetTextColour obj colText@).
+listItemSetTextColour :: ListItem  a -> Color ->  IO ()
+listItemSetTextColour _obj colText 
+  = withObjectRef "listItemSetTextColour" _obj $ \cobj__obj -> 
+    withColourPtr colText $ \cobj_colText -> 
+    wxListItem_SetTextColour cobj__obj  cobj_colText  
+foreign import ccall "wxListItem_SetTextColour" wxListItem_SetTextColour :: Ptr (TListItem a) -> Ptr (TColour b) -> IO ()
+
+-- | usage: (@listItemSetWidth obj width@).
+listItemSetWidth :: ListItem  a -> Int ->  IO ()
+listItemSetWidth _obj width 
+  = withObjectRef "listItemSetWidth" _obj $ \cobj__obj -> 
+    wxListItem_SetWidth cobj__obj  (toCInt width)  
+foreign import ccall "wxListItem_SetWidth" wxListItem_SetWidth :: Ptr (TListItem a) -> CInt -> IO ()
+
+-- | usage: (@localeAddCatalog obj szDomain@).
+localeAddCatalog :: Locale  a -> Ptr  b ->  IO Int
+localeAddCatalog _obj szDomain 
+  = withIntResult $
+    withObjectRef "localeAddCatalog" _obj $ \cobj__obj -> 
+    wxLocale_AddCatalog cobj__obj  szDomain  
+foreign import ccall "wxLocale_AddCatalog" wxLocale_AddCatalog :: Ptr (TLocale a) -> Ptr  b -> IO CInt
+
+-- | usage: (@localeAddCatalogLookupPathPrefix obj prefix@).
+localeAddCatalogLookupPathPrefix :: Locale  a -> Ptr  b ->  IO ()
+localeAddCatalogLookupPathPrefix _obj prefix 
+  = withObjectRef "localeAddCatalogLookupPathPrefix" _obj $ \cobj__obj -> 
+    wxLocale_AddCatalogLookupPathPrefix cobj__obj  prefix  
+foreign import ccall "wxLocale_AddCatalogLookupPathPrefix" wxLocale_AddCatalogLookupPathPrefix :: Ptr (TLocale a) -> Ptr  b -> IO ()
+
+-- | usage: (@localeCreate name flags@).
+localeCreate :: Int -> Int ->  IO (Locale  ())
+localeCreate _name _flags 
+  = withObjectResult $
+    wxLocale_Create (toCInt _name)  (toCInt _flags)  
+foreign import ccall "wxLocale_Create" wxLocale_Create :: CInt -> CInt -> IO (Ptr (TLocale ()))
+
+-- | usage: (@localeDelete obj@).
+localeDelete :: Locale  a ->  IO ()
+localeDelete _obj 
+  = withObjectRef "localeDelete" _obj $ \cobj__obj -> 
+    wxLocale_Delete cobj__obj  
+foreign import ccall "wxLocale_Delete" wxLocale_Delete :: Ptr (TLocale a) -> IO ()
+
+-- | usage: (@localeGetLocale obj@).
+localeGetLocale :: Locale  a ->  IO (Locale  ())
+localeGetLocale _obj 
+  = withObjectResult $
+    withObjectRef "localeGetLocale" _obj $ \cobj__obj -> 
+    wxLocale_GetLocale cobj__obj  
+foreign import ccall "wxLocale_GetLocale" wxLocale_GetLocale :: Ptr (TLocale a) -> IO (Ptr (TLocale ()))
+
+-- | usage: (@localeGetName obj@).
+localeGetName :: Locale  a ->  IO (String)
+localeGetName _obj 
+  = withManagedStringResult $
+    withObjectRef "localeGetName" _obj $ \cobj__obj -> 
+    wxLocale_GetName cobj__obj  
+foreign import ccall "wxLocale_GetName" wxLocale_GetName :: Ptr (TLocale a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@localeGetString obj szOrigString szDomain@).
+localeGetString :: Locale  a -> Ptr  b -> Ptr  c ->  IO String
+localeGetString _obj szOrigString szDomain 
+  = withWStringResult $ \buffer -> 
+    withObjectRef "localeGetString" _obj $ \cobj__obj -> 
+    wxLocale_GetString cobj__obj  szOrigString  szDomain   buffer
+foreign import ccall "wxLocale_GetString" wxLocale_GetString :: Ptr (TLocale a) -> Ptr  b -> Ptr  c -> Ptr CWchar -> IO CInt
+
+-- | usage: (@localeIsLoaded obj szDomain@).
+localeIsLoaded :: Locale  a -> Ptr  b ->  IO Bool
+localeIsLoaded _obj szDomain 
+  = withBoolResult $
+    withObjectRef "localeIsLoaded" _obj $ \cobj__obj -> 
+    wxLocale_IsLoaded cobj__obj  szDomain  
+foreign import ccall "wxLocale_IsLoaded" wxLocale_IsLoaded :: Ptr (TLocale a) -> Ptr  b -> IO CBool
+
+-- | usage: (@localeIsOk obj@).
+localeIsOk :: Locale  a ->  IO Bool
+localeIsOk _obj 
+  = withBoolResult $
+    withObjectRef "localeIsOk" _obj $ \cobj__obj -> 
+    wxLocale_IsOk cobj__obj  
+foreign import ccall "wxLocale_IsOk" wxLocale_IsOk :: Ptr (TLocale a) -> IO CBool
+
+-- | usage: (@logAddTraceMask obj str@).
+logAddTraceMask :: Log  a -> String ->  IO ()
+logAddTraceMask _obj str 
+  = withObjectRef "logAddTraceMask" _obj $ \cobj__obj -> 
+    withStringPtr str $ \cobj_str -> 
+    wxLog_AddTraceMask cobj__obj  cobj_str  
+foreign import ccall "wxLog_AddTraceMask" wxLog_AddTraceMask :: Ptr (TLog a) -> Ptr (TWxString b) -> IO ()
+
+-- | usage: (@logChainCreate logger@).
+logChainCreate :: Log  a ->  IO (LogChain  ())
+logChainCreate logger 
+  = withObjectResult $
+    withObjectPtr logger $ \cobj_logger -> 
+    wxLogChain_Create cobj_logger  
+foreign import ccall "wxLogChain_Create" wxLogChain_Create :: Ptr (TLog a) -> IO (Ptr (TLogChain ()))
+
+-- | usage: (@logChainDelete obj@).
+logChainDelete :: LogChain  a ->  IO ()
+logChainDelete _obj 
+  = withObjectRef "logChainDelete" _obj $ \cobj__obj -> 
+    wxLogChain_Delete cobj__obj  
+foreign import ccall "wxLogChain_Delete" wxLogChain_Delete :: Ptr (TLogChain a) -> IO ()
+
+-- | usage: (@logChainGetOldLog obj@).
+logChainGetOldLog :: LogChain  a ->  IO (Log  ())
+logChainGetOldLog _obj 
+  = withObjectResult $
+    withObjectRef "logChainGetOldLog" _obj $ \cobj__obj -> 
+    wxLogChain_GetOldLog cobj__obj  
+foreign import ccall "wxLogChain_GetOldLog" wxLogChain_GetOldLog :: Ptr (TLogChain a) -> IO (Ptr (TLog ()))
+
+-- | usage: (@logChainIsPassingMessages obj@).
+logChainIsPassingMessages :: LogChain  a ->  IO Bool
+logChainIsPassingMessages _obj 
+  = withBoolResult $
+    withObjectRef "logChainIsPassingMessages" _obj $ \cobj__obj -> 
+    wxLogChain_IsPassingMessages cobj__obj  
+foreign import ccall "wxLogChain_IsPassingMessages" wxLogChain_IsPassingMessages :: Ptr (TLogChain a) -> IO CBool
+
+-- | usage: (@logChainPassMessages obj bDoPass@).
+logChainPassMessages :: LogChain  a -> Bool ->  IO ()
+logChainPassMessages _obj bDoPass 
+  = withObjectRef "logChainPassMessages" _obj $ \cobj__obj -> 
+    wxLogChain_PassMessages cobj__obj  (toCBool bDoPass)  
+foreign import ccall "wxLogChain_PassMessages" wxLogChain_PassMessages :: Ptr (TLogChain a) -> CBool -> IO ()
+
+-- | usage: (@logChainSetLog obj logger@).
+logChainSetLog :: LogChain  a -> Log  b ->  IO ()
+logChainSetLog _obj logger 
+  = withObjectRef "logChainSetLog" _obj $ \cobj__obj -> 
+    withObjectPtr logger $ \cobj_logger -> 
+    wxLogChain_SetLog cobj__obj  cobj_logger  
+foreign import ccall "wxLogChain_SetLog" wxLogChain_SetLog :: Ptr (TLogChain a) -> Ptr (TLog b) -> IO ()
+
+-- | usage: (@logDebug msg@).
+logDebug :: String ->  IO ()
+logDebug _msg 
+  = withStringPtr _msg $ \cobj__msg -> 
+    wx_LogDebug cobj__msg  
+foreign import ccall "LogDebug" wx_LogDebug :: Ptr (TWxString a) -> IO ()
+
+-- | usage: (@logDelete obj@).
+logDelete :: Log  a ->  IO ()
+logDelete _obj 
+  = withObjectRef "logDelete" _obj $ \cobj__obj -> 
+    wxLog_Delete cobj__obj  
+foreign import ccall "wxLog_Delete" wxLog_Delete :: Ptr (TLog a) -> IO ()
+
+-- | usage: (@logDontCreateOnDemand obj@).
+logDontCreateOnDemand :: Log  a ->  IO ()
+logDontCreateOnDemand _obj 
+  = withObjectRef "logDontCreateOnDemand" _obj $ \cobj__obj -> 
+    wxLog_DontCreateOnDemand cobj__obj  
+foreign import ccall "wxLog_DontCreateOnDemand" wxLog_DontCreateOnDemand :: Ptr (TLog a) -> IO ()
+
+-- | usage: (@logError msg@).
+logError :: String ->  IO ()
+logError _msg 
+  = withStringPtr _msg $ \cobj__msg -> 
+    wx_LogError cobj__msg  
+foreign import ccall "LogError" wx_LogError :: Ptr (TWxString a) -> IO ()
+
+-- | usage: (@logErrorMsg msg@).
+logErrorMsg :: String ->  IO ()
+logErrorMsg _msg 
+  = withStringPtr _msg $ \cobj__msg -> 
+    wx_LogErrorMsg cobj__msg  
+foreign import ccall "LogErrorMsg" wx_LogErrorMsg :: Ptr (TWxString a) -> IO ()
+
+-- | usage: (@logFatalError msg@).
+logFatalError :: String ->  IO ()
+logFatalError _msg 
+  = withStringPtr _msg $ \cobj__msg -> 
+    wx_LogFatalError cobj__msg  
+foreign import ccall "LogFatalError" wx_LogFatalError :: Ptr (TWxString a) -> IO ()
+
+-- | usage: (@logFatalErrorMsg msg@).
+logFatalErrorMsg :: String ->  IO ()
+logFatalErrorMsg _msg 
+  = withStringPtr _msg $ \cobj__msg -> 
+    wx_LogFatalErrorMsg cobj__msg  
+foreign import ccall "LogFatalErrorMsg" wx_LogFatalErrorMsg :: Ptr (TWxString a) -> IO ()
+
+-- | usage: (@logFlush obj@).
+logFlush :: Log  a ->  IO ()
+logFlush _obj 
+  = withObjectRef "logFlush" _obj $ \cobj__obj -> 
+    wxLog_Flush cobj__obj  
+foreign import ccall "wxLog_Flush" wxLog_Flush :: Ptr (TLog a) -> IO ()
+
+-- | usage: (@logFlushActive obj@).
+logFlushActive :: Log  a ->  IO ()
+logFlushActive _obj 
+  = withObjectRef "logFlushActive" _obj $ \cobj__obj -> 
+    wxLog_FlushActive cobj__obj  
+foreign import ccall "wxLog_FlushActive" wxLog_FlushActive :: Ptr (TLog a) -> IO ()
+
+-- | usage: (@logGetActiveTarget@).
+logGetActiveTarget ::  IO (Log  ())
+logGetActiveTarget 
+  = withObjectResult $
+    wxLog_GetActiveTarget 
+foreign import ccall "wxLog_GetActiveTarget" wxLog_GetActiveTarget :: IO (Ptr (TLog ()))
+
+-- | usage: (@logGetTimestamp obj@).
+logGetTimestamp :: Log  a ->  IO (Ptr CWchar)
+logGetTimestamp _obj 
+  = withObjectRef "logGetTimestamp" _obj $ \cobj__obj -> 
+    wxLog_GetTimestamp cobj__obj  
+foreign import ccall "wxLog_GetTimestamp" wxLog_GetTimestamp :: Ptr (TLog a) -> IO (Ptr CWchar)
+
+-- | usage: (@logGetTraceMask obj@).
+logGetTraceMask :: Log  a ->  IO Int
+logGetTraceMask _obj 
+  = withIntResult $
+    withObjectRef "logGetTraceMask" _obj $ \cobj__obj -> 
+    wxLog_GetTraceMask cobj__obj  
+foreign import ccall "wxLog_GetTraceMask" wxLog_GetTraceMask :: Ptr (TLog a) -> IO CInt
+
+-- | usage: (@logGetVerbose obj@).
+logGetVerbose :: Log  a ->  IO Int
+logGetVerbose _obj 
+  = withIntResult $
+    withObjectRef "logGetVerbose" _obj $ \cobj__obj -> 
+    wxLog_GetVerbose cobj__obj  
+foreign import ccall "wxLog_GetVerbose" wxLog_GetVerbose :: Ptr (TLog a) -> IO CInt
+
+-- | usage: (@logHasPendingMessages obj@).
+logHasPendingMessages :: Log  a ->  IO Bool
+logHasPendingMessages _obj 
+  = withBoolResult $
+    withObjectRef "logHasPendingMessages" _obj $ \cobj__obj -> 
+    wxLog_HasPendingMessages cobj__obj  
+foreign import ccall "wxLog_HasPendingMessages" wxLog_HasPendingMessages :: Ptr (TLog a) -> IO CBool
+
+-- | usage: (@logIsAllowedTraceMask obj mask@).
+logIsAllowedTraceMask :: Log  a -> Mask  b ->  IO Bool
+logIsAllowedTraceMask _obj mask 
+  = withBoolResult $
+    withObjectRef "logIsAllowedTraceMask" _obj $ \cobj__obj -> 
+    withObjectPtr mask $ \cobj_mask -> 
+    wxLog_IsAllowedTraceMask cobj__obj  cobj_mask  
+foreign import ccall "wxLog_IsAllowedTraceMask" wxLog_IsAllowedTraceMask :: Ptr (TLog a) -> Ptr (TMask b) -> IO CBool
+
+-- | usage: (@logMessage msg@).
+logMessage :: String ->  IO ()
+logMessage _msg 
+  = withStringPtr _msg $ \cobj__msg -> 
+    wx_LogMessage cobj__msg  
+foreign import ccall "LogMessage" wx_LogMessage :: Ptr (TWxString a) -> IO ()
+
+-- | usage: (@logMessageMsg msg@).
+logMessageMsg :: String ->  IO ()
+logMessageMsg _msg 
+  = withStringPtr _msg $ \cobj__msg -> 
+    wx_LogMessageMsg cobj__msg  
+foreign import ccall "LogMessageMsg" wx_LogMessageMsg :: Ptr (TWxString a) -> IO ()
+
+-- | usage: (@logNullCreate@).
+logNullCreate ::  IO (LogNull  ())
+logNullCreate 
+  = withObjectResult $
+    wxLogNull_Create 
+foreign import ccall "wxLogNull_Create" wxLogNull_Create :: IO (Ptr (TLogNull ()))
+
+-- | usage: (@logOnLog obj level szString t@).
+logOnLog :: Log  a -> Int -> String -> Int ->  IO ()
+logOnLog _obj level szString t 
+  = withObjectRef "logOnLog" _obj $ \cobj__obj -> 
+    withCWString szString $ \cstr_szString -> 
+    wxLog_OnLog cobj__obj  (toCInt level)  cstr_szString  (toCInt t)  
+foreign import ccall "wxLog_OnLog" wxLog_OnLog :: Ptr (TLog a) -> CInt -> CWString -> CInt -> IO ()
+
+-- | usage: (@logRemoveTraceMask obj str@).
+logRemoveTraceMask :: Log  a -> String ->  IO ()
+logRemoveTraceMask _obj str 
+  = withObjectRef "logRemoveTraceMask" _obj $ \cobj__obj -> 
+    withStringPtr str $ \cobj_str -> 
+    wxLog_RemoveTraceMask cobj__obj  cobj_str  
+foreign import ccall "wxLog_RemoveTraceMask" wxLog_RemoveTraceMask :: Ptr (TLog a) -> Ptr (TWxString b) -> IO ()
+
+-- | usage: (@logResume obj@).
+logResume :: Log  a ->  IO ()
+logResume _obj 
+  = withObjectRef "logResume" _obj $ \cobj__obj -> 
+    wxLog_Resume cobj__obj  
+foreign import ccall "wxLog_Resume" wxLog_Resume :: Ptr (TLog a) -> IO ()
+
+-- | usage: (@logSetActiveTarget pLogger@).
+logSetActiveTarget :: Log  a ->  IO (Log  ())
+logSetActiveTarget pLogger 
+  = withObjectResult $
+    withObjectRef "logSetActiveTarget" pLogger $ \cobj_pLogger -> 
+    wxLog_SetActiveTarget cobj_pLogger  
+foreign import ccall "wxLog_SetActiveTarget" wxLog_SetActiveTarget :: Ptr (TLog a) -> IO (Ptr (TLog ()))
+
+-- | usage: (@logSetTimestamp obj ts@).
+logSetTimestamp :: Log  a -> String ->  IO ()
+logSetTimestamp _obj ts 
+  = withObjectRef "logSetTimestamp" _obj $ \cobj__obj -> 
+    withCWString ts $ \cstr_ts -> 
+    wxLog_SetTimestamp cobj__obj  cstr_ts  
+foreign import ccall "wxLog_SetTimestamp" wxLog_SetTimestamp :: Ptr (TLog a) -> CWString -> IO ()
+
+-- | usage: (@logSetVerbose obj bVerbose@).
+logSetVerbose :: Log  a -> Bool ->  IO ()
+logSetVerbose _obj bVerbose 
+  = withObjectRef "logSetVerbose" _obj $ \cobj__obj -> 
+    wxLog_SetVerbose cobj__obj  (toCBool bVerbose)  
+foreign import ccall "wxLog_SetVerbose" wxLog_SetVerbose :: Ptr (TLog a) -> CBool -> IO ()
+
+-- | usage: (@logStatus msg@).
+logStatus :: String ->  IO ()
+logStatus _msg 
+  = withStringPtr _msg $ \cobj__msg -> 
+    wx_LogStatus cobj__msg  
+foreign import ccall "LogStatus" wx_LogStatus :: Ptr (TWxString a) -> IO ()
+
+-- | usage: (@logStderrCreate@).
+logStderrCreate ::  IO (LogStderr  ())
+logStderrCreate 
+  = withObjectResult $
+    wxLogStderr_Create 
+foreign import ccall "wxLogStderr_Create" wxLogStderr_Create :: IO (Ptr (TLogStderr ()))
+
+-- | usage: (@logStderrCreateStdOut@).
+logStderrCreateStdOut ::  IO (LogStderr  ())
+logStderrCreateStdOut 
+  = withObjectResult $
+    wxLogStderr_CreateStdOut 
+foreign import ccall "wxLogStderr_CreateStdOut" wxLogStderr_CreateStdOut :: IO (Ptr (TLogStderr ()))
+
+-- | usage: (@logSuspend obj@).
+logSuspend :: Log  a ->  IO ()
+logSuspend _obj 
+  = withObjectRef "logSuspend" _obj $ \cobj__obj -> 
+    wxLog_Suspend cobj__obj  
+foreign import ccall "wxLog_Suspend" wxLog_Suspend :: Ptr (TLog a) -> IO ()
+
+-- | usage: (@logSysError msg@).
+logSysError :: String ->  IO ()
+logSysError _msg 
+  = withStringPtr _msg $ \cobj__msg -> 
+    wx_LogSysError cobj__msg  
+foreign import ccall "LogSysError" wx_LogSysError :: Ptr (TWxString a) -> IO ()
+
+-- | usage: (@logTextCtrlCreate text@).
+logTextCtrlCreate :: TextCtrl  a ->  IO (LogTextCtrl  ())
+logTextCtrlCreate text 
+  = withObjectResult $
+    withObjectPtr text $ \cobj_text -> 
+    wxLogTextCtrl_Create cobj_text  
+foreign import ccall "wxLogTextCtrl_Create" wxLogTextCtrl_Create :: Ptr (TTextCtrl a) -> IO (Ptr (TLogTextCtrl ()))
+
+-- | usage: (@logTrace mask msg@).
+logTrace :: String -> String ->  IO ()
+logTrace mask _msg 
+  = withStringPtr mask $ \cobj_mask -> 
+    withStringPtr _msg $ \cobj__msg -> 
+    wx_LogTrace cobj_mask  cobj__msg  
+foreign import ccall "LogTrace" wx_LogTrace :: Ptr (TWxString a) -> Ptr (TWxString b) -> IO ()
+
+-- | usage: (@logVerbose msg@).
+logVerbose :: String ->  IO ()
+logVerbose _msg 
+  = withStringPtr _msg $ \cobj__msg -> 
+    wx_LogVerbose cobj__msg  
+foreign import ccall "LogVerbose" wx_LogVerbose :: Ptr (TWxString a) -> IO ()
+
+-- | usage: (@logWarning msg@).
+logWarning :: String ->  IO ()
+logWarning _msg 
+  = withStringPtr _msg $ \cobj__msg -> 
+    wx_LogWarning cobj__msg  
+foreign import ccall "LogWarning" wx_LogWarning :: Ptr (TWxString a) -> IO ()
+
+-- | usage: (@logWarningMsg msg@).
+logWarningMsg :: String ->  IO ()
+logWarningMsg _msg 
+  = withStringPtr _msg $ \cobj__msg -> 
+    wx_LogWarningMsg cobj__msg  
+foreign import ccall "LogWarningMsg" wx_LogWarningMsg :: Ptr (TWxString a) -> IO ()
+
+-- | usage: (@logWindowCreate parent title showit passthrough@).
+logWindowCreate :: Window  a -> String -> Bool -> Bool ->  IO (LogWindow  ())
+logWindowCreate parent title showit passthrough 
+  = withObjectResult $
+    withObjectPtr parent $ \cobj_parent -> 
+    withCWString title $ \cstr_title -> 
+    wxLogWindow_Create cobj_parent  cstr_title  (toCBool showit)  (toCBool passthrough)  
+foreign import ccall "wxLogWindow_Create" wxLogWindow_Create :: Ptr (TWindow a) -> CWString -> CBool -> CBool -> IO (Ptr (TLogWindow ()))
+
+-- | usage: (@logWindowGetFrame obj@).
+logWindowGetFrame :: LogWindow  a ->  IO (Frame  ())
+logWindowGetFrame obj 
+  = withObjectResult $
+    withObjectRef "logWindowGetFrame" obj $ \cobj_obj -> 
+    wxLogWindow_GetFrame cobj_obj  
+foreign import ccall "wxLogWindow_GetFrame" wxLogWindow_GetFrame :: Ptr (TLogWindow a) -> IO (Ptr (TFrame ()))
+
src/haskell/Graphics/UI/WXCore/WxcClassesMZ.hs view
@@ -1,19705 +1,21240 @@-{-# INCLUDE "wxc.h" #-}-{-# LANGUAGE ForeignFunctionInterface #-}----------------------------------------------------------------------------------{-|	Module      :  WxcClassesMZ-	Copyright   :  Copyright (c) Daan Leijen 2003, 2004-	License     :  wxWidgets--	Maintainer  :  wxhaskell-devel@lists.sourceforge.net-	Stability   :  provisional-	Portability :  portable--Haskell class definitions for the wxWidgets C library (@wxc.dll@).--Do not edit this file manually!-This file was automatically generated by wxDirect on: --  * @2011-06-15 17:40:03.954179 UTC@--From the files:--  * @src\/include\/wxc.h@--And contains 2184 methods for 123 classes.--}----------------------------------------------------------------------------------module Graphics.UI.WXCore.WxcClassesMZ-    ( -- * Version-      versionWxcClassesMZ-      -- * Global-     -- ** Null-     ,nullAcceleratorTable-     ,nullBitmap-     ,nullBrush-     ,nullColour-     ,nullCursor-     ,nullFont-     ,nullHDBC-     ,nullHENV-     ,nullHSTMT-     ,nullIcon-     ,nullPalette-     ,nullPen-     -- ** Events-     ,wxEVT_ACTIVATE-     ,wxEVT_ACTIVATE_APP-     ,wxEVT_CALENDAR_DAY_CHANGED-     ,wxEVT_CALENDAR_DOUBLECLICKED-     ,wxEVT_CALENDAR_MONTH_CHANGED-     ,wxEVT_CALENDAR_SEL_CHANGED-     ,wxEVT_CALENDAR_WEEKDAY_CLICKED-     ,wxEVT_CALENDAR_YEAR_CHANGED-     ,wxEVT_CHAR-     ,wxEVT_CHAR_HOOK-     ,wxEVT_CLOSE_WINDOW-     ,wxEVT_COMMAND_BUTTON_CLICKED-     ,wxEVT_COMMAND_CHECKBOX_CLICKED-     ,wxEVT_COMMAND_CHECKLISTBOX_TOGGLED-     ,wxEVT_COMMAND_CHOICE_SELECTED-     ,wxEVT_COMMAND_COMBOBOX_SELECTED-     ,wxEVT_COMMAND_ENTER-     ,wxEVT_COMMAND_FIND-     ,wxEVT_COMMAND_FIND_CLOSE-     ,wxEVT_COMMAND_FIND_NEXT-     ,wxEVT_COMMAND_FIND_REPLACE-     ,wxEVT_COMMAND_FIND_REPLACE_ALL-     ,wxEVT_COMMAND_KILL_FOCUS-     ,wxEVT_COMMAND_LEFT_CLICK-     ,wxEVT_COMMAND_LEFT_DCLICK-     ,wxEVT_COMMAND_LISTBOX_DOUBLECLICKED-     ,wxEVT_COMMAND_LISTBOX_SELECTED-     ,wxEVT_COMMAND_LIST_BEGIN_DRAG-     ,wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT-     ,wxEVT_COMMAND_LIST_BEGIN_RDRAG-     ,wxEVT_COMMAND_LIST_CACHE_HINT-     ,wxEVT_COMMAND_LIST_COL_BEGIN_DRAG-     ,wxEVT_COMMAND_LIST_COL_CLICK-     ,wxEVT_COMMAND_LIST_COL_DRAGGING-     ,wxEVT_COMMAND_LIST_COL_END_DRAG-     ,wxEVT_COMMAND_LIST_COL_RIGHT_CLICK-     ,wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS-     ,wxEVT_COMMAND_LIST_DELETE_ITEM-     ,wxEVT_COMMAND_LIST_END_LABEL_EDIT-     ,wxEVT_COMMAND_LIST_INSERT_ITEM-     ,wxEVT_COMMAND_LIST_ITEM_ACTIVATED-     ,wxEVT_COMMAND_LIST_ITEM_DESELECTED-     ,wxEVT_COMMAND_LIST_ITEM_FOCUSED-     ,wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK-     ,wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK-     ,wxEVT_COMMAND_LIST_ITEM_SELECTED-     ,wxEVT_COMMAND_LIST_KEY_DOWN-     ,wxEVT_COMMAND_MENU_SELECTED-     ,wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED-     ,wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING-     ,wxEVT_COMMAND_RADIOBOX_SELECTED-     ,wxEVT_COMMAND_RADIOBUTTON_SELECTED-     ,wxEVT_COMMAND_RIGHT_CLICK-     ,wxEVT_COMMAND_RIGHT_DCLICK-     ,wxEVT_COMMAND_SCROLLBAR_UPDATED-     ,wxEVT_COMMAND_SET_FOCUS-     ,wxEVT_COMMAND_SLIDER_UPDATED-     ,wxEVT_COMMAND_SPINCTRL_UPDATED-     ,wxEVT_COMMAND_SPLITTER_DOUBLECLICKED-     ,wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED-     ,wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING-     ,wxEVT_COMMAND_SPLITTER_UNSPLIT-     ,wxEVT_COMMAND_TAB_SEL_CHANGED-     ,wxEVT_COMMAND_TAB_SEL_CHANGING-     ,wxEVT_COMMAND_TEXT_ENTER-     ,wxEVT_COMMAND_TEXT_UPDATED-     ,wxEVT_COMMAND_TOOL_CLICKED-     ,wxEVT_COMMAND_TOOL_ENTER-     ,wxEVT_COMMAND_TOOL_RCLICKED-     ,wxEVT_COMMAND_TREE_BEGIN_DRAG-     ,wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT-     ,wxEVT_COMMAND_TREE_BEGIN_RDRAG-     ,wxEVT_COMMAND_TREE_DELETE_ITEM-     ,wxEVT_COMMAND_TREE_END_DRAG-     ,wxEVT_COMMAND_TREE_END_LABEL_EDIT-     ,wxEVT_COMMAND_TREE_GET_INFO-     ,wxEVT_COMMAND_TREE_ITEM_ACTIVATED-     ,wxEVT_COMMAND_TREE_ITEM_COLLAPSED-     ,wxEVT_COMMAND_TREE_ITEM_COLLAPSING-     ,wxEVT_COMMAND_TREE_ITEM_EXPANDED-     ,wxEVT_COMMAND_TREE_ITEM_EXPANDING-     ,wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK-     ,wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK-     ,wxEVT_COMMAND_TREE_KEY_DOWN-     ,wxEVT_COMMAND_TREE_SEL_CHANGED-     ,wxEVT_COMMAND_TREE_SEL_CHANGING-     ,wxEVT_COMMAND_TREE_SET_INFO-     ,wxEVT_COMMAND_VLBOX_SELECTED-     ,wxEVT_COMPARE_ITEM-     ,wxEVT_CONTEXT_MENU-     ,wxEVT_CREATE-     ,wxEVT_DELETE-     ,wxEVT_DESTROY-     ,wxEVT_DETAILED_HELP-     ,wxEVT_DIALUP_CONNECTED-     ,wxEVT_DIALUP_DISCONNECTED-     ,wxEVT_DRAW_ITEM-     ,wxEVT_DROP_FILES-     ,wxEVT_END_PROCESS-     ,wxEVT_END_SESSION-     ,wxEVT_ENTER_WINDOW-     ,wxEVT_ERASE_BACKGROUND-     ,wxEVT_GRID_CELL_CHANGE-     ,wxEVT_GRID_CELL_LEFT_CLICK-     ,wxEVT_GRID_CELL_LEFT_DCLICK-     ,wxEVT_GRID_CELL_RIGHT_CLICK-     ,wxEVT_GRID_CELL_RIGHT_DCLICK-     ,wxEVT_GRID_COL_SIZE-     ,wxEVT_GRID_EDITOR_CREATED-     ,wxEVT_GRID_EDITOR_HIDDEN-     ,wxEVT_GRID_EDITOR_SHOWN-     ,wxEVT_GRID_LABEL_LEFT_CLICK-     ,wxEVT_GRID_LABEL_LEFT_DCLICK-     ,wxEVT_GRID_LABEL_RIGHT_CLICK-     ,wxEVT_GRID_LABEL_RIGHT_DCLICK-     ,wxEVT_GRID_RANGE_SELECT-     ,wxEVT_GRID_ROW_SIZE-     ,wxEVT_GRID_SELECT_CELL-     ,wxEVT_HELP-     ,wxEVT_HTML_CELL_CLICKED-     ,wxEVT_HTML_CELL_MOUSE_HOVER-     ,wxEVT_HTML_LINK_CLICKED-     ,wxEVT_HTML_SET_TITLE-     ,wxEVT_ICONIZE-     ,wxEVT_IDLE-     ,wxEVT_INIT_DIALOG-     ,wxEVT_INPUT_SINK-     ,wxEVT_KEY_DOWN-     ,wxEVT_KEY_UP-     ,wxEVT_KILL_FOCUS-     ,wxEVT_LEAVE_WINDOW-     ,wxEVT_LEFT_DCLICK-     ,wxEVT_LEFT_DOWN-     ,wxEVT_LEFT_UP-     ,wxEVT_MAXIMIZE-     ,wxEVT_MEASURE_ITEM-     ,wxEVT_MEDIA_FINISHED-     ,wxEVT_MEDIA_LOADED-     ,wxEVT_MEDIA_PAUSE-     ,wxEVT_MEDIA_PLAY-     ,wxEVT_MEDIA_STATECHANGED-     ,wxEVT_MEDIA_STOP-     ,wxEVT_MENU_CHAR-     ,wxEVT_MENU_HIGHLIGHT-     ,wxEVT_MENU_INIT-     ,wxEVT_MIDDLE_DCLICK-     ,wxEVT_MIDDLE_DOWN-     ,wxEVT_MIDDLE_UP-     ,wxEVT_MOTION-     ,wxEVT_MOUSEWHEEL-     ,wxEVT_MOUSE_CAPTURE_CHANGED-     ,wxEVT_MOVE-     ,wxEVT_NAVIGATION_KEY-     ,wxEVT_NC_ENTER_WINDOW-     ,wxEVT_NC_LEAVE_WINDOW-     ,wxEVT_NC_LEFT_DCLICK-     ,wxEVT_NC_LEFT_DOWN-     ,wxEVT_NC_LEFT_UP-     ,wxEVT_NC_MIDDLE_DCLICK-     ,wxEVT_NC_MIDDLE_DOWN-     ,wxEVT_NC_MIDDLE_UP-     ,wxEVT_NC_MOTION-     ,wxEVT_NC_PAINT-     ,wxEVT_NC_RIGHT_DCLICK-     ,wxEVT_NC_RIGHT_DOWN-     ,wxEVT_NC_RIGHT_UP-     ,wxEVT_PAINT-     ,wxEVT_PAINT_ICON-     ,wxEVT_PALETTE_CHANGED-     ,wxEVT_POPUP_MENU_INIT-     ,wxEVT_POWER-     ,wxEVT_POWER_RESUME-     ,wxEVT_POWER_SUSPENDED-     ,wxEVT_POWER_SUSPENDING-     ,wxEVT_POWER_SUSPEND_CANCEL-     ,wxEVT_PRINT_BEGIN-     ,wxEVT_PRINT_BEGIN_DOC-     ,wxEVT_PRINT_END-     ,wxEVT_PRINT_END_DOC-     ,wxEVT_PRINT_PAGE-     ,wxEVT_PRINT_PREPARE-     ,wxEVT_QUERY_END_SESSION-     ,wxEVT_QUERY_NEW_PALETTE-     ,wxEVT_RIGHT_DCLICK-     ,wxEVT_RIGHT_DOWN-     ,wxEVT_RIGHT_UP-     ,wxEVT_SCROLLWIN_BOTTOM-     ,wxEVT_SCROLLWIN_LINEDOWN-     ,wxEVT_SCROLLWIN_LINEUP-     ,wxEVT_SCROLLWIN_PAGEDOWN-     ,wxEVT_SCROLLWIN_PAGEUP-     ,wxEVT_SCROLLWIN_THUMBRELEASE-     ,wxEVT_SCROLLWIN_THUMBTRACK-     ,wxEVT_SCROLLWIN_TOP-     ,wxEVT_SCROLL_BOTTOM-     ,wxEVT_SCROLL_LINEDOWN-     ,wxEVT_SCROLL_LINEUP-     ,wxEVT_SCROLL_PAGEDOWN-     ,wxEVT_SCROLL_PAGEUP-     ,wxEVT_SCROLL_THUMBRELEASE-     ,wxEVT_SCROLL_THUMBTRACK-     ,wxEVT_SCROLL_TOP-     ,wxEVT_SETTING_CHANGED-     ,wxEVT_SET_CURSOR-     ,wxEVT_SET_FOCUS-     ,wxEVT_SHOW-     ,wxEVT_SIZE-     ,wxEVT_SOCKET-     ,wxEVT_SORT-     ,wxEVT_STC_AUTOCOMP_SELECTION-     ,wxEVT_STC_CALLTIP_CLICK-     ,wxEVT_STC_CHANGE-     ,wxEVT_STC_CHARADDED-     ,wxEVT_STC_DOUBLECLICK-     ,wxEVT_STC_DO_DROP-     ,wxEVT_STC_DRAG_OVER-     ,wxEVT_STC_DWELLEND-     ,wxEVT_STC_DWELLSTART-     ,wxEVT_STC_HOTSPOT_CLICK-     ,wxEVT_STC_HOTSPOT_DCLICK-     ,wxEVT_STC_KEY-     ,wxEVT_STC_MACRORECORD-     ,wxEVT_STC_MARGINCLICK-     ,wxEVT_STC_MODIFIED-     ,wxEVT_STC_NEEDSHOWN-     ,wxEVT_STC_PAINTED-     ,wxEVT_STC_ROMODIFYATTEMPT-     ,wxEVT_STC_SAVEPOINTLEFT-     ,wxEVT_STC_SAVEPOINTREACHED-     ,wxEVT_STC_START_DRAG-     ,wxEVT_STC_STYLENEEDED-     ,wxEVT_STC_UPDATEUI-     ,wxEVT_STC_URIDROPPED-     ,wxEVT_STC_USERLISTSELECTION-     ,wxEVT_STC_ZOOM-     ,wxEVT_SYS_COLOUR_CHANGED-     ,wxEVT_TASKBAR_LEFT_DCLICK-     ,wxEVT_TASKBAR_LEFT_DOWN-     ,wxEVT_TASKBAR_LEFT_UP-     ,wxEVT_TASKBAR_MOVE-     ,wxEVT_TASKBAR_RIGHT_DCLICK-     ,wxEVT_TASKBAR_RIGHT_DOWN-     ,wxEVT_TASKBAR_RIGHT_UP-     ,wxEVT_TIMER-     ,wxEVT_UPDATE_UI-     ,wxEVT_WIZARD_CANCEL-     ,wxEVT_WIZARD_PAGE_CHANGED-     ,wxEVT_WIZARD_PAGE_CHANGING-     -- ** Misc.-     ,popProvider-     ,pushProvider-     ,quantize-     ,quantizePalette-     ,removeProvider-     ,textDataObjectCreate-     ,textDataObjectDelete-     ,textDataObjectGetText-     ,textDataObjectGetTextLength-     ,textDataObjectSetText-     ,versionNumber-     ,wxBK_HITTEST_NOWHERE-     ,wxBK_HITTEST_ONICON-     ,wxBK_HITTEST_ONITEM-     ,wxBK_HITTEST_ONLABEL-     ,wxBK_HITTEST_ONPAGE-     ,wxK_ADD-     ,wxK_ALT-     ,wxK_BACK-     ,wxK_CANCEL-     ,wxK_CAPITAL-     ,wxK_CLEAR-     ,wxK_CONTROL-     ,wxK_DECIMAL-     ,wxK_DELETE-     ,wxK_DIVIDE-     ,wxK_DOWN-     ,wxK_END-     ,wxK_ESCAPE-     ,wxK_EXECUTE-     ,wxK_F1-     ,wxK_F10-     ,wxK_F11-     ,wxK_F12-     ,wxK_F13-     ,wxK_F14-     ,wxK_F15-     ,wxK_F16-     ,wxK_F17-     ,wxK_F18-     ,wxK_F19-     ,wxK_F2-     ,wxK_F20-     ,wxK_F21-     ,wxK_F22-     ,wxK_F23-     ,wxK_F24-     ,wxK_F3-     ,wxK_F4-     ,wxK_F5-     ,wxK_F6-     ,wxK_F7-     ,wxK_F8-     ,wxK_F9-     ,wxK_HELP-     ,wxK_HOME-     ,wxK_INSERT-     ,wxK_LBUTTON-     ,wxK_LEFT-     ,wxK_MBUTTON-     ,wxK_MENU-     ,wxK_MULTIPLY-     ,wxK_NUMLOCK-     ,wxK_NUMPAD0-     ,wxK_NUMPAD1-     ,wxK_NUMPAD2-     ,wxK_NUMPAD3-     ,wxK_NUMPAD4-     ,wxK_NUMPAD5-     ,wxK_NUMPAD6-     ,wxK_NUMPAD7-     ,wxK_NUMPAD8-     ,wxK_NUMPAD9-     ,wxK_NUMPAD_ADD-     ,wxK_NUMPAD_BEGIN-     ,wxK_NUMPAD_DECIMAL-     ,wxK_NUMPAD_DELETE-     ,wxK_NUMPAD_DIVIDE-     ,wxK_NUMPAD_DOWN-     ,wxK_NUMPAD_END-     ,wxK_NUMPAD_ENTER-     ,wxK_NUMPAD_EQUAL-     ,wxK_NUMPAD_F1-     ,wxK_NUMPAD_F2-     ,wxK_NUMPAD_F3-     ,wxK_NUMPAD_F4-     ,wxK_NUMPAD_HOME-     ,wxK_NUMPAD_INSERT-     ,wxK_NUMPAD_LEFT-     ,wxK_NUMPAD_MULTIPLY-     ,wxK_NUMPAD_PAGEDOWN-     ,wxK_NUMPAD_PAGEUP-     ,wxK_NUMPAD_RIGHT-     ,wxK_NUMPAD_SEPARATOR-     ,wxK_NUMPAD_SPACE-     ,wxK_NUMPAD_SUBTRACT-     ,wxK_NUMPAD_TAB-     ,wxK_NUMPAD_UP-     ,wxK_PAGEDOWN-     ,wxK_PAGEUP-     ,wxK_PAUSE-     ,wxK_PRINT-     ,wxK_RBUTTON-     ,wxK_RETURN-     ,wxK_RIGHT-     ,wxK_SCROLL-     ,wxK_SELECT-     ,wxK_SEPARATOR-     ,wxK_SHIFT-     ,wxK_SNAPSHOT-     ,wxK_SPACE-     ,wxK_START-     ,wxK_SUBTRACT-     ,wxK_TAB-     ,wxK_UP-     ,wxNB_BOTTOM-     ,wxNB_LEFT-     ,wxNB_RIGHT-     ,wxNB_TOP-     ,wxcBeginBusyCursor-     ,wxcBell-     ,wxcEndBusyCursor-     ,wxcFree-     ,wxcGetMousePosition-     ,wxcGetPixelRGB-     ,wxcGetPixelRGBA-     ,wxcInitPixelsRGB-     ,wxcInitPixelsRGBA-     ,wxcIsBusy-     ,wxcMalloc-     ,wxcSetPixelRGB-     ,wxcSetPixelRGBA-     ,wxcSetPixelRowRGB-     ,wxcSetPixelRowRGBA-     ,wxcSysErrorCode-     ,wxcSysErrorMsg-     ,wxcSystemSettingsGetColour-     ,wxcWakeUpIdle-      -- * Classes-     -- ** MDIChildFrame-     ,mdiChildFrameActivate-     ,mdiChildFrameCreate-     -- ** MDIParentFrame-     ,mdiParentFrameActivateNext-     ,mdiParentFrameActivatePrevious-     ,mdiParentFrameArrangeIcons-     ,mdiParentFrameCascade-     ,mdiParentFrameCreate-     ,mdiParentFrameGetActiveChild-     ,mdiParentFrameGetClientWindow-     ,mdiParentFrameGetWindowMenu-     ,mdiParentFrameOnCreateClient-     ,mdiParentFrameSetWindowMenu-     ,mdiParentFrameTile-     -- ** Mask-     ,maskCreate-     ,maskCreateColoured-     -- ** MediaCtrl-     ,mediaCtrlCreate-     ,mediaCtrlDelete-     ,mediaCtrlGetBestSize-     ,mediaCtrlGetPlaybackRate-     ,mediaCtrlGetState-     ,mediaCtrlGetVolume-     ,mediaCtrlLength-     ,mediaCtrlLoad-     ,mediaCtrlLoadURI-     ,mediaCtrlLoadURIWithProxy-     ,mediaCtrlPause-     ,mediaCtrlPlay-     ,mediaCtrlSeek-     ,mediaCtrlSetPlaybackRate-     ,mediaCtrlSetVolume-     ,mediaCtrlShowPlayerControls-     ,mediaCtrlStop-     ,mediaCtrlTell-     -- ** MemoryDC-     ,memoryDCCreate-     ,memoryDCCreateCompatible-     ,memoryDCCreateWithBitmap-     ,memoryDCDelete-     ,memoryDCSelectObject-     -- ** Menu-     ,menuAppend-     ,menuAppendItem-     ,menuAppendRadioItem-     ,menuAppendSeparator-     ,menuAppendSub-     ,menuBreak-     ,menuCheck-     ,menuCreate-     ,menuDeleteById-     ,menuDeleteByItem-     ,menuDeletePointer-     ,menuDestroyById-     ,menuDestroyByItem-     ,menuEnable-     ,menuFindItem-     ,menuFindItemByLabel-     ,menuGetClientData-     ,menuGetHelpString-     ,menuGetInvokingWindow-     ,menuGetLabel-     ,menuGetMenuBar-     ,menuGetMenuItemCount-     ,menuGetMenuItems-     ,menuGetParent-     ,menuGetStyle-     ,menuGetTitle-     ,menuInsert-     ,menuInsertItem-     ,menuInsertSub-     ,menuIsAttached-     ,menuIsChecked-     ,menuIsEnabled-     ,menuPrepend-     ,menuPrependItem-     ,menuPrependSub-     ,menuRemoveById-     ,menuRemoveByItem-     ,menuSetClientData-     ,menuSetEventHandler-     ,menuSetHelpString-     ,menuSetInvokingWindow-     ,menuSetLabel-     ,menuSetParent-     ,menuSetTitle-     ,menuUpdateUI-     -- ** MenuBar-     ,menuBarAppend-     ,menuBarCheck-     ,menuBarCreate-     ,menuBarDeletePointer-     ,menuBarEnable-     ,menuBarEnableItem-     ,menuBarEnableTop-     ,menuBarFindItem-     ,menuBarFindMenu-     ,menuBarFindMenuItem-     ,menuBarGetFrame-     ,menuBarGetHelpString-     ,menuBarGetLabel-     ,menuBarGetLabelTop-     ,menuBarGetMenu-     ,menuBarGetMenuCount-     ,menuBarInsert-     ,menuBarIsChecked-     ,menuBarIsEnabled-     ,menuBarRemove-     ,menuBarReplace-     ,menuBarSetHelpString-     ,menuBarSetItemLabel-     ,menuBarSetLabel-     ,menuBarSetLabelTop-     -- ** MenuEvent-     ,menuEventCopyObject-     ,menuEventGetMenuId-     -- ** MenuItem-     ,menuItemCheck-     ,menuItemCreate-     ,menuItemCreateEx-     ,menuItemCreateSeparator-     ,menuItemDelete-     ,menuItemEnable-     ,menuItemGetHelp-     ,menuItemGetId-     ,menuItemGetLabel-     ,menuItemGetLabelFromText-     ,menuItemGetMenu-     ,menuItemGetSubMenu-     ,menuItemGetText-     ,menuItemIsCheckable-     ,menuItemIsChecked-     ,menuItemIsEnabled-     ,menuItemIsSeparator-     ,menuItemIsSubMenu-     ,menuItemSetCheckable-     ,menuItemSetHelp-     ,menuItemSetId-     ,menuItemSetSubMenu-     ,menuItemSetText-     -- ** MessageDialog-     ,messageDialogCreate-     ,messageDialogDelete-     ,messageDialogShowModal-     -- ** Metafile-     ,metafileCreate-     ,metafileDelete-     ,metafileIsOk-     ,metafilePlay-     ,metafileSetClipboard-     -- ** MetafileDC-     ,metafileDCClose-     ,metafileDCCreate-     ,metafileDCDelete-     -- ** MimeTypesManager-     ,mimeTypesManagerAddFallbacks-     ,mimeTypesManagerCreate-     ,mimeTypesManagerEnumAllFileTypes-     ,mimeTypesManagerGetFileTypeFromExtension-     ,mimeTypesManagerGetFileTypeFromMimeType-     ,mimeTypesManagerIsOfType-     ,mimeTypesManagerReadMailcap-     ,mimeTypesManagerReadMimeTypes-     -- ** MiniFrame-     ,miniFrameCreate-     -- ** MirrorDC-     ,mirrorDCCreate-     ,mirrorDCDelete-     -- ** MouseEvent-     ,mouseEventAltDown-     ,mouseEventButton-     ,mouseEventButtonDClick-     ,mouseEventButtonDown-     ,mouseEventButtonIsDown-     ,mouseEventButtonUp-     ,mouseEventControlDown-     ,mouseEventCopyObject-     ,mouseEventDragging-     ,mouseEventEntering-     ,mouseEventGetButton-     ,mouseEventGetLogicalPosition-     ,mouseEventGetPosition-     ,mouseEventGetWheelDelta-     ,mouseEventGetWheelRotation-     ,mouseEventGetX-     ,mouseEventGetY-     ,mouseEventIsButton-     ,mouseEventLeaving-     ,mouseEventLeftDClick-     ,mouseEventLeftDown-     ,mouseEventLeftIsDown-     ,mouseEventLeftUp-     ,mouseEventMetaDown-     ,mouseEventMiddleDClick-     ,mouseEventMiddleDown-     ,mouseEventMiddleIsDown-     ,mouseEventMiddleUp-     ,mouseEventMoving-     ,mouseEventRightDClick-     ,mouseEventRightDown-     ,mouseEventRightIsDown-     ,mouseEventRightUp-     ,mouseEventShiftDown-     -- ** MoveEvent-     ,moveEventCopyObject-     ,moveEventGetPosition-     -- ** NavigationKeyEvent-     ,navigationKeyEventGetCurrentFocus-     ,navigationKeyEventGetDirection-     ,navigationKeyEventIsWindowChange-     ,navigationKeyEventSetCurrentFocus-     ,navigationKeyEventSetDirection-     ,navigationKeyEventSetWindowChange-     ,navigationKeyEventShouldPropagate-     -- ** Notebook-     ,notebookAddPage-     ,notebookAdvanceSelection-     ,notebookAssignImageList-     ,notebookCreate-     ,notebookDeleteAllPages-     ,notebookDeletePage-     ,notebookGetImageList-     ,notebookGetPage-     ,notebookGetPageCount-     ,notebookGetPageImage-     ,notebookGetPageText-     ,notebookGetRowCount-     ,notebookGetSelection-     ,notebookHitTest-     ,notebookInsertPage-     ,notebookRemovePage-     ,notebookSetImageList-     ,notebookSetPadding-     ,notebookSetPageImage-     ,notebookSetPageSize-     ,notebookSetPageText-     ,notebookSetSelection-     -- ** NotifyEvent-     ,notifyEventAllow-     ,notifyEventCopyObject-     ,notifyEventIsAllowed-     ,notifyEventVeto-     -- ** OutputStream-     ,outputStreamDelete-     ,outputStreamLastWrite-     ,outputStreamPutC-     ,outputStreamSeek-     ,outputStreamSync-     ,outputStreamTell-     ,outputStreamWrite-     -- ** PageSetupDialog-     ,pageSetupDialogCreate-     ,pageSetupDialogGetPageSetupData-     -- ** PageSetupDialogData-     ,pageSetupDialogDataAssign-     ,pageSetupDialogDataAssignData-     ,pageSetupDialogDataCalculateIdFromPaperSize-     ,pageSetupDialogDataCalculatePaperSizeFromId-     ,pageSetupDialogDataCreate-     ,pageSetupDialogDataCreateFromData-     ,pageSetupDialogDataDelete-     ,pageSetupDialogDataEnableHelp-     ,pageSetupDialogDataEnableMargins-     ,pageSetupDialogDataEnableOrientation-     ,pageSetupDialogDataEnablePaper-     ,pageSetupDialogDataEnablePrinter-     ,pageSetupDialogDataGetDefaultInfo-     ,pageSetupDialogDataGetDefaultMinMargins-     ,pageSetupDialogDataGetEnableHelp-     ,pageSetupDialogDataGetEnableMargins-     ,pageSetupDialogDataGetEnableOrientation-     ,pageSetupDialogDataGetEnablePaper-     ,pageSetupDialogDataGetEnablePrinter-     ,pageSetupDialogDataGetMarginBottomRight-     ,pageSetupDialogDataGetMarginTopLeft-     ,pageSetupDialogDataGetMinMarginBottomRight-     ,pageSetupDialogDataGetMinMarginTopLeft-     ,pageSetupDialogDataGetPaperId-     ,pageSetupDialogDataGetPaperSize-     ,pageSetupDialogDataGetPrintData-     ,pageSetupDialogDataSetDefaultInfo-     ,pageSetupDialogDataSetDefaultMinMargins-     ,pageSetupDialogDataSetMarginBottomRight-     ,pageSetupDialogDataSetMarginTopLeft-     ,pageSetupDialogDataSetMinMarginBottomRight-     ,pageSetupDialogDataSetMinMarginTopLeft-     ,pageSetupDialogDataSetPaperId-     ,pageSetupDialogDataSetPaperSize-     ,pageSetupDialogDataSetPaperSizeId-     ,pageSetupDialogDataSetPrintData-     -- ** PaintDC-     ,paintDCCreate-     ,paintDCDelete-     -- ** Palette-     ,paletteAssign-     ,paletteCreateDefault-     ,paletteCreateRGB-     ,paletteDelete-     ,paletteGetPixel-     ,paletteGetRGB-     ,paletteIsEqual-     ,paletteIsOk-     -- ** PaletteChangedEvent-     ,paletteChangedEventCopyObject-     ,paletteChangedEventGetChangedWindow-     ,paletteChangedEventSetChangedWindow-     -- ** Panel-     ,panelCreate-     ,panelInitDialog-     ,panelSetFocus-     -- ** Pen-     ,penAssign-     ,penCreateDefault-     ,penCreateFromBitmap-     ,penCreateFromColour-     ,penCreateFromStock-     ,penDelete-     ,penGetCap-     ,penGetColour-     ,penGetDashes-     ,penGetJoin-     ,penGetStipple-     ,penGetStyle-     ,penGetWidth-     ,penIsEqual-     ,penIsOk-     ,penIsStatic-     ,penSafeDelete-     ,penSetCap-     ,penSetColour-     ,penSetColourSingle-     ,penSetDashes-     ,penSetJoin-     ,penSetStipple-     ,penSetStyle-     ,penSetWidth-     -- ** PostScriptDC-     ,postScriptDCCreate-     ,postScriptDCDelete-     ,postScriptDCGetResolution-     ,postScriptDCSetResolution-     -- ** PostScriptPrintNativeData-     ,postScriptPrintNativeDataCreate-     ,postScriptPrintNativeDataDelete-     -- ** PreviewCanvas-     ,previewCanvasCreate-     -- ** PreviewFrame-     ,previewFrameCreate-     ,previewFrameDelete-     ,previewFrameInitialize-     -- ** PrintData-     ,printDataAssign-     ,printDataCreate-     ,printDataDelete-     ,printDataGetCollate-     ,printDataGetColour-     ,printDataGetDuplex-     ,printDataGetFilename-     ,printDataGetFontMetricPath-     ,printDataGetNoCopies-     ,printDataGetOrientation-     ,printDataGetPaperId-     ,printDataGetPaperSize-     ,printDataGetPreviewCommand-     ,printDataGetPrintMode-     ,printDataGetPrinterCommand-     ,printDataGetPrinterName-     ,printDataGetPrinterOptions-     ,printDataGetPrinterScaleX-     ,printDataGetPrinterScaleY-     ,printDataGetPrinterTranslateX-     ,printDataGetPrinterTranslateY-     ,printDataGetQuality-     ,printDataSetCollate-     ,printDataSetColour-     ,printDataSetDuplex-     ,printDataSetFilename-     ,printDataSetFontMetricPath-     ,printDataSetNoCopies-     ,printDataSetOrientation-     ,printDataSetPaperId-     ,printDataSetPaperSize-     ,printDataSetPreviewCommand-     ,printDataSetPrintMode-     ,printDataSetPrinterCommand-     ,printDataSetPrinterName-     ,printDataSetPrinterOptions-     ,printDataSetPrinterScaleX-     ,printDataSetPrinterScaleY-     ,printDataSetPrinterScaling-     ,printDataSetPrinterTranslateX-     ,printDataSetPrinterTranslateY-     ,printDataSetPrinterTranslation-     ,printDataSetQuality-     -- ** PrintDialog-     ,printDialogCreate-     ,printDialogGetPrintDC-     ,printDialogGetPrintData-     ,printDialogGetPrintDialogData-     -- ** PrintDialogData-     ,printDialogDataAssign-     ,printDialogDataAssignData-     ,printDialogDataCreateDefault-     ,printDialogDataCreateFromData-     ,printDialogDataDelete-     ,printDialogDataEnableHelp-     ,printDialogDataEnablePageNumbers-     ,printDialogDataEnablePrintToFile-     ,printDialogDataEnableSelection-     ,printDialogDataGetAllPages-     ,printDialogDataGetCollate-     ,printDialogDataGetEnableHelp-     ,printDialogDataGetEnablePageNumbers-     ,printDialogDataGetEnablePrintToFile-     ,printDialogDataGetEnableSelection-     ,printDialogDataGetFromPage-     ,printDialogDataGetMaxPage-     ,printDialogDataGetMinPage-     ,printDialogDataGetNoCopies-     ,printDialogDataGetPrintData-     ,printDialogDataGetPrintToFile-     ,printDialogDataGetSelection-     ,printDialogDataGetToPage-     ,printDialogDataSetAllPages-     ,printDialogDataSetCollate-     ,printDialogDataSetFromPage-     ,printDialogDataSetMaxPage-     ,printDialogDataSetMinPage-     ,printDialogDataSetNoCopies-     ,printDialogDataSetPrintData-     ,printDialogDataSetPrintToFile-     ,printDialogDataSetSelection-     ,printDialogDataSetToPage-     -- ** PrintPreview-     ,printPreviewCreateFromData-     ,printPreviewCreateFromDialogData-     ,printPreviewDelete-     ,printPreviewDetermineScaling-     ,printPreviewDrawBlankPage-     ,printPreviewGetCanvas-     ,printPreviewGetCurrentPage-     ,printPreviewGetFrame-     ,printPreviewGetMaxPage-     ,printPreviewGetMinPage-     ,printPreviewGetPrintDialogData-     ,printPreviewGetPrintout-     ,printPreviewGetPrintoutForPrinting-     ,printPreviewGetZoom-     ,printPreviewIsOk-     ,printPreviewPaintPage-     ,printPreviewPrint-     ,printPreviewRenderPage-     ,printPreviewSetCanvas-     ,printPreviewSetCurrentPage-     ,printPreviewSetFrame-     ,printPreviewSetOk-     ,printPreviewSetPrintout-     ,printPreviewSetZoom-     -- ** Printer-     ,printerCreate-     ,printerCreateAbortWindow-     ,printerDelete-     ,printerGetAbort-     ,printerGetLastError-     ,printerGetPrintDialogData-     ,printerPrint-     ,printerPrintDialog-     ,printerReportError-     ,printerSetup-     -- ** PrinterDC-     ,printerDCCreate-     ,printerDCDelete-     ,printerDCGetPaperRect-     -- ** Printout-     ,printoutGetDC-     ,printoutGetPPIPrinter-     ,printoutGetPPIScreen-     ,printoutGetPageSizeMM-     ,printoutGetPageSizePixels-     ,printoutGetTitle-     ,printoutIsPreview-     ,printoutSetDC-     ,printoutSetIsPreview-     ,printoutSetPPIPrinter-     ,printoutSetPPIScreen-     ,printoutSetPageSizeMM-     ,printoutSetPageSizePixels-     -- ** Process-     ,processCloseOutput-     ,processCreateDefault-     ,processCreateRedirect-     ,processDelete-     ,processDetach-     ,processGetErrorStream-     ,processGetInputStream-     ,processGetOutputStream-     ,processIsErrorAvailable-     ,processIsInputAvailable-     ,processIsInputOpened-     ,processIsRedirected-     ,processOpen-     ,processRedirect-     -- ** ProcessEvent-     ,processEventGetExitCode-     ,processEventGetPid-     -- ** ProgressDialog-     ,progressDialogCreate-     ,progressDialogResume-     ,progressDialogUpdate-     ,progressDialogUpdateWithMessage-     -- ** QueryLayoutInfoEvent-     ,queryLayoutInfoEventCreate-     ,queryLayoutInfoEventGetAlignment-     ,queryLayoutInfoEventGetFlags-     ,queryLayoutInfoEventGetOrientation-     ,queryLayoutInfoEventGetRequestedLength-     ,queryLayoutInfoEventGetSize-     ,queryLayoutInfoEventSetAlignment-     ,queryLayoutInfoEventSetFlags-     ,queryLayoutInfoEventSetOrientation-     ,queryLayoutInfoEventSetRequestedLength-     ,queryLayoutInfoEventSetSize-     -- ** QueryNewPaletteEvent-     ,queryNewPaletteEventCopyObject-     ,queryNewPaletteEventGetPaletteRealized-     ,queryNewPaletteEventSetPaletteRealized-     -- ** RadioBox-     ,radioBoxCreate-     ,radioBoxEnableItem-     ,radioBoxFindString-     ,radioBoxGetItemLabel-     ,radioBoxGetNumberOfRowsOrCols-     ,radioBoxGetSelection-     ,radioBoxGetStringSelection-     ,radioBoxNumber-     ,radioBoxSetItemBitmap-     ,radioBoxSetItemLabel-     ,radioBoxSetNumberOfRowsOrCols-     ,radioBoxSetSelection-     ,radioBoxSetStringSelection-     ,radioBoxShowItem-     -- ** RadioButton-     ,radioButtonCreate-     ,radioButtonGetValue-     ,radioButtonSetValue-     -- ** Region-     ,regionAssign-     ,regionClear-     ,regionContainsPoint-     ,regionContainsRect-     ,regionCreateDefault-     ,regionCreateFromRect-     ,regionDelete-     ,regionGetBox-     ,regionIntersectRect-     ,regionIntersectRegion-     ,regionIsEmpty-     ,regionSubtractRect-     ,regionSubtractRegion-     ,regionUnionRect-     ,regionUnionRegion-     ,regionXorRect-     ,regionXorRegion-     -- ** RegionIterator-     ,regionIteratorCreate-     ,regionIteratorCreateFromRegion-     ,regionIteratorDelete-     ,regionIteratorGetHeight-     ,regionIteratorGetWidth-     ,regionIteratorGetX-     ,regionIteratorGetY-     ,regionIteratorHaveRects-     ,regionIteratorNext-     ,regionIteratorReset-     ,regionIteratorResetToRegion-     -- ** SVGFileDC-     ,svgFileDCCreate-     ,svgFileDCCreateWithSize-     ,svgFileDCCreateWithSizeAndResolution-     ,svgFileDCDelete-     -- ** SashEvent-     ,sashEventCreate-     ,sashEventGetDragRect-     ,sashEventGetDragStatus-     ,sashEventGetEdge-     ,sashEventSetDragRect-     ,sashEventSetDragStatus-     ,sashEventSetEdge-     -- ** SashLayoutWindow-     ,sashLayoutWindowCreate-     ,sashLayoutWindowGetAlignment-     ,sashLayoutWindowGetOrientation-     ,sashLayoutWindowSetAlignment-     ,sashLayoutWindowSetDefaultSize-     ,sashLayoutWindowSetOrientation-     -- ** SashWindow-     ,sashWindowCreate-     ,sashWindowGetDefaultBorderSize-     ,sashWindowGetEdgeMargin-     ,sashWindowGetExtraBorderSize-     ,sashWindowGetMaximumSizeX-     ,sashWindowGetMaximumSizeY-     ,sashWindowGetMinimumSizeX-     ,sashWindowGetMinimumSizeY-     ,sashWindowGetSashVisible-     ,sashWindowHasBorder-     ,sashWindowSetDefaultBorderSize-     ,sashWindowSetExtraBorderSize-     ,sashWindowSetMaximumSizeX-     ,sashWindowSetMaximumSizeY-     ,sashWindowSetMinimumSizeX-     ,sashWindowSetMinimumSizeY-     ,sashWindowSetSashBorder-     ,sashWindowSetSashVisible-     -- ** ScreenDC-     ,screenDCCreate-     ,screenDCDelete-     ,screenDCEndDrawingOnTop-     ,screenDCStartDrawingOnTop-     ,screenDCStartDrawingOnTopOfWin-     -- ** ScrollBar-     ,scrollBarCreate-     ,scrollBarGetPageSize-     ,scrollBarGetRange-     ,scrollBarGetThumbPosition-     ,scrollBarGetThumbSize-     ,scrollBarSetScrollbar-     ,scrollBarSetThumbPosition-     -- ** ScrollEvent-     ,scrollEventGetOrientation-     ,scrollEventGetPosition-     -- ** ScrollWinEvent-     ,scrollWinEventGetOrientation-     ,scrollWinEventGetPosition-     ,scrollWinEventSetOrientation-     ,scrollWinEventSetPosition-     -- ** ScrolledWindow-     ,scrolledWindowAdjustScrollbars-     ,scrolledWindowCalcScrolledPosition-     ,scrolledWindowCalcUnscrolledPosition-     ,scrolledWindowCreate-     ,scrolledWindowEnableScrolling-     ,scrolledWindowGetScaleX-     ,scrolledWindowGetScaleY-     ,scrolledWindowGetScrollPageSize-     ,scrolledWindowGetScrollPixelsPerUnit-     ,scrolledWindowGetTargetWindow-     ,scrolledWindowGetViewStart-     ,scrolledWindowGetVirtualSize-     ,scrolledWindowOnDraw-     ,scrolledWindowPrepareDC-     ,scrolledWindowScroll-     ,scrolledWindowSetScale-     ,scrolledWindowSetScrollPageSize-     ,scrolledWindowSetScrollRate-     ,scrolledWindowSetScrollbars-     ,scrolledWindowSetTargetWindow-     ,scrolledWindowViewStart-     -- ** SetCursorEvent-     ,setCursorEventGetCursor-     ,setCursorEventGetX-     ,setCursorEventGetY-     ,setCursorEventHasCursor-     ,setCursorEventSetCursor-     -- ** ShowEvent-     ,showEventCopyObject-     ,showEventGetShow-     ,showEventSetShow-     -- ** SimpleHelpProvider-     ,simpleHelpProviderCreate-     -- ** SingleInstanceChecker-     ,singleInstanceCheckerCreate-     ,singleInstanceCheckerCreateDefault-     ,singleInstanceCheckerDelete-     ,singleInstanceCheckerIsAnotherRunning-     -- ** SizeEvent-     ,sizeEventCopyObject-     ,sizeEventGetSize-     -- ** Sizer-     ,sizerAdd-     ,sizerAddSizer-     ,sizerAddSpacer-     ,sizerAddStretchSpacer-     ,sizerAddWindow-     ,sizerCalcMin-     ,sizerClear-     ,sizerDetach-     ,sizerDetachSizer-     ,sizerDetachWindow-     ,sizerFit-     ,sizerFitInside-     ,sizerGetChildren-     ,sizerGetContainingWindow-     ,sizerGetItem-     ,sizerGetItemSizer-     ,sizerGetItemWindow-     ,sizerGetMinSize-     ,sizerGetPosition-     ,sizerGetSize-     ,sizerHide-     ,sizerHideSizer-     ,sizerHideWindow-     ,sizerInsert-     ,sizerInsertSizer-     ,sizerInsertSpacer-     ,sizerInsertStretchSpacer-     ,sizerInsertWindow-     ,sizerIsShown-     ,sizerIsShownSizer-     ,sizerIsShownWindow-     ,sizerLayout-     ,sizerPrepend-     ,sizerPrependSizer-     ,sizerPrependSpacer-     ,sizerPrependStretchSpacer-     ,sizerPrependWindow-     ,sizerRecalcSizes-     ,sizerReplace-     ,sizerReplaceSizer-     ,sizerReplaceWindow-     ,sizerSetDimension-     ,sizerSetItemMinSize-     ,sizerSetItemMinSizeSizer-     ,sizerSetItemMinSizeWindow-     ,sizerSetMinSize-     ,sizerSetSizeHints-     ,sizerSetVirtualSizeHints-     ,sizerShow-     ,sizerShowSizer-     ,sizerShowWindow-     -- ** SizerItem-     ,sizerItemCalcMin-     ,sizerItemCreate-     ,sizerItemCreateInSizer-     ,sizerItemCreateInWindow-     ,sizerItemDelete-     ,sizerItemDeleteWindows-     ,sizerItemDetachSizer-     ,sizerItemGetBorder-     ,sizerItemGetFlag-     ,sizerItemGetMinSize-     ,sizerItemGetPosition-     ,sizerItemGetProportion-     ,sizerItemGetRatio-     ,sizerItemGetRect-     ,sizerItemGetSize-     ,sizerItemGetSizer-     ,sizerItemGetSpacer-     ,sizerItemGetUserData-     ,sizerItemGetWindow-     ,sizerItemIsShown-     ,sizerItemIsSizer-     ,sizerItemIsSpacer-     ,sizerItemIsWindow-     ,sizerItemSetBorder-     ,sizerItemSetDimension-     ,sizerItemSetFlag-     ,sizerItemSetFloatRatio-     ,sizerItemSetInitSize-     ,sizerItemSetProportion-     ,sizerItemSetRatio-     ,sizerItemSetSizer-     ,sizerItemSetSpacer-     ,sizerItemSetWindow-     ,sizerItemShow-     -- ** Slider-     ,sliderClearSel-     ,sliderClearTicks-     ,sliderCreate-     ,sliderGetLineSize-     ,sliderGetMax-     ,sliderGetMin-     ,sliderGetPageSize-     ,sliderGetSelEnd-     ,sliderGetSelStart-     ,sliderGetThumbLength-     ,sliderGetTickFreq-     ,sliderGetValue-     ,sliderSetLineSize-     ,sliderSetPageSize-     ,sliderSetRange-     ,sliderSetSelection-     ,sliderSetThumbLength-     ,sliderSetTick-     ,sliderSetTickFreq-     ,sliderSetValue-     -- ** Sound-     ,soundCreate-     ,soundDelete-     ,soundIsOk-     ,soundPlay-     ,soundStop-     -- ** SpinButton-     ,spinButtonCreate-     ,spinButtonGetMax-     ,spinButtonGetMin-     ,spinButtonGetValue-     ,spinButtonSetRange-     ,spinButtonSetValue-     -- ** SpinCtrl-     ,spinCtrlCreate-     ,spinCtrlGetMax-     ,spinCtrlGetMin-     ,spinCtrlGetValue-     ,spinCtrlSetRange-     ,spinCtrlSetValue-     -- ** SpinEvent-     ,spinEventGetPosition-     ,spinEventSetPosition-     -- ** SplitterWindow-     ,splitterWindowCreate-     ,splitterWindowGetBorderSize-     ,splitterWindowGetMinimumPaneSize-     ,splitterWindowGetSashPosition-     ,splitterWindowGetSashSize-     ,splitterWindowGetSplitMode-     ,splitterWindowGetWindow1-     ,splitterWindowGetWindow2-     ,splitterWindowInitialize-     ,splitterWindowIsSplit-     ,splitterWindowReplaceWindow-     ,splitterWindowSetBorderSize-     ,splitterWindowSetMinimumPaneSize-     ,splitterWindowSetSashPosition-     ,splitterWindowSetSashSize-     ,splitterWindowSetSplitMode-     ,splitterWindowSplitHorizontally-     ,splitterWindowSplitVertically-     ,splitterWindowUnsplit-     -- ** StaticBitmap-     ,staticBitmapCreate-     ,staticBitmapDelete-     ,staticBitmapGetBitmap-     ,staticBitmapGetIcon-     ,staticBitmapSetBitmap-     ,staticBitmapSetIcon-     -- ** StaticBox-     ,staticBoxCreate-     -- ** StaticBoxSizer-     ,staticBoxSizerCalcMin-     ,staticBoxSizerCreate-     ,staticBoxSizerGetStaticBox-     ,staticBoxSizerRecalcSizes-     -- ** StaticLine-     ,staticLineCreate-     ,staticLineGetDefaultSize-     ,staticLineIsVertical-     -- ** StaticText-     ,staticTextCreate-     -- ** StatusBar-     ,statusBarCreate-     ,statusBarGetBorderX-     ,statusBarGetBorderY-     ,statusBarGetFieldsCount-     ,statusBarGetStatusText-     ,statusBarSetFieldsCount-     ,statusBarSetMinHeight-     ,statusBarSetStatusText-     ,statusBarSetStatusWidths-     -- ** StopWatch-     ,stopWatchCreate-     ,stopWatchDelete-     ,stopWatchPause-     ,stopWatchResume-     ,stopWatchStart-     ,stopWatchTime-     -- ** StreamBase-     ,streamBaseDelete-     ,streamBaseGetLastError-     ,streamBaseGetSize-     ,streamBaseIsOk-     -- ** StyledTextCtrl-     ,styledTextCtrlAddRefDocument-     ,styledTextCtrlAddStyledText-     ,styledTextCtrlAddText-     ,styledTextCtrlAppendText-     ,styledTextCtrlAutoCompActive-     ,styledTextCtrlAutoCompCancel-     ,styledTextCtrlAutoCompComplete-     ,styledTextCtrlAutoCompGetAutoHide-     ,styledTextCtrlAutoCompGetCancelAtStart-     ,styledTextCtrlAutoCompGetChooseSingle-     ,styledTextCtrlAutoCompGetDropRestOfWord-     ,styledTextCtrlAutoCompGetIgnoreCase-     ,styledTextCtrlAutoCompGetSeparator-     ,styledTextCtrlAutoCompGetTypeSeparator-     ,styledTextCtrlAutoCompPosStart-     ,styledTextCtrlAutoCompSelect-     ,styledTextCtrlAutoCompSetAutoHide-     ,styledTextCtrlAutoCompSetCancelAtStart-     ,styledTextCtrlAutoCompSetChooseSingle-     ,styledTextCtrlAutoCompSetDropRestOfWord-     ,styledTextCtrlAutoCompSetFillUps-     ,styledTextCtrlAutoCompSetIgnoreCase-     ,styledTextCtrlAutoCompSetSeparator-     ,styledTextCtrlAutoCompSetTypeSeparator-     ,styledTextCtrlAutoCompShow-     ,styledTextCtrlAutoCompStops-     ,styledTextCtrlBeginUndoAction-     ,styledTextCtrlBraceBadLight-     ,styledTextCtrlBraceHighlight-     ,styledTextCtrlBraceMatch-     ,styledTextCtrlCallTipActive-     ,styledTextCtrlCallTipCancel-     ,styledTextCtrlCallTipPosAtStart-     ,styledTextCtrlCallTipSetBackground-     ,styledTextCtrlCallTipSetForeground-     ,styledTextCtrlCallTipSetForegroundHighlight-     ,styledTextCtrlCallTipSetHighlight-     ,styledTextCtrlCallTipShow-     ,styledTextCtrlCanPaste-     ,styledTextCtrlCanRedo-     ,styledTextCtrlCanUndo-     ,styledTextCtrlChooseCaretX-     ,styledTextCtrlClear-     ,styledTextCtrlClearAll-     ,styledTextCtrlClearDocumentStyle-     ,styledTextCtrlClearRegisteredImages-     ,styledTextCtrlCmdKeyAssign-     ,styledTextCtrlCmdKeyClear-     ,styledTextCtrlCmdKeyClearAll-     ,styledTextCtrlCmdKeyExecute-     ,styledTextCtrlColourise-     ,styledTextCtrlConvertEOLs-     ,styledTextCtrlCopy-     ,styledTextCtrlCopyRange-     ,styledTextCtrlCopyText-     ,styledTextCtrlCreate-     ,styledTextCtrlCreateDocument-     ,styledTextCtrlCut-     ,styledTextCtrlDelLineLeft-     ,styledTextCtrlDelLineRight-     ,styledTextCtrlDocLineFromVisible-     ,styledTextCtrlEmptyUndoBuffer-     ,styledTextCtrlEndUndoAction-     ,styledTextCtrlEnsureCaretVisible-     ,styledTextCtrlEnsureVisible-     ,styledTextCtrlEnsureVisibleEnforcePolicy-     ,styledTextCtrlFindText-     ,styledTextCtrlFormatRange-     ,styledTextCtrlGetAnchor-     ,styledTextCtrlGetBackSpaceUnIndents-     ,styledTextCtrlGetBufferedDraw-     ,styledTextCtrlGetCaretForeground-     ,styledTextCtrlGetCaretLineBackground-     ,styledTextCtrlGetCaretLineVisible-     ,styledTextCtrlGetCaretPeriod-     ,styledTextCtrlGetCaretWidth-     ,styledTextCtrlGetCharAt-     ,styledTextCtrlGetCodePage-     ,styledTextCtrlGetColumn-     ,styledTextCtrlGetControlCharSymbol-     ,styledTextCtrlGetCurrentLine-     ,styledTextCtrlGetCurrentPos-     ,styledTextCtrlGetDocPointer-     ,styledTextCtrlGetEOLMode-     ,styledTextCtrlGetEdgeColour-     ,styledTextCtrlGetEdgeColumn-     ,styledTextCtrlGetEdgeMode-     ,styledTextCtrlGetEndAtLastLine-     ,styledTextCtrlGetEndStyled-     ,styledTextCtrlGetFirstVisibleLine-     ,styledTextCtrlGetFoldExpanded-     ,styledTextCtrlGetFoldLevel-     ,styledTextCtrlGetFoldParent-     ,styledTextCtrlGetHighlightGuide-     ,styledTextCtrlGetIndent-     ,styledTextCtrlGetIndentationGuides-     ,styledTextCtrlGetLastChild-     ,styledTextCtrlGetLastKeydownProcessed-     ,styledTextCtrlGetLayoutCache-     ,styledTextCtrlGetLength-     ,styledTextCtrlGetLexer-     ,styledTextCtrlGetLine-     ,styledTextCtrlGetLineCount-     ,styledTextCtrlGetLineEndPosition-     ,styledTextCtrlGetLineIndentPosition-     ,styledTextCtrlGetLineIndentation-     ,styledTextCtrlGetLineState-     ,styledTextCtrlGetLineVisible-     ,styledTextCtrlGetMarginLeft-     ,styledTextCtrlGetMarginMask-     ,styledTextCtrlGetMarginRight-     ,styledTextCtrlGetMarginSensitive-     ,styledTextCtrlGetMarginType-     ,styledTextCtrlGetMarginWidth-     ,styledTextCtrlGetMaxLineState-     ,styledTextCtrlGetModEventMask-     ,styledTextCtrlGetModify-     ,styledTextCtrlGetMouseDownCaptures-     ,styledTextCtrlGetMouseDwellTime-     ,styledTextCtrlGetOvertype-     ,styledTextCtrlGetPrintColourMode-     ,styledTextCtrlGetPrintMagnification-     ,styledTextCtrlGetPrintWrapMode-     ,styledTextCtrlGetReadOnly-     ,styledTextCtrlGetSTCCursor-     ,styledTextCtrlGetSTCFocus-     ,styledTextCtrlGetScrollWidth-     ,styledTextCtrlGetSearchFlags-     ,styledTextCtrlGetSelectedText-     ,styledTextCtrlGetSelection-     ,styledTextCtrlGetSelectionEnd-     ,styledTextCtrlGetSelectionStart-     ,styledTextCtrlGetStatus-     ,styledTextCtrlGetStyleAt-     ,styledTextCtrlGetStyleBits-     ,styledTextCtrlGetTabIndents-     ,styledTextCtrlGetTabWidth-     ,styledTextCtrlGetTargetEnd-     ,styledTextCtrlGetTargetStart-     ,styledTextCtrlGetText-     ,styledTextCtrlGetTextLength-     ,styledTextCtrlGetTextRange-     ,styledTextCtrlGetTwoPhaseDraw-     ,styledTextCtrlGetUndoCollection-     ,styledTextCtrlGetUseHorizontalScrollBar-     ,styledTextCtrlGetUseTabs-     ,styledTextCtrlGetUseVerticalScrollBar-     ,styledTextCtrlGetViewEOL-     ,styledTextCtrlGetViewWhiteSpace-     ,styledTextCtrlGetWrapMode-     ,styledTextCtrlGetXOffset-     ,styledTextCtrlGetZoom-     ,styledTextCtrlGotoLine-     ,styledTextCtrlGotoPos-     ,styledTextCtrlHideLines-     ,styledTextCtrlHideSelection-     ,styledTextCtrlHomeDisplay-     ,styledTextCtrlHomeDisplayExtend-     ,styledTextCtrlIndicatorGetForeground-     ,styledTextCtrlIndicatorGetStyle-     ,styledTextCtrlIndicatorSetForeground-     ,styledTextCtrlIndicatorSetStyle-     ,styledTextCtrlInsertText-     ,styledTextCtrlLineCopy-     ,styledTextCtrlLineDuplicate-     ,styledTextCtrlLineEndDisplay-     ,styledTextCtrlLineEndDisplayExtend-     ,styledTextCtrlLineFromPosition-     ,styledTextCtrlLineLength-     ,styledTextCtrlLineScroll-     ,styledTextCtrlLinesJoin-     ,styledTextCtrlLinesOnScreen-     ,styledTextCtrlLinesSplit-     ,styledTextCtrlLoadFile-     ,styledTextCtrlMarkerAdd-     ,styledTextCtrlMarkerDefine-     ,styledTextCtrlMarkerDefineBitmap-     ,styledTextCtrlMarkerDelete-     ,styledTextCtrlMarkerDeleteAll-     ,styledTextCtrlMarkerDeleteHandle-     ,styledTextCtrlMarkerGet-     ,styledTextCtrlMarkerLineFromHandle-     ,styledTextCtrlMarkerNext-     ,styledTextCtrlMarkerPrevious-     ,styledTextCtrlMarkerSetBackground-     ,styledTextCtrlMarkerSetForeground-     ,styledTextCtrlMoveCaretInsideView-     ,styledTextCtrlPaste-     ,styledTextCtrlPointFromPosition-     ,styledTextCtrlPositionAfter-     ,styledTextCtrlPositionBefore-     ,styledTextCtrlPositionFromLine-     ,styledTextCtrlPositionFromPoint-     ,styledTextCtrlPositionFromPointClose-     ,styledTextCtrlRedo-     ,styledTextCtrlRegisterImage-     ,styledTextCtrlReleaseDocument-     ,styledTextCtrlReplaceSelection-     ,styledTextCtrlReplaceTarget-     ,styledTextCtrlReplaceTargetRE-     ,styledTextCtrlSaveFile-     ,styledTextCtrlScrollToColumn-     ,styledTextCtrlScrollToLine-     ,styledTextCtrlSearchAnchor-     ,styledTextCtrlSearchInTarget-     ,styledTextCtrlSearchNext-     ,styledTextCtrlSearchPrev-     ,styledTextCtrlSelectAll-     ,styledTextCtrlSelectionIsRectangle-     ,styledTextCtrlSetAnchor-     ,styledTextCtrlSetBackSpaceUnIndents-     ,styledTextCtrlSetBufferedDraw-     ,styledTextCtrlSetCaretForeground-     ,styledTextCtrlSetCaretLineBackground-     ,styledTextCtrlSetCaretLineVisible-     ,styledTextCtrlSetCaretPeriod-     ,styledTextCtrlSetCaretWidth-     ,styledTextCtrlSetCodePage-     ,styledTextCtrlSetControlCharSymbol-     ,styledTextCtrlSetCurrentPos-     ,styledTextCtrlSetDocPointer-     ,styledTextCtrlSetEOLMode-     ,styledTextCtrlSetEdgeColour-     ,styledTextCtrlSetEdgeColumn-     ,styledTextCtrlSetEdgeMode-     ,styledTextCtrlSetEndAtLastLine-     ,styledTextCtrlSetFoldExpanded-     ,styledTextCtrlSetFoldFlags-     ,styledTextCtrlSetFoldLevel-     ,styledTextCtrlSetFoldMarginColour-     ,styledTextCtrlSetFoldMarginHiColour-     ,styledTextCtrlSetHScrollBar-     ,styledTextCtrlSetHighlightGuide-     ,styledTextCtrlSetHotspotActiveBackground-     ,styledTextCtrlSetHotspotActiveForeground-     ,styledTextCtrlSetHotspotActiveUnderline-     ,styledTextCtrlSetIndent-     ,styledTextCtrlSetIndentationGuides-     ,styledTextCtrlSetKeyWords-     ,styledTextCtrlSetLastKeydownProcessed-     ,styledTextCtrlSetLayoutCache-     ,styledTextCtrlSetLexer-     ,styledTextCtrlSetLexerLanguage-     ,styledTextCtrlSetLineIndentation-     ,styledTextCtrlSetLineState-     ,styledTextCtrlSetMarginLeft-     ,styledTextCtrlSetMarginMask-     ,styledTextCtrlSetMarginRight-     ,styledTextCtrlSetMarginSensitive-     ,styledTextCtrlSetMarginType-     ,styledTextCtrlSetMarginWidth-     ,styledTextCtrlSetMargins-     ,styledTextCtrlSetModEventMask-     ,styledTextCtrlSetMouseDownCaptures-     ,styledTextCtrlSetMouseDwellTime-     ,styledTextCtrlSetOvertype-     ,styledTextCtrlSetPrintColourMode-     ,styledTextCtrlSetPrintMagnification-     ,styledTextCtrlSetPrintWrapMode-     ,styledTextCtrlSetProperty-     ,styledTextCtrlSetReadOnly-     ,styledTextCtrlSetSTCCursor-     ,styledTextCtrlSetSTCFocus-     ,styledTextCtrlSetSavePoint-     ,styledTextCtrlSetScrollWidth-     ,styledTextCtrlSetSearchFlags-     ,styledTextCtrlSetSelBackground-     ,styledTextCtrlSetSelForeground-     ,styledTextCtrlSetSelection-     ,styledTextCtrlSetSelectionEnd-     ,styledTextCtrlSetSelectionStart-     ,styledTextCtrlSetStatus-     ,styledTextCtrlSetStyleBits-     ,styledTextCtrlSetStyleBytes-     ,styledTextCtrlSetStyling-     ,styledTextCtrlSetTabIndents-     ,styledTextCtrlSetTabWidth-     ,styledTextCtrlSetTargetEnd-     ,styledTextCtrlSetTargetStart-     ,styledTextCtrlSetText-     ,styledTextCtrlSetTwoPhaseDraw-     ,styledTextCtrlSetUndoCollection-     ,styledTextCtrlSetUseHorizontalScrollBar-     ,styledTextCtrlSetUseTabs-     ,styledTextCtrlSetUseVerticalScrollBar-     ,styledTextCtrlSetVScrollBar-     ,styledTextCtrlSetViewEOL-     ,styledTextCtrlSetViewWhiteSpace-     ,styledTextCtrlSetVisiblePolicy-     ,styledTextCtrlSetWhitespaceBackground-     ,styledTextCtrlSetWhitespaceForeground-     ,styledTextCtrlSetWordChars-     ,styledTextCtrlSetWrapMode-     ,styledTextCtrlSetXCaretPolicy-     ,styledTextCtrlSetXOffset-     ,styledTextCtrlSetYCaretPolicy-     ,styledTextCtrlSetZoom-     ,styledTextCtrlShowLines-     ,styledTextCtrlStartRecord-     ,styledTextCtrlStartStyling-     ,styledTextCtrlStopRecord-     ,styledTextCtrlStyleClearAll-     ,styledTextCtrlStyleResetDefault-     ,styledTextCtrlStyleSetBackground-     ,styledTextCtrlStyleSetBold-     ,styledTextCtrlStyleSetCase-     ,styledTextCtrlStyleSetChangeable-     ,styledTextCtrlStyleSetCharacterSet-     ,styledTextCtrlStyleSetEOLFilled-     ,styledTextCtrlStyleSetFaceName-     ,styledTextCtrlStyleSetFont-     ,styledTextCtrlStyleSetFontAttr-     ,styledTextCtrlStyleSetForeground-     ,styledTextCtrlStyleSetHotSpot-     ,styledTextCtrlStyleSetItalic-     ,styledTextCtrlStyleSetSize-     ,styledTextCtrlStyleSetSpec-     ,styledTextCtrlStyleSetUnderline-     ,styledTextCtrlStyleSetVisible-     ,styledTextCtrlTargetFromSelection-     ,styledTextCtrlTextHeight-     ,styledTextCtrlTextWidth-     ,styledTextCtrlToggleFold-     ,styledTextCtrlUndo-     ,styledTextCtrlUsePopUp-     ,styledTextCtrlUserListShow-     ,styledTextCtrlVisibleFromDocLine-     ,styledTextCtrlWordEndPosition-     ,styledTextCtrlWordPartLeft-     ,styledTextCtrlWordPartLeftExtend-     ,styledTextCtrlWordPartRight-     ,styledTextCtrlWordPartRightExtend-     ,styledTextCtrlWordStartPosition-     -- ** StyledTextEvent-     ,styledTextEventClone-     ,styledTextEventGetAlt-     ,styledTextEventGetControl-     ,styledTextEventGetDragAllowMove-     ,styledTextEventGetDragResult-     ,styledTextEventGetDragText-     ,styledTextEventGetFoldLevelNow-     ,styledTextEventGetFoldLevelPrev-     ,styledTextEventGetKey-     ,styledTextEventGetLParam-     ,styledTextEventGetLength-     ,styledTextEventGetLine-     ,styledTextEventGetLinesAdded-     ,styledTextEventGetListType-     ,styledTextEventGetMargin-     ,styledTextEventGetMessage-     ,styledTextEventGetModificationType-     ,styledTextEventGetModifiers-     ,styledTextEventGetPosition-     ,styledTextEventGetShift-     ,styledTextEventGetText-     ,styledTextEventGetWParam-     ,styledTextEventGetX-     ,styledTextEventGetY-     ,styledTextEventSetDragAllowMove-     ,styledTextEventSetDragResult-     ,styledTextEventSetDragText-     ,styledTextEventSetFoldLevelNow-     ,styledTextEventSetFoldLevelPrev-     ,styledTextEventSetKey-     ,styledTextEventSetLParam-     ,styledTextEventSetLength-     ,styledTextEventSetLine-     ,styledTextEventSetLinesAdded-     ,styledTextEventSetListType-     ,styledTextEventSetMargin-     ,styledTextEventSetMessage-     ,styledTextEventSetModificationType-     ,styledTextEventSetModifiers-     ,styledTextEventSetPosition-     ,styledTextEventSetText-     ,styledTextEventSetWParam-     ,styledTextEventSetX-     ,styledTextEventSetY-     -- ** SystemSettings-     ,systemSettingsGetColour-     ,systemSettingsGetFont-     ,systemSettingsGetMetric-     ,systemSettingsGetScreenType-     -- ** TaskBarIcon-     ,taskBarIconCreate-     ,taskBarIconDelete-     ,taskBarIconIsIconInstalled-     ,taskBarIconIsOk-     ,taskBarIconPopupMenu-     ,taskBarIconRemoveIcon-     ,taskBarIconSetIcon-     -- ** TextAttr-     ,textAttrCreate-     ,textAttrCreateDefault-     ,textAttrDelete-     ,textAttrGetBackgroundColour-     ,textAttrGetFont-     ,textAttrGetTextColour-     ,textAttrHasBackgroundColour-     ,textAttrHasFont-     ,textAttrHasTextColour-     ,textAttrIsDefault-     ,textAttrSetBackgroundColour-     ,textAttrSetFont-     ,textAttrSetTextColour-     -- ** TextCtrl-     ,textCtrlAppendText-     ,textCtrlCanCopy-     ,textCtrlCanCut-     ,textCtrlCanPaste-     ,textCtrlCanRedo-     ,textCtrlCanUndo-     ,textCtrlClear-     ,textCtrlCopy-     ,textCtrlCreate-     ,textCtrlCut-     ,textCtrlDiscardEdits-     ,textCtrlEmulateKeyPress-     ,textCtrlGetDefaultStyle-     ,textCtrlGetInsertionPoint-     ,textCtrlGetLastPosition-     ,textCtrlGetLineLength-     ,textCtrlGetLineText-     ,textCtrlGetNumberOfLines-     ,textCtrlGetRange-     ,textCtrlGetSelection-     ,textCtrlGetStringSelection-     ,textCtrlGetValue-     ,textCtrlIsEditable-     ,textCtrlIsModified-     ,textCtrlIsMultiLine-     ,textCtrlIsSingleLine-     ,textCtrlLoadFile-     ,textCtrlPaste-     ,textCtrlPositionToXY-     ,textCtrlRedo-     ,textCtrlRemove-     ,textCtrlReplace-     ,textCtrlSaveFile-     ,textCtrlSetDefaultStyle-     ,textCtrlSetEditable-     ,textCtrlSetInsertionPoint-     ,textCtrlSetInsertionPointEnd-     ,textCtrlSetMaxLength-     ,textCtrlSetSelection-     ,textCtrlSetStyle-     ,textCtrlSetValue-     ,textCtrlShowPosition-     ,textCtrlUndo-     ,textCtrlWriteText-     ,textCtrlXYToPosition-     -- ** TextInputStream-     ,textInputStreamCreate-     ,textInputStreamDelete-     ,textInputStreamReadLine-     -- ** TextOutputStream-     ,textOutputStreamCreate-     ,textOutputStreamDelete-     ,textOutputStreamWriteString-     -- ** TextValidator-     ,textValidatorClone-     ,textValidatorCreate-     ,textValidatorGetExcludes-     ,textValidatorGetIncludes-     ,textValidatorGetStyle-     ,textValidatorOnChar-     ,textValidatorSetExcludes-     ,textValidatorSetIncludes-     ,textValidatorSetStyle-     ,textValidatorTransferFromWindow-     ,textValidatorTransferToWindow-     -- ** Timer-     ,timerCreate-     ,timerDelete-     ,timerGetInterval-     ,timerIsOneShot-     ,timerIsRuning-     ,timerStart-     ,timerStop-     -- ** TimerEvent-     ,timerEventGetInterval-     -- ** TimerEx-     ,timerExConnect-     ,timerExCreate-     ,timerExGetClosure-     -- ** TipWindow-     ,tipWindowClose-     ,tipWindowCreate-     ,tipWindowSetBoundingRect-     ,tipWindowSetTipWindowPtr-     -- ** ToolBar-     ,toolBarAddControl-     ,toolBarAddSeparator-     ,toolBarAddTool-     ,toolBarAddTool2-     ,toolBarAddToolEx-     ,toolBarCreate-     ,toolBarDelete-     ,toolBarDeleteTool-     ,toolBarDeleteToolByPos-     ,toolBarEnableTool-     ,toolBarGetMargins-     ,toolBarGetToolBitmapSize-     ,toolBarGetToolClientData-     ,toolBarGetToolEnabled-     ,toolBarGetToolLongHelp-     ,toolBarGetToolPacking-     ,toolBarGetToolShortHelp-     ,toolBarGetToolSize-     ,toolBarGetToolState-     ,toolBarInsertControl-     ,toolBarInsertSeparator-     ,toolBarInsertTool-     ,toolBarRealize-     ,toolBarRemoveTool-     ,toolBarSetMargins-     ,toolBarSetToolBitmapSize-     ,toolBarSetToolClientData-     ,toolBarSetToolLongHelp-     ,toolBarSetToolPacking-     ,toolBarSetToolSeparation-     ,toolBarSetToolShortHelp-     ,toolBarToggleTool-     -- ** TopLevelWindow-     ,topLevelWindowEnableCloseButton-     ,topLevelWindowGetDefaultButton-     ,topLevelWindowGetDefaultItem-     ,topLevelWindowGetIcon-     ,topLevelWindowGetTitle-     ,topLevelWindowIconize-     ,topLevelWindowIsActive-     ,topLevelWindowIsIconized-     ,topLevelWindowIsMaximized-     ,topLevelWindowMaximize-     ,topLevelWindowRequestUserAttention-     ,topLevelWindowSetDefaultButton-     ,topLevelWindowSetDefaultItem-     ,topLevelWindowSetIcon-     ,topLevelWindowSetIcons-     ,topLevelWindowSetMaxSize-     ,topLevelWindowSetMinSize-     ,topLevelWindowSetTitle-     -- ** TreeCtrl-     ,treeCtrlAddRoot-     ,treeCtrlAppendItem-     ,treeCtrlAssignImageList-     ,treeCtrlAssignStateImageList-     ,treeCtrlCollapse-     ,treeCtrlCollapseAndReset-     ,treeCtrlCreate-     ,treeCtrlCreate2-     ,treeCtrlDelete-     ,treeCtrlDeleteAllItems-     ,treeCtrlDeleteChildren-     ,treeCtrlEditLabel-     ,treeCtrlEndEditLabel-     ,treeCtrlEnsureVisible-     ,treeCtrlExpand-     ,treeCtrlGetBoundingRect-     ,treeCtrlGetChildrenCount-     ,treeCtrlGetCount-     ,treeCtrlGetEditControl-     ,treeCtrlGetFirstChild-     ,treeCtrlGetFirstVisibleItem-     ,treeCtrlGetImageList-     ,treeCtrlGetIndent-     ,treeCtrlGetItemClientClosure-     ,treeCtrlGetItemData-     ,treeCtrlGetItemImage-     ,treeCtrlGetItemText-     ,treeCtrlGetLastChild-     ,treeCtrlGetNextChild-     ,treeCtrlGetNextSibling-     ,treeCtrlGetNextVisible-     ,treeCtrlGetParent-     ,treeCtrlGetPrevSibling-     ,treeCtrlGetPrevVisible-     ,treeCtrlGetRootItem-     ,treeCtrlGetSelection-     ,treeCtrlGetSelections-     ,treeCtrlGetSpacing-     ,treeCtrlGetStateImageList-     ,treeCtrlHitTest-     ,treeCtrlInsertItem-     ,treeCtrlInsertItem2-     ,treeCtrlInsertItemByIndex-     ,treeCtrlInsertItemByIndex2-     ,treeCtrlIsBold-     ,treeCtrlIsExpanded-     ,treeCtrlIsSelected-     ,treeCtrlIsVisible-     ,treeCtrlItemHasChildren-     ,treeCtrlOnCompareItems-     ,treeCtrlPrependItem-     ,treeCtrlScrollTo-     ,treeCtrlSelectItem-     ,treeCtrlSetImageList-     ,treeCtrlSetIndent-     ,treeCtrlSetItemBackgroundColour-     ,treeCtrlSetItemBold-     ,treeCtrlSetItemClientClosure-     ,treeCtrlSetItemData-     ,treeCtrlSetItemDropHighlight-     ,treeCtrlSetItemFont-     ,treeCtrlSetItemHasChildren-     ,treeCtrlSetItemImage-     ,treeCtrlSetItemText-     ,treeCtrlSetItemTextColour-     ,treeCtrlSetSpacing-     ,treeCtrlSetStateImageList-     ,treeCtrlSortChildren-     ,treeCtrlToggle-     ,treeCtrlUnselect-     ,treeCtrlUnselectAll-     -- ** TreeEvent-     ,treeEventAllow-     ,treeEventGetCode-     ,treeEventGetItem-     ,treeEventGetKeyEvent-     ,treeEventGetLabel-     ,treeEventGetOldItem-     ,treeEventGetPoint-     ,treeEventIsEditCancelled-     -- ** UpdateUIEvent-     ,updateUIEventCheck-     ,updateUIEventCopyObject-     ,updateUIEventEnable-     ,updateUIEventGetChecked-     ,updateUIEventGetEnabled-     ,updateUIEventGetSetChecked-     ,updateUIEventGetSetEnabled-     ,updateUIEventGetSetText-     ,updateUIEventGetText-     ,updateUIEventSetText-     -- ** Validator-     ,validatorCreate-     ,validatorDelete-     ,validatorGetWindow-     ,validatorSetBellOnError-     ,validatorSetWindow-     ,validatorTransferFromWindow-     ,validatorTransferToWindow-     ,validatorValidate-     -- ** WXCApp-     ,wxcAppBell-     ,wxcAppCreateLogTarget-     ,wxcAppDispatch-     ,wxcAppDisplaySize-     ,wxcAppEnableTooltips-     ,wxcAppEnableTopLevelWindows-     ,wxcAppExecuteProcess-     ,wxcAppExit-     ,wxcAppExitMainLoop-     ,wxcAppFindWindowById-     ,wxcAppFindWindowByLabel-     ,wxcAppFindWindowByName-     ,wxcAppGetApp-     ,wxcAppGetAppName-     ,wxcAppGetClassName-     ,wxcAppGetExitOnFrameDelete-     ,wxcAppGetIdleInterval-     ,wxcAppGetOsDescription-     ,wxcAppGetOsVersion-     ,wxcAppGetTopWindow-     ,wxcAppGetUseBestVisual-     ,wxcAppGetUserHome-     ,wxcAppGetUserId-     ,wxcAppGetUserName-     ,wxcAppGetVendorName-     ,wxcAppInitAllImageHandlers-     ,wxcAppInitializeC-     ,wxcAppInitialized-     ,wxcAppIsTerminating-     ,wxcAppMainLoop-     ,wxcAppMilliSleep-     ,wxcAppMousePosition-     ,wxcAppPending-     ,wxcAppSafeYield-     ,wxcAppSetAppName-     ,wxcAppSetClassName-     ,wxcAppSetExitOnFrameDelete-     ,wxcAppSetIdleInterval-     ,wxcAppSetPrintMode-     ,wxcAppSetTooltipDelay-     ,wxcAppSetTopWindow-     ,wxcAppSetUseBestVisual-     ,wxcAppSetVendorName-     ,wxcAppSleep-     ,wxcAppYield-     -- ** WXCArtProv-     ,wxcArtProvCreate-     ,wxcArtProvRelease-     -- ** WXCDragDataObject-     ,wxcDragDataObjectCreate-     ,wxcDragDataObjectDelete-     -- ** WXCDropTarget-     ,wxcDropTargetCreate-     ,wxcDropTargetDelete-     ,wxcDropTargetSetOnData-     ,wxcDropTargetSetOnDragOver-     ,wxcDropTargetSetOnDrop-     ,wxcDropTargetSetOnEnter-     ,wxcDropTargetSetOnLeave-     -- ** WXCFileDropTarget-     ,wxcFileDropTargetCreate-     ,wxcFileDropTargetDelete-     ,wxcFileDropTargetSetOnData-     ,wxcFileDropTargetSetOnDragOver-     ,wxcFileDropTargetSetOnDrop-     ,wxcFileDropTargetSetOnEnter-     ,wxcFileDropTargetSetOnLeave-     -- ** WXCGridTable-     ,wxcGridTableCreate-     ,wxcGridTableDelete-     ,wxcGridTableGetView-     ,wxcGridTableSendTableMessage-     -- ** WXCHtmlEvent-     ,wxcHtmlEventGetHref-     ,wxcHtmlEventGetHtmlCell-     ,wxcHtmlEventGetHtmlCellId-     ,wxcHtmlEventGetLogicalPosition-     ,wxcHtmlEventGetMouseEvent-     ,wxcHtmlEventGetTarget-     -- ** WXCHtmlWindow-     ,wxcHtmlWindowCreate-     -- ** WXCLog-     ,wxcLogAddTraceMask-     ,wxcLogCreate-     ,wxcLogDelete-     ,wxcLogDontCreateOnDemand-     ,wxcLogEnableLogging-     ,wxcLogFlush-     ,wxcLogFlushActive-     ,wxcLogGetActiveTarget-     ,wxcLogGetTimestamp-     ,wxcLogGetTraceMask-     ,wxcLogGetVerbose-     ,wxcLogHasPendingMessages-     ,wxcLogIsAllowedTraceMask-     ,wxcLogIsEnabled-     ,wxcLogOnLog-     ,wxcLogRemoveTraceMask-     ,wxcLogResume-     ,wxcLogSetActiveTarget-     ,wxcLogSetTimestamp-     ,wxcLogSetTraceMask-     ,wxcLogSetVerbose-     ,wxcLogSuspend-     -- ** WXCPreviewControlBar-     ,wxcPreviewControlBarCreate-     -- ** WXCPreviewFrame-     ,wxcPreviewFrameCreate-     ,wxcPreviewFrameGetControlBar-     ,wxcPreviewFrameGetPreviewCanvas-     ,wxcPreviewFrameGetPrintPreview-     ,wxcPreviewFrameInitialize-     ,wxcPreviewFrameSetControlBar-     ,wxcPreviewFrameSetPreviewCanvas-     ,wxcPreviewFrameSetPrintPreview-     -- ** WXCPrintEvent-     ,wxcPrintEventGetContinue-     ,wxcPrintEventGetEndPage-     ,wxcPrintEventGetPage-     ,wxcPrintEventGetPrintout-     ,wxcPrintEventSetContinue-     ,wxcPrintEventSetPageLimits-     -- ** WXCPrintout-     ,wxcPrintoutCreate-     ,wxcPrintoutDelete-     ,wxcPrintoutGetEvtHandler-     ,wxcPrintoutSetPageLimits-     -- ** WXCTextDropTarget-     ,wxcTextDropTargetCreate-     ,wxcTextDropTargetDelete-     ,wxcTextDropTargetSetOnData-     ,wxcTextDropTargetSetOnDragOver-     ,wxcTextDropTargetSetOnDrop-     ,wxcTextDropTargetSetOnEnter-     ,wxcTextDropTargetSetOnLeave-     -- ** WXCTextValidator-     ,wxcTextValidatorCreate-     -- ** WXCTreeItemData-     ,wxcTreeItemDataCreate-     ,wxcTreeItemDataGetClientClosure-     ,wxcTreeItemDataSetClientClosure-     -- ** Window-     ,windowAddChild-     ,windowAddConstraintReference-     ,windowCaptureMouse-     ,windowCenter-     ,windowCenterOnParent-     ,windowClearBackground-     ,windowClientToScreen-     ,windowClose-     ,windowConvertDialogToPixels-     ,windowConvertDialogToPixelsEx-     ,windowConvertPixelsToDialog-     ,windowConvertPixelsToDialogEx-     ,windowCreate-     ,windowDeleteRelatedConstraints-     ,windowDestroy-     ,windowDestroyChildren-     ,windowDisable-     ,windowDoPhase-     ,windowEnable-     ,windowFindFocus-     ,windowFindWindow-     ,windowFit-     ,windowFitInside-     ,windowFreeze-     ,windowGetAutoLayout-     ,windowGetBackgroundColour-     ,windowGetBestSize-     ,windowGetCaret-     ,windowGetCharHeight-     ,windowGetCharWidth-     ,windowGetChildren-     ,windowGetClientData-     ,windowGetClientSize-     ,windowGetClientSizeConstraint-     ,windowGetConstraints-     ,windowGetConstraintsInvolvedIn-     ,windowGetCursor-     ,windowGetDropTarget-     ,windowGetEffectiveMinSize-     ,windowGetEventHandler-     ,windowGetFont-     ,windowGetForegroundColour-     ,windowGetHandle-     ,windowGetId-     ,windowGetLabel-     ,windowGetLabelEmpty-     ,windowGetMaxHeight-     ,windowGetMaxWidth-     ,windowGetMinHeight-     ,windowGetMinWidth-     ,windowGetName-     ,windowGetParent-     ,windowGetPosition-     ,windowGetPositionConstraint-     ,windowGetRect-     ,windowGetScrollPos-     ,windowGetScrollRange-     ,windowGetScrollThumb-     ,windowGetSize-     ,windowGetSizeConstraint-     ,windowGetSizer-     ,windowGetTextExtent-     ,windowGetToolTip-     ,windowGetUpdateRegion-     ,windowGetValidator-     ,windowGetVirtualSize-     ,windowGetWindowStyleFlag-     ,windowHasFlag-     ,windowHide-     ,windowInitDialog-     ,windowIsBeingDeleted-     ,windowIsEnabled-     ,windowIsExposed-     ,windowIsShown-     ,windowIsTopLevel-     ,windowLayout-     ,windowLayoutPhase1-     ,windowLayoutPhase2-     ,windowLower-     ,windowMakeModal-     ,windowMove-     ,windowMoveConstraint-     ,windowPopEventHandler-     ,windowPopupMenu-     ,windowPrepareDC-     ,windowPushEventHandler-     ,windowRaise-     ,windowRefresh-     ,windowRefreshRect-     ,windowReleaseMouse-     ,windowRemoveChild-     ,windowRemoveConstraintReference-     ,windowReparent-     ,windowResetConstraints-     ,windowScreenToClient-     ,windowScreenToClient2-     ,windowScrollWindow-     ,windowScrollWindowRect-     ,windowSetAcceleratorTable-     ,windowSetAutoLayout-     ,windowSetBackgroundColour-     ,windowSetCaret-     ,windowSetClientData-     ,windowSetClientObject-     ,windowSetClientSize-     ,windowSetConstraintSizes-     ,windowSetConstraints-     ,windowSetCursor-     ,windowSetDropTarget-     ,windowSetExtraStyle-     ,windowSetFocus-     ,windowSetFont-     ,windowSetForegroundColour-     ,windowSetId-     ,windowSetLabel-     ,windowSetName-     ,windowSetScrollPos-     ,windowSetScrollbar-     ,windowSetSize-     ,windowSetSizeConstraint-     ,windowSetSizeHints-     ,windowSetSizer-     ,windowSetToolTip-     ,windowSetValidator-     ,windowSetVirtualSize-     ,windowSetWindowStyleFlag-     ,windowShow-     ,windowThaw-     ,windowTransferDataFromWindow-     ,windowTransferDataToWindow-     ,windowUnsetConstraints-     ,windowUpdateWindowUI-     ,windowValidate-     ,windowWarpPointer-     -- ** WindowCreateEvent-     ,windowCreateEventGetWindow-     -- ** WindowDC-     ,windowDCCreate-     ,windowDCDelete-     -- ** WindowDestroyEvent-     ,windowDestroyEventGetWindow-     -- ** Wizard-     ,wizardChain-     ,wizardCreate-     ,wizardGetCurrentPage-     ,wizardGetPageSize-     ,wizardRunWizard-     ,wizardSetPageSize-     -- ** WizardEvent-     ,wizardEventGetDirection-     -- ** WizardPageSimple-     ,wizardPageSimpleCreate-     ,wizardPageSimpleGetBitmap-     ,wizardPageSimpleGetNext-     ,wizardPageSimpleGetPrev-     ,wizardPageSimpleSetNext-     ,wizardPageSimpleSetPrev-     -- ** WxManagedPtr-     ,managedPtrCreateFromBitmap-     ,managedPtrCreateFromBrush-     ,managedPtrCreateFromColour-     ,managedPtrCreateFromCursor-     ,managedPtrCreateFromDateTime-     ,managedPtrCreateFromFont-     ,managedPtrCreateFromGridCellCoordsArray-     ,managedPtrCreateFromIcon-     ,managedPtrCreateFromObject-     ,managedPtrCreateFromPen-     ,managedPtrDelete-     ,managedPtrFinalize-     ,managedPtrGetDeleteFunction-     ,managedPtrGetPtr-     ,managedPtrNoFinalize-     -- ** WxObject-     ,objectGetClassInfo-     ,objectGetClientClosure-     ,objectIsKindOf-     ,objectIsScrolledWindow-     ,objectSafeDelete-     ,objectSetClientClosure-     ,wxobjectDelete-     -- ** XmlResource-     ,xmlResourceAddHandler-     ,xmlResourceAddSubclassFactory-     ,xmlResourceAttachUnknownControl-     ,xmlResourceClearHandlers-     ,xmlResourceCompareVersion-     ,xmlResourceCreate-     ,xmlResourceCreateFromFile-     ,xmlResourceDelete-     ,xmlResourceGet-     ,xmlResourceGetBitmapButton-     ,xmlResourceGetBoxSizer-     ,xmlResourceGetButton-     ,xmlResourceGetCalendarCtrl-     ,xmlResourceGetCheckBox-     ,xmlResourceGetCheckListBox-     ,xmlResourceGetChoice-     ,xmlResourceGetComboBox-     ,xmlResourceGetDomain-     ,xmlResourceGetFlags-     ,xmlResourceGetFlexGridSizer-     ,xmlResourceGetGauge-     ,xmlResourceGetGrid-     ,xmlResourceGetGridSizer-     ,xmlResourceGetHtmlWindow-     ,xmlResourceGetListBox-     ,xmlResourceGetListCtrl-     ,xmlResourceGetMDIChildFrame-     ,xmlResourceGetMDIParentFrame-     ,xmlResourceGetMenu-     ,xmlResourceGetMenuBar-     ,xmlResourceGetMenuItem-     ,xmlResourceGetNotebook-     ,xmlResourceGetPanel-     ,xmlResourceGetRadioBox-     ,xmlResourceGetRadioButton-     ,xmlResourceGetScrollBar-     ,xmlResourceGetScrolledWindow-     ,xmlResourceGetSizer-     ,xmlResourceGetSlider-     ,xmlResourceGetSpinButton-     ,xmlResourceGetSpinCtrl-     ,xmlResourceGetSplitterWindow-     ,xmlResourceGetStaticBitmap-     ,xmlResourceGetStaticBox-     ,xmlResourceGetStaticBoxSizer-     ,xmlResourceGetStaticLine-     ,xmlResourceGetStaticText-     ,xmlResourceGetStyledTextCtrl-     ,xmlResourceGetTextCtrl-     ,xmlResourceGetTreeCtrl-     ,xmlResourceGetVersion-     ,xmlResourceGetXRCID-     ,xmlResourceInitAllHandlers-     ,xmlResourceInsertHandler-     ,xmlResourceLoad-     ,xmlResourceLoadBitmap-     ,xmlResourceLoadDialog-     ,xmlResourceLoadFrame-     ,xmlResourceLoadIcon-     ,xmlResourceLoadMenu-     ,xmlResourceLoadMenuBar-     ,xmlResourceLoadPanel-     ,xmlResourceLoadToolBar-     ,xmlResourceSet-     ,xmlResourceSetDomain-     ,xmlResourceSetFlags-     ,xmlResourceUnload-    ) where--import qualified Data.ByteString as B (ByteString, useAsCStringLen)-import qualified Data.ByteString.Lazy as LB (ByteString, length, unpack)-import System.IO.Unsafe( unsafePerformIO )-import Graphics.UI.WXCore.WxcTypes-import Graphics.UI.WXCore.WxcClassTypes--versionWxcClassesMZ :: String-versionWxcClassesMZ  = "2011-06-15 17:40:03.302826 UTC"---- | usage: (@managedPtrCreateFromBitmap obj@).-managedPtrCreateFromBitmap :: Bitmap  a ->  IO (WxManagedPtr  ())-managedPtrCreateFromBitmap obj -  = withObjectResult $-    withObjectPtr obj $ \cobj_obj -> -    wxManagedPtr_CreateFromBitmap cobj_obj  -foreign import ccall "wxManagedPtr_CreateFromBitmap" wxManagedPtr_CreateFromBitmap :: Ptr (TBitmap a) -> IO (Ptr (TWxManagedPtr ()))---- | usage: (@managedPtrCreateFromBrush obj@).-managedPtrCreateFromBrush :: Brush  a ->  IO (WxManagedPtr  ())-managedPtrCreateFromBrush obj -  = withObjectResult $-    withObjectPtr obj $ \cobj_obj -> -    wxManagedPtr_CreateFromBrush cobj_obj  -foreign import ccall "wxManagedPtr_CreateFromBrush" wxManagedPtr_CreateFromBrush :: Ptr (TBrush a) -> IO (Ptr (TWxManagedPtr ()))---- | usage: (@managedPtrCreateFromColour obj@).-managedPtrCreateFromColour :: Color ->  IO (WxManagedPtr  ())-managedPtrCreateFromColour obj -  = withObjectResult $-    withColourPtr obj $ \cobj_obj -> -    wxManagedPtr_CreateFromColour cobj_obj  -foreign import ccall "wxManagedPtr_CreateFromColour" wxManagedPtr_CreateFromColour :: Ptr (TColour a) -> IO (Ptr (TWxManagedPtr ()))---- | usage: (@managedPtrCreateFromCursor obj@).-managedPtrCreateFromCursor :: Cursor  a ->  IO (WxManagedPtr  ())-managedPtrCreateFromCursor obj -  = withObjectResult $-    withObjectPtr obj $ \cobj_obj -> -    wxManagedPtr_CreateFromCursor cobj_obj  -foreign import ccall "wxManagedPtr_CreateFromCursor" wxManagedPtr_CreateFromCursor :: Ptr (TCursor a) -> IO (Ptr (TWxManagedPtr ()))---- | usage: (@managedPtrCreateFromDateTime obj@).-managedPtrCreateFromDateTime :: DateTime  a ->  IO (WxManagedPtr  ())-managedPtrCreateFromDateTime obj -  = withObjectResult $-    withObjectPtr obj $ \cobj_obj -> -    wxManagedPtr_CreateFromDateTime cobj_obj  -foreign import ccall "wxManagedPtr_CreateFromDateTime" wxManagedPtr_CreateFromDateTime :: Ptr (TDateTime a) -> IO (Ptr (TWxManagedPtr ()))---- | usage: (@managedPtrCreateFromFont obj@).-managedPtrCreateFromFont :: Font  a ->  IO (WxManagedPtr  ())-managedPtrCreateFromFont obj -  = withObjectResult $-    withObjectPtr obj $ \cobj_obj -> -    wxManagedPtr_CreateFromFont cobj_obj  -foreign import ccall "wxManagedPtr_CreateFromFont" wxManagedPtr_CreateFromFont :: Ptr (TFont a) -> IO (Ptr (TWxManagedPtr ()))---- | usage: (@managedPtrCreateFromGridCellCoordsArray obj@).-managedPtrCreateFromGridCellCoordsArray :: GridCellCoordsArray  a ->  IO (WxManagedPtr  ())-managedPtrCreateFromGridCellCoordsArray obj -  = withObjectResult $-    withObjectPtr obj $ \cobj_obj -> -    wxManagedPtr_CreateFromGridCellCoordsArray cobj_obj  -foreign import ccall "wxManagedPtr_CreateFromGridCellCoordsArray" wxManagedPtr_CreateFromGridCellCoordsArray :: Ptr (TGridCellCoordsArray a) -> IO (Ptr (TWxManagedPtr ()))---- | usage: (@managedPtrCreateFromIcon obj@).-managedPtrCreateFromIcon :: Icon  a ->  IO (WxManagedPtr  ())-managedPtrCreateFromIcon obj -  = withObjectResult $-    withObjectPtr obj $ \cobj_obj -> -    wxManagedPtr_CreateFromIcon cobj_obj  -foreign import ccall "wxManagedPtr_CreateFromIcon" wxManagedPtr_CreateFromIcon :: Ptr (TIcon a) -> IO (Ptr (TWxManagedPtr ()))---- | usage: (@managedPtrCreateFromObject obj@).-managedPtrCreateFromObject :: WxObject  a ->  IO (WxManagedPtr  ())-managedPtrCreateFromObject obj -  = withObjectResult $-    withObjectPtr obj $ \cobj_obj -> -    wxManagedPtr_CreateFromObject cobj_obj  -foreign import ccall "wxManagedPtr_CreateFromObject" wxManagedPtr_CreateFromObject :: Ptr (TWxObject a) -> IO (Ptr (TWxManagedPtr ()))---- | usage: (@managedPtrCreateFromPen obj@).-managedPtrCreateFromPen :: Pen  a ->  IO (WxManagedPtr  ())-managedPtrCreateFromPen obj -  = withObjectResult $-    withObjectPtr obj $ \cobj_obj -> -    wxManagedPtr_CreateFromPen cobj_obj  -foreign import ccall "wxManagedPtr_CreateFromPen" wxManagedPtr_CreateFromPen :: Ptr (TPen a) -> IO (Ptr (TWxManagedPtr ()))---- | usage: (@managedPtrDelete self@).-managedPtrDelete :: WxManagedPtr  a ->  IO ()-managedPtrDelete self -  = withObjectRef "managedPtrDelete" self $ \cobj_self -> -    wxManagedPtr_Delete cobj_self  -foreign import ccall "wxManagedPtr_Delete" wxManagedPtr_Delete :: Ptr (TWxManagedPtr a) -> IO ()---- | usage: (@managedPtrFinalize self@).-managedPtrFinalize :: WxManagedPtr  a ->  IO ()-managedPtrFinalize self -  = withObjectRef "managedPtrFinalize" self $ \cobj_self -> -    wxManagedPtr_Finalize cobj_self  -foreign import ccall "wxManagedPtr_Finalize" wxManagedPtr_Finalize :: Ptr (TWxManagedPtr a) -> IO ()---- | usage: (@managedPtrGetDeleteFunction@).-managedPtrGetDeleteFunction ::  IO (Ptr  ())-managedPtrGetDeleteFunction -  = wxManagedPtr_GetDeleteFunction -foreign import ccall "wxManagedPtr_GetDeleteFunction" wxManagedPtr_GetDeleteFunction :: IO (Ptr  ())---- | usage: (@managedPtrGetPtr self@).-managedPtrGetPtr :: WxManagedPtr  a ->  IO (Ptr  ())-managedPtrGetPtr self -  = withObjectRef "managedPtrGetPtr" self $ \cobj_self -> -    wxManagedPtr_GetPtr cobj_self  -foreign import ccall "wxManagedPtr_GetPtr" wxManagedPtr_GetPtr :: Ptr (TWxManagedPtr a) -> IO (Ptr  ())---- | usage: (@managedPtrNoFinalize self@).-managedPtrNoFinalize :: WxManagedPtr  a ->  IO ()-managedPtrNoFinalize self -  = withObjectRef "managedPtrNoFinalize" self $ \cobj_self -> -    wxManagedPtr_NoFinalize cobj_self  -foreign import ccall "wxManagedPtr_NoFinalize" wxManagedPtr_NoFinalize :: Ptr (TWxManagedPtr a) -> IO ()---- | usage: (@maskCreate bitmap@).-maskCreate :: Bitmap  a ->  IO (Mask  ())-maskCreate bitmap -  = withObjectResult $-    withObjectPtr bitmap $ \cobj_bitmap -> -    wxMask_Create cobj_bitmap  -foreign import ccall "wxMask_Create" wxMask_Create :: Ptr (TBitmap a) -> IO (Ptr (TMask ()))---- | usage: (@maskCreateColoured bitmap colour@).-maskCreateColoured :: Bitmap  a -> Color ->  IO (Ptr  ())-maskCreateColoured bitmap colour -  = withObjectPtr bitmap $ \cobj_bitmap -> -    withColourPtr colour $ \cobj_colour -> -    wxMask_CreateColoured cobj_bitmap  cobj_colour  -foreign import ccall "wxMask_CreateColoured" wxMask_CreateColoured :: Ptr (TBitmap a) -> Ptr (TColour b) -> IO (Ptr  ())---- | usage: (@mdiChildFrameActivate obj@).-mdiChildFrameActivate :: MDIChildFrame  a ->  IO ()-mdiChildFrameActivate _obj -  = withObjectRef "mdiChildFrameActivate" _obj $ \cobj__obj -> -    wxMDIChildFrame_Activate cobj__obj  -foreign import ccall "wxMDIChildFrame_Activate" wxMDIChildFrame_Activate :: Ptr (TMDIChildFrame a) -> IO ()---- | usage: (@mdiChildFrameCreate prt id txt lfttopwdthgt stl@).-mdiChildFrameCreate :: Window  a -> Id -> String -> Rect -> Style ->  IO (MDIChildFrame  ())-mdiChildFrameCreate _prt _id _txt _lfttopwdthgt _stl -  = withObjectResult $-    withObjectPtr _prt $ \cobj__prt -> -    withStringPtr _txt $ \cobj__txt -> -    wxMDIChildFrame_Create cobj__prt  (toCInt _id)  cobj__txt  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  (toCInt _stl)  -foreign import ccall "wxMDIChildFrame_Create" wxMDIChildFrame_Create :: Ptr (TWindow a) -> CInt -> Ptr (TWxString c) -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TMDIChildFrame ()))---- | usage: (@mdiParentFrameActivateNext obj@).-mdiParentFrameActivateNext :: MDIParentFrame  a ->  IO ()-mdiParentFrameActivateNext _obj -  = withObjectRef "mdiParentFrameActivateNext" _obj $ \cobj__obj -> -    wxMDIParentFrame_ActivateNext cobj__obj  -foreign import ccall "wxMDIParentFrame_ActivateNext" wxMDIParentFrame_ActivateNext :: Ptr (TMDIParentFrame a) -> IO ()---- | usage: (@mdiParentFrameActivatePrevious obj@).-mdiParentFrameActivatePrevious :: MDIParentFrame  a ->  IO ()-mdiParentFrameActivatePrevious _obj -  = withObjectRef "mdiParentFrameActivatePrevious" _obj $ \cobj__obj -> -    wxMDIParentFrame_ActivatePrevious cobj__obj  -foreign import ccall "wxMDIParentFrame_ActivatePrevious" wxMDIParentFrame_ActivatePrevious :: Ptr (TMDIParentFrame a) -> IO ()---- | usage: (@mdiParentFrameArrangeIcons obj@).-mdiParentFrameArrangeIcons :: MDIParentFrame  a ->  IO ()-mdiParentFrameArrangeIcons _obj -  = withObjectRef "mdiParentFrameArrangeIcons" _obj $ \cobj__obj -> -    wxMDIParentFrame_ArrangeIcons cobj__obj  -foreign import ccall "wxMDIParentFrame_ArrangeIcons" wxMDIParentFrame_ArrangeIcons :: Ptr (TMDIParentFrame a) -> IO ()---- | usage: (@mdiParentFrameCascade obj@).-mdiParentFrameCascade :: MDIParentFrame  a ->  IO ()-mdiParentFrameCascade _obj -  = withObjectRef "mdiParentFrameCascade" _obj $ \cobj__obj -> -    wxMDIParentFrame_Cascade cobj__obj  -foreign import ccall "wxMDIParentFrame_Cascade" wxMDIParentFrame_Cascade :: Ptr (TMDIParentFrame a) -> IO ()---- | usage: (@mdiParentFrameCreate prt id txt lfttopwdthgt stl@).-mdiParentFrameCreate :: Window  a -> Id -> String -> Rect -> Style ->  IO (MDIParentFrame  ())-mdiParentFrameCreate _prt _id _txt _lfttopwdthgt _stl -  = withObjectResult $-    withObjectPtr _prt $ \cobj__prt -> -    withStringPtr _txt $ \cobj__txt -> -    wxMDIParentFrame_Create cobj__prt  (toCInt _id)  cobj__txt  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  (toCInt _stl)  -foreign import ccall "wxMDIParentFrame_Create" wxMDIParentFrame_Create :: Ptr (TWindow a) -> CInt -> Ptr (TWxString c) -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TMDIParentFrame ()))---- | usage: (@mdiParentFrameGetActiveChild obj@).-mdiParentFrameGetActiveChild :: MDIParentFrame  a ->  IO (MDIChildFrame  ())-mdiParentFrameGetActiveChild _obj -  = withObjectResult $-    withObjectRef "mdiParentFrameGetActiveChild" _obj $ \cobj__obj -> -    wxMDIParentFrame_GetActiveChild cobj__obj  -foreign import ccall "wxMDIParentFrame_GetActiveChild" wxMDIParentFrame_GetActiveChild :: Ptr (TMDIParentFrame a) -> IO (Ptr (TMDIChildFrame ()))---- | usage: (@mdiParentFrameGetClientWindow obj@).-mdiParentFrameGetClientWindow :: MDIParentFrame  a ->  IO (MDIClientWindow  ())-mdiParentFrameGetClientWindow _obj -  = withObjectResult $-    withObjectRef "mdiParentFrameGetClientWindow" _obj $ \cobj__obj -> -    wxMDIParentFrame_GetClientWindow cobj__obj  -foreign import ccall "wxMDIParentFrame_GetClientWindow" wxMDIParentFrame_GetClientWindow :: Ptr (TMDIParentFrame a) -> IO (Ptr (TMDIClientWindow ()))---- | usage: (@mdiParentFrameGetWindowMenu obj@).-mdiParentFrameGetWindowMenu :: MDIParentFrame  a ->  IO (Menu  ())-mdiParentFrameGetWindowMenu _obj -  = withObjectResult $-    withObjectRef "mdiParentFrameGetWindowMenu" _obj $ \cobj__obj -> -    wxMDIParentFrame_GetWindowMenu cobj__obj  -foreign import ccall "wxMDIParentFrame_GetWindowMenu" wxMDIParentFrame_GetWindowMenu :: Ptr (TMDIParentFrame a) -> IO (Ptr (TMenu ()))---- | usage: (@mdiParentFrameOnCreateClient obj@).-mdiParentFrameOnCreateClient :: MDIParentFrame  a ->  IO (MDIClientWindow  ())-mdiParentFrameOnCreateClient _obj -  = withObjectResult $-    withObjectRef "mdiParentFrameOnCreateClient" _obj $ \cobj__obj -> -    wxMDIParentFrame_OnCreateClient cobj__obj  -foreign import ccall "wxMDIParentFrame_OnCreateClient" wxMDIParentFrame_OnCreateClient :: Ptr (TMDIParentFrame a) -> IO (Ptr (TMDIClientWindow ()))---- | usage: (@mdiParentFrameSetWindowMenu obj menu@).-mdiParentFrameSetWindowMenu :: MDIParentFrame  a -> Menu  b ->  IO ()-mdiParentFrameSetWindowMenu _obj menu -  = withObjectRef "mdiParentFrameSetWindowMenu" _obj $ \cobj__obj -> -    withObjectPtr menu $ \cobj_menu -> -    wxMDIParentFrame_SetWindowMenu cobj__obj  cobj_menu  -foreign import ccall "wxMDIParentFrame_SetWindowMenu" wxMDIParentFrame_SetWindowMenu :: Ptr (TMDIParentFrame a) -> Ptr (TMenu b) -> IO ()---- | usage: (@mdiParentFrameTile obj@).-mdiParentFrameTile :: MDIParentFrame  a ->  IO ()-mdiParentFrameTile _obj -  = withObjectRef "mdiParentFrameTile" _obj $ \cobj__obj -> -    wxMDIParentFrame_Tile cobj__obj  -foreign import ccall "wxMDIParentFrame_Tile" wxMDIParentFrame_Tile :: Ptr (TMDIParentFrame a) -> IO ()---- | usage: (@mediaCtrlCreate parent windowID fileName xywh style szBackend name@).-mediaCtrlCreate :: Window  a -> Int -> String -> Rect -> Int -> String -> String ->  IO (MediaCtrl  ())-mediaCtrlCreate parent windowID fileName xywh style szBackend name -  = withObjectResult $-    withObjectPtr parent $ \cobj_parent -> -    withStringPtr fileName $ \cobj_fileName -> -    withStringPtr szBackend $ \cobj_szBackend -> -    withStringPtr name $ \cobj_name -> -    wxMediaCtrl_Create cobj_parent  (toCInt windowID)  cobj_fileName  (toCIntRectX xywh) (toCIntRectY xywh)(toCIntRectW xywh) (toCIntRectH xywh)  (toCInt style)  cobj_szBackend  cobj_name  -foreign import ccall "wxMediaCtrl_Create" wxMediaCtrl_Create :: Ptr (TWindow a) -> CInt -> Ptr (TWxString c) -> CInt -> CInt -> CInt -> CInt -> CInt -> Ptr (TWxString f) -> Ptr (TWxString g) -> IO (Ptr (TMediaCtrl ()))---- | usage: (@mediaCtrlDelete self@).-mediaCtrlDelete :: MediaCtrl  a ->  IO ()-mediaCtrlDelete-  = objectDelete----- | usage: (@mediaCtrlGetBestSize self@).-mediaCtrlGetBestSize :: MediaCtrl  a ->  IO (Size)-mediaCtrlGetBestSize self -  = withWxSizeResult $-    withObjectRef "mediaCtrlGetBestSize" self $ \cobj_self -> -    wxMediaCtrl_GetBestSize cobj_self  -foreign import ccall "wxMediaCtrl_GetBestSize" wxMediaCtrl_GetBestSize :: Ptr (TMediaCtrl a) -> IO (Ptr (TWxSize ()))---- | usage: (@mediaCtrlGetPlaybackRate self@).-mediaCtrlGetPlaybackRate :: MediaCtrl  a ->  IO Double-mediaCtrlGetPlaybackRate self -  = withObjectRef "mediaCtrlGetPlaybackRate" self $ \cobj_self -> -    wxMediaCtrl_GetPlaybackRate cobj_self  -foreign import ccall "wxMediaCtrl_GetPlaybackRate" wxMediaCtrl_GetPlaybackRate :: Ptr (TMediaCtrl a) -> IO Double---- | usage: (@mediaCtrlGetState self@).-mediaCtrlGetState :: MediaCtrl  a ->  IO Int-mediaCtrlGetState self -  = withIntResult $-    withObjectRef "mediaCtrlGetState" self $ \cobj_self -> -    wxMediaCtrl_GetState cobj_self  -foreign import ccall "wxMediaCtrl_GetState" wxMediaCtrl_GetState :: Ptr (TMediaCtrl a) -> IO CInt---- | usage: (@mediaCtrlGetVolume self@).-mediaCtrlGetVolume :: MediaCtrl  a ->  IO Double-mediaCtrlGetVolume self -  = withObjectRef "mediaCtrlGetVolume" self $ \cobj_self -> -    wxMediaCtrl_GetVolume cobj_self  -foreign import ccall "wxMediaCtrl_GetVolume" wxMediaCtrl_GetVolume :: Ptr (TMediaCtrl a) -> IO Double---- | usage: (@mediaCtrlLength self@).-mediaCtrlLength :: MediaCtrl  a ->  IO Int64-mediaCtrlLength self -  = withObjectRef "mediaCtrlLength" self $ \cobj_self -> -    wxMediaCtrl_Length cobj_self  -foreign import ccall "wxMediaCtrl_Length" wxMediaCtrl_Length :: Ptr (TMediaCtrl a) -> IO Int64---- | usage: (@mediaCtrlLoad self fileName@).-mediaCtrlLoad :: MediaCtrl  a -> String ->  IO Bool-mediaCtrlLoad self fileName -  = withBoolResult $-    withObjectRef "mediaCtrlLoad" self $ \cobj_self -> -    withStringPtr fileName $ \cobj_fileName -> -    wxMediaCtrl_Load cobj_self  cobj_fileName  -foreign import ccall "wxMediaCtrl_Load" wxMediaCtrl_Load :: Ptr (TMediaCtrl a) -> Ptr (TWxString b) -> IO CBool---- | usage: (@mediaCtrlLoadURI self uri@).-mediaCtrlLoadURI :: MediaCtrl  a -> String ->  IO Bool-mediaCtrlLoadURI self uri -  = withBoolResult $-    withObjectRef "mediaCtrlLoadURI" self $ \cobj_self -> -    withStringPtr uri $ \cobj_uri -> -    wxMediaCtrl_LoadURI cobj_self  cobj_uri  -foreign import ccall "wxMediaCtrl_LoadURI" wxMediaCtrl_LoadURI :: Ptr (TMediaCtrl a) -> Ptr (TWxString b) -> IO CBool---- | usage: (@mediaCtrlLoadURIWithProxy self uri proxy@).-mediaCtrlLoadURIWithProxy :: MediaCtrl  a -> String -> String ->  IO Bool-mediaCtrlLoadURIWithProxy self uri proxy -  = withBoolResult $-    withObjectRef "mediaCtrlLoadURIWithProxy" self $ \cobj_self -> -    withStringPtr uri $ \cobj_uri -> -    withStringPtr proxy $ \cobj_proxy -> -    wxMediaCtrl_LoadURIWithProxy cobj_self  cobj_uri  cobj_proxy  -foreign import ccall "wxMediaCtrl_LoadURIWithProxy" wxMediaCtrl_LoadURIWithProxy :: Ptr (TMediaCtrl a) -> Ptr (TWxString b) -> Ptr (TWxString c) -> IO CBool---- | usage: (@mediaCtrlPause self@).-mediaCtrlPause :: MediaCtrl  a ->  IO Bool-mediaCtrlPause self -  = withBoolResult $-    withObjectRef "mediaCtrlPause" self $ \cobj_self -> -    wxMediaCtrl_Pause cobj_self  -foreign import ccall "wxMediaCtrl_Pause" wxMediaCtrl_Pause :: Ptr (TMediaCtrl a) -> IO CBool---- | usage: (@mediaCtrlPlay self@).-mediaCtrlPlay :: MediaCtrl  a ->  IO Bool-mediaCtrlPlay self -  = withBoolResult $-    withObjectRef "mediaCtrlPlay" self $ \cobj_self -> -    wxMediaCtrl_Play cobj_self  -foreign import ccall "wxMediaCtrl_Play" wxMediaCtrl_Play :: Ptr (TMediaCtrl a) -> IO CBool---- | usage: (@mediaCtrlSeek self offsetWhere mode@).-mediaCtrlSeek :: MediaCtrl  a -> Int64 -> Int ->  IO Int64-mediaCtrlSeek self offsetWhere mode -  = withObjectRef "mediaCtrlSeek" self $ \cobj_self -> -    wxMediaCtrl_Seek cobj_self  offsetWhere  (toCInt mode)  -foreign import ccall "wxMediaCtrl_Seek" wxMediaCtrl_Seek :: Ptr (TMediaCtrl a) -> Int64 -> CInt -> IO Int64---- | usage: (@mediaCtrlSetPlaybackRate self dRate@).-mediaCtrlSetPlaybackRate :: MediaCtrl  a -> Double ->  IO Bool-mediaCtrlSetPlaybackRate self dRate -  = withBoolResult $-    withObjectRef "mediaCtrlSetPlaybackRate" self $ \cobj_self -> -    wxMediaCtrl_SetPlaybackRate cobj_self  dRate  -foreign import ccall "wxMediaCtrl_SetPlaybackRate" wxMediaCtrl_SetPlaybackRate :: Ptr (TMediaCtrl a) -> Double -> IO CBool---- | usage: (@mediaCtrlSetVolume self dVolume@).-mediaCtrlSetVolume :: MediaCtrl  a -> Double ->  IO Bool-mediaCtrlSetVolume self dVolume -  = withBoolResult $-    withObjectRef "mediaCtrlSetVolume" self $ \cobj_self -> -    wxMediaCtrl_SetVolume cobj_self  dVolume  -foreign import ccall "wxMediaCtrl_SetVolume" wxMediaCtrl_SetVolume :: Ptr (TMediaCtrl a) -> Double -> IO CBool---- | usage: (@mediaCtrlShowPlayerControls self flags@).-mediaCtrlShowPlayerControls :: MediaCtrl  a -> Int ->  IO Bool-mediaCtrlShowPlayerControls self flags -  = withBoolResult $-    withObjectRef "mediaCtrlShowPlayerControls" self $ \cobj_self -> -    wxMediaCtrl_ShowPlayerControls cobj_self  (toCInt flags)  -foreign import ccall "wxMediaCtrl_ShowPlayerControls" wxMediaCtrl_ShowPlayerControls :: Ptr (TMediaCtrl a) -> CInt -> IO CBool---- | usage: (@mediaCtrlStop self@).-mediaCtrlStop :: MediaCtrl  a ->  IO Bool-mediaCtrlStop self -  = withBoolResult $-    withObjectRef "mediaCtrlStop" self $ \cobj_self -> -    wxMediaCtrl_Stop cobj_self  -foreign import ccall "wxMediaCtrl_Stop" wxMediaCtrl_Stop :: Ptr (TMediaCtrl a) -> IO CBool---- | usage: (@mediaCtrlTell self@).-mediaCtrlTell :: MediaCtrl  a ->  IO Int64-mediaCtrlTell self -  = withObjectRef "mediaCtrlTell" self $ \cobj_self -> -    wxMediaCtrl_Tell cobj_self  -foreign import ccall "wxMediaCtrl_Tell" wxMediaCtrl_Tell :: Ptr (TMediaCtrl a) -> IO Int64---- | usage: (@memoryDCCreate@).-memoryDCCreate ::  IO (MemoryDC  ())-memoryDCCreate -  = withObjectResult $-    wxMemoryDC_Create -foreign import ccall "wxMemoryDC_Create" wxMemoryDC_Create :: IO (Ptr (TMemoryDC ()))---- | usage: (@memoryDCCreateCompatible dc@).-memoryDCCreateCompatible :: DC  a ->  IO (MemoryDC  ())-memoryDCCreateCompatible dc -  = withObjectResult $-    withObjectPtr dc $ \cobj_dc -> -    wxMemoryDC_CreateCompatible cobj_dc  -foreign import ccall "wxMemoryDC_CreateCompatible" wxMemoryDC_CreateCompatible :: Ptr (TDC a) -> IO (Ptr (TMemoryDC ()))---- | usage: (@memoryDCCreateWithBitmap bitmap@).-memoryDCCreateWithBitmap :: Bitmap  a ->  IO (MemoryDC  ())-memoryDCCreateWithBitmap bitmap -  = withObjectResult $-    withObjectPtr bitmap $ \cobj_bitmap -> -    wxMemoryDC_CreateWithBitmap cobj_bitmap  -foreign import ccall "wxMemoryDC_CreateWithBitmap" wxMemoryDC_CreateWithBitmap :: Ptr (TBitmap a) -> IO (Ptr (TMemoryDC ()))---- | usage: (@memoryDCDelete obj@).-memoryDCDelete :: MemoryDC  a ->  IO ()-memoryDCDelete-  = objectDelete----- | usage: (@memoryDCSelectObject obj bitmap@).-memoryDCSelectObject :: MemoryDC  a -> Bitmap  b ->  IO ()-memoryDCSelectObject _obj bitmap -  = withObjectRef "memoryDCSelectObject" _obj $ \cobj__obj -> -    withObjectPtr bitmap $ \cobj_bitmap -> -    wxMemoryDC_SelectObject cobj__obj  cobj_bitmap  -foreign import ccall "wxMemoryDC_SelectObject" wxMemoryDC_SelectObject :: Ptr (TMemoryDC a) -> Ptr (TBitmap b) -> IO ()---- | usage: (@menuAppend obj id text help isCheckable@).-menuAppend :: Menu  a -> Id -> String -> String -> Bool ->  IO ()-menuAppend _obj id text help isCheckable -  = withObjectRef "menuAppend" _obj $ \cobj__obj -> -    withStringPtr text $ \cobj_text -> -    withStringPtr help $ \cobj_help -> -    wxMenu_Append cobj__obj  (toCInt id)  cobj_text  cobj_help  (toCBool isCheckable)  -foreign import ccall "wxMenu_Append" wxMenu_Append :: Ptr (TMenu a) -> CInt -> Ptr (TWxString c) -> Ptr (TWxString d) -> CBool -> IO ()---- | usage: (@menuAppendItem obj itm@).-menuAppendItem :: Menu  a -> MenuItem  b ->  IO ()-menuAppendItem _obj _itm -  = withObjectRef "menuAppendItem" _obj $ \cobj__obj -> -    withObjectPtr _itm $ \cobj__itm -> -    wxMenu_AppendItem cobj__obj  cobj__itm  -foreign import ccall "wxMenu_AppendItem" wxMenu_AppendItem :: Ptr (TMenu a) -> Ptr (TMenuItem b) -> IO ()---- | usage: (@menuAppendRadioItem self id text help@).-menuAppendRadioItem :: Menu  a -> Id -> String -> String ->  IO ()-menuAppendRadioItem self id text help -  = withObjectRef "menuAppendRadioItem" self $ \cobj_self -> -    withStringPtr text $ \cobj_text -> -    withStringPtr help $ \cobj_help -> -    wxMenu_AppendRadioItem cobj_self  (toCInt id)  cobj_text  cobj_help  -foreign import ccall "wxMenu_AppendRadioItem" wxMenu_AppendRadioItem :: Ptr (TMenu a) -> CInt -> Ptr (TWxString c) -> Ptr (TWxString d) -> IO ()---- | usage: (@menuAppendSeparator obj@).-menuAppendSeparator :: Menu  a ->  IO ()-menuAppendSeparator _obj -  = withObjectRef "menuAppendSeparator" _obj $ \cobj__obj -> -    wxMenu_AppendSeparator cobj__obj  -foreign import ccall "wxMenu_AppendSeparator" wxMenu_AppendSeparator :: Ptr (TMenu a) -> IO ()---- | usage: (@menuAppendSub obj id text submenu help@).-menuAppendSub :: Menu  a -> Id -> String -> Menu  d -> String ->  IO ()-menuAppendSub _obj id text submenu help -  = withObjectRef "menuAppendSub" _obj $ \cobj__obj -> -    withStringPtr text $ \cobj_text -> -    withObjectPtr submenu $ \cobj_submenu -> -    withStringPtr help $ \cobj_help -> -    wxMenu_AppendSub cobj__obj  (toCInt id)  cobj_text  cobj_submenu  cobj_help  -foreign import ccall "wxMenu_AppendSub" wxMenu_AppendSub :: Ptr (TMenu a) -> CInt -> Ptr (TWxString c) -> Ptr (TMenu d) -> Ptr (TWxString e) -> IO ()---- | usage: (@menuBarAppend obj menu title@).-menuBarAppend :: MenuBar  a -> Menu  b -> String ->  IO Int-menuBarAppend _obj menu title -  = withIntResult $-    withObjectRef "menuBarAppend" _obj $ \cobj__obj -> -    withObjectPtr menu $ \cobj_menu -> -    withStringPtr title $ \cobj_title -> -    wxMenuBar_Append cobj__obj  cobj_menu  cobj_title  -foreign import ccall "wxMenuBar_Append" wxMenuBar_Append :: Ptr (TMenuBar a) -> Ptr (TMenu b) -> Ptr (TWxString c) -> IO CInt---- | usage: (@menuBarCheck obj id check@).-menuBarCheck :: MenuBar  a -> Id -> Bool ->  IO ()-menuBarCheck _obj id check -  = withObjectRef "menuBarCheck" _obj $ \cobj__obj -> -    wxMenuBar_Check cobj__obj  (toCInt id)  (toCBool check)  -foreign import ccall "wxMenuBar_Check" wxMenuBar_Check :: Ptr (TMenuBar a) -> CInt -> CBool -> IO ()---- | usage: (@menuBarCreate style@).-menuBarCreate :: Int ->  IO (MenuBar  ())-menuBarCreate _style -  = withObjectResult $-    wxMenuBar_Create (toCInt _style)  -foreign import ccall "wxMenuBar_Create" wxMenuBar_Create :: CInt -> IO (Ptr (TMenuBar ()))---- | usage: (@menuBarDeletePointer obj@).-menuBarDeletePointer :: MenuBar  a ->  IO ()-menuBarDeletePointer _obj -  = withObjectRef "menuBarDeletePointer" _obj $ \cobj__obj -> -    wxMenuBar_DeletePointer cobj__obj  -foreign import ccall "wxMenuBar_DeletePointer" wxMenuBar_DeletePointer :: Ptr (TMenuBar a) -> IO ()---- | usage: (@menuBarEnable obj enable@).-menuBarEnable :: MenuBar  a -> Bool ->  IO Int-menuBarEnable _obj enable -  = withIntResult $-    withObjectRef "menuBarEnable" _obj $ \cobj__obj -> -    wxMenuBar_Enable cobj__obj  (toCBool enable)  -foreign import ccall "wxMenuBar_Enable" wxMenuBar_Enable :: Ptr (TMenuBar a) -> CBool -> IO CInt---- | usage: (@menuBarEnableItem obj id enable@).-menuBarEnableItem :: MenuBar  a -> Id -> Bool ->  IO ()-menuBarEnableItem _obj id enable -  = withObjectRef "menuBarEnableItem" _obj $ \cobj__obj -> -    wxMenuBar_EnableItem cobj__obj  (toCInt id)  (toCBool enable)  -foreign import ccall "wxMenuBar_EnableItem" wxMenuBar_EnableItem :: Ptr (TMenuBar a) -> CInt -> CBool -> IO ()---- | usage: (@menuBarEnableTop obj pos enable@).-menuBarEnableTop :: MenuBar  a -> Int -> Bool ->  IO ()-menuBarEnableTop _obj pos enable -  = withObjectRef "menuBarEnableTop" _obj $ \cobj__obj -> -    wxMenuBar_EnableTop cobj__obj  (toCInt pos)  (toCBool enable)  -foreign import ccall "wxMenuBar_EnableTop" wxMenuBar_EnableTop :: Ptr (TMenuBar a) -> CInt -> CBool -> IO ()---- | usage: (@menuBarFindItem obj id@).-menuBarFindItem :: MenuBar  a -> Id ->  IO (MenuItem  ())-menuBarFindItem _obj id -  = withObjectResult $-    withObjectRef "menuBarFindItem" _obj $ \cobj__obj -> -    wxMenuBar_FindItem cobj__obj  (toCInt id)  -foreign import ccall "wxMenuBar_FindItem" wxMenuBar_FindItem :: Ptr (TMenuBar a) -> CInt -> IO (Ptr (TMenuItem ()))---- | usage: (@menuBarFindMenu obj title@).-menuBarFindMenu :: MenuBar  a -> String ->  IO Int-menuBarFindMenu _obj title -  = withIntResult $-    withObjectRef "menuBarFindMenu" _obj $ \cobj__obj -> -    withStringPtr title $ \cobj_title -> -    wxMenuBar_FindMenu cobj__obj  cobj_title  -foreign import ccall "wxMenuBar_FindMenu" wxMenuBar_FindMenu :: Ptr (TMenuBar a) -> Ptr (TWxString b) -> IO CInt---- | usage: (@menuBarFindMenuItem obj menuString itemString@).-menuBarFindMenuItem :: MenuBar  a -> String -> String ->  IO Int-menuBarFindMenuItem _obj menuString itemString -  = withIntResult $-    withObjectRef "menuBarFindMenuItem" _obj $ \cobj__obj -> -    withStringPtr menuString $ \cobj_menuString -> -    withStringPtr itemString $ \cobj_itemString -> -    wxMenuBar_FindMenuItem cobj__obj  cobj_menuString  cobj_itemString  -foreign import ccall "wxMenuBar_FindMenuItem" wxMenuBar_FindMenuItem :: Ptr (TMenuBar a) -> Ptr (TWxString b) -> Ptr (TWxString c) -> IO CInt---- | usage: (@menuBarGetFrame obj@).-menuBarGetFrame :: MenuBar  a ->  IO (Frame  ())-menuBarGetFrame _obj -  = withObjectResult $-    withObjectRef "menuBarGetFrame" _obj $ \cobj__obj -> -    wxMenuBar_GetFrame cobj__obj  -foreign import ccall "wxMenuBar_GetFrame" wxMenuBar_GetFrame :: Ptr (TMenuBar a) -> IO (Ptr (TFrame ()))---- | usage: (@menuBarGetHelpString obj id@).-menuBarGetHelpString :: MenuBar  a -> Id ->  IO (String)-menuBarGetHelpString _obj id -  = withManagedStringResult $-    withObjectRef "menuBarGetHelpString" _obj $ \cobj__obj -> -    wxMenuBar_GetHelpString cobj__obj  (toCInt id)  -foreign import ccall "wxMenuBar_GetHelpString" wxMenuBar_GetHelpString :: Ptr (TMenuBar a) -> CInt -> IO (Ptr (TWxString ()))---- | usage: (@menuBarGetLabel obj id@).-menuBarGetLabel :: MenuBar  a -> Id ->  IO (String)-menuBarGetLabel _obj id -  = withManagedStringResult $-    withObjectRef "menuBarGetLabel" _obj $ \cobj__obj -> -    wxMenuBar_GetLabel cobj__obj  (toCInt id)  -foreign import ccall "wxMenuBar_GetLabel" wxMenuBar_GetLabel :: Ptr (TMenuBar a) -> CInt -> IO (Ptr (TWxString ()))---- | usage: (@menuBarGetLabelTop obj pos@).-menuBarGetLabelTop :: MenuBar  a -> Int ->  IO (String)-menuBarGetLabelTop _obj pos -  = withManagedStringResult $-    withObjectRef "menuBarGetLabelTop" _obj $ \cobj__obj -> -    wxMenuBar_GetLabelTop cobj__obj  (toCInt pos)  -foreign import ccall "wxMenuBar_GetLabelTop" wxMenuBar_GetLabelTop :: Ptr (TMenuBar a) -> CInt -> IO (Ptr (TWxString ()))---- | usage: (@menuBarGetMenu obj pos@).-menuBarGetMenu :: MenuBar  a -> Int ->  IO (Menu  ())-menuBarGetMenu _obj pos -  = withObjectResult $-    withObjectRef "menuBarGetMenu" _obj $ \cobj__obj -> -    wxMenuBar_GetMenu cobj__obj  (toCInt pos)  -foreign import ccall "wxMenuBar_GetMenu" wxMenuBar_GetMenu :: Ptr (TMenuBar a) -> CInt -> IO (Ptr (TMenu ()))---- | usage: (@menuBarGetMenuCount obj@).-menuBarGetMenuCount :: MenuBar  a ->  IO Int-menuBarGetMenuCount _obj -  = withIntResult $-    withObjectRef "menuBarGetMenuCount" _obj $ \cobj__obj -> -    wxMenuBar_GetMenuCount cobj__obj  -foreign import ccall "wxMenuBar_GetMenuCount" wxMenuBar_GetMenuCount :: Ptr (TMenuBar a) -> IO CInt---- | usage: (@menuBarInsert obj pos menu title@).-menuBarInsert :: MenuBar  a -> Int -> Menu  c -> String ->  IO Int-menuBarInsert _obj pos menu title -  = withIntResult $-    withObjectRef "menuBarInsert" _obj $ \cobj__obj -> -    withObjectPtr menu $ \cobj_menu -> -    withStringPtr title $ \cobj_title -> -    wxMenuBar_Insert cobj__obj  (toCInt pos)  cobj_menu  cobj_title  -foreign import ccall "wxMenuBar_Insert" wxMenuBar_Insert :: Ptr (TMenuBar a) -> CInt -> Ptr (TMenu c) -> Ptr (TWxString d) -> IO CInt---- | usage: (@menuBarIsChecked obj id@).-menuBarIsChecked :: MenuBar  a -> Id ->  IO Bool-menuBarIsChecked _obj id -  = withBoolResult $-    withObjectRef "menuBarIsChecked" _obj $ \cobj__obj -> -    wxMenuBar_IsChecked cobj__obj  (toCInt id)  -foreign import ccall "wxMenuBar_IsChecked" wxMenuBar_IsChecked :: Ptr (TMenuBar a) -> CInt -> IO CBool---- | usage: (@menuBarIsEnabled obj id@).-menuBarIsEnabled :: MenuBar  a -> Id ->  IO Bool-menuBarIsEnabled _obj id -  = withBoolResult $-    withObjectRef "menuBarIsEnabled" _obj $ \cobj__obj -> -    wxMenuBar_IsEnabled cobj__obj  (toCInt id)  -foreign import ccall "wxMenuBar_IsEnabled" wxMenuBar_IsEnabled :: Ptr (TMenuBar a) -> CInt -> IO CBool---- | usage: (@menuBarRemove obj pos@).-menuBarRemove :: MenuBar  a -> Int ->  IO (Menu  ())-menuBarRemove _obj pos -  = withObjectResult $-    withObjectRef "menuBarRemove" _obj $ \cobj__obj -> -    wxMenuBar_Remove cobj__obj  (toCInt pos)  -foreign import ccall "wxMenuBar_Remove" wxMenuBar_Remove :: Ptr (TMenuBar a) -> CInt -> IO (Ptr (TMenu ()))---- | usage: (@menuBarReplace obj pos menu title@).-menuBarReplace :: MenuBar  a -> Int -> Menu  c -> String ->  IO (Menu  ())-menuBarReplace _obj pos menu title -  = withObjectResult $-    withObjectRef "menuBarReplace" _obj $ \cobj__obj -> -    withObjectPtr menu $ \cobj_menu -> -    withStringPtr title $ \cobj_title -> -    wxMenuBar_Replace cobj__obj  (toCInt pos)  cobj_menu  cobj_title  -foreign import ccall "wxMenuBar_Replace" wxMenuBar_Replace :: Ptr (TMenuBar a) -> CInt -> Ptr (TMenu c) -> Ptr (TWxString d) -> IO (Ptr (TMenu ()))---- | usage: (@menuBarSetHelpString obj id helpString@).-menuBarSetHelpString :: MenuBar  a -> Id -> String ->  IO ()-menuBarSetHelpString _obj id helpString -  = withObjectRef "menuBarSetHelpString" _obj $ \cobj__obj -> -    withStringPtr helpString $ \cobj_helpString -> -    wxMenuBar_SetHelpString cobj__obj  (toCInt id)  cobj_helpString  -foreign import ccall "wxMenuBar_SetHelpString" wxMenuBar_SetHelpString :: Ptr (TMenuBar a) -> CInt -> Ptr (TWxString c) -> IO ()---- | usage: (@menuBarSetItemLabel obj id label@).-menuBarSetItemLabel :: MenuBar  a -> Id -> String ->  IO ()-menuBarSetItemLabel _obj id label -  = withObjectRef "menuBarSetItemLabel" _obj $ \cobj__obj -> -    withStringPtr label $ \cobj_label -> -    wxMenuBar_SetItemLabel cobj__obj  (toCInt id)  cobj_label  -foreign import ccall "wxMenuBar_SetItemLabel" wxMenuBar_SetItemLabel :: Ptr (TMenuBar a) -> CInt -> Ptr (TWxString c) -> IO ()---- | usage: (@menuBarSetLabel obj s@).-menuBarSetLabel :: MenuBar  a -> String ->  IO ()-menuBarSetLabel _obj s -  = withObjectRef "menuBarSetLabel" _obj $ \cobj__obj -> -    withStringPtr s $ \cobj_s -> -    wxMenuBar_SetLabel cobj__obj  cobj_s  -foreign import ccall "wxMenuBar_SetLabel" wxMenuBar_SetLabel :: Ptr (TMenuBar a) -> Ptr (TWxString b) -> IO ()---- | usage: (@menuBarSetLabelTop obj pos label@).-menuBarSetLabelTop :: MenuBar  a -> Int -> String ->  IO ()-menuBarSetLabelTop _obj pos label -  = withObjectRef "menuBarSetLabelTop" _obj $ \cobj__obj -> -    withStringPtr label $ \cobj_label -> -    wxMenuBar_SetLabelTop cobj__obj  (toCInt pos)  cobj_label  -foreign import ccall "wxMenuBar_SetLabelTop" wxMenuBar_SetLabelTop :: Ptr (TMenuBar a) -> CInt -> Ptr (TWxString c) -> IO ()---- | usage: (@menuBreak obj@).-menuBreak :: Menu  a ->  IO ()-menuBreak _obj -  = withObjectRef "menuBreak" _obj $ \cobj__obj -> -    wxMenu_Break cobj__obj  -foreign import ccall "wxMenu_Break" wxMenu_Break :: Ptr (TMenu a) -> IO ()---- | usage: (@menuCheck obj id check@).-menuCheck :: Menu  a -> Id -> Bool ->  IO ()-menuCheck _obj id check -  = withObjectRef "menuCheck" _obj $ \cobj__obj -> -    wxMenu_Check cobj__obj  (toCInt id)  (toCBool check)  -foreign import ccall "wxMenu_Check" wxMenu_Check :: Ptr (TMenu a) -> CInt -> CBool -> IO ()---- | usage: (@menuCreate title style@).-menuCreate :: String -> Int ->  IO (Menu  ())-menuCreate title style -  = withObjectResult $-    withStringPtr title $ \cobj_title -> -    wxMenu_Create cobj_title  (toCInt style)  -foreign import ccall "wxMenu_Create" wxMenu_Create :: Ptr (TWxString a) -> CInt -> IO (Ptr (TMenu ()))---- | usage: (@menuDeleteById obj id@).-menuDeleteById :: Menu  a -> Id ->  IO ()-menuDeleteById _obj id -  = withObjectRef "menuDeleteById" _obj $ \cobj__obj -> -    wxMenu_DeleteById cobj__obj  (toCInt id)  -foreign import ccall "wxMenu_DeleteById" wxMenu_DeleteById :: Ptr (TMenu a) -> CInt -> IO ()---- | usage: (@menuDeleteByItem obj itm@).-menuDeleteByItem :: Menu  a -> MenuItem  b ->  IO ()-menuDeleteByItem _obj _itm -  = withObjectRef "menuDeleteByItem" _obj $ \cobj__obj -> -    withObjectPtr _itm $ \cobj__itm -> -    wxMenu_DeleteByItem cobj__obj  cobj__itm  -foreign import ccall "wxMenu_DeleteByItem" wxMenu_DeleteByItem :: Ptr (TMenu a) -> Ptr (TMenuItem b) -> IO ()---- | usage: (@menuDeletePointer obj@).-menuDeletePointer :: Menu  a ->  IO ()-menuDeletePointer _obj -  = withObjectRef "menuDeletePointer" _obj $ \cobj__obj -> -    wxMenu_DeletePointer cobj__obj  -foreign import ccall "wxMenu_DeletePointer" wxMenu_DeletePointer :: Ptr (TMenu a) -> IO ()---- | usage: (@menuDestroyById obj id@).-menuDestroyById :: Menu  a -> Id ->  IO ()-menuDestroyById _obj id -  = withObjectRef "menuDestroyById" _obj $ \cobj__obj -> -    wxMenu_DestroyById cobj__obj  (toCInt id)  -foreign import ccall "wxMenu_DestroyById" wxMenu_DestroyById :: Ptr (TMenu a) -> CInt -> IO ()---- | usage: (@menuDestroyByItem obj itm@).-menuDestroyByItem :: Menu  a -> MenuItem  b ->  IO ()-menuDestroyByItem _obj _itm -  = withObjectRef "menuDestroyByItem" _obj $ \cobj__obj -> -    withObjectPtr _itm $ \cobj__itm -> -    wxMenu_DestroyByItem cobj__obj  cobj__itm  -foreign import ccall "wxMenu_DestroyByItem" wxMenu_DestroyByItem :: Ptr (TMenu a) -> Ptr (TMenuItem b) -> IO ()---- | usage: (@menuEnable obj id enable@).-menuEnable :: Menu  a -> Id -> Bool ->  IO ()-menuEnable _obj id enable -  = withObjectRef "menuEnable" _obj $ \cobj__obj -> -    wxMenu_Enable cobj__obj  (toCInt id)  (toCBool enable)  -foreign import ccall "wxMenu_Enable" wxMenu_Enable :: Ptr (TMenu a) -> CInt -> CBool -> IO ()---- | usage: (@menuEventCopyObject obj obj@).-menuEventCopyObject :: MenuEvent  a -> Ptr  b ->  IO ()-menuEventCopyObject _obj obj -  = withObjectRef "menuEventCopyObject" _obj $ \cobj__obj -> -    wxMenuEvent_CopyObject cobj__obj  obj  -foreign import ccall "wxMenuEvent_CopyObject" wxMenuEvent_CopyObject :: Ptr (TMenuEvent a) -> Ptr  b -> IO ()---- | usage: (@menuEventGetMenuId obj@).-menuEventGetMenuId :: MenuEvent  a ->  IO Int-menuEventGetMenuId _obj -  = withIntResult $-    withObjectRef "menuEventGetMenuId" _obj $ \cobj__obj -> -    wxMenuEvent_GetMenuId cobj__obj  -foreign import ccall "wxMenuEvent_GetMenuId" wxMenuEvent_GetMenuId :: Ptr (TMenuEvent a) -> IO CInt---- | usage: (@menuFindItem obj id@).-menuFindItem :: Menu  a -> Id ->  IO (MenuItem  ())-menuFindItem _obj id -  = withObjectResult $-    withObjectRef "menuFindItem" _obj $ \cobj__obj -> -    wxMenu_FindItem cobj__obj  (toCInt id)  -foreign import ccall "wxMenu_FindItem" wxMenu_FindItem :: Ptr (TMenu a) -> CInt -> IO (Ptr (TMenuItem ()))---- | usage: (@menuFindItemByLabel obj itemString@).-menuFindItemByLabel :: Menu  a -> String ->  IO Int-menuFindItemByLabel _obj itemString -  = withIntResult $-    withObjectRef "menuFindItemByLabel" _obj $ \cobj__obj -> -    withStringPtr itemString $ \cobj_itemString -> -    wxMenu_FindItemByLabel cobj__obj  cobj_itemString  -foreign import ccall "wxMenu_FindItemByLabel" wxMenu_FindItemByLabel :: Ptr (TMenu a) -> Ptr (TWxString b) -> IO CInt---- | usage: (@menuGetClientData obj@).-menuGetClientData :: Menu  a ->  IO (ClientData  ())-menuGetClientData _obj -  = withObjectResult $-    withObjectRef "menuGetClientData" _obj $ \cobj__obj -> -    wxMenu_GetClientData cobj__obj  -foreign import ccall "wxMenu_GetClientData" wxMenu_GetClientData :: Ptr (TMenu a) -> IO (Ptr (TClientData ()))---- | usage: (@menuGetHelpString obj id@).-menuGetHelpString :: Menu  a -> Id ->  IO (String)-menuGetHelpString _obj id -  = withManagedStringResult $-    withObjectRef "menuGetHelpString" _obj $ \cobj__obj -> -    wxMenu_GetHelpString cobj__obj  (toCInt id)  -foreign import ccall "wxMenu_GetHelpString" wxMenu_GetHelpString :: Ptr (TMenu a) -> CInt -> IO (Ptr (TWxString ()))---- | usage: (@menuGetInvokingWindow obj@).-menuGetInvokingWindow :: Menu  a ->  IO (Window  ())-menuGetInvokingWindow _obj -  = withObjectResult $-    withObjectRef "menuGetInvokingWindow" _obj $ \cobj__obj -> -    wxMenu_GetInvokingWindow cobj__obj  -foreign import ccall "wxMenu_GetInvokingWindow" wxMenu_GetInvokingWindow :: Ptr (TMenu a) -> IO (Ptr (TWindow ()))---- | usage: (@menuGetLabel obj id@).-menuGetLabel :: Menu  a -> Id ->  IO (String)-menuGetLabel _obj id -  = withManagedStringResult $-    withObjectRef "menuGetLabel" _obj $ \cobj__obj -> -    wxMenu_GetLabel cobj__obj  (toCInt id)  -foreign import ccall "wxMenu_GetLabel" wxMenu_GetLabel :: Ptr (TMenu a) -> CInt -> IO (Ptr (TWxString ()))---- | usage: (@menuGetMenuBar obj@).-menuGetMenuBar :: Menu  a ->  IO (MenuBar  ())-menuGetMenuBar _obj -  = withObjectResult $-    withObjectRef "menuGetMenuBar" _obj $ \cobj__obj -> -    wxMenu_GetMenuBar cobj__obj  -foreign import ccall "wxMenu_GetMenuBar" wxMenu_GetMenuBar :: Ptr (TMenu a) -> IO (Ptr (TMenuBar ()))---- | usage: (@menuGetMenuItemCount obj@).-menuGetMenuItemCount :: Menu  a ->  IO Int-menuGetMenuItemCount _obj -  = withIntResult $-    withObjectRef "menuGetMenuItemCount" _obj $ \cobj__obj -> -    wxMenu_GetMenuItemCount cobj__obj  -foreign import ccall "wxMenu_GetMenuItemCount" wxMenu_GetMenuItemCount :: Ptr (TMenu a) -> IO CInt---- | usage: (@menuGetMenuItems obj lst@).-menuGetMenuItems :: Menu  a -> List  b ->  IO Int-menuGetMenuItems _obj _lst -  = withIntResult $-    withObjectRef "menuGetMenuItems" _obj $ \cobj__obj -> -    withObjectPtr _lst $ \cobj__lst -> -    wxMenu_GetMenuItems cobj__obj  cobj__lst  -foreign import ccall "wxMenu_GetMenuItems" wxMenu_GetMenuItems :: Ptr (TMenu a) -> Ptr (TList b) -> IO CInt---- | usage: (@menuGetParent obj@).-menuGetParent :: Menu  a ->  IO (Menu  ())-menuGetParent _obj -  = withObjectResult $-    withObjectRef "menuGetParent" _obj $ \cobj__obj -> -    wxMenu_GetParent cobj__obj  -foreign import ccall "wxMenu_GetParent" wxMenu_GetParent :: Ptr (TMenu a) -> IO (Ptr (TMenu ()))---- | usage: (@menuGetStyle obj@).-menuGetStyle :: Menu  a ->  IO Int-menuGetStyle _obj -  = withIntResult $-    withObjectRef "menuGetStyle" _obj $ \cobj__obj -> -    wxMenu_GetStyle cobj__obj  -foreign import ccall "wxMenu_GetStyle" wxMenu_GetStyle :: Ptr (TMenu a) -> IO CInt---- | usage: (@menuGetTitle obj@).-menuGetTitle :: Menu  a ->  IO (String)-menuGetTitle _obj -  = withManagedStringResult $-    withObjectRef "menuGetTitle" _obj $ \cobj__obj -> -    wxMenu_GetTitle cobj__obj  -foreign import ccall "wxMenu_GetTitle" wxMenu_GetTitle :: Ptr (TMenu a) -> IO (Ptr (TWxString ()))---- | usage: (@menuInsert obj pos id text help isCheckable@).-menuInsert :: Menu  a -> Int -> Id -> String -> String -> Bool ->  IO ()-menuInsert _obj pos id text help isCheckable -  = withObjectRef "menuInsert" _obj $ \cobj__obj -> -    withStringPtr text $ \cobj_text -> -    withStringPtr help $ \cobj_help -> -    wxMenu_Insert cobj__obj  (toCInt pos)  (toCInt id)  cobj_text  cobj_help  (toCBool isCheckable)  -foreign import ccall "wxMenu_Insert" wxMenu_Insert :: Ptr (TMenu a) -> CInt -> CInt -> Ptr (TWxString d) -> Ptr (TWxString e) -> CBool -> IO ()---- | usage: (@menuInsertItem obj pos itm@).-menuInsertItem :: Menu  a -> Int -> MenuItem  c ->  IO ()-menuInsertItem _obj pos _itm -  = withObjectRef "menuInsertItem" _obj $ \cobj__obj -> -    withObjectPtr _itm $ \cobj__itm -> -    wxMenu_InsertItem cobj__obj  (toCInt pos)  cobj__itm  -foreign import ccall "wxMenu_InsertItem" wxMenu_InsertItem :: Ptr (TMenu a) -> CInt -> Ptr (TMenuItem c) -> IO ()---- | usage: (@menuInsertSub obj pos id text submenu help@).-menuInsertSub :: Menu  a -> Int -> Id -> String -> Menu  e -> String ->  IO ()-menuInsertSub _obj pos id text submenu help -  = withObjectRef "menuInsertSub" _obj $ \cobj__obj -> -    withStringPtr text $ \cobj_text -> -    withObjectPtr submenu $ \cobj_submenu -> -    withStringPtr help $ \cobj_help -> -    wxMenu_InsertSub cobj__obj  (toCInt pos)  (toCInt id)  cobj_text  cobj_submenu  cobj_help  -foreign import ccall "wxMenu_InsertSub" wxMenu_InsertSub :: Ptr (TMenu a) -> CInt -> CInt -> Ptr (TWxString d) -> Ptr (TMenu e) -> Ptr (TWxString f) -> IO ()---- | usage: (@menuIsAttached obj@).-menuIsAttached :: Menu  a ->  IO Bool-menuIsAttached _obj -  = withBoolResult $-    withObjectRef "menuIsAttached" _obj $ \cobj__obj -> -    wxMenu_IsAttached cobj__obj  -foreign import ccall "wxMenu_IsAttached" wxMenu_IsAttached :: Ptr (TMenu a) -> IO CBool---- | usage: (@menuIsChecked obj id@).-menuIsChecked :: Menu  a -> Id ->  IO Bool-menuIsChecked _obj id -  = withBoolResult $-    withObjectRef "menuIsChecked" _obj $ \cobj__obj -> -    wxMenu_IsChecked cobj__obj  (toCInt id)  -foreign import ccall "wxMenu_IsChecked" wxMenu_IsChecked :: Ptr (TMenu a) -> CInt -> IO CBool---- | usage: (@menuIsEnabled obj id@).-menuIsEnabled :: Menu  a -> Id ->  IO Bool-menuIsEnabled _obj id -  = withBoolResult $-    withObjectRef "menuIsEnabled" _obj $ \cobj__obj -> -    wxMenu_IsEnabled cobj__obj  (toCInt id)  -foreign import ccall "wxMenu_IsEnabled" wxMenu_IsEnabled :: Ptr (TMenu a) -> CInt -> IO CBool---- | usage: (@menuItemCheck obj check@).-menuItemCheck :: MenuItem  a -> Bool ->  IO ()-menuItemCheck _obj check -  = withObjectRef "menuItemCheck" _obj $ \cobj__obj -> -    wxMenuItem_Check cobj__obj  (toCBool check)  -foreign import ccall "wxMenuItem_Check" wxMenuItem_Check :: Ptr (TMenuItem a) -> CBool -> IO ()---- | usage: (@menuItemCreate@).-menuItemCreate ::  IO (MenuItem  ())-menuItemCreate -  = withObjectResult $-    wxMenuItem_Create -foreign import ccall "wxMenuItem_Create" wxMenuItem_Create :: IO (Ptr (TMenuItem ()))---- | usage: (@menuItemCreateEx id label help itemkind submenu@).-menuItemCreateEx :: Id -> String -> String -> Int -> Menu  e ->  IO (MenuItem  ())-menuItemCreateEx id label help itemkind submenu -  = withObjectResult $-    withStringPtr label $ \cobj_label -> -    withStringPtr help $ \cobj_help -> -    withObjectPtr submenu $ \cobj_submenu -> -    wxMenuItem_CreateEx (toCInt id)  cobj_label  cobj_help  (toCInt itemkind)  cobj_submenu  -foreign import ccall "wxMenuItem_CreateEx" wxMenuItem_CreateEx :: CInt -> Ptr (TWxString b) -> Ptr (TWxString c) -> CInt -> Ptr (TMenu e) -> IO (Ptr (TMenuItem ()))---- | usage: (@menuItemCreateSeparator@).-menuItemCreateSeparator ::  IO (MenuItem  ())-menuItemCreateSeparator -  = withObjectResult $-    wxMenuItem_CreateSeparator -foreign import ccall "wxMenuItem_CreateSeparator" wxMenuItem_CreateSeparator :: IO (Ptr (TMenuItem ()))---- | usage: (@menuItemDelete obj@).-menuItemDelete :: MenuItem  a ->  IO ()-menuItemDelete-  = objectDelete----- | usage: (@menuItemEnable obj enable@).-menuItemEnable :: MenuItem  a -> Bool ->  IO ()-menuItemEnable _obj enable -  = withObjectRef "menuItemEnable" _obj $ \cobj__obj -> -    wxMenuItem_Enable cobj__obj  (toCBool enable)  -foreign import ccall "wxMenuItem_Enable" wxMenuItem_Enable :: Ptr (TMenuItem a) -> CBool -> IO ()---- | usage: (@menuItemGetHelp obj@).-menuItemGetHelp :: MenuItem  a ->  IO (String)-menuItemGetHelp _obj -  = withManagedStringResult $-    withObjectRef "menuItemGetHelp" _obj $ \cobj__obj -> -    wxMenuItem_GetHelp cobj__obj  -foreign import ccall "wxMenuItem_GetHelp" wxMenuItem_GetHelp :: Ptr (TMenuItem a) -> IO (Ptr (TWxString ()))---- | usage: (@menuItemGetId obj@).-menuItemGetId :: MenuItem  a ->  IO Int-menuItemGetId _obj -  = withIntResult $-    withObjectRef "menuItemGetId" _obj $ \cobj__obj -> -    wxMenuItem_GetId cobj__obj  -foreign import ccall "wxMenuItem_GetId" wxMenuItem_GetId :: Ptr (TMenuItem a) -> IO CInt---- | usage: (@menuItemGetLabel obj@).-menuItemGetLabel :: MenuItem  a ->  IO (String)-menuItemGetLabel _obj -  = withManagedStringResult $-    withObjectRef "menuItemGetLabel" _obj $ \cobj__obj -> -    wxMenuItem_GetLabel cobj__obj  -foreign import ccall "wxMenuItem_GetLabel" wxMenuItem_GetLabel :: Ptr (TMenuItem a) -> IO (Ptr (TWxString ()))---- | usage: (@menuItemGetLabelFromText text@).-menuItemGetLabelFromText :: String ->  IO (String)-menuItemGetLabelFromText text -  = withManagedStringResult $-    withCWString text $ \cstr_text -> -    wxMenuItem_GetLabelFromText cstr_text  -foreign import ccall "wxMenuItem_GetLabelFromText" wxMenuItem_GetLabelFromText :: CWString -> IO (Ptr (TWxString ()))---- | usage: (@menuItemGetMenu obj@).-menuItemGetMenu :: MenuItem  a ->  IO (Menu  ())-menuItemGetMenu _obj -  = withObjectResult $-    withObjectRef "menuItemGetMenu" _obj $ \cobj__obj -> -    wxMenuItem_GetMenu cobj__obj  -foreign import ccall "wxMenuItem_GetMenu" wxMenuItem_GetMenu :: Ptr (TMenuItem a) -> IO (Ptr (TMenu ()))---- | usage: (@menuItemGetSubMenu obj@).-menuItemGetSubMenu :: MenuItem  a ->  IO (Menu  ())-menuItemGetSubMenu _obj -  = withObjectResult $-    withObjectRef "menuItemGetSubMenu" _obj $ \cobj__obj -> -    wxMenuItem_GetSubMenu cobj__obj  -foreign import ccall "wxMenuItem_GetSubMenu" wxMenuItem_GetSubMenu :: Ptr (TMenuItem a) -> IO (Ptr (TMenu ()))---- | usage: (@menuItemGetText obj@).-menuItemGetText :: MenuItem  a ->  IO (String)-menuItemGetText _obj -  = withManagedStringResult $-    withObjectRef "menuItemGetText" _obj $ \cobj__obj -> -    wxMenuItem_GetText cobj__obj  -foreign import ccall "wxMenuItem_GetText" wxMenuItem_GetText :: Ptr (TMenuItem a) -> IO (Ptr (TWxString ()))---- | usage: (@menuItemIsCheckable obj@).-menuItemIsCheckable :: MenuItem  a ->  IO Bool-menuItemIsCheckable _obj -  = withBoolResult $-    withObjectRef "menuItemIsCheckable" _obj $ \cobj__obj -> -    wxMenuItem_IsCheckable cobj__obj  -foreign import ccall "wxMenuItem_IsCheckable" wxMenuItem_IsCheckable :: Ptr (TMenuItem a) -> IO CBool---- | usage: (@menuItemIsChecked obj@).-menuItemIsChecked :: MenuItem  a ->  IO Bool-menuItemIsChecked _obj -  = withBoolResult $-    withObjectRef "menuItemIsChecked" _obj $ \cobj__obj -> -    wxMenuItem_IsChecked cobj__obj  -foreign import ccall "wxMenuItem_IsChecked" wxMenuItem_IsChecked :: Ptr (TMenuItem a) -> IO CBool---- | usage: (@menuItemIsEnabled obj@).-menuItemIsEnabled :: MenuItem  a ->  IO Bool-menuItemIsEnabled _obj -  = withBoolResult $-    withObjectRef "menuItemIsEnabled" _obj $ \cobj__obj -> -    wxMenuItem_IsEnabled cobj__obj  -foreign import ccall "wxMenuItem_IsEnabled" wxMenuItem_IsEnabled :: Ptr (TMenuItem a) -> IO CBool---- | usage: (@menuItemIsSeparator obj@).-menuItemIsSeparator :: MenuItem  a ->  IO Bool-menuItemIsSeparator _obj -  = withBoolResult $-    withObjectRef "menuItemIsSeparator" _obj $ \cobj__obj -> -    wxMenuItem_IsSeparator cobj__obj  -foreign import ccall "wxMenuItem_IsSeparator" wxMenuItem_IsSeparator :: Ptr (TMenuItem a) -> IO CBool---- | usage: (@menuItemIsSubMenu obj@).-menuItemIsSubMenu :: MenuItem  a ->  IO Bool-menuItemIsSubMenu _obj -  = withBoolResult $-    withObjectRef "menuItemIsSubMenu" _obj $ \cobj__obj -> -    wxMenuItem_IsSubMenu cobj__obj  -foreign import ccall "wxMenuItem_IsSubMenu" wxMenuItem_IsSubMenu :: Ptr (TMenuItem a) -> IO CBool---- | usage: (@menuItemSetCheckable obj checkable@).-menuItemSetCheckable :: MenuItem  a -> Bool ->  IO ()-menuItemSetCheckable _obj checkable -  = withObjectRef "menuItemSetCheckable" _obj $ \cobj__obj -> -    wxMenuItem_SetCheckable cobj__obj  (toCBool checkable)  -foreign import ccall "wxMenuItem_SetCheckable" wxMenuItem_SetCheckable :: Ptr (TMenuItem a) -> CBool -> IO ()---- | usage: (@menuItemSetHelp obj str@).-menuItemSetHelp :: MenuItem  a -> String ->  IO ()-menuItemSetHelp _obj str -  = withObjectRef "menuItemSetHelp" _obj $ \cobj__obj -> -    withStringPtr str $ \cobj_str -> -    wxMenuItem_SetHelp cobj__obj  cobj_str  -foreign import ccall "wxMenuItem_SetHelp" wxMenuItem_SetHelp :: Ptr (TMenuItem a) -> Ptr (TWxString b) -> IO ()---- | usage: (@menuItemSetId obj id@).-menuItemSetId :: MenuItem  a -> Id ->  IO ()-menuItemSetId _obj id -  = withObjectRef "menuItemSetId" _obj $ \cobj__obj -> -    wxMenuItem_SetId cobj__obj  (toCInt id)  -foreign import ccall "wxMenuItem_SetId" wxMenuItem_SetId :: Ptr (TMenuItem a) -> CInt -> IO ()---- | usage: (@menuItemSetSubMenu obj menu@).-menuItemSetSubMenu :: MenuItem  a -> Menu  b ->  IO ()-menuItemSetSubMenu _obj menu -  = withObjectRef "menuItemSetSubMenu" _obj $ \cobj__obj -> -    withObjectPtr menu $ \cobj_menu -> -    wxMenuItem_SetSubMenu cobj__obj  cobj_menu  -foreign import ccall "wxMenuItem_SetSubMenu" wxMenuItem_SetSubMenu :: Ptr (TMenuItem a) -> Ptr (TMenu b) -> IO ()---- | usage: (@menuItemSetText obj str@).-menuItemSetText :: MenuItem  a -> String ->  IO ()-menuItemSetText _obj str -  = withObjectRef "menuItemSetText" _obj $ \cobj__obj -> -    withStringPtr str $ \cobj_str -> -    wxMenuItem_SetText cobj__obj  cobj_str  -foreign import ccall "wxMenuItem_SetText" wxMenuItem_SetText :: Ptr (TMenuItem a) -> Ptr (TWxString b) -> IO ()---- | usage: (@menuPrepend obj id text help isCheckable@).-menuPrepend :: Menu  a -> Id -> String -> String -> Bool ->  IO ()-menuPrepend _obj id text help isCheckable -  = withObjectRef "menuPrepend" _obj $ \cobj__obj -> -    withStringPtr text $ \cobj_text -> -    withStringPtr help $ \cobj_help -> -    wxMenu_Prepend cobj__obj  (toCInt id)  cobj_text  cobj_help  (toCBool isCheckable)  -foreign import ccall "wxMenu_Prepend" wxMenu_Prepend :: Ptr (TMenu a) -> CInt -> Ptr (TWxString c) -> Ptr (TWxString d) -> CBool -> IO ()---- | usage: (@menuPrependItem obj itm@).-menuPrependItem :: Menu  a -> MenuItem  b ->  IO ()-menuPrependItem _obj _itm -  = withObjectRef "menuPrependItem" _obj $ \cobj__obj -> -    withObjectPtr _itm $ \cobj__itm -> -    wxMenu_PrependItem cobj__obj  cobj__itm  -foreign import ccall "wxMenu_PrependItem" wxMenu_PrependItem :: Ptr (TMenu a) -> Ptr (TMenuItem b) -> IO ()---- | usage: (@menuPrependSub obj id text submenu help@).-menuPrependSub :: Menu  a -> Id -> String -> Menu  d -> String ->  IO ()-menuPrependSub _obj id text submenu help -  = withObjectRef "menuPrependSub" _obj $ \cobj__obj -> -    withStringPtr text $ \cobj_text -> -    withObjectPtr submenu $ \cobj_submenu -> -    withStringPtr help $ \cobj_help -> -    wxMenu_PrependSub cobj__obj  (toCInt id)  cobj_text  cobj_submenu  cobj_help  -foreign import ccall "wxMenu_PrependSub" wxMenu_PrependSub :: Ptr (TMenu a) -> CInt -> Ptr (TWxString c) -> Ptr (TMenu d) -> Ptr (TWxString e) -> IO ()---- | usage: (@menuRemoveById obj id itm@).-menuRemoveById :: Menu  a -> Id -> MenuItem  c ->  IO ()-menuRemoveById _obj id _itm -  = withObjectRef "menuRemoveById" _obj $ \cobj__obj -> -    withObjectPtr _itm $ \cobj__itm -> -    wxMenu_RemoveById cobj__obj  (toCInt id)  cobj__itm  -foreign import ccall "wxMenu_RemoveById" wxMenu_RemoveById :: Ptr (TMenu a) -> CInt -> Ptr (TMenuItem c) -> IO ()---- | usage: (@menuRemoveByItem obj item@).-menuRemoveByItem :: Menu  a -> Ptr  b ->  IO ()-menuRemoveByItem _obj item -  = withObjectRef "menuRemoveByItem" _obj $ \cobj__obj -> -    wxMenu_RemoveByItem cobj__obj  item  -foreign import ccall "wxMenu_RemoveByItem" wxMenu_RemoveByItem :: Ptr (TMenu a) -> Ptr  b -> IO ()---- | usage: (@menuSetClientData obj clientData@).-menuSetClientData :: Menu  a -> ClientData  b ->  IO ()-menuSetClientData _obj clientData -  = withObjectRef "menuSetClientData" _obj $ \cobj__obj -> -    withObjectPtr clientData $ \cobj_clientData -> -    wxMenu_SetClientData cobj__obj  cobj_clientData  -foreign import ccall "wxMenu_SetClientData" wxMenu_SetClientData :: Ptr (TMenu a) -> Ptr (TClientData b) -> IO ()---- | usage: (@menuSetEventHandler obj handler@).-menuSetEventHandler :: Menu  a -> EvtHandler  b ->  IO ()-menuSetEventHandler _obj handler -  = withObjectRef "menuSetEventHandler" _obj $ \cobj__obj -> -    withObjectPtr handler $ \cobj_handler -> -    wxMenu_SetEventHandler cobj__obj  cobj_handler  -foreign import ccall "wxMenu_SetEventHandler" wxMenu_SetEventHandler :: Ptr (TMenu a) -> Ptr (TEvtHandler b) -> IO ()---- | usage: (@menuSetHelpString obj id helpString@).-menuSetHelpString :: Menu  a -> Id -> String ->  IO ()-menuSetHelpString _obj id helpString -  = withObjectRef "menuSetHelpString" _obj $ \cobj__obj -> -    withStringPtr helpString $ \cobj_helpString -> -    wxMenu_SetHelpString cobj__obj  (toCInt id)  cobj_helpString  -foreign import ccall "wxMenu_SetHelpString" wxMenu_SetHelpString :: Ptr (TMenu a) -> CInt -> Ptr (TWxString c) -> IO ()---- | usage: (@menuSetInvokingWindow obj win@).-menuSetInvokingWindow :: Menu  a -> Window  b ->  IO ()-menuSetInvokingWindow _obj win -  = withObjectRef "menuSetInvokingWindow" _obj $ \cobj__obj -> -    withObjectPtr win $ \cobj_win -> -    wxMenu_SetInvokingWindow cobj__obj  cobj_win  -foreign import ccall "wxMenu_SetInvokingWindow" wxMenu_SetInvokingWindow :: Ptr (TMenu a) -> Ptr (TWindow b) -> IO ()---- | usage: (@menuSetLabel obj id label@).-menuSetLabel :: Menu  a -> Id -> String ->  IO ()-menuSetLabel _obj id label -  = withObjectRef "menuSetLabel" _obj $ \cobj__obj -> -    withStringPtr label $ \cobj_label -> -    wxMenu_SetLabel cobj__obj  (toCInt id)  cobj_label  -foreign import ccall "wxMenu_SetLabel" wxMenu_SetLabel :: Ptr (TMenu a) -> CInt -> Ptr (TWxString c) -> IO ()---- | usage: (@menuSetParent obj parent@).-menuSetParent :: Menu  a -> Window  b ->  IO ()-menuSetParent _obj parent -  = withObjectRef "menuSetParent" _obj $ \cobj__obj -> -    withObjectPtr parent $ \cobj_parent -> -    wxMenu_SetParent cobj__obj  cobj_parent  -foreign import ccall "wxMenu_SetParent" wxMenu_SetParent :: Ptr (TMenu a) -> Ptr (TWindow b) -> IO ()---- | usage: (@menuSetTitle obj title@).-menuSetTitle :: Menu  a -> String ->  IO ()-menuSetTitle _obj title -  = withObjectRef "menuSetTitle" _obj $ \cobj__obj -> -    withStringPtr title $ \cobj_title -> -    wxMenu_SetTitle cobj__obj  cobj_title  -foreign import ccall "wxMenu_SetTitle" wxMenu_SetTitle :: Ptr (TMenu a) -> Ptr (TWxString b) -> IO ()---- | usage: (@menuUpdateUI obj source@).-menuUpdateUI :: Menu  a -> Ptr  b ->  IO ()-menuUpdateUI _obj source -  = withObjectRef "menuUpdateUI" _obj $ \cobj__obj -> -    wxMenu_UpdateUI cobj__obj  source  -foreign import ccall "wxMenu_UpdateUI" wxMenu_UpdateUI :: Ptr (TMenu a) -> Ptr  b -> IO ()---- | usage: (@messageDialogCreate prt msg cap stl@).-messageDialogCreate :: Window  a -> String -> String -> Style ->  IO (MessageDialog  ())-messageDialogCreate _prt _msg _cap _stl -  = withObjectResult $-    withObjectPtr _prt $ \cobj__prt -> -    withStringPtr _msg $ \cobj__msg -> -    withStringPtr _cap $ \cobj__cap -> -    wxMessageDialog_Create cobj__prt  cobj__msg  cobj__cap  (toCInt _stl)  -foreign import ccall "wxMessageDialog_Create" wxMessageDialog_Create :: Ptr (TWindow a) -> Ptr (TWxString b) -> Ptr (TWxString c) -> CInt -> IO (Ptr (TMessageDialog ()))---- | usage: (@messageDialogDelete obj@).-messageDialogDelete :: MessageDialog  a ->  IO ()-messageDialogDelete-  = objectDelete----- | usage: (@messageDialogShowModal obj@).-messageDialogShowModal :: MessageDialog  a ->  IO Int-messageDialogShowModal _obj -  = withIntResult $-    withObjectRef "messageDialogShowModal" _obj $ \cobj__obj -> -    wxMessageDialog_ShowModal cobj__obj  -foreign import ccall "wxMessageDialog_ShowModal" wxMessageDialog_ShowModal :: Ptr (TMessageDialog a) -> IO CInt---- | usage: (@metafileCreate file@).-metafileCreate :: String ->  IO (Metafile  ())-metafileCreate _file -  = withObjectResult $-    withStringPtr _file $ \cobj__file -> -    wxMetafile_Create cobj__file  -foreign import ccall "wxMetafile_Create" wxMetafile_Create :: Ptr (TWxString a) -> IO (Ptr (TMetafile ()))---- | usage: (@metafileDCClose obj@).-metafileDCClose :: MetafileDC  a ->  IO (Ptr  ())-metafileDCClose _obj -  = withObjectRef "metafileDCClose" _obj $ \cobj__obj -> -    wxMetafileDC_Close cobj__obj  -foreign import ccall "wxMetafileDC_Close" wxMetafileDC_Close :: Ptr (TMetafileDC a) -> IO (Ptr  ())---- | usage: (@metafileDCCreate file@).-metafileDCCreate :: String ->  IO (MetafileDC  ())-metafileDCCreate _file -  = withObjectResult $-    withStringPtr _file $ \cobj__file -> -    wxMetafileDC_Create cobj__file  -foreign import ccall "wxMetafileDC_Create" wxMetafileDC_Create :: Ptr (TWxString a) -> IO (Ptr (TMetafileDC ()))---- | usage: (@metafileDCDelete obj@).-metafileDCDelete :: MetafileDC  a ->  IO ()-metafileDCDelete-  = objectDelete----- | usage: (@metafileDelete obj@).-metafileDelete :: Metafile  a ->  IO ()-metafileDelete-  = objectDelete----- | usage: (@metafileIsOk obj@).-metafileIsOk :: Metafile  a ->  IO Bool-metafileIsOk _obj -  = withBoolResult $-    withObjectRef "metafileIsOk" _obj $ \cobj__obj -> -    wxMetafile_IsOk cobj__obj  -foreign import ccall "wxMetafile_IsOk" wxMetafile_IsOk :: Ptr (TMetafile a) -> IO CBool---- | usage: (@metafilePlay obj dc@).-metafilePlay :: Metafile  a -> DC  b ->  IO Bool-metafilePlay _obj _dc -  = withBoolResult $-    withObjectRef "metafilePlay" _obj $ \cobj__obj -> -    withObjectPtr _dc $ \cobj__dc -> -    wxMetafile_Play cobj__obj  cobj__dc  -foreign import ccall "wxMetafile_Play" wxMetafile_Play :: Ptr (TMetafile a) -> Ptr (TDC b) -> IO CBool---- | usage: (@metafileSetClipboard obj widthheight@).-metafileSetClipboard :: Metafile  a -> Size ->  IO Bool-metafileSetClipboard _obj widthheight -  = withBoolResult $-    withObjectRef "metafileSetClipboard" _obj $ \cobj__obj -> -    wxMetafile_SetClipboard cobj__obj  (toCIntSizeW widthheight) (toCIntSizeH widthheight)  -foreign import ccall "wxMetafile_SetClipboard" wxMetafile_SetClipboard :: Ptr (TMetafile a) -> CInt -> CInt -> IO CBool---- | usage: (@mimeTypesManagerAddFallbacks obj types@).-mimeTypesManagerAddFallbacks :: MimeTypesManager  a -> Ptr  b ->  IO ()-mimeTypesManagerAddFallbacks _obj _types -  = withObjectRef "mimeTypesManagerAddFallbacks" _obj $ \cobj__obj -> -    wxMimeTypesManager_AddFallbacks cobj__obj  _types  -foreign import ccall "wxMimeTypesManager_AddFallbacks" wxMimeTypesManager_AddFallbacks :: Ptr (TMimeTypesManager a) -> Ptr  b -> IO ()---- | usage: (@mimeTypesManagerCreate@).-mimeTypesManagerCreate ::  IO (MimeTypesManager  ())-mimeTypesManagerCreate -  = withObjectResult $-    wxMimeTypesManager_Create -foreign import ccall "wxMimeTypesManager_Create" wxMimeTypesManager_Create :: IO (Ptr (TMimeTypesManager ()))---- | usage: (@mimeTypesManagerEnumAllFileTypes obj lst@).-mimeTypesManagerEnumAllFileTypes :: MimeTypesManager  a -> List  b ->  IO Int-mimeTypesManagerEnumAllFileTypes _obj _lst -  = withIntResult $-    withObjectRef "mimeTypesManagerEnumAllFileTypes" _obj $ \cobj__obj -> -    withObjectPtr _lst $ \cobj__lst -> -    wxMimeTypesManager_EnumAllFileTypes cobj__obj  cobj__lst  -foreign import ccall "wxMimeTypesManager_EnumAllFileTypes" wxMimeTypesManager_EnumAllFileTypes :: Ptr (TMimeTypesManager a) -> Ptr (TList b) -> IO CInt---- | usage: (@mimeTypesManagerGetFileTypeFromExtension obj ext@).-mimeTypesManagerGetFileTypeFromExtension :: MimeTypesManager  a -> String ->  IO (FileType  ())-mimeTypesManagerGetFileTypeFromExtension _obj _ext -  = withObjectResult $-    withObjectRef "mimeTypesManagerGetFileTypeFromExtension" _obj $ \cobj__obj -> -    withStringPtr _ext $ \cobj__ext -> -    wxMimeTypesManager_GetFileTypeFromExtension cobj__obj  cobj__ext  -foreign import ccall "wxMimeTypesManager_GetFileTypeFromExtension" wxMimeTypesManager_GetFileTypeFromExtension :: Ptr (TMimeTypesManager a) -> Ptr (TWxString b) -> IO (Ptr (TFileType ()))---- | usage: (@mimeTypesManagerGetFileTypeFromMimeType obj name@).-mimeTypesManagerGetFileTypeFromMimeType :: MimeTypesManager  a -> String ->  IO (FileType  ())-mimeTypesManagerGetFileTypeFromMimeType _obj _name -  = withObjectResult $-    withObjectRef "mimeTypesManagerGetFileTypeFromMimeType" _obj $ \cobj__obj -> -    withStringPtr _name $ \cobj__name -> -    wxMimeTypesManager_GetFileTypeFromMimeType cobj__obj  cobj__name  -foreign import ccall "wxMimeTypesManager_GetFileTypeFromMimeType" wxMimeTypesManager_GetFileTypeFromMimeType :: Ptr (TMimeTypesManager a) -> Ptr (TWxString b) -> IO (Ptr (TFileType ()))---- | usage: (@mimeTypesManagerIsOfType obj wxtype wildcard@).-mimeTypesManagerIsOfType :: MimeTypesManager  a -> String -> String ->  IO Bool-mimeTypesManagerIsOfType _obj _type _wildcard -  = withBoolResult $-    withObjectRef "mimeTypesManagerIsOfType" _obj $ \cobj__obj -> -    withStringPtr _type $ \cobj__type -> -    withStringPtr _wildcard $ \cobj__wildcard -> -    wxMimeTypesManager_IsOfType cobj__obj  cobj__type  cobj__wildcard  -foreign import ccall "wxMimeTypesManager_IsOfType" wxMimeTypesManager_IsOfType :: Ptr (TMimeTypesManager a) -> Ptr (TWxString b) -> Ptr (TWxString c) -> IO CBool---- | usage: (@mimeTypesManagerReadMailcap obj file fb@).-mimeTypesManagerReadMailcap :: MimeTypesManager  a -> String -> Int ->  IO Bool-mimeTypesManagerReadMailcap _obj _file _fb -  = withBoolResult $-    withObjectRef "mimeTypesManagerReadMailcap" _obj $ \cobj__obj -> -    withStringPtr _file $ \cobj__file -> -    wxMimeTypesManager_ReadMailcap cobj__obj  cobj__file  (toCInt _fb)  -foreign import ccall "wxMimeTypesManager_ReadMailcap" wxMimeTypesManager_ReadMailcap :: Ptr (TMimeTypesManager a) -> Ptr (TWxString b) -> CInt -> IO CBool---- | usage: (@mimeTypesManagerReadMimeTypes obj file@).-mimeTypesManagerReadMimeTypes :: MimeTypesManager  a -> String ->  IO Bool-mimeTypesManagerReadMimeTypes _obj _file -  = withBoolResult $-    withObjectRef "mimeTypesManagerReadMimeTypes" _obj $ \cobj__obj -> -    withStringPtr _file $ \cobj__file -> -    wxMimeTypesManager_ReadMimeTypes cobj__obj  cobj__file  -foreign import ccall "wxMimeTypesManager_ReadMimeTypes" wxMimeTypesManager_ReadMimeTypes :: Ptr (TMimeTypesManager a) -> Ptr (TWxString b) -> IO CBool---- | usage: (@miniFrameCreate prt id txt lfttopwdthgt stl@).-miniFrameCreate :: Window  a -> Id -> String -> Rect -> Style ->  IO (MiniFrame  ())-miniFrameCreate _prt _id _txt _lfttopwdthgt _stl -  = withObjectResult $-    withObjectPtr _prt $ \cobj__prt -> -    withStringPtr _txt $ \cobj__txt -> -    wxMiniFrame_Create cobj__prt  (toCInt _id)  cobj__txt  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  (toCInt _stl)  -foreign import ccall "wxMiniFrame_Create" wxMiniFrame_Create :: Ptr (TWindow a) -> CInt -> Ptr (TWxString c) -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TMiniFrame ()))---- | usage: (@mirrorDCCreate dc@).-mirrorDCCreate :: DC  a ->  IO (MirrorDC  ())-mirrorDCCreate dc -  = withObjectResult $-    withObjectPtr dc $ \cobj_dc -> -    wxMirrorDC_Create cobj_dc  -foreign import ccall "wxMirrorDC_Create" wxMirrorDC_Create :: Ptr (TDC a) -> IO (Ptr (TMirrorDC ()))---- | usage: (@mirrorDCDelete obj@).-mirrorDCDelete :: MemoryDC  a ->  IO ()-mirrorDCDelete _obj -  = withObjectPtr _obj $ \cobj__obj -> -    wxMirrorDC_Delete cobj__obj  -foreign import ccall "wxMirrorDC_Delete" wxMirrorDC_Delete :: Ptr (TMemoryDC a) -> IO ()---- | usage: (@mouseEventAltDown obj@).-mouseEventAltDown :: MouseEvent  a ->  IO Bool-mouseEventAltDown _obj -  = withBoolResult $-    withObjectRef "mouseEventAltDown" _obj $ \cobj__obj -> -    wxMouseEvent_AltDown cobj__obj  -foreign import ccall "wxMouseEvent_AltDown" wxMouseEvent_AltDown :: Ptr (TMouseEvent a) -> IO CBool---- | usage: (@mouseEventButton obj but@).-mouseEventButton :: MouseEvent  a -> Int ->  IO Bool-mouseEventButton _obj but -  = withBoolResult $-    withObjectRef "mouseEventButton" _obj $ \cobj__obj -> -    wxMouseEvent_Button cobj__obj  (toCInt but)  -foreign import ccall "wxMouseEvent_Button" wxMouseEvent_Button :: Ptr (TMouseEvent a) -> CInt -> IO CBool---- | usage: (@mouseEventButtonDClick obj but@).-mouseEventButtonDClick :: MouseEvent  a -> Int ->  IO Bool-mouseEventButtonDClick _obj but -  = withBoolResult $-    withObjectRef "mouseEventButtonDClick" _obj $ \cobj__obj -> -    wxMouseEvent_ButtonDClick cobj__obj  (toCInt but)  -foreign import ccall "wxMouseEvent_ButtonDClick" wxMouseEvent_ButtonDClick :: Ptr (TMouseEvent a) -> CInt -> IO CBool---- | usage: (@mouseEventButtonDown obj but@).-mouseEventButtonDown :: MouseEvent  a -> Int ->  IO Bool-mouseEventButtonDown _obj but -  = withBoolResult $-    withObjectRef "mouseEventButtonDown" _obj $ \cobj__obj -> -    wxMouseEvent_ButtonDown cobj__obj  (toCInt but)  -foreign import ccall "wxMouseEvent_ButtonDown" wxMouseEvent_ButtonDown :: Ptr (TMouseEvent a) -> CInt -> IO CBool---- | usage: (@mouseEventButtonIsDown obj but@).-mouseEventButtonIsDown :: MouseEvent  a -> Int ->  IO Bool-mouseEventButtonIsDown _obj but -  = withBoolResult $-    withObjectRef "mouseEventButtonIsDown" _obj $ \cobj__obj -> -    wxMouseEvent_ButtonIsDown cobj__obj  (toCInt but)  -foreign import ccall "wxMouseEvent_ButtonIsDown" wxMouseEvent_ButtonIsDown :: Ptr (TMouseEvent a) -> CInt -> IO CBool---- | usage: (@mouseEventButtonUp obj but@).-mouseEventButtonUp :: MouseEvent  a -> Int ->  IO Bool-mouseEventButtonUp _obj but -  = withBoolResult $-    withObjectRef "mouseEventButtonUp" _obj $ \cobj__obj -> -    wxMouseEvent_ButtonUp cobj__obj  (toCInt but)  -foreign import ccall "wxMouseEvent_ButtonUp" wxMouseEvent_ButtonUp :: Ptr (TMouseEvent a) -> CInt -> IO CBool---- | usage: (@mouseEventControlDown obj@).-mouseEventControlDown :: MouseEvent  a ->  IO Bool-mouseEventControlDown _obj -  = withBoolResult $-    withObjectRef "mouseEventControlDown" _obj $ \cobj__obj -> -    wxMouseEvent_ControlDown cobj__obj  -foreign import ccall "wxMouseEvent_ControlDown" wxMouseEvent_ControlDown :: Ptr (TMouseEvent a) -> IO CBool---- | usage: (@mouseEventCopyObject obj objectdest@).-mouseEventCopyObject :: MouseEvent  a -> Ptr  b ->  IO ()-mouseEventCopyObject _obj objectdest -  = withObjectRef "mouseEventCopyObject" _obj $ \cobj__obj -> -    wxMouseEvent_CopyObject cobj__obj  objectdest  -foreign import ccall "wxMouseEvent_CopyObject" wxMouseEvent_CopyObject :: Ptr (TMouseEvent a) -> Ptr  b -> IO ()---- | usage: (@mouseEventDragging obj@).-mouseEventDragging :: MouseEvent  a ->  IO Bool-mouseEventDragging _obj -  = withBoolResult $-    withObjectRef "mouseEventDragging" _obj $ \cobj__obj -> -    wxMouseEvent_Dragging cobj__obj  -foreign import ccall "wxMouseEvent_Dragging" wxMouseEvent_Dragging :: Ptr (TMouseEvent a) -> IO CBool---- | usage: (@mouseEventEntering obj@).-mouseEventEntering :: MouseEvent  a ->  IO Bool-mouseEventEntering _obj -  = withBoolResult $-    withObjectRef "mouseEventEntering" _obj $ \cobj__obj -> -    wxMouseEvent_Entering cobj__obj  -foreign import ccall "wxMouseEvent_Entering" wxMouseEvent_Entering :: Ptr (TMouseEvent a) -> IO CBool---- | usage: (@mouseEventGetButton obj@).-mouseEventGetButton :: MouseEvent  a ->  IO Int-mouseEventGetButton _obj -  = withIntResult $-    withObjectRef "mouseEventGetButton" _obj $ \cobj__obj -> -    wxMouseEvent_GetButton cobj__obj  -foreign import ccall "wxMouseEvent_GetButton" wxMouseEvent_GetButton :: Ptr (TMouseEvent a) -> IO CInt---- | usage: (@mouseEventGetLogicalPosition obj dc@).-mouseEventGetLogicalPosition :: MouseEvent  a -> DC  b ->  IO (Point)-mouseEventGetLogicalPosition _obj dc -  = withWxPointResult $-    withObjectRef "mouseEventGetLogicalPosition" _obj $ \cobj__obj -> -    withObjectPtr dc $ \cobj_dc -> -    wxMouseEvent_GetLogicalPosition cobj__obj  cobj_dc  -foreign import ccall "wxMouseEvent_GetLogicalPosition" wxMouseEvent_GetLogicalPosition :: Ptr (TMouseEvent a) -> Ptr (TDC b) -> IO (Ptr (TWxPoint ()))---- | usage: (@mouseEventGetPosition obj@).-mouseEventGetPosition :: MouseEvent  a ->  IO (Point)-mouseEventGetPosition _obj -  = withWxPointResult $-    withObjectRef "mouseEventGetPosition" _obj $ \cobj__obj -> -    wxMouseEvent_GetPosition cobj__obj  -foreign import ccall "wxMouseEvent_GetPosition" wxMouseEvent_GetPosition :: Ptr (TMouseEvent a) -> IO (Ptr (TWxPoint ()))---- | usage: (@mouseEventGetWheelDelta obj@).-mouseEventGetWheelDelta :: MouseEvent  a ->  IO Int-mouseEventGetWheelDelta _obj -  = withIntResult $-    withObjectRef "mouseEventGetWheelDelta" _obj $ \cobj__obj -> -    wxMouseEvent_GetWheelDelta cobj__obj  -foreign import ccall "wxMouseEvent_GetWheelDelta" wxMouseEvent_GetWheelDelta :: Ptr (TMouseEvent a) -> IO CInt---- | usage: (@mouseEventGetWheelRotation obj@).-mouseEventGetWheelRotation :: MouseEvent  a ->  IO Int-mouseEventGetWheelRotation _obj -  = withIntResult $-    withObjectRef "mouseEventGetWheelRotation" _obj $ \cobj__obj -> -    wxMouseEvent_GetWheelRotation cobj__obj  -foreign import ccall "wxMouseEvent_GetWheelRotation" wxMouseEvent_GetWheelRotation :: Ptr (TMouseEvent a) -> IO CInt---- | usage: (@mouseEventGetX obj@).-mouseEventGetX :: MouseEvent  a ->  IO Int-mouseEventGetX _obj -  = withIntResult $-    withObjectRef "mouseEventGetX" _obj $ \cobj__obj -> -    wxMouseEvent_GetX cobj__obj  -foreign import ccall "wxMouseEvent_GetX" wxMouseEvent_GetX :: Ptr (TMouseEvent a) -> IO CInt---- | usage: (@mouseEventGetY obj@).-mouseEventGetY :: MouseEvent  a ->  IO Int-mouseEventGetY _obj -  = withIntResult $-    withObjectRef "mouseEventGetY" _obj $ \cobj__obj -> -    wxMouseEvent_GetY cobj__obj  -foreign import ccall "wxMouseEvent_GetY" wxMouseEvent_GetY :: Ptr (TMouseEvent a) -> IO CInt---- | usage: (@mouseEventIsButton obj@).-mouseEventIsButton :: MouseEvent  a ->  IO Bool-mouseEventIsButton _obj -  = withBoolResult $-    withObjectRef "mouseEventIsButton" _obj $ \cobj__obj -> -    wxMouseEvent_IsButton cobj__obj  -foreign import ccall "wxMouseEvent_IsButton" wxMouseEvent_IsButton :: Ptr (TMouseEvent a) -> IO CBool---- | usage: (@mouseEventLeaving obj@).-mouseEventLeaving :: MouseEvent  a ->  IO Bool-mouseEventLeaving _obj -  = withBoolResult $-    withObjectRef "mouseEventLeaving" _obj $ \cobj__obj -> -    wxMouseEvent_Leaving cobj__obj  -foreign import ccall "wxMouseEvent_Leaving" wxMouseEvent_Leaving :: Ptr (TMouseEvent a) -> IO CBool---- | usage: (@mouseEventLeftDClick obj@).-mouseEventLeftDClick :: MouseEvent  a ->  IO Bool-mouseEventLeftDClick _obj -  = withBoolResult $-    withObjectRef "mouseEventLeftDClick" _obj $ \cobj__obj -> -    wxMouseEvent_LeftDClick cobj__obj  -foreign import ccall "wxMouseEvent_LeftDClick" wxMouseEvent_LeftDClick :: Ptr (TMouseEvent a) -> IO CBool---- | usage: (@mouseEventLeftDown obj@).-mouseEventLeftDown :: MouseEvent  a ->  IO Bool-mouseEventLeftDown _obj -  = withBoolResult $-    withObjectRef "mouseEventLeftDown" _obj $ \cobj__obj -> -    wxMouseEvent_LeftDown cobj__obj  -foreign import ccall "wxMouseEvent_LeftDown" wxMouseEvent_LeftDown :: Ptr (TMouseEvent a) -> IO CBool---- | usage: (@mouseEventLeftIsDown obj@).-mouseEventLeftIsDown :: MouseEvent  a ->  IO Bool-mouseEventLeftIsDown _obj -  = withBoolResult $-    withObjectRef "mouseEventLeftIsDown" _obj $ \cobj__obj -> -    wxMouseEvent_LeftIsDown cobj__obj  -foreign import ccall "wxMouseEvent_LeftIsDown" wxMouseEvent_LeftIsDown :: Ptr (TMouseEvent a) -> IO CBool---- | usage: (@mouseEventLeftUp obj@).-mouseEventLeftUp :: MouseEvent  a ->  IO Bool-mouseEventLeftUp _obj -  = withBoolResult $-    withObjectRef "mouseEventLeftUp" _obj $ \cobj__obj -> -    wxMouseEvent_LeftUp cobj__obj  -foreign import ccall "wxMouseEvent_LeftUp" wxMouseEvent_LeftUp :: Ptr (TMouseEvent a) -> IO CBool---- | usage: (@mouseEventMetaDown obj@).-mouseEventMetaDown :: MouseEvent  a ->  IO Bool-mouseEventMetaDown _obj -  = withBoolResult $-    withObjectRef "mouseEventMetaDown" _obj $ \cobj__obj -> -    wxMouseEvent_MetaDown cobj__obj  -foreign import ccall "wxMouseEvent_MetaDown" wxMouseEvent_MetaDown :: Ptr (TMouseEvent a) -> IO CBool---- | usage: (@mouseEventMiddleDClick obj@).-mouseEventMiddleDClick :: MouseEvent  a ->  IO Bool-mouseEventMiddleDClick _obj -  = withBoolResult $-    withObjectRef "mouseEventMiddleDClick" _obj $ \cobj__obj -> -    wxMouseEvent_MiddleDClick cobj__obj  -foreign import ccall "wxMouseEvent_MiddleDClick" wxMouseEvent_MiddleDClick :: Ptr (TMouseEvent a) -> IO CBool---- | usage: (@mouseEventMiddleDown obj@).-mouseEventMiddleDown :: MouseEvent  a ->  IO Bool-mouseEventMiddleDown _obj -  = withBoolResult $-    withObjectRef "mouseEventMiddleDown" _obj $ \cobj__obj -> -    wxMouseEvent_MiddleDown cobj__obj  -foreign import ccall "wxMouseEvent_MiddleDown" wxMouseEvent_MiddleDown :: Ptr (TMouseEvent a) -> IO CBool---- | usage: (@mouseEventMiddleIsDown obj@).-mouseEventMiddleIsDown :: MouseEvent  a ->  IO Bool-mouseEventMiddleIsDown _obj -  = withBoolResult $-    withObjectRef "mouseEventMiddleIsDown" _obj $ \cobj__obj -> -    wxMouseEvent_MiddleIsDown cobj__obj  -foreign import ccall "wxMouseEvent_MiddleIsDown" wxMouseEvent_MiddleIsDown :: Ptr (TMouseEvent a) -> IO CBool---- | usage: (@mouseEventMiddleUp obj@).-mouseEventMiddleUp :: MouseEvent  a ->  IO Bool-mouseEventMiddleUp _obj -  = withBoolResult $-    withObjectRef "mouseEventMiddleUp" _obj $ \cobj__obj -> -    wxMouseEvent_MiddleUp cobj__obj  -foreign import ccall "wxMouseEvent_MiddleUp" wxMouseEvent_MiddleUp :: Ptr (TMouseEvent a) -> IO CBool---- | usage: (@mouseEventMoving obj@).-mouseEventMoving :: MouseEvent  a ->  IO Bool-mouseEventMoving _obj -  = withBoolResult $-    withObjectRef "mouseEventMoving" _obj $ \cobj__obj -> -    wxMouseEvent_Moving cobj__obj  -foreign import ccall "wxMouseEvent_Moving" wxMouseEvent_Moving :: Ptr (TMouseEvent a) -> IO CBool---- | usage: (@mouseEventRightDClick obj@).-mouseEventRightDClick :: MouseEvent  a ->  IO Bool-mouseEventRightDClick _obj -  = withBoolResult $-    withObjectRef "mouseEventRightDClick" _obj $ \cobj__obj -> -    wxMouseEvent_RightDClick cobj__obj  -foreign import ccall "wxMouseEvent_RightDClick" wxMouseEvent_RightDClick :: Ptr (TMouseEvent a) -> IO CBool---- | usage: (@mouseEventRightDown obj@).-mouseEventRightDown :: MouseEvent  a ->  IO Bool-mouseEventRightDown _obj -  = withBoolResult $-    withObjectRef "mouseEventRightDown" _obj $ \cobj__obj -> -    wxMouseEvent_RightDown cobj__obj  -foreign import ccall "wxMouseEvent_RightDown" wxMouseEvent_RightDown :: Ptr (TMouseEvent a) -> IO CBool---- | usage: (@mouseEventRightIsDown obj@).-mouseEventRightIsDown :: MouseEvent  a ->  IO Bool-mouseEventRightIsDown _obj -  = withBoolResult $-    withObjectRef "mouseEventRightIsDown" _obj $ \cobj__obj -> -    wxMouseEvent_RightIsDown cobj__obj  -foreign import ccall "wxMouseEvent_RightIsDown" wxMouseEvent_RightIsDown :: Ptr (TMouseEvent a) -> IO CBool---- | usage: (@mouseEventRightUp obj@).-mouseEventRightUp :: MouseEvent  a ->  IO Bool-mouseEventRightUp _obj -  = withBoolResult $-    withObjectRef "mouseEventRightUp" _obj $ \cobj__obj -> -    wxMouseEvent_RightUp cobj__obj  -foreign import ccall "wxMouseEvent_RightUp" wxMouseEvent_RightUp :: Ptr (TMouseEvent a) -> IO CBool---- | usage: (@mouseEventShiftDown obj@).-mouseEventShiftDown :: MouseEvent  a ->  IO Bool-mouseEventShiftDown _obj -  = withBoolResult $-    withObjectRef "mouseEventShiftDown" _obj $ \cobj__obj -> -    wxMouseEvent_ShiftDown cobj__obj  -foreign import ccall "wxMouseEvent_ShiftDown" wxMouseEvent_ShiftDown :: Ptr (TMouseEvent a) -> IO CBool---- | usage: (@moveEventCopyObject obj obj@).-moveEventCopyObject :: MoveEvent  a -> Ptr  b ->  IO ()-moveEventCopyObject _obj obj -  = withObjectRef "moveEventCopyObject" _obj $ \cobj__obj -> -    wxMoveEvent_CopyObject cobj__obj  obj  -foreign import ccall "wxMoveEvent_CopyObject" wxMoveEvent_CopyObject :: Ptr (TMoveEvent a) -> Ptr  b -> IO ()---- | usage: (@moveEventGetPosition obj@).-moveEventGetPosition :: MoveEvent  a ->  IO (Point)-moveEventGetPosition _obj -  = withWxPointResult $-    withObjectRef "moveEventGetPosition" _obj $ \cobj__obj -> -    wxMoveEvent_GetPosition cobj__obj  -foreign import ccall "wxMoveEvent_GetPosition" wxMoveEvent_GetPosition :: Ptr (TMoveEvent a) -> IO (Ptr (TWxPoint ()))---- | usage: (@navigationKeyEventGetCurrentFocus obj@).-navigationKeyEventGetCurrentFocus :: NavigationKeyEvent  a ->  IO (Ptr  ())-navigationKeyEventGetCurrentFocus _obj -  = withObjectRef "navigationKeyEventGetCurrentFocus" _obj $ \cobj__obj -> -    wxNavigationKeyEvent_GetCurrentFocus cobj__obj  -foreign import ccall "wxNavigationKeyEvent_GetCurrentFocus" wxNavigationKeyEvent_GetCurrentFocus :: Ptr (TNavigationKeyEvent a) -> IO (Ptr  ())---- | usage: (@navigationKeyEventGetDirection obj@).-navigationKeyEventGetDirection :: NavigationKeyEvent  a ->  IO Bool-navigationKeyEventGetDirection _obj -  = withBoolResult $-    withObjectRef "navigationKeyEventGetDirection" _obj $ \cobj__obj -> -    wxNavigationKeyEvent_GetDirection cobj__obj  -foreign import ccall "wxNavigationKeyEvent_GetDirection" wxNavigationKeyEvent_GetDirection :: Ptr (TNavigationKeyEvent a) -> IO CBool---- | usage: (@navigationKeyEventIsWindowChange obj@).-navigationKeyEventIsWindowChange :: NavigationKeyEvent  a ->  IO Bool-navigationKeyEventIsWindowChange _obj -  = withBoolResult $-    withObjectRef "navigationKeyEventIsWindowChange" _obj $ \cobj__obj -> -    wxNavigationKeyEvent_IsWindowChange cobj__obj  -foreign import ccall "wxNavigationKeyEvent_IsWindowChange" wxNavigationKeyEvent_IsWindowChange :: Ptr (TNavigationKeyEvent a) -> IO CBool---- | usage: (@navigationKeyEventSetCurrentFocus obj win@).-navigationKeyEventSetCurrentFocus :: NavigationKeyEvent  a -> Window  b ->  IO ()-navigationKeyEventSetCurrentFocus _obj win -  = withObjectRef "navigationKeyEventSetCurrentFocus" _obj $ \cobj__obj -> -    withObjectPtr win $ \cobj_win -> -    wxNavigationKeyEvent_SetCurrentFocus cobj__obj  cobj_win  -foreign import ccall "wxNavigationKeyEvent_SetCurrentFocus" wxNavigationKeyEvent_SetCurrentFocus :: Ptr (TNavigationKeyEvent a) -> Ptr (TWindow b) -> IO ()---- | usage: (@navigationKeyEventSetDirection obj bForward@).-navigationKeyEventSetDirection :: NavigationKeyEvent  a -> Bool ->  IO ()-navigationKeyEventSetDirection _obj bForward -  = withObjectRef "navigationKeyEventSetDirection" _obj $ \cobj__obj -> -    wxNavigationKeyEvent_SetDirection cobj__obj  (toCBool bForward)  -foreign import ccall "wxNavigationKeyEvent_SetDirection" wxNavigationKeyEvent_SetDirection :: Ptr (TNavigationKeyEvent a) -> CBool -> IO ()---- | usage: (@navigationKeyEventSetWindowChange obj bIs@).-navigationKeyEventSetWindowChange :: NavigationKeyEvent  a -> Bool ->  IO ()-navigationKeyEventSetWindowChange _obj bIs -  = withObjectRef "navigationKeyEventSetWindowChange" _obj $ \cobj__obj -> -    wxNavigationKeyEvent_SetWindowChange cobj__obj  (toCBool bIs)  -foreign import ccall "wxNavigationKeyEvent_SetWindowChange" wxNavigationKeyEvent_SetWindowChange :: Ptr (TNavigationKeyEvent a) -> CBool -> IO ()---- | usage: (@navigationKeyEventShouldPropagate obj@).-navigationKeyEventShouldPropagate :: NavigationKeyEvent  a ->  IO Int-navigationKeyEventShouldPropagate _obj -  = withIntResult $-    withObjectRef "navigationKeyEventShouldPropagate" _obj $ \cobj__obj -> -    wxNavigationKeyEvent_ShouldPropagate cobj__obj  -foreign import ccall "wxNavigationKeyEvent_ShouldPropagate" wxNavigationKeyEvent_ShouldPropagate :: Ptr (TNavigationKeyEvent a) -> IO CInt---- | usage: (@notebookAddPage obj pPage strText bSelect imageId@).-notebookAddPage :: Notebook  a -> Window  b -> String -> Bool -> Int ->  IO Bool-notebookAddPage _obj pPage strText bSelect imageId -  = withBoolResult $-    withObjectRef "notebookAddPage" _obj $ \cobj__obj -> -    withObjectPtr pPage $ \cobj_pPage -> -    withStringPtr strText $ \cobj_strText -> -    wxNotebook_AddPage cobj__obj  cobj_pPage  cobj_strText  (toCBool bSelect)  (toCInt imageId)  -foreign import ccall "wxNotebook_AddPage" wxNotebook_AddPage :: Ptr (TNotebook a) -> Ptr (TWindow b) -> Ptr (TWxString c) -> CBool -> CInt -> IO CBool---- | usage: (@notebookAdvanceSelection obj bForward@).-notebookAdvanceSelection :: Notebook  a -> Bool ->  IO ()-notebookAdvanceSelection _obj bForward -  = withObjectRef "notebookAdvanceSelection" _obj $ \cobj__obj -> -    wxNotebook_AdvanceSelection cobj__obj  (toCBool bForward)  -foreign import ccall "wxNotebook_AdvanceSelection" wxNotebook_AdvanceSelection :: Ptr (TNotebook a) -> CBool -> IO ()---- | usage: (@notebookAssignImageList obj imageList@).-notebookAssignImageList :: Notebook  a -> ImageList  b ->  IO ()-notebookAssignImageList _obj imageList -  = withObjectRef "notebookAssignImageList" _obj $ \cobj__obj -> -    withObjectPtr imageList $ \cobj_imageList -> -    wxNotebook_AssignImageList cobj__obj  cobj_imageList  -foreign import ccall "wxNotebook_AssignImageList" wxNotebook_AssignImageList :: Ptr (TNotebook a) -> Ptr (TImageList b) -> IO ()---- | usage: (@notebookCreate prt id lfttopwdthgt stl@).-notebookCreate :: Window  a -> Id -> Rect -> Style ->  IO (Notebook  ())-notebookCreate _prt _id _lfttopwdthgt _stl -  = withObjectResult $-    withObjectPtr _prt $ \cobj__prt -> -    wxNotebook_Create cobj__prt  (toCInt _id)  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  (toCInt _stl)  -foreign import ccall "wxNotebook_Create" wxNotebook_Create :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TNotebook ()))---- | usage: (@notebookDeleteAllPages obj@).-notebookDeleteAllPages :: Notebook  a ->  IO Bool-notebookDeleteAllPages _obj -  = withBoolResult $-    withObjectRef "notebookDeleteAllPages" _obj $ \cobj__obj -> -    wxNotebook_DeleteAllPages cobj__obj  -foreign import ccall "wxNotebook_DeleteAllPages" wxNotebook_DeleteAllPages :: Ptr (TNotebook a) -> IO CBool---- | usage: (@notebookDeletePage obj nPage@).-notebookDeletePage :: Notebook  a -> Int ->  IO Bool-notebookDeletePage _obj nPage -  = withBoolResult $-    withObjectRef "notebookDeletePage" _obj $ \cobj__obj -> -    wxNotebook_DeletePage cobj__obj  (toCInt nPage)  -foreign import ccall "wxNotebook_DeletePage" wxNotebook_DeletePage :: Ptr (TNotebook a) -> CInt -> IO CBool---- | usage: (@notebookGetImageList obj@).-notebookGetImageList :: Notebook  a ->  IO (ImageList  ())-notebookGetImageList _obj -  = withObjectResult $-    withObjectRef "notebookGetImageList" _obj $ \cobj__obj -> -    wxNotebook_GetImageList cobj__obj  -foreign import ccall "wxNotebook_GetImageList" wxNotebook_GetImageList :: Ptr (TNotebook a) -> IO (Ptr (TImageList ()))---- | usage: (@notebookGetPage obj nPage@).-notebookGetPage :: Notebook  a -> Int ->  IO (Window  ())-notebookGetPage _obj nPage -  = withObjectResult $-    withObjectRef "notebookGetPage" _obj $ \cobj__obj -> -    wxNotebook_GetPage cobj__obj  (toCInt nPage)  -foreign import ccall "wxNotebook_GetPage" wxNotebook_GetPage :: Ptr (TNotebook a) -> CInt -> IO (Ptr (TWindow ()))---- | usage: (@notebookGetPageCount obj@).-notebookGetPageCount :: Notebook  a ->  IO Int-notebookGetPageCount _obj -  = withIntResult $-    withObjectRef "notebookGetPageCount" _obj $ \cobj__obj -> -    wxNotebook_GetPageCount cobj__obj  -foreign import ccall "wxNotebook_GetPageCount" wxNotebook_GetPageCount :: Ptr (TNotebook a) -> IO CInt---- | usage: (@notebookGetPageImage obj nPage@).-notebookGetPageImage :: Notebook  a -> Int ->  IO Int-notebookGetPageImage _obj nPage -  = withIntResult $-    withObjectRef "notebookGetPageImage" _obj $ \cobj__obj -> -    wxNotebook_GetPageImage cobj__obj  (toCInt nPage)  -foreign import ccall "wxNotebook_GetPageImage" wxNotebook_GetPageImage :: Ptr (TNotebook a) -> CInt -> IO CInt---- | usage: (@notebookGetPageText obj nPage@).-notebookGetPageText :: Notebook  a -> Int ->  IO (String)-notebookGetPageText _obj nPage -  = withManagedStringResult $-    withObjectRef "notebookGetPageText" _obj $ \cobj__obj -> -    wxNotebook_GetPageText cobj__obj  (toCInt nPage)  -foreign import ccall "wxNotebook_GetPageText" wxNotebook_GetPageText :: Ptr (TNotebook a) -> CInt -> IO (Ptr (TWxString ()))---- | usage: (@notebookGetRowCount obj@).-notebookGetRowCount :: Notebook  a ->  IO Int-notebookGetRowCount _obj -  = withIntResult $-    withObjectRef "notebookGetRowCount" _obj $ \cobj__obj -> -    wxNotebook_GetRowCount cobj__obj  -foreign import ccall "wxNotebook_GetRowCount" wxNotebook_GetRowCount :: Ptr (TNotebook a) -> IO CInt---- | usage: (@notebookGetSelection obj@).-notebookGetSelection :: Notebook  a ->  IO Int-notebookGetSelection _obj -  = withIntResult $-    withObjectRef "notebookGetSelection" _obj $ \cobj__obj -> -    wxNotebook_GetSelection cobj__obj  -foreign import ccall "wxNotebook_GetSelection" wxNotebook_GetSelection :: Ptr (TNotebook a) -> IO CInt---- | usage: (@notebookHitTest obj xy flags@).-notebookHitTest :: Notebook  a -> Point -> Ptr CInt ->  IO Int-notebookHitTest _obj xy flags -  = withIntResult $-    withObjectRef "notebookHitTest" _obj $ \cobj__obj -> -    wxNotebook_HitTest cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  flags  -foreign import ccall "wxNotebook_HitTest" wxNotebook_HitTest :: Ptr (TNotebook a) -> CInt -> CInt -> Ptr CInt -> IO CInt---- | usage: (@notebookInsertPage obj nPage pPage strText bSelect imageId@).-notebookInsertPage :: Notebook  a -> Int -> Window  c -> String -> Bool -> Int ->  IO Bool-notebookInsertPage _obj nPage pPage strText bSelect imageId -  = withBoolResult $-    withObjectRef "notebookInsertPage" _obj $ \cobj__obj -> -    withObjectPtr pPage $ \cobj_pPage -> -    withStringPtr strText $ \cobj_strText -> -    wxNotebook_InsertPage cobj__obj  (toCInt nPage)  cobj_pPage  cobj_strText  (toCBool bSelect)  (toCInt imageId)  -foreign import ccall "wxNotebook_InsertPage" wxNotebook_InsertPage :: Ptr (TNotebook a) -> CInt -> Ptr (TWindow c) -> Ptr (TWxString d) -> CBool -> CInt -> IO CBool---- | usage: (@notebookRemovePage obj nPage@).-notebookRemovePage :: Notebook  a -> Int ->  IO Bool-notebookRemovePage _obj nPage -  = withBoolResult $-    withObjectRef "notebookRemovePage" _obj $ \cobj__obj -> -    wxNotebook_RemovePage cobj__obj  (toCInt nPage)  -foreign import ccall "wxNotebook_RemovePage" wxNotebook_RemovePage :: Ptr (TNotebook a) -> CInt -> IO CBool---- | usage: (@notebookSetImageList obj imageList@).-notebookSetImageList :: Notebook  a -> ImageList  b ->  IO ()-notebookSetImageList _obj imageList -  = withObjectRef "notebookSetImageList" _obj $ \cobj__obj -> -    withObjectPtr imageList $ \cobj_imageList -> -    wxNotebook_SetImageList cobj__obj  cobj_imageList  -foreign import ccall "wxNotebook_SetImageList" wxNotebook_SetImageList :: Ptr (TNotebook a) -> Ptr (TImageList b) -> IO ()---- | usage: (@notebookSetPadding obj wh@).-notebookSetPadding :: Notebook  a -> Size ->  IO ()-notebookSetPadding _obj _wh -  = withObjectRef "notebookSetPadding" _obj $ \cobj__obj -> -    wxNotebook_SetPadding cobj__obj  (toCIntSizeW _wh) (toCIntSizeH _wh)  -foreign import ccall "wxNotebook_SetPadding" wxNotebook_SetPadding :: Ptr (TNotebook a) -> CInt -> CInt -> IO ()---- | usage: (@notebookSetPageImage obj nPage nImage@).-notebookSetPageImage :: Notebook  a -> Int -> Int ->  IO Bool-notebookSetPageImage _obj nPage nImage -  = withBoolResult $-    withObjectRef "notebookSetPageImage" _obj $ \cobj__obj -> -    wxNotebook_SetPageImage cobj__obj  (toCInt nPage)  (toCInt nImage)  -foreign import ccall "wxNotebook_SetPageImage" wxNotebook_SetPageImage :: Ptr (TNotebook a) -> CInt -> CInt -> IO CBool---- | usage: (@notebookSetPageSize obj wh@).-notebookSetPageSize :: Notebook  a -> Size ->  IO ()-notebookSetPageSize _obj _wh -  = withObjectRef "notebookSetPageSize" _obj $ \cobj__obj -> -    wxNotebook_SetPageSize cobj__obj  (toCIntSizeW _wh) (toCIntSizeH _wh)  -foreign import ccall "wxNotebook_SetPageSize" wxNotebook_SetPageSize :: Ptr (TNotebook a) -> CInt -> CInt -> IO ()---- | usage: (@notebookSetPageText obj nPage strText@).-notebookSetPageText :: Notebook  a -> Int -> String ->  IO Bool-notebookSetPageText _obj nPage strText -  = withBoolResult $-    withObjectRef "notebookSetPageText" _obj $ \cobj__obj -> -    withStringPtr strText $ \cobj_strText -> -    wxNotebook_SetPageText cobj__obj  (toCInt nPage)  cobj_strText  -foreign import ccall "wxNotebook_SetPageText" wxNotebook_SetPageText :: Ptr (TNotebook a) -> CInt -> Ptr (TWxString c) -> IO CBool---- | usage: (@notebookSetSelection obj nPage@).-notebookSetSelection :: Notebook  a -> Int ->  IO Int-notebookSetSelection _obj nPage -  = withIntResult $-    withObjectRef "notebookSetSelection" _obj $ \cobj__obj -> -    wxNotebook_SetSelection cobj__obj  (toCInt nPage)  -foreign import ccall "wxNotebook_SetSelection" wxNotebook_SetSelection :: Ptr (TNotebook a) -> CInt -> IO CInt---- | usage: (@notifyEventAllow obj@).-notifyEventAllow :: NotifyEvent  a ->  IO ()-notifyEventAllow _obj -  = withObjectRef "notifyEventAllow" _obj $ \cobj__obj -> -    wxNotifyEvent_Allow cobj__obj  -foreign import ccall "wxNotifyEvent_Allow" wxNotifyEvent_Allow :: Ptr (TNotifyEvent a) -> IO ()---- | usage: (@notifyEventCopyObject obj objectdest@).-notifyEventCopyObject :: NotifyEvent  a -> Ptr  b ->  IO ()-notifyEventCopyObject _obj objectdest -  = withObjectRef "notifyEventCopyObject" _obj $ \cobj__obj -> -    wxNotifyEvent_CopyObject cobj__obj  objectdest  -foreign import ccall "wxNotifyEvent_CopyObject" wxNotifyEvent_CopyObject :: Ptr (TNotifyEvent a) -> Ptr  b -> IO ()---- | usage: (@notifyEventIsAllowed obj@).-notifyEventIsAllowed :: NotifyEvent  a ->  IO Bool-notifyEventIsAllowed _obj -  = withBoolResult $-    withObjectRef "notifyEventIsAllowed" _obj $ \cobj__obj -> -    wxNotifyEvent_IsAllowed cobj__obj  -foreign import ccall "wxNotifyEvent_IsAllowed" wxNotifyEvent_IsAllowed :: Ptr (TNotifyEvent a) -> IO CBool---- | usage: (@notifyEventVeto obj@).-notifyEventVeto :: NotifyEvent  a ->  IO ()-notifyEventVeto _obj -  = withObjectRef "notifyEventVeto" _obj $ \cobj__obj -> -    wxNotifyEvent_Veto cobj__obj  -foreign import ccall "wxNotifyEvent_Veto" wxNotifyEvent_Veto :: Ptr (TNotifyEvent a) -> IO ()---- | usage: (@nullAcceleratorTable@).-nullAcceleratorTable :: AcceleratorTable  ()-nullAcceleratorTable -  = unsafePerformIO $-    withObjectResult $-    wx_Null_AcceleratorTable -foreign import ccall "Null_AcceleratorTable" wx_Null_AcceleratorTable :: IO (Ptr (TAcceleratorTable ()))---- | usage: (@nullBitmap@).-nullBitmap :: Bitmap  ()-nullBitmap -  = unsafePerformIO $-    withManagedBitmapResult $-    wx_Null_Bitmap -foreign import ccall "Null_Bitmap" wx_Null_Bitmap :: IO (Ptr (TBitmap ()))---- | usage: (@nullBrush@).-nullBrush :: Brush  ()-nullBrush -  = unsafePerformIO $-    withManagedBrushResult $-    wx_Null_Brush -foreign import ccall "Null_Brush" wx_Null_Brush :: IO (Ptr (TBrush ()))---- | usage: (@nullColour@).-nullColour :: Color-nullColour -  = unsafePerformIO $-    withManagedColourResult $-    wx_Null_Colour -foreign import ccall "Null_Colour" wx_Null_Colour :: IO (Ptr (TColour ()))---- | usage: (@nullCursor@).-nullCursor :: Cursor  ()-nullCursor -  = unsafePerformIO $-    withManagedCursorResult $-    wx_Null_Cursor -foreign import ccall "Null_Cursor" wx_Null_Cursor :: IO (Ptr (TCursor ()))---- | usage: (@nullFont@).-nullFont :: Font  ()-nullFont -  = unsafePerformIO $-    withManagedFontResult $-    wx_Null_Font -foreign import ccall "Null_Font" wx_Null_Font :: IO (Ptr (TFont ()))---- | usage: (@nullHDBC@).-nullHDBC :: HDBC  ()-nullHDBC -  = unsafePerformIO $-    withObjectResult $-    wx_Null_HDBC -foreign import ccall "Null_HDBC" wx_Null_HDBC :: IO (Ptr (THDBC ()))---- | usage: (@nullHENV@).-nullHENV :: HENV  ()-nullHENV -  = unsafePerformIO $-    withObjectResult $-    wx_Null_HENV -foreign import ccall "Null_HENV" wx_Null_HENV :: IO (Ptr (THENV ()))---- | usage: (@nullHSTMT@).-nullHSTMT :: HSTMT  ()-nullHSTMT -  = unsafePerformIO $-    withObjectResult $-    wx_Null_HSTMT -foreign import ccall "Null_HSTMT" wx_Null_HSTMT :: IO (Ptr (THSTMT ()))---- | usage: (@nullIcon@).-nullIcon :: Icon  ()-nullIcon -  = unsafePerformIO $-    withManagedIconResult $-    wx_Null_Icon -foreign import ccall "Null_Icon" wx_Null_Icon :: IO (Ptr (TIcon ()))---- | usage: (@nullPalette@).-nullPalette :: Palette  ()-nullPalette -  = unsafePerformIO $-    withObjectResult $-    wx_Null_Palette -foreign import ccall "Null_Palette" wx_Null_Palette :: IO (Ptr (TPalette ()))---- | usage: (@nullPen@).-nullPen :: Pen  ()-nullPen -  = unsafePerformIO $-    withManagedPenResult $-    wx_Null_Pen -foreign import ccall "Null_Pen" wx_Null_Pen :: IO (Ptr (TPen ()))---- | usage: (@objectGetClassInfo obj@).-objectGetClassInfo :: WxObject  a ->  IO (ClassInfo  ())-objectGetClassInfo _obj -  = withObjectResult $-    withObjectRef "objectGetClassInfo" _obj $ \cobj__obj -> -    wxObject_GetClassInfo cobj__obj  -foreign import ccall "wxObject_GetClassInfo" wxObject_GetClassInfo :: Ptr (TWxObject a) -> IO (Ptr (TClassInfo ()))--{- |  Get the reference data of an object as a closure: only works if properly initialized. Use 'closureGetData' to get to the actual data.  -}-objectGetClientClosure :: WxObject  a ->  IO (Closure  ())-objectGetClientClosure _obj -  = withObjectResult $-    withObjectRef "objectGetClientClosure" _obj $ \cobj__obj -> -    wxObject_GetClientClosure cobj__obj  -foreign import ccall "wxObject_GetClientClosure" wxObject_GetClientClosure :: Ptr (TWxObject a) -> IO (Ptr (TClosure ()))---- | usage: (@objectIsKindOf obj classInfo@).-objectIsKindOf :: WxObject  a -> ClassInfo  b ->  IO Bool-objectIsKindOf _obj classInfo -  = withBoolResult $-    withObjectRef "objectIsKindOf" _obj $ \cobj__obj -> -    withObjectPtr classInfo $ \cobj_classInfo -> -    wxObject_IsKindOf cobj__obj  cobj_classInfo  -foreign import ccall "wxObject_IsKindOf" wxObject_IsKindOf :: Ptr (TWxObject a) -> Ptr (TClassInfo b) -> IO CBool---- | usage: (@objectIsScrolledWindow obj@).-objectIsScrolledWindow :: WxObject  a ->  IO Bool-objectIsScrolledWindow _obj -  = withBoolResult $-    withObjectRef "objectIsScrolledWindow" _obj $ \cobj__obj -> -    wxObject_IsScrolledWindow cobj__obj  -foreign import ccall "wxObject_IsScrolledWindow" wxObject_IsScrolledWindow :: Ptr (TWxObject a) -> IO CBool---- | usage: (@objectSafeDelete self@).-objectSafeDelete :: WxObject  a ->  IO ()-objectSafeDelete self -  = withObjectPtr self $ \cobj_self -> -    wxObject_SafeDelete cobj_self  -foreign import ccall "wxObject_SafeDelete" wxObject_SafeDelete :: Ptr (TWxObject a) -> IO ()--{- |  Set the reference data of an object as a closure. The closure data contains the data while the function is called on deletion. Returns 'True' on success. Only works if the reference data is unused by wxWindows!  -}-objectSetClientClosure :: WxObject  a -> Closure  b ->  IO ()-objectSetClientClosure _obj closure -  = withObjectRef "objectSetClientClosure" _obj $ \cobj__obj -> -    withObjectPtr closure $ \cobj_closure -> -    wxObject_SetClientClosure cobj__obj  cobj_closure  -foreign import ccall "wxObject_SetClientClosure" wxObject_SetClientClosure :: Ptr (TWxObject a) -> Ptr (TClosure b) -> IO ()---- | usage: (@outputStreamDelete obj@).-outputStreamDelete :: OutputStream  a ->  IO ()-outputStreamDelete _obj -  = withObjectRef "outputStreamDelete" _obj $ \cobj__obj -> -    wxOutputStream_Delete cobj__obj  -foreign import ccall "wxOutputStream_Delete" wxOutputStream_Delete :: Ptr (TOutputStream a) -> IO ()---- | usage: (@outputStreamLastWrite obj@).-outputStreamLastWrite :: OutputStream  a ->  IO Int-outputStreamLastWrite _obj -  = withIntResult $-    withObjectRef "outputStreamLastWrite" _obj $ \cobj__obj -> -    wxOutputStream_LastWrite cobj__obj  -foreign import ccall "wxOutputStream_LastWrite" wxOutputStream_LastWrite :: Ptr (TOutputStream a) -> IO CInt---- | usage: (@outputStreamPutC obj c@).-outputStreamPutC :: OutputStream  a -> Char ->  IO ()-outputStreamPutC _obj c -  = withObjectRef "outputStreamPutC" _obj $ \cobj__obj -> -    wxOutputStream_PutC cobj__obj  (toCWchar c)  -foreign import ccall "wxOutputStream_PutC" wxOutputStream_PutC :: Ptr (TOutputStream a) -> CWchar -> IO ()---- | usage: (@outputStreamSeek obj pos mode@).-outputStreamSeek :: OutputStream  a -> Int -> Int ->  IO Int-outputStreamSeek _obj pos mode -  = withIntResult $-    withObjectRef "outputStreamSeek" _obj $ \cobj__obj -> -    wxOutputStream_Seek cobj__obj  (toCInt pos)  (toCInt mode)  -foreign import ccall "wxOutputStream_Seek" wxOutputStream_Seek :: Ptr (TOutputStream a) -> CInt -> CInt -> IO CInt---- | usage: (@outputStreamSync obj@).-outputStreamSync :: OutputStream  a ->  IO ()-outputStreamSync _obj -  = withObjectRef "outputStreamSync" _obj $ \cobj__obj -> -    wxOutputStream_Sync cobj__obj  -foreign import ccall "wxOutputStream_Sync" wxOutputStream_Sync :: Ptr (TOutputStream a) -> IO ()---- | usage: (@outputStreamTell obj@).-outputStreamTell :: OutputStream  a ->  IO Int-outputStreamTell _obj -  = withIntResult $-    withObjectRef "outputStreamTell" _obj $ \cobj__obj -> -    wxOutputStream_Tell cobj__obj  -foreign import ccall "wxOutputStream_Tell" wxOutputStream_Tell :: Ptr (TOutputStream a) -> IO CInt---- | usage: (@outputStreamWrite obj buffer size@).-outputStreamWrite :: OutputStream  a -> Ptr  b -> Int ->  IO ()-outputStreamWrite _obj buffer size -  = withObjectRef "outputStreamWrite" _obj $ \cobj__obj -> -    wxOutputStream_Write cobj__obj  buffer  (toCInt size)  -foreign import ccall "wxOutputStream_Write" wxOutputStream_Write :: Ptr (TOutputStream a) -> Ptr  b -> CInt -> IO ()---- | usage: (@pageSetupDialogCreate parent wxdata@).-pageSetupDialogCreate :: Window  a -> PageSetupDialogData  b ->  IO (PageSetupDialog  ())-pageSetupDialogCreate parent wxdata -  = withObjectResult $-    withObjectPtr parent $ \cobj_parent -> -    withObjectPtr wxdata $ \cobj_wxdata -> -    wxPageSetupDialog_Create cobj_parent  cobj_wxdata  -foreign import ccall "wxPageSetupDialog_Create" wxPageSetupDialog_Create :: Ptr (TWindow a) -> Ptr (TPageSetupDialogData b) -> IO (Ptr (TPageSetupDialog ()))---- | usage: (@pageSetupDialogDataAssign obj@).-pageSetupDialogDataAssign :: PageSetupDialogData  a ->  IO (PageSetupDialogData  ())-pageSetupDialogDataAssign _obj -  = withRefPageSetupDialogData $ \pref -> -    withObjectRef "pageSetupDialogDataAssign" _obj $ \cobj__obj -> -    wxPageSetupDialogData_Assign cobj__obj   pref-foreign import ccall "wxPageSetupDialogData_Assign" wxPageSetupDialogData_Assign :: Ptr (TPageSetupDialogData a) -> Ptr (TPageSetupDialogData ()) -> IO ()---- | usage: (@pageSetupDialogDataAssignData obj printData@).-pageSetupDialogDataAssignData :: PageSetupDialogData  a -> PrintData  b ->  IO ()-pageSetupDialogDataAssignData _obj printData -  = withObjectRef "pageSetupDialogDataAssignData" _obj $ \cobj__obj -> -    withObjectPtr printData $ \cobj_printData -> -    wxPageSetupDialogData_AssignData cobj__obj  cobj_printData  -foreign import ccall "wxPageSetupDialogData_AssignData" wxPageSetupDialogData_AssignData :: Ptr (TPageSetupDialogData a) -> Ptr (TPrintData b) -> IO ()---- | usage: (@pageSetupDialogDataCalculateIdFromPaperSize obj@).-pageSetupDialogDataCalculateIdFromPaperSize :: PageSetupDialogData  a ->  IO ()-pageSetupDialogDataCalculateIdFromPaperSize _obj -  = withObjectRef "pageSetupDialogDataCalculateIdFromPaperSize" _obj $ \cobj__obj -> -    wxPageSetupDialogData_CalculateIdFromPaperSize cobj__obj  -foreign import ccall "wxPageSetupDialogData_CalculateIdFromPaperSize" wxPageSetupDialogData_CalculateIdFromPaperSize :: Ptr (TPageSetupDialogData a) -> IO ()---- | usage: (@pageSetupDialogDataCalculatePaperSizeFromId obj@).-pageSetupDialogDataCalculatePaperSizeFromId :: PageSetupDialogData  a ->  IO ()-pageSetupDialogDataCalculatePaperSizeFromId _obj -  = withObjectRef "pageSetupDialogDataCalculatePaperSizeFromId" _obj $ \cobj__obj -> -    wxPageSetupDialogData_CalculatePaperSizeFromId cobj__obj  -foreign import ccall "wxPageSetupDialogData_CalculatePaperSizeFromId" wxPageSetupDialogData_CalculatePaperSizeFromId :: Ptr (TPageSetupDialogData a) -> IO ()---- | usage: (@pageSetupDialogDataCreate@).-pageSetupDialogDataCreate ::  IO (PageSetupDialogData  ())-pageSetupDialogDataCreate -  = withManagedObjectResult $-    wxPageSetupDialogData_Create -foreign import ccall "wxPageSetupDialogData_Create" wxPageSetupDialogData_Create :: IO (Ptr (TPageSetupDialogData ()))---- | usage: (@pageSetupDialogDataCreateFromData printData@).-pageSetupDialogDataCreateFromData :: PrintData  a ->  IO (PageSetupDialogData  ())-pageSetupDialogDataCreateFromData printData -  = withManagedObjectResult $-    withObjectPtr printData $ \cobj_printData -> -    wxPageSetupDialogData_CreateFromData cobj_printData  -foreign import ccall "wxPageSetupDialogData_CreateFromData" wxPageSetupDialogData_CreateFromData :: Ptr (TPrintData a) -> IO (Ptr (TPageSetupDialogData ()))---- | usage: (@pageSetupDialogDataDelete obj@).-pageSetupDialogDataDelete :: PageSetupDialogData  a ->  IO ()-pageSetupDialogDataDelete-  = objectDelete----- | usage: (@pageSetupDialogDataEnableHelp obj flag@).-pageSetupDialogDataEnableHelp :: PageSetupDialogData  a -> Bool ->  IO ()-pageSetupDialogDataEnableHelp _obj flag -  = withObjectRef "pageSetupDialogDataEnableHelp" _obj $ \cobj__obj -> -    wxPageSetupDialogData_EnableHelp cobj__obj  (toCBool flag)  -foreign import ccall "wxPageSetupDialogData_EnableHelp" wxPageSetupDialogData_EnableHelp :: Ptr (TPageSetupDialogData a) -> CBool -> IO ()---- | usage: (@pageSetupDialogDataEnableMargins obj flag@).-pageSetupDialogDataEnableMargins :: PageSetupDialogData  a -> Bool ->  IO ()-pageSetupDialogDataEnableMargins _obj flag -  = withObjectRef "pageSetupDialogDataEnableMargins" _obj $ \cobj__obj -> -    wxPageSetupDialogData_EnableMargins cobj__obj  (toCBool flag)  -foreign import ccall "wxPageSetupDialogData_EnableMargins" wxPageSetupDialogData_EnableMargins :: Ptr (TPageSetupDialogData a) -> CBool -> IO ()---- | usage: (@pageSetupDialogDataEnableOrientation obj flag@).-pageSetupDialogDataEnableOrientation :: PageSetupDialogData  a -> Bool ->  IO ()-pageSetupDialogDataEnableOrientation _obj flag -  = withObjectRef "pageSetupDialogDataEnableOrientation" _obj $ \cobj__obj -> -    wxPageSetupDialogData_EnableOrientation cobj__obj  (toCBool flag)  -foreign import ccall "wxPageSetupDialogData_EnableOrientation" wxPageSetupDialogData_EnableOrientation :: Ptr (TPageSetupDialogData a) -> CBool -> IO ()---- | usage: (@pageSetupDialogDataEnablePaper obj flag@).-pageSetupDialogDataEnablePaper :: PageSetupDialogData  a -> Bool ->  IO ()-pageSetupDialogDataEnablePaper _obj flag -  = withObjectRef "pageSetupDialogDataEnablePaper" _obj $ \cobj__obj -> -    wxPageSetupDialogData_EnablePaper cobj__obj  (toCBool flag)  -foreign import ccall "wxPageSetupDialogData_EnablePaper" wxPageSetupDialogData_EnablePaper :: Ptr (TPageSetupDialogData a) -> CBool -> IO ()---- | usage: (@pageSetupDialogDataEnablePrinter obj flag@).-pageSetupDialogDataEnablePrinter :: PageSetupDialogData  a -> Bool ->  IO ()-pageSetupDialogDataEnablePrinter _obj flag -  = withObjectRef "pageSetupDialogDataEnablePrinter" _obj $ \cobj__obj -> -    wxPageSetupDialogData_EnablePrinter cobj__obj  (toCBool flag)  -foreign import ccall "wxPageSetupDialogData_EnablePrinter" wxPageSetupDialogData_EnablePrinter :: Ptr (TPageSetupDialogData a) -> CBool -> IO ()---- | usage: (@pageSetupDialogDataGetDefaultInfo obj@).-pageSetupDialogDataGetDefaultInfo :: PageSetupDialogData  a ->  IO Bool-pageSetupDialogDataGetDefaultInfo _obj -  = withBoolResult $-    withObjectRef "pageSetupDialogDataGetDefaultInfo" _obj $ \cobj__obj -> -    wxPageSetupDialogData_GetDefaultInfo cobj__obj  -foreign import ccall "wxPageSetupDialogData_GetDefaultInfo" wxPageSetupDialogData_GetDefaultInfo :: Ptr (TPageSetupDialogData a) -> IO CBool---- | usage: (@pageSetupDialogDataGetDefaultMinMargins obj@).-pageSetupDialogDataGetDefaultMinMargins :: PageSetupDialogData  a ->  IO Bool-pageSetupDialogDataGetDefaultMinMargins _obj -  = withBoolResult $-    withObjectRef "pageSetupDialogDataGetDefaultMinMargins" _obj $ \cobj__obj -> -    wxPageSetupDialogData_GetDefaultMinMargins cobj__obj  -foreign import ccall "wxPageSetupDialogData_GetDefaultMinMargins" wxPageSetupDialogData_GetDefaultMinMargins :: Ptr (TPageSetupDialogData a) -> IO CBool---- | usage: (@pageSetupDialogDataGetEnableHelp obj@).-pageSetupDialogDataGetEnableHelp :: PageSetupDialogData  a ->  IO Bool-pageSetupDialogDataGetEnableHelp _obj -  = withBoolResult $-    withObjectRef "pageSetupDialogDataGetEnableHelp" _obj $ \cobj__obj -> -    wxPageSetupDialogData_GetEnableHelp cobj__obj  -foreign import ccall "wxPageSetupDialogData_GetEnableHelp" wxPageSetupDialogData_GetEnableHelp :: Ptr (TPageSetupDialogData a) -> IO CBool---- | usage: (@pageSetupDialogDataGetEnableMargins obj@).-pageSetupDialogDataGetEnableMargins :: PageSetupDialogData  a ->  IO Bool-pageSetupDialogDataGetEnableMargins _obj -  = withBoolResult $-    withObjectRef "pageSetupDialogDataGetEnableMargins" _obj $ \cobj__obj -> -    wxPageSetupDialogData_GetEnableMargins cobj__obj  -foreign import ccall "wxPageSetupDialogData_GetEnableMargins" wxPageSetupDialogData_GetEnableMargins :: Ptr (TPageSetupDialogData a) -> IO CBool---- | usage: (@pageSetupDialogDataGetEnableOrientation obj@).-pageSetupDialogDataGetEnableOrientation :: PageSetupDialogData  a ->  IO Bool-pageSetupDialogDataGetEnableOrientation _obj -  = withBoolResult $-    withObjectRef "pageSetupDialogDataGetEnableOrientation" _obj $ \cobj__obj -> -    wxPageSetupDialogData_GetEnableOrientation cobj__obj  -foreign import ccall "wxPageSetupDialogData_GetEnableOrientation" wxPageSetupDialogData_GetEnableOrientation :: Ptr (TPageSetupDialogData a) -> IO CBool---- | usage: (@pageSetupDialogDataGetEnablePaper obj@).-pageSetupDialogDataGetEnablePaper :: PageSetupDialogData  a ->  IO Bool-pageSetupDialogDataGetEnablePaper _obj -  = withBoolResult $-    withObjectRef "pageSetupDialogDataGetEnablePaper" _obj $ \cobj__obj -> -    wxPageSetupDialogData_GetEnablePaper cobj__obj  -foreign import ccall "wxPageSetupDialogData_GetEnablePaper" wxPageSetupDialogData_GetEnablePaper :: Ptr (TPageSetupDialogData a) -> IO CBool---- | usage: (@pageSetupDialogDataGetEnablePrinter obj@).-pageSetupDialogDataGetEnablePrinter :: PageSetupDialogData  a ->  IO Bool-pageSetupDialogDataGetEnablePrinter _obj -  = withBoolResult $-    withObjectRef "pageSetupDialogDataGetEnablePrinter" _obj $ \cobj__obj -> -    wxPageSetupDialogData_GetEnablePrinter cobj__obj  -foreign import ccall "wxPageSetupDialogData_GetEnablePrinter" wxPageSetupDialogData_GetEnablePrinter :: Ptr (TPageSetupDialogData a) -> IO CBool---- | usage: (@pageSetupDialogDataGetMarginBottomRight obj@).-pageSetupDialogDataGetMarginBottomRight :: PageSetupDialogData  a ->  IO (Point)-pageSetupDialogDataGetMarginBottomRight _obj -  = withWxPointResult $-    withObjectRef "pageSetupDialogDataGetMarginBottomRight" _obj $ \cobj__obj -> -    wxPageSetupDialogData_GetMarginBottomRight cobj__obj  -foreign import ccall "wxPageSetupDialogData_GetMarginBottomRight" wxPageSetupDialogData_GetMarginBottomRight :: Ptr (TPageSetupDialogData a) -> IO (Ptr (TWxPoint ()))---- | usage: (@pageSetupDialogDataGetMarginTopLeft obj@).-pageSetupDialogDataGetMarginTopLeft :: PageSetupDialogData  a ->  IO (Point)-pageSetupDialogDataGetMarginTopLeft _obj -  = withWxPointResult $-    withObjectRef "pageSetupDialogDataGetMarginTopLeft" _obj $ \cobj__obj -> -    wxPageSetupDialogData_GetMarginTopLeft cobj__obj  -foreign import ccall "wxPageSetupDialogData_GetMarginTopLeft" wxPageSetupDialogData_GetMarginTopLeft :: Ptr (TPageSetupDialogData a) -> IO (Ptr (TWxPoint ()))---- | usage: (@pageSetupDialogDataGetMinMarginBottomRight obj@).-pageSetupDialogDataGetMinMarginBottomRight :: PageSetupDialogData  a ->  IO (Point)-pageSetupDialogDataGetMinMarginBottomRight _obj -  = withWxPointResult $-    withObjectRef "pageSetupDialogDataGetMinMarginBottomRight" _obj $ \cobj__obj -> -    wxPageSetupDialogData_GetMinMarginBottomRight cobj__obj  -foreign import ccall "wxPageSetupDialogData_GetMinMarginBottomRight" wxPageSetupDialogData_GetMinMarginBottomRight :: Ptr (TPageSetupDialogData a) -> IO (Ptr (TWxPoint ()))---- | usage: (@pageSetupDialogDataGetMinMarginTopLeft obj@).-pageSetupDialogDataGetMinMarginTopLeft :: PageSetupDialogData  a ->  IO (Point)-pageSetupDialogDataGetMinMarginTopLeft _obj -  = withWxPointResult $-    withObjectRef "pageSetupDialogDataGetMinMarginTopLeft" _obj $ \cobj__obj -> -    wxPageSetupDialogData_GetMinMarginTopLeft cobj__obj  -foreign import ccall "wxPageSetupDialogData_GetMinMarginTopLeft" wxPageSetupDialogData_GetMinMarginTopLeft :: Ptr (TPageSetupDialogData a) -> IO (Ptr (TWxPoint ()))---- | usage: (@pageSetupDialogDataGetPaperId obj@).-pageSetupDialogDataGetPaperId :: PageSetupDialogData  a ->  IO Int-pageSetupDialogDataGetPaperId _obj -  = withIntResult $-    withObjectRef "pageSetupDialogDataGetPaperId" _obj $ \cobj__obj -> -    wxPageSetupDialogData_GetPaperId cobj__obj  -foreign import ccall "wxPageSetupDialogData_GetPaperId" wxPageSetupDialogData_GetPaperId :: Ptr (TPageSetupDialogData a) -> IO CInt---- | usage: (@pageSetupDialogDataGetPaperSize obj@).-pageSetupDialogDataGetPaperSize :: PageSetupDialogData  a ->  IO (Size)-pageSetupDialogDataGetPaperSize _obj -  = withWxSizeResult $-    withObjectRef "pageSetupDialogDataGetPaperSize" _obj $ \cobj__obj -> -    wxPageSetupDialogData_GetPaperSize cobj__obj  -foreign import ccall "wxPageSetupDialogData_GetPaperSize" wxPageSetupDialogData_GetPaperSize :: Ptr (TPageSetupDialogData a) -> IO (Ptr (TWxSize ()))---- | usage: (@pageSetupDialogDataGetPrintData obj@).-pageSetupDialogDataGetPrintData :: PageSetupDialogData  a ->  IO (PrintData  ())-pageSetupDialogDataGetPrintData _obj -  = withRefPrintData $ \pref -> -    withObjectRef "pageSetupDialogDataGetPrintData" _obj $ \cobj__obj -> -    wxPageSetupDialogData_GetPrintData cobj__obj   pref-foreign import ccall "wxPageSetupDialogData_GetPrintData" wxPageSetupDialogData_GetPrintData :: Ptr (TPageSetupDialogData a) -> Ptr (TPrintData ()) -> IO ()---- | usage: (@pageSetupDialogDataSetDefaultInfo obj flag@).-pageSetupDialogDataSetDefaultInfo :: PageSetupDialogData  a -> Bool ->  IO ()-pageSetupDialogDataSetDefaultInfo _obj flag -  = withObjectRef "pageSetupDialogDataSetDefaultInfo" _obj $ \cobj__obj -> -    wxPageSetupDialogData_SetDefaultInfo cobj__obj  (toCBool flag)  -foreign import ccall "wxPageSetupDialogData_SetDefaultInfo" wxPageSetupDialogData_SetDefaultInfo :: Ptr (TPageSetupDialogData a) -> CBool -> IO ()---- | usage: (@pageSetupDialogDataSetDefaultMinMargins obj flag@).-pageSetupDialogDataSetDefaultMinMargins :: PageSetupDialogData  a -> Int ->  IO ()-pageSetupDialogDataSetDefaultMinMargins _obj flag -  = withObjectRef "pageSetupDialogDataSetDefaultMinMargins" _obj $ \cobj__obj -> -    wxPageSetupDialogData_SetDefaultMinMargins cobj__obj  (toCInt flag)  -foreign import ccall "wxPageSetupDialogData_SetDefaultMinMargins" wxPageSetupDialogData_SetDefaultMinMargins :: Ptr (TPageSetupDialogData a) -> CInt -> IO ()---- | usage: (@pageSetupDialogDataSetMarginBottomRight obj xy@).-pageSetupDialogDataSetMarginBottomRight :: PageSetupDialogData  a -> Point ->  IO ()-pageSetupDialogDataSetMarginBottomRight _obj xy -  = withObjectRef "pageSetupDialogDataSetMarginBottomRight" _obj $ \cobj__obj -> -    wxPageSetupDialogData_SetMarginBottomRight cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  -foreign import ccall "wxPageSetupDialogData_SetMarginBottomRight" wxPageSetupDialogData_SetMarginBottomRight :: Ptr (TPageSetupDialogData a) -> CInt -> CInt -> IO ()---- | usage: (@pageSetupDialogDataSetMarginTopLeft obj xy@).-pageSetupDialogDataSetMarginTopLeft :: PageSetupDialogData  a -> Point ->  IO ()-pageSetupDialogDataSetMarginTopLeft _obj xy -  = withObjectRef "pageSetupDialogDataSetMarginTopLeft" _obj $ \cobj__obj -> -    wxPageSetupDialogData_SetMarginTopLeft cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  -foreign import ccall "wxPageSetupDialogData_SetMarginTopLeft" wxPageSetupDialogData_SetMarginTopLeft :: Ptr (TPageSetupDialogData a) -> CInt -> CInt -> IO ()---- | usage: (@pageSetupDialogDataSetMinMarginBottomRight obj xy@).-pageSetupDialogDataSetMinMarginBottomRight :: PageSetupDialogData  a -> Point ->  IO ()-pageSetupDialogDataSetMinMarginBottomRight _obj xy -  = withObjectRef "pageSetupDialogDataSetMinMarginBottomRight" _obj $ \cobj__obj -> -    wxPageSetupDialogData_SetMinMarginBottomRight cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  -foreign import ccall "wxPageSetupDialogData_SetMinMarginBottomRight" wxPageSetupDialogData_SetMinMarginBottomRight :: Ptr (TPageSetupDialogData a) -> CInt -> CInt -> IO ()---- | usage: (@pageSetupDialogDataSetMinMarginTopLeft obj xy@).-pageSetupDialogDataSetMinMarginTopLeft :: PageSetupDialogData  a -> Point ->  IO ()-pageSetupDialogDataSetMinMarginTopLeft _obj xy -  = withObjectRef "pageSetupDialogDataSetMinMarginTopLeft" _obj $ \cobj__obj -> -    wxPageSetupDialogData_SetMinMarginTopLeft cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  -foreign import ccall "wxPageSetupDialogData_SetMinMarginTopLeft" wxPageSetupDialogData_SetMinMarginTopLeft :: Ptr (TPageSetupDialogData a) -> CInt -> CInt -> IO ()---- | usage: (@pageSetupDialogDataSetPaperId obj id@).-pageSetupDialogDataSetPaperId :: PageSetupDialogData  a -> Ptr  b ->  IO ()-pageSetupDialogDataSetPaperId _obj id -  = withObjectRef "pageSetupDialogDataSetPaperId" _obj $ \cobj__obj -> -    wxPageSetupDialogData_SetPaperId cobj__obj  id  -foreign import ccall "wxPageSetupDialogData_SetPaperId" wxPageSetupDialogData_SetPaperId :: Ptr (TPageSetupDialogData a) -> Ptr  b -> IO ()---- | usage: (@pageSetupDialogDataSetPaperSize obj wh@).-pageSetupDialogDataSetPaperSize :: PageSetupDialogData  a -> Size ->  IO ()-pageSetupDialogDataSetPaperSize _obj wh -  = withObjectRef "pageSetupDialogDataSetPaperSize" _obj $ \cobj__obj -> -    wxPageSetupDialogData_SetPaperSize cobj__obj  (toCIntSizeW wh) (toCIntSizeH wh)  -foreign import ccall "wxPageSetupDialogData_SetPaperSize" wxPageSetupDialogData_SetPaperSize :: Ptr (TPageSetupDialogData a) -> CInt -> CInt -> IO ()---- | usage: (@pageSetupDialogDataSetPaperSizeId obj id@).-pageSetupDialogDataSetPaperSizeId :: PageSetupDialogData  a -> Id ->  IO ()-pageSetupDialogDataSetPaperSizeId _obj id -  = withObjectRef "pageSetupDialogDataSetPaperSizeId" _obj $ \cobj__obj -> -    wxPageSetupDialogData_SetPaperSizeId cobj__obj  (toCInt id)  -foreign import ccall "wxPageSetupDialogData_SetPaperSizeId" wxPageSetupDialogData_SetPaperSizeId :: Ptr (TPageSetupDialogData a) -> CInt -> IO ()---- | usage: (@pageSetupDialogDataSetPrintData obj printData@).-pageSetupDialogDataSetPrintData :: PageSetupDialogData  a -> PrintData  b ->  IO ()-pageSetupDialogDataSetPrintData _obj printData -  = withObjectRef "pageSetupDialogDataSetPrintData" _obj $ \cobj__obj -> -    withObjectPtr printData $ \cobj_printData -> -    wxPageSetupDialogData_SetPrintData cobj__obj  cobj_printData  -foreign import ccall "wxPageSetupDialogData_SetPrintData" wxPageSetupDialogData_SetPrintData :: Ptr (TPageSetupDialogData a) -> Ptr (TPrintData b) -> IO ()---- | usage: (@pageSetupDialogGetPageSetupData obj@).-pageSetupDialogGetPageSetupData :: PageSetupDialog  a ->  IO (PageSetupDialogData  ())-pageSetupDialogGetPageSetupData _obj -  = withRefPageSetupDialogData $ \pref -> -    withObjectRef "pageSetupDialogGetPageSetupData" _obj $ \cobj__obj -> -    wxPageSetupDialog_GetPageSetupData cobj__obj   pref-foreign import ccall "wxPageSetupDialog_GetPageSetupData" wxPageSetupDialog_GetPageSetupData :: Ptr (TPageSetupDialog a) -> Ptr (TPageSetupDialogData ()) -> IO ()---- | usage: (@paintDCCreate win@).-paintDCCreate :: Window  a ->  IO (PaintDC  ())-paintDCCreate win -  = withObjectResult $-    withObjectPtr win $ \cobj_win -> -    wxPaintDC_Create cobj_win  -foreign import ccall "wxPaintDC_Create" wxPaintDC_Create :: Ptr (TWindow a) -> IO (Ptr (TPaintDC ()))---- | usage: (@paintDCDelete obj@).-paintDCDelete :: PaintDC  a ->  IO ()-paintDCDelete-  = objectDelete----- | usage: (@paletteAssign obj palette@).-paletteAssign :: Palette  a -> Palette  b ->  IO ()-paletteAssign _obj palette -  = withObjectRef "paletteAssign" _obj $ \cobj__obj -> -    withObjectPtr palette $ \cobj_palette -> -    wxPalette_Assign cobj__obj  cobj_palette  -foreign import ccall "wxPalette_Assign" wxPalette_Assign :: Ptr (TPalette a) -> Ptr (TPalette b) -> IO ()---- | usage: (@paletteChangedEventCopyObject obj obj@).-paletteChangedEventCopyObject :: PaletteChangedEvent  a -> Ptr  b ->  IO ()-paletteChangedEventCopyObject _obj obj -  = withObjectRef "paletteChangedEventCopyObject" _obj $ \cobj__obj -> -    wxPaletteChangedEvent_CopyObject cobj__obj  obj  -foreign import ccall "wxPaletteChangedEvent_CopyObject" wxPaletteChangedEvent_CopyObject :: Ptr (TPaletteChangedEvent a) -> Ptr  b -> IO ()---- | usage: (@paletteChangedEventGetChangedWindow obj@).-paletteChangedEventGetChangedWindow :: PaletteChangedEvent  a ->  IO (Ptr  ())-paletteChangedEventGetChangedWindow _obj -  = withObjectRef "paletteChangedEventGetChangedWindow" _obj $ \cobj__obj -> -    wxPaletteChangedEvent_GetChangedWindow cobj__obj  -foreign import ccall "wxPaletteChangedEvent_GetChangedWindow" wxPaletteChangedEvent_GetChangedWindow :: Ptr (TPaletteChangedEvent a) -> IO (Ptr  ())---- | usage: (@paletteChangedEventSetChangedWindow obj win@).-paletteChangedEventSetChangedWindow :: PaletteChangedEvent  a -> Window  b ->  IO ()-paletteChangedEventSetChangedWindow _obj win -  = withObjectRef "paletteChangedEventSetChangedWindow" _obj $ \cobj__obj -> -    withObjectPtr win $ \cobj_win -> -    wxPaletteChangedEvent_SetChangedWindow cobj__obj  cobj_win  -foreign import ccall "wxPaletteChangedEvent_SetChangedWindow" wxPaletteChangedEvent_SetChangedWindow :: Ptr (TPaletteChangedEvent a) -> Ptr (TWindow b) -> IO ()---- | usage: (@paletteCreateDefault@).-paletteCreateDefault ::  IO (Palette  ())-paletteCreateDefault -  = withObjectResult $-    wxPalette_CreateDefault -foreign import ccall "wxPalette_CreateDefault" wxPalette_CreateDefault :: IO (Ptr (TPalette ()))---- | usage: (@paletteCreateRGB n red green blue@).-paletteCreateRGB :: Int -> Ptr  b -> Ptr  c -> Ptr  d ->  IO (Palette  ())-paletteCreateRGB n red green blue -  = withObjectResult $-    wxPalette_CreateRGB (toCInt n)  red  green  blue  -foreign import ccall "wxPalette_CreateRGB" wxPalette_CreateRGB :: CInt -> Ptr  b -> Ptr  c -> Ptr  d -> IO (Ptr (TPalette ()))---- | usage: (@paletteDelete obj@).-paletteDelete :: Palette  a ->  IO ()-paletteDelete-  = objectDelete----- | usage: (@paletteGetPixel obj redgreenblue@).-paletteGetPixel :: Palette  a -> Color ->  IO Int-paletteGetPixel _obj redgreenblue -  = withIntResult $-    withObjectRef "paletteGetPixel" _obj $ \cobj__obj -> -    wxPalette_GetPixel cobj__obj  (colorRed redgreenblue) (colorGreen redgreenblue) (colorBlue redgreenblue)  -foreign import ccall "wxPalette_GetPixel" wxPalette_GetPixel :: Ptr (TPalette a) -> Word8 -> Word8 -> Word8 -> IO CInt---- | usage: (@paletteGetRGB obj pixel red green blue@).-paletteGetRGB :: Palette  a -> Int -> Ptr  c -> Ptr  d -> Ptr  e ->  IO Bool-paletteGetRGB _obj pixel red green blue -  = withBoolResult $-    withObjectRef "paletteGetRGB" _obj $ \cobj__obj -> -    wxPalette_GetRGB cobj__obj  (toCInt pixel)  red  green  blue  -foreign import ccall "wxPalette_GetRGB" wxPalette_GetRGB :: Ptr (TPalette a) -> CInt -> Ptr  c -> Ptr  d -> Ptr  e -> IO CBool---- | usage: (@paletteIsEqual obj palette@).-paletteIsEqual :: Palette  a -> Palette  b ->  IO Bool-paletteIsEqual _obj palette -  = withBoolResult $-    withObjectRef "paletteIsEqual" _obj $ \cobj__obj -> -    withObjectPtr palette $ \cobj_palette -> -    wxPalette_IsEqual cobj__obj  cobj_palette  -foreign import ccall "wxPalette_IsEqual" wxPalette_IsEqual :: Ptr (TPalette a) -> Ptr (TPalette b) -> IO CBool---- | usage: (@paletteIsOk obj@).-paletteIsOk :: Palette  a ->  IO Bool-paletteIsOk _obj -  = withBoolResult $-    withObjectRef "paletteIsOk" _obj $ \cobj__obj -> -    wxPalette_IsOk cobj__obj  -foreign import ccall "wxPalette_IsOk" wxPalette_IsOk :: Ptr (TPalette a) -> IO CBool---- | usage: (@panelCreate prt id lfttopwdthgt stl@).-panelCreate :: Window  a -> Id -> Rect -> Style ->  IO (Panel  ())-panelCreate _prt _id _lfttopwdthgt _stl -  = withObjectResult $-    withObjectPtr _prt $ \cobj__prt -> -    wxPanel_Create cobj__prt  (toCInt _id)  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  (toCInt _stl)  -foreign import ccall "wxPanel_Create" wxPanel_Create :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TPanel ()))---- | usage: (@panelInitDialog obj@).-panelInitDialog :: Panel  a ->  IO ()-panelInitDialog _obj -  = withObjectRef "panelInitDialog" _obj $ \cobj__obj -> -    wxPanel_InitDialog cobj__obj  -foreign import ccall "wxPanel_InitDialog" wxPanel_InitDialog :: Ptr (TPanel a) -> IO ()---- | usage: (@panelSetFocus obj@).-panelSetFocus :: Panel  a ->  IO ()-panelSetFocus _obj -  = withObjectRef "panelSetFocus" _obj $ \cobj__obj -> -    wxPanel_SetFocus cobj__obj  -foreign import ccall "wxPanel_SetFocus" wxPanel_SetFocus :: Ptr (TPanel a) -> IO ()---- | usage: (@penAssign obj pen@).-penAssign :: Pen  a -> Pen  b ->  IO ()-penAssign _obj pen -  = withObjectRef "penAssign" _obj $ \cobj__obj -> -    withObjectPtr pen $ \cobj_pen -> -    wxPen_Assign cobj__obj  cobj_pen  -foreign import ccall "wxPen_Assign" wxPen_Assign :: Ptr (TPen a) -> Ptr (TPen b) -> IO ()---- | usage: (@penCreateDefault@).-penCreateDefault ::  IO (Pen  ())-penCreateDefault -  = withManagedPenResult $-    wxPen_CreateDefault -foreign import ccall "wxPen_CreateDefault" wxPen_CreateDefault :: IO (Ptr (TPen ()))---- | usage: (@penCreateFromBitmap stipple width@).-penCreateFromBitmap :: Bitmap  a -> Int ->  IO (Pen  ())-penCreateFromBitmap stipple width -  = withManagedPenResult $-    withObjectPtr stipple $ \cobj_stipple -> -    wxPen_CreateFromBitmap cobj_stipple  (toCInt width)  -foreign import ccall "wxPen_CreateFromBitmap" wxPen_CreateFromBitmap :: Ptr (TBitmap a) -> CInt -> IO (Ptr (TPen ()))---- | usage: (@penCreateFromColour col width style@).-penCreateFromColour :: Color -> Int -> Int ->  IO (Pen  ())-penCreateFromColour col width style -  = withManagedPenResult $-    withColourPtr col $ \cobj_col -> -    wxPen_CreateFromColour cobj_col  (toCInt width)  (toCInt style)  -foreign import ccall "wxPen_CreateFromColour" wxPen_CreateFromColour :: Ptr (TColour a) -> CInt -> CInt -> IO (Ptr (TPen ()))---- | usage: (@penCreateFromStock id@).-penCreateFromStock :: Id ->  IO (Pen  ())-penCreateFromStock id -  = withManagedPenResult $-    wxPen_CreateFromStock (toCInt id)  -foreign import ccall "wxPen_CreateFromStock" wxPen_CreateFromStock :: CInt -> IO (Ptr (TPen ()))---- | usage: (@penDelete obj@).-penDelete :: Pen  a ->  IO ()-penDelete-  = objectDelete----- | usage: (@penGetCap obj@).-penGetCap :: Pen  a ->  IO Int-penGetCap _obj -  = withIntResult $-    withObjectRef "penGetCap" _obj $ \cobj__obj -> -    wxPen_GetCap cobj__obj  -foreign import ccall "wxPen_GetCap" wxPen_GetCap :: Ptr (TPen a) -> IO CInt---- | usage: (@penGetColour obj@).-penGetColour :: Pen  a ->  IO (Color)-penGetColour _obj -  = withRefColour $ \pref -> -    withObjectRef "penGetColour" _obj $ \cobj__obj -> -    wxPen_GetColour cobj__obj   pref-foreign import ccall "wxPen_GetColour" wxPen_GetColour :: Ptr (TPen a) -> Ptr (TColour ()) -> IO ()---- | usage: (@penGetDashes obj ptr@).-penGetDashes :: Pen  a -> Ptr  b ->  IO Int-penGetDashes _obj ptr -  = withIntResult $-    withObjectRef "penGetDashes" _obj $ \cobj__obj -> -    wxPen_GetDashes cobj__obj  ptr  -foreign import ccall "wxPen_GetDashes" wxPen_GetDashes :: Ptr (TPen a) -> Ptr  b -> IO CInt---- | usage: (@penGetJoin obj@).-penGetJoin :: Pen  a ->  IO Int-penGetJoin _obj -  = withIntResult $-    withObjectRef "penGetJoin" _obj $ \cobj__obj -> -    wxPen_GetJoin cobj__obj  -foreign import ccall "wxPen_GetJoin" wxPen_GetJoin :: Ptr (TPen a) -> IO CInt---- | usage: (@penGetStipple obj@).-penGetStipple :: Pen  a ->  IO (Bitmap  ())-penGetStipple _obj -  = withRefBitmap $ \pref -> -    withObjectRef "penGetStipple" _obj $ \cobj__obj -> -    wxPen_GetStipple cobj__obj   pref-foreign import ccall "wxPen_GetStipple" wxPen_GetStipple :: Ptr (TPen a) -> Ptr (TBitmap ()) -> IO ()---- | usage: (@penGetStyle obj@).-penGetStyle :: Pen  a ->  IO Int-penGetStyle _obj -  = withIntResult $-    withObjectRef "penGetStyle" _obj $ \cobj__obj -> -    wxPen_GetStyle cobj__obj  -foreign import ccall "wxPen_GetStyle" wxPen_GetStyle :: Ptr (TPen a) -> IO CInt---- | usage: (@penGetWidth obj@).-penGetWidth :: Pen  a ->  IO Int-penGetWidth _obj -  = withIntResult $-    withObjectRef "penGetWidth" _obj $ \cobj__obj -> -    wxPen_GetWidth cobj__obj  -foreign import ccall "wxPen_GetWidth" wxPen_GetWidth :: Ptr (TPen a) -> IO CInt---- | usage: (@penIsEqual obj pen@).-penIsEqual :: Pen  a -> Pen  b ->  IO Bool-penIsEqual _obj pen -  = withBoolResult $-    withObjectRef "penIsEqual" _obj $ \cobj__obj -> -    withObjectPtr pen $ \cobj_pen -> -    wxPen_IsEqual cobj__obj  cobj_pen  -foreign import ccall "wxPen_IsEqual" wxPen_IsEqual :: Ptr (TPen a) -> Ptr (TPen b) -> IO CBool---- | usage: (@penIsOk obj@).-penIsOk :: Pen  a ->  IO Bool-penIsOk _obj -  = withBoolResult $-    withObjectRef "penIsOk" _obj $ \cobj__obj -> -    wxPen_IsOk cobj__obj  -foreign import ccall "wxPen_IsOk" wxPen_IsOk :: Ptr (TPen a) -> IO CBool---- | usage: (@penIsStatic self@).-penIsStatic :: Pen  a ->  IO Bool-penIsStatic self -  = withBoolResult $-    withObjectPtr self $ \cobj_self -> -    wxPen_IsStatic cobj_self  -foreign import ccall "wxPen_IsStatic" wxPen_IsStatic :: Ptr (TPen a) -> IO CBool---- | usage: (@penSafeDelete self@).-penSafeDelete :: Pen  a ->  IO ()-penSafeDelete self -  = withObjectPtr self $ \cobj_self -> -    wxPen_SafeDelete cobj_self  -foreign import ccall "wxPen_SafeDelete" wxPen_SafeDelete :: Ptr (TPen a) -> IO ()---- | usage: (@penSetCap obj cap@).-penSetCap :: Pen  a -> Int ->  IO ()-penSetCap _obj cap -  = withObjectRef "penSetCap" _obj $ \cobj__obj -> -    wxPen_SetCap cobj__obj  (toCInt cap)  -foreign import ccall "wxPen_SetCap" wxPen_SetCap :: Ptr (TPen a) -> CInt -> IO ()---- | usage: (@penSetColour obj col@).-penSetColour :: Pen  a -> Color ->  IO ()-penSetColour _obj col -  = withObjectRef "penSetColour" _obj $ \cobj__obj -> -    withColourPtr col $ \cobj_col -> -    wxPen_SetColour cobj__obj  cobj_col  -foreign import ccall "wxPen_SetColour" wxPen_SetColour :: Ptr (TPen a) -> Ptr (TColour b) -> IO ()---- | usage: (@penSetColourSingle obj r g b@).-penSetColourSingle :: Pen  a -> Char -> Char -> Char ->  IO ()-penSetColourSingle _obj r g b -  = withObjectRef "penSetColourSingle" _obj $ \cobj__obj -> -    wxPen_SetColourSingle cobj__obj  (toCWchar r)  (toCWchar g)  (toCWchar b)  -foreign import ccall "wxPen_SetColourSingle" wxPen_SetColourSingle :: Ptr (TPen a) -> CWchar -> CWchar -> CWchar -> IO ()---- | usage: (@penSetDashes obj nbdashes dash@).-penSetDashes :: Pen  a -> Int -> Ptr  c ->  IO ()-penSetDashes _obj nbdashes dash -  = withObjectRef "penSetDashes" _obj $ \cobj__obj -> -    wxPen_SetDashes cobj__obj  (toCInt nbdashes)  dash  -foreign import ccall "wxPen_SetDashes" wxPen_SetDashes :: Ptr (TPen a) -> CInt -> Ptr  c -> IO ()---- | usage: (@penSetJoin obj join@).-penSetJoin :: Pen  a -> Int ->  IO ()-penSetJoin _obj join -  = withObjectRef "penSetJoin" _obj $ \cobj__obj -> -    wxPen_SetJoin cobj__obj  (toCInt join)  -foreign import ccall "wxPen_SetJoin" wxPen_SetJoin :: Ptr (TPen a) -> CInt -> IO ()---- | usage: (@penSetStipple obj stipple@).-penSetStipple :: Pen  a -> Bitmap  b ->  IO ()-penSetStipple _obj stipple -  = withObjectRef "penSetStipple" _obj $ \cobj__obj -> -    withObjectPtr stipple $ \cobj_stipple -> -    wxPen_SetStipple cobj__obj  cobj_stipple  -foreign import ccall "wxPen_SetStipple" wxPen_SetStipple :: Ptr (TPen a) -> Ptr (TBitmap b) -> IO ()---- | usage: (@penSetStyle obj style@).-penSetStyle :: Pen  a -> Int ->  IO ()-penSetStyle _obj style -  = withObjectRef "penSetStyle" _obj $ \cobj__obj -> -    wxPen_SetStyle cobj__obj  (toCInt style)  -foreign import ccall "wxPen_SetStyle" wxPen_SetStyle :: Ptr (TPen a) -> CInt -> IO ()---- | usage: (@penSetWidth obj width@).-penSetWidth :: Pen  a -> Int ->  IO ()-penSetWidth _obj width -  = withObjectRef "penSetWidth" _obj $ \cobj__obj -> -    wxPen_SetWidth cobj__obj  (toCInt width)  -foreign import ccall "wxPen_SetWidth" wxPen_SetWidth :: Ptr (TPen a) -> CInt -> IO ()---- | usage: (@popProvider@).-popProvider ::  IO Bool-popProvider -  = withBoolResult $-    wx_PopProvider -foreign import ccall "PopProvider" wx_PopProvider :: IO CBool---- | usage: (@postScriptDCCreate wxdata@).-postScriptDCCreate :: PrintData  a ->  IO (PostScriptDC  ())-postScriptDCCreate wxdata -  = withObjectResult $-    withObjectPtr wxdata $ \cobj_wxdata -> -    wxPostScriptDC_Create cobj_wxdata  -foreign import ccall "wxPostScriptDC_Create" wxPostScriptDC_Create :: Ptr (TPrintData a) -> IO (Ptr (TPostScriptDC ()))---- | usage: (@postScriptDCDelete self@).-postScriptDCDelete :: PostScriptDC  a ->  IO ()-postScriptDCDelete-  = objectDelete----- | usage: (@postScriptDCGetResolution self@).-postScriptDCGetResolution :: PostScriptDC  a ->  IO Int-postScriptDCGetResolution self -  = withIntResult $-    withObjectRef "postScriptDCGetResolution" self $ \cobj_self -> -    wxPostScriptDC_GetResolution cobj_self  -foreign import ccall "wxPostScriptDC_GetResolution" wxPostScriptDC_GetResolution :: Ptr (TPostScriptDC a) -> IO CInt---- | usage: (@postScriptDCSetResolution self ppi@).-postScriptDCSetResolution :: PostScriptDC  a -> Int ->  IO ()-postScriptDCSetResolution self ppi -  = withObjectRef "postScriptDCSetResolution" self $ \cobj_self -> -    wxPostScriptDC_SetResolution cobj_self  (toCInt ppi)  -foreign import ccall "wxPostScriptDC_SetResolution" wxPostScriptDC_SetResolution :: Ptr (TPostScriptDC a) -> CInt -> IO ()---- | usage: (@postScriptPrintNativeDataCreate@).-postScriptPrintNativeDataCreate ::  IO (PostScriptPrintNativeData  ())-postScriptPrintNativeDataCreate -  = withObjectResult $-    wxPostScriptPrintNativeData_Create -foreign import ccall "wxPostScriptPrintNativeData_Create" wxPostScriptPrintNativeData_Create :: IO (Ptr (TPostScriptPrintNativeData ()))---- | usage: (@postScriptPrintNativeDataDelete obj@).-postScriptPrintNativeDataDelete :: PostScriptPrintNativeData  a ->  IO ()-postScriptPrintNativeDataDelete-  = objectDelete----- | usage: (@previewCanvasCreate preview parent xywh style@).-previewCanvasCreate :: PrintPreview  a -> Window  b -> Rect -> Int ->  IO (PreviewCanvas  ())-previewCanvasCreate preview parent xywh style -  = withObjectResult $-    withObjectPtr preview $ \cobj_preview -> -    withObjectPtr parent $ \cobj_parent -> -    wxPreviewCanvas_Create cobj_preview  cobj_parent  (toCIntRectX xywh) (toCIntRectY xywh)(toCIntRectW xywh) (toCIntRectH xywh)  (toCInt style)  -foreign import ccall "wxPreviewCanvas_Create" wxPreviewCanvas_Create :: Ptr (TPrintPreview a) -> Ptr (TWindow b) -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TPreviewCanvas ()))--{- |  Usage: @previewFrameCreate printPreview parent title rect name @. * -}-previewFrameCreate :: PrintPreview  a -> Frame  b -> String -> Rect -> Int -> String ->  IO (PreviewFrame  ())-previewFrameCreate preview parent title xywidthheight style name -  = withObjectResult $-    withObjectPtr preview $ \cobj_preview -> -    withObjectPtr parent $ \cobj_parent -> -    withStringPtr title $ \cobj_title -> -    withStringPtr name $ \cobj_name -> -    wxPreviewFrame_Create cobj_preview  cobj_parent  cobj_title  (toCIntRectX xywidthheight) (toCIntRectY xywidthheight)(toCIntRectW xywidthheight) (toCIntRectH xywidthheight)  (toCInt style)  cobj_name  -foreign import ccall "wxPreviewFrame_Create" wxPreviewFrame_Create :: Ptr (TPrintPreview a) -> Ptr (TFrame b) -> Ptr (TWxString c) -> CInt -> CInt -> CInt -> CInt -> CInt -> Ptr (TWxString f) -> IO (Ptr (TPreviewFrame ()))---- | usage: (@previewFrameDelete self@).-previewFrameDelete :: PreviewFrame  a ->  IO ()-previewFrameDelete-  = objectDelete---{- |  Usage: @previewFrameInitialize self@, call this before showing the frame. * -}-previewFrameInitialize :: PreviewFrame  a ->  IO ()-previewFrameInitialize self -  = withObjectRef "previewFrameInitialize" self $ \cobj_self -> -    wxPreviewFrame_Initialize cobj_self  -foreign import ccall "wxPreviewFrame_Initialize" wxPreviewFrame_Initialize :: Ptr (TPreviewFrame a) -> IO ()---- | usage: (@printDataAssign obj wxdata@).-printDataAssign :: PrintData  a -> PrintData  b ->  IO ()-printDataAssign _obj wxdata -  = withObjectRef "printDataAssign" _obj $ \cobj__obj -> -    withObjectPtr wxdata $ \cobj_wxdata -> -    wxPrintData_Assign cobj__obj  cobj_wxdata  -foreign import ccall "wxPrintData_Assign" wxPrintData_Assign :: Ptr (TPrintData a) -> Ptr (TPrintData b) -> IO ()---- | usage: (@printDataCreate@).-printDataCreate ::  IO (PrintData  ())-printDataCreate -  = withManagedObjectResult $-    wxPrintData_Create -foreign import ccall "wxPrintData_Create" wxPrintData_Create :: IO (Ptr (TPrintData ()))---- | usage: (@printDataDelete obj@).-printDataDelete :: PrintData  a ->  IO ()-printDataDelete-  = objectDelete----- | usage: (@printDataGetCollate obj@).-printDataGetCollate :: PrintData  a ->  IO Bool-printDataGetCollate _obj -  = withBoolResult $-    withObjectRef "printDataGetCollate" _obj $ \cobj__obj -> -    wxPrintData_GetCollate cobj__obj  -foreign import ccall "wxPrintData_GetCollate" wxPrintData_GetCollate :: Ptr (TPrintData a) -> IO CBool---- | usage: (@printDataGetColour obj@).-printDataGetColour :: PrintData  a ->  IO Bool-printDataGetColour _obj -  = withBoolResult $-    withObjectRef "printDataGetColour" _obj $ \cobj__obj -> -    wxPrintData_GetColour cobj__obj  -foreign import ccall "wxPrintData_GetColour" wxPrintData_GetColour :: Ptr (TPrintData a) -> IO CBool---- | usage: (@printDataGetDuplex obj@).-printDataGetDuplex :: PrintData  a ->  IO Int-printDataGetDuplex _obj -  = withIntResult $-    withObjectRef "printDataGetDuplex" _obj $ \cobj__obj -> -    wxPrintData_GetDuplex cobj__obj  -foreign import ccall "wxPrintData_GetDuplex" wxPrintData_GetDuplex :: Ptr (TPrintData a) -> IO CInt---- | usage: (@printDataGetFilename obj@).-printDataGetFilename :: PrintData  a ->  IO (String)-printDataGetFilename _obj -  = withManagedStringResult $-    withObjectRef "printDataGetFilename" _obj $ \cobj__obj -> -    wxPrintData_GetFilename cobj__obj  -foreign import ccall "wxPrintData_GetFilename" wxPrintData_GetFilename :: Ptr (TPrintData a) -> IO (Ptr (TWxString ()))---- | usage: (@printDataGetFontMetricPath obj@).-printDataGetFontMetricPath :: PrintData  a ->  IO (String)-printDataGetFontMetricPath _obj -  = withManagedStringResult $-    withObjectRef "printDataGetFontMetricPath" _obj $ \cobj__obj -> -    wxPrintData_GetFontMetricPath cobj__obj  -foreign import ccall "wxPrintData_GetFontMetricPath" wxPrintData_GetFontMetricPath :: Ptr (TPrintData a) -> IO (Ptr (TWxString ()))---- | usage: (@printDataGetNoCopies obj@).-printDataGetNoCopies :: PrintData  a ->  IO Int-printDataGetNoCopies _obj -  = withIntResult $-    withObjectRef "printDataGetNoCopies" _obj $ \cobj__obj -> -    wxPrintData_GetNoCopies cobj__obj  -foreign import ccall "wxPrintData_GetNoCopies" wxPrintData_GetNoCopies :: Ptr (TPrintData a) -> IO CInt---- | usage: (@printDataGetOrientation obj@).-printDataGetOrientation :: PrintData  a ->  IO Int-printDataGetOrientation _obj -  = withIntResult $-    withObjectRef "printDataGetOrientation" _obj $ \cobj__obj -> -    wxPrintData_GetOrientation cobj__obj  -foreign import ccall "wxPrintData_GetOrientation" wxPrintData_GetOrientation :: Ptr (TPrintData a) -> IO CInt---- | usage: (@printDataGetPaperId obj@).-printDataGetPaperId :: PrintData  a ->  IO Int-printDataGetPaperId _obj -  = withIntResult $-    withObjectRef "printDataGetPaperId" _obj $ \cobj__obj -> -    wxPrintData_GetPaperId cobj__obj  -foreign import ccall "wxPrintData_GetPaperId" wxPrintData_GetPaperId :: Ptr (TPrintData a) -> IO CInt---- | usage: (@printDataGetPaperSize obj@).-printDataGetPaperSize :: PrintData  a ->  IO (Size)-printDataGetPaperSize _obj -  = withWxSizeResult $-    withObjectRef "printDataGetPaperSize" _obj $ \cobj__obj -> -    wxPrintData_GetPaperSize cobj__obj  -foreign import ccall "wxPrintData_GetPaperSize" wxPrintData_GetPaperSize :: Ptr (TPrintData a) -> IO (Ptr (TWxSize ()))---- | usage: (@printDataGetPreviewCommand obj@).-printDataGetPreviewCommand :: PrintData  a ->  IO (String)-printDataGetPreviewCommand _obj -  = withManagedStringResult $-    withObjectRef "printDataGetPreviewCommand" _obj $ \cobj__obj -> -    wxPrintData_GetPreviewCommand cobj__obj  -foreign import ccall "wxPrintData_GetPreviewCommand" wxPrintData_GetPreviewCommand :: Ptr (TPrintData a) -> IO (Ptr (TWxString ()))---- | usage: (@printDataGetPrintMode obj@).-printDataGetPrintMode :: PrintData  a ->  IO Int-printDataGetPrintMode _obj -  = withIntResult $-    withObjectRef "printDataGetPrintMode" _obj $ \cobj__obj -> -    wxPrintData_GetPrintMode cobj__obj  -foreign import ccall "wxPrintData_GetPrintMode" wxPrintData_GetPrintMode :: Ptr (TPrintData a) -> IO CInt---- | usage: (@printDataGetPrinterCommand obj@).-printDataGetPrinterCommand :: PrintData  a ->  IO (String)-printDataGetPrinterCommand _obj -  = withManagedStringResult $-    withObjectRef "printDataGetPrinterCommand" _obj $ \cobj__obj -> -    wxPrintData_GetPrinterCommand cobj__obj  -foreign import ccall "wxPrintData_GetPrinterCommand" wxPrintData_GetPrinterCommand :: Ptr (TPrintData a) -> IO (Ptr (TWxString ()))---- | usage: (@printDataGetPrinterName obj@).-printDataGetPrinterName :: PrintData  a ->  IO (String)-printDataGetPrinterName _obj -  = withManagedStringResult $-    withObjectRef "printDataGetPrinterName" _obj $ \cobj__obj -> -    wxPrintData_GetPrinterName cobj__obj  -foreign import ccall "wxPrintData_GetPrinterName" wxPrintData_GetPrinterName :: Ptr (TPrintData a) -> IO (Ptr (TWxString ()))---- | usage: (@printDataGetPrinterOptions obj@).-printDataGetPrinterOptions :: PrintData  a ->  IO (String)-printDataGetPrinterOptions _obj -  = withManagedStringResult $-    withObjectRef "printDataGetPrinterOptions" _obj $ \cobj__obj -> -    wxPrintData_GetPrinterOptions cobj__obj  -foreign import ccall "wxPrintData_GetPrinterOptions" wxPrintData_GetPrinterOptions :: Ptr (TPrintData a) -> IO (Ptr (TWxString ()))---- | usage: (@printDataGetPrinterScaleX obj@).-printDataGetPrinterScaleX :: PrintData  a ->  IO Double-printDataGetPrinterScaleX _obj -  = withObjectRef "printDataGetPrinterScaleX" _obj $ \cobj__obj -> -    wxPrintData_GetPrinterScaleX cobj__obj  -foreign import ccall "wxPrintData_GetPrinterScaleX" wxPrintData_GetPrinterScaleX :: Ptr (TPrintData a) -> IO Double---- | usage: (@printDataGetPrinterScaleY obj@).-printDataGetPrinterScaleY :: PrintData  a ->  IO Double-printDataGetPrinterScaleY _obj -  = withObjectRef "printDataGetPrinterScaleY" _obj $ \cobj__obj -> -    wxPrintData_GetPrinterScaleY cobj__obj  -foreign import ccall "wxPrintData_GetPrinterScaleY" wxPrintData_GetPrinterScaleY :: Ptr (TPrintData a) -> IO Double---- | usage: (@printDataGetPrinterTranslateX obj@).-printDataGetPrinterTranslateX :: PrintData  a ->  IO Int-printDataGetPrinterTranslateX _obj -  = withIntResult $-    withObjectRef "printDataGetPrinterTranslateX" _obj $ \cobj__obj -> -    wxPrintData_GetPrinterTranslateX cobj__obj  -foreign import ccall "wxPrintData_GetPrinterTranslateX" wxPrintData_GetPrinterTranslateX :: Ptr (TPrintData a) -> IO CInt---- | usage: (@printDataGetPrinterTranslateY obj@).-printDataGetPrinterTranslateY :: PrintData  a ->  IO Int-printDataGetPrinterTranslateY _obj -  = withIntResult $-    withObjectRef "printDataGetPrinterTranslateY" _obj $ \cobj__obj -> -    wxPrintData_GetPrinterTranslateY cobj__obj  -foreign import ccall "wxPrintData_GetPrinterTranslateY" wxPrintData_GetPrinterTranslateY :: Ptr (TPrintData a) -> IO CInt---- | usage: (@printDataGetQuality obj@).-printDataGetQuality :: PrintData  a ->  IO Int-printDataGetQuality _obj -  = withIntResult $-    withObjectRef "printDataGetQuality" _obj $ \cobj__obj -> -    wxPrintData_GetQuality cobj__obj  -foreign import ccall "wxPrintData_GetQuality" wxPrintData_GetQuality :: Ptr (TPrintData a) -> IO CInt---- | usage: (@printDataSetCollate obj flag@).-printDataSetCollate :: PrintData  a -> Bool ->  IO ()-printDataSetCollate _obj flag -  = withObjectRef "printDataSetCollate" _obj $ \cobj__obj -> -    wxPrintData_SetCollate cobj__obj  (toCBool flag)  -foreign import ccall "wxPrintData_SetCollate" wxPrintData_SetCollate :: Ptr (TPrintData a) -> CBool -> IO ()---- | usage: (@printDataSetColour obj colour@).-printDataSetColour :: PrintData  a -> Bool ->  IO ()-printDataSetColour _obj colour -  = withObjectRef "printDataSetColour" _obj $ \cobj__obj -> -    wxPrintData_SetColour cobj__obj  (toCBool colour)  -foreign import ccall "wxPrintData_SetColour" wxPrintData_SetColour :: Ptr (TPrintData a) -> CBool -> IO ()---- | usage: (@printDataSetDuplex obj duplex@).-printDataSetDuplex :: PrintData  a -> Int ->  IO ()-printDataSetDuplex _obj duplex -  = withObjectRef "printDataSetDuplex" _obj $ \cobj__obj -> -    wxPrintData_SetDuplex cobj__obj  (toCInt duplex)  -foreign import ccall "wxPrintData_SetDuplex" wxPrintData_SetDuplex :: Ptr (TPrintData a) -> CInt -> IO ()---- | usage: (@printDataSetFilename obj filename@).-printDataSetFilename :: PrintData  a -> String ->  IO ()-printDataSetFilename _obj filename -  = withObjectRef "printDataSetFilename" _obj $ \cobj__obj -> -    withStringPtr filename $ \cobj_filename -> -    wxPrintData_SetFilename cobj__obj  cobj_filename  -foreign import ccall "wxPrintData_SetFilename" wxPrintData_SetFilename :: Ptr (TPrintData a) -> Ptr (TWxString b) -> IO ()---- | usage: (@printDataSetFontMetricPath obj path@).-printDataSetFontMetricPath :: PrintData  a -> String ->  IO ()-printDataSetFontMetricPath _obj path -  = withObjectRef "printDataSetFontMetricPath" _obj $ \cobj__obj -> -    withStringPtr path $ \cobj_path -> -    wxPrintData_SetFontMetricPath cobj__obj  cobj_path  -foreign import ccall "wxPrintData_SetFontMetricPath" wxPrintData_SetFontMetricPath :: Ptr (TPrintData a) -> Ptr (TWxString b) -> IO ()---- | usage: (@printDataSetNoCopies obj v@).-printDataSetNoCopies :: PrintData  a -> Int ->  IO ()-printDataSetNoCopies _obj v -  = withObjectRef "printDataSetNoCopies" _obj $ \cobj__obj -> -    wxPrintData_SetNoCopies cobj__obj  (toCInt v)  -foreign import ccall "wxPrintData_SetNoCopies" wxPrintData_SetNoCopies :: Ptr (TPrintData a) -> CInt -> IO ()---- | usage: (@printDataSetOrientation obj orient@).-printDataSetOrientation :: PrintData  a -> Int ->  IO ()-printDataSetOrientation _obj orient -  = withObjectRef "printDataSetOrientation" _obj $ \cobj__obj -> -    wxPrintData_SetOrientation cobj__obj  (toCInt orient)  -foreign import ccall "wxPrintData_SetOrientation" wxPrintData_SetOrientation :: Ptr (TPrintData a) -> CInt -> IO ()---- | usage: (@printDataSetPaperId obj sizeId@).-printDataSetPaperId :: PrintData  a -> Int ->  IO ()-printDataSetPaperId _obj sizeId -  = withObjectRef "printDataSetPaperId" _obj $ \cobj__obj -> -    wxPrintData_SetPaperId cobj__obj  (toCInt sizeId)  -foreign import ccall "wxPrintData_SetPaperId" wxPrintData_SetPaperId :: Ptr (TPrintData a) -> CInt -> IO ()---- | usage: (@printDataSetPaperSize obj wh@).-printDataSetPaperSize :: PrintData  a -> Size ->  IO ()-printDataSetPaperSize _obj wh -  = withObjectRef "printDataSetPaperSize" _obj $ \cobj__obj -> -    wxPrintData_SetPaperSize cobj__obj  (toCIntSizeW wh) (toCIntSizeH wh)  -foreign import ccall "wxPrintData_SetPaperSize" wxPrintData_SetPaperSize :: Ptr (TPrintData a) -> CInt -> CInt -> IO ()---- | usage: (@printDataSetPreviewCommand obj command@).-printDataSetPreviewCommand :: PrintData  a -> Command  b ->  IO ()-printDataSetPreviewCommand _obj command -  = withObjectRef "printDataSetPreviewCommand" _obj $ \cobj__obj -> -    withObjectPtr command $ \cobj_command -> -    wxPrintData_SetPreviewCommand cobj__obj  cobj_command  -foreign import ccall "wxPrintData_SetPreviewCommand" wxPrintData_SetPreviewCommand :: Ptr (TPrintData a) -> Ptr (TCommand b) -> IO ()---- | usage: (@printDataSetPrintMode obj printMode@).-printDataSetPrintMode :: PrintData  a -> Int ->  IO ()-printDataSetPrintMode _obj printMode -  = withObjectRef "printDataSetPrintMode" _obj $ \cobj__obj -> -    wxPrintData_SetPrintMode cobj__obj  (toCInt printMode)  -foreign import ccall "wxPrintData_SetPrintMode" wxPrintData_SetPrintMode :: Ptr (TPrintData a) -> CInt -> IO ()---- | usage: (@printDataSetPrinterCommand obj command@).-printDataSetPrinterCommand :: PrintData  a -> Command  b ->  IO ()-printDataSetPrinterCommand _obj command -  = withObjectRef "printDataSetPrinterCommand" _obj $ \cobj__obj -> -    withObjectPtr command $ \cobj_command -> -    wxPrintData_SetPrinterCommand cobj__obj  cobj_command  -foreign import ccall "wxPrintData_SetPrinterCommand" wxPrintData_SetPrinterCommand :: Ptr (TPrintData a) -> Ptr (TCommand b) -> IO ()---- | usage: (@printDataSetPrinterName obj name@).-printDataSetPrinterName :: PrintData  a -> String ->  IO ()-printDataSetPrinterName _obj name -  = withObjectRef "printDataSetPrinterName" _obj $ \cobj__obj -> -    withStringPtr name $ \cobj_name -> -    wxPrintData_SetPrinterName cobj__obj  cobj_name  -foreign import ccall "wxPrintData_SetPrinterName" wxPrintData_SetPrinterName :: Ptr (TPrintData a) -> Ptr (TWxString b) -> IO ()---- | usage: (@printDataSetPrinterOptions obj options@).-printDataSetPrinterOptions :: PrintData  a -> String ->  IO ()-printDataSetPrinterOptions _obj options -  = withObjectRef "printDataSetPrinterOptions" _obj $ \cobj__obj -> -    withStringPtr options $ \cobj_options -> -    wxPrintData_SetPrinterOptions cobj__obj  cobj_options  -foreign import ccall "wxPrintData_SetPrinterOptions" wxPrintData_SetPrinterOptions :: Ptr (TPrintData a) -> Ptr (TWxString b) -> IO ()---- | usage: (@printDataSetPrinterScaleX obj x@).-printDataSetPrinterScaleX :: PrintData  a -> Double ->  IO ()-printDataSetPrinterScaleX _obj x -  = withObjectRef "printDataSetPrinterScaleX" _obj $ \cobj__obj -> -    wxPrintData_SetPrinterScaleX cobj__obj  x  -foreign import ccall "wxPrintData_SetPrinterScaleX" wxPrintData_SetPrinterScaleX :: Ptr (TPrintData a) -> Double -> IO ()---- | usage: (@printDataSetPrinterScaleY obj y@).-printDataSetPrinterScaleY :: PrintData  a -> Double ->  IO ()-printDataSetPrinterScaleY _obj y -  = withObjectRef "printDataSetPrinterScaleY" _obj $ \cobj__obj -> -    wxPrintData_SetPrinterScaleY cobj__obj  y  -foreign import ccall "wxPrintData_SetPrinterScaleY" wxPrintData_SetPrinterScaleY :: Ptr (TPrintData a) -> Double -> IO ()---- | usage: (@printDataSetPrinterScaling obj x y@).-printDataSetPrinterScaling :: PrintData  a -> Double -> Double ->  IO ()-printDataSetPrinterScaling _obj x y -  = withObjectRef "printDataSetPrinterScaling" _obj $ \cobj__obj -> -    wxPrintData_SetPrinterScaling cobj__obj  x  y  -foreign import ccall "wxPrintData_SetPrinterScaling" wxPrintData_SetPrinterScaling :: Ptr (TPrintData a) -> Double -> Double -> IO ()---- | usage: (@printDataSetPrinterTranslateX obj x@).-printDataSetPrinterTranslateX :: PrintData  a -> Int ->  IO ()-printDataSetPrinterTranslateX _obj x -  = withObjectRef "printDataSetPrinterTranslateX" _obj $ \cobj__obj -> -    wxPrintData_SetPrinterTranslateX cobj__obj  (toCInt x)  -foreign import ccall "wxPrintData_SetPrinterTranslateX" wxPrintData_SetPrinterTranslateX :: Ptr (TPrintData a) -> CInt -> IO ()---- | usage: (@printDataSetPrinterTranslateY obj y@).-printDataSetPrinterTranslateY :: PrintData  a -> Int ->  IO ()-printDataSetPrinterTranslateY _obj y -  = withObjectRef "printDataSetPrinterTranslateY" _obj $ \cobj__obj -> -    wxPrintData_SetPrinterTranslateY cobj__obj  (toCInt y)  -foreign import ccall "wxPrintData_SetPrinterTranslateY" wxPrintData_SetPrinterTranslateY :: Ptr (TPrintData a) -> CInt -> IO ()---- | usage: (@printDataSetPrinterTranslation obj xy@).-printDataSetPrinterTranslation :: PrintData  a -> Point ->  IO ()-printDataSetPrinterTranslation _obj xy -  = withObjectRef "printDataSetPrinterTranslation" _obj $ \cobj__obj -> -    wxPrintData_SetPrinterTranslation cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  -foreign import ccall "wxPrintData_SetPrinterTranslation" wxPrintData_SetPrinterTranslation :: Ptr (TPrintData a) -> CInt -> CInt -> IO ()---- | usage: (@printDataSetQuality obj quality@).-printDataSetQuality :: PrintData  a -> Int ->  IO ()-printDataSetQuality _obj quality -  = withObjectRef "printDataSetQuality" _obj $ \cobj__obj -> -    wxPrintData_SetQuality cobj__obj  (toCInt quality)  -foreign import ccall "wxPrintData_SetQuality" wxPrintData_SetQuality :: Ptr (TPrintData a) -> CInt -> IO ()---- | usage: (@printDialogCreate parent wxdata@).-printDialogCreate :: Window  a -> PrintDialogData  b ->  IO (PrintDialog  ())-printDialogCreate parent wxdata -  = withObjectResult $-    withObjectPtr parent $ \cobj_parent -> -    withObjectPtr wxdata $ \cobj_wxdata -> -    wxPrintDialog_Create cobj_parent  cobj_wxdata  -foreign import ccall "wxPrintDialog_Create" wxPrintDialog_Create :: Ptr (TWindow a) -> Ptr (TPrintDialogData b) -> IO (Ptr (TPrintDialog ()))---- | usage: (@printDialogDataAssign obj wxdata@).-printDialogDataAssign :: PrintDialogData  a -> PrintDialogData  b ->  IO ()-printDialogDataAssign _obj wxdata -  = withObjectRef "printDialogDataAssign" _obj $ \cobj__obj -> -    withObjectPtr wxdata $ \cobj_wxdata -> -    wxPrintDialogData_Assign cobj__obj  cobj_wxdata  -foreign import ccall "wxPrintDialogData_Assign" wxPrintDialogData_Assign :: Ptr (TPrintDialogData a) -> Ptr (TPrintDialogData b) -> IO ()---- | usage: (@printDialogDataAssignData obj wxdata@).-printDialogDataAssignData :: PrintDialogData  a -> PrintData  b ->  IO ()-printDialogDataAssignData _obj wxdata -  = withObjectRef "printDialogDataAssignData" _obj $ \cobj__obj -> -    withObjectPtr wxdata $ \cobj_wxdata -> -    wxPrintDialogData_AssignData cobj__obj  cobj_wxdata  -foreign import ccall "wxPrintDialogData_AssignData" wxPrintDialogData_AssignData :: Ptr (TPrintDialogData a) -> Ptr (TPrintData b) -> IO ()---- | usage: (@printDialogDataCreateDefault@).-printDialogDataCreateDefault ::  IO (PrintDialogData  ())-printDialogDataCreateDefault -  = withManagedObjectResult $-    wxPrintDialogData_CreateDefault -foreign import ccall "wxPrintDialogData_CreateDefault" wxPrintDialogData_CreateDefault :: IO (Ptr (TPrintDialogData ()))---- | usage: (@printDialogDataCreateFromData printData@).-printDialogDataCreateFromData :: PrintData  a ->  IO (PrintDialogData  ())-printDialogDataCreateFromData printData -  = withManagedObjectResult $-    withObjectPtr printData $ \cobj_printData -> -    wxPrintDialogData_CreateFromData cobj_printData  -foreign import ccall "wxPrintDialogData_CreateFromData" wxPrintDialogData_CreateFromData :: Ptr (TPrintData a) -> IO (Ptr (TPrintDialogData ()))---- | usage: (@printDialogDataDelete obj@).-printDialogDataDelete :: PrintDialogData  a ->  IO ()-printDialogDataDelete-  = objectDelete----- | usage: (@printDialogDataEnableHelp obj flag@).-printDialogDataEnableHelp :: PrintDialogData  a -> Bool ->  IO ()-printDialogDataEnableHelp _obj flag -  = withObjectRef "printDialogDataEnableHelp" _obj $ \cobj__obj -> -    wxPrintDialogData_EnableHelp cobj__obj  (toCBool flag)  -foreign import ccall "wxPrintDialogData_EnableHelp" wxPrintDialogData_EnableHelp :: Ptr (TPrintDialogData a) -> CBool -> IO ()---- | usage: (@printDialogDataEnablePageNumbers obj flag@).-printDialogDataEnablePageNumbers :: PrintDialogData  a -> Bool ->  IO ()-printDialogDataEnablePageNumbers _obj flag -  = withObjectRef "printDialogDataEnablePageNumbers" _obj $ \cobj__obj -> -    wxPrintDialogData_EnablePageNumbers cobj__obj  (toCBool flag)  -foreign import ccall "wxPrintDialogData_EnablePageNumbers" wxPrintDialogData_EnablePageNumbers :: Ptr (TPrintDialogData a) -> CBool -> IO ()---- | usage: (@printDialogDataEnablePrintToFile obj flag@).-printDialogDataEnablePrintToFile :: PrintDialogData  a -> Bool ->  IO ()-printDialogDataEnablePrintToFile _obj flag -  = withObjectRef "printDialogDataEnablePrintToFile" _obj $ \cobj__obj -> -    wxPrintDialogData_EnablePrintToFile cobj__obj  (toCBool flag)  -foreign import ccall "wxPrintDialogData_EnablePrintToFile" wxPrintDialogData_EnablePrintToFile :: Ptr (TPrintDialogData a) -> CBool -> IO ()---- | usage: (@printDialogDataEnableSelection obj flag@).-printDialogDataEnableSelection :: PrintDialogData  a -> Bool ->  IO ()-printDialogDataEnableSelection _obj flag -  = withObjectRef "printDialogDataEnableSelection" _obj $ \cobj__obj -> -    wxPrintDialogData_EnableSelection cobj__obj  (toCBool flag)  -foreign import ccall "wxPrintDialogData_EnableSelection" wxPrintDialogData_EnableSelection :: Ptr (TPrintDialogData a) -> CBool -> IO ()---- | usage: (@printDialogDataGetAllPages obj@).-printDialogDataGetAllPages :: PrintDialogData  a ->  IO Int-printDialogDataGetAllPages _obj -  = withIntResult $-    withObjectRef "printDialogDataGetAllPages" _obj $ \cobj__obj -> -    wxPrintDialogData_GetAllPages cobj__obj  -foreign import ccall "wxPrintDialogData_GetAllPages" wxPrintDialogData_GetAllPages :: Ptr (TPrintDialogData a) -> IO CInt---- | usage: (@printDialogDataGetCollate obj@).-printDialogDataGetCollate :: PrintDialogData  a ->  IO Bool-printDialogDataGetCollate _obj -  = withBoolResult $-    withObjectRef "printDialogDataGetCollate" _obj $ \cobj__obj -> -    wxPrintDialogData_GetCollate cobj__obj  -foreign import ccall "wxPrintDialogData_GetCollate" wxPrintDialogData_GetCollate :: Ptr (TPrintDialogData a) -> IO CBool---- | usage: (@printDialogDataGetEnableHelp obj@).-printDialogDataGetEnableHelp :: PrintDialogData  a ->  IO Bool-printDialogDataGetEnableHelp _obj -  = withBoolResult $-    withObjectRef "printDialogDataGetEnableHelp" _obj $ \cobj__obj -> -    wxPrintDialogData_GetEnableHelp cobj__obj  -foreign import ccall "wxPrintDialogData_GetEnableHelp" wxPrintDialogData_GetEnableHelp :: Ptr (TPrintDialogData a) -> IO CBool---- | usage: (@printDialogDataGetEnablePageNumbers obj@).-printDialogDataGetEnablePageNumbers :: PrintDialogData  a ->  IO Bool-printDialogDataGetEnablePageNumbers _obj -  = withBoolResult $-    withObjectRef "printDialogDataGetEnablePageNumbers" _obj $ \cobj__obj -> -    wxPrintDialogData_GetEnablePageNumbers cobj__obj  -foreign import ccall "wxPrintDialogData_GetEnablePageNumbers" wxPrintDialogData_GetEnablePageNumbers :: Ptr (TPrintDialogData a) -> IO CBool---- | usage: (@printDialogDataGetEnablePrintToFile obj@).-printDialogDataGetEnablePrintToFile :: PrintDialogData  a ->  IO Bool-printDialogDataGetEnablePrintToFile _obj -  = withBoolResult $-    withObjectRef "printDialogDataGetEnablePrintToFile" _obj $ \cobj__obj -> -    wxPrintDialogData_GetEnablePrintToFile cobj__obj  -foreign import ccall "wxPrintDialogData_GetEnablePrintToFile" wxPrintDialogData_GetEnablePrintToFile :: Ptr (TPrintDialogData a) -> IO CBool---- | usage: (@printDialogDataGetEnableSelection obj@).-printDialogDataGetEnableSelection :: PrintDialogData  a ->  IO Bool-printDialogDataGetEnableSelection _obj -  = withBoolResult $-    withObjectRef "printDialogDataGetEnableSelection" _obj $ \cobj__obj -> -    wxPrintDialogData_GetEnableSelection cobj__obj  -foreign import ccall "wxPrintDialogData_GetEnableSelection" wxPrintDialogData_GetEnableSelection :: Ptr (TPrintDialogData a) -> IO CBool---- | usage: (@printDialogDataGetFromPage obj@).-printDialogDataGetFromPage :: PrintDialogData  a ->  IO Int-printDialogDataGetFromPage _obj -  = withIntResult $-    withObjectRef "printDialogDataGetFromPage" _obj $ \cobj__obj -> -    wxPrintDialogData_GetFromPage cobj__obj  -foreign import ccall "wxPrintDialogData_GetFromPage" wxPrintDialogData_GetFromPage :: Ptr (TPrintDialogData a) -> IO CInt---- | usage: (@printDialogDataGetMaxPage obj@).-printDialogDataGetMaxPage :: PrintDialogData  a ->  IO Int-printDialogDataGetMaxPage _obj -  = withIntResult $-    withObjectRef "printDialogDataGetMaxPage" _obj $ \cobj__obj -> -    wxPrintDialogData_GetMaxPage cobj__obj  -foreign import ccall "wxPrintDialogData_GetMaxPage" wxPrintDialogData_GetMaxPage :: Ptr (TPrintDialogData a) -> IO CInt---- | usage: (@printDialogDataGetMinPage obj@).-printDialogDataGetMinPage :: PrintDialogData  a ->  IO Int-printDialogDataGetMinPage _obj -  = withIntResult $-    withObjectRef "printDialogDataGetMinPage" _obj $ \cobj__obj -> -    wxPrintDialogData_GetMinPage cobj__obj  -foreign import ccall "wxPrintDialogData_GetMinPage" wxPrintDialogData_GetMinPage :: Ptr (TPrintDialogData a) -> IO CInt---- | usage: (@printDialogDataGetNoCopies obj@).-printDialogDataGetNoCopies :: PrintDialogData  a ->  IO Int-printDialogDataGetNoCopies _obj -  = withIntResult $-    withObjectRef "printDialogDataGetNoCopies" _obj $ \cobj__obj -> -    wxPrintDialogData_GetNoCopies cobj__obj  -foreign import ccall "wxPrintDialogData_GetNoCopies" wxPrintDialogData_GetNoCopies :: Ptr (TPrintDialogData a) -> IO CInt---- | usage: (@printDialogDataGetPrintData obj@).-printDialogDataGetPrintData :: PrintDialogData  a ->  IO (PrintData  ())-printDialogDataGetPrintData _obj -  = withRefPrintData $ \pref -> -    withObjectRef "printDialogDataGetPrintData" _obj $ \cobj__obj -> -    wxPrintDialogData_GetPrintData cobj__obj   pref-foreign import ccall "wxPrintDialogData_GetPrintData" wxPrintDialogData_GetPrintData :: Ptr (TPrintDialogData a) -> Ptr (TPrintData ()) -> IO ()---- | usage: (@printDialogDataGetPrintToFile obj@).-printDialogDataGetPrintToFile :: PrintDialogData  a ->  IO Bool-printDialogDataGetPrintToFile _obj -  = withBoolResult $-    withObjectRef "printDialogDataGetPrintToFile" _obj $ \cobj__obj -> -    wxPrintDialogData_GetPrintToFile cobj__obj  -foreign import ccall "wxPrintDialogData_GetPrintToFile" wxPrintDialogData_GetPrintToFile :: Ptr (TPrintDialogData a) -> IO CBool---- | usage: (@printDialogDataGetSelection obj@).-printDialogDataGetSelection :: PrintDialogData  a ->  IO Bool-printDialogDataGetSelection _obj -  = withBoolResult $-    withObjectRef "printDialogDataGetSelection" _obj $ \cobj__obj -> -    wxPrintDialogData_GetSelection cobj__obj  -foreign import ccall "wxPrintDialogData_GetSelection" wxPrintDialogData_GetSelection :: Ptr (TPrintDialogData a) -> IO CBool---- | usage: (@printDialogDataGetToPage obj@).-printDialogDataGetToPage :: PrintDialogData  a ->  IO Int-printDialogDataGetToPage _obj -  = withIntResult $-    withObjectRef "printDialogDataGetToPage" _obj $ \cobj__obj -> -    wxPrintDialogData_GetToPage cobj__obj  -foreign import ccall "wxPrintDialogData_GetToPage" wxPrintDialogData_GetToPage :: Ptr (TPrintDialogData a) -> IO CInt---- | usage: (@printDialogDataSetAllPages obj flag@).-printDialogDataSetAllPages :: PrintDialogData  a -> Bool ->  IO ()-printDialogDataSetAllPages _obj flag -  = withObjectRef "printDialogDataSetAllPages" _obj $ \cobj__obj -> -    wxPrintDialogData_SetAllPages cobj__obj  (toCBool flag)  -foreign import ccall "wxPrintDialogData_SetAllPages" wxPrintDialogData_SetAllPages :: Ptr (TPrintDialogData a) -> CBool -> IO ()---- | usage: (@printDialogDataSetCollate obj flag@).-printDialogDataSetCollate :: PrintDialogData  a -> Bool ->  IO ()-printDialogDataSetCollate _obj flag -  = withObjectRef "printDialogDataSetCollate" _obj $ \cobj__obj -> -    wxPrintDialogData_SetCollate cobj__obj  (toCBool flag)  -foreign import ccall "wxPrintDialogData_SetCollate" wxPrintDialogData_SetCollate :: Ptr (TPrintDialogData a) -> CBool -> IO ()---- | usage: (@printDialogDataSetFromPage obj v@).-printDialogDataSetFromPage :: PrintDialogData  a -> Int ->  IO ()-printDialogDataSetFromPage _obj v -  = withObjectRef "printDialogDataSetFromPage" _obj $ \cobj__obj -> -    wxPrintDialogData_SetFromPage cobj__obj  (toCInt v)  -foreign import ccall "wxPrintDialogData_SetFromPage" wxPrintDialogData_SetFromPage :: Ptr (TPrintDialogData a) -> CInt -> IO ()---- | usage: (@printDialogDataSetMaxPage obj v@).-printDialogDataSetMaxPage :: PrintDialogData  a -> Int ->  IO ()-printDialogDataSetMaxPage _obj v -  = withObjectRef "printDialogDataSetMaxPage" _obj $ \cobj__obj -> -    wxPrintDialogData_SetMaxPage cobj__obj  (toCInt v)  -foreign import ccall "wxPrintDialogData_SetMaxPage" wxPrintDialogData_SetMaxPage :: Ptr (TPrintDialogData a) -> CInt -> IO ()---- | usage: (@printDialogDataSetMinPage obj v@).-printDialogDataSetMinPage :: PrintDialogData  a -> Int ->  IO ()-printDialogDataSetMinPage _obj v -  = withObjectRef "printDialogDataSetMinPage" _obj $ \cobj__obj -> -    wxPrintDialogData_SetMinPage cobj__obj  (toCInt v)  -foreign import ccall "wxPrintDialogData_SetMinPage" wxPrintDialogData_SetMinPage :: Ptr (TPrintDialogData a) -> CInt -> IO ()---- | usage: (@printDialogDataSetNoCopies obj v@).-printDialogDataSetNoCopies :: PrintDialogData  a -> Int ->  IO ()-printDialogDataSetNoCopies _obj v -  = withObjectRef "printDialogDataSetNoCopies" _obj $ \cobj__obj -> -    wxPrintDialogData_SetNoCopies cobj__obj  (toCInt v)  -foreign import ccall "wxPrintDialogData_SetNoCopies" wxPrintDialogData_SetNoCopies :: Ptr (TPrintDialogData a) -> CInt -> IO ()---- | usage: (@printDialogDataSetPrintData obj printData@).-printDialogDataSetPrintData :: PrintDialogData  a -> PrintData  b ->  IO ()-printDialogDataSetPrintData _obj printData -  = withObjectRef "printDialogDataSetPrintData" _obj $ \cobj__obj -> -    withObjectPtr printData $ \cobj_printData -> -    wxPrintDialogData_SetPrintData cobj__obj  cobj_printData  -foreign import ccall "wxPrintDialogData_SetPrintData" wxPrintDialogData_SetPrintData :: Ptr (TPrintDialogData a) -> Ptr (TPrintData b) -> IO ()---- | usage: (@printDialogDataSetPrintToFile obj flag@).-printDialogDataSetPrintToFile :: PrintDialogData  a -> Bool ->  IO ()-printDialogDataSetPrintToFile _obj flag -  = withObjectRef "printDialogDataSetPrintToFile" _obj $ \cobj__obj -> -    wxPrintDialogData_SetPrintToFile cobj__obj  (toCBool flag)  -foreign import ccall "wxPrintDialogData_SetPrintToFile" wxPrintDialogData_SetPrintToFile :: Ptr (TPrintDialogData a) -> CBool -> IO ()---- | usage: (@printDialogDataSetSelection obj flag@).-printDialogDataSetSelection :: PrintDialogData  a -> Bool ->  IO ()-printDialogDataSetSelection _obj flag -  = withObjectRef "printDialogDataSetSelection" _obj $ \cobj__obj -> -    wxPrintDialogData_SetSelection cobj__obj  (toCBool flag)  -foreign import ccall "wxPrintDialogData_SetSelection" wxPrintDialogData_SetSelection :: Ptr (TPrintDialogData a) -> CBool -> IO ()---- | usage: (@printDialogDataSetToPage obj v@).-printDialogDataSetToPage :: PrintDialogData  a -> Int ->  IO ()-printDialogDataSetToPage _obj v -  = withObjectRef "printDialogDataSetToPage" _obj $ \cobj__obj -> -    wxPrintDialogData_SetToPage cobj__obj  (toCInt v)  -foreign import ccall "wxPrintDialogData_SetToPage" wxPrintDialogData_SetToPage :: Ptr (TPrintDialogData a) -> CInt -> IO ()---- | usage: (@printDialogGetPrintDC obj@).-printDialogGetPrintDC :: PrintDialog  a ->  IO (DC  ())-printDialogGetPrintDC _obj -  = withObjectResult $-    withObjectRef "printDialogGetPrintDC" _obj $ \cobj__obj -> -    wxPrintDialog_GetPrintDC cobj__obj  -foreign import ccall "wxPrintDialog_GetPrintDC" wxPrintDialog_GetPrintDC :: Ptr (TPrintDialog a) -> IO (Ptr (TDC ()))---- | usage: (@printDialogGetPrintData obj@).-printDialogGetPrintData :: PrintDialog  a ->  IO (PrintData  ())-printDialogGetPrintData _obj -  = withRefPrintData $ \pref -> -    withObjectRef "printDialogGetPrintData" _obj $ \cobj__obj -> -    wxPrintDialog_GetPrintData cobj__obj   pref-foreign import ccall "wxPrintDialog_GetPrintData" wxPrintDialog_GetPrintData :: Ptr (TPrintDialog a) -> Ptr (TPrintData ()) -> IO ()---- | usage: (@printDialogGetPrintDialogData obj@).-printDialogGetPrintDialogData :: PrintDialog  a ->  IO (PrintDialogData  ())-printDialogGetPrintDialogData _obj -  = withManagedObjectResult $-    withObjectRef "printDialogGetPrintDialogData" _obj $ \cobj__obj -> -    wxPrintDialog_GetPrintDialogData cobj__obj  -foreign import ccall "wxPrintDialog_GetPrintDialogData" wxPrintDialog_GetPrintDialogData :: Ptr (TPrintDialog a) -> IO (Ptr (TPrintDialogData ()))---- | usage: (@printPreviewCreateFromData printout printoutForPrinting wxdata@).-printPreviewCreateFromData :: Printout  a -> Printout  b -> PrintData  c ->  IO (PrintPreview  ())-printPreviewCreateFromData printout printoutForPrinting wxdata -  = withObjectResult $-    withObjectPtr printout $ \cobj_printout -> -    withObjectPtr printoutForPrinting $ \cobj_printoutForPrinting -> -    withObjectPtr wxdata $ \cobj_wxdata -> -    wxPrintPreview_CreateFromData cobj_printout  cobj_printoutForPrinting  cobj_wxdata  -foreign import ccall "wxPrintPreview_CreateFromData" wxPrintPreview_CreateFromData :: Ptr (TPrintout a) -> Ptr (TPrintout b) -> Ptr (TPrintData c) -> IO (Ptr (TPrintPreview ()))---- | usage: (@printPreviewCreateFromDialogData printout printoutForPrinting wxdata@).-printPreviewCreateFromDialogData :: Printout  a -> Printout  b -> PrintDialogData  c ->  IO (PrintPreview  ())-printPreviewCreateFromDialogData printout printoutForPrinting wxdata -  = withObjectResult $-    withObjectPtr printout $ \cobj_printout -> -    withObjectPtr printoutForPrinting $ \cobj_printoutForPrinting -> -    withObjectPtr wxdata $ \cobj_wxdata -> -    wxPrintPreview_CreateFromDialogData cobj_printout  cobj_printoutForPrinting  cobj_wxdata  -foreign import ccall "wxPrintPreview_CreateFromDialogData" wxPrintPreview_CreateFromDialogData :: Ptr (TPrintout a) -> Ptr (TPrintout b) -> Ptr (TPrintDialogData c) -> IO (Ptr (TPrintPreview ()))---- | usage: (@printPreviewDelete obj@).-printPreviewDelete :: PrintPreview  a ->  IO ()-printPreviewDelete-  = objectDelete----- | usage: (@printPreviewDetermineScaling obj@).-printPreviewDetermineScaling :: PrintPreview  a ->  IO ()-printPreviewDetermineScaling _obj -  = withObjectRef "printPreviewDetermineScaling" _obj $ \cobj__obj -> -    wxPrintPreview_DetermineScaling cobj__obj  -foreign import ccall "wxPrintPreview_DetermineScaling" wxPrintPreview_DetermineScaling :: Ptr (TPrintPreview a) -> IO ()---- | usage: (@printPreviewDrawBlankPage obj canvas dc@).-printPreviewDrawBlankPage :: PrintPreview  a -> PreviewCanvas  b -> DC  c ->  IO Bool-printPreviewDrawBlankPage _obj canvas dc -  = withBoolResult $-    withObjectRef "printPreviewDrawBlankPage" _obj $ \cobj__obj -> -    withObjectPtr canvas $ \cobj_canvas -> -    withObjectPtr dc $ \cobj_dc -> -    wxPrintPreview_DrawBlankPage cobj__obj  cobj_canvas  cobj_dc  -foreign import ccall "wxPrintPreview_DrawBlankPage" wxPrintPreview_DrawBlankPage :: Ptr (TPrintPreview a) -> Ptr (TPreviewCanvas b) -> Ptr (TDC c) -> IO CBool---- | usage: (@printPreviewGetCanvas obj@).-printPreviewGetCanvas :: PrintPreview  a ->  IO (PreviewCanvas  ())-printPreviewGetCanvas _obj -  = withObjectResult $-    withObjectRef "printPreviewGetCanvas" _obj $ \cobj__obj -> -    wxPrintPreview_GetCanvas cobj__obj  -foreign import ccall "wxPrintPreview_GetCanvas" wxPrintPreview_GetCanvas :: Ptr (TPrintPreview a) -> IO (Ptr (TPreviewCanvas ()))---- | usage: (@printPreviewGetCurrentPage obj@).-printPreviewGetCurrentPage :: PrintPreview  a ->  IO Int-printPreviewGetCurrentPage _obj -  = withIntResult $-    withObjectRef "printPreviewGetCurrentPage" _obj $ \cobj__obj -> -    wxPrintPreview_GetCurrentPage cobj__obj  -foreign import ccall "wxPrintPreview_GetCurrentPage" wxPrintPreview_GetCurrentPage :: Ptr (TPrintPreview a) -> IO CInt---- | usage: (@printPreviewGetFrame obj@).-printPreviewGetFrame :: PrintPreview  a ->  IO (Frame  ())-printPreviewGetFrame _obj -  = withObjectResult $-    withObjectRef "printPreviewGetFrame" _obj $ \cobj__obj -> -    wxPrintPreview_GetFrame cobj__obj  -foreign import ccall "wxPrintPreview_GetFrame" wxPrintPreview_GetFrame :: Ptr (TPrintPreview a) -> IO (Ptr (TFrame ()))---- | usage: (@printPreviewGetMaxPage obj@).-printPreviewGetMaxPage :: PrintPreview  a ->  IO Int-printPreviewGetMaxPage _obj -  = withIntResult $-    withObjectRef "printPreviewGetMaxPage" _obj $ \cobj__obj -> -    wxPrintPreview_GetMaxPage cobj__obj  -foreign import ccall "wxPrintPreview_GetMaxPage" wxPrintPreview_GetMaxPage :: Ptr (TPrintPreview a) -> IO CInt---- | usage: (@printPreviewGetMinPage obj@).-printPreviewGetMinPage :: PrintPreview  a ->  IO Int-printPreviewGetMinPage _obj -  = withIntResult $-    withObjectRef "printPreviewGetMinPage" _obj $ \cobj__obj -> -    wxPrintPreview_GetMinPage cobj__obj  -foreign import ccall "wxPrintPreview_GetMinPage" wxPrintPreview_GetMinPage :: Ptr (TPrintPreview a) -> IO CInt---- | usage: (@printPreviewGetPrintDialogData obj@).-printPreviewGetPrintDialogData :: PrintPreview  a ->  IO (PrintDialogData  ())-printPreviewGetPrintDialogData _obj -  = withRefPrintDialogData $ \pref -> -    withObjectRef "printPreviewGetPrintDialogData" _obj $ \cobj__obj -> -    wxPrintPreview_GetPrintDialogData cobj__obj   pref-foreign import ccall "wxPrintPreview_GetPrintDialogData" wxPrintPreview_GetPrintDialogData :: Ptr (TPrintPreview a) -> Ptr (TPrintDialogData ()) -> IO ()---- | usage: (@printPreviewGetPrintout obj@).-printPreviewGetPrintout :: PrintPreview  a ->  IO (Printout  ())-printPreviewGetPrintout _obj -  = withObjectResult $-    withObjectRef "printPreviewGetPrintout" _obj $ \cobj__obj -> -    wxPrintPreview_GetPrintout cobj__obj  -foreign import ccall "wxPrintPreview_GetPrintout" wxPrintPreview_GetPrintout :: Ptr (TPrintPreview a) -> IO (Ptr (TPrintout ()))---- | usage: (@printPreviewGetPrintoutForPrinting obj@).-printPreviewGetPrintoutForPrinting :: PrintPreview  a ->  IO (Printout  ())-printPreviewGetPrintoutForPrinting _obj -  = withObjectResult $-    withObjectRef "printPreviewGetPrintoutForPrinting" _obj $ \cobj__obj -> -    wxPrintPreview_GetPrintoutForPrinting cobj__obj  -foreign import ccall "wxPrintPreview_GetPrintoutForPrinting" wxPrintPreview_GetPrintoutForPrinting :: Ptr (TPrintPreview a) -> IO (Ptr (TPrintout ()))---- | usage: (@printPreviewGetZoom obj@).-printPreviewGetZoom :: PrintPreview  a ->  IO Int-printPreviewGetZoom _obj -  = withIntResult $-    withObjectRef "printPreviewGetZoom" _obj $ \cobj__obj -> -    wxPrintPreview_GetZoom cobj__obj  -foreign import ccall "wxPrintPreview_GetZoom" wxPrintPreview_GetZoom :: Ptr (TPrintPreview a) -> IO CInt---- | usage: (@printPreviewIsOk obj@).-printPreviewIsOk :: PrintPreview  a ->  IO Bool-printPreviewIsOk _obj -  = withBoolResult $-    withObjectRef "printPreviewIsOk" _obj $ \cobj__obj -> -    wxPrintPreview_IsOk cobj__obj  -foreign import ccall "wxPrintPreview_IsOk" wxPrintPreview_IsOk :: Ptr (TPrintPreview a) -> IO CBool---- | usage: (@printPreviewPaintPage obj canvas dc@).-printPreviewPaintPage :: PrintPreview  a -> PrintPreview  b -> DC  c ->  IO Bool-printPreviewPaintPage _obj canvas dc -  = withBoolResult $-    withObjectRef "printPreviewPaintPage" _obj $ \cobj__obj -> -    withObjectPtr canvas $ \cobj_canvas -> -    withObjectPtr dc $ \cobj_dc -> -    wxPrintPreview_PaintPage cobj__obj  cobj_canvas  cobj_dc  -foreign import ccall "wxPrintPreview_PaintPage" wxPrintPreview_PaintPage :: Ptr (TPrintPreview a) -> Ptr (TPrintPreview b) -> Ptr (TDC c) -> IO CBool---- | usage: (@printPreviewPrint obj interactive@).-printPreviewPrint :: PrintPreview  a -> Bool ->  IO Bool-printPreviewPrint _obj interactive -  = withBoolResult $-    withObjectRef "printPreviewPrint" _obj $ \cobj__obj -> -    wxPrintPreview_Print cobj__obj  (toCBool interactive)  -foreign import ccall "wxPrintPreview_Print" wxPrintPreview_Print :: Ptr (TPrintPreview a) -> CBool -> IO CBool---- | usage: (@printPreviewRenderPage obj pageNum@).-printPreviewRenderPage :: PrintPreview  a -> Int ->  IO Bool-printPreviewRenderPage _obj pageNum -  = withBoolResult $-    withObjectRef "printPreviewRenderPage" _obj $ \cobj__obj -> -    wxPrintPreview_RenderPage cobj__obj  (toCInt pageNum)  -foreign import ccall "wxPrintPreview_RenderPage" wxPrintPreview_RenderPage :: Ptr (TPrintPreview a) -> CInt -> IO CBool---- | usage: (@printPreviewSetCanvas obj canvas@).-printPreviewSetCanvas :: PrintPreview  a -> PreviewCanvas  b ->  IO ()-printPreviewSetCanvas _obj canvas -  = withObjectRef "printPreviewSetCanvas" _obj $ \cobj__obj -> -    withObjectPtr canvas $ \cobj_canvas -> -    wxPrintPreview_SetCanvas cobj__obj  cobj_canvas  -foreign import ccall "wxPrintPreview_SetCanvas" wxPrintPreview_SetCanvas :: Ptr (TPrintPreview a) -> Ptr (TPreviewCanvas b) -> IO ()---- | usage: (@printPreviewSetCurrentPage obj pageNum@).-printPreviewSetCurrentPage :: PrintPreview  a -> Int ->  IO Bool-printPreviewSetCurrentPage _obj pageNum -  = withBoolResult $-    withObjectRef "printPreviewSetCurrentPage" _obj $ \cobj__obj -> -    wxPrintPreview_SetCurrentPage cobj__obj  (toCInt pageNum)  -foreign import ccall "wxPrintPreview_SetCurrentPage" wxPrintPreview_SetCurrentPage :: Ptr (TPrintPreview a) -> CInt -> IO CBool---- | usage: (@printPreviewSetFrame obj frame@).-printPreviewSetFrame :: PrintPreview  a -> Frame  b ->  IO ()-printPreviewSetFrame _obj frame -  = withObjectRef "printPreviewSetFrame" _obj $ \cobj__obj -> -    withObjectPtr frame $ \cobj_frame -> -    wxPrintPreview_SetFrame cobj__obj  cobj_frame  -foreign import ccall "wxPrintPreview_SetFrame" wxPrintPreview_SetFrame :: Ptr (TPrintPreview a) -> Ptr (TFrame b) -> IO ()---- | usage: (@printPreviewSetOk obj ok@).-printPreviewSetOk :: PrintPreview  a -> Bool ->  IO ()-printPreviewSetOk _obj ok -  = withObjectRef "printPreviewSetOk" _obj $ \cobj__obj -> -    wxPrintPreview_SetOk cobj__obj  (toCBool ok)  -foreign import ccall "wxPrintPreview_SetOk" wxPrintPreview_SetOk :: Ptr (TPrintPreview a) -> CBool -> IO ()---- | usage: (@printPreviewSetPrintout obj printout@).-printPreviewSetPrintout :: PrintPreview  a -> Printout  b ->  IO ()-printPreviewSetPrintout _obj printout -  = withObjectRef "printPreviewSetPrintout" _obj $ \cobj__obj -> -    withObjectPtr printout $ \cobj_printout -> -    wxPrintPreview_SetPrintout cobj__obj  cobj_printout  -foreign import ccall "wxPrintPreview_SetPrintout" wxPrintPreview_SetPrintout :: Ptr (TPrintPreview a) -> Ptr (TPrintout b) -> IO ()---- | usage: (@printPreviewSetZoom obj percent@).-printPreviewSetZoom :: PrintPreview  a -> Int ->  IO ()-printPreviewSetZoom _obj percent -  = withObjectRef "printPreviewSetZoom" _obj $ \cobj__obj -> -    wxPrintPreview_SetZoom cobj__obj  (toCInt percent)  -foreign import ccall "wxPrintPreview_SetZoom" wxPrintPreview_SetZoom :: Ptr (TPrintPreview a) -> CInt -> IO ()---- | usage: (@printerCreate wxdata@).-printerCreate :: PrintDialogData  a ->  IO (Printer  ())-printerCreate wxdata -  = withObjectResult $-    withObjectPtr wxdata $ \cobj_wxdata -> -    wxPrinter_Create cobj_wxdata  -foreign import ccall "wxPrinter_Create" wxPrinter_Create :: Ptr (TPrintDialogData a) -> IO (Ptr (TPrinter ()))---- | usage: (@printerCreateAbortWindow obj parent printout@).-printerCreateAbortWindow :: Printer  a -> Window  b -> Printout  c ->  IO (Window  ())-printerCreateAbortWindow _obj parent printout -  = withObjectResult $-    withObjectRef "printerCreateAbortWindow" _obj $ \cobj__obj -> -    withObjectPtr parent $ \cobj_parent -> -    withObjectPtr printout $ \cobj_printout -> -    wxPrinter_CreateAbortWindow cobj__obj  cobj_parent  cobj_printout  -foreign import ccall "wxPrinter_CreateAbortWindow" wxPrinter_CreateAbortWindow :: Ptr (TPrinter a) -> Ptr (TWindow b) -> Ptr (TPrintout c) -> IO (Ptr (TWindow ()))---- | usage: (@printerDCCreate wxdata@).-printerDCCreate :: PrintData  a ->  IO (PrinterDC  ())-printerDCCreate wxdata -  = withObjectResult $-    withObjectPtr wxdata $ \cobj_wxdata -> -    wxPrinterDC_Create cobj_wxdata  -foreign import ccall "wxPrinterDC_Create" wxPrinterDC_Create :: Ptr (TPrintData a) -> IO (Ptr (TPrinterDC ()))---- | usage: (@printerDCDelete self@).-printerDCDelete :: PrinterDC  a ->  IO ()-printerDCDelete-  = objectDelete----- | usage: (@printerDCGetPaperRect self@).-printerDCGetPaperRect :: PrinterDC  a ->  IO (Rect)-printerDCGetPaperRect self -  = withWxRectResult $-    withObjectRef "printerDCGetPaperRect" self $ \cobj_self -> -    wxPrinterDC_GetPaperRect cobj_self  -foreign import ccall "wxPrinterDC_GetPaperRect" wxPrinterDC_GetPaperRect :: Ptr (TPrinterDC a) -> IO (Ptr (TWxRect ()))---- | usage: (@printerDelete obj@).-printerDelete :: Printer  a ->  IO ()-printerDelete-  = objectDelete----- | usage: (@printerGetAbort obj@).-printerGetAbort :: Printer  a ->  IO Bool-printerGetAbort _obj -  = withBoolResult $-    withObjectRef "printerGetAbort" _obj $ \cobj__obj -> -    wxPrinter_GetAbort cobj__obj  -foreign import ccall "wxPrinter_GetAbort" wxPrinter_GetAbort :: Ptr (TPrinter a) -> IO CBool---- | usage: (@printerGetLastError obj@).-printerGetLastError :: Printer  a ->  IO Int-printerGetLastError _obj -  = withIntResult $-    withObjectRef "printerGetLastError" _obj $ \cobj__obj -> -    wxPrinter_GetLastError cobj__obj  -foreign import ccall "wxPrinter_GetLastError" wxPrinter_GetLastError :: Ptr (TPrinter a) -> IO CInt---- | usage: (@printerGetPrintDialogData obj@).-printerGetPrintDialogData :: Printer  a ->  IO (PrintDialogData  ())-printerGetPrintDialogData _obj -  = withRefPrintDialogData $ \pref -> -    withObjectRef "printerGetPrintDialogData" _obj $ \cobj__obj -> -    wxPrinter_GetPrintDialogData cobj__obj   pref-foreign import ccall "wxPrinter_GetPrintDialogData" wxPrinter_GetPrintDialogData :: Ptr (TPrinter a) -> Ptr (TPrintDialogData ()) -> IO ()---- | usage: (@printerPrint obj parent printout prompt@).-printerPrint :: Printer  a -> Window  b -> Printout  c -> Bool ->  IO Bool-printerPrint _obj parent printout prompt -  = withBoolResult $-    withObjectRef "printerPrint" _obj $ \cobj__obj -> -    withObjectPtr parent $ \cobj_parent -> -    withObjectPtr printout $ \cobj_printout -> -    wxPrinter_Print cobj__obj  cobj_parent  cobj_printout  (toCBool prompt)  -foreign import ccall "wxPrinter_Print" wxPrinter_Print :: Ptr (TPrinter a) -> Ptr (TWindow b) -> Ptr (TPrintout c) -> CBool -> IO CBool---- | usage: (@printerPrintDialog obj parent@).-printerPrintDialog :: Printer  a -> Window  b ->  IO (DC  ())-printerPrintDialog _obj parent -  = withObjectResult $-    withObjectRef "printerPrintDialog" _obj $ \cobj__obj -> -    withObjectPtr parent $ \cobj_parent -> -    wxPrinter_PrintDialog cobj__obj  cobj_parent  -foreign import ccall "wxPrinter_PrintDialog" wxPrinter_PrintDialog :: Ptr (TPrinter a) -> Ptr (TWindow b) -> IO (Ptr (TDC ()))---- | usage: (@printerReportError obj parent printout message@).-printerReportError :: Printer  a -> Window  b -> Printout  c -> String ->  IO ()-printerReportError _obj parent printout message -  = withObjectRef "printerReportError" _obj $ \cobj__obj -> -    withObjectPtr parent $ \cobj_parent -> -    withObjectPtr printout $ \cobj_printout -> -    withStringPtr message $ \cobj_message -> -    wxPrinter_ReportError cobj__obj  cobj_parent  cobj_printout  cobj_message  -foreign import ccall "wxPrinter_ReportError" wxPrinter_ReportError :: Ptr (TPrinter a) -> Ptr (TWindow b) -> Ptr (TPrintout c) -> Ptr (TWxString d) -> IO ()---- | usage: (@printerSetup obj parent@).-printerSetup :: Printer  a -> Window  b ->  IO Bool-printerSetup _obj parent -  = withBoolResult $-    withObjectRef "printerSetup" _obj $ \cobj__obj -> -    withObjectPtr parent $ \cobj_parent -> -    wxPrinter_Setup cobj__obj  cobj_parent  -foreign import ccall "wxPrinter_Setup" wxPrinter_Setup :: Ptr (TPrinter a) -> Ptr (TWindow b) -> IO CBool---- | usage: (@printoutGetDC obj@).-printoutGetDC :: Printout  a ->  IO (DC  ())-printoutGetDC _obj -  = withObjectResult $-    withObjectRef "printoutGetDC" _obj $ \cobj__obj -> -    wxPrintout_GetDC cobj__obj  -foreign import ccall "wxPrintout_GetDC" wxPrintout_GetDC :: Ptr (TPrintout a) -> IO (Ptr (TDC ()))---- | usage: (@printoutGetPPIPrinter obj@).-printoutGetPPIPrinter :: Printout  a ->  IO Point-printoutGetPPIPrinter _obj -  = withPointResult $ \px py -> -    withObjectRef "printoutGetPPIPrinter" _obj $ \cobj__obj -> -    wxPrintout_GetPPIPrinter cobj__obj   px py-foreign import ccall "wxPrintout_GetPPIPrinter" wxPrintout_GetPPIPrinter :: Ptr (TPrintout a) -> Ptr CInt -> Ptr CInt -> IO ()---- | usage: (@printoutGetPPIScreen obj@).-printoutGetPPIScreen :: Printout  a ->  IO Point-printoutGetPPIScreen _obj -  = withPointResult $ \px py -> -    withObjectRef "printoutGetPPIScreen" _obj $ \cobj__obj -> -    wxPrintout_GetPPIScreen cobj__obj   px py-foreign import ccall "wxPrintout_GetPPIScreen" wxPrintout_GetPPIScreen :: Ptr (TPrintout a) -> Ptr CInt -> Ptr CInt -> IO ()---- | usage: (@printoutGetPageSizeMM obj@).-printoutGetPageSizeMM :: Printout  a ->  IO Size-printoutGetPageSizeMM _obj -  = withSizeResult $ \pw ph -> -    withObjectRef "printoutGetPageSizeMM" _obj $ \cobj__obj -> -    wxPrintout_GetPageSizeMM cobj__obj   pw ph-foreign import ccall "wxPrintout_GetPageSizeMM" wxPrintout_GetPageSizeMM :: Ptr (TPrintout a) -> Ptr CInt -> Ptr CInt -> IO ()---- | usage: (@printoutGetPageSizePixels obj@).-printoutGetPageSizePixels :: Printout  a ->  IO Size-printoutGetPageSizePixels _obj -  = withSizeResult $ \pw ph -> -    withObjectRef "printoutGetPageSizePixels" _obj $ \cobj__obj -> -    wxPrintout_GetPageSizePixels cobj__obj   pw ph-foreign import ccall "wxPrintout_GetPageSizePixels" wxPrintout_GetPageSizePixels :: Ptr (TPrintout a) -> Ptr CInt -> Ptr CInt -> IO ()---- | usage: (@printoutGetTitle obj@).-printoutGetTitle :: Printout  a ->  IO (String)-printoutGetTitle _obj -  = withManagedStringResult $-    withObjectRef "printoutGetTitle" _obj $ \cobj__obj -> -    wxPrintout_GetTitle cobj__obj  -foreign import ccall "wxPrintout_GetTitle" wxPrintout_GetTitle :: Ptr (TPrintout a) -> IO (Ptr (TWxString ()))---- | usage: (@printoutIsPreview obj@).-printoutIsPreview :: Printout  a ->  IO Bool-printoutIsPreview _obj -  = withBoolResult $-    withObjectRef "printoutIsPreview" _obj $ \cobj__obj -> -    wxPrintout_IsPreview cobj__obj  -foreign import ccall "wxPrintout_IsPreview" wxPrintout_IsPreview :: Ptr (TPrintout a) -> IO CBool---- | usage: (@printoutSetDC obj dc@).-printoutSetDC :: Printout  a -> DC  b ->  IO ()-printoutSetDC _obj dc -  = withObjectRef "printoutSetDC" _obj $ \cobj__obj -> -    withObjectPtr dc $ \cobj_dc -> -    wxPrintout_SetDC cobj__obj  cobj_dc  -foreign import ccall "wxPrintout_SetDC" wxPrintout_SetDC :: Ptr (TPrintout a) -> Ptr (TDC b) -> IO ()---- | usage: (@printoutSetIsPreview obj p@).-printoutSetIsPreview :: Printout  a -> Bool ->  IO ()-printoutSetIsPreview _obj p -  = withObjectRef "printoutSetIsPreview" _obj $ \cobj__obj -> -    wxPrintout_SetIsPreview cobj__obj  (toCBool p)  -foreign import ccall "wxPrintout_SetIsPreview" wxPrintout_SetIsPreview :: Ptr (TPrintout a) -> CBool -> IO ()---- | usage: (@printoutSetPPIPrinter obj xy@).-printoutSetPPIPrinter :: Printout  a -> Point ->  IO ()-printoutSetPPIPrinter _obj xy -  = withObjectRef "printoutSetPPIPrinter" _obj $ \cobj__obj -> -    wxPrintout_SetPPIPrinter cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  -foreign import ccall "wxPrintout_SetPPIPrinter" wxPrintout_SetPPIPrinter :: Ptr (TPrintout a) -> CInt -> CInt -> IO ()---- | usage: (@printoutSetPPIScreen obj xy@).-printoutSetPPIScreen :: Printout  a -> Point ->  IO ()-printoutSetPPIScreen _obj xy -  = withObjectRef "printoutSetPPIScreen" _obj $ \cobj__obj -> -    wxPrintout_SetPPIScreen cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  -foreign import ccall "wxPrintout_SetPPIScreen" wxPrintout_SetPPIScreen :: Ptr (TPrintout a) -> CInt -> CInt -> IO ()---- | usage: (@printoutSetPageSizeMM obj wh@).-printoutSetPageSizeMM :: Printout  a -> Size ->  IO ()-printoutSetPageSizeMM _obj wh -  = withObjectRef "printoutSetPageSizeMM" _obj $ \cobj__obj -> -    wxPrintout_SetPageSizeMM cobj__obj  (toCIntSizeW wh) (toCIntSizeH wh)  -foreign import ccall "wxPrintout_SetPageSizeMM" wxPrintout_SetPageSizeMM :: Ptr (TPrintout a) -> CInt -> CInt -> IO ()---- | usage: (@printoutSetPageSizePixels obj wh@).-printoutSetPageSizePixels :: Printout  a -> Size ->  IO ()-printoutSetPageSizePixels _obj wh -  = withObjectRef "printoutSetPageSizePixels" _obj $ \cobj__obj -> -    wxPrintout_SetPageSizePixels cobj__obj  (toCIntSizeW wh) (toCIntSizeH wh)  -foreign import ccall "wxPrintout_SetPageSizePixels" wxPrintout_SetPageSizePixels :: Ptr (TPrintout a) -> CInt -> CInt -> IO ()---- | usage: (@processCloseOutput obj@).-processCloseOutput :: Process  a ->  IO ()-processCloseOutput _obj -  = withObjectRef "processCloseOutput" _obj $ \cobj__obj -> -    wxProcess_CloseOutput cobj__obj  -foreign import ccall "wxProcess_CloseOutput" wxProcess_CloseOutput :: Ptr (TProcess a) -> IO ()---- | usage: (@processCreateDefault prt id@).-processCreateDefault :: Window  a -> Id ->  IO (Process  ())-processCreateDefault _prt _id -  = withObjectResult $-    withObjectPtr _prt $ \cobj__prt -> -    wxProcess_CreateDefault cobj__prt  (toCInt _id)  -foreign import ccall "wxProcess_CreateDefault" wxProcess_CreateDefault :: Ptr (TWindow a) -> CInt -> IO (Ptr (TProcess ()))---- | usage: (@processCreateRedirect prt rdr@).-processCreateRedirect :: Window  a -> Bool ->  IO (Process  ())-processCreateRedirect _prt _rdr -  = withObjectResult $-    withObjectPtr _prt $ \cobj__prt -> -    wxProcess_CreateRedirect cobj__prt  (toCBool _rdr)  -foreign import ccall "wxProcess_CreateRedirect" wxProcess_CreateRedirect :: Ptr (TWindow a) -> CBool -> IO (Ptr (TProcess ()))---- | usage: (@processDelete obj@).-processDelete :: Process  a ->  IO ()-processDelete-  = objectDelete----- | usage: (@processDetach obj@).-processDetach :: Process  a ->  IO ()-processDetach _obj -  = withObjectRef "processDetach" _obj $ \cobj__obj -> -    wxProcess_Detach cobj__obj  -foreign import ccall "wxProcess_Detach" wxProcess_Detach :: Ptr (TProcess a) -> IO ()---- | usage: (@processEventGetExitCode obj@).-processEventGetExitCode :: ProcessEvent  a ->  IO Int-processEventGetExitCode _obj -  = withIntResult $-    withObjectRef "processEventGetExitCode" _obj $ \cobj__obj -> -    wxProcessEvent_GetExitCode cobj__obj  -foreign import ccall "wxProcessEvent_GetExitCode" wxProcessEvent_GetExitCode :: Ptr (TProcessEvent a) -> IO CInt---- | usage: (@processEventGetPid obj@).-processEventGetPid :: ProcessEvent  a ->  IO Int-processEventGetPid _obj -  = withIntResult $-    withObjectRef "processEventGetPid" _obj $ \cobj__obj -> -    wxProcessEvent_GetPid cobj__obj  -foreign import ccall "wxProcessEvent_GetPid" wxProcessEvent_GetPid :: Ptr (TProcessEvent a) -> IO CInt---- | usage: (@processGetErrorStream obj@).-processGetErrorStream :: Process  a ->  IO (InputStream  ())-processGetErrorStream _obj -  = withObjectResult $-    withObjectRef "processGetErrorStream" _obj $ \cobj__obj -> -    wxProcess_GetErrorStream cobj__obj  -foreign import ccall "wxProcess_GetErrorStream" wxProcess_GetErrorStream :: Ptr (TProcess a) -> IO (Ptr (TInputStream ()))---- | usage: (@processGetInputStream obj@).-processGetInputStream :: Process  a ->  IO (InputStream  ())-processGetInputStream _obj -  = withObjectResult $-    withObjectRef "processGetInputStream" _obj $ \cobj__obj -> -    wxProcess_GetInputStream cobj__obj  -foreign import ccall "wxProcess_GetInputStream" wxProcess_GetInputStream :: Ptr (TProcess a) -> IO (Ptr (TInputStream ()))---- | usage: (@processGetOutputStream obj@).-processGetOutputStream :: Process  a ->  IO (OutputStream  ())-processGetOutputStream _obj -  = withObjectResult $-    withObjectRef "processGetOutputStream" _obj $ \cobj__obj -> -    wxProcess_GetOutputStream cobj__obj  -foreign import ccall "wxProcess_GetOutputStream" wxProcess_GetOutputStream :: Ptr (TProcess a) -> IO (Ptr (TOutputStream ()))---- | usage: (@processIsErrorAvailable obj@).-processIsErrorAvailable :: Process  a ->  IO Bool-processIsErrorAvailable _obj -  = withBoolResult $-    withObjectRef "processIsErrorAvailable" _obj $ \cobj__obj -> -    wxProcess_IsErrorAvailable cobj__obj  -foreign import ccall "wxProcess_IsErrorAvailable" wxProcess_IsErrorAvailable :: Ptr (TProcess a) -> IO CBool---- | usage: (@processIsInputAvailable obj@).-processIsInputAvailable :: Process  a ->  IO Bool-processIsInputAvailable _obj -  = withBoolResult $-    withObjectRef "processIsInputAvailable" _obj $ \cobj__obj -> -    wxProcess_IsInputAvailable cobj__obj  -foreign import ccall "wxProcess_IsInputAvailable" wxProcess_IsInputAvailable :: Ptr (TProcess a) -> IO CBool---- | usage: (@processIsInputOpened obj@).-processIsInputOpened :: Process  a ->  IO Bool-processIsInputOpened _obj -  = withBoolResult $-    withObjectRef "processIsInputOpened" _obj $ \cobj__obj -> -    wxProcess_IsInputOpened cobj__obj  -foreign import ccall "wxProcess_IsInputOpened" wxProcess_IsInputOpened :: Ptr (TProcess a) -> IO CBool---- | usage: (@processIsRedirected obj@).-processIsRedirected :: Process  a ->  IO Bool-processIsRedirected _obj -  = withBoolResult $-    withObjectRef "processIsRedirected" _obj $ \cobj__obj -> -    wxProcess_IsRedirected cobj__obj  -foreign import ccall "wxProcess_IsRedirected" wxProcess_IsRedirected :: Ptr (TProcess a) -> IO CBool---- | usage: (@processOpen cmd flags@).-processOpen :: String -> Int ->  IO (Process  ())-processOpen cmd flags -  = withObjectResult $-    withStringPtr cmd $ \cobj_cmd -> -    wxProcess_Open cobj_cmd  (toCInt flags)  -foreign import ccall "wxProcess_Open" wxProcess_Open :: Ptr (TWxString a) -> CInt -> IO (Ptr (TProcess ()))---- | usage: (@processRedirect obj@).-processRedirect :: Process  a ->  IO ()-processRedirect _obj -  = withObjectRef "processRedirect" _obj $ \cobj__obj -> -    wxProcess_Redirect cobj__obj  -foreign import ccall "wxProcess_Redirect" wxProcess_Redirect :: Ptr (TProcess a) -> IO ()---- | usage: (@progressDialogCreate title message max parent style@).-progressDialogCreate :: String -> String -> Int -> Window  d -> Int ->  IO (ProgressDialog  ())-progressDialogCreate title message max parent style -  = withObjectResult $-    withStringPtr title $ \cobj_title -> -    withStringPtr message $ \cobj_message -> -    withObjectPtr parent $ \cobj_parent -> -    wxProgressDialog_Create cobj_title  cobj_message  (toCInt max)  cobj_parent  (toCInt style)  -foreign import ccall "wxProgressDialog_Create" wxProgressDialog_Create :: Ptr (TWxString a) -> Ptr (TWxString b) -> CInt -> Ptr (TWindow d) -> CInt -> IO (Ptr (TProgressDialog ()))---- | usage: (@progressDialogResume obj@).-progressDialogResume :: ProgressDialog  a ->  IO ()-progressDialogResume obj -  = withObjectRef "progressDialogResume" obj $ \cobj_obj -> -    wxProgressDialog_Resume cobj_obj  -foreign import ccall "wxProgressDialog_Resume" wxProgressDialog_Resume :: Ptr (TProgressDialog a) -> IO ()---- | usage: (@progressDialogUpdate obj value@).-progressDialogUpdate :: ProgressDialog  a -> Int ->  IO Bool-progressDialogUpdate obj value -  = withBoolResult $-    withObjectRef "progressDialogUpdate" obj $ \cobj_obj -> -    wxProgressDialog_Update cobj_obj  (toCInt value)  -foreign import ccall "wxProgressDialog_Update" wxProgressDialog_Update :: Ptr (TProgressDialog a) -> CInt -> IO CBool---- | usage: (@progressDialogUpdateWithMessage obj value message@).-progressDialogUpdateWithMessage :: ProgressDialog  a -> Int -> String ->  IO Bool-progressDialogUpdateWithMessage obj value message -  = withBoolResult $-    withObjectRef "progressDialogUpdateWithMessage" obj $ \cobj_obj -> -    withStringPtr message $ \cobj_message -> -    wxProgressDialog_UpdateWithMessage cobj_obj  (toCInt value)  cobj_message  -foreign import ccall "wxProgressDialog_UpdateWithMessage" wxProgressDialog_UpdateWithMessage :: Ptr (TProgressDialog a) -> CInt -> Ptr (TWxString c) -> IO CBool---- | usage: (@pushProvider provider@).-pushProvider :: ArtProvider  a ->  IO ()-pushProvider provider -  = withObjectPtr provider $ \cobj_provider -> -    wx_PushProvider cobj_provider  -foreign import ccall "PushProvider" wx_PushProvider :: Ptr (TArtProvider a) -> IO ()---- | usage: (@quantize src dest desiredNoColours eightBitData flags@).-quantize :: Image  a -> Image  b -> Int -> Ptr  d -> Int ->  IO Bool-quantize src dest desiredNoColours eightBitData flags -  = withBoolResult $-    withObjectPtr src $ \cobj_src -> -    withObjectPtr dest $ \cobj_dest -> -    wx_Quantize cobj_src  cobj_dest  (toCInt desiredNoColours)  eightBitData  (toCInt flags)  -foreign import ccall "Quantize" wx_Quantize :: Ptr (TImage a) -> Ptr (TImage b) -> CInt -> Ptr  d -> CInt -> IO CBool---- | usage: (@quantizePalette src dest pPalette desiredNoColours eightBitData flags@).-quantizePalette :: Image  a -> Image  b -> Ptr  c -> Int -> Ptr  e -> Int ->  IO Bool-quantizePalette src dest pPalette desiredNoColours eightBitData flags -  = withBoolResult $-    withObjectPtr src $ \cobj_src -> -    withObjectPtr dest $ \cobj_dest -> -    wx_QuantizePalette cobj_src  cobj_dest  pPalette  (toCInt desiredNoColours)  eightBitData  (toCInt flags)  -foreign import ccall "QuantizePalette" wx_QuantizePalette :: Ptr (TImage a) -> Ptr (TImage b) -> Ptr  c -> CInt -> Ptr  e -> CInt -> IO CBool---- | usage: (@queryLayoutInfoEventCreate id@).-queryLayoutInfoEventCreate :: Id ->  IO (QueryLayoutInfoEvent  ())-queryLayoutInfoEventCreate id -  = withObjectResult $-    wxQueryLayoutInfoEvent_Create (toCInt id)  -foreign import ccall "wxQueryLayoutInfoEvent_Create" wxQueryLayoutInfoEvent_Create :: CInt -> IO (Ptr (TQueryLayoutInfoEvent ()))---- | usage: (@queryLayoutInfoEventGetAlignment obj@).-queryLayoutInfoEventGetAlignment :: QueryLayoutInfoEvent  a ->  IO Int-queryLayoutInfoEventGetAlignment _obj -  = withIntResult $-    withObjectRef "queryLayoutInfoEventGetAlignment" _obj $ \cobj__obj -> -    wxQueryLayoutInfoEvent_GetAlignment cobj__obj  -foreign import ccall "wxQueryLayoutInfoEvent_GetAlignment" wxQueryLayoutInfoEvent_GetAlignment :: Ptr (TQueryLayoutInfoEvent a) -> IO CInt---- | usage: (@queryLayoutInfoEventGetFlags obj@).-queryLayoutInfoEventGetFlags :: QueryLayoutInfoEvent  a ->  IO Int-queryLayoutInfoEventGetFlags _obj -  = withIntResult $-    withObjectRef "queryLayoutInfoEventGetFlags" _obj $ \cobj__obj -> -    wxQueryLayoutInfoEvent_GetFlags cobj__obj  -foreign import ccall "wxQueryLayoutInfoEvent_GetFlags" wxQueryLayoutInfoEvent_GetFlags :: Ptr (TQueryLayoutInfoEvent a) -> IO CInt---- | usage: (@queryLayoutInfoEventGetOrientation obj@).-queryLayoutInfoEventGetOrientation :: QueryLayoutInfoEvent  a ->  IO Int-queryLayoutInfoEventGetOrientation _obj -  = withIntResult $-    withObjectRef "queryLayoutInfoEventGetOrientation" _obj $ \cobj__obj -> -    wxQueryLayoutInfoEvent_GetOrientation cobj__obj  -foreign import ccall "wxQueryLayoutInfoEvent_GetOrientation" wxQueryLayoutInfoEvent_GetOrientation :: Ptr (TQueryLayoutInfoEvent a) -> IO CInt---- | usage: (@queryLayoutInfoEventGetRequestedLength obj@).-queryLayoutInfoEventGetRequestedLength :: QueryLayoutInfoEvent  a ->  IO Int-queryLayoutInfoEventGetRequestedLength _obj -  = withIntResult $-    withObjectRef "queryLayoutInfoEventGetRequestedLength" _obj $ \cobj__obj -> -    wxQueryLayoutInfoEvent_GetRequestedLength cobj__obj  -foreign import ccall "wxQueryLayoutInfoEvent_GetRequestedLength" wxQueryLayoutInfoEvent_GetRequestedLength :: Ptr (TQueryLayoutInfoEvent a) -> IO CInt---- | usage: (@queryLayoutInfoEventGetSize obj@).-queryLayoutInfoEventGetSize :: QueryLayoutInfoEvent  a ->  IO (Size)-queryLayoutInfoEventGetSize _obj -  = withWxSizeResult $-    withObjectRef "queryLayoutInfoEventGetSize" _obj $ \cobj__obj -> -    wxQueryLayoutInfoEvent_GetSize cobj__obj  -foreign import ccall "wxQueryLayoutInfoEvent_GetSize" wxQueryLayoutInfoEvent_GetSize :: Ptr (TQueryLayoutInfoEvent a) -> IO (Ptr (TWxSize ()))---- | usage: (@queryLayoutInfoEventSetAlignment obj align@).-queryLayoutInfoEventSetAlignment :: QueryLayoutInfoEvent  a -> Int ->  IO ()-queryLayoutInfoEventSetAlignment _obj align -  = withObjectRef "queryLayoutInfoEventSetAlignment" _obj $ \cobj__obj -> -    wxQueryLayoutInfoEvent_SetAlignment cobj__obj  (toCInt align)  -foreign import ccall "wxQueryLayoutInfoEvent_SetAlignment" wxQueryLayoutInfoEvent_SetAlignment :: Ptr (TQueryLayoutInfoEvent a) -> CInt -> IO ()---- | usage: (@queryLayoutInfoEventSetFlags obj flags@).-queryLayoutInfoEventSetFlags :: QueryLayoutInfoEvent  a -> Int ->  IO ()-queryLayoutInfoEventSetFlags _obj flags -  = withObjectRef "queryLayoutInfoEventSetFlags" _obj $ \cobj__obj -> -    wxQueryLayoutInfoEvent_SetFlags cobj__obj  (toCInt flags)  -foreign import ccall "wxQueryLayoutInfoEvent_SetFlags" wxQueryLayoutInfoEvent_SetFlags :: Ptr (TQueryLayoutInfoEvent a) -> CInt -> IO ()---- | usage: (@queryLayoutInfoEventSetOrientation obj orient@).-queryLayoutInfoEventSetOrientation :: QueryLayoutInfoEvent  a -> Int ->  IO ()-queryLayoutInfoEventSetOrientation _obj orient -  = withObjectRef "queryLayoutInfoEventSetOrientation" _obj $ \cobj__obj -> -    wxQueryLayoutInfoEvent_SetOrientation cobj__obj  (toCInt orient)  -foreign import ccall "wxQueryLayoutInfoEvent_SetOrientation" wxQueryLayoutInfoEvent_SetOrientation :: Ptr (TQueryLayoutInfoEvent a) -> CInt -> IO ()---- | usage: (@queryLayoutInfoEventSetRequestedLength obj length@).-queryLayoutInfoEventSetRequestedLength :: QueryLayoutInfoEvent  a -> Int ->  IO ()-queryLayoutInfoEventSetRequestedLength _obj length -  = withObjectRef "queryLayoutInfoEventSetRequestedLength" _obj $ \cobj__obj -> -    wxQueryLayoutInfoEvent_SetRequestedLength cobj__obj  (toCInt length)  -foreign import ccall "wxQueryLayoutInfoEvent_SetRequestedLength" wxQueryLayoutInfoEvent_SetRequestedLength :: Ptr (TQueryLayoutInfoEvent a) -> CInt -> IO ()---- | usage: (@queryLayoutInfoEventSetSize obj wh@).-queryLayoutInfoEventSetSize :: QueryLayoutInfoEvent  a -> Size ->  IO ()-queryLayoutInfoEventSetSize _obj wh -  = withObjectRef "queryLayoutInfoEventSetSize" _obj $ \cobj__obj -> -    wxQueryLayoutInfoEvent_SetSize cobj__obj  (toCIntSizeW wh) (toCIntSizeH wh)  -foreign import ccall "wxQueryLayoutInfoEvent_SetSize" wxQueryLayoutInfoEvent_SetSize :: Ptr (TQueryLayoutInfoEvent a) -> CInt -> CInt -> IO ()---- | usage: (@queryNewPaletteEventCopyObject obj obj@).-queryNewPaletteEventCopyObject :: QueryNewPaletteEvent  a -> WxObject  b ->  IO ()-queryNewPaletteEventCopyObject _obj obj -  = withObjectRef "queryNewPaletteEventCopyObject" _obj $ \cobj__obj -> -    withObjectPtr obj $ \cobj_obj -> -    wxQueryNewPaletteEvent_CopyObject cobj__obj  cobj_obj  -foreign import ccall "wxQueryNewPaletteEvent_CopyObject" wxQueryNewPaletteEvent_CopyObject :: Ptr (TQueryNewPaletteEvent a) -> Ptr (TWxObject b) -> IO ()---- | usage: (@queryNewPaletteEventGetPaletteRealized obj@).-queryNewPaletteEventGetPaletteRealized :: QueryNewPaletteEvent  a ->  IO Bool-queryNewPaletteEventGetPaletteRealized _obj -  = withBoolResult $-    withObjectRef "queryNewPaletteEventGetPaletteRealized" _obj $ \cobj__obj -> -    wxQueryNewPaletteEvent_GetPaletteRealized cobj__obj  -foreign import ccall "wxQueryNewPaletteEvent_GetPaletteRealized" wxQueryNewPaletteEvent_GetPaletteRealized :: Ptr (TQueryNewPaletteEvent a) -> IO CBool---- | usage: (@queryNewPaletteEventSetPaletteRealized obj realized@).-queryNewPaletteEventSetPaletteRealized :: QueryNewPaletteEvent  a -> Bool ->  IO ()-queryNewPaletteEventSetPaletteRealized _obj realized -  = withObjectRef "queryNewPaletteEventSetPaletteRealized" _obj $ \cobj__obj -> -    wxQueryNewPaletteEvent_SetPaletteRealized cobj__obj  (toCBool realized)  -foreign import ccall "wxQueryNewPaletteEvent_SetPaletteRealized" wxQueryNewPaletteEvent_SetPaletteRealized :: Ptr (TQueryNewPaletteEvent a) -> CBool -> IO ()---- | usage: (@radioBoxCreate prt id txt lfttopwdthgt nstr dim stl@).-radioBoxCreate :: Window  a -> Id -> String -> Rect -> [String] -> Int -> Style ->  IO (RadioBox  ())-radioBoxCreate _prt _id _txt _lfttopwdthgt nstr _dim _stl -  = withObjectResult $-    withObjectPtr _prt $ \cobj__prt -> -    withStringPtr _txt $ \cobj__txt -> -    withArrayWString nstr $ \carrlen_nstr carr_nstr -> -    wxRadioBox_Create cobj__prt  (toCInt _id)  cobj__txt  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  carrlen_nstr carr_nstr  (toCInt _dim)  (toCInt _stl)  -foreign import ccall "wxRadioBox_Create" wxRadioBox_Create :: Ptr (TWindow a) -> CInt -> Ptr (TWxString c) -> CInt -> CInt -> CInt -> CInt -> CInt -> Ptr (Ptr CWchar) -> CInt -> CInt -> IO (Ptr (TRadioBox ()))---- | usage: (@radioBoxEnableItem obj item enable@).-radioBoxEnableItem :: RadioBox  a -> Int -> Bool ->  IO ()-radioBoxEnableItem _obj item enable -  = withObjectRef "radioBoxEnableItem" _obj $ \cobj__obj -> -    wxRadioBox_EnableItem cobj__obj  (toCInt item)  (toCBool enable)  -foreign import ccall "wxRadioBox_EnableItem" wxRadioBox_EnableItem :: Ptr (TRadioBox a) -> CInt -> CBool -> IO ()---- | usage: (@radioBoxFindString obj s@).-radioBoxFindString :: RadioBox  a -> String ->  IO Int-radioBoxFindString _obj s -  = withIntResult $-    withObjectRef "radioBoxFindString" _obj $ \cobj__obj -> -    withStringPtr s $ \cobj_s -> -    wxRadioBox_FindString cobj__obj  cobj_s  -foreign import ccall "wxRadioBox_FindString" wxRadioBox_FindString :: Ptr (TRadioBox a) -> Ptr (TWxString b) -> IO CInt---- | usage: (@radioBoxGetItemLabel obj item@).-radioBoxGetItemLabel :: RadioBox  a -> Int ->  IO (String)-radioBoxGetItemLabel _obj item -  = withManagedStringResult $-    withObjectRef "radioBoxGetItemLabel" _obj $ \cobj__obj -> -    wxRadioBox_GetItemLabel cobj__obj  (toCInt item)  -foreign import ccall "wxRadioBox_GetItemLabel" wxRadioBox_GetItemLabel :: Ptr (TRadioBox a) -> CInt -> IO (Ptr (TWxString ()))---- | usage: (@radioBoxGetNumberOfRowsOrCols obj@).-radioBoxGetNumberOfRowsOrCols :: RadioBox  a ->  IO Int-radioBoxGetNumberOfRowsOrCols _obj -  = withIntResult $-    withObjectRef "radioBoxGetNumberOfRowsOrCols" _obj $ \cobj__obj -> -    wxRadioBox_GetNumberOfRowsOrCols cobj__obj  -foreign import ccall "wxRadioBox_GetNumberOfRowsOrCols" wxRadioBox_GetNumberOfRowsOrCols :: Ptr (TRadioBox a) -> IO CInt---- | usage: (@radioBoxGetSelection obj@).-radioBoxGetSelection :: RadioBox  a ->  IO Int-radioBoxGetSelection _obj -  = withIntResult $-    withObjectRef "radioBoxGetSelection" _obj $ \cobj__obj -> -    wxRadioBox_GetSelection cobj__obj  -foreign import ccall "wxRadioBox_GetSelection" wxRadioBox_GetSelection :: Ptr (TRadioBox a) -> IO CInt---- | usage: (@radioBoxGetStringSelection obj@).-radioBoxGetStringSelection :: RadioBox  a ->  IO (String)-radioBoxGetStringSelection _obj -  = withManagedStringResult $-    withObjectRef "radioBoxGetStringSelection" _obj $ \cobj__obj -> -    wxRadioBox_GetStringSelection cobj__obj  -foreign import ccall "wxRadioBox_GetStringSelection" wxRadioBox_GetStringSelection :: Ptr (TRadioBox a) -> IO (Ptr (TWxString ()))---- | usage: (@radioBoxNumber obj@).-radioBoxNumber :: RadioBox  a ->  IO Int-radioBoxNumber _obj -  = withIntResult $-    withObjectRef "radioBoxNumber" _obj $ \cobj__obj -> -    wxRadioBox_Number cobj__obj  -foreign import ccall "wxRadioBox_Number" wxRadioBox_Number :: Ptr (TRadioBox a) -> IO CInt---- | usage: (@radioBoxSetItemBitmap obj item bitmap@).-radioBoxSetItemBitmap :: RadioBox  a -> Int -> Bitmap  c ->  IO ()-radioBoxSetItemBitmap _obj item bitmap -  = withObjectRef "radioBoxSetItemBitmap" _obj $ \cobj__obj -> -    withObjectPtr bitmap $ \cobj_bitmap -> -    wxRadioBox_SetItemBitmap cobj__obj  (toCInt item)  cobj_bitmap  -foreign import ccall "wxRadioBox_SetItemBitmap" wxRadioBox_SetItemBitmap :: Ptr (TRadioBox a) -> CInt -> Ptr (TBitmap c) -> IO ()---- | usage: (@radioBoxSetItemLabel obj item label@).-radioBoxSetItemLabel :: RadioBox  a -> Int -> String ->  IO ()-radioBoxSetItemLabel _obj item label -  = withObjectRef "radioBoxSetItemLabel" _obj $ \cobj__obj -> -    withStringPtr label $ \cobj_label -> -    wxRadioBox_SetItemLabel cobj__obj  (toCInt item)  cobj_label  -foreign import ccall "wxRadioBox_SetItemLabel" wxRadioBox_SetItemLabel :: Ptr (TRadioBox a) -> CInt -> Ptr (TWxString c) -> IO ()---- | usage: (@radioBoxSetNumberOfRowsOrCols obj n@).-radioBoxSetNumberOfRowsOrCols :: RadioBox  a -> Int ->  IO ()-radioBoxSetNumberOfRowsOrCols _obj n -  = withObjectRef "radioBoxSetNumberOfRowsOrCols" _obj $ \cobj__obj -> -    wxRadioBox_SetNumberOfRowsOrCols cobj__obj  (toCInt n)  -foreign import ccall "wxRadioBox_SetNumberOfRowsOrCols" wxRadioBox_SetNumberOfRowsOrCols :: Ptr (TRadioBox a) -> CInt -> IO ()---- | usage: (@radioBoxSetSelection obj n@).-radioBoxSetSelection :: RadioBox  a -> Int ->  IO ()-radioBoxSetSelection _obj _n -  = withObjectRef "radioBoxSetSelection" _obj $ \cobj__obj -> -    wxRadioBox_SetSelection cobj__obj  (toCInt _n)  -foreign import ccall "wxRadioBox_SetSelection" wxRadioBox_SetSelection :: Ptr (TRadioBox a) -> CInt -> IO ()---- | usage: (@radioBoxSetStringSelection obj s@).-radioBoxSetStringSelection :: RadioBox  a -> String ->  IO ()-radioBoxSetStringSelection _obj s -  = withObjectRef "radioBoxSetStringSelection" _obj $ \cobj__obj -> -    withStringPtr s $ \cobj_s -> -    wxRadioBox_SetStringSelection cobj__obj  cobj_s  -foreign import ccall "wxRadioBox_SetStringSelection" wxRadioBox_SetStringSelection :: Ptr (TRadioBox a) -> Ptr (TWxString b) -> IO ()---- | usage: (@radioBoxShowItem obj item show@).-radioBoxShowItem :: RadioBox  a -> Int -> Bool ->  IO ()-radioBoxShowItem _obj item show -  = withObjectRef "radioBoxShowItem" _obj $ \cobj__obj -> -    wxRadioBox_ShowItem cobj__obj  (toCInt item)  (toCBool show)  -foreign import ccall "wxRadioBox_ShowItem" wxRadioBox_ShowItem :: Ptr (TRadioBox a) -> CInt -> CBool -> IO ()---- | usage: (@radioButtonCreate prt id txt lfttopwdthgt stl@).-radioButtonCreate :: Window  a -> Id -> String -> Rect -> Style ->  IO (RadioButton  ())-radioButtonCreate _prt _id _txt _lfttopwdthgt _stl -  = withObjectResult $-    withObjectPtr _prt $ \cobj__prt -> -    withStringPtr _txt $ \cobj__txt -> -    wxRadioButton_Create cobj__prt  (toCInt _id)  cobj__txt  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  (toCInt _stl)  -foreign import ccall "wxRadioButton_Create" wxRadioButton_Create :: Ptr (TWindow a) -> CInt -> Ptr (TWxString c) -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TRadioButton ()))---- | usage: (@radioButtonGetValue obj@).-radioButtonGetValue :: RadioButton  a ->  IO Bool-radioButtonGetValue _obj -  = withBoolResult $-    withObjectRef "radioButtonGetValue" _obj $ \cobj__obj -> -    wxRadioButton_GetValue cobj__obj  -foreign import ccall "wxRadioButton_GetValue" wxRadioButton_GetValue :: Ptr (TRadioButton a) -> IO CBool---- | usage: (@radioButtonSetValue obj value@).-radioButtonSetValue :: RadioButton  a -> Bool ->  IO ()-radioButtonSetValue _obj value -  = withObjectRef "radioButtonSetValue" _obj $ \cobj__obj -> -    wxRadioButton_SetValue cobj__obj  (toCBool value)  -foreign import ccall "wxRadioButton_SetValue" wxRadioButton_SetValue :: Ptr (TRadioButton a) -> CBool -> IO ()---- | usage: (@regionAssign obj region@).-regionAssign :: Region  a -> Region  b ->  IO ()-regionAssign _obj region -  = withObjectRef "regionAssign" _obj $ \cobj__obj -> -    withObjectPtr region $ \cobj_region -> -    wxRegion_Assign cobj__obj  cobj_region  -foreign import ccall "wxRegion_Assign" wxRegion_Assign :: Ptr (TRegion a) -> Ptr (TRegion b) -> IO ()---- | usage: (@regionClear obj@).-regionClear :: Region  a ->  IO ()-regionClear _obj -  = withObjectRef "regionClear" _obj $ \cobj__obj -> -    wxRegion_Clear cobj__obj  -foreign import ccall "wxRegion_Clear" wxRegion_Clear :: Ptr (TRegion a) -> IO ()---- | usage: (@regionContainsPoint obj xy@).-regionContainsPoint :: Region  a -> Point ->  IO Bool-regionContainsPoint _obj xy -  = withBoolResult $-    withObjectRef "regionContainsPoint" _obj $ \cobj__obj -> -    wxRegion_ContainsPoint cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  -foreign import ccall "wxRegion_ContainsPoint" wxRegion_ContainsPoint :: Ptr (TRegion a) -> CInt -> CInt -> IO CBool---- | usage: (@regionContainsRect obj xywidthheight@).-regionContainsRect :: Region  a -> Rect ->  IO Bool-regionContainsRect _obj xywidthheight -  = withBoolResult $-    withObjectRef "regionContainsRect" _obj $ \cobj__obj -> -    wxRegion_ContainsRect cobj__obj  (toCIntRectX xywidthheight) (toCIntRectY xywidthheight)(toCIntRectW xywidthheight) (toCIntRectH xywidthheight)  -foreign import ccall "wxRegion_ContainsRect" wxRegion_ContainsRect :: Ptr (TRegion a) -> CInt -> CInt -> CInt -> CInt -> IO CBool---- | usage: (@regionCreateDefault@).-regionCreateDefault ::  IO (Region  ())-regionCreateDefault -  = withObjectResult $-    wxRegion_CreateDefault -foreign import ccall "wxRegion_CreateDefault" wxRegion_CreateDefault :: IO (Ptr (TRegion ()))---- | usage: (@regionCreateFromRect xywh@).-regionCreateFromRect :: Rect ->  IO (Region  ())-regionCreateFromRect xywh -  = withObjectResult $-    wxRegion_CreateFromRect (toCIntRectX xywh) (toCIntRectY xywh)(toCIntRectW xywh) (toCIntRectH xywh)  -foreign import ccall "wxRegion_CreateFromRect" wxRegion_CreateFromRect :: CInt -> CInt -> CInt -> CInt -> IO (Ptr (TRegion ()))---- | usage: (@regionDelete obj@).-regionDelete :: Region  a ->  IO ()-regionDelete-  = objectDelete----- | usage: (@regionGetBox obj@).-regionGetBox :: Region  a ->  IO Rect-regionGetBox _obj -  = withRectResult $ \px py pw ph -> -    withObjectRef "regionGetBox" _obj $ \cobj__obj -> -    wxRegion_GetBox cobj__obj  px py pw ph-foreign import ccall "wxRegion_GetBox" wxRegion_GetBox :: Ptr (TRegion a) -> Ptr CInt -> Ptr CInt -> Ptr CInt -> Ptr CInt -> IO ()---- | usage: (@regionIntersectRect obj xywidthheight@).-regionIntersectRect :: Region  a -> Rect ->  IO Bool-regionIntersectRect _obj xywidthheight -  = withBoolResult $-    withObjectRef "regionIntersectRect" _obj $ \cobj__obj -> -    wxRegion_IntersectRect cobj__obj  (toCIntRectX xywidthheight) (toCIntRectY xywidthheight)(toCIntRectW xywidthheight) (toCIntRectH xywidthheight)  -foreign import ccall "wxRegion_IntersectRect" wxRegion_IntersectRect :: Ptr (TRegion a) -> CInt -> CInt -> CInt -> CInt -> IO CBool---- | usage: (@regionIntersectRegion obj region@).-regionIntersectRegion :: Region  a -> Region  b ->  IO Bool-regionIntersectRegion _obj region -  = withBoolResult $-    withObjectRef "regionIntersectRegion" _obj $ \cobj__obj -> -    withObjectPtr region $ \cobj_region -> -    wxRegion_IntersectRegion cobj__obj  cobj_region  -foreign import ccall "wxRegion_IntersectRegion" wxRegion_IntersectRegion :: Ptr (TRegion a) -> Ptr (TRegion b) -> IO CBool---- | usage: (@regionIsEmpty obj@).-regionIsEmpty :: Region  a ->  IO Bool-regionIsEmpty _obj -  = withBoolResult $-    withObjectRef "regionIsEmpty" _obj $ \cobj__obj -> -    wxRegion_IsEmpty cobj__obj  -foreign import ccall "wxRegion_IsEmpty" wxRegion_IsEmpty :: Ptr (TRegion a) -> IO CBool---- | usage: (@regionIteratorCreate@).-regionIteratorCreate ::  IO (RegionIterator  ())-regionIteratorCreate -  = withObjectResult $-    wxRegionIterator_Create -foreign import ccall "wxRegionIterator_Create" wxRegionIterator_Create :: IO (Ptr (TRegionIterator ()))---- | usage: (@regionIteratorCreateFromRegion region@).-regionIteratorCreateFromRegion :: Region  a ->  IO (RegionIterator  ())-regionIteratorCreateFromRegion region -  = withObjectResult $-    withObjectPtr region $ \cobj_region -> -    wxRegionIterator_CreateFromRegion cobj_region  -foreign import ccall "wxRegionIterator_CreateFromRegion" wxRegionIterator_CreateFromRegion :: Ptr (TRegion a) -> IO (Ptr (TRegionIterator ()))---- | usage: (@regionIteratorDelete obj@).-regionIteratorDelete :: RegionIterator  a ->  IO ()-regionIteratorDelete-  = objectDelete----- | usage: (@regionIteratorGetHeight obj@).-regionIteratorGetHeight :: RegionIterator  a ->  IO Int-regionIteratorGetHeight _obj -  = withIntResult $-    withObjectRef "regionIteratorGetHeight" _obj $ \cobj__obj -> -    wxRegionIterator_GetHeight cobj__obj  -foreign import ccall "wxRegionIterator_GetHeight" wxRegionIterator_GetHeight :: Ptr (TRegionIterator a) -> IO CInt---- | usage: (@regionIteratorGetWidth obj@).-regionIteratorGetWidth :: RegionIterator  a ->  IO Int-regionIteratorGetWidth _obj -  = withIntResult $-    withObjectRef "regionIteratorGetWidth" _obj $ \cobj__obj -> -    wxRegionIterator_GetWidth cobj__obj  -foreign import ccall "wxRegionIterator_GetWidth" wxRegionIterator_GetWidth :: Ptr (TRegionIterator a) -> IO CInt---- | usage: (@regionIteratorGetX obj@).-regionIteratorGetX :: RegionIterator  a ->  IO Int-regionIteratorGetX _obj -  = withIntResult $-    withObjectRef "regionIteratorGetX" _obj $ \cobj__obj -> -    wxRegionIterator_GetX cobj__obj  -foreign import ccall "wxRegionIterator_GetX" wxRegionIterator_GetX :: Ptr (TRegionIterator a) -> IO CInt---- | usage: (@regionIteratorGetY obj@).-regionIteratorGetY :: RegionIterator  a ->  IO Int-regionIteratorGetY _obj -  = withIntResult $-    withObjectRef "regionIteratorGetY" _obj $ \cobj__obj -> -    wxRegionIterator_GetY cobj__obj  -foreign import ccall "wxRegionIterator_GetY" wxRegionIterator_GetY :: Ptr (TRegionIterator a) -> IO CInt---- | usage: (@regionIteratorHaveRects obj@).-regionIteratorHaveRects :: RegionIterator  a ->  IO Bool-regionIteratorHaveRects _obj -  = withBoolResult $-    withObjectRef "regionIteratorHaveRects" _obj $ \cobj__obj -> -    wxRegionIterator_HaveRects cobj__obj  -foreign import ccall "wxRegionIterator_HaveRects" wxRegionIterator_HaveRects :: Ptr (TRegionIterator a) -> IO CBool---- | usage: (@regionIteratorNext obj@).-regionIteratorNext :: RegionIterator  a ->  IO ()-regionIteratorNext _obj -  = withObjectRef "regionIteratorNext" _obj $ \cobj__obj -> -    wxRegionIterator_Next cobj__obj  -foreign import ccall "wxRegionIterator_Next" wxRegionIterator_Next :: Ptr (TRegionIterator a) -> IO ()---- | usage: (@regionIteratorReset obj@).-regionIteratorReset :: RegionIterator  a ->  IO ()-regionIteratorReset _obj -  = withObjectRef "regionIteratorReset" _obj $ \cobj__obj -> -    wxRegionIterator_Reset cobj__obj  -foreign import ccall "wxRegionIterator_Reset" wxRegionIterator_Reset :: Ptr (TRegionIterator a) -> IO ()---- | usage: (@regionIteratorResetToRegion obj region@).-regionIteratorResetToRegion :: RegionIterator  a -> Region  b ->  IO ()-regionIteratorResetToRegion _obj region -  = withObjectRef "regionIteratorResetToRegion" _obj $ \cobj__obj -> -    withObjectPtr region $ \cobj_region -> -    wxRegionIterator_ResetToRegion cobj__obj  cobj_region  -foreign import ccall "wxRegionIterator_ResetToRegion" wxRegionIterator_ResetToRegion :: Ptr (TRegionIterator a) -> Ptr (TRegion b) -> IO ()---- | usage: (@regionSubtractRect obj xywidthheight@).-regionSubtractRect :: Region  a -> Rect ->  IO Bool-regionSubtractRect _obj xywidthheight -  = withBoolResult $-    withObjectRef "regionSubtractRect" _obj $ \cobj__obj -> -    wxRegion_SubtractRect cobj__obj  (toCIntRectX xywidthheight) (toCIntRectY xywidthheight)(toCIntRectW xywidthheight) (toCIntRectH xywidthheight)  -foreign import ccall "wxRegion_SubtractRect" wxRegion_SubtractRect :: Ptr (TRegion a) -> CInt -> CInt -> CInt -> CInt -> IO CBool---- | usage: (@regionSubtractRegion obj region@).-regionSubtractRegion :: Region  a -> Region  b ->  IO Bool-regionSubtractRegion _obj region -  = withBoolResult $-    withObjectRef "regionSubtractRegion" _obj $ \cobj__obj -> -    withObjectPtr region $ \cobj_region -> -    wxRegion_SubtractRegion cobj__obj  cobj_region  -foreign import ccall "wxRegion_SubtractRegion" wxRegion_SubtractRegion :: Ptr (TRegion a) -> Ptr (TRegion b) -> IO CBool---- | usage: (@regionUnionRect obj xywidthheight@).-regionUnionRect :: Region  a -> Rect ->  IO Bool-regionUnionRect _obj xywidthheight -  = withBoolResult $-    withObjectRef "regionUnionRect" _obj $ \cobj__obj -> -    wxRegion_UnionRect cobj__obj  (toCIntRectX xywidthheight) (toCIntRectY xywidthheight)(toCIntRectW xywidthheight) (toCIntRectH xywidthheight)  -foreign import ccall "wxRegion_UnionRect" wxRegion_UnionRect :: Ptr (TRegion a) -> CInt -> CInt -> CInt -> CInt -> IO CBool---- | usage: (@regionUnionRegion obj region@).-regionUnionRegion :: Region  a -> Region  b ->  IO Bool-regionUnionRegion _obj region -  = withBoolResult $-    withObjectRef "regionUnionRegion" _obj $ \cobj__obj -> -    withObjectPtr region $ \cobj_region -> -    wxRegion_UnionRegion cobj__obj  cobj_region  -foreign import ccall "wxRegion_UnionRegion" wxRegion_UnionRegion :: Ptr (TRegion a) -> Ptr (TRegion b) -> IO CBool---- | usage: (@regionXorRect obj xywidthheight@).-regionXorRect :: Region  a -> Rect ->  IO Bool-regionXorRect _obj xywidthheight -  = withBoolResult $-    withObjectRef "regionXorRect" _obj $ \cobj__obj -> -    wxRegion_XorRect cobj__obj  (toCIntRectX xywidthheight) (toCIntRectY xywidthheight)(toCIntRectW xywidthheight) (toCIntRectH xywidthheight)  -foreign import ccall "wxRegion_XorRect" wxRegion_XorRect :: Ptr (TRegion a) -> CInt -> CInt -> CInt -> CInt -> IO CBool---- | usage: (@regionXorRegion obj region@).-regionXorRegion :: Region  a -> Region  b ->  IO Bool-regionXorRegion _obj region -  = withBoolResult $-    withObjectRef "regionXorRegion" _obj $ \cobj__obj -> -    withObjectPtr region $ \cobj_region -> -    wxRegion_XorRegion cobj__obj  cobj_region  -foreign import ccall "wxRegion_XorRegion" wxRegion_XorRegion :: Ptr (TRegion a) -> Ptr (TRegion b) -> IO CBool---- | usage: (@removeProvider provider@).-removeProvider :: ArtProvider  a ->  IO Bool-removeProvider provider -  = withBoolResult $-    withObjectPtr provider $ \cobj_provider -> -    wx_RemoveProvider cobj_provider  -foreign import ccall "RemoveProvider" wx_RemoveProvider :: Ptr (TArtProvider a) -> IO CBool---- | usage: (@sashEventCreate id edge@).-sashEventCreate :: Id -> Int ->  IO (SashEvent  ())-sashEventCreate id edge -  = withObjectResult $-    wxSashEvent_Create (toCInt id)  (toCInt edge)  -foreign import ccall "wxSashEvent_Create" wxSashEvent_Create :: CInt -> CInt -> IO (Ptr (TSashEvent ()))---- | usage: (@sashEventGetDragRect obj@).-sashEventGetDragRect :: SashEvent  a ->  IO (Rect)-sashEventGetDragRect _obj -  = withWxRectResult $-    withObjectRef "sashEventGetDragRect" _obj $ \cobj__obj -> -    wxSashEvent_GetDragRect cobj__obj  -foreign import ccall "wxSashEvent_GetDragRect" wxSashEvent_GetDragRect :: Ptr (TSashEvent a) -> IO (Ptr (TWxRect ()))---- | usage: (@sashEventGetDragStatus obj@).-sashEventGetDragStatus :: SashEvent  a ->  IO Int-sashEventGetDragStatus _obj -  = withIntResult $-    withObjectRef "sashEventGetDragStatus" _obj $ \cobj__obj -> -    wxSashEvent_GetDragStatus cobj__obj  -foreign import ccall "wxSashEvent_GetDragStatus" wxSashEvent_GetDragStatus :: Ptr (TSashEvent a) -> IO CInt---- | usage: (@sashEventGetEdge obj@).-sashEventGetEdge :: SashEvent  a ->  IO Int-sashEventGetEdge _obj -  = withIntResult $-    withObjectRef "sashEventGetEdge" _obj $ \cobj__obj -> -    wxSashEvent_GetEdge cobj__obj  -foreign import ccall "wxSashEvent_GetEdge" wxSashEvent_GetEdge :: Ptr (TSashEvent a) -> IO CInt---- | usage: (@sashEventSetDragRect obj xywh@).-sashEventSetDragRect :: SashEvent  a -> Rect ->  IO ()-sashEventSetDragRect _obj xywh -  = withObjectRef "sashEventSetDragRect" _obj $ \cobj__obj -> -    wxSashEvent_SetDragRect cobj__obj  (toCIntRectX xywh) (toCIntRectY xywh)(toCIntRectW xywh) (toCIntRectH xywh)  -foreign import ccall "wxSashEvent_SetDragRect" wxSashEvent_SetDragRect :: Ptr (TSashEvent a) -> CInt -> CInt -> CInt -> CInt -> IO ()---- | usage: (@sashEventSetDragStatus obj status@).-sashEventSetDragStatus :: SashEvent  a -> Int ->  IO ()-sashEventSetDragStatus _obj status -  = withObjectRef "sashEventSetDragStatus" _obj $ \cobj__obj -> -    wxSashEvent_SetDragStatus cobj__obj  (toCInt status)  -foreign import ccall "wxSashEvent_SetDragStatus" wxSashEvent_SetDragStatus :: Ptr (TSashEvent a) -> CInt -> IO ()---- | usage: (@sashEventSetEdge obj edge@).-sashEventSetEdge :: SashEvent  a -> Int ->  IO ()-sashEventSetEdge _obj edge -  = withObjectRef "sashEventSetEdge" _obj $ \cobj__obj -> -    wxSashEvent_SetEdge cobj__obj  (toCInt edge)  -foreign import ccall "wxSashEvent_SetEdge" wxSashEvent_SetEdge :: Ptr (TSashEvent a) -> CInt -> IO ()---- | usage: (@sashLayoutWindowCreate par id xywh stl@).-sashLayoutWindowCreate :: Window  a -> Id -> Rect -> Style ->  IO (SashLayoutWindow  ())-sashLayoutWindowCreate _par _id _xywh _stl -  = withObjectResult $-    withObjectPtr _par $ \cobj__par -> -    wxSashLayoutWindow_Create cobj__par  (toCInt _id)  (toCIntRectX _xywh) (toCIntRectY _xywh)(toCIntRectW _xywh) (toCIntRectH _xywh)  (toCInt _stl)  -foreign import ccall "wxSashLayoutWindow_Create" wxSashLayoutWindow_Create :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TSashLayoutWindow ()))---- | usage: (@sashLayoutWindowGetAlignment obj@).-sashLayoutWindowGetAlignment :: SashLayoutWindow  a ->  IO Int-sashLayoutWindowGetAlignment _obj -  = withIntResult $-    withObjectRef "sashLayoutWindowGetAlignment" _obj $ \cobj__obj -> -    wxSashLayoutWindow_GetAlignment cobj__obj  -foreign import ccall "wxSashLayoutWindow_GetAlignment" wxSashLayoutWindow_GetAlignment :: Ptr (TSashLayoutWindow a) -> IO CInt---- | usage: (@sashLayoutWindowGetOrientation obj@).-sashLayoutWindowGetOrientation :: SashLayoutWindow  a ->  IO Int-sashLayoutWindowGetOrientation _obj -  = withIntResult $-    withObjectRef "sashLayoutWindowGetOrientation" _obj $ \cobj__obj -> -    wxSashLayoutWindow_GetOrientation cobj__obj  -foreign import ccall "wxSashLayoutWindow_GetOrientation" wxSashLayoutWindow_GetOrientation :: Ptr (TSashLayoutWindow a) -> IO CInt---- | usage: (@sashLayoutWindowSetAlignment obj align@).-sashLayoutWindowSetAlignment :: SashLayoutWindow  a -> Int ->  IO ()-sashLayoutWindowSetAlignment _obj align -  = withObjectRef "sashLayoutWindowSetAlignment" _obj $ \cobj__obj -> -    wxSashLayoutWindow_SetAlignment cobj__obj  (toCInt align)  -foreign import ccall "wxSashLayoutWindow_SetAlignment" wxSashLayoutWindow_SetAlignment :: Ptr (TSashLayoutWindow a) -> CInt -> IO ()---- | usage: (@sashLayoutWindowSetDefaultSize obj wh@).-sashLayoutWindowSetDefaultSize :: SashLayoutWindow  a -> Size ->  IO ()-sashLayoutWindowSetDefaultSize _obj wh -  = withObjectRef "sashLayoutWindowSetDefaultSize" _obj $ \cobj__obj -> -    wxSashLayoutWindow_SetDefaultSize cobj__obj  (toCIntSizeW wh) (toCIntSizeH wh)  -foreign import ccall "wxSashLayoutWindow_SetDefaultSize" wxSashLayoutWindow_SetDefaultSize :: Ptr (TSashLayoutWindow a) -> CInt -> CInt -> IO ()---- | usage: (@sashLayoutWindowSetOrientation obj orient@).-sashLayoutWindowSetOrientation :: SashLayoutWindow  a -> Int ->  IO ()-sashLayoutWindowSetOrientation _obj orient -  = withObjectRef "sashLayoutWindowSetOrientation" _obj $ \cobj__obj -> -    wxSashLayoutWindow_SetOrientation cobj__obj  (toCInt orient)  -foreign import ccall "wxSashLayoutWindow_SetOrientation" wxSashLayoutWindow_SetOrientation :: Ptr (TSashLayoutWindow a) -> CInt -> IO ()---- | usage: (@sashWindowCreate par id xywh stl@).-sashWindowCreate :: Window  a -> Id -> Rect -> Style ->  IO (SashWindow  ())-sashWindowCreate _par _id _xywh _stl -  = withObjectResult $-    withObjectPtr _par $ \cobj__par -> -    wxSashWindow_Create cobj__par  (toCInt _id)  (toCIntRectX _xywh) (toCIntRectY _xywh)(toCIntRectW _xywh) (toCIntRectH _xywh)  (toCInt _stl)  -foreign import ccall "wxSashWindow_Create" wxSashWindow_Create :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TSashWindow ()))---- | usage: (@sashWindowGetDefaultBorderSize obj@).-sashWindowGetDefaultBorderSize :: SashWindow  a ->  IO Int-sashWindowGetDefaultBorderSize _obj -  = withIntResult $-    withObjectRef "sashWindowGetDefaultBorderSize" _obj $ \cobj__obj -> -    wxSashWindow_GetDefaultBorderSize cobj__obj  -foreign import ccall "wxSashWindow_GetDefaultBorderSize" wxSashWindow_GetDefaultBorderSize :: Ptr (TSashWindow a) -> IO CInt---- | usage: (@sashWindowGetEdgeMargin obj edge@).-sashWindowGetEdgeMargin :: SashWindow  a -> Int ->  IO Int-sashWindowGetEdgeMargin _obj edge -  = withIntResult $-    withObjectRef "sashWindowGetEdgeMargin" _obj $ \cobj__obj -> -    wxSashWindow_GetEdgeMargin cobj__obj  (toCInt edge)  -foreign import ccall "wxSashWindow_GetEdgeMargin" wxSashWindow_GetEdgeMargin :: Ptr (TSashWindow a) -> CInt -> IO CInt---- | usage: (@sashWindowGetExtraBorderSize obj@).-sashWindowGetExtraBorderSize :: SashWindow  a ->  IO Int-sashWindowGetExtraBorderSize _obj -  = withIntResult $-    withObjectRef "sashWindowGetExtraBorderSize" _obj $ \cobj__obj -> -    wxSashWindow_GetExtraBorderSize cobj__obj  -foreign import ccall "wxSashWindow_GetExtraBorderSize" wxSashWindow_GetExtraBorderSize :: Ptr (TSashWindow a) -> IO CInt---- | usage: (@sashWindowGetMaximumSizeX obj@).-sashWindowGetMaximumSizeX :: SashWindow  a ->  IO Int-sashWindowGetMaximumSizeX _obj -  = withIntResult $-    withObjectRef "sashWindowGetMaximumSizeX" _obj $ \cobj__obj -> -    wxSashWindow_GetMaximumSizeX cobj__obj  -foreign import ccall "wxSashWindow_GetMaximumSizeX" wxSashWindow_GetMaximumSizeX :: Ptr (TSashWindow a) -> IO CInt---- | usage: (@sashWindowGetMaximumSizeY obj@).-sashWindowGetMaximumSizeY :: SashWindow  a ->  IO Int-sashWindowGetMaximumSizeY _obj -  = withIntResult $-    withObjectRef "sashWindowGetMaximumSizeY" _obj $ \cobj__obj -> -    wxSashWindow_GetMaximumSizeY cobj__obj  -foreign import ccall "wxSashWindow_GetMaximumSizeY" wxSashWindow_GetMaximumSizeY :: Ptr (TSashWindow a) -> IO CInt---- | usage: (@sashWindowGetMinimumSizeX obj@).-sashWindowGetMinimumSizeX :: SashWindow  a ->  IO Int-sashWindowGetMinimumSizeX _obj -  = withIntResult $-    withObjectRef "sashWindowGetMinimumSizeX" _obj $ \cobj__obj -> -    wxSashWindow_GetMinimumSizeX cobj__obj  -foreign import ccall "wxSashWindow_GetMinimumSizeX" wxSashWindow_GetMinimumSizeX :: Ptr (TSashWindow a) -> IO CInt---- | usage: (@sashWindowGetMinimumSizeY obj@).-sashWindowGetMinimumSizeY :: SashWindow  a ->  IO Int-sashWindowGetMinimumSizeY _obj -  = withIntResult $-    withObjectRef "sashWindowGetMinimumSizeY" _obj $ \cobj__obj -> -    wxSashWindow_GetMinimumSizeY cobj__obj  -foreign import ccall "wxSashWindow_GetMinimumSizeY" wxSashWindow_GetMinimumSizeY :: Ptr (TSashWindow a) -> IO CInt---- | usage: (@sashWindowGetSashVisible obj edge@).-sashWindowGetSashVisible :: SashWindow  a -> Int ->  IO Bool-sashWindowGetSashVisible _obj edge -  = withBoolResult $-    withObjectRef "sashWindowGetSashVisible" _obj $ \cobj__obj -> -    wxSashWindow_GetSashVisible cobj__obj  (toCInt edge)  -foreign import ccall "wxSashWindow_GetSashVisible" wxSashWindow_GetSashVisible :: Ptr (TSashWindow a) -> CInt -> IO CBool---- | usage: (@sashWindowHasBorder obj edge@).-sashWindowHasBorder :: SashWindow  a -> Int ->  IO Bool-sashWindowHasBorder _obj edge -  = withBoolResult $-    withObjectRef "sashWindowHasBorder" _obj $ \cobj__obj -> -    wxSashWindow_HasBorder cobj__obj  (toCInt edge)  -foreign import ccall "wxSashWindow_HasBorder" wxSashWindow_HasBorder :: Ptr (TSashWindow a) -> CInt -> IO CBool---- | usage: (@sashWindowSetDefaultBorderSize obj width@).-sashWindowSetDefaultBorderSize :: SashWindow  a -> Int ->  IO ()-sashWindowSetDefaultBorderSize _obj width -  = withObjectRef "sashWindowSetDefaultBorderSize" _obj $ \cobj__obj -> -    wxSashWindow_SetDefaultBorderSize cobj__obj  (toCInt width)  -foreign import ccall "wxSashWindow_SetDefaultBorderSize" wxSashWindow_SetDefaultBorderSize :: Ptr (TSashWindow a) -> CInt -> IO ()---- | usage: (@sashWindowSetExtraBorderSize obj width@).-sashWindowSetExtraBorderSize :: SashWindow  a -> Int ->  IO ()-sashWindowSetExtraBorderSize _obj width -  = withObjectRef "sashWindowSetExtraBorderSize" _obj $ \cobj__obj -> -    wxSashWindow_SetExtraBorderSize cobj__obj  (toCInt width)  -foreign import ccall "wxSashWindow_SetExtraBorderSize" wxSashWindow_SetExtraBorderSize :: Ptr (TSashWindow a) -> CInt -> IO ()---- | usage: (@sashWindowSetMaximumSizeX obj max@).-sashWindowSetMaximumSizeX :: SashWindow  a -> Int ->  IO ()-sashWindowSetMaximumSizeX _obj max -  = withObjectRef "sashWindowSetMaximumSizeX" _obj $ \cobj__obj -> -    wxSashWindow_SetMaximumSizeX cobj__obj  (toCInt max)  -foreign import ccall "wxSashWindow_SetMaximumSizeX" wxSashWindow_SetMaximumSizeX :: Ptr (TSashWindow a) -> CInt -> IO ()---- | usage: (@sashWindowSetMaximumSizeY obj max@).-sashWindowSetMaximumSizeY :: SashWindow  a -> Int ->  IO ()-sashWindowSetMaximumSizeY _obj max -  = withObjectRef "sashWindowSetMaximumSizeY" _obj $ \cobj__obj -> -    wxSashWindow_SetMaximumSizeY cobj__obj  (toCInt max)  -foreign import ccall "wxSashWindow_SetMaximumSizeY" wxSashWindow_SetMaximumSizeY :: Ptr (TSashWindow a) -> CInt -> IO ()---- | usage: (@sashWindowSetMinimumSizeX obj min@).-sashWindowSetMinimumSizeX :: SashWindow  a -> Int ->  IO ()-sashWindowSetMinimumSizeX _obj min -  = withObjectRef "sashWindowSetMinimumSizeX" _obj $ \cobj__obj -> -    wxSashWindow_SetMinimumSizeX cobj__obj  (toCInt min)  -foreign import ccall "wxSashWindow_SetMinimumSizeX" wxSashWindow_SetMinimumSizeX :: Ptr (TSashWindow a) -> CInt -> IO ()---- | usage: (@sashWindowSetMinimumSizeY obj min@).-sashWindowSetMinimumSizeY :: SashWindow  a -> Int ->  IO ()-sashWindowSetMinimumSizeY _obj min -  = withObjectRef "sashWindowSetMinimumSizeY" _obj $ \cobj__obj -> -    wxSashWindow_SetMinimumSizeY cobj__obj  (toCInt min)  -foreign import ccall "wxSashWindow_SetMinimumSizeY" wxSashWindow_SetMinimumSizeY :: Ptr (TSashWindow a) -> CInt -> IO ()---- | usage: (@sashWindowSetSashBorder obj edge border@).-sashWindowSetSashBorder :: SashWindow  a -> Int -> Bool ->  IO ()-sashWindowSetSashBorder _obj edge border -  = withObjectRef "sashWindowSetSashBorder" _obj $ \cobj__obj -> -    wxSashWindow_SetSashBorder cobj__obj  (toCInt edge)  (toCBool border)  -foreign import ccall "wxSashWindow_SetSashBorder" wxSashWindow_SetSashBorder :: Ptr (TSashWindow a) -> CInt -> CBool -> IO ()---- | usage: (@sashWindowSetSashVisible obj edge sash@).-sashWindowSetSashVisible :: SashWindow  a -> Int -> Bool ->  IO ()-sashWindowSetSashVisible _obj edge sash -  = withObjectRef "sashWindowSetSashVisible" _obj $ \cobj__obj -> -    wxSashWindow_SetSashVisible cobj__obj  (toCInt edge)  (toCBool sash)  -foreign import ccall "wxSashWindow_SetSashVisible" wxSashWindow_SetSashVisible :: Ptr (TSashWindow a) -> CInt -> CBool -> IO ()---- | usage: (@screenDCCreate@).-screenDCCreate ::  IO (ScreenDC  ())-screenDCCreate -  = withObjectResult $-    wxScreenDC_Create -foreign import ccall "wxScreenDC_Create" wxScreenDC_Create :: IO (Ptr (TScreenDC ()))---- | usage: (@screenDCDelete obj@).-screenDCDelete :: ScreenDC  a ->  IO ()-screenDCDelete-  = objectDelete----- | usage: (@screenDCEndDrawingOnTop obj@).-screenDCEndDrawingOnTop :: ScreenDC  a ->  IO Bool-screenDCEndDrawingOnTop _obj -  = withBoolResult $-    withObjectRef "screenDCEndDrawingOnTop" _obj $ \cobj__obj -> -    wxScreenDC_EndDrawingOnTop cobj__obj  -foreign import ccall "wxScreenDC_EndDrawingOnTop" wxScreenDC_EndDrawingOnTop :: Ptr (TScreenDC a) -> IO CBool---- | usage: (@screenDCStartDrawingOnTop obj xywh@).-screenDCStartDrawingOnTop :: ScreenDC  a -> Rect ->  IO Bool-screenDCStartDrawingOnTop _obj xywh -  = withBoolResult $-    withObjectRef "screenDCStartDrawingOnTop" _obj $ \cobj__obj -> -    wxScreenDC_StartDrawingOnTop cobj__obj  (toCIntRectX xywh) (toCIntRectY xywh)(toCIntRectW xywh) (toCIntRectH xywh)  -foreign import ccall "wxScreenDC_StartDrawingOnTop" wxScreenDC_StartDrawingOnTop :: Ptr (TScreenDC a) -> CInt -> CInt -> CInt -> CInt -> IO CBool---- | usage: (@screenDCStartDrawingOnTopOfWin obj win@).-screenDCStartDrawingOnTopOfWin :: ScreenDC  a -> Window  b ->  IO Bool-screenDCStartDrawingOnTopOfWin _obj win -  = withBoolResult $-    withObjectRef "screenDCStartDrawingOnTopOfWin" _obj $ \cobj__obj -> -    withObjectPtr win $ \cobj_win -> -    wxScreenDC_StartDrawingOnTopOfWin cobj__obj  cobj_win  -foreign import ccall "wxScreenDC_StartDrawingOnTopOfWin" wxScreenDC_StartDrawingOnTopOfWin :: Ptr (TScreenDC a) -> Ptr (TWindow b) -> IO CBool---- | usage: (@scrollBarCreate prt id lfttopwdthgt stl@).-scrollBarCreate :: Window  a -> Id -> Rect -> Style ->  IO (ScrollBar  ())-scrollBarCreate _prt _id _lfttopwdthgt _stl -  = withObjectResult $-    withObjectPtr _prt $ \cobj__prt -> -    wxScrollBar_Create cobj__prt  (toCInt _id)  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  (toCInt _stl)  -foreign import ccall "wxScrollBar_Create" wxScrollBar_Create :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TScrollBar ()))---- | usage: (@scrollBarGetPageSize obj@).-scrollBarGetPageSize :: ScrollBar  a ->  IO Int-scrollBarGetPageSize _obj -  = withIntResult $-    withObjectRef "scrollBarGetPageSize" _obj $ \cobj__obj -> -    wxScrollBar_GetPageSize cobj__obj  -foreign import ccall "wxScrollBar_GetPageSize" wxScrollBar_GetPageSize :: Ptr (TScrollBar a) -> IO CInt---- | usage: (@scrollBarGetRange obj@).-scrollBarGetRange :: ScrollBar  a ->  IO Int-scrollBarGetRange _obj -  = withIntResult $-    withObjectRef "scrollBarGetRange" _obj $ \cobj__obj -> -    wxScrollBar_GetRange cobj__obj  -foreign import ccall "wxScrollBar_GetRange" wxScrollBar_GetRange :: Ptr (TScrollBar a) -> IO CInt---- | usage: (@scrollBarGetThumbPosition obj@).-scrollBarGetThumbPosition :: ScrollBar  a ->  IO Int-scrollBarGetThumbPosition _obj -  = withIntResult $-    withObjectRef "scrollBarGetThumbPosition" _obj $ \cobj__obj -> -    wxScrollBar_GetThumbPosition cobj__obj  -foreign import ccall "wxScrollBar_GetThumbPosition" wxScrollBar_GetThumbPosition :: Ptr (TScrollBar a) -> IO CInt---- | usage: (@scrollBarGetThumbSize obj@).-scrollBarGetThumbSize :: ScrollBar  a ->  IO Int-scrollBarGetThumbSize _obj -  = withIntResult $-    withObjectRef "scrollBarGetThumbSize" _obj $ \cobj__obj -> -    wxScrollBar_GetThumbSize cobj__obj  -foreign import ccall "wxScrollBar_GetThumbSize" wxScrollBar_GetThumbSize :: Ptr (TScrollBar a) -> IO CInt---- | usage: (@scrollBarSetScrollbar obj position thumbSize range pageSize refresh@).-scrollBarSetScrollbar :: ScrollBar  a -> Int -> Int -> Int -> Int -> Bool ->  IO ()-scrollBarSetScrollbar _obj position thumbSize range pageSize refresh -  = withObjectRef "scrollBarSetScrollbar" _obj $ \cobj__obj -> -    wxScrollBar_SetScrollbar cobj__obj  (toCInt position)  (toCInt thumbSize)  (toCInt range)  (toCInt pageSize)  (toCBool refresh)  -foreign import ccall "wxScrollBar_SetScrollbar" wxScrollBar_SetScrollbar :: Ptr (TScrollBar a) -> CInt -> CInt -> CInt -> CInt -> CBool -> IO ()---- | usage: (@scrollBarSetThumbPosition obj viewStart@).-scrollBarSetThumbPosition :: ScrollBar  a -> Int ->  IO ()-scrollBarSetThumbPosition _obj viewStart -  = withObjectRef "scrollBarSetThumbPosition" _obj $ \cobj__obj -> -    wxScrollBar_SetThumbPosition cobj__obj  (toCInt viewStart)  -foreign import ccall "wxScrollBar_SetThumbPosition" wxScrollBar_SetThumbPosition :: Ptr (TScrollBar a) -> CInt -> IO ()---- | usage: (@scrollEventGetOrientation obj@).-scrollEventGetOrientation :: ScrollEvent  a ->  IO Int-scrollEventGetOrientation _obj -  = withIntResult $-    withObjectRef "scrollEventGetOrientation" _obj $ \cobj__obj -> -    wxScrollEvent_GetOrientation cobj__obj  -foreign import ccall "wxScrollEvent_GetOrientation" wxScrollEvent_GetOrientation :: Ptr (TScrollEvent a) -> IO CInt---- | usage: (@scrollEventGetPosition obj@).-scrollEventGetPosition :: ScrollEvent  a ->  IO Int-scrollEventGetPosition _obj -  = withIntResult $-    withObjectRef "scrollEventGetPosition" _obj $ \cobj__obj -> -    wxScrollEvent_GetPosition cobj__obj  -foreign import ccall "wxScrollEvent_GetPosition" wxScrollEvent_GetPosition :: Ptr (TScrollEvent a) -> IO CInt---- | usage: (@scrollWinEventGetOrientation obj@).-scrollWinEventGetOrientation :: ScrollWinEvent  a ->  IO Int-scrollWinEventGetOrientation _obj -  = withIntResult $-    withObjectRef "scrollWinEventGetOrientation" _obj $ \cobj__obj -> -    wxScrollWinEvent_GetOrientation cobj__obj  -foreign import ccall "wxScrollWinEvent_GetOrientation" wxScrollWinEvent_GetOrientation :: Ptr (TScrollWinEvent a) -> IO CInt---- | usage: (@scrollWinEventGetPosition obj@).-scrollWinEventGetPosition :: ScrollWinEvent  a ->  IO Int-scrollWinEventGetPosition _obj -  = withIntResult $-    withObjectRef "scrollWinEventGetPosition" _obj $ \cobj__obj -> -    wxScrollWinEvent_GetPosition cobj__obj  -foreign import ccall "wxScrollWinEvent_GetPosition" wxScrollWinEvent_GetPosition :: Ptr (TScrollWinEvent a) -> IO CInt---- | usage: (@scrollWinEventSetOrientation obj orient@).-scrollWinEventSetOrientation :: ScrollWinEvent  a -> Int ->  IO ()-scrollWinEventSetOrientation _obj orient -  = withObjectRef "scrollWinEventSetOrientation" _obj $ \cobj__obj -> -    wxScrollWinEvent_SetOrientation cobj__obj  (toCInt orient)  -foreign import ccall "wxScrollWinEvent_SetOrientation" wxScrollWinEvent_SetOrientation :: Ptr (TScrollWinEvent a) -> CInt -> IO ()---- | usage: (@scrollWinEventSetPosition obj pos@).-scrollWinEventSetPosition :: ScrollWinEvent  a -> Int ->  IO ()-scrollWinEventSetPosition _obj pos -  = withObjectRef "scrollWinEventSetPosition" _obj $ \cobj__obj -> -    wxScrollWinEvent_SetPosition cobj__obj  (toCInt pos)  -foreign import ccall "wxScrollWinEvent_SetPosition" wxScrollWinEvent_SetPosition :: Ptr (TScrollWinEvent a) -> CInt -> IO ()---- | usage: (@scrolledWindowAdjustScrollbars obj@).-scrolledWindowAdjustScrollbars :: ScrolledWindow  a ->  IO ()-scrolledWindowAdjustScrollbars _obj -  = withObjectRef "scrolledWindowAdjustScrollbars" _obj $ \cobj__obj -> -    wxScrolledWindow_AdjustScrollbars cobj__obj  -foreign import ccall "wxScrolledWindow_AdjustScrollbars" wxScrolledWindow_AdjustScrollbars :: Ptr (TScrolledWindow a) -> IO ()---- | usage: (@scrolledWindowCalcScrolledPosition obj xy@).-scrolledWindowCalcScrolledPosition :: ScrolledWindow  a -> Point ->  IO Point-scrolledWindowCalcScrolledPosition _obj xy -  = withPointResult $ \px py -> -    withObjectRef "scrolledWindowCalcScrolledPosition" _obj $ \cobj__obj -> -    wxScrolledWindow_CalcScrolledPosition cobj__obj  (toCIntPointX xy) (toCIntPointY xy)   px py-foreign import ccall "wxScrolledWindow_CalcScrolledPosition" wxScrolledWindow_CalcScrolledPosition :: Ptr (TScrolledWindow a) -> CInt -> CInt -> Ptr CInt -> Ptr CInt -> IO ()---- | usage: (@scrolledWindowCalcUnscrolledPosition obj xy@).-scrolledWindowCalcUnscrolledPosition :: ScrolledWindow  a -> Point ->  IO Point-scrolledWindowCalcUnscrolledPosition _obj xy -  = withPointResult $ \px py -> -    withObjectRef "scrolledWindowCalcUnscrolledPosition" _obj $ \cobj__obj -> -    wxScrolledWindow_CalcUnscrolledPosition cobj__obj  (toCIntPointX xy) (toCIntPointY xy)   px py-foreign import ccall "wxScrolledWindow_CalcUnscrolledPosition" wxScrolledWindow_CalcUnscrolledPosition :: Ptr (TScrolledWindow a) -> CInt -> CInt -> Ptr CInt -> Ptr CInt -> IO ()---- | usage: (@scrolledWindowCreate prt id lfttopwdthgt stl@).-scrolledWindowCreate :: Window  a -> Id -> Rect -> Style ->  IO (ScrolledWindow  ())-scrolledWindowCreate _prt _id _lfttopwdthgt _stl -  = withObjectResult $-    withObjectPtr _prt $ \cobj__prt -> -    wxScrolledWindow_Create cobj__prt  (toCInt _id)  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  (toCInt _stl)  -foreign import ccall "wxScrolledWindow_Create" wxScrolledWindow_Create :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TScrolledWindow ()))---- | usage: (@scrolledWindowEnableScrolling obj xscrolling yscrolling@).-scrolledWindowEnableScrolling :: ScrolledWindow  a -> Bool -> Bool ->  IO ()-scrolledWindowEnableScrolling _obj xscrolling yscrolling -  = withObjectRef "scrolledWindowEnableScrolling" _obj $ \cobj__obj -> -    wxScrolledWindow_EnableScrolling cobj__obj  (toCBool xscrolling)  (toCBool yscrolling)  -foreign import ccall "wxScrolledWindow_EnableScrolling" wxScrolledWindow_EnableScrolling :: Ptr (TScrolledWindow a) -> CBool -> CBool -> IO ()---- | usage: (@scrolledWindowGetScaleX obj@).-scrolledWindowGetScaleX :: ScrolledWindow  a ->  IO Double-scrolledWindowGetScaleX _obj -  = withObjectRef "scrolledWindowGetScaleX" _obj $ \cobj__obj -> -    wxScrolledWindow_GetScaleX cobj__obj  -foreign import ccall "wxScrolledWindow_GetScaleX" wxScrolledWindow_GetScaleX :: Ptr (TScrolledWindow a) -> IO Double---- | usage: (@scrolledWindowGetScaleY obj@).-scrolledWindowGetScaleY :: ScrolledWindow  a ->  IO Double-scrolledWindowGetScaleY _obj -  = withObjectRef "scrolledWindowGetScaleY" _obj $ \cobj__obj -> -    wxScrolledWindow_GetScaleY cobj__obj  -foreign import ccall "wxScrolledWindow_GetScaleY" wxScrolledWindow_GetScaleY :: Ptr (TScrolledWindow a) -> IO Double---- | usage: (@scrolledWindowGetScrollPageSize obj orient@).-scrolledWindowGetScrollPageSize :: ScrolledWindow  a -> Int ->  IO Int-scrolledWindowGetScrollPageSize _obj orient -  = withIntResult $-    withObjectRef "scrolledWindowGetScrollPageSize" _obj $ \cobj__obj -> -    wxScrolledWindow_GetScrollPageSize cobj__obj  (toCInt orient)  -foreign import ccall "wxScrolledWindow_GetScrollPageSize" wxScrolledWindow_GetScrollPageSize :: Ptr (TScrolledWindow a) -> CInt -> IO CInt---- | usage: (@scrolledWindowGetScrollPixelsPerUnit obj@).-scrolledWindowGetScrollPixelsPerUnit :: ScrolledWindow  a ->  IO Point-scrolledWindowGetScrollPixelsPerUnit _obj -  = withPointResult $ \px py -> -    withObjectRef "scrolledWindowGetScrollPixelsPerUnit" _obj $ \cobj__obj -> -    wxScrolledWindow_GetScrollPixelsPerUnit cobj__obj   px py-foreign import ccall "wxScrolledWindow_GetScrollPixelsPerUnit" wxScrolledWindow_GetScrollPixelsPerUnit :: Ptr (TScrolledWindow a) -> Ptr CInt -> Ptr CInt -> IO ()---- | usage: (@scrolledWindowGetTargetWindow obj@).-scrolledWindowGetTargetWindow :: ScrolledWindow  a ->  IO (Window  ())-scrolledWindowGetTargetWindow _obj -  = withObjectResult $-    withObjectRef "scrolledWindowGetTargetWindow" _obj $ \cobj__obj -> -    wxScrolledWindow_GetTargetWindow cobj__obj  -foreign import ccall "wxScrolledWindow_GetTargetWindow" wxScrolledWindow_GetTargetWindow :: Ptr (TScrolledWindow a) -> IO (Ptr (TWindow ()))---- | usage: (@scrolledWindowGetViewStart obj@).-scrolledWindowGetViewStart :: ScrolledWindow  a ->  IO Point-scrolledWindowGetViewStart _obj -  = withPointResult $ \px py -> -    withObjectRef "scrolledWindowGetViewStart" _obj $ \cobj__obj -> -    wxScrolledWindow_GetViewStart cobj__obj   px py-foreign import ccall "wxScrolledWindow_GetViewStart" wxScrolledWindow_GetViewStart :: Ptr (TScrolledWindow a) -> Ptr CInt -> Ptr CInt -> IO ()---- | usage: (@scrolledWindowGetVirtualSize obj@).-scrolledWindowGetVirtualSize :: ScrolledWindow  a ->  IO Size-scrolledWindowGetVirtualSize _obj -  = withSizeResult $ \pw ph -> -    withObjectRef "scrolledWindowGetVirtualSize" _obj $ \cobj__obj -> -    wxScrolledWindow_GetVirtualSize cobj__obj   pw ph-foreign import ccall "wxScrolledWindow_GetVirtualSize" wxScrolledWindow_GetVirtualSize :: Ptr (TScrolledWindow a) -> Ptr CInt -> Ptr CInt -> IO ()---- | usage: (@scrolledWindowOnDraw obj dc@).-scrolledWindowOnDraw :: ScrolledWindow  a -> DC  b ->  IO ()-scrolledWindowOnDraw _obj dc -  = withObjectRef "scrolledWindowOnDraw" _obj $ \cobj__obj -> -    withObjectPtr dc $ \cobj_dc -> -    wxScrolledWindow_OnDraw cobj__obj  cobj_dc  -foreign import ccall "wxScrolledWindow_OnDraw" wxScrolledWindow_OnDraw :: Ptr (TScrolledWindow a) -> Ptr (TDC b) -> IO ()---- | usage: (@scrolledWindowPrepareDC obj dc@).-scrolledWindowPrepareDC :: ScrolledWindow  a -> DC  b ->  IO ()-scrolledWindowPrepareDC _obj dc -  = withObjectRef "scrolledWindowPrepareDC" _obj $ \cobj__obj -> -    withObjectPtr dc $ \cobj_dc -> -    wxScrolledWindow_PrepareDC cobj__obj  cobj_dc  -foreign import ccall "wxScrolledWindow_PrepareDC" wxScrolledWindow_PrepareDC :: Ptr (TScrolledWindow a) -> Ptr (TDC b) -> IO ()---- | usage: (@scrolledWindowScroll obj xposypos@).-scrolledWindowScroll :: ScrolledWindow  a -> Point ->  IO ()-scrolledWindowScroll _obj xposypos -  = withObjectRef "scrolledWindowScroll" _obj $ \cobj__obj -> -    wxScrolledWindow_Scroll cobj__obj  (toCIntPointX xposypos) (toCIntPointY xposypos)  -foreign import ccall "wxScrolledWindow_Scroll" wxScrolledWindow_Scroll :: Ptr (TScrolledWindow a) -> CInt -> CInt -> IO ()---- | usage: (@scrolledWindowSetScale obj xs ys@).-scrolledWindowSetScale :: ScrolledWindow  a -> Double -> Double ->  IO ()-scrolledWindowSetScale _obj xs ys -  = withObjectRef "scrolledWindowSetScale" _obj $ \cobj__obj -> -    wxScrolledWindow_SetScale cobj__obj  xs  ys  -foreign import ccall "wxScrolledWindow_SetScale" wxScrolledWindow_SetScale :: Ptr (TScrolledWindow a) -> Double -> Double -> IO ()---- | usage: (@scrolledWindowSetScrollPageSize obj orient pageSize@).-scrolledWindowSetScrollPageSize :: ScrolledWindow  a -> Int -> Int ->  IO ()-scrolledWindowSetScrollPageSize _obj orient pageSize -  = withObjectRef "scrolledWindowSetScrollPageSize" _obj $ \cobj__obj -> -    wxScrolledWindow_SetScrollPageSize cobj__obj  (toCInt orient)  (toCInt pageSize)  -foreign import ccall "wxScrolledWindow_SetScrollPageSize" wxScrolledWindow_SetScrollPageSize :: Ptr (TScrolledWindow a) -> CInt -> CInt -> IO ()---- | usage: (@scrolledWindowSetScrollRate obj xstep ystep@).-scrolledWindowSetScrollRate :: ScrolledWindow  a -> Int -> Int ->  IO ()-scrolledWindowSetScrollRate _obj xstep ystep -  = withObjectRef "scrolledWindowSetScrollRate" _obj $ \cobj__obj -> -    wxScrolledWindow_SetScrollRate cobj__obj  (toCInt xstep)  (toCInt ystep)  -foreign import ccall "wxScrolledWindow_SetScrollRate" wxScrolledWindow_SetScrollRate :: Ptr (TScrolledWindow a) -> CInt -> CInt -> IO ()---- | usage: (@scrolledWindowSetScrollbars obj pixelsPerUnitX pixelsPerUnitY noUnitsX noUnitsY xPos yPos noRefresh@).-scrolledWindowSetScrollbars :: ScrolledWindow  a -> Int -> Int -> Int -> Int -> Int -> Int -> Bool ->  IO ()-scrolledWindowSetScrollbars _obj pixelsPerUnitX pixelsPerUnitY noUnitsX noUnitsY xPos yPos noRefresh -  = withObjectRef "scrolledWindowSetScrollbars" _obj $ \cobj__obj -> -    wxScrolledWindow_SetScrollbars cobj__obj  (toCInt pixelsPerUnitX)  (toCInt pixelsPerUnitY)  (toCInt noUnitsX)  (toCInt noUnitsY)  (toCInt xPos)  (toCInt yPos)  (toCBool noRefresh)  -foreign import ccall "wxScrolledWindow_SetScrollbars" wxScrolledWindow_SetScrollbars :: Ptr (TScrolledWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> CBool -> IO ()---- | usage: (@scrolledWindowSetTargetWindow obj target@).-scrolledWindowSetTargetWindow :: ScrolledWindow  a -> Window  b ->  IO ()-scrolledWindowSetTargetWindow _obj target -  = withObjectRef "scrolledWindowSetTargetWindow" _obj $ \cobj__obj -> -    withObjectPtr target $ \cobj_target -> -    wxScrolledWindow_SetTargetWindow cobj__obj  cobj_target  -foreign import ccall "wxScrolledWindow_SetTargetWindow" wxScrolledWindow_SetTargetWindow :: Ptr (TScrolledWindow a) -> Ptr (TWindow b) -> IO ()---- | usage: (@scrolledWindowViewStart obj@).-scrolledWindowViewStart :: ScrolledWindow  a ->  IO Point-scrolledWindowViewStart _obj -  = withPointResult $ \px py -> -    withObjectRef "scrolledWindowViewStart" _obj $ \cobj__obj -> -    wxScrolledWindow_ViewStart cobj__obj   px py-foreign import ccall "wxScrolledWindow_ViewStart" wxScrolledWindow_ViewStart :: Ptr (TScrolledWindow a) -> Ptr CInt -> Ptr CInt -> IO ()---- | usage: (@setCursorEventGetCursor obj@).-setCursorEventGetCursor :: SetCursorEvent  a ->  IO (Cursor  ())-setCursorEventGetCursor _obj -  = withManagedCursorResult $-    withObjectRef "setCursorEventGetCursor" _obj $ \cobj__obj -> -    wxSetCursorEvent_GetCursor cobj__obj  -foreign import ccall "wxSetCursorEvent_GetCursor" wxSetCursorEvent_GetCursor :: Ptr (TSetCursorEvent a) -> IO (Ptr (TCursor ()))---- | usage: (@setCursorEventGetX obj@).-setCursorEventGetX :: SetCursorEvent  a ->  IO Int-setCursorEventGetX _obj -  = withIntResult $-    withObjectRef "setCursorEventGetX" _obj $ \cobj__obj -> -    wxSetCursorEvent_GetX cobj__obj  -foreign import ccall "wxSetCursorEvent_GetX" wxSetCursorEvent_GetX :: Ptr (TSetCursorEvent a) -> IO CInt---- | usage: (@setCursorEventGetY obj@).-setCursorEventGetY :: SetCursorEvent  a ->  IO Int-setCursorEventGetY _obj -  = withIntResult $-    withObjectRef "setCursorEventGetY" _obj $ \cobj__obj -> -    wxSetCursorEvent_GetY cobj__obj  -foreign import ccall "wxSetCursorEvent_GetY" wxSetCursorEvent_GetY :: Ptr (TSetCursorEvent a) -> IO CInt---- | usage: (@setCursorEventHasCursor obj@).-setCursorEventHasCursor :: SetCursorEvent  a ->  IO Bool-setCursorEventHasCursor _obj -  = withBoolResult $-    withObjectRef "setCursorEventHasCursor" _obj $ \cobj__obj -> -    wxSetCursorEvent_HasCursor cobj__obj  -foreign import ccall "wxSetCursorEvent_HasCursor" wxSetCursorEvent_HasCursor :: Ptr (TSetCursorEvent a) -> IO CBool---- | usage: (@setCursorEventSetCursor obj cursor@).-setCursorEventSetCursor :: SetCursorEvent  a -> Cursor  b ->  IO ()-setCursorEventSetCursor _obj cursor -  = withObjectRef "setCursorEventSetCursor" _obj $ \cobj__obj -> -    withObjectPtr cursor $ \cobj_cursor -> -    wxSetCursorEvent_SetCursor cobj__obj  cobj_cursor  -foreign import ccall "wxSetCursorEvent_SetCursor" wxSetCursorEvent_SetCursor :: Ptr (TSetCursorEvent a) -> Ptr (TCursor b) -> IO ()---- | usage: (@showEventCopyObject obj obj@).-showEventCopyObject :: ShowEvent  a -> WxObject  b ->  IO ()-showEventCopyObject _obj obj -  = withObjectRef "showEventCopyObject" _obj $ \cobj__obj -> -    withObjectPtr obj $ \cobj_obj -> -    wxShowEvent_CopyObject cobj__obj  cobj_obj  -foreign import ccall "wxShowEvent_CopyObject" wxShowEvent_CopyObject :: Ptr (TShowEvent a) -> Ptr (TWxObject b) -> IO ()---- | usage: (@showEventGetShow obj@).-showEventGetShow :: ShowEvent  a ->  IO Bool-showEventGetShow _obj -  = withBoolResult $-    withObjectRef "showEventGetShow" _obj $ \cobj__obj -> -    wxShowEvent_GetShow cobj__obj  -foreign import ccall "wxShowEvent_GetShow" wxShowEvent_GetShow :: Ptr (TShowEvent a) -> IO CBool---- | usage: (@showEventSetShow obj show@).-showEventSetShow :: ShowEvent  a -> Bool ->  IO ()-showEventSetShow _obj show -  = withObjectRef "showEventSetShow" _obj $ \cobj__obj -> -    wxShowEvent_SetShow cobj__obj  (toCBool show)  -foreign import ccall "wxShowEvent_SetShow" wxShowEvent_SetShow :: Ptr (TShowEvent a) -> CBool -> IO ()---- | usage: (@simpleHelpProviderCreate@).-simpleHelpProviderCreate ::  IO (SimpleHelpProvider  ())-simpleHelpProviderCreate -  = withObjectResult $-    wxSimpleHelpProvider_Create -foreign import ccall "wxSimpleHelpProvider_Create" wxSimpleHelpProvider_Create :: IO (Ptr (TSimpleHelpProvider ()))---- | usage: (@singleInstanceCheckerCreate obj name path@).-singleInstanceCheckerCreate :: Ptr  a -> String -> String ->  IO Bool-singleInstanceCheckerCreate _obj name path -  = withBoolResult $-    withStringPtr name $ \cobj_name -> -    withStringPtr path $ \cobj_path -> -    wxSingleInstanceChecker_Create _obj  cobj_name  cobj_path  -foreign import ccall "wxSingleInstanceChecker_Create" wxSingleInstanceChecker_Create :: Ptr  a -> Ptr (TWxString b) -> Ptr (TWxString c) -> IO CBool---- | usage: (@singleInstanceCheckerCreateDefault@).-singleInstanceCheckerCreateDefault ::  IO (SingleInstanceChecker  ())-singleInstanceCheckerCreateDefault -  = withObjectResult $-    wxSingleInstanceChecker_CreateDefault -foreign import ccall "wxSingleInstanceChecker_CreateDefault" wxSingleInstanceChecker_CreateDefault :: IO (Ptr (TSingleInstanceChecker ()))---- | usage: (@singleInstanceCheckerDelete obj@).-singleInstanceCheckerDelete :: SingleInstanceChecker  a ->  IO ()-singleInstanceCheckerDelete _obj -  = withObjectRef "singleInstanceCheckerDelete" _obj $ \cobj__obj -> -    wxSingleInstanceChecker_Delete cobj__obj  -foreign import ccall "wxSingleInstanceChecker_Delete" wxSingleInstanceChecker_Delete :: Ptr (TSingleInstanceChecker a) -> IO ()---- | usage: (@singleInstanceCheckerIsAnotherRunning obj@).-singleInstanceCheckerIsAnotherRunning :: SingleInstanceChecker  a ->  IO Bool-singleInstanceCheckerIsAnotherRunning _obj -  = withBoolResult $-    withObjectRef "singleInstanceCheckerIsAnotherRunning" _obj $ \cobj__obj -> -    wxSingleInstanceChecker_IsAnotherRunning cobj__obj  -foreign import ccall "wxSingleInstanceChecker_IsAnotherRunning" wxSingleInstanceChecker_IsAnotherRunning :: Ptr (TSingleInstanceChecker a) -> IO CBool---- | usage: (@sizeEventCopyObject obj obj@).-sizeEventCopyObject :: SizeEvent  a -> Ptr  b ->  IO ()-sizeEventCopyObject _obj obj -  = withObjectRef "sizeEventCopyObject" _obj $ \cobj__obj -> -    wxSizeEvent_CopyObject cobj__obj  obj  -foreign import ccall "wxSizeEvent_CopyObject" wxSizeEvent_CopyObject :: Ptr (TSizeEvent a) -> Ptr  b -> IO ()---- | usage: (@sizeEventGetSize obj@).-sizeEventGetSize :: SizeEvent  a ->  IO (Size)-sizeEventGetSize _obj -  = withWxSizeResult $-    withObjectRef "sizeEventGetSize" _obj $ \cobj__obj -> -    wxSizeEvent_GetSize cobj__obj  -foreign import ccall "wxSizeEvent_GetSize" wxSizeEvent_GetSize :: Ptr (TSizeEvent a) -> IO (Ptr (TWxSize ()))---- | usage: (@sizerAdd obj widthheight option flag border userData@).-sizerAdd :: Sizer  a -> Size -> Int -> Int -> Int -> Ptr  f ->  IO ()-sizerAdd _obj widthheight option flag border userData -  = withObjectRef "sizerAdd" _obj $ \cobj__obj -> -    wxSizer_Add cobj__obj  (toCIntSizeW widthheight) (toCIntSizeH widthheight)  (toCInt option)  (toCInt flag)  (toCInt border)  userData  -foreign import ccall "wxSizer_Add" wxSizer_Add :: Ptr (TSizer a) -> CInt -> CInt -> CInt -> CInt -> CInt -> Ptr  f -> IO ()---- | usage: (@sizerAddSizer obj sizer option flag border userData@).-sizerAddSizer :: Sizer  a -> Sizer  b -> Int -> Int -> Int -> Ptr  f ->  IO ()-sizerAddSizer _obj sizer option flag border userData -  = withObjectRef "sizerAddSizer" _obj $ \cobj__obj -> -    withObjectPtr sizer $ \cobj_sizer -> -    wxSizer_AddSizer cobj__obj  cobj_sizer  (toCInt option)  (toCInt flag)  (toCInt border)  userData  -foreign import ccall "wxSizer_AddSizer" wxSizer_AddSizer :: Ptr (TSizer a) -> Ptr (TSizer b) -> CInt -> CInt -> CInt -> Ptr  f -> IO ()---- | usage: (@sizerAddSpacer obj size@).-sizerAddSpacer :: Sizer  a -> Int ->  IO ()-sizerAddSpacer _obj size -  = withObjectRef "sizerAddSpacer" _obj $ \cobj__obj -> -    wxSizer_AddSpacer cobj__obj  (toCInt size)  -foreign import ccall "wxSizer_AddSpacer" wxSizer_AddSpacer :: Ptr (TSizer a) -> CInt -> IO ()---- | usage: (@sizerAddStretchSpacer obj size@).-sizerAddStretchSpacer :: Sizer  a -> Int ->  IO ()-sizerAddStretchSpacer _obj size -  = withObjectRef "sizerAddStretchSpacer" _obj $ \cobj__obj -> -    wxSizer_AddStretchSpacer cobj__obj  (toCInt size)  -foreign import ccall "wxSizer_AddStretchSpacer" wxSizer_AddStretchSpacer :: Ptr (TSizer a) -> CInt -> IO ()---- | usage: (@sizerAddWindow obj window option flag border userData@).-sizerAddWindow :: Sizer  a -> Window  b -> Int -> Int -> Int -> Ptr  f ->  IO ()-sizerAddWindow _obj window option flag border userData -  = withObjectRef "sizerAddWindow" _obj $ \cobj__obj -> -    withObjectPtr window $ \cobj_window -> -    wxSizer_AddWindow cobj__obj  cobj_window  (toCInt option)  (toCInt flag)  (toCInt border)  userData  -foreign import ccall "wxSizer_AddWindow" wxSizer_AddWindow :: Ptr (TSizer a) -> Ptr (TWindow b) -> CInt -> CInt -> CInt -> Ptr  f -> IO ()---- | usage: (@sizerCalcMin obj@).-sizerCalcMin :: Sizer  a ->  IO (Size)-sizerCalcMin _obj -  = withWxSizeResult $-    withObjectRef "sizerCalcMin" _obj $ \cobj__obj -> -    wxSizer_CalcMin cobj__obj  -foreign import ccall "wxSizer_CalcMin" wxSizer_CalcMin :: Ptr (TSizer a) -> IO (Ptr (TWxSize ()))---- | usage: (@sizerClear obj deletewindows@).-sizerClear :: Sizer  a -> Bool ->  IO ()-sizerClear _obj deletewindows -  = withObjectRef "sizerClear" _obj $ \cobj__obj -> -    wxSizer_Clear cobj__obj  (toCBool deletewindows)  -foreign import ccall "wxSizer_Clear" wxSizer_Clear :: Ptr (TSizer a) -> CBool -> IO ()---- | usage: (@sizerDetach obj index@).-sizerDetach :: Sizer  a -> Int ->  IO Bool-sizerDetach _obj index -  = withBoolResult $-    withObjectRef "sizerDetach" _obj $ \cobj__obj -> -    wxSizer_Detach cobj__obj  (toCInt index)  -foreign import ccall "wxSizer_Detach" wxSizer_Detach :: Ptr (TSizer a) -> CInt -> IO CBool---- | usage: (@sizerDetachSizer obj sizer@).-sizerDetachSizer :: Sizer  a -> Sizer  b ->  IO Bool-sizerDetachSizer _obj sizer -  = withBoolResult $-    withObjectRef "sizerDetachSizer" _obj $ \cobj__obj -> -    withObjectPtr sizer $ \cobj_sizer -> -    wxSizer_DetachSizer cobj__obj  cobj_sizer  -foreign import ccall "wxSizer_DetachSizer" wxSizer_DetachSizer :: Ptr (TSizer a) -> Ptr (TSizer b) -> IO CBool---- | usage: (@sizerDetachWindow obj window@).-sizerDetachWindow :: Sizer  a -> Window  b ->  IO Bool-sizerDetachWindow _obj window -  = withBoolResult $-    withObjectRef "sizerDetachWindow" _obj $ \cobj__obj -> -    withObjectPtr window $ \cobj_window -> -    wxSizer_DetachWindow cobj__obj  cobj_window  -foreign import ccall "wxSizer_DetachWindow" wxSizer_DetachWindow :: Ptr (TSizer a) -> Ptr (TWindow b) -> IO CBool---- | usage: (@sizerFit obj window@).-sizerFit :: Sizer  a -> Window  b ->  IO ()-sizerFit _obj window -  = withObjectRef "sizerFit" _obj $ \cobj__obj -> -    withObjectPtr window $ \cobj_window -> -    wxSizer_Fit cobj__obj  cobj_window  -foreign import ccall "wxSizer_Fit" wxSizer_Fit :: Ptr (TSizer a) -> Ptr (TWindow b) -> IO ()---- | usage: (@sizerFitInside obj window@).-sizerFitInside :: Sizer  a -> Window  b ->  IO ()-sizerFitInside _obj window -  = withObjectRef "sizerFitInside" _obj $ \cobj__obj -> -    withObjectPtr window $ \cobj_window -> -    wxSizer_FitInside cobj__obj  cobj_window  -foreign import ccall "wxSizer_FitInside" wxSizer_FitInside :: Ptr (TSizer a) -> Ptr (TWindow b) -> IO ()---- | usage: (@sizerGetChildren obj res cnt@).-sizerGetChildren :: Sizer  a -> Ptr  b -> Int ->  IO Int-sizerGetChildren _obj _res _cnt -  = withIntResult $-    withObjectRef "sizerGetChildren" _obj $ \cobj__obj -> -    wxSizer_GetChildren cobj__obj  _res  (toCInt _cnt)  -foreign import ccall "wxSizer_GetChildren" wxSizer_GetChildren :: Ptr (TSizer a) -> Ptr  b -> CInt -> IO CInt---- | usage: (@sizerGetContainingWindow obj@).-sizerGetContainingWindow :: Sizer  a ->  IO (Window  ())-sizerGetContainingWindow _obj -  = withObjectResult $-    withObjectRef "sizerGetContainingWindow" _obj $ \cobj__obj -> -    wxSizer_GetContainingWindow cobj__obj  -foreign import ccall "wxSizer_GetContainingWindow" wxSizer_GetContainingWindow :: Ptr (TSizer a) -> IO (Ptr (TWindow ()))---- | usage: (@sizerGetItem obj index@).-sizerGetItem :: Sizer  a -> Int ->  IO (SizerItem  ())-sizerGetItem _obj index -  = withObjectResult $-    withObjectRef "sizerGetItem" _obj $ \cobj__obj -> -    wxSizer_GetItem cobj__obj  (toCInt index)  -foreign import ccall "wxSizer_GetItem" wxSizer_GetItem :: Ptr (TSizer a) -> CInt -> IO (Ptr (TSizerItem ()))---- | usage: (@sizerGetItemSizer obj window recursive@).-sizerGetItemSizer :: Sizer  a -> Sizer  b -> Bool ->  IO (SizerItem  ())-sizerGetItemSizer _obj window recursive -  = withObjectResult $-    withObjectRef "sizerGetItemSizer" _obj $ \cobj__obj -> -    withObjectPtr window $ \cobj_window -> -    wxSizer_GetItemSizer cobj__obj  cobj_window  (toCBool recursive)  -foreign import ccall "wxSizer_GetItemSizer" wxSizer_GetItemSizer :: Ptr (TSizer a) -> Ptr (TSizer b) -> CBool -> IO (Ptr (TSizerItem ()))---- | usage: (@sizerGetItemWindow obj window recursive@).-sizerGetItemWindow :: Sizer  a -> Window  b -> Bool ->  IO (SizerItem  ())-sizerGetItemWindow _obj window recursive -  = withObjectResult $-    withObjectRef "sizerGetItemWindow" _obj $ \cobj__obj -> -    withObjectPtr window $ \cobj_window -> -    wxSizer_GetItemWindow cobj__obj  cobj_window  (toCBool recursive)  -foreign import ccall "wxSizer_GetItemWindow" wxSizer_GetItemWindow :: Ptr (TSizer a) -> Ptr (TWindow b) -> CBool -> IO (Ptr (TSizerItem ()))---- | usage: (@sizerGetMinSize obj@).-sizerGetMinSize :: Sizer  a ->  IO (Size)-sizerGetMinSize _obj -  = withWxSizeResult $-    withObjectRef "sizerGetMinSize" _obj $ \cobj__obj -> -    wxSizer_GetMinSize cobj__obj  -foreign import ccall "wxSizer_GetMinSize" wxSizer_GetMinSize :: Ptr (TSizer a) -> IO (Ptr (TWxSize ()))---- | usage: (@sizerGetPosition obj@).-sizerGetPosition :: Sizer  a ->  IO (Point)-sizerGetPosition _obj -  = withWxPointResult $-    withObjectRef "sizerGetPosition" _obj $ \cobj__obj -> -    wxSizer_GetPosition cobj__obj  -foreign import ccall "wxSizer_GetPosition" wxSizer_GetPosition :: Ptr (TSizer a) -> IO (Ptr (TWxPoint ()))---- | usage: (@sizerGetSize obj@).-sizerGetSize :: Sizer  a ->  IO (Size)-sizerGetSize _obj -  = withWxSizeResult $-    withObjectRef "sizerGetSize" _obj $ \cobj__obj -> -    wxSizer_GetSize cobj__obj  -foreign import ccall "wxSizer_GetSize" wxSizer_GetSize :: Ptr (TSizer a) -> IO (Ptr (TWxSize ()))---- | usage: (@sizerHide obj index@).-sizerHide :: Window  a -> Int ->  IO Bool-sizerHide _obj index -  = withBoolResult $-    withObjectPtr _obj $ \cobj__obj -> -    wxSizer_Hide cobj__obj  (toCInt index)  -foreign import ccall "wxSizer_Hide" wxSizer_Hide :: Ptr (TWindow a) -> CInt -> IO CBool---- | usage: (@sizerHideSizer obj sizer@).-sizerHideSizer :: Window  a -> Sizer  b ->  IO Bool-sizerHideSizer _obj sizer -  = withBoolResult $-    withObjectPtr _obj $ \cobj__obj -> -    withObjectPtr sizer $ \cobj_sizer -> -    wxSizer_HideSizer cobj__obj  cobj_sizer  -foreign import ccall "wxSizer_HideSizer" wxSizer_HideSizer :: Ptr (TWindow a) -> Ptr (TSizer b) -> IO CBool---- | usage: (@sizerHideWindow obj window@).-sizerHideWindow :: Window  a -> Window  b ->  IO Bool-sizerHideWindow _obj window -  = withBoolResult $-    withObjectPtr _obj $ \cobj__obj -> -    withObjectPtr window $ \cobj_window -> -    wxSizer_HideWindow cobj__obj  cobj_window  -foreign import ccall "wxSizer_HideWindow" wxSizer_HideWindow :: Ptr (TWindow a) -> Ptr (TWindow b) -> IO CBool---- | usage: (@sizerInsert obj before widthheight option flag border userData@).-sizerInsert :: Sizer  a -> Int -> Size -> Int -> Int -> Int -> Ptr  g ->  IO ()-sizerInsert _obj before widthheight option flag border userData -  = withObjectRef "sizerInsert" _obj $ \cobj__obj -> -    wxSizer_Insert cobj__obj  (toCInt before)  (toCIntSizeW widthheight) (toCIntSizeH widthheight)  (toCInt option)  (toCInt flag)  (toCInt border)  userData  -foreign import ccall "wxSizer_Insert" wxSizer_Insert :: Ptr (TSizer a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> Ptr  g -> IO ()---- | usage: (@sizerInsertSizer obj before sizer option flag border userData@).-sizerInsertSizer :: Sizer  a -> Int -> Sizer  c -> Int -> Int -> Int -> Ptr  g ->  IO ()-sizerInsertSizer _obj before sizer option flag border userData -  = withObjectRef "sizerInsertSizer" _obj $ \cobj__obj -> -    withObjectPtr sizer $ \cobj_sizer -> -    wxSizer_InsertSizer cobj__obj  (toCInt before)  cobj_sizer  (toCInt option)  (toCInt flag)  (toCInt border)  userData  -foreign import ccall "wxSizer_InsertSizer" wxSizer_InsertSizer :: Ptr (TSizer a) -> CInt -> Ptr (TSizer c) -> CInt -> CInt -> CInt -> Ptr  g -> IO ()---- | usage: (@sizerInsertSpacer obj index size@).-sizerInsertSpacer :: Sizer  a -> Int -> Int ->  IO (SizerItem  ())-sizerInsertSpacer _obj index size -  = withObjectResult $-    withObjectRef "sizerInsertSpacer" _obj $ \cobj__obj -> -    wxSizer_InsertSpacer cobj__obj  (toCInt index)  (toCInt size)  -foreign import ccall "wxSizer_InsertSpacer" wxSizer_InsertSpacer :: Ptr (TSizer a) -> CInt -> CInt -> IO (Ptr (TSizerItem ()))---- | usage: (@sizerInsertStretchSpacer obj index prop@).-sizerInsertStretchSpacer :: Sizer  a -> Int -> Int ->  IO (SizerItem  ())-sizerInsertStretchSpacer _obj index prop -  = withObjectResult $-    withObjectRef "sizerInsertStretchSpacer" _obj $ \cobj__obj -> -    wxSizer_InsertStretchSpacer cobj__obj  (toCInt index)  (toCInt prop)  -foreign import ccall "wxSizer_InsertStretchSpacer" wxSizer_InsertStretchSpacer :: Ptr (TSizer a) -> CInt -> CInt -> IO (Ptr (TSizerItem ()))---- | usage: (@sizerInsertWindow obj before window option flag border userData@).-sizerInsertWindow :: Sizer  a -> Int -> Window  c -> Int -> Int -> Int -> Ptr  g ->  IO ()-sizerInsertWindow _obj before window option flag border userData -  = withObjectRef "sizerInsertWindow" _obj $ \cobj__obj -> -    withObjectPtr window $ \cobj_window -> -    wxSizer_InsertWindow cobj__obj  (toCInt before)  cobj_window  (toCInt option)  (toCInt flag)  (toCInt border)  userData  -foreign import ccall "wxSizer_InsertWindow" wxSizer_InsertWindow :: Ptr (TSizer a) -> CInt -> Ptr (TWindow c) -> CInt -> CInt -> CInt -> Ptr  g -> IO ()---- | usage: (@sizerIsShown obj index@).-sizerIsShown :: Sizer  a -> Int ->  IO Bool-sizerIsShown _obj index -  = withBoolResult $-    withObjectRef "sizerIsShown" _obj $ \cobj__obj -> -    wxSizer_IsShown cobj__obj  (toCInt index)  -foreign import ccall "wxSizer_IsShown" wxSizer_IsShown :: Ptr (TSizer a) -> CInt -> IO CBool---- | usage: (@sizerIsShownSizer obj sizer@).-sizerIsShownSizer :: Sizer  a -> Ptr (Ptr (TSizer b)) ->  IO Bool-sizerIsShownSizer _obj sizer -  = withBoolResult $-    withObjectRef "sizerIsShownSizer" _obj $ \cobj__obj -> -    wxSizer_IsShownSizer cobj__obj  sizer  -foreign import ccall "wxSizer_IsShownSizer" wxSizer_IsShownSizer :: Ptr (TSizer a) -> Ptr (Ptr (TSizer b)) -> IO CBool---- | usage: (@sizerIsShownWindow obj window@).-sizerIsShownWindow :: Sizer  a -> Ptr (Ptr (TWindow b)) ->  IO Bool-sizerIsShownWindow _obj window -  = withBoolResult $-    withObjectRef "sizerIsShownWindow" _obj $ \cobj__obj -> -    wxSizer_IsShownWindow cobj__obj  window  -foreign import ccall "wxSizer_IsShownWindow" wxSizer_IsShownWindow :: Ptr (TSizer a) -> Ptr (Ptr (TWindow b)) -> IO CBool---- | usage: (@sizerItemCalcMin obj@).-sizerItemCalcMin :: SizerItem  a ->  IO (Size)-sizerItemCalcMin _obj -  = withWxSizeResult $-    withObjectRef "sizerItemCalcMin" _obj $ \cobj__obj -> -    wxSizerItem_CalcMin cobj__obj  -foreign import ccall "wxSizerItem_CalcMin" wxSizerItem_CalcMin :: Ptr (TSizerItem a) -> IO (Ptr (TWxSize ()))---- | usage: (@sizerItemCreate widthheight option flag border userData@).-sizerItemCreate :: Size -> Int -> Int -> Int -> Ptr  e ->  IO (SizerItem  ())-sizerItemCreate widthheight option flag border userData -  = withObjectResult $-    wxSizerItem_Create (toCIntSizeW widthheight) (toCIntSizeH widthheight)  (toCInt option)  (toCInt flag)  (toCInt border)  userData  -foreign import ccall "wxSizerItem_Create" wxSizerItem_Create :: CInt -> CInt -> CInt -> CInt -> CInt -> Ptr  e -> IO (Ptr (TSizerItem ()))---- | usage: (@sizerItemCreateInSizer sizer option flag border userData@).-sizerItemCreateInSizer :: Sizer  a -> Int -> Int -> Int -> Ptr  e ->  IO (Ptr  ())-sizerItemCreateInSizer sizer option flag border userData -  = withObjectPtr sizer $ \cobj_sizer -> -    wxSizerItem_CreateInSizer cobj_sizer  (toCInt option)  (toCInt flag)  (toCInt border)  userData  -foreign import ccall "wxSizerItem_CreateInSizer" wxSizerItem_CreateInSizer :: Ptr (TSizer a) -> CInt -> CInt -> CInt -> Ptr  e -> IO (Ptr  ())---- | usage: (@sizerItemCreateInWindow window option flag border userData@).-sizerItemCreateInWindow :: Window  a -> Int -> Int -> Int -> Ptr  e ->  IO (Ptr  ())-sizerItemCreateInWindow window option flag border userData -  = withObjectPtr window $ \cobj_window -> -    wxSizerItem_CreateInWindow cobj_window  (toCInt option)  (toCInt flag)  (toCInt border)  userData  -foreign import ccall "wxSizerItem_CreateInWindow" wxSizerItem_CreateInWindow :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> Ptr  e -> IO (Ptr  ())---- | usage: (@sizerItemDelete obj@).-sizerItemDelete :: SizerItem  a ->  IO ()-sizerItemDelete-  = objectDelete----- | usage: (@sizerItemDeleteWindows obj@).-sizerItemDeleteWindows :: SizerItem  a ->  IO ()-sizerItemDeleteWindows _obj -  = withObjectRef "sizerItemDeleteWindows" _obj $ \cobj__obj -> -    wxSizerItem_DeleteWindows cobj__obj  -foreign import ccall "wxSizerItem_DeleteWindows" wxSizerItem_DeleteWindows :: Ptr (TSizerItem a) -> IO ()---- | usage: (@sizerItemDetachSizer obj@).-sizerItemDetachSizer :: SizerItem  a ->  IO ()-sizerItemDetachSizer _obj -  = withObjectRef "sizerItemDetachSizer" _obj $ \cobj__obj -> -    wxSizerItem_DetachSizer cobj__obj  -foreign import ccall "wxSizerItem_DetachSizer" wxSizerItem_DetachSizer :: Ptr (TSizerItem a) -> IO ()---- | usage: (@sizerItemGetBorder obj@).-sizerItemGetBorder :: SizerItem  a ->  IO Int-sizerItemGetBorder _obj -  = withIntResult $-    withObjectRef "sizerItemGetBorder" _obj $ \cobj__obj -> -    wxSizerItem_GetBorder cobj__obj  -foreign import ccall "wxSizerItem_GetBorder" wxSizerItem_GetBorder :: Ptr (TSizerItem a) -> IO CInt---- | usage: (@sizerItemGetFlag obj@).-sizerItemGetFlag :: SizerItem  a ->  IO Int-sizerItemGetFlag _obj -  = withIntResult $-    withObjectRef "sizerItemGetFlag" _obj $ \cobj__obj -> -    wxSizerItem_GetFlag cobj__obj  -foreign import ccall "wxSizerItem_GetFlag" wxSizerItem_GetFlag :: Ptr (TSizerItem a) -> IO CInt---- | usage: (@sizerItemGetMinSize obj@).-sizerItemGetMinSize :: SizerItem  a ->  IO (Size)-sizerItemGetMinSize _obj -  = withWxSizeResult $-    withObjectRef "sizerItemGetMinSize" _obj $ \cobj__obj -> -    wxSizerItem_GetMinSize cobj__obj  -foreign import ccall "wxSizerItem_GetMinSize" wxSizerItem_GetMinSize :: Ptr (TSizerItem a) -> IO (Ptr (TWxSize ()))---- | usage: (@sizerItemGetPosition obj@).-sizerItemGetPosition :: SizerItem  a ->  IO (Point)-sizerItemGetPosition _obj -  = withWxPointResult $-    withObjectRef "sizerItemGetPosition" _obj $ \cobj__obj -> -    wxSizerItem_GetPosition cobj__obj  -foreign import ccall "wxSizerItem_GetPosition" wxSizerItem_GetPosition :: Ptr (TSizerItem a) -> IO (Ptr (TWxPoint ()))---- | usage: (@sizerItemGetProportion obj@).-sizerItemGetProportion :: SizerItem  a ->  IO Int-sizerItemGetProportion _obj -  = withIntResult $-    withObjectRef "sizerItemGetProportion" _obj $ \cobj__obj -> -    wxSizerItem_GetProportion cobj__obj  -foreign import ccall "wxSizerItem_GetProportion" wxSizerItem_GetProportion :: Ptr (TSizerItem a) -> IO CInt---- | usage: (@sizerItemGetRatio obj@).-sizerItemGetRatio :: SizerItem  a ->  IO Float-sizerItemGetRatio _obj -  = withObjectRef "sizerItemGetRatio" _obj $ \cobj__obj -> -    wxSizerItem_GetRatio cobj__obj  -foreign import ccall "wxSizerItem_GetRatio" wxSizerItem_GetRatio :: Ptr (TSizerItem a) -> IO Float---- | usage: (@sizerItemGetRect obj@).-sizerItemGetRect :: SizerItem  a ->  IO (Rect)-sizerItemGetRect _obj -  = withWxRectResult $-    withObjectRef "sizerItemGetRect" _obj $ \cobj__obj -> -    wxSizerItem_GetRect cobj__obj  -foreign import ccall "wxSizerItem_GetRect" wxSizerItem_GetRect :: Ptr (TSizerItem a) -> IO (Ptr (TWxRect ()))---- | usage: (@sizerItemGetSize obj@).-sizerItemGetSize :: SizerItem  a ->  IO (Size)-sizerItemGetSize _obj -  = withWxSizeResult $-    withObjectRef "sizerItemGetSize" _obj $ \cobj__obj -> -    wxSizerItem_GetSize cobj__obj  -foreign import ccall "wxSizerItem_GetSize" wxSizerItem_GetSize :: Ptr (TSizerItem a) -> IO (Ptr (TWxSize ()))---- | usage: (@sizerItemGetSizer obj@).-sizerItemGetSizer :: SizerItem  a ->  IO (Sizer  ())-sizerItemGetSizer _obj -  = withObjectResult $-    withObjectRef "sizerItemGetSizer" _obj $ \cobj__obj -> -    wxSizerItem_GetSizer cobj__obj  -foreign import ccall "wxSizerItem_GetSizer" wxSizerItem_GetSizer :: Ptr (TSizerItem a) -> IO (Ptr (TSizer ()))---- | usage: (@sizerItemGetSpacer obj@).-sizerItemGetSpacer :: SizerItem  a ->  IO (Size)-sizerItemGetSpacer _obj -  = withWxSizeResult $-    withObjectRef "sizerItemGetSpacer" _obj $ \cobj__obj -> -    wxSizerItem_GetSpacer cobj__obj  -foreign import ccall "wxSizerItem_GetSpacer" wxSizerItem_GetSpacer :: Ptr (TSizerItem a) -> IO (Ptr (TWxSize ()))---- | usage: (@sizerItemGetUserData obj@).-sizerItemGetUserData :: SizerItem  a ->  IO (Ptr  ())-sizerItemGetUserData _obj -  = withObjectRef "sizerItemGetUserData" _obj $ \cobj__obj -> -    wxSizerItem_GetUserData cobj__obj  -foreign import ccall "wxSizerItem_GetUserData" wxSizerItem_GetUserData :: Ptr (TSizerItem a) -> IO (Ptr  ())---- | usage: (@sizerItemGetWindow obj@).-sizerItemGetWindow :: SizerItem  a ->  IO (Window  ())-sizerItemGetWindow _obj -  = withObjectResult $-    withObjectRef "sizerItemGetWindow" _obj $ \cobj__obj -> -    wxSizerItem_GetWindow cobj__obj  -foreign import ccall "wxSizerItem_GetWindow" wxSizerItem_GetWindow :: Ptr (TSizerItem a) -> IO (Ptr (TWindow ()))---- | usage: (@sizerItemIsShown obj@).-sizerItemIsShown :: SizerItem  a ->  IO Bool-sizerItemIsShown _obj -  = withBoolResult $-    withObjectRef "sizerItemIsShown" _obj $ \cobj__obj -> -    wxSizerItem_IsShown cobj__obj  -foreign import ccall "wxSizerItem_IsShown" wxSizerItem_IsShown :: Ptr (TSizerItem a) -> IO CBool---- | usage: (@sizerItemIsSizer obj@).-sizerItemIsSizer :: SizerItem  a ->  IO Bool-sizerItemIsSizer _obj -  = withBoolResult $-    withObjectRef "sizerItemIsSizer" _obj $ \cobj__obj -> -    wxSizerItem_IsSizer cobj__obj  -foreign import ccall "wxSizerItem_IsSizer" wxSizerItem_IsSizer :: Ptr (TSizerItem a) -> IO CBool---- | usage: (@sizerItemIsSpacer obj@).-sizerItemIsSpacer :: SizerItem  a ->  IO Bool-sizerItemIsSpacer _obj -  = withBoolResult $-    withObjectRef "sizerItemIsSpacer" _obj $ \cobj__obj -> -    wxSizerItem_IsSpacer cobj__obj  -foreign import ccall "wxSizerItem_IsSpacer" wxSizerItem_IsSpacer :: Ptr (TSizerItem a) -> IO CBool---- | usage: (@sizerItemIsWindow obj@).-sizerItemIsWindow :: SizerItem  a ->  IO Bool-sizerItemIsWindow _obj -  = withBoolResult $-    withObjectRef "sizerItemIsWindow" _obj $ \cobj__obj -> -    wxSizerItem_IsWindow cobj__obj  -foreign import ccall "wxSizerItem_IsWindow" wxSizerItem_IsWindow :: Ptr (TSizerItem a) -> IO CBool---- | usage: (@sizerItemSetBorder obj border@).-sizerItemSetBorder :: SizerItem  a -> Int ->  IO ()-sizerItemSetBorder _obj border -  = withObjectRef "sizerItemSetBorder" _obj $ \cobj__obj -> -    wxSizerItem_SetBorder cobj__obj  (toCInt border)  -foreign import ccall "wxSizerItem_SetBorder" wxSizerItem_SetBorder :: Ptr (TSizerItem a) -> CInt -> IO ()---- | usage: (@sizerItemSetDimension obj xywh@).-sizerItemSetDimension :: SizerItem  a -> Rect ->  IO ()-sizerItemSetDimension _obj _xywh -  = withObjectRef "sizerItemSetDimension" _obj $ \cobj__obj -> -    wxSizerItem_SetDimension cobj__obj  (toCIntRectX _xywh) (toCIntRectY _xywh)(toCIntRectW _xywh) (toCIntRectH _xywh)  -foreign import ccall "wxSizerItem_SetDimension" wxSizerItem_SetDimension :: Ptr (TSizerItem a) -> CInt -> CInt -> CInt -> CInt -> IO ()---- | usage: (@sizerItemSetFlag obj flag@).-sizerItemSetFlag :: SizerItem  a -> Int ->  IO ()-sizerItemSetFlag _obj flag -  = withObjectRef "sizerItemSetFlag" _obj $ \cobj__obj -> -    wxSizerItem_SetFlag cobj__obj  (toCInt flag)  -foreign import ccall "wxSizerItem_SetFlag" wxSizerItem_SetFlag :: Ptr (TSizerItem a) -> CInt -> IO ()---- | usage: (@sizerItemSetFloatRatio obj ratio@).-sizerItemSetFloatRatio :: SizerItem  a -> Float ->  IO ()-sizerItemSetFloatRatio _obj ratio -  = withObjectRef "sizerItemSetFloatRatio" _obj $ \cobj__obj -> -    wxSizerItem_SetFloatRatio cobj__obj  ratio  -foreign import ccall "wxSizerItem_SetFloatRatio" wxSizerItem_SetFloatRatio :: Ptr (TSizerItem a) -> Float -> IO ()---- | usage: (@sizerItemSetInitSize obj xy@).-sizerItemSetInitSize :: SizerItem  a -> Point ->  IO ()-sizerItemSetInitSize _obj xy -  = withObjectRef "sizerItemSetInitSize" _obj $ \cobj__obj -> -    wxSizerItem_SetInitSize cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  -foreign import ccall "wxSizerItem_SetInitSize" wxSizerItem_SetInitSize :: Ptr (TSizerItem a) -> CInt -> CInt -> IO ()---- | usage: (@sizerItemSetProportion obj proportion@).-sizerItemSetProportion :: SizerItem  a -> Int ->  IO ()-sizerItemSetProportion _obj proportion -  = withObjectRef "sizerItemSetProportion" _obj $ \cobj__obj -> -    wxSizerItem_SetProportion cobj__obj  (toCInt proportion)  -foreign import ccall "wxSizerItem_SetProportion" wxSizerItem_SetProportion :: Ptr (TSizerItem a) -> CInt -> IO ()---- | usage: (@sizerItemSetRatio obj widthheight@).-sizerItemSetRatio :: SizerItem  a -> Size ->  IO ()-sizerItemSetRatio _obj widthheight -  = withObjectRef "sizerItemSetRatio" _obj $ \cobj__obj -> -    wxSizerItem_SetRatio cobj__obj  (toCIntSizeW widthheight) (toCIntSizeH widthheight)  -foreign import ccall "wxSizerItem_SetRatio" wxSizerItem_SetRatio :: Ptr (TSizerItem a) -> CInt -> CInt -> IO ()---- | usage: (@sizerItemSetSizer obj sizer@).-sizerItemSetSizer :: SizerItem  a -> Sizer  b ->  IO ()-sizerItemSetSizer _obj sizer -  = withObjectRef "sizerItemSetSizer" _obj $ \cobj__obj -> -    withObjectPtr sizer $ \cobj_sizer -> -    wxSizerItem_SetSizer cobj__obj  cobj_sizer  -foreign import ccall "wxSizerItem_SetSizer" wxSizerItem_SetSizer :: Ptr (TSizerItem a) -> Ptr (TSizer b) -> IO ()---- | usage: (@sizerItemSetSpacer obj widthheight@).-sizerItemSetSpacer :: SizerItem  a -> Size ->  IO ()-sizerItemSetSpacer _obj widthheight -  = withObjectRef "sizerItemSetSpacer" _obj $ \cobj__obj -> -    wxSizerItem_SetSpacer cobj__obj  (toCIntSizeW widthheight) (toCIntSizeH widthheight)  -foreign import ccall "wxSizerItem_SetSpacer" wxSizerItem_SetSpacer :: Ptr (TSizerItem a) -> CInt -> CInt -> IO ()---- | usage: (@sizerItemSetWindow obj window@).-sizerItemSetWindow :: SizerItem  a -> Window  b ->  IO ()-sizerItemSetWindow _obj window -  = withObjectRef "sizerItemSetWindow" _obj $ \cobj__obj -> -    withObjectPtr window $ \cobj_window -> -    wxSizerItem_SetWindow cobj__obj  cobj_window  -foreign import ccall "wxSizerItem_SetWindow" wxSizerItem_SetWindow :: Ptr (TSizerItem a) -> Ptr (TWindow b) -> IO ()---- | usage: (@sizerItemShow obj show@).-sizerItemShow :: SizerItem  a -> Int ->  IO ()-sizerItemShow _obj show -  = withObjectRef "sizerItemShow" _obj $ \cobj__obj -> -    wxSizerItem_Show cobj__obj  (toCInt show)  -foreign import ccall "wxSizerItem_Show" wxSizerItem_Show :: Ptr (TSizerItem a) -> CInt -> IO ()---- | usage: (@sizerLayout obj@).-sizerLayout :: Sizer  a ->  IO ()-sizerLayout _obj -  = withObjectRef "sizerLayout" _obj $ \cobj__obj -> -    wxSizer_Layout cobj__obj  -foreign import ccall "wxSizer_Layout" wxSizer_Layout :: Ptr (TSizer a) -> IO ()---- | usage: (@sizerPrepend obj widthheight option flag border userData@).-sizerPrepend :: Sizer  a -> Size -> Int -> Int -> Int -> Ptr  f ->  IO ()-sizerPrepend _obj widthheight option flag border userData -  = withObjectRef "sizerPrepend" _obj $ \cobj__obj -> -    wxSizer_Prepend cobj__obj  (toCIntSizeW widthheight) (toCIntSizeH widthheight)  (toCInt option)  (toCInt flag)  (toCInt border)  userData  -foreign import ccall "wxSizer_Prepend" wxSizer_Prepend :: Ptr (TSizer a) -> CInt -> CInt -> CInt -> CInt -> CInt -> Ptr  f -> IO ()---- | usage: (@sizerPrependSizer obj sizer option flag border userData@).-sizerPrependSizer :: Sizer  a -> Sizer  b -> Int -> Int -> Int -> Ptr  f ->  IO ()-sizerPrependSizer _obj sizer option flag border userData -  = withObjectRef "sizerPrependSizer" _obj $ \cobj__obj -> -    withObjectPtr sizer $ \cobj_sizer -> -    wxSizer_PrependSizer cobj__obj  cobj_sizer  (toCInt option)  (toCInt flag)  (toCInt border)  userData  -foreign import ccall "wxSizer_PrependSizer" wxSizer_PrependSizer :: Ptr (TSizer a) -> Ptr (TSizer b) -> CInt -> CInt -> CInt -> Ptr  f -> IO ()---- | usage: (@sizerPrependSpacer obj size@).-sizerPrependSpacer :: Sizer  a -> Int ->  IO (SizerItem  ())-sizerPrependSpacer _obj size -  = withObjectResult $-    withObjectRef "sizerPrependSpacer" _obj $ \cobj__obj -> -    wxSizer_PrependSpacer cobj__obj  (toCInt size)  -foreign import ccall "wxSizer_PrependSpacer" wxSizer_PrependSpacer :: Ptr (TSizer a) -> CInt -> IO (Ptr (TSizerItem ()))---- | usage: (@sizerPrependStretchSpacer obj prop@).-sizerPrependStretchSpacer :: Sizer  a -> Int ->  IO (SizerItem  ())-sizerPrependStretchSpacer _obj prop -  = withObjectResult $-    withObjectRef "sizerPrependStretchSpacer" _obj $ \cobj__obj -> -    wxSizer_PrependStretchSpacer cobj__obj  (toCInt prop)  -foreign import ccall "wxSizer_PrependStretchSpacer" wxSizer_PrependStretchSpacer :: Ptr (TSizer a) -> CInt -> IO (Ptr (TSizerItem ()))---- | usage: (@sizerPrependWindow obj window option flag border userData@).-sizerPrependWindow :: Sizer  a -> Window  b -> Int -> Int -> Int -> Ptr  f ->  IO ()-sizerPrependWindow _obj window option flag border userData -  = withObjectRef "sizerPrependWindow" _obj $ \cobj__obj -> -    withObjectPtr window $ \cobj_window -> -    wxSizer_PrependWindow cobj__obj  cobj_window  (toCInt option)  (toCInt flag)  (toCInt border)  userData  -foreign import ccall "wxSizer_PrependWindow" wxSizer_PrependWindow :: Ptr (TSizer a) -> Ptr (TWindow b) -> CInt -> CInt -> CInt -> Ptr  f -> IO ()---- | usage: (@sizerRecalcSizes obj@).-sizerRecalcSizes :: Sizer  a ->  IO ()-sizerRecalcSizes _obj -  = withObjectRef "sizerRecalcSizes" _obj $ \cobj__obj -> -    wxSizer_RecalcSizes cobj__obj  -foreign import ccall "wxSizer_RecalcSizes" wxSizer_RecalcSizes :: Ptr (TSizer a) -> IO ()---- | usage: (@sizerReplace obj oldindex newitem@).-sizerReplace :: Sizer  a -> Int -> SizerItem  c ->  IO Bool-sizerReplace _obj oldindex newitem -  = withBoolResult $-    withObjectRef "sizerReplace" _obj $ \cobj__obj -> -    withObjectPtr newitem $ \cobj_newitem -> -    wxSizer_Replace cobj__obj  (toCInt oldindex)  cobj_newitem  -foreign import ccall "wxSizer_Replace" wxSizer_Replace :: Ptr (TSizer a) -> CInt -> Ptr (TSizerItem c) -> IO CBool---- | usage: (@sizerReplaceSizer obj oldsz newsz recursive@).-sizerReplaceSizer :: Sizer  a -> Sizer  b -> Sizer  c -> Bool ->  IO Bool-sizerReplaceSizer _obj oldsz newsz recursive -  = withBoolResult $-    withObjectRef "sizerReplaceSizer" _obj $ \cobj__obj -> -    withObjectPtr oldsz $ \cobj_oldsz -> -    withObjectPtr newsz $ \cobj_newsz -> -    wxSizer_ReplaceSizer cobj__obj  cobj_oldsz  cobj_newsz  (toCBool recursive)  -foreign import ccall "wxSizer_ReplaceSizer" wxSizer_ReplaceSizer :: Ptr (TSizer a) -> Ptr (TSizer b) -> Ptr (TSizer c) -> CBool -> IO CBool---- | usage: (@sizerReplaceWindow obj oldwin newwin recursive@).-sizerReplaceWindow :: Sizer  a -> Window  b -> Window  c -> Bool ->  IO Bool-sizerReplaceWindow _obj oldwin newwin recursive -  = withBoolResult $-    withObjectRef "sizerReplaceWindow" _obj $ \cobj__obj -> -    withObjectPtr oldwin $ \cobj_oldwin -> -    withObjectPtr newwin $ \cobj_newwin -> -    wxSizer_ReplaceWindow cobj__obj  cobj_oldwin  cobj_newwin  (toCBool recursive)  -foreign import ccall "wxSizer_ReplaceWindow" wxSizer_ReplaceWindow :: Ptr (TSizer a) -> Ptr (TWindow b) -> Ptr (TWindow c) -> CBool -> IO CBool---- | usage: (@sizerSetDimension obj xywidthheight@).-sizerSetDimension :: Sizer  a -> Rect ->  IO ()-sizerSetDimension _obj xywidthheight -  = withObjectRef "sizerSetDimension" _obj $ \cobj__obj -> -    wxSizer_SetDimension cobj__obj  (toCIntRectX xywidthheight) (toCIntRectY xywidthheight)(toCIntRectW xywidthheight) (toCIntRectH xywidthheight)  -foreign import ccall "wxSizer_SetDimension" wxSizer_SetDimension :: Ptr (TSizer a) -> CInt -> CInt -> CInt -> CInt -> IO ()---- | usage: (@sizerSetItemMinSize obj pos widthheight@).-sizerSetItemMinSize :: Sizer  a -> Int -> Size ->  IO ()-sizerSetItemMinSize _obj pos widthheight -  = withObjectRef "sizerSetItemMinSize" _obj $ \cobj__obj -> -    wxSizer_SetItemMinSize cobj__obj  (toCInt pos)  (toCIntSizeW widthheight) (toCIntSizeH widthheight)  -foreign import ccall "wxSizer_SetItemMinSize" wxSizer_SetItemMinSize :: Ptr (TSizer a) -> CInt -> CInt -> CInt -> IO ()---- | usage: (@sizerSetItemMinSizeSizer obj sizer widthheight@).-sizerSetItemMinSizeSizer :: Sizer  a -> Sizer  b -> Size ->  IO ()-sizerSetItemMinSizeSizer _obj sizer widthheight -  = withObjectRef "sizerSetItemMinSizeSizer" _obj $ \cobj__obj -> -    withObjectPtr sizer $ \cobj_sizer -> -    wxSizer_SetItemMinSizeSizer cobj__obj  cobj_sizer  (toCIntSizeW widthheight) (toCIntSizeH widthheight)  -foreign import ccall "wxSizer_SetItemMinSizeSizer" wxSizer_SetItemMinSizeSizer :: Ptr (TSizer a) -> Ptr (TSizer b) -> CInt -> CInt -> IO ()---- | usage: (@sizerSetItemMinSizeWindow obj window widthheight@).-sizerSetItemMinSizeWindow :: Sizer  a -> Window  b -> Size ->  IO ()-sizerSetItemMinSizeWindow _obj window widthheight -  = withObjectRef "sizerSetItemMinSizeWindow" _obj $ \cobj__obj -> -    withObjectPtr window $ \cobj_window -> -    wxSizer_SetItemMinSizeWindow cobj__obj  cobj_window  (toCIntSizeW widthheight) (toCIntSizeH widthheight)  -foreign import ccall "wxSizer_SetItemMinSizeWindow" wxSizer_SetItemMinSizeWindow :: Ptr (TSizer a) -> Ptr (TWindow b) -> CInt -> CInt -> IO ()---- | usage: (@sizerSetMinSize obj widthheight@).-sizerSetMinSize :: Sizer  a -> Size ->  IO ()-sizerSetMinSize _obj widthheight -  = withObjectRef "sizerSetMinSize" _obj $ \cobj__obj -> -    wxSizer_SetMinSize cobj__obj  (toCIntSizeW widthheight) (toCIntSizeH widthheight)  -foreign import ccall "wxSizer_SetMinSize" wxSizer_SetMinSize :: Ptr (TSizer a) -> CInt -> CInt -> IO ()---- | usage: (@sizerSetSizeHints obj window@).-sizerSetSizeHints :: Sizer  a -> Window  b ->  IO ()-sizerSetSizeHints _obj window -  = withObjectRef "sizerSetSizeHints" _obj $ \cobj__obj -> -    withObjectPtr window $ \cobj_window -> -    wxSizer_SetSizeHints cobj__obj  cobj_window  -foreign import ccall "wxSizer_SetSizeHints" wxSizer_SetSizeHints :: Ptr (TSizer a) -> Ptr (TWindow b) -> IO ()---- | usage: (@sizerSetVirtualSizeHints obj window@).-sizerSetVirtualSizeHints :: Sizer  a -> Window  b ->  IO ()-sizerSetVirtualSizeHints _obj window -  = withObjectRef "sizerSetVirtualSizeHints" _obj $ \cobj__obj -> -    withObjectPtr window $ \cobj_window -> -    wxSizer_SetVirtualSizeHints cobj__obj  cobj_window  -foreign import ccall "wxSizer_SetVirtualSizeHints" wxSizer_SetVirtualSizeHints :: Ptr (TSizer a) -> Ptr (TWindow b) -> IO ()---- | usage: (@sizerShow obj sizer index show@).-sizerShow :: Sizer  a -> Sizer  b -> Int -> Bool ->  IO Bool-sizerShow _obj sizer index show -  = withBoolResult $-    withObjectRef "sizerShow" _obj $ \cobj__obj -> -    withObjectPtr sizer $ \cobj_sizer -> -    wxSizer_Show cobj__obj  cobj_sizer  (toCInt index)  (toCBool show)  -foreign import ccall "wxSizer_Show" wxSizer_Show :: Ptr (TSizer a) -> Ptr (TSizer b) -> CInt -> CBool -> IO CBool---- | usage: (@sizerShowSizer obj sizer show recursive@).-sizerShowSizer :: Sizer  a -> Sizer  b -> Bool -> Bool ->  IO Bool-sizerShowSizer _obj sizer show recursive -  = withBoolResult $-    withObjectRef "sizerShowSizer" _obj $ \cobj__obj -> -    withObjectPtr sizer $ \cobj_sizer -> -    wxSizer_ShowSizer cobj__obj  cobj_sizer  (toCBool show)  (toCBool recursive)  -foreign import ccall "wxSizer_ShowSizer" wxSizer_ShowSizer :: Ptr (TSizer a) -> Ptr (TSizer b) -> CBool -> CBool -> IO CBool---- | usage: (@sizerShowWindow obj window show recursive@).-sizerShowWindow :: Sizer  a -> Window  b -> Bool -> Bool ->  IO Bool-sizerShowWindow _obj window show recursive -  = withBoolResult $-    withObjectRef "sizerShowWindow" _obj $ \cobj__obj -> -    withObjectPtr window $ \cobj_window -> -    wxSizer_ShowWindow cobj__obj  cobj_window  (toCBool show)  (toCBool recursive)  -foreign import ccall "wxSizer_ShowWindow" wxSizer_ShowWindow :: Ptr (TSizer a) -> Ptr (TWindow b) -> CBool -> CBool -> IO CBool---- | usage: (@sliderClearSel obj@).-sliderClearSel :: Slider  a ->  IO ()-sliderClearSel _obj -  = withObjectRef "sliderClearSel" _obj $ \cobj__obj -> -    wxSlider_ClearSel cobj__obj  -foreign import ccall "wxSlider_ClearSel" wxSlider_ClearSel :: Ptr (TSlider a) -> IO ()---- | usage: (@sliderClearTicks obj@).-sliderClearTicks :: Slider  a ->  IO ()-sliderClearTicks _obj -  = withObjectRef "sliderClearTicks" _obj $ \cobj__obj -> -    wxSlider_ClearTicks cobj__obj  -foreign import ccall "wxSlider_ClearTicks" wxSlider_ClearTicks :: Ptr (TSlider a) -> IO ()---- | usage: (@sliderCreate prt id wxinit min max lfttopwdthgt stl@).-sliderCreate :: Window  a -> Id -> Int -> Int -> Int -> Rect -> Style ->  IO (Slider  ())-sliderCreate _prt _id _init _min _max _lfttopwdthgt _stl -  = withObjectResult $-    withObjectPtr _prt $ \cobj__prt -> -    wxSlider_Create cobj__prt  (toCInt _id)  (toCInt _init)  (toCInt _min)  (toCInt _max)  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  (toCInt _stl)  -foreign import ccall "wxSlider_Create" wxSlider_Create :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TSlider ()))---- | usage: (@sliderGetLineSize obj@).-sliderGetLineSize :: Slider  a ->  IO Int-sliderGetLineSize _obj -  = withIntResult $-    withObjectRef "sliderGetLineSize" _obj $ \cobj__obj -> -    wxSlider_GetLineSize cobj__obj  -foreign import ccall "wxSlider_GetLineSize" wxSlider_GetLineSize :: Ptr (TSlider a) -> IO CInt---- | usage: (@sliderGetMax obj@).-sliderGetMax :: Slider  a ->  IO Int-sliderGetMax _obj -  = withIntResult $-    withObjectRef "sliderGetMax" _obj $ \cobj__obj -> -    wxSlider_GetMax cobj__obj  -foreign import ccall "wxSlider_GetMax" wxSlider_GetMax :: Ptr (TSlider a) -> IO CInt---- | usage: (@sliderGetMin obj@).-sliderGetMin :: Slider  a ->  IO Int-sliderGetMin _obj -  = withIntResult $-    withObjectRef "sliderGetMin" _obj $ \cobj__obj -> -    wxSlider_GetMin cobj__obj  -foreign import ccall "wxSlider_GetMin" wxSlider_GetMin :: Ptr (TSlider a) -> IO CInt---- | usage: (@sliderGetPageSize obj@).-sliderGetPageSize :: Slider  a ->  IO Int-sliderGetPageSize _obj -  = withIntResult $-    withObjectRef "sliderGetPageSize" _obj $ \cobj__obj -> -    wxSlider_GetPageSize cobj__obj  -foreign import ccall "wxSlider_GetPageSize" wxSlider_GetPageSize :: Ptr (TSlider a) -> IO CInt---- | usage: (@sliderGetSelEnd obj@).-sliderGetSelEnd :: Slider  a ->  IO Int-sliderGetSelEnd _obj -  = withIntResult $-    withObjectRef "sliderGetSelEnd" _obj $ \cobj__obj -> -    wxSlider_GetSelEnd cobj__obj  -foreign import ccall "wxSlider_GetSelEnd" wxSlider_GetSelEnd :: Ptr (TSlider a) -> IO CInt---- | usage: (@sliderGetSelStart obj@).-sliderGetSelStart :: Slider  a ->  IO Int-sliderGetSelStart _obj -  = withIntResult $-    withObjectRef "sliderGetSelStart" _obj $ \cobj__obj -> -    wxSlider_GetSelStart cobj__obj  -foreign import ccall "wxSlider_GetSelStart" wxSlider_GetSelStart :: Ptr (TSlider a) -> IO CInt---- | usage: (@sliderGetThumbLength obj@).-sliderGetThumbLength :: Slider  a ->  IO Int-sliderGetThumbLength _obj -  = withIntResult $-    withObjectRef "sliderGetThumbLength" _obj $ \cobj__obj -> -    wxSlider_GetThumbLength cobj__obj  -foreign import ccall "wxSlider_GetThumbLength" wxSlider_GetThumbLength :: Ptr (TSlider a) -> IO CInt---- | usage: (@sliderGetTickFreq obj@).-sliderGetTickFreq :: Slider  a ->  IO Int-sliderGetTickFreq _obj -  = withIntResult $-    withObjectRef "sliderGetTickFreq" _obj $ \cobj__obj -> -    wxSlider_GetTickFreq cobj__obj  -foreign import ccall "wxSlider_GetTickFreq" wxSlider_GetTickFreq :: Ptr (TSlider a) -> IO CInt---- | usage: (@sliderGetValue obj@).-sliderGetValue :: Slider  a ->  IO Int-sliderGetValue _obj -  = withIntResult $-    withObjectRef "sliderGetValue" _obj $ \cobj__obj -> -    wxSlider_GetValue cobj__obj  -foreign import ccall "wxSlider_GetValue" wxSlider_GetValue :: Ptr (TSlider a) -> IO CInt---- | usage: (@sliderSetLineSize obj lineSize@).-sliderSetLineSize :: Slider  a -> Int ->  IO ()-sliderSetLineSize _obj lineSize -  = withObjectRef "sliderSetLineSize" _obj $ \cobj__obj -> -    wxSlider_SetLineSize cobj__obj  (toCInt lineSize)  -foreign import ccall "wxSlider_SetLineSize" wxSlider_SetLineSize :: Ptr (TSlider a) -> CInt -> IO ()---- | usage: (@sliderSetPageSize obj pageSize@).-sliderSetPageSize :: Slider  a -> Int ->  IO ()-sliderSetPageSize _obj pageSize -  = withObjectRef "sliderSetPageSize" _obj $ \cobj__obj -> -    wxSlider_SetPageSize cobj__obj  (toCInt pageSize)  -foreign import ccall "wxSlider_SetPageSize" wxSlider_SetPageSize :: Ptr (TSlider a) -> CInt -> IO ()---- | usage: (@sliderSetRange obj minValue maxValue@).-sliderSetRange :: Slider  a -> Int -> Int ->  IO ()-sliderSetRange _obj minValue maxValue -  = withObjectRef "sliderSetRange" _obj $ \cobj__obj -> -    wxSlider_SetRange cobj__obj  (toCInt minValue)  (toCInt maxValue)  -foreign import ccall "wxSlider_SetRange" wxSlider_SetRange :: Ptr (TSlider a) -> CInt -> CInt -> IO ()---- | usage: (@sliderSetSelection obj minPos maxPos@).-sliderSetSelection :: Slider  a -> Int -> Int ->  IO ()-sliderSetSelection _obj minPos maxPos -  = withObjectRef "sliderSetSelection" _obj $ \cobj__obj -> -    wxSlider_SetSelection cobj__obj  (toCInt minPos)  (toCInt maxPos)  -foreign import ccall "wxSlider_SetSelection" wxSlider_SetSelection :: Ptr (TSlider a) -> CInt -> CInt -> IO ()---- | usage: (@sliderSetThumbLength obj len@).-sliderSetThumbLength :: Slider  a -> Int ->  IO ()-sliderSetThumbLength _obj len -  = withObjectRef "sliderSetThumbLength" _obj $ \cobj__obj -> -    wxSlider_SetThumbLength cobj__obj  (toCInt len)  -foreign import ccall "wxSlider_SetThumbLength" wxSlider_SetThumbLength :: Ptr (TSlider a) -> CInt -> IO ()---- | usage: (@sliderSetTick obj tickPos@).-sliderSetTick :: Slider  a -> Int ->  IO ()-sliderSetTick _obj tickPos -  = withObjectRef "sliderSetTick" _obj $ \cobj__obj -> -    wxSlider_SetTick cobj__obj  (toCInt tickPos)  -foreign import ccall "wxSlider_SetTick" wxSlider_SetTick :: Ptr (TSlider a) -> CInt -> IO ()---- | usage: (@sliderSetTickFreq obj n pos@).-sliderSetTickFreq :: Slider  a -> Int -> Int ->  IO ()-sliderSetTickFreq _obj n pos -  = withObjectRef "sliderSetTickFreq" _obj $ \cobj__obj -> -    wxSlider_SetTickFreq cobj__obj  (toCInt n)  (toCInt pos)  -foreign import ccall "wxSlider_SetTickFreq" wxSlider_SetTickFreq :: Ptr (TSlider a) -> CInt -> CInt -> IO ()---- | usage: (@sliderSetValue obj value@).-sliderSetValue :: Slider  a -> Int ->  IO ()-sliderSetValue _obj value -  = withObjectRef "sliderSetValue" _obj $ \cobj__obj -> -    wxSlider_SetValue cobj__obj  (toCInt value)  -foreign import ccall "wxSlider_SetValue" wxSlider_SetValue :: Ptr (TSlider a) -> CInt -> IO ()--{- |  Usage: @soundCreate fileName isResource@. As yet (Nov 2003) unsupported on MacOS X * -}-soundCreate :: String -> Bool ->  IO (Sound  ())-soundCreate fileName isResource -  = withManagedObjectResult $-    withStringPtr fileName $ \cobj_fileName -> -    wxSound_Create cobj_fileName  (toCBool isResource)  -foreign import ccall "wxSound_Create" wxSound_Create :: Ptr (TWxString a) -> CBool -> IO (Ptr (TSound ()))---- | usage: (@soundDelete self@).-soundDelete :: Sound  a ->  IO ()-soundDelete-  = objectDelete----- | usage: (@soundIsOk self@).-soundIsOk :: Sound  a ->  IO Bool-soundIsOk self -  = withBoolResult $-    withObjectRef "soundIsOk" self $ \cobj_self -> -    wxSound_IsOk cobj_self  -foreign import ccall "wxSound_IsOk" wxSound_IsOk :: Ptr (TSound a) -> IO CBool---- | usage: (@soundPlay self flag@).-soundPlay :: Sound  a -> Int ->  IO Bool-soundPlay self flag -  = withBoolResult $-    withObjectRef "soundPlay" self $ \cobj_self -> -    wxSound_Play cobj_self  (toCInt flag)  -foreign import ccall "wxSound_Play" wxSound_Play :: Ptr (TSound a) -> CInt -> IO CBool---- | usage: (@soundStop self@).-soundStop :: Sound  a ->  IO ()-soundStop self -  = withObjectRef "soundStop" self $ \cobj_self -> -    wxSound_Stop cobj_self  -foreign import ccall "wxSound_Stop" wxSound_Stop :: Ptr (TSound a) -> IO ()---- | usage: (@spinButtonCreate prt id lfttopwdthgt stl@).-spinButtonCreate :: Window  a -> Id -> Rect -> Style ->  IO (SpinButton  ())-spinButtonCreate _prt _id _lfttopwdthgt _stl -  = withObjectResult $-    withObjectPtr _prt $ \cobj__prt -> -    wxSpinButton_Create cobj__prt  (toCInt _id)  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  (toCInt _stl)  -foreign import ccall "wxSpinButton_Create" wxSpinButton_Create :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TSpinButton ()))---- | usage: (@spinButtonGetMax obj@).-spinButtonGetMax :: SpinButton  a ->  IO Int-spinButtonGetMax _obj -  = withIntResult $-    withObjectRef "spinButtonGetMax" _obj $ \cobj__obj -> -    wxSpinButton_GetMax cobj__obj  -foreign import ccall "wxSpinButton_GetMax" wxSpinButton_GetMax :: Ptr (TSpinButton a) -> IO CInt---- | usage: (@spinButtonGetMin obj@).-spinButtonGetMin :: SpinButton  a ->  IO Int-spinButtonGetMin _obj -  = withIntResult $-    withObjectRef "spinButtonGetMin" _obj $ \cobj__obj -> -    wxSpinButton_GetMin cobj__obj  -foreign import ccall "wxSpinButton_GetMin" wxSpinButton_GetMin :: Ptr (TSpinButton a) -> IO CInt---- | usage: (@spinButtonGetValue obj@).-spinButtonGetValue :: SpinButton  a ->  IO Int-spinButtonGetValue _obj -  = withIntResult $-    withObjectRef "spinButtonGetValue" _obj $ \cobj__obj -> -    wxSpinButton_GetValue cobj__obj  -foreign import ccall "wxSpinButton_GetValue" wxSpinButton_GetValue :: Ptr (TSpinButton a) -> IO CInt---- | usage: (@spinButtonSetRange obj minVal maxVal@).-spinButtonSetRange :: SpinButton  a -> Int -> Int ->  IO ()-spinButtonSetRange _obj minVal maxVal -  = withObjectRef "spinButtonSetRange" _obj $ \cobj__obj -> -    wxSpinButton_SetRange cobj__obj  (toCInt minVal)  (toCInt maxVal)  -foreign import ccall "wxSpinButton_SetRange" wxSpinButton_SetRange :: Ptr (TSpinButton a) -> CInt -> CInt -> IO ()---- | usage: (@spinButtonSetValue obj val@).-spinButtonSetValue :: SpinButton  a -> Int ->  IO ()-spinButtonSetValue _obj val -  = withObjectRef "spinButtonSetValue" _obj $ \cobj__obj -> -    wxSpinButton_SetValue cobj__obj  (toCInt val)  -foreign import ccall "wxSpinButton_SetValue" wxSpinButton_SetValue :: Ptr (TSpinButton a) -> CInt -> IO ()---- | usage: (@spinCtrlCreate prt id txt lfttopwdthgt stl min max wxinit@).-spinCtrlCreate :: Window  a -> Id -> String -> Rect -> Style -> Int -> Int -> Int ->  IO (SpinCtrl  ())-spinCtrlCreate _prt _id _txt _lfttopwdthgt _stl _min _max _init -  = withObjectResult $-    withObjectPtr _prt $ \cobj__prt -> -    withStringPtr _txt $ \cobj__txt -> -    wxSpinCtrl_Create cobj__prt  (toCInt _id)  cobj__txt  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  (toCInt _stl)  (toCInt _min)  (toCInt _max)  (toCInt _init)  -foreign import ccall "wxSpinCtrl_Create" wxSpinCtrl_Create :: Ptr (TWindow a) -> CInt -> Ptr (TWxString c) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TSpinCtrl ()))---- | usage: (@spinCtrlGetMax obj@).-spinCtrlGetMax :: SpinCtrl  a ->  IO Int-spinCtrlGetMax _obj -  = withIntResult $-    withObjectRef "spinCtrlGetMax" _obj $ \cobj__obj -> -    wxSpinCtrl_GetMax cobj__obj  -foreign import ccall "wxSpinCtrl_GetMax" wxSpinCtrl_GetMax :: Ptr (TSpinCtrl a) -> IO CInt---- | usage: (@spinCtrlGetMin obj@).-spinCtrlGetMin :: SpinCtrl  a ->  IO Int-spinCtrlGetMin _obj -  = withIntResult $-    withObjectRef "spinCtrlGetMin" _obj $ \cobj__obj -> -    wxSpinCtrl_GetMin cobj__obj  -foreign import ccall "wxSpinCtrl_GetMin" wxSpinCtrl_GetMin :: Ptr (TSpinCtrl a) -> IO CInt---- | usage: (@spinCtrlGetValue obj@).-spinCtrlGetValue :: SpinCtrl  a ->  IO Int-spinCtrlGetValue _obj -  = withIntResult $-    withObjectRef "spinCtrlGetValue" _obj $ \cobj__obj -> -    wxSpinCtrl_GetValue cobj__obj  -foreign import ccall "wxSpinCtrl_GetValue" wxSpinCtrl_GetValue :: Ptr (TSpinCtrl a) -> IO CInt---- | usage: (@spinCtrlSetRange obj minval maxval@).-spinCtrlSetRange :: SpinCtrl  a -> Int -> Int ->  IO ()-spinCtrlSetRange _obj minval maxval -  = withObjectRef "spinCtrlSetRange" _obj $ \cobj__obj -> -    wxSpinCtrl_SetRange cobj__obj  (toCInt minval)  (toCInt maxval)  -foreign import ccall "wxSpinCtrl_SetRange" wxSpinCtrl_SetRange :: Ptr (TSpinCtrl a) -> CInt -> CInt -> IO ()---- | usage: (@spinCtrlSetValue obj val@).-spinCtrlSetValue :: SpinCtrl  a -> Int ->  IO ()-spinCtrlSetValue _obj val -  = withObjectRef "spinCtrlSetValue" _obj $ \cobj__obj -> -    wxSpinCtrl_SetValue cobj__obj  (toCInt val)  -foreign import ccall "wxSpinCtrl_SetValue" wxSpinCtrl_SetValue :: Ptr (TSpinCtrl a) -> CInt -> IO ()---- | usage: (@spinEventGetPosition obj@).-spinEventGetPosition :: SpinEvent  a ->  IO Int-spinEventGetPosition _obj -  = withIntResult $-    withObjectRef "spinEventGetPosition" _obj $ \cobj__obj -> -    wxSpinEvent_GetPosition cobj__obj  -foreign import ccall "wxSpinEvent_GetPosition" wxSpinEvent_GetPosition :: Ptr (TSpinEvent a) -> IO CInt---- | usage: (@spinEventSetPosition obj pos@).-spinEventSetPosition :: SpinEvent  a -> Int ->  IO ()-spinEventSetPosition _obj pos -  = withObjectRef "spinEventSetPosition" _obj $ \cobj__obj -> -    wxSpinEvent_SetPosition cobj__obj  (toCInt pos)  -foreign import ccall "wxSpinEvent_SetPosition" wxSpinEvent_SetPosition :: Ptr (TSpinEvent a) -> CInt -> IO ()---- | usage: (@splitterWindowCreate prt id lfttopwdthgt stl@).-splitterWindowCreate :: Window  a -> Id -> Rect -> Style ->  IO (SplitterWindow  ())-splitterWindowCreate _prt _id _lfttopwdthgt _stl -  = withObjectResult $-    withObjectPtr _prt $ \cobj__prt -> -    wxSplitterWindow_Create cobj__prt  (toCInt _id)  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  (toCInt _stl)  -foreign import ccall "wxSplitterWindow_Create" wxSplitterWindow_Create :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TSplitterWindow ()))---- | usage: (@splitterWindowGetBorderSize obj@).-splitterWindowGetBorderSize :: SplitterWindow  a ->  IO Int-splitterWindowGetBorderSize _obj -  = withIntResult $-    withObjectRef "splitterWindowGetBorderSize" _obj $ \cobj__obj -> -    wxSplitterWindow_GetBorderSize cobj__obj  -foreign import ccall "wxSplitterWindow_GetBorderSize" wxSplitterWindow_GetBorderSize :: Ptr (TSplitterWindow a) -> IO CInt---- | usage: (@splitterWindowGetMinimumPaneSize obj@).-splitterWindowGetMinimumPaneSize :: SplitterWindow  a ->  IO Int-splitterWindowGetMinimumPaneSize _obj -  = withIntResult $-    withObjectRef "splitterWindowGetMinimumPaneSize" _obj $ \cobj__obj -> -    wxSplitterWindow_GetMinimumPaneSize cobj__obj  -foreign import ccall "wxSplitterWindow_GetMinimumPaneSize" wxSplitterWindow_GetMinimumPaneSize :: Ptr (TSplitterWindow a) -> IO CInt---- | usage: (@splitterWindowGetSashPosition obj@).-splitterWindowGetSashPosition :: SplitterWindow  a ->  IO Int-splitterWindowGetSashPosition _obj -  = withIntResult $-    withObjectRef "splitterWindowGetSashPosition" _obj $ \cobj__obj -> -    wxSplitterWindow_GetSashPosition cobj__obj  -foreign import ccall "wxSplitterWindow_GetSashPosition" wxSplitterWindow_GetSashPosition :: Ptr (TSplitterWindow a) -> IO CInt---- | usage: (@splitterWindowGetSashSize obj@).-splitterWindowGetSashSize :: SplitterWindow  a ->  IO Int-splitterWindowGetSashSize _obj -  = withIntResult $-    withObjectRef "splitterWindowGetSashSize" _obj $ \cobj__obj -> -    wxSplitterWindow_GetSashSize cobj__obj  -foreign import ccall "wxSplitterWindow_GetSashSize" wxSplitterWindow_GetSashSize :: Ptr (TSplitterWindow a) -> IO CInt---- | usage: (@splitterWindowGetSplitMode obj@).-splitterWindowGetSplitMode :: SplitterWindow  a ->  IO Int-splitterWindowGetSplitMode _obj -  = withIntResult $-    withObjectRef "splitterWindowGetSplitMode" _obj $ \cobj__obj -> -    wxSplitterWindow_GetSplitMode cobj__obj  -foreign import ccall "wxSplitterWindow_GetSplitMode" wxSplitterWindow_GetSplitMode :: Ptr (TSplitterWindow a) -> IO CInt---- | usage: (@splitterWindowGetWindow1 obj@).-splitterWindowGetWindow1 :: SplitterWindow  a ->  IO (Window  ())-splitterWindowGetWindow1 _obj -  = withObjectResult $-    withObjectRef "splitterWindowGetWindow1" _obj $ \cobj__obj -> -    wxSplitterWindow_GetWindow1 cobj__obj  -foreign import ccall "wxSplitterWindow_GetWindow1" wxSplitterWindow_GetWindow1 :: Ptr (TSplitterWindow a) -> IO (Ptr (TWindow ()))---- | usage: (@splitterWindowGetWindow2 obj@).-splitterWindowGetWindow2 :: SplitterWindow  a ->  IO (Window  ())-splitterWindowGetWindow2 _obj -  = withObjectResult $-    withObjectRef "splitterWindowGetWindow2" _obj $ \cobj__obj -> -    wxSplitterWindow_GetWindow2 cobj__obj  -foreign import ccall "wxSplitterWindow_GetWindow2" wxSplitterWindow_GetWindow2 :: Ptr (TSplitterWindow a) -> IO (Ptr (TWindow ()))---- | usage: (@splitterWindowInitialize obj window@).-splitterWindowInitialize :: SplitterWindow  a -> Window  b ->  IO ()-splitterWindowInitialize _obj window -  = withObjectRef "splitterWindowInitialize" _obj $ \cobj__obj -> -    withObjectPtr window $ \cobj_window -> -    wxSplitterWindow_Initialize cobj__obj  cobj_window  -foreign import ccall "wxSplitterWindow_Initialize" wxSplitterWindow_Initialize :: Ptr (TSplitterWindow a) -> Ptr (TWindow b) -> IO ()---- | usage: (@splitterWindowIsSplit obj@).-splitterWindowIsSplit :: SplitterWindow  a ->  IO Bool-splitterWindowIsSplit _obj -  = withBoolResult $-    withObjectRef "splitterWindowIsSplit" _obj $ \cobj__obj -> -    wxSplitterWindow_IsSplit cobj__obj  -foreign import ccall "wxSplitterWindow_IsSplit" wxSplitterWindow_IsSplit :: Ptr (TSplitterWindow a) -> IO CBool---- | usage: (@splitterWindowReplaceWindow obj winOld winNew@).-splitterWindowReplaceWindow :: SplitterWindow  a -> Window  b -> Window  c ->  IO Bool-splitterWindowReplaceWindow _obj winOld winNew -  = withBoolResult $-    withObjectRef "splitterWindowReplaceWindow" _obj $ \cobj__obj -> -    withObjectPtr winOld $ \cobj_winOld -> -    withObjectPtr winNew $ \cobj_winNew -> -    wxSplitterWindow_ReplaceWindow cobj__obj  cobj_winOld  cobj_winNew  -foreign import ccall "wxSplitterWindow_ReplaceWindow" wxSplitterWindow_ReplaceWindow :: Ptr (TSplitterWindow a) -> Ptr (TWindow b) -> Ptr (TWindow c) -> IO CBool---- | usage: (@splitterWindowSetBorderSize obj width@).-splitterWindowSetBorderSize :: SplitterWindow  a -> Int ->  IO ()-splitterWindowSetBorderSize _obj width -  = withObjectRef "splitterWindowSetBorderSize" _obj $ \cobj__obj -> -    wxSplitterWindow_SetBorderSize cobj__obj  (toCInt width)  -foreign import ccall "wxSplitterWindow_SetBorderSize" wxSplitterWindow_SetBorderSize :: Ptr (TSplitterWindow a) -> CInt -> IO ()---- | usage: (@splitterWindowSetMinimumPaneSize obj min@).-splitterWindowSetMinimumPaneSize :: SplitterWindow  a -> Int ->  IO ()-splitterWindowSetMinimumPaneSize _obj min -  = withObjectRef "splitterWindowSetMinimumPaneSize" _obj $ \cobj__obj -> -    wxSplitterWindow_SetMinimumPaneSize cobj__obj  (toCInt min)  -foreign import ccall "wxSplitterWindow_SetMinimumPaneSize" wxSplitterWindow_SetMinimumPaneSize :: Ptr (TSplitterWindow a) -> CInt -> IO ()---- | usage: (@splitterWindowSetSashPosition obj position redraw@).-splitterWindowSetSashPosition :: SplitterWindow  a -> Int -> Bool ->  IO ()-splitterWindowSetSashPosition _obj position redraw -  = withObjectRef "splitterWindowSetSashPosition" _obj $ \cobj__obj -> -    wxSplitterWindow_SetSashPosition cobj__obj  (toCInt position)  (toCBool redraw)  -foreign import ccall "wxSplitterWindow_SetSashPosition" wxSplitterWindow_SetSashPosition :: Ptr (TSplitterWindow a) -> CInt -> CBool -> IO ()---- | usage: (@splitterWindowSetSashSize obj width@).-splitterWindowSetSashSize :: SplitterWindow  a -> Int ->  IO ()-splitterWindowSetSashSize _obj width -  = withObjectRef "splitterWindowSetSashSize" _obj $ \cobj__obj -> -    wxSplitterWindow_SetSashSize cobj__obj  (toCInt width)  -foreign import ccall "wxSplitterWindow_SetSashSize" wxSplitterWindow_SetSashSize :: Ptr (TSplitterWindow a) -> CInt -> IO ()---- | usage: (@splitterWindowSetSplitMode obj mode@).-splitterWindowSetSplitMode :: SplitterWindow  a -> Int ->  IO ()-splitterWindowSetSplitMode _obj mode -  = withObjectRef "splitterWindowSetSplitMode" _obj $ \cobj__obj -> -    wxSplitterWindow_SetSplitMode cobj__obj  (toCInt mode)  -foreign import ccall "wxSplitterWindow_SetSplitMode" wxSplitterWindow_SetSplitMode :: Ptr (TSplitterWindow a) -> CInt -> IO ()---- | usage: (@splitterWindowSplitHorizontally obj window1 window2 sashPosition@).-splitterWindowSplitHorizontally :: SplitterWindow  a -> Window  b -> Window  c -> Int ->  IO Bool-splitterWindowSplitHorizontally _obj window1 window2 sashPosition -  = withBoolResult $-    withObjectRef "splitterWindowSplitHorizontally" _obj $ \cobj__obj -> -    withObjectPtr window1 $ \cobj_window1 -> -    withObjectPtr window2 $ \cobj_window2 -> -    wxSplitterWindow_SplitHorizontally cobj__obj  cobj_window1  cobj_window2  (toCInt sashPosition)  -foreign import ccall "wxSplitterWindow_SplitHorizontally" wxSplitterWindow_SplitHorizontally :: Ptr (TSplitterWindow a) -> Ptr (TWindow b) -> Ptr (TWindow c) -> CInt -> IO CBool---- | usage: (@splitterWindowSplitVertically obj window1 window2 sashPosition@).-splitterWindowSplitVertically :: SplitterWindow  a -> Window  b -> Window  c -> Int ->  IO Bool-splitterWindowSplitVertically _obj window1 window2 sashPosition -  = withBoolResult $-    withObjectRef "splitterWindowSplitVertically" _obj $ \cobj__obj -> -    withObjectPtr window1 $ \cobj_window1 -> -    withObjectPtr window2 $ \cobj_window2 -> -    wxSplitterWindow_SplitVertically cobj__obj  cobj_window1  cobj_window2  (toCInt sashPosition)  -foreign import ccall "wxSplitterWindow_SplitVertically" wxSplitterWindow_SplitVertically :: Ptr (TSplitterWindow a) -> Ptr (TWindow b) -> Ptr (TWindow c) -> CInt -> IO CBool---- | usage: (@splitterWindowUnsplit obj toRemove@).-splitterWindowUnsplit :: SplitterWindow  a -> Window  b ->  IO Bool-splitterWindowUnsplit _obj toRemove -  = withBoolResult $-    withObjectRef "splitterWindowUnsplit" _obj $ \cobj__obj -> -    withObjectPtr toRemove $ \cobj_toRemove -> -    wxSplitterWindow_Unsplit cobj__obj  cobj_toRemove  -foreign import ccall "wxSplitterWindow_Unsplit" wxSplitterWindow_Unsplit :: Ptr (TSplitterWindow a) -> Ptr (TWindow b) -> IO CBool---- | usage: (@staticBitmapCreate prt id bitmap lfttopwdthgt stl@).-staticBitmapCreate :: Window  a -> Id -> Bitmap  c -> Rect -> Style ->  IO (StaticBitmap  ())-staticBitmapCreate _prt _id bitmap _lfttopwdthgt _stl -  = withObjectResult $-    withObjectPtr _prt $ \cobj__prt -> -    withObjectPtr bitmap $ \cobj_bitmap -> -    wxStaticBitmap_Create cobj__prt  (toCInt _id)  cobj_bitmap  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  (toCInt _stl)  -foreign import ccall "wxStaticBitmap_Create" wxStaticBitmap_Create :: Ptr (TWindow a) -> CInt -> Ptr (TBitmap c) -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TStaticBitmap ()))---- | usage: (@staticBitmapDelete obj@).-staticBitmapDelete :: StaticBitmap  a ->  IO ()-staticBitmapDelete-  = objectDelete----- | usage: (@staticBitmapGetBitmap obj@).-staticBitmapGetBitmap :: StaticBitmap  a ->  IO (Bitmap  ())-staticBitmapGetBitmap _obj -  = withRefBitmap $ \pref -> -    withObjectRef "staticBitmapGetBitmap" _obj $ \cobj__obj -> -    wxStaticBitmap_GetBitmap cobj__obj   pref-foreign import ccall "wxStaticBitmap_GetBitmap" wxStaticBitmap_GetBitmap :: Ptr (TStaticBitmap a) -> Ptr (TBitmap ()) -> IO ()---- | usage: (@staticBitmapGetIcon obj@).-staticBitmapGetIcon :: StaticBitmap  a ->  IO (Icon  ())-staticBitmapGetIcon _obj -  = withRefIcon $ \pref -> -    withObjectRef "staticBitmapGetIcon" _obj $ \cobj__obj -> -    wxStaticBitmap_GetIcon cobj__obj   pref-foreign import ccall "wxStaticBitmap_GetIcon" wxStaticBitmap_GetIcon :: Ptr (TStaticBitmap a) -> Ptr (TIcon ()) -> IO ()---- | usage: (@staticBitmapSetBitmap obj bitmap@).-staticBitmapSetBitmap :: StaticBitmap  a -> Bitmap  b ->  IO ()-staticBitmapSetBitmap _obj bitmap -  = withObjectRef "staticBitmapSetBitmap" _obj $ \cobj__obj -> -    withObjectPtr bitmap $ \cobj_bitmap -> -    wxStaticBitmap_SetBitmap cobj__obj  cobj_bitmap  -foreign import ccall "wxStaticBitmap_SetBitmap" wxStaticBitmap_SetBitmap :: Ptr (TStaticBitmap a) -> Ptr (TBitmap b) -> IO ()---- | usage: (@staticBitmapSetIcon obj icon@).-staticBitmapSetIcon :: StaticBitmap  a -> Icon  b ->  IO ()-staticBitmapSetIcon _obj icon -  = withObjectRef "staticBitmapSetIcon" _obj $ \cobj__obj -> -    withObjectPtr icon $ \cobj_icon -> -    wxStaticBitmap_SetIcon cobj__obj  cobj_icon  -foreign import ccall "wxStaticBitmap_SetIcon" wxStaticBitmap_SetIcon :: Ptr (TStaticBitmap a) -> Ptr (TIcon b) -> IO ()---- | usage: (@staticBoxCreate prt id txt lfttopwdthgt stl@).-staticBoxCreate :: Window  a -> Id -> String -> Rect -> Style ->  IO (StaticBox  ())-staticBoxCreate _prt _id _txt _lfttopwdthgt _stl -  = withObjectResult $-    withObjectPtr _prt $ \cobj__prt -> -    withStringPtr _txt $ \cobj__txt -> -    wxStaticBox_Create cobj__prt  (toCInt _id)  cobj__txt  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  (toCInt _stl)  -foreign import ccall "wxStaticBox_Create" wxStaticBox_Create :: Ptr (TWindow a) -> CInt -> Ptr (TWxString c) -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TStaticBox ()))---- | usage: (@staticBoxSizerCalcMin obj@).-staticBoxSizerCalcMin :: StaticBoxSizer  a ->  IO (Size)-staticBoxSizerCalcMin _obj -  = withWxSizeResult $-    withObjectRef "staticBoxSizerCalcMin" _obj $ \cobj__obj -> -    wxStaticBoxSizer_CalcMin cobj__obj  -foreign import ccall "wxStaticBoxSizer_CalcMin" wxStaticBoxSizer_CalcMin :: Ptr (TStaticBoxSizer a) -> IO (Ptr (TWxSize ()))---- | usage: (@staticBoxSizerCreate box orient@).-staticBoxSizerCreate :: StaticBox  a -> Int ->  IO (StaticBoxSizer  ())-staticBoxSizerCreate box orient -  = withObjectResult $-    withObjectPtr box $ \cobj_box -> -    wxStaticBoxSizer_Create cobj_box  (toCInt orient)  -foreign import ccall "wxStaticBoxSizer_Create" wxStaticBoxSizer_Create :: Ptr (TStaticBox a) -> CInt -> IO (Ptr (TStaticBoxSizer ()))---- | usage: (@staticBoxSizerGetStaticBox obj@).-staticBoxSizerGetStaticBox :: StaticBoxSizer  a ->  IO (StaticBox  ())-staticBoxSizerGetStaticBox _obj -  = withObjectResult $-    withObjectRef "staticBoxSizerGetStaticBox" _obj $ \cobj__obj -> -    wxStaticBoxSizer_GetStaticBox cobj__obj  -foreign import ccall "wxStaticBoxSizer_GetStaticBox" wxStaticBoxSizer_GetStaticBox :: Ptr (TStaticBoxSizer a) -> IO (Ptr (TStaticBox ()))---- | usage: (@staticBoxSizerRecalcSizes obj@).-staticBoxSizerRecalcSizes :: StaticBoxSizer  a ->  IO ()-staticBoxSizerRecalcSizes _obj -  = withObjectRef "staticBoxSizerRecalcSizes" _obj $ \cobj__obj -> -    wxStaticBoxSizer_RecalcSizes cobj__obj  -foreign import ccall "wxStaticBoxSizer_RecalcSizes" wxStaticBoxSizer_RecalcSizes :: Ptr (TStaticBoxSizer a) -> IO ()---- | usage: (@staticLineCreate prt id lfttopwdthgt stl@).-staticLineCreate :: Window  a -> Id -> Rect -> Style ->  IO (StaticLine  ())-staticLineCreate _prt _id _lfttopwdthgt _stl -  = withObjectResult $-    withObjectPtr _prt $ \cobj__prt -> -    wxStaticLine_Create cobj__prt  (toCInt _id)  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  (toCInt _stl)  -foreign import ccall "wxStaticLine_Create" wxStaticLine_Create :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TStaticLine ()))---- | usage: (@staticLineGetDefaultSize obj@).-staticLineGetDefaultSize :: StaticLine  a ->  IO Int-staticLineGetDefaultSize _obj -  = withIntResult $-    withObjectRef "staticLineGetDefaultSize" _obj $ \cobj__obj -> -    wxStaticLine_GetDefaultSize cobj__obj  -foreign import ccall "wxStaticLine_GetDefaultSize" wxStaticLine_GetDefaultSize :: Ptr (TStaticLine a) -> IO CInt---- | usage: (@staticLineIsVertical obj@).-staticLineIsVertical :: StaticLine  a ->  IO Bool-staticLineIsVertical _obj -  = withBoolResult $-    withObjectRef "staticLineIsVertical" _obj $ \cobj__obj -> -    wxStaticLine_IsVertical cobj__obj  -foreign import ccall "wxStaticLine_IsVertical" wxStaticLine_IsVertical :: Ptr (TStaticLine a) -> IO CBool---- | usage: (@staticTextCreate prt id txt lfttopwdthgt stl@).-staticTextCreate :: Window  a -> Id -> String -> Rect -> Style ->  IO (StaticText  ())-staticTextCreate _prt _id _txt _lfttopwdthgt _stl -  = withObjectResult $-    withObjectPtr _prt $ \cobj__prt -> -    withStringPtr _txt $ \cobj__txt -> -    wxStaticText_Create cobj__prt  (toCInt _id)  cobj__txt  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  (toCInt _stl)  -foreign import ccall "wxStaticText_Create" wxStaticText_Create :: Ptr (TWindow a) -> CInt -> Ptr (TWxString c) -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TStaticText ()))---- | usage: (@statusBarCreate prt id lfttopwdthgt stl@).-statusBarCreate :: Window  a -> Id -> Rect -> Style ->  IO (StatusBar  ())-statusBarCreate _prt _id _lfttopwdthgt _stl -  = withObjectResult $-    withObjectPtr _prt $ \cobj__prt -> -    wxStatusBar_Create cobj__prt  (toCInt _id)  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  (toCInt _stl)  -foreign import ccall "wxStatusBar_Create" wxStatusBar_Create :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TStatusBar ()))---- | usage: (@statusBarGetBorderX obj@).-statusBarGetBorderX :: StatusBar  a ->  IO Int-statusBarGetBorderX _obj -  = withIntResult $-    withObjectRef "statusBarGetBorderX" _obj $ \cobj__obj -> -    wxStatusBar_GetBorderX cobj__obj  -foreign import ccall "wxStatusBar_GetBorderX" wxStatusBar_GetBorderX :: Ptr (TStatusBar a) -> IO CInt---- | usage: (@statusBarGetBorderY obj@).-statusBarGetBorderY :: StatusBar  a ->  IO Int-statusBarGetBorderY _obj -  = withIntResult $-    withObjectRef "statusBarGetBorderY" _obj $ \cobj__obj -> -    wxStatusBar_GetBorderY cobj__obj  -foreign import ccall "wxStatusBar_GetBorderY" wxStatusBar_GetBorderY :: Ptr (TStatusBar a) -> IO CInt---- | usage: (@statusBarGetFieldsCount obj@).-statusBarGetFieldsCount :: StatusBar  a ->  IO Int-statusBarGetFieldsCount _obj -  = withIntResult $-    withObjectRef "statusBarGetFieldsCount" _obj $ \cobj__obj -> -    wxStatusBar_GetFieldsCount cobj__obj  -foreign import ccall "wxStatusBar_GetFieldsCount" wxStatusBar_GetFieldsCount :: Ptr (TStatusBar a) -> IO CInt---- | usage: (@statusBarGetStatusText obj number@).-statusBarGetStatusText :: StatusBar  a -> Int ->  IO (String)-statusBarGetStatusText _obj number -  = withManagedStringResult $-    withObjectRef "statusBarGetStatusText" _obj $ \cobj__obj -> -    wxStatusBar_GetStatusText cobj__obj  (toCInt number)  -foreign import ccall "wxStatusBar_GetStatusText" wxStatusBar_GetStatusText :: Ptr (TStatusBar a) -> CInt -> IO (Ptr (TWxString ()))---- | usage: (@statusBarSetFieldsCount obj number widths@).-statusBarSetFieldsCount :: StatusBar  a -> Int -> Ptr CInt ->  IO ()-statusBarSetFieldsCount _obj number widths -  = withObjectRef "statusBarSetFieldsCount" _obj $ \cobj__obj -> -    wxStatusBar_SetFieldsCount cobj__obj  (toCInt number)  widths  -foreign import ccall "wxStatusBar_SetFieldsCount" wxStatusBar_SetFieldsCount :: Ptr (TStatusBar a) -> CInt -> Ptr CInt -> IO ()---- | usage: (@statusBarSetMinHeight obj height@).-statusBarSetMinHeight :: StatusBar  a -> Int ->  IO ()-statusBarSetMinHeight _obj height -  = withObjectRef "statusBarSetMinHeight" _obj $ \cobj__obj -> -    wxStatusBar_SetMinHeight cobj__obj  (toCInt height)  -foreign import ccall "wxStatusBar_SetMinHeight" wxStatusBar_SetMinHeight :: Ptr (TStatusBar a) -> CInt -> IO ()---- | usage: (@statusBarSetStatusText obj text number@).-statusBarSetStatusText :: StatusBar  a -> String -> Int ->  IO ()-statusBarSetStatusText _obj text number -  = withObjectRef "statusBarSetStatusText" _obj $ \cobj__obj -> -    withStringPtr text $ \cobj_text -> -    wxStatusBar_SetStatusText cobj__obj  cobj_text  (toCInt number)  -foreign import ccall "wxStatusBar_SetStatusText" wxStatusBar_SetStatusText :: Ptr (TStatusBar a) -> Ptr (TWxString b) -> CInt -> IO ()---- | usage: (@statusBarSetStatusWidths obj n widths@).-statusBarSetStatusWidths :: StatusBar  a -> Int -> Ptr CInt ->  IO ()-statusBarSetStatusWidths _obj n widths -  = withObjectRef "statusBarSetStatusWidths" _obj $ \cobj__obj -> -    wxStatusBar_SetStatusWidths cobj__obj  (toCInt n)  widths  -foreign import ccall "wxStatusBar_SetStatusWidths" wxStatusBar_SetStatusWidths :: Ptr (TStatusBar a) -> CInt -> Ptr CInt -> IO ()---- | usage: (@stopWatchCreate@).-stopWatchCreate ::  IO (StopWatch  ())-stopWatchCreate -  = withObjectResult $-    wxStopWatch_Create -foreign import ccall "wxStopWatch_Create" wxStopWatch_Create :: IO (Ptr (TStopWatch ()))---- | usage: (@stopWatchDelete obj@).-stopWatchDelete :: StopWatch  a ->  IO ()-stopWatchDelete _obj -  = withObjectRef "stopWatchDelete" _obj $ \cobj__obj -> -    wxStopWatch_Delete cobj__obj  -foreign import ccall "wxStopWatch_Delete" wxStopWatch_Delete :: Ptr (TStopWatch a) -> IO ()---- | usage: (@stopWatchPause obj@).-stopWatchPause :: StopWatch  a ->  IO ()-stopWatchPause _obj -  = withObjectRef "stopWatchPause" _obj $ \cobj__obj -> -    wxStopWatch_Pause cobj__obj  -foreign import ccall "wxStopWatch_Pause" wxStopWatch_Pause :: Ptr (TStopWatch a) -> IO ()---- | usage: (@stopWatchResume obj@).-stopWatchResume :: StopWatch  a ->  IO ()-stopWatchResume _obj -  = withObjectRef "stopWatchResume" _obj $ \cobj__obj -> -    wxStopWatch_Resume cobj__obj  -foreign import ccall "wxStopWatch_Resume" wxStopWatch_Resume :: Ptr (TStopWatch a) -> IO ()---- | usage: (@stopWatchStart obj msec@).-stopWatchStart :: StopWatch  a -> Int ->  IO ()-stopWatchStart _obj msec -  = withObjectRef "stopWatchStart" _obj $ \cobj__obj -> -    wxStopWatch_Start cobj__obj  (toCInt msec)  -foreign import ccall "wxStopWatch_Start" wxStopWatch_Start :: Ptr (TStopWatch a) -> CInt -> IO ()---- | usage: (@stopWatchTime obj@).-stopWatchTime :: StopWatch  a ->  IO Int-stopWatchTime _obj -  = withIntResult $-    withObjectRef "stopWatchTime" _obj $ \cobj__obj -> -    wxStopWatch_Time cobj__obj  -foreign import ccall "wxStopWatch_Time" wxStopWatch_Time :: Ptr (TStopWatch a) -> IO CInt---- | usage: (@streamBaseDelete obj@).-streamBaseDelete :: StreamBase  a ->  IO ()-streamBaseDelete obj -  = withObjectRef "streamBaseDelete" obj $ \cobj_obj -> -    wxStreamBase_Delete cobj_obj  -foreign import ccall "wxStreamBase_Delete" wxStreamBase_Delete :: Ptr (TStreamBase a) -> IO ()---- | usage: (@streamBaseGetLastError obj@).-streamBaseGetLastError :: StreamBase  a ->  IO Int-streamBaseGetLastError _obj -  = withIntResult $-    withObjectRef "streamBaseGetLastError" _obj $ \cobj__obj -> -    wxStreamBase_GetLastError cobj__obj  -foreign import ccall "wxStreamBase_GetLastError" wxStreamBase_GetLastError :: Ptr (TStreamBase a) -> IO CInt---- | usage: (@streamBaseGetSize obj@).-streamBaseGetSize :: StreamBase  a ->  IO Int-streamBaseGetSize _obj -  = withIntResult $-    withObjectRef "streamBaseGetSize" _obj $ \cobj__obj -> -    wxStreamBase_GetSize cobj__obj  -foreign import ccall "wxStreamBase_GetSize" wxStreamBase_GetSize :: Ptr (TStreamBase a) -> IO CInt---- | usage: (@streamBaseIsOk obj@).-streamBaseIsOk :: StreamBase  a ->  IO Bool-streamBaseIsOk _obj -  = withBoolResult $-    withObjectRef "streamBaseIsOk" _obj $ \cobj__obj -> -    wxStreamBase_IsOk cobj__obj  -foreign import ccall "wxStreamBase_IsOk" wxStreamBase_IsOk :: Ptr (TStreamBase a) -> IO CBool---- | usage: (@styledTextCtrlAddRefDocument obj docPointer@).-styledTextCtrlAddRefDocument :: StyledTextCtrl  a -> STCDoc  b ->  IO ()-styledTextCtrlAddRefDocument _obj docPointer -  = withObjectRef "styledTextCtrlAddRefDocument" _obj $ \cobj__obj -> -    withObjectPtr docPointer $ \cobj_docPointer -> -    wxStyledTextCtrl_AddRefDocument cobj__obj  cobj_docPointer  -foreign import ccall "wxStyledTextCtrl_AddRefDocument" wxStyledTextCtrl_AddRefDocument :: Ptr (TStyledTextCtrl a) -> Ptr (TSTCDoc b) -> IO ()---- | usage: (@styledTextCtrlAddStyledText obj wxdata@).-styledTextCtrlAddStyledText :: StyledTextCtrl  a -> MemoryBuffer  b ->  IO ()-styledTextCtrlAddStyledText _obj wxdata -  = withObjectRef "styledTextCtrlAddStyledText" _obj $ \cobj__obj -> -    withObjectPtr wxdata $ \cobj_wxdata -> -    wxStyledTextCtrl_AddStyledText cobj__obj  cobj_wxdata  -foreign import ccall "wxStyledTextCtrl_AddStyledText" wxStyledTextCtrl_AddStyledText :: Ptr (TStyledTextCtrl a) -> Ptr (TMemoryBuffer b) -> IO ()---- | usage: (@styledTextCtrlAddText obj text@).-styledTextCtrlAddText :: StyledTextCtrl  a -> String ->  IO ()-styledTextCtrlAddText _obj text -  = withObjectRef "styledTextCtrlAddText" _obj $ \cobj__obj -> -    withStringPtr text $ \cobj_text -> -    wxStyledTextCtrl_AddText cobj__obj  cobj_text  -foreign import ccall "wxStyledTextCtrl_AddText" wxStyledTextCtrl_AddText :: Ptr (TStyledTextCtrl a) -> Ptr (TWxString b) -> IO ()---- | usage: (@styledTextCtrlAppendText obj text@).-styledTextCtrlAppendText :: StyledTextCtrl  a -> String ->  IO ()-styledTextCtrlAppendText _obj text -  = withObjectRef "styledTextCtrlAppendText" _obj $ \cobj__obj -> -    withStringPtr text $ \cobj_text -> -    wxStyledTextCtrl_AppendText cobj__obj  cobj_text  -foreign import ccall "wxStyledTextCtrl_AppendText" wxStyledTextCtrl_AppendText :: Ptr (TStyledTextCtrl a) -> Ptr (TWxString b) -> IO ()---- | usage: (@styledTextCtrlAutoCompActive obj@).-styledTextCtrlAutoCompActive :: StyledTextCtrl  a ->  IO Bool-styledTextCtrlAutoCompActive _obj -  = withBoolResult $-    withObjectRef "styledTextCtrlAutoCompActive" _obj $ \cobj__obj -> -    wxStyledTextCtrl_AutoCompActive cobj__obj  -foreign import ccall "wxStyledTextCtrl_AutoCompActive" wxStyledTextCtrl_AutoCompActive :: Ptr (TStyledTextCtrl a) -> IO CBool---- | usage: (@styledTextCtrlAutoCompCancel obj@).-styledTextCtrlAutoCompCancel :: StyledTextCtrl  a ->  IO ()-styledTextCtrlAutoCompCancel _obj -  = withObjectRef "styledTextCtrlAutoCompCancel" _obj $ \cobj__obj -> -    wxStyledTextCtrl_AutoCompCancel cobj__obj  -foreign import ccall "wxStyledTextCtrl_AutoCompCancel" wxStyledTextCtrl_AutoCompCancel :: Ptr (TStyledTextCtrl a) -> IO ()---- | usage: (@styledTextCtrlAutoCompComplete obj@).-styledTextCtrlAutoCompComplete :: StyledTextCtrl  a ->  IO ()-styledTextCtrlAutoCompComplete _obj -  = withObjectRef "styledTextCtrlAutoCompComplete" _obj $ \cobj__obj -> -    wxStyledTextCtrl_AutoCompComplete cobj__obj  -foreign import ccall "wxStyledTextCtrl_AutoCompComplete" wxStyledTextCtrl_AutoCompComplete :: Ptr (TStyledTextCtrl a) -> IO ()---- | usage: (@styledTextCtrlAutoCompGetAutoHide obj@).-styledTextCtrlAutoCompGetAutoHide :: StyledTextCtrl  a ->  IO Bool-styledTextCtrlAutoCompGetAutoHide _obj -  = withBoolResult $-    withObjectRef "styledTextCtrlAutoCompGetAutoHide" _obj $ \cobj__obj -> -    wxStyledTextCtrl_AutoCompGetAutoHide cobj__obj  -foreign import ccall "wxStyledTextCtrl_AutoCompGetAutoHide" wxStyledTextCtrl_AutoCompGetAutoHide :: Ptr (TStyledTextCtrl a) -> IO CBool---- | usage: (@styledTextCtrlAutoCompGetCancelAtStart obj@).-styledTextCtrlAutoCompGetCancelAtStart :: StyledTextCtrl  a ->  IO Bool-styledTextCtrlAutoCompGetCancelAtStart _obj -  = withBoolResult $-    withObjectRef "styledTextCtrlAutoCompGetCancelAtStart" _obj $ \cobj__obj -> -    wxStyledTextCtrl_AutoCompGetCancelAtStart cobj__obj  -foreign import ccall "wxStyledTextCtrl_AutoCompGetCancelAtStart" wxStyledTextCtrl_AutoCompGetCancelAtStart :: Ptr (TStyledTextCtrl a) -> IO CBool---- | usage: (@styledTextCtrlAutoCompGetChooseSingle obj@).-styledTextCtrlAutoCompGetChooseSingle :: StyledTextCtrl  a ->  IO Bool-styledTextCtrlAutoCompGetChooseSingle _obj -  = withBoolResult $-    withObjectRef "styledTextCtrlAutoCompGetChooseSingle" _obj $ \cobj__obj -> -    wxStyledTextCtrl_AutoCompGetChooseSingle cobj__obj  -foreign import ccall "wxStyledTextCtrl_AutoCompGetChooseSingle" wxStyledTextCtrl_AutoCompGetChooseSingle :: Ptr (TStyledTextCtrl a) -> IO CBool---- | usage: (@styledTextCtrlAutoCompGetDropRestOfWord obj@).-styledTextCtrlAutoCompGetDropRestOfWord :: StyledTextCtrl  a ->  IO Bool-styledTextCtrlAutoCompGetDropRestOfWord _obj -  = withBoolResult $-    withObjectRef "styledTextCtrlAutoCompGetDropRestOfWord" _obj $ \cobj__obj -> -    wxStyledTextCtrl_AutoCompGetDropRestOfWord cobj__obj  -foreign import ccall "wxStyledTextCtrl_AutoCompGetDropRestOfWord" wxStyledTextCtrl_AutoCompGetDropRestOfWord :: Ptr (TStyledTextCtrl a) -> IO CBool---- | usage: (@styledTextCtrlAutoCompGetIgnoreCase obj@).-styledTextCtrlAutoCompGetIgnoreCase :: StyledTextCtrl  a ->  IO Bool-styledTextCtrlAutoCompGetIgnoreCase _obj -  = withBoolResult $-    withObjectRef "styledTextCtrlAutoCompGetIgnoreCase" _obj $ \cobj__obj -> -    wxStyledTextCtrl_AutoCompGetIgnoreCase cobj__obj  -foreign import ccall "wxStyledTextCtrl_AutoCompGetIgnoreCase" wxStyledTextCtrl_AutoCompGetIgnoreCase :: Ptr (TStyledTextCtrl a) -> IO CBool---- | usage: (@styledTextCtrlAutoCompGetSeparator obj@).-styledTextCtrlAutoCompGetSeparator :: StyledTextCtrl  a ->  IO Int-styledTextCtrlAutoCompGetSeparator _obj -  = withIntResult $-    withObjectRef "styledTextCtrlAutoCompGetSeparator" _obj $ \cobj__obj -> -    wxStyledTextCtrl_AutoCompGetSeparator cobj__obj  -foreign import ccall "wxStyledTextCtrl_AutoCompGetSeparator" wxStyledTextCtrl_AutoCompGetSeparator :: Ptr (TStyledTextCtrl a) -> IO CInt---- | usage: (@styledTextCtrlAutoCompGetTypeSeparator obj@).-styledTextCtrlAutoCompGetTypeSeparator :: StyledTextCtrl  a ->  IO Int-styledTextCtrlAutoCompGetTypeSeparator _obj -  = withIntResult $-    withObjectRef "styledTextCtrlAutoCompGetTypeSeparator" _obj $ \cobj__obj -> -    wxStyledTextCtrl_AutoCompGetTypeSeparator cobj__obj  -foreign import ccall "wxStyledTextCtrl_AutoCompGetTypeSeparator" wxStyledTextCtrl_AutoCompGetTypeSeparator :: Ptr (TStyledTextCtrl a) -> IO CInt---- | usage: (@styledTextCtrlAutoCompPosStart obj@).-styledTextCtrlAutoCompPosStart :: StyledTextCtrl  a ->  IO Int-styledTextCtrlAutoCompPosStart _obj -  = withIntResult $-    withObjectRef "styledTextCtrlAutoCompPosStart" _obj $ \cobj__obj -> -    wxStyledTextCtrl_AutoCompPosStart cobj__obj  -foreign import ccall "wxStyledTextCtrl_AutoCompPosStart" wxStyledTextCtrl_AutoCompPosStart :: Ptr (TStyledTextCtrl a) -> IO CInt---- | usage: (@styledTextCtrlAutoCompSelect obj text@).-styledTextCtrlAutoCompSelect :: StyledTextCtrl  a -> String ->  IO ()-styledTextCtrlAutoCompSelect _obj text -  = withObjectRef "styledTextCtrlAutoCompSelect" _obj $ \cobj__obj -> -    withStringPtr text $ \cobj_text -> -    wxStyledTextCtrl_AutoCompSelect cobj__obj  cobj_text  -foreign import ccall "wxStyledTextCtrl_AutoCompSelect" wxStyledTextCtrl_AutoCompSelect :: Ptr (TStyledTextCtrl a) -> Ptr (TWxString b) -> IO ()---- | usage: (@styledTextCtrlAutoCompSetAutoHide obj autoHide@).-styledTextCtrlAutoCompSetAutoHide :: StyledTextCtrl  a -> Bool ->  IO ()-styledTextCtrlAutoCompSetAutoHide _obj autoHide -  = withObjectRef "styledTextCtrlAutoCompSetAutoHide" _obj $ \cobj__obj -> -    wxStyledTextCtrl_AutoCompSetAutoHide cobj__obj  (toCBool autoHide)  -foreign import ccall "wxStyledTextCtrl_AutoCompSetAutoHide" wxStyledTextCtrl_AutoCompSetAutoHide :: Ptr (TStyledTextCtrl a) -> CBool -> IO ()---- | usage: (@styledTextCtrlAutoCompSetCancelAtStart obj cancel@).-styledTextCtrlAutoCompSetCancelAtStart :: StyledTextCtrl  a -> Bool ->  IO ()-styledTextCtrlAutoCompSetCancelAtStart _obj cancel -  = withObjectRef "styledTextCtrlAutoCompSetCancelAtStart" _obj $ \cobj__obj -> -    wxStyledTextCtrl_AutoCompSetCancelAtStart cobj__obj  (toCBool cancel)  -foreign import ccall "wxStyledTextCtrl_AutoCompSetCancelAtStart" wxStyledTextCtrl_AutoCompSetCancelAtStart :: Ptr (TStyledTextCtrl a) -> CBool -> IO ()---- | usage: (@styledTextCtrlAutoCompSetChooseSingle obj chooseSingle@).-styledTextCtrlAutoCompSetChooseSingle :: StyledTextCtrl  a -> Bool ->  IO ()-styledTextCtrlAutoCompSetChooseSingle _obj chooseSingle -  = withObjectRef "styledTextCtrlAutoCompSetChooseSingle" _obj $ \cobj__obj -> -    wxStyledTextCtrl_AutoCompSetChooseSingle cobj__obj  (toCBool chooseSingle)  -foreign import ccall "wxStyledTextCtrl_AutoCompSetChooseSingle" wxStyledTextCtrl_AutoCompSetChooseSingle :: Ptr (TStyledTextCtrl a) -> CBool -> IO ()---- | usage: (@styledTextCtrlAutoCompSetDropRestOfWord obj dropRestOfWord@).-styledTextCtrlAutoCompSetDropRestOfWord :: StyledTextCtrl  a -> Bool ->  IO ()-styledTextCtrlAutoCompSetDropRestOfWord _obj dropRestOfWord -  = withObjectRef "styledTextCtrlAutoCompSetDropRestOfWord" _obj $ \cobj__obj -> -    wxStyledTextCtrl_AutoCompSetDropRestOfWord cobj__obj  (toCBool dropRestOfWord)  -foreign import ccall "wxStyledTextCtrl_AutoCompSetDropRestOfWord" wxStyledTextCtrl_AutoCompSetDropRestOfWord :: Ptr (TStyledTextCtrl a) -> CBool -> IO ()---- | usage: (@styledTextCtrlAutoCompSetFillUps obj characterSet@).-styledTextCtrlAutoCompSetFillUps :: StyledTextCtrl  a -> String ->  IO ()-styledTextCtrlAutoCompSetFillUps _obj characterSet -  = withObjectRef "styledTextCtrlAutoCompSetFillUps" _obj $ \cobj__obj -> -    withStringPtr characterSet $ \cobj_characterSet -> -    wxStyledTextCtrl_AutoCompSetFillUps cobj__obj  cobj_characterSet  -foreign import ccall "wxStyledTextCtrl_AutoCompSetFillUps" wxStyledTextCtrl_AutoCompSetFillUps :: Ptr (TStyledTextCtrl a) -> Ptr (TWxString b) -> IO ()---- | usage: (@styledTextCtrlAutoCompSetIgnoreCase obj ignoreCase@).-styledTextCtrlAutoCompSetIgnoreCase :: StyledTextCtrl  a -> Bool ->  IO ()-styledTextCtrlAutoCompSetIgnoreCase _obj ignoreCase -  = withObjectRef "styledTextCtrlAutoCompSetIgnoreCase" _obj $ \cobj__obj -> -    wxStyledTextCtrl_AutoCompSetIgnoreCase cobj__obj  (toCBool ignoreCase)  -foreign import ccall "wxStyledTextCtrl_AutoCompSetIgnoreCase" wxStyledTextCtrl_AutoCompSetIgnoreCase :: Ptr (TStyledTextCtrl a) -> CBool -> IO ()---- | usage: (@styledTextCtrlAutoCompSetSeparator obj separatorCharacter@).-styledTextCtrlAutoCompSetSeparator :: StyledTextCtrl  a -> Int ->  IO ()-styledTextCtrlAutoCompSetSeparator _obj separatorCharacter -  = withObjectRef "styledTextCtrlAutoCompSetSeparator" _obj $ \cobj__obj -> -    wxStyledTextCtrl_AutoCompSetSeparator cobj__obj  (toCInt separatorCharacter)  -foreign import ccall "wxStyledTextCtrl_AutoCompSetSeparator" wxStyledTextCtrl_AutoCompSetSeparator :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()---- | usage: (@styledTextCtrlAutoCompSetTypeSeparator obj separatorCharacter@).-styledTextCtrlAutoCompSetTypeSeparator :: StyledTextCtrl  a -> Int ->  IO ()-styledTextCtrlAutoCompSetTypeSeparator _obj separatorCharacter -  = withObjectRef "styledTextCtrlAutoCompSetTypeSeparator" _obj $ \cobj__obj -> -    wxStyledTextCtrl_AutoCompSetTypeSeparator cobj__obj  (toCInt separatorCharacter)  -foreign import ccall "wxStyledTextCtrl_AutoCompSetTypeSeparator" wxStyledTextCtrl_AutoCompSetTypeSeparator :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()---- | usage: (@styledTextCtrlAutoCompShow obj lenEntered itemList@).-styledTextCtrlAutoCompShow :: StyledTextCtrl  a -> Int -> String ->  IO ()-styledTextCtrlAutoCompShow _obj lenEntered itemList -  = withObjectRef "styledTextCtrlAutoCompShow" _obj $ \cobj__obj -> -    withStringPtr itemList $ \cobj_itemList -> -    wxStyledTextCtrl_AutoCompShow cobj__obj  (toCInt lenEntered)  cobj_itemList  -foreign import ccall "wxStyledTextCtrl_AutoCompShow" wxStyledTextCtrl_AutoCompShow :: Ptr (TStyledTextCtrl a) -> CInt -> Ptr (TWxString c) -> IO ()---- | usage: (@styledTextCtrlAutoCompStops obj characterSet@).-styledTextCtrlAutoCompStops :: StyledTextCtrl  a -> String ->  IO ()-styledTextCtrlAutoCompStops _obj characterSet -  = withObjectRef "styledTextCtrlAutoCompStops" _obj $ \cobj__obj -> -    withStringPtr characterSet $ \cobj_characterSet -> -    wxStyledTextCtrl_AutoCompStops cobj__obj  cobj_characterSet  -foreign import ccall "wxStyledTextCtrl_AutoCompStops" wxStyledTextCtrl_AutoCompStops :: Ptr (TStyledTextCtrl a) -> Ptr (TWxString b) -> IO ()---- | usage: (@styledTextCtrlBeginUndoAction obj@).-styledTextCtrlBeginUndoAction :: StyledTextCtrl  a ->  IO ()-styledTextCtrlBeginUndoAction _obj -  = withObjectRef "styledTextCtrlBeginUndoAction" _obj $ \cobj__obj -> -    wxStyledTextCtrl_BeginUndoAction cobj__obj  -foreign import ccall "wxStyledTextCtrl_BeginUndoAction" wxStyledTextCtrl_BeginUndoAction :: Ptr (TStyledTextCtrl a) -> IO ()---- | usage: (@styledTextCtrlBraceBadLight obj pos@).-styledTextCtrlBraceBadLight :: StyledTextCtrl  a -> Int ->  IO ()-styledTextCtrlBraceBadLight _obj pos -  = withObjectRef "styledTextCtrlBraceBadLight" _obj $ \cobj__obj -> -    wxStyledTextCtrl_BraceBadLight cobj__obj  (toCInt pos)  -foreign import ccall "wxStyledTextCtrl_BraceBadLight" wxStyledTextCtrl_BraceBadLight :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()---- | usage: (@styledTextCtrlBraceHighlight obj pos1 pos2@).-styledTextCtrlBraceHighlight :: StyledTextCtrl  a -> Int -> Int ->  IO ()-styledTextCtrlBraceHighlight _obj pos1 pos2 -  = withObjectRef "styledTextCtrlBraceHighlight" _obj $ \cobj__obj -> -    wxStyledTextCtrl_BraceHighlight cobj__obj  (toCInt pos1)  (toCInt pos2)  -foreign import ccall "wxStyledTextCtrl_BraceHighlight" wxStyledTextCtrl_BraceHighlight :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> IO ()---- | usage: (@styledTextCtrlBraceMatch obj pos@).-styledTextCtrlBraceMatch :: StyledTextCtrl  a -> Int ->  IO Int-styledTextCtrlBraceMatch _obj pos -  = withIntResult $-    withObjectRef "styledTextCtrlBraceMatch" _obj $ \cobj__obj -> -    wxStyledTextCtrl_BraceMatch cobj__obj  (toCInt pos)  -foreign import ccall "wxStyledTextCtrl_BraceMatch" wxStyledTextCtrl_BraceMatch :: Ptr (TStyledTextCtrl a) -> CInt -> IO CInt---- | usage: (@styledTextCtrlCallTipActive obj@).-styledTextCtrlCallTipActive :: StyledTextCtrl  a ->  IO Bool-styledTextCtrlCallTipActive _obj -  = withBoolResult $-    withObjectRef "styledTextCtrlCallTipActive" _obj $ \cobj__obj -> -    wxStyledTextCtrl_CallTipActive cobj__obj  -foreign import ccall "wxStyledTextCtrl_CallTipActive" wxStyledTextCtrl_CallTipActive :: Ptr (TStyledTextCtrl a) -> IO CBool---- | usage: (@styledTextCtrlCallTipCancel obj@).-styledTextCtrlCallTipCancel :: StyledTextCtrl  a ->  IO ()-styledTextCtrlCallTipCancel _obj -  = withObjectRef "styledTextCtrlCallTipCancel" _obj $ \cobj__obj -> -    wxStyledTextCtrl_CallTipCancel cobj__obj  -foreign import ccall "wxStyledTextCtrl_CallTipCancel" wxStyledTextCtrl_CallTipCancel :: Ptr (TStyledTextCtrl a) -> IO ()---- | usage: (@styledTextCtrlCallTipPosAtStart obj@).-styledTextCtrlCallTipPosAtStart :: StyledTextCtrl  a ->  IO Int-styledTextCtrlCallTipPosAtStart _obj -  = withIntResult $-    withObjectRef "styledTextCtrlCallTipPosAtStart" _obj $ \cobj__obj -> -    wxStyledTextCtrl_CallTipPosAtStart cobj__obj  -foreign import ccall "wxStyledTextCtrl_CallTipPosAtStart" wxStyledTextCtrl_CallTipPosAtStart :: Ptr (TStyledTextCtrl a) -> IO CInt---- | usage: (@styledTextCtrlCallTipSetBackground obj backrbackgbackb@).-styledTextCtrlCallTipSetBackground :: StyledTextCtrl  a -> Color ->  IO ()-styledTextCtrlCallTipSetBackground _obj backrbackgbackb -  = withObjectRef "styledTextCtrlCallTipSetBackground" _obj $ \cobj__obj -> -    wxStyledTextCtrl_CallTipSetBackground cobj__obj  (colorRed backrbackgbackb) (colorGreen backrbackgbackb) (colorBlue backrbackgbackb)  -foreign import ccall "wxStyledTextCtrl_CallTipSetBackground" wxStyledTextCtrl_CallTipSetBackground :: Ptr (TStyledTextCtrl a) -> Word8 -> Word8 -> Word8 -> IO ()---- | usage: (@styledTextCtrlCallTipSetForeground obj forerforegforeb@).-styledTextCtrlCallTipSetForeground :: StyledTextCtrl  a -> Color ->  IO ()-styledTextCtrlCallTipSetForeground _obj forerforegforeb -  = withObjectRef "styledTextCtrlCallTipSetForeground" _obj $ \cobj__obj -> -    wxStyledTextCtrl_CallTipSetForeground cobj__obj  (colorRed forerforegforeb) (colorGreen forerforegforeb) (colorBlue forerforegforeb)  -foreign import ccall "wxStyledTextCtrl_CallTipSetForeground" wxStyledTextCtrl_CallTipSetForeground :: Ptr (TStyledTextCtrl a) -> Word8 -> Word8 -> Word8 -> IO ()---- | usage: (@styledTextCtrlCallTipSetForegroundHighlight obj forerforegforeb@).-styledTextCtrlCallTipSetForegroundHighlight :: StyledTextCtrl  a -> Color ->  IO ()-styledTextCtrlCallTipSetForegroundHighlight _obj forerforegforeb -  = withObjectRef "styledTextCtrlCallTipSetForegroundHighlight" _obj $ \cobj__obj -> -    wxStyledTextCtrl_CallTipSetForegroundHighlight cobj__obj  (colorRed forerforegforeb) (colorGreen forerforegforeb) (colorBlue forerforegforeb)  -foreign import ccall "wxStyledTextCtrl_CallTipSetForegroundHighlight" wxStyledTextCtrl_CallTipSetForegroundHighlight :: Ptr (TStyledTextCtrl a) -> Word8 -> Word8 -> Word8 -> IO ()---- | usage: (@styledTextCtrlCallTipSetHighlight obj start end@).-styledTextCtrlCallTipSetHighlight :: StyledTextCtrl  a -> Int -> Int ->  IO ()-styledTextCtrlCallTipSetHighlight _obj start end -  = withObjectRef "styledTextCtrlCallTipSetHighlight" _obj $ \cobj__obj -> -    wxStyledTextCtrl_CallTipSetHighlight cobj__obj  (toCInt start)  (toCInt end)  -foreign import ccall "wxStyledTextCtrl_CallTipSetHighlight" wxStyledTextCtrl_CallTipSetHighlight :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> IO ()---- | usage: (@styledTextCtrlCallTipShow obj pos definition@).-styledTextCtrlCallTipShow :: StyledTextCtrl  a -> Int -> String ->  IO ()-styledTextCtrlCallTipShow _obj pos definition -  = withObjectRef "styledTextCtrlCallTipShow" _obj $ \cobj__obj -> -    withStringPtr definition $ \cobj_definition -> -    wxStyledTextCtrl_CallTipShow cobj__obj  (toCInt pos)  cobj_definition  -foreign import ccall "wxStyledTextCtrl_CallTipShow" wxStyledTextCtrl_CallTipShow :: Ptr (TStyledTextCtrl a) -> CInt -> Ptr (TWxString c) -> IO ()---- | usage: (@styledTextCtrlCanPaste obj@).-styledTextCtrlCanPaste :: StyledTextCtrl  a ->  IO Bool-styledTextCtrlCanPaste _obj -  = withBoolResult $-    withObjectRef "styledTextCtrlCanPaste" _obj $ \cobj__obj -> -    wxStyledTextCtrl_CanPaste cobj__obj  -foreign import ccall "wxStyledTextCtrl_CanPaste" wxStyledTextCtrl_CanPaste :: Ptr (TStyledTextCtrl a) -> IO CBool---- | usage: (@styledTextCtrlCanRedo obj@).-styledTextCtrlCanRedo :: StyledTextCtrl  a ->  IO Bool-styledTextCtrlCanRedo _obj -  = withBoolResult $-    withObjectRef "styledTextCtrlCanRedo" _obj $ \cobj__obj -> -    wxStyledTextCtrl_CanRedo cobj__obj  -foreign import ccall "wxStyledTextCtrl_CanRedo" wxStyledTextCtrl_CanRedo :: Ptr (TStyledTextCtrl a) -> IO CBool---- | usage: (@styledTextCtrlCanUndo obj@).-styledTextCtrlCanUndo :: StyledTextCtrl  a ->  IO Bool-styledTextCtrlCanUndo _obj -  = withBoolResult $-    withObjectRef "styledTextCtrlCanUndo" _obj $ \cobj__obj -> -    wxStyledTextCtrl_CanUndo cobj__obj  -foreign import ccall "wxStyledTextCtrl_CanUndo" wxStyledTextCtrl_CanUndo :: Ptr (TStyledTextCtrl a) -> IO CBool---- | usage: (@styledTextCtrlChooseCaretX obj@).-styledTextCtrlChooseCaretX :: StyledTextCtrl  a ->  IO ()-styledTextCtrlChooseCaretX _obj -  = withObjectRef "styledTextCtrlChooseCaretX" _obj $ \cobj__obj -> -    wxStyledTextCtrl_ChooseCaretX cobj__obj  -foreign import ccall "wxStyledTextCtrl_ChooseCaretX" wxStyledTextCtrl_ChooseCaretX :: Ptr (TStyledTextCtrl a) -> IO ()---- | usage: (@styledTextCtrlClear obj@).-styledTextCtrlClear :: StyledTextCtrl  a ->  IO ()-styledTextCtrlClear _obj -  = withObjectRef "styledTextCtrlClear" _obj $ \cobj__obj -> -    wxStyledTextCtrl_Clear cobj__obj  -foreign import ccall "wxStyledTextCtrl_Clear" wxStyledTextCtrl_Clear :: Ptr (TStyledTextCtrl a) -> IO ()---- | usage: (@styledTextCtrlClearAll obj@).-styledTextCtrlClearAll :: StyledTextCtrl  a ->  IO ()-styledTextCtrlClearAll _obj -  = withObjectRef "styledTextCtrlClearAll" _obj $ \cobj__obj -> -    wxStyledTextCtrl_ClearAll cobj__obj  -foreign import ccall "wxStyledTextCtrl_ClearAll" wxStyledTextCtrl_ClearAll :: Ptr (TStyledTextCtrl a) -> IO ()---- | usage: (@styledTextCtrlClearDocumentStyle obj@).-styledTextCtrlClearDocumentStyle :: StyledTextCtrl  a ->  IO ()-styledTextCtrlClearDocumentStyle _obj -  = withObjectRef "styledTextCtrlClearDocumentStyle" _obj $ \cobj__obj -> -    wxStyledTextCtrl_ClearDocumentStyle cobj__obj  -foreign import ccall "wxStyledTextCtrl_ClearDocumentStyle" wxStyledTextCtrl_ClearDocumentStyle :: Ptr (TStyledTextCtrl a) -> IO ()---- | usage: (@styledTextCtrlClearRegisteredImages obj@).-styledTextCtrlClearRegisteredImages :: StyledTextCtrl  a ->  IO ()-styledTextCtrlClearRegisteredImages _obj -  = withObjectRef "styledTextCtrlClearRegisteredImages" _obj $ \cobj__obj -> -    wxStyledTextCtrl_ClearRegisteredImages cobj__obj  -foreign import ccall "wxStyledTextCtrl_ClearRegisteredImages" wxStyledTextCtrl_ClearRegisteredImages :: Ptr (TStyledTextCtrl a) -> IO ()---- | usage: (@styledTextCtrlCmdKeyAssign obj key modifiers cmd@).-styledTextCtrlCmdKeyAssign :: StyledTextCtrl  a -> Int -> Int -> Int ->  IO ()-styledTextCtrlCmdKeyAssign _obj key modifiers cmd -  = withObjectRef "styledTextCtrlCmdKeyAssign" _obj $ \cobj__obj -> -    wxStyledTextCtrl_CmdKeyAssign cobj__obj  (toCInt key)  (toCInt modifiers)  (toCInt cmd)  -foreign import ccall "wxStyledTextCtrl_CmdKeyAssign" wxStyledTextCtrl_CmdKeyAssign :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> CInt -> IO ()---- | usage: (@styledTextCtrlCmdKeyClear obj key modifiers@).-styledTextCtrlCmdKeyClear :: StyledTextCtrl  a -> Int -> Int ->  IO ()-styledTextCtrlCmdKeyClear _obj key modifiers -  = withObjectRef "styledTextCtrlCmdKeyClear" _obj $ \cobj__obj -> -    wxStyledTextCtrl_CmdKeyClear cobj__obj  (toCInt key)  (toCInt modifiers)  -foreign import ccall "wxStyledTextCtrl_CmdKeyClear" wxStyledTextCtrl_CmdKeyClear :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> IO ()---- | usage: (@styledTextCtrlCmdKeyClearAll obj@).-styledTextCtrlCmdKeyClearAll :: StyledTextCtrl  a ->  IO ()-styledTextCtrlCmdKeyClearAll _obj -  = withObjectRef "styledTextCtrlCmdKeyClearAll" _obj $ \cobj__obj -> -    wxStyledTextCtrl_CmdKeyClearAll cobj__obj  -foreign import ccall "wxStyledTextCtrl_CmdKeyClearAll" wxStyledTextCtrl_CmdKeyClearAll :: Ptr (TStyledTextCtrl a) -> IO ()---- | usage: (@styledTextCtrlCmdKeyExecute obj cmd@).-styledTextCtrlCmdKeyExecute :: StyledTextCtrl  a -> Int ->  IO ()-styledTextCtrlCmdKeyExecute _obj cmd -  = withObjectRef "styledTextCtrlCmdKeyExecute" _obj $ \cobj__obj -> -    wxStyledTextCtrl_CmdKeyExecute cobj__obj  (toCInt cmd)  -foreign import ccall "wxStyledTextCtrl_CmdKeyExecute" wxStyledTextCtrl_CmdKeyExecute :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()---- | usage: (@styledTextCtrlColourise obj start end@).-styledTextCtrlColourise :: StyledTextCtrl  a -> Int -> Int ->  IO ()-styledTextCtrlColourise _obj start end -  = withObjectRef "styledTextCtrlColourise" _obj $ \cobj__obj -> -    wxStyledTextCtrl_Colourise cobj__obj  (toCInt start)  (toCInt end)  -foreign import ccall "wxStyledTextCtrl_Colourise" wxStyledTextCtrl_Colourise :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> IO ()---- | usage: (@styledTextCtrlConvertEOLs obj eolMode@).-styledTextCtrlConvertEOLs :: StyledTextCtrl  a -> Int ->  IO ()-styledTextCtrlConvertEOLs _obj eolMode -  = withObjectRef "styledTextCtrlConvertEOLs" _obj $ \cobj__obj -> -    wxStyledTextCtrl_ConvertEOLs cobj__obj  (toCInt eolMode)  -foreign import ccall "wxStyledTextCtrl_ConvertEOLs" wxStyledTextCtrl_ConvertEOLs :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()---- | usage: (@styledTextCtrlCopy obj@).-styledTextCtrlCopy :: StyledTextCtrl  a ->  IO ()-styledTextCtrlCopy _obj -  = withObjectRef "styledTextCtrlCopy" _obj $ \cobj__obj -> -    wxStyledTextCtrl_Copy cobj__obj  -foreign import ccall "wxStyledTextCtrl_Copy" wxStyledTextCtrl_Copy :: Ptr (TStyledTextCtrl a) -> IO ()---- | usage: (@styledTextCtrlCopyRange obj start end@).-styledTextCtrlCopyRange :: StyledTextCtrl  a -> Int -> Int ->  IO ()-styledTextCtrlCopyRange _obj start end -  = withObjectRef "styledTextCtrlCopyRange" _obj $ \cobj__obj -> -    wxStyledTextCtrl_CopyRange cobj__obj  (toCInt start)  (toCInt end)  -foreign import ccall "wxStyledTextCtrl_CopyRange" wxStyledTextCtrl_CopyRange :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> IO ()---- | usage: (@styledTextCtrlCopyText obj length text@).-styledTextCtrlCopyText :: StyledTextCtrl  a -> Int -> String ->  IO ()-styledTextCtrlCopyText _obj length text -  = withObjectRef "styledTextCtrlCopyText" _obj $ \cobj__obj -> -    withStringPtr text $ \cobj_text -> -    wxStyledTextCtrl_CopyText cobj__obj  (toCInt length)  cobj_text  -foreign import ccall "wxStyledTextCtrl_CopyText" wxStyledTextCtrl_CopyText :: Ptr (TStyledTextCtrl a) -> CInt -> Ptr (TWxString c) -> IO ()---- | usage: (@styledTextCtrlCreate prt id txt lfttopwdthgt style@).-styledTextCtrlCreate :: Window  a -> Id -> String -> Rect -> Int ->  IO (StyledTextCtrl  ())-styledTextCtrlCreate _prt _id _txt _lfttopwdthgt style -  = withObjectResult $-    withObjectPtr _prt $ \cobj__prt -> -    withStringPtr _txt $ \cobj__txt -> -    wxStyledTextCtrl_Create cobj__prt  (toCInt _id)  cobj__txt  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  (toCInt style)  -foreign import ccall "wxStyledTextCtrl_Create" wxStyledTextCtrl_Create :: Ptr (TWindow a) -> CInt -> Ptr (TWxString c) -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TStyledTextCtrl ()))---- | usage: (@styledTextCtrlCreateDocument obj@).-styledTextCtrlCreateDocument :: StyledTextCtrl  a ->  IO (STCDoc  ())-styledTextCtrlCreateDocument _obj -  = withObjectResult $-    withObjectRef "styledTextCtrlCreateDocument" _obj $ \cobj__obj -> -    wxStyledTextCtrl_CreateDocument cobj__obj  -foreign import ccall "wxStyledTextCtrl_CreateDocument" wxStyledTextCtrl_CreateDocument :: Ptr (TStyledTextCtrl a) -> IO (Ptr (TSTCDoc ()))---- | usage: (@styledTextCtrlCut obj@).-styledTextCtrlCut :: StyledTextCtrl  a ->  IO ()-styledTextCtrlCut _obj -  = withObjectRef "styledTextCtrlCut" _obj $ \cobj__obj -> -    wxStyledTextCtrl_Cut cobj__obj  -foreign import ccall "wxStyledTextCtrl_Cut" wxStyledTextCtrl_Cut :: Ptr (TStyledTextCtrl a) -> IO ()---- | usage: (@styledTextCtrlDelLineLeft obj@).-styledTextCtrlDelLineLeft :: StyledTextCtrl  a ->  IO ()-styledTextCtrlDelLineLeft _obj -  = withObjectRef "styledTextCtrlDelLineLeft" _obj $ \cobj__obj -> -    wxStyledTextCtrl_DelLineLeft cobj__obj  -foreign import ccall "wxStyledTextCtrl_DelLineLeft" wxStyledTextCtrl_DelLineLeft :: Ptr (TStyledTextCtrl a) -> IO ()---- | usage: (@styledTextCtrlDelLineRight obj@).-styledTextCtrlDelLineRight :: StyledTextCtrl  a ->  IO ()-styledTextCtrlDelLineRight _obj -  = withObjectRef "styledTextCtrlDelLineRight" _obj $ \cobj__obj -> -    wxStyledTextCtrl_DelLineRight cobj__obj  -foreign import ccall "wxStyledTextCtrl_DelLineRight" wxStyledTextCtrl_DelLineRight :: Ptr (TStyledTextCtrl a) -> IO ()---- | usage: (@styledTextCtrlDocLineFromVisible obj lineDisplay@).-styledTextCtrlDocLineFromVisible :: StyledTextCtrl  a -> Int ->  IO Int-styledTextCtrlDocLineFromVisible _obj lineDisplay -  = withIntResult $-    withObjectRef "styledTextCtrlDocLineFromVisible" _obj $ \cobj__obj -> -    wxStyledTextCtrl_DocLineFromVisible cobj__obj  (toCInt lineDisplay)  -foreign import ccall "wxStyledTextCtrl_DocLineFromVisible" wxStyledTextCtrl_DocLineFromVisible :: Ptr (TStyledTextCtrl a) -> CInt -> IO CInt---- | usage: (@styledTextCtrlEmptyUndoBuffer obj@).-styledTextCtrlEmptyUndoBuffer :: StyledTextCtrl  a ->  IO ()-styledTextCtrlEmptyUndoBuffer _obj -  = withObjectRef "styledTextCtrlEmptyUndoBuffer" _obj $ \cobj__obj -> -    wxStyledTextCtrl_EmptyUndoBuffer cobj__obj  -foreign import ccall "wxStyledTextCtrl_EmptyUndoBuffer" wxStyledTextCtrl_EmptyUndoBuffer :: Ptr (TStyledTextCtrl a) -> IO ()---- | usage: (@styledTextCtrlEndUndoAction obj@).-styledTextCtrlEndUndoAction :: StyledTextCtrl  a ->  IO ()-styledTextCtrlEndUndoAction _obj -  = withObjectRef "styledTextCtrlEndUndoAction" _obj $ \cobj__obj -> -    wxStyledTextCtrl_EndUndoAction cobj__obj  -foreign import ccall "wxStyledTextCtrl_EndUndoAction" wxStyledTextCtrl_EndUndoAction :: Ptr (TStyledTextCtrl a) -> IO ()---- | usage: (@styledTextCtrlEnsureCaretVisible obj@).-styledTextCtrlEnsureCaretVisible :: StyledTextCtrl  a ->  IO ()-styledTextCtrlEnsureCaretVisible _obj -  = withObjectRef "styledTextCtrlEnsureCaretVisible" _obj $ \cobj__obj -> -    wxStyledTextCtrl_EnsureCaretVisible cobj__obj  -foreign import ccall "wxStyledTextCtrl_EnsureCaretVisible" wxStyledTextCtrl_EnsureCaretVisible :: Ptr (TStyledTextCtrl a) -> IO ()---- | usage: (@styledTextCtrlEnsureVisible obj line@).-styledTextCtrlEnsureVisible :: StyledTextCtrl  a -> Int ->  IO ()-styledTextCtrlEnsureVisible _obj line -  = withObjectRef "styledTextCtrlEnsureVisible" _obj $ \cobj__obj -> -    wxStyledTextCtrl_EnsureVisible cobj__obj  (toCInt line)  -foreign import ccall "wxStyledTextCtrl_EnsureVisible" wxStyledTextCtrl_EnsureVisible :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()---- | usage: (@styledTextCtrlEnsureVisibleEnforcePolicy obj line@).-styledTextCtrlEnsureVisibleEnforcePolicy :: StyledTextCtrl  a -> Int ->  IO ()-styledTextCtrlEnsureVisibleEnforcePolicy _obj line -  = withObjectRef "styledTextCtrlEnsureVisibleEnforcePolicy" _obj $ \cobj__obj -> -    wxStyledTextCtrl_EnsureVisibleEnforcePolicy cobj__obj  (toCInt line)  -foreign import ccall "wxStyledTextCtrl_EnsureVisibleEnforcePolicy" wxStyledTextCtrl_EnsureVisibleEnforcePolicy :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()---- | usage: (@styledTextCtrlFindText obj minPos maxPos text flags@).-styledTextCtrlFindText :: StyledTextCtrl  a -> Int -> Int -> String -> Int ->  IO Int-styledTextCtrlFindText _obj minPos maxPos text flags -  = withIntResult $-    withObjectRef "styledTextCtrlFindText" _obj $ \cobj__obj -> -    withStringPtr text $ \cobj_text -> -    wxStyledTextCtrl_FindText cobj__obj  (toCInt minPos)  (toCInt maxPos)  cobj_text  (toCInt flags)  -foreign import ccall "wxStyledTextCtrl_FindText" wxStyledTextCtrl_FindText :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> Ptr (TWxString d) -> CInt -> IO CInt---- | usage: (@styledTextCtrlFormatRange obj doDraw startPos endPos draw target renderRect pageRect@).-styledTextCtrlFormatRange :: StyledTextCtrl  a -> Bool -> Int -> Int -> DC  e -> DC  f -> Rect -> Rect ->  IO Int-styledTextCtrlFormatRange _obj doDraw startPos endPos draw target renderRect pageRect -  = withIntResult $-    withObjectRef "styledTextCtrlFormatRange" _obj $ \cobj__obj -> -    withObjectPtr draw $ \cobj_draw -> -    withObjectPtr target $ \cobj_target -> -    withWxRectPtr renderRect $ \cobj_renderRect -> -    withWxRectPtr pageRect $ \cobj_pageRect -> -    wxStyledTextCtrl_FormatRange cobj__obj  (toCBool doDraw)  (toCInt startPos)  (toCInt endPos)  cobj_draw  cobj_target  cobj_renderRect  cobj_pageRect  -foreign import ccall "wxStyledTextCtrl_FormatRange" wxStyledTextCtrl_FormatRange :: Ptr (TStyledTextCtrl a) -> CBool -> CInt -> CInt -> Ptr (TDC e) -> Ptr (TDC f) -> Ptr (TWxRect g) -> Ptr (TWxRect h) -> IO CInt---- | usage: (@styledTextCtrlGetAnchor obj@).-styledTextCtrlGetAnchor :: StyledTextCtrl  a ->  IO Int-styledTextCtrlGetAnchor _obj -  = withIntResult $-    withObjectRef "styledTextCtrlGetAnchor" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetAnchor cobj__obj  -foreign import ccall "wxStyledTextCtrl_GetAnchor" wxStyledTextCtrl_GetAnchor :: Ptr (TStyledTextCtrl a) -> IO CInt---- | usage: (@styledTextCtrlGetBackSpaceUnIndents obj@).-styledTextCtrlGetBackSpaceUnIndents :: StyledTextCtrl  a ->  IO Bool-styledTextCtrlGetBackSpaceUnIndents _obj -  = withBoolResult $-    withObjectRef "styledTextCtrlGetBackSpaceUnIndents" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetBackSpaceUnIndents cobj__obj  -foreign import ccall "wxStyledTextCtrl_GetBackSpaceUnIndents" wxStyledTextCtrl_GetBackSpaceUnIndents :: Ptr (TStyledTextCtrl a) -> IO CBool---- | usage: (@styledTextCtrlGetBufferedDraw obj@).-styledTextCtrlGetBufferedDraw :: StyledTextCtrl  a ->  IO Bool-styledTextCtrlGetBufferedDraw _obj -  = withBoolResult $-    withObjectRef "styledTextCtrlGetBufferedDraw" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetBufferedDraw cobj__obj  -foreign import ccall "wxStyledTextCtrl_GetBufferedDraw" wxStyledTextCtrl_GetBufferedDraw :: Ptr (TStyledTextCtrl a) -> IO CBool---- | usage: (@styledTextCtrlGetCaretForeground obj@).-styledTextCtrlGetCaretForeground :: StyledTextCtrl  a ->  IO (Color)-styledTextCtrlGetCaretForeground _obj -  = withManagedColourResult $-    withObjectRef "styledTextCtrlGetCaretForeground" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetCaretForeground cobj__obj  -foreign import ccall "wxStyledTextCtrl_GetCaretForeground" wxStyledTextCtrl_GetCaretForeground :: Ptr (TStyledTextCtrl a) -> IO (Ptr (TColour ()))---- | usage: (@styledTextCtrlGetCaretLineBackground obj@).-styledTextCtrlGetCaretLineBackground :: StyledTextCtrl  a ->  IO (Color)-styledTextCtrlGetCaretLineBackground _obj -  = withManagedColourResult $-    withObjectRef "styledTextCtrlGetCaretLineBackground" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetCaretLineBackground cobj__obj  -foreign import ccall "wxStyledTextCtrl_GetCaretLineBackground" wxStyledTextCtrl_GetCaretLineBackground :: Ptr (TStyledTextCtrl a) -> IO (Ptr (TColour ()))---- | usage: (@styledTextCtrlGetCaretLineVisible obj@).-styledTextCtrlGetCaretLineVisible :: StyledTextCtrl  a ->  IO Bool-styledTextCtrlGetCaretLineVisible _obj -  = withBoolResult $-    withObjectRef "styledTextCtrlGetCaretLineVisible" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetCaretLineVisible cobj__obj  -foreign import ccall "wxStyledTextCtrl_GetCaretLineVisible" wxStyledTextCtrl_GetCaretLineVisible :: Ptr (TStyledTextCtrl a) -> IO CBool---- | usage: (@styledTextCtrlGetCaretPeriod obj@).-styledTextCtrlGetCaretPeriod :: StyledTextCtrl  a ->  IO Int-styledTextCtrlGetCaretPeriod _obj -  = withIntResult $-    withObjectRef "styledTextCtrlGetCaretPeriod" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetCaretPeriod cobj__obj  -foreign import ccall "wxStyledTextCtrl_GetCaretPeriod" wxStyledTextCtrl_GetCaretPeriod :: Ptr (TStyledTextCtrl a) -> IO CInt---- | usage: (@styledTextCtrlGetCaretWidth obj@).-styledTextCtrlGetCaretWidth :: StyledTextCtrl  a ->  IO Int-styledTextCtrlGetCaretWidth _obj -  = withIntResult $-    withObjectRef "styledTextCtrlGetCaretWidth" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetCaretWidth cobj__obj  -foreign import ccall "wxStyledTextCtrl_GetCaretWidth" wxStyledTextCtrl_GetCaretWidth :: Ptr (TStyledTextCtrl a) -> IO CInt---- | usage: (@styledTextCtrlGetCharAt obj pos@).-styledTextCtrlGetCharAt :: StyledTextCtrl  a -> Int ->  IO Int-styledTextCtrlGetCharAt _obj pos -  = withIntResult $-    withObjectRef "styledTextCtrlGetCharAt" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetCharAt cobj__obj  (toCInt pos)  -foreign import ccall "wxStyledTextCtrl_GetCharAt" wxStyledTextCtrl_GetCharAt :: Ptr (TStyledTextCtrl a) -> CInt -> IO CInt---- | usage: (@styledTextCtrlGetCodePage obj@).-styledTextCtrlGetCodePage :: StyledTextCtrl  a ->  IO Int-styledTextCtrlGetCodePage _obj -  = withIntResult $-    withObjectRef "styledTextCtrlGetCodePage" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetCodePage cobj__obj  -foreign import ccall "wxStyledTextCtrl_GetCodePage" wxStyledTextCtrl_GetCodePage :: Ptr (TStyledTextCtrl a) -> IO CInt---- | usage: (@styledTextCtrlGetColumn obj pos@).-styledTextCtrlGetColumn :: StyledTextCtrl  a -> Int ->  IO Int-styledTextCtrlGetColumn _obj pos -  = withIntResult $-    withObjectRef "styledTextCtrlGetColumn" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetColumn cobj__obj  (toCInt pos)  -foreign import ccall "wxStyledTextCtrl_GetColumn" wxStyledTextCtrl_GetColumn :: Ptr (TStyledTextCtrl a) -> CInt -> IO CInt---- | usage: (@styledTextCtrlGetControlCharSymbol obj@).-styledTextCtrlGetControlCharSymbol :: StyledTextCtrl  a ->  IO Int-styledTextCtrlGetControlCharSymbol _obj -  = withIntResult $-    withObjectRef "styledTextCtrlGetControlCharSymbol" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetControlCharSymbol cobj__obj  -foreign import ccall "wxStyledTextCtrl_GetControlCharSymbol" wxStyledTextCtrl_GetControlCharSymbol :: Ptr (TStyledTextCtrl a) -> IO CInt---- | usage: (@styledTextCtrlGetCurrentLine obj@).-styledTextCtrlGetCurrentLine :: StyledTextCtrl  a ->  IO Int-styledTextCtrlGetCurrentLine _obj -  = withIntResult $-    withObjectRef "styledTextCtrlGetCurrentLine" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetCurrentLine cobj__obj  -foreign import ccall "wxStyledTextCtrl_GetCurrentLine" wxStyledTextCtrl_GetCurrentLine :: Ptr (TStyledTextCtrl a) -> IO CInt---- | usage: (@styledTextCtrlGetCurrentPos obj@).-styledTextCtrlGetCurrentPos :: StyledTextCtrl  a ->  IO Int-styledTextCtrlGetCurrentPos _obj -  = withIntResult $-    withObjectRef "styledTextCtrlGetCurrentPos" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetCurrentPos cobj__obj  -foreign import ccall "wxStyledTextCtrl_GetCurrentPos" wxStyledTextCtrl_GetCurrentPos :: Ptr (TStyledTextCtrl a) -> IO CInt---- | usage: (@styledTextCtrlGetDocPointer obj@).-styledTextCtrlGetDocPointer :: StyledTextCtrl  a ->  IO (STCDoc  ())-styledTextCtrlGetDocPointer _obj -  = withObjectResult $-    withObjectRef "styledTextCtrlGetDocPointer" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetDocPointer cobj__obj  -foreign import ccall "wxStyledTextCtrl_GetDocPointer" wxStyledTextCtrl_GetDocPointer :: Ptr (TStyledTextCtrl a) -> IO (Ptr (TSTCDoc ()))---- | usage: (@styledTextCtrlGetEOLMode obj@).-styledTextCtrlGetEOLMode :: StyledTextCtrl  a ->  IO Int-styledTextCtrlGetEOLMode _obj -  = withIntResult $-    withObjectRef "styledTextCtrlGetEOLMode" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetEOLMode cobj__obj  -foreign import ccall "wxStyledTextCtrl_GetEOLMode" wxStyledTextCtrl_GetEOLMode :: Ptr (TStyledTextCtrl a) -> IO CInt---- | usage: (@styledTextCtrlGetEdgeColour obj@).-styledTextCtrlGetEdgeColour :: StyledTextCtrl  a ->  IO (Color)-styledTextCtrlGetEdgeColour _obj -  = withManagedColourResult $-    withObjectRef "styledTextCtrlGetEdgeColour" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetEdgeColour cobj__obj  -foreign import ccall "wxStyledTextCtrl_GetEdgeColour" wxStyledTextCtrl_GetEdgeColour :: Ptr (TStyledTextCtrl a) -> IO (Ptr (TColour ()))---- | usage: (@styledTextCtrlGetEdgeColumn obj@).-styledTextCtrlGetEdgeColumn :: StyledTextCtrl  a ->  IO Int-styledTextCtrlGetEdgeColumn _obj -  = withIntResult $-    withObjectRef "styledTextCtrlGetEdgeColumn" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetEdgeColumn cobj__obj  -foreign import ccall "wxStyledTextCtrl_GetEdgeColumn" wxStyledTextCtrl_GetEdgeColumn :: Ptr (TStyledTextCtrl a) -> IO CInt---- | usage: (@styledTextCtrlGetEdgeMode obj@).-styledTextCtrlGetEdgeMode :: StyledTextCtrl  a ->  IO Int-styledTextCtrlGetEdgeMode _obj -  = withIntResult $-    withObjectRef "styledTextCtrlGetEdgeMode" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetEdgeMode cobj__obj  -foreign import ccall "wxStyledTextCtrl_GetEdgeMode" wxStyledTextCtrl_GetEdgeMode :: Ptr (TStyledTextCtrl a) -> IO CInt---- | usage: (@styledTextCtrlGetEndAtLastLine obj@).-styledTextCtrlGetEndAtLastLine :: StyledTextCtrl  a ->  IO Int-styledTextCtrlGetEndAtLastLine _obj -  = withIntResult $-    withObjectRef "styledTextCtrlGetEndAtLastLine" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetEndAtLastLine cobj__obj  -foreign import ccall "wxStyledTextCtrl_GetEndAtLastLine" wxStyledTextCtrl_GetEndAtLastLine :: Ptr (TStyledTextCtrl a) -> IO CInt---- | usage: (@styledTextCtrlGetEndStyled obj@).-styledTextCtrlGetEndStyled :: StyledTextCtrl  a ->  IO Int-styledTextCtrlGetEndStyled _obj -  = withIntResult $-    withObjectRef "styledTextCtrlGetEndStyled" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetEndStyled cobj__obj  -foreign import ccall "wxStyledTextCtrl_GetEndStyled" wxStyledTextCtrl_GetEndStyled :: Ptr (TStyledTextCtrl a) -> IO CInt---- | usage: (@styledTextCtrlGetFirstVisibleLine obj@).-styledTextCtrlGetFirstVisibleLine :: StyledTextCtrl  a ->  IO Int-styledTextCtrlGetFirstVisibleLine _obj -  = withIntResult $-    withObjectRef "styledTextCtrlGetFirstVisibleLine" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetFirstVisibleLine cobj__obj  -foreign import ccall "wxStyledTextCtrl_GetFirstVisibleLine" wxStyledTextCtrl_GetFirstVisibleLine :: Ptr (TStyledTextCtrl a) -> IO CInt---- | usage: (@styledTextCtrlGetFoldExpanded obj line@).-styledTextCtrlGetFoldExpanded :: StyledTextCtrl  a -> Int ->  IO Bool-styledTextCtrlGetFoldExpanded _obj line -  = withBoolResult $-    withObjectRef "styledTextCtrlGetFoldExpanded" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetFoldExpanded cobj__obj  (toCInt line)  -foreign import ccall "wxStyledTextCtrl_GetFoldExpanded" wxStyledTextCtrl_GetFoldExpanded :: Ptr (TStyledTextCtrl a) -> CInt -> IO CBool---- | usage: (@styledTextCtrlGetFoldLevel obj line@).-styledTextCtrlGetFoldLevel :: StyledTextCtrl  a -> Int ->  IO Int-styledTextCtrlGetFoldLevel _obj line -  = withIntResult $-    withObjectRef "styledTextCtrlGetFoldLevel" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetFoldLevel cobj__obj  (toCInt line)  -foreign import ccall "wxStyledTextCtrl_GetFoldLevel" wxStyledTextCtrl_GetFoldLevel :: Ptr (TStyledTextCtrl a) -> CInt -> IO CInt---- | usage: (@styledTextCtrlGetFoldParent obj line@).-styledTextCtrlGetFoldParent :: StyledTextCtrl  a -> Int ->  IO Int-styledTextCtrlGetFoldParent _obj line -  = withIntResult $-    withObjectRef "styledTextCtrlGetFoldParent" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetFoldParent cobj__obj  (toCInt line)  -foreign import ccall "wxStyledTextCtrl_GetFoldParent" wxStyledTextCtrl_GetFoldParent :: Ptr (TStyledTextCtrl a) -> CInt -> IO CInt---- | usage: (@styledTextCtrlGetHighlightGuide obj@).-styledTextCtrlGetHighlightGuide :: StyledTextCtrl  a ->  IO Int-styledTextCtrlGetHighlightGuide _obj -  = withIntResult $-    withObjectRef "styledTextCtrlGetHighlightGuide" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetHighlightGuide cobj__obj  -foreign import ccall "wxStyledTextCtrl_GetHighlightGuide" wxStyledTextCtrl_GetHighlightGuide :: Ptr (TStyledTextCtrl a) -> IO CInt---- | usage: (@styledTextCtrlGetIndent obj@).-styledTextCtrlGetIndent :: StyledTextCtrl  a ->  IO Int-styledTextCtrlGetIndent _obj -  = withIntResult $-    withObjectRef "styledTextCtrlGetIndent" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetIndent cobj__obj  -foreign import ccall "wxStyledTextCtrl_GetIndent" wxStyledTextCtrl_GetIndent :: Ptr (TStyledTextCtrl a) -> IO CInt---- | usage: (@styledTextCtrlGetIndentationGuides obj@).-styledTextCtrlGetIndentationGuides :: StyledTextCtrl  a ->  IO Bool-styledTextCtrlGetIndentationGuides _obj -  = withBoolResult $-    withObjectRef "styledTextCtrlGetIndentationGuides" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetIndentationGuides cobj__obj  -foreign import ccall "wxStyledTextCtrl_GetIndentationGuides" wxStyledTextCtrl_GetIndentationGuides :: Ptr (TStyledTextCtrl a) -> IO CBool---- | usage: (@styledTextCtrlGetLastChild obj line level@).-styledTextCtrlGetLastChild :: StyledTextCtrl  a -> Int -> Int ->  IO Int-styledTextCtrlGetLastChild _obj line level -  = withIntResult $-    withObjectRef "styledTextCtrlGetLastChild" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetLastChild cobj__obj  (toCInt line)  (toCInt level)  -foreign import ccall "wxStyledTextCtrl_GetLastChild" wxStyledTextCtrl_GetLastChild :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> IO CInt---- | usage: (@styledTextCtrlGetLastKeydownProcessed obj@).-styledTextCtrlGetLastKeydownProcessed :: StyledTextCtrl  a ->  IO Bool-styledTextCtrlGetLastKeydownProcessed _obj -  = withBoolResult $-    withObjectRef "styledTextCtrlGetLastKeydownProcessed" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetLastKeydownProcessed cobj__obj  -foreign import ccall "wxStyledTextCtrl_GetLastKeydownProcessed" wxStyledTextCtrl_GetLastKeydownProcessed :: Ptr (TStyledTextCtrl a) -> IO CBool---- | usage: (@styledTextCtrlGetLayoutCache obj@).-styledTextCtrlGetLayoutCache :: StyledTextCtrl  a ->  IO Int-styledTextCtrlGetLayoutCache _obj -  = withIntResult $-    withObjectRef "styledTextCtrlGetLayoutCache" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetLayoutCache cobj__obj  -foreign import ccall "wxStyledTextCtrl_GetLayoutCache" wxStyledTextCtrl_GetLayoutCache :: Ptr (TStyledTextCtrl a) -> IO CInt---- | usage: (@styledTextCtrlGetLength obj@).-styledTextCtrlGetLength :: StyledTextCtrl  a ->  IO Int-styledTextCtrlGetLength _obj -  = withIntResult $-    withObjectRef "styledTextCtrlGetLength" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetLength cobj__obj  -foreign import ccall "wxStyledTextCtrl_GetLength" wxStyledTextCtrl_GetLength :: Ptr (TStyledTextCtrl a) -> IO CInt---- | usage: (@styledTextCtrlGetLexer obj@).-styledTextCtrlGetLexer :: StyledTextCtrl  a ->  IO Int-styledTextCtrlGetLexer _obj -  = withIntResult $-    withObjectRef "styledTextCtrlGetLexer" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetLexer cobj__obj  -foreign import ccall "wxStyledTextCtrl_GetLexer" wxStyledTextCtrl_GetLexer :: Ptr (TStyledTextCtrl a) -> IO CInt---- | usage: (@styledTextCtrlGetLine obj line@).-styledTextCtrlGetLine :: StyledTextCtrl  a -> Int ->  IO (String)-styledTextCtrlGetLine _obj line -  = withManagedStringResult $-    withObjectRef "styledTextCtrlGetLine" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetLine cobj__obj  (toCInt line)  -foreign import ccall "wxStyledTextCtrl_GetLine" wxStyledTextCtrl_GetLine :: Ptr (TStyledTextCtrl a) -> CInt -> IO (Ptr (TWxString ()))---- | usage: (@styledTextCtrlGetLineCount obj@).-styledTextCtrlGetLineCount :: StyledTextCtrl  a ->  IO Int-styledTextCtrlGetLineCount _obj -  = withIntResult $-    withObjectRef "styledTextCtrlGetLineCount" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetLineCount cobj__obj  -foreign import ccall "wxStyledTextCtrl_GetLineCount" wxStyledTextCtrl_GetLineCount :: Ptr (TStyledTextCtrl a) -> IO CInt---- | usage: (@styledTextCtrlGetLineEndPosition obj line@).-styledTextCtrlGetLineEndPosition :: StyledTextCtrl  a -> Int ->  IO Int-styledTextCtrlGetLineEndPosition _obj line -  = withIntResult $-    withObjectRef "styledTextCtrlGetLineEndPosition" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetLineEndPosition cobj__obj  (toCInt line)  -foreign import ccall "wxStyledTextCtrl_GetLineEndPosition" wxStyledTextCtrl_GetLineEndPosition :: Ptr (TStyledTextCtrl a) -> CInt -> IO CInt---- | usage: (@styledTextCtrlGetLineIndentPosition obj line@).-styledTextCtrlGetLineIndentPosition :: StyledTextCtrl  a -> Int ->  IO Int-styledTextCtrlGetLineIndentPosition _obj line -  = withIntResult $-    withObjectRef "styledTextCtrlGetLineIndentPosition" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetLineIndentPosition cobj__obj  (toCInt line)  -foreign import ccall "wxStyledTextCtrl_GetLineIndentPosition" wxStyledTextCtrl_GetLineIndentPosition :: Ptr (TStyledTextCtrl a) -> CInt -> IO CInt---- | usage: (@styledTextCtrlGetLineIndentation obj line@).-styledTextCtrlGetLineIndentation :: StyledTextCtrl  a -> Int ->  IO Int-styledTextCtrlGetLineIndentation _obj line -  = withIntResult $-    withObjectRef "styledTextCtrlGetLineIndentation" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetLineIndentation cobj__obj  (toCInt line)  -foreign import ccall "wxStyledTextCtrl_GetLineIndentation" wxStyledTextCtrl_GetLineIndentation :: Ptr (TStyledTextCtrl a) -> CInt -> IO CInt---- | usage: (@styledTextCtrlGetLineState obj line@).-styledTextCtrlGetLineState :: StyledTextCtrl  a -> Int ->  IO Int-styledTextCtrlGetLineState _obj line -  = withIntResult $-    withObjectRef "styledTextCtrlGetLineState" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetLineState cobj__obj  (toCInt line)  -foreign import ccall "wxStyledTextCtrl_GetLineState" wxStyledTextCtrl_GetLineState :: Ptr (TStyledTextCtrl a) -> CInt -> IO CInt---- | usage: (@styledTextCtrlGetLineVisible obj line@).-styledTextCtrlGetLineVisible :: StyledTextCtrl  a -> Int ->  IO Bool-styledTextCtrlGetLineVisible _obj line -  = withBoolResult $-    withObjectRef "styledTextCtrlGetLineVisible" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetLineVisible cobj__obj  (toCInt line)  -foreign import ccall "wxStyledTextCtrl_GetLineVisible" wxStyledTextCtrl_GetLineVisible :: Ptr (TStyledTextCtrl a) -> CInt -> IO CBool---- | usage: (@styledTextCtrlGetMarginLeft obj@).-styledTextCtrlGetMarginLeft :: StyledTextCtrl  a ->  IO Int-styledTextCtrlGetMarginLeft _obj -  = withIntResult $-    withObjectRef "styledTextCtrlGetMarginLeft" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetMarginLeft cobj__obj  -foreign import ccall "wxStyledTextCtrl_GetMarginLeft" wxStyledTextCtrl_GetMarginLeft :: Ptr (TStyledTextCtrl a) -> IO CInt---- | usage: (@styledTextCtrlGetMarginMask obj margin@).-styledTextCtrlGetMarginMask :: StyledTextCtrl  a -> Int ->  IO Int-styledTextCtrlGetMarginMask _obj margin -  = withIntResult $-    withObjectRef "styledTextCtrlGetMarginMask" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetMarginMask cobj__obj  (toCInt margin)  -foreign import ccall "wxStyledTextCtrl_GetMarginMask" wxStyledTextCtrl_GetMarginMask :: Ptr (TStyledTextCtrl a) -> CInt -> IO CInt---- | usage: (@styledTextCtrlGetMarginRight obj@).-styledTextCtrlGetMarginRight :: StyledTextCtrl  a ->  IO Int-styledTextCtrlGetMarginRight _obj -  = withIntResult $-    withObjectRef "styledTextCtrlGetMarginRight" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetMarginRight cobj__obj  -foreign import ccall "wxStyledTextCtrl_GetMarginRight" wxStyledTextCtrl_GetMarginRight :: Ptr (TStyledTextCtrl a) -> IO CInt---- | usage: (@styledTextCtrlGetMarginSensitive obj margin@).-styledTextCtrlGetMarginSensitive :: StyledTextCtrl  a -> Int ->  IO Bool-styledTextCtrlGetMarginSensitive _obj margin -  = withBoolResult $-    withObjectRef "styledTextCtrlGetMarginSensitive" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetMarginSensitive cobj__obj  (toCInt margin)  -foreign import ccall "wxStyledTextCtrl_GetMarginSensitive" wxStyledTextCtrl_GetMarginSensitive :: Ptr (TStyledTextCtrl a) -> CInt -> IO CBool---- | usage: (@styledTextCtrlGetMarginType obj margin@).-styledTextCtrlGetMarginType :: StyledTextCtrl  a -> Int ->  IO Int-styledTextCtrlGetMarginType _obj margin -  = withIntResult $-    withObjectRef "styledTextCtrlGetMarginType" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetMarginType cobj__obj  (toCInt margin)  -foreign import ccall "wxStyledTextCtrl_GetMarginType" wxStyledTextCtrl_GetMarginType :: Ptr (TStyledTextCtrl a) -> CInt -> IO CInt---- | usage: (@styledTextCtrlGetMarginWidth obj margin@).-styledTextCtrlGetMarginWidth :: StyledTextCtrl  a -> Int ->  IO Int-styledTextCtrlGetMarginWidth _obj margin -  = withIntResult $-    withObjectRef "styledTextCtrlGetMarginWidth" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetMarginWidth cobj__obj  (toCInt margin)  -foreign import ccall "wxStyledTextCtrl_GetMarginWidth" wxStyledTextCtrl_GetMarginWidth :: Ptr (TStyledTextCtrl a) -> CInt -> IO CInt---- | usage: (@styledTextCtrlGetMaxLineState obj@).-styledTextCtrlGetMaxLineState :: StyledTextCtrl  a ->  IO Int-styledTextCtrlGetMaxLineState _obj -  = withIntResult $-    withObjectRef "styledTextCtrlGetMaxLineState" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetMaxLineState cobj__obj  -foreign import ccall "wxStyledTextCtrl_GetMaxLineState" wxStyledTextCtrl_GetMaxLineState :: Ptr (TStyledTextCtrl a) -> IO CInt---- | usage: (@styledTextCtrlGetModEventMask obj@).-styledTextCtrlGetModEventMask :: StyledTextCtrl  a ->  IO Int-styledTextCtrlGetModEventMask _obj -  = withIntResult $-    withObjectRef "styledTextCtrlGetModEventMask" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetModEventMask cobj__obj  -foreign import ccall "wxStyledTextCtrl_GetModEventMask" wxStyledTextCtrl_GetModEventMask :: Ptr (TStyledTextCtrl a) -> IO CInt---- | usage: (@styledTextCtrlGetModify obj@).-styledTextCtrlGetModify :: StyledTextCtrl  a ->  IO Bool-styledTextCtrlGetModify _obj -  = withBoolResult $-    withObjectRef "styledTextCtrlGetModify" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetModify cobj__obj  -foreign import ccall "wxStyledTextCtrl_GetModify" wxStyledTextCtrl_GetModify :: Ptr (TStyledTextCtrl a) -> IO CBool---- | usage: (@styledTextCtrlGetMouseDownCaptures obj@).-styledTextCtrlGetMouseDownCaptures :: StyledTextCtrl  a ->  IO Bool-styledTextCtrlGetMouseDownCaptures _obj -  = withBoolResult $-    withObjectRef "styledTextCtrlGetMouseDownCaptures" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetMouseDownCaptures cobj__obj  -foreign import ccall "wxStyledTextCtrl_GetMouseDownCaptures" wxStyledTextCtrl_GetMouseDownCaptures :: Ptr (TStyledTextCtrl a) -> IO CBool---- | usage: (@styledTextCtrlGetMouseDwellTime obj@).-styledTextCtrlGetMouseDwellTime :: StyledTextCtrl  a ->  IO Int-styledTextCtrlGetMouseDwellTime _obj -  = withIntResult $-    withObjectRef "styledTextCtrlGetMouseDwellTime" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetMouseDwellTime cobj__obj  -foreign import ccall "wxStyledTextCtrl_GetMouseDwellTime" wxStyledTextCtrl_GetMouseDwellTime :: Ptr (TStyledTextCtrl a) -> IO CInt---- | usage: (@styledTextCtrlGetOvertype obj@).-styledTextCtrlGetOvertype :: StyledTextCtrl  a ->  IO Bool-styledTextCtrlGetOvertype _obj -  = withBoolResult $-    withObjectRef "styledTextCtrlGetOvertype" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetOvertype cobj__obj  -foreign import ccall "wxStyledTextCtrl_GetOvertype" wxStyledTextCtrl_GetOvertype :: Ptr (TStyledTextCtrl a) -> IO CBool---- | usage: (@styledTextCtrlGetPrintColourMode obj@).-styledTextCtrlGetPrintColourMode :: StyledTextCtrl  a ->  IO Int-styledTextCtrlGetPrintColourMode _obj -  = withIntResult $-    withObjectRef "styledTextCtrlGetPrintColourMode" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetPrintColourMode cobj__obj  -foreign import ccall "wxStyledTextCtrl_GetPrintColourMode" wxStyledTextCtrl_GetPrintColourMode :: Ptr (TStyledTextCtrl a) -> IO CInt---- | usage: (@styledTextCtrlGetPrintMagnification obj@).-styledTextCtrlGetPrintMagnification :: StyledTextCtrl  a ->  IO Int-styledTextCtrlGetPrintMagnification _obj -  = withIntResult $-    withObjectRef "styledTextCtrlGetPrintMagnification" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetPrintMagnification cobj__obj  -foreign import ccall "wxStyledTextCtrl_GetPrintMagnification" wxStyledTextCtrl_GetPrintMagnification :: Ptr (TStyledTextCtrl a) -> IO CInt---- | usage: (@styledTextCtrlGetPrintWrapMode obj@).-styledTextCtrlGetPrintWrapMode :: StyledTextCtrl  a ->  IO Int-styledTextCtrlGetPrintWrapMode _obj -  = withIntResult $-    withObjectRef "styledTextCtrlGetPrintWrapMode" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetPrintWrapMode cobj__obj  -foreign import ccall "wxStyledTextCtrl_GetPrintWrapMode" wxStyledTextCtrl_GetPrintWrapMode :: Ptr (TStyledTextCtrl a) -> IO CInt---- | usage: (@styledTextCtrlGetReadOnly obj@).-styledTextCtrlGetReadOnly :: StyledTextCtrl  a ->  IO Bool-styledTextCtrlGetReadOnly _obj -  = withBoolResult $-    withObjectRef "styledTextCtrlGetReadOnly" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetReadOnly cobj__obj  -foreign import ccall "wxStyledTextCtrl_GetReadOnly" wxStyledTextCtrl_GetReadOnly :: Ptr (TStyledTextCtrl a) -> IO CBool---- | usage: (@styledTextCtrlGetSTCCursor obj@).-styledTextCtrlGetSTCCursor :: StyledTextCtrl  a ->  IO Int-styledTextCtrlGetSTCCursor _obj -  = withIntResult $-    withObjectRef "styledTextCtrlGetSTCCursor" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetSTCCursor cobj__obj  -foreign import ccall "wxStyledTextCtrl_GetSTCCursor" wxStyledTextCtrl_GetSTCCursor :: Ptr (TStyledTextCtrl a) -> IO CInt---- | usage: (@styledTextCtrlGetSTCFocus obj@).-styledTextCtrlGetSTCFocus :: StyledTextCtrl  a ->  IO Bool-styledTextCtrlGetSTCFocus _obj -  = withBoolResult $-    withObjectRef "styledTextCtrlGetSTCFocus" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetSTCFocus cobj__obj  -foreign import ccall "wxStyledTextCtrl_GetSTCFocus" wxStyledTextCtrl_GetSTCFocus :: Ptr (TStyledTextCtrl a) -> IO CBool---- | usage: (@styledTextCtrlGetScrollWidth obj@).-styledTextCtrlGetScrollWidth :: StyledTextCtrl  a ->  IO Int-styledTextCtrlGetScrollWidth _obj -  = withIntResult $-    withObjectRef "styledTextCtrlGetScrollWidth" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetScrollWidth cobj__obj  -foreign import ccall "wxStyledTextCtrl_GetScrollWidth" wxStyledTextCtrl_GetScrollWidth :: Ptr (TStyledTextCtrl a) -> IO CInt---- | usage: (@styledTextCtrlGetSearchFlags obj@).-styledTextCtrlGetSearchFlags :: StyledTextCtrl  a ->  IO Int-styledTextCtrlGetSearchFlags _obj -  = withIntResult $-    withObjectRef "styledTextCtrlGetSearchFlags" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetSearchFlags cobj__obj  -foreign import ccall "wxStyledTextCtrl_GetSearchFlags" wxStyledTextCtrl_GetSearchFlags :: Ptr (TStyledTextCtrl a) -> IO CInt---- | usage: (@styledTextCtrlGetSelectedText obj@).-styledTextCtrlGetSelectedText :: StyledTextCtrl  a ->  IO (String)-styledTextCtrlGetSelectedText _obj -  = withManagedStringResult $-    withObjectRef "styledTextCtrlGetSelectedText" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetSelectedText cobj__obj  -foreign import ccall "wxStyledTextCtrl_GetSelectedText" wxStyledTextCtrl_GetSelectedText :: Ptr (TStyledTextCtrl a) -> IO (Ptr (TWxString ()))---- | usage: (@styledTextCtrlGetSelection obj startPos endPos@).-styledTextCtrlGetSelection :: StyledTextCtrl  a -> Ptr CInt -> Ptr CInt ->  IO ()-styledTextCtrlGetSelection _obj startPos endPos -  = withObjectRef "styledTextCtrlGetSelection" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetSelection cobj__obj  startPos  endPos  -foreign import ccall "wxStyledTextCtrl_GetSelection" wxStyledTextCtrl_GetSelection :: Ptr (TStyledTextCtrl a) -> Ptr CInt -> Ptr CInt -> IO ()---- | usage: (@styledTextCtrlGetSelectionEnd obj@).-styledTextCtrlGetSelectionEnd :: StyledTextCtrl  a ->  IO Int-styledTextCtrlGetSelectionEnd _obj -  = withIntResult $-    withObjectRef "styledTextCtrlGetSelectionEnd" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetSelectionEnd cobj__obj  -foreign import ccall "wxStyledTextCtrl_GetSelectionEnd" wxStyledTextCtrl_GetSelectionEnd :: Ptr (TStyledTextCtrl a) -> IO CInt---- | usage: (@styledTextCtrlGetSelectionStart obj@).-styledTextCtrlGetSelectionStart :: StyledTextCtrl  a ->  IO Int-styledTextCtrlGetSelectionStart _obj -  = withIntResult $-    withObjectRef "styledTextCtrlGetSelectionStart" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetSelectionStart cobj__obj  -foreign import ccall "wxStyledTextCtrl_GetSelectionStart" wxStyledTextCtrl_GetSelectionStart :: Ptr (TStyledTextCtrl a) -> IO CInt---- | usage: (@styledTextCtrlGetStatus obj@).-styledTextCtrlGetStatus :: StyledTextCtrl  a ->  IO Int-styledTextCtrlGetStatus _obj -  = withIntResult $-    withObjectRef "styledTextCtrlGetStatus" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetStatus cobj__obj  -foreign import ccall "wxStyledTextCtrl_GetStatus" wxStyledTextCtrl_GetStatus :: Ptr (TStyledTextCtrl a) -> IO CInt---- | usage: (@styledTextCtrlGetStyleAt obj pos@).-styledTextCtrlGetStyleAt :: StyledTextCtrl  a -> Int ->  IO Int-styledTextCtrlGetStyleAt _obj pos -  = withIntResult $-    withObjectRef "styledTextCtrlGetStyleAt" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetStyleAt cobj__obj  (toCInt pos)  -foreign import ccall "wxStyledTextCtrl_GetStyleAt" wxStyledTextCtrl_GetStyleAt :: Ptr (TStyledTextCtrl a) -> CInt -> IO CInt---- | usage: (@styledTextCtrlGetStyleBits obj@).-styledTextCtrlGetStyleBits :: StyledTextCtrl  a ->  IO Int-styledTextCtrlGetStyleBits _obj -  = withIntResult $-    withObjectRef "styledTextCtrlGetStyleBits" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetStyleBits cobj__obj  -foreign import ccall "wxStyledTextCtrl_GetStyleBits" wxStyledTextCtrl_GetStyleBits :: Ptr (TStyledTextCtrl a) -> IO CInt---- | usage: (@styledTextCtrlGetTabIndents obj@).-styledTextCtrlGetTabIndents :: StyledTextCtrl  a ->  IO Bool-styledTextCtrlGetTabIndents _obj -  = withBoolResult $-    withObjectRef "styledTextCtrlGetTabIndents" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetTabIndents cobj__obj  -foreign import ccall "wxStyledTextCtrl_GetTabIndents" wxStyledTextCtrl_GetTabIndents :: Ptr (TStyledTextCtrl a) -> IO CBool---- | usage: (@styledTextCtrlGetTabWidth obj@).-styledTextCtrlGetTabWidth :: StyledTextCtrl  a ->  IO Int-styledTextCtrlGetTabWidth _obj -  = withIntResult $-    withObjectRef "styledTextCtrlGetTabWidth" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetTabWidth cobj__obj  -foreign import ccall "wxStyledTextCtrl_GetTabWidth" wxStyledTextCtrl_GetTabWidth :: Ptr (TStyledTextCtrl a) -> IO CInt---- | usage: (@styledTextCtrlGetTargetEnd obj@).-styledTextCtrlGetTargetEnd :: StyledTextCtrl  a ->  IO Int-styledTextCtrlGetTargetEnd _obj -  = withIntResult $-    withObjectRef "styledTextCtrlGetTargetEnd" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetTargetEnd cobj__obj  -foreign import ccall "wxStyledTextCtrl_GetTargetEnd" wxStyledTextCtrl_GetTargetEnd :: Ptr (TStyledTextCtrl a) -> IO CInt---- | usage: (@styledTextCtrlGetTargetStart obj@).-styledTextCtrlGetTargetStart :: StyledTextCtrl  a ->  IO Int-styledTextCtrlGetTargetStart _obj -  = withIntResult $-    withObjectRef "styledTextCtrlGetTargetStart" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetTargetStart cobj__obj  -foreign import ccall "wxStyledTextCtrl_GetTargetStart" wxStyledTextCtrl_GetTargetStart :: Ptr (TStyledTextCtrl a) -> IO CInt---- | usage: (@styledTextCtrlGetText obj@).-styledTextCtrlGetText :: StyledTextCtrl  a ->  IO (String)-styledTextCtrlGetText _obj -  = withManagedStringResult $-    withObjectRef "styledTextCtrlGetText" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetText cobj__obj  -foreign import ccall "wxStyledTextCtrl_GetText" wxStyledTextCtrl_GetText :: Ptr (TStyledTextCtrl a) -> IO (Ptr (TWxString ()))---- | usage: (@styledTextCtrlGetTextLength obj@).-styledTextCtrlGetTextLength :: StyledTextCtrl  a ->  IO Int-styledTextCtrlGetTextLength _obj -  = withIntResult $-    withObjectRef "styledTextCtrlGetTextLength" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetTextLength cobj__obj  -foreign import ccall "wxStyledTextCtrl_GetTextLength" wxStyledTextCtrl_GetTextLength :: Ptr (TStyledTextCtrl a) -> IO CInt---- | usage: (@styledTextCtrlGetTextRange obj startPos endPos@).-styledTextCtrlGetTextRange :: StyledTextCtrl  a -> Int -> Int ->  IO (String)-styledTextCtrlGetTextRange _obj startPos endPos -  = withManagedStringResult $-    withObjectRef "styledTextCtrlGetTextRange" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetTextRange cobj__obj  (toCInt startPos)  (toCInt endPos)  -foreign import ccall "wxStyledTextCtrl_GetTextRange" wxStyledTextCtrl_GetTextRange :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> IO (Ptr (TWxString ()))---- | usage: (@styledTextCtrlGetTwoPhaseDraw obj@).-styledTextCtrlGetTwoPhaseDraw :: StyledTextCtrl  a ->  IO Bool-styledTextCtrlGetTwoPhaseDraw _obj -  = withBoolResult $-    withObjectRef "styledTextCtrlGetTwoPhaseDraw" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetTwoPhaseDraw cobj__obj  -foreign import ccall "wxStyledTextCtrl_GetTwoPhaseDraw" wxStyledTextCtrl_GetTwoPhaseDraw :: Ptr (TStyledTextCtrl a) -> IO CBool---- | usage: (@styledTextCtrlGetUndoCollection obj@).-styledTextCtrlGetUndoCollection :: StyledTextCtrl  a ->  IO Bool-styledTextCtrlGetUndoCollection _obj -  = withBoolResult $-    withObjectRef "styledTextCtrlGetUndoCollection" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetUndoCollection cobj__obj  -foreign import ccall "wxStyledTextCtrl_GetUndoCollection" wxStyledTextCtrl_GetUndoCollection :: Ptr (TStyledTextCtrl a) -> IO CBool---- | usage: (@styledTextCtrlGetUseHorizontalScrollBar obj@).-styledTextCtrlGetUseHorizontalScrollBar :: StyledTextCtrl  a ->  IO Bool-styledTextCtrlGetUseHorizontalScrollBar _obj -  = withBoolResult $-    withObjectRef "styledTextCtrlGetUseHorizontalScrollBar" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetUseHorizontalScrollBar cobj__obj  -foreign import ccall "wxStyledTextCtrl_GetUseHorizontalScrollBar" wxStyledTextCtrl_GetUseHorizontalScrollBar :: Ptr (TStyledTextCtrl a) -> IO CBool---- | usage: (@styledTextCtrlGetUseTabs obj@).-styledTextCtrlGetUseTabs :: StyledTextCtrl  a ->  IO Bool-styledTextCtrlGetUseTabs _obj -  = withBoolResult $-    withObjectRef "styledTextCtrlGetUseTabs" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetUseTabs cobj__obj  -foreign import ccall "wxStyledTextCtrl_GetUseTabs" wxStyledTextCtrl_GetUseTabs :: Ptr (TStyledTextCtrl a) -> IO CBool---- | usage: (@styledTextCtrlGetUseVerticalScrollBar obj@).-styledTextCtrlGetUseVerticalScrollBar :: StyledTextCtrl  a ->  IO Bool-styledTextCtrlGetUseVerticalScrollBar _obj -  = withBoolResult $-    withObjectRef "styledTextCtrlGetUseVerticalScrollBar" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetUseVerticalScrollBar cobj__obj  -foreign import ccall "wxStyledTextCtrl_GetUseVerticalScrollBar" wxStyledTextCtrl_GetUseVerticalScrollBar :: Ptr (TStyledTextCtrl a) -> IO CBool---- | usage: (@styledTextCtrlGetViewEOL obj@).-styledTextCtrlGetViewEOL :: StyledTextCtrl  a ->  IO Bool-styledTextCtrlGetViewEOL _obj -  = withBoolResult $-    withObjectRef "styledTextCtrlGetViewEOL" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetViewEOL cobj__obj  -foreign import ccall "wxStyledTextCtrl_GetViewEOL" wxStyledTextCtrl_GetViewEOL :: Ptr (TStyledTextCtrl a) -> IO CBool---- | usage: (@styledTextCtrlGetViewWhiteSpace obj@).-styledTextCtrlGetViewWhiteSpace :: StyledTextCtrl  a ->  IO Int-styledTextCtrlGetViewWhiteSpace _obj -  = withIntResult $-    withObjectRef "styledTextCtrlGetViewWhiteSpace" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetViewWhiteSpace cobj__obj  -foreign import ccall "wxStyledTextCtrl_GetViewWhiteSpace" wxStyledTextCtrl_GetViewWhiteSpace :: Ptr (TStyledTextCtrl a) -> IO CInt---- | usage: (@styledTextCtrlGetWrapMode obj@).-styledTextCtrlGetWrapMode :: StyledTextCtrl  a ->  IO Int-styledTextCtrlGetWrapMode _obj -  = withIntResult $-    withObjectRef "styledTextCtrlGetWrapMode" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetWrapMode cobj__obj  -foreign import ccall "wxStyledTextCtrl_GetWrapMode" wxStyledTextCtrl_GetWrapMode :: Ptr (TStyledTextCtrl a) -> IO CInt---- | usage: (@styledTextCtrlGetXOffset obj@).-styledTextCtrlGetXOffset :: StyledTextCtrl  a ->  IO Int-styledTextCtrlGetXOffset _obj -  = withIntResult $-    withObjectRef "styledTextCtrlGetXOffset" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetXOffset cobj__obj  -foreign import ccall "wxStyledTextCtrl_GetXOffset" wxStyledTextCtrl_GetXOffset :: Ptr (TStyledTextCtrl a) -> IO CInt---- | usage: (@styledTextCtrlGetZoom obj@).-styledTextCtrlGetZoom :: StyledTextCtrl  a ->  IO Int-styledTextCtrlGetZoom _obj -  = withIntResult $-    withObjectRef "styledTextCtrlGetZoom" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GetZoom cobj__obj  -foreign import ccall "wxStyledTextCtrl_GetZoom" wxStyledTextCtrl_GetZoom :: Ptr (TStyledTextCtrl a) -> IO CInt---- | usage: (@styledTextCtrlGotoLine obj line@).-styledTextCtrlGotoLine :: StyledTextCtrl  a -> Int ->  IO ()-styledTextCtrlGotoLine _obj line -  = withObjectRef "styledTextCtrlGotoLine" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GotoLine cobj__obj  (toCInt line)  -foreign import ccall "wxStyledTextCtrl_GotoLine" wxStyledTextCtrl_GotoLine :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()---- | usage: (@styledTextCtrlGotoPos obj pos@).-styledTextCtrlGotoPos :: StyledTextCtrl  a -> Int ->  IO ()-styledTextCtrlGotoPos _obj pos -  = withObjectRef "styledTextCtrlGotoPos" _obj $ \cobj__obj -> -    wxStyledTextCtrl_GotoPos cobj__obj  (toCInt pos)  -foreign import ccall "wxStyledTextCtrl_GotoPos" wxStyledTextCtrl_GotoPos :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()---- | usage: (@styledTextCtrlHideLines obj lineStart lineEnd@).-styledTextCtrlHideLines :: StyledTextCtrl  a -> Int -> Int ->  IO ()-styledTextCtrlHideLines _obj lineStart lineEnd -  = withObjectRef "styledTextCtrlHideLines" _obj $ \cobj__obj -> -    wxStyledTextCtrl_HideLines cobj__obj  (toCInt lineStart)  (toCInt lineEnd)  -foreign import ccall "wxStyledTextCtrl_HideLines" wxStyledTextCtrl_HideLines :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> IO ()---- | usage: (@styledTextCtrlHideSelection obj normal@).-styledTextCtrlHideSelection :: StyledTextCtrl  a -> Bool ->  IO ()-styledTextCtrlHideSelection _obj normal -  = withObjectRef "styledTextCtrlHideSelection" _obj $ \cobj__obj -> -    wxStyledTextCtrl_HideSelection cobj__obj  (toCBool normal)  -foreign import ccall "wxStyledTextCtrl_HideSelection" wxStyledTextCtrl_HideSelection :: Ptr (TStyledTextCtrl a) -> CBool -> IO ()---- | usage: (@styledTextCtrlHomeDisplay obj@).-styledTextCtrlHomeDisplay :: StyledTextCtrl  a ->  IO ()-styledTextCtrlHomeDisplay _obj -  = withObjectRef "styledTextCtrlHomeDisplay" _obj $ \cobj__obj -> -    wxStyledTextCtrl_HomeDisplay cobj__obj  -foreign import ccall "wxStyledTextCtrl_HomeDisplay" wxStyledTextCtrl_HomeDisplay :: Ptr (TStyledTextCtrl a) -> IO ()---- | usage: (@styledTextCtrlHomeDisplayExtend obj@).-styledTextCtrlHomeDisplayExtend :: StyledTextCtrl  a ->  IO ()-styledTextCtrlHomeDisplayExtend _obj -  = withObjectRef "styledTextCtrlHomeDisplayExtend" _obj $ \cobj__obj -> -    wxStyledTextCtrl_HomeDisplayExtend cobj__obj  -foreign import ccall "wxStyledTextCtrl_HomeDisplayExtend" wxStyledTextCtrl_HomeDisplayExtend :: Ptr (TStyledTextCtrl a) -> IO ()---- | usage: (@styledTextCtrlIndicatorGetForeground obj indic@).-styledTextCtrlIndicatorGetForeground :: StyledTextCtrl  a -> Int ->  IO (Color)-styledTextCtrlIndicatorGetForeground _obj indic -  = withManagedColourResult $-    withObjectRef "styledTextCtrlIndicatorGetForeground" _obj $ \cobj__obj -> -    wxStyledTextCtrl_IndicatorGetForeground cobj__obj  (toCInt indic)  -foreign import ccall "wxStyledTextCtrl_IndicatorGetForeground" wxStyledTextCtrl_IndicatorGetForeground :: Ptr (TStyledTextCtrl a) -> CInt -> IO (Ptr (TColour ()))---- | usage: (@styledTextCtrlIndicatorGetStyle obj indic@).-styledTextCtrlIndicatorGetStyle :: StyledTextCtrl  a -> Int ->  IO Int-styledTextCtrlIndicatorGetStyle _obj indic -  = withIntResult $-    withObjectRef "styledTextCtrlIndicatorGetStyle" _obj $ \cobj__obj -> -    wxStyledTextCtrl_IndicatorGetStyle cobj__obj  (toCInt indic)  -foreign import ccall "wxStyledTextCtrl_IndicatorGetStyle" wxStyledTextCtrl_IndicatorGetStyle :: Ptr (TStyledTextCtrl a) -> CInt -> IO CInt---- | usage: (@styledTextCtrlIndicatorSetForeground obj indic forerforegforeb@).-styledTextCtrlIndicatorSetForeground :: StyledTextCtrl  a -> Int -> Color ->  IO ()-styledTextCtrlIndicatorSetForeground _obj indic forerforegforeb -  = withObjectRef "styledTextCtrlIndicatorSetForeground" _obj $ \cobj__obj -> -    wxStyledTextCtrl_IndicatorSetForeground cobj__obj  (toCInt indic)  (colorRed forerforegforeb) (colorGreen forerforegforeb) (colorBlue forerforegforeb)  -foreign import ccall "wxStyledTextCtrl_IndicatorSetForeground" wxStyledTextCtrl_IndicatorSetForeground :: Ptr (TStyledTextCtrl a) -> CInt -> Word8 -> Word8 -> Word8 -> IO ()---- | usage: (@styledTextCtrlIndicatorSetStyle obj indic style@).-styledTextCtrlIndicatorSetStyle :: StyledTextCtrl  a -> Int -> Int ->  IO ()-styledTextCtrlIndicatorSetStyle _obj indic style -  = withObjectRef "styledTextCtrlIndicatorSetStyle" _obj $ \cobj__obj -> -    wxStyledTextCtrl_IndicatorSetStyle cobj__obj  (toCInt indic)  (toCInt style)  -foreign import ccall "wxStyledTextCtrl_IndicatorSetStyle" wxStyledTextCtrl_IndicatorSetStyle :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> IO ()---- | usage: (@styledTextCtrlInsertText obj pos text@).-styledTextCtrlInsertText :: StyledTextCtrl  a -> Int -> String ->  IO ()-styledTextCtrlInsertText _obj pos text -  = withObjectRef "styledTextCtrlInsertText" _obj $ \cobj__obj -> -    withStringPtr text $ \cobj_text -> -    wxStyledTextCtrl_InsertText cobj__obj  (toCInt pos)  cobj_text  -foreign import ccall "wxStyledTextCtrl_InsertText" wxStyledTextCtrl_InsertText :: Ptr (TStyledTextCtrl a) -> CInt -> Ptr (TWxString c) -> IO ()---- | usage: (@styledTextCtrlLineCopy obj@).-styledTextCtrlLineCopy :: StyledTextCtrl  a ->  IO ()-styledTextCtrlLineCopy _obj -  = withObjectRef "styledTextCtrlLineCopy" _obj $ \cobj__obj -> -    wxStyledTextCtrl_LineCopy cobj__obj  -foreign import ccall "wxStyledTextCtrl_LineCopy" wxStyledTextCtrl_LineCopy :: Ptr (TStyledTextCtrl a) -> IO ()---- | usage: (@styledTextCtrlLineDuplicate obj@).-styledTextCtrlLineDuplicate :: StyledTextCtrl  a ->  IO ()-styledTextCtrlLineDuplicate _obj -  = withObjectRef "styledTextCtrlLineDuplicate" _obj $ \cobj__obj -> -    wxStyledTextCtrl_LineDuplicate cobj__obj  -foreign import ccall "wxStyledTextCtrl_LineDuplicate" wxStyledTextCtrl_LineDuplicate :: Ptr (TStyledTextCtrl a) -> IO ()---- | usage: (@styledTextCtrlLineEndDisplay obj@).-styledTextCtrlLineEndDisplay :: StyledTextCtrl  a ->  IO ()-styledTextCtrlLineEndDisplay _obj -  = withObjectRef "styledTextCtrlLineEndDisplay" _obj $ \cobj__obj -> -    wxStyledTextCtrl_LineEndDisplay cobj__obj  -foreign import ccall "wxStyledTextCtrl_LineEndDisplay" wxStyledTextCtrl_LineEndDisplay :: Ptr (TStyledTextCtrl a) -> IO ()---- | usage: (@styledTextCtrlLineEndDisplayExtend obj@).-styledTextCtrlLineEndDisplayExtend :: StyledTextCtrl  a ->  IO ()-styledTextCtrlLineEndDisplayExtend _obj -  = withObjectRef "styledTextCtrlLineEndDisplayExtend" _obj $ \cobj__obj -> -    wxStyledTextCtrl_LineEndDisplayExtend cobj__obj  -foreign import ccall "wxStyledTextCtrl_LineEndDisplayExtend" wxStyledTextCtrl_LineEndDisplayExtend :: Ptr (TStyledTextCtrl a) -> IO ()---- | usage: (@styledTextCtrlLineFromPosition obj pos@).-styledTextCtrlLineFromPosition :: StyledTextCtrl  a -> Int ->  IO Int-styledTextCtrlLineFromPosition _obj pos -  = withIntResult $-    withObjectRef "styledTextCtrlLineFromPosition" _obj $ \cobj__obj -> -    wxStyledTextCtrl_LineFromPosition cobj__obj  (toCInt pos)  -foreign import ccall "wxStyledTextCtrl_LineFromPosition" wxStyledTextCtrl_LineFromPosition :: Ptr (TStyledTextCtrl a) -> CInt -> IO CInt---- | usage: (@styledTextCtrlLineLength obj line@).-styledTextCtrlLineLength :: StyledTextCtrl  a -> Int ->  IO Int-styledTextCtrlLineLength _obj line -  = withIntResult $-    withObjectRef "styledTextCtrlLineLength" _obj $ \cobj__obj -> -    wxStyledTextCtrl_LineLength cobj__obj  (toCInt line)  -foreign import ccall "wxStyledTextCtrl_LineLength" wxStyledTextCtrl_LineLength :: Ptr (TStyledTextCtrl a) -> CInt -> IO CInt---- | usage: (@styledTextCtrlLineScroll obj columns lines@).-styledTextCtrlLineScroll :: StyledTextCtrl  a -> Int -> Int ->  IO ()-styledTextCtrlLineScroll _obj columns lines -  = withObjectRef "styledTextCtrlLineScroll" _obj $ \cobj__obj -> -    wxStyledTextCtrl_LineScroll cobj__obj  (toCInt columns)  (toCInt lines)  -foreign import ccall "wxStyledTextCtrl_LineScroll" wxStyledTextCtrl_LineScroll :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> IO ()---- | usage: (@styledTextCtrlLinesJoin obj@).-styledTextCtrlLinesJoin :: StyledTextCtrl  a ->  IO ()-styledTextCtrlLinesJoin _obj -  = withObjectRef "styledTextCtrlLinesJoin" _obj $ \cobj__obj -> -    wxStyledTextCtrl_LinesJoin cobj__obj  -foreign import ccall "wxStyledTextCtrl_LinesJoin" wxStyledTextCtrl_LinesJoin :: Ptr (TStyledTextCtrl a) -> IO ()---- | usage: (@styledTextCtrlLinesOnScreen obj@).-styledTextCtrlLinesOnScreen :: StyledTextCtrl  a ->  IO Int-styledTextCtrlLinesOnScreen _obj -  = withIntResult $-    withObjectRef "styledTextCtrlLinesOnScreen" _obj $ \cobj__obj -> -    wxStyledTextCtrl_LinesOnScreen cobj__obj  -foreign import ccall "wxStyledTextCtrl_LinesOnScreen" wxStyledTextCtrl_LinesOnScreen :: Ptr (TStyledTextCtrl a) -> IO CInt---- | usage: (@styledTextCtrlLinesSplit obj pixelWidth@).-styledTextCtrlLinesSplit :: StyledTextCtrl  a -> Int ->  IO ()-styledTextCtrlLinesSplit _obj pixelWidth -  = withObjectRef "styledTextCtrlLinesSplit" _obj $ \cobj__obj -> -    wxStyledTextCtrl_LinesSplit cobj__obj  (toCInt pixelWidth)  -foreign import ccall "wxStyledTextCtrl_LinesSplit" wxStyledTextCtrl_LinesSplit :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()---- | usage: (@styledTextCtrlLoadFile obj filename@).-styledTextCtrlLoadFile :: StyledTextCtrl  a -> String ->  IO Bool-styledTextCtrlLoadFile _obj filename -  = withBoolResult $-    withObjectRef "styledTextCtrlLoadFile" _obj $ \cobj__obj -> -    withStringPtr filename $ \cobj_filename -> -    wxStyledTextCtrl_LoadFile cobj__obj  cobj_filename  -foreign import ccall "wxStyledTextCtrl_LoadFile" wxStyledTextCtrl_LoadFile :: Ptr (TStyledTextCtrl a) -> Ptr (TWxString b) -> IO CBool---- | usage: (@styledTextCtrlMarkerAdd obj line markerNumber@).-styledTextCtrlMarkerAdd :: StyledTextCtrl  a -> Int -> Int ->  IO Int-styledTextCtrlMarkerAdd _obj line markerNumber -  = withIntResult $-    withObjectRef "styledTextCtrlMarkerAdd" _obj $ \cobj__obj -> -    wxStyledTextCtrl_MarkerAdd cobj__obj  (toCInt line)  (toCInt markerNumber)  -foreign import ccall "wxStyledTextCtrl_MarkerAdd" wxStyledTextCtrl_MarkerAdd :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> IO CInt---- | usage: (@styledTextCtrlMarkerDefine obj markerNumber markerSymbol foregroundrforegroundgforegroundb backgroundrbackgroundgbackgroundb@).-styledTextCtrlMarkerDefine :: StyledTextCtrl  a -> Int -> Int -> Color -> Color ->  IO ()-styledTextCtrlMarkerDefine _obj markerNumber markerSymbol foregroundrforegroundgforegroundb backgroundrbackgroundgbackgroundb -  = withObjectRef "styledTextCtrlMarkerDefine" _obj $ \cobj__obj -> -    wxStyledTextCtrl_MarkerDefine cobj__obj  (toCInt markerNumber)  (toCInt markerSymbol)  (colorRed foregroundrforegroundgforegroundb) (colorGreen foregroundrforegroundgforegroundb) (colorBlue foregroundrforegroundgforegroundb)  (colorRed backgroundrbackgroundgbackgroundb) (colorGreen backgroundrbackgroundgbackgroundb) (colorBlue backgroundrbackgroundgbackgroundb)  -foreign import ccall "wxStyledTextCtrl_MarkerDefine" wxStyledTextCtrl_MarkerDefine :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> Word8 -> Word8 -> Word8 -> Word8 -> Word8 -> Word8 -> IO ()---- | usage: (@styledTextCtrlMarkerDefineBitmap obj markerNumber bmp@).-styledTextCtrlMarkerDefineBitmap :: StyledTextCtrl  a -> Int -> Bitmap  c ->  IO ()-styledTextCtrlMarkerDefineBitmap _obj markerNumber bmp -  = withObjectRef "styledTextCtrlMarkerDefineBitmap" _obj $ \cobj__obj -> -    withObjectPtr bmp $ \cobj_bmp -> -    wxStyledTextCtrl_MarkerDefineBitmap cobj__obj  (toCInt markerNumber)  cobj_bmp  -foreign import ccall "wxStyledTextCtrl_MarkerDefineBitmap" wxStyledTextCtrl_MarkerDefineBitmap :: Ptr (TStyledTextCtrl a) -> CInt -> Ptr (TBitmap c) -> IO ()---- | usage: (@styledTextCtrlMarkerDelete obj line markerNumber@).-styledTextCtrlMarkerDelete :: StyledTextCtrl  a -> Int -> Int ->  IO ()-styledTextCtrlMarkerDelete _obj line markerNumber -  = withObjectRef "styledTextCtrlMarkerDelete" _obj $ \cobj__obj -> -    wxStyledTextCtrl_MarkerDelete cobj__obj  (toCInt line)  (toCInt markerNumber)  -foreign import ccall "wxStyledTextCtrl_MarkerDelete" wxStyledTextCtrl_MarkerDelete :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> IO ()---- | usage: (@styledTextCtrlMarkerDeleteAll obj markerNumber@).-styledTextCtrlMarkerDeleteAll :: StyledTextCtrl  a -> Int ->  IO ()-styledTextCtrlMarkerDeleteAll _obj markerNumber -  = withObjectRef "styledTextCtrlMarkerDeleteAll" _obj $ \cobj__obj -> -    wxStyledTextCtrl_MarkerDeleteAll cobj__obj  (toCInt markerNumber)  -foreign import ccall "wxStyledTextCtrl_MarkerDeleteAll" wxStyledTextCtrl_MarkerDeleteAll :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()---- | usage: (@styledTextCtrlMarkerDeleteHandle obj handle@).-styledTextCtrlMarkerDeleteHandle :: StyledTextCtrl  a -> Int ->  IO ()-styledTextCtrlMarkerDeleteHandle _obj handle -  = withObjectRef "styledTextCtrlMarkerDeleteHandle" _obj $ \cobj__obj -> -    wxStyledTextCtrl_MarkerDeleteHandle cobj__obj  (toCInt handle)  -foreign import ccall "wxStyledTextCtrl_MarkerDeleteHandle" wxStyledTextCtrl_MarkerDeleteHandle :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()---- | usage: (@styledTextCtrlMarkerGet obj line@).-styledTextCtrlMarkerGet :: StyledTextCtrl  a -> Int ->  IO Int-styledTextCtrlMarkerGet _obj line -  = withIntResult $-    withObjectRef "styledTextCtrlMarkerGet" _obj $ \cobj__obj -> -    wxStyledTextCtrl_MarkerGet cobj__obj  (toCInt line)  -foreign import ccall "wxStyledTextCtrl_MarkerGet" wxStyledTextCtrl_MarkerGet :: Ptr (TStyledTextCtrl a) -> CInt -> IO CInt---- | usage: (@styledTextCtrlMarkerLineFromHandle obj handle@).-styledTextCtrlMarkerLineFromHandle :: StyledTextCtrl  a -> Int ->  IO Int-styledTextCtrlMarkerLineFromHandle _obj handle -  = withIntResult $-    withObjectRef "styledTextCtrlMarkerLineFromHandle" _obj $ \cobj__obj -> -    wxStyledTextCtrl_MarkerLineFromHandle cobj__obj  (toCInt handle)  -foreign import ccall "wxStyledTextCtrl_MarkerLineFromHandle" wxStyledTextCtrl_MarkerLineFromHandle :: Ptr (TStyledTextCtrl a) -> CInt -> IO CInt---- | usage: (@styledTextCtrlMarkerNext obj lineStart markerMask@).-styledTextCtrlMarkerNext :: StyledTextCtrl  a -> Int -> Int ->  IO Int-styledTextCtrlMarkerNext _obj lineStart markerMask -  = withIntResult $-    withObjectRef "styledTextCtrlMarkerNext" _obj $ \cobj__obj -> -    wxStyledTextCtrl_MarkerNext cobj__obj  (toCInt lineStart)  (toCInt markerMask)  -foreign import ccall "wxStyledTextCtrl_MarkerNext" wxStyledTextCtrl_MarkerNext :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> IO CInt---- | usage: (@styledTextCtrlMarkerPrevious obj lineStart markerMask@).-styledTextCtrlMarkerPrevious :: StyledTextCtrl  a -> Int -> Int ->  IO Int-styledTextCtrlMarkerPrevious _obj lineStart markerMask -  = withIntResult $-    withObjectRef "styledTextCtrlMarkerPrevious" _obj $ \cobj__obj -> -    wxStyledTextCtrl_MarkerPrevious cobj__obj  (toCInt lineStart)  (toCInt markerMask)  -foreign import ccall "wxStyledTextCtrl_MarkerPrevious" wxStyledTextCtrl_MarkerPrevious :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> IO CInt---- | usage: (@styledTextCtrlMarkerSetBackground obj markerNumber backrbackgbackb@).-styledTextCtrlMarkerSetBackground :: StyledTextCtrl  a -> Int -> Color ->  IO ()-styledTextCtrlMarkerSetBackground _obj markerNumber backrbackgbackb -  = withObjectRef "styledTextCtrlMarkerSetBackground" _obj $ \cobj__obj -> -    wxStyledTextCtrl_MarkerSetBackground cobj__obj  (toCInt markerNumber)  (colorRed backrbackgbackb) (colorGreen backrbackgbackb) (colorBlue backrbackgbackb)  -foreign import ccall "wxStyledTextCtrl_MarkerSetBackground" wxStyledTextCtrl_MarkerSetBackground :: Ptr (TStyledTextCtrl a) -> CInt -> Word8 -> Word8 -> Word8 -> IO ()---- | usage: (@styledTextCtrlMarkerSetForeground obj markerNumber forerforegforeb@).-styledTextCtrlMarkerSetForeground :: StyledTextCtrl  a -> Int -> Color ->  IO ()-styledTextCtrlMarkerSetForeground _obj markerNumber forerforegforeb -  = withObjectRef "styledTextCtrlMarkerSetForeground" _obj $ \cobj__obj -> -    wxStyledTextCtrl_MarkerSetForeground cobj__obj  (toCInt markerNumber)  (colorRed forerforegforeb) (colorGreen forerforegforeb) (colorBlue forerforegforeb)  -foreign import ccall "wxStyledTextCtrl_MarkerSetForeground" wxStyledTextCtrl_MarkerSetForeground :: Ptr (TStyledTextCtrl a) -> CInt -> Word8 -> Word8 -> Word8 -> IO ()---- | usage: (@styledTextCtrlMoveCaretInsideView obj@).-styledTextCtrlMoveCaretInsideView :: StyledTextCtrl  a ->  IO ()-styledTextCtrlMoveCaretInsideView _obj -  = withObjectRef "styledTextCtrlMoveCaretInsideView" _obj $ \cobj__obj -> -    wxStyledTextCtrl_MoveCaretInsideView cobj__obj  -foreign import ccall "wxStyledTextCtrl_MoveCaretInsideView" wxStyledTextCtrl_MoveCaretInsideView :: Ptr (TStyledTextCtrl a) -> IO ()---- | usage: (@styledTextCtrlPaste obj@).-styledTextCtrlPaste :: StyledTextCtrl  a ->  IO ()-styledTextCtrlPaste _obj -  = withObjectRef "styledTextCtrlPaste" _obj $ \cobj__obj -> -    wxStyledTextCtrl_Paste cobj__obj  -foreign import ccall "wxStyledTextCtrl_Paste" wxStyledTextCtrl_Paste :: Ptr (TStyledTextCtrl a) -> IO ()---- | usage: (@styledTextCtrlPointFromPosition obj@).-styledTextCtrlPointFromPosition :: StyledTextCtrl  a ->  IO (Point)-styledTextCtrlPointFromPosition _obj -  = withWxPointResult $-    withObjectRef "styledTextCtrlPointFromPosition" _obj $ \cobj__obj -> -    wxStyledTextCtrl_PointFromPosition cobj__obj  -foreign import ccall "wxStyledTextCtrl_PointFromPosition" wxStyledTextCtrl_PointFromPosition :: Ptr (TStyledTextCtrl a) -> IO (Ptr (TWxPoint ()))---- | usage: (@styledTextCtrlPositionAfter obj pos@).-styledTextCtrlPositionAfter :: StyledTextCtrl  a -> Int ->  IO Int-styledTextCtrlPositionAfter _obj pos -  = withIntResult $-    withObjectRef "styledTextCtrlPositionAfter" _obj $ \cobj__obj -> -    wxStyledTextCtrl_PositionAfter cobj__obj  (toCInt pos)  -foreign import ccall "wxStyledTextCtrl_PositionAfter" wxStyledTextCtrl_PositionAfter :: Ptr (TStyledTextCtrl a) -> CInt -> IO CInt---- | usage: (@styledTextCtrlPositionBefore obj pos@).-styledTextCtrlPositionBefore :: StyledTextCtrl  a -> Int ->  IO Int-styledTextCtrlPositionBefore _obj pos -  = withIntResult $-    withObjectRef "styledTextCtrlPositionBefore" _obj $ \cobj__obj -> -    wxStyledTextCtrl_PositionBefore cobj__obj  (toCInt pos)  -foreign import ccall "wxStyledTextCtrl_PositionBefore" wxStyledTextCtrl_PositionBefore :: Ptr (TStyledTextCtrl a) -> CInt -> IO CInt---- | usage: (@styledTextCtrlPositionFromLine obj line@).-styledTextCtrlPositionFromLine :: StyledTextCtrl  a -> Int ->  IO Int-styledTextCtrlPositionFromLine _obj line -  = withIntResult $-    withObjectRef "styledTextCtrlPositionFromLine" _obj $ \cobj__obj -> -    wxStyledTextCtrl_PositionFromLine cobj__obj  (toCInt line)  -foreign import ccall "wxStyledTextCtrl_PositionFromLine" wxStyledTextCtrl_PositionFromLine :: Ptr (TStyledTextCtrl a) -> CInt -> IO CInt---- | usage: (@styledTextCtrlPositionFromPoint obj ptxpty@).-styledTextCtrlPositionFromPoint :: StyledTextCtrl  a -> Point ->  IO Int-styledTextCtrlPositionFromPoint _obj ptxpty -  = withIntResult $-    withObjectRef "styledTextCtrlPositionFromPoint" _obj $ \cobj__obj -> -    wxStyledTextCtrl_PositionFromPoint cobj__obj  (toCIntPointX ptxpty) (toCIntPointY ptxpty)  -foreign import ccall "wxStyledTextCtrl_PositionFromPoint" wxStyledTextCtrl_PositionFromPoint :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> IO CInt---- | usage: (@styledTextCtrlPositionFromPointClose obj xy@).-styledTextCtrlPositionFromPointClose :: StyledTextCtrl  a -> Point ->  IO Int-styledTextCtrlPositionFromPointClose _obj xy -  = withIntResult $-    withObjectRef "styledTextCtrlPositionFromPointClose" _obj $ \cobj__obj -> -    wxStyledTextCtrl_PositionFromPointClose cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  -foreign import ccall "wxStyledTextCtrl_PositionFromPointClose" wxStyledTextCtrl_PositionFromPointClose :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> IO CInt---- | usage: (@styledTextCtrlRedo obj@).-styledTextCtrlRedo :: StyledTextCtrl  a ->  IO ()-styledTextCtrlRedo _obj -  = withObjectRef "styledTextCtrlRedo" _obj $ \cobj__obj -> -    wxStyledTextCtrl_Redo cobj__obj  -foreign import ccall "wxStyledTextCtrl_Redo" wxStyledTextCtrl_Redo :: Ptr (TStyledTextCtrl a) -> IO ()---- | usage: (@styledTextCtrlRegisterImage obj wxtype bmp@).-styledTextCtrlRegisterImage :: StyledTextCtrl  a -> Int -> Bitmap  c ->  IO ()-styledTextCtrlRegisterImage _obj wxtype bmp -  = withObjectRef "styledTextCtrlRegisterImage" _obj $ \cobj__obj -> -    withObjectPtr bmp $ \cobj_bmp -> -    wxStyledTextCtrl_RegisterImage cobj__obj  (toCInt wxtype)  cobj_bmp  -foreign import ccall "wxStyledTextCtrl_RegisterImage" wxStyledTextCtrl_RegisterImage :: Ptr (TStyledTextCtrl a) -> CInt -> Ptr (TBitmap c) -> IO ()---- | usage: (@styledTextCtrlReleaseDocument obj docPointer@).-styledTextCtrlReleaseDocument :: StyledTextCtrl  a -> STCDoc  b ->  IO ()-styledTextCtrlReleaseDocument _obj docPointer -  = withObjectRef "styledTextCtrlReleaseDocument" _obj $ \cobj__obj -> -    withObjectPtr docPointer $ \cobj_docPointer -> -    wxStyledTextCtrl_ReleaseDocument cobj__obj  cobj_docPointer  -foreign import ccall "wxStyledTextCtrl_ReleaseDocument" wxStyledTextCtrl_ReleaseDocument :: Ptr (TStyledTextCtrl a) -> Ptr (TSTCDoc b) -> IO ()---- | usage: (@styledTextCtrlReplaceSelection obj text@).-styledTextCtrlReplaceSelection :: StyledTextCtrl  a -> String ->  IO ()-styledTextCtrlReplaceSelection _obj text -  = withObjectRef "styledTextCtrlReplaceSelection" _obj $ \cobj__obj -> -    withStringPtr text $ \cobj_text -> -    wxStyledTextCtrl_ReplaceSelection cobj__obj  cobj_text  -foreign import ccall "wxStyledTextCtrl_ReplaceSelection" wxStyledTextCtrl_ReplaceSelection :: Ptr (TStyledTextCtrl a) -> Ptr (TWxString b) -> IO ()---- | usage: (@styledTextCtrlReplaceTarget obj text@).-styledTextCtrlReplaceTarget :: StyledTextCtrl  a -> String ->  IO Int-styledTextCtrlReplaceTarget _obj text -  = withIntResult $-    withObjectRef "styledTextCtrlReplaceTarget" _obj $ \cobj__obj -> -    withStringPtr text $ \cobj_text -> -    wxStyledTextCtrl_ReplaceTarget cobj__obj  cobj_text  -foreign import ccall "wxStyledTextCtrl_ReplaceTarget" wxStyledTextCtrl_ReplaceTarget :: Ptr (TStyledTextCtrl a) -> Ptr (TWxString b) -> IO CInt---- | usage: (@styledTextCtrlReplaceTargetRE obj text@).-styledTextCtrlReplaceTargetRE :: StyledTextCtrl  a -> String ->  IO Int-styledTextCtrlReplaceTargetRE _obj text -  = withIntResult $-    withObjectRef "styledTextCtrlReplaceTargetRE" _obj $ \cobj__obj -> -    withStringPtr text $ \cobj_text -> -    wxStyledTextCtrl_ReplaceTargetRE cobj__obj  cobj_text  -foreign import ccall "wxStyledTextCtrl_ReplaceTargetRE" wxStyledTextCtrl_ReplaceTargetRE :: Ptr (TStyledTextCtrl a) -> Ptr (TWxString b) -> IO CInt---- | usage: (@styledTextCtrlSaveFile obj filename@).-styledTextCtrlSaveFile :: StyledTextCtrl  a -> String ->  IO Bool-styledTextCtrlSaveFile _obj filename -  = withBoolResult $-    withObjectRef "styledTextCtrlSaveFile" _obj $ \cobj__obj -> -    withStringPtr filename $ \cobj_filename -> -    wxStyledTextCtrl_SaveFile cobj__obj  cobj_filename  -foreign import ccall "wxStyledTextCtrl_SaveFile" wxStyledTextCtrl_SaveFile :: Ptr (TStyledTextCtrl a) -> Ptr (TWxString b) -> IO CBool---- | usage: (@styledTextCtrlScrollToColumn obj column@).-styledTextCtrlScrollToColumn :: StyledTextCtrl  a -> Int ->  IO ()-styledTextCtrlScrollToColumn _obj column -  = withObjectRef "styledTextCtrlScrollToColumn" _obj $ \cobj__obj -> -    wxStyledTextCtrl_ScrollToColumn cobj__obj  (toCInt column)  -foreign import ccall "wxStyledTextCtrl_ScrollToColumn" wxStyledTextCtrl_ScrollToColumn :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()---- | usage: (@styledTextCtrlScrollToLine obj line@).-styledTextCtrlScrollToLine :: StyledTextCtrl  a -> Int ->  IO ()-styledTextCtrlScrollToLine _obj line -  = withObjectRef "styledTextCtrlScrollToLine" _obj $ \cobj__obj -> -    wxStyledTextCtrl_ScrollToLine cobj__obj  (toCInt line)  -foreign import ccall "wxStyledTextCtrl_ScrollToLine" wxStyledTextCtrl_ScrollToLine :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()---- | usage: (@styledTextCtrlSearchAnchor obj@).-styledTextCtrlSearchAnchor :: StyledTextCtrl  a ->  IO ()-styledTextCtrlSearchAnchor _obj -  = withObjectRef "styledTextCtrlSearchAnchor" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SearchAnchor cobj__obj  -foreign import ccall "wxStyledTextCtrl_SearchAnchor" wxStyledTextCtrl_SearchAnchor :: Ptr (TStyledTextCtrl a) -> IO ()---- | usage: (@styledTextCtrlSearchInTarget obj text@).-styledTextCtrlSearchInTarget :: StyledTextCtrl  a -> String ->  IO Int-styledTextCtrlSearchInTarget _obj text -  = withIntResult $-    withObjectRef "styledTextCtrlSearchInTarget" _obj $ \cobj__obj -> -    withStringPtr text $ \cobj_text -> -    wxStyledTextCtrl_SearchInTarget cobj__obj  cobj_text  -foreign import ccall "wxStyledTextCtrl_SearchInTarget" wxStyledTextCtrl_SearchInTarget :: Ptr (TStyledTextCtrl a) -> Ptr (TWxString b) -> IO CInt---- | usage: (@styledTextCtrlSearchNext obj flags text@).-styledTextCtrlSearchNext :: StyledTextCtrl  a -> Int -> String ->  IO Int-styledTextCtrlSearchNext _obj flags text -  = withIntResult $-    withObjectRef "styledTextCtrlSearchNext" _obj $ \cobj__obj -> -    withStringPtr text $ \cobj_text -> -    wxStyledTextCtrl_SearchNext cobj__obj  (toCInt flags)  cobj_text  -foreign import ccall "wxStyledTextCtrl_SearchNext" wxStyledTextCtrl_SearchNext :: Ptr (TStyledTextCtrl a) -> CInt -> Ptr (TWxString c) -> IO CInt---- | usage: (@styledTextCtrlSearchPrev obj flags text@).-styledTextCtrlSearchPrev :: StyledTextCtrl  a -> Int -> String ->  IO Int-styledTextCtrlSearchPrev _obj flags text -  = withIntResult $-    withObjectRef "styledTextCtrlSearchPrev" _obj $ \cobj__obj -> -    withStringPtr text $ \cobj_text -> -    wxStyledTextCtrl_SearchPrev cobj__obj  (toCInt flags)  cobj_text  -foreign import ccall "wxStyledTextCtrl_SearchPrev" wxStyledTextCtrl_SearchPrev :: Ptr (TStyledTextCtrl a) -> CInt -> Ptr (TWxString c) -> IO CInt---- | usage: (@styledTextCtrlSelectAll obj@).-styledTextCtrlSelectAll :: StyledTextCtrl  a ->  IO ()-styledTextCtrlSelectAll _obj -  = withObjectRef "styledTextCtrlSelectAll" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SelectAll cobj__obj  -foreign import ccall "wxStyledTextCtrl_SelectAll" wxStyledTextCtrl_SelectAll :: Ptr (TStyledTextCtrl a) -> IO ()---- | usage: (@styledTextCtrlSelectionIsRectangle obj@).-styledTextCtrlSelectionIsRectangle :: StyledTextCtrl  a ->  IO Bool-styledTextCtrlSelectionIsRectangle _obj -  = withBoolResult $-    withObjectRef "styledTextCtrlSelectionIsRectangle" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SelectionIsRectangle cobj__obj  -foreign import ccall "wxStyledTextCtrl_SelectionIsRectangle" wxStyledTextCtrl_SelectionIsRectangle :: Ptr (TStyledTextCtrl a) -> IO CBool---- | usage: (@styledTextCtrlSetAnchor obj posAnchor@).-styledTextCtrlSetAnchor :: StyledTextCtrl  a -> Int ->  IO ()-styledTextCtrlSetAnchor _obj posAnchor -  = withObjectRef "styledTextCtrlSetAnchor" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetAnchor cobj__obj  (toCInt posAnchor)  -foreign import ccall "wxStyledTextCtrl_SetAnchor" wxStyledTextCtrl_SetAnchor :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()---- | usage: (@styledTextCtrlSetBackSpaceUnIndents obj bsUnIndents@).-styledTextCtrlSetBackSpaceUnIndents :: StyledTextCtrl  a -> Bool ->  IO ()-styledTextCtrlSetBackSpaceUnIndents _obj bsUnIndents -  = withObjectRef "styledTextCtrlSetBackSpaceUnIndents" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetBackSpaceUnIndents cobj__obj  (toCBool bsUnIndents)  -foreign import ccall "wxStyledTextCtrl_SetBackSpaceUnIndents" wxStyledTextCtrl_SetBackSpaceUnIndents :: Ptr (TStyledTextCtrl a) -> CBool -> IO ()---- | usage: (@styledTextCtrlSetBufferedDraw obj buffered@).-styledTextCtrlSetBufferedDraw :: StyledTextCtrl  a -> Bool ->  IO ()-styledTextCtrlSetBufferedDraw _obj buffered -  = withObjectRef "styledTextCtrlSetBufferedDraw" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetBufferedDraw cobj__obj  (toCBool buffered)  -foreign import ccall "wxStyledTextCtrl_SetBufferedDraw" wxStyledTextCtrl_SetBufferedDraw :: Ptr (TStyledTextCtrl a) -> CBool -> IO ()---- | usage: (@styledTextCtrlSetCaretForeground obj forerforegforeb@).-styledTextCtrlSetCaretForeground :: StyledTextCtrl  a -> Color ->  IO ()-styledTextCtrlSetCaretForeground _obj forerforegforeb -  = withObjectRef "styledTextCtrlSetCaretForeground" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetCaretForeground cobj__obj  (colorRed forerforegforeb) (colorGreen forerforegforeb) (colorBlue forerforegforeb)  -foreign import ccall "wxStyledTextCtrl_SetCaretForeground" wxStyledTextCtrl_SetCaretForeground :: Ptr (TStyledTextCtrl a) -> Word8 -> Word8 -> Word8 -> IO ()---- | usage: (@styledTextCtrlSetCaretLineBackground obj backrbackgbackb@).-styledTextCtrlSetCaretLineBackground :: StyledTextCtrl  a -> Color ->  IO ()-styledTextCtrlSetCaretLineBackground _obj backrbackgbackb -  = withObjectRef "styledTextCtrlSetCaretLineBackground" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetCaretLineBackground cobj__obj  (colorRed backrbackgbackb) (colorGreen backrbackgbackb) (colorBlue backrbackgbackb)  -foreign import ccall "wxStyledTextCtrl_SetCaretLineBackground" wxStyledTextCtrl_SetCaretLineBackground :: Ptr (TStyledTextCtrl a) -> Word8 -> Word8 -> Word8 -> IO ()---- | usage: (@styledTextCtrlSetCaretLineVisible obj show@).-styledTextCtrlSetCaretLineVisible :: StyledTextCtrl  a -> Bool ->  IO ()-styledTextCtrlSetCaretLineVisible _obj show -  = withObjectRef "styledTextCtrlSetCaretLineVisible" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetCaretLineVisible cobj__obj  (toCBool show)  -foreign import ccall "wxStyledTextCtrl_SetCaretLineVisible" wxStyledTextCtrl_SetCaretLineVisible :: Ptr (TStyledTextCtrl a) -> CBool -> IO ()---- | usage: (@styledTextCtrlSetCaretPeriod obj periodMilliseconds@).-styledTextCtrlSetCaretPeriod :: StyledTextCtrl  a -> Int ->  IO ()-styledTextCtrlSetCaretPeriod _obj periodMilliseconds -  = withObjectRef "styledTextCtrlSetCaretPeriod" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetCaretPeriod cobj__obj  (toCInt periodMilliseconds)  -foreign import ccall "wxStyledTextCtrl_SetCaretPeriod" wxStyledTextCtrl_SetCaretPeriod :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()---- | usage: (@styledTextCtrlSetCaretWidth obj pixelWidth@).-styledTextCtrlSetCaretWidth :: StyledTextCtrl  a -> Int ->  IO ()-styledTextCtrlSetCaretWidth _obj pixelWidth -  = withObjectRef "styledTextCtrlSetCaretWidth" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetCaretWidth cobj__obj  (toCInt pixelWidth)  -foreign import ccall "wxStyledTextCtrl_SetCaretWidth" wxStyledTextCtrl_SetCaretWidth :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()---- | usage: (@styledTextCtrlSetCodePage obj codePage@).-styledTextCtrlSetCodePage :: StyledTextCtrl  a -> Int ->  IO ()-styledTextCtrlSetCodePage _obj codePage -  = withObjectRef "styledTextCtrlSetCodePage" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetCodePage cobj__obj  (toCInt codePage)  -foreign import ccall "wxStyledTextCtrl_SetCodePage" wxStyledTextCtrl_SetCodePage :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()---- | usage: (@styledTextCtrlSetControlCharSymbol obj symbol@).-styledTextCtrlSetControlCharSymbol :: StyledTextCtrl  a -> Int ->  IO ()-styledTextCtrlSetControlCharSymbol _obj symbol -  = withObjectRef "styledTextCtrlSetControlCharSymbol" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetControlCharSymbol cobj__obj  (toCInt symbol)  -foreign import ccall "wxStyledTextCtrl_SetControlCharSymbol" wxStyledTextCtrl_SetControlCharSymbol :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()---- | usage: (@styledTextCtrlSetCurrentPos obj pos@).-styledTextCtrlSetCurrentPos :: StyledTextCtrl  a -> Int ->  IO ()-styledTextCtrlSetCurrentPos _obj pos -  = withObjectRef "styledTextCtrlSetCurrentPos" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetCurrentPos cobj__obj  (toCInt pos)  -foreign import ccall "wxStyledTextCtrl_SetCurrentPos" wxStyledTextCtrl_SetCurrentPos :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()---- | usage: (@styledTextCtrlSetDocPointer obj docPointer@).-styledTextCtrlSetDocPointer :: StyledTextCtrl  a -> STCDoc  b ->  IO ()-styledTextCtrlSetDocPointer _obj docPointer -  = withObjectRef "styledTextCtrlSetDocPointer" _obj $ \cobj__obj -> -    withObjectPtr docPointer $ \cobj_docPointer -> -    wxStyledTextCtrl_SetDocPointer cobj__obj  cobj_docPointer  -foreign import ccall "wxStyledTextCtrl_SetDocPointer" wxStyledTextCtrl_SetDocPointer :: Ptr (TStyledTextCtrl a) -> Ptr (TSTCDoc b) -> IO ()---- | usage: (@styledTextCtrlSetEOLMode obj eolMode@).-styledTextCtrlSetEOLMode :: StyledTextCtrl  a -> Int ->  IO ()-styledTextCtrlSetEOLMode _obj eolMode -  = withObjectRef "styledTextCtrlSetEOLMode" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetEOLMode cobj__obj  (toCInt eolMode)  -foreign import ccall "wxStyledTextCtrl_SetEOLMode" wxStyledTextCtrl_SetEOLMode :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()---- | usage: (@styledTextCtrlSetEdgeColour obj edgeColourredgeColourgedgeColourb@).-styledTextCtrlSetEdgeColour :: StyledTextCtrl  a -> Color ->  IO ()-styledTextCtrlSetEdgeColour _obj edgeColourredgeColourgedgeColourb -  = withObjectRef "styledTextCtrlSetEdgeColour" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetEdgeColour cobj__obj  (colorRed edgeColourredgeColourgedgeColourb) (colorGreen edgeColourredgeColourgedgeColourb) (colorBlue edgeColourredgeColourgedgeColourb)  -foreign import ccall "wxStyledTextCtrl_SetEdgeColour" wxStyledTextCtrl_SetEdgeColour :: Ptr (TStyledTextCtrl a) -> Word8 -> Word8 -> Word8 -> IO ()---- | usage: (@styledTextCtrlSetEdgeColumn obj column@).-styledTextCtrlSetEdgeColumn :: StyledTextCtrl  a -> Int ->  IO ()-styledTextCtrlSetEdgeColumn _obj column -  = withObjectRef "styledTextCtrlSetEdgeColumn" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetEdgeColumn cobj__obj  (toCInt column)  -foreign import ccall "wxStyledTextCtrl_SetEdgeColumn" wxStyledTextCtrl_SetEdgeColumn :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()---- | usage: (@styledTextCtrlSetEdgeMode obj mode@).-styledTextCtrlSetEdgeMode :: StyledTextCtrl  a -> Int ->  IO ()-styledTextCtrlSetEdgeMode _obj mode -  = withObjectRef "styledTextCtrlSetEdgeMode" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetEdgeMode cobj__obj  (toCInt mode)  -foreign import ccall "wxStyledTextCtrl_SetEdgeMode" wxStyledTextCtrl_SetEdgeMode :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()---- | usage: (@styledTextCtrlSetEndAtLastLine obj endAtLastLine@).-styledTextCtrlSetEndAtLastLine :: StyledTextCtrl  a -> Bool ->  IO ()-styledTextCtrlSetEndAtLastLine _obj endAtLastLine -  = withObjectRef "styledTextCtrlSetEndAtLastLine" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetEndAtLastLine cobj__obj  (toCBool endAtLastLine)  -foreign import ccall "wxStyledTextCtrl_SetEndAtLastLine" wxStyledTextCtrl_SetEndAtLastLine :: Ptr (TStyledTextCtrl a) -> CBool -> IO ()---- | usage: (@styledTextCtrlSetFoldExpanded obj line expanded@).-styledTextCtrlSetFoldExpanded :: StyledTextCtrl  a -> Int -> Bool ->  IO ()-styledTextCtrlSetFoldExpanded _obj line expanded -  = withObjectRef "styledTextCtrlSetFoldExpanded" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetFoldExpanded cobj__obj  (toCInt line)  (toCBool expanded)  -foreign import ccall "wxStyledTextCtrl_SetFoldExpanded" wxStyledTextCtrl_SetFoldExpanded :: Ptr (TStyledTextCtrl a) -> CInt -> CBool -> IO ()---- | usage: (@styledTextCtrlSetFoldFlags obj flags@).-styledTextCtrlSetFoldFlags :: StyledTextCtrl  a -> Int ->  IO ()-styledTextCtrlSetFoldFlags _obj flags -  = withObjectRef "styledTextCtrlSetFoldFlags" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetFoldFlags cobj__obj  (toCInt flags)  -foreign import ccall "wxStyledTextCtrl_SetFoldFlags" wxStyledTextCtrl_SetFoldFlags :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()---- | usage: (@styledTextCtrlSetFoldLevel obj line level@).-styledTextCtrlSetFoldLevel :: StyledTextCtrl  a -> Int -> Int ->  IO ()-styledTextCtrlSetFoldLevel _obj line level -  = withObjectRef "styledTextCtrlSetFoldLevel" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetFoldLevel cobj__obj  (toCInt line)  (toCInt level)  -foreign import ccall "wxStyledTextCtrl_SetFoldLevel" wxStyledTextCtrl_SetFoldLevel :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> IO ()---- | usage: (@styledTextCtrlSetFoldMarginColour obj useSetting backrbackgbackb@).-styledTextCtrlSetFoldMarginColour :: StyledTextCtrl  a -> Bool -> Color ->  IO ()-styledTextCtrlSetFoldMarginColour _obj useSetting backrbackgbackb -  = withObjectRef "styledTextCtrlSetFoldMarginColour" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetFoldMarginColour cobj__obj  (toCBool useSetting)  (colorRed backrbackgbackb) (colorGreen backrbackgbackb) (colorBlue backrbackgbackb)  -foreign import ccall "wxStyledTextCtrl_SetFoldMarginColour" wxStyledTextCtrl_SetFoldMarginColour :: Ptr (TStyledTextCtrl a) -> CBool -> Word8 -> Word8 -> Word8 -> IO ()---- | usage: (@styledTextCtrlSetFoldMarginHiColour obj useSetting forerforegforeb@).-styledTextCtrlSetFoldMarginHiColour :: StyledTextCtrl  a -> Bool -> Color ->  IO ()-styledTextCtrlSetFoldMarginHiColour _obj useSetting forerforegforeb -  = withObjectRef "styledTextCtrlSetFoldMarginHiColour" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetFoldMarginHiColour cobj__obj  (toCBool useSetting)  (colorRed forerforegforeb) (colorGreen forerforegforeb) (colorBlue forerforegforeb)  -foreign import ccall "wxStyledTextCtrl_SetFoldMarginHiColour" wxStyledTextCtrl_SetFoldMarginHiColour :: Ptr (TStyledTextCtrl a) -> CBool -> Word8 -> Word8 -> Word8 -> IO ()---- | usage: (@styledTextCtrlSetHScrollBar obj bar@).-styledTextCtrlSetHScrollBar :: StyledTextCtrl  a -> ScrollBar  b ->  IO ()-styledTextCtrlSetHScrollBar _obj bar -  = withObjectRef "styledTextCtrlSetHScrollBar" _obj $ \cobj__obj -> -    withObjectPtr bar $ \cobj_bar -> -    wxStyledTextCtrl_SetHScrollBar cobj__obj  cobj_bar  -foreign import ccall "wxStyledTextCtrl_SetHScrollBar" wxStyledTextCtrl_SetHScrollBar :: Ptr (TStyledTextCtrl a) -> Ptr (TScrollBar b) -> IO ()---- | usage: (@styledTextCtrlSetHighlightGuide obj column@).-styledTextCtrlSetHighlightGuide :: StyledTextCtrl  a -> Int ->  IO ()-styledTextCtrlSetHighlightGuide _obj column -  = withObjectRef "styledTextCtrlSetHighlightGuide" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetHighlightGuide cobj__obj  (toCInt column)  -foreign import ccall "wxStyledTextCtrl_SetHighlightGuide" wxStyledTextCtrl_SetHighlightGuide :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()---- | usage: (@styledTextCtrlSetHotspotActiveBackground obj useSetting backrbackgbackb@).-styledTextCtrlSetHotspotActiveBackground :: StyledTextCtrl  a -> Bool -> Color ->  IO ()-styledTextCtrlSetHotspotActiveBackground _obj useSetting backrbackgbackb -  = withObjectRef "styledTextCtrlSetHotspotActiveBackground" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetHotspotActiveBackground cobj__obj  (toCBool useSetting)  (colorRed backrbackgbackb) (colorGreen backrbackgbackb) (colorBlue backrbackgbackb)  -foreign import ccall "wxStyledTextCtrl_SetHotspotActiveBackground" wxStyledTextCtrl_SetHotspotActiveBackground :: Ptr (TStyledTextCtrl a) -> CBool -> Word8 -> Word8 -> Word8 -> IO ()---- | usage: (@styledTextCtrlSetHotspotActiveForeground obj useSetting forerforegforeb@).-styledTextCtrlSetHotspotActiveForeground :: StyledTextCtrl  a -> Bool -> Color ->  IO ()-styledTextCtrlSetHotspotActiveForeground _obj useSetting forerforegforeb -  = withObjectRef "styledTextCtrlSetHotspotActiveForeground" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetHotspotActiveForeground cobj__obj  (toCBool useSetting)  (colorRed forerforegforeb) (colorGreen forerforegforeb) (colorBlue forerforegforeb)  -foreign import ccall "wxStyledTextCtrl_SetHotspotActiveForeground" wxStyledTextCtrl_SetHotspotActiveForeground :: Ptr (TStyledTextCtrl a) -> CBool -> Word8 -> Word8 -> Word8 -> IO ()---- | usage: (@styledTextCtrlSetHotspotActiveUnderline obj underline@).-styledTextCtrlSetHotspotActiveUnderline :: StyledTextCtrl  a -> Bool ->  IO ()-styledTextCtrlSetHotspotActiveUnderline _obj underline -  = withObjectRef "styledTextCtrlSetHotspotActiveUnderline" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetHotspotActiveUnderline cobj__obj  (toCBool underline)  -foreign import ccall "wxStyledTextCtrl_SetHotspotActiveUnderline" wxStyledTextCtrl_SetHotspotActiveUnderline :: Ptr (TStyledTextCtrl a) -> CBool -> IO ()---- | usage: (@styledTextCtrlSetIndent obj indentSize@).-styledTextCtrlSetIndent :: StyledTextCtrl  a -> Int ->  IO ()-styledTextCtrlSetIndent _obj indentSize -  = withObjectRef "styledTextCtrlSetIndent" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetIndent cobj__obj  (toCInt indentSize)  -foreign import ccall "wxStyledTextCtrl_SetIndent" wxStyledTextCtrl_SetIndent :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()---- | usage: (@styledTextCtrlSetIndentationGuides obj show@).-styledTextCtrlSetIndentationGuides :: StyledTextCtrl  a -> Bool ->  IO ()-styledTextCtrlSetIndentationGuides _obj show -  = withObjectRef "styledTextCtrlSetIndentationGuides" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetIndentationGuides cobj__obj  (toCBool show)  -foreign import ccall "wxStyledTextCtrl_SetIndentationGuides" wxStyledTextCtrl_SetIndentationGuides :: Ptr (TStyledTextCtrl a) -> CBool -> IO ()---- | usage: (@styledTextCtrlSetKeyWords obj keywordSet keyWords@).-styledTextCtrlSetKeyWords :: StyledTextCtrl  a -> Int -> String ->  IO ()-styledTextCtrlSetKeyWords _obj keywordSet keyWords -  = withObjectRef "styledTextCtrlSetKeyWords" _obj $ \cobj__obj -> -    withStringPtr keyWords $ \cobj_keyWords -> -    wxStyledTextCtrl_SetKeyWords cobj__obj  (toCInt keywordSet)  cobj_keyWords  -foreign import ccall "wxStyledTextCtrl_SetKeyWords" wxStyledTextCtrl_SetKeyWords :: Ptr (TStyledTextCtrl a) -> CInt -> Ptr (TWxString c) -> IO ()---- | usage: (@styledTextCtrlSetLastKeydownProcessed obj val@).-styledTextCtrlSetLastKeydownProcessed :: StyledTextCtrl  a -> Bool ->  IO ()-styledTextCtrlSetLastKeydownProcessed _obj val -  = withObjectRef "styledTextCtrlSetLastKeydownProcessed" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetLastKeydownProcessed cobj__obj  (toCBool val)  -foreign import ccall "wxStyledTextCtrl_SetLastKeydownProcessed" wxStyledTextCtrl_SetLastKeydownProcessed :: Ptr (TStyledTextCtrl a) -> CBool -> IO ()---- | usage: (@styledTextCtrlSetLayoutCache obj mode@).-styledTextCtrlSetLayoutCache :: StyledTextCtrl  a -> Int ->  IO ()-styledTextCtrlSetLayoutCache _obj mode -  = withObjectRef "styledTextCtrlSetLayoutCache" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetLayoutCache cobj__obj  (toCInt mode)  -foreign import ccall "wxStyledTextCtrl_SetLayoutCache" wxStyledTextCtrl_SetLayoutCache :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()---- | usage: (@styledTextCtrlSetLexer obj lexer@).-styledTextCtrlSetLexer :: StyledTextCtrl  a -> Int ->  IO ()-styledTextCtrlSetLexer _obj lexer -  = withObjectRef "styledTextCtrlSetLexer" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetLexer cobj__obj  (toCInt lexer)  -foreign import ccall "wxStyledTextCtrl_SetLexer" wxStyledTextCtrl_SetLexer :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()---- | usage: (@styledTextCtrlSetLexerLanguage obj language@).-styledTextCtrlSetLexerLanguage :: StyledTextCtrl  a -> String ->  IO ()-styledTextCtrlSetLexerLanguage _obj language -  = withObjectRef "styledTextCtrlSetLexerLanguage" _obj $ \cobj__obj -> -    withStringPtr language $ \cobj_language -> -    wxStyledTextCtrl_SetLexerLanguage cobj__obj  cobj_language  -foreign import ccall "wxStyledTextCtrl_SetLexerLanguage" wxStyledTextCtrl_SetLexerLanguage :: Ptr (TStyledTextCtrl a) -> Ptr (TWxString b) -> IO ()---- | usage: (@styledTextCtrlSetLineIndentation obj line indentSize@).-styledTextCtrlSetLineIndentation :: StyledTextCtrl  a -> Int -> Int ->  IO ()-styledTextCtrlSetLineIndentation _obj line indentSize -  = withObjectRef "styledTextCtrlSetLineIndentation" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetLineIndentation cobj__obj  (toCInt line)  (toCInt indentSize)  -foreign import ccall "wxStyledTextCtrl_SetLineIndentation" wxStyledTextCtrl_SetLineIndentation :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> IO ()---- | usage: (@styledTextCtrlSetLineState obj line state@).-styledTextCtrlSetLineState :: StyledTextCtrl  a -> Int -> Int ->  IO ()-styledTextCtrlSetLineState _obj line state -  = withObjectRef "styledTextCtrlSetLineState" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetLineState cobj__obj  (toCInt line)  (toCInt state)  -foreign import ccall "wxStyledTextCtrl_SetLineState" wxStyledTextCtrl_SetLineState :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> IO ()---- | usage: (@styledTextCtrlSetMarginLeft obj pixelWidth@).-styledTextCtrlSetMarginLeft :: StyledTextCtrl  a -> Int ->  IO ()-styledTextCtrlSetMarginLeft _obj pixelWidth -  = withObjectRef "styledTextCtrlSetMarginLeft" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetMarginLeft cobj__obj  (toCInt pixelWidth)  -foreign import ccall "wxStyledTextCtrl_SetMarginLeft" wxStyledTextCtrl_SetMarginLeft :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()---- | usage: (@styledTextCtrlSetMarginMask obj margin mask@).-styledTextCtrlSetMarginMask :: StyledTextCtrl  a -> Int -> Int ->  IO ()-styledTextCtrlSetMarginMask _obj margin mask -  = withObjectRef "styledTextCtrlSetMarginMask" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetMarginMask cobj__obj  (toCInt margin)  (toCInt mask)  -foreign import ccall "wxStyledTextCtrl_SetMarginMask" wxStyledTextCtrl_SetMarginMask :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> IO ()---- | usage: (@styledTextCtrlSetMarginRight obj pixelWidth@).-styledTextCtrlSetMarginRight :: StyledTextCtrl  a -> Int ->  IO ()-styledTextCtrlSetMarginRight _obj pixelWidth -  = withObjectRef "styledTextCtrlSetMarginRight" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetMarginRight cobj__obj  (toCInt pixelWidth)  -foreign import ccall "wxStyledTextCtrl_SetMarginRight" wxStyledTextCtrl_SetMarginRight :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()---- | usage: (@styledTextCtrlSetMarginSensitive obj margin sensitive@).-styledTextCtrlSetMarginSensitive :: StyledTextCtrl  a -> Int -> Bool ->  IO ()-styledTextCtrlSetMarginSensitive _obj margin sensitive -  = withObjectRef "styledTextCtrlSetMarginSensitive" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetMarginSensitive cobj__obj  (toCInt margin)  (toCBool sensitive)  -foreign import ccall "wxStyledTextCtrl_SetMarginSensitive" wxStyledTextCtrl_SetMarginSensitive :: Ptr (TStyledTextCtrl a) -> CInt -> CBool -> IO ()---- | usage: (@styledTextCtrlSetMarginType obj margin marginType@).-styledTextCtrlSetMarginType :: StyledTextCtrl  a -> Int -> Int ->  IO ()-styledTextCtrlSetMarginType _obj margin marginType -  = withObjectRef "styledTextCtrlSetMarginType" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetMarginType cobj__obj  (toCInt margin)  (toCInt marginType)  -foreign import ccall "wxStyledTextCtrl_SetMarginType" wxStyledTextCtrl_SetMarginType :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> IO ()---- | usage: (@styledTextCtrlSetMarginWidth obj margin pixelWidth@).-styledTextCtrlSetMarginWidth :: StyledTextCtrl  a -> Int -> Int ->  IO ()-styledTextCtrlSetMarginWidth _obj margin pixelWidth -  = withObjectRef "styledTextCtrlSetMarginWidth" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetMarginWidth cobj__obj  (toCInt margin)  (toCInt pixelWidth)  -foreign import ccall "wxStyledTextCtrl_SetMarginWidth" wxStyledTextCtrl_SetMarginWidth :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> IO ()---- | usage: (@styledTextCtrlSetMargins obj left right@).-styledTextCtrlSetMargins :: StyledTextCtrl  a -> Int -> Int ->  IO ()-styledTextCtrlSetMargins _obj left right -  = withObjectRef "styledTextCtrlSetMargins" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetMargins cobj__obj  (toCInt left)  (toCInt right)  -foreign import ccall "wxStyledTextCtrl_SetMargins" wxStyledTextCtrl_SetMargins :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> IO ()---- | usage: (@styledTextCtrlSetModEventMask obj mask@).-styledTextCtrlSetModEventMask :: StyledTextCtrl  a -> Int ->  IO ()-styledTextCtrlSetModEventMask _obj mask -  = withObjectRef "styledTextCtrlSetModEventMask" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetModEventMask cobj__obj  (toCInt mask)  -foreign import ccall "wxStyledTextCtrl_SetModEventMask" wxStyledTextCtrl_SetModEventMask :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()---- | usage: (@styledTextCtrlSetMouseDownCaptures obj captures@).-styledTextCtrlSetMouseDownCaptures :: StyledTextCtrl  a -> Bool ->  IO ()-styledTextCtrlSetMouseDownCaptures _obj captures -  = withObjectRef "styledTextCtrlSetMouseDownCaptures" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetMouseDownCaptures cobj__obj  (toCBool captures)  -foreign import ccall "wxStyledTextCtrl_SetMouseDownCaptures" wxStyledTextCtrl_SetMouseDownCaptures :: Ptr (TStyledTextCtrl a) -> CBool -> IO ()---- | usage: (@styledTextCtrlSetMouseDwellTime obj periodMilliseconds@).-styledTextCtrlSetMouseDwellTime :: StyledTextCtrl  a -> Int ->  IO ()-styledTextCtrlSetMouseDwellTime _obj periodMilliseconds -  = withObjectRef "styledTextCtrlSetMouseDwellTime" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetMouseDwellTime cobj__obj  (toCInt periodMilliseconds)  -foreign import ccall "wxStyledTextCtrl_SetMouseDwellTime" wxStyledTextCtrl_SetMouseDwellTime :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()---- | usage: (@styledTextCtrlSetOvertype obj overtype@).-styledTextCtrlSetOvertype :: StyledTextCtrl  a -> Bool ->  IO ()-styledTextCtrlSetOvertype _obj overtype -  = withObjectRef "styledTextCtrlSetOvertype" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetOvertype cobj__obj  (toCBool overtype)  -foreign import ccall "wxStyledTextCtrl_SetOvertype" wxStyledTextCtrl_SetOvertype :: Ptr (TStyledTextCtrl a) -> CBool -> IO ()---- | usage: (@styledTextCtrlSetPrintColourMode obj mode@).-styledTextCtrlSetPrintColourMode :: StyledTextCtrl  a -> Int ->  IO ()-styledTextCtrlSetPrintColourMode _obj mode -  = withObjectRef "styledTextCtrlSetPrintColourMode" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetPrintColourMode cobj__obj  (toCInt mode)  -foreign import ccall "wxStyledTextCtrl_SetPrintColourMode" wxStyledTextCtrl_SetPrintColourMode :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()---- | usage: (@styledTextCtrlSetPrintMagnification obj magnification@).-styledTextCtrlSetPrintMagnification :: StyledTextCtrl  a -> Int ->  IO ()-styledTextCtrlSetPrintMagnification _obj magnification -  = withObjectRef "styledTextCtrlSetPrintMagnification" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetPrintMagnification cobj__obj  (toCInt magnification)  -foreign import ccall "wxStyledTextCtrl_SetPrintMagnification" wxStyledTextCtrl_SetPrintMagnification :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()---- | usage: (@styledTextCtrlSetPrintWrapMode obj mode@).-styledTextCtrlSetPrintWrapMode :: StyledTextCtrl  a -> Int ->  IO ()-styledTextCtrlSetPrintWrapMode _obj mode -  = withObjectRef "styledTextCtrlSetPrintWrapMode" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetPrintWrapMode cobj__obj  (toCInt mode)  -foreign import ccall "wxStyledTextCtrl_SetPrintWrapMode" wxStyledTextCtrl_SetPrintWrapMode :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()---- | usage: (@styledTextCtrlSetProperty obj key value@).-styledTextCtrlSetProperty :: StyledTextCtrl  a -> String -> String ->  IO ()-styledTextCtrlSetProperty _obj key value -  = withObjectRef "styledTextCtrlSetProperty" _obj $ \cobj__obj -> -    withStringPtr key $ \cobj_key -> -    withStringPtr value $ \cobj_value -> -    wxStyledTextCtrl_SetProperty cobj__obj  cobj_key  cobj_value  -foreign import ccall "wxStyledTextCtrl_SetProperty" wxStyledTextCtrl_SetProperty :: Ptr (TStyledTextCtrl a) -> Ptr (TWxString b) -> Ptr (TWxString c) -> IO ()---- | usage: (@styledTextCtrlSetReadOnly obj readOnly@).-styledTextCtrlSetReadOnly :: StyledTextCtrl  a -> Bool ->  IO ()-styledTextCtrlSetReadOnly _obj readOnly -  = withObjectRef "styledTextCtrlSetReadOnly" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetReadOnly cobj__obj  (toCBool readOnly)  -foreign import ccall "wxStyledTextCtrl_SetReadOnly" wxStyledTextCtrl_SetReadOnly :: Ptr (TStyledTextCtrl a) -> CBool -> IO ()---- | usage: (@styledTextCtrlSetSTCCursor obj cursorType@).-styledTextCtrlSetSTCCursor :: StyledTextCtrl  a -> Int ->  IO ()-styledTextCtrlSetSTCCursor _obj cursorType -  = withObjectRef "styledTextCtrlSetSTCCursor" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetSTCCursor cobj__obj  (toCInt cursorType)  -foreign import ccall "wxStyledTextCtrl_SetSTCCursor" wxStyledTextCtrl_SetSTCCursor :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()---- | usage: (@styledTextCtrlSetSTCFocus obj focus@).-styledTextCtrlSetSTCFocus :: StyledTextCtrl  a -> Bool ->  IO ()-styledTextCtrlSetSTCFocus _obj focus -  = withObjectRef "styledTextCtrlSetSTCFocus" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetSTCFocus cobj__obj  (toCBool focus)  -foreign import ccall "wxStyledTextCtrl_SetSTCFocus" wxStyledTextCtrl_SetSTCFocus :: Ptr (TStyledTextCtrl a) -> CBool -> IO ()---- | usage: (@styledTextCtrlSetSavePoint obj@).-styledTextCtrlSetSavePoint :: StyledTextCtrl  a ->  IO ()-styledTextCtrlSetSavePoint _obj -  = withObjectRef "styledTextCtrlSetSavePoint" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetSavePoint cobj__obj  -foreign import ccall "wxStyledTextCtrl_SetSavePoint" wxStyledTextCtrl_SetSavePoint :: Ptr (TStyledTextCtrl a) -> IO ()---- | usage: (@styledTextCtrlSetScrollWidth obj pixelWidth@).-styledTextCtrlSetScrollWidth :: StyledTextCtrl  a -> Int ->  IO ()-styledTextCtrlSetScrollWidth _obj pixelWidth -  = withObjectRef "styledTextCtrlSetScrollWidth" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetScrollWidth cobj__obj  (toCInt pixelWidth)  -foreign import ccall "wxStyledTextCtrl_SetScrollWidth" wxStyledTextCtrl_SetScrollWidth :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()---- | usage: (@styledTextCtrlSetSearchFlags obj flags@).-styledTextCtrlSetSearchFlags :: StyledTextCtrl  a -> Int ->  IO ()-styledTextCtrlSetSearchFlags _obj flags -  = withObjectRef "styledTextCtrlSetSearchFlags" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetSearchFlags cobj__obj  (toCInt flags)  -foreign import ccall "wxStyledTextCtrl_SetSearchFlags" wxStyledTextCtrl_SetSearchFlags :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()---- | usage: (@styledTextCtrlSetSelBackground obj useSetting backrbackgbackb@).-styledTextCtrlSetSelBackground :: StyledTextCtrl  a -> Bool -> Color ->  IO ()-styledTextCtrlSetSelBackground _obj useSetting backrbackgbackb -  = withObjectRef "styledTextCtrlSetSelBackground" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetSelBackground cobj__obj  (toCBool useSetting)  (colorRed backrbackgbackb) (colorGreen backrbackgbackb) (colorBlue backrbackgbackb)  -foreign import ccall "wxStyledTextCtrl_SetSelBackground" wxStyledTextCtrl_SetSelBackground :: Ptr (TStyledTextCtrl a) -> CBool -> Word8 -> Word8 -> Word8 -> IO ()---- | usage: (@styledTextCtrlSetSelForeground obj useSetting forerforegforeb@).-styledTextCtrlSetSelForeground :: StyledTextCtrl  a -> Bool -> Color ->  IO ()-styledTextCtrlSetSelForeground _obj useSetting forerforegforeb -  = withObjectRef "styledTextCtrlSetSelForeground" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetSelForeground cobj__obj  (toCBool useSetting)  (colorRed forerforegforeb) (colorGreen forerforegforeb) (colorBlue forerforegforeb)  -foreign import ccall "wxStyledTextCtrl_SetSelForeground" wxStyledTextCtrl_SetSelForeground :: Ptr (TStyledTextCtrl a) -> CBool -> Word8 -> Word8 -> Word8 -> IO ()---- | usage: (@styledTextCtrlSetSelection obj start end@).-styledTextCtrlSetSelection :: StyledTextCtrl  a -> Int -> Int ->  IO ()-styledTextCtrlSetSelection _obj start end -  = withObjectRef "styledTextCtrlSetSelection" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetSelection cobj__obj  (toCInt start)  (toCInt end)  -foreign import ccall "wxStyledTextCtrl_SetSelection" wxStyledTextCtrl_SetSelection :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> IO ()---- | usage: (@styledTextCtrlSetSelectionEnd obj pos@).-styledTextCtrlSetSelectionEnd :: StyledTextCtrl  a -> Int ->  IO ()-styledTextCtrlSetSelectionEnd _obj pos -  = withObjectRef "styledTextCtrlSetSelectionEnd" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetSelectionEnd cobj__obj  (toCInt pos)  -foreign import ccall "wxStyledTextCtrl_SetSelectionEnd" wxStyledTextCtrl_SetSelectionEnd :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()---- | usage: (@styledTextCtrlSetSelectionStart obj pos@).-styledTextCtrlSetSelectionStart :: StyledTextCtrl  a -> Int ->  IO ()-styledTextCtrlSetSelectionStart _obj pos -  = withObjectRef "styledTextCtrlSetSelectionStart" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetSelectionStart cobj__obj  (toCInt pos)  -foreign import ccall "wxStyledTextCtrl_SetSelectionStart" wxStyledTextCtrl_SetSelectionStart :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()---- | usage: (@styledTextCtrlSetStatus obj statusCode@).-styledTextCtrlSetStatus :: StyledTextCtrl  a -> Int ->  IO ()-styledTextCtrlSetStatus _obj statusCode -  = withObjectRef "styledTextCtrlSetStatus" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetStatus cobj__obj  (toCInt statusCode)  -foreign import ccall "wxStyledTextCtrl_SetStatus" wxStyledTextCtrl_SetStatus :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()---- | usage: (@styledTextCtrlSetStyleBits obj bits@).-styledTextCtrlSetStyleBits :: StyledTextCtrl  a -> Int ->  IO ()-styledTextCtrlSetStyleBits _obj bits -  = withObjectRef "styledTextCtrlSetStyleBits" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetStyleBits cobj__obj  (toCInt bits)  -foreign import ccall "wxStyledTextCtrl_SetStyleBits" wxStyledTextCtrl_SetStyleBits :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()---- | usage: (@styledTextCtrlSetStyleBytes obj length styleBytes@).-styledTextCtrlSetStyleBytes :: StyledTextCtrl  a -> Int -> String ->  IO ()-styledTextCtrlSetStyleBytes _obj length styleBytes -  = withObjectRef "styledTextCtrlSetStyleBytes" _obj $ \cobj__obj -> -    withCWString styleBytes $ \cstr_styleBytes -> -    wxStyledTextCtrl_SetStyleBytes cobj__obj  (toCInt length)  cstr_styleBytes  -foreign import ccall "wxStyledTextCtrl_SetStyleBytes" wxStyledTextCtrl_SetStyleBytes :: Ptr (TStyledTextCtrl a) -> CInt -> CWString -> IO ()---- | usage: (@styledTextCtrlSetStyling obj length style@).-styledTextCtrlSetStyling :: StyledTextCtrl  a -> Int -> Int ->  IO ()-styledTextCtrlSetStyling _obj length style -  = withObjectRef "styledTextCtrlSetStyling" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetStyling cobj__obj  (toCInt length)  (toCInt style)  -foreign import ccall "wxStyledTextCtrl_SetStyling" wxStyledTextCtrl_SetStyling :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> IO ()---- | usage: (@styledTextCtrlSetTabIndents obj tabIndents@).-styledTextCtrlSetTabIndents :: StyledTextCtrl  a -> Bool ->  IO ()-styledTextCtrlSetTabIndents _obj tabIndents -  = withObjectRef "styledTextCtrlSetTabIndents" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetTabIndents cobj__obj  (toCBool tabIndents)  -foreign import ccall "wxStyledTextCtrl_SetTabIndents" wxStyledTextCtrl_SetTabIndents :: Ptr (TStyledTextCtrl a) -> CBool -> IO ()---- | usage: (@styledTextCtrlSetTabWidth obj tabWidth@).-styledTextCtrlSetTabWidth :: StyledTextCtrl  a -> Int ->  IO ()-styledTextCtrlSetTabWidth _obj tabWidth -  = withObjectRef "styledTextCtrlSetTabWidth" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetTabWidth cobj__obj  (toCInt tabWidth)  -foreign import ccall "wxStyledTextCtrl_SetTabWidth" wxStyledTextCtrl_SetTabWidth :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()---- | usage: (@styledTextCtrlSetTargetEnd obj pos@).-styledTextCtrlSetTargetEnd :: StyledTextCtrl  a -> Int ->  IO ()-styledTextCtrlSetTargetEnd _obj pos -  = withObjectRef "styledTextCtrlSetTargetEnd" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetTargetEnd cobj__obj  (toCInt pos)  -foreign import ccall "wxStyledTextCtrl_SetTargetEnd" wxStyledTextCtrl_SetTargetEnd :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()---- | usage: (@styledTextCtrlSetTargetStart obj pos@).-styledTextCtrlSetTargetStart :: StyledTextCtrl  a -> Int ->  IO ()-styledTextCtrlSetTargetStart _obj pos -  = withObjectRef "styledTextCtrlSetTargetStart" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetTargetStart cobj__obj  (toCInt pos)  -foreign import ccall "wxStyledTextCtrl_SetTargetStart" wxStyledTextCtrl_SetTargetStart :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()---- | usage: (@styledTextCtrlSetText obj text@).-styledTextCtrlSetText :: StyledTextCtrl  a -> String ->  IO ()-styledTextCtrlSetText _obj text -  = withObjectRef "styledTextCtrlSetText" _obj $ \cobj__obj -> -    withStringPtr text $ \cobj_text -> -    wxStyledTextCtrl_SetText cobj__obj  cobj_text  -foreign import ccall "wxStyledTextCtrl_SetText" wxStyledTextCtrl_SetText :: Ptr (TStyledTextCtrl a) -> Ptr (TWxString b) -> IO ()---- | usage: (@styledTextCtrlSetTwoPhaseDraw obj twoPhase@).-styledTextCtrlSetTwoPhaseDraw :: StyledTextCtrl  a -> Bool ->  IO ()-styledTextCtrlSetTwoPhaseDraw _obj twoPhase -  = withObjectRef "styledTextCtrlSetTwoPhaseDraw" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetTwoPhaseDraw cobj__obj  (toCBool twoPhase)  -foreign import ccall "wxStyledTextCtrl_SetTwoPhaseDraw" wxStyledTextCtrl_SetTwoPhaseDraw :: Ptr (TStyledTextCtrl a) -> CBool -> IO ()---- | usage: (@styledTextCtrlSetUndoCollection obj collectUndo@).-styledTextCtrlSetUndoCollection :: StyledTextCtrl  a -> Bool ->  IO ()-styledTextCtrlSetUndoCollection _obj collectUndo -  = withObjectRef "styledTextCtrlSetUndoCollection" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetUndoCollection cobj__obj  (toCBool collectUndo)  -foreign import ccall "wxStyledTextCtrl_SetUndoCollection" wxStyledTextCtrl_SetUndoCollection :: Ptr (TStyledTextCtrl a) -> CBool -> IO ()---- | usage: (@styledTextCtrlSetUseHorizontalScrollBar obj show@).-styledTextCtrlSetUseHorizontalScrollBar :: StyledTextCtrl  a -> Bool ->  IO ()-styledTextCtrlSetUseHorizontalScrollBar _obj show -  = withObjectRef "styledTextCtrlSetUseHorizontalScrollBar" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetUseHorizontalScrollBar cobj__obj  (toCBool show)  -foreign import ccall "wxStyledTextCtrl_SetUseHorizontalScrollBar" wxStyledTextCtrl_SetUseHorizontalScrollBar :: Ptr (TStyledTextCtrl a) -> CBool -> IO ()---- | usage: (@styledTextCtrlSetUseTabs obj useTabs@).-styledTextCtrlSetUseTabs :: StyledTextCtrl  a -> Bool ->  IO ()-styledTextCtrlSetUseTabs _obj useTabs -  = withObjectRef "styledTextCtrlSetUseTabs" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetUseTabs cobj__obj  (toCBool useTabs)  -foreign import ccall "wxStyledTextCtrl_SetUseTabs" wxStyledTextCtrl_SetUseTabs :: Ptr (TStyledTextCtrl a) -> CBool -> IO ()---- | usage: (@styledTextCtrlSetUseVerticalScrollBar obj show@).-styledTextCtrlSetUseVerticalScrollBar :: StyledTextCtrl  a -> Bool ->  IO ()-styledTextCtrlSetUseVerticalScrollBar _obj show -  = withObjectRef "styledTextCtrlSetUseVerticalScrollBar" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetUseVerticalScrollBar cobj__obj  (toCBool show)  -foreign import ccall "wxStyledTextCtrl_SetUseVerticalScrollBar" wxStyledTextCtrl_SetUseVerticalScrollBar :: Ptr (TStyledTextCtrl a) -> CBool -> IO ()---- | usage: (@styledTextCtrlSetVScrollBar obj bar@).-styledTextCtrlSetVScrollBar :: StyledTextCtrl  a -> ScrollBar  b ->  IO ()-styledTextCtrlSetVScrollBar _obj bar -  = withObjectRef "styledTextCtrlSetVScrollBar" _obj $ \cobj__obj -> -    withObjectPtr bar $ \cobj_bar -> -    wxStyledTextCtrl_SetVScrollBar cobj__obj  cobj_bar  -foreign import ccall "wxStyledTextCtrl_SetVScrollBar" wxStyledTextCtrl_SetVScrollBar :: Ptr (TStyledTextCtrl a) -> Ptr (TScrollBar b) -> IO ()---- | usage: (@styledTextCtrlSetViewEOL obj visible@).-styledTextCtrlSetViewEOL :: StyledTextCtrl  a -> Bool ->  IO ()-styledTextCtrlSetViewEOL _obj visible -  = withObjectRef "styledTextCtrlSetViewEOL" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetViewEOL cobj__obj  (toCBool visible)  -foreign import ccall "wxStyledTextCtrl_SetViewEOL" wxStyledTextCtrl_SetViewEOL :: Ptr (TStyledTextCtrl a) -> CBool -> IO ()---- | usage: (@styledTextCtrlSetViewWhiteSpace obj viewWS@).-styledTextCtrlSetViewWhiteSpace :: StyledTextCtrl  a -> Int ->  IO ()-styledTextCtrlSetViewWhiteSpace _obj viewWS -  = withObjectRef "styledTextCtrlSetViewWhiteSpace" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetViewWhiteSpace cobj__obj  (toCInt viewWS)  -foreign import ccall "wxStyledTextCtrl_SetViewWhiteSpace" wxStyledTextCtrl_SetViewWhiteSpace :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()---- | usage: (@styledTextCtrlSetVisiblePolicy obj visiblePolicy visibleSlop@).-styledTextCtrlSetVisiblePolicy :: StyledTextCtrl  a -> Int -> Int ->  IO ()-styledTextCtrlSetVisiblePolicy _obj visiblePolicy visibleSlop -  = withObjectRef "styledTextCtrlSetVisiblePolicy" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetVisiblePolicy cobj__obj  (toCInt visiblePolicy)  (toCInt visibleSlop)  -foreign import ccall "wxStyledTextCtrl_SetVisiblePolicy" wxStyledTextCtrl_SetVisiblePolicy :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> IO ()---- | usage: (@styledTextCtrlSetWhitespaceBackground obj useSetting backrbackgbackb@).-styledTextCtrlSetWhitespaceBackground :: StyledTextCtrl  a -> Bool -> Color ->  IO ()-styledTextCtrlSetWhitespaceBackground _obj useSetting backrbackgbackb -  = withObjectRef "styledTextCtrlSetWhitespaceBackground" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetWhitespaceBackground cobj__obj  (toCBool useSetting)  (colorRed backrbackgbackb) (colorGreen backrbackgbackb) (colorBlue backrbackgbackb)  -foreign import ccall "wxStyledTextCtrl_SetWhitespaceBackground" wxStyledTextCtrl_SetWhitespaceBackground :: Ptr (TStyledTextCtrl a) -> CBool -> Word8 -> Word8 -> Word8 -> IO ()---- | usage: (@styledTextCtrlSetWhitespaceForeground obj useSetting forerforegforeb@).-styledTextCtrlSetWhitespaceForeground :: StyledTextCtrl  a -> Bool -> Color ->  IO ()-styledTextCtrlSetWhitespaceForeground _obj useSetting forerforegforeb -  = withObjectRef "styledTextCtrlSetWhitespaceForeground" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetWhitespaceForeground cobj__obj  (toCBool useSetting)  (colorRed forerforegforeb) (colorGreen forerforegforeb) (colorBlue forerforegforeb)  -foreign import ccall "wxStyledTextCtrl_SetWhitespaceForeground" wxStyledTextCtrl_SetWhitespaceForeground :: Ptr (TStyledTextCtrl a) -> CBool -> Word8 -> Word8 -> Word8 -> IO ()---- | usage: (@styledTextCtrlSetWordChars obj characters@).-styledTextCtrlSetWordChars :: StyledTextCtrl  a -> String ->  IO ()-styledTextCtrlSetWordChars _obj characters -  = withObjectRef "styledTextCtrlSetWordChars" _obj $ \cobj__obj -> -    withStringPtr characters $ \cobj_characters -> -    wxStyledTextCtrl_SetWordChars cobj__obj  cobj_characters  -foreign import ccall "wxStyledTextCtrl_SetWordChars" wxStyledTextCtrl_SetWordChars :: Ptr (TStyledTextCtrl a) -> Ptr (TWxString b) -> IO ()---- | usage: (@styledTextCtrlSetWrapMode obj mode@).-styledTextCtrlSetWrapMode :: StyledTextCtrl  a -> Int ->  IO ()-styledTextCtrlSetWrapMode _obj mode -  = withObjectRef "styledTextCtrlSetWrapMode" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetWrapMode cobj__obj  (toCInt mode)  -foreign import ccall "wxStyledTextCtrl_SetWrapMode" wxStyledTextCtrl_SetWrapMode :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()---- | usage: (@styledTextCtrlSetXCaretPolicy obj caretPolicy caretSlop@).-styledTextCtrlSetXCaretPolicy :: StyledTextCtrl  a -> Int -> Int ->  IO ()-styledTextCtrlSetXCaretPolicy _obj caretPolicy caretSlop -  = withObjectRef "styledTextCtrlSetXCaretPolicy" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetXCaretPolicy cobj__obj  (toCInt caretPolicy)  (toCInt caretSlop)  -foreign import ccall "wxStyledTextCtrl_SetXCaretPolicy" wxStyledTextCtrl_SetXCaretPolicy :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> IO ()---- | usage: (@styledTextCtrlSetXOffset obj newOffset@).-styledTextCtrlSetXOffset :: StyledTextCtrl  a -> Int ->  IO ()-styledTextCtrlSetXOffset _obj newOffset -  = withObjectRef "styledTextCtrlSetXOffset" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetXOffset cobj__obj  (toCInt newOffset)  -foreign import ccall "wxStyledTextCtrl_SetXOffset" wxStyledTextCtrl_SetXOffset :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()---- | usage: (@styledTextCtrlSetYCaretPolicy obj caretPolicy caretSlop@).-styledTextCtrlSetYCaretPolicy :: StyledTextCtrl  a -> Int -> Int ->  IO ()-styledTextCtrlSetYCaretPolicy _obj caretPolicy caretSlop -  = withObjectRef "styledTextCtrlSetYCaretPolicy" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetYCaretPolicy cobj__obj  (toCInt caretPolicy)  (toCInt caretSlop)  -foreign import ccall "wxStyledTextCtrl_SetYCaretPolicy" wxStyledTextCtrl_SetYCaretPolicy :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> IO ()---- | usage: (@styledTextCtrlSetZoom obj zoom@).-styledTextCtrlSetZoom :: StyledTextCtrl  a -> Int ->  IO ()-styledTextCtrlSetZoom _obj zoom -  = withObjectRef "styledTextCtrlSetZoom" _obj $ \cobj__obj -> -    wxStyledTextCtrl_SetZoom cobj__obj  (toCInt zoom)  -foreign import ccall "wxStyledTextCtrl_SetZoom" wxStyledTextCtrl_SetZoom :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()---- | usage: (@styledTextCtrlShowLines obj lineStart lineEnd@).-styledTextCtrlShowLines :: StyledTextCtrl  a -> Int -> Int ->  IO ()-styledTextCtrlShowLines _obj lineStart lineEnd -  = withObjectRef "styledTextCtrlShowLines" _obj $ \cobj__obj -> -    wxStyledTextCtrl_ShowLines cobj__obj  (toCInt lineStart)  (toCInt lineEnd)  -foreign import ccall "wxStyledTextCtrl_ShowLines" wxStyledTextCtrl_ShowLines :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> IO ()---- | usage: (@styledTextCtrlStartRecord obj@).-styledTextCtrlStartRecord :: StyledTextCtrl  a ->  IO ()-styledTextCtrlStartRecord _obj -  = withObjectRef "styledTextCtrlStartRecord" _obj $ \cobj__obj -> -    wxStyledTextCtrl_StartRecord cobj__obj  -foreign import ccall "wxStyledTextCtrl_StartRecord" wxStyledTextCtrl_StartRecord :: Ptr (TStyledTextCtrl a) -> IO ()---- | usage: (@styledTextCtrlStartStyling obj pos mask@).-styledTextCtrlStartStyling :: StyledTextCtrl  a -> Int -> Int ->  IO ()-styledTextCtrlStartStyling _obj pos mask -  = withObjectRef "styledTextCtrlStartStyling" _obj $ \cobj__obj -> -    wxStyledTextCtrl_StartStyling cobj__obj  (toCInt pos)  (toCInt mask)  -foreign import ccall "wxStyledTextCtrl_StartStyling" wxStyledTextCtrl_StartStyling :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> IO ()---- | usage: (@styledTextCtrlStopRecord obj@).-styledTextCtrlStopRecord :: StyledTextCtrl  a ->  IO ()-styledTextCtrlStopRecord _obj -  = withObjectRef "styledTextCtrlStopRecord" _obj $ \cobj__obj -> -    wxStyledTextCtrl_StopRecord cobj__obj  -foreign import ccall "wxStyledTextCtrl_StopRecord" wxStyledTextCtrl_StopRecord :: Ptr (TStyledTextCtrl a) -> IO ()---- | usage: (@styledTextCtrlStyleClearAll obj@).-styledTextCtrlStyleClearAll :: StyledTextCtrl  a ->  IO ()-styledTextCtrlStyleClearAll _obj -  = withObjectRef "styledTextCtrlStyleClearAll" _obj $ \cobj__obj -> -    wxStyledTextCtrl_StyleClearAll cobj__obj  -foreign import ccall "wxStyledTextCtrl_StyleClearAll" wxStyledTextCtrl_StyleClearAll :: Ptr (TStyledTextCtrl a) -> IO ()---- | usage: (@styledTextCtrlStyleResetDefault obj@).-styledTextCtrlStyleResetDefault :: StyledTextCtrl  a ->  IO ()-styledTextCtrlStyleResetDefault _obj -  = withObjectRef "styledTextCtrlStyleResetDefault" _obj $ \cobj__obj -> -    wxStyledTextCtrl_StyleResetDefault cobj__obj  -foreign import ccall "wxStyledTextCtrl_StyleResetDefault" wxStyledTextCtrl_StyleResetDefault :: Ptr (TStyledTextCtrl a) -> IO ()---- | usage: (@styledTextCtrlStyleSetBackground obj style backrbackgbackb@).-styledTextCtrlStyleSetBackground :: StyledTextCtrl  a -> Int -> Color ->  IO ()-styledTextCtrlStyleSetBackground _obj style backrbackgbackb -  = withObjectRef "styledTextCtrlStyleSetBackground" _obj $ \cobj__obj -> -    wxStyledTextCtrl_StyleSetBackground cobj__obj  (toCInt style)  (colorRed backrbackgbackb) (colorGreen backrbackgbackb) (colorBlue backrbackgbackb)  -foreign import ccall "wxStyledTextCtrl_StyleSetBackground" wxStyledTextCtrl_StyleSetBackground :: Ptr (TStyledTextCtrl a) -> CInt -> Word8 -> Word8 -> Word8 -> IO ()---- | usage: (@styledTextCtrlStyleSetBold obj style bold@).-styledTextCtrlStyleSetBold :: StyledTextCtrl  a -> Int -> Bool ->  IO ()-styledTextCtrlStyleSetBold _obj style bold -  = withObjectRef "styledTextCtrlStyleSetBold" _obj $ \cobj__obj -> -    wxStyledTextCtrl_StyleSetBold cobj__obj  (toCInt style)  (toCBool bold)  -foreign import ccall "wxStyledTextCtrl_StyleSetBold" wxStyledTextCtrl_StyleSetBold :: Ptr (TStyledTextCtrl a) -> CInt -> CBool -> IO ()---- | usage: (@styledTextCtrlStyleSetCase obj style caseForce@).-styledTextCtrlStyleSetCase :: StyledTextCtrl  a -> Int -> Int ->  IO ()-styledTextCtrlStyleSetCase _obj style caseForce -  = withObjectRef "styledTextCtrlStyleSetCase" _obj $ \cobj__obj -> -    wxStyledTextCtrl_StyleSetCase cobj__obj  (toCInt style)  (toCInt caseForce)  -foreign import ccall "wxStyledTextCtrl_StyleSetCase" wxStyledTextCtrl_StyleSetCase :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> IO ()---- | usage: (@styledTextCtrlStyleSetChangeable obj style changeable@).-styledTextCtrlStyleSetChangeable :: StyledTextCtrl  a -> Int -> Bool ->  IO ()-styledTextCtrlStyleSetChangeable _obj style changeable -  = withObjectRef "styledTextCtrlStyleSetChangeable" _obj $ \cobj__obj -> -    wxStyledTextCtrl_StyleSetChangeable cobj__obj  (toCInt style)  (toCBool changeable)  -foreign import ccall "wxStyledTextCtrl_StyleSetChangeable" wxStyledTextCtrl_StyleSetChangeable :: Ptr (TStyledTextCtrl a) -> CInt -> CBool -> IO ()---- | usage: (@styledTextCtrlStyleSetCharacterSet obj style characterSet@).-styledTextCtrlStyleSetCharacterSet :: StyledTextCtrl  a -> Int -> Int ->  IO ()-styledTextCtrlStyleSetCharacterSet _obj style characterSet -  = withObjectRef "styledTextCtrlStyleSetCharacterSet" _obj $ \cobj__obj -> -    wxStyledTextCtrl_StyleSetCharacterSet cobj__obj  (toCInt style)  (toCInt characterSet)  -foreign import ccall "wxStyledTextCtrl_StyleSetCharacterSet" wxStyledTextCtrl_StyleSetCharacterSet :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> IO ()---- | usage: (@styledTextCtrlStyleSetEOLFilled obj style filled@).-styledTextCtrlStyleSetEOLFilled :: StyledTextCtrl  a -> Int -> Bool ->  IO ()-styledTextCtrlStyleSetEOLFilled _obj style filled -  = withObjectRef "styledTextCtrlStyleSetEOLFilled" _obj $ \cobj__obj -> -    wxStyledTextCtrl_StyleSetEOLFilled cobj__obj  (toCInt style)  (toCBool filled)  -foreign import ccall "wxStyledTextCtrl_StyleSetEOLFilled" wxStyledTextCtrl_StyleSetEOLFilled :: Ptr (TStyledTextCtrl a) -> CInt -> CBool -> IO ()---- | usage: (@styledTextCtrlStyleSetFaceName obj style fontName@).-styledTextCtrlStyleSetFaceName :: StyledTextCtrl  a -> Int -> String ->  IO ()-styledTextCtrlStyleSetFaceName _obj style fontName -  = withObjectRef "styledTextCtrlStyleSetFaceName" _obj $ \cobj__obj -> -    withStringPtr fontName $ \cobj_fontName -> -    wxStyledTextCtrl_StyleSetFaceName cobj__obj  (toCInt style)  cobj_fontName  -foreign import ccall "wxStyledTextCtrl_StyleSetFaceName" wxStyledTextCtrl_StyleSetFaceName :: Ptr (TStyledTextCtrl a) -> CInt -> Ptr (TWxString c) -> IO ()---- | usage: (@styledTextCtrlStyleSetFont obj styleNum font@).-styledTextCtrlStyleSetFont :: StyledTextCtrl  a -> Int -> Font  c ->  IO ()-styledTextCtrlStyleSetFont _obj styleNum font -  = withObjectRef "styledTextCtrlStyleSetFont" _obj $ \cobj__obj -> -    withObjectPtr font $ \cobj_font -> -    wxStyledTextCtrl_StyleSetFont cobj__obj  (toCInt styleNum)  cobj_font  -foreign import ccall "wxStyledTextCtrl_StyleSetFont" wxStyledTextCtrl_StyleSetFont :: Ptr (TStyledTextCtrl a) -> CInt -> Ptr (TFont c) -> IO ()---- | usage: (@styledTextCtrlStyleSetFontAttr obj styleNum size faceName bold italic underline@).-styledTextCtrlStyleSetFontAttr :: StyledTextCtrl  a -> Int -> Int -> String -> Bool -> Bool -> Bool ->  IO ()-styledTextCtrlStyleSetFontAttr _obj styleNum size faceName bold italic underline -  = withObjectRef "styledTextCtrlStyleSetFontAttr" _obj $ \cobj__obj -> -    withStringPtr faceName $ \cobj_faceName -> -    wxStyledTextCtrl_StyleSetFontAttr cobj__obj  (toCInt styleNum)  (toCInt size)  cobj_faceName  (toCBool bold)  (toCBool italic)  (toCBool underline)  -foreign import ccall "wxStyledTextCtrl_StyleSetFontAttr" wxStyledTextCtrl_StyleSetFontAttr :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> Ptr (TWxString d) -> CBool -> CBool -> CBool -> IO ()---- | usage: (@styledTextCtrlStyleSetForeground obj style forerforegforeb@).-styledTextCtrlStyleSetForeground :: StyledTextCtrl  a -> Int -> Color ->  IO ()-styledTextCtrlStyleSetForeground _obj style forerforegforeb -  = withObjectRef "styledTextCtrlStyleSetForeground" _obj $ \cobj__obj -> -    wxStyledTextCtrl_StyleSetForeground cobj__obj  (toCInt style)  (colorRed forerforegforeb) (colorGreen forerforegforeb) (colorBlue forerforegforeb)  -foreign import ccall "wxStyledTextCtrl_StyleSetForeground" wxStyledTextCtrl_StyleSetForeground :: Ptr (TStyledTextCtrl a) -> CInt -> Word8 -> Word8 -> Word8 -> IO ()---- | usage: (@styledTextCtrlStyleSetHotSpot obj style hotspot@).-styledTextCtrlStyleSetHotSpot :: StyledTextCtrl  a -> Int -> Bool ->  IO ()-styledTextCtrlStyleSetHotSpot _obj style hotspot -  = withObjectRef "styledTextCtrlStyleSetHotSpot" _obj $ \cobj__obj -> -    wxStyledTextCtrl_StyleSetHotSpot cobj__obj  (toCInt style)  (toCBool hotspot)  -foreign import ccall "wxStyledTextCtrl_StyleSetHotSpot" wxStyledTextCtrl_StyleSetHotSpot :: Ptr (TStyledTextCtrl a) -> CInt -> CBool -> IO ()---- | usage: (@styledTextCtrlStyleSetItalic obj style italic@).-styledTextCtrlStyleSetItalic :: StyledTextCtrl  a -> Int -> Bool ->  IO ()-styledTextCtrlStyleSetItalic _obj style italic -  = withObjectRef "styledTextCtrlStyleSetItalic" _obj $ \cobj__obj -> -    wxStyledTextCtrl_StyleSetItalic cobj__obj  (toCInt style)  (toCBool italic)  -foreign import ccall "wxStyledTextCtrl_StyleSetItalic" wxStyledTextCtrl_StyleSetItalic :: Ptr (TStyledTextCtrl a) -> CInt -> CBool -> IO ()---- | usage: (@styledTextCtrlStyleSetSize obj style sizePoints@).-styledTextCtrlStyleSetSize :: StyledTextCtrl  a -> Int -> Int ->  IO ()-styledTextCtrlStyleSetSize _obj style sizePoints -  = withObjectRef "styledTextCtrlStyleSetSize" _obj $ \cobj__obj -> -    wxStyledTextCtrl_StyleSetSize cobj__obj  (toCInt style)  (toCInt sizePoints)  -foreign import ccall "wxStyledTextCtrl_StyleSetSize" wxStyledTextCtrl_StyleSetSize :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> IO ()---- | usage: (@styledTextCtrlStyleSetSpec obj styleNum spec@).-styledTextCtrlStyleSetSpec :: StyledTextCtrl  a -> Int -> String ->  IO ()-styledTextCtrlStyleSetSpec _obj styleNum spec -  = withObjectRef "styledTextCtrlStyleSetSpec" _obj $ \cobj__obj -> -    withStringPtr spec $ \cobj_spec -> -    wxStyledTextCtrl_StyleSetSpec cobj__obj  (toCInt styleNum)  cobj_spec  -foreign import ccall "wxStyledTextCtrl_StyleSetSpec" wxStyledTextCtrl_StyleSetSpec :: Ptr (TStyledTextCtrl a) -> CInt -> Ptr (TWxString c) -> IO ()---- | usage: (@styledTextCtrlStyleSetUnderline obj style underline@).-styledTextCtrlStyleSetUnderline :: StyledTextCtrl  a -> Int -> Bool ->  IO ()-styledTextCtrlStyleSetUnderline _obj style underline -  = withObjectRef "styledTextCtrlStyleSetUnderline" _obj $ \cobj__obj -> -    wxStyledTextCtrl_StyleSetUnderline cobj__obj  (toCInt style)  (toCBool underline)  -foreign import ccall "wxStyledTextCtrl_StyleSetUnderline" wxStyledTextCtrl_StyleSetUnderline :: Ptr (TStyledTextCtrl a) -> CInt -> CBool -> IO ()---- | usage: (@styledTextCtrlStyleSetVisible obj style visible@).-styledTextCtrlStyleSetVisible :: StyledTextCtrl  a -> Int -> Bool ->  IO ()-styledTextCtrlStyleSetVisible _obj style visible -  = withObjectRef "styledTextCtrlStyleSetVisible" _obj $ \cobj__obj -> -    wxStyledTextCtrl_StyleSetVisible cobj__obj  (toCInt style)  (toCBool visible)  -foreign import ccall "wxStyledTextCtrl_StyleSetVisible" wxStyledTextCtrl_StyleSetVisible :: Ptr (TStyledTextCtrl a) -> CInt -> CBool -> IO ()---- | usage: (@styledTextCtrlTargetFromSelection obj@).-styledTextCtrlTargetFromSelection :: StyledTextCtrl  a ->  IO ()-styledTextCtrlTargetFromSelection _obj -  = withObjectRef "styledTextCtrlTargetFromSelection" _obj $ \cobj__obj -> -    wxStyledTextCtrl_TargetFromSelection cobj__obj  -foreign import ccall "wxStyledTextCtrl_TargetFromSelection" wxStyledTextCtrl_TargetFromSelection :: Ptr (TStyledTextCtrl a) -> IO ()---- | usage: (@styledTextCtrlTextHeight obj line@).-styledTextCtrlTextHeight :: StyledTextCtrl  a -> Int ->  IO Int-styledTextCtrlTextHeight _obj line -  = withIntResult $-    withObjectRef "styledTextCtrlTextHeight" _obj $ \cobj__obj -> -    wxStyledTextCtrl_TextHeight cobj__obj  (toCInt line)  -foreign import ccall "wxStyledTextCtrl_TextHeight" wxStyledTextCtrl_TextHeight :: Ptr (TStyledTextCtrl a) -> CInt -> IO CInt---- | usage: (@styledTextCtrlTextWidth obj style text@).-styledTextCtrlTextWidth :: StyledTextCtrl  a -> Int -> String ->  IO Int-styledTextCtrlTextWidth _obj style text -  = withIntResult $-    withObjectRef "styledTextCtrlTextWidth" _obj $ \cobj__obj -> -    withStringPtr text $ \cobj_text -> -    wxStyledTextCtrl_TextWidth cobj__obj  (toCInt style)  cobj_text  -foreign import ccall "wxStyledTextCtrl_TextWidth" wxStyledTextCtrl_TextWidth :: Ptr (TStyledTextCtrl a) -> CInt -> Ptr (TWxString c) -> IO CInt---- | usage: (@styledTextCtrlToggleFold obj line@).-styledTextCtrlToggleFold :: StyledTextCtrl  a -> Int ->  IO ()-styledTextCtrlToggleFold _obj line -  = withObjectRef "styledTextCtrlToggleFold" _obj $ \cobj__obj -> -    wxStyledTextCtrl_ToggleFold cobj__obj  (toCInt line)  -foreign import ccall "wxStyledTextCtrl_ToggleFold" wxStyledTextCtrl_ToggleFold :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()---- | usage: (@styledTextCtrlUndo obj@).-styledTextCtrlUndo :: StyledTextCtrl  a ->  IO ()-styledTextCtrlUndo _obj -  = withObjectRef "styledTextCtrlUndo" _obj $ \cobj__obj -> -    wxStyledTextCtrl_Undo cobj__obj  -foreign import ccall "wxStyledTextCtrl_Undo" wxStyledTextCtrl_Undo :: Ptr (TStyledTextCtrl a) -> IO ()---- | usage: (@styledTextCtrlUsePopUp obj allowPopUp@).-styledTextCtrlUsePopUp :: StyledTextCtrl  a -> Bool ->  IO ()-styledTextCtrlUsePopUp _obj allowPopUp -  = withObjectRef "styledTextCtrlUsePopUp" _obj $ \cobj__obj -> -    wxStyledTextCtrl_UsePopUp cobj__obj  (toCBool allowPopUp)  -foreign import ccall "wxStyledTextCtrl_UsePopUp" wxStyledTextCtrl_UsePopUp :: Ptr (TStyledTextCtrl a) -> CBool -> IO ()---- | usage: (@styledTextCtrlUserListShow obj listType itemList@).-styledTextCtrlUserListShow :: StyledTextCtrl  a -> Int -> String ->  IO ()-styledTextCtrlUserListShow _obj listType itemList -  = withObjectRef "styledTextCtrlUserListShow" _obj $ \cobj__obj -> -    withStringPtr itemList $ \cobj_itemList -> -    wxStyledTextCtrl_UserListShow cobj__obj  (toCInt listType)  cobj_itemList  -foreign import ccall "wxStyledTextCtrl_UserListShow" wxStyledTextCtrl_UserListShow :: Ptr (TStyledTextCtrl a) -> CInt -> Ptr (TWxString c) -> IO ()---- | usage: (@styledTextCtrlVisibleFromDocLine obj line@).-styledTextCtrlVisibleFromDocLine :: StyledTextCtrl  a -> Int ->  IO Int-styledTextCtrlVisibleFromDocLine _obj line -  = withIntResult $-    withObjectRef "styledTextCtrlVisibleFromDocLine" _obj $ \cobj__obj -> -    wxStyledTextCtrl_VisibleFromDocLine cobj__obj  (toCInt line)  -foreign import ccall "wxStyledTextCtrl_VisibleFromDocLine" wxStyledTextCtrl_VisibleFromDocLine :: Ptr (TStyledTextCtrl a) -> CInt -> IO CInt---- | usage: (@styledTextCtrlWordEndPosition obj pos onlyWordCharacters@).-styledTextCtrlWordEndPosition :: StyledTextCtrl  a -> Int -> Bool ->  IO Int-styledTextCtrlWordEndPosition _obj pos onlyWordCharacters -  = withIntResult $-    withObjectRef "styledTextCtrlWordEndPosition" _obj $ \cobj__obj -> -    wxStyledTextCtrl_WordEndPosition cobj__obj  (toCInt pos)  (toCBool onlyWordCharacters)  -foreign import ccall "wxStyledTextCtrl_WordEndPosition" wxStyledTextCtrl_WordEndPosition :: Ptr (TStyledTextCtrl a) -> CInt -> CBool -> IO CInt---- | usage: (@styledTextCtrlWordPartLeft obj@).-styledTextCtrlWordPartLeft :: StyledTextCtrl  a ->  IO ()-styledTextCtrlWordPartLeft _obj -  = withObjectRef "styledTextCtrlWordPartLeft" _obj $ \cobj__obj -> -    wxStyledTextCtrl_WordPartLeft cobj__obj  -foreign import ccall "wxStyledTextCtrl_WordPartLeft" wxStyledTextCtrl_WordPartLeft :: Ptr (TStyledTextCtrl a) -> IO ()---- | usage: (@styledTextCtrlWordPartLeftExtend obj@).-styledTextCtrlWordPartLeftExtend :: StyledTextCtrl  a ->  IO ()-styledTextCtrlWordPartLeftExtend _obj -  = withObjectRef "styledTextCtrlWordPartLeftExtend" _obj $ \cobj__obj -> -    wxStyledTextCtrl_WordPartLeftExtend cobj__obj  -foreign import ccall "wxStyledTextCtrl_WordPartLeftExtend" wxStyledTextCtrl_WordPartLeftExtend :: Ptr (TStyledTextCtrl a) -> IO ()---- | usage: (@styledTextCtrlWordPartRight obj@).-styledTextCtrlWordPartRight :: StyledTextCtrl  a ->  IO ()-styledTextCtrlWordPartRight _obj -  = withObjectRef "styledTextCtrlWordPartRight" _obj $ \cobj__obj -> -    wxStyledTextCtrl_WordPartRight cobj__obj  -foreign import ccall "wxStyledTextCtrl_WordPartRight" wxStyledTextCtrl_WordPartRight :: Ptr (TStyledTextCtrl a) -> IO ()---- | usage: (@styledTextCtrlWordPartRightExtend obj@).-styledTextCtrlWordPartRightExtend :: StyledTextCtrl  a ->  IO ()-styledTextCtrlWordPartRightExtend _obj -  = withObjectRef "styledTextCtrlWordPartRightExtend" _obj $ \cobj__obj -> -    wxStyledTextCtrl_WordPartRightExtend cobj__obj  -foreign import ccall "wxStyledTextCtrl_WordPartRightExtend" wxStyledTextCtrl_WordPartRightExtend :: Ptr (TStyledTextCtrl a) -> IO ()---- | usage: (@styledTextCtrlWordStartPosition obj pos onlyWordCharacters@).-styledTextCtrlWordStartPosition :: StyledTextCtrl  a -> Int -> Bool ->  IO Int-styledTextCtrlWordStartPosition _obj pos onlyWordCharacters -  = withIntResult $-    withObjectRef "styledTextCtrlWordStartPosition" _obj $ \cobj__obj -> -    wxStyledTextCtrl_WordStartPosition cobj__obj  (toCInt pos)  (toCBool onlyWordCharacters)  -foreign import ccall "wxStyledTextCtrl_WordStartPosition" wxStyledTextCtrl_WordStartPosition :: Ptr (TStyledTextCtrl a) -> CInt -> CBool -> IO CInt---- | usage: (@styledTextEventClone obj@).-styledTextEventClone :: StyledTextEvent  a ->  IO (StyledTextEvent  ())-styledTextEventClone _obj -  = withObjectResult $-    withObjectRef "styledTextEventClone" _obj $ \cobj__obj -> -    wxStyledTextEvent_Clone cobj__obj  -foreign import ccall "wxStyledTextEvent_Clone" wxStyledTextEvent_Clone :: Ptr (TStyledTextEvent a) -> IO (Ptr (TStyledTextEvent ()))---- | usage: (@styledTextEventGetAlt obj@).-styledTextEventGetAlt :: StyledTextEvent  a ->  IO Bool-styledTextEventGetAlt _obj -  = withBoolResult $-    withObjectRef "styledTextEventGetAlt" _obj $ \cobj__obj -> -    wxStyledTextEvent_GetAlt cobj__obj  -foreign import ccall "wxStyledTextEvent_GetAlt" wxStyledTextEvent_GetAlt :: Ptr (TStyledTextEvent a) -> IO CBool---- | usage: (@styledTextEventGetControl obj@).-styledTextEventGetControl :: StyledTextEvent  a ->  IO Bool-styledTextEventGetControl _obj -  = withBoolResult $-    withObjectRef "styledTextEventGetControl" _obj $ \cobj__obj -> -    wxStyledTextEvent_GetControl cobj__obj  -foreign import ccall "wxStyledTextEvent_GetControl" wxStyledTextEvent_GetControl :: Ptr (TStyledTextEvent a) -> IO CBool---- | usage: (@styledTextEventGetDragAllowMove obj@).-styledTextEventGetDragAllowMove :: StyledTextEvent  a ->  IO Bool-styledTextEventGetDragAllowMove _obj -  = withBoolResult $-    withObjectRef "styledTextEventGetDragAllowMove" _obj $ \cobj__obj -> -    wxStyledTextEvent_GetDragAllowMove cobj__obj  -foreign import ccall "wxStyledTextEvent_GetDragAllowMove" wxStyledTextEvent_GetDragAllowMove :: Ptr (TStyledTextEvent a) -> IO CBool---- | usage: (@styledTextEventGetDragResult obj@).-styledTextEventGetDragResult :: StyledTextEvent  a ->  IO Int-styledTextEventGetDragResult _obj -  = withIntResult $-    withObjectRef "styledTextEventGetDragResult" _obj $ \cobj__obj -> -    wxStyledTextEvent_GetDragResult cobj__obj  -foreign import ccall "wxStyledTextEvent_GetDragResult" wxStyledTextEvent_GetDragResult :: Ptr (TStyledTextEvent a) -> IO CInt---- | usage: (@styledTextEventGetDragText obj@).-styledTextEventGetDragText :: StyledTextEvent  a ->  IO (String)-styledTextEventGetDragText _obj -  = withManagedStringResult $-    withObjectRef "styledTextEventGetDragText" _obj $ \cobj__obj -> -    wxStyledTextEvent_GetDragText cobj__obj  -foreign import ccall "wxStyledTextEvent_GetDragText" wxStyledTextEvent_GetDragText :: Ptr (TStyledTextEvent a) -> IO (Ptr (TWxString ()))---- | usage: (@styledTextEventGetFoldLevelNow obj@).-styledTextEventGetFoldLevelNow :: StyledTextEvent  a ->  IO Int-styledTextEventGetFoldLevelNow _obj -  = withIntResult $-    withObjectRef "styledTextEventGetFoldLevelNow" _obj $ \cobj__obj -> -    wxStyledTextEvent_GetFoldLevelNow cobj__obj  -foreign import ccall "wxStyledTextEvent_GetFoldLevelNow" wxStyledTextEvent_GetFoldLevelNow :: Ptr (TStyledTextEvent a) -> IO CInt---- | usage: (@styledTextEventGetFoldLevelPrev obj@).-styledTextEventGetFoldLevelPrev :: StyledTextEvent  a ->  IO Int-styledTextEventGetFoldLevelPrev _obj -  = withIntResult $-    withObjectRef "styledTextEventGetFoldLevelPrev" _obj $ \cobj__obj -> -    wxStyledTextEvent_GetFoldLevelPrev cobj__obj  -foreign import ccall "wxStyledTextEvent_GetFoldLevelPrev" wxStyledTextEvent_GetFoldLevelPrev :: Ptr (TStyledTextEvent a) -> IO CInt---- | usage: (@styledTextEventGetKey obj@).-styledTextEventGetKey :: StyledTextEvent  a ->  IO Int-styledTextEventGetKey _obj -  = withIntResult $-    withObjectRef "styledTextEventGetKey" _obj $ \cobj__obj -> -    wxStyledTextEvent_GetKey cobj__obj  -foreign import ccall "wxStyledTextEvent_GetKey" wxStyledTextEvent_GetKey :: Ptr (TStyledTextEvent a) -> IO CInt---- | usage: (@styledTextEventGetLParam obj@).-styledTextEventGetLParam :: StyledTextEvent  a ->  IO Int-styledTextEventGetLParam _obj -  = withIntResult $-    withObjectRef "styledTextEventGetLParam" _obj $ \cobj__obj -> -    wxStyledTextEvent_GetLParam cobj__obj  -foreign import ccall "wxStyledTextEvent_GetLParam" wxStyledTextEvent_GetLParam :: Ptr (TStyledTextEvent a) -> IO CInt---- | usage: (@styledTextEventGetLength obj@).-styledTextEventGetLength :: StyledTextEvent  a ->  IO Int-styledTextEventGetLength _obj -  = withIntResult $-    withObjectRef "styledTextEventGetLength" _obj $ \cobj__obj -> -    wxStyledTextEvent_GetLength cobj__obj  -foreign import ccall "wxStyledTextEvent_GetLength" wxStyledTextEvent_GetLength :: Ptr (TStyledTextEvent a) -> IO CInt---- | usage: (@styledTextEventGetLine obj@).-styledTextEventGetLine :: StyledTextEvent  a ->  IO Int-styledTextEventGetLine _obj -  = withIntResult $-    withObjectRef "styledTextEventGetLine" _obj $ \cobj__obj -> -    wxStyledTextEvent_GetLine cobj__obj  -foreign import ccall "wxStyledTextEvent_GetLine" wxStyledTextEvent_GetLine :: Ptr (TStyledTextEvent a) -> IO CInt---- | usage: (@styledTextEventGetLinesAdded obj@).-styledTextEventGetLinesAdded :: StyledTextEvent  a ->  IO Int-styledTextEventGetLinesAdded _obj -  = withIntResult $-    withObjectRef "styledTextEventGetLinesAdded" _obj $ \cobj__obj -> -    wxStyledTextEvent_GetLinesAdded cobj__obj  -foreign import ccall "wxStyledTextEvent_GetLinesAdded" wxStyledTextEvent_GetLinesAdded :: Ptr (TStyledTextEvent a) -> IO CInt---- | usage: (@styledTextEventGetListType obj@).-styledTextEventGetListType :: StyledTextEvent  a ->  IO Int-styledTextEventGetListType _obj -  = withIntResult $-    withObjectRef "styledTextEventGetListType" _obj $ \cobj__obj -> -    wxStyledTextEvent_GetListType cobj__obj  -foreign import ccall "wxStyledTextEvent_GetListType" wxStyledTextEvent_GetListType :: Ptr (TStyledTextEvent a) -> IO CInt---- | usage: (@styledTextEventGetMargin obj@).-styledTextEventGetMargin :: StyledTextEvent  a ->  IO Int-styledTextEventGetMargin _obj -  = withIntResult $-    withObjectRef "styledTextEventGetMargin" _obj $ \cobj__obj -> -    wxStyledTextEvent_GetMargin cobj__obj  -foreign import ccall "wxStyledTextEvent_GetMargin" wxStyledTextEvent_GetMargin :: Ptr (TStyledTextEvent a) -> IO CInt---- | usage: (@styledTextEventGetMessage obj@).-styledTextEventGetMessage :: StyledTextEvent  a ->  IO Int-styledTextEventGetMessage _obj -  = withIntResult $-    withObjectRef "styledTextEventGetMessage" _obj $ \cobj__obj -> -    wxStyledTextEvent_GetMessage cobj__obj  -foreign import ccall "wxStyledTextEvent_GetMessage" wxStyledTextEvent_GetMessage :: Ptr (TStyledTextEvent a) -> IO CInt---- | usage: (@styledTextEventGetModificationType obj@).-styledTextEventGetModificationType :: StyledTextEvent  a ->  IO Int-styledTextEventGetModificationType _obj -  = withIntResult $-    withObjectRef "styledTextEventGetModificationType" _obj $ \cobj__obj -> -    wxStyledTextEvent_GetModificationType cobj__obj  -foreign import ccall "wxStyledTextEvent_GetModificationType" wxStyledTextEvent_GetModificationType :: Ptr (TStyledTextEvent a) -> IO CInt---- | usage: (@styledTextEventGetModifiers obj@).-styledTextEventGetModifiers :: StyledTextEvent  a ->  IO Int-styledTextEventGetModifiers _obj -  = withIntResult $-    withObjectRef "styledTextEventGetModifiers" _obj $ \cobj__obj -> -    wxStyledTextEvent_GetModifiers cobj__obj  -foreign import ccall "wxStyledTextEvent_GetModifiers" wxStyledTextEvent_GetModifiers :: Ptr (TStyledTextEvent a) -> IO CInt---- | usage: (@styledTextEventGetPosition obj@).-styledTextEventGetPosition :: StyledTextEvent  a ->  IO Int-styledTextEventGetPosition _obj -  = withIntResult $-    withObjectRef "styledTextEventGetPosition" _obj $ \cobj__obj -> -    wxStyledTextEvent_GetPosition cobj__obj  -foreign import ccall "wxStyledTextEvent_GetPosition" wxStyledTextEvent_GetPosition :: Ptr (TStyledTextEvent a) -> IO CInt---- | usage: (@styledTextEventGetShift obj@).-styledTextEventGetShift :: StyledTextEvent  a ->  IO Bool-styledTextEventGetShift _obj -  = withBoolResult $-    withObjectRef "styledTextEventGetShift" _obj $ \cobj__obj -> -    wxStyledTextEvent_GetShift cobj__obj  -foreign import ccall "wxStyledTextEvent_GetShift" wxStyledTextEvent_GetShift :: Ptr (TStyledTextEvent a) -> IO CBool---- | usage: (@styledTextEventGetText obj@).-styledTextEventGetText :: StyledTextEvent  a ->  IO (String)-styledTextEventGetText _obj -  = withManagedStringResult $-    withObjectRef "styledTextEventGetText" _obj $ \cobj__obj -> -    wxStyledTextEvent_GetText cobj__obj  -foreign import ccall "wxStyledTextEvent_GetText" wxStyledTextEvent_GetText :: Ptr (TStyledTextEvent a) -> IO (Ptr (TWxString ()))---- | usage: (@styledTextEventGetWParam obj@).-styledTextEventGetWParam :: StyledTextEvent  a ->  IO Int-styledTextEventGetWParam _obj -  = withIntResult $-    withObjectRef "styledTextEventGetWParam" _obj $ \cobj__obj -> -    wxStyledTextEvent_GetWParam cobj__obj  -foreign import ccall "wxStyledTextEvent_GetWParam" wxStyledTextEvent_GetWParam :: Ptr (TStyledTextEvent a) -> IO CInt---- | usage: (@styledTextEventGetX obj@).-styledTextEventGetX :: StyledTextEvent  a ->  IO Int-styledTextEventGetX _obj -  = withIntResult $-    withObjectRef "styledTextEventGetX" _obj $ \cobj__obj -> -    wxStyledTextEvent_GetX cobj__obj  -foreign import ccall "wxStyledTextEvent_GetX" wxStyledTextEvent_GetX :: Ptr (TStyledTextEvent a) -> IO CInt---- | usage: (@styledTextEventGetY obj@).-styledTextEventGetY :: StyledTextEvent  a ->  IO Int-styledTextEventGetY _obj -  = withIntResult $-    withObjectRef "styledTextEventGetY" _obj $ \cobj__obj -> -    wxStyledTextEvent_GetY cobj__obj  -foreign import ccall "wxStyledTextEvent_GetY" wxStyledTextEvent_GetY :: Ptr (TStyledTextEvent a) -> IO CInt---- | usage: (@styledTextEventSetDragAllowMove obj val@).-styledTextEventSetDragAllowMove :: StyledTextEvent  a -> Bool ->  IO ()-styledTextEventSetDragAllowMove _obj val -  = withObjectRef "styledTextEventSetDragAllowMove" _obj $ \cobj__obj -> -    wxStyledTextEvent_SetDragAllowMove cobj__obj  (toCBool val)  -foreign import ccall "wxStyledTextEvent_SetDragAllowMove" wxStyledTextEvent_SetDragAllowMove :: Ptr (TStyledTextEvent a) -> CBool -> IO ()---- | usage: (@styledTextEventSetDragResult obj val@).-styledTextEventSetDragResult :: StyledTextEvent  a -> Int ->  IO ()-styledTextEventSetDragResult _obj val -  = withObjectRef "styledTextEventSetDragResult" _obj $ \cobj__obj -> -    wxStyledTextEvent_SetDragResult cobj__obj  (toCInt val)  -foreign import ccall "wxStyledTextEvent_SetDragResult" wxStyledTextEvent_SetDragResult :: Ptr (TStyledTextEvent a) -> CInt -> IO ()---- | usage: (@styledTextEventSetDragText obj val@).-styledTextEventSetDragText :: StyledTextEvent  a -> String ->  IO ()-styledTextEventSetDragText _obj val -  = withObjectRef "styledTextEventSetDragText" _obj $ \cobj__obj -> -    withStringPtr val $ \cobj_val -> -    wxStyledTextEvent_SetDragText cobj__obj  cobj_val  -foreign import ccall "wxStyledTextEvent_SetDragText" wxStyledTextEvent_SetDragText :: Ptr (TStyledTextEvent a) -> Ptr (TWxString b) -> IO ()---- | usage: (@styledTextEventSetFoldLevelNow obj val@).-styledTextEventSetFoldLevelNow :: StyledTextEvent  a -> Int ->  IO ()-styledTextEventSetFoldLevelNow _obj val -  = withObjectRef "styledTextEventSetFoldLevelNow" _obj $ \cobj__obj -> -    wxStyledTextEvent_SetFoldLevelNow cobj__obj  (toCInt val)  -foreign import ccall "wxStyledTextEvent_SetFoldLevelNow" wxStyledTextEvent_SetFoldLevelNow :: Ptr (TStyledTextEvent a) -> CInt -> IO ()---- | usage: (@styledTextEventSetFoldLevelPrev obj val@).-styledTextEventSetFoldLevelPrev :: StyledTextEvent  a -> Int ->  IO ()-styledTextEventSetFoldLevelPrev _obj val -  = withObjectRef "styledTextEventSetFoldLevelPrev" _obj $ \cobj__obj -> -    wxStyledTextEvent_SetFoldLevelPrev cobj__obj  (toCInt val)  -foreign import ccall "wxStyledTextEvent_SetFoldLevelPrev" wxStyledTextEvent_SetFoldLevelPrev :: Ptr (TStyledTextEvent a) -> CInt -> IO ()---- | usage: (@styledTextEventSetKey obj k@).-styledTextEventSetKey :: StyledTextEvent  a -> Int ->  IO ()-styledTextEventSetKey _obj k -  = withObjectRef "styledTextEventSetKey" _obj $ \cobj__obj -> -    wxStyledTextEvent_SetKey cobj__obj  (toCInt k)  -foreign import ccall "wxStyledTextEvent_SetKey" wxStyledTextEvent_SetKey :: Ptr (TStyledTextEvent a) -> CInt -> IO ()---- | usage: (@styledTextEventSetLParam obj val@).-styledTextEventSetLParam :: StyledTextEvent  a -> Int ->  IO ()-styledTextEventSetLParam _obj val -  = withObjectRef "styledTextEventSetLParam" _obj $ \cobj__obj -> -    wxStyledTextEvent_SetLParam cobj__obj  (toCInt val)  -foreign import ccall "wxStyledTextEvent_SetLParam" wxStyledTextEvent_SetLParam :: Ptr (TStyledTextEvent a) -> CInt -> IO ()---- | usage: (@styledTextEventSetLength obj len@).-styledTextEventSetLength :: StyledTextEvent  a -> Int ->  IO ()-styledTextEventSetLength _obj len -  = withObjectRef "styledTextEventSetLength" _obj $ \cobj__obj -> -    wxStyledTextEvent_SetLength cobj__obj  (toCInt len)  -foreign import ccall "wxStyledTextEvent_SetLength" wxStyledTextEvent_SetLength :: Ptr (TStyledTextEvent a) -> CInt -> IO ()---- | usage: (@styledTextEventSetLine obj val@).-styledTextEventSetLine :: StyledTextEvent  a -> Int ->  IO ()-styledTextEventSetLine _obj val -  = withObjectRef "styledTextEventSetLine" _obj $ \cobj__obj -> -    wxStyledTextEvent_SetLine cobj__obj  (toCInt val)  -foreign import ccall "wxStyledTextEvent_SetLine" wxStyledTextEvent_SetLine :: Ptr (TStyledTextEvent a) -> CInt -> IO ()---- | usage: (@styledTextEventSetLinesAdded obj num@).-styledTextEventSetLinesAdded :: StyledTextEvent  a -> Int ->  IO ()-styledTextEventSetLinesAdded _obj num -  = withObjectRef "styledTextEventSetLinesAdded" _obj $ \cobj__obj -> -    wxStyledTextEvent_SetLinesAdded cobj__obj  (toCInt num)  -foreign import ccall "wxStyledTextEvent_SetLinesAdded" wxStyledTextEvent_SetLinesAdded :: Ptr (TStyledTextEvent a) -> CInt -> IO ()---- | usage: (@styledTextEventSetListType obj val@).-styledTextEventSetListType :: StyledTextEvent  a -> Int ->  IO ()-styledTextEventSetListType _obj val -  = withObjectRef "styledTextEventSetListType" _obj $ \cobj__obj -> -    wxStyledTextEvent_SetListType cobj__obj  (toCInt val)  -foreign import ccall "wxStyledTextEvent_SetListType" wxStyledTextEvent_SetListType :: Ptr (TStyledTextEvent a) -> CInt -> IO ()---- | usage: (@styledTextEventSetMargin obj val@).-styledTextEventSetMargin :: StyledTextEvent  a -> Int ->  IO ()-styledTextEventSetMargin _obj val -  = withObjectRef "styledTextEventSetMargin" _obj $ \cobj__obj -> -    wxStyledTextEvent_SetMargin cobj__obj  (toCInt val)  -foreign import ccall "wxStyledTextEvent_SetMargin" wxStyledTextEvent_SetMargin :: Ptr (TStyledTextEvent a) -> CInt -> IO ()---- | usage: (@styledTextEventSetMessage obj val@).-styledTextEventSetMessage :: StyledTextEvent  a -> Int ->  IO ()-styledTextEventSetMessage _obj val -  = withObjectRef "styledTextEventSetMessage" _obj $ \cobj__obj -> -    wxStyledTextEvent_SetMessage cobj__obj  (toCInt val)  -foreign import ccall "wxStyledTextEvent_SetMessage" wxStyledTextEvent_SetMessage :: Ptr (TStyledTextEvent a) -> CInt -> IO ()---- | usage: (@styledTextEventSetModificationType obj t@).-styledTextEventSetModificationType :: StyledTextEvent  a -> Int ->  IO ()-styledTextEventSetModificationType _obj t -  = withObjectRef "styledTextEventSetModificationType" _obj $ \cobj__obj -> -    wxStyledTextEvent_SetModificationType cobj__obj  (toCInt t)  -foreign import ccall "wxStyledTextEvent_SetModificationType" wxStyledTextEvent_SetModificationType :: Ptr (TStyledTextEvent a) -> CInt -> IO ()---- | usage: (@styledTextEventSetModifiers obj m@).-styledTextEventSetModifiers :: StyledTextEvent  a -> Int ->  IO ()-styledTextEventSetModifiers _obj m -  = withObjectRef "styledTextEventSetModifiers" _obj $ \cobj__obj -> -    wxStyledTextEvent_SetModifiers cobj__obj  (toCInt m)  -foreign import ccall "wxStyledTextEvent_SetModifiers" wxStyledTextEvent_SetModifiers :: Ptr (TStyledTextEvent a) -> CInt -> IO ()---- | usage: (@styledTextEventSetPosition obj pos@).-styledTextEventSetPosition :: StyledTextEvent  a -> Int ->  IO ()-styledTextEventSetPosition _obj pos -  = withObjectRef "styledTextEventSetPosition" _obj $ \cobj__obj -> -    wxStyledTextEvent_SetPosition cobj__obj  (toCInt pos)  -foreign import ccall "wxStyledTextEvent_SetPosition" wxStyledTextEvent_SetPosition :: Ptr (TStyledTextEvent a) -> CInt -> IO ()---- | usage: (@styledTextEventSetText obj t@).-styledTextEventSetText :: StyledTextEvent  a -> String ->  IO ()-styledTextEventSetText _obj t -  = withObjectRef "styledTextEventSetText" _obj $ \cobj__obj -> -    withStringPtr t $ \cobj_t -> -    wxStyledTextEvent_SetText cobj__obj  cobj_t  -foreign import ccall "wxStyledTextEvent_SetText" wxStyledTextEvent_SetText :: Ptr (TStyledTextEvent a) -> Ptr (TWxString b) -> IO ()---- | usage: (@styledTextEventSetWParam obj val@).-styledTextEventSetWParam :: StyledTextEvent  a -> Int ->  IO ()-styledTextEventSetWParam _obj val -  = withObjectRef "styledTextEventSetWParam" _obj $ \cobj__obj -> -    wxStyledTextEvent_SetWParam cobj__obj  (toCInt val)  -foreign import ccall "wxStyledTextEvent_SetWParam" wxStyledTextEvent_SetWParam :: Ptr (TStyledTextEvent a) -> CInt -> IO ()---- | usage: (@styledTextEventSetX obj val@).-styledTextEventSetX :: StyledTextEvent  a -> Int ->  IO ()-styledTextEventSetX _obj val -  = withObjectRef "styledTextEventSetX" _obj $ \cobj__obj -> -    wxStyledTextEvent_SetX cobj__obj  (toCInt val)  -foreign import ccall "wxStyledTextEvent_SetX" wxStyledTextEvent_SetX :: Ptr (TStyledTextEvent a) -> CInt -> IO ()---- | usage: (@styledTextEventSetY obj val@).-styledTextEventSetY :: StyledTextEvent  a -> Int ->  IO ()-styledTextEventSetY _obj val -  = withObjectRef "styledTextEventSetY" _obj $ \cobj__obj -> -    wxStyledTextEvent_SetY cobj__obj  (toCInt val)  -foreign import ccall "wxStyledTextEvent_SetY" wxStyledTextEvent_SetY :: Ptr (TStyledTextEvent a) -> CInt -> IO ()---- | usage: (@svgFileDCCreate fileName@).-svgFileDCCreate :: String ->  IO (SVGFileDC  ())-svgFileDCCreate fileName -  = withObjectResult $-    withStringPtr fileName $ \cobj_fileName -> -    wxSVGFileDC_Create cobj_fileName  -foreign import ccall "wxSVGFileDC_Create" wxSVGFileDC_Create :: Ptr (TWxString a) -> IO (Ptr (TSVGFileDC ()))---- | usage: (@svgFileDCCreateWithSize fileName wh@).-svgFileDCCreateWithSize :: String -> Size ->  IO (SVGFileDC  ())-svgFileDCCreateWithSize fileName wh -  = withObjectResult $-    withStringPtr fileName $ \cobj_fileName -> -    wxSVGFileDC_CreateWithSize cobj_fileName  (toCIntSizeW wh) (toCIntSizeH wh)  -foreign import ccall "wxSVGFileDC_CreateWithSize" wxSVGFileDC_CreateWithSize :: Ptr (TWxString a) -> CInt -> CInt -> IO (Ptr (TSVGFileDC ()))---- | usage: (@svgFileDCCreateWithSizeAndResolution fileName wh adpi@).-svgFileDCCreateWithSizeAndResolution :: String -> Size -> Float ->  IO (SVGFileDC  ())-svgFileDCCreateWithSizeAndResolution fileName wh adpi -  = withObjectResult $-    withStringPtr fileName $ \cobj_fileName -> -    wxSVGFileDC_CreateWithSizeAndResolution cobj_fileName  (toCIntSizeW wh) (toCIntSizeH wh)  adpi  -foreign import ccall "wxSVGFileDC_CreateWithSizeAndResolution" wxSVGFileDC_CreateWithSizeAndResolution :: Ptr (TWxString a) -> CInt -> CInt -> Float -> IO (Ptr (TSVGFileDC ()))---- | usage: (@svgFileDCDelete obj@).-svgFileDCDelete :: SVGFileDC  a ->  IO ()-svgFileDCDelete-  = objectDelete----- | usage: (@systemSettingsGetColour index@).-systemSettingsGetColour :: Int ->  IO (Color)-systemSettingsGetColour index -  = withRefColour $ \pref -> -    wxSystemSettings_GetColour (toCInt index)   pref-foreign import ccall "wxSystemSettings_GetColour" wxSystemSettings_GetColour :: CInt -> Ptr (TColour ()) -> IO ()---- | usage: (@systemSettingsGetFont index@).-systemSettingsGetFont :: Int ->  IO (Font  ())-systemSettingsGetFont index -  = withRefFont $ \pref -> -    wxSystemSettings_GetFont (toCInt index)   pref-foreign import ccall "wxSystemSettings_GetFont" wxSystemSettings_GetFont :: CInt -> Ptr (TFont ()) -> IO ()---- | usage: (@systemSettingsGetMetric index@).-systemSettingsGetMetric :: Int ->  IO Int-systemSettingsGetMetric index -  = withIntResult $-    wxSystemSettings_GetMetric (toCInt index)  -foreign import ccall "wxSystemSettings_GetMetric" wxSystemSettings_GetMetric :: CInt -> IO CInt---- | usage: (@systemSettingsGetScreenType@).-systemSettingsGetScreenType ::  IO Int-systemSettingsGetScreenType -  = withIntResult $-    wxSystemSettings_GetScreenType -foreign import ccall "wxSystemSettings_GetScreenType" wxSystemSettings_GetScreenType :: IO CInt---- | usage: (@taskBarIconCreate@).-taskBarIconCreate ::  IO (TaskBarIcon  ())-taskBarIconCreate -  = withObjectResult $-    wxTaskBarIcon_Create -foreign import ccall "wxTaskBarIcon_Create" wxTaskBarIcon_Create :: IO (Ptr (TTaskBarIcon ()))---- | usage: (@taskBarIconDelete obj@).-taskBarIconDelete :: TaskBarIcon  a ->  IO ()-taskBarIconDelete-  = objectDelete----- | usage: (@taskBarIconIsIconInstalled obj@).-taskBarIconIsIconInstalled :: TaskBarIcon  a ->  IO Bool-taskBarIconIsIconInstalled _obj -  = withBoolResult $-    withObjectRef "taskBarIconIsIconInstalled" _obj $ \cobj__obj -> -    wxTaskBarIcon_IsIconInstalled cobj__obj  -foreign import ccall "wxTaskBarIcon_IsIconInstalled" wxTaskBarIcon_IsIconInstalled :: Ptr (TTaskBarIcon a) -> IO CBool---- | usage: (@taskBarIconIsOk obj@).-taskBarIconIsOk :: TaskBarIcon  a ->  IO Bool-taskBarIconIsOk _obj -  = withBoolResult $-    withObjectRef "taskBarIconIsOk" _obj $ \cobj__obj -> -    wxTaskBarIcon_IsOk cobj__obj  -foreign import ccall "wxTaskBarIcon_IsOk" wxTaskBarIcon_IsOk :: Ptr (TTaskBarIcon a) -> IO CBool---- | usage: (@taskBarIconPopupMenu obj menu@).-taskBarIconPopupMenu :: TaskBarIcon  a -> Menu  b ->  IO Bool-taskBarIconPopupMenu _obj menu -  = withBoolResult $-    withObjectRef "taskBarIconPopupMenu" _obj $ \cobj__obj -> -    withObjectPtr menu $ \cobj_menu -> -    wxTaskBarIcon_PopupMenu cobj__obj  cobj_menu  -foreign import ccall "wxTaskBarIcon_PopupMenu" wxTaskBarIcon_PopupMenu :: Ptr (TTaskBarIcon a) -> Ptr (TMenu b) -> IO CBool---- | usage: (@taskBarIconRemoveIcon obj@).-taskBarIconRemoveIcon :: TaskBarIcon  a ->  IO Bool-taskBarIconRemoveIcon _obj -  = withBoolResult $-    withObjectRef "taskBarIconRemoveIcon" _obj $ \cobj__obj -> -    wxTaskBarIcon_RemoveIcon cobj__obj  -foreign import ccall "wxTaskBarIcon_RemoveIcon" wxTaskBarIcon_RemoveIcon :: Ptr (TTaskBarIcon a) -> IO CBool---- | usage: (@taskBarIconSetIcon obj icon text@).-taskBarIconSetIcon :: TaskBarIcon  a -> Icon  b -> String ->  IO Bool-taskBarIconSetIcon _obj icon text -  = withBoolResult $-    withObjectRef "taskBarIconSetIcon" _obj $ \cobj__obj -> -    withObjectPtr icon $ \cobj_icon -> -    withStringPtr text $ \cobj_text -> -    wxTaskBarIcon_SetIcon cobj__obj  cobj_icon  cobj_text  -foreign import ccall "wxTaskBarIcon_SetIcon" wxTaskBarIcon_SetIcon :: Ptr (TTaskBarIcon a) -> Ptr (TIcon b) -> Ptr (TWxString c) -> IO CBool---- | usage: (@textAttrCreate colText colBack font@).-textAttrCreate :: Color -> Color -> Font  c ->  IO (TextAttr  ())-textAttrCreate colText colBack font -  = withObjectResult $-    withColourPtr colText $ \cobj_colText -> -    withColourPtr colBack $ \cobj_colBack -> -    withObjectPtr font $ \cobj_font -> -    wxTextAttr_Create cobj_colText  cobj_colBack  cobj_font  -foreign import ccall "wxTextAttr_Create" wxTextAttr_Create :: Ptr (TColour a) -> Ptr (TColour b) -> Ptr (TFont c) -> IO (Ptr (TTextAttr ()))---- | usage: (@textAttrCreateDefault@).-textAttrCreateDefault ::  IO (TextAttr  ())-textAttrCreateDefault -  = withObjectResult $-    wxTextAttr_CreateDefault -foreign import ccall "wxTextAttr_CreateDefault" wxTextAttr_CreateDefault :: IO (Ptr (TTextAttr ()))---- | usage: (@textAttrDelete obj@).-textAttrDelete :: TextAttr  a ->  IO ()-textAttrDelete _obj -  = withObjectRef "textAttrDelete" _obj $ \cobj__obj -> -    wxTextAttr_Delete cobj__obj  -foreign import ccall "wxTextAttr_Delete" wxTextAttr_Delete :: Ptr (TTextAttr a) -> IO ()---- | usage: (@textAttrGetBackgroundColour obj@).-textAttrGetBackgroundColour :: TextAttr  a ->  IO (Color)-textAttrGetBackgroundColour _obj -  = withRefColour $ \pref -> -    withObjectRef "textAttrGetBackgroundColour" _obj $ \cobj__obj -> -    wxTextAttr_GetBackgroundColour cobj__obj   pref-foreign import ccall "wxTextAttr_GetBackgroundColour" wxTextAttr_GetBackgroundColour :: Ptr (TTextAttr a) -> Ptr (TColour ()) -> IO ()---- | usage: (@textAttrGetFont obj@).-textAttrGetFont :: TextAttr  a ->  IO (Font  ())-textAttrGetFont _obj -  = withRefFont $ \pref -> -    withObjectRef "textAttrGetFont" _obj $ \cobj__obj -> -    wxTextAttr_GetFont cobj__obj   pref-foreign import ccall "wxTextAttr_GetFont" wxTextAttr_GetFont :: Ptr (TTextAttr a) -> Ptr (TFont ()) -> IO ()---- | usage: (@textAttrGetTextColour obj@).-textAttrGetTextColour :: TextAttr  a ->  IO (Color)-textAttrGetTextColour _obj -  = withRefColour $ \pref -> -    withObjectRef "textAttrGetTextColour" _obj $ \cobj__obj -> -    wxTextAttr_GetTextColour cobj__obj   pref-foreign import ccall "wxTextAttr_GetTextColour" wxTextAttr_GetTextColour :: Ptr (TTextAttr a) -> Ptr (TColour ()) -> IO ()---- | usage: (@textAttrHasBackgroundColour obj@).-textAttrHasBackgroundColour :: TextAttr  a ->  IO Bool-textAttrHasBackgroundColour _obj -  = withBoolResult $-    withObjectRef "textAttrHasBackgroundColour" _obj $ \cobj__obj -> -    wxTextAttr_HasBackgroundColour cobj__obj  -foreign import ccall "wxTextAttr_HasBackgroundColour" wxTextAttr_HasBackgroundColour :: Ptr (TTextAttr a) -> IO CBool---- | usage: (@textAttrHasFont obj@).-textAttrHasFont :: TextAttr  a ->  IO Bool-textAttrHasFont _obj -  = withBoolResult $-    withObjectRef "textAttrHasFont" _obj $ \cobj__obj -> -    wxTextAttr_HasFont cobj__obj  -foreign import ccall "wxTextAttr_HasFont" wxTextAttr_HasFont :: Ptr (TTextAttr a) -> IO CBool---- | usage: (@textAttrHasTextColour obj@).-textAttrHasTextColour :: TextAttr  a ->  IO Bool-textAttrHasTextColour _obj -  = withBoolResult $-    withObjectRef "textAttrHasTextColour" _obj $ \cobj__obj -> -    wxTextAttr_HasTextColour cobj__obj  -foreign import ccall "wxTextAttr_HasTextColour" wxTextAttr_HasTextColour :: Ptr (TTextAttr a) -> IO CBool---- | usage: (@textAttrIsDefault obj@).-textAttrIsDefault :: TextAttr  a ->  IO Bool-textAttrIsDefault _obj -  = withBoolResult $-    withObjectRef "textAttrIsDefault" _obj $ \cobj__obj -> -    wxTextAttr_IsDefault cobj__obj  -foreign import ccall "wxTextAttr_IsDefault" wxTextAttr_IsDefault :: Ptr (TTextAttr a) -> IO CBool---- | usage: (@textAttrSetBackgroundColour obj colour@).-textAttrSetBackgroundColour :: TextAttr  a -> Color ->  IO ()-textAttrSetBackgroundColour _obj colour -  = withObjectRef "textAttrSetBackgroundColour" _obj $ \cobj__obj -> -    withColourPtr colour $ \cobj_colour -> -    wxTextAttr_SetBackgroundColour cobj__obj  cobj_colour  -foreign import ccall "wxTextAttr_SetBackgroundColour" wxTextAttr_SetBackgroundColour :: Ptr (TTextAttr a) -> Ptr (TColour b) -> IO ()---- | usage: (@textAttrSetFont obj font@).-textAttrSetFont :: TextAttr  a -> Font  b ->  IO ()-textAttrSetFont _obj font -  = withObjectRef "textAttrSetFont" _obj $ \cobj__obj -> -    withObjectPtr font $ \cobj_font -> -    wxTextAttr_SetFont cobj__obj  cobj_font  -foreign import ccall "wxTextAttr_SetFont" wxTextAttr_SetFont :: Ptr (TTextAttr a) -> Ptr (TFont b) -> IO ()---- | usage: (@textAttrSetTextColour obj colour@).-textAttrSetTextColour :: TextAttr  a -> Color ->  IO ()-textAttrSetTextColour _obj colour -  = withObjectRef "textAttrSetTextColour" _obj $ \cobj__obj -> -    withColourPtr colour $ \cobj_colour -> -    wxTextAttr_SetTextColour cobj__obj  cobj_colour  -foreign import ccall "wxTextAttr_SetTextColour" wxTextAttr_SetTextColour :: Ptr (TTextAttr a) -> Ptr (TColour b) -> IO ()---- | usage: (@textCtrlAppendText obj text@).-textCtrlAppendText :: TextCtrl  a -> String ->  IO ()-textCtrlAppendText _obj text -  = withObjectRef "textCtrlAppendText" _obj $ \cobj__obj -> -    withStringPtr text $ \cobj_text -> -    wxTextCtrl_AppendText cobj__obj  cobj_text  -foreign import ccall "wxTextCtrl_AppendText" wxTextCtrl_AppendText :: Ptr (TTextCtrl a) -> Ptr (TWxString b) -> IO ()---- | usage: (@textCtrlCanCopy obj@).-textCtrlCanCopy :: TextCtrl  a ->  IO Bool-textCtrlCanCopy _obj -  = withBoolResult $-    withObjectRef "textCtrlCanCopy" _obj $ \cobj__obj -> -    wxTextCtrl_CanCopy cobj__obj  -foreign import ccall "wxTextCtrl_CanCopy" wxTextCtrl_CanCopy :: Ptr (TTextCtrl a) -> IO CBool---- | usage: (@textCtrlCanCut obj@).-textCtrlCanCut :: TextCtrl  a ->  IO Bool-textCtrlCanCut _obj -  = withBoolResult $-    withObjectRef "textCtrlCanCut" _obj $ \cobj__obj -> -    wxTextCtrl_CanCut cobj__obj  -foreign import ccall "wxTextCtrl_CanCut" wxTextCtrl_CanCut :: Ptr (TTextCtrl a) -> IO CBool---- | usage: (@textCtrlCanPaste obj@).-textCtrlCanPaste :: TextCtrl  a ->  IO Bool-textCtrlCanPaste _obj -  = withBoolResult $-    withObjectRef "textCtrlCanPaste" _obj $ \cobj__obj -> -    wxTextCtrl_CanPaste cobj__obj  -foreign import ccall "wxTextCtrl_CanPaste" wxTextCtrl_CanPaste :: Ptr (TTextCtrl a) -> IO CBool---- | usage: (@textCtrlCanRedo obj@).-textCtrlCanRedo :: TextCtrl  a ->  IO Bool-textCtrlCanRedo _obj -  = withBoolResult $-    withObjectRef "textCtrlCanRedo" _obj $ \cobj__obj -> -    wxTextCtrl_CanRedo cobj__obj  -foreign import ccall "wxTextCtrl_CanRedo" wxTextCtrl_CanRedo :: Ptr (TTextCtrl a) -> IO CBool---- | usage: (@textCtrlCanUndo obj@).-textCtrlCanUndo :: TextCtrl  a ->  IO Bool-textCtrlCanUndo _obj -  = withBoolResult $-    withObjectRef "textCtrlCanUndo" _obj $ \cobj__obj -> -    wxTextCtrl_CanUndo cobj__obj  -foreign import ccall "wxTextCtrl_CanUndo" wxTextCtrl_CanUndo :: Ptr (TTextCtrl a) -> IO CBool---- | usage: (@textCtrlClear obj@).-textCtrlClear :: TextCtrl  a ->  IO ()-textCtrlClear _obj -  = withObjectRef "textCtrlClear" _obj $ \cobj__obj -> -    wxTextCtrl_Clear cobj__obj  -foreign import ccall "wxTextCtrl_Clear" wxTextCtrl_Clear :: Ptr (TTextCtrl a) -> IO ()---- | usage: (@textCtrlCopy obj@).-textCtrlCopy :: TextCtrl  a ->  IO ()-textCtrlCopy _obj -  = withObjectRef "textCtrlCopy" _obj $ \cobj__obj -> -    wxTextCtrl_Copy cobj__obj  -foreign import ccall "wxTextCtrl_Copy" wxTextCtrl_Copy :: Ptr (TTextCtrl a) -> IO ()---- | usage: (@textCtrlCreate prt id txt lfttopwdthgt stl@).-textCtrlCreate :: Window  a -> Id -> String -> Rect -> Style ->  IO (TextCtrl  ())-textCtrlCreate _prt _id _txt _lfttopwdthgt _stl -  = withObjectResult $-    withObjectPtr _prt $ \cobj__prt -> -    withStringPtr _txt $ \cobj__txt -> -    wxTextCtrl_Create cobj__prt  (toCInt _id)  cobj__txt  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  (toCInt _stl)  -foreign import ccall "wxTextCtrl_Create" wxTextCtrl_Create :: Ptr (TWindow a) -> CInt -> Ptr (TWxString c) -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TTextCtrl ()))---- | usage: (@textCtrlCut obj@).-textCtrlCut :: TextCtrl  a ->  IO ()-textCtrlCut _obj -  = withObjectRef "textCtrlCut" _obj $ \cobj__obj -> -    wxTextCtrl_Cut cobj__obj  -foreign import ccall "wxTextCtrl_Cut" wxTextCtrl_Cut :: Ptr (TTextCtrl a) -> IO ()---- | usage: (@textCtrlDiscardEdits obj@).-textCtrlDiscardEdits :: TextCtrl  a ->  IO ()-textCtrlDiscardEdits _obj -  = withObjectRef "textCtrlDiscardEdits" _obj $ \cobj__obj -> -    wxTextCtrl_DiscardEdits cobj__obj  -foreign import ccall "wxTextCtrl_DiscardEdits" wxTextCtrl_DiscardEdits :: Ptr (TTextCtrl a) -> IO ()---- | usage: (@textCtrlEmulateKeyPress obj keyevent@).-textCtrlEmulateKeyPress :: TextCtrl  a -> KeyEvent  b ->  IO Bool-textCtrlEmulateKeyPress _obj keyevent -  = withBoolResult $-    withObjectRef "textCtrlEmulateKeyPress" _obj $ \cobj__obj -> -    withObjectPtr keyevent $ \cobj_keyevent -> -    wxTextCtrl_EmulateKeyPress cobj__obj  cobj_keyevent  -foreign import ccall "wxTextCtrl_EmulateKeyPress" wxTextCtrl_EmulateKeyPress :: Ptr (TTextCtrl a) -> Ptr (TKeyEvent b) -> IO CBool---- | usage: (@textCtrlGetDefaultStyle obj@).-textCtrlGetDefaultStyle :: TextCtrl  a ->  IO (TextAttr  ())-textCtrlGetDefaultStyle _obj -  = withObjectResult $-    withObjectRef "textCtrlGetDefaultStyle" _obj $ \cobj__obj -> -    wxTextCtrl_GetDefaultStyle cobj__obj  -foreign import ccall "wxTextCtrl_GetDefaultStyle" wxTextCtrl_GetDefaultStyle :: Ptr (TTextCtrl a) -> IO (Ptr (TTextAttr ()))---- | usage: (@textCtrlGetInsertionPoint obj@).-textCtrlGetInsertionPoint :: TextCtrl  a ->  IO Int-textCtrlGetInsertionPoint _obj -  = withIntResult $-    withObjectRef "textCtrlGetInsertionPoint" _obj $ \cobj__obj -> -    wxTextCtrl_GetInsertionPoint cobj__obj  -foreign import ccall "wxTextCtrl_GetInsertionPoint" wxTextCtrl_GetInsertionPoint :: Ptr (TTextCtrl a) -> IO CInt---- | usage: (@textCtrlGetLastPosition obj@).-textCtrlGetLastPosition :: TextCtrl  a ->  IO Int-textCtrlGetLastPosition _obj -  = withIntResult $-    withObjectRef "textCtrlGetLastPosition" _obj $ \cobj__obj -> -    wxTextCtrl_GetLastPosition cobj__obj  -foreign import ccall "wxTextCtrl_GetLastPosition" wxTextCtrl_GetLastPosition :: Ptr (TTextCtrl a) -> IO CInt---- | usage: (@textCtrlGetLineLength obj lineNo@).-textCtrlGetLineLength :: TextCtrl  a -> Int ->  IO Int-textCtrlGetLineLength _obj lineNo -  = withIntResult $-    withObjectRef "textCtrlGetLineLength" _obj $ \cobj__obj -> -    wxTextCtrl_GetLineLength cobj__obj  (toCInt lineNo)  -foreign import ccall "wxTextCtrl_GetLineLength" wxTextCtrl_GetLineLength :: Ptr (TTextCtrl a) -> CInt -> IO CInt---- | usage: (@textCtrlGetLineText obj lineNo@).-textCtrlGetLineText :: TextCtrl  a -> Int ->  IO (String)-textCtrlGetLineText _obj lineNo -  = withManagedStringResult $-    withObjectRef "textCtrlGetLineText" _obj $ \cobj__obj -> -    wxTextCtrl_GetLineText cobj__obj  (toCInt lineNo)  -foreign import ccall "wxTextCtrl_GetLineText" wxTextCtrl_GetLineText :: Ptr (TTextCtrl a) -> CInt -> IO (Ptr (TWxString ()))---- | usage: (@textCtrlGetNumberOfLines obj@).-textCtrlGetNumberOfLines :: TextCtrl  a ->  IO Int-textCtrlGetNumberOfLines _obj -  = withIntResult $-    withObjectRef "textCtrlGetNumberOfLines" _obj $ \cobj__obj -> -    wxTextCtrl_GetNumberOfLines cobj__obj  -foreign import ccall "wxTextCtrl_GetNumberOfLines" wxTextCtrl_GetNumberOfLines :: Ptr (TTextCtrl a) -> IO CInt---- | usage: (@textCtrlGetRange obj from to@).-textCtrlGetRange :: TextCtrl  a -> Int -> Int ->  IO (String)-textCtrlGetRange _obj from to -  = withManagedStringResult $-    withObjectRef "textCtrlGetRange" _obj $ \cobj__obj -> -    wxTextCtrl_GetRange cobj__obj  (toCInt from)  (toCInt to)  -foreign import ccall "wxTextCtrl_GetRange" wxTextCtrl_GetRange :: Ptr (TTextCtrl a) -> CInt -> CInt -> IO (Ptr (TWxString ()))---- | usage: (@textCtrlGetSelection obj from to@).-textCtrlGetSelection :: TextCtrl  a -> Ptr  b -> Ptr  c ->  IO ()-textCtrlGetSelection _obj from to -  = withObjectRef "textCtrlGetSelection" _obj $ \cobj__obj -> -    wxTextCtrl_GetSelection cobj__obj  from  to  -foreign import ccall "wxTextCtrl_GetSelection" wxTextCtrl_GetSelection :: Ptr (TTextCtrl a) -> Ptr  b -> Ptr  c -> IO ()---- | usage: (@textCtrlGetStringSelection obj@).-textCtrlGetStringSelection :: TextCtrl  a ->  IO (String)-textCtrlGetStringSelection _obj -  = withManagedStringResult $-    withObjectRef "textCtrlGetStringSelection" _obj $ \cobj__obj -> -    wxTextCtrl_GetStringSelection cobj__obj  -foreign import ccall "wxTextCtrl_GetStringSelection" wxTextCtrl_GetStringSelection :: Ptr (TTextCtrl a) -> IO (Ptr (TWxString ()))---- | usage: (@textCtrlGetValue obj@).-textCtrlGetValue :: TextCtrl  a ->  IO (String)-textCtrlGetValue _obj -  = withManagedStringResult $-    withObjectRef "textCtrlGetValue" _obj $ \cobj__obj -> -    wxTextCtrl_GetValue cobj__obj  -foreign import ccall "wxTextCtrl_GetValue" wxTextCtrl_GetValue :: Ptr (TTextCtrl a) -> IO (Ptr (TWxString ()))---- | usage: (@textCtrlIsEditable obj@).-textCtrlIsEditable :: TextCtrl  a ->  IO Bool-textCtrlIsEditable _obj -  = withBoolResult $-    withObjectRef "textCtrlIsEditable" _obj $ \cobj__obj -> -    wxTextCtrl_IsEditable cobj__obj  -foreign import ccall "wxTextCtrl_IsEditable" wxTextCtrl_IsEditable :: Ptr (TTextCtrl a) -> IO CBool---- | usage: (@textCtrlIsModified obj@).-textCtrlIsModified :: TextCtrl  a ->  IO Bool-textCtrlIsModified _obj -  = withBoolResult $-    withObjectRef "textCtrlIsModified" _obj $ \cobj__obj -> -    wxTextCtrl_IsModified cobj__obj  -foreign import ccall "wxTextCtrl_IsModified" wxTextCtrl_IsModified :: Ptr (TTextCtrl a) -> IO CBool---- | usage: (@textCtrlIsMultiLine obj@).-textCtrlIsMultiLine :: TextCtrl  a ->  IO Bool-textCtrlIsMultiLine _obj -  = withBoolResult $-    withObjectRef "textCtrlIsMultiLine" _obj $ \cobj__obj -> -    wxTextCtrl_IsMultiLine cobj__obj  -foreign import ccall "wxTextCtrl_IsMultiLine" wxTextCtrl_IsMultiLine :: Ptr (TTextCtrl a) -> IO CBool---- | usage: (@textCtrlIsSingleLine obj@).-textCtrlIsSingleLine :: TextCtrl  a ->  IO Bool-textCtrlIsSingleLine _obj -  = withBoolResult $-    withObjectRef "textCtrlIsSingleLine" _obj $ \cobj__obj -> -    wxTextCtrl_IsSingleLine cobj__obj  -foreign import ccall "wxTextCtrl_IsSingleLine" wxTextCtrl_IsSingleLine :: Ptr (TTextCtrl a) -> IO CBool---- | usage: (@textCtrlLoadFile obj file@).-textCtrlLoadFile :: TextCtrl  a -> String ->  IO Bool-textCtrlLoadFile _obj file -  = withBoolResult $-    withObjectRef "textCtrlLoadFile" _obj $ \cobj__obj -> -    withStringPtr file $ \cobj_file -> -    wxTextCtrl_LoadFile cobj__obj  cobj_file  -foreign import ccall "wxTextCtrl_LoadFile" wxTextCtrl_LoadFile :: Ptr (TTextCtrl a) -> Ptr (TWxString b) -> IO CBool---- | usage: (@textCtrlPaste obj@).-textCtrlPaste :: TextCtrl  a ->  IO ()-textCtrlPaste _obj -  = withObjectRef "textCtrlPaste" _obj $ \cobj__obj -> -    wxTextCtrl_Paste cobj__obj  -foreign import ccall "wxTextCtrl_Paste" wxTextCtrl_Paste :: Ptr (TTextCtrl a) -> IO ()---- | usage: (@textCtrlPositionToXY obj pos x y@).-textCtrlPositionToXY :: TextCtrl  a -> Int -> Ptr CInt -> Ptr CInt ->  IO Int-textCtrlPositionToXY _obj pos x y -  = withIntResult $-    withObjectRef "textCtrlPositionToXY" _obj $ \cobj__obj -> -    wxTextCtrl_PositionToXY cobj__obj  (toCInt pos)  x  y  -foreign import ccall "wxTextCtrl_PositionToXY" wxTextCtrl_PositionToXY :: Ptr (TTextCtrl a) -> CInt -> Ptr CInt -> Ptr CInt -> IO CInt---- | usage: (@textCtrlRedo obj@).-textCtrlRedo :: TextCtrl  a ->  IO ()-textCtrlRedo _obj -  = withObjectRef "textCtrlRedo" _obj $ \cobj__obj -> -    wxTextCtrl_Redo cobj__obj  -foreign import ccall "wxTextCtrl_Redo" wxTextCtrl_Redo :: Ptr (TTextCtrl a) -> IO ()---- | usage: (@textCtrlRemove obj from to@).-textCtrlRemove :: TextCtrl  a -> Int -> Int ->  IO ()-textCtrlRemove _obj from to -  = withObjectRef "textCtrlRemove" _obj $ \cobj__obj -> -    wxTextCtrl_Remove cobj__obj  (toCInt from)  (toCInt to)  -foreign import ccall "wxTextCtrl_Remove" wxTextCtrl_Remove :: Ptr (TTextCtrl a) -> CInt -> CInt -> IO ()---- | usage: (@textCtrlReplace obj from to value@).-textCtrlReplace :: TextCtrl  a -> Int -> Int -> String ->  IO ()-textCtrlReplace _obj from to value -  = withObjectRef "textCtrlReplace" _obj $ \cobj__obj -> -    withStringPtr value $ \cobj_value -> -    wxTextCtrl_Replace cobj__obj  (toCInt from)  (toCInt to)  cobj_value  -foreign import ccall "wxTextCtrl_Replace" wxTextCtrl_Replace :: Ptr (TTextCtrl a) -> CInt -> CInt -> Ptr (TWxString d) -> IO ()---- | usage: (@textCtrlSaveFile obj file@).-textCtrlSaveFile :: TextCtrl  a -> String ->  IO Bool-textCtrlSaveFile _obj file -  = withBoolResult $-    withObjectRef "textCtrlSaveFile" _obj $ \cobj__obj -> -    withStringPtr file $ \cobj_file -> -    wxTextCtrl_SaveFile cobj__obj  cobj_file  -foreign import ccall "wxTextCtrl_SaveFile" wxTextCtrl_SaveFile :: Ptr (TTextCtrl a) -> Ptr (TWxString b) -> IO CBool---- | usage: (@textCtrlSetDefaultStyle obj style@).-textCtrlSetDefaultStyle :: TextCtrl  a -> TextAttr  b ->  IO Bool-textCtrlSetDefaultStyle _obj style -  = withBoolResult $-    withObjectRef "textCtrlSetDefaultStyle" _obj $ \cobj__obj -> -    withObjectPtr style $ \cobj_style -> -    wxTextCtrl_SetDefaultStyle cobj__obj  cobj_style  -foreign import ccall "wxTextCtrl_SetDefaultStyle" wxTextCtrl_SetDefaultStyle :: Ptr (TTextCtrl a) -> Ptr (TTextAttr b) -> IO CBool---- | usage: (@textCtrlSetEditable obj editable@).-textCtrlSetEditable :: TextCtrl  a -> Bool ->  IO ()-textCtrlSetEditable _obj editable -  = withObjectRef "textCtrlSetEditable" _obj $ \cobj__obj -> -    wxTextCtrl_SetEditable cobj__obj  (toCBool editable)  -foreign import ccall "wxTextCtrl_SetEditable" wxTextCtrl_SetEditable :: Ptr (TTextCtrl a) -> CBool -> IO ()---- | usage: (@textCtrlSetInsertionPoint obj pos@).-textCtrlSetInsertionPoint :: TextCtrl  a -> Int ->  IO ()-textCtrlSetInsertionPoint _obj pos -  = withObjectRef "textCtrlSetInsertionPoint" _obj $ \cobj__obj -> -    wxTextCtrl_SetInsertionPoint cobj__obj  (toCInt pos)  -foreign import ccall "wxTextCtrl_SetInsertionPoint" wxTextCtrl_SetInsertionPoint :: Ptr (TTextCtrl a) -> CInt -> IO ()---- | usage: (@textCtrlSetInsertionPointEnd obj@).-textCtrlSetInsertionPointEnd :: TextCtrl  a ->  IO ()-textCtrlSetInsertionPointEnd _obj -  = withObjectRef "textCtrlSetInsertionPointEnd" _obj $ \cobj__obj -> -    wxTextCtrl_SetInsertionPointEnd cobj__obj  -foreign import ccall "wxTextCtrl_SetInsertionPointEnd" wxTextCtrl_SetInsertionPointEnd :: Ptr (TTextCtrl a) -> IO ()---- | usage: (@textCtrlSetMaxLength obj len@).-textCtrlSetMaxLength :: TextCtrl  a -> Int ->  IO ()-textCtrlSetMaxLength _obj len -  = withObjectRef "textCtrlSetMaxLength" _obj $ \cobj__obj -> -    wxTextCtrl_SetMaxLength cobj__obj  (toCInt len)  -foreign import ccall "wxTextCtrl_SetMaxLength" wxTextCtrl_SetMaxLength :: Ptr (TTextCtrl a) -> CInt -> IO ()---- | usage: (@textCtrlSetSelection obj from to@).-textCtrlSetSelection :: TextCtrl  a -> Int -> Int ->  IO ()-textCtrlSetSelection _obj from to -  = withObjectRef "textCtrlSetSelection" _obj $ \cobj__obj -> -    wxTextCtrl_SetSelection cobj__obj  (toCInt from)  (toCInt to)  -foreign import ccall "wxTextCtrl_SetSelection" wxTextCtrl_SetSelection :: Ptr (TTextCtrl a) -> CInt -> CInt -> IO ()---- | usage: (@textCtrlSetStyle obj start end style@).-textCtrlSetStyle :: TextCtrl  a -> Int -> Int -> TextAttr  d ->  IO Bool-textCtrlSetStyle _obj start end style -  = withBoolResult $-    withObjectRef "textCtrlSetStyle" _obj $ \cobj__obj -> -    withObjectPtr style $ \cobj_style -> -    wxTextCtrl_SetStyle cobj__obj  (toCInt start)  (toCInt end)  cobj_style  -foreign import ccall "wxTextCtrl_SetStyle" wxTextCtrl_SetStyle :: Ptr (TTextCtrl a) -> CInt -> CInt -> Ptr (TTextAttr d) -> IO CBool---- | usage: (@textCtrlSetValue obj value@).-textCtrlSetValue :: TextCtrl  a -> String ->  IO ()-textCtrlSetValue _obj value -  = withObjectRef "textCtrlSetValue" _obj $ \cobj__obj -> -    withStringPtr value $ \cobj_value -> -    wxTextCtrl_SetValue cobj__obj  cobj_value  -foreign import ccall "wxTextCtrl_SetValue" wxTextCtrl_SetValue :: Ptr (TTextCtrl a) -> Ptr (TWxString b) -> IO ()---- | usage: (@textCtrlShowPosition obj pos@).-textCtrlShowPosition :: TextCtrl  a -> Int ->  IO ()-textCtrlShowPosition _obj pos -  = withObjectRef "textCtrlShowPosition" _obj $ \cobj__obj -> -    wxTextCtrl_ShowPosition cobj__obj  (toCInt pos)  -foreign import ccall "wxTextCtrl_ShowPosition" wxTextCtrl_ShowPosition :: Ptr (TTextCtrl a) -> CInt -> IO ()---- | usage: (@textCtrlUndo obj@).-textCtrlUndo :: TextCtrl  a ->  IO ()-textCtrlUndo _obj -  = withObjectRef "textCtrlUndo" _obj $ \cobj__obj -> -    wxTextCtrl_Undo cobj__obj  -foreign import ccall "wxTextCtrl_Undo" wxTextCtrl_Undo :: Ptr (TTextCtrl a) -> IO ()---- | usage: (@textCtrlWriteText obj text@).-textCtrlWriteText :: TextCtrl  a -> String ->  IO ()-textCtrlWriteText _obj text -  = withObjectRef "textCtrlWriteText" _obj $ \cobj__obj -> -    withStringPtr text $ \cobj_text -> -    wxTextCtrl_WriteText cobj__obj  cobj_text  -foreign import ccall "wxTextCtrl_WriteText" wxTextCtrl_WriteText :: Ptr (TTextCtrl a) -> Ptr (TWxString b) -> IO ()---- | usage: (@textCtrlXYToPosition obj xy@).-textCtrlXYToPosition :: TextCtrl  a -> Point ->  IO Int-textCtrlXYToPosition _obj xy -  = withIntResult $-    withObjectRef "textCtrlXYToPosition" _obj $ \cobj__obj -> -    wxTextCtrl_XYToPosition cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  -foreign import ccall "wxTextCtrl_XYToPosition" wxTextCtrl_XYToPosition :: Ptr (TTextCtrl a) -> CInt -> CInt -> IO CInt---- | usage: (@textDataObjectCreate txt@).-textDataObjectCreate :: String ->  IO (TextDataObject  ())-textDataObjectCreate _txt -  = withObjectResult $-    withStringPtr _txt $ \cobj__txt -> -    wx_TextDataObject_Create cobj__txt  -foreign import ccall "TextDataObject_Create" wx_TextDataObject_Create :: Ptr (TWxString a) -> IO (Ptr (TTextDataObject ()))---- | usage: (@textDataObjectDelete obj@).-textDataObjectDelete :: TextDataObject  a ->  IO ()-textDataObjectDelete _obj -  = withObjectPtr _obj $ \cobj__obj -> -    wx_TextDataObject_Delete cobj__obj  -foreign import ccall "TextDataObject_Delete" wx_TextDataObject_Delete :: Ptr (TTextDataObject a) -> IO ()---- | usage: (@textDataObjectGetText obj@).-textDataObjectGetText :: TextDataObject  a ->  IO (String)-textDataObjectGetText _obj -  = withManagedStringResult $-    withObjectPtr _obj $ \cobj__obj -> -    wx_TextDataObject_GetText cobj__obj  -foreign import ccall "TextDataObject_GetText" wx_TextDataObject_GetText :: Ptr (TTextDataObject a) -> IO (Ptr (TWxString ()))---- | usage: (@textDataObjectGetTextLength obj@).-textDataObjectGetTextLength :: TextDataObject  a ->  IO Int-textDataObjectGetTextLength _obj -  = withIntResult $-    withObjectPtr _obj $ \cobj__obj -> -    wx_TextDataObject_GetTextLength cobj__obj  -foreign import ccall "TextDataObject_GetTextLength" wx_TextDataObject_GetTextLength :: Ptr (TTextDataObject a) -> IO CInt---- | usage: (@textDataObjectSetText obj text@).-textDataObjectSetText :: TextDataObject  a -> String ->  IO ()-textDataObjectSetText _obj text -  = withObjectPtr _obj $ \cobj__obj -> -    withStringPtr text $ \cobj_text -> -    wx_TextDataObject_SetText cobj__obj  cobj_text  -foreign import ccall "TextDataObject_SetText" wx_TextDataObject_SetText :: Ptr (TTextDataObject a) -> Ptr (TWxString b) -> IO ()---- | usage: (@textInputStreamCreate inputStream sep@).-textInputStreamCreate :: InputStream  a -> String ->  IO (TextInputStream  ())-textInputStreamCreate inputStream sep -  = withObjectResult $-    withObjectPtr inputStream $ \cobj_inputStream -> -    withStringPtr sep $ \cobj_sep -> -    wxTextInputStream_Create cobj_inputStream  cobj_sep  -foreign import ccall "wxTextInputStream_Create" wxTextInputStream_Create :: Ptr (TInputStream a) -> Ptr (TWxString b) -> IO (Ptr (TTextInputStream ()))---- | usage: (@textInputStreamDelete self@).-textInputStreamDelete :: TextInputStream  a ->  IO ()-textInputStreamDelete self -  = withObjectRef "textInputStreamDelete" self $ \cobj_self -> -    wxTextInputStream_Delete cobj_self  -foreign import ccall "wxTextInputStream_Delete" wxTextInputStream_Delete :: Ptr (TTextInputStream a) -> IO ()---- | usage: (@textInputStreamReadLine self@).-textInputStreamReadLine :: TextInputStream  a ->  IO (String)-textInputStreamReadLine self -  = withManagedStringResult $-    withObjectRef "textInputStreamReadLine" self $ \cobj_self -> -    wxTextInputStream_ReadLine cobj_self  -foreign import ccall "wxTextInputStream_ReadLine" wxTextInputStream_ReadLine :: Ptr (TTextInputStream a) -> IO (Ptr (TWxString ()))---- | usage: (@textOutputStreamCreate outputStream mode@).-textOutputStreamCreate :: OutputStream  a -> Int ->  IO (TextOutputStream  ())-textOutputStreamCreate outputStream mode -  = withObjectResult $-    withObjectPtr outputStream $ \cobj_outputStream -> -    wxTextOutputStream_Create cobj_outputStream  (toCInt mode)  -foreign import ccall "wxTextOutputStream_Create" wxTextOutputStream_Create :: Ptr (TOutputStream a) -> CInt -> IO (Ptr (TTextOutputStream ()))---- | usage: (@textOutputStreamDelete self@).-textOutputStreamDelete :: TextOutputStream  a ->  IO ()-textOutputStreamDelete self -  = withObjectRef "textOutputStreamDelete" self $ \cobj_self -> -    wxTextOutputStream_Delete cobj_self  -foreign import ccall "wxTextOutputStream_Delete" wxTextOutputStream_Delete :: Ptr (TTextOutputStream a) -> IO ()---- | usage: (@textOutputStreamWriteString self txt@).-textOutputStreamWriteString :: TextOutputStream  a -> String ->  IO ()-textOutputStreamWriteString self txt -  = withObjectRef "textOutputStreamWriteString" self $ \cobj_self -> -    withStringPtr txt $ \cobj_txt -> -    wxTextOutputStream_WriteString cobj_self  cobj_txt  -foreign import ccall "wxTextOutputStream_WriteString" wxTextOutputStream_WriteString :: Ptr (TTextOutputStream a) -> Ptr (TWxString b) -> IO ()---- | usage: (@textValidatorClone obj@).-textValidatorClone :: TextValidator  a ->  IO (Validator  ())-textValidatorClone _obj -  = withObjectResult $-    withObjectRef "textValidatorClone" _obj $ \cobj__obj -> -    wxTextValidator_Clone cobj__obj  -foreign import ccall "wxTextValidator_Clone" wxTextValidator_Clone :: Ptr (TTextValidator a) -> IO (Ptr (TValidator ()))---- | usage: (@textValidatorCreate style val@).-textValidatorCreate :: Int -> Ptr  b ->  IO (TextValidator  ())-textValidatorCreate style val -  = withObjectResult $-    wxTextValidator_Create (toCInt style)  val  -foreign import ccall "wxTextValidator_Create" wxTextValidator_Create :: CInt -> Ptr  b -> IO (Ptr (TTextValidator ()))---- | usage: (@textValidatorGetExcludes obj@).-textValidatorGetExcludes :: TextValidator  a ->  IO [String]-textValidatorGetExcludes _obj -  = withArrayWStringResult $ \arr -> -    withObjectRef "textValidatorGetExcludes" _obj $ \cobj__obj -> -    wxTextValidator_GetExcludes cobj__obj   arr-foreign import ccall "wxTextValidator_GetExcludes" wxTextValidator_GetExcludes :: Ptr (TTextValidator a) -> Ptr (Ptr CWchar) -> IO CInt---- | usage: (@textValidatorGetIncludes obj@).-textValidatorGetIncludes :: TextValidator  a ->  IO [String]-textValidatorGetIncludes _obj -  = withArrayWStringResult $ \arr -> -    withObjectRef "textValidatorGetIncludes" _obj $ \cobj__obj -> -    wxTextValidator_GetIncludes cobj__obj   arr-foreign import ccall "wxTextValidator_GetIncludes" wxTextValidator_GetIncludes :: Ptr (TTextValidator a) -> Ptr (Ptr CWchar) -> IO CInt---- | usage: (@textValidatorGetStyle obj@).-textValidatorGetStyle :: TextValidator  a ->  IO Int-textValidatorGetStyle _obj -  = withIntResult $-    withObjectRef "textValidatorGetStyle" _obj $ \cobj__obj -> -    wxTextValidator_GetStyle cobj__obj  -foreign import ccall "wxTextValidator_GetStyle" wxTextValidator_GetStyle :: Ptr (TTextValidator a) -> IO CInt---- | usage: (@textValidatorOnChar obj event@).-textValidatorOnChar :: TextValidator  a -> Event  b ->  IO ()-textValidatorOnChar _obj event -  = withObjectRef "textValidatorOnChar" _obj $ \cobj__obj -> -    withObjectPtr event $ \cobj_event -> -    wxTextValidator_OnChar cobj__obj  cobj_event  -foreign import ccall "wxTextValidator_OnChar" wxTextValidator_OnChar :: Ptr (TTextValidator a) -> Ptr (TEvent b) -> IO ()---- | usage: (@textValidatorSetExcludes obj list count@).-textValidatorSetExcludes :: TextValidator  a -> String -> Int ->  IO ()-textValidatorSetExcludes _obj list count -  = withObjectRef "textValidatorSetExcludes" _obj $ \cobj__obj -> -    withCWString list $ \cstr_list -> -    wxTextValidator_SetExcludes cobj__obj  cstr_list  (toCInt count)  -foreign import ccall "wxTextValidator_SetExcludes" wxTextValidator_SetExcludes :: Ptr (TTextValidator a) -> CWString -> CInt -> IO ()---- | usage: (@textValidatorSetIncludes obj list count@).-textValidatorSetIncludes :: TextValidator  a -> String -> Int ->  IO ()-textValidatorSetIncludes _obj list count -  = withObjectRef "textValidatorSetIncludes" _obj $ \cobj__obj -> -    withCWString list $ \cstr_list -> -    wxTextValidator_SetIncludes cobj__obj  cstr_list  (toCInt count)  -foreign import ccall "wxTextValidator_SetIncludes" wxTextValidator_SetIncludes :: Ptr (TTextValidator a) -> CWString -> CInt -> IO ()---- | usage: (@textValidatorSetStyle obj style@).-textValidatorSetStyle :: TextValidator  a -> Int ->  IO ()-textValidatorSetStyle _obj style -  = withObjectRef "textValidatorSetStyle" _obj $ \cobj__obj -> -    wxTextValidator_SetStyle cobj__obj  (toCInt style)  -foreign import ccall "wxTextValidator_SetStyle" wxTextValidator_SetStyle :: Ptr (TTextValidator a) -> CInt -> IO ()---- | usage: (@textValidatorTransferFromWindow obj@).-textValidatorTransferFromWindow :: TextValidator  a ->  IO Bool-textValidatorTransferFromWindow _obj -  = withBoolResult $-    withObjectRef "textValidatorTransferFromWindow" _obj $ \cobj__obj -> -    wxTextValidator_TransferFromWindow cobj__obj  -foreign import ccall "wxTextValidator_TransferFromWindow" wxTextValidator_TransferFromWindow :: Ptr (TTextValidator a) -> IO CBool---- | usage: (@textValidatorTransferToWindow obj@).-textValidatorTransferToWindow :: TextValidator  a ->  IO Bool-textValidatorTransferToWindow _obj -  = withBoolResult $-    withObjectRef "textValidatorTransferToWindow" _obj $ \cobj__obj -> -    wxTextValidator_TransferToWindow cobj__obj  -foreign import ccall "wxTextValidator_TransferToWindow" wxTextValidator_TransferToWindow :: Ptr (TTextValidator a) -> IO CBool---- | usage: (@timerCreate prt id@).-timerCreate :: Window  a -> Id ->  IO (Timer  ())-timerCreate _prt _id -  = withObjectResult $-    withObjectPtr _prt $ \cobj__prt -> -    wxTimer_Create cobj__prt  (toCInt _id)  -foreign import ccall "wxTimer_Create" wxTimer_Create :: Ptr (TWindow a) -> CInt -> IO (Ptr (TTimer ()))---- | usage: (@timerDelete obj@).-timerDelete :: Timer  a ->  IO ()-timerDelete-  = objectDelete----- | usage: (@timerEventGetInterval obj@).-timerEventGetInterval :: TimerEvent  a ->  IO Int-timerEventGetInterval _obj -  = withIntResult $-    withObjectRef "timerEventGetInterval" _obj $ \cobj__obj -> -    wxTimerEvent_GetInterval cobj__obj  -foreign import ccall "wxTimerEvent_GetInterval" wxTimerEvent_GetInterval :: Ptr (TTimerEvent a) -> IO CInt---- | usage: (@timerExConnect obj closure@).-timerExConnect :: TimerEx  a -> Closure  b ->  IO ()-timerExConnect _obj closure -  = withObjectRef "timerExConnect" _obj $ \cobj__obj -> -    withObjectPtr closure $ \cobj_closure -> -    wxTimerEx_Connect cobj__obj  cobj_closure  -foreign import ccall "wxTimerEx_Connect" wxTimerEx_Connect :: Ptr (TTimerEx a) -> Ptr (TClosure b) -> IO ()---- | usage: (@timerExCreate@).-timerExCreate ::  IO (TimerEx  ())-timerExCreate -  = withObjectResult $-    wxTimerEx_Create -foreign import ccall "wxTimerEx_Create" wxTimerEx_Create :: IO (Ptr (TTimerEx ()))---- | usage: (@timerExGetClosure obj@).-timerExGetClosure :: TimerEx  a ->  IO (Closure  ())-timerExGetClosure _obj -  = withObjectResult $-    withObjectRef "timerExGetClosure" _obj $ \cobj__obj -> -    wxTimerEx_GetClosure cobj__obj  -foreign import ccall "wxTimerEx_GetClosure" wxTimerEx_GetClosure :: Ptr (TTimerEx a) -> IO (Ptr (TClosure ()))---- | usage: (@timerGetInterval obj@).-timerGetInterval :: Timer  a ->  IO Int-timerGetInterval _obj -  = withIntResult $-    withObjectRef "timerGetInterval" _obj $ \cobj__obj -> -    wxTimer_GetInterval cobj__obj  -foreign import ccall "wxTimer_GetInterval" wxTimer_GetInterval :: Ptr (TTimer a) -> IO CInt---- | usage: (@timerIsOneShot obj@).-timerIsOneShot :: Timer  a ->  IO Bool-timerIsOneShot _obj -  = withBoolResult $-    withObjectRef "timerIsOneShot" _obj $ \cobj__obj -> -    wxTimer_IsOneShot cobj__obj  -foreign import ccall "wxTimer_IsOneShot" wxTimer_IsOneShot :: Ptr (TTimer a) -> IO CBool---- | usage: (@timerIsRuning obj@).-timerIsRuning :: Timer  a ->  IO Bool-timerIsRuning _obj -  = withBoolResult $-    withObjectRef "timerIsRuning" _obj $ \cobj__obj -> -    wxTimer_IsRuning cobj__obj  -foreign import ccall "wxTimer_IsRuning" wxTimer_IsRuning :: Ptr (TTimer a) -> IO CBool---- | usage: (@timerStart obj wxint one@).-timerStart :: Timer  a -> Int -> Bool ->  IO Bool-timerStart _obj _int _one -  = withBoolResult $-    withObjectRef "timerStart" _obj $ \cobj__obj -> -    wxTimer_Start cobj__obj  (toCInt _int)  (toCBool _one)  -foreign import ccall "wxTimer_Start" wxTimer_Start :: Ptr (TTimer a) -> CInt -> CBool -> IO CBool---- | usage: (@timerStop obj@).-timerStop :: Timer  a ->  IO ()-timerStop _obj -  = withObjectRef "timerStop" _obj $ \cobj__obj -> -    wxTimer_Stop cobj__obj  -foreign import ccall "wxTimer_Stop" wxTimer_Stop :: Ptr (TTimer a) -> IO ()---- | usage: (@tipWindowClose obj@).-tipWindowClose :: TipWindow  a ->  IO ()-tipWindowClose _obj -  = withObjectRef "tipWindowClose" _obj $ \cobj__obj -> -    wxTipWindow_Close cobj__obj  -foreign import ccall "wxTipWindow_Close" wxTipWindow_Close :: Ptr (TTipWindow a) -> IO ()---- | usage: (@tipWindowCreate parent text maxLength@).-tipWindowCreate :: Window  a -> String -> Int ->  IO (TipWindow  ())-tipWindowCreate parent text maxLength -  = withObjectResult $-    withObjectPtr parent $ \cobj_parent -> -    withStringPtr text $ \cobj_text -> -    wxTipWindow_Create cobj_parent  cobj_text  (toCInt maxLength)  -foreign import ccall "wxTipWindow_Create" wxTipWindow_Create :: Ptr (TWindow a) -> Ptr (TWxString b) -> CInt -> IO (Ptr (TTipWindow ()))---- | usage: (@tipWindowSetBoundingRect obj xywh@).-tipWindowSetBoundingRect :: TipWindow  a -> Rect ->  IO ()-tipWindowSetBoundingRect _obj xywh -  = withObjectRef "tipWindowSetBoundingRect" _obj $ \cobj__obj -> -    wxTipWindow_SetBoundingRect cobj__obj  (toCIntRectX xywh) (toCIntRectY xywh)(toCIntRectW xywh) (toCIntRectH xywh)  -foreign import ccall "wxTipWindow_SetBoundingRect" wxTipWindow_SetBoundingRect :: Ptr (TTipWindow a) -> CInt -> CInt -> CInt -> CInt -> IO ()---- | usage: (@tipWindowSetTipWindowPtr obj windowPtr@).-tipWindowSetTipWindowPtr :: TipWindow  a -> Ptr  b ->  IO ()-tipWindowSetTipWindowPtr _obj windowPtr -  = withObjectRef "tipWindowSetTipWindowPtr" _obj $ \cobj__obj -> -    wxTipWindow_SetTipWindowPtr cobj__obj  windowPtr  -foreign import ccall "wxTipWindow_SetTipWindowPtr" wxTipWindow_SetTipWindowPtr :: Ptr (TTipWindow a) -> Ptr  b -> IO ()---- | usage: (@toolBarAddControl obj ctrl@).-toolBarAddControl :: ToolBar  a -> Control  b ->  IO Bool-toolBarAddControl _obj ctrl -  = withBoolResult $-    withObjectRef "toolBarAddControl" _obj $ \cobj__obj -> -    withObjectPtr ctrl $ \cobj_ctrl -> -    wxToolBar_AddControl cobj__obj  cobj_ctrl  -foreign import ccall "wxToolBar_AddControl" wxToolBar_AddControl :: Ptr (TToolBar a) -> Ptr (TControl b) -> IO CBool---- | usage: (@toolBarAddSeparator obj@).-toolBarAddSeparator :: ToolBar  a ->  IO ()-toolBarAddSeparator _obj -  = withObjectRef "toolBarAddSeparator" _obj $ \cobj__obj -> -    wxToolBar_AddSeparator cobj__obj  -foreign import ccall "wxToolBar_AddSeparator" wxToolBar_AddSeparator :: Ptr (TToolBar a) -> IO ()---- | usage: (@toolBarAddTool obj id bmp shelp lhelp@).-toolBarAddTool :: ToolBar  a -> Id -> Bitmap  c -> String -> String ->  IO ()-toolBarAddTool _obj id bmp shelp lhelp -  = withObjectRef "toolBarAddTool" _obj $ \cobj__obj -> -    withObjectPtr bmp $ \cobj_bmp -> -    withStringPtr shelp $ \cobj_shelp -> -    withStringPtr lhelp $ \cobj_lhelp -> -    wxToolBar_AddTool cobj__obj  (toCInt id)  cobj_bmp  cobj_shelp  cobj_lhelp  -foreign import ccall "wxToolBar_AddTool" wxToolBar_AddTool :: Ptr (TToolBar a) -> CInt -> Ptr (TBitmap c) -> Ptr (TWxString d) -> Ptr (TWxString e) -> IO ()---- | usage: (@toolBarAddTool2 obj toolId label bmp bmpDisabled itemKind shortHelp longHelp@).-toolBarAddTool2 :: ToolBar  a -> Int -> String -> Bitmap  d -> Bitmap  e -> Int -> String -> String ->  IO ()-toolBarAddTool2 _obj toolId label bmp bmpDisabled itemKind shortHelp longHelp -  = withObjectRef "toolBarAddTool2" _obj $ \cobj__obj -> -    withStringPtr label $ \cobj_label -> -    withObjectPtr bmp $ \cobj_bmp -> -    withObjectPtr bmpDisabled $ \cobj_bmpDisabled -> -    withStringPtr shortHelp $ \cobj_shortHelp -> -    withStringPtr longHelp $ \cobj_longHelp -> -    wxToolBar_AddTool2 cobj__obj  (toCInt toolId)  cobj_label  cobj_bmp  cobj_bmpDisabled  (toCInt itemKind)  cobj_shortHelp  cobj_longHelp  -foreign import ccall "wxToolBar_AddTool2" wxToolBar_AddTool2 :: Ptr (TToolBar a) -> CInt -> Ptr (TWxString c) -> Ptr (TBitmap d) -> Ptr (TBitmap e) -> CInt -> Ptr (TWxString g) -> Ptr (TWxString h) -> IO ()---- | usage: (@toolBarAddToolEx obj id bmp1 bmp2 isToggle xy wxdata shelp lhelp@).-toolBarAddToolEx :: ToolBar  a -> Id -> Bitmap  c -> Bitmap  d -> Bool -> Point -> WxObject  g -> String -> String ->  IO ()-toolBarAddToolEx _obj id bmp1 bmp2 isToggle xy wxdata shelp lhelp -  = withObjectRef "toolBarAddToolEx" _obj $ \cobj__obj -> -    withObjectPtr bmp1 $ \cobj_bmp1 -> -    withObjectPtr bmp2 $ \cobj_bmp2 -> -    withObjectPtr wxdata $ \cobj_wxdata -> -    withStringPtr shelp $ \cobj_shelp -> -    withStringPtr lhelp $ \cobj_lhelp -> -    wxToolBar_AddToolEx cobj__obj  (toCInt id)  cobj_bmp1  cobj_bmp2  (toCBool isToggle)  (toCIntPointX xy) (toCIntPointY xy)  cobj_wxdata  cobj_shelp  cobj_lhelp  -foreign import ccall "wxToolBar_AddToolEx" wxToolBar_AddToolEx :: Ptr (TToolBar a) -> CInt -> Ptr (TBitmap c) -> Ptr (TBitmap d) -> CBool -> CInt -> CInt -> Ptr (TWxObject g) -> Ptr (TWxString h) -> Ptr (TWxString i) -> IO ()---- | usage: (@toolBarCreate prt id lfttopwdthgt stl@).-toolBarCreate :: Window  a -> Id -> Rect -> Style ->  IO (ToolBar  ())-toolBarCreate _prt _id _lfttopwdthgt _stl -  = withObjectResult $-    withObjectPtr _prt $ \cobj__prt -> -    wxToolBar_Create cobj__prt  (toCInt _id)  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  (toCInt _stl)  -foreign import ccall "wxToolBar_Create" wxToolBar_Create :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TToolBar ()))---- | usage: (@toolBarDelete obj@).-toolBarDelete :: ToolBar  a ->  IO ()-toolBarDelete-  = objectDelete----- | usage: (@toolBarDeleteTool obj id@).-toolBarDeleteTool :: ToolBar  a -> Id ->  IO Bool-toolBarDeleteTool _obj id -  = withBoolResult $-    withObjectRef "toolBarDeleteTool" _obj $ \cobj__obj -> -    wxToolBar_DeleteTool cobj__obj  (toCInt id)  -foreign import ccall "wxToolBar_DeleteTool" wxToolBar_DeleteTool :: Ptr (TToolBar a) -> CInt -> IO CBool---- | usage: (@toolBarDeleteToolByPos obj pos@).-toolBarDeleteToolByPos :: ToolBar  a -> Int ->  IO Bool-toolBarDeleteToolByPos _obj pos -  = withBoolResult $-    withObjectRef "toolBarDeleteToolByPos" _obj $ \cobj__obj -> -    wxToolBar_DeleteToolByPos cobj__obj  (toCInt pos)  -foreign import ccall "wxToolBar_DeleteToolByPos" wxToolBar_DeleteToolByPos :: Ptr (TToolBar a) -> CInt -> IO CBool---- | usage: (@toolBarEnableTool obj id enable@).-toolBarEnableTool :: ToolBar  a -> Id -> Bool ->  IO ()-toolBarEnableTool _obj id enable -  = withObjectRef "toolBarEnableTool" _obj $ \cobj__obj -> -    wxToolBar_EnableTool cobj__obj  (toCInt id)  (toCBool enable)  -foreign import ccall "wxToolBar_EnableTool" wxToolBar_EnableTool :: Ptr (TToolBar a) -> CInt -> CBool -> IO ()---- | usage: (@toolBarGetMargins obj@).-toolBarGetMargins :: ToolBar  a ->  IO (Point)-toolBarGetMargins _obj -  = withWxPointResult $-    withObjectRef "toolBarGetMargins" _obj $ \cobj__obj -> -    wxToolBar_GetMargins cobj__obj  -foreign import ccall "wxToolBar_GetMargins" wxToolBar_GetMargins :: Ptr (TToolBar a) -> IO (Ptr (TWxPoint ()))---- | usage: (@toolBarGetToolBitmapSize obj@).-toolBarGetToolBitmapSize :: ToolBar  a ->  IO (Size)-toolBarGetToolBitmapSize _obj -  = withWxSizeResult $-    withObjectRef "toolBarGetToolBitmapSize" _obj $ \cobj__obj -> -    wxToolBar_GetToolBitmapSize cobj__obj  -foreign import ccall "wxToolBar_GetToolBitmapSize" wxToolBar_GetToolBitmapSize :: Ptr (TToolBar a) -> IO (Ptr (TWxSize ()))---- | usage: (@toolBarGetToolClientData obj id@).-toolBarGetToolClientData :: ToolBar  a -> Id ->  IO (WxObject  ())-toolBarGetToolClientData _obj id -  = withObjectResult $-    withObjectRef "toolBarGetToolClientData" _obj $ \cobj__obj -> -    wxToolBar_GetToolClientData cobj__obj  (toCInt id)  -foreign import ccall "wxToolBar_GetToolClientData" wxToolBar_GetToolClientData :: Ptr (TToolBar a) -> CInt -> IO (Ptr (TWxObject ()))---- | usage: (@toolBarGetToolEnabled obj id@).-toolBarGetToolEnabled :: ToolBar  a -> Id ->  IO Bool-toolBarGetToolEnabled _obj id -  = withBoolResult $-    withObjectRef "toolBarGetToolEnabled" _obj $ \cobj__obj -> -    wxToolBar_GetToolEnabled cobj__obj  (toCInt id)  -foreign import ccall "wxToolBar_GetToolEnabled" wxToolBar_GetToolEnabled :: Ptr (TToolBar a) -> CInt -> IO CBool---- | usage: (@toolBarGetToolLongHelp obj id@).-toolBarGetToolLongHelp :: ToolBar  a -> Id ->  IO (String)-toolBarGetToolLongHelp _obj id -  = withManagedStringResult $-    withObjectRef "toolBarGetToolLongHelp" _obj $ \cobj__obj -> -    wxToolBar_GetToolLongHelp cobj__obj  (toCInt id)  -foreign import ccall "wxToolBar_GetToolLongHelp" wxToolBar_GetToolLongHelp :: Ptr (TToolBar a) -> CInt -> IO (Ptr (TWxString ()))---- | usage: (@toolBarGetToolPacking obj@).-toolBarGetToolPacking :: ToolBar  a ->  IO Int-toolBarGetToolPacking _obj -  = withIntResult $-    withObjectRef "toolBarGetToolPacking" _obj $ \cobj__obj -> -    wxToolBar_GetToolPacking cobj__obj  -foreign import ccall "wxToolBar_GetToolPacking" wxToolBar_GetToolPacking :: Ptr (TToolBar a) -> IO CInt---- | usage: (@toolBarGetToolShortHelp obj id@).-toolBarGetToolShortHelp :: ToolBar  a -> Id ->  IO (String)-toolBarGetToolShortHelp _obj id -  = withManagedStringResult $-    withObjectRef "toolBarGetToolShortHelp" _obj $ \cobj__obj -> -    wxToolBar_GetToolShortHelp cobj__obj  (toCInt id)  -foreign import ccall "wxToolBar_GetToolShortHelp" wxToolBar_GetToolShortHelp :: Ptr (TToolBar a) -> CInt -> IO (Ptr (TWxString ()))---- | usage: (@toolBarGetToolSize obj@).-toolBarGetToolSize :: ToolBar  a ->  IO (Size)-toolBarGetToolSize _obj -  = withWxSizeResult $-    withObjectRef "toolBarGetToolSize" _obj $ \cobj__obj -> -    wxToolBar_GetToolSize cobj__obj  -foreign import ccall "wxToolBar_GetToolSize" wxToolBar_GetToolSize :: Ptr (TToolBar a) -> IO (Ptr (TWxSize ()))---- | usage: (@toolBarGetToolState obj id@).-toolBarGetToolState :: ToolBar  a -> Id ->  IO Bool-toolBarGetToolState _obj id -  = withBoolResult $-    withObjectRef "toolBarGetToolState" _obj $ \cobj__obj -> -    wxToolBar_GetToolState cobj__obj  (toCInt id)  -foreign import ccall "wxToolBar_GetToolState" wxToolBar_GetToolState :: Ptr (TToolBar a) -> CInt -> IO CBool---- | usage: (@toolBarInsertControl obj pos ctrl@).-toolBarInsertControl :: ToolBar  a -> Int -> Control  c ->  IO ()-toolBarInsertControl _obj pos ctrl -  = withObjectRef "toolBarInsertControl" _obj $ \cobj__obj -> -    withObjectPtr ctrl $ \cobj_ctrl -> -    wxToolBar_InsertControl cobj__obj  (toCInt pos)  cobj_ctrl  -foreign import ccall "wxToolBar_InsertControl" wxToolBar_InsertControl :: Ptr (TToolBar a) -> CInt -> Ptr (TControl c) -> IO ()---- | usage: (@toolBarInsertSeparator obj pos@).-toolBarInsertSeparator :: ToolBar  a -> Int ->  IO ()-toolBarInsertSeparator _obj pos -  = withObjectRef "toolBarInsertSeparator" _obj $ \cobj__obj -> -    wxToolBar_InsertSeparator cobj__obj  (toCInt pos)  -foreign import ccall "wxToolBar_InsertSeparator" wxToolBar_InsertSeparator :: Ptr (TToolBar a) -> CInt -> IO ()---- | usage: (@toolBarInsertTool obj pos id bmp1 bmp2 isToggle wxdata shelp lhelp@).-toolBarInsertTool :: ToolBar  a -> Int -> Id -> Bitmap  d -> Bitmap  e -> Bool -> WxObject  g -> String -> String ->  IO ()-toolBarInsertTool _obj pos id bmp1 bmp2 isToggle wxdata shelp lhelp -  = withObjectRef "toolBarInsertTool" _obj $ \cobj__obj -> -    withObjectPtr bmp1 $ \cobj_bmp1 -> -    withObjectPtr bmp2 $ \cobj_bmp2 -> -    withObjectPtr wxdata $ \cobj_wxdata -> -    withStringPtr shelp $ \cobj_shelp -> -    withStringPtr lhelp $ \cobj_lhelp -> -    wxToolBar_InsertTool cobj__obj  (toCInt pos)  (toCInt id)  cobj_bmp1  cobj_bmp2  (toCBool isToggle)  cobj_wxdata  cobj_shelp  cobj_lhelp  -foreign import ccall "wxToolBar_InsertTool" wxToolBar_InsertTool :: Ptr (TToolBar a) -> CInt -> CInt -> Ptr (TBitmap d) -> Ptr (TBitmap e) -> CBool -> Ptr (TWxObject g) -> Ptr (TWxString h) -> Ptr (TWxString i) -> IO ()---- | usage: (@toolBarRealize obj@).-toolBarRealize :: ToolBar  a ->  IO Bool-toolBarRealize _obj -  = withBoolResult $-    withObjectRef "toolBarRealize" _obj $ \cobj__obj -> -    wxToolBar_Realize cobj__obj  -foreign import ccall "wxToolBar_Realize" wxToolBar_Realize :: Ptr (TToolBar a) -> IO CBool---- | usage: (@toolBarRemoveTool obj id@).-toolBarRemoveTool :: ToolBar  a -> Id ->  IO ()-toolBarRemoveTool _obj id -  = withObjectRef "toolBarRemoveTool" _obj $ \cobj__obj -> -    wxToolBar_RemoveTool cobj__obj  (toCInt id)  -foreign import ccall "wxToolBar_RemoveTool" wxToolBar_RemoveTool :: Ptr (TToolBar a) -> CInt -> IO ()---- | usage: (@toolBarSetMargins obj xy@).-toolBarSetMargins :: ToolBar  a -> Point ->  IO ()-toolBarSetMargins _obj xy -  = withObjectRef "toolBarSetMargins" _obj $ \cobj__obj -> -    wxToolBar_SetMargins cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  -foreign import ccall "wxToolBar_SetMargins" wxToolBar_SetMargins :: Ptr (TToolBar a) -> CInt -> CInt -> IO ()---- | usage: (@toolBarSetToolBitmapSize obj xy@).-toolBarSetToolBitmapSize :: ToolBar  a -> Size ->  IO ()-toolBarSetToolBitmapSize _obj xy -  = withObjectRef "toolBarSetToolBitmapSize" _obj $ \cobj__obj -> -    wxToolBar_SetToolBitmapSize cobj__obj  (toCIntSizeW xy) (toCIntSizeH xy)  -foreign import ccall "wxToolBar_SetToolBitmapSize" wxToolBar_SetToolBitmapSize :: Ptr (TToolBar a) -> CInt -> CInt -> IO ()---- | usage: (@toolBarSetToolClientData obj id wxdata@).-toolBarSetToolClientData :: ToolBar  a -> Id -> WxObject  c ->  IO ()-toolBarSetToolClientData _obj id wxdata -  = withObjectRef "toolBarSetToolClientData" _obj $ \cobj__obj -> -    withObjectPtr wxdata $ \cobj_wxdata -> -    wxToolBar_SetToolClientData cobj__obj  (toCInt id)  cobj_wxdata  -foreign import ccall "wxToolBar_SetToolClientData" wxToolBar_SetToolClientData :: Ptr (TToolBar a) -> CInt -> Ptr (TWxObject c) -> IO ()---- | usage: (@toolBarSetToolLongHelp obj id str@).-toolBarSetToolLongHelp :: ToolBar  a -> Id -> String ->  IO ()-toolBarSetToolLongHelp _obj id str -  = withObjectRef "toolBarSetToolLongHelp" _obj $ \cobj__obj -> -    withStringPtr str $ \cobj_str -> -    wxToolBar_SetToolLongHelp cobj__obj  (toCInt id)  cobj_str  -foreign import ccall "wxToolBar_SetToolLongHelp" wxToolBar_SetToolLongHelp :: Ptr (TToolBar a) -> CInt -> Ptr (TWxString c) -> IO ()---- | usage: (@toolBarSetToolPacking obj packing@).-toolBarSetToolPacking :: ToolBar  a -> Int ->  IO ()-toolBarSetToolPacking _obj packing -  = withObjectRef "toolBarSetToolPacking" _obj $ \cobj__obj -> -    wxToolBar_SetToolPacking cobj__obj  (toCInt packing)  -foreign import ccall "wxToolBar_SetToolPacking" wxToolBar_SetToolPacking :: Ptr (TToolBar a) -> CInt -> IO ()---- | usage: (@toolBarSetToolSeparation obj separation@).-toolBarSetToolSeparation :: ToolBar  a -> Int ->  IO ()-toolBarSetToolSeparation _obj separation -  = withObjectRef "toolBarSetToolSeparation" _obj $ \cobj__obj -> -    wxToolBar_SetToolSeparation cobj__obj  (toCInt separation)  -foreign import ccall "wxToolBar_SetToolSeparation" wxToolBar_SetToolSeparation :: Ptr (TToolBar a) -> CInt -> IO ()---- | usage: (@toolBarSetToolShortHelp obj id str@).-toolBarSetToolShortHelp :: ToolBar  a -> Id -> String ->  IO ()-toolBarSetToolShortHelp _obj id str -  = withObjectRef "toolBarSetToolShortHelp" _obj $ \cobj__obj -> -    withStringPtr str $ \cobj_str -> -    wxToolBar_SetToolShortHelp cobj__obj  (toCInt id)  cobj_str  -foreign import ccall "wxToolBar_SetToolShortHelp" wxToolBar_SetToolShortHelp :: Ptr (TToolBar a) -> CInt -> Ptr (TWxString c) -> IO ()---- | usage: (@toolBarToggleTool obj id toggle@).-toolBarToggleTool :: ToolBar  a -> Id -> Bool ->  IO ()-toolBarToggleTool _obj id toggle -  = withObjectRef "toolBarToggleTool" _obj $ \cobj__obj -> -    wxToolBar_ToggleTool cobj__obj  (toCInt id)  (toCBool toggle)  -foreign import ccall "wxToolBar_ToggleTool" wxToolBar_ToggleTool :: Ptr (TToolBar a) -> CInt -> CBool -> IO ()---- | usage: (@topLevelWindowEnableCloseButton obj enable@).-topLevelWindowEnableCloseButton :: TopLevelWindow  a -> Bool ->  IO Bool-topLevelWindowEnableCloseButton _obj enable -  = withBoolResult $-    withObjectRef "topLevelWindowEnableCloseButton" _obj $ \cobj__obj -> -    wxTopLevelWindow_EnableCloseButton cobj__obj  (toCBool enable)  -foreign import ccall "wxTopLevelWindow_EnableCloseButton" wxTopLevelWindow_EnableCloseButton :: Ptr (TTopLevelWindow a) -> CBool -> IO CBool---- | usage: (@topLevelWindowGetDefaultButton obj@).-topLevelWindowGetDefaultButton :: TopLevelWindow  a ->  IO (Button  ())-topLevelWindowGetDefaultButton _obj -  = withObjectResult $-    withObjectRef "topLevelWindowGetDefaultButton" _obj $ \cobj__obj -> -    wxTopLevelWindow_GetDefaultButton cobj__obj  -foreign import ccall "wxTopLevelWindow_GetDefaultButton" wxTopLevelWindow_GetDefaultButton :: Ptr (TTopLevelWindow a) -> IO (Ptr (TButton ()))---- | usage: (@topLevelWindowGetDefaultItem obj@).-topLevelWindowGetDefaultItem :: TopLevelWindow  a ->  IO (Window  ())-topLevelWindowGetDefaultItem _obj -  = withObjectResult $-    withObjectRef "topLevelWindowGetDefaultItem" _obj $ \cobj__obj -> -    wxTopLevelWindow_GetDefaultItem cobj__obj  -foreign import ccall "wxTopLevelWindow_GetDefaultItem" wxTopLevelWindow_GetDefaultItem :: Ptr (TTopLevelWindow a) -> IO (Ptr (TWindow ()))---- | usage: (@topLevelWindowGetIcon obj@).-topLevelWindowGetIcon :: TopLevelWindow  a ->  IO (Icon  ())-topLevelWindowGetIcon _obj -  = withManagedIconResult $-    withObjectRef "topLevelWindowGetIcon" _obj $ \cobj__obj -> -    wxTopLevelWindow_GetIcon cobj__obj  -foreign import ccall "wxTopLevelWindow_GetIcon" wxTopLevelWindow_GetIcon :: Ptr (TTopLevelWindow a) -> IO (Ptr (TIcon ()))---- | usage: (@topLevelWindowGetTitle obj@).-topLevelWindowGetTitle :: TopLevelWindow  a ->  IO (String)-topLevelWindowGetTitle _obj -  = withManagedStringResult $-    withObjectRef "topLevelWindowGetTitle" _obj $ \cobj__obj -> -    wxTopLevelWindow_GetTitle cobj__obj  -foreign import ccall "wxTopLevelWindow_GetTitle" wxTopLevelWindow_GetTitle :: Ptr (TTopLevelWindow a) -> IO (Ptr (TWxString ()))---- | usage: (@topLevelWindowIconize obj iconize@).-topLevelWindowIconize :: TopLevelWindow  a -> Bool ->  IO Bool-topLevelWindowIconize _obj iconize -  = withBoolResult $-    withObjectRef "topLevelWindowIconize" _obj $ \cobj__obj -> -    wxTopLevelWindow_Iconize cobj__obj  (toCBool iconize)  -foreign import ccall "wxTopLevelWindow_Iconize" wxTopLevelWindow_Iconize :: Ptr (TTopLevelWindow a) -> CBool -> IO CBool---- | usage: (@topLevelWindowIsActive obj@).-topLevelWindowIsActive :: TopLevelWindow  a ->  IO Bool-topLevelWindowIsActive _obj -  = withBoolResult $-    withObjectRef "topLevelWindowIsActive" _obj $ \cobj__obj -> -    wxTopLevelWindow_IsActive cobj__obj  -foreign import ccall "wxTopLevelWindow_IsActive" wxTopLevelWindow_IsActive :: Ptr (TTopLevelWindow a) -> IO CBool---- | usage: (@topLevelWindowIsIconized obj@).-topLevelWindowIsIconized :: TopLevelWindow  a ->  IO Bool-topLevelWindowIsIconized _obj -  = withBoolResult $-    withObjectRef "topLevelWindowIsIconized" _obj $ \cobj__obj -> -    wxTopLevelWindow_IsIconized cobj__obj  -foreign import ccall "wxTopLevelWindow_IsIconized" wxTopLevelWindow_IsIconized :: Ptr (TTopLevelWindow a) -> IO CBool---- | usage: (@topLevelWindowIsMaximized obj@).-topLevelWindowIsMaximized :: TopLevelWindow  a ->  IO Bool-topLevelWindowIsMaximized _obj -  = withBoolResult $-    withObjectRef "topLevelWindowIsMaximized" _obj $ \cobj__obj -> -    wxTopLevelWindow_IsMaximized cobj__obj  -foreign import ccall "wxTopLevelWindow_IsMaximized" wxTopLevelWindow_IsMaximized :: Ptr (TTopLevelWindow a) -> IO CBool---- | usage: (@topLevelWindowMaximize obj maximize@).-topLevelWindowMaximize :: TopLevelWindow  a -> Bool ->  IO ()-topLevelWindowMaximize _obj maximize -  = withObjectRef "topLevelWindowMaximize" _obj $ \cobj__obj -> -    wxTopLevelWindow_Maximize cobj__obj  (toCBool maximize)  -foreign import ccall "wxTopLevelWindow_Maximize" wxTopLevelWindow_Maximize :: Ptr (TTopLevelWindow a) -> CBool -> IO ()---- | usage: (@topLevelWindowRequestUserAttention obj flags@).-topLevelWindowRequestUserAttention :: TopLevelWindow  a -> Int ->  IO ()-topLevelWindowRequestUserAttention _obj flags -  = withObjectRef "topLevelWindowRequestUserAttention" _obj $ \cobj__obj -> -    wxTopLevelWindow_RequestUserAttention cobj__obj  (toCInt flags)  -foreign import ccall "wxTopLevelWindow_RequestUserAttention" wxTopLevelWindow_RequestUserAttention :: Ptr (TTopLevelWindow a) -> CInt -> IO ()---- | usage: (@topLevelWindowSetDefaultButton obj pBut@).-topLevelWindowSetDefaultButton :: TopLevelWindow  a -> Button  b ->  IO ()-topLevelWindowSetDefaultButton _obj pBut -  = withObjectRef "topLevelWindowSetDefaultButton" _obj $ \cobj__obj -> -    withObjectPtr pBut $ \cobj_pBut -> -    wxTopLevelWindow_SetDefaultButton cobj__obj  cobj_pBut  -foreign import ccall "wxTopLevelWindow_SetDefaultButton" wxTopLevelWindow_SetDefaultButton :: Ptr (TTopLevelWindow a) -> Ptr (TButton b) -> IO ()---- | usage: (@topLevelWindowSetDefaultItem obj pBut@).-topLevelWindowSetDefaultItem :: TopLevelWindow  a -> Window  b ->  IO ()-topLevelWindowSetDefaultItem _obj pBut -  = withObjectRef "topLevelWindowSetDefaultItem" _obj $ \cobj__obj -> -    withObjectPtr pBut $ \cobj_pBut -> -    wxTopLevelWindow_SetDefaultItem cobj__obj  cobj_pBut  -foreign import ccall "wxTopLevelWindow_SetDefaultItem" wxTopLevelWindow_SetDefaultItem :: Ptr (TTopLevelWindow a) -> Ptr (TWindow b) -> IO ()---- | usage: (@topLevelWindowSetIcon obj pIcon@).-topLevelWindowSetIcon :: TopLevelWindow  a -> Icon  b ->  IO ()-topLevelWindowSetIcon _obj pIcon -  = withObjectRef "topLevelWindowSetIcon" _obj $ \cobj__obj -> -    withObjectPtr pIcon $ \cobj_pIcon -> -    wxTopLevelWindow_SetIcon cobj__obj  cobj_pIcon  -foreign import ccall "wxTopLevelWindow_SetIcon" wxTopLevelWindow_SetIcon :: Ptr (TTopLevelWindow a) -> Ptr (TIcon b) -> IO ()---- | usage: (@topLevelWindowSetIcons obj icons@).-topLevelWindowSetIcons :: TopLevelWindow  a -> Ptr  b ->  IO ()-topLevelWindowSetIcons _obj _icons -  = withObjectRef "topLevelWindowSetIcons" _obj $ \cobj__obj -> -    wxTopLevelWindow_SetIcons cobj__obj  _icons  -foreign import ccall "wxTopLevelWindow_SetIcons" wxTopLevelWindow_SetIcons :: Ptr (TTopLevelWindow a) -> Ptr  b -> IO ()---- | usage: (@topLevelWindowSetMaxSize obj wh@).-topLevelWindowSetMaxSize :: TopLevelWindow  a -> Size ->  IO ()-topLevelWindowSetMaxSize _obj wh -  = withObjectRef "topLevelWindowSetMaxSize" _obj $ \cobj__obj -> -    wxTopLevelWindow_SetMaxSize cobj__obj  (toCIntSizeW wh) (toCIntSizeH wh)  -foreign import ccall "wxTopLevelWindow_SetMaxSize" wxTopLevelWindow_SetMaxSize :: Ptr (TTopLevelWindow a) -> CInt -> CInt -> IO ()---- | usage: (@topLevelWindowSetMinSize obj wh@).-topLevelWindowSetMinSize :: TopLevelWindow  a -> Size ->  IO ()-topLevelWindowSetMinSize _obj wh -  = withObjectRef "topLevelWindowSetMinSize" _obj $ \cobj__obj -> -    wxTopLevelWindow_SetMinSize cobj__obj  (toCIntSizeW wh) (toCIntSizeH wh)  -foreign import ccall "wxTopLevelWindow_SetMinSize" wxTopLevelWindow_SetMinSize :: Ptr (TTopLevelWindow a) -> CInt -> CInt -> IO ()---- | usage: (@topLevelWindowSetTitle obj pString@).-topLevelWindowSetTitle :: TopLevelWindow  a -> String ->  IO ()-topLevelWindowSetTitle _obj pString -  = withObjectRef "topLevelWindowSetTitle" _obj $ \cobj__obj -> -    withStringPtr pString $ \cobj_pString -> -    wxTopLevelWindow_SetTitle cobj__obj  cobj_pString  -foreign import ccall "wxTopLevelWindow_SetTitle" wxTopLevelWindow_SetTitle :: Ptr (TTopLevelWindow a) -> Ptr (TWxString b) -> IO ()---- | usage: (@treeCtrlAddRoot obj text image selectedImage wxdata@).-treeCtrlAddRoot :: TreeCtrl  a -> String -> Int -> Int -> TreeItemData  e ->  IO (TreeItem)-treeCtrlAddRoot _obj text image selectedImage wxdata -  = withRefTreeItemId $ \pref -> -    withObjectRef "treeCtrlAddRoot" _obj $ \cobj__obj -> -    withStringPtr text $ \cobj_text -> -    withObjectPtr wxdata $ \cobj_wxdata -> -    wxTreeCtrl_AddRoot cobj__obj  cobj_text  (toCInt image)  (toCInt selectedImage)  cobj_wxdata   pref-foreign import ccall "wxTreeCtrl_AddRoot" wxTreeCtrl_AddRoot :: Ptr (TTreeCtrl a) -> Ptr (TWxString b) -> CInt -> CInt -> Ptr (TTreeItemData e) -> Ptr (TTreeItemId ()) -> IO ()---- | usage: (@treeCtrlAppendItem obj parent text image selectedImage wxdata@).-treeCtrlAppendItem :: TreeCtrl  a -> TreeItem -> String -> Int -> Int -> TreeItemData  f ->  IO (TreeItem)-treeCtrlAppendItem _obj parent text image selectedImage wxdata -  = withRefTreeItemId $ \pref -> -    withObjectRef "treeCtrlAppendItem" _obj $ \cobj__obj -> -    withTreeItemIdPtr parent $ \cobj_parent -> -    withStringPtr text $ \cobj_text -> -    withObjectPtr wxdata $ \cobj_wxdata -> -    wxTreeCtrl_AppendItem cobj__obj  cobj_parent  cobj_text  (toCInt image)  (toCInt selectedImage)  cobj_wxdata   pref-foreign import ccall "wxTreeCtrl_AppendItem" wxTreeCtrl_AppendItem :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> Ptr (TWxString c) -> CInt -> CInt -> Ptr (TTreeItemData f) -> Ptr (TTreeItemId ()) -> IO ()---- | usage: (@treeCtrlAssignImageList obj imageList@).-treeCtrlAssignImageList :: TreeCtrl  a -> ImageList  b ->  IO ()-treeCtrlAssignImageList _obj imageList -  = withObjectRef "treeCtrlAssignImageList" _obj $ \cobj__obj -> -    withObjectPtr imageList $ \cobj_imageList -> -    wxTreeCtrl_AssignImageList cobj__obj  cobj_imageList  -foreign import ccall "wxTreeCtrl_AssignImageList" wxTreeCtrl_AssignImageList :: Ptr (TTreeCtrl a) -> Ptr (TImageList b) -> IO ()---- | usage: (@treeCtrlAssignStateImageList obj imageList@).-treeCtrlAssignStateImageList :: TreeCtrl  a -> ImageList  b ->  IO ()-treeCtrlAssignStateImageList _obj imageList -  = withObjectRef "treeCtrlAssignStateImageList" _obj $ \cobj__obj -> -    withObjectPtr imageList $ \cobj_imageList -> -    wxTreeCtrl_AssignStateImageList cobj__obj  cobj_imageList  -foreign import ccall "wxTreeCtrl_AssignStateImageList" wxTreeCtrl_AssignStateImageList :: Ptr (TTreeCtrl a) -> Ptr (TImageList b) -> IO ()---- | usage: (@treeCtrlCollapse obj item@).-treeCtrlCollapse :: TreeCtrl  a -> TreeItem ->  IO ()-treeCtrlCollapse _obj item -  = withObjectRef "treeCtrlCollapse" _obj $ \cobj__obj -> -    withTreeItemIdPtr item $ \cobj_item -> -    wxTreeCtrl_Collapse cobj__obj  cobj_item  -foreign import ccall "wxTreeCtrl_Collapse" wxTreeCtrl_Collapse :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> IO ()---- | usage: (@treeCtrlCollapseAndReset obj item@).-treeCtrlCollapseAndReset :: TreeCtrl  a -> TreeItem ->  IO ()-treeCtrlCollapseAndReset _obj item -  = withObjectRef "treeCtrlCollapseAndReset" _obj $ \cobj__obj -> -    withTreeItemIdPtr item $ \cobj_item -> -    wxTreeCtrl_CollapseAndReset cobj__obj  cobj_item  -foreign import ccall "wxTreeCtrl_CollapseAndReset" wxTreeCtrl_CollapseAndReset :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> IO ()---- | usage: (@treeCtrlCreate obj cmp prt id lfttopwdthgt stl@).-treeCtrlCreate :: Ptr  a -> Ptr  b -> Window  c -> Id -> Rect -> Style ->  IO (TreeCtrl  ())-treeCtrlCreate _obj _cmp _prt _id _lfttopwdthgt _stl -  = withObjectResult $-    withObjectPtr _prt $ \cobj__prt -> -    wxTreeCtrl_Create _obj  _cmp  cobj__prt  (toCInt _id)  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  (toCInt _stl)  -foreign import ccall "wxTreeCtrl_Create" wxTreeCtrl_Create :: Ptr  a -> Ptr  b -> Ptr (TWindow c) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TTreeCtrl ()))---- | usage: (@treeCtrlCreate2 prt id lfttopwdthgt stl@).-treeCtrlCreate2 :: Window  a -> Id -> Rect -> Style ->  IO (TreeCtrl  ())-treeCtrlCreate2 _prt _id _lfttopwdthgt _stl -  = withObjectResult $-    withObjectPtr _prt $ \cobj__prt -> -    wxTreeCtrl_Create2 cobj__prt  (toCInt _id)  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  (toCInt _stl)  -foreign import ccall "wxTreeCtrl_Create2" wxTreeCtrl_Create2 :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TTreeCtrl ()))---- | usage: (@treeCtrlDelete obj item@).-treeCtrlDelete :: TreeCtrl  a -> TreeItem ->  IO ()-treeCtrlDelete _obj item -  = withObjectRef "treeCtrlDelete" _obj $ \cobj__obj -> -    withTreeItemIdPtr item $ \cobj_item -> -    wxTreeCtrl_Delete cobj__obj  cobj_item  -foreign import ccall "wxTreeCtrl_Delete" wxTreeCtrl_Delete :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> IO ()---- | usage: (@treeCtrlDeleteAllItems obj@).-treeCtrlDeleteAllItems :: TreeCtrl  a ->  IO ()-treeCtrlDeleteAllItems _obj -  = withObjectRef "treeCtrlDeleteAllItems" _obj $ \cobj__obj -> -    wxTreeCtrl_DeleteAllItems cobj__obj  -foreign import ccall "wxTreeCtrl_DeleteAllItems" wxTreeCtrl_DeleteAllItems :: Ptr (TTreeCtrl a) -> IO ()---- | usage: (@treeCtrlDeleteChildren obj item@).-treeCtrlDeleteChildren :: TreeCtrl  a -> TreeItem ->  IO ()-treeCtrlDeleteChildren _obj item -  = withObjectRef "treeCtrlDeleteChildren" _obj $ \cobj__obj -> -    withTreeItemIdPtr item $ \cobj_item -> -    wxTreeCtrl_DeleteChildren cobj__obj  cobj_item  -foreign import ccall "wxTreeCtrl_DeleteChildren" wxTreeCtrl_DeleteChildren :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> IO ()---- | usage: (@treeCtrlEditLabel obj item@).-treeCtrlEditLabel :: TreeCtrl  a -> TreeItem ->  IO ()-treeCtrlEditLabel _obj item -  = withObjectRef "treeCtrlEditLabel" _obj $ \cobj__obj -> -    withTreeItemIdPtr item $ \cobj_item -> -    wxTreeCtrl_EditLabel cobj__obj  cobj_item  -foreign import ccall "wxTreeCtrl_EditLabel" wxTreeCtrl_EditLabel :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> IO ()---- | usage: (@treeCtrlEndEditLabel obj item discardChanges@).-treeCtrlEndEditLabel :: TreeCtrl  a -> TreeItem -> Bool ->  IO ()-treeCtrlEndEditLabel _obj item discardChanges -  = withObjectRef "treeCtrlEndEditLabel" _obj $ \cobj__obj -> -    withTreeItemIdPtr item $ \cobj_item -> -    wxTreeCtrl_EndEditLabel cobj__obj  cobj_item  (toCBool discardChanges)  -foreign import ccall "wxTreeCtrl_EndEditLabel" wxTreeCtrl_EndEditLabel :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> CBool -> IO ()---- | usage: (@treeCtrlEnsureVisible obj item@).-treeCtrlEnsureVisible :: TreeCtrl  a -> TreeItem ->  IO ()-treeCtrlEnsureVisible _obj item -  = withObjectRef "treeCtrlEnsureVisible" _obj $ \cobj__obj -> -    withTreeItemIdPtr item $ \cobj_item -> -    wxTreeCtrl_EnsureVisible cobj__obj  cobj_item  -foreign import ccall "wxTreeCtrl_EnsureVisible" wxTreeCtrl_EnsureVisible :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> IO ()---- | usage: (@treeCtrlExpand obj item@).-treeCtrlExpand :: TreeCtrl  a -> TreeItem ->  IO ()-treeCtrlExpand _obj item -  = withObjectRef "treeCtrlExpand" _obj $ \cobj__obj -> -    withTreeItemIdPtr item $ \cobj_item -> -    wxTreeCtrl_Expand cobj__obj  cobj_item  -foreign import ccall "wxTreeCtrl_Expand" wxTreeCtrl_Expand :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> IO ()---- | usage: (@treeCtrlGetBoundingRect obj item textOnly@).-treeCtrlGetBoundingRect :: TreeCtrl  a -> TreeItem -> Bool ->  IO (Rect)-treeCtrlGetBoundingRect _obj item textOnly -  = withWxRectResult $-    withObjectRef "treeCtrlGetBoundingRect" _obj $ \cobj__obj -> -    withTreeItemIdPtr item $ \cobj_item -> -    wxTreeCtrl_GetBoundingRect cobj__obj  cobj_item  (toCBool textOnly)  -foreign import ccall "wxTreeCtrl_GetBoundingRect" wxTreeCtrl_GetBoundingRect :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> CBool -> IO (Ptr (TWxRect ()))---- | usage: (@treeCtrlGetChildrenCount obj item recursively@).-treeCtrlGetChildrenCount :: TreeCtrl  a -> TreeItem -> Bool ->  IO Int-treeCtrlGetChildrenCount _obj item recursively -  = withIntResult $-    withObjectRef "treeCtrlGetChildrenCount" _obj $ \cobj__obj -> -    withTreeItemIdPtr item $ \cobj_item -> -    wxTreeCtrl_GetChildrenCount cobj__obj  cobj_item  (toCBool recursively)  -foreign import ccall "wxTreeCtrl_GetChildrenCount" wxTreeCtrl_GetChildrenCount :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> CBool -> IO CInt---- | usage: (@treeCtrlGetCount obj@).-treeCtrlGetCount :: TreeCtrl  a ->  IO Int-treeCtrlGetCount _obj -  = withIntResult $-    withObjectRef "treeCtrlGetCount" _obj $ \cobj__obj -> -    wxTreeCtrl_GetCount cobj__obj  -foreign import ccall "wxTreeCtrl_GetCount" wxTreeCtrl_GetCount :: Ptr (TTreeCtrl a) -> IO CInt---- | usage: (@treeCtrlGetEditControl obj@).-treeCtrlGetEditControl :: TreeCtrl  a ->  IO (TextCtrl  ())-treeCtrlGetEditControl _obj -  = withObjectResult $-    withObjectRef "treeCtrlGetEditControl" _obj $ \cobj__obj -> -    wxTreeCtrl_GetEditControl cobj__obj  -foreign import ccall "wxTreeCtrl_GetEditControl" wxTreeCtrl_GetEditControl :: Ptr (TTreeCtrl a) -> IO (Ptr (TTextCtrl ()))---- | usage: (@treeCtrlGetFirstChild obj item cookie@).-treeCtrlGetFirstChild :: TreeCtrl  a -> TreeItem -> Ptr CInt ->  IO (TreeItem)-treeCtrlGetFirstChild _obj item cookie -  = withRefTreeItemId $ \pref -> -    withObjectRef "treeCtrlGetFirstChild" _obj $ \cobj__obj -> -    withTreeItemIdPtr item $ \cobj_item -> -    wxTreeCtrl_GetFirstChild cobj__obj  cobj_item  cookie   pref-foreign import ccall "wxTreeCtrl_GetFirstChild" wxTreeCtrl_GetFirstChild :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> Ptr CInt -> Ptr (TTreeItemId ()) -> IO ()---- | usage: (@treeCtrlGetFirstVisibleItem obj item@).-treeCtrlGetFirstVisibleItem :: TreeCtrl  a -> TreeItem ->  IO (TreeItem)-treeCtrlGetFirstVisibleItem _obj item -  = withRefTreeItemId $ \pref -> -    withObjectRef "treeCtrlGetFirstVisibleItem" _obj $ \cobj__obj -> -    withTreeItemIdPtr item $ \cobj_item -> -    wxTreeCtrl_GetFirstVisibleItem cobj__obj  cobj_item   pref-foreign import ccall "wxTreeCtrl_GetFirstVisibleItem" wxTreeCtrl_GetFirstVisibleItem :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> Ptr (TTreeItemId ()) -> IO ()---- | usage: (@treeCtrlGetImageList obj@).-treeCtrlGetImageList :: TreeCtrl  a ->  IO (ImageList  ())-treeCtrlGetImageList _obj -  = withObjectResult $-    withObjectRef "treeCtrlGetImageList" _obj $ \cobj__obj -> -    wxTreeCtrl_GetImageList cobj__obj  -foreign import ccall "wxTreeCtrl_GetImageList" wxTreeCtrl_GetImageList :: Ptr (TTreeCtrl a) -> IO (Ptr (TImageList ()))---- | usage: (@treeCtrlGetIndent obj@).-treeCtrlGetIndent :: TreeCtrl  a ->  IO Int-treeCtrlGetIndent _obj -  = withIntResult $-    withObjectRef "treeCtrlGetIndent" _obj $ \cobj__obj -> -    wxTreeCtrl_GetIndent cobj__obj  -foreign import ccall "wxTreeCtrl_GetIndent" wxTreeCtrl_GetIndent :: Ptr (TTreeCtrl a) -> IO CInt---- | usage: (@treeCtrlGetItemClientClosure obj item@).-treeCtrlGetItemClientClosure :: TreeCtrl  a -> TreeItem ->  IO (Closure  ())-treeCtrlGetItemClientClosure _obj item -  = withObjectResult $-    withObjectRef "treeCtrlGetItemClientClosure" _obj $ \cobj__obj -> -    withTreeItemIdPtr item $ \cobj_item -> -    wxTreeCtrl_GetItemClientClosure cobj__obj  cobj_item  -foreign import ccall "wxTreeCtrl_GetItemClientClosure" wxTreeCtrl_GetItemClientClosure :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> IO (Ptr (TClosure ()))---- | usage: (@treeCtrlGetItemData obj item@).-treeCtrlGetItemData :: TreeCtrl  a -> TreeItem ->  IO (Ptr  ())-treeCtrlGetItemData _obj item -  = withObjectRef "treeCtrlGetItemData" _obj $ \cobj__obj -> -    withTreeItemIdPtr item $ \cobj_item -> -    wxTreeCtrl_GetItemData cobj__obj  cobj_item  -foreign import ccall "wxTreeCtrl_GetItemData" wxTreeCtrl_GetItemData :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> IO (Ptr  ())---- | usage: (@treeCtrlGetItemImage obj item which@).-treeCtrlGetItemImage :: TreeCtrl  a -> TreeItem -> Int ->  IO Int-treeCtrlGetItemImage _obj item which -  = withIntResult $-    withObjectRef "treeCtrlGetItemImage" _obj $ \cobj__obj -> -    withTreeItemIdPtr item $ \cobj_item -> -    wxTreeCtrl_GetItemImage cobj__obj  cobj_item  (toCInt which)  -foreign import ccall "wxTreeCtrl_GetItemImage" wxTreeCtrl_GetItemImage :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> CInt -> IO CInt---- | usage: (@treeCtrlGetItemText obj item@).-treeCtrlGetItemText :: TreeCtrl  a -> TreeItem ->  IO (String)-treeCtrlGetItemText _obj item -  = withManagedStringResult $-    withObjectRef "treeCtrlGetItemText" _obj $ \cobj__obj -> -    withTreeItemIdPtr item $ \cobj_item -> -    wxTreeCtrl_GetItemText cobj__obj  cobj_item  -foreign import ccall "wxTreeCtrl_GetItemText" wxTreeCtrl_GetItemText :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> IO (Ptr (TWxString ()))---- | usage: (@treeCtrlGetLastChild obj item@).-treeCtrlGetLastChild :: TreeCtrl  a -> TreeItem ->  IO (TreeItem)-treeCtrlGetLastChild _obj item -  = withRefTreeItemId $ \pref -> -    withObjectRef "treeCtrlGetLastChild" _obj $ \cobj__obj -> -    withTreeItemIdPtr item $ \cobj_item -> -    wxTreeCtrl_GetLastChild cobj__obj  cobj_item   pref-foreign import ccall "wxTreeCtrl_GetLastChild" wxTreeCtrl_GetLastChild :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> Ptr (TTreeItemId ()) -> IO ()---- | usage: (@treeCtrlGetNextChild obj item cookie@).-treeCtrlGetNextChild :: TreeCtrl  a -> TreeItem -> Ptr CInt ->  IO (TreeItem)-treeCtrlGetNextChild _obj item cookie -  = withRefTreeItemId $ \pref -> -    withObjectRef "treeCtrlGetNextChild" _obj $ \cobj__obj -> -    withTreeItemIdPtr item $ \cobj_item -> -    wxTreeCtrl_GetNextChild cobj__obj  cobj_item  cookie   pref-foreign import ccall "wxTreeCtrl_GetNextChild" wxTreeCtrl_GetNextChild :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> Ptr CInt -> Ptr (TTreeItemId ()) -> IO ()---- | usage: (@treeCtrlGetNextSibling obj item@).-treeCtrlGetNextSibling :: TreeCtrl  a -> TreeItem ->  IO (TreeItem)-treeCtrlGetNextSibling _obj item -  = withRefTreeItemId $ \pref -> -    withObjectRef "treeCtrlGetNextSibling" _obj $ \cobj__obj -> -    withTreeItemIdPtr item $ \cobj_item -> -    wxTreeCtrl_GetNextSibling cobj__obj  cobj_item   pref-foreign import ccall "wxTreeCtrl_GetNextSibling" wxTreeCtrl_GetNextSibling :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> Ptr (TTreeItemId ()) -> IO ()---- | usage: (@treeCtrlGetNextVisible obj item@).-treeCtrlGetNextVisible :: TreeCtrl  a -> TreeItem ->  IO (TreeItem)-treeCtrlGetNextVisible _obj item -  = withRefTreeItemId $ \pref -> -    withObjectRef "treeCtrlGetNextVisible" _obj $ \cobj__obj -> -    withTreeItemIdPtr item $ \cobj_item -> -    wxTreeCtrl_GetNextVisible cobj__obj  cobj_item   pref-foreign import ccall "wxTreeCtrl_GetNextVisible" wxTreeCtrl_GetNextVisible :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> Ptr (TTreeItemId ()) -> IO ()---- | usage: (@treeCtrlGetParent obj item@).-treeCtrlGetParent :: TreeCtrl  a -> TreeItem ->  IO (TreeItem)-treeCtrlGetParent _obj item -  = withRefTreeItemId $ \pref -> -    withObjectRef "treeCtrlGetParent" _obj $ \cobj__obj -> -    withTreeItemIdPtr item $ \cobj_item -> -    wxTreeCtrl_GetParent cobj__obj  cobj_item   pref-foreign import ccall "wxTreeCtrl_GetParent" wxTreeCtrl_GetParent :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> Ptr (TTreeItemId ()) -> IO ()---- | usage: (@treeCtrlGetPrevSibling obj item@).-treeCtrlGetPrevSibling :: TreeCtrl  a -> TreeItem ->  IO (TreeItem)-treeCtrlGetPrevSibling _obj item -  = withRefTreeItemId $ \pref -> -    withObjectRef "treeCtrlGetPrevSibling" _obj $ \cobj__obj -> -    withTreeItemIdPtr item $ \cobj_item -> -    wxTreeCtrl_GetPrevSibling cobj__obj  cobj_item   pref-foreign import ccall "wxTreeCtrl_GetPrevSibling" wxTreeCtrl_GetPrevSibling :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> Ptr (TTreeItemId ()) -> IO ()---- | usage: (@treeCtrlGetPrevVisible obj item@).-treeCtrlGetPrevVisible :: TreeCtrl  a -> TreeItem ->  IO (TreeItem)-treeCtrlGetPrevVisible _obj item -  = withRefTreeItemId $ \pref -> -    withObjectRef "treeCtrlGetPrevVisible" _obj $ \cobj__obj -> -    withTreeItemIdPtr item $ \cobj_item -> -    wxTreeCtrl_GetPrevVisible cobj__obj  cobj_item   pref-foreign import ccall "wxTreeCtrl_GetPrevVisible" wxTreeCtrl_GetPrevVisible :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> Ptr (TTreeItemId ()) -> IO ()---- | usage: (@treeCtrlGetRootItem obj@).-treeCtrlGetRootItem :: TreeCtrl  a ->  IO (TreeItem)-treeCtrlGetRootItem _obj -  = withRefTreeItemId $ \pref -> -    withObjectRef "treeCtrlGetRootItem" _obj $ \cobj__obj -> -    wxTreeCtrl_GetRootItem cobj__obj   pref-foreign import ccall "wxTreeCtrl_GetRootItem" wxTreeCtrl_GetRootItem :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId ()) -> IO ()---- | usage: (@treeCtrlGetSelection obj@).-treeCtrlGetSelection :: TreeCtrl  a ->  IO (TreeItem)-treeCtrlGetSelection _obj -  = withRefTreeItemId $ \pref -> -    withObjectRef "treeCtrlGetSelection" _obj $ \cobj__obj -> -    wxTreeCtrl_GetSelection cobj__obj   pref-foreign import ccall "wxTreeCtrl_GetSelection" wxTreeCtrl_GetSelection :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId ()) -> IO ()---- | usage: (@treeCtrlGetSelections obj@).-treeCtrlGetSelections :: TreeCtrl  a ->  IO [Int]-treeCtrlGetSelections _obj -  = withArrayIntResult $ \arr -> -    withObjectRef "treeCtrlGetSelections" _obj $ \cobj__obj -> -    wxTreeCtrl_GetSelections cobj__obj   arr-foreign import ccall "wxTreeCtrl_GetSelections" wxTreeCtrl_GetSelections :: Ptr (TTreeCtrl a) -> Ptr CInt -> IO CInt---- | usage: (@treeCtrlGetSpacing obj@).-treeCtrlGetSpacing :: TreeCtrl  a ->  IO Int-treeCtrlGetSpacing _obj -  = withIntResult $-    withObjectRef "treeCtrlGetSpacing" _obj $ \cobj__obj -> -    wxTreeCtrl_GetSpacing cobj__obj  -foreign import ccall "wxTreeCtrl_GetSpacing" wxTreeCtrl_GetSpacing :: Ptr (TTreeCtrl a) -> IO CInt---- | usage: (@treeCtrlGetStateImageList obj@).-treeCtrlGetStateImageList :: TreeCtrl  a ->  IO (ImageList  ())-treeCtrlGetStateImageList _obj -  = withObjectResult $-    withObjectRef "treeCtrlGetStateImageList" _obj $ \cobj__obj -> -    wxTreeCtrl_GetStateImageList cobj__obj  -foreign import ccall "wxTreeCtrl_GetStateImageList" wxTreeCtrl_GetStateImageList :: Ptr (TTreeCtrl a) -> IO (Ptr (TImageList ()))---- | usage: (@treeCtrlHitTest obj xy flags@).-treeCtrlHitTest :: TreeCtrl  a -> Point -> Ptr CInt ->  IO (TreeItem)-treeCtrlHitTest _obj _xy flags -  = withRefTreeItemId $ \pref -> -    withObjectRef "treeCtrlHitTest" _obj $ \cobj__obj -> -    wxTreeCtrl_HitTest cobj__obj  (toCIntPointX _xy) (toCIntPointY _xy)  flags   pref-foreign import ccall "wxTreeCtrl_HitTest" wxTreeCtrl_HitTest :: Ptr (TTreeCtrl a) -> CInt -> CInt -> Ptr CInt -> Ptr (TTreeItemId ()) -> IO ()---- | usage: (@treeCtrlInsertItem obj parent idPrevious text image selectedImage wxdata@).-treeCtrlInsertItem :: TreeCtrl  a -> TreeItem -> TreeItem -> String -> Int -> Int -> Ptr  g ->  IO (TreeItem)-treeCtrlInsertItem _obj parent idPrevious text image selectedImage wxdata -  = withRefTreeItemId $ \pref -> -    withObjectRef "treeCtrlInsertItem" _obj $ \cobj__obj -> -    withTreeItemIdPtr parent $ \cobj_parent -> -    withTreeItemIdPtr idPrevious $ \cobj_idPrevious -> -    withStringPtr text $ \cobj_text -> -    wxTreeCtrl_InsertItem cobj__obj  cobj_parent  cobj_idPrevious  cobj_text  (toCInt image)  (toCInt selectedImage)  wxdata   pref-foreign import ccall "wxTreeCtrl_InsertItem" wxTreeCtrl_InsertItem :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> Ptr (TTreeItemId c) -> Ptr (TWxString d) -> CInt -> CInt -> Ptr  g -> Ptr (TTreeItemId ()) -> IO ()---- | usage: (@treeCtrlInsertItem2 obj parent idPrevious text image selectedImage closure@).-treeCtrlInsertItem2 :: TreeCtrl  a -> Window  b -> TreeItem -> String -> Int -> Int -> Closure  g ->  IO (TreeItem)-treeCtrlInsertItem2 _obj parent idPrevious text image selectedImage closure -  = withRefTreeItemId $ \pref -> -    withObjectRef "treeCtrlInsertItem2" _obj $ \cobj__obj -> -    withObjectPtr parent $ \cobj_parent -> -    withTreeItemIdPtr idPrevious $ \cobj_idPrevious -> -    withStringPtr text $ \cobj_text -> -    withObjectPtr closure $ \cobj_closure -> -    wxTreeCtrl_InsertItem2 cobj__obj  cobj_parent  cobj_idPrevious  cobj_text  (toCInt image)  (toCInt selectedImage)  cobj_closure   pref-foreign import ccall "wxTreeCtrl_InsertItem2" wxTreeCtrl_InsertItem2 :: Ptr (TTreeCtrl a) -> Ptr (TWindow b) -> Ptr (TTreeItemId c) -> Ptr (TWxString d) -> CInt -> CInt -> Ptr (TClosure g) -> Ptr (TTreeItemId ()) -> IO ()---- | usage: (@treeCtrlInsertItemByIndex obj parent index text image selectedImage wxdata@).-treeCtrlInsertItemByIndex :: TreeCtrl  a -> TreeItem -> Int -> String -> Int -> Int -> Ptr  g ->  IO (TreeItem)-treeCtrlInsertItemByIndex _obj parent index text image selectedImage wxdata -  = withRefTreeItemId $ \pref -> -    withObjectRef "treeCtrlInsertItemByIndex" _obj $ \cobj__obj -> -    withTreeItemIdPtr parent $ \cobj_parent -> -    withStringPtr text $ \cobj_text -> -    wxTreeCtrl_InsertItemByIndex cobj__obj  cobj_parent  (toCInt index)  cobj_text  (toCInt image)  (toCInt selectedImage)  wxdata   pref-foreign import ccall "wxTreeCtrl_InsertItemByIndex" wxTreeCtrl_InsertItemByIndex :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> CInt -> Ptr (TWxString d) -> CInt -> CInt -> Ptr  g -> Ptr (TTreeItemId ()) -> IO ()---- | usage: (@treeCtrlInsertItemByIndex2 obj parent index text image selectedImage closure@).-treeCtrlInsertItemByIndex2 :: TreeCtrl  a -> Window  b -> Int -> String -> Int -> Int -> Closure  g ->  IO (TreeItem)-treeCtrlInsertItemByIndex2 _obj parent index text image selectedImage closure -  = withRefTreeItemId $ \pref -> -    withObjectRef "treeCtrlInsertItemByIndex2" _obj $ \cobj__obj -> -    withObjectPtr parent $ \cobj_parent -> -    withStringPtr text $ \cobj_text -> -    withObjectPtr closure $ \cobj_closure -> -    wxTreeCtrl_InsertItemByIndex2 cobj__obj  cobj_parent  (toCInt index)  cobj_text  (toCInt image)  (toCInt selectedImage)  cobj_closure   pref-foreign import ccall "wxTreeCtrl_InsertItemByIndex2" wxTreeCtrl_InsertItemByIndex2 :: Ptr (TTreeCtrl a) -> Ptr (TWindow b) -> CInt -> Ptr (TWxString d) -> CInt -> CInt -> Ptr (TClosure g) -> Ptr (TTreeItemId ()) -> IO ()---- | usage: (@treeCtrlIsBold obj item@).-treeCtrlIsBold :: TreeCtrl  a -> TreeItem ->  IO Bool-treeCtrlIsBold _obj item -  = withBoolResult $-    withObjectRef "treeCtrlIsBold" _obj $ \cobj__obj -> -    withTreeItemIdPtr item $ \cobj_item -> -    wxTreeCtrl_IsBold cobj__obj  cobj_item  -foreign import ccall "wxTreeCtrl_IsBold" wxTreeCtrl_IsBold :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> IO CBool---- | usage: (@treeCtrlIsExpanded obj item@).-treeCtrlIsExpanded :: TreeCtrl  a -> TreeItem ->  IO Bool-treeCtrlIsExpanded _obj item -  = withBoolResult $-    withObjectRef "treeCtrlIsExpanded" _obj $ \cobj__obj -> -    withTreeItemIdPtr item $ \cobj_item -> -    wxTreeCtrl_IsExpanded cobj__obj  cobj_item  -foreign import ccall "wxTreeCtrl_IsExpanded" wxTreeCtrl_IsExpanded :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> IO CBool---- | usage: (@treeCtrlIsSelected obj item@).-treeCtrlIsSelected :: TreeCtrl  a -> TreeItem ->  IO Bool-treeCtrlIsSelected _obj item -  = withBoolResult $-    withObjectRef "treeCtrlIsSelected" _obj $ \cobj__obj -> -    withTreeItemIdPtr item $ \cobj_item -> -    wxTreeCtrl_IsSelected cobj__obj  cobj_item  -foreign import ccall "wxTreeCtrl_IsSelected" wxTreeCtrl_IsSelected :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> IO CBool---- | usage: (@treeCtrlIsVisible obj item@).-treeCtrlIsVisible :: TreeCtrl  a -> TreeItem ->  IO Bool-treeCtrlIsVisible _obj item -  = withBoolResult $-    withObjectRef "treeCtrlIsVisible" _obj $ \cobj__obj -> -    withTreeItemIdPtr item $ \cobj_item -> -    wxTreeCtrl_IsVisible cobj__obj  cobj_item  -foreign import ccall "wxTreeCtrl_IsVisible" wxTreeCtrl_IsVisible :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> IO CBool---- | usage: (@treeCtrlItemHasChildren obj item@).-treeCtrlItemHasChildren :: TreeCtrl  a -> TreeItem ->  IO Int-treeCtrlItemHasChildren _obj item -  = withIntResult $-    withObjectRef "treeCtrlItemHasChildren" _obj $ \cobj__obj -> -    withTreeItemIdPtr item $ \cobj_item -> -    wxTreeCtrl_ItemHasChildren cobj__obj  cobj_item  -foreign import ccall "wxTreeCtrl_ItemHasChildren" wxTreeCtrl_ItemHasChildren :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> IO CInt---- | usage: (@treeCtrlOnCompareItems obj item1 item2@).-treeCtrlOnCompareItems :: TreeCtrl  a -> TreeItem -> TreeItem ->  IO Int-treeCtrlOnCompareItems _obj item1 item2 -  = withIntResult $-    withObjectRef "treeCtrlOnCompareItems" _obj $ \cobj__obj -> -    withTreeItemIdPtr item1 $ \cobj_item1 -> -    withTreeItemIdPtr item2 $ \cobj_item2 -> -    wxTreeCtrl_OnCompareItems cobj__obj  cobj_item1  cobj_item2  -foreign import ccall "wxTreeCtrl_OnCompareItems" wxTreeCtrl_OnCompareItems :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> Ptr (TTreeItemId c) -> IO CInt---- | usage: (@treeCtrlPrependItem obj parent text image selectedImage wxdata@).-treeCtrlPrependItem :: TreeCtrl  a -> TreeItem -> String -> Int -> Int -> Ptr  f ->  IO (TreeItem)-treeCtrlPrependItem _obj parent text image selectedImage wxdata -  = withRefTreeItemId $ \pref -> -    withObjectRef "treeCtrlPrependItem" _obj $ \cobj__obj -> -    withTreeItemIdPtr parent $ \cobj_parent -> -    withStringPtr text $ \cobj_text -> -    wxTreeCtrl_PrependItem cobj__obj  cobj_parent  cobj_text  (toCInt image)  (toCInt selectedImage)  wxdata   pref-foreign import ccall "wxTreeCtrl_PrependItem" wxTreeCtrl_PrependItem :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> Ptr (TWxString c) -> CInt -> CInt -> Ptr  f -> Ptr (TTreeItemId ()) -> IO ()---- | usage: (@treeCtrlScrollTo obj item@).-treeCtrlScrollTo :: TreeCtrl  a -> TreeItem ->  IO ()-treeCtrlScrollTo _obj item -  = withObjectRef "treeCtrlScrollTo" _obj $ \cobj__obj -> -    withTreeItemIdPtr item $ \cobj_item -> -    wxTreeCtrl_ScrollTo cobj__obj  cobj_item  -foreign import ccall "wxTreeCtrl_ScrollTo" wxTreeCtrl_ScrollTo :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> IO ()---- | usage: (@treeCtrlSelectItem obj item@).-treeCtrlSelectItem :: TreeCtrl  a -> TreeItem ->  IO ()-treeCtrlSelectItem _obj item -  = withObjectRef "treeCtrlSelectItem" _obj $ \cobj__obj -> -    withTreeItemIdPtr item $ \cobj_item -> -    wxTreeCtrl_SelectItem cobj__obj  cobj_item  -foreign import ccall "wxTreeCtrl_SelectItem" wxTreeCtrl_SelectItem :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> IO ()---- | usage: (@treeCtrlSetImageList obj imageList@).-treeCtrlSetImageList :: TreeCtrl  a -> ImageList  b ->  IO ()-treeCtrlSetImageList _obj imageList -  = withObjectRef "treeCtrlSetImageList" _obj $ \cobj__obj -> -    withObjectPtr imageList $ \cobj_imageList -> -    wxTreeCtrl_SetImageList cobj__obj  cobj_imageList  -foreign import ccall "wxTreeCtrl_SetImageList" wxTreeCtrl_SetImageList :: Ptr (TTreeCtrl a) -> Ptr (TImageList b) -> IO ()---- | usage: (@treeCtrlSetIndent obj indent@).-treeCtrlSetIndent :: TreeCtrl  a -> Int ->  IO ()-treeCtrlSetIndent _obj indent -  = withObjectRef "treeCtrlSetIndent" _obj $ \cobj__obj -> -    wxTreeCtrl_SetIndent cobj__obj  (toCInt indent)  -foreign import ccall "wxTreeCtrl_SetIndent" wxTreeCtrl_SetIndent :: Ptr (TTreeCtrl a) -> CInt -> IO ()---- | usage: (@treeCtrlSetItemBackgroundColour obj item col@).-treeCtrlSetItemBackgroundColour :: TreeCtrl  a -> TreeItem -> Color ->  IO ()-treeCtrlSetItemBackgroundColour _obj item col -  = withObjectRef "treeCtrlSetItemBackgroundColour" _obj $ \cobj__obj -> -    withTreeItemIdPtr item $ \cobj_item -> -    withColourPtr col $ \cobj_col -> -    wxTreeCtrl_SetItemBackgroundColour cobj__obj  cobj_item  cobj_col  -foreign import ccall "wxTreeCtrl_SetItemBackgroundColour" wxTreeCtrl_SetItemBackgroundColour :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> Ptr (TColour c) -> IO ()---- | usage: (@treeCtrlSetItemBold obj item bold@).-treeCtrlSetItemBold :: TreeCtrl  a -> TreeItem -> Bool ->  IO ()-treeCtrlSetItemBold _obj item bold -  = withObjectRef "treeCtrlSetItemBold" _obj $ \cobj__obj -> -    withTreeItemIdPtr item $ \cobj_item -> -    wxTreeCtrl_SetItemBold cobj__obj  cobj_item  (toCBool bold)  -foreign import ccall "wxTreeCtrl_SetItemBold" wxTreeCtrl_SetItemBold :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> CBool -> IO ()---- | usage: (@treeCtrlSetItemClientClosure obj item closure@).-treeCtrlSetItemClientClosure :: TreeCtrl  a -> TreeItem -> Closure  c ->  IO ()-treeCtrlSetItemClientClosure _obj item closure -  = withObjectRef "treeCtrlSetItemClientClosure" _obj $ \cobj__obj -> -    withTreeItemIdPtr item $ \cobj_item -> -    withObjectPtr closure $ \cobj_closure -> -    wxTreeCtrl_SetItemClientClosure cobj__obj  cobj_item  cobj_closure  -foreign import ccall "wxTreeCtrl_SetItemClientClosure" wxTreeCtrl_SetItemClientClosure :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> Ptr (TClosure c) -> IO ()---- | usage: (@treeCtrlSetItemData obj item wxdata@).-treeCtrlSetItemData :: TreeCtrl  a -> TreeItem -> Ptr  c ->  IO ()-treeCtrlSetItemData _obj item wxdata -  = withObjectRef "treeCtrlSetItemData" _obj $ \cobj__obj -> -    withTreeItemIdPtr item $ \cobj_item -> -    wxTreeCtrl_SetItemData cobj__obj  cobj_item  wxdata  -foreign import ccall "wxTreeCtrl_SetItemData" wxTreeCtrl_SetItemData :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> Ptr  c -> IO ()---- | usage: (@treeCtrlSetItemDropHighlight obj item highlight@).-treeCtrlSetItemDropHighlight :: TreeCtrl  a -> TreeItem -> Bool ->  IO ()-treeCtrlSetItemDropHighlight _obj item highlight -  = withObjectRef "treeCtrlSetItemDropHighlight" _obj $ \cobj__obj -> -    withTreeItemIdPtr item $ \cobj_item -> -    wxTreeCtrl_SetItemDropHighlight cobj__obj  cobj_item  (toCBool highlight)  -foreign import ccall "wxTreeCtrl_SetItemDropHighlight" wxTreeCtrl_SetItemDropHighlight :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> CBool -> IO ()---- | usage: (@treeCtrlSetItemFont obj item font@).-treeCtrlSetItemFont :: TreeCtrl  a -> TreeItem -> Font  c ->  IO ()-treeCtrlSetItemFont _obj item font -  = withObjectRef "treeCtrlSetItemFont" _obj $ \cobj__obj -> -    withTreeItemIdPtr item $ \cobj_item -> -    withObjectPtr font $ \cobj_font -> -    wxTreeCtrl_SetItemFont cobj__obj  cobj_item  cobj_font  -foreign import ccall "wxTreeCtrl_SetItemFont" wxTreeCtrl_SetItemFont :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> Ptr (TFont c) -> IO ()---- | usage: (@treeCtrlSetItemHasChildren obj item hasChildren@).-treeCtrlSetItemHasChildren :: TreeCtrl  a -> TreeItem -> Bool ->  IO ()-treeCtrlSetItemHasChildren _obj item hasChildren -  = withObjectRef "treeCtrlSetItemHasChildren" _obj $ \cobj__obj -> -    withTreeItemIdPtr item $ \cobj_item -> -    wxTreeCtrl_SetItemHasChildren cobj__obj  cobj_item  (toCBool hasChildren)  -foreign import ccall "wxTreeCtrl_SetItemHasChildren" wxTreeCtrl_SetItemHasChildren :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> CBool -> IO ()---- | usage: (@treeCtrlSetItemImage obj item image which@).-treeCtrlSetItemImage :: TreeCtrl  a -> TreeItem -> Int -> Int ->  IO ()-treeCtrlSetItemImage _obj item image which -  = withObjectRef "treeCtrlSetItemImage" _obj $ \cobj__obj -> -    withTreeItemIdPtr item $ \cobj_item -> -    wxTreeCtrl_SetItemImage cobj__obj  cobj_item  (toCInt image)  (toCInt which)  -foreign import ccall "wxTreeCtrl_SetItemImage" wxTreeCtrl_SetItemImage :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> CInt -> CInt -> IO ()---- | usage: (@treeCtrlSetItemText obj item text@).-treeCtrlSetItemText :: TreeCtrl  a -> TreeItem -> String ->  IO ()-treeCtrlSetItemText _obj item text -  = withObjectRef "treeCtrlSetItemText" _obj $ \cobj__obj -> -    withTreeItemIdPtr item $ \cobj_item -> -    withStringPtr text $ \cobj_text -> -    wxTreeCtrl_SetItemText cobj__obj  cobj_item  cobj_text  -foreign import ccall "wxTreeCtrl_SetItemText" wxTreeCtrl_SetItemText :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> Ptr (TWxString c) -> IO ()---- | usage: (@treeCtrlSetItemTextColour obj item col@).-treeCtrlSetItemTextColour :: TreeCtrl  a -> TreeItem -> Color ->  IO ()-treeCtrlSetItemTextColour _obj item col -  = withObjectRef "treeCtrlSetItemTextColour" _obj $ \cobj__obj -> -    withTreeItemIdPtr item $ \cobj_item -> -    withColourPtr col $ \cobj_col -> -    wxTreeCtrl_SetItemTextColour cobj__obj  cobj_item  cobj_col  -foreign import ccall "wxTreeCtrl_SetItemTextColour" wxTreeCtrl_SetItemTextColour :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> Ptr (TColour c) -> IO ()---- | usage: (@treeCtrlSetSpacing obj spacing@).-treeCtrlSetSpacing :: TreeCtrl  a -> Int ->  IO ()-treeCtrlSetSpacing _obj spacing -  = withObjectRef "treeCtrlSetSpacing" _obj $ \cobj__obj -> -    wxTreeCtrl_SetSpacing cobj__obj  (toCInt spacing)  -foreign import ccall "wxTreeCtrl_SetSpacing" wxTreeCtrl_SetSpacing :: Ptr (TTreeCtrl a) -> CInt -> IO ()---- | usage: (@treeCtrlSetStateImageList obj imageList@).-treeCtrlSetStateImageList :: TreeCtrl  a -> ImageList  b ->  IO ()-treeCtrlSetStateImageList _obj imageList -  = withObjectRef "treeCtrlSetStateImageList" _obj $ \cobj__obj -> -    withObjectPtr imageList $ \cobj_imageList -> -    wxTreeCtrl_SetStateImageList cobj__obj  cobj_imageList  -foreign import ccall "wxTreeCtrl_SetStateImageList" wxTreeCtrl_SetStateImageList :: Ptr (TTreeCtrl a) -> Ptr (TImageList b) -> IO ()---- | usage: (@treeCtrlSortChildren obj item@).-treeCtrlSortChildren :: TreeCtrl  a -> TreeItem ->  IO ()-treeCtrlSortChildren _obj item -  = withObjectRef "treeCtrlSortChildren" _obj $ \cobj__obj -> -    withTreeItemIdPtr item $ \cobj_item -> -    wxTreeCtrl_SortChildren cobj__obj  cobj_item  -foreign import ccall "wxTreeCtrl_SortChildren" wxTreeCtrl_SortChildren :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> IO ()---- | usage: (@treeCtrlToggle obj item@).-treeCtrlToggle :: TreeCtrl  a -> TreeItem ->  IO ()-treeCtrlToggle _obj item -  = withObjectRef "treeCtrlToggle" _obj $ \cobj__obj -> -    withTreeItemIdPtr item $ \cobj_item -> -    wxTreeCtrl_Toggle cobj__obj  cobj_item  -foreign import ccall "wxTreeCtrl_Toggle" wxTreeCtrl_Toggle :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> IO ()---- | usage: (@treeCtrlUnselect obj@).-treeCtrlUnselect :: TreeCtrl  a ->  IO ()-treeCtrlUnselect _obj -  = withObjectRef "treeCtrlUnselect" _obj $ \cobj__obj -> -    wxTreeCtrl_Unselect cobj__obj  -foreign import ccall "wxTreeCtrl_Unselect" wxTreeCtrl_Unselect :: Ptr (TTreeCtrl a) -> IO ()---- | usage: (@treeCtrlUnselectAll obj@).-treeCtrlUnselectAll :: TreeCtrl  a ->  IO ()-treeCtrlUnselectAll _obj -  = withObjectRef "treeCtrlUnselectAll" _obj $ \cobj__obj -> -    wxTreeCtrl_UnselectAll cobj__obj  -foreign import ccall "wxTreeCtrl_UnselectAll" wxTreeCtrl_UnselectAll :: Ptr (TTreeCtrl a) -> IO ()---- | usage: (@treeEventAllow obj@).-treeEventAllow :: TreeEvent  a ->  IO ()-treeEventAllow _obj -  = withObjectRef "treeEventAllow" _obj $ \cobj__obj -> -    wxTreeEvent_Allow cobj__obj  -foreign import ccall "wxTreeEvent_Allow" wxTreeEvent_Allow :: Ptr (TTreeEvent a) -> IO ()---- | usage: (@treeEventGetCode obj@).-treeEventGetCode :: TreeEvent  a ->  IO Int-treeEventGetCode _obj -  = withIntResult $-    withObjectRef "treeEventGetCode" _obj $ \cobj__obj -> -    wxTreeEvent_GetCode cobj__obj  -foreign import ccall "wxTreeEvent_GetCode" wxTreeEvent_GetCode :: Ptr (TTreeEvent a) -> IO CInt---- | usage: (@treeEventGetItem obj@).-treeEventGetItem :: TreeEvent  a ->  IO (TreeItem)-treeEventGetItem _obj -  = withRefTreeItemId $ \pref -> -    withObjectRef "treeEventGetItem" _obj $ \cobj__obj -> -    wxTreeEvent_GetItem cobj__obj   pref-foreign import ccall "wxTreeEvent_GetItem" wxTreeEvent_GetItem :: Ptr (TTreeEvent a) -> Ptr (TTreeItemId ()) -> IO ()---- | usage: (@treeEventGetKeyEvent obj@).-treeEventGetKeyEvent :: TreeEvent  a ->  IO (KeyEvent  ())-treeEventGetKeyEvent _obj -  = withObjectResult $-    withObjectRef "treeEventGetKeyEvent" _obj $ \cobj__obj -> -    wxTreeEvent_GetKeyEvent cobj__obj  -foreign import ccall "wxTreeEvent_GetKeyEvent" wxTreeEvent_GetKeyEvent :: Ptr (TTreeEvent a) -> IO (Ptr (TKeyEvent ()))---- | usage: (@treeEventGetLabel obj@).-treeEventGetLabel :: TreeEvent  a ->  IO (String)-treeEventGetLabel _obj -  = withManagedStringResult $-    withObjectRef "treeEventGetLabel" _obj $ \cobj__obj -> -    wxTreeEvent_GetLabel cobj__obj  -foreign import ccall "wxTreeEvent_GetLabel" wxTreeEvent_GetLabel :: Ptr (TTreeEvent a) -> IO (Ptr (TWxString ()))---- | usage: (@treeEventGetOldItem obj@).-treeEventGetOldItem :: TreeEvent  a ->  IO (TreeItem)-treeEventGetOldItem _obj -  = withRefTreeItemId $ \pref -> -    withObjectRef "treeEventGetOldItem" _obj $ \cobj__obj -> -    wxTreeEvent_GetOldItem cobj__obj   pref-foreign import ccall "wxTreeEvent_GetOldItem" wxTreeEvent_GetOldItem :: Ptr (TTreeEvent a) -> Ptr (TTreeItemId ()) -> IO ()---- | usage: (@treeEventGetPoint obj@).-treeEventGetPoint :: TreeEvent  a ->  IO (Point)-treeEventGetPoint _obj -  = withWxPointResult $-    withObjectRef "treeEventGetPoint" _obj $ \cobj__obj -> -    wxTreeEvent_GetPoint cobj__obj  -foreign import ccall "wxTreeEvent_GetPoint" wxTreeEvent_GetPoint :: Ptr (TTreeEvent a) -> IO (Ptr (TWxPoint ()))---- | usage: (@treeEventIsEditCancelled obj@).-treeEventIsEditCancelled :: TreeEvent  a ->  IO Bool-treeEventIsEditCancelled _obj -  = withBoolResult $-    withObjectRef "treeEventIsEditCancelled" _obj $ \cobj__obj -> -    wxTreeEvent_IsEditCancelled cobj__obj  -foreign import ccall "wxTreeEvent_IsEditCancelled" wxTreeEvent_IsEditCancelled :: Ptr (TTreeEvent a) -> IO CBool---- | usage: (@updateUIEventCheck obj check@).-updateUIEventCheck :: UpdateUIEvent  a -> Bool ->  IO ()-updateUIEventCheck _obj check -  = withObjectRef "updateUIEventCheck" _obj $ \cobj__obj -> -    wxUpdateUIEvent_Check cobj__obj  (toCBool check)  -foreign import ccall "wxUpdateUIEvent_Check" wxUpdateUIEvent_Check :: Ptr (TUpdateUIEvent a) -> CBool -> IO ()---- | usage: (@updateUIEventCopyObject obj obj@).-updateUIEventCopyObject :: UpdateUIEvent  a -> WxObject  b ->  IO ()-updateUIEventCopyObject _obj obj -  = withObjectRef "updateUIEventCopyObject" _obj $ \cobj__obj -> -    withObjectPtr obj $ \cobj_obj -> -    wxUpdateUIEvent_CopyObject cobj__obj  cobj_obj  -foreign import ccall "wxUpdateUIEvent_CopyObject" wxUpdateUIEvent_CopyObject :: Ptr (TUpdateUIEvent a) -> Ptr (TWxObject b) -> IO ()---- | usage: (@updateUIEventEnable obj enable@).-updateUIEventEnable :: UpdateUIEvent  a -> Bool ->  IO ()-updateUIEventEnable _obj enable -  = withObjectRef "updateUIEventEnable" _obj $ \cobj__obj -> -    wxUpdateUIEvent_Enable cobj__obj  (toCBool enable)  -foreign import ccall "wxUpdateUIEvent_Enable" wxUpdateUIEvent_Enable :: Ptr (TUpdateUIEvent a) -> CBool -> IO ()---- | usage: (@updateUIEventGetChecked obj@).-updateUIEventGetChecked :: UpdateUIEvent  a ->  IO Bool-updateUIEventGetChecked _obj -  = withBoolResult $-    withObjectRef "updateUIEventGetChecked" _obj $ \cobj__obj -> -    wxUpdateUIEvent_GetChecked cobj__obj  -foreign import ccall "wxUpdateUIEvent_GetChecked" wxUpdateUIEvent_GetChecked :: Ptr (TUpdateUIEvent a) -> IO CBool---- | usage: (@updateUIEventGetEnabled obj@).-updateUIEventGetEnabled :: UpdateUIEvent  a ->  IO Bool-updateUIEventGetEnabled _obj -  = withBoolResult $-    withObjectRef "updateUIEventGetEnabled" _obj $ \cobj__obj -> -    wxUpdateUIEvent_GetEnabled cobj__obj  -foreign import ccall "wxUpdateUIEvent_GetEnabled" wxUpdateUIEvent_GetEnabled :: Ptr (TUpdateUIEvent a) -> IO CBool---- | usage: (@updateUIEventGetSetChecked obj@).-updateUIEventGetSetChecked :: UpdateUIEvent  a ->  IO Bool-updateUIEventGetSetChecked _obj -  = withBoolResult $-    withObjectRef "updateUIEventGetSetChecked" _obj $ \cobj__obj -> -    wxUpdateUIEvent_GetSetChecked cobj__obj  -foreign import ccall "wxUpdateUIEvent_GetSetChecked" wxUpdateUIEvent_GetSetChecked :: Ptr (TUpdateUIEvent a) -> IO CBool---- | usage: (@updateUIEventGetSetEnabled obj@).-updateUIEventGetSetEnabled :: UpdateUIEvent  a ->  IO Bool-updateUIEventGetSetEnabled _obj -  = withBoolResult $-    withObjectRef "updateUIEventGetSetEnabled" _obj $ \cobj__obj -> -    wxUpdateUIEvent_GetSetEnabled cobj__obj  -foreign import ccall "wxUpdateUIEvent_GetSetEnabled" wxUpdateUIEvent_GetSetEnabled :: Ptr (TUpdateUIEvent a) -> IO CBool---- | usage: (@updateUIEventGetSetText obj@).-updateUIEventGetSetText :: UpdateUIEvent  a ->  IO Bool-updateUIEventGetSetText _obj -  = withBoolResult $-    withObjectRef "updateUIEventGetSetText" _obj $ \cobj__obj -> -    wxUpdateUIEvent_GetSetText cobj__obj  -foreign import ccall "wxUpdateUIEvent_GetSetText" wxUpdateUIEvent_GetSetText :: Ptr (TUpdateUIEvent a) -> IO CBool---- | usage: (@updateUIEventGetText obj@).-updateUIEventGetText :: UpdateUIEvent  a ->  IO (String)-updateUIEventGetText _obj -  = withManagedStringResult $-    withObjectRef "updateUIEventGetText" _obj $ \cobj__obj -> -    wxUpdateUIEvent_GetText cobj__obj  -foreign import ccall "wxUpdateUIEvent_GetText" wxUpdateUIEvent_GetText :: Ptr (TUpdateUIEvent a) -> IO (Ptr (TWxString ()))---- | usage: (@updateUIEventSetText obj text@).-updateUIEventSetText :: UpdateUIEvent  a -> String ->  IO ()-updateUIEventSetText _obj text -  = withObjectRef "updateUIEventSetText" _obj $ \cobj__obj -> -    withStringPtr text $ \cobj_text -> -    wxUpdateUIEvent_SetText cobj__obj  cobj_text  -foreign import ccall "wxUpdateUIEvent_SetText" wxUpdateUIEvent_SetText :: Ptr (TUpdateUIEvent a) -> Ptr (TWxString b) -> IO ()---- | usage: (@validatorCreate@).-validatorCreate ::  IO (Validator  ())-validatorCreate -  = withObjectResult $-    wxValidator_Create -foreign import ccall "wxValidator_Create" wxValidator_Create :: IO (Ptr (TValidator ()))---- | usage: (@validatorDelete obj@).-validatorDelete :: Validator  a ->  IO ()-validatorDelete-  = objectDelete----- | usage: (@validatorGetWindow obj@).-validatorGetWindow :: Validator  a ->  IO (Window  ())-validatorGetWindow _obj -  = withObjectResult $-    withObjectRef "validatorGetWindow" _obj $ \cobj__obj -> -    wxValidator_GetWindow cobj__obj  -foreign import ccall "wxValidator_GetWindow" wxValidator_GetWindow :: Ptr (TValidator a) -> IO (Ptr (TWindow ()))---- | usage: (@validatorSetBellOnError doIt@).-validatorSetBellOnError :: Bool ->  IO ()-validatorSetBellOnError doIt -  = wxValidator_SetBellOnError (toCBool doIt)  -foreign import ccall "wxValidator_SetBellOnError" wxValidator_SetBellOnError :: CBool -> IO ()---- | usage: (@validatorSetWindow obj win@).-validatorSetWindow :: Validator  a -> Window  b ->  IO ()-validatorSetWindow _obj win -  = withObjectRef "validatorSetWindow" _obj $ \cobj__obj -> -    withObjectPtr win $ \cobj_win -> -    wxValidator_SetWindow cobj__obj  cobj_win  -foreign import ccall "wxValidator_SetWindow" wxValidator_SetWindow :: Ptr (TValidator a) -> Ptr (TWindow b) -> IO ()---- | usage: (@validatorTransferFromWindow obj@).-validatorTransferFromWindow :: Validator  a ->  IO Bool-validatorTransferFromWindow _obj -  = withBoolResult $-    withObjectRef "validatorTransferFromWindow" _obj $ \cobj__obj -> -    wxValidator_TransferFromWindow cobj__obj  -foreign import ccall "wxValidator_TransferFromWindow" wxValidator_TransferFromWindow :: Ptr (TValidator a) -> IO CBool---- | usage: (@validatorTransferToWindow obj@).-validatorTransferToWindow :: Validator  a ->  IO Bool-validatorTransferToWindow _obj -  = withBoolResult $-    withObjectRef "validatorTransferToWindow" _obj $ \cobj__obj -> -    wxValidator_TransferToWindow cobj__obj  -foreign import ccall "wxValidator_TransferToWindow" wxValidator_TransferToWindow :: Ptr (TValidator a) -> IO CBool---- | usage: (@validatorValidate obj parent@).-validatorValidate :: Validator  a -> Window  b ->  IO Bool-validatorValidate _obj parent -  = withBoolResult $-    withObjectRef "validatorValidate" _obj $ \cobj__obj -> -    withObjectPtr parent $ \cobj_parent -> -    wxValidator_Validate cobj__obj  cobj_parent  -foreign import ccall "wxValidator_Validate" wxValidator_Validate :: Ptr (TValidator a) -> Ptr (TWindow b) -> IO CBool--{- |  Get the version number of wxWindows as a number composed of the major version times 1000, minor version times 100, and the release number. For example, release 2.1.15 becomes 2115.  -}-versionNumber ::  IO Int-versionNumber -  = withIntResult $-    wx_wxVersionNumber -foreign import ccall "wxVersionNumber" wx_wxVersionNumber :: IO CInt---- | usage: (@windowAddChild obj child@).-windowAddChild :: Window  a -> Window  b ->  IO ()-windowAddChild _obj child -  = withObjectRef "windowAddChild" _obj $ \cobj__obj -> -    withObjectPtr child $ \cobj_child -> -    wxWindow_AddChild cobj__obj  cobj_child  -foreign import ccall "wxWindow_AddChild" wxWindow_AddChild :: Ptr (TWindow a) -> Ptr (TWindow b) -> IO ()---- | usage: (@windowAddConstraintReference obj otherWin@).-windowAddConstraintReference :: Window  a -> Window  b ->  IO ()-windowAddConstraintReference _obj otherWin -  = withObjectRef "windowAddConstraintReference" _obj $ \cobj__obj -> -    withObjectPtr otherWin $ \cobj_otherWin -> -    wxWindow_AddConstraintReference cobj__obj  cobj_otherWin  -foreign import ccall "wxWindow_AddConstraintReference" wxWindow_AddConstraintReference :: Ptr (TWindow a) -> Ptr (TWindow b) -> IO ()---- | usage: (@windowCaptureMouse obj@).-windowCaptureMouse :: Window  a ->  IO ()-windowCaptureMouse _obj -  = withObjectRef "windowCaptureMouse" _obj $ \cobj__obj -> -    wxWindow_CaptureMouse cobj__obj  -foreign import ccall "wxWindow_CaptureMouse" wxWindow_CaptureMouse :: Ptr (TWindow a) -> IO ()---- | usage: (@windowCenter obj direction@).-windowCenter :: Window  a -> Int ->  IO ()-windowCenter _obj direction -  = withObjectRef "windowCenter" _obj $ \cobj__obj -> -    wxWindow_Center cobj__obj  (toCInt direction)  -foreign import ccall "wxWindow_Center" wxWindow_Center :: Ptr (TWindow a) -> CInt -> IO ()---- | usage: (@windowCenterOnParent obj dir@).-windowCenterOnParent :: Window  a -> Int ->  IO ()-windowCenterOnParent _obj dir -  = withObjectRef "windowCenterOnParent" _obj $ \cobj__obj -> -    wxWindow_CenterOnParent cobj__obj  (toCInt dir)  -foreign import ccall "wxWindow_CenterOnParent" wxWindow_CenterOnParent :: Ptr (TWindow a) -> CInt -> IO ()---- | usage: (@windowClearBackground obj@).-windowClearBackground :: Window  a ->  IO ()-windowClearBackground _obj -  = withObjectRef "windowClearBackground" _obj $ \cobj__obj -> -    wxWindow_ClearBackground cobj__obj  -foreign import ccall "wxWindow_ClearBackground" wxWindow_ClearBackground :: Ptr (TWindow a) -> IO ()---- | usage: (@windowClientToScreen obj xy@).-windowClientToScreen :: Window  a -> Point ->  IO (Point)-windowClientToScreen _obj xy -  = withWxPointResult $-    withObjectRef "windowClientToScreen" _obj $ \cobj__obj -> -    wxWindow_ClientToScreen cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  -foreign import ccall "wxWindow_ClientToScreen" wxWindow_ClientToScreen :: Ptr (TWindow a) -> CInt -> CInt -> IO (Ptr (TWxPoint ()))---- | usage: (@windowClose obj force@).-windowClose :: Window  a -> Bool ->  IO Bool-windowClose _obj _force -  = withBoolResult $-    withObjectRef "windowClose" _obj $ \cobj__obj -> -    wxWindow_Close cobj__obj  (toCBool _force)  -foreign import ccall "wxWindow_Close" wxWindow_Close :: Ptr (TWindow a) -> CBool -> IO CBool---- | usage: (@windowConvertDialogToPixels obj@).-windowConvertDialogToPixels :: Window  a ->  IO (Point)-windowConvertDialogToPixels _obj -  = withWxPointResult $-    withObjectRef "windowConvertDialogToPixels" _obj $ \cobj__obj -> -    wxWindow_ConvertDialogToPixels cobj__obj  -foreign import ccall "wxWindow_ConvertDialogToPixels" wxWindow_ConvertDialogToPixels :: Ptr (TWindow a) -> IO (Ptr (TWxPoint ()))---- | usage: (@windowConvertDialogToPixelsEx obj@).-windowConvertDialogToPixelsEx :: Window  a ->  IO (Point)-windowConvertDialogToPixelsEx _obj -  = withWxPointResult $-    withObjectRef "windowConvertDialogToPixelsEx" _obj $ \cobj__obj -> -    wxWindow_ConvertDialogToPixelsEx cobj__obj  -foreign import ccall "wxWindow_ConvertDialogToPixelsEx" wxWindow_ConvertDialogToPixelsEx :: Ptr (TWindow a) -> IO (Ptr (TWxPoint ()))---- | usage: (@windowConvertPixelsToDialog obj@).-windowConvertPixelsToDialog :: Window  a ->  IO (Point)-windowConvertPixelsToDialog _obj -  = withWxPointResult $-    withObjectRef "windowConvertPixelsToDialog" _obj $ \cobj__obj -> -    wxWindow_ConvertPixelsToDialog cobj__obj  -foreign import ccall "wxWindow_ConvertPixelsToDialog" wxWindow_ConvertPixelsToDialog :: Ptr (TWindow a) -> IO (Ptr (TWxPoint ()))---- | usage: (@windowConvertPixelsToDialogEx obj@).-windowConvertPixelsToDialogEx :: Window  a ->  IO (Point)-windowConvertPixelsToDialogEx _obj -  = withWxPointResult $-    withObjectRef "windowConvertPixelsToDialogEx" _obj $ \cobj__obj -> -    wxWindow_ConvertPixelsToDialogEx cobj__obj  -foreign import ccall "wxWindow_ConvertPixelsToDialogEx" wxWindow_ConvertPixelsToDialogEx :: Ptr (TWindow a) -> IO (Ptr (TWxPoint ()))---- | usage: (@windowCreate prt id xywh stl@).-windowCreate :: Window  a -> Id -> Rect -> Style ->  IO (Window  ())-windowCreate _prt _id _xywh _stl -  = withObjectResult $-    withObjectPtr _prt $ \cobj__prt -> -    wxWindow_Create cobj__prt  (toCInt _id)  (toCIntRectX _xywh) (toCIntRectY _xywh)(toCIntRectW _xywh) (toCIntRectH _xywh)  (toCInt _stl)  -foreign import ccall "wxWindow_Create" wxWindow_Create :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TWindow ()))---- | usage: (@windowCreateEventGetWindow obj@).-windowCreateEventGetWindow :: WindowCreateEvent  a ->  IO (Window  ())-windowCreateEventGetWindow _obj -  = withObjectResult $-    withObjectRef "windowCreateEventGetWindow" _obj $ \cobj__obj -> -    wxWindowCreateEvent_GetWindow cobj__obj  -foreign import ccall "wxWindowCreateEvent_GetWindow" wxWindowCreateEvent_GetWindow :: Ptr (TWindowCreateEvent a) -> IO (Ptr (TWindow ()))---- | usage: (@windowDCCreate win@).-windowDCCreate :: Window  a ->  IO (WindowDC  ())-windowDCCreate win -  = withObjectResult $-    withObjectPtr win $ \cobj_win -> -    wxWindowDC_Create cobj_win  -foreign import ccall "wxWindowDC_Create" wxWindowDC_Create :: Ptr (TWindow a) -> IO (Ptr (TWindowDC ()))---- | usage: (@windowDCDelete obj@).-windowDCDelete :: WindowDC  a ->  IO ()-windowDCDelete-  = objectDelete----- | usage: (@windowDeleteRelatedConstraints obj@).-windowDeleteRelatedConstraints :: Window  a ->  IO ()-windowDeleteRelatedConstraints _obj -  = withObjectRef "windowDeleteRelatedConstraints" _obj $ \cobj__obj -> -    wxWindow_DeleteRelatedConstraints cobj__obj  -foreign import ccall "wxWindow_DeleteRelatedConstraints" wxWindow_DeleteRelatedConstraints :: Ptr (TWindow a) -> IO ()---- | usage: (@windowDestroy obj@).-windowDestroy :: Window  a ->  IO Bool-windowDestroy _obj -  = withBoolResult $-    withObjectRef "windowDestroy" _obj $ \cobj__obj -> -    wxWindow_Destroy cobj__obj  -foreign import ccall "wxWindow_Destroy" wxWindow_Destroy :: Ptr (TWindow a) -> IO CBool---- | usage: (@windowDestroyChildren obj@).-windowDestroyChildren :: Window  a ->  IO Bool-windowDestroyChildren _obj -  = withBoolResult $-    withObjectRef "windowDestroyChildren" _obj $ \cobj__obj -> -    wxWindow_DestroyChildren cobj__obj  -foreign import ccall "wxWindow_DestroyChildren" wxWindow_DestroyChildren :: Ptr (TWindow a) -> IO CBool---- | usage: (@windowDestroyEventGetWindow obj@).-windowDestroyEventGetWindow :: WindowDestroyEvent  a ->  IO (Window  ())-windowDestroyEventGetWindow _obj -  = withObjectResult $-    withObjectRef "windowDestroyEventGetWindow" _obj $ \cobj__obj -> -    wxWindowDestroyEvent_GetWindow cobj__obj  -foreign import ccall "wxWindowDestroyEvent_GetWindow" wxWindowDestroyEvent_GetWindow :: Ptr (TWindowDestroyEvent a) -> IO (Ptr (TWindow ()))---- | usage: (@windowDisable obj@).-windowDisable :: Window  a ->  IO Bool-windowDisable _obj -  = withBoolResult $-    withObjectRef "windowDisable" _obj $ \cobj__obj -> -    wxWindow_Disable cobj__obj  -foreign import ccall "wxWindow_Disable" wxWindow_Disable :: Ptr (TWindow a) -> IO CBool---- | usage: (@windowDoPhase obj phase@).-windowDoPhase :: Window  a -> Int ->  IO Int-windowDoPhase _obj phase -  = withIntResult $-    withObjectRef "windowDoPhase" _obj $ \cobj__obj -> -    wxWindow_DoPhase cobj__obj  (toCInt phase)  -foreign import ccall "wxWindow_DoPhase" wxWindow_DoPhase :: Ptr (TWindow a) -> CInt -> IO CInt---- | usage: (@windowEnable obj@).-windowEnable :: Window  a ->  IO Bool-windowEnable _obj -  = withBoolResult $-    withObjectRef "windowEnable" _obj $ \cobj__obj -> -    wxWindow_Enable cobj__obj  -foreign import ccall "wxWindow_Enable" wxWindow_Enable :: Ptr (TWindow a) -> IO CBool---- | usage: (@windowFindFocus obj@).-windowFindFocus :: Window  a ->  IO (Window  ())-windowFindFocus _obj -  = withObjectResult $-    withObjectRef "windowFindFocus" _obj $ \cobj__obj -> -    wxWindow_FindFocus cobj__obj  -foreign import ccall "wxWindow_FindFocus" wxWindow_FindFocus :: Ptr (TWindow a) -> IO (Ptr (TWindow ()))---- | usage: (@windowFindWindow obj name@).-windowFindWindow :: Window  a -> String ->  IO (Window  ())-windowFindWindow _obj name -  = withObjectResult $-    withObjectRef "windowFindWindow" _obj $ \cobj__obj -> -    withStringPtr name $ \cobj_name -> -    wxWindow_FindWindow cobj__obj  cobj_name  -foreign import ccall "wxWindow_FindWindow" wxWindow_FindWindow :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TWindow ()))---- | usage: (@windowFit obj@).-windowFit :: Window  a ->  IO ()-windowFit _obj -  = withObjectRef "windowFit" _obj $ \cobj__obj -> -    wxWindow_Fit cobj__obj  -foreign import ccall "wxWindow_Fit" wxWindow_Fit :: Ptr (TWindow a) -> IO ()---- | usage: (@windowFitInside obj@).-windowFitInside :: Window  a ->  IO ()-windowFitInside _obj -  = withObjectRef "windowFitInside" _obj $ \cobj__obj -> -    wxWindow_FitInside cobj__obj  -foreign import ccall "wxWindow_FitInside" wxWindow_FitInside :: Ptr (TWindow a) -> IO ()---- | usage: (@windowFreeze obj@).-windowFreeze :: Window  a ->  IO ()-windowFreeze _obj -  = withObjectRef "windowFreeze" _obj $ \cobj__obj -> -    wxWindow_Freeze cobj__obj  -foreign import ccall "wxWindow_Freeze" wxWindow_Freeze :: Ptr (TWindow a) -> IO ()---- | usage: (@windowGetAutoLayout obj@).-windowGetAutoLayout :: Window  a ->  IO Int-windowGetAutoLayout _obj -  = withIntResult $-    withObjectRef "windowGetAutoLayout" _obj $ \cobj__obj -> -    wxWindow_GetAutoLayout cobj__obj  -foreign import ccall "wxWindow_GetAutoLayout" wxWindow_GetAutoLayout :: Ptr (TWindow a) -> IO CInt---- | usage: (@windowGetBackgroundColour obj@).-windowGetBackgroundColour :: Window  a ->  IO (Color)-windowGetBackgroundColour _obj -  = withRefColour $ \pref -> -    withObjectRef "windowGetBackgroundColour" _obj $ \cobj__obj -> -    wxWindow_GetBackgroundColour cobj__obj   pref-foreign import ccall "wxWindow_GetBackgroundColour" wxWindow_GetBackgroundColour :: Ptr (TWindow a) -> Ptr (TColour ()) -> IO ()---- | usage: (@windowGetBestSize obj@).-windowGetBestSize :: Window  a ->  IO (Size)-windowGetBestSize _obj -  = withWxSizeResult $-    withObjectRef "windowGetBestSize" _obj $ \cobj__obj -> -    wxWindow_GetBestSize cobj__obj  -foreign import ccall "wxWindow_GetBestSize" wxWindow_GetBestSize :: Ptr (TWindow a) -> IO (Ptr (TWxSize ()))---- | usage: (@windowGetCaret obj@).-windowGetCaret :: Window  a ->  IO (Caret  ())-windowGetCaret _obj -  = withObjectResult $-    withObjectRef "windowGetCaret" _obj $ \cobj__obj -> -    wxWindow_GetCaret cobj__obj  -foreign import ccall "wxWindow_GetCaret" wxWindow_GetCaret :: Ptr (TWindow a) -> IO (Ptr (TCaret ()))---- | usage: (@windowGetCharHeight obj@).-windowGetCharHeight :: Window  a ->  IO Int-windowGetCharHeight _obj -  = withIntResult $-    withObjectRef "windowGetCharHeight" _obj $ \cobj__obj -> -    wxWindow_GetCharHeight cobj__obj  -foreign import ccall "wxWindow_GetCharHeight" wxWindow_GetCharHeight :: Ptr (TWindow a) -> IO CInt---- | usage: (@windowGetCharWidth obj@).-windowGetCharWidth :: Window  a ->  IO Int-windowGetCharWidth _obj -  = withIntResult $-    withObjectRef "windowGetCharWidth" _obj $ \cobj__obj -> -    wxWindow_GetCharWidth cobj__obj  -foreign import ccall "wxWindow_GetCharWidth" wxWindow_GetCharWidth :: Ptr (TWindow a) -> IO CInt---- | usage: (@windowGetChildren obj res cnt@).-windowGetChildren :: Window  a -> Ptr  b -> Int ->  IO Int-windowGetChildren _obj _res _cnt -  = withIntResult $-    withObjectRef "windowGetChildren" _obj $ \cobj__obj -> -    wxWindow_GetChildren cobj__obj  _res  (toCInt _cnt)  -foreign import ccall "wxWindow_GetChildren" wxWindow_GetChildren :: Ptr (TWindow a) -> Ptr  b -> CInt -> IO CInt---- | usage: (@windowGetClientData obj@).-windowGetClientData :: Window  a ->  IO (ClientData  ())-windowGetClientData _obj -  = withObjectResult $-    withObjectRef "windowGetClientData" _obj $ \cobj__obj -> -    wxWindow_GetClientData cobj__obj  -foreign import ccall "wxWindow_GetClientData" wxWindow_GetClientData :: Ptr (TWindow a) -> IO (Ptr (TClientData ()))---- | usage: (@windowGetClientSize obj@).-windowGetClientSize :: Window  a ->  IO (Size)-windowGetClientSize _obj -  = withWxSizeResult $-    withObjectRef "windowGetClientSize" _obj $ \cobj__obj -> -    wxWindow_GetClientSize cobj__obj  -foreign import ccall "wxWindow_GetClientSize" wxWindow_GetClientSize :: Ptr (TWindow a) -> IO (Ptr (TWxSize ()))---- | usage: (@windowGetClientSizeConstraint obj@).-windowGetClientSizeConstraint :: Window  a ->  IO Size-windowGetClientSizeConstraint _obj -  = withSizeResult $ \pw ph -> -    withObjectRef "windowGetClientSizeConstraint" _obj $ \cobj__obj -> -    wxWindow_GetClientSizeConstraint cobj__obj   pw ph-foreign import ccall "wxWindow_GetClientSizeConstraint" wxWindow_GetClientSizeConstraint :: Ptr (TWindow a) -> Ptr CInt -> Ptr CInt -> IO ()---- | usage: (@windowGetConstraints obj@).-windowGetConstraints :: Window  a ->  IO (LayoutConstraints  ())-windowGetConstraints _obj -  = withObjectResult $-    withObjectRef "windowGetConstraints" _obj $ \cobj__obj -> -    wxWindow_GetConstraints cobj__obj  -foreign import ccall "wxWindow_GetConstraints" wxWindow_GetConstraints :: Ptr (TWindow a) -> IO (Ptr (TLayoutConstraints ()))---- | usage: (@windowGetConstraintsInvolvedIn obj@).-windowGetConstraintsInvolvedIn :: Window  a ->  IO (Ptr  ())-windowGetConstraintsInvolvedIn _obj -  = withObjectRef "windowGetConstraintsInvolvedIn" _obj $ \cobj__obj -> -    wxWindow_GetConstraintsInvolvedIn cobj__obj  -foreign import ccall "wxWindow_GetConstraintsInvolvedIn" wxWindow_GetConstraintsInvolvedIn :: Ptr (TWindow a) -> IO (Ptr  ())---- | usage: (@windowGetCursor obj@).-windowGetCursor :: Window  a ->  IO (Cursor  ())-windowGetCursor _obj -  = withManagedCursorResult $-    withObjectRef "windowGetCursor" _obj $ \cobj__obj -> -    wxWindow_GetCursor cobj__obj  -foreign import ccall "wxWindow_GetCursor" wxWindow_GetCursor :: Ptr (TWindow a) -> IO (Ptr (TCursor ()))---- | usage: (@windowGetDropTarget obj@).-windowGetDropTarget :: Window  a ->  IO (DropTarget  ())-windowGetDropTarget _obj -  = withObjectResult $-    withObjectRef "windowGetDropTarget" _obj $ \cobj__obj -> -    wxWindow_GetDropTarget cobj__obj  -foreign import ccall "wxWindow_GetDropTarget" wxWindow_GetDropTarget :: Ptr (TWindow a) -> IO (Ptr (TDropTarget ()))---- | usage: (@windowGetEffectiveMinSize obj@).-windowGetEffectiveMinSize :: Window  a ->  IO (Size)-windowGetEffectiveMinSize _obj -  = withWxSizeResult $-    withObjectRef "windowGetEffectiveMinSize" _obj $ \cobj__obj -> -    wxWindow_GetEffectiveMinSize cobj__obj  -foreign import ccall "wxWindow_GetEffectiveMinSize" wxWindow_GetEffectiveMinSize :: Ptr (TWindow a) -> IO (Ptr (TWxSize ()))---- | usage: (@windowGetEventHandler obj@).-windowGetEventHandler :: Window  a ->  IO (EvtHandler  ())-windowGetEventHandler _obj -  = withObjectResult $-    withObjectRef "windowGetEventHandler" _obj $ \cobj__obj -> -    wxWindow_GetEventHandler cobj__obj  -foreign import ccall "wxWindow_GetEventHandler" wxWindow_GetEventHandler :: Ptr (TWindow a) -> IO (Ptr (TEvtHandler ()))---- | usage: (@windowGetFont obj@).-windowGetFont :: Window  a ->  IO (Font  ())-windowGetFont _obj -  = withRefFont $ \pref -> -    withObjectRef "windowGetFont" _obj $ \cobj__obj -> -    wxWindow_GetFont cobj__obj   pref-foreign import ccall "wxWindow_GetFont" wxWindow_GetFont :: Ptr (TWindow a) -> Ptr (TFont ()) -> IO ()---- | usage: (@windowGetForegroundColour obj@).-windowGetForegroundColour :: Window  a ->  IO (Color)-windowGetForegroundColour _obj -  = withRefColour $ \pref -> -    withObjectRef "windowGetForegroundColour" _obj $ \cobj__obj -> -    wxWindow_GetForegroundColour cobj__obj   pref-foreign import ccall "wxWindow_GetForegroundColour" wxWindow_GetForegroundColour :: Ptr (TWindow a) -> Ptr (TColour ()) -> IO ()---- | usage: (@windowGetHandle obj@).-windowGetHandle :: Window  a ->  IO (Ptr  ())-windowGetHandle _obj -  = withObjectRef "windowGetHandle" _obj $ \cobj__obj -> -    wxWindow_GetHandle cobj__obj  -foreign import ccall "wxWindow_GetHandle" wxWindow_GetHandle :: Ptr (TWindow a) -> IO (Ptr  ())---- | usage: (@windowGetId obj@).-windowGetId :: Window  a ->  IO Int-windowGetId _obj -  = withIntResult $-    withObjectRef "windowGetId" _obj $ \cobj__obj -> -    wxWindow_GetId cobj__obj  -foreign import ccall "wxWindow_GetId" wxWindow_GetId :: Ptr (TWindow a) -> IO CInt---- | usage: (@windowGetLabel obj@).-windowGetLabel :: Window  a ->  IO (String)-windowGetLabel _obj -  = withManagedStringResult $-    withObjectRef "windowGetLabel" _obj $ \cobj__obj -> -    wxWindow_GetLabel cobj__obj  -foreign import ccall "wxWindow_GetLabel" wxWindow_GetLabel :: Ptr (TWindow a) -> IO (Ptr (TWxString ()))---- | usage: (@windowGetLabelEmpty obj@).-windowGetLabelEmpty :: Window  a ->  IO Int-windowGetLabelEmpty _obj -  = withIntResult $-    withObjectRef "windowGetLabelEmpty" _obj $ \cobj__obj -> -    wxWindow_GetLabelEmpty cobj__obj  -foreign import ccall "wxWindow_GetLabelEmpty" wxWindow_GetLabelEmpty :: Ptr (TWindow a) -> IO CInt---- | usage: (@windowGetMaxHeight obj@).-windowGetMaxHeight :: Window  a ->  IO Int-windowGetMaxHeight _obj -  = withIntResult $-    withObjectRef "windowGetMaxHeight" _obj $ \cobj__obj -> -    wxWindow_GetMaxHeight cobj__obj  -foreign import ccall "wxWindow_GetMaxHeight" wxWindow_GetMaxHeight :: Ptr (TWindow a) -> IO CInt---- | usage: (@windowGetMaxWidth obj@).-windowGetMaxWidth :: Window  a ->  IO Int-windowGetMaxWidth _obj -  = withIntResult $-    withObjectRef "windowGetMaxWidth" _obj $ \cobj__obj -> -    wxWindow_GetMaxWidth cobj__obj  -foreign import ccall "wxWindow_GetMaxWidth" wxWindow_GetMaxWidth :: Ptr (TWindow a) -> IO CInt---- | usage: (@windowGetMinHeight obj@).-windowGetMinHeight :: Window  a ->  IO Int-windowGetMinHeight _obj -  = withIntResult $-    withObjectRef "windowGetMinHeight" _obj $ \cobj__obj -> -    wxWindow_GetMinHeight cobj__obj  -foreign import ccall "wxWindow_GetMinHeight" wxWindow_GetMinHeight :: Ptr (TWindow a) -> IO CInt---- | usage: (@windowGetMinWidth obj@).-windowGetMinWidth :: Window  a ->  IO Int-windowGetMinWidth _obj -  = withIntResult $-    withObjectRef "windowGetMinWidth" _obj $ \cobj__obj -> -    wxWindow_GetMinWidth cobj__obj  -foreign import ccall "wxWindow_GetMinWidth" wxWindow_GetMinWidth :: Ptr (TWindow a) -> IO CInt---- | usage: (@windowGetName obj@).-windowGetName :: Window  a ->  IO (String)-windowGetName _obj -  = withManagedStringResult $-    withObjectRef "windowGetName" _obj $ \cobj__obj -> -    wxWindow_GetName cobj__obj  -foreign import ccall "wxWindow_GetName" wxWindow_GetName :: Ptr (TWindow a) -> IO (Ptr (TWxString ()))---- | usage: (@windowGetParent obj@).-windowGetParent :: Window  a ->  IO (Window  ())-windowGetParent _obj -  = withObjectResult $-    withObjectRef "windowGetParent" _obj $ \cobj__obj -> -    wxWindow_GetParent cobj__obj  -foreign import ccall "wxWindow_GetParent" wxWindow_GetParent :: Ptr (TWindow a) -> IO (Ptr (TWindow ()))---- | usage: (@windowGetPosition obj@).-windowGetPosition :: Window  a ->  IO (Point)-windowGetPosition _obj -  = withWxPointResult $-    withObjectRef "windowGetPosition" _obj $ \cobj__obj -> -    wxWindow_GetPosition cobj__obj  -foreign import ccall "wxWindow_GetPosition" wxWindow_GetPosition :: Ptr (TWindow a) -> IO (Ptr (TWxPoint ()))---- | usage: (@windowGetPositionConstraint obj@).-windowGetPositionConstraint :: Window  a ->  IO Point-windowGetPositionConstraint _obj -  = withPointResult $ \px py -> -    withObjectRef "windowGetPositionConstraint" _obj $ \cobj__obj -> -    wxWindow_GetPositionConstraint cobj__obj   px py-foreign import ccall "wxWindow_GetPositionConstraint" wxWindow_GetPositionConstraint :: Ptr (TWindow a) -> Ptr CInt -> Ptr CInt -> IO ()---- | usage: (@windowGetRect obj@).-windowGetRect :: Window  a ->  IO (Rect)-windowGetRect _obj -  = withWxRectResult $-    withObjectRef "windowGetRect" _obj $ \cobj__obj -> -    wxWindow_GetRect cobj__obj  -foreign import ccall "wxWindow_GetRect" wxWindow_GetRect :: Ptr (TWindow a) -> IO (Ptr (TWxRect ()))---- | usage: (@windowGetScrollPos obj orient@).-windowGetScrollPos :: Window  a -> Int ->  IO Int-windowGetScrollPos _obj orient -  = withIntResult $-    withObjectRef "windowGetScrollPos" _obj $ \cobj__obj -> -    wxWindow_GetScrollPos cobj__obj  (toCInt orient)  -foreign import ccall "wxWindow_GetScrollPos" wxWindow_GetScrollPos :: Ptr (TWindow a) -> CInt -> IO CInt---- | usage: (@windowGetScrollRange obj orient@).-windowGetScrollRange :: Window  a -> Int ->  IO Int-windowGetScrollRange _obj orient -  = withIntResult $-    withObjectRef "windowGetScrollRange" _obj $ \cobj__obj -> -    wxWindow_GetScrollRange cobj__obj  (toCInt orient)  -foreign import ccall "wxWindow_GetScrollRange" wxWindow_GetScrollRange :: Ptr (TWindow a) -> CInt -> IO CInt---- | usage: (@windowGetScrollThumb obj orient@).-windowGetScrollThumb :: Window  a -> Int ->  IO Int-windowGetScrollThumb _obj orient -  = withIntResult $-    withObjectRef "windowGetScrollThumb" _obj $ \cobj__obj -> -    wxWindow_GetScrollThumb cobj__obj  (toCInt orient)  -foreign import ccall "wxWindow_GetScrollThumb" wxWindow_GetScrollThumb :: Ptr (TWindow a) -> CInt -> IO CInt---- | usage: (@windowGetSize obj@).-windowGetSize :: Window  a ->  IO (Size)-windowGetSize _obj -  = withWxSizeResult $-    withObjectRef "windowGetSize" _obj $ \cobj__obj -> -    wxWindow_GetSize cobj__obj  -foreign import ccall "wxWindow_GetSize" wxWindow_GetSize :: Ptr (TWindow a) -> IO (Ptr (TWxSize ()))---- | usage: (@windowGetSizeConstraint obj@).-windowGetSizeConstraint :: Window  a ->  IO Size-windowGetSizeConstraint _obj -  = withSizeResult $ \pw ph -> -    withObjectRef "windowGetSizeConstraint" _obj $ \cobj__obj -> -    wxWindow_GetSizeConstraint cobj__obj   pw ph-foreign import ccall "wxWindow_GetSizeConstraint" wxWindow_GetSizeConstraint :: Ptr (TWindow a) -> Ptr CInt -> Ptr CInt -> IO ()---- | usage: (@windowGetSizer obj@).-windowGetSizer :: Window  a ->  IO (Sizer  ())-windowGetSizer _obj -  = withObjectResult $-    withObjectRef "windowGetSizer" _obj $ \cobj__obj -> -    wxWindow_GetSizer cobj__obj  -foreign import ccall "wxWindow_GetSizer" wxWindow_GetSizer :: Ptr (TWindow a) -> IO (Ptr (TSizer ()))---- | usage: (@windowGetTextExtent obj string x y descent externalLeading theFont@).-windowGetTextExtent :: Window  a -> String -> Ptr CInt -> Ptr CInt -> Ptr CInt -> Ptr CInt -> Font  g ->  IO ()-windowGetTextExtent _obj string x y descent externalLeading theFont -  = withObjectRef "windowGetTextExtent" _obj $ \cobj__obj -> -    withStringPtr string $ \cobj_string -> -    withObjectPtr theFont $ \cobj_theFont -> -    wxWindow_GetTextExtent cobj__obj  cobj_string  x  y  descent  externalLeading  cobj_theFont  -foreign import ccall "wxWindow_GetTextExtent" wxWindow_GetTextExtent :: Ptr (TWindow a) -> Ptr (TWxString b) -> Ptr CInt -> Ptr CInt -> Ptr CInt -> Ptr CInt -> Ptr (TFont g) -> IO ()---- | usage: (@windowGetToolTip obj@).-windowGetToolTip :: Window  a ->  IO (String)-windowGetToolTip _obj -  = withManagedStringResult $-    withObjectRef "windowGetToolTip" _obj $ \cobj__obj -> -    wxWindow_GetToolTip cobj__obj  -foreign import ccall "wxWindow_GetToolTip" wxWindow_GetToolTip :: Ptr (TWindow a) -> IO (Ptr (TWxString ()))---- | usage: (@windowGetUpdateRegion obj@).-windowGetUpdateRegion :: Window  a ->  IO (Region  ())-windowGetUpdateRegion _obj -  = withObjectResult $-    withObjectRef "windowGetUpdateRegion" _obj $ \cobj__obj -> -    wxWindow_GetUpdateRegion cobj__obj  -foreign import ccall "wxWindow_GetUpdateRegion" wxWindow_GetUpdateRegion :: Ptr (TWindow a) -> IO (Ptr (TRegion ()))---- | usage: (@windowGetValidator obj@).-windowGetValidator :: Window  a ->  IO (Validator  ())-windowGetValidator _obj -  = withObjectResult $-    withObjectRef "windowGetValidator" _obj $ \cobj__obj -> -    wxWindow_GetValidator cobj__obj  -foreign import ccall "wxWindow_GetValidator" wxWindow_GetValidator :: Ptr (TWindow a) -> IO (Ptr (TValidator ()))---- | usage: (@windowGetVirtualSize obj@).-windowGetVirtualSize :: Window  a ->  IO (Size)-windowGetVirtualSize _obj -  = withWxSizeResult $-    withObjectRef "windowGetVirtualSize" _obj $ \cobj__obj -> -    wxWindow_GetVirtualSize cobj__obj  -foreign import ccall "wxWindow_GetVirtualSize" wxWindow_GetVirtualSize :: Ptr (TWindow a) -> IO (Ptr (TWxSize ()))---- | usage: (@windowGetWindowStyleFlag obj@).-windowGetWindowStyleFlag :: Window  a ->  IO Int-windowGetWindowStyleFlag _obj -  = withIntResult $-    withObjectRef "windowGetWindowStyleFlag" _obj $ \cobj__obj -> -    wxWindow_GetWindowStyleFlag cobj__obj  -foreign import ccall "wxWindow_GetWindowStyleFlag" wxWindow_GetWindowStyleFlag :: Ptr (TWindow a) -> IO CInt---- | usage: (@windowHasFlag obj flag@).-windowHasFlag :: Window  a -> Int ->  IO Bool-windowHasFlag _obj flag -  = withBoolResult $-    withObjectRef "windowHasFlag" _obj $ \cobj__obj -> -    wxWindow_HasFlag cobj__obj  (toCInt flag)  -foreign import ccall "wxWindow_HasFlag" wxWindow_HasFlag :: Ptr (TWindow a) -> CInt -> IO CBool---- | usage: (@windowHide obj@).-windowHide :: Window  a ->  IO Bool-windowHide _obj -  = withBoolResult $-    withObjectRef "windowHide" _obj $ \cobj__obj -> -    wxWindow_Hide cobj__obj  -foreign import ccall "wxWindow_Hide" wxWindow_Hide :: Ptr (TWindow a) -> IO CBool---- | usage: (@windowInitDialog obj@).-windowInitDialog :: Window  a ->  IO ()-windowInitDialog _obj -  = withObjectRef "windowInitDialog" _obj $ \cobj__obj -> -    wxWindow_InitDialog cobj__obj  -foreign import ccall "wxWindow_InitDialog" wxWindow_InitDialog :: Ptr (TWindow a) -> IO ()---- | usage: (@windowIsBeingDeleted obj@).-windowIsBeingDeleted :: Window  a ->  IO Bool-windowIsBeingDeleted _obj -  = withBoolResult $-    withObjectRef "windowIsBeingDeleted" _obj $ \cobj__obj -> -    wxWindow_IsBeingDeleted cobj__obj  -foreign import ccall "wxWindow_IsBeingDeleted" wxWindow_IsBeingDeleted :: Ptr (TWindow a) -> IO CBool---- | usage: (@windowIsEnabled obj@).-windowIsEnabled :: Window  a ->  IO Bool-windowIsEnabled _obj -  = withBoolResult $-    withObjectRef "windowIsEnabled" _obj $ \cobj__obj -> -    wxWindow_IsEnabled cobj__obj  -foreign import ccall "wxWindow_IsEnabled" wxWindow_IsEnabled :: Ptr (TWindow a) -> IO CBool---- | usage: (@windowIsExposed obj xywh@).-windowIsExposed :: Window  a -> Rect ->  IO Bool-windowIsExposed _obj xywh -  = withBoolResult $-    withObjectRef "windowIsExposed" _obj $ \cobj__obj -> -    wxWindow_IsExposed cobj__obj  (toCIntRectX xywh) (toCIntRectY xywh)(toCIntRectW xywh) (toCIntRectH xywh)  -foreign import ccall "wxWindow_IsExposed" wxWindow_IsExposed :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> IO CBool---- | usage: (@windowIsShown obj@).-windowIsShown :: Window  a ->  IO Bool-windowIsShown _obj -  = withBoolResult $-    withObjectRef "windowIsShown" _obj $ \cobj__obj -> -    wxWindow_IsShown cobj__obj  -foreign import ccall "wxWindow_IsShown" wxWindow_IsShown :: Ptr (TWindow a) -> IO CBool---- | usage: (@windowIsTopLevel obj@).-windowIsTopLevel :: Window  a ->  IO Bool-windowIsTopLevel _obj -  = withBoolResult $-    withObjectRef "windowIsTopLevel" _obj $ \cobj__obj -> -    wxWindow_IsTopLevel cobj__obj  -foreign import ccall "wxWindow_IsTopLevel" wxWindow_IsTopLevel :: Ptr (TWindow a) -> IO CBool---- | usage: (@windowLayout obj@).-windowLayout :: Window  a ->  IO Int-windowLayout _obj -  = withIntResult $-    withObjectRef "windowLayout" _obj $ \cobj__obj -> -    wxWindow_Layout cobj__obj  -foreign import ccall "wxWindow_Layout" wxWindow_Layout :: Ptr (TWindow a) -> IO CInt---- | usage: (@windowLayoutPhase1 obj noChanges@).-windowLayoutPhase1 :: Window  a -> Ptr CInt ->  IO Int-windowLayoutPhase1 _obj noChanges -  = withIntResult $-    withObjectRef "windowLayoutPhase1" _obj $ \cobj__obj -> -    wxWindow_LayoutPhase1 cobj__obj  noChanges  -foreign import ccall "wxWindow_LayoutPhase1" wxWindow_LayoutPhase1 :: Ptr (TWindow a) -> Ptr CInt -> IO CInt---- | usage: (@windowLayoutPhase2 obj noChanges@).-windowLayoutPhase2 :: Window  a -> Ptr CInt ->  IO Int-windowLayoutPhase2 _obj noChanges -  = withIntResult $-    withObjectRef "windowLayoutPhase2" _obj $ \cobj__obj -> -    wxWindow_LayoutPhase2 cobj__obj  noChanges  -foreign import ccall "wxWindow_LayoutPhase2" wxWindow_LayoutPhase2 :: Ptr (TWindow a) -> Ptr CInt -> IO CInt---- | usage: (@windowLower obj@).-windowLower :: Window  a ->  IO ()-windowLower _obj -  = withObjectRef "windowLower" _obj $ \cobj__obj -> -    wxWindow_Lower cobj__obj  -foreign import ccall "wxWindow_Lower" wxWindow_Lower :: Ptr (TWindow a) -> IO ()---- | usage: (@windowMakeModal obj modal@).-windowMakeModal :: Window  a -> Bool ->  IO ()-windowMakeModal _obj modal -  = withObjectRef "windowMakeModal" _obj $ \cobj__obj -> -    wxWindow_MakeModal cobj__obj  (toCBool modal)  -foreign import ccall "wxWindow_MakeModal" wxWindow_MakeModal :: Ptr (TWindow a) -> CBool -> IO ()---- | usage: (@windowMove obj xy@).-windowMove :: Window  a -> Point ->  IO ()-windowMove _obj xy -  = withObjectRef "windowMove" _obj $ \cobj__obj -> -    wxWindow_Move cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  -foreign import ccall "wxWindow_Move" wxWindow_Move :: Ptr (TWindow a) -> CInt -> CInt -> IO ()---- | usage: (@windowMoveConstraint obj xy@).-windowMoveConstraint :: Window  a -> Point ->  IO ()-windowMoveConstraint _obj xy -  = withObjectRef "windowMoveConstraint" _obj $ \cobj__obj -> -    wxWindow_MoveConstraint cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  -foreign import ccall "wxWindow_MoveConstraint" wxWindow_MoveConstraint :: Ptr (TWindow a) -> CInt -> CInt -> IO ()---- | usage: (@windowPopEventHandler obj deleteHandler@).-windowPopEventHandler :: Window  a -> Bool ->  IO (Ptr  ())-windowPopEventHandler _obj deleteHandler -  = withObjectRef "windowPopEventHandler" _obj $ \cobj__obj -> -    wxWindow_PopEventHandler cobj__obj  (toCBool deleteHandler)  -foreign import ccall "wxWindow_PopEventHandler" wxWindow_PopEventHandler :: Ptr (TWindow a) -> CBool -> IO (Ptr  ())---- | usage: (@windowPopupMenu obj menu xy@).-windowPopupMenu :: Window  a -> Menu  b -> Point ->  IO Int-windowPopupMenu _obj menu xy -  = withIntResult $-    withObjectRef "windowPopupMenu" _obj $ \cobj__obj -> -    withObjectPtr menu $ \cobj_menu -> -    wxWindow_PopupMenu cobj__obj  cobj_menu  (toCIntPointX xy) (toCIntPointY xy)  -foreign import ccall "wxWindow_PopupMenu" wxWindow_PopupMenu :: Ptr (TWindow a) -> Ptr (TMenu b) -> CInt -> CInt -> IO CInt---- | usage: (@windowPrepareDC obj dc@).-windowPrepareDC :: Window  a -> DC  b ->  IO ()-windowPrepareDC _obj dc -  = withObjectRef "windowPrepareDC" _obj $ \cobj__obj -> -    withObjectPtr dc $ \cobj_dc -> -    wxWindow_PrepareDC cobj__obj  cobj_dc  -foreign import ccall "wxWindow_PrepareDC" wxWindow_PrepareDC :: Ptr (TWindow a) -> Ptr (TDC b) -> IO ()---- | usage: (@windowPushEventHandler obj handler@).-windowPushEventHandler :: Window  a -> EvtHandler  b ->  IO ()-windowPushEventHandler _obj handler -  = withObjectRef "windowPushEventHandler" _obj $ \cobj__obj -> -    withObjectPtr handler $ \cobj_handler -> -    wxWindow_PushEventHandler cobj__obj  cobj_handler  -foreign import ccall "wxWindow_PushEventHandler" wxWindow_PushEventHandler :: Ptr (TWindow a) -> Ptr (TEvtHandler b) -> IO ()---- | usage: (@windowRaise obj@).-windowRaise :: Window  a ->  IO ()-windowRaise _obj -  = withObjectRef "windowRaise" _obj $ \cobj__obj -> -    wxWindow_Raise cobj__obj  -foreign import ccall "wxWindow_Raise" wxWindow_Raise :: Ptr (TWindow a) -> IO ()---- | usage: (@windowRefresh obj eraseBackground@).-windowRefresh :: Window  a -> Bool ->  IO ()-windowRefresh _obj eraseBackground -  = withObjectRef "windowRefresh" _obj $ \cobj__obj -> -    wxWindow_Refresh cobj__obj  (toCBool eraseBackground)  -foreign import ccall "wxWindow_Refresh" wxWindow_Refresh :: Ptr (TWindow a) -> CBool -> IO ()---- | usage: (@windowRefreshRect obj eraseBackground xywh@).-windowRefreshRect :: Window  a -> Bool -> Rect ->  IO ()-windowRefreshRect _obj eraseBackground xywh -  = withObjectRef "windowRefreshRect" _obj $ \cobj__obj -> -    wxWindow_RefreshRect cobj__obj  (toCBool eraseBackground)  (toCIntRectX xywh) (toCIntRectY xywh)(toCIntRectW xywh) (toCIntRectH xywh)  -foreign import ccall "wxWindow_RefreshRect" wxWindow_RefreshRect :: Ptr (TWindow a) -> CBool -> CInt -> CInt -> CInt -> CInt -> IO ()---- | usage: (@windowReleaseMouse obj@).-windowReleaseMouse :: Window  a ->  IO ()-windowReleaseMouse _obj -  = withObjectRef "windowReleaseMouse" _obj $ \cobj__obj -> -    wxWindow_ReleaseMouse cobj__obj  -foreign import ccall "wxWindow_ReleaseMouse" wxWindow_ReleaseMouse :: Ptr (TWindow a) -> IO ()---- | usage: (@windowRemoveChild obj child@).-windowRemoveChild :: Window  a -> Window  b ->  IO ()-windowRemoveChild _obj child -  = withObjectRef "windowRemoveChild" _obj $ \cobj__obj -> -    withObjectPtr child $ \cobj_child -> -    wxWindow_RemoveChild cobj__obj  cobj_child  -foreign import ccall "wxWindow_RemoveChild" wxWindow_RemoveChild :: Ptr (TWindow a) -> Ptr (TWindow b) -> IO ()---- | usage: (@windowRemoveConstraintReference obj otherWin@).-windowRemoveConstraintReference :: Window  a -> Window  b ->  IO ()-windowRemoveConstraintReference _obj otherWin -  = withObjectRef "windowRemoveConstraintReference" _obj $ \cobj__obj -> -    withObjectPtr otherWin $ \cobj_otherWin -> -    wxWindow_RemoveConstraintReference cobj__obj  cobj_otherWin  -foreign import ccall "wxWindow_RemoveConstraintReference" wxWindow_RemoveConstraintReference :: Ptr (TWindow a) -> Ptr (TWindow b) -> IO ()---- | usage: (@windowReparent obj par@).-windowReparent :: Window  a -> Window  b ->  IO Int-windowReparent _obj _par -  = withIntResult $-    withObjectRef "windowReparent" _obj $ \cobj__obj -> -    withObjectPtr _par $ \cobj__par -> -    wxWindow_Reparent cobj__obj  cobj__par  -foreign import ccall "wxWindow_Reparent" wxWindow_Reparent :: Ptr (TWindow a) -> Ptr (TWindow b) -> IO CInt---- | usage: (@windowResetConstraints obj@).-windowResetConstraints :: Window  a ->  IO ()-windowResetConstraints _obj -  = withObjectRef "windowResetConstraints" _obj $ \cobj__obj -> -    wxWindow_ResetConstraints cobj__obj  -foreign import ccall "wxWindow_ResetConstraints" wxWindow_ResetConstraints :: Ptr (TWindow a) -> IO ()---- | usage: (@windowScreenToClient obj xy@).-windowScreenToClient :: Window  a -> Point ->  IO (Point)-windowScreenToClient _obj xy -  = withWxPointResult $-    withObjectRef "windowScreenToClient" _obj $ \cobj__obj -> -    wxWindow_ScreenToClient cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  -foreign import ccall "wxWindow_ScreenToClient" wxWindow_ScreenToClient :: Ptr (TWindow a) -> CInt -> CInt -> IO (Ptr (TWxPoint ()))---- | usage: (@windowScreenToClient2 obj xy@).-windowScreenToClient2 :: Window  a -> Point ->  IO (Point)-windowScreenToClient2 _obj xy -  = withWxPointResult $-    withObjectRef "windowScreenToClient2" _obj $ \cobj__obj -> -    wxWindow_ScreenToClient2 cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  -foreign import ccall "wxWindow_ScreenToClient2" wxWindow_ScreenToClient2 :: Ptr (TWindow a) -> CInt -> CInt -> IO (Ptr (TWxPoint ()))---- | usage: (@windowScrollWindow obj dxdy@).-windowScrollWindow :: Window  a -> Vector ->  IO ()-windowScrollWindow _obj dxdy -  = withObjectRef "windowScrollWindow" _obj $ \cobj__obj -> -    wxWindow_ScrollWindow cobj__obj  (toCIntVectorX dxdy) (toCIntVectorY dxdy)  -foreign import ccall "wxWindow_ScrollWindow" wxWindow_ScrollWindow :: Ptr (TWindow a) -> CInt -> CInt -> IO ()---- | usage: (@windowScrollWindowRect obj dxdy xywh@).-windowScrollWindowRect :: Window  a -> Vector -> Rect ->  IO ()-windowScrollWindowRect _obj dxdy xywh -  = withObjectRef "windowScrollWindowRect" _obj $ \cobj__obj -> -    wxWindow_ScrollWindowRect cobj__obj  (toCIntVectorX dxdy) (toCIntVectorY dxdy)  (toCIntRectX xywh) (toCIntRectY xywh)(toCIntRectW xywh) (toCIntRectH xywh)  -foreign import ccall "wxWindow_ScrollWindowRect" wxWindow_ScrollWindowRect :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO ()---- | usage: (@windowSetAcceleratorTable obj accel@).-windowSetAcceleratorTable :: Window  a -> AcceleratorTable  b ->  IO ()-windowSetAcceleratorTable _obj accel -  = withObjectRef "windowSetAcceleratorTable" _obj $ \cobj__obj -> -    withObjectPtr accel $ \cobj_accel -> -    wxWindow_SetAcceleratorTable cobj__obj  cobj_accel  -foreign import ccall "wxWindow_SetAcceleratorTable" wxWindow_SetAcceleratorTable :: Ptr (TWindow a) -> Ptr (TAcceleratorTable b) -> IO ()---- | usage: (@windowSetAutoLayout obj autoLayout@).-windowSetAutoLayout :: Window  a -> Bool ->  IO ()-windowSetAutoLayout _obj autoLayout -  = withObjectRef "windowSetAutoLayout" _obj $ \cobj__obj -> -    wxWindow_SetAutoLayout cobj__obj  (toCBool autoLayout)  -foreign import ccall "wxWindow_SetAutoLayout" wxWindow_SetAutoLayout :: Ptr (TWindow a) -> CBool -> IO ()---- | usage: (@windowSetBackgroundColour obj colour@).-windowSetBackgroundColour :: Window  a -> Color ->  IO Int-windowSetBackgroundColour _obj colour -  = withIntResult $-    withObjectRef "windowSetBackgroundColour" _obj $ \cobj__obj -> -    withColourPtr colour $ \cobj_colour -> -    wxWindow_SetBackgroundColour cobj__obj  cobj_colour  -foreign import ccall "wxWindow_SetBackgroundColour" wxWindow_SetBackgroundColour :: Ptr (TWindow a) -> Ptr (TColour b) -> IO CInt---- | usage: (@windowSetCaret obj caret@).-windowSetCaret :: Window  a -> Caret  b ->  IO ()-windowSetCaret _obj caret -  = withObjectRef "windowSetCaret" _obj $ \cobj__obj -> -    withObjectPtr caret $ \cobj_caret -> -    wxWindow_SetCaret cobj__obj  cobj_caret  -foreign import ccall "wxWindow_SetCaret" wxWindow_SetCaret :: Ptr (TWindow a) -> Ptr (TCaret b) -> IO ()---- | usage: (@windowSetClientData obj wxdata@).-windowSetClientData :: Window  a -> ClientData  b ->  IO ()-windowSetClientData _obj wxdata -  = withObjectRef "windowSetClientData" _obj $ \cobj__obj -> -    withObjectPtr wxdata $ \cobj_wxdata -> -    wxWindow_SetClientData cobj__obj  cobj_wxdata  -foreign import ccall "wxWindow_SetClientData" wxWindow_SetClientData :: Ptr (TWindow a) -> Ptr (TClientData b) -> IO ()---- | usage: (@windowSetClientObject obj wxdata@).-windowSetClientObject :: Window  a -> ClientData  b ->  IO ()-windowSetClientObject _obj wxdata -  = withObjectRef "windowSetClientObject" _obj $ \cobj__obj -> -    withObjectPtr wxdata $ \cobj_wxdata -> -    wxWindow_SetClientObject cobj__obj  cobj_wxdata  -foreign import ccall "wxWindow_SetClientObject" wxWindow_SetClientObject :: Ptr (TWindow a) -> Ptr (TClientData b) -> IO ()---- | usage: (@windowSetClientSize obj widthheight@).-windowSetClientSize :: Window  a -> Size ->  IO ()-windowSetClientSize _obj widthheight -  = withObjectRef "windowSetClientSize" _obj $ \cobj__obj -> -    wxWindow_SetClientSize cobj__obj  (toCIntSizeW widthheight) (toCIntSizeH widthheight)  -foreign import ccall "wxWindow_SetClientSize" wxWindow_SetClientSize :: Ptr (TWindow a) -> CInt -> CInt -> IO ()---- | usage: (@windowSetConstraintSizes obj recurse@).-windowSetConstraintSizes :: Window  a -> Int ->  IO ()-windowSetConstraintSizes _obj recurse -  = withObjectRef "windowSetConstraintSizes" _obj $ \cobj__obj -> -    wxWindow_SetConstraintSizes cobj__obj  (toCInt recurse)  -foreign import ccall "wxWindow_SetConstraintSizes" wxWindow_SetConstraintSizes :: Ptr (TWindow a) -> CInt -> IO ()---- | usage: (@windowSetConstraints obj constraints@).-windowSetConstraints :: Window  a -> LayoutConstraints  b ->  IO ()-windowSetConstraints _obj constraints -  = withObjectRef "windowSetConstraints" _obj $ \cobj__obj -> -    withObjectPtr constraints $ \cobj_constraints -> -    wxWindow_SetConstraints cobj__obj  cobj_constraints  -foreign import ccall "wxWindow_SetConstraints" wxWindow_SetConstraints :: Ptr (TWindow a) -> Ptr (TLayoutConstraints b) -> IO ()---- | usage: (@windowSetCursor obj cursor@).-windowSetCursor :: Window  a -> Cursor  b ->  IO Int-windowSetCursor _obj cursor -  = withIntResult $-    withObjectRef "windowSetCursor" _obj $ \cobj__obj -> -    withObjectPtr cursor $ \cobj_cursor -> -    wxWindow_SetCursor cobj__obj  cobj_cursor  -foreign import ccall "wxWindow_SetCursor" wxWindow_SetCursor :: Ptr (TWindow a) -> Ptr (TCursor b) -> IO CInt---- | usage: (@windowSetDropTarget obj dropTarget@).-windowSetDropTarget :: Window  a -> DropTarget  b ->  IO ()-windowSetDropTarget _obj dropTarget -  = withObjectRef "windowSetDropTarget" _obj $ \cobj__obj -> -    withObjectPtr dropTarget $ \cobj_dropTarget -> -    wxWindow_SetDropTarget cobj__obj  cobj_dropTarget  -foreign import ccall "wxWindow_SetDropTarget" wxWindow_SetDropTarget :: Ptr (TWindow a) -> Ptr (TDropTarget b) -> IO ()---- | usage: (@windowSetExtraStyle obj exStyle@).-windowSetExtraStyle :: Window  a -> Int ->  IO ()-windowSetExtraStyle _obj exStyle -  = withObjectRef "windowSetExtraStyle" _obj $ \cobj__obj -> -    wxWindow_SetExtraStyle cobj__obj  (toCInt exStyle)  -foreign import ccall "wxWindow_SetExtraStyle" wxWindow_SetExtraStyle :: Ptr (TWindow a) -> CInt -> IO ()---- | usage: (@windowSetFocus obj@).-windowSetFocus :: Window  a ->  IO ()-windowSetFocus _obj -  = withObjectRef "windowSetFocus" _obj $ \cobj__obj -> -    wxWindow_SetFocus cobj__obj  -foreign import ccall "wxWindow_SetFocus" wxWindow_SetFocus :: Ptr (TWindow a) -> IO ()---- | usage: (@windowSetFont obj font@).-windowSetFont :: Window  a -> Font  b ->  IO Int-windowSetFont _obj font -  = withIntResult $-    withObjectRef "windowSetFont" _obj $ \cobj__obj -> -    withObjectPtr font $ \cobj_font -> -    wxWindow_SetFont cobj__obj  cobj_font  -foreign import ccall "wxWindow_SetFont" wxWindow_SetFont :: Ptr (TWindow a) -> Ptr (TFont b) -> IO CInt---- | usage: (@windowSetForegroundColour obj colour@).-windowSetForegroundColour :: Window  a -> Color ->  IO Int-windowSetForegroundColour _obj colour -  = withIntResult $-    withObjectRef "windowSetForegroundColour" _obj $ \cobj__obj -> -    withColourPtr colour $ \cobj_colour -> -    wxWindow_SetForegroundColour cobj__obj  cobj_colour  -foreign import ccall "wxWindow_SetForegroundColour" wxWindow_SetForegroundColour :: Ptr (TWindow a) -> Ptr (TColour b) -> IO CInt---- | usage: (@windowSetId obj id@).-windowSetId :: Window  a -> Id ->  IO ()-windowSetId _obj _id -  = withObjectRef "windowSetId" _obj $ \cobj__obj -> -    wxWindow_SetId cobj__obj  (toCInt _id)  -foreign import ccall "wxWindow_SetId" wxWindow_SetId :: Ptr (TWindow a) -> CInt -> IO ()---- | usage: (@windowSetLabel obj title@).-windowSetLabel :: Window  a -> String ->  IO ()-windowSetLabel _obj _title -  = withObjectRef "windowSetLabel" _obj $ \cobj__obj -> -    withStringPtr _title $ \cobj__title -> -    wxWindow_SetLabel cobj__obj  cobj__title  -foreign import ccall "wxWindow_SetLabel" wxWindow_SetLabel :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO ()---- | usage: (@windowSetName obj name@).-windowSetName :: Window  a -> String ->  IO ()-windowSetName _obj _name -  = withObjectRef "windowSetName" _obj $ \cobj__obj -> -    withStringPtr _name $ \cobj__name -> -    wxWindow_SetName cobj__obj  cobj__name  -foreign import ccall "wxWindow_SetName" wxWindow_SetName :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO ()---- | usage: (@windowSetScrollPos obj orient pos refresh@).-windowSetScrollPos :: Window  a -> Int -> Int -> Bool ->  IO ()-windowSetScrollPos _obj orient pos refresh -  = withObjectRef "windowSetScrollPos" _obj $ \cobj__obj -> -    wxWindow_SetScrollPos cobj__obj  (toCInt orient)  (toCInt pos)  (toCBool refresh)  -foreign import ccall "wxWindow_SetScrollPos" wxWindow_SetScrollPos :: Ptr (TWindow a) -> CInt -> CInt -> CBool -> IO ()---- | usage: (@windowSetScrollbar obj orient pos thumbVisible range refresh@).-windowSetScrollbar :: Window  a -> Int -> Int -> Int -> Int -> Bool ->  IO ()-windowSetScrollbar _obj orient pos thumbVisible range refresh -  = withObjectRef "windowSetScrollbar" _obj $ \cobj__obj -> -    wxWindow_SetScrollbar cobj__obj  (toCInt orient)  (toCInt pos)  (toCInt thumbVisible)  (toCInt range)  (toCBool refresh)  -foreign import ccall "wxWindow_SetScrollbar" wxWindow_SetScrollbar :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CBool -> IO ()---- | usage: (@windowSetSize obj xywidthheight sizeFlags@).-windowSetSize :: Window  a -> Rect -> Int ->  IO ()-windowSetSize _obj xywidthheight sizeFlags -  = withObjectRef "windowSetSize" _obj $ \cobj__obj -> -    wxWindow_SetSize cobj__obj  (toCIntRectX xywidthheight) (toCIntRectY xywidthheight)(toCIntRectW xywidthheight) (toCIntRectH xywidthheight)  (toCInt sizeFlags)  -foreign import ccall "wxWindow_SetSize" wxWindow_SetSize :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> IO ()---- | usage: (@windowSetSizeConstraint obj xywh@).-windowSetSizeConstraint :: Window  a -> Rect ->  IO ()-windowSetSizeConstraint _obj xywh -  = withObjectRef "windowSetSizeConstraint" _obj $ \cobj__obj -> -    wxWindow_SetSizeConstraint cobj__obj  (toCIntRectX xywh) (toCIntRectY xywh)(toCIntRectW xywh) (toCIntRectH xywh)  -foreign import ccall "wxWindow_SetSizeConstraint" wxWindow_SetSizeConstraint :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> IO ()---- | usage: (@windowSetSizeHints obj minW minH maxW maxH incW incH@).-windowSetSizeHints :: Window  a -> Int -> Int -> Int -> Int -> Int -> Int ->  IO ()-windowSetSizeHints _obj minW minH maxW maxH incW incH -  = withObjectRef "windowSetSizeHints" _obj $ \cobj__obj -> -    wxWindow_SetSizeHints cobj__obj  (toCInt minW)  (toCInt minH)  (toCInt maxW)  (toCInt maxH)  (toCInt incW)  (toCInt incH)  -foreign import ccall "wxWindow_SetSizeHints" wxWindow_SetSizeHints :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO ()---- | usage: (@windowSetSizer obj sizer@).-windowSetSizer :: Window  a -> Sizer  b ->  IO ()-windowSetSizer _obj sizer -  = withObjectRef "windowSetSizer" _obj $ \cobj__obj -> -    withObjectPtr sizer $ \cobj_sizer -> -    wxWindow_SetSizer cobj__obj  cobj_sizer  -foreign import ccall "wxWindow_SetSizer" wxWindow_SetSizer :: Ptr (TWindow a) -> Ptr (TSizer b) -> IO ()---- | usage: (@windowSetToolTip obj tip@).-windowSetToolTip :: Window  a -> String ->  IO ()-windowSetToolTip _obj tip -  = withObjectRef "windowSetToolTip" _obj $ \cobj__obj -> -    withStringPtr tip $ \cobj_tip -> -    wxWindow_SetToolTip cobj__obj  cobj_tip  -foreign import ccall "wxWindow_SetToolTip" wxWindow_SetToolTip :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO ()---- | usage: (@windowSetValidator obj validator@).-windowSetValidator :: Window  a -> Validator  b ->  IO ()-windowSetValidator _obj validator -  = withObjectRef "windowSetValidator" _obj $ \cobj__obj -> -    withObjectPtr validator $ \cobj_validator -> -    wxWindow_SetValidator cobj__obj  cobj_validator  -foreign import ccall "wxWindow_SetValidator" wxWindow_SetValidator :: Ptr (TWindow a) -> Ptr (TValidator b) -> IO ()---- | usage: (@windowSetVirtualSize obj wh@).-windowSetVirtualSize :: Window  a -> Size ->  IO ()-windowSetVirtualSize _obj wh -  = withObjectRef "windowSetVirtualSize" _obj $ \cobj__obj -> -    wxWindow_SetVirtualSize cobj__obj  (toCIntSizeW wh) (toCIntSizeH wh)  -foreign import ccall "wxWindow_SetVirtualSize" wxWindow_SetVirtualSize :: Ptr (TWindow a) -> CInt -> CInt -> IO ()---- | usage: (@windowSetWindowStyleFlag obj style@).-windowSetWindowStyleFlag :: Window  a -> Int ->  IO ()-windowSetWindowStyleFlag _obj style -  = withObjectRef "windowSetWindowStyleFlag" _obj $ \cobj__obj -> -    wxWindow_SetWindowStyleFlag cobj__obj  (toCInt style)  -foreign import ccall "wxWindow_SetWindowStyleFlag" wxWindow_SetWindowStyleFlag :: Ptr (TWindow a) -> CInt -> IO ()---- | usage: (@windowShow obj@).-windowShow :: Window  a ->  IO Bool-windowShow _obj -  = withBoolResult $-    withObjectRef "windowShow" _obj $ \cobj__obj -> -    wxWindow_Show cobj__obj  -foreign import ccall "wxWindow_Show" wxWindow_Show :: Ptr (TWindow a) -> IO CBool---- | usage: (@windowThaw obj@).-windowThaw :: Window  a ->  IO ()-windowThaw _obj -  = withObjectRef "windowThaw" _obj $ \cobj__obj -> -    wxWindow_Thaw cobj__obj  -foreign import ccall "wxWindow_Thaw" wxWindow_Thaw :: Ptr (TWindow a) -> IO ()---- | usage: (@windowTransferDataFromWindow obj@).-windowTransferDataFromWindow :: Window  a ->  IO Bool-windowTransferDataFromWindow _obj -  = withBoolResult $-    withObjectRef "windowTransferDataFromWindow" _obj $ \cobj__obj -> -    wxWindow_TransferDataFromWindow cobj__obj  -foreign import ccall "wxWindow_TransferDataFromWindow" wxWindow_TransferDataFromWindow :: Ptr (TWindow a) -> IO CBool---- | usage: (@windowTransferDataToWindow obj@).-windowTransferDataToWindow :: Window  a ->  IO Bool-windowTransferDataToWindow _obj -  = withBoolResult $-    withObjectRef "windowTransferDataToWindow" _obj $ \cobj__obj -> -    wxWindow_TransferDataToWindow cobj__obj  -foreign import ccall "wxWindow_TransferDataToWindow" wxWindow_TransferDataToWindow :: Ptr (TWindow a) -> IO CBool---- | usage: (@windowUnsetConstraints obj c@).-windowUnsetConstraints :: Window  a -> Ptr  b ->  IO ()-windowUnsetConstraints _obj c -  = withObjectRef "windowUnsetConstraints" _obj $ \cobj__obj -> -    wxWindow_UnsetConstraints cobj__obj  c  -foreign import ccall "wxWindow_UnsetConstraints" wxWindow_UnsetConstraints :: Ptr (TWindow a) -> Ptr  b -> IO ()---- | usage: (@windowUpdateWindowUI obj@).-windowUpdateWindowUI :: Window  a ->  IO ()-windowUpdateWindowUI _obj -  = withObjectRef "windowUpdateWindowUI" _obj $ \cobj__obj -> -    wxWindow_UpdateWindowUI cobj__obj  -foreign import ccall "wxWindow_UpdateWindowUI" wxWindow_UpdateWindowUI :: Ptr (TWindow a) -> IO ()---- | usage: (@windowValidate obj@).-windowValidate :: Window  a ->  IO Bool-windowValidate _obj -  = withBoolResult $-    withObjectRef "windowValidate" _obj $ \cobj__obj -> -    wxWindow_Validate cobj__obj  -foreign import ccall "wxWindow_Validate" wxWindow_Validate :: Ptr (TWindow a) -> IO CBool---- | usage: (@windowWarpPointer obj xy@).-windowWarpPointer :: Window  a -> Point ->  IO ()-windowWarpPointer _obj xy -  = withObjectRef "windowWarpPointer" _obj $ \cobj__obj -> -    wxWindow_WarpPointer cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  -foreign import ccall "wxWindow_WarpPointer" wxWindow_WarpPointer :: Ptr (TWindow a) -> CInt -> CInt -> IO ()---- | usage: (@wizardChain f s@).-wizardChain :: WizardPageSimple  a -> WizardPageSimple  b ->  IO ()-wizardChain f s -  = withObjectPtr f $ \cobj_f -> -    withObjectPtr s $ \cobj_s -> -    wxWizard_Chain cobj_f  cobj_s  -foreign import ccall "wxWizard_Chain" wxWizard_Chain :: Ptr (TWizardPageSimple a) -> Ptr (TWizardPageSimple b) -> IO ()---- | usage: (@wizardCreate prt id txt bmp lfttopwdthgt@).-wizardCreate :: Window  a -> Id -> String -> Bitmap  d -> Rect ->  IO (Wizard  ())-wizardCreate _prt _id _txt _bmp _lfttopwdthgt -  = withObjectResult $-    withObjectPtr _prt $ \cobj__prt -> -    withStringPtr _txt $ \cobj__txt -> -    withObjectPtr _bmp $ \cobj__bmp -> -    wxWizard_Create cobj__prt  (toCInt _id)  cobj__txt  cobj__bmp  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  -foreign import ccall "wxWizard_Create" wxWizard_Create :: Ptr (TWindow a) -> CInt -> Ptr (TWxString c) -> Ptr (TBitmap d) -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TWizard ()))---- | usage: (@wizardEventGetDirection obj@).-wizardEventGetDirection :: WizardEvent  a ->  IO Int-wizardEventGetDirection _obj -  = withIntResult $-    withObjectRef "wizardEventGetDirection" _obj $ \cobj__obj -> -    wxWizardEvent_GetDirection cobj__obj  -foreign import ccall "wxWizardEvent_GetDirection" wxWizardEvent_GetDirection :: Ptr (TWizardEvent a) -> IO CInt---- | usage: (@wizardGetCurrentPage obj@).-wizardGetCurrentPage :: Wizard  a ->  IO (WizardPage  ())-wizardGetCurrentPage _obj -  = withObjectResult $-    withObjectRef "wizardGetCurrentPage" _obj $ \cobj__obj -> -    wxWizard_GetCurrentPage cobj__obj  -foreign import ccall "wxWizard_GetCurrentPage" wxWizard_GetCurrentPage :: Ptr (TWizard a) -> IO (Ptr (TWizardPage ()))---- | usage: (@wizardGetPageSize obj@).-wizardGetPageSize :: Wizard  a ->  IO (Size)-wizardGetPageSize _obj -  = withWxSizeResult $-    withObjectRef "wizardGetPageSize" _obj $ \cobj__obj -> -    wxWizard_GetPageSize cobj__obj  -foreign import ccall "wxWizard_GetPageSize" wxWizard_GetPageSize :: Ptr (TWizard a) -> IO (Ptr (TWxSize ()))---- | usage: (@wizardPageSimpleCreate prt@).-wizardPageSimpleCreate :: Wizard  a ->  IO (WizardPageSimple  ())-wizardPageSimpleCreate _prt -  = withObjectResult $-    withObjectPtr _prt $ \cobj__prt -> -    wxWizardPageSimple_Create cobj__prt  -foreign import ccall "wxWizardPageSimple_Create" wxWizardPageSimple_Create :: Ptr (TWizard a) -> IO (Ptr (TWizardPageSimple ()))---- | usage: (@wizardPageSimpleGetBitmap obj@).-wizardPageSimpleGetBitmap :: WizardPageSimple  a ->  IO (Bitmap  ())-wizardPageSimpleGetBitmap _obj -  = withRefBitmap $ \pref -> -    withObjectRef "wizardPageSimpleGetBitmap" _obj $ \cobj__obj -> -    wxWizardPageSimple_GetBitmap cobj__obj   pref-foreign import ccall "wxWizardPageSimple_GetBitmap" wxWizardPageSimple_GetBitmap :: Ptr (TWizardPageSimple a) -> Ptr (TBitmap ()) -> IO ()---- | usage: (@wizardPageSimpleGetNext obj@).-wizardPageSimpleGetNext :: WizardPageSimple  a ->  IO (WizardPageSimple  ())-wizardPageSimpleGetNext _obj -  = withObjectResult $-    withObjectRef "wizardPageSimpleGetNext" _obj $ \cobj__obj -> -    wxWizardPageSimple_GetNext cobj__obj  -foreign import ccall "wxWizardPageSimple_GetNext" wxWizardPageSimple_GetNext :: Ptr (TWizardPageSimple a) -> IO (Ptr (TWizardPageSimple ()))---- | usage: (@wizardPageSimpleGetPrev obj@).-wizardPageSimpleGetPrev :: WizardPageSimple  a ->  IO (WizardPageSimple  ())-wizardPageSimpleGetPrev _obj -  = withObjectResult $-    withObjectRef "wizardPageSimpleGetPrev" _obj $ \cobj__obj -> -    wxWizardPageSimple_GetPrev cobj__obj  -foreign import ccall "wxWizardPageSimple_GetPrev" wxWizardPageSimple_GetPrev :: Ptr (TWizardPageSimple a) -> IO (Ptr (TWizardPageSimple ()))---- | usage: (@wizardPageSimpleSetNext obj next@).-wizardPageSimpleSetNext :: WizardPageSimple  a -> WizardPageSimple  b ->  IO ()-wizardPageSimpleSetNext _obj next -  = withObjectRef "wizardPageSimpleSetNext" _obj $ \cobj__obj -> -    withObjectPtr next $ \cobj_next -> -    wxWizardPageSimple_SetNext cobj__obj  cobj_next  -foreign import ccall "wxWizardPageSimple_SetNext" wxWizardPageSimple_SetNext :: Ptr (TWizardPageSimple a) -> Ptr (TWizardPageSimple b) -> IO ()---- | usage: (@wizardPageSimpleSetPrev obj prev@).-wizardPageSimpleSetPrev :: WizardPageSimple  a -> WizardPageSimple  b ->  IO ()-wizardPageSimpleSetPrev _obj prev -  = withObjectRef "wizardPageSimpleSetPrev" _obj $ \cobj__obj -> -    withObjectPtr prev $ \cobj_prev -> -    wxWizardPageSimple_SetPrev cobj__obj  cobj_prev  -foreign import ccall "wxWizardPageSimple_SetPrev" wxWizardPageSimple_SetPrev :: Ptr (TWizardPageSimple a) -> Ptr (TWizardPageSimple b) -> IO ()---- | usage: (@wizardRunWizard obj firstPage@).-wizardRunWizard :: Wizard  a -> WizardPage  b ->  IO Int-wizardRunWizard _obj firstPage -  = withIntResult $-    withObjectRef "wizardRunWizard" _obj $ \cobj__obj -> -    withObjectPtr firstPage $ \cobj_firstPage -> -    wxWizard_RunWizard cobj__obj  cobj_firstPage  -foreign import ccall "wxWizard_RunWizard" wxWizard_RunWizard :: Ptr (TWizard a) -> Ptr (TWizardPage b) -> IO CInt---- | usage: (@wizardSetPageSize obj wh@).-wizardSetPageSize :: Wizard  a -> Size ->  IO ()-wizardSetPageSize _obj wh -  = withObjectRef "wizardSetPageSize" _obj $ \cobj__obj -> -    wxWizard_SetPageSize cobj__obj  (toCIntSizeW wh) (toCIntSizeH wh)  -foreign import ccall "wxWizard_SetPageSize" wxWizard_SetPageSize :: Ptr (TWizard a) -> CInt -> CInt -> IO ()---- | usage: (@wxBK_HITTEST_NOWHERE@).-{-# NOINLINE wxBK_HITTEST_NOWHERE #-}-wxBK_HITTEST_NOWHERE ::  Int-wxBK_HITTEST_NOWHERE -  = unsafePerformIO $-    withIntResult $-    wx_expBK_HITTEST_NOWHERE -foreign import ccall "expBK_HITTEST_NOWHERE" wx_expBK_HITTEST_NOWHERE :: IO CInt---- | usage: (@wxBK_HITTEST_ONICON@).-{-# NOINLINE wxBK_HITTEST_ONICON #-}-wxBK_HITTEST_ONICON ::  Int-wxBK_HITTEST_ONICON -  = unsafePerformIO $-    withIntResult $-    wx_expBK_HITTEST_ONICON -foreign import ccall "expBK_HITTEST_ONICON" wx_expBK_HITTEST_ONICON :: IO CInt---- | usage: (@wxBK_HITTEST_ONITEM@).-{-# NOINLINE wxBK_HITTEST_ONITEM #-}-wxBK_HITTEST_ONITEM ::  Int-wxBK_HITTEST_ONITEM -  = unsafePerformIO $-    withIntResult $-    wx_expBK_HITTEST_ONITEM -foreign import ccall "expBK_HITTEST_ONITEM" wx_expBK_HITTEST_ONITEM :: IO CInt---- | usage: (@wxBK_HITTEST_ONLABEL@).-{-# NOINLINE wxBK_HITTEST_ONLABEL #-}-wxBK_HITTEST_ONLABEL ::  Int-wxBK_HITTEST_ONLABEL -  = unsafePerformIO $-    withIntResult $-    wx_expBK_HITTEST_ONLABEL -foreign import ccall "expBK_HITTEST_ONLABEL" wx_expBK_HITTEST_ONLABEL :: IO CInt---- | usage: (@wxBK_HITTEST_ONPAGE@).-{-# NOINLINE wxBK_HITTEST_ONPAGE #-}-wxBK_HITTEST_ONPAGE ::  Int-wxBK_HITTEST_ONPAGE -  = unsafePerformIO $-    withIntResult $-    wx_expBK_HITTEST_ONPAGE -foreign import ccall "expBK_HITTEST_ONPAGE" wx_expBK_HITTEST_ONPAGE :: IO CInt---- | usage: (@wxEVT_ACTIVATE@).-{-# NOINLINE wxEVT_ACTIVATE #-}-wxEVT_ACTIVATE ::  EventId-wxEVT_ACTIVATE -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_ACTIVATE -foreign import ccall "expEVT_ACTIVATE" wx_expEVT_ACTIVATE :: IO CInt---- | usage: (@wxEVT_ACTIVATE_APP@).-{-# NOINLINE wxEVT_ACTIVATE_APP #-}-wxEVT_ACTIVATE_APP ::  EventId-wxEVT_ACTIVATE_APP -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_ACTIVATE_APP -foreign import ccall "expEVT_ACTIVATE_APP" wx_expEVT_ACTIVATE_APP :: IO CInt---- | usage: (@wxEVT_CALENDAR_DAY_CHANGED@).-{-# NOINLINE wxEVT_CALENDAR_DAY_CHANGED #-}-wxEVT_CALENDAR_DAY_CHANGED ::  EventId-wxEVT_CALENDAR_DAY_CHANGED -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_CALENDAR_DAY_CHANGED -foreign import ccall "expEVT_CALENDAR_DAY_CHANGED" wx_expEVT_CALENDAR_DAY_CHANGED :: IO CInt---- | usage: (@wxEVT_CALENDAR_DOUBLECLICKED@).-{-# NOINLINE wxEVT_CALENDAR_DOUBLECLICKED #-}-wxEVT_CALENDAR_DOUBLECLICKED ::  EventId-wxEVT_CALENDAR_DOUBLECLICKED -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_CALENDAR_DOUBLECLICKED -foreign import ccall "expEVT_CALENDAR_DOUBLECLICKED" wx_expEVT_CALENDAR_DOUBLECLICKED :: IO CInt---- | usage: (@wxEVT_CALENDAR_MONTH_CHANGED@).-{-# NOINLINE wxEVT_CALENDAR_MONTH_CHANGED #-}-wxEVT_CALENDAR_MONTH_CHANGED ::  EventId-wxEVT_CALENDAR_MONTH_CHANGED -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_CALENDAR_MONTH_CHANGED -foreign import ccall "expEVT_CALENDAR_MONTH_CHANGED" wx_expEVT_CALENDAR_MONTH_CHANGED :: IO CInt---- | usage: (@wxEVT_CALENDAR_SEL_CHANGED@).-{-# NOINLINE wxEVT_CALENDAR_SEL_CHANGED #-}-wxEVT_CALENDAR_SEL_CHANGED ::  EventId-wxEVT_CALENDAR_SEL_CHANGED -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_CALENDAR_SEL_CHANGED -foreign import ccall "expEVT_CALENDAR_SEL_CHANGED" wx_expEVT_CALENDAR_SEL_CHANGED :: IO CInt---- | usage: (@wxEVT_CALENDAR_WEEKDAY_CLICKED@).-{-# NOINLINE wxEVT_CALENDAR_WEEKDAY_CLICKED #-}-wxEVT_CALENDAR_WEEKDAY_CLICKED ::  EventId-wxEVT_CALENDAR_WEEKDAY_CLICKED -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_CALENDAR_WEEKDAY_CLICKED -foreign import ccall "expEVT_CALENDAR_WEEKDAY_CLICKED" wx_expEVT_CALENDAR_WEEKDAY_CLICKED :: IO CInt---- | usage: (@wxEVT_CALENDAR_YEAR_CHANGED@).-{-# NOINLINE wxEVT_CALENDAR_YEAR_CHANGED #-}-wxEVT_CALENDAR_YEAR_CHANGED ::  EventId-wxEVT_CALENDAR_YEAR_CHANGED -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_CALENDAR_YEAR_CHANGED -foreign import ccall "expEVT_CALENDAR_YEAR_CHANGED" wx_expEVT_CALENDAR_YEAR_CHANGED :: IO CInt---- | usage: (@wxEVT_CHAR@).-{-# NOINLINE wxEVT_CHAR #-}-wxEVT_CHAR ::  EventId-wxEVT_CHAR -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_CHAR -foreign import ccall "expEVT_CHAR" wx_expEVT_CHAR :: IO CInt---- | usage: (@wxEVT_CHAR_HOOK@).-{-# NOINLINE wxEVT_CHAR_HOOK #-}-wxEVT_CHAR_HOOK ::  EventId-wxEVT_CHAR_HOOK -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_CHAR_HOOK -foreign import ccall "expEVT_CHAR_HOOK" wx_expEVT_CHAR_HOOK :: IO CInt---- | usage: (@wxEVT_CLOSE_WINDOW@).-{-# NOINLINE wxEVT_CLOSE_WINDOW #-}-wxEVT_CLOSE_WINDOW ::  EventId-wxEVT_CLOSE_WINDOW -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_CLOSE_WINDOW -foreign import ccall "expEVT_CLOSE_WINDOW" wx_expEVT_CLOSE_WINDOW :: IO CInt---- | usage: (@wxEVT_COMMAND_BUTTON_CLICKED@).-{-# NOINLINE wxEVT_COMMAND_BUTTON_CLICKED #-}-wxEVT_COMMAND_BUTTON_CLICKED ::  EventId-wxEVT_COMMAND_BUTTON_CLICKED -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_BUTTON_CLICKED -foreign import ccall "expEVT_COMMAND_BUTTON_CLICKED" wx_expEVT_COMMAND_BUTTON_CLICKED :: IO CInt---- | usage: (@wxEVT_COMMAND_CHECKBOX_CLICKED@).-{-# NOINLINE wxEVT_COMMAND_CHECKBOX_CLICKED #-}-wxEVT_COMMAND_CHECKBOX_CLICKED ::  EventId-wxEVT_COMMAND_CHECKBOX_CLICKED -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_CHECKBOX_CLICKED -foreign import ccall "expEVT_COMMAND_CHECKBOX_CLICKED" wx_expEVT_COMMAND_CHECKBOX_CLICKED :: IO CInt---- | usage: (@wxEVT_COMMAND_CHECKLISTBOX_TOGGLED@).-{-# NOINLINE wxEVT_COMMAND_CHECKLISTBOX_TOGGLED #-}-wxEVT_COMMAND_CHECKLISTBOX_TOGGLED ::  EventId-wxEVT_COMMAND_CHECKLISTBOX_TOGGLED -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_CHECKLISTBOX_TOGGLED -foreign import ccall "expEVT_COMMAND_CHECKLISTBOX_TOGGLED" wx_expEVT_COMMAND_CHECKLISTBOX_TOGGLED :: IO CInt---- | usage: (@wxEVT_COMMAND_CHOICE_SELECTED@).-{-# NOINLINE wxEVT_COMMAND_CHOICE_SELECTED #-}-wxEVT_COMMAND_CHOICE_SELECTED ::  EventId-wxEVT_COMMAND_CHOICE_SELECTED -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_CHOICE_SELECTED -foreign import ccall "expEVT_COMMAND_CHOICE_SELECTED" wx_expEVT_COMMAND_CHOICE_SELECTED :: IO CInt---- | usage: (@wxEVT_COMMAND_COMBOBOX_SELECTED@).-{-# NOINLINE wxEVT_COMMAND_COMBOBOX_SELECTED #-}-wxEVT_COMMAND_COMBOBOX_SELECTED ::  EventId-wxEVT_COMMAND_COMBOBOX_SELECTED -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_COMBOBOX_SELECTED -foreign import ccall "expEVT_COMMAND_COMBOBOX_SELECTED" wx_expEVT_COMMAND_COMBOBOX_SELECTED :: IO CInt---- | usage: (@wxEVT_COMMAND_ENTER@).-{-# NOINLINE wxEVT_COMMAND_ENTER #-}-wxEVT_COMMAND_ENTER ::  EventId-wxEVT_COMMAND_ENTER -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_ENTER -foreign import ccall "expEVT_COMMAND_ENTER" wx_expEVT_COMMAND_ENTER :: IO CInt---- | usage: (@wxEVT_COMMAND_FIND@).-{-# NOINLINE wxEVT_COMMAND_FIND #-}-wxEVT_COMMAND_FIND ::  EventId-wxEVT_COMMAND_FIND -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_FIND -foreign import ccall "expEVT_COMMAND_FIND" wx_expEVT_COMMAND_FIND :: IO CInt---- | usage: (@wxEVT_COMMAND_FIND_CLOSE@).-{-# NOINLINE wxEVT_COMMAND_FIND_CLOSE #-}-wxEVT_COMMAND_FIND_CLOSE ::  EventId-wxEVT_COMMAND_FIND_CLOSE -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_FIND_CLOSE -foreign import ccall "expEVT_COMMAND_FIND_CLOSE" wx_expEVT_COMMAND_FIND_CLOSE :: IO CInt---- | usage: (@wxEVT_COMMAND_FIND_NEXT@).-{-# NOINLINE wxEVT_COMMAND_FIND_NEXT #-}-wxEVT_COMMAND_FIND_NEXT ::  EventId-wxEVT_COMMAND_FIND_NEXT -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_FIND_NEXT -foreign import ccall "expEVT_COMMAND_FIND_NEXT" wx_expEVT_COMMAND_FIND_NEXT :: IO CInt---- | usage: (@wxEVT_COMMAND_FIND_REPLACE@).-{-# NOINLINE wxEVT_COMMAND_FIND_REPLACE #-}-wxEVT_COMMAND_FIND_REPLACE ::  EventId-wxEVT_COMMAND_FIND_REPLACE -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_FIND_REPLACE -foreign import ccall "expEVT_COMMAND_FIND_REPLACE" wx_expEVT_COMMAND_FIND_REPLACE :: IO CInt---- | usage: (@wxEVT_COMMAND_FIND_REPLACE_ALL@).-{-# NOINLINE wxEVT_COMMAND_FIND_REPLACE_ALL #-}-wxEVT_COMMAND_FIND_REPLACE_ALL ::  EventId-wxEVT_COMMAND_FIND_REPLACE_ALL -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_FIND_REPLACE_ALL -foreign import ccall "expEVT_COMMAND_FIND_REPLACE_ALL" wx_expEVT_COMMAND_FIND_REPLACE_ALL :: IO CInt---- | usage: (@wxEVT_COMMAND_KILL_FOCUS@).-{-# NOINLINE wxEVT_COMMAND_KILL_FOCUS #-}-wxEVT_COMMAND_KILL_FOCUS ::  EventId-wxEVT_COMMAND_KILL_FOCUS -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_KILL_FOCUS -foreign import ccall "expEVT_COMMAND_KILL_FOCUS" wx_expEVT_COMMAND_KILL_FOCUS :: IO CInt---- | usage: (@wxEVT_COMMAND_LEFT_CLICK@).-{-# NOINLINE wxEVT_COMMAND_LEFT_CLICK #-}-wxEVT_COMMAND_LEFT_CLICK ::  EventId-wxEVT_COMMAND_LEFT_CLICK -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_LEFT_CLICK -foreign import ccall "expEVT_COMMAND_LEFT_CLICK" wx_expEVT_COMMAND_LEFT_CLICK :: IO CInt---- | usage: (@wxEVT_COMMAND_LEFT_DCLICK@).-{-# NOINLINE wxEVT_COMMAND_LEFT_DCLICK #-}-wxEVT_COMMAND_LEFT_DCLICK ::  EventId-wxEVT_COMMAND_LEFT_DCLICK -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_LEFT_DCLICK -foreign import ccall "expEVT_COMMAND_LEFT_DCLICK" wx_expEVT_COMMAND_LEFT_DCLICK :: IO CInt---- | usage: (@wxEVT_COMMAND_LISTBOX_DOUBLECLICKED@).-{-# NOINLINE wxEVT_COMMAND_LISTBOX_DOUBLECLICKED #-}-wxEVT_COMMAND_LISTBOX_DOUBLECLICKED ::  EventId-wxEVT_COMMAND_LISTBOX_DOUBLECLICKED -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_LISTBOX_DOUBLECLICKED -foreign import ccall "expEVT_COMMAND_LISTBOX_DOUBLECLICKED" wx_expEVT_COMMAND_LISTBOX_DOUBLECLICKED :: IO CInt---- | usage: (@wxEVT_COMMAND_LISTBOX_SELECTED@).-{-# NOINLINE wxEVT_COMMAND_LISTBOX_SELECTED #-}-wxEVT_COMMAND_LISTBOX_SELECTED ::  EventId-wxEVT_COMMAND_LISTBOX_SELECTED -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_LISTBOX_SELECTED -foreign import ccall "expEVT_COMMAND_LISTBOX_SELECTED" wx_expEVT_COMMAND_LISTBOX_SELECTED :: IO CInt---- | usage: (@wxEVT_COMMAND_LIST_BEGIN_DRAG@).-{-# NOINLINE wxEVT_COMMAND_LIST_BEGIN_DRAG #-}-wxEVT_COMMAND_LIST_BEGIN_DRAG ::  EventId-wxEVT_COMMAND_LIST_BEGIN_DRAG -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_LIST_BEGIN_DRAG -foreign import ccall "expEVT_COMMAND_LIST_BEGIN_DRAG" wx_expEVT_COMMAND_LIST_BEGIN_DRAG :: IO CInt---- | usage: (@wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT@).-{-# NOINLINE wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT #-}-wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT ::  EventId-wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_LIST_BEGIN_LABEL_EDIT -foreign import ccall "expEVT_COMMAND_LIST_BEGIN_LABEL_EDIT" wx_expEVT_COMMAND_LIST_BEGIN_LABEL_EDIT :: IO CInt---- | usage: (@wxEVT_COMMAND_LIST_BEGIN_RDRAG@).-{-# NOINLINE wxEVT_COMMAND_LIST_BEGIN_RDRAG #-}-wxEVT_COMMAND_LIST_BEGIN_RDRAG ::  EventId-wxEVT_COMMAND_LIST_BEGIN_RDRAG -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_LIST_BEGIN_RDRAG -foreign import ccall "expEVT_COMMAND_LIST_BEGIN_RDRAG" wx_expEVT_COMMAND_LIST_BEGIN_RDRAG :: IO CInt---- | usage: (@wxEVT_COMMAND_LIST_CACHE_HINT@).-{-# NOINLINE wxEVT_COMMAND_LIST_CACHE_HINT #-}-wxEVT_COMMAND_LIST_CACHE_HINT ::  EventId-wxEVT_COMMAND_LIST_CACHE_HINT -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_LIST_CACHE_HINT -foreign import ccall "expEVT_COMMAND_LIST_CACHE_HINT" wx_expEVT_COMMAND_LIST_CACHE_HINT :: IO CInt---- | usage: (@wxEVT_COMMAND_LIST_COL_BEGIN_DRAG@).-{-# NOINLINE wxEVT_COMMAND_LIST_COL_BEGIN_DRAG #-}-wxEVT_COMMAND_LIST_COL_BEGIN_DRAG ::  EventId-wxEVT_COMMAND_LIST_COL_BEGIN_DRAG -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_LIST_COL_BEGIN_DRAG -foreign import ccall "expEVT_COMMAND_LIST_COL_BEGIN_DRAG" wx_expEVT_COMMAND_LIST_COL_BEGIN_DRAG :: IO CInt---- | usage: (@wxEVT_COMMAND_LIST_COL_CLICK@).-{-# NOINLINE wxEVT_COMMAND_LIST_COL_CLICK #-}-wxEVT_COMMAND_LIST_COL_CLICK ::  EventId-wxEVT_COMMAND_LIST_COL_CLICK -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_LIST_COL_CLICK -foreign import ccall "expEVT_COMMAND_LIST_COL_CLICK" wx_expEVT_COMMAND_LIST_COL_CLICK :: IO CInt---- | usage: (@wxEVT_COMMAND_LIST_COL_DRAGGING@).-{-# NOINLINE wxEVT_COMMAND_LIST_COL_DRAGGING #-}-wxEVT_COMMAND_LIST_COL_DRAGGING ::  EventId-wxEVT_COMMAND_LIST_COL_DRAGGING -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_LIST_COL_DRAGGING -foreign import ccall "expEVT_COMMAND_LIST_COL_DRAGGING" wx_expEVT_COMMAND_LIST_COL_DRAGGING :: IO CInt---- | usage: (@wxEVT_COMMAND_LIST_COL_END_DRAG@).-{-# NOINLINE wxEVT_COMMAND_LIST_COL_END_DRAG #-}-wxEVT_COMMAND_LIST_COL_END_DRAG ::  EventId-wxEVT_COMMAND_LIST_COL_END_DRAG -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_LIST_COL_END_DRAG -foreign import ccall "expEVT_COMMAND_LIST_COL_END_DRAG" wx_expEVT_COMMAND_LIST_COL_END_DRAG :: IO CInt---- | usage: (@wxEVT_COMMAND_LIST_COL_RIGHT_CLICK@).-{-# NOINLINE wxEVT_COMMAND_LIST_COL_RIGHT_CLICK #-}-wxEVT_COMMAND_LIST_COL_RIGHT_CLICK ::  EventId-wxEVT_COMMAND_LIST_COL_RIGHT_CLICK -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_LIST_COL_RIGHT_CLICK -foreign import ccall "expEVT_COMMAND_LIST_COL_RIGHT_CLICK" wx_expEVT_COMMAND_LIST_COL_RIGHT_CLICK :: IO CInt---- | usage: (@wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS@).-{-# NOINLINE wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS #-}-wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS ::  EventId-wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_LIST_DELETE_ALL_ITEMS -foreign import ccall "expEVT_COMMAND_LIST_DELETE_ALL_ITEMS" wx_expEVT_COMMAND_LIST_DELETE_ALL_ITEMS :: IO CInt---- | usage: (@wxEVT_COMMAND_LIST_DELETE_ITEM@).-{-# NOINLINE wxEVT_COMMAND_LIST_DELETE_ITEM #-}-wxEVT_COMMAND_LIST_DELETE_ITEM ::  EventId-wxEVT_COMMAND_LIST_DELETE_ITEM -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_LIST_DELETE_ITEM -foreign import ccall "expEVT_COMMAND_LIST_DELETE_ITEM" wx_expEVT_COMMAND_LIST_DELETE_ITEM :: IO CInt---- | usage: (@wxEVT_COMMAND_LIST_END_LABEL_EDIT@).-{-# NOINLINE wxEVT_COMMAND_LIST_END_LABEL_EDIT #-}-wxEVT_COMMAND_LIST_END_LABEL_EDIT ::  EventId-wxEVT_COMMAND_LIST_END_LABEL_EDIT -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_LIST_END_LABEL_EDIT -foreign import ccall "expEVT_COMMAND_LIST_END_LABEL_EDIT" wx_expEVT_COMMAND_LIST_END_LABEL_EDIT :: IO CInt---- | usage: (@wxEVT_COMMAND_LIST_INSERT_ITEM@).-{-# NOINLINE wxEVT_COMMAND_LIST_INSERT_ITEM #-}-wxEVT_COMMAND_LIST_INSERT_ITEM ::  EventId-wxEVT_COMMAND_LIST_INSERT_ITEM -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_LIST_INSERT_ITEM -foreign import ccall "expEVT_COMMAND_LIST_INSERT_ITEM" wx_expEVT_COMMAND_LIST_INSERT_ITEM :: IO CInt---- | usage: (@wxEVT_COMMAND_LIST_ITEM_ACTIVATED@).-{-# NOINLINE wxEVT_COMMAND_LIST_ITEM_ACTIVATED #-}-wxEVT_COMMAND_LIST_ITEM_ACTIVATED ::  EventId-wxEVT_COMMAND_LIST_ITEM_ACTIVATED -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_LIST_ITEM_ACTIVATED -foreign import ccall "expEVT_COMMAND_LIST_ITEM_ACTIVATED" wx_expEVT_COMMAND_LIST_ITEM_ACTIVATED :: IO CInt---- | usage: (@wxEVT_COMMAND_LIST_ITEM_DESELECTED@).-{-# NOINLINE wxEVT_COMMAND_LIST_ITEM_DESELECTED #-}-wxEVT_COMMAND_LIST_ITEM_DESELECTED ::  EventId-wxEVT_COMMAND_LIST_ITEM_DESELECTED -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_LIST_ITEM_DESELECTED -foreign import ccall "expEVT_COMMAND_LIST_ITEM_DESELECTED" wx_expEVT_COMMAND_LIST_ITEM_DESELECTED :: IO CInt---- | usage: (@wxEVT_COMMAND_LIST_ITEM_FOCUSED@).-{-# NOINLINE wxEVT_COMMAND_LIST_ITEM_FOCUSED #-}-wxEVT_COMMAND_LIST_ITEM_FOCUSED ::  EventId-wxEVT_COMMAND_LIST_ITEM_FOCUSED -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_LIST_ITEM_FOCUSED -foreign import ccall "expEVT_COMMAND_LIST_ITEM_FOCUSED" wx_expEVT_COMMAND_LIST_ITEM_FOCUSED :: IO CInt---- | usage: (@wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK@).-{-# NOINLINE wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK #-}-wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK ::  EventId-wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK -foreign import ccall "expEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK" wx_expEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK :: IO CInt---- | usage: (@wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK@).-{-# NOINLINE wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK #-}-wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK ::  EventId-wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_LIST_ITEM_RIGHT_CLICK -foreign import ccall "expEVT_COMMAND_LIST_ITEM_RIGHT_CLICK" wx_expEVT_COMMAND_LIST_ITEM_RIGHT_CLICK :: IO CInt---- | usage: (@wxEVT_COMMAND_LIST_ITEM_SELECTED@).-{-# NOINLINE wxEVT_COMMAND_LIST_ITEM_SELECTED #-}-wxEVT_COMMAND_LIST_ITEM_SELECTED ::  EventId-wxEVT_COMMAND_LIST_ITEM_SELECTED -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_LIST_ITEM_SELECTED -foreign import ccall "expEVT_COMMAND_LIST_ITEM_SELECTED" wx_expEVT_COMMAND_LIST_ITEM_SELECTED :: IO CInt---- | usage: (@wxEVT_COMMAND_LIST_KEY_DOWN@).-{-# NOINLINE wxEVT_COMMAND_LIST_KEY_DOWN #-}-wxEVT_COMMAND_LIST_KEY_DOWN ::  EventId-wxEVT_COMMAND_LIST_KEY_DOWN -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_LIST_KEY_DOWN -foreign import ccall "expEVT_COMMAND_LIST_KEY_DOWN" wx_expEVT_COMMAND_LIST_KEY_DOWN :: IO CInt---- | usage: (@wxEVT_COMMAND_MENU_SELECTED@).-{-# NOINLINE wxEVT_COMMAND_MENU_SELECTED #-}-wxEVT_COMMAND_MENU_SELECTED ::  EventId-wxEVT_COMMAND_MENU_SELECTED -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_MENU_SELECTED -foreign import ccall "expEVT_COMMAND_MENU_SELECTED" wx_expEVT_COMMAND_MENU_SELECTED :: IO CInt---- | usage: (@wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED@).-{-# NOINLINE wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED #-}-wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED ::  EventId-wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_NOTEBOOK_PAGE_CHANGED -foreign import ccall "expEVT_COMMAND_NOTEBOOK_PAGE_CHANGED" wx_expEVT_COMMAND_NOTEBOOK_PAGE_CHANGED :: IO CInt---- | usage: (@wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING@).-{-# NOINLINE wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING #-}-wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING ::  EventId-wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_NOTEBOOK_PAGE_CHANGING -foreign import ccall "expEVT_COMMAND_NOTEBOOK_PAGE_CHANGING" wx_expEVT_COMMAND_NOTEBOOK_PAGE_CHANGING :: IO CInt---- | usage: (@wxEVT_COMMAND_RADIOBOX_SELECTED@).-{-# NOINLINE wxEVT_COMMAND_RADIOBOX_SELECTED #-}-wxEVT_COMMAND_RADIOBOX_SELECTED ::  EventId-wxEVT_COMMAND_RADIOBOX_SELECTED -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_RADIOBOX_SELECTED -foreign import ccall "expEVT_COMMAND_RADIOBOX_SELECTED" wx_expEVT_COMMAND_RADIOBOX_SELECTED :: IO CInt---- | usage: (@wxEVT_COMMAND_RADIOBUTTON_SELECTED@).-{-# NOINLINE wxEVT_COMMAND_RADIOBUTTON_SELECTED #-}-wxEVT_COMMAND_RADIOBUTTON_SELECTED ::  EventId-wxEVT_COMMAND_RADIOBUTTON_SELECTED -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_RADIOBUTTON_SELECTED -foreign import ccall "expEVT_COMMAND_RADIOBUTTON_SELECTED" wx_expEVT_COMMAND_RADIOBUTTON_SELECTED :: IO CInt---- | usage: (@wxEVT_COMMAND_RIGHT_CLICK@).-{-# NOINLINE wxEVT_COMMAND_RIGHT_CLICK #-}-wxEVT_COMMAND_RIGHT_CLICK ::  EventId-wxEVT_COMMAND_RIGHT_CLICK -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_RIGHT_CLICK -foreign import ccall "expEVT_COMMAND_RIGHT_CLICK" wx_expEVT_COMMAND_RIGHT_CLICK :: IO CInt---- | usage: (@wxEVT_COMMAND_RIGHT_DCLICK@).-{-# NOINLINE wxEVT_COMMAND_RIGHT_DCLICK #-}-wxEVT_COMMAND_RIGHT_DCLICK ::  EventId-wxEVT_COMMAND_RIGHT_DCLICK -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_RIGHT_DCLICK -foreign import ccall "expEVT_COMMAND_RIGHT_DCLICK" wx_expEVT_COMMAND_RIGHT_DCLICK :: IO CInt---- | usage: (@wxEVT_COMMAND_SCROLLBAR_UPDATED@).-{-# NOINLINE wxEVT_COMMAND_SCROLLBAR_UPDATED #-}-wxEVT_COMMAND_SCROLLBAR_UPDATED ::  EventId-wxEVT_COMMAND_SCROLLBAR_UPDATED -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_SCROLLBAR_UPDATED -foreign import ccall "expEVT_COMMAND_SCROLLBAR_UPDATED" wx_expEVT_COMMAND_SCROLLBAR_UPDATED :: IO CInt---- | usage: (@wxEVT_COMMAND_SET_FOCUS@).-{-# NOINLINE wxEVT_COMMAND_SET_FOCUS #-}-wxEVT_COMMAND_SET_FOCUS ::  EventId-wxEVT_COMMAND_SET_FOCUS -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_SET_FOCUS -foreign import ccall "expEVT_COMMAND_SET_FOCUS" wx_expEVT_COMMAND_SET_FOCUS :: IO CInt---- | usage: (@wxEVT_COMMAND_SLIDER_UPDATED@).-{-# NOINLINE wxEVT_COMMAND_SLIDER_UPDATED #-}-wxEVT_COMMAND_SLIDER_UPDATED ::  EventId-wxEVT_COMMAND_SLIDER_UPDATED -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_SLIDER_UPDATED -foreign import ccall "expEVT_COMMAND_SLIDER_UPDATED" wx_expEVT_COMMAND_SLIDER_UPDATED :: IO CInt---- | usage: (@wxEVT_COMMAND_SPINCTRL_UPDATED@).-{-# NOINLINE wxEVT_COMMAND_SPINCTRL_UPDATED #-}-wxEVT_COMMAND_SPINCTRL_UPDATED ::  EventId-wxEVT_COMMAND_SPINCTRL_UPDATED -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_SPINCTRL_UPDATED -foreign import ccall "expEVT_COMMAND_SPINCTRL_UPDATED" wx_expEVT_COMMAND_SPINCTRL_UPDATED :: IO CInt---- | usage: (@wxEVT_COMMAND_SPLITTER_DOUBLECLICKED@).-{-# NOINLINE wxEVT_COMMAND_SPLITTER_DOUBLECLICKED #-}-wxEVT_COMMAND_SPLITTER_DOUBLECLICKED ::  EventId-wxEVT_COMMAND_SPLITTER_DOUBLECLICKED -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_SPLITTER_DOUBLECLICKED -foreign import ccall "expEVT_COMMAND_SPLITTER_DOUBLECLICKED" wx_expEVT_COMMAND_SPLITTER_DOUBLECLICKED :: IO CInt---- | usage: (@wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED@).-{-# NOINLINE wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED #-}-wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED ::  EventId-wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_SPLITTER_SASH_POS_CHANGED -foreign import ccall "expEVT_COMMAND_SPLITTER_SASH_POS_CHANGED" wx_expEVT_COMMAND_SPLITTER_SASH_POS_CHANGED :: IO CInt---- | usage: (@wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING@).-{-# NOINLINE wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING #-}-wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING ::  EventId-wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_SPLITTER_SASH_POS_CHANGING -foreign import ccall "expEVT_COMMAND_SPLITTER_SASH_POS_CHANGING" wx_expEVT_COMMAND_SPLITTER_SASH_POS_CHANGING :: IO CInt---- | usage: (@wxEVT_COMMAND_SPLITTER_UNSPLIT@).-{-# NOINLINE wxEVT_COMMAND_SPLITTER_UNSPLIT #-}-wxEVT_COMMAND_SPLITTER_UNSPLIT ::  EventId-wxEVT_COMMAND_SPLITTER_UNSPLIT -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_SPLITTER_UNSPLIT -foreign import ccall "expEVT_COMMAND_SPLITTER_UNSPLIT" wx_expEVT_COMMAND_SPLITTER_UNSPLIT :: IO CInt---- | usage: (@wxEVT_COMMAND_TAB_SEL_CHANGED@).-{-# NOINLINE wxEVT_COMMAND_TAB_SEL_CHANGED #-}-wxEVT_COMMAND_TAB_SEL_CHANGED ::  EventId-wxEVT_COMMAND_TAB_SEL_CHANGED -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_TAB_SEL_CHANGED -foreign import ccall "expEVT_COMMAND_TAB_SEL_CHANGED" wx_expEVT_COMMAND_TAB_SEL_CHANGED :: IO CInt---- | usage: (@wxEVT_COMMAND_TAB_SEL_CHANGING@).-{-# NOINLINE wxEVT_COMMAND_TAB_SEL_CHANGING #-}-wxEVT_COMMAND_TAB_SEL_CHANGING ::  EventId-wxEVT_COMMAND_TAB_SEL_CHANGING -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_TAB_SEL_CHANGING -foreign import ccall "expEVT_COMMAND_TAB_SEL_CHANGING" wx_expEVT_COMMAND_TAB_SEL_CHANGING :: IO CInt---- | usage: (@wxEVT_COMMAND_TEXT_ENTER@).-{-# NOINLINE wxEVT_COMMAND_TEXT_ENTER #-}-wxEVT_COMMAND_TEXT_ENTER ::  EventId-wxEVT_COMMAND_TEXT_ENTER -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_TEXT_ENTER -foreign import ccall "expEVT_COMMAND_TEXT_ENTER" wx_expEVT_COMMAND_TEXT_ENTER :: IO CInt---- | usage: (@wxEVT_COMMAND_TEXT_UPDATED@).-{-# NOINLINE wxEVT_COMMAND_TEXT_UPDATED #-}-wxEVT_COMMAND_TEXT_UPDATED ::  EventId-wxEVT_COMMAND_TEXT_UPDATED -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_TEXT_UPDATED -foreign import ccall "expEVT_COMMAND_TEXT_UPDATED" wx_expEVT_COMMAND_TEXT_UPDATED :: IO CInt---- | usage: (@wxEVT_COMMAND_TOOL_CLICKED@).-{-# NOINLINE wxEVT_COMMAND_TOOL_CLICKED #-}-wxEVT_COMMAND_TOOL_CLICKED ::  EventId-wxEVT_COMMAND_TOOL_CLICKED -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_TOOL_CLICKED -foreign import ccall "expEVT_COMMAND_TOOL_CLICKED" wx_expEVT_COMMAND_TOOL_CLICKED :: IO CInt---- | usage: (@wxEVT_COMMAND_TOOL_ENTER@).-{-# NOINLINE wxEVT_COMMAND_TOOL_ENTER #-}-wxEVT_COMMAND_TOOL_ENTER ::  EventId-wxEVT_COMMAND_TOOL_ENTER -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_TOOL_ENTER -foreign import ccall "expEVT_COMMAND_TOOL_ENTER" wx_expEVT_COMMAND_TOOL_ENTER :: IO CInt---- | usage: (@wxEVT_COMMAND_TOOL_RCLICKED@).-{-# NOINLINE wxEVT_COMMAND_TOOL_RCLICKED #-}-wxEVT_COMMAND_TOOL_RCLICKED ::  EventId-wxEVT_COMMAND_TOOL_RCLICKED -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_TOOL_RCLICKED -foreign import ccall "expEVT_COMMAND_TOOL_RCLICKED" wx_expEVT_COMMAND_TOOL_RCLICKED :: IO CInt---- | usage: (@wxEVT_COMMAND_TREE_BEGIN_DRAG@).-{-# NOINLINE wxEVT_COMMAND_TREE_BEGIN_DRAG #-}-wxEVT_COMMAND_TREE_BEGIN_DRAG ::  EventId-wxEVT_COMMAND_TREE_BEGIN_DRAG -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_TREE_BEGIN_DRAG -foreign import ccall "expEVT_COMMAND_TREE_BEGIN_DRAG" wx_expEVT_COMMAND_TREE_BEGIN_DRAG :: IO CInt---- | usage: (@wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT@).-{-# NOINLINE wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT #-}-wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT ::  EventId-wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_TREE_BEGIN_LABEL_EDIT -foreign import ccall "expEVT_COMMAND_TREE_BEGIN_LABEL_EDIT" wx_expEVT_COMMAND_TREE_BEGIN_LABEL_EDIT :: IO CInt---- | usage: (@wxEVT_COMMAND_TREE_BEGIN_RDRAG@).-{-# NOINLINE wxEVT_COMMAND_TREE_BEGIN_RDRAG #-}-wxEVT_COMMAND_TREE_BEGIN_RDRAG ::  EventId-wxEVT_COMMAND_TREE_BEGIN_RDRAG -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_TREE_BEGIN_RDRAG -foreign import ccall "expEVT_COMMAND_TREE_BEGIN_RDRAG" wx_expEVT_COMMAND_TREE_BEGIN_RDRAG :: IO CInt---- | usage: (@wxEVT_COMMAND_TREE_DELETE_ITEM@).-{-# NOINLINE wxEVT_COMMAND_TREE_DELETE_ITEM #-}-wxEVT_COMMAND_TREE_DELETE_ITEM ::  EventId-wxEVT_COMMAND_TREE_DELETE_ITEM -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_TREE_DELETE_ITEM -foreign import ccall "expEVT_COMMAND_TREE_DELETE_ITEM" wx_expEVT_COMMAND_TREE_DELETE_ITEM :: IO CInt---- | usage: (@wxEVT_COMMAND_TREE_END_DRAG@).-{-# NOINLINE wxEVT_COMMAND_TREE_END_DRAG #-}-wxEVT_COMMAND_TREE_END_DRAG ::  EventId-wxEVT_COMMAND_TREE_END_DRAG -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_TREE_END_DRAG -foreign import ccall "expEVT_COMMAND_TREE_END_DRAG" wx_expEVT_COMMAND_TREE_END_DRAG :: IO CInt---- | usage: (@wxEVT_COMMAND_TREE_END_LABEL_EDIT@).-{-# NOINLINE wxEVT_COMMAND_TREE_END_LABEL_EDIT #-}-wxEVT_COMMAND_TREE_END_LABEL_EDIT ::  EventId-wxEVT_COMMAND_TREE_END_LABEL_EDIT -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_TREE_END_LABEL_EDIT -foreign import ccall "expEVT_COMMAND_TREE_END_LABEL_EDIT" wx_expEVT_COMMAND_TREE_END_LABEL_EDIT :: IO CInt---- | usage: (@wxEVT_COMMAND_TREE_GET_INFO@).-{-# NOINLINE wxEVT_COMMAND_TREE_GET_INFO #-}-wxEVT_COMMAND_TREE_GET_INFO ::  EventId-wxEVT_COMMAND_TREE_GET_INFO -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_TREE_GET_INFO -foreign import ccall "expEVT_COMMAND_TREE_GET_INFO" wx_expEVT_COMMAND_TREE_GET_INFO :: IO CInt---- | usage: (@wxEVT_COMMAND_TREE_ITEM_ACTIVATED@).-{-# NOINLINE wxEVT_COMMAND_TREE_ITEM_ACTIVATED #-}-wxEVT_COMMAND_TREE_ITEM_ACTIVATED ::  EventId-wxEVT_COMMAND_TREE_ITEM_ACTIVATED -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_TREE_ITEM_ACTIVATED -foreign import ccall "expEVT_COMMAND_TREE_ITEM_ACTIVATED" wx_expEVT_COMMAND_TREE_ITEM_ACTIVATED :: IO CInt---- | usage: (@wxEVT_COMMAND_TREE_ITEM_COLLAPSED@).-{-# NOINLINE wxEVT_COMMAND_TREE_ITEM_COLLAPSED #-}-wxEVT_COMMAND_TREE_ITEM_COLLAPSED ::  EventId-wxEVT_COMMAND_TREE_ITEM_COLLAPSED -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_TREE_ITEM_COLLAPSED -foreign import ccall "expEVT_COMMAND_TREE_ITEM_COLLAPSED" wx_expEVT_COMMAND_TREE_ITEM_COLLAPSED :: IO CInt---- | usage: (@wxEVT_COMMAND_TREE_ITEM_COLLAPSING@).-{-# NOINLINE wxEVT_COMMAND_TREE_ITEM_COLLAPSING #-}-wxEVT_COMMAND_TREE_ITEM_COLLAPSING ::  EventId-wxEVT_COMMAND_TREE_ITEM_COLLAPSING -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_TREE_ITEM_COLLAPSING -foreign import ccall "expEVT_COMMAND_TREE_ITEM_COLLAPSING" wx_expEVT_COMMAND_TREE_ITEM_COLLAPSING :: IO CInt---- | usage: (@wxEVT_COMMAND_TREE_ITEM_EXPANDED@).-{-# NOINLINE wxEVT_COMMAND_TREE_ITEM_EXPANDED #-}-wxEVT_COMMAND_TREE_ITEM_EXPANDED ::  EventId-wxEVT_COMMAND_TREE_ITEM_EXPANDED -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_TREE_ITEM_EXPANDED -foreign import ccall "expEVT_COMMAND_TREE_ITEM_EXPANDED" wx_expEVT_COMMAND_TREE_ITEM_EXPANDED :: IO CInt---- | usage: (@wxEVT_COMMAND_TREE_ITEM_EXPANDING@).-{-# NOINLINE wxEVT_COMMAND_TREE_ITEM_EXPANDING #-}-wxEVT_COMMAND_TREE_ITEM_EXPANDING ::  EventId-wxEVT_COMMAND_TREE_ITEM_EXPANDING -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_TREE_ITEM_EXPANDING -foreign import ccall "expEVT_COMMAND_TREE_ITEM_EXPANDING" wx_expEVT_COMMAND_TREE_ITEM_EXPANDING :: IO CInt---- | usage: (@wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK@).-{-# NOINLINE wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK #-}-wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK ::  EventId-wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK -foreign import ccall "expEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK" wx_expEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK :: IO CInt---- | usage: (@wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK@).-{-# NOINLINE wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK #-}-wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK ::  EventId-wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_TREE_ITEM_RIGHT_CLICK -foreign import ccall "expEVT_COMMAND_TREE_ITEM_RIGHT_CLICK" wx_expEVT_COMMAND_TREE_ITEM_RIGHT_CLICK :: IO CInt---- | usage: (@wxEVT_COMMAND_TREE_KEY_DOWN@).-{-# NOINLINE wxEVT_COMMAND_TREE_KEY_DOWN #-}-wxEVT_COMMAND_TREE_KEY_DOWN ::  EventId-wxEVT_COMMAND_TREE_KEY_DOWN -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_TREE_KEY_DOWN -foreign import ccall "expEVT_COMMAND_TREE_KEY_DOWN" wx_expEVT_COMMAND_TREE_KEY_DOWN :: IO CInt---- | usage: (@wxEVT_COMMAND_TREE_SEL_CHANGED@).-{-# NOINLINE wxEVT_COMMAND_TREE_SEL_CHANGED #-}-wxEVT_COMMAND_TREE_SEL_CHANGED ::  EventId-wxEVT_COMMAND_TREE_SEL_CHANGED -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_TREE_SEL_CHANGED -foreign import ccall "expEVT_COMMAND_TREE_SEL_CHANGED" wx_expEVT_COMMAND_TREE_SEL_CHANGED :: IO CInt---- | usage: (@wxEVT_COMMAND_TREE_SEL_CHANGING@).-{-# NOINLINE wxEVT_COMMAND_TREE_SEL_CHANGING #-}-wxEVT_COMMAND_TREE_SEL_CHANGING ::  EventId-wxEVT_COMMAND_TREE_SEL_CHANGING -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_TREE_SEL_CHANGING -foreign import ccall "expEVT_COMMAND_TREE_SEL_CHANGING" wx_expEVT_COMMAND_TREE_SEL_CHANGING :: IO CInt---- | usage: (@wxEVT_COMMAND_TREE_SET_INFO@).-{-# NOINLINE wxEVT_COMMAND_TREE_SET_INFO #-}-wxEVT_COMMAND_TREE_SET_INFO ::  EventId-wxEVT_COMMAND_TREE_SET_INFO -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_TREE_SET_INFO -foreign import ccall "expEVT_COMMAND_TREE_SET_INFO" wx_expEVT_COMMAND_TREE_SET_INFO :: IO CInt---- | usage: (@wxEVT_COMMAND_VLBOX_SELECTED@).-{-# NOINLINE wxEVT_COMMAND_VLBOX_SELECTED #-}-wxEVT_COMMAND_VLBOX_SELECTED ::  EventId-wxEVT_COMMAND_VLBOX_SELECTED -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMMAND_VLBOX_SELECTED -foreign import ccall "expEVT_COMMAND_VLBOX_SELECTED" wx_expEVT_COMMAND_VLBOX_SELECTED :: IO CInt---- | usage: (@wxEVT_COMPARE_ITEM@).-{-# NOINLINE wxEVT_COMPARE_ITEM #-}-wxEVT_COMPARE_ITEM ::  EventId-wxEVT_COMPARE_ITEM -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_COMPARE_ITEM -foreign import ccall "expEVT_COMPARE_ITEM" wx_expEVT_COMPARE_ITEM :: IO CInt---- | usage: (@wxEVT_CONTEXT_MENU@).-{-# NOINLINE wxEVT_CONTEXT_MENU #-}-wxEVT_CONTEXT_MENU ::  EventId-wxEVT_CONTEXT_MENU -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_CONTEXT_MENU -foreign import ccall "expEVT_CONTEXT_MENU" wx_expEVT_CONTEXT_MENU :: IO CInt---- | usage: (@wxEVT_CREATE@).-{-# NOINLINE wxEVT_CREATE #-}-wxEVT_CREATE ::  EventId-wxEVT_CREATE -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_CREATE -foreign import ccall "expEVT_CREATE" wx_expEVT_CREATE :: IO CInt---- | usage: (@wxEVT_DELETE@).-{-# NOINLINE wxEVT_DELETE #-}-wxEVT_DELETE ::  EventId-wxEVT_DELETE -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_DELETE -foreign import ccall "expEVT_DELETE" wx_expEVT_DELETE :: IO CInt---- | usage: (@wxEVT_DESTROY@).-{-# NOINLINE wxEVT_DESTROY #-}-wxEVT_DESTROY ::  EventId-wxEVT_DESTROY -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_DESTROY -foreign import ccall "expEVT_DESTROY" wx_expEVT_DESTROY :: IO CInt---- | usage: (@wxEVT_DETAILED_HELP@).-{-# NOINLINE wxEVT_DETAILED_HELP #-}-wxEVT_DETAILED_HELP ::  EventId-wxEVT_DETAILED_HELP -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_DETAILED_HELP -foreign import ccall "expEVT_DETAILED_HELP" wx_expEVT_DETAILED_HELP :: IO CInt---- | usage: (@wxEVT_DIALUP_CONNECTED@).-{-# NOINLINE wxEVT_DIALUP_CONNECTED #-}-wxEVT_DIALUP_CONNECTED ::  EventId-wxEVT_DIALUP_CONNECTED -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_DIALUP_CONNECTED -foreign import ccall "expEVT_DIALUP_CONNECTED" wx_expEVT_DIALUP_CONNECTED :: IO CInt---- | usage: (@wxEVT_DIALUP_DISCONNECTED@).-{-# NOINLINE wxEVT_DIALUP_DISCONNECTED #-}-wxEVT_DIALUP_DISCONNECTED ::  EventId-wxEVT_DIALUP_DISCONNECTED -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_DIALUP_DISCONNECTED -foreign import ccall "expEVT_DIALUP_DISCONNECTED" wx_expEVT_DIALUP_DISCONNECTED :: IO CInt---- | usage: (@wxEVT_DRAW_ITEM@).-{-# NOINLINE wxEVT_DRAW_ITEM #-}-wxEVT_DRAW_ITEM ::  EventId-wxEVT_DRAW_ITEM -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_DRAW_ITEM -foreign import ccall "expEVT_DRAW_ITEM" wx_expEVT_DRAW_ITEM :: IO CInt---- | usage: (@wxEVT_DROP_FILES@).-{-# NOINLINE wxEVT_DROP_FILES #-}-wxEVT_DROP_FILES ::  EventId-wxEVT_DROP_FILES -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_DROP_FILES -foreign import ccall "expEVT_DROP_FILES" wx_expEVT_DROP_FILES :: IO CInt---- | usage: (@wxEVT_END_PROCESS@).-{-# NOINLINE wxEVT_END_PROCESS #-}-wxEVT_END_PROCESS ::  EventId-wxEVT_END_PROCESS -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_END_PROCESS -foreign import ccall "expEVT_END_PROCESS" wx_expEVT_END_PROCESS :: IO CInt---- | usage: (@wxEVT_END_SESSION@).-{-# NOINLINE wxEVT_END_SESSION #-}-wxEVT_END_SESSION ::  EventId-wxEVT_END_SESSION -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_END_SESSION -foreign import ccall "expEVT_END_SESSION" wx_expEVT_END_SESSION :: IO CInt---- | usage: (@wxEVT_ENTER_WINDOW@).-{-# NOINLINE wxEVT_ENTER_WINDOW #-}-wxEVT_ENTER_WINDOW ::  EventId-wxEVT_ENTER_WINDOW -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_ENTER_WINDOW -foreign import ccall "expEVT_ENTER_WINDOW" wx_expEVT_ENTER_WINDOW :: IO CInt---- | usage: (@wxEVT_ERASE_BACKGROUND@).-{-# NOINLINE wxEVT_ERASE_BACKGROUND #-}-wxEVT_ERASE_BACKGROUND ::  EventId-wxEVT_ERASE_BACKGROUND -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_ERASE_BACKGROUND -foreign import ccall "expEVT_ERASE_BACKGROUND" wx_expEVT_ERASE_BACKGROUND :: IO CInt---- | usage: (@wxEVT_GRID_CELL_CHANGE@).-{-# NOINLINE wxEVT_GRID_CELL_CHANGE #-}-wxEVT_GRID_CELL_CHANGE ::  EventId-wxEVT_GRID_CELL_CHANGE -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_GRID_CELL_CHANGE -foreign import ccall "expEVT_GRID_CELL_CHANGE" wx_expEVT_GRID_CELL_CHANGE :: IO CInt---- | usage: (@wxEVT_GRID_CELL_LEFT_CLICK@).-{-# NOINLINE wxEVT_GRID_CELL_LEFT_CLICK #-}-wxEVT_GRID_CELL_LEFT_CLICK ::  EventId-wxEVT_GRID_CELL_LEFT_CLICK -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_GRID_CELL_LEFT_CLICK -foreign import ccall "expEVT_GRID_CELL_LEFT_CLICK" wx_expEVT_GRID_CELL_LEFT_CLICK :: IO CInt---- | usage: (@wxEVT_GRID_CELL_LEFT_DCLICK@).-{-# NOINLINE wxEVT_GRID_CELL_LEFT_DCLICK #-}-wxEVT_GRID_CELL_LEFT_DCLICK ::  EventId-wxEVT_GRID_CELL_LEFT_DCLICK -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_GRID_CELL_LEFT_DCLICK -foreign import ccall "expEVT_GRID_CELL_LEFT_DCLICK" wx_expEVT_GRID_CELL_LEFT_DCLICK :: IO CInt---- | usage: (@wxEVT_GRID_CELL_RIGHT_CLICK@).-{-# NOINLINE wxEVT_GRID_CELL_RIGHT_CLICK #-}-wxEVT_GRID_CELL_RIGHT_CLICK ::  EventId-wxEVT_GRID_CELL_RIGHT_CLICK -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_GRID_CELL_RIGHT_CLICK -foreign import ccall "expEVT_GRID_CELL_RIGHT_CLICK" wx_expEVT_GRID_CELL_RIGHT_CLICK :: IO CInt---- | usage: (@wxEVT_GRID_CELL_RIGHT_DCLICK@).-{-# NOINLINE wxEVT_GRID_CELL_RIGHT_DCLICK #-}-wxEVT_GRID_CELL_RIGHT_DCLICK ::  EventId-wxEVT_GRID_CELL_RIGHT_DCLICK -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_GRID_CELL_RIGHT_DCLICK -foreign import ccall "expEVT_GRID_CELL_RIGHT_DCLICK" wx_expEVT_GRID_CELL_RIGHT_DCLICK :: IO CInt---- | usage: (@wxEVT_GRID_COL_SIZE@).-{-# NOINLINE wxEVT_GRID_COL_SIZE #-}-wxEVT_GRID_COL_SIZE ::  EventId-wxEVT_GRID_COL_SIZE -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_GRID_COL_SIZE -foreign import ccall "expEVT_GRID_COL_SIZE" wx_expEVT_GRID_COL_SIZE :: IO CInt---- | usage: (@wxEVT_GRID_EDITOR_CREATED@).-{-# NOINLINE wxEVT_GRID_EDITOR_CREATED #-}-wxEVT_GRID_EDITOR_CREATED ::  EventId-wxEVT_GRID_EDITOR_CREATED -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_GRID_EDITOR_CREATED -foreign import ccall "expEVT_GRID_EDITOR_CREATED" wx_expEVT_GRID_EDITOR_CREATED :: IO CInt---- | usage: (@wxEVT_GRID_EDITOR_HIDDEN@).-{-# NOINLINE wxEVT_GRID_EDITOR_HIDDEN #-}-wxEVT_GRID_EDITOR_HIDDEN ::  EventId-wxEVT_GRID_EDITOR_HIDDEN -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_GRID_EDITOR_HIDDEN -foreign import ccall "expEVT_GRID_EDITOR_HIDDEN" wx_expEVT_GRID_EDITOR_HIDDEN :: IO CInt---- | usage: (@wxEVT_GRID_EDITOR_SHOWN@).-{-# NOINLINE wxEVT_GRID_EDITOR_SHOWN #-}-wxEVT_GRID_EDITOR_SHOWN ::  EventId-wxEVT_GRID_EDITOR_SHOWN -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_GRID_EDITOR_SHOWN -foreign import ccall "expEVT_GRID_EDITOR_SHOWN" wx_expEVT_GRID_EDITOR_SHOWN :: IO CInt---- | usage: (@wxEVT_GRID_LABEL_LEFT_CLICK@).-{-# NOINLINE wxEVT_GRID_LABEL_LEFT_CLICK #-}-wxEVT_GRID_LABEL_LEFT_CLICK ::  EventId-wxEVT_GRID_LABEL_LEFT_CLICK -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_GRID_LABEL_LEFT_CLICK -foreign import ccall "expEVT_GRID_LABEL_LEFT_CLICK" wx_expEVT_GRID_LABEL_LEFT_CLICK :: IO CInt---- | usage: (@wxEVT_GRID_LABEL_LEFT_DCLICK@).-{-# NOINLINE wxEVT_GRID_LABEL_LEFT_DCLICK #-}-wxEVT_GRID_LABEL_LEFT_DCLICK ::  EventId-wxEVT_GRID_LABEL_LEFT_DCLICK -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_GRID_LABEL_LEFT_DCLICK -foreign import ccall "expEVT_GRID_LABEL_LEFT_DCLICK" wx_expEVT_GRID_LABEL_LEFT_DCLICK :: IO CInt---- | usage: (@wxEVT_GRID_LABEL_RIGHT_CLICK@).-{-# NOINLINE wxEVT_GRID_LABEL_RIGHT_CLICK #-}-wxEVT_GRID_LABEL_RIGHT_CLICK ::  EventId-wxEVT_GRID_LABEL_RIGHT_CLICK -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_GRID_LABEL_RIGHT_CLICK -foreign import ccall "expEVT_GRID_LABEL_RIGHT_CLICK" wx_expEVT_GRID_LABEL_RIGHT_CLICK :: IO CInt---- | usage: (@wxEVT_GRID_LABEL_RIGHT_DCLICK@).-{-# NOINLINE wxEVT_GRID_LABEL_RIGHT_DCLICK #-}-wxEVT_GRID_LABEL_RIGHT_DCLICK ::  EventId-wxEVT_GRID_LABEL_RIGHT_DCLICK -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_GRID_LABEL_RIGHT_DCLICK -foreign import ccall "expEVT_GRID_LABEL_RIGHT_DCLICK" wx_expEVT_GRID_LABEL_RIGHT_DCLICK :: IO CInt---- | usage: (@wxEVT_GRID_RANGE_SELECT@).-{-# NOINLINE wxEVT_GRID_RANGE_SELECT #-}-wxEVT_GRID_RANGE_SELECT ::  EventId-wxEVT_GRID_RANGE_SELECT -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_GRID_RANGE_SELECT -foreign import ccall "expEVT_GRID_RANGE_SELECT" wx_expEVT_GRID_RANGE_SELECT :: IO CInt---- | usage: (@wxEVT_GRID_ROW_SIZE@).-{-# NOINLINE wxEVT_GRID_ROW_SIZE #-}-wxEVT_GRID_ROW_SIZE ::  EventId-wxEVT_GRID_ROW_SIZE -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_GRID_ROW_SIZE -foreign import ccall "expEVT_GRID_ROW_SIZE" wx_expEVT_GRID_ROW_SIZE :: IO CInt---- | usage: (@wxEVT_GRID_SELECT_CELL@).-{-# NOINLINE wxEVT_GRID_SELECT_CELL #-}-wxEVT_GRID_SELECT_CELL ::  EventId-wxEVT_GRID_SELECT_CELL -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_GRID_SELECT_CELL -foreign import ccall "expEVT_GRID_SELECT_CELL" wx_expEVT_GRID_SELECT_CELL :: IO CInt---- | usage: (@wxEVT_HELP@).-{-# NOINLINE wxEVT_HELP #-}-wxEVT_HELP ::  EventId-wxEVT_HELP -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_HELP -foreign import ccall "expEVT_HELP" wx_expEVT_HELP :: IO CInt---- | usage: (@wxEVT_HTML_CELL_CLICKED@).-{-# NOINLINE wxEVT_HTML_CELL_CLICKED #-}-wxEVT_HTML_CELL_CLICKED ::  EventId-wxEVT_HTML_CELL_CLICKED -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_HTML_CELL_CLICKED -foreign import ccall "expEVT_HTML_CELL_CLICKED" wx_expEVT_HTML_CELL_CLICKED :: IO CInt---- | usage: (@wxEVT_HTML_CELL_MOUSE_HOVER@).-{-# NOINLINE wxEVT_HTML_CELL_MOUSE_HOVER #-}-wxEVT_HTML_CELL_MOUSE_HOVER ::  EventId-wxEVT_HTML_CELL_MOUSE_HOVER -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_HTML_CELL_MOUSE_HOVER -foreign import ccall "expEVT_HTML_CELL_MOUSE_HOVER" wx_expEVT_HTML_CELL_MOUSE_HOVER :: IO CInt---- | usage: (@wxEVT_HTML_LINK_CLICKED@).-{-# NOINLINE wxEVT_HTML_LINK_CLICKED #-}-wxEVT_HTML_LINK_CLICKED ::  EventId-wxEVT_HTML_LINK_CLICKED -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_HTML_LINK_CLICKED -foreign import ccall "expEVT_HTML_LINK_CLICKED" wx_expEVT_HTML_LINK_CLICKED :: IO CInt---- | usage: (@wxEVT_HTML_SET_TITLE@).-{-# NOINLINE wxEVT_HTML_SET_TITLE #-}-wxEVT_HTML_SET_TITLE ::  EventId-wxEVT_HTML_SET_TITLE -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_HTML_SET_TITLE -foreign import ccall "expEVT_HTML_SET_TITLE" wx_expEVT_HTML_SET_TITLE :: IO CInt---- | usage: (@wxEVT_ICONIZE@).-{-# NOINLINE wxEVT_ICONIZE #-}-wxEVT_ICONIZE ::  EventId-wxEVT_ICONIZE -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_ICONIZE -foreign import ccall "expEVT_ICONIZE" wx_expEVT_ICONIZE :: IO CInt---- | usage: (@wxEVT_IDLE@).-{-# NOINLINE wxEVT_IDLE #-}-wxEVT_IDLE ::  EventId-wxEVT_IDLE -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_IDLE -foreign import ccall "expEVT_IDLE" wx_expEVT_IDLE :: IO CInt---- | usage: (@wxEVT_INIT_DIALOG@).-{-# NOINLINE wxEVT_INIT_DIALOG #-}-wxEVT_INIT_DIALOG ::  EventId-wxEVT_INIT_DIALOG -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_INIT_DIALOG -foreign import ccall "expEVT_INIT_DIALOG" wx_expEVT_INIT_DIALOG :: IO CInt---- | usage: (@wxEVT_INPUT_SINK@).-{-# NOINLINE wxEVT_INPUT_SINK #-}-wxEVT_INPUT_SINK ::  EventId-wxEVT_INPUT_SINK -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_INPUT_SINK -foreign import ccall "expEVT_INPUT_SINK" wx_expEVT_INPUT_SINK :: IO CInt---- | usage: (@wxEVT_KEY_DOWN@).-{-# NOINLINE wxEVT_KEY_DOWN #-}-wxEVT_KEY_DOWN ::  EventId-wxEVT_KEY_DOWN -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_KEY_DOWN -foreign import ccall "expEVT_KEY_DOWN" wx_expEVT_KEY_DOWN :: IO CInt---- | usage: (@wxEVT_KEY_UP@).-{-# NOINLINE wxEVT_KEY_UP #-}-wxEVT_KEY_UP ::  EventId-wxEVT_KEY_UP -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_KEY_UP -foreign import ccall "expEVT_KEY_UP" wx_expEVT_KEY_UP :: IO CInt---- | usage: (@wxEVT_KILL_FOCUS@).-{-# NOINLINE wxEVT_KILL_FOCUS #-}-wxEVT_KILL_FOCUS ::  EventId-wxEVT_KILL_FOCUS -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_KILL_FOCUS -foreign import ccall "expEVT_KILL_FOCUS" wx_expEVT_KILL_FOCUS :: IO CInt---- | usage: (@wxEVT_LEAVE_WINDOW@).-{-# NOINLINE wxEVT_LEAVE_WINDOW #-}-wxEVT_LEAVE_WINDOW ::  EventId-wxEVT_LEAVE_WINDOW -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_LEAVE_WINDOW -foreign import ccall "expEVT_LEAVE_WINDOW" wx_expEVT_LEAVE_WINDOW :: IO CInt---- | usage: (@wxEVT_LEFT_DCLICK@).-{-# NOINLINE wxEVT_LEFT_DCLICK #-}-wxEVT_LEFT_DCLICK ::  EventId-wxEVT_LEFT_DCLICK -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_LEFT_DCLICK -foreign import ccall "expEVT_LEFT_DCLICK" wx_expEVT_LEFT_DCLICK :: IO CInt---- | usage: (@wxEVT_LEFT_DOWN@).-{-# NOINLINE wxEVT_LEFT_DOWN #-}-wxEVT_LEFT_DOWN ::  EventId-wxEVT_LEFT_DOWN -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_LEFT_DOWN -foreign import ccall "expEVT_LEFT_DOWN" wx_expEVT_LEFT_DOWN :: IO CInt---- | usage: (@wxEVT_LEFT_UP@).-{-# NOINLINE wxEVT_LEFT_UP #-}-wxEVT_LEFT_UP ::  EventId-wxEVT_LEFT_UP -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_LEFT_UP -foreign import ccall "expEVT_LEFT_UP" wx_expEVT_LEFT_UP :: IO CInt---- | usage: (@wxEVT_MAXIMIZE@).-{-# NOINLINE wxEVT_MAXIMIZE #-}-wxEVT_MAXIMIZE ::  EventId-wxEVT_MAXIMIZE -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_MAXIMIZE -foreign import ccall "expEVT_MAXIMIZE" wx_expEVT_MAXIMIZE :: IO CInt---- | usage: (@wxEVT_MEASURE_ITEM@).-{-# NOINLINE wxEVT_MEASURE_ITEM #-}-wxEVT_MEASURE_ITEM ::  EventId-wxEVT_MEASURE_ITEM -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_MEASURE_ITEM -foreign import ccall "expEVT_MEASURE_ITEM" wx_expEVT_MEASURE_ITEM :: IO CInt---- | usage: (@wxEVT_MEDIA_FINISHED@).-{-# NOINLINE wxEVT_MEDIA_FINISHED #-}-wxEVT_MEDIA_FINISHED ::  EventId-wxEVT_MEDIA_FINISHED -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_MEDIA_FINISHED -foreign import ccall "expEVT_MEDIA_FINISHED" wx_expEVT_MEDIA_FINISHED :: IO CInt---- | usage: (@wxEVT_MEDIA_LOADED@).-{-# NOINLINE wxEVT_MEDIA_LOADED #-}-wxEVT_MEDIA_LOADED ::  EventId-wxEVT_MEDIA_LOADED -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_MEDIA_LOADED -foreign import ccall "expEVT_MEDIA_LOADED" wx_expEVT_MEDIA_LOADED :: IO CInt---- | usage: (@wxEVT_MEDIA_PAUSE@).-{-# NOINLINE wxEVT_MEDIA_PAUSE #-}-wxEVT_MEDIA_PAUSE ::  EventId-wxEVT_MEDIA_PAUSE -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_MEDIA_PAUSE -foreign import ccall "expEVT_MEDIA_PAUSE" wx_expEVT_MEDIA_PAUSE :: IO CInt---- | usage: (@wxEVT_MEDIA_PLAY@).-{-# NOINLINE wxEVT_MEDIA_PLAY #-}-wxEVT_MEDIA_PLAY ::  EventId-wxEVT_MEDIA_PLAY -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_MEDIA_PLAY -foreign import ccall "expEVT_MEDIA_PLAY" wx_expEVT_MEDIA_PLAY :: IO CInt---- | usage: (@wxEVT_MEDIA_STATECHANGED@).-{-# NOINLINE wxEVT_MEDIA_STATECHANGED #-}-wxEVT_MEDIA_STATECHANGED ::  EventId-wxEVT_MEDIA_STATECHANGED -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_MEDIA_STATECHANGED -foreign import ccall "expEVT_MEDIA_STATECHANGED" wx_expEVT_MEDIA_STATECHANGED :: IO CInt---- | usage: (@wxEVT_MEDIA_STOP@).-{-# NOINLINE wxEVT_MEDIA_STOP #-}-wxEVT_MEDIA_STOP ::  EventId-wxEVT_MEDIA_STOP -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_MEDIA_STOP -foreign import ccall "expEVT_MEDIA_STOP" wx_expEVT_MEDIA_STOP :: IO CInt---- | usage: (@wxEVT_MENU_CHAR@).-{-# NOINLINE wxEVT_MENU_CHAR #-}-wxEVT_MENU_CHAR ::  EventId-wxEVT_MENU_CHAR -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_MENU_CHAR -foreign import ccall "expEVT_MENU_CHAR" wx_expEVT_MENU_CHAR :: IO CInt---- | usage: (@wxEVT_MENU_HIGHLIGHT@).-{-# NOINLINE wxEVT_MENU_HIGHLIGHT #-}-wxEVT_MENU_HIGHLIGHT ::  EventId-wxEVT_MENU_HIGHLIGHT -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_MENU_HIGHLIGHT -foreign import ccall "expEVT_MENU_HIGHLIGHT" wx_expEVT_MENU_HIGHLIGHT :: IO CInt---- | usage: (@wxEVT_MENU_INIT@).-{-# NOINLINE wxEVT_MENU_INIT #-}-wxEVT_MENU_INIT ::  EventId-wxEVT_MENU_INIT -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_MENU_INIT -foreign import ccall "expEVT_MENU_INIT" wx_expEVT_MENU_INIT :: IO CInt---- | usage: (@wxEVT_MIDDLE_DCLICK@).-{-# NOINLINE wxEVT_MIDDLE_DCLICK #-}-wxEVT_MIDDLE_DCLICK ::  EventId-wxEVT_MIDDLE_DCLICK -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_MIDDLE_DCLICK -foreign import ccall "expEVT_MIDDLE_DCLICK" wx_expEVT_MIDDLE_DCLICK :: IO CInt---- | usage: (@wxEVT_MIDDLE_DOWN@).-{-# NOINLINE wxEVT_MIDDLE_DOWN #-}-wxEVT_MIDDLE_DOWN ::  EventId-wxEVT_MIDDLE_DOWN -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_MIDDLE_DOWN -foreign import ccall "expEVT_MIDDLE_DOWN" wx_expEVT_MIDDLE_DOWN :: IO CInt---- | usage: (@wxEVT_MIDDLE_UP@).-{-# NOINLINE wxEVT_MIDDLE_UP #-}-wxEVT_MIDDLE_UP ::  EventId-wxEVT_MIDDLE_UP -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_MIDDLE_UP -foreign import ccall "expEVT_MIDDLE_UP" wx_expEVT_MIDDLE_UP :: IO CInt---- | usage: (@wxEVT_MOTION@).-{-# NOINLINE wxEVT_MOTION #-}-wxEVT_MOTION ::  EventId-wxEVT_MOTION -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_MOTION -foreign import ccall "expEVT_MOTION" wx_expEVT_MOTION :: IO CInt---- | usage: (@wxEVT_MOUSEWHEEL@).-{-# NOINLINE wxEVT_MOUSEWHEEL #-}-wxEVT_MOUSEWHEEL ::  EventId-wxEVT_MOUSEWHEEL -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_MOUSEWHEEL -foreign import ccall "expEVT_MOUSEWHEEL" wx_expEVT_MOUSEWHEEL :: IO CInt---- | usage: (@wxEVT_MOUSE_CAPTURE_CHANGED@).-{-# NOINLINE wxEVT_MOUSE_CAPTURE_CHANGED #-}-wxEVT_MOUSE_CAPTURE_CHANGED ::  EventId-wxEVT_MOUSE_CAPTURE_CHANGED -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_MOUSE_CAPTURE_CHANGED -foreign import ccall "expEVT_MOUSE_CAPTURE_CHANGED" wx_expEVT_MOUSE_CAPTURE_CHANGED :: IO CInt---- | usage: (@wxEVT_MOVE@).-{-# NOINLINE wxEVT_MOVE #-}-wxEVT_MOVE ::  EventId-wxEVT_MOVE -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_MOVE -foreign import ccall "expEVT_MOVE" wx_expEVT_MOVE :: IO CInt---- | usage: (@wxEVT_NAVIGATION_KEY@).-{-# NOINLINE wxEVT_NAVIGATION_KEY #-}-wxEVT_NAVIGATION_KEY ::  EventId-wxEVT_NAVIGATION_KEY -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_NAVIGATION_KEY -foreign import ccall "expEVT_NAVIGATION_KEY" wx_expEVT_NAVIGATION_KEY :: IO CInt---- | usage: (@wxEVT_NC_ENTER_WINDOW@).-{-# NOINLINE wxEVT_NC_ENTER_WINDOW #-}-wxEVT_NC_ENTER_WINDOW ::  EventId-wxEVT_NC_ENTER_WINDOW -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_NC_ENTER_WINDOW -foreign import ccall "expEVT_NC_ENTER_WINDOW" wx_expEVT_NC_ENTER_WINDOW :: IO CInt---- | usage: (@wxEVT_NC_LEAVE_WINDOW@).-{-# NOINLINE wxEVT_NC_LEAVE_WINDOW #-}-wxEVT_NC_LEAVE_WINDOW ::  EventId-wxEVT_NC_LEAVE_WINDOW -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_NC_LEAVE_WINDOW -foreign import ccall "expEVT_NC_LEAVE_WINDOW" wx_expEVT_NC_LEAVE_WINDOW :: IO CInt---- | usage: (@wxEVT_NC_LEFT_DCLICK@).-{-# NOINLINE wxEVT_NC_LEFT_DCLICK #-}-wxEVT_NC_LEFT_DCLICK ::  EventId-wxEVT_NC_LEFT_DCLICK -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_NC_LEFT_DCLICK -foreign import ccall "expEVT_NC_LEFT_DCLICK" wx_expEVT_NC_LEFT_DCLICK :: IO CInt---- | usage: (@wxEVT_NC_LEFT_DOWN@).-{-# NOINLINE wxEVT_NC_LEFT_DOWN #-}-wxEVT_NC_LEFT_DOWN ::  EventId-wxEVT_NC_LEFT_DOWN -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_NC_LEFT_DOWN -foreign import ccall "expEVT_NC_LEFT_DOWN" wx_expEVT_NC_LEFT_DOWN :: IO CInt---- | usage: (@wxEVT_NC_LEFT_UP@).-{-# NOINLINE wxEVT_NC_LEFT_UP #-}-wxEVT_NC_LEFT_UP ::  EventId-wxEVT_NC_LEFT_UP -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_NC_LEFT_UP -foreign import ccall "expEVT_NC_LEFT_UP" wx_expEVT_NC_LEFT_UP :: IO CInt---- | usage: (@wxEVT_NC_MIDDLE_DCLICK@).-{-# NOINLINE wxEVT_NC_MIDDLE_DCLICK #-}-wxEVT_NC_MIDDLE_DCLICK ::  EventId-wxEVT_NC_MIDDLE_DCLICK -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_NC_MIDDLE_DCLICK -foreign import ccall "expEVT_NC_MIDDLE_DCLICK" wx_expEVT_NC_MIDDLE_DCLICK :: IO CInt---- | usage: (@wxEVT_NC_MIDDLE_DOWN@).-{-# NOINLINE wxEVT_NC_MIDDLE_DOWN #-}-wxEVT_NC_MIDDLE_DOWN ::  EventId-wxEVT_NC_MIDDLE_DOWN -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_NC_MIDDLE_DOWN -foreign import ccall "expEVT_NC_MIDDLE_DOWN" wx_expEVT_NC_MIDDLE_DOWN :: IO CInt---- | usage: (@wxEVT_NC_MIDDLE_UP@).-{-# NOINLINE wxEVT_NC_MIDDLE_UP #-}-wxEVT_NC_MIDDLE_UP ::  EventId-wxEVT_NC_MIDDLE_UP -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_NC_MIDDLE_UP -foreign import ccall "expEVT_NC_MIDDLE_UP" wx_expEVT_NC_MIDDLE_UP :: IO CInt---- | usage: (@wxEVT_NC_MOTION@).-{-# NOINLINE wxEVT_NC_MOTION #-}-wxEVT_NC_MOTION ::  EventId-wxEVT_NC_MOTION -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_NC_MOTION -foreign import ccall "expEVT_NC_MOTION" wx_expEVT_NC_MOTION :: IO CInt---- | usage: (@wxEVT_NC_PAINT@).-{-# NOINLINE wxEVT_NC_PAINT #-}-wxEVT_NC_PAINT ::  EventId-wxEVT_NC_PAINT -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_NC_PAINT -foreign import ccall "expEVT_NC_PAINT" wx_expEVT_NC_PAINT :: IO CInt---- | usage: (@wxEVT_NC_RIGHT_DCLICK@).-{-# NOINLINE wxEVT_NC_RIGHT_DCLICK #-}-wxEVT_NC_RIGHT_DCLICK ::  EventId-wxEVT_NC_RIGHT_DCLICK -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_NC_RIGHT_DCLICK -foreign import ccall "expEVT_NC_RIGHT_DCLICK" wx_expEVT_NC_RIGHT_DCLICK :: IO CInt---- | usage: (@wxEVT_NC_RIGHT_DOWN@).-{-# NOINLINE wxEVT_NC_RIGHT_DOWN #-}-wxEVT_NC_RIGHT_DOWN ::  EventId-wxEVT_NC_RIGHT_DOWN -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_NC_RIGHT_DOWN -foreign import ccall "expEVT_NC_RIGHT_DOWN" wx_expEVT_NC_RIGHT_DOWN :: IO CInt---- | usage: (@wxEVT_NC_RIGHT_UP@).-{-# NOINLINE wxEVT_NC_RIGHT_UP #-}-wxEVT_NC_RIGHT_UP ::  EventId-wxEVT_NC_RIGHT_UP -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_NC_RIGHT_UP -foreign import ccall "expEVT_NC_RIGHT_UP" wx_expEVT_NC_RIGHT_UP :: IO CInt---- | usage: (@wxEVT_PAINT@).-{-# NOINLINE wxEVT_PAINT #-}-wxEVT_PAINT ::  EventId-wxEVT_PAINT -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_PAINT -foreign import ccall "expEVT_PAINT" wx_expEVT_PAINT :: IO CInt---- | usage: (@wxEVT_PAINT_ICON@).-{-# NOINLINE wxEVT_PAINT_ICON #-}-wxEVT_PAINT_ICON ::  EventId-wxEVT_PAINT_ICON -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_PAINT_ICON -foreign import ccall "expEVT_PAINT_ICON" wx_expEVT_PAINT_ICON :: IO CInt---- | usage: (@wxEVT_PALETTE_CHANGED@).-{-# NOINLINE wxEVT_PALETTE_CHANGED #-}-wxEVT_PALETTE_CHANGED ::  EventId-wxEVT_PALETTE_CHANGED -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_PALETTE_CHANGED -foreign import ccall "expEVT_PALETTE_CHANGED" wx_expEVT_PALETTE_CHANGED :: IO CInt---- | usage: (@wxEVT_POPUP_MENU_INIT@).-{-# NOINLINE wxEVT_POPUP_MENU_INIT #-}-wxEVT_POPUP_MENU_INIT ::  EventId-wxEVT_POPUP_MENU_INIT -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_POPUP_MENU_INIT -foreign import ccall "expEVT_POPUP_MENU_INIT" wx_expEVT_POPUP_MENU_INIT :: IO CInt---- | usage: (@wxEVT_POWER@).-{-# NOINLINE wxEVT_POWER #-}-wxEVT_POWER ::  EventId-wxEVT_POWER -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_POWER -foreign import ccall "expEVT_POWER" wx_expEVT_POWER :: IO CInt---- | usage: (@wxEVT_POWER_RESUME@).-{-# NOINLINE wxEVT_POWER_RESUME #-}-wxEVT_POWER_RESUME ::  EventId-wxEVT_POWER_RESUME -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_POWER_RESUME -foreign import ccall "expEVT_POWER_RESUME" wx_expEVT_POWER_RESUME :: IO CInt---- | usage: (@wxEVT_POWER_SUSPENDED@).-{-# NOINLINE wxEVT_POWER_SUSPENDED #-}-wxEVT_POWER_SUSPENDED ::  EventId-wxEVT_POWER_SUSPENDED -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_POWER_SUSPENDED -foreign import ccall "expEVT_POWER_SUSPENDED" wx_expEVT_POWER_SUSPENDED :: IO CInt---- | usage: (@wxEVT_POWER_SUSPENDING@).-{-# NOINLINE wxEVT_POWER_SUSPENDING #-}-wxEVT_POWER_SUSPENDING ::  EventId-wxEVT_POWER_SUSPENDING -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_POWER_SUSPENDING -foreign import ccall "expEVT_POWER_SUSPENDING" wx_expEVT_POWER_SUSPENDING :: IO CInt---- | usage: (@wxEVT_POWER_SUSPEND_CANCEL@).-{-# NOINLINE wxEVT_POWER_SUSPEND_CANCEL #-}-wxEVT_POWER_SUSPEND_CANCEL ::  EventId-wxEVT_POWER_SUSPEND_CANCEL -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_POWER_SUSPEND_CANCEL -foreign import ccall "expEVT_POWER_SUSPEND_CANCEL" wx_expEVT_POWER_SUSPEND_CANCEL :: IO CInt---- | usage: (@wxEVT_PRINT_BEGIN@).-{-# NOINLINE wxEVT_PRINT_BEGIN #-}-wxEVT_PRINT_BEGIN ::  EventId-wxEVT_PRINT_BEGIN -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_PRINT_BEGIN -foreign import ccall "expEVT_PRINT_BEGIN" wx_expEVT_PRINT_BEGIN :: IO CInt---- | usage: (@wxEVT_PRINT_BEGIN_DOC@).-{-# NOINLINE wxEVT_PRINT_BEGIN_DOC #-}-wxEVT_PRINT_BEGIN_DOC ::  EventId-wxEVT_PRINT_BEGIN_DOC -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_PRINT_BEGIN_DOC -foreign import ccall "expEVT_PRINT_BEGIN_DOC" wx_expEVT_PRINT_BEGIN_DOC :: IO CInt---- | usage: (@wxEVT_PRINT_END@).-{-# NOINLINE wxEVT_PRINT_END #-}-wxEVT_PRINT_END ::  EventId-wxEVT_PRINT_END -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_PRINT_END -foreign import ccall "expEVT_PRINT_END" wx_expEVT_PRINT_END :: IO CInt---- | usage: (@wxEVT_PRINT_END_DOC@).-{-# NOINLINE wxEVT_PRINT_END_DOC #-}-wxEVT_PRINT_END_DOC ::  EventId-wxEVT_PRINT_END_DOC -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_PRINT_END_DOC -foreign import ccall "expEVT_PRINT_END_DOC" wx_expEVT_PRINT_END_DOC :: IO CInt---- | usage: (@wxEVT_PRINT_PAGE@).-{-# NOINLINE wxEVT_PRINT_PAGE #-}-wxEVT_PRINT_PAGE ::  EventId-wxEVT_PRINT_PAGE -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_PRINT_PAGE -foreign import ccall "expEVT_PRINT_PAGE" wx_expEVT_PRINT_PAGE :: IO CInt---- | usage: (@wxEVT_PRINT_PREPARE@).-{-# NOINLINE wxEVT_PRINT_PREPARE #-}-wxEVT_PRINT_PREPARE ::  EventId-wxEVT_PRINT_PREPARE -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_PRINT_PREPARE -foreign import ccall "expEVT_PRINT_PREPARE" wx_expEVT_PRINT_PREPARE :: IO CInt---- | usage: (@wxEVT_QUERY_END_SESSION@).-{-# NOINLINE wxEVT_QUERY_END_SESSION #-}-wxEVT_QUERY_END_SESSION ::  EventId-wxEVT_QUERY_END_SESSION -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_QUERY_END_SESSION -foreign import ccall "expEVT_QUERY_END_SESSION" wx_expEVT_QUERY_END_SESSION :: IO CInt---- | usage: (@wxEVT_QUERY_NEW_PALETTE@).-{-# NOINLINE wxEVT_QUERY_NEW_PALETTE #-}-wxEVT_QUERY_NEW_PALETTE ::  EventId-wxEVT_QUERY_NEW_PALETTE -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_QUERY_NEW_PALETTE -foreign import ccall "expEVT_QUERY_NEW_PALETTE" wx_expEVT_QUERY_NEW_PALETTE :: IO CInt---- | usage: (@wxEVT_RIGHT_DCLICK@).-{-# NOINLINE wxEVT_RIGHT_DCLICK #-}-wxEVT_RIGHT_DCLICK ::  EventId-wxEVT_RIGHT_DCLICK -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_RIGHT_DCLICK -foreign import ccall "expEVT_RIGHT_DCLICK" wx_expEVT_RIGHT_DCLICK :: IO CInt---- | usage: (@wxEVT_RIGHT_DOWN@).-{-# NOINLINE wxEVT_RIGHT_DOWN #-}-wxEVT_RIGHT_DOWN ::  EventId-wxEVT_RIGHT_DOWN -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_RIGHT_DOWN -foreign import ccall "expEVT_RIGHT_DOWN" wx_expEVT_RIGHT_DOWN :: IO CInt---- | usage: (@wxEVT_RIGHT_UP@).-{-# NOINLINE wxEVT_RIGHT_UP #-}-wxEVT_RIGHT_UP ::  EventId-wxEVT_RIGHT_UP -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_RIGHT_UP -foreign import ccall "expEVT_RIGHT_UP" wx_expEVT_RIGHT_UP :: IO CInt---- | usage: (@wxEVT_SCROLLWIN_BOTTOM@).-{-# NOINLINE wxEVT_SCROLLWIN_BOTTOM #-}-wxEVT_SCROLLWIN_BOTTOM ::  EventId-wxEVT_SCROLLWIN_BOTTOM -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_SCROLLWIN_BOTTOM -foreign import ccall "expEVT_SCROLLWIN_BOTTOM" wx_expEVT_SCROLLWIN_BOTTOM :: IO CInt---- | usage: (@wxEVT_SCROLLWIN_LINEDOWN@).-{-# NOINLINE wxEVT_SCROLLWIN_LINEDOWN #-}-wxEVT_SCROLLWIN_LINEDOWN ::  EventId-wxEVT_SCROLLWIN_LINEDOWN -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_SCROLLWIN_LINEDOWN -foreign import ccall "expEVT_SCROLLWIN_LINEDOWN" wx_expEVT_SCROLLWIN_LINEDOWN :: IO CInt---- | usage: (@wxEVT_SCROLLWIN_LINEUP@).-{-# NOINLINE wxEVT_SCROLLWIN_LINEUP #-}-wxEVT_SCROLLWIN_LINEUP ::  EventId-wxEVT_SCROLLWIN_LINEUP -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_SCROLLWIN_LINEUP -foreign import ccall "expEVT_SCROLLWIN_LINEUP" wx_expEVT_SCROLLWIN_LINEUP :: IO CInt---- | usage: (@wxEVT_SCROLLWIN_PAGEDOWN@).-{-# NOINLINE wxEVT_SCROLLWIN_PAGEDOWN #-}-wxEVT_SCROLLWIN_PAGEDOWN ::  EventId-wxEVT_SCROLLWIN_PAGEDOWN -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_SCROLLWIN_PAGEDOWN -foreign import ccall "expEVT_SCROLLWIN_PAGEDOWN" wx_expEVT_SCROLLWIN_PAGEDOWN :: IO CInt---- | usage: (@wxEVT_SCROLLWIN_PAGEUP@).-{-# NOINLINE wxEVT_SCROLLWIN_PAGEUP #-}-wxEVT_SCROLLWIN_PAGEUP ::  EventId-wxEVT_SCROLLWIN_PAGEUP -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_SCROLLWIN_PAGEUP -foreign import ccall "expEVT_SCROLLWIN_PAGEUP" wx_expEVT_SCROLLWIN_PAGEUP :: IO CInt---- | usage: (@wxEVT_SCROLLWIN_THUMBRELEASE@).-{-# NOINLINE wxEVT_SCROLLWIN_THUMBRELEASE #-}-wxEVT_SCROLLWIN_THUMBRELEASE ::  EventId-wxEVT_SCROLLWIN_THUMBRELEASE -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_SCROLLWIN_THUMBRELEASE -foreign import ccall "expEVT_SCROLLWIN_THUMBRELEASE" wx_expEVT_SCROLLWIN_THUMBRELEASE :: IO CInt---- | usage: (@wxEVT_SCROLLWIN_THUMBTRACK@).-{-# NOINLINE wxEVT_SCROLLWIN_THUMBTRACK #-}-wxEVT_SCROLLWIN_THUMBTRACK ::  EventId-wxEVT_SCROLLWIN_THUMBTRACK -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_SCROLLWIN_THUMBTRACK -foreign import ccall "expEVT_SCROLLWIN_THUMBTRACK" wx_expEVT_SCROLLWIN_THUMBTRACK :: IO CInt---- | usage: (@wxEVT_SCROLLWIN_TOP@).-{-# NOINLINE wxEVT_SCROLLWIN_TOP #-}-wxEVT_SCROLLWIN_TOP ::  EventId-wxEVT_SCROLLWIN_TOP -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_SCROLLWIN_TOP -foreign import ccall "expEVT_SCROLLWIN_TOP" wx_expEVT_SCROLLWIN_TOP :: IO CInt---- | usage: (@wxEVT_SCROLL_BOTTOM@).-{-# NOINLINE wxEVT_SCROLL_BOTTOM #-}-wxEVT_SCROLL_BOTTOM ::  EventId-wxEVT_SCROLL_BOTTOM -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_SCROLL_BOTTOM -foreign import ccall "expEVT_SCROLL_BOTTOM" wx_expEVT_SCROLL_BOTTOM :: IO CInt---- | usage: (@wxEVT_SCROLL_LINEDOWN@).-{-# NOINLINE wxEVT_SCROLL_LINEDOWN #-}-wxEVT_SCROLL_LINEDOWN ::  EventId-wxEVT_SCROLL_LINEDOWN -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_SCROLL_LINEDOWN -foreign import ccall "expEVT_SCROLL_LINEDOWN" wx_expEVT_SCROLL_LINEDOWN :: IO CInt---- | usage: (@wxEVT_SCROLL_LINEUP@).-{-# NOINLINE wxEVT_SCROLL_LINEUP #-}-wxEVT_SCROLL_LINEUP ::  EventId-wxEVT_SCROLL_LINEUP -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_SCROLL_LINEUP -foreign import ccall "expEVT_SCROLL_LINEUP" wx_expEVT_SCROLL_LINEUP :: IO CInt---- | usage: (@wxEVT_SCROLL_PAGEDOWN@).-{-# NOINLINE wxEVT_SCROLL_PAGEDOWN #-}-wxEVT_SCROLL_PAGEDOWN ::  EventId-wxEVT_SCROLL_PAGEDOWN -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_SCROLL_PAGEDOWN -foreign import ccall "expEVT_SCROLL_PAGEDOWN" wx_expEVT_SCROLL_PAGEDOWN :: IO CInt---- | usage: (@wxEVT_SCROLL_PAGEUP@).-{-# NOINLINE wxEVT_SCROLL_PAGEUP #-}-wxEVT_SCROLL_PAGEUP ::  EventId-wxEVT_SCROLL_PAGEUP -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_SCROLL_PAGEUP -foreign import ccall "expEVT_SCROLL_PAGEUP" wx_expEVT_SCROLL_PAGEUP :: IO CInt---- | usage: (@wxEVT_SCROLL_THUMBRELEASE@).-{-# NOINLINE wxEVT_SCROLL_THUMBRELEASE #-}-wxEVT_SCROLL_THUMBRELEASE ::  EventId-wxEVT_SCROLL_THUMBRELEASE -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_SCROLL_THUMBRELEASE -foreign import ccall "expEVT_SCROLL_THUMBRELEASE" wx_expEVT_SCROLL_THUMBRELEASE :: IO CInt---- | usage: (@wxEVT_SCROLL_THUMBTRACK@).-{-# NOINLINE wxEVT_SCROLL_THUMBTRACK #-}-wxEVT_SCROLL_THUMBTRACK ::  EventId-wxEVT_SCROLL_THUMBTRACK -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_SCROLL_THUMBTRACK -foreign import ccall "expEVT_SCROLL_THUMBTRACK" wx_expEVT_SCROLL_THUMBTRACK :: IO CInt---- | usage: (@wxEVT_SCROLL_TOP@).-{-# NOINLINE wxEVT_SCROLL_TOP #-}-wxEVT_SCROLL_TOP ::  EventId-wxEVT_SCROLL_TOP -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_SCROLL_TOP -foreign import ccall "expEVT_SCROLL_TOP" wx_expEVT_SCROLL_TOP :: IO CInt---- | usage: (@wxEVT_SETTING_CHANGED@).-{-# NOINLINE wxEVT_SETTING_CHANGED #-}-wxEVT_SETTING_CHANGED ::  EventId-wxEVT_SETTING_CHANGED -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_SETTING_CHANGED -foreign import ccall "expEVT_SETTING_CHANGED" wx_expEVT_SETTING_CHANGED :: IO CInt---- | usage: (@wxEVT_SET_CURSOR@).-{-# NOINLINE wxEVT_SET_CURSOR #-}-wxEVT_SET_CURSOR ::  EventId-wxEVT_SET_CURSOR -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_SET_CURSOR -foreign import ccall "expEVT_SET_CURSOR" wx_expEVT_SET_CURSOR :: IO CInt---- | usage: (@wxEVT_SET_FOCUS@).-{-# NOINLINE wxEVT_SET_FOCUS #-}-wxEVT_SET_FOCUS ::  EventId-wxEVT_SET_FOCUS -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_SET_FOCUS -foreign import ccall "expEVT_SET_FOCUS" wx_expEVT_SET_FOCUS :: IO CInt---- | usage: (@wxEVT_SHOW@).-{-# NOINLINE wxEVT_SHOW #-}-wxEVT_SHOW ::  EventId-wxEVT_SHOW -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_SHOW -foreign import ccall "expEVT_SHOW" wx_expEVT_SHOW :: IO CInt---- | usage: (@wxEVT_SIZE@).-{-# NOINLINE wxEVT_SIZE #-}-wxEVT_SIZE ::  EventId-wxEVT_SIZE -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_SIZE -foreign import ccall "expEVT_SIZE" wx_expEVT_SIZE :: IO CInt---- | usage: (@wxEVT_SOCKET@).-{-# NOINLINE wxEVT_SOCKET #-}-wxEVT_SOCKET ::  EventId-wxEVT_SOCKET -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_SOCKET -foreign import ccall "expEVT_SOCKET" wx_expEVT_SOCKET :: IO CInt---- | usage: (@wxEVT_SORT@).-{-# NOINLINE wxEVT_SORT #-}-wxEVT_SORT ::  EventId-wxEVT_SORT -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_SORT -foreign import ccall "expEVT_SORT" wx_expEVT_SORT :: IO CInt---- | usage: (@wxEVT_STC_AUTOCOMP_SELECTION@).-{-# NOINLINE wxEVT_STC_AUTOCOMP_SELECTION #-}-wxEVT_STC_AUTOCOMP_SELECTION ::  EventId-wxEVT_STC_AUTOCOMP_SELECTION -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_STC_AUTOCOMP_SELECTION -foreign import ccall "expEVT_STC_AUTOCOMP_SELECTION" wx_expEVT_STC_AUTOCOMP_SELECTION :: IO CInt---- | usage: (@wxEVT_STC_CALLTIP_CLICK@).-{-# NOINLINE wxEVT_STC_CALLTIP_CLICK #-}-wxEVT_STC_CALLTIP_CLICK ::  EventId-wxEVT_STC_CALLTIP_CLICK -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_STC_CALLTIP_CLICK -foreign import ccall "expEVT_STC_CALLTIP_CLICK" wx_expEVT_STC_CALLTIP_CLICK :: IO CInt---- | usage: (@wxEVT_STC_CHANGE@).-{-# NOINLINE wxEVT_STC_CHANGE #-}-wxEVT_STC_CHANGE ::  EventId-wxEVT_STC_CHANGE -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_STC_CHANGE -foreign import ccall "expEVT_STC_CHANGE" wx_expEVT_STC_CHANGE :: IO CInt---- | usage: (@wxEVT_STC_CHARADDED@).-{-# NOINLINE wxEVT_STC_CHARADDED #-}-wxEVT_STC_CHARADDED ::  EventId-wxEVT_STC_CHARADDED -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_STC_CHARADDED -foreign import ccall "expEVT_STC_CHARADDED" wx_expEVT_STC_CHARADDED :: IO CInt---- | usage: (@wxEVT_STC_DOUBLECLICK@).-{-# NOINLINE wxEVT_STC_DOUBLECLICK #-}-wxEVT_STC_DOUBLECLICK ::  EventId-wxEVT_STC_DOUBLECLICK -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_STC_DOUBLECLICK -foreign import ccall "expEVT_STC_DOUBLECLICK" wx_expEVT_STC_DOUBLECLICK :: IO CInt---- | usage: (@wxEVT_STC_DO_DROP@).-{-# NOINLINE wxEVT_STC_DO_DROP #-}-wxEVT_STC_DO_DROP ::  EventId-wxEVT_STC_DO_DROP -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_STC_DO_DROP -foreign import ccall "expEVT_STC_DO_DROP" wx_expEVT_STC_DO_DROP :: IO CInt---- | usage: (@wxEVT_STC_DRAG_OVER@).-{-# NOINLINE wxEVT_STC_DRAG_OVER #-}-wxEVT_STC_DRAG_OVER ::  EventId-wxEVT_STC_DRAG_OVER -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_STC_DRAG_OVER -foreign import ccall "expEVT_STC_DRAG_OVER" wx_expEVT_STC_DRAG_OVER :: IO CInt---- | usage: (@wxEVT_STC_DWELLEND@).-{-# NOINLINE wxEVT_STC_DWELLEND #-}-wxEVT_STC_DWELLEND ::  EventId-wxEVT_STC_DWELLEND -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_STC_DWELLEND -foreign import ccall "expEVT_STC_DWELLEND" wx_expEVT_STC_DWELLEND :: IO CInt---- | usage: (@wxEVT_STC_DWELLSTART@).-{-# NOINLINE wxEVT_STC_DWELLSTART #-}-wxEVT_STC_DWELLSTART ::  EventId-wxEVT_STC_DWELLSTART -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_STC_DWELLSTART -foreign import ccall "expEVT_STC_DWELLSTART" wx_expEVT_STC_DWELLSTART :: IO CInt---- | usage: (@wxEVT_STC_HOTSPOT_CLICK@).-{-# NOINLINE wxEVT_STC_HOTSPOT_CLICK #-}-wxEVT_STC_HOTSPOT_CLICK ::  EventId-wxEVT_STC_HOTSPOT_CLICK -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_STC_HOTSPOT_CLICK -foreign import ccall "expEVT_STC_HOTSPOT_CLICK" wx_expEVT_STC_HOTSPOT_CLICK :: IO CInt---- | usage: (@wxEVT_STC_HOTSPOT_DCLICK@).-{-# NOINLINE wxEVT_STC_HOTSPOT_DCLICK #-}-wxEVT_STC_HOTSPOT_DCLICK ::  EventId-wxEVT_STC_HOTSPOT_DCLICK -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_STC_HOTSPOT_DCLICK -foreign import ccall "expEVT_STC_HOTSPOT_DCLICK" wx_expEVT_STC_HOTSPOT_DCLICK :: IO CInt---- | usage: (@wxEVT_STC_KEY@).-{-# NOINLINE wxEVT_STC_KEY #-}-wxEVT_STC_KEY ::  EventId-wxEVT_STC_KEY -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_STC_KEY -foreign import ccall "expEVT_STC_KEY" wx_expEVT_STC_KEY :: IO CInt---- | usage: (@wxEVT_STC_MACRORECORD@).-{-# NOINLINE wxEVT_STC_MACRORECORD #-}-wxEVT_STC_MACRORECORD ::  EventId-wxEVT_STC_MACRORECORD -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_STC_MACRORECORD -foreign import ccall "expEVT_STC_MACRORECORD" wx_expEVT_STC_MACRORECORD :: IO CInt---- | usage: (@wxEVT_STC_MARGINCLICK@).-{-# NOINLINE wxEVT_STC_MARGINCLICK #-}-wxEVT_STC_MARGINCLICK ::  EventId-wxEVT_STC_MARGINCLICK -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_STC_MARGINCLICK -foreign import ccall "expEVT_STC_MARGINCLICK" wx_expEVT_STC_MARGINCLICK :: IO CInt---- | usage: (@wxEVT_STC_MODIFIED@).-{-# NOINLINE wxEVT_STC_MODIFIED #-}-wxEVT_STC_MODIFIED ::  EventId-wxEVT_STC_MODIFIED -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_STC_MODIFIED -foreign import ccall "expEVT_STC_MODIFIED" wx_expEVT_STC_MODIFIED :: IO CInt---- | usage: (@wxEVT_STC_NEEDSHOWN@).-{-# NOINLINE wxEVT_STC_NEEDSHOWN #-}-wxEVT_STC_NEEDSHOWN ::  EventId-wxEVT_STC_NEEDSHOWN -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_STC_NEEDSHOWN -foreign import ccall "expEVT_STC_NEEDSHOWN" wx_expEVT_STC_NEEDSHOWN :: IO CInt---- | usage: (@wxEVT_STC_PAINTED@).-{-# NOINLINE wxEVT_STC_PAINTED #-}-wxEVT_STC_PAINTED ::  EventId-wxEVT_STC_PAINTED -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_STC_PAINTED -foreign import ccall "expEVT_STC_PAINTED" wx_expEVT_STC_PAINTED :: IO CInt---- | usage: (@wxEVT_STC_ROMODIFYATTEMPT@).-{-# NOINLINE wxEVT_STC_ROMODIFYATTEMPT #-}-wxEVT_STC_ROMODIFYATTEMPT ::  EventId-wxEVT_STC_ROMODIFYATTEMPT -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_STC_ROMODIFYATTEMPT -foreign import ccall "expEVT_STC_ROMODIFYATTEMPT" wx_expEVT_STC_ROMODIFYATTEMPT :: IO CInt---- | usage: (@wxEVT_STC_SAVEPOINTLEFT@).-{-# NOINLINE wxEVT_STC_SAVEPOINTLEFT #-}-wxEVT_STC_SAVEPOINTLEFT ::  EventId-wxEVT_STC_SAVEPOINTLEFT -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_STC_SAVEPOINTLEFT -foreign import ccall "expEVT_STC_SAVEPOINTLEFT" wx_expEVT_STC_SAVEPOINTLEFT :: IO CInt---- | usage: (@wxEVT_STC_SAVEPOINTREACHED@).-{-# NOINLINE wxEVT_STC_SAVEPOINTREACHED #-}-wxEVT_STC_SAVEPOINTREACHED ::  EventId-wxEVT_STC_SAVEPOINTREACHED -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_STC_SAVEPOINTREACHED -foreign import ccall "expEVT_STC_SAVEPOINTREACHED" wx_expEVT_STC_SAVEPOINTREACHED :: IO CInt---- | usage: (@wxEVT_STC_START_DRAG@).-{-# NOINLINE wxEVT_STC_START_DRAG #-}-wxEVT_STC_START_DRAG ::  EventId-wxEVT_STC_START_DRAG -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_STC_START_DRAG -foreign import ccall "expEVT_STC_START_DRAG" wx_expEVT_STC_START_DRAG :: IO CInt---- | usage: (@wxEVT_STC_STYLENEEDED@).-{-# NOINLINE wxEVT_STC_STYLENEEDED #-}-wxEVT_STC_STYLENEEDED ::  EventId-wxEVT_STC_STYLENEEDED -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_STC_STYLENEEDED -foreign import ccall "expEVT_STC_STYLENEEDED" wx_expEVT_STC_STYLENEEDED :: IO CInt---- | usage: (@wxEVT_STC_UPDATEUI@).-{-# NOINLINE wxEVT_STC_UPDATEUI #-}-wxEVT_STC_UPDATEUI ::  EventId-wxEVT_STC_UPDATEUI -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_STC_UPDATEUI -foreign import ccall "expEVT_STC_UPDATEUI" wx_expEVT_STC_UPDATEUI :: IO CInt---- | usage: (@wxEVT_STC_URIDROPPED@).-{-# NOINLINE wxEVT_STC_URIDROPPED #-}-wxEVT_STC_URIDROPPED ::  EventId-wxEVT_STC_URIDROPPED -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_STC_URIDROPPED -foreign import ccall "expEVT_STC_URIDROPPED" wx_expEVT_STC_URIDROPPED :: IO CInt---- | usage: (@wxEVT_STC_USERLISTSELECTION@).-{-# NOINLINE wxEVT_STC_USERLISTSELECTION #-}-wxEVT_STC_USERLISTSELECTION ::  EventId-wxEVT_STC_USERLISTSELECTION -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_STC_USERLISTSELECTION -foreign import ccall "expEVT_STC_USERLISTSELECTION" wx_expEVT_STC_USERLISTSELECTION :: IO CInt---- | usage: (@wxEVT_STC_ZOOM@).-{-# NOINLINE wxEVT_STC_ZOOM #-}-wxEVT_STC_ZOOM ::  EventId-wxEVT_STC_ZOOM -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_STC_ZOOM -foreign import ccall "expEVT_STC_ZOOM" wx_expEVT_STC_ZOOM :: IO CInt---- | usage: (@wxEVT_SYS_COLOUR_CHANGED@).-{-# NOINLINE wxEVT_SYS_COLOUR_CHANGED #-}-wxEVT_SYS_COLOUR_CHANGED ::  EventId-wxEVT_SYS_COLOUR_CHANGED -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_SYS_COLOUR_CHANGED -foreign import ccall "expEVT_SYS_COLOUR_CHANGED" wx_expEVT_SYS_COLOUR_CHANGED :: IO CInt---- | usage: (@wxEVT_TASKBAR_LEFT_DCLICK@).-{-# NOINLINE wxEVT_TASKBAR_LEFT_DCLICK #-}-wxEVT_TASKBAR_LEFT_DCLICK ::  EventId-wxEVT_TASKBAR_LEFT_DCLICK -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_TASKBAR_LEFT_DCLICK -foreign import ccall "expEVT_TASKBAR_LEFT_DCLICK" wx_expEVT_TASKBAR_LEFT_DCLICK :: IO CInt---- | usage: (@wxEVT_TASKBAR_LEFT_DOWN@).-{-# NOINLINE wxEVT_TASKBAR_LEFT_DOWN #-}-wxEVT_TASKBAR_LEFT_DOWN ::  EventId-wxEVT_TASKBAR_LEFT_DOWN -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_TASKBAR_LEFT_DOWN -foreign import ccall "expEVT_TASKBAR_LEFT_DOWN" wx_expEVT_TASKBAR_LEFT_DOWN :: IO CInt---- | usage: (@wxEVT_TASKBAR_LEFT_UP@).-{-# NOINLINE wxEVT_TASKBAR_LEFT_UP #-}-wxEVT_TASKBAR_LEFT_UP ::  EventId-wxEVT_TASKBAR_LEFT_UP -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_TASKBAR_LEFT_UP -foreign import ccall "expEVT_TASKBAR_LEFT_UP" wx_expEVT_TASKBAR_LEFT_UP :: IO CInt---- | usage: (@wxEVT_TASKBAR_MOVE@).-{-# NOINLINE wxEVT_TASKBAR_MOVE #-}-wxEVT_TASKBAR_MOVE ::  EventId-wxEVT_TASKBAR_MOVE -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_TASKBAR_MOVE -foreign import ccall "expEVT_TASKBAR_MOVE" wx_expEVT_TASKBAR_MOVE :: IO CInt---- | usage: (@wxEVT_TASKBAR_RIGHT_DCLICK@).-{-# NOINLINE wxEVT_TASKBAR_RIGHT_DCLICK #-}-wxEVT_TASKBAR_RIGHT_DCLICK ::  EventId-wxEVT_TASKBAR_RIGHT_DCLICK -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_TASKBAR_RIGHT_DCLICK -foreign import ccall "expEVT_TASKBAR_RIGHT_DCLICK" wx_expEVT_TASKBAR_RIGHT_DCLICK :: IO CInt---- | usage: (@wxEVT_TASKBAR_RIGHT_DOWN@).-{-# NOINLINE wxEVT_TASKBAR_RIGHT_DOWN #-}-wxEVT_TASKBAR_RIGHT_DOWN ::  EventId-wxEVT_TASKBAR_RIGHT_DOWN -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_TASKBAR_RIGHT_DOWN -foreign import ccall "expEVT_TASKBAR_RIGHT_DOWN" wx_expEVT_TASKBAR_RIGHT_DOWN :: IO CInt---- | usage: (@wxEVT_TASKBAR_RIGHT_UP@).-{-# NOINLINE wxEVT_TASKBAR_RIGHT_UP #-}-wxEVT_TASKBAR_RIGHT_UP ::  EventId-wxEVT_TASKBAR_RIGHT_UP -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_TASKBAR_RIGHT_UP -foreign import ccall "expEVT_TASKBAR_RIGHT_UP" wx_expEVT_TASKBAR_RIGHT_UP :: IO CInt---- | usage: (@wxEVT_TIMER@).-{-# NOINLINE wxEVT_TIMER #-}-wxEVT_TIMER ::  EventId-wxEVT_TIMER -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_TIMER -foreign import ccall "expEVT_TIMER" wx_expEVT_TIMER :: IO CInt---- | usage: (@wxEVT_UPDATE_UI@).-{-# NOINLINE wxEVT_UPDATE_UI #-}-wxEVT_UPDATE_UI ::  EventId-wxEVT_UPDATE_UI -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_UPDATE_UI -foreign import ccall "expEVT_UPDATE_UI" wx_expEVT_UPDATE_UI :: IO CInt---- | usage: (@wxEVT_WIZARD_CANCEL@).-{-# NOINLINE wxEVT_WIZARD_CANCEL #-}-wxEVT_WIZARD_CANCEL ::  EventId-wxEVT_WIZARD_CANCEL -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_WIZARD_CANCEL -foreign import ccall "expEVT_WIZARD_CANCEL" wx_expEVT_WIZARD_CANCEL :: IO CInt---- | usage: (@wxEVT_WIZARD_PAGE_CHANGED@).-{-# NOINLINE wxEVT_WIZARD_PAGE_CHANGED #-}-wxEVT_WIZARD_PAGE_CHANGED ::  EventId-wxEVT_WIZARD_PAGE_CHANGED -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_WIZARD_PAGE_CHANGED -foreign import ccall "expEVT_WIZARD_PAGE_CHANGED" wx_expEVT_WIZARD_PAGE_CHANGED :: IO CInt---- | usage: (@wxEVT_WIZARD_PAGE_CHANGING@).-{-# NOINLINE wxEVT_WIZARD_PAGE_CHANGING #-}-wxEVT_WIZARD_PAGE_CHANGING ::  EventId-wxEVT_WIZARD_PAGE_CHANGING -  = unsafePerformIO $-    withIntResult $-    wx_expEVT_WIZARD_PAGE_CHANGING -foreign import ccall "expEVT_WIZARD_PAGE_CHANGING" wx_expEVT_WIZARD_PAGE_CHANGING :: IO CInt---- | usage: (@wxK_ADD@).-{-# NOINLINE wxK_ADD #-}-wxK_ADD ::  Int-wxK_ADD -  = unsafePerformIO $-    withIntResult $-    wx_expK_ADD -foreign import ccall "expK_ADD" wx_expK_ADD :: IO CInt---- | usage: (@wxK_ALT@).-{-# NOINLINE wxK_ALT #-}-wxK_ALT ::  Int-wxK_ALT -  = unsafePerformIO $-    withIntResult $-    wx_expK_ALT -foreign import ccall "expK_ALT" wx_expK_ALT :: IO CInt---- | usage: (@wxK_BACK@).-{-# NOINLINE wxK_BACK #-}-wxK_BACK ::  Int-wxK_BACK -  = unsafePerformIO $-    withIntResult $-    wx_expK_BACK -foreign import ccall "expK_BACK" wx_expK_BACK :: IO CInt---- | usage: (@wxK_CANCEL@).-{-# NOINLINE wxK_CANCEL #-}-wxK_CANCEL ::  Int-wxK_CANCEL -  = unsafePerformIO $-    withIntResult $-    wx_expK_CANCEL -foreign import ccall "expK_CANCEL" wx_expK_CANCEL :: IO CInt---- | usage: (@wxK_CAPITAL@).-{-# NOINLINE wxK_CAPITAL #-}-wxK_CAPITAL ::  Int-wxK_CAPITAL -  = unsafePerformIO $-    withIntResult $-    wx_expK_CAPITAL -foreign import ccall "expK_CAPITAL" wx_expK_CAPITAL :: IO CInt---- | usage: (@wxK_CLEAR@).-{-# NOINLINE wxK_CLEAR #-}-wxK_CLEAR ::  Int-wxK_CLEAR -  = unsafePerformIO $-    withIntResult $-    wx_expK_CLEAR -foreign import ccall "expK_CLEAR" wx_expK_CLEAR :: IO CInt---- | usage: (@wxK_CONTROL@).-{-# NOINLINE wxK_CONTROL #-}-wxK_CONTROL ::  Int-wxK_CONTROL -  = unsafePerformIO $-    withIntResult $-    wx_expK_CONTROL -foreign import ccall "expK_CONTROL" wx_expK_CONTROL :: IO CInt---- | usage: (@wxK_DECIMAL@).-{-# NOINLINE wxK_DECIMAL #-}-wxK_DECIMAL ::  Int-wxK_DECIMAL -  = unsafePerformIO $-    withIntResult $-    wx_expK_DECIMAL -foreign import ccall "expK_DECIMAL" wx_expK_DECIMAL :: IO CInt---- | usage: (@wxK_DELETE@).-{-# NOINLINE wxK_DELETE #-}-wxK_DELETE ::  Int-wxK_DELETE -  = unsafePerformIO $-    withIntResult $-    wx_expK_DELETE -foreign import ccall "expK_DELETE" wx_expK_DELETE :: IO CInt---- | usage: (@wxK_DIVIDE@).-{-# NOINLINE wxK_DIVIDE #-}-wxK_DIVIDE ::  Int-wxK_DIVIDE -  = unsafePerformIO $-    withIntResult $-    wx_expK_DIVIDE -foreign import ccall "expK_DIVIDE" wx_expK_DIVIDE :: IO CInt---- | usage: (@wxK_DOWN@).-{-# NOINLINE wxK_DOWN #-}-wxK_DOWN ::  Int-wxK_DOWN -  = unsafePerformIO $-    withIntResult $-    wx_expK_DOWN -foreign import ccall "expK_DOWN" wx_expK_DOWN :: IO CInt---- | usage: (@wxK_END@).-{-# NOINLINE wxK_END #-}-wxK_END ::  Int-wxK_END -  = unsafePerformIO $-    withIntResult $-    wx_expK_END -foreign import ccall "expK_END" wx_expK_END :: IO CInt---- | usage: (@wxK_ESCAPE@).-{-# NOINLINE wxK_ESCAPE #-}-wxK_ESCAPE ::  Int-wxK_ESCAPE -  = unsafePerformIO $-    withIntResult $-    wx_expK_ESCAPE -foreign import ccall "expK_ESCAPE" wx_expK_ESCAPE :: IO CInt---- | usage: (@wxK_EXECUTE@).-{-# NOINLINE wxK_EXECUTE #-}-wxK_EXECUTE ::  Int-wxK_EXECUTE -  = unsafePerformIO $-    withIntResult $-    wx_expK_EXECUTE -foreign import ccall "expK_EXECUTE" wx_expK_EXECUTE :: IO CInt---- | usage: (@wxK_F1@).-{-# NOINLINE wxK_F1 #-}-wxK_F1 ::  Int-wxK_F1 -  = unsafePerformIO $-    withIntResult $-    wx_expK_F1 -foreign import ccall "expK_F1" wx_expK_F1 :: IO CInt---- | usage: (@wxK_F10@).-{-# NOINLINE wxK_F10 #-}-wxK_F10 ::  Int-wxK_F10 -  = unsafePerformIO $-    withIntResult $-    wx_expK_F10 -foreign import ccall "expK_F10" wx_expK_F10 :: IO CInt---- | usage: (@wxK_F11@).-{-# NOINLINE wxK_F11 #-}-wxK_F11 ::  Int-wxK_F11 -  = unsafePerformIO $-    withIntResult $-    wx_expK_F11 -foreign import ccall "expK_F11" wx_expK_F11 :: IO CInt---- | usage: (@wxK_F12@).-{-# NOINLINE wxK_F12 #-}-wxK_F12 ::  Int-wxK_F12 -  = unsafePerformIO $-    withIntResult $-    wx_expK_F12 -foreign import ccall "expK_F12" wx_expK_F12 :: IO CInt---- | usage: (@wxK_F13@).-{-# NOINLINE wxK_F13 #-}-wxK_F13 ::  Int-wxK_F13 -  = unsafePerformIO $-    withIntResult $-    wx_expK_F13 -foreign import ccall "expK_F13" wx_expK_F13 :: IO CInt---- | usage: (@wxK_F14@).-{-# NOINLINE wxK_F14 #-}-wxK_F14 ::  Int-wxK_F14 -  = unsafePerformIO $-    withIntResult $-    wx_expK_F14 -foreign import ccall "expK_F14" wx_expK_F14 :: IO CInt---- | usage: (@wxK_F15@).-{-# NOINLINE wxK_F15 #-}-wxK_F15 ::  Int-wxK_F15 -  = unsafePerformIO $-    withIntResult $-    wx_expK_F15 -foreign import ccall "expK_F15" wx_expK_F15 :: IO CInt---- | usage: (@wxK_F16@).-{-# NOINLINE wxK_F16 #-}-wxK_F16 ::  Int-wxK_F16 -  = unsafePerformIO $-    withIntResult $-    wx_expK_F16 -foreign import ccall "expK_F16" wx_expK_F16 :: IO CInt---- | usage: (@wxK_F17@).-{-# NOINLINE wxK_F17 #-}-wxK_F17 ::  Int-wxK_F17 -  = unsafePerformIO $-    withIntResult $-    wx_expK_F17 -foreign import ccall "expK_F17" wx_expK_F17 :: IO CInt---- | usage: (@wxK_F18@).-{-# NOINLINE wxK_F18 #-}-wxK_F18 ::  Int-wxK_F18 -  = unsafePerformIO $-    withIntResult $-    wx_expK_F18 -foreign import ccall "expK_F18" wx_expK_F18 :: IO CInt---- | usage: (@wxK_F19@).-{-# NOINLINE wxK_F19 #-}-wxK_F19 ::  Int-wxK_F19 -  = unsafePerformIO $-    withIntResult $-    wx_expK_F19 -foreign import ccall "expK_F19" wx_expK_F19 :: IO CInt---- | usage: (@wxK_F2@).-{-# NOINLINE wxK_F2 #-}-wxK_F2 ::  Int-wxK_F2 -  = unsafePerformIO $-    withIntResult $-    wx_expK_F2 -foreign import ccall "expK_F2" wx_expK_F2 :: IO CInt---- | usage: (@wxK_F20@).-{-# NOINLINE wxK_F20 #-}-wxK_F20 ::  Int-wxK_F20 -  = unsafePerformIO $-    withIntResult $-    wx_expK_F20 -foreign import ccall "expK_F20" wx_expK_F20 :: IO CInt---- | usage: (@wxK_F21@).-{-# NOINLINE wxK_F21 #-}-wxK_F21 ::  Int-wxK_F21 -  = unsafePerformIO $-    withIntResult $-    wx_expK_F21 -foreign import ccall "expK_F21" wx_expK_F21 :: IO CInt---- | usage: (@wxK_F22@).-{-# NOINLINE wxK_F22 #-}-wxK_F22 ::  Int-wxK_F22 -  = unsafePerformIO $-    withIntResult $-    wx_expK_F22 -foreign import ccall "expK_F22" wx_expK_F22 :: IO CInt---- | usage: (@wxK_F23@).-{-# NOINLINE wxK_F23 #-}-wxK_F23 ::  Int-wxK_F23 -  = unsafePerformIO $-    withIntResult $-    wx_expK_F23 -foreign import ccall "expK_F23" wx_expK_F23 :: IO CInt---- | usage: (@wxK_F24@).-{-# NOINLINE wxK_F24 #-}-wxK_F24 ::  Int-wxK_F24 -  = unsafePerformIO $-    withIntResult $-    wx_expK_F24 -foreign import ccall "expK_F24" wx_expK_F24 :: IO CInt---- | usage: (@wxK_F3@).-{-# NOINLINE wxK_F3 #-}-wxK_F3 ::  Int-wxK_F3 -  = unsafePerformIO $-    withIntResult $-    wx_expK_F3 -foreign import ccall "expK_F3" wx_expK_F3 :: IO CInt---- | usage: (@wxK_F4@).-{-# NOINLINE wxK_F4 #-}-wxK_F4 ::  Int-wxK_F4 -  = unsafePerformIO $-    withIntResult $-    wx_expK_F4 -foreign import ccall "expK_F4" wx_expK_F4 :: IO CInt---- | usage: (@wxK_F5@).-{-# NOINLINE wxK_F5 #-}-wxK_F5 ::  Int-wxK_F5 -  = unsafePerformIO $-    withIntResult $-    wx_expK_F5 -foreign import ccall "expK_F5" wx_expK_F5 :: IO CInt---- | usage: (@wxK_F6@).-{-# NOINLINE wxK_F6 #-}-wxK_F6 ::  Int-wxK_F6 -  = unsafePerformIO $-    withIntResult $-    wx_expK_F6 -foreign import ccall "expK_F6" wx_expK_F6 :: IO CInt---- | usage: (@wxK_F7@).-{-# NOINLINE wxK_F7 #-}-wxK_F7 ::  Int-wxK_F7 -  = unsafePerformIO $-    withIntResult $-    wx_expK_F7 -foreign import ccall "expK_F7" wx_expK_F7 :: IO CInt---- | usage: (@wxK_F8@).-{-# NOINLINE wxK_F8 #-}-wxK_F8 ::  Int-wxK_F8 -  = unsafePerformIO $-    withIntResult $-    wx_expK_F8 -foreign import ccall "expK_F8" wx_expK_F8 :: IO CInt---- | usage: (@wxK_F9@).-{-# NOINLINE wxK_F9 #-}-wxK_F9 ::  Int-wxK_F9 -  = unsafePerformIO $-    withIntResult $-    wx_expK_F9 -foreign import ccall "expK_F9" wx_expK_F9 :: IO CInt---- | usage: (@wxK_HELP@).-{-# NOINLINE wxK_HELP #-}-wxK_HELP ::  Int-wxK_HELP -  = unsafePerformIO $-    withIntResult $-    wx_expK_HELP -foreign import ccall "expK_HELP" wx_expK_HELP :: IO CInt---- | usage: (@wxK_HOME@).-{-# NOINLINE wxK_HOME #-}-wxK_HOME ::  Int-wxK_HOME -  = unsafePerformIO $-    withIntResult $-    wx_expK_HOME -foreign import ccall "expK_HOME" wx_expK_HOME :: IO CInt---- | usage: (@wxK_INSERT@).-{-# NOINLINE wxK_INSERT #-}-wxK_INSERT ::  Int-wxK_INSERT -  = unsafePerformIO $-    withIntResult $-    wx_expK_INSERT -foreign import ccall "expK_INSERT" wx_expK_INSERT :: IO CInt---- | usage: (@wxK_LBUTTON@).-{-# NOINLINE wxK_LBUTTON #-}-wxK_LBUTTON ::  Int-wxK_LBUTTON -  = unsafePerformIO $-    withIntResult $-    wx_expK_LBUTTON -foreign import ccall "expK_LBUTTON" wx_expK_LBUTTON :: IO CInt---- | usage: (@wxK_LEFT@).-{-# NOINLINE wxK_LEFT #-}-wxK_LEFT ::  Int-wxK_LEFT -  = unsafePerformIO $-    withIntResult $-    wx_expK_LEFT -foreign import ccall "expK_LEFT" wx_expK_LEFT :: IO CInt---- | usage: (@wxK_MBUTTON@).-{-# NOINLINE wxK_MBUTTON #-}-wxK_MBUTTON ::  Int-wxK_MBUTTON -  = unsafePerformIO $-    withIntResult $-    wx_expK_MBUTTON -foreign import ccall "expK_MBUTTON" wx_expK_MBUTTON :: IO CInt---- | usage: (@wxK_MENU@).-{-# NOINLINE wxK_MENU #-}-wxK_MENU ::  Int-wxK_MENU -  = unsafePerformIO $-    withIntResult $-    wx_expK_MENU -foreign import ccall "expK_MENU" wx_expK_MENU :: IO CInt---- | usage: (@wxK_MULTIPLY@).-{-# NOINLINE wxK_MULTIPLY #-}-wxK_MULTIPLY ::  Int-wxK_MULTIPLY -  = unsafePerformIO $-    withIntResult $-    wx_expK_MULTIPLY -foreign import ccall "expK_MULTIPLY" wx_expK_MULTIPLY :: IO CInt---- | usage: (@wxK_NUMLOCK@).-{-# NOINLINE wxK_NUMLOCK #-}-wxK_NUMLOCK ::  Int-wxK_NUMLOCK -  = unsafePerformIO $-    withIntResult $-    wx_expK_NUMLOCK -foreign import ccall "expK_NUMLOCK" wx_expK_NUMLOCK :: IO CInt---- | usage: (@wxK_NUMPAD0@).-{-# NOINLINE wxK_NUMPAD0 #-}-wxK_NUMPAD0 ::  Int-wxK_NUMPAD0 -  = unsafePerformIO $-    withIntResult $-    wx_expK_NUMPAD0 -foreign import ccall "expK_NUMPAD0" wx_expK_NUMPAD0 :: IO CInt---- | usage: (@wxK_NUMPAD1@).-{-# NOINLINE wxK_NUMPAD1 #-}-wxK_NUMPAD1 ::  Int-wxK_NUMPAD1 -  = unsafePerformIO $-    withIntResult $-    wx_expK_NUMPAD1 -foreign import ccall "expK_NUMPAD1" wx_expK_NUMPAD1 :: IO CInt---- | usage: (@wxK_NUMPAD2@).-{-# NOINLINE wxK_NUMPAD2 #-}-wxK_NUMPAD2 ::  Int-wxK_NUMPAD2 -  = unsafePerformIO $-    withIntResult $-    wx_expK_NUMPAD2 -foreign import ccall "expK_NUMPAD2" wx_expK_NUMPAD2 :: IO CInt---- | usage: (@wxK_NUMPAD3@).-{-# NOINLINE wxK_NUMPAD3 #-}-wxK_NUMPAD3 ::  Int-wxK_NUMPAD3 -  = unsafePerformIO $-    withIntResult $-    wx_expK_NUMPAD3 -foreign import ccall "expK_NUMPAD3" wx_expK_NUMPAD3 :: IO CInt---- | usage: (@wxK_NUMPAD4@).-{-# NOINLINE wxK_NUMPAD4 #-}-wxK_NUMPAD4 ::  Int-wxK_NUMPAD4 -  = unsafePerformIO $-    withIntResult $-    wx_expK_NUMPAD4 -foreign import ccall "expK_NUMPAD4" wx_expK_NUMPAD4 :: IO CInt---- | usage: (@wxK_NUMPAD5@).-{-# NOINLINE wxK_NUMPAD5 #-}-wxK_NUMPAD5 ::  Int-wxK_NUMPAD5 -  = unsafePerformIO $-    withIntResult $-    wx_expK_NUMPAD5 -foreign import ccall "expK_NUMPAD5" wx_expK_NUMPAD5 :: IO CInt---- | usage: (@wxK_NUMPAD6@).-{-# NOINLINE wxK_NUMPAD6 #-}-wxK_NUMPAD6 ::  Int-wxK_NUMPAD6 -  = unsafePerformIO $-    withIntResult $-    wx_expK_NUMPAD6 -foreign import ccall "expK_NUMPAD6" wx_expK_NUMPAD6 :: IO CInt---- | usage: (@wxK_NUMPAD7@).-{-# NOINLINE wxK_NUMPAD7 #-}-wxK_NUMPAD7 ::  Int-wxK_NUMPAD7 -  = unsafePerformIO $-    withIntResult $-    wx_expK_NUMPAD7 -foreign import ccall "expK_NUMPAD7" wx_expK_NUMPAD7 :: IO CInt---- | usage: (@wxK_NUMPAD8@).-{-# NOINLINE wxK_NUMPAD8 #-}-wxK_NUMPAD8 ::  Int-wxK_NUMPAD8 -  = unsafePerformIO $-    withIntResult $-    wx_expK_NUMPAD8 -foreign import ccall "expK_NUMPAD8" wx_expK_NUMPAD8 :: IO CInt---- | usage: (@wxK_NUMPAD9@).-{-# NOINLINE wxK_NUMPAD9 #-}-wxK_NUMPAD9 ::  Int-wxK_NUMPAD9 -  = unsafePerformIO $-    withIntResult $-    wx_expK_NUMPAD9 -foreign import ccall "expK_NUMPAD9" wx_expK_NUMPAD9 :: IO CInt---- | usage: (@wxK_NUMPAD_ADD@).-{-# NOINLINE wxK_NUMPAD_ADD #-}-wxK_NUMPAD_ADD ::  Int-wxK_NUMPAD_ADD -  = unsafePerformIO $-    withIntResult $-    wx_expK_NUMPAD_ADD -foreign import ccall "expK_NUMPAD_ADD" wx_expK_NUMPAD_ADD :: IO CInt---- | usage: (@wxK_NUMPAD_BEGIN@).-{-# NOINLINE wxK_NUMPAD_BEGIN #-}-wxK_NUMPAD_BEGIN ::  Int-wxK_NUMPAD_BEGIN -  = unsafePerformIO $-    withIntResult $-    wx_expK_NUMPAD_BEGIN -foreign import ccall "expK_NUMPAD_BEGIN" wx_expK_NUMPAD_BEGIN :: IO CInt---- | usage: (@wxK_NUMPAD_DECIMAL@).-{-# NOINLINE wxK_NUMPAD_DECIMAL #-}-wxK_NUMPAD_DECIMAL ::  Int-wxK_NUMPAD_DECIMAL -  = unsafePerformIO $-    withIntResult $-    wx_expK_NUMPAD_DECIMAL -foreign import ccall "expK_NUMPAD_DECIMAL" wx_expK_NUMPAD_DECIMAL :: IO CInt---- | usage: (@wxK_NUMPAD_DELETE@).-{-# NOINLINE wxK_NUMPAD_DELETE #-}-wxK_NUMPAD_DELETE ::  Int-wxK_NUMPAD_DELETE -  = unsafePerformIO $-    withIntResult $-    wx_expK_NUMPAD_DELETE -foreign import ccall "expK_NUMPAD_DELETE" wx_expK_NUMPAD_DELETE :: IO CInt---- | usage: (@wxK_NUMPAD_DIVIDE@).-{-# NOINLINE wxK_NUMPAD_DIVIDE #-}-wxK_NUMPAD_DIVIDE ::  Int-wxK_NUMPAD_DIVIDE -  = unsafePerformIO $-    withIntResult $-    wx_expK_NUMPAD_DIVIDE -foreign import ccall "expK_NUMPAD_DIVIDE" wx_expK_NUMPAD_DIVIDE :: IO CInt---- | usage: (@wxK_NUMPAD_DOWN@).-{-# NOINLINE wxK_NUMPAD_DOWN #-}-wxK_NUMPAD_DOWN ::  Int-wxK_NUMPAD_DOWN -  = unsafePerformIO $-    withIntResult $-    wx_expK_NUMPAD_DOWN -foreign import ccall "expK_NUMPAD_DOWN" wx_expK_NUMPAD_DOWN :: IO CInt---- | usage: (@wxK_NUMPAD_END@).-{-# NOINLINE wxK_NUMPAD_END #-}-wxK_NUMPAD_END ::  Int-wxK_NUMPAD_END -  = unsafePerformIO $-    withIntResult $-    wx_expK_NUMPAD_END -foreign import ccall "expK_NUMPAD_END" wx_expK_NUMPAD_END :: IO CInt---- | usage: (@wxK_NUMPAD_ENTER@).-{-# NOINLINE wxK_NUMPAD_ENTER #-}-wxK_NUMPAD_ENTER ::  Int-wxK_NUMPAD_ENTER -  = unsafePerformIO $-    withIntResult $-    wx_expK_NUMPAD_ENTER -foreign import ccall "expK_NUMPAD_ENTER" wx_expK_NUMPAD_ENTER :: IO CInt---- | usage: (@wxK_NUMPAD_EQUAL@).-{-# NOINLINE wxK_NUMPAD_EQUAL #-}-wxK_NUMPAD_EQUAL ::  Int-wxK_NUMPAD_EQUAL -  = unsafePerformIO $-    withIntResult $-    wx_expK_NUMPAD_EQUAL -foreign import ccall "expK_NUMPAD_EQUAL" wx_expK_NUMPAD_EQUAL :: IO CInt---- | usage: (@wxK_NUMPAD_F1@).-{-# NOINLINE wxK_NUMPAD_F1 #-}-wxK_NUMPAD_F1 ::  Int-wxK_NUMPAD_F1 -  = unsafePerformIO $-    withIntResult $-    wx_expK_NUMPAD_F1 -foreign import ccall "expK_NUMPAD_F1" wx_expK_NUMPAD_F1 :: IO CInt---- | usage: (@wxK_NUMPAD_F2@).-{-# NOINLINE wxK_NUMPAD_F2 #-}-wxK_NUMPAD_F2 ::  Int-wxK_NUMPAD_F2 -  = unsafePerformIO $-    withIntResult $-    wx_expK_NUMPAD_F2 -foreign import ccall "expK_NUMPAD_F2" wx_expK_NUMPAD_F2 :: IO CInt---- | usage: (@wxK_NUMPAD_F3@).-{-# NOINLINE wxK_NUMPAD_F3 #-}-wxK_NUMPAD_F3 ::  Int-wxK_NUMPAD_F3 -  = unsafePerformIO $-    withIntResult $-    wx_expK_NUMPAD_F3 -foreign import ccall "expK_NUMPAD_F3" wx_expK_NUMPAD_F3 :: IO CInt---- | usage: (@wxK_NUMPAD_F4@).-{-# NOINLINE wxK_NUMPAD_F4 #-}-wxK_NUMPAD_F4 ::  Int-wxK_NUMPAD_F4 -  = unsafePerformIO $-    withIntResult $-    wx_expK_NUMPAD_F4 -foreign import ccall "expK_NUMPAD_F4" wx_expK_NUMPAD_F4 :: IO CInt---- | usage: (@wxK_NUMPAD_HOME@).-{-# NOINLINE wxK_NUMPAD_HOME #-}-wxK_NUMPAD_HOME ::  Int-wxK_NUMPAD_HOME -  = unsafePerformIO $-    withIntResult $-    wx_expK_NUMPAD_HOME -foreign import ccall "expK_NUMPAD_HOME" wx_expK_NUMPAD_HOME :: IO CInt---- | usage: (@wxK_NUMPAD_INSERT@).-{-# NOINLINE wxK_NUMPAD_INSERT #-}-wxK_NUMPAD_INSERT ::  Int-wxK_NUMPAD_INSERT -  = unsafePerformIO $-    withIntResult $-    wx_expK_NUMPAD_INSERT -foreign import ccall "expK_NUMPAD_INSERT" wx_expK_NUMPAD_INSERT :: IO CInt---- | usage: (@wxK_NUMPAD_LEFT@).-{-# NOINLINE wxK_NUMPAD_LEFT #-}-wxK_NUMPAD_LEFT ::  Int-wxK_NUMPAD_LEFT -  = unsafePerformIO $-    withIntResult $-    wx_expK_NUMPAD_LEFT -foreign import ccall "expK_NUMPAD_LEFT" wx_expK_NUMPAD_LEFT :: IO CInt---- | usage: (@wxK_NUMPAD_MULTIPLY@).-{-# NOINLINE wxK_NUMPAD_MULTIPLY #-}-wxK_NUMPAD_MULTIPLY ::  Int-wxK_NUMPAD_MULTIPLY -  = unsafePerformIO $-    withIntResult $-    wx_expK_NUMPAD_MULTIPLY -foreign import ccall "expK_NUMPAD_MULTIPLY" wx_expK_NUMPAD_MULTIPLY :: IO CInt---- | usage: (@wxK_NUMPAD_PAGEDOWN@).-{-# NOINLINE wxK_NUMPAD_PAGEDOWN #-}-wxK_NUMPAD_PAGEDOWN ::  Int-wxK_NUMPAD_PAGEDOWN -  = unsafePerformIO $-    withIntResult $-    wx_expK_NUMPAD_PAGEDOWN -foreign import ccall "expK_NUMPAD_PAGEDOWN" wx_expK_NUMPAD_PAGEDOWN :: IO CInt---- | usage: (@wxK_NUMPAD_PAGEUP@).-{-# NOINLINE wxK_NUMPAD_PAGEUP #-}-wxK_NUMPAD_PAGEUP ::  Int-wxK_NUMPAD_PAGEUP -  = unsafePerformIO $-    withIntResult $-    wx_expK_NUMPAD_PAGEUP -foreign import ccall "expK_NUMPAD_PAGEUP" wx_expK_NUMPAD_PAGEUP :: IO CInt---- | usage: (@wxK_NUMPAD_RIGHT@).-{-# NOINLINE wxK_NUMPAD_RIGHT #-}-wxK_NUMPAD_RIGHT ::  Int-wxK_NUMPAD_RIGHT -  = unsafePerformIO $-    withIntResult $-    wx_expK_NUMPAD_RIGHT -foreign import ccall "expK_NUMPAD_RIGHT" wx_expK_NUMPAD_RIGHT :: IO CInt---- | usage: (@wxK_NUMPAD_SEPARATOR@).-{-# NOINLINE wxK_NUMPAD_SEPARATOR #-}-wxK_NUMPAD_SEPARATOR ::  Int-wxK_NUMPAD_SEPARATOR -  = unsafePerformIO $-    withIntResult $-    wx_expK_NUMPAD_SEPARATOR -foreign import ccall "expK_NUMPAD_SEPARATOR" wx_expK_NUMPAD_SEPARATOR :: IO CInt---- | usage: (@wxK_NUMPAD_SPACE@).-{-# NOINLINE wxK_NUMPAD_SPACE #-}-wxK_NUMPAD_SPACE ::  Int-wxK_NUMPAD_SPACE -  = unsafePerformIO $-    withIntResult $-    wx_expK_NUMPAD_SPACE -foreign import ccall "expK_NUMPAD_SPACE" wx_expK_NUMPAD_SPACE :: IO CInt---- | usage: (@wxK_NUMPAD_SUBTRACT@).-{-# NOINLINE wxK_NUMPAD_SUBTRACT #-}-wxK_NUMPAD_SUBTRACT ::  Int-wxK_NUMPAD_SUBTRACT -  = unsafePerformIO $-    withIntResult $-    wx_expK_NUMPAD_SUBTRACT -foreign import ccall "expK_NUMPAD_SUBTRACT" wx_expK_NUMPAD_SUBTRACT :: IO CInt---- | usage: (@wxK_NUMPAD_TAB@).-{-# NOINLINE wxK_NUMPAD_TAB #-}-wxK_NUMPAD_TAB ::  Int-wxK_NUMPAD_TAB -  = unsafePerformIO $-    withIntResult $-    wx_expK_NUMPAD_TAB -foreign import ccall "expK_NUMPAD_TAB" wx_expK_NUMPAD_TAB :: IO CInt---- | usage: (@wxK_NUMPAD_UP@).-{-# NOINLINE wxK_NUMPAD_UP #-}-wxK_NUMPAD_UP ::  Int-wxK_NUMPAD_UP -  = unsafePerformIO $-    withIntResult $-    wx_expK_NUMPAD_UP -foreign import ccall "expK_NUMPAD_UP" wx_expK_NUMPAD_UP :: IO CInt---- | usage: (@wxK_PAGEDOWN@).-{-# NOINLINE wxK_PAGEDOWN #-}-wxK_PAGEDOWN ::  Int-wxK_PAGEDOWN -  = unsafePerformIO $-    withIntResult $-    wx_expK_PAGEDOWN -foreign import ccall "expK_PAGEDOWN" wx_expK_PAGEDOWN :: IO CInt---- | usage: (@wxK_PAGEUP@).-{-# NOINLINE wxK_PAGEUP #-}-wxK_PAGEUP ::  Int-wxK_PAGEUP -  = unsafePerformIO $-    withIntResult $-    wx_expK_PAGEUP -foreign import ccall "expK_PAGEUP" wx_expK_PAGEUP :: IO CInt---- | usage: (@wxK_PAUSE@).-{-# NOINLINE wxK_PAUSE #-}-wxK_PAUSE ::  Int-wxK_PAUSE -  = unsafePerformIO $-    withIntResult $-    wx_expK_PAUSE -foreign import ccall "expK_PAUSE" wx_expK_PAUSE :: IO CInt---- | usage: (@wxK_PRINT@).-{-# NOINLINE wxK_PRINT #-}-wxK_PRINT ::  Int-wxK_PRINT -  = unsafePerformIO $-    withIntResult $-    wx_expK_PRINT -foreign import ccall "expK_PRINT" wx_expK_PRINT :: IO CInt---- | usage: (@wxK_RBUTTON@).-{-# NOINLINE wxK_RBUTTON #-}-wxK_RBUTTON ::  Int-wxK_RBUTTON -  = unsafePerformIO $-    withIntResult $-    wx_expK_RBUTTON -foreign import ccall "expK_RBUTTON" wx_expK_RBUTTON :: IO CInt---- | usage: (@wxK_RETURN@).-{-# NOINLINE wxK_RETURN #-}-wxK_RETURN ::  Int-wxK_RETURN -  = unsafePerformIO $-    withIntResult $-    wx_expK_RETURN -foreign import ccall "expK_RETURN" wx_expK_RETURN :: IO CInt---- | usage: (@wxK_RIGHT@).-{-# NOINLINE wxK_RIGHT #-}-wxK_RIGHT ::  Int-wxK_RIGHT -  = unsafePerformIO $-    withIntResult $-    wx_expK_RIGHT -foreign import ccall "expK_RIGHT" wx_expK_RIGHT :: IO CInt---- | usage: (@wxK_SCROLL@).-{-# NOINLINE wxK_SCROLL #-}-wxK_SCROLL ::  Int-wxK_SCROLL -  = unsafePerformIO $-    withIntResult $-    wx_expK_SCROLL -foreign import ccall "expK_SCROLL" wx_expK_SCROLL :: IO CInt---- | usage: (@wxK_SELECT@).-{-# NOINLINE wxK_SELECT #-}-wxK_SELECT ::  Int-wxK_SELECT -  = unsafePerformIO $-    withIntResult $-    wx_expK_SELECT -foreign import ccall "expK_SELECT" wx_expK_SELECT :: IO CInt---- | usage: (@wxK_SEPARATOR@).-{-# NOINLINE wxK_SEPARATOR #-}-wxK_SEPARATOR ::  Int-wxK_SEPARATOR -  = unsafePerformIO $-    withIntResult $-    wx_expK_SEPARATOR -foreign import ccall "expK_SEPARATOR" wx_expK_SEPARATOR :: IO CInt---- | usage: (@wxK_SHIFT@).-{-# NOINLINE wxK_SHIFT #-}-wxK_SHIFT ::  Int-wxK_SHIFT -  = unsafePerformIO $-    withIntResult $-    wx_expK_SHIFT -foreign import ccall "expK_SHIFT" wx_expK_SHIFT :: IO CInt---- | usage: (@wxK_SNAPSHOT@).-{-# NOINLINE wxK_SNAPSHOT #-}-wxK_SNAPSHOT ::  Int-wxK_SNAPSHOT -  = unsafePerformIO $-    withIntResult $-    wx_expK_SNAPSHOT -foreign import ccall "expK_SNAPSHOT" wx_expK_SNAPSHOT :: IO CInt---- | usage: (@wxK_SPACE@).-{-# NOINLINE wxK_SPACE #-}-wxK_SPACE ::  Int-wxK_SPACE -  = unsafePerformIO $-    withIntResult $-    wx_expK_SPACE -foreign import ccall "expK_SPACE" wx_expK_SPACE :: IO CInt---- | usage: (@wxK_START@).-{-# NOINLINE wxK_START #-}-wxK_START ::  Int-wxK_START -  = unsafePerformIO $-    withIntResult $-    wx_expK_START -foreign import ccall "expK_START" wx_expK_START :: IO CInt---- | usage: (@wxK_SUBTRACT@).-{-# NOINLINE wxK_SUBTRACT #-}-wxK_SUBTRACT ::  Int-wxK_SUBTRACT -  = unsafePerformIO $-    withIntResult $-    wx_expK_SUBTRACT -foreign import ccall "expK_SUBTRACT" wx_expK_SUBTRACT :: IO CInt---- | usage: (@wxK_TAB@).-{-# NOINLINE wxK_TAB #-}-wxK_TAB ::  Int-wxK_TAB -  = unsafePerformIO $-    withIntResult $-    wx_expK_TAB -foreign import ccall "expK_TAB" wx_expK_TAB :: IO CInt---- | usage: (@wxK_UP@).-{-# NOINLINE wxK_UP #-}-wxK_UP ::  Int-wxK_UP -  = unsafePerformIO $-    withIntResult $-    wx_expK_UP -foreign import ccall "expK_UP" wx_expK_UP :: IO CInt---- | usage: (@wxNB_BOTTOM@).-{-# NOINLINE wxNB_BOTTOM #-}-wxNB_BOTTOM ::  Int-wxNB_BOTTOM -  = unsafePerformIO $-    withIntResult $-    wx_expNB_BOTTOM -foreign import ccall "expNB_BOTTOM" wx_expNB_BOTTOM :: IO CInt---- | usage: (@wxNB_LEFT@).-{-# NOINLINE wxNB_LEFT #-}-wxNB_LEFT ::  Int-wxNB_LEFT -  = unsafePerformIO $-    withIntResult $-    wx_expNB_LEFT -foreign import ccall "expNB_LEFT" wx_expNB_LEFT :: IO CInt---- | usage: (@wxNB_RIGHT@).-{-# NOINLINE wxNB_RIGHT #-}-wxNB_RIGHT ::  Int-wxNB_RIGHT -  = unsafePerformIO $-    withIntResult $-    wx_expNB_RIGHT -foreign import ccall "expNB_RIGHT" wx_expNB_RIGHT :: IO CInt---- | usage: (@wxNB_TOP@).-{-# NOINLINE wxNB_TOP #-}-wxNB_TOP ::  Int-wxNB_TOP -  = unsafePerformIO $-    withIntResult $-    wx_expNB_TOP -foreign import ccall "expNB_TOP" wx_expNB_TOP :: IO CInt---- | usage: (@wxcAppBell@).-wxcAppBell ::  IO ()-wxcAppBell -  = wx_ELJApp_Bell -foreign import ccall "ELJApp_Bell" wx_ELJApp_Bell :: IO ()---- | usage: (@wxcAppCreateLogTarget@).-wxcAppCreateLogTarget ::  IO (WXCLog  ())-wxcAppCreateLogTarget -  = withObjectResult $-    wx_ELJApp_CreateLogTarget -foreign import ccall "ELJApp_CreateLogTarget" wx_ELJApp_CreateLogTarget :: IO (Ptr (TWXCLog ()))---- | usage: (@wxcAppDispatch@).-wxcAppDispatch ::  IO ()-wxcAppDispatch -  = wx_ELJApp_Dispatch -foreign import ccall "ELJApp_Dispatch" wx_ELJApp_Dispatch :: IO ()---- | usage: (@wxcAppDisplaySize@).-wxcAppDisplaySize ::  IO (Size)-wxcAppDisplaySize -  = withWxSizeResult $-    wx_ELJApp_DisplaySize -foreign import ccall "ELJApp_DisplaySize" wx_ELJApp_DisplaySize :: IO (Ptr (TWxSize ()))---- | usage: (@wxcAppEnableTooltips enable@).-wxcAppEnableTooltips :: Bool ->  IO ()-wxcAppEnableTooltips _enable -  = wx_ELJApp_EnableTooltips (toCBool _enable)  -foreign import ccall "ELJApp_EnableTooltips" wx_ELJApp_EnableTooltips :: CBool -> IO ()---- | usage: (@wxcAppEnableTopLevelWindows enb@).-wxcAppEnableTopLevelWindows :: Int ->  IO ()-wxcAppEnableTopLevelWindows _enb -  = wx_ELJApp_EnableTopLevelWindows (toCInt _enb)  -foreign import ccall "ELJApp_EnableTopLevelWindows" wx_ELJApp_EnableTopLevelWindows :: CInt -> IO ()---- | usage: (@wxcAppExecuteProcess cmd snc prc@).-wxcAppExecuteProcess :: String -> Int -> Process  c ->  IO Int-wxcAppExecuteProcess _cmd _snc _prc -  = withIntResult $-    withStringPtr _cmd $ \cobj__cmd -> -    withObjectPtr _prc $ \cobj__prc -> -    wx_ELJApp_ExecuteProcess cobj__cmd  (toCInt _snc)  cobj__prc  -foreign import ccall "ELJApp_ExecuteProcess" wx_ELJApp_ExecuteProcess :: Ptr (TWxString a) -> CInt -> Ptr (TProcess c) -> IO CInt---- | usage: (@wxcAppExit@).-wxcAppExit ::  IO ()-wxcAppExit -  = wx_ELJApp_Exit -foreign import ccall "ELJApp_Exit" wx_ELJApp_Exit :: IO ()---- | usage: (@wxcAppExitMainLoop@).-wxcAppExitMainLoop ::  IO ()-wxcAppExitMainLoop -  = wx_ELJApp_ExitMainLoop -foreign import ccall "ELJApp_ExitMainLoop" wx_ELJApp_ExitMainLoop :: IO ()---- | usage: (@wxcAppFindWindowById id prt@).-wxcAppFindWindowById :: Id -> Window  b ->  IO (Ptr  ())-wxcAppFindWindowById _id _prt -  = withObjectPtr _prt $ \cobj__prt -> -    wx_ELJApp_FindWindowById (toCInt _id)  cobj__prt  -foreign import ccall "ELJApp_FindWindowById" wx_ELJApp_FindWindowById :: CInt -> Ptr (TWindow b) -> IO (Ptr  ())---- | usage: (@wxcAppFindWindowByLabel lbl prt@).-wxcAppFindWindowByLabel :: String -> Window  b ->  IO (Window  ())-wxcAppFindWindowByLabel _lbl _prt -  = withObjectResult $-    withStringPtr _lbl $ \cobj__lbl -> -    withObjectPtr _prt $ \cobj__prt -> -    wx_ELJApp_FindWindowByLabel cobj__lbl  cobj__prt  -foreign import ccall "ELJApp_FindWindowByLabel" wx_ELJApp_FindWindowByLabel :: Ptr (TWxString a) -> Ptr (TWindow b) -> IO (Ptr (TWindow ()))---- | usage: (@wxcAppFindWindowByName lbl prt@).-wxcAppFindWindowByName :: String -> Window  b ->  IO (Window  ())-wxcAppFindWindowByName _lbl _prt -  = withObjectResult $-    withStringPtr _lbl $ \cobj__lbl -> -    withObjectPtr _prt $ \cobj__prt -> -    wx_ELJApp_FindWindowByName cobj__lbl  cobj__prt  -foreign import ccall "ELJApp_FindWindowByName" wx_ELJApp_FindWindowByName :: Ptr (TWxString a) -> Ptr (TWindow b) -> IO (Ptr (TWindow ()))---- | usage: (@wxcAppGetApp@).-wxcAppGetApp ::  IO (App  ())-wxcAppGetApp -  = withObjectResult $-    wx_ELJApp_GetApp -foreign import ccall "ELJApp_GetApp" wx_ELJApp_GetApp :: IO (Ptr (TApp ()))---- | usage: (@wxcAppGetAppName@).-wxcAppGetAppName ::  IO (String)-wxcAppGetAppName -  = withManagedStringResult $-    wx_ELJApp_GetAppName -foreign import ccall "ELJApp_GetAppName" wx_ELJApp_GetAppName :: IO (Ptr (TWxString ()))---- | usage: (@wxcAppGetClassName@).-wxcAppGetClassName ::  IO (String)-wxcAppGetClassName -  = withManagedStringResult $-    wx_ELJApp_GetClassName -foreign import ccall "ELJApp_GetClassName" wx_ELJApp_GetClassName :: IO (Ptr (TWxString ()))---- | usage: (@wxcAppGetExitOnFrameDelete@).-wxcAppGetExitOnFrameDelete ::  IO Int-wxcAppGetExitOnFrameDelete -  = withIntResult $-    wx_ELJApp_GetExitOnFrameDelete -foreign import ccall "ELJApp_GetExitOnFrameDelete" wx_ELJApp_GetExitOnFrameDelete :: IO CInt---- | usage: (@wxcAppGetIdleInterval@).-wxcAppGetIdleInterval ::  IO Int-wxcAppGetIdleInterval -  = withIntResult $-    wx_ELJApp_GetIdleInterval -foreign import ccall "ELJApp_GetIdleInterval" wx_ELJApp_GetIdleInterval :: IO CInt---- | usage: (@wxcAppGetOsDescription@).-wxcAppGetOsDescription ::  IO (String)-wxcAppGetOsDescription -  = withManagedStringResult $-    wx_ELJApp_GetOsDescription -foreign import ccall "ELJApp_GetOsDescription" wx_ELJApp_GetOsDescription :: IO (Ptr (TWxString ()))---- | usage: (@wxcAppGetOsVersion maj min@).-wxcAppGetOsVersion :: Ptr  a -> Ptr  b ->  IO Int-wxcAppGetOsVersion _maj _min -  = withIntResult $-    wx_ELJApp_GetOsVersion _maj  _min  -foreign import ccall "ELJApp_GetOsVersion" wx_ELJApp_GetOsVersion :: Ptr  a -> Ptr  b -> IO CInt---- | usage: (@wxcAppGetTopWindow@).-wxcAppGetTopWindow ::  IO (Window  ())-wxcAppGetTopWindow -  = withObjectResult $-    wx_ELJApp_GetTopWindow -foreign import ccall "ELJApp_GetTopWindow" wx_ELJApp_GetTopWindow :: IO (Ptr (TWindow ()))---- | usage: (@wxcAppGetUseBestVisual@).-wxcAppGetUseBestVisual ::  IO Int-wxcAppGetUseBestVisual -  = withIntResult $-    wx_ELJApp_GetUseBestVisual -foreign import ccall "ELJApp_GetUseBestVisual" wx_ELJApp_GetUseBestVisual :: IO CInt---- | usage: (@wxcAppGetUserHome usr@).-wxcAppGetUserHome :: Ptr  a ->  IO (String)-wxcAppGetUserHome _usr -  = withManagedStringResult $-    wx_ELJApp_GetUserHome _usr  -foreign import ccall "ELJApp_GetUserHome" wx_ELJApp_GetUserHome :: Ptr  a -> IO (Ptr (TWxString ()))---- | usage: (@wxcAppGetUserId@).-wxcAppGetUserId ::  IO (String)-wxcAppGetUserId -  = withManagedStringResult $-    wx_ELJApp_GetUserId -foreign import ccall "ELJApp_GetUserId" wx_ELJApp_GetUserId :: IO (Ptr (TWxString ()))---- | usage: (@wxcAppGetUserName@).-wxcAppGetUserName ::  IO (String)-wxcAppGetUserName -  = withManagedStringResult $-    wx_ELJApp_GetUserName -foreign import ccall "ELJApp_GetUserName" wx_ELJApp_GetUserName :: IO (Ptr (TWxString ()))---- | usage: (@wxcAppGetVendorName@).-wxcAppGetVendorName ::  IO (String)-wxcAppGetVendorName -  = withManagedStringResult $-    wx_ELJApp_GetVendorName -foreign import ccall "ELJApp_GetVendorName" wx_ELJApp_GetVendorName :: IO (Ptr (TWxString ()))---- | usage: (@wxcAppInitAllImageHandlers@).-wxcAppInitAllImageHandlers ::  IO ()-wxcAppInitAllImageHandlers -  = wx_ELJApp_InitAllImageHandlers -foreign import ccall "ELJApp_InitAllImageHandlers" wx_ELJApp_InitAllImageHandlers :: IO ()---- | usage: (@wxcAppInitializeC closure argc argv@).-wxcAppInitializeC :: Closure  a -> Int -> Ptr (Ptr CWchar) ->  IO ()-wxcAppInitializeC closure _argc _argv -  = withObjectPtr closure $ \cobj_closure -> -    wx_ELJApp_InitializeC cobj_closure  (toCInt _argc)  _argv  -foreign import ccall "ELJApp_InitializeC" wx_ELJApp_InitializeC :: Ptr (TClosure a) -> CInt -> Ptr (Ptr CWchar) -> IO ()---- | usage: (@wxcAppInitialized@).-wxcAppInitialized ::  IO Bool-wxcAppInitialized -  = withBoolResult $-    wx_ELJApp_Initialized -foreign import ccall "ELJApp_Initialized" wx_ELJApp_Initialized :: IO CBool---- | usage: (@wxcAppIsTerminating@).-wxcAppIsTerminating ::  IO Bool-wxcAppIsTerminating -  = withBoolResult $-    wx_ELJApp_IsTerminating -foreign import ccall "ELJApp_IsTerminating" wx_ELJApp_IsTerminating :: IO CBool---- | usage: (@wxcAppMainLoop@).-wxcAppMainLoop ::  IO Int-wxcAppMainLoop -  = withIntResult $-    wx_ELJApp_MainLoop -foreign import ccall "ELJApp_MainLoop" wx_ELJApp_MainLoop :: IO CInt---- | usage: (@wxcAppMilliSleep mscs@).-wxcAppMilliSleep :: Int ->  IO ()-wxcAppMilliSleep _mscs -  = wx_ELJApp_MilliSleep (toCInt _mscs)  -foreign import ccall "ELJApp_MilliSleep" wx_ELJApp_MilliSleep :: CInt -> IO ()---- | usage: (@wxcAppMousePosition@).-wxcAppMousePosition ::  IO (Point)-wxcAppMousePosition -  = withWxPointResult $-    wx_ELJApp_MousePosition -foreign import ccall "ELJApp_MousePosition" wx_ELJApp_MousePosition :: IO (Ptr (TWxPoint ()))---- | usage: (@wxcAppPending@).-wxcAppPending ::  IO Int-wxcAppPending -  = withIntResult $-    wx_ELJApp_Pending -foreign import ccall "ELJApp_Pending" wx_ELJApp_Pending :: IO CInt---- | usage: (@wxcAppSafeYield win@).-wxcAppSafeYield :: Window  a ->  IO Int-wxcAppSafeYield _win -  = withIntResult $-    withObjectPtr _win $ \cobj__win -> -    wx_ELJApp_SafeYield cobj__win  -foreign import ccall "ELJApp_SafeYield" wx_ELJApp_SafeYield :: Ptr (TWindow a) -> IO CInt---- | usage: (@wxcAppSetAppName name@).-wxcAppSetAppName :: String ->  IO ()-wxcAppSetAppName name -  = withStringPtr name $ \cobj_name -> -    wx_ELJApp_SetAppName cobj_name  -foreign import ccall "ELJApp_SetAppName" wx_ELJApp_SetAppName :: Ptr (TWxString a) -> IO ()---- | usage: (@wxcAppSetClassName name@).-wxcAppSetClassName :: String ->  IO ()-wxcAppSetClassName name -  = withStringPtr name $ \cobj_name -> -    wx_ELJApp_SetClassName cobj_name  -foreign import ccall "ELJApp_SetClassName" wx_ELJApp_SetClassName :: Ptr (TWxString a) -> IO ()---- | usage: (@wxcAppSetExitOnFrameDelete flag@).-wxcAppSetExitOnFrameDelete :: Int ->  IO ()-wxcAppSetExitOnFrameDelete flag -  = wx_ELJApp_SetExitOnFrameDelete (toCInt flag)  -foreign import ccall "ELJApp_SetExitOnFrameDelete" wx_ELJApp_SetExitOnFrameDelete :: CInt -> IO ()---- | usage: (@wxcAppSetIdleInterval interval@).-wxcAppSetIdleInterval :: Int ->  IO ()-wxcAppSetIdleInterval interval -  = wx_ELJApp_SetIdleInterval (toCInt interval)  -foreign import ccall "ELJApp_SetIdleInterval" wx_ELJApp_SetIdleInterval :: CInt -> IO ()---- | usage: (@wxcAppSetPrintMode mode@).-wxcAppSetPrintMode :: Int ->  IO ()-wxcAppSetPrintMode mode -  = wx_ELJApp_SetPrintMode (toCInt mode)  -foreign import ccall "ELJApp_SetPrintMode" wx_ELJApp_SetPrintMode :: CInt -> IO ()---- | usage: (@wxcAppSetTooltipDelay ms@).-wxcAppSetTooltipDelay :: Int ->  IO ()-wxcAppSetTooltipDelay _ms -  = wx_ELJApp_SetTooltipDelay (toCInt _ms)  -foreign import ccall "ELJApp_SetTooltipDelay" wx_ELJApp_SetTooltipDelay :: CInt -> IO ()---- | usage: (@wxcAppSetTopWindow wnd@).-wxcAppSetTopWindow :: Window  a ->  IO ()-wxcAppSetTopWindow _wnd -  = withObjectPtr _wnd $ \cobj__wnd -> -    wx_ELJApp_SetTopWindow cobj__wnd  -foreign import ccall "ELJApp_SetTopWindow" wx_ELJApp_SetTopWindow :: Ptr (TWindow a) -> IO ()---- | usage: (@wxcAppSetUseBestVisual flag@).-wxcAppSetUseBestVisual :: Int ->  IO ()-wxcAppSetUseBestVisual flag -  = wx_ELJApp_SetUseBestVisual (toCInt flag)  -foreign import ccall "ELJApp_SetUseBestVisual" wx_ELJApp_SetUseBestVisual :: CInt -> IO ()---- | usage: (@wxcAppSetVendorName name@).-wxcAppSetVendorName :: String ->  IO ()-wxcAppSetVendorName name -  = withStringPtr name $ \cobj_name -> -    wx_ELJApp_SetVendorName cobj_name  -foreign import ccall "ELJApp_SetVendorName" wx_ELJApp_SetVendorName :: Ptr (TWxString a) -> IO ()---- | usage: (@wxcAppSleep scs@).-wxcAppSleep :: Int ->  IO ()-wxcAppSleep _scs -  = wx_ELJApp_Sleep (toCInt _scs)  -foreign import ccall "ELJApp_Sleep" wx_ELJApp_Sleep :: CInt -> IO ()---- | usage: (@wxcAppYield@).-wxcAppYield ::  IO Int-wxcAppYield -  = withIntResult $-    wx_ELJApp_Yield -foreign import ccall "ELJApp_Yield" wx_ELJApp_Yield :: IO CInt---- | usage: (@wxcArtProvCreate obj clb@).-wxcArtProvCreate :: Ptr  a -> Ptr  b ->  IO (WXCArtProv  ())-wxcArtProvCreate _obj _clb -  = withObjectResult $-    wx_ELJArtProv_Create _obj  _clb  -foreign import ccall "ELJArtProv_Create" wx_ELJArtProv_Create :: Ptr  a -> Ptr  b -> IO (Ptr (TWXCArtProv ()))---- | usage: (@wxcArtProvRelease obj@).-wxcArtProvRelease :: WXCArtProv  a ->  IO ()-wxcArtProvRelease _obj -  = withObjectRef "wxcArtProvRelease" _obj $ \cobj__obj -> -    wx_ELJArtProv_Release cobj__obj  -foreign import ccall "ELJArtProv_Release" wx_ELJArtProv_Release :: Ptr (TWXCArtProv a) -> IO ()---- | usage: (@wxcBeginBusyCursor@).-wxcBeginBusyCursor ::  IO ()-wxcBeginBusyCursor -  = wx_wxcBeginBusyCursor -foreign import ccall "wxcBeginBusyCursor" wx_wxcBeginBusyCursor :: IO ()---- | usage: (@wxcBell@).-wxcBell ::  IO ()-wxcBell -  = wx_wxcBell -foreign import ccall "wxcBell" wx_wxcBell :: IO ()---- | usage: (@wxcDragDataObjectCreate obj fmt func1 func2 func3@).-wxcDragDataObjectCreate :: Ptr  a -> String -> Ptr  c -> Ptr  d -> Ptr  e ->  IO (WXCDragDataObject  ())-wxcDragDataObjectCreate _obj _fmt _func1 _func2 _func3 -  = withObjectResult $-    withStringPtr _fmt $ \cobj__fmt -> -    wx_ELJDragDataObject_Create _obj  cobj__fmt  _func1  _func2  _func3  -foreign import ccall "ELJDragDataObject_Create" wx_ELJDragDataObject_Create :: Ptr  a -> Ptr (TWxString b) -> Ptr  c -> Ptr  d -> Ptr  e -> IO (Ptr (TWXCDragDataObject ()))---- | usage: (@wxcDragDataObjectDelete obj@).-wxcDragDataObjectDelete :: WXCDragDataObject  a ->  IO ()-wxcDragDataObjectDelete _obj -  = withObjectRef "wxcDragDataObjectDelete" _obj $ \cobj__obj -> -    wx_ELJDragDataObject_Delete cobj__obj  -foreign import ccall "ELJDragDataObject_Delete" wx_ELJDragDataObject_Delete :: Ptr (TWXCDragDataObject a) -> IO ()---- | usage: (@wxcDropTargetCreate obj@).-wxcDropTargetCreate :: Ptr  a ->  IO (WXCDropTarget  ())-wxcDropTargetCreate _obj -  = withObjectResult $-    wx_ELJDropTarget_Create _obj  -foreign import ccall "ELJDropTarget_Create" wx_ELJDropTarget_Create :: Ptr  a -> IO (Ptr (TWXCDropTarget ()))---- | usage: (@wxcDropTargetDelete obj@).-wxcDropTargetDelete :: WXCDropTarget  a ->  IO ()-wxcDropTargetDelete _obj -  = withObjectRef "wxcDropTargetDelete" _obj $ \cobj__obj -> -    wx_ELJDropTarget_Delete cobj__obj  -foreign import ccall "ELJDropTarget_Delete" wx_ELJDropTarget_Delete :: Ptr (TWXCDropTarget a) -> IO ()---- | usage: (@wxcDropTargetSetOnData obj func@).-wxcDropTargetSetOnData :: WXCDropTarget  a -> Ptr  b ->  IO ()-wxcDropTargetSetOnData _obj _func -  = withObjectRef "wxcDropTargetSetOnData" _obj $ \cobj__obj -> -    wx_ELJDropTarget_SetOnData cobj__obj  _func  -foreign import ccall "ELJDropTarget_SetOnData" wx_ELJDropTarget_SetOnData :: Ptr (TWXCDropTarget a) -> Ptr  b -> IO ()---- | usage: (@wxcDropTargetSetOnDragOver obj func@).-wxcDropTargetSetOnDragOver :: WXCDropTarget  a -> Ptr  b ->  IO ()-wxcDropTargetSetOnDragOver _obj _func -  = withObjectRef "wxcDropTargetSetOnDragOver" _obj $ \cobj__obj -> -    wx_ELJDropTarget_SetOnDragOver cobj__obj  _func  -foreign import ccall "ELJDropTarget_SetOnDragOver" wx_ELJDropTarget_SetOnDragOver :: Ptr (TWXCDropTarget a) -> Ptr  b -> IO ()---- | usage: (@wxcDropTargetSetOnDrop obj func@).-wxcDropTargetSetOnDrop :: WXCDropTarget  a -> Ptr  b ->  IO ()-wxcDropTargetSetOnDrop _obj _func -  = withObjectRef "wxcDropTargetSetOnDrop" _obj $ \cobj__obj -> -    wx_ELJDropTarget_SetOnDrop cobj__obj  _func  -foreign import ccall "ELJDropTarget_SetOnDrop" wx_ELJDropTarget_SetOnDrop :: Ptr (TWXCDropTarget a) -> Ptr  b -> IO ()---- | usage: (@wxcDropTargetSetOnEnter obj func@).-wxcDropTargetSetOnEnter :: WXCDropTarget  a -> Ptr  b ->  IO ()-wxcDropTargetSetOnEnter _obj _func -  = withObjectRef "wxcDropTargetSetOnEnter" _obj $ \cobj__obj -> -    wx_ELJDropTarget_SetOnEnter cobj__obj  _func  -foreign import ccall "ELJDropTarget_SetOnEnter" wx_ELJDropTarget_SetOnEnter :: Ptr (TWXCDropTarget a) -> Ptr  b -> IO ()---- | usage: (@wxcDropTargetSetOnLeave obj func@).-wxcDropTargetSetOnLeave :: WXCDropTarget  a -> Ptr  b ->  IO ()-wxcDropTargetSetOnLeave _obj _func -  = withObjectRef "wxcDropTargetSetOnLeave" _obj $ \cobj__obj -> -    wx_ELJDropTarget_SetOnLeave cobj__obj  _func  -foreign import ccall "ELJDropTarget_SetOnLeave" wx_ELJDropTarget_SetOnLeave :: Ptr (TWXCDropTarget a) -> Ptr  b -> IO ()---- | usage: (@wxcEndBusyCursor@).-wxcEndBusyCursor ::  IO ()-wxcEndBusyCursor -  = wx_wxcEndBusyCursor -foreign import ccall "wxcEndBusyCursor" wx_wxcEndBusyCursor :: IO ()---- | usage: (@wxcFileDropTargetCreate obj func@).-wxcFileDropTargetCreate :: Ptr  a -> Ptr  b ->  IO (WXCFileDropTarget  ())-wxcFileDropTargetCreate _obj _func -  = withObjectResult $-    wx_ELJFileDropTarget_Create _obj  _func  -foreign import ccall "ELJFileDropTarget_Create" wx_ELJFileDropTarget_Create :: Ptr  a -> Ptr  b -> IO (Ptr (TWXCFileDropTarget ()))---- | usage: (@wxcFileDropTargetDelete obj@).-wxcFileDropTargetDelete :: WXCFileDropTarget  a ->  IO ()-wxcFileDropTargetDelete _obj -  = withObjectRef "wxcFileDropTargetDelete" _obj $ \cobj__obj -> -    wx_ELJFileDropTarget_Delete cobj__obj  -foreign import ccall "ELJFileDropTarget_Delete" wx_ELJFileDropTarget_Delete :: Ptr (TWXCFileDropTarget a) -> IO ()---- | usage: (@wxcFileDropTargetSetOnData obj func@).-wxcFileDropTargetSetOnData :: WXCFileDropTarget  a -> Ptr  b ->  IO ()-wxcFileDropTargetSetOnData _obj _func -  = withObjectRef "wxcFileDropTargetSetOnData" _obj $ \cobj__obj -> -    wx_ELJFileDropTarget_SetOnData cobj__obj  _func  -foreign import ccall "ELJFileDropTarget_SetOnData" wx_ELJFileDropTarget_SetOnData :: Ptr (TWXCFileDropTarget a) -> Ptr  b -> IO ()---- | usage: (@wxcFileDropTargetSetOnDragOver obj func@).-wxcFileDropTargetSetOnDragOver :: WXCFileDropTarget  a -> Ptr  b ->  IO ()-wxcFileDropTargetSetOnDragOver _obj _func -  = withObjectRef "wxcFileDropTargetSetOnDragOver" _obj $ \cobj__obj -> -    wx_ELJFileDropTarget_SetOnDragOver cobj__obj  _func  -foreign import ccall "ELJFileDropTarget_SetOnDragOver" wx_ELJFileDropTarget_SetOnDragOver :: Ptr (TWXCFileDropTarget a) -> Ptr  b -> IO ()---- | usage: (@wxcFileDropTargetSetOnDrop obj func@).-wxcFileDropTargetSetOnDrop :: WXCFileDropTarget  a -> Ptr  b ->  IO ()-wxcFileDropTargetSetOnDrop _obj _func -  = withObjectRef "wxcFileDropTargetSetOnDrop" _obj $ \cobj__obj -> -    wx_ELJFileDropTarget_SetOnDrop cobj__obj  _func  -foreign import ccall "ELJFileDropTarget_SetOnDrop" wx_ELJFileDropTarget_SetOnDrop :: Ptr (TWXCFileDropTarget a) -> Ptr  b -> IO ()---- | usage: (@wxcFileDropTargetSetOnEnter obj func@).-wxcFileDropTargetSetOnEnter :: WXCFileDropTarget  a -> Ptr  b ->  IO ()-wxcFileDropTargetSetOnEnter _obj _func -  = withObjectRef "wxcFileDropTargetSetOnEnter" _obj $ \cobj__obj -> -    wx_ELJFileDropTarget_SetOnEnter cobj__obj  _func  -foreign import ccall "ELJFileDropTarget_SetOnEnter" wx_ELJFileDropTarget_SetOnEnter :: Ptr (TWXCFileDropTarget a) -> Ptr  b -> IO ()---- | usage: (@wxcFileDropTargetSetOnLeave obj func@).-wxcFileDropTargetSetOnLeave :: WXCFileDropTarget  a -> Ptr  b ->  IO ()-wxcFileDropTargetSetOnLeave _obj _func -  = withObjectRef "wxcFileDropTargetSetOnLeave" _obj $ \cobj__obj -> -    wx_ELJFileDropTarget_SetOnLeave cobj__obj  _func  -foreign import ccall "ELJFileDropTarget_SetOnLeave" wx_ELJFileDropTarget_SetOnLeave :: Ptr (TWXCFileDropTarget a) -> Ptr  b -> IO ()---- | usage: (@wxcFree p@).-wxcFree :: Ptr  a ->  IO ()-wxcFree p -  = wx_wxcFree p  -foreign import ccall "wxcFree" wx_wxcFree :: Ptr  a -> IO ()---- | usage: (@wxcGetMousePosition@).-wxcGetMousePosition ::  IO (Point)-wxcGetMousePosition -  = withWxPointResult $-    wx_wxcGetMousePosition -foreign import ccall "wxcGetMousePosition" wx_wxcGetMousePosition :: IO (Ptr (TWxPoint ()))---- | usage: (@wxcGetPixelRGB buffer width xy@).-wxcGetPixelRGB :: Ptr Word8 -> Int -> Point ->  IO Int-wxcGetPixelRGB buffer width xy -  = withIntResult $-    wx_wxcGetPixelRGB buffer  (toCInt width)  (toCIntPointX xy) (toCIntPointY xy)  -foreign import ccall "wxcGetPixelRGB" wx_wxcGetPixelRGB :: Ptr Word8 -> CInt -> CInt -> CInt -> IO CInt---- | usage: (@wxcGetPixelRGBA buffer width xy@).-wxcGetPixelRGBA :: Ptr Word8 -> Int -> Point ->  IO Word-wxcGetPixelRGBA buffer width xy -  = wx_wxcGetPixelRGBA buffer  (toCInt width)  (toCIntPointX xy) (toCIntPointY xy)  -foreign import ccall "wxcGetPixelRGBA" wx_wxcGetPixelRGBA :: Ptr Word8 -> CInt -> CInt -> CInt -> IO Word---- | usage: (@wxcGridTableCreate obj eifGetNumberRows eifGetNumberCols eifGetValue eifSetValue eifIsEmptyCell eifClear eifInsertRows eifAppendRows eifDeleteRows eifInsertCols eifAppendCols eifDeleteCols eifSetRowLabelValue eifSetColLabelValue eifGetRowLabelValue eifGetColLabelValue@).-wxcGridTableCreate :: Ptr  a -> Ptr  b -> Ptr  c -> Ptr  d -> Ptr  e -> Ptr  f -> Ptr  g -> Ptr  h -> Ptr  i -> Ptr  j -> Ptr  k -> Ptr  l -> Ptr  m -> Ptr  n -> Ptr  o -> Ptr  p -> Ptr  q ->  IO (WXCGridTable  ())-wxcGridTableCreate _obj _EifGetNumberRows _EifGetNumberCols _EifGetValue _EifSetValue _EifIsEmptyCell _EifClear _EifInsertRows _EifAppendRows _EifDeleteRows _EifInsertCols _EifAppendCols _EifDeleteCols _EifSetRowLabelValue _EifSetColLabelValue _EifGetRowLabelValue _EifGetColLabelValue -  = withObjectResult $-    wx_ELJGridTable_Create _obj  _EifGetNumberRows  _EifGetNumberCols  _EifGetValue  _EifSetValue  _EifIsEmptyCell  _EifClear  _EifInsertRows  _EifAppendRows  _EifDeleteRows  _EifInsertCols  _EifAppendCols  _EifDeleteCols  _EifSetRowLabelValue  _EifSetColLabelValue  _EifGetRowLabelValue  _EifGetColLabelValue  -foreign import ccall "ELJGridTable_Create" wx_ELJGridTable_Create :: Ptr  a -> Ptr  b -> Ptr  c -> Ptr  d -> Ptr  e -> Ptr  f -> Ptr  g -> Ptr  h -> Ptr  i -> Ptr  j -> Ptr  k -> Ptr  l -> Ptr  m -> Ptr  n -> Ptr  o -> Ptr  p -> Ptr  q -> IO (Ptr (TWXCGridTable ()))---- | usage: (@wxcGridTableDelete obj@).-wxcGridTableDelete :: WXCGridTable  a ->  IO ()-wxcGridTableDelete-  = objectDelete----- | usage: (@wxcGridTableGetView obj@).-wxcGridTableGetView :: WXCGridTable  a ->  IO (View  ())-wxcGridTableGetView _obj -  = withObjectResult $-    withObjectRef "wxcGridTableGetView" _obj $ \cobj__obj -> -    wx_ELJGridTable_GetView cobj__obj  -foreign import ccall "ELJGridTable_GetView" wx_ELJGridTable_GetView :: Ptr (TWXCGridTable a) -> IO (Ptr (TView ()))---- | usage: (@wxcGridTableSendTableMessage obj id val1 val2@).-wxcGridTableSendTableMessage :: WXCGridTable  a -> Id -> Int -> Int ->  IO (Ptr  ())-wxcGridTableSendTableMessage _obj id val1 val2 -  = withObjectRef "wxcGridTableSendTableMessage" _obj $ \cobj__obj -> -    wx_ELJGridTable_SendTableMessage cobj__obj  (toCInt id)  (toCInt val1)  (toCInt val2)  -foreign import ccall "ELJGridTable_SendTableMessage" wx_ELJGridTable_SendTableMessage :: Ptr (TWXCGridTable a) -> CInt -> CInt -> CInt -> IO (Ptr  ())--{- |  Return the /href/ attribute of the associated html anchor (if applicable)  -}-wxcHtmlEventGetHref :: WXCHtmlEvent  a ->  IO (String)-wxcHtmlEventGetHref self -  = withManagedStringResult $-    withObjectRef "wxcHtmlEventGetHref" self $ \cobj_self -> -    wxcHtmlEvent_GetHref cobj_self  -foreign import ccall "wxcHtmlEvent_GetHref" wxcHtmlEvent_GetHref :: Ptr (TWXCHtmlEvent a) -> IO (Ptr (TWxString ()))---- | usage: (@wxcHtmlEventGetHtmlCell self@).-wxcHtmlEventGetHtmlCell :: WXCHtmlEvent  a ->  IO (HtmlCell  ())-wxcHtmlEventGetHtmlCell self -  = withObjectResult $-    withObjectRef "wxcHtmlEventGetHtmlCell" self $ \cobj_self -> -    wxcHtmlEvent_GetHtmlCell cobj_self  -foreign import ccall "wxcHtmlEvent_GetHtmlCell" wxcHtmlEvent_GetHtmlCell :: Ptr (TWXCHtmlEvent a) -> IO (Ptr (THtmlCell ()))--{- |  Return the /id/ attribute of the associated html cell (if applicable) * -}-wxcHtmlEventGetHtmlCellId :: WXCHtmlEvent  a ->  IO (String)-wxcHtmlEventGetHtmlCellId self -  = withManagedStringResult $-    withObjectRef "wxcHtmlEventGetHtmlCellId" self $ \cobj_self -> -    wxcHtmlEvent_GetHtmlCellId cobj_self  -foreign import ccall "wxcHtmlEvent_GetHtmlCellId" wxcHtmlEvent_GetHtmlCellId :: Ptr (TWXCHtmlEvent a) -> IO (Ptr (TWxString ()))---- | usage: (@wxcHtmlEventGetLogicalPosition self@).-wxcHtmlEventGetLogicalPosition :: WXCHtmlEvent  a ->  IO (Point)-wxcHtmlEventGetLogicalPosition self -  = withWxPointResult $-    withObjectRef "wxcHtmlEventGetLogicalPosition" self $ \cobj_self -> -    wxcHtmlEvent_GetLogicalPosition cobj_self  -foreign import ccall "wxcHtmlEvent_GetLogicalPosition" wxcHtmlEvent_GetLogicalPosition :: Ptr (TWXCHtmlEvent a) -> IO (Ptr (TWxPoint ()))---- | usage: (@wxcHtmlEventGetMouseEvent self@).-wxcHtmlEventGetMouseEvent :: WXCHtmlEvent  a ->  IO (MouseEvent  ())-wxcHtmlEventGetMouseEvent self -  = withObjectResult $-    withObjectRef "wxcHtmlEventGetMouseEvent" self $ \cobj_self -> -    wxcHtmlEvent_GetMouseEvent cobj_self  -foreign import ccall "wxcHtmlEvent_GetMouseEvent" wxcHtmlEvent_GetMouseEvent :: Ptr (TWXCHtmlEvent a) -> IO (Ptr (TMouseEvent ()))---- | usage: (@wxcHtmlEventGetTarget self@).-wxcHtmlEventGetTarget :: WXCHtmlEvent  a ->  IO (String)-wxcHtmlEventGetTarget self -  = withManagedStringResult $-    withObjectRef "wxcHtmlEventGetTarget" self $ \cobj_self -> -    wxcHtmlEvent_GetTarget cobj_self  -foreign import ccall "wxcHtmlEvent_GetTarget" wxcHtmlEvent_GetTarget :: Ptr (TWXCHtmlEvent a) -> IO (Ptr (TWxString ()))---- | usage: (@wxcHtmlWindowCreate prt id lfttopwdthgt stl txt@).-wxcHtmlWindowCreate :: Window  a -> Id -> Rect -> Style -> String ->  IO (WXCHtmlWindow  ())-wxcHtmlWindowCreate _prt _id _lfttopwdthgt _stl _txt -  = withObjectResult $-    withObjectPtr _prt $ \cobj__prt -> -    withStringPtr _txt $ \cobj__txt -> -    wxcHtmlWindow_Create cobj__prt  (toCInt _id)  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  (toCInt _stl)  cobj__txt  -foreign import ccall "wxcHtmlWindow_Create" wxcHtmlWindow_Create :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> Ptr (TWxString e) -> IO (Ptr (TWXCHtmlWindow ()))---- | usage: (@wxcInitPixelsRGB buffer widthheight rgba@).-wxcInitPixelsRGB :: Ptr Word8 -> Size -> Int ->  IO ()-wxcInitPixelsRGB buffer widthheight rgba -  = wx_wxcInitPixelsRGB buffer  (toCIntSizeW widthheight) (toCIntSizeH widthheight)  (toCInt rgba)  -foreign import ccall "wxcInitPixelsRGB" wx_wxcInitPixelsRGB :: Ptr Word8 -> CInt -> CInt -> CInt -> IO ()---- | usage: (@wxcInitPixelsRGBA buffer widthheight rgba@).-wxcInitPixelsRGBA :: Ptr Word8 -> Size -> Word ->  IO ()-wxcInitPixelsRGBA buffer widthheight rgba -  = wx_wxcInitPixelsRGBA buffer  (toCIntSizeW widthheight) (toCIntSizeH widthheight)  rgba  -foreign import ccall "wxcInitPixelsRGBA" wx_wxcInitPixelsRGBA :: Ptr Word8 -> CInt -> CInt -> Word -> IO ()---- | usage: (@wxcIsBusy@).-wxcIsBusy ::  IO ()-wxcIsBusy -  = wx_wxcIsBusy -foreign import ccall "wxcIsBusy" wx_wxcIsBusy :: IO ()---- | usage: (@wxcLogAddTraceMask obj str@).-wxcLogAddTraceMask :: WXCLog  a -> String ->  IO ()-wxcLogAddTraceMask _obj str -  = withObjectRef "wxcLogAddTraceMask" _obj $ \cobj__obj -> -    withCWString str $ \cstr_str -> -    wx_ELJLog_AddTraceMask cobj__obj  cstr_str  -foreign import ccall "ELJLog_AddTraceMask" wx_ELJLog_AddTraceMask :: Ptr (TWXCLog a) -> CWString -> IO ()---- | usage: (@wxcLogCreate obj fnc@).-wxcLogCreate :: Ptr  a -> Ptr  b ->  IO (WXCLog  ())-wxcLogCreate _obj _fnc -  = withObjectResult $-    wx_ELJLog_Create _obj  _fnc  -foreign import ccall "ELJLog_Create" wx_ELJLog_Create :: Ptr  a -> Ptr  b -> IO (Ptr (TWXCLog ()))---- | usage: (@wxcLogDelete obj@).-wxcLogDelete :: WXCLog  a ->  IO ()-wxcLogDelete _obj -  = withObjectRef "wxcLogDelete" _obj $ \cobj__obj -> -    wx_ELJLog_Delete cobj__obj  -foreign import ccall "ELJLog_Delete" wx_ELJLog_Delete :: Ptr (TWXCLog a) -> IO ()---- | usage: (@wxcLogDontCreateOnDemand obj@).-wxcLogDontCreateOnDemand :: WXCLog  a ->  IO ()-wxcLogDontCreateOnDemand _obj -  = withObjectRef "wxcLogDontCreateOnDemand" _obj $ \cobj__obj -> -    wx_ELJLog_DontCreateOnDemand cobj__obj  -foreign import ccall "ELJLog_DontCreateOnDemand" wx_ELJLog_DontCreateOnDemand :: Ptr (TWXCLog a) -> IO ()---- | usage: (@wxcLogEnableLogging obj doIt@).-wxcLogEnableLogging :: WXCLog  a -> Bool ->  IO Int-wxcLogEnableLogging _obj doIt -  = withIntResult $-    withObjectRef "wxcLogEnableLogging" _obj $ \cobj__obj -> -    wx_ELJLog_EnableLogging cobj__obj  (toCBool doIt)  -foreign import ccall "ELJLog_EnableLogging" wx_ELJLog_EnableLogging :: Ptr (TWXCLog a) -> CBool -> IO CInt---- | usage: (@wxcLogFlush obj@).-wxcLogFlush :: WXCLog  a ->  IO ()-wxcLogFlush _obj -  = withObjectRef "wxcLogFlush" _obj $ \cobj__obj -> -    wx_ELJLog_Flush cobj__obj  -foreign import ccall "ELJLog_Flush" wx_ELJLog_Flush :: Ptr (TWXCLog a) -> IO ()---- | usage: (@wxcLogFlushActive obj@).-wxcLogFlushActive :: WXCLog  a ->  IO ()-wxcLogFlushActive _obj -  = withObjectRef "wxcLogFlushActive" _obj $ \cobj__obj -> -    wx_ELJLog_FlushActive cobj__obj  -foreign import ccall "ELJLog_FlushActive" wx_ELJLog_FlushActive :: Ptr (TWXCLog a) -> IO ()---- | usage: (@wxcLogGetActiveTarget@).-wxcLogGetActiveTarget ::  IO (Ptr  ())-wxcLogGetActiveTarget -  = wx_ELJLog_GetActiveTarget -foreign import ccall "ELJLog_GetActiveTarget" wx_ELJLog_GetActiveTarget :: IO (Ptr  ())---- | usage: (@wxcLogGetTimestamp obj@).-wxcLogGetTimestamp :: WXCLog  a ->  IO (Ptr  ())-wxcLogGetTimestamp _obj -  = withObjectRef "wxcLogGetTimestamp" _obj $ \cobj__obj -> -    wx_ELJLog_GetTimestamp cobj__obj  -foreign import ccall "ELJLog_GetTimestamp" wx_ELJLog_GetTimestamp :: Ptr (TWXCLog a) -> IO (Ptr  ())---- | usage: (@wxcLogGetTraceMask obj@).-wxcLogGetTraceMask :: WXCLog  a ->  IO Int-wxcLogGetTraceMask _obj -  = withIntResult $-    withObjectRef "wxcLogGetTraceMask" _obj $ \cobj__obj -> -    wx_ELJLog_GetTraceMask cobj__obj  -foreign import ccall "ELJLog_GetTraceMask" wx_ELJLog_GetTraceMask :: Ptr (TWXCLog a) -> IO CInt---- | usage: (@wxcLogGetVerbose obj@).-wxcLogGetVerbose :: WXCLog  a ->  IO Int-wxcLogGetVerbose _obj -  = withIntResult $-    withObjectRef "wxcLogGetVerbose" _obj $ \cobj__obj -> -    wx_ELJLog_GetVerbose cobj__obj  -foreign import ccall "ELJLog_GetVerbose" wx_ELJLog_GetVerbose :: Ptr (TWXCLog a) -> IO CInt---- | usage: (@wxcLogHasPendingMessages obj@).-wxcLogHasPendingMessages :: WXCLog  a ->  IO Bool-wxcLogHasPendingMessages _obj -  = withBoolResult $-    withObjectRef "wxcLogHasPendingMessages" _obj $ \cobj__obj -> -    wx_ELJLog_HasPendingMessages cobj__obj  -foreign import ccall "ELJLog_HasPendingMessages" wx_ELJLog_HasPendingMessages :: Ptr (TWXCLog a) -> IO CBool---- | usage: (@wxcLogIsAllowedTraceMask obj mask@).-wxcLogIsAllowedTraceMask :: WXCLog  a -> Mask  b ->  IO Bool-wxcLogIsAllowedTraceMask _obj mask -  = withBoolResult $-    withObjectRef "wxcLogIsAllowedTraceMask" _obj $ \cobj__obj -> -    withObjectPtr mask $ \cobj_mask -> -    wx_ELJLog_IsAllowedTraceMask cobj__obj  cobj_mask  -foreign import ccall "ELJLog_IsAllowedTraceMask" wx_ELJLog_IsAllowedTraceMask :: Ptr (TWXCLog a) -> Ptr (TMask b) -> IO CBool---- | usage: (@wxcLogIsEnabled obj@).-wxcLogIsEnabled :: WXCLog  a ->  IO Bool-wxcLogIsEnabled _obj -  = withBoolResult $-    withObjectRef "wxcLogIsEnabled" _obj $ \cobj__obj -> -    wx_ELJLog_IsEnabled cobj__obj  -foreign import ccall "ELJLog_IsEnabled" wx_ELJLog_IsEnabled :: Ptr (TWXCLog a) -> IO CBool---- | usage: (@wxcLogOnLog obj level szString t@).-wxcLogOnLog :: WXCLog  a -> Int -> Ptr  c -> Int ->  IO ()-wxcLogOnLog _obj level szString t -  = withObjectRef "wxcLogOnLog" _obj $ \cobj__obj -> -    wx_ELJLog_OnLog cobj__obj  (toCInt level)  szString  (toCInt t)  -foreign import ccall "ELJLog_OnLog" wx_ELJLog_OnLog :: Ptr (TWXCLog a) -> CInt -> Ptr  c -> CInt -> IO ()---- | usage: (@wxcLogRemoveTraceMask obj str@).-wxcLogRemoveTraceMask :: WXCLog  a -> String ->  IO ()-wxcLogRemoveTraceMask _obj str -  = withObjectRef "wxcLogRemoveTraceMask" _obj $ \cobj__obj -> -    withCWString str $ \cstr_str -> -    wx_ELJLog_RemoveTraceMask cobj__obj  cstr_str  -foreign import ccall "ELJLog_RemoveTraceMask" wx_ELJLog_RemoveTraceMask :: Ptr (TWXCLog a) -> CWString -> IO ()---- | usage: (@wxcLogResume obj@).-wxcLogResume :: WXCLog  a ->  IO ()-wxcLogResume _obj -  = withObjectRef "wxcLogResume" _obj $ \cobj__obj -> -    wx_ELJLog_Resume cobj__obj  -foreign import ccall "ELJLog_Resume" wx_ELJLog_Resume :: Ptr (TWXCLog a) -> IO ()---- | usage: (@wxcLogSetActiveTarget pLogger@).-wxcLogSetActiveTarget :: WXCLog  a ->  IO (Ptr  ())-wxcLogSetActiveTarget pLogger -  = withObjectRef "wxcLogSetActiveTarget" pLogger $ \cobj_pLogger -> -    wx_ELJLog_SetActiveTarget cobj_pLogger  -foreign import ccall "ELJLog_SetActiveTarget" wx_ELJLog_SetActiveTarget :: Ptr (TWXCLog a) -> IO (Ptr  ())---- | usage: (@wxcLogSetTimestamp obj ts@).-wxcLogSetTimestamp :: WXCLog  a -> Ptr  b ->  IO ()-wxcLogSetTimestamp _obj ts -  = withObjectRef "wxcLogSetTimestamp" _obj $ \cobj__obj -> -    wx_ELJLog_SetTimestamp cobj__obj  ts  -foreign import ccall "ELJLog_SetTimestamp" wx_ELJLog_SetTimestamp :: Ptr (TWXCLog a) -> Ptr  b -> IO ()---- | usage: (@wxcLogSetTraceMask obj ulMask@).-wxcLogSetTraceMask :: WXCLog  a -> Int ->  IO ()-wxcLogSetTraceMask _obj ulMask -  = withObjectRef "wxcLogSetTraceMask" _obj $ \cobj__obj -> -    wx_ELJLog_SetTraceMask cobj__obj  (toCInt ulMask)  -foreign import ccall "ELJLog_SetTraceMask" wx_ELJLog_SetTraceMask :: Ptr (TWXCLog a) -> CInt -> IO ()---- | usage: (@wxcLogSetVerbose obj bVerbose@).-wxcLogSetVerbose :: WXCLog  a -> Int ->  IO ()-wxcLogSetVerbose _obj bVerbose -  = withObjectRef "wxcLogSetVerbose" _obj $ \cobj__obj -> -    wx_ELJLog_SetVerbose cobj__obj  (toCInt bVerbose)  -foreign import ccall "ELJLog_SetVerbose" wx_ELJLog_SetVerbose :: Ptr (TWXCLog a) -> CInt -> IO ()---- | usage: (@wxcLogSuspend obj@).-wxcLogSuspend :: WXCLog  a ->  IO ()-wxcLogSuspend _obj -  = withObjectRef "wxcLogSuspend" _obj $ \cobj__obj -> -    wx_ELJLog_Suspend cobj__obj  -foreign import ccall "ELJLog_Suspend" wx_ELJLog_Suspend :: Ptr (TWXCLog a) -> IO ()---- | usage: (@wxcMalloc size@).-wxcMalloc :: Int ->  IO (Ptr  ())-wxcMalloc size -  = wx_wxcMalloc (toCInt size)  -foreign import ccall "wxcMalloc" wx_wxcMalloc :: CInt -> IO (Ptr  ())---- | usage: (@wxcPreviewControlBarCreate preview buttons parent title xywh style@).-wxcPreviewControlBarCreate :: Ptr  a -> Int -> Window  c -> Ptr  d -> Rect -> Int ->  IO (WXCPreviewControlBar  ())-wxcPreviewControlBarCreate preview buttons parent title xywh style -  = withObjectResult $-    withObjectPtr parent $ \cobj_parent -> -    wx_ELJPreviewControlBar_Create preview  (toCInt buttons)  cobj_parent  title  (toCIntRectX xywh) (toCIntRectY xywh)(toCIntRectW xywh) (toCIntRectH xywh)  (toCInt style)  -foreign import ccall "ELJPreviewControlBar_Create" wx_ELJPreviewControlBar_Create :: Ptr  a -> CInt -> Ptr (TWindow c) -> Ptr  d -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TWXCPreviewControlBar ()))---- | usage: (@wxcPreviewFrameCreate obj wxinit createcanvas createtoolbar preview parent title xywh style@).-wxcPreviewFrameCreate :: Ptr  a -> Ptr  b -> Ptr  c -> Ptr  d -> Ptr  e -> Window  f -> Ptr  g -> Rect -> Int ->  IO (WXCPreviewFrame  ())-wxcPreviewFrameCreate _obj _init _createcanvas _createtoolbar preview parent title xywh style -  = withObjectResult $-    withObjectPtr parent $ \cobj_parent -> -    wx_ELJPreviewFrame_Create _obj  _init  _createcanvas  _createtoolbar  preview  cobj_parent  title  (toCIntRectX xywh) (toCIntRectY xywh)(toCIntRectW xywh) (toCIntRectH xywh)  (toCInt style)  -foreign import ccall "ELJPreviewFrame_Create" wx_ELJPreviewFrame_Create :: Ptr  a -> Ptr  b -> Ptr  c -> Ptr  d -> Ptr  e -> Ptr (TWindow f) -> Ptr  g -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TWXCPreviewFrame ()))---- | usage: (@wxcPreviewFrameGetControlBar obj@).-wxcPreviewFrameGetControlBar :: WXCPreviewFrame  a ->  IO (Ptr  ())-wxcPreviewFrameGetControlBar _obj -  = withObjectRef "wxcPreviewFrameGetControlBar" _obj $ \cobj__obj -> -    wx_ELJPreviewFrame_GetControlBar cobj__obj  -foreign import ccall "ELJPreviewFrame_GetControlBar" wx_ELJPreviewFrame_GetControlBar :: Ptr (TWXCPreviewFrame a) -> IO (Ptr  ())---- | usage: (@wxcPreviewFrameGetPreviewCanvas obj@).-wxcPreviewFrameGetPreviewCanvas :: WXCPreviewFrame  a ->  IO (PreviewCanvas  ())-wxcPreviewFrameGetPreviewCanvas _obj -  = withObjectResult $-    withObjectRef "wxcPreviewFrameGetPreviewCanvas" _obj $ \cobj__obj -> -    wx_ELJPreviewFrame_GetPreviewCanvas cobj__obj  -foreign import ccall "ELJPreviewFrame_GetPreviewCanvas" wx_ELJPreviewFrame_GetPreviewCanvas :: Ptr (TWXCPreviewFrame a) -> IO (Ptr (TPreviewCanvas ()))---- | usage: (@wxcPreviewFrameGetPrintPreview obj@).-wxcPreviewFrameGetPrintPreview :: WXCPreviewFrame  a ->  IO (PrintPreview  ())-wxcPreviewFrameGetPrintPreview _obj -  = withObjectResult $-    withObjectRef "wxcPreviewFrameGetPrintPreview" _obj $ \cobj__obj -> -    wx_ELJPreviewFrame_GetPrintPreview cobj__obj  -foreign import ccall "ELJPreviewFrame_GetPrintPreview" wx_ELJPreviewFrame_GetPrintPreview :: Ptr (TWXCPreviewFrame a) -> IO (Ptr (TPrintPreview ()))---- | usage: (@wxcPreviewFrameInitialize obj@).-wxcPreviewFrameInitialize :: WXCPreviewFrame  a ->  IO ()-wxcPreviewFrameInitialize _obj -  = withObjectRef "wxcPreviewFrameInitialize" _obj $ \cobj__obj -> -    wx_ELJPreviewFrame_Initialize cobj__obj  -foreign import ccall "ELJPreviewFrame_Initialize" wx_ELJPreviewFrame_Initialize :: Ptr (TWXCPreviewFrame a) -> IO ()---- | usage: (@wxcPreviewFrameSetControlBar obj obj@).-wxcPreviewFrameSetControlBar :: WXCPreviewFrame  a -> Ptr  b ->  IO ()-wxcPreviewFrameSetControlBar _obj obj -  = withObjectRef "wxcPreviewFrameSetControlBar" _obj $ \cobj__obj -> -    wx_ELJPreviewFrame_SetControlBar cobj__obj  obj  -foreign import ccall "ELJPreviewFrame_SetControlBar" wx_ELJPreviewFrame_SetControlBar :: Ptr (TWXCPreviewFrame a) -> Ptr  b -> IO ()---- | usage: (@wxcPreviewFrameSetPreviewCanvas obj obj@).-wxcPreviewFrameSetPreviewCanvas :: WXCPreviewFrame  a -> PreviewCanvas  b ->  IO ()-wxcPreviewFrameSetPreviewCanvas _obj obj -  = withObjectRef "wxcPreviewFrameSetPreviewCanvas" _obj $ \cobj__obj -> -    withObjectPtr obj $ \cobj_obj -> -    wx_ELJPreviewFrame_SetPreviewCanvas cobj__obj  cobj_obj  -foreign import ccall "ELJPreviewFrame_SetPreviewCanvas" wx_ELJPreviewFrame_SetPreviewCanvas :: Ptr (TWXCPreviewFrame a) -> Ptr (TPreviewCanvas b) -> IO ()---- | usage: (@wxcPreviewFrameSetPrintPreview obj obj@).-wxcPreviewFrameSetPrintPreview :: WXCPreviewFrame  a -> PrintPreview  b ->  IO ()-wxcPreviewFrameSetPrintPreview _obj obj -  = withObjectRef "wxcPreviewFrameSetPrintPreview" _obj $ \cobj__obj -> -    withObjectPtr obj $ \cobj_obj -> -    wx_ELJPreviewFrame_SetPrintPreview cobj__obj  cobj_obj  -foreign import ccall "ELJPreviewFrame_SetPrintPreview" wx_ELJPreviewFrame_SetPrintPreview :: Ptr (TWXCPreviewFrame a) -> Ptr (TPrintPreview b) -> IO ()---- | usage: (@wxcPrintEventGetContinue self@).-wxcPrintEventGetContinue :: WXCPrintEvent  a ->  IO Bool-wxcPrintEventGetContinue self -  = withBoolResult $-    withObjectRef "wxcPrintEventGetContinue" self $ \cobj_self -> -    wxcPrintEvent_GetContinue cobj_self  -foreign import ccall "wxcPrintEvent_GetContinue" wxcPrintEvent_GetContinue :: Ptr (TWXCPrintEvent a) -> IO CBool---- | usage: (@wxcPrintEventGetEndPage self@).-wxcPrintEventGetEndPage :: WXCPrintEvent  a ->  IO Int-wxcPrintEventGetEndPage self -  = withIntResult $-    withObjectRef "wxcPrintEventGetEndPage" self $ \cobj_self -> -    wxcPrintEvent_GetEndPage cobj_self  -foreign import ccall "wxcPrintEvent_GetEndPage" wxcPrintEvent_GetEndPage :: Ptr (TWXCPrintEvent a) -> IO CInt---- | usage: (@wxcPrintEventGetPage self@).-wxcPrintEventGetPage :: WXCPrintEvent  a ->  IO Int-wxcPrintEventGetPage self -  = withIntResult $-    withObjectRef "wxcPrintEventGetPage" self $ \cobj_self -> -    wxcPrintEvent_GetPage cobj_self  -foreign import ccall "wxcPrintEvent_GetPage" wxcPrintEvent_GetPage :: Ptr (TWXCPrintEvent a) -> IO CInt--{- |  Usage: @wxcPrintEventGetPrintout self@. Do not delete the associated printout! * -}-wxcPrintEventGetPrintout :: WXCPrintEvent  a ->  IO (WXCPrintout  ())-wxcPrintEventGetPrintout self -  = withObjectResult $-    withObjectRef "wxcPrintEventGetPrintout" self $ \cobj_self -> -    wxcPrintEvent_GetPrintout cobj_self  -foreign import ccall "wxcPrintEvent_GetPrintout" wxcPrintEvent_GetPrintout :: Ptr (TWXCPrintEvent a) -> IO (Ptr (TWXCPrintout ()))---- | usage: (@wxcPrintEventSetContinue self cont@).-wxcPrintEventSetContinue :: WXCPrintEvent  a -> Bool ->  IO ()-wxcPrintEventSetContinue self cont -  = withObjectRef "wxcPrintEventSetContinue" self $ \cobj_self -> -    wxcPrintEvent_SetContinue cobj_self  (toCBool cont)  -foreign import ccall "wxcPrintEvent_SetContinue" wxcPrintEvent_SetContinue :: Ptr (TWXCPrintEvent a) -> CBool -> IO ()---- | usage: (@wxcPrintEventSetPageLimits self startPage endPage fromPage toPage@).-wxcPrintEventSetPageLimits :: WXCPrintEvent  a -> Int -> Int -> Int -> Int ->  IO ()-wxcPrintEventSetPageLimits self startPage endPage fromPage toPage -  = withObjectRef "wxcPrintEventSetPageLimits" self $ \cobj_self -> -    wxcPrintEvent_SetPageLimits cobj_self  (toCInt startPage)  (toCInt endPage)  (toCInt fromPage)  (toCInt toPage)  -foreign import ccall "wxcPrintEvent_SetPageLimits" wxcPrintEvent_SetPageLimits :: Ptr (TWXCPrintEvent a) -> CInt -> CInt -> CInt -> CInt -> IO ()---- | usage: (@wxcPrintoutCreate title@).-wxcPrintoutCreate :: String ->  IO (WXCPrintout  ())-wxcPrintoutCreate title -  = withObjectResult $-    withStringPtr title $ \cobj_title -> -    wxcPrintout_Create cobj_title  -foreign import ccall "wxcPrintout_Create" wxcPrintout_Create :: Ptr (TWxString a) -> IO (Ptr (TWXCPrintout ()))---- | usage: (@wxcPrintoutDelete self@).-wxcPrintoutDelete :: WXCPrintout  a ->  IO ()-wxcPrintoutDelete-  = objectDelete---{- |  Usage: @wxcPrintoutGetEvtHandler self@. Do not delete the associated event handler! * -}-wxcPrintoutGetEvtHandler :: WXCPrintout  a ->  IO (WXCPrintoutHandler  ())-wxcPrintoutGetEvtHandler self -  = withObjectResult $-    withObjectRef "wxcPrintoutGetEvtHandler" self $ \cobj_self -> -    wxcPrintout_GetEvtHandler cobj_self  -foreign import ccall "wxcPrintout_GetEvtHandler" wxcPrintout_GetEvtHandler :: Ptr (TWXCPrintout a) -> IO (Ptr (TWXCPrintoutHandler ()))---- | usage: (@wxcPrintoutSetPageLimits self startPage endPage fromPage toPage@).-wxcPrintoutSetPageLimits :: WXCPrintout  a -> Int -> Int -> Int -> Int ->  IO ()-wxcPrintoutSetPageLimits self startPage endPage fromPage toPage -  = withObjectRef "wxcPrintoutSetPageLimits" self $ \cobj_self -> -    wxcPrintout_SetPageLimits cobj_self  (toCInt startPage)  (toCInt endPage)  (toCInt fromPage)  (toCInt toPage)  -foreign import ccall "wxcPrintout_SetPageLimits" wxcPrintout_SetPageLimits :: Ptr (TWXCPrintout a) -> CInt -> CInt -> CInt -> CInt -> IO ()---- | usage: (@wxcSetPixelRGB buffer width xy rgb@).-wxcSetPixelRGB :: Ptr Word8 -> Int -> Point -> Int ->  IO ()-wxcSetPixelRGB buffer width xy rgb -  = wx_wxcSetPixelRGB buffer  (toCInt width)  (toCIntPointX xy) (toCIntPointY xy)  (toCInt rgb)  -foreign import ccall "wxcSetPixelRGB" wx_wxcSetPixelRGB :: Ptr Word8 -> CInt -> CInt -> CInt -> CInt -> IO ()---- | usage: (@wxcSetPixelRGBA buffer width xy rgba@).-wxcSetPixelRGBA :: Ptr Word8 -> Int -> Point -> Word ->  IO ()-wxcSetPixelRGBA buffer width xy rgba -  = wx_wxcSetPixelRGBA buffer  (toCInt width)  (toCIntPointX xy) (toCIntPointY xy)  rgba  -foreign import ccall "wxcSetPixelRGBA" wx_wxcSetPixelRGBA :: Ptr Word8 -> CInt -> CInt -> CInt -> Word -> IO ()---- | usage: (@wxcSetPixelRowRGB buffer width xy rgbStart rgbEnd count@).-wxcSetPixelRowRGB :: Ptr Word8 -> Int -> Point -> Int -> Int -> Int ->  IO ()-wxcSetPixelRowRGB buffer width xy rgbStart rgbEnd count -  = wx_wxcSetPixelRowRGB buffer  (toCInt width)  (toCIntPointX xy) (toCIntPointY xy)  (toCInt rgbStart)  (toCInt rgbEnd)  (toCInt count)  -foreign import ccall "wxcSetPixelRowRGB" wx_wxcSetPixelRowRGB :: Ptr Word8 -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO ()---- | usage: (@wxcSetPixelRowRGBA buffer width xy rgbaStart rgbEnd count@).-wxcSetPixelRowRGBA :: Ptr Word8 -> Int -> Point -> Int -> Int -> Word ->  IO ()-wxcSetPixelRowRGBA buffer width xy rgbaStart rgbEnd count -  = wx_wxcSetPixelRowRGBA buffer  (toCInt width)  (toCIntPointX xy) (toCIntPointY xy)  (toCInt rgbaStart)  (toCInt rgbEnd)  count  -foreign import ccall "wxcSetPixelRowRGBA" wx_wxcSetPixelRowRGBA :: Ptr Word8 -> CInt -> CInt -> CInt -> CInt -> CInt -> Word -> IO ()---- | usage: (@wxcSysErrorCode@).-wxcSysErrorCode ::  IO Int-wxcSysErrorCode -  = withIntResult $-    wx_ELJSysErrorCode -foreign import ccall "ELJSysErrorCode" wx_ELJSysErrorCode :: IO CInt---- | usage: (@wxcSysErrorMsg nErrCode@).-wxcSysErrorMsg :: Int ->  IO (Ptr  ())-wxcSysErrorMsg nErrCode -  = wx_ELJSysErrorMsg (toCInt nErrCode)  -foreign import ccall "ELJSysErrorMsg" wx_ELJSysErrorMsg :: CInt -> IO (Ptr  ())--{- |  Create from system colour. * -}-wxcSystemSettingsGetColour :: Int ->  IO (Color)-wxcSystemSettingsGetColour systemColour -  = withManagedColourResult $-    wx_wxcSystemSettingsGetColour (toCInt systemColour)  -foreign import ccall "wxcSystemSettingsGetColour" wx_wxcSystemSettingsGetColour :: CInt -> IO (Ptr (TColour ()))---- | usage: (@wxcTextDropTargetCreate obj func@).-wxcTextDropTargetCreate :: Ptr  a -> Ptr  b ->  IO (WXCTextDropTarget  ())-wxcTextDropTargetCreate _obj _func -  = withObjectResult $-    wx_ELJTextDropTarget_Create _obj  _func  -foreign import ccall "ELJTextDropTarget_Create" wx_ELJTextDropTarget_Create :: Ptr  a -> Ptr  b -> IO (Ptr (TWXCTextDropTarget ()))---- | usage: (@wxcTextDropTargetDelete obj@).-wxcTextDropTargetDelete :: WXCTextDropTarget  a ->  IO ()-wxcTextDropTargetDelete _obj -  = withObjectRef "wxcTextDropTargetDelete" _obj $ \cobj__obj -> -    wx_ELJTextDropTarget_Delete cobj__obj  -foreign import ccall "ELJTextDropTarget_Delete" wx_ELJTextDropTarget_Delete :: Ptr (TWXCTextDropTarget a) -> IO ()---- | usage: (@wxcTextDropTargetSetOnData obj func@).-wxcTextDropTargetSetOnData :: WXCTextDropTarget  a -> Ptr  b ->  IO ()-wxcTextDropTargetSetOnData _obj _func -  = withObjectRef "wxcTextDropTargetSetOnData" _obj $ \cobj__obj -> -    wx_ELJTextDropTarget_SetOnData cobj__obj  _func  -foreign import ccall "ELJTextDropTarget_SetOnData" wx_ELJTextDropTarget_SetOnData :: Ptr (TWXCTextDropTarget a) -> Ptr  b -> IO ()---- | usage: (@wxcTextDropTargetSetOnDragOver obj func@).-wxcTextDropTargetSetOnDragOver :: WXCTextDropTarget  a -> Ptr  b ->  IO ()-wxcTextDropTargetSetOnDragOver _obj _func -  = withObjectRef "wxcTextDropTargetSetOnDragOver" _obj $ \cobj__obj -> -    wx_ELJTextDropTarget_SetOnDragOver cobj__obj  _func  -foreign import ccall "ELJTextDropTarget_SetOnDragOver" wx_ELJTextDropTarget_SetOnDragOver :: Ptr (TWXCTextDropTarget a) -> Ptr  b -> IO ()---- | usage: (@wxcTextDropTargetSetOnDrop obj func@).-wxcTextDropTargetSetOnDrop :: WXCTextDropTarget  a -> Ptr  b ->  IO ()-wxcTextDropTargetSetOnDrop _obj _func -  = withObjectRef "wxcTextDropTargetSetOnDrop" _obj $ \cobj__obj -> -    wx_ELJTextDropTarget_SetOnDrop cobj__obj  _func  -foreign import ccall "ELJTextDropTarget_SetOnDrop" wx_ELJTextDropTarget_SetOnDrop :: Ptr (TWXCTextDropTarget a) -> Ptr  b -> IO ()---- | usage: (@wxcTextDropTargetSetOnEnter obj func@).-wxcTextDropTargetSetOnEnter :: WXCTextDropTarget  a -> Ptr  b ->  IO ()-wxcTextDropTargetSetOnEnter _obj _func -  = withObjectRef "wxcTextDropTargetSetOnEnter" _obj $ \cobj__obj -> -    wx_ELJTextDropTarget_SetOnEnter cobj__obj  _func  -foreign import ccall "ELJTextDropTarget_SetOnEnter" wx_ELJTextDropTarget_SetOnEnter :: Ptr (TWXCTextDropTarget a) -> Ptr  b -> IO ()---- | usage: (@wxcTextDropTargetSetOnLeave obj func@).-wxcTextDropTargetSetOnLeave :: WXCTextDropTarget  a -> Ptr  b ->  IO ()-wxcTextDropTargetSetOnLeave _obj _func -  = withObjectRef "wxcTextDropTargetSetOnLeave" _obj $ \cobj__obj -> -    wx_ELJTextDropTarget_SetOnLeave cobj__obj  _func  -foreign import ccall "ELJTextDropTarget_SetOnLeave" wx_ELJTextDropTarget_SetOnLeave :: Ptr (TWXCTextDropTarget a) -> Ptr  b -> IO ()---- | usage: (@wxcTextValidatorCreate obj fnc txt stl@).-wxcTextValidatorCreate :: Ptr  a -> Ptr  b -> String -> Style ->  IO (WXCTextValidator  ())-wxcTextValidatorCreate _obj _fnc _txt _stl -  = withObjectResult $-    withCWString _txt $ \cstr__txt -> -    wx_ELJTextValidator_Create _obj  _fnc  cstr__txt  (toCInt _stl)  -foreign import ccall "ELJTextValidator_Create" wx_ELJTextValidator_Create :: Ptr  a -> Ptr  b -> CWString -> CInt -> IO (Ptr (TWXCTextValidator ()))--{- |  Create tree item data with a closure. The closure data contains the data while the function is called on deletion. * -}-wxcTreeItemDataCreate :: Closure  a ->  IO (WXCTreeItemData  ())-wxcTreeItemDataCreate closure -  = withObjectResult $-    withObjectPtr closure $ \cobj_closure -> -    wxcTreeItemData_Create cobj_closure  -foreign import ccall "wxcTreeItemData_Create" wxcTreeItemData_Create :: Ptr (TClosure a) -> IO (Ptr (TWXCTreeItemData ()))--{- |  Get the client data in the form of a closure. Use 'closureGetData' to get to the actual data.* -}-wxcTreeItemDataGetClientClosure :: WXCTreeItemData  a ->  IO (Closure  ())-wxcTreeItemDataGetClientClosure self -  = withObjectResult $-    withObjectRef "wxcTreeItemDataGetClientClosure" self $ \cobj_self -> -    wxcTreeItemData_GetClientClosure cobj_self  -foreign import ccall "wxcTreeItemData_GetClientClosure" wxcTreeItemData_GetClientClosure :: Ptr (TWXCTreeItemData a) -> IO (Ptr (TClosure ()))--{- |  Set the tree item data with a closure. The closure data contains the data while the function is called on deletion. * -}-wxcTreeItemDataSetClientClosure :: WXCTreeItemData  a -> Closure  b ->  IO ()-wxcTreeItemDataSetClientClosure self closure -  = withObjectRef "wxcTreeItemDataSetClientClosure" self $ \cobj_self -> -    withObjectPtr closure $ \cobj_closure -> -    wxcTreeItemData_SetClientClosure cobj_self  cobj_closure  -foreign import ccall "wxcTreeItemData_SetClientClosure" wxcTreeItemData_SetClientClosure :: Ptr (TWXCTreeItemData a) -> Ptr (TClosure b) -> IO ()---- | usage: (@wxcWakeUpIdle@).-wxcWakeUpIdle ::  IO ()-wxcWakeUpIdle -  = wx_wxcWakeUpIdle -foreign import ccall "wxcWakeUpIdle" wx_wxcWakeUpIdle :: IO ()---- | usage: (@wxobjectDelete obj@).-wxobjectDelete :: WxObject  a ->  IO ()-wxobjectDelete-  = objectDelete----- | usage: (@xmlResourceAddHandler obj handler@).-xmlResourceAddHandler :: XmlResource  a -> EvtHandler  b ->  IO ()-xmlResourceAddHandler _obj handler -  = withObjectRef "xmlResourceAddHandler" _obj $ \cobj__obj -> -    withObjectPtr handler $ \cobj_handler -> -    wxXmlResource_AddHandler cobj__obj  cobj_handler  -foreign import ccall "wxXmlResource_AddHandler" wxXmlResource_AddHandler :: Ptr (TXmlResource a) -> Ptr (TEvtHandler b) -> IO ()---- | usage: (@xmlResourceAddSubclassFactory obj factory@).-xmlResourceAddSubclassFactory :: XmlResource  a -> Ptr  b ->  IO ()-xmlResourceAddSubclassFactory _obj factory -  = withObjectRef "xmlResourceAddSubclassFactory" _obj $ \cobj__obj -> -    wxXmlResource_AddSubclassFactory cobj__obj  factory  -foreign import ccall "wxXmlResource_AddSubclassFactory" wxXmlResource_AddSubclassFactory :: Ptr (TXmlResource a) -> Ptr  b -> IO ()---- | usage: (@xmlResourceAttachUnknownControl obj control parent@).-xmlResourceAttachUnknownControl :: XmlResource  a -> Control  b -> Window  c ->  IO Int-xmlResourceAttachUnknownControl _obj control parent -  = withIntResult $-    withObjectRef "xmlResourceAttachUnknownControl" _obj $ \cobj__obj -> -    withObjectPtr control $ \cobj_control -> -    withObjectPtr parent $ \cobj_parent -> -    wxXmlResource_AttachUnknownControl cobj__obj  cobj_control  cobj_parent  -foreign import ccall "wxXmlResource_AttachUnknownControl" wxXmlResource_AttachUnknownControl :: Ptr (TXmlResource a) -> Ptr (TControl b) -> Ptr (TWindow c) -> IO CInt---- | usage: (@xmlResourceClearHandlers obj@).-xmlResourceClearHandlers :: XmlResource  a ->  IO ()-xmlResourceClearHandlers _obj -  = withObjectRef "xmlResourceClearHandlers" _obj $ \cobj__obj -> -    wxXmlResource_ClearHandlers cobj__obj  -foreign import ccall "wxXmlResource_ClearHandlers" wxXmlResource_ClearHandlers :: Ptr (TXmlResource a) -> IO ()---- | usage: (@xmlResourceCompareVersion obj major minor release revision@).-xmlResourceCompareVersion :: XmlResource  a -> Int -> Int -> Int -> Int ->  IO Int-xmlResourceCompareVersion _obj major minor release revision -  = withIntResult $-    withObjectRef "xmlResourceCompareVersion" _obj $ \cobj__obj -> -    wxXmlResource_CompareVersion cobj__obj  (toCInt major)  (toCInt minor)  (toCInt release)  (toCInt revision)  -foreign import ccall "wxXmlResource_CompareVersion" wxXmlResource_CompareVersion :: Ptr (TXmlResource a) -> CInt -> CInt -> CInt -> CInt -> IO CInt---- | usage: (@xmlResourceCreate flags@).-xmlResourceCreate :: Int ->  IO (XmlResource  ())-xmlResourceCreate flags -  = withObjectResult $-    wxXmlResource_Create (toCInt flags)  -foreign import ccall "wxXmlResource_Create" wxXmlResource_Create :: CInt -> IO (Ptr (TXmlResource ()))---- | usage: (@xmlResourceCreateFromFile filemask flags@).-xmlResourceCreateFromFile :: String -> Int ->  IO (XmlResource  ())-xmlResourceCreateFromFile filemask flags -  = withObjectResult $-    withStringPtr filemask $ \cobj_filemask -> -    wxXmlResource_CreateFromFile cobj_filemask  (toCInt flags)  -foreign import ccall "wxXmlResource_CreateFromFile" wxXmlResource_CreateFromFile :: Ptr (TWxString a) -> CInt -> IO (Ptr (TXmlResource ()))---- | usage: (@xmlResourceDelete obj@).-xmlResourceDelete :: XmlResource  a ->  IO ()-xmlResourceDelete-  = objectDelete----- | usage: (@xmlResourceGet@).-xmlResourceGet ::  IO (XmlResource  ())-xmlResourceGet -  = withObjectResult $-    wxXmlResource_Get -foreign import ccall "wxXmlResource_Get" wxXmlResource_Get :: IO (Ptr (TXmlResource ()))---- | usage: (@xmlResourceGetBitmapButton obj strid@).-xmlResourceGetBitmapButton :: Window  a -> String ->  IO (BitmapButton  ())-xmlResourceGetBitmapButton _obj strid -  = withObjectResult $-    withObjectPtr _obj $ \cobj__obj -> -    withStringPtr strid $ \cobj_strid -> -    wxXmlResource_GetBitmapButton cobj__obj  cobj_strid  -foreign import ccall "wxXmlResource_GetBitmapButton" wxXmlResource_GetBitmapButton :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TBitmapButton ()))---- | usage: (@xmlResourceGetBoxSizer obj strid@).-xmlResourceGetBoxSizer :: Window  a -> String ->  IO (BoxSizer  ())-xmlResourceGetBoxSizer _obj strid -  = withObjectResult $-    withObjectPtr _obj $ \cobj__obj -> -    withStringPtr strid $ \cobj_strid -> -    wxXmlResource_GetBoxSizer cobj__obj  cobj_strid  -foreign import ccall "wxXmlResource_GetBoxSizer" wxXmlResource_GetBoxSizer :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TBoxSizer ()))---- | usage: (@xmlResourceGetButton obj strid@).-xmlResourceGetButton :: Window  a -> String ->  IO (Button  ())-xmlResourceGetButton _obj strid -  = withObjectResult $-    withObjectPtr _obj $ \cobj__obj -> -    withStringPtr strid $ \cobj_strid -> -    wxXmlResource_GetButton cobj__obj  cobj_strid  -foreign import ccall "wxXmlResource_GetButton" wxXmlResource_GetButton :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TButton ()))---- | usage: (@xmlResourceGetCalendarCtrl obj strid@).-xmlResourceGetCalendarCtrl :: Window  a -> String ->  IO (CalendarCtrl  ())-xmlResourceGetCalendarCtrl _obj strid -  = withObjectResult $-    withObjectPtr _obj $ \cobj__obj -> -    withStringPtr strid $ \cobj_strid -> -    wxXmlResource_GetCalendarCtrl cobj__obj  cobj_strid  -foreign import ccall "wxXmlResource_GetCalendarCtrl" wxXmlResource_GetCalendarCtrl :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TCalendarCtrl ()))---- | usage: (@xmlResourceGetCheckBox obj strid@).-xmlResourceGetCheckBox :: Window  a -> String ->  IO (CheckBox  ())-xmlResourceGetCheckBox _obj strid -  = withObjectResult $-    withObjectPtr _obj $ \cobj__obj -> -    withStringPtr strid $ \cobj_strid -> -    wxXmlResource_GetCheckBox cobj__obj  cobj_strid  -foreign import ccall "wxXmlResource_GetCheckBox" wxXmlResource_GetCheckBox :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TCheckBox ()))---- | usage: (@xmlResourceGetCheckListBox obj strid@).-xmlResourceGetCheckListBox :: Window  a -> String ->  IO (CheckListBox  ())-xmlResourceGetCheckListBox _obj strid -  = withObjectResult $-    withObjectPtr _obj $ \cobj__obj -> -    withStringPtr strid $ \cobj_strid -> -    wxXmlResource_GetCheckListBox cobj__obj  cobj_strid  -foreign import ccall "wxXmlResource_GetCheckListBox" wxXmlResource_GetCheckListBox :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TCheckListBox ()))---- | usage: (@xmlResourceGetChoice obj strid@).-xmlResourceGetChoice :: Window  a -> String ->  IO (Choice  ())-xmlResourceGetChoice _obj strid -  = withObjectResult $-    withObjectPtr _obj $ \cobj__obj -> -    withStringPtr strid $ \cobj_strid -> -    wxXmlResource_GetChoice cobj__obj  cobj_strid  -foreign import ccall "wxXmlResource_GetChoice" wxXmlResource_GetChoice :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TChoice ()))---- | usage: (@xmlResourceGetComboBox obj strid@).-xmlResourceGetComboBox :: Window  a -> String ->  IO (ComboBox  ())-xmlResourceGetComboBox _obj strid -  = withObjectResult $-    withObjectPtr _obj $ \cobj__obj -> -    withStringPtr strid $ \cobj_strid -> -    wxXmlResource_GetComboBox cobj__obj  cobj_strid  -foreign import ccall "wxXmlResource_GetComboBox" wxXmlResource_GetComboBox :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TComboBox ()))---- | usage: (@xmlResourceGetDomain obj@).-xmlResourceGetDomain :: XmlResource  a ->  IO (String)-xmlResourceGetDomain _obj -  = withManagedStringResult $-    withObjectRef "xmlResourceGetDomain" _obj $ \cobj__obj -> -    wxXmlResource_GetDomain cobj__obj  -foreign import ccall "wxXmlResource_GetDomain" wxXmlResource_GetDomain :: Ptr (TXmlResource a) -> IO (Ptr (TWxString ()))---- | usage: (@xmlResourceGetFlags obj@).-xmlResourceGetFlags :: XmlResource  a ->  IO Int-xmlResourceGetFlags _obj -  = withIntResult $-    withObjectRef "xmlResourceGetFlags" _obj $ \cobj__obj -> -    wxXmlResource_GetFlags cobj__obj  -foreign import ccall "wxXmlResource_GetFlags" wxXmlResource_GetFlags :: Ptr (TXmlResource a) -> IO CInt---- | usage: (@xmlResourceGetFlexGridSizer obj strid@).-xmlResourceGetFlexGridSizer :: Window  a -> String ->  IO (FlexGridSizer  ())-xmlResourceGetFlexGridSizer _obj strid -  = withObjectResult $-    withObjectPtr _obj $ \cobj__obj -> -    withStringPtr strid $ \cobj_strid -> -    wxXmlResource_GetFlexGridSizer cobj__obj  cobj_strid  -foreign import ccall "wxXmlResource_GetFlexGridSizer" wxXmlResource_GetFlexGridSizer :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TFlexGridSizer ()))---- | usage: (@xmlResourceGetGauge obj strid@).-xmlResourceGetGauge :: Window  a -> String ->  IO (Gauge  ())-xmlResourceGetGauge _obj strid -  = withObjectResult $-    withObjectPtr _obj $ \cobj__obj -> -    withStringPtr strid $ \cobj_strid -> -    wxXmlResource_GetGauge cobj__obj  cobj_strid  -foreign import ccall "wxXmlResource_GetGauge" wxXmlResource_GetGauge :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TGauge ()))---- | usage: (@xmlResourceGetGrid obj strid@).-xmlResourceGetGrid :: Window  a -> String ->  IO (Grid  ())-xmlResourceGetGrid _obj strid -  = withObjectResult $-    withObjectPtr _obj $ \cobj__obj -> -    withStringPtr strid $ \cobj_strid -> -    wxXmlResource_GetGrid cobj__obj  cobj_strid  -foreign import ccall "wxXmlResource_GetGrid" wxXmlResource_GetGrid :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TGrid ()))---- | usage: (@xmlResourceGetGridSizer obj strid@).-xmlResourceGetGridSizer :: Window  a -> String ->  IO (GridSizer  ())-xmlResourceGetGridSizer _obj strid -  = withObjectResult $-    withObjectPtr _obj $ \cobj__obj -> -    withStringPtr strid $ \cobj_strid -> -    wxXmlResource_GetGridSizer cobj__obj  cobj_strid  -foreign import ccall "wxXmlResource_GetGridSizer" wxXmlResource_GetGridSizer :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TGridSizer ()))---- | usage: (@xmlResourceGetHtmlWindow obj strid@).-xmlResourceGetHtmlWindow :: Window  a -> String ->  IO (HtmlWindow  ())-xmlResourceGetHtmlWindow _obj strid -  = withObjectResult $-    withObjectPtr _obj $ \cobj__obj -> -    withStringPtr strid $ \cobj_strid -> -    wxXmlResource_GetHtmlWindow cobj__obj  cobj_strid  -foreign import ccall "wxXmlResource_GetHtmlWindow" wxXmlResource_GetHtmlWindow :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (THtmlWindow ()))---- | usage: (@xmlResourceGetListBox obj strid@).-xmlResourceGetListBox :: Window  a -> String ->  IO (ListBox  ())-xmlResourceGetListBox _obj strid -  = withObjectResult $-    withObjectPtr _obj $ \cobj__obj -> -    withStringPtr strid $ \cobj_strid -> -    wxXmlResource_GetListBox cobj__obj  cobj_strid  -foreign import ccall "wxXmlResource_GetListBox" wxXmlResource_GetListBox :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TListBox ()))---- | usage: (@xmlResourceGetListCtrl obj strid@).-xmlResourceGetListCtrl :: Window  a -> String ->  IO (ListCtrl  ())-xmlResourceGetListCtrl _obj strid -  = withObjectResult $-    withObjectPtr _obj $ \cobj__obj -> -    withStringPtr strid $ \cobj_strid -> -    wxXmlResource_GetListCtrl cobj__obj  cobj_strid  -foreign import ccall "wxXmlResource_GetListCtrl" wxXmlResource_GetListCtrl :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TListCtrl ()))---- | usage: (@xmlResourceGetMDIChildFrame obj strid@).-xmlResourceGetMDIChildFrame :: Window  a -> String ->  IO (MDIChildFrame  ())-xmlResourceGetMDIChildFrame _obj strid -  = withObjectResult $-    withObjectPtr _obj $ \cobj__obj -> -    withStringPtr strid $ \cobj_strid -> -    wxXmlResource_GetMDIChildFrame cobj__obj  cobj_strid  -foreign import ccall "wxXmlResource_GetMDIChildFrame" wxXmlResource_GetMDIChildFrame :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TMDIChildFrame ()))---- | usage: (@xmlResourceGetMDIParentFrame obj strid@).-xmlResourceGetMDIParentFrame :: Window  a -> String ->  IO (MDIParentFrame  ())-xmlResourceGetMDIParentFrame _obj strid -  = withObjectResult $-    withObjectPtr _obj $ \cobj__obj -> -    withStringPtr strid $ \cobj_strid -> -    wxXmlResource_GetMDIParentFrame cobj__obj  cobj_strid  -foreign import ccall "wxXmlResource_GetMDIParentFrame" wxXmlResource_GetMDIParentFrame :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TMDIParentFrame ()))---- | usage: (@xmlResourceGetMenu obj strid@).-xmlResourceGetMenu :: Window  a -> String ->  IO (Menu  ())-xmlResourceGetMenu _obj strid -  = withObjectResult $-    withObjectPtr _obj $ \cobj__obj -> -    withStringPtr strid $ \cobj_strid -> -    wxXmlResource_GetMenu cobj__obj  cobj_strid  -foreign import ccall "wxXmlResource_GetMenu" wxXmlResource_GetMenu :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TMenu ()))---- | usage: (@xmlResourceGetMenuBar obj strid@).-xmlResourceGetMenuBar :: Window  a -> String ->  IO (MenuBar  ())-xmlResourceGetMenuBar _obj strid -  = withObjectResult $-    withObjectPtr _obj $ \cobj__obj -> -    withStringPtr strid $ \cobj_strid -> -    wxXmlResource_GetMenuBar cobj__obj  cobj_strid  -foreign import ccall "wxXmlResource_GetMenuBar" wxXmlResource_GetMenuBar :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TMenuBar ()))---- | usage: (@xmlResourceGetMenuItem obj strid@).-xmlResourceGetMenuItem :: Window  a -> String ->  IO (MenuItem  ())-xmlResourceGetMenuItem _obj strid -  = withObjectResult $-    withObjectPtr _obj $ \cobj__obj -> -    withStringPtr strid $ \cobj_strid -> -    wxXmlResource_GetMenuItem cobj__obj  cobj_strid  -foreign import ccall "wxXmlResource_GetMenuItem" wxXmlResource_GetMenuItem :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TMenuItem ()))---- | usage: (@xmlResourceGetNotebook obj strid@).-xmlResourceGetNotebook :: Window  a -> String ->  IO (Notebook  ())-xmlResourceGetNotebook _obj strid -  = withObjectResult $-    withObjectPtr _obj $ \cobj__obj -> -    withStringPtr strid $ \cobj_strid -> -    wxXmlResource_GetNotebook cobj__obj  cobj_strid  -foreign import ccall "wxXmlResource_GetNotebook" wxXmlResource_GetNotebook :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TNotebook ()))---- | usage: (@xmlResourceGetPanel obj strid@).-xmlResourceGetPanel :: Window  a -> String ->  IO (Panel  ())-xmlResourceGetPanel _obj strid -  = withObjectResult $-    withObjectPtr _obj $ \cobj__obj -> -    withStringPtr strid $ \cobj_strid -> -    wxXmlResource_GetPanel cobj__obj  cobj_strid  -foreign import ccall "wxXmlResource_GetPanel" wxXmlResource_GetPanel :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TPanel ()))---- | usage: (@xmlResourceGetRadioBox obj strid@).-xmlResourceGetRadioBox :: Window  a -> String ->  IO (RadioBox  ())-xmlResourceGetRadioBox _obj strid -  = withObjectResult $-    withObjectPtr _obj $ \cobj__obj -> -    withStringPtr strid $ \cobj_strid -> -    wxXmlResource_GetRadioBox cobj__obj  cobj_strid  -foreign import ccall "wxXmlResource_GetRadioBox" wxXmlResource_GetRadioBox :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TRadioBox ()))---- | usage: (@xmlResourceGetRadioButton obj strid@).-xmlResourceGetRadioButton :: Window  a -> String ->  IO (RadioButton  ())-xmlResourceGetRadioButton _obj strid -  = withObjectResult $-    withObjectPtr _obj $ \cobj__obj -> -    withStringPtr strid $ \cobj_strid -> -    wxXmlResource_GetRadioButton cobj__obj  cobj_strid  -foreign import ccall "wxXmlResource_GetRadioButton" wxXmlResource_GetRadioButton :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TRadioButton ()))---- | usage: (@xmlResourceGetScrollBar obj strid@).-xmlResourceGetScrollBar :: Window  a -> String ->  IO (ScrollBar  ())-xmlResourceGetScrollBar _obj strid -  = withObjectResult $-    withObjectPtr _obj $ \cobj__obj -> -    withStringPtr strid $ \cobj_strid -> -    wxXmlResource_GetScrollBar cobj__obj  cobj_strid  -foreign import ccall "wxXmlResource_GetScrollBar" wxXmlResource_GetScrollBar :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TScrollBar ()))---- | usage: (@xmlResourceGetScrolledWindow obj strid@).-xmlResourceGetScrolledWindow :: Window  a -> String ->  IO (ScrolledWindow  ())-xmlResourceGetScrolledWindow _obj strid -  = withObjectResult $-    withObjectPtr _obj $ \cobj__obj -> -    withStringPtr strid $ \cobj_strid -> -    wxXmlResource_GetScrolledWindow cobj__obj  cobj_strid  -foreign import ccall "wxXmlResource_GetScrolledWindow" wxXmlResource_GetScrolledWindow :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TScrolledWindow ()))---- | usage: (@xmlResourceGetSizer obj strid@).-xmlResourceGetSizer :: Window  a -> String ->  IO (Sizer  ())-xmlResourceGetSizer _obj strid -  = withObjectResult $-    withObjectPtr _obj $ \cobj__obj -> -    withStringPtr strid $ \cobj_strid -> -    wxXmlResource_GetSizer cobj__obj  cobj_strid  -foreign import ccall "wxXmlResource_GetSizer" wxXmlResource_GetSizer :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TSizer ()))---- | usage: (@xmlResourceGetSlider obj strid@).-xmlResourceGetSlider :: Window  a -> String ->  IO (Slider  ())-xmlResourceGetSlider _obj strid -  = withObjectResult $-    withObjectPtr _obj $ \cobj__obj -> -    withStringPtr strid $ \cobj_strid -> -    wxXmlResource_GetSlider cobj__obj  cobj_strid  -foreign import ccall "wxXmlResource_GetSlider" wxXmlResource_GetSlider :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TSlider ()))---- | usage: (@xmlResourceGetSpinButton obj strid@).-xmlResourceGetSpinButton :: Window  a -> String ->  IO (SpinButton  ())-xmlResourceGetSpinButton _obj strid -  = withObjectResult $-    withObjectPtr _obj $ \cobj__obj -> -    withStringPtr strid $ \cobj_strid -> -    wxXmlResource_GetSpinButton cobj__obj  cobj_strid  -foreign import ccall "wxXmlResource_GetSpinButton" wxXmlResource_GetSpinButton :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TSpinButton ()))---- | usage: (@xmlResourceGetSpinCtrl obj strid@).-xmlResourceGetSpinCtrl :: Window  a -> String ->  IO (SpinCtrl  ())-xmlResourceGetSpinCtrl _obj strid -  = withObjectResult $-    withObjectPtr _obj $ \cobj__obj -> -    withStringPtr strid $ \cobj_strid -> -    wxXmlResource_GetSpinCtrl cobj__obj  cobj_strid  -foreign import ccall "wxXmlResource_GetSpinCtrl" wxXmlResource_GetSpinCtrl :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TSpinCtrl ()))---- | usage: (@xmlResourceGetSplitterWindow obj strid@).-xmlResourceGetSplitterWindow :: Window  a -> String ->  IO (SplitterWindow  ())-xmlResourceGetSplitterWindow _obj strid -  = withObjectResult $-    withObjectPtr _obj $ \cobj__obj -> -    withStringPtr strid $ \cobj_strid -> -    wxXmlResource_GetSplitterWindow cobj__obj  cobj_strid  -foreign import ccall "wxXmlResource_GetSplitterWindow" wxXmlResource_GetSplitterWindow :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TSplitterWindow ()))---- | usage: (@xmlResourceGetStaticBitmap obj strid@).-xmlResourceGetStaticBitmap :: Window  a -> String ->  IO (StaticBitmap  ())-xmlResourceGetStaticBitmap _obj strid -  = withObjectResult $-    withObjectPtr _obj $ \cobj__obj -> -    withStringPtr strid $ \cobj_strid -> -    wxXmlResource_GetStaticBitmap cobj__obj  cobj_strid  -foreign import ccall "wxXmlResource_GetStaticBitmap" wxXmlResource_GetStaticBitmap :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TStaticBitmap ()))---- | usage: (@xmlResourceGetStaticBox obj strid@).-xmlResourceGetStaticBox :: Window  a -> String ->  IO (StaticBox  ())-xmlResourceGetStaticBox _obj strid -  = withObjectResult $-    withObjectPtr _obj $ \cobj__obj -> -    withStringPtr strid $ \cobj_strid -> -    wxXmlResource_GetStaticBox cobj__obj  cobj_strid  -foreign import ccall "wxXmlResource_GetStaticBox" wxXmlResource_GetStaticBox :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TStaticBox ()))---- | usage: (@xmlResourceGetStaticBoxSizer obj strid@).-xmlResourceGetStaticBoxSizer :: Window  a -> String ->  IO (StaticBoxSizer  ())-xmlResourceGetStaticBoxSizer _obj strid -  = withObjectResult $-    withObjectPtr _obj $ \cobj__obj -> -    withStringPtr strid $ \cobj_strid -> -    wxXmlResource_GetStaticBoxSizer cobj__obj  cobj_strid  -foreign import ccall "wxXmlResource_GetStaticBoxSizer" wxXmlResource_GetStaticBoxSizer :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TStaticBoxSizer ()))---- | usage: (@xmlResourceGetStaticLine obj strid@).-xmlResourceGetStaticLine :: Window  a -> String ->  IO (StaticLine  ())-xmlResourceGetStaticLine _obj strid -  = withObjectResult $-    withObjectPtr _obj $ \cobj__obj -> -    withStringPtr strid $ \cobj_strid -> -    wxXmlResource_GetStaticLine cobj__obj  cobj_strid  -foreign import ccall "wxXmlResource_GetStaticLine" wxXmlResource_GetStaticLine :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TStaticLine ()))---- | usage: (@xmlResourceGetStaticText obj strid@).-xmlResourceGetStaticText :: Window  a -> String ->  IO (StaticText  ())-xmlResourceGetStaticText _obj strid -  = withObjectResult $-    withObjectPtr _obj $ \cobj__obj -> -    withStringPtr strid $ \cobj_strid -> -    wxXmlResource_GetStaticText cobj__obj  cobj_strid  -foreign import ccall "wxXmlResource_GetStaticText" wxXmlResource_GetStaticText :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TStaticText ()))---- | usage: (@xmlResourceGetStyledTextCtrl obj strid@).-xmlResourceGetStyledTextCtrl :: Window  a -> String ->  IO (StyledTextCtrl  ())-xmlResourceGetStyledTextCtrl _obj strid -  = withObjectResult $-    withObjectPtr _obj $ \cobj__obj -> -    withStringPtr strid $ \cobj_strid -> -    wxXmlResource_GetStyledTextCtrl cobj__obj  cobj_strid  -foreign import ccall "wxXmlResource_GetStyledTextCtrl" wxXmlResource_GetStyledTextCtrl :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TStyledTextCtrl ()))---- | usage: (@xmlResourceGetTextCtrl obj strid@).-xmlResourceGetTextCtrl :: Window  a -> String ->  IO (TextCtrl  ())-xmlResourceGetTextCtrl _obj strid -  = withObjectResult $-    withObjectPtr _obj $ \cobj__obj -> -    withStringPtr strid $ \cobj_strid -> -    wxXmlResource_GetTextCtrl cobj__obj  cobj_strid  -foreign import ccall "wxXmlResource_GetTextCtrl" wxXmlResource_GetTextCtrl :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TTextCtrl ()))---- | usage: (@xmlResourceGetTreeCtrl obj strid@).-xmlResourceGetTreeCtrl :: Window  a -> String ->  IO (TreeCtrl  ())-xmlResourceGetTreeCtrl _obj strid -  = withObjectResult $-    withObjectPtr _obj $ \cobj__obj -> -    withStringPtr strid $ \cobj_strid -> -    wxXmlResource_GetTreeCtrl cobj__obj  cobj_strid  -foreign import ccall "wxXmlResource_GetTreeCtrl" wxXmlResource_GetTreeCtrl :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TTreeCtrl ()))---- | usage: (@xmlResourceGetVersion obj@).-xmlResourceGetVersion :: XmlResource  a ->  IO Int-xmlResourceGetVersion _obj -  = withIntResult $-    withObjectRef "xmlResourceGetVersion" _obj $ \cobj__obj -> -    wxXmlResource_GetVersion cobj__obj  -foreign import ccall "wxXmlResource_GetVersion" wxXmlResource_GetVersion :: Ptr (TXmlResource a) -> IO CInt---- | usage: (@xmlResourceGetXRCID obj strid@).-xmlResourceGetXRCID :: XmlResource  a -> String ->  IO Int-xmlResourceGetXRCID _obj strid -  = withIntResult $-    withObjectRef "xmlResourceGetXRCID" _obj $ \cobj__obj -> -    withStringPtr strid $ \cobj_strid -> -    wxXmlResource_GetXRCID cobj__obj  cobj_strid  -foreign import ccall "wxXmlResource_GetXRCID" wxXmlResource_GetXRCID :: Ptr (TXmlResource a) -> Ptr (TWxString b) -> IO CInt---- | usage: (@xmlResourceInitAllHandlers obj@).-xmlResourceInitAllHandlers :: XmlResource  a ->  IO ()-xmlResourceInitAllHandlers _obj -  = withObjectRef "xmlResourceInitAllHandlers" _obj $ \cobj__obj -> -    wxXmlResource_InitAllHandlers cobj__obj  -foreign import ccall "wxXmlResource_InitAllHandlers" wxXmlResource_InitAllHandlers :: Ptr (TXmlResource a) -> IO ()---- | usage: (@xmlResourceInsertHandler obj handler@).-xmlResourceInsertHandler :: XmlResource  a -> EvtHandler  b ->  IO ()-xmlResourceInsertHandler _obj handler -  = withObjectRef "xmlResourceInsertHandler" _obj $ \cobj__obj -> -    withObjectPtr handler $ \cobj_handler -> -    wxXmlResource_InsertHandler cobj__obj  cobj_handler  -foreign import ccall "wxXmlResource_InsertHandler" wxXmlResource_InsertHandler :: Ptr (TXmlResource a) -> Ptr (TEvtHandler b) -> IO ()---- | usage: (@xmlResourceLoad obj filemask@).-xmlResourceLoad :: XmlResource  a -> String ->  IO Bool-xmlResourceLoad _obj filemask -  = withBoolResult $-    withObjectRef "xmlResourceLoad" _obj $ \cobj__obj -> -    withStringPtr filemask $ \cobj_filemask -> -    wxXmlResource_Load cobj__obj  cobj_filemask  -foreign import ccall "wxXmlResource_Load" wxXmlResource_Load :: Ptr (TXmlResource a) -> Ptr (TWxString b) -> IO CBool---- | usage: (@xmlResourceLoadBitmap obj name@).-xmlResourceLoadBitmap :: XmlResource  a -> String ->  IO (Bitmap  ())-xmlResourceLoadBitmap _obj name -  = withRefBitmap $ \pref -> -    withObjectRef "xmlResourceLoadBitmap" _obj $ \cobj__obj -> -    withStringPtr name $ \cobj_name -> -    wxXmlResource_LoadBitmap cobj__obj  cobj_name   pref-foreign import ccall "wxXmlResource_LoadBitmap" wxXmlResource_LoadBitmap :: Ptr (TXmlResource a) -> Ptr (TWxString b) -> Ptr (TBitmap ()) -> IO ()---- | usage: (@xmlResourceLoadDialog obj parent name@).-xmlResourceLoadDialog :: XmlResource  a -> Window  b -> String ->  IO (Dialog  ())-xmlResourceLoadDialog _obj parent name -  = withObjectResult $-    withObjectRef "xmlResourceLoadDialog" _obj $ \cobj__obj -> -    withObjectPtr parent $ \cobj_parent -> -    withStringPtr name $ \cobj_name -> -    wxXmlResource_LoadDialog cobj__obj  cobj_parent  cobj_name  -foreign import ccall "wxXmlResource_LoadDialog" wxXmlResource_LoadDialog :: Ptr (TXmlResource a) -> Ptr (TWindow b) -> Ptr (TWxString c) -> IO (Ptr (TDialog ()))---- | usage: (@xmlResourceLoadFrame obj parent name@).-xmlResourceLoadFrame :: XmlResource  a -> Window  b -> String ->  IO (Frame  ())-xmlResourceLoadFrame _obj parent name -  = withObjectResult $-    withObjectRef "xmlResourceLoadFrame" _obj $ \cobj__obj -> -    withObjectPtr parent $ \cobj_parent -> -    withStringPtr name $ \cobj_name -> -    wxXmlResource_LoadFrame cobj__obj  cobj_parent  cobj_name  -foreign import ccall "wxXmlResource_LoadFrame" wxXmlResource_LoadFrame :: Ptr (TXmlResource a) -> Ptr (TWindow b) -> Ptr (TWxString c) -> IO (Ptr (TFrame ()))---- | usage: (@xmlResourceLoadIcon obj name@).-xmlResourceLoadIcon :: XmlResource  a -> String ->  IO (Icon  ())-xmlResourceLoadIcon _obj name -  = withRefIcon $ \pref -> -    withObjectRef "xmlResourceLoadIcon" _obj $ \cobj__obj -> -    withStringPtr name $ \cobj_name -> -    wxXmlResource_LoadIcon cobj__obj  cobj_name   pref-foreign import ccall "wxXmlResource_LoadIcon" wxXmlResource_LoadIcon :: Ptr (TXmlResource a) -> Ptr (TWxString b) -> Ptr (TIcon ()) -> IO ()---- | usage: (@xmlResourceLoadMenu obj name@).-xmlResourceLoadMenu :: XmlResource  a -> String ->  IO (Menu  ())-xmlResourceLoadMenu _obj name -  = withObjectResult $-    withObjectRef "xmlResourceLoadMenu" _obj $ \cobj__obj -> -    withStringPtr name $ \cobj_name -> -    wxXmlResource_LoadMenu cobj__obj  cobj_name  -foreign import ccall "wxXmlResource_LoadMenu" wxXmlResource_LoadMenu :: Ptr (TXmlResource a) -> Ptr (TWxString b) -> IO (Ptr (TMenu ()))---- | usage: (@xmlResourceLoadMenuBar obj parent name@).-xmlResourceLoadMenuBar :: XmlResource  a -> Window  b -> String ->  IO (MenuBar  ())-xmlResourceLoadMenuBar _obj parent name -  = withObjectResult $-    withObjectRef "xmlResourceLoadMenuBar" _obj $ \cobj__obj -> -    withObjectPtr parent $ \cobj_parent -> -    withStringPtr name $ \cobj_name -> -    wxXmlResource_LoadMenuBar cobj__obj  cobj_parent  cobj_name  -foreign import ccall "wxXmlResource_LoadMenuBar" wxXmlResource_LoadMenuBar :: Ptr (TXmlResource a) -> Ptr (TWindow b) -> Ptr (TWxString c) -> IO (Ptr (TMenuBar ()))---- | usage: (@xmlResourceLoadPanel obj parent name@).-xmlResourceLoadPanel :: XmlResource  a -> Window  b -> String ->  IO (Panel  ())-xmlResourceLoadPanel _obj parent name -  = withObjectResult $-    withObjectRef "xmlResourceLoadPanel" _obj $ \cobj__obj -> -    withObjectPtr parent $ \cobj_parent -> -    withStringPtr name $ \cobj_name -> -    wxXmlResource_LoadPanel cobj__obj  cobj_parent  cobj_name  -foreign import ccall "wxXmlResource_LoadPanel" wxXmlResource_LoadPanel :: Ptr (TXmlResource a) -> Ptr (TWindow b) -> Ptr (TWxString c) -> IO (Ptr (TPanel ()))---- | usage: (@xmlResourceLoadToolBar obj parent name@).-xmlResourceLoadToolBar :: XmlResource  a -> Window  b -> String ->  IO (ToolBar  ())-xmlResourceLoadToolBar _obj parent name -  = withObjectResult $-    withObjectRef "xmlResourceLoadToolBar" _obj $ \cobj__obj -> -    withObjectPtr parent $ \cobj_parent -> -    withStringPtr name $ \cobj_name -> -    wxXmlResource_LoadToolBar cobj__obj  cobj_parent  cobj_name  -foreign import ccall "wxXmlResource_LoadToolBar" wxXmlResource_LoadToolBar :: Ptr (TXmlResource a) -> Ptr (TWindow b) -> Ptr (TWxString c) -> IO (Ptr (TToolBar ()))---- | usage: (@xmlResourceSet obj res@).-xmlResourceSet :: XmlResource  a -> XmlResource  b ->  IO (XmlResource  ())-xmlResourceSet _obj res -  = withObjectResult $-    withObjectRef "xmlResourceSet" _obj $ \cobj__obj -> -    withObjectPtr res $ \cobj_res -> -    wxXmlResource_Set cobj__obj  cobj_res  -foreign import ccall "wxXmlResource_Set" wxXmlResource_Set :: Ptr (TXmlResource a) -> Ptr (TXmlResource b) -> IO (Ptr (TXmlResource ()))---- | usage: (@xmlResourceSetDomain obj domain@).-xmlResourceSetDomain :: XmlResource  a -> String ->  IO ()-xmlResourceSetDomain _obj domain -  = withObjectRef "xmlResourceSetDomain" _obj $ \cobj__obj -> -    withStringPtr domain $ \cobj_domain -> -    wxXmlResource_SetDomain cobj__obj  cobj_domain  -foreign import ccall "wxXmlResource_SetDomain" wxXmlResource_SetDomain :: Ptr (TXmlResource a) -> Ptr (TWxString b) -> IO ()---- | usage: (@xmlResourceSetFlags obj flags@).-xmlResourceSetFlags :: XmlResource  a -> Int ->  IO ()-xmlResourceSetFlags _obj flags -  = withObjectRef "xmlResourceSetFlags" _obj $ \cobj__obj -> -    wxXmlResource_SetFlags cobj__obj  (toCInt flags)  -foreign import ccall "wxXmlResource_SetFlags" wxXmlResource_SetFlags :: Ptr (TXmlResource a) -> CInt -> IO ()---- | usage: (@xmlResourceUnload obj filemask@).-xmlResourceUnload :: XmlResource  a -> String ->  IO Bool-xmlResourceUnload _obj filemask -  = withBoolResult $-    withObjectRef "xmlResourceUnload" _obj $ \cobj__obj -> -    withStringPtr filemask $ \cobj_filemask -> -    wxXmlResource_Unload cobj__obj  cobj_filemask  -foreign import ccall "wxXmlResource_Unload" wxXmlResource_Unload :: Ptr (TXmlResource a) -> Ptr (TWxString b) -> IO CBool-+{-# OPTIONS_HADDOCK prune #-}
+{-# LANGUAGE ForeignFunctionInterface #-}
+--------------------------------------------------------------------------------
+{-|
+Module      :  WxcClassesMZ
+Copyright   :  Copyright (c) Daan Leijen 2003, 2004
+License     :  wxWindows
+
+Maintainer  :  wxhaskell-devel@lists.sourceforge.net
+Stability   :  provisional
+Portability :  portable
+
+Haskell class definitions for the wxWidgets C library (@wxc.dll@).
+
+Do not edit this file manually!
+This file was automatically generated by wxDirect.
+
+From the files:
+
+  * @wxc.h@
+
+And contains 2339 methods for 131 classes.
+-}
+--------------------------------------------------------------------------------
+module Graphics.UI.WXCore.WxcClassesMZ
+    ( -- * Global
+     -- ** Null
+      nullAcceleratorTable
+     ,nullBitmap
+     ,nullBrush
+     ,nullColour
+     ,nullCursor
+     ,nullFont
+     ,nullIcon
+     ,nullPalette
+     ,nullPen
+     -- ** Events
+     ,wxEVT_ACTIVATE
+     ,wxEVT_ACTIVATE_APP
+     ,wxEVT_AUINOTEBOOK_ALLOW_DND
+     ,wxEVT_AUINOTEBOOK_BEGIN_DRAG
+     ,wxEVT_AUINOTEBOOK_BG_DCLICK
+     ,wxEVT_AUINOTEBOOK_BUTTON
+     ,wxEVT_AUINOTEBOOK_DRAG_DONE
+     ,wxEVT_AUINOTEBOOK_DRAG_MOTION
+     ,wxEVT_AUINOTEBOOK_END_DRAG
+     ,wxEVT_AUINOTEBOOK_PAGE_CHANGED
+     ,wxEVT_AUINOTEBOOK_PAGE_CHANGING
+     ,wxEVT_AUINOTEBOOK_PAGE_CLOSE
+     ,wxEVT_AUINOTEBOOK_PAGE_CLOSED
+     ,wxEVT_AUINOTEBOOK_TAB_MIDDLE_DOWN
+     ,wxEVT_AUINOTEBOOK_TAB_MIDDLE_UP
+     ,wxEVT_AUINOTEBOOK_TAB_RIGHT_DOWN
+     ,wxEVT_AUINOTEBOOK_TAB_RIGHT_UP
+     ,wxEVT_AUITOOLBAR_BEGIN_DRAG
+     ,wxEVT_AUITOOLBAR_MIDDLE_CLICK
+     ,wxEVT_AUITOOLBAR_OVERFLOW_CLICK
+     ,wxEVT_AUITOOLBAR_RIGHT_CLICK
+     ,wxEVT_AUITOOLBAR_TOOL_DROPDOWN
+     ,wxEVT_AUI_FIND_MANAGER
+     ,wxEVT_AUI_PANE_BUTTON
+     ,wxEVT_AUI_PANE_CLOSE
+     ,wxEVT_AUI_PANE_MAXIMIZE
+     ,wxEVT_AUI_PANE_RESTORE
+     ,wxEVT_AUI_RENDER
+     ,wxEVT_AUX1_DCLICK
+     ,wxEVT_AUX1_DOWN
+     ,wxEVT_AUX1_UP
+     ,wxEVT_AUX2_DCLICK
+     ,wxEVT_AUX2_DOWN
+     ,wxEVT_AUX2_UP
+     ,wxEVT_CALCULATE_LAYOUT
+     ,wxEVT_CALENDAR_DAY_CHANGED
+     ,wxEVT_CALENDAR_DOUBLECLICKED
+     ,wxEVT_CALENDAR_MONTH_CHANGED
+     ,wxEVT_CALENDAR_PAGE_CHANGED
+     ,wxEVT_CALENDAR_SEL_CHANGED
+     ,wxEVT_CALENDAR_WEEKDAY_CLICKED
+     ,wxEVT_CALENDAR_WEEK_CLICKED
+     ,wxEVT_CALENDAR_YEAR_CHANGED
+     ,wxEVT_CHAR
+     ,wxEVT_CHAR_HOOK
+     ,wxEVT_CHILD_FOCUS
+     ,wxEVT_CLIPBOARD_CHANGED
+     ,wxEVT_CLOSE_WINDOW
+     ,wxEVT_COMMAND_BUTTON_CLICKED
+     ,wxEVT_COMMAND_CHECKBOX_CLICKED
+     ,wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
+     ,wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
+     ,wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
+     ,wxEVT_COMMAND_CHOICE_SELECTED
+     ,wxEVT_COMMAND_COLLPANE_CHANGED
+     ,wxEVT_COMMAND_COLOURPICKER_CHANGED
+     ,wxEVT_COMMAND_COMBOBOX_CLOSEUP
+     ,wxEVT_COMMAND_COMBOBOX_DROPDOWN
+     ,wxEVT_COMMAND_COMBOBOX_SELECTED
+     ,wxEVT_COMMAND_DATAVIEW_CACHE_HINT
+     ,wxEVT_COMMAND_DATAVIEW_COLUMN_HEADER_CLICK
+     ,wxEVT_COMMAND_DATAVIEW_COLUMN_HEADER_RIGHT_CLICK
+     ,wxEVT_COMMAND_DATAVIEW_COLUMN_REORDERED
+     ,wxEVT_COMMAND_DATAVIEW_COLUMN_SORTED
+     ,wxEVT_COMMAND_DATAVIEW_ITEM_ACTIVATED
+     ,wxEVT_COMMAND_DATAVIEW_ITEM_BEGIN_DRAG
+     ,wxEVT_COMMAND_DATAVIEW_ITEM_COLLAPSED
+     ,wxEVT_COMMAND_DATAVIEW_ITEM_COLLAPSING
+     ,wxEVT_COMMAND_DATAVIEW_ITEM_CONTEXT_MENU
+     ,wxEVT_COMMAND_DATAVIEW_ITEM_DROP
+     ,wxEVT_COMMAND_DATAVIEW_ITEM_DROP_POSSIBLE
+     ,wxEVT_COMMAND_DATAVIEW_ITEM_EDITING_DONE
+     ,wxEVT_COMMAND_DATAVIEW_ITEM_EDITING_STARTED
+     ,wxEVT_COMMAND_DATAVIEW_ITEM_EXPANDED
+     ,wxEVT_COMMAND_DATAVIEW_ITEM_EXPANDING
+     ,wxEVT_COMMAND_DATAVIEW_ITEM_START_EDITING
+     ,wxEVT_COMMAND_DATAVIEW_ITEM_VALUE_CHANGED
+     ,wxEVT_COMMAND_DATAVIEW_SELECTION_CHANGED
+     ,wxEVT_COMMAND_DIRPICKER_CHANGED
+     ,wxEVT_COMMAND_ENTER
+     ,wxEVT_COMMAND_FILEPICKER_CHANGED
+     ,wxEVT_COMMAND_FIND
+     ,wxEVT_COMMAND_FIND_CLOSE
+     ,wxEVT_COMMAND_FIND_NEXT
+     ,wxEVT_COMMAND_FIND_REPLACE
+     ,wxEVT_COMMAND_FIND_REPLACE_ALL
+     ,wxEVT_COMMAND_FONTPICKER_CHANGED
+     ,wxEVT_COMMAND_HEADER_BEGIN_REORDER
+     ,wxEVT_COMMAND_HEADER_BEGIN_RESIZE
+     ,wxEVT_COMMAND_HEADER_CLICK
+     ,wxEVT_COMMAND_HEADER_DCLICK
+     ,wxEVT_COMMAND_HEADER_DRAGGING_CANCELLED
+     ,wxEVT_COMMAND_HEADER_END_REORDER
+     ,wxEVT_COMMAND_HEADER_END_RESIZE
+     ,wxEVT_COMMAND_HEADER_MIDDLE_CLICK
+     ,wxEVT_COMMAND_HEADER_MIDDLE_DCLICK
+     ,wxEVT_COMMAND_HEADER_RESIZING
+     ,wxEVT_COMMAND_HEADER_RIGHT_CLICK
+     ,wxEVT_COMMAND_HEADER_RIGHT_DCLICK
+     ,wxEVT_COMMAND_HEADER_SEPARATOR_DCLICK
+     ,wxEVT_COMMAND_HTML_CELL_CLICKED
+     ,wxEVT_COMMAND_HTML_CELL_HOVER
+     ,wxEVT_COMMAND_HTML_LINK_CLICKED
+     ,wxEVT_COMMAND_HYPERLINK
+     ,wxEVT_COMMAND_KILL_FOCUS
+     ,wxEVT_COMMAND_LEFT_CLICK
+     ,wxEVT_COMMAND_LEFT_DCLICK
+     ,wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
+     ,wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
+     ,wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
+     ,wxEVT_COMMAND_LISTBOX_SELECTED
+     ,wxEVT_COMMAND_LIST_BEGIN_DRAG
+     ,wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
+     ,wxEVT_COMMAND_LIST_BEGIN_RDRAG
+     ,wxEVT_COMMAND_LIST_CACHE_HINT
+     ,wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
+     ,wxEVT_COMMAND_LIST_COL_CLICK
+     ,wxEVT_COMMAND_LIST_COL_DRAGGING
+     ,wxEVT_COMMAND_LIST_COL_END_DRAG
+     ,wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
+     ,wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
+     ,wxEVT_COMMAND_LIST_DELETE_ITEM
+     ,wxEVT_COMMAND_LIST_END_LABEL_EDIT
+     ,wxEVT_COMMAND_LIST_INSERT_ITEM
+     ,wxEVT_COMMAND_LIST_ITEM_ACTIVATED
+     ,wxEVT_COMMAND_LIST_ITEM_DESELECTED
+     ,wxEVT_COMMAND_LIST_ITEM_FOCUSED
+     ,wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
+     ,wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
+     ,wxEVT_COMMAND_LIST_ITEM_SELECTED
+     ,wxEVT_COMMAND_LIST_KEY_DOWN
+     ,wxEVT_COMMAND_MENU_SELECTED
+     ,wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
+     ,wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
+     ,wxEVT_COMMAND_RADIOBOX_SELECTED
+     ,wxEVT_COMMAND_RADIOBUTTON_SELECTED
+     ,wxEVT_COMMAND_RIBBONBAR_PAGE_CHANGED
+     ,wxEVT_COMMAND_RIBBONBAR_PAGE_CHANGING
+     ,wxEVT_COMMAND_RIBBONBAR_TAB_MIDDLE_DOWN
+     ,wxEVT_COMMAND_RIBBONBAR_TAB_MIDDLE_UP
+     ,wxEVT_COMMAND_RIBBONBAR_TAB_RIGHT_DOWN
+     ,wxEVT_COMMAND_RIBBONBAR_TAB_RIGHT_UP
+     ,wxEVT_COMMAND_RIBBONBUTTON_CLICKED
+     ,wxEVT_COMMAND_RIBBONBUTTON_DROPDOWN_CLICKED
+     ,wxEVT_COMMAND_RIBBONGALLERY_HOVER_CHANGED
+     ,wxEVT_COMMAND_RIBBONGALLERY_SELECTED
+     ,wxEVT_COMMAND_RIBBONTOOL_CLICKED
+     ,wxEVT_COMMAND_RIBBONTOOL_DROPDOWN_CLICKED
+     ,wxEVT_COMMAND_RICHTEXT_BUFFER_RESET
+     ,wxEVT_COMMAND_RICHTEXT_CHARACTER
+     ,wxEVT_COMMAND_RICHTEXT_CONTENT_DELETED
+     ,wxEVT_COMMAND_RICHTEXT_CONTENT_INSERTED
+     ,wxEVT_COMMAND_RICHTEXT_DELETE
+     ,wxEVT_COMMAND_RICHTEXT_LEFT_CLICK
+     ,wxEVT_COMMAND_RICHTEXT_LEFT_DCLICK
+     ,wxEVT_COMMAND_RICHTEXT_MIDDLE_CLICK
+     ,wxEVT_COMMAND_RICHTEXT_RETURN
+     ,wxEVT_COMMAND_RICHTEXT_RIGHT_CLICK
+     ,wxEVT_COMMAND_RICHTEXT_SELECTION_CHANGED
+     ,wxEVT_COMMAND_RICHTEXT_STYLESHEET_CHANGED
+     ,wxEVT_COMMAND_RICHTEXT_STYLESHEET_CHANGING
+     ,wxEVT_COMMAND_RICHTEXT_STYLESHEET_REPLACED
+     ,wxEVT_COMMAND_RICHTEXT_STYLESHEET_REPLACING
+     ,wxEVT_COMMAND_RICHTEXT_STYLE_CHANGED
+     ,wxEVT_COMMAND_RIGHT_CLICK
+     ,wxEVT_COMMAND_RIGHT_DCLICK
+     ,wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN
+     ,wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN
+     ,wxEVT_COMMAND_SET_FOCUS
+     ,wxEVT_COMMAND_SLIDER_UPDATED
+     ,wxEVT_COMMAND_SPINCTRLDOUBLE_UPDATED
+     ,wxEVT_COMMAND_SPINCTRL_UPDATED
+     ,wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
+     ,wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
+     ,wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
+     ,wxEVT_COMMAND_SPLITTER_UNSPLIT
+     ,wxEVT_COMMAND_TEXT_COPY
+     ,wxEVT_COMMAND_TEXT_CUT
+     ,wxEVT_COMMAND_TEXT_ENTER
+     ,wxEVT_COMMAND_TEXT_MAXLEN
+     ,wxEVT_COMMAND_TEXT_PASTE
+     ,wxEVT_COMMAND_TEXT_UPDATED
+     ,wxEVT_COMMAND_TEXT_URL
+     ,wxEVT_COMMAND_THREAD
+     ,wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
+     ,wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
+     ,wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
+     ,wxEVT_COMMAND_TOOL_CLICKED
+     ,wxEVT_COMMAND_TOOL_DROPDOWN_CLICKED
+     ,wxEVT_COMMAND_TOOL_ENTER
+     ,wxEVT_COMMAND_TOOL_RCLICKED
+     ,wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
+     ,wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
+     ,wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
+     ,wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
+     ,wxEVT_COMMAND_TREE_BEGIN_DRAG
+     ,wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
+     ,wxEVT_COMMAND_TREE_BEGIN_RDRAG
+     ,wxEVT_COMMAND_TREE_DELETE_ITEM
+     ,wxEVT_COMMAND_TREE_END_DRAG
+     ,wxEVT_COMMAND_TREE_END_LABEL_EDIT
+     ,wxEVT_COMMAND_TREE_GET_INFO
+     ,wxEVT_COMMAND_TREE_ITEM_ACTIVATED
+     ,wxEVT_COMMAND_TREE_ITEM_COLLAPSED
+     ,wxEVT_COMMAND_TREE_ITEM_COLLAPSING
+     ,wxEVT_COMMAND_TREE_ITEM_EXPANDED
+     ,wxEVT_COMMAND_TREE_ITEM_EXPANDING
+     ,wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
+     ,wxEVT_COMMAND_TREE_ITEM_MENU
+     ,wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
+     ,wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
+     ,wxEVT_COMMAND_TREE_KEY_DOWN
+     ,wxEVT_COMMAND_TREE_SEL_CHANGED
+     ,wxEVT_COMMAND_TREE_SEL_CHANGING
+     ,wxEVT_COMMAND_TREE_SET_INFO
+     ,wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
+     ,wxEVT_COMMAND_VLBOX_SELECTED
+     ,wxEVT_CONTEXT_MENU
+     ,wxEVT_CREATE
+     ,wxEVT_DATE_CHANGED
+     ,wxEVT_DELETE
+     ,wxEVT_DESTROY
+     ,wxEVT_DETAILED_HELP
+     ,wxEVT_DISPLAY_CHANGED
+     ,wxEVT_DROP_FILES
+     ,wxEVT_END_PROCESS
+     ,wxEVT_END_SESSION
+     ,wxEVT_ENTER_WINDOW
+     ,wxEVT_ERASE_BACKGROUND
+     ,wxEVT_FILECTRL_FILEACTIVATED
+     ,wxEVT_FILECTRL_FILTERCHANGED
+     ,wxEVT_FILECTRL_FOLDERCHANGED
+     ,wxEVT_FILECTRL_SELECTIONCHANGED
+     ,wxEVT_FSWATCHER
+     ,wxEVT_GRID_CELL_BEGIN_DRAG
+     ,wxEVT_GRID_CELL_CHANGED
+     ,wxEVT_GRID_CELL_CHANGING
+     ,wxEVT_GRID_CELL_LEFT_CLICK
+     ,wxEVT_GRID_CELL_LEFT_DCLICK
+     ,wxEVT_GRID_CELL_RIGHT_CLICK
+     ,wxEVT_GRID_CELL_RIGHT_DCLICK
+     ,wxEVT_GRID_COL_MOVE
+     ,wxEVT_GRID_COL_SIZE
+     ,wxEVT_GRID_COL_SORT
+     ,wxEVT_GRID_EDITOR_CREATED
+     ,wxEVT_GRID_EDITOR_HIDDEN
+     ,wxEVT_GRID_EDITOR_SHOWN
+     ,wxEVT_GRID_LABEL_LEFT_CLICK
+     ,wxEVT_GRID_LABEL_LEFT_DCLICK
+     ,wxEVT_GRID_LABEL_RIGHT_CLICK
+     ,wxEVT_GRID_LABEL_RIGHT_DCLICK
+     ,wxEVT_GRID_RANGE_SELECT
+     ,wxEVT_GRID_ROW_SIZE
+     ,wxEVT_GRID_SELECT_CELL
+     ,wxEVT_HELP
+     ,wxEVT_HIBERNATE
+     ,wxEVT_HOTKEY
+     ,wxEVT_HTML_CELL_CLICKED
+     ,wxEVT_HTML_CELL_MOUSE_HOVER
+     ,wxEVT_HTML_LINK_CLICKED
+     ,wxEVT_HTML_SET_TITLE
+     ,wxEVT_ICONIZE
+     ,wxEVT_IDLE
+     ,wxEVT_INIT_DIALOG
+     ,wxEVT_INPUT_SINK
+     ,wxEVT_KEY_DOWN
+     ,wxEVT_KEY_UP
+     ,wxEVT_KILL_FOCUS
+     ,wxEVT_LEAVE_WINDOW
+     ,wxEVT_LEFT_DCLICK
+     ,wxEVT_LEFT_DOWN
+     ,wxEVT_LEFT_UP
+     ,wxEVT_MAXIMIZE
+     ,wxEVT_MENU_CLOSE
+     ,wxEVT_MENU_HIGHLIGHT
+     ,wxEVT_MENU_OPEN
+     ,wxEVT_MIDDLE_DCLICK
+     ,wxEVT_MIDDLE_DOWN
+     ,wxEVT_MIDDLE_UP
+     ,wxEVT_MOTION
+     ,wxEVT_MOUSEWHEEL
+     ,wxEVT_MOUSE_CAPTURE_CHANGED
+     ,wxEVT_MOUSE_CAPTURE_LOST
+     ,wxEVT_MOVE
+     ,wxEVT_MOVE_END
+     ,wxEVT_MOVE_START
+     ,wxEVT_MOVING
+     ,wxEVT_NAVIGATION_KEY
+     ,wxEVT_NC_PAINT
+     ,wxEVT_PAINT
+     ,wxEVT_PALETTE_CHANGED
+     ,wxEVT_PG_CHANGED
+     ,wxEVT_PG_CHANGING
+     ,wxEVT_PG_DOUBLE_CLICK
+     ,wxEVT_PG_HIGHLIGHTED
+     ,wxEVT_PG_ITEM_COLLAPSED
+     ,wxEVT_PG_ITEM_EXPANDED
+     ,wxEVT_PG_PAGE_CHANGED
+     ,wxEVT_PG_RIGHT_CLICK
+     ,wxEVT_PG_SELECTED
+     ,wxEVT_POWER_RESUME
+     ,wxEVT_POWER_SUSPENDED
+     ,wxEVT_POWER_SUSPENDING
+     ,wxEVT_POWER_SUSPEND_CANCEL
+     ,wxEVT_PRINT_BEGIN
+     ,wxEVT_PRINT_BEGIN_DOC
+     ,wxEVT_PRINT_END
+     ,wxEVT_PRINT_END_DOC
+     ,wxEVT_PRINT_PAGE
+     ,wxEVT_PRINT_PREPARE
+     ,wxEVT_QUERY_END_SESSION
+     ,wxEVT_QUERY_LAYOUT_INFO
+     ,wxEVT_QUERY_NEW_PALETTE
+     ,wxEVT_RIGHT_DCLICK
+     ,wxEVT_RIGHT_DOWN
+     ,wxEVT_RIGHT_UP
+     ,wxEVT_SASH_DRAGGED
+     ,wxEVT_SCROLLWIN_BOTTOM
+     ,wxEVT_SCROLLWIN_LINEDOWN
+     ,wxEVT_SCROLLWIN_LINEUP
+     ,wxEVT_SCROLLWIN_PAGEDOWN
+     ,wxEVT_SCROLLWIN_PAGEUP
+     ,wxEVT_SCROLLWIN_THUMBRELEASE
+     ,wxEVT_SCROLLWIN_THUMBTRACK
+     ,wxEVT_SCROLLWIN_TOP
+     ,wxEVT_SCROLL_BOTTOM
+     ,wxEVT_SCROLL_CHANGED
+     ,wxEVT_SCROLL_LINEDOWN
+     ,wxEVT_SCROLL_LINEUP
+     ,wxEVT_SCROLL_PAGEDOWN
+     ,wxEVT_SCROLL_PAGEUP
+     ,wxEVT_SCROLL_THUMBRELEASE
+     ,wxEVT_SCROLL_THUMBTRACK
+     ,wxEVT_SCROLL_TOP
+     ,wxEVT_SET_CURSOR
+     ,wxEVT_SET_FOCUS
+     ,wxEVT_SHOW
+     ,wxEVT_SIZE
+     ,wxEVT_SIZING
+     ,wxEVT_SOCKET
+     ,wxEVT_SORT
+     ,wxEVT_SPIN
+     ,wxEVT_SPIN_DOWN
+     ,wxEVT_SPIN_UP
+     ,wxEVT_STC_AUTOCOMP_SELECTION
+     ,wxEVT_STC_CALLTIP_CLICK
+     ,wxEVT_STC_CHANGE
+     ,wxEVT_STC_CHARADDED
+     ,wxEVT_STC_DOUBLECLICK
+     ,wxEVT_STC_DO_DROP
+     ,wxEVT_STC_DRAG_OVER
+     ,wxEVT_STC_DWELLEND
+     ,wxEVT_STC_DWELLSTART
+     ,wxEVT_STC_HOTSPOT_CLICK
+     ,wxEVT_STC_HOTSPOT_DCLICK
+     ,wxEVT_STC_KEY
+     ,wxEVT_STC_MACRORECORD
+     ,wxEVT_STC_MARGINCLICK
+     ,wxEVT_STC_MODIFIED
+     ,wxEVT_STC_NEEDSHOWN
+     ,wxEVT_STC_PAINTED
+     ,wxEVT_STC_ROMODIFYATTEMPT
+     ,wxEVT_STC_SAVEPOINTLEFT
+     ,wxEVT_STC_SAVEPOINTREACHED
+     ,wxEVT_STC_START_DRAG
+     ,wxEVT_STC_STYLENEEDED
+     ,wxEVT_STC_UPDATEUI
+     ,wxEVT_STC_URIDROPPED
+     ,wxEVT_STC_USERLISTSELECTION
+     ,wxEVT_STC_ZOOM
+     ,wxEVT_SYS_COLOUR_CHANGED
+     ,wxEVT_TASKBAR_BALLOON_CLICK
+     ,wxEVT_TASKBAR_BALLOON_TIMEOUT
+     ,wxEVT_TASKBAR_LEFT_DCLICK
+     ,wxEVT_TASKBAR_LEFT_DOWN
+     ,wxEVT_TASKBAR_LEFT_UP
+     ,wxEVT_TASKBAR_MOVE
+     ,wxEVT_TASKBAR_RIGHT_DCLICK
+     ,wxEVT_TASKBAR_RIGHT_DOWN
+     ,wxEVT_TASKBAR_RIGHT_UP
+     ,wxEVT_TIMER
+     ,wxEVT_UPDATE_UI
+     ,wxEVT_WINDOW_MODAL_DIALOG_CLOSED
+     ,wxEVT_WIZARD_CANCEL
+     ,wxEVT_WIZARD_FINISHED
+     ,wxEVT_WIZARD_HELP
+     ,wxEVT_WIZARD_PAGE_CHANGED
+     ,wxEVT_WIZARD_PAGE_CHANGING
+     ,wxEVT_WIZARD_PAGE_SHOWN
+     -- ** Misc.
+     ,popProvider
+     ,pushProvider
+     ,quantize
+     ,quantizePalette
+     ,removeProvider
+     ,textDataObjectCreate
+     ,textDataObjectDelete
+     ,textDataObjectGetText
+     ,textDataObjectGetTextLength
+     ,textDataObjectSetText
+     ,versionNumber
+     ,wxBK_HITTEST_NOWHERE
+     ,wxBK_HITTEST_ONICON
+     ,wxBK_HITTEST_ONITEM
+     ,wxBK_HITTEST_ONLABEL
+     ,wxBK_HITTEST_ONPAGE
+     ,wxK_ADD
+     ,wxK_ALT
+     ,wxK_BACK
+     ,wxK_CANCEL
+     ,wxK_CAPITAL
+     ,wxK_CLEAR
+     ,wxK_CONTROL
+     ,wxK_DECIMAL
+     ,wxK_DELETE
+     ,wxK_DIVIDE
+     ,wxK_DOWN
+     ,wxK_END
+     ,wxK_ESCAPE
+     ,wxK_EXECUTE
+     ,wxK_F1
+     ,wxK_F10
+     ,wxK_F11
+     ,wxK_F12
+     ,wxK_F13
+     ,wxK_F14
+     ,wxK_F15
+     ,wxK_F16
+     ,wxK_F17
+     ,wxK_F18
+     ,wxK_F19
+     ,wxK_F2
+     ,wxK_F20
+     ,wxK_F21
+     ,wxK_F22
+     ,wxK_F23
+     ,wxK_F24
+     ,wxK_F3
+     ,wxK_F4
+     ,wxK_F5
+     ,wxK_F6
+     ,wxK_F7
+     ,wxK_F8
+     ,wxK_F9
+     ,wxK_HELP
+     ,wxK_HOME
+     ,wxK_INSERT
+     ,wxK_LBUTTON
+     ,wxK_LEFT
+     ,wxK_MBUTTON
+     ,wxK_MENU
+     ,wxK_MULTIPLY
+     ,wxK_NUMLOCK
+     ,wxK_NUMPAD0
+     ,wxK_NUMPAD1
+     ,wxK_NUMPAD2
+     ,wxK_NUMPAD3
+     ,wxK_NUMPAD4
+     ,wxK_NUMPAD5
+     ,wxK_NUMPAD6
+     ,wxK_NUMPAD7
+     ,wxK_NUMPAD8
+     ,wxK_NUMPAD9
+     ,wxK_NUMPAD_ADD
+     ,wxK_NUMPAD_BEGIN
+     ,wxK_NUMPAD_DECIMAL
+     ,wxK_NUMPAD_DELETE
+     ,wxK_NUMPAD_DIVIDE
+     ,wxK_NUMPAD_DOWN
+     ,wxK_NUMPAD_END
+     ,wxK_NUMPAD_ENTER
+     ,wxK_NUMPAD_EQUAL
+     ,wxK_NUMPAD_F1
+     ,wxK_NUMPAD_F2
+     ,wxK_NUMPAD_F3
+     ,wxK_NUMPAD_F4
+     ,wxK_NUMPAD_HOME
+     ,wxK_NUMPAD_INSERT
+     ,wxK_NUMPAD_LEFT
+     ,wxK_NUMPAD_MULTIPLY
+     ,wxK_NUMPAD_PAGEDOWN
+     ,wxK_NUMPAD_PAGEUP
+     ,wxK_NUMPAD_RIGHT
+     ,wxK_NUMPAD_SEPARATOR
+     ,wxK_NUMPAD_SPACE
+     ,wxK_NUMPAD_SUBTRACT
+     ,wxK_NUMPAD_TAB
+     ,wxK_NUMPAD_UP
+     ,wxK_PAGEDOWN
+     ,wxK_PAGEUP
+     ,wxK_PAUSE
+     ,wxK_PRINT
+     ,wxK_RBUTTON
+     ,wxK_RETURN
+     ,wxK_RIGHT
+     ,wxK_SCROLL
+     ,wxK_SELECT
+     ,wxK_SEPARATOR
+     ,wxK_SHIFT
+     ,wxK_SNAPSHOT
+     ,wxK_SPACE
+     ,wxK_START
+     ,wxK_SUBTRACT
+     ,wxK_TAB
+     ,wxK_UP
+     ,wxNB_BOTTOM
+     ,wxNB_LEFT
+     ,wxNB_RIGHT
+     ,wxNB_TOP
+     ,wxcBeginBusyCursor
+     ,wxcBell
+     ,wxcEndBusyCursor
+     ,wxcFree
+     ,wxcGetMousePosition
+     ,wxcGetPixelRGB
+     ,wxcGetPixelRGBA
+     ,wxcInitPixelsRGB
+     ,wxcInitPixelsRGBA
+     ,wxcIsBusy
+     ,wxcMalloc
+     ,wxcSetPixelRGB
+     ,wxcSetPixelRGBA
+     ,wxcSetPixelRowRGB
+     ,wxcSetPixelRowRGBA
+     ,wxcSysErrorCode
+     ,wxcSysErrorMsg
+     ,wxcSystemSettingsGetColour
+     ,wxcWakeUpIdle
+      -- * Classes
+     -- ** MDIChildFrame
+     ,mdiChildFrameActivate
+     ,mdiChildFrameCreate
+     -- ** MDIParentFrame
+     ,mdiParentFrameActivateNext
+     ,mdiParentFrameActivatePrevious
+     ,mdiParentFrameArrangeIcons
+     ,mdiParentFrameCascade
+     ,mdiParentFrameCreate
+     ,mdiParentFrameGetActiveChild
+     ,mdiParentFrameGetClientWindow
+     ,mdiParentFrameGetWindowMenu
+     ,mdiParentFrameOnCreateClient
+     ,mdiParentFrameSetWindowMenu
+     ,mdiParentFrameTile
+     -- ** Mask
+     ,maskCreate
+     ,maskCreateColoured
+     -- ** MediaCtrl
+     ,mediaCtrlCreate
+     ,mediaCtrlDelete
+     ,mediaCtrlGetBestSize
+     ,mediaCtrlGetPlaybackRate
+     ,mediaCtrlGetState
+     ,mediaCtrlGetVolume
+     ,mediaCtrlLength
+     ,mediaCtrlLoad
+     ,mediaCtrlLoadURI
+     ,mediaCtrlLoadURIWithProxy
+     ,mediaCtrlPause
+     ,mediaCtrlPlay
+     ,mediaCtrlSeek
+     ,mediaCtrlSetPlaybackRate
+     ,mediaCtrlSetVolume
+     ,mediaCtrlShowPlayerControls
+     ,mediaCtrlStop
+     ,mediaCtrlTell
+     -- ** MemoryDC
+     ,memoryDCCreate
+     ,memoryDCCreateCompatible
+     ,memoryDCCreateWithBitmap
+     ,memoryDCDelete
+     ,memoryDCSelectObject
+     -- ** MemoryInputStream
+     ,memoryInputStreamCreate
+     ,memoryInputStreamDelete
+     -- ** Menu
+     ,menuAppend
+     ,menuAppendItem
+     ,menuAppendRadioItem
+     ,menuAppendSeparator
+     ,menuAppendSub
+     ,menuBreak
+     ,menuCheck
+     ,menuCreate
+     ,menuDeleteById
+     ,menuDeleteByItem
+     ,menuDeletePointer
+     ,menuDestroyById
+     ,menuDestroyByItem
+     ,menuEnable
+     ,menuFindItem
+     ,menuFindItemByLabel
+     ,menuGetClientData
+     ,menuGetHelpString
+     ,menuGetInvokingWindow
+     ,menuGetLabelText
+     ,menuGetMenuBar
+     ,menuGetMenuItemCount
+     ,menuGetMenuItems
+     ,menuGetParent
+     ,menuGetStyle
+     ,menuGetTitle
+     ,menuInsert
+     ,menuInsertItem
+     ,menuInsertSub
+     ,menuIsAttached
+     ,menuIsChecked
+     ,menuIsEnabled
+     ,menuPrepend
+     ,menuPrependItem
+     ,menuPrependSub
+     ,menuRemoveById
+     ,menuRemoveByItem
+     ,menuSetClientData
+     ,menuSetEventHandler
+     ,menuSetHelpString
+     ,menuSetInvokingWindow
+     ,menuSetLabel
+     ,menuSetParent
+     ,menuSetTitle
+     ,menuUpdateUI
+     -- ** MenuBar
+     ,menuBarAppend
+     ,menuBarCheck
+     ,menuBarCreate
+     ,menuBarDeletePointer
+     ,menuBarEnable
+     ,menuBarEnableItem
+     ,menuBarEnableTop
+     ,menuBarFindItem
+     ,menuBarFindMenu
+     ,menuBarFindMenuItem
+     ,menuBarGetFrame
+     ,menuBarGetHelpString
+     ,menuBarGetLabel
+     ,menuBarGetMenu
+     ,menuBarGetMenuCount
+     ,menuBarGetMenuLabel
+     ,menuBarInsert
+     ,menuBarIsChecked
+     ,menuBarIsEnabled
+     ,menuBarRemove
+     ,menuBarReplace
+     ,menuBarSetHelpString
+     ,menuBarSetItemLabel
+     ,menuBarSetLabel
+     ,menuBarSetMenuLabel
+     -- ** MenuEvent
+     ,menuEventCopyObject
+     ,menuEventGetMenuId
+     -- ** MenuItem
+     ,menuItemCheck
+     ,menuItemCreate
+     ,menuItemCreateEx
+     ,menuItemCreateSeparator
+     ,menuItemDelete
+     ,menuItemEnable
+     ,menuItemGetHelp
+     ,menuItemGetId
+     ,menuItemGetItemLabel
+     ,menuItemGetItemLabelText
+     ,menuItemGetLabelText
+     ,menuItemGetMenu
+     ,menuItemGetSubMenu
+     ,menuItemIsCheckable
+     ,menuItemIsChecked
+     ,menuItemIsEnabled
+     ,menuItemIsSeparator
+     ,menuItemIsSubMenu
+     ,menuItemSetCheckable
+     ,menuItemSetHelp
+     ,menuItemSetId
+     ,menuItemSetItemLabel
+     ,menuItemSetSubMenu
+     -- ** MessageDialog
+     ,messageDialogCreate
+     ,messageDialogDelete
+     ,messageDialogShowModal
+     -- ** Metafile
+     ,metafileCreate
+     ,metafileDelete
+     ,metafileIsOk
+     ,metafilePlay
+     ,metafileSetClipboard
+     -- ** MetafileDC
+     ,metafileDCClose
+     ,metafileDCCreate
+     ,metafileDCDelete
+     -- ** MimeTypesManager
+     ,mimeTypesManagerAddFallbacks
+     ,mimeTypesManagerCreate
+     ,mimeTypesManagerEnumAllFileTypes
+     ,mimeTypesManagerGetFileTypeFromExtension
+     ,mimeTypesManagerGetFileTypeFromMimeType
+     ,mimeTypesManagerIsOfType
+     -- ** MiniFrame
+     ,miniFrameCreate
+     -- ** MirrorDC
+     ,mirrorDCCreate
+     ,mirrorDCDelete
+     -- ** MouseEvent
+     ,mouseEventAltDown
+     ,mouseEventButton
+     ,mouseEventButtonDClick
+     ,mouseEventButtonDown
+     ,mouseEventButtonIsDown
+     ,mouseEventButtonUp
+     ,mouseEventControlDown
+     ,mouseEventCopyObject
+     ,mouseEventDragging
+     ,mouseEventEntering
+     ,mouseEventGetButton
+     ,mouseEventGetLogicalPosition
+     ,mouseEventGetPosition
+     ,mouseEventGetWheelDelta
+     ,mouseEventGetWheelRotation
+     ,mouseEventGetX
+     ,mouseEventGetY
+     ,mouseEventIsButton
+     ,mouseEventLeaving
+     ,mouseEventLeftDClick
+     ,mouseEventLeftDown
+     ,mouseEventLeftIsDown
+     ,mouseEventLeftUp
+     ,mouseEventMetaDown
+     ,mouseEventMiddleDClick
+     ,mouseEventMiddleDown
+     ,mouseEventMiddleIsDown
+     ,mouseEventMiddleUp
+     ,mouseEventMoving
+     ,mouseEventRightDClick
+     ,mouseEventRightDown
+     ,mouseEventRightIsDown
+     ,mouseEventRightUp
+     ,mouseEventShiftDown
+     -- ** MoveEvent
+     ,moveEventCopyObject
+     ,moveEventGetPosition
+     -- ** NavigationKeyEvent
+     ,navigationKeyEventGetCurrentFocus
+     ,navigationKeyEventGetDirection
+     ,navigationKeyEventIsWindowChange
+     ,navigationKeyEventSetCurrentFocus
+     ,navigationKeyEventSetDirection
+     ,navigationKeyEventSetWindowChange
+     ,navigationKeyEventShouldPropagate
+     -- ** Notebook
+     ,notebookAddPage
+     ,notebookAdvanceSelection
+     ,notebookAssignImageList
+     ,notebookCreate
+     ,notebookDeleteAllPages
+     ,notebookDeletePage
+     ,notebookGetImageList
+     ,notebookGetPage
+     ,notebookGetPageCount
+     ,notebookGetPageImage
+     ,notebookGetPageText
+     ,notebookGetRowCount
+     ,notebookGetSelection
+     ,notebookHitTest
+     ,notebookInsertPage
+     ,notebookRemovePage
+     ,notebookSetImageList
+     ,notebookSetPadding
+     ,notebookSetPageImage
+     ,notebookSetPageSize
+     ,notebookSetPageText
+     ,notebookSetSelection
+     -- ** NotifyEvent
+     ,notifyEventAllow
+     ,notifyEventCopyObject
+     ,notifyEventIsAllowed
+     ,notifyEventVeto
+     -- ** OutputStream
+     ,outputStreamDelete
+     ,outputStreamLastWrite
+     ,outputStreamPutC
+     ,outputStreamSeek
+     ,outputStreamSync
+     ,outputStreamTell
+     ,outputStreamWrite
+     -- ** PGProperty
+     ,pGPropertyGetLabel
+     ,pGPropertyGetName
+     ,pGPropertyGetValueAsString
+     ,pGPropertyGetValueType
+     ,pGPropertySetHelpString
+     -- ** PageSetupDialog
+     ,pageSetupDialogCreate
+     ,pageSetupDialogGetPageSetupData
+     -- ** PageSetupDialogData
+     ,pageSetupDialogDataAssign
+     ,pageSetupDialogDataAssignData
+     ,pageSetupDialogDataCalculateIdFromPaperSize
+     ,pageSetupDialogDataCalculatePaperSizeFromId
+     ,pageSetupDialogDataCreate
+     ,pageSetupDialogDataCreateFromData
+     ,pageSetupDialogDataDelete
+     ,pageSetupDialogDataEnableHelp
+     ,pageSetupDialogDataEnableMargins
+     ,pageSetupDialogDataEnableOrientation
+     ,pageSetupDialogDataEnablePaper
+     ,pageSetupDialogDataEnablePrinter
+     ,pageSetupDialogDataGetDefaultInfo
+     ,pageSetupDialogDataGetDefaultMinMargins
+     ,pageSetupDialogDataGetEnableHelp
+     ,pageSetupDialogDataGetEnableMargins
+     ,pageSetupDialogDataGetEnableOrientation
+     ,pageSetupDialogDataGetEnablePaper
+     ,pageSetupDialogDataGetEnablePrinter
+     ,pageSetupDialogDataGetMarginBottomRight
+     ,pageSetupDialogDataGetMarginTopLeft
+     ,pageSetupDialogDataGetMinMarginBottomRight
+     ,pageSetupDialogDataGetMinMarginTopLeft
+     ,pageSetupDialogDataGetPaperId
+     ,pageSetupDialogDataGetPaperSize
+     ,pageSetupDialogDataGetPrintData
+     ,pageSetupDialogDataSetDefaultInfo
+     ,pageSetupDialogDataSetDefaultMinMargins
+     ,pageSetupDialogDataSetMarginBottomRight
+     ,pageSetupDialogDataSetMarginTopLeft
+     ,pageSetupDialogDataSetMinMarginBottomRight
+     ,pageSetupDialogDataSetMinMarginTopLeft
+     ,pageSetupDialogDataSetPaperId
+     ,pageSetupDialogDataSetPaperSize
+     ,pageSetupDialogDataSetPaperSizeId
+     ,pageSetupDialogDataSetPrintData
+     -- ** PaintDC
+     ,paintDCCreate
+     ,paintDCDelete
+     -- ** Palette
+     ,paletteAssign
+     ,paletteCreateDefault
+     ,paletteCreateRGB
+     ,paletteDelete
+     ,paletteGetPixel
+     ,paletteGetRGB
+     ,paletteIsEqual
+     ,paletteIsOk
+     -- ** PaletteChangedEvent
+     ,paletteChangedEventCopyObject
+     ,paletteChangedEventGetChangedWindow
+     ,paletteChangedEventSetChangedWindow
+     -- ** Panel
+     ,panelCreate
+     ,panelInitDialog
+     ,panelSetFocus
+     -- ** Pen
+     ,penAssign
+     ,penCreateDefault
+     ,penCreateFromBitmap
+     ,penCreateFromColour
+     ,penCreateFromStock
+     ,penDelete
+     ,penGetCap
+     ,penGetColour
+     ,penGetDashes
+     ,penGetJoin
+     ,penGetStipple
+     ,penGetStyle
+     ,penGetWidth
+     ,penIsEqual
+     ,penIsOk
+     ,penIsStatic
+     ,penSafeDelete
+     ,penSetCap
+     ,penSetColour
+     ,penSetColourSingle
+     ,penSetDashes
+     ,penSetJoin
+     ,penSetStipple
+     ,penSetStyle
+     ,penSetWidth
+     -- ** PostScriptDC
+     ,postScriptDCCreate
+     ,postScriptDCDelete
+     ,postScriptDCGetResolution
+     ,postScriptDCSetResolution
+     -- ** PostScriptPrintNativeData
+     ,postScriptPrintNativeDataCreate
+     ,postScriptPrintNativeDataDelete
+     -- ** PreviewCanvas
+     ,previewCanvasCreate
+     -- ** PreviewFrame
+     ,previewFrameCreate
+     ,previewFrameDelete
+     ,previewFrameInitialize
+     -- ** PrintData
+     ,printDataAssign
+     ,printDataCreate
+     ,printDataDelete
+     ,printDataGetCollate
+     ,printDataGetColour
+     ,printDataGetDuplex
+     ,printDataGetFilename
+     ,printDataGetFontMetricPath
+     ,printDataGetNoCopies
+     ,printDataGetOrientation
+     ,printDataGetPaperId
+     ,printDataGetPaperSize
+     ,printDataGetPreviewCommand
+     ,printDataGetPrintMode
+     ,printDataGetPrinterCommand
+     ,printDataGetPrinterName
+     ,printDataGetPrinterOptions
+     ,printDataGetPrinterScaleX
+     ,printDataGetPrinterScaleY
+     ,printDataGetPrinterTranslateX
+     ,printDataGetPrinterTranslateY
+     ,printDataGetQuality
+     ,printDataSetCollate
+     ,printDataSetColour
+     ,printDataSetDuplex
+     ,printDataSetFilename
+     ,printDataSetFontMetricPath
+     ,printDataSetNoCopies
+     ,printDataSetOrientation
+     ,printDataSetPaperId
+     ,printDataSetPaperSize
+     ,printDataSetPreviewCommand
+     ,printDataSetPrintMode
+     ,printDataSetPrinterCommand
+     ,printDataSetPrinterName
+     ,printDataSetPrinterOptions
+     ,printDataSetPrinterScaleX
+     ,printDataSetPrinterScaleY
+     ,printDataSetPrinterScaling
+     ,printDataSetPrinterTranslateX
+     ,printDataSetPrinterTranslateY
+     ,printDataSetPrinterTranslation
+     ,printDataSetQuality
+     -- ** PrintDialog
+     ,printDialogCreate
+     ,printDialogGetPrintDC
+     ,printDialogGetPrintData
+     ,printDialogGetPrintDialogData
+     -- ** PrintDialogData
+     ,printDialogDataAssign
+     ,printDialogDataAssignData
+     ,printDialogDataCreateDefault
+     ,printDialogDataCreateFromData
+     ,printDialogDataDelete
+     ,printDialogDataEnableHelp
+     ,printDialogDataEnablePageNumbers
+     ,printDialogDataEnablePrintToFile
+     ,printDialogDataEnableSelection
+     ,printDialogDataGetAllPages
+     ,printDialogDataGetCollate
+     ,printDialogDataGetEnableHelp
+     ,printDialogDataGetEnablePageNumbers
+     ,printDialogDataGetEnablePrintToFile
+     ,printDialogDataGetEnableSelection
+     ,printDialogDataGetFromPage
+     ,printDialogDataGetMaxPage
+     ,printDialogDataGetMinPage
+     ,printDialogDataGetNoCopies
+     ,printDialogDataGetPrintData
+     ,printDialogDataGetPrintToFile
+     ,printDialogDataGetSelection
+     ,printDialogDataGetToPage
+     ,printDialogDataSetAllPages
+     ,printDialogDataSetCollate
+     ,printDialogDataSetFromPage
+     ,printDialogDataSetMaxPage
+     ,printDialogDataSetMinPage
+     ,printDialogDataSetNoCopies
+     ,printDialogDataSetPrintData
+     ,printDialogDataSetPrintToFile
+     ,printDialogDataSetSelection
+     ,printDialogDataSetToPage
+     -- ** PrintPreview
+     ,printPreviewCreateFromData
+     ,printPreviewCreateFromDialogData
+     ,printPreviewDelete
+     ,printPreviewDetermineScaling
+     ,printPreviewDrawBlankPage
+     ,printPreviewGetCanvas
+     ,printPreviewGetCurrentPage
+     ,printPreviewGetFrame
+     ,printPreviewGetMaxPage
+     ,printPreviewGetMinPage
+     ,printPreviewGetPrintDialogData
+     ,printPreviewGetPrintout
+     ,printPreviewGetPrintoutForPrinting
+     ,printPreviewGetZoom
+     ,printPreviewIsOk
+     ,printPreviewPaintPage
+     ,printPreviewPrint
+     ,printPreviewRenderPage
+     ,printPreviewSetCanvas
+     ,printPreviewSetCurrentPage
+     ,printPreviewSetFrame
+     ,printPreviewSetOk
+     ,printPreviewSetPrintout
+     ,printPreviewSetZoom
+     -- ** Printer
+     ,printerCreate
+     ,printerCreateAbortWindow
+     ,printerDelete
+     ,printerGetAbort
+     ,printerGetLastError
+     ,printerGetPrintDialogData
+     ,printerPrint
+     ,printerPrintDialog
+     ,printerReportError
+     ,printerSetup
+     -- ** PrinterDC
+     ,printerDCCreate
+     ,printerDCDelete
+     ,printerDCGetPaperRect
+     -- ** Printout
+     ,printoutGetDC
+     ,printoutGetPPIPrinter
+     ,printoutGetPPIScreen
+     ,printoutGetPageSizeMM
+     ,printoutGetPageSizePixels
+     ,printoutGetTitle
+     ,printoutIsPreview
+     ,printoutSetDC
+     ,printoutSetPPIPrinter
+     ,printoutSetPPIScreen
+     ,printoutSetPageSizeMM
+     ,printoutSetPageSizePixels
+     -- ** Process
+     ,processCloseOutput
+     ,processCreateDefault
+     ,processCreateRedirect
+     ,processDelete
+     ,processDetach
+     ,processGetErrorStream
+     ,processGetInputStream
+     ,processGetOutputStream
+     ,processIsErrorAvailable
+     ,processIsInputAvailable
+     ,processIsInputOpened
+     ,processIsRedirected
+     ,processOpen
+     ,processRedirect
+     -- ** ProcessEvent
+     ,processEventGetExitCode
+     ,processEventGetPid
+     -- ** ProgressDialog
+     ,progressDialogCreate
+     ,progressDialogResume
+     ,progressDialogUpdate
+     ,progressDialogUpdateWithMessage
+     -- ** PropertyCategory
+     ,propertyCategoryCreate
+     -- ** PropertyGrid
+     ,propertyGridAppend
+     ,propertyGridCreate
+     ,propertyGridDisableProperty
+     -- ** PropertyGridEvent
+     ,propertyGridEventGetProperty
+     ,propertyGridEventHasProperty
+     -- ** QueryLayoutInfoEvent
+     ,queryLayoutInfoEventCreate
+     ,queryLayoutInfoEventGetAlignment
+     ,queryLayoutInfoEventGetFlags
+     ,queryLayoutInfoEventGetOrientation
+     ,queryLayoutInfoEventGetRequestedLength
+     ,queryLayoutInfoEventGetSize
+     ,queryLayoutInfoEventSetAlignment
+     ,queryLayoutInfoEventSetFlags
+     ,queryLayoutInfoEventSetOrientation
+     ,queryLayoutInfoEventSetRequestedLength
+     ,queryLayoutInfoEventSetSize
+     -- ** QueryNewPaletteEvent
+     ,queryNewPaletteEventCopyObject
+     ,queryNewPaletteEventGetPaletteRealized
+     ,queryNewPaletteEventSetPaletteRealized
+     -- ** RadioBox
+     ,radioBoxCreate
+     ,radioBoxEnableItem
+     ,radioBoxFindString
+     ,radioBoxGetItemLabel
+     ,radioBoxGetNumberOfRowsOrCols
+     ,radioBoxGetSelection
+     ,radioBoxGetStringSelection
+     ,radioBoxNumber
+     ,radioBoxSetItemBitmap
+     ,radioBoxSetItemLabel
+     ,radioBoxSetNumberOfRowsOrCols
+     ,radioBoxSetSelection
+     ,radioBoxSetStringSelection
+     ,radioBoxShowItem
+     -- ** RadioButton
+     ,radioButtonCreate
+     ,radioButtonGetValue
+     ,radioButtonSetValue
+     -- ** Region
+     ,regionAssign
+     ,regionClear
+     ,regionContainsPoint
+     ,regionContainsRect
+     ,regionCreateDefault
+     ,regionCreateFromRect
+     ,regionDelete
+     ,regionGetBox
+     ,regionIntersectRect
+     ,regionIntersectRegion
+     ,regionIsEmpty
+     ,regionSubtractRect
+     ,regionSubtractRegion
+     ,regionUnionRect
+     ,regionUnionRegion
+     ,regionXorRect
+     ,regionXorRegion
+     -- ** RegionIterator
+     ,regionIteratorCreate
+     ,regionIteratorCreateFromRegion
+     ,regionIteratorDelete
+     ,regionIteratorGetHeight
+     ,regionIteratorGetWidth
+     ,regionIteratorGetX
+     ,regionIteratorGetY
+     ,regionIteratorHaveRects
+     ,regionIteratorNext
+     ,regionIteratorReset
+     ,regionIteratorResetToRegion
+     -- ** SVGFileDC
+     ,svgFileDCCreate
+     ,svgFileDCCreateWithSize
+     ,svgFileDCCreateWithSizeAndResolution
+     ,svgFileDCDelete
+     -- ** SashEvent
+     ,sashEventCreate
+     ,sashEventGetDragRect
+     ,sashEventGetDragStatus
+     ,sashEventGetEdge
+     ,sashEventSetDragRect
+     ,sashEventSetDragStatus
+     ,sashEventSetEdge
+     -- ** SashLayoutWindow
+     ,sashLayoutWindowCreate
+     ,sashLayoutWindowGetAlignment
+     ,sashLayoutWindowGetOrientation
+     ,sashLayoutWindowSetAlignment
+     ,sashLayoutWindowSetDefaultSize
+     ,sashLayoutWindowSetOrientation
+     -- ** SashWindow
+     ,sashWindowCreate
+     ,sashWindowGetDefaultBorderSize
+     ,sashWindowGetEdgeMargin
+     ,sashWindowGetExtraBorderSize
+     ,sashWindowGetMaximumSizeX
+     ,sashWindowGetMaximumSizeY
+     ,sashWindowGetMinimumSizeX
+     ,sashWindowGetMinimumSizeY
+     ,sashWindowGetSashVisible
+     ,sashWindowHasBorder
+     ,sashWindowSetDefaultBorderSize
+     ,sashWindowSetExtraBorderSize
+     ,sashWindowSetMaximumSizeX
+     ,sashWindowSetMaximumSizeY
+     ,sashWindowSetMinimumSizeX
+     ,sashWindowSetMinimumSizeY
+     ,sashWindowSetSashBorder
+     ,sashWindowSetSashVisible
+     -- ** ScreenDC
+     ,screenDCCreate
+     ,screenDCDelete
+     ,screenDCEndDrawingOnTop
+     ,screenDCStartDrawingOnTop
+     ,screenDCStartDrawingOnTopOfWin
+     -- ** ScrollBar
+     ,scrollBarCreate
+     ,scrollBarGetPageSize
+     ,scrollBarGetRange
+     ,scrollBarGetThumbPosition
+     ,scrollBarGetThumbSize
+     ,scrollBarSetScrollbar
+     ,scrollBarSetThumbPosition
+     -- ** ScrollEvent
+     ,scrollEventGetOrientation
+     ,scrollEventGetPosition
+     -- ** ScrollWinEvent
+     ,scrollWinEventGetOrientation
+     ,scrollWinEventGetPosition
+     ,scrollWinEventSetOrientation
+     ,scrollWinEventSetPosition
+     -- ** ScrolledWindow
+     ,scrolledWindowAdjustScrollbars
+     ,scrolledWindowCalcScrolledPosition
+     ,scrolledWindowCalcUnscrolledPosition
+     ,scrolledWindowCreate
+     ,scrolledWindowEnableScrolling
+     ,scrolledWindowGetScaleX
+     ,scrolledWindowGetScaleY
+     ,scrolledWindowGetScrollPageSize
+     ,scrolledWindowGetScrollPixelsPerUnit
+     ,scrolledWindowGetTargetWindow
+     ,scrolledWindowGetViewStart
+     ,scrolledWindowGetVirtualSize
+     ,scrolledWindowOnDraw
+     ,scrolledWindowPrepareDC
+     ,scrolledWindowScroll
+     ,scrolledWindowSetScale
+     ,scrolledWindowSetScrollPageSize
+     ,scrolledWindowSetScrollRate
+     ,scrolledWindowSetScrollbars
+     ,scrolledWindowSetTargetWindow
+     ,scrolledWindowShowScrollbars
+     ,scrolledWindowViewStart
+     -- ** SetCursorEvent
+     ,setCursorEventGetCursor
+     ,setCursorEventGetX
+     ,setCursorEventGetY
+     ,setCursorEventHasCursor
+     ,setCursorEventSetCursor
+     -- ** ShowEvent
+     ,showEventCopyObject
+     ,showEventIsShown
+     ,showEventSetShow
+     -- ** SimpleHelpProvider
+     ,simpleHelpProviderCreate
+     -- ** SingleInstanceChecker
+     ,singleInstanceCheckerCreate
+     ,singleInstanceCheckerCreateDefault
+     ,singleInstanceCheckerDelete
+     ,singleInstanceCheckerIsAnotherRunning
+     -- ** SizeEvent
+     ,sizeEventCopyObject
+     ,sizeEventGetSize
+     -- ** Sizer
+     ,sizerAdd
+     ,sizerAddSizer
+     ,sizerAddSpacer
+     ,sizerAddStretchSpacer
+     ,sizerAddWindow
+     ,sizerCalcMin
+     ,sizerClear
+     ,sizerDetach
+     ,sizerDetachSizer
+     ,sizerDetachWindow
+     ,sizerFit
+     ,sizerFitInside
+     ,sizerGetChildren
+     ,sizerGetContainingWindow
+     ,sizerGetItem
+     ,sizerGetItemSizer
+     ,sizerGetItemWindow
+     ,sizerGetMinSize
+     ,sizerGetPosition
+     ,sizerGetSize
+     ,sizerHide
+     ,sizerHideSizer
+     ,sizerHideWindow
+     ,sizerInsert
+     ,sizerInsertSizer
+     ,sizerInsertSpacer
+     ,sizerInsertStretchSpacer
+     ,sizerInsertWindow
+     ,sizerIsShown
+     ,sizerIsShownSizer
+     ,sizerIsShownWindow
+     ,sizerLayout
+     ,sizerPrepend
+     ,sizerPrependSizer
+     ,sizerPrependSpacer
+     ,sizerPrependStretchSpacer
+     ,sizerPrependWindow
+     ,sizerRecalcSizes
+     ,sizerReplace
+     ,sizerReplaceSizer
+     ,sizerReplaceWindow
+     ,sizerSetDimension
+     ,sizerSetItemMinSize
+     ,sizerSetItemMinSizeSizer
+     ,sizerSetItemMinSizeWindow
+     ,sizerSetMinSize
+     ,sizerSetSizeHints
+     ,sizerShow
+     ,sizerShowSizer
+     ,sizerShowWindow
+     -- ** SizerItem
+     ,sizerItemAssignSizer
+     ,sizerItemAssignSpacer
+     ,sizerItemAssignWindow
+     ,sizerItemCalcMin
+     ,sizerItemCreate
+     ,sizerItemCreateInSizer
+     ,sizerItemCreateInWindow
+     ,sizerItemDelete
+     ,sizerItemDeleteWindows
+     ,sizerItemDetachSizer
+     ,sizerItemGetBorder
+     ,sizerItemGetFlag
+     ,sizerItemGetMinSize
+     ,sizerItemGetPosition
+     ,sizerItemGetProportion
+     ,sizerItemGetRatio
+     ,sizerItemGetRect
+     ,sizerItemGetSize
+     ,sizerItemGetSizer
+     ,sizerItemGetSpacer
+     ,sizerItemGetUserData
+     ,sizerItemGetWindow
+     ,sizerItemIsShown
+     ,sizerItemIsSizer
+     ,sizerItemIsSpacer
+     ,sizerItemIsWindow
+     ,sizerItemSetBorder
+     ,sizerItemSetDimension
+     ,sizerItemSetFlag
+     ,sizerItemSetFloatRatio
+     ,sizerItemSetInitSize
+     ,sizerItemSetProportion
+     ,sizerItemSetRatio
+     ,sizerItemShow
+     -- ** Slider
+     ,sliderClearSel
+     ,sliderClearTicks
+     ,sliderCreate
+     ,sliderGetLineSize
+     ,sliderGetMax
+     ,sliderGetMin
+     ,sliderGetPageSize
+     ,sliderGetSelEnd
+     ,sliderGetSelStart
+     ,sliderGetThumbLength
+     ,sliderGetTickFreq
+     ,sliderGetValue
+     ,sliderSetLineSize
+     ,sliderSetPageSize
+     ,sliderSetRange
+     ,sliderSetSelection
+     ,sliderSetThumbLength
+     ,sliderSetTick
+     ,sliderSetValue
+     -- ** Sound
+     ,soundCreate
+     ,soundDelete
+     ,soundIsOk
+     ,soundPlay
+     ,soundStop
+     -- ** SpinButton
+     ,spinButtonCreate
+     ,spinButtonGetMax
+     ,spinButtonGetMin
+     ,spinButtonGetValue
+     ,spinButtonSetRange
+     ,spinButtonSetValue
+     -- ** SpinCtrl
+     ,spinCtrlCreate
+     ,spinCtrlGetMax
+     ,spinCtrlGetMin
+     ,spinCtrlGetValue
+     ,spinCtrlSetRange
+     ,spinCtrlSetValue
+     -- ** SpinEvent
+     ,spinEventGetPosition
+     ,spinEventSetPosition
+     -- ** SplashScreen
+     ,splashScreenCreate
+     ,splashScreenGetSplashStyle
+     ,splashScreenGetTimeout
+     -- ** SplitterWindow
+     ,splitterWindowCreate
+     ,splitterWindowGetBorderSize
+     ,splitterWindowGetMinimumPaneSize
+     ,splitterWindowGetSashGravity
+     ,splitterWindowGetSashPosition
+     ,splitterWindowGetSashSize
+     ,splitterWindowGetSplitMode
+     ,splitterWindowGetWindow1
+     ,splitterWindowGetWindow2
+     ,splitterWindowInitialize
+     ,splitterWindowIsSplit
+     ,splitterWindowReplaceWindow
+     ,splitterWindowSetBorderSize
+     ,splitterWindowSetMinimumPaneSize
+     ,splitterWindowSetSashGravity
+     ,splitterWindowSetSashPosition
+     ,splitterWindowSetSplitMode
+     ,splitterWindowSplitHorizontally
+     ,splitterWindowSplitVertically
+     ,splitterWindowUnsplit
+     -- ** StaticBitmap
+     ,staticBitmapCreate
+     ,staticBitmapDelete
+     ,staticBitmapGetBitmap
+     ,staticBitmapGetIcon
+     ,staticBitmapSetBitmap
+     ,staticBitmapSetIcon
+     -- ** StaticBox
+     ,staticBoxCreate
+     -- ** StaticBoxSizer
+     ,staticBoxSizerCalcMin
+     ,staticBoxSizerCreate
+     ,staticBoxSizerGetStaticBox
+     ,staticBoxSizerRecalcSizes
+     -- ** StaticLine
+     ,staticLineCreate
+     ,staticLineGetDefaultSize
+     ,staticLineIsVertical
+     -- ** StaticText
+     ,staticTextCreate
+     -- ** StatusBar
+     ,statusBarCreate
+     ,statusBarGetBorderX
+     ,statusBarGetBorderY
+     ,statusBarGetFieldsCount
+     ,statusBarGetStatusText
+     ,statusBarSetFieldsCount
+     ,statusBarSetMinHeight
+     ,statusBarSetStatusText
+     ,statusBarSetStatusWidths
+     -- ** StopWatch
+     ,stopWatchCreate
+     ,stopWatchDelete
+     ,stopWatchPause
+     ,stopWatchResume
+     ,stopWatchStart
+     ,stopWatchTime
+     -- ** StreamBase
+     ,streamBaseDelete
+     ,streamBaseGetLastError
+     ,streamBaseGetSize
+     ,streamBaseIsOk
+     -- ** StringProperty
+     ,stringPropertyCreate
+     -- ** StyledTextCtrl
+     ,styledTextCtrlAddRefDocument
+     ,styledTextCtrlAddStyledText
+     ,styledTextCtrlAddText
+     ,styledTextCtrlAppendText
+     ,styledTextCtrlAutoCompActive
+     ,styledTextCtrlAutoCompCancel
+     ,styledTextCtrlAutoCompComplete
+     ,styledTextCtrlAutoCompGetAutoHide
+     ,styledTextCtrlAutoCompGetCancelAtStart
+     ,styledTextCtrlAutoCompGetChooseSingle
+     ,styledTextCtrlAutoCompGetDropRestOfWord
+     ,styledTextCtrlAutoCompGetIgnoreCase
+     ,styledTextCtrlAutoCompGetSeparator
+     ,styledTextCtrlAutoCompGetTypeSeparator
+     ,styledTextCtrlAutoCompPosStart
+     ,styledTextCtrlAutoCompSelect
+     ,styledTextCtrlAutoCompSetAutoHide
+     ,styledTextCtrlAutoCompSetCancelAtStart
+     ,styledTextCtrlAutoCompSetChooseSingle
+     ,styledTextCtrlAutoCompSetDropRestOfWord
+     ,styledTextCtrlAutoCompSetFillUps
+     ,styledTextCtrlAutoCompSetIgnoreCase
+     ,styledTextCtrlAutoCompSetSeparator
+     ,styledTextCtrlAutoCompSetTypeSeparator
+     ,styledTextCtrlAutoCompShow
+     ,styledTextCtrlAutoCompStops
+     ,styledTextCtrlBeginUndoAction
+     ,styledTextCtrlBraceBadLight
+     ,styledTextCtrlBraceHighlight
+     ,styledTextCtrlBraceMatch
+     ,styledTextCtrlCallTipActive
+     ,styledTextCtrlCallTipCancel
+     ,styledTextCtrlCallTipPosAtStart
+     ,styledTextCtrlCallTipSetBackground
+     ,styledTextCtrlCallTipSetForeground
+     ,styledTextCtrlCallTipSetForegroundHighlight
+     ,styledTextCtrlCallTipSetHighlight
+     ,styledTextCtrlCallTipShow
+     ,styledTextCtrlCanPaste
+     ,styledTextCtrlCanRedo
+     ,styledTextCtrlCanUndo
+     ,styledTextCtrlChooseCaretX
+     ,styledTextCtrlClear
+     ,styledTextCtrlClearAll
+     ,styledTextCtrlClearDocumentStyle
+     ,styledTextCtrlClearRegisteredImages
+     ,styledTextCtrlCmdKeyAssign
+     ,styledTextCtrlCmdKeyClear
+     ,styledTextCtrlCmdKeyClearAll
+     ,styledTextCtrlCmdKeyExecute
+     ,styledTextCtrlColourise
+     ,styledTextCtrlConvertEOLs
+     ,styledTextCtrlCopy
+     ,styledTextCtrlCopyRange
+     ,styledTextCtrlCopyText
+     ,styledTextCtrlCreate
+     ,styledTextCtrlCreateDocument
+     ,styledTextCtrlCut
+     ,styledTextCtrlDelLineLeft
+     ,styledTextCtrlDelLineRight
+     ,styledTextCtrlDocLineFromVisible
+     ,styledTextCtrlEmptyUndoBuffer
+     ,styledTextCtrlEndUndoAction
+     ,styledTextCtrlEnsureCaretVisible
+     ,styledTextCtrlEnsureVisible
+     ,styledTextCtrlEnsureVisibleEnforcePolicy
+     ,styledTextCtrlFindText
+     ,styledTextCtrlFormatRange
+     ,styledTextCtrlGetAnchor
+     ,styledTextCtrlGetBackSpaceUnIndents
+     ,styledTextCtrlGetBufferedDraw
+     ,styledTextCtrlGetCaretForeground
+     ,styledTextCtrlGetCaretLineBackground
+     ,styledTextCtrlGetCaretLineVisible
+     ,styledTextCtrlGetCaretPeriod
+     ,styledTextCtrlGetCaretWidth
+     ,styledTextCtrlGetCharAt
+     ,styledTextCtrlGetCodePage
+     ,styledTextCtrlGetColumn
+     ,styledTextCtrlGetControlCharSymbol
+     ,styledTextCtrlGetCurrentLine
+     ,styledTextCtrlGetCurrentPos
+     ,styledTextCtrlGetDocPointer
+     ,styledTextCtrlGetEOLMode
+     ,styledTextCtrlGetEdgeColour
+     ,styledTextCtrlGetEdgeColumn
+     ,styledTextCtrlGetEdgeMode
+     ,styledTextCtrlGetEndAtLastLine
+     ,styledTextCtrlGetEndStyled
+     ,styledTextCtrlGetFirstVisibleLine
+     ,styledTextCtrlGetFoldExpanded
+     ,styledTextCtrlGetFoldLevel
+     ,styledTextCtrlGetFoldParent
+     ,styledTextCtrlGetHighlightGuide
+     ,styledTextCtrlGetIndent
+     ,styledTextCtrlGetIndentationGuides
+     ,styledTextCtrlGetLastChild
+     ,styledTextCtrlGetLastKeydownProcessed
+     ,styledTextCtrlGetLayoutCache
+     ,styledTextCtrlGetLength
+     ,styledTextCtrlGetLexer
+     ,styledTextCtrlGetLine
+     ,styledTextCtrlGetLineCount
+     ,styledTextCtrlGetLineEndPosition
+     ,styledTextCtrlGetLineIndentPosition
+     ,styledTextCtrlGetLineIndentation
+     ,styledTextCtrlGetLineState
+     ,styledTextCtrlGetLineVisible
+     ,styledTextCtrlGetMarginLeft
+     ,styledTextCtrlGetMarginMask
+     ,styledTextCtrlGetMarginRight
+     ,styledTextCtrlGetMarginSensitive
+     ,styledTextCtrlGetMarginType
+     ,styledTextCtrlGetMarginWidth
+     ,styledTextCtrlGetMaxLineState
+     ,styledTextCtrlGetModEventMask
+     ,styledTextCtrlGetModify
+     ,styledTextCtrlGetMouseDownCaptures
+     ,styledTextCtrlGetMouseDwellTime
+     ,styledTextCtrlGetOvertype
+     ,styledTextCtrlGetPrintColourMode
+     ,styledTextCtrlGetPrintMagnification
+     ,styledTextCtrlGetPrintWrapMode
+     ,styledTextCtrlGetReadOnly
+     ,styledTextCtrlGetSTCCursor
+     ,styledTextCtrlGetSTCFocus
+     ,styledTextCtrlGetScrollWidth
+     ,styledTextCtrlGetSearchFlags
+     ,styledTextCtrlGetSelectedText
+     ,styledTextCtrlGetSelection
+     ,styledTextCtrlGetSelectionEnd
+     ,styledTextCtrlGetSelectionStart
+     ,styledTextCtrlGetStatus
+     ,styledTextCtrlGetStyleAt
+     ,styledTextCtrlGetStyleBits
+     ,styledTextCtrlGetTabIndents
+     ,styledTextCtrlGetTabWidth
+     ,styledTextCtrlGetTargetEnd
+     ,styledTextCtrlGetTargetStart
+     ,styledTextCtrlGetText
+     ,styledTextCtrlGetTextLength
+     ,styledTextCtrlGetTextRange
+     ,styledTextCtrlGetTwoPhaseDraw
+     ,styledTextCtrlGetUndoCollection
+     ,styledTextCtrlGetUseHorizontalScrollBar
+     ,styledTextCtrlGetUseTabs
+     ,styledTextCtrlGetUseVerticalScrollBar
+     ,styledTextCtrlGetViewEOL
+     ,styledTextCtrlGetViewWhiteSpace
+     ,styledTextCtrlGetWrapMode
+     ,styledTextCtrlGetXOffset
+     ,styledTextCtrlGetZoom
+     ,styledTextCtrlGotoLine
+     ,styledTextCtrlGotoPos
+     ,styledTextCtrlHideLines
+     ,styledTextCtrlHideSelection
+     ,styledTextCtrlHomeDisplay
+     ,styledTextCtrlHomeDisplayExtend
+     ,styledTextCtrlIndicatorGetForeground
+     ,styledTextCtrlIndicatorGetStyle
+     ,styledTextCtrlIndicatorSetForeground
+     ,styledTextCtrlIndicatorSetStyle
+     ,styledTextCtrlInsertText
+     ,styledTextCtrlLineCopy
+     ,styledTextCtrlLineDuplicate
+     ,styledTextCtrlLineEndDisplay
+     ,styledTextCtrlLineEndDisplayExtend
+     ,styledTextCtrlLineFromPosition
+     ,styledTextCtrlLineLength
+     ,styledTextCtrlLineScroll
+     ,styledTextCtrlLinesJoin
+     ,styledTextCtrlLinesOnScreen
+     ,styledTextCtrlLinesSplit
+     ,styledTextCtrlLoadFile
+     ,styledTextCtrlMarkerAdd
+     ,styledTextCtrlMarkerDefine
+     ,styledTextCtrlMarkerDefineBitmap
+     ,styledTextCtrlMarkerDelete
+     ,styledTextCtrlMarkerDeleteAll
+     ,styledTextCtrlMarkerDeleteHandle
+     ,styledTextCtrlMarkerGet
+     ,styledTextCtrlMarkerLineFromHandle
+     ,styledTextCtrlMarkerNext
+     ,styledTextCtrlMarkerPrevious
+     ,styledTextCtrlMarkerSetBackground
+     ,styledTextCtrlMarkerSetForeground
+     ,styledTextCtrlMoveCaretInsideView
+     ,styledTextCtrlPaste
+     ,styledTextCtrlPointFromPosition
+     ,styledTextCtrlPositionAfter
+     ,styledTextCtrlPositionBefore
+     ,styledTextCtrlPositionFromLine
+     ,styledTextCtrlPositionFromPoint
+     ,styledTextCtrlPositionFromPointClose
+     ,styledTextCtrlRedo
+     ,styledTextCtrlRegisterImage
+     ,styledTextCtrlReleaseDocument
+     ,styledTextCtrlReplaceSelection
+     ,styledTextCtrlReplaceTarget
+     ,styledTextCtrlReplaceTargetRE
+     ,styledTextCtrlSaveFile
+     ,styledTextCtrlScrollToColumn
+     ,styledTextCtrlScrollToLine
+     ,styledTextCtrlSearchAnchor
+     ,styledTextCtrlSearchInTarget
+     ,styledTextCtrlSearchNext
+     ,styledTextCtrlSearchPrev
+     ,styledTextCtrlSelectAll
+     ,styledTextCtrlSelectionIsRectangle
+     ,styledTextCtrlSetAnchor
+     ,styledTextCtrlSetBackSpaceUnIndents
+     ,styledTextCtrlSetBufferedDraw
+     ,styledTextCtrlSetCaretForeground
+     ,styledTextCtrlSetCaretLineBackground
+     ,styledTextCtrlSetCaretLineVisible
+     ,styledTextCtrlSetCaretPeriod
+     ,styledTextCtrlSetCaretWidth
+     ,styledTextCtrlSetCodePage
+     ,styledTextCtrlSetControlCharSymbol
+     ,styledTextCtrlSetCurrentPos
+     ,styledTextCtrlSetDocPointer
+     ,styledTextCtrlSetEOLMode
+     ,styledTextCtrlSetEdgeColour
+     ,styledTextCtrlSetEdgeColumn
+     ,styledTextCtrlSetEdgeMode
+     ,styledTextCtrlSetEndAtLastLine
+     ,styledTextCtrlSetFoldExpanded
+     ,styledTextCtrlSetFoldFlags
+     ,styledTextCtrlSetFoldLevel
+     ,styledTextCtrlSetFoldMarginColour
+     ,styledTextCtrlSetFoldMarginHiColour
+     ,styledTextCtrlSetHScrollBar
+     ,styledTextCtrlSetHighlightGuide
+     ,styledTextCtrlSetHotspotActiveBackground
+     ,styledTextCtrlSetHotspotActiveForeground
+     ,styledTextCtrlSetHotspotActiveUnderline
+     ,styledTextCtrlSetIndent
+     ,styledTextCtrlSetIndentationGuides
+     ,styledTextCtrlSetKeyWords
+     ,styledTextCtrlSetLastKeydownProcessed
+     ,styledTextCtrlSetLayoutCache
+     ,styledTextCtrlSetLexer
+     ,styledTextCtrlSetLexerLanguage
+     ,styledTextCtrlSetLineIndentation
+     ,styledTextCtrlSetLineState
+     ,styledTextCtrlSetMarginLeft
+     ,styledTextCtrlSetMarginMask
+     ,styledTextCtrlSetMarginRight
+     ,styledTextCtrlSetMarginSensitive
+     ,styledTextCtrlSetMarginType
+     ,styledTextCtrlSetMarginWidth
+     ,styledTextCtrlSetMargins
+     ,styledTextCtrlSetModEventMask
+     ,styledTextCtrlSetMouseDownCaptures
+     ,styledTextCtrlSetMouseDwellTime
+     ,styledTextCtrlSetOvertype
+     ,styledTextCtrlSetPrintColourMode
+     ,styledTextCtrlSetPrintMagnification
+     ,styledTextCtrlSetPrintWrapMode
+     ,styledTextCtrlSetProperty
+     ,styledTextCtrlSetReadOnly
+     ,styledTextCtrlSetSTCCursor
+     ,styledTextCtrlSetSTCFocus
+     ,styledTextCtrlSetSavePoint
+     ,styledTextCtrlSetScrollWidth
+     ,styledTextCtrlSetSearchFlags
+     ,styledTextCtrlSetSelBackground
+     ,styledTextCtrlSetSelForeground
+     ,styledTextCtrlSetSelection
+     ,styledTextCtrlSetSelectionEnd
+     ,styledTextCtrlSetSelectionStart
+     ,styledTextCtrlSetStatus
+     ,styledTextCtrlSetStyleBits
+     ,styledTextCtrlSetStyleBytes
+     ,styledTextCtrlSetStyling
+     ,styledTextCtrlSetTabIndents
+     ,styledTextCtrlSetTabWidth
+     ,styledTextCtrlSetTargetEnd
+     ,styledTextCtrlSetTargetStart
+     ,styledTextCtrlSetText
+     ,styledTextCtrlSetTwoPhaseDraw
+     ,styledTextCtrlSetUndoCollection
+     ,styledTextCtrlSetUseHorizontalScrollBar
+     ,styledTextCtrlSetUseTabs
+     ,styledTextCtrlSetUseVerticalScrollBar
+     ,styledTextCtrlSetVScrollBar
+     ,styledTextCtrlSetViewEOL
+     ,styledTextCtrlSetViewWhiteSpace
+     ,styledTextCtrlSetVisiblePolicy
+     ,styledTextCtrlSetWhitespaceBackground
+     ,styledTextCtrlSetWhitespaceForeground
+     ,styledTextCtrlSetWordChars
+     ,styledTextCtrlSetWrapMode
+     ,styledTextCtrlSetXCaretPolicy
+     ,styledTextCtrlSetXOffset
+     ,styledTextCtrlSetYCaretPolicy
+     ,styledTextCtrlSetZoom
+     ,styledTextCtrlShowLines
+     ,styledTextCtrlStartRecord
+     ,styledTextCtrlStartStyling
+     ,styledTextCtrlStopRecord
+     ,styledTextCtrlStyleClearAll
+     ,styledTextCtrlStyleResetDefault
+     ,styledTextCtrlStyleSetBackground
+     ,styledTextCtrlStyleSetBold
+     ,styledTextCtrlStyleSetCase
+     ,styledTextCtrlStyleSetChangeable
+     ,styledTextCtrlStyleSetCharacterSet
+     ,styledTextCtrlStyleSetEOLFilled
+     ,styledTextCtrlStyleSetFaceName
+     ,styledTextCtrlStyleSetFont
+     ,styledTextCtrlStyleSetFontAttr
+     ,styledTextCtrlStyleSetForeground
+     ,styledTextCtrlStyleSetHotSpot
+     ,styledTextCtrlStyleSetItalic
+     ,styledTextCtrlStyleSetSize
+     ,styledTextCtrlStyleSetSpec
+     ,styledTextCtrlStyleSetUnderline
+     ,styledTextCtrlStyleSetVisible
+     ,styledTextCtrlTargetFromSelection
+     ,styledTextCtrlTextHeight
+     ,styledTextCtrlTextWidth
+     ,styledTextCtrlToggleFold
+     ,styledTextCtrlUndo
+     ,styledTextCtrlUsePopUp
+     ,styledTextCtrlUserListShow
+     ,styledTextCtrlVisibleFromDocLine
+     ,styledTextCtrlWordEndPosition
+     ,styledTextCtrlWordPartLeft
+     ,styledTextCtrlWordPartLeftExtend
+     ,styledTextCtrlWordPartRight
+     ,styledTextCtrlWordPartRightExtend
+     ,styledTextCtrlWordStartPosition
+     -- ** StyledTextEvent
+     ,styledTextEventClone
+     ,styledTextEventGetAlt
+     ,styledTextEventGetControl
+     ,styledTextEventGetDragAllowMove
+     ,styledTextEventGetDragResult
+     ,styledTextEventGetDragText
+     ,styledTextEventGetFoldLevelNow
+     ,styledTextEventGetFoldLevelPrev
+     ,styledTextEventGetKey
+     ,styledTextEventGetLParam
+     ,styledTextEventGetLength
+     ,styledTextEventGetLine
+     ,styledTextEventGetLinesAdded
+     ,styledTextEventGetListType
+     ,styledTextEventGetMargin
+     ,styledTextEventGetMessage
+     ,styledTextEventGetModificationType
+     ,styledTextEventGetModifiers
+     ,styledTextEventGetPosition
+     ,styledTextEventGetShift
+     ,styledTextEventGetText
+     ,styledTextEventGetWParam
+     ,styledTextEventGetX
+     ,styledTextEventGetY
+     ,styledTextEventSetDragAllowMove
+     ,styledTextEventSetDragResult
+     ,styledTextEventSetDragText
+     ,styledTextEventSetFoldLevelNow
+     ,styledTextEventSetFoldLevelPrev
+     ,styledTextEventSetKey
+     ,styledTextEventSetLParam
+     ,styledTextEventSetLength
+     ,styledTextEventSetLine
+     ,styledTextEventSetLinesAdded
+     ,styledTextEventSetListType
+     ,styledTextEventSetMargin
+     ,styledTextEventSetMessage
+     ,styledTextEventSetModificationType
+     ,styledTextEventSetModifiers
+     ,styledTextEventSetPosition
+     ,styledTextEventSetText
+     ,styledTextEventSetWParam
+     ,styledTextEventSetX
+     ,styledTextEventSetY
+     -- ** SystemSettings
+     ,systemSettingsGetColour
+     ,systemSettingsGetFont
+     ,systemSettingsGetMetric
+     ,systemSettingsGetScreenType
+     -- ** TaskBarIcon
+     ,taskBarIconCreate
+     ,taskBarIconDelete
+     ,taskBarIconIsIconInstalled
+     ,taskBarIconIsOk
+     ,taskBarIconPopupMenu
+     ,taskBarIconRemoveIcon
+     ,taskBarIconSetIcon
+     -- ** TextAttr
+     ,textAttrCreate
+     ,textAttrCreateDefault
+     ,textAttrDelete
+     ,textAttrGetBackgroundColour
+     ,textAttrGetFont
+     ,textAttrGetTextColour
+     ,textAttrHasBackgroundColour
+     ,textAttrHasFont
+     ,textAttrHasTextColour
+     ,textAttrIsDefault
+     ,textAttrSetBackgroundColour
+     ,textAttrSetFont
+     ,textAttrSetTextColour
+     -- ** TextCtrl
+     ,textCtrlAppendText
+     ,textCtrlCanCopy
+     ,textCtrlCanCut
+     ,textCtrlCanPaste
+     ,textCtrlCanRedo
+     ,textCtrlCanUndo
+     ,textCtrlChangeValue
+     ,textCtrlClear
+     ,textCtrlCopy
+     ,textCtrlCreate
+     ,textCtrlCut
+     ,textCtrlDiscardEdits
+     ,textCtrlEmulateKeyPress
+     ,textCtrlGetDefaultStyle
+     ,textCtrlGetInsertionPoint
+     ,textCtrlGetLastPosition
+     ,textCtrlGetLineLength
+     ,textCtrlGetLineText
+     ,textCtrlGetNumberOfLines
+     ,textCtrlGetRange
+     ,textCtrlGetSelection
+     ,textCtrlGetStringSelection
+     ,textCtrlGetValue
+     ,textCtrlIsEditable
+     ,textCtrlIsModified
+     ,textCtrlIsMultiLine
+     ,textCtrlIsSingleLine
+     ,textCtrlLoadFile
+     ,textCtrlPaste
+     ,textCtrlPositionToXY
+     ,textCtrlRedo
+     ,textCtrlRemove
+     ,textCtrlReplace
+     ,textCtrlSaveFile
+     ,textCtrlSetDefaultStyle
+     ,textCtrlSetEditable
+     ,textCtrlSetInsertionPoint
+     ,textCtrlSetInsertionPointEnd
+     ,textCtrlSetMaxLength
+     ,textCtrlSetSelection
+     ,textCtrlSetStyle
+     ,textCtrlSetValue
+     ,textCtrlShowPosition
+     ,textCtrlUndo
+     ,textCtrlWriteText
+     ,textCtrlXYToPosition
+     -- ** TextInputStream
+     ,textInputStreamCreate
+     ,textInputStreamDelete
+     ,textInputStreamReadLine
+     -- ** TextOutputStream
+     ,textOutputStreamCreate
+     ,textOutputStreamDelete
+     ,textOutputStreamWriteString
+     -- ** TextValidator
+     ,textValidatorClone
+     ,textValidatorCreate
+     ,textValidatorGetExcludes
+     ,textValidatorGetIncludes
+     ,textValidatorGetStyle
+     ,textValidatorOnChar
+     ,textValidatorSetExcludes
+     ,textValidatorSetIncludes
+     ,textValidatorSetStyle
+     ,textValidatorTransferFromWindow
+     ,textValidatorTransferToWindow
+     -- ** Timer
+     ,timerCreate
+     ,timerDelete
+     ,timerGetInterval
+     ,timerIsOneShot
+     ,timerIsRuning
+     ,timerStart
+     ,timerStop
+     -- ** TimerEvent
+     ,timerEventGetInterval
+     -- ** TimerEx
+     ,timerExConnect
+     ,timerExCreate
+     ,timerExGetClosure
+     -- ** TipWindow
+     ,tipWindowClose
+     ,tipWindowCreate
+     ,tipWindowSetBoundingRect
+     ,tipWindowSetTipWindowPtr
+     -- ** ToggleButton
+     ,toggleButtonCreate
+     ,toggleButtonEnable
+     ,toggleButtonGetValue
+     ,toggleButtonSetLabel
+     ,toggleButtonSetValue
+     -- ** ToolBar
+     ,toolBarAddControl
+     ,toolBarAddSeparator
+     ,toolBarAddTool
+     ,toolBarAddTool2
+     ,toolBarCreate
+     ,toolBarDelete
+     ,toolBarDeleteTool
+     ,toolBarDeleteToolByPos
+     ,toolBarEnableTool
+     ,toolBarGetMargins
+     ,toolBarGetToolBitmapSize
+     ,toolBarGetToolClientData
+     ,toolBarGetToolEnabled
+     ,toolBarGetToolLongHelp
+     ,toolBarGetToolPacking
+     ,toolBarGetToolShortHelp
+     ,toolBarGetToolSize
+     ,toolBarGetToolState
+     ,toolBarInsertControl
+     ,toolBarInsertSeparator
+     ,toolBarRealize
+     ,toolBarRemoveTool
+     ,toolBarSetMargins
+     ,toolBarSetToolBitmapSize
+     ,toolBarSetToolClientData
+     ,toolBarSetToolLongHelp
+     ,toolBarSetToolPacking
+     ,toolBarSetToolSeparation
+     ,toolBarSetToolShortHelp
+     ,toolBarToggleTool
+     -- ** TopLevelWindow
+     ,topLevelWindowEnableCloseButton
+     ,topLevelWindowGetDefaultButton
+     ,topLevelWindowGetDefaultItem
+     ,topLevelWindowGetIcon
+     ,topLevelWindowGetTitle
+     ,topLevelWindowIconize
+     ,topLevelWindowIsActive
+     ,topLevelWindowIsIconized
+     ,topLevelWindowIsMaximized
+     ,topLevelWindowMaximize
+     ,topLevelWindowRequestUserAttention
+     ,topLevelWindowSetDefaultButton
+     ,topLevelWindowSetDefaultItem
+     ,topLevelWindowSetIcon
+     ,topLevelWindowSetIcons
+     ,topLevelWindowSetMaxSize
+     ,topLevelWindowSetMinSize
+     ,topLevelWindowSetTitle
+     -- ** TreeCtrl
+     ,treeCtrlAddRoot
+     ,treeCtrlAppendItem
+     ,treeCtrlAssignImageList
+     ,treeCtrlAssignStateImageList
+     ,treeCtrlCollapse
+     ,treeCtrlCollapseAndReset
+     ,treeCtrlCreate
+     ,treeCtrlCreate2
+     ,treeCtrlDelete
+     ,treeCtrlDeleteAllItems
+     ,treeCtrlDeleteChildren
+     ,treeCtrlEditLabel
+     ,treeCtrlEndEditLabel
+     ,treeCtrlEnsureVisible
+     ,treeCtrlExpand
+     ,treeCtrlGetBoundingRect
+     ,treeCtrlGetChildrenCount
+     ,treeCtrlGetCount
+     ,treeCtrlGetEditControl
+     ,treeCtrlGetFirstChild
+     ,treeCtrlGetFirstVisibleItem
+     ,treeCtrlGetImageList
+     ,treeCtrlGetIndent
+     ,treeCtrlGetItemClientClosure
+     ,treeCtrlGetItemData
+     ,treeCtrlGetItemImage
+     ,treeCtrlGetItemText
+     ,treeCtrlGetLastChild
+     ,treeCtrlGetNextChild
+     ,treeCtrlGetNextSibling
+     ,treeCtrlGetNextVisible
+     ,treeCtrlGetParent
+     ,treeCtrlGetPrevSibling
+     ,treeCtrlGetPrevVisible
+     ,treeCtrlGetRootItem
+     ,treeCtrlGetSelection
+     ,treeCtrlGetSelections
+     ,treeCtrlGetSpacing
+     ,treeCtrlGetStateImageList
+     ,treeCtrlHitTest
+     ,treeCtrlInsertItem
+     ,treeCtrlInsertItem2
+     ,treeCtrlInsertItemByIndex
+     ,treeCtrlInsertItemByIndex2
+     ,treeCtrlIsBold
+     ,treeCtrlIsExpanded
+     ,treeCtrlIsSelected
+     ,treeCtrlIsVisible
+     ,treeCtrlItemHasChildren
+     ,treeCtrlOnCompareItems
+     ,treeCtrlPrependItem
+     ,treeCtrlScrollTo
+     ,treeCtrlSelectItem
+     ,treeCtrlSetImageList
+     ,treeCtrlSetIndent
+     ,treeCtrlSetItemBackgroundColour
+     ,treeCtrlSetItemBold
+     ,treeCtrlSetItemClientClosure
+     ,treeCtrlSetItemData
+     ,treeCtrlSetItemDropHighlight
+     ,treeCtrlSetItemFont
+     ,treeCtrlSetItemHasChildren
+     ,treeCtrlSetItemImage
+     ,treeCtrlSetItemText
+     ,treeCtrlSetItemTextColour
+     ,treeCtrlSetSpacing
+     ,treeCtrlSetStateImageList
+     ,treeCtrlSortChildren
+     ,treeCtrlToggle
+     ,treeCtrlUnselect
+     ,treeCtrlUnselectAll
+     -- ** TreeEvent
+     ,treeEventAllow
+     ,treeEventGetCode
+     ,treeEventGetItem
+     ,treeEventGetKeyEvent
+     ,treeEventGetLabel
+     ,treeEventGetOldItem
+     ,treeEventGetPoint
+     ,treeEventIsEditCancelled
+     -- ** UpdateUIEvent
+     ,updateUIEventCheck
+     ,updateUIEventCopyObject
+     ,updateUIEventEnable
+     ,updateUIEventGetChecked
+     ,updateUIEventGetEnabled
+     ,updateUIEventGetSetChecked
+     ,updateUIEventGetSetEnabled
+     ,updateUIEventGetSetText
+     ,updateUIEventGetText
+     ,updateUIEventSetText
+     -- ** Validator
+     ,validatorCreate
+     ,validatorDelete
+     ,validatorGetWindow
+     ,validatorSetWindow
+     ,validatorSuppressBellOnError
+     ,validatorTransferFromWindow
+     ,validatorTransferToWindow
+     ,validatorValidate
+     -- ** WXCApp
+     ,wxcAppBell
+     ,wxcAppCreateLogTarget
+     ,wxcAppDispatch
+     ,wxcAppDisplaySize
+     ,wxcAppEnableTooltips
+     ,wxcAppEnableTopLevelWindows
+     ,wxcAppExecuteProcess
+     ,wxcAppExit
+     ,wxcAppExitMainLoop
+     ,wxcAppFindWindowById
+     ,wxcAppFindWindowByLabel
+     ,wxcAppFindWindowByName
+     ,wxcAppGetApp
+     ,wxcAppGetAppName
+     ,wxcAppGetClassName
+     ,wxcAppGetExitOnFrameDelete
+     ,wxcAppGetIdleInterval
+     ,wxcAppGetOsDescription
+     ,wxcAppGetOsVersion
+     ,wxcAppGetTopWindow
+     ,wxcAppGetUseBestVisual
+     ,wxcAppGetUserHome
+     ,wxcAppGetUserId
+     ,wxcAppGetUserName
+     ,wxcAppGetVendorName
+     ,wxcAppInitAllImageHandlers
+     ,wxcAppInitializeC
+     ,wxcAppInitialized
+     ,wxcAppIsTerminating
+     ,wxcAppMainLoop
+     ,wxcAppMilliSleep
+     ,wxcAppMousePosition
+     ,wxcAppPending
+     ,wxcAppSafeYield
+     ,wxcAppSetAppName
+     ,wxcAppSetClassName
+     ,wxcAppSetExitOnFrameDelete
+     ,wxcAppSetIdleInterval
+     ,wxcAppSetPrintMode
+     ,wxcAppSetTooltipDelay
+     ,wxcAppSetTopWindow
+     ,wxcAppSetUseBestVisual
+     ,wxcAppSetVendorName
+     ,wxcAppSleep
+     ,wxcAppYield
+     -- ** WXCArtProv
+     ,wxcArtProvCreate
+     ,wxcArtProvRelease
+     -- ** WXCDragDataObject
+     ,wxcDragDataObjectCreate
+     ,wxcDragDataObjectDelete
+     -- ** WXCDropTarget
+     ,wxcDropTargetCreate
+     ,wxcDropTargetDelete
+     ,wxcDropTargetSetOnData
+     ,wxcDropTargetSetOnDragOver
+     ,wxcDropTargetSetOnDrop
+     ,wxcDropTargetSetOnEnter
+     ,wxcDropTargetSetOnLeave
+     -- ** WXCFileDropTarget
+     ,wxcFileDropTargetCreate
+     ,wxcFileDropTargetDelete
+     ,wxcFileDropTargetSetOnData
+     ,wxcFileDropTargetSetOnDragOver
+     ,wxcFileDropTargetSetOnDrop
+     ,wxcFileDropTargetSetOnEnter
+     ,wxcFileDropTargetSetOnLeave
+     -- ** WXCGridTable
+     ,wxcGridTableCreate
+     ,wxcGridTableDelete
+     ,wxcGridTableGetView
+     ,wxcGridTableSendTableMessage
+     -- ** WXCHtmlEvent
+     ,wxcHtmlEventGetHref
+     ,wxcHtmlEventGetHtmlCell
+     ,wxcHtmlEventGetHtmlCellId
+     ,wxcHtmlEventGetLogicalPosition
+     ,wxcHtmlEventGetMouseEvent
+     ,wxcHtmlEventGetTarget
+     -- ** WXCHtmlWindow
+     ,wxcHtmlWindowCreate
+     -- ** WXCLog
+     ,wxcLogAddTraceMask
+     ,wxcLogCreate
+     ,wxcLogDelete
+     ,wxcLogDontCreateOnDemand
+     ,wxcLogEnableLogging
+     ,wxcLogFlush
+     ,wxcLogFlushActive
+     ,wxcLogGetActiveTarget
+     ,wxcLogGetTimestamp
+     ,wxcLogGetTraceMask
+     ,wxcLogGetVerbose
+     ,wxcLogHasPendingMessages
+     ,wxcLogIsAllowedTraceMask
+     ,wxcLogIsEnabled
+     ,wxcLogOnLog
+     ,wxcLogRemoveTraceMask
+     ,wxcLogResume
+     ,wxcLogSetActiveTarget
+     ,wxcLogSetTimestamp
+     ,wxcLogSetVerbose
+     ,wxcLogSuspend
+     -- ** WXCPreviewControlBar
+     ,wxcPreviewControlBarCreate
+     -- ** WXCPreviewFrame
+     ,wxcPreviewFrameCreate
+     ,wxcPreviewFrameGetControlBar
+     ,wxcPreviewFrameGetPreviewCanvas
+     ,wxcPreviewFrameGetPrintPreview
+     ,wxcPreviewFrameInitialize
+     ,wxcPreviewFrameSetControlBar
+     ,wxcPreviewFrameSetPreviewCanvas
+     ,wxcPreviewFrameSetPrintPreview
+     -- ** WXCPrintEvent
+     ,wxcPrintEventGetContinue
+     ,wxcPrintEventGetEndPage
+     ,wxcPrintEventGetPage
+     ,wxcPrintEventGetPrintout
+     ,wxcPrintEventSetContinue
+     ,wxcPrintEventSetPageLimits
+     -- ** WXCPrintout
+     ,wxcPrintoutCreate
+     ,wxcPrintoutDelete
+     ,wxcPrintoutGetEvtHandler
+     ,wxcPrintoutSetPageLimits
+     -- ** WXCTextDropTarget
+     ,wxcTextDropTargetCreate
+     ,wxcTextDropTargetDelete
+     ,wxcTextDropTargetSetOnData
+     ,wxcTextDropTargetSetOnDragOver
+     ,wxcTextDropTargetSetOnDrop
+     ,wxcTextDropTargetSetOnEnter
+     ,wxcTextDropTargetSetOnLeave
+     -- ** WXCTextValidator
+     ,wxcTextValidatorCreate
+     -- ** WXCTreeItemData
+     ,wxcTreeItemDataCreate
+     ,wxcTreeItemDataGetClientClosure
+     ,wxcTreeItemDataSetClientClosure
+     -- ** Window
+     ,windowAddChild
+     ,windowAddConstraintReference
+     ,windowCaptureMouse
+     ,windowCenter
+     ,windowCenterOnParent
+     ,windowClearBackground
+     ,windowClientToScreen
+     ,windowClose
+     ,windowConvertDialogToPixels
+     ,windowConvertDialogToPixelsEx
+     ,windowConvertPixelsToDialog
+     ,windowConvertPixelsToDialogEx
+     ,windowCreate
+     ,windowDeleteRelatedConstraints
+     ,windowDestroy
+     ,windowDestroyChildren
+     ,windowDisable
+     ,windowDoPhase
+     ,windowEnable
+     ,windowFindFocus
+     ,windowFindWindow
+     ,windowFit
+     ,windowFitInside
+     ,windowFreeze
+     ,windowGetAutoLayout
+     ,windowGetBackgroundColour
+     ,windowGetBestSize
+     ,windowGetCaret
+     ,windowGetCharHeight
+     ,windowGetCharWidth
+     ,windowGetChildren
+     ,windowGetClientData
+     ,windowGetClientSize
+     ,windowGetClientSizeConstraint
+     ,windowGetConstraints
+     ,windowGetConstraintsInvolvedIn
+     ,windowGetCursor
+     ,windowGetDropTarget
+     ,windowGetEffectiveMinSize
+     ,windowGetEventHandler
+     ,windowGetFont
+     ,windowGetForegroundColour
+     ,windowGetHandle
+     ,windowGetId
+     ,windowGetLabel
+     ,windowGetLabelEmpty
+     ,windowGetMaxHeight
+     ,windowGetMaxWidth
+     ,windowGetMinHeight
+     ,windowGetMinWidth
+     ,windowGetName
+     ,windowGetParent
+     ,windowGetPosition
+     ,windowGetPositionConstraint
+     ,windowGetRect
+     ,windowGetScrollPos
+     ,windowGetScrollRange
+     ,windowGetScrollThumb
+     ,windowGetSize
+     ,windowGetSizeConstraint
+     ,windowGetSizer
+     ,windowGetTextExtent
+     ,windowGetToolTip
+     ,windowGetUpdateRegion
+     ,windowGetValidator
+     ,windowGetVirtualSize
+     ,windowGetWindowStyleFlag
+     ,windowHasFlag
+     ,windowHasFocus
+     ,windowHide
+     ,windowInitDialog
+     ,windowIsBeingDeleted
+     ,windowIsEnabled
+     ,windowIsExposed
+     ,windowIsShown
+     ,windowIsTopLevel
+     ,windowLayout
+     ,windowLayoutPhase1
+     ,windowLayoutPhase2
+     ,windowLower
+     ,windowMove
+     ,windowMoveConstraint
+     ,windowPopEventHandler
+     ,windowPopupMenu
+     ,windowPrepareDC
+     ,windowPushEventHandler
+     ,windowRaise
+     ,windowRefresh
+     ,windowRefreshRect
+     ,windowReleaseMouse
+     ,windowRemoveChild
+     ,windowRemoveConstraintReference
+     ,windowReparent
+     ,windowResetConstraints
+     ,windowScreenToClient
+     ,windowScreenToClient2
+     ,windowScrollWindow
+     ,windowScrollWindowRect
+     ,windowSetAcceleratorTable
+     ,windowSetAutoLayout
+     ,windowSetBackgroundColour
+     ,windowSetCaret
+     ,windowSetClientData
+     ,windowSetClientObject
+     ,windowSetClientSize
+     ,windowSetConstraintSizes
+     ,windowSetConstraints
+     ,windowSetCursor
+     ,windowSetDropTarget
+     ,windowSetExtraStyle
+     ,windowSetFocus
+     ,windowSetFont
+     ,windowSetForegroundColour
+     ,windowSetId
+     ,windowSetLabel
+     ,windowSetName
+     ,windowSetScrollPos
+     ,windowSetScrollbar
+     ,windowSetSize
+     ,windowSetSizeConstraint
+     ,windowSetSizeHints
+     ,windowSetSizer
+     ,windowSetToolTip
+     ,windowSetValidator
+     ,windowSetVirtualSize
+     ,windowSetWindowStyleFlag
+     ,windowShow
+     ,windowThaw
+     ,windowTransferDataFromWindow
+     ,windowTransferDataToWindow
+     ,windowUnsetConstraints
+     ,windowUpdateWindowUI
+     ,windowValidate
+     ,windowWarpPointer
+     -- ** WindowCreateEvent
+     ,windowCreateEventGetWindow
+     -- ** WindowDC
+     ,windowDCCreate
+     ,windowDCDelete
+     -- ** WindowDestroyEvent
+     ,windowDestroyEventGetWindow
+     -- ** Wizard
+     ,wizardChain
+     ,wizardCreate
+     ,wizardGetCurrentPage
+     ,wizardGetPageSize
+     ,wizardRunWizard
+     ,wizardSetPageSize
+     -- ** WizardEvent
+     ,wizardEventGetDirection
+     -- ** WizardPageSimple
+     ,wizardPageSimpleCreate
+     ,wizardPageSimpleGetBitmap
+     ,wizardPageSimpleGetNext
+     ,wizardPageSimpleGetPrev
+     ,wizardPageSimpleSetNext
+     ,wizardPageSimpleSetPrev
+     -- ** WxManagedPtr
+     ,managedPtrCreateFromBitmap
+     ,managedPtrCreateFromBrush
+     ,managedPtrCreateFromColour
+     ,managedPtrCreateFromCursor
+     ,managedPtrCreateFromDateTime
+     ,managedPtrCreateFromFont
+     ,managedPtrCreateFromGridCellCoordsArray
+     ,managedPtrCreateFromIcon
+     ,managedPtrCreateFromObject
+     ,managedPtrCreateFromPen
+     ,managedPtrDelete
+     ,managedPtrFinalize
+     ,managedPtrGetDeleteFunction
+     ,managedPtrGetPtr
+     ,managedPtrNoFinalize
+     -- ** WxObject
+     ,objectGetClassInfo
+     ,objectGetClientClosure
+     ,objectIsKindOf
+     ,objectIsScrolledWindow
+     ,objectSafeDelete
+     ,objectSetClientClosure
+     ,wxobjectDelete
+     -- ** XmlResource
+     ,xmlResourceAddHandler
+     ,xmlResourceAddSubclassFactory
+     ,xmlResourceAttachUnknownControl
+     ,xmlResourceClearHandlers
+     ,xmlResourceCompareVersion
+     ,xmlResourceCreate
+     ,xmlResourceCreateFromFile
+     ,xmlResourceDelete
+     ,xmlResourceGet
+     ,xmlResourceGetBitmapButton
+     ,xmlResourceGetBoxSizer
+     ,xmlResourceGetButton
+     ,xmlResourceGetCalendarCtrl
+     ,xmlResourceGetCheckBox
+     ,xmlResourceGetCheckListBox
+     ,xmlResourceGetChoice
+     ,xmlResourceGetComboBox
+     ,xmlResourceGetDomain
+     ,xmlResourceGetFlags
+     ,xmlResourceGetFlexGridSizer
+     ,xmlResourceGetGauge
+     ,xmlResourceGetGrid
+     ,xmlResourceGetGridSizer
+     ,xmlResourceGetHtmlWindow
+     ,xmlResourceGetListBox
+     ,xmlResourceGetListCtrl
+     ,xmlResourceGetMDIChildFrame
+     ,xmlResourceGetMDIParentFrame
+     ,xmlResourceGetMenu
+     ,xmlResourceGetMenuBar
+     ,xmlResourceGetMenuItem
+     ,xmlResourceGetNotebook
+     ,xmlResourceGetPanel
+     ,xmlResourceGetRadioBox
+     ,xmlResourceGetRadioButton
+     ,xmlResourceGetScrollBar
+     ,xmlResourceGetScrolledWindow
+     ,xmlResourceGetSizer
+     ,xmlResourceGetSlider
+     ,xmlResourceGetSpinButton
+     ,xmlResourceGetSpinCtrl
+     ,xmlResourceGetSplitterWindow
+     ,xmlResourceGetStaticBitmap
+     ,xmlResourceGetStaticBox
+     ,xmlResourceGetStaticBoxSizer
+     ,xmlResourceGetStaticLine
+     ,xmlResourceGetStaticText
+     ,xmlResourceGetStyledTextCtrl
+     ,xmlResourceGetTextCtrl
+     ,xmlResourceGetTreeCtrl
+     ,xmlResourceGetVersion
+     ,xmlResourceGetXRCID
+     ,xmlResourceInitAllHandlers
+     ,xmlResourceInsertHandler
+     ,xmlResourceLoad
+     ,xmlResourceLoadBitmap
+     ,xmlResourceLoadDialog
+     ,xmlResourceLoadFrame
+     ,xmlResourceLoadIcon
+     ,xmlResourceLoadMenu
+     ,xmlResourceLoadMenuBar
+     ,xmlResourceLoadPanel
+     ,xmlResourceLoadToolBar
+     ,xmlResourceSet
+     ,xmlResourceSetDomain
+     ,xmlResourceSetFlags
+     ,xmlResourceUnload
+    ) where
+
+import Prelude hiding (id, last, length, lines, max, min, show)
+import System.IO.Unsafe( unsafePerformIO )
+import Graphics.UI.WXCore.WxcTypes hiding (rect, rgb, rgba, sz)
+import Graphics.UI.WXCore.WxcClassTypes
+
+-- | usage: (@managedPtrCreateFromBitmap obj@).
+managedPtrCreateFromBitmap :: Bitmap  a ->  IO (WxManagedPtr  ())
+managedPtrCreateFromBitmap obj 
+  = withObjectResult $
+    withObjectPtr obj $ \cobj_obj -> 
+    wxManagedPtr_CreateFromBitmap cobj_obj  
+foreign import ccall "wxManagedPtr_CreateFromBitmap" wxManagedPtr_CreateFromBitmap :: Ptr (TBitmap a) -> IO (Ptr (TWxManagedPtr ()))
+
+-- | usage: (@managedPtrCreateFromBrush obj@).
+managedPtrCreateFromBrush :: Brush  a ->  IO (WxManagedPtr  ())
+managedPtrCreateFromBrush obj 
+  = withObjectResult $
+    withObjectPtr obj $ \cobj_obj -> 
+    wxManagedPtr_CreateFromBrush cobj_obj  
+foreign import ccall "wxManagedPtr_CreateFromBrush" wxManagedPtr_CreateFromBrush :: Ptr (TBrush a) -> IO (Ptr (TWxManagedPtr ()))
+
+-- | usage: (@managedPtrCreateFromColour obj@).
+managedPtrCreateFromColour :: Color ->  IO (WxManagedPtr  ())
+managedPtrCreateFromColour obj 
+  = withObjectResult $
+    withColourPtr obj $ \cobj_obj -> 
+    wxManagedPtr_CreateFromColour cobj_obj  
+foreign import ccall "wxManagedPtr_CreateFromColour" wxManagedPtr_CreateFromColour :: Ptr (TColour a) -> IO (Ptr (TWxManagedPtr ()))
+
+-- | usage: (@managedPtrCreateFromCursor obj@).
+managedPtrCreateFromCursor :: Cursor  a ->  IO (WxManagedPtr  ())
+managedPtrCreateFromCursor obj 
+  = withObjectResult $
+    withObjectPtr obj $ \cobj_obj -> 
+    wxManagedPtr_CreateFromCursor cobj_obj  
+foreign import ccall "wxManagedPtr_CreateFromCursor" wxManagedPtr_CreateFromCursor :: Ptr (TCursor a) -> IO (Ptr (TWxManagedPtr ()))
+
+-- | usage: (@managedPtrCreateFromDateTime obj@).
+managedPtrCreateFromDateTime :: DateTime  a ->  IO (WxManagedPtr  ())
+managedPtrCreateFromDateTime obj 
+  = withObjectResult $
+    withObjectPtr obj $ \cobj_obj -> 
+    wxManagedPtr_CreateFromDateTime cobj_obj  
+foreign import ccall "wxManagedPtr_CreateFromDateTime" wxManagedPtr_CreateFromDateTime :: Ptr (TDateTime a) -> IO (Ptr (TWxManagedPtr ()))
+
+-- | usage: (@managedPtrCreateFromFont obj@).
+managedPtrCreateFromFont :: Font  a ->  IO (WxManagedPtr  ())
+managedPtrCreateFromFont obj 
+  = withObjectResult $
+    withObjectPtr obj $ \cobj_obj -> 
+    wxManagedPtr_CreateFromFont cobj_obj  
+foreign import ccall "wxManagedPtr_CreateFromFont" wxManagedPtr_CreateFromFont :: Ptr (TFont a) -> IO (Ptr (TWxManagedPtr ()))
+
+-- | usage: (@managedPtrCreateFromGridCellCoordsArray obj@).
+managedPtrCreateFromGridCellCoordsArray :: GridCellCoordsArray  a ->  IO (WxManagedPtr  ())
+managedPtrCreateFromGridCellCoordsArray obj 
+  = withObjectResult $
+    withObjectPtr obj $ \cobj_obj -> 
+    wxManagedPtr_CreateFromGridCellCoordsArray cobj_obj  
+foreign import ccall "wxManagedPtr_CreateFromGridCellCoordsArray" wxManagedPtr_CreateFromGridCellCoordsArray :: Ptr (TGridCellCoordsArray a) -> IO (Ptr (TWxManagedPtr ()))
+
+-- | usage: (@managedPtrCreateFromIcon obj@).
+managedPtrCreateFromIcon :: Icon  a ->  IO (WxManagedPtr  ())
+managedPtrCreateFromIcon obj 
+  = withObjectResult $
+    withObjectPtr obj $ \cobj_obj -> 
+    wxManagedPtr_CreateFromIcon cobj_obj  
+foreign import ccall "wxManagedPtr_CreateFromIcon" wxManagedPtr_CreateFromIcon :: Ptr (TIcon a) -> IO (Ptr (TWxManagedPtr ()))
+
+-- | usage: (@managedPtrCreateFromObject obj@).
+managedPtrCreateFromObject :: WxObject  a ->  IO (WxManagedPtr  ())
+managedPtrCreateFromObject obj 
+  = withObjectResult $
+    withObjectPtr obj $ \cobj_obj -> 
+    wxManagedPtr_CreateFromObject cobj_obj  
+foreign import ccall "wxManagedPtr_CreateFromObject" wxManagedPtr_CreateFromObject :: Ptr (TWxObject a) -> IO (Ptr (TWxManagedPtr ()))
+
+-- | usage: (@managedPtrCreateFromPen obj@).
+managedPtrCreateFromPen :: Pen  a ->  IO (WxManagedPtr  ())
+managedPtrCreateFromPen obj 
+  = withObjectResult $
+    withObjectPtr obj $ \cobj_obj -> 
+    wxManagedPtr_CreateFromPen cobj_obj  
+foreign import ccall "wxManagedPtr_CreateFromPen" wxManagedPtr_CreateFromPen :: Ptr (TPen a) -> IO (Ptr (TWxManagedPtr ()))
+
+-- | usage: (@managedPtrDelete self@).
+managedPtrDelete :: WxManagedPtr  a ->  IO ()
+managedPtrDelete self 
+  = withObjectRef "managedPtrDelete" self $ \cobj_self -> 
+    wxManagedPtr_Delete cobj_self  
+foreign import ccall "wxManagedPtr_Delete" wxManagedPtr_Delete :: Ptr (TWxManagedPtr a) -> IO ()
+
+-- | usage: (@managedPtrFinalize self@).
+managedPtrFinalize :: WxManagedPtr  a ->  IO ()
+managedPtrFinalize self 
+  = withObjectRef "managedPtrFinalize" self $ \cobj_self -> 
+    wxManagedPtr_Finalize cobj_self  
+foreign import ccall "wxManagedPtr_Finalize" wxManagedPtr_Finalize :: Ptr (TWxManagedPtr a) -> IO ()
+
+-- | usage: (@managedPtrGetDeleteFunction@).
+managedPtrGetDeleteFunction ::  IO (Ptr  ())
+managedPtrGetDeleteFunction 
+  = wxManagedPtr_GetDeleteFunction 
+foreign import ccall "wxManagedPtr_GetDeleteFunction" wxManagedPtr_GetDeleteFunction :: IO (Ptr  ())
+
+-- | usage: (@managedPtrGetPtr self@).
+managedPtrGetPtr :: WxManagedPtr  a ->  IO (Ptr  ())
+managedPtrGetPtr self 
+  = withObjectRef "managedPtrGetPtr" self $ \cobj_self -> 
+    wxManagedPtr_GetPtr cobj_self  
+foreign import ccall "wxManagedPtr_GetPtr" wxManagedPtr_GetPtr :: Ptr (TWxManagedPtr a) -> IO (Ptr  ())
+
+-- | usage: (@managedPtrNoFinalize self@).
+managedPtrNoFinalize :: WxManagedPtr  a ->  IO ()
+managedPtrNoFinalize self 
+  = withObjectRef "managedPtrNoFinalize" self $ \cobj_self -> 
+    wxManagedPtr_NoFinalize cobj_self  
+foreign import ccall "wxManagedPtr_NoFinalize" wxManagedPtr_NoFinalize :: Ptr (TWxManagedPtr a) -> IO ()
+
+-- | usage: (@maskCreate bitmap@).
+maskCreate :: Bitmap  a ->  IO (Mask  ())
+maskCreate bitmap 
+  = withObjectResult $
+    withObjectPtr bitmap $ \cobj_bitmap -> 
+    wxMask_Create cobj_bitmap  
+foreign import ccall "wxMask_Create" wxMask_Create :: Ptr (TBitmap a) -> IO (Ptr (TMask ()))
+
+-- | usage: (@maskCreateColoured bitmap colour@).
+maskCreateColoured :: Bitmap  a -> Color ->  IO (Ptr  ())
+maskCreateColoured bitmap colour 
+  = withObjectPtr bitmap $ \cobj_bitmap -> 
+    withColourPtr colour $ \cobj_colour -> 
+    wxMask_CreateColoured cobj_bitmap  cobj_colour  
+foreign import ccall "wxMask_CreateColoured" wxMask_CreateColoured :: Ptr (TBitmap a) -> Ptr (TColour b) -> IO (Ptr  ())
+
+-- | usage: (@mdiChildFrameActivate obj@).
+mdiChildFrameActivate :: MDIChildFrame  a ->  IO ()
+mdiChildFrameActivate _obj 
+  = withObjectRef "mdiChildFrameActivate" _obj $ \cobj__obj -> 
+    wxMDIChildFrame_Activate cobj__obj  
+foreign import ccall "wxMDIChildFrame_Activate" wxMDIChildFrame_Activate :: Ptr (TMDIChildFrame a) -> IO ()
+
+-- | usage: (@mdiChildFrameCreate prt id txt lfttopwdthgt stl@).
+mdiChildFrameCreate :: Window  a -> Id -> String -> Rect -> Style ->  IO (MDIChildFrame  ())
+mdiChildFrameCreate _prt _id _txt _lfttopwdthgt _stl 
+  = withObjectResult $
+    withObjectPtr _prt $ \cobj__prt -> 
+    withStringPtr _txt $ \cobj__txt -> 
+    wxMDIChildFrame_Create cobj__prt  (toCInt _id)  cobj__txt  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  (toCInt _stl)  
+foreign import ccall "wxMDIChildFrame_Create" wxMDIChildFrame_Create :: Ptr (TWindow a) -> CInt -> Ptr (TWxString c) -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TMDIChildFrame ()))
+
+-- | usage: (@mdiParentFrameActivateNext obj@).
+mdiParentFrameActivateNext :: MDIParentFrame  a ->  IO ()
+mdiParentFrameActivateNext _obj 
+  = withObjectRef "mdiParentFrameActivateNext" _obj $ \cobj__obj -> 
+    wxMDIParentFrame_ActivateNext cobj__obj  
+foreign import ccall "wxMDIParentFrame_ActivateNext" wxMDIParentFrame_ActivateNext :: Ptr (TMDIParentFrame a) -> IO ()
+
+-- | usage: (@mdiParentFrameActivatePrevious obj@).
+mdiParentFrameActivatePrevious :: MDIParentFrame  a ->  IO ()
+mdiParentFrameActivatePrevious _obj 
+  = withObjectRef "mdiParentFrameActivatePrevious" _obj $ \cobj__obj -> 
+    wxMDIParentFrame_ActivatePrevious cobj__obj  
+foreign import ccall "wxMDIParentFrame_ActivatePrevious" wxMDIParentFrame_ActivatePrevious :: Ptr (TMDIParentFrame a) -> IO ()
+
+-- | usage: (@mdiParentFrameArrangeIcons obj@).
+mdiParentFrameArrangeIcons :: MDIParentFrame  a ->  IO ()
+mdiParentFrameArrangeIcons _obj 
+  = withObjectRef "mdiParentFrameArrangeIcons" _obj $ \cobj__obj -> 
+    wxMDIParentFrame_ArrangeIcons cobj__obj  
+foreign import ccall "wxMDIParentFrame_ArrangeIcons" wxMDIParentFrame_ArrangeIcons :: Ptr (TMDIParentFrame a) -> IO ()
+
+-- | usage: (@mdiParentFrameCascade obj@).
+mdiParentFrameCascade :: MDIParentFrame  a ->  IO ()
+mdiParentFrameCascade _obj 
+  = withObjectRef "mdiParentFrameCascade" _obj $ \cobj__obj -> 
+    wxMDIParentFrame_Cascade cobj__obj  
+foreign import ccall "wxMDIParentFrame_Cascade" wxMDIParentFrame_Cascade :: Ptr (TMDIParentFrame a) -> IO ()
+
+-- | usage: (@mdiParentFrameCreate prt id txt lfttopwdthgt stl@).
+mdiParentFrameCreate :: Window  a -> Id -> String -> Rect -> Style ->  IO (MDIParentFrame  ())
+mdiParentFrameCreate _prt _id _txt _lfttopwdthgt _stl 
+  = withObjectResult $
+    withObjectPtr _prt $ \cobj__prt -> 
+    withStringPtr _txt $ \cobj__txt -> 
+    wxMDIParentFrame_Create cobj__prt  (toCInt _id)  cobj__txt  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  (toCInt _stl)  
+foreign import ccall "wxMDIParentFrame_Create" wxMDIParentFrame_Create :: Ptr (TWindow a) -> CInt -> Ptr (TWxString c) -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TMDIParentFrame ()))
+
+-- | usage: (@mdiParentFrameGetActiveChild obj@).
+mdiParentFrameGetActiveChild :: MDIParentFrame  a ->  IO (MDIChildFrame  ())
+mdiParentFrameGetActiveChild _obj 
+  = withObjectResult $
+    withObjectRef "mdiParentFrameGetActiveChild" _obj $ \cobj__obj -> 
+    wxMDIParentFrame_GetActiveChild cobj__obj  
+foreign import ccall "wxMDIParentFrame_GetActiveChild" wxMDIParentFrame_GetActiveChild :: Ptr (TMDIParentFrame a) -> IO (Ptr (TMDIChildFrame ()))
+
+-- | usage: (@mdiParentFrameGetClientWindow obj@).
+mdiParentFrameGetClientWindow :: MDIParentFrame  a ->  IO (MDIClientWindow  ())
+mdiParentFrameGetClientWindow _obj 
+  = withObjectResult $
+    withObjectRef "mdiParentFrameGetClientWindow" _obj $ \cobj__obj -> 
+    wxMDIParentFrame_GetClientWindow cobj__obj  
+foreign import ccall "wxMDIParentFrame_GetClientWindow" wxMDIParentFrame_GetClientWindow :: Ptr (TMDIParentFrame a) -> IO (Ptr (TMDIClientWindow ()))
+
+-- | usage: (@mdiParentFrameGetWindowMenu obj@).
+mdiParentFrameGetWindowMenu :: MDIParentFrame  a ->  IO (Menu  ())
+mdiParentFrameGetWindowMenu _obj 
+  = withObjectResult $
+    withObjectRef "mdiParentFrameGetWindowMenu" _obj $ \cobj__obj -> 
+    wxMDIParentFrame_GetWindowMenu cobj__obj  
+foreign import ccall "wxMDIParentFrame_GetWindowMenu" wxMDIParentFrame_GetWindowMenu :: Ptr (TMDIParentFrame a) -> IO (Ptr (TMenu ()))
+
+-- | usage: (@mdiParentFrameOnCreateClient obj@).
+mdiParentFrameOnCreateClient :: MDIParentFrame  a ->  IO (MDIClientWindow  ())
+mdiParentFrameOnCreateClient _obj 
+  = withObjectResult $
+    withObjectRef "mdiParentFrameOnCreateClient" _obj $ \cobj__obj -> 
+    wxMDIParentFrame_OnCreateClient cobj__obj  
+foreign import ccall "wxMDIParentFrame_OnCreateClient" wxMDIParentFrame_OnCreateClient :: Ptr (TMDIParentFrame a) -> IO (Ptr (TMDIClientWindow ()))
+
+-- | usage: (@mdiParentFrameSetWindowMenu obj menu@).
+mdiParentFrameSetWindowMenu :: MDIParentFrame  a -> Menu  b ->  IO ()
+mdiParentFrameSetWindowMenu _obj menu 
+  = withObjectRef "mdiParentFrameSetWindowMenu" _obj $ \cobj__obj -> 
+    withObjectPtr menu $ \cobj_menu -> 
+    wxMDIParentFrame_SetWindowMenu cobj__obj  cobj_menu  
+foreign import ccall "wxMDIParentFrame_SetWindowMenu" wxMDIParentFrame_SetWindowMenu :: Ptr (TMDIParentFrame a) -> Ptr (TMenu b) -> IO ()
+
+-- | usage: (@mdiParentFrameTile obj@).
+mdiParentFrameTile :: MDIParentFrame  a ->  IO ()
+mdiParentFrameTile _obj 
+  = withObjectRef "mdiParentFrameTile" _obj $ \cobj__obj -> 
+    wxMDIParentFrame_Tile cobj__obj  
+foreign import ccall "wxMDIParentFrame_Tile" wxMDIParentFrame_Tile :: Ptr (TMDIParentFrame a) -> IO ()
+
+-- | usage: (@mediaCtrlCreate parent windowID fileName xywh style szBackend name@).
+mediaCtrlCreate :: Window  a -> Int -> String -> Rect -> Int -> String -> String ->  IO (MediaCtrl  ())
+mediaCtrlCreate parent windowID fileName xywh style szBackend name 
+  = withObjectResult $
+    withObjectPtr parent $ \cobj_parent -> 
+    withStringPtr fileName $ \cobj_fileName -> 
+    withStringPtr szBackend $ \cobj_szBackend -> 
+    withStringPtr name $ \cobj_name -> 
+    wxMediaCtrl_Create cobj_parent  (toCInt windowID)  cobj_fileName  (toCIntRectX xywh) (toCIntRectY xywh)(toCIntRectW xywh) (toCIntRectH xywh)  (toCInt style)  cobj_szBackend  cobj_name  
+foreign import ccall "wxMediaCtrl_Create" wxMediaCtrl_Create :: Ptr (TWindow a) -> CInt -> Ptr (TWxString c) -> CInt -> CInt -> CInt -> CInt -> CInt -> Ptr (TWxString f) -> Ptr (TWxString g) -> IO (Ptr (TMediaCtrl ()))
+
+-- | usage: (@mediaCtrlDelete self@).
+mediaCtrlDelete :: MediaCtrl  a ->  IO ()
+mediaCtrlDelete
+  = objectDelete
+
+
+-- | usage: (@mediaCtrlGetBestSize self@).
+mediaCtrlGetBestSize :: MediaCtrl  a ->  IO (Size)
+mediaCtrlGetBestSize self 
+  = withWxSizeResult $
+    withObjectRef "mediaCtrlGetBestSize" self $ \cobj_self -> 
+    wxMediaCtrl_GetBestSize cobj_self  
+foreign import ccall "wxMediaCtrl_GetBestSize" wxMediaCtrl_GetBestSize :: Ptr (TMediaCtrl a) -> IO (Ptr (TWxSize ()))
+
+-- | usage: (@mediaCtrlGetPlaybackRate self@).
+mediaCtrlGetPlaybackRate :: MediaCtrl  a ->  IO Double
+mediaCtrlGetPlaybackRate self 
+  = withObjectRef "mediaCtrlGetPlaybackRate" self $ \cobj_self -> 
+    wxMediaCtrl_GetPlaybackRate cobj_self  
+foreign import ccall "wxMediaCtrl_GetPlaybackRate" wxMediaCtrl_GetPlaybackRate :: Ptr (TMediaCtrl a) -> IO Double
+
+-- | usage: (@mediaCtrlGetState self@).
+mediaCtrlGetState :: MediaCtrl  a ->  IO Int
+mediaCtrlGetState self 
+  = withIntResult $
+    withObjectRef "mediaCtrlGetState" self $ \cobj_self -> 
+    wxMediaCtrl_GetState cobj_self  
+foreign import ccall "wxMediaCtrl_GetState" wxMediaCtrl_GetState :: Ptr (TMediaCtrl a) -> IO CInt
+
+-- | usage: (@mediaCtrlGetVolume self@).
+mediaCtrlGetVolume :: MediaCtrl  a ->  IO Double
+mediaCtrlGetVolume self 
+  = withObjectRef "mediaCtrlGetVolume" self $ \cobj_self -> 
+    wxMediaCtrl_GetVolume cobj_self  
+foreign import ccall "wxMediaCtrl_GetVolume" wxMediaCtrl_GetVolume :: Ptr (TMediaCtrl a) -> IO Double
+
+-- | usage: (@mediaCtrlLength self@).
+mediaCtrlLength :: MediaCtrl  a ->  IO Int64
+mediaCtrlLength self 
+  = withObjectRef "mediaCtrlLength" self $ \cobj_self -> 
+    wxMediaCtrl_Length cobj_self  
+foreign import ccall "wxMediaCtrl_Length" wxMediaCtrl_Length :: Ptr (TMediaCtrl a) -> IO Int64
+
+-- | usage: (@mediaCtrlLoad self fileName@).
+mediaCtrlLoad :: MediaCtrl  a -> String ->  IO Bool
+mediaCtrlLoad self fileName 
+  = withBoolResult $
+    withObjectRef "mediaCtrlLoad" self $ \cobj_self -> 
+    withStringPtr fileName $ \cobj_fileName -> 
+    wxMediaCtrl_Load cobj_self  cobj_fileName  
+foreign import ccall "wxMediaCtrl_Load" wxMediaCtrl_Load :: Ptr (TMediaCtrl a) -> Ptr (TWxString b) -> IO CBool
+
+-- | usage: (@mediaCtrlLoadURI self uri@).
+mediaCtrlLoadURI :: MediaCtrl  a -> String ->  IO Bool
+mediaCtrlLoadURI self uri 
+  = withBoolResult $
+    withObjectRef "mediaCtrlLoadURI" self $ \cobj_self -> 
+    withStringPtr uri $ \cobj_uri -> 
+    wxMediaCtrl_LoadURI cobj_self  cobj_uri  
+foreign import ccall "wxMediaCtrl_LoadURI" wxMediaCtrl_LoadURI :: Ptr (TMediaCtrl a) -> Ptr (TWxString b) -> IO CBool
+
+-- | usage: (@mediaCtrlLoadURIWithProxy self uri proxy@).
+mediaCtrlLoadURIWithProxy :: MediaCtrl  a -> String -> String ->  IO Bool
+mediaCtrlLoadURIWithProxy self uri proxy 
+  = withBoolResult $
+    withObjectRef "mediaCtrlLoadURIWithProxy" self $ \cobj_self -> 
+    withStringPtr uri $ \cobj_uri -> 
+    withStringPtr proxy $ \cobj_proxy -> 
+    wxMediaCtrl_LoadURIWithProxy cobj_self  cobj_uri  cobj_proxy  
+foreign import ccall "wxMediaCtrl_LoadURIWithProxy" wxMediaCtrl_LoadURIWithProxy :: Ptr (TMediaCtrl a) -> Ptr (TWxString b) -> Ptr (TWxString c) -> IO CBool
+
+-- | usage: (@mediaCtrlPause self@).
+mediaCtrlPause :: MediaCtrl  a ->  IO Bool
+mediaCtrlPause self 
+  = withBoolResult $
+    withObjectRef "mediaCtrlPause" self $ \cobj_self -> 
+    wxMediaCtrl_Pause cobj_self  
+foreign import ccall "wxMediaCtrl_Pause" wxMediaCtrl_Pause :: Ptr (TMediaCtrl a) -> IO CBool
+
+-- | usage: (@mediaCtrlPlay self@).
+mediaCtrlPlay :: MediaCtrl  a ->  IO Bool
+mediaCtrlPlay self 
+  = withBoolResult $
+    withObjectRef "mediaCtrlPlay" self $ \cobj_self -> 
+    wxMediaCtrl_Play cobj_self  
+foreign import ccall "wxMediaCtrl_Play" wxMediaCtrl_Play :: Ptr (TMediaCtrl a) -> IO CBool
+
+-- | usage: (@mediaCtrlSeek self offsetWhere mode@).
+mediaCtrlSeek :: MediaCtrl  a -> Int64 -> Int ->  IO Int64
+mediaCtrlSeek self offsetWhere mode 
+  = withObjectRef "mediaCtrlSeek" self $ \cobj_self -> 
+    wxMediaCtrl_Seek cobj_self  offsetWhere  (toCInt mode)  
+foreign import ccall "wxMediaCtrl_Seek" wxMediaCtrl_Seek :: Ptr (TMediaCtrl a) -> Int64 -> CInt -> IO Int64
+
+-- | usage: (@mediaCtrlSetPlaybackRate self dRate@).
+mediaCtrlSetPlaybackRate :: MediaCtrl  a -> Double ->  IO Bool
+mediaCtrlSetPlaybackRate self dRate 
+  = withBoolResult $
+    withObjectRef "mediaCtrlSetPlaybackRate" self $ \cobj_self -> 
+    wxMediaCtrl_SetPlaybackRate cobj_self  dRate  
+foreign import ccall "wxMediaCtrl_SetPlaybackRate" wxMediaCtrl_SetPlaybackRate :: Ptr (TMediaCtrl a) -> Double -> IO CBool
+
+-- | usage: (@mediaCtrlSetVolume self dVolume@).
+mediaCtrlSetVolume :: MediaCtrl  a -> Double ->  IO Bool
+mediaCtrlSetVolume self dVolume 
+  = withBoolResult $
+    withObjectRef "mediaCtrlSetVolume" self $ \cobj_self -> 
+    wxMediaCtrl_SetVolume cobj_self  dVolume  
+foreign import ccall "wxMediaCtrl_SetVolume" wxMediaCtrl_SetVolume :: Ptr (TMediaCtrl a) -> Double -> IO CBool
+
+-- | usage: (@mediaCtrlShowPlayerControls self flags@).
+mediaCtrlShowPlayerControls :: MediaCtrl  a -> Int ->  IO Bool
+mediaCtrlShowPlayerControls self flags 
+  = withBoolResult $
+    withObjectRef "mediaCtrlShowPlayerControls" self $ \cobj_self -> 
+    wxMediaCtrl_ShowPlayerControls cobj_self  (toCInt flags)  
+foreign import ccall "wxMediaCtrl_ShowPlayerControls" wxMediaCtrl_ShowPlayerControls :: Ptr (TMediaCtrl a) -> CInt -> IO CBool
+
+-- | usage: (@mediaCtrlStop self@).
+mediaCtrlStop :: MediaCtrl  a ->  IO Bool
+mediaCtrlStop self 
+  = withBoolResult $
+    withObjectRef "mediaCtrlStop" self $ \cobj_self -> 
+    wxMediaCtrl_Stop cobj_self  
+foreign import ccall "wxMediaCtrl_Stop" wxMediaCtrl_Stop :: Ptr (TMediaCtrl a) -> IO CBool
+
+-- | usage: (@mediaCtrlTell self@).
+mediaCtrlTell :: MediaCtrl  a ->  IO Int64
+mediaCtrlTell self 
+  = withObjectRef "mediaCtrlTell" self $ \cobj_self -> 
+    wxMediaCtrl_Tell cobj_self  
+foreign import ccall "wxMediaCtrl_Tell" wxMediaCtrl_Tell :: Ptr (TMediaCtrl a) -> IO Int64
+
+-- | usage: (@memoryDCCreate@).
+memoryDCCreate ::  IO (MemoryDC  ())
+memoryDCCreate 
+  = withObjectResult $
+    wxMemoryDC_Create 
+foreign import ccall "wxMemoryDC_Create" wxMemoryDC_Create :: IO (Ptr (TMemoryDC ()))
+
+-- | usage: (@memoryDCCreateCompatible dc@).
+memoryDCCreateCompatible :: DC  a ->  IO (MemoryDC  ())
+memoryDCCreateCompatible dc 
+  = withObjectResult $
+    withObjectPtr dc $ \cobj_dc -> 
+    wxMemoryDC_CreateCompatible cobj_dc  
+foreign import ccall "wxMemoryDC_CreateCompatible" wxMemoryDC_CreateCompatible :: Ptr (TDC a) -> IO (Ptr (TMemoryDC ()))
+
+-- | usage: (@memoryDCCreateWithBitmap bitmap@).
+memoryDCCreateWithBitmap :: Bitmap  a ->  IO (MemoryDC  ())
+memoryDCCreateWithBitmap bitmap 
+  = withObjectResult $
+    withObjectPtr bitmap $ \cobj_bitmap -> 
+    wxMemoryDC_CreateWithBitmap cobj_bitmap  
+foreign import ccall "wxMemoryDC_CreateWithBitmap" wxMemoryDC_CreateWithBitmap :: Ptr (TBitmap a) -> IO (Ptr (TMemoryDC ()))
+
+-- | usage: (@memoryDCDelete obj@).
+memoryDCDelete :: MemoryDC  a ->  IO ()
+memoryDCDelete
+  = objectDelete
+
+
+-- | usage: (@memoryDCSelectObject obj bitmap@).
+memoryDCSelectObject :: MemoryDC  a -> Bitmap  b ->  IO ()
+memoryDCSelectObject _obj bitmap 
+  = withObjectRef "memoryDCSelectObject" _obj $ \cobj__obj -> 
+    withObjectPtr bitmap $ \cobj_bitmap -> 
+    wxMemoryDC_SelectObject cobj__obj  cobj_bitmap  
+foreign import ccall "wxMemoryDC_SelectObject" wxMemoryDC_SelectObject :: Ptr (TMemoryDC a) -> Ptr (TBitmap b) -> IO ()
+
+-- | usage: (@memoryInputStreamCreate wxdata len@).
+memoryInputStreamCreate :: Ptr  a -> Int ->  IO (MemoryInputStream  ())
+memoryInputStreamCreate wxdata len 
+  = withObjectResult $
+    wxMemoryInputStream_Create wxdata  (toCInt len)  
+foreign import ccall "wxMemoryInputStream_Create" wxMemoryInputStream_Create :: Ptr  a -> CInt -> IO (Ptr (TMemoryInputStream ()))
+
+-- | usage: (@memoryInputStreamDelete self@).
+memoryInputStreamDelete :: MemoryInputStream  a ->  IO ()
+memoryInputStreamDelete self 
+  = withObjectRef "memoryInputStreamDelete" self $ \cobj_self -> 
+    wxMemoryInputStream_Delete cobj_self  
+foreign import ccall "wxMemoryInputStream_Delete" wxMemoryInputStream_Delete :: Ptr (TMemoryInputStream a) -> IO ()
+
+-- | usage: (@menuAppend obj id text help isCheckable@).
+menuAppend :: Menu  a -> Id -> String -> String -> Bool ->  IO ()
+menuAppend _obj id text help isCheckable 
+  = withObjectRef "menuAppend" _obj $ \cobj__obj -> 
+    withStringPtr text $ \cobj_text -> 
+    withStringPtr help $ \cobj_help -> 
+    wxMenu_Append cobj__obj  (toCInt id)  cobj_text  cobj_help  (toCBool isCheckable)  
+foreign import ccall "wxMenu_Append" wxMenu_Append :: Ptr (TMenu a) -> CInt -> Ptr (TWxString c) -> Ptr (TWxString d) -> CBool -> IO ()
+
+-- | usage: (@menuAppendItem obj itm@).
+menuAppendItem :: Menu  a -> MenuItem  b ->  IO ()
+menuAppendItem _obj _itm 
+  = withObjectRef "menuAppendItem" _obj $ \cobj__obj -> 
+    withObjectPtr _itm $ \cobj__itm -> 
+    wxMenu_AppendItem cobj__obj  cobj__itm  
+foreign import ccall "wxMenu_AppendItem" wxMenu_AppendItem :: Ptr (TMenu a) -> Ptr (TMenuItem b) -> IO ()
+
+-- | usage: (@menuAppendRadioItem self id text help@).
+menuAppendRadioItem :: Menu  a -> Id -> String -> String ->  IO ()
+menuAppendRadioItem self id text help 
+  = withObjectRef "menuAppendRadioItem" self $ \cobj_self -> 
+    withStringPtr text $ \cobj_text -> 
+    withStringPtr help $ \cobj_help -> 
+    wxMenu_AppendRadioItem cobj_self  (toCInt id)  cobj_text  cobj_help  
+foreign import ccall "wxMenu_AppendRadioItem" wxMenu_AppendRadioItem :: Ptr (TMenu a) -> CInt -> Ptr (TWxString c) -> Ptr (TWxString d) -> IO ()
+
+-- | usage: (@menuAppendSeparator obj@).
+menuAppendSeparator :: Menu  a ->  IO ()
+menuAppendSeparator _obj 
+  = withObjectRef "menuAppendSeparator" _obj $ \cobj__obj -> 
+    wxMenu_AppendSeparator cobj__obj  
+foreign import ccall "wxMenu_AppendSeparator" wxMenu_AppendSeparator :: Ptr (TMenu a) -> IO ()
+
+-- | usage: (@menuAppendSub obj id text submenu help@).
+menuAppendSub :: Menu  a -> Id -> String -> Menu  d -> String ->  IO ()
+menuAppendSub _obj id text submenu help 
+  = withObjectRef "menuAppendSub" _obj $ \cobj__obj -> 
+    withStringPtr text $ \cobj_text -> 
+    withObjectPtr submenu $ \cobj_submenu -> 
+    withStringPtr help $ \cobj_help -> 
+    wxMenu_AppendSub cobj__obj  (toCInt id)  cobj_text  cobj_submenu  cobj_help  
+foreign import ccall "wxMenu_AppendSub" wxMenu_AppendSub :: Ptr (TMenu a) -> CInt -> Ptr (TWxString c) -> Ptr (TMenu d) -> Ptr (TWxString e) -> IO ()
+
+-- | usage: (@menuBarAppend obj menu title@).
+menuBarAppend :: MenuBar  a -> Menu  b -> String ->  IO Int
+menuBarAppend _obj menu title 
+  = withIntResult $
+    withObjectRef "menuBarAppend" _obj $ \cobj__obj -> 
+    withObjectPtr menu $ \cobj_menu -> 
+    withStringPtr title $ \cobj_title -> 
+    wxMenuBar_Append cobj__obj  cobj_menu  cobj_title  
+foreign import ccall "wxMenuBar_Append" wxMenuBar_Append :: Ptr (TMenuBar a) -> Ptr (TMenu b) -> Ptr (TWxString c) -> IO CInt
+
+-- | usage: (@menuBarCheck obj id check@).
+menuBarCheck :: MenuBar  a -> Id -> Bool ->  IO ()
+menuBarCheck _obj id check 
+  = withObjectRef "menuBarCheck" _obj $ \cobj__obj -> 
+    wxMenuBar_Check cobj__obj  (toCInt id)  (toCBool check)  
+foreign import ccall "wxMenuBar_Check" wxMenuBar_Check :: Ptr (TMenuBar a) -> CInt -> CBool -> IO ()
+
+-- | usage: (@menuBarCreate style@).
+menuBarCreate :: Int ->  IO (MenuBar  ())
+menuBarCreate _style 
+  = withObjectResult $
+    wxMenuBar_Create (toCInt _style)  
+foreign import ccall "wxMenuBar_Create" wxMenuBar_Create :: CInt -> IO (Ptr (TMenuBar ()))
+
+-- | usage: (@menuBarDeletePointer obj@).
+menuBarDeletePointer :: MenuBar  a ->  IO ()
+menuBarDeletePointer _obj 
+  = withObjectRef "menuBarDeletePointer" _obj $ \cobj__obj -> 
+    wxMenuBar_DeletePointer cobj__obj  
+foreign import ccall "wxMenuBar_DeletePointer" wxMenuBar_DeletePointer :: Ptr (TMenuBar a) -> IO ()
+
+-- | usage: (@menuBarEnable obj enable@).
+menuBarEnable :: MenuBar  a -> Bool ->  IO Int
+menuBarEnable _obj enable 
+  = withIntResult $
+    withObjectRef "menuBarEnable" _obj $ \cobj__obj -> 
+    wxMenuBar_Enable cobj__obj  (toCBool enable)  
+foreign import ccall "wxMenuBar_Enable" wxMenuBar_Enable :: Ptr (TMenuBar a) -> CBool -> IO CInt
+
+-- | usage: (@menuBarEnableItem obj id enable@).
+menuBarEnableItem :: MenuBar  a -> Id -> Bool ->  IO ()
+menuBarEnableItem _obj id enable 
+  = withObjectRef "menuBarEnableItem" _obj $ \cobj__obj -> 
+    wxMenuBar_EnableItem cobj__obj  (toCInt id)  (toCBool enable)  
+foreign import ccall "wxMenuBar_EnableItem" wxMenuBar_EnableItem :: Ptr (TMenuBar a) -> CInt -> CBool -> IO ()
+
+-- | usage: (@menuBarEnableTop obj pos enable@).
+menuBarEnableTop :: MenuBar  a -> Int -> Bool ->  IO ()
+menuBarEnableTop _obj pos enable 
+  = withObjectRef "menuBarEnableTop" _obj $ \cobj__obj -> 
+    wxMenuBar_EnableTop cobj__obj  (toCInt pos)  (toCBool enable)  
+foreign import ccall "wxMenuBar_EnableTop" wxMenuBar_EnableTop :: Ptr (TMenuBar a) -> CInt -> CBool -> IO ()
+
+-- | usage: (@menuBarFindItem obj id@).
+menuBarFindItem :: MenuBar  a -> Id ->  IO (MenuItem  ())
+menuBarFindItem _obj id 
+  = withObjectResult $
+    withObjectRef "menuBarFindItem" _obj $ \cobj__obj -> 
+    wxMenuBar_FindItem cobj__obj  (toCInt id)  
+foreign import ccall "wxMenuBar_FindItem" wxMenuBar_FindItem :: Ptr (TMenuBar a) -> CInt -> IO (Ptr (TMenuItem ()))
+
+-- | usage: (@menuBarFindMenu obj title@).
+menuBarFindMenu :: MenuBar  a -> String ->  IO Int
+menuBarFindMenu _obj title 
+  = withIntResult $
+    withObjectRef "menuBarFindMenu" _obj $ \cobj__obj -> 
+    withStringPtr title $ \cobj_title -> 
+    wxMenuBar_FindMenu cobj__obj  cobj_title  
+foreign import ccall "wxMenuBar_FindMenu" wxMenuBar_FindMenu :: Ptr (TMenuBar a) -> Ptr (TWxString b) -> IO CInt
+
+-- | usage: (@menuBarFindMenuItem obj menuString itemString@).
+menuBarFindMenuItem :: MenuBar  a -> String -> String ->  IO Int
+menuBarFindMenuItem _obj menuString itemString 
+  = withIntResult $
+    withObjectRef "menuBarFindMenuItem" _obj $ \cobj__obj -> 
+    withStringPtr menuString $ \cobj_menuString -> 
+    withStringPtr itemString $ \cobj_itemString -> 
+    wxMenuBar_FindMenuItem cobj__obj  cobj_menuString  cobj_itemString  
+foreign import ccall "wxMenuBar_FindMenuItem" wxMenuBar_FindMenuItem :: Ptr (TMenuBar a) -> Ptr (TWxString b) -> Ptr (TWxString c) -> IO CInt
+
+-- | usage: (@menuBarGetFrame obj@).
+menuBarGetFrame :: MenuBar  a ->  IO (Frame  ())
+menuBarGetFrame _obj 
+  = withObjectResult $
+    withObjectRef "menuBarGetFrame" _obj $ \cobj__obj -> 
+    wxMenuBar_GetFrame cobj__obj  
+foreign import ccall "wxMenuBar_GetFrame" wxMenuBar_GetFrame :: Ptr (TMenuBar a) -> IO (Ptr (TFrame ()))
+
+-- | usage: (@menuBarGetHelpString obj id@).
+menuBarGetHelpString :: MenuBar  a -> Id ->  IO (String)
+menuBarGetHelpString _obj id 
+  = withManagedStringResult $
+    withObjectRef "menuBarGetHelpString" _obj $ \cobj__obj -> 
+    wxMenuBar_GetHelpString cobj__obj  (toCInt id)  
+foreign import ccall "wxMenuBar_GetHelpString" wxMenuBar_GetHelpString :: Ptr (TMenuBar a) -> CInt -> IO (Ptr (TWxString ()))
+
+-- | usage: (@menuBarGetLabel obj id@).
+menuBarGetLabel :: MenuBar  a -> Id ->  IO (String)
+menuBarGetLabel _obj id 
+  = withManagedStringResult $
+    withObjectRef "menuBarGetLabel" _obj $ \cobj__obj -> 
+    wxMenuBar_GetLabel cobj__obj  (toCInt id)  
+foreign import ccall "wxMenuBar_GetLabel" wxMenuBar_GetLabel :: Ptr (TMenuBar a) -> CInt -> IO (Ptr (TWxString ()))
+
+-- | usage: (@menuBarGetMenu obj pos@).
+menuBarGetMenu :: MenuBar  a -> Int ->  IO (Menu  ())
+menuBarGetMenu _obj pos 
+  = withObjectResult $
+    withObjectRef "menuBarGetMenu" _obj $ \cobj__obj -> 
+    wxMenuBar_GetMenu cobj__obj  (toCInt pos)  
+foreign import ccall "wxMenuBar_GetMenu" wxMenuBar_GetMenu :: Ptr (TMenuBar a) -> CInt -> IO (Ptr (TMenu ()))
+
+-- | usage: (@menuBarGetMenuCount obj@).
+menuBarGetMenuCount :: MenuBar  a ->  IO Int
+menuBarGetMenuCount _obj 
+  = withIntResult $
+    withObjectRef "menuBarGetMenuCount" _obj $ \cobj__obj -> 
+    wxMenuBar_GetMenuCount cobj__obj  
+foreign import ccall "wxMenuBar_GetMenuCount" wxMenuBar_GetMenuCount :: Ptr (TMenuBar a) -> IO CInt
+
+-- | usage: (@menuBarGetMenuLabel obj pos@).
+menuBarGetMenuLabel :: MenuBar  a -> Int ->  IO (String)
+menuBarGetMenuLabel _obj pos 
+  = withManagedStringResult $
+    withObjectRef "menuBarGetMenuLabel" _obj $ \cobj__obj -> 
+    wxMenuBar_GetMenuLabel cobj__obj  (toCInt pos)  
+foreign import ccall "wxMenuBar_GetMenuLabel" wxMenuBar_GetMenuLabel :: Ptr (TMenuBar a) -> CInt -> IO (Ptr (TWxString ()))
+
+-- | usage: (@menuBarInsert obj pos menu title@).
+menuBarInsert :: MenuBar  a -> Int -> Menu  c -> String ->  IO Int
+menuBarInsert _obj pos menu title 
+  = withIntResult $
+    withObjectRef "menuBarInsert" _obj $ \cobj__obj -> 
+    withObjectPtr menu $ \cobj_menu -> 
+    withStringPtr title $ \cobj_title -> 
+    wxMenuBar_Insert cobj__obj  (toCInt pos)  cobj_menu  cobj_title  
+foreign import ccall "wxMenuBar_Insert" wxMenuBar_Insert :: Ptr (TMenuBar a) -> CInt -> Ptr (TMenu c) -> Ptr (TWxString d) -> IO CInt
+
+-- | usage: (@menuBarIsChecked obj id@).
+menuBarIsChecked :: MenuBar  a -> Id ->  IO Bool
+menuBarIsChecked _obj id 
+  = withBoolResult $
+    withObjectRef "menuBarIsChecked" _obj $ \cobj__obj -> 
+    wxMenuBar_IsChecked cobj__obj  (toCInt id)  
+foreign import ccall "wxMenuBar_IsChecked" wxMenuBar_IsChecked :: Ptr (TMenuBar a) -> CInt -> IO CBool
+
+-- | usage: (@menuBarIsEnabled obj id@).
+menuBarIsEnabled :: MenuBar  a -> Id ->  IO Bool
+menuBarIsEnabled _obj id 
+  = withBoolResult $
+    withObjectRef "menuBarIsEnabled" _obj $ \cobj__obj -> 
+    wxMenuBar_IsEnabled cobj__obj  (toCInt id)  
+foreign import ccall "wxMenuBar_IsEnabled" wxMenuBar_IsEnabled :: Ptr (TMenuBar a) -> CInt -> IO CBool
+
+-- | usage: (@menuBarRemove obj pos@).
+menuBarRemove :: MenuBar  a -> Int ->  IO (Menu  ())
+menuBarRemove _obj pos 
+  = withObjectResult $
+    withObjectRef "menuBarRemove" _obj $ \cobj__obj -> 
+    wxMenuBar_Remove cobj__obj  (toCInt pos)  
+foreign import ccall "wxMenuBar_Remove" wxMenuBar_Remove :: Ptr (TMenuBar a) -> CInt -> IO (Ptr (TMenu ()))
+
+-- | usage: (@menuBarReplace obj pos menu title@).
+menuBarReplace :: MenuBar  a -> Int -> Menu  c -> String ->  IO (Menu  ())
+menuBarReplace _obj pos menu title 
+  = withObjectResult $
+    withObjectRef "menuBarReplace" _obj $ \cobj__obj -> 
+    withObjectPtr menu $ \cobj_menu -> 
+    withStringPtr title $ \cobj_title -> 
+    wxMenuBar_Replace cobj__obj  (toCInt pos)  cobj_menu  cobj_title  
+foreign import ccall "wxMenuBar_Replace" wxMenuBar_Replace :: Ptr (TMenuBar a) -> CInt -> Ptr (TMenu c) -> Ptr (TWxString d) -> IO (Ptr (TMenu ()))
+
+-- | usage: (@menuBarSetHelpString obj id helpString@).
+menuBarSetHelpString :: MenuBar  a -> Id -> String ->  IO ()
+menuBarSetHelpString _obj id helpString 
+  = withObjectRef "menuBarSetHelpString" _obj $ \cobj__obj -> 
+    withStringPtr helpString $ \cobj_helpString -> 
+    wxMenuBar_SetHelpString cobj__obj  (toCInt id)  cobj_helpString  
+foreign import ccall "wxMenuBar_SetHelpString" wxMenuBar_SetHelpString :: Ptr (TMenuBar a) -> CInt -> Ptr (TWxString c) -> IO ()
+
+-- | usage: (@menuBarSetItemLabel obj id label@).
+menuBarSetItemLabel :: MenuBar  a -> Id -> String ->  IO ()
+menuBarSetItemLabel _obj id label 
+  = withObjectRef "menuBarSetItemLabel" _obj $ \cobj__obj -> 
+    withStringPtr label $ \cobj_label -> 
+    wxMenuBar_SetItemLabel cobj__obj  (toCInt id)  cobj_label  
+foreign import ccall "wxMenuBar_SetItemLabel" wxMenuBar_SetItemLabel :: Ptr (TMenuBar a) -> CInt -> Ptr (TWxString c) -> IO ()
+
+-- | usage: (@menuBarSetLabel obj s@).
+menuBarSetLabel :: MenuBar  a -> String ->  IO ()
+menuBarSetLabel _obj s 
+  = withObjectRef "menuBarSetLabel" _obj $ \cobj__obj -> 
+    withStringPtr s $ \cobj_s -> 
+    wxMenuBar_SetLabel cobj__obj  cobj_s  
+foreign import ccall "wxMenuBar_SetLabel" wxMenuBar_SetLabel :: Ptr (TMenuBar a) -> Ptr (TWxString b) -> IO ()
+
+-- | usage: (@menuBarSetMenuLabel obj pos label@).
+menuBarSetMenuLabel :: MenuBar  a -> Int -> String ->  IO ()
+menuBarSetMenuLabel _obj pos label 
+  = withObjectRef "menuBarSetMenuLabel" _obj $ \cobj__obj -> 
+    withStringPtr label $ \cobj_label -> 
+    wxMenuBar_SetMenuLabel cobj__obj  (toCInt pos)  cobj_label  
+foreign import ccall "wxMenuBar_SetMenuLabel" wxMenuBar_SetMenuLabel :: Ptr (TMenuBar a) -> CInt -> Ptr (TWxString c) -> IO ()
+
+-- | usage: (@menuBreak obj@).
+menuBreak :: Menu  a ->  IO ()
+menuBreak _obj 
+  = withObjectRef "menuBreak" _obj $ \cobj__obj -> 
+    wxMenu_Break cobj__obj  
+foreign import ccall "wxMenu_Break" wxMenu_Break :: Ptr (TMenu a) -> IO ()
+
+-- | usage: (@menuCheck obj id check@).
+menuCheck :: Menu  a -> Id -> Bool ->  IO ()
+menuCheck _obj id check 
+  = withObjectRef "menuCheck" _obj $ \cobj__obj -> 
+    wxMenu_Check cobj__obj  (toCInt id)  (toCBool check)  
+foreign import ccall "wxMenu_Check" wxMenu_Check :: Ptr (TMenu a) -> CInt -> CBool -> IO ()
+
+-- | usage: (@menuCreate title style@).
+menuCreate :: String -> Int ->  IO (Menu  ())
+menuCreate title style 
+  = withObjectResult $
+    withStringPtr title $ \cobj_title -> 
+    wxMenu_Create cobj_title  (toCInt style)  
+foreign import ccall "wxMenu_Create" wxMenu_Create :: Ptr (TWxString a) -> CInt -> IO (Ptr (TMenu ()))
+
+-- | usage: (@menuDeleteById obj id@).
+menuDeleteById :: Menu  a -> Id ->  IO ()
+menuDeleteById _obj id 
+  = withObjectRef "menuDeleteById" _obj $ \cobj__obj -> 
+    wxMenu_DeleteById cobj__obj  (toCInt id)  
+foreign import ccall "wxMenu_DeleteById" wxMenu_DeleteById :: Ptr (TMenu a) -> CInt -> IO ()
+
+-- | usage: (@menuDeleteByItem obj itm@).
+menuDeleteByItem :: Menu  a -> MenuItem  b ->  IO ()
+menuDeleteByItem _obj _itm 
+  = withObjectRef "menuDeleteByItem" _obj $ \cobj__obj -> 
+    withObjectPtr _itm $ \cobj__itm -> 
+    wxMenu_DeleteByItem cobj__obj  cobj__itm  
+foreign import ccall "wxMenu_DeleteByItem" wxMenu_DeleteByItem :: Ptr (TMenu a) -> Ptr (TMenuItem b) -> IO ()
+
+-- | usage: (@menuDeletePointer obj@).
+menuDeletePointer :: Menu  a ->  IO ()
+menuDeletePointer _obj 
+  = withObjectRef "menuDeletePointer" _obj $ \cobj__obj -> 
+    wxMenu_DeletePointer cobj__obj  
+foreign import ccall "wxMenu_DeletePointer" wxMenu_DeletePointer :: Ptr (TMenu a) -> IO ()
+
+-- | usage: (@menuDestroyById obj id@).
+menuDestroyById :: Menu  a -> Id ->  IO ()
+menuDestroyById _obj id 
+  = withObjectRef "menuDestroyById" _obj $ \cobj__obj -> 
+    wxMenu_DestroyById cobj__obj  (toCInt id)  
+foreign import ccall "wxMenu_DestroyById" wxMenu_DestroyById :: Ptr (TMenu a) -> CInt -> IO ()
+
+-- | usage: (@menuDestroyByItem obj itm@).
+menuDestroyByItem :: Menu  a -> MenuItem  b ->  IO ()
+menuDestroyByItem _obj _itm 
+  = withObjectRef "menuDestroyByItem" _obj $ \cobj__obj -> 
+    withObjectPtr _itm $ \cobj__itm -> 
+    wxMenu_DestroyByItem cobj__obj  cobj__itm  
+foreign import ccall "wxMenu_DestroyByItem" wxMenu_DestroyByItem :: Ptr (TMenu a) -> Ptr (TMenuItem b) -> IO ()
+
+-- | usage: (@menuEnable obj id enable@).
+menuEnable :: Menu  a -> Id -> Bool ->  IO ()
+menuEnable _obj id enable 
+  = withObjectRef "menuEnable" _obj $ \cobj__obj -> 
+    wxMenu_Enable cobj__obj  (toCInt id)  (toCBool enable)  
+foreign import ccall "wxMenu_Enable" wxMenu_Enable :: Ptr (TMenu a) -> CInt -> CBool -> IO ()
+
+-- | usage: (@menuEventCopyObject obj obj@).
+menuEventCopyObject :: MenuEvent  a -> Ptr  b ->  IO ()
+menuEventCopyObject _obj obj 
+  = withObjectRef "menuEventCopyObject" _obj $ \cobj__obj -> 
+    wxMenuEvent_CopyObject cobj__obj  obj  
+foreign import ccall "wxMenuEvent_CopyObject" wxMenuEvent_CopyObject :: Ptr (TMenuEvent a) -> Ptr  b -> IO ()
+
+-- | usage: (@menuEventGetMenuId obj@).
+menuEventGetMenuId :: MenuEvent  a ->  IO Int
+menuEventGetMenuId _obj 
+  = withIntResult $
+    withObjectRef "menuEventGetMenuId" _obj $ \cobj__obj -> 
+    wxMenuEvent_GetMenuId cobj__obj  
+foreign import ccall "wxMenuEvent_GetMenuId" wxMenuEvent_GetMenuId :: Ptr (TMenuEvent a) -> IO CInt
+
+-- | usage: (@menuFindItem obj id@).
+menuFindItem :: Menu  a -> Id ->  IO (MenuItem  ())
+menuFindItem _obj id 
+  = withObjectResult $
+    withObjectRef "menuFindItem" _obj $ \cobj__obj -> 
+    wxMenu_FindItem cobj__obj  (toCInt id)  
+foreign import ccall "wxMenu_FindItem" wxMenu_FindItem :: Ptr (TMenu a) -> CInt -> IO (Ptr (TMenuItem ()))
+
+-- | usage: (@menuFindItemByLabel obj itemString@).
+menuFindItemByLabel :: Menu  a -> String ->  IO Int
+menuFindItemByLabel _obj itemString 
+  = withIntResult $
+    withObjectRef "menuFindItemByLabel" _obj $ \cobj__obj -> 
+    withStringPtr itemString $ \cobj_itemString -> 
+    wxMenu_FindItemByLabel cobj__obj  cobj_itemString  
+foreign import ccall "wxMenu_FindItemByLabel" wxMenu_FindItemByLabel :: Ptr (TMenu a) -> Ptr (TWxString b) -> IO CInt
+
+-- | usage: (@menuGetClientData obj@).
+menuGetClientData :: Menu  a ->  IO (ClientData  ())
+menuGetClientData _obj 
+  = withObjectResult $
+    withObjectRef "menuGetClientData" _obj $ \cobj__obj -> 
+    wxMenu_GetClientData cobj__obj  
+foreign import ccall "wxMenu_GetClientData" wxMenu_GetClientData :: Ptr (TMenu a) -> IO (Ptr (TClientData ()))
+
+-- | usage: (@menuGetHelpString obj id@).
+menuGetHelpString :: Menu  a -> Id ->  IO (String)
+menuGetHelpString _obj id 
+  = withManagedStringResult $
+    withObjectRef "menuGetHelpString" _obj $ \cobj__obj -> 
+    wxMenu_GetHelpString cobj__obj  (toCInt id)  
+foreign import ccall "wxMenu_GetHelpString" wxMenu_GetHelpString :: Ptr (TMenu a) -> CInt -> IO (Ptr (TWxString ()))
+
+-- | usage: (@menuGetInvokingWindow obj@).
+menuGetInvokingWindow :: Menu  a ->  IO (Window  ())
+menuGetInvokingWindow _obj 
+  = withObjectResult $
+    withObjectRef "menuGetInvokingWindow" _obj $ \cobj__obj -> 
+    wxMenu_GetInvokingWindow cobj__obj  
+foreign import ccall "wxMenu_GetInvokingWindow" wxMenu_GetInvokingWindow :: Ptr (TMenu a) -> IO (Ptr (TWindow ()))
+
+-- | usage: (@menuGetLabelText obj id@).
+menuGetLabelText :: Menu  a -> Id ->  IO (String)
+menuGetLabelText _obj id 
+  = withManagedStringResult $
+    withObjectRef "menuGetLabelText" _obj $ \cobj__obj -> 
+    wxMenu_GetLabelText cobj__obj  (toCInt id)  
+foreign import ccall "wxMenu_GetLabelText" wxMenu_GetLabelText :: Ptr (TMenu a) -> CInt -> IO (Ptr (TWxString ()))
+
+-- | usage: (@menuGetMenuBar obj@).
+menuGetMenuBar :: Menu  a ->  IO (MenuBar  ())
+menuGetMenuBar _obj 
+  = withObjectResult $
+    withObjectRef "menuGetMenuBar" _obj $ \cobj__obj -> 
+    wxMenu_GetMenuBar cobj__obj  
+foreign import ccall "wxMenu_GetMenuBar" wxMenu_GetMenuBar :: Ptr (TMenu a) -> IO (Ptr (TMenuBar ()))
+
+-- | usage: (@menuGetMenuItemCount obj@).
+menuGetMenuItemCount :: Menu  a ->  IO Int
+menuGetMenuItemCount _obj 
+  = withIntResult $
+    withObjectRef "menuGetMenuItemCount" _obj $ \cobj__obj -> 
+    wxMenu_GetMenuItemCount cobj__obj  
+foreign import ccall "wxMenu_GetMenuItemCount" wxMenu_GetMenuItemCount :: Ptr (TMenu a) -> IO CInt
+
+-- | usage: (@menuGetMenuItems obj lst@).
+menuGetMenuItems :: Menu  a -> List  b ->  IO Int
+menuGetMenuItems _obj _lst 
+  = withIntResult $
+    withObjectRef "menuGetMenuItems" _obj $ \cobj__obj -> 
+    withObjectPtr _lst $ \cobj__lst -> 
+    wxMenu_GetMenuItems cobj__obj  cobj__lst  
+foreign import ccall "wxMenu_GetMenuItems" wxMenu_GetMenuItems :: Ptr (TMenu a) -> Ptr (TList b) -> IO CInt
+
+-- | usage: (@menuGetParent obj@).
+menuGetParent :: Menu  a ->  IO (Menu  ())
+menuGetParent _obj 
+  = withObjectResult $
+    withObjectRef "menuGetParent" _obj $ \cobj__obj -> 
+    wxMenu_GetParent cobj__obj  
+foreign import ccall "wxMenu_GetParent" wxMenu_GetParent :: Ptr (TMenu a) -> IO (Ptr (TMenu ()))
+
+-- | usage: (@menuGetStyle obj@).
+menuGetStyle :: Menu  a ->  IO Int
+menuGetStyle _obj 
+  = withIntResult $
+    withObjectRef "menuGetStyle" _obj $ \cobj__obj -> 
+    wxMenu_GetStyle cobj__obj  
+foreign import ccall "wxMenu_GetStyle" wxMenu_GetStyle :: Ptr (TMenu a) -> IO CInt
+
+-- | usage: (@menuGetTitle obj@).
+menuGetTitle :: Menu  a ->  IO (String)
+menuGetTitle _obj 
+  = withManagedStringResult $
+    withObjectRef "menuGetTitle" _obj $ \cobj__obj -> 
+    wxMenu_GetTitle cobj__obj  
+foreign import ccall "wxMenu_GetTitle" wxMenu_GetTitle :: Ptr (TMenu a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@menuInsert obj pos id text help isCheckable@).
+menuInsert :: Menu  a -> Int -> Id -> String -> String -> Bool ->  IO ()
+menuInsert _obj pos id text help isCheckable 
+  = withObjectRef "menuInsert" _obj $ \cobj__obj -> 
+    withStringPtr text $ \cobj_text -> 
+    withStringPtr help $ \cobj_help -> 
+    wxMenu_Insert cobj__obj  (toCInt pos)  (toCInt id)  cobj_text  cobj_help  (toCBool isCheckable)  
+foreign import ccall "wxMenu_Insert" wxMenu_Insert :: Ptr (TMenu a) -> CInt -> CInt -> Ptr (TWxString d) -> Ptr (TWxString e) -> CBool -> IO ()
+
+-- | usage: (@menuInsertItem obj pos itm@).
+menuInsertItem :: Menu  a -> Int -> MenuItem  c ->  IO ()
+menuInsertItem _obj pos _itm 
+  = withObjectRef "menuInsertItem" _obj $ \cobj__obj -> 
+    withObjectPtr _itm $ \cobj__itm -> 
+    wxMenu_InsertItem cobj__obj  (toCInt pos)  cobj__itm  
+foreign import ccall "wxMenu_InsertItem" wxMenu_InsertItem :: Ptr (TMenu a) -> CInt -> Ptr (TMenuItem c) -> IO ()
+
+-- | usage: (@menuInsertSub obj pos id text submenu help@).
+menuInsertSub :: Menu  a -> Int -> Id -> String -> Menu  e -> String ->  IO ()
+menuInsertSub _obj pos id text submenu help 
+  = withObjectRef "menuInsertSub" _obj $ \cobj__obj -> 
+    withStringPtr text $ \cobj_text -> 
+    withObjectPtr submenu $ \cobj_submenu -> 
+    withStringPtr help $ \cobj_help -> 
+    wxMenu_InsertSub cobj__obj  (toCInt pos)  (toCInt id)  cobj_text  cobj_submenu  cobj_help  
+foreign import ccall "wxMenu_InsertSub" wxMenu_InsertSub :: Ptr (TMenu a) -> CInt -> CInt -> Ptr (TWxString d) -> Ptr (TMenu e) -> Ptr (TWxString f) -> IO ()
+
+-- | usage: (@menuIsAttached obj@).
+menuIsAttached :: Menu  a ->  IO Bool
+menuIsAttached _obj 
+  = withBoolResult $
+    withObjectRef "menuIsAttached" _obj $ \cobj__obj -> 
+    wxMenu_IsAttached cobj__obj  
+foreign import ccall "wxMenu_IsAttached" wxMenu_IsAttached :: Ptr (TMenu a) -> IO CBool
+
+-- | usage: (@menuIsChecked obj id@).
+menuIsChecked :: Menu  a -> Id ->  IO Bool
+menuIsChecked _obj id 
+  = withBoolResult $
+    withObjectRef "menuIsChecked" _obj $ \cobj__obj -> 
+    wxMenu_IsChecked cobj__obj  (toCInt id)  
+foreign import ccall "wxMenu_IsChecked" wxMenu_IsChecked :: Ptr (TMenu a) -> CInt -> IO CBool
+
+-- | usage: (@menuIsEnabled obj id@).
+menuIsEnabled :: Menu  a -> Id ->  IO Bool
+menuIsEnabled _obj id 
+  = withBoolResult $
+    withObjectRef "menuIsEnabled" _obj $ \cobj__obj -> 
+    wxMenu_IsEnabled cobj__obj  (toCInt id)  
+foreign import ccall "wxMenu_IsEnabled" wxMenu_IsEnabled :: Ptr (TMenu a) -> CInt -> IO CBool
+
+-- | usage: (@menuItemCheck obj check@).
+menuItemCheck :: MenuItem  a -> Bool ->  IO ()
+menuItemCheck _obj check 
+  = withObjectRef "menuItemCheck" _obj $ \cobj__obj -> 
+    wxMenuItem_Check cobj__obj  (toCBool check)  
+foreign import ccall "wxMenuItem_Check" wxMenuItem_Check :: Ptr (TMenuItem a) -> CBool -> IO ()
+
+-- | usage: (@menuItemCreate@).
+menuItemCreate ::  IO (MenuItem  ())
+menuItemCreate 
+  = withObjectResult $
+    wxMenuItem_Create 
+foreign import ccall "wxMenuItem_Create" wxMenuItem_Create :: IO (Ptr (TMenuItem ()))
+
+-- | usage: (@menuItemCreateEx id label help itemkind submenu@).
+menuItemCreateEx :: Id -> String -> String -> Int -> Menu  e ->  IO (MenuItem  ())
+menuItemCreateEx id label help itemkind submenu 
+  = withObjectResult $
+    withStringPtr label $ \cobj_label -> 
+    withStringPtr help $ \cobj_help -> 
+    withObjectPtr submenu $ \cobj_submenu -> 
+    wxMenuItem_CreateEx (toCInt id)  cobj_label  cobj_help  (toCInt itemkind)  cobj_submenu  
+foreign import ccall "wxMenuItem_CreateEx" wxMenuItem_CreateEx :: CInt -> Ptr (TWxString b) -> Ptr (TWxString c) -> CInt -> Ptr (TMenu e) -> IO (Ptr (TMenuItem ()))
+
+-- | usage: (@menuItemCreateSeparator@).
+menuItemCreateSeparator ::  IO (MenuItem  ())
+menuItemCreateSeparator 
+  = withObjectResult $
+    wxMenuItem_CreateSeparator 
+foreign import ccall "wxMenuItem_CreateSeparator" wxMenuItem_CreateSeparator :: IO (Ptr (TMenuItem ()))
+
+-- | usage: (@menuItemDelete obj@).
+menuItemDelete :: MenuItem  a ->  IO ()
+menuItemDelete
+  = objectDelete
+
+
+-- | usage: (@menuItemEnable obj enable@).
+menuItemEnable :: MenuItem  a -> Bool ->  IO ()
+menuItemEnable _obj enable 
+  = withObjectRef "menuItemEnable" _obj $ \cobj__obj -> 
+    wxMenuItem_Enable cobj__obj  (toCBool enable)  
+foreign import ccall "wxMenuItem_Enable" wxMenuItem_Enable :: Ptr (TMenuItem a) -> CBool -> IO ()
+
+-- | usage: (@menuItemGetHelp obj@).
+menuItemGetHelp :: MenuItem  a ->  IO (String)
+menuItemGetHelp _obj 
+  = withManagedStringResult $
+    withObjectRef "menuItemGetHelp" _obj $ \cobj__obj -> 
+    wxMenuItem_GetHelp cobj__obj  
+foreign import ccall "wxMenuItem_GetHelp" wxMenuItem_GetHelp :: Ptr (TMenuItem a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@menuItemGetId obj@).
+menuItemGetId :: MenuItem  a ->  IO Int
+menuItemGetId _obj 
+  = withIntResult $
+    withObjectRef "menuItemGetId" _obj $ \cobj__obj -> 
+    wxMenuItem_GetId cobj__obj  
+foreign import ccall "wxMenuItem_GetId" wxMenuItem_GetId :: Ptr (TMenuItem a) -> IO CInt
+
+-- | usage: (@menuItemGetItemLabel obj@).
+menuItemGetItemLabel :: MenuItem  a ->  IO (String)
+menuItemGetItemLabel _obj 
+  = withManagedStringResult $
+    withObjectRef "menuItemGetItemLabel" _obj $ \cobj__obj -> 
+    wxMenuItem_GetItemLabel cobj__obj  
+foreign import ccall "wxMenuItem_GetItemLabel" wxMenuItem_GetItemLabel :: Ptr (TMenuItem a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@menuItemGetItemLabelText obj@).
+menuItemGetItemLabelText :: MenuItem  a ->  IO (String)
+menuItemGetItemLabelText _obj 
+  = withManagedStringResult $
+    withObjectRef "menuItemGetItemLabelText" _obj $ \cobj__obj -> 
+    wxMenuItem_GetItemLabelText cobj__obj  
+foreign import ccall "wxMenuItem_GetItemLabelText" wxMenuItem_GetItemLabelText :: Ptr (TMenuItem a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@menuItemGetLabelText text@).
+menuItemGetLabelText :: String ->  IO (String)
+menuItemGetLabelText text 
+  = withManagedStringResult $
+    withCWString text $ \cstr_text -> 
+    wxMenuItem_GetLabelText cstr_text  
+foreign import ccall "wxMenuItem_GetLabelText" wxMenuItem_GetLabelText :: CWString -> IO (Ptr (TWxString ()))
+
+-- | usage: (@menuItemGetMenu obj@).
+menuItemGetMenu :: MenuItem  a ->  IO (Menu  ())
+menuItemGetMenu _obj 
+  = withObjectResult $
+    withObjectRef "menuItemGetMenu" _obj $ \cobj__obj -> 
+    wxMenuItem_GetMenu cobj__obj  
+foreign import ccall "wxMenuItem_GetMenu" wxMenuItem_GetMenu :: Ptr (TMenuItem a) -> IO (Ptr (TMenu ()))
+
+-- | usage: (@menuItemGetSubMenu obj@).
+menuItemGetSubMenu :: MenuItem  a ->  IO (Menu  ())
+menuItemGetSubMenu _obj 
+  = withObjectResult $
+    withObjectRef "menuItemGetSubMenu" _obj $ \cobj__obj -> 
+    wxMenuItem_GetSubMenu cobj__obj  
+foreign import ccall "wxMenuItem_GetSubMenu" wxMenuItem_GetSubMenu :: Ptr (TMenuItem a) -> IO (Ptr (TMenu ()))
+
+-- | usage: (@menuItemIsCheckable obj@).
+menuItemIsCheckable :: MenuItem  a ->  IO Bool
+menuItemIsCheckable _obj 
+  = withBoolResult $
+    withObjectRef "menuItemIsCheckable" _obj $ \cobj__obj -> 
+    wxMenuItem_IsCheckable cobj__obj  
+foreign import ccall "wxMenuItem_IsCheckable" wxMenuItem_IsCheckable :: Ptr (TMenuItem a) -> IO CBool
+
+-- | usage: (@menuItemIsChecked obj@).
+menuItemIsChecked :: MenuItem  a ->  IO Bool
+menuItemIsChecked _obj 
+  = withBoolResult $
+    withObjectRef "menuItemIsChecked" _obj $ \cobj__obj -> 
+    wxMenuItem_IsChecked cobj__obj  
+foreign import ccall "wxMenuItem_IsChecked" wxMenuItem_IsChecked :: Ptr (TMenuItem a) -> IO CBool
+
+-- | usage: (@menuItemIsEnabled obj@).
+menuItemIsEnabled :: MenuItem  a ->  IO Bool
+menuItemIsEnabled _obj 
+  = withBoolResult $
+    withObjectRef "menuItemIsEnabled" _obj $ \cobj__obj -> 
+    wxMenuItem_IsEnabled cobj__obj  
+foreign import ccall "wxMenuItem_IsEnabled" wxMenuItem_IsEnabled :: Ptr (TMenuItem a) -> IO CBool
+
+-- | usage: (@menuItemIsSeparator obj@).
+menuItemIsSeparator :: MenuItem  a ->  IO Bool
+menuItemIsSeparator _obj 
+  = withBoolResult $
+    withObjectRef "menuItemIsSeparator" _obj $ \cobj__obj -> 
+    wxMenuItem_IsSeparator cobj__obj  
+foreign import ccall "wxMenuItem_IsSeparator" wxMenuItem_IsSeparator :: Ptr (TMenuItem a) -> IO CBool
+
+-- | usage: (@menuItemIsSubMenu obj@).
+menuItemIsSubMenu :: MenuItem  a ->  IO Bool
+menuItemIsSubMenu _obj 
+  = withBoolResult $
+    withObjectRef "menuItemIsSubMenu" _obj $ \cobj__obj -> 
+    wxMenuItem_IsSubMenu cobj__obj  
+foreign import ccall "wxMenuItem_IsSubMenu" wxMenuItem_IsSubMenu :: Ptr (TMenuItem a) -> IO CBool
+
+-- | usage: (@menuItemSetCheckable obj checkable@).
+menuItemSetCheckable :: MenuItem  a -> Bool ->  IO ()
+menuItemSetCheckable _obj checkable 
+  = withObjectRef "menuItemSetCheckable" _obj $ \cobj__obj -> 
+    wxMenuItem_SetCheckable cobj__obj  (toCBool checkable)  
+foreign import ccall "wxMenuItem_SetCheckable" wxMenuItem_SetCheckable :: Ptr (TMenuItem a) -> CBool -> IO ()
+
+-- | usage: (@menuItemSetHelp obj str@).
+menuItemSetHelp :: MenuItem  a -> String ->  IO ()
+menuItemSetHelp _obj str 
+  = withObjectRef "menuItemSetHelp" _obj $ \cobj__obj -> 
+    withStringPtr str $ \cobj_str -> 
+    wxMenuItem_SetHelp cobj__obj  cobj_str  
+foreign import ccall "wxMenuItem_SetHelp" wxMenuItem_SetHelp :: Ptr (TMenuItem a) -> Ptr (TWxString b) -> IO ()
+
+-- | usage: (@menuItemSetId obj id@).
+menuItemSetId :: MenuItem  a -> Id ->  IO ()
+menuItemSetId _obj id 
+  = withObjectRef "menuItemSetId" _obj $ \cobj__obj -> 
+    wxMenuItem_SetId cobj__obj  (toCInt id)  
+foreign import ccall "wxMenuItem_SetId" wxMenuItem_SetId :: Ptr (TMenuItem a) -> CInt -> IO ()
+
+-- | usage: (@menuItemSetItemLabel obj str@).
+menuItemSetItemLabel :: MenuItem  a -> String ->  IO ()
+menuItemSetItemLabel _obj str 
+  = withObjectRef "menuItemSetItemLabel" _obj $ \cobj__obj -> 
+    withStringPtr str $ \cobj_str -> 
+    wxMenuItem_SetItemLabel cobj__obj  cobj_str  
+foreign import ccall "wxMenuItem_SetItemLabel" wxMenuItem_SetItemLabel :: Ptr (TMenuItem a) -> Ptr (TWxString b) -> IO ()
+
+-- | usage: (@menuItemSetSubMenu obj menu@).
+menuItemSetSubMenu :: MenuItem  a -> Menu  b ->  IO ()
+menuItemSetSubMenu _obj menu 
+  = withObjectRef "menuItemSetSubMenu" _obj $ \cobj__obj -> 
+    withObjectPtr menu $ \cobj_menu -> 
+    wxMenuItem_SetSubMenu cobj__obj  cobj_menu  
+foreign import ccall "wxMenuItem_SetSubMenu" wxMenuItem_SetSubMenu :: Ptr (TMenuItem a) -> Ptr (TMenu b) -> IO ()
+
+-- | usage: (@menuPrepend obj id text help isCheckable@).
+menuPrepend :: Menu  a -> Id -> String -> String -> Bool ->  IO ()
+menuPrepend _obj id text help isCheckable 
+  = withObjectRef "menuPrepend" _obj $ \cobj__obj -> 
+    withStringPtr text $ \cobj_text -> 
+    withStringPtr help $ \cobj_help -> 
+    wxMenu_Prepend cobj__obj  (toCInt id)  cobj_text  cobj_help  (toCBool isCheckable)  
+foreign import ccall "wxMenu_Prepend" wxMenu_Prepend :: Ptr (TMenu a) -> CInt -> Ptr (TWxString c) -> Ptr (TWxString d) -> CBool -> IO ()
+
+-- | usage: (@menuPrependItem obj itm@).
+menuPrependItem :: Menu  a -> MenuItem  b ->  IO ()
+menuPrependItem _obj _itm 
+  = withObjectRef "menuPrependItem" _obj $ \cobj__obj -> 
+    withObjectPtr _itm $ \cobj__itm -> 
+    wxMenu_PrependItem cobj__obj  cobj__itm  
+foreign import ccall "wxMenu_PrependItem" wxMenu_PrependItem :: Ptr (TMenu a) -> Ptr (TMenuItem b) -> IO ()
+
+-- | usage: (@menuPrependSub obj id text submenu help@).
+menuPrependSub :: Menu  a -> Id -> String -> Menu  d -> String ->  IO ()
+menuPrependSub _obj id text submenu help 
+  = withObjectRef "menuPrependSub" _obj $ \cobj__obj -> 
+    withStringPtr text $ \cobj_text -> 
+    withObjectPtr submenu $ \cobj_submenu -> 
+    withStringPtr help $ \cobj_help -> 
+    wxMenu_PrependSub cobj__obj  (toCInt id)  cobj_text  cobj_submenu  cobj_help  
+foreign import ccall "wxMenu_PrependSub" wxMenu_PrependSub :: Ptr (TMenu a) -> CInt -> Ptr (TWxString c) -> Ptr (TMenu d) -> Ptr (TWxString e) -> IO ()
+
+-- | usage: (@menuRemoveById obj id itm@).
+menuRemoveById :: Menu  a -> Id -> MenuItem  c ->  IO ()
+menuRemoveById _obj id _itm 
+  = withObjectRef "menuRemoveById" _obj $ \cobj__obj -> 
+    withObjectPtr _itm $ \cobj__itm -> 
+    wxMenu_RemoveById cobj__obj  (toCInt id)  cobj__itm  
+foreign import ccall "wxMenu_RemoveById" wxMenu_RemoveById :: Ptr (TMenu a) -> CInt -> Ptr (TMenuItem c) -> IO ()
+
+-- | usage: (@menuRemoveByItem obj item@).
+menuRemoveByItem :: Menu  a -> Ptr  b ->  IO ()
+menuRemoveByItem _obj item 
+  = withObjectRef "menuRemoveByItem" _obj $ \cobj__obj -> 
+    wxMenu_RemoveByItem cobj__obj  item  
+foreign import ccall "wxMenu_RemoveByItem" wxMenu_RemoveByItem :: Ptr (TMenu a) -> Ptr  b -> IO ()
+
+-- | usage: (@menuSetClientData obj clientData@).
+menuSetClientData :: Menu  a -> ClientData  b ->  IO ()
+menuSetClientData _obj clientData 
+  = withObjectRef "menuSetClientData" _obj $ \cobj__obj -> 
+    withObjectPtr clientData $ \cobj_clientData -> 
+    wxMenu_SetClientData cobj__obj  cobj_clientData  
+foreign import ccall "wxMenu_SetClientData" wxMenu_SetClientData :: Ptr (TMenu a) -> Ptr (TClientData b) -> IO ()
+
+-- | usage: (@menuSetEventHandler obj handler@).
+menuSetEventHandler :: Menu  a -> EvtHandler  b ->  IO ()
+menuSetEventHandler _obj handler 
+  = withObjectRef "menuSetEventHandler" _obj $ \cobj__obj -> 
+    withObjectPtr handler $ \cobj_handler -> 
+    wxMenu_SetEventHandler cobj__obj  cobj_handler  
+foreign import ccall "wxMenu_SetEventHandler" wxMenu_SetEventHandler :: Ptr (TMenu a) -> Ptr (TEvtHandler b) -> IO ()
+
+-- | usage: (@menuSetHelpString obj id helpString@).
+menuSetHelpString :: Menu  a -> Id -> String ->  IO ()
+menuSetHelpString _obj id helpString 
+  = withObjectRef "menuSetHelpString" _obj $ \cobj__obj -> 
+    withStringPtr helpString $ \cobj_helpString -> 
+    wxMenu_SetHelpString cobj__obj  (toCInt id)  cobj_helpString  
+foreign import ccall "wxMenu_SetHelpString" wxMenu_SetHelpString :: Ptr (TMenu a) -> CInt -> Ptr (TWxString c) -> IO ()
+
+-- | usage: (@menuSetInvokingWindow obj win@).
+menuSetInvokingWindow :: Menu  a -> Window  b ->  IO ()
+menuSetInvokingWindow _obj win 
+  = withObjectRef "menuSetInvokingWindow" _obj $ \cobj__obj -> 
+    withObjectPtr win $ \cobj_win -> 
+    wxMenu_SetInvokingWindow cobj__obj  cobj_win  
+foreign import ccall "wxMenu_SetInvokingWindow" wxMenu_SetInvokingWindow :: Ptr (TMenu a) -> Ptr (TWindow b) -> IO ()
+
+-- | usage: (@menuSetLabel obj id label@).
+menuSetLabel :: Menu  a -> Id -> String ->  IO ()
+menuSetLabel _obj id label 
+  = withObjectRef "menuSetLabel" _obj $ \cobj__obj -> 
+    withStringPtr label $ \cobj_label -> 
+    wxMenu_SetLabel cobj__obj  (toCInt id)  cobj_label  
+foreign import ccall "wxMenu_SetLabel" wxMenu_SetLabel :: Ptr (TMenu a) -> CInt -> Ptr (TWxString c) -> IO ()
+
+-- | usage: (@menuSetParent obj parent@).
+menuSetParent :: Menu  a -> Window  b ->  IO ()
+menuSetParent _obj parent 
+  = withObjectRef "menuSetParent" _obj $ \cobj__obj -> 
+    withObjectPtr parent $ \cobj_parent -> 
+    wxMenu_SetParent cobj__obj  cobj_parent  
+foreign import ccall "wxMenu_SetParent" wxMenu_SetParent :: Ptr (TMenu a) -> Ptr (TWindow b) -> IO ()
+
+-- | usage: (@menuSetTitle obj title@).
+menuSetTitle :: Menu  a -> String ->  IO ()
+menuSetTitle _obj title 
+  = withObjectRef "menuSetTitle" _obj $ \cobj__obj -> 
+    withStringPtr title $ \cobj_title -> 
+    wxMenu_SetTitle cobj__obj  cobj_title  
+foreign import ccall "wxMenu_SetTitle" wxMenu_SetTitle :: Ptr (TMenu a) -> Ptr (TWxString b) -> IO ()
+
+-- | usage: (@menuUpdateUI obj source@).
+menuUpdateUI :: Menu  a -> Ptr  b ->  IO ()
+menuUpdateUI _obj source 
+  = withObjectRef "menuUpdateUI" _obj $ \cobj__obj -> 
+    wxMenu_UpdateUI cobj__obj  source  
+foreign import ccall "wxMenu_UpdateUI" wxMenu_UpdateUI :: Ptr (TMenu a) -> Ptr  b -> IO ()
+
+-- | usage: (@messageDialogCreate prt msg cap stl@).
+messageDialogCreate :: Window  a -> String -> String -> Style ->  IO (MessageDialog  ())
+messageDialogCreate _prt _msg _cap _stl 
+  = withObjectResult $
+    withObjectPtr _prt $ \cobj__prt -> 
+    withStringPtr _msg $ \cobj__msg -> 
+    withStringPtr _cap $ \cobj__cap -> 
+    wxMessageDialog_Create cobj__prt  cobj__msg  cobj__cap  (toCInt _stl)  
+foreign import ccall "wxMessageDialog_Create" wxMessageDialog_Create :: Ptr (TWindow a) -> Ptr (TWxString b) -> Ptr (TWxString c) -> CInt -> IO (Ptr (TMessageDialog ()))
+
+-- | usage: (@messageDialogDelete obj@).
+messageDialogDelete :: MessageDialog  a ->  IO ()
+messageDialogDelete
+  = objectDelete
+
+
+-- | usage: (@messageDialogShowModal obj@).
+messageDialogShowModal :: MessageDialog  a ->  IO Int
+messageDialogShowModal _obj 
+  = withIntResult $
+    withObjectRef "messageDialogShowModal" _obj $ \cobj__obj -> 
+    wxMessageDialog_ShowModal cobj__obj  
+foreign import ccall "wxMessageDialog_ShowModal" wxMessageDialog_ShowModal :: Ptr (TMessageDialog a) -> IO CInt
+
+-- | usage: (@metafileCreate file@).
+metafileCreate :: String ->  IO (Metafile  ())
+metafileCreate _file 
+  = withObjectResult $
+    withStringPtr _file $ \cobj__file -> 
+    wxMetafile_Create cobj__file  
+foreign import ccall "wxMetafile_Create" wxMetafile_Create :: Ptr (TWxString a) -> IO (Ptr (TMetafile ()))
+
+-- | usage: (@metafileDCClose obj@).
+metafileDCClose :: MetafileDC  a ->  IO (Ptr  ())
+metafileDCClose _obj 
+  = withObjectRef "metafileDCClose" _obj $ \cobj__obj -> 
+    wxMetafileDC_Close cobj__obj  
+foreign import ccall "wxMetafileDC_Close" wxMetafileDC_Close :: Ptr (TMetafileDC a) -> IO (Ptr  ())
+
+-- | usage: (@metafileDCCreate file@).
+metafileDCCreate :: String ->  IO (MetafileDC  ())
+metafileDCCreate _file 
+  = withObjectResult $
+    withStringPtr _file $ \cobj__file -> 
+    wxMetafileDC_Create cobj__file  
+foreign import ccall "wxMetafileDC_Create" wxMetafileDC_Create :: Ptr (TWxString a) -> IO (Ptr (TMetafileDC ()))
+
+-- | usage: (@metafileDCDelete obj@).
+metafileDCDelete :: MetafileDC  a ->  IO ()
+metafileDCDelete
+  = objectDelete
+
+
+-- | usage: (@metafileDelete obj@).
+metafileDelete :: Metafile  a ->  IO ()
+metafileDelete
+  = objectDelete
+
+
+-- | usage: (@metafileIsOk obj@).
+metafileIsOk :: Metafile  a ->  IO Bool
+metafileIsOk _obj 
+  = withBoolResult $
+    withObjectRef "metafileIsOk" _obj $ \cobj__obj -> 
+    wxMetafile_IsOk cobj__obj  
+foreign import ccall "wxMetafile_IsOk" wxMetafile_IsOk :: Ptr (TMetafile a) -> IO CBool
+
+-- | usage: (@metafilePlay obj dc@).
+metafilePlay :: Metafile  a -> DC  b ->  IO Bool
+metafilePlay _obj _dc 
+  = withBoolResult $
+    withObjectRef "metafilePlay" _obj $ \cobj__obj -> 
+    withObjectPtr _dc $ \cobj__dc -> 
+    wxMetafile_Play cobj__obj  cobj__dc  
+foreign import ccall "wxMetafile_Play" wxMetafile_Play :: Ptr (TMetafile a) -> Ptr (TDC b) -> IO CBool
+
+-- | usage: (@metafileSetClipboard obj widthheight@).
+metafileSetClipboard :: Metafile  a -> Size ->  IO Bool
+metafileSetClipboard _obj widthheight 
+  = withBoolResult $
+    withObjectRef "metafileSetClipboard" _obj $ \cobj__obj -> 
+    wxMetafile_SetClipboard cobj__obj  (toCIntSizeW widthheight) (toCIntSizeH widthheight)  
+foreign import ccall "wxMetafile_SetClipboard" wxMetafile_SetClipboard :: Ptr (TMetafile a) -> CInt -> CInt -> IO CBool
+
+-- | usage: (@mimeTypesManagerAddFallbacks obj types@).
+mimeTypesManagerAddFallbacks :: MimeTypesManager  a -> Ptr  b ->  IO ()
+mimeTypesManagerAddFallbacks _obj _types 
+  = withObjectRef "mimeTypesManagerAddFallbacks" _obj $ \cobj__obj -> 
+    wxMimeTypesManager_AddFallbacks cobj__obj  _types  
+foreign import ccall "wxMimeTypesManager_AddFallbacks" wxMimeTypesManager_AddFallbacks :: Ptr (TMimeTypesManager a) -> Ptr  b -> IO ()
+
+-- | usage: (@mimeTypesManagerCreate@).
+mimeTypesManagerCreate ::  IO (MimeTypesManager  ())
+mimeTypesManagerCreate 
+  = withObjectResult $
+    wxMimeTypesManager_Create 
+foreign import ccall "wxMimeTypesManager_Create" wxMimeTypesManager_Create :: IO (Ptr (TMimeTypesManager ()))
+
+-- | usage: (@mimeTypesManagerEnumAllFileTypes obj lst@).
+mimeTypesManagerEnumAllFileTypes :: MimeTypesManager  a -> List  b ->  IO Int
+mimeTypesManagerEnumAllFileTypes _obj _lst 
+  = withIntResult $
+    withObjectRef "mimeTypesManagerEnumAllFileTypes" _obj $ \cobj__obj -> 
+    withObjectPtr _lst $ \cobj__lst -> 
+    wxMimeTypesManager_EnumAllFileTypes cobj__obj  cobj__lst  
+foreign import ccall "wxMimeTypesManager_EnumAllFileTypes" wxMimeTypesManager_EnumAllFileTypes :: Ptr (TMimeTypesManager a) -> Ptr (TList b) -> IO CInt
+
+-- | usage: (@mimeTypesManagerGetFileTypeFromExtension obj ext@).
+mimeTypesManagerGetFileTypeFromExtension :: MimeTypesManager  a -> String ->  IO (FileType  ())
+mimeTypesManagerGetFileTypeFromExtension _obj _ext 
+  = withObjectResult $
+    withObjectRef "mimeTypesManagerGetFileTypeFromExtension" _obj $ \cobj__obj -> 
+    withStringPtr _ext $ \cobj__ext -> 
+    wxMimeTypesManager_GetFileTypeFromExtension cobj__obj  cobj__ext  
+foreign import ccall "wxMimeTypesManager_GetFileTypeFromExtension" wxMimeTypesManager_GetFileTypeFromExtension :: Ptr (TMimeTypesManager a) -> Ptr (TWxString b) -> IO (Ptr (TFileType ()))
+
+-- | usage: (@mimeTypesManagerGetFileTypeFromMimeType obj name@).
+mimeTypesManagerGetFileTypeFromMimeType :: MimeTypesManager  a -> String ->  IO (FileType  ())
+mimeTypesManagerGetFileTypeFromMimeType _obj _name 
+  = withObjectResult $
+    withObjectRef "mimeTypesManagerGetFileTypeFromMimeType" _obj $ \cobj__obj -> 
+    withStringPtr _name $ \cobj__name -> 
+    wxMimeTypesManager_GetFileTypeFromMimeType cobj__obj  cobj__name  
+foreign import ccall "wxMimeTypesManager_GetFileTypeFromMimeType" wxMimeTypesManager_GetFileTypeFromMimeType :: Ptr (TMimeTypesManager a) -> Ptr (TWxString b) -> IO (Ptr (TFileType ()))
+
+-- | usage: (@mimeTypesManagerIsOfType obj wxtype wildcard@).
+mimeTypesManagerIsOfType :: MimeTypesManager  a -> String -> String ->  IO Bool
+mimeTypesManagerIsOfType _obj _type _wildcard 
+  = withBoolResult $
+    withObjectRef "mimeTypesManagerIsOfType" _obj $ \cobj__obj -> 
+    withStringPtr _type $ \cobj__type -> 
+    withStringPtr _wildcard $ \cobj__wildcard -> 
+    wxMimeTypesManager_IsOfType cobj__obj  cobj__type  cobj__wildcard  
+foreign import ccall "wxMimeTypesManager_IsOfType" wxMimeTypesManager_IsOfType :: Ptr (TMimeTypesManager a) -> Ptr (TWxString b) -> Ptr (TWxString c) -> IO CBool
+
+-- | usage: (@miniFrameCreate prt id txt lfttopwdthgt stl@).
+miniFrameCreate :: Window  a -> Id -> String -> Rect -> Style ->  IO (MiniFrame  ())
+miniFrameCreate _prt _id _txt _lfttopwdthgt _stl 
+  = withObjectResult $
+    withObjectPtr _prt $ \cobj__prt -> 
+    withStringPtr _txt $ \cobj__txt -> 
+    wxMiniFrame_Create cobj__prt  (toCInt _id)  cobj__txt  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  (toCInt _stl)  
+foreign import ccall "wxMiniFrame_Create" wxMiniFrame_Create :: Ptr (TWindow a) -> CInt -> Ptr (TWxString c) -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TMiniFrame ()))
+
+-- | usage: (@mirrorDCCreate dc@).
+mirrorDCCreate :: DC  a ->  IO (MirrorDC  ())
+mirrorDCCreate dc 
+  = withObjectResult $
+    withObjectPtr dc $ \cobj_dc -> 
+    wxMirrorDC_Create cobj_dc  
+foreign import ccall "wxMirrorDC_Create" wxMirrorDC_Create :: Ptr (TDC a) -> IO (Ptr (TMirrorDC ()))
+
+-- | usage: (@mirrorDCDelete obj@).
+mirrorDCDelete :: MemoryDC  a ->  IO ()
+mirrorDCDelete _obj 
+  = withObjectPtr _obj $ \cobj__obj -> 
+    wxMirrorDC_Delete cobj__obj  
+foreign import ccall "wxMirrorDC_Delete" wxMirrorDC_Delete :: Ptr (TMemoryDC a) -> IO ()
+
+-- | usage: (@mouseEventAltDown obj@).
+mouseEventAltDown :: MouseEvent  a ->  IO Bool
+mouseEventAltDown _obj 
+  = withBoolResult $
+    withObjectRef "mouseEventAltDown" _obj $ \cobj__obj -> 
+    wxMouseEvent_AltDown cobj__obj  
+foreign import ccall "wxMouseEvent_AltDown" wxMouseEvent_AltDown :: Ptr (TMouseEvent a) -> IO CBool
+
+-- | usage: (@mouseEventButton obj but@).
+mouseEventButton :: MouseEvent  a -> Int ->  IO Bool
+mouseEventButton _obj but 
+  = withBoolResult $
+    withObjectRef "mouseEventButton" _obj $ \cobj__obj -> 
+    wxMouseEvent_Button cobj__obj  (toCInt but)  
+foreign import ccall "wxMouseEvent_Button" wxMouseEvent_Button :: Ptr (TMouseEvent a) -> CInt -> IO CBool
+
+-- | usage: (@mouseEventButtonDClick obj but@).
+mouseEventButtonDClick :: MouseEvent  a -> Int ->  IO Bool
+mouseEventButtonDClick _obj but 
+  = withBoolResult $
+    withObjectRef "mouseEventButtonDClick" _obj $ \cobj__obj -> 
+    wxMouseEvent_ButtonDClick cobj__obj  (toCInt but)  
+foreign import ccall "wxMouseEvent_ButtonDClick" wxMouseEvent_ButtonDClick :: Ptr (TMouseEvent a) -> CInt -> IO CBool
+
+-- | usage: (@mouseEventButtonDown obj but@).
+mouseEventButtonDown :: MouseEvent  a -> Int ->  IO Bool
+mouseEventButtonDown _obj but 
+  = withBoolResult $
+    withObjectRef "mouseEventButtonDown" _obj $ \cobj__obj -> 
+    wxMouseEvent_ButtonDown cobj__obj  (toCInt but)  
+foreign import ccall "wxMouseEvent_ButtonDown" wxMouseEvent_ButtonDown :: Ptr (TMouseEvent a) -> CInt -> IO CBool
+
+-- | usage: (@mouseEventButtonIsDown obj but@).
+mouseEventButtonIsDown :: MouseEvent  a -> Int ->  IO Bool
+mouseEventButtonIsDown _obj but 
+  = withBoolResult $
+    withObjectRef "mouseEventButtonIsDown" _obj $ \cobj__obj -> 
+    wxMouseEvent_ButtonIsDown cobj__obj  (toCInt but)  
+foreign import ccall "wxMouseEvent_ButtonIsDown" wxMouseEvent_ButtonIsDown :: Ptr (TMouseEvent a) -> CInt -> IO CBool
+
+-- | usage: (@mouseEventButtonUp obj but@).
+mouseEventButtonUp :: MouseEvent  a -> Int ->  IO Bool
+mouseEventButtonUp _obj but 
+  = withBoolResult $
+    withObjectRef "mouseEventButtonUp" _obj $ \cobj__obj -> 
+    wxMouseEvent_ButtonUp cobj__obj  (toCInt but)  
+foreign import ccall "wxMouseEvent_ButtonUp" wxMouseEvent_ButtonUp :: Ptr (TMouseEvent a) -> CInt -> IO CBool
+
+-- | usage: (@mouseEventControlDown obj@).
+mouseEventControlDown :: MouseEvent  a ->  IO Bool
+mouseEventControlDown _obj 
+  = withBoolResult $
+    withObjectRef "mouseEventControlDown" _obj $ \cobj__obj -> 
+    wxMouseEvent_ControlDown cobj__obj  
+foreign import ccall "wxMouseEvent_ControlDown" wxMouseEvent_ControlDown :: Ptr (TMouseEvent a) -> IO CBool
+
+-- | usage: (@mouseEventCopyObject obj objectdest@).
+mouseEventCopyObject :: MouseEvent  a -> Ptr  b ->  IO ()
+mouseEventCopyObject _obj objectdest 
+  = withObjectRef "mouseEventCopyObject" _obj $ \cobj__obj -> 
+    wxMouseEvent_CopyObject cobj__obj  objectdest  
+foreign import ccall "wxMouseEvent_CopyObject" wxMouseEvent_CopyObject :: Ptr (TMouseEvent a) -> Ptr  b -> IO ()
+
+-- | usage: (@mouseEventDragging obj@).
+mouseEventDragging :: MouseEvent  a ->  IO Bool
+mouseEventDragging _obj 
+  = withBoolResult $
+    withObjectRef "mouseEventDragging" _obj $ \cobj__obj -> 
+    wxMouseEvent_Dragging cobj__obj  
+foreign import ccall "wxMouseEvent_Dragging" wxMouseEvent_Dragging :: Ptr (TMouseEvent a) -> IO CBool
+
+-- | usage: (@mouseEventEntering obj@).
+mouseEventEntering :: MouseEvent  a ->  IO Bool
+mouseEventEntering _obj 
+  = withBoolResult $
+    withObjectRef "mouseEventEntering" _obj $ \cobj__obj -> 
+    wxMouseEvent_Entering cobj__obj  
+foreign import ccall "wxMouseEvent_Entering" wxMouseEvent_Entering :: Ptr (TMouseEvent a) -> IO CBool
+
+-- | usage: (@mouseEventGetButton obj@).
+mouseEventGetButton :: MouseEvent  a ->  IO Int
+mouseEventGetButton _obj 
+  = withIntResult $
+    withObjectRef "mouseEventGetButton" _obj $ \cobj__obj -> 
+    wxMouseEvent_GetButton cobj__obj  
+foreign import ccall "wxMouseEvent_GetButton" wxMouseEvent_GetButton :: Ptr (TMouseEvent a) -> IO CInt
+
+-- | usage: (@mouseEventGetLogicalPosition obj dc@).
+mouseEventGetLogicalPosition :: MouseEvent  a -> DC  b ->  IO (Point)
+mouseEventGetLogicalPosition _obj dc 
+  = withWxPointResult $
+    withObjectRef "mouseEventGetLogicalPosition" _obj $ \cobj__obj -> 
+    withObjectPtr dc $ \cobj_dc -> 
+    wxMouseEvent_GetLogicalPosition cobj__obj  cobj_dc  
+foreign import ccall "wxMouseEvent_GetLogicalPosition" wxMouseEvent_GetLogicalPosition :: Ptr (TMouseEvent a) -> Ptr (TDC b) -> IO (Ptr (TWxPoint ()))
+
+-- | usage: (@mouseEventGetPosition obj@).
+mouseEventGetPosition :: MouseEvent  a ->  IO (Point)
+mouseEventGetPosition _obj 
+  = withWxPointResult $
+    withObjectRef "mouseEventGetPosition" _obj $ \cobj__obj -> 
+    wxMouseEvent_GetPosition cobj__obj  
+foreign import ccall "wxMouseEvent_GetPosition" wxMouseEvent_GetPosition :: Ptr (TMouseEvent a) -> IO (Ptr (TWxPoint ()))
+
+-- | usage: (@mouseEventGetWheelDelta obj@).
+mouseEventGetWheelDelta :: MouseEvent  a ->  IO Int
+mouseEventGetWheelDelta _obj 
+  = withIntResult $
+    withObjectRef "mouseEventGetWheelDelta" _obj $ \cobj__obj -> 
+    wxMouseEvent_GetWheelDelta cobj__obj  
+foreign import ccall "wxMouseEvent_GetWheelDelta" wxMouseEvent_GetWheelDelta :: Ptr (TMouseEvent a) -> IO CInt
+
+-- | usage: (@mouseEventGetWheelRotation obj@).
+mouseEventGetWheelRotation :: MouseEvent  a ->  IO Int
+mouseEventGetWheelRotation _obj 
+  = withIntResult $
+    withObjectRef "mouseEventGetWheelRotation" _obj $ \cobj__obj -> 
+    wxMouseEvent_GetWheelRotation cobj__obj  
+foreign import ccall "wxMouseEvent_GetWheelRotation" wxMouseEvent_GetWheelRotation :: Ptr (TMouseEvent a) -> IO CInt
+
+-- | usage: (@mouseEventGetX obj@).
+mouseEventGetX :: MouseEvent  a ->  IO Int
+mouseEventGetX _obj 
+  = withIntResult $
+    withObjectRef "mouseEventGetX" _obj $ \cobj__obj -> 
+    wxMouseEvent_GetX cobj__obj  
+foreign import ccall "wxMouseEvent_GetX" wxMouseEvent_GetX :: Ptr (TMouseEvent a) -> IO CInt
+
+-- | usage: (@mouseEventGetY obj@).
+mouseEventGetY :: MouseEvent  a ->  IO Int
+mouseEventGetY _obj 
+  = withIntResult $
+    withObjectRef "mouseEventGetY" _obj $ \cobj__obj -> 
+    wxMouseEvent_GetY cobj__obj  
+foreign import ccall "wxMouseEvent_GetY" wxMouseEvent_GetY :: Ptr (TMouseEvent a) -> IO CInt
+
+-- | usage: (@mouseEventIsButton obj@).
+mouseEventIsButton :: MouseEvent  a ->  IO Bool
+mouseEventIsButton _obj 
+  = withBoolResult $
+    withObjectRef "mouseEventIsButton" _obj $ \cobj__obj -> 
+    wxMouseEvent_IsButton cobj__obj  
+foreign import ccall "wxMouseEvent_IsButton" wxMouseEvent_IsButton :: Ptr (TMouseEvent a) -> IO CBool
+
+-- | usage: (@mouseEventLeaving obj@).
+mouseEventLeaving :: MouseEvent  a ->  IO Bool
+mouseEventLeaving _obj 
+  = withBoolResult $
+    withObjectRef "mouseEventLeaving" _obj $ \cobj__obj -> 
+    wxMouseEvent_Leaving cobj__obj  
+foreign import ccall "wxMouseEvent_Leaving" wxMouseEvent_Leaving :: Ptr (TMouseEvent a) -> IO CBool
+
+-- | usage: (@mouseEventLeftDClick obj@).
+mouseEventLeftDClick :: MouseEvent  a ->  IO Bool
+mouseEventLeftDClick _obj 
+  = withBoolResult $
+    withObjectRef "mouseEventLeftDClick" _obj $ \cobj__obj -> 
+    wxMouseEvent_LeftDClick cobj__obj  
+foreign import ccall "wxMouseEvent_LeftDClick" wxMouseEvent_LeftDClick :: Ptr (TMouseEvent a) -> IO CBool
+
+-- | usage: (@mouseEventLeftDown obj@).
+mouseEventLeftDown :: MouseEvent  a ->  IO Bool
+mouseEventLeftDown _obj 
+  = withBoolResult $
+    withObjectRef "mouseEventLeftDown" _obj $ \cobj__obj -> 
+    wxMouseEvent_LeftDown cobj__obj  
+foreign import ccall "wxMouseEvent_LeftDown" wxMouseEvent_LeftDown :: Ptr (TMouseEvent a) -> IO CBool
+
+-- | usage: (@mouseEventLeftIsDown obj@).
+mouseEventLeftIsDown :: MouseEvent  a ->  IO Bool
+mouseEventLeftIsDown _obj 
+  = withBoolResult $
+    withObjectRef "mouseEventLeftIsDown" _obj $ \cobj__obj -> 
+    wxMouseEvent_LeftIsDown cobj__obj  
+foreign import ccall "wxMouseEvent_LeftIsDown" wxMouseEvent_LeftIsDown :: Ptr (TMouseEvent a) -> IO CBool
+
+-- | usage: (@mouseEventLeftUp obj@).
+mouseEventLeftUp :: MouseEvent  a ->  IO Bool
+mouseEventLeftUp _obj 
+  = withBoolResult $
+    withObjectRef "mouseEventLeftUp" _obj $ \cobj__obj -> 
+    wxMouseEvent_LeftUp cobj__obj  
+foreign import ccall "wxMouseEvent_LeftUp" wxMouseEvent_LeftUp :: Ptr (TMouseEvent a) -> IO CBool
+
+-- | usage: (@mouseEventMetaDown obj@).
+mouseEventMetaDown :: MouseEvent  a ->  IO Bool
+mouseEventMetaDown _obj 
+  = withBoolResult $
+    withObjectRef "mouseEventMetaDown" _obj $ \cobj__obj -> 
+    wxMouseEvent_MetaDown cobj__obj  
+foreign import ccall "wxMouseEvent_MetaDown" wxMouseEvent_MetaDown :: Ptr (TMouseEvent a) -> IO CBool
+
+-- | usage: (@mouseEventMiddleDClick obj@).
+mouseEventMiddleDClick :: MouseEvent  a ->  IO Bool
+mouseEventMiddleDClick _obj 
+  = withBoolResult $
+    withObjectRef "mouseEventMiddleDClick" _obj $ \cobj__obj -> 
+    wxMouseEvent_MiddleDClick cobj__obj  
+foreign import ccall "wxMouseEvent_MiddleDClick" wxMouseEvent_MiddleDClick :: Ptr (TMouseEvent a) -> IO CBool
+
+-- | usage: (@mouseEventMiddleDown obj@).
+mouseEventMiddleDown :: MouseEvent  a ->  IO Bool
+mouseEventMiddleDown _obj 
+  = withBoolResult $
+    withObjectRef "mouseEventMiddleDown" _obj $ \cobj__obj -> 
+    wxMouseEvent_MiddleDown cobj__obj  
+foreign import ccall "wxMouseEvent_MiddleDown" wxMouseEvent_MiddleDown :: Ptr (TMouseEvent a) -> IO CBool
+
+-- | usage: (@mouseEventMiddleIsDown obj@).
+mouseEventMiddleIsDown :: MouseEvent  a ->  IO Bool
+mouseEventMiddleIsDown _obj 
+  = withBoolResult $
+    withObjectRef "mouseEventMiddleIsDown" _obj $ \cobj__obj -> 
+    wxMouseEvent_MiddleIsDown cobj__obj  
+foreign import ccall "wxMouseEvent_MiddleIsDown" wxMouseEvent_MiddleIsDown :: Ptr (TMouseEvent a) -> IO CBool
+
+-- | usage: (@mouseEventMiddleUp obj@).
+mouseEventMiddleUp :: MouseEvent  a ->  IO Bool
+mouseEventMiddleUp _obj 
+  = withBoolResult $
+    withObjectRef "mouseEventMiddleUp" _obj $ \cobj__obj -> 
+    wxMouseEvent_MiddleUp cobj__obj  
+foreign import ccall "wxMouseEvent_MiddleUp" wxMouseEvent_MiddleUp :: Ptr (TMouseEvent a) -> IO CBool
+
+-- | usage: (@mouseEventMoving obj@).
+mouseEventMoving :: MouseEvent  a ->  IO Bool
+mouseEventMoving _obj 
+  = withBoolResult $
+    withObjectRef "mouseEventMoving" _obj $ \cobj__obj -> 
+    wxMouseEvent_Moving cobj__obj  
+foreign import ccall "wxMouseEvent_Moving" wxMouseEvent_Moving :: Ptr (TMouseEvent a) -> IO CBool
+
+-- | usage: (@mouseEventRightDClick obj@).
+mouseEventRightDClick :: MouseEvent  a ->  IO Bool
+mouseEventRightDClick _obj 
+  = withBoolResult $
+    withObjectRef "mouseEventRightDClick" _obj $ \cobj__obj -> 
+    wxMouseEvent_RightDClick cobj__obj  
+foreign import ccall "wxMouseEvent_RightDClick" wxMouseEvent_RightDClick :: Ptr (TMouseEvent a) -> IO CBool
+
+-- | usage: (@mouseEventRightDown obj@).
+mouseEventRightDown :: MouseEvent  a ->  IO Bool
+mouseEventRightDown _obj 
+  = withBoolResult $
+    withObjectRef "mouseEventRightDown" _obj $ \cobj__obj -> 
+    wxMouseEvent_RightDown cobj__obj  
+foreign import ccall "wxMouseEvent_RightDown" wxMouseEvent_RightDown :: Ptr (TMouseEvent a) -> IO CBool
+
+-- | usage: (@mouseEventRightIsDown obj@).
+mouseEventRightIsDown :: MouseEvent  a ->  IO Bool
+mouseEventRightIsDown _obj 
+  = withBoolResult $
+    withObjectRef "mouseEventRightIsDown" _obj $ \cobj__obj -> 
+    wxMouseEvent_RightIsDown cobj__obj  
+foreign import ccall "wxMouseEvent_RightIsDown" wxMouseEvent_RightIsDown :: Ptr (TMouseEvent a) -> IO CBool
+
+-- | usage: (@mouseEventRightUp obj@).
+mouseEventRightUp :: MouseEvent  a ->  IO Bool
+mouseEventRightUp _obj 
+  = withBoolResult $
+    withObjectRef "mouseEventRightUp" _obj $ \cobj__obj -> 
+    wxMouseEvent_RightUp cobj__obj  
+foreign import ccall "wxMouseEvent_RightUp" wxMouseEvent_RightUp :: Ptr (TMouseEvent a) -> IO CBool
+
+-- | usage: (@mouseEventShiftDown obj@).
+mouseEventShiftDown :: MouseEvent  a ->  IO Bool
+mouseEventShiftDown _obj 
+  = withBoolResult $
+    withObjectRef "mouseEventShiftDown" _obj $ \cobj__obj -> 
+    wxMouseEvent_ShiftDown cobj__obj  
+foreign import ccall "wxMouseEvent_ShiftDown" wxMouseEvent_ShiftDown :: Ptr (TMouseEvent a) -> IO CBool
+
+-- | usage: (@moveEventCopyObject obj obj@).
+moveEventCopyObject :: MoveEvent  a -> Ptr  b ->  IO ()
+moveEventCopyObject _obj obj 
+  = withObjectRef "moveEventCopyObject" _obj $ \cobj__obj -> 
+    wxMoveEvent_CopyObject cobj__obj  obj  
+foreign import ccall "wxMoveEvent_CopyObject" wxMoveEvent_CopyObject :: Ptr (TMoveEvent a) -> Ptr  b -> IO ()
+
+-- | usage: (@moveEventGetPosition obj@).
+moveEventGetPosition :: MoveEvent  a ->  IO (Point)
+moveEventGetPosition _obj 
+  = withWxPointResult $
+    withObjectRef "moveEventGetPosition" _obj $ \cobj__obj -> 
+    wxMoveEvent_GetPosition cobj__obj  
+foreign import ccall "wxMoveEvent_GetPosition" wxMoveEvent_GetPosition :: Ptr (TMoveEvent a) -> IO (Ptr (TWxPoint ()))
+
+-- | usage: (@navigationKeyEventGetCurrentFocus obj@).
+navigationKeyEventGetCurrentFocus :: NavigationKeyEvent  a ->  IO (Ptr  ())
+navigationKeyEventGetCurrentFocus _obj 
+  = withObjectRef "navigationKeyEventGetCurrentFocus" _obj $ \cobj__obj -> 
+    wxNavigationKeyEvent_GetCurrentFocus cobj__obj  
+foreign import ccall "wxNavigationKeyEvent_GetCurrentFocus" wxNavigationKeyEvent_GetCurrentFocus :: Ptr (TNavigationKeyEvent a) -> IO (Ptr  ())
+
+-- | usage: (@navigationKeyEventGetDirection obj@).
+navigationKeyEventGetDirection :: NavigationKeyEvent  a ->  IO Bool
+navigationKeyEventGetDirection _obj 
+  = withBoolResult $
+    withObjectRef "navigationKeyEventGetDirection" _obj $ \cobj__obj -> 
+    wxNavigationKeyEvent_GetDirection cobj__obj  
+foreign import ccall "wxNavigationKeyEvent_GetDirection" wxNavigationKeyEvent_GetDirection :: Ptr (TNavigationKeyEvent a) -> IO CBool
+
+-- | usage: (@navigationKeyEventIsWindowChange obj@).
+navigationKeyEventIsWindowChange :: NavigationKeyEvent  a ->  IO Bool
+navigationKeyEventIsWindowChange _obj 
+  = withBoolResult $
+    withObjectRef "navigationKeyEventIsWindowChange" _obj $ \cobj__obj -> 
+    wxNavigationKeyEvent_IsWindowChange cobj__obj  
+foreign import ccall "wxNavigationKeyEvent_IsWindowChange" wxNavigationKeyEvent_IsWindowChange :: Ptr (TNavigationKeyEvent a) -> IO CBool
+
+-- | usage: (@navigationKeyEventSetCurrentFocus obj win@).
+navigationKeyEventSetCurrentFocus :: NavigationKeyEvent  a -> Window  b ->  IO ()
+navigationKeyEventSetCurrentFocus _obj win 
+  = withObjectRef "navigationKeyEventSetCurrentFocus" _obj $ \cobj__obj -> 
+    withObjectPtr win $ \cobj_win -> 
+    wxNavigationKeyEvent_SetCurrentFocus cobj__obj  cobj_win  
+foreign import ccall "wxNavigationKeyEvent_SetCurrentFocus" wxNavigationKeyEvent_SetCurrentFocus :: Ptr (TNavigationKeyEvent a) -> Ptr (TWindow b) -> IO ()
+
+-- | usage: (@navigationKeyEventSetDirection obj bForward@).
+navigationKeyEventSetDirection :: NavigationKeyEvent  a -> Bool ->  IO ()
+navigationKeyEventSetDirection _obj bForward 
+  = withObjectRef "navigationKeyEventSetDirection" _obj $ \cobj__obj -> 
+    wxNavigationKeyEvent_SetDirection cobj__obj  (toCBool bForward)  
+foreign import ccall "wxNavigationKeyEvent_SetDirection" wxNavigationKeyEvent_SetDirection :: Ptr (TNavigationKeyEvent a) -> CBool -> IO ()
+
+-- | usage: (@navigationKeyEventSetWindowChange obj bIs@).
+navigationKeyEventSetWindowChange :: NavigationKeyEvent  a -> Bool ->  IO ()
+navigationKeyEventSetWindowChange _obj bIs 
+  = withObjectRef "navigationKeyEventSetWindowChange" _obj $ \cobj__obj -> 
+    wxNavigationKeyEvent_SetWindowChange cobj__obj  (toCBool bIs)  
+foreign import ccall "wxNavigationKeyEvent_SetWindowChange" wxNavigationKeyEvent_SetWindowChange :: Ptr (TNavigationKeyEvent a) -> CBool -> IO ()
+
+-- | usage: (@navigationKeyEventShouldPropagate obj@).
+navigationKeyEventShouldPropagate :: NavigationKeyEvent  a ->  IO Int
+navigationKeyEventShouldPropagate _obj 
+  = withIntResult $
+    withObjectRef "navigationKeyEventShouldPropagate" _obj $ \cobj__obj -> 
+    wxNavigationKeyEvent_ShouldPropagate cobj__obj  
+foreign import ccall "wxNavigationKeyEvent_ShouldPropagate" wxNavigationKeyEvent_ShouldPropagate :: Ptr (TNavigationKeyEvent a) -> IO CInt
+
+-- | usage: (@notebookAddPage obj pPage strText bSelect imageId@).
+notebookAddPage :: Notebook  a -> Window  b -> String -> Bool -> Int ->  IO Bool
+notebookAddPage _obj pPage strText bSelect imageId 
+  = withBoolResult $
+    withObjectRef "notebookAddPage" _obj $ \cobj__obj -> 
+    withObjectPtr pPage $ \cobj_pPage -> 
+    withStringPtr strText $ \cobj_strText -> 
+    wxNotebook_AddPage cobj__obj  cobj_pPage  cobj_strText  (toCBool bSelect)  (toCInt imageId)  
+foreign import ccall "wxNotebook_AddPage" wxNotebook_AddPage :: Ptr (TNotebook a) -> Ptr (TWindow b) -> Ptr (TWxString c) -> CBool -> CInt -> IO CBool
+
+-- | usage: (@notebookAdvanceSelection obj bForward@).
+notebookAdvanceSelection :: Notebook  a -> Bool ->  IO ()
+notebookAdvanceSelection _obj bForward 
+  = withObjectRef "notebookAdvanceSelection" _obj $ \cobj__obj -> 
+    wxNotebook_AdvanceSelection cobj__obj  (toCBool bForward)  
+foreign import ccall "wxNotebook_AdvanceSelection" wxNotebook_AdvanceSelection :: Ptr (TNotebook a) -> CBool -> IO ()
+
+-- | usage: (@notebookAssignImageList obj imageList@).
+notebookAssignImageList :: Notebook  a -> ImageList  b ->  IO ()
+notebookAssignImageList _obj imageList 
+  = withObjectRef "notebookAssignImageList" _obj $ \cobj__obj -> 
+    withObjectPtr imageList $ \cobj_imageList -> 
+    wxNotebook_AssignImageList cobj__obj  cobj_imageList  
+foreign import ccall "wxNotebook_AssignImageList" wxNotebook_AssignImageList :: Ptr (TNotebook a) -> Ptr (TImageList b) -> IO ()
+
+-- | usage: (@notebookCreate prt id lfttopwdthgt stl@).
+notebookCreate :: Window  a -> Id -> Rect -> Style ->  IO (Notebook  ())
+notebookCreate _prt _id _lfttopwdthgt _stl 
+  = withObjectResult $
+    withObjectPtr _prt $ \cobj__prt -> 
+    wxNotebook_Create cobj__prt  (toCInt _id)  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  (toCInt _stl)  
+foreign import ccall "wxNotebook_Create" wxNotebook_Create :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TNotebook ()))
+
+-- | usage: (@notebookDeleteAllPages obj@).
+notebookDeleteAllPages :: Notebook  a ->  IO Bool
+notebookDeleteAllPages _obj 
+  = withBoolResult $
+    withObjectRef "notebookDeleteAllPages" _obj $ \cobj__obj -> 
+    wxNotebook_DeleteAllPages cobj__obj  
+foreign import ccall "wxNotebook_DeleteAllPages" wxNotebook_DeleteAllPages :: Ptr (TNotebook a) -> IO CBool
+
+-- | usage: (@notebookDeletePage obj nPage@).
+notebookDeletePage :: Notebook  a -> Int ->  IO Bool
+notebookDeletePage _obj nPage 
+  = withBoolResult $
+    withObjectRef "notebookDeletePage" _obj $ \cobj__obj -> 
+    wxNotebook_DeletePage cobj__obj  (toCInt nPage)  
+foreign import ccall "wxNotebook_DeletePage" wxNotebook_DeletePage :: Ptr (TNotebook a) -> CInt -> IO CBool
+
+-- | usage: (@notebookGetImageList obj@).
+notebookGetImageList :: Notebook  a ->  IO (ImageList  ())
+notebookGetImageList _obj 
+  = withObjectResult $
+    withObjectRef "notebookGetImageList" _obj $ \cobj__obj -> 
+    wxNotebook_GetImageList cobj__obj  
+foreign import ccall "wxNotebook_GetImageList" wxNotebook_GetImageList :: Ptr (TNotebook a) -> IO (Ptr (TImageList ()))
+
+-- | usage: (@notebookGetPage obj nPage@).
+notebookGetPage :: Notebook  a -> Int ->  IO (Window  ())
+notebookGetPage _obj nPage 
+  = withObjectResult $
+    withObjectRef "notebookGetPage" _obj $ \cobj__obj -> 
+    wxNotebook_GetPage cobj__obj  (toCInt nPage)  
+foreign import ccall "wxNotebook_GetPage" wxNotebook_GetPage :: Ptr (TNotebook a) -> CInt -> IO (Ptr (TWindow ()))
+
+-- | usage: (@notebookGetPageCount obj@).
+notebookGetPageCount :: Notebook  a ->  IO Int
+notebookGetPageCount _obj 
+  = withIntResult $
+    withObjectRef "notebookGetPageCount" _obj $ \cobj__obj -> 
+    wxNotebook_GetPageCount cobj__obj  
+foreign import ccall "wxNotebook_GetPageCount" wxNotebook_GetPageCount :: Ptr (TNotebook a) -> IO CInt
+
+-- | usage: (@notebookGetPageImage obj nPage@).
+notebookGetPageImage :: Notebook  a -> Int ->  IO Int
+notebookGetPageImage _obj nPage 
+  = withIntResult $
+    withObjectRef "notebookGetPageImage" _obj $ \cobj__obj -> 
+    wxNotebook_GetPageImage cobj__obj  (toCInt nPage)  
+foreign import ccall "wxNotebook_GetPageImage" wxNotebook_GetPageImage :: Ptr (TNotebook a) -> CInt -> IO CInt
+
+-- | usage: (@notebookGetPageText obj nPage@).
+notebookGetPageText :: Notebook  a -> Int ->  IO (String)
+notebookGetPageText _obj nPage 
+  = withManagedStringResult $
+    withObjectRef "notebookGetPageText" _obj $ \cobj__obj -> 
+    wxNotebook_GetPageText cobj__obj  (toCInt nPage)  
+foreign import ccall "wxNotebook_GetPageText" wxNotebook_GetPageText :: Ptr (TNotebook a) -> CInt -> IO (Ptr (TWxString ()))
+
+-- | usage: (@notebookGetRowCount obj@).
+notebookGetRowCount :: Notebook  a ->  IO Int
+notebookGetRowCount _obj 
+  = withIntResult $
+    withObjectRef "notebookGetRowCount" _obj $ \cobj__obj -> 
+    wxNotebook_GetRowCount cobj__obj  
+foreign import ccall "wxNotebook_GetRowCount" wxNotebook_GetRowCount :: Ptr (TNotebook a) -> IO CInt
+
+-- | usage: (@notebookGetSelection obj@).
+notebookGetSelection :: Notebook  a ->  IO Int
+notebookGetSelection _obj 
+  = withIntResult $
+    withObjectRef "notebookGetSelection" _obj $ \cobj__obj -> 
+    wxNotebook_GetSelection cobj__obj  
+foreign import ccall "wxNotebook_GetSelection" wxNotebook_GetSelection :: Ptr (TNotebook a) -> IO CInt
+
+-- | usage: (@notebookHitTest obj xy flags@).
+notebookHitTest :: Notebook  a -> Point -> Ptr CInt ->  IO Int
+notebookHitTest _obj xy flags 
+  = withIntResult $
+    withObjectRef "notebookHitTest" _obj $ \cobj__obj -> 
+    wxNotebook_HitTest cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  flags  
+foreign import ccall "wxNotebook_HitTest" wxNotebook_HitTest :: Ptr (TNotebook a) -> CInt -> CInt -> Ptr CInt -> IO CInt
+
+-- | usage: (@notebookInsertPage obj nPage pPage strText bSelect imageId@).
+notebookInsertPage :: Notebook  a -> Int -> Window  c -> String -> Bool -> Int ->  IO Bool
+notebookInsertPage _obj nPage pPage strText bSelect imageId 
+  = withBoolResult $
+    withObjectRef "notebookInsertPage" _obj $ \cobj__obj -> 
+    withObjectPtr pPage $ \cobj_pPage -> 
+    withStringPtr strText $ \cobj_strText -> 
+    wxNotebook_InsertPage cobj__obj  (toCInt nPage)  cobj_pPage  cobj_strText  (toCBool bSelect)  (toCInt imageId)  
+foreign import ccall "wxNotebook_InsertPage" wxNotebook_InsertPage :: Ptr (TNotebook a) -> CInt -> Ptr (TWindow c) -> Ptr (TWxString d) -> CBool -> CInt -> IO CBool
+
+-- | usage: (@notebookRemovePage obj nPage@).
+notebookRemovePage :: Notebook  a -> Int ->  IO Bool
+notebookRemovePage _obj nPage 
+  = withBoolResult $
+    withObjectRef "notebookRemovePage" _obj $ \cobj__obj -> 
+    wxNotebook_RemovePage cobj__obj  (toCInt nPage)  
+foreign import ccall "wxNotebook_RemovePage" wxNotebook_RemovePage :: Ptr (TNotebook a) -> CInt -> IO CBool
+
+-- | usage: (@notebookSetImageList obj imageList@).
+notebookSetImageList :: Notebook  a -> ImageList  b ->  IO ()
+notebookSetImageList _obj imageList 
+  = withObjectRef "notebookSetImageList" _obj $ \cobj__obj -> 
+    withObjectPtr imageList $ \cobj_imageList -> 
+    wxNotebook_SetImageList cobj__obj  cobj_imageList  
+foreign import ccall "wxNotebook_SetImageList" wxNotebook_SetImageList :: Ptr (TNotebook a) -> Ptr (TImageList b) -> IO ()
+
+-- | usage: (@notebookSetPadding obj wh@).
+notebookSetPadding :: Notebook  a -> Size ->  IO ()
+notebookSetPadding _obj _wh 
+  = withObjectRef "notebookSetPadding" _obj $ \cobj__obj -> 
+    wxNotebook_SetPadding cobj__obj  (toCIntSizeW _wh) (toCIntSizeH _wh)  
+foreign import ccall "wxNotebook_SetPadding" wxNotebook_SetPadding :: Ptr (TNotebook a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@notebookSetPageImage obj nPage nImage@).
+notebookSetPageImage :: Notebook  a -> Int -> Int ->  IO Bool
+notebookSetPageImage _obj nPage nImage 
+  = withBoolResult $
+    withObjectRef "notebookSetPageImage" _obj $ \cobj__obj -> 
+    wxNotebook_SetPageImage cobj__obj  (toCInt nPage)  (toCInt nImage)  
+foreign import ccall "wxNotebook_SetPageImage" wxNotebook_SetPageImage :: Ptr (TNotebook a) -> CInt -> CInt -> IO CBool
+
+-- | usage: (@notebookSetPageSize obj wh@).
+notebookSetPageSize :: Notebook  a -> Size ->  IO ()
+notebookSetPageSize _obj _wh 
+  = withObjectRef "notebookSetPageSize" _obj $ \cobj__obj -> 
+    wxNotebook_SetPageSize cobj__obj  (toCIntSizeW _wh) (toCIntSizeH _wh)  
+foreign import ccall "wxNotebook_SetPageSize" wxNotebook_SetPageSize :: Ptr (TNotebook a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@notebookSetPageText obj nPage strText@).
+notebookSetPageText :: Notebook  a -> Int -> String ->  IO Bool
+notebookSetPageText _obj nPage strText 
+  = withBoolResult $
+    withObjectRef "notebookSetPageText" _obj $ \cobj__obj -> 
+    withStringPtr strText $ \cobj_strText -> 
+    wxNotebook_SetPageText cobj__obj  (toCInt nPage)  cobj_strText  
+foreign import ccall "wxNotebook_SetPageText" wxNotebook_SetPageText :: Ptr (TNotebook a) -> CInt -> Ptr (TWxString c) -> IO CBool
+
+-- | usage: (@notebookSetSelection obj nPage@).
+notebookSetSelection :: Notebook  a -> Int ->  IO Int
+notebookSetSelection _obj nPage 
+  = withIntResult $
+    withObjectRef "notebookSetSelection" _obj $ \cobj__obj -> 
+    wxNotebook_SetSelection cobj__obj  (toCInt nPage)  
+foreign import ccall "wxNotebook_SetSelection" wxNotebook_SetSelection :: Ptr (TNotebook a) -> CInt -> IO CInt
+
+-- | usage: (@notifyEventAllow obj@).
+notifyEventAllow :: NotifyEvent  a ->  IO ()
+notifyEventAllow _obj 
+  = withObjectRef "notifyEventAllow" _obj $ \cobj__obj -> 
+    wxNotifyEvent_Allow cobj__obj  
+foreign import ccall "wxNotifyEvent_Allow" wxNotifyEvent_Allow :: Ptr (TNotifyEvent a) -> IO ()
+
+-- | usage: (@notifyEventCopyObject obj objectdest@).
+notifyEventCopyObject :: NotifyEvent  a -> Ptr  b ->  IO ()
+notifyEventCopyObject _obj objectdest 
+  = withObjectRef "notifyEventCopyObject" _obj $ \cobj__obj -> 
+    wxNotifyEvent_CopyObject cobj__obj  objectdest  
+foreign import ccall "wxNotifyEvent_CopyObject" wxNotifyEvent_CopyObject :: Ptr (TNotifyEvent a) -> Ptr  b -> IO ()
+
+-- | usage: (@notifyEventIsAllowed obj@).
+notifyEventIsAllowed :: NotifyEvent  a ->  IO Bool
+notifyEventIsAllowed _obj 
+  = withBoolResult $
+    withObjectRef "notifyEventIsAllowed" _obj $ \cobj__obj -> 
+    wxNotifyEvent_IsAllowed cobj__obj  
+foreign import ccall "wxNotifyEvent_IsAllowed" wxNotifyEvent_IsAllowed :: Ptr (TNotifyEvent a) -> IO CBool
+
+-- | usage: (@notifyEventVeto obj@).
+notifyEventVeto :: NotifyEvent  a ->  IO ()
+notifyEventVeto _obj 
+  = withObjectRef "notifyEventVeto" _obj $ \cobj__obj -> 
+    wxNotifyEvent_Veto cobj__obj  
+foreign import ccall "wxNotifyEvent_Veto" wxNotifyEvent_Veto :: Ptr (TNotifyEvent a) -> IO ()
+
+-- | usage: (@nullAcceleratorTable@).
+nullAcceleratorTable :: AcceleratorTable  ()
+nullAcceleratorTable 
+  = unsafePerformIO $
+    withObjectResult $
+    wx_Null_AcceleratorTable 
+foreign import ccall "Null_AcceleratorTable" wx_Null_AcceleratorTable :: IO (Ptr (TAcceleratorTable ()))
+
+-- | usage: (@nullBitmap@).
+nullBitmap :: Bitmap  ()
+nullBitmap 
+  = unsafePerformIO $
+    withManagedBitmapResult $
+    wx_Null_Bitmap 
+foreign import ccall "Null_Bitmap" wx_Null_Bitmap :: IO (Ptr (TBitmap ()))
+
+-- | usage: (@nullBrush@).
+nullBrush :: Brush  ()
+nullBrush 
+  = unsafePerformIO $
+    withManagedBrushResult $
+    wx_Null_Brush 
+foreign import ccall "Null_Brush" wx_Null_Brush :: IO (Ptr (TBrush ()))
+
+-- | usage: (@nullColour@).
+nullColour :: Color
+nullColour 
+  = unsafePerformIO $
+    withManagedColourResult $
+    wx_Null_Colour 
+foreign import ccall "Null_Colour" wx_Null_Colour :: IO (Ptr (TColour ()))
+
+-- | usage: (@nullCursor@).
+nullCursor :: Cursor  ()
+nullCursor 
+  = unsafePerformIO $
+    withManagedCursorResult $
+    wx_Null_Cursor 
+foreign import ccall "Null_Cursor" wx_Null_Cursor :: IO (Ptr (TCursor ()))
+
+-- | usage: (@nullFont@).
+nullFont :: Font  ()
+nullFont 
+  = unsafePerformIO $
+    withManagedFontResult $
+    wx_Null_Font 
+foreign import ccall "Null_Font" wx_Null_Font :: IO (Ptr (TFont ()))
+
+-- | usage: (@nullIcon@).
+nullIcon :: Icon  ()
+nullIcon 
+  = unsafePerformIO $
+    withManagedIconResult $
+    wx_Null_Icon 
+foreign import ccall "Null_Icon" wx_Null_Icon :: IO (Ptr (TIcon ()))
+
+-- | usage: (@nullPalette@).
+nullPalette :: Palette  ()
+nullPalette 
+  = unsafePerformIO $
+    withObjectResult $
+    wx_Null_Palette 
+foreign import ccall "Null_Palette" wx_Null_Palette :: IO (Ptr (TPalette ()))
+
+-- | usage: (@nullPen@).
+nullPen :: Pen  ()
+nullPen 
+  = unsafePerformIO $
+    withManagedPenResult $
+    wx_Null_Pen 
+foreign import ccall "Null_Pen" wx_Null_Pen :: IO (Ptr (TPen ()))
+
+-- | usage: (@objectGetClassInfo obj@).
+objectGetClassInfo :: WxObject  a ->  IO (ClassInfo  ())
+objectGetClassInfo _obj 
+  = withObjectResult $
+    withObjectRef "objectGetClassInfo" _obj $ \cobj__obj -> 
+    wxObject_GetClassInfo cobj__obj  
+foreign import ccall "wxObject_GetClassInfo" wxObject_GetClassInfo :: Ptr (TWxObject a) -> IO (Ptr (TClassInfo ()))
+
+{- |  Get the reference data of an object as a closure: only works if properly initialized. Use 'closureGetData' to get to the actual data.  -}
+objectGetClientClosure :: WxObject  a ->  IO (Closure  ())
+objectGetClientClosure _obj 
+  = withObjectResult $
+    withObjectRef "objectGetClientClosure" _obj $ \cobj__obj -> 
+    wxObject_GetClientClosure cobj__obj  
+foreign import ccall "wxObject_GetClientClosure" wxObject_GetClientClosure :: Ptr (TWxObject a) -> IO (Ptr (TClosure ()))
+
+-- | usage: (@objectIsKindOf obj classInfo@).
+objectIsKindOf :: WxObject  a -> ClassInfo  b ->  IO Bool
+objectIsKindOf _obj classInfo 
+  = withBoolResult $
+    withObjectRef "objectIsKindOf" _obj $ \cobj__obj -> 
+    withObjectPtr classInfo $ \cobj_classInfo -> 
+    wxObject_IsKindOf cobj__obj  cobj_classInfo  
+foreign import ccall "wxObject_IsKindOf" wxObject_IsKindOf :: Ptr (TWxObject a) -> Ptr (TClassInfo b) -> IO CBool
+
+-- | usage: (@objectIsScrolledWindow obj@).
+objectIsScrolledWindow :: WxObject  a ->  IO Bool
+objectIsScrolledWindow _obj 
+  = withBoolResult $
+    withObjectRef "objectIsScrolledWindow" _obj $ \cobj__obj -> 
+    wxObject_IsScrolledWindow cobj__obj  
+foreign import ccall "wxObject_IsScrolledWindow" wxObject_IsScrolledWindow :: Ptr (TWxObject a) -> IO CBool
+
+-- | usage: (@objectSafeDelete self@).
+objectSafeDelete :: WxObject  a ->  IO ()
+objectSafeDelete self 
+  = withObjectPtr self $ \cobj_self -> 
+    wxObject_SafeDelete cobj_self  
+foreign import ccall "wxObject_SafeDelete" wxObject_SafeDelete :: Ptr (TWxObject a) -> IO ()
+
+{- |  Set the reference data of an object as a closure. The closure data contains the data while the function is called on deletion. Returns 'True' on success. Only works if the reference data is unused by wxWidgets!  -}
+objectSetClientClosure :: WxObject  a -> Closure  b ->  IO ()
+objectSetClientClosure _obj closure 
+  = withObjectRef "objectSetClientClosure" _obj $ \cobj__obj -> 
+    withObjectPtr closure $ \cobj_closure -> 
+    wxObject_SetClientClosure cobj__obj  cobj_closure  
+foreign import ccall "wxObject_SetClientClosure" wxObject_SetClientClosure :: Ptr (TWxObject a) -> Ptr (TClosure b) -> IO ()
+
+-- | usage: (@outputStreamDelete obj@).
+outputStreamDelete :: OutputStream  a ->  IO ()
+outputStreamDelete _obj 
+  = withObjectRef "outputStreamDelete" _obj $ \cobj__obj -> 
+    wxOutputStream_Delete cobj__obj  
+foreign import ccall "wxOutputStream_Delete" wxOutputStream_Delete :: Ptr (TOutputStream a) -> IO ()
+
+-- | usage: (@outputStreamLastWrite obj@).
+outputStreamLastWrite :: OutputStream  a ->  IO Int
+outputStreamLastWrite _obj 
+  = withIntResult $
+    withObjectRef "outputStreamLastWrite" _obj $ \cobj__obj -> 
+    wxOutputStream_LastWrite cobj__obj  
+foreign import ccall "wxOutputStream_LastWrite" wxOutputStream_LastWrite :: Ptr (TOutputStream a) -> IO CInt
+
+-- | usage: (@outputStreamPutC obj c@).
+outputStreamPutC :: OutputStream  a -> Char ->  IO ()
+outputStreamPutC _obj c 
+  = withObjectRef "outputStreamPutC" _obj $ \cobj__obj -> 
+    wxOutputStream_PutC cobj__obj  (toCWchar c)  
+foreign import ccall "wxOutputStream_PutC" wxOutputStream_PutC :: Ptr (TOutputStream a) -> CWchar -> IO ()
+
+-- | usage: (@outputStreamSeek obj pos mode@).
+outputStreamSeek :: OutputStream  a -> Int -> Int ->  IO Int
+outputStreamSeek _obj pos mode 
+  = withIntResult $
+    withObjectRef "outputStreamSeek" _obj $ \cobj__obj -> 
+    wxOutputStream_Seek cobj__obj  (toCInt pos)  (toCInt mode)  
+foreign import ccall "wxOutputStream_Seek" wxOutputStream_Seek :: Ptr (TOutputStream a) -> CInt -> CInt -> IO CInt
+
+-- | usage: (@outputStreamSync obj@).
+outputStreamSync :: OutputStream  a ->  IO ()
+outputStreamSync _obj 
+  = withObjectRef "outputStreamSync" _obj $ \cobj__obj -> 
+    wxOutputStream_Sync cobj__obj  
+foreign import ccall "wxOutputStream_Sync" wxOutputStream_Sync :: Ptr (TOutputStream a) -> IO ()
+
+-- | usage: (@outputStreamTell obj@).
+outputStreamTell :: OutputStream  a ->  IO Int
+outputStreamTell _obj 
+  = withIntResult $
+    withObjectRef "outputStreamTell" _obj $ \cobj__obj -> 
+    wxOutputStream_Tell cobj__obj  
+foreign import ccall "wxOutputStream_Tell" wxOutputStream_Tell :: Ptr (TOutputStream a) -> IO CInt
+
+-- | usage: (@outputStreamWrite obj buffer size@).
+outputStreamWrite :: OutputStream  a -> Ptr  b -> Int ->  IO ()
+outputStreamWrite _obj buffer size 
+  = withObjectRef "outputStreamWrite" _obj $ \cobj__obj -> 
+    wxOutputStream_Write cobj__obj  buffer  (toCInt size)  
+foreign import ccall "wxOutputStream_Write" wxOutputStream_Write :: Ptr (TOutputStream a) -> Ptr  b -> CInt -> IO ()
+
+-- | usage: (@pGPropertyGetLabel obj@).
+pGPropertyGetLabel :: PGProperty  a ->  IO (String)
+pGPropertyGetLabel _obj 
+  = withManagedStringResult $
+    withObjectRef "pGPropertyGetLabel" _obj $ \cobj__obj -> 
+    wxPGProperty_GetLabel cobj__obj  
+foreign import ccall "wxPGProperty_GetLabel" wxPGProperty_GetLabel :: Ptr (TPGProperty a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@pGPropertyGetName obj@).
+pGPropertyGetName :: PGProperty  a ->  IO (String)
+pGPropertyGetName _obj 
+  = withManagedStringResult $
+    withObjectRef "pGPropertyGetName" _obj $ \cobj__obj -> 
+    wxPGProperty_GetName cobj__obj  
+foreign import ccall "wxPGProperty_GetName" wxPGProperty_GetName :: Ptr (TPGProperty a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@pGPropertyGetValueAsString obj@).
+pGPropertyGetValueAsString :: PGProperty  a ->  IO (String)
+pGPropertyGetValueAsString _obj 
+  = withManagedStringResult $
+    withObjectRef "pGPropertyGetValueAsString" _obj $ \cobj__obj -> 
+    wxPGProperty_GetValueAsString cobj__obj  
+foreign import ccall "wxPGProperty_GetValueAsString" wxPGProperty_GetValueAsString :: Ptr (TPGProperty a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@pGPropertyGetValueType obj@).
+pGPropertyGetValueType :: PGProperty  a ->  IO (String)
+pGPropertyGetValueType _obj 
+  = withManagedStringResult $
+    withObjectRef "pGPropertyGetValueType" _obj $ \cobj__obj -> 
+    wxPGProperty_GetValueType cobj__obj  
+foreign import ccall "wxPGProperty_GetValueType" wxPGProperty_GetValueType :: Ptr (TPGProperty a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@pGPropertySetHelpString obj helpString@).
+pGPropertySetHelpString :: PGProperty  a -> String ->  IO ()
+pGPropertySetHelpString _obj helpString 
+  = withObjectRef "pGPropertySetHelpString" _obj $ \cobj__obj -> 
+    withStringPtr helpString $ \cobj_helpString -> 
+    wxPGProperty_SetHelpString cobj__obj  cobj_helpString  
+foreign import ccall "wxPGProperty_SetHelpString" wxPGProperty_SetHelpString :: Ptr (TPGProperty a) -> Ptr (TWxString b) -> IO ()
+
+-- | usage: (@pageSetupDialogCreate parent wxdata@).
+pageSetupDialogCreate :: Window  a -> PageSetupDialogData  b ->  IO (PageSetupDialog  ())
+pageSetupDialogCreate parent wxdata 
+  = withObjectResult $
+    withObjectPtr parent $ \cobj_parent -> 
+    withObjectPtr wxdata $ \cobj_wxdata -> 
+    wxPageSetupDialog_Create cobj_parent  cobj_wxdata  
+foreign import ccall "wxPageSetupDialog_Create" wxPageSetupDialog_Create :: Ptr (TWindow a) -> Ptr (TPageSetupDialogData b) -> IO (Ptr (TPageSetupDialog ()))
+
+-- | usage: (@pageSetupDialogDataAssign obj@).
+pageSetupDialogDataAssign :: PageSetupDialogData  a ->  IO (PageSetupDialogData  ())
+pageSetupDialogDataAssign _obj 
+  = withRefPageSetupDialogData $ \pref -> 
+    withObjectRef "pageSetupDialogDataAssign" _obj $ \cobj__obj -> 
+    wxPageSetupDialogData_Assign cobj__obj   pref
+foreign import ccall "wxPageSetupDialogData_Assign" wxPageSetupDialogData_Assign :: Ptr (TPageSetupDialogData a) -> Ptr (TPageSetupDialogData ()) -> IO ()
+
+-- | usage: (@pageSetupDialogDataAssignData obj printData@).
+pageSetupDialogDataAssignData :: PageSetupDialogData  a -> PrintData  b ->  IO ()
+pageSetupDialogDataAssignData _obj printData 
+  = withObjectRef "pageSetupDialogDataAssignData" _obj $ \cobj__obj -> 
+    withObjectPtr printData $ \cobj_printData -> 
+    wxPageSetupDialogData_AssignData cobj__obj  cobj_printData  
+foreign import ccall "wxPageSetupDialogData_AssignData" wxPageSetupDialogData_AssignData :: Ptr (TPageSetupDialogData a) -> Ptr (TPrintData b) -> IO ()
+
+-- | usage: (@pageSetupDialogDataCalculateIdFromPaperSize obj@).
+pageSetupDialogDataCalculateIdFromPaperSize :: PageSetupDialogData  a ->  IO ()
+pageSetupDialogDataCalculateIdFromPaperSize _obj 
+  = withObjectRef "pageSetupDialogDataCalculateIdFromPaperSize" _obj $ \cobj__obj -> 
+    wxPageSetupDialogData_CalculateIdFromPaperSize cobj__obj  
+foreign import ccall "wxPageSetupDialogData_CalculateIdFromPaperSize" wxPageSetupDialogData_CalculateIdFromPaperSize :: Ptr (TPageSetupDialogData a) -> IO ()
+
+-- | usage: (@pageSetupDialogDataCalculatePaperSizeFromId obj@).
+pageSetupDialogDataCalculatePaperSizeFromId :: PageSetupDialogData  a ->  IO ()
+pageSetupDialogDataCalculatePaperSizeFromId _obj 
+  = withObjectRef "pageSetupDialogDataCalculatePaperSizeFromId" _obj $ \cobj__obj -> 
+    wxPageSetupDialogData_CalculatePaperSizeFromId cobj__obj  
+foreign import ccall "wxPageSetupDialogData_CalculatePaperSizeFromId" wxPageSetupDialogData_CalculatePaperSizeFromId :: Ptr (TPageSetupDialogData a) -> IO ()
+
+-- | usage: (@pageSetupDialogDataCreate@).
+pageSetupDialogDataCreate ::  IO (PageSetupDialogData  ())
+pageSetupDialogDataCreate 
+  = withManagedObjectResult $
+    wxPageSetupDialogData_Create 
+foreign import ccall "wxPageSetupDialogData_Create" wxPageSetupDialogData_Create :: IO (Ptr (TPageSetupDialogData ()))
+
+-- | usage: (@pageSetupDialogDataCreateFromData printData@).
+pageSetupDialogDataCreateFromData :: PrintData  a ->  IO (PageSetupDialogData  ())
+pageSetupDialogDataCreateFromData printData 
+  = withManagedObjectResult $
+    withObjectPtr printData $ \cobj_printData -> 
+    wxPageSetupDialogData_CreateFromData cobj_printData  
+foreign import ccall "wxPageSetupDialogData_CreateFromData" wxPageSetupDialogData_CreateFromData :: Ptr (TPrintData a) -> IO (Ptr (TPageSetupDialogData ()))
+
+-- | usage: (@pageSetupDialogDataDelete obj@).
+pageSetupDialogDataDelete :: PageSetupDialogData  a ->  IO ()
+pageSetupDialogDataDelete
+  = objectDelete
+
+
+-- | usage: (@pageSetupDialogDataEnableHelp obj flag@).
+pageSetupDialogDataEnableHelp :: PageSetupDialogData  a -> Bool ->  IO ()
+pageSetupDialogDataEnableHelp _obj flag 
+  = withObjectRef "pageSetupDialogDataEnableHelp" _obj $ \cobj__obj -> 
+    wxPageSetupDialogData_EnableHelp cobj__obj  (toCBool flag)  
+foreign import ccall "wxPageSetupDialogData_EnableHelp" wxPageSetupDialogData_EnableHelp :: Ptr (TPageSetupDialogData a) -> CBool -> IO ()
+
+-- | usage: (@pageSetupDialogDataEnableMargins obj flag@).
+pageSetupDialogDataEnableMargins :: PageSetupDialogData  a -> Bool ->  IO ()
+pageSetupDialogDataEnableMargins _obj flag 
+  = withObjectRef "pageSetupDialogDataEnableMargins" _obj $ \cobj__obj -> 
+    wxPageSetupDialogData_EnableMargins cobj__obj  (toCBool flag)  
+foreign import ccall "wxPageSetupDialogData_EnableMargins" wxPageSetupDialogData_EnableMargins :: Ptr (TPageSetupDialogData a) -> CBool -> IO ()
+
+-- | usage: (@pageSetupDialogDataEnableOrientation obj flag@).
+pageSetupDialogDataEnableOrientation :: PageSetupDialogData  a -> Bool ->  IO ()
+pageSetupDialogDataEnableOrientation _obj flag 
+  = withObjectRef "pageSetupDialogDataEnableOrientation" _obj $ \cobj__obj -> 
+    wxPageSetupDialogData_EnableOrientation cobj__obj  (toCBool flag)  
+foreign import ccall "wxPageSetupDialogData_EnableOrientation" wxPageSetupDialogData_EnableOrientation :: Ptr (TPageSetupDialogData a) -> CBool -> IO ()
+
+-- | usage: (@pageSetupDialogDataEnablePaper obj flag@).
+pageSetupDialogDataEnablePaper :: PageSetupDialogData  a -> Bool ->  IO ()
+pageSetupDialogDataEnablePaper _obj flag 
+  = withObjectRef "pageSetupDialogDataEnablePaper" _obj $ \cobj__obj -> 
+    wxPageSetupDialogData_EnablePaper cobj__obj  (toCBool flag)  
+foreign import ccall "wxPageSetupDialogData_EnablePaper" wxPageSetupDialogData_EnablePaper :: Ptr (TPageSetupDialogData a) -> CBool -> IO ()
+
+-- | usage: (@pageSetupDialogDataEnablePrinter obj flag@).
+pageSetupDialogDataEnablePrinter :: PageSetupDialogData  a -> Bool ->  IO ()
+pageSetupDialogDataEnablePrinter _obj flag 
+  = withObjectRef "pageSetupDialogDataEnablePrinter" _obj $ \cobj__obj -> 
+    wxPageSetupDialogData_EnablePrinter cobj__obj  (toCBool flag)  
+foreign import ccall "wxPageSetupDialogData_EnablePrinter" wxPageSetupDialogData_EnablePrinter :: Ptr (TPageSetupDialogData a) -> CBool -> IO ()
+
+-- | usage: (@pageSetupDialogDataGetDefaultInfo obj@).
+pageSetupDialogDataGetDefaultInfo :: PageSetupDialogData  a ->  IO Bool
+pageSetupDialogDataGetDefaultInfo _obj 
+  = withBoolResult $
+    withObjectRef "pageSetupDialogDataGetDefaultInfo" _obj $ \cobj__obj -> 
+    wxPageSetupDialogData_GetDefaultInfo cobj__obj  
+foreign import ccall "wxPageSetupDialogData_GetDefaultInfo" wxPageSetupDialogData_GetDefaultInfo :: Ptr (TPageSetupDialogData a) -> IO CBool
+
+-- | usage: (@pageSetupDialogDataGetDefaultMinMargins obj@).
+pageSetupDialogDataGetDefaultMinMargins :: PageSetupDialogData  a ->  IO Bool
+pageSetupDialogDataGetDefaultMinMargins _obj 
+  = withBoolResult $
+    withObjectRef "pageSetupDialogDataGetDefaultMinMargins" _obj $ \cobj__obj -> 
+    wxPageSetupDialogData_GetDefaultMinMargins cobj__obj  
+foreign import ccall "wxPageSetupDialogData_GetDefaultMinMargins" wxPageSetupDialogData_GetDefaultMinMargins :: Ptr (TPageSetupDialogData a) -> IO CBool
+
+-- | usage: (@pageSetupDialogDataGetEnableHelp obj@).
+pageSetupDialogDataGetEnableHelp :: PageSetupDialogData  a ->  IO Bool
+pageSetupDialogDataGetEnableHelp _obj 
+  = withBoolResult $
+    withObjectRef "pageSetupDialogDataGetEnableHelp" _obj $ \cobj__obj -> 
+    wxPageSetupDialogData_GetEnableHelp cobj__obj  
+foreign import ccall "wxPageSetupDialogData_GetEnableHelp" wxPageSetupDialogData_GetEnableHelp :: Ptr (TPageSetupDialogData a) -> IO CBool
+
+-- | usage: (@pageSetupDialogDataGetEnableMargins obj@).
+pageSetupDialogDataGetEnableMargins :: PageSetupDialogData  a ->  IO Bool
+pageSetupDialogDataGetEnableMargins _obj 
+  = withBoolResult $
+    withObjectRef "pageSetupDialogDataGetEnableMargins" _obj $ \cobj__obj -> 
+    wxPageSetupDialogData_GetEnableMargins cobj__obj  
+foreign import ccall "wxPageSetupDialogData_GetEnableMargins" wxPageSetupDialogData_GetEnableMargins :: Ptr (TPageSetupDialogData a) -> IO CBool
+
+-- | usage: (@pageSetupDialogDataGetEnableOrientation obj@).
+pageSetupDialogDataGetEnableOrientation :: PageSetupDialogData  a ->  IO Bool
+pageSetupDialogDataGetEnableOrientation _obj 
+  = withBoolResult $
+    withObjectRef "pageSetupDialogDataGetEnableOrientation" _obj $ \cobj__obj -> 
+    wxPageSetupDialogData_GetEnableOrientation cobj__obj  
+foreign import ccall "wxPageSetupDialogData_GetEnableOrientation" wxPageSetupDialogData_GetEnableOrientation :: Ptr (TPageSetupDialogData a) -> IO CBool
+
+-- | usage: (@pageSetupDialogDataGetEnablePaper obj@).
+pageSetupDialogDataGetEnablePaper :: PageSetupDialogData  a ->  IO Bool
+pageSetupDialogDataGetEnablePaper _obj 
+  = withBoolResult $
+    withObjectRef "pageSetupDialogDataGetEnablePaper" _obj $ \cobj__obj -> 
+    wxPageSetupDialogData_GetEnablePaper cobj__obj  
+foreign import ccall "wxPageSetupDialogData_GetEnablePaper" wxPageSetupDialogData_GetEnablePaper :: Ptr (TPageSetupDialogData a) -> IO CBool
+
+-- | usage: (@pageSetupDialogDataGetEnablePrinter obj@).
+pageSetupDialogDataGetEnablePrinter :: PageSetupDialogData  a ->  IO Bool
+pageSetupDialogDataGetEnablePrinter _obj 
+  = withBoolResult $
+    withObjectRef "pageSetupDialogDataGetEnablePrinter" _obj $ \cobj__obj -> 
+    wxPageSetupDialogData_GetEnablePrinter cobj__obj  
+foreign import ccall "wxPageSetupDialogData_GetEnablePrinter" wxPageSetupDialogData_GetEnablePrinter :: Ptr (TPageSetupDialogData a) -> IO CBool
+
+-- | usage: (@pageSetupDialogDataGetMarginBottomRight obj@).
+pageSetupDialogDataGetMarginBottomRight :: PageSetupDialogData  a ->  IO (Point)
+pageSetupDialogDataGetMarginBottomRight _obj 
+  = withWxPointResult $
+    withObjectRef "pageSetupDialogDataGetMarginBottomRight" _obj $ \cobj__obj -> 
+    wxPageSetupDialogData_GetMarginBottomRight cobj__obj  
+foreign import ccall "wxPageSetupDialogData_GetMarginBottomRight" wxPageSetupDialogData_GetMarginBottomRight :: Ptr (TPageSetupDialogData a) -> IO (Ptr (TWxPoint ()))
+
+-- | usage: (@pageSetupDialogDataGetMarginTopLeft obj@).
+pageSetupDialogDataGetMarginTopLeft :: PageSetupDialogData  a ->  IO (Point)
+pageSetupDialogDataGetMarginTopLeft _obj 
+  = withWxPointResult $
+    withObjectRef "pageSetupDialogDataGetMarginTopLeft" _obj $ \cobj__obj -> 
+    wxPageSetupDialogData_GetMarginTopLeft cobj__obj  
+foreign import ccall "wxPageSetupDialogData_GetMarginTopLeft" wxPageSetupDialogData_GetMarginTopLeft :: Ptr (TPageSetupDialogData a) -> IO (Ptr (TWxPoint ()))
+
+-- | usage: (@pageSetupDialogDataGetMinMarginBottomRight obj@).
+pageSetupDialogDataGetMinMarginBottomRight :: PageSetupDialogData  a ->  IO (Point)
+pageSetupDialogDataGetMinMarginBottomRight _obj 
+  = withWxPointResult $
+    withObjectRef "pageSetupDialogDataGetMinMarginBottomRight" _obj $ \cobj__obj -> 
+    wxPageSetupDialogData_GetMinMarginBottomRight cobj__obj  
+foreign import ccall "wxPageSetupDialogData_GetMinMarginBottomRight" wxPageSetupDialogData_GetMinMarginBottomRight :: Ptr (TPageSetupDialogData a) -> IO (Ptr (TWxPoint ()))
+
+-- | usage: (@pageSetupDialogDataGetMinMarginTopLeft obj@).
+pageSetupDialogDataGetMinMarginTopLeft :: PageSetupDialogData  a ->  IO (Point)
+pageSetupDialogDataGetMinMarginTopLeft _obj 
+  = withWxPointResult $
+    withObjectRef "pageSetupDialogDataGetMinMarginTopLeft" _obj $ \cobj__obj -> 
+    wxPageSetupDialogData_GetMinMarginTopLeft cobj__obj  
+foreign import ccall "wxPageSetupDialogData_GetMinMarginTopLeft" wxPageSetupDialogData_GetMinMarginTopLeft :: Ptr (TPageSetupDialogData a) -> IO (Ptr (TWxPoint ()))
+
+-- | usage: (@pageSetupDialogDataGetPaperId obj@).
+pageSetupDialogDataGetPaperId :: PageSetupDialogData  a ->  IO Int
+pageSetupDialogDataGetPaperId _obj 
+  = withIntResult $
+    withObjectRef "pageSetupDialogDataGetPaperId" _obj $ \cobj__obj -> 
+    wxPageSetupDialogData_GetPaperId cobj__obj  
+foreign import ccall "wxPageSetupDialogData_GetPaperId" wxPageSetupDialogData_GetPaperId :: Ptr (TPageSetupDialogData a) -> IO CInt
+
+-- | usage: (@pageSetupDialogDataGetPaperSize obj@).
+pageSetupDialogDataGetPaperSize :: PageSetupDialogData  a ->  IO (Size)
+pageSetupDialogDataGetPaperSize _obj 
+  = withWxSizeResult $
+    withObjectRef "pageSetupDialogDataGetPaperSize" _obj $ \cobj__obj -> 
+    wxPageSetupDialogData_GetPaperSize cobj__obj  
+foreign import ccall "wxPageSetupDialogData_GetPaperSize" wxPageSetupDialogData_GetPaperSize :: Ptr (TPageSetupDialogData a) -> IO (Ptr (TWxSize ()))
+
+-- | usage: (@pageSetupDialogDataGetPrintData obj@).
+pageSetupDialogDataGetPrintData :: PageSetupDialogData  a ->  IO (PrintData  ())
+pageSetupDialogDataGetPrintData _obj 
+  = withRefPrintData $ \pref -> 
+    withObjectRef "pageSetupDialogDataGetPrintData" _obj $ \cobj__obj -> 
+    wxPageSetupDialogData_GetPrintData cobj__obj   pref
+foreign import ccall "wxPageSetupDialogData_GetPrintData" wxPageSetupDialogData_GetPrintData :: Ptr (TPageSetupDialogData a) -> Ptr (TPrintData ()) -> IO ()
+
+-- | usage: (@pageSetupDialogDataSetDefaultInfo obj flag@).
+pageSetupDialogDataSetDefaultInfo :: PageSetupDialogData  a -> Bool ->  IO ()
+pageSetupDialogDataSetDefaultInfo _obj flag 
+  = withObjectRef "pageSetupDialogDataSetDefaultInfo" _obj $ \cobj__obj -> 
+    wxPageSetupDialogData_SetDefaultInfo cobj__obj  (toCBool flag)  
+foreign import ccall "wxPageSetupDialogData_SetDefaultInfo" wxPageSetupDialogData_SetDefaultInfo :: Ptr (TPageSetupDialogData a) -> CBool -> IO ()
+
+-- | usage: (@pageSetupDialogDataSetDefaultMinMargins obj flag@).
+pageSetupDialogDataSetDefaultMinMargins :: PageSetupDialogData  a -> Int ->  IO ()
+pageSetupDialogDataSetDefaultMinMargins _obj flag 
+  = withObjectRef "pageSetupDialogDataSetDefaultMinMargins" _obj $ \cobj__obj -> 
+    wxPageSetupDialogData_SetDefaultMinMargins cobj__obj  (toCInt flag)  
+foreign import ccall "wxPageSetupDialogData_SetDefaultMinMargins" wxPageSetupDialogData_SetDefaultMinMargins :: Ptr (TPageSetupDialogData a) -> CInt -> IO ()
+
+-- | usage: (@pageSetupDialogDataSetMarginBottomRight obj xy@).
+pageSetupDialogDataSetMarginBottomRight :: PageSetupDialogData  a -> Point ->  IO ()
+pageSetupDialogDataSetMarginBottomRight _obj xy 
+  = withObjectRef "pageSetupDialogDataSetMarginBottomRight" _obj $ \cobj__obj -> 
+    wxPageSetupDialogData_SetMarginBottomRight cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  
+foreign import ccall "wxPageSetupDialogData_SetMarginBottomRight" wxPageSetupDialogData_SetMarginBottomRight :: Ptr (TPageSetupDialogData a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@pageSetupDialogDataSetMarginTopLeft obj xy@).
+pageSetupDialogDataSetMarginTopLeft :: PageSetupDialogData  a -> Point ->  IO ()
+pageSetupDialogDataSetMarginTopLeft _obj xy 
+  = withObjectRef "pageSetupDialogDataSetMarginTopLeft" _obj $ \cobj__obj -> 
+    wxPageSetupDialogData_SetMarginTopLeft cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  
+foreign import ccall "wxPageSetupDialogData_SetMarginTopLeft" wxPageSetupDialogData_SetMarginTopLeft :: Ptr (TPageSetupDialogData a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@pageSetupDialogDataSetMinMarginBottomRight obj xy@).
+pageSetupDialogDataSetMinMarginBottomRight :: PageSetupDialogData  a -> Point ->  IO ()
+pageSetupDialogDataSetMinMarginBottomRight _obj xy 
+  = withObjectRef "pageSetupDialogDataSetMinMarginBottomRight" _obj $ \cobj__obj -> 
+    wxPageSetupDialogData_SetMinMarginBottomRight cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  
+foreign import ccall "wxPageSetupDialogData_SetMinMarginBottomRight" wxPageSetupDialogData_SetMinMarginBottomRight :: Ptr (TPageSetupDialogData a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@pageSetupDialogDataSetMinMarginTopLeft obj xy@).
+pageSetupDialogDataSetMinMarginTopLeft :: PageSetupDialogData  a -> Point ->  IO ()
+pageSetupDialogDataSetMinMarginTopLeft _obj xy 
+  = withObjectRef "pageSetupDialogDataSetMinMarginTopLeft" _obj $ \cobj__obj -> 
+    wxPageSetupDialogData_SetMinMarginTopLeft cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  
+foreign import ccall "wxPageSetupDialogData_SetMinMarginTopLeft" wxPageSetupDialogData_SetMinMarginTopLeft :: Ptr (TPageSetupDialogData a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@pageSetupDialogDataSetPaperId obj id@).
+pageSetupDialogDataSetPaperId :: PageSetupDialogData  a -> Ptr  b ->  IO ()
+pageSetupDialogDataSetPaperId _obj id 
+  = withObjectRef "pageSetupDialogDataSetPaperId" _obj $ \cobj__obj -> 
+    wxPageSetupDialogData_SetPaperId cobj__obj  id  
+foreign import ccall "wxPageSetupDialogData_SetPaperId" wxPageSetupDialogData_SetPaperId :: Ptr (TPageSetupDialogData a) -> Ptr  b -> IO ()
+
+-- | usage: (@pageSetupDialogDataSetPaperSize obj wh@).
+pageSetupDialogDataSetPaperSize :: PageSetupDialogData  a -> Size ->  IO ()
+pageSetupDialogDataSetPaperSize _obj wh 
+  = withObjectRef "pageSetupDialogDataSetPaperSize" _obj $ \cobj__obj -> 
+    wxPageSetupDialogData_SetPaperSize cobj__obj  (toCIntSizeW wh) (toCIntSizeH wh)  
+foreign import ccall "wxPageSetupDialogData_SetPaperSize" wxPageSetupDialogData_SetPaperSize :: Ptr (TPageSetupDialogData a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@pageSetupDialogDataSetPaperSizeId obj id@).
+pageSetupDialogDataSetPaperSizeId :: PageSetupDialogData  a -> Id ->  IO ()
+pageSetupDialogDataSetPaperSizeId _obj id 
+  = withObjectRef "pageSetupDialogDataSetPaperSizeId" _obj $ \cobj__obj -> 
+    wxPageSetupDialogData_SetPaperSizeId cobj__obj  (toCInt id)  
+foreign import ccall "wxPageSetupDialogData_SetPaperSizeId" wxPageSetupDialogData_SetPaperSizeId :: Ptr (TPageSetupDialogData a) -> CInt -> IO ()
+
+-- | usage: (@pageSetupDialogDataSetPrintData obj printData@).
+pageSetupDialogDataSetPrintData :: PageSetupDialogData  a -> PrintData  b ->  IO ()
+pageSetupDialogDataSetPrintData _obj printData 
+  = withObjectRef "pageSetupDialogDataSetPrintData" _obj $ \cobj__obj -> 
+    withObjectPtr printData $ \cobj_printData -> 
+    wxPageSetupDialogData_SetPrintData cobj__obj  cobj_printData  
+foreign import ccall "wxPageSetupDialogData_SetPrintData" wxPageSetupDialogData_SetPrintData :: Ptr (TPageSetupDialogData a) -> Ptr (TPrintData b) -> IO ()
+
+-- | usage: (@pageSetupDialogGetPageSetupData obj@).
+pageSetupDialogGetPageSetupData :: PageSetupDialog  a ->  IO (PageSetupDialogData  ())
+pageSetupDialogGetPageSetupData _obj 
+  = withRefPageSetupDialogData $ \pref -> 
+    withObjectRef "pageSetupDialogGetPageSetupData" _obj $ \cobj__obj -> 
+    wxPageSetupDialog_GetPageSetupData cobj__obj   pref
+foreign import ccall "wxPageSetupDialog_GetPageSetupData" wxPageSetupDialog_GetPageSetupData :: Ptr (TPageSetupDialog a) -> Ptr (TPageSetupDialogData ()) -> IO ()
+
+-- | usage: (@paintDCCreate win@).
+paintDCCreate :: Window  a ->  IO (PaintDC  ())
+paintDCCreate win 
+  = withObjectResult $
+    withObjectPtr win $ \cobj_win -> 
+    wxPaintDC_Create cobj_win  
+foreign import ccall "wxPaintDC_Create" wxPaintDC_Create :: Ptr (TWindow a) -> IO (Ptr (TPaintDC ()))
+
+-- | usage: (@paintDCDelete obj@).
+paintDCDelete :: PaintDC  a ->  IO ()
+paintDCDelete
+  = objectDelete
+
+
+-- | usage: (@paletteAssign obj palette@).
+paletteAssign :: Palette  a -> Palette  b ->  IO ()
+paletteAssign _obj palette 
+  = withObjectRef "paletteAssign" _obj $ \cobj__obj -> 
+    withObjectPtr palette $ \cobj_palette -> 
+    wxPalette_Assign cobj__obj  cobj_palette  
+foreign import ccall "wxPalette_Assign" wxPalette_Assign :: Ptr (TPalette a) -> Ptr (TPalette b) -> IO ()
+
+-- | usage: (@paletteChangedEventCopyObject obj obj@).
+paletteChangedEventCopyObject :: PaletteChangedEvent  a -> Ptr  b ->  IO ()
+paletteChangedEventCopyObject _obj obj 
+  = withObjectRef "paletteChangedEventCopyObject" _obj $ \cobj__obj -> 
+    wxPaletteChangedEvent_CopyObject cobj__obj  obj  
+foreign import ccall "wxPaletteChangedEvent_CopyObject" wxPaletteChangedEvent_CopyObject :: Ptr (TPaletteChangedEvent a) -> Ptr  b -> IO ()
+
+-- | usage: (@paletteChangedEventGetChangedWindow obj@).
+paletteChangedEventGetChangedWindow :: PaletteChangedEvent  a ->  IO (Ptr  ())
+paletteChangedEventGetChangedWindow _obj 
+  = withObjectRef "paletteChangedEventGetChangedWindow" _obj $ \cobj__obj -> 
+    wxPaletteChangedEvent_GetChangedWindow cobj__obj  
+foreign import ccall "wxPaletteChangedEvent_GetChangedWindow" wxPaletteChangedEvent_GetChangedWindow :: Ptr (TPaletteChangedEvent a) -> IO (Ptr  ())
+
+-- | usage: (@paletteChangedEventSetChangedWindow obj win@).
+paletteChangedEventSetChangedWindow :: PaletteChangedEvent  a -> Window  b ->  IO ()
+paletteChangedEventSetChangedWindow _obj win 
+  = withObjectRef "paletteChangedEventSetChangedWindow" _obj $ \cobj__obj -> 
+    withObjectPtr win $ \cobj_win -> 
+    wxPaletteChangedEvent_SetChangedWindow cobj__obj  cobj_win  
+foreign import ccall "wxPaletteChangedEvent_SetChangedWindow" wxPaletteChangedEvent_SetChangedWindow :: Ptr (TPaletteChangedEvent a) -> Ptr (TWindow b) -> IO ()
+
+-- | usage: (@paletteCreateDefault@).
+paletteCreateDefault ::  IO (Palette  ())
+paletteCreateDefault 
+  = withObjectResult $
+    wxPalette_CreateDefault 
+foreign import ccall "wxPalette_CreateDefault" wxPalette_CreateDefault :: IO (Ptr (TPalette ()))
+
+-- | usage: (@paletteCreateRGB n red green blue@).
+paletteCreateRGB :: Int -> Ptr  b -> Ptr  c -> Ptr  d ->  IO (Palette  ())
+paletteCreateRGB n red green blue 
+  = withObjectResult $
+    wxPalette_CreateRGB (toCInt n)  red  green  blue  
+foreign import ccall "wxPalette_CreateRGB" wxPalette_CreateRGB :: CInt -> Ptr  b -> Ptr  c -> Ptr  d -> IO (Ptr (TPalette ()))
+
+-- | usage: (@paletteDelete obj@).
+paletteDelete :: Palette  a ->  IO ()
+paletteDelete
+  = objectDelete
+
+
+-- | usage: (@paletteGetPixel obj redgreenblue@).
+paletteGetPixel :: Palette  a -> Color ->  IO Int
+paletteGetPixel _obj redgreenblue 
+  = withIntResult $
+    withObjectRef "paletteGetPixel" _obj $ \cobj__obj -> 
+    wxPalette_GetPixel cobj__obj  (colorRed redgreenblue) (colorGreen redgreenblue) (colorBlue redgreenblue)  
+foreign import ccall "wxPalette_GetPixel" wxPalette_GetPixel :: Ptr (TPalette a) -> Word8 -> Word8 -> Word8 -> IO CInt
+
+-- | usage: (@paletteGetRGB obj pixel red green blue@).
+paletteGetRGB :: Palette  a -> Int -> Ptr  c -> Ptr  d -> Ptr  e ->  IO Bool
+paletteGetRGB _obj pixel red green blue 
+  = withBoolResult $
+    withObjectRef "paletteGetRGB" _obj $ \cobj__obj -> 
+    wxPalette_GetRGB cobj__obj  (toCInt pixel)  red  green  blue  
+foreign import ccall "wxPalette_GetRGB" wxPalette_GetRGB :: Ptr (TPalette a) -> CInt -> Ptr  c -> Ptr  d -> Ptr  e -> IO CBool
+
+-- | usage: (@paletteIsEqual obj palette@).
+paletteIsEqual :: Palette  a -> Palette  b ->  IO Bool
+paletteIsEqual _obj palette 
+  = withBoolResult $
+    withObjectRef "paletteIsEqual" _obj $ \cobj__obj -> 
+    withObjectPtr palette $ \cobj_palette -> 
+    wxPalette_IsEqual cobj__obj  cobj_palette  
+foreign import ccall "wxPalette_IsEqual" wxPalette_IsEqual :: Ptr (TPalette a) -> Ptr (TPalette b) -> IO CBool
+
+-- | usage: (@paletteIsOk obj@).
+paletteIsOk :: Palette  a ->  IO Bool
+paletteIsOk _obj 
+  = withBoolResult $
+    withObjectRef "paletteIsOk" _obj $ \cobj__obj -> 
+    wxPalette_IsOk cobj__obj  
+foreign import ccall "wxPalette_IsOk" wxPalette_IsOk :: Ptr (TPalette a) -> IO CBool
+
+-- | usage: (@panelCreate prt id lfttopwdthgt stl@).
+panelCreate :: Window  a -> Id -> Rect -> Style ->  IO (Panel  ())
+panelCreate _prt _id _lfttopwdthgt _stl 
+  = withObjectResult $
+    withObjectPtr _prt $ \cobj__prt -> 
+    wxPanel_Create cobj__prt  (toCInt _id)  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  (toCInt _stl)  
+foreign import ccall "wxPanel_Create" wxPanel_Create :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TPanel ()))
+
+-- | usage: (@panelInitDialog obj@).
+panelInitDialog :: Panel  a ->  IO ()
+panelInitDialog _obj 
+  = withObjectRef "panelInitDialog" _obj $ \cobj__obj -> 
+    wxPanel_InitDialog cobj__obj  
+foreign import ccall "wxPanel_InitDialog" wxPanel_InitDialog :: Ptr (TPanel a) -> IO ()
+
+-- | usage: (@panelSetFocus obj@).
+panelSetFocus :: Panel  a ->  IO ()
+panelSetFocus _obj 
+  = withObjectRef "panelSetFocus" _obj $ \cobj__obj -> 
+    wxPanel_SetFocus cobj__obj  
+foreign import ccall "wxPanel_SetFocus" wxPanel_SetFocus :: Ptr (TPanel a) -> IO ()
+
+-- | usage: (@penAssign obj pen@).
+penAssign :: Pen  a -> Pen  b ->  IO ()
+penAssign _obj pen 
+  = withObjectRef "penAssign" _obj $ \cobj__obj -> 
+    withObjectPtr pen $ \cobj_pen -> 
+    wxPen_Assign cobj__obj  cobj_pen  
+foreign import ccall "wxPen_Assign" wxPen_Assign :: Ptr (TPen a) -> Ptr (TPen b) -> IO ()
+
+-- | usage: (@penCreateDefault@).
+penCreateDefault ::  IO (Pen  ())
+penCreateDefault 
+  = withManagedPenResult $
+    wxPen_CreateDefault 
+foreign import ccall "wxPen_CreateDefault" wxPen_CreateDefault :: IO (Ptr (TPen ()))
+
+-- | usage: (@penCreateFromBitmap stipple width@).
+penCreateFromBitmap :: Bitmap  a -> Int ->  IO (Pen  ())
+penCreateFromBitmap stipple width 
+  = withManagedPenResult $
+    withObjectPtr stipple $ \cobj_stipple -> 
+    wxPen_CreateFromBitmap cobj_stipple  (toCInt width)  
+foreign import ccall "wxPen_CreateFromBitmap" wxPen_CreateFromBitmap :: Ptr (TBitmap a) -> CInt -> IO (Ptr (TPen ()))
+
+-- | usage: (@penCreateFromColour col width style@).
+penCreateFromColour :: Color -> Int -> Int ->  IO (Pen  ())
+penCreateFromColour col width style 
+  = withManagedPenResult $
+    withColourPtr col $ \cobj_col -> 
+    wxPen_CreateFromColour cobj_col  (toCInt width)  (toCInt style)  
+foreign import ccall "wxPen_CreateFromColour" wxPen_CreateFromColour :: Ptr (TColour a) -> CInt -> CInt -> IO (Ptr (TPen ()))
+
+-- | usage: (@penCreateFromStock id@).
+penCreateFromStock :: Id ->  IO (Pen  ())
+penCreateFromStock id 
+  = withManagedPenResult $
+    wxPen_CreateFromStock (toCInt id)  
+foreign import ccall "wxPen_CreateFromStock" wxPen_CreateFromStock :: CInt -> IO (Ptr (TPen ()))
+
+-- | usage: (@penDelete obj@).
+penDelete :: Pen  a ->  IO ()
+penDelete
+  = objectDelete
+
+
+-- | usage: (@penGetCap obj@).
+penGetCap :: Pen  a ->  IO Int
+penGetCap _obj 
+  = withIntResult $
+    withObjectRef "penGetCap" _obj $ \cobj__obj -> 
+    wxPen_GetCap cobj__obj  
+foreign import ccall "wxPen_GetCap" wxPen_GetCap :: Ptr (TPen a) -> IO CInt
+
+-- | usage: (@penGetColour obj@).
+penGetColour :: Pen  a ->  IO (Color)
+penGetColour _obj 
+  = withRefColour $ \pref -> 
+    withObjectRef "penGetColour" _obj $ \cobj__obj -> 
+    wxPen_GetColour cobj__obj   pref
+foreign import ccall "wxPen_GetColour" wxPen_GetColour :: Ptr (TPen a) -> Ptr (TColour ()) -> IO ()
+
+-- | usage: (@penGetDashes obj ptr@).
+penGetDashes :: Pen  a -> Ptr  b ->  IO Int
+penGetDashes _obj ptr 
+  = withIntResult $
+    withObjectRef "penGetDashes" _obj $ \cobj__obj -> 
+    wxPen_GetDashes cobj__obj  ptr  
+foreign import ccall "wxPen_GetDashes" wxPen_GetDashes :: Ptr (TPen a) -> Ptr  b -> IO CInt
+
+-- | usage: (@penGetJoin obj@).
+penGetJoin :: Pen  a ->  IO Int
+penGetJoin _obj 
+  = withIntResult $
+    withObjectRef "penGetJoin" _obj $ \cobj__obj -> 
+    wxPen_GetJoin cobj__obj  
+foreign import ccall "wxPen_GetJoin" wxPen_GetJoin :: Ptr (TPen a) -> IO CInt
+
+-- | usage: (@penGetStipple obj@).
+penGetStipple :: Pen  a ->  IO (Bitmap  ())
+penGetStipple _obj 
+  = withRefBitmap $ \pref -> 
+    withObjectRef "penGetStipple" _obj $ \cobj__obj -> 
+    wxPen_GetStipple cobj__obj   pref
+foreign import ccall "wxPen_GetStipple" wxPen_GetStipple :: Ptr (TPen a) -> Ptr (TBitmap ()) -> IO ()
+
+-- | usage: (@penGetStyle obj@).
+penGetStyle :: Pen  a ->  IO Int
+penGetStyle _obj 
+  = withIntResult $
+    withObjectRef "penGetStyle" _obj $ \cobj__obj -> 
+    wxPen_GetStyle cobj__obj  
+foreign import ccall "wxPen_GetStyle" wxPen_GetStyle :: Ptr (TPen a) -> IO CInt
+
+-- | usage: (@penGetWidth obj@).
+penGetWidth :: Pen  a ->  IO Int
+penGetWidth _obj 
+  = withIntResult $
+    withObjectRef "penGetWidth" _obj $ \cobj__obj -> 
+    wxPen_GetWidth cobj__obj  
+foreign import ccall "wxPen_GetWidth" wxPen_GetWidth :: Ptr (TPen a) -> IO CInt
+
+-- | usage: (@penIsEqual obj pen@).
+penIsEqual :: Pen  a -> Pen  b ->  IO Bool
+penIsEqual _obj pen 
+  = withBoolResult $
+    withObjectRef "penIsEqual" _obj $ \cobj__obj -> 
+    withObjectPtr pen $ \cobj_pen -> 
+    wxPen_IsEqual cobj__obj  cobj_pen  
+foreign import ccall "wxPen_IsEqual" wxPen_IsEqual :: Ptr (TPen a) -> Ptr (TPen b) -> IO CBool
+
+-- | usage: (@penIsOk obj@).
+penIsOk :: Pen  a ->  IO Bool
+penIsOk _obj 
+  = withBoolResult $
+    withObjectRef "penIsOk" _obj $ \cobj__obj -> 
+    wxPen_IsOk cobj__obj  
+foreign import ccall "wxPen_IsOk" wxPen_IsOk :: Ptr (TPen a) -> IO CBool
+
+-- | usage: (@penIsStatic self@).
+penIsStatic :: Pen  a ->  IO Bool
+penIsStatic self 
+  = withBoolResult $
+    withObjectPtr self $ \cobj_self -> 
+    wxPen_IsStatic cobj_self  
+foreign import ccall "wxPen_IsStatic" wxPen_IsStatic :: Ptr (TPen a) -> IO CBool
+
+-- | usage: (@penSafeDelete self@).
+penSafeDelete :: Pen  a ->  IO ()
+penSafeDelete self 
+  = withObjectPtr self $ \cobj_self -> 
+    wxPen_SafeDelete cobj_self  
+foreign import ccall "wxPen_SafeDelete" wxPen_SafeDelete :: Ptr (TPen a) -> IO ()
+
+-- | usage: (@penSetCap obj cap@).
+penSetCap :: Pen  a -> Int ->  IO ()
+penSetCap _obj cap 
+  = withObjectRef "penSetCap" _obj $ \cobj__obj -> 
+    wxPen_SetCap cobj__obj  (toCInt cap)  
+foreign import ccall "wxPen_SetCap" wxPen_SetCap :: Ptr (TPen a) -> CInt -> IO ()
+
+-- | usage: (@penSetColour obj col@).
+penSetColour :: Pen  a -> Color ->  IO ()
+penSetColour _obj col 
+  = withObjectRef "penSetColour" _obj $ \cobj__obj -> 
+    withColourPtr col $ \cobj_col -> 
+    wxPen_SetColour cobj__obj  cobj_col  
+foreign import ccall "wxPen_SetColour" wxPen_SetColour :: Ptr (TPen a) -> Ptr (TColour b) -> IO ()
+
+-- | usage: (@penSetColourSingle obj r g b@).
+penSetColourSingle :: Pen  a -> Char -> Char -> Char ->  IO ()
+penSetColourSingle _obj r g b 
+  = withObjectRef "penSetColourSingle" _obj $ \cobj__obj -> 
+    wxPen_SetColourSingle cobj__obj  (toCWchar r)  (toCWchar g)  (toCWchar b)  
+foreign import ccall "wxPen_SetColourSingle" wxPen_SetColourSingle :: Ptr (TPen a) -> CWchar -> CWchar -> CWchar -> IO ()
+
+-- | usage: (@penSetDashes obj nbdashes dash@).
+penSetDashes :: Pen  a -> Int -> Ptr  c ->  IO ()
+penSetDashes _obj nbdashes dash 
+  = withObjectRef "penSetDashes" _obj $ \cobj__obj -> 
+    wxPen_SetDashes cobj__obj  (toCInt nbdashes)  dash  
+foreign import ccall "wxPen_SetDashes" wxPen_SetDashes :: Ptr (TPen a) -> CInt -> Ptr  c -> IO ()
+
+-- | usage: (@penSetJoin obj join@).
+penSetJoin :: Pen  a -> Int ->  IO ()
+penSetJoin _obj join 
+  = withObjectRef "penSetJoin" _obj $ \cobj__obj -> 
+    wxPen_SetJoin cobj__obj  (toCInt join)  
+foreign import ccall "wxPen_SetJoin" wxPen_SetJoin :: Ptr (TPen a) -> CInt -> IO ()
+
+-- | usage: (@penSetStipple obj stipple@).
+penSetStipple :: Pen  a -> Bitmap  b ->  IO ()
+penSetStipple _obj stipple 
+  = withObjectRef "penSetStipple" _obj $ \cobj__obj -> 
+    withObjectPtr stipple $ \cobj_stipple -> 
+    wxPen_SetStipple cobj__obj  cobj_stipple  
+foreign import ccall "wxPen_SetStipple" wxPen_SetStipple :: Ptr (TPen a) -> Ptr (TBitmap b) -> IO ()
+
+-- | usage: (@penSetStyle obj style@).
+penSetStyle :: Pen  a -> Int ->  IO ()
+penSetStyle _obj style 
+  = withObjectRef "penSetStyle" _obj $ \cobj__obj -> 
+    wxPen_SetStyle cobj__obj  (toCInt style)  
+foreign import ccall "wxPen_SetStyle" wxPen_SetStyle :: Ptr (TPen a) -> CInt -> IO ()
+
+-- | usage: (@penSetWidth obj width@).
+penSetWidth :: Pen  a -> Int ->  IO ()
+penSetWidth _obj width 
+  = withObjectRef "penSetWidth" _obj $ \cobj__obj -> 
+    wxPen_SetWidth cobj__obj  (toCInt width)  
+foreign import ccall "wxPen_SetWidth" wxPen_SetWidth :: Ptr (TPen a) -> CInt -> IO ()
+
+-- | usage: (@popProvider@).
+popProvider ::  IO Bool
+popProvider 
+  = withBoolResult $
+    wx_PopProvider 
+foreign import ccall "PopProvider" wx_PopProvider :: IO CBool
+
+-- | usage: (@postScriptDCCreate wxdata@).
+postScriptDCCreate :: PrintData  a ->  IO (PostScriptDC  ())
+postScriptDCCreate wxdata 
+  = withObjectResult $
+    withObjectPtr wxdata $ \cobj_wxdata -> 
+    wxPostScriptDC_Create cobj_wxdata  
+foreign import ccall "wxPostScriptDC_Create" wxPostScriptDC_Create :: Ptr (TPrintData a) -> IO (Ptr (TPostScriptDC ()))
+
+-- | usage: (@postScriptDCDelete self@).
+postScriptDCDelete :: PostScriptDC  a ->  IO ()
+postScriptDCDelete
+  = objectDelete
+
+
+-- | usage: (@postScriptDCGetResolution self@).
+postScriptDCGetResolution :: PostScriptDC  a ->  IO Int
+postScriptDCGetResolution self 
+  = withIntResult $
+    withObjectRef "postScriptDCGetResolution" self $ \cobj_self -> 
+    wxPostScriptDC_GetResolution cobj_self  
+foreign import ccall "wxPostScriptDC_GetResolution" wxPostScriptDC_GetResolution :: Ptr (TPostScriptDC a) -> IO CInt
+
+-- | usage: (@postScriptDCSetResolution self ppi@).
+postScriptDCSetResolution :: PostScriptDC  a -> Int ->  IO ()
+postScriptDCSetResolution self ppi 
+  = withObjectRef "postScriptDCSetResolution" self $ \cobj_self -> 
+    wxPostScriptDC_SetResolution cobj_self  (toCInt ppi)  
+foreign import ccall "wxPostScriptDC_SetResolution" wxPostScriptDC_SetResolution :: Ptr (TPostScriptDC a) -> CInt -> IO ()
+
+-- | usage: (@postScriptPrintNativeDataCreate@).
+postScriptPrintNativeDataCreate ::  IO (PostScriptPrintNativeData  ())
+postScriptPrintNativeDataCreate 
+  = withObjectResult $
+    wxPostScriptPrintNativeData_Create 
+foreign import ccall "wxPostScriptPrintNativeData_Create" wxPostScriptPrintNativeData_Create :: IO (Ptr (TPostScriptPrintNativeData ()))
+
+-- | usage: (@postScriptPrintNativeDataDelete obj@).
+postScriptPrintNativeDataDelete :: PostScriptPrintNativeData  a ->  IO ()
+postScriptPrintNativeDataDelete
+  = objectDelete
+
+
+-- | usage: (@previewCanvasCreate preview parent xywh style@).
+previewCanvasCreate :: PrintPreview  a -> Window  b -> Rect -> Int ->  IO (PreviewCanvas  ())
+previewCanvasCreate preview parent xywh style 
+  = withObjectResult $
+    withObjectPtr preview $ \cobj_preview -> 
+    withObjectPtr parent $ \cobj_parent -> 
+    wxPreviewCanvas_Create cobj_preview  cobj_parent  (toCIntRectX xywh) (toCIntRectY xywh)(toCIntRectW xywh) (toCIntRectH xywh)  (toCInt style)  
+foreign import ccall "wxPreviewCanvas_Create" wxPreviewCanvas_Create :: Ptr (TPrintPreview a) -> Ptr (TWindow b) -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TPreviewCanvas ()))
+
+{- |  Usage: @previewFrameCreate printPreview parent title rect name @.  -}
+previewFrameCreate :: PrintPreview  a -> Frame  b -> String -> Rect -> Style -> String ->  IO (PreviewFrame  ())
+previewFrameCreate preview parent title xywidthheight _stl name 
+  = withObjectResult $
+    withObjectPtr preview $ \cobj_preview -> 
+    withObjectPtr parent $ \cobj_parent -> 
+    withStringPtr title $ \cobj_title -> 
+    withStringPtr name $ \cobj_name -> 
+    wxPreviewFrame_Create cobj_preview  cobj_parent  cobj_title  (toCIntRectX xywidthheight) (toCIntRectY xywidthheight)(toCIntRectW xywidthheight) (toCIntRectH xywidthheight)  (toCInt _stl)  cobj_name  
+foreign import ccall "wxPreviewFrame_Create" wxPreviewFrame_Create :: Ptr (TPrintPreview a) -> Ptr (TFrame b) -> Ptr (TWxString c) -> CInt -> CInt -> CInt -> CInt -> CInt -> Ptr (TWxString f) -> IO (Ptr (TPreviewFrame ()))
+
+-- | usage: (@previewFrameDelete self@).
+previewFrameDelete :: PreviewFrame  a ->  IO ()
+previewFrameDelete
+  = objectDelete
+
+
+{- |  Usage: @previewFrameInitialize self@, call this before showing the frame.  -}
+previewFrameInitialize :: PreviewFrame  a ->  IO ()
+previewFrameInitialize self 
+  = withObjectRef "previewFrameInitialize" self $ \cobj_self -> 
+    wxPreviewFrame_Initialize cobj_self  
+foreign import ccall "wxPreviewFrame_Initialize" wxPreviewFrame_Initialize :: Ptr (TPreviewFrame a) -> IO ()
+
+-- | usage: (@printDataAssign obj wxdata@).
+printDataAssign :: PrintData  a -> PrintData  b ->  IO ()
+printDataAssign _obj wxdata 
+  = withObjectRef "printDataAssign" _obj $ \cobj__obj -> 
+    withObjectPtr wxdata $ \cobj_wxdata -> 
+    wxPrintData_Assign cobj__obj  cobj_wxdata  
+foreign import ccall "wxPrintData_Assign" wxPrintData_Assign :: Ptr (TPrintData a) -> Ptr (TPrintData b) -> IO ()
+
+-- | usage: (@printDataCreate@).
+printDataCreate ::  IO (PrintData  ())
+printDataCreate 
+  = withManagedObjectResult $
+    wxPrintData_Create 
+foreign import ccall "wxPrintData_Create" wxPrintData_Create :: IO (Ptr (TPrintData ()))
+
+-- | usage: (@printDataDelete obj@).
+printDataDelete :: PrintData  a ->  IO ()
+printDataDelete
+  = objectDelete
+
+
+-- | usage: (@printDataGetCollate obj@).
+printDataGetCollate :: PrintData  a ->  IO Bool
+printDataGetCollate _obj 
+  = withBoolResult $
+    withObjectRef "printDataGetCollate" _obj $ \cobj__obj -> 
+    wxPrintData_GetCollate cobj__obj  
+foreign import ccall "wxPrintData_GetCollate" wxPrintData_GetCollate :: Ptr (TPrintData a) -> IO CBool
+
+-- | usage: (@printDataGetColour obj@).
+printDataGetColour :: PrintData  a ->  IO Bool
+printDataGetColour _obj 
+  = withBoolResult $
+    withObjectRef "printDataGetColour" _obj $ \cobj__obj -> 
+    wxPrintData_GetColour cobj__obj  
+foreign import ccall "wxPrintData_GetColour" wxPrintData_GetColour :: Ptr (TPrintData a) -> IO CBool
+
+-- | usage: (@printDataGetDuplex obj@).
+printDataGetDuplex :: PrintData  a ->  IO Int
+printDataGetDuplex _obj 
+  = withIntResult $
+    withObjectRef "printDataGetDuplex" _obj $ \cobj__obj -> 
+    wxPrintData_GetDuplex cobj__obj  
+foreign import ccall "wxPrintData_GetDuplex" wxPrintData_GetDuplex :: Ptr (TPrintData a) -> IO CInt
+
+-- | usage: (@printDataGetFilename obj@).
+printDataGetFilename :: PrintData  a ->  IO (String)
+printDataGetFilename _obj 
+  = withManagedStringResult $
+    withObjectRef "printDataGetFilename" _obj $ \cobj__obj -> 
+    wxPrintData_GetFilename cobj__obj  
+foreign import ccall "wxPrintData_GetFilename" wxPrintData_GetFilename :: Ptr (TPrintData a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@printDataGetFontMetricPath obj@).
+printDataGetFontMetricPath :: PrintData  a ->  IO (String)
+printDataGetFontMetricPath _obj 
+  = withManagedStringResult $
+    withObjectRef "printDataGetFontMetricPath" _obj $ \cobj__obj -> 
+    wxPrintData_GetFontMetricPath cobj__obj  
+foreign import ccall "wxPrintData_GetFontMetricPath" wxPrintData_GetFontMetricPath :: Ptr (TPrintData a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@printDataGetNoCopies obj@).
+printDataGetNoCopies :: PrintData  a ->  IO Int
+printDataGetNoCopies _obj 
+  = withIntResult $
+    withObjectRef "printDataGetNoCopies" _obj $ \cobj__obj -> 
+    wxPrintData_GetNoCopies cobj__obj  
+foreign import ccall "wxPrintData_GetNoCopies" wxPrintData_GetNoCopies :: Ptr (TPrintData a) -> IO CInt
+
+-- | usage: (@printDataGetOrientation obj@).
+printDataGetOrientation :: PrintData  a ->  IO Int
+printDataGetOrientation _obj 
+  = withIntResult $
+    withObjectRef "printDataGetOrientation" _obj $ \cobj__obj -> 
+    wxPrintData_GetOrientation cobj__obj  
+foreign import ccall "wxPrintData_GetOrientation" wxPrintData_GetOrientation :: Ptr (TPrintData a) -> IO CInt
+
+-- | usage: (@printDataGetPaperId obj@).
+printDataGetPaperId :: PrintData  a ->  IO Int
+printDataGetPaperId _obj 
+  = withIntResult $
+    withObjectRef "printDataGetPaperId" _obj $ \cobj__obj -> 
+    wxPrintData_GetPaperId cobj__obj  
+foreign import ccall "wxPrintData_GetPaperId" wxPrintData_GetPaperId :: Ptr (TPrintData a) -> IO CInt
+
+-- | usage: (@printDataGetPaperSize obj@).
+printDataGetPaperSize :: PrintData  a ->  IO (Size)
+printDataGetPaperSize _obj 
+  = withWxSizeResult $
+    withObjectRef "printDataGetPaperSize" _obj $ \cobj__obj -> 
+    wxPrintData_GetPaperSize cobj__obj  
+foreign import ccall "wxPrintData_GetPaperSize" wxPrintData_GetPaperSize :: Ptr (TPrintData a) -> IO (Ptr (TWxSize ()))
+
+-- | usage: (@printDataGetPreviewCommand obj@).
+printDataGetPreviewCommand :: PrintData  a ->  IO (String)
+printDataGetPreviewCommand _obj 
+  = withManagedStringResult $
+    withObjectRef "printDataGetPreviewCommand" _obj $ \cobj__obj -> 
+    wxPrintData_GetPreviewCommand cobj__obj  
+foreign import ccall "wxPrintData_GetPreviewCommand" wxPrintData_GetPreviewCommand :: Ptr (TPrintData a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@printDataGetPrintMode obj@).
+printDataGetPrintMode :: PrintData  a ->  IO Int
+printDataGetPrintMode _obj 
+  = withIntResult $
+    withObjectRef "printDataGetPrintMode" _obj $ \cobj__obj -> 
+    wxPrintData_GetPrintMode cobj__obj  
+foreign import ccall "wxPrintData_GetPrintMode" wxPrintData_GetPrintMode :: Ptr (TPrintData a) -> IO CInt
+
+-- | usage: (@printDataGetPrinterCommand obj@).
+printDataGetPrinterCommand :: PrintData  a ->  IO (String)
+printDataGetPrinterCommand _obj 
+  = withManagedStringResult $
+    withObjectRef "printDataGetPrinterCommand" _obj $ \cobj__obj -> 
+    wxPrintData_GetPrinterCommand cobj__obj  
+foreign import ccall "wxPrintData_GetPrinterCommand" wxPrintData_GetPrinterCommand :: Ptr (TPrintData a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@printDataGetPrinterName obj@).
+printDataGetPrinterName :: PrintData  a ->  IO (String)
+printDataGetPrinterName _obj 
+  = withManagedStringResult $
+    withObjectRef "printDataGetPrinterName" _obj $ \cobj__obj -> 
+    wxPrintData_GetPrinterName cobj__obj  
+foreign import ccall "wxPrintData_GetPrinterName" wxPrintData_GetPrinterName :: Ptr (TPrintData a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@printDataGetPrinterOptions obj@).
+printDataGetPrinterOptions :: PrintData  a ->  IO (String)
+printDataGetPrinterOptions _obj 
+  = withManagedStringResult $
+    withObjectRef "printDataGetPrinterOptions" _obj $ \cobj__obj -> 
+    wxPrintData_GetPrinterOptions cobj__obj  
+foreign import ccall "wxPrintData_GetPrinterOptions" wxPrintData_GetPrinterOptions :: Ptr (TPrintData a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@printDataGetPrinterScaleX obj@).
+printDataGetPrinterScaleX :: PrintData  a ->  IO Double
+printDataGetPrinterScaleX _obj 
+  = withObjectRef "printDataGetPrinterScaleX" _obj $ \cobj__obj -> 
+    wxPrintData_GetPrinterScaleX cobj__obj  
+foreign import ccall "wxPrintData_GetPrinterScaleX" wxPrintData_GetPrinterScaleX :: Ptr (TPrintData a) -> IO Double
+
+-- | usage: (@printDataGetPrinterScaleY obj@).
+printDataGetPrinterScaleY :: PrintData  a ->  IO Double
+printDataGetPrinterScaleY _obj 
+  = withObjectRef "printDataGetPrinterScaleY" _obj $ \cobj__obj -> 
+    wxPrintData_GetPrinterScaleY cobj__obj  
+foreign import ccall "wxPrintData_GetPrinterScaleY" wxPrintData_GetPrinterScaleY :: Ptr (TPrintData a) -> IO Double
+
+-- | usage: (@printDataGetPrinterTranslateX obj@).
+printDataGetPrinterTranslateX :: PrintData  a ->  IO Int
+printDataGetPrinterTranslateX _obj 
+  = withIntResult $
+    withObjectRef "printDataGetPrinterTranslateX" _obj $ \cobj__obj -> 
+    wxPrintData_GetPrinterTranslateX cobj__obj  
+foreign import ccall "wxPrintData_GetPrinterTranslateX" wxPrintData_GetPrinterTranslateX :: Ptr (TPrintData a) -> IO CInt
+
+-- | usage: (@printDataGetPrinterTranslateY obj@).
+printDataGetPrinterTranslateY :: PrintData  a ->  IO Int
+printDataGetPrinterTranslateY _obj 
+  = withIntResult $
+    withObjectRef "printDataGetPrinterTranslateY" _obj $ \cobj__obj -> 
+    wxPrintData_GetPrinterTranslateY cobj__obj  
+foreign import ccall "wxPrintData_GetPrinterTranslateY" wxPrintData_GetPrinterTranslateY :: Ptr (TPrintData a) -> IO CInt
+
+-- | usage: (@printDataGetQuality obj@).
+printDataGetQuality :: PrintData  a ->  IO Int
+printDataGetQuality _obj 
+  = withIntResult $
+    withObjectRef "printDataGetQuality" _obj $ \cobj__obj -> 
+    wxPrintData_GetQuality cobj__obj  
+foreign import ccall "wxPrintData_GetQuality" wxPrintData_GetQuality :: Ptr (TPrintData a) -> IO CInt
+
+-- | usage: (@printDataSetCollate obj flag@).
+printDataSetCollate :: PrintData  a -> Bool ->  IO ()
+printDataSetCollate _obj flag 
+  = withObjectRef "printDataSetCollate" _obj $ \cobj__obj -> 
+    wxPrintData_SetCollate cobj__obj  (toCBool flag)  
+foreign import ccall "wxPrintData_SetCollate" wxPrintData_SetCollate :: Ptr (TPrintData a) -> CBool -> IO ()
+
+-- | usage: (@printDataSetColour obj colour@).
+printDataSetColour :: PrintData  a -> Bool ->  IO ()
+printDataSetColour _obj colour 
+  = withObjectRef "printDataSetColour" _obj $ \cobj__obj -> 
+    wxPrintData_SetColour cobj__obj  (toCBool colour)  
+foreign import ccall "wxPrintData_SetColour" wxPrintData_SetColour :: Ptr (TPrintData a) -> CBool -> IO ()
+
+-- | usage: (@printDataSetDuplex obj duplex@).
+printDataSetDuplex :: PrintData  a -> Int ->  IO ()
+printDataSetDuplex _obj duplex 
+  = withObjectRef "printDataSetDuplex" _obj $ \cobj__obj -> 
+    wxPrintData_SetDuplex cobj__obj  (toCInt duplex)  
+foreign import ccall "wxPrintData_SetDuplex" wxPrintData_SetDuplex :: Ptr (TPrintData a) -> CInt -> IO ()
+
+-- | usage: (@printDataSetFilename obj filename@).
+printDataSetFilename :: PrintData  a -> String ->  IO ()
+printDataSetFilename _obj filename 
+  = withObjectRef "printDataSetFilename" _obj $ \cobj__obj -> 
+    withStringPtr filename $ \cobj_filename -> 
+    wxPrintData_SetFilename cobj__obj  cobj_filename  
+foreign import ccall "wxPrintData_SetFilename" wxPrintData_SetFilename :: Ptr (TPrintData a) -> Ptr (TWxString b) -> IO ()
+
+-- | usage: (@printDataSetFontMetricPath obj path@).
+printDataSetFontMetricPath :: PrintData  a -> String ->  IO ()
+printDataSetFontMetricPath _obj path 
+  = withObjectRef "printDataSetFontMetricPath" _obj $ \cobj__obj -> 
+    withStringPtr path $ \cobj_path -> 
+    wxPrintData_SetFontMetricPath cobj__obj  cobj_path  
+foreign import ccall "wxPrintData_SetFontMetricPath" wxPrintData_SetFontMetricPath :: Ptr (TPrintData a) -> Ptr (TWxString b) -> IO ()
+
+-- | usage: (@printDataSetNoCopies obj v@).
+printDataSetNoCopies :: PrintData  a -> Int ->  IO ()
+printDataSetNoCopies _obj v 
+  = withObjectRef "printDataSetNoCopies" _obj $ \cobj__obj -> 
+    wxPrintData_SetNoCopies cobj__obj  (toCInt v)  
+foreign import ccall "wxPrintData_SetNoCopies" wxPrintData_SetNoCopies :: Ptr (TPrintData a) -> CInt -> IO ()
+
+-- | usage: (@printDataSetOrientation obj orient@).
+printDataSetOrientation :: PrintData  a -> Int ->  IO ()
+printDataSetOrientation _obj orient 
+  = withObjectRef "printDataSetOrientation" _obj $ \cobj__obj -> 
+    wxPrintData_SetOrientation cobj__obj  (toCInt orient)  
+foreign import ccall "wxPrintData_SetOrientation" wxPrintData_SetOrientation :: Ptr (TPrintData a) -> CInt -> IO ()
+
+-- | usage: (@printDataSetPaperId obj sizeId@).
+printDataSetPaperId :: PrintData  a -> Int ->  IO ()
+printDataSetPaperId _obj sizeId 
+  = withObjectRef "printDataSetPaperId" _obj $ \cobj__obj -> 
+    wxPrintData_SetPaperId cobj__obj  (toCInt sizeId)  
+foreign import ccall "wxPrintData_SetPaperId" wxPrintData_SetPaperId :: Ptr (TPrintData a) -> CInt -> IO ()
+
+-- | usage: (@printDataSetPaperSize obj wh@).
+printDataSetPaperSize :: PrintData  a -> Size ->  IO ()
+printDataSetPaperSize _obj wh 
+  = withObjectRef "printDataSetPaperSize" _obj $ \cobj__obj -> 
+    wxPrintData_SetPaperSize cobj__obj  (toCIntSizeW wh) (toCIntSizeH wh)  
+foreign import ccall "wxPrintData_SetPaperSize" wxPrintData_SetPaperSize :: Ptr (TPrintData a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@printDataSetPreviewCommand obj command@).
+printDataSetPreviewCommand :: PrintData  a -> Command  b ->  IO ()
+printDataSetPreviewCommand _obj command 
+  = withObjectRef "printDataSetPreviewCommand" _obj $ \cobj__obj -> 
+    withObjectPtr command $ \cobj_command -> 
+    wxPrintData_SetPreviewCommand cobj__obj  cobj_command  
+foreign import ccall "wxPrintData_SetPreviewCommand" wxPrintData_SetPreviewCommand :: Ptr (TPrintData a) -> Ptr (TCommand b) -> IO ()
+
+-- | usage: (@printDataSetPrintMode obj printMode@).
+printDataSetPrintMode :: PrintData  a -> Int ->  IO ()
+printDataSetPrintMode _obj printMode 
+  = withObjectRef "printDataSetPrintMode" _obj $ \cobj__obj -> 
+    wxPrintData_SetPrintMode cobj__obj  (toCInt printMode)  
+foreign import ccall "wxPrintData_SetPrintMode" wxPrintData_SetPrintMode :: Ptr (TPrintData a) -> CInt -> IO ()
+
+-- | usage: (@printDataSetPrinterCommand obj command@).
+printDataSetPrinterCommand :: PrintData  a -> Command  b ->  IO ()
+printDataSetPrinterCommand _obj command 
+  = withObjectRef "printDataSetPrinterCommand" _obj $ \cobj__obj -> 
+    withObjectPtr command $ \cobj_command -> 
+    wxPrintData_SetPrinterCommand cobj__obj  cobj_command  
+foreign import ccall "wxPrintData_SetPrinterCommand" wxPrintData_SetPrinterCommand :: Ptr (TPrintData a) -> Ptr (TCommand b) -> IO ()
+
+-- | usage: (@printDataSetPrinterName obj name@).
+printDataSetPrinterName :: PrintData  a -> String ->  IO ()
+printDataSetPrinterName _obj name 
+  = withObjectRef "printDataSetPrinterName" _obj $ \cobj__obj -> 
+    withStringPtr name $ \cobj_name -> 
+    wxPrintData_SetPrinterName cobj__obj  cobj_name  
+foreign import ccall "wxPrintData_SetPrinterName" wxPrintData_SetPrinterName :: Ptr (TPrintData a) -> Ptr (TWxString b) -> IO ()
+
+-- | usage: (@printDataSetPrinterOptions obj options@).
+printDataSetPrinterOptions :: PrintData  a -> String ->  IO ()
+printDataSetPrinterOptions _obj options 
+  = withObjectRef "printDataSetPrinterOptions" _obj $ \cobj__obj -> 
+    withStringPtr options $ \cobj_options -> 
+    wxPrintData_SetPrinterOptions cobj__obj  cobj_options  
+foreign import ccall "wxPrintData_SetPrinterOptions" wxPrintData_SetPrinterOptions :: Ptr (TPrintData a) -> Ptr (TWxString b) -> IO ()
+
+-- | usage: (@printDataSetPrinterScaleX obj x@).
+printDataSetPrinterScaleX :: PrintData  a -> Double ->  IO ()
+printDataSetPrinterScaleX _obj x 
+  = withObjectRef "printDataSetPrinterScaleX" _obj $ \cobj__obj -> 
+    wxPrintData_SetPrinterScaleX cobj__obj  x  
+foreign import ccall "wxPrintData_SetPrinterScaleX" wxPrintData_SetPrinterScaleX :: Ptr (TPrintData a) -> Double -> IO ()
+
+-- | usage: (@printDataSetPrinterScaleY obj y@).
+printDataSetPrinterScaleY :: PrintData  a -> Double ->  IO ()
+printDataSetPrinterScaleY _obj y 
+  = withObjectRef "printDataSetPrinterScaleY" _obj $ \cobj__obj -> 
+    wxPrintData_SetPrinterScaleY cobj__obj  y  
+foreign import ccall "wxPrintData_SetPrinterScaleY" wxPrintData_SetPrinterScaleY :: Ptr (TPrintData a) -> Double -> IO ()
+
+-- | usage: (@printDataSetPrinterScaling obj x y@).
+printDataSetPrinterScaling :: PrintData  a -> Double -> Double ->  IO ()
+printDataSetPrinterScaling _obj x y 
+  = withObjectRef "printDataSetPrinterScaling" _obj $ \cobj__obj -> 
+    wxPrintData_SetPrinterScaling cobj__obj  x  y  
+foreign import ccall "wxPrintData_SetPrinterScaling" wxPrintData_SetPrinterScaling :: Ptr (TPrintData a) -> Double -> Double -> IO ()
+
+-- | usage: (@printDataSetPrinterTranslateX obj x@).
+printDataSetPrinterTranslateX :: PrintData  a -> Int ->  IO ()
+printDataSetPrinterTranslateX _obj x 
+  = withObjectRef "printDataSetPrinterTranslateX" _obj $ \cobj__obj -> 
+    wxPrintData_SetPrinterTranslateX cobj__obj  (toCInt x)  
+foreign import ccall "wxPrintData_SetPrinterTranslateX" wxPrintData_SetPrinterTranslateX :: Ptr (TPrintData a) -> CInt -> IO ()
+
+-- | usage: (@printDataSetPrinterTranslateY obj y@).
+printDataSetPrinterTranslateY :: PrintData  a -> Int ->  IO ()
+printDataSetPrinterTranslateY _obj y 
+  = withObjectRef "printDataSetPrinterTranslateY" _obj $ \cobj__obj -> 
+    wxPrintData_SetPrinterTranslateY cobj__obj  (toCInt y)  
+foreign import ccall "wxPrintData_SetPrinterTranslateY" wxPrintData_SetPrinterTranslateY :: Ptr (TPrintData a) -> CInt -> IO ()
+
+-- | usage: (@printDataSetPrinterTranslation obj xy@).
+printDataSetPrinterTranslation :: PrintData  a -> Point ->  IO ()
+printDataSetPrinterTranslation _obj xy 
+  = withObjectRef "printDataSetPrinterTranslation" _obj $ \cobj__obj -> 
+    wxPrintData_SetPrinterTranslation cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  
+foreign import ccall "wxPrintData_SetPrinterTranslation" wxPrintData_SetPrinterTranslation :: Ptr (TPrintData a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@printDataSetQuality obj quality@).
+printDataSetQuality :: PrintData  a -> Int ->  IO ()
+printDataSetQuality _obj quality 
+  = withObjectRef "printDataSetQuality" _obj $ \cobj__obj -> 
+    wxPrintData_SetQuality cobj__obj  (toCInt quality)  
+foreign import ccall "wxPrintData_SetQuality" wxPrintData_SetQuality :: Ptr (TPrintData a) -> CInt -> IO ()
+
+-- | usage: (@printDialogCreate parent wxdata@).
+printDialogCreate :: Window  a -> PrintDialogData  b ->  IO (PrintDialog  ())
+printDialogCreate parent wxdata 
+  = withObjectResult $
+    withObjectPtr parent $ \cobj_parent -> 
+    withObjectPtr wxdata $ \cobj_wxdata -> 
+    wxPrintDialog_Create cobj_parent  cobj_wxdata  
+foreign import ccall "wxPrintDialog_Create" wxPrintDialog_Create :: Ptr (TWindow a) -> Ptr (TPrintDialogData b) -> IO (Ptr (TPrintDialog ()))
+
+-- | usage: (@printDialogDataAssign obj wxdata@).
+printDialogDataAssign :: PrintDialogData  a -> PrintDialogData  b ->  IO ()
+printDialogDataAssign _obj wxdata 
+  = withObjectRef "printDialogDataAssign" _obj $ \cobj__obj -> 
+    withObjectPtr wxdata $ \cobj_wxdata -> 
+    wxPrintDialogData_Assign cobj__obj  cobj_wxdata  
+foreign import ccall "wxPrintDialogData_Assign" wxPrintDialogData_Assign :: Ptr (TPrintDialogData a) -> Ptr (TPrintDialogData b) -> IO ()
+
+-- | usage: (@printDialogDataAssignData obj wxdata@).
+printDialogDataAssignData :: PrintDialogData  a -> PrintData  b ->  IO ()
+printDialogDataAssignData _obj wxdata 
+  = withObjectRef "printDialogDataAssignData" _obj $ \cobj__obj -> 
+    withObjectPtr wxdata $ \cobj_wxdata -> 
+    wxPrintDialogData_AssignData cobj__obj  cobj_wxdata  
+foreign import ccall "wxPrintDialogData_AssignData" wxPrintDialogData_AssignData :: Ptr (TPrintDialogData a) -> Ptr (TPrintData b) -> IO ()
+
+-- | usage: (@printDialogDataCreateDefault@).
+printDialogDataCreateDefault ::  IO (PrintDialogData  ())
+printDialogDataCreateDefault 
+  = withManagedObjectResult $
+    wxPrintDialogData_CreateDefault 
+foreign import ccall "wxPrintDialogData_CreateDefault" wxPrintDialogData_CreateDefault :: IO (Ptr (TPrintDialogData ()))
+
+-- | usage: (@printDialogDataCreateFromData printData@).
+printDialogDataCreateFromData :: PrintData  a ->  IO (PrintDialogData  ())
+printDialogDataCreateFromData printData 
+  = withManagedObjectResult $
+    withObjectPtr printData $ \cobj_printData -> 
+    wxPrintDialogData_CreateFromData cobj_printData  
+foreign import ccall "wxPrintDialogData_CreateFromData" wxPrintDialogData_CreateFromData :: Ptr (TPrintData a) -> IO (Ptr (TPrintDialogData ()))
+
+-- | usage: (@printDialogDataDelete obj@).
+printDialogDataDelete :: PrintDialogData  a ->  IO ()
+printDialogDataDelete
+  = objectDelete
+
+
+-- | usage: (@printDialogDataEnableHelp obj flag@).
+printDialogDataEnableHelp :: PrintDialogData  a -> Bool ->  IO ()
+printDialogDataEnableHelp _obj flag 
+  = withObjectRef "printDialogDataEnableHelp" _obj $ \cobj__obj -> 
+    wxPrintDialogData_EnableHelp cobj__obj  (toCBool flag)  
+foreign import ccall "wxPrintDialogData_EnableHelp" wxPrintDialogData_EnableHelp :: Ptr (TPrintDialogData a) -> CBool -> IO ()
+
+-- | usage: (@printDialogDataEnablePageNumbers obj flag@).
+printDialogDataEnablePageNumbers :: PrintDialogData  a -> Bool ->  IO ()
+printDialogDataEnablePageNumbers _obj flag 
+  = withObjectRef "printDialogDataEnablePageNumbers" _obj $ \cobj__obj -> 
+    wxPrintDialogData_EnablePageNumbers cobj__obj  (toCBool flag)  
+foreign import ccall "wxPrintDialogData_EnablePageNumbers" wxPrintDialogData_EnablePageNumbers :: Ptr (TPrintDialogData a) -> CBool -> IO ()
+
+-- | usage: (@printDialogDataEnablePrintToFile obj flag@).
+printDialogDataEnablePrintToFile :: PrintDialogData  a -> Bool ->  IO ()
+printDialogDataEnablePrintToFile _obj flag 
+  = withObjectRef "printDialogDataEnablePrintToFile" _obj $ \cobj__obj -> 
+    wxPrintDialogData_EnablePrintToFile cobj__obj  (toCBool flag)  
+foreign import ccall "wxPrintDialogData_EnablePrintToFile" wxPrintDialogData_EnablePrintToFile :: Ptr (TPrintDialogData a) -> CBool -> IO ()
+
+-- | usage: (@printDialogDataEnableSelection obj flag@).
+printDialogDataEnableSelection :: PrintDialogData  a -> Bool ->  IO ()
+printDialogDataEnableSelection _obj flag 
+  = withObjectRef "printDialogDataEnableSelection" _obj $ \cobj__obj -> 
+    wxPrintDialogData_EnableSelection cobj__obj  (toCBool flag)  
+foreign import ccall "wxPrintDialogData_EnableSelection" wxPrintDialogData_EnableSelection :: Ptr (TPrintDialogData a) -> CBool -> IO ()
+
+-- | usage: (@printDialogDataGetAllPages obj@).
+printDialogDataGetAllPages :: PrintDialogData  a ->  IO Int
+printDialogDataGetAllPages _obj 
+  = withIntResult $
+    withObjectRef "printDialogDataGetAllPages" _obj $ \cobj__obj -> 
+    wxPrintDialogData_GetAllPages cobj__obj  
+foreign import ccall "wxPrintDialogData_GetAllPages" wxPrintDialogData_GetAllPages :: Ptr (TPrintDialogData a) -> IO CInt
+
+-- | usage: (@printDialogDataGetCollate obj@).
+printDialogDataGetCollate :: PrintDialogData  a ->  IO Bool
+printDialogDataGetCollate _obj 
+  = withBoolResult $
+    withObjectRef "printDialogDataGetCollate" _obj $ \cobj__obj -> 
+    wxPrintDialogData_GetCollate cobj__obj  
+foreign import ccall "wxPrintDialogData_GetCollate" wxPrintDialogData_GetCollate :: Ptr (TPrintDialogData a) -> IO CBool
+
+-- | usage: (@printDialogDataGetEnableHelp obj@).
+printDialogDataGetEnableHelp :: PrintDialogData  a ->  IO Bool
+printDialogDataGetEnableHelp _obj 
+  = withBoolResult $
+    withObjectRef "printDialogDataGetEnableHelp" _obj $ \cobj__obj -> 
+    wxPrintDialogData_GetEnableHelp cobj__obj  
+foreign import ccall "wxPrintDialogData_GetEnableHelp" wxPrintDialogData_GetEnableHelp :: Ptr (TPrintDialogData a) -> IO CBool
+
+-- | usage: (@printDialogDataGetEnablePageNumbers obj@).
+printDialogDataGetEnablePageNumbers :: PrintDialogData  a ->  IO Bool
+printDialogDataGetEnablePageNumbers _obj 
+  = withBoolResult $
+    withObjectRef "printDialogDataGetEnablePageNumbers" _obj $ \cobj__obj -> 
+    wxPrintDialogData_GetEnablePageNumbers cobj__obj  
+foreign import ccall "wxPrintDialogData_GetEnablePageNumbers" wxPrintDialogData_GetEnablePageNumbers :: Ptr (TPrintDialogData a) -> IO CBool
+
+-- | usage: (@printDialogDataGetEnablePrintToFile obj@).
+printDialogDataGetEnablePrintToFile :: PrintDialogData  a ->  IO Bool
+printDialogDataGetEnablePrintToFile _obj 
+  = withBoolResult $
+    withObjectRef "printDialogDataGetEnablePrintToFile" _obj $ \cobj__obj -> 
+    wxPrintDialogData_GetEnablePrintToFile cobj__obj  
+foreign import ccall "wxPrintDialogData_GetEnablePrintToFile" wxPrintDialogData_GetEnablePrintToFile :: Ptr (TPrintDialogData a) -> IO CBool
+
+-- | usage: (@printDialogDataGetEnableSelection obj@).
+printDialogDataGetEnableSelection :: PrintDialogData  a ->  IO Bool
+printDialogDataGetEnableSelection _obj 
+  = withBoolResult $
+    withObjectRef "printDialogDataGetEnableSelection" _obj $ \cobj__obj -> 
+    wxPrintDialogData_GetEnableSelection cobj__obj  
+foreign import ccall "wxPrintDialogData_GetEnableSelection" wxPrintDialogData_GetEnableSelection :: Ptr (TPrintDialogData a) -> IO CBool
+
+-- | usage: (@printDialogDataGetFromPage obj@).
+printDialogDataGetFromPage :: PrintDialogData  a ->  IO Int
+printDialogDataGetFromPage _obj 
+  = withIntResult $
+    withObjectRef "printDialogDataGetFromPage" _obj $ \cobj__obj -> 
+    wxPrintDialogData_GetFromPage cobj__obj  
+foreign import ccall "wxPrintDialogData_GetFromPage" wxPrintDialogData_GetFromPage :: Ptr (TPrintDialogData a) -> IO CInt
+
+-- | usage: (@printDialogDataGetMaxPage obj@).
+printDialogDataGetMaxPage :: PrintDialogData  a ->  IO Int
+printDialogDataGetMaxPage _obj 
+  = withIntResult $
+    withObjectRef "printDialogDataGetMaxPage" _obj $ \cobj__obj -> 
+    wxPrintDialogData_GetMaxPage cobj__obj  
+foreign import ccall "wxPrintDialogData_GetMaxPage" wxPrintDialogData_GetMaxPage :: Ptr (TPrintDialogData a) -> IO CInt
+
+-- | usage: (@printDialogDataGetMinPage obj@).
+printDialogDataGetMinPage :: PrintDialogData  a ->  IO Int
+printDialogDataGetMinPage _obj 
+  = withIntResult $
+    withObjectRef "printDialogDataGetMinPage" _obj $ \cobj__obj -> 
+    wxPrintDialogData_GetMinPage cobj__obj  
+foreign import ccall "wxPrintDialogData_GetMinPage" wxPrintDialogData_GetMinPage :: Ptr (TPrintDialogData a) -> IO CInt
+
+-- | usage: (@printDialogDataGetNoCopies obj@).
+printDialogDataGetNoCopies :: PrintDialogData  a ->  IO Int
+printDialogDataGetNoCopies _obj 
+  = withIntResult $
+    withObjectRef "printDialogDataGetNoCopies" _obj $ \cobj__obj -> 
+    wxPrintDialogData_GetNoCopies cobj__obj  
+foreign import ccall "wxPrintDialogData_GetNoCopies" wxPrintDialogData_GetNoCopies :: Ptr (TPrintDialogData a) -> IO CInt
+
+-- | usage: (@printDialogDataGetPrintData obj@).
+printDialogDataGetPrintData :: PrintDialogData  a ->  IO (PrintData  ())
+printDialogDataGetPrintData _obj 
+  = withRefPrintData $ \pref -> 
+    withObjectRef "printDialogDataGetPrintData" _obj $ \cobj__obj -> 
+    wxPrintDialogData_GetPrintData cobj__obj   pref
+foreign import ccall "wxPrintDialogData_GetPrintData" wxPrintDialogData_GetPrintData :: Ptr (TPrintDialogData a) -> Ptr (TPrintData ()) -> IO ()
+
+-- | usage: (@printDialogDataGetPrintToFile obj@).
+printDialogDataGetPrintToFile :: PrintDialogData  a ->  IO Bool
+printDialogDataGetPrintToFile _obj 
+  = withBoolResult $
+    withObjectRef "printDialogDataGetPrintToFile" _obj $ \cobj__obj -> 
+    wxPrintDialogData_GetPrintToFile cobj__obj  
+foreign import ccall "wxPrintDialogData_GetPrintToFile" wxPrintDialogData_GetPrintToFile :: Ptr (TPrintDialogData a) -> IO CBool
+
+-- | usage: (@printDialogDataGetSelection obj@).
+printDialogDataGetSelection :: PrintDialogData  a ->  IO Bool
+printDialogDataGetSelection _obj 
+  = withBoolResult $
+    withObjectRef "printDialogDataGetSelection" _obj $ \cobj__obj -> 
+    wxPrintDialogData_GetSelection cobj__obj  
+foreign import ccall "wxPrintDialogData_GetSelection" wxPrintDialogData_GetSelection :: Ptr (TPrintDialogData a) -> IO CBool
+
+-- | usage: (@printDialogDataGetToPage obj@).
+printDialogDataGetToPage :: PrintDialogData  a ->  IO Int
+printDialogDataGetToPage _obj 
+  = withIntResult $
+    withObjectRef "printDialogDataGetToPage" _obj $ \cobj__obj -> 
+    wxPrintDialogData_GetToPage cobj__obj  
+foreign import ccall "wxPrintDialogData_GetToPage" wxPrintDialogData_GetToPage :: Ptr (TPrintDialogData a) -> IO CInt
+
+-- | usage: (@printDialogDataSetAllPages obj flag@).
+printDialogDataSetAllPages :: PrintDialogData  a -> Bool ->  IO ()
+printDialogDataSetAllPages _obj flag 
+  = withObjectRef "printDialogDataSetAllPages" _obj $ \cobj__obj -> 
+    wxPrintDialogData_SetAllPages cobj__obj  (toCBool flag)  
+foreign import ccall "wxPrintDialogData_SetAllPages" wxPrintDialogData_SetAllPages :: Ptr (TPrintDialogData a) -> CBool -> IO ()
+
+-- | usage: (@printDialogDataSetCollate obj flag@).
+printDialogDataSetCollate :: PrintDialogData  a -> Bool ->  IO ()
+printDialogDataSetCollate _obj flag 
+  = withObjectRef "printDialogDataSetCollate" _obj $ \cobj__obj -> 
+    wxPrintDialogData_SetCollate cobj__obj  (toCBool flag)  
+foreign import ccall "wxPrintDialogData_SetCollate" wxPrintDialogData_SetCollate :: Ptr (TPrintDialogData a) -> CBool -> IO ()
+
+-- | usage: (@printDialogDataSetFromPage obj v@).
+printDialogDataSetFromPage :: PrintDialogData  a -> Int ->  IO ()
+printDialogDataSetFromPage _obj v 
+  = withObjectRef "printDialogDataSetFromPage" _obj $ \cobj__obj -> 
+    wxPrintDialogData_SetFromPage cobj__obj  (toCInt v)  
+foreign import ccall "wxPrintDialogData_SetFromPage" wxPrintDialogData_SetFromPage :: Ptr (TPrintDialogData a) -> CInt -> IO ()
+
+-- | usage: (@printDialogDataSetMaxPage obj v@).
+printDialogDataSetMaxPage :: PrintDialogData  a -> Int ->  IO ()
+printDialogDataSetMaxPage _obj v 
+  = withObjectRef "printDialogDataSetMaxPage" _obj $ \cobj__obj -> 
+    wxPrintDialogData_SetMaxPage cobj__obj  (toCInt v)  
+foreign import ccall "wxPrintDialogData_SetMaxPage" wxPrintDialogData_SetMaxPage :: Ptr (TPrintDialogData a) -> CInt -> IO ()
+
+-- | usage: (@printDialogDataSetMinPage obj v@).
+printDialogDataSetMinPage :: PrintDialogData  a -> Int ->  IO ()
+printDialogDataSetMinPage _obj v 
+  = withObjectRef "printDialogDataSetMinPage" _obj $ \cobj__obj -> 
+    wxPrintDialogData_SetMinPage cobj__obj  (toCInt v)  
+foreign import ccall "wxPrintDialogData_SetMinPage" wxPrintDialogData_SetMinPage :: Ptr (TPrintDialogData a) -> CInt -> IO ()
+
+-- | usage: (@printDialogDataSetNoCopies obj v@).
+printDialogDataSetNoCopies :: PrintDialogData  a -> Int ->  IO ()
+printDialogDataSetNoCopies _obj v 
+  = withObjectRef "printDialogDataSetNoCopies" _obj $ \cobj__obj -> 
+    wxPrintDialogData_SetNoCopies cobj__obj  (toCInt v)  
+foreign import ccall "wxPrintDialogData_SetNoCopies" wxPrintDialogData_SetNoCopies :: Ptr (TPrintDialogData a) -> CInt -> IO ()
+
+-- | usage: (@printDialogDataSetPrintData obj printData@).
+printDialogDataSetPrintData :: PrintDialogData  a -> PrintData  b ->  IO ()
+printDialogDataSetPrintData _obj printData 
+  = withObjectRef "printDialogDataSetPrintData" _obj $ \cobj__obj -> 
+    withObjectPtr printData $ \cobj_printData -> 
+    wxPrintDialogData_SetPrintData cobj__obj  cobj_printData  
+foreign import ccall "wxPrintDialogData_SetPrintData" wxPrintDialogData_SetPrintData :: Ptr (TPrintDialogData a) -> Ptr (TPrintData b) -> IO ()
+
+-- | usage: (@printDialogDataSetPrintToFile obj flag@).
+printDialogDataSetPrintToFile :: PrintDialogData  a -> Bool ->  IO ()
+printDialogDataSetPrintToFile _obj flag 
+  = withObjectRef "printDialogDataSetPrintToFile" _obj $ \cobj__obj -> 
+    wxPrintDialogData_SetPrintToFile cobj__obj  (toCBool flag)  
+foreign import ccall "wxPrintDialogData_SetPrintToFile" wxPrintDialogData_SetPrintToFile :: Ptr (TPrintDialogData a) -> CBool -> IO ()
+
+-- | usage: (@printDialogDataSetSelection obj flag@).
+printDialogDataSetSelection :: PrintDialogData  a -> Bool ->  IO ()
+printDialogDataSetSelection _obj flag 
+  = withObjectRef "printDialogDataSetSelection" _obj $ \cobj__obj -> 
+    wxPrintDialogData_SetSelection cobj__obj  (toCBool flag)  
+foreign import ccall "wxPrintDialogData_SetSelection" wxPrintDialogData_SetSelection :: Ptr (TPrintDialogData a) -> CBool -> IO ()
+
+-- | usage: (@printDialogDataSetToPage obj v@).
+printDialogDataSetToPage :: PrintDialogData  a -> Int ->  IO ()
+printDialogDataSetToPage _obj v 
+  = withObjectRef "printDialogDataSetToPage" _obj $ \cobj__obj -> 
+    wxPrintDialogData_SetToPage cobj__obj  (toCInt v)  
+foreign import ccall "wxPrintDialogData_SetToPage" wxPrintDialogData_SetToPage :: Ptr (TPrintDialogData a) -> CInt -> IO ()
+
+-- | usage: (@printDialogGetPrintDC obj@).
+printDialogGetPrintDC :: PrintDialog  a ->  IO (DC  ())
+printDialogGetPrintDC _obj 
+  = withObjectResult $
+    withObjectRef "printDialogGetPrintDC" _obj $ \cobj__obj -> 
+    wxPrintDialog_GetPrintDC cobj__obj  
+foreign import ccall "wxPrintDialog_GetPrintDC" wxPrintDialog_GetPrintDC :: Ptr (TPrintDialog a) -> IO (Ptr (TDC ()))
+
+-- | usage: (@printDialogGetPrintData obj@).
+printDialogGetPrintData :: PrintDialog  a ->  IO (PrintData  ())
+printDialogGetPrintData _obj 
+  = withRefPrintData $ \pref -> 
+    withObjectRef "printDialogGetPrintData" _obj $ \cobj__obj -> 
+    wxPrintDialog_GetPrintData cobj__obj   pref
+foreign import ccall "wxPrintDialog_GetPrintData" wxPrintDialog_GetPrintData :: Ptr (TPrintDialog a) -> Ptr (TPrintData ()) -> IO ()
+
+-- | usage: (@printDialogGetPrintDialogData obj@).
+printDialogGetPrintDialogData :: PrintDialog  a ->  IO (PrintDialogData  ())
+printDialogGetPrintDialogData _obj 
+  = withManagedObjectResult $
+    withObjectRef "printDialogGetPrintDialogData" _obj $ \cobj__obj -> 
+    wxPrintDialog_GetPrintDialogData cobj__obj  
+foreign import ccall "wxPrintDialog_GetPrintDialogData" wxPrintDialog_GetPrintDialogData :: Ptr (TPrintDialog a) -> IO (Ptr (TPrintDialogData ()))
+
+-- | usage: (@printPreviewCreateFromData printout printoutForPrinting wxdata@).
+printPreviewCreateFromData :: Printout  a -> Printout  b -> PrintData  c ->  IO (PrintPreview  ())
+printPreviewCreateFromData printout printoutForPrinting wxdata 
+  = withObjectResult $
+    withObjectPtr printout $ \cobj_printout -> 
+    withObjectPtr printoutForPrinting $ \cobj_printoutForPrinting -> 
+    withObjectPtr wxdata $ \cobj_wxdata -> 
+    wxPrintPreview_CreateFromData cobj_printout  cobj_printoutForPrinting  cobj_wxdata  
+foreign import ccall "wxPrintPreview_CreateFromData" wxPrintPreview_CreateFromData :: Ptr (TPrintout a) -> Ptr (TPrintout b) -> Ptr (TPrintData c) -> IO (Ptr (TPrintPreview ()))
+
+-- | usage: (@printPreviewCreateFromDialogData printout printoutForPrinting wxdata@).
+printPreviewCreateFromDialogData :: Printout  a -> Printout  b -> PrintDialogData  c ->  IO (PrintPreview  ())
+printPreviewCreateFromDialogData printout printoutForPrinting wxdata 
+  = withObjectResult $
+    withObjectPtr printout $ \cobj_printout -> 
+    withObjectPtr printoutForPrinting $ \cobj_printoutForPrinting -> 
+    withObjectPtr wxdata $ \cobj_wxdata -> 
+    wxPrintPreview_CreateFromDialogData cobj_printout  cobj_printoutForPrinting  cobj_wxdata  
+foreign import ccall "wxPrintPreview_CreateFromDialogData" wxPrintPreview_CreateFromDialogData :: Ptr (TPrintout a) -> Ptr (TPrintout b) -> Ptr (TPrintDialogData c) -> IO (Ptr (TPrintPreview ()))
+
+-- | usage: (@printPreviewDelete obj@).
+printPreviewDelete :: PrintPreview  a ->  IO ()
+printPreviewDelete
+  = objectDelete
+
+
+-- | usage: (@printPreviewDetermineScaling obj@).
+printPreviewDetermineScaling :: PrintPreview  a ->  IO ()
+printPreviewDetermineScaling _obj 
+  = withObjectRef "printPreviewDetermineScaling" _obj $ \cobj__obj -> 
+    wxPrintPreview_DetermineScaling cobj__obj  
+foreign import ccall "wxPrintPreview_DetermineScaling" wxPrintPreview_DetermineScaling :: Ptr (TPrintPreview a) -> IO ()
+
+-- | usage: (@printPreviewDrawBlankPage obj canvas dc@).
+printPreviewDrawBlankPage :: PrintPreview  a -> PreviewCanvas  b -> DC  c ->  IO Bool
+printPreviewDrawBlankPage _obj canvas dc 
+  = withBoolResult $
+    withObjectRef "printPreviewDrawBlankPage" _obj $ \cobj__obj -> 
+    withObjectPtr canvas $ \cobj_canvas -> 
+    withObjectPtr dc $ \cobj_dc -> 
+    wxPrintPreview_DrawBlankPage cobj__obj  cobj_canvas  cobj_dc  
+foreign import ccall "wxPrintPreview_DrawBlankPage" wxPrintPreview_DrawBlankPage :: Ptr (TPrintPreview a) -> Ptr (TPreviewCanvas b) -> Ptr (TDC c) -> IO CBool
+
+-- | usage: (@printPreviewGetCanvas obj@).
+printPreviewGetCanvas :: PrintPreview  a ->  IO (PreviewCanvas  ())
+printPreviewGetCanvas _obj 
+  = withObjectResult $
+    withObjectRef "printPreviewGetCanvas" _obj $ \cobj__obj -> 
+    wxPrintPreview_GetCanvas cobj__obj  
+foreign import ccall "wxPrintPreview_GetCanvas" wxPrintPreview_GetCanvas :: Ptr (TPrintPreview a) -> IO (Ptr (TPreviewCanvas ()))
+
+-- | usage: (@printPreviewGetCurrentPage obj@).
+printPreviewGetCurrentPage :: PrintPreview  a ->  IO Int
+printPreviewGetCurrentPage _obj 
+  = withIntResult $
+    withObjectRef "printPreviewGetCurrentPage" _obj $ \cobj__obj -> 
+    wxPrintPreview_GetCurrentPage cobj__obj  
+foreign import ccall "wxPrintPreview_GetCurrentPage" wxPrintPreview_GetCurrentPage :: Ptr (TPrintPreview a) -> IO CInt
+
+-- | usage: (@printPreviewGetFrame obj@).
+printPreviewGetFrame :: PrintPreview  a ->  IO (Frame  ())
+printPreviewGetFrame _obj 
+  = withObjectResult $
+    withObjectRef "printPreviewGetFrame" _obj $ \cobj__obj -> 
+    wxPrintPreview_GetFrame cobj__obj  
+foreign import ccall "wxPrintPreview_GetFrame" wxPrintPreview_GetFrame :: Ptr (TPrintPreview a) -> IO (Ptr (TFrame ()))
+
+-- | usage: (@printPreviewGetMaxPage obj@).
+printPreviewGetMaxPage :: PrintPreview  a ->  IO Int
+printPreviewGetMaxPage _obj 
+  = withIntResult $
+    withObjectRef "printPreviewGetMaxPage" _obj $ \cobj__obj -> 
+    wxPrintPreview_GetMaxPage cobj__obj  
+foreign import ccall "wxPrintPreview_GetMaxPage" wxPrintPreview_GetMaxPage :: Ptr (TPrintPreview a) -> IO CInt
+
+-- | usage: (@printPreviewGetMinPage obj@).
+printPreviewGetMinPage :: PrintPreview  a ->  IO Int
+printPreviewGetMinPage _obj 
+  = withIntResult $
+    withObjectRef "printPreviewGetMinPage" _obj $ \cobj__obj -> 
+    wxPrintPreview_GetMinPage cobj__obj  
+foreign import ccall "wxPrintPreview_GetMinPage" wxPrintPreview_GetMinPage :: Ptr (TPrintPreview a) -> IO CInt
+
+-- | usage: (@printPreviewGetPrintDialogData obj@).
+printPreviewGetPrintDialogData :: PrintPreview  a ->  IO (PrintDialogData  ())
+printPreviewGetPrintDialogData _obj 
+  = withRefPrintDialogData $ \pref -> 
+    withObjectRef "printPreviewGetPrintDialogData" _obj $ \cobj__obj -> 
+    wxPrintPreview_GetPrintDialogData cobj__obj   pref
+foreign import ccall "wxPrintPreview_GetPrintDialogData" wxPrintPreview_GetPrintDialogData :: Ptr (TPrintPreview a) -> Ptr (TPrintDialogData ()) -> IO ()
+
+-- | usage: (@printPreviewGetPrintout obj@).
+printPreviewGetPrintout :: PrintPreview  a ->  IO (Printout  ())
+printPreviewGetPrintout _obj 
+  = withObjectResult $
+    withObjectRef "printPreviewGetPrintout" _obj $ \cobj__obj -> 
+    wxPrintPreview_GetPrintout cobj__obj  
+foreign import ccall "wxPrintPreview_GetPrintout" wxPrintPreview_GetPrintout :: Ptr (TPrintPreview a) -> IO (Ptr (TPrintout ()))
+
+-- | usage: (@printPreviewGetPrintoutForPrinting obj@).
+printPreviewGetPrintoutForPrinting :: PrintPreview  a ->  IO (Printout  ())
+printPreviewGetPrintoutForPrinting _obj 
+  = withObjectResult $
+    withObjectRef "printPreviewGetPrintoutForPrinting" _obj $ \cobj__obj -> 
+    wxPrintPreview_GetPrintoutForPrinting cobj__obj  
+foreign import ccall "wxPrintPreview_GetPrintoutForPrinting" wxPrintPreview_GetPrintoutForPrinting :: Ptr (TPrintPreview a) -> IO (Ptr (TPrintout ()))
+
+-- | usage: (@printPreviewGetZoom obj@).
+printPreviewGetZoom :: PrintPreview  a ->  IO Int
+printPreviewGetZoom _obj 
+  = withIntResult $
+    withObjectRef "printPreviewGetZoom" _obj $ \cobj__obj -> 
+    wxPrintPreview_GetZoom cobj__obj  
+foreign import ccall "wxPrintPreview_GetZoom" wxPrintPreview_GetZoom :: Ptr (TPrintPreview a) -> IO CInt
+
+-- | usage: (@printPreviewIsOk obj@).
+printPreviewIsOk :: PrintPreview  a ->  IO Bool
+printPreviewIsOk _obj 
+  = withBoolResult $
+    withObjectRef "printPreviewIsOk" _obj $ \cobj__obj -> 
+    wxPrintPreview_IsOk cobj__obj  
+foreign import ccall "wxPrintPreview_IsOk" wxPrintPreview_IsOk :: Ptr (TPrintPreview a) -> IO CBool
+
+-- | usage: (@printPreviewPaintPage obj canvas dc@).
+printPreviewPaintPage :: PrintPreview  a -> PrintPreview  b -> DC  c ->  IO Bool
+printPreviewPaintPage _obj canvas dc 
+  = withBoolResult $
+    withObjectRef "printPreviewPaintPage" _obj $ \cobj__obj -> 
+    withObjectPtr canvas $ \cobj_canvas -> 
+    withObjectPtr dc $ \cobj_dc -> 
+    wxPrintPreview_PaintPage cobj__obj  cobj_canvas  cobj_dc  
+foreign import ccall "wxPrintPreview_PaintPage" wxPrintPreview_PaintPage :: Ptr (TPrintPreview a) -> Ptr (TPrintPreview b) -> Ptr (TDC c) -> IO CBool
+
+-- | usage: (@printPreviewPrint obj interactive@).
+printPreviewPrint :: PrintPreview  a -> Bool ->  IO Bool
+printPreviewPrint _obj interactive 
+  = withBoolResult $
+    withObjectRef "printPreviewPrint" _obj $ \cobj__obj -> 
+    wxPrintPreview_Print cobj__obj  (toCBool interactive)  
+foreign import ccall "wxPrintPreview_Print" wxPrintPreview_Print :: Ptr (TPrintPreview a) -> CBool -> IO CBool
+
+-- | usage: (@printPreviewRenderPage obj pageNum@).
+printPreviewRenderPage :: PrintPreview  a -> Int ->  IO Bool
+printPreviewRenderPage _obj pageNum 
+  = withBoolResult $
+    withObjectRef "printPreviewRenderPage" _obj $ \cobj__obj -> 
+    wxPrintPreview_RenderPage cobj__obj  (toCInt pageNum)  
+foreign import ccall "wxPrintPreview_RenderPage" wxPrintPreview_RenderPage :: Ptr (TPrintPreview a) -> CInt -> IO CBool
+
+-- | usage: (@printPreviewSetCanvas obj canvas@).
+printPreviewSetCanvas :: PrintPreview  a -> PreviewCanvas  b ->  IO ()
+printPreviewSetCanvas _obj canvas 
+  = withObjectRef "printPreviewSetCanvas" _obj $ \cobj__obj -> 
+    withObjectPtr canvas $ \cobj_canvas -> 
+    wxPrintPreview_SetCanvas cobj__obj  cobj_canvas  
+foreign import ccall "wxPrintPreview_SetCanvas" wxPrintPreview_SetCanvas :: Ptr (TPrintPreview a) -> Ptr (TPreviewCanvas b) -> IO ()
+
+-- | usage: (@printPreviewSetCurrentPage obj pageNum@).
+printPreviewSetCurrentPage :: PrintPreview  a -> Int ->  IO Bool
+printPreviewSetCurrentPage _obj pageNum 
+  = withBoolResult $
+    withObjectRef "printPreviewSetCurrentPage" _obj $ \cobj__obj -> 
+    wxPrintPreview_SetCurrentPage cobj__obj  (toCInt pageNum)  
+foreign import ccall "wxPrintPreview_SetCurrentPage" wxPrintPreview_SetCurrentPage :: Ptr (TPrintPreview a) -> CInt -> IO CBool
+
+-- | usage: (@printPreviewSetFrame obj frame@).
+printPreviewSetFrame :: PrintPreview  a -> Frame  b ->  IO ()
+printPreviewSetFrame _obj frame 
+  = withObjectRef "printPreviewSetFrame" _obj $ \cobj__obj -> 
+    withObjectPtr frame $ \cobj_frame -> 
+    wxPrintPreview_SetFrame cobj__obj  cobj_frame  
+foreign import ccall "wxPrintPreview_SetFrame" wxPrintPreview_SetFrame :: Ptr (TPrintPreview a) -> Ptr (TFrame b) -> IO ()
+
+-- | usage: (@printPreviewSetOk obj ok@).
+printPreviewSetOk :: PrintPreview  a -> Bool ->  IO ()
+printPreviewSetOk _obj ok 
+  = withObjectRef "printPreviewSetOk" _obj $ \cobj__obj -> 
+    wxPrintPreview_SetOk cobj__obj  (toCBool ok)  
+foreign import ccall "wxPrintPreview_SetOk" wxPrintPreview_SetOk :: Ptr (TPrintPreview a) -> CBool -> IO ()
+
+-- | usage: (@printPreviewSetPrintout obj printout@).
+printPreviewSetPrintout :: PrintPreview  a -> Printout  b ->  IO ()
+printPreviewSetPrintout _obj printout 
+  = withObjectRef "printPreviewSetPrintout" _obj $ \cobj__obj -> 
+    withObjectPtr printout $ \cobj_printout -> 
+    wxPrintPreview_SetPrintout cobj__obj  cobj_printout  
+foreign import ccall "wxPrintPreview_SetPrintout" wxPrintPreview_SetPrintout :: Ptr (TPrintPreview a) -> Ptr (TPrintout b) -> IO ()
+
+-- | usage: (@printPreviewSetZoom obj percent@).
+printPreviewSetZoom :: PrintPreview  a -> Int ->  IO ()
+printPreviewSetZoom _obj percent 
+  = withObjectRef "printPreviewSetZoom" _obj $ \cobj__obj -> 
+    wxPrintPreview_SetZoom cobj__obj  (toCInt percent)  
+foreign import ccall "wxPrintPreview_SetZoom" wxPrintPreview_SetZoom :: Ptr (TPrintPreview a) -> CInt -> IO ()
+
+-- | usage: (@printerCreate wxdata@).
+printerCreate :: PrintDialogData  a ->  IO (Printer  ())
+printerCreate wxdata 
+  = withObjectResult $
+    withObjectPtr wxdata $ \cobj_wxdata -> 
+    wxPrinter_Create cobj_wxdata  
+foreign import ccall "wxPrinter_Create" wxPrinter_Create :: Ptr (TPrintDialogData a) -> IO (Ptr (TPrinter ()))
+
+-- | usage: (@printerCreateAbortWindow obj parent printout@).
+printerCreateAbortWindow :: Printer  a -> Window  b -> Printout  c ->  IO (Window  ())
+printerCreateAbortWindow _obj parent printout 
+  = withObjectResult $
+    withObjectRef "printerCreateAbortWindow" _obj $ \cobj__obj -> 
+    withObjectPtr parent $ \cobj_parent -> 
+    withObjectPtr printout $ \cobj_printout -> 
+    wxPrinter_CreateAbortWindow cobj__obj  cobj_parent  cobj_printout  
+foreign import ccall "wxPrinter_CreateAbortWindow" wxPrinter_CreateAbortWindow :: Ptr (TPrinter a) -> Ptr (TWindow b) -> Ptr (TPrintout c) -> IO (Ptr (TWindow ()))
+
+-- | usage: (@printerDCCreate wxdata@).
+printerDCCreate :: PrintData  a ->  IO (PrinterDC  ())
+printerDCCreate wxdata 
+  = withObjectResult $
+    withObjectPtr wxdata $ \cobj_wxdata -> 
+    wxPrinterDC_Create cobj_wxdata  
+foreign import ccall "wxPrinterDC_Create" wxPrinterDC_Create :: Ptr (TPrintData a) -> IO (Ptr (TPrinterDC ()))
+
+-- | usage: (@printerDCDelete self@).
+printerDCDelete :: PrinterDC  a ->  IO ()
+printerDCDelete
+  = objectDelete
+
+
+-- | usage: (@printerDCGetPaperRect self@).
+printerDCGetPaperRect :: PrinterDC  a ->  IO (Rect)
+printerDCGetPaperRect self 
+  = withWxRectResult $
+    withObjectRef "printerDCGetPaperRect" self $ \cobj_self -> 
+    wxPrinterDC_GetPaperRect cobj_self  
+foreign import ccall "wxPrinterDC_GetPaperRect" wxPrinterDC_GetPaperRect :: Ptr (TPrinterDC a) -> IO (Ptr (TWxRect ()))
+
+-- | usage: (@printerDelete obj@).
+printerDelete :: Printer  a ->  IO ()
+printerDelete
+  = objectDelete
+
+
+-- | usage: (@printerGetAbort obj@).
+printerGetAbort :: Printer  a ->  IO Bool
+printerGetAbort _obj 
+  = withBoolResult $
+    withObjectRef "printerGetAbort" _obj $ \cobj__obj -> 
+    wxPrinter_GetAbort cobj__obj  
+foreign import ccall "wxPrinter_GetAbort" wxPrinter_GetAbort :: Ptr (TPrinter a) -> IO CBool
+
+-- | usage: (@printerGetLastError obj@).
+printerGetLastError :: Printer  a ->  IO Int
+printerGetLastError _obj 
+  = withIntResult $
+    withObjectRef "printerGetLastError" _obj $ \cobj__obj -> 
+    wxPrinter_GetLastError cobj__obj  
+foreign import ccall "wxPrinter_GetLastError" wxPrinter_GetLastError :: Ptr (TPrinter a) -> IO CInt
+
+-- | usage: (@printerGetPrintDialogData obj@).
+printerGetPrintDialogData :: Printer  a ->  IO (PrintDialogData  ())
+printerGetPrintDialogData _obj 
+  = withRefPrintDialogData $ \pref -> 
+    withObjectRef "printerGetPrintDialogData" _obj $ \cobj__obj -> 
+    wxPrinter_GetPrintDialogData cobj__obj   pref
+foreign import ccall "wxPrinter_GetPrintDialogData" wxPrinter_GetPrintDialogData :: Ptr (TPrinter a) -> Ptr (TPrintDialogData ()) -> IO ()
+
+-- | usage: (@printerPrint obj parent printout prompt@).
+printerPrint :: Printer  a -> Window  b -> Printout  c -> Bool ->  IO Bool
+printerPrint _obj parent printout prompt 
+  = withBoolResult $
+    withObjectRef "printerPrint" _obj $ \cobj__obj -> 
+    withObjectPtr parent $ \cobj_parent -> 
+    withObjectPtr printout $ \cobj_printout -> 
+    wxPrinter_Print cobj__obj  cobj_parent  cobj_printout  (toCBool prompt)  
+foreign import ccall "wxPrinter_Print" wxPrinter_Print :: Ptr (TPrinter a) -> Ptr (TWindow b) -> Ptr (TPrintout c) -> CBool -> IO CBool
+
+-- | usage: (@printerPrintDialog obj parent@).
+printerPrintDialog :: Printer  a -> Window  b ->  IO (DC  ())
+printerPrintDialog _obj parent 
+  = withObjectResult $
+    withObjectRef "printerPrintDialog" _obj $ \cobj__obj -> 
+    withObjectPtr parent $ \cobj_parent -> 
+    wxPrinter_PrintDialog cobj__obj  cobj_parent  
+foreign import ccall "wxPrinter_PrintDialog" wxPrinter_PrintDialog :: Ptr (TPrinter a) -> Ptr (TWindow b) -> IO (Ptr (TDC ()))
+
+-- | usage: (@printerReportError obj parent printout message@).
+printerReportError :: Printer  a -> Window  b -> Printout  c -> String ->  IO ()
+printerReportError _obj parent printout message 
+  = withObjectRef "printerReportError" _obj $ \cobj__obj -> 
+    withObjectPtr parent $ \cobj_parent -> 
+    withObjectPtr printout $ \cobj_printout -> 
+    withStringPtr message $ \cobj_message -> 
+    wxPrinter_ReportError cobj__obj  cobj_parent  cobj_printout  cobj_message  
+foreign import ccall "wxPrinter_ReportError" wxPrinter_ReportError :: Ptr (TPrinter a) -> Ptr (TWindow b) -> Ptr (TPrintout c) -> Ptr (TWxString d) -> IO ()
+
+-- | usage: (@printerSetup obj parent@).
+printerSetup :: Printer  a -> Window  b ->  IO Bool
+printerSetup _obj parent 
+  = withBoolResult $
+    withObjectRef "printerSetup" _obj $ \cobj__obj -> 
+    withObjectPtr parent $ \cobj_parent -> 
+    wxPrinter_Setup cobj__obj  cobj_parent  
+foreign import ccall "wxPrinter_Setup" wxPrinter_Setup :: Ptr (TPrinter a) -> Ptr (TWindow b) -> IO CBool
+
+-- | usage: (@printoutGetDC obj@).
+printoutGetDC :: Printout  a ->  IO (DC  ())
+printoutGetDC _obj 
+  = withObjectResult $
+    withObjectRef "printoutGetDC" _obj $ \cobj__obj -> 
+    wxPrintout_GetDC cobj__obj  
+foreign import ccall "wxPrintout_GetDC" wxPrintout_GetDC :: Ptr (TPrintout a) -> IO (Ptr (TDC ()))
+
+-- | usage: (@printoutGetPPIPrinter obj@).
+printoutGetPPIPrinter :: Printout  a ->  IO Point
+printoutGetPPIPrinter _obj 
+  = withPointResult $ \px py -> 
+    withObjectRef "printoutGetPPIPrinter" _obj $ \cobj__obj -> 
+    wxPrintout_GetPPIPrinter cobj__obj   px py
+foreign import ccall "wxPrintout_GetPPIPrinter" wxPrintout_GetPPIPrinter :: Ptr (TPrintout a) -> Ptr CInt -> Ptr CInt -> IO ()
+
+-- | usage: (@printoutGetPPIScreen obj@).
+printoutGetPPIScreen :: Printout  a ->  IO Point
+printoutGetPPIScreen _obj 
+  = withPointResult $ \px py -> 
+    withObjectRef "printoutGetPPIScreen" _obj $ \cobj__obj -> 
+    wxPrintout_GetPPIScreen cobj__obj   px py
+foreign import ccall "wxPrintout_GetPPIScreen" wxPrintout_GetPPIScreen :: Ptr (TPrintout a) -> Ptr CInt -> Ptr CInt -> IO ()
+
+-- | usage: (@printoutGetPageSizeMM obj@).
+printoutGetPageSizeMM :: Printout  a ->  IO Size
+printoutGetPageSizeMM _obj 
+  = withSizeResult $ \pw ph -> 
+    withObjectRef "printoutGetPageSizeMM" _obj $ \cobj__obj -> 
+    wxPrintout_GetPageSizeMM cobj__obj   pw ph
+foreign import ccall "wxPrintout_GetPageSizeMM" wxPrintout_GetPageSizeMM :: Ptr (TPrintout a) -> Ptr CInt -> Ptr CInt -> IO ()
+
+-- | usage: (@printoutGetPageSizePixels obj@).
+printoutGetPageSizePixels :: Printout  a ->  IO Size
+printoutGetPageSizePixels _obj 
+  = withSizeResult $ \pw ph -> 
+    withObjectRef "printoutGetPageSizePixels" _obj $ \cobj__obj -> 
+    wxPrintout_GetPageSizePixels cobj__obj   pw ph
+foreign import ccall "wxPrintout_GetPageSizePixels" wxPrintout_GetPageSizePixels :: Ptr (TPrintout a) -> Ptr CInt -> Ptr CInt -> IO ()
+
+-- | usage: (@printoutGetTitle obj@).
+printoutGetTitle :: Printout  a ->  IO (String)
+printoutGetTitle _obj 
+  = withManagedStringResult $
+    withObjectRef "printoutGetTitle" _obj $ \cobj__obj -> 
+    wxPrintout_GetTitle cobj__obj  
+foreign import ccall "wxPrintout_GetTitle" wxPrintout_GetTitle :: Ptr (TPrintout a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@printoutIsPreview obj@).
+printoutIsPreview :: Printout  a ->  IO Bool
+printoutIsPreview _obj 
+  = withBoolResult $
+    withObjectRef "printoutIsPreview" _obj $ \cobj__obj -> 
+    wxPrintout_IsPreview cobj__obj  
+foreign import ccall "wxPrintout_IsPreview" wxPrintout_IsPreview :: Ptr (TPrintout a) -> IO CBool
+
+-- | usage: (@printoutSetDC obj dc@).
+printoutSetDC :: Printout  a -> DC  b ->  IO ()
+printoutSetDC _obj dc 
+  = withObjectRef "printoutSetDC" _obj $ \cobj__obj -> 
+    withObjectPtr dc $ \cobj_dc -> 
+    wxPrintout_SetDC cobj__obj  cobj_dc  
+foreign import ccall "wxPrintout_SetDC" wxPrintout_SetDC :: Ptr (TPrintout a) -> Ptr (TDC b) -> IO ()
+
+-- | usage: (@printoutSetPPIPrinter obj xy@).
+printoutSetPPIPrinter :: Printout  a -> Point ->  IO ()
+printoutSetPPIPrinter _obj xy 
+  = withObjectRef "printoutSetPPIPrinter" _obj $ \cobj__obj -> 
+    wxPrintout_SetPPIPrinter cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  
+foreign import ccall "wxPrintout_SetPPIPrinter" wxPrintout_SetPPIPrinter :: Ptr (TPrintout a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@printoutSetPPIScreen obj xy@).
+printoutSetPPIScreen :: Printout  a -> Point ->  IO ()
+printoutSetPPIScreen _obj xy 
+  = withObjectRef "printoutSetPPIScreen" _obj $ \cobj__obj -> 
+    wxPrintout_SetPPIScreen cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  
+foreign import ccall "wxPrintout_SetPPIScreen" wxPrintout_SetPPIScreen :: Ptr (TPrintout a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@printoutSetPageSizeMM obj wh@).
+printoutSetPageSizeMM :: Printout  a -> Size ->  IO ()
+printoutSetPageSizeMM _obj wh 
+  = withObjectRef "printoutSetPageSizeMM" _obj $ \cobj__obj -> 
+    wxPrintout_SetPageSizeMM cobj__obj  (toCIntSizeW wh) (toCIntSizeH wh)  
+foreign import ccall "wxPrintout_SetPageSizeMM" wxPrintout_SetPageSizeMM :: Ptr (TPrintout a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@printoutSetPageSizePixels obj wh@).
+printoutSetPageSizePixels :: Printout  a -> Size ->  IO ()
+printoutSetPageSizePixels _obj wh 
+  = withObjectRef "printoutSetPageSizePixels" _obj $ \cobj__obj -> 
+    wxPrintout_SetPageSizePixels cobj__obj  (toCIntSizeW wh) (toCIntSizeH wh)  
+foreign import ccall "wxPrintout_SetPageSizePixels" wxPrintout_SetPageSizePixels :: Ptr (TPrintout a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@processCloseOutput obj@).
+processCloseOutput :: Process  a ->  IO ()
+processCloseOutput _obj 
+  = withObjectRef "processCloseOutput" _obj $ \cobj__obj -> 
+    wxProcess_CloseOutput cobj__obj  
+foreign import ccall "wxProcess_CloseOutput" wxProcess_CloseOutput :: Ptr (TProcess a) -> IO ()
+
+-- | usage: (@processCreateDefault prt id@).
+processCreateDefault :: Window  a -> Id ->  IO (Process  ())
+processCreateDefault _prt _id 
+  = withObjectResult $
+    withObjectPtr _prt $ \cobj__prt -> 
+    wxProcess_CreateDefault cobj__prt  (toCInt _id)  
+foreign import ccall "wxProcess_CreateDefault" wxProcess_CreateDefault :: Ptr (TWindow a) -> CInt -> IO (Ptr (TProcess ()))
+
+-- | usage: (@processCreateRedirect prt rdr@).
+processCreateRedirect :: Window  a -> Bool ->  IO (Process  ())
+processCreateRedirect _prt _rdr 
+  = withObjectResult $
+    withObjectPtr _prt $ \cobj__prt -> 
+    wxProcess_CreateRedirect cobj__prt  (toCBool _rdr)  
+foreign import ccall "wxProcess_CreateRedirect" wxProcess_CreateRedirect :: Ptr (TWindow a) -> CBool -> IO (Ptr (TProcess ()))
+
+-- | usage: (@processDelete obj@).
+processDelete :: Process  a ->  IO ()
+processDelete
+  = objectDelete
+
+
+-- | usage: (@processDetach obj@).
+processDetach :: Process  a ->  IO ()
+processDetach _obj 
+  = withObjectRef "processDetach" _obj $ \cobj__obj -> 
+    wxProcess_Detach cobj__obj  
+foreign import ccall "wxProcess_Detach" wxProcess_Detach :: Ptr (TProcess a) -> IO ()
+
+-- | usage: (@processEventGetExitCode obj@).
+processEventGetExitCode :: ProcessEvent  a ->  IO Int
+processEventGetExitCode _obj 
+  = withIntResult $
+    withObjectRef "processEventGetExitCode" _obj $ \cobj__obj -> 
+    wxProcessEvent_GetExitCode cobj__obj  
+foreign import ccall "wxProcessEvent_GetExitCode" wxProcessEvent_GetExitCode :: Ptr (TProcessEvent a) -> IO CInt
+
+-- | usage: (@processEventGetPid obj@).
+processEventGetPid :: ProcessEvent  a ->  IO Int
+processEventGetPid _obj 
+  = withIntResult $
+    withObjectRef "processEventGetPid" _obj $ \cobj__obj -> 
+    wxProcessEvent_GetPid cobj__obj  
+foreign import ccall "wxProcessEvent_GetPid" wxProcessEvent_GetPid :: Ptr (TProcessEvent a) -> IO CInt
+
+-- | usage: (@processGetErrorStream obj@).
+processGetErrorStream :: Process  a ->  IO (InputStream  ())
+processGetErrorStream _obj 
+  = withObjectResult $
+    withObjectRef "processGetErrorStream" _obj $ \cobj__obj -> 
+    wxProcess_GetErrorStream cobj__obj  
+foreign import ccall "wxProcess_GetErrorStream" wxProcess_GetErrorStream :: Ptr (TProcess a) -> IO (Ptr (TInputStream ()))
+
+-- | usage: (@processGetInputStream obj@).
+processGetInputStream :: Process  a ->  IO (InputStream  ())
+processGetInputStream _obj 
+  = withObjectResult $
+    withObjectRef "processGetInputStream" _obj $ \cobj__obj -> 
+    wxProcess_GetInputStream cobj__obj  
+foreign import ccall "wxProcess_GetInputStream" wxProcess_GetInputStream :: Ptr (TProcess a) -> IO (Ptr (TInputStream ()))
+
+-- | usage: (@processGetOutputStream obj@).
+processGetOutputStream :: Process  a ->  IO (OutputStream  ())
+processGetOutputStream _obj 
+  = withObjectResult $
+    withObjectRef "processGetOutputStream" _obj $ \cobj__obj -> 
+    wxProcess_GetOutputStream cobj__obj  
+foreign import ccall "wxProcess_GetOutputStream" wxProcess_GetOutputStream :: Ptr (TProcess a) -> IO (Ptr (TOutputStream ()))
+
+-- | usage: (@processIsErrorAvailable obj@).
+processIsErrorAvailable :: Process  a ->  IO Bool
+processIsErrorAvailable _obj 
+  = withBoolResult $
+    withObjectRef "processIsErrorAvailable" _obj $ \cobj__obj -> 
+    wxProcess_IsErrorAvailable cobj__obj  
+foreign import ccall "wxProcess_IsErrorAvailable" wxProcess_IsErrorAvailable :: Ptr (TProcess a) -> IO CBool
+
+-- | usage: (@processIsInputAvailable obj@).
+processIsInputAvailable :: Process  a ->  IO Bool
+processIsInputAvailable _obj 
+  = withBoolResult $
+    withObjectRef "processIsInputAvailable" _obj $ \cobj__obj -> 
+    wxProcess_IsInputAvailable cobj__obj  
+foreign import ccall "wxProcess_IsInputAvailable" wxProcess_IsInputAvailable :: Ptr (TProcess a) -> IO CBool
+
+-- | usage: (@processIsInputOpened obj@).
+processIsInputOpened :: Process  a ->  IO Bool
+processIsInputOpened _obj 
+  = withBoolResult $
+    withObjectRef "processIsInputOpened" _obj $ \cobj__obj -> 
+    wxProcess_IsInputOpened cobj__obj  
+foreign import ccall "wxProcess_IsInputOpened" wxProcess_IsInputOpened :: Ptr (TProcess a) -> IO CBool
+
+-- | usage: (@processIsRedirected obj@).
+processIsRedirected :: Process  a ->  IO Bool
+processIsRedirected _obj 
+  = withBoolResult $
+    withObjectRef "processIsRedirected" _obj $ \cobj__obj -> 
+    wxProcess_IsRedirected cobj__obj  
+foreign import ccall "wxProcess_IsRedirected" wxProcess_IsRedirected :: Ptr (TProcess a) -> IO CBool
+
+-- | usage: (@processOpen cmd flags@).
+processOpen :: String -> Int ->  IO (Process  ())
+processOpen cmd flags 
+  = withObjectResult $
+    withStringPtr cmd $ \cobj_cmd -> 
+    wxProcess_Open cobj_cmd  (toCInt flags)  
+foreign import ccall "wxProcess_Open" wxProcess_Open :: Ptr (TWxString a) -> CInt -> IO (Ptr (TProcess ()))
+
+-- | usage: (@processRedirect obj@).
+processRedirect :: Process  a ->  IO ()
+processRedirect _obj 
+  = withObjectRef "processRedirect" _obj $ \cobj__obj -> 
+    wxProcess_Redirect cobj__obj  
+foreign import ccall "wxProcess_Redirect" wxProcess_Redirect :: Ptr (TProcess a) -> IO ()
+
+-- | usage: (@progressDialogCreate title message max parent style@).
+progressDialogCreate :: String -> String -> Int -> Window  d -> Int ->  IO (ProgressDialog  ())
+progressDialogCreate title message max parent style 
+  = withObjectResult $
+    withStringPtr title $ \cobj_title -> 
+    withStringPtr message $ \cobj_message -> 
+    withObjectPtr parent $ \cobj_parent -> 
+    wxProgressDialog_Create cobj_title  cobj_message  (toCInt max)  cobj_parent  (toCInt style)  
+foreign import ccall "wxProgressDialog_Create" wxProgressDialog_Create :: Ptr (TWxString a) -> Ptr (TWxString b) -> CInt -> Ptr (TWindow d) -> CInt -> IO (Ptr (TProgressDialog ()))
+
+-- | usage: (@progressDialogResume obj@).
+progressDialogResume :: ProgressDialog  a ->  IO ()
+progressDialogResume obj 
+  = withObjectRef "progressDialogResume" obj $ \cobj_obj -> 
+    wxProgressDialog_Resume cobj_obj  
+foreign import ccall "wxProgressDialog_Resume" wxProgressDialog_Resume :: Ptr (TProgressDialog a) -> IO ()
+
+-- | usage: (@progressDialogUpdate obj value@).
+progressDialogUpdate :: ProgressDialog  a -> Int ->  IO Bool
+progressDialogUpdate obj value 
+  = withBoolResult $
+    withObjectRef "progressDialogUpdate" obj $ \cobj_obj -> 
+    wxProgressDialog_Update cobj_obj  (toCInt value)  
+foreign import ccall "wxProgressDialog_Update" wxProgressDialog_Update :: Ptr (TProgressDialog a) -> CInt -> IO CBool
+
+-- | usage: (@progressDialogUpdateWithMessage obj value message@).
+progressDialogUpdateWithMessage :: ProgressDialog  a -> Int -> String ->  IO Bool
+progressDialogUpdateWithMessage obj value message 
+  = withBoolResult $
+    withObjectRef "progressDialogUpdateWithMessage" obj $ \cobj_obj -> 
+    withStringPtr message $ \cobj_message -> 
+    wxProgressDialog_UpdateWithMessage cobj_obj  (toCInt value)  cobj_message  
+foreign import ccall "wxProgressDialog_UpdateWithMessage" wxProgressDialog_UpdateWithMessage :: Ptr (TProgressDialog a) -> CInt -> Ptr (TWxString c) -> IO CBool
+
+-- | usage: (@propertyCategoryCreate label@).
+propertyCategoryCreate :: String ->  IO (PropertyCategory  ())
+propertyCategoryCreate label 
+  = withObjectResult $
+    withStringPtr label $ \cobj_label -> 
+    wxPropertyCategory_Create cobj_label  
+foreign import ccall "wxPropertyCategory_Create" wxPropertyCategory_Create :: Ptr (TWxString a) -> IO (Ptr (TPropertyCategory ()))
+
+-- | usage: (@propertyGridAppend obj prop@).
+propertyGridAppend :: PropertyGrid  a -> PGProperty  b ->  IO (PGProperty  ())
+propertyGridAppend _obj prop 
+  = withObjectResult $
+    withObjectRef "propertyGridAppend" _obj $ \cobj__obj -> 
+    withObjectPtr prop $ \cobj_prop -> 
+    wxPropertyGrid_Append cobj__obj  cobj_prop  
+foreign import ccall "wxPropertyGrid_Append" wxPropertyGrid_Append :: Ptr (TPropertyGrid a) -> Ptr (TPGProperty b) -> IO (Ptr (TPGProperty ()))
+
+-- | usage: (@propertyGridCreate prt id lfttopwdthgt stl@).
+propertyGridCreate :: Window  a -> Id -> Rect -> Style ->  IO (PropertyGrid  ())
+propertyGridCreate _prt _id _lfttopwdthgt _stl 
+  = withObjectResult $
+    withObjectPtr _prt $ \cobj__prt -> 
+    wxPropertyGrid_Create cobj__prt  (toCInt _id)  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  (toCInt _stl)  
+foreign import ccall "wxPropertyGrid_Create" wxPropertyGrid_Create :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TPropertyGrid ()))
+
+-- | usage: (@propertyGridDisableProperty obj propName@).
+propertyGridDisableProperty :: PropertyGrid  a -> String ->  IO Bool
+propertyGridDisableProperty _obj propName 
+  = withBoolResult $
+    withObjectRef "propertyGridDisableProperty" _obj $ \cobj__obj -> 
+    withStringPtr propName $ \cobj_propName -> 
+    wxPropertyGrid_DisableProperty cobj__obj  cobj_propName  
+foreign import ccall "wxPropertyGrid_DisableProperty" wxPropertyGrid_DisableProperty :: Ptr (TPropertyGrid a) -> Ptr (TWxString b) -> IO CBool
+
+-- | usage: (@propertyGridEventGetProperty obj@).
+propertyGridEventGetProperty :: PropertyGridEvent  a ->  IO (PGProperty  ())
+propertyGridEventGetProperty _obj 
+  = withObjectResult $
+    withObjectRef "propertyGridEventGetProperty" _obj $ \cobj__obj -> 
+    wxPropertyGridEvent_GetProperty cobj__obj  
+foreign import ccall "wxPropertyGridEvent_GetProperty" wxPropertyGridEvent_GetProperty :: Ptr (TPropertyGridEvent a) -> IO (Ptr (TPGProperty ()))
+
+-- | usage: (@propertyGridEventHasProperty obj@).
+propertyGridEventHasProperty :: PropertyGridEvent  a ->  IO Bool
+propertyGridEventHasProperty _obj 
+  = withBoolResult $
+    withObjectRef "propertyGridEventHasProperty" _obj $ \cobj__obj -> 
+    wxPropertyGridEvent_HasProperty cobj__obj  
+foreign import ccall "wxPropertyGridEvent_HasProperty" wxPropertyGridEvent_HasProperty :: Ptr (TPropertyGridEvent a) -> IO CBool
+
+-- | usage: (@pushProvider provider@).
+pushProvider :: ArtProvider  a ->  IO ()
+pushProvider provider 
+  = withObjectPtr provider $ \cobj_provider -> 
+    wx_PushProvider cobj_provider  
+foreign import ccall "PushProvider" wx_PushProvider :: Ptr (TArtProvider a) -> IO ()
+
+-- | usage: (@quantize src dest desiredNoColours eightBitData flags@).
+quantize :: Image  a -> Image  b -> Int -> Ptr  d -> Int ->  IO Bool
+quantize src dest desiredNoColours eightBitData flags 
+  = withBoolResult $
+    withObjectPtr src $ \cobj_src -> 
+    withObjectPtr dest $ \cobj_dest -> 
+    wx_Quantize cobj_src  cobj_dest  (toCInt desiredNoColours)  eightBitData  (toCInt flags)  
+foreign import ccall "Quantize" wx_Quantize :: Ptr (TImage a) -> Ptr (TImage b) -> CInt -> Ptr  d -> CInt -> IO CBool
+
+-- | usage: (@quantizePalette src dest pPalette desiredNoColours eightBitData flags@).
+quantizePalette :: Image  a -> Image  b -> Ptr  c -> Int -> Ptr  e -> Int ->  IO Bool
+quantizePalette src dest pPalette desiredNoColours eightBitData flags 
+  = withBoolResult $
+    withObjectPtr src $ \cobj_src -> 
+    withObjectPtr dest $ \cobj_dest -> 
+    wx_QuantizePalette cobj_src  cobj_dest  pPalette  (toCInt desiredNoColours)  eightBitData  (toCInt flags)  
+foreign import ccall "QuantizePalette" wx_QuantizePalette :: Ptr (TImage a) -> Ptr (TImage b) -> Ptr  c -> CInt -> Ptr  e -> CInt -> IO CBool
+
+-- | usage: (@queryLayoutInfoEventCreate id@).
+queryLayoutInfoEventCreate :: Id ->  IO (QueryLayoutInfoEvent  ())
+queryLayoutInfoEventCreate id 
+  = withObjectResult $
+    wxQueryLayoutInfoEvent_Create (toCInt id)  
+foreign import ccall "wxQueryLayoutInfoEvent_Create" wxQueryLayoutInfoEvent_Create :: CInt -> IO (Ptr (TQueryLayoutInfoEvent ()))
+
+-- | usage: (@queryLayoutInfoEventGetAlignment obj@).
+queryLayoutInfoEventGetAlignment :: QueryLayoutInfoEvent  a ->  IO Int
+queryLayoutInfoEventGetAlignment _obj 
+  = withIntResult $
+    withObjectRef "queryLayoutInfoEventGetAlignment" _obj $ \cobj__obj -> 
+    wxQueryLayoutInfoEvent_GetAlignment cobj__obj  
+foreign import ccall "wxQueryLayoutInfoEvent_GetAlignment" wxQueryLayoutInfoEvent_GetAlignment :: Ptr (TQueryLayoutInfoEvent a) -> IO CInt
+
+-- | usage: (@queryLayoutInfoEventGetFlags obj@).
+queryLayoutInfoEventGetFlags :: QueryLayoutInfoEvent  a ->  IO Int
+queryLayoutInfoEventGetFlags _obj 
+  = withIntResult $
+    withObjectRef "queryLayoutInfoEventGetFlags" _obj $ \cobj__obj -> 
+    wxQueryLayoutInfoEvent_GetFlags cobj__obj  
+foreign import ccall "wxQueryLayoutInfoEvent_GetFlags" wxQueryLayoutInfoEvent_GetFlags :: Ptr (TQueryLayoutInfoEvent a) -> IO CInt
+
+-- | usage: (@queryLayoutInfoEventGetOrientation obj@).
+queryLayoutInfoEventGetOrientation :: QueryLayoutInfoEvent  a ->  IO Int
+queryLayoutInfoEventGetOrientation _obj 
+  = withIntResult $
+    withObjectRef "queryLayoutInfoEventGetOrientation" _obj $ \cobj__obj -> 
+    wxQueryLayoutInfoEvent_GetOrientation cobj__obj  
+foreign import ccall "wxQueryLayoutInfoEvent_GetOrientation" wxQueryLayoutInfoEvent_GetOrientation :: Ptr (TQueryLayoutInfoEvent a) -> IO CInt
+
+-- | usage: (@queryLayoutInfoEventGetRequestedLength obj@).
+queryLayoutInfoEventGetRequestedLength :: QueryLayoutInfoEvent  a ->  IO Int
+queryLayoutInfoEventGetRequestedLength _obj 
+  = withIntResult $
+    withObjectRef "queryLayoutInfoEventGetRequestedLength" _obj $ \cobj__obj -> 
+    wxQueryLayoutInfoEvent_GetRequestedLength cobj__obj  
+foreign import ccall "wxQueryLayoutInfoEvent_GetRequestedLength" wxQueryLayoutInfoEvent_GetRequestedLength :: Ptr (TQueryLayoutInfoEvent a) -> IO CInt
+
+-- | usage: (@queryLayoutInfoEventGetSize obj@).
+queryLayoutInfoEventGetSize :: QueryLayoutInfoEvent  a ->  IO (Size)
+queryLayoutInfoEventGetSize _obj 
+  = withWxSizeResult $
+    withObjectRef "queryLayoutInfoEventGetSize" _obj $ \cobj__obj -> 
+    wxQueryLayoutInfoEvent_GetSize cobj__obj  
+foreign import ccall "wxQueryLayoutInfoEvent_GetSize" wxQueryLayoutInfoEvent_GetSize :: Ptr (TQueryLayoutInfoEvent a) -> IO (Ptr (TWxSize ()))
+
+-- | usage: (@queryLayoutInfoEventSetAlignment obj align@).
+queryLayoutInfoEventSetAlignment :: QueryLayoutInfoEvent  a -> Int ->  IO ()
+queryLayoutInfoEventSetAlignment _obj align 
+  = withObjectRef "queryLayoutInfoEventSetAlignment" _obj $ \cobj__obj -> 
+    wxQueryLayoutInfoEvent_SetAlignment cobj__obj  (toCInt align)  
+foreign import ccall "wxQueryLayoutInfoEvent_SetAlignment" wxQueryLayoutInfoEvent_SetAlignment :: Ptr (TQueryLayoutInfoEvent a) -> CInt -> IO ()
+
+-- | usage: (@queryLayoutInfoEventSetFlags obj flags@).
+queryLayoutInfoEventSetFlags :: QueryLayoutInfoEvent  a -> Int ->  IO ()
+queryLayoutInfoEventSetFlags _obj flags 
+  = withObjectRef "queryLayoutInfoEventSetFlags" _obj $ \cobj__obj -> 
+    wxQueryLayoutInfoEvent_SetFlags cobj__obj  (toCInt flags)  
+foreign import ccall "wxQueryLayoutInfoEvent_SetFlags" wxQueryLayoutInfoEvent_SetFlags :: Ptr (TQueryLayoutInfoEvent a) -> CInt -> IO ()
+
+-- | usage: (@queryLayoutInfoEventSetOrientation obj orient@).
+queryLayoutInfoEventSetOrientation :: QueryLayoutInfoEvent  a -> Int ->  IO ()
+queryLayoutInfoEventSetOrientation _obj orient 
+  = withObjectRef "queryLayoutInfoEventSetOrientation" _obj $ \cobj__obj -> 
+    wxQueryLayoutInfoEvent_SetOrientation cobj__obj  (toCInt orient)  
+foreign import ccall "wxQueryLayoutInfoEvent_SetOrientation" wxQueryLayoutInfoEvent_SetOrientation :: Ptr (TQueryLayoutInfoEvent a) -> CInt -> IO ()
+
+-- | usage: (@queryLayoutInfoEventSetRequestedLength obj length@).
+queryLayoutInfoEventSetRequestedLength :: QueryLayoutInfoEvent  a -> Int ->  IO ()
+queryLayoutInfoEventSetRequestedLength _obj length 
+  = withObjectRef "queryLayoutInfoEventSetRequestedLength" _obj $ \cobj__obj -> 
+    wxQueryLayoutInfoEvent_SetRequestedLength cobj__obj  (toCInt length)  
+foreign import ccall "wxQueryLayoutInfoEvent_SetRequestedLength" wxQueryLayoutInfoEvent_SetRequestedLength :: Ptr (TQueryLayoutInfoEvent a) -> CInt -> IO ()
+
+-- | usage: (@queryLayoutInfoEventSetSize obj wh@).
+queryLayoutInfoEventSetSize :: QueryLayoutInfoEvent  a -> Size ->  IO ()
+queryLayoutInfoEventSetSize _obj wh 
+  = withObjectRef "queryLayoutInfoEventSetSize" _obj $ \cobj__obj -> 
+    wxQueryLayoutInfoEvent_SetSize cobj__obj  (toCIntSizeW wh) (toCIntSizeH wh)  
+foreign import ccall "wxQueryLayoutInfoEvent_SetSize" wxQueryLayoutInfoEvent_SetSize :: Ptr (TQueryLayoutInfoEvent a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@queryNewPaletteEventCopyObject obj obj@).
+queryNewPaletteEventCopyObject :: QueryNewPaletteEvent  a -> WxObject  b ->  IO ()
+queryNewPaletteEventCopyObject _obj obj 
+  = withObjectRef "queryNewPaletteEventCopyObject" _obj $ \cobj__obj -> 
+    withObjectPtr obj $ \cobj_obj -> 
+    wxQueryNewPaletteEvent_CopyObject cobj__obj  cobj_obj  
+foreign import ccall "wxQueryNewPaletteEvent_CopyObject" wxQueryNewPaletteEvent_CopyObject :: Ptr (TQueryNewPaletteEvent a) -> Ptr (TWxObject b) -> IO ()
+
+-- | usage: (@queryNewPaletteEventGetPaletteRealized obj@).
+queryNewPaletteEventGetPaletteRealized :: QueryNewPaletteEvent  a ->  IO Bool
+queryNewPaletteEventGetPaletteRealized _obj 
+  = withBoolResult $
+    withObjectRef "queryNewPaletteEventGetPaletteRealized" _obj $ \cobj__obj -> 
+    wxQueryNewPaletteEvent_GetPaletteRealized cobj__obj  
+foreign import ccall "wxQueryNewPaletteEvent_GetPaletteRealized" wxQueryNewPaletteEvent_GetPaletteRealized :: Ptr (TQueryNewPaletteEvent a) -> IO CBool
+
+-- | usage: (@queryNewPaletteEventSetPaletteRealized obj realized@).
+queryNewPaletteEventSetPaletteRealized :: QueryNewPaletteEvent  a -> Bool ->  IO ()
+queryNewPaletteEventSetPaletteRealized _obj realized 
+  = withObjectRef "queryNewPaletteEventSetPaletteRealized" _obj $ \cobj__obj -> 
+    wxQueryNewPaletteEvent_SetPaletteRealized cobj__obj  (toCBool realized)  
+foreign import ccall "wxQueryNewPaletteEvent_SetPaletteRealized" wxQueryNewPaletteEvent_SetPaletteRealized :: Ptr (TQueryNewPaletteEvent a) -> CBool -> IO ()
+
+-- | usage: (@radioBoxCreate prt id txt lfttopwdthgt nstr dim stl@).
+radioBoxCreate :: Window  a -> Id -> String -> Rect -> [String] -> Int -> Style ->  IO (RadioBox  ())
+radioBoxCreate _prt _id _txt _lfttopwdthgt nstr _dim _stl 
+  = withObjectResult $
+    withObjectPtr _prt $ \cobj__prt -> 
+    withStringPtr _txt $ \cobj__txt -> 
+    withArrayWString nstr $ \carrlen_nstr carr_nstr -> 
+    wxRadioBox_Create cobj__prt  (toCInt _id)  cobj__txt  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  carrlen_nstr carr_nstr  (toCInt _dim)  (toCInt _stl)  
+foreign import ccall "wxRadioBox_Create" wxRadioBox_Create :: Ptr (TWindow a) -> CInt -> Ptr (TWxString c) -> CInt -> CInt -> CInt -> CInt -> CInt -> Ptr (Ptr CWchar) -> CInt -> CInt -> IO (Ptr (TRadioBox ()))
+
+-- | usage: (@radioBoxEnableItem obj item enable@).
+radioBoxEnableItem :: RadioBox  a -> Int -> Bool ->  IO ()
+radioBoxEnableItem _obj item enable 
+  = withObjectRef "radioBoxEnableItem" _obj $ \cobj__obj -> 
+    wxRadioBox_EnableItem cobj__obj  (toCInt item)  (toCBool enable)  
+foreign import ccall "wxRadioBox_EnableItem" wxRadioBox_EnableItem :: Ptr (TRadioBox a) -> CInt -> CBool -> IO ()
+
+-- | usage: (@radioBoxFindString obj s@).
+radioBoxFindString :: RadioBox  a -> String ->  IO Int
+radioBoxFindString _obj s 
+  = withIntResult $
+    withObjectRef "radioBoxFindString" _obj $ \cobj__obj -> 
+    withStringPtr s $ \cobj_s -> 
+    wxRadioBox_FindString cobj__obj  cobj_s  
+foreign import ccall "wxRadioBox_FindString" wxRadioBox_FindString :: Ptr (TRadioBox a) -> Ptr (TWxString b) -> IO CInt
+
+-- | usage: (@radioBoxGetItemLabel obj item@).
+radioBoxGetItemLabel :: RadioBox  a -> Int ->  IO (String)
+radioBoxGetItemLabel _obj item 
+  = withManagedStringResult $
+    withObjectRef "radioBoxGetItemLabel" _obj $ \cobj__obj -> 
+    wxRadioBox_GetItemLabel cobj__obj  (toCInt item)  
+foreign import ccall "wxRadioBox_GetItemLabel" wxRadioBox_GetItemLabel :: Ptr (TRadioBox a) -> CInt -> IO (Ptr (TWxString ()))
+
+-- | usage: (@radioBoxGetNumberOfRowsOrCols obj@).
+radioBoxGetNumberOfRowsOrCols :: RadioBox  a ->  IO Int
+radioBoxGetNumberOfRowsOrCols _obj 
+  = withIntResult $
+    withObjectRef "radioBoxGetNumberOfRowsOrCols" _obj $ \cobj__obj -> 
+    wxRadioBox_GetNumberOfRowsOrCols cobj__obj  
+foreign import ccall "wxRadioBox_GetNumberOfRowsOrCols" wxRadioBox_GetNumberOfRowsOrCols :: Ptr (TRadioBox a) -> IO CInt
+
+-- | usage: (@radioBoxGetSelection obj@).
+radioBoxGetSelection :: RadioBox  a ->  IO Int
+radioBoxGetSelection _obj 
+  = withIntResult $
+    withObjectRef "radioBoxGetSelection" _obj $ \cobj__obj -> 
+    wxRadioBox_GetSelection cobj__obj  
+foreign import ccall "wxRadioBox_GetSelection" wxRadioBox_GetSelection :: Ptr (TRadioBox a) -> IO CInt
+
+-- | usage: (@radioBoxGetStringSelection obj@).
+radioBoxGetStringSelection :: RadioBox  a ->  IO (String)
+radioBoxGetStringSelection _obj 
+  = withManagedStringResult $
+    withObjectRef "radioBoxGetStringSelection" _obj $ \cobj__obj -> 
+    wxRadioBox_GetStringSelection cobj__obj  
+foreign import ccall "wxRadioBox_GetStringSelection" wxRadioBox_GetStringSelection :: Ptr (TRadioBox a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@radioBoxNumber obj@).
+radioBoxNumber :: RadioBox  a ->  IO Int
+radioBoxNumber _obj 
+  = withIntResult $
+    withObjectRef "radioBoxNumber" _obj $ \cobj__obj -> 
+    wxRadioBox_Number cobj__obj  
+foreign import ccall "wxRadioBox_Number" wxRadioBox_Number :: Ptr (TRadioBox a) -> IO CInt
+
+-- | usage: (@radioBoxSetItemBitmap obj item bitmap@).
+radioBoxSetItemBitmap :: RadioBox  a -> Int -> Bitmap  c ->  IO ()
+radioBoxSetItemBitmap _obj item bitmap 
+  = withObjectRef "radioBoxSetItemBitmap" _obj $ \cobj__obj -> 
+    withObjectPtr bitmap $ \cobj_bitmap -> 
+    wxRadioBox_SetItemBitmap cobj__obj  (toCInt item)  cobj_bitmap  
+foreign import ccall "wxRadioBox_SetItemBitmap" wxRadioBox_SetItemBitmap :: Ptr (TRadioBox a) -> CInt -> Ptr (TBitmap c) -> IO ()
+
+-- | usage: (@radioBoxSetItemLabel obj item label@).
+radioBoxSetItemLabel :: RadioBox  a -> Int -> String ->  IO ()
+radioBoxSetItemLabel _obj item label 
+  = withObjectRef "radioBoxSetItemLabel" _obj $ \cobj__obj -> 
+    withStringPtr label $ \cobj_label -> 
+    wxRadioBox_SetItemLabel cobj__obj  (toCInt item)  cobj_label  
+foreign import ccall "wxRadioBox_SetItemLabel" wxRadioBox_SetItemLabel :: Ptr (TRadioBox a) -> CInt -> Ptr (TWxString c) -> IO ()
+
+-- | usage: (@radioBoxSetNumberOfRowsOrCols obj n@).
+radioBoxSetNumberOfRowsOrCols :: RadioBox  a -> Int ->  IO ()
+radioBoxSetNumberOfRowsOrCols _obj n 
+  = withObjectRef "radioBoxSetNumberOfRowsOrCols" _obj $ \cobj__obj -> 
+    wxRadioBox_SetNumberOfRowsOrCols cobj__obj  (toCInt n)  
+foreign import ccall "wxRadioBox_SetNumberOfRowsOrCols" wxRadioBox_SetNumberOfRowsOrCols :: Ptr (TRadioBox a) -> CInt -> IO ()
+
+-- | usage: (@radioBoxSetSelection obj n@).
+radioBoxSetSelection :: RadioBox  a -> Int ->  IO ()
+radioBoxSetSelection _obj _n 
+  = withObjectRef "radioBoxSetSelection" _obj $ \cobj__obj -> 
+    wxRadioBox_SetSelection cobj__obj  (toCInt _n)  
+foreign import ccall "wxRadioBox_SetSelection" wxRadioBox_SetSelection :: Ptr (TRadioBox a) -> CInt -> IO ()
+
+-- | usage: (@radioBoxSetStringSelection obj s@).
+radioBoxSetStringSelection :: RadioBox  a -> String ->  IO ()
+radioBoxSetStringSelection _obj s 
+  = withObjectRef "radioBoxSetStringSelection" _obj $ \cobj__obj -> 
+    withStringPtr s $ \cobj_s -> 
+    wxRadioBox_SetStringSelection cobj__obj  cobj_s  
+foreign import ccall "wxRadioBox_SetStringSelection" wxRadioBox_SetStringSelection :: Ptr (TRadioBox a) -> Ptr (TWxString b) -> IO ()
+
+-- | usage: (@radioBoxShowItem obj item show@).
+radioBoxShowItem :: RadioBox  a -> Int -> Bool ->  IO ()
+radioBoxShowItem _obj item show 
+  = withObjectRef "radioBoxShowItem" _obj $ \cobj__obj -> 
+    wxRadioBox_ShowItem cobj__obj  (toCInt item)  (toCBool show)  
+foreign import ccall "wxRadioBox_ShowItem" wxRadioBox_ShowItem :: Ptr (TRadioBox a) -> CInt -> CBool -> IO ()
+
+-- | usage: (@radioButtonCreate prt id txt lfttopwdthgt stl@).
+radioButtonCreate :: Window  a -> Id -> String -> Rect -> Style ->  IO (RadioButton  ())
+radioButtonCreate _prt _id _txt _lfttopwdthgt _stl 
+  = withObjectResult $
+    withObjectPtr _prt $ \cobj__prt -> 
+    withStringPtr _txt $ \cobj__txt -> 
+    wxRadioButton_Create cobj__prt  (toCInt _id)  cobj__txt  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  (toCInt _stl)  
+foreign import ccall "wxRadioButton_Create" wxRadioButton_Create :: Ptr (TWindow a) -> CInt -> Ptr (TWxString c) -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TRadioButton ()))
+
+-- | usage: (@radioButtonGetValue obj@).
+radioButtonGetValue :: RadioButton  a ->  IO Bool
+radioButtonGetValue _obj 
+  = withBoolResult $
+    withObjectRef "radioButtonGetValue" _obj $ \cobj__obj -> 
+    wxRadioButton_GetValue cobj__obj  
+foreign import ccall "wxRadioButton_GetValue" wxRadioButton_GetValue :: Ptr (TRadioButton a) -> IO CBool
+
+-- | usage: (@radioButtonSetValue obj value@).
+radioButtonSetValue :: RadioButton  a -> Bool ->  IO ()
+radioButtonSetValue _obj value 
+  = withObjectRef "radioButtonSetValue" _obj $ \cobj__obj -> 
+    wxRadioButton_SetValue cobj__obj  (toCBool value)  
+foreign import ccall "wxRadioButton_SetValue" wxRadioButton_SetValue :: Ptr (TRadioButton a) -> CBool -> IO ()
+
+-- | usage: (@regionAssign obj region@).
+regionAssign :: Region  a -> Region  b ->  IO ()
+regionAssign _obj region 
+  = withObjectRef "regionAssign" _obj $ \cobj__obj -> 
+    withObjectPtr region $ \cobj_region -> 
+    wxRegion_Assign cobj__obj  cobj_region  
+foreign import ccall "wxRegion_Assign" wxRegion_Assign :: Ptr (TRegion a) -> Ptr (TRegion b) -> IO ()
+
+-- | usage: (@regionClear obj@).
+regionClear :: Region  a ->  IO ()
+regionClear _obj 
+  = withObjectRef "regionClear" _obj $ \cobj__obj -> 
+    wxRegion_Clear cobj__obj  
+foreign import ccall "wxRegion_Clear" wxRegion_Clear :: Ptr (TRegion a) -> IO ()
+
+-- | usage: (@regionContainsPoint obj xy@).
+regionContainsPoint :: Region  a -> Point ->  IO Bool
+regionContainsPoint _obj xy 
+  = withBoolResult $
+    withObjectRef "regionContainsPoint" _obj $ \cobj__obj -> 
+    wxRegion_ContainsPoint cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  
+foreign import ccall "wxRegion_ContainsPoint" wxRegion_ContainsPoint :: Ptr (TRegion a) -> CInt -> CInt -> IO CBool
+
+-- | usage: (@regionContainsRect obj xywidthheight@).
+regionContainsRect :: Region  a -> Rect ->  IO Bool
+regionContainsRect _obj xywidthheight 
+  = withBoolResult $
+    withObjectRef "regionContainsRect" _obj $ \cobj__obj -> 
+    wxRegion_ContainsRect cobj__obj  (toCIntRectX xywidthheight) (toCIntRectY xywidthheight)(toCIntRectW xywidthheight) (toCIntRectH xywidthheight)  
+foreign import ccall "wxRegion_ContainsRect" wxRegion_ContainsRect :: Ptr (TRegion a) -> CInt -> CInt -> CInt -> CInt -> IO CBool
+
+-- | usage: (@regionCreateDefault@).
+regionCreateDefault ::  IO (Region  ())
+regionCreateDefault 
+  = withObjectResult $
+    wxRegion_CreateDefault 
+foreign import ccall "wxRegion_CreateDefault" wxRegion_CreateDefault :: IO (Ptr (TRegion ()))
+
+-- | usage: (@regionCreateFromRect xywh@).
+regionCreateFromRect :: Rect ->  IO (Region  ())
+regionCreateFromRect xywh 
+  = withObjectResult $
+    wxRegion_CreateFromRect (toCIntRectX xywh) (toCIntRectY xywh)(toCIntRectW xywh) (toCIntRectH xywh)  
+foreign import ccall "wxRegion_CreateFromRect" wxRegion_CreateFromRect :: CInt -> CInt -> CInt -> CInt -> IO (Ptr (TRegion ()))
+
+-- | usage: (@regionDelete obj@).
+regionDelete :: Region  a ->  IO ()
+regionDelete
+  = objectDelete
+
+
+-- | usage: (@regionGetBox obj@).
+regionGetBox :: Region  a ->  IO Rect
+regionGetBox _obj 
+  = withRectResult $ \px py pw ph -> 
+    withObjectRef "regionGetBox" _obj $ \cobj__obj -> 
+    wxRegion_GetBox cobj__obj  px py pw ph
+foreign import ccall "wxRegion_GetBox" wxRegion_GetBox :: Ptr (TRegion a) -> Ptr CInt -> Ptr CInt -> Ptr CInt -> Ptr CInt -> IO ()
+
+-- | usage: (@regionIntersectRect obj xywidthheight@).
+regionIntersectRect :: Region  a -> Rect ->  IO Bool
+regionIntersectRect _obj xywidthheight 
+  = withBoolResult $
+    withObjectRef "regionIntersectRect" _obj $ \cobj__obj -> 
+    wxRegion_IntersectRect cobj__obj  (toCIntRectX xywidthheight) (toCIntRectY xywidthheight)(toCIntRectW xywidthheight) (toCIntRectH xywidthheight)  
+foreign import ccall "wxRegion_IntersectRect" wxRegion_IntersectRect :: Ptr (TRegion a) -> CInt -> CInt -> CInt -> CInt -> IO CBool
+
+-- | usage: (@regionIntersectRegion obj region@).
+regionIntersectRegion :: Region  a -> Region  b ->  IO Bool
+regionIntersectRegion _obj region 
+  = withBoolResult $
+    withObjectRef "regionIntersectRegion" _obj $ \cobj__obj -> 
+    withObjectPtr region $ \cobj_region -> 
+    wxRegion_IntersectRegion cobj__obj  cobj_region  
+foreign import ccall "wxRegion_IntersectRegion" wxRegion_IntersectRegion :: Ptr (TRegion a) -> Ptr (TRegion b) -> IO CBool
+
+-- | usage: (@regionIsEmpty obj@).
+regionIsEmpty :: Region  a ->  IO Bool
+regionIsEmpty _obj 
+  = withBoolResult $
+    withObjectRef "regionIsEmpty" _obj $ \cobj__obj -> 
+    wxRegion_IsEmpty cobj__obj  
+foreign import ccall "wxRegion_IsEmpty" wxRegion_IsEmpty :: Ptr (TRegion a) -> IO CBool
+
+-- | usage: (@regionIteratorCreate@).
+regionIteratorCreate ::  IO (RegionIterator  ())
+regionIteratorCreate 
+  = withObjectResult $
+    wxRegionIterator_Create 
+foreign import ccall "wxRegionIterator_Create" wxRegionIterator_Create :: IO (Ptr (TRegionIterator ()))
+
+-- | usage: (@regionIteratorCreateFromRegion region@).
+regionIteratorCreateFromRegion :: Region  a ->  IO (RegionIterator  ())
+regionIteratorCreateFromRegion region 
+  = withObjectResult $
+    withObjectPtr region $ \cobj_region -> 
+    wxRegionIterator_CreateFromRegion cobj_region  
+foreign import ccall "wxRegionIterator_CreateFromRegion" wxRegionIterator_CreateFromRegion :: Ptr (TRegion a) -> IO (Ptr (TRegionIterator ()))
+
+-- | usage: (@regionIteratorDelete obj@).
+regionIteratorDelete :: RegionIterator  a ->  IO ()
+regionIteratorDelete
+  = objectDelete
+
+
+-- | usage: (@regionIteratorGetHeight obj@).
+regionIteratorGetHeight :: RegionIterator  a ->  IO Int
+regionIteratorGetHeight _obj 
+  = withIntResult $
+    withObjectRef "regionIteratorGetHeight" _obj $ \cobj__obj -> 
+    wxRegionIterator_GetHeight cobj__obj  
+foreign import ccall "wxRegionIterator_GetHeight" wxRegionIterator_GetHeight :: Ptr (TRegionIterator a) -> IO CInt
+
+-- | usage: (@regionIteratorGetWidth obj@).
+regionIteratorGetWidth :: RegionIterator  a ->  IO Int
+regionIteratorGetWidth _obj 
+  = withIntResult $
+    withObjectRef "regionIteratorGetWidth" _obj $ \cobj__obj -> 
+    wxRegionIterator_GetWidth cobj__obj  
+foreign import ccall "wxRegionIterator_GetWidth" wxRegionIterator_GetWidth :: Ptr (TRegionIterator a) -> IO CInt
+
+-- | usage: (@regionIteratorGetX obj@).
+regionIteratorGetX :: RegionIterator  a ->  IO Int
+regionIteratorGetX _obj 
+  = withIntResult $
+    withObjectRef "regionIteratorGetX" _obj $ \cobj__obj -> 
+    wxRegionIterator_GetX cobj__obj  
+foreign import ccall "wxRegionIterator_GetX" wxRegionIterator_GetX :: Ptr (TRegionIterator a) -> IO CInt
+
+-- | usage: (@regionIteratorGetY obj@).
+regionIteratorGetY :: RegionIterator  a ->  IO Int
+regionIteratorGetY _obj 
+  = withIntResult $
+    withObjectRef "regionIteratorGetY" _obj $ \cobj__obj -> 
+    wxRegionIterator_GetY cobj__obj  
+foreign import ccall "wxRegionIterator_GetY" wxRegionIterator_GetY :: Ptr (TRegionIterator a) -> IO CInt
+
+-- | usage: (@regionIteratorHaveRects obj@).
+regionIteratorHaveRects :: RegionIterator  a ->  IO Bool
+regionIteratorHaveRects _obj 
+  = withBoolResult $
+    withObjectRef "regionIteratorHaveRects" _obj $ \cobj__obj -> 
+    wxRegionIterator_HaveRects cobj__obj  
+foreign import ccall "wxRegionIterator_HaveRects" wxRegionIterator_HaveRects :: Ptr (TRegionIterator a) -> IO CBool
+
+-- | usage: (@regionIteratorNext obj@).
+regionIteratorNext :: RegionIterator  a ->  IO ()
+regionIteratorNext _obj 
+  = withObjectRef "regionIteratorNext" _obj $ \cobj__obj -> 
+    wxRegionIterator_Next cobj__obj  
+foreign import ccall "wxRegionIterator_Next" wxRegionIterator_Next :: Ptr (TRegionIterator a) -> IO ()
+
+-- | usage: (@regionIteratorReset obj@).
+regionIteratorReset :: RegionIterator  a ->  IO ()
+regionIteratorReset _obj 
+  = withObjectRef "regionIteratorReset" _obj $ \cobj__obj -> 
+    wxRegionIterator_Reset cobj__obj  
+foreign import ccall "wxRegionIterator_Reset" wxRegionIterator_Reset :: Ptr (TRegionIterator a) -> IO ()
+
+-- | usage: (@regionIteratorResetToRegion obj region@).
+regionIteratorResetToRegion :: RegionIterator  a -> Region  b ->  IO ()
+regionIteratorResetToRegion _obj region 
+  = withObjectRef "regionIteratorResetToRegion" _obj $ \cobj__obj -> 
+    withObjectPtr region $ \cobj_region -> 
+    wxRegionIterator_ResetToRegion cobj__obj  cobj_region  
+foreign import ccall "wxRegionIterator_ResetToRegion" wxRegionIterator_ResetToRegion :: Ptr (TRegionIterator a) -> Ptr (TRegion b) -> IO ()
+
+-- | usage: (@regionSubtractRect obj xywidthheight@).
+regionSubtractRect :: Region  a -> Rect ->  IO Bool
+regionSubtractRect _obj xywidthheight 
+  = withBoolResult $
+    withObjectRef "regionSubtractRect" _obj $ \cobj__obj -> 
+    wxRegion_SubtractRect cobj__obj  (toCIntRectX xywidthheight) (toCIntRectY xywidthheight)(toCIntRectW xywidthheight) (toCIntRectH xywidthheight)  
+foreign import ccall "wxRegion_SubtractRect" wxRegion_SubtractRect :: Ptr (TRegion a) -> CInt -> CInt -> CInt -> CInt -> IO CBool
+
+-- | usage: (@regionSubtractRegion obj region@).
+regionSubtractRegion :: Region  a -> Region  b ->  IO Bool
+regionSubtractRegion _obj region 
+  = withBoolResult $
+    withObjectRef "regionSubtractRegion" _obj $ \cobj__obj -> 
+    withObjectPtr region $ \cobj_region -> 
+    wxRegion_SubtractRegion cobj__obj  cobj_region  
+foreign import ccall "wxRegion_SubtractRegion" wxRegion_SubtractRegion :: Ptr (TRegion a) -> Ptr (TRegion b) -> IO CBool
+
+-- | usage: (@regionUnionRect obj xywidthheight@).
+regionUnionRect :: Region  a -> Rect ->  IO Bool
+regionUnionRect _obj xywidthheight 
+  = withBoolResult $
+    withObjectRef "regionUnionRect" _obj $ \cobj__obj -> 
+    wxRegion_UnionRect cobj__obj  (toCIntRectX xywidthheight) (toCIntRectY xywidthheight)(toCIntRectW xywidthheight) (toCIntRectH xywidthheight)  
+foreign import ccall "wxRegion_UnionRect" wxRegion_UnionRect :: Ptr (TRegion a) -> CInt -> CInt -> CInt -> CInt -> IO CBool
+
+-- | usage: (@regionUnionRegion obj region@).
+regionUnionRegion :: Region  a -> Region  b ->  IO Bool
+regionUnionRegion _obj region 
+  = withBoolResult $
+    withObjectRef "regionUnionRegion" _obj $ \cobj__obj -> 
+    withObjectPtr region $ \cobj_region -> 
+    wxRegion_UnionRegion cobj__obj  cobj_region  
+foreign import ccall "wxRegion_UnionRegion" wxRegion_UnionRegion :: Ptr (TRegion a) -> Ptr (TRegion b) -> IO CBool
+
+-- | usage: (@regionXorRect obj xywidthheight@).
+regionXorRect :: Region  a -> Rect ->  IO Bool
+regionXorRect _obj xywidthheight 
+  = withBoolResult $
+    withObjectRef "regionXorRect" _obj $ \cobj__obj -> 
+    wxRegion_XorRect cobj__obj  (toCIntRectX xywidthheight) (toCIntRectY xywidthheight)(toCIntRectW xywidthheight) (toCIntRectH xywidthheight)  
+foreign import ccall "wxRegion_XorRect" wxRegion_XorRect :: Ptr (TRegion a) -> CInt -> CInt -> CInt -> CInt -> IO CBool
+
+-- | usage: (@regionXorRegion obj region@).
+regionXorRegion :: Region  a -> Region  b ->  IO Bool
+regionXorRegion _obj region 
+  = withBoolResult $
+    withObjectRef "regionXorRegion" _obj $ \cobj__obj -> 
+    withObjectPtr region $ \cobj_region -> 
+    wxRegion_XorRegion cobj__obj  cobj_region  
+foreign import ccall "wxRegion_XorRegion" wxRegion_XorRegion :: Ptr (TRegion a) -> Ptr (TRegion b) -> IO CBool
+
+-- | usage: (@removeProvider provider@).
+removeProvider :: ArtProvider  a ->  IO Bool
+removeProvider provider 
+  = withBoolResult $
+    withObjectPtr provider $ \cobj_provider -> 
+    wx_RemoveProvider cobj_provider  
+foreign import ccall "RemoveProvider" wx_RemoveProvider :: Ptr (TArtProvider a) -> IO CBool
+
+-- | usage: (@sashEventCreate id edge@).
+sashEventCreate :: Id -> Int ->  IO (SashEvent  ())
+sashEventCreate id edge 
+  = withObjectResult $
+    wxSashEvent_Create (toCInt id)  (toCInt edge)  
+foreign import ccall "wxSashEvent_Create" wxSashEvent_Create :: CInt -> CInt -> IO (Ptr (TSashEvent ()))
+
+-- | usage: (@sashEventGetDragRect obj@).
+sashEventGetDragRect :: SashEvent  a ->  IO (Rect)
+sashEventGetDragRect _obj 
+  = withWxRectResult $
+    withObjectRef "sashEventGetDragRect" _obj $ \cobj__obj -> 
+    wxSashEvent_GetDragRect cobj__obj  
+foreign import ccall "wxSashEvent_GetDragRect" wxSashEvent_GetDragRect :: Ptr (TSashEvent a) -> IO (Ptr (TWxRect ()))
+
+-- | usage: (@sashEventGetDragStatus obj@).
+sashEventGetDragStatus :: SashEvent  a ->  IO Int
+sashEventGetDragStatus _obj 
+  = withIntResult $
+    withObjectRef "sashEventGetDragStatus" _obj $ \cobj__obj -> 
+    wxSashEvent_GetDragStatus cobj__obj  
+foreign import ccall "wxSashEvent_GetDragStatus" wxSashEvent_GetDragStatus :: Ptr (TSashEvent a) -> IO CInt
+
+-- | usage: (@sashEventGetEdge obj@).
+sashEventGetEdge :: SashEvent  a ->  IO Int
+sashEventGetEdge _obj 
+  = withIntResult $
+    withObjectRef "sashEventGetEdge" _obj $ \cobj__obj -> 
+    wxSashEvent_GetEdge cobj__obj  
+foreign import ccall "wxSashEvent_GetEdge" wxSashEvent_GetEdge :: Ptr (TSashEvent a) -> IO CInt
+
+-- | usage: (@sashEventSetDragRect obj xywh@).
+sashEventSetDragRect :: SashEvent  a -> Rect ->  IO ()
+sashEventSetDragRect _obj xywh 
+  = withObjectRef "sashEventSetDragRect" _obj $ \cobj__obj -> 
+    wxSashEvent_SetDragRect cobj__obj  (toCIntRectX xywh) (toCIntRectY xywh)(toCIntRectW xywh) (toCIntRectH xywh)  
+foreign import ccall "wxSashEvent_SetDragRect" wxSashEvent_SetDragRect :: Ptr (TSashEvent a) -> CInt -> CInt -> CInt -> CInt -> IO ()
+
+-- | usage: (@sashEventSetDragStatus obj status@).
+sashEventSetDragStatus :: SashEvent  a -> Int ->  IO ()
+sashEventSetDragStatus _obj status 
+  = withObjectRef "sashEventSetDragStatus" _obj $ \cobj__obj -> 
+    wxSashEvent_SetDragStatus cobj__obj  (toCInt status)  
+foreign import ccall "wxSashEvent_SetDragStatus" wxSashEvent_SetDragStatus :: Ptr (TSashEvent a) -> CInt -> IO ()
+
+-- | usage: (@sashEventSetEdge obj edge@).
+sashEventSetEdge :: SashEvent  a -> Int ->  IO ()
+sashEventSetEdge _obj edge 
+  = withObjectRef "sashEventSetEdge" _obj $ \cobj__obj -> 
+    wxSashEvent_SetEdge cobj__obj  (toCInt edge)  
+foreign import ccall "wxSashEvent_SetEdge" wxSashEvent_SetEdge :: Ptr (TSashEvent a) -> CInt -> IO ()
+
+-- | usage: (@sashLayoutWindowCreate par id xywh stl@).
+sashLayoutWindowCreate :: Window  a -> Id -> Rect -> Style ->  IO (SashLayoutWindow  ())
+sashLayoutWindowCreate _par _id _xywh _stl 
+  = withObjectResult $
+    withObjectPtr _par $ \cobj__par -> 
+    wxSashLayoutWindow_Create cobj__par  (toCInt _id)  (toCIntRectX _xywh) (toCIntRectY _xywh)(toCIntRectW _xywh) (toCIntRectH _xywh)  (toCInt _stl)  
+foreign import ccall "wxSashLayoutWindow_Create" wxSashLayoutWindow_Create :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TSashLayoutWindow ()))
+
+-- | usage: (@sashLayoutWindowGetAlignment obj@).
+sashLayoutWindowGetAlignment :: SashLayoutWindow  a ->  IO Int
+sashLayoutWindowGetAlignment _obj 
+  = withIntResult $
+    withObjectRef "sashLayoutWindowGetAlignment" _obj $ \cobj__obj -> 
+    wxSashLayoutWindow_GetAlignment cobj__obj  
+foreign import ccall "wxSashLayoutWindow_GetAlignment" wxSashLayoutWindow_GetAlignment :: Ptr (TSashLayoutWindow a) -> IO CInt
+
+-- | usage: (@sashLayoutWindowGetOrientation obj@).
+sashLayoutWindowGetOrientation :: SashLayoutWindow  a ->  IO Int
+sashLayoutWindowGetOrientation _obj 
+  = withIntResult $
+    withObjectRef "sashLayoutWindowGetOrientation" _obj $ \cobj__obj -> 
+    wxSashLayoutWindow_GetOrientation cobj__obj  
+foreign import ccall "wxSashLayoutWindow_GetOrientation" wxSashLayoutWindow_GetOrientation :: Ptr (TSashLayoutWindow a) -> IO CInt
+
+-- | usage: (@sashLayoutWindowSetAlignment obj align@).
+sashLayoutWindowSetAlignment :: SashLayoutWindow  a -> Int ->  IO ()
+sashLayoutWindowSetAlignment _obj align 
+  = withObjectRef "sashLayoutWindowSetAlignment" _obj $ \cobj__obj -> 
+    wxSashLayoutWindow_SetAlignment cobj__obj  (toCInt align)  
+foreign import ccall "wxSashLayoutWindow_SetAlignment" wxSashLayoutWindow_SetAlignment :: Ptr (TSashLayoutWindow a) -> CInt -> IO ()
+
+-- | usage: (@sashLayoutWindowSetDefaultSize obj wh@).
+sashLayoutWindowSetDefaultSize :: SashLayoutWindow  a -> Size ->  IO ()
+sashLayoutWindowSetDefaultSize _obj wh 
+  = withObjectRef "sashLayoutWindowSetDefaultSize" _obj $ \cobj__obj -> 
+    wxSashLayoutWindow_SetDefaultSize cobj__obj  (toCIntSizeW wh) (toCIntSizeH wh)  
+foreign import ccall "wxSashLayoutWindow_SetDefaultSize" wxSashLayoutWindow_SetDefaultSize :: Ptr (TSashLayoutWindow a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@sashLayoutWindowSetOrientation obj orient@).
+sashLayoutWindowSetOrientation :: SashLayoutWindow  a -> Int ->  IO ()
+sashLayoutWindowSetOrientation _obj orient 
+  = withObjectRef "sashLayoutWindowSetOrientation" _obj $ \cobj__obj -> 
+    wxSashLayoutWindow_SetOrientation cobj__obj  (toCInt orient)  
+foreign import ccall "wxSashLayoutWindow_SetOrientation" wxSashLayoutWindow_SetOrientation :: Ptr (TSashLayoutWindow a) -> CInt -> IO ()
+
+-- | usage: (@sashWindowCreate par id xywh stl@).
+sashWindowCreate :: Window  a -> Id -> Rect -> Style ->  IO (SashWindow  ())
+sashWindowCreate _par _id _xywh _stl 
+  = withObjectResult $
+    withObjectPtr _par $ \cobj__par -> 
+    wxSashWindow_Create cobj__par  (toCInt _id)  (toCIntRectX _xywh) (toCIntRectY _xywh)(toCIntRectW _xywh) (toCIntRectH _xywh)  (toCInt _stl)  
+foreign import ccall "wxSashWindow_Create" wxSashWindow_Create :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TSashWindow ()))
+
+-- | usage: (@sashWindowGetDefaultBorderSize obj@).
+sashWindowGetDefaultBorderSize :: SashWindow  a ->  IO Int
+sashWindowGetDefaultBorderSize _obj 
+  = withIntResult $
+    withObjectRef "sashWindowGetDefaultBorderSize" _obj $ \cobj__obj -> 
+    wxSashWindow_GetDefaultBorderSize cobj__obj  
+foreign import ccall "wxSashWindow_GetDefaultBorderSize" wxSashWindow_GetDefaultBorderSize :: Ptr (TSashWindow a) -> IO CInt
+
+-- | usage: (@sashWindowGetEdgeMargin obj edge@).
+sashWindowGetEdgeMargin :: SashWindow  a -> Int ->  IO Int
+sashWindowGetEdgeMargin _obj edge 
+  = withIntResult $
+    withObjectRef "sashWindowGetEdgeMargin" _obj $ \cobj__obj -> 
+    wxSashWindow_GetEdgeMargin cobj__obj  (toCInt edge)  
+foreign import ccall "wxSashWindow_GetEdgeMargin" wxSashWindow_GetEdgeMargin :: Ptr (TSashWindow a) -> CInt -> IO CInt
+
+-- | usage: (@sashWindowGetExtraBorderSize obj@).
+sashWindowGetExtraBorderSize :: SashWindow  a ->  IO Int
+sashWindowGetExtraBorderSize _obj 
+  = withIntResult $
+    withObjectRef "sashWindowGetExtraBorderSize" _obj $ \cobj__obj -> 
+    wxSashWindow_GetExtraBorderSize cobj__obj  
+foreign import ccall "wxSashWindow_GetExtraBorderSize" wxSashWindow_GetExtraBorderSize :: Ptr (TSashWindow a) -> IO CInt
+
+-- | usage: (@sashWindowGetMaximumSizeX obj@).
+sashWindowGetMaximumSizeX :: SashWindow  a ->  IO Int
+sashWindowGetMaximumSizeX _obj 
+  = withIntResult $
+    withObjectRef "sashWindowGetMaximumSizeX" _obj $ \cobj__obj -> 
+    wxSashWindow_GetMaximumSizeX cobj__obj  
+foreign import ccall "wxSashWindow_GetMaximumSizeX" wxSashWindow_GetMaximumSizeX :: Ptr (TSashWindow a) -> IO CInt
+
+-- | usage: (@sashWindowGetMaximumSizeY obj@).
+sashWindowGetMaximumSizeY :: SashWindow  a ->  IO Int
+sashWindowGetMaximumSizeY _obj 
+  = withIntResult $
+    withObjectRef "sashWindowGetMaximumSizeY" _obj $ \cobj__obj -> 
+    wxSashWindow_GetMaximumSizeY cobj__obj  
+foreign import ccall "wxSashWindow_GetMaximumSizeY" wxSashWindow_GetMaximumSizeY :: Ptr (TSashWindow a) -> IO CInt
+
+-- | usage: (@sashWindowGetMinimumSizeX obj@).
+sashWindowGetMinimumSizeX :: SashWindow  a ->  IO Int
+sashWindowGetMinimumSizeX _obj 
+  = withIntResult $
+    withObjectRef "sashWindowGetMinimumSizeX" _obj $ \cobj__obj -> 
+    wxSashWindow_GetMinimumSizeX cobj__obj  
+foreign import ccall "wxSashWindow_GetMinimumSizeX" wxSashWindow_GetMinimumSizeX :: Ptr (TSashWindow a) -> IO CInt
+
+-- | usage: (@sashWindowGetMinimumSizeY obj@).
+sashWindowGetMinimumSizeY :: SashWindow  a ->  IO Int
+sashWindowGetMinimumSizeY _obj 
+  = withIntResult $
+    withObjectRef "sashWindowGetMinimumSizeY" _obj $ \cobj__obj -> 
+    wxSashWindow_GetMinimumSizeY cobj__obj  
+foreign import ccall "wxSashWindow_GetMinimumSizeY" wxSashWindow_GetMinimumSizeY :: Ptr (TSashWindow a) -> IO CInt
+
+-- | usage: (@sashWindowGetSashVisible obj edge@).
+sashWindowGetSashVisible :: SashWindow  a -> Int ->  IO Bool
+sashWindowGetSashVisible _obj edge 
+  = withBoolResult $
+    withObjectRef "sashWindowGetSashVisible" _obj $ \cobj__obj -> 
+    wxSashWindow_GetSashVisible cobj__obj  (toCInt edge)  
+foreign import ccall "wxSashWindow_GetSashVisible" wxSashWindow_GetSashVisible :: Ptr (TSashWindow a) -> CInt -> IO CBool
+
+-- | usage: (@sashWindowHasBorder obj edge@).
+sashWindowHasBorder :: SashWindow  a -> Int ->  IO Bool
+sashWindowHasBorder _obj edge 
+  = withBoolResult $
+    withObjectRef "sashWindowHasBorder" _obj $ \cobj__obj -> 
+    wxSashWindow_HasBorder cobj__obj  (toCInt edge)  
+foreign import ccall "wxSashWindow_HasBorder" wxSashWindow_HasBorder :: Ptr (TSashWindow a) -> CInt -> IO CBool
+
+-- | usage: (@sashWindowSetDefaultBorderSize obj width@).
+sashWindowSetDefaultBorderSize :: SashWindow  a -> Int ->  IO ()
+sashWindowSetDefaultBorderSize _obj width 
+  = withObjectRef "sashWindowSetDefaultBorderSize" _obj $ \cobj__obj -> 
+    wxSashWindow_SetDefaultBorderSize cobj__obj  (toCInt width)  
+foreign import ccall "wxSashWindow_SetDefaultBorderSize" wxSashWindow_SetDefaultBorderSize :: Ptr (TSashWindow a) -> CInt -> IO ()
+
+-- | usage: (@sashWindowSetExtraBorderSize obj width@).
+sashWindowSetExtraBorderSize :: SashWindow  a -> Int ->  IO ()
+sashWindowSetExtraBorderSize _obj width 
+  = withObjectRef "sashWindowSetExtraBorderSize" _obj $ \cobj__obj -> 
+    wxSashWindow_SetExtraBorderSize cobj__obj  (toCInt width)  
+foreign import ccall "wxSashWindow_SetExtraBorderSize" wxSashWindow_SetExtraBorderSize :: Ptr (TSashWindow a) -> CInt -> IO ()
+
+-- | usage: (@sashWindowSetMaximumSizeX obj max@).
+sashWindowSetMaximumSizeX :: SashWindow  a -> Int ->  IO ()
+sashWindowSetMaximumSizeX _obj max 
+  = withObjectRef "sashWindowSetMaximumSizeX" _obj $ \cobj__obj -> 
+    wxSashWindow_SetMaximumSizeX cobj__obj  (toCInt max)  
+foreign import ccall "wxSashWindow_SetMaximumSizeX" wxSashWindow_SetMaximumSizeX :: Ptr (TSashWindow a) -> CInt -> IO ()
+
+-- | usage: (@sashWindowSetMaximumSizeY obj max@).
+sashWindowSetMaximumSizeY :: SashWindow  a -> Int ->  IO ()
+sashWindowSetMaximumSizeY _obj max 
+  = withObjectRef "sashWindowSetMaximumSizeY" _obj $ \cobj__obj -> 
+    wxSashWindow_SetMaximumSizeY cobj__obj  (toCInt max)  
+foreign import ccall "wxSashWindow_SetMaximumSizeY" wxSashWindow_SetMaximumSizeY :: Ptr (TSashWindow a) -> CInt -> IO ()
+
+-- | usage: (@sashWindowSetMinimumSizeX obj min@).
+sashWindowSetMinimumSizeX :: SashWindow  a -> Int ->  IO ()
+sashWindowSetMinimumSizeX _obj min 
+  = withObjectRef "sashWindowSetMinimumSizeX" _obj $ \cobj__obj -> 
+    wxSashWindow_SetMinimumSizeX cobj__obj  (toCInt min)  
+foreign import ccall "wxSashWindow_SetMinimumSizeX" wxSashWindow_SetMinimumSizeX :: Ptr (TSashWindow a) -> CInt -> IO ()
+
+-- | usage: (@sashWindowSetMinimumSizeY obj min@).
+sashWindowSetMinimumSizeY :: SashWindow  a -> Int ->  IO ()
+sashWindowSetMinimumSizeY _obj min 
+  = withObjectRef "sashWindowSetMinimumSizeY" _obj $ \cobj__obj -> 
+    wxSashWindow_SetMinimumSizeY cobj__obj  (toCInt min)  
+foreign import ccall "wxSashWindow_SetMinimumSizeY" wxSashWindow_SetMinimumSizeY :: Ptr (TSashWindow a) -> CInt -> IO ()
+
+-- | usage: (@sashWindowSetSashBorder obj edge border@).
+sashWindowSetSashBorder :: SashWindow  a -> Int -> Bool ->  IO ()
+sashWindowSetSashBorder _obj edge border 
+  = withObjectRef "sashWindowSetSashBorder" _obj $ \cobj__obj -> 
+    wxSashWindow_SetSashBorder cobj__obj  (toCInt edge)  (toCBool border)  
+foreign import ccall "wxSashWindow_SetSashBorder" wxSashWindow_SetSashBorder :: Ptr (TSashWindow a) -> CInt -> CBool -> IO ()
+
+-- | usage: (@sashWindowSetSashVisible obj edge sash@).
+sashWindowSetSashVisible :: SashWindow  a -> Int -> Bool ->  IO ()
+sashWindowSetSashVisible _obj edge sash 
+  = withObjectRef "sashWindowSetSashVisible" _obj $ \cobj__obj -> 
+    wxSashWindow_SetSashVisible cobj__obj  (toCInt edge)  (toCBool sash)  
+foreign import ccall "wxSashWindow_SetSashVisible" wxSashWindow_SetSashVisible :: Ptr (TSashWindow a) -> CInt -> CBool -> IO ()
+
+-- | usage: (@screenDCCreate@).
+screenDCCreate ::  IO (ScreenDC  ())
+screenDCCreate 
+  = withObjectResult $
+    wxScreenDC_Create 
+foreign import ccall "wxScreenDC_Create" wxScreenDC_Create :: IO (Ptr (TScreenDC ()))
+
+-- | usage: (@screenDCDelete obj@).
+screenDCDelete :: ScreenDC  a ->  IO ()
+screenDCDelete
+  = objectDelete
+
+
+-- | usage: (@screenDCEndDrawingOnTop obj@).
+screenDCEndDrawingOnTop :: ScreenDC  a ->  IO Bool
+screenDCEndDrawingOnTop _obj 
+  = withBoolResult $
+    withObjectRef "screenDCEndDrawingOnTop" _obj $ \cobj__obj -> 
+    wxScreenDC_EndDrawingOnTop cobj__obj  
+foreign import ccall "wxScreenDC_EndDrawingOnTop" wxScreenDC_EndDrawingOnTop :: Ptr (TScreenDC a) -> IO CBool
+
+-- | usage: (@screenDCStartDrawingOnTop obj xywh@).
+screenDCStartDrawingOnTop :: ScreenDC  a -> Rect ->  IO Bool
+screenDCStartDrawingOnTop _obj xywh 
+  = withBoolResult $
+    withObjectRef "screenDCStartDrawingOnTop" _obj $ \cobj__obj -> 
+    wxScreenDC_StartDrawingOnTop cobj__obj  (toCIntRectX xywh) (toCIntRectY xywh)(toCIntRectW xywh) (toCIntRectH xywh)  
+foreign import ccall "wxScreenDC_StartDrawingOnTop" wxScreenDC_StartDrawingOnTop :: Ptr (TScreenDC a) -> CInt -> CInt -> CInt -> CInt -> IO CBool
+
+-- | usage: (@screenDCStartDrawingOnTopOfWin obj win@).
+screenDCStartDrawingOnTopOfWin :: ScreenDC  a -> Window  b ->  IO Bool
+screenDCStartDrawingOnTopOfWin _obj win 
+  = withBoolResult $
+    withObjectRef "screenDCStartDrawingOnTopOfWin" _obj $ \cobj__obj -> 
+    withObjectPtr win $ \cobj_win -> 
+    wxScreenDC_StartDrawingOnTopOfWin cobj__obj  cobj_win  
+foreign import ccall "wxScreenDC_StartDrawingOnTopOfWin" wxScreenDC_StartDrawingOnTopOfWin :: Ptr (TScreenDC a) -> Ptr (TWindow b) -> IO CBool
+
+-- | usage: (@scrollBarCreate prt id lfttopwdthgt stl@).
+scrollBarCreate :: Window  a -> Id -> Rect -> Style ->  IO (ScrollBar  ())
+scrollBarCreate _prt _id _lfttopwdthgt _stl 
+  = withObjectResult $
+    withObjectPtr _prt $ \cobj__prt -> 
+    wxScrollBar_Create cobj__prt  (toCInt _id)  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  (toCInt _stl)  
+foreign import ccall "wxScrollBar_Create" wxScrollBar_Create :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TScrollBar ()))
+
+-- | usage: (@scrollBarGetPageSize obj@).
+scrollBarGetPageSize :: ScrollBar  a ->  IO Int
+scrollBarGetPageSize _obj 
+  = withIntResult $
+    withObjectRef "scrollBarGetPageSize" _obj $ \cobj__obj -> 
+    wxScrollBar_GetPageSize cobj__obj  
+foreign import ccall "wxScrollBar_GetPageSize" wxScrollBar_GetPageSize :: Ptr (TScrollBar a) -> IO CInt
+
+-- | usage: (@scrollBarGetRange obj@).
+scrollBarGetRange :: ScrollBar  a ->  IO Int
+scrollBarGetRange _obj 
+  = withIntResult $
+    withObjectRef "scrollBarGetRange" _obj $ \cobj__obj -> 
+    wxScrollBar_GetRange cobj__obj  
+foreign import ccall "wxScrollBar_GetRange" wxScrollBar_GetRange :: Ptr (TScrollBar a) -> IO CInt
+
+-- | usage: (@scrollBarGetThumbPosition obj@).
+scrollBarGetThumbPosition :: ScrollBar  a ->  IO Int
+scrollBarGetThumbPosition _obj 
+  = withIntResult $
+    withObjectRef "scrollBarGetThumbPosition" _obj $ \cobj__obj -> 
+    wxScrollBar_GetThumbPosition cobj__obj  
+foreign import ccall "wxScrollBar_GetThumbPosition" wxScrollBar_GetThumbPosition :: Ptr (TScrollBar a) -> IO CInt
+
+-- | usage: (@scrollBarGetThumbSize obj@).
+scrollBarGetThumbSize :: ScrollBar  a ->  IO Int
+scrollBarGetThumbSize _obj 
+  = withIntResult $
+    withObjectRef "scrollBarGetThumbSize" _obj $ \cobj__obj -> 
+    wxScrollBar_GetThumbSize cobj__obj  
+foreign import ccall "wxScrollBar_GetThumbSize" wxScrollBar_GetThumbSize :: Ptr (TScrollBar a) -> IO CInt
+
+-- | usage: (@scrollBarSetScrollbar obj position thumbSize range pageSize refresh@).
+scrollBarSetScrollbar :: ScrollBar  a -> Int -> Int -> Int -> Int -> Bool ->  IO ()
+scrollBarSetScrollbar _obj position thumbSize range pageSize refresh 
+  = withObjectRef "scrollBarSetScrollbar" _obj $ \cobj__obj -> 
+    wxScrollBar_SetScrollbar cobj__obj  (toCInt position)  (toCInt thumbSize)  (toCInt range)  (toCInt pageSize)  (toCBool refresh)  
+foreign import ccall "wxScrollBar_SetScrollbar" wxScrollBar_SetScrollbar :: Ptr (TScrollBar a) -> CInt -> CInt -> CInt -> CInt -> CBool -> IO ()
+
+-- | usage: (@scrollBarSetThumbPosition obj viewStart@).
+scrollBarSetThumbPosition :: ScrollBar  a -> Int ->  IO ()
+scrollBarSetThumbPosition _obj viewStart 
+  = withObjectRef "scrollBarSetThumbPosition" _obj $ \cobj__obj -> 
+    wxScrollBar_SetThumbPosition cobj__obj  (toCInt viewStart)  
+foreign import ccall "wxScrollBar_SetThumbPosition" wxScrollBar_SetThumbPosition :: Ptr (TScrollBar a) -> CInt -> IO ()
+
+-- | usage: (@scrollEventGetOrientation obj@).
+scrollEventGetOrientation :: ScrollEvent  a ->  IO Int
+scrollEventGetOrientation _obj 
+  = withIntResult $
+    withObjectRef "scrollEventGetOrientation" _obj $ \cobj__obj -> 
+    wxScrollEvent_GetOrientation cobj__obj  
+foreign import ccall "wxScrollEvent_GetOrientation" wxScrollEvent_GetOrientation :: Ptr (TScrollEvent a) -> IO CInt
+
+-- | usage: (@scrollEventGetPosition obj@).
+scrollEventGetPosition :: ScrollEvent  a ->  IO Int
+scrollEventGetPosition _obj 
+  = withIntResult $
+    withObjectRef "scrollEventGetPosition" _obj $ \cobj__obj -> 
+    wxScrollEvent_GetPosition cobj__obj  
+foreign import ccall "wxScrollEvent_GetPosition" wxScrollEvent_GetPosition :: Ptr (TScrollEvent a) -> IO CInt
+
+-- | usage: (@scrollWinEventGetOrientation obj@).
+scrollWinEventGetOrientation :: ScrollWinEvent  a ->  IO Int
+scrollWinEventGetOrientation _obj 
+  = withIntResult $
+    withObjectRef "scrollWinEventGetOrientation" _obj $ \cobj__obj -> 
+    wxScrollWinEvent_GetOrientation cobj__obj  
+foreign import ccall "wxScrollWinEvent_GetOrientation" wxScrollWinEvent_GetOrientation :: Ptr (TScrollWinEvent a) -> IO CInt
+
+-- | usage: (@scrollWinEventGetPosition obj@).
+scrollWinEventGetPosition :: ScrollWinEvent  a ->  IO Int
+scrollWinEventGetPosition _obj 
+  = withIntResult $
+    withObjectRef "scrollWinEventGetPosition" _obj $ \cobj__obj -> 
+    wxScrollWinEvent_GetPosition cobj__obj  
+foreign import ccall "wxScrollWinEvent_GetPosition" wxScrollWinEvent_GetPosition :: Ptr (TScrollWinEvent a) -> IO CInt
+
+-- | usage: (@scrollWinEventSetOrientation obj orient@).
+scrollWinEventSetOrientation :: ScrollWinEvent  a -> Int ->  IO ()
+scrollWinEventSetOrientation _obj orient 
+  = withObjectRef "scrollWinEventSetOrientation" _obj $ \cobj__obj -> 
+    wxScrollWinEvent_SetOrientation cobj__obj  (toCInt orient)  
+foreign import ccall "wxScrollWinEvent_SetOrientation" wxScrollWinEvent_SetOrientation :: Ptr (TScrollWinEvent a) -> CInt -> IO ()
+
+-- | usage: (@scrollWinEventSetPosition obj pos@).
+scrollWinEventSetPosition :: ScrollWinEvent  a -> Int ->  IO ()
+scrollWinEventSetPosition _obj pos 
+  = withObjectRef "scrollWinEventSetPosition" _obj $ \cobj__obj -> 
+    wxScrollWinEvent_SetPosition cobj__obj  (toCInt pos)  
+foreign import ccall "wxScrollWinEvent_SetPosition" wxScrollWinEvent_SetPosition :: Ptr (TScrollWinEvent a) -> CInt -> IO ()
+
+-- | usage: (@scrolledWindowAdjustScrollbars obj@).
+scrolledWindowAdjustScrollbars :: ScrolledWindow  a ->  IO ()
+scrolledWindowAdjustScrollbars _obj 
+  = withObjectRef "scrolledWindowAdjustScrollbars" _obj $ \cobj__obj -> 
+    wxScrolledWindow_AdjustScrollbars cobj__obj  
+foreign import ccall "wxScrolledWindow_AdjustScrollbars" wxScrolledWindow_AdjustScrollbars :: Ptr (TScrolledWindow a) -> IO ()
+
+-- | usage: (@scrolledWindowCalcScrolledPosition obj xy@).
+scrolledWindowCalcScrolledPosition :: ScrolledWindow  a -> Point ->  IO Point
+scrolledWindowCalcScrolledPosition _obj xy 
+  = withPointResult $ \px py -> 
+    withObjectRef "scrolledWindowCalcScrolledPosition" _obj $ \cobj__obj -> 
+    wxScrolledWindow_CalcScrolledPosition cobj__obj  (toCIntPointX xy) (toCIntPointY xy)   px py
+foreign import ccall "wxScrolledWindow_CalcScrolledPosition" wxScrolledWindow_CalcScrolledPosition :: Ptr (TScrolledWindow a) -> CInt -> CInt -> Ptr CInt -> Ptr CInt -> IO ()
+
+-- | usage: (@scrolledWindowCalcUnscrolledPosition obj xy@).
+scrolledWindowCalcUnscrolledPosition :: ScrolledWindow  a -> Point ->  IO Point
+scrolledWindowCalcUnscrolledPosition _obj xy 
+  = withPointResult $ \px py -> 
+    withObjectRef "scrolledWindowCalcUnscrolledPosition" _obj $ \cobj__obj -> 
+    wxScrolledWindow_CalcUnscrolledPosition cobj__obj  (toCIntPointX xy) (toCIntPointY xy)   px py
+foreign import ccall "wxScrolledWindow_CalcUnscrolledPosition" wxScrolledWindow_CalcUnscrolledPosition :: Ptr (TScrolledWindow a) -> CInt -> CInt -> Ptr CInt -> Ptr CInt -> IO ()
+
+-- | usage: (@scrolledWindowCreate prt id lfttopwdthgt stl@).
+scrolledWindowCreate :: Window  a -> Id -> Rect -> Style ->  IO (ScrolledWindow  ())
+scrolledWindowCreate _prt _id _lfttopwdthgt _stl 
+  = withObjectResult $
+    withObjectPtr _prt $ \cobj__prt -> 
+    wxScrolledWindow_Create cobj__prt  (toCInt _id)  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  (toCInt _stl)  
+foreign import ccall "wxScrolledWindow_Create" wxScrolledWindow_Create :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TScrolledWindow ()))
+
+-- | usage: (@scrolledWindowEnableScrolling obj xscrolling yscrolling@).
+scrolledWindowEnableScrolling :: ScrolledWindow  a -> Bool -> Bool ->  IO ()
+scrolledWindowEnableScrolling _obj xscrolling yscrolling 
+  = withObjectRef "scrolledWindowEnableScrolling" _obj $ \cobj__obj -> 
+    wxScrolledWindow_EnableScrolling cobj__obj  (toCBool xscrolling)  (toCBool yscrolling)  
+foreign import ccall "wxScrolledWindow_EnableScrolling" wxScrolledWindow_EnableScrolling :: Ptr (TScrolledWindow a) -> CBool -> CBool -> IO ()
+
+-- | usage: (@scrolledWindowGetScaleX obj@).
+scrolledWindowGetScaleX :: ScrolledWindow  a ->  IO Double
+scrolledWindowGetScaleX _obj 
+  = withObjectRef "scrolledWindowGetScaleX" _obj $ \cobj__obj -> 
+    wxScrolledWindow_GetScaleX cobj__obj  
+foreign import ccall "wxScrolledWindow_GetScaleX" wxScrolledWindow_GetScaleX :: Ptr (TScrolledWindow a) -> IO Double
+
+-- | usage: (@scrolledWindowGetScaleY obj@).
+scrolledWindowGetScaleY :: ScrolledWindow  a ->  IO Double
+scrolledWindowGetScaleY _obj 
+  = withObjectRef "scrolledWindowGetScaleY" _obj $ \cobj__obj -> 
+    wxScrolledWindow_GetScaleY cobj__obj  
+foreign import ccall "wxScrolledWindow_GetScaleY" wxScrolledWindow_GetScaleY :: Ptr (TScrolledWindow a) -> IO Double
+
+-- | usage: (@scrolledWindowGetScrollPageSize obj orient@).
+scrolledWindowGetScrollPageSize :: ScrolledWindow  a -> Int ->  IO Int
+scrolledWindowGetScrollPageSize _obj orient 
+  = withIntResult $
+    withObjectRef "scrolledWindowGetScrollPageSize" _obj $ \cobj__obj -> 
+    wxScrolledWindow_GetScrollPageSize cobj__obj  (toCInt orient)  
+foreign import ccall "wxScrolledWindow_GetScrollPageSize" wxScrolledWindow_GetScrollPageSize :: Ptr (TScrolledWindow a) -> CInt -> IO CInt
+
+-- | usage: (@scrolledWindowGetScrollPixelsPerUnit obj@).
+scrolledWindowGetScrollPixelsPerUnit :: ScrolledWindow  a ->  IO Point
+scrolledWindowGetScrollPixelsPerUnit _obj 
+  = withPointResult $ \px py -> 
+    withObjectRef "scrolledWindowGetScrollPixelsPerUnit" _obj $ \cobj__obj -> 
+    wxScrolledWindow_GetScrollPixelsPerUnit cobj__obj   px py
+foreign import ccall "wxScrolledWindow_GetScrollPixelsPerUnit" wxScrolledWindow_GetScrollPixelsPerUnit :: Ptr (TScrolledWindow a) -> Ptr CInt -> Ptr CInt -> IO ()
+
+-- | usage: (@scrolledWindowGetTargetWindow obj@).
+scrolledWindowGetTargetWindow :: ScrolledWindow  a ->  IO (Window  ())
+scrolledWindowGetTargetWindow _obj 
+  = withObjectResult $
+    withObjectRef "scrolledWindowGetTargetWindow" _obj $ \cobj__obj -> 
+    wxScrolledWindow_GetTargetWindow cobj__obj  
+foreign import ccall "wxScrolledWindow_GetTargetWindow" wxScrolledWindow_GetTargetWindow :: Ptr (TScrolledWindow a) -> IO (Ptr (TWindow ()))
+
+-- | usage: (@scrolledWindowGetViewStart obj@).
+scrolledWindowGetViewStart :: ScrolledWindow  a ->  IO Point
+scrolledWindowGetViewStart _obj 
+  = withPointResult $ \px py -> 
+    withObjectRef "scrolledWindowGetViewStart" _obj $ \cobj__obj -> 
+    wxScrolledWindow_GetViewStart cobj__obj   px py
+foreign import ccall "wxScrolledWindow_GetViewStart" wxScrolledWindow_GetViewStart :: Ptr (TScrolledWindow a) -> Ptr CInt -> Ptr CInt -> IO ()
+
+-- | usage: (@scrolledWindowGetVirtualSize obj@).
+scrolledWindowGetVirtualSize :: ScrolledWindow  a ->  IO Size
+scrolledWindowGetVirtualSize _obj 
+  = withSizeResult $ \pw ph -> 
+    withObjectRef "scrolledWindowGetVirtualSize" _obj $ \cobj__obj -> 
+    wxScrolledWindow_GetVirtualSize cobj__obj   pw ph
+foreign import ccall "wxScrolledWindow_GetVirtualSize" wxScrolledWindow_GetVirtualSize :: Ptr (TScrolledWindow a) -> Ptr CInt -> Ptr CInt -> IO ()
+
+-- | usage: (@scrolledWindowOnDraw obj dc@).
+scrolledWindowOnDraw :: ScrolledWindow  a -> DC  b ->  IO ()
+scrolledWindowOnDraw _obj dc 
+  = withObjectRef "scrolledWindowOnDraw" _obj $ \cobj__obj -> 
+    withObjectPtr dc $ \cobj_dc -> 
+    wxScrolledWindow_OnDraw cobj__obj  cobj_dc  
+foreign import ccall "wxScrolledWindow_OnDraw" wxScrolledWindow_OnDraw :: Ptr (TScrolledWindow a) -> Ptr (TDC b) -> IO ()
+
+-- | usage: (@scrolledWindowPrepareDC obj dc@).
+scrolledWindowPrepareDC :: ScrolledWindow  a -> DC  b ->  IO ()
+scrolledWindowPrepareDC _obj dc 
+  = withObjectRef "scrolledWindowPrepareDC" _obj $ \cobj__obj -> 
+    withObjectPtr dc $ \cobj_dc -> 
+    wxScrolledWindow_PrepareDC cobj__obj  cobj_dc  
+foreign import ccall "wxScrolledWindow_PrepareDC" wxScrolledWindow_PrepareDC :: Ptr (TScrolledWindow a) -> Ptr (TDC b) -> IO ()
+
+-- | usage: (@scrolledWindowScroll obj xposypos@).
+scrolledWindowScroll :: ScrolledWindow  a -> Point ->  IO ()
+scrolledWindowScroll _obj xposypos 
+  = withObjectRef "scrolledWindowScroll" _obj $ \cobj__obj -> 
+    wxScrolledWindow_Scroll cobj__obj  (toCIntPointX xposypos) (toCIntPointY xposypos)  
+foreign import ccall "wxScrolledWindow_Scroll" wxScrolledWindow_Scroll :: Ptr (TScrolledWindow a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@scrolledWindowSetScale obj xs ys@).
+scrolledWindowSetScale :: ScrolledWindow  a -> Double -> Double ->  IO ()
+scrolledWindowSetScale _obj xs ys 
+  = withObjectRef "scrolledWindowSetScale" _obj $ \cobj__obj -> 
+    wxScrolledWindow_SetScale cobj__obj  xs  ys  
+foreign import ccall "wxScrolledWindow_SetScale" wxScrolledWindow_SetScale :: Ptr (TScrolledWindow a) -> Double -> Double -> IO ()
+
+-- | usage: (@scrolledWindowSetScrollPageSize obj orient pageSize@).
+scrolledWindowSetScrollPageSize :: ScrolledWindow  a -> Int -> Int ->  IO ()
+scrolledWindowSetScrollPageSize _obj orient pageSize 
+  = withObjectRef "scrolledWindowSetScrollPageSize" _obj $ \cobj__obj -> 
+    wxScrolledWindow_SetScrollPageSize cobj__obj  (toCInt orient)  (toCInt pageSize)  
+foreign import ccall "wxScrolledWindow_SetScrollPageSize" wxScrolledWindow_SetScrollPageSize :: Ptr (TScrolledWindow a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@scrolledWindowSetScrollRate obj xstep ystep@).
+scrolledWindowSetScrollRate :: ScrolledWindow  a -> Int -> Int ->  IO ()
+scrolledWindowSetScrollRate _obj xstep ystep 
+  = withObjectRef "scrolledWindowSetScrollRate" _obj $ \cobj__obj -> 
+    wxScrolledWindow_SetScrollRate cobj__obj  (toCInt xstep)  (toCInt ystep)  
+foreign import ccall "wxScrolledWindow_SetScrollRate" wxScrolledWindow_SetScrollRate :: Ptr (TScrolledWindow a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@scrolledWindowSetScrollbars obj pixelsPerUnitX pixelsPerUnitY noUnitsX noUnitsY xPos yPos noRefresh@).
+scrolledWindowSetScrollbars :: ScrolledWindow  a -> Int -> Int -> Int -> Int -> Int -> Int -> Bool ->  IO ()
+scrolledWindowSetScrollbars _obj pixelsPerUnitX pixelsPerUnitY noUnitsX noUnitsY xPos yPos noRefresh 
+  = withObjectRef "scrolledWindowSetScrollbars" _obj $ \cobj__obj -> 
+    wxScrolledWindow_SetScrollbars cobj__obj  (toCInt pixelsPerUnitX)  (toCInt pixelsPerUnitY)  (toCInt noUnitsX)  (toCInt noUnitsY)  (toCInt xPos)  (toCInt yPos)  (toCBool noRefresh)  
+foreign import ccall "wxScrolledWindow_SetScrollbars" wxScrolledWindow_SetScrollbars :: Ptr (TScrolledWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> CBool -> IO ()
+
+-- | usage: (@scrolledWindowSetTargetWindow obj target@).
+scrolledWindowSetTargetWindow :: ScrolledWindow  a -> Window  b ->  IO ()
+scrolledWindowSetTargetWindow _obj target 
+  = withObjectRef "scrolledWindowSetTargetWindow" _obj $ \cobj__obj -> 
+    withObjectPtr target $ \cobj_target -> 
+    wxScrolledWindow_SetTargetWindow cobj__obj  cobj_target  
+foreign import ccall "wxScrolledWindow_SetTargetWindow" wxScrolledWindow_SetTargetWindow :: Ptr (TScrolledWindow a) -> Ptr (TWindow b) -> IO ()
+
+-- | usage: (@scrolledWindowShowScrollbars obj showh showv@).
+scrolledWindowShowScrollbars :: ScrolledWindow  a -> Int -> Int ->  IO ()
+scrolledWindowShowScrollbars _obj showh showv 
+  = withObjectRef "scrolledWindowShowScrollbars" _obj $ \cobj__obj -> 
+    wxScrolledWindow_ShowScrollbars cobj__obj  (toCInt showh)  (toCInt showv)  
+foreign import ccall "wxScrolledWindow_ShowScrollbars" wxScrolledWindow_ShowScrollbars :: Ptr (TScrolledWindow a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@scrolledWindowViewStart obj@).
+scrolledWindowViewStart :: ScrolledWindow  a ->  IO Point
+scrolledWindowViewStart _obj 
+  = withPointResult $ \px py -> 
+    withObjectRef "scrolledWindowViewStart" _obj $ \cobj__obj -> 
+    wxScrolledWindow_ViewStart cobj__obj   px py
+foreign import ccall "wxScrolledWindow_ViewStart" wxScrolledWindow_ViewStart :: Ptr (TScrolledWindow a) -> Ptr CInt -> Ptr CInt -> IO ()
+
+-- | usage: (@setCursorEventGetCursor obj@).
+setCursorEventGetCursor :: SetCursorEvent  a ->  IO (Cursor  ())
+setCursorEventGetCursor _obj 
+  = withManagedCursorResult $
+    withObjectRef "setCursorEventGetCursor" _obj $ \cobj__obj -> 
+    wxSetCursorEvent_GetCursor cobj__obj  
+foreign import ccall "wxSetCursorEvent_GetCursor" wxSetCursorEvent_GetCursor :: Ptr (TSetCursorEvent a) -> IO (Ptr (TCursor ()))
+
+-- | usage: (@setCursorEventGetX obj@).
+setCursorEventGetX :: SetCursorEvent  a ->  IO Int
+setCursorEventGetX _obj 
+  = withIntResult $
+    withObjectRef "setCursorEventGetX" _obj $ \cobj__obj -> 
+    wxSetCursorEvent_GetX cobj__obj  
+foreign import ccall "wxSetCursorEvent_GetX" wxSetCursorEvent_GetX :: Ptr (TSetCursorEvent a) -> IO CInt
+
+-- | usage: (@setCursorEventGetY obj@).
+setCursorEventGetY :: SetCursorEvent  a ->  IO Int
+setCursorEventGetY _obj 
+  = withIntResult $
+    withObjectRef "setCursorEventGetY" _obj $ \cobj__obj -> 
+    wxSetCursorEvent_GetY cobj__obj  
+foreign import ccall "wxSetCursorEvent_GetY" wxSetCursorEvent_GetY :: Ptr (TSetCursorEvent a) -> IO CInt
+
+-- | usage: (@setCursorEventHasCursor obj@).
+setCursorEventHasCursor :: SetCursorEvent  a ->  IO Bool
+setCursorEventHasCursor _obj 
+  = withBoolResult $
+    withObjectRef "setCursorEventHasCursor" _obj $ \cobj__obj -> 
+    wxSetCursorEvent_HasCursor cobj__obj  
+foreign import ccall "wxSetCursorEvent_HasCursor" wxSetCursorEvent_HasCursor :: Ptr (TSetCursorEvent a) -> IO CBool
+
+-- | usage: (@setCursorEventSetCursor obj cursor@).
+setCursorEventSetCursor :: SetCursorEvent  a -> Cursor  b ->  IO ()
+setCursorEventSetCursor _obj cursor 
+  = withObjectRef "setCursorEventSetCursor" _obj $ \cobj__obj -> 
+    withObjectPtr cursor $ \cobj_cursor -> 
+    wxSetCursorEvent_SetCursor cobj__obj  cobj_cursor  
+foreign import ccall "wxSetCursorEvent_SetCursor" wxSetCursorEvent_SetCursor :: Ptr (TSetCursorEvent a) -> Ptr (TCursor b) -> IO ()
+
+-- | usage: (@showEventCopyObject obj obj@).
+showEventCopyObject :: ShowEvent  a -> WxObject  b ->  IO ()
+showEventCopyObject _obj obj 
+  = withObjectRef "showEventCopyObject" _obj $ \cobj__obj -> 
+    withObjectPtr obj $ \cobj_obj -> 
+    wxShowEvent_CopyObject cobj__obj  cobj_obj  
+foreign import ccall "wxShowEvent_CopyObject" wxShowEvent_CopyObject :: Ptr (TShowEvent a) -> Ptr (TWxObject b) -> IO ()
+
+-- | usage: (@showEventIsShown obj@).
+showEventIsShown :: ShowEvent  a ->  IO Bool
+showEventIsShown _obj 
+  = withBoolResult $
+    withObjectRef "showEventIsShown" _obj $ \cobj__obj -> 
+    wxShowEvent_IsShown cobj__obj  
+foreign import ccall "wxShowEvent_IsShown" wxShowEvent_IsShown :: Ptr (TShowEvent a) -> IO CBool
+
+-- | usage: (@showEventSetShow obj show@).
+showEventSetShow :: ShowEvent  a -> Bool ->  IO ()
+showEventSetShow _obj show 
+  = withObjectRef "showEventSetShow" _obj $ \cobj__obj -> 
+    wxShowEvent_SetShow cobj__obj  (toCBool show)  
+foreign import ccall "wxShowEvent_SetShow" wxShowEvent_SetShow :: Ptr (TShowEvent a) -> CBool -> IO ()
+
+-- | usage: (@simpleHelpProviderCreate@).
+simpleHelpProviderCreate ::  IO (SimpleHelpProvider  ())
+simpleHelpProviderCreate 
+  = withObjectResult $
+    wxSimpleHelpProvider_Create 
+foreign import ccall "wxSimpleHelpProvider_Create" wxSimpleHelpProvider_Create :: IO (Ptr (TSimpleHelpProvider ()))
+
+-- | usage: (@singleInstanceCheckerCreate obj name path@).
+singleInstanceCheckerCreate :: Ptr  a -> String -> String ->  IO Bool
+singleInstanceCheckerCreate _obj name path 
+  = withBoolResult $
+    withStringPtr name $ \cobj_name -> 
+    withStringPtr path $ \cobj_path -> 
+    wxSingleInstanceChecker_Create _obj  cobj_name  cobj_path  
+foreign import ccall "wxSingleInstanceChecker_Create" wxSingleInstanceChecker_Create :: Ptr  a -> Ptr (TWxString b) -> Ptr (TWxString c) -> IO CBool
+
+-- | usage: (@singleInstanceCheckerCreateDefault@).
+singleInstanceCheckerCreateDefault ::  IO (SingleInstanceChecker  ())
+singleInstanceCheckerCreateDefault 
+  = withObjectResult $
+    wxSingleInstanceChecker_CreateDefault 
+foreign import ccall "wxSingleInstanceChecker_CreateDefault" wxSingleInstanceChecker_CreateDefault :: IO (Ptr (TSingleInstanceChecker ()))
+
+-- | usage: (@singleInstanceCheckerDelete obj@).
+singleInstanceCheckerDelete :: SingleInstanceChecker  a ->  IO ()
+singleInstanceCheckerDelete _obj 
+  = withObjectRef "singleInstanceCheckerDelete" _obj $ \cobj__obj -> 
+    wxSingleInstanceChecker_Delete cobj__obj  
+foreign import ccall "wxSingleInstanceChecker_Delete" wxSingleInstanceChecker_Delete :: Ptr (TSingleInstanceChecker a) -> IO ()
+
+-- | usage: (@singleInstanceCheckerIsAnotherRunning obj@).
+singleInstanceCheckerIsAnotherRunning :: SingleInstanceChecker  a ->  IO Bool
+singleInstanceCheckerIsAnotherRunning _obj 
+  = withBoolResult $
+    withObjectRef "singleInstanceCheckerIsAnotherRunning" _obj $ \cobj__obj -> 
+    wxSingleInstanceChecker_IsAnotherRunning cobj__obj  
+foreign import ccall "wxSingleInstanceChecker_IsAnotherRunning" wxSingleInstanceChecker_IsAnotherRunning :: Ptr (TSingleInstanceChecker a) -> IO CBool
+
+-- | usage: (@sizeEventCopyObject obj obj@).
+sizeEventCopyObject :: SizeEvent  a -> Ptr  b ->  IO ()
+sizeEventCopyObject _obj obj 
+  = withObjectRef "sizeEventCopyObject" _obj $ \cobj__obj -> 
+    wxSizeEvent_CopyObject cobj__obj  obj  
+foreign import ccall "wxSizeEvent_CopyObject" wxSizeEvent_CopyObject :: Ptr (TSizeEvent a) -> Ptr  b -> IO ()
+
+-- | usage: (@sizeEventGetSize obj@).
+sizeEventGetSize :: SizeEvent  a ->  IO (Size)
+sizeEventGetSize _obj 
+  = withWxSizeResult $
+    withObjectRef "sizeEventGetSize" _obj $ \cobj__obj -> 
+    wxSizeEvent_GetSize cobj__obj  
+foreign import ccall "wxSizeEvent_GetSize" wxSizeEvent_GetSize :: Ptr (TSizeEvent a) -> IO (Ptr (TWxSize ()))
+
+-- | usage: (@sizerAdd obj widthheight option flag border userData@).
+sizerAdd :: Sizer  a -> Size -> Int -> Int -> Int -> Ptr  f ->  IO ()
+sizerAdd _obj widthheight option flag border userData 
+  = withObjectRef "sizerAdd" _obj $ \cobj__obj -> 
+    wxSizer_Add cobj__obj  (toCIntSizeW widthheight) (toCIntSizeH widthheight)  (toCInt option)  (toCInt flag)  (toCInt border)  userData  
+foreign import ccall "wxSizer_Add" wxSizer_Add :: Ptr (TSizer a) -> CInt -> CInt -> CInt -> CInt -> CInt -> Ptr  f -> IO ()
+
+-- | usage: (@sizerAddSizer obj sizer option flag border userData@).
+sizerAddSizer :: Sizer  a -> Sizer  b -> Int -> Int -> Int -> Ptr  f ->  IO ()
+sizerAddSizer _obj sizer option flag border userData 
+  = withObjectRef "sizerAddSizer" _obj $ \cobj__obj -> 
+    withObjectPtr sizer $ \cobj_sizer -> 
+    wxSizer_AddSizer cobj__obj  cobj_sizer  (toCInt option)  (toCInt flag)  (toCInt border)  userData  
+foreign import ccall "wxSizer_AddSizer" wxSizer_AddSizer :: Ptr (TSizer a) -> Ptr (TSizer b) -> CInt -> CInt -> CInt -> Ptr  f -> IO ()
+
+-- | usage: (@sizerAddSpacer obj size@).
+sizerAddSpacer :: Sizer  a -> Int ->  IO ()
+sizerAddSpacer _obj size 
+  = withObjectRef "sizerAddSpacer" _obj $ \cobj__obj -> 
+    wxSizer_AddSpacer cobj__obj  (toCInt size)  
+foreign import ccall "wxSizer_AddSpacer" wxSizer_AddSpacer :: Ptr (TSizer a) -> CInt -> IO ()
+
+-- | usage: (@sizerAddStretchSpacer obj size@).
+sizerAddStretchSpacer :: Sizer  a -> Int ->  IO ()
+sizerAddStretchSpacer _obj size 
+  = withObjectRef "sizerAddStretchSpacer" _obj $ \cobj__obj -> 
+    wxSizer_AddStretchSpacer cobj__obj  (toCInt size)  
+foreign import ccall "wxSizer_AddStretchSpacer" wxSizer_AddStretchSpacer :: Ptr (TSizer a) -> CInt -> IO ()
+
+-- | usage: (@sizerAddWindow obj window option flag border userData@).
+sizerAddWindow :: Sizer  a -> Window  b -> Int -> Int -> Int -> Ptr  f ->  IO ()
+sizerAddWindow _obj window option flag border userData 
+  = withObjectRef "sizerAddWindow" _obj $ \cobj__obj -> 
+    withObjectPtr window $ \cobj_window -> 
+    wxSizer_AddWindow cobj__obj  cobj_window  (toCInt option)  (toCInt flag)  (toCInt border)  userData  
+foreign import ccall "wxSizer_AddWindow" wxSizer_AddWindow :: Ptr (TSizer a) -> Ptr (TWindow b) -> CInt -> CInt -> CInt -> Ptr  f -> IO ()
+
+-- | usage: (@sizerCalcMin obj@).
+sizerCalcMin :: Sizer  a ->  IO (Size)
+sizerCalcMin _obj 
+  = withWxSizeResult $
+    withObjectRef "sizerCalcMin" _obj $ \cobj__obj -> 
+    wxSizer_CalcMin cobj__obj  
+foreign import ccall "wxSizer_CalcMin" wxSizer_CalcMin :: Ptr (TSizer a) -> IO (Ptr (TWxSize ()))
+
+-- | usage: (@sizerClear obj deletewindows@).
+sizerClear :: Sizer  a -> Bool ->  IO ()
+sizerClear _obj deletewindows 
+  = withObjectRef "sizerClear" _obj $ \cobj__obj -> 
+    wxSizer_Clear cobj__obj  (toCBool deletewindows)  
+foreign import ccall "wxSizer_Clear" wxSizer_Clear :: Ptr (TSizer a) -> CBool -> IO ()
+
+-- | usage: (@sizerDetach obj index@).
+sizerDetach :: Sizer  a -> Int ->  IO Bool
+sizerDetach _obj index 
+  = withBoolResult $
+    withObjectRef "sizerDetach" _obj $ \cobj__obj -> 
+    wxSizer_Detach cobj__obj  (toCInt index)  
+foreign import ccall "wxSizer_Detach" wxSizer_Detach :: Ptr (TSizer a) -> CInt -> IO CBool
+
+-- | usage: (@sizerDetachSizer obj sizer@).
+sizerDetachSizer :: Sizer  a -> Sizer  b ->  IO Bool
+sizerDetachSizer _obj sizer 
+  = withBoolResult $
+    withObjectRef "sizerDetachSizer" _obj $ \cobj__obj -> 
+    withObjectPtr sizer $ \cobj_sizer -> 
+    wxSizer_DetachSizer cobj__obj  cobj_sizer  
+foreign import ccall "wxSizer_DetachSizer" wxSizer_DetachSizer :: Ptr (TSizer a) -> Ptr (TSizer b) -> IO CBool
+
+-- | usage: (@sizerDetachWindow obj window@).
+sizerDetachWindow :: Sizer  a -> Window  b ->  IO Bool
+sizerDetachWindow _obj window 
+  = withBoolResult $
+    withObjectRef "sizerDetachWindow" _obj $ \cobj__obj -> 
+    withObjectPtr window $ \cobj_window -> 
+    wxSizer_DetachWindow cobj__obj  cobj_window  
+foreign import ccall "wxSizer_DetachWindow" wxSizer_DetachWindow :: Ptr (TSizer a) -> Ptr (TWindow b) -> IO CBool
+
+-- | usage: (@sizerFit obj window@).
+sizerFit :: Sizer  a -> Window  b ->  IO ()
+sizerFit _obj window 
+  = withObjectRef "sizerFit" _obj $ \cobj__obj -> 
+    withObjectPtr window $ \cobj_window -> 
+    wxSizer_Fit cobj__obj  cobj_window  
+foreign import ccall "wxSizer_Fit" wxSizer_Fit :: Ptr (TSizer a) -> Ptr (TWindow b) -> IO ()
+
+-- | usage: (@sizerFitInside obj window@).
+sizerFitInside :: Sizer  a -> Window  b ->  IO ()
+sizerFitInside _obj window 
+  = withObjectRef "sizerFitInside" _obj $ \cobj__obj -> 
+    withObjectPtr window $ \cobj_window -> 
+    wxSizer_FitInside cobj__obj  cobj_window  
+foreign import ccall "wxSizer_FitInside" wxSizer_FitInside :: Ptr (TSizer a) -> Ptr (TWindow b) -> IO ()
+
+-- | usage: (@sizerGetChildren obj res cnt@).
+sizerGetChildren :: Sizer  a -> Ptr  b -> Int ->  IO Int
+sizerGetChildren _obj _res _cnt 
+  = withIntResult $
+    withObjectRef "sizerGetChildren" _obj $ \cobj__obj -> 
+    wxSizer_GetChildren cobj__obj  _res  (toCInt _cnt)  
+foreign import ccall "wxSizer_GetChildren" wxSizer_GetChildren :: Ptr (TSizer a) -> Ptr  b -> CInt -> IO CInt
+
+-- | usage: (@sizerGetContainingWindow obj@).
+sizerGetContainingWindow :: Sizer  a ->  IO (Window  ())
+sizerGetContainingWindow _obj 
+  = withObjectResult $
+    withObjectRef "sizerGetContainingWindow" _obj $ \cobj__obj -> 
+    wxSizer_GetContainingWindow cobj__obj  
+foreign import ccall "wxSizer_GetContainingWindow" wxSizer_GetContainingWindow :: Ptr (TSizer a) -> IO (Ptr (TWindow ()))
+
+-- | usage: (@sizerGetItem obj index@).
+sizerGetItem :: Sizer  a -> Int ->  IO (SizerItem  ())
+sizerGetItem _obj index 
+  = withObjectResult $
+    withObjectRef "sizerGetItem" _obj $ \cobj__obj -> 
+    wxSizer_GetItem cobj__obj  (toCInt index)  
+foreign import ccall "wxSizer_GetItem" wxSizer_GetItem :: Ptr (TSizer a) -> CInt -> IO (Ptr (TSizerItem ()))
+
+-- | usage: (@sizerGetItemSizer obj window recursive@).
+sizerGetItemSizer :: Sizer  a -> Sizer  b -> Bool ->  IO (SizerItem  ())
+sizerGetItemSizer _obj window recursive 
+  = withObjectResult $
+    withObjectRef "sizerGetItemSizer" _obj $ \cobj__obj -> 
+    withObjectPtr window $ \cobj_window -> 
+    wxSizer_GetItemSizer cobj__obj  cobj_window  (toCBool recursive)  
+foreign import ccall "wxSizer_GetItemSizer" wxSizer_GetItemSizer :: Ptr (TSizer a) -> Ptr (TSizer b) -> CBool -> IO (Ptr (TSizerItem ()))
+
+-- | usage: (@sizerGetItemWindow obj window recursive@).
+sizerGetItemWindow :: Sizer  a -> Window  b -> Bool ->  IO (SizerItem  ())
+sizerGetItemWindow _obj window recursive 
+  = withObjectResult $
+    withObjectRef "sizerGetItemWindow" _obj $ \cobj__obj -> 
+    withObjectPtr window $ \cobj_window -> 
+    wxSizer_GetItemWindow cobj__obj  cobj_window  (toCBool recursive)  
+foreign import ccall "wxSizer_GetItemWindow" wxSizer_GetItemWindow :: Ptr (TSizer a) -> Ptr (TWindow b) -> CBool -> IO (Ptr (TSizerItem ()))
+
+-- | usage: (@sizerGetMinSize obj@).
+sizerGetMinSize :: Sizer  a ->  IO (Size)
+sizerGetMinSize _obj 
+  = withWxSizeResult $
+    withObjectRef "sizerGetMinSize" _obj $ \cobj__obj -> 
+    wxSizer_GetMinSize cobj__obj  
+foreign import ccall "wxSizer_GetMinSize" wxSizer_GetMinSize :: Ptr (TSizer a) -> IO (Ptr (TWxSize ()))
+
+-- | usage: (@sizerGetPosition obj@).
+sizerGetPosition :: Sizer  a ->  IO (Point)
+sizerGetPosition _obj 
+  = withWxPointResult $
+    withObjectRef "sizerGetPosition" _obj $ \cobj__obj -> 
+    wxSizer_GetPosition cobj__obj  
+foreign import ccall "wxSizer_GetPosition" wxSizer_GetPosition :: Ptr (TSizer a) -> IO (Ptr (TWxPoint ()))
+
+-- | usage: (@sizerGetSize obj@).
+sizerGetSize :: Sizer  a ->  IO (Size)
+sizerGetSize _obj 
+  = withWxSizeResult $
+    withObjectRef "sizerGetSize" _obj $ \cobj__obj -> 
+    wxSizer_GetSize cobj__obj  
+foreign import ccall "wxSizer_GetSize" wxSizer_GetSize :: Ptr (TSizer a) -> IO (Ptr (TWxSize ()))
+
+-- | usage: (@sizerHide obj index@).
+sizerHide :: Window  a -> Int ->  IO Bool
+sizerHide _obj index 
+  = withBoolResult $
+    withObjectPtr _obj $ \cobj__obj -> 
+    wxSizer_Hide cobj__obj  (toCInt index)  
+foreign import ccall "wxSizer_Hide" wxSizer_Hide :: Ptr (TWindow a) -> CInt -> IO CBool
+
+-- | usage: (@sizerHideSizer obj sizer@).
+sizerHideSizer :: Window  a -> Sizer  b ->  IO Bool
+sizerHideSizer _obj sizer 
+  = withBoolResult $
+    withObjectPtr _obj $ \cobj__obj -> 
+    withObjectPtr sizer $ \cobj_sizer -> 
+    wxSizer_HideSizer cobj__obj  cobj_sizer  
+foreign import ccall "wxSizer_HideSizer" wxSizer_HideSizer :: Ptr (TWindow a) -> Ptr (TSizer b) -> IO CBool
+
+-- | usage: (@sizerHideWindow obj window@).
+sizerHideWindow :: Window  a -> Window  b ->  IO Bool
+sizerHideWindow _obj window 
+  = withBoolResult $
+    withObjectPtr _obj $ \cobj__obj -> 
+    withObjectPtr window $ \cobj_window -> 
+    wxSizer_HideWindow cobj__obj  cobj_window  
+foreign import ccall "wxSizer_HideWindow" wxSizer_HideWindow :: Ptr (TWindow a) -> Ptr (TWindow b) -> IO CBool
+
+-- | usage: (@sizerInsert obj before widthheight option flag border userData@).
+sizerInsert :: Sizer  a -> Int -> Size -> Int -> Int -> Int -> Ptr  g ->  IO ()
+sizerInsert _obj before widthheight option flag border userData 
+  = withObjectRef "sizerInsert" _obj $ \cobj__obj -> 
+    wxSizer_Insert cobj__obj  (toCInt before)  (toCIntSizeW widthheight) (toCIntSizeH widthheight)  (toCInt option)  (toCInt flag)  (toCInt border)  userData  
+foreign import ccall "wxSizer_Insert" wxSizer_Insert :: Ptr (TSizer a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> Ptr  g -> IO ()
+
+-- | usage: (@sizerInsertSizer obj before sizer option flag border userData@).
+sizerInsertSizer :: Sizer  a -> Int -> Sizer  c -> Int -> Int -> Int -> Ptr  g ->  IO ()
+sizerInsertSizer _obj before sizer option flag border userData 
+  = withObjectRef "sizerInsertSizer" _obj $ \cobj__obj -> 
+    withObjectPtr sizer $ \cobj_sizer -> 
+    wxSizer_InsertSizer cobj__obj  (toCInt before)  cobj_sizer  (toCInt option)  (toCInt flag)  (toCInt border)  userData  
+foreign import ccall "wxSizer_InsertSizer" wxSizer_InsertSizer :: Ptr (TSizer a) -> CInt -> Ptr (TSizer c) -> CInt -> CInt -> CInt -> Ptr  g -> IO ()
+
+-- | usage: (@sizerInsertSpacer obj index size@).
+sizerInsertSpacer :: Sizer  a -> Int -> Int ->  IO (SizerItem  ())
+sizerInsertSpacer _obj index size 
+  = withObjectResult $
+    withObjectRef "sizerInsertSpacer" _obj $ \cobj__obj -> 
+    wxSizer_InsertSpacer cobj__obj  (toCInt index)  (toCInt size)  
+foreign import ccall "wxSizer_InsertSpacer" wxSizer_InsertSpacer :: Ptr (TSizer a) -> CInt -> CInt -> IO (Ptr (TSizerItem ()))
+
+-- | usage: (@sizerInsertStretchSpacer obj index prop@).
+sizerInsertStretchSpacer :: Sizer  a -> Int -> Int ->  IO (SizerItem  ())
+sizerInsertStretchSpacer _obj index prop 
+  = withObjectResult $
+    withObjectRef "sizerInsertStretchSpacer" _obj $ \cobj__obj -> 
+    wxSizer_InsertStretchSpacer cobj__obj  (toCInt index)  (toCInt prop)  
+foreign import ccall "wxSizer_InsertStretchSpacer" wxSizer_InsertStretchSpacer :: Ptr (TSizer a) -> CInt -> CInt -> IO (Ptr (TSizerItem ()))
+
+-- | usage: (@sizerInsertWindow obj before window option flag border userData@).
+sizerInsertWindow :: Sizer  a -> Int -> Window  c -> Int -> Int -> Int -> Ptr  g ->  IO ()
+sizerInsertWindow _obj before window option flag border userData 
+  = withObjectRef "sizerInsertWindow" _obj $ \cobj__obj -> 
+    withObjectPtr window $ \cobj_window -> 
+    wxSizer_InsertWindow cobj__obj  (toCInt before)  cobj_window  (toCInt option)  (toCInt flag)  (toCInt border)  userData  
+foreign import ccall "wxSizer_InsertWindow" wxSizer_InsertWindow :: Ptr (TSizer a) -> CInt -> Ptr (TWindow c) -> CInt -> CInt -> CInt -> Ptr  g -> IO ()
+
+-- | usage: (@sizerIsShown obj index@).
+sizerIsShown :: Sizer  a -> Int ->  IO Bool
+sizerIsShown _obj index 
+  = withBoolResult $
+    withObjectRef "sizerIsShown" _obj $ \cobj__obj -> 
+    wxSizer_IsShown cobj__obj  (toCInt index)  
+foreign import ccall "wxSizer_IsShown" wxSizer_IsShown :: Ptr (TSizer a) -> CInt -> IO CBool
+
+-- | usage: (@sizerIsShownSizer obj sizer@).
+sizerIsShownSizer :: Sizer  a -> Ptr (Ptr (TSizer b)) ->  IO Bool
+sizerIsShownSizer _obj sizer 
+  = withBoolResult $
+    withObjectRef "sizerIsShownSizer" _obj $ \cobj__obj -> 
+    wxSizer_IsShownSizer cobj__obj  sizer  
+foreign import ccall "wxSizer_IsShownSizer" wxSizer_IsShownSizer :: Ptr (TSizer a) -> Ptr (Ptr (TSizer b)) -> IO CBool
+
+-- | usage: (@sizerIsShownWindow obj window@).
+sizerIsShownWindow :: Sizer  a -> Ptr (Ptr (TWindow b)) ->  IO Bool
+sizerIsShownWindow _obj window 
+  = withBoolResult $
+    withObjectRef "sizerIsShownWindow" _obj $ \cobj__obj -> 
+    wxSizer_IsShownWindow cobj__obj  window  
+foreign import ccall "wxSizer_IsShownWindow" wxSizer_IsShownWindow :: Ptr (TSizer a) -> Ptr (Ptr (TWindow b)) -> IO CBool
+
+-- | usage: (@sizerItemAssignSizer obj sizer@).
+sizerItemAssignSizer :: SizerItem  a -> Sizer  b ->  IO ()
+sizerItemAssignSizer _obj sizer 
+  = withObjectRef "sizerItemAssignSizer" _obj $ \cobj__obj -> 
+    withObjectPtr sizer $ \cobj_sizer -> 
+    wxSizerItem_AssignSizer cobj__obj  cobj_sizer  
+foreign import ccall "wxSizerItem_AssignSizer" wxSizerItem_AssignSizer :: Ptr (TSizerItem a) -> Ptr (TSizer b) -> IO ()
+
+-- | usage: (@sizerItemAssignSpacer obj widthheight@).
+sizerItemAssignSpacer :: SizerItem  a -> Size ->  IO ()
+sizerItemAssignSpacer _obj widthheight 
+  = withObjectRef "sizerItemAssignSpacer" _obj $ \cobj__obj -> 
+    wxSizerItem_AssignSpacer cobj__obj  (toCIntSizeW widthheight) (toCIntSizeH widthheight)  
+foreign import ccall "wxSizerItem_AssignSpacer" wxSizerItem_AssignSpacer :: Ptr (TSizerItem a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@sizerItemAssignWindow obj window@).
+sizerItemAssignWindow :: SizerItem  a -> Window  b ->  IO ()
+sizerItemAssignWindow _obj window 
+  = withObjectRef "sizerItemAssignWindow" _obj $ \cobj__obj -> 
+    withObjectPtr window $ \cobj_window -> 
+    wxSizerItem_AssignWindow cobj__obj  cobj_window  
+foreign import ccall "wxSizerItem_AssignWindow" wxSizerItem_AssignWindow :: Ptr (TSizerItem a) -> Ptr (TWindow b) -> IO ()
+
+-- | usage: (@sizerItemCalcMin obj@).
+sizerItemCalcMin :: SizerItem  a ->  IO (Size)
+sizerItemCalcMin _obj 
+  = withWxSizeResult $
+    withObjectRef "sizerItemCalcMin" _obj $ \cobj__obj -> 
+    wxSizerItem_CalcMin cobj__obj  
+foreign import ccall "wxSizerItem_CalcMin" wxSizerItem_CalcMin :: Ptr (TSizerItem a) -> IO (Ptr (TWxSize ()))
+
+-- | usage: (@sizerItemCreate widthheight option flag border userData@).
+sizerItemCreate :: Size -> Int -> Int -> Int -> Ptr  e ->  IO (SizerItem  ())
+sizerItemCreate widthheight option flag border userData 
+  = withObjectResult $
+    wxSizerItem_Create (toCIntSizeW widthheight) (toCIntSizeH widthheight)  (toCInt option)  (toCInt flag)  (toCInt border)  userData  
+foreign import ccall "wxSizerItem_Create" wxSizerItem_Create :: CInt -> CInt -> CInt -> CInt -> CInt -> Ptr  e -> IO (Ptr (TSizerItem ()))
+
+-- | usage: (@sizerItemCreateInSizer sizer option flag border userData@).
+sizerItemCreateInSizer :: Sizer  a -> Int -> Int -> Int -> Ptr  e ->  IO (Ptr  ())
+sizerItemCreateInSizer sizer option flag border userData 
+  = withObjectPtr sizer $ \cobj_sizer -> 
+    wxSizerItem_CreateInSizer cobj_sizer  (toCInt option)  (toCInt flag)  (toCInt border)  userData  
+foreign import ccall "wxSizerItem_CreateInSizer" wxSizerItem_CreateInSizer :: Ptr (TSizer a) -> CInt -> CInt -> CInt -> Ptr  e -> IO (Ptr  ())
+
+-- | usage: (@sizerItemCreateInWindow window option flag border userData@).
+sizerItemCreateInWindow :: Window  a -> Int -> Int -> Int -> Ptr  e ->  IO (Ptr  ())
+sizerItemCreateInWindow window option flag border userData 
+  = withObjectPtr window $ \cobj_window -> 
+    wxSizerItem_CreateInWindow cobj_window  (toCInt option)  (toCInt flag)  (toCInt border)  userData  
+foreign import ccall "wxSizerItem_CreateInWindow" wxSizerItem_CreateInWindow :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> Ptr  e -> IO (Ptr  ())
+
+-- | usage: (@sizerItemDelete obj@).
+sizerItemDelete :: SizerItem  a ->  IO ()
+sizerItemDelete
+  = objectDelete
+
+
+-- | usage: (@sizerItemDeleteWindows obj@).
+sizerItemDeleteWindows :: SizerItem  a ->  IO ()
+sizerItemDeleteWindows _obj 
+  = withObjectRef "sizerItemDeleteWindows" _obj $ \cobj__obj -> 
+    wxSizerItem_DeleteWindows cobj__obj  
+foreign import ccall "wxSizerItem_DeleteWindows" wxSizerItem_DeleteWindows :: Ptr (TSizerItem a) -> IO ()
+
+-- | usage: (@sizerItemDetachSizer obj@).
+sizerItemDetachSizer :: SizerItem  a ->  IO ()
+sizerItemDetachSizer _obj 
+  = withObjectRef "sizerItemDetachSizer" _obj $ \cobj__obj -> 
+    wxSizerItem_DetachSizer cobj__obj  
+foreign import ccall "wxSizerItem_DetachSizer" wxSizerItem_DetachSizer :: Ptr (TSizerItem a) -> IO ()
+
+-- | usage: (@sizerItemGetBorder obj@).
+sizerItemGetBorder :: SizerItem  a ->  IO Int
+sizerItemGetBorder _obj 
+  = withIntResult $
+    withObjectRef "sizerItemGetBorder" _obj $ \cobj__obj -> 
+    wxSizerItem_GetBorder cobj__obj  
+foreign import ccall "wxSizerItem_GetBorder" wxSizerItem_GetBorder :: Ptr (TSizerItem a) -> IO CInt
+
+-- | usage: (@sizerItemGetFlag obj@).
+sizerItemGetFlag :: SizerItem  a ->  IO Int
+sizerItemGetFlag _obj 
+  = withIntResult $
+    withObjectRef "sizerItemGetFlag" _obj $ \cobj__obj -> 
+    wxSizerItem_GetFlag cobj__obj  
+foreign import ccall "wxSizerItem_GetFlag" wxSizerItem_GetFlag :: Ptr (TSizerItem a) -> IO CInt
+
+-- | usage: (@sizerItemGetMinSize obj@).
+sizerItemGetMinSize :: SizerItem  a ->  IO (Size)
+sizerItemGetMinSize _obj 
+  = withWxSizeResult $
+    withObjectRef "sizerItemGetMinSize" _obj $ \cobj__obj -> 
+    wxSizerItem_GetMinSize cobj__obj  
+foreign import ccall "wxSizerItem_GetMinSize" wxSizerItem_GetMinSize :: Ptr (TSizerItem a) -> IO (Ptr (TWxSize ()))
+
+-- | usage: (@sizerItemGetPosition obj@).
+sizerItemGetPosition :: SizerItem  a ->  IO (Point)
+sizerItemGetPosition _obj 
+  = withWxPointResult $
+    withObjectRef "sizerItemGetPosition" _obj $ \cobj__obj -> 
+    wxSizerItem_GetPosition cobj__obj  
+foreign import ccall "wxSizerItem_GetPosition" wxSizerItem_GetPosition :: Ptr (TSizerItem a) -> IO (Ptr (TWxPoint ()))
+
+-- | usage: (@sizerItemGetProportion obj@).
+sizerItemGetProportion :: SizerItem  a ->  IO Int
+sizerItemGetProportion _obj 
+  = withIntResult $
+    withObjectRef "sizerItemGetProportion" _obj $ \cobj__obj -> 
+    wxSizerItem_GetProportion cobj__obj  
+foreign import ccall "wxSizerItem_GetProportion" wxSizerItem_GetProportion :: Ptr (TSizerItem a) -> IO CInt
+
+-- | usage: (@sizerItemGetRatio obj@).
+sizerItemGetRatio :: SizerItem  a ->  IO Float
+sizerItemGetRatio _obj 
+  = withObjectRef "sizerItemGetRatio" _obj $ \cobj__obj -> 
+    wxSizerItem_GetRatio cobj__obj  
+foreign import ccall "wxSizerItem_GetRatio" wxSizerItem_GetRatio :: Ptr (TSizerItem a) -> IO Float
+
+-- | usage: (@sizerItemGetRect obj@).
+sizerItemGetRect :: SizerItem  a ->  IO (Rect)
+sizerItemGetRect _obj 
+  = withWxRectResult $
+    withObjectRef "sizerItemGetRect" _obj $ \cobj__obj -> 
+    wxSizerItem_GetRect cobj__obj  
+foreign import ccall "wxSizerItem_GetRect" wxSizerItem_GetRect :: Ptr (TSizerItem a) -> IO (Ptr (TWxRect ()))
+
+-- | usage: (@sizerItemGetSize obj@).
+sizerItemGetSize :: SizerItem  a ->  IO (Size)
+sizerItemGetSize _obj 
+  = withWxSizeResult $
+    withObjectRef "sizerItemGetSize" _obj $ \cobj__obj -> 
+    wxSizerItem_GetSize cobj__obj  
+foreign import ccall "wxSizerItem_GetSize" wxSizerItem_GetSize :: Ptr (TSizerItem a) -> IO (Ptr (TWxSize ()))
+
+-- | usage: (@sizerItemGetSizer obj@).
+sizerItemGetSizer :: SizerItem  a ->  IO (Sizer  ())
+sizerItemGetSizer _obj 
+  = withObjectResult $
+    withObjectRef "sizerItemGetSizer" _obj $ \cobj__obj -> 
+    wxSizerItem_GetSizer cobj__obj  
+foreign import ccall "wxSizerItem_GetSizer" wxSizerItem_GetSizer :: Ptr (TSizerItem a) -> IO (Ptr (TSizer ()))
+
+-- | usage: (@sizerItemGetSpacer obj@).
+sizerItemGetSpacer :: SizerItem  a ->  IO (Size)
+sizerItemGetSpacer _obj 
+  = withWxSizeResult $
+    withObjectRef "sizerItemGetSpacer" _obj $ \cobj__obj -> 
+    wxSizerItem_GetSpacer cobj__obj  
+foreign import ccall "wxSizerItem_GetSpacer" wxSizerItem_GetSpacer :: Ptr (TSizerItem a) -> IO (Ptr (TWxSize ()))
+
+-- | usage: (@sizerItemGetUserData obj@).
+sizerItemGetUserData :: SizerItem  a ->  IO (Ptr  ())
+sizerItemGetUserData _obj 
+  = withObjectRef "sizerItemGetUserData" _obj $ \cobj__obj -> 
+    wxSizerItem_GetUserData cobj__obj  
+foreign import ccall "wxSizerItem_GetUserData" wxSizerItem_GetUserData :: Ptr (TSizerItem a) -> IO (Ptr  ())
+
+-- | usage: (@sizerItemGetWindow obj@).
+sizerItemGetWindow :: SizerItem  a ->  IO (Window  ())
+sizerItemGetWindow _obj 
+  = withObjectResult $
+    withObjectRef "sizerItemGetWindow" _obj $ \cobj__obj -> 
+    wxSizerItem_GetWindow cobj__obj  
+foreign import ccall "wxSizerItem_GetWindow" wxSizerItem_GetWindow :: Ptr (TSizerItem a) -> IO (Ptr (TWindow ()))
+
+-- | usage: (@sizerItemIsShown obj@).
+sizerItemIsShown :: SizerItem  a ->  IO Bool
+sizerItemIsShown _obj 
+  = withBoolResult $
+    withObjectRef "sizerItemIsShown" _obj $ \cobj__obj -> 
+    wxSizerItem_IsShown cobj__obj  
+foreign import ccall "wxSizerItem_IsShown" wxSizerItem_IsShown :: Ptr (TSizerItem a) -> IO CBool
+
+-- | usage: (@sizerItemIsSizer obj@).
+sizerItemIsSizer :: SizerItem  a ->  IO Bool
+sizerItemIsSizer _obj 
+  = withBoolResult $
+    withObjectRef "sizerItemIsSizer" _obj $ \cobj__obj -> 
+    wxSizerItem_IsSizer cobj__obj  
+foreign import ccall "wxSizerItem_IsSizer" wxSizerItem_IsSizer :: Ptr (TSizerItem a) -> IO CBool
+
+-- | usage: (@sizerItemIsSpacer obj@).
+sizerItemIsSpacer :: SizerItem  a ->  IO Bool
+sizerItemIsSpacer _obj 
+  = withBoolResult $
+    withObjectRef "sizerItemIsSpacer" _obj $ \cobj__obj -> 
+    wxSizerItem_IsSpacer cobj__obj  
+foreign import ccall "wxSizerItem_IsSpacer" wxSizerItem_IsSpacer :: Ptr (TSizerItem a) -> IO CBool
+
+-- | usage: (@sizerItemIsWindow obj@).
+sizerItemIsWindow :: SizerItem  a ->  IO Bool
+sizerItemIsWindow _obj 
+  = withBoolResult $
+    withObjectRef "sizerItemIsWindow" _obj $ \cobj__obj -> 
+    wxSizerItem_IsWindow cobj__obj  
+foreign import ccall "wxSizerItem_IsWindow" wxSizerItem_IsWindow :: Ptr (TSizerItem a) -> IO CBool
+
+-- | usage: (@sizerItemSetBorder obj border@).
+sizerItemSetBorder :: SizerItem  a -> Int ->  IO ()
+sizerItemSetBorder _obj border 
+  = withObjectRef "sizerItemSetBorder" _obj $ \cobj__obj -> 
+    wxSizerItem_SetBorder cobj__obj  (toCInt border)  
+foreign import ccall "wxSizerItem_SetBorder" wxSizerItem_SetBorder :: Ptr (TSizerItem a) -> CInt -> IO ()
+
+-- | usage: (@sizerItemSetDimension obj xywh@).
+sizerItemSetDimension :: SizerItem  a -> Rect ->  IO ()
+sizerItemSetDimension _obj _xywh 
+  = withObjectRef "sizerItemSetDimension" _obj $ \cobj__obj -> 
+    wxSizerItem_SetDimension cobj__obj  (toCIntRectX _xywh) (toCIntRectY _xywh)(toCIntRectW _xywh) (toCIntRectH _xywh)  
+foreign import ccall "wxSizerItem_SetDimension" wxSizerItem_SetDimension :: Ptr (TSizerItem a) -> CInt -> CInt -> CInt -> CInt -> IO ()
+
+-- | usage: (@sizerItemSetFlag obj flag@).
+sizerItemSetFlag :: SizerItem  a -> Int ->  IO ()
+sizerItemSetFlag _obj flag 
+  = withObjectRef "sizerItemSetFlag" _obj $ \cobj__obj -> 
+    wxSizerItem_SetFlag cobj__obj  (toCInt flag)  
+foreign import ccall "wxSizerItem_SetFlag" wxSizerItem_SetFlag :: Ptr (TSizerItem a) -> CInt -> IO ()
+
+-- | usage: (@sizerItemSetFloatRatio obj ratio@).
+sizerItemSetFloatRatio :: SizerItem  a -> Float ->  IO ()
+sizerItemSetFloatRatio _obj ratio 
+  = withObjectRef "sizerItemSetFloatRatio" _obj $ \cobj__obj -> 
+    wxSizerItem_SetFloatRatio cobj__obj  ratio  
+foreign import ccall "wxSizerItem_SetFloatRatio" wxSizerItem_SetFloatRatio :: Ptr (TSizerItem a) -> Float -> IO ()
+
+-- | usage: (@sizerItemSetInitSize obj xy@).
+sizerItemSetInitSize :: SizerItem  a -> Point ->  IO ()
+sizerItemSetInitSize _obj xy 
+  = withObjectRef "sizerItemSetInitSize" _obj $ \cobj__obj -> 
+    wxSizerItem_SetInitSize cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  
+foreign import ccall "wxSizerItem_SetInitSize" wxSizerItem_SetInitSize :: Ptr (TSizerItem a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@sizerItemSetProportion obj proportion@).
+sizerItemSetProportion :: SizerItem  a -> Int ->  IO ()
+sizerItemSetProportion _obj proportion 
+  = withObjectRef "sizerItemSetProportion" _obj $ \cobj__obj -> 
+    wxSizerItem_SetProportion cobj__obj  (toCInt proportion)  
+foreign import ccall "wxSizerItem_SetProportion" wxSizerItem_SetProportion :: Ptr (TSizerItem a) -> CInt -> IO ()
+
+-- | usage: (@sizerItemSetRatio obj widthheight@).
+sizerItemSetRatio :: SizerItem  a -> Size ->  IO ()
+sizerItemSetRatio _obj widthheight 
+  = withObjectRef "sizerItemSetRatio" _obj $ \cobj__obj -> 
+    wxSizerItem_SetRatio cobj__obj  (toCIntSizeW widthheight) (toCIntSizeH widthheight)  
+foreign import ccall "wxSizerItem_SetRatio" wxSizerItem_SetRatio :: Ptr (TSizerItem a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@sizerItemShow obj show@).
+sizerItemShow :: SizerItem  a -> Int ->  IO ()
+sizerItemShow _obj show 
+  = withObjectRef "sizerItemShow" _obj $ \cobj__obj -> 
+    wxSizerItem_Show cobj__obj  (toCInt show)  
+foreign import ccall "wxSizerItem_Show" wxSizerItem_Show :: Ptr (TSizerItem a) -> CInt -> IO ()
+
+-- | usage: (@sizerLayout obj@).
+sizerLayout :: Sizer  a ->  IO ()
+sizerLayout _obj 
+  = withObjectRef "sizerLayout" _obj $ \cobj__obj -> 
+    wxSizer_Layout cobj__obj  
+foreign import ccall "wxSizer_Layout" wxSizer_Layout :: Ptr (TSizer a) -> IO ()
+
+-- | usage: (@sizerPrepend obj widthheight option flag border userData@).
+sizerPrepend :: Sizer  a -> Size -> Int -> Int -> Int -> Ptr  f ->  IO ()
+sizerPrepend _obj widthheight option flag border userData 
+  = withObjectRef "sizerPrepend" _obj $ \cobj__obj -> 
+    wxSizer_Prepend cobj__obj  (toCIntSizeW widthheight) (toCIntSizeH widthheight)  (toCInt option)  (toCInt flag)  (toCInt border)  userData  
+foreign import ccall "wxSizer_Prepend" wxSizer_Prepend :: Ptr (TSizer a) -> CInt -> CInt -> CInt -> CInt -> CInt -> Ptr  f -> IO ()
+
+-- | usage: (@sizerPrependSizer obj sizer option flag border userData@).
+sizerPrependSizer :: Sizer  a -> Sizer  b -> Int -> Int -> Int -> Ptr  f ->  IO ()
+sizerPrependSizer _obj sizer option flag border userData 
+  = withObjectRef "sizerPrependSizer" _obj $ \cobj__obj -> 
+    withObjectPtr sizer $ \cobj_sizer -> 
+    wxSizer_PrependSizer cobj__obj  cobj_sizer  (toCInt option)  (toCInt flag)  (toCInt border)  userData  
+foreign import ccall "wxSizer_PrependSizer" wxSizer_PrependSizer :: Ptr (TSizer a) -> Ptr (TSizer b) -> CInt -> CInt -> CInt -> Ptr  f -> IO ()
+
+-- | usage: (@sizerPrependSpacer obj size@).
+sizerPrependSpacer :: Sizer  a -> Int ->  IO (SizerItem  ())
+sizerPrependSpacer _obj size 
+  = withObjectResult $
+    withObjectRef "sizerPrependSpacer" _obj $ \cobj__obj -> 
+    wxSizer_PrependSpacer cobj__obj  (toCInt size)  
+foreign import ccall "wxSizer_PrependSpacer" wxSizer_PrependSpacer :: Ptr (TSizer a) -> CInt -> IO (Ptr (TSizerItem ()))
+
+-- | usage: (@sizerPrependStretchSpacer obj prop@).
+sizerPrependStretchSpacer :: Sizer  a -> Int ->  IO (SizerItem  ())
+sizerPrependStretchSpacer _obj prop 
+  = withObjectResult $
+    withObjectRef "sizerPrependStretchSpacer" _obj $ \cobj__obj -> 
+    wxSizer_PrependStretchSpacer cobj__obj  (toCInt prop)  
+foreign import ccall "wxSizer_PrependStretchSpacer" wxSizer_PrependStretchSpacer :: Ptr (TSizer a) -> CInt -> IO (Ptr (TSizerItem ()))
+
+-- | usage: (@sizerPrependWindow obj window option flag border userData@).
+sizerPrependWindow :: Sizer  a -> Window  b -> Int -> Int -> Int -> Ptr  f ->  IO ()
+sizerPrependWindow _obj window option flag border userData 
+  = withObjectRef "sizerPrependWindow" _obj $ \cobj__obj -> 
+    withObjectPtr window $ \cobj_window -> 
+    wxSizer_PrependWindow cobj__obj  cobj_window  (toCInt option)  (toCInt flag)  (toCInt border)  userData  
+foreign import ccall "wxSizer_PrependWindow" wxSizer_PrependWindow :: Ptr (TSizer a) -> Ptr (TWindow b) -> CInt -> CInt -> CInt -> Ptr  f -> IO ()
+
+-- | usage: (@sizerRecalcSizes obj@).
+sizerRecalcSizes :: Sizer  a ->  IO ()
+sizerRecalcSizes _obj 
+  = withObjectRef "sizerRecalcSizes" _obj $ \cobj__obj -> 
+    wxSizer_RecalcSizes cobj__obj  
+foreign import ccall "wxSizer_RecalcSizes" wxSizer_RecalcSizes :: Ptr (TSizer a) -> IO ()
+
+-- | usage: (@sizerReplace obj oldindex newitem@).
+sizerReplace :: Sizer  a -> Int -> SizerItem  c ->  IO Bool
+sizerReplace _obj oldindex newitem 
+  = withBoolResult $
+    withObjectRef "sizerReplace" _obj $ \cobj__obj -> 
+    withObjectPtr newitem $ \cobj_newitem -> 
+    wxSizer_Replace cobj__obj  (toCInt oldindex)  cobj_newitem  
+foreign import ccall "wxSizer_Replace" wxSizer_Replace :: Ptr (TSizer a) -> CInt -> Ptr (TSizerItem c) -> IO CBool
+
+-- | usage: (@sizerReplaceSizer obj oldsz newsz recursive@).
+sizerReplaceSizer :: Sizer  a -> Sizer  b -> Sizer  c -> Bool ->  IO Bool
+sizerReplaceSizer _obj oldsz newsz recursive 
+  = withBoolResult $
+    withObjectRef "sizerReplaceSizer" _obj $ \cobj__obj -> 
+    withObjectPtr oldsz $ \cobj_oldsz -> 
+    withObjectPtr newsz $ \cobj_newsz -> 
+    wxSizer_ReplaceSizer cobj__obj  cobj_oldsz  cobj_newsz  (toCBool recursive)  
+foreign import ccall "wxSizer_ReplaceSizer" wxSizer_ReplaceSizer :: Ptr (TSizer a) -> Ptr (TSizer b) -> Ptr (TSizer c) -> CBool -> IO CBool
+
+-- | usage: (@sizerReplaceWindow obj oldwin newwin recursive@).
+sizerReplaceWindow :: Sizer  a -> Window  b -> Window  c -> Bool ->  IO Bool
+sizerReplaceWindow _obj oldwin newwin recursive 
+  = withBoolResult $
+    withObjectRef "sizerReplaceWindow" _obj $ \cobj__obj -> 
+    withObjectPtr oldwin $ \cobj_oldwin -> 
+    withObjectPtr newwin $ \cobj_newwin -> 
+    wxSizer_ReplaceWindow cobj__obj  cobj_oldwin  cobj_newwin  (toCBool recursive)  
+foreign import ccall "wxSizer_ReplaceWindow" wxSizer_ReplaceWindow :: Ptr (TSizer a) -> Ptr (TWindow b) -> Ptr (TWindow c) -> CBool -> IO CBool
+
+-- | usage: (@sizerSetDimension obj xywidthheight@).
+sizerSetDimension :: Sizer  a -> Rect ->  IO ()
+sizerSetDimension _obj xywidthheight 
+  = withObjectRef "sizerSetDimension" _obj $ \cobj__obj -> 
+    wxSizer_SetDimension cobj__obj  (toCIntRectX xywidthheight) (toCIntRectY xywidthheight)(toCIntRectW xywidthheight) (toCIntRectH xywidthheight)  
+foreign import ccall "wxSizer_SetDimension" wxSizer_SetDimension :: Ptr (TSizer a) -> CInt -> CInt -> CInt -> CInt -> IO ()
+
+-- | usage: (@sizerSetItemMinSize obj pos widthheight@).
+sizerSetItemMinSize :: Sizer  a -> Int -> Size ->  IO ()
+sizerSetItemMinSize _obj pos widthheight 
+  = withObjectRef "sizerSetItemMinSize" _obj $ \cobj__obj -> 
+    wxSizer_SetItemMinSize cobj__obj  (toCInt pos)  (toCIntSizeW widthheight) (toCIntSizeH widthheight)  
+foreign import ccall "wxSizer_SetItemMinSize" wxSizer_SetItemMinSize :: Ptr (TSizer a) -> CInt -> CInt -> CInt -> IO ()
+
+-- | usage: (@sizerSetItemMinSizeSizer obj sizer widthheight@).
+sizerSetItemMinSizeSizer :: Sizer  a -> Sizer  b -> Size ->  IO ()
+sizerSetItemMinSizeSizer _obj sizer widthheight 
+  = withObjectRef "sizerSetItemMinSizeSizer" _obj $ \cobj__obj -> 
+    withObjectPtr sizer $ \cobj_sizer -> 
+    wxSizer_SetItemMinSizeSizer cobj__obj  cobj_sizer  (toCIntSizeW widthheight) (toCIntSizeH widthheight)  
+foreign import ccall "wxSizer_SetItemMinSizeSizer" wxSizer_SetItemMinSizeSizer :: Ptr (TSizer a) -> Ptr (TSizer b) -> CInt -> CInt -> IO ()
+
+-- | usage: (@sizerSetItemMinSizeWindow obj window widthheight@).
+sizerSetItemMinSizeWindow :: Sizer  a -> Window  b -> Size ->  IO ()
+sizerSetItemMinSizeWindow _obj window widthheight 
+  = withObjectRef "sizerSetItemMinSizeWindow" _obj $ \cobj__obj -> 
+    withObjectPtr window $ \cobj_window -> 
+    wxSizer_SetItemMinSizeWindow cobj__obj  cobj_window  (toCIntSizeW widthheight) (toCIntSizeH widthheight)  
+foreign import ccall "wxSizer_SetItemMinSizeWindow" wxSizer_SetItemMinSizeWindow :: Ptr (TSizer a) -> Ptr (TWindow b) -> CInt -> CInt -> IO ()
+
+-- | usage: (@sizerSetMinSize obj widthheight@).
+sizerSetMinSize :: Sizer  a -> Size ->  IO ()
+sizerSetMinSize _obj widthheight 
+  = withObjectRef "sizerSetMinSize" _obj $ \cobj__obj -> 
+    wxSizer_SetMinSize cobj__obj  (toCIntSizeW widthheight) (toCIntSizeH widthheight)  
+foreign import ccall "wxSizer_SetMinSize" wxSizer_SetMinSize :: Ptr (TSizer a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@sizerSetSizeHints obj window@).
+sizerSetSizeHints :: Sizer  a -> Window  b ->  IO ()
+sizerSetSizeHints _obj window 
+  = withObjectRef "sizerSetSizeHints" _obj $ \cobj__obj -> 
+    withObjectPtr window $ \cobj_window -> 
+    wxSizer_SetSizeHints cobj__obj  cobj_window  
+foreign import ccall "wxSizer_SetSizeHints" wxSizer_SetSizeHints :: Ptr (TSizer a) -> Ptr (TWindow b) -> IO ()
+
+-- | usage: (@sizerShow obj sizer index show@).
+sizerShow :: Sizer  a -> Sizer  b -> Int -> Bool ->  IO Bool
+sizerShow _obj sizer index show 
+  = withBoolResult $
+    withObjectRef "sizerShow" _obj $ \cobj__obj -> 
+    withObjectPtr sizer $ \cobj_sizer -> 
+    wxSizer_Show cobj__obj  cobj_sizer  (toCInt index)  (toCBool show)  
+foreign import ccall "wxSizer_Show" wxSizer_Show :: Ptr (TSizer a) -> Ptr (TSizer b) -> CInt -> CBool -> IO CBool
+
+-- | usage: (@sizerShowSizer obj sizer show recursive@).
+sizerShowSizer :: Sizer  a -> Sizer  b -> Bool -> Bool ->  IO Bool
+sizerShowSizer _obj sizer show recursive 
+  = withBoolResult $
+    withObjectRef "sizerShowSizer" _obj $ \cobj__obj -> 
+    withObjectPtr sizer $ \cobj_sizer -> 
+    wxSizer_ShowSizer cobj__obj  cobj_sizer  (toCBool show)  (toCBool recursive)  
+foreign import ccall "wxSizer_ShowSizer" wxSizer_ShowSizer :: Ptr (TSizer a) -> Ptr (TSizer b) -> CBool -> CBool -> IO CBool
+
+-- | usage: (@sizerShowWindow obj window show recursive@).
+sizerShowWindow :: Sizer  a -> Window  b -> Bool -> Bool ->  IO Bool
+sizerShowWindow _obj window show recursive 
+  = withBoolResult $
+    withObjectRef "sizerShowWindow" _obj $ \cobj__obj -> 
+    withObjectPtr window $ \cobj_window -> 
+    wxSizer_ShowWindow cobj__obj  cobj_window  (toCBool show)  (toCBool recursive)  
+foreign import ccall "wxSizer_ShowWindow" wxSizer_ShowWindow :: Ptr (TSizer a) -> Ptr (TWindow b) -> CBool -> CBool -> IO CBool
+
+-- | usage: (@sliderClearSel obj@).
+sliderClearSel :: Slider  a ->  IO ()
+sliderClearSel _obj 
+  = withObjectRef "sliderClearSel" _obj $ \cobj__obj -> 
+    wxSlider_ClearSel cobj__obj  
+foreign import ccall "wxSlider_ClearSel" wxSlider_ClearSel :: Ptr (TSlider a) -> IO ()
+
+-- | usage: (@sliderClearTicks obj@).
+sliderClearTicks :: Slider  a ->  IO ()
+sliderClearTicks _obj 
+  = withObjectRef "sliderClearTicks" _obj $ \cobj__obj -> 
+    wxSlider_ClearTicks cobj__obj  
+foreign import ccall "wxSlider_ClearTicks" wxSlider_ClearTicks :: Ptr (TSlider a) -> IO ()
+
+-- | usage: (@sliderCreate prt id wxinit min max lfttopwdthgt stl@).
+sliderCreate :: Window  a -> Id -> Int -> Int -> Int -> Rect -> Style ->  IO (Slider  ())
+sliderCreate _prt _id _init _min _max _lfttopwdthgt _stl 
+  = withObjectResult $
+    withObjectPtr _prt $ \cobj__prt -> 
+    wxSlider_Create cobj__prt  (toCInt _id)  (toCInt _init)  (toCInt _min)  (toCInt _max)  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  (toCInt _stl)  
+foreign import ccall "wxSlider_Create" wxSlider_Create :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TSlider ()))
+
+-- | usage: (@sliderGetLineSize obj@).
+sliderGetLineSize :: Slider  a ->  IO Int
+sliderGetLineSize _obj 
+  = withIntResult $
+    withObjectRef "sliderGetLineSize" _obj $ \cobj__obj -> 
+    wxSlider_GetLineSize cobj__obj  
+foreign import ccall "wxSlider_GetLineSize" wxSlider_GetLineSize :: Ptr (TSlider a) -> IO CInt
+
+-- | usage: (@sliderGetMax obj@).
+sliderGetMax :: Slider  a ->  IO Int
+sliderGetMax _obj 
+  = withIntResult $
+    withObjectRef "sliderGetMax" _obj $ \cobj__obj -> 
+    wxSlider_GetMax cobj__obj  
+foreign import ccall "wxSlider_GetMax" wxSlider_GetMax :: Ptr (TSlider a) -> IO CInt
+
+-- | usage: (@sliderGetMin obj@).
+sliderGetMin :: Slider  a ->  IO Int
+sliderGetMin _obj 
+  = withIntResult $
+    withObjectRef "sliderGetMin" _obj $ \cobj__obj -> 
+    wxSlider_GetMin cobj__obj  
+foreign import ccall "wxSlider_GetMin" wxSlider_GetMin :: Ptr (TSlider a) -> IO CInt
+
+-- | usage: (@sliderGetPageSize obj@).
+sliderGetPageSize :: Slider  a ->  IO Int
+sliderGetPageSize _obj 
+  = withIntResult $
+    withObjectRef "sliderGetPageSize" _obj $ \cobj__obj -> 
+    wxSlider_GetPageSize cobj__obj  
+foreign import ccall "wxSlider_GetPageSize" wxSlider_GetPageSize :: Ptr (TSlider a) -> IO CInt
+
+-- | usage: (@sliderGetSelEnd obj@).
+sliderGetSelEnd :: Slider  a ->  IO Int
+sliderGetSelEnd _obj 
+  = withIntResult $
+    withObjectRef "sliderGetSelEnd" _obj $ \cobj__obj -> 
+    wxSlider_GetSelEnd cobj__obj  
+foreign import ccall "wxSlider_GetSelEnd" wxSlider_GetSelEnd :: Ptr (TSlider a) -> IO CInt
+
+-- | usage: (@sliderGetSelStart obj@).
+sliderGetSelStart :: Slider  a ->  IO Int
+sliderGetSelStart _obj 
+  = withIntResult $
+    withObjectRef "sliderGetSelStart" _obj $ \cobj__obj -> 
+    wxSlider_GetSelStart cobj__obj  
+foreign import ccall "wxSlider_GetSelStart" wxSlider_GetSelStart :: Ptr (TSlider a) -> IO CInt
+
+-- | usage: (@sliderGetThumbLength obj@).
+sliderGetThumbLength :: Slider  a ->  IO Int
+sliderGetThumbLength _obj 
+  = withIntResult $
+    withObjectRef "sliderGetThumbLength" _obj $ \cobj__obj -> 
+    wxSlider_GetThumbLength cobj__obj  
+foreign import ccall "wxSlider_GetThumbLength" wxSlider_GetThumbLength :: Ptr (TSlider a) -> IO CInt
+
+-- | usage: (@sliderGetTickFreq obj@).
+sliderGetTickFreq :: Slider  a ->  IO Int
+sliderGetTickFreq _obj 
+  = withIntResult $
+    withObjectRef "sliderGetTickFreq" _obj $ \cobj__obj -> 
+    wxSlider_GetTickFreq cobj__obj  
+foreign import ccall "wxSlider_GetTickFreq" wxSlider_GetTickFreq :: Ptr (TSlider a) -> IO CInt
+
+-- | usage: (@sliderGetValue obj@).
+sliderGetValue :: Slider  a ->  IO Int
+sliderGetValue _obj 
+  = withIntResult $
+    withObjectRef "sliderGetValue" _obj $ \cobj__obj -> 
+    wxSlider_GetValue cobj__obj  
+foreign import ccall "wxSlider_GetValue" wxSlider_GetValue :: Ptr (TSlider a) -> IO CInt
+
+-- | usage: (@sliderSetLineSize obj lineSize@).
+sliderSetLineSize :: Slider  a -> Int ->  IO ()
+sliderSetLineSize _obj lineSize 
+  = withObjectRef "sliderSetLineSize" _obj $ \cobj__obj -> 
+    wxSlider_SetLineSize cobj__obj  (toCInt lineSize)  
+foreign import ccall "wxSlider_SetLineSize" wxSlider_SetLineSize :: Ptr (TSlider a) -> CInt -> IO ()
+
+-- | usage: (@sliderSetPageSize obj pageSize@).
+sliderSetPageSize :: Slider  a -> Int ->  IO ()
+sliderSetPageSize _obj pageSize 
+  = withObjectRef "sliderSetPageSize" _obj $ \cobj__obj -> 
+    wxSlider_SetPageSize cobj__obj  (toCInt pageSize)  
+foreign import ccall "wxSlider_SetPageSize" wxSlider_SetPageSize :: Ptr (TSlider a) -> CInt -> IO ()
+
+-- | usage: (@sliderSetRange obj minValue maxValue@).
+sliderSetRange :: Slider  a -> Int -> Int ->  IO ()
+sliderSetRange _obj minValue maxValue 
+  = withObjectRef "sliderSetRange" _obj $ \cobj__obj -> 
+    wxSlider_SetRange cobj__obj  (toCInt minValue)  (toCInt maxValue)  
+foreign import ccall "wxSlider_SetRange" wxSlider_SetRange :: Ptr (TSlider a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@sliderSetSelection obj minPos maxPos@).
+sliderSetSelection :: Slider  a -> Int -> Int ->  IO ()
+sliderSetSelection _obj minPos maxPos 
+  = withObjectRef "sliderSetSelection" _obj $ \cobj__obj -> 
+    wxSlider_SetSelection cobj__obj  (toCInt minPos)  (toCInt maxPos)  
+foreign import ccall "wxSlider_SetSelection" wxSlider_SetSelection :: Ptr (TSlider a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@sliderSetThumbLength obj len@).
+sliderSetThumbLength :: Slider  a -> Int ->  IO ()
+sliderSetThumbLength _obj len 
+  = withObjectRef "sliderSetThumbLength" _obj $ \cobj__obj -> 
+    wxSlider_SetThumbLength cobj__obj  (toCInt len)  
+foreign import ccall "wxSlider_SetThumbLength" wxSlider_SetThumbLength :: Ptr (TSlider a) -> CInt -> IO ()
+
+-- | usage: (@sliderSetTick obj tickPos@).
+sliderSetTick :: Slider  a -> Int ->  IO ()
+sliderSetTick _obj tickPos 
+  = withObjectRef "sliderSetTick" _obj $ \cobj__obj -> 
+    wxSlider_SetTick cobj__obj  (toCInt tickPos)  
+foreign import ccall "wxSlider_SetTick" wxSlider_SetTick :: Ptr (TSlider a) -> CInt -> IO ()
+
+-- | usage: (@sliderSetValue obj value@).
+sliderSetValue :: Slider  a -> Int ->  IO ()
+sliderSetValue _obj value 
+  = withObjectRef "sliderSetValue" _obj $ \cobj__obj -> 
+    wxSlider_SetValue cobj__obj  (toCInt value)  
+foreign import ccall "wxSlider_SetValue" wxSlider_SetValue :: Ptr (TSlider a) -> CInt -> IO ()
+
+{- |  Usage: @soundCreate fileName isResource@. As yet (Nov 2003) unsupported on MacOS X  -}
+soundCreate :: String -> Bool ->  IO (Sound  ())
+soundCreate fileName isResource 
+  = withManagedObjectResult $
+    withStringPtr fileName $ \cobj_fileName -> 
+    wxSound_Create cobj_fileName  (toCBool isResource)  
+foreign import ccall "wxSound_Create" wxSound_Create :: Ptr (TWxString a) -> CBool -> IO (Ptr (TSound ()))
+
+-- | usage: (@soundDelete self@).
+soundDelete :: Sound  a ->  IO ()
+soundDelete
+  = objectDelete
+
+
+-- | usage: (@soundIsOk self@).
+soundIsOk :: Sound  a ->  IO Bool
+soundIsOk self 
+  = withBoolResult $
+    withObjectRef "soundIsOk" self $ \cobj_self -> 
+    wxSound_IsOk cobj_self  
+foreign import ccall "wxSound_IsOk" wxSound_IsOk :: Ptr (TSound a) -> IO CBool
+
+-- | usage: (@soundPlay self flag@).
+soundPlay :: Sound  a -> Int ->  IO Bool
+soundPlay self flag 
+  = withBoolResult $
+    withObjectRef "soundPlay" self $ \cobj_self -> 
+    wxSound_Play cobj_self  (toCInt flag)  
+foreign import ccall "wxSound_Play" wxSound_Play :: Ptr (TSound a) -> CInt -> IO CBool
+
+-- | usage: (@soundStop self@).
+soundStop :: Sound  a ->  IO ()
+soundStop self 
+  = withObjectRef "soundStop" self $ \cobj_self -> 
+    wxSound_Stop cobj_self  
+foreign import ccall "wxSound_Stop" wxSound_Stop :: Ptr (TSound a) -> IO ()
+
+-- | usage: (@spinButtonCreate prt id lfttopwdthgt stl@).
+spinButtonCreate :: Window  a -> Id -> Rect -> Style ->  IO (SpinButton  ())
+spinButtonCreate _prt _id _lfttopwdthgt _stl 
+  = withObjectResult $
+    withObjectPtr _prt $ \cobj__prt -> 
+    wxSpinButton_Create cobj__prt  (toCInt _id)  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  (toCInt _stl)  
+foreign import ccall "wxSpinButton_Create" wxSpinButton_Create :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TSpinButton ()))
+
+-- | usage: (@spinButtonGetMax obj@).
+spinButtonGetMax :: SpinButton  a ->  IO Int
+spinButtonGetMax _obj 
+  = withIntResult $
+    withObjectRef "spinButtonGetMax" _obj $ \cobj__obj -> 
+    wxSpinButton_GetMax cobj__obj  
+foreign import ccall "wxSpinButton_GetMax" wxSpinButton_GetMax :: Ptr (TSpinButton a) -> IO CInt
+
+-- | usage: (@spinButtonGetMin obj@).
+spinButtonGetMin :: SpinButton  a ->  IO Int
+spinButtonGetMin _obj 
+  = withIntResult $
+    withObjectRef "spinButtonGetMin" _obj $ \cobj__obj -> 
+    wxSpinButton_GetMin cobj__obj  
+foreign import ccall "wxSpinButton_GetMin" wxSpinButton_GetMin :: Ptr (TSpinButton a) -> IO CInt
+
+-- | usage: (@spinButtonGetValue obj@).
+spinButtonGetValue :: SpinButton  a ->  IO Int
+spinButtonGetValue _obj 
+  = withIntResult $
+    withObjectRef "spinButtonGetValue" _obj $ \cobj__obj -> 
+    wxSpinButton_GetValue cobj__obj  
+foreign import ccall "wxSpinButton_GetValue" wxSpinButton_GetValue :: Ptr (TSpinButton a) -> IO CInt
+
+-- | usage: (@spinButtonSetRange obj minVal maxVal@).
+spinButtonSetRange :: SpinButton  a -> Int -> Int ->  IO ()
+spinButtonSetRange _obj minVal maxVal 
+  = withObjectRef "spinButtonSetRange" _obj $ \cobj__obj -> 
+    wxSpinButton_SetRange cobj__obj  (toCInt minVal)  (toCInt maxVal)  
+foreign import ccall "wxSpinButton_SetRange" wxSpinButton_SetRange :: Ptr (TSpinButton a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@spinButtonSetValue obj val@).
+spinButtonSetValue :: SpinButton  a -> Int ->  IO ()
+spinButtonSetValue _obj val 
+  = withObjectRef "spinButtonSetValue" _obj $ \cobj__obj -> 
+    wxSpinButton_SetValue cobj__obj  (toCInt val)  
+foreign import ccall "wxSpinButton_SetValue" wxSpinButton_SetValue :: Ptr (TSpinButton a) -> CInt -> IO ()
+
+-- | usage: (@spinCtrlCreate prt id txt lfttopwdthgt stl min max wxinit@).
+spinCtrlCreate :: Window  a -> Id -> String -> Rect -> Style -> Int -> Int -> Int ->  IO (SpinCtrl  ())
+spinCtrlCreate _prt _id _txt _lfttopwdthgt _stl _min _max _init 
+  = withObjectResult $
+    withObjectPtr _prt $ \cobj__prt -> 
+    withStringPtr _txt $ \cobj__txt -> 
+    wxSpinCtrl_Create cobj__prt  (toCInt _id)  cobj__txt  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  (toCInt _stl)  (toCInt _min)  (toCInt _max)  (toCInt _init)  
+foreign import ccall "wxSpinCtrl_Create" wxSpinCtrl_Create :: Ptr (TWindow a) -> CInt -> Ptr (TWxString c) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TSpinCtrl ()))
+
+-- | usage: (@spinCtrlGetMax obj@).
+spinCtrlGetMax :: SpinCtrl  a ->  IO Int
+spinCtrlGetMax _obj 
+  = withIntResult $
+    withObjectRef "spinCtrlGetMax" _obj $ \cobj__obj -> 
+    wxSpinCtrl_GetMax cobj__obj  
+foreign import ccall "wxSpinCtrl_GetMax" wxSpinCtrl_GetMax :: Ptr (TSpinCtrl a) -> IO CInt
+
+-- | usage: (@spinCtrlGetMin obj@).
+spinCtrlGetMin :: SpinCtrl  a ->  IO Int
+spinCtrlGetMin _obj 
+  = withIntResult $
+    withObjectRef "spinCtrlGetMin" _obj $ \cobj__obj -> 
+    wxSpinCtrl_GetMin cobj__obj  
+foreign import ccall "wxSpinCtrl_GetMin" wxSpinCtrl_GetMin :: Ptr (TSpinCtrl a) -> IO CInt
+
+-- | usage: (@spinCtrlGetValue obj@).
+spinCtrlGetValue :: SpinCtrl  a ->  IO Int
+spinCtrlGetValue _obj 
+  = withIntResult $
+    withObjectRef "spinCtrlGetValue" _obj $ \cobj__obj -> 
+    wxSpinCtrl_GetValue cobj__obj  
+foreign import ccall "wxSpinCtrl_GetValue" wxSpinCtrl_GetValue :: Ptr (TSpinCtrl a) -> IO CInt
+
+-- | usage: (@spinCtrlSetRange obj minval maxval@).
+spinCtrlSetRange :: SpinCtrl  a -> Int -> Int ->  IO ()
+spinCtrlSetRange _obj minval maxval 
+  = withObjectRef "spinCtrlSetRange" _obj $ \cobj__obj -> 
+    wxSpinCtrl_SetRange cobj__obj  (toCInt minval)  (toCInt maxval)  
+foreign import ccall "wxSpinCtrl_SetRange" wxSpinCtrl_SetRange :: Ptr (TSpinCtrl a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@spinCtrlSetValue obj val@).
+spinCtrlSetValue :: SpinCtrl  a -> Int ->  IO ()
+spinCtrlSetValue _obj val 
+  = withObjectRef "spinCtrlSetValue" _obj $ \cobj__obj -> 
+    wxSpinCtrl_SetValue cobj__obj  (toCInt val)  
+foreign import ccall "wxSpinCtrl_SetValue" wxSpinCtrl_SetValue :: Ptr (TSpinCtrl a) -> CInt -> IO ()
+
+-- | usage: (@spinEventGetPosition obj@).
+spinEventGetPosition :: SpinEvent  a ->  IO Int
+spinEventGetPosition _obj 
+  = withIntResult $
+    withObjectRef "spinEventGetPosition" _obj $ \cobj__obj -> 
+    wxSpinEvent_GetPosition cobj__obj  
+foreign import ccall "wxSpinEvent_GetPosition" wxSpinEvent_GetPosition :: Ptr (TSpinEvent a) -> IO CInt
+
+-- | usage: (@spinEventSetPosition obj pos@).
+spinEventSetPosition :: SpinEvent  a -> Int ->  IO ()
+spinEventSetPosition _obj pos 
+  = withObjectRef "spinEventSetPosition" _obj $ \cobj__obj -> 
+    wxSpinEvent_SetPosition cobj__obj  (toCInt pos)  
+foreign import ccall "wxSpinEvent_SetPosition" wxSpinEvent_SetPosition :: Ptr (TSpinEvent a) -> CInt -> IO ()
+
+-- | usage: (@splashScreenCreate bmp sstl ms parent id lfttopwdthgt stl@).
+splashScreenCreate :: Bitmap  a -> Int -> Int -> Window  d -> Id -> Rect -> Style ->  IO (SplashScreen  ())
+splashScreenCreate _bmp _sstl _ms parent id _lfttopwdthgt _stl 
+  = withObjectResult $
+    withObjectPtr _bmp $ \cobj__bmp -> 
+    withObjectPtr parent $ \cobj_parent -> 
+    wxSplashScreen_Create cobj__bmp  (toCInt _sstl)  (toCInt _ms)  cobj_parent  (toCInt id)  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  (toCInt _stl)  
+foreign import ccall "wxSplashScreen_Create" wxSplashScreen_Create :: Ptr (TBitmap a) -> CInt -> CInt -> Ptr (TWindow d) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TSplashScreen ()))
+
+-- | usage: (@splashScreenGetSplashStyle obj@).
+splashScreenGetSplashStyle :: SplashScreen  a ->  IO Int
+splashScreenGetSplashStyle _obj 
+  = withIntResult $
+    withObjectRef "splashScreenGetSplashStyle" _obj $ \cobj__obj -> 
+    wxSplashScreen_GetSplashStyle cobj__obj  
+foreign import ccall "wxSplashScreen_GetSplashStyle" wxSplashScreen_GetSplashStyle :: Ptr (TSplashScreen a) -> IO CInt
+
+-- | usage: (@splashScreenGetTimeout obj@).
+splashScreenGetTimeout :: SplashScreen  a ->  IO Int
+splashScreenGetTimeout _obj 
+  = withIntResult $
+    withObjectRef "splashScreenGetTimeout" _obj $ \cobj__obj -> 
+    wxSplashScreen_GetTimeout cobj__obj  
+foreign import ccall "wxSplashScreen_GetTimeout" wxSplashScreen_GetTimeout :: Ptr (TSplashScreen a) -> IO CInt
+
+-- | usage: (@splitterWindowCreate prt id lfttopwdthgt stl@).
+splitterWindowCreate :: Window  a -> Id -> Rect -> Style ->  IO (SplitterWindow  ())
+splitterWindowCreate _prt _id _lfttopwdthgt _stl 
+  = withObjectResult $
+    withObjectPtr _prt $ \cobj__prt -> 
+    wxSplitterWindow_Create cobj__prt  (toCInt _id)  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  (toCInt _stl)  
+foreign import ccall "wxSplitterWindow_Create" wxSplitterWindow_Create :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TSplitterWindow ()))
+
+-- | usage: (@splitterWindowGetBorderSize obj@).
+splitterWindowGetBorderSize :: SplitterWindow  a ->  IO Int
+splitterWindowGetBorderSize _obj 
+  = withIntResult $
+    withObjectRef "splitterWindowGetBorderSize" _obj $ \cobj__obj -> 
+    wxSplitterWindow_GetBorderSize cobj__obj  
+foreign import ccall "wxSplitterWindow_GetBorderSize" wxSplitterWindow_GetBorderSize :: Ptr (TSplitterWindow a) -> IO CInt
+
+-- | usage: (@splitterWindowGetMinimumPaneSize obj@).
+splitterWindowGetMinimumPaneSize :: SplitterWindow  a ->  IO Int
+splitterWindowGetMinimumPaneSize _obj 
+  = withIntResult $
+    withObjectRef "splitterWindowGetMinimumPaneSize" _obj $ \cobj__obj -> 
+    wxSplitterWindow_GetMinimumPaneSize cobj__obj  
+foreign import ccall "wxSplitterWindow_GetMinimumPaneSize" wxSplitterWindow_GetMinimumPaneSize :: Ptr (TSplitterWindow a) -> IO CInt
+
+-- | usage: (@splitterWindowGetSashGravity obj@).
+splitterWindowGetSashGravity :: SplitterWindow  a ->  IO Double
+splitterWindowGetSashGravity _obj 
+  = withObjectRef "splitterWindowGetSashGravity" _obj $ \cobj__obj -> 
+    wxSplitterWindow_GetSashGravity cobj__obj  
+foreign import ccall "wxSplitterWindow_GetSashGravity" wxSplitterWindow_GetSashGravity :: Ptr (TSplitterWindow a) -> IO Double
+
+-- | usage: (@splitterWindowGetSashPosition obj@).
+splitterWindowGetSashPosition :: SplitterWindow  a ->  IO Int
+splitterWindowGetSashPosition _obj 
+  = withIntResult $
+    withObjectRef "splitterWindowGetSashPosition" _obj $ \cobj__obj -> 
+    wxSplitterWindow_GetSashPosition cobj__obj  
+foreign import ccall "wxSplitterWindow_GetSashPosition" wxSplitterWindow_GetSashPosition :: Ptr (TSplitterWindow a) -> IO CInt
+
+-- | usage: (@splitterWindowGetSashSize obj@).
+splitterWindowGetSashSize :: SplitterWindow  a ->  IO Int
+splitterWindowGetSashSize _obj 
+  = withIntResult $
+    withObjectRef "splitterWindowGetSashSize" _obj $ \cobj__obj -> 
+    wxSplitterWindow_GetSashSize cobj__obj  
+foreign import ccall "wxSplitterWindow_GetSashSize" wxSplitterWindow_GetSashSize :: Ptr (TSplitterWindow a) -> IO CInt
+
+-- | usage: (@splitterWindowGetSplitMode obj@).
+splitterWindowGetSplitMode :: SplitterWindow  a ->  IO Int
+splitterWindowGetSplitMode _obj 
+  = withIntResult $
+    withObjectRef "splitterWindowGetSplitMode" _obj $ \cobj__obj -> 
+    wxSplitterWindow_GetSplitMode cobj__obj  
+foreign import ccall "wxSplitterWindow_GetSplitMode" wxSplitterWindow_GetSplitMode :: Ptr (TSplitterWindow a) -> IO CInt
+
+-- | usage: (@splitterWindowGetWindow1 obj@).
+splitterWindowGetWindow1 :: SplitterWindow  a ->  IO (Window  ())
+splitterWindowGetWindow1 _obj 
+  = withObjectResult $
+    withObjectRef "splitterWindowGetWindow1" _obj $ \cobj__obj -> 
+    wxSplitterWindow_GetWindow1 cobj__obj  
+foreign import ccall "wxSplitterWindow_GetWindow1" wxSplitterWindow_GetWindow1 :: Ptr (TSplitterWindow a) -> IO (Ptr (TWindow ()))
+
+-- | usage: (@splitterWindowGetWindow2 obj@).
+splitterWindowGetWindow2 :: SplitterWindow  a ->  IO (Window  ())
+splitterWindowGetWindow2 _obj 
+  = withObjectResult $
+    withObjectRef "splitterWindowGetWindow2" _obj $ \cobj__obj -> 
+    wxSplitterWindow_GetWindow2 cobj__obj  
+foreign import ccall "wxSplitterWindow_GetWindow2" wxSplitterWindow_GetWindow2 :: Ptr (TSplitterWindow a) -> IO (Ptr (TWindow ()))
+
+-- | usage: (@splitterWindowInitialize obj window@).
+splitterWindowInitialize :: SplitterWindow  a -> Window  b ->  IO ()
+splitterWindowInitialize _obj window 
+  = withObjectRef "splitterWindowInitialize" _obj $ \cobj__obj -> 
+    withObjectPtr window $ \cobj_window -> 
+    wxSplitterWindow_Initialize cobj__obj  cobj_window  
+foreign import ccall "wxSplitterWindow_Initialize" wxSplitterWindow_Initialize :: Ptr (TSplitterWindow a) -> Ptr (TWindow b) -> IO ()
+
+-- | usage: (@splitterWindowIsSplit obj@).
+splitterWindowIsSplit :: SplitterWindow  a ->  IO Bool
+splitterWindowIsSplit _obj 
+  = withBoolResult $
+    withObjectRef "splitterWindowIsSplit" _obj $ \cobj__obj -> 
+    wxSplitterWindow_IsSplit cobj__obj  
+foreign import ccall "wxSplitterWindow_IsSplit" wxSplitterWindow_IsSplit :: Ptr (TSplitterWindow a) -> IO CBool
+
+-- | usage: (@splitterWindowReplaceWindow obj winOld winNew@).
+splitterWindowReplaceWindow :: SplitterWindow  a -> Window  b -> Window  c ->  IO Bool
+splitterWindowReplaceWindow _obj winOld winNew 
+  = withBoolResult $
+    withObjectRef "splitterWindowReplaceWindow" _obj $ \cobj__obj -> 
+    withObjectPtr winOld $ \cobj_winOld -> 
+    withObjectPtr winNew $ \cobj_winNew -> 
+    wxSplitterWindow_ReplaceWindow cobj__obj  cobj_winOld  cobj_winNew  
+foreign import ccall "wxSplitterWindow_ReplaceWindow" wxSplitterWindow_ReplaceWindow :: Ptr (TSplitterWindow a) -> Ptr (TWindow b) -> Ptr (TWindow c) -> IO CBool
+
+-- | usage: (@splitterWindowSetBorderSize obj width@).
+splitterWindowSetBorderSize :: SplitterWindow  a -> Int ->  IO ()
+splitterWindowSetBorderSize _obj width 
+  = withObjectRef "splitterWindowSetBorderSize" _obj $ \cobj__obj -> 
+    wxSplitterWindow_SetBorderSize cobj__obj  (toCInt width)  
+foreign import ccall "wxSplitterWindow_SetBorderSize" wxSplitterWindow_SetBorderSize :: Ptr (TSplitterWindow a) -> CInt -> IO ()
+
+-- | usage: (@splitterWindowSetMinimumPaneSize obj min@).
+splitterWindowSetMinimumPaneSize :: SplitterWindow  a -> Int ->  IO ()
+splitterWindowSetMinimumPaneSize _obj min 
+  = withObjectRef "splitterWindowSetMinimumPaneSize" _obj $ \cobj__obj -> 
+    wxSplitterWindow_SetMinimumPaneSize cobj__obj  (toCInt min)  
+foreign import ccall "wxSplitterWindow_SetMinimumPaneSize" wxSplitterWindow_SetMinimumPaneSize :: Ptr (TSplitterWindow a) -> CInt -> IO ()
+
+-- | usage: (@splitterWindowSetSashGravity obj gravity@).
+splitterWindowSetSashGravity :: SplitterWindow  a -> Double ->  IO ()
+splitterWindowSetSashGravity _obj gravity 
+  = withObjectRef "splitterWindowSetSashGravity" _obj $ \cobj__obj -> 
+    wxSplitterWindow_SetSashGravity cobj__obj  gravity  
+foreign import ccall "wxSplitterWindow_SetSashGravity" wxSplitterWindow_SetSashGravity :: Ptr (TSplitterWindow a) -> Double -> IO ()
+
+-- | usage: (@splitterWindowSetSashPosition obj position redraw@).
+splitterWindowSetSashPosition :: SplitterWindow  a -> Int -> Bool ->  IO ()
+splitterWindowSetSashPosition _obj position redraw 
+  = withObjectRef "splitterWindowSetSashPosition" _obj $ \cobj__obj -> 
+    wxSplitterWindow_SetSashPosition cobj__obj  (toCInt position)  (toCBool redraw)  
+foreign import ccall "wxSplitterWindow_SetSashPosition" wxSplitterWindow_SetSashPosition :: Ptr (TSplitterWindow a) -> CInt -> CBool -> IO ()
+
+-- | usage: (@splitterWindowSetSplitMode obj mode@).
+splitterWindowSetSplitMode :: SplitterWindow  a -> Int ->  IO ()
+splitterWindowSetSplitMode _obj mode 
+  = withObjectRef "splitterWindowSetSplitMode" _obj $ \cobj__obj -> 
+    wxSplitterWindow_SetSplitMode cobj__obj  (toCInt mode)  
+foreign import ccall "wxSplitterWindow_SetSplitMode" wxSplitterWindow_SetSplitMode :: Ptr (TSplitterWindow a) -> CInt -> IO ()
+
+-- | usage: (@splitterWindowSplitHorizontally obj window1 window2 sashPosition@).
+splitterWindowSplitHorizontally :: SplitterWindow  a -> Window  b -> Window  c -> Int ->  IO Bool
+splitterWindowSplitHorizontally _obj window1 window2 sashPosition 
+  = withBoolResult $
+    withObjectRef "splitterWindowSplitHorizontally" _obj $ \cobj__obj -> 
+    withObjectPtr window1 $ \cobj_window1 -> 
+    withObjectPtr window2 $ \cobj_window2 -> 
+    wxSplitterWindow_SplitHorizontally cobj__obj  cobj_window1  cobj_window2  (toCInt sashPosition)  
+foreign import ccall "wxSplitterWindow_SplitHorizontally" wxSplitterWindow_SplitHorizontally :: Ptr (TSplitterWindow a) -> Ptr (TWindow b) -> Ptr (TWindow c) -> CInt -> IO CBool
+
+-- | usage: (@splitterWindowSplitVertically obj window1 window2 sashPosition@).
+splitterWindowSplitVertically :: SplitterWindow  a -> Window  b -> Window  c -> Int ->  IO Bool
+splitterWindowSplitVertically _obj window1 window2 sashPosition 
+  = withBoolResult $
+    withObjectRef "splitterWindowSplitVertically" _obj $ \cobj__obj -> 
+    withObjectPtr window1 $ \cobj_window1 -> 
+    withObjectPtr window2 $ \cobj_window2 -> 
+    wxSplitterWindow_SplitVertically cobj__obj  cobj_window1  cobj_window2  (toCInt sashPosition)  
+foreign import ccall "wxSplitterWindow_SplitVertically" wxSplitterWindow_SplitVertically :: Ptr (TSplitterWindow a) -> Ptr (TWindow b) -> Ptr (TWindow c) -> CInt -> IO CBool
+
+-- | usage: (@splitterWindowUnsplit obj toRemove@).
+splitterWindowUnsplit :: SplitterWindow  a -> Window  b ->  IO Bool
+splitterWindowUnsplit _obj toRemove 
+  = withBoolResult $
+    withObjectRef "splitterWindowUnsplit" _obj $ \cobj__obj -> 
+    withObjectPtr toRemove $ \cobj_toRemove -> 
+    wxSplitterWindow_Unsplit cobj__obj  cobj_toRemove  
+foreign import ccall "wxSplitterWindow_Unsplit" wxSplitterWindow_Unsplit :: Ptr (TSplitterWindow a) -> Ptr (TWindow b) -> IO CBool
+
+-- | usage: (@staticBitmapCreate prt id bitmap lfttopwdthgt stl@).
+staticBitmapCreate :: Window  a -> Id -> Bitmap  c -> Rect -> Style ->  IO (StaticBitmap  ())
+staticBitmapCreate _prt _id bitmap _lfttopwdthgt _stl 
+  = withObjectResult $
+    withObjectPtr _prt $ \cobj__prt -> 
+    withObjectPtr bitmap $ \cobj_bitmap -> 
+    wxStaticBitmap_Create cobj__prt  (toCInt _id)  cobj_bitmap  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  (toCInt _stl)  
+foreign import ccall "wxStaticBitmap_Create" wxStaticBitmap_Create :: Ptr (TWindow a) -> CInt -> Ptr (TBitmap c) -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TStaticBitmap ()))
+
+-- | usage: (@staticBitmapDelete obj@).
+staticBitmapDelete :: StaticBitmap  a ->  IO ()
+staticBitmapDelete
+  = objectDelete
+
+
+-- | usage: (@staticBitmapGetBitmap obj@).
+staticBitmapGetBitmap :: StaticBitmap  a ->  IO (Bitmap  ())
+staticBitmapGetBitmap _obj 
+  = withRefBitmap $ \pref -> 
+    withObjectRef "staticBitmapGetBitmap" _obj $ \cobj__obj -> 
+    wxStaticBitmap_GetBitmap cobj__obj   pref
+foreign import ccall "wxStaticBitmap_GetBitmap" wxStaticBitmap_GetBitmap :: Ptr (TStaticBitmap a) -> Ptr (TBitmap ()) -> IO ()
+
+-- | usage: (@staticBitmapGetIcon obj@).
+staticBitmapGetIcon :: StaticBitmap  a ->  IO (Icon  ())
+staticBitmapGetIcon _obj 
+  = withRefIcon $ \pref -> 
+    withObjectRef "staticBitmapGetIcon" _obj $ \cobj__obj -> 
+    wxStaticBitmap_GetIcon cobj__obj   pref
+foreign import ccall "wxStaticBitmap_GetIcon" wxStaticBitmap_GetIcon :: Ptr (TStaticBitmap a) -> Ptr (TIcon ()) -> IO ()
+
+-- | usage: (@staticBitmapSetBitmap obj bitmap@).
+staticBitmapSetBitmap :: StaticBitmap  a -> Bitmap  b ->  IO ()
+staticBitmapSetBitmap _obj bitmap 
+  = withObjectRef "staticBitmapSetBitmap" _obj $ \cobj__obj -> 
+    withObjectPtr bitmap $ \cobj_bitmap -> 
+    wxStaticBitmap_SetBitmap cobj__obj  cobj_bitmap  
+foreign import ccall "wxStaticBitmap_SetBitmap" wxStaticBitmap_SetBitmap :: Ptr (TStaticBitmap a) -> Ptr (TBitmap b) -> IO ()
+
+-- | usage: (@staticBitmapSetIcon obj icon@).
+staticBitmapSetIcon :: StaticBitmap  a -> Icon  b ->  IO ()
+staticBitmapSetIcon _obj icon 
+  = withObjectRef "staticBitmapSetIcon" _obj $ \cobj__obj -> 
+    withObjectPtr icon $ \cobj_icon -> 
+    wxStaticBitmap_SetIcon cobj__obj  cobj_icon  
+foreign import ccall "wxStaticBitmap_SetIcon" wxStaticBitmap_SetIcon :: Ptr (TStaticBitmap a) -> Ptr (TIcon b) -> IO ()
+
+-- | usage: (@staticBoxCreate prt id txt lfttopwdthgt stl@).
+staticBoxCreate :: Window  a -> Id -> String -> Rect -> Style ->  IO (StaticBox  ())
+staticBoxCreate _prt _id _txt _lfttopwdthgt _stl 
+  = withObjectResult $
+    withObjectPtr _prt $ \cobj__prt -> 
+    withStringPtr _txt $ \cobj__txt -> 
+    wxStaticBox_Create cobj__prt  (toCInt _id)  cobj__txt  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  (toCInt _stl)  
+foreign import ccall "wxStaticBox_Create" wxStaticBox_Create :: Ptr (TWindow a) -> CInt -> Ptr (TWxString c) -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TStaticBox ()))
+
+-- | usage: (@staticBoxSizerCalcMin obj@).
+staticBoxSizerCalcMin :: StaticBoxSizer  a ->  IO (Size)
+staticBoxSizerCalcMin _obj 
+  = withWxSizeResult $
+    withObjectRef "staticBoxSizerCalcMin" _obj $ \cobj__obj -> 
+    wxStaticBoxSizer_CalcMin cobj__obj  
+foreign import ccall "wxStaticBoxSizer_CalcMin" wxStaticBoxSizer_CalcMin :: Ptr (TStaticBoxSizer a) -> IO (Ptr (TWxSize ()))
+
+-- | usage: (@staticBoxSizerCreate box orient@).
+staticBoxSizerCreate :: StaticBox  a -> Int ->  IO (StaticBoxSizer  ())
+staticBoxSizerCreate box orient 
+  = withObjectResult $
+    withObjectPtr box $ \cobj_box -> 
+    wxStaticBoxSizer_Create cobj_box  (toCInt orient)  
+foreign import ccall "wxStaticBoxSizer_Create" wxStaticBoxSizer_Create :: Ptr (TStaticBox a) -> CInt -> IO (Ptr (TStaticBoxSizer ()))
+
+-- | usage: (@staticBoxSizerGetStaticBox obj@).
+staticBoxSizerGetStaticBox :: StaticBoxSizer  a ->  IO (StaticBox  ())
+staticBoxSizerGetStaticBox _obj 
+  = withObjectResult $
+    withObjectRef "staticBoxSizerGetStaticBox" _obj $ \cobj__obj -> 
+    wxStaticBoxSizer_GetStaticBox cobj__obj  
+foreign import ccall "wxStaticBoxSizer_GetStaticBox" wxStaticBoxSizer_GetStaticBox :: Ptr (TStaticBoxSizer a) -> IO (Ptr (TStaticBox ()))
+
+-- | usage: (@staticBoxSizerRecalcSizes obj@).
+staticBoxSizerRecalcSizes :: StaticBoxSizer  a ->  IO ()
+staticBoxSizerRecalcSizes _obj 
+  = withObjectRef "staticBoxSizerRecalcSizes" _obj $ \cobj__obj -> 
+    wxStaticBoxSizer_RecalcSizes cobj__obj  
+foreign import ccall "wxStaticBoxSizer_RecalcSizes" wxStaticBoxSizer_RecalcSizes :: Ptr (TStaticBoxSizer a) -> IO ()
+
+-- | usage: (@staticLineCreate prt id lfttopwdthgt stl@).
+staticLineCreate :: Window  a -> Id -> Rect -> Style ->  IO (StaticLine  ())
+staticLineCreate _prt _id _lfttopwdthgt _stl 
+  = withObjectResult $
+    withObjectPtr _prt $ \cobj__prt -> 
+    wxStaticLine_Create cobj__prt  (toCInt _id)  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  (toCInt _stl)  
+foreign import ccall "wxStaticLine_Create" wxStaticLine_Create :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TStaticLine ()))
+
+-- | usage: (@staticLineGetDefaultSize obj@).
+staticLineGetDefaultSize :: StaticLine  a ->  IO Int
+staticLineGetDefaultSize _obj 
+  = withIntResult $
+    withObjectRef "staticLineGetDefaultSize" _obj $ \cobj__obj -> 
+    wxStaticLine_GetDefaultSize cobj__obj  
+foreign import ccall "wxStaticLine_GetDefaultSize" wxStaticLine_GetDefaultSize :: Ptr (TStaticLine a) -> IO CInt
+
+-- | usage: (@staticLineIsVertical obj@).
+staticLineIsVertical :: StaticLine  a ->  IO Bool
+staticLineIsVertical _obj 
+  = withBoolResult $
+    withObjectRef "staticLineIsVertical" _obj $ \cobj__obj -> 
+    wxStaticLine_IsVertical cobj__obj  
+foreign import ccall "wxStaticLine_IsVertical" wxStaticLine_IsVertical :: Ptr (TStaticLine a) -> IO CBool
+
+-- | usage: (@staticTextCreate prt id txt lfttopwdthgt stl@).
+staticTextCreate :: Window  a -> Id -> String -> Rect -> Style ->  IO (StaticText  ())
+staticTextCreate _prt _id _txt _lfttopwdthgt _stl 
+  = withObjectResult $
+    withObjectPtr _prt $ \cobj__prt -> 
+    withStringPtr _txt $ \cobj__txt -> 
+    wxStaticText_Create cobj__prt  (toCInt _id)  cobj__txt  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  (toCInt _stl)  
+foreign import ccall "wxStaticText_Create" wxStaticText_Create :: Ptr (TWindow a) -> CInt -> Ptr (TWxString c) -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TStaticText ()))
+
+-- | usage: (@statusBarCreate prt id lfttopwdthgt stl@).
+statusBarCreate :: Window  a -> Id -> Rect -> Style ->  IO (StatusBar  ())
+statusBarCreate _prt _id _lfttopwdthgt _stl 
+  = withObjectResult $
+    withObjectPtr _prt $ \cobj__prt -> 
+    wxStatusBar_Create cobj__prt  (toCInt _id)  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  (toCInt _stl)  
+foreign import ccall "wxStatusBar_Create" wxStatusBar_Create :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TStatusBar ()))
+
+-- | usage: (@statusBarGetBorderX obj@).
+statusBarGetBorderX :: StatusBar  a ->  IO Int
+statusBarGetBorderX _obj 
+  = withIntResult $
+    withObjectRef "statusBarGetBorderX" _obj $ \cobj__obj -> 
+    wxStatusBar_GetBorderX cobj__obj  
+foreign import ccall "wxStatusBar_GetBorderX" wxStatusBar_GetBorderX :: Ptr (TStatusBar a) -> IO CInt
+
+-- | usage: (@statusBarGetBorderY obj@).
+statusBarGetBorderY :: StatusBar  a ->  IO Int
+statusBarGetBorderY _obj 
+  = withIntResult $
+    withObjectRef "statusBarGetBorderY" _obj $ \cobj__obj -> 
+    wxStatusBar_GetBorderY cobj__obj  
+foreign import ccall "wxStatusBar_GetBorderY" wxStatusBar_GetBorderY :: Ptr (TStatusBar a) -> IO CInt
+
+-- | usage: (@statusBarGetFieldsCount obj@).
+statusBarGetFieldsCount :: StatusBar  a ->  IO Int
+statusBarGetFieldsCount _obj 
+  = withIntResult $
+    withObjectRef "statusBarGetFieldsCount" _obj $ \cobj__obj -> 
+    wxStatusBar_GetFieldsCount cobj__obj  
+foreign import ccall "wxStatusBar_GetFieldsCount" wxStatusBar_GetFieldsCount :: Ptr (TStatusBar a) -> IO CInt
+
+-- | usage: (@statusBarGetStatusText obj number@).
+statusBarGetStatusText :: StatusBar  a -> Int ->  IO (String)
+statusBarGetStatusText _obj number 
+  = withManagedStringResult $
+    withObjectRef "statusBarGetStatusText" _obj $ \cobj__obj -> 
+    wxStatusBar_GetStatusText cobj__obj  (toCInt number)  
+foreign import ccall "wxStatusBar_GetStatusText" wxStatusBar_GetStatusText :: Ptr (TStatusBar a) -> CInt -> IO (Ptr (TWxString ()))
+
+-- | usage: (@statusBarSetFieldsCount obj number widths@).
+statusBarSetFieldsCount :: StatusBar  a -> Int -> Ptr CInt ->  IO ()
+statusBarSetFieldsCount _obj number widths 
+  = withObjectRef "statusBarSetFieldsCount" _obj $ \cobj__obj -> 
+    wxStatusBar_SetFieldsCount cobj__obj  (toCInt number)  widths  
+foreign import ccall "wxStatusBar_SetFieldsCount" wxStatusBar_SetFieldsCount :: Ptr (TStatusBar a) -> CInt -> Ptr CInt -> IO ()
+
+-- | usage: (@statusBarSetMinHeight obj height@).
+statusBarSetMinHeight :: StatusBar  a -> Int ->  IO ()
+statusBarSetMinHeight _obj height 
+  = withObjectRef "statusBarSetMinHeight" _obj $ \cobj__obj -> 
+    wxStatusBar_SetMinHeight cobj__obj  (toCInt height)  
+foreign import ccall "wxStatusBar_SetMinHeight" wxStatusBar_SetMinHeight :: Ptr (TStatusBar a) -> CInt -> IO ()
+
+-- | usage: (@statusBarSetStatusText obj text number@).
+statusBarSetStatusText :: StatusBar  a -> String -> Int ->  IO ()
+statusBarSetStatusText _obj text number 
+  = withObjectRef "statusBarSetStatusText" _obj $ \cobj__obj -> 
+    withStringPtr text $ \cobj_text -> 
+    wxStatusBar_SetStatusText cobj__obj  cobj_text  (toCInt number)  
+foreign import ccall "wxStatusBar_SetStatusText" wxStatusBar_SetStatusText :: Ptr (TStatusBar a) -> Ptr (TWxString b) -> CInt -> IO ()
+
+-- | usage: (@statusBarSetStatusWidths obj n widths@).
+statusBarSetStatusWidths :: StatusBar  a -> Int -> Ptr CInt ->  IO ()
+statusBarSetStatusWidths _obj n widths 
+  = withObjectRef "statusBarSetStatusWidths" _obj $ \cobj__obj -> 
+    wxStatusBar_SetStatusWidths cobj__obj  (toCInt n)  widths  
+foreign import ccall "wxStatusBar_SetStatusWidths" wxStatusBar_SetStatusWidths :: Ptr (TStatusBar a) -> CInt -> Ptr CInt -> IO ()
+
+-- | usage: (@stopWatchCreate@).
+stopWatchCreate ::  IO (StopWatch  ())
+stopWatchCreate 
+  = withObjectResult $
+    wxStopWatch_Create 
+foreign import ccall "wxStopWatch_Create" wxStopWatch_Create :: IO (Ptr (TStopWatch ()))
+
+-- | usage: (@stopWatchDelete obj@).
+stopWatchDelete :: StopWatch  a ->  IO ()
+stopWatchDelete _obj 
+  = withObjectRef "stopWatchDelete" _obj $ \cobj__obj -> 
+    wxStopWatch_Delete cobj__obj  
+foreign import ccall "wxStopWatch_Delete" wxStopWatch_Delete :: Ptr (TStopWatch a) -> IO ()
+
+-- | usage: (@stopWatchPause obj@).
+stopWatchPause :: StopWatch  a ->  IO ()
+stopWatchPause _obj 
+  = withObjectRef "stopWatchPause" _obj $ \cobj__obj -> 
+    wxStopWatch_Pause cobj__obj  
+foreign import ccall "wxStopWatch_Pause" wxStopWatch_Pause :: Ptr (TStopWatch a) -> IO ()
+
+-- | usage: (@stopWatchResume obj@).
+stopWatchResume :: StopWatch  a ->  IO ()
+stopWatchResume _obj 
+  = withObjectRef "stopWatchResume" _obj $ \cobj__obj -> 
+    wxStopWatch_Resume cobj__obj  
+foreign import ccall "wxStopWatch_Resume" wxStopWatch_Resume :: Ptr (TStopWatch a) -> IO ()
+
+-- | usage: (@stopWatchStart obj msec@).
+stopWatchStart :: StopWatch  a -> Int ->  IO ()
+stopWatchStart _obj msec 
+  = withObjectRef "stopWatchStart" _obj $ \cobj__obj -> 
+    wxStopWatch_Start cobj__obj  (toCInt msec)  
+foreign import ccall "wxStopWatch_Start" wxStopWatch_Start :: Ptr (TStopWatch a) -> CInt -> IO ()
+
+-- | usage: (@stopWatchTime obj@).
+stopWatchTime :: StopWatch  a ->  IO Int
+stopWatchTime _obj 
+  = withIntResult $
+    withObjectRef "stopWatchTime" _obj $ \cobj__obj -> 
+    wxStopWatch_Time cobj__obj  
+foreign import ccall "wxStopWatch_Time" wxStopWatch_Time :: Ptr (TStopWatch a) -> IO CInt
+
+-- | usage: (@streamBaseDelete obj@).
+streamBaseDelete :: StreamBase  a ->  IO ()
+streamBaseDelete obj 
+  = withObjectRef "streamBaseDelete" obj $ \cobj_obj -> 
+    wxStreamBase_Delete cobj_obj  
+foreign import ccall "wxStreamBase_Delete" wxStreamBase_Delete :: Ptr (TStreamBase a) -> IO ()
+
+-- | usage: (@streamBaseGetLastError obj@).
+streamBaseGetLastError :: StreamBase  a ->  IO Int
+streamBaseGetLastError _obj 
+  = withIntResult $
+    withObjectRef "streamBaseGetLastError" _obj $ \cobj__obj -> 
+    wxStreamBase_GetLastError cobj__obj  
+foreign import ccall "wxStreamBase_GetLastError" wxStreamBase_GetLastError :: Ptr (TStreamBase a) -> IO CInt
+
+-- | usage: (@streamBaseGetSize obj@).
+streamBaseGetSize :: StreamBase  a ->  IO Int
+streamBaseGetSize _obj 
+  = withIntResult $
+    withObjectRef "streamBaseGetSize" _obj $ \cobj__obj -> 
+    wxStreamBase_GetSize cobj__obj  
+foreign import ccall "wxStreamBase_GetSize" wxStreamBase_GetSize :: Ptr (TStreamBase a) -> IO CInt
+
+-- | usage: (@streamBaseIsOk obj@).
+streamBaseIsOk :: StreamBase  a ->  IO Bool
+streamBaseIsOk _obj 
+  = withBoolResult $
+    withObjectRef "streamBaseIsOk" _obj $ \cobj__obj -> 
+    wxStreamBase_IsOk cobj__obj  
+foreign import ccall "wxStreamBase_IsOk" wxStreamBase_IsOk :: Ptr (TStreamBase a) -> IO CBool
+
+-- | usage: (@stringPropertyCreate label name value@).
+stringPropertyCreate :: String -> String -> String ->  IO (StringProperty  ())
+stringPropertyCreate label name value 
+  = withObjectResult $
+    withStringPtr label $ \cobj_label -> 
+    withStringPtr name $ \cobj_name -> 
+    withStringPtr value $ \cobj_value -> 
+    wxStringProperty_Create cobj_label  cobj_name  cobj_value  
+foreign import ccall "wxStringProperty_Create" wxStringProperty_Create :: Ptr (TWxString a) -> Ptr (TWxString b) -> Ptr (TWxString c) -> IO (Ptr (TStringProperty ()))
+
+-- | usage: (@styledTextCtrlAddRefDocument obj docPointer@).
+styledTextCtrlAddRefDocument :: StyledTextCtrl  a -> STCDoc  b ->  IO ()
+styledTextCtrlAddRefDocument _obj docPointer 
+  = withObjectRef "styledTextCtrlAddRefDocument" _obj $ \cobj__obj -> 
+    withObjectPtr docPointer $ \cobj_docPointer -> 
+    wxStyledTextCtrl_AddRefDocument cobj__obj  cobj_docPointer  
+foreign import ccall "wxStyledTextCtrl_AddRefDocument" wxStyledTextCtrl_AddRefDocument :: Ptr (TStyledTextCtrl a) -> Ptr (TSTCDoc b) -> IO ()
+
+-- | usage: (@styledTextCtrlAddStyledText obj wxdata@).
+styledTextCtrlAddStyledText :: StyledTextCtrl  a -> MemoryBuffer  b ->  IO ()
+styledTextCtrlAddStyledText _obj wxdata 
+  = withObjectRef "styledTextCtrlAddStyledText" _obj $ \cobj__obj -> 
+    withObjectPtr wxdata $ \cobj_wxdata -> 
+    wxStyledTextCtrl_AddStyledText cobj__obj  cobj_wxdata  
+foreign import ccall "wxStyledTextCtrl_AddStyledText" wxStyledTextCtrl_AddStyledText :: Ptr (TStyledTextCtrl a) -> Ptr (TMemoryBuffer b) -> IO ()
+
+-- | usage: (@styledTextCtrlAddText obj text@).
+styledTextCtrlAddText :: StyledTextCtrl  a -> String ->  IO ()
+styledTextCtrlAddText _obj text 
+  = withObjectRef "styledTextCtrlAddText" _obj $ \cobj__obj -> 
+    withStringPtr text $ \cobj_text -> 
+    wxStyledTextCtrl_AddText cobj__obj  cobj_text  
+foreign import ccall "wxStyledTextCtrl_AddText" wxStyledTextCtrl_AddText :: Ptr (TStyledTextCtrl a) -> Ptr (TWxString b) -> IO ()
+
+-- | usage: (@styledTextCtrlAppendText obj text@).
+styledTextCtrlAppendText :: StyledTextCtrl  a -> String ->  IO ()
+styledTextCtrlAppendText _obj text 
+  = withObjectRef "styledTextCtrlAppendText" _obj $ \cobj__obj -> 
+    withStringPtr text $ \cobj_text -> 
+    wxStyledTextCtrl_AppendText cobj__obj  cobj_text  
+foreign import ccall "wxStyledTextCtrl_AppendText" wxStyledTextCtrl_AppendText :: Ptr (TStyledTextCtrl a) -> Ptr (TWxString b) -> IO ()
+
+-- | usage: (@styledTextCtrlAutoCompActive obj@).
+styledTextCtrlAutoCompActive :: StyledTextCtrl  a ->  IO Bool
+styledTextCtrlAutoCompActive _obj 
+  = withBoolResult $
+    withObjectRef "styledTextCtrlAutoCompActive" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_AutoCompActive cobj__obj  
+foreign import ccall "wxStyledTextCtrl_AutoCompActive" wxStyledTextCtrl_AutoCompActive :: Ptr (TStyledTextCtrl a) -> IO CBool
+
+-- | usage: (@styledTextCtrlAutoCompCancel obj@).
+styledTextCtrlAutoCompCancel :: StyledTextCtrl  a ->  IO ()
+styledTextCtrlAutoCompCancel _obj 
+  = withObjectRef "styledTextCtrlAutoCompCancel" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_AutoCompCancel cobj__obj  
+foreign import ccall "wxStyledTextCtrl_AutoCompCancel" wxStyledTextCtrl_AutoCompCancel :: Ptr (TStyledTextCtrl a) -> IO ()
+
+-- | usage: (@styledTextCtrlAutoCompComplete obj@).
+styledTextCtrlAutoCompComplete :: StyledTextCtrl  a ->  IO ()
+styledTextCtrlAutoCompComplete _obj 
+  = withObjectRef "styledTextCtrlAutoCompComplete" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_AutoCompComplete cobj__obj  
+foreign import ccall "wxStyledTextCtrl_AutoCompComplete" wxStyledTextCtrl_AutoCompComplete :: Ptr (TStyledTextCtrl a) -> IO ()
+
+-- | usage: (@styledTextCtrlAutoCompGetAutoHide obj@).
+styledTextCtrlAutoCompGetAutoHide :: StyledTextCtrl  a ->  IO Bool
+styledTextCtrlAutoCompGetAutoHide _obj 
+  = withBoolResult $
+    withObjectRef "styledTextCtrlAutoCompGetAutoHide" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_AutoCompGetAutoHide cobj__obj  
+foreign import ccall "wxStyledTextCtrl_AutoCompGetAutoHide" wxStyledTextCtrl_AutoCompGetAutoHide :: Ptr (TStyledTextCtrl a) -> IO CBool
+
+-- | usage: (@styledTextCtrlAutoCompGetCancelAtStart obj@).
+styledTextCtrlAutoCompGetCancelAtStart :: StyledTextCtrl  a ->  IO Bool
+styledTextCtrlAutoCompGetCancelAtStart _obj 
+  = withBoolResult $
+    withObjectRef "styledTextCtrlAutoCompGetCancelAtStart" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_AutoCompGetCancelAtStart cobj__obj  
+foreign import ccall "wxStyledTextCtrl_AutoCompGetCancelAtStart" wxStyledTextCtrl_AutoCompGetCancelAtStart :: Ptr (TStyledTextCtrl a) -> IO CBool
+
+-- | usage: (@styledTextCtrlAutoCompGetChooseSingle obj@).
+styledTextCtrlAutoCompGetChooseSingle :: StyledTextCtrl  a ->  IO Bool
+styledTextCtrlAutoCompGetChooseSingle _obj 
+  = withBoolResult $
+    withObjectRef "styledTextCtrlAutoCompGetChooseSingle" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_AutoCompGetChooseSingle cobj__obj  
+foreign import ccall "wxStyledTextCtrl_AutoCompGetChooseSingle" wxStyledTextCtrl_AutoCompGetChooseSingle :: Ptr (TStyledTextCtrl a) -> IO CBool
+
+-- | usage: (@styledTextCtrlAutoCompGetDropRestOfWord obj@).
+styledTextCtrlAutoCompGetDropRestOfWord :: StyledTextCtrl  a ->  IO Bool
+styledTextCtrlAutoCompGetDropRestOfWord _obj 
+  = withBoolResult $
+    withObjectRef "styledTextCtrlAutoCompGetDropRestOfWord" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_AutoCompGetDropRestOfWord cobj__obj  
+foreign import ccall "wxStyledTextCtrl_AutoCompGetDropRestOfWord" wxStyledTextCtrl_AutoCompGetDropRestOfWord :: Ptr (TStyledTextCtrl a) -> IO CBool
+
+-- | usage: (@styledTextCtrlAutoCompGetIgnoreCase obj@).
+styledTextCtrlAutoCompGetIgnoreCase :: StyledTextCtrl  a ->  IO Bool
+styledTextCtrlAutoCompGetIgnoreCase _obj 
+  = withBoolResult $
+    withObjectRef "styledTextCtrlAutoCompGetIgnoreCase" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_AutoCompGetIgnoreCase cobj__obj  
+foreign import ccall "wxStyledTextCtrl_AutoCompGetIgnoreCase" wxStyledTextCtrl_AutoCompGetIgnoreCase :: Ptr (TStyledTextCtrl a) -> IO CBool
+
+-- | usage: (@styledTextCtrlAutoCompGetSeparator obj@).
+styledTextCtrlAutoCompGetSeparator :: StyledTextCtrl  a ->  IO Int
+styledTextCtrlAutoCompGetSeparator _obj 
+  = withIntResult $
+    withObjectRef "styledTextCtrlAutoCompGetSeparator" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_AutoCompGetSeparator cobj__obj  
+foreign import ccall "wxStyledTextCtrl_AutoCompGetSeparator" wxStyledTextCtrl_AutoCompGetSeparator :: Ptr (TStyledTextCtrl a) -> IO CInt
+
+-- | usage: (@styledTextCtrlAutoCompGetTypeSeparator obj@).
+styledTextCtrlAutoCompGetTypeSeparator :: StyledTextCtrl  a ->  IO Int
+styledTextCtrlAutoCompGetTypeSeparator _obj 
+  = withIntResult $
+    withObjectRef "styledTextCtrlAutoCompGetTypeSeparator" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_AutoCompGetTypeSeparator cobj__obj  
+foreign import ccall "wxStyledTextCtrl_AutoCompGetTypeSeparator" wxStyledTextCtrl_AutoCompGetTypeSeparator :: Ptr (TStyledTextCtrl a) -> IO CInt
+
+-- | usage: (@styledTextCtrlAutoCompPosStart obj@).
+styledTextCtrlAutoCompPosStart :: StyledTextCtrl  a ->  IO Int
+styledTextCtrlAutoCompPosStart _obj 
+  = withIntResult $
+    withObjectRef "styledTextCtrlAutoCompPosStart" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_AutoCompPosStart cobj__obj  
+foreign import ccall "wxStyledTextCtrl_AutoCompPosStart" wxStyledTextCtrl_AutoCompPosStart :: Ptr (TStyledTextCtrl a) -> IO CInt
+
+-- | usage: (@styledTextCtrlAutoCompSelect obj text@).
+styledTextCtrlAutoCompSelect :: StyledTextCtrl  a -> String ->  IO ()
+styledTextCtrlAutoCompSelect _obj text 
+  = withObjectRef "styledTextCtrlAutoCompSelect" _obj $ \cobj__obj -> 
+    withStringPtr text $ \cobj_text -> 
+    wxStyledTextCtrl_AutoCompSelect cobj__obj  cobj_text  
+foreign import ccall "wxStyledTextCtrl_AutoCompSelect" wxStyledTextCtrl_AutoCompSelect :: Ptr (TStyledTextCtrl a) -> Ptr (TWxString b) -> IO ()
+
+-- | usage: (@styledTextCtrlAutoCompSetAutoHide obj autoHide@).
+styledTextCtrlAutoCompSetAutoHide :: StyledTextCtrl  a -> Bool ->  IO ()
+styledTextCtrlAutoCompSetAutoHide _obj autoHide 
+  = withObjectRef "styledTextCtrlAutoCompSetAutoHide" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_AutoCompSetAutoHide cobj__obj  (toCBool autoHide)  
+foreign import ccall "wxStyledTextCtrl_AutoCompSetAutoHide" wxStyledTextCtrl_AutoCompSetAutoHide :: Ptr (TStyledTextCtrl a) -> CBool -> IO ()
+
+-- | usage: (@styledTextCtrlAutoCompSetCancelAtStart obj cancel@).
+styledTextCtrlAutoCompSetCancelAtStart :: StyledTextCtrl  a -> Bool ->  IO ()
+styledTextCtrlAutoCompSetCancelAtStart _obj cancel 
+  = withObjectRef "styledTextCtrlAutoCompSetCancelAtStart" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_AutoCompSetCancelAtStart cobj__obj  (toCBool cancel)  
+foreign import ccall "wxStyledTextCtrl_AutoCompSetCancelAtStart" wxStyledTextCtrl_AutoCompSetCancelAtStart :: Ptr (TStyledTextCtrl a) -> CBool -> IO ()
+
+-- | usage: (@styledTextCtrlAutoCompSetChooseSingle obj chooseSingle@).
+styledTextCtrlAutoCompSetChooseSingle :: StyledTextCtrl  a -> Bool ->  IO ()
+styledTextCtrlAutoCompSetChooseSingle _obj chooseSingle 
+  = withObjectRef "styledTextCtrlAutoCompSetChooseSingle" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_AutoCompSetChooseSingle cobj__obj  (toCBool chooseSingle)  
+foreign import ccall "wxStyledTextCtrl_AutoCompSetChooseSingle" wxStyledTextCtrl_AutoCompSetChooseSingle :: Ptr (TStyledTextCtrl a) -> CBool -> IO ()
+
+-- | usage: (@styledTextCtrlAutoCompSetDropRestOfWord obj dropRestOfWord@).
+styledTextCtrlAutoCompSetDropRestOfWord :: StyledTextCtrl  a -> Bool ->  IO ()
+styledTextCtrlAutoCompSetDropRestOfWord _obj dropRestOfWord 
+  = withObjectRef "styledTextCtrlAutoCompSetDropRestOfWord" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_AutoCompSetDropRestOfWord cobj__obj  (toCBool dropRestOfWord)  
+foreign import ccall "wxStyledTextCtrl_AutoCompSetDropRestOfWord" wxStyledTextCtrl_AutoCompSetDropRestOfWord :: Ptr (TStyledTextCtrl a) -> CBool -> IO ()
+
+-- | usage: (@styledTextCtrlAutoCompSetFillUps obj characterSet@).
+styledTextCtrlAutoCompSetFillUps :: StyledTextCtrl  a -> String ->  IO ()
+styledTextCtrlAutoCompSetFillUps _obj characterSet 
+  = withObjectRef "styledTextCtrlAutoCompSetFillUps" _obj $ \cobj__obj -> 
+    withStringPtr characterSet $ \cobj_characterSet -> 
+    wxStyledTextCtrl_AutoCompSetFillUps cobj__obj  cobj_characterSet  
+foreign import ccall "wxStyledTextCtrl_AutoCompSetFillUps" wxStyledTextCtrl_AutoCompSetFillUps :: Ptr (TStyledTextCtrl a) -> Ptr (TWxString b) -> IO ()
+
+-- | usage: (@styledTextCtrlAutoCompSetIgnoreCase obj ignoreCase@).
+styledTextCtrlAutoCompSetIgnoreCase :: StyledTextCtrl  a -> Bool ->  IO ()
+styledTextCtrlAutoCompSetIgnoreCase _obj ignoreCase 
+  = withObjectRef "styledTextCtrlAutoCompSetIgnoreCase" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_AutoCompSetIgnoreCase cobj__obj  (toCBool ignoreCase)  
+foreign import ccall "wxStyledTextCtrl_AutoCompSetIgnoreCase" wxStyledTextCtrl_AutoCompSetIgnoreCase :: Ptr (TStyledTextCtrl a) -> CBool -> IO ()
+
+-- | usage: (@styledTextCtrlAutoCompSetSeparator obj separatorCharacter@).
+styledTextCtrlAutoCompSetSeparator :: StyledTextCtrl  a -> Int ->  IO ()
+styledTextCtrlAutoCompSetSeparator _obj separatorCharacter 
+  = withObjectRef "styledTextCtrlAutoCompSetSeparator" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_AutoCompSetSeparator cobj__obj  (toCInt separatorCharacter)  
+foreign import ccall "wxStyledTextCtrl_AutoCompSetSeparator" wxStyledTextCtrl_AutoCompSetSeparator :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlAutoCompSetTypeSeparator obj separatorCharacter@).
+styledTextCtrlAutoCompSetTypeSeparator :: StyledTextCtrl  a -> Int ->  IO ()
+styledTextCtrlAutoCompSetTypeSeparator _obj separatorCharacter 
+  = withObjectRef "styledTextCtrlAutoCompSetTypeSeparator" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_AutoCompSetTypeSeparator cobj__obj  (toCInt separatorCharacter)  
+foreign import ccall "wxStyledTextCtrl_AutoCompSetTypeSeparator" wxStyledTextCtrl_AutoCompSetTypeSeparator :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlAutoCompShow obj lenEntered itemList@).
+styledTextCtrlAutoCompShow :: StyledTextCtrl  a -> Int -> String ->  IO ()
+styledTextCtrlAutoCompShow _obj lenEntered itemList 
+  = withObjectRef "styledTextCtrlAutoCompShow" _obj $ \cobj__obj -> 
+    withStringPtr itemList $ \cobj_itemList -> 
+    wxStyledTextCtrl_AutoCompShow cobj__obj  (toCInt lenEntered)  cobj_itemList  
+foreign import ccall "wxStyledTextCtrl_AutoCompShow" wxStyledTextCtrl_AutoCompShow :: Ptr (TStyledTextCtrl a) -> CInt -> Ptr (TWxString c) -> IO ()
+
+-- | usage: (@styledTextCtrlAutoCompStops obj characterSet@).
+styledTextCtrlAutoCompStops :: StyledTextCtrl  a -> String ->  IO ()
+styledTextCtrlAutoCompStops _obj characterSet 
+  = withObjectRef "styledTextCtrlAutoCompStops" _obj $ \cobj__obj -> 
+    withStringPtr characterSet $ \cobj_characterSet -> 
+    wxStyledTextCtrl_AutoCompStops cobj__obj  cobj_characterSet  
+foreign import ccall "wxStyledTextCtrl_AutoCompStops" wxStyledTextCtrl_AutoCompStops :: Ptr (TStyledTextCtrl a) -> Ptr (TWxString b) -> IO ()
+
+-- | usage: (@styledTextCtrlBeginUndoAction obj@).
+styledTextCtrlBeginUndoAction :: StyledTextCtrl  a ->  IO ()
+styledTextCtrlBeginUndoAction _obj 
+  = withObjectRef "styledTextCtrlBeginUndoAction" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_BeginUndoAction cobj__obj  
+foreign import ccall "wxStyledTextCtrl_BeginUndoAction" wxStyledTextCtrl_BeginUndoAction :: Ptr (TStyledTextCtrl a) -> IO ()
+
+-- | usage: (@styledTextCtrlBraceBadLight obj pos@).
+styledTextCtrlBraceBadLight :: StyledTextCtrl  a -> Int ->  IO ()
+styledTextCtrlBraceBadLight _obj pos 
+  = withObjectRef "styledTextCtrlBraceBadLight" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_BraceBadLight cobj__obj  (toCInt pos)  
+foreign import ccall "wxStyledTextCtrl_BraceBadLight" wxStyledTextCtrl_BraceBadLight :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlBraceHighlight obj pos1 pos2@).
+styledTextCtrlBraceHighlight :: StyledTextCtrl  a -> Int -> Int ->  IO ()
+styledTextCtrlBraceHighlight _obj pos1 pos2 
+  = withObjectRef "styledTextCtrlBraceHighlight" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_BraceHighlight cobj__obj  (toCInt pos1)  (toCInt pos2)  
+foreign import ccall "wxStyledTextCtrl_BraceHighlight" wxStyledTextCtrl_BraceHighlight :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlBraceMatch obj pos@).
+styledTextCtrlBraceMatch :: StyledTextCtrl  a -> Int ->  IO Int
+styledTextCtrlBraceMatch _obj pos 
+  = withIntResult $
+    withObjectRef "styledTextCtrlBraceMatch" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_BraceMatch cobj__obj  (toCInt pos)  
+foreign import ccall "wxStyledTextCtrl_BraceMatch" wxStyledTextCtrl_BraceMatch :: Ptr (TStyledTextCtrl a) -> CInt -> IO CInt
+
+-- | usage: (@styledTextCtrlCallTipActive obj@).
+styledTextCtrlCallTipActive :: StyledTextCtrl  a ->  IO Bool
+styledTextCtrlCallTipActive _obj 
+  = withBoolResult $
+    withObjectRef "styledTextCtrlCallTipActive" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_CallTipActive cobj__obj  
+foreign import ccall "wxStyledTextCtrl_CallTipActive" wxStyledTextCtrl_CallTipActive :: Ptr (TStyledTextCtrl a) -> IO CBool
+
+-- | usage: (@styledTextCtrlCallTipCancel obj@).
+styledTextCtrlCallTipCancel :: StyledTextCtrl  a ->  IO ()
+styledTextCtrlCallTipCancel _obj 
+  = withObjectRef "styledTextCtrlCallTipCancel" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_CallTipCancel cobj__obj  
+foreign import ccall "wxStyledTextCtrl_CallTipCancel" wxStyledTextCtrl_CallTipCancel :: Ptr (TStyledTextCtrl a) -> IO ()
+
+-- | usage: (@styledTextCtrlCallTipPosAtStart obj@).
+styledTextCtrlCallTipPosAtStart :: StyledTextCtrl  a ->  IO Int
+styledTextCtrlCallTipPosAtStart _obj 
+  = withIntResult $
+    withObjectRef "styledTextCtrlCallTipPosAtStart" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_CallTipPosAtStart cobj__obj  
+foreign import ccall "wxStyledTextCtrl_CallTipPosAtStart" wxStyledTextCtrl_CallTipPosAtStart :: Ptr (TStyledTextCtrl a) -> IO CInt
+
+-- | usage: (@styledTextCtrlCallTipSetBackground obj backrbackgbackb@).
+styledTextCtrlCallTipSetBackground :: StyledTextCtrl  a -> Color ->  IO ()
+styledTextCtrlCallTipSetBackground _obj backrbackgbackb 
+  = withObjectRef "styledTextCtrlCallTipSetBackground" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_CallTipSetBackground cobj__obj  (colorRed backrbackgbackb) (colorGreen backrbackgbackb) (colorBlue backrbackgbackb)  
+foreign import ccall "wxStyledTextCtrl_CallTipSetBackground" wxStyledTextCtrl_CallTipSetBackground :: Ptr (TStyledTextCtrl a) -> Word8 -> Word8 -> Word8 -> IO ()
+
+-- | usage: (@styledTextCtrlCallTipSetForeground obj forerforegforeb@).
+styledTextCtrlCallTipSetForeground :: StyledTextCtrl  a -> Color ->  IO ()
+styledTextCtrlCallTipSetForeground _obj forerforegforeb 
+  = withObjectRef "styledTextCtrlCallTipSetForeground" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_CallTipSetForeground cobj__obj  (colorRed forerforegforeb) (colorGreen forerforegforeb) (colorBlue forerforegforeb)  
+foreign import ccall "wxStyledTextCtrl_CallTipSetForeground" wxStyledTextCtrl_CallTipSetForeground :: Ptr (TStyledTextCtrl a) -> Word8 -> Word8 -> Word8 -> IO ()
+
+-- | usage: (@styledTextCtrlCallTipSetForegroundHighlight obj forerforegforeb@).
+styledTextCtrlCallTipSetForegroundHighlight :: StyledTextCtrl  a -> Color ->  IO ()
+styledTextCtrlCallTipSetForegroundHighlight _obj forerforegforeb 
+  = withObjectRef "styledTextCtrlCallTipSetForegroundHighlight" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_CallTipSetForegroundHighlight cobj__obj  (colorRed forerforegforeb) (colorGreen forerforegforeb) (colorBlue forerforegforeb)  
+foreign import ccall "wxStyledTextCtrl_CallTipSetForegroundHighlight" wxStyledTextCtrl_CallTipSetForegroundHighlight :: Ptr (TStyledTextCtrl a) -> Word8 -> Word8 -> Word8 -> IO ()
+
+-- | usage: (@styledTextCtrlCallTipSetHighlight obj start end@).
+styledTextCtrlCallTipSetHighlight :: StyledTextCtrl  a -> Int -> Int ->  IO ()
+styledTextCtrlCallTipSetHighlight _obj start end 
+  = withObjectRef "styledTextCtrlCallTipSetHighlight" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_CallTipSetHighlight cobj__obj  (toCInt start)  (toCInt end)  
+foreign import ccall "wxStyledTextCtrl_CallTipSetHighlight" wxStyledTextCtrl_CallTipSetHighlight :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlCallTipShow obj pos definition@).
+styledTextCtrlCallTipShow :: StyledTextCtrl  a -> Int -> String ->  IO ()
+styledTextCtrlCallTipShow _obj pos definition 
+  = withObjectRef "styledTextCtrlCallTipShow" _obj $ \cobj__obj -> 
+    withStringPtr definition $ \cobj_definition -> 
+    wxStyledTextCtrl_CallTipShow cobj__obj  (toCInt pos)  cobj_definition  
+foreign import ccall "wxStyledTextCtrl_CallTipShow" wxStyledTextCtrl_CallTipShow :: Ptr (TStyledTextCtrl a) -> CInt -> Ptr (TWxString c) -> IO ()
+
+-- | usage: (@styledTextCtrlCanPaste obj@).
+styledTextCtrlCanPaste :: StyledTextCtrl  a ->  IO Bool
+styledTextCtrlCanPaste _obj 
+  = withBoolResult $
+    withObjectRef "styledTextCtrlCanPaste" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_CanPaste cobj__obj  
+foreign import ccall "wxStyledTextCtrl_CanPaste" wxStyledTextCtrl_CanPaste :: Ptr (TStyledTextCtrl a) -> IO CBool
+
+-- | usage: (@styledTextCtrlCanRedo obj@).
+styledTextCtrlCanRedo :: StyledTextCtrl  a ->  IO Bool
+styledTextCtrlCanRedo _obj 
+  = withBoolResult $
+    withObjectRef "styledTextCtrlCanRedo" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_CanRedo cobj__obj  
+foreign import ccall "wxStyledTextCtrl_CanRedo" wxStyledTextCtrl_CanRedo :: Ptr (TStyledTextCtrl a) -> IO CBool
+
+-- | usage: (@styledTextCtrlCanUndo obj@).
+styledTextCtrlCanUndo :: StyledTextCtrl  a ->  IO Bool
+styledTextCtrlCanUndo _obj 
+  = withBoolResult $
+    withObjectRef "styledTextCtrlCanUndo" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_CanUndo cobj__obj  
+foreign import ccall "wxStyledTextCtrl_CanUndo" wxStyledTextCtrl_CanUndo :: Ptr (TStyledTextCtrl a) -> IO CBool
+
+-- | usage: (@styledTextCtrlChooseCaretX obj@).
+styledTextCtrlChooseCaretX :: StyledTextCtrl  a ->  IO ()
+styledTextCtrlChooseCaretX _obj 
+  = withObjectRef "styledTextCtrlChooseCaretX" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_ChooseCaretX cobj__obj  
+foreign import ccall "wxStyledTextCtrl_ChooseCaretX" wxStyledTextCtrl_ChooseCaretX :: Ptr (TStyledTextCtrl a) -> IO ()
+
+-- | usage: (@styledTextCtrlClear obj@).
+styledTextCtrlClear :: StyledTextCtrl  a ->  IO ()
+styledTextCtrlClear _obj 
+  = withObjectRef "styledTextCtrlClear" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_Clear cobj__obj  
+foreign import ccall "wxStyledTextCtrl_Clear" wxStyledTextCtrl_Clear :: Ptr (TStyledTextCtrl a) -> IO ()
+
+-- | usage: (@styledTextCtrlClearAll obj@).
+styledTextCtrlClearAll :: StyledTextCtrl  a ->  IO ()
+styledTextCtrlClearAll _obj 
+  = withObjectRef "styledTextCtrlClearAll" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_ClearAll cobj__obj  
+foreign import ccall "wxStyledTextCtrl_ClearAll" wxStyledTextCtrl_ClearAll :: Ptr (TStyledTextCtrl a) -> IO ()
+
+-- | usage: (@styledTextCtrlClearDocumentStyle obj@).
+styledTextCtrlClearDocumentStyle :: StyledTextCtrl  a ->  IO ()
+styledTextCtrlClearDocumentStyle _obj 
+  = withObjectRef "styledTextCtrlClearDocumentStyle" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_ClearDocumentStyle cobj__obj  
+foreign import ccall "wxStyledTextCtrl_ClearDocumentStyle" wxStyledTextCtrl_ClearDocumentStyle :: Ptr (TStyledTextCtrl a) -> IO ()
+
+-- | usage: (@styledTextCtrlClearRegisteredImages obj@).
+styledTextCtrlClearRegisteredImages :: StyledTextCtrl  a ->  IO ()
+styledTextCtrlClearRegisteredImages _obj 
+  = withObjectRef "styledTextCtrlClearRegisteredImages" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_ClearRegisteredImages cobj__obj  
+foreign import ccall "wxStyledTextCtrl_ClearRegisteredImages" wxStyledTextCtrl_ClearRegisteredImages :: Ptr (TStyledTextCtrl a) -> IO ()
+
+-- | usage: (@styledTextCtrlCmdKeyAssign obj key modifiers cmd@).
+styledTextCtrlCmdKeyAssign :: StyledTextCtrl  a -> Int -> Int -> Int ->  IO ()
+styledTextCtrlCmdKeyAssign _obj key modifiers cmd 
+  = withObjectRef "styledTextCtrlCmdKeyAssign" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_CmdKeyAssign cobj__obj  (toCInt key)  (toCInt modifiers)  (toCInt cmd)  
+foreign import ccall "wxStyledTextCtrl_CmdKeyAssign" wxStyledTextCtrl_CmdKeyAssign :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlCmdKeyClear obj key modifiers@).
+styledTextCtrlCmdKeyClear :: StyledTextCtrl  a -> Int -> Int ->  IO ()
+styledTextCtrlCmdKeyClear _obj key modifiers 
+  = withObjectRef "styledTextCtrlCmdKeyClear" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_CmdKeyClear cobj__obj  (toCInt key)  (toCInt modifiers)  
+foreign import ccall "wxStyledTextCtrl_CmdKeyClear" wxStyledTextCtrl_CmdKeyClear :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlCmdKeyClearAll obj@).
+styledTextCtrlCmdKeyClearAll :: StyledTextCtrl  a ->  IO ()
+styledTextCtrlCmdKeyClearAll _obj 
+  = withObjectRef "styledTextCtrlCmdKeyClearAll" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_CmdKeyClearAll cobj__obj  
+foreign import ccall "wxStyledTextCtrl_CmdKeyClearAll" wxStyledTextCtrl_CmdKeyClearAll :: Ptr (TStyledTextCtrl a) -> IO ()
+
+-- | usage: (@styledTextCtrlCmdKeyExecute obj cmd@).
+styledTextCtrlCmdKeyExecute :: StyledTextCtrl  a -> Int ->  IO ()
+styledTextCtrlCmdKeyExecute _obj cmd 
+  = withObjectRef "styledTextCtrlCmdKeyExecute" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_CmdKeyExecute cobj__obj  (toCInt cmd)  
+foreign import ccall "wxStyledTextCtrl_CmdKeyExecute" wxStyledTextCtrl_CmdKeyExecute :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlColourise obj start end@).
+styledTextCtrlColourise :: StyledTextCtrl  a -> Int -> Int ->  IO ()
+styledTextCtrlColourise _obj start end 
+  = withObjectRef "styledTextCtrlColourise" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_Colourise cobj__obj  (toCInt start)  (toCInt end)  
+foreign import ccall "wxStyledTextCtrl_Colourise" wxStyledTextCtrl_Colourise :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlConvertEOLs obj eolMode@).
+styledTextCtrlConvertEOLs :: StyledTextCtrl  a -> Int ->  IO ()
+styledTextCtrlConvertEOLs _obj eolMode 
+  = withObjectRef "styledTextCtrlConvertEOLs" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_ConvertEOLs cobj__obj  (toCInt eolMode)  
+foreign import ccall "wxStyledTextCtrl_ConvertEOLs" wxStyledTextCtrl_ConvertEOLs :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlCopy obj@).
+styledTextCtrlCopy :: StyledTextCtrl  a ->  IO ()
+styledTextCtrlCopy _obj 
+  = withObjectRef "styledTextCtrlCopy" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_Copy cobj__obj  
+foreign import ccall "wxStyledTextCtrl_Copy" wxStyledTextCtrl_Copy :: Ptr (TStyledTextCtrl a) -> IO ()
+
+-- | usage: (@styledTextCtrlCopyRange obj start end@).
+styledTextCtrlCopyRange :: StyledTextCtrl  a -> Int -> Int ->  IO ()
+styledTextCtrlCopyRange _obj start end 
+  = withObjectRef "styledTextCtrlCopyRange" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_CopyRange cobj__obj  (toCInt start)  (toCInt end)  
+foreign import ccall "wxStyledTextCtrl_CopyRange" wxStyledTextCtrl_CopyRange :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlCopyText obj length text@).
+styledTextCtrlCopyText :: StyledTextCtrl  a -> Int -> String ->  IO ()
+styledTextCtrlCopyText _obj length text 
+  = withObjectRef "styledTextCtrlCopyText" _obj $ \cobj__obj -> 
+    withStringPtr text $ \cobj_text -> 
+    wxStyledTextCtrl_CopyText cobj__obj  (toCInt length)  cobj_text  
+foreign import ccall "wxStyledTextCtrl_CopyText" wxStyledTextCtrl_CopyText :: Ptr (TStyledTextCtrl a) -> CInt -> Ptr (TWxString c) -> IO ()
+
+-- | usage: (@styledTextCtrlCreate prt id txt lfttopwdthgt style@).
+styledTextCtrlCreate :: Window  a -> Id -> String -> Rect -> Int ->  IO (StyledTextCtrl  ())
+styledTextCtrlCreate _prt _id _txt _lfttopwdthgt style 
+  = withObjectResult $
+    withObjectPtr _prt $ \cobj__prt -> 
+    withStringPtr _txt $ \cobj__txt -> 
+    wxStyledTextCtrl_Create cobj__prt  (toCInt _id)  cobj__txt  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  (toCInt style)  
+foreign import ccall "wxStyledTextCtrl_Create" wxStyledTextCtrl_Create :: Ptr (TWindow a) -> CInt -> Ptr (TWxString c) -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TStyledTextCtrl ()))
+
+-- | usage: (@styledTextCtrlCreateDocument obj@).
+styledTextCtrlCreateDocument :: StyledTextCtrl  a ->  IO (STCDoc  ())
+styledTextCtrlCreateDocument _obj 
+  = withObjectResult $
+    withObjectRef "styledTextCtrlCreateDocument" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_CreateDocument cobj__obj  
+foreign import ccall "wxStyledTextCtrl_CreateDocument" wxStyledTextCtrl_CreateDocument :: Ptr (TStyledTextCtrl a) -> IO (Ptr (TSTCDoc ()))
+
+-- | usage: (@styledTextCtrlCut obj@).
+styledTextCtrlCut :: StyledTextCtrl  a ->  IO ()
+styledTextCtrlCut _obj 
+  = withObjectRef "styledTextCtrlCut" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_Cut cobj__obj  
+foreign import ccall "wxStyledTextCtrl_Cut" wxStyledTextCtrl_Cut :: Ptr (TStyledTextCtrl a) -> IO ()
+
+-- | usage: (@styledTextCtrlDelLineLeft obj@).
+styledTextCtrlDelLineLeft :: StyledTextCtrl  a ->  IO ()
+styledTextCtrlDelLineLeft _obj 
+  = withObjectRef "styledTextCtrlDelLineLeft" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_DelLineLeft cobj__obj  
+foreign import ccall "wxStyledTextCtrl_DelLineLeft" wxStyledTextCtrl_DelLineLeft :: Ptr (TStyledTextCtrl a) -> IO ()
+
+-- | usage: (@styledTextCtrlDelLineRight obj@).
+styledTextCtrlDelLineRight :: StyledTextCtrl  a ->  IO ()
+styledTextCtrlDelLineRight _obj 
+  = withObjectRef "styledTextCtrlDelLineRight" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_DelLineRight cobj__obj  
+foreign import ccall "wxStyledTextCtrl_DelLineRight" wxStyledTextCtrl_DelLineRight :: Ptr (TStyledTextCtrl a) -> IO ()
+
+-- | usage: (@styledTextCtrlDocLineFromVisible obj lineDisplay@).
+styledTextCtrlDocLineFromVisible :: StyledTextCtrl  a -> Int ->  IO Int
+styledTextCtrlDocLineFromVisible _obj lineDisplay 
+  = withIntResult $
+    withObjectRef "styledTextCtrlDocLineFromVisible" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_DocLineFromVisible cobj__obj  (toCInt lineDisplay)  
+foreign import ccall "wxStyledTextCtrl_DocLineFromVisible" wxStyledTextCtrl_DocLineFromVisible :: Ptr (TStyledTextCtrl a) -> CInt -> IO CInt
+
+-- | usage: (@styledTextCtrlEmptyUndoBuffer obj@).
+styledTextCtrlEmptyUndoBuffer :: StyledTextCtrl  a ->  IO ()
+styledTextCtrlEmptyUndoBuffer _obj 
+  = withObjectRef "styledTextCtrlEmptyUndoBuffer" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_EmptyUndoBuffer cobj__obj  
+foreign import ccall "wxStyledTextCtrl_EmptyUndoBuffer" wxStyledTextCtrl_EmptyUndoBuffer :: Ptr (TStyledTextCtrl a) -> IO ()
+
+-- | usage: (@styledTextCtrlEndUndoAction obj@).
+styledTextCtrlEndUndoAction :: StyledTextCtrl  a ->  IO ()
+styledTextCtrlEndUndoAction _obj 
+  = withObjectRef "styledTextCtrlEndUndoAction" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_EndUndoAction cobj__obj  
+foreign import ccall "wxStyledTextCtrl_EndUndoAction" wxStyledTextCtrl_EndUndoAction :: Ptr (TStyledTextCtrl a) -> IO ()
+
+-- | usage: (@styledTextCtrlEnsureCaretVisible obj@).
+styledTextCtrlEnsureCaretVisible :: StyledTextCtrl  a ->  IO ()
+styledTextCtrlEnsureCaretVisible _obj 
+  = withObjectRef "styledTextCtrlEnsureCaretVisible" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_EnsureCaretVisible cobj__obj  
+foreign import ccall "wxStyledTextCtrl_EnsureCaretVisible" wxStyledTextCtrl_EnsureCaretVisible :: Ptr (TStyledTextCtrl a) -> IO ()
+
+-- | usage: (@styledTextCtrlEnsureVisible obj line@).
+styledTextCtrlEnsureVisible :: StyledTextCtrl  a -> Int ->  IO ()
+styledTextCtrlEnsureVisible _obj line 
+  = withObjectRef "styledTextCtrlEnsureVisible" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_EnsureVisible cobj__obj  (toCInt line)  
+foreign import ccall "wxStyledTextCtrl_EnsureVisible" wxStyledTextCtrl_EnsureVisible :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlEnsureVisibleEnforcePolicy obj line@).
+styledTextCtrlEnsureVisibleEnforcePolicy :: StyledTextCtrl  a -> Int ->  IO ()
+styledTextCtrlEnsureVisibleEnforcePolicy _obj line 
+  = withObjectRef "styledTextCtrlEnsureVisibleEnforcePolicy" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_EnsureVisibleEnforcePolicy cobj__obj  (toCInt line)  
+foreign import ccall "wxStyledTextCtrl_EnsureVisibleEnforcePolicy" wxStyledTextCtrl_EnsureVisibleEnforcePolicy :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlFindText obj minPos maxPos text flags@).
+styledTextCtrlFindText :: StyledTextCtrl  a -> Int -> Int -> String -> Int ->  IO Int
+styledTextCtrlFindText _obj minPos maxPos text flags 
+  = withIntResult $
+    withObjectRef "styledTextCtrlFindText" _obj $ \cobj__obj -> 
+    withStringPtr text $ \cobj_text -> 
+    wxStyledTextCtrl_FindText cobj__obj  (toCInt minPos)  (toCInt maxPos)  cobj_text  (toCInt flags)  
+foreign import ccall "wxStyledTextCtrl_FindText" wxStyledTextCtrl_FindText :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> Ptr (TWxString d) -> CInt -> IO CInt
+
+-- | usage: (@styledTextCtrlFormatRange obj doDraw startPos endPos draw target renderRect pageRect@).
+styledTextCtrlFormatRange :: StyledTextCtrl  a -> Bool -> Int -> Int -> DC  e -> DC  f -> Rect -> Rect ->  IO Int
+styledTextCtrlFormatRange _obj doDraw startPos endPos draw target renderRect pageRect 
+  = withIntResult $
+    withObjectRef "styledTextCtrlFormatRange" _obj $ \cobj__obj -> 
+    withObjectPtr draw $ \cobj_draw -> 
+    withObjectPtr target $ \cobj_target -> 
+    withWxRectPtr renderRect $ \cobj_renderRect -> 
+    withWxRectPtr pageRect $ \cobj_pageRect -> 
+    wxStyledTextCtrl_FormatRange cobj__obj  (toCBool doDraw)  (toCInt startPos)  (toCInt endPos)  cobj_draw  cobj_target  cobj_renderRect  cobj_pageRect  
+foreign import ccall "wxStyledTextCtrl_FormatRange" wxStyledTextCtrl_FormatRange :: Ptr (TStyledTextCtrl a) -> CBool -> CInt -> CInt -> Ptr (TDC e) -> Ptr (TDC f) -> Ptr (TWxRect g) -> Ptr (TWxRect h) -> IO CInt
+
+-- | usage: (@styledTextCtrlGetAnchor obj@).
+styledTextCtrlGetAnchor :: StyledTextCtrl  a ->  IO Int
+styledTextCtrlGetAnchor _obj 
+  = withIntResult $
+    withObjectRef "styledTextCtrlGetAnchor" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetAnchor cobj__obj  
+foreign import ccall "wxStyledTextCtrl_GetAnchor" wxStyledTextCtrl_GetAnchor :: Ptr (TStyledTextCtrl a) -> IO CInt
+
+-- | usage: (@styledTextCtrlGetBackSpaceUnIndents obj@).
+styledTextCtrlGetBackSpaceUnIndents :: StyledTextCtrl  a ->  IO Bool
+styledTextCtrlGetBackSpaceUnIndents _obj 
+  = withBoolResult $
+    withObjectRef "styledTextCtrlGetBackSpaceUnIndents" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetBackSpaceUnIndents cobj__obj  
+foreign import ccall "wxStyledTextCtrl_GetBackSpaceUnIndents" wxStyledTextCtrl_GetBackSpaceUnIndents :: Ptr (TStyledTextCtrl a) -> IO CBool
+
+-- | usage: (@styledTextCtrlGetBufferedDraw obj@).
+styledTextCtrlGetBufferedDraw :: StyledTextCtrl  a ->  IO Bool
+styledTextCtrlGetBufferedDraw _obj 
+  = withBoolResult $
+    withObjectRef "styledTextCtrlGetBufferedDraw" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetBufferedDraw cobj__obj  
+foreign import ccall "wxStyledTextCtrl_GetBufferedDraw" wxStyledTextCtrl_GetBufferedDraw :: Ptr (TStyledTextCtrl a) -> IO CBool
+
+-- | usage: (@styledTextCtrlGetCaretForeground obj@).
+styledTextCtrlGetCaretForeground :: StyledTextCtrl  a ->  IO (Color)
+styledTextCtrlGetCaretForeground _obj 
+  = withManagedColourResult $
+    withObjectRef "styledTextCtrlGetCaretForeground" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetCaretForeground cobj__obj  
+foreign import ccall "wxStyledTextCtrl_GetCaretForeground" wxStyledTextCtrl_GetCaretForeground :: Ptr (TStyledTextCtrl a) -> IO (Ptr (TColour ()))
+
+-- | usage: (@styledTextCtrlGetCaretLineBackground obj@).
+styledTextCtrlGetCaretLineBackground :: StyledTextCtrl  a ->  IO (Color)
+styledTextCtrlGetCaretLineBackground _obj 
+  = withManagedColourResult $
+    withObjectRef "styledTextCtrlGetCaretLineBackground" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetCaretLineBackground cobj__obj  
+foreign import ccall "wxStyledTextCtrl_GetCaretLineBackground" wxStyledTextCtrl_GetCaretLineBackground :: Ptr (TStyledTextCtrl a) -> IO (Ptr (TColour ()))
+
+-- | usage: (@styledTextCtrlGetCaretLineVisible obj@).
+styledTextCtrlGetCaretLineVisible :: StyledTextCtrl  a ->  IO Bool
+styledTextCtrlGetCaretLineVisible _obj 
+  = withBoolResult $
+    withObjectRef "styledTextCtrlGetCaretLineVisible" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetCaretLineVisible cobj__obj  
+foreign import ccall "wxStyledTextCtrl_GetCaretLineVisible" wxStyledTextCtrl_GetCaretLineVisible :: Ptr (TStyledTextCtrl a) -> IO CBool
+
+-- | usage: (@styledTextCtrlGetCaretPeriod obj@).
+styledTextCtrlGetCaretPeriod :: StyledTextCtrl  a ->  IO Int
+styledTextCtrlGetCaretPeriod _obj 
+  = withIntResult $
+    withObjectRef "styledTextCtrlGetCaretPeriod" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetCaretPeriod cobj__obj  
+foreign import ccall "wxStyledTextCtrl_GetCaretPeriod" wxStyledTextCtrl_GetCaretPeriod :: Ptr (TStyledTextCtrl a) -> IO CInt
+
+-- | usage: (@styledTextCtrlGetCaretWidth obj@).
+styledTextCtrlGetCaretWidth :: StyledTextCtrl  a ->  IO Int
+styledTextCtrlGetCaretWidth _obj 
+  = withIntResult $
+    withObjectRef "styledTextCtrlGetCaretWidth" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetCaretWidth cobj__obj  
+foreign import ccall "wxStyledTextCtrl_GetCaretWidth" wxStyledTextCtrl_GetCaretWidth :: Ptr (TStyledTextCtrl a) -> IO CInt
+
+-- | usage: (@styledTextCtrlGetCharAt obj pos@).
+styledTextCtrlGetCharAt :: StyledTextCtrl  a -> Int ->  IO Int
+styledTextCtrlGetCharAt _obj pos 
+  = withIntResult $
+    withObjectRef "styledTextCtrlGetCharAt" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetCharAt cobj__obj  (toCInt pos)  
+foreign import ccall "wxStyledTextCtrl_GetCharAt" wxStyledTextCtrl_GetCharAt :: Ptr (TStyledTextCtrl a) -> CInt -> IO CInt
+
+-- | usage: (@styledTextCtrlGetCodePage obj@).
+styledTextCtrlGetCodePage :: StyledTextCtrl  a ->  IO Int
+styledTextCtrlGetCodePage _obj 
+  = withIntResult $
+    withObjectRef "styledTextCtrlGetCodePage" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetCodePage cobj__obj  
+foreign import ccall "wxStyledTextCtrl_GetCodePage" wxStyledTextCtrl_GetCodePage :: Ptr (TStyledTextCtrl a) -> IO CInt
+
+-- | usage: (@styledTextCtrlGetColumn obj pos@).
+styledTextCtrlGetColumn :: StyledTextCtrl  a -> Int ->  IO Int
+styledTextCtrlGetColumn _obj pos 
+  = withIntResult $
+    withObjectRef "styledTextCtrlGetColumn" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetColumn cobj__obj  (toCInt pos)  
+foreign import ccall "wxStyledTextCtrl_GetColumn" wxStyledTextCtrl_GetColumn :: Ptr (TStyledTextCtrl a) -> CInt -> IO CInt
+
+-- | usage: (@styledTextCtrlGetControlCharSymbol obj@).
+styledTextCtrlGetControlCharSymbol :: StyledTextCtrl  a ->  IO Int
+styledTextCtrlGetControlCharSymbol _obj 
+  = withIntResult $
+    withObjectRef "styledTextCtrlGetControlCharSymbol" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetControlCharSymbol cobj__obj  
+foreign import ccall "wxStyledTextCtrl_GetControlCharSymbol" wxStyledTextCtrl_GetControlCharSymbol :: Ptr (TStyledTextCtrl a) -> IO CInt
+
+-- | usage: (@styledTextCtrlGetCurrentLine obj@).
+styledTextCtrlGetCurrentLine :: StyledTextCtrl  a ->  IO Int
+styledTextCtrlGetCurrentLine _obj 
+  = withIntResult $
+    withObjectRef "styledTextCtrlGetCurrentLine" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetCurrentLine cobj__obj  
+foreign import ccall "wxStyledTextCtrl_GetCurrentLine" wxStyledTextCtrl_GetCurrentLine :: Ptr (TStyledTextCtrl a) -> IO CInt
+
+-- | usage: (@styledTextCtrlGetCurrentPos obj@).
+styledTextCtrlGetCurrentPos :: StyledTextCtrl  a ->  IO Int
+styledTextCtrlGetCurrentPos _obj 
+  = withIntResult $
+    withObjectRef "styledTextCtrlGetCurrentPos" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetCurrentPos cobj__obj  
+foreign import ccall "wxStyledTextCtrl_GetCurrentPos" wxStyledTextCtrl_GetCurrentPos :: Ptr (TStyledTextCtrl a) -> IO CInt
+
+-- | usage: (@styledTextCtrlGetDocPointer obj@).
+styledTextCtrlGetDocPointer :: StyledTextCtrl  a ->  IO (STCDoc  ())
+styledTextCtrlGetDocPointer _obj 
+  = withObjectResult $
+    withObjectRef "styledTextCtrlGetDocPointer" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetDocPointer cobj__obj  
+foreign import ccall "wxStyledTextCtrl_GetDocPointer" wxStyledTextCtrl_GetDocPointer :: Ptr (TStyledTextCtrl a) -> IO (Ptr (TSTCDoc ()))
+
+-- | usage: (@styledTextCtrlGetEOLMode obj@).
+styledTextCtrlGetEOLMode :: StyledTextCtrl  a ->  IO Int
+styledTextCtrlGetEOLMode _obj 
+  = withIntResult $
+    withObjectRef "styledTextCtrlGetEOLMode" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetEOLMode cobj__obj  
+foreign import ccall "wxStyledTextCtrl_GetEOLMode" wxStyledTextCtrl_GetEOLMode :: Ptr (TStyledTextCtrl a) -> IO CInt
+
+-- | usage: (@styledTextCtrlGetEdgeColour obj@).
+styledTextCtrlGetEdgeColour :: StyledTextCtrl  a ->  IO (Color)
+styledTextCtrlGetEdgeColour _obj 
+  = withManagedColourResult $
+    withObjectRef "styledTextCtrlGetEdgeColour" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetEdgeColour cobj__obj  
+foreign import ccall "wxStyledTextCtrl_GetEdgeColour" wxStyledTextCtrl_GetEdgeColour :: Ptr (TStyledTextCtrl a) -> IO (Ptr (TColour ()))
+
+-- | usage: (@styledTextCtrlGetEdgeColumn obj@).
+styledTextCtrlGetEdgeColumn :: StyledTextCtrl  a ->  IO Int
+styledTextCtrlGetEdgeColumn _obj 
+  = withIntResult $
+    withObjectRef "styledTextCtrlGetEdgeColumn" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetEdgeColumn cobj__obj  
+foreign import ccall "wxStyledTextCtrl_GetEdgeColumn" wxStyledTextCtrl_GetEdgeColumn :: Ptr (TStyledTextCtrl a) -> IO CInt
+
+-- | usage: (@styledTextCtrlGetEdgeMode obj@).
+styledTextCtrlGetEdgeMode :: StyledTextCtrl  a ->  IO Int
+styledTextCtrlGetEdgeMode _obj 
+  = withIntResult $
+    withObjectRef "styledTextCtrlGetEdgeMode" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetEdgeMode cobj__obj  
+foreign import ccall "wxStyledTextCtrl_GetEdgeMode" wxStyledTextCtrl_GetEdgeMode :: Ptr (TStyledTextCtrl a) -> IO CInt
+
+-- | usage: (@styledTextCtrlGetEndAtLastLine obj@).
+styledTextCtrlGetEndAtLastLine :: StyledTextCtrl  a ->  IO Int
+styledTextCtrlGetEndAtLastLine _obj 
+  = withIntResult $
+    withObjectRef "styledTextCtrlGetEndAtLastLine" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetEndAtLastLine cobj__obj  
+foreign import ccall "wxStyledTextCtrl_GetEndAtLastLine" wxStyledTextCtrl_GetEndAtLastLine :: Ptr (TStyledTextCtrl a) -> IO CInt
+
+-- | usage: (@styledTextCtrlGetEndStyled obj@).
+styledTextCtrlGetEndStyled :: StyledTextCtrl  a ->  IO Int
+styledTextCtrlGetEndStyled _obj 
+  = withIntResult $
+    withObjectRef "styledTextCtrlGetEndStyled" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetEndStyled cobj__obj  
+foreign import ccall "wxStyledTextCtrl_GetEndStyled" wxStyledTextCtrl_GetEndStyled :: Ptr (TStyledTextCtrl a) -> IO CInt
+
+-- | usage: (@styledTextCtrlGetFirstVisibleLine obj@).
+styledTextCtrlGetFirstVisibleLine :: StyledTextCtrl  a ->  IO Int
+styledTextCtrlGetFirstVisibleLine _obj 
+  = withIntResult $
+    withObjectRef "styledTextCtrlGetFirstVisibleLine" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetFirstVisibleLine cobj__obj  
+foreign import ccall "wxStyledTextCtrl_GetFirstVisibleLine" wxStyledTextCtrl_GetFirstVisibleLine :: Ptr (TStyledTextCtrl a) -> IO CInt
+
+-- | usage: (@styledTextCtrlGetFoldExpanded obj line@).
+styledTextCtrlGetFoldExpanded :: StyledTextCtrl  a -> Int ->  IO Bool
+styledTextCtrlGetFoldExpanded _obj line 
+  = withBoolResult $
+    withObjectRef "styledTextCtrlGetFoldExpanded" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetFoldExpanded cobj__obj  (toCInt line)  
+foreign import ccall "wxStyledTextCtrl_GetFoldExpanded" wxStyledTextCtrl_GetFoldExpanded :: Ptr (TStyledTextCtrl a) -> CInt -> IO CBool
+
+-- | usage: (@styledTextCtrlGetFoldLevel obj line@).
+styledTextCtrlGetFoldLevel :: StyledTextCtrl  a -> Int ->  IO Int
+styledTextCtrlGetFoldLevel _obj line 
+  = withIntResult $
+    withObjectRef "styledTextCtrlGetFoldLevel" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetFoldLevel cobj__obj  (toCInt line)  
+foreign import ccall "wxStyledTextCtrl_GetFoldLevel" wxStyledTextCtrl_GetFoldLevel :: Ptr (TStyledTextCtrl a) -> CInt -> IO CInt
+
+-- | usage: (@styledTextCtrlGetFoldParent obj line@).
+styledTextCtrlGetFoldParent :: StyledTextCtrl  a -> Int ->  IO Int
+styledTextCtrlGetFoldParent _obj line 
+  = withIntResult $
+    withObjectRef "styledTextCtrlGetFoldParent" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetFoldParent cobj__obj  (toCInt line)  
+foreign import ccall "wxStyledTextCtrl_GetFoldParent" wxStyledTextCtrl_GetFoldParent :: Ptr (TStyledTextCtrl a) -> CInt -> IO CInt
+
+-- | usage: (@styledTextCtrlGetHighlightGuide obj@).
+styledTextCtrlGetHighlightGuide :: StyledTextCtrl  a ->  IO Int
+styledTextCtrlGetHighlightGuide _obj 
+  = withIntResult $
+    withObjectRef "styledTextCtrlGetHighlightGuide" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetHighlightGuide cobj__obj  
+foreign import ccall "wxStyledTextCtrl_GetHighlightGuide" wxStyledTextCtrl_GetHighlightGuide :: Ptr (TStyledTextCtrl a) -> IO CInt
+
+-- | usage: (@styledTextCtrlGetIndent obj@).
+styledTextCtrlGetIndent :: StyledTextCtrl  a ->  IO Int
+styledTextCtrlGetIndent _obj 
+  = withIntResult $
+    withObjectRef "styledTextCtrlGetIndent" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetIndent cobj__obj  
+foreign import ccall "wxStyledTextCtrl_GetIndent" wxStyledTextCtrl_GetIndent :: Ptr (TStyledTextCtrl a) -> IO CInt
+
+-- | usage: (@styledTextCtrlGetIndentationGuides obj@).
+styledTextCtrlGetIndentationGuides :: StyledTextCtrl  a ->  IO Bool
+styledTextCtrlGetIndentationGuides _obj 
+  = withBoolResult $
+    withObjectRef "styledTextCtrlGetIndentationGuides" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetIndentationGuides cobj__obj  
+foreign import ccall "wxStyledTextCtrl_GetIndentationGuides" wxStyledTextCtrl_GetIndentationGuides :: Ptr (TStyledTextCtrl a) -> IO CBool
+
+-- | usage: (@styledTextCtrlGetLastChild obj line level@).
+styledTextCtrlGetLastChild :: StyledTextCtrl  a -> Int -> Int ->  IO Int
+styledTextCtrlGetLastChild _obj line level 
+  = withIntResult $
+    withObjectRef "styledTextCtrlGetLastChild" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetLastChild cobj__obj  (toCInt line)  (toCInt level)  
+foreign import ccall "wxStyledTextCtrl_GetLastChild" wxStyledTextCtrl_GetLastChild :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> IO CInt
+
+-- | usage: (@styledTextCtrlGetLastKeydownProcessed obj@).
+styledTextCtrlGetLastKeydownProcessed :: StyledTextCtrl  a ->  IO Bool
+styledTextCtrlGetLastKeydownProcessed _obj 
+  = withBoolResult $
+    withObjectRef "styledTextCtrlGetLastKeydownProcessed" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetLastKeydownProcessed cobj__obj  
+foreign import ccall "wxStyledTextCtrl_GetLastKeydownProcessed" wxStyledTextCtrl_GetLastKeydownProcessed :: Ptr (TStyledTextCtrl a) -> IO CBool
+
+-- | usage: (@styledTextCtrlGetLayoutCache obj@).
+styledTextCtrlGetLayoutCache :: StyledTextCtrl  a ->  IO Int
+styledTextCtrlGetLayoutCache _obj 
+  = withIntResult $
+    withObjectRef "styledTextCtrlGetLayoutCache" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetLayoutCache cobj__obj  
+foreign import ccall "wxStyledTextCtrl_GetLayoutCache" wxStyledTextCtrl_GetLayoutCache :: Ptr (TStyledTextCtrl a) -> IO CInt
+
+-- | usage: (@styledTextCtrlGetLength obj@).
+styledTextCtrlGetLength :: StyledTextCtrl  a ->  IO Int
+styledTextCtrlGetLength _obj 
+  = withIntResult $
+    withObjectRef "styledTextCtrlGetLength" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetLength cobj__obj  
+foreign import ccall "wxStyledTextCtrl_GetLength" wxStyledTextCtrl_GetLength :: Ptr (TStyledTextCtrl a) -> IO CInt
+
+-- | usage: (@styledTextCtrlGetLexer obj@).
+styledTextCtrlGetLexer :: StyledTextCtrl  a ->  IO Int
+styledTextCtrlGetLexer _obj 
+  = withIntResult $
+    withObjectRef "styledTextCtrlGetLexer" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetLexer cobj__obj  
+foreign import ccall "wxStyledTextCtrl_GetLexer" wxStyledTextCtrl_GetLexer :: Ptr (TStyledTextCtrl a) -> IO CInt
+
+-- | usage: (@styledTextCtrlGetLine obj line@).
+styledTextCtrlGetLine :: StyledTextCtrl  a -> Int ->  IO (String)
+styledTextCtrlGetLine _obj line 
+  = withManagedStringResult $
+    withObjectRef "styledTextCtrlGetLine" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetLine cobj__obj  (toCInt line)  
+foreign import ccall "wxStyledTextCtrl_GetLine" wxStyledTextCtrl_GetLine :: Ptr (TStyledTextCtrl a) -> CInt -> IO (Ptr (TWxString ()))
+
+-- | usage: (@styledTextCtrlGetLineCount obj@).
+styledTextCtrlGetLineCount :: StyledTextCtrl  a ->  IO Int
+styledTextCtrlGetLineCount _obj 
+  = withIntResult $
+    withObjectRef "styledTextCtrlGetLineCount" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetLineCount cobj__obj  
+foreign import ccall "wxStyledTextCtrl_GetLineCount" wxStyledTextCtrl_GetLineCount :: Ptr (TStyledTextCtrl a) -> IO CInt
+
+-- | usage: (@styledTextCtrlGetLineEndPosition obj line@).
+styledTextCtrlGetLineEndPosition :: StyledTextCtrl  a -> Int ->  IO Int
+styledTextCtrlGetLineEndPosition _obj line 
+  = withIntResult $
+    withObjectRef "styledTextCtrlGetLineEndPosition" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetLineEndPosition cobj__obj  (toCInt line)  
+foreign import ccall "wxStyledTextCtrl_GetLineEndPosition" wxStyledTextCtrl_GetLineEndPosition :: Ptr (TStyledTextCtrl a) -> CInt -> IO CInt
+
+-- | usage: (@styledTextCtrlGetLineIndentPosition obj line@).
+styledTextCtrlGetLineIndentPosition :: StyledTextCtrl  a -> Int ->  IO Int
+styledTextCtrlGetLineIndentPosition _obj line 
+  = withIntResult $
+    withObjectRef "styledTextCtrlGetLineIndentPosition" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetLineIndentPosition cobj__obj  (toCInt line)  
+foreign import ccall "wxStyledTextCtrl_GetLineIndentPosition" wxStyledTextCtrl_GetLineIndentPosition :: Ptr (TStyledTextCtrl a) -> CInt -> IO CInt
+
+-- | usage: (@styledTextCtrlGetLineIndentation obj line@).
+styledTextCtrlGetLineIndentation :: StyledTextCtrl  a -> Int ->  IO Int
+styledTextCtrlGetLineIndentation _obj line 
+  = withIntResult $
+    withObjectRef "styledTextCtrlGetLineIndentation" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetLineIndentation cobj__obj  (toCInt line)  
+foreign import ccall "wxStyledTextCtrl_GetLineIndentation" wxStyledTextCtrl_GetLineIndentation :: Ptr (TStyledTextCtrl a) -> CInt -> IO CInt
+
+-- | usage: (@styledTextCtrlGetLineState obj line@).
+styledTextCtrlGetLineState :: StyledTextCtrl  a -> Int ->  IO Int
+styledTextCtrlGetLineState _obj line 
+  = withIntResult $
+    withObjectRef "styledTextCtrlGetLineState" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetLineState cobj__obj  (toCInt line)  
+foreign import ccall "wxStyledTextCtrl_GetLineState" wxStyledTextCtrl_GetLineState :: Ptr (TStyledTextCtrl a) -> CInt -> IO CInt
+
+-- | usage: (@styledTextCtrlGetLineVisible obj line@).
+styledTextCtrlGetLineVisible :: StyledTextCtrl  a -> Int ->  IO Bool
+styledTextCtrlGetLineVisible _obj line 
+  = withBoolResult $
+    withObjectRef "styledTextCtrlGetLineVisible" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetLineVisible cobj__obj  (toCInt line)  
+foreign import ccall "wxStyledTextCtrl_GetLineVisible" wxStyledTextCtrl_GetLineVisible :: Ptr (TStyledTextCtrl a) -> CInt -> IO CBool
+
+-- | usage: (@styledTextCtrlGetMarginLeft obj@).
+styledTextCtrlGetMarginLeft :: StyledTextCtrl  a ->  IO Int
+styledTextCtrlGetMarginLeft _obj 
+  = withIntResult $
+    withObjectRef "styledTextCtrlGetMarginLeft" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetMarginLeft cobj__obj  
+foreign import ccall "wxStyledTextCtrl_GetMarginLeft" wxStyledTextCtrl_GetMarginLeft :: Ptr (TStyledTextCtrl a) -> IO CInt
+
+-- | usage: (@styledTextCtrlGetMarginMask obj margin@).
+styledTextCtrlGetMarginMask :: StyledTextCtrl  a -> Int ->  IO Int
+styledTextCtrlGetMarginMask _obj margin 
+  = withIntResult $
+    withObjectRef "styledTextCtrlGetMarginMask" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetMarginMask cobj__obj  (toCInt margin)  
+foreign import ccall "wxStyledTextCtrl_GetMarginMask" wxStyledTextCtrl_GetMarginMask :: Ptr (TStyledTextCtrl a) -> CInt -> IO CInt
+
+-- | usage: (@styledTextCtrlGetMarginRight obj@).
+styledTextCtrlGetMarginRight :: StyledTextCtrl  a ->  IO Int
+styledTextCtrlGetMarginRight _obj 
+  = withIntResult $
+    withObjectRef "styledTextCtrlGetMarginRight" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetMarginRight cobj__obj  
+foreign import ccall "wxStyledTextCtrl_GetMarginRight" wxStyledTextCtrl_GetMarginRight :: Ptr (TStyledTextCtrl a) -> IO CInt
+
+-- | usage: (@styledTextCtrlGetMarginSensitive obj margin@).
+styledTextCtrlGetMarginSensitive :: StyledTextCtrl  a -> Int ->  IO Bool
+styledTextCtrlGetMarginSensitive _obj margin 
+  = withBoolResult $
+    withObjectRef "styledTextCtrlGetMarginSensitive" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetMarginSensitive cobj__obj  (toCInt margin)  
+foreign import ccall "wxStyledTextCtrl_GetMarginSensitive" wxStyledTextCtrl_GetMarginSensitive :: Ptr (TStyledTextCtrl a) -> CInt -> IO CBool
+
+-- | usage: (@styledTextCtrlGetMarginType obj margin@).
+styledTextCtrlGetMarginType :: StyledTextCtrl  a -> Int ->  IO Int
+styledTextCtrlGetMarginType _obj margin 
+  = withIntResult $
+    withObjectRef "styledTextCtrlGetMarginType" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetMarginType cobj__obj  (toCInt margin)  
+foreign import ccall "wxStyledTextCtrl_GetMarginType" wxStyledTextCtrl_GetMarginType :: Ptr (TStyledTextCtrl a) -> CInt -> IO CInt
+
+-- | usage: (@styledTextCtrlGetMarginWidth obj margin@).
+styledTextCtrlGetMarginWidth :: StyledTextCtrl  a -> Int ->  IO Int
+styledTextCtrlGetMarginWidth _obj margin 
+  = withIntResult $
+    withObjectRef "styledTextCtrlGetMarginWidth" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetMarginWidth cobj__obj  (toCInt margin)  
+foreign import ccall "wxStyledTextCtrl_GetMarginWidth" wxStyledTextCtrl_GetMarginWidth :: Ptr (TStyledTextCtrl a) -> CInt -> IO CInt
+
+-- | usage: (@styledTextCtrlGetMaxLineState obj@).
+styledTextCtrlGetMaxLineState :: StyledTextCtrl  a ->  IO Int
+styledTextCtrlGetMaxLineState _obj 
+  = withIntResult $
+    withObjectRef "styledTextCtrlGetMaxLineState" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetMaxLineState cobj__obj  
+foreign import ccall "wxStyledTextCtrl_GetMaxLineState" wxStyledTextCtrl_GetMaxLineState :: Ptr (TStyledTextCtrl a) -> IO CInt
+
+-- | usage: (@styledTextCtrlGetModEventMask obj@).
+styledTextCtrlGetModEventMask :: StyledTextCtrl  a ->  IO Int
+styledTextCtrlGetModEventMask _obj 
+  = withIntResult $
+    withObjectRef "styledTextCtrlGetModEventMask" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetModEventMask cobj__obj  
+foreign import ccall "wxStyledTextCtrl_GetModEventMask" wxStyledTextCtrl_GetModEventMask :: Ptr (TStyledTextCtrl a) -> IO CInt
+
+-- | usage: (@styledTextCtrlGetModify obj@).
+styledTextCtrlGetModify :: StyledTextCtrl  a ->  IO Bool
+styledTextCtrlGetModify _obj 
+  = withBoolResult $
+    withObjectRef "styledTextCtrlGetModify" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetModify cobj__obj  
+foreign import ccall "wxStyledTextCtrl_GetModify" wxStyledTextCtrl_GetModify :: Ptr (TStyledTextCtrl a) -> IO CBool
+
+-- | usage: (@styledTextCtrlGetMouseDownCaptures obj@).
+styledTextCtrlGetMouseDownCaptures :: StyledTextCtrl  a ->  IO Bool
+styledTextCtrlGetMouseDownCaptures _obj 
+  = withBoolResult $
+    withObjectRef "styledTextCtrlGetMouseDownCaptures" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetMouseDownCaptures cobj__obj  
+foreign import ccall "wxStyledTextCtrl_GetMouseDownCaptures" wxStyledTextCtrl_GetMouseDownCaptures :: Ptr (TStyledTextCtrl a) -> IO CBool
+
+-- | usage: (@styledTextCtrlGetMouseDwellTime obj@).
+styledTextCtrlGetMouseDwellTime :: StyledTextCtrl  a ->  IO Int
+styledTextCtrlGetMouseDwellTime _obj 
+  = withIntResult $
+    withObjectRef "styledTextCtrlGetMouseDwellTime" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetMouseDwellTime cobj__obj  
+foreign import ccall "wxStyledTextCtrl_GetMouseDwellTime" wxStyledTextCtrl_GetMouseDwellTime :: Ptr (TStyledTextCtrl a) -> IO CInt
+
+-- | usage: (@styledTextCtrlGetOvertype obj@).
+styledTextCtrlGetOvertype :: StyledTextCtrl  a ->  IO Bool
+styledTextCtrlGetOvertype _obj 
+  = withBoolResult $
+    withObjectRef "styledTextCtrlGetOvertype" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetOvertype cobj__obj  
+foreign import ccall "wxStyledTextCtrl_GetOvertype" wxStyledTextCtrl_GetOvertype :: Ptr (TStyledTextCtrl a) -> IO CBool
+
+-- | usage: (@styledTextCtrlGetPrintColourMode obj@).
+styledTextCtrlGetPrintColourMode :: StyledTextCtrl  a ->  IO Int
+styledTextCtrlGetPrintColourMode _obj 
+  = withIntResult $
+    withObjectRef "styledTextCtrlGetPrintColourMode" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetPrintColourMode cobj__obj  
+foreign import ccall "wxStyledTextCtrl_GetPrintColourMode" wxStyledTextCtrl_GetPrintColourMode :: Ptr (TStyledTextCtrl a) -> IO CInt
+
+-- | usage: (@styledTextCtrlGetPrintMagnification obj@).
+styledTextCtrlGetPrintMagnification :: StyledTextCtrl  a ->  IO Int
+styledTextCtrlGetPrintMagnification _obj 
+  = withIntResult $
+    withObjectRef "styledTextCtrlGetPrintMagnification" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetPrintMagnification cobj__obj  
+foreign import ccall "wxStyledTextCtrl_GetPrintMagnification" wxStyledTextCtrl_GetPrintMagnification :: Ptr (TStyledTextCtrl a) -> IO CInt
+
+-- | usage: (@styledTextCtrlGetPrintWrapMode obj@).
+styledTextCtrlGetPrintWrapMode :: StyledTextCtrl  a ->  IO Int
+styledTextCtrlGetPrintWrapMode _obj 
+  = withIntResult $
+    withObjectRef "styledTextCtrlGetPrintWrapMode" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetPrintWrapMode cobj__obj  
+foreign import ccall "wxStyledTextCtrl_GetPrintWrapMode" wxStyledTextCtrl_GetPrintWrapMode :: Ptr (TStyledTextCtrl a) -> IO CInt
+
+-- | usage: (@styledTextCtrlGetReadOnly obj@).
+styledTextCtrlGetReadOnly :: StyledTextCtrl  a ->  IO Bool
+styledTextCtrlGetReadOnly _obj 
+  = withBoolResult $
+    withObjectRef "styledTextCtrlGetReadOnly" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetReadOnly cobj__obj  
+foreign import ccall "wxStyledTextCtrl_GetReadOnly" wxStyledTextCtrl_GetReadOnly :: Ptr (TStyledTextCtrl a) -> IO CBool
+
+-- | usage: (@styledTextCtrlGetSTCCursor obj@).
+styledTextCtrlGetSTCCursor :: StyledTextCtrl  a ->  IO Int
+styledTextCtrlGetSTCCursor _obj 
+  = withIntResult $
+    withObjectRef "styledTextCtrlGetSTCCursor" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetSTCCursor cobj__obj  
+foreign import ccall "wxStyledTextCtrl_GetSTCCursor" wxStyledTextCtrl_GetSTCCursor :: Ptr (TStyledTextCtrl a) -> IO CInt
+
+-- | usage: (@styledTextCtrlGetSTCFocus obj@).
+styledTextCtrlGetSTCFocus :: StyledTextCtrl  a ->  IO Bool
+styledTextCtrlGetSTCFocus _obj 
+  = withBoolResult $
+    withObjectRef "styledTextCtrlGetSTCFocus" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetSTCFocus cobj__obj  
+foreign import ccall "wxStyledTextCtrl_GetSTCFocus" wxStyledTextCtrl_GetSTCFocus :: Ptr (TStyledTextCtrl a) -> IO CBool
+
+-- | usage: (@styledTextCtrlGetScrollWidth obj@).
+styledTextCtrlGetScrollWidth :: StyledTextCtrl  a ->  IO Int
+styledTextCtrlGetScrollWidth _obj 
+  = withIntResult $
+    withObjectRef "styledTextCtrlGetScrollWidth" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetScrollWidth cobj__obj  
+foreign import ccall "wxStyledTextCtrl_GetScrollWidth" wxStyledTextCtrl_GetScrollWidth :: Ptr (TStyledTextCtrl a) -> IO CInt
+
+-- | usage: (@styledTextCtrlGetSearchFlags obj@).
+styledTextCtrlGetSearchFlags :: StyledTextCtrl  a ->  IO Int
+styledTextCtrlGetSearchFlags _obj 
+  = withIntResult $
+    withObjectRef "styledTextCtrlGetSearchFlags" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetSearchFlags cobj__obj  
+foreign import ccall "wxStyledTextCtrl_GetSearchFlags" wxStyledTextCtrl_GetSearchFlags :: Ptr (TStyledTextCtrl a) -> IO CInt
+
+-- | usage: (@styledTextCtrlGetSelectedText obj@).
+styledTextCtrlGetSelectedText :: StyledTextCtrl  a ->  IO (String)
+styledTextCtrlGetSelectedText _obj 
+  = withManagedStringResult $
+    withObjectRef "styledTextCtrlGetSelectedText" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetSelectedText cobj__obj  
+foreign import ccall "wxStyledTextCtrl_GetSelectedText" wxStyledTextCtrl_GetSelectedText :: Ptr (TStyledTextCtrl a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@styledTextCtrlGetSelection obj startPos endPos@).
+styledTextCtrlGetSelection :: StyledTextCtrl  a -> Ptr CInt -> Ptr CInt ->  IO ()
+styledTextCtrlGetSelection _obj startPos endPos 
+  = withObjectRef "styledTextCtrlGetSelection" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetSelection cobj__obj  startPos  endPos  
+foreign import ccall "wxStyledTextCtrl_GetSelection" wxStyledTextCtrl_GetSelection :: Ptr (TStyledTextCtrl a) -> Ptr CInt -> Ptr CInt -> IO ()
+
+-- | usage: (@styledTextCtrlGetSelectionEnd obj@).
+styledTextCtrlGetSelectionEnd :: StyledTextCtrl  a ->  IO Int
+styledTextCtrlGetSelectionEnd _obj 
+  = withIntResult $
+    withObjectRef "styledTextCtrlGetSelectionEnd" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetSelectionEnd cobj__obj  
+foreign import ccall "wxStyledTextCtrl_GetSelectionEnd" wxStyledTextCtrl_GetSelectionEnd :: Ptr (TStyledTextCtrl a) -> IO CInt
+
+-- | usage: (@styledTextCtrlGetSelectionStart obj@).
+styledTextCtrlGetSelectionStart :: StyledTextCtrl  a ->  IO Int
+styledTextCtrlGetSelectionStart _obj 
+  = withIntResult $
+    withObjectRef "styledTextCtrlGetSelectionStart" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetSelectionStart cobj__obj  
+foreign import ccall "wxStyledTextCtrl_GetSelectionStart" wxStyledTextCtrl_GetSelectionStart :: Ptr (TStyledTextCtrl a) -> IO CInt
+
+-- | usage: (@styledTextCtrlGetStatus obj@).
+styledTextCtrlGetStatus :: StyledTextCtrl  a ->  IO Int
+styledTextCtrlGetStatus _obj 
+  = withIntResult $
+    withObjectRef "styledTextCtrlGetStatus" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetStatus cobj__obj  
+foreign import ccall "wxStyledTextCtrl_GetStatus" wxStyledTextCtrl_GetStatus :: Ptr (TStyledTextCtrl a) -> IO CInt
+
+-- | usage: (@styledTextCtrlGetStyleAt obj pos@).
+styledTextCtrlGetStyleAt :: StyledTextCtrl  a -> Int ->  IO Int
+styledTextCtrlGetStyleAt _obj pos 
+  = withIntResult $
+    withObjectRef "styledTextCtrlGetStyleAt" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetStyleAt cobj__obj  (toCInt pos)  
+foreign import ccall "wxStyledTextCtrl_GetStyleAt" wxStyledTextCtrl_GetStyleAt :: Ptr (TStyledTextCtrl a) -> CInt -> IO CInt
+
+-- | usage: (@styledTextCtrlGetStyleBits obj@).
+styledTextCtrlGetStyleBits :: StyledTextCtrl  a ->  IO Int
+styledTextCtrlGetStyleBits _obj 
+  = withIntResult $
+    withObjectRef "styledTextCtrlGetStyleBits" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetStyleBits cobj__obj  
+foreign import ccall "wxStyledTextCtrl_GetStyleBits" wxStyledTextCtrl_GetStyleBits :: Ptr (TStyledTextCtrl a) -> IO CInt
+
+-- | usage: (@styledTextCtrlGetTabIndents obj@).
+styledTextCtrlGetTabIndents :: StyledTextCtrl  a ->  IO Bool
+styledTextCtrlGetTabIndents _obj 
+  = withBoolResult $
+    withObjectRef "styledTextCtrlGetTabIndents" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetTabIndents cobj__obj  
+foreign import ccall "wxStyledTextCtrl_GetTabIndents" wxStyledTextCtrl_GetTabIndents :: Ptr (TStyledTextCtrl a) -> IO CBool
+
+-- | usage: (@styledTextCtrlGetTabWidth obj@).
+styledTextCtrlGetTabWidth :: StyledTextCtrl  a ->  IO Int
+styledTextCtrlGetTabWidth _obj 
+  = withIntResult $
+    withObjectRef "styledTextCtrlGetTabWidth" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetTabWidth cobj__obj  
+foreign import ccall "wxStyledTextCtrl_GetTabWidth" wxStyledTextCtrl_GetTabWidth :: Ptr (TStyledTextCtrl a) -> IO CInt
+
+-- | usage: (@styledTextCtrlGetTargetEnd obj@).
+styledTextCtrlGetTargetEnd :: StyledTextCtrl  a ->  IO Int
+styledTextCtrlGetTargetEnd _obj 
+  = withIntResult $
+    withObjectRef "styledTextCtrlGetTargetEnd" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetTargetEnd cobj__obj  
+foreign import ccall "wxStyledTextCtrl_GetTargetEnd" wxStyledTextCtrl_GetTargetEnd :: Ptr (TStyledTextCtrl a) -> IO CInt
+
+-- | usage: (@styledTextCtrlGetTargetStart obj@).
+styledTextCtrlGetTargetStart :: StyledTextCtrl  a ->  IO Int
+styledTextCtrlGetTargetStart _obj 
+  = withIntResult $
+    withObjectRef "styledTextCtrlGetTargetStart" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetTargetStart cobj__obj  
+foreign import ccall "wxStyledTextCtrl_GetTargetStart" wxStyledTextCtrl_GetTargetStart :: Ptr (TStyledTextCtrl a) -> IO CInt
+
+-- | usage: (@styledTextCtrlGetText obj@).
+styledTextCtrlGetText :: StyledTextCtrl  a ->  IO (String)
+styledTextCtrlGetText _obj 
+  = withManagedStringResult $
+    withObjectRef "styledTextCtrlGetText" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetText cobj__obj  
+foreign import ccall "wxStyledTextCtrl_GetText" wxStyledTextCtrl_GetText :: Ptr (TStyledTextCtrl a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@styledTextCtrlGetTextLength obj@).
+styledTextCtrlGetTextLength :: StyledTextCtrl  a ->  IO Int
+styledTextCtrlGetTextLength _obj 
+  = withIntResult $
+    withObjectRef "styledTextCtrlGetTextLength" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetTextLength cobj__obj  
+foreign import ccall "wxStyledTextCtrl_GetTextLength" wxStyledTextCtrl_GetTextLength :: Ptr (TStyledTextCtrl a) -> IO CInt
+
+-- | usage: (@styledTextCtrlGetTextRange obj startPos endPos@).
+styledTextCtrlGetTextRange :: StyledTextCtrl  a -> Int -> Int ->  IO (String)
+styledTextCtrlGetTextRange _obj startPos endPos 
+  = withManagedStringResult $
+    withObjectRef "styledTextCtrlGetTextRange" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetTextRange cobj__obj  (toCInt startPos)  (toCInt endPos)  
+foreign import ccall "wxStyledTextCtrl_GetTextRange" wxStyledTextCtrl_GetTextRange :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> IO (Ptr (TWxString ()))
+
+-- | usage: (@styledTextCtrlGetTwoPhaseDraw obj@).
+styledTextCtrlGetTwoPhaseDraw :: StyledTextCtrl  a ->  IO Bool
+styledTextCtrlGetTwoPhaseDraw _obj 
+  = withBoolResult $
+    withObjectRef "styledTextCtrlGetTwoPhaseDraw" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetTwoPhaseDraw cobj__obj  
+foreign import ccall "wxStyledTextCtrl_GetTwoPhaseDraw" wxStyledTextCtrl_GetTwoPhaseDraw :: Ptr (TStyledTextCtrl a) -> IO CBool
+
+-- | usage: (@styledTextCtrlGetUndoCollection obj@).
+styledTextCtrlGetUndoCollection :: StyledTextCtrl  a ->  IO Bool
+styledTextCtrlGetUndoCollection _obj 
+  = withBoolResult $
+    withObjectRef "styledTextCtrlGetUndoCollection" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetUndoCollection cobj__obj  
+foreign import ccall "wxStyledTextCtrl_GetUndoCollection" wxStyledTextCtrl_GetUndoCollection :: Ptr (TStyledTextCtrl a) -> IO CBool
+
+-- | usage: (@styledTextCtrlGetUseHorizontalScrollBar obj@).
+styledTextCtrlGetUseHorizontalScrollBar :: StyledTextCtrl  a ->  IO Bool
+styledTextCtrlGetUseHorizontalScrollBar _obj 
+  = withBoolResult $
+    withObjectRef "styledTextCtrlGetUseHorizontalScrollBar" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetUseHorizontalScrollBar cobj__obj  
+foreign import ccall "wxStyledTextCtrl_GetUseHorizontalScrollBar" wxStyledTextCtrl_GetUseHorizontalScrollBar :: Ptr (TStyledTextCtrl a) -> IO CBool
+
+-- | usage: (@styledTextCtrlGetUseTabs obj@).
+styledTextCtrlGetUseTabs :: StyledTextCtrl  a ->  IO Bool
+styledTextCtrlGetUseTabs _obj 
+  = withBoolResult $
+    withObjectRef "styledTextCtrlGetUseTabs" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetUseTabs cobj__obj  
+foreign import ccall "wxStyledTextCtrl_GetUseTabs" wxStyledTextCtrl_GetUseTabs :: Ptr (TStyledTextCtrl a) -> IO CBool
+
+-- | usage: (@styledTextCtrlGetUseVerticalScrollBar obj@).
+styledTextCtrlGetUseVerticalScrollBar :: StyledTextCtrl  a ->  IO Bool
+styledTextCtrlGetUseVerticalScrollBar _obj 
+  = withBoolResult $
+    withObjectRef "styledTextCtrlGetUseVerticalScrollBar" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetUseVerticalScrollBar cobj__obj  
+foreign import ccall "wxStyledTextCtrl_GetUseVerticalScrollBar" wxStyledTextCtrl_GetUseVerticalScrollBar :: Ptr (TStyledTextCtrl a) -> IO CBool
+
+-- | usage: (@styledTextCtrlGetViewEOL obj@).
+styledTextCtrlGetViewEOL :: StyledTextCtrl  a ->  IO Bool
+styledTextCtrlGetViewEOL _obj 
+  = withBoolResult $
+    withObjectRef "styledTextCtrlGetViewEOL" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetViewEOL cobj__obj  
+foreign import ccall "wxStyledTextCtrl_GetViewEOL" wxStyledTextCtrl_GetViewEOL :: Ptr (TStyledTextCtrl a) -> IO CBool
+
+-- | usage: (@styledTextCtrlGetViewWhiteSpace obj@).
+styledTextCtrlGetViewWhiteSpace :: StyledTextCtrl  a ->  IO Int
+styledTextCtrlGetViewWhiteSpace _obj 
+  = withIntResult $
+    withObjectRef "styledTextCtrlGetViewWhiteSpace" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetViewWhiteSpace cobj__obj  
+foreign import ccall "wxStyledTextCtrl_GetViewWhiteSpace" wxStyledTextCtrl_GetViewWhiteSpace :: Ptr (TStyledTextCtrl a) -> IO CInt
+
+-- | usage: (@styledTextCtrlGetWrapMode obj@).
+styledTextCtrlGetWrapMode :: StyledTextCtrl  a ->  IO Int
+styledTextCtrlGetWrapMode _obj 
+  = withIntResult $
+    withObjectRef "styledTextCtrlGetWrapMode" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetWrapMode cobj__obj  
+foreign import ccall "wxStyledTextCtrl_GetWrapMode" wxStyledTextCtrl_GetWrapMode :: Ptr (TStyledTextCtrl a) -> IO CInt
+
+-- | usage: (@styledTextCtrlGetXOffset obj@).
+styledTextCtrlGetXOffset :: StyledTextCtrl  a ->  IO Int
+styledTextCtrlGetXOffset _obj 
+  = withIntResult $
+    withObjectRef "styledTextCtrlGetXOffset" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetXOffset cobj__obj  
+foreign import ccall "wxStyledTextCtrl_GetXOffset" wxStyledTextCtrl_GetXOffset :: Ptr (TStyledTextCtrl a) -> IO CInt
+
+-- | usage: (@styledTextCtrlGetZoom obj@).
+styledTextCtrlGetZoom :: StyledTextCtrl  a ->  IO Int
+styledTextCtrlGetZoom _obj 
+  = withIntResult $
+    withObjectRef "styledTextCtrlGetZoom" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GetZoom cobj__obj  
+foreign import ccall "wxStyledTextCtrl_GetZoom" wxStyledTextCtrl_GetZoom :: Ptr (TStyledTextCtrl a) -> IO CInt
+
+-- | usage: (@styledTextCtrlGotoLine obj line@).
+styledTextCtrlGotoLine :: StyledTextCtrl  a -> Int ->  IO ()
+styledTextCtrlGotoLine _obj line 
+  = withObjectRef "styledTextCtrlGotoLine" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GotoLine cobj__obj  (toCInt line)  
+foreign import ccall "wxStyledTextCtrl_GotoLine" wxStyledTextCtrl_GotoLine :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlGotoPos obj pos@).
+styledTextCtrlGotoPos :: StyledTextCtrl  a -> Int ->  IO ()
+styledTextCtrlGotoPos _obj pos 
+  = withObjectRef "styledTextCtrlGotoPos" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_GotoPos cobj__obj  (toCInt pos)  
+foreign import ccall "wxStyledTextCtrl_GotoPos" wxStyledTextCtrl_GotoPos :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlHideLines obj lineStart lineEnd@).
+styledTextCtrlHideLines :: StyledTextCtrl  a -> Int -> Int ->  IO ()
+styledTextCtrlHideLines _obj lineStart lineEnd 
+  = withObjectRef "styledTextCtrlHideLines" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_HideLines cobj__obj  (toCInt lineStart)  (toCInt lineEnd)  
+foreign import ccall "wxStyledTextCtrl_HideLines" wxStyledTextCtrl_HideLines :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlHideSelection obj normal@).
+styledTextCtrlHideSelection :: StyledTextCtrl  a -> Bool ->  IO ()
+styledTextCtrlHideSelection _obj normal 
+  = withObjectRef "styledTextCtrlHideSelection" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_HideSelection cobj__obj  (toCBool normal)  
+foreign import ccall "wxStyledTextCtrl_HideSelection" wxStyledTextCtrl_HideSelection :: Ptr (TStyledTextCtrl a) -> CBool -> IO ()
+
+-- | usage: (@styledTextCtrlHomeDisplay obj@).
+styledTextCtrlHomeDisplay :: StyledTextCtrl  a ->  IO ()
+styledTextCtrlHomeDisplay _obj 
+  = withObjectRef "styledTextCtrlHomeDisplay" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_HomeDisplay cobj__obj  
+foreign import ccall "wxStyledTextCtrl_HomeDisplay" wxStyledTextCtrl_HomeDisplay :: Ptr (TStyledTextCtrl a) -> IO ()
+
+-- | usage: (@styledTextCtrlHomeDisplayExtend obj@).
+styledTextCtrlHomeDisplayExtend :: StyledTextCtrl  a ->  IO ()
+styledTextCtrlHomeDisplayExtend _obj 
+  = withObjectRef "styledTextCtrlHomeDisplayExtend" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_HomeDisplayExtend cobj__obj  
+foreign import ccall "wxStyledTextCtrl_HomeDisplayExtend" wxStyledTextCtrl_HomeDisplayExtend :: Ptr (TStyledTextCtrl a) -> IO ()
+
+-- | usage: (@styledTextCtrlIndicatorGetForeground obj indic@).
+styledTextCtrlIndicatorGetForeground :: StyledTextCtrl  a -> Int ->  IO (Color)
+styledTextCtrlIndicatorGetForeground _obj indic 
+  = withManagedColourResult $
+    withObjectRef "styledTextCtrlIndicatorGetForeground" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_IndicatorGetForeground cobj__obj  (toCInt indic)  
+foreign import ccall "wxStyledTextCtrl_IndicatorGetForeground" wxStyledTextCtrl_IndicatorGetForeground :: Ptr (TStyledTextCtrl a) -> CInt -> IO (Ptr (TColour ()))
+
+-- | usage: (@styledTextCtrlIndicatorGetStyle obj indic@).
+styledTextCtrlIndicatorGetStyle :: StyledTextCtrl  a -> Int ->  IO Int
+styledTextCtrlIndicatorGetStyle _obj indic 
+  = withIntResult $
+    withObjectRef "styledTextCtrlIndicatorGetStyle" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_IndicatorGetStyle cobj__obj  (toCInt indic)  
+foreign import ccall "wxStyledTextCtrl_IndicatorGetStyle" wxStyledTextCtrl_IndicatorGetStyle :: Ptr (TStyledTextCtrl a) -> CInt -> IO CInt
+
+-- | usage: (@styledTextCtrlIndicatorSetForeground obj indic forerforegforeb@).
+styledTextCtrlIndicatorSetForeground :: StyledTextCtrl  a -> Int -> Color ->  IO ()
+styledTextCtrlIndicatorSetForeground _obj indic forerforegforeb 
+  = withObjectRef "styledTextCtrlIndicatorSetForeground" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_IndicatorSetForeground cobj__obj  (toCInt indic)  (colorRed forerforegforeb) (colorGreen forerforegforeb) (colorBlue forerforegforeb)  
+foreign import ccall "wxStyledTextCtrl_IndicatorSetForeground" wxStyledTextCtrl_IndicatorSetForeground :: Ptr (TStyledTextCtrl a) -> CInt -> Word8 -> Word8 -> Word8 -> IO ()
+
+-- | usage: (@styledTextCtrlIndicatorSetStyle obj indic style@).
+styledTextCtrlIndicatorSetStyle :: StyledTextCtrl  a -> Int -> Int ->  IO ()
+styledTextCtrlIndicatorSetStyle _obj indic style 
+  = withObjectRef "styledTextCtrlIndicatorSetStyle" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_IndicatorSetStyle cobj__obj  (toCInt indic)  (toCInt style)  
+foreign import ccall "wxStyledTextCtrl_IndicatorSetStyle" wxStyledTextCtrl_IndicatorSetStyle :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlInsertText obj pos text@).
+styledTextCtrlInsertText :: StyledTextCtrl  a -> Int -> String ->  IO ()
+styledTextCtrlInsertText _obj pos text 
+  = withObjectRef "styledTextCtrlInsertText" _obj $ \cobj__obj -> 
+    withStringPtr text $ \cobj_text -> 
+    wxStyledTextCtrl_InsertText cobj__obj  (toCInt pos)  cobj_text  
+foreign import ccall "wxStyledTextCtrl_InsertText" wxStyledTextCtrl_InsertText :: Ptr (TStyledTextCtrl a) -> CInt -> Ptr (TWxString c) -> IO ()
+
+-- | usage: (@styledTextCtrlLineCopy obj@).
+styledTextCtrlLineCopy :: StyledTextCtrl  a ->  IO ()
+styledTextCtrlLineCopy _obj 
+  = withObjectRef "styledTextCtrlLineCopy" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_LineCopy cobj__obj  
+foreign import ccall "wxStyledTextCtrl_LineCopy" wxStyledTextCtrl_LineCopy :: Ptr (TStyledTextCtrl a) -> IO ()
+
+-- | usage: (@styledTextCtrlLineDuplicate obj@).
+styledTextCtrlLineDuplicate :: StyledTextCtrl  a ->  IO ()
+styledTextCtrlLineDuplicate _obj 
+  = withObjectRef "styledTextCtrlLineDuplicate" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_LineDuplicate cobj__obj  
+foreign import ccall "wxStyledTextCtrl_LineDuplicate" wxStyledTextCtrl_LineDuplicate :: Ptr (TStyledTextCtrl a) -> IO ()
+
+-- | usage: (@styledTextCtrlLineEndDisplay obj@).
+styledTextCtrlLineEndDisplay :: StyledTextCtrl  a ->  IO ()
+styledTextCtrlLineEndDisplay _obj 
+  = withObjectRef "styledTextCtrlLineEndDisplay" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_LineEndDisplay cobj__obj  
+foreign import ccall "wxStyledTextCtrl_LineEndDisplay" wxStyledTextCtrl_LineEndDisplay :: Ptr (TStyledTextCtrl a) -> IO ()
+
+-- | usage: (@styledTextCtrlLineEndDisplayExtend obj@).
+styledTextCtrlLineEndDisplayExtend :: StyledTextCtrl  a ->  IO ()
+styledTextCtrlLineEndDisplayExtend _obj 
+  = withObjectRef "styledTextCtrlLineEndDisplayExtend" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_LineEndDisplayExtend cobj__obj  
+foreign import ccall "wxStyledTextCtrl_LineEndDisplayExtend" wxStyledTextCtrl_LineEndDisplayExtend :: Ptr (TStyledTextCtrl a) -> IO ()
+
+-- | usage: (@styledTextCtrlLineFromPosition obj pos@).
+styledTextCtrlLineFromPosition :: StyledTextCtrl  a -> Int ->  IO Int
+styledTextCtrlLineFromPosition _obj pos 
+  = withIntResult $
+    withObjectRef "styledTextCtrlLineFromPosition" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_LineFromPosition cobj__obj  (toCInt pos)  
+foreign import ccall "wxStyledTextCtrl_LineFromPosition" wxStyledTextCtrl_LineFromPosition :: Ptr (TStyledTextCtrl a) -> CInt -> IO CInt
+
+-- | usage: (@styledTextCtrlLineLength obj line@).
+styledTextCtrlLineLength :: StyledTextCtrl  a -> Int ->  IO Int
+styledTextCtrlLineLength _obj line 
+  = withIntResult $
+    withObjectRef "styledTextCtrlLineLength" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_LineLength cobj__obj  (toCInt line)  
+foreign import ccall "wxStyledTextCtrl_LineLength" wxStyledTextCtrl_LineLength :: Ptr (TStyledTextCtrl a) -> CInt -> IO CInt
+
+-- | usage: (@styledTextCtrlLineScroll obj columns lines@).
+styledTextCtrlLineScroll :: StyledTextCtrl  a -> Int -> Int ->  IO ()
+styledTextCtrlLineScroll _obj columns lines 
+  = withObjectRef "styledTextCtrlLineScroll" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_LineScroll cobj__obj  (toCInt columns)  (toCInt lines)  
+foreign import ccall "wxStyledTextCtrl_LineScroll" wxStyledTextCtrl_LineScroll :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlLinesJoin obj@).
+styledTextCtrlLinesJoin :: StyledTextCtrl  a ->  IO ()
+styledTextCtrlLinesJoin _obj 
+  = withObjectRef "styledTextCtrlLinesJoin" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_LinesJoin cobj__obj  
+foreign import ccall "wxStyledTextCtrl_LinesJoin" wxStyledTextCtrl_LinesJoin :: Ptr (TStyledTextCtrl a) -> IO ()
+
+-- | usage: (@styledTextCtrlLinesOnScreen obj@).
+styledTextCtrlLinesOnScreen :: StyledTextCtrl  a ->  IO Int
+styledTextCtrlLinesOnScreen _obj 
+  = withIntResult $
+    withObjectRef "styledTextCtrlLinesOnScreen" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_LinesOnScreen cobj__obj  
+foreign import ccall "wxStyledTextCtrl_LinesOnScreen" wxStyledTextCtrl_LinesOnScreen :: Ptr (TStyledTextCtrl a) -> IO CInt
+
+-- | usage: (@styledTextCtrlLinesSplit obj pixelWidth@).
+styledTextCtrlLinesSplit :: StyledTextCtrl  a -> Int ->  IO ()
+styledTextCtrlLinesSplit _obj pixelWidth 
+  = withObjectRef "styledTextCtrlLinesSplit" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_LinesSplit cobj__obj  (toCInt pixelWidth)  
+foreign import ccall "wxStyledTextCtrl_LinesSplit" wxStyledTextCtrl_LinesSplit :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlLoadFile obj filename@).
+styledTextCtrlLoadFile :: StyledTextCtrl  a -> String ->  IO Bool
+styledTextCtrlLoadFile _obj filename 
+  = withBoolResult $
+    withObjectRef "styledTextCtrlLoadFile" _obj $ \cobj__obj -> 
+    withStringPtr filename $ \cobj_filename -> 
+    wxStyledTextCtrl_LoadFile cobj__obj  cobj_filename  
+foreign import ccall "wxStyledTextCtrl_LoadFile" wxStyledTextCtrl_LoadFile :: Ptr (TStyledTextCtrl a) -> Ptr (TWxString b) -> IO CBool
+
+-- | usage: (@styledTextCtrlMarkerAdd obj line markerNumber@).
+styledTextCtrlMarkerAdd :: StyledTextCtrl  a -> Int -> Int ->  IO Int
+styledTextCtrlMarkerAdd _obj line markerNumber 
+  = withIntResult $
+    withObjectRef "styledTextCtrlMarkerAdd" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_MarkerAdd cobj__obj  (toCInt line)  (toCInt markerNumber)  
+foreign import ccall "wxStyledTextCtrl_MarkerAdd" wxStyledTextCtrl_MarkerAdd :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> IO CInt
+
+-- | usage: (@styledTextCtrlMarkerDefine obj markerNumber markerSymbol foregroundrforegroundgforegroundb backgroundrbackgroundgbackgroundb@).
+styledTextCtrlMarkerDefine :: StyledTextCtrl  a -> Int -> Int -> Color -> Color ->  IO ()
+styledTextCtrlMarkerDefine _obj markerNumber markerSymbol foregroundrforegroundgforegroundb backgroundrbackgroundgbackgroundb 
+  = withObjectRef "styledTextCtrlMarkerDefine" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_MarkerDefine cobj__obj  (toCInt markerNumber)  (toCInt markerSymbol)  (colorRed foregroundrforegroundgforegroundb) (colorGreen foregroundrforegroundgforegroundb) (colorBlue foregroundrforegroundgforegroundb)  (colorRed backgroundrbackgroundgbackgroundb) (colorGreen backgroundrbackgroundgbackgroundb) (colorBlue backgroundrbackgroundgbackgroundb)  
+foreign import ccall "wxStyledTextCtrl_MarkerDefine" wxStyledTextCtrl_MarkerDefine :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> Word8 -> Word8 -> Word8 -> Word8 -> Word8 -> Word8 -> IO ()
+
+-- | usage: (@styledTextCtrlMarkerDefineBitmap obj markerNumber bmp@).
+styledTextCtrlMarkerDefineBitmap :: StyledTextCtrl  a -> Int -> Bitmap  c ->  IO ()
+styledTextCtrlMarkerDefineBitmap _obj markerNumber bmp 
+  = withObjectRef "styledTextCtrlMarkerDefineBitmap" _obj $ \cobj__obj -> 
+    withObjectPtr bmp $ \cobj_bmp -> 
+    wxStyledTextCtrl_MarkerDefineBitmap cobj__obj  (toCInt markerNumber)  cobj_bmp  
+foreign import ccall "wxStyledTextCtrl_MarkerDefineBitmap" wxStyledTextCtrl_MarkerDefineBitmap :: Ptr (TStyledTextCtrl a) -> CInt -> Ptr (TBitmap c) -> IO ()
+
+-- | usage: (@styledTextCtrlMarkerDelete obj line markerNumber@).
+styledTextCtrlMarkerDelete :: StyledTextCtrl  a -> Int -> Int ->  IO ()
+styledTextCtrlMarkerDelete _obj line markerNumber 
+  = withObjectRef "styledTextCtrlMarkerDelete" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_MarkerDelete cobj__obj  (toCInt line)  (toCInt markerNumber)  
+foreign import ccall "wxStyledTextCtrl_MarkerDelete" wxStyledTextCtrl_MarkerDelete :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlMarkerDeleteAll obj markerNumber@).
+styledTextCtrlMarkerDeleteAll :: StyledTextCtrl  a -> Int ->  IO ()
+styledTextCtrlMarkerDeleteAll _obj markerNumber 
+  = withObjectRef "styledTextCtrlMarkerDeleteAll" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_MarkerDeleteAll cobj__obj  (toCInt markerNumber)  
+foreign import ccall "wxStyledTextCtrl_MarkerDeleteAll" wxStyledTextCtrl_MarkerDeleteAll :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlMarkerDeleteHandle obj handle@).
+styledTextCtrlMarkerDeleteHandle :: StyledTextCtrl  a -> Int ->  IO ()
+styledTextCtrlMarkerDeleteHandle _obj handle 
+  = withObjectRef "styledTextCtrlMarkerDeleteHandle" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_MarkerDeleteHandle cobj__obj  (toCInt handle)  
+foreign import ccall "wxStyledTextCtrl_MarkerDeleteHandle" wxStyledTextCtrl_MarkerDeleteHandle :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlMarkerGet obj line@).
+styledTextCtrlMarkerGet :: StyledTextCtrl  a -> Int ->  IO Int
+styledTextCtrlMarkerGet _obj line 
+  = withIntResult $
+    withObjectRef "styledTextCtrlMarkerGet" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_MarkerGet cobj__obj  (toCInt line)  
+foreign import ccall "wxStyledTextCtrl_MarkerGet" wxStyledTextCtrl_MarkerGet :: Ptr (TStyledTextCtrl a) -> CInt -> IO CInt
+
+-- | usage: (@styledTextCtrlMarkerLineFromHandle obj handle@).
+styledTextCtrlMarkerLineFromHandle :: StyledTextCtrl  a -> Int ->  IO Int
+styledTextCtrlMarkerLineFromHandle _obj handle 
+  = withIntResult $
+    withObjectRef "styledTextCtrlMarkerLineFromHandle" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_MarkerLineFromHandle cobj__obj  (toCInt handle)  
+foreign import ccall "wxStyledTextCtrl_MarkerLineFromHandle" wxStyledTextCtrl_MarkerLineFromHandle :: Ptr (TStyledTextCtrl a) -> CInt -> IO CInt
+
+-- | usage: (@styledTextCtrlMarkerNext obj lineStart markerMask@).
+styledTextCtrlMarkerNext :: StyledTextCtrl  a -> Int -> Int ->  IO Int
+styledTextCtrlMarkerNext _obj lineStart markerMask 
+  = withIntResult $
+    withObjectRef "styledTextCtrlMarkerNext" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_MarkerNext cobj__obj  (toCInt lineStart)  (toCInt markerMask)  
+foreign import ccall "wxStyledTextCtrl_MarkerNext" wxStyledTextCtrl_MarkerNext :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> IO CInt
+
+-- | usage: (@styledTextCtrlMarkerPrevious obj lineStart markerMask@).
+styledTextCtrlMarkerPrevious :: StyledTextCtrl  a -> Int -> Int ->  IO Int
+styledTextCtrlMarkerPrevious _obj lineStart markerMask 
+  = withIntResult $
+    withObjectRef "styledTextCtrlMarkerPrevious" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_MarkerPrevious cobj__obj  (toCInt lineStart)  (toCInt markerMask)  
+foreign import ccall "wxStyledTextCtrl_MarkerPrevious" wxStyledTextCtrl_MarkerPrevious :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> IO CInt
+
+-- | usage: (@styledTextCtrlMarkerSetBackground obj markerNumber backrbackgbackb@).
+styledTextCtrlMarkerSetBackground :: StyledTextCtrl  a -> Int -> Color ->  IO ()
+styledTextCtrlMarkerSetBackground _obj markerNumber backrbackgbackb 
+  = withObjectRef "styledTextCtrlMarkerSetBackground" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_MarkerSetBackground cobj__obj  (toCInt markerNumber)  (colorRed backrbackgbackb) (colorGreen backrbackgbackb) (colorBlue backrbackgbackb)  
+foreign import ccall "wxStyledTextCtrl_MarkerSetBackground" wxStyledTextCtrl_MarkerSetBackground :: Ptr (TStyledTextCtrl a) -> CInt -> Word8 -> Word8 -> Word8 -> IO ()
+
+-- | usage: (@styledTextCtrlMarkerSetForeground obj markerNumber forerforegforeb@).
+styledTextCtrlMarkerSetForeground :: StyledTextCtrl  a -> Int -> Color ->  IO ()
+styledTextCtrlMarkerSetForeground _obj markerNumber forerforegforeb 
+  = withObjectRef "styledTextCtrlMarkerSetForeground" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_MarkerSetForeground cobj__obj  (toCInt markerNumber)  (colorRed forerforegforeb) (colorGreen forerforegforeb) (colorBlue forerforegforeb)  
+foreign import ccall "wxStyledTextCtrl_MarkerSetForeground" wxStyledTextCtrl_MarkerSetForeground :: Ptr (TStyledTextCtrl a) -> CInt -> Word8 -> Word8 -> Word8 -> IO ()
+
+-- | usage: (@styledTextCtrlMoveCaretInsideView obj@).
+styledTextCtrlMoveCaretInsideView :: StyledTextCtrl  a ->  IO ()
+styledTextCtrlMoveCaretInsideView _obj 
+  = withObjectRef "styledTextCtrlMoveCaretInsideView" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_MoveCaretInsideView cobj__obj  
+foreign import ccall "wxStyledTextCtrl_MoveCaretInsideView" wxStyledTextCtrl_MoveCaretInsideView :: Ptr (TStyledTextCtrl a) -> IO ()
+
+-- | usage: (@styledTextCtrlPaste obj@).
+styledTextCtrlPaste :: StyledTextCtrl  a ->  IO ()
+styledTextCtrlPaste _obj 
+  = withObjectRef "styledTextCtrlPaste" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_Paste cobj__obj  
+foreign import ccall "wxStyledTextCtrl_Paste" wxStyledTextCtrl_Paste :: Ptr (TStyledTextCtrl a) -> IO ()
+
+-- | usage: (@styledTextCtrlPointFromPosition obj@).
+styledTextCtrlPointFromPosition :: StyledTextCtrl  a ->  IO (Point)
+styledTextCtrlPointFromPosition _obj 
+  = withWxPointResult $
+    withObjectRef "styledTextCtrlPointFromPosition" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_PointFromPosition cobj__obj  
+foreign import ccall "wxStyledTextCtrl_PointFromPosition" wxStyledTextCtrl_PointFromPosition :: Ptr (TStyledTextCtrl a) -> IO (Ptr (TWxPoint ()))
+
+-- | usage: (@styledTextCtrlPositionAfter obj pos@).
+styledTextCtrlPositionAfter :: StyledTextCtrl  a -> Int ->  IO Int
+styledTextCtrlPositionAfter _obj pos 
+  = withIntResult $
+    withObjectRef "styledTextCtrlPositionAfter" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_PositionAfter cobj__obj  (toCInt pos)  
+foreign import ccall "wxStyledTextCtrl_PositionAfter" wxStyledTextCtrl_PositionAfter :: Ptr (TStyledTextCtrl a) -> CInt -> IO CInt
+
+-- | usage: (@styledTextCtrlPositionBefore obj pos@).
+styledTextCtrlPositionBefore :: StyledTextCtrl  a -> Int ->  IO Int
+styledTextCtrlPositionBefore _obj pos 
+  = withIntResult $
+    withObjectRef "styledTextCtrlPositionBefore" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_PositionBefore cobj__obj  (toCInt pos)  
+foreign import ccall "wxStyledTextCtrl_PositionBefore" wxStyledTextCtrl_PositionBefore :: Ptr (TStyledTextCtrl a) -> CInt -> IO CInt
+
+-- | usage: (@styledTextCtrlPositionFromLine obj line@).
+styledTextCtrlPositionFromLine :: StyledTextCtrl  a -> Int ->  IO Int
+styledTextCtrlPositionFromLine _obj line 
+  = withIntResult $
+    withObjectRef "styledTextCtrlPositionFromLine" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_PositionFromLine cobj__obj  (toCInt line)  
+foreign import ccall "wxStyledTextCtrl_PositionFromLine" wxStyledTextCtrl_PositionFromLine :: Ptr (TStyledTextCtrl a) -> CInt -> IO CInt
+
+-- | usage: (@styledTextCtrlPositionFromPoint obj ptxpty@).
+styledTextCtrlPositionFromPoint :: StyledTextCtrl  a -> Point ->  IO Int
+styledTextCtrlPositionFromPoint _obj ptxpty 
+  = withIntResult $
+    withObjectRef "styledTextCtrlPositionFromPoint" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_PositionFromPoint cobj__obj  (toCIntPointX ptxpty) (toCIntPointY ptxpty)  
+foreign import ccall "wxStyledTextCtrl_PositionFromPoint" wxStyledTextCtrl_PositionFromPoint :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> IO CInt
+
+-- | usage: (@styledTextCtrlPositionFromPointClose obj xy@).
+styledTextCtrlPositionFromPointClose :: StyledTextCtrl  a -> Point ->  IO Int
+styledTextCtrlPositionFromPointClose _obj xy 
+  = withIntResult $
+    withObjectRef "styledTextCtrlPositionFromPointClose" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_PositionFromPointClose cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  
+foreign import ccall "wxStyledTextCtrl_PositionFromPointClose" wxStyledTextCtrl_PositionFromPointClose :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> IO CInt
+
+-- | usage: (@styledTextCtrlRedo obj@).
+styledTextCtrlRedo :: StyledTextCtrl  a ->  IO ()
+styledTextCtrlRedo _obj 
+  = withObjectRef "styledTextCtrlRedo" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_Redo cobj__obj  
+foreign import ccall "wxStyledTextCtrl_Redo" wxStyledTextCtrl_Redo :: Ptr (TStyledTextCtrl a) -> IO ()
+
+-- | usage: (@styledTextCtrlRegisterImage obj wxtype bmp@).
+styledTextCtrlRegisterImage :: StyledTextCtrl  a -> Int -> Bitmap  c ->  IO ()
+styledTextCtrlRegisterImage _obj wxtype bmp 
+  = withObjectRef "styledTextCtrlRegisterImage" _obj $ \cobj__obj -> 
+    withObjectPtr bmp $ \cobj_bmp -> 
+    wxStyledTextCtrl_RegisterImage cobj__obj  (toCInt wxtype)  cobj_bmp  
+foreign import ccall "wxStyledTextCtrl_RegisterImage" wxStyledTextCtrl_RegisterImage :: Ptr (TStyledTextCtrl a) -> CInt -> Ptr (TBitmap c) -> IO ()
+
+-- | usage: (@styledTextCtrlReleaseDocument obj docPointer@).
+styledTextCtrlReleaseDocument :: StyledTextCtrl  a -> STCDoc  b ->  IO ()
+styledTextCtrlReleaseDocument _obj docPointer 
+  = withObjectRef "styledTextCtrlReleaseDocument" _obj $ \cobj__obj -> 
+    withObjectPtr docPointer $ \cobj_docPointer -> 
+    wxStyledTextCtrl_ReleaseDocument cobj__obj  cobj_docPointer  
+foreign import ccall "wxStyledTextCtrl_ReleaseDocument" wxStyledTextCtrl_ReleaseDocument :: Ptr (TStyledTextCtrl a) -> Ptr (TSTCDoc b) -> IO ()
+
+-- | usage: (@styledTextCtrlReplaceSelection obj text@).
+styledTextCtrlReplaceSelection :: StyledTextCtrl  a -> String ->  IO ()
+styledTextCtrlReplaceSelection _obj text 
+  = withObjectRef "styledTextCtrlReplaceSelection" _obj $ \cobj__obj -> 
+    withStringPtr text $ \cobj_text -> 
+    wxStyledTextCtrl_ReplaceSelection cobj__obj  cobj_text  
+foreign import ccall "wxStyledTextCtrl_ReplaceSelection" wxStyledTextCtrl_ReplaceSelection :: Ptr (TStyledTextCtrl a) -> Ptr (TWxString b) -> IO ()
+
+-- | usage: (@styledTextCtrlReplaceTarget obj text@).
+styledTextCtrlReplaceTarget :: StyledTextCtrl  a -> String ->  IO Int
+styledTextCtrlReplaceTarget _obj text 
+  = withIntResult $
+    withObjectRef "styledTextCtrlReplaceTarget" _obj $ \cobj__obj -> 
+    withStringPtr text $ \cobj_text -> 
+    wxStyledTextCtrl_ReplaceTarget cobj__obj  cobj_text  
+foreign import ccall "wxStyledTextCtrl_ReplaceTarget" wxStyledTextCtrl_ReplaceTarget :: Ptr (TStyledTextCtrl a) -> Ptr (TWxString b) -> IO CInt
+
+-- | usage: (@styledTextCtrlReplaceTargetRE obj text@).
+styledTextCtrlReplaceTargetRE :: StyledTextCtrl  a -> String ->  IO Int
+styledTextCtrlReplaceTargetRE _obj text 
+  = withIntResult $
+    withObjectRef "styledTextCtrlReplaceTargetRE" _obj $ \cobj__obj -> 
+    withStringPtr text $ \cobj_text -> 
+    wxStyledTextCtrl_ReplaceTargetRE cobj__obj  cobj_text  
+foreign import ccall "wxStyledTextCtrl_ReplaceTargetRE" wxStyledTextCtrl_ReplaceTargetRE :: Ptr (TStyledTextCtrl a) -> Ptr (TWxString b) -> IO CInt
+
+-- | usage: (@styledTextCtrlSaveFile obj filename@).
+styledTextCtrlSaveFile :: StyledTextCtrl  a -> String ->  IO Bool
+styledTextCtrlSaveFile _obj filename 
+  = withBoolResult $
+    withObjectRef "styledTextCtrlSaveFile" _obj $ \cobj__obj -> 
+    withStringPtr filename $ \cobj_filename -> 
+    wxStyledTextCtrl_SaveFile cobj__obj  cobj_filename  
+foreign import ccall "wxStyledTextCtrl_SaveFile" wxStyledTextCtrl_SaveFile :: Ptr (TStyledTextCtrl a) -> Ptr (TWxString b) -> IO CBool
+
+-- | usage: (@styledTextCtrlScrollToColumn obj column@).
+styledTextCtrlScrollToColumn :: StyledTextCtrl  a -> Int ->  IO ()
+styledTextCtrlScrollToColumn _obj column 
+  = withObjectRef "styledTextCtrlScrollToColumn" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_ScrollToColumn cobj__obj  (toCInt column)  
+foreign import ccall "wxStyledTextCtrl_ScrollToColumn" wxStyledTextCtrl_ScrollToColumn :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlScrollToLine obj line@).
+styledTextCtrlScrollToLine :: StyledTextCtrl  a -> Int ->  IO ()
+styledTextCtrlScrollToLine _obj line 
+  = withObjectRef "styledTextCtrlScrollToLine" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_ScrollToLine cobj__obj  (toCInt line)  
+foreign import ccall "wxStyledTextCtrl_ScrollToLine" wxStyledTextCtrl_ScrollToLine :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlSearchAnchor obj@).
+styledTextCtrlSearchAnchor :: StyledTextCtrl  a ->  IO ()
+styledTextCtrlSearchAnchor _obj 
+  = withObjectRef "styledTextCtrlSearchAnchor" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SearchAnchor cobj__obj  
+foreign import ccall "wxStyledTextCtrl_SearchAnchor" wxStyledTextCtrl_SearchAnchor :: Ptr (TStyledTextCtrl a) -> IO ()
+
+-- | usage: (@styledTextCtrlSearchInTarget obj text@).
+styledTextCtrlSearchInTarget :: StyledTextCtrl  a -> String ->  IO Int
+styledTextCtrlSearchInTarget _obj text 
+  = withIntResult $
+    withObjectRef "styledTextCtrlSearchInTarget" _obj $ \cobj__obj -> 
+    withStringPtr text $ \cobj_text -> 
+    wxStyledTextCtrl_SearchInTarget cobj__obj  cobj_text  
+foreign import ccall "wxStyledTextCtrl_SearchInTarget" wxStyledTextCtrl_SearchInTarget :: Ptr (TStyledTextCtrl a) -> Ptr (TWxString b) -> IO CInt
+
+-- | usage: (@styledTextCtrlSearchNext obj flags text@).
+styledTextCtrlSearchNext :: StyledTextCtrl  a -> Int -> String ->  IO Int
+styledTextCtrlSearchNext _obj flags text 
+  = withIntResult $
+    withObjectRef "styledTextCtrlSearchNext" _obj $ \cobj__obj -> 
+    withStringPtr text $ \cobj_text -> 
+    wxStyledTextCtrl_SearchNext cobj__obj  (toCInt flags)  cobj_text  
+foreign import ccall "wxStyledTextCtrl_SearchNext" wxStyledTextCtrl_SearchNext :: Ptr (TStyledTextCtrl a) -> CInt -> Ptr (TWxString c) -> IO CInt
+
+-- | usage: (@styledTextCtrlSearchPrev obj flags text@).
+styledTextCtrlSearchPrev :: StyledTextCtrl  a -> Int -> String ->  IO Int
+styledTextCtrlSearchPrev _obj flags text 
+  = withIntResult $
+    withObjectRef "styledTextCtrlSearchPrev" _obj $ \cobj__obj -> 
+    withStringPtr text $ \cobj_text -> 
+    wxStyledTextCtrl_SearchPrev cobj__obj  (toCInt flags)  cobj_text  
+foreign import ccall "wxStyledTextCtrl_SearchPrev" wxStyledTextCtrl_SearchPrev :: Ptr (TStyledTextCtrl a) -> CInt -> Ptr (TWxString c) -> IO CInt
+
+-- | usage: (@styledTextCtrlSelectAll obj@).
+styledTextCtrlSelectAll :: StyledTextCtrl  a ->  IO ()
+styledTextCtrlSelectAll _obj 
+  = withObjectRef "styledTextCtrlSelectAll" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SelectAll cobj__obj  
+foreign import ccall "wxStyledTextCtrl_SelectAll" wxStyledTextCtrl_SelectAll :: Ptr (TStyledTextCtrl a) -> IO ()
+
+-- | usage: (@styledTextCtrlSelectionIsRectangle obj@).
+styledTextCtrlSelectionIsRectangle :: StyledTextCtrl  a ->  IO Bool
+styledTextCtrlSelectionIsRectangle _obj 
+  = withBoolResult $
+    withObjectRef "styledTextCtrlSelectionIsRectangle" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SelectionIsRectangle cobj__obj  
+foreign import ccall "wxStyledTextCtrl_SelectionIsRectangle" wxStyledTextCtrl_SelectionIsRectangle :: Ptr (TStyledTextCtrl a) -> IO CBool
+
+-- | usage: (@styledTextCtrlSetAnchor obj posAnchor@).
+styledTextCtrlSetAnchor :: StyledTextCtrl  a -> Int ->  IO ()
+styledTextCtrlSetAnchor _obj posAnchor 
+  = withObjectRef "styledTextCtrlSetAnchor" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetAnchor cobj__obj  (toCInt posAnchor)  
+foreign import ccall "wxStyledTextCtrl_SetAnchor" wxStyledTextCtrl_SetAnchor :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlSetBackSpaceUnIndents obj bsUnIndents@).
+styledTextCtrlSetBackSpaceUnIndents :: StyledTextCtrl  a -> Bool ->  IO ()
+styledTextCtrlSetBackSpaceUnIndents _obj bsUnIndents 
+  = withObjectRef "styledTextCtrlSetBackSpaceUnIndents" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetBackSpaceUnIndents cobj__obj  (toCBool bsUnIndents)  
+foreign import ccall "wxStyledTextCtrl_SetBackSpaceUnIndents" wxStyledTextCtrl_SetBackSpaceUnIndents :: Ptr (TStyledTextCtrl a) -> CBool -> IO ()
+
+-- | usage: (@styledTextCtrlSetBufferedDraw obj buffered@).
+styledTextCtrlSetBufferedDraw :: StyledTextCtrl  a -> Bool ->  IO ()
+styledTextCtrlSetBufferedDraw _obj buffered 
+  = withObjectRef "styledTextCtrlSetBufferedDraw" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetBufferedDraw cobj__obj  (toCBool buffered)  
+foreign import ccall "wxStyledTextCtrl_SetBufferedDraw" wxStyledTextCtrl_SetBufferedDraw :: Ptr (TStyledTextCtrl a) -> CBool -> IO ()
+
+-- | usage: (@styledTextCtrlSetCaretForeground obj forerforegforeb@).
+styledTextCtrlSetCaretForeground :: StyledTextCtrl  a -> Color ->  IO ()
+styledTextCtrlSetCaretForeground _obj forerforegforeb 
+  = withObjectRef "styledTextCtrlSetCaretForeground" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetCaretForeground cobj__obj  (colorRed forerforegforeb) (colorGreen forerforegforeb) (colorBlue forerforegforeb)  
+foreign import ccall "wxStyledTextCtrl_SetCaretForeground" wxStyledTextCtrl_SetCaretForeground :: Ptr (TStyledTextCtrl a) -> Word8 -> Word8 -> Word8 -> IO ()
+
+-- | usage: (@styledTextCtrlSetCaretLineBackground obj backrbackgbackb@).
+styledTextCtrlSetCaretLineBackground :: StyledTextCtrl  a -> Color ->  IO ()
+styledTextCtrlSetCaretLineBackground _obj backrbackgbackb 
+  = withObjectRef "styledTextCtrlSetCaretLineBackground" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetCaretLineBackground cobj__obj  (colorRed backrbackgbackb) (colorGreen backrbackgbackb) (colorBlue backrbackgbackb)  
+foreign import ccall "wxStyledTextCtrl_SetCaretLineBackground" wxStyledTextCtrl_SetCaretLineBackground :: Ptr (TStyledTextCtrl a) -> Word8 -> Word8 -> Word8 -> IO ()
+
+-- | usage: (@styledTextCtrlSetCaretLineVisible obj show@).
+styledTextCtrlSetCaretLineVisible :: StyledTextCtrl  a -> Bool ->  IO ()
+styledTextCtrlSetCaretLineVisible _obj show 
+  = withObjectRef "styledTextCtrlSetCaretLineVisible" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetCaretLineVisible cobj__obj  (toCBool show)  
+foreign import ccall "wxStyledTextCtrl_SetCaretLineVisible" wxStyledTextCtrl_SetCaretLineVisible :: Ptr (TStyledTextCtrl a) -> CBool -> IO ()
+
+-- | usage: (@styledTextCtrlSetCaretPeriod obj periodMilliseconds@).
+styledTextCtrlSetCaretPeriod :: StyledTextCtrl  a -> Int ->  IO ()
+styledTextCtrlSetCaretPeriod _obj periodMilliseconds 
+  = withObjectRef "styledTextCtrlSetCaretPeriod" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetCaretPeriod cobj__obj  (toCInt periodMilliseconds)  
+foreign import ccall "wxStyledTextCtrl_SetCaretPeriod" wxStyledTextCtrl_SetCaretPeriod :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlSetCaretWidth obj pixelWidth@).
+styledTextCtrlSetCaretWidth :: StyledTextCtrl  a -> Int ->  IO ()
+styledTextCtrlSetCaretWidth _obj pixelWidth 
+  = withObjectRef "styledTextCtrlSetCaretWidth" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetCaretWidth cobj__obj  (toCInt pixelWidth)  
+foreign import ccall "wxStyledTextCtrl_SetCaretWidth" wxStyledTextCtrl_SetCaretWidth :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlSetCodePage obj codePage@).
+styledTextCtrlSetCodePage :: StyledTextCtrl  a -> Int ->  IO ()
+styledTextCtrlSetCodePage _obj codePage 
+  = withObjectRef "styledTextCtrlSetCodePage" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetCodePage cobj__obj  (toCInt codePage)  
+foreign import ccall "wxStyledTextCtrl_SetCodePage" wxStyledTextCtrl_SetCodePage :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlSetControlCharSymbol obj symbol@).
+styledTextCtrlSetControlCharSymbol :: StyledTextCtrl  a -> Int ->  IO ()
+styledTextCtrlSetControlCharSymbol _obj symbol 
+  = withObjectRef "styledTextCtrlSetControlCharSymbol" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetControlCharSymbol cobj__obj  (toCInt symbol)  
+foreign import ccall "wxStyledTextCtrl_SetControlCharSymbol" wxStyledTextCtrl_SetControlCharSymbol :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlSetCurrentPos obj pos@).
+styledTextCtrlSetCurrentPos :: StyledTextCtrl  a -> Int ->  IO ()
+styledTextCtrlSetCurrentPos _obj pos 
+  = withObjectRef "styledTextCtrlSetCurrentPos" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetCurrentPos cobj__obj  (toCInt pos)  
+foreign import ccall "wxStyledTextCtrl_SetCurrentPos" wxStyledTextCtrl_SetCurrentPos :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlSetDocPointer obj docPointer@).
+styledTextCtrlSetDocPointer :: StyledTextCtrl  a -> STCDoc  b ->  IO ()
+styledTextCtrlSetDocPointer _obj docPointer 
+  = withObjectRef "styledTextCtrlSetDocPointer" _obj $ \cobj__obj -> 
+    withObjectPtr docPointer $ \cobj_docPointer -> 
+    wxStyledTextCtrl_SetDocPointer cobj__obj  cobj_docPointer  
+foreign import ccall "wxStyledTextCtrl_SetDocPointer" wxStyledTextCtrl_SetDocPointer :: Ptr (TStyledTextCtrl a) -> Ptr (TSTCDoc b) -> IO ()
+
+-- | usage: (@styledTextCtrlSetEOLMode obj eolMode@).
+styledTextCtrlSetEOLMode :: StyledTextCtrl  a -> Int ->  IO ()
+styledTextCtrlSetEOLMode _obj eolMode 
+  = withObjectRef "styledTextCtrlSetEOLMode" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetEOLMode cobj__obj  (toCInt eolMode)  
+foreign import ccall "wxStyledTextCtrl_SetEOLMode" wxStyledTextCtrl_SetEOLMode :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlSetEdgeColour obj edgeColourredgeColourgedgeColourb@).
+styledTextCtrlSetEdgeColour :: StyledTextCtrl  a -> Color ->  IO ()
+styledTextCtrlSetEdgeColour _obj edgeColourredgeColourgedgeColourb 
+  = withObjectRef "styledTextCtrlSetEdgeColour" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetEdgeColour cobj__obj  (colorRed edgeColourredgeColourgedgeColourb) (colorGreen edgeColourredgeColourgedgeColourb) (colorBlue edgeColourredgeColourgedgeColourb)  
+foreign import ccall "wxStyledTextCtrl_SetEdgeColour" wxStyledTextCtrl_SetEdgeColour :: Ptr (TStyledTextCtrl a) -> Word8 -> Word8 -> Word8 -> IO ()
+
+-- | usage: (@styledTextCtrlSetEdgeColumn obj column@).
+styledTextCtrlSetEdgeColumn :: StyledTextCtrl  a -> Int ->  IO ()
+styledTextCtrlSetEdgeColumn _obj column 
+  = withObjectRef "styledTextCtrlSetEdgeColumn" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetEdgeColumn cobj__obj  (toCInt column)  
+foreign import ccall "wxStyledTextCtrl_SetEdgeColumn" wxStyledTextCtrl_SetEdgeColumn :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlSetEdgeMode obj mode@).
+styledTextCtrlSetEdgeMode :: StyledTextCtrl  a -> Int ->  IO ()
+styledTextCtrlSetEdgeMode _obj mode 
+  = withObjectRef "styledTextCtrlSetEdgeMode" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetEdgeMode cobj__obj  (toCInt mode)  
+foreign import ccall "wxStyledTextCtrl_SetEdgeMode" wxStyledTextCtrl_SetEdgeMode :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlSetEndAtLastLine obj endAtLastLine@).
+styledTextCtrlSetEndAtLastLine :: StyledTextCtrl  a -> Bool ->  IO ()
+styledTextCtrlSetEndAtLastLine _obj endAtLastLine 
+  = withObjectRef "styledTextCtrlSetEndAtLastLine" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetEndAtLastLine cobj__obj  (toCBool endAtLastLine)  
+foreign import ccall "wxStyledTextCtrl_SetEndAtLastLine" wxStyledTextCtrl_SetEndAtLastLine :: Ptr (TStyledTextCtrl a) -> CBool -> IO ()
+
+-- | usage: (@styledTextCtrlSetFoldExpanded obj line expanded@).
+styledTextCtrlSetFoldExpanded :: StyledTextCtrl  a -> Int -> Bool ->  IO ()
+styledTextCtrlSetFoldExpanded _obj line expanded 
+  = withObjectRef "styledTextCtrlSetFoldExpanded" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetFoldExpanded cobj__obj  (toCInt line)  (toCBool expanded)  
+foreign import ccall "wxStyledTextCtrl_SetFoldExpanded" wxStyledTextCtrl_SetFoldExpanded :: Ptr (TStyledTextCtrl a) -> CInt -> CBool -> IO ()
+
+-- | usage: (@styledTextCtrlSetFoldFlags obj flags@).
+styledTextCtrlSetFoldFlags :: StyledTextCtrl  a -> Int ->  IO ()
+styledTextCtrlSetFoldFlags _obj flags 
+  = withObjectRef "styledTextCtrlSetFoldFlags" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetFoldFlags cobj__obj  (toCInt flags)  
+foreign import ccall "wxStyledTextCtrl_SetFoldFlags" wxStyledTextCtrl_SetFoldFlags :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlSetFoldLevel obj line level@).
+styledTextCtrlSetFoldLevel :: StyledTextCtrl  a -> Int -> Int ->  IO ()
+styledTextCtrlSetFoldLevel _obj line level 
+  = withObjectRef "styledTextCtrlSetFoldLevel" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetFoldLevel cobj__obj  (toCInt line)  (toCInt level)  
+foreign import ccall "wxStyledTextCtrl_SetFoldLevel" wxStyledTextCtrl_SetFoldLevel :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlSetFoldMarginColour obj useSetting backrbackgbackb@).
+styledTextCtrlSetFoldMarginColour :: StyledTextCtrl  a -> Bool -> Color ->  IO ()
+styledTextCtrlSetFoldMarginColour _obj useSetting backrbackgbackb 
+  = withObjectRef "styledTextCtrlSetFoldMarginColour" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetFoldMarginColour cobj__obj  (toCBool useSetting)  (colorRed backrbackgbackb) (colorGreen backrbackgbackb) (colorBlue backrbackgbackb)  
+foreign import ccall "wxStyledTextCtrl_SetFoldMarginColour" wxStyledTextCtrl_SetFoldMarginColour :: Ptr (TStyledTextCtrl a) -> CBool -> Word8 -> Word8 -> Word8 -> IO ()
+
+-- | usage: (@styledTextCtrlSetFoldMarginHiColour obj useSetting forerforegforeb@).
+styledTextCtrlSetFoldMarginHiColour :: StyledTextCtrl  a -> Bool -> Color ->  IO ()
+styledTextCtrlSetFoldMarginHiColour _obj useSetting forerforegforeb 
+  = withObjectRef "styledTextCtrlSetFoldMarginHiColour" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetFoldMarginHiColour cobj__obj  (toCBool useSetting)  (colorRed forerforegforeb) (colorGreen forerforegforeb) (colorBlue forerforegforeb)  
+foreign import ccall "wxStyledTextCtrl_SetFoldMarginHiColour" wxStyledTextCtrl_SetFoldMarginHiColour :: Ptr (TStyledTextCtrl a) -> CBool -> Word8 -> Word8 -> Word8 -> IO ()
+
+-- | usage: (@styledTextCtrlSetHScrollBar obj bar@).
+styledTextCtrlSetHScrollBar :: StyledTextCtrl  a -> ScrollBar  b ->  IO ()
+styledTextCtrlSetHScrollBar _obj bar 
+  = withObjectRef "styledTextCtrlSetHScrollBar" _obj $ \cobj__obj -> 
+    withObjectPtr bar $ \cobj_bar -> 
+    wxStyledTextCtrl_SetHScrollBar cobj__obj  cobj_bar  
+foreign import ccall "wxStyledTextCtrl_SetHScrollBar" wxStyledTextCtrl_SetHScrollBar :: Ptr (TStyledTextCtrl a) -> Ptr (TScrollBar b) -> IO ()
+
+-- | usage: (@styledTextCtrlSetHighlightGuide obj column@).
+styledTextCtrlSetHighlightGuide :: StyledTextCtrl  a -> Int ->  IO ()
+styledTextCtrlSetHighlightGuide _obj column 
+  = withObjectRef "styledTextCtrlSetHighlightGuide" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetHighlightGuide cobj__obj  (toCInt column)  
+foreign import ccall "wxStyledTextCtrl_SetHighlightGuide" wxStyledTextCtrl_SetHighlightGuide :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlSetHotspotActiveBackground obj useSetting backrbackgbackb@).
+styledTextCtrlSetHotspotActiveBackground :: StyledTextCtrl  a -> Bool -> Color ->  IO ()
+styledTextCtrlSetHotspotActiveBackground _obj useSetting backrbackgbackb 
+  = withObjectRef "styledTextCtrlSetHotspotActiveBackground" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetHotspotActiveBackground cobj__obj  (toCBool useSetting)  (colorRed backrbackgbackb) (colorGreen backrbackgbackb) (colorBlue backrbackgbackb)  
+foreign import ccall "wxStyledTextCtrl_SetHotspotActiveBackground" wxStyledTextCtrl_SetHotspotActiveBackground :: Ptr (TStyledTextCtrl a) -> CBool -> Word8 -> Word8 -> Word8 -> IO ()
+
+-- | usage: (@styledTextCtrlSetHotspotActiveForeground obj useSetting forerforegforeb@).
+styledTextCtrlSetHotspotActiveForeground :: StyledTextCtrl  a -> Bool -> Color ->  IO ()
+styledTextCtrlSetHotspotActiveForeground _obj useSetting forerforegforeb 
+  = withObjectRef "styledTextCtrlSetHotspotActiveForeground" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetHotspotActiveForeground cobj__obj  (toCBool useSetting)  (colorRed forerforegforeb) (colorGreen forerforegforeb) (colorBlue forerforegforeb)  
+foreign import ccall "wxStyledTextCtrl_SetHotspotActiveForeground" wxStyledTextCtrl_SetHotspotActiveForeground :: Ptr (TStyledTextCtrl a) -> CBool -> Word8 -> Word8 -> Word8 -> IO ()
+
+-- | usage: (@styledTextCtrlSetHotspotActiveUnderline obj underline@).
+styledTextCtrlSetHotspotActiveUnderline :: StyledTextCtrl  a -> Bool ->  IO ()
+styledTextCtrlSetHotspotActiveUnderline _obj underline 
+  = withObjectRef "styledTextCtrlSetHotspotActiveUnderline" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetHotspotActiveUnderline cobj__obj  (toCBool underline)  
+foreign import ccall "wxStyledTextCtrl_SetHotspotActiveUnderline" wxStyledTextCtrl_SetHotspotActiveUnderline :: Ptr (TStyledTextCtrl a) -> CBool -> IO ()
+
+-- | usage: (@styledTextCtrlSetIndent obj indentSize@).
+styledTextCtrlSetIndent :: StyledTextCtrl  a -> Int ->  IO ()
+styledTextCtrlSetIndent _obj indentSize 
+  = withObjectRef "styledTextCtrlSetIndent" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetIndent cobj__obj  (toCInt indentSize)  
+foreign import ccall "wxStyledTextCtrl_SetIndent" wxStyledTextCtrl_SetIndent :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlSetIndentationGuides obj show@).
+styledTextCtrlSetIndentationGuides :: StyledTextCtrl  a -> Bool ->  IO ()
+styledTextCtrlSetIndentationGuides _obj show 
+  = withObjectRef "styledTextCtrlSetIndentationGuides" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetIndentationGuides cobj__obj  (toCBool show)  
+foreign import ccall "wxStyledTextCtrl_SetIndentationGuides" wxStyledTextCtrl_SetIndentationGuides :: Ptr (TStyledTextCtrl a) -> CBool -> IO ()
+
+-- | usage: (@styledTextCtrlSetKeyWords obj keywordSet keyWords@).
+styledTextCtrlSetKeyWords :: StyledTextCtrl  a -> Int -> String ->  IO ()
+styledTextCtrlSetKeyWords _obj keywordSet keyWords 
+  = withObjectRef "styledTextCtrlSetKeyWords" _obj $ \cobj__obj -> 
+    withStringPtr keyWords $ \cobj_keyWords -> 
+    wxStyledTextCtrl_SetKeyWords cobj__obj  (toCInt keywordSet)  cobj_keyWords  
+foreign import ccall "wxStyledTextCtrl_SetKeyWords" wxStyledTextCtrl_SetKeyWords :: Ptr (TStyledTextCtrl a) -> CInt -> Ptr (TWxString c) -> IO ()
+
+-- | usage: (@styledTextCtrlSetLastKeydownProcessed obj val@).
+styledTextCtrlSetLastKeydownProcessed :: StyledTextCtrl  a -> Bool ->  IO ()
+styledTextCtrlSetLastKeydownProcessed _obj val 
+  = withObjectRef "styledTextCtrlSetLastKeydownProcessed" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetLastKeydownProcessed cobj__obj  (toCBool val)  
+foreign import ccall "wxStyledTextCtrl_SetLastKeydownProcessed" wxStyledTextCtrl_SetLastKeydownProcessed :: Ptr (TStyledTextCtrl a) -> CBool -> IO ()
+
+-- | usage: (@styledTextCtrlSetLayoutCache obj mode@).
+styledTextCtrlSetLayoutCache :: StyledTextCtrl  a -> Int ->  IO ()
+styledTextCtrlSetLayoutCache _obj mode 
+  = withObjectRef "styledTextCtrlSetLayoutCache" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetLayoutCache cobj__obj  (toCInt mode)  
+foreign import ccall "wxStyledTextCtrl_SetLayoutCache" wxStyledTextCtrl_SetLayoutCache :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlSetLexer obj lexer@).
+styledTextCtrlSetLexer :: StyledTextCtrl  a -> Int ->  IO ()
+styledTextCtrlSetLexer _obj lexer 
+  = withObjectRef "styledTextCtrlSetLexer" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetLexer cobj__obj  (toCInt lexer)  
+foreign import ccall "wxStyledTextCtrl_SetLexer" wxStyledTextCtrl_SetLexer :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlSetLexerLanguage obj language@).
+styledTextCtrlSetLexerLanguage :: StyledTextCtrl  a -> String ->  IO ()
+styledTextCtrlSetLexerLanguage _obj language 
+  = withObjectRef "styledTextCtrlSetLexerLanguage" _obj $ \cobj__obj -> 
+    withStringPtr language $ \cobj_language -> 
+    wxStyledTextCtrl_SetLexerLanguage cobj__obj  cobj_language  
+foreign import ccall "wxStyledTextCtrl_SetLexerLanguage" wxStyledTextCtrl_SetLexerLanguage :: Ptr (TStyledTextCtrl a) -> Ptr (TWxString b) -> IO ()
+
+-- | usage: (@styledTextCtrlSetLineIndentation obj line indentSize@).
+styledTextCtrlSetLineIndentation :: StyledTextCtrl  a -> Int -> Int ->  IO ()
+styledTextCtrlSetLineIndentation _obj line indentSize 
+  = withObjectRef "styledTextCtrlSetLineIndentation" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetLineIndentation cobj__obj  (toCInt line)  (toCInt indentSize)  
+foreign import ccall "wxStyledTextCtrl_SetLineIndentation" wxStyledTextCtrl_SetLineIndentation :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlSetLineState obj line state@).
+styledTextCtrlSetLineState :: StyledTextCtrl  a -> Int -> Int ->  IO ()
+styledTextCtrlSetLineState _obj line state 
+  = withObjectRef "styledTextCtrlSetLineState" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetLineState cobj__obj  (toCInt line)  (toCInt state)  
+foreign import ccall "wxStyledTextCtrl_SetLineState" wxStyledTextCtrl_SetLineState :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlSetMarginLeft obj pixelWidth@).
+styledTextCtrlSetMarginLeft :: StyledTextCtrl  a -> Int ->  IO ()
+styledTextCtrlSetMarginLeft _obj pixelWidth 
+  = withObjectRef "styledTextCtrlSetMarginLeft" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetMarginLeft cobj__obj  (toCInt pixelWidth)  
+foreign import ccall "wxStyledTextCtrl_SetMarginLeft" wxStyledTextCtrl_SetMarginLeft :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlSetMarginMask obj margin mask@).
+styledTextCtrlSetMarginMask :: StyledTextCtrl  a -> Int -> Int ->  IO ()
+styledTextCtrlSetMarginMask _obj margin mask 
+  = withObjectRef "styledTextCtrlSetMarginMask" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetMarginMask cobj__obj  (toCInt margin)  (toCInt mask)  
+foreign import ccall "wxStyledTextCtrl_SetMarginMask" wxStyledTextCtrl_SetMarginMask :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlSetMarginRight obj pixelWidth@).
+styledTextCtrlSetMarginRight :: StyledTextCtrl  a -> Int ->  IO ()
+styledTextCtrlSetMarginRight _obj pixelWidth 
+  = withObjectRef "styledTextCtrlSetMarginRight" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetMarginRight cobj__obj  (toCInt pixelWidth)  
+foreign import ccall "wxStyledTextCtrl_SetMarginRight" wxStyledTextCtrl_SetMarginRight :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlSetMarginSensitive obj margin sensitive@).
+styledTextCtrlSetMarginSensitive :: StyledTextCtrl  a -> Int -> Bool ->  IO ()
+styledTextCtrlSetMarginSensitive _obj margin sensitive 
+  = withObjectRef "styledTextCtrlSetMarginSensitive" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetMarginSensitive cobj__obj  (toCInt margin)  (toCBool sensitive)  
+foreign import ccall "wxStyledTextCtrl_SetMarginSensitive" wxStyledTextCtrl_SetMarginSensitive :: Ptr (TStyledTextCtrl a) -> CInt -> CBool -> IO ()
+
+-- | usage: (@styledTextCtrlSetMarginType obj margin marginType@).
+styledTextCtrlSetMarginType :: StyledTextCtrl  a -> Int -> Int ->  IO ()
+styledTextCtrlSetMarginType _obj margin marginType 
+  = withObjectRef "styledTextCtrlSetMarginType" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetMarginType cobj__obj  (toCInt margin)  (toCInt marginType)  
+foreign import ccall "wxStyledTextCtrl_SetMarginType" wxStyledTextCtrl_SetMarginType :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlSetMarginWidth obj margin pixelWidth@).
+styledTextCtrlSetMarginWidth :: StyledTextCtrl  a -> Int -> Int ->  IO ()
+styledTextCtrlSetMarginWidth _obj margin pixelWidth 
+  = withObjectRef "styledTextCtrlSetMarginWidth" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetMarginWidth cobj__obj  (toCInt margin)  (toCInt pixelWidth)  
+foreign import ccall "wxStyledTextCtrl_SetMarginWidth" wxStyledTextCtrl_SetMarginWidth :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlSetMargins obj left right@).
+styledTextCtrlSetMargins :: StyledTextCtrl  a -> Int -> Int ->  IO ()
+styledTextCtrlSetMargins _obj left right 
+  = withObjectRef "styledTextCtrlSetMargins" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetMargins cobj__obj  (toCInt left)  (toCInt right)  
+foreign import ccall "wxStyledTextCtrl_SetMargins" wxStyledTextCtrl_SetMargins :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlSetModEventMask obj mask@).
+styledTextCtrlSetModEventMask :: StyledTextCtrl  a -> Int ->  IO ()
+styledTextCtrlSetModEventMask _obj mask 
+  = withObjectRef "styledTextCtrlSetModEventMask" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetModEventMask cobj__obj  (toCInt mask)  
+foreign import ccall "wxStyledTextCtrl_SetModEventMask" wxStyledTextCtrl_SetModEventMask :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlSetMouseDownCaptures obj captures@).
+styledTextCtrlSetMouseDownCaptures :: StyledTextCtrl  a -> Bool ->  IO ()
+styledTextCtrlSetMouseDownCaptures _obj captures 
+  = withObjectRef "styledTextCtrlSetMouseDownCaptures" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetMouseDownCaptures cobj__obj  (toCBool captures)  
+foreign import ccall "wxStyledTextCtrl_SetMouseDownCaptures" wxStyledTextCtrl_SetMouseDownCaptures :: Ptr (TStyledTextCtrl a) -> CBool -> IO ()
+
+-- | usage: (@styledTextCtrlSetMouseDwellTime obj periodMilliseconds@).
+styledTextCtrlSetMouseDwellTime :: StyledTextCtrl  a -> Int ->  IO ()
+styledTextCtrlSetMouseDwellTime _obj periodMilliseconds 
+  = withObjectRef "styledTextCtrlSetMouseDwellTime" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetMouseDwellTime cobj__obj  (toCInt periodMilliseconds)  
+foreign import ccall "wxStyledTextCtrl_SetMouseDwellTime" wxStyledTextCtrl_SetMouseDwellTime :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlSetOvertype obj overtype@).
+styledTextCtrlSetOvertype :: StyledTextCtrl  a -> Bool ->  IO ()
+styledTextCtrlSetOvertype _obj overtype 
+  = withObjectRef "styledTextCtrlSetOvertype" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetOvertype cobj__obj  (toCBool overtype)  
+foreign import ccall "wxStyledTextCtrl_SetOvertype" wxStyledTextCtrl_SetOvertype :: Ptr (TStyledTextCtrl a) -> CBool -> IO ()
+
+-- | usage: (@styledTextCtrlSetPrintColourMode obj mode@).
+styledTextCtrlSetPrintColourMode :: StyledTextCtrl  a -> Int ->  IO ()
+styledTextCtrlSetPrintColourMode _obj mode 
+  = withObjectRef "styledTextCtrlSetPrintColourMode" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetPrintColourMode cobj__obj  (toCInt mode)  
+foreign import ccall "wxStyledTextCtrl_SetPrintColourMode" wxStyledTextCtrl_SetPrintColourMode :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlSetPrintMagnification obj magnification@).
+styledTextCtrlSetPrintMagnification :: StyledTextCtrl  a -> Int ->  IO ()
+styledTextCtrlSetPrintMagnification _obj magnification 
+  = withObjectRef "styledTextCtrlSetPrintMagnification" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetPrintMagnification cobj__obj  (toCInt magnification)  
+foreign import ccall "wxStyledTextCtrl_SetPrintMagnification" wxStyledTextCtrl_SetPrintMagnification :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlSetPrintWrapMode obj mode@).
+styledTextCtrlSetPrintWrapMode :: StyledTextCtrl  a -> Int ->  IO ()
+styledTextCtrlSetPrintWrapMode _obj mode 
+  = withObjectRef "styledTextCtrlSetPrintWrapMode" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetPrintWrapMode cobj__obj  (toCInt mode)  
+foreign import ccall "wxStyledTextCtrl_SetPrintWrapMode" wxStyledTextCtrl_SetPrintWrapMode :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlSetProperty obj key value@).
+styledTextCtrlSetProperty :: StyledTextCtrl  a -> String -> String ->  IO ()
+styledTextCtrlSetProperty _obj key value 
+  = withObjectRef "styledTextCtrlSetProperty" _obj $ \cobj__obj -> 
+    withStringPtr key $ \cobj_key -> 
+    withStringPtr value $ \cobj_value -> 
+    wxStyledTextCtrl_SetProperty cobj__obj  cobj_key  cobj_value  
+foreign import ccall "wxStyledTextCtrl_SetProperty" wxStyledTextCtrl_SetProperty :: Ptr (TStyledTextCtrl a) -> Ptr (TWxString b) -> Ptr (TWxString c) -> IO ()
+
+-- | usage: (@styledTextCtrlSetReadOnly obj readOnly@).
+styledTextCtrlSetReadOnly :: StyledTextCtrl  a -> Bool ->  IO ()
+styledTextCtrlSetReadOnly _obj readOnly 
+  = withObjectRef "styledTextCtrlSetReadOnly" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetReadOnly cobj__obj  (toCBool readOnly)  
+foreign import ccall "wxStyledTextCtrl_SetReadOnly" wxStyledTextCtrl_SetReadOnly :: Ptr (TStyledTextCtrl a) -> CBool -> IO ()
+
+-- | usage: (@styledTextCtrlSetSTCCursor obj cursorType@).
+styledTextCtrlSetSTCCursor :: StyledTextCtrl  a -> Int ->  IO ()
+styledTextCtrlSetSTCCursor _obj cursorType 
+  = withObjectRef "styledTextCtrlSetSTCCursor" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetSTCCursor cobj__obj  (toCInt cursorType)  
+foreign import ccall "wxStyledTextCtrl_SetSTCCursor" wxStyledTextCtrl_SetSTCCursor :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlSetSTCFocus obj focus@).
+styledTextCtrlSetSTCFocus :: StyledTextCtrl  a -> Bool ->  IO ()
+styledTextCtrlSetSTCFocus _obj focus 
+  = withObjectRef "styledTextCtrlSetSTCFocus" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetSTCFocus cobj__obj  (toCBool focus)  
+foreign import ccall "wxStyledTextCtrl_SetSTCFocus" wxStyledTextCtrl_SetSTCFocus :: Ptr (TStyledTextCtrl a) -> CBool -> IO ()
+
+-- | usage: (@styledTextCtrlSetSavePoint obj@).
+styledTextCtrlSetSavePoint :: StyledTextCtrl  a ->  IO ()
+styledTextCtrlSetSavePoint _obj 
+  = withObjectRef "styledTextCtrlSetSavePoint" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetSavePoint cobj__obj  
+foreign import ccall "wxStyledTextCtrl_SetSavePoint" wxStyledTextCtrl_SetSavePoint :: Ptr (TStyledTextCtrl a) -> IO ()
+
+-- | usage: (@styledTextCtrlSetScrollWidth obj pixelWidth@).
+styledTextCtrlSetScrollWidth :: StyledTextCtrl  a -> Int ->  IO ()
+styledTextCtrlSetScrollWidth _obj pixelWidth 
+  = withObjectRef "styledTextCtrlSetScrollWidth" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetScrollWidth cobj__obj  (toCInt pixelWidth)  
+foreign import ccall "wxStyledTextCtrl_SetScrollWidth" wxStyledTextCtrl_SetScrollWidth :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlSetSearchFlags obj flags@).
+styledTextCtrlSetSearchFlags :: StyledTextCtrl  a -> Int ->  IO ()
+styledTextCtrlSetSearchFlags _obj flags 
+  = withObjectRef "styledTextCtrlSetSearchFlags" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetSearchFlags cobj__obj  (toCInt flags)  
+foreign import ccall "wxStyledTextCtrl_SetSearchFlags" wxStyledTextCtrl_SetSearchFlags :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlSetSelBackground obj useSetting backrbackgbackb@).
+styledTextCtrlSetSelBackground :: StyledTextCtrl  a -> Bool -> Color ->  IO ()
+styledTextCtrlSetSelBackground _obj useSetting backrbackgbackb 
+  = withObjectRef "styledTextCtrlSetSelBackground" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetSelBackground cobj__obj  (toCBool useSetting)  (colorRed backrbackgbackb) (colorGreen backrbackgbackb) (colorBlue backrbackgbackb)  
+foreign import ccall "wxStyledTextCtrl_SetSelBackground" wxStyledTextCtrl_SetSelBackground :: Ptr (TStyledTextCtrl a) -> CBool -> Word8 -> Word8 -> Word8 -> IO ()
+
+-- | usage: (@styledTextCtrlSetSelForeground obj useSetting forerforegforeb@).
+styledTextCtrlSetSelForeground :: StyledTextCtrl  a -> Bool -> Color ->  IO ()
+styledTextCtrlSetSelForeground _obj useSetting forerforegforeb 
+  = withObjectRef "styledTextCtrlSetSelForeground" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetSelForeground cobj__obj  (toCBool useSetting)  (colorRed forerforegforeb) (colorGreen forerforegforeb) (colorBlue forerforegforeb)  
+foreign import ccall "wxStyledTextCtrl_SetSelForeground" wxStyledTextCtrl_SetSelForeground :: Ptr (TStyledTextCtrl a) -> CBool -> Word8 -> Word8 -> Word8 -> IO ()
+
+-- | usage: (@styledTextCtrlSetSelection obj start end@).
+styledTextCtrlSetSelection :: StyledTextCtrl  a -> Int -> Int ->  IO ()
+styledTextCtrlSetSelection _obj start end 
+  = withObjectRef "styledTextCtrlSetSelection" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetSelection cobj__obj  (toCInt start)  (toCInt end)  
+foreign import ccall "wxStyledTextCtrl_SetSelection" wxStyledTextCtrl_SetSelection :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlSetSelectionEnd obj pos@).
+styledTextCtrlSetSelectionEnd :: StyledTextCtrl  a -> Int ->  IO ()
+styledTextCtrlSetSelectionEnd _obj pos 
+  = withObjectRef "styledTextCtrlSetSelectionEnd" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetSelectionEnd cobj__obj  (toCInt pos)  
+foreign import ccall "wxStyledTextCtrl_SetSelectionEnd" wxStyledTextCtrl_SetSelectionEnd :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlSetSelectionStart obj pos@).
+styledTextCtrlSetSelectionStart :: StyledTextCtrl  a -> Int ->  IO ()
+styledTextCtrlSetSelectionStart _obj pos 
+  = withObjectRef "styledTextCtrlSetSelectionStart" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetSelectionStart cobj__obj  (toCInt pos)  
+foreign import ccall "wxStyledTextCtrl_SetSelectionStart" wxStyledTextCtrl_SetSelectionStart :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlSetStatus obj statusCode@).
+styledTextCtrlSetStatus :: StyledTextCtrl  a -> Int ->  IO ()
+styledTextCtrlSetStatus _obj statusCode 
+  = withObjectRef "styledTextCtrlSetStatus" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetStatus cobj__obj  (toCInt statusCode)  
+foreign import ccall "wxStyledTextCtrl_SetStatus" wxStyledTextCtrl_SetStatus :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlSetStyleBits obj bits@).
+styledTextCtrlSetStyleBits :: StyledTextCtrl  a -> Int ->  IO ()
+styledTextCtrlSetStyleBits _obj bits 
+  = withObjectRef "styledTextCtrlSetStyleBits" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetStyleBits cobj__obj  (toCInt bits)  
+foreign import ccall "wxStyledTextCtrl_SetStyleBits" wxStyledTextCtrl_SetStyleBits :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlSetStyleBytes obj length styleBytes@).
+styledTextCtrlSetStyleBytes :: StyledTextCtrl  a -> Int -> String ->  IO ()
+styledTextCtrlSetStyleBytes _obj length styleBytes 
+  = withObjectRef "styledTextCtrlSetStyleBytes" _obj $ \cobj__obj -> 
+    withCWString styleBytes $ \cstr_styleBytes -> 
+    wxStyledTextCtrl_SetStyleBytes cobj__obj  (toCInt length)  cstr_styleBytes  
+foreign import ccall "wxStyledTextCtrl_SetStyleBytes" wxStyledTextCtrl_SetStyleBytes :: Ptr (TStyledTextCtrl a) -> CInt -> CWString -> IO ()
+
+-- | usage: (@styledTextCtrlSetStyling obj length style@).
+styledTextCtrlSetStyling :: StyledTextCtrl  a -> Int -> Int ->  IO ()
+styledTextCtrlSetStyling _obj length style 
+  = withObjectRef "styledTextCtrlSetStyling" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetStyling cobj__obj  (toCInt length)  (toCInt style)  
+foreign import ccall "wxStyledTextCtrl_SetStyling" wxStyledTextCtrl_SetStyling :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlSetTabIndents obj tabIndents@).
+styledTextCtrlSetTabIndents :: StyledTextCtrl  a -> Bool ->  IO ()
+styledTextCtrlSetTabIndents _obj tabIndents 
+  = withObjectRef "styledTextCtrlSetTabIndents" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetTabIndents cobj__obj  (toCBool tabIndents)  
+foreign import ccall "wxStyledTextCtrl_SetTabIndents" wxStyledTextCtrl_SetTabIndents :: Ptr (TStyledTextCtrl a) -> CBool -> IO ()
+
+-- | usage: (@styledTextCtrlSetTabWidth obj tabWidth@).
+styledTextCtrlSetTabWidth :: StyledTextCtrl  a -> Int ->  IO ()
+styledTextCtrlSetTabWidth _obj tabWidth 
+  = withObjectRef "styledTextCtrlSetTabWidth" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetTabWidth cobj__obj  (toCInt tabWidth)  
+foreign import ccall "wxStyledTextCtrl_SetTabWidth" wxStyledTextCtrl_SetTabWidth :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlSetTargetEnd obj pos@).
+styledTextCtrlSetTargetEnd :: StyledTextCtrl  a -> Int ->  IO ()
+styledTextCtrlSetTargetEnd _obj pos 
+  = withObjectRef "styledTextCtrlSetTargetEnd" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetTargetEnd cobj__obj  (toCInt pos)  
+foreign import ccall "wxStyledTextCtrl_SetTargetEnd" wxStyledTextCtrl_SetTargetEnd :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlSetTargetStart obj pos@).
+styledTextCtrlSetTargetStart :: StyledTextCtrl  a -> Int ->  IO ()
+styledTextCtrlSetTargetStart _obj pos 
+  = withObjectRef "styledTextCtrlSetTargetStart" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetTargetStart cobj__obj  (toCInt pos)  
+foreign import ccall "wxStyledTextCtrl_SetTargetStart" wxStyledTextCtrl_SetTargetStart :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlSetText obj text@).
+styledTextCtrlSetText :: StyledTextCtrl  a -> String ->  IO ()
+styledTextCtrlSetText _obj text 
+  = withObjectRef "styledTextCtrlSetText" _obj $ \cobj__obj -> 
+    withStringPtr text $ \cobj_text -> 
+    wxStyledTextCtrl_SetText cobj__obj  cobj_text  
+foreign import ccall "wxStyledTextCtrl_SetText" wxStyledTextCtrl_SetText :: Ptr (TStyledTextCtrl a) -> Ptr (TWxString b) -> IO ()
+
+-- | usage: (@styledTextCtrlSetTwoPhaseDraw obj twoPhase@).
+styledTextCtrlSetTwoPhaseDraw :: StyledTextCtrl  a -> Bool ->  IO ()
+styledTextCtrlSetTwoPhaseDraw _obj twoPhase 
+  = withObjectRef "styledTextCtrlSetTwoPhaseDraw" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetTwoPhaseDraw cobj__obj  (toCBool twoPhase)  
+foreign import ccall "wxStyledTextCtrl_SetTwoPhaseDraw" wxStyledTextCtrl_SetTwoPhaseDraw :: Ptr (TStyledTextCtrl a) -> CBool -> IO ()
+
+-- | usage: (@styledTextCtrlSetUndoCollection obj collectUndo@).
+styledTextCtrlSetUndoCollection :: StyledTextCtrl  a -> Bool ->  IO ()
+styledTextCtrlSetUndoCollection _obj collectUndo 
+  = withObjectRef "styledTextCtrlSetUndoCollection" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetUndoCollection cobj__obj  (toCBool collectUndo)  
+foreign import ccall "wxStyledTextCtrl_SetUndoCollection" wxStyledTextCtrl_SetUndoCollection :: Ptr (TStyledTextCtrl a) -> CBool -> IO ()
+
+-- | usage: (@styledTextCtrlSetUseHorizontalScrollBar obj show@).
+styledTextCtrlSetUseHorizontalScrollBar :: StyledTextCtrl  a -> Bool ->  IO ()
+styledTextCtrlSetUseHorizontalScrollBar _obj show 
+  = withObjectRef "styledTextCtrlSetUseHorizontalScrollBar" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetUseHorizontalScrollBar cobj__obj  (toCBool show)  
+foreign import ccall "wxStyledTextCtrl_SetUseHorizontalScrollBar" wxStyledTextCtrl_SetUseHorizontalScrollBar :: Ptr (TStyledTextCtrl a) -> CBool -> IO ()
+
+-- | usage: (@styledTextCtrlSetUseTabs obj useTabs@).
+styledTextCtrlSetUseTabs :: StyledTextCtrl  a -> Bool ->  IO ()
+styledTextCtrlSetUseTabs _obj useTabs 
+  = withObjectRef "styledTextCtrlSetUseTabs" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetUseTabs cobj__obj  (toCBool useTabs)  
+foreign import ccall "wxStyledTextCtrl_SetUseTabs" wxStyledTextCtrl_SetUseTabs :: Ptr (TStyledTextCtrl a) -> CBool -> IO ()
+
+-- | usage: (@styledTextCtrlSetUseVerticalScrollBar obj show@).
+styledTextCtrlSetUseVerticalScrollBar :: StyledTextCtrl  a -> Bool ->  IO ()
+styledTextCtrlSetUseVerticalScrollBar _obj show 
+  = withObjectRef "styledTextCtrlSetUseVerticalScrollBar" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetUseVerticalScrollBar cobj__obj  (toCBool show)  
+foreign import ccall "wxStyledTextCtrl_SetUseVerticalScrollBar" wxStyledTextCtrl_SetUseVerticalScrollBar :: Ptr (TStyledTextCtrl a) -> CBool -> IO ()
+
+-- | usage: (@styledTextCtrlSetVScrollBar obj bar@).
+styledTextCtrlSetVScrollBar :: StyledTextCtrl  a -> ScrollBar  b ->  IO ()
+styledTextCtrlSetVScrollBar _obj bar 
+  = withObjectRef "styledTextCtrlSetVScrollBar" _obj $ \cobj__obj -> 
+    withObjectPtr bar $ \cobj_bar -> 
+    wxStyledTextCtrl_SetVScrollBar cobj__obj  cobj_bar  
+foreign import ccall "wxStyledTextCtrl_SetVScrollBar" wxStyledTextCtrl_SetVScrollBar :: Ptr (TStyledTextCtrl a) -> Ptr (TScrollBar b) -> IO ()
+
+-- | usage: (@styledTextCtrlSetViewEOL obj visible@).
+styledTextCtrlSetViewEOL :: StyledTextCtrl  a -> Bool ->  IO ()
+styledTextCtrlSetViewEOL _obj visible 
+  = withObjectRef "styledTextCtrlSetViewEOL" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetViewEOL cobj__obj  (toCBool visible)  
+foreign import ccall "wxStyledTextCtrl_SetViewEOL" wxStyledTextCtrl_SetViewEOL :: Ptr (TStyledTextCtrl a) -> CBool -> IO ()
+
+-- | usage: (@styledTextCtrlSetViewWhiteSpace obj viewWS@).
+styledTextCtrlSetViewWhiteSpace :: StyledTextCtrl  a -> Int ->  IO ()
+styledTextCtrlSetViewWhiteSpace _obj viewWS 
+  = withObjectRef "styledTextCtrlSetViewWhiteSpace" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetViewWhiteSpace cobj__obj  (toCInt viewWS)  
+foreign import ccall "wxStyledTextCtrl_SetViewWhiteSpace" wxStyledTextCtrl_SetViewWhiteSpace :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlSetVisiblePolicy obj visiblePolicy visibleSlop@).
+styledTextCtrlSetVisiblePolicy :: StyledTextCtrl  a -> Int -> Int ->  IO ()
+styledTextCtrlSetVisiblePolicy _obj visiblePolicy visibleSlop 
+  = withObjectRef "styledTextCtrlSetVisiblePolicy" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetVisiblePolicy cobj__obj  (toCInt visiblePolicy)  (toCInt visibleSlop)  
+foreign import ccall "wxStyledTextCtrl_SetVisiblePolicy" wxStyledTextCtrl_SetVisiblePolicy :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlSetWhitespaceBackground obj useSetting backrbackgbackb@).
+styledTextCtrlSetWhitespaceBackground :: StyledTextCtrl  a -> Bool -> Color ->  IO ()
+styledTextCtrlSetWhitespaceBackground _obj useSetting backrbackgbackb 
+  = withObjectRef "styledTextCtrlSetWhitespaceBackground" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetWhitespaceBackground cobj__obj  (toCBool useSetting)  (colorRed backrbackgbackb) (colorGreen backrbackgbackb) (colorBlue backrbackgbackb)  
+foreign import ccall "wxStyledTextCtrl_SetWhitespaceBackground" wxStyledTextCtrl_SetWhitespaceBackground :: Ptr (TStyledTextCtrl a) -> CBool -> Word8 -> Word8 -> Word8 -> IO ()
+
+-- | usage: (@styledTextCtrlSetWhitespaceForeground obj useSetting forerforegforeb@).
+styledTextCtrlSetWhitespaceForeground :: StyledTextCtrl  a -> Bool -> Color ->  IO ()
+styledTextCtrlSetWhitespaceForeground _obj useSetting forerforegforeb 
+  = withObjectRef "styledTextCtrlSetWhitespaceForeground" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetWhitespaceForeground cobj__obj  (toCBool useSetting)  (colorRed forerforegforeb) (colorGreen forerforegforeb) (colorBlue forerforegforeb)  
+foreign import ccall "wxStyledTextCtrl_SetWhitespaceForeground" wxStyledTextCtrl_SetWhitespaceForeground :: Ptr (TStyledTextCtrl a) -> CBool -> Word8 -> Word8 -> Word8 -> IO ()
+
+-- | usage: (@styledTextCtrlSetWordChars obj characters@).
+styledTextCtrlSetWordChars :: StyledTextCtrl  a -> String ->  IO ()
+styledTextCtrlSetWordChars _obj characters 
+  = withObjectRef "styledTextCtrlSetWordChars" _obj $ \cobj__obj -> 
+    withStringPtr characters $ \cobj_characters -> 
+    wxStyledTextCtrl_SetWordChars cobj__obj  cobj_characters  
+foreign import ccall "wxStyledTextCtrl_SetWordChars" wxStyledTextCtrl_SetWordChars :: Ptr (TStyledTextCtrl a) -> Ptr (TWxString b) -> IO ()
+
+-- | usage: (@styledTextCtrlSetWrapMode obj mode@).
+styledTextCtrlSetWrapMode :: StyledTextCtrl  a -> Int ->  IO ()
+styledTextCtrlSetWrapMode _obj mode 
+  = withObjectRef "styledTextCtrlSetWrapMode" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetWrapMode cobj__obj  (toCInt mode)  
+foreign import ccall "wxStyledTextCtrl_SetWrapMode" wxStyledTextCtrl_SetWrapMode :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlSetXCaretPolicy obj caretPolicy caretSlop@).
+styledTextCtrlSetXCaretPolicy :: StyledTextCtrl  a -> Int -> Int ->  IO ()
+styledTextCtrlSetXCaretPolicy _obj caretPolicy caretSlop 
+  = withObjectRef "styledTextCtrlSetXCaretPolicy" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetXCaretPolicy cobj__obj  (toCInt caretPolicy)  (toCInt caretSlop)  
+foreign import ccall "wxStyledTextCtrl_SetXCaretPolicy" wxStyledTextCtrl_SetXCaretPolicy :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlSetXOffset obj newOffset@).
+styledTextCtrlSetXOffset :: StyledTextCtrl  a -> Int ->  IO ()
+styledTextCtrlSetXOffset _obj newOffset 
+  = withObjectRef "styledTextCtrlSetXOffset" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetXOffset cobj__obj  (toCInt newOffset)  
+foreign import ccall "wxStyledTextCtrl_SetXOffset" wxStyledTextCtrl_SetXOffset :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlSetYCaretPolicy obj caretPolicy caretSlop@).
+styledTextCtrlSetYCaretPolicy :: StyledTextCtrl  a -> Int -> Int ->  IO ()
+styledTextCtrlSetYCaretPolicy _obj caretPolicy caretSlop 
+  = withObjectRef "styledTextCtrlSetYCaretPolicy" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetYCaretPolicy cobj__obj  (toCInt caretPolicy)  (toCInt caretSlop)  
+foreign import ccall "wxStyledTextCtrl_SetYCaretPolicy" wxStyledTextCtrl_SetYCaretPolicy :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlSetZoom obj zoom@).
+styledTextCtrlSetZoom :: StyledTextCtrl  a -> Int ->  IO ()
+styledTextCtrlSetZoom _obj zoom 
+  = withObjectRef "styledTextCtrlSetZoom" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_SetZoom cobj__obj  (toCInt zoom)  
+foreign import ccall "wxStyledTextCtrl_SetZoom" wxStyledTextCtrl_SetZoom :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlShowLines obj lineStart lineEnd@).
+styledTextCtrlShowLines :: StyledTextCtrl  a -> Int -> Int ->  IO ()
+styledTextCtrlShowLines _obj lineStart lineEnd 
+  = withObjectRef "styledTextCtrlShowLines" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_ShowLines cobj__obj  (toCInt lineStart)  (toCInt lineEnd)  
+foreign import ccall "wxStyledTextCtrl_ShowLines" wxStyledTextCtrl_ShowLines :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlStartRecord obj@).
+styledTextCtrlStartRecord :: StyledTextCtrl  a ->  IO ()
+styledTextCtrlStartRecord _obj 
+  = withObjectRef "styledTextCtrlStartRecord" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_StartRecord cobj__obj  
+foreign import ccall "wxStyledTextCtrl_StartRecord" wxStyledTextCtrl_StartRecord :: Ptr (TStyledTextCtrl a) -> IO ()
+
+-- | usage: (@styledTextCtrlStartStyling obj pos mask@).
+styledTextCtrlStartStyling :: StyledTextCtrl  a -> Int -> Int ->  IO ()
+styledTextCtrlStartStyling _obj pos mask 
+  = withObjectRef "styledTextCtrlStartStyling" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_StartStyling cobj__obj  (toCInt pos)  (toCInt mask)  
+foreign import ccall "wxStyledTextCtrl_StartStyling" wxStyledTextCtrl_StartStyling :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlStopRecord obj@).
+styledTextCtrlStopRecord :: StyledTextCtrl  a ->  IO ()
+styledTextCtrlStopRecord _obj 
+  = withObjectRef "styledTextCtrlStopRecord" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_StopRecord cobj__obj  
+foreign import ccall "wxStyledTextCtrl_StopRecord" wxStyledTextCtrl_StopRecord :: Ptr (TStyledTextCtrl a) -> IO ()
+
+-- | usage: (@styledTextCtrlStyleClearAll obj@).
+styledTextCtrlStyleClearAll :: StyledTextCtrl  a ->  IO ()
+styledTextCtrlStyleClearAll _obj 
+  = withObjectRef "styledTextCtrlStyleClearAll" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_StyleClearAll cobj__obj  
+foreign import ccall "wxStyledTextCtrl_StyleClearAll" wxStyledTextCtrl_StyleClearAll :: Ptr (TStyledTextCtrl a) -> IO ()
+
+-- | usage: (@styledTextCtrlStyleResetDefault obj@).
+styledTextCtrlStyleResetDefault :: StyledTextCtrl  a ->  IO ()
+styledTextCtrlStyleResetDefault _obj 
+  = withObjectRef "styledTextCtrlStyleResetDefault" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_StyleResetDefault cobj__obj  
+foreign import ccall "wxStyledTextCtrl_StyleResetDefault" wxStyledTextCtrl_StyleResetDefault :: Ptr (TStyledTextCtrl a) -> IO ()
+
+-- | usage: (@styledTextCtrlStyleSetBackground obj style backrbackgbackb@).
+styledTextCtrlStyleSetBackground :: StyledTextCtrl  a -> Int -> Color ->  IO ()
+styledTextCtrlStyleSetBackground _obj style backrbackgbackb 
+  = withObjectRef "styledTextCtrlStyleSetBackground" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_StyleSetBackground cobj__obj  (toCInt style)  (colorRed backrbackgbackb) (colorGreen backrbackgbackb) (colorBlue backrbackgbackb)  
+foreign import ccall "wxStyledTextCtrl_StyleSetBackground" wxStyledTextCtrl_StyleSetBackground :: Ptr (TStyledTextCtrl a) -> CInt -> Word8 -> Word8 -> Word8 -> IO ()
+
+-- | usage: (@styledTextCtrlStyleSetBold obj style bold@).
+styledTextCtrlStyleSetBold :: StyledTextCtrl  a -> Int -> Bool ->  IO ()
+styledTextCtrlStyleSetBold _obj style bold 
+  = withObjectRef "styledTextCtrlStyleSetBold" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_StyleSetBold cobj__obj  (toCInt style)  (toCBool bold)  
+foreign import ccall "wxStyledTextCtrl_StyleSetBold" wxStyledTextCtrl_StyleSetBold :: Ptr (TStyledTextCtrl a) -> CInt -> CBool -> IO ()
+
+-- | usage: (@styledTextCtrlStyleSetCase obj style caseForce@).
+styledTextCtrlStyleSetCase :: StyledTextCtrl  a -> Int -> Int ->  IO ()
+styledTextCtrlStyleSetCase _obj style caseForce 
+  = withObjectRef "styledTextCtrlStyleSetCase" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_StyleSetCase cobj__obj  (toCInt style)  (toCInt caseForce)  
+foreign import ccall "wxStyledTextCtrl_StyleSetCase" wxStyledTextCtrl_StyleSetCase :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlStyleSetChangeable obj style changeable@).
+styledTextCtrlStyleSetChangeable :: StyledTextCtrl  a -> Int -> Bool ->  IO ()
+styledTextCtrlStyleSetChangeable _obj style changeable 
+  = withObjectRef "styledTextCtrlStyleSetChangeable" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_StyleSetChangeable cobj__obj  (toCInt style)  (toCBool changeable)  
+foreign import ccall "wxStyledTextCtrl_StyleSetChangeable" wxStyledTextCtrl_StyleSetChangeable :: Ptr (TStyledTextCtrl a) -> CInt -> CBool -> IO ()
+
+-- | usage: (@styledTextCtrlStyleSetCharacterSet obj style characterSet@).
+styledTextCtrlStyleSetCharacterSet :: StyledTextCtrl  a -> Int -> Int ->  IO ()
+styledTextCtrlStyleSetCharacterSet _obj style characterSet 
+  = withObjectRef "styledTextCtrlStyleSetCharacterSet" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_StyleSetCharacterSet cobj__obj  (toCInt style)  (toCInt characterSet)  
+foreign import ccall "wxStyledTextCtrl_StyleSetCharacterSet" wxStyledTextCtrl_StyleSetCharacterSet :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlStyleSetEOLFilled obj style filled@).
+styledTextCtrlStyleSetEOLFilled :: StyledTextCtrl  a -> Int -> Bool ->  IO ()
+styledTextCtrlStyleSetEOLFilled _obj style filled 
+  = withObjectRef "styledTextCtrlStyleSetEOLFilled" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_StyleSetEOLFilled cobj__obj  (toCInt style)  (toCBool filled)  
+foreign import ccall "wxStyledTextCtrl_StyleSetEOLFilled" wxStyledTextCtrl_StyleSetEOLFilled :: Ptr (TStyledTextCtrl a) -> CInt -> CBool -> IO ()
+
+-- | usage: (@styledTextCtrlStyleSetFaceName obj style fontName@).
+styledTextCtrlStyleSetFaceName :: StyledTextCtrl  a -> Int -> String ->  IO ()
+styledTextCtrlStyleSetFaceName _obj style fontName 
+  = withObjectRef "styledTextCtrlStyleSetFaceName" _obj $ \cobj__obj -> 
+    withStringPtr fontName $ \cobj_fontName -> 
+    wxStyledTextCtrl_StyleSetFaceName cobj__obj  (toCInt style)  cobj_fontName  
+foreign import ccall "wxStyledTextCtrl_StyleSetFaceName" wxStyledTextCtrl_StyleSetFaceName :: Ptr (TStyledTextCtrl a) -> CInt -> Ptr (TWxString c) -> IO ()
+
+-- | usage: (@styledTextCtrlStyleSetFont obj styleNum font@).
+styledTextCtrlStyleSetFont :: StyledTextCtrl  a -> Int -> Font  c ->  IO ()
+styledTextCtrlStyleSetFont _obj styleNum font 
+  = withObjectRef "styledTextCtrlStyleSetFont" _obj $ \cobj__obj -> 
+    withObjectPtr font $ \cobj_font -> 
+    wxStyledTextCtrl_StyleSetFont cobj__obj  (toCInt styleNum)  cobj_font  
+foreign import ccall "wxStyledTextCtrl_StyleSetFont" wxStyledTextCtrl_StyleSetFont :: Ptr (TStyledTextCtrl a) -> CInt -> Ptr (TFont c) -> IO ()
+
+-- | usage: (@styledTextCtrlStyleSetFontAttr obj styleNum size faceName bold italic underline@).
+styledTextCtrlStyleSetFontAttr :: StyledTextCtrl  a -> Int -> Int -> String -> Bool -> Bool -> Bool ->  IO ()
+styledTextCtrlStyleSetFontAttr _obj styleNum size faceName bold italic underline 
+  = withObjectRef "styledTextCtrlStyleSetFontAttr" _obj $ \cobj__obj -> 
+    withStringPtr faceName $ \cobj_faceName -> 
+    wxStyledTextCtrl_StyleSetFontAttr cobj__obj  (toCInt styleNum)  (toCInt size)  cobj_faceName  (toCBool bold)  (toCBool italic)  (toCBool underline)  
+foreign import ccall "wxStyledTextCtrl_StyleSetFontAttr" wxStyledTextCtrl_StyleSetFontAttr :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> Ptr (TWxString d) -> CBool -> CBool -> CBool -> IO ()
+
+-- | usage: (@styledTextCtrlStyleSetForeground obj style forerforegforeb@).
+styledTextCtrlStyleSetForeground :: StyledTextCtrl  a -> Int -> Color ->  IO ()
+styledTextCtrlStyleSetForeground _obj style forerforegforeb 
+  = withObjectRef "styledTextCtrlStyleSetForeground" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_StyleSetForeground cobj__obj  (toCInt style)  (colorRed forerforegforeb) (colorGreen forerforegforeb) (colorBlue forerforegforeb)  
+foreign import ccall "wxStyledTextCtrl_StyleSetForeground" wxStyledTextCtrl_StyleSetForeground :: Ptr (TStyledTextCtrl a) -> CInt -> Word8 -> Word8 -> Word8 -> IO ()
+
+-- | usage: (@styledTextCtrlStyleSetHotSpot obj style hotspot@).
+styledTextCtrlStyleSetHotSpot :: StyledTextCtrl  a -> Int -> Bool ->  IO ()
+styledTextCtrlStyleSetHotSpot _obj style hotspot 
+  = withObjectRef "styledTextCtrlStyleSetHotSpot" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_StyleSetHotSpot cobj__obj  (toCInt style)  (toCBool hotspot)  
+foreign import ccall "wxStyledTextCtrl_StyleSetHotSpot" wxStyledTextCtrl_StyleSetHotSpot :: Ptr (TStyledTextCtrl a) -> CInt -> CBool -> IO ()
+
+-- | usage: (@styledTextCtrlStyleSetItalic obj style italic@).
+styledTextCtrlStyleSetItalic :: StyledTextCtrl  a -> Int -> Bool ->  IO ()
+styledTextCtrlStyleSetItalic _obj style italic 
+  = withObjectRef "styledTextCtrlStyleSetItalic" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_StyleSetItalic cobj__obj  (toCInt style)  (toCBool italic)  
+foreign import ccall "wxStyledTextCtrl_StyleSetItalic" wxStyledTextCtrl_StyleSetItalic :: Ptr (TStyledTextCtrl a) -> CInt -> CBool -> IO ()
+
+-- | usage: (@styledTextCtrlStyleSetSize obj style sizePoints@).
+styledTextCtrlStyleSetSize :: StyledTextCtrl  a -> Int -> Int ->  IO ()
+styledTextCtrlStyleSetSize _obj style sizePoints 
+  = withObjectRef "styledTextCtrlStyleSetSize" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_StyleSetSize cobj__obj  (toCInt style)  (toCInt sizePoints)  
+foreign import ccall "wxStyledTextCtrl_StyleSetSize" wxStyledTextCtrl_StyleSetSize :: Ptr (TStyledTextCtrl a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlStyleSetSpec obj styleNum spec@).
+styledTextCtrlStyleSetSpec :: StyledTextCtrl  a -> Int -> String ->  IO ()
+styledTextCtrlStyleSetSpec _obj styleNum spec 
+  = withObjectRef "styledTextCtrlStyleSetSpec" _obj $ \cobj__obj -> 
+    withStringPtr spec $ \cobj_spec -> 
+    wxStyledTextCtrl_StyleSetSpec cobj__obj  (toCInt styleNum)  cobj_spec  
+foreign import ccall "wxStyledTextCtrl_StyleSetSpec" wxStyledTextCtrl_StyleSetSpec :: Ptr (TStyledTextCtrl a) -> CInt -> Ptr (TWxString c) -> IO ()
+
+-- | usage: (@styledTextCtrlStyleSetUnderline obj style underline@).
+styledTextCtrlStyleSetUnderline :: StyledTextCtrl  a -> Int -> Bool ->  IO ()
+styledTextCtrlStyleSetUnderline _obj style underline 
+  = withObjectRef "styledTextCtrlStyleSetUnderline" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_StyleSetUnderline cobj__obj  (toCInt style)  (toCBool underline)  
+foreign import ccall "wxStyledTextCtrl_StyleSetUnderline" wxStyledTextCtrl_StyleSetUnderline :: Ptr (TStyledTextCtrl a) -> CInt -> CBool -> IO ()
+
+-- | usage: (@styledTextCtrlStyleSetVisible obj style visible@).
+styledTextCtrlStyleSetVisible :: StyledTextCtrl  a -> Int -> Bool ->  IO ()
+styledTextCtrlStyleSetVisible _obj style visible 
+  = withObjectRef "styledTextCtrlStyleSetVisible" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_StyleSetVisible cobj__obj  (toCInt style)  (toCBool visible)  
+foreign import ccall "wxStyledTextCtrl_StyleSetVisible" wxStyledTextCtrl_StyleSetVisible :: Ptr (TStyledTextCtrl a) -> CInt -> CBool -> IO ()
+
+-- | usage: (@styledTextCtrlTargetFromSelection obj@).
+styledTextCtrlTargetFromSelection :: StyledTextCtrl  a ->  IO ()
+styledTextCtrlTargetFromSelection _obj 
+  = withObjectRef "styledTextCtrlTargetFromSelection" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_TargetFromSelection cobj__obj  
+foreign import ccall "wxStyledTextCtrl_TargetFromSelection" wxStyledTextCtrl_TargetFromSelection :: Ptr (TStyledTextCtrl a) -> IO ()
+
+-- | usage: (@styledTextCtrlTextHeight obj line@).
+styledTextCtrlTextHeight :: StyledTextCtrl  a -> Int ->  IO Int
+styledTextCtrlTextHeight _obj line 
+  = withIntResult $
+    withObjectRef "styledTextCtrlTextHeight" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_TextHeight cobj__obj  (toCInt line)  
+foreign import ccall "wxStyledTextCtrl_TextHeight" wxStyledTextCtrl_TextHeight :: Ptr (TStyledTextCtrl a) -> CInt -> IO CInt
+
+-- | usage: (@styledTextCtrlTextWidth obj style text@).
+styledTextCtrlTextWidth :: StyledTextCtrl  a -> Int -> String ->  IO Int
+styledTextCtrlTextWidth _obj style text 
+  = withIntResult $
+    withObjectRef "styledTextCtrlTextWidth" _obj $ \cobj__obj -> 
+    withStringPtr text $ \cobj_text -> 
+    wxStyledTextCtrl_TextWidth cobj__obj  (toCInt style)  cobj_text  
+foreign import ccall "wxStyledTextCtrl_TextWidth" wxStyledTextCtrl_TextWidth :: Ptr (TStyledTextCtrl a) -> CInt -> Ptr (TWxString c) -> IO CInt
+
+-- | usage: (@styledTextCtrlToggleFold obj line@).
+styledTextCtrlToggleFold :: StyledTextCtrl  a -> Int ->  IO ()
+styledTextCtrlToggleFold _obj line 
+  = withObjectRef "styledTextCtrlToggleFold" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_ToggleFold cobj__obj  (toCInt line)  
+foreign import ccall "wxStyledTextCtrl_ToggleFold" wxStyledTextCtrl_ToggleFold :: Ptr (TStyledTextCtrl a) -> CInt -> IO ()
+
+-- | usage: (@styledTextCtrlUndo obj@).
+styledTextCtrlUndo :: StyledTextCtrl  a ->  IO ()
+styledTextCtrlUndo _obj 
+  = withObjectRef "styledTextCtrlUndo" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_Undo cobj__obj  
+foreign import ccall "wxStyledTextCtrl_Undo" wxStyledTextCtrl_Undo :: Ptr (TStyledTextCtrl a) -> IO ()
+
+-- | usage: (@styledTextCtrlUsePopUp obj allowPopUp@).
+styledTextCtrlUsePopUp :: StyledTextCtrl  a -> Bool ->  IO ()
+styledTextCtrlUsePopUp _obj allowPopUp 
+  = withObjectRef "styledTextCtrlUsePopUp" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_UsePopUp cobj__obj  (toCBool allowPopUp)  
+foreign import ccall "wxStyledTextCtrl_UsePopUp" wxStyledTextCtrl_UsePopUp :: Ptr (TStyledTextCtrl a) -> CBool -> IO ()
+
+-- | usage: (@styledTextCtrlUserListShow obj listType itemList@).
+styledTextCtrlUserListShow :: StyledTextCtrl  a -> Int -> String ->  IO ()
+styledTextCtrlUserListShow _obj listType itemList 
+  = withObjectRef "styledTextCtrlUserListShow" _obj $ \cobj__obj -> 
+    withStringPtr itemList $ \cobj_itemList -> 
+    wxStyledTextCtrl_UserListShow cobj__obj  (toCInt listType)  cobj_itemList  
+foreign import ccall "wxStyledTextCtrl_UserListShow" wxStyledTextCtrl_UserListShow :: Ptr (TStyledTextCtrl a) -> CInt -> Ptr (TWxString c) -> IO ()
+
+-- | usage: (@styledTextCtrlVisibleFromDocLine obj line@).
+styledTextCtrlVisibleFromDocLine :: StyledTextCtrl  a -> Int ->  IO Int
+styledTextCtrlVisibleFromDocLine _obj line 
+  = withIntResult $
+    withObjectRef "styledTextCtrlVisibleFromDocLine" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_VisibleFromDocLine cobj__obj  (toCInt line)  
+foreign import ccall "wxStyledTextCtrl_VisibleFromDocLine" wxStyledTextCtrl_VisibleFromDocLine :: Ptr (TStyledTextCtrl a) -> CInt -> IO CInt
+
+-- | usage: (@styledTextCtrlWordEndPosition obj pos onlyWordCharacters@).
+styledTextCtrlWordEndPosition :: StyledTextCtrl  a -> Int -> Bool ->  IO Int
+styledTextCtrlWordEndPosition _obj pos onlyWordCharacters 
+  = withIntResult $
+    withObjectRef "styledTextCtrlWordEndPosition" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_WordEndPosition cobj__obj  (toCInt pos)  (toCBool onlyWordCharacters)  
+foreign import ccall "wxStyledTextCtrl_WordEndPosition" wxStyledTextCtrl_WordEndPosition :: Ptr (TStyledTextCtrl a) -> CInt -> CBool -> IO CInt
+
+-- | usage: (@styledTextCtrlWordPartLeft obj@).
+styledTextCtrlWordPartLeft :: StyledTextCtrl  a ->  IO ()
+styledTextCtrlWordPartLeft _obj 
+  = withObjectRef "styledTextCtrlWordPartLeft" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_WordPartLeft cobj__obj  
+foreign import ccall "wxStyledTextCtrl_WordPartLeft" wxStyledTextCtrl_WordPartLeft :: Ptr (TStyledTextCtrl a) -> IO ()
+
+-- | usage: (@styledTextCtrlWordPartLeftExtend obj@).
+styledTextCtrlWordPartLeftExtend :: StyledTextCtrl  a ->  IO ()
+styledTextCtrlWordPartLeftExtend _obj 
+  = withObjectRef "styledTextCtrlWordPartLeftExtend" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_WordPartLeftExtend cobj__obj  
+foreign import ccall "wxStyledTextCtrl_WordPartLeftExtend" wxStyledTextCtrl_WordPartLeftExtend :: Ptr (TStyledTextCtrl a) -> IO ()
+
+-- | usage: (@styledTextCtrlWordPartRight obj@).
+styledTextCtrlWordPartRight :: StyledTextCtrl  a ->  IO ()
+styledTextCtrlWordPartRight _obj 
+  = withObjectRef "styledTextCtrlWordPartRight" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_WordPartRight cobj__obj  
+foreign import ccall "wxStyledTextCtrl_WordPartRight" wxStyledTextCtrl_WordPartRight :: Ptr (TStyledTextCtrl a) -> IO ()
+
+-- | usage: (@styledTextCtrlWordPartRightExtend obj@).
+styledTextCtrlWordPartRightExtend :: StyledTextCtrl  a ->  IO ()
+styledTextCtrlWordPartRightExtend _obj 
+  = withObjectRef "styledTextCtrlWordPartRightExtend" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_WordPartRightExtend cobj__obj  
+foreign import ccall "wxStyledTextCtrl_WordPartRightExtend" wxStyledTextCtrl_WordPartRightExtend :: Ptr (TStyledTextCtrl a) -> IO ()
+
+-- | usage: (@styledTextCtrlWordStartPosition obj pos onlyWordCharacters@).
+styledTextCtrlWordStartPosition :: StyledTextCtrl  a -> Int -> Bool ->  IO Int
+styledTextCtrlWordStartPosition _obj pos onlyWordCharacters 
+  = withIntResult $
+    withObjectRef "styledTextCtrlWordStartPosition" _obj $ \cobj__obj -> 
+    wxStyledTextCtrl_WordStartPosition cobj__obj  (toCInt pos)  (toCBool onlyWordCharacters)  
+foreign import ccall "wxStyledTextCtrl_WordStartPosition" wxStyledTextCtrl_WordStartPosition :: Ptr (TStyledTextCtrl a) -> CInt -> CBool -> IO CInt
+
+-- | usage: (@styledTextEventClone obj@).
+styledTextEventClone :: StyledTextEvent  a ->  IO (StyledTextEvent  ())
+styledTextEventClone _obj 
+  = withObjectResult $
+    withObjectRef "styledTextEventClone" _obj $ \cobj__obj -> 
+    wxStyledTextEvent_Clone cobj__obj  
+foreign import ccall "wxStyledTextEvent_Clone" wxStyledTextEvent_Clone :: Ptr (TStyledTextEvent a) -> IO (Ptr (TStyledTextEvent ()))
+
+-- | usage: (@styledTextEventGetAlt obj@).
+styledTextEventGetAlt :: StyledTextEvent  a ->  IO Bool
+styledTextEventGetAlt _obj 
+  = withBoolResult $
+    withObjectRef "styledTextEventGetAlt" _obj $ \cobj__obj -> 
+    wxStyledTextEvent_GetAlt cobj__obj  
+foreign import ccall "wxStyledTextEvent_GetAlt" wxStyledTextEvent_GetAlt :: Ptr (TStyledTextEvent a) -> IO CBool
+
+-- | usage: (@styledTextEventGetControl obj@).
+styledTextEventGetControl :: StyledTextEvent  a ->  IO Bool
+styledTextEventGetControl _obj 
+  = withBoolResult $
+    withObjectRef "styledTextEventGetControl" _obj $ \cobj__obj -> 
+    wxStyledTextEvent_GetControl cobj__obj  
+foreign import ccall "wxStyledTextEvent_GetControl" wxStyledTextEvent_GetControl :: Ptr (TStyledTextEvent a) -> IO CBool
+
+-- | usage: (@styledTextEventGetDragAllowMove obj@).
+styledTextEventGetDragAllowMove :: StyledTextEvent  a ->  IO Bool
+styledTextEventGetDragAllowMove _obj 
+  = withBoolResult $
+    withObjectRef "styledTextEventGetDragAllowMove" _obj $ \cobj__obj -> 
+    wxStyledTextEvent_GetDragAllowMove cobj__obj  
+foreign import ccall "wxStyledTextEvent_GetDragAllowMove" wxStyledTextEvent_GetDragAllowMove :: Ptr (TStyledTextEvent a) -> IO CBool
+
+-- | usage: (@styledTextEventGetDragResult obj@).
+styledTextEventGetDragResult :: StyledTextEvent  a ->  IO Int
+styledTextEventGetDragResult _obj 
+  = withIntResult $
+    withObjectRef "styledTextEventGetDragResult" _obj $ \cobj__obj -> 
+    wxStyledTextEvent_GetDragResult cobj__obj  
+foreign import ccall "wxStyledTextEvent_GetDragResult" wxStyledTextEvent_GetDragResult :: Ptr (TStyledTextEvent a) -> IO CInt
+
+-- | usage: (@styledTextEventGetDragText obj@).
+styledTextEventGetDragText :: StyledTextEvent  a ->  IO (String)
+styledTextEventGetDragText _obj 
+  = withManagedStringResult $
+    withObjectRef "styledTextEventGetDragText" _obj $ \cobj__obj -> 
+    wxStyledTextEvent_GetDragText cobj__obj  
+foreign import ccall "wxStyledTextEvent_GetDragText" wxStyledTextEvent_GetDragText :: Ptr (TStyledTextEvent a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@styledTextEventGetFoldLevelNow obj@).
+styledTextEventGetFoldLevelNow :: StyledTextEvent  a ->  IO Int
+styledTextEventGetFoldLevelNow _obj 
+  = withIntResult $
+    withObjectRef "styledTextEventGetFoldLevelNow" _obj $ \cobj__obj -> 
+    wxStyledTextEvent_GetFoldLevelNow cobj__obj  
+foreign import ccall "wxStyledTextEvent_GetFoldLevelNow" wxStyledTextEvent_GetFoldLevelNow :: Ptr (TStyledTextEvent a) -> IO CInt
+
+-- | usage: (@styledTextEventGetFoldLevelPrev obj@).
+styledTextEventGetFoldLevelPrev :: StyledTextEvent  a ->  IO Int
+styledTextEventGetFoldLevelPrev _obj 
+  = withIntResult $
+    withObjectRef "styledTextEventGetFoldLevelPrev" _obj $ \cobj__obj -> 
+    wxStyledTextEvent_GetFoldLevelPrev cobj__obj  
+foreign import ccall "wxStyledTextEvent_GetFoldLevelPrev" wxStyledTextEvent_GetFoldLevelPrev :: Ptr (TStyledTextEvent a) -> IO CInt
+
+-- | usage: (@styledTextEventGetKey obj@).
+styledTextEventGetKey :: StyledTextEvent  a ->  IO Int
+styledTextEventGetKey _obj 
+  = withIntResult $
+    withObjectRef "styledTextEventGetKey" _obj $ \cobj__obj -> 
+    wxStyledTextEvent_GetKey cobj__obj  
+foreign import ccall "wxStyledTextEvent_GetKey" wxStyledTextEvent_GetKey :: Ptr (TStyledTextEvent a) -> IO CInt
+
+-- | usage: (@styledTextEventGetLParam obj@).
+styledTextEventGetLParam :: StyledTextEvent  a ->  IO Int
+styledTextEventGetLParam _obj 
+  = withIntResult $
+    withObjectRef "styledTextEventGetLParam" _obj $ \cobj__obj -> 
+    wxStyledTextEvent_GetLParam cobj__obj  
+foreign import ccall "wxStyledTextEvent_GetLParam" wxStyledTextEvent_GetLParam :: Ptr (TStyledTextEvent a) -> IO CInt
+
+-- | usage: (@styledTextEventGetLength obj@).
+styledTextEventGetLength :: StyledTextEvent  a ->  IO Int
+styledTextEventGetLength _obj 
+  = withIntResult $
+    withObjectRef "styledTextEventGetLength" _obj $ \cobj__obj -> 
+    wxStyledTextEvent_GetLength cobj__obj  
+foreign import ccall "wxStyledTextEvent_GetLength" wxStyledTextEvent_GetLength :: Ptr (TStyledTextEvent a) -> IO CInt
+
+-- | usage: (@styledTextEventGetLine obj@).
+styledTextEventGetLine :: StyledTextEvent  a ->  IO Int
+styledTextEventGetLine _obj 
+  = withIntResult $
+    withObjectRef "styledTextEventGetLine" _obj $ \cobj__obj -> 
+    wxStyledTextEvent_GetLine cobj__obj  
+foreign import ccall "wxStyledTextEvent_GetLine" wxStyledTextEvent_GetLine :: Ptr (TStyledTextEvent a) -> IO CInt
+
+-- | usage: (@styledTextEventGetLinesAdded obj@).
+styledTextEventGetLinesAdded :: StyledTextEvent  a ->  IO Int
+styledTextEventGetLinesAdded _obj 
+  = withIntResult $
+    withObjectRef "styledTextEventGetLinesAdded" _obj $ \cobj__obj -> 
+    wxStyledTextEvent_GetLinesAdded cobj__obj  
+foreign import ccall "wxStyledTextEvent_GetLinesAdded" wxStyledTextEvent_GetLinesAdded :: Ptr (TStyledTextEvent a) -> IO CInt
+
+-- | usage: (@styledTextEventGetListType obj@).
+styledTextEventGetListType :: StyledTextEvent  a ->  IO Int
+styledTextEventGetListType _obj 
+  = withIntResult $
+    withObjectRef "styledTextEventGetListType" _obj $ \cobj__obj -> 
+    wxStyledTextEvent_GetListType cobj__obj  
+foreign import ccall "wxStyledTextEvent_GetListType" wxStyledTextEvent_GetListType :: Ptr (TStyledTextEvent a) -> IO CInt
+
+-- | usage: (@styledTextEventGetMargin obj@).
+styledTextEventGetMargin :: StyledTextEvent  a ->  IO Int
+styledTextEventGetMargin _obj 
+  = withIntResult $
+    withObjectRef "styledTextEventGetMargin" _obj $ \cobj__obj -> 
+    wxStyledTextEvent_GetMargin cobj__obj  
+foreign import ccall "wxStyledTextEvent_GetMargin" wxStyledTextEvent_GetMargin :: Ptr (TStyledTextEvent a) -> IO CInt
+
+-- | usage: (@styledTextEventGetMessage obj@).
+styledTextEventGetMessage :: StyledTextEvent  a ->  IO Int
+styledTextEventGetMessage _obj 
+  = withIntResult $
+    withObjectRef "styledTextEventGetMessage" _obj $ \cobj__obj -> 
+    wxStyledTextEvent_GetMessage cobj__obj  
+foreign import ccall "wxStyledTextEvent_GetMessage" wxStyledTextEvent_GetMessage :: Ptr (TStyledTextEvent a) -> IO CInt
+
+-- | usage: (@styledTextEventGetModificationType obj@).
+styledTextEventGetModificationType :: StyledTextEvent  a ->  IO Int
+styledTextEventGetModificationType _obj 
+  = withIntResult $
+    withObjectRef "styledTextEventGetModificationType" _obj $ \cobj__obj -> 
+    wxStyledTextEvent_GetModificationType cobj__obj  
+foreign import ccall "wxStyledTextEvent_GetModificationType" wxStyledTextEvent_GetModificationType :: Ptr (TStyledTextEvent a) -> IO CInt
+
+-- | usage: (@styledTextEventGetModifiers obj@).
+styledTextEventGetModifiers :: StyledTextEvent  a ->  IO Int
+styledTextEventGetModifiers _obj 
+  = withIntResult $
+    withObjectRef "styledTextEventGetModifiers" _obj $ \cobj__obj -> 
+    wxStyledTextEvent_GetModifiers cobj__obj  
+foreign import ccall "wxStyledTextEvent_GetModifiers" wxStyledTextEvent_GetModifiers :: Ptr (TStyledTextEvent a) -> IO CInt
+
+-- | usage: (@styledTextEventGetPosition obj@).
+styledTextEventGetPosition :: StyledTextEvent  a ->  IO Int
+styledTextEventGetPosition _obj 
+  = withIntResult $
+    withObjectRef "styledTextEventGetPosition" _obj $ \cobj__obj -> 
+    wxStyledTextEvent_GetPosition cobj__obj  
+foreign import ccall "wxStyledTextEvent_GetPosition" wxStyledTextEvent_GetPosition :: Ptr (TStyledTextEvent a) -> IO CInt
+
+-- | usage: (@styledTextEventGetShift obj@).
+styledTextEventGetShift :: StyledTextEvent  a ->  IO Bool
+styledTextEventGetShift _obj 
+  = withBoolResult $
+    withObjectRef "styledTextEventGetShift" _obj $ \cobj__obj -> 
+    wxStyledTextEvent_GetShift cobj__obj  
+foreign import ccall "wxStyledTextEvent_GetShift" wxStyledTextEvent_GetShift :: Ptr (TStyledTextEvent a) -> IO CBool
+
+-- | usage: (@styledTextEventGetText obj@).
+styledTextEventGetText :: StyledTextEvent  a ->  IO (String)
+styledTextEventGetText _obj 
+  = withManagedStringResult $
+    withObjectRef "styledTextEventGetText" _obj $ \cobj__obj -> 
+    wxStyledTextEvent_GetText cobj__obj  
+foreign import ccall "wxStyledTextEvent_GetText" wxStyledTextEvent_GetText :: Ptr (TStyledTextEvent a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@styledTextEventGetWParam obj@).
+styledTextEventGetWParam :: StyledTextEvent  a ->  IO Int
+styledTextEventGetWParam _obj 
+  = withIntResult $
+    withObjectRef "styledTextEventGetWParam" _obj $ \cobj__obj -> 
+    wxStyledTextEvent_GetWParam cobj__obj  
+foreign import ccall "wxStyledTextEvent_GetWParam" wxStyledTextEvent_GetWParam :: Ptr (TStyledTextEvent a) -> IO CInt
+
+-- | usage: (@styledTextEventGetX obj@).
+styledTextEventGetX :: StyledTextEvent  a ->  IO Int
+styledTextEventGetX _obj 
+  = withIntResult $
+    withObjectRef "styledTextEventGetX" _obj $ \cobj__obj -> 
+    wxStyledTextEvent_GetX cobj__obj  
+foreign import ccall "wxStyledTextEvent_GetX" wxStyledTextEvent_GetX :: Ptr (TStyledTextEvent a) -> IO CInt
+
+-- | usage: (@styledTextEventGetY obj@).
+styledTextEventGetY :: StyledTextEvent  a ->  IO Int
+styledTextEventGetY _obj 
+  = withIntResult $
+    withObjectRef "styledTextEventGetY" _obj $ \cobj__obj -> 
+    wxStyledTextEvent_GetY cobj__obj  
+foreign import ccall "wxStyledTextEvent_GetY" wxStyledTextEvent_GetY :: Ptr (TStyledTextEvent a) -> IO CInt
+
+-- | usage: (@styledTextEventSetDragAllowMove obj val@).
+styledTextEventSetDragAllowMove :: StyledTextEvent  a -> Bool ->  IO ()
+styledTextEventSetDragAllowMove _obj val 
+  = withObjectRef "styledTextEventSetDragAllowMove" _obj $ \cobj__obj -> 
+    wxStyledTextEvent_SetDragAllowMove cobj__obj  (toCBool val)  
+foreign import ccall "wxStyledTextEvent_SetDragAllowMove" wxStyledTextEvent_SetDragAllowMove :: Ptr (TStyledTextEvent a) -> CBool -> IO ()
+
+-- | usage: (@styledTextEventSetDragResult obj val@).
+styledTextEventSetDragResult :: StyledTextEvent  a -> Int ->  IO ()
+styledTextEventSetDragResult _obj val 
+  = withObjectRef "styledTextEventSetDragResult" _obj $ \cobj__obj -> 
+    wxStyledTextEvent_SetDragResult cobj__obj  (toCInt val)  
+foreign import ccall "wxStyledTextEvent_SetDragResult" wxStyledTextEvent_SetDragResult :: Ptr (TStyledTextEvent a) -> CInt -> IO ()
+
+-- | usage: (@styledTextEventSetDragText obj val@).
+styledTextEventSetDragText :: StyledTextEvent  a -> String ->  IO ()
+styledTextEventSetDragText _obj val 
+  = withObjectRef "styledTextEventSetDragText" _obj $ \cobj__obj -> 
+    withStringPtr val $ \cobj_val -> 
+    wxStyledTextEvent_SetDragText cobj__obj  cobj_val  
+foreign import ccall "wxStyledTextEvent_SetDragText" wxStyledTextEvent_SetDragText :: Ptr (TStyledTextEvent a) -> Ptr (TWxString b) -> IO ()
+
+-- | usage: (@styledTextEventSetFoldLevelNow obj val@).
+styledTextEventSetFoldLevelNow :: StyledTextEvent  a -> Int ->  IO ()
+styledTextEventSetFoldLevelNow _obj val 
+  = withObjectRef "styledTextEventSetFoldLevelNow" _obj $ \cobj__obj -> 
+    wxStyledTextEvent_SetFoldLevelNow cobj__obj  (toCInt val)  
+foreign import ccall "wxStyledTextEvent_SetFoldLevelNow" wxStyledTextEvent_SetFoldLevelNow :: Ptr (TStyledTextEvent a) -> CInt -> IO ()
+
+-- | usage: (@styledTextEventSetFoldLevelPrev obj val@).
+styledTextEventSetFoldLevelPrev :: StyledTextEvent  a -> Int ->  IO ()
+styledTextEventSetFoldLevelPrev _obj val 
+  = withObjectRef "styledTextEventSetFoldLevelPrev" _obj $ \cobj__obj -> 
+    wxStyledTextEvent_SetFoldLevelPrev cobj__obj  (toCInt val)  
+foreign import ccall "wxStyledTextEvent_SetFoldLevelPrev" wxStyledTextEvent_SetFoldLevelPrev :: Ptr (TStyledTextEvent a) -> CInt -> IO ()
+
+-- | usage: (@styledTextEventSetKey obj k@).
+styledTextEventSetKey :: StyledTextEvent  a -> Int ->  IO ()
+styledTextEventSetKey _obj k 
+  = withObjectRef "styledTextEventSetKey" _obj $ \cobj__obj -> 
+    wxStyledTextEvent_SetKey cobj__obj  (toCInt k)  
+foreign import ccall "wxStyledTextEvent_SetKey" wxStyledTextEvent_SetKey :: Ptr (TStyledTextEvent a) -> CInt -> IO ()
+
+-- | usage: (@styledTextEventSetLParam obj val@).
+styledTextEventSetLParam :: StyledTextEvent  a -> Int ->  IO ()
+styledTextEventSetLParam _obj val 
+  = withObjectRef "styledTextEventSetLParam" _obj $ \cobj__obj -> 
+    wxStyledTextEvent_SetLParam cobj__obj  (toCInt val)  
+foreign import ccall "wxStyledTextEvent_SetLParam" wxStyledTextEvent_SetLParam :: Ptr (TStyledTextEvent a) -> CInt -> IO ()
+
+-- | usage: (@styledTextEventSetLength obj len@).
+styledTextEventSetLength :: StyledTextEvent  a -> Int ->  IO ()
+styledTextEventSetLength _obj len 
+  = withObjectRef "styledTextEventSetLength" _obj $ \cobj__obj -> 
+    wxStyledTextEvent_SetLength cobj__obj  (toCInt len)  
+foreign import ccall "wxStyledTextEvent_SetLength" wxStyledTextEvent_SetLength :: Ptr (TStyledTextEvent a) -> CInt -> IO ()
+
+-- | usage: (@styledTextEventSetLine obj val@).
+styledTextEventSetLine :: StyledTextEvent  a -> Int ->  IO ()
+styledTextEventSetLine _obj val 
+  = withObjectRef "styledTextEventSetLine" _obj $ \cobj__obj -> 
+    wxStyledTextEvent_SetLine cobj__obj  (toCInt val)  
+foreign import ccall "wxStyledTextEvent_SetLine" wxStyledTextEvent_SetLine :: Ptr (TStyledTextEvent a) -> CInt -> IO ()
+
+-- | usage: (@styledTextEventSetLinesAdded obj num@).
+styledTextEventSetLinesAdded :: StyledTextEvent  a -> Int ->  IO ()
+styledTextEventSetLinesAdded _obj num 
+  = withObjectRef "styledTextEventSetLinesAdded" _obj $ \cobj__obj -> 
+    wxStyledTextEvent_SetLinesAdded cobj__obj  (toCInt num)  
+foreign import ccall "wxStyledTextEvent_SetLinesAdded" wxStyledTextEvent_SetLinesAdded :: Ptr (TStyledTextEvent a) -> CInt -> IO ()
+
+-- | usage: (@styledTextEventSetListType obj val@).
+styledTextEventSetListType :: StyledTextEvent  a -> Int ->  IO ()
+styledTextEventSetListType _obj val 
+  = withObjectRef "styledTextEventSetListType" _obj $ \cobj__obj -> 
+    wxStyledTextEvent_SetListType cobj__obj  (toCInt val)  
+foreign import ccall "wxStyledTextEvent_SetListType" wxStyledTextEvent_SetListType :: Ptr (TStyledTextEvent a) -> CInt -> IO ()
+
+-- | usage: (@styledTextEventSetMargin obj val@).
+styledTextEventSetMargin :: StyledTextEvent  a -> Int ->  IO ()
+styledTextEventSetMargin _obj val 
+  = withObjectRef "styledTextEventSetMargin" _obj $ \cobj__obj -> 
+    wxStyledTextEvent_SetMargin cobj__obj  (toCInt val)  
+foreign import ccall "wxStyledTextEvent_SetMargin" wxStyledTextEvent_SetMargin :: Ptr (TStyledTextEvent a) -> CInt -> IO ()
+
+-- | usage: (@styledTextEventSetMessage obj val@).
+styledTextEventSetMessage :: StyledTextEvent  a -> Int ->  IO ()
+styledTextEventSetMessage _obj val 
+  = withObjectRef "styledTextEventSetMessage" _obj $ \cobj__obj -> 
+    wxStyledTextEvent_SetMessage cobj__obj  (toCInt val)  
+foreign import ccall "wxStyledTextEvent_SetMessage" wxStyledTextEvent_SetMessage :: Ptr (TStyledTextEvent a) -> CInt -> IO ()
+
+-- | usage: (@styledTextEventSetModificationType obj t@).
+styledTextEventSetModificationType :: StyledTextEvent  a -> Int ->  IO ()
+styledTextEventSetModificationType _obj t 
+  = withObjectRef "styledTextEventSetModificationType" _obj $ \cobj__obj -> 
+    wxStyledTextEvent_SetModificationType cobj__obj  (toCInt t)  
+foreign import ccall "wxStyledTextEvent_SetModificationType" wxStyledTextEvent_SetModificationType :: Ptr (TStyledTextEvent a) -> CInt -> IO ()
+
+-- | usage: (@styledTextEventSetModifiers obj m@).
+styledTextEventSetModifiers :: StyledTextEvent  a -> Int ->  IO ()
+styledTextEventSetModifiers _obj m 
+  = withObjectRef "styledTextEventSetModifiers" _obj $ \cobj__obj -> 
+    wxStyledTextEvent_SetModifiers cobj__obj  (toCInt m)  
+foreign import ccall "wxStyledTextEvent_SetModifiers" wxStyledTextEvent_SetModifiers :: Ptr (TStyledTextEvent a) -> CInt -> IO ()
+
+-- | usage: (@styledTextEventSetPosition obj pos@).
+styledTextEventSetPosition :: StyledTextEvent  a -> Int ->  IO ()
+styledTextEventSetPosition _obj pos 
+  = withObjectRef "styledTextEventSetPosition" _obj $ \cobj__obj -> 
+    wxStyledTextEvent_SetPosition cobj__obj  (toCInt pos)  
+foreign import ccall "wxStyledTextEvent_SetPosition" wxStyledTextEvent_SetPosition :: Ptr (TStyledTextEvent a) -> CInt -> IO ()
+
+-- | usage: (@styledTextEventSetText obj t@).
+styledTextEventSetText :: StyledTextEvent  a -> String ->  IO ()
+styledTextEventSetText _obj t 
+  = withObjectRef "styledTextEventSetText" _obj $ \cobj__obj -> 
+    withStringPtr t $ \cobj_t -> 
+    wxStyledTextEvent_SetText cobj__obj  cobj_t  
+foreign import ccall "wxStyledTextEvent_SetText" wxStyledTextEvent_SetText :: Ptr (TStyledTextEvent a) -> Ptr (TWxString b) -> IO ()
+
+-- | usage: (@styledTextEventSetWParam obj val@).
+styledTextEventSetWParam :: StyledTextEvent  a -> Int ->  IO ()
+styledTextEventSetWParam _obj val 
+  = withObjectRef "styledTextEventSetWParam" _obj $ \cobj__obj -> 
+    wxStyledTextEvent_SetWParam cobj__obj  (toCInt val)  
+foreign import ccall "wxStyledTextEvent_SetWParam" wxStyledTextEvent_SetWParam :: Ptr (TStyledTextEvent a) -> CInt -> IO ()
+
+-- | usage: (@styledTextEventSetX obj val@).
+styledTextEventSetX :: StyledTextEvent  a -> Int ->  IO ()
+styledTextEventSetX _obj val 
+  = withObjectRef "styledTextEventSetX" _obj $ \cobj__obj -> 
+    wxStyledTextEvent_SetX cobj__obj  (toCInt val)  
+foreign import ccall "wxStyledTextEvent_SetX" wxStyledTextEvent_SetX :: Ptr (TStyledTextEvent a) -> CInt -> IO ()
+
+-- | usage: (@styledTextEventSetY obj val@).
+styledTextEventSetY :: StyledTextEvent  a -> Int ->  IO ()
+styledTextEventSetY _obj val 
+  = withObjectRef "styledTextEventSetY" _obj $ \cobj__obj -> 
+    wxStyledTextEvent_SetY cobj__obj  (toCInt val)  
+foreign import ccall "wxStyledTextEvent_SetY" wxStyledTextEvent_SetY :: Ptr (TStyledTextEvent a) -> CInt -> IO ()
+
+-- | usage: (@svgFileDCCreate fileName@).
+svgFileDCCreate :: String ->  IO (SVGFileDC  ())
+svgFileDCCreate fileName 
+  = withObjectResult $
+    withStringPtr fileName $ \cobj_fileName -> 
+    wxSVGFileDC_Create cobj_fileName  
+foreign import ccall "wxSVGFileDC_Create" wxSVGFileDC_Create :: Ptr (TWxString a) -> IO (Ptr (TSVGFileDC ()))
+
+-- | usage: (@svgFileDCCreateWithSize fileName wh@).
+svgFileDCCreateWithSize :: String -> Size ->  IO (SVGFileDC  ())
+svgFileDCCreateWithSize fileName wh 
+  = withObjectResult $
+    withStringPtr fileName $ \cobj_fileName -> 
+    wxSVGFileDC_CreateWithSize cobj_fileName  (toCIntSizeW wh) (toCIntSizeH wh)  
+foreign import ccall "wxSVGFileDC_CreateWithSize" wxSVGFileDC_CreateWithSize :: Ptr (TWxString a) -> CInt -> CInt -> IO (Ptr (TSVGFileDC ()))
+
+-- | usage: (@svgFileDCCreateWithSizeAndResolution fileName wh adpi@).
+svgFileDCCreateWithSizeAndResolution :: String -> Size -> Float ->  IO (SVGFileDC  ())
+svgFileDCCreateWithSizeAndResolution fileName wh adpi 
+  = withObjectResult $
+    withStringPtr fileName $ \cobj_fileName -> 
+    wxSVGFileDC_CreateWithSizeAndResolution cobj_fileName  (toCIntSizeW wh) (toCIntSizeH wh)  adpi  
+foreign import ccall "wxSVGFileDC_CreateWithSizeAndResolution" wxSVGFileDC_CreateWithSizeAndResolution :: Ptr (TWxString a) -> CInt -> CInt -> Float -> IO (Ptr (TSVGFileDC ()))
+
+-- | usage: (@svgFileDCDelete obj@).
+svgFileDCDelete :: SVGFileDC  a ->  IO ()
+svgFileDCDelete
+  = objectDelete
+
+
+-- | usage: (@systemSettingsGetColour index@).
+systemSettingsGetColour :: Int ->  IO (Color)
+systemSettingsGetColour index 
+  = withRefColour $ \pref -> 
+    wxSystemSettings_GetColour (toCInt index)   pref
+foreign import ccall "wxSystemSettings_GetColour" wxSystemSettings_GetColour :: CInt -> Ptr (TColour ()) -> IO ()
+
+-- | usage: (@systemSettingsGetFont index@).
+systemSettingsGetFont :: Int ->  IO (Font  ())
+systemSettingsGetFont index 
+  = withRefFont $ \pref -> 
+    wxSystemSettings_GetFont (toCInt index)   pref
+foreign import ccall "wxSystemSettings_GetFont" wxSystemSettings_GetFont :: CInt -> Ptr (TFont ()) -> IO ()
+
+-- | usage: (@systemSettingsGetMetric index@).
+systemSettingsGetMetric :: Int ->  IO Int
+systemSettingsGetMetric index 
+  = withIntResult $
+    wxSystemSettings_GetMetric (toCInt index)  
+foreign import ccall "wxSystemSettings_GetMetric" wxSystemSettings_GetMetric :: CInt -> IO CInt
+
+-- | usage: (@systemSettingsGetScreenType@).
+systemSettingsGetScreenType ::  IO Int
+systemSettingsGetScreenType 
+  = withIntResult $
+    wxSystemSettings_GetScreenType 
+foreign import ccall "wxSystemSettings_GetScreenType" wxSystemSettings_GetScreenType :: IO CInt
+
+-- | usage: (@taskBarIconCreate@).
+taskBarIconCreate ::  IO (TaskBarIcon  ())
+taskBarIconCreate 
+  = withObjectResult $
+    wxTaskBarIcon_Create 
+foreign import ccall "wxTaskBarIcon_Create" wxTaskBarIcon_Create :: IO (Ptr (TTaskBarIcon ()))
+
+-- | usage: (@taskBarIconDelete obj@).
+taskBarIconDelete :: TaskBarIcon  a ->  IO ()
+taskBarIconDelete
+  = objectDelete
+
+
+-- | usage: (@taskBarIconIsIconInstalled obj@).
+taskBarIconIsIconInstalled :: TaskBarIcon  a ->  IO Bool
+taskBarIconIsIconInstalled _obj 
+  = withBoolResult $
+    withObjectRef "taskBarIconIsIconInstalled" _obj $ \cobj__obj -> 
+    wxTaskBarIcon_IsIconInstalled cobj__obj  
+foreign import ccall "wxTaskBarIcon_IsIconInstalled" wxTaskBarIcon_IsIconInstalled :: Ptr (TTaskBarIcon a) -> IO CBool
+
+-- | usage: (@taskBarIconIsOk obj@).
+taskBarIconIsOk :: TaskBarIcon  a ->  IO Bool
+taskBarIconIsOk _obj 
+  = withBoolResult $
+    withObjectRef "taskBarIconIsOk" _obj $ \cobj__obj -> 
+    wxTaskBarIcon_IsOk cobj__obj  
+foreign import ccall "wxTaskBarIcon_IsOk" wxTaskBarIcon_IsOk :: Ptr (TTaskBarIcon a) -> IO CBool
+
+-- | usage: (@taskBarIconPopupMenu obj menu@).
+taskBarIconPopupMenu :: TaskBarIcon  a -> Menu  b ->  IO Bool
+taskBarIconPopupMenu _obj menu 
+  = withBoolResult $
+    withObjectRef "taskBarIconPopupMenu" _obj $ \cobj__obj -> 
+    withObjectPtr menu $ \cobj_menu -> 
+    wxTaskBarIcon_PopupMenu cobj__obj  cobj_menu  
+foreign import ccall "wxTaskBarIcon_PopupMenu" wxTaskBarIcon_PopupMenu :: Ptr (TTaskBarIcon a) -> Ptr (TMenu b) -> IO CBool
+
+-- | usage: (@taskBarIconRemoveIcon obj@).
+taskBarIconRemoveIcon :: TaskBarIcon  a ->  IO Bool
+taskBarIconRemoveIcon _obj 
+  = withBoolResult $
+    withObjectRef "taskBarIconRemoveIcon" _obj $ \cobj__obj -> 
+    wxTaskBarIcon_RemoveIcon cobj__obj  
+foreign import ccall "wxTaskBarIcon_RemoveIcon" wxTaskBarIcon_RemoveIcon :: Ptr (TTaskBarIcon a) -> IO CBool
+
+-- | usage: (@taskBarIconSetIcon obj icon text@).
+taskBarIconSetIcon :: TaskBarIcon  a -> Icon  b -> String ->  IO Bool
+taskBarIconSetIcon _obj icon text 
+  = withBoolResult $
+    withObjectRef "taskBarIconSetIcon" _obj $ \cobj__obj -> 
+    withObjectPtr icon $ \cobj_icon -> 
+    withStringPtr text $ \cobj_text -> 
+    wxTaskBarIcon_SetIcon cobj__obj  cobj_icon  cobj_text  
+foreign import ccall "wxTaskBarIcon_SetIcon" wxTaskBarIcon_SetIcon :: Ptr (TTaskBarIcon a) -> Ptr (TIcon b) -> Ptr (TWxString c) -> IO CBool
+
+-- | usage: (@textAttrCreate colText colBack font@).
+textAttrCreate :: Color -> Color -> Font  c ->  IO (TextAttr  ())
+textAttrCreate colText colBack font 
+  = withObjectResult $
+    withColourPtr colText $ \cobj_colText -> 
+    withColourPtr colBack $ \cobj_colBack -> 
+    withObjectPtr font $ \cobj_font -> 
+    wxTextAttr_Create cobj_colText  cobj_colBack  cobj_font  
+foreign import ccall "wxTextAttr_Create" wxTextAttr_Create :: Ptr (TColour a) -> Ptr (TColour b) -> Ptr (TFont c) -> IO (Ptr (TTextAttr ()))
+
+-- | usage: (@textAttrCreateDefault@).
+textAttrCreateDefault ::  IO (TextAttr  ())
+textAttrCreateDefault 
+  = withObjectResult $
+    wxTextAttr_CreateDefault 
+foreign import ccall "wxTextAttr_CreateDefault" wxTextAttr_CreateDefault :: IO (Ptr (TTextAttr ()))
+
+-- | usage: (@textAttrDelete obj@).
+textAttrDelete :: TextAttr  a ->  IO ()
+textAttrDelete _obj 
+  = withObjectRef "textAttrDelete" _obj $ \cobj__obj -> 
+    wxTextAttr_Delete cobj__obj  
+foreign import ccall "wxTextAttr_Delete" wxTextAttr_Delete :: Ptr (TTextAttr a) -> IO ()
+
+-- | usage: (@textAttrGetBackgroundColour obj@).
+textAttrGetBackgroundColour :: TextAttr  a ->  IO (Color)
+textAttrGetBackgroundColour _obj 
+  = withRefColour $ \pref -> 
+    withObjectRef "textAttrGetBackgroundColour" _obj $ \cobj__obj -> 
+    wxTextAttr_GetBackgroundColour cobj__obj   pref
+foreign import ccall "wxTextAttr_GetBackgroundColour" wxTextAttr_GetBackgroundColour :: Ptr (TTextAttr a) -> Ptr (TColour ()) -> IO ()
+
+-- | usage: (@textAttrGetFont obj@).
+textAttrGetFont :: TextAttr  a ->  IO (Font  ())
+textAttrGetFont _obj 
+  = withRefFont $ \pref -> 
+    withObjectRef "textAttrGetFont" _obj $ \cobj__obj -> 
+    wxTextAttr_GetFont cobj__obj   pref
+foreign import ccall "wxTextAttr_GetFont" wxTextAttr_GetFont :: Ptr (TTextAttr a) -> Ptr (TFont ()) -> IO ()
+
+-- | usage: (@textAttrGetTextColour obj@).
+textAttrGetTextColour :: TextAttr  a ->  IO (Color)
+textAttrGetTextColour _obj 
+  = withRefColour $ \pref -> 
+    withObjectRef "textAttrGetTextColour" _obj $ \cobj__obj -> 
+    wxTextAttr_GetTextColour cobj__obj   pref
+foreign import ccall "wxTextAttr_GetTextColour" wxTextAttr_GetTextColour :: Ptr (TTextAttr a) -> Ptr (TColour ()) -> IO ()
+
+-- | usage: (@textAttrHasBackgroundColour obj@).
+textAttrHasBackgroundColour :: TextAttr  a ->  IO Bool
+textAttrHasBackgroundColour _obj 
+  = withBoolResult $
+    withObjectRef "textAttrHasBackgroundColour" _obj $ \cobj__obj -> 
+    wxTextAttr_HasBackgroundColour cobj__obj  
+foreign import ccall "wxTextAttr_HasBackgroundColour" wxTextAttr_HasBackgroundColour :: Ptr (TTextAttr a) -> IO CBool
+
+-- | usage: (@textAttrHasFont obj@).
+textAttrHasFont :: TextAttr  a ->  IO Bool
+textAttrHasFont _obj 
+  = withBoolResult $
+    withObjectRef "textAttrHasFont" _obj $ \cobj__obj -> 
+    wxTextAttr_HasFont cobj__obj  
+foreign import ccall "wxTextAttr_HasFont" wxTextAttr_HasFont :: Ptr (TTextAttr a) -> IO CBool
+
+-- | usage: (@textAttrHasTextColour obj@).
+textAttrHasTextColour :: TextAttr  a ->  IO Bool
+textAttrHasTextColour _obj 
+  = withBoolResult $
+    withObjectRef "textAttrHasTextColour" _obj $ \cobj__obj -> 
+    wxTextAttr_HasTextColour cobj__obj  
+foreign import ccall "wxTextAttr_HasTextColour" wxTextAttr_HasTextColour :: Ptr (TTextAttr a) -> IO CBool
+
+-- | usage: (@textAttrIsDefault obj@).
+textAttrIsDefault :: TextAttr  a ->  IO Bool
+textAttrIsDefault _obj 
+  = withBoolResult $
+    withObjectRef "textAttrIsDefault" _obj $ \cobj__obj -> 
+    wxTextAttr_IsDefault cobj__obj  
+foreign import ccall "wxTextAttr_IsDefault" wxTextAttr_IsDefault :: Ptr (TTextAttr a) -> IO CBool
+
+-- | usage: (@textAttrSetBackgroundColour obj colour@).
+textAttrSetBackgroundColour :: TextAttr  a -> Color ->  IO ()
+textAttrSetBackgroundColour _obj colour 
+  = withObjectRef "textAttrSetBackgroundColour" _obj $ \cobj__obj -> 
+    withColourPtr colour $ \cobj_colour -> 
+    wxTextAttr_SetBackgroundColour cobj__obj  cobj_colour  
+foreign import ccall "wxTextAttr_SetBackgroundColour" wxTextAttr_SetBackgroundColour :: Ptr (TTextAttr a) -> Ptr (TColour b) -> IO ()
+
+-- | usage: (@textAttrSetFont obj font@).
+textAttrSetFont :: TextAttr  a -> Font  b ->  IO ()
+textAttrSetFont _obj font 
+  = withObjectRef "textAttrSetFont" _obj $ \cobj__obj -> 
+    withObjectPtr font $ \cobj_font -> 
+    wxTextAttr_SetFont cobj__obj  cobj_font  
+foreign import ccall "wxTextAttr_SetFont" wxTextAttr_SetFont :: Ptr (TTextAttr a) -> Ptr (TFont b) -> IO ()
+
+-- | usage: (@textAttrSetTextColour obj colour@).
+textAttrSetTextColour :: TextAttr  a -> Color ->  IO ()
+textAttrSetTextColour _obj colour 
+  = withObjectRef "textAttrSetTextColour" _obj $ \cobj__obj -> 
+    withColourPtr colour $ \cobj_colour -> 
+    wxTextAttr_SetTextColour cobj__obj  cobj_colour  
+foreign import ccall "wxTextAttr_SetTextColour" wxTextAttr_SetTextColour :: Ptr (TTextAttr a) -> Ptr (TColour b) -> IO ()
+
+-- | usage: (@textCtrlAppendText obj text@).
+textCtrlAppendText :: TextCtrl  a -> String ->  IO ()
+textCtrlAppendText _obj text 
+  = withObjectRef "textCtrlAppendText" _obj $ \cobj__obj -> 
+    withStringPtr text $ \cobj_text -> 
+    wxTextCtrl_AppendText cobj__obj  cobj_text  
+foreign import ccall "wxTextCtrl_AppendText" wxTextCtrl_AppendText :: Ptr (TTextCtrl a) -> Ptr (TWxString b) -> IO ()
+
+-- | usage: (@textCtrlCanCopy obj@).
+textCtrlCanCopy :: TextCtrl  a ->  IO Bool
+textCtrlCanCopy _obj 
+  = withBoolResult $
+    withObjectRef "textCtrlCanCopy" _obj $ \cobj__obj -> 
+    wxTextCtrl_CanCopy cobj__obj  
+foreign import ccall "wxTextCtrl_CanCopy" wxTextCtrl_CanCopy :: Ptr (TTextCtrl a) -> IO CBool
+
+-- | usage: (@textCtrlCanCut obj@).
+textCtrlCanCut :: TextCtrl  a ->  IO Bool
+textCtrlCanCut _obj 
+  = withBoolResult $
+    withObjectRef "textCtrlCanCut" _obj $ \cobj__obj -> 
+    wxTextCtrl_CanCut cobj__obj  
+foreign import ccall "wxTextCtrl_CanCut" wxTextCtrl_CanCut :: Ptr (TTextCtrl a) -> IO CBool
+
+-- | usage: (@textCtrlCanPaste obj@).
+textCtrlCanPaste :: TextCtrl  a ->  IO Bool
+textCtrlCanPaste _obj 
+  = withBoolResult $
+    withObjectRef "textCtrlCanPaste" _obj $ \cobj__obj -> 
+    wxTextCtrl_CanPaste cobj__obj  
+foreign import ccall "wxTextCtrl_CanPaste" wxTextCtrl_CanPaste :: Ptr (TTextCtrl a) -> IO CBool
+
+-- | usage: (@textCtrlCanRedo obj@).
+textCtrlCanRedo :: TextCtrl  a ->  IO Bool
+textCtrlCanRedo _obj 
+  = withBoolResult $
+    withObjectRef "textCtrlCanRedo" _obj $ \cobj__obj -> 
+    wxTextCtrl_CanRedo cobj__obj  
+foreign import ccall "wxTextCtrl_CanRedo" wxTextCtrl_CanRedo :: Ptr (TTextCtrl a) -> IO CBool
+
+-- | usage: (@textCtrlCanUndo obj@).
+textCtrlCanUndo :: TextCtrl  a ->  IO Bool
+textCtrlCanUndo _obj 
+  = withBoolResult $
+    withObjectRef "textCtrlCanUndo" _obj $ \cobj__obj -> 
+    wxTextCtrl_CanUndo cobj__obj  
+foreign import ccall "wxTextCtrl_CanUndo" wxTextCtrl_CanUndo :: Ptr (TTextCtrl a) -> IO CBool
+
+-- | usage: (@textCtrlChangeValue obj text@).
+textCtrlChangeValue :: TextCtrl  a -> String ->  IO ()
+textCtrlChangeValue _obj text 
+  = withObjectRef "textCtrlChangeValue" _obj $ \cobj__obj -> 
+    withStringPtr text $ \cobj_text -> 
+    wxTextCtrl_ChangeValue cobj__obj  cobj_text  
+foreign import ccall "wxTextCtrl_ChangeValue" wxTextCtrl_ChangeValue :: Ptr (TTextCtrl a) -> Ptr (TWxString b) -> IO ()
+
+-- | usage: (@textCtrlClear obj@).
+textCtrlClear :: TextCtrl  a ->  IO ()
+textCtrlClear _obj 
+  = withObjectRef "textCtrlClear" _obj $ \cobj__obj -> 
+    wxTextCtrl_Clear cobj__obj  
+foreign import ccall "wxTextCtrl_Clear" wxTextCtrl_Clear :: Ptr (TTextCtrl a) -> IO ()
+
+-- | usage: (@textCtrlCopy obj@).
+textCtrlCopy :: TextCtrl  a ->  IO ()
+textCtrlCopy _obj 
+  = withObjectRef "textCtrlCopy" _obj $ \cobj__obj -> 
+    wxTextCtrl_Copy cobj__obj  
+foreign import ccall "wxTextCtrl_Copy" wxTextCtrl_Copy :: Ptr (TTextCtrl a) -> IO ()
+
+-- | usage: (@textCtrlCreate prt id txt lfttopwdthgt stl@).
+textCtrlCreate :: Window  a -> Id -> String -> Rect -> Style ->  IO (TextCtrl  ())
+textCtrlCreate _prt _id _txt _lfttopwdthgt _stl 
+  = withObjectResult $
+    withObjectPtr _prt $ \cobj__prt -> 
+    withStringPtr _txt $ \cobj__txt -> 
+    wxTextCtrl_Create cobj__prt  (toCInt _id)  cobj__txt  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  (toCInt _stl)  
+foreign import ccall "wxTextCtrl_Create" wxTextCtrl_Create :: Ptr (TWindow a) -> CInt -> Ptr (TWxString c) -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TTextCtrl ()))
+
+-- | usage: (@textCtrlCut obj@).
+textCtrlCut :: TextCtrl  a ->  IO ()
+textCtrlCut _obj 
+  = withObjectRef "textCtrlCut" _obj $ \cobj__obj -> 
+    wxTextCtrl_Cut cobj__obj  
+foreign import ccall "wxTextCtrl_Cut" wxTextCtrl_Cut :: Ptr (TTextCtrl a) -> IO ()
+
+-- | usage: (@textCtrlDiscardEdits obj@).
+textCtrlDiscardEdits :: TextCtrl  a ->  IO ()
+textCtrlDiscardEdits _obj 
+  = withObjectRef "textCtrlDiscardEdits" _obj $ \cobj__obj -> 
+    wxTextCtrl_DiscardEdits cobj__obj  
+foreign import ccall "wxTextCtrl_DiscardEdits" wxTextCtrl_DiscardEdits :: Ptr (TTextCtrl a) -> IO ()
+
+-- | usage: (@textCtrlEmulateKeyPress obj keyevent@).
+textCtrlEmulateKeyPress :: TextCtrl  a -> KeyEvent  b ->  IO Bool
+textCtrlEmulateKeyPress _obj keyevent 
+  = withBoolResult $
+    withObjectRef "textCtrlEmulateKeyPress" _obj $ \cobj__obj -> 
+    withObjectPtr keyevent $ \cobj_keyevent -> 
+    wxTextCtrl_EmulateKeyPress cobj__obj  cobj_keyevent  
+foreign import ccall "wxTextCtrl_EmulateKeyPress" wxTextCtrl_EmulateKeyPress :: Ptr (TTextCtrl a) -> Ptr (TKeyEvent b) -> IO CBool
+
+-- | usage: (@textCtrlGetDefaultStyle obj@).
+textCtrlGetDefaultStyle :: TextCtrl  a ->  IO (TextAttr  ())
+textCtrlGetDefaultStyle _obj 
+  = withObjectResult $
+    withObjectRef "textCtrlGetDefaultStyle" _obj $ \cobj__obj -> 
+    wxTextCtrl_GetDefaultStyle cobj__obj  
+foreign import ccall "wxTextCtrl_GetDefaultStyle" wxTextCtrl_GetDefaultStyle :: Ptr (TTextCtrl a) -> IO (Ptr (TTextAttr ()))
+
+-- | usage: (@textCtrlGetInsertionPoint obj@).
+textCtrlGetInsertionPoint :: TextCtrl  a ->  IO Int
+textCtrlGetInsertionPoint _obj 
+  = withIntResult $
+    withObjectRef "textCtrlGetInsertionPoint" _obj $ \cobj__obj -> 
+    wxTextCtrl_GetInsertionPoint cobj__obj  
+foreign import ccall "wxTextCtrl_GetInsertionPoint" wxTextCtrl_GetInsertionPoint :: Ptr (TTextCtrl a) -> IO CInt
+
+-- | usage: (@textCtrlGetLastPosition obj@).
+textCtrlGetLastPosition :: TextCtrl  a ->  IO Int
+textCtrlGetLastPosition _obj 
+  = withIntResult $
+    withObjectRef "textCtrlGetLastPosition" _obj $ \cobj__obj -> 
+    wxTextCtrl_GetLastPosition cobj__obj  
+foreign import ccall "wxTextCtrl_GetLastPosition" wxTextCtrl_GetLastPosition :: Ptr (TTextCtrl a) -> IO CInt
+
+-- | usage: (@textCtrlGetLineLength obj lineNo@).
+textCtrlGetLineLength :: TextCtrl  a -> Int ->  IO Int
+textCtrlGetLineLength _obj lineNo 
+  = withIntResult $
+    withObjectRef "textCtrlGetLineLength" _obj $ \cobj__obj -> 
+    wxTextCtrl_GetLineLength cobj__obj  (toCInt lineNo)  
+foreign import ccall "wxTextCtrl_GetLineLength" wxTextCtrl_GetLineLength :: Ptr (TTextCtrl a) -> CInt -> IO CInt
+
+-- | usage: (@textCtrlGetLineText obj lineNo@).
+textCtrlGetLineText :: TextCtrl  a -> Int ->  IO (String)
+textCtrlGetLineText _obj lineNo 
+  = withManagedStringResult $
+    withObjectRef "textCtrlGetLineText" _obj $ \cobj__obj -> 
+    wxTextCtrl_GetLineText cobj__obj  (toCInt lineNo)  
+foreign import ccall "wxTextCtrl_GetLineText" wxTextCtrl_GetLineText :: Ptr (TTextCtrl a) -> CInt -> IO (Ptr (TWxString ()))
+
+-- | usage: (@textCtrlGetNumberOfLines obj@).
+textCtrlGetNumberOfLines :: TextCtrl  a ->  IO Int
+textCtrlGetNumberOfLines _obj 
+  = withIntResult $
+    withObjectRef "textCtrlGetNumberOfLines" _obj $ \cobj__obj -> 
+    wxTextCtrl_GetNumberOfLines cobj__obj  
+foreign import ccall "wxTextCtrl_GetNumberOfLines" wxTextCtrl_GetNumberOfLines :: Ptr (TTextCtrl a) -> IO CInt
+
+-- | usage: (@textCtrlGetRange obj from to@).
+textCtrlGetRange :: TextCtrl  a -> Int -> Int ->  IO (String)
+textCtrlGetRange _obj from to 
+  = withManagedStringResult $
+    withObjectRef "textCtrlGetRange" _obj $ \cobj__obj -> 
+    wxTextCtrl_GetRange cobj__obj  (toCInt from)  (toCInt to)  
+foreign import ccall "wxTextCtrl_GetRange" wxTextCtrl_GetRange :: Ptr (TTextCtrl a) -> CInt -> CInt -> IO (Ptr (TWxString ()))
+
+-- | usage: (@textCtrlGetSelection obj from to@).
+textCtrlGetSelection :: TextCtrl  a -> Ptr  b -> Ptr  c ->  IO ()
+textCtrlGetSelection _obj from to 
+  = withObjectRef "textCtrlGetSelection" _obj $ \cobj__obj -> 
+    wxTextCtrl_GetSelection cobj__obj  from  to  
+foreign import ccall "wxTextCtrl_GetSelection" wxTextCtrl_GetSelection :: Ptr (TTextCtrl a) -> Ptr  b -> Ptr  c -> IO ()
+
+-- | usage: (@textCtrlGetStringSelection obj@).
+textCtrlGetStringSelection :: TextCtrl  a ->  IO (String)
+textCtrlGetStringSelection _obj 
+  = withManagedStringResult $
+    withObjectRef "textCtrlGetStringSelection" _obj $ \cobj__obj -> 
+    wxTextCtrl_GetStringSelection cobj__obj  
+foreign import ccall "wxTextCtrl_GetStringSelection" wxTextCtrl_GetStringSelection :: Ptr (TTextCtrl a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@textCtrlGetValue obj@).
+textCtrlGetValue :: TextCtrl  a ->  IO (String)
+textCtrlGetValue _obj 
+  = withManagedStringResult $
+    withObjectRef "textCtrlGetValue" _obj $ \cobj__obj -> 
+    wxTextCtrl_GetValue cobj__obj  
+foreign import ccall "wxTextCtrl_GetValue" wxTextCtrl_GetValue :: Ptr (TTextCtrl a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@textCtrlIsEditable obj@).
+textCtrlIsEditable :: TextCtrl  a ->  IO Bool
+textCtrlIsEditable _obj 
+  = withBoolResult $
+    withObjectRef "textCtrlIsEditable" _obj $ \cobj__obj -> 
+    wxTextCtrl_IsEditable cobj__obj  
+foreign import ccall "wxTextCtrl_IsEditable" wxTextCtrl_IsEditable :: Ptr (TTextCtrl a) -> IO CBool
+
+-- | usage: (@textCtrlIsModified obj@).
+textCtrlIsModified :: TextCtrl  a ->  IO Bool
+textCtrlIsModified _obj 
+  = withBoolResult $
+    withObjectRef "textCtrlIsModified" _obj $ \cobj__obj -> 
+    wxTextCtrl_IsModified cobj__obj  
+foreign import ccall "wxTextCtrl_IsModified" wxTextCtrl_IsModified :: Ptr (TTextCtrl a) -> IO CBool
+
+-- | usage: (@textCtrlIsMultiLine obj@).
+textCtrlIsMultiLine :: TextCtrl  a ->  IO Bool
+textCtrlIsMultiLine _obj 
+  = withBoolResult $
+    withObjectRef "textCtrlIsMultiLine" _obj $ \cobj__obj -> 
+    wxTextCtrl_IsMultiLine cobj__obj  
+foreign import ccall "wxTextCtrl_IsMultiLine" wxTextCtrl_IsMultiLine :: Ptr (TTextCtrl a) -> IO CBool
+
+-- | usage: (@textCtrlIsSingleLine obj@).
+textCtrlIsSingleLine :: TextCtrl  a ->  IO Bool
+textCtrlIsSingleLine _obj 
+  = withBoolResult $
+    withObjectRef "textCtrlIsSingleLine" _obj $ \cobj__obj -> 
+    wxTextCtrl_IsSingleLine cobj__obj  
+foreign import ccall "wxTextCtrl_IsSingleLine" wxTextCtrl_IsSingleLine :: Ptr (TTextCtrl a) -> IO CBool
+
+-- | usage: (@textCtrlLoadFile obj file@).
+textCtrlLoadFile :: TextCtrl  a -> String ->  IO Bool
+textCtrlLoadFile _obj file 
+  = withBoolResult $
+    withObjectRef "textCtrlLoadFile" _obj $ \cobj__obj -> 
+    withStringPtr file $ \cobj_file -> 
+    wxTextCtrl_LoadFile cobj__obj  cobj_file  
+foreign import ccall "wxTextCtrl_LoadFile" wxTextCtrl_LoadFile :: Ptr (TTextCtrl a) -> Ptr (TWxString b) -> IO CBool
+
+-- | usage: (@textCtrlPaste obj@).
+textCtrlPaste :: TextCtrl  a ->  IO ()
+textCtrlPaste _obj 
+  = withObjectRef "textCtrlPaste" _obj $ \cobj__obj -> 
+    wxTextCtrl_Paste cobj__obj  
+foreign import ccall "wxTextCtrl_Paste" wxTextCtrl_Paste :: Ptr (TTextCtrl a) -> IO ()
+
+-- | usage: (@textCtrlPositionToXY obj pos x y@).
+textCtrlPositionToXY :: TextCtrl  a -> Int -> Ptr CInt -> Ptr CInt ->  IO Int
+textCtrlPositionToXY _obj pos x y 
+  = withIntResult $
+    withObjectRef "textCtrlPositionToXY" _obj $ \cobj__obj -> 
+    wxTextCtrl_PositionToXY cobj__obj  (toCInt pos)  x  y  
+foreign import ccall "wxTextCtrl_PositionToXY" wxTextCtrl_PositionToXY :: Ptr (TTextCtrl a) -> CInt -> Ptr CInt -> Ptr CInt -> IO CInt
+
+-- | usage: (@textCtrlRedo obj@).
+textCtrlRedo :: TextCtrl  a ->  IO ()
+textCtrlRedo _obj 
+  = withObjectRef "textCtrlRedo" _obj $ \cobj__obj -> 
+    wxTextCtrl_Redo cobj__obj  
+foreign import ccall "wxTextCtrl_Redo" wxTextCtrl_Redo :: Ptr (TTextCtrl a) -> IO ()
+
+-- | usage: (@textCtrlRemove obj from to@).
+textCtrlRemove :: TextCtrl  a -> Int -> Int ->  IO ()
+textCtrlRemove _obj from to 
+  = withObjectRef "textCtrlRemove" _obj $ \cobj__obj -> 
+    wxTextCtrl_Remove cobj__obj  (toCInt from)  (toCInt to)  
+foreign import ccall "wxTextCtrl_Remove" wxTextCtrl_Remove :: Ptr (TTextCtrl a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@textCtrlReplace obj from to value@).
+textCtrlReplace :: TextCtrl  a -> Int -> Int -> String ->  IO ()
+textCtrlReplace _obj from to value 
+  = withObjectRef "textCtrlReplace" _obj $ \cobj__obj -> 
+    withStringPtr value $ \cobj_value -> 
+    wxTextCtrl_Replace cobj__obj  (toCInt from)  (toCInt to)  cobj_value  
+foreign import ccall "wxTextCtrl_Replace" wxTextCtrl_Replace :: Ptr (TTextCtrl a) -> CInt -> CInt -> Ptr (TWxString d) -> IO ()
+
+-- | usage: (@textCtrlSaveFile obj file@).
+textCtrlSaveFile :: TextCtrl  a -> String ->  IO Bool
+textCtrlSaveFile _obj file 
+  = withBoolResult $
+    withObjectRef "textCtrlSaveFile" _obj $ \cobj__obj -> 
+    withStringPtr file $ \cobj_file -> 
+    wxTextCtrl_SaveFile cobj__obj  cobj_file  
+foreign import ccall "wxTextCtrl_SaveFile" wxTextCtrl_SaveFile :: Ptr (TTextCtrl a) -> Ptr (TWxString b) -> IO CBool
+
+-- | usage: (@textCtrlSetDefaultStyle obj style@).
+textCtrlSetDefaultStyle :: TextCtrl  a -> TextAttr  b ->  IO Bool
+textCtrlSetDefaultStyle _obj style 
+  = withBoolResult $
+    withObjectRef "textCtrlSetDefaultStyle" _obj $ \cobj__obj -> 
+    withObjectPtr style $ \cobj_style -> 
+    wxTextCtrl_SetDefaultStyle cobj__obj  cobj_style  
+foreign import ccall "wxTextCtrl_SetDefaultStyle" wxTextCtrl_SetDefaultStyle :: Ptr (TTextCtrl a) -> Ptr (TTextAttr b) -> IO CBool
+
+-- | usage: (@textCtrlSetEditable obj editable@).
+textCtrlSetEditable :: TextCtrl  a -> Bool ->  IO ()
+textCtrlSetEditable _obj editable 
+  = withObjectRef "textCtrlSetEditable" _obj $ \cobj__obj -> 
+    wxTextCtrl_SetEditable cobj__obj  (toCBool editable)  
+foreign import ccall "wxTextCtrl_SetEditable" wxTextCtrl_SetEditable :: Ptr (TTextCtrl a) -> CBool -> IO ()
+
+-- | usage: (@textCtrlSetInsertionPoint obj pos@).
+textCtrlSetInsertionPoint :: TextCtrl  a -> Int ->  IO ()
+textCtrlSetInsertionPoint _obj pos 
+  = withObjectRef "textCtrlSetInsertionPoint" _obj $ \cobj__obj -> 
+    wxTextCtrl_SetInsertionPoint cobj__obj  (toCInt pos)  
+foreign import ccall "wxTextCtrl_SetInsertionPoint" wxTextCtrl_SetInsertionPoint :: Ptr (TTextCtrl a) -> CInt -> IO ()
+
+-- | usage: (@textCtrlSetInsertionPointEnd obj@).
+textCtrlSetInsertionPointEnd :: TextCtrl  a ->  IO ()
+textCtrlSetInsertionPointEnd _obj 
+  = withObjectRef "textCtrlSetInsertionPointEnd" _obj $ \cobj__obj -> 
+    wxTextCtrl_SetInsertionPointEnd cobj__obj  
+foreign import ccall "wxTextCtrl_SetInsertionPointEnd" wxTextCtrl_SetInsertionPointEnd :: Ptr (TTextCtrl a) -> IO ()
+
+-- | usage: (@textCtrlSetMaxLength obj len@).
+textCtrlSetMaxLength :: TextCtrl  a -> Int ->  IO ()
+textCtrlSetMaxLength _obj len 
+  = withObjectRef "textCtrlSetMaxLength" _obj $ \cobj__obj -> 
+    wxTextCtrl_SetMaxLength cobj__obj  (toCInt len)  
+foreign import ccall "wxTextCtrl_SetMaxLength" wxTextCtrl_SetMaxLength :: Ptr (TTextCtrl a) -> CInt -> IO ()
+
+-- | usage: (@textCtrlSetSelection obj from to@).
+textCtrlSetSelection :: TextCtrl  a -> Int -> Int ->  IO ()
+textCtrlSetSelection _obj from to 
+  = withObjectRef "textCtrlSetSelection" _obj $ \cobj__obj -> 
+    wxTextCtrl_SetSelection cobj__obj  (toCInt from)  (toCInt to)  
+foreign import ccall "wxTextCtrl_SetSelection" wxTextCtrl_SetSelection :: Ptr (TTextCtrl a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@textCtrlSetStyle obj start end style@).
+textCtrlSetStyle :: TextCtrl  a -> Int -> Int -> TextAttr  d ->  IO Bool
+textCtrlSetStyle _obj start end style 
+  = withBoolResult $
+    withObjectRef "textCtrlSetStyle" _obj $ \cobj__obj -> 
+    withObjectPtr style $ \cobj_style -> 
+    wxTextCtrl_SetStyle cobj__obj  (toCInt start)  (toCInt end)  cobj_style  
+foreign import ccall "wxTextCtrl_SetStyle" wxTextCtrl_SetStyle :: Ptr (TTextCtrl a) -> CInt -> CInt -> Ptr (TTextAttr d) -> IO CBool
+
+-- | usage: (@textCtrlSetValue obj value@).
+textCtrlSetValue :: TextCtrl  a -> String ->  IO ()
+textCtrlSetValue _obj value 
+  = withObjectRef "textCtrlSetValue" _obj $ \cobj__obj -> 
+    withStringPtr value $ \cobj_value -> 
+    wxTextCtrl_SetValue cobj__obj  cobj_value  
+foreign import ccall "wxTextCtrl_SetValue" wxTextCtrl_SetValue :: Ptr (TTextCtrl a) -> Ptr (TWxString b) -> IO ()
+
+-- | usage: (@textCtrlShowPosition obj pos@).
+textCtrlShowPosition :: TextCtrl  a -> Int ->  IO ()
+textCtrlShowPosition _obj pos 
+  = withObjectRef "textCtrlShowPosition" _obj $ \cobj__obj -> 
+    wxTextCtrl_ShowPosition cobj__obj  (toCInt pos)  
+foreign import ccall "wxTextCtrl_ShowPosition" wxTextCtrl_ShowPosition :: Ptr (TTextCtrl a) -> CInt -> IO ()
+
+-- | usage: (@textCtrlUndo obj@).
+textCtrlUndo :: TextCtrl  a ->  IO ()
+textCtrlUndo _obj 
+  = withObjectRef "textCtrlUndo" _obj $ \cobj__obj -> 
+    wxTextCtrl_Undo cobj__obj  
+foreign import ccall "wxTextCtrl_Undo" wxTextCtrl_Undo :: Ptr (TTextCtrl a) -> IO ()
+
+-- | usage: (@textCtrlWriteText obj text@).
+textCtrlWriteText :: TextCtrl  a -> String ->  IO ()
+textCtrlWriteText _obj text 
+  = withObjectRef "textCtrlWriteText" _obj $ \cobj__obj -> 
+    withStringPtr text $ \cobj_text -> 
+    wxTextCtrl_WriteText cobj__obj  cobj_text  
+foreign import ccall "wxTextCtrl_WriteText" wxTextCtrl_WriteText :: Ptr (TTextCtrl a) -> Ptr (TWxString b) -> IO ()
+
+-- | usage: (@textCtrlXYToPosition obj xy@).
+textCtrlXYToPosition :: TextCtrl  a -> Point ->  IO Int
+textCtrlXYToPosition _obj xy 
+  = withIntResult $
+    withObjectRef "textCtrlXYToPosition" _obj $ \cobj__obj -> 
+    wxTextCtrl_XYToPosition cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  
+foreign import ccall "wxTextCtrl_XYToPosition" wxTextCtrl_XYToPosition :: Ptr (TTextCtrl a) -> CInt -> CInt -> IO CInt
+
+-- | usage: (@textDataObjectCreate txt@).
+textDataObjectCreate :: String ->  IO (TextDataObject  ())
+textDataObjectCreate _txt 
+  = withObjectResult $
+    withStringPtr _txt $ \cobj__txt -> 
+    wx_TextDataObject_Create cobj__txt  
+foreign import ccall "TextDataObject_Create" wx_TextDataObject_Create :: Ptr (TWxString a) -> IO (Ptr (TTextDataObject ()))
+
+-- | usage: (@textDataObjectDelete obj@).
+textDataObjectDelete :: TextDataObject  a ->  IO ()
+textDataObjectDelete _obj 
+  = withObjectPtr _obj $ \cobj__obj -> 
+    wx_TextDataObject_Delete cobj__obj  
+foreign import ccall "TextDataObject_Delete" wx_TextDataObject_Delete :: Ptr (TTextDataObject a) -> IO ()
+
+-- | usage: (@textDataObjectGetText obj@).
+textDataObjectGetText :: TextDataObject  a ->  IO (String)
+textDataObjectGetText _obj 
+  = withManagedStringResult $
+    withObjectPtr _obj $ \cobj__obj -> 
+    wx_TextDataObject_GetText cobj__obj  
+foreign import ccall "TextDataObject_GetText" wx_TextDataObject_GetText :: Ptr (TTextDataObject a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@textDataObjectGetTextLength obj@).
+textDataObjectGetTextLength :: TextDataObject  a ->  IO Int
+textDataObjectGetTextLength _obj 
+  = withIntResult $
+    withObjectPtr _obj $ \cobj__obj -> 
+    wx_TextDataObject_GetTextLength cobj__obj  
+foreign import ccall "TextDataObject_GetTextLength" wx_TextDataObject_GetTextLength :: Ptr (TTextDataObject a) -> IO CInt
+
+-- | usage: (@textDataObjectSetText obj text@).
+textDataObjectSetText :: TextDataObject  a -> String ->  IO ()
+textDataObjectSetText _obj text 
+  = withObjectPtr _obj $ \cobj__obj -> 
+    withStringPtr text $ \cobj_text -> 
+    wx_TextDataObject_SetText cobj__obj  cobj_text  
+foreign import ccall "TextDataObject_SetText" wx_TextDataObject_SetText :: Ptr (TTextDataObject a) -> Ptr (TWxString b) -> IO ()
+
+-- | usage: (@textInputStreamCreate inputStream sep@).
+textInputStreamCreate :: InputStream  a -> String ->  IO (TextInputStream  ())
+textInputStreamCreate inputStream sep 
+  = withObjectResult $
+    withObjectPtr inputStream $ \cobj_inputStream -> 
+    withStringPtr sep $ \cobj_sep -> 
+    wxTextInputStream_Create cobj_inputStream  cobj_sep  
+foreign import ccall "wxTextInputStream_Create" wxTextInputStream_Create :: Ptr (TInputStream a) -> Ptr (TWxString b) -> IO (Ptr (TTextInputStream ()))
+
+-- | usage: (@textInputStreamDelete self@).
+textInputStreamDelete :: TextInputStream  a ->  IO ()
+textInputStreamDelete self 
+  = withObjectRef "textInputStreamDelete" self $ \cobj_self -> 
+    wxTextInputStream_Delete cobj_self  
+foreign import ccall "wxTextInputStream_Delete" wxTextInputStream_Delete :: Ptr (TTextInputStream a) -> IO ()
+
+-- | usage: (@textInputStreamReadLine self@).
+textInputStreamReadLine :: TextInputStream  a ->  IO (String)
+textInputStreamReadLine self 
+  = withManagedStringResult $
+    withObjectRef "textInputStreamReadLine" self $ \cobj_self -> 
+    wxTextInputStream_ReadLine cobj_self  
+foreign import ccall "wxTextInputStream_ReadLine" wxTextInputStream_ReadLine :: Ptr (TTextInputStream a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@textOutputStreamCreate outputStream mode@).
+textOutputStreamCreate :: OutputStream  a -> Int ->  IO (TextOutputStream  ())
+textOutputStreamCreate outputStream mode 
+  = withObjectResult $
+    withObjectPtr outputStream $ \cobj_outputStream -> 
+    wxTextOutputStream_Create cobj_outputStream  (toCInt mode)  
+foreign import ccall "wxTextOutputStream_Create" wxTextOutputStream_Create :: Ptr (TOutputStream a) -> CInt -> IO (Ptr (TTextOutputStream ()))
+
+-- | usage: (@textOutputStreamDelete self@).
+textOutputStreamDelete :: TextOutputStream  a ->  IO ()
+textOutputStreamDelete self 
+  = withObjectRef "textOutputStreamDelete" self $ \cobj_self -> 
+    wxTextOutputStream_Delete cobj_self  
+foreign import ccall "wxTextOutputStream_Delete" wxTextOutputStream_Delete :: Ptr (TTextOutputStream a) -> IO ()
+
+-- | usage: (@textOutputStreamWriteString self txt@).
+textOutputStreamWriteString :: TextOutputStream  a -> String ->  IO ()
+textOutputStreamWriteString self txt 
+  = withObjectRef "textOutputStreamWriteString" self $ \cobj_self -> 
+    withStringPtr txt $ \cobj_txt -> 
+    wxTextOutputStream_WriteString cobj_self  cobj_txt  
+foreign import ccall "wxTextOutputStream_WriteString" wxTextOutputStream_WriteString :: Ptr (TTextOutputStream a) -> Ptr (TWxString b) -> IO ()
+
+-- | usage: (@textValidatorClone obj@).
+textValidatorClone :: TextValidator  a ->  IO (Validator  ())
+textValidatorClone _obj 
+  = withObjectResult $
+    withObjectRef "textValidatorClone" _obj $ \cobj__obj -> 
+    wxTextValidator_Clone cobj__obj  
+foreign import ccall "wxTextValidator_Clone" wxTextValidator_Clone :: Ptr (TTextValidator a) -> IO (Ptr (TValidator ()))
+
+-- | usage: (@textValidatorCreate style val@).
+textValidatorCreate :: Int -> Ptr  b ->  IO (TextValidator  ())
+textValidatorCreate style val 
+  = withObjectResult $
+    wxTextValidator_Create (toCInt style)  val  
+foreign import ccall "wxTextValidator_Create" wxTextValidator_Create :: CInt -> Ptr  b -> IO (Ptr (TTextValidator ()))
+
+-- | usage: (@textValidatorGetExcludes obj@).
+textValidatorGetExcludes :: TextValidator  a ->  IO [String]
+textValidatorGetExcludes _obj 
+  = withArrayWStringResult $ \arr -> 
+    withObjectRef "textValidatorGetExcludes" _obj $ \cobj__obj -> 
+    wxTextValidator_GetExcludes cobj__obj   arr
+foreign import ccall "wxTextValidator_GetExcludes" wxTextValidator_GetExcludes :: Ptr (TTextValidator a) -> Ptr (Ptr CWchar) -> IO CInt
+
+-- | usage: (@textValidatorGetIncludes obj@).
+textValidatorGetIncludes :: TextValidator  a ->  IO [String]
+textValidatorGetIncludes _obj 
+  = withArrayWStringResult $ \arr -> 
+    withObjectRef "textValidatorGetIncludes" _obj $ \cobj__obj -> 
+    wxTextValidator_GetIncludes cobj__obj   arr
+foreign import ccall "wxTextValidator_GetIncludes" wxTextValidator_GetIncludes :: Ptr (TTextValidator a) -> Ptr (Ptr CWchar) -> IO CInt
+
+-- | usage: (@textValidatorGetStyle obj@).
+textValidatorGetStyle :: TextValidator  a ->  IO Int
+textValidatorGetStyle _obj 
+  = withIntResult $
+    withObjectRef "textValidatorGetStyle" _obj $ \cobj__obj -> 
+    wxTextValidator_GetStyle cobj__obj  
+foreign import ccall "wxTextValidator_GetStyle" wxTextValidator_GetStyle :: Ptr (TTextValidator a) -> IO CInt
+
+-- | usage: (@textValidatorOnChar obj event@).
+textValidatorOnChar :: TextValidator  a -> Event  b ->  IO ()
+textValidatorOnChar _obj event 
+  = withObjectRef "textValidatorOnChar" _obj $ \cobj__obj -> 
+    withObjectPtr event $ \cobj_event -> 
+    wxTextValidator_OnChar cobj__obj  cobj_event  
+foreign import ccall "wxTextValidator_OnChar" wxTextValidator_OnChar :: Ptr (TTextValidator a) -> Ptr (TEvent b) -> IO ()
+
+-- | usage: (@textValidatorSetExcludes obj list count@).
+textValidatorSetExcludes :: TextValidator  a -> String -> Int ->  IO ()
+textValidatorSetExcludes _obj list count 
+  = withObjectRef "textValidatorSetExcludes" _obj $ \cobj__obj -> 
+    withCWString list $ \cstr_list -> 
+    wxTextValidator_SetExcludes cobj__obj  cstr_list  (toCInt count)  
+foreign import ccall "wxTextValidator_SetExcludes" wxTextValidator_SetExcludes :: Ptr (TTextValidator a) -> CWString -> CInt -> IO ()
+
+-- | usage: (@textValidatorSetIncludes obj list count@).
+textValidatorSetIncludes :: TextValidator  a -> String -> Int ->  IO ()
+textValidatorSetIncludes _obj list count 
+  = withObjectRef "textValidatorSetIncludes" _obj $ \cobj__obj -> 
+    withCWString list $ \cstr_list -> 
+    wxTextValidator_SetIncludes cobj__obj  cstr_list  (toCInt count)  
+foreign import ccall "wxTextValidator_SetIncludes" wxTextValidator_SetIncludes :: Ptr (TTextValidator a) -> CWString -> CInt -> IO ()
+
+-- | usage: (@textValidatorSetStyle obj style@).
+textValidatorSetStyle :: TextValidator  a -> Int ->  IO ()
+textValidatorSetStyle _obj style 
+  = withObjectRef "textValidatorSetStyle" _obj $ \cobj__obj -> 
+    wxTextValidator_SetStyle cobj__obj  (toCInt style)  
+foreign import ccall "wxTextValidator_SetStyle" wxTextValidator_SetStyle :: Ptr (TTextValidator a) -> CInt -> IO ()
+
+-- | usage: (@textValidatorTransferFromWindow obj@).
+textValidatorTransferFromWindow :: TextValidator  a ->  IO Bool
+textValidatorTransferFromWindow _obj 
+  = withBoolResult $
+    withObjectRef "textValidatorTransferFromWindow" _obj $ \cobj__obj -> 
+    wxTextValidator_TransferFromWindow cobj__obj  
+foreign import ccall "wxTextValidator_TransferFromWindow" wxTextValidator_TransferFromWindow :: Ptr (TTextValidator a) -> IO CBool
+
+-- | usage: (@textValidatorTransferToWindow obj@).
+textValidatorTransferToWindow :: TextValidator  a ->  IO Bool
+textValidatorTransferToWindow _obj 
+  = withBoolResult $
+    withObjectRef "textValidatorTransferToWindow" _obj $ \cobj__obj -> 
+    wxTextValidator_TransferToWindow cobj__obj  
+foreign import ccall "wxTextValidator_TransferToWindow" wxTextValidator_TransferToWindow :: Ptr (TTextValidator a) -> IO CBool
+
+-- | usage: (@timerCreate prt id@).
+timerCreate :: Window  a -> Id ->  IO (Timer  ())
+timerCreate _prt _id 
+  = withObjectResult $
+    withObjectPtr _prt $ \cobj__prt -> 
+    wxTimer_Create cobj__prt  (toCInt _id)  
+foreign import ccall "wxTimer_Create" wxTimer_Create :: Ptr (TWindow a) -> CInt -> IO (Ptr (TTimer ()))
+
+-- | usage: (@timerDelete obj@).
+timerDelete :: Timer  a ->  IO ()
+timerDelete
+  = objectDelete
+
+
+-- | usage: (@timerEventGetInterval obj@).
+timerEventGetInterval :: TimerEvent  a ->  IO Int
+timerEventGetInterval _obj 
+  = withIntResult $
+    withObjectRef "timerEventGetInterval" _obj $ \cobj__obj -> 
+    wxTimerEvent_GetInterval cobj__obj  
+foreign import ccall "wxTimerEvent_GetInterval" wxTimerEvent_GetInterval :: Ptr (TTimerEvent a) -> IO CInt
+
+-- | usage: (@timerExConnect obj closure@).
+timerExConnect :: TimerEx  a -> Closure  b ->  IO ()
+timerExConnect _obj closure 
+  = withObjectRef "timerExConnect" _obj $ \cobj__obj -> 
+    withObjectPtr closure $ \cobj_closure -> 
+    wxTimerEx_Connect cobj__obj  cobj_closure  
+foreign import ccall "wxTimerEx_Connect" wxTimerEx_Connect :: Ptr (TTimerEx a) -> Ptr (TClosure b) -> IO ()
+
+-- | usage: (@timerExCreate@).
+timerExCreate ::  IO (TimerEx  ())
+timerExCreate 
+  = withObjectResult $
+    wxTimerEx_Create 
+foreign import ccall "wxTimerEx_Create" wxTimerEx_Create :: IO (Ptr (TTimerEx ()))
+
+-- | usage: (@timerExGetClosure obj@).
+timerExGetClosure :: TimerEx  a ->  IO (Closure  ())
+timerExGetClosure _obj 
+  = withObjectResult $
+    withObjectRef "timerExGetClosure" _obj $ \cobj__obj -> 
+    wxTimerEx_GetClosure cobj__obj  
+foreign import ccall "wxTimerEx_GetClosure" wxTimerEx_GetClosure :: Ptr (TTimerEx a) -> IO (Ptr (TClosure ()))
+
+-- | usage: (@timerGetInterval obj@).
+timerGetInterval :: Timer  a ->  IO Int
+timerGetInterval _obj 
+  = withIntResult $
+    withObjectRef "timerGetInterval" _obj $ \cobj__obj -> 
+    wxTimer_GetInterval cobj__obj  
+foreign import ccall "wxTimer_GetInterval" wxTimer_GetInterval :: Ptr (TTimer a) -> IO CInt
+
+-- | usage: (@timerIsOneShot obj@).
+timerIsOneShot :: Timer  a ->  IO Bool
+timerIsOneShot _obj 
+  = withBoolResult $
+    withObjectRef "timerIsOneShot" _obj $ \cobj__obj -> 
+    wxTimer_IsOneShot cobj__obj  
+foreign import ccall "wxTimer_IsOneShot" wxTimer_IsOneShot :: Ptr (TTimer a) -> IO CBool
+
+-- | usage: (@timerIsRuning obj@).
+timerIsRuning :: Timer  a ->  IO Bool
+timerIsRuning _obj 
+  = withBoolResult $
+    withObjectRef "timerIsRuning" _obj $ \cobj__obj -> 
+    wxTimer_IsRuning cobj__obj  
+foreign import ccall "wxTimer_IsRuning" wxTimer_IsRuning :: Ptr (TTimer a) -> IO CBool
+
+-- | usage: (@timerStart obj wxint one@).
+timerStart :: Timer  a -> Int -> Bool ->  IO Bool
+timerStart _obj _int _one 
+  = withBoolResult $
+    withObjectRef "timerStart" _obj $ \cobj__obj -> 
+    wxTimer_Start cobj__obj  (toCInt _int)  (toCBool _one)  
+foreign import ccall "wxTimer_Start" wxTimer_Start :: Ptr (TTimer a) -> CInt -> CBool -> IO CBool
+
+-- | usage: (@timerStop obj@).
+timerStop :: Timer  a ->  IO ()
+timerStop _obj 
+  = withObjectRef "timerStop" _obj $ \cobj__obj -> 
+    wxTimer_Stop cobj__obj  
+foreign import ccall "wxTimer_Stop" wxTimer_Stop :: Ptr (TTimer a) -> IO ()
+
+-- | usage: (@tipWindowClose obj@).
+tipWindowClose :: TipWindow  a ->  IO ()
+tipWindowClose _obj 
+  = withObjectRef "tipWindowClose" _obj $ \cobj__obj -> 
+    wxTipWindow_Close cobj__obj  
+foreign import ccall "wxTipWindow_Close" wxTipWindow_Close :: Ptr (TTipWindow a) -> IO ()
+
+-- | usage: (@tipWindowCreate parent text maxLength@).
+tipWindowCreate :: Window  a -> String -> Int ->  IO (TipWindow  ())
+tipWindowCreate parent text maxLength 
+  = withObjectResult $
+    withObjectPtr parent $ \cobj_parent -> 
+    withStringPtr text $ \cobj_text -> 
+    wxTipWindow_Create cobj_parent  cobj_text  (toCInt maxLength)  
+foreign import ccall "wxTipWindow_Create" wxTipWindow_Create :: Ptr (TWindow a) -> Ptr (TWxString b) -> CInt -> IO (Ptr (TTipWindow ()))
+
+-- | usage: (@tipWindowSetBoundingRect obj xywh@).
+tipWindowSetBoundingRect :: TipWindow  a -> Rect ->  IO ()
+tipWindowSetBoundingRect _obj xywh 
+  = withObjectRef "tipWindowSetBoundingRect" _obj $ \cobj__obj -> 
+    wxTipWindow_SetBoundingRect cobj__obj  (toCIntRectX xywh) (toCIntRectY xywh)(toCIntRectW xywh) (toCIntRectH xywh)  
+foreign import ccall "wxTipWindow_SetBoundingRect" wxTipWindow_SetBoundingRect :: Ptr (TTipWindow a) -> CInt -> CInt -> CInt -> CInt -> IO ()
+
+-- | usage: (@tipWindowSetTipWindowPtr obj windowPtr@).
+tipWindowSetTipWindowPtr :: TipWindow  a -> Ptr  b ->  IO ()
+tipWindowSetTipWindowPtr _obj windowPtr 
+  = withObjectRef "tipWindowSetTipWindowPtr" _obj $ \cobj__obj -> 
+    wxTipWindow_SetTipWindowPtr cobj__obj  windowPtr  
+foreign import ccall "wxTipWindow_SetTipWindowPtr" wxTipWindow_SetTipWindowPtr :: Ptr (TTipWindow a) -> Ptr  b -> IO ()
+
+-- | usage: (@toggleButtonCreate parent id label xywh style@).
+toggleButtonCreate :: Window  a -> Id -> String -> Rect -> Int ->  IO (ToggleButton  ())
+toggleButtonCreate parent id label xywh style 
+  = withObjectResult $
+    withObjectPtr parent $ \cobj_parent -> 
+    withStringPtr label $ \cobj_label -> 
+    wxToggleButton_Create cobj_parent  (toCInt id)  cobj_label  (toCIntRectX xywh) (toCIntRectY xywh)(toCIntRectW xywh) (toCIntRectH xywh)  (toCInt style)  
+foreign import ccall "wxToggleButton_Create" wxToggleButton_Create :: Ptr (TWindow a) -> CInt -> Ptr (TWxString c) -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TToggleButton ()))
+
+-- | usage: (@toggleButtonEnable obj enable@).
+toggleButtonEnable :: ToggleButton  a -> Bool ->  IO Bool
+toggleButtonEnable _obj enable 
+  = withBoolResult $
+    withObjectRef "toggleButtonEnable" _obj $ \cobj__obj -> 
+    wxToggleButton_Enable cobj__obj  (toCBool enable)  
+foreign import ccall "wxToggleButton_Enable" wxToggleButton_Enable :: Ptr (TToggleButton a) -> CBool -> IO CBool
+
+-- | usage: (@toggleButtonGetValue obj@).
+toggleButtonGetValue :: ToggleButton  a ->  IO Bool
+toggleButtonGetValue _obj 
+  = withBoolResult $
+    withObjectRef "toggleButtonGetValue" _obj $ \cobj__obj -> 
+    wxToggleButton_GetValue cobj__obj  
+foreign import ccall "wxToggleButton_GetValue" wxToggleButton_GetValue :: Ptr (TToggleButton a) -> IO CBool
+
+-- | usage: (@toggleButtonSetLabel obj label@).
+toggleButtonSetLabel :: ToggleButton  a -> String ->  IO ()
+toggleButtonSetLabel _obj label 
+  = withObjectRef "toggleButtonSetLabel" _obj $ \cobj__obj -> 
+    withStringPtr label $ \cobj_label -> 
+    wxToggleButton_SetLabel cobj__obj  cobj_label  
+foreign import ccall "wxToggleButton_SetLabel" wxToggleButton_SetLabel :: Ptr (TToggleButton a) -> Ptr (TWxString b) -> IO ()
+
+-- | usage: (@toggleButtonSetValue obj state@).
+toggleButtonSetValue :: ToggleButton  a -> Bool ->  IO ()
+toggleButtonSetValue _obj state 
+  = withObjectRef "toggleButtonSetValue" _obj $ \cobj__obj -> 
+    wxToggleButton_SetValue cobj__obj  (toCBool state)  
+foreign import ccall "wxToggleButton_SetValue" wxToggleButton_SetValue :: Ptr (TToggleButton a) -> CBool -> IO ()
+
+-- | usage: (@toolBarAddControl obj ctrl@).
+toolBarAddControl :: ToolBar  a -> Control  b ->  IO Bool
+toolBarAddControl _obj ctrl 
+  = withBoolResult $
+    withObjectRef "toolBarAddControl" _obj $ \cobj__obj -> 
+    withObjectPtr ctrl $ \cobj_ctrl -> 
+    wxToolBar_AddControl cobj__obj  cobj_ctrl  
+foreign import ccall "wxToolBar_AddControl" wxToolBar_AddControl :: Ptr (TToolBar a) -> Ptr (TControl b) -> IO CBool
+
+-- | usage: (@toolBarAddSeparator obj@).
+toolBarAddSeparator :: ToolBar  a ->  IO ()
+toolBarAddSeparator _obj 
+  = withObjectRef "toolBarAddSeparator" _obj $ \cobj__obj -> 
+    wxToolBar_AddSeparator cobj__obj  
+foreign import ccall "wxToolBar_AddSeparator" wxToolBar_AddSeparator :: Ptr (TToolBar a) -> IO ()
+
+-- | usage: (@toolBarAddTool obj toolid label bitmap bmpDisabled kind shortHelp longHelp wxdata@).
+toolBarAddTool :: ToolBar  a -> Int -> String -> Bitmap  d -> Bitmap  e -> Int -> String -> String -> WxObject  i ->  IO ()
+toolBarAddTool _obj toolid label bitmap bmpDisabled kind shortHelp longHelp wxdata 
+  = withObjectRef "toolBarAddTool" _obj $ \cobj__obj -> 
+    withStringPtr label $ \cobj_label -> 
+    withObjectPtr bitmap $ \cobj_bitmap -> 
+    withObjectPtr bmpDisabled $ \cobj_bmpDisabled -> 
+    withStringPtr shortHelp $ \cobj_shortHelp -> 
+    withStringPtr longHelp $ \cobj_longHelp -> 
+    withObjectPtr wxdata $ \cobj_wxdata -> 
+    wxToolBar_AddTool cobj__obj  (toCInt toolid)  cobj_label  cobj_bitmap  cobj_bmpDisabled  (toCInt kind)  cobj_shortHelp  cobj_longHelp  cobj_wxdata  
+foreign import ccall "wxToolBar_AddTool" wxToolBar_AddTool :: Ptr (TToolBar a) -> CInt -> Ptr (TWxString c) -> Ptr (TBitmap d) -> Ptr (TBitmap e) -> CInt -> Ptr (TWxString g) -> Ptr (TWxString h) -> Ptr (TWxObject i) -> IO ()
+
+-- | usage: (@toolBarAddTool2 obj toolId label bmp bmpDisabled itemKind shortHelp longHelp@).
+toolBarAddTool2 :: ToolBar  a -> Int -> String -> Bitmap  d -> Bitmap  e -> Int -> String -> String ->  IO ()
+toolBarAddTool2 _obj toolId label bmp bmpDisabled itemKind shortHelp longHelp 
+  = withObjectRef "toolBarAddTool2" _obj $ \cobj__obj -> 
+    withStringPtr label $ \cobj_label -> 
+    withObjectPtr bmp $ \cobj_bmp -> 
+    withObjectPtr bmpDisabled $ \cobj_bmpDisabled -> 
+    withStringPtr shortHelp $ \cobj_shortHelp -> 
+    withStringPtr longHelp $ \cobj_longHelp -> 
+    wxToolBar_AddTool2 cobj__obj  (toCInt toolId)  cobj_label  cobj_bmp  cobj_bmpDisabled  (toCInt itemKind)  cobj_shortHelp  cobj_longHelp  
+foreign import ccall "wxToolBar_AddTool2" wxToolBar_AddTool2 :: Ptr (TToolBar a) -> CInt -> Ptr (TWxString c) -> Ptr (TBitmap d) -> Ptr (TBitmap e) -> CInt -> Ptr (TWxString g) -> Ptr (TWxString h) -> IO ()
+
+-- | usage: (@toolBarCreate prt id lfttopwdthgt stl@).
+toolBarCreate :: Window  a -> Id -> Rect -> Style ->  IO (ToolBar  ())
+toolBarCreate _prt _id _lfttopwdthgt _stl 
+  = withObjectResult $
+    withObjectPtr _prt $ \cobj__prt -> 
+    wxToolBar_Create cobj__prt  (toCInt _id)  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  (toCInt _stl)  
+foreign import ccall "wxToolBar_Create" wxToolBar_Create :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TToolBar ()))
+
+-- | usage: (@toolBarDelete obj@).
+toolBarDelete :: ToolBar  a ->  IO ()
+toolBarDelete
+  = objectDelete
+
+
+-- | usage: (@toolBarDeleteTool obj id@).
+toolBarDeleteTool :: ToolBar  a -> Id ->  IO Bool
+toolBarDeleteTool _obj id 
+  = withBoolResult $
+    withObjectRef "toolBarDeleteTool" _obj $ \cobj__obj -> 
+    wxToolBar_DeleteTool cobj__obj  (toCInt id)  
+foreign import ccall "wxToolBar_DeleteTool" wxToolBar_DeleteTool :: Ptr (TToolBar a) -> CInt -> IO CBool
+
+-- | usage: (@toolBarDeleteToolByPos obj pos@).
+toolBarDeleteToolByPos :: ToolBar  a -> Int ->  IO Bool
+toolBarDeleteToolByPos _obj pos 
+  = withBoolResult $
+    withObjectRef "toolBarDeleteToolByPos" _obj $ \cobj__obj -> 
+    wxToolBar_DeleteToolByPos cobj__obj  (toCInt pos)  
+foreign import ccall "wxToolBar_DeleteToolByPos" wxToolBar_DeleteToolByPos :: Ptr (TToolBar a) -> CInt -> IO CBool
+
+-- | usage: (@toolBarEnableTool obj id enable@).
+toolBarEnableTool :: ToolBar  a -> Id -> Bool ->  IO ()
+toolBarEnableTool _obj id enable 
+  = withObjectRef "toolBarEnableTool" _obj $ \cobj__obj -> 
+    wxToolBar_EnableTool cobj__obj  (toCInt id)  (toCBool enable)  
+foreign import ccall "wxToolBar_EnableTool" wxToolBar_EnableTool :: Ptr (TToolBar a) -> CInt -> CBool -> IO ()
+
+-- | usage: (@toolBarGetMargins obj@).
+toolBarGetMargins :: ToolBar  a ->  IO (Point)
+toolBarGetMargins _obj 
+  = withWxPointResult $
+    withObjectRef "toolBarGetMargins" _obj $ \cobj__obj -> 
+    wxToolBar_GetMargins cobj__obj  
+foreign import ccall "wxToolBar_GetMargins" wxToolBar_GetMargins :: Ptr (TToolBar a) -> IO (Ptr (TWxPoint ()))
+
+-- | usage: (@toolBarGetToolBitmapSize obj@).
+toolBarGetToolBitmapSize :: ToolBar  a ->  IO (Size)
+toolBarGetToolBitmapSize _obj 
+  = withWxSizeResult $
+    withObjectRef "toolBarGetToolBitmapSize" _obj $ \cobj__obj -> 
+    wxToolBar_GetToolBitmapSize cobj__obj  
+foreign import ccall "wxToolBar_GetToolBitmapSize" wxToolBar_GetToolBitmapSize :: Ptr (TToolBar a) -> IO (Ptr (TWxSize ()))
+
+-- | usage: (@toolBarGetToolClientData obj id@).
+toolBarGetToolClientData :: ToolBar  a -> Id ->  IO (WxObject  ())
+toolBarGetToolClientData _obj id 
+  = withObjectResult $
+    withObjectRef "toolBarGetToolClientData" _obj $ \cobj__obj -> 
+    wxToolBar_GetToolClientData cobj__obj  (toCInt id)  
+foreign import ccall "wxToolBar_GetToolClientData" wxToolBar_GetToolClientData :: Ptr (TToolBar a) -> CInt -> IO (Ptr (TWxObject ()))
+
+-- | usage: (@toolBarGetToolEnabled obj id@).
+toolBarGetToolEnabled :: ToolBar  a -> Id ->  IO Bool
+toolBarGetToolEnabled _obj id 
+  = withBoolResult $
+    withObjectRef "toolBarGetToolEnabled" _obj $ \cobj__obj -> 
+    wxToolBar_GetToolEnabled cobj__obj  (toCInt id)  
+foreign import ccall "wxToolBar_GetToolEnabled" wxToolBar_GetToolEnabled :: Ptr (TToolBar a) -> CInt -> IO CBool
+
+-- | usage: (@toolBarGetToolLongHelp obj id@).
+toolBarGetToolLongHelp :: ToolBar  a -> Id ->  IO (String)
+toolBarGetToolLongHelp _obj id 
+  = withManagedStringResult $
+    withObjectRef "toolBarGetToolLongHelp" _obj $ \cobj__obj -> 
+    wxToolBar_GetToolLongHelp cobj__obj  (toCInt id)  
+foreign import ccall "wxToolBar_GetToolLongHelp" wxToolBar_GetToolLongHelp :: Ptr (TToolBar a) -> CInt -> IO (Ptr (TWxString ()))
+
+-- | usage: (@toolBarGetToolPacking obj@).
+toolBarGetToolPacking :: ToolBar  a ->  IO Int
+toolBarGetToolPacking _obj 
+  = withIntResult $
+    withObjectRef "toolBarGetToolPacking" _obj $ \cobj__obj -> 
+    wxToolBar_GetToolPacking cobj__obj  
+foreign import ccall "wxToolBar_GetToolPacking" wxToolBar_GetToolPacking :: Ptr (TToolBar a) -> IO CInt
+
+-- | usage: (@toolBarGetToolShortHelp obj id@).
+toolBarGetToolShortHelp :: ToolBar  a -> Id ->  IO (String)
+toolBarGetToolShortHelp _obj id 
+  = withManagedStringResult $
+    withObjectRef "toolBarGetToolShortHelp" _obj $ \cobj__obj -> 
+    wxToolBar_GetToolShortHelp cobj__obj  (toCInt id)  
+foreign import ccall "wxToolBar_GetToolShortHelp" wxToolBar_GetToolShortHelp :: Ptr (TToolBar a) -> CInt -> IO (Ptr (TWxString ()))
+
+-- | usage: (@toolBarGetToolSize obj@).
+toolBarGetToolSize :: ToolBar  a ->  IO (Size)
+toolBarGetToolSize _obj 
+  = withWxSizeResult $
+    withObjectRef "toolBarGetToolSize" _obj $ \cobj__obj -> 
+    wxToolBar_GetToolSize cobj__obj  
+foreign import ccall "wxToolBar_GetToolSize" wxToolBar_GetToolSize :: Ptr (TToolBar a) -> IO (Ptr (TWxSize ()))
+
+-- | usage: (@toolBarGetToolState obj id@).
+toolBarGetToolState :: ToolBar  a -> Id ->  IO Bool
+toolBarGetToolState _obj id 
+  = withBoolResult $
+    withObjectRef "toolBarGetToolState" _obj $ \cobj__obj -> 
+    wxToolBar_GetToolState cobj__obj  (toCInt id)  
+foreign import ccall "wxToolBar_GetToolState" wxToolBar_GetToolState :: Ptr (TToolBar a) -> CInt -> IO CBool
+
+-- | usage: (@toolBarInsertControl obj pos ctrl@).
+toolBarInsertControl :: ToolBar  a -> Int -> Control  c ->  IO ()
+toolBarInsertControl _obj pos ctrl 
+  = withObjectRef "toolBarInsertControl" _obj $ \cobj__obj -> 
+    withObjectPtr ctrl $ \cobj_ctrl -> 
+    wxToolBar_InsertControl cobj__obj  (toCInt pos)  cobj_ctrl  
+foreign import ccall "wxToolBar_InsertControl" wxToolBar_InsertControl :: Ptr (TToolBar a) -> CInt -> Ptr (TControl c) -> IO ()
+
+-- | usage: (@toolBarInsertSeparator obj pos@).
+toolBarInsertSeparator :: ToolBar  a -> Int ->  IO ()
+toolBarInsertSeparator _obj pos 
+  = withObjectRef "toolBarInsertSeparator" _obj $ \cobj__obj -> 
+    wxToolBar_InsertSeparator cobj__obj  (toCInt pos)  
+foreign import ccall "wxToolBar_InsertSeparator" wxToolBar_InsertSeparator :: Ptr (TToolBar a) -> CInt -> IO ()
+
+-- | usage: (@toolBarRealize obj@).
+toolBarRealize :: ToolBar  a ->  IO Bool
+toolBarRealize _obj 
+  = withBoolResult $
+    withObjectRef "toolBarRealize" _obj $ \cobj__obj -> 
+    wxToolBar_Realize cobj__obj  
+foreign import ccall "wxToolBar_Realize" wxToolBar_Realize :: Ptr (TToolBar a) -> IO CBool
+
+-- | usage: (@toolBarRemoveTool obj id@).
+toolBarRemoveTool :: ToolBar  a -> Id ->  IO ()
+toolBarRemoveTool _obj id 
+  = withObjectRef "toolBarRemoveTool" _obj $ \cobj__obj -> 
+    wxToolBar_RemoveTool cobj__obj  (toCInt id)  
+foreign import ccall "wxToolBar_RemoveTool" wxToolBar_RemoveTool :: Ptr (TToolBar a) -> CInt -> IO ()
+
+-- | usage: (@toolBarSetMargins obj xy@).
+toolBarSetMargins :: ToolBar  a -> Point ->  IO ()
+toolBarSetMargins _obj xy 
+  = withObjectRef "toolBarSetMargins" _obj $ \cobj__obj -> 
+    wxToolBar_SetMargins cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  
+foreign import ccall "wxToolBar_SetMargins" wxToolBar_SetMargins :: Ptr (TToolBar a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@toolBarSetToolBitmapSize obj xy@).
+toolBarSetToolBitmapSize :: ToolBar  a -> Size ->  IO ()
+toolBarSetToolBitmapSize _obj xy 
+  = withObjectRef "toolBarSetToolBitmapSize" _obj $ \cobj__obj -> 
+    wxToolBar_SetToolBitmapSize cobj__obj  (toCIntSizeW xy) (toCIntSizeH xy)  
+foreign import ccall "wxToolBar_SetToolBitmapSize" wxToolBar_SetToolBitmapSize :: Ptr (TToolBar a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@toolBarSetToolClientData obj id wxdata@).
+toolBarSetToolClientData :: ToolBar  a -> Id -> WxObject  c ->  IO ()
+toolBarSetToolClientData _obj id wxdata 
+  = withObjectRef "toolBarSetToolClientData" _obj $ \cobj__obj -> 
+    withObjectPtr wxdata $ \cobj_wxdata -> 
+    wxToolBar_SetToolClientData cobj__obj  (toCInt id)  cobj_wxdata  
+foreign import ccall "wxToolBar_SetToolClientData" wxToolBar_SetToolClientData :: Ptr (TToolBar a) -> CInt -> Ptr (TWxObject c) -> IO ()
+
+-- | usage: (@toolBarSetToolLongHelp obj id str@).
+toolBarSetToolLongHelp :: ToolBar  a -> Id -> String ->  IO ()
+toolBarSetToolLongHelp _obj id str 
+  = withObjectRef "toolBarSetToolLongHelp" _obj $ \cobj__obj -> 
+    withStringPtr str $ \cobj_str -> 
+    wxToolBar_SetToolLongHelp cobj__obj  (toCInt id)  cobj_str  
+foreign import ccall "wxToolBar_SetToolLongHelp" wxToolBar_SetToolLongHelp :: Ptr (TToolBar a) -> CInt -> Ptr (TWxString c) -> IO ()
+
+-- | usage: (@toolBarSetToolPacking obj packing@).
+toolBarSetToolPacking :: ToolBar  a -> Int ->  IO ()
+toolBarSetToolPacking _obj packing 
+  = withObjectRef "toolBarSetToolPacking" _obj $ \cobj__obj -> 
+    wxToolBar_SetToolPacking cobj__obj  (toCInt packing)  
+foreign import ccall "wxToolBar_SetToolPacking" wxToolBar_SetToolPacking :: Ptr (TToolBar a) -> CInt -> IO ()
+
+-- | usage: (@toolBarSetToolSeparation obj separation@).
+toolBarSetToolSeparation :: ToolBar  a -> Int ->  IO ()
+toolBarSetToolSeparation _obj separation 
+  = withObjectRef "toolBarSetToolSeparation" _obj $ \cobj__obj -> 
+    wxToolBar_SetToolSeparation cobj__obj  (toCInt separation)  
+foreign import ccall "wxToolBar_SetToolSeparation" wxToolBar_SetToolSeparation :: Ptr (TToolBar a) -> CInt -> IO ()
+
+-- | usage: (@toolBarSetToolShortHelp obj id str@).
+toolBarSetToolShortHelp :: ToolBar  a -> Id -> String ->  IO ()
+toolBarSetToolShortHelp _obj id str 
+  = withObjectRef "toolBarSetToolShortHelp" _obj $ \cobj__obj -> 
+    withStringPtr str $ \cobj_str -> 
+    wxToolBar_SetToolShortHelp cobj__obj  (toCInt id)  cobj_str  
+foreign import ccall "wxToolBar_SetToolShortHelp" wxToolBar_SetToolShortHelp :: Ptr (TToolBar a) -> CInt -> Ptr (TWxString c) -> IO ()
+
+-- | usage: (@toolBarToggleTool obj id toggle@).
+toolBarToggleTool :: ToolBar  a -> Id -> Bool ->  IO ()
+toolBarToggleTool _obj id toggle 
+  = withObjectRef "toolBarToggleTool" _obj $ \cobj__obj -> 
+    wxToolBar_ToggleTool cobj__obj  (toCInt id)  (toCBool toggle)  
+foreign import ccall "wxToolBar_ToggleTool" wxToolBar_ToggleTool :: Ptr (TToolBar a) -> CInt -> CBool -> IO ()
+
+-- | usage: (@topLevelWindowEnableCloseButton obj enable@).
+topLevelWindowEnableCloseButton :: TopLevelWindow  a -> Bool ->  IO Bool
+topLevelWindowEnableCloseButton _obj enable 
+  = withBoolResult $
+    withObjectRef "topLevelWindowEnableCloseButton" _obj $ \cobj__obj -> 
+    wxTopLevelWindow_EnableCloseButton cobj__obj  (toCBool enable)  
+foreign import ccall "wxTopLevelWindow_EnableCloseButton" wxTopLevelWindow_EnableCloseButton :: Ptr (TTopLevelWindow a) -> CBool -> IO CBool
+
+-- | usage: (@topLevelWindowGetDefaultButton obj@).
+topLevelWindowGetDefaultButton :: TopLevelWindow  a ->  IO (Button  ())
+topLevelWindowGetDefaultButton _obj 
+  = withObjectResult $
+    withObjectRef "topLevelWindowGetDefaultButton" _obj $ \cobj__obj -> 
+    wxTopLevelWindow_GetDefaultButton cobj__obj  
+foreign import ccall "wxTopLevelWindow_GetDefaultButton" wxTopLevelWindow_GetDefaultButton :: Ptr (TTopLevelWindow a) -> IO (Ptr (TButton ()))
+
+-- | usage: (@topLevelWindowGetDefaultItem obj@).
+topLevelWindowGetDefaultItem :: TopLevelWindow  a ->  IO (Window  ())
+topLevelWindowGetDefaultItem _obj 
+  = withObjectResult $
+    withObjectRef "topLevelWindowGetDefaultItem" _obj $ \cobj__obj -> 
+    wxTopLevelWindow_GetDefaultItem cobj__obj  
+foreign import ccall "wxTopLevelWindow_GetDefaultItem" wxTopLevelWindow_GetDefaultItem :: Ptr (TTopLevelWindow a) -> IO (Ptr (TWindow ()))
+
+-- | usage: (@topLevelWindowGetIcon obj@).
+topLevelWindowGetIcon :: TopLevelWindow  a ->  IO (Icon  ())
+topLevelWindowGetIcon _obj 
+  = withManagedIconResult $
+    withObjectRef "topLevelWindowGetIcon" _obj $ \cobj__obj -> 
+    wxTopLevelWindow_GetIcon cobj__obj  
+foreign import ccall "wxTopLevelWindow_GetIcon" wxTopLevelWindow_GetIcon :: Ptr (TTopLevelWindow a) -> IO (Ptr (TIcon ()))
+
+-- | usage: (@topLevelWindowGetTitle obj@).
+topLevelWindowGetTitle :: TopLevelWindow  a ->  IO (String)
+topLevelWindowGetTitle _obj 
+  = withManagedStringResult $
+    withObjectRef "topLevelWindowGetTitle" _obj $ \cobj__obj -> 
+    wxTopLevelWindow_GetTitle cobj__obj  
+foreign import ccall "wxTopLevelWindow_GetTitle" wxTopLevelWindow_GetTitle :: Ptr (TTopLevelWindow a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@topLevelWindowIconize obj iconize@).
+topLevelWindowIconize :: TopLevelWindow  a -> Bool ->  IO Bool
+topLevelWindowIconize _obj iconize 
+  = withBoolResult $
+    withObjectRef "topLevelWindowIconize" _obj $ \cobj__obj -> 
+    wxTopLevelWindow_Iconize cobj__obj  (toCBool iconize)  
+foreign import ccall "wxTopLevelWindow_Iconize" wxTopLevelWindow_Iconize :: Ptr (TTopLevelWindow a) -> CBool -> IO CBool
+
+-- | usage: (@topLevelWindowIsActive obj@).
+topLevelWindowIsActive :: TopLevelWindow  a ->  IO Bool
+topLevelWindowIsActive _obj 
+  = withBoolResult $
+    withObjectRef "topLevelWindowIsActive" _obj $ \cobj__obj -> 
+    wxTopLevelWindow_IsActive cobj__obj  
+foreign import ccall "wxTopLevelWindow_IsActive" wxTopLevelWindow_IsActive :: Ptr (TTopLevelWindow a) -> IO CBool
+
+-- | usage: (@topLevelWindowIsIconized obj@).
+topLevelWindowIsIconized :: TopLevelWindow  a ->  IO Bool
+topLevelWindowIsIconized _obj 
+  = withBoolResult $
+    withObjectRef "topLevelWindowIsIconized" _obj $ \cobj__obj -> 
+    wxTopLevelWindow_IsIconized cobj__obj  
+foreign import ccall "wxTopLevelWindow_IsIconized" wxTopLevelWindow_IsIconized :: Ptr (TTopLevelWindow a) -> IO CBool
+
+-- | usage: (@topLevelWindowIsMaximized obj@).
+topLevelWindowIsMaximized :: TopLevelWindow  a ->  IO Bool
+topLevelWindowIsMaximized _obj 
+  = withBoolResult $
+    withObjectRef "topLevelWindowIsMaximized" _obj $ \cobj__obj -> 
+    wxTopLevelWindow_IsMaximized cobj__obj  
+foreign import ccall "wxTopLevelWindow_IsMaximized" wxTopLevelWindow_IsMaximized :: Ptr (TTopLevelWindow a) -> IO CBool
+
+-- | usage: (@topLevelWindowMaximize obj maximize@).
+topLevelWindowMaximize :: TopLevelWindow  a -> Bool ->  IO ()
+topLevelWindowMaximize _obj maximize 
+  = withObjectRef "topLevelWindowMaximize" _obj $ \cobj__obj -> 
+    wxTopLevelWindow_Maximize cobj__obj  (toCBool maximize)  
+foreign import ccall "wxTopLevelWindow_Maximize" wxTopLevelWindow_Maximize :: Ptr (TTopLevelWindow a) -> CBool -> IO ()
+
+-- | usage: (@topLevelWindowRequestUserAttention obj flags@).
+topLevelWindowRequestUserAttention :: TopLevelWindow  a -> Int ->  IO ()
+topLevelWindowRequestUserAttention _obj flags 
+  = withObjectRef "topLevelWindowRequestUserAttention" _obj $ \cobj__obj -> 
+    wxTopLevelWindow_RequestUserAttention cobj__obj  (toCInt flags)  
+foreign import ccall "wxTopLevelWindow_RequestUserAttention" wxTopLevelWindow_RequestUserAttention :: Ptr (TTopLevelWindow a) -> CInt -> IO ()
+
+-- | usage: (@topLevelWindowSetDefaultButton obj pBut@).
+topLevelWindowSetDefaultButton :: TopLevelWindow  a -> Button  b ->  IO ()
+topLevelWindowSetDefaultButton _obj pBut 
+  = withObjectRef "topLevelWindowSetDefaultButton" _obj $ \cobj__obj -> 
+    withObjectPtr pBut $ \cobj_pBut -> 
+    wxTopLevelWindow_SetDefaultButton cobj__obj  cobj_pBut  
+foreign import ccall "wxTopLevelWindow_SetDefaultButton" wxTopLevelWindow_SetDefaultButton :: Ptr (TTopLevelWindow a) -> Ptr (TButton b) -> IO ()
+
+-- | usage: (@topLevelWindowSetDefaultItem obj pBut@).
+topLevelWindowSetDefaultItem :: TopLevelWindow  a -> Window  b ->  IO ()
+topLevelWindowSetDefaultItem _obj pBut 
+  = withObjectRef "topLevelWindowSetDefaultItem" _obj $ \cobj__obj -> 
+    withObjectPtr pBut $ \cobj_pBut -> 
+    wxTopLevelWindow_SetDefaultItem cobj__obj  cobj_pBut  
+foreign import ccall "wxTopLevelWindow_SetDefaultItem" wxTopLevelWindow_SetDefaultItem :: Ptr (TTopLevelWindow a) -> Ptr (TWindow b) -> IO ()
+
+-- | usage: (@topLevelWindowSetIcon obj pIcon@).
+topLevelWindowSetIcon :: TopLevelWindow  a -> Icon  b ->  IO ()
+topLevelWindowSetIcon _obj pIcon 
+  = withObjectRef "topLevelWindowSetIcon" _obj $ \cobj__obj -> 
+    withObjectPtr pIcon $ \cobj_pIcon -> 
+    wxTopLevelWindow_SetIcon cobj__obj  cobj_pIcon  
+foreign import ccall "wxTopLevelWindow_SetIcon" wxTopLevelWindow_SetIcon :: Ptr (TTopLevelWindow a) -> Ptr (TIcon b) -> IO ()
+
+-- | usage: (@topLevelWindowSetIcons obj icons@).
+topLevelWindowSetIcons :: TopLevelWindow  a -> Ptr  b ->  IO ()
+topLevelWindowSetIcons _obj _icons 
+  = withObjectRef "topLevelWindowSetIcons" _obj $ \cobj__obj -> 
+    wxTopLevelWindow_SetIcons cobj__obj  _icons  
+foreign import ccall "wxTopLevelWindow_SetIcons" wxTopLevelWindow_SetIcons :: Ptr (TTopLevelWindow a) -> Ptr  b -> IO ()
+
+-- | usage: (@topLevelWindowSetMaxSize obj wh@).
+topLevelWindowSetMaxSize :: TopLevelWindow  a -> Size ->  IO ()
+topLevelWindowSetMaxSize _obj wh 
+  = withObjectRef "topLevelWindowSetMaxSize" _obj $ \cobj__obj -> 
+    wxTopLevelWindow_SetMaxSize cobj__obj  (toCIntSizeW wh) (toCIntSizeH wh)  
+foreign import ccall "wxTopLevelWindow_SetMaxSize" wxTopLevelWindow_SetMaxSize :: Ptr (TTopLevelWindow a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@topLevelWindowSetMinSize obj wh@).
+topLevelWindowSetMinSize :: TopLevelWindow  a -> Size ->  IO ()
+topLevelWindowSetMinSize _obj wh 
+  = withObjectRef "topLevelWindowSetMinSize" _obj $ \cobj__obj -> 
+    wxTopLevelWindow_SetMinSize cobj__obj  (toCIntSizeW wh) (toCIntSizeH wh)  
+foreign import ccall "wxTopLevelWindow_SetMinSize" wxTopLevelWindow_SetMinSize :: Ptr (TTopLevelWindow a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@topLevelWindowSetTitle obj pString@).
+topLevelWindowSetTitle :: TopLevelWindow  a -> String ->  IO ()
+topLevelWindowSetTitle _obj pString 
+  = withObjectRef "topLevelWindowSetTitle" _obj $ \cobj__obj -> 
+    withStringPtr pString $ \cobj_pString -> 
+    wxTopLevelWindow_SetTitle cobj__obj  cobj_pString  
+foreign import ccall "wxTopLevelWindow_SetTitle" wxTopLevelWindow_SetTitle :: Ptr (TTopLevelWindow a) -> Ptr (TWxString b) -> IO ()
+
+-- | usage: (@treeCtrlAddRoot obj text image selectedImage wxdata@).
+treeCtrlAddRoot :: TreeCtrl  a -> String -> Int -> Int -> TreeItemData  e ->  IO (TreeItem)
+treeCtrlAddRoot _obj text image selectedImage wxdata 
+  = withRefTreeItemId $ \pref -> 
+    withObjectRef "treeCtrlAddRoot" _obj $ \cobj__obj -> 
+    withStringPtr text $ \cobj_text -> 
+    withObjectPtr wxdata $ \cobj_wxdata -> 
+    wxTreeCtrl_AddRoot cobj__obj  cobj_text  (toCInt image)  (toCInt selectedImage)  cobj_wxdata   pref
+foreign import ccall "wxTreeCtrl_AddRoot" wxTreeCtrl_AddRoot :: Ptr (TTreeCtrl a) -> Ptr (TWxString b) -> CInt -> CInt -> Ptr (TTreeItemData e) -> Ptr (TTreeItemId ()) -> IO ()
+
+-- | usage: (@treeCtrlAppendItem obj parent text image selectedImage wxdata@).
+treeCtrlAppendItem :: TreeCtrl  a -> TreeItem -> String -> Int -> Int -> TreeItemData  f ->  IO (TreeItem)
+treeCtrlAppendItem _obj parent text image selectedImage wxdata 
+  = withRefTreeItemId $ \pref -> 
+    withObjectRef "treeCtrlAppendItem" _obj $ \cobj__obj -> 
+    withTreeItemIdPtr parent $ \cobj_parent -> 
+    withStringPtr text $ \cobj_text -> 
+    withObjectPtr wxdata $ \cobj_wxdata -> 
+    wxTreeCtrl_AppendItem cobj__obj  cobj_parent  cobj_text  (toCInt image)  (toCInt selectedImage)  cobj_wxdata   pref
+foreign import ccall "wxTreeCtrl_AppendItem" wxTreeCtrl_AppendItem :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> Ptr (TWxString c) -> CInt -> CInt -> Ptr (TTreeItemData f) -> Ptr (TTreeItemId ()) -> IO ()
+
+-- | usage: (@treeCtrlAssignImageList obj imageList@).
+treeCtrlAssignImageList :: TreeCtrl  a -> ImageList  b ->  IO ()
+treeCtrlAssignImageList _obj imageList 
+  = withObjectRef "treeCtrlAssignImageList" _obj $ \cobj__obj -> 
+    withObjectPtr imageList $ \cobj_imageList -> 
+    wxTreeCtrl_AssignImageList cobj__obj  cobj_imageList  
+foreign import ccall "wxTreeCtrl_AssignImageList" wxTreeCtrl_AssignImageList :: Ptr (TTreeCtrl a) -> Ptr (TImageList b) -> IO ()
+
+-- | usage: (@treeCtrlAssignStateImageList obj imageList@).
+treeCtrlAssignStateImageList :: TreeCtrl  a -> ImageList  b ->  IO ()
+treeCtrlAssignStateImageList _obj imageList 
+  = withObjectRef "treeCtrlAssignStateImageList" _obj $ \cobj__obj -> 
+    withObjectPtr imageList $ \cobj_imageList -> 
+    wxTreeCtrl_AssignStateImageList cobj__obj  cobj_imageList  
+foreign import ccall "wxTreeCtrl_AssignStateImageList" wxTreeCtrl_AssignStateImageList :: Ptr (TTreeCtrl a) -> Ptr (TImageList b) -> IO ()
+
+-- | usage: (@treeCtrlCollapse obj item@).
+treeCtrlCollapse :: TreeCtrl  a -> TreeItem ->  IO ()
+treeCtrlCollapse _obj item 
+  = withObjectRef "treeCtrlCollapse" _obj $ \cobj__obj -> 
+    withTreeItemIdPtr item $ \cobj_item -> 
+    wxTreeCtrl_Collapse cobj__obj  cobj_item  
+foreign import ccall "wxTreeCtrl_Collapse" wxTreeCtrl_Collapse :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> IO ()
+
+-- | usage: (@treeCtrlCollapseAndReset obj item@).
+treeCtrlCollapseAndReset :: TreeCtrl  a -> TreeItem ->  IO ()
+treeCtrlCollapseAndReset _obj item 
+  = withObjectRef "treeCtrlCollapseAndReset" _obj $ \cobj__obj -> 
+    withTreeItemIdPtr item $ \cobj_item -> 
+    wxTreeCtrl_CollapseAndReset cobj__obj  cobj_item  
+foreign import ccall "wxTreeCtrl_CollapseAndReset" wxTreeCtrl_CollapseAndReset :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> IO ()
+
+-- | usage: (@treeCtrlCreate obj cmp prt id lfttopwdthgt stl@).
+treeCtrlCreate :: Ptr  a -> Ptr  b -> Window  c -> Id -> Rect -> Style ->  IO (TreeCtrl  ())
+treeCtrlCreate _obj _cmp _prt _id _lfttopwdthgt _stl 
+  = withObjectResult $
+    withObjectPtr _prt $ \cobj__prt -> 
+    wxTreeCtrl_Create _obj  _cmp  cobj__prt  (toCInt _id)  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  (toCInt _stl)  
+foreign import ccall "wxTreeCtrl_Create" wxTreeCtrl_Create :: Ptr  a -> Ptr  b -> Ptr (TWindow c) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TTreeCtrl ()))
+
+-- | usage: (@treeCtrlCreate2 prt id lfttopwdthgt stl@).
+treeCtrlCreate2 :: Window  a -> Id -> Rect -> Style ->  IO (TreeCtrl  ())
+treeCtrlCreate2 _prt _id _lfttopwdthgt _stl 
+  = withObjectResult $
+    withObjectPtr _prt $ \cobj__prt -> 
+    wxTreeCtrl_Create2 cobj__prt  (toCInt _id)  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  (toCInt _stl)  
+foreign import ccall "wxTreeCtrl_Create2" wxTreeCtrl_Create2 :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TTreeCtrl ()))
+
+-- | usage: (@treeCtrlDelete obj item@).
+treeCtrlDelete :: TreeCtrl  a -> TreeItem ->  IO ()
+treeCtrlDelete _obj item 
+  = withObjectRef "treeCtrlDelete" _obj $ \cobj__obj -> 
+    withTreeItemIdPtr item $ \cobj_item -> 
+    wxTreeCtrl_Delete cobj__obj  cobj_item  
+foreign import ccall "wxTreeCtrl_Delete" wxTreeCtrl_Delete :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> IO ()
+
+-- | usage: (@treeCtrlDeleteAllItems obj@).
+treeCtrlDeleteAllItems :: TreeCtrl  a ->  IO ()
+treeCtrlDeleteAllItems _obj 
+  = withObjectRef "treeCtrlDeleteAllItems" _obj $ \cobj__obj -> 
+    wxTreeCtrl_DeleteAllItems cobj__obj  
+foreign import ccall "wxTreeCtrl_DeleteAllItems" wxTreeCtrl_DeleteAllItems :: Ptr (TTreeCtrl a) -> IO ()
+
+-- | usage: (@treeCtrlDeleteChildren obj item@).
+treeCtrlDeleteChildren :: TreeCtrl  a -> TreeItem ->  IO ()
+treeCtrlDeleteChildren _obj item 
+  = withObjectRef "treeCtrlDeleteChildren" _obj $ \cobj__obj -> 
+    withTreeItemIdPtr item $ \cobj_item -> 
+    wxTreeCtrl_DeleteChildren cobj__obj  cobj_item  
+foreign import ccall "wxTreeCtrl_DeleteChildren" wxTreeCtrl_DeleteChildren :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> IO ()
+
+-- | usage: (@treeCtrlEditLabel obj item@).
+treeCtrlEditLabel :: TreeCtrl  a -> TreeItem ->  IO ()
+treeCtrlEditLabel _obj item 
+  = withObjectRef "treeCtrlEditLabel" _obj $ \cobj__obj -> 
+    withTreeItemIdPtr item $ \cobj_item -> 
+    wxTreeCtrl_EditLabel cobj__obj  cobj_item  
+foreign import ccall "wxTreeCtrl_EditLabel" wxTreeCtrl_EditLabel :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> IO ()
+
+-- | usage: (@treeCtrlEndEditLabel obj item discardChanges@).
+treeCtrlEndEditLabel :: TreeCtrl  a -> TreeItem -> Bool ->  IO ()
+treeCtrlEndEditLabel _obj item discardChanges 
+  = withObjectRef "treeCtrlEndEditLabel" _obj $ \cobj__obj -> 
+    withTreeItemIdPtr item $ \cobj_item -> 
+    wxTreeCtrl_EndEditLabel cobj__obj  cobj_item  (toCBool discardChanges)  
+foreign import ccall "wxTreeCtrl_EndEditLabel" wxTreeCtrl_EndEditLabel :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> CBool -> IO ()
+
+-- | usage: (@treeCtrlEnsureVisible obj item@).
+treeCtrlEnsureVisible :: TreeCtrl  a -> TreeItem ->  IO ()
+treeCtrlEnsureVisible _obj item 
+  = withObjectRef "treeCtrlEnsureVisible" _obj $ \cobj__obj -> 
+    withTreeItemIdPtr item $ \cobj_item -> 
+    wxTreeCtrl_EnsureVisible cobj__obj  cobj_item  
+foreign import ccall "wxTreeCtrl_EnsureVisible" wxTreeCtrl_EnsureVisible :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> IO ()
+
+-- | usage: (@treeCtrlExpand obj item@).
+treeCtrlExpand :: TreeCtrl  a -> TreeItem ->  IO ()
+treeCtrlExpand _obj item 
+  = withObjectRef "treeCtrlExpand" _obj $ \cobj__obj -> 
+    withTreeItemIdPtr item $ \cobj_item -> 
+    wxTreeCtrl_Expand cobj__obj  cobj_item  
+foreign import ccall "wxTreeCtrl_Expand" wxTreeCtrl_Expand :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> IO ()
+
+-- | usage: (@treeCtrlGetBoundingRect obj item textOnly@).
+treeCtrlGetBoundingRect :: TreeCtrl  a -> TreeItem -> Bool ->  IO (Rect)
+treeCtrlGetBoundingRect _obj item textOnly 
+  = withWxRectResult $
+    withObjectRef "treeCtrlGetBoundingRect" _obj $ \cobj__obj -> 
+    withTreeItemIdPtr item $ \cobj_item -> 
+    wxTreeCtrl_GetBoundingRect cobj__obj  cobj_item  (toCBool textOnly)  
+foreign import ccall "wxTreeCtrl_GetBoundingRect" wxTreeCtrl_GetBoundingRect :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> CBool -> IO (Ptr (TWxRect ()))
+
+-- | usage: (@treeCtrlGetChildrenCount obj item recursively@).
+treeCtrlGetChildrenCount :: TreeCtrl  a -> TreeItem -> Bool ->  IO Int
+treeCtrlGetChildrenCount _obj item recursively 
+  = withIntResult $
+    withObjectRef "treeCtrlGetChildrenCount" _obj $ \cobj__obj -> 
+    withTreeItemIdPtr item $ \cobj_item -> 
+    wxTreeCtrl_GetChildrenCount cobj__obj  cobj_item  (toCBool recursively)  
+foreign import ccall "wxTreeCtrl_GetChildrenCount" wxTreeCtrl_GetChildrenCount :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> CBool -> IO CInt
+
+-- | usage: (@treeCtrlGetCount obj@).
+treeCtrlGetCount :: TreeCtrl  a ->  IO Int
+treeCtrlGetCount _obj 
+  = withIntResult $
+    withObjectRef "treeCtrlGetCount" _obj $ \cobj__obj -> 
+    wxTreeCtrl_GetCount cobj__obj  
+foreign import ccall "wxTreeCtrl_GetCount" wxTreeCtrl_GetCount :: Ptr (TTreeCtrl a) -> IO CInt
+
+-- | usage: (@treeCtrlGetEditControl obj@).
+treeCtrlGetEditControl :: TreeCtrl  a ->  IO (TextCtrl  ())
+treeCtrlGetEditControl _obj 
+  = withObjectResult $
+    withObjectRef "treeCtrlGetEditControl" _obj $ \cobj__obj -> 
+    wxTreeCtrl_GetEditControl cobj__obj  
+foreign import ccall "wxTreeCtrl_GetEditControl" wxTreeCtrl_GetEditControl :: Ptr (TTreeCtrl a) -> IO (Ptr (TTextCtrl ()))
+
+-- | usage: (@treeCtrlGetFirstChild obj item cookie@).
+treeCtrlGetFirstChild :: TreeCtrl  a -> TreeItem -> Ptr CInt ->  IO (TreeItem)
+treeCtrlGetFirstChild _obj item cookie 
+  = withRefTreeItemId $ \pref -> 
+    withObjectRef "treeCtrlGetFirstChild" _obj $ \cobj__obj -> 
+    withTreeItemIdPtr item $ \cobj_item -> 
+    wxTreeCtrl_GetFirstChild cobj__obj  cobj_item  cookie   pref
+foreign import ccall "wxTreeCtrl_GetFirstChild" wxTreeCtrl_GetFirstChild :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> Ptr CInt -> Ptr (TTreeItemId ()) -> IO ()
+
+-- | usage: (@treeCtrlGetFirstVisibleItem obj item@).
+treeCtrlGetFirstVisibleItem :: TreeCtrl  a -> TreeItem ->  IO (TreeItem)
+treeCtrlGetFirstVisibleItem _obj item 
+  = withRefTreeItemId $ \pref -> 
+    withObjectRef "treeCtrlGetFirstVisibleItem" _obj $ \cobj__obj -> 
+    withTreeItemIdPtr item $ \cobj_item -> 
+    wxTreeCtrl_GetFirstVisibleItem cobj__obj  cobj_item   pref
+foreign import ccall "wxTreeCtrl_GetFirstVisibleItem" wxTreeCtrl_GetFirstVisibleItem :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> Ptr (TTreeItemId ()) -> IO ()
+
+-- | usage: (@treeCtrlGetImageList obj@).
+treeCtrlGetImageList :: TreeCtrl  a ->  IO (ImageList  ())
+treeCtrlGetImageList _obj 
+  = withObjectResult $
+    withObjectRef "treeCtrlGetImageList" _obj $ \cobj__obj -> 
+    wxTreeCtrl_GetImageList cobj__obj  
+foreign import ccall "wxTreeCtrl_GetImageList" wxTreeCtrl_GetImageList :: Ptr (TTreeCtrl a) -> IO (Ptr (TImageList ()))
+
+-- | usage: (@treeCtrlGetIndent obj@).
+treeCtrlGetIndent :: TreeCtrl  a ->  IO Int
+treeCtrlGetIndent _obj 
+  = withIntResult $
+    withObjectRef "treeCtrlGetIndent" _obj $ \cobj__obj -> 
+    wxTreeCtrl_GetIndent cobj__obj  
+foreign import ccall "wxTreeCtrl_GetIndent" wxTreeCtrl_GetIndent :: Ptr (TTreeCtrl a) -> IO CInt
+
+-- | usage: (@treeCtrlGetItemClientClosure obj item@).
+treeCtrlGetItemClientClosure :: TreeCtrl  a -> TreeItem ->  IO (Closure  ())
+treeCtrlGetItemClientClosure _obj item 
+  = withObjectResult $
+    withObjectRef "treeCtrlGetItemClientClosure" _obj $ \cobj__obj -> 
+    withTreeItemIdPtr item $ \cobj_item -> 
+    wxTreeCtrl_GetItemClientClosure cobj__obj  cobj_item  
+foreign import ccall "wxTreeCtrl_GetItemClientClosure" wxTreeCtrl_GetItemClientClosure :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> IO (Ptr (TClosure ()))
+
+-- | usage: (@treeCtrlGetItemData obj item@).
+treeCtrlGetItemData :: TreeCtrl  a -> TreeItem ->  IO (Ptr  ())
+treeCtrlGetItemData _obj item 
+  = withObjectRef "treeCtrlGetItemData" _obj $ \cobj__obj -> 
+    withTreeItemIdPtr item $ \cobj_item -> 
+    wxTreeCtrl_GetItemData cobj__obj  cobj_item  
+foreign import ccall "wxTreeCtrl_GetItemData" wxTreeCtrl_GetItemData :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> IO (Ptr  ())
+
+-- | usage: (@treeCtrlGetItemImage obj item which@).
+treeCtrlGetItemImage :: TreeCtrl  a -> TreeItem -> Int ->  IO Int
+treeCtrlGetItemImage _obj item which 
+  = withIntResult $
+    withObjectRef "treeCtrlGetItemImage" _obj $ \cobj__obj -> 
+    withTreeItemIdPtr item $ \cobj_item -> 
+    wxTreeCtrl_GetItemImage cobj__obj  cobj_item  (toCInt which)  
+foreign import ccall "wxTreeCtrl_GetItemImage" wxTreeCtrl_GetItemImage :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> CInt -> IO CInt
+
+-- | usage: (@treeCtrlGetItemText obj item@).
+treeCtrlGetItemText :: TreeCtrl  a -> TreeItem ->  IO (String)
+treeCtrlGetItemText _obj item 
+  = withManagedStringResult $
+    withObjectRef "treeCtrlGetItemText" _obj $ \cobj__obj -> 
+    withTreeItemIdPtr item $ \cobj_item -> 
+    wxTreeCtrl_GetItemText cobj__obj  cobj_item  
+foreign import ccall "wxTreeCtrl_GetItemText" wxTreeCtrl_GetItemText :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@treeCtrlGetLastChild obj item@).
+treeCtrlGetLastChild :: TreeCtrl  a -> TreeItem ->  IO (TreeItem)
+treeCtrlGetLastChild _obj item 
+  = withRefTreeItemId $ \pref -> 
+    withObjectRef "treeCtrlGetLastChild" _obj $ \cobj__obj -> 
+    withTreeItemIdPtr item $ \cobj_item -> 
+    wxTreeCtrl_GetLastChild cobj__obj  cobj_item   pref
+foreign import ccall "wxTreeCtrl_GetLastChild" wxTreeCtrl_GetLastChild :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> Ptr (TTreeItemId ()) -> IO ()
+
+-- | usage: (@treeCtrlGetNextChild obj item cookie@).
+treeCtrlGetNextChild :: TreeCtrl  a -> TreeItem -> Ptr CInt ->  IO (TreeItem)
+treeCtrlGetNextChild _obj item cookie 
+  = withRefTreeItemId $ \pref -> 
+    withObjectRef "treeCtrlGetNextChild" _obj $ \cobj__obj -> 
+    withTreeItemIdPtr item $ \cobj_item -> 
+    wxTreeCtrl_GetNextChild cobj__obj  cobj_item  cookie   pref
+foreign import ccall "wxTreeCtrl_GetNextChild" wxTreeCtrl_GetNextChild :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> Ptr CInt -> Ptr (TTreeItemId ()) -> IO ()
+
+-- | usage: (@treeCtrlGetNextSibling obj item@).
+treeCtrlGetNextSibling :: TreeCtrl  a -> TreeItem ->  IO (TreeItem)
+treeCtrlGetNextSibling _obj item 
+  = withRefTreeItemId $ \pref -> 
+    withObjectRef "treeCtrlGetNextSibling" _obj $ \cobj__obj -> 
+    withTreeItemIdPtr item $ \cobj_item -> 
+    wxTreeCtrl_GetNextSibling cobj__obj  cobj_item   pref
+foreign import ccall "wxTreeCtrl_GetNextSibling" wxTreeCtrl_GetNextSibling :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> Ptr (TTreeItemId ()) -> IO ()
+
+-- | usage: (@treeCtrlGetNextVisible obj item@).
+treeCtrlGetNextVisible :: TreeCtrl  a -> TreeItem ->  IO (TreeItem)
+treeCtrlGetNextVisible _obj item 
+  = withRefTreeItemId $ \pref -> 
+    withObjectRef "treeCtrlGetNextVisible" _obj $ \cobj__obj -> 
+    withTreeItemIdPtr item $ \cobj_item -> 
+    wxTreeCtrl_GetNextVisible cobj__obj  cobj_item   pref
+foreign import ccall "wxTreeCtrl_GetNextVisible" wxTreeCtrl_GetNextVisible :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> Ptr (TTreeItemId ()) -> IO ()
+
+-- | usage: (@treeCtrlGetParent obj item@).
+treeCtrlGetParent :: TreeCtrl  a -> TreeItem ->  IO (TreeItem)
+treeCtrlGetParent _obj item 
+  = withRefTreeItemId $ \pref -> 
+    withObjectRef "treeCtrlGetParent" _obj $ \cobj__obj -> 
+    withTreeItemIdPtr item $ \cobj_item -> 
+    wxTreeCtrl_GetParent cobj__obj  cobj_item   pref
+foreign import ccall "wxTreeCtrl_GetParent" wxTreeCtrl_GetParent :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> Ptr (TTreeItemId ()) -> IO ()
+
+-- | usage: (@treeCtrlGetPrevSibling obj item@).
+treeCtrlGetPrevSibling :: TreeCtrl  a -> TreeItem ->  IO (TreeItem)
+treeCtrlGetPrevSibling _obj item 
+  = withRefTreeItemId $ \pref -> 
+    withObjectRef "treeCtrlGetPrevSibling" _obj $ \cobj__obj -> 
+    withTreeItemIdPtr item $ \cobj_item -> 
+    wxTreeCtrl_GetPrevSibling cobj__obj  cobj_item   pref
+foreign import ccall "wxTreeCtrl_GetPrevSibling" wxTreeCtrl_GetPrevSibling :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> Ptr (TTreeItemId ()) -> IO ()
+
+-- | usage: (@treeCtrlGetPrevVisible obj item@).
+treeCtrlGetPrevVisible :: TreeCtrl  a -> TreeItem ->  IO (TreeItem)
+treeCtrlGetPrevVisible _obj item 
+  = withRefTreeItemId $ \pref -> 
+    withObjectRef "treeCtrlGetPrevVisible" _obj $ \cobj__obj -> 
+    withTreeItemIdPtr item $ \cobj_item -> 
+    wxTreeCtrl_GetPrevVisible cobj__obj  cobj_item   pref
+foreign import ccall "wxTreeCtrl_GetPrevVisible" wxTreeCtrl_GetPrevVisible :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> Ptr (TTreeItemId ()) -> IO ()
+
+-- | usage: (@treeCtrlGetRootItem obj@).
+treeCtrlGetRootItem :: TreeCtrl  a ->  IO (TreeItem)
+treeCtrlGetRootItem _obj 
+  = withRefTreeItemId $ \pref -> 
+    withObjectRef "treeCtrlGetRootItem" _obj $ \cobj__obj -> 
+    wxTreeCtrl_GetRootItem cobj__obj   pref
+foreign import ccall "wxTreeCtrl_GetRootItem" wxTreeCtrl_GetRootItem :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId ()) -> IO ()
+
+-- | usage: (@treeCtrlGetSelection obj@).
+treeCtrlGetSelection :: TreeCtrl  a ->  IO (TreeItem)
+treeCtrlGetSelection _obj 
+  = withRefTreeItemId $ \pref -> 
+    withObjectRef "treeCtrlGetSelection" _obj $ \cobj__obj -> 
+    wxTreeCtrl_GetSelection cobj__obj   pref
+foreign import ccall "wxTreeCtrl_GetSelection" wxTreeCtrl_GetSelection :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId ()) -> IO ()
+
+-- | usage: (@treeCtrlGetSelections obj@).
+treeCtrlGetSelections :: TreeCtrl  a ->  IO [IntPtr]
+treeCtrlGetSelections _obj 
+  = withArrayIntPtrResult $ \arr -> 
+    withObjectRef "treeCtrlGetSelections" _obj $ \cobj__obj -> 
+    wxTreeCtrl_GetSelections cobj__obj   arr
+foreign import ccall "wxTreeCtrl_GetSelections" wxTreeCtrl_GetSelections :: Ptr (TTreeCtrl a) -> Ptr CIntPtr -> IO CInt
+
+-- | usage: (@treeCtrlGetSpacing obj@).
+treeCtrlGetSpacing :: TreeCtrl  a ->  IO Int
+treeCtrlGetSpacing _obj 
+  = withIntResult $
+    withObjectRef "treeCtrlGetSpacing" _obj $ \cobj__obj -> 
+    wxTreeCtrl_GetSpacing cobj__obj  
+foreign import ccall "wxTreeCtrl_GetSpacing" wxTreeCtrl_GetSpacing :: Ptr (TTreeCtrl a) -> IO CInt
+
+-- | usage: (@treeCtrlGetStateImageList obj@).
+treeCtrlGetStateImageList :: TreeCtrl  a ->  IO (ImageList  ())
+treeCtrlGetStateImageList _obj 
+  = withObjectResult $
+    withObjectRef "treeCtrlGetStateImageList" _obj $ \cobj__obj -> 
+    wxTreeCtrl_GetStateImageList cobj__obj  
+foreign import ccall "wxTreeCtrl_GetStateImageList" wxTreeCtrl_GetStateImageList :: Ptr (TTreeCtrl a) -> IO (Ptr (TImageList ()))
+
+-- | usage: (@treeCtrlHitTest obj xy flags@).
+treeCtrlHitTest :: TreeCtrl  a -> Point -> Ptr CInt ->  IO (TreeItem)
+treeCtrlHitTest _obj _xy flags 
+  = withRefTreeItemId $ \pref -> 
+    withObjectRef "treeCtrlHitTest" _obj $ \cobj__obj -> 
+    wxTreeCtrl_HitTest cobj__obj  (toCIntPointX _xy) (toCIntPointY _xy)  flags   pref
+foreign import ccall "wxTreeCtrl_HitTest" wxTreeCtrl_HitTest :: Ptr (TTreeCtrl a) -> CInt -> CInt -> Ptr CInt -> Ptr (TTreeItemId ()) -> IO ()
+
+-- | usage: (@treeCtrlInsertItem obj parent idPrevious text image selectedImage wxdata@).
+treeCtrlInsertItem :: TreeCtrl  a -> TreeItem -> TreeItem -> String -> Int -> Int -> Ptr  g ->  IO (TreeItem)
+treeCtrlInsertItem _obj parent idPrevious text image selectedImage wxdata 
+  = withRefTreeItemId $ \pref -> 
+    withObjectRef "treeCtrlInsertItem" _obj $ \cobj__obj -> 
+    withTreeItemIdPtr parent $ \cobj_parent -> 
+    withTreeItemIdPtr idPrevious $ \cobj_idPrevious -> 
+    withStringPtr text $ \cobj_text -> 
+    wxTreeCtrl_InsertItem cobj__obj  cobj_parent  cobj_idPrevious  cobj_text  (toCInt image)  (toCInt selectedImage)  wxdata   pref
+foreign import ccall "wxTreeCtrl_InsertItem" wxTreeCtrl_InsertItem :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> Ptr (TTreeItemId c) -> Ptr (TWxString d) -> CInt -> CInt -> Ptr  g -> Ptr (TTreeItemId ()) -> IO ()
+
+-- | usage: (@treeCtrlInsertItem2 obj parent idPrevious text image selectedImage closure@).
+treeCtrlInsertItem2 :: TreeCtrl  a -> Window  b -> TreeItem -> String -> Int -> Int -> Closure  g ->  IO (TreeItem)
+treeCtrlInsertItem2 _obj parent idPrevious text image selectedImage closure 
+  = withRefTreeItemId $ \pref -> 
+    withObjectRef "treeCtrlInsertItem2" _obj $ \cobj__obj -> 
+    withObjectPtr parent $ \cobj_parent -> 
+    withTreeItemIdPtr idPrevious $ \cobj_idPrevious -> 
+    withStringPtr text $ \cobj_text -> 
+    withObjectPtr closure $ \cobj_closure -> 
+    wxTreeCtrl_InsertItem2 cobj__obj  cobj_parent  cobj_idPrevious  cobj_text  (toCInt image)  (toCInt selectedImage)  cobj_closure   pref
+foreign import ccall "wxTreeCtrl_InsertItem2" wxTreeCtrl_InsertItem2 :: Ptr (TTreeCtrl a) -> Ptr (TWindow b) -> Ptr (TTreeItemId c) -> Ptr (TWxString d) -> CInt -> CInt -> Ptr (TClosure g) -> Ptr (TTreeItemId ()) -> IO ()
+
+-- | usage: (@treeCtrlInsertItemByIndex obj parent index text image selectedImage wxdata@).
+treeCtrlInsertItemByIndex :: TreeCtrl  a -> TreeItem -> Int -> String -> Int -> Int -> Ptr  g ->  IO (TreeItem)
+treeCtrlInsertItemByIndex _obj parent index text image selectedImage wxdata 
+  = withRefTreeItemId $ \pref -> 
+    withObjectRef "treeCtrlInsertItemByIndex" _obj $ \cobj__obj -> 
+    withTreeItemIdPtr parent $ \cobj_parent -> 
+    withStringPtr text $ \cobj_text -> 
+    wxTreeCtrl_InsertItemByIndex cobj__obj  cobj_parent  (toCInt index)  cobj_text  (toCInt image)  (toCInt selectedImage)  wxdata   pref
+foreign import ccall "wxTreeCtrl_InsertItemByIndex" wxTreeCtrl_InsertItemByIndex :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> CInt -> Ptr (TWxString d) -> CInt -> CInt -> Ptr  g -> Ptr (TTreeItemId ()) -> IO ()
+
+-- | usage: (@treeCtrlInsertItemByIndex2 obj parent index text image selectedImage closure@).
+treeCtrlInsertItemByIndex2 :: TreeCtrl  a -> Window  b -> Int -> String -> Int -> Int -> Closure  g ->  IO (TreeItem)
+treeCtrlInsertItemByIndex2 _obj parent index text image selectedImage closure 
+  = withRefTreeItemId $ \pref -> 
+    withObjectRef "treeCtrlInsertItemByIndex2" _obj $ \cobj__obj -> 
+    withObjectPtr parent $ \cobj_parent -> 
+    withStringPtr text $ \cobj_text -> 
+    withObjectPtr closure $ \cobj_closure -> 
+    wxTreeCtrl_InsertItemByIndex2 cobj__obj  cobj_parent  (toCInt index)  cobj_text  (toCInt image)  (toCInt selectedImage)  cobj_closure   pref
+foreign import ccall "wxTreeCtrl_InsertItemByIndex2" wxTreeCtrl_InsertItemByIndex2 :: Ptr (TTreeCtrl a) -> Ptr (TWindow b) -> CInt -> Ptr (TWxString d) -> CInt -> CInt -> Ptr (TClosure g) -> Ptr (TTreeItemId ()) -> IO ()
+
+-- | usage: (@treeCtrlIsBold obj item@).
+treeCtrlIsBold :: TreeCtrl  a -> TreeItem ->  IO Bool
+treeCtrlIsBold _obj item 
+  = withBoolResult $
+    withObjectRef "treeCtrlIsBold" _obj $ \cobj__obj -> 
+    withTreeItemIdPtr item $ \cobj_item -> 
+    wxTreeCtrl_IsBold cobj__obj  cobj_item  
+foreign import ccall "wxTreeCtrl_IsBold" wxTreeCtrl_IsBold :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> IO CBool
+
+-- | usage: (@treeCtrlIsExpanded obj item@).
+treeCtrlIsExpanded :: TreeCtrl  a -> TreeItem ->  IO Bool
+treeCtrlIsExpanded _obj item 
+  = withBoolResult $
+    withObjectRef "treeCtrlIsExpanded" _obj $ \cobj__obj -> 
+    withTreeItemIdPtr item $ \cobj_item -> 
+    wxTreeCtrl_IsExpanded cobj__obj  cobj_item  
+foreign import ccall "wxTreeCtrl_IsExpanded" wxTreeCtrl_IsExpanded :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> IO CBool
+
+-- | usage: (@treeCtrlIsSelected obj item@).
+treeCtrlIsSelected :: TreeCtrl  a -> TreeItem ->  IO Bool
+treeCtrlIsSelected _obj item 
+  = withBoolResult $
+    withObjectRef "treeCtrlIsSelected" _obj $ \cobj__obj -> 
+    withTreeItemIdPtr item $ \cobj_item -> 
+    wxTreeCtrl_IsSelected cobj__obj  cobj_item  
+foreign import ccall "wxTreeCtrl_IsSelected" wxTreeCtrl_IsSelected :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> IO CBool
+
+-- | usage: (@treeCtrlIsVisible obj item@).
+treeCtrlIsVisible :: TreeCtrl  a -> TreeItem ->  IO Bool
+treeCtrlIsVisible _obj item 
+  = withBoolResult $
+    withObjectRef "treeCtrlIsVisible" _obj $ \cobj__obj -> 
+    withTreeItemIdPtr item $ \cobj_item -> 
+    wxTreeCtrl_IsVisible cobj__obj  cobj_item  
+foreign import ccall "wxTreeCtrl_IsVisible" wxTreeCtrl_IsVisible :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> IO CBool
+
+-- | usage: (@treeCtrlItemHasChildren obj item@).
+treeCtrlItemHasChildren :: TreeCtrl  a -> TreeItem ->  IO Int
+treeCtrlItemHasChildren _obj item 
+  = withIntResult $
+    withObjectRef "treeCtrlItemHasChildren" _obj $ \cobj__obj -> 
+    withTreeItemIdPtr item $ \cobj_item -> 
+    wxTreeCtrl_ItemHasChildren cobj__obj  cobj_item  
+foreign import ccall "wxTreeCtrl_ItemHasChildren" wxTreeCtrl_ItemHasChildren :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> IO CInt
+
+-- | usage: (@treeCtrlOnCompareItems obj item1 item2@).
+treeCtrlOnCompareItems :: TreeCtrl  a -> TreeItem -> TreeItem ->  IO Int
+treeCtrlOnCompareItems _obj item1 item2 
+  = withIntResult $
+    withObjectRef "treeCtrlOnCompareItems" _obj $ \cobj__obj -> 
+    withTreeItemIdPtr item1 $ \cobj_item1 -> 
+    withTreeItemIdPtr item2 $ \cobj_item2 -> 
+    wxTreeCtrl_OnCompareItems cobj__obj  cobj_item1  cobj_item2  
+foreign import ccall "wxTreeCtrl_OnCompareItems" wxTreeCtrl_OnCompareItems :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> Ptr (TTreeItemId c) -> IO CInt
+
+-- | usage: (@treeCtrlPrependItem obj parent text image selectedImage wxdata@).
+treeCtrlPrependItem :: TreeCtrl  a -> TreeItem -> String -> Int -> Int -> Ptr  f ->  IO (TreeItem)
+treeCtrlPrependItem _obj parent text image selectedImage wxdata 
+  = withRefTreeItemId $ \pref -> 
+    withObjectRef "treeCtrlPrependItem" _obj $ \cobj__obj -> 
+    withTreeItemIdPtr parent $ \cobj_parent -> 
+    withStringPtr text $ \cobj_text -> 
+    wxTreeCtrl_PrependItem cobj__obj  cobj_parent  cobj_text  (toCInt image)  (toCInt selectedImage)  wxdata   pref
+foreign import ccall "wxTreeCtrl_PrependItem" wxTreeCtrl_PrependItem :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> Ptr (TWxString c) -> CInt -> CInt -> Ptr  f -> Ptr (TTreeItemId ()) -> IO ()
+
+-- | usage: (@treeCtrlScrollTo obj item@).
+treeCtrlScrollTo :: TreeCtrl  a -> TreeItem ->  IO ()
+treeCtrlScrollTo _obj item 
+  = withObjectRef "treeCtrlScrollTo" _obj $ \cobj__obj -> 
+    withTreeItemIdPtr item $ \cobj_item -> 
+    wxTreeCtrl_ScrollTo cobj__obj  cobj_item  
+foreign import ccall "wxTreeCtrl_ScrollTo" wxTreeCtrl_ScrollTo :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> IO ()
+
+-- | usage: (@treeCtrlSelectItem obj item@).
+treeCtrlSelectItem :: TreeCtrl  a -> TreeItem ->  IO ()
+treeCtrlSelectItem _obj item 
+  = withObjectRef "treeCtrlSelectItem" _obj $ \cobj__obj -> 
+    withTreeItemIdPtr item $ \cobj_item -> 
+    wxTreeCtrl_SelectItem cobj__obj  cobj_item  
+foreign import ccall "wxTreeCtrl_SelectItem" wxTreeCtrl_SelectItem :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> IO ()
+
+-- | usage: (@treeCtrlSetImageList obj imageList@).
+treeCtrlSetImageList :: TreeCtrl  a -> ImageList  b ->  IO ()
+treeCtrlSetImageList _obj imageList 
+  = withObjectRef "treeCtrlSetImageList" _obj $ \cobj__obj -> 
+    withObjectPtr imageList $ \cobj_imageList -> 
+    wxTreeCtrl_SetImageList cobj__obj  cobj_imageList  
+foreign import ccall "wxTreeCtrl_SetImageList" wxTreeCtrl_SetImageList :: Ptr (TTreeCtrl a) -> Ptr (TImageList b) -> IO ()
+
+-- | usage: (@treeCtrlSetIndent obj indent@).
+treeCtrlSetIndent :: TreeCtrl  a -> Int ->  IO ()
+treeCtrlSetIndent _obj indent 
+  = withObjectRef "treeCtrlSetIndent" _obj $ \cobj__obj -> 
+    wxTreeCtrl_SetIndent cobj__obj  (toCInt indent)  
+foreign import ccall "wxTreeCtrl_SetIndent" wxTreeCtrl_SetIndent :: Ptr (TTreeCtrl a) -> CInt -> IO ()
+
+-- | usage: (@treeCtrlSetItemBackgroundColour obj item col@).
+treeCtrlSetItemBackgroundColour :: TreeCtrl  a -> TreeItem -> Color ->  IO ()
+treeCtrlSetItemBackgroundColour _obj item col 
+  = withObjectRef "treeCtrlSetItemBackgroundColour" _obj $ \cobj__obj -> 
+    withTreeItemIdPtr item $ \cobj_item -> 
+    withColourPtr col $ \cobj_col -> 
+    wxTreeCtrl_SetItemBackgroundColour cobj__obj  cobj_item  cobj_col  
+foreign import ccall "wxTreeCtrl_SetItemBackgroundColour" wxTreeCtrl_SetItemBackgroundColour :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> Ptr (TColour c) -> IO ()
+
+-- | usage: (@treeCtrlSetItemBold obj item bold@).
+treeCtrlSetItemBold :: TreeCtrl  a -> TreeItem -> Bool ->  IO ()
+treeCtrlSetItemBold _obj item bold 
+  = withObjectRef "treeCtrlSetItemBold" _obj $ \cobj__obj -> 
+    withTreeItemIdPtr item $ \cobj_item -> 
+    wxTreeCtrl_SetItemBold cobj__obj  cobj_item  (toCBool bold)  
+foreign import ccall "wxTreeCtrl_SetItemBold" wxTreeCtrl_SetItemBold :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> CBool -> IO ()
+
+-- | usage: (@treeCtrlSetItemClientClosure obj item closure@).
+treeCtrlSetItemClientClosure :: TreeCtrl  a -> TreeItem -> Closure  c ->  IO ()
+treeCtrlSetItemClientClosure _obj item closure 
+  = withObjectRef "treeCtrlSetItemClientClosure" _obj $ \cobj__obj -> 
+    withTreeItemIdPtr item $ \cobj_item -> 
+    withObjectPtr closure $ \cobj_closure -> 
+    wxTreeCtrl_SetItemClientClosure cobj__obj  cobj_item  cobj_closure  
+foreign import ccall "wxTreeCtrl_SetItemClientClosure" wxTreeCtrl_SetItemClientClosure :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> Ptr (TClosure c) -> IO ()
+
+-- | usage: (@treeCtrlSetItemData obj item wxdata@).
+treeCtrlSetItemData :: TreeCtrl  a -> TreeItem -> Ptr  c ->  IO ()
+treeCtrlSetItemData _obj item wxdata 
+  = withObjectRef "treeCtrlSetItemData" _obj $ \cobj__obj -> 
+    withTreeItemIdPtr item $ \cobj_item -> 
+    wxTreeCtrl_SetItemData cobj__obj  cobj_item  wxdata  
+foreign import ccall "wxTreeCtrl_SetItemData" wxTreeCtrl_SetItemData :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> Ptr  c -> IO ()
+
+-- | usage: (@treeCtrlSetItemDropHighlight obj item highlight@).
+treeCtrlSetItemDropHighlight :: TreeCtrl  a -> TreeItem -> Bool ->  IO ()
+treeCtrlSetItemDropHighlight _obj item highlight 
+  = withObjectRef "treeCtrlSetItemDropHighlight" _obj $ \cobj__obj -> 
+    withTreeItemIdPtr item $ \cobj_item -> 
+    wxTreeCtrl_SetItemDropHighlight cobj__obj  cobj_item  (toCBool highlight)  
+foreign import ccall "wxTreeCtrl_SetItemDropHighlight" wxTreeCtrl_SetItemDropHighlight :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> CBool -> IO ()
+
+-- | usage: (@treeCtrlSetItemFont obj item font@).
+treeCtrlSetItemFont :: TreeCtrl  a -> TreeItem -> Font  c ->  IO ()
+treeCtrlSetItemFont _obj item font 
+  = withObjectRef "treeCtrlSetItemFont" _obj $ \cobj__obj -> 
+    withTreeItemIdPtr item $ \cobj_item -> 
+    withObjectPtr font $ \cobj_font -> 
+    wxTreeCtrl_SetItemFont cobj__obj  cobj_item  cobj_font  
+foreign import ccall "wxTreeCtrl_SetItemFont" wxTreeCtrl_SetItemFont :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> Ptr (TFont c) -> IO ()
+
+-- | usage: (@treeCtrlSetItemHasChildren obj item hasChildren@).
+treeCtrlSetItemHasChildren :: TreeCtrl  a -> TreeItem -> Bool ->  IO ()
+treeCtrlSetItemHasChildren _obj item hasChildren 
+  = withObjectRef "treeCtrlSetItemHasChildren" _obj $ \cobj__obj -> 
+    withTreeItemIdPtr item $ \cobj_item -> 
+    wxTreeCtrl_SetItemHasChildren cobj__obj  cobj_item  (toCBool hasChildren)  
+foreign import ccall "wxTreeCtrl_SetItemHasChildren" wxTreeCtrl_SetItemHasChildren :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> CBool -> IO ()
+
+-- | usage: (@treeCtrlSetItemImage obj item image which@).
+treeCtrlSetItemImage :: TreeCtrl  a -> TreeItem -> Int -> Int ->  IO ()
+treeCtrlSetItemImage _obj item image which 
+  = withObjectRef "treeCtrlSetItemImage" _obj $ \cobj__obj -> 
+    withTreeItemIdPtr item $ \cobj_item -> 
+    wxTreeCtrl_SetItemImage cobj__obj  cobj_item  (toCInt image)  (toCInt which)  
+foreign import ccall "wxTreeCtrl_SetItemImage" wxTreeCtrl_SetItemImage :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> CInt -> CInt -> IO ()
+
+-- | usage: (@treeCtrlSetItemText obj item text@).
+treeCtrlSetItemText :: TreeCtrl  a -> TreeItem -> String ->  IO ()
+treeCtrlSetItemText _obj item text 
+  = withObjectRef "treeCtrlSetItemText" _obj $ \cobj__obj -> 
+    withTreeItemIdPtr item $ \cobj_item -> 
+    withStringPtr text $ \cobj_text -> 
+    wxTreeCtrl_SetItemText cobj__obj  cobj_item  cobj_text  
+foreign import ccall "wxTreeCtrl_SetItemText" wxTreeCtrl_SetItemText :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> Ptr (TWxString c) -> IO ()
+
+-- | usage: (@treeCtrlSetItemTextColour obj item col@).
+treeCtrlSetItemTextColour :: TreeCtrl  a -> TreeItem -> Color ->  IO ()
+treeCtrlSetItemTextColour _obj item col 
+  = withObjectRef "treeCtrlSetItemTextColour" _obj $ \cobj__obj -> 
+    withTreeItemIdPtr item $ \cobj_item -> 
+    withColourPtr col $ \cobj_col -> 
+    wxTreeCtrl_SetItemTextColour cobj__obj  cobj_item  cobj_col  
+foreign import ccall "wxTreeCtrl_SetItemTextColour" wxTreeCtrl_SetItemTextColour :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> Ptr (TColour c) -> IO ()
+
+-- | usage: (@treeCtrlSetSpacing obj spacing@).
+treeCtrlSetSpacing :: TreeCtrl  a -> Int ->  IO ()
+treeCtrlSetSpacing _obj spacing 
+  = withObjectRef "treeCtrlSetSpacing" _obj $ \cobj__obj -> 
+    wxTreeCtrl_SetSpacing cobj__obj  (toCInt spacing)  
+foreign import ccall "wxTreeCtrl_SetSpacing" wxTreeCtrl_SetSpacing :: Ptr (TTreeCtrl a) -> CInt -> IO ()
+
+-- | usage: (@treeCtrlSetStateImageList obj imageList@).
+treeCtrlSetStateImageList :: TreeCtrl  a -> ImageList  b ->  IO ()
+treeCtrlSetStateImageList _obj imageList 
+  = withObjectRef "treeCtrlSetStateImageList" _obj $ \cobj__obj -> 
+    withObjectPtr imageList $ \cobj_imageList -> 
+    wxTreeCtrl_SetStateImageList cobj__obj  cobj_imageList  
+foreign import ccall "wxTreeCtrl_SetStateImageList" wxTreeCtrl_SetStateImageList :: Ptr (TTreeCtrl a) -> Ptr (TImageList b) -> IO ()
+
+-- | usage: (@treeCtrlSortChildren obj item@).
+treeCtrlSortChildren :: TreeCtrl  a -> TreeItem ->  IO ()
+treeCtrlSortChildren _obj item 
+  = withObjectRef "treeCtrlSortChildren" _obj $ \cobj__obj -> 
+    withTreeItemIdPtr item $ \cobj_item -> 
+    wxTreeCtrl_SortChildren cobj__obj  cobj_item  
+foreign import ccall "wxTreeCtrl_SortChildren" wxTreeCtrl_SortChildren :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> IO ()
+
+-- | usage: (@treeCtrlToggle obj item@).
+treeCtrlToggle :: TreeCtrl  a -> TreeItem ->  IO ()
+treeCtrlToggle _obj item 
+  = withObjectRef "treeCtrlToggle" _obj $ \cobj__obj -> 
+    withTreeItemIdPtr item $ \cobj_item -> 
+    wxTreeCtrl_Toggle cobj__obj  cobj_item  
+foreign import ccall "wxTreeCtrl_Toggle" wxTreeCtrl_Toggle :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> IO ()
+
+-- | usage: (@treeCtrlUnselect obj@).
+treeCtrlUnselect :: TreeCtrl  a ->  IO ()
+treeCtrlUnselect _obj 
+  = withObjectRef "treeCtrlUnselect" _obj $ \cobj__obj -> 
+    wxTreeCtrl_Unselect cobj__obj  
+foreign import ccall "wxTreeCtrl_Unselect" wxTreeCtrl_Unselect :: Ptr (TTreeCtrl a) -> IO ()
+
+-- | usage: (@treeCtrlUnselectAll obj@).
+treeCtrlUnselectAll :: TreeCtrl  a ->  IO ()
+treeCtrlUnselectAll _obj 
+  = withObjectRef "treeCtrlUnselectAll" _obj $ \cobj__obj -> 
+    wxTreeCtrl_UnselectAll cobj__obj  
+foreign import ccall "wxTreeCtrl_UnselectAll" wxTreeCtrl_UnselectAll :: Ptr (TTreeCtrl a) -> IO ()
+
+-- | usage: (@treeEventAllow obj@).
+treeEventAllow :: TreeEvent  a ->  IO ()
+treeEventAllow _obj 
+  = withObjectRef "treeEventAllow" _obj $ \cobj__obj -> 
+    wxTreeEvent_Allow cobj__obj  
+foreign import ccall "wxTreeEvent_Allow" wxTreeEvent_Allow :: Ptr (TTreeEvent a) -> IO ()
+
+-- | usage: (@treeEventGetCode obj@).
+treeEventGetCode :: TreeEvent  a ->  IO Int
+treeEventGetCode _obj 
+  = withIntResult $
+    withObjectRef "treeEventGetCode" _obj $ \cobj__obj -> 
+    wxTreeEvent_GetCode cobj__obj  
+foreign import ccall "wxTreeEvent_GetCode" wxTreeEvent_GetCode :: Ptr (TTreeEvent a) -> IO CInt
+
+-- | usage: (@treeEventGetItem obj@).
+treeEventGetItem :: TreeEvent  a ->  IO (TreeItem)
+treeEventGetItem _obj 
+  = withRefTreeItemId $ \pref -> 
+    withObjectRef "treeEventGetItem" _obj $ \cobj__obj -> 
+    wxTreeEvent_GetItem cobj__obj   pref
+foreign import ccall "wxTreeEvent_GetItem" wxTreeEvent_GetItem :: Ptr (TTreeEvent a) -> Ptr (TTreeItemId ()) -> IO ()
+
+-- | usage: (@treeEventGetKeyEvent obj@).
+treeEventGetKeyEvent :: TreeEvent  a ->  IO (KeyEvent  ())
+treeEventGetKeyEvent _obj 
+  = withObjectResult $
+    withObjectRef "treeEventGetKeyEvent" _obj $ \cobj__obj -> 
+    wxTreeEvent_GetKeyEvent cobj__obj  
+foreign import ccall "wxTreeEvent_GetKeyEvent" wxTreeEvent_GetKeyEvent :: Ptr (TTreeEvent a) -> IO (Ptr (TKeyEvent ()))
+
+-- | usage: (@treeEventGetLabel obj@).
+treeEventGetLabel :: TreeEvent  a ->  IO (String)
+treeEventGetLabel _obj 
+  = withManagedStringResult $
+    withObjectRef "treeEventGetLabel" _obj $ \cobj__obj -> 
+    wxTreeEvent_GetLabel cobj__obj  
+foreign import ccall "wxTreeEvent_GetLabel" wxTreeEvent_GetLabel :: Ptr (TTreeEvent a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@treeEventGetOldItem obj@).
+treeEventGetOldItem :: TreeEvent  a ->  IO (TreeItem)
+treeEventGetOldItem _obj 
+  = withRefTreeItemId $ \pref -> 
+    withObjectRef "treeEventGetOldItem" _obj $ \cobj__obj -> 
+    wxTreeEvent_GetOldItem cobj__obj   pref
+foreign import ccall "wxTreeEvent_GetOldItem" wxTreeEvent_GetOldItem :: Ptr (TTreeEvent a) -> Ptr (TTreeItemId ()) -> IO ()
+
+-- | usage: (@treeEventGetPoint obj@).
+treeEventGetPoint :: TreeEvent  a ->  IO (Point)
+treeEventGetPoint _obj 
+  = withWxPointResult $
+    withObjectRef "treeEventGetPoint" _obj $ \cobj__obj -> 
+    wxTreeEvent_GetPoint cobj__obj  
+foreign import ccall "wxTreeEvent_GetPoint" wxTreeEvent_GetPoint :: Ptr (TTreeEvent a) -> IO (Ptr (TWxPoint ()))
+
+-- | usage: (@treeEventIsEditCancelled obj@).
+treeEventIsEditCancelled :: TreeEvent  a ->  IO Bool
+treeEventIsEditCancelled _obj 
+  = withBoolResult $
+    withObjectRef "treeEventIsEditCancelled" _obj $ \cobj__obj -> 
+    wxTreeEvent_IsEditCancelled cobj__obj  
+foreign import ccall "wxTreeEvent_IsEditCancelled" wxTreeEvent_IsEditCancelled :: Ptr (TTreeEvent a) -> IO CBool
+
+-- | usage: (@updateUIEventCheck obj check@).
+updateUIEventCheck :: UpdateUIEvent  a -> Bool ->  IO ()
+updateUIEventCheck _obj check 
+  = withObjectRef "updateUIEventCheck" _obj $ \cobj__obj -> 
+    wxUpdateUIEvent_Check cobj__obj  (toCBool check)  
+foreign import ccall "wxUpdateUIEvent_Check" wxUpdateUIEvent_Check :: Ptr (TUpdateUIEvent a) -> CBool -> IO ()
+
+-- | usage: (@updateUIEventCopyObject obj obj@).
+updateUIEventCopyObject :: UpdateUIEvent  a -> WxObject  b ->  IO ()
+updateUIEventCopyObject _obj obj 
+  = withObjectRef "updateUIEventCopyObject" _obj $ \cobj__obj -> 
+    withObjectPtr obj $ \cobj_obj -> 
+    wxUpdateUIEvent_CopyObject cobj__obj  cobj_obj  
+foreign import ccall "wxUpdateUIEvent_CopyObject" wxUpdateUIEvent_CopyObject :: Ptr (TUpdateUIEvent a) -> Ptr (TWxObject b) -> IO ()
+
+-- | usage: (@updateUIEventEnable obj enable@).
+updateUIEventEnable :: UpdateUIEvent  a -> Bool ->  IO ()
+updateUIEventEnable _obj enable 
+  = withObjectRef "updateUIEventEnable" _obj $ \cobj__obj -> 
+    wxUpdateUIEvent_Enable cobj__obj  (toCBool enable)  
+foreign import ccall "wxUpdateUIEvent_Enable" wxUpdateUIEvent_Enable :: Ptr (TUpdateUIEvent a) -> CBool -> IO ()
+
+-- | usage: (@updateUIEventGetChecked obj@).
+updateUIEventGetChecked :: UpdateUIEvent  a ->  IO Bool
+updateUIEventGetChecked _obj 
+  = withBoolResult $
+    withObjectRef "updateUIEventGetChecked" _obj $ \cobj__obj -> 
+    wxUpdateUIEvent_GetChecked cobj__obj  
+foreign import ccall "wxUpdateUIEvent_GetChecked" wxUpdateUIEvent_GetChecked :: Ptr (TUpdateUIEvent a) -> IO CBool
+
+-- | usage: (@updateUIEventGetEnabled obj@).
+updateUIEventGetEnabled :: UpdateUIEvent  a ->  IO Bool
+updateUIEventGetEnabled _obj 
+  = withBoolResult $
+    withObjectRef "updateUIEventGetEnabled" _obj $ \cobj__obj -> 
+    wxUpdateUIEvent_GetEnabled cobj__obj  
+foreign import ccall "wxUpdateUIEvent_GetEnabled" wxUpdateUIEvent_GetEnabled :: Ptr (TUpdateUIEvent a) -> IO CBool
+
+-- | usage: (@updateUIEventGetSetChecked obj@).
+updateUIEventGetSetChecked :: UpdateUIEvent  a ->  IO Bool
+updateUIEventGetSetChecked _obj 
+  = withBoolResult $
+    withObjectRef "updateUIEventGetSetChecked" _obj $ \cobj__obj -> 
+    wxUpdateUIEvent_GetSetChecked cobj__obj  
+foreign import ccall "wxUpdateUIEvent_GetSetChecked" wxUpdateUIEvent_GetSetChecked :: Ptr (TUpdateUIEvent a) -> IO CBool
+
+-- | usage: (@updateUIEventGetSetEnabled obj@).
+updateUIEventGetSetEnabled :: UpdateUIEvent  a ->  IO Bool
+updateUIEventGetSetEnabled _obj 
+  = withBoolResult $
+    withObjectRef "updateUIEventGetSetEnabled" _obj $ \cobj__obj -> 
+    wxUpdateUIEvent_GetSetEnabled cobj__obj  
+foreign import ccall "wxUpdateUIEvent_GetSetEnabled" wxUpdateUIEvent_GetSetEnabled :: Ptr (TUpdateUIEvent a) -> IO CBool
+
+-- | usage: (@updateUIEventGetSetText obj@).
+updateUIEventGetSetText :: UpdateUIEvent  a ->  IO Bool
+updateUIEventGetSetText _obj 
+  = withBoolResult $
+    withObjectRef "updateUIEventGetSetText" _obj $ \cobj__obj -> 
+    wxUpdateUIEvent_GetSetText cobj__obj  
+foreign import ccall "wxUpdateUIEvent_GetSetText" wxUpdateUIEvent_GetSetText :: Ptr (TUpdateUIEvent a) -> IO CBool
+
+-- | usage: (@updateUIEventGetText obj@).
+updateUIEventGetText :: UpdateUIEvent  a ->  IO (String)
+updateUIEventGetText _obj 
+  = withManagedStringResult $
+    withObjectRef "updateUIEventGetText" _obj $ \cobj__obj -> 
+    wxUpdateUIEvent_GetText cobj__obj  
+foreign import ccall "wxUpdateUIEvent_GetText" wxUpdateUIEvent_GetText :: Ptr (TUpdateUIEvent a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@updateUIEventSetText obj text@).
+updateUIEventSetText :: UpdateUIEvent  a -> String ->  IO ()
+updateUIEventSetText _obj text 
+  = withObjectRef "updateUIEventSetText" _obj $ \cobj__obj -> 
+    withStringPtr text $ \cobj_text -> 
+    wxUpdateUIEvent_SetText cobj__obj  cobj_text  
+foreign import ccall "wxUpdateUIEvent_SetText" wxUpdateUIEvent_SetText :: Ptr (TUpdateUIEvent a) -> Ptr (TWxString b) -> IO ()
+
+-- | usage: (@validatorCreate@).
+validatorCreate ::  IO (Validator  ())
+validatorCreate 
+  = withObjectResult $
+    wxValidator_Create 
+foreign import ccall "wxValidator_Create" wxValidator_Create :: IO (Ptr (TValidator ()))
+
+-- | usage: (@validatorDelete obj@).
+validatorDelete :: Validator  a ->  IO ()
+validatorDelete
+  = objectDelete
+
+
+-- | usage: (@validatorGetWindow obj@).
+validatorGetWindow :: Validator  a ->  IO (Window  ())
+validatorGetWindow _obj 
+  = withObjectResult $
+    withObjectRef "validatorGetWindow" _obj $ \cobj__obj -> 
+    wxValidator_GetWindow cobj__obj  
+foreign import ccall "wxValidator_GetWindow" wxValidator_GetWindow :: Ptr (TValidator a) -> IO (Ptr (TWindow ()))
+
+-- | usage: (@validatorSetWindow obj win@).
+validatorSetWindow :: Validator  a -> Window  b ->  IO ()
+validatorSetWindow _obj win 
+  = withObjectRef "validatorSetWindow" _obj $ \cobj__obj -> 
+    withObjectPtr win $ \cobj_win -> 
+    wxValidator_SetWindow cobj__obj  cobj_win  
+foreign import ccall "wxValidator_SetWindow" wxValidator_SetWindow :: Ptr (TValidator a) -> Ptr (TWindow b) -> IO ()
+
+-- | usage: (@validatorSuppressBellOnError doIt@).
+validatorSuppressBellOnError :: Bool ->  IO ()
+validatorSuppressBellOnError doIt 
+  = wxValidator_SuppressBellOnError (toCBool doIt)  
+foreign import ccall "wxValidator_SuppressBellOnError" wxValidator_SuppressBellOnError :: CBool -> IO ()
+
+-- | usage: (@validatorTransferFromWindow obj@).
+validatorTransferFromWindow :: Validator  a ->  IO Bool
+validatorTransferFromWindow _obj 
+  = withBoolResult $
+    withObjectRef "validatorTransferFromWindow" _obj $ \cobj__obj -> 
+    wxValidator_TransferFromWindow cobj__obj  
+foreign import ccall "wxValidator_TransferFromWindow" wxValidator_TransferFromWindow :: Ptr (TValidator a) -> IO CBool
+
+-- | usage: (@validatorTransferToWindow obj@).
+validatorTransferToWindow :: Validator  a ->  IO Bool
+validatorTransferToWindow _obj 
+  = withBoolResult $
+    withObjectRef "validatorTransferToWindow" _obj $ \cobj__obj -> 
+    wxValidator_TransferToWindow cobj__obj  
+foreign import ccall "wxValidator_TransferToWindow" wxValidator_TransferToWindow :: Ptr (TValidator a) -> IO CBool
+
+-- | usage: (@validatorValidate obj parent@).
+validatorValidate :: Validator  a -> Window  b ->  IO Bool
+validatorValidate _obj parent 
+  = withBoolResult $
+    withObjectRef "validatorValidate" _obj $ \cobj__obj -> 
+    withObjectPtr parent $ \cobj_parent -> 
+    wxValidator_Validate cobj__obj  cobj_parent  
+foreign import ccall "wxValidator_Validate" wxValidator_Validate :: Ptr (TValidator a) -> Ptr (TWindow b) -> IO CBool
+
+{- |  Get the version number of wxWidgets as a number composed of the major version times 1000, minor version times 100, and the release number. For example, release 2.1.15 becomes 2115.  -}
+versionNumber ::  IO Int
+versionNumber 
+  = withIntResult $
+    wx_wxVersionNumber 
+foreign import ccall "wxVersionNumber" wx_wxVersionNumber :: IO CInt
+
+-- | usage: (@windowAddChild obj child@).
+windowAddChild :: Window  a -> Window  b ->  IO ()
+windowAddChild _obj child 
+  = withObjectRef "windowAddChild" _obj $ \cobj__obj -> 
+    withObjectPtr child $ \cobj_child -> 
+    wxWindow_AddChild cobj__obj  cobj_child  
+foreign import ccall "wxWindow_AddChild" wxWindow_AddChild :: Ptr (TWindow a) -> Ptr (TWindow b) -> IO ()
+
+-- | usage: (@windowAddConstraintReference obj otherWin@).
+windowAddConstraintReference :: Window  a -> Window  b ->  IO ()
+windowAddConstraintReference _obj otherWin 
+  = withObjectRef "windowAddConstraintReference" _obj $ \cobj__obj -> 
+    withObjectPtr otherWin $ \cobj_otherWin -> 
+    wxWindow_AddConstraintReference cobj__obj  cobj_otherWin  
+foreign import ccall "wxWindow_AddConstraintReference" wxWindow_AddConstraintReference :: Ptr (TWindow a) -> Ptr (TWindow b) -> IO ()
+
+-- | usage: (@windowCaptureMouse obj@).
+windowCaptureMouse :: Window  a ->  IO ()
+windowCaptureMouse _obj 
+  = withObjectRef "windowCaptureMouse" _obj $ \cobj__obj -> 
+    wxWindow_CaptureMouse cobj__obj  
+foreign import ccall "wxWindow_CaptureMouse" wxWindow_CaptureMouse :: Ptr (TWindow a) -> IO ()
+
+-- | usage: (@windowCenter obj direction@).
+windowCenter :: Window  a -> Int ->  IO ()
+windowCenter _obj direction 
+  = withObjectRef "windowCenter" _obj $ \cobj__obj -> 
+    wxWindow_Center cobj__obj  (toCInt direction)  
+foreign import ccall "wxWindow_Center" wxWindow_Center :: Ptr (TWindow a) -> CInt -> IO ()
+
+-- | usage: (@windowCenterOnParent obj dir@).
+windowCenterOnParent :: Window  a -> Int ->  IO ()
+windowCenterOnParent _obj dir 
+  = withObjectRef "windowCenterOnParent" _obj $ \cobj__obj -> 
+    wxWindow_CenterOnParent cobj__obj  (toCInt dir)  
+foreign import ccall "wxWindow_CenterOnParent" wxWindow_CenterOnParent :: Ptr (TWindow a) -> CInt -> IO ()
+
+-- | usage: (@windowClearBackground obj@).
+windowClearBackground :: Window  a ->  IO ()
+windowClearBackground _obj 
+  = withObjectRef "windowClearBackground" _obj $ \cobj__obj -> 
+    wxWindow_ClearBackground cobj__obj  
+foreign import ccall "wxWindow_ClearBackground" wxWindow_ClearBackground :: Ptr (TWindow a) -> IO ()
+
+-- | usage: (@windowClientToScreen obj xy@).
+windowClientToScreen :: Window  a -> Point ->  IO (Point)
+windowClientToScreen _obj xy 
+  = withWxPointResult $
+    withObjectRef "windowClientToScreen" _obj $ \cobj__obj -> 
+    wxWindow_ClientToScreen cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  
+foreign import ccall "wxWindow_ClientToScreen" wxWindow_ClientToScreen :: Ptr (TWindow a) -> CInt -> CInt -> IO (Ptr (TWxPoint ()))
+
+-- | usage: (@windowClose obj force@).
+windowClose :: Window  a -> Bool ->  IO Bool
+windowClose _obj _force 
+  = withBoolResult $
+    withObjectRef "windowClose" _obj $ \cobj__obj -> 
+    wxWindow_Close cobj__obj  (toCBool _force)  
+foreign import ccall "wxWindow_Close" wxWindow_Close :: Ptr (TWindow a) -> CBool -> IO CBool
+
+-- | usage: (@windowConvertDialogToPixels obj@).
+windowConvertDialogToPixels :: Window  a ->  IO (Point)
+windowConvertDialogToPixels _obj 
+  = withWxPointResult $
+    withObjectRef "windowConvertDialogToPixels" _obj $ \cobj__obj -> 
+    wxWindow_ConvertDialogToPixels cobj__obj  
+foreign import ccall "wxWindow_ConvertDialogToPixels" wxWindow_ConvertDialogToPixels :: Ptr (TWindow a) -> IO (Ptr (TWxPoint ()))
+
+-- | usage: (@windowConvertDialogToPixelsEx obj@).
+windowConvertDialogToPixelsEx :: Window  a ->  IO (Point)
+windowConvertDialogToPixelsEx _obj 
+  = withWxPointResult $
+    withObjectRef "windowConvertDialogToPixelsEx" _obj $ \cobj__obj -> 
+    wxWindow_ConvertDialogToPixelsEx cobj__obj  
+foreign import ccall "wxWindow_ConvertDialogToPixelsEx" wxWindow_ConvertDialogToPixelsEx :: Ptr (TWindow a) -> IO (Ptr (TWxPoint ()))
+
+-- | usage: (@windowConvertPixelsToDialog obj@).
+windowConvertPixelsToDialog :: Window  a ->  IO (Point)
+windowConvertPixelsToDialog _obj 
+  = withWxPointResult $
+    withObjectRef "windowConvertPixelsToDialog" _obj $ \cobj__obj -> 
+    wxWindow_ConvertPixelsToDialog cobj__obj  
+foreign import ccall "wxWindow_ConvertPixelsToDialog" wxWindow_ConvertPixelsToDialog :: Ptr (TWindow a) -> IO (Ptr (TWxPoint ()))
+
+-- | usage: (@windowConvertPixelsToDialogEx obj@).
+windowConvertPixelsToDialogEx :: Window  a ->  IO (Point)
+windowConvertPixelsToDialogEx _obj 
+  = withWxPointResult $
+    withObjectRef "windowConvertPixelsToDialogEx" _obj $ \cobj__obj -> 
+    wxWindow_ConvertPixelsToDialogEx cobj__obj  
+foreign import ccall "wxWindow_ConvertPixelsToDialogEx" wxWindow_ConvertPixelsToDialogEx :: Ptr (TWindow a) -> IO (Ptr (TWxPoint ()))
+
+-- | usage: (@windowCreate prt id xywh stl@).
+windowCreate :: Window  a -> Id -> Rect -> Style ->  IO (Window  ())
+windowCreate _prt _id _xywh _stl 
+  = withObjectResult $
+    withObjectPtr _prt $ \cobj__prt -> 
+    wxWindow_Create cobj__prt  (toCInt _id)  (toCIntRectX _xywh) (toCIntRectY _xywh)(toCIntRectW _xywh) (toCIntRectH _xywh)  (toCInt _stl)  
+foreign import ccall "wxWindow_Create" wxWindow_Create :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TWindow ()))
+
+-- | usage: (@windowCreateEventGetWindow obj@).
+windowCreateEventGetWindow :: WindowCreateEvent  a ->  IO (Window  ())
+windowCreateEventGetWindow _obj 
+  = withObjectResult $
+    withObjectRef "windowCreateEventGetWindow" _obj $ \cobj__obj -> 
+    wxWindowCreateEvent_GetWindow cobj__obj  
+foreign import ccall "wxWindowCreateEvent_GetWindow" wxWindowCreateEvent_GetWindow :: Ptr (TWindowCreateEvent a) -> IO (Ptr (TWindow ()))
+
+-- | usage: (@windowDCCreate win@).
+windowDCCreate :: Window  a ->  IO (WindowDC  ())
+windowDCCreate win 
+  = withObjectResult $
+    withObjectPtr win $ \cobj_win -> 
+    wxWindowDC_Create cobj_win  
+foreign import ccall "wxWindowDC_Create" wxWindowDC_Create :: Ptr (TWindow a) -> IO (Ptr (TWindowDC ()))
+
+-- | usage: (@windowDCDelete obj@).
+windowDCDelete :: WindowDC  a ->  IO ()
+windowDCDelete
+  = objectDelete
+
+
+-- | usage: (@windowDeleteRelatedConstraints obj@).
+windowDeleteRelatedConstraints :: Window  a ->  IO ()
+windowDeleteRelatedConstraints _obj 
+  = withObjectRef "windowDeleteRelatedConstraints" _obj $ \cobj__obj -> 
+    wxWindow_DeleteRelatedConstraints cobj__obj  
+foreign import ccall "wxWindow_DeleteRelatedConstraints" wxWindow_DeleteRelatedConstraints :: Ptr (TWindow a) -> IO ()
+
+-- | usage: (@windowDestroy obj@).
+windowDestroy :: Window  a ->  IO Bool
+windowDestroy _obj 
+  = withBoolResult $
+    withObjectRef "windowDestroy" _obj $ \cobj__obj -> 
+    wxWindow_Destroy cobj__obj  
+foreign import ccall "wxWindow_Destroy" wxWindow_Destroy :: Ptr (TWindow a) -> IO CBool
+
+-- | usage: (@windowDestroyChildren obj@).
+windowDestroyChildren :: Window  a ->  IO Bool
+windowDestroyChildren _obj 
+  = withBoolResult $
+    withObjectRef "windowDestroyChildren" _obj $ \cobj__obj -> 
+    wxWindow_DestroyChildren cobj__obj  
+foreign import ccall "wxWindow_DestroyChildren" wxWindow_DestroyChildren :: Ptr (TWindow a) -> IO CBool
+
+-- | usage: (@windowDestroyEventGetWindow obj@).
+windowDestroyEventGetWindow :: WindowDestroyEvent  a ->  IO (Window  ())
+windowDestroyEventGetWindow _obj 
+  = withObjectResult $
+    withObjectRef "windowDestroyEventGetWindow" _obj $ \cobj__obj -> 
+    wxWindowDestroyEvent_GetWindow cobj__obj  
+foreign import ccall "wxWindowDestroyEvent_GetWindow" wxWindowDestroyEvent_GetWindow :: Ptr (TWindowDestroyEvent a) -> IO (Ptr (TWindow ()))
+
+-- | usage: (@windowDisable obj@).
+windowDisable :: Window  a ->  IO Bool
+windowDisable _obj 
+  = withBoolResult $
+    withObjectRef "windowDisable" _obj $ \cobj__obj -> 
+    wxWindow_Disable cobj__obj  
+foreign import ccall "wxWindow_Disable" wxWindow_Disable :: Ptr (TWindow a) -> IO CBool
+
+-- | usage: (@windowDoPhase obj phase@).
+windowDoPhase :: Window  a -> Int ->  IO Int
+windowDoPhase _obj phase 
+  = withIntResult $
+    withObjectRef "windowDoPhase" _obj $ \cobj__obj -> 
+    wxWindow_DoPhase cobj__obj  (toCInt phase)  
+foreign import ccall "wxWindow_DoPhase" wxWindow_DoPhase :: Ptr (TWindow a) -> CInt -> IO CInt
+
+-- | usage: (@windowEnable obj@).
+windowEnable :: Window  a ->  IO Bool
+windowEnable _obj 
+  = withBoolResult $
+    withObjectRef "windowEnable" _obj $ \cobj__obj -> 
+    wxWindow_Enable cobj__obj  
+foreign import ccall "wxWindow_Enable" wxWindow_Enable :: Ptr (TWindow a) -> IO CBool
+
+-- | usage: (@windowFindFocus obj@).
+windowFindFocus :: Window  a ->  IO (Window  ())
+windowFindFocus _obj 
+  = withObjectResult $
+    withObjectRef "windowFindFocus" _obj $ \cobj__obj -> 
+    wxWindow_FindFocus cobj__obj  
+foreign import ccall "wxWindow_FindFocus" wxWindow_FindFocus :: Ptr (TWindow a) -> IO (Ptr (TWindow ()))
+
+-- | usage: (@windowFindWindow obj name@).
+windowFindWindow :: Window  a -> String ->  IO (Window  ())
+windowFindWindow _obj name 
+  = withObjectResult $
+    withObjectRef "windowFindWindow" _obj $ \cobj__obj -> 
+    withStringPtr name $ \cobj_name -> 
+    wxWindow_FindWindow cobj__obj  cobj_name  
+foreign import ccall "wxWindow_FindWindow" wxWindow_FindWindow :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TWindow ()))
+
+-- | usage: (@windowFit obj@).
+windowFit :: Window  a ->  IO ()
+windowFit _obj 
+  = withObjectRef "windowFit" _obj $ \cobj__obj -> 
+    wxWindow_Fit cobj__obj  
+foreign import ccall "wxWindow_Fit" wxWindow_Fit :: Ptr (TWindow a) -> IO ()
+
+-- | usage: (@windowFitInside obj@).
+windowFitInside :: Window  a ->  IO ()
+windowFitInside _obj 
+  = withObjectRef "windowFitInside" _obj $ \cobj__obj -> 
+    wxWindow_FitInside cobj__obj  
+foreign import ccall "wxWindow_FitInside" wxWindow_FitInside :: Ptr (TWindow a) -> IO ()
+
+-- | usage: (@windowFreeze obj@).
+windowFreeze :: Window  a ->  IO ()
+windowFreeze _obj 
+  = withObjectRef "windowFreeze" _obj $ \cobj__obj -> 
+    wxWindow_Freeze cobj__obj  
+foreign import ccall "wxWindow_Freeze" wxWindow_Freeze :: Ptr (TWindow a) -> IO ()
+
+-- | usage: (@windowGetAutoLayout obj@).
+windowGetAutoLayout :: Window  a ->  IO Int
+windowGetAutoLayout _obj 
+  = withIntResult $
+    withObjectRef "windowGetAutoLayout" _obj $ \cobj__obj -> 
+    wxWindow_GetAutoLayout cobj__obj  
+foreign import ccall "wxWindow_GetAutoLayout" wxWindow_GetAutoLayout :: Ptr (TWindow a) -> IO CInt
+
+-- | usage: (@windowGetBackgroundColour obj@).
+windowGetBackgroundColour :: Window  a ->  IO (Color)
+windowGetBackgroundColour _obj 
+  = withRefColour $ \pref -> 
+    withObjectRef "windowGetBackgroundColour" _obj $ \cobj__obj -> 
+    wxWindow_GetBackgroundColour cobj__obj   pref
+foreign import ccall "wxWindow_GetBackgroundColour" wxWindow_GetBackgroundColour :: Ptr (TWindow a) -> Ptr (TColour ()) -> IO ()
+
+-- | usage: (@windowGetBestSize obj@).
+windowGetBestSize :: Window  a ->  IO (Size)
+windowGetBestSize _obj 
+  = withWxSizeResult $
+    withObjectRef "windowGetBestSize" _obj $ \cobj__obj -> 
+    wxWindow_GetBestSize cobj__obj  
+foreign import ccall "wxWindow_GetBestSize" wxWindow_GetBestSize :: Ptr (TWindow a) -> IO (Ptr (TWxSize ()))
+
+-- | usage: (@windowGetCaret obj@).
+windowGetCaret :: Window  a ->  IO (Caret  ())
+windowGetCaret _obj 
+  = withObjectResult $
+    withObjectRef "windowGetCaret" _obj $ \cobj__obj -> 
+    wxWindow_GetCaret cobj__obj  
+foreign import ccall "wxWindow_GetCaret" wxWindow_GetCaret :: Ptr (TWindow a) -> IO (Ptr (TCaret ()))
+
+-- | usage: (@windowGetCharHeight obj@).
+windowGetCharHeight :: Window  a ->  IO Int
+windowGetCharHeight _obj 
+  = withIntResult $
+    withObjectRef "windowGetCharHeight" _obj $ \cobj__obj -> 
+    wxWindow_GetCharHeight cobj__obj  
+foreign import ccall "wxWindow_GetCharHeight" wxWindow_GetCharHeight :: Ptr (TWindow a) -> IO CInt
+
+-- | usage: (@windowGetCharWidth obj@).
+windowGetCharWidth :: Window  a ->  IO Int
+windowGetCharWidth _obj 
+  = withIntResult $
+    withObjectRef "windowGetCharWidth" _obj $ \cobj__obj -> 
+    wxWindow_GetCharWidth cobj__obj  
+foreign import ccall "wxWindow_GetCharWidth" wxWindow_GetCharWidth :: Ptr (TWindow a) -> IO CInt
+
+-- | usage: (@windowGetChildren obj res cnt@).
+windowGetChildren :: Window  a -> Ptr  b -> Int ->  IO Int
+windowGetChildren _obj _res _cnt 
+  = withIntResult $
+    withObjectRef "windowGetChildren" _obj $ \cobj__obj -> 
+    wxWindow_GetChildren cobj__obj  _res  (toCInt _cnt)  
+foreign import ccall "wxWindow_GetChildren" wxWindow_GetChildren :: Ptr (TWindow a) -> Ptr  b -> CInt -> IO CInt
+
+-- | usage: (@windowGetClientData obj@).
+windowGetClientData :: Window  a ->  IO (ClientData  ())
+windowGetClientData _obj 
+  = withObjectResult $
+    withObjectRef "windowGetClientData" _obj $ \cobj__obj -> 
+    wxWindow_GetClientData cobj__obj  
+foreign import ccall "wxWindow_GetClientData" wxWindow_GetClientData :: Ptr (TWindow a) -> IO (Ptr (TClientData ()))
+
+-- | usage: (@windowGetClientSize obj@).
+windowGetClientSize :: Window  a ->  IO (Size)
+windowGetClientSize _obj 
+  = withWxSizeResult $
+    withObjectRef "windowGetClientSize" _obj $ \cobj__obj -> 
+    wxWindow_GetClientSize cobj__obj  
+foreign import ccall "wxWindow_GetClientSize" wxWindow_GetClientSize :: Ptr (TWindow a) -> IO (Ptr (TWxSize ()))
+
+-- | usage: (@windowGetClientSizeConstraint obj@).
+windowGetClientSizeConstraint :: Window  a ->  IO Size
+windowGetClientSizeConstraint _obj 
+  = withSizeResult $ \pw ph -> 
+    withObjectRef "windowGetClientSizeConstraint" _obj $ \cobj__obj -> 
+    wxWindow_GetClientSizeConstraint cobj__obj   pw ph
+foreign import ccall "wxWindow_GetClientSizeConstraint" wxWindow_GetClientSizeConstraint :: Ptr (TWindow a) -> Ptr CInt -> Ptr CInt -> IO ()
+
+-- | usage: (@windowGetConstraints obj@).
+windowGetConstraints :: Window  a ->  IO (LayoutConstraints  ())
+windowGetConstraints _obj 
+  = withObjectResult $
+    withObjectRef "windowGetConstraints" _obj $ \cobj__obj -> 
+    wxWindow_GetConstraints cobj__obj  
+foreign import ccall "wxWindow_GetConstraints" wxWindow_GetConstraints :: Ptr (TWindow a) -> IO (Ptr (TLayoutConstraints ()))
+
+-- | usage: (@windowGetConstraintsInvolvedIn obj@).
+windowGetConstraintsInvolvedIn :: Window  a ->  IO (Ptr  ())
+windowGetConstraintsInvolvedIn _obj 
+  = withObjectRef "windowGetConstraintsInvolvedIn" _obj $ \cobj__obj -> 
+    wxWindow_GetConstraintsInvolvedIn cobj__obj  
+foreign import ccall "wxWindow_GetConstraintsInvolvedIn" wxWindow_GetConstraintsInvolvedIn :: Ptr (TWindow a) -> IO (Ptr  ())
+
+-- | usage: (@windowGetCursor obj@).
+windowGetCursor :: Window  a ->  IO (Cursor  ())
+windowGetCursor _obj 
+  = withManagedCursorResult $
+    withObjectRef "windowGetCursor" _obj $ \cobj__obj -> 
+    wxWindow_GetCursor cobj__obj  
+foreign import ccall "wxWindow_GetCursor" wxWindow_GetCursor :: Ptr (TWindow a) -> IO (Ptr (TCursor ()))
+
+-- | usage: (@windowGetDropTarget obj@).
+windowGetDropTarget :: Window  a ->  IO (DropTarget  ())
+windowGetDropTarget _obj 
+  = withObjectResult $
+    withObjectRef "windowGetDropTarget" _obj $ \cobj__obj -> 
+    wxWindow_GetDropTarget cobj__obj  
+foreign import ccall "wxWindow_GetDropTarget" wxWindow_GetDropTarget :: Ptr (TWindow a) -> IO (Ptr (TDropTarget ()))
+
+-- | usage: (@windowGetEffectiveMinSize obj@).
+windowGetEffectiveMinSize :: Window  a ->  IO (Size)
+windowGetEffectiveMinSize _obj 
+  = withWxSizeResult $
+    withObjectRef "windowGetEffectiveMinSize" _obj $ \cobj__obj -> 
+    wxWindow_GetEffectiveMinSize cobj__obj  
+foreign import ccall "wxWindow_GetEffectiveMinSize" wxWindow_GetEffectiveMinSize :: Ptr (TWindow a) -> IO (Ptr (TWxSize ()))
+
+-- | usage: (@windowGetEventHandler obj@).
+windowGetEventHandler :: Window  a ->  IO (EvtHandler  ())
+windowGetEventHandler _obj 
+  = withObjectResult $
+    withObjectRef "windowGetEventHandler" _obj $ \cobj__obj -> 
+    wxWindow_GetEventHandler cobj__obj  
+foreign import ccall "wxWindow_GetEventHandler" wxWindow_GetEventHandler :: Ptr (TWindow a) -> IO (Ptr (TEvtHandler ()))
+
+-- | usage: (@windowGetFont obj@).
+windowGetFont :: Window  a ->  IO (Font  ())
+windowGetFont _obj 
+  = withRefFont $ \pref -> 
+    withObjectRef "windowGetFont" _obj $ \cobj__obj -> 
+    wxWindow_GetFont cobj__obj   pref
+foreign import ccall "wxWindow_GetFont" wxWindow_GetFont :: Ptr (TWindow a) -> Ptr (TFont ()) -> IO ()
+
+-- | usage: (@windowGetForegroundColour obj@).
+windowGetForegroundColour :: Window  a ->  IO (Color)
+windowGetForegroundColour _obj 
+  = withRefColour $ \pref -> 
+    withObjectRef "windowGetForegroundColour" _obj $ \cobj__obj -> 
+    wxWindow_GetForegroundColour cobj__obj   pref
+foreign import ccall "wxWindow_GetForegroundColour" wxWindow_GetForegroundColour :: Ptr (TWindow a) -> Ptr (TColour ()) -> IO ()
+
+-- | usage: (@windowGetHandle obj@).
+windowGetHandle :: Window  a ->  IO (Ptr  ())
+windowGetHandle _obj 
+  = withObjectRef "windowGetHandle" _obj $ \cobj__obj -> 
+    wxWindow_GetHandle cobj__obj  
+foreign import ccall "wxWindow_GetHandle" wxWindow_GetHandle :: Ptr (TWindow a) -> IO (Ptr  ())
+
+-- | usage: (@windowGetId obj@).
+windowGetId :: Window  a ->  IO Int
+windowGetId _obj 
+  = withIntResult $
+    withObjectRef "windowGetId" _obj $ \cobj__obj -> 
+    wxWindow_GetId cobj__obj  
+foreign import ccall "wxWindow_GetId" wxWindow_GetId :: Ptr (TWindow a) -> IO CInt
+
+-- | usage: (@windowGetLabel obj@).
+windowGetLabel :: Window  a ->  IO (String)
+windowGetLabel _obj 
+  = withManagedStringResult $
+    withObjectRef "windowGetLabel" _obj $ \cobj__obj -> 
+    wxWindow_GetLabel cobj__obj  
+foreign import ccall "wxWindow_GetLabel" wxWindow_GetLabel :: Ptr (TWindow a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@windowGetLabelEmpty obj@).
+windowGetLabelEmpty :: Window  a ->  IO Int
+windowGetLabelEmpty _obj 
+  = withIntResult $
+    withObjectRef "windowGetLabelEmpty" _obj $ \cobj__obj -> 
+    wxWindow_GetLabelEmpty cobj__obj  
+foreign import ccall "wxWindow_GetLabelEmpty" wxWindow_GetLabelEmpty :: Ptr (TWindow a) -> IO CInt
+
+-- | usage: (@windowGetMaxHeight obj@).
+windowGetMaxHeight :: Window  a ->  IO Int
+windowGetMaxHeight _obj 
+  = withIntResult $
+    withObjectRef "windowGetMaxHeight" _obj $ \cobj__obj -> 
+    wxWindow_GetMaxHeight cobj__obj  
+foreign import ccall "wxWindow_GetMaxHeight" wxWindow_GetMaxHeight :: Ptr (TWindow a) -> IO CInt
+
+-- | usage: (@windowGetMaxWidth obj@).
+windowGetMaxWidth :: Window  a ->  IO Int
+windowGetMaxWidth _obj 
+  = withIntResult $
+    withObjectRef "windowGetMaxWidth" _obj $ \cobj__obj -> 
+    wxWindow_GetMaxWidth cobj__obj  
+foreign import ccall "wxWindow_GetMaxWidth" wxWindow_GetMaxWidth :: Ptr (TWindow a) -> IO CInt
+
+-- | usage: (@windowGetMinHeight obj@).
+windowGetMinHeight :: Window  a ->  IO Int
+windowGetMinHeight _obj 
+  = withIntResult $
+    withObjectRef "windowGetMinHeight" _obj $ \cobj__obj -> 
+    wxWindow_GetMinHeight cobj__obj  
+foreign import ccall "wxWindow_GetMinHeight" wxWindow_GetMinHeight :: Ptr (TWindow a) -> IO CInt
+
+-- | usage: (@windowGetMinWidth obj@).
+windowGetMinWidth :: Window  a ->  IO Int
+windowGetMinWidth _obj 
+  = withIntResult $
+    withObjectRef "windowGetMinWidth" _obj $ \cobj__obj -> 
+    wxWindow_GetMinWidth cobj__obj  
+foreign import ccall "wxWindow_GetMinWidth" wxWindow_GetMinWidth :: Ptr (TWindow a) -> IO CInt
+
+-- | usage: (@windowGetName obj@).
+windowGetName :: Window  a ->  IO (String)
+windowGetName _obj 
+  = withManagedStringResult $
+    withObjectRef "windowGetName" _obj $ \cobj__obj -> 
+    wxWindow_GetName cobj__obj  
+foreign import ccall "wxWindow_GetName" wxWindow_GetName :: Ptr (TWindow a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@windowGetParent obj@).
+windowGetParent :: Window  a ->  IO (Window  ())
+windowGetParent _obj 
+  = withObjectResult $
+    withObjectRef "windowGetParent" _obj $ \cobj__obj -> 
+    wxWindow_GetParent cobj__obj  
+foreign import ccall "wxWindow_GetParent" wxWindow_GetParent :: Ptr (TWindow a) -> IO (Ptr (TWindow ()))
+
+-- | usage: (@windowGetPosition obj@).
+windowGetPosition :: Window  a ->  IO (Point)
+windowGetPosition _obj 
+  = withWxPointResult $
+    withObjectRef "windowGetPosition" _obj $ \cobj__obj -> 
+    wxWindow_GetPosition cobj__obj  
+foreign import ccall "wxWindow_GetPosition" wxWindow_GetPosition :: Ptr (TWindow a) -> IO (Ptr (TWxPoint ()))
+
+-- | usage: (@windowGetPositionConstraint obj@).
+windowGetPositionConstraint :: Window  a ->  IO Point
+windowGetPositionConstraint _obj 
+  = withPointResult $ \px py -> 
+    withObjectRef "windowGetPositionConstraint" _obj $ \cobj__obj -> 
+    wxWindow_GetPositionConstraint cobj__obj   px py
+foreign import ccall "wxWindow_GetPositionConstraint" wxWindow_GetPositionConstraint :: Ptr (TWindow a) -> Ptr CInt -> Ptr CInt -> IO ()
+
+-- | usage: (@windowGetRect obj@).
+windowGetRect :: Window  a ->  IO (Rect)
+windowGetRect _obj 
+  = withWxRectResult $
+    withObjectRef "windowGetRect" _obj $ \cobj__obj -> 
+    wxWindow_GetRect cobj__obj  
+foreign import ccall "wxWindow_GetRect" wxWindow_GetRect :: Ptr (TWindow a) -> IO (Ptr (TWxRect ()))
+
+-- | usage: (@windowGetScrollPos obj orient@).
+windowGetScrollPos :: Window  a -> Int ->  IO Int
+windowGetScrollPos _obj orient 
+  = withIntResult $
+    withObjectRef "windowGetScrollPos" _obj $ \cobj__obj -> 
+    wxWindow_GetScrollPos cobj__obj  (toCInt orient)  
+foreign import ccall "wxWindow_GetScrollPos" wxWindow_GetScrollPos :: Ptr (TWindow a) -> CInt -> IO CInt
+
+-- | usage: (@windowGetScrollRange obj orient@).
+windowGetScrollRange :: Window  a -> Int ->  IO Int
+windowGetScrollRange _obj orient 
+  = withIntResult $
+    withObjectRef "windowGetScrollRange" _obj $ \cobj__obj -> 
+    wxWindow_GetScrollRange cobj__obj  (toCInt orient)  
+foreign import ccall "wxWindow_GetScrollRange" wxWindow_GetScrollRange :: Ptr (TWindow a) -> CInt -> IO CInt
+
+-- | usage: (@windowGetScrollThumb obj orient@).
+windowGetScrollThumb :: Window  a -> Int ->  IO Int
+windowGetScrollThumb _obj orient 
+  = withIntResult $
+    withObjectRef "windowGetScrollThumb" _obj $ \cobj__obj -> 
+    wxWindow_GetScrollThumb cobj__obj  (toCInt orient)  
+foreign import ccall "wxWindow_GetScrollThumb" wxWindow_GetScrollThumb :: Ptr (TWindow a) -> CInt -> IO CInt
+
+-- | usage: (@windowGetSize obj@).
+windowGetSize :: Window  a ->  IO (Size)
+windowGetSize _obj 
+  = withWxSizeResult $
+    withObjectRef "windowGetSize" _obj $ \cobj__obj -> 
+    wxWindow_GetSize cobj__obj  
+foreign import ccall "wxWindow_GetSize" wxWindow_GetSize :: Ptr (TWindow a) -> IO (Ptr (TWxSize ()))
+
+-- | usage: (@windowGetSizeConstraint obj@).
+windowGetSizeConstraint :: Window  a ->  IO Size
+windowGetSizeConstraint _obj 
+  = withSizeResult $ \pw ph -> 
+    withObjectRef "windowGetSizeConstraint" _obj $ \cobj__obj -> 
+    wxWindow_GetSizeConstraint cobj__obj   pw ph
+foreign import ccall "wxWindow_GetSizeConstraint" wxWindow_GetSizeConstraint :: Ptr (TWindow a) -> Ptr CInt -> Ptr CInt -> IO ()
+
+-- | usage: (@windowGetSizer obj@).
+windowGetSizer :: Window  a ->  IO (Sizer  ())
+windowGetSizer _obj 
+  = withObjectResult $
+    withObjectRef "windowGetSizer" _obj $ \cobj__obj -> 
+    wxWindow_GetSizer cobj__obj  
+foreign import ccall "wxWindow_GetSizer" wxWindow_GetSizer :: Ptr (TWindow a) -> IO (Ptr (TSizer ()))
+
+-- | usage: (@windowGetTextExtent obj string x y descent externalLeading theFont@).
+windowGetTextExtent :: Window  a -> String -> Ptr CInt -> Ptr CInt -> Ptr CInt -> Ptr CInt -> Font  g ->  IO ()
+windowGetTextExtent _obj string x y descent externalLeading theFont 
+  = withObjectRef "windowGetTextExtent" _obj $ \cobj__obj -> 
+    withStringPtr string $ \cobj_string -> 
+    withObjectPtr theFont $ \cobj_theFont -> 
+    wxWindow_GetTextExtent cobj__obj  cobj_string  x  y  descent  externalLeading  cobj_theFont  
+foreign import ccall "wxWindow_GetTextExtent" wxWindow_GetTextExtent :: Ptr (TWindow a) -> Ptr (TWxString b) -> Ptr CInt -> Ptr CInt -> Ptr CInt -> Ptr CInt -> Ptr (TFont g) -> IO ()
+
+-- | usage: (@windowGetToolTip obj@).
+windowGetToolTip :: Window  a ->  IO (String)
+windowGetToolTip _obj 
+  = withManagedStringResult $
+    withObjectRef "windowGetToolTip" _obj $ \cobj__obj -> 
+    wxWindow_GetToolTip cobj__obj  
+foreign import ccall "wxWindow_GetToolTip" wxWindow_GetToolTip :: Ptr (TWindow a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@windowGetUpdateRegion obj@).
+windowGetUpdateRegion :: Window  a ->  IO (Region  ())
+windowGetUpdateRegion _obj 
+  = withObjectResult $
+    withObjectRef "windowGetUpdateRegion" _obj $ \cobj__obj -> 
+    wxWindow_GetUpdateRegion cobj__obj  
+foreign import ccall "wxWindow_GetUpdateRegion" wxWindow_GetUpdateRegion :: Ptr (TWindow a) -> IO (Ptr (TRegion ()))
+
+-- | usage: (@windowGetValidator obj@).
+windowGetValidator :: Window  a ->  IO (Validator  ())
+windowGetValidator _obj 
+  = withObjectResult $
+    withObjectRef "windowGetValidator" _obj $ \cobj__obj -> 
+    wxWindow_GetValidator cobj__obj  
+foreign import ccall "wxWindow_GetValidator" wxWindow_GetValidator :: Ptr (TWindow a) -> IO (Ptr (TValidator ()))
+
+-- | usage: (@windowGetVirtualSize obj@).
+windowGetVirtualSize :: Window  a ->  IO (Size)
+windowGetVirtualSize _obj 
+  = withWxSizeResult $
+    withObjectRef "windowGetVirtualSize" _obj $ \cobj__obj -> 
+    wxWindow_GetVirtualSize cobj__obj  
+foreign import ccall "wxWindow_GetVirtualSize" wxWindow_GetVirtualSize :: Ptr (TWindow a) -> IO (Ptr (TWxSize ()))
+
+-- | usage: (@windowGetWindowStyleFlag obj@).
+windowGetWindowStyleFlag :: Window  a ->  IO Int
+windowGetWindowStyleFlag _obj 
+  = withIntResult $
+    withObjectRef "windowGetWindowStyleFlag" _obj $ \cobj__obj -> 
+    wxWindow_GetWindowStyleFlag cobj__obj  
+foreign import ccall "wxWindow_GetWindowStyleFlag" wxWindow_GetWindowStyleFlag :: Ptr (TWindow a) -> IO CInt
+
+-- | usage: (@windowHasFlag obj flag@).
+windowHasFlag :: Window  a -> Int ->  IO Bool
+windowHasFlag _obj flag 
+  = withBoolResult $
+    withObjectRef "windowHasFlag" _obj $ \cobj__obj -> 
+    wxWindow_HasFlag cobj__obj  (toCInt flag)  
+foreign import ccall "wxWindow_HasFlag" wxWindow_HasFlag :: Ptr (TWindow a) -> CInt -> IO CBool
+
+-- | usage: (@windowHasFocus obj@).
+windowHasFocus :: Window  a ->  IO Bool
+windowHasFocus _obj 
+  = withBoolResult $
+    withObjectRef "windowHasFocus" _obj $ \cobj__obj -> 
+    wxWindow_HasFocus cobj__obj  
+foreign import ccall "wxWindow_HasFocus" wxWindow_HasFocus :: Ptr (TWindow a) -> IO CBool
+
+-- | usage: (@windowHide obj@).
+windowHide :: Window  a ->  IO Bool
+windowHide _obj 
+  = withBoolResult $
+    withObjectRef "windowHide" _obj $ \cobj__obj -> 
+    wxWindow_Hide cobj__obj  
+foreign import ccall "wxWindow_Hide" wxWindow_Hide :: Ptr (TWindow a) -> IO CBool
+
+-- | usage: (@windowInitDialog obj@).
+windowInitDialog :: Window  a ->  IO ()
+windowInitDialog _obj 
+  = withObjectRef "windowInitDialog" _obj $ \cobj__obj -> 
+    wxWindow_InitDialog cobj__obj  
+foreign import ccall "wxWindow_InitDialog" wxWindow_InitDialog :: Ptr (TWindow a) -> IO ()
+
+-- | usage: (@windowIsBeingDeleted obj@).
+windowIsBeingDeleted :: Window  a ->  IO Bool
+windowIsBeingDeleted _obj 
+  = withBoolResult $
+    withObjectRef "windowIsBeingDeleted" _obj $ \cobj__obj -> 
+    wxWindow_IsBeingDeleted cobj__obj  
+foreign import ccall "wxWindow_IsBeingDeleted" wxWindow_IsBeingDeleted :: Ptr (TWindow a) -> IO CBool
+
+-- | usage: (@windowIsEnabled obj@).
+windowIsEnabled :: Window  a ->  IO Bool
+windowIsEnabled _obj 
+  = withBoolResult $
+    withObjectRef "windowIsEnabled" _obj $ \cobj__obj -> 
+    wxWindow_IsEnabled cobj__obj  
+foreign import ccall "wxWindow_IsEnabled" wxWindow_IsEnabled :: Ptr (TWindow a) -> IO CBool
+
+-- | usage: (@windowIsExposed obj xywh@).
+windowIsExposed :: Window  a -> Rect ->  IO Bool
+windowIsExposed _obj xywh 
+  = withBoolResult $
+    withObjectRef "windowIsExposed" _obj $ \cobj__obj -> 
+    wxWindow_IsExposed cobj__obj  (toCIntRectX xywh) (toCIntRectY xywh)(toCIntRectW xywh) (toCIntRectH xywh)  
+foreign import ccall "wxWindow_IsExposed" wxWindow_IsExposed :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> IO CBool
+
+-- | usage: (@windowIsShown obj@).
+windowIsShown :: Window  a ->  IO Bool
+windowIsShown _obj 
+  = withBoolResult $
+    withObjectRef "windowIsShown" _obj $ \cobj__obj -> 
+    wxWindow_IsShown cobj__obj  
+foreign import ccall "wxWindow_IsShown" wxWindow_IsShown :: Ptr (TWindow a) -> IO CBool
+
+-- | usage: (@windowIsTopLevel obj@).
+windowIsTopLevel :: Window  a ->  IO Bool
+windowIsTopLevel _obj 
+  = withBoolResult $
+    withObjectRef "windowIsTopLevel" _obj $ \cobj__obj -> 
+    wxWindow_IsTopLevel cobj__obj  
+foreign import ccall "wxWindow_IsTopLevel" wxWindow_IsTopLevel :: Ptr (TWindow a) -> IO CBool
+
+-- | usage: (@windowLayout obj@).
+windowLayout :: Window  a ->  IO Int
+windowLayout _obj 
+  = withIntResult $
+    withObjectRef "windowLayout" _obj $ \cobj__obj -> 
+    wxWindow_Layout cobj__obj  
+foreign import ccall "wxWindow_Layout" wxWindow_Layout :: Ptr (TWindow a) -> IO CInt
+
+-- | usage: (@windowLayoutPhase1 obj noChanges@).
+windowLayoutPhase1 :: Window  a -> Ptr CInt ->  IO Int
+windowLayoutPhase1 _obj noChanges 
+  = withIntResult $
+    withObjectRef "windowLayoutPhase1" _obj $ \cobj__obj -> 
+    wxWindow_LayoutPhase1 cobj__obj  noChanges  
+foreign import ccall "wxWindow_LayoutPhase1" wxWindow_LayoutPhase1 :: Ptr (TWindow a) -> Ptr CInt -> IO CInt
+
+-- | usage: (@windowLayoutPhase2 obj noChanges@).
+windowLayoutPhase2 :: Window  a -> Ptr CInt ->  IO Int
+windowLayoutPhase2 _obj noChanges 
+  = withIntResult $
+    withObjectRef "windowLayoutPhase2" _obj $ \cobj__obj -> 
+    wxWindow_LayoutPhase2 cobj__obj  noChanges  
+foreign import ccall "wxWindow_LayoutPhase2" wxWindow_LayoutPhase2 :: Ptr (TWindow a) -> Ptr CInt -> IO CInt
+
+-- | usage: (@windowLower obj@).
+windowLower :: Window  a ->  IO ()
+windowLower _obj 
+  = withObjectRef "windowLower" _obj $ \cobj__obj -> 
+    wxWindow_Lower cobj__obj  
+foreign import ccall "wxWindow_Lower" wxWindow_Lower :: Ptr (TWindow a) -> IO ()
+
+-- | usage: (@windowMove obj xy@).
+windowMove :: Window  a -> Point ->  IO ()
+windowMove _obj xy 
+  = withObjectRef "windowMove" _obj $ \cobj__obj -> 
+    wxWindow_Move cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  
+foreign import ccall "wxWindow_Move" wxWindow_Move :: Ptr (TWindow a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@windowMoveConstraint obj xy@).
+windowMoveConstraint :: Window  a -> Point ->  IO ()
+windowMoveConstraint _obj xy 
+  = withObjectRef "windowMoveConstraint" _obj $ \cobj__obj -> 
+    wxWindow_MoveConstraint cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  
+foreign import ccall "wxWindow_MoveConstraint" wxWindow_MoveConstraint :: Ptr (TWindow a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@windowPopEventHandler obj deleteHandler@).
+windowPopEventHandler :: Window  a -> Bool ->  IO (Ptr  ())
+windowPopEventHandler _obj deleteHandler 
+  = withObjectRef "windowPopEventHandler" _obj $ \cobj__obj -> 
+    wxWindow_PopEventHandler cobj__obj  (toCBool deleteHandler)  
+foreign import ccall "wxWindow_PopEventHandler" wxWindow_PopEventHandler :: Ptr (TWindow a) -> CBool -> IO (Ptr  ())
+
+-- | usage: (@windowPopupMenu obj menu xy@).
+windowPopupMenu :: Window  a -> Menu  b -> Point ->  IO Int
+windowPopupMenu _obj menu xy 
+  = withIntResult $
+    withObjectRef "windowPopupMenu" _obj $ \cobj__obj -> 
+    withObjectPtr menu $ \cobj_menu -> 
+    wxWindow_PopupMenu cobj__obj  cobj_menu  (toCIntPointX xy) (toCIntPointY xy)  
+foreign import ccall "wxWindow_PopupMenu" wxWindow_PopupMenu :: Ptr (TWindow a) -> Ptr (TMenu b) -> CInt -> CInt -> IO CInt
+
+-- | usage: (@windowPrepareDC obj dc@).
+windowPrepareDC :: Window  a -> DC  b ->  IO ()
+windowPrepareDC _obj dc 
+  = withObjectRef "windowPrepareDC" _obj $ \cobj__obj -> 
+    withObjectPtr dc $ \cobj_dc -> 
+    wxWindow_PrepareDC cobj__obj  cobj_dc  
+foreign import ccall "wxWindow_PrepareDC" wxWindow_PrepareDC :: Ptr (TWindow a) -> Ptr (TDC b) -> IO ()
+
+-- | usage: (@windowPushEventHandler obj handler@).
+windowPushEventHandler :: Window  a -> EvtHandler  b ->  IO ()
+windowPushEventHandler _obj handler 
+  = withObjectRef "windowPushEventHandler" _obj $ \cobj__obj -> 
+    withObjectPtr handler $ \cobj_handler -> 
+    wxWindow_PushEventHandler cobj__obj  cobj_handler  
+foreign import ccall "wxWindow_PushEventHandler" wxWindow_PushEventHandler :: Ptr (TWindow a) -> Ptr (TEvtHandler b) -> IO ()
+
+-- | usage: (@windowRaise obj@).
+windowRaise :: Window  a ->  IO ()
+windowRaise _obj 
+  = withObjectRef "windowRaise" _obj $ \cobj__obj -> 
+    wxWindow_Raise cobj__obj  
+foreign import ccall "wxWindow_Raise" wxWindow_Raise :: Ptr (TWindow a) -> IO ()
+
+-- | usage: (@windowRefresh obj eraseBackground@).
+windowRefresh :: Window  a -> Bool ->  IO ()
+windowRefresh _obj eraseBackground 
+  = withObjectRef "windowRefresh" _obj $ \cobj__obj -> 
+    wxWindow_Refresh cobj__obj  (toCBool eraseBackground)  
+foreign import ccall "wxWindow_Refresh" wxWindow_Refresh :: Ptr (TWindow a) -> CBool -> IO ()
+
+-- | usage: (@windowRefreshRect obj eraseBackground xywh@).
+windowRefreshRect :: Window  a -> Bool -> Rect ->  IO ()
+windowRefreshRect _obj eraseBackground xywh 
+  = withObjectRef "windowRefreshRect" _obj $ \cobj__obj -> 
+    wxWindow_RefreshRect cobj__obj  (toCBool eraseBackground)  (toCIntRectX xywh) (toCIntRectY xywh)(toCIntRectW xywh) (toCIntRectH xywh)  
+foreign import ccall "wxWindow_RefreshRect" wxWindow_RefreshRect :: Ptr (TWindow a) -> CBool -> CInt -> CInt -> CInt -> CInt -> IO ()
+
+-- | usage: (@windowReleaseMouse obj@).
+windowReleaseMouse :: Window  a ->  IO ()
+windowReleaseMouse _obj 
+  = withObjectRef "windowReleaseMouse" _obj $ \cobj__obj -> 
+    wxWindow_ReleaseMouse cobj__obj  
+foreign import ccall "wxWindow_ReleaseMouse" wxWindow_ReleaseMouse :: Ptr (TWindow a) -> IO ()
+
+-- | usage: (@windowRemoveChild obj child@).
+windowRemoveChild :: Window  a -> Window  b ->  IO ()
+windowRemoveChild _obj child 
+  = withObjectRef "windowRemoveChild" _obj $ \cobj__obj -> 
+    withObjectPtr child $ \cobj_child -> 
+    wxWindow_RemoveChild cobj__obj  cobj_child  
+foreign import ccall "wxWindow_RemoveChild" wxWindow_RemoveChild :: Ptr (TWindow a) -> Ptr (TWindow b) -> IO ()
+
+-- | usage: (@windowRemoveConstraintReference obj otherWin@).
+windowRemoveConstraintReference :: Window  a -> Window  b ->  IO ()
+windowRemoveConstraintReference _obj otherWin 
+  = withObjectRef "windowRemoveConstraintReference" _obj $ \cobj__obj -> 
+    withObjectPtr otherWin $ \cobj_otherWin -> 
+    wxWindow_RemoveConstraintReference cobj__obj  cobj_otherWin  
+foreign import ccall "wxWindow_RemoveConstraintReference" wxWindow_RemoveConstraintReference :: Ptr (TWindow a) -> Ptr (TWindow b) -> IO ()
+
+-- | usage: (@windowReparent obj par@).
+windowReparent :: Window  a -> Window  b ->  IO Int
+windowReparent _obj _par 
+  = withIntResult $
+    withObjectRef "windowReparent" _obj $ \cobj__obj -> 
+    withObjectPtr _par $ \cobj__par -> 
+    wxWindow_Reparent cobj__obj  cobj__par  
+foreign import ccall "wxWindow_Reparent" wxWindow_Reparent :: Ptr (TWindow a) -> Ptr (TWindow b) -> IO CInt
+
+-- | usage: (@windowResetConstraints obj@).
+windowResetConstraints :: Window  a ->  IO ()
+windowResetConstraints _obj 
+  = withObjectRef "windowResetConstraints" _obj $ \cobj__obj -> 
+    wxWindow_ResetConstraints cobj__obj  
+foreign import ccall "wxWindow_ResetConstraints" wxWindow_ResetConstraints :: Ptr (TWindow a) -> IO ()
+
+-- | usage: (@windowScreenToClient obj xy@).
+windowScreenToClient :: Window  a -> Point ->  IO (Point)
+windowScreenToClient _obj xy 
+  = withWxPointResult $
+    withObjectRef "windowScreenToClient" _obj $ \cobj__obj -> 
+    wxWindow_ScreenToClient cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  
+foreign import ccall "wxWindow_ScreenToClient" wxWindow_ScreenToClient :: Ptr (TWindow a) -> CInt -> CInt -> IO (Ptr (TWxPoint ()))
+
+-- | usage: (@windowScreenToClient2 obj xy@).
+windowScreenToClient2 :: Window  a -> Point ->  IO (Point)
+windowScreenToClient2 _obj xy 
+  = withWxPointResult $
+    withObjectRef "windowScreenToClient2" _obj $ \cobj__obj -> 
+    wxWindow_ScreenToClient2 cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  
+foreign import ccall "wxWindow_ScreenToClient2" wxWindow_ScreenToClient2 :: Ptr (TWindow a) -> CInt -> CInt -> IO (Ptr (TWxPoint ()))
+
+-- | usage: (@windowScrollWindow obj dxdy@).
+windowScrollWindow :: Window  a -> Vector ->  IO ()
+windowScrollWindow _obj dxdy 
+  = withObjectRef "windowScrollWindow" _obj $ \cobj__obj -> 
+    wxWindow_ScrollWindow cobj__obj  (toCIntVectorX dxdy) (toCIntVectorY dxdy)  
+foreign import ccall "wxWindow_ScrollWindow" wxWindow_ScrollWindow :: Ptr (TWindow a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@windowScrollWindowRect obj dxdy xywh@).
+windowScrollWindowRect :: Window  a -> Vector -> Rect ->  IO ()
+windowScrollWindowRect _obj dxdy xywh 
+  = withObjectRef "windowScrollWindowRect" _obj $ \cobj__obj -> 
+    wxWindow_ScrollWindowRect cobj__obj  (toCIntVectorX dxdy) (toCIntVectorY dxdy)  (toCIntRectX xywh) (toCIntRectY xywh)(toCIntRectW xywh) (toCIntRectH xywh)  
+foreign import ccall "wxWindow_ScrollWindowRect" wxWindow_ScrollWindowRect :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO ()
+
+-- | usage: (@windowSetAcceleratorTable obj accel@).
+windowSetAcceleratorTable :: Window  a -> AcceleratorTable  b ->  IO ()
+windowSetAcceleratorTable _obj accel 
+  = withObjectRef "windowSetAcceleratorTable" _obj $ \cobj__obj -> 
+    withObjectPtr accel $ \cobj_accel -> 
+    wxWindow_SetAcceleratorTable cobj__obj  cobj_accel  
+foreign import ccall "wxWindow_SetAcceleratorTable" wxWindow_SetAcceleratorTable :: Ptr (TWindow a) -> Ptr (TAcceleratorTable b) -> IO ()
+
+-- | usage: (@windowSetAutoLayout obj autoLayout@).
+windowSetAutoLayout :: Window  a -> Bool ->  IO ()
+windowSetAutoLayout _obj autoLayout 
+  = withObjectRef "windowSetAutoLayout" _obj $ \cobj__obj -> 
+    wxWindow_SetAutoLayout cobj__obj  (toCBool autoLayout)  
+foreign import ccall "wxWindow_SetAutoLayout" wxWindow_SetAutoLayout :: Ptr (TWindow a) -> CBool -> IO ()
+
+-- | usage: (@windowSetBackgroundColour obj colour@).
+windowSetBackgroundColour :: Window  a -> Color ->  IO Int
+windowSetBackgroundColour _obj colour 
+  = withIntResult $
+    withObjectRef "windowSetBackgroundColour" _obj $ \cobj__obj -> 
+    withColourPtr colour $ \cobj_colour -> 
+    wxWindow_SetBackgroundColour cobj__obj  cobj_colour  
+foreign import ccall "wxWindow_SetBackgroundColour" wxWindow_SetBackgroundColour :: Ptr (TWindow a) -> Ptr (TColour b) -> IO CInt
+
+-- | usage: (@windowSetCaret obj caret@).
+windowSetCaret :: Window  a -> Caret  b ->  IO ()
+windowSetCaret _obj caret 
+  = withObjectRef "windowSetCaret" _obj $ \cobj__obj -> 
+    withObjectPtr caret $ \cobj_caret -> 
+    wxWindow_SetCaret cobj__obj  cobj_caret  
+foreign import ccall "wxWindow_SetCaret" wxWindow_SetCaret :: Ptr (TWindow a) -> Ptr (TCaret b) -> IO ()
+
+-- | usage: (@windowSetClientData obj wxdata@).
+windowSetClientData :: Window  a -> ClientData  b ->  IO ()
+windowSetClientData _obj wxdata 
+  = withObjectRef "windowSetClientData" _obj $ \cobj__obj -> 
+    withObjectPtr wxdata $ \cobj_wxdata -> 
+    wxWindow_SetClientData cobj__obj  cobj_wxdata  
+foreign import ccall "wxWindow_SetClientData" wxWindow_SetClientData :: Ptr (TWindow a) -> Ptr (TClientData b) -> IO ()
+
+-- | usage: (@windowSetClientObject obj wxdata@).
+windowSetClientObject :: Window  a -> ClientData  b ->  IO ()
+windowSetClientObject _obj wxdata 
+  = withObjectRef "windowSetClientObject" _obj $ \cobj__obj -> 
+    withObjectPtr wxdata $ \cobj_wxdata -> 
+    wxWindow_SetClientObject cobj__obj  cobj_wxdata  
+foreign import ccall "wxWindow_SetClientObject" wxWindow_SetClientObject :: Ptr (TWindow a) -> Ptr (TClientData b) -> IO ()
+
+-- | usage: (@windowSetClientSize obj widthheight@).
+windowSetClientSize :: Window  a -> Size ->  IO ()
+windowSetClientSize _obj widthheight 
+  = withObjectRef "windowSetClientSize" _obj $ \cobj__obj -> 
+    wxWindow_SetClientSize cobj__obj  (toCIntSizeW widthheight) (toCIntSizeH widthheight)  
+foreign import ccall "wxWindow_SetClientSize" wxWindow_SetClientSize :: Ptr (TWindow a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@windowSetConstraintSizes obj recurse@).
+windowSetConstraintSizes :: Window  a -> Int ->  IO ()
+windowSetConstraintSizes _obj recurse 
+  = withObjectRef "windowSetConstraintSizes" _obj $ \cobj__obj -> 
+    wxWindow_SetConstraintSizes cobj__obj  (toCInt recurse)  
+foreign import ccall "wxWindow_SetConstraintSizes" wxWindow_SetConstraintSizes :: Ptr (TWindow a) -> CInt -> IO ()
+
+-- | usage: (@windowSetConstraints obj constraints@).
+windowSetConstraints :: Window  a -> LayoutConstraints  b ->  IO ()
+windowSetConstraints _obj constraints 
+  = withObjectRef "windowSetConstraints" _obj $ \cobj__obj -> 
+    withObjectPtr constraints $ \cobj_constraints -> 
+    wxWindow_SetConstraints cobj__obj  cobj_constraints  
+foreign import ccall "wxWindow_SetConstraints" wxWindow_SetConstraints :: Ptr (TWindow a) -> Ptr (TLayoutConstraints b) -> IO ()
+
+-- | usage: (@windowSetCursor obj cursor@).
+windowSetCursor :: Window  a -> Cursor  b ->  IO Int
+windowSetCursor _obj cursor 
+  = withIntResult $
+    withObjectRef "windowSetCursor" _obj $ \cobj__obj -> 
+    withObjectPtr cursor $ \cobj_cursor -> 
+    wxWindow_SetCursor cobj__obj  cobj_cursor  
+foreign import ccall "wxWindow_SetCursor" wxWindow_SetCursor :: Ptr (TWindow a) -> Ptr (TCursor b) -> IO CInt
+
+-- | usage: (@windowSetDropTarget obj dropTarget@).
+windowSetDropTarget :: Window  a -> DropTarget  b ->  IO ()
+windowSetDropTarget _obj dropTarget 
+  = withObjectRef "windowSetDropTarget" _obj $ \cobj__obj -> 
+    withObjectPtr dropTarget $ \cobj_dropTarget -> 
+    wxWindow_SetDropTarget cobj__obj  cobj_dropTarget  
+foreign import ccall "wxWindow_SetDropTarget" wxWindow_SetDropTarget :: Ptr (TWindow a) -> Ptr (TDropTarget b) -> IO ()
+
+-- | usage: (@windowSetExtraStyle obj exStyle@).
+windowSetExtraStyle :: Window  a -> Int ->  IO ()
+windowSetExtraStyle _obj exStyle 
+  = withObjectRef "windowSetExtraStyle" _obj $ \cobj__obj -> 
+    wxWindow_SetExtraStyle cobj__obj  (toCInt exStyle)  
+foreign import ccall "wxWindow_SetExtraStyle" wxWindow_SetExtraStyle :: Ptr (TWindow a) -> CInt -> IO ()
+
+-- | usage: (@windowSetFocus obj@).
+windowSetFocus :: Window  a ->  IO ()
+windowSetFocus _obj 
+  = withObjectRef "windowSetFocus" _obj $ \cobj__obj -> 
+    wxWindow_SetFocus cobj__obj  
+foreign import ccall "wxWindow_SetFocus" wxWindow_SetFocus :: Ptr (TWindow a) -> IO ()
+
+-- | usage: (@windowSetFont obj font@).
+windowSetFont :: Window  a -> Font  b ->  IO Int
+windowSetFont _obj font 
+  = withIntResult $
+    withObjectRef "windowSetFont" _obj $ \cobj__obj -> 
+    withObjectPtr font $ \cobj_font -> 
+    wxWindow_SetFont cobj__obj  cobj_font  
+foreign import ccall "wxWindow_SetFont" wxWindow_SetFont :: Ptr (TWindow a) -> Ptr (TFont b) -> IO CInt
+
+-- | usage: (@windowSetForegroundColour obj colour@).
+windowSetForegroundColour :: Window  a -> Color ->  IO Int
+windowSetForegroundColour _obj colour 
+  = withIntResult $
+    withObjectRef "windowSetForegroundColour" _obj $ \cobj__obj -> 
+    withColourPtr colour $ \cobj_colour -> 
+    wxWindow_SetForegroundColour cobj__obj  cobj_colour  
+foreign import ccall "wxWindow_SetForegroundColour" wxWindow_SetForegroundColour :: Ptr (TWindow a) -> Ptr (TColour b) -> IO CInt
+
+-- | usage: (@windowSetId obj id@).
+windowSetId :: Window  a -> Id ->  IO ()
+windowSetId _obj _id 
+  = withObjectRef "windowSetId" _obj $ \cobj__obj -> 
+    wxWindow_SetId cobj__obj  (toCInt _id)  
+foreign import ccall "wxWindow_SetId" wxWindow_SetId :: Ptr (TWindow a) -> CInt -> IO ()
+
+-- | usage: (@windowSetLabel obj title@).
+windowSetLabel :: Window  a -> String ->  IO ()
+windowSetLabel _obj _title 
+  = withObjectRef "windowSetLabel" _obj $ \cobj__obj -> 
+    withStringPtr _title $ \cobj__title -> 
+    wxWindow_SetLabel cobj__obj  cobj__title  
+foreign import ccall "wxWindow_SetLabel" wxWindow_SetLabel :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO ()
+
+-- | usage: (@windowSetName obj name@).
+windowSetName :: Window  a -> String ->  IO ()
+windowSetName _obj _name 
+  = withObjectRef "windowSetName" _obj $ \cobj__obj -> 
+    withStringPtr _name $ \cobj__name -> 
+    wxWindow_SetName cobj__obj  cobj__name  
+foreign import ccall "wxWindow_SetName" wxWindow_SetName :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO ()
+
+-- | usage: (@windowSetScrollPos obj orient pos refresh@).
+windowSetScrollPos :: Window  a -> Int -> Int -> Bool ->  IO ()
+windowSetScrollPos _obj orient pos refresh 
+  = withObjectRef "windowSetScrollPos" _obj $ \cobj__obj -> 
+    wxWindow_SetScrollPos cobj__obj  (toCInt orient)  (toCInt pos)  (toCBool refresh)  
+foreign import ccall "wxWindow_SetScrollPos" wxWindow_SetScrollPos :: Ptr (TWindow a) -> CInt -> CInt -> CBool -> IO ()
+
+-- | usage: (@windowSetScrollbar obj orient pos thumbVisible range refresh@).
+windowSetScrollbar :: Window  a -> Int -> Int -> Int -> Int -> Bool ->  IO ()
+windowSetScrollbar _obj orient pos thumbVisible range refresh 
+  = withObjectRef "windowSetScrollbar" _obj $ \cobj__obj -> 
+    wxWindow_SetScrollbar cobj__obj  (toCInt orient)  (toCInt pos)  (toCInt thumbVisible)  (toCInt range)  (toCBool refresh)  
+foreign import ccall "wxWindow_SetScrollbar" wxWindow_SetScrollbar :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CBool -> IO ()
+
+-- | usage: (@windowSetSize obj xywidthheight sizeFlags@).
+windowSetSize :: Window  a -> Rect -> Int ->  IO ()
+windowSetSize _obj xywidthheight sizeFlags 
+  = withObjectRef "windowSetSize" _obj $ \cobj__obj -> 
+    wxWindow_SetSize cobj__obj  (toCIntRectX xywidthheight) (toCIntRectY xywidthheight)(toCIntRectW xywidthheight) (toCIntRectH xywidthheight)  (toCInt sizeFlags)  
+foreign import ccall "wxWindow_SetSize" wxWindow_SetSize :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> IO ()
+
+-- | usage: (@windowSetSizeConstraint obj xywh@).
+windowSetSizeConstraint :: Window  a -> Rect ->  IO ()
+windowSetSizeConstraint _obj xywh 
+  = withObjectRef "windowSetSizeConstraint" _obj $ \cobj__obj -> 
+    wxWindow_SetSizeConstraint cobj__obj  (toCIntRectX xywh) (toCIntRectY xywh)(toCIntRectW xywh) (toCIntRectH xywh)  
+foreign import ccall "wxWindow_SetSizeConstraint" wxWindow_SetSizeConstraint :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> IO ()
+
+-- | usage: (@windowSetSizeHints obj minW minH maxW maxH incW incH@).
+windowSetSizeHints :: Window  a -> Int -> Int -> Int -> Int -> Int -> Int ->  IO ()
+windowSetSizeHints _obj minW minH maxW maxH incW incH 
+  = withObjectRef "windowSetSizeHints" _obj $ \cobj__obj -> 
+    wxWindow_SetSizeHints cobj__obj  (toCInt minW)  (toCInt minH)  (toCInt maxW)  (toCInt maxH)  (toCInt incW)  (toCInt incH)  
+foreign import ccall "wxWindow_SetSizeHints" wxWindow_SetSizeHints :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO ()
+
+-- | usage: (@windowSetSizer obj sizer@).
+windowSetSizer :: Window  a -> Sizer  b ->  IO ()
+windowSetSizer _obj sizer 
+  = withObjectRef "windowSetSizer" _obj $ \cobj__obj -> 
+    withObjectPtr sizer $ \cobj_sizer -> 
+    wxWindow_SetSizer cobj__obj  cobj_sizer  
+foreign import ccall "wxWindow_SetSizer" wxWindow_SetSizer :: Ptr (TWindow a) -> Ptr (TSizer b) -> IO ()
+
+-- | usage: (@windowSetToolTip obj tip@).
+windowSetToolTip :: Window  a -> String ->  IO ()
+windowSetToolTip _obj tip 
+  = withObjectRef "windowSetToolTip" _obj $ \cobj__obj -> 
+    withStringPtr tip $ \cobj_tip -> 
+    wxWindow_SetToolTip cobj__obj  cobj_tip  
+foreign import ccall "wxWindow_SetToolTip" wxWindow_SetToolTip :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO ()
+
+-- | usage: (@windowSetValidator obj validator@).
+windowSetValidator :: Window  a -> Validator  b ->  IO ()
+windowSetValidator _obj validator 
+  = withObjectRef "windowSetValidator" _obj $ \cobj__obj -> 
+    withObjectPtr validator $ \cobj_validator -> 
+    wxWindow_SetValidator cobj__obj  cobj_validator  
+foreign import ccall "wxWindow_SetValidator" wxWindow_SetValidator :: Ptr (TWindow a) -> Ptr (TValidator b) -> IO ()
+
+-- | usage: (@windowSetVirtualSize obj wh@).
+windowSetVirtualSize :: Window  a -> Size ->  IO ()
+windowSetVirtualSize _obj wh 
+  = withObjectRef "windowSetVirtualSize" _obj $ \cobj__obj -> 
+    wxWindow_SetVirtualSize cobj__obj  (toCIntSizeW wh) (toCIntSizeH wh)  
+foreign import ccall "wxWindow_SetVirtualSize" wxWindow_SetVirtualSize :: Ptr (TWindow a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@windowSetWindowStyleFlag obj style@).
+windowSetWindowStyleFlag :: Window  a -> Int ->  IO ()
+windowSetWindowStyleFlag _obj style 
+  = withObjectRef "windowSetWindowStyleFlag" _obj $ \cobj__obj -> 
+    wxWindow_SetWindowStyleFlag cobj__obj  (toCInt style)  
+foreign import ccall "wxWindow_SetWindowStyleFlag" wxWindow_SetWindowStyleFlag :: Ptr (TWindow a) -> CInt -> IO ()
+
+-- | usage: (@windowShow obj@).
+windowShow :: Window  a ->  IO Bool
+windowShow _obj 
+  = withBoolResult $
+    withObjectRef "windowShow" _obj $ \cobj__obj -> 
+    wxWindow_Show cobj__obj  
+foreign import ccall "wxWindow_Show" wxWindow_Show :: Ptr (TWindow a) -> IO CBool
+
+-- | usage: (@windowThaw obj@).
+windowThaw :: Window  a ->  IO ()
+windowThaw _obj 
+  = withObjectRef "windowThaw" _obj $ \cobj__obj -> 
+    wxWindow_Thaw cobj__obj  
+foreign import ccall "wxWindow_Thaw" wxWindow_Thaw :: Ptr (TWindow a) -> IO ()
+
+-- | usage: (@windowTransferDataFromWindow obj@).
+windowTransferDataFromWindow :: Window  a ->  IO Bool
+windowTransferDataFromWindow _obj 
+  = withBoolResult $
+    withObjectRef "windowTransferDataFromWindow" _obj $ \cobj__obj -> 
+    wxWindow_TransferDataFromWindow cobj__obj  
+foreign import ccall "wxWindow_TransferDataFromWindow" wxWindow_TransferDataFromWindow :: Ptr (TWindow a) -> IO CBool
+
+-- | usage: (@windowTransferDataToWindow obj@).
+windowTransferDataToWindow :: Window  a ->  IO Bool
+windowTransferDataToWindow _obj 
+  = withBoolResult $
+    withObjectRef "windowTransferDataToWindow" _obj $ \cobj__obj -> 
+    wxWindow_TransferDataToWindow cobj__obj  
+foreign import ccall "wxWindow_TransferDataToWindow" wxWindow_TransferDataToWindow :: Ptr (TWindow a) -> IO CBool
+
+-- | usage: (@windowUnsetConstraints obj c@).
+windowUnsetConstraints :: Window  a -> Ptr  b ->  IO ()
+windowUnsetConstraints _obj c 
+  = withObjectRef "windowUnsetConstraints" _obj $ \cobj__obj -> 
+    wxWindow_UnsetConstraints cobj__obj  c  
+foreign import ccall "wxWindow_UnsetConstraints" wxWindow_UnsetConstraints :: Ptr (TWindow a) -> Ptr  b -> IO ()
+
+-- | usage: (@windowUpdateWindowUI obj@).
+windowUpdateWindowUI :: Window  a ->  IO ()
+windowUpdateWindowUI _obj 
+  = withObjectRef "windowUpdateWindowUI" _obj $ \cobj__obj -> 
+    wxWindow_UpdateWindowUI cobj__obj  
+foreign import ccall "wxWindow_UpdateWindowUI" wxWindow_UpdateWindowUI :: Ptr (TWindow a) -> IO ()
+
+-- | usage: (@windowValidate obj@).
+windowValidate :: Window  a ->  IO Bool
+windowValidate _obj 
+  = withBoolResult $
+    withObjectRef "windowValidate" _obj $ \cobj__obj -> 
+    wxWindow_Validate cobj__obj  
+foreign import ccall "wxWindow_Validate" wxWindow_Validate :: Ptr (TWindow a) -> IO CBool
+
+-- | usage: (@windowWarpPointer obj xy@).
+windowWarpPointer :: Window  a -> Point ->  IO ()
+windowWarpPointer _obj xy 
+  = withObjectRef "windowWarpPointer" _obj $ \cobj__obj -> 
+    wxWindow_WarpPointer cobj__obj  (toCIntPointX xy) (toCIntPointY xy)  
+foreign import ccall "wxWindow_WarpPointer" wxWindow_WarpPointer :: Ptr (TWindow a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@wizardChain f s@).
+wizardChain :: WizardPageSimple  a -> WizardPageSimple  b ->  IO ()
+wizardChain f s 
+  = withObjectPtr f $ \cobj_f -> 
+    withObjectPtr s $ \cobj_s -> 
+    wxWizard_Chain cobj_f  cobj_s  
+foreign import ccall "wxWizard_Chain" wxWizard_Chain :: Ptr (TWizardPageSimple a) -> Ptr (TWizardPageSimple b) -> IO ()
+
+-- | usage: (@wizardCreate prt id txt bmp lfttopwdthgt@).
+wizardCreate :: Window  a -> Id -> String -> Bitmap  d -> Rect ->  IO (Wizard  ())
+wizardCreate _prt _id _txt _bmp _lfttopwdthgt 
+  = withObjectResult $
+    withObjectPtr _prt $ \cobj__prt -> 
+    withStringPtr _txt $ \cobj__txt -> 
+    withObjectPtr _bmp $ \cobj__bmp -> 
+    wxWizard_Create cobj__prt  (toCInt _id)  cobj__txt  cobj__bmp  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  
+foreign import ccall "wxWizard_Create" wxWizard_Create :: Ptr (TWindow a) -> CInt -> Ptr (TWxString c) -> Ptr (TBitmap d) -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TWizard ()))
+
+-- | usage: (@wizardEventGetDirection obj@).
+wizardEventGetDirection :: WizardEvent  a ->  IO Int
+wizardEventGetDirection _obj 
+  = withIntResult $
+    withObjectRef "wizardEventGetDirection" _obj $ \cobj__obj -> 
+    wxWizardEvent_GetDirection cobj__obj  
+foreign import ccall "wxWizardEvent_GetDirection" wxWizardEvent_GetDirection :: Ptr (TWizardEvent a) -> IO CInt
+
+-- | usage: (@wizardGetCurrentPage obj@).
+wizardGetCurrentPage :: Wizard  a ->  IO (WizardPage  ())
+wizardGetCurrentPage _obj 
+  = withObjectResult $
+    withObjectRef "wizardGetCurrentPage" _obj $ \cobj__obj -> 
+    wxWizard_GetCurrentPage cobj__obj  
+foreign import ccall "wxWizard_GetCurrentPage" wxWizard_GetCurrentPage :: Ptr (TWizard a) -> IO (Ptr (TWizardPage ()))
+
+-- | usage: (@wizardGetPageSize obj@).
+wizardGetPageSize :: Wizard  a ->  IO (Size)
+wizardGetPageSize _obj 
+  = withWxSizeResult $
+    withObjectRef "wizardGetPageSize" _obj $ \cobj__obj -> 
+    wxWizard_GetPageSize cobj__obj  
+foreign import ccall "wxWizard_GetPageSize" wxWizard_GetPageSize :: Ptr (TWizard a) -> IO (Ptr (TWxSize ()))
+
+-- | usage: (@wizardPageSimpleCreate prt@).
+wizardPageSimpleCreate :: Wizard  a ->  IO (WizardPageSimple  ())
+wizardPageSimpleCreate _prt 
+  = withObjectResult $
+    withObjectPtr _prt $ \cobj__prt -> 
+    wxWizardPageSimple_Create cobj__prt  
+foreign import ccall "wxWizardPageSimple_Create" wxWizardPageSimple_Create :: Ptr (TWizard a) -> IO (Ptr (TWizardPageSimple ()))
+
+-- | usage: (@wizardPageSimpleGetBitmap obj@).
+wizardPageSimpleGetBitmap :: WizardPageSimple  a ->  IO (Bitmap  ())
+wizardPageSimpleGetBitmap _obj 
+  = withRefBitmap $ \pref -> 
+    withObjectRef "wizardPageSimpleGetBitmap" _obj $ \cobj__obj -> 
+    wxWizardPageSimple_GetBitmap cobj__obj   pref
+foreign import ccall "wxWizardPageSimple_GetBitmap" wxWizardPageSimple_GetBitmap :: Ptr (TWizardPageSimple a) -> Ptr (TBitmap ()) -> IO ()
+
+-- | usage: (@wizardPageSimpleGetNext obj@).
+wizardPageSimpleGetNext :: WizardPageSimple  a ->  IO (WizardPageSimple  ())
+wizardPageSimpleGetNext _obj 
+  = withObjectResult $
+    withObjectRef "wizardPageSimpleGetNext" _obj $ \cobj__obj -> 
+    wxWizardPageSimple_GetNext cobj__obj  
+foreign import ccall "wxWizardPageSimple_GetNext" wxWizardPageSimple_GetNext :: Ptr (TWizardPageSimple a) -> IO (Ptr (TWizardPageSimple ()))
+
+-- | usage: (@wizardPageSimpleGetPrev obj@).
+wizardPageSimpleGetPrev :: WizardPageSimple  a ->  IO (WizardPageSimple  ())
+wizardPageSimpleGetPrev _obj 
+  = withObjectResult $
+    withObjectRef "wizardPageSimpleGetPrev" _obj $ \cobj__obj -> 
+    wxWizardPageSimple_GetPrev cobj__obj  
+foreign import ccall "wxWizardPageSimple_GetPrev" wxWizardPageSimple_GetPrev :: Ptr (TWizardPageSimple a) -> IO (Ptr (TWizardPageSimple ()))
+
+-- | usage: (@wizardPageSimpleSetNext obj next@).
+wizardPageSimpleSetNext :: WizardPageSimple  a -> WizardPageSimple  b ->  IO ()
+wizardPageSimpleSetNext _obj next 
+  = withObjectRef "wizardPageSimpleSetNext" _obj $ \cobj__obj -> 
+    withObjectPtr next $ \cobj_next -> 
+    wxWizardPageSimple_SetNext cobj__obj  cobj_next  
+foreign import ccall "wxWizardPageSimple_SetNext" wxWizardPageSimple_SetNext :: Ptr (TWizardPageSimple a) -> Ptr (TWizardPageSimple b) -> IO ()
+
+-- | usage: (@wizardPageSimpleSetPrev obj prev@).
+wizardPageSimpleSetPrev :: WizardPageSimple  a -> WizardPageSimple  b ->  IO ()
+wizardPageSimpleSetPrev _obj prev 
+  = withObjectRef "wizardPageSimpleSetPrev" _obj $ \cobj__obj -> 
+    withObjectPtr prev $ \cobj_prev -> 
+    wxWizardPageSimple_SetPrev cobj__obj  cobj_prev  
+foreign import ccall "wxWizardPageSimple_SetPrev" wxWizardPageSimple_SetPrev :: Ptr (TWizardPageSimple a) -> Ptr (TWizardPageSimple b) -> IO ()
+
+-- | usage: (@wizardRunWizard obj firstPage@).
+wizardRunWizard :: Wizard  a -> WizardPage  b ->  IO Int
+wizardRunWizard _obj firstPage 
+  = withIntResult $
+    withObjectRef "wizardRunWizard" _obj $ \cobj__obj -> 
+    withObjectPtr firstPage $ \cobj_firstPage -> 
+    wxWizard_RunWizard cobj__obj  cobj_firstPage  
+foreign import ccall "wxWizard_RunWizard" wxWizard_RunWizard :: Ptr (TWizard a) -> Ptr (TWizardPage b) -> IO CInt
+
+-- | usage: (@wizardSetPageSize obj wh@).
+wizardSetPageSize :: Wizard  a -> Size ->  IO ()
+wizardSetPageSize _obj wh 
+  = withObjectRef "wizardSetPageSize" _obj $ \cobj__obj -> 
+    wxWizard_SetPageSize cobj__obj  (toCIntSizeW wh) (toCIntSizeH wh)  
+foreign import ccall "wxWizard_SetPageSize" wxWizard_SetPageSize :: Ptr (TWizard a) -> CInt -> CInt -> IO ()
+
+-- | usage: (@wxBK_HITTEST_NOWHERE@).
+{-# NOINLINE wxBK_HITTEST_NOWHERE #-}
+wxBK_HITTEST_NOWHERE ::  Int
+wxBK_HITTEST_NOWHERE 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expBK_HITTEST_NOWHERE 
+foreign import ccall "expBK_HITTEST_NOWHERE" wx_expBK_HITTEST_NOWHERE :: IO CInt
+
+-- | usage: (@wxBK_HITTEST_ONICON@).
+{-# NOINLINE wxBK_HITTEST_ONICON #-}
+wxBK_HITTEST_ONICON ::  Int
+wxBK_HITTEST_ONICON 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expBK_HITTEST_ONICON 
+foreign import ccall "expBK_HITTEST_ONICON" wx_expBK_HITTEST_ONICON :: IO CInt
+
+-- | usage: (@wxBK_HITTEST_ONITEM@).
+{-# NOINLINE wxBK_HITTEST_ONITEM #-}
+wxBK_HITTEST_ONITEM ::  Int
+wxBK_HITTEST_ONITEM 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expBK_HITTEST_ONITEM 
+foreign import ccall "expBK_HITTEST_ONITEM" wx_expBK_HITTEST_ONITEM :: IO CInt
+
+-- | usage: (@wxBK_HITTEST_ONLABEL@).
+{-# NOINLINE wxBK_HITTEST_ONLABEL #-}
+wxBK_HITTEST_ONLABEL ::  Int
+wxBK_HITTEST_ONLABEL 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expBK_HITTEST_ONLABEL 
+foreign import ccall "expBK_HITTEST_ONLABEL" wx_expBK_HITTEST_ONLABEL :: IO CInt
+
+-- | usage: (@wxBK_HITTEST_ONPAGE@).
+{-# NOINLINE wxBK_HITTEST_ONPAGE #-}
+wxBK_HITTEST_ONPAGE ::  Int
+wxBK_HITTEST_ONPAGE 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expBK_HITTEST_ONPAGE 
+foreign import ccall "expBK_HITTEST_ONPAGE" wx_expBK_HITTEST_ONPAGE :: IO CInt
+
+-- | usage: (@wxEVT_ACTIVATE@).
+{-# NOINLINE wxEVT_ACTIVATE #-}
+wxEVT_ACTIVATE ::  EventId
+wxEVT_ACTIVATE 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_ACTIVATE 
+foreign import ccall "expEVT_ACTIVATE" wx_expEVT_ACTIVATE :: IO CInt
+
+-- | usage: (@wxEVT_ACTIVATE_APP@).
+{-# NOINLINE wxEVT_ACTIVATE_APP #-}
+wxEVT_ACTIVATE_APP ::  EventId
+wxEVT_ACTIVATE_APP 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_ACTIVATE_APP 
+foreign import ccall "expEVT_ACTIVATE_APP" wx_expEVT_ACTIVATE_APP :: IO CInt
+
+-- | usage: (@wxEVT_AUINOTEBOOK_ALLOW_DND@).
+{-# NOINLINE wxEVT_AUINOTEBOOK_ALLOW_DND #-}
+wxEVT_AUINOTEBOOK_ALLOW_DND ::  EventId
+wxEVT_AUINOTEBOOK_ALLOW_DND 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_AUINOTEBOOK_ALLOW_DND 
+foreign import ccall "expEVT_AUINOTEBOOK_ALLOW_DND" wx_expEVT_AUINOTEBOOK_ALLOW_DND :: IO CInt
+
+-- | usage: (@wxEVT_AUINOTEBOOK_BEGIN_DRAG@).
+{-# NOINLINE wxEVT_AUINOTEBOOK_BEGIN_DRAG #-}
+wxEVT_AUINOTEBOOK_BEGIN_DRAG ::  EventId
+wxEVT_AUINOTEBOOK_BEGIN_DRAG 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_AUINOTEBOOK_BEGIN_DRAG 
+foreign import ccall "expEVT_AUINOTEBOOK_BEGIN_DRAG" wx_expEVT_AUINOTEBOOK_BEGIN_DRAG :: IO CInt
+
+-- | usage: (@wxEVT_AUINOTEBOOK_BG_DCLICK@).
+{-# NOINLINE wxEVT_AUINOTEBOOK_BG_DCLICK #-}
+wxEVT_AUINOTEBOOK_BG_DCLICK ::  EventId
+wxEVT_AUINOTEBOOK_BG_DCLICK 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_AUINOTEBOOK_BG_DCLICK 
+foreign import ccall "expEVT_AUINOTEBOOK_BG_DCLICK" wx_expEVT_AUINOTEBOOK_BG_DCLICK :: IO CInt
+
+-- | usage: (@wxEVT_AUINOTEBOOK_BUTTON@).
+{-# NOINLINE wxEVT_AUINOTEBOOK_BUTTON #-}
+wxEVT_AUINOTEBOOK_BUTTON ::  EventId
+wxEVT_AUINOTEBOOK_BUTTON 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_AUINOTEBOOK_BUTTON 
+foreign import ccall "expEVT_AUINOTEBOOK_BUTTON" wx_expEVT_AUINOTEBOOK_BUTTON :: IO CInt
+
+-- | usage: (@wxEVT_AUINOTEBOOK_DRAG_DONE@).
+{-# NOINLINE wxEVT_AUINOTEBOOK_DRAG_DONE #-}
+wxEVT_AUINOTEBOOK_DRAG_DONE ::  EventId
+wxEVT_AUINOTEBOOK_DRAG_DONE 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_AUINOTEBOOK_DRAG_DONE 
+foreign import ccall "expEVT_AUINOTEBOOK_DRAG_DONE" wx_expEVT_AUINOTEBOOK_DRAG_DONE :: IO CInt
+
+-- | usage: (@wxEVT_AUINOTEBOOK_DRAG_MOTION@).
+{-# NOINLINE wxEVT_AUINOTEBOOK_DRAG_MOTION #-}
+wxEVT_AUINOTEBOOK_DRAG_MOTION ::  EventId
+wxEVT_AUINOTEBOOK_DRAG_MOTION 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_AUINOTEBOOK_DRAG_MOTION 
+foreign import ccall "expEVT_AUINOTEBOOK_DRAG_MOTION" wx_expEVT_AUINOTEBOOK_DRAG_MOTION :: IO CInt
+
+-- | usage: (@wxEVT_AUINOTEBOOK_END_DRAG@).
+{-# NOINLINE wxEVT_AUINOTEBOOK_END_DRAG #-}
+wxEVT_AUINOTEBOOK_END_DRAG ::  EventId
+wxEVT_AUINOTEBOOK_END_DRAG 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_AUINOTEBOOK_END_DRAG 
+foreign import ccall "expEVT_AUINOTEBOOK_END_DRAG" wx_expEVT_AUINOTEBOOK_END_DRAG :: IO CInt
+
+-- | usage: (@wxEVT_AUINOTEBOOK_PAGE_CHANGED@).
+{-# NOINLINE wxEVT_AUINOTEBOOK_PAGE_CHANGED #-}
+wxEVT_AUINOTEBOOK_PAGE_CHANGED ::  EventId
+wxEVT_AUINOTEBOOK_PAGE_CHANGED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_AUINOTEBOOK_PAGE_CHANGED 
+foreign import ccall "expEVT_AUINOTEBOOK_PAGE_CHANGED" wx_expEVT_AUINOTEBOOK_PAGE_CHANGED :: IO CInt
+
+-- | usage: (@wxEVT_AUINOTEBOOK_PAGE_CHANGING@).
+{-# NOINLINE wxEVT_AUINOTEBOOK_PAGE_CHANGING #-}
+wxEVT_AUINOTEBOOK_PAGE_CHANGING ::  EventId
+wxEVT_AUINOTEBOOK_PAGE_CHANGING 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_AUINOTEBOOK_PAGE_CHANGING 
+foreign import ccall "expEVT_AUINOTEBOOK_PAGE_CHANGING" wx_expEVT_AUINOTEBOOK_PAGE_CHANGING :: IO CInt
+
+-- | usage: (@wxEVT_AUINOTEBOOK_PAGE_CLOSE@).
+{-# NOINLINE wxEVT_AUINOTEBOOK_PAGE_CLOSE #-}
+wxEVT_AUINOTEBOOK_PAGE_CLOSE ::  EventId
+wxEVT_AUINOTEBOOK_PAGE_CLOSE 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_AUINOTEBOOK_PAGE_CLOSE 
+foreign import ccall "expEVT_AUINOTEBOOK_PAGE_CLOSE" wx_expEVT_AUINOTEBOOK_PAGE_CLOSE :: IO CInt
+
+-- | usage: (@wxEVT_AUINOTEBOOK_PAGE_CLOSED@).
+{-# NOINLINE wxEVT_AUINOTEBOOK_PAGE_CLOSED #-}
+wxEVT_AUINOTEBOOK_PAGE_CLOSED ::  EventId
+wxEVT_AUINOTEBOOK_PAGE_CLOSED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_AUINOTEBOOK_PAGE_CLOSED 
+foreign import ccall "expEVT_AUINOTEBOOK_PAGE_CLOSED" wx_expEVT_AUINOTEBOOK_PAGE_CLOSED :: IO CInt
+
+-- | usage: (@wxEVT_AUINOTEBOOK_TAB_MIDDLE_DOWN@).
+{-# NOINLINE wxEVT_AUINOTEBOOK_TAB_MIDDLE_DOWN #-}
+wxEVT_AUINOTEBOOK_TAB_MIDDLE_DOWN ::  EventId
+wxEVT_AUINOTEBOOK_TAB_MIDDLE_DOWN 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_AUINOTEBOOK_TAB_MIDDLE_DOWN 
+foreign import ccall "expEVT_AUINOTEBOOK_TAB_MIDDLE_DOWN" wx_expEVT_AUINOTEBOOK_TAB_MIDDLE_DOWN :: IO CInt
+
+-- | usage: (@wxEVT_AUINOTEBOOK_TAB_MIDDLE_UP@).
+{-# NOINLINE wxEVT_AUINOTEBOOK_TAB_MIDDLE_UP #-}
+wxEVT_AUINOTEBOOK_TAB_MIDDLE_UP ::  EventId
+wxEVT_AUINOTEBOOK_TAB_MIDDLE_UP 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_AUINOTEBOOK_TAB_MIDDLE_UP 
+foreign import ccall "expEVT_AUINOTEBOOK_TAB_MIDDLE_UP" wx_expEVT_AUINOTEBOOK_TAB_MIDDLE_UP :: IO CInt
+
+-- | usage: (@wxEVT_AUINOTEBOOK_TAB_RIGHT_DOWN@).
+{-# NOINLINE wxEVT_AUINOTEBOOK_TAB_RIGHT_DOWN #-}
+wxEVT_AUINOTEBOOK_TAB_RIGHT_DOWN ::  EventId
+wxEVT_AUINOTEBOOK_TAB_RIGHT_DOWN 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_AUINOTEBOOK_TAB_RIGHT_DOWN 
+foreign import ccall "expEVT_AUINOTEBOOK_TAB_RIGHT_DOWN" wx_expEVT_AUINOTEBOOK_TAB_RIGHT_DOWN :: IO CInt
+
+-- | usage: (@wxEVT_AUINOTEBOOK_TAB_RIGHT_UP@).
+{-# NOINLINE wxEVT_AUINOTEBOOK_TAB_RIGHT_UP #-}
+wxEVT_AUINOTEBOOK_TAB_RIGHT_UP ::  EventId
+wxEVT_AUINOTEBOOK_TAB_RIGHT_UP 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_AUINOTEBOOK_TAB_RIGHT_UP 
+foreign import ccall "expEVT_AUINOTEBOOK_TAB_RIGHT_UP" wx_expEVT_AUINOTEBOOK_TAB_RIGHT_UP :: IO CInt
+
+-- | usage: (@wxEVT_AUITOOLBAR_BEGIN_DRAG@).
+{-# NOINLINE wxEVT_AUITOOLBAR_BEGIN_DRAG #-}
+wxEVT_AUITOOLBAR_BEGIN_DRAG ::  EventId
+wxEVT_AUITOOLBAR_BEGIN_DRAG 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_AUITOOLBAR_BEGIN_DRAG 
+foreign import ccall "expEVT_AUITOOLBAR_BEGIN_DRAG" wx_expEVT_AUITOOLBAR_BEGIN_DRAG :: IO CInt
+
+-- | usage: (@wxEVT_AUITOOLBAR_MIDDLE_CLICK@).
+{-# NOINLINE wxEVT_AUITOOLBAR_MIDDLE_CLICK #-}
+wxEVT_AUITOOLBAR_MIDDLE_CLICK ::  EventId
+wxEVT_AUITOOLBAR_MIDDLE_CLICK 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_AUITOOLBAR_MIDDLE_CLICK 
+foreign import ccall "expEVT_AUITOOLBAR_MIDDLE_CLICK" wx_expEVT_AUITOOLBAR_MIDDLE_CLICK :: IO CInt
+
+-- | usage: (@wxEVT_AUITOOLBAR_OVERFLOW_CLICK@).
+{-# NOINLINE wxEVT_AUITOOLBAR_OVERFLOW_CLICK #-}
+wxEVT_AUITOOLBAR_OVERFLOW_CLICK ::  EventId
+wxEVT_AUITOOLBAR_OVERFLOW_CLICK 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_AUITOOLBAR_OVERFLOW_CLICK 
+foreign import ccall "expEVT_AUITOOLBAR_OVERFLOW_CLICK" wx_expEVT_AUITOOLBAR_OVERFLOW_CLICK :: IO CInt
+
+-- | usage: (@wxEVT_AUITOOLBAR_RIGHT_CLICK@).
+{-# NOINLINE wxEVT_AUITOOLBAR_RIGHT_CLICK #-}
+wxEVT_AUITOOLBAR_RIGHT_CLICK ::  EventId
+wxEVT_AUITOOLBAR_RIGHT_CLICK 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_AUITOOLBAR_RIGHT_CLICK 
+foreign import ccall "expEVT_AUITOOLBAR_RIGHT_CLICK" wx_expEVT_AUITOOLBAR_RIGHT_CLICK :: IO CInt
+
+-- | usage: (@wxEVT_AUITOOLBAR_TOOL_DROPDOWN@).
+{-# NOINLINE wxEVT_AUITOOLBAR_TOOL_DROPDOWN #-}
+wxEVT_AUITOOLBAR_TOOL_DROPDOWN ::  EventId
+wxEVT_AUITOOLBAR_TOOL_DROPDOWN 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_AUITOOLBAR_TOOL_DROPDOWN 
+foreign import ccall "expEVT_AUITOOLBAR_TOOL_DROPDOWN" wx_expEVT_AUITOOLBAR_TOOL_DROPDOWN :: IO CInt
+
+-- | usage: (@wxEVT_AUI_FIND_MANAGER@).
+{-# NOINLINE wxEVT_AUI_FIND_MANAGER #-}
+wxEVT_AUI_FIND_MANAGER ::  EventId
+wxEVT_AUI_FIND_MANAGER 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_AUI_FIND_MANAGER 
+foreign import ccall "expEVT_AUI_FIND_MANAGER" wx_expEVT_AUI_FIND_MANAGER :: IO CInt
+
+-- | usage: (@wxEVT_AUI_PANE_BUTTON@).
+{-# NOINLINE wxEVT_AUI_PANE_BUTTON #-}
+wxEVT_AUI_PANE_BUTTON ::  EventId
+wxEVT_AUI_PANE_BUTTON 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_AUI_PANE_BUTTON 
+foreign import ccall "expEVT_AUI_PANE_BUTTON" wx_expEVT_AUI_PANE_BUTTON :: IO CInt
+
+-- | usage: (@wxEVT_AUI_PANE_CLOSE@).
+{-# NOINLINE wxEVT_AUI_PANE_CLOSE #-}
+wxEVT_AUI_PANE_CLOSE ::  EventId
+wxEVT_AUI_PANE_CLOSE 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_AUI_PANE_CLOSE 
+foreign import ccall "expEVT_AUI_PANE_CLOSE" wx_expEVT_AUI_PANE_CLOSE :: IO CInt
+
+-- | usage: (@wxEVT_AUI_PANE_MAXIMIZE@).
+{-# NOINLINE wxEVT_AUI_PANE_MAXIMIZE #-}
+wxEVT_AUI_PANE_MAXIMIZE ::  EventId
+wxEVT_AUI_PANE_MAXIMIZE 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_AUI_PANE_MAXIMIZE 
+foreign import ccall "expEVT_AUI_PANE_MAXIMIZE" wx_expEVT_AUI_PANE_MAXIMIZE :: IO CInt
+
+-- | usage: (@wxEVT_AUI_PANE_RESTORE@).
+{-# NOINLINE wxEVT_AUI_PANE_RESTORE #-}
+wxEVT_AUI_PANE_RESTORE ::  EventId
+wxEVT_AUI_PANE_RESTORE 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_AUI_PANE_RESTORE 
+foreign import ccall "expEVT_AUI_PANE_RESTORE" wx_expEVT_AUI_PANE_RESTORE :: IO CInt
+
+-- | usage: (@wxEVT_AUI_RENDER@).
+{-# NOINLINE wxEVT_AUI_RENDER #-}
+wxEVT_AUI_RENDER ::  EventId
+wxEVT_AUI_RENDER 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_AUI_RENDER 
+foreign import ccall "expEVT_AUI_RENDER" wx_expEVT_AUI_RENDER :: IO CInt
+
+-- | usage: (@wxEVT_AUX1_DCLICK@).
+{-# NOINLINE wxEVT_AUX1_DCLICK #-}
+wxEVT_AUX1_DCLICK ::  EventId
+wxEVT_AUX1_DCLICK 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_AUX1_DCLICK 
+foreign import ccall "expEVT_AUX1_DCLICK" wx_expEVT_AUX1_DCLICK :: IO CInt
+
+-- | usage: (@wxEVT_AUX1_DOWN@).
+{-# NOINLINE wxEVT_AUX1_DOWN #-}
+wxEVT_AUX1_DOWN ::  EventId
+wxEVT_AUX1_DOWN 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_AUX1_DOWN 
+foreign import ccall "expEVT_AUX1_DOWN" wx_expEVT_AUX1_DOWN :: IO CInt
+
+-- | usage: (@wxEVT_AUX1_UP@).
+{-# NOINLINE wxEVT_AUX1_UP #-}
+wxEVT_AUX1_UP ::  EventId
+wxEVT_AUX1_UP 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_AUX1_UP 
+foreign import ccall "expEVT_AUX1_UP" wx_expEVT_AUX1_UP :: IO CInt
+
+-- | usage: (@wxEVT_AUX2_DCLICK@).
+{-# NOINLINE wxEVT_AUX2_DCLICK #-}
+wxEVT_AUX2_DCLICK ::  EventId
+wxEVT_AUX2_DCLICK 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_AUX2_DCLICK 
+foreign import ccall "expEVT_AUX2_DCLICK" wx_expEVT_AUX2_DCLICK :: IO CInt
+
+-- | usage: (@wxEVT_AUX2_DOWN@).
+{-# NOINLINE wxEVT_AUX2_DOWN #-}
+wxEVT_AUX2_DOWN ::  EventId
+wxEVT_AUX2_DOWN 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_AUX2_DOWN 
+foreign import ccall "expEVT_AUX2_DOWN" wx_expEVT_AUX2_DOWN :: IO CInt
+
+-- | usage: (@wxEVT_AUX2_UP@).
+{-# NOINLINE wxEVT_AUX2_UP #-}
+wxEVT_AUX2_UP ::  EventId
+wxEVT_AUX2_UP 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_AUX2_UP 
+foreign import ccall "expEVT_AUX2_UP" wx_expEVT_AUX2_UP :: IO CInt
+
+-- | usage: (@wxEVT_CALCULATE_LAYOUT@).
+{-# NOINLINE wxEVT_CALCULATE_LAYOUT #-}
+wxEVT_CALCULATE_LAYOUT ::  EventId
+wxEVT_CALCULATE_LAYOUT 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_CALCULATE_LAYOUT 
+foreign import ccall "expEVT_CALCULATE_LAYOUT" wx_expEVT_CALCULATE_LAYOUT :: IO CInt
+
+-- | usage: (@wxEVT_CALENDAR_DAY_CHANGED@).
+{-# NOINLINE wxEVT_CALENDAR_DAY_CHANGED #-}
+wxEVT_CALENDAR_DAY_CHANGED ::  EventId
+wxEVT_CALENDAR_DAY_CHANGED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_CALENDAR_DAY_CHANGED 
+foreign import ccall "expEVT_CALENDAR_DAY_CHANGED" wx_expEVT_CALENDAR_DAY_CHANGED :: IO CInt
+
+-- | usage: (@wxEVT_CALENDAR_DOUBLECLICKED@).
+{-# NOINLINE wxEVT_CALENDAR_DOUBLECLICKED #-}
+wxEVT_CALENDAR_DOUBLECLICKED ::  EventId
+wxEVT_CALENDAR_DOUBLECLICKED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_CALENDAR_DOUBLECLICKED 
+foreign import ccall "expEVT_CALENDAR_DOUBLECLICKED" wx_expEVT_CALENDAR_DOUBLECLICKED :: IO CInt
+
+-- | usage: (@wxEVT_CALENDAR_MONTH_CHANGED@).
+{-# NOINLINE wxEVT_CALENDAR_MONTH_CHANGED #-}
+wxEVT_CALENDAR_MONTH_CHANGED ::  EventId
+wxEVT_CALENDAR_MONTH_CHANGED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_CALENDAR_MONTH_CHANGED 
+foreign import ccall "expEVT_CALENDAR_MONTH_CHANGED" wx_expEVT_CALENDAR_MONTH_CHANGED :: IO CInt
+
+-- | usage: (@wxEVT_CALENDAR_PAGE_CHANGED@).
+{-# NOINLINE wxEVT_CALENDAR_PAGE_CHANGED #-}
+wxEVT_CALENDAR_PAGE_CHANGED ::  EventId
+wxEVT_CALENDAR_PAGE_CHANGED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_CALENDAR_PAGE_CHANGED 
+foreign import ccall "expEVT_CALENDAR_PAGE_CHANGED" wx_expEVT_CALENDAR_PAGE_CHANGED :: IO CInt
+
+-- | usage: (@wxEVT_CALENDAR_SEL_CHANGED@).
+{-# NOINLINE wxEVT_CALENDAR_SEL_CHANGED #-}
+wxEVT_CALENDAR_SEL_CHANGED ::  EventId
+wxEVT_CALENDAR_SEL_CHANGED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_CALENDAR_SEL_CHANGED 
+foreign import ccall "expEVT_CALENDAR_SEL_CHANGED" wx_expEVT_CALENDAR_SEL_CHANGED :: IO CInt
+
+-- | usage: (@wxEVT_CALENDAR_WEEKDAY_CLICKED@).
+{-# NOINLINE wxEVT_CALENDAR_WEEKDAY_CLICKED #-}
+wxEVT_CALENDAR_WEEKDAY_CLICKED ::  EventId
+wxEVT_CALENDAR_WEEKDAY_CLICKED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_CALENDAR_WEEKDAY_CLICKED 
+foreign import ccall "expEVT_CALENDAR_WEEKDAY_CLICKED" wx_expEVT_CALENDAR_WEEKDAY_CLICKED :: IO CInt
+
+-- | usage: (@wxEVT_CALENDAR_WEEK_CLICKED@).
+{-# NOINLINE wxEVT_CALENDAR_WEEK_CLICKED #-}
+wxEVT_CALENDAR_WEEK_CLICKED ::  EventId
+wxEVT_CALENDAR_WEEK_CLICKED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_CALENDAR_WEEK_CLICKED 
+foreign import ccall "expEVT_CALENDAR_WEEK_CLICKED" wx_expEVT_CALENDAR_WEEK_CLICKED :: IO CInt
+
+-- | usage: (@wxEVT_CALENDAR_YEAR_CHANGED@).
+{-# NOINLINE wxEVT_CALENDAR_YEAR_CHANGED #-}
+wxEVT_CALENDAR_YEAR_CHANGED ::  EventId
+wxEVT_CALENDAR_YEAR_CHANGED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_CALENDAR_YEAR_CHANGED 
+foreign import ccall "expEVT_CALENDAR_YEAR_CHANGED" wx_expEVT_CALENDAR_YEAR_CHANGED :: IO CInt
+
+-- | usage: (@wxEVT_CHAR@).
+{-# NOINLINE wxEVT_CHAR #-}
+wxEVT_CHAR ::  EventId
+wxEVT_CHAR 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_CHAR 
+foreign import ccall "expEVT_CHAR" wx_expEVT_CHAR :: IO CInt
+
+-- | usage: (@wxEVT_CHAR_HOOK@).
+{-# NOINLINE wxEVT_CHAR_HOOK #-}
+wxEVT_CHAR_HOOK ::  EventId
+wxEVT_CHAR_HOOK 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_CHAR_HOOK 
+foreign import ccall "expEVT_CHAR_HOOK" wx_expEVT_CHAR_HOOK :: IO CInt
+
+-- | usage: (@wxEVT_CHILD_FOCUS@).
+{-# NOINLINE wxEVT_CHILD_FOCUS #-}
+wxEVT_CHILD_FOCUS ::  EventId
+wxEVT_CHILD_FOCUS 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_CHILD_FOCUS 
+foreign import ccall "expEVT_CHILD_FOCUS" wx_expEVT_CHILD_FOCUS :: IO CInt
+
+-- | usage: (@wxEVT_CLIPBOARD_CHANGED@).
+{-# NOINLINE wxEVT_CLIPBOARD_CHANGED #-}
+wxEVT_CLIPBOARD_CHANGED ::  EventId
+wxEVT_CLIPBOARD_CHANGED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_CLIPBOARD_CHANGED 
+foreign import ccall "expEVT_CLIPBOARD_CHANGED" wx_expEVT_CLIPBOARD_CHANGED :: IO CInt
+
+-- | usage: (@wxEVT_CLOSE_WINDOW@).
+{-# NOINLINE wxEVT_CLOSE_WINDOW #-}
+wxEVT_CLOSE_WINDOW ::  EventId
+wxEVT_CLOSE_WINDOW 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_CLOSE_WINDOW 
+foreign import ccall "expEVT_CLOSE_WINDOW" wx_expEVT_CLOSE_WINDOW :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_BUTTON_CLICKED@).
+{-# NOINLINE wxEVT_COMMAND_BUTTON_CLICKED #-}
+wxEVT_COMMAND_BUTTON_CLICKED ::  EventId
+wxEVT_COMMAND_BUTTON_CLICKED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_BUTTON_CLICKED 
+foreign import ccall "expEVT_COMMAND_BUTTON_CLICKED" wx_expEVT_COMMAND_BUTTON_CLICKED :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_CHECKBOX_CLICKED@).
+{-# NOINLINE wxEVT_COMMAND_CHECKBOX_CLICKED #-}
+wxEVT_COMMAND_CHECKBOX_CLICKED ::  EventId
+wxEVT_COMMAND_CHECKBOX_CLICKED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_CHECKBOX_CLICKED 
+foreign import ccall "expEVT_COMMAND_CHECKBOX_CLICKED" wx_expEVT_COMMAND_CHECKBOX_CLICKED :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_CHECKLISTBOX_TOGGLED@).
+{-# NOINLINE wxEVT_COMMAND_CHECKLISTBOX_TOGGLED #-}
+wxEVT_COMMAND_CHECKLISTBOX_TOGGLED ::  EventId
+wxEVT_COMMAND_CHECKLISTBOX_TOGGLED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_CHECKLISTBOX_TOGGLED 
+foreign import ccall "expEVT_COMMAND_CHECKLISTBOX_TOGGLED" wx_expEVT_COMMAND_CHECKLISTBOX_TOGGLED :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED@).
+{-# NOINLINE wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED #-}
+wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED ::  EventId
+wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED 
+foreign import ccall "expEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED" wx_expEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING@).
+{-# NOINLINE wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING #-}
+wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING ::  EventId
+wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING 
+foreign import ccall "expEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING" wx_expEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_CHOICE_SELECTED@).
+{-# NOINLINE wxEVT_COMMAND_CHOICE_SELECTED #-}
+wxEVT_COMMAND_CHOICE_SELECTED ::  EventId
+wxEVT_COMMAND_CHOICE_SELECTED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_CHOICE_SELECTED 
+foreign import ccall "expEVT_COMMAND_CHOICE_SELECTED" wx_expEVT_COMMAND_CHOICE_SELECTED :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_COLLPANE_CHANGED@).
+{-# NOINLINE wxEVT_COMMAND_COLLPANE_CHANGED #-}
+wxEVT_COMMAND_COLLPANE_CHANGED ::  EventId
+wxEVT_COMMAND_COLLPANE_CHANGED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_COLLPANE_CHANGED 
+foreign import ccall "expEVT_COMMAND_COLLPANE_CHANGED" wx_expEVT_COMMAND_COLLPANE_CHANGED :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_COLOURPICKER_CHANGED@).
+{-# NOINLINE wxEVT_COMMAND_COLOURPICKER_CHANGED #-}
+wxEVT_COMMAND_COLOURPICKER_CHANGED ::  EventId
+wxEVT_COMMAND_COLOURPICKER_CHANGED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_COLOURPICKER_CHANGED 
+foreign import ccall "expEVT_COMMAND_COLOURPICKER_CHANGED" wx_expEVT_COMMAND_COLOURPICKER_CHANGED :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_COMBOBOX_CLOSEUP@).
+{-# NOINLINE wxEVT_COMMAND_COMBOBOX_CLOSEUP #-}
+wxEVT_COMMAND_COMBOBOX_CLOSEUP ::  EventId
+wxEVT_COMMAND_COMBOBOX_CLOSEUP 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_COMBOBOX_CLOSEUP 
+foreign import ccall "expEVT_COMMAND_COMBOBOX_CLOSEUP" wx_expEVT_COMMAND_COMBOBOX_CLOSEUP :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_COMBOBOX_DROPDOWN@).
+{-# NOINLINE wxEVT_COMMAND_COMBOBOX_DROPDOWN #-}
+wxEVT_COMMAND_COMBOBOX_DROPDOWN ::  EventId
+wxEVT_COMMAND_COMBOBOX_DROPDOWN 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_COMBOBOX_DROPDOWN 
+foreign import ccall "expEVT_COMMAND_COMBOBOX_DROPDOWN" wx_expEVT_COMMAND_COMBOBOX_DROPDOWN :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_COMBOBOX_SELECTED@).
+{-# NOINLINE wxEVT_COMMAND_COMBOBOX_SELECTED #-}
+wxEVT_COMMAND_COMBOBOX_SELECTED ::  EventId
+wxEVT_COMMAND_COMBOBOX_SELECTED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_COMBOBOX_SELECTED 
+foreign import ccall "expEVT_COMMAND_COMBOBOX_SELECTED" wx_expEVT_COMMAND_COMBOBOX_SELECTED :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_DATAVIEW_CACHE_HINT@).
+{-# NOINLINE wxEVT_COMMAND_DATAVIEW_CACHE_HINT #-}
+wxEVT_COMMAND_DATAVIEW_CACHE_HINT ::  EventId
+wxEVT_COMMAND_DATAVIEW_CACHE_HINT 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_DATAVIEW_CACHE_HINT 
+foreign import ccall "expEVT_COMMAND_DATAVIEW_CACHE_HINT" wx_expEVT_COMMAND_DATAVIEW_CACHE_HINT :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_DATAVIEW_COLUMN_HEADER_CLICK@).
+{-# NOINLINE wxEVT_COMMAND_DATAVIEW_COLUMN_HEADER_CLICK #-}
+wxEVT_COMMAND_DATAVIEW_COLUMN_HEADER_CLICK ::  EventId
+wxEVT_COMMAND_DATAVIEW_COLUMN_HEADER_CLICK 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_DATAVIEW_COLUMN_HEADER_CLICK 
+foreign import ccall "expEVT_COMMAND_DATAVIEW_COLUMN_HEADER_CLICK" wx_expEVT_COMMAND_DATAVIEW_COLUMN_HEADER_CLICK :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_DATAVIEW_COLUMN_HEADER_RIGHT_CLICK@).
+{-# NOINLINE wxEVT_COMMAND_DATAVIEW_COLUMN_HEADER_RIGHT_CLICK #-}
+wxEVT_COMMAND_DATAVIEW_COLUMN_HEADER_RIGHT_CLICK ::  EventId
+wxEVT_COMMAND_DATAVIEW_COLUMN_HEADER_RIGHT_CLICK 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_DATAVIEW_COLUMN_HEADER_RIGHT_CLICK 
+foreign import ccall "expEVT_COMMAND_DATAVIEW_COLUMN_HEADER_RIGHT_CLICK" wx_expEVT_COMMAND_DATAVIEW_COLUMN_HEADER_RIGHT_CLICK :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_DATAVIEW_COLUMN_REORDERED@).
+{-# NOINLINE wxEVT_COMMAND_DATAVIEW_COLUMN_REORDERED #-}
+wxEVT_COMMAND_DATAVIEW_COLUMN_REORDERED ::  EventId
+wxEVT_COMMAND_DATAVIEW_COLUMN_REORDERED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_DATAVIEW_COLUMN_REORDERED 
+foreign import ccall "expEVT_COMMAND_DATAVIEW_COLUMN_REORDERED" wx_expEVT_COMMAND_DATAVIEW_COLUMN_REORDERED :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_DATAVIEW_COLUMN_SORTED@).
+{-# NOINLINE wxEVT_COMMAND_DATAVIEW_COLUMN_SORTED #-}
+wxEVT_COMMAND_DATAVIEW_COLUMN_SORTED ::  EventId
+wxEVT_COMMAND_DATAVIEW_COLUMN_SORTED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_DATAVIEW_COLUMN_SORTED 
+foreign import ccall "expEVT_COMMAND_DATAVIEW_COLUMN_SORTED" wx_expEVT_COMMAND_DATAVIEW_COLUMN_SORTED :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_DATAVIEW_ITEM_ACTIVATED@).
+{-# NOINLINE wxEVT_COMMAND_DATAVIEW_ITEM_ACTIVATED #-}
+wxEVT_COMMAND_DATAVIEW_ITEM_ACTIVATED ::  EventId
+wxEVT_COMMAND_DATAVIEW_ITEM_ACTIVATED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_DATAVIEW_ITEM_ACTIVATED 
+foreign import ccall "expEVT_COMMAND_DATAVIEW_ITEM_ACTIVATED" wx_expEVT_COMMAND_DATAVIEW_ITEM_ACTIVATED :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_DATAVIEW_ITEM_BEGIN_DRAG@).
+{-# NOINLINE wxEVT_COMMAND_DATAVIEW_ITEM_BEGIN_DRAG #-}
+wxEVT_COMMAND_DATAVIEW_ITEM_BEGIN_DRAG ::  EventId
+wxEVT_COMMAND_DATAVIEW_ITEM_BEGIN_DRAG 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_DATAVIEW_ITEM_BEGIN_DRAG 
+foreign import ccall "expEVT_COMMAND_DATAVIEW_ITEM_BEGIN_DRAG" wx_expEVT_COMMAND_DATAVIEW_ITEM_BEGIN_DRAG :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_DATAVIEW_ITEM_COLLAPSED@).
+{-# NOINLINE wxEVT_COMMAND_DATAVIEW_ITEM_COLLAPSED #-}
+wxEVT_COMMAND_DATAVIEW_ITEM_COLLAPSED ::  EventId
+wxEVT_COMMAND_DATAVIEW_ITEM_COLLAPSED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_DATAVIEW_ITEM_COLLAPSED 
+foreign import ccall "expEVT_COMMAND_DATAVIEW_ITEM_COLLAPSED" wx_expEVT_COMMAND_DATAVIEW_ITEM_COLLAPSED :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_DATAVIEW_ITEM_COLLAPSING@).
+{-# NOINLINE wxEVT_COMMAND_DATAVIEW_ITEM_COLLAPSING #-}
+wxEVT_COMMAND_DATAVIEW_ITEM_COLLAPSING ::  EventId
+wxEVT_COMMAND_DATAVIEW_ITEM_COLLAPSING 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_DATAVIEW_ITEM_COLLAPSING 
+foreign import ccall "expEVT_COMMAND_DATAVIEW_ITEM_COLLAPSING" wx_expEVT_COMMAND_DATAVIEW_ITEM_COLLAPSING :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_DATAVIEW_ITEM_CONTEXT_MENU@).
+{-# NOINLINE wxEVT_COMMAND_DATAVIEW_ITEM_CONTEXT_MENU #-}
+wxEVT_COMMAND_DATAVIEW_ITEM_CONTEXT_MENU ::  EventId
+wxEVT_COMMAND_DATAVIEW_ITEM_CONTEXT_MENU 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_DATAVIEW_ITEM_CONTEXT_MENU 
+foreign import ccall "expEVT_COMMAND_DATAVIEW_ITEM_CONTEXT_MENU" wx_expEVT_COMMAND_DATAVIEW_ITEM_CONTEXT_MENU :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_DATAVIEW_ITEM_DROP@).
+{-# NOINLINE wxEVT_COMMAND_DATAVIEW_ITEM_DROP #-}
+wxEVT_COMMAND_DATAVIEW_ITEM_DROP ::  EventId
+wxEVT_COMMAND_DATAVIEW_ITEM_DROP 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_DATAVIEW_ITEM_DROP 
+foreign import ccall "expEVT_COMMAND_DATAVIEW_ITEM_DROP" wx_expEVT_COMMAND_DATAVIEW_ITEM_DROP :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_DATAVIEW_ITEM_DROP_POSSIBLE@).
+{-# NOINLINE wxEVT_COMMAND_DATAVIEW_ITEM_DROP_POSSIBLE #-}
+wxEVT_COMMAND_DATAVIEW_ITEM_DROP_POSSIBLE ::  EventId
+wxEVT_COMMAND_DATAVIEW_ITEM_DROP_POSSIBLE 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_DATAVIEW_ITEM_DROP_POSSIBLE 
+foreign import ccall "expEVT_COMMAND_DATAVIEW_ITEM_DROP_POSSIBLE" wx_expEVT_COMMAND_DATAVIEW_ITEM_DROP_POSSIBLE :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_DATAVIEW_ITEM_EDITING_DONE@).
+{-# NOINLINE wxEVT_COMMAND_DATAVIEW_ITEM_EDITING_DONE #-}
+wxEVT_COMMAND_DATAVIEW_ITEM_EDITING_DONE ::  EventId
+wxEVT_COMMAND_DATAVIEW_ITEM_EDITING_DONE 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_DATAVIEW_ITEM_EDITING_DONE 
+foreign import ccall "expEVT_COMMAND_DATAVIEW_ITEM_EDITING_DONE" wx_expEVT_COMMAND_DATAVIEW_ITEM_EDITING_DONE :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_DATAVIEW_ITEM_EDITING_STARTED@).
+{-# NOINLINE wxEVT_COMMAND_DATAVIEW_ITEM_EDITING_STARTED #-}
+wxEVT_COMMAND_DATAVIEW_ITEM_EDITING_STARTED ::  EventId
+wxEVT_COMMAND_DATAVIEW_ITEM_EDITING_STARTED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_DATAVIEW_ITEM_EDITING_STARTED 
+foreign import ccall "expEVT_COMMAND_DATAVIEW_ITEM_EDITING_STARTED" wx_expEVT_COMMAND_DATAVIEW_ITEM_EDITING_STARTED :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_DATAVIEW_ITEM_EXPANDED@).
+{-# NOINLINE wxEVT_COMMAND_DATAVIEW_ITEM_EXPANDED #-}
+wxEVT_COMMAND_DATAVIEW_ITEM_EXPANDED ::  EventId
+wxEVT_COMMAND_DATAVIEW_ITEM_EXPANDED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_DATAVIEW_ITEM_EXPANDED 
+foreign import ccall "expEVT_COMMAND_DATAVIEW_ITEM_EXPANDED" wx_expEVT_COMMAND_DATAVIEW_ITEM_EXPANDED :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_DATAVIEW_ITEM_EXPANDING@).
+{-# NOINLINE wxEVT_COMMAND_DATAVIEW_ITEM_EXPANDING #-}
+wxEVT_COMMAND_DATAVIEW_ITEM_EXPANDING ::  EventId
+wxEVT_COMMAND_DATAVIEW_ITEM_EXPANDING 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_DATAVIEW_ITEM_EXPANDING 
+foreign import ccall "expEVT_COMMAND_DATAVIEW_ITEM_EXPANDING" wx_expEVT_COMMAND_DATAVIEW_ITEM_EXPANDING :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_DATAVIEW_ITEM_START_EDITING@).
+{-# NOINLINE wxEVT_COMMAND_DATAVIEW_ITEM_START_EDITING #-}
+wxEVT_COMMAND_DATAVIEW_ITEM_START_EDITING ::  EventId
+wxEVT_COMMAND_DATAVIEW_ITEM_START_EDITING 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_DATAVIEW_ITEM_START_EDITING 
+foreign import ccall "expEVT_COMMAND_DATAVIEW_ITEM_START_EDITING" wx_expEVT_COMMAND_DATAVIEW_ITEM_START_EDITING :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_DATAVIEW_ITEM_VALUE_CHANGED@).
+{-# NOINLINE wxEVT_COMMAND_DATAVIEW_ITEM_VALUE_CHANGED #-}
+wxEVT_COMMAND_DATAVIEW_ITEM_VALUE_CHANGED ::  EventId
+wxEVT_COMMAND_DATAVIEW_ITEM_VALUE_CHANGED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_DATAVIEW_ITEM_VALUE_CHANGED 
+foreign import ccall "expEVT_COMMAND_DATAVIEW_ITEM_VALUE_CHANGED" wx_expEVT_COMMAND_DATAVIEW_ITEM_VALUE_CHANGED :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_DATAVIEW_SELECTION_CHANGED@).
+{-# NOINLINE wxEVT_COMMAND_DATAVIEW_SELECTION_CHANGED #-}
+wxEVT_COMMAND_DATAVIEW_SELECTION_CHANGED ::  EventId
+wxEVT_COMMAND_DATAVIEW_SELECTION_CHANGED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_DATAVIEW_SELECTION_CHANGED 
+foreign import ccall "expEVT_COMMAND_DATAVIEW_SELECTION_CHANGED" wx_expEVT_COMMAND_DATAVIEW_SELECTION_CHANGED :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_DIRPICKER_CHANGED@).
+{-# NOINLINE wxEVT_COMMAND_DIRPICKER_CHANGED #-}
+wxEVT_COMMAND_DIRPICKER_CHANGED ::  EventId
+wxEVT_COMMAND_DIRPICKER_CHANGED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_DIRPICKER_CHANGED 
+foreign import ccall "expEVT_COMMAND_DIRPICKER_CHANGED" wx_expEVT_COMMAND_DIRPICKER_CHANGED :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_ENTER@).
+{-# NOINLINE wxEVT_COMMAND_ENTER #-}
+wxEVT_COMMAND_ENTER ::  EventId
+wxEVT_COMMAND_ENTER 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_ENTER 
+foreign import ccall "expEVT_COMMAND_ENTER" wx_expEVT_COMMAND_ENTER :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_FILEPICKER_CHANGED@).
+{-# NOINLINE wxEVT_COMMAND_FILEPICKER_CHANGED #-}
+wxEVT_COMMAND_FILEPICKER_CHANGED ::  EventId
+wxEVT_COMMAND_FILEPICKER_CHANGED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_FILEPICKER_CHANGED 
+foreign import ccall "expEVT_COMMAND_FILEPICKER_CHANGED" wx_expEVT_COMMAND_FILEPICKER_CHANGED :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_FIND@).
+{-# NOINLINE wxEVT_COMMAND_FIND #-}
+wxEVT_COMMAND_FIND ::  EventId
+wxEVT_COMMAND_FIND 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_FIND 
+foreign import ccall "expEVT_COMMAND_FIND" wx_expEVT_COMMAND_FIND :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_FIND_CLOSE@).
+{-# NOINLINE wxEVT_COMMAND_FIND_CLOSE #-}
+wxEVT_COMMAND_FIND_CLOSE ::  EventId
+wxEVT_COMMAND_FIND_CLOSE 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_FIND_CLOSE 
+foreign import ccall "expEVT_COMMAND_FIND_CLOSE" wx_expEVT_COMMAND_FIND_CLOSE :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_FIND_NEXT@).
+{-# NOINLINE wxEVT_COMMAND_FIND_NEXT #-}
+wxEVT_COMMAND_FIND_NEXT ::  EventId
+wxEVT_COMMAND_FIND_NEXT 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_FIND_NEXT 
+foreign import ccall "expEVT_COMMAND_FIND_NEXT" wx_expEVT_COMMAND_FIND_NEXT :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_FIND_REPLACE@).
+{-# NOINLINE wxEVT_COMMAND_FIND_REPLACE #-}
+wxEVT_COMMAND_FIND_REPLACE ::  EventId
+wxEVT_COMMAND_FIND_REPLACE 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_FIND_REPLACE 
+foreign import ccall "expEVT_COMMAND_FIND_REPLACE" wx_expEVT_COMMAND_FIND_REPLACE :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_FIND_REPLACE_ALL@).
+{-# NOINLINE wxEVT_COMMAND_FIND_REPLACE_ALL #-}
+wxEVT_COMMAND_FIND_REPLACE_ALL ::  EventId
+wxEVT_COMMAND_FIND_REPLACE_ALL 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_FIND_REPLACE_ALL 
+foreign import ccall "expEVT_COMMAND_FIND_REPLACE_ALL" wx_expEVT_COMMAND_FIND_REPLACE_ALL :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_FONTPICKER_CHANGED@).
+{-# NOINLINE wxEVT_COMMAND_FONTPICKER_CHANGED #-}
+wxEVT_COMMAND_FONTPICKER_CHANGED ::  EventId
+wxEVT_COMMAND_FONTPICKER_CHANGED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_FONTPICKER_CHANGED 
+foreign import ccall "expEVT_COMMAND_FONTPICKER_CHANGED" wx_expEVT_COMMAND_FONTPICKER_CHANGED :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_HEADER_BEGIN_REORDER@).
+{-# NOINLINE wxEVT_COMMAND_HEADER_BEGIN_REORDER #-}
+wxEVT_COMMAND_HEADER_BEGIN_REORDER ::  EventId
+wxEVT_COMMAND_HEADER_BEGIN_REORDER 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_HEADER_BEGIN_REORDER 
+foreign import ccall "expEVT_COMMAND_HEADER_BEGIN_REORDER" wx_expEVT_COMMAND_HEADER_BEGIN_REORDER :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_HEADER_BEGIN_RESIZE@).
+{-# NOINLINE wxEVT_COMMAND_HEADER_BEGIN_RESIZE #-}
+wxEVT_COMMAND_HEADER_BEGIN_RESIZE ::  EventId
+wxEVT_COMMAND_HEADER_BEGIN_RESIZE 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_HEADER_BEGIN_RESIZE 
+foreign import ccall "expEVT_COMMAND_HEADER_BEGIN_RESIZE" wx_expEVT_COMMAND_HEADER_BEGIN_RESIZE :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_HEADER_CLICK@).
+{-# NOINLINE wxEVT_COMMAND_HEADER_CLICK #-}
+wxEVT_COMMAND_HEADER_CLICK ::  EventId
+wxEVT_COMMAND_HEADER_CLICK 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_HEADER_CLICK 
+foreign import ccall "expEVT_COMMAND_HEADER_CLICK" wx_expEVT_COMMAND_HEADER_CLICK :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_HEADER_DCLICK@).
+{-# NOINLINE wxEVT_COMMAND_HEADER_DCLICK #-}
+wxEVT_COMMAND_HEADER_DCLICK ::  EventId
+wxEVT_COMMAND_HEADER_DCLICK 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_HEADER_DCLICK 
+foreign import ccall "expEVT_COMMAND_HEADER_DCLICK" wx_expEVT_COMMAND_HEADER_DCLICK :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_HEADER_DRAGGING_CANCELLED@).
+{-# NOINLINE wxEVT_COMMAND_HEADER_DRAGGING_CANCELLED #-}
+wxEVT_COMMAND_HEADER_DRAGGING_CANCELLED ::  EventId
+wxEVT_COMMAND_HEADER_DRAGGING_CANCELLED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_HEADER_DRAGGING_CANCELLED 
+foreign import ccall "expEVT_COMMAND_HEADER_DRAGGING_CANCELLED" wx_expEVT_COMMAND_HEADER_DRAGGING_CANCELLED :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_HEADER_END_REORDER@).
+{-# NOINLINE wxEVT_COMMAND_HEADER_END_REORDER #-}
+wxEVT_COMMAND_HEADER_END_REORDER ::  EventId
+wxEVT_COMMAND_HEADER_END_REORDER 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_HEADER_END_REORDER 
+foreign import ccall "expEVT_COMMAND_HEADER_END_REORDER" wx_expEVT_COMMAND_HEADER_END_REORDER :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_HEADER_END_RESIZE@).
+{-# NOINLINE wxEVT_COMMAND_HEADER_END_RESIZE #-}
+wxEVT_COMMAND_HEADER_END_RESIZE ::  EventId
+wxEVT_COMMAND_HEADER_END_RESIZE 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_HEADER_END_RESIZE 
+foreign import ccall "expEVT_COMMAND_HEADER_END_RESIZE" wx_expEVT_COMMAND_HEADER_END_RESIZE :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_HEADER_MIDDLE_CLICK@).
+{-# NOINLINE wxEVT_COMMAND_HEADER_MIDDLE_CLICK #-}
+wxEVT_COMMAND_HEADER_MIDDLE_CLICK ::  EventId
+wxEVT_COMMAND_HEADER_MIDDLE_CLICK 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_HEADER_MIDDLE_CLICK 
+foreign import ccall "expEVT_COMMAND_HEADER_MIDDLE_CLICK" wx_expEVT_COMMAND_HEADER_MIDDLE_CLICK :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_HEADER_MIDDLE_DCLICK@).
+{-# NOINLINE wxEVT_COMMAND_HEADER_MIDDLE_DCLICK #-}
+wxEVT_COMMAND_HEADER_MIDDLE_DCLICK ::  EventId
+wxEVT_COMMAND_HEADER_MIDDLE_DCLICK 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_HEADER_MIDDLE_DCLICK 
+foreign import ccall "expEVT_COMMAND_HEADER_MIDDLE_DCLICK" wx_expEVT_COMMAND_HEADER_MIDDLE_DCLICK :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_HEADER_RESIZING@).
+{-# NOINLINE wxEVT_COMMAND_HEADER_RESIZING #-}
+wxEVT_COMMAND_HEADER_RESIZING ::  EventId
+wxEVT_COMMAND_HEADER_RESIZING 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_HEADER_RESIZING 
+foreign import ccall "expEVT_COMMAND_HEADER_RESIZING" wx_expEVT_COMMAND_HEADER_RESIZING :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_HEADER_RIGHT_CLICK@).
+{-# NOINLINE wxEVT_COMMAND_HEADER_RIGHT_CLICK #-}
+wxEVT_COMMAND_HEADER_RIGHT_CLICK ::  EventId
+wxEVT_COMMAND_HEADER_RIGHT_CLICK 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_HEADER_RIGHT_CLICK 
+foreign import ccall "expEVT_COMMAND_HEADER_RIGHT_CLICK" wx_expEVT_COMMAND_HEADER_RIGHT_CLICK :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_HEADER_RIGHT_DCLICK@).
+{-# NOINLINE wxEVT_COMMAND_HEADER_RIGHT_DCLICK #-}
+wxEVT_COMMAND_HEADER_RIGHT_DCLICK ::  EventId
+wxEVT_COMMAND_HEADER_RIGHT_DCLICK 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_HEADER_RIGHT_DCLICK 
+foreign import ccall "expEVT_COMMAND_HEADER_RIGHT_DCLICK" wx_expEVT_COMMAND_HEADER_RIGHT_DCLICK :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_HEADER_SEPARATOR_DCLICK@).
+{-# NOINLINE wxEVT_COMMAND_HEADER_SEPARATOR_DCLICK #-}
+wxEVT_COMMAND_HEADER_SEPARATOR_DCLICK ::  EventId
+wxEVT_COMMAND_HEADER_SEPARATOR_DCLICK 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_HEADER_SEPARATOR_DCLICK 
+foreign import ccall "expEVT_COMMAND_HEADER_SEPARATOR_DCLICK" wx_expEVT_COMMAND_HEADER_SEPARATOR_DCLICK :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_HTML_CELL_CLICKED@).
+{-# NOINLINE wxEVT_COMMAND_HTML_CELL_CLICKED #-}
+wxEVT_COMMAND_HTML_CELL_CLICKED ::  EventId
+wxEVT_COMMAND_HTML_CELL_CLICKED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_HTML_CELL_CLICKED 
+foreign import ccall "expEVT_COMMAND_HTML_CELL_CLICKED" wx_expEVT_COMMAND_HTML_CELL_CLICKED :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_HTML_CELL_HOVER@).
+{-# NOINLINE wxEVT_COMMAND_HTML_CELL_HOVER #-}
+wxEVT_COMMAND_HTML_CELL_HOVER ::  EventId
+wxEVT_COMMAND_HTML_CELL_HOVER 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_HTML_CELL_HOVER 
+foreign import ccall "expEVT_COMMAND_HTML_CELL_HOVER" wx_expEVT_COMMAND_HTML_CELL_HOVER :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_HTML_LINK_CLICKED@).
+{-# NOINLINE wxEVT_COMMAND_HTML_LINK_CLICKED #-}
+wxEVT_COMMAND_HTML_LINK_CLICKED ::  EventId
+wxEVT_COMMAND_HTML_LINK_CLICKED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_HTML_LINK_CLICKED 
+foreign import ccall "expEVT_COMMAND_HTML_LINK_CLICKED" wx_expEVT_COMMAND_HTML_LINK_CLICKED :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_HYPERLINK@).
+{-# NOINLINE wxEVT_COMMAND_HYPERLINK #-}
+wxEVT_COMMAND_HYPERLINK ::  EventId
+wxEVT_COMMAND_HYPERLINK 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_HYPERLINK 
+foreign import ccall "expEVT_COMMAND_HYPERLINK" wx_expEVT_COMMAND_HYPERLINK :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_KILL_FOCUS@).
+{-# NOINLINE wxEVT_COMMAND_KILL_FOCUS #-}
+wxEVT_COMMAND_KILL_FOCUS ::  EventId
+wxEVT_COMMAND_KILL_FOCUS 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_KILL_FOCUS 
+foreign import ccall "expEVT_COMMAND_KILL_FOCUS" wx_expEVT_COMMAND_KILL_FOCUS :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_LEFT_CLICK@).
+{-# NOINLINE wxEVT_COMMAND_LEFT_CLICK #-}
+wxEVT_COMMAND_LEFT_CLICK ::  EventId
+wxEVT_COMMAND_LEFT_CLICK 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_LEFT_CLICK 
+foreign import ccall "expEVT_COMMAND_LEFT_CLICK" wx_expEVT_COMMAND_LEFT_CLICK :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_LEFT_DCLICK@).
+{-# NOINLINE wxEVT_COMMAND_LEFT_DCLICK #-}
+wxEVT_COMMAND_LEFT_DCLICK ::  EventId
+wxEVT_COMMAND_LEFT_DCLICK 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_LEFT_DCLICK 
+foreign import ccall "expEVT_COMMAND_LEFT_DCLICK" wx_expEVT_COMMAND_LEFT_DCLICK :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED@).
+{-# NOINLINE wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED #-}
+wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED ::  EventId
+wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_LISTBOOK_PAGE_CHANGED 
+foreign import ccall "expEVT_COMMAND_LISTBOOK_PAGE_CHANGED" wx_expEVT_COMMAND_LISTBOOK_PAGE_CHANGED :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING@).
+{-# NOINLINE wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING #-}
+wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING ::  EventId
+wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_LISTBOOK_PAGE_CHANGING 
+foreign import ccall "expEVT_COMMAND_LISTBOOK_PAGE_CHANGING" wx_expEVT_COMMAND_LISTBOOK_PAGE_CHANGING :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_LISTBOX_DOUBLECLICKED@).
+{-# NOINLINE wxEVT_COMMAND_LISTBOX_DOUBLECLICKED #-}
+wxEVT_COMMAND_LISTBOX_DOUBLECLICKED ::  EventId
+wxEVT_COMMAND_LISTBOX_DOUBLECLICKED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_LISTBOX_DOUBLECLICKED 
+foreign import ccall "expEVT_COMMAND_LISTBOX_DOUBLECLICKED" wx_expEVT_COMMAND_LISTBOX_DOUBLECLICKED :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_LISTBOX_SELECTED@).
+{-# NOINLINE wxEVT_COMMAND_LISTBOX_SELECTED #-}
+wxEVT_COMMAND_LISTBOX_SELECTED ::  EventId
+wxEVT_COMMAND_LISTBOX_SELECTED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_LISTBOX_SELECTED 
+foreign import ccall "expEVT_COMMAND_LISTBOX_SELECTED" wx_expEVT_COMMAND_LISTBOX_SELECTED :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_LIST_BEGIN_DRAG@).
+{-# NOINLINE wxEVT_COMMAND_LIST_BEGIN_DRAG #-}
+wxEVT_COMMAND_LIST_BEGIN_DRAG ::  EventId
+wxEVT_COMMAND_LIST_BEGIN_DRAG 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_LIST_BEGIN_DRAG 
+foreign import ccall "expEVT_COMMAND_LIST_BEGIN_DRAG" wx_expEVT_COMMAND_LIST_BEGIN_DRAG :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT@).
+{-# NOINLINE wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT #-}
+wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT ::  EventId
+wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_LIST_BEGIN_LABEL_EDIT 
+foreign import ccall "expEVT_COMMAND_LIST_BEGIN_LABEL_EDIT" wx_expEVT_COMMAND_LIST_BEGIN_LABEL_EDIT :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_LIST_BEGIN_RDRAG@).
+{-# NOINLINE wxEVT_COMMAND_LIST_BEGIN_RDRAG #-}
+wxEVT_COMMAND_LIST_BEGIN_RDRAG ::  EventId
+wxEVT_COMMAND_LIST_BEGIN_RDRAG 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_LIST_BEGIN_RDRAG 
+foreign import ccall "expEVT_COMMAND_LIST_BEGIN_RDRAG" wx_expEVT_COMMAND_LIST_BEGIN_RDRAG :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_LIST_CACHE_HINT@).
+{-# NOINLINE wxEVT_COMMAND_LIST_CACHE_HINT #-}
+wxEVT_COMMAND_LIST_CACHE_HINT ::  EventId
+wxEVT_COMMAND_LIST_CACHE_HINT 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_LIST_CACHE_HINT 
+foreign import ccall "expEVT_COMMAND_LIST_CACHE_HINT" wx_expEVT_COMMAND_LIST_CACHE_HINT :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_LIST_COL_BEGIN_DRAG@).
+{-# NOINLINE wxEVT_COMMAND_LIST_COL_BEGIN_DRAG #-}
+wxEVT_COMMAND_LIST_COL_BEGIN_DRAG ::  EventId
+wxEVT_COMMAND_LIST_COL_BEGIN_DRAG 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_LIST_COL_BEGIN_DRAG 
+foreign import ccall "expEVT_COMMAND_LIST_COL_BEGIN_DRAG" wx_expEVT_COMMAND_LIST_COL_BEGIN_DRAG :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_LIST_COL_CLICK@).
+{-# NOINLINE wxEVT_COMMAND_LIST_COL_CLICK #-}
+wxEVT_COMMAND_LIST_COL_CLICK ::  EventId
+wxEVT_COMMAND_LIST_COL_CLICK 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_LIST_COL_CLICK 
+foreign import ccall "expEVT_COMMAND_LIST_COL_CLICK" wx_expEVT_COMMAND_LIST_COL_CLICK :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_LIST_COL_DRAGGING@).
+{-# NOINLINE wxEVT_COMMAND_LIST_COL_DRAGGING #-}
+wxEVT_COMMAND_LIST_COL_DRAGGING ::  EventId
+wxEVT_COMMAND_LIST_COL_DRAGGING 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_LIST_COL_DRAGGING 
+foreign import ccall "expEVT_COMMAND_LIST_COL_DRAGGING" wx_expEVT_COMMAND_LIST_COL_DRAGGING :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_LIST_COL_END_DRAG@).
+{-# NOINLINE wxEVT_COMMAND_LIST_COL_END_DRAG #-}
+wxEVT_COMMAND_LIST_COL_END_DRAG ::  EventId
+wxEVT_COMMAND_LIST_COL_END_DRAG 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_LIST_COL_END_DRAG 
+foreign import ccall "expEVT_COMMAND_LIST_COL_END_DRAG" wx_expEVT_COMMAND_LIST_COL_END_DRAG :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_LIST_COL_RIGHT_CLICK@).
+{-# NOINLINE wxEVT_COMMAND_LIST_COL_RIGHT_CLICK #-}
+wxEVT_COMMAND_LIST_COL_RIGHT_CLICK ::  EventId
+wxEVT_COMMAND_LIST_COL_RIGHT_CLICK 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_LIST_COL_RIGHT_CLICK 
+foreign import ccall "expEVT_COMMAND_LIST_COL_RIGHT_CLICK" wx_expEVT_COMMAND_LIST_COL_RIGHT_CLICK :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS@).
+{-# NOINLINE wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS #-}
+wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS ::  EventId
+wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_LIST_DELETE_ALL_ITEMS 
+foreign import ccall "expEVT_COMMAND_LIST_DELETE_ALL_ITEMS" wx_expEVT_COMMAND_LIST_DELETE_ALL_ITEMS :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_LIST_DELETE_ITEM@).
+{-# NOINLINE wxEVT_COMMAND_LIST_DELETE_ITEM #-}
+wxEVT_COMMAND_LIST_DELETE_ITEM ::  EventId
+wxEVT_COMMAND_LIST_DELETE_ITEM 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_LIST_DELETE_ITEM 
+foreign import ccall "expEVT_COMMAND_LIST_DELETE_ITEM" wx_expEVT_COMMAND_LIST_DELETE_ITEM :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_LIST_END_LABEL_EDIT@).
+{-# NOINLINE wxEVT_COMMAND_LIST_END_LABEL_EDIT #-}
+wxEVT_COMMAND_LIST_END_LABEL_EDIT ::  EventId
+wxEVT_COMMAND_LIST_END_LABEL_EDIT 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_LIST_END_LABEL_EDIT 
+foreign import ccall "expEVT_COMMAND_LIST_END_LABEL_EDIT" wx_expEVT_COMMAND_LIST_END_LABEL_EDIT :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_LIST_INSERT_ITEM@).
+{-# NOINLINE wxEVT_COMMAND_LIST_INSERT_ITEM #-}
+wxEVT_COMMAND_LIST_INSERT_ITEM ::  EventId
+wxEVT_COMMAND_LIST_INSERT_ITEM 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_LIST_INSERT_ITEM 
+foreign import ccall "expEVT_COMMAND_LIST_INSERT_ITEM" wx_expEVT_COMMAND_LIST_INSERT_ITEM :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_LIST_ITEM_ACTIVATED@).
+{-# NOINLINE wxEVT_COMMAND_LIST_ITEM_ACTIVATED #-}
+wxEVT_COMMAND_LIST_ITEM_ACTIVATED ::  EventId
+wxEVT_COMMAND_LIST_ITEM_ACTIVATED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_LIST_ITEM_ACTIVATED 
+foreign import ccall "expEVT_COMMAND_LIST_ITEM_ACTIVATED" wx_expEVT_COMMAND_LIST_ITEM_ACTIVATED :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_LIST_ITEM_DESELECTED@).
+{-# NOINLINE wxEVT_COMMAND_LIST_ITEM_DESELECTED #-}
+wxEVT_COMMAND_LIST_ITEM_DESELECTED ::  EventId
+wxEVT_COMMAND_LIST_ITEM_DESELECTED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_LIST_ITEM_DESELECTED 
+foreign import ccall "expEVT_COMMAND_LIST_ITEM_DESELECTED" wx_expEVT_COMMAND_LIST_ITEM_DESELECTED :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_LIST_ITEM_FOCUSED@).
+{-# NOINLINE wxEVT_COMMAND_LIST_ITEM_FOCUSED #-}
+wxEVT_COMMAND_LIST_ITEM_FOCUSED ::  EventId
+wxEVT_COMMAND_LIST_ITEM_FOCUSED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_LIST_ITEM_FOCUSED 
+foreign import ccall "expEVT_COMMAND_LIST_ITEM_FOCUSED" wx_expEVT_COMMAND_LIST_ITEM_FOCUSED :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK@).
+{-# NOINLINE wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK #-}
+wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK ::  EventId
+wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK 
+foreign import ccall "expEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK" wx_expEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK@).
+{-# NOINLINE wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK #-}
+wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK ::  EventId
+wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_LIST_ITEM_RIGHT_CLICK 
+foreign import ccall "expEVT_COMMAND_LIST_ITEM_RIGHT_CLICK" wx_expEVT_COMMAND_LIST_ITEM_RIGHT_CLICK :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_LIST_ITEM_SELECTED@).
+{-# NOINLINE wxEVT_COMMAND_LIST_ITEM_SELECTED #-}
+wxEVT_COMMAND_LIST_ITEM_SELECTED ::  EventId
+wxEVT_COMMAND_LIST_ITEM_SELECTED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_LIST_ITEM_SELECTED 
+foreign import ccall "expEVT_COMMAND_LIST_ITEM_SELECTED" wx_expEVT_COMMAND_LIST_ITEM_SELECTED :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_LIST_KEY_DOWN@).
+{-# NOINLINE wxEVT_COMMAND_LIST_KEY_DOWN #-}
+wxEVT_COMMAND_LIST_KEY_DOWN ::  EventId
+wxEVT_COMMAND_LIST_KEY_DOWN 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_LIST_KEY_DOWN 
+foreign import ccall "expEVT_COMMAND_LIST_KEY_DOWN" wx_expEVT_COMMAND_LIST_KEY_DOWN :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_MENU_SELECTED@).
+{-# NOINLINE wxEVT_COMMAND_MENU_SELECTED #-}
+wxEVT_COMMAND_MENU_SELECTED ::  EventId
+wxEVT_COMMAND_MENU_SELECTED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_MENU_SELECTED 
+foreign import ccall "expEVT_COMMAND_MENU_SELECTED" wx_expEVT_COMMAND_MENU_SELECTED :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED@).
+{-# NOINLINE wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED #-}
+wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED ::  EventId
+wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_NOTEBOOK_PAGE_CHANGED 
+foreign import ccall "expEVT_COMMAND_NOTEBOOK_PAGE_CHANGED" wx_expEVT_COMMAND_NOTEBOOK_PAGE_CHANGED :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING@).
+{-# NOINLINE wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING #-}
+wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING ::  EventId
+wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_NOTEBOOK_PAGE_CHANGING 
+foreign import ccall "expEVT_COMMAND_NOTEBOOK_PAGE_CHANGING" wx_expEVT_COMMAND_NOTEBOOK_PAGE_CHANGING :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_RADIOBOX_SELECTED@).
+{-# NOINLINE wxEVT_COMMAND_RADIOBOX_SELECTED #-}
+wxEVT_COMMAND_RADIOBOX_SELECTED ::  EventId
+wxEVT_COMMAND_RADIOBOX_SELECTED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_RADIOBOX_SELECTED 
+foreign import ccall "expEVT_COMMAND_RADIOBOX_SELECTED" wx_expEVT_COMMAND_RADIOBOX_SELECTED :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_RADIOBUTTON_SELECTED@).
+{-# NOINLINE wxEVT_COMMAND_RADIOBUTTON_SELECTED #-}
+wxEVT_COMMAND_RADIOBUTTON_SELECTED ::  EventId
+wxEVT_COMMAND_RADIOBUTTON_SELECTED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_RADIOBUTTON_SELECTED 
+foreign import ccall "expEVT_COMMAND_RADIOBUTTON_SELECTED" wx_expEVT_COMMAND_RADIOBUTTON_SELECTED :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_RIBBONBAR_PAGE_CHANGED@).
+{-# NOINLINE wxEVT_COMMAND_RIBBONBAR_PAGE_CHANGED #-}
+wxEVT_COMMAND_RIBBONBAR_PAGE_CHANGED ::  EventId
+wxEVT_COMMAND_RIBBONBAR_PAGE_CHANGED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_RIBBONBAR_PAGE_CHANGED 
+foreign import ccall "expEVT_COMMAND_RIBBONBAR_PAGE_CHANGED" wx_expEVT_COMMAND_RIBBONBAR_PAGE_CHANGED :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_RIBBONBAR_PAGE_CHANGING@).
+{-# NOINLINE wxEVT_COMMAND_RIBBONBAR_PAGE_CHANGING #-}
+wxEVT_COMMAND_RIBBONBAR_PAGE_CHANGING ::  EventId
+wxEVT_COMMAND_RIBBONBAR_PAGE_CHANGING 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_RIBBONBAR_PAGE_CHANGING 
+foreign import ccall "expEVT_COMMAND_RIBBONBAR_PAGE_CHANGING" wx_expEVT_COMMAND_RIBBONBAR_PAGE_CHANGING :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_RIBBONBAR_TAB_MIDDLE_DOWN@).
+{-# NOINLINE wxEVT_COMMAND_RIBBONBAR_TAB_MIDDLE_DOWN #-}
+wxEVT_COMMAND_RIBBONBAR_TAB_MIDDLE_DOWN ::  EventId
+wxEVT_COMMAND_RIBBONBAR_TAB_MIDDLE_DOWN 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_RIBBONBAR_TAB_MIDDLE_DOWN 
+foreign import ccall "expEVT_COMMAND_RIBBONBAR_TAB_MIDDLE_DOWN" wx_expEVT_COMMAND_RIBBONBAR_TAB_MIDDLE_DOWN :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_RIBBONBAR_TAB_MIDDLE_UP@).
+{-# NOINLINE wxEVT_COMMAND_RIBBONBAR_TAB_MIDDLE_UP #-}
+wxEVT_COMMAND_RIBBONBAR_TAB_MIDDLE_UP ::  EventId
+wxEVT_COMMAND_RIBBONBAR_TAB_MIDDLE_UP 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_RIBBONBAR_TAB_MIDDLE_UP 
+foreign import ccall "expEVT_COMMAND_RIBBONBAR_TAB_MIDDLE_UP" wx_expEVT_COMMAND_RIBBONBAR_TAB_MIDDLE_UP :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_RIBBONBAR_TAB_RIGHT_DOWN@).
+{-# NOINLINE wxEVT_COMMAND_RIBBONBAR_TAB_RIGHT_DOWN #-}
+wxEVT_COMMAND_RIBBONBAR_TAB_RIGHT_DOWN ::  EventId
+wxEVT_COMMAND_RIBBONBAR_TAB_RIGHT_DOWN 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_RIBBONBAR_TAB_RIGHT_DOWN 
+foreign import ccall "expEVT_COMMAND_RIBBONBAR_TAB_RIGHT_DOWN" wx_expEVT_COMMAND_RIBBONBAR_TAB_RIGHT_DOWN :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_RIBBONBAR_TAB_RIGHT_UP@).
+{-# NOINLINE wxEVT_COMMAND_RIBBONBAR_TAB_RIGHT_UP #-}
+wxEVT_COMMAND_RIBBONBAR_TAB_RIGHT_UP ::  EventId
+wxEVT_COMMAND_RIBBONBAR_TAB_RIGHT_UP 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_RIBBONBAR_TAB_RIGHT_UP 
+foreign import ccall "expEVT_COMMAND_RIBBONBAR_TAB_RIGHT_UP" wx_expEVT_COMMAND_RIBBONBAR_TAB_RIGHT_UP :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_RIBBONBUTTON_CLICKED@).
+{-# NOINLINE wxEVT_COMMAND_RIBBONBUTTON_CLICKED #-}
+wxEVT_COMMAND_RIBBONBUTTON_CLICKED ::  EventId
+wxEVT_COMMAND_RIBBONBUTTON_CLICKED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_RIBBONBUTTON_CLICKED 
+foreign import ccall "expEVT_COMMAND_RIBBONBUTTON_CLICKED" wx_expEVT_COMMAND_RIBBONBUTTON_CLICKED :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_RIBBONBUTTON_DROPDOWN_CLICKED@).
+{-# NOINLINE wxEVT_COMMAND_RIBBONBUTTON_DROPDOWN_CLICKED #-}
+wxEVT_COMMAND_RIBBONBUTTON_DROPDOWN_CLICKED ::  EventId
+wxEVT_COMMAND_RIBBONBUTTON_DROPDOWN_CLICKED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_RIBBONBUTTON_DROPDOWN_CLICKED 
+foreign import ccall "expEVT_COMMAND_RIBBONBUTTON_DROPDOWN_CLICKED" wx_expEVT_COMMAND_RIBBONBUTTON_DROPDOWN_CLICKED :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_RIBBONGALLERY_HOVER_CHANGED@).
+{-# NOINLINE wxEVT_COMMAND_RIBBONGALLERY_HOVER_CHANGED #-}
+wxEVT_COMMAND_RIBBONGALLERY_HOVER_CHANGED ::  EventId
+wxEVT_COMMAND_RIBBONGALLERY_HOVER_CHANGED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_RIBBONGALLERY_HOVER_CHANGED 
+foreign import ccall "expEVT_COMMAND_RIBBONGALLERY_HOVER_CHANGED" wx_expEVT_COMMAND_RIBBONGALLERY_HOVER_CHANGED :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_RIBBONGALLERY_SELECTED@).
+{-# NOINLINE wxEVT_COMMAND_RIBBONGALLERY_SELECTED #-}
+wxEVT_COMMAND_RIBBONGALLERY_SELECTED ::  EventId
+wxEVT_COMMAND_RIBBONGALLERY_SELECTED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_RIBBONGALLERY_SELECTED 
+foreign import ccall "expEVT_COMMAND_RIBBONGALLERY_SELECTED" wx_expEVT_COMMAND_RIBBONGALLERY_SELECTED :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_RIBBONTOOL_CLICKED@).
+{-# NOINLINE wxEVT_COMMAND_RIBBONTOOL_CLICKED #-}
+wxEVT_COMMAND_RIBBONTOOL_CLICKED ::  EventId
+wxEVT_COMMAND_RIBBONTOOL_CLICKED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_RIBBONTOOL_CLICKED 
+foreign import ccall "expEVT_COMMAND_RIBBONTOOL_CLICKED" wx_expEVT_COMMAND_RIBBONTOOL_CLICKED :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_RIBBONTOOL_DROPDOWN_CLICKED@).
+{-# NOINLINE wxEVT_COMMAND_RIBBONTOOL_DROPDOWN_CLICKED #-}
+wxEVT_COMMAND_RIBBONTOOL_DROPDOWN_CLICKED ::  EventId
+wxEVT_COMMAND_RIBBONTOOL_DROPDOWN_CLICKED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_RIBBONTOOL_DROPDOWN_CLICKED 
+foreign import ccall "expEVT_COMMAND_RIBBONTOOL_DROPDOWN_CLICKED" wx_expEVT_COMMAND_RIBBONTOOL_DROPDOWN_CLICKED :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_RICHTEXT_BUFFER_RESET@).
+{-# NOINLINE wxEVT_COMMAND_RICHTEXT_BUFFER_RESET #-}
+wxEVT_COMMAND_RICHTEXT_BUFFER_RESET ::  EventId
+wxEVT_COMMAND_RICHTEXT_BUFFER_RESET 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_RICHTEXT_BUFFER_RESET 
+foreign import ccall "expEVT_COMMAND_RICHTEXT_BUFFER_RESET" wx_expEVT_COMMAND_RICHTEXT_BUFFER_RESET :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_RICHTEXT_CHARACTER@).
+{-# NOINLINE wxEVT_COMMAND_RICHTEXT_CHARACTER #-}
+wxEVT_COMMAND_RICHTEXT_CHARACTER ::  EventId
+wxEVT_COMMAND_RICHTEXT_CHARACTER 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_RICHTEXT_CHARACTER 
+foreign import ccall "expEVT_COMMAND_RICHTEXT_CHARACTER" wx_expEVT_COMMAND_RICHTEXT_CHARACTER :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_RICHTEXT_CONTENT_DELETED@).
+{-# NOINLINE wxEVT_COMMAND_RICHTEXT_CONTENT_DELETED #-}
+wxEVT_COMMAND_RICHTEXT_CONTENT_DELETED ::  EventId
+wxEVT_COMMAND_RICHTEXT_CONTENT_DELETED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_RICHTEXT_CONTENT_DELETED 
+foreign import ccall "expEVT_COMMAND_RICHTEXT_CONTENT_DELETED" wx_expEVT_COMMAND_RICHTEXT_CONTENT_DELETED :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_RICHTEXT_CONTENT_INSERTED@).
+{-# NOINLINE wxEVT_COMMAND_RICHTEXT_CONTENT_INSERTED #-}
+wxEVT_COMMAND_RICHTEXT_CONTENT_INSERTED ::  EventId
+wxEVT_COMMAND_RICHTEXT_CONTENT_INSERTED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_RICHTEXT_CONTENT_INSERTED 
+foreign import ccall "expEVT_COMMAND_RICHTEXT_CONTENT_INSERTED" wx_expEVT_COMMAND_RICHTEXT_CONTENT_INSERTED :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_RICHTEXT_DELETE@).
+{-# NOINLINE wxEVT_COMMAND_RICHTEXT_DELETE #-}
+wxEVT_COMMAND_RICHTEXT_DELETE ::  EventId
+wxEVT_COMMAND_RICHTEXT_DELETE 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_RICHTEXT_DELETE 
+foreign import ccall "expEVT_COMMAND_RICHTEXT_DELETE" wx_expEVT_COMMAND_RICHTEXT_DELETE :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_RICHTEXT_LEFT_CLICK@).
+{-# NOINLINE wxEVT_COMMAND_RICHTEXT_LEFT_CLICK #-}
+wxEVT_COMMAND_RICHTEXT_LEFT_CLICK ::  EventId
+wxEVT_COMMAND_RICHTEXT_LEFT_CLICK 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_RICHTEXT_LEFT_CLICK 
+foreign import ccall "expEVT_COMMAND_RICHTEXT_LEFT_CLICK" wx_expEVT_COMMAND_RICHTEXT_LEFT_CLICK :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_RICHTEXT_LEFT_DCLICK@).
+{-# NOINLINE wxEVT_COMMAND_RICHTEXT_LEFT_DCLICK #-}
+wxEVT_COMMAND_RICHTEXT_LEFT_DCLICK ::  EventId
+wxEVT_COMMAND_RICHTEXT_LEFT_DCLICK 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_RICHTEXT_LEFT_DCLICK 
+foreign import ccall "expEVT_COMMAND_RICHTEXT_LEFT_DCLICK" wx_expEVT_COMMAND_RICHTEXT_LEFT_DCLICK :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_RICHTEXT_MIDDLE_CLICK@).
+{-# NOINLINE wxEVT_COMMAND_RICHTEXT_MIDDLE_CLICK #-}
+wxEVT_COMMAND_RICHTEXT_MIDDLE_CLICK ::  EventId
+wxEVT_COMMAND_RICHTEXT_MIDDLE_CLICK 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_RICHTEXT_MIDDLE_CLICK 
+foreign import ccall "expEVT_COMMAND_RICHTEXT_MIDDLE_CLICK" wx_expEVT_COMMAND_RICHTEXT_MIDDLE_CLICK :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_RICHTEXT_RETURN@).
+{-# NOINLINE wxEVT_COMMAND_RICHTEXT_RETURN #-}
+wxEVT_COMMAND_RICHTEXT_RETURN ::  EventId
+wxEVT_COMMAND_RICHTEXT_RETURN 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_RICHTEXT_RETURN 
+foreign import ccall "expEVT_COMMAND_RICHTEXT_RETURN" wx_expEVT_COMMAND_RICHTEXT_RETURN :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_RICHTEXT_RIGHT_CLICK@).
+{-# NOINLINE wxEVT_COMMAND_RICHTEXT_RIGHT_CLICK #-}
+wxEVT_COMMAND_RICHTEXT_RIGHT_CLICK ::  EventId
+wxEVT_COMMAND_RICHTEXT_RIGHT_CLICK 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_RICHTEXT_RIGHT_CLICK 
+foreign import ccall "expEVT_COMMAND_RICHTEXT_RIGHT_CLICK" wx_expEVT_COMMAND_RICHTEXT_RIGHT_CLICK :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_RICHTEXT_SELECTION_CHANGED@).
+{-# NOINLINE wxEVT_COMMAND_RICHTEXT_SELECTION_CHANGED #-}
+wxEVT_COMMAND_RICHTEXT_SELECTION_CHANGED ::  EventId
+wxEVT_COMMAND_RICHTEXT_SELECTION_CHANGED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_RICHTEXT_SELECTION_CHANGED 
+foreign import ccall "expEVT_COMMAND_RICHTEXT_SELECTION_CHANGED" wx_expEVT_COMMAND_RICHTEXT_SELECTION_CHANGED :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_RICHTEXT_STYLESHEET_CHANGED@).
+{-# NOINLINE wxEVT_COMMAND_RICHTEXT_STYLESHEET_CHANGED #-}
+wxEVT_COMMAND_RICHTEXT_STYLESHEET_CHANGED ::  EventId
+wxEVT_COMMAND_RICHTEXT_STYLESHEET_CHANGED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_RICHTEXT_STYLESHEET_CHANGED 
+foreign import ccall "expEVT_COMMAND_RICHTEXT_STYLESHEET_CHANGED" wx_expEVT_COMMAND_RICHTEXT_STYLESHEET_CHANGED :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_RICHTEXT_STYLESHEET_CHANGING@).
+{-# NOINLINE wxEVT_COMMAND_RICHTEXT_STYLESHEET_CHANGING #-}
+wxEVT_COMMAND_RICHTEXT_STYLESHEET_CHANGING ::  EventId
+wxEVT_COMMAND_RICHTEXT_STYLESHEET_CHANGING 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_RICHTEXT_STYLESHEET_CHANGING 
+foreign import ccall "expEVT_COMMAND_RICHTEXT_STYLESHEET_CHANGING" wx_expEVT_COMMAND_RICHTEXT_STYLESHEET_CHANGING :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_RICHTEXT_STYLESHEET_REPLACED@).
+{-# NOINLINE wxEVT_COMMAND_RICHTEXT_STYLESHEET_REPLACED #-}
+wxEVT_COMMAND_RICHTEXT_STYLESHEET_REPLACED ::  EventId
+wxEVT_COMMAND_RICHTEXT_STYLESHEET_REPLACED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_RICHTEXT_STYLESHEET_REPLACED 
+foreign import ccall "expEVT_COMMAND_RICHTEXT_STYLESHEET_REPLACED" wx_expEVT_COMMAND_RICHTEXT_STYLESHEET_REPLACED :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_RICHTEXT_STYLESHEET_REPLACING@).
+{-# NOINLINE wxEVT_COMMAND_RICHTEXT_STYLESHEET_REPLACING #-}
+wxEVT_COMMAND_RICHTEXT_STYLESHEET_REPLACING ::  EventId
+wxEVT_COMMAND_RICHTEXT_STYLESHEET_REPLACING 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_RICHTEXT_STYLESHEET_REPLACING 
+foreign import ccall "expEVT_COMMAND_RICHTEXT_STYLESHEET_REPLACING" wx_expEVT_COMMAND_RICHTEXT_STYLESHEET_REPLACING :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_RICHTEXT_STYLE_CHANGED@).
+{-# NOINLINE wxEVT_COMMAND_RICHTEXT_STYLE_CHANGED #-}
+wxEVT_COMMAND_RICHTEXT_STYLE_CHANGED ::  EventId
+wxEVT_COMMAND_RICHTEXT_STYLE_CHANGED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_RICHTEXT_STYLE_CHANGED 
+foreign import ccall "expEVT_COMMAND_RICHTEXT_STYLE_CHANGED" wx_expEVT_COMMAND_RICHTEXT_STYLE_CHANGED :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_RIGHT_CLICK@).
+{-# NOINLINE wxEVT_COMMAND_RIGHT_CLICK #-}
+wxEVT_COMMAND_RIGHT_CLICK ::  EventId
+wxEVT_COMMAND_RIGHT_CLICK 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_RIGHT_CLICK 
+foreign import ccall "expEVT_COMMAND_RIGHT_CLICK" wx_expEVT_COMMAND_RIGHT_CLICK :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_RIGHT_DCLICK@).
+{-# NOINLINE wxEVT_COMMAND_RIGHT_DCLICK #-}
+wxEVT_COMMAND_RIGHT_DCLICK ::  EventId
+wxEVT_COMMAND_RIGHT_DCLICK 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_RIGHT_DCLICK 
+foreign import ccall "expEVT_COMMAND_RIGHT_DCLICK" wx_expEVT_COMMAND_RIGHT_DCLICK :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN@).
+{-# NOINLINE wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN #-}
+wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN ::  EventId
+wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_SEARCHCTRL_CANCEL_BTN 
+foreign import ccall "expEVT_COMMAND_SEARCHCTRL_CANCEL_BTN" wx_expEVT_COMMAND_SEARCHCTRL_CANCEL_BTN :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN@).
+{-# NOINLINE wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN #-}
+wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN ::  EventId
+wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_SEARCHCTRL_SEARCH_BTN 
+foreign import ccall "expEVT_COMMAND_SEARCHCTRL_SEARCH_BTN" wx_expEVT_COMMAND_SEARCHCTRL_SEARCH_BTN :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_SET_FOCUS@).
+{-# NOINLINE wxEVT_COMMAND_SET_FOCUS #-}
+wxEVT_COMMAND_SET_FOCUS ::  EventId
+wxEVT_COMMAND_SET_FOCUS 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_SET_FOCUS 
+foreign import ccall "expEVT_COMMAND_SET_FOCUS" wx_expEVT_COMMAND_SET_FOCUS :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_SLIDER_UPDATED@).
+{-# NOINLINE wxEVT_COMMAND_SLIDER_UPDATED #-}
+wxEVT_COMMAND_SLIDER_UPDATED ::  EventId
+wxEVT_COMMAND_SLIDER_UPDATED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_SLIDER_UPDATED 
+foreign import ccall "expEVT_COMMAND_SLIDER_UPDATED" wx_expEVT_COMMAND_SLIDER_UPDATED :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_SPINCTRLDOUBLE_UPDATED@).
+{-# NOINLINE wxEVT_COMMAND_SPINCTRLDOUBLE_UPDATED #-}
+wxEVT_COMMAND_SPINCTRLDOUBLE_UPDATED ::  EventId
+wxEVT_COMMAND_SPINCTRLDOUBLE_UPDATED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_SPINCTRLDOUBLE_UPDATED 
+foreign import ccall "expEVT_COMMAND_SPINCTRLDOUBLE_UPDATED" wx_expEVT_COMMAND_SPINCTRLDOUBLE_UPDATED :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_SPINCTRL_UPDATED@).
+{-# NOINLINE wxEVT_COMMAND_SPINCTRL_UPDATED #-}
+wxEVT_COMMAND_SPINCTRL_UPDATED ::  EventId
+wxEVT_COMMAND_SPINCTRL_UPDATED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_SPINCTRL_UPDATED 
+foreign import ccall "expEVT_COMMAND_SPINCTRL_UPDATED" wx_expEVT_COMMAND_SPINCTRL_UPDATED :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_SPLITTER_DOUBLECLICKED@).
+{-# NOINLINE wxEVT_COMMAND_SPLITTER_DOUBLECLICKED #-}
+wxEVT_COMMAND_SPLITTER_DOUBLECLICKED ::  EventId
+wxEVT_COMMAND_SPLITTER_DOUBLECLICKED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_SPLITTER_DOUBLECLICKED 
+foreign import ccall "expEVT_COMMAND_SPLITTER_DOUBLECLICKED" wx_expEVT_COMMAND_SPLITTER_DOUBLECLICKED :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED@).
+{-# NOINLINE wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED #-}
+wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED ::  EventId
+wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_SPLITTER_SASH_POS_CHANGED 
+foreign import ccall "expEVT_COMMAND_SPLITTER_SASH_POS_CHANGED" wx_expEVT_COMMAND_SPLITTER_SASH_POS_CHANGED :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING@).
+{-# NOINLINE wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING #-}
+wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING ::  EventId
+wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_SPLITTER_SASH_POS_CHANGING 
+foreign import ccall "expEVT_COMMAND_SPLITTER_SASH_POS_CHANGING" wx_expEVT_COMMAND_SPLITTER_SASH_POS_CHANGING :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_SPLITTER_UNSPLIT@).
+{-# NOINLINE wxEVT_COMMAND_SPLITTER_UNSPLIT #-}
+wxEVT_COMMAND_SPLITTER_UNSPLIT ::  EventId
+wxEVT_COMMAND_SPLITTER_UNSPLIT 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_SPLITTER_UNSPLIT 
+foreign import ccall "expEVT_COMMAND_SPLITTER_UNSPLIT" wx_expEVT_COMMAND_SPLITTER_UNSPLIT :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_TEXT_COPY@).
+{-# NOINLINE wxEVT_COMMAND_TEXT_COPY #-}
+wxEVT_COMMAND_TEXT_COPY ::  EventId
+wxEVT_COMMAND_TEXT_COPY 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_TEXT_COPY 
+foreign import ccall "expEVT_COMMAND_TEXT_COPY" wx_expEVT_COMMAND_TEXT_COPY :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_TEXT_CUT@).
+{-# NOINLINE wxEVT_COMMAND_TEXT_CUT #-}
+wxEVT_COMMAND_TEXT_CUT ::  EventId
+wxEVT_COMMAND_TEXT_CUT 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_TEXT_CUT 
+foreign import ccall "expEVT_COMMAND_TEXT_CUT" wx_expEVT_COMMAND_TEXT_CUT :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_TEXT_ENTER@).
+{-# NOINLINE wxEVT_COMMAND_TEXT_ENTER #-}
+wxEVT_COMMAND_TEXT_ENTER ::  EventId
+wxEVT_COMMAND_TEXT_ENTER 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_TEXT_ENTER 
+foreign import ccall "expEVT_COMMAND_TEXT_ENTER" wx_expEVT_COMMAND_TEXT_ENTER :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_TEXT_MAXLEN@).
+{-# NOINLINE wxEVT_COMMAND_TEXT_MAXLEN #-}
+wxEVT_COMMAND_TEXT_MAXLEN ::  EventId
+wxEVT_COMMAND_TEXT_MAXLEN 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_TEXT_MAXLEN 
+foreign import ccall "expEVT_COMMAND_TEXT_MAXLEN" wx_expEVT_COMMAND_TEXT_MAXLEN :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_TEXT_PASTE@).
+{-# NOINLINE wxEVT_COMMAND_TEXT_PASTE #-}
+wxEVT_COMMAND_TEXT_PASTE ::  EventId
+wxEVT_COMMAND_TEXT_PASTE 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_TEXT_PASTE 
+foreign import ccall "expEVT_COMMAND_TEXT_PASTE" wx_expEVT_COMMAND_TEXT_PASTE :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_TEXT_UPDATED@).
+{-# NOINLINE wxEVT_COMMAND_TEXT_UPDATED #-}
+wxEVT_COMMAND_TEXT_UPDATED ::  EventId
+wxEVT_COMMAND_TEXT_UPDATED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_TEXT_UPDATED 
+foreign import ccall "expEVT_COMMAND_TEXT_UPDATED" wx_expEVT_COMMAND_TEXT_UPDATED :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_TEXT_URL@).
+{-# NOINLINE wxEVT_COMMAND_TEXT_URL #-}
+wxEVT_COMMAND_TEXT_URL ::  EventId
+wxEVT_COMMAND_TEXT_URL 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_TEXT_URL 
+foreign import ccall "expEVT_COMMAND_TEXT_URL" wx_expEVT_COMMAND_TEXT_URL :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_THREAD@).
+{-# NOINLINE wxEVT_COMMAND_THREAD #-}
+wxEVT_COMMAND_THREAD ::  EventId
+wxEVT_COMMAND_THREAD 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_THREAD 
+foreign import ccall "expEVT_COMMAND_THREAD" wx_expEVT_COMMAND_THREAD :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_TOGGLEBUTTON_CLICKED@).
+{-# NOINLINE wxEVT_COMMAND_TOGGLEBUTTON_CLICKED #-}
+wxEVT_COMMAND_TOGGLEBUTTON_CLICKED ::  EventId
+wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_TOGGLEBUTTON_CLICKED 
+foreign import ccall "expEVT_COMMAND_TOGGLEBUTTON_CLICKED" wx_expEVT_COMMAND_TOGGLEBUTTON_CLICKED :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED@).
+{-# NOINLINE wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED #-}
+wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED ::  EventId
+wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_TOOLBOOK_PAGE_CHANGED 
+foreign import ccall "expEVT_COMMAND_TOOLBOOK_PAGE_CHANGED" wx_expEVT_COMMAND_TOOLBOOK_PAGE_CHANGED :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING@).
+{-# NOINLINE wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING #-}
+wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING ::  EventId
+wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_TOOLBOOK_PAGE_CHANGING 
+foreign import ccall "expEVT_COMMAND_TOOLBOOK_PAGE_CHANGING" wx_expEVT_COMMAND_TOOLBOOK_PAGE_CHANGING :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_TOOL_CLICKED@).
+{-# NOINLINE wxEVT_COMMAND_TOOL_CLICKED #-}
+wxEVT_COMMAND_TOOL_CLICKED ::  EventId
+wxEVT_COMMAND_TOOL_CLICKED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_TOOL_CLICKED 
+foreign import ccall "expEVT_COMMAND_TOOL_CLICKED" wx_expEVT_COMMAND_TOOL_CLICKED :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_TOOL_DROPDOWN_CLICKED@).
+{-# NOINLINE wxEVT_COMMAND_TOOL_DROPDOWN_CLICKED #-}
+wxEVT_COMMAND_TOOL_DROPDOWN_CLICKED ::  EventId
+wxEVT_COMMAND_TOOL_DROPDOWN_CLICKED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_TOOL_DROPDOWN_CLICKED 
+foreign import ccall "expEVT_COMMAND_TOOL_DROPDOWN_CLICKED" wx_expEVT_COMMAND_TOOL_DROPDOWN_CLICKED :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_TOOL_ENTER@).
+{-# NOINLINE wxEVT_COMMAND_TOOL_ENTER #-}
+wxEVT_COMMAND_TOOL_ENTER ::  EventId
+wxEVT_COMMAND_TOOL_ENTER 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_TOOL_ENTER 
+foreign import ccall "expEVT_COMMAND_TOOL_ENTER" wx_expEVT_COMMAND_TOOL_ENTER :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_TOOL_RCLICKED@).
+{-# NOINLINE wxEVT_COMMAND_TOOL_RCLICKED #-}
+wxEVT_COMMAND_TOOL_RCLICKED ::  EventId
+wxEVT_COMMAND_TOOL_RCLICKED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_TOOL_RCLICKED 
+foreign import ccall "expEVT_COMMAND_TOOL_RCLICKED" wx_expEVT_COMMAND_TOOL_RCLICKED :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED@).
+{-# NOINLINE wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED #-}
+wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED ::  EventId
+wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_TREEBOOK_NODE_COLLAPSED 
+foreign import ccall "expEVT_COMMAND_TREEBOOK_NODE_COLLAPSED" wx_expEVT_COMMAND_TREEBOOK_NODE_COLLAPSED :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED@).
+{-# NOINLINE wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED #-}
+wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED ::  EventId
+wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_TREEBOOK_NODE_EXPANDED 
+foreign import ccall "expEVT_COMMAND_TREEBOOK_NODE_EXPANDED" wx_expEVT_COMMAND_TREEBOOK_NODE_EXPANDED :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED@).
+{-# NOINLINE wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED #-}
+wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED ::  EventId
+wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_TREEBOOK_PAGE_CHANGED 
+foreign import ccall "expEVT_COMMAND_TREEBOOK_PAGE_CHANGED" wx_expEVT_COMMAND_TREEBOOK_PAGE_CHANGED :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING@).
+{-# NOINLINE wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING #-}
+wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING ::  EventId
+wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_TREEBOOK_PAGE_CHANGING 
+foreign import ccall "expEVT_COMMAND_TREEBOOK_PAGE_CHANGING" wx_expEVT_COMMAND_TREEBOOK_PAGE_CHANGING :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_TREE_BEGIN_DRAG@).
+{-# NOINLINE wxEVT_COMMAND_TREE_BEGIN_DRAG #-}
+wxEVT_COMMAND_TREE_BEGIN_DRAG ::  EventId
+wxEVT_COMMAND_TREE_BEGIN_DRAG 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_TREE_BEGIN_DRAG 
+foreign import ccall "expEVT_COMMAND_TREE_BEGIN_DRAG" wx_expEVT_COMMAND_TREE_BEGIN_DRAG :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT@).
+{-# NOINLINE wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT #-}
+wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT ::  EventId
+wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_TREE_BEGIN_LABEL_EDIT 
+foreign import ccall "expEVT_COMMAND_TREE_BEGIN_LABEL_EDIT" wx_expEVT_COMMAND_TREE_BEGIN_LABEL_EDIT :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_TREE_BEGIN_RDRAG@).
+{-# NOINLINE wxEVT_COMMAND_TREE_BEGIN_RDRAG #-}
+wxEVT_COMMAND_TREE_BEGIN_RDRAG ::  EventId
+wxEVT_COMMAND_TREE_BEGIN_RDRAG 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_TREE_BEGIN_RDRAG 
+foreign import ccall "expEVT_COMMAND_TREE_BEGIN_RDRAG" wx_expEVT_COMMAND_TREE_BEGIN_RDRAG :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_TREE_DELETE_ITEM@).
+{-# NOINLINE wxEVT_COMMAND_TREE_DELETE_ITEM #-}
+wxEVT_COMMAND_TREE_DELETE_ITEM ::  EventId
+wxEVT_COMMAND_TREE_DELETE_ITEM 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_TREE_DELETE_ITEM 
+foreign import ccall "expEVT_COMMAND_TREE_DELETE_ITEM" wx_expEVT_COMMAND_TREE_DELETE_ITEM :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_TREE_END_DRAG@).
+{-# NOINLINE wxEVT_COMMAND_TREE_END_DRAG #-}
+wxEVT_COMMAND_TREE_END_DRAG ::  EventId
+wxEVT_COMMAND_TREE_END_DRAG 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_TREE_END_DRAG 
+foreign import ccall "expEVT_COMMAND_TREE_END_DRAG" wx_expEVT_COMMAND_TREE_END_DRAG :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_TREE_END_LABEL_EDIT@).
+{-# NOINLINE wxEVT_COMMAND_TREE_END_LABEL_EDIT #-}
+wxEVT_COMMAND_TREE_END_LABEL_EDIT ::  EventId
+wxEVT_COMMAND_TREE_END_LABEL_EDIT 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_TREE_END_LABEL_EDIT 
+foreign import ccall "expEVT_COMMAND_TREE_END_LABEL_EDIT" wx_expEVT_COMMAND_TREE_END_LABEL_EDIT :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_TREE_GET_INFO@).
+{-# NOINLINE wxEVT_COMMAND_TREE_GET_INFO #-}
+wxEVT_COMMAND_TREE_GET_INFO ::  EventId
+wxEVT_COMMAND_TREE_GET_INFO 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_TREE_GET_INFO 
+foreign import ccall "expEVT_COMMAND_TREE_GET_INFO" wx_expEVT_COMMAND_TREE_GET_INFO :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_TREE_ITEM_ACTIVATED@).
+{-# NOINLINE wxEVT_COMMAND_TREE_ITEM_ACTIVATED #-}
+wxEVT_COMMAND_TREE_ITEM_ACTIVATED ::  EventId
+wxEVT_COMMAND_TREE_ITEM_ACTIVATED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_TREE_ITEM_ACTIVATED 
+foreign import ccall "expEVT_COMMAND_TREE_ITEM_ACTIVATED" wx_expEVT_COMMAND_TREE_ITEM_ACTIVATED :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_TREE_ITEM_COLLAPSED@).
+{-# NOINLINE wxEVT_COMMAND_TREE_ITEM_COLLAPSED #-}
+wxEVT_COMMAND_TREE_ITEM_COLLAPSED ::  EventId
+wxEVT_COMMAND_TREE_ITEM_COLLAPSED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_TREE_ITEM_COLLAPSED 
+foreign import ccall "expEVT_COMMAND_TREE_ITEM_COLLAPSED" wx_expEVT_COMMAND_TREE_ITEM_COLLAPSED :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_TREE_ITEM_COLLAPSING@).
+{-# NOINLINE wxEVT_COMMAND_TREE_ITEM_COLLAPSING #-}
+wxEVT_COMMAND_TREE_ITEM_COLLAPSING ::  EventId
+wxEVT_COMMAND_TREE_ITEM_COLLAPSING 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_TREE_ITEM_COLLAPSING 
+foreign import ccall "expEVT_COMMAND_TREE_ITEM_COLLAPSING" wx_expEVT_COMMAND_TREE_ITEM_COLLAPSING :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_TREE_ITEM_EXPANDED@).
+{-# NOINLINE wxEVT_COMMAND_TREE_ITEM_EXPANDED #-}
+wxEVT_COMMAND_TREE_ITEM_EXPANDED ::  EventId
+wxEVT_COMMAND_TREE_ITEM_EXPANDED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_TREE_ITEM_EXPANDED 
+foreign import ccall "expEVT_COMMAND_TREE_ITEM_EXPANDED" wx_expEVT_COMMAND_TREE_ITEM_EXPANDED :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_TREE_ITEM_EXPANDING@).
+{-# NOINLINE wxEVT_COMMAND_TREE_ITEM_EXPANDING #-}
+wxEVT_COMMAND_TREE_ITEM_EXPANDING ::  EventId
+wxEVT_COMMAND_TREE_ITEM_EXPANDING 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_TREE_ITEM_EXPANDING 
+foreign import ccall "expEVT_COMMAND_TREE_ITEM_EXPANDING" wx_expEVT_COMMAND_TREE_ITEM_EXPANDING :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP@).
+{-# NOINLINE wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP #-}
+wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP ::  EventId
+wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_TREE_ITEM_GETTOOLTIP 
+foreign import ccall "expEVT_COMMAND_TREE_ITEM_GETTOOLTIP" wx_expEVT_COMMAND_TREE_ITEM_GETTOOLTIP :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_TREE_ITEM_MENU@).
+{-# NOINLINE wxEVT_COMMAND_TREE_ITEM_MENU #-}
+wxEVT_COMMAND_TREE_ITEM_MENU ::  EventId
+wxEVT_COMMAND_TREE_ITEM_MENU 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_TREE_ITEM_MENU 
+foreign import ccall "expEVT_COMMAND_TREE_ITEM_MENU" wx_expEVT_COMMAND_TREE_ITEM_MENU :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK@).
+{-# NOINLINE wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK #-}
+wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK ::  EventId
+wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK 
+foreign import ccall "expEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK" wx_expEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK@).
+{-# NOINLINE wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK #-}
+wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK ::  EventId
+wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_TREE_ITEM_RIGHT_CLICK 
+foreign import ccall "expEVT_COMMAND_TREE_ITEM_RIGHT_CLICK" wx_expEVT_COMMAND_TREE_ITEM_RIGHT_CLICK :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_TREE_KEY_DOWN@).
+{-# NOINLINE wxEVT_COMMAND_TREE_KEY_DOWN #-}
+wxEVT_COMMAND_TREE_KEY_DOWN ::  EventId
+wxEVT_COMMAND_TREE_KEY_DOWN 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_TREE_KEY_DOWN 
+foreign import ccall "expEVT_COMMAND_TREE_KEY_DOWN" wx_expEVT_COMMAND_TREE_KEY_DOWN :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_TREE_SEL_CHANGED@).
+{-# NOINLINE wxEVT_COMMAND_TREE_SEL_CHANGED #-}
+wxEVT_COMMAND_TREE_SEL_CHANGED ::  EventId
+wxEVT_COMMAND_TREE_SEL_CHANGED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_TREE_SEL_CHANGED 
+foreign import ccall "expEVT_COMMAND_TREE_SEL_CHANGED" wx_expEVT_COMMAND_TREE_SEL_CHANGED :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_TREE_SEL_CHANGING@).
+{-# NOINLINE wxEVT_COMMAND_TREE_SEL_CHANGING #-}
+wxEVT_COMMAND_TREE_SEL_CHANGING ::  EventId
+wxEVT_COMMAND_TREE_SEL_CHANGING 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_TREE_SEL_CHANGING 
+foreign import ccall "expEVT_COMMAND_TREE_SEL_CHANGING" wx_expEVT_COMMAND_TREE_SEL_CHANGING :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_TREE_SET_INFO@).
+{-# NOINLINE wxEVT_COMMAND_TREE_SET_INFO #-}
+wxEVT_COMMAND_TREE_SET_INFO ::  EventId
+wxEVT_COMMAND_TREE_SET_INFO 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_TREE_SET_INFO 
+foreign import ccall "expEVT_COMMAND_TREE_SET_INFO" wx_expEVT_COMMAND_TREE_SET_INFO :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK@).
+{-# NOINLINE wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK #-}
+wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK ::  EventId
+wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_TREE_STATE_IMAGE_CLICK 
+foreign import ccall "expEVT_COMMAND_TREE_STATE_IMAGE_CLICK" wx_expEVT_COMMAND_TREE_STATE_IMAGE_CLICK :: IO CInt
+
+-- | usage: (@wxEVT_COMMAND_VLBOX_SELECTED@).
+{-# NOINLINE wxEVT_COMMAND_VLBOX_SELECTED #-}
+wxEVT_COMMAND_VLBOX_SELECTED ::  EventId
+wxEVT_COMMAND_VLBOX_SELECTED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_COMMAND_VLBOX_SELECTED 
+foreign import ccall "expEVT_COMMAND_VLBOX_SELECTED" wx_expEVT_COMMAND_VLBOX_SELECTED :: IO CInt
+
+-- | usage: (@wxEVT_CONTEXT_MENU@).
+{-# NOINLINE wxEVT_CONTEXT_MENU #-}
+wxEVT_CONTEXT_MENU ::  EventId
+wxEVT_CONTEXT_MENU 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_CONTEXT_MENU 
+foreign import ccall "expEVT_CONTEXT_MENU" wx_expEVT_CONTEXT_MENU :: IO CInt
+
+-- | usage: (@wxEVT_CREATE@).
+{-# NOINLINE wxEVT_CREATE #-}
+wxEVT_CREATE ::  EventId
+wxEVT_CREATE 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_CREATE 
+foreign import ccall "expEVT_CREATE" wx_expEVT_CREATE :: IO CInt
+
+-- | usage: (@wxEVT_DATE_CHANGED@).
+{-# NOINLINE wxEVT_DATE_CHANGED #-}
+wxEVT_DATE_CHANGED ::  EventId
+wxEVT_DATE_CHANGED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_DATE_CHANGED 
+foreign import ccall "expEVT_DATE_CHANGED" wx_expEVT_DATE_CHANGED :: IO CInt
+
+-- | usage: (@wxEVT_DELETE@).
+{-# NOINLINE wxEVT_DELETE #-}
+wxEVT_DELETE ::  EventId
+wxEVT_DELETE 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_DELETE 
+foreign import ccall "expEVT_DELETE" wx_expEVT_DELETE :: IO CInt
+
+-- | usage: (@wxEVT_DESTROY@).
+{-# NOINLINE wxEVT_DESTROY #-}
+wxEVT_DESTROY ::  EventId
+wxEVT_DESTROY 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_DESTROY 
+foreign import ccall "expEVT_DESTROY" wx_expEVT_DESTROY :: IO CInt
+
+-- | usage: (@wxEVT_DETAILED_HELP@).
+{-# NOINLINE wxEVT_DETAILED_HELP #-}
+wxEVT_DETAILED_HELP ::  EventId
+wxEVT_DETAILED_HELP 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_DETAILED_HELP 
+foreign import ccall "expEVT_DETAILED_HELP" wx_expEVT_DETAILED_HELP :: IO CInt
+
+-- | usage: (@wxEVT_DISPLAY_CHANGED@).
+{-# NOINLINE wxEVT_DISPLAY_CHANGED #-}
+wxEVT_DISPLAY_CHANGED ::  EventId
+wxEVT_DISPLAY_CHANGED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_DISPLAY_CHANGED 
+foreign import ccall "expEVT_DISPLAY_CHANGED" wx_expEVT_DISPLAY_CHANGED :: IO CInt
+
+-- | usage: (@wxEVT_DROP_FILES@).
+{-# NOINLINE wxEVT_DROP_FILES #-}
+wxEVT_DROP_FILES ::  EventId
+wxEVT_DROP_FILES 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_DROP_FILES 
+foreign import ccall "expEVT_DROP_FILES" wx_expEVT_DROP_FILES :: IO CInt
+
+-- | usage: (@wxEVT_END_PROCESS@).
+{-# NOINLINE wxEVT_END_PROCESS #-}
+wxEVT_END_PROCESS ::  EventId
+wxEVT_END_PROCESS 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_END_PROCESS 
+foreign import ccall "expEVT_END_PROCESS" wx_expEVT_END_PROCESS :: IO CInt
+
+-- | usage: (@wxEVT_END_SESSION@).
+{-# NOINLINE wxEVT_END_SESSION #-}
+wxEVT_END_SESSION ::  EventId
+wxEVT_END_SESSION 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_END_SESSION 
+foreign import ccall "expEVT_END_SESSION" wx_expEVT_END_SESSION :: IO CInt
+
+-- | usage: (@wxEVT_ENTER_WINDOW@).
+{-# NOINLINE wxEVT_ENTER_WINDOW #-}
+wxEVT_ENTER_WINDOW ::  EventId
+wxEVT_ENTER_WINDOW 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_ENTER_WINDOW 
+foreign import ccall "expEVT_ENTER_WINDOW" wx_expEVT_ENTER_WINDOW :: IO CInt
+
+-- | usage: (@wxEVT_ERASE_BACKGROUND@).
+{-# NOINLINE wxEVT_ERASE_BACKGROUND #-}
+wxEVT_ERASE_BACKGROUND ::  EventId
+wxEVT_ERASE_BACKGROUND 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_ERASE_BACKGROUND 
+foreign import ccall "expEVT_ERASE_BACKGROUND" wx_expEVT_ERASE_BACKGROUND :: IO CInt
+
+-- | usage: (@wxEVT_FILECTRL_FILEACTIVATED@).
+{-# NOINLINE wxEVT_FILECTRL_FILEACTIVATED #-}
+wxEVT_FILECTRL_FILEACTIVATED ::  EventId
+wxEVT_FILECTRL_FILEACTIVATED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_FILECTRL_FILEACTIVATED 
+foreign import ccall "expEVT_FILECTRL_FILEACTIVATED" wx_expEVT_FILECTRL_FILEACTIVATED :: IO CInt
+
+-- | usage: (@wxEVT_FILECTRL_FILTERCHANGED@).
+{-# NOINLINE wxEVT_FILECTRL_FILTERCHANGED #-}
+wxEVT_FILECTRL_FILTERCHANGED ::  EventId
+wxEVT_FILECTRL_FILTERCHANGED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_FILECTRL_FILTERCHANGED 
+foreign import ccall "expEVT_FILECTRL_FILTERCHANGED" wx_expEVT_FILECTRL_FILTERCHANGED :: IO CInt
+
+-- | usage: (@wxEVT_FILECTRL_FOLDERCHANGED@).
+{-# NOINLINE wxEVT_FILECTRL_FOLDERCHANGED #-}
+wxEVT_FILECTRL_FOLDERCHANGED ::  EventId
+wxEVT_FILECTRL_FOLDERCHANGED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_FILECTRL_FOLDERCHANGED 
+foreign import ccall "expEVT_FILECTRL_FOLDERCHANGED" wx_expEVT_FILECTRL_FOLDERCHANGED :: IO CInt
+
+-- | usage: (@wxEVT_FILECTRL_SELECTIONCHANGED@).
+{-# NOINLINE wxEVT_FILECTRL_SELECTIONCHANGED #-}
+wxEVT_FILECTRL_SELECTIONCHANGED ::  EventId
+wxEVT_FILECTRL_SELECTIONCHANGED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_FILECTRL_SELECTIONCHANGED 
+foreign import ccall "expEVT_FILECTRL_SELECTIONCHANGED" wx_expEVT_FILECTRL_SELECTIONCHANGED :: IO CInt
+
+-- | usage: (@wxEVT_FSWATCHER@).
+{-# NOINLINE wxEVT_FSWATCHER #-}
+wxEVT_FSWATCHER ::  EventId
+wxEVT_FSWATCHER 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_FSWATCHER 
+foreign import ccall "expEVT_FSWATCHER" wx_expEVT_FSWATCHER :: IO CInt
+
+-- | usage: (@wxEVT_GRID_CELL_BEGIN_DRAG@).
+{-# NOINLINE wxEVT_GRID_CELL_BEGIN_DRAG #-}
+wxEVT_GRID_CELL_BEGIN_DRAG ::  EventId
+wxEVT_GRID_CELL_BEGIN_DRAG 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_GRID_CELL_BEGIN_DRAG 
+foreign import ccall "expEVT_GRID_CELL_BEGIN_DRAG" wx_expEVT_GRID_CELL_BEGIN_DRAG :: IO CInt
+
+-- | usage: (@wxEVT_GRID_CELL_CHANGED@).
+{-# NOINLINE wxEVT_GRID_CELL_CHANGED #-}
+wxEVT_GRID_CELL_CHANGED ::  EventId
+wxEVT_GRID_CELL_CHANGED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_GRID_CELL_CHANGED 
+foreign import ccall "expEVT_GRID_CELL_CHANGED" wx_expEVT_GRID_CELL_CHANGED :: IO CInt
+
+-- | usage: (@wxEVT_GRID_CELL_CHANGING@).
+{-# NOINLINE wxEVT_GRID_CELL_CHANGING #-}
+wxEVT_GRID_CELL_CHANGING ::  EventId
+wxEVT_GRID_CELL_CHANGING 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_GRID_CELL_CHANGING 
+foreign import ccall "expEVT_GRID_CELL_CHANGING" wx_expEVT_GRID_CELL_CHANGING :: IO CInt
+
+-- | usage: (@wxEVT_GRID_CELL_LEFT_CLICK@).
+{-# NOINLINE wxEVT_GRID_CELL_LEFT_CLICK #-}
+wxEVT_GRID_CELL_LEFT_CLICK ::  EventId
+wxEVT_GRID_CELL_LEFT_CLICK 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_GRID_CELL_LEFT_CLICK 
+foreign import ccall "expEVT_GRID_CELL_LEFT_CLICK" wx_expEVT_GRID_CELL_LEFT_CLICK :: IO CInt
+
+-- | usage: (@wxEVT_GRID_CELL_LEFT_DCLICK@).
+{-# NOINLINE wxEVT_GRID_CELL_LEFT_DCLICK #-}
+wxEVT_GRID_CELL_LEFT_DCLICK ::  EventId
+wxEVT_GRID_CELL_LEFT_DCLICK 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_GRID_CELL_LEFT_DCLICK 
+foreign import ccall "expEVT_GRID_CELL_LEFT_DCLICK" wx_expEVT_GRID_CELL_LEFT_DCLICK :: IO CInt
+
+-- | usage: (@wxEVT_GRID_CELL_RIGHT_CLICK@).
+{-# NOINLINE wxEVT_GRID_CELL_RIGHT_CLICK #-}
+wxEVT_GRID_CELL_RIGHT_CLICK ::  EventId
+wxEVT_GRID_CELL_RIGHT_CLICK 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_GRID_CELL_RIGHT_CLICK 
+foreign import ccall "expEVT_GRID_CELL_RIGHT_CLICK" wx_expEVT_GRID_CELL_RIGHT_CLICK :: IO CInt
+
+-- | usage: (@wxEVT_GRID_CELL_RIGHT_DCLICK@).
+{-# NOINLINE wxEVT_GRID_CELL_RIGHT_DCLICK #-}
+wxEVT_GRID_CELL_RIGHT_DCLICK ::  EventId
+wxEVT_GRID_CELL_RIGHT_DCLICK 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_GRID_CELL_RIGHT_DCLICK 
+foreign import ccall "expEVT_GRID_CELL_RIGHT_DCLICK" wx_expEVT_GRID_CELL_RIGHT_DCLICK :: IO CInt
+
+-- | usage: (@wxEVT_GRID_COL_MOVE@).
+{-# NOINLINE wxEVT_GRID_COL_MOVE #-}
+wxEVT_GRID_COL_MOVE ::  EventId
+wxEVT_GRID_COL_MOVE 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_GRID_COL_MOVE 
+foreign import ccall "expEVT_GRID_COL_MOVE" wx_expEVT_GRID_COL_MOVE :: IO CInt
+
+-- | usage: (@wxEVT_GRID_COL_SIZE@).
+{-# NOINLINE wxEVT_GRID_COL_SIZE #-}
+wxEVT_GRID_COL_SIZE ::  EventId
+wxEVT_GRID_COL_SIZE 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_GRID_COL_SIZE 
+foreign import ccall "expEVT_GRID_COL_SIZE" wx_expEVT_GRID_COL_SIZE :: IO CInt
+
+-- | usage: (@wxEVT_GRID_COL_SORT@).
+{-# NOINLINE wxEVT_GRID_COL_SORT #-}
+wxEVT_GRID_COL_SORT ::  EventId
+wxEVT_GRID_COL_SORT 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_GRID_COL_SORT 
+foreign import ccall "expEVT_GRID_COL_SORT" wx_expEVT_GRID_COL_SORT :: IO CInt
+
+-- | usage: (@wxEVT_GRID_EDITOR_CREATED@).
+{-# NOINLINE wxEVT_GRID_EDITOR_CREATED #-}
+wxEVT_GRID_EDITOR_CREATED ::  EventId
+wxEVT_GRID_EDITOR_CREATED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_GRID_EDITOR_CREATED 
+foreign import ccall "expEVT_GRID_EDITOR_CREATED" wx_expEVT_GRID_EDITOR_CREATED :: IO CInt
+
+-- | usage: (@wxEVT_GRID_EDITOR_HIDDEN@).
+{-# NOINLINE wxEVT_GRID_EDITOR_HIDDEN #-}
+wxEVT_GRID_EDITOR_HIDDEN ::  EventId
+wxEVT_GRID_EDITOR_HIDDEN 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_GRID_EDITOR_HIDDEN 
+foreign import ccall "expEVT_GRID_EDITOR_HIDDEN" wx_expEVT_GRID_EDITOR_HIDDEN :: IO CInt
+
+-- | usage: (@wxEVT_GRID_EDITOR_SHOWN@).
+{-# NOINLINE wxEVT_GRID_EDITOR_SHOWN #-}
+wxEVT_GRID_EDITOR_SHOWN ::  EventId
+wxEVT_GRID_EDITOR_SHOWN 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_GRID_EDITOR_SHOWN 
+foreign import ccall "expEVT_GRID_EDITOR_SHOWN" wx_expEVT_GRID_EDITOR_SHOWN :: IO CInt
+
+-- | usage: (@wxEVT_GRID_LABEL_LEFT_CLICK@).
+{-# NOINLINE wxEVT_GRID_LABEL_LEFT_CLICK #-}
+wxEVT_GRID_LABEL_LEFT_CLICK ::  EventId
+wxEVT_GRID_LABEL_LEFT_CLICK 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_GRID_LABEL_LEFT_CLICK 
+foreign import ccall "expEVT_GRID_LABEL_LEFT_CLICK" wx_expEVT_GRID_LABEL_LEFT_CLICK :: IO CInt
+
+-- | usage: (@wxEVT_GRID_LABEL_LEFT_DCLICK@).
+{-# NOINLINE wxEVT_GRID_LABEL_LEFT_DCLICK #-}
+wxEVT_GRID_LABEL_LEFT_DCLICK ::  EventId
+wxEVT_GRID_LABEL_LEFT_DCLICK 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_GRID_LABEL_LEFT_DCLICK 
+foreign import ccall "expEVT_GRID_LABEL_LEFT_DCLICK" wx_expEVT_GRID_LABEL_LEFT_DCLICK :: IO CInt
+
+-- | usage: (@wxEVT_GRID_LABEL_RIGHT_CLICK@).
+{-# NOINLINE wxEVT_GRID_LABEL_RIGHT_CLICK #-}
+wxEVT_GRID_LABEL_RIGHT_CLICK ::  EventId
+wxEVT_GRID_LABEL_RIGHT_CLICK 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_GRID_LABEL_RIGHT_CLICK 
+foreign import ccall "expEVT_GRID_LABEL_RIGHT_CLICK" wx_expEVT_GRID_LABEL_RIGHT_CLICK :: IO CInt
+
+-- | usage: (@wxEVT_GRID_LABEL_RIGHT_DCLICK@).
+{-# NOINLINE wxEVT_GRID_LABEL_RIGHT_DCLICK #-}
+wxEVT_GRID_LABEL_RIGHT_DCLICK ::  EventId
+wxEVT_GRID_LABEL_RIGHT_DCLICK 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_GRID_LABEL_RIGHT_DCLICK 
+foreign import ccall "expEVT_GRID_LABEL_RIGHT_DCLICK" wx_expEVT_GRID_LABEL_RIGHT_DCLICK :: IO CInt
+
+-- | usage: (@wxEVT_GRID_RANGE_SELECT@).
+{-# NOINLINE wxEVT_GRID_RANGE_SELECT #-}
+wxEVT_GRID_RANGE_SELECT ::  EventId
+wxEVT_GRID_RANGE_SELECT 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_GRID_RANGE_SELECT 
+foreign import ccall "expEVT_GRID_RANGE_SELECT" wx_expEVT_GRID_RANGE_SELECT :: IO CInt
+
+-- | usage: (@wxEVT_GRID_ROW_SIZE@).
+{-# NOINLINE wxEVT_GRID_ROW_SIZE #-}
+wxEVT_GRID_ROW_SIZE ::  EventId
+wxEVT_GRID_ROW_SIZE 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_GRID_ROW_SIZE 
+foreign import ccall "expEVT_GRID_ROW_SIZE" wx_expEVT_GRID_ROW_SIZE :: IO CInt
+
+-- | usage: (@wxEVT_GRID_SELECT_CELL@).
+{-# NOINLINE wxEVT_GRID_SELECT_CELL #-}
+wxEVT_GRID_SELECT_CELL ::  EventId
+wxEVT_GRID_SELECT_CELL 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_GRID_SELECT_CELL 
+foreign import ccall "expEVT_GRID_SELECT_CELL" wx_expEVT_GRID_SELECT_CELL :: IO CInt
+
+-- | usage: (@wxEVT_HELP@).
+{-# NOINLINE wxEVT_HELP #-}
+wxEVT_HELP ::  EventId
+wxEVT_HELP 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_HELP 
+foreign import ccall "expEVT_HELP" wx_expEVT_HELP :: IO CInt
+
+-- | usage: (@wxEVT_HIBERNATE@).
+{-# NOINLINE wxEVT_HIBERNATE #-}
+wxEVT_HIBERNATE ::  EventId
+wxEVT_HIBERNATE 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_HIBERNATE 
+foreign import ccall "expEVT_HIBERNATE" wx_expEVT_HIBERNATE :: IO CInt
+
+-- | usage: (@wxEVT_HOTKEY@).
+{-# NOINLINE wxEVT_HOTKEY #-}
+wxEVT_HOTKEY ::  EventId
+wxEVT_HOTKEY 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_HOTKEY 
+foreign import ccall "expEVT_HOTKEY" wx_expEVT_HOTKEY :: IO CInt
+
+-- | usage: (@wxEVT_HTML_CELL_CLICKED@).
+{-# NOINLINE wxEVT_HTML_CELL_CLICKED #-}
+wxEVT_HTML_CELL_CLICKED ::  EventId
+wxEVT_HTML_CELL_CLICKED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_HTML_CELL_CLICKED 
+foreign import ccall "expEVT_HTML_CELL_CLICKED" wx_expEVT_HTML_CELL_CLICKED :: IO CInt
+
+-- | usage: (@wxEVT_HTML_CELL_MOUSE_HOVER@).
+{-# NOINLINE wxEVT_HTML_CELL_MOUSE_HOVER #-}
+wxEVT_HTML_CELL_MOUSE_HOVER ::  EventId
+wxEVT_HTML_CELL_MOUSE_HOVER 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_HTML_CELL_MOUSE_HOVER 
+foreign import ccall "expEVT_HTML_CELL_MOUSE_HOVER" wx_expEVT_HTML_CELL_MOUSE_HOVER :: IO CInt
+
+-- | usage: (@wxEVT_HTML_LINK_CLICKED@).
+{-# NOINLINE wxEVT_HTML_LINK_CLICKED #-}
+wxEVT_HTML_LINK_CLICKED ::  EventId
+wxEVT_HTML_LINK_CLICKED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_HTML_LINK_CLICKED 
+foreign import ccall "expEVT_HTML_LINK_CLICKED" wx_expEVT_HTML_LINK_CLICKED :: IO CInt
+
+-- | usage: (@wxEVT_HTML_SET_TITLE@).
+{-# NOINLINE wxEVT_HTML_SET_TITLE #-}
+wxEVT_HTML_SET_TITLE ::  EventId
+wxEVT_HTML_SET_TITLE 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_HTML_SET_TITLE 
+foreign import ccall "expEVT_HTML_SET_TITLE" wx_expEVT_HTML_SET_TITLE :: IO CInt
+
+-- | usage: (@wxEVT_ICONIZE@).
+{-# NOINLINE wxEVT_ICONIZE #-}
+wxEVT_ICONIZE ::  EventId
+wxEVT_ICONIZE 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_ICONIZE 
+foreign import ccall "expEVT_ICONIZE" wx_expEVT_ICONIZE :: IO CInt
+
+-- | usage: (@wxEVT_IDLE@).
+{-# NOINLINE wxEVT_IDLE #-}
+wxEVT_IDLE ::  EventId
+wxEVT_IDLE 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_IDLE 
+foreign import ccall "expEVT_IDLE" wx_expEVT_IDLE :: IO CInt
+
+-- | usage: (@wxEVT_INIT_DIALOG@).
+{-# NOINLINE wxEVT_INIT_DIALOG #-}
+wxEVT_INIT_DIALOG ::  EventId
+wxEVT_INIT_DIALOG 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_INIT_DIALOG 
+foreign import ccall "expEVT_INIT_DIALOG" wx_expEVT_INIT_DIALOG :: IO CInt
+
+-- | usage: (@wxEVT_INPUT_SINK@).
+{-# NOINLINE wxEVT_INPUT_SINK #-}
+wxEVT_INPUT_SINK ::  EventId
+wxEVT_INPUT_SINK 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_INPUT_SINK 
+foreign import ccall "expEVT_INPUT_SINK" wx_expEVT_INPUT_SINK :: IO CInt
+
+-- | usage: (@wxEVT_KEY_DOWN@).
+{-# NOINLINE wxEVT_KEY_DOWN #-}
+wxEVT_KEY_DOWN ::  EventId
+wxEVT_KEY_DOWN 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_KEY_DOWN 
+foreign import ccall "expEVT_KEY_DOWN" wx_expEVT_KEY_DOWN :: IO CInt
+
+-- | usage: (@wxEVT_KEY_UP@).
+{-# NOINLINE wxEVT_KEY_UP #-}
+wxEVT_KEY_UP ::  EventId
+wxEVT_KEY_UP 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_KEY_UP 
+foreign import ccall "expEVT_KEY_UP" wx_expEVT_KEY_UP :: IO CInt
+
+-- | usage: (@wxEVT_KILL_FOCUS@).
+{-# NOINLINE wxEVT_KILL_FOCUS #-}
+wxEVT_KILL_FOCUS ::  EventId
+wxEVT_KILL_FOCUS 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_KILL_FOCUS 
+foreign import ccall "expEVT_KILL_FOCUS" wx_expEVT_KILL_FOCUS :: IO CInt
+
+-- | usage: (@wxEVT_LEAVE_WINDOW@).
+{-# NOINLINE wxEVT_LEAVE_WINDOW #-}
+wxEVT_LEAVE_WINDOW ::  EventId
+wxEVT_LEAVE_WINDOW 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_LEAVE_WINDOW 
+foreign import ccall "expEVT_LEAVE_WINDOW" wx_expEVT_LEAVE_WINDOW :: IO CInt
+
+-- | usage: (@wxEVT_LEFT_DCLICK@).
+{-# NOINLINE wxEVT_LEFT_DCLICK #-}
+wxEVT_LEFT_DCLICK ::  EventId
+wxEVT_LEFT_DCLICK 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_LEFT_DCLICK 
+foreign import ccall "expEVT_LEFT_DCLICK" wx_expEVT_LEFT_DCLICK :: IO CInt
+
+-- | usage: (@wxEVT_LEFT_DOWN@).
+{-# NOINLINE wxEVT_LEFT_DOWN #-}
+wxEVT_LEFT_DOWN ::  EventId
+wxEVT_LEFT_DOWN 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_LEFT_DOWN 
+foreign import ccall "expEVT_LEFT_DOWN" wx_expEVT_LEFT_DOWN :: IO CInt
+
+-- | usage: (@wxEVT_LEFT_UP@).
+{-# NOINLINE wxEVT_LEFT_UP #-}
+wxEVT_LEFT_UP ::  EventId
+wxEVT_LEFT_UP 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_LEFT_UP 
+foreign import ccall "expEVT_LEFT_UP" wx_expEVT_LEFT_UP :: IO CInt
+
+-- | usage: (@wxEVT_MAXIMIZE@).
+{-# NOINLINE wxEVT_MAXIMIZE #-}
+wxEVT_MAXIMIZE ::  EventId
+wxEVT_MAXIMIZE 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_MAXIMIZE 
+foreign import ccall "expEVT_MAXIMIZE" wx_expEVT_MAXIMIZE :: IO CInt
+
+-- | usage: (@wxEVT_MENU_CLOSE@).
+{-# NOINLINE wxEVT_MENU_CLOSE #-}
+wxEVT_MENU_CLOSE ::  EventId
+wxEVT_MENU_CLOSE 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_MENU_CLOSE 
+foreign import ccall "expEVT_MENU_CLOSE" wx_expEVT_MENU_CLOSE :: IO CInt
+
+-- | usage: (@wxEVT_MENU_HIGHLIGHT@).
+{-# NOINLINE wxEVT_MENU_HIGHLIGHT #-}
+wxEVT_MENU_HIGHLIGHT ::  EventId
+wxEVT_MENU_HIGHLIGHT 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_MENU_HIGHLIGHT 
+foreign import ccall "expEVT_MENU_HIGHLIGHT" wx_expEVT_MENU_HIGHLIGHT :: IO CInt
+
+-- | usage: (@wxEVT_MENU_OPEN@).
+{-# NOINLINE wxEVT_MENU_OPEN #-}
+wxEVT_MENU_OPEN ::  EventId
+wxEVT_MENU_OPEN 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_MENU_OPEN 
+foreign import ccall "expEVT_MENU_OPEN" wx_expEVT_MENU_OPEN :: IO CInt
+
+-- | usage: (@wxEVT_MIDDLE_DCLICK@).
+{-# NOINLINE wxEVT_MIDDLE_DCLICK #-}
+wxEVT_MIDDLE_DCLICK ::  EventId
+wxEVT_MIDDLE_DCLICK 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_MIDDLE_DCLICK 
+foreign import ccall "expEVT_MIDDLE_DCLICK" wx_expEVT_MIDDLE_DCLICK :: IO CInt
+
+-- | usage: (@wxEVT_MIDDLE_DOWN@).
+{-# NOINLINE wxEVT_MIDDLE_DOWN #-}
+wxEVT_MIDDLE_DOWN ::  EventId
+wxEVT_MIDDLE_DOWN 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_MIDDLE_DOWN 
+foreign import ccall "expEVT_MIDDLE_DOWN" wx_expEVT_MIDDLE_DOWN :: IO CInt
+
+-- | usage: (@wxEVT_MIDDLE_UP@).
+{-# NOINLINE wxEVT_MIDDLE_UP #-}
+wxEVT_MIDDLE_UP ::  EventId
+wxEVT_MIDDLE_UP 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_MIDDLE_UP 
+foreign import ccall "expEVT_MIDDLE_UP" wx_expEVT_MIDDLE_UP :: IO CInt
+
+-- | usage: (@wxEVT_MOTION@).
+{-# NOINLINE wxEVT_MOTION #-}
+wxEVT_MOTION ::  EventId
+wxEVT_MOTION 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_MOTION 
+foreign import ccall "expEVT_MOTION" wx_expEVT_MOTION :: IO CInt
+
+-- | usage: (@wxEVT_MOUSEWHEEL@).
+{-# NOINLINE wxEVT_MOUSEWHEEL #-}
+wxEVT_MOUSEWHEEL ::  EventId
+wxEVT_MOUSEWHEEL 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_MOUSEWHEEL 
+foreign import ccall "expEVT_MOUSEWHEEL" wx_expEVT_MOUSEWHEEL :: IO CInt
+
+-- | usage: (@wxEVT_MOUSE_CAPTURE_CHANGED@).
+{-# NOINLINE wxEVT_MOUSE_CAPTURE_CHANGED #-}
+wxEVT_MOUSE_CAPTURE_CHANGED ::  EventId
+wxEVT_MOUSE_CAPTURE_CHANGED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_MOUSE_CAPTURE_CHANGED 
+foreign import ccall "expEVT_MOUSE_CAPTURE_CHANGED" wx_expEVT_MOUSE_CAPTURE_CHANGED :: IO CInt
+
+-- | usage: (@wxEVT_MOUSE_CAPTURE_LOST@).
+{-# NOINLINE wxEVT_MOUSE_CAPTURE_LOST #-}
+wxEVT_MOUSE_CAPTURE_LOST ::  EventId
+wxEVT_MOUSE_CAPTURE_LOST 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_MOUSE_CAPTURE_LOST 
+foreign import ccall "expEVT_MOUSE_CAPTURE_LOST" wx_expEVT_MOUSE_CAPTURE_LOST :: IO CInt
+
+-- | usage: (@wxEVT_MOVE@).
+{-# NOINLINE wxEVT_MOVE #-}
+wxEVT_MOVE ::  EventId
+wxEVT_MOVE 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_MOVE 
+foreign import ccall "expEVT_MOVE" wx_expEVT_MOVE :: IO CInt
+
+-- | usage: (@wxEVT_MOVE_END@).
+{-# NOINLINE wxEVT_MOVE_END #-}
+wxEVT_MOVE_END ::  EventId
+wxEVT_MOVE_END 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_MOVE_END 
+foreign import ccall "expEVT_MOVE_END" wx_expEVT_MOVE_END :: IO CInt
+
+-- | usage: (@wxEVT_MOVE_START@).
+{-# NOINLINE wxEVT_MOVE_START #-}
+wxEVT_MOVE_START ::  EventId
+wxEVT_MOVE_START 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_MOVE_START 
+foreign import ccall "expEVT_MOVE_START" wx_expEVT_MOVE_START :: IO CInt
+
+-- | usage: (@wxEVT_MOVING@).
+{-# NOINLINE wxEVT_MOVING #-}
+wxEVT_MOVING ::  EventId
+wxEVT_MOVING 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_MOVING 
+foreign import ccall "expEVT_MOVING" wx_expEVT_MOVING :: IO CInt
+
+-- | usage: (@wxEVT_NAVIGATION_KEY@).
+{-# NOINLINE wxEVT_NAVIGATION_KEY #-}
+wxEVT_NAVIGATION_KEY ::  EventId
+wxEVT_NAVIGATION_KEY 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_NAVIGATION_KEY 
+foreign import ccall "expEVT_NAVIGATION_KEY" wx_expEVT_NAVIGATION_KEY :: IO CInt
+
+-- | usage: (@wxEVT_NC_PAINT@).
+{-# NOINLINE wxEVT_NC_PAINT #-}
+wxEVT_NC_PAINT ::  EventId
+wxEVT_NC_PAINT 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_NC_PAINT 
+foreign import ccall "expEVT_NC_PAINT" wx_expEVT_NC_PAINT :: IO CInt
+
+-- | usage: (@wxEVT_PAINT@).
+{-# NOINLINE wxEVT_PAINT #-}
+wxEVT_PAINT ::  EventId
+wxEVT_PAINT 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_PAINT 
+foreign import ccall "expEVT_PAINT" wx_expEVT_PAINT :: IO CInt
+
+-- | usage: (@wxEVT_PALETTE_CHANGED@).
+{-# NOINLINE wxEVT_PALETTE_CHANGED #-}
+wxEVT_PALETTE_CHANGED ::  EventId
+wxEVT_PALETTE_CHANGED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_PALETTE_CHANGED 
+foreign import ccall "expEVT_PALETTE_CHANGED" wx_expEVT_PALETTE_CHANGED :: IO CInt
+
+-- | usage: (@wxEVT_PG_CHANGED@).
+{-# NOINLINE wxEVT_PG_CHANGED #-}
+wxEVT_PG_CHANGED ::  EventId
+wxEVT_PG_CHANGED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_PG_CHANGED 
+foreign import ccall "expEVT_PG_CHANGED" wx_expEVT_PG_CHANGED :: IO CInt
+
+-- | usage: (@wxEVT_PG_CHANGING@).
+{-# NOINLINE wxEVT_PG_CHANGING #-}
+wxEVT_PG_CHANGING ::  EventId
+wxEVT_PG_CHANGING 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_PG_CHANGING 
+foreign import ccall "expEVT_PG_CHANGING" wx_expEVT_PG_CHANGING :: IO CInt
+
+-- | usage: (@wxEVT_PG_DOUBLE_CLICK@).
+{-# NOINLINE wxEVT_PG_DOUBLE_CLICK #-}
+wxEVT_PG_DOUBLE_CLICK ::  EventId
+wxEVT_PG_DOUBLE_CLICK 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_PG_DOUBLE_CLICK 
+foreign import ccall "expEVT_PG_DOUBLE_CLICK" wx_expEVT_PG_DOUBLE_CLICK :: IO CInt
+
+-- | usage: (@wxEVT_PG_HIGHLIGHTED@).
+{-# NOINLINE wxEVT_PG_HIGHLIGHTED #-}
+wxEVT_PG_HIGHLIGHTED ::  EventId
+wxEVT_PG_HIGHLIGHTED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_PG_HIGHLIGHTED 
+foreign import ccall "expEVT_PG_HIGHLIGHTED" wx_expEVT_PG_HIGHLIGHTED :: IO CInt
+
+-- | usage: (@wxEVT_PG_ITEM_COLLAPSED@).
+{-# NOINLINE wxEVT_PG_ITEM_COLLAPSED #-}
+wxEVT_PG_ITEM_COLLAPSED ::  EventId
+wxEVT_PG_ITEM_COLLAPSED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_PG_ITEM_COLLAPSED 
+foreign import ccall "expEVT_PG_ITEM_COLLAPSED" wx_expEVT_PG_ITEM_COLLAPSED :: IO CInt
+
+-- | usage: (@wxEVT_PG_ITEM_EXPANDED@).
+{-# NOINLINE wxEVT_PG_ITEM_EXPANDED #-}
+wxEVT_PG_ITEM_EXPANDED ::  EventId
+wxEVT_PG_ITEM_EXPANDED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_PG_ITEM_EXPANDED 
+foreign import ccall "expEVT_PG_ITEM_EXPANDED" wx_expEVT_PG_ITEM_EXPANDED :: IO CInt
+
+-- | usage: (@wxEVT_PG_PAGE_CHANGED@).
+{-# NOINLINE wxEVT_PG_PAGE_CHANGED #-}
+wxEVT_PG_PAGE_CHANGED ::  EventId
+wxEVT_PG_PAGE_CHANGED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_PG_PAGE_CHANGED 
+foreign import ccall "expEVT_PG_PAGE_CHANGED" wx_expEVT_PG_PAGE_CHANGED :: IO CInt
+
+-- | usage: (@wxEVT_PG_RIGHT_CLICK@).
+{-# NOINLINE wxEVT_PG_RIGHT_CLICK #-}
+wxEVT_PG_RIGHT_CLICK ::  EventId
+wxEVT_PG_RIGHT_CLICK 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_PG_RIGHT_CLICK 
+foreign import ccall "expEVT_PG_RIGHT_CLICK" wx_expEVT_PG_RIGHT_CLICK :: IO CInt
+
+-- | usage: (@wxEVT_PG_SELECTED@).
+{-# NOINLINE wxEVT_PG_SELECTED #-}
+wxEVT_PG_SELECTED ::  EventId
+wxEVT_PG_SELECTED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_PG_SELECTED 
+foreign import ccall "expEVT_PG_SELECTED" wx_expEVT_PG_SELECTED :: IO CInt
+
+-- | usage: (@wxEVT_POWER_RESUME@).
+{-# NOINLINE wxEVT_POWER_RESUME #-}
+wxEVT_POWER_RESUME ::  EventId
+wxEVT_POWER_RESUME 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_POWER_RESUME 
+foreign import ccall "expEVT_POWER_RESUME" wx_expEVT_POWER_RESUME :: IO CInt
+
+-- | usage: (@wxEVT_POWER_SUSPENDED@).
+{-# NOINLINE wxEVT_POWER_SUSPENDED #-}
+wxEVT_POWER_SUSPENDED ::  EventId
+wxEVT_POWER_SUSPENDED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_POWER_SUSPENDED 
+foreign import ccall "expEVT_POWER_SUSPENDED" wx_expEVT_POWER_SUSPENDED :: IO CInt
+
+-- | usage: (@wxEVT_POWER_SUSPENDING@).
+{-# NOINLINE wxEVT_POWER_SUSPENDING #-}
+wxEVT_POWER_SUSPENDING ::  EventId
+wxEVT_POWER_SUSPENDING 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_POWER_SUSPENDING 
+foreign import ccall "expEVT_POWER_SUSPENDING" wx_expEVT_POWER_SUSPENDING :: IO CInt
+
+-- | usage: (@wxEVT_POWER_SUSPEND_CANCEL@).
+{-# NOINLINE wxEVT_POWER_SUSPEND_CANCEL #-}
+wxEVT_POWER_SUSPEND_CANCEL ::  EventId
+wxEVT_POWER_SUSPEND_CANCEL 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_POWER_SUSPEND_CANCEL 
+foreign import ccall "expEVT_POWER_SUSPEND_CANCEL" wx_expEVT_POWER_SUSPEND_CANCEL :: IO CInt
+
+-- | usage: (@wxEVT_PRINT_BEGIN@).
+{-# NOINLINE wxEVT_PRINT_BEGIN #-}
+wxEVT_PRINT_BEGIN ::  EventId
+wxEVT_PRINT_BEGIN 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_PRINT_BEGIN 
+foreign import ccall "expEVT_PRINT_BEGIN" wx_expEVT_PRINT_BEGIN :: IO CInt
+
+-- | usage: (@wxEVT_PRINT_BEGIN_DOC@).
+{-# NOINLINE wxEVT_PRINT_BEGIN_DOC #-}
+wxEVT_PRINT_BEGIN_DOC ::  EventId
+wxEVT_PRINT_BEGIN_DOC 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_PRINT_BEGIN_DOC 
+foreign import ccall "expEVT_PRINT_BEGIN_DOC" wx_expEVT_PRINT_BEGIN_DOC :: IO CInt
+
+-- | usage: (@wxEVT_PRINT_END@).
+{-# NOINLINE wxEVT_PRINT_END #-}
+wxEVT_PRINT_END ::  EventId
+wxEVT_PRINT_END 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_PRINT_END 
+foreign import ccall "expEVT_PRINT_END" wx_expEVT_PRINT_END :: IO CInt
+
+-- | usage: (@wxEVT_PRINT_END_DOC@).
+{-# NOINLINE wxEVT_PRINT_END_DOC #-}
+wxEVT_PRINT_END_DOC ::  EventId
+wxEVT_PRINT_END_DOC 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_PRINT_END_DOC 
+foreign import ccall "expEVT_PRINT_END_DOC" wx_expEVT_PRINT_END_DOC :: IO CInt
+
+-- | usage: (@wxEVT_PRINT_PAGE@).
+{-# NOINLINE wxEVT_PRINT_PAGE #-}
+wxEVT_PRINT_PAGE ::  EventId
+wxEVT_PRINT_PAGE 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_PRINT_PAGE 
+foreign import ccall "expEVT_PRINT_PAGE" wx_expEVT_PRINT_PAGE :: IO CInt
+
+-- | usage: (@wxEVT_PRINT_PREPARE@).
+{-# NOINLINE wxEVT_PRINT_PREPARE #-}
+wxEVT_PRINT_PREPARE ::  EventId
+wxEVT_PRINT_PREPARE 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_PRINT_PREPARE 
+foreign import ccall "expEVT_PRINT_PREPARE" wx_expEVT_PRINT_PREPARE :: IO CInt
+
+-- | usage: (@wxEVT_QUERY_END_SESSION@).
+{-# NOINLINE wxEVT_QUERY_END_SESSION #-}
+wxEVT_QUERY_END_SESSION ::  EventId
+wxEVT_QUERY_END_SESSION 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_QUERY_END_SESSION 
+foreign import ccall "expEVT_QUERY_END_SESSION" wx_expEVT_QUERY_END_SESSION :: IO CInt
+
+-- | usage: (@wxEVT_QUERY_LAYOUT_INFO@).
+{-# NOINLINE wxEVT_QUERY_LAYOUT_INFO #-}
+wxEVT_QUERY_LAYOUT_INFO ::  EventId
+wxEVT_QUERY_LAYOUT_INFO 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_QUERY_LAYOUT_INFO 
+foreign import ccall "expEVT_QUERY_LAYOUT_INFO" wx_expEVT_QUERY_LAYOUT_INFO :: IO CInt
+
+-- | usage: (@wxEVT_QUERY_NEW_PALETTE@).
+{-# NOINLINE wxEVT_QUERY_NEW_PALETTE #-}
+wxEVT_QUERY_NEW_PALETTE ::  EventId
+wxEVT_QUERY_NEW_PALETTE 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_QUERY_NEW_PALETTE 
+foreign import ccall "expEVT_QUERY_NEW_PALETTE" wx_expEVT_QUERY_NEW_PALETTE :: IO CInt
+
+-- | usage: (@wxEVT_RIGHT_DCLICK@).
+{-# NOINLINE wxEVT_RIGHT_DCLICK #-}
+wxEVT_RIGHT_DCLICK ::  EventId
+wxEVT_RIGHT_DCLICK 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_RIGHT_DCLICK 
+foreign import ccall "expEVT_RIGHT_DCLICK" wx_expEVT_RIGHT_DCLICK :: IO CInt
+
+-- | usage: (@wxEVT_RIGHT_DOWN@).
+{-# NOINLINE wxEVT_RIGHT_DOWN #-}
+wxEVT_RIGHT_DOWN ::  EventId
+wxEVT_RIGHT_DOWN 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_RIGHT_DOWN 
+foreign import ccall "expEVT_RIGHT_DOWN" wx_expEVT_RIGHT_DOWN :: IO CInt
+
+-- | usage: (@wxEVT_RIGHT_UP@).
+{-# NOINLINE wxEVT_RIGHT_UP #-}
+wxEVT_RIGHT_UP ::  EventId
+wxEVT_RIGHT_UP 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_RIGHT_UP 
+foreign import ccall "expEVT_RIGHT_UP" wx_expEVT_RIGHT_UP :: IO CInt
+
+-- | usage: (@wxEVT_SASH_DRAGGED@).
+{-# NOINLINE wxEVT_SASH_DRAGGED #-}
+wxEVT_SASH_DRAGGED ::  EventId
+wxEVT_SASH_DRAGGED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_SASH_DRAGGED 
+foreign import ccall "expEVT_SASH_DRAGGED" wx_expEVT_SASH_DRAGGED :: IO CInt
+
+-- | usage: (@wxEVT_SCROLLWIN_BOTTOM@).
+{-# NOINLINE wxEVT_SCROLLWIN_BOTTOM #-}
+wxEVT_SCROLLWIN_BOTTOM ::  EventId
+wxEVT_SCROLLWIN_BOTTOM 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_SCROLLWIN_BOTTOM 
+foreign import ccall "expEVT_SCROLLWIN_BOTTOM" wx_expEVT_SCROLLWIN_BOTTOM :: IO CInt
+
+-- | usage: (@wxEVT_SCROLLWIN_LINEDOWN@).
+{-# NOINLINE wxEVT_SCROLLWIN_LINEDOWN #-}
+wxEVT_SCROLLWIN_LINEDOWN ::  EventId
+wxEVT_SCROLLWIN_LINEDOWN 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_SCROLLWIN_LINEDOWN 
+foreign import ccall "expEVT_SCROLLWIN_LINEDOWN" wx_expEVT_SCROLLWIN_LINEDOWN :: IO CInt
+
+-- | usage: (@wxEVT_SCROLLWIN_LINEUP@).
+{-# NOINLINE wxEVT_SCROLLWIN_LINEUP #-}
+wxEVT_SCROLLWIN_LINEUP ::  EventId
+wxEVT_SCROLLWIN_LINEUP 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_SCROLLWIN_LINEUP 
+foreign import ccall "expEVT_SCROLLWIN_LINEUP" wx_expEVT_SCROLLWIN_LINEUP :: IO CInt
+
+-- | usage: (@wxEVT_SCROLLWIN_PAGEDOWN@).
+{-# NOINLINE wxEVT_SCROLLWIN_PAGEDOWN #-}
+wxEVT_SCROLLWIN_PAGEDOWN ::  EventId
+wxEVT_SCROLLWIN_PAGEDOWN 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_SCROLLWIN_PAGEDOWN 
+foreign import ccall "expEVT_SCROLLWIN_PAGEDOWN" wx_expEVT_SCROLLWIN_PAGEDOWN :: IO CInt
+
+-- | usage: (@wxEVT_SCROLLWIN_PAGEUP@).
+{-# NOINLINE wxEVT_SCROLLWIN_PAGEUP #-}
+wxEVT_SCROLLWIN_PAGEUP ::  EventId
+wxEVT_SCROLLWIN_PAGEUP 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_SCROLLWIN_PAGEUP 
+foreign import ccall "expEVT_SCROLLWIN_PAGEUP" wx_expEVT_SCROLLWIN_PAGEUP :: IO CInt
+
+-- | usage: (@wxEVT_SCROLLWIN_THUMBRELEASE@).
+{-# NOINLINE wxEVT_SCROLLWIN_THUMBRELEASE #-}
+wxEVT_SCROLLWIN_THUMBRELEASE ::  EventId
+wxEVT_SCROLLWIN_THUMBRELEASE 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_SCROLLWIN_THUMBRELEASE 
+foreign import ccall "expEVT_SCROLLWIN_THUMBRELEASE" wx_expEVT_SCROLLWIN_THUMBRELEASE :: IO CInt
+
+-- | usage: (@wxEVT_SCROLLWIN_THUMBTRACK@).
+{-# NOINLINE wxEVT_SCROLLWIN_THUMBTRACK #-}
+wxEVT_SCROLLWIN_THUMBTRACK ::  EventId
+wxEVT_SCROLLWIN_THUMBTRACK 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_SCROLLWIN_THUMBTRACK 
+foreign import ccall "expEVT_SCROLLWIN_THUMBTRACK" wx_expEVT_SCROLLWIN_THUMBTRACK :: IO CInt
+
+-- | usage: (@wxEVT_SCROLLWIN_TOP@).
+{-# NOINLINE wxEVT_SCROLLWIN_TOP #-}
+wxEVT_SCROLLWIN_TOP ::  EventId
+wxEVT_SCROLLWIN_TOP 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_SCROLLWIN_TOP 
+foreign import ccall "expEVT_SCROLLWIN_TOP" wx_expEVT_SCROLLWIN_TOP :: IO CInt
+
+-- | usage: (@wxEVT_SCROLL_BOTTOM@).
+{-# NOINLINE wxEVT_SCROLL_BOTTOM #-}
+wxEVT_SCROLL_BOTTOM ::  EventId
+wxEVT_SCROLL_BOTTOM 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_SCROLL_BOTTOM 
+foreign import ccall "expEVT_SCROLL_BOTTOM" wx_expEVT_SCROLL_BOTTOM :: IO CInt
+
+-- | usage: (@wxEVT_SCROLL_CHANGED@).
+{-# NOINLINE wxEVT_SCROLL_CHANGED #-}
+wxEVT_SCROLL_CHANGED ::  EventId
+wxEVT_SCROLL_CHANGED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_SCROLL_CHANGED 
+foreign import ccall "expEVT_SCROLL_CHANGED" wx_expEVT_SCROLL_CHANGED :: IO CInt
+
+-- | usage: (@wxEVT_SCROLL_LINEDOWN@).
+{-# NOINLINE wxEVT_SCROLL_LINEDOWN #-}
+wxEVT_SCROLL_LINEDOWN ::  EventId
+wxEVT_SCROLL_LINEDOWN 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_SCROLL_LINEDOWN 
+foreign import ccall "expEVT_SCROLL_LINEDOWN" wx_expEVT_SCROLL_LINEDOWN :: IO CInt
+
+-- | usage: (@wxEVT_SCROLL_LINEUP@).
+{-# NOINLINE wxEVT_SCROLL_LINEUP #-}
+wxEVT_SCROLL_LINEUP ::  EventId
+wxEVT_SCROLL_LINEUP 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_SCROLL_LINEUP 
+foreign import ccall "expEVT_SCROLL_LINEUP" wx_expEVT_SCROLL_LINEUP :: IO CInt
+
+-- | usage: (@wxEVT_SCROLL_PAGEDOWN@).
+{-# NOINLINE wxEVT_SCROLL_PAGEDOWN #-}
+wxEVT_SCROLL_PAGEDOWN ::  EventId
+wxEVT_SCROLL_PAGEDOWN 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_SCROLL_PAGEDOWN 
+foreign import ccall "expEVT_SCROLL_PAGEDOWN" wx_expEVT_SCROLL_PAGEDOWN :: IO CInt
+
+-- | usage: (@wxEVT_SCROLL_PAGEUP@).
+{-# NOINLINE wxEVT_SCROLL_PAGEUP #-}
+wxEVT_SCROLL_PAGEUP ::  EventId
+wxEVT_SCROLL_PAGEUP 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_SCROLL_PAGEUP 
+foreign import ccall "expEVT_SCROLL_PAGEUP" wx_expEVT_SCROLL_PAGEUP :: IO CInt
+
+-- | usage: (@wxEVT_SCROLL_THUMBRELEASE@).
+{-# NOINLINE wxEVT_SCROLL_THUMBRELEASE #-}
+wxEVT_SCROLL_THUMBRELEASE ::  EventId
+wxEVT_SCROLL_THUMBRELEASE 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_SCROLL_THUMBRELEASE 
+foreign import ccall "expEVT_SCROLL_THUMBRELEASE" wx_expEVT_SCROLL_THUMBRELEASE :: IO CInt
+
+-- | usage: (@wxEVT_SCROLL_THUMBTRACK@).
+{-# NOINLINE wxEVT_SCROLL_THUMBTRACK #-}
+wxEVT_SCROLL_THUMBTRACK ::  EventId
+wxEVT_SCROLL_THUMBTRACK 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_SCROLL_THUMBTRACK 
+foreign import ccall "expEVT_SCROLL_THUMBTRACK" wx_expEVT_SCROLL_THUMBTRACK :: IO CInt
+
+-- | usage: (@wxEVT_SCROLL_TOP@).
+{-# NOINLINE wxEVT_SCROLL_TOP #-}
+wxEVT_SCROLL_TOP ::  EventId
+wxEVT_SCROLL_TOP 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_SCROLL_TOP 
+foreign import ccall "expEVT_SCROLL_TOP" wx_expEVT_SCROLL_TOP :: IO CInt
+
+-- | usage: (@wxEVT_SET_CURSOR@).
+{-# NOINLINE wxEVT_SET_CURSOR #-}
+wxEVT_SET_CURSOR ::  EventId
+wxEVT_SET_CURSOR 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_SET_CURSOR 
+foreign import ccall "expEVT_SET_CURSOR" wx_expEVT_SET_CURSOR :: IO CInt
+
+-- | usage: (@wxEVT_SET_FOCUS@).
+{-# NOINLINE wxEVT_SET_FOCUS #-}
+wxEVT_SET_FOCUS ::  EventId
+wxEVT_SET_FOCUS 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_SET_FOCUS 
+foreign import ccall "expEVT_SET_FOCUS" wx_expEVT_SET_FOCUS :: IO CInt
+
+-- | usage: (@wxEVT_SHOW@).
+{-# NOINLINE wxEVT_SHOW #-}
+wxEVT_SHOW ::  EventId
+wxEVT_SHOW 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_SHOW 
+foreign import ccall "expEVT_SHOW" wx_expEVT_SHOW :: IO CInt
+
+-- | usage: (@wxEVT_SIZE@).
+{-# NOINLINE wxEVT_SIZE #-}
+wxEVT_SIZE ::  EventId
+wxEVT_SIZE 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_SIZE 
+foreign import ccall "expEVT_SIZE" wx_expEVT_SIZE :: IO CInt
+
+-- | usage: (@wxEVT_SIZING@).
+{-# NOINLINE wxEVT_SIZING #-}
+wxEVT_SIZING ::  EventId
+wxEVT_SIZING 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_SIZING 
+foreign import ccall "expEVT_SIZING" wx_expEVT_SIZING :: IO CInt
+
+-- | usage: (@wxEVT_SOCKET@).
+{-# NOINLINE wxEVT_SOCKET #-}
+wxEVT_SOCKET ::  EventId
+wxEVT_SOCKET 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_SOCKET 
+foreign import ccall "expEVT_SOCKET" wx_expEVT_SOCKET :: IO CInt
+
+-- | usage: (@wxEVT_SORT@).
+{-# NOINLINE wxEVT_SORT #-}
+wxEVT_SORT ::  EventId
+wxEVT_SORT 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_SORT 
+foreign import ccall "expEVT_SORT" wx_expEVT_SORT :: IO CInt
+
+-- | usage: (@wxEVT_SPIN@).
+{-# NOINLINE wxEVT_SPIN #-}
+wxEVT_SPIN ::  EventId
+wxEVT_SPIN 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_SPIN 
+foreign import ccall "expEVT_SPIN" wx_expEVT_SPIN :: IO CInt
+
+-- | usage: (@wxEVT_SPIN_DOWN@).
+{-# NOINLINE wxEVT_SPIN_DOWN #-}
+wxEVT_SPIN_DOWN ::  EventId
+wxEVT_SPIN_DOWN 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_SPIN_DOWN 
+foreign import ccall "expEVT_SPIN_DOWN" wx_expEVT_SPIN_DOWN :: IO CInt
+
+-- | usage: (@wxEVT_SPIN_UP@).
+{-# NOINLINE wxEVT_SPIN_UP #-}
+wxEVT_SPIN_UP ::  EventId
+wxEVT_SPIN_UP 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_SPIN_UP 
+foreign import ccall "expEVT_SPIN_UP" wx_expEVT_SPIN_UP :: IO CInt
+
+-- | usage: (@wxEVT_STC_AUTOCOMP_SELECTION@).
+{-# NOINLINE wxEVT_STC_AUTOCOMP_SELECTION #-}
+wxEVT_STC_AUTOCOMP_SELECTION ::  EventId
+wxEVT_STC_AUTOCOMP_SELECTION 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_STC_AUTOCOMP_SELECTION 
+foreign import ccall "expEVT_STC_AUTOCOMP_SELECTION" wx_expEVT_STC_AUTOCOMP_SELECTION :: IO CInt
+
+-- | usage: (@wxEVT_STC_CALLTIP_CLICK@).
+{-# NOINLINE wxEVT_STC_CALLTIP_CLICK #-}
+wxEVT_STC_CALLTIP_CLICK ::  EventId
+wxEVT_STC_CALLTIP_CLICK 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_STC_CALLTIP_CLICK 
+foreign import ccall "expEVT_STC_CALLTIP_CLICK" wx_expEVT_STC_CALLTIP_CLICK :: IO CInt
+
+-- | usage: (@wxEVT_STC_CHANGE@).
+{-# NOINLINE wxEVT_STC_CHANGE #-}
+wxEVT_STC_CHANGE ::  EventId
+wxEVT_STC_CHANGE 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_STC_CHANGE 
+foreign import ccall "expEVT_STC_CHANGE" wx_expEVT_STC_CHANGE :: IO CInt
+
+-- | usage: (@wxEVT_STC_CHARADDED@).
+{-# NOINLINE wxEVT_STC_CHARADDED #-}
+wxEVT_STC_CHARADDED ::  EventId
+wxEVT_STC_CHARADDED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_STC_CHARADDED 
+foreign import ccall "expEVT_STC_CHARADDED" wx_expEVT_STC_CHARADDED :: IO CInt
+
+-- | usage: (@wxEVT_STC_DOUBLECLICK@).
+{-# NOINLINE wxEVT_STC_DOUBLECLICK #-}
+wxEVT_STC_DOUBLECLICK ::  EventId
+wxEVT_STC_DOUBLECLICK 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_STC_DOUBLECLICK 
+foreign import ccall "expEVT_STC_DOUBLECLICK" wx_expEVT_STC_DOUBLECLICK :: IO CInt
+
+-- | usage: (@wxEVT_STC_DO_DROP@).
+{-# NOINLINE wxEVT_STC_DO_DROP #-}
+wxEVT_STC_DO_DROP ::  EventId
+wxEVT_STC_DO_DROP 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_STC_DO_DROP 
+foreign import ccall "expEVT_STC_DO_DROP" wx_expEVT_STC_DO_DROP :: IO CInt
+
+-- | usage: (@wxEVT_STC_DRAG_OVER@).
+{-# NOINLINE wxEVT_STC_DRAG_OVER #-}
+wxEVT_STC_DRAG_OVER ::  EventId
+wxEVT_STC_DRAG_OVER 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_STC_DRAG_OVER 
+foreign import ccall "expEVT_STC_DRAG_OVER" wx_expEVT_STC_DRAG_OVER :: IO CInt
+
+-- | usage: (@wxEVT_STC_DWELLEND@).
+{-# NOINLINE wxEVT_STC_DWELLEND #-}
+wxEVT_STC_DWELLEND ::  EventId
+wxEVT_STC_DWELLEND 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_STC_DWELLEND 
+foreign import ccall "expEVT_STC_DWELLEND" wx_expEVT_STC_DWELLEND :: IO CInt
+
+-- | usage: (@wxEVT_STC_DWELLSTART@).
+{-# NOINLINE wxEVT_STC_DWELLSTART #-}
+wxEVT_STC_DWELLSTART ::  EventId
+wxEVT_STC_DWELLSTART 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_STC_DWELLSTART 
+foreign import ccall "expEVT_STC_DWELLSTART" wx_expEVT_STC_DWELLSTART :: IO CInt
+
+-- | usage: (@wxEVT_STC_HOTSPOT_CLICK@).
+{-# NOINLINE wxEVT_STC_HOTSPOT_CLICK #-}
+wxEVT_STC_HOTSPOT_CLICK ::  EventId
+wxEVT_STC_HOTSPOT_CLICK 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_STC_HOTSPOT_CLICK 
+foreign import ccall "expEVT_STC_HOTSPOT_CLICK" wx_expEVT_STC_HOTSPOT_CLICK :: IO CInt
+
+-- | usage: (@wxEVT_STC_HOTSPOT_DCLICK@).
+{-# NOINLINE wxEVT_STC_HOTSPOT_DCLICK #-}
+wxEVT_STC_HOTSPOT_DCLICK ::  EventId
+wxEVT_STC_HOTSPOT_DCLICK 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_STC_HOTSPOT_DCLICK 
+foreign import ccall "expEVT_STC_HOTSPOT_DCLICK" wx_expEVT_STC_HOTSPOT_DCLICK :: IO CInt
+
+-- | usage: (@wxEVT_STC_KEY@).
+{-# NOINLINE wxEVT_STC_KEY #-}
+wxEVT_STC_KEY ::  EventId
+wxEVT_STC_KEY 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_STC_KEY 
+foreign import ccall "expEVT_STC_KEY" wx_expEVT_STC_KEY :: IO CInt
+
+-- | usage: (@wxEVT_STC_MACRORECORD@).
+{-# NOINLINE wxEVT_STC_MACRORECORD #-}
+wxEVT_STC_MACRORECORD ::  EventId
+wxEVT_STC_MACRORECORD 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_STC_MACRORECORD 
+foreign import ccall "expEVT_STC_MACRORECORD" wx_expEVT_STC_MACRORECORD :: IO CInt
+
+-- | usage: (@wxEVT_STC_MARGINCLICK@).
+{-# NOINLINE wxEVT_STC_MARGINCLICK #-}
+wxEVT_STC_MARGINCLICK ::  EventId
+wxEVT_STC_MARGINCLICK 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_STC_MARGINCLICK 
+foreign import ccall "expEVT_STC_MARGINCLICK" wx_expEVT_STC_MARGINCLICK :: IO CInt
+
+-- | usage: (@wxEVT_STC_MODIFIED@).
+{-# NOINLINE wxEVT_STC_MODIFIED #-}
+wxEVT_STC_MODIFIED ::  EventId
+wxEVT_STC_MODIFIED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_STC_MODIFIED 
+foreign import ccall "expEVT_STC_MODIFIED" wx_expEVT_STC_MODIFIED :: IO CInt
+
+-- | usage: (@wxEVT_STC_NEEDSHOWN@).
+{-# NOINLINE wxEVT_STC_NEEDSHOWN #-}
+wxEVT_STC_NEEDSHOWN ::  EventId
+wxEVT_STC_NEEDSHOWN 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_STC_NEEDSHOWN 
+foreign import ccall "expEVT_STC_NEEDSHOWN" wx_expEVT_STC_NEEDSHOWN :: IO CInt
+
+-- | usage: (@wxEVT_STC_PAINTED@).
+{-# NOINLINE wxEVT_STC_PAINTED #-}
+wxEVT_STC_PAINTED ::  EventId
+wxEVT_STC_PAINTED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_STC_PAINTED 
+foreign import ccall "expEVT_STC_PAINTED" wx_expEVT_STC_PAINTED :: IO CInt
+
+-- | usage: (@wxEVT_STC_ROMODIFYATTEMPT@).
+{-# NOINLINE wxEVT_STC_ROMODIFYATTEMPT #-}
+wxEVT_STC_ROMODIFYATTEMPT ::  EventId
+wxEVT_STC_ROMODIFYATTEMPT 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_STC_ROMODIFYATTEMPT 
+foreign import ccall "expEVT_STC_ROMODIFYATTEMPT" wx_expEVT_STC_ROMODIFYATTEMPT :: IO CInt
+
+-- | usage: (@wxEVT_STC_SAVEPOINTLEFT@).
+{-# NOINLINE wxEVT_STC_SAVEPOINTLEFT #-}
+wxEVT_STC_SAVEPOINTLEFT ::  EventId
+wxEVT_STC_SAVEPOINTLEFT 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_STC_SAVEPOINTLEFT 
+foreign import ccall "expEVT_STC_SAVEPOINTLEFT" wx_expEVT_STC_SAVEPOINTLEFT :: IO CInt
+
+-- | usage: (@wxEVT_STC_SAVEPOINTREACHED@).
+{-# NOINLINE wxEVT_STC_SAVEPOINTREACHED #-}
+wxEVT_STC_SAVEPOINTREACHED ::  EventId
+wxEVT_STC_SAVEPOINTREACHED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_STC_SAVEPOINTREACHED 
+foreign import ccall "expEVT_STC_SAVEPOINTREACHED" wx_expEVT_STC_SAVEPOINTREACHED :: IO CInt
+
+-- | usage: (@wxEVT_STC_START_DRAG@).
+{-# NOINLINE wxEVT_STC_START_DRAG #-}
+wxEVT_STC_START_DRAG ::  EventId
+wxEVT_STC_START_DRAG 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_STC_START_DRAG 
+foreign import ccall "expEVT_STC_START_DRAG" wx_expEVT_STC_START_DRAG :: IO CInt
+
+-- | usage: (@wxEVT_STC_STYLENEEDED@).
+{-# NOINLINE wxEVT_STC_STYLENEEDED #-}
+wxEVT_STC_STYLENEEDED ::  EventId
+wxEVT_STC_STYLENEEDED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_STC_STYLENEEDED 
+foreign import ccall "expEVT_STC_STYLENEEDED" wx_expEVT_STC_STYLENEEDED :: IO CInt
+
+-- | usage: (@wxEVT_STC_UPDATEUI@).
+{-# NOINLINE wxEVT_STC_UPDATEUI #-}
+wxEVT_STC_UPDATEUI ::  EventId
+wxEVT_STC_UPDATEUI 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_STC_UPDATEUI 
+foreign import ccall "expEVT_STC_UPDATEUI" wx_expEVT_STC_UPDATEUI :: IO CInt
+
+-- | usage: (@wxEVT_STC_URIDROPPED@).
+{-# NOINLINE wxEVT_STC_URIDROPPED #-}
+wxEVT_STC_URIDROPPED ::  EventId
+wxEVT_STC_URIDROPPED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_STC_URIDROPPED 
+foreign import ccall "expEVT_STC_URIDROPPED" wx_expEVT_STC_URIDROPPED :: IO CInt
+
+-- | usage: (@wxEVT_STC_USERLISTSELECTION@).
+{-# NOINLINE wxEVT_STC_USERLISTSELECTION #-}
+wxEVT_STC_USERLISTSELECTION ::  EventId
+wxEVT_STC_USERLISTSELECTION 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_STC_USERLISTSELECTION 
+foreign import ccall "expEVT_STC_USERLISTSELECTION" wx_expEVT_STC_USERLISTSELECTION :: IO CInt
+
+-- | usage: (@wxEVT_STC_ZOOM@).
+{-# NOINLINE wxEVT_STC_ZOOM #-}
+wxEVT_STC_ZOOM ::  EventId
+wxEVT_STC_ZOOM 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_STC_ZOOM 
+foreign import ccall "expEVT_STC_ZOOM" wx_expEVT_STC_ZOOM :: IO CInt
+
+-- | usage: (@wxEVT_SYS_COLOUR_CHANGED@).
+{-# NOINLINE wxEVT_SYS_COLOUR_CHANGED #-}
+wxEVT_SYS_COLOUR_CHANGED ::  EventId
+wxEVT_SYS_COLOUR_CHANGED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_SYS_COLOUR_CHANGED 
+foreign import ccall "expEVT_SYS_COLOUR_CHANGED" wx_expEVT_SYS_COLOUR_CHANGED :: IO CInt
+
+-- | usage: (@wxEVT_TASKBAR_BALLOON_CLICK@).
+{-# NOINLINE wxEVT_TASKBAR_BALLOON_CLICK #-}
+wxEVT_TASKBAR_BALLOON_CLICK ::  EventId
+wxEVT_TASKBAR_BALLOON_CLICK 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_TASKBAR_BALLOON_CLICK 
+foreign import ccall "expEVT_TASKBAR_BALLOON_CLICK" wx_expEVT_TASKBAR_BALLOON_CLICK :: IO CInt
+
+-- | usage: (@wxEVT_TASKBAR_BALLOON_TIMEOUT@).
+{-# NOINLINE wxEVT_TASKBAR_BALLOON_TIMEOUT #-}
+wxEVT_TASKBAR_BALLOON_TIMEOUT ::  EventId
+wxEVT_TASKBAR_BALLOON_TIMEOUT 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_TASKBAR_BALLOON_TIMEOUT 
+foreign import ccall "expEVT_TASKBAR_BALLOON_TIMEOUT" wx_expEVT_TASKBAR_BALLOON_TIMEOUT :: IO CInt
+
+-- | usage: (@wxEVT_TASKBAR_LEFT_DCLICK@).
+{-# NOINLINE wxEVT_TASKBAR_LEFT_DCLICK #-}
+wxEVT_TASKBAR_LEFT_DCLICK ::  EventId
+wxEVT_TASKBAR_LEFT_DCLICK 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_TASKBAR_LEFT_DCLICK 
+foreign import ccall "expEVT_TASKBAR_LEFT_DCLICK" wx_expEVT_TASKBAR_LEFT_DCLICK :: IO CInt
+
+-- | usage: (@wxEVT_TASKBAR_LEFT_DOWN@).
+{-# NOINLINE wxEVT_TASKBAR_LEFT_DOWN #-}
+wxEVT_TASKBAR_LEFT_DOWN ::  EventId
+wxEVT_TASKBAR_LEFT_DOWN 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_TASKBAR_LEFT_DOWN 
+foreign import ccall "expEVT_TASKBAR_LEFT_DOWN" wx_expEVT_TASKBAR_LEFT_DOWN :: IO CInt
+
+-- | usage: (@wxEVT_TASKBAR_LEFT_UP@).
+{-# NOINLINE wxEVT_TASKBAR_LEFT_UP #-}
+wxEVT_TASKBAR_LEFT_UP ::  EventId
+wxEVT_TASKBAR_LEFT_UP 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_TASKBAR_LEFT_UP 
+foreign import ccall "expEVT_TASKBAR_LEFT_UP" wx_expEVT_TASKBAR_LEFT_UP :: IO CInt
+
+-- | usage: (@wxEVT_TASKBAR_MOVE@).
+{-# NOINLINE wxEVT_TASKBAR_MOVE #-}
+wxEVT_TASKBAR_MOVE ::  EventId
+wxEVT_TASKBAR_MOVE 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_TASKBAR_MOVE 
+foreign import ccall "expEVT_TASKBAR_MOVE" wx_expEVT_TASKBAR_MOVE :: IO CInt
+
+-- | usage: (@wxEVT_TASKBAR_RIGHT_DCLICK@).
+{-# NOINLINE wxEVT_TASKBAR_RIGHT_DCLICK #-}
+wxEVT_TASKBAR_RIGHT_DCLICK ::  EventId
+wxEVT_TASKBAR_RIGHT_DCLICK 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_TASKBAR_RIGHT_DCLICK 
+foreign import ccall "expEVT_TASKBAR_RIGHT_DCLICK" wx_expEVT_TASKBAR_RIGHT_DCLICK :: IO CInt
+
+-- | usage: (@wxEVT_TASKBAR_RIGHT_DOWN@).
+{-# NOINLINE wxEVT_TASKBAR_RIGHT_DOWN #-}
+wxEVT_TASKBAR_RIGHT_DOWN ::  EventId
+wxEVT_TASKBAR_RIGHT_DOWN 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_TASKBAR_RIGHT_DOWN 
+foreign import ccall "expEVT_TASKBAR_RIGHT_DOWN" wx_expEVT_TASKBAR_RIGHT_DOWN :: IO CInt
+
+-- | usage: (@wxEVT_TASKBAR_RIGHT_UP@).
+{-# NOINLINE wxEVT_TASKBAR_RIGHT_UP #-}
+wxEVT_TASKBAR_RIGHT_UP ::  EventId
+wxEVT_TASKBAR_RIGHT_UP 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_TASKBAR_RIGHT_UP 
+foreign import ccall "expEVT_TASKBAR_RIGHT_UP" wx_expEVT_TASKBAR_RIGHT_UP :: IO CInt
+
+-- | usage: (@wxEVT_TIMER@).
+{-# NOINLINE wxEVT_TIMER #-}
+wxEVT_TIMER ::  EventId
+wxEVT_TIMER 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_TIMER 
+foreign import ccall "expEVT_TIMER" wx_expEVT_TIMER :: IO CInt
+
+-- | usage: (@wxEVT_UPDATE_UI@).
+{-# NOINLINE wxEVT_UPDATE_UI #-}
+wxEVT_UPDATE_UI ::  EventId
+wxEVT_UPDATE_UI 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_UPDATE_UI 
+foreign import ccall "expEVT_UPDATE_UI" wx_expEVT_UPDATE_UI :: IO CInt
+
+-- | usage: (@wxEVT_WINDOW_MODAL_DIALOG_CLOSED@).
+{-# NOINLINE wxEVT_WINDOW_MODAL_DIALOG_CLOSED #-}
+wxEVT_WINDOW_MODAL_DIALOG_CLOSED ::  EventId
+wxEVT_WINDOW_MODAL_DIALOG_CLOSED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_WINDOW_MODAL_DIALOG_CLOSED 
+foreign import ccall "expEVT_WINDOW_MODAL_DIALOG_CLOSED" wx_expEVT_WINDOW_MODAL_DIALOG_CLOSED :: IO CInt
+
+-- | usage: (@wxEVT_WIZARD_CANCEL@).
+{-# NOINLINE wxEVT_WIZARD_CANCEL #-}
+wxEVT_WIZARD_CANCEL ::  EventId
+wxEVT_WIZARD_CANCEL 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_WIZARD_CANCEL 
+foreign import ccall "expEVT_WIZARD_CANCEL" wx_expEVT_WIZARD_CANCEL :: IO CInt
+
+-- | usage: (@wxEVT_WIZARD_FINISHED@).
+{-# NOINLINE wxEVT_WIZARD_FINISHED #-}
+wxEVT_WIZARD_FINISHED ::  EventId
+wxEVT_WIZARD_FINISHED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_WIZARD_FINISHED 
+foreign import ccall "expEVT_WIZARD_FINISHED" wx_expEVT_WIZARD_FINISHED :: IO CInt
+
+-- | usage: (@wxEVT_WIZARD_HELP@).
+{-# NOINLINE wxEVT_WIZARD_HELP #-}
+wxEVT_WIZARD_HELP ::  EventId
+wxEVT_WIZARD_HELP 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_WIZARD_HELP 
+foreign import ccall "expEVT_WIZARD_HELP" wx_expEVT_WIZARD_HELP :: IO CInt
+
+-- | usage: (@wxEVT_WIZARD_PAGE_CHANGED@).
+{-# NOINLINE wxEVT_WIZARD_PAGE_CHANGED #-}
+wxEVT_WIZARD_PAGE_CHANGED ::  EventId
+wxEVT_WIZARD_PAGE_CHANGED 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_WIZARD_PAGE_CHANGED 
+foreign import ccall "expEVT_WIZARD_PAGE_CHANGED" wx_expEVT_WIZARD_PAGE_CHANGED :: IO CInt
+
+-- | usage: (@wxEVT_WIZARD_PAGE_CHANGING@).
+{-# NOINLINE wxEVT_WIZARD_PAGE_CHANGING #-}
+wxEVT_WIZARD_PAGE_CHANGING ::  EventId
+wxEVT_WIZARD_PAGE_CHANGING 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_WIZARD_PAGE_CHANGING 
+foreign import ccall "expEVT_WIZARD_PAGE_CHANGING" wx_expEVT_WIZARD_PAGE_CHANGING :: IO CInt
+
+-- | usage: (@wxEVT_WIZARD_PAGE_SHOWN@).
+{-# NOINLINE wxEVT_WIZARD_PAGE_SHOWN #-}
+wxEVT_WIZARD_PAGE_SHOWN ::  EventId
+wxEVT_WIZARD_PAGE_SHOWN 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expEVT_WIZARD_PAGE_SHOWN 
+foreign import ccall "expEVT_WIZARD_PAGE_SHOWN" wx_expEVT_WIZARD_PAGE_SHOWN :: IO CInt
+
+-- | usage: (@wxK_ADD@).
+{-# NOINLINE wxK_ADD #-}
+wxK_ADD ::  Int
+wxK_ADD 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_ADD 
+foreign import ccall "expK_ADD" wx_expK_ADD :: IO CInt
+
+-- | usage: (@wxK_ALT@).
+{-# NOINLINE wxK_ALT #-}
+wxK_ALT ::  Int
+wxK_ALT 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_ALT 
+foreign import ccall "expK_ALT" wx_expK_ALT :: IO CInt
+
+-- | usage: (@wxK_BACK@).
+{-# NOINLINE wxK_BACK #-}
+wxK_BACK ::  Int
+wxK_BACK 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_BACK 
+foreign import ccall "expK_BACK" wx_expK_BACK :: IO CInt
+
+-- | usage: (@wxK_CANCEL@).
+{-# NOINLINE wxK_CANCEL #-}
+wxK_CANCEL ::  Int
+wxK_CANCEL 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_CANCEL 
+foreign import ccall "expK_CANCEL" wx_expK_CANCEL :: IO CInt
+
+-- | usage: (@wxK_CAPITAL@).
+{-# NOINLINE wxK_CAPITAL #-}
+wxK_CAPITAL ::  Int
+wxK_CAPITAL 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_CAPITAL 
+foreign import ccall "expK_CAPITAL" wx_expK_CAPITAL :: IO CInt
+
+-- | usage: (@wxK_CLEAR@).
+{-# NOINLINE wxK_CLEAR #-}
+wxK_CLEAR ::  Int
+wxK_CLEAR 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_CLEAR 
+foreign import ccall "expK_CLEAR" wx_expK_CLEAR :: IO CInt
+
+-- | usage: (@wxK_CONTROL@).
+{-# NOINLINE wxK_CONTROL #-}
+wxK_CONTROL ::  Int
+wxK_CONTROL 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_CONTROL 
+foreign import ccall "expK_CONTROL" wx_expK_CONTROL :: IO CInt
+
+-- | usage: (@wxK_DECIMAL@).
+{-# NOINLINE wxK_DECIMAL #-}
+wxK_DECIMAL ::  Int
+wxK_DECIMAL 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_DECIMAL 
+foreign import ccall "expK_DECIMAL" wx_expK_DECIMAL :: IO CInt
+
+-- | usage: (@wxK_DELETE@).
+{-# NOINLINE wxK_DELETE #-}
+wxK_DELETE ::  Int
+wxK_DELETE 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_DELETE 
+foreign import ccall "expK_DELETE" wx_expK_DELETE :: IO CInt
+
+-- | usage: (@wxK_DIVIDE@).
+{-# NOINLINE wxK_DIVIDE #-}
+wxK_DIVIDE ::  Int
+wxK_DIVIDE 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_DIVIDE 
+foreign import ccall "expK_DIVIDE" wx_expK_DIVIDE :: IO CInt
+
+-- | usage: (@wxK_DOWN@).
+{-# NOINLINE wxK_DOWN #-}
+wxK_DOWN ::  Int
+wxK_DOWN 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_DOWN 
+foreign import ccall "expK_DOWN" wx_expK_DOWN :: IO CInt
+
+-- | usage: (@wxK_END@).
+{-# NOINLINE wxK_END #-}
+wxK_END ::  Int
+wxK_END 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_END 
+foreign import ccall "expK_END" wx_expK_END :: IO CInt
+
+-- | usage: (@wxK_ESCAPE@).
+{-# NOINLINE wxK_ESCAPE #-}
+wxK_ESCAPE ::  Int
+wxK_ESCAPE 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_ESCAPE 
+foreign import ccall "expK_ESCAPE" wx_expK_ESCAPE :: IO CInt
+
+-- | usage: (@wxK_EXECUTE@).
+{-# NOINLINE wxK_EXECUTE #-}
+wxK_EXECUTE ::  Int
+wxK_EXECUTE 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_EXECUTE 
+foreign import ccall "expK_EXECUTE" wx_expK_EXECUTE :: IO CInt
+
+-- | usage: (@wxK_F1@).
+{-# NOINLINE wxK_F1 #-}
+wxK_F1 ::  Int
+wxK_F1 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_F1 
+foreign import ccall "expK_F1" wx_expK_F1 :: IO CInt
+
+-- | usage: (@wxK_F10@).
+{-# NOINLINE wxK_F10 #-}
+wxK_F10 ::  Int
+wxK_F10 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_F10 
+foreign import ccall "expK_F10" wx_expK_F10 :: IO CInt
+
+-- | usage: (@wxK_F11@).
+{-# NOINLINE wxK_F11 #-}
+wxK_F11 ::  Int
+wxK_F11 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_F11 
+foreign import ccall "expK_F11" wx_expK_F11 :: IO CInt
+
+-- | usage: (@wxK_F12@).
+{-# NOINLINE wxK_F12 #-}
+wxK_F12 ::  Int
+wxK_F12 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_F12 
+foreign import ccall "expK_F12" wx_expK_F12 :: IO CInt
+
+-- | usage: (@wxK_F13@).
+{-# NOINLINE wxK_F13 #-}
+wxK_F13 ::  Int
+wxK_F13 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_F13 
+foreign import ccall "expK_F13" wx_expK_F13 :: IO CInt
+
+-- | usage: (@wxK_F14@).
+{-# NOINLINE wxK_F14 #-}
+wxK_F14 ::  Int
+wxK_F14 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_F14 
+foreign import ccall "expK_F14" wx_expK_F14 :: IO CInt
+
+-- | usage: (@wxK_F15@).
+{-# NOINLINE wxK_F15 #-}
+wxK_F15 ::  Int
+wxK_F15 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_F15 
+foreign import ccall "expK_F15" wx_expK_F15 :: IO CInt
+
+-- | usage: (@wxK_F16@).
+{-# NOINLINE wxK_F16 #-}
+wxK_F16 ::  Int
+wxK_F16 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_F16 
+foreign import ccall "expK_F16" wx_expK_F16 :: IO CInt
+
+-- | usage: (@wxK_F17@).
+{-# NOINLINE wxK_F17 #-}
+wxK_F17 ::  Int
+wxK_F17 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_F17 
+foreign import ccall "expK_F17" wx_expK_F17 :: IO CInt
+
+-- | usage: (@wxK_F18@).
+{-# NOINLINE wxK_F18 #-}
+wxK_F18 ::  Int
+wxK_F18 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_F18 
+foreign import ccall "expK_F18" wx_expK_F18 :: IO CInt
+
+-- | usage: (@wxK_F19@).
+{-# NOINLINE wxK_F19 #-}
+wxK_F19 ::  Int
+wxK_F19 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_F19 
+foreign import ccall "expK_F19" wx_expK_F19 :: IO CInt
+
+-- | usage: (@wxK_F2@).
+{-# NOINLINE wxK_F2 #-}
+wxK_F2 ::  Int
+wxK_F2 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_F2 
+foreign import ccall "expK_F2" wx_expK_F2 :: IO CInt
+
+-- | usage: (@wxK_F20@).
+{-# NOINLINE wxK_F20 #-}
+wxK_F20 ::  Int
+wxK_F20 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_F20 
+foreign import ccall "expK_F20" wx_expK_F20 :: IO CInt
+
+-- | usage: (@wxK_F21@).
+{-# NOINLINE wxK_F21 #-}
+wxK_F21 ::  Int
+wxK_F21 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_F21 
+foreign import ccall "expK_F21" wx_expK_F21 :: IO CInt
+
+-- | usage: (@wxK_F22@).
+{-# NOINLINE wxK_F22 #-}
+wxK_F22 ::  Int
+wxK_F22 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_F22 
+foreign import ccall "expK_F22" wx_expK_F22 :: IO CInt
+
+-- | usage: (@wxK_F23@).
+{-# NOINLINE wxK_F23 #-}
+wxK_F23 ::  Int
+wxK_F23 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_F23 
+foreign import ccall "expK_F23" wx_expK_F23 :: IO CInt
+
+-- | usage: (@wxK_F24@).
+{-# NOINLINE wxK_F24 #-}
+wxK_F24 ::  Int
+wxK_F24 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_F24 
+foreign import ccall "expK_F24" wx_expK_F24 :: IO CInt
+
+-- | usage: (@wxK_F3@).
+{-# NOINLINE wxK_F3 #-}
+wxK_F3 ::  Int
+wxK_F3 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_F3 
+foreign import ccall "expK_F3" wx_expK_F3 :: IO CInt
+
+-- | usage: (@wxK_F4@).
+{-# NOINLINE wxK_F4 #-}
+wxK_F4 ::  Int
+wxK_F4 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_F4 
+foreign import ccall "expK_F4" wx_expK_F4 :: IO CInt
+
+-- | usage: (@wxK_F5@).
+{-# NOINLINE wxK_F5 #-}
+wxK_F5 ::  Int
+wxK_F5 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_F5 
+foreign import ccall "expK_F5" wx_expK_F5 :: IO CInt
+
+-- | usage: (@wxK_F6@).
+{-# NOINLINE wxK_F6 #-}
+wxK_F6 ::  Int
+wxK_F6 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_F6 
+foreign import ccall "expK_F6" wx_expK_F6 :: IO CInt
+
+-- | usage: (@wxK_F7@).
+{-# NOINLINE wxK_F7 #-}
+wxK_F7 ::  Int
+wxK_F7 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_F7 
+foreign import ccall "expK_F7" wx_expK_F7 :: IO CInt
+
+-- | usage: (@wxK_F8@).
+{-# NOINLINE wxK_F8 #-}
+wxK_F8 ::  Int
+wxK_F8 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_F8 
+foreign import ccall "expK_F8" wx_expK_F8 :: IO CInt
+
+-- | usage: (@wxK_F9@).
+{-# NOINLINE wxK_F9 #-}
+wxK_F9 ::  Int
+wxK_F9 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_F9 
+foreign import ccall "expK_F9" wx_expK_F9 :: IO CInt
+
+-- | usage: (@wxK_HELP@).
+{-# NOINLINE wxK_HELP #-}
+wxK_HELP ::  Int
+wxK_HELP 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_HELP 
+foreign import ccall "expK_HELP" wx_expK_HELP :: IO CInt
+
+-- | usage: (@wxK_HOME@).
+{-# NOINLINE wxK_HOME #-}
+wxK_HOME ::  Int
+wxK_HOME 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_HOME 
+foreign import ccall "expK_HOME" wx_expK_HOME :: IO CInt
+
+-- | usage: (@wxK_INSERT@).
+{-# NOINLINE wxK_INSERT #-}
+wxK_INSERT ::  Int
+wxK_INSERT 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_INSERT 
+foreign import ccall "expK_INSERT" wx_expK_INSERT :: IO CInt
+
+-- | usage: (@wxK_LBUTTON@).
+{-# NOINLINE wxK_LBUTTON #-}
+wxK_LBUTTON ::  Int
+wxK_LBUTTON 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_LBUTTON 
+foreign import ccall "expK_LBUTTON" wx_expK_LBUTTON :: IO CInt
+
+-- | usage: (@wxK_LEFT@).
+{-# NOINLINE wxK_LEFT #-}
+wxK_LEFT ::  Int
+wxK_LEFT 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_LEFT 
+foreign import ccall "expK_LEFT" wx_expK_LEFT :: IO CInt
+
+-- | usage: (@wxK_MBUTTON@).
+{-# NOINLINE wxK_MBUTTON #-}
+wxK_MBUTTON ::  Int
+wxK_MBUTTON 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_MBUTTON 
+foreign import ccall "expK_MBUTTON" wx_expK_MBUTTON :: IO CInt
+
+-- | usage: (@wxK_MENU@).
+{-# NOINLINE wxK_MENU #-}
+wxK_MENU ::  Int
+wxK_MENU 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_MENU 
+foreign import ccall "expK_MENU" wx_expK_MENU :: IO CInt
+
+-- | usage: (@wxK_MULTIPLY@).
+{-# NOINLINE wxK_MULTIPLY #-}
+wxK_MULTIPLY ::  Int
+wxK_MULTIPLY 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_MULTIPLY 
+foreign import ccall "expK_MULTIPLY" wx_expK_MULTIPLY :: IO CInt
+
+-- | usage: (@wxK_NUMLOCK@).
+{-# NOINLINE wxK_NUMLOCK #-}
+wxK_NUMLOCK ::  Int
+wxK_NUMLOCK 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_NUMLOCK 
+foreign import ccall "expK_NUMLOCK" wx_expK_NUMLOCK :: IO CInt
+
+-- | usage: (@wxK_NUMPAD0@).
+{-# NOINLINE wxK_NUMPAD0 #-}
+wxK_NUMPAD0 ::  Int
+wxK_NUMPAD0 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_NUMPAD0 
+foreign import ccall "expK_NUMPAD0" wx_expK_NUMPAD0 :: IO CInt
+
+-- | usage: (@wxK_NUMPAD1@).
+{-# NOINLINE wxK_NUMPAD1 #-}
+wxK_NUMPAD1 ::  Int
+wxK_NUMPAD1 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_NUMPAD1 
+foreign import ccall "expK_NUMPAD1" wx_expK_NUMPAD1 :: IO CInt
+
+-- | usage: (@wxK_NUMPAD2@).
+{-# NOINLINE wxK_NUMPAD2 #-}
+wxK_NUMPAD2 ::  Int
+wxK_NUMPAD2 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_NUMPAD2 
+foreign import ccall "expK_NUMPAD2" wx_expK_NUMPAD2 :: IO CInt
+
+-- | usage: (@wxK_NUMPAD3@).
+{-# NOINLINE wxK_NUMPAD3 #-}
+wxK_NUMPAD3 ::  Int
+wxK_NUMPAD3 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_NUMPAD3 
+foreign import ccall "expK_NUMPAD3" wx_expK_NUMPAD3 :: IO CInt
+
+-- | usage: (@wxK_NUMPAD4@).
+{-# NOINLINE wxK_NUMPAD4 #-}
+wxK_NUMPAD4 ::  Int
+wxK_NUMPAD4 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_NUMPAD4 
+foreign import ccall "expK_NUMPAD4" wx_expK_NUMPAD4 :: IO CInt
+
+-- | usage: (@wxK_NUMPAD5@).
+{-# NOINLINE wxK_NUMPAD5 #-}
+wxK_NUMPAD5 ::  Int
+wxK_NUMPAD5 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_NUMPAD5 
+foreign import ccall "expK_NUMPAD5" wx_expK_NUMPAD5 :: IO CInt
+
+-- | usage: (@wxK_NUMPAD6@).
+{-# NOINLINE wxK_NUMPAD6 #-}
+wxK_NUMPAD6 ::  Int
+wxK_NUMPAD6 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_NUMPAD6 
+foreign import ccall "expK_NUMPAD6" wx_expK_NUMPAD6 :: IO CInt
+
+-- | usage: (@wxK_NUMPAD7@).
+{-# NOINLINE wxK_NUMPAD7 #-}
+wxK_NUMPAD7 ::  Int
+wxK_NUMPAD7 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_NUMPAD7 
+foreign import ccall "expK_NUMPAD7" wx_expK_NUMPAD7 :: IO CInt
+
+-- | usage: (@wxK_NUMPAD8@).
+{-# NOINLINE wxK_NUMPAD8 #-}
+wxK_NUMPAD8 ::  Int
+wxK_NUMPAD8 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_NUMPAD8 
+foreign import ccall "expK_NUMPAD8" wx_expK_NUMPAD8 :: IO CInt
+
+-- | usage: (@wxK_NUMPAD9@).
+{-# NOINLINE wxK_NUMPAD9 #-}
+wxK_NUMPAD9 ::  Int
+wxK_NUMPAD9 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_NUMPAD9 
+foreign import ccall "expK_NUMPAD9" wx_expK_NUMPAD9 :: IO CInt
+
+-- | usage: (@wxK_NUMPAD_ADD@).
+{-# NOINLINE wxK_NUMPAD_ADD #-}
+wxK_NUMPAD_ADD ::  Int
+wxK_NUMPAD_ADD 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_NUMPAD_ADD 
+foreign import ccall "expK_NUMPAD_ADD" wx_expK_NUMPAD_ADD :: IO CInt
+
+-- | usage: (@wxK_NUMPAD_BEGIN@).
+{-# NOINLINE wxK_NUMPAD_BEGIN #-}
+wxK_NUMPAD_BEGIN ::  Int
+wxK_NUMPAD_BEGIN 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_NUMPAD_BEGIN 
+foreign import ccall "expK_NUMPAD_BEGIN" wx_expK_NUMPAD_BEGIN :: IO CInt
+
+-- | usage: (@wxK_NUMPAD_DECIMAL@).
+{-# NOINLINE wxK_NUMPAD_DECIMAL #-}
+wxK_NUMPAD_DECIMAL ::  Int
+wxK_NUMPAD_DECIMAL 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_NUMPAD_DECIMAL 
+foreign import ccall "expK_NUMPAD_DECIMAL" wx_expK_NUMPAD_DECIMAL :: IO CInt
+
+-- | usage: (@wxK_NUMPAD_DELETE@).
+{-# NOINLINE wxK_NUMPAD_DELETE #-}
+wxK_NUMPAD_DELETE ::  Int
+wxK_NUMPAD_DELETE 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_NUMPAD_DELETE 
+foreign import ccall "expK_NUMPAD_DELETE" wx_expK_NUMPAD_DELETE :: IO CInt
+
+-- | usage: (@wxK_NUMPAD_DIVIDE@).
+{-# NOINLINE wxK_NUMPAD_DIVIDE #-}
+wxK_NUMPAD_DIVIDE ::  Int
+wxK_NUMPAD_DIVIDE 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_NUMPAD_DIVIDE 
+foreign import ccall "expK_NUMPAD_DIVIDE" wx_expK_NUMPAD_DIVIDE :: IO CInt
+
+-- | usage: (@wxK_NUMPAD_DOWN@).
+{-# NOINLINE wxK_NUMPAD_DOWN #-}
+wxK_NUMPAD_DOWN ::  Int
+wxK_NUMPAD_DOWN 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_NUMPAD_DOWN 
+foreign import ccall "expK_NUMPAD_DOWN" wx_expK_NUMPAD_DOWN :: IO CInt
+
+-- | usage: (@wxK_NUMPAD_END@).
+{-# NOINLINE wxK_NUMPAD_END #-}
+wxK_NUMPAD_END ::  Int
+wxK_NUMPAD_END 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_NUMPAD_END 
+foreign import ccall "expK_NUMPAD_END" wx_expK_NUMPAD_END :: IO CInt
+
+-- | usage: (@wxK_NUMPAD_ENTER@).
+{-# NOINLINE wxK_NUMPAD_ENTER #-}
+wxK_NUMPAD_ENTER ::  Int
+wxK_NUMPAD_ENTER 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_NUMPAD_ENTER 
+foreign import ccall "expK_NUMPAD_ENTER" wx_expK_NUMPAD_ENTER :: IO CInt
+
+-- | usage: (@wxK_NUMPAD_EQUAL@).
+{-# NOINLINE wxK_NUMPAD_EQUAL #-}
+wxK_NUMPAD_EQUAL ::  Int
+wxK_NUMPAD_EQUAL 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_NUMPAD_EQUAL 
+foreign import ccall "expK_NUMPAD_EQUAL" wx_expK_NUMPAD_EQUAL :: IO CInt
+
+-- | usage: (@wxK_NUMPAD_F1@).
+{-# NOINLINE wxK_NUMPAD_F1 #-}
+wxK_NUMPAD_F1 ::  Int
+wxK_NUMPAD_F1 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_NUMPAD_F1 
+foreign import ccall "expK_NUMPAD_F1" wx_expK_NUMPAD_F1 :: IO CInt
+
+-- | usage: (@wxK_NUMPAD_F2@).
+{-# NOINLINE wxK_NUMPAD_F2 #-}
+wxK_NUMPAD_F2 ::  Int
+wxK_NUMPAD_F2 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_NUMPAD_F2 
+foreign import ccall "expK_NUMPAD_F2" wx_expK_NUMPAD_F2 :: IO CInt
+
+-- | usage: (@wxK_NUMPAD_F3@).
+{-# NOINLINE wxK_NUMPAD_F3 #-}
+wxK_NUMPAD_F3 ::  Int
+wxK_NUMPAD_F3 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_NUMPAD_F3 
+foreign import ccall "expK_NUMPAD_F3" wx_expK_NUMPAD_F3 :: IO CInt
+
+-- | usage: (@wxK_NUMPAD_F4@).
+{-# NOINLINE wxK_NUMPAD_F4 #-}
+wxK_NUMPAD_F4 ::  Int
+wxK_NUMPAD_F4 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_NUMPAD_F4 
+foreign import ccall "expK_NUMPAD_F4" wx_expK_NUMPAD_F4 :: IO CInt
+
+-- | usage: (@wxK_NUMPAD_HOME@).
+{-# NOINLINE wxK_NUMPAD_HOME #-}
+wxK_NUMPAD_HOME ::  Int
+wxK_NUMPAD_HOME 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_NUMPAD_HOME 
+foreign import ccall "expK_NUMPAD_HOME" wx_expK_NUMPAD_HOME :: IO CInt
+
+-- | usage: (@wxK_NUMPAD_INSERT@).
+{-# NOINLINE wxK_NUMPAD_INSERT #-}
+wxK_NUMPAD_INSERT ::  Int
+wxK_NUMPAD_INSERT 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_NUMPAD_INSERT 
+foreign import ccall "expK_NUMPAD_INSERT" wx_expK_NUMPAD_INSERT :: IO CInt
+
+-- | usage: (@wxK_NUMPAD_LEFT@).
+{-# NOINLINE wxK_NUMPAD_LEFT #-}
+wxK_NUMPAD_LEFT ::  Int
+wxK_NUMPAD_LEFT 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_NUMPAD_LEFT 
+foreign import ccall "expK_NUMPAD_LEFT" wx_expK_NUMPAD_LEFT :: IO CInt
+
+-- | usage: (@wxK_NUMPAD_MULTIPLY@).
+{-# NOINLINE wxK_NUMPAD_MULTIPLY #-}
+wxK_NUMPAD_MULTIPLY ::  Int
+wxK_NUMPAD_MULTIPLY 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_NUMPAD_MULTIPLY 
+foreign import ccall "expK_NUMPAD_MULTIPLY" wx_expK_NUMPAD_MULTIPLY :: IO CInt
+
+-- | usage: (@wxK_NUMPAD_PAGEDOWN@).
+{-# NOINLINE wxK_NUMPAD_PAGEDOWN #-}
+wxK_NUMPAD_PAGEDOWN ::  Int
+wxK_NUMPAD_PAGEDOWN 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_NUMPAD_PAGEDOWN 
+foreign import ccall "expK_NUMPAD_PAGEDOWN" wx_expK_NUMPAD_PAGEDOWN :: IO CInt
+
+-- | usage: (@wxK_NUMPAD_PAGEUP@).
+{-# NOINLINE wxK_NUMPAD_PAGEUP #-}
+wxK_NUMPAD_PAGEUP ::  Int
+wxK_NUMPAD_PAGEUP 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_NUMPAD_PAGEUP 
+foreign import ccall "expK_NUMPAD_PAGEUP" wx_expK_NUMPAD_PAGEUP :: IO CInt
+
+-- | usage: (@wxK_NUMPAD_RIGHT@).
+{-# NOINLINE wxK_NUMPAD_RIGHT #-}
+wxK_NUMPAD_RIGHT ::  Int
+wxK_NUMPAD_RIGHT 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_NUMPAD_RIGHT 
+foreign import ccall "expK_NUMPAD_RIGHT" wx_expK_NUMPAD_RIGHT :: IO CInt
+
+-- | usage: (@wxK_NUMPAD_SEPARATOR@).
+{-# NOINLINE wxK_NUMPAD_SEPARATOR #-}
+wxK_NUMPAD_SEPARATOR ::  Int
+wxK_NUMPAD_SEPARATOR 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_NUMPAD_SEPARATOR 
+foreign import ccall "expK_NUMPAD_SEPARATOR" wx_expK_NUMPAD_SEPARATOR :: IO CInt
+
+-- | usage: (@wxK_NUMPAD_SPACE@).
+{-# NOINLINE wxK_NUMPAD_SPACE #-}
+wxK_NUMPAD_SPACE ::  Int
+wxK_NUMPAD_SPACE 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_NUMPAD_SPACE 
+foreign import ccall "expK_NUMPAD_SPACE" wx_expK_NUMPAD_SPACE :: IO CInt
+
+-- | usage: (@wxK_NUMPAD_SUBTRACT@).
+{-# NOINLINE wxK_NUMPAD_SUBTRACT #-}
+wxK_NUMPAD_SUBTRACT ::  Int
+wxK_NUMPAD_SUBTRACT 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_NUMPAD_SUBTRACT 
+foreign import ccall "expK_NUMPAD_SUBTRACT" wx_expK_NUMPAD_SUBTRACT :: IO CInt
+
+-- | usage: (@wxK_NUMPAD_TAB@).
+{-# NOINLINE wxK_NUMPAD_TAB #-}
+wxK_NUMPAD_TAB ::  Int
+wxK_NUMPAD_TAB 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_NUMPAD_TAB 
+foreign import ccall "expK_NUMPAD_TAB" wx_expK_NUMPAD_TAB :: IO CInt
+
+-- | usage: (@wxK_NUMPAD_UP@).
+{-# NOINLINE wxK_NUMPAD_UP #-}
+wxK_NUMPAD_UP ::  Int
+wxK_NUMPAD_UP 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_NUMPAD_UP 
+foreign import ccall "expK_NUMPAD_UP" wx_expK_NUMPAD_UP :: IO CInt
+
+-- | usage: (@wxK_PAGEDOWN@).
+{-# NOINLINE wxK_PAGEDOWN #-}
+wxK_PAGEDOWN ::  Int
+wxK_PAGEDOWN 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_PAGEDOWN 
+foreign import ccall "expK_PAGEDOWN" wx_expK_PAGEDOWN :: IO CInt
+
+-- | usage: (@wxK_PAGEUP@).
+{-# NOINLINE wxK_PAGEUP #-}
+wxK_PAGEUP ::  Int
+wxK_PAGEUP 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_PAGEUP 
+foreign import ccall "expK_PAGEUP" wx_expK_PAGEUP :: IO CInt
+
+-- | usage: (@wxK_PAUSE@).
+{-# NOINLINE wxK_PAUSE #-}
+wxK_PAUSE ::  Int
+wxK_PAUSE 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_PAUSE 
+foreign import ccall "expK_PAUSE" wx_expK_PAUSE :: IO CInt
+
+-- | usage: (@wxK_PRINT@).
+{-# NOINLINE wxK_PRINT #-}
+wxK_PRINT ::  Int
+wxK_PRINT 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_PRINT 
+foreign import ccall "expK_PRINT" wx_expK_PRINT :: IO CInt
+
+-- | usage: (@wxK_RBUTTON@).
+{-# NOINLINE wxK_RBUTTON #-}
+wxK_RBUTTON ::  Int
+wxK_RBUTTON 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_RBUTTON 
+foreign import ccall "expK_RBUTTON" wx_expK_RBUTTON :: IO CInt
+
+-- | usage: (@wxK_RETURN@).
+{-# NOINLINE wxK_RETURN #-}
+wxK_RETURN ::  Int
+wxK_RETURN 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_RETURN 
+foreign import ccall "expK_RETURN" wx_expK_RETURN :: IO CInt
+
+-- | usage: (@wxK_RIGHT@).
+{-# NOINLINE wxK_RIGHT #-}
+wxK_RIGHT ::  Int
+wxK_RIGHT 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_RIGHT 
+foreign import ccall "expK_RIGHT" wx_expK_RIGHT :: IO CInt
+
+-- | usage: (@wxK_SCROLL@).
+{-# NOINLINE wxK_SCROLL #-}
+wxK_SCROLL ::  Int
+wxK_SCROLL 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_SCROLL 
+foreign import ccall "expK_SCROLL" wx_expK_SCROLL :: IO CInt
+
+-- | usage: (@wxK_SELECT@).
+{-# NOINLINE wxK_SELECT #-}
+wxK_SELECT ::  Int
+wxK_SELECT 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_SELECT 
+foreign import ccall "expK_SELECT" wx_expK_SELECT :: IO CInt
+
+-- | usage: (@wxK_SEPARATOR@).
+{-# NOINLINE wxK_SEPARATOR #-}
+wxK_SEPARATOR ::  Int
+wxK_SEPARATOR 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_SEPARATOR 
+foreign import ccall "expK_SEPARATOR" wx_expK_SEPARATOR :: IO CInt
+
+-- | usage: (@wxK_SHIFT@).
+{-# NOINLINE wxK_SHIFT #-}
+wxK_SHIFT ::  Int
+wxK_SHIFT 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_SHIFT 
+foreign import ccall "expK_SHIFT" wx_expK_SHIFT :: IO CInt
+
+-- | usage: (@wxK_SNAPSHOT@).
+{-# NOINLINE wxK_SNAPSHOT #-}
+wxK_SNAPSHOT ::  Int
+wxK_SNAPSHOT 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_SNAPSHOT 
+foreign import ccall "expK_SNAPSHOT" wx_expK_SNAPSHOT :: IO CInt
+
+-- | usage: (@wxK_SPACE@).
+{-# NOINLINE wxK_SPACE #-}
+wxK_SPACE ::  Int
+wxK_SPACE 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_SPACE 
+foreign import ccall "expK_SPACE" wx_expK_SPACE :: IO CInt
+
+-- | usage: (@wxK_START@).
+{-# NOINLINE wxK_START #-}
+wxK_START ::  Int
+wxK_START 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_START 
+foreign import ccall "expK_START" wx_expK_START :: IO CInt
+
+-- | usage: (@wxK_SUBTRACT@).
+{-# NOINLINE wxK_SUBTRACT #-}
+wxK_SUBTRACT ::  Int
+wxK_SUBTRACT 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_SUBTRACT 
+foreign import ccall "expK_SUBTRACT" wx_expK_SUBTRACT :: IO CInt
+
+-- | usage: (@wxK_TAB@).
+{-# NOINLINE wxK_TAB #-}
+wxK_TAB ::  Int
+wxK_TAB 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_TAB 
+foreign import ccall "expK_TAB" wx_expK_TAB :: IO CInt
+
+-- | usage: (@wxK_UP@).
+{-# NOINLINE wxK_UP #-}
+wxK_UP ::  Int
+wxK_UP 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expK_UP 
+foreign import ccall "expK_UP" wx_expK_UP :: IO CInt
+
+-- | usage: (@wxNB_BOTTOM@).
+{-# NOINLINE wxNB_BOTTOM #-}
+wxNB_BOTTOM ::  Int
+wxNB_BOTTOM 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expNB_BOTTOM 
+foreign import ccall "expNB_BOTTOM" wx_expNB_BOTTOM :: IO CInt
+
+-- | usage: (@wxNB_LEFT@).
+{-# NOINLINE wxNB_LEFT #-}
+wxNB_LEFT ::  Int
+wxNB_LEFT 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expNB_LEFT 
+foreign import ccall "expNB_LEFT" wx_expNB_LEFT :: IO CInt
+
+-- | usage: (@wxNB_RIGHT@).
+{-# NOINLINE wxNB_RIGHT #-}
+wxNB_RIGHT ::  Int
+wxNB_RIGHT 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expNB_RIGHT 
+foreign import ccall "expNB_RIGHT" wx_expNB_RIGHT :: IO CInt
+
+-- | usage: (@wxNB_TOP@).
+{-# NOINLINE wxNB_TOP #-}
+wxNB_TOP ::  Int
+wxNB_TOP 
+  = unsafePerformIO $
+    withIntResult $
+    wx_expNB_TOP 
+foreign import ccall "expNB_TOP" wx_expNB_TOP :: IO CInt
+
+-- | usage: (@wxcAppBell@).
+wxcAppBell ::  IO ()
+wxcAppBell 
+  = wx_ELJApp_Bell 
+foreign import ccall "ELJApp_Bell" wx_ELJApp_Bell :: IO ()
+
+-- | usage: (@wxcAppCreateLogTarget@).
+wxcAppCreateLogTarget ::  IO (WXCLog  ())
+wxcAppCreateLogTarget 
+  = withObjectResult $
+    wx_ELJApp_CreateLogTarget 
+foreign import ccall "ELJApp_CreateLogTarget" wx_ELJApp_CreateLogTarget :: IO (Ptr (TWXCLog ()))
+
+-- | usage: (@wxcAppDispatch@).
+wxcAppDispatch ::  IO ()
+wxcAppDispatch 
+  = wx_ELJApp_Dispatch 
+foreign import ccall "ELJApp_Dispatch" wx_ELJApp_Dispatch :: IO ()
+
+-- | usage: (@wxcAppDisplaySize@).
+wxcAppDisplaySize ::  IO (Size)
+wxcAppDisplaySize 
+  = withWxSizeResult $
+    wx_ELJApp_DisplaySize 
+foreign import ccall "ELJApp_DisplaySize" wx_ELJApp_DisplaySize :: IO (Ptr (TWxSize ()))
+
+-- | usage: (@wxcAppEnableTooltips enable@).
+wxcAppEnableTooltips :: Bool ->  IO ()
+wxcAppEnableTooltips _enable 
+  = wx_ELJApp_EnableTooltips (toCBool _enable)  
+foreign import ccall "ELJApp_EnableTooltips" wx_ELJApp_EnableTooltips :: CBool -> IO ()
+
+-- | usage: (@wxcAppEnableTopLevelWindows enb@).
+wxcAppEnableTopLevelWindows :: Int ->  IO ()
+wxcAppEnableTopLevelWindows _enb 
+  = wx_ELJApp_EnableTopLevelWindows (toCInt _enb)  
+foreign import ccall "ELJApp_EnableTopLevelWindows" wx_ELJApp_EnableTopLevelWindows :: CInt -> IO ()
+
+-- | usage: (@wxcAppExecuteProcess cmd snc prc@).
+wxcAppExecuteProcess :: String -> Int -> Process  c ->  IO Int
+wxcAppExecuteProcess _cmd _snc _prc 
+  = withIntResult $
+    withStringPtr _cmd $ \cobj__cmd -> 
+    withObjectPtr _prc $ \cobj__prc -> 
+    wx_ELJApp_ExecuteProcess cobj__cmd  (toCInt _snc)  cobj__prc  
+foreign import ccall "ELJApp_ExecuteProcess" wx_ELJApp_ExecuteProcess :: Ptr (TWxString a) -> CInt -> Ptr (TProcess c) -> IO CInt
+
+-- | usage: (@wxcAppExit@).
+wxcAppExit ::  IO ()
+wxcAppExit 
+  = wx_ELJApp_Exit 
+foreign import ccall "ELJApp_Exit" wx_ELJApp_Exit :: IO ()
+
+-- | usage: (@wxcAppExitMainLoop@).
+wxcAppExitMainLoop ::  IO ()
+wxcAppExitMainLoop 
+  = wx_ELJApp_ExitMainLoop 
+foreign import ccall "ELJApp_ExitMainLoop" wx_ELJApp_ExitMainLoop :: IO ()
+
+-- | usage: (@wxcAppFindWindowById id prt@).
+wxcAppFindWindowById :: Id -> Window  b ->  IO (Ptr  ())
+wxcAppFindWindowById _id _prt 
+  = withObjectPtr _prt $ \cobj__prt -> 
+    wx_ELJApp_FindWindowById (toCInt _id)  cobj__prt  
+foreign import ccall "ELJApp_FindWindowById" wx_ELJApp_FindWindowById :: CInt -> Ptr (TWindow b) -> IO (Ptr  ())
+
+-- | usage: (@wxcAppFindWindowByLabel lbl prt@).
+wxcAppFindWindowByLabel :: String -> Window  b ->  IO (Window  ())
+wxcAppFindWindowByLabel _lbl _prt 
+  = withObjectResult $
+    withStringPtr _lbl $ \cobj__lbl -> 
+    withObjectPtr _prt $ \cobj__prt -> 
+    wx_ELJApp_FindWindowByLabel cobj__lbl  cobj__prt  
+foreign import ccall "ELJApp_FindWindowByLabel" wx_ELJApp_FindWindowByLabel :: Ptr (TWxString a) -> Ptr (TWindow b) -> IO (Ptr (TWindow ()))
+
+-- | usage: (@wxcAppFindWindowByName lbl prt@).
+wxcAppFindWindowByName :: String -> Window  b ->  IO (Window  ())
+wxcAppFindWindowByName _lbl _prt 
+  = withObjectResult $
+    withStringPtr _lbl $ \cobj__lbl -> 
+    withObjectPtr _prt $ \cobj__prt -> 
+    wx_ELJApp_FindWindowByName cobj__lbl  cobj__prt  
+foreign import ccall "ELJApp_FindWindowByName" wx_ELJApp_FindWindowByName :: Ptr (TWxString a) -> Ptr (TWindow b) -> IO (Ptr (TWindow ()))
+
+-- | usage: (@wxcAppGetApp@).
+wxcAppGetApp ::  IO (App  ())
+wxcAppGetApp 
+  = withObjectResult $
+    wx_ELJApp_GetApp 
+foreign import ccall "ELJApp_GetApp" wx_ELJApp_GetApp :: IO (Ptr (TApp ()))
+
+-- | usage: (@wxcAppGetAppName@).
+wxcAppGetAppName ::  IO (String)
+wxcAppGetAppName 
+  = withManagedStringResult $
+    wx_ELJApp_GetAppName 
+foreign import ccall "ELJApp_GetAppName" wx_ELJApp_GetAppName :: IO (Ptr (TWxString ()))
+
+-- | usage: (@wxcAppGetClassName@).
+wxcAppGetClassName ::  IO (String)
+wxcAppGetClassName 
+  = withManagedStringResult $
+    wx_ELJApp_GetClassName 
+foreign import ccall "ELJApp_GetClassName" wx_ELJApp_GetClassName :: IO (Ptr (TWxString ()))
+
+-- | usage: (@wxcAppGetExitOnFrameDelete@).
+wxcAppGetExitOnFrameDelete ::  IO Int
+wxcAppGetExitOnFrameDelete 
+  = withIntResult $
+    wx_ELJApp_GetExitOnFrameDelete 
+foreign import ccall "ELJApp_GetExitOnFrameDelete" wx_ELJApp_GetExitOnFrameDelete :: IO CInt
+
+-- | usage: (@wxcAppGetIdleInterval@).
+wxcAppGetIdleInterval ::  IO Int
+wxcAppGetIdleInterval 
+  = withIntResult $
+    wx_ELJApp_GetIdleInterval 
+foreign import ccall "ELJApp_GetIdleInterval" wx_ELJApp_GetIdleInterval :: IO CInt
+
+-- | usage: (@wxcAppGetOsDescription@).
+wxcAppGetOsDescription ::  IO (String)
+wxcAppGetOsDescription 
+  = withManagedStringResult $
+    wx_ELJApp_GetOsDescription 
+foreign import ccall "ELJApp_GetOsDescription" wx_ELJApp_GetOsDescription :: IO (Ptr (TWxString ()))
+
+-- | usage: (@wxcAppGetOsVersion maj min@).
+wxcAppGetOsVersion :: Ptr  a -> Ptr  b ->  IO Int
+wxcAppGetOsVersion _maj _min 
+  = withIntResult $
+    wx_ELJApp_GetOsVersion _maj  _min  
+foreign import ccall "ELJApp_GetOsVersion" wx_ELJApp_GetOsVersion :: Ptr  a -> Ptr  b -> IO CInt
+
+-- | usage: (@wxcAppGetTopWindow@).
+wxcAppGetTopWindow ::  IO (Window  ())
+wxcAppGetTopWindow 
+  = withObjectResult $
+    wx_ELJApp_GetTopWindow 
+foreign import ccall "ELJApp_GetTopWindow" wx_ELJApp_GetTopWindow :: IO (Ptr (TWindow ()))
+
+-- | usage: (@wxcAppGetUseBestVisual@).
+wxcAppGetUseBestVisual ::  IO Int
+wxcAppGetUseBestVisual 
+  = withIntResult $
+    wx_ELJApp_GetUseBestVisual 
+foreign import ccall "ELJApp_GetUseBestVisual" wx_ELJApp_GetUseBestVisual :: IO CInt
+
+-- | usage: (@wxcAppGetUserHome usr@).
+wxcAppGetUserHome :: Ptr  a ->  IO (String)
+wxcAppGetUserHome _usr 
+  = withManagedStringResult $
+    wx_ELJApp_GetUserHome _usr  
+foreign import ccall "ELJApp_GetUserHome" wx_ELJApp_GetUserHome :: Ptr  a -> IO (Ptr (TWxString ()))
+
+-- | usage: (@wxcAppGetUserId@).
+wxcAppGetUserId ::  IO (String)
+wxcAppGetUserId 
+  = withManagedStringResult $
+    wx_ELJApp_GetUserId 
+foreign import ccall "ELJApp_GetUserId" wx_ELJApp_GetUserId :: IO (Ptr (TWxString ()))
+
+-- | usage: (@wxcAppGetUserName@).
+wxcAppGetUserName ::  IO (String)
+wxcAppGetUserName 
+  = withManagedStringResult $
+    wx_ELJApp_GetUserName 
+foreign import ccall "ELJApp_GetUserName" wx_ELJApp_GetUserName :: IO (Ptr (TWxString ()))
+
+-- | usage: (@wxcAppGetVendorName@).
+wxcAppGetVendorName ::  IO (String)
+wxcAppGetVendorName 
+  = withManagedStringResult $
+    wx_ELJApp_GetVendorName 
+foreign import ccall "ELJApp_GetVendorName" wx_ELJApp_GetVendorName :: IO (Ptr (TWxString ()))
+
+-- | usage: (@wxcAppInitAllImageHandlers@).
+wxcAppInitAllImageHandlers ::  IO ()
+wxcAppInitAllImageHandlers 
+  = wx_ELJApp_InitAllImageHandlers 
+foreign import ccall "ELJApp_InitAllImageHandlers" wx_ELJApp_InitAllImageHandlers :: IO ()
+
+-- | usage: (@wxcAppInitializeC closure argc argv@).
+wxcAppInitializeC :: Closure  a -> Int -> Ptr (Ptr CWchar) ->  IO ()
+wxcAppInitializeC closure _argc _argv 
+  = withObjectPtr closure $ \cobj_closure -> 
+    wx_ELJApp_InitializeC cobj_closure  (toCInt _argc)  _argv  
+foreign import ccall "ELJApp_InitializeC" wx_ELJApp_InitializeC :: Ptr (TClosure a) -> CInt -> Ptr (Ptr CWchar) -> IO ()
+
+-- | usage: (@wxcAppInitialized@).
+wxcAppInitialized ::  IO Bool
+wxcAppInitialized 
+  = withBoolResult $
+    wx_ELJApp_Initialized 
+foreign import ccall "ELJApp_Initialized" wx_ELJApp_Initialized :: IO CBool
+
+-- | usage: (@wxcAppIsTerminating@).
+wxcAppIsTerminating ::  IO Bool
+wxcAppIsTerminating 
+  = withBoolResult $
+    wx_ELJApp_IsTerminating 
+foreign import ccall "ELJApp_IsTerminating" wx_ELJApp_IsTerminating :: IO CBool
+
+-- | usage: (@wxcAppMainLoop@).
+wxcAppMainLoop ::  IO Int
+wxcAppMainLoop 
+  = withIntResult $
+    wx_ELJApp_MainLoop 
+foreign import ccall "ELJApp_MainLoop" wx_ELJApp_MainLoop :: IO CInt
+
+-- | usage: (@wxcAppMilliSleep mscs@).
+wxcAppMilliSleep :: Int ->  IO ()
+wxcAppMilliSleep _mscs 
+  = wx_ELJApp_MilliSleep (toCInt _mscs)  
+foreign import ccall "ELJApp_MilliSleep" wx_ELJApp_MilliSleep :: CInt -> IO ()
+
+-- | usage: (@wxcAppMousePosition@).
+wxcAppMousePosition ::  IO (Point)
+wxcAppMousePosition 
+  = withWxPointResult $
+    wx_ELJApp_MousePosition 
+foreign import ccall "ELJApp_MousePosition" wx_ELJApp_MousePosition :: IO (Ptr (TWxPoint ()))
+
+-- | usage: (@wxcAppPending@).
+wxcAppPending ::  IO Int
+wxcAppPending 
+  = withIntResult $
+    wx_ELJApp_Pending 
+foreign import ccall "ELJApp_Pending" wx_ELJApp_Pending :: IO CInt
+
+-- | usage: (@wxcAppSafeYield win@).
+wxcAppSafeYield :: Window  a ->  IO Int
+wxcAppSafeYield _win 
+  = withIntResult $
+    withObjectPtr _win $ \cobj__win -> 
+    wx_ELJApp_SafeYield cobj__win  
+foreign import ccall "ELJApp_SafeYield" wx_ELJApp_SafeYield :: Ptr (TWindow a) -> IO CInt
+
+-- | usage: (@wxcAppSetAppName name@).
+wxcAppSetAppName :: String ->  IO ()
+wxcAppSetAppName name 
+  = withStringPtr name $ \cobj_name -> 
+    wx_ELJApp_SetAppName cobj_name  
+foreign import ccall "ELJApp_SetAppName" wx_ELJApp_SetAppName :: Ptr (TWxString a) -> IO ()
+
+-- | usage: (@wxcAppSetClassName name@).
+wxcAppSetClassName :: String ->  IO ()
+wxcAppSetClassName name 
+  = withStringPtr name $ \cobj_name -> 
+    wx_ELJApp_SetClassName cobj_name  
+foreign import ccall "ELJApp_SetClassName" wx_ELJApp_SetClassName :: Ptr (TWxString a) -> IO ()
+
+-- | usage: (@wxcAppSetExitOnFrameDelete flag@).
+wxcAppSetExitOnFrameDelete :: Int ->  IO ()
+wxcAppSetExitOnFrameDelete flag 
+  = wx_ELJApp_SetExitOnFrameDelete (toCInt flag)  
+foreign import ccall "ELJApp_SetExitOnFrameDelete" wx_ELJApp_SetExitOnFrameDelete :: CInt -> IO ()
+
+-- | usage: (@wxcAppSetIdleInterval interval@).
+wxcAppSetIdleInterval :: Int ->  IO ()
+wxcAppSetIdleInterval interval 
+  = wx_ELJApp_SetIdleInterval (toCInt interval)  
+foreign import ccall "ELJApp_SetIdleInterval" wx_ELJApp_SetIdleInterval :: CInt -> IO ()
+
+-- | usage: (@wxcAppSetPrintMode mode@).
+wxcAppSetPrintMode :: Int ->  IO ()
+wxcAppSetPrintMode mode 
+  = wx_ELJApp_SetPrintMode (toCInt mode)  
+foreign import ccall "ELJApp_SetPrintMode" wx_ELJApp_SetPrintMode :: CInt -> IO ()
+
+-- | usage: (@wxcAppSetTooltipDelay ms@).
+wxcAppSetTooltipDelay :: Int ->  IO ()
+wxcAppSetTooltipDelay _ms 
+  = wx_ELJApp_SetTooltipDelay (toCInt _ms)  
+foreign import ccall "ELJApp_SetTooltipDelay" wx_ELJApp_SetTooltipDelay :: CInt -> IO ()
+
+-- | usage: (@wxcAppSetTopWindow wnd@).
+wxcAppSetTopWindow :: Window  a ->  IO ()
+wxcAppSetTopWindow _wnd 
+  = withObjectPtr _wnd $ \cobj__wnd -> 
+    wx_ELJApp_SetTopWindow cobj__wnd  
+foreign import ccall "ELJApp_SetTopWindow" wx_ELJApp_SetTopWindow :: Ptr (TWindow a) -> IO ()
+
+-- | usage: (@wxcAppSetUseBestVisual flag@).
+wxcAppSetUseBestVisual :: Int ->  IO ()
+wxcAppSetUseBestVisual flag 
+  = wx_ELJApp_SetUseBestVisual (toCInt flag)  
+foreign import ccall "ELJApp_SetUseBestVisual" wx_ELJApp_SetUseBestVisual :: CInt -> IO ()
+
+-- | usage: (@wxcAppSetVendorName name@).
+wxcAppSetVendorName :: String ->  IO ()
+wxcAppSetVendorName name 
+  = withStringPtr name $ \cobj_name -> 
+    wx_ELJApp_SetVendorName cobj_name  
+foreign import ccall "ELJApp_SetVendorName" wx_ELJApp_SetVendorName :: Ptr (TWxString a) -> IO ()
+
+-- | usage: (@wxcAppSleep scs@).
+wxcAppSleep :: Int ->  IO ()
+wxcAppSleep _scs 
+  = wx_ELJApp_Sleep (toCInt _scs)  
+foreign import ccall "ELJApp_Sleep" wx_ELJApp_Sleep :: CInt -> IO ()
+
+-- | usage: (@wxcAppYield@).
+wxcAppYield ::  IO Int
+wxcAppYield 
+  = withIntResult $
+    wx_ELJApp_Yield 
+foreign import ccall "ELJApp_Yield" wx_ELJApp_Yield :: IO CInt
+
+-- | usage: (@wxcArtProvCreate obj clb@).
+wxcArtProvCreate :: Ptr  a -> Ptr  b ->  IO (WXCArtProv  ())
+wxcArtProvCreate _obj _clb 
+  = withObjectResult $
+    wx_ELJArtProv_Create _obj  _clb  
+foreign import ccall "ELJArtProv_Create" wx_ELJArtProv_Create :: Ptr  a -> Ptr  b -> IO (Ptr (TWXCArtProv ()))
+
+-- | usage: (@wxcArtProvRelease obj@).
+wxcArtProvRelease :: WXCArtProv  a ->  IO ()
+wxcArtProvRelease _obj 
+  = withObjectRef "wxcArtProvRelease" _obj $ \cobj__obj -> 
+    wx_ELJArtProv_Release cobj__obj  
+foreign import ccall "ELJArtProv_Release" wx_ELJArtProv_Release :: Ptr (TWXCArtProv a) -> IO ()
+
+-- | usage: (@wxcBeginBusyCursor@).
+wxcBeginBusyCursor ::  IO ()
+wxcBeginBusyCursor 
+  = wx_wxcBeginBusyCursor 
+foreign import ccall "wxcBeginBusyCursor" wx_wxcBeginBusyCursor :: IO ()
+
+-- | usage: (@wxcBell@).
+wxcBell ::  IO ()
+wxcBell 
+  = wx_wxcBell 
+foreign import ccall "wxcBell" wx_wxcBell :: IO ()
+
+-- | usage: (@wxcDragDataObjectCreate obj fmt func1 func2 func3@).
+wxcDragDataObjectCreate :: Ptr  a -> String -> Ptr  c -> Ptr  d -> Ptr  e ->  IO (WXCDragDataObject  ())
+wxcDragDataObjectCreate _obj _fmt _func1 _func2 _func3 
+  = withObjectResult $
+    withStringPtr _fmt $ \cobj__fmt -> 
+    wx_ELJDragDataObject_Create _obj  cobj__fmt  _func1  _func2  _func3  
+foreign import ccall "ELJDragDataObject_Create" wx_ELJDragDataObject_Create :: Ptr  a -> Ptr (TWxString b) -> Ptr  c -> Ptr  d -> Ptr  e -> IO (Ptr (TWXCDragDataObject ()))
+
+-- | usage: (@wxcDragDataObjectDelete obj@).
+wxcDragDataObjectDelete :: WXCDragDataObject  a ->  IO ()
+wxcDragDataObjectDelete _obj 
+  = withObjectRef "wxcDragDataObjectDelete" _obj $ \cobj__obj -> 
+    wx_ELJDragDataObject_Delete cobj__obj  
+foreign import ccall "ELJDragDataObject_Delete" wx_ELJDragDataObject_Delete :: Ptr (TWXCDragDataObject a) -> IO ()
+
+-- | usage: (@wxcDropTargetCreate obj@).
+wxcDropTargetCreate :: Ptr  a ->  IO (WXCDropTarget  ())
+wxcDropTargetCreate _obj 
+  = withObjectResult $
+    wx_ELJDropTarget_Create _obj  
+foreign import ccall "ELJDropTarget_Create" wx_ELJDropTarget_Create :: Ptr  a -> IO (Ptr (TWXCDropTarget ()))
+
+-- | usage: (@wxcDropTargetDelete obj@).
+wxcDropTargetDelete :: WXCDropTarget  a ->  IO ()
+wxcDropTargetDelete _obj 
+  = withObjectRef "wxcDropTargetDelete" _obj $ \cobj__obj -> 
+    wx_ELJDropTarget_Delete cobj__obj  
+foreign import ccall "ELJDropTarget_Delete" wx_ELJDropTarget_Delete :: Ptr (TWXCDropTarget a) -> IO ()
+
+-- | usage: (@wxcDropTargetSetOnData obj func@).
+wxcDropTargetSetOnData :: WXCDropTarget  a -> Ptr  b ->  IO ()
+wxcDropTargetSetOnData _obj _func 
+  = withObjectRef "wxcDropTargetSetOnData" _obj $ \cobj__obj -> 
+    wx_ELJDropTarget_SetOnData cobj__obj  _func  
+foreign import ccall "ELJDropTarget_SetOnData" wx_ELJDropTarget_SetOnData :: Ptr (TWXCDropTarget a) -> Ptr  b -> IO ()
+
+-- | usage: (@wxcDropTargetSetOnDragOver obj func@).
+wxcDropTargetSetOnDragOver :: WXCDropTarget  a -> Ptr  b ->  IO ()
+wxcDropTargetSetOnDragOver _obj _func 
+  = withObjectRef "wxcDropTargetSetOnDragOver" _obj $ \cobj__obj -> 
+    wx_ELJDropTarget_SetOnDragOver cobj__obj  _func  
+foreign import ccall "ELJDropTarget_SetOnDragOver" wx_ELJDropTarget_SetOnDragOver :: Ptr (TWXCDropTarget a) -> Ptr  b -> IO ()
+
+-- | usage: (@wxcDropTargetSetOnDrop obj func@).
+wxcDropTargetSetOnDrop :: WXCDropTarget  a -> Ptr  b ->  IO ()
+wxcDropTargetSetOnDrop _obj _func 
+  = withObjectRef "wxcDropTargetSetOnDrop" _obj $ \cobj__obj -> 
+    wx_ELJDropTarget_SetOnDrop cobj__obj  _func  
+foreign import ccall "ELJDropTarget_SetOnDrop" wx_ELJDropTarget_SetOnDrop :: Ptr (TWXCDropTarget a) -> Ptr  b -> IO ()
+
+-- | usage: (@wxcDropTargetSetOnEnter obj func@).
+wxcDropTargetSetOnEnter :: WXCDropTarget  a -> Ptr  b ->  IO ()
+wxcDropTargetSetOnEnter _obj _func 
+  = withObjectRef "wxcDropTargetSetOnEnter" _obj $ \cobj__obj -> 
+    wx_ELJDropTarget_SetOnEnter cobj__obj  _func  
+foreign import ccall "ELJDropTarget_SetOnEnter" wx_ELJDropTarget_SetOnEnter :: Ptr (TWXCDropTarget a) -> Ptr  b -> IO ()
+
+-- | usage: (@wxcDropTargetSetOnLeave obj func@).
+wxcDropTargetSetOnLeave :: WXCDropTarget  a -> Ptr  b ->  IO ()
+wxcDropTargetSetOnLeave _obj _func 
+  = withObjectRef "wxcDropTargetSetOnLeave" _obj $ \cobj__obj -> 
+    wx_ELJDropTarget_SetOnLeave cobj__obj  _func  
+foreign import ccall "ELJDropTarget_SetOnLeave" wx_ELJDropTarget_SetOnLeave :: Ptr (TWXCDropTarget a) -> Ptr  b -> IO ()
+
+-- | usage: (@wxcEndBusyCursor@).
+wxcEndBusyCursor ::  IO ()
+wxcEndBusyCursor 
+  = wx_wxcEndBusyCursor 
+foreign import ccall "wxcEndBusyCursor" wx_wxcEndBusyCursor :: IO ()
+
+-- | usage: (@wxcFileDropTargetCreate obj func@).
+wxcFileDropTargetCreate :: Ptr  a -> Ptr  b ->  IO (WXCFileDropTarget  ())
+wxcFileDropTargetCreate _obj _func 
+  = withObjectResult $
+    wx_ELJFileDropTarget_Create _obj  _func  
+foreign import ccall "ELJFileDropTarget_Create" wx_ELJFileDropTarget_Create :: Ptr  a -> Ptr  b -> IO (Ptr (TWXCFileDropTarget ()))
+
+-- | usage: (@wxcFileDropTargetDelete obj@).
+wxcFileDropTargetDelete :: WXCFileDropTarget  a ->  IO ()
+wxcFileDropTargetDelete _obj 
+  = withObjectRef "wxcFileDropTargetDelete" _obj $ \cobj__obj -> 
+    wx_ELJFileDropTarget_Delete cobj__obj  
+foreign import ccall "ELJFileDropTarget_Delete" wx_ELJFileDropTarget_Delete :: Ptr (TWXCFileDropTarget a) -> IO ()
+
+-- | usage: (@wxcFileDropTargetSetOnData obj func@).
+wxcFileDropTargetSetOnData :: WXCFileDropTarget  a -> Ptr  b ->  IO ()
+wxcFileDropTargetSetOnData _obj _func 
+  = withObjectRef "wxcFileDropTargetSetOnData" _obj $ \cobj__obj -> 
+    wx_ELJFileDropTarget_SetOnData cobj__obj  _func  
+foreign import ccall "ELJFileDropTarget_SetOnData" wx_ELJFileDropTarget_SetOnData :: Ptr (TWXCFileDropTarget a) -> Ptr  b -> IO ()
+
+-- | usage: (@wxcFileDropTargetSetOnDragOver obj func@).
+wxcFileDropTargetSetOnDragOver :: WXCFileDropTarget  a -> Ptr  b ->  IO ()
+wxcFileDropTargetSetOnDragOver _obj _func 
+  = withObjectRef "wxcFileDropTargetSetOnDragOver" _obj $ \cobj__obj -> 
+    wx_ELJFileDropTarget_SetOnDragOver cobj__obj  _func  
+foreign import ccall "ELJFileDropTarget_SetOnDragOver" wx_ELJFileDropTarget_SetOnDragOver :: Ptr (TWXCFileDropTarget a) -> Ptr  b -> IO ()
+
+-- | usage: (@wxcFileDropTargetSetOnDrop obj func@).
+wxcFileDropTargetSetOnDrop :: WXCFileDropTarget  a -> Ptr  b ->  IO ()
+wxcFileDropTargetSetOnDrop _obj _func 
+  = withObjectRef "wxcFileDropTargetSetOnDrop" _obj $ \cobj__obj -> 
+    wx_ELJFileDropTarget_SetOnDrop cobj__obj  _func  
+foreign import ccall "ELJFileDropTarget_SetOnDrop" wx_ELJFileDropTarget_SetOnDrop :: Ptr (TWXCFileDropTarget a) -> Ptr  b -> IO ()
+
+-- | usage: (@wxcFileDropTargetSetOnEnter obj func@).
+wxcFileDropTargetSetOnEnter :: WXCFileDropTarget  a -> Ptr  b ->  IO ()
+wxcFileDropTargetSetOnEnter _obj _func 
+  = withObjectRef "wxcFileDropTargetSetOnEnter" _obj $ \cobj__obj -> 
+    wx_ELJFileDropTarget_SetOnEnter cobj__obj  _func  
+foreign import ccall "ELJFileDropTarget_SetOnEnter" wx_ELJFileDropTarget_SetOnEnter :: Ptr (TWXCFileDropTarget a) -> Ptr  b -> IO ()
+
+-- | usage: (@wxcFileDropTargetSetOnLeave obj func@).
+wxcFileDropTargetSetOnLeave :: WXCFileDropTarget  a -> Ptr  b ->  IO ()
+wxcFileDropTargetSetOnLeave _obj _func 
+  = withObjectRef "wxcFileDropTargetSetOnLeave" _obj $ \cobj__obj -> 
+    wx_ELJFileDropTarget_SetOnLeave cobj__obj  _func  
+foreign import ccall "ELJFileDropTarget_SetOnLeave" wx_ELJFileDropTarget_SetOnLeave :: Ptr (TWXCFileDropTarget a) -> Ptr  b -> IO ()
+
+-- | usage: (@wxcFree p@).
+wxcFree :: Ptr  a ->  IO ()
+wxcFree p 
+  = wx_wxcFree p  
+foreign import ccall "wxcFree" wx_wxcFree :: Ptr  a -> IO ()
+
+-- | usage: (@wxcGetMousePosition@).
+wxcGetMousePosition ::  IO (Point)
+wxcGetMousePosition 
+  = withWxPointResult $
+    wx_wxcGetMousePosition 
+foreign import ccall "wxcGetMousePosition" wx_wxcGetMousePosition :: IO (Ptr (TWxPoint ()))
+
+-- | usage: (@wxcGetPixelRGB buffer width xy@).
+wxcGetPixelRGB :: Ptr Word8 -> Int -> Point ->  IO Int
+wxcGetPixelRGB buffer width xy 
+  = withIntResult $
+    wx_wxcGetPixelRGB buffer  (toCInt width)  (toCIntPointX xy) (toCIntPointY xy)  
+foreign import ccall "wxcGetPixelRGB" wx_wxcGetPixelRGB :: Ptr Word8 -> CInt -> CInt -> CInt -> IO CInt
+
+-- | usage: (@wxcGetPixelRGBA buffer width xy@).
+wxcGetPixelRGBA :: Ptr Word8 -> Int -> Point ->  IO Word
+wxcGetPixelRGBA buffer width xy 
+  = wx_wxcGetPixelRGBA buffer  (toCInt width)  (toCIntPointX xy) (toCIntPointY xy)  
+foreign import ccall "wxcGetPixelRGBA" wx_wxcGetPixelRGBA :: Ptr Word8 -> CInt -> CInt -> CInt -> IO Word
+
+-- | usage: (@wxcGridTableCreate obj eifGetNumberRows eifGetNumberCols eifGetValue eifSetValue eifIsEmptyCell eifClear eifInsertRows eifAppendRows eifDeleteRows eifInsertCols eifAppendCols eifDeleteCols eifSetRowLabelValue eifSetColLabelValue eifGetRowLabelValue eifGetColLabelValue@).
+wxcGridTableCreate :: Ptr  a -> Ptr  b -> Ptr  c -> Ptr  d -> Ptr  e -> Ptr  f -> Ptr  g -> Ptr  h -> Ptr  i -> Ptr  j -> Ptr  k -> Ptr  l -> Ptr  m -> Ptr  n -> Ptr  o -> Ptr  p -> Ptr  q ->  IO (WXCGridTable  ())
+wxcGridTableCreate _obj _EifGetNumberRows _EifGetNumberCols _EifGetValue _EifSetValue _EifIsEmptyCell _EifClear _EifInsertRows _EifAppendRows _EifDeleteRows _EifInsertCols _EifAppendCols _EifDeleteCols _EifSetRowLabelValue _EifSetColLabelValue _EifGetRowLabelValue _EifGetColLabelValue 
+  = withObjectResult $
+    wx_ELJGridTable_Create _obj  _EifGetNumberRows  _EifGetNumberCols  _EifGetValue  _EifSetValue  _EifIsEmptyCell  _EifClear  _EifInsertRows  _EifAppendRows  _EifDeleteRows  _EifInsertCols  _EifAppendCols  _EifDeleteCols  _EifSetRowLabelValue  _EifSetColLabelValue  _EifGetRowLabelValue  _EifGetColLabelValue  
+foreign import ccall "ELJGridTable_Create" wx_ELJGridTable_Create :: Ptr  a -> Ptr  b -> Ptr  c -> Ptr  d -> Ptr  e -> Ptr  f -> Ptr  g -> Ptr  h -> Ptr  i -> Ptr  j -> Ptr  k -> Ptr  l -> Ptr  m -> Ptr  n -> Ptr  o -> Ptr  p -> Ptr  q -> IO (Ptr (TWXCGridTable ()))
+
+-- | usage: (@wxcGridTableDelete obj@).
+wxcGridTableDelete :: WXCGridTable  a ->  IO ()
+wxcGridTableDelete
+  = objectDelete
+
+
+-- | usage: (@wxcGridTableGetView obj@).
+wxcGridTableGetView :: WXCGridTable  a ->  IO (View  ())
+wxcGridTableGetView _obj 
+  = withObjectResult $
+    withObjectRef "wxcGridTableGetView" _obj $ \cobj__obj -> 
+    wx_ELJGridTable_GetView cobj__obj  
+foreign import ccall "ELJGridTable_GetView" wx_ELJGridTable_GetView :: Ptr (TWXCGridTable a) -> IO (Ptr (TView ()))
+
+-- | usage: (@wxcGridTableSendTableMessage obj id val1 val2@).
+wxcGridTableSendTableMessage :: WXCGridTable  a -> Id -> Int -> Int ->  IO (Ptr  ())
+wxcGridTableSendTableMessage _obj id val1 val2 
+  = withObjectRef "wxcGridTableSendTableMessage" _obj $ \cobj__obj -> 
+    wx_ELJGridTable_SendTableMessage cobj__obj  (toCInt id)  (toCInt val1)  (toCInt val2)  
+foreign import ccall "ELJGridTable_SendTableMessage" wx_ELJGridTable_SendTableMessage :: Ptr (TWXCGridTable a) -> CInt -> CInt -> CInt -> IO (Ptr  ())
+
+{- |  Return the /href/ attribute of the associated html anchor (if applicable)  -}
+wxcHtmlEventGetHref :: WXCHtmlEvent  a ->  IO (String)
+wxcHtmlEventGetHref self 
+  = withManagedStringResult $
+    withObjectRef "wxcHtmlEventGetHref" self $ \cobj_self -> 
+    wxcHtmlEvent_GetHref cobj_self  
+foreign import ccall "wxcHtmlEvent_GetHref" wxcHtmlEvent_GetHref :: Ptr (TWXCHtmlEvent a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@wxcHtmlEventGetHtmlCell self@).
+wxcHtmlEventGetHtmlCell :: WXCHtmlEvent  a ->  IO (HtmlCell  ())
+wxcHtmlEventGetHtmlCell self 
+  = withObjectResult $
+    withObjectRef "wxcHtmlEventGetHtmlCell" self $ \cobj_self -> 
+    wxcHtmlEvent_GetHtmlCell cobj_self  
+foreign import ccall "wxcHtmlEvent_GetHtmlCell" wxcHtmlEvent_GetHtmlCell :: Ptr (TWXCHtmlEvent a) -> IO (Ptr (THtmlCell ()))
+
+-- | usage: (@wxcHtmlEventGetHtmlCellId self@).
+wxcHtmlEventGetHtmlCellId :: WXCHtmlEvent  a ->  IO (String)
+wxcHtmlEventGetHtmlCellId self 
+  = withManagedStringResult $
+    withObjectRef "wxcHtmlEventGetHtmlCellId" self $ \cobj_self -> 
+    wxcHtmlEvent_GetHtmlCellId cobj_self  
+foreign import ccall "wxcHtmlEvent_GetHtmlCellId" wxcHtmlEvent_GetHtmlCellId :: Ptr (TWXCHtmlEvent a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@wxcHtmlEventGetLogicalPosition self@).
+wxcHtmlEventGetLogicalPosition :: WXCHtmlEvent  a ->  IO (Point)
+wxcHtmlEventGetLogicalPosition self 
+  = withWxPointResult $
+    withObjectRef "wxcHtmlEventGetLogicalPosition" self $ \cobj_self -> 
+    wxcHtmlEvent_GetLogicalPosition cobj_self  
+foreign import ccall "wxcHtmlEvent_GetLogicalPosition" wxcHtmlEvent_GetLogicalPosition :: Ptr (TWXCHtmlEvent a) -> IO (Ptr (TWxPoint ()))
+
+-- | usage: (@wxcHtmlEventGetMouseEvent self@).
+wxcHtmlEventGetMouseEvent :: WXCHtmlEvent  a ->  IO (MouseEvent  ())
+wxcHtmlEventGetMouseEvent self 
+  = withObjectResult $
+    withObjectRef "wxcHtmlEventGetMouseEvent" self $ \cobj_self -> 
+    wxcHtmlEvent_GetMouseEvent cobj_self  
+foreign import ccall "wxcHtmlEvent_GetMouseEvent" wxcHtmlEvent_GetMouseEvent :: Ptr (TWXCHtmlEvent a) -> IO (Ptr (TMouseEvent ()))
+
+-- | usage: (@wxcHtmlEventGetTarget self@).
+wxcHtmlEventGetTarget :: WXCHtmlEvent  a ->  IO (String)
+wxcHtmlEventGetTarget self 
+  = withManagedStringResult $
+    withObjectRef "wxcHtmlEventGetTarget" self $ \cobj_self -> 
+    wxcHtmlEvent_GetTarget cobj_self  
+foreign import ccall "wxcHtmlEvent_GetTarget" wxcHtmlEvent_GetTarget :: Ptr (TWXCHtmlEvent a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@wxcHtmlWindowCreate prt id lfttopwdthgt stl txt@).
+wxcHtmlWindowCreate :: Window  a -> Id -> Rect -> Style -> String ->  IO (WXCHtmlWindow  ())
+wxcHtmlWindowCreate _prt _id _lfttopwdthgt _stl _txt 
+  = withObjectResult $
+    withObjectPtr _prt $ \cobj__prt -> 
+    withStringPtr _txt $ \cobj__txt -> 
+    wxcHtmlWindow_Create cobj__prt  (toCInt _id)  (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt)  (toCInt _stl)  cobj__txt  
+foreign import ccall "wxcHtmlWindow_Create" wxcHtmlWindow_Create :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> Ptr (TWxString e) -> IO (Ptr (TWXCHtmlWindow ()))
+
+-- | usage: (@wxcInitPixelsRGB buffer widthheight rgba@).
+wxcInitPixelsRGB :: Ptr Word8 -> Size -> Int ->  IO ()
+wxcInitPixelsRGB buffer widthheight rgba 
+  = wx_wxcInitPixelsRGB buffer  (toCIntSizeW widthheight) (toCIntSizeH widthheight)  (toCInt rgba)  
+foreign import ccall "wxcInitPixelsRGB" wx_wxcInitPixelsRGB :: Ptr Word8 -> CInt -> CInt -> CInt -> IO ()
+
+-- | usage: (@wxcInitPixelsRGBA buffer widthheight rgba@).
+wxcInitPixelsRGBA :: Ptr Word8 -> Size -> Word ->  IO ()
+wxcInitPixelsRGBA buffer widthheight rgba 
+  = wx_wxcInitPixelsRGBA buffer  (toCIntSizeW widthheight) (toCIntSizeH widthheight)  rgba  
+foreign import ccall "wxcInitPixelsRGBA" wx_wxcInitPixelsRGBA :: Ptr Word8 -> CInt -> CInt -> Word -> IO ()
+
+-- | usage: (@wxcIsBusy@).
+wxcIsBusy ::  IO ()
+wxcIsBusy 
+  = wx_wxcIsBusy 
+foreign import ccall "wxcIsBusy" wx_wxcIsBusy :: IO ()
+
+-- | usage: (@wxcLogAddTraceMask obj str@).
+wxcLogAddTraceMask :: WXCLog  a -> String ->  IO ()
+wxcLogAddTraceMask _obj str 
+  = withObjectRef "wxcLogAddTraceMask" _obj $ \cobj__obj -> 
+    withCWString str $ \cstr_str -> 
+    wx_ELJLog_AddTraceMask cobj__obj  cstr_str  
+foreign import ccall "ELJLog_AddTraceMask" wx_ELJLog_AddTraceMask :: Ptr (TWXCLog a) -> CWString -> IO ()
+
+-- | usage: (@wxcLogCreate obj fnc@).
+wxcLogCreate :: Ptr  a -> Ptr  b ->  IO (WXCLog  ())
+wxcLogCreate _obj _fnc 
+  = withObjectResult $
+    wx_ELJLog_Create _obj  _fnc  
+foreign import ccall "ELJLog_Create" wx_ELJLog_Create :: Ptr  a -> Ptr  b -> IO (Ptr (TWXCLog ()))
+
+-- | usage: (@wxcLogDelete obj@).
+wxcLogDelete :: WXCLog  a ->  IO ()
+wxcLogDelete _obj 
+  = withObjectRef "wxcLogDelete" _obj $ \cobj__obj -> 
+    wx_ELJLog_Delete cobj__obj  
+foreign import ccall "ELJLog_Delete" wx_ELJLog_Delete :: Ptr (TWXCLog a) -> IO ()
+
+-- | usage: (@wxcLogDontCreateOnDemand obj@).
+wxcLogDontCreateOnDemand :: WXCLog  a ->  IO ()
+wxcLogDontCreateOnDemand _obj 
+  = withObjectRef "wxcLogDontCreateOnDemand" _obj $ \cobj__obj -> 
+    wx_ELJLog_DontCreateOnDemand cobj__obj  
+foreign import ccall "ELJLog_DontCreateOnDemand" wx_ELJLog_DontCreateOnDemand :: Ptr (TWXCLog a) -> IO ()
+
+-- | usage: (@wxcLogEnableLogging obj doIt@).
+wxcLogEnableLogging :: WXCLog  a -> Bool ->  IO Int
+wxcLogEnableLogging _obj doIt 
+  = withIntResult $
+    withObjectRef "wxcLogEnableLogging" _obj $ \cobj__obj -> 
+    wx_ELJLog_EnableLogging cobj__obj  (toCBool doIt)  
+foreign import ccall "ELJLog_EnableLogging" wx_ELJLog_EnableLogging :: Ptr (TWXCLog a) -> CBool -> IO CInt
+
+-- | usage: (@wxcLogFlush obj@).
+wxcLogFlush :: WXCLog  a ->  IO ()
+wxcLogFlush _obj 
+  = withObjectRef "wxcLogFlush" _obj $ \cobj__obj -> 
+    wx_ELJLog_Flush cobj__obj  
+foreign import ccall "ELJLog_Flush" wx_ELJLog_Flush :: Ptr (TWXCLog a) -> IO ()
+
+-- | usage: (@wxcLogFlushActive obj@).
+wxcLogFlushActive :: WXCLog  a ->  IO ()
+wxcLogFlushActive _obj 
+  = withObjectRef "wxcLogFlushActive" _obj $ \cobj__obj -> 
+    wx_ELJLog_FlushActive cobj__obj  
+foreign import ccall "ELJLog_FlushActive" wx_ELJLog_FlushActive :: Ptr (TWXCLog a) -> IO ()
+
+-- | usage: (@wxcLogGetActiveTarget@).
+wxcLogGetActiveTarget ::  IO (Ptr  ())
+wxcLogGetActiveTarget 
+  = wx_ELJLog_GetActiveTarget 
+foreign import ccall "ELJLog_GetActiveTarget" wx_ELJLog_GetActiveTarget :: IO (Ptr  ())
+
+-- | usage: (@wxcLogGetTimestamp obj@).
+wxcLogGetTimestamp :: WXCLog  a ->  IO (Ptr  ())
+wxcLogGetTimestamp _obj 
+  = withObjectRef "wxcLogGetTimestamp" _obj $ \cobj__obj -> 
+    wx_ELJLog_GetTimestamp cobj__obj  
+foreign import ccall "ELJLog_GetTimestamp" wx_ELJLog_GetTimestamp :: Ptr (TWXCLog a) -> IO (Ptr  ())
+
+-- | usage: (@wxcLogGetTraceMask obj@).
+wxcLogGetTraceMask :: WXCLog  a ->  IO Int
+wxcLogGetTraceMask _obj 
+  = withIntResult $
+    withObjectRef "wxcLogGetTraceMask" _obj $ \cobj__obj -> 
+    wx_ELJLog_GetTraceMask cobj__obj  
+foreign import ccall "ELJLog_GetTraceMask" wx_ELJLog_GetTraceMask :: Ptr (TWXCLog a) -> IO CInt
+
+-- | usage: (@wxcLogGetVerbose obj@).
+wxcLogGetVerbose :: WXCLog  a ->  IO Int
+wxcLogGetVerbose _obj 
+  = withIntResult $
+    withObjectRef "wxcLogGetVerbose" _obj $ \cobj__obj -> 
+    wx_ELJLog_GetVerbose cobj__obj  
+foreign import ccall "ELJLog_GetVerbose" wx_ELJLog_GetVerbose :: Ptr (TWXCLog a) -> IO CInt
+
+-- | usage: (@wxcLogHasPendingMessages obj@).
+wxcLogHasPendingMessages :: WXCLog  a ->  IO Bool
+wxcLogHasPendingMessages _obj 
+  = withBoolResult $
+    withObjectRef "wxcLogHasPendingMessages" _obj $ \cobj__obj -> 
+    wx_ELJLog_HasPendingMessages cobj__obj  
+foreign import ccall "ELJLog_HasPendingMessages" wx_ELJLog_HasPendingMessages :: Ptr (TWXCLog a) -> IO CBool
+
+-- | usage: (@wxcLogIsAllowedTraceMask obj mask@).
+wxcLogIsAllowedTraceMask :: WXCLog  a -> Mask  b ->  IO Bool
+wxcLogIsAllowedTraceMask _obj mask 
+  = withBoolResult $
+    withObjectRef "wxcLogIsAllowedTraceMask" _obj $ \cobj__obj -> 
+    withObjectPtr mask $ \cobj_mask -> 
+    wx_ELJLog_IsAllowedTraceMask cobj__obj  cobj_mask  
+foreign import ccall "ELJLog_IsAllowedTraceMask" wx_ELJLog_IsAllowedTraceMask :: Ptr (TWXCLog a) -> Ptr (TMask b) -> IO CBool
+
+-- | usage: (@wxcLogIsEnabled obj@).
+wxcLogIsEnabled :: WXCLog  a ->  IO Bool
+wxcLogIsEnabled _obj 
+  = withBoolResult $
+    withObjectRef "wxcLogIsEnabled" _obj $ \cobj__obj -> 
+    wx_ELJLog_IsEnabled cobj__obj  
+foreign import ccall "ELJLog_IsEnabled" wx_ELJLog_IsEnabled :: Ptr (TWXCLog a) -> IO CBool
+
+-- | usage: (@wxcLogOnLog obj level szString t@).
+wxcLogOnLog :: WXCLog  a -> Int -> Ptr  c -> Int ->  IO ()
+wxcLogOnLog _obj level szString t 
+  = withObjectRef "wxcLogOnLog" _obj $ \cobj__obj -> 
+    wx_ELJLog_OnLog cobj__obj  (toCInt level)  szString  (toCInt t)  
+foreign import ccall "ELJLog_OnLog" wx_ELJLog_OnLog :: Ptr (TWXCLog a) -> CInt -> Ptr  c -> CInt -> IO ()
+
+-- | usage: (@wxcLogRemoveTraceMask obj str@).
+wxcLogRemoveTraceMask :: WXCLog  a -> String ->  IO ()
+wxcLogRemoveTraceMask _obj str 
+  = withObjectRef "wxcLogRemoveTraceMask" _obj $ \cobj__obj -> 
+    withCWString str $ \cstr_str -> 
+    wx_ELJLog_RemoveTraceMask cobj__obj  cstr_str  
+foreign import ccall "ELJLog_RemoveTraceMask" wx_ELJLog_RemoveTraceMask :: Ptr (TWXCLog a) -> CWString -> IO ()
+
+-- | usage: (@wxcLogResume obj@).
+wxcLogResume :: WXCLog  a ->  IO ()
+wxcLogResume _obj 
+  = withObjectRef "wxcLogResume" _obj $ \cobj__obj -> 
+    wx_ELJLog_Resume cobj__obj  
+foreign import ccall "ELJLog_Resume" wx_ELJLog_Resume :: Ptr (TWXCLog a) -> IO ()
+
+-- | usage: (@wxcLogSetActiveTarget pLogger@).
+wxcLogSetActiveTarget :: WXCLog  a ->  IO (Ptr  ())
+wxcLogSetActiveTarget pLogger 
+  = withObjectRef "wxcLogSetActiveTarget" pLogger $ \cobj_pLogger -> 
+    wx_ELJLog_SetActiveTarget cobj_pLogger  
+foreign import ccall "ELJLog_SetActiveTarget" wx_ELJLog_SetActiveTarget :: Ptr (TWXCLog a) -> IO (Ptr  ())
+
+-- | usage: (@wxcLogSetTimestamp obj ts@).
+wxcLogSetTimestamp :: WXCLog  a -> Ptr  b ->  IO ()
+wxcLogSetTimestamp _obj ts 
+  = withObjectRef "wxcLogSetTimestamp" _obj $ \cobj__obj -> 
+    wx_ELJLog_SetTimestamp cobj__obj  ts  
+foreign import ccall "ELJLog_SetTimestamp" wx_ELJLog_SetTimestamp :: Ptr (TWXCLog a) -> Ptr  b -> IO ()
+
+-- | usage: (@wxcLogSetVerbose obj bVerbose@).
+wxcLogSetVerbose :: WXCLog  a -> Int ->  IO ()
+wxcLogSetVerbose _obj bVerbose 
+  = withObjectRef "wxcLogSetVerbose" _obj $ \cobj__obj -> 
+    wx_ELJLog_SetVerbose cobj__obj  (toCInt bVerbose)  
+foreign import ccall "ELJLog_SetVerbose" wx_ELJLog_SetVerbose :: Ptr (TWXCLog a) -> CInt -> IO ()
+
+-- | usage: (@wxcLogSuspend obj@).
+wxcLogSuspend :: WXCLog  a ->  IO ()
+wxcLogSuspend _obj 
+  = withObjectRef "wxcLogSuspend" _obj $ \cobj__obj -> 
+    wx_ELJLog_Suspend cobj__obj  
+foreign import ccall "ELJLog_Suspend" wx_ELJLog_Suspend :: Ptr (TWXCLog a) -> IO ()
+
+-- | usage: (@wxcMalloc size@).
+wxcMalloc :: Int ->  IO (Ptr  ())
+wxcMalloc size 
+  = wx_wxcMalloc (toCInt size)  
+foreign import ccall "wxcMalloc" wx_wxcMalloc :: CInt -> IO (Ptr  ())
+
+-- | usage: (@wxcPreviewControlBarCreate preview buttons parent title xywh style@).
+wxcPreviewControlBarCreate :: Ptr  a -> Int -> Window  c -> Ptr  d -> Rect -> Int ->  IO (WXCPreviewControlBar  ())
+wxcPreviewControlBarCreate preview buttons parent title xywh style 
+  = withObjectResult $
+    withObjectPtr parent $ \cobj_parent -> 
+    wx_ELJPreviewControlBar_Create preview  (toCInt buttons)  cobj_parent  title  (toCIntRectX xywh) (toCIntRectY xywh)(toCIntRectW xywh) (toCIntRectH xywh)  (toCInt style)  
+foreign import ccall "ELJPreviewControlBar_Create" wx_ELJPreviewControlBar_Create :: Ptr  a -> CInt -> Ptr (TWindow c) -> Ptr  d -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TWXCPreviewControlBar ()))
+
+-- | usage: (@wxcPreviewFrameCreate obj wxinit createcanvas createtoolbar preview parent title xywh style@).
+wxcPreviewFrameCreate :: Ptr  a -> Ptr  b -> Ptr  c -> Ptr  d -> Ptr  e -> Window  f -> Ptr  g -> Rect -> Int ->  IO (WXCPreviewFrame  ())
+wxcPreviewFrameCreate _obj _init _createcanvas _createtoolbar preview parent title xywh style 
+  = withObjectResult $
+    withObjectPtr parent $ \cobj_parent -> 
+    wx_ELJPreviewFrame_Create _obj  _init  _createcanvas  _createtoolbar  preview  cobj_parent  title  (toCIntRectX xywh) (toCIntRectY xywh)(toCIntRectW xywh) (toCIntRectH xywh)  (toCInt style)  
+foreign import ccall "ELJPreviewFrame_Create" wx_ELJPreviewFrame_Create :: Ptr  a -> Ptr  b -> Ptr  c -> Ptr  d -> Ptr  e -> Ptr (TWindow f) -> Ptr  g -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TWXCPreviewFrame ()))
+
+-- | usage: (@wxcPreviewFrameGetControlBar obj@).
+wxcPreviewFrameGetControlBar :: WXCPreviewFrame  a ->  IO (Ptr  ())
+wxcPreviewFrameGetControlBar _obj 
+  = withObjectRef "wxcPreviewFrameGetControlBar" _obj $ \cobj__obj -> 
+    wx_ELJPreviewFrame_GetControlBar cobj__obj  
+foreign import ccall "ELJPreviewFrame_GetControlBar" wx_ELJPreviewFrame_GetControlBar :: Ptr (TWXCPreviewFrame a) -> IO (Ptr  ())
+
+-- | usage: (@wxcPreviewFrameGetPreviewCanvas obj@).
+wxcPreviewFrameGetPreviewCanvas :: WXCPreviewFrame  a ->  IO (PreviewCanvas  ())
+wxcPreviewFrameGetPreviewCanvas _obj 
+  = withObjectResult $
+    withObjectRef "wxcPreviewFrameGetPreviewCanvas" _obj $ \cobj__obj -> 
+    wx_ELJPreviewFrame_GetPreviewCanvas cobj__obj  
+foreign import ccall "ELJPreviewFrame_GetPreviewCanvas" wx_ELJPreviewFrame_GetPreviewCanvas :: Ptr (TWXCPreviewFrame a) -> IO (Ptr (TPreviewCanvas ()))
+
+-- | usage: (@wxcPreviewFrameGetPrintPreview obj@).
+wxcPreviewFrameGetPrintPreview :: WXCPreviewFrame  a ->  IO (PrintPreview  ())
+wxcPreviewFrameGetPrintPreview _obj 
+  = withObjectResult $
+    withObjectRef "wxcPreviewFrameGetPrintPreview" _obj $ \cobj__obj -> 
+    wx_ELJPreviewFrame_GetPrintPreview cobj__obj  
+foreign import ccall "ELJPreviewFrame_GetPrintPreview" wx_ELJPreviewFrame_GetPrintPreview :: Ptr (TWXCPreviewFrame a) -> IO (Ptr (TPrintPreview ()))
+
+-- | usage: (@wxcPreviewFrameInitialize obj@).
+wxcPreviewFrameInitialize :: WXCPreviewFrame  a ->  IO ()
+wxcPreviewFrameInitialize _obj 
+  = withObjectRef "wxcPreviewFrameInitialize" _obj $ \cobj__obj -> 
+    wx_ELJPreviewFrame_Initialize cobj__obj  
+foreign import ccall "ELJPreviewFrame_Initialize" wx_ELJPreviewFrame_Initialize :: Ptr (TWXCPreviewFrame a) -> IO ()
+
+-- | usage: (@wxcPreviewFrameSetControlBar obj obj@).
+wxcPreviewFrameSetControlBar :: WXCPreviewFrame  a -> Ptr  b ->  IO ()
+wxcPreviewFrameSetControlBar _obj obj 
+  = withObjectRef "wxcPreviewFrameSetControlBar" _obj $ \cobj__obj -> 
+    wx_ELJPreviewFrame_SetControlBar cobj__obj  obj  
+foreign import ccall "ELJPreviewFrame_SetControlBar" wx_ELJPreviewFrame_SetControlBar :: Ptr (TWXCPreviewFrame a) -> Ptr  b -> IO ()
+
+-- | usage: (@wxcPreviewFrameSetPreviewCanvas obj obj@).
+wxcPreviewFrameSetPreviewCanvas :: WXCPreviewFrame  a -> PreviewCanvas  b ->  IO ()
+wxcPreviewFrameSetPreviewCanvas _obj obj 
+  = withObjectRef "wxcPreviewFrameSetPreviewCanvas" _obj $ \cobj__obj -> 
+    withObjectPtr obj $ \cobj_obj -> 
+    wx_ELJPreviewFrame_SetPreviewCanvas cobj__obj  cobj_obj  
+foreign import ccall "ELJPreviewFrame_SetPreviewCanvas" wx_ELJPreviewFrame_SetPreviewCanvas :: Ptr (TWXCPreviewFrame a) -> Ptr (TPreviewCanvas b) -> IO ()
+
+-- | usage: (@wxcPreviewFrameSetPrintPreview obj obj@).
+wxcPreviewFrameSetPrintPreview :: WXCPreviewFrame  a -> PrintPreview  b ->  IO ()
+wxcPreviewFrameSetPrintPreview _obj obj 
+  = withObjectRef "wxcPreviewFrameSetPrintPreview" _obj $ \cobj__obj -> 
+    withObjectPtr obj $ \cobj_obj -> 
+    wx_ELJPreviewFrame_SetPrintPreview cobj__obj  cobj_obj  
+foreign import ccall "ELJPreviewFrame_SetPrintPreview" wx_ELJPreviewFrame_SetPrintPreview :: Ptr (TWXCPreviewFrame a) -> Ptr (TPrintPreview b) -> IO ()
+
+-- | usage: (@wxcPrintEventGetContinue self@).
+wxcPrintEventGetContinue :: WXCPrintEvent  a ->  IO Bool
+wxcPrintEventGetContinue self 
+  = withBoolResult $
+    withObjectRef "wxcPrintEventGetContinue" self $ \cobj_self -> 
+    wxcPrintEvent_GetContinue cobj_self  
+foreign import ccall "wxcPrintEvent_GetContinue" wxcPrintEvent_GetContinue :: Ptr (TWXCPrintEvent a) -> IO CBool
+
+-- | usage: (@wxcPrintEventGetEndPage self@).
+wxcPrintEventGetEndPage :: WXCPrintEvent  a ->  IO Int
+wxcPrintEventGetEndPage self 
+  = withIntResult $
+    withObjectRef "wxcPrintEventGetEndPage" self $ \cobj_self -> 
+    wxcPrintEvent_GetEndPage cobj_self  
+foreign import ccall "wxcPrintEvent_GetEndPage" wxcPrintEvent_GetEndPage :: Ptr (TWXCPrintEvent a) -> IO CInt
+
+-- | usage: (@wxcPrintEventGetPage self@).
+wxcPrintEventGetPage :: WXCPrintEvent  a ->  IO Int
+wxcPrintEventGetPage self 
+  = withIntResult $
+    withObjectRef "wxcPrintEventGetPage" self $ \cobj_self -> 
+    wxcPrintEvent_GetPage cobj_self  
+foreign import ccall "wxcPrintEvent_GetPage" wxcPrintEvent_GetPage :: Ptr (TWXCPrintEvent a) -> IO CInt
+
+{- |  Usage: @wxcPrintEventGetPrintout self@. Do not delete the associated printout!  -}
+wxcPrintEventGetPrintout :: WXCPrintEvent  a ->  IO (WXCPrintout  ())
+wxcPrintEventGetPrintout self 
+  = withObjectResult $
+    withObjectRef "wxcPrintEventGetPrintout" self $ \cobj_self -> 
+    wxcPrintEvent_GetPrintout cobj_self  
+foreign import ccall "wxcPrintEvent_GetPrintout" wxcPrintEvent_GetPrintout :: Ptr (TWXCPrintEvent a) -> IO (Ptr (TWXCPrintout ()))
+
+-- | usage: (@wxcPrintEventSetContinue self cont@).
+wxcPrintEventSetContinue :: WXCPrintEvent  a -> Bool ->  IO ()
+wxcPrintEventSetContinue self cont 
+  = withObjectRef "wxcPrintEventSetContinue" self $ \cobj_self -> 
+    wxcPrintEvent_SetContinue cobj_self  (toCBool cont)  
+foreign import ccall "wxcPrintEvent_SetContinue" wxcPrintEvent_SetContinue :: Ptr (TWXCPrintEvent a) -> CBool -> IO ()
+
+-- | usage: (@wxcPrintEventSetPageLimits self startPage endPage fromPage toPage@).
+wxcPrintEventSetPageLimits :: WXCPrintEvent  a -> Int -> Int -> Int -> Int ->  IO ()
+wxcPrintEventSetPageLimits self startPage endPage fromPage toPage 
+  = withObjectRef "wxcPrintEventSetPageLimits" self $ \cobj_self -> 
+    wxcPrintEvent_SetPageLimits cobj_self  (toCInt startPage)  (toCInt endPage)  (toCInt fromPage)  (toCInt toPage)  
+foreign import ccall "wxcPrintEvent_SetPageLimits" wxcPrintEvent_SetPageLimits :: Ptr (TWXCPrintEvent a) -> CInt -> CInt -> CInt -> CInt -> IO ()
+
+-- | usage: (@wxcPrintoutCreate title@).
+wxcPrintoutCreate :: String ->  IO (WXCPrintout  ())
+wxcPrintoutCreate title 
+  = withObjectResult $
+    withStringPtr title $ \cobj_title -> 
+    wxcPrintout_Create cobj_title  
+foreign import ccall "wxcPrintout_Create" wxcPrintout_Create :: Ptr (TWxString a) -> IO (Ptr (TWXCPrintout ()))
+
+-- | usage: (@wxcPrintoutDelete self@).
+wxcPrintoutDelete :: WXCPrintout  a ->  IO ()
+wxcPrintoutDelete
+  = objectDelete
+
+
+{- |  Usage: @wxcPrintoutGetEvtHandler self@. Do not delete the associated event handler!  -}
+wxcPrintoutGetEvtHandler :: WXCPrintout  a ->  IO (WXCPrintoutHandler  ())
+wxcPrintoutGetEvtHandler self 
+  = withObjectResult $
+    withObjectRef "wxcPrintoutGetEvtHandler" self $ \cobj_self -> 
+    wxcPrintout_GetEvtHandler cobj_self  
+foreign import ccall "wxcPrintout_GetEvtHandler" wxcPrintout_GetEvtHandler :: Ptr (TWXCPrintout a) -> IO (Ptr (TWXCPrintoutHandler ()))
+
+-- | usage: (@wxcPrintoutSetPageLimits self startPage endPage fromPage toPage@).
+wxcPrintoutSetPageLimits :: WXCPrintout  a -> Int -> Int -> Int -> Int ->  IO ()
+wxcPrintoutSetPageLimits self startPage endPage fromPage toPage 
+  = withObjectRef "wxcPrintoutSetPageLimits" self $ \cobj_self -> 
+    wxcPrintout_SetPageLimits cobj_self  (toCInt startPage)  (toCInt endPage)  (toCInt fromPage)  (toCInt toPage)  
+foreign import ccall "wxcPrintout_SetPageLimits" wxcPrintout_SetPageLimits :: Ptr (TWXCPrintout a) -> CInt -> CInt -> CInt -> CInt -> IO ()
+
+-- | usage: (@wxcSetPixelRGB buffer width xy rgb@).
+wxcSetPixelRGB :: Ptr Word8 -> Int -> Point -> Int ->  IO ()
+wxcSetPixelRGB buffer width xy rgb 
+  = wx_wxcSetPixelRGB buffer  (toCInt width)  (toCIntPointX xy) (toCIntPointY xy)  (toCInt rgb)  
+foreign import ccall "wxcSetPixelRGB" wx_wxcSetPixelRGB :: Ptr Word8 -> CInt -> CInt -> CInt -> CInt -> IO ()
+
+-- | usage: (@wxcSetPixelRGBA buffer width xy rgba@).
+wxcSetPixelRGBA :: Ptr Word8 -> Int -> Point -> Word ->  IO ()
+wxcSetPixelRGBA buffer width xy rgba 
+  = wx_wxcSetPixelRGBA buffer  (toCInt width)  (toCIntPointX xy) (toCIntPointY xy)  rgba  
+foreign import ccall "wxcSetPixelRGBA" wx_wxcSetPixelRGBA :: Ptr Word8 -> CInt -> CInt -> CInt -> Word -> IO ()
+
+-- | usage: (@wxcSetPixelRowRGB buffer width xy rgbStart rgbEnd count@).
+wxcSetPixelRowRGB :: Ptr Word8 -> Int -> Point -> Int -> Int -> Int ->  IO ()
+wxcSetPixelRowRGB buffer width xy rgbStart rgbEnd count 
+  = wx_wxcSetPixelRowRGB buffer  (toCInt width)  (toCIntPointX xy) (toCIntPointY xy)  (toCInt rgbStart)  (toCInt rgbEnd)  (toCInt count)  
+foreign import ccall "wxcSetPixelRowRGB" wx_wxcSetPixelRowRGB :: Ptr Word8 -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO ()
+
+-- | usage: (@wxcSetPixelRowRGBA buffer width xy rgbaStart rgbEnd count@).
+wxcSetPixelRowRGBA :: Ptr Word8 -> Int -> Point -> Int -> Int -> Word ->  IO ()
+wxcSetPixelRowRGBA buffer width xy rgbaStart rgbEnd count 
+  = wx_wxcSetPixelRowRGBA buffer  (toCInt width)  (toCIntPointX xy) (toCIntPointY xy)  (toCInt rgbaStart)  (toCInt rgbEnd)  count  
+foreign import ccall "wxcSetPixelRowRGBA" wx_wxcSetPixelRowRGBA :: Ptr Word8 -> CInt -> CInt -> CInt -> CInt -> CInt -> Word -> IO ()
+
+-- | usage: (@wxcSysErrorCode@).
+wxcSysErrorCode ::  IO Int
+wxcSysErrorCode 
+  = withIntResult $
+    wx_ELJSysErrorCode 
+foreign import ccall "ELJSysErrorCode" wx_ELJSysErrorCode :: IO CInt
+
+-- | usage: (@wxcSysErrorMsg nErrCode@).
+wxcSysErrorMsg :: Int ->  IO (Ptr  ())
+wxcSysErrorMsg nErrCode 
+  = wx_ELJSysErrorMsg (toCInt nErrCode)  
+foreign import ccall "ELJSysErrorMsg" wx_ELJSysErrorMsg :: CInt -> IO (Ptr  ())
+
+-- | usage: (@wxcSystemSettingsGetColour systemColour@).
+wxcSystemSettingsGetColour :: Int ->  IO (Color)
+wxcSystemSettingsGetColour systemColour 
+  = withManagedColourResult $
+    wx_wxcSystemSettingsGetColour (toCInt systemColour)  
+foreign import ccall "wxcSystemSettingsGetColour" wx_wxcSystemSettingsGetColour :: CInt -> IO (Ptr (TColour ()))
+
+-- | usage: (@wxcTextDropTargetCreate obj func@).
+wxcTextDropTargetCreate :: Ptr  a -> Ptr  b ->  IO (WXCTextDropTarget  ())
+wxcTextDropTargetCreate _obj _func 
+  = withObjectResult $
+    wx_ELJTextDropTarget_Create _obj  _func  
+foreign import ccall "ELJTextDropTarget_Create" wx_ELJTextDropTarget_Create :: Ptr  a -> Ptr  b -> IO (Ptr (TWXCTextDropTarget ()))
+
+-- | usage: (@wxcTextDropTargetDelete obj@).
+wxcTextDropTargetDelete :: WXCTextDropTarget  a ->  IO ()
+wxcTextDropTargetDelete _obj 
+  = withObjectRef "wxcTextDropTargetDelete" _obj $ \cobj__obj -> 
+    wx_ELJTextDropTarget_Delete cobj__obj  
+foreign import ccall "ELJTextDropTarget_Delete" wx_ELJTextDropTarget_Delete :: Ptr (TWXCTextDropTarget a) -> IO ()
+
+-- | usage: (@wxcTextDropTargetSetOnData obj func@).
+wxcTextDropTargetSetOnData :: WXCTextDropTarget  a -> Ptr  b ->  IO ()
+wxcTextDropTargetSetOnData _obj _func 
+  = withObjectRef "wxcTextDropTargetSetOnData" _obj $ \cobj__obj -> 
+    wx_ELJTextDropTarget_SetOnData cobj__obj  _func  
+foreign import ccall "ELJTextDropTarget_SetOnData" wx_ELJTextDropTarget_SetOnData :: Ptr (TWXCTextDropTarget a) -> Ptr  b -> IO ()
+
+-- | usage: (@wxcTextDropTargetSetOnDragOver obj func@).
+wxcTextDropTargetSetOnDragOver :: WXCTextDropTarget  a -> Ptr  b ->  IO ()
+wxcTextDropTargetSetOnDragOver _obj _func 
+  = withObjectRef "wxcTextDropTargetSetOnDragOver" _obj $ \cobj__obj -> 
+    wx_ELJTextDropTarget_SetOnDragOver cobj__obj  _func  
+foreign import ccall "ELJTextDropTarget_SetOnDragOver" wx_ELJTextDropTarget_SetOnDragOver :: Ptr (TWXCTextDropTarget a) -> Ptr  b -> IO ()
+
+-- | usage: (@wxcTextDropTargetSetOnDrop obj func@).
+wxcTextDropTargetSetOnDrop :: WXCTextDropTarget  a -> Ptr  b ->  IO ()
+wxcTextDropTargetSetOnDrop _obj _func 
+  = withObjectRef "wxcTextDropTargetSetOnDrop" _obj $ \cobj__obj -> 
+    wx_ELJTextDropTarget_SetOnDrop cobj__obj  _func  
+foreign import ccall "ELJTextDropTarget_SetOnDrop" wx_ELJTextDropTarget_SetOnDrop :: Ptr (TWXCTextDropTarget a) -> Ptr  b -> IO ()
+
+-- | usage: (@wxcTextDropTargetSetOnEnter obj func@).
+wxcTextDropTargetSetOnEnter :: WXCTextDropTarget  a -> Ptr  b ->  IO ()
+wxcTextDropTargetSetOnEnter _obj _func 
+  = withObjectRef "wxcTextDropTargetSetOnEnter" _obj $ \cobj__obj -> 
+    wx_ELJTextDropTarget_SetOnEnter cobj__obj  _func  
+foreign import ccall "ELJTextDropTarget_SetOnEnter" wx_ELJTextDropTarget_SetOnEnter :: Ptr (TWXCTextDropTarget a) -> Ptr  b -> IO ()
+
+-- | usage: (@wxcTextDropTargetSetOnLeave obj func@).
+wxcTextDropTargetSetOnLeave :: WXCTextDropTarget  a -> Ptr  b ->  IO ()
+wxcTextDropTargetSetOnLeave _obj _func 
+  = withObjectRef "wxcTextDropTargetSetOnLeave" _obj $ \cobj__obj -> 
+    wx_ELJTextDropTarget_SetOnLeave cobj__obj  _func  
+foreign import ccall "ELJTextDropTarget_SetOnLeave" wx_ELJTextDropTarget_SetOnLeave :: Ptr (TWXCTextDropTarget a) -> Ptr  b -> IO ()
+
+-- | usage: (@wxcTextValidatorCreate obj fnc txt stl@).
+wxcTextValidatorCreate :: Ptr  a -> Ptr  b -> String -> Style ->  IO (WXCTextValidator  ())
+wxcTextValidatorCreate _obj _fnc _txt _stl 
+  = withObjectResult $
+    withCWString _txt $ \cstr__txt -> 
+    wx_ELJTextValidator_Create _obj  _fnc  cstr__txt  (toCInt _stl)  
+foreign import ccall "ELJTextValidator_Create" wx_ELJTextValidator_Create :: Ptr  a -> Ptr  b -> CWString -> CInt -> IO (Ptr (TWXCTextValidator ()))
+
+-- | usage: (@wxcTreeItemDataCreate closure@).
+wxcTreeItemDataCreate :: Closure  a ->  IO (WXCTreeItemData  ())
+wxcTreeItemDataCreate closure 
+  = withObjectResult $
+    withObjectPtr closure $ \cobj_closure -> 
+    wxcTreeItemData_Create cobj_closure  
+foreign import ccall "wxcTreeItemData_Create" wxcTreeItemData_Create :: Ptr (TClosure a) -> IO (Ptr (TWXCTreeItemData ()))
+
+-- | usage: (@wxcTreeItemDataGetClientClosure self@).
+wxcTreeItemDataGetClientClosure :: WXCTreeItemData  a ->  IO (Closure  ())
+wxcTreeItemDataGetClientClosure self 
+  = withObjectResult $
+    withObjectRef "wxcTreeItemDataGetClientClosure" self $ \cobj_self -> 
+    wxcTreeItemData_GetClientClosure cobj_self  
+foreign import ccall "wxcTreeItemData_GetClientClosure" wxcTreeItemData_GetClientClosure :: Ptr (TWXCTreeItemData a) -> IO (Ptr (TClosure ()))
+
+-- | usage: (@wxcTreeItemDataSetClientClosure self closure@).
+wxcTreeItemDataSetClientClosure :: WXCTreeItemData  a -> Closure  b ->  IO ()
+wxcTreeItemDataSetClientClosure self closure 
+  = withObjectRef "wxcTreeItemDataSetClientClosure" self $ \cobj_self -> 
+    withObjectPtr closure $ \cobj_closure -> 
+    wxcTreeItemData_SetClientClosure cobj_self  cobj_closure  
+foreign import ccall "wxcTreeItemData_SetClientClosure" wxcTreeItemData_SetClientClosure :: Ptr (TWXCTreeItemData a) -> Ptr (TClosure b) -> IO ()
+
+-- | usage: (@wxcWakeUpIdle@).
+wxcWakeUpIdle ::  IO ()
+wxcWakeUpIdle 
+  = wx_wxcWakeUpIdle 
+foreign import ccall "wxcWakeUpIdle" wx_wxcWakeUpIdle :: IO ()
+
+-- | usage: (@wxobjectDelete obj@).
+wxobjectDelete :: WxObject  a ->  IO ()
+wxobjectDelete
+  = objectDelete
+
+
+-- | usage: (@xmlResourceAddHandler obj handler@).
+xmlResourceAddHandler :: XmlResource  a -> EvtHandler  b ->  IO ()
+xmlResourceAddHandler _obj handler 
+  = withObjectRef "xmlResourceAddHandler" _obj $ \cobj__obj -> 
+    withObjectPtr handler $ \cobj_handler -> 
+    wxXmlResource_AddHandler cobj__obj  cobj_handler  
+foreign import ccall "wxXmlResource_AddHandler" wxXmlResource_AddHandler :: Ptr (TXmlResource a) -> Ptr (TEvtHandler b) -> IO ()
+
+-- | usage: (@xmlResourceAddSubclassFactory obj factory@).
+xmlResourceAddSubclassFactory :: XmlResource  a -> Ptr  b ->  IO ()
+xmlResourceAddSubclassFactory _obj factory 
+  = withObjectRef "xmlResourceAddSubclassFactory" _obj $ \cobj__obj -> 
+    wxXmlResource_AddSubclassFactory cobj__obj  factory  
+foreign import ccall "wxXmlResource_AddSubclassFactory" wxXmlResource_AddSubclassFactory :: Ptr (TXmlResource a) -> Ptr  b -> IO ()
+
+-- | usage: (@xmlResourceAttachUnknownControl obj control parent@).
+xmlResourceAttachUnknownControl :: XmlResource  a -> Control  b -> Window  c ->  IO Int
+xmlResourceAttachUnknownControl _obj control parent 
+  = withIntResult $
+    withObjectRef "xmlResourceAttachUnknownControl" _obj $ \cobj__obj -> 
+    withObjectPtr control $ \cobj_control -> 
+    withObjectPtr parent $ \cobj_parent -> 
+    wxXmlResource_AttachUnknownControl cobj__obj  cobj_control  cobj_parent  
+foreign import ccall "wxXmlResource_AttachUnknownControl" wxXmlResource_AttachUnknownControl :: Ptr (TXmlResource a) -> Ptr (TControl b) -> Ptr (TWindow c) -> IO CInt
+
+-- | usage: (@xmlResourceClearHandlers obj@).
+xmlResourceClearHandlers :: XmlResource  a ->  IO ()
+xmlResourceClearHandlers _obj 
+  = withObjectRef "xmlResourceClearHandlers" _obj $ \cobj__obj -> 
+    wxXmlResource_ClearHandlers cobj__obj  
+foreign import ccall "wxXmlResource_ClearHandlers" wxXmlResource_ClearHandlers :: Ptr (TXmlResource a) -> IO ()
+
+-- | usage: (@xmlResourceCompareVersion obj major minor release revision@).
+xmlResourceCompareVersion :: XmlResource  a -> Int -> Int -> Int -> Int ->  IO Int
+xmlResourceCompareVersion _obj major minor release revision 
+  = withIntResult $
+    withObjectRef "xmlResourceCompareVersion" _obj $ \cobj__obj -> 
+    wxXmlResource_CompareVersion cobj__obj  (toCInt major)  (toCInt minor)  (toCInt release)  (toCInt revision)  
+foreign import ccall "wxXmlResource_CompareVersion" wxXmlResource_CompareVersion :: Ptr (TXmlResource a) -> CInt -> CInt -> CInt -> CInt -> IO CInt
+
+-- | usage: (@xmlResourceCreate flags@).
+xmlResourceCreate :: Int ->  IO (XmlResource  ())
+xmlResourceCreate flags 
+  = withObjectResult $
+    wxXmlResource_Create (toCInt flags)  
+foreign import ccall "wxXmlResource_Create" wxXmlResource_Create :: CInt -> IO (Ptr (TXmlResource ()))
+
+-- | usage: (@xmlResourceCreateFromFile filemask flags@).
+xmlResourceCreateFromFile :: String -> Int ->  IO (XmlResource  ())
+xmlResourceCreateFromFile filemask flags 
+  = withObjectResult $
+    withStringPtr filemask $ \cobj_filemask -> 
+    wxXmlResource_CreateFromFile cobj_filemask  (toCInt flags)  
+foreign import ccall "wxXmlResource_CreateFromFile" wxXmlResource_CreateFromFile :: Ptr (TWxString a) -> CInt -> IO (Ptr (TXmlResource ()))
+
+-- | usage: (@xmlResourceDelete obj@).
+xmlResourceDelete :: XmlResource  a ->  IO ()
+xmlResourceDelete
+  = objectDelete
+
+
+-- | usage: (@xmlResourceGet@).
+xmlResourceGet ::  IO (XmlResource  ())
+xmlResourceGet 
+  = withObjectResult $
+    wxXmlResource_Get 
+foreign import ccall "wxXmlResource_Get" wxXmlResource_Get :: IO (Ptr (TXmlResource ()))
+
+-- | usage: (@xmlResourceGetBitmapButton obj strid@).
+xmlResourceGetBitmapButton :: Window  a -> String ->  IO (BitmapButton  ())
+xmlResourceGetBitmapButton _obj strid 
+  = withObjectResult $
+    withObjectPtr _obj $ \cobj__obj -> 
+    withStringPtr strid $ \cobj_strid -> 
+    wxXmlResource_GetBitmapButton cobj__obj  cobj_strid  
+foreign import ccall "wxXmlResource_GetBitmapButton" wxXmlResource_GetBitmapButton :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TBitmapButton ()))
+
+-- | usage: (@xmlResourceGetBoxSizer obj strid@).
+xmlResourceGetBoxSizer :: Window  a -> String ->  IO (BoxSizer  ())
+xmlResourceGetBoxSizer _obj strid 
+  = withObjectResult $
+    withObjectPtr _obj $ \cobj__obj -> 
+    withStringPtr strid $ \cobj_strid -> 
+    wxXmlResource_GetBoxSizer cobj__obj  cobj_strid  
+foreign import ccall "wxXmlResource_GetBoxSizer" wxXmlResource_GetBoxSizer :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TBoxSizer ()))
+
+-- | usage: (@xmlResourceGetButton obj strid@).
+xmlResourceGetButton :: Window  a -> String ->  IO (Button  ())
+xmlResourceGetButton _obj strid 
+  = withObjectResult $
+    withObjectPtr _obj $ \cobj__obj -> 
+    withStringPtr strid $ \cobj_strid -> 
+    wxXmlResource_GetButton cobj__obj  cobj_strid  
+foreign import ccall "wxXmlResource_GetButton" wxXmlResource_GetButton :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TButton ()))
+
+-- | usage: (@xmlResourceGetCalendarCtrl obj strid@).
+xmlResourceGetCalendarCtrl :: Window  a -> String ->  IO (CalendarCtrl  ())
+xmlResourceGetCalendarCtrl _obj strid 
+  = withObjectResult $
+    withObjectPtr _obj $ \cobj__obj -> 
+    withStringPtr strid $ \cobj_strid -> 
+    wxXmlResource_GetCalendarCtrl cobj__obj  cobj_strid  
+foreign import ccall "wxXmlResource_GetCalendarCtrl" wxXmlResource_GetCalendarCtrl :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TCalendarCtrl ()))
+
+-- | usage: (@xmlResourceGetCheckBox obj strid@).
+xmlResourceGetCheckBox :: Window  a -> String ->  IO (CheckBox  ())
+xmlResourceGetCheckBox _obj strid 
+  = withObjectResult $
+    withObjectPtr _obj $ \cobj__obj -> 
+    withStringPtr strid $ \cobj_strid -> 
+    wxXmlResource_GetCheckBox cobj__obj  cobj_strid  
+foreign import ccall "wxXmlResource_GetCheckBox" wxXmlResource_GetCheckBox :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TCheckBox ()))
+
+-- | usage: (@xmlResourceGetCheckListBox obj strid@).
+xmlResourceGetCheckListBox :: Window  a -> String ->  IO (CheckListBox  ())
+xmlResourceGetCheckListBox _obj strid 
+  = withObjectResult $
+    withObjectPtr _obj $ \cobj__obj -> 
+    withStringPtr strid $ \cobj_strid -> 
+    wxXmlResource_GetCheckListBox cobj__obj  cobj_strid  
+foreign import ccall "wxXmlResource_GetCheckListBox" wxXmlResource_GetCheckListBox :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TCheckListBox ()))
+
+-- | usage: (@xmlResourceGetChoice obj strid@).
+xmlResourceGetChoice :: Window  a -> String ->  IO (Choice  ())
+xmlResourceGetChoice _obj strid 
+  = withObjectResult $
+    withObjectPtr _obj $ \cobj__obj -> 
+    withStringPtr strid $ \cobj_strid -> 
+    wxXmlResource_GetChoice cobj__obj  cobj_strid  
+foreign import ccall "wxXmlResource_GetChoice" wxXmlResource_GetChoice :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TChoice ()))
+
+-- | usage: (@xmlResourceGetComboBox obj strid@).
+xmlResourceGetComboBox :: Window  a -> String ->  IO (ComboBox  ())
+xmlResourceGetComboBox _obj strid 
+  = withObjectResult $
+    withObjectPtr _obj $ \cobj__obj -> 
+    withStringPtr strid $ \cobj_strid -> 
+    wxXmlResource_GetComboBox cobj__obj  cobj_strid  
+foreign import ccall "wxXmlResource_GetComboBox" wxXmlResource_GetComboBox :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TComboBox ()))
+
+-- | usage: (@xmlResourceGetDomain obj@).
+xmlResourceGetDomain :: XmlResource  a ->  IO (String)
+xmlResourceGetDomain _obj 
+  = withManagedStringResult $
+    withObjectRef "xmlResourceGetDomain" _obj $ \cobj__obj -> 
+    wxXmlResource_GetDomain cobj__obj  
+foreign import ccall "wxXmlResource_GetDomain" wxXmlResource_GetDomain :: Ptr (TXmlResource a) -> IO (Ptr (TWxString ()))
+
+-- | usage: (@xmlResourceGetFlags obj@).
+xmlResourceGetFlags :: XmlResource  a ->  IO Int
+xmlResourceGetFlags _obj 
+  = withIntResult $
+    withObjectRef "xmlResourceGetFlags" _obj $ \cobj__obj -> 
+    wxXmlResource_GetFlags cobj__obj  
+foreign import ccall "wxXmlResource_GetFlags" wxXmlResource_GetFlags :: Ptr (TXmlResource a) -> IO CInt
+
+-- | usage: (@xmlResourceGetFlexGridSizer obj strid@).
+xmlResourceGetFlexGridSizer :: Window  a -> String ->  IO (FlexGridSizer  ())
+xmlResourceGetFlexGridSizer _obj strid 
+  = withObjectResult $
+    withObjectPtr _obj $ \cobj__obj -> 
+    withStringPtr strid $ \cobj_strid -> 
+    wxXmlResource_GetFlexGridSizer cobj__obj  cobj_strid  
+foreign import ccall "wxXmlResource_GetFlexGridSizer" wxXmlResource_GetFlexGridSizer :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TFlexGridSizer ()))
+
+-- | usage: (@xmlResourceGetGauge obj strid@).
+xmlResourceGetGauge :: Window  a -> String ->  IO (Gauge  ())
+xmlResourceGetGauge _obj strid 
+  = withObjectResult $
+    withObjectPtr _obj $ \cobj__obj -> 
+    withStringPtr strid $ \cobj_strid -> 
+    wxXmlResource_GetGauge cobj__obj  cobj_strid  
+foreign import ccall "wxXmlResource_GetGauge" wxXmlResource_GetGauge :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TGauge ()))
+
+-- | usage: (@xmlResourceGetGrid obj strid@).
+xmlResourceGetGrid :: Window  a -> String ->  IO (Grid  ())
+xmlResourceGetGrid _obj strid 
+  = withObjectResult $
+    withObjectPtr _obj $ \cobj__obj -> 
+    withStringPtr strid $ \cobj_strid -> 
+    wxXmlResource_GetGrid cobj__obj  cobj_strid  
+foreign import ccall "wxXmlResource_GetGrid" wxXmlResource_GetGrid :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TGrid ()))
+
+-- | usage: (@xmlResourceGetGridSizer obj strid@).
+xmlResourceGetGridSizer :: Window  a -> String ->  IO (GridSizer  ())
+xmlResourceGetGridSizer _obj strid 
+  = withObjectResult $
+    withObjectPtr _obj $ \cobj__obj -> 
+    withStringPtr strid $ \cobj_strid -> 
+    wxXmlResource_GetGridSizer cobj__obj  cobj_strid  
+foreign import ccall "wxXmlResource_GetGridSizer" wxXmlResource_GetGridSizer :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TGridSizer ()))
+
+-- | usage: (@xmlResourceGetHtmlWindow obj strid@).
+xmlResourceGetHtmlWindow :: Window  a -> String ->  IO (HtmlWindow  ())
+xmlResourceGetHtmlWindow _obj strid 
+  = withObjectResult $
+    withObjectPtr _obj $ \cobj__obj -> 
+    withStringPtr strid $ \cobj_strid -> 
+    wxXmlResource_GetHtmlWindow cobj__obj  cobj_strid  
+foreign import ccall "wxXmlResource_GetHtmlWindow" wxXmlResource_GetHtmlWindow :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (THtmlWindow ()))
+
+-- | usage: (@xmlResourceGetListBox obj strid@).
+xmlResourceGetListBox :: Window  a -> String ->  IO (ListBox  ())
+xmlResourceGetListBox _obj strid 
+  = withObjectResult $
+    withObjectPtr _obj $ \cobj__obj -> 
+    withStringPtr strid $ \cobj_strid -> 
+    wxXmlResource_GetListBox cobj__obj  cobj_strid  
+foreign import ccall "wxXmlResource_GetListBox" wxXmlResource_GetListBox :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TListBox ()))
+
+-- | usage: (@xmlResourceGetListCtrl obj strid@).
+xmlResourceGetListCtrl :: Window  a -> String ->  IO (ListCtrl  ())
+xmlResourceGetListCtrl _obj strid 
+  = withObjectResult $
+    withObjectPtr _obj $ \cobj__obj -> 
+    withStringPtr strid $ \cobj_strid -> 
+    wxXmlResource_GetListCtrl cobj__obj  cobj_strid  
+foreign import ccall "wxXmlResource_GetListCtrl" wxXmlResource_GetListCtrl :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TListCtrl ()))
+
+-- | usage: (@xmlResourceGetMDIChildFrame obj strid@).
+xmlResourceGetMDIChildFrame :: Window  a -> String ->  IO (MDIChildFrame  ())
+xmlResourceGetMDIChildFrame _obj strid 
+  = withObjectResult $
+    withObjectPtr _obj $ \cobj__obj -> 
+    withStringPtr strid $ \cobj_strid -> 
+    wxXmlResource_GetMDIChildFrame cobj__obj  cobj_strid  
+foreign import ccall "wxXmlResource_GetMDIChildFrame" wxXmlResource_GetMDIChildFrame :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TMDIChildFrame ()))
+
+-- | usage: (@xmlResourceGetMDIParentFrame obj strid@).
+xmlResourceGetMDIParentFrame :: Window  a -> String ->  IO (MDIParentFrame  ())
+xmlResourceGetMDIParentFrame _obj strid 
+  = withObjectResult $
+    withObjectPtr _obj $ \cobj__obj -> 
+    withStringPtr strid $ \cobj_strid -> 
+    wxXmlResource_GetMDIParentFrame cobj__obj  cobj_strid  
+foreign import ccall "wxXmlResource_GetMDIParentFrame" wxXmlResource_GetMDIParentFrame :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TMDIParentFrame ()))
+
+-- | usage: (@xmlResourceGetMenu obj strid@).
+xmlResourceGetMenu :: Window  a -> String ->  IO (Menu  ())
+xmlResourceGetMenu _obj strid 
+  = withObjectResult $
+    withObjectPtr _obj $ \cobj__obj -> 
+    withStringPtr strid $ \cobj_strid -> 
+    wxXmlResource_GetMenu cobj__obj  cobj_strid  
+foreign import ccall "wxXmlResource_GetMenu" wxXmlResource_GetMenu :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TMenu ()))
+
+-- | usage: (@xmlResourceGetMenuBar obj strid@).
+xmlResourceGetMenuBar :: Window  a -> String ->  IO (MenuBar  ())
+xmlResourceGetMenuBar _obj strid 
+  = withObjectResult $
+    withObjectPtr _obj $ \cobj__obj -> 
+    withStringPtr strid $ \cobj_strid -> 
+    wxXmlResource_GetMenuBar cobj__obj  cobj_strid  
+foreign import ccall "wxXmlResource_GetMenuBar" wxXmlResource_GetMenuBar :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TMenuBar ()))
+
+-- | usage: (@xmlResourceGetMenuItem obj strid@).
+xmlResourceGetMenuItem :: Window  a -> String ->  IO (MenuItem  ())
+xmlResourceGetMenuItem _obj strid 
+  = withObjectResult $
+    withObjectPtr _obj $ \cobj__obj -> 
+    withStringPtr strid $ \cobj_strid -> 
+    wxXmlResource_GetMenuItem cobj__obj  cobj_strid  
+foreign import ccall "wxXmlResource_GetMenuItem" wxXmlResource_GetMenuItem :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TMenuItem ()))
+
+-- | usage: (@xmlResourceGetNotebook obj strid@).
+xmlResourceGetNotebook :: Window  a -> String ->  IO (Notebook  ())
+xmlResourceGetNotebook _obj strid 
+  = withObjectResult $
+    withObjectPtr _obj $ \cobj__obj -> 
+    withStringPtr strid $ \cobj_strid -> 
+    wxXmlResource_GetNotebook cobj__obj  cobj_strid  
+foreign import ccall "wxXmlResource_GetNotebook" wxXmlResource_GetNotebook :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TNotebook ()))
+
+-- | usage: (@xmlResourceGetPanel obj strid@).
+xmlResourceGetPanel :: Window  a -> String ->  IO (Panel  ())
+xmlResourceGetPanel _obj strid 
+  = withObjectResult $
+    withObjectPtr _obj $ \cobj__obj -> 
+    withStringPtr strid $ \cobj_strid -> 
+    wxXmlResource_GetPanel cobj__obj  cobj_strid  
+foreign import ccall "wxXmlResource_GetPanel" wxXmlResource_GetPanel :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TPanel ()))
+
+-- | usage: (@xmlResourceGetRadioBox obj strid@).
+xmlResourceGetRadioBox :: Window  a -> String ->  IO (RadioBox  ())
+xmlResourceGetRadioBox _obj strid 
+  = withObjectResult $
+    withObjectPtr _obj $ \cobj__obj -> 
+    withStringPtr strid $ \cobj_strid -> 
+    wxXmlResource_GetRadioBox cobj__obj  cobj_strid  
+foreign import ccall "wxXmlResource_GetRadioBox" wxXmlResource_GetRadioBox :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TRadioBox ()))
+
+-- | usage: (@xmlResourceGetRadioButton obj strid@).
+xmlResourceGetRadioButton :: Window  a -> String ->  IO (RadioButton  ())
+xmlResourceGetRadioButton _obj strid 
+  = withObjectResult $
+    withObjectPtr _obj $ \cobj__obj -> 
+    withStringPtr strid $ \cobj_strid -> 
+    wxXmlResource_GetRadioButton cobj__obj  cobj_strid  
+foreign import ccall "wxXmlResource_GetRadioButton" wxXmlResource_GetRadioButton :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TRadioButton ()))
+
+-- | usage: (@xmlResourceGetScrollBar obj strid@).
+xmlResourceGetScrollBar :: Window  a -> String ->  IO (ScrollBar  ())
+xmlResourceGetScrollBar _obj strid 
+  = withObjectResult $
+    withObjectPtr _obj $ \cobj__obj -> 
+    withStringPtr strid $ \cobj_strid -> 
+    wxXmlResource_GetScrollBar cobj__obj  cobj_strid  
+foreign import ccall "wxXmlResource_GetScrollBar" wxXmlResource_GetScrollBar :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TScrollBar ()))
+
+-- | usage: (@xmlResourceGetScrolledWindow obj strid@).
+xmlResourceGetScrolledWindow :: Window  a -> String ->  IO (ScrolledWindow  ())
+xmlResourceGetScrolledWindow _obj strid 
+  = withObjectResult $
+    withObjectPtr _obj $ \cobj__obj -> 
+    withStringPtr strid $ \cobj_strid -> 
+    wxXmlResource_GetScrolledWindow cobj__obj  cobj_strid  
+foreign import ccall "wxXmlResource_GetScrolledWindow" wxXmlResource_GetScrolledWindow :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TScrolledWindow ()))
+
+-- | usage: (@xmlResourceGetSizer obj strid@).
+xmlResourceGetSizer :: Window  a -> String ->  IO (Sizer  ())
+xmlResourceGetSizer _obj strid 
+  = withObjectResult $
+    withObjectPtr _obj $ \cobj__obj -> 
+    withStringPtr strid $ \cobj_strid -> 
+    wxXmlResource_GetSizer cobj__obj  cobj_strid  
+foreign import ccall "wxXmlResource_GetSizer" wxXmlResource_GetSizer :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TSizer ()))
+
+-- | usage: (@xmlResourceGetSlider obj strid@).
+xmlResourceGetSlider :: Window  a -> String ->  IO (Slider  ())
+xmlResourceGetSlider _obj strid 
+  = withObjectResult $
+    withObjectPtr _obj $ \cobj__obj -> 
+    withStringPtr strid $ \cobj_strid -> 
+    wxXmlResource_GetSlider cobj__obj  cobj_strid  
+foreign import ccall "wxXmlResource_GetSlider" wxXmlResource_GetSlider :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TSlider ()))
+
+-- | usage: (@xmlResourceGetSpinButton obj strid@).
+xmlResourceGetSpinButton :: Window  a -> String ->  IO (SpinButton  ())
+xmlResourceGetSpinButton _obj strid 
+  = withObjectResult $
+    withObjectPtr _obj $ \cobj__obj -> 
+    withStringPtr strid $ \cobj_strid -> 
+    wxXmlResource_GetSpinButton cobj__obj  cobj_strid  
+foreign import ccall "wxXmlResource_GetSpinButton" wxXmlResource_GetSpinButton :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TSpinButton ()))
+
+-- | usage: (@xmlResourceGetSpinCtrl obj strid@).
+xmlResourceGetSpinCtrl :: Window  a -> String ->  IO (SpinCtrl  ())
+xmlResourceGetSpinCtrl _obj strid 
+  = withObjectResult $
+    withObjectPtr _obj $ \cobj__obj -> 
+    withStringPtr strid $ \cobj_strid -> 
+    wxXmlResource_GetSpinCtrl cobj__obj  cobj_strid  
+foreign import ccall "wxXmlResource_GetSpinCtrl" wxXmlResource_GetSpinCtrl :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TSpinCtrl ()))
+
+-- | usage: (@xmlResourceGetSplitterWindow obj strid@).
+xmlResourceGetSplitterWindow :: Window  a -> String ->  IO (SplitterWindow  ())
+xmlResourceGetSplitterWindow _obj strid 
+  = withObjectResult $
+    withObjectPtr _obj $ \cobj__obj -> 
+    withStringPtr strid $ \cobj_strid -> 
+    wxXmlResource_GetSplitterWindow cobj__obj  cobj_strid  
+foreign import ccall "wxXmlResource_GetSplitterWindow" wxXmlResource_GetSplitterWindow :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TSplitterWindow ()))
+
+-- | usage: (@xmlResourceGetStaticBitmap obj strid@).
+xmlResourceGetStaticBitmap :: Window  a -> String ->  IO (StaticBitmap  ())
+xmlResourceGetStaticBitmap _obj strid 
+  = withObjectResult $
+    withObjectPtr _obj $ \cobj__obj -> 
+    withStringPtr strid $ \cobj_strid -> 
+    wxXmlResource_GetStaticBitmap cobj__obj  cobj_strid  
+foreign import ccall "wxXmlResource_GetStaticBitmap" wxXmlResource_GetStaticBitmap :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TStaticBitmap ()))
+
+-- | usage: (@xmlResourceGetStaticBox obj strid@).
+xmlResourceGetStaticBox :: Window  a -> String ->  IO (StaticBox  ())
+xmlResourceGetStaticBox _obj strid 
+  = withObjectResult $
+    withObjectPtr _obj $ \cobj__obj -> 
+    withStringPtr strid $ \cobj_strid -> 
+    wxXmlResource_GetStaticBox cobj__obj  cobj_strid  
+foreign import ccall "wxXmlResource_GetStaticBox" wxXmlResource_GetStaticBox :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TStaticBox ()))
+
+-- | usage: (@xmlResourceGetStaticBoxSizer obj strid@).
+xmlResourceGetStaticBoxSizer :: Window  a -> String ->  IO (StaticBoxSizer  ())
+xmlResourceGetStaticBoxSizer _obj strid 
+  = withObjectResult $
+    withObjectPtr _obj $ \cobj__obj -> 
+    withStringPtr strid $ \cobj_strid -> 
+    wxXmlResource_GetStaticBoxSizer cobj__obj  cobj_strid  
+foreign import ccall "wxXmlResource_GetStaticBoxSizer" wxXmlResource_GetStaticBoxSizer :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TStaticBoxSizer ()))
+
+-- | usage: (@xmlResourceGetStaticLine obj strid@).
+xmlResourceGetStaticLine :: Window  a -> String ->  IO (StaticLine  ())
+xmlResourceGetStaticLine _obj strid 
+  = withObjectResult $
+    withObjectPtr _obj $ \cobj__obj -> 
+    withStringPtr strid $ \cobj_strid -> 
+    wxXmlResource_GetStaticLine cobj__obj  cobj_strid  
+foreign import ccall "wxXmlResource_GetStaticLine" wxXmlResource_GetStaticLine :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TStaticLine ()))
+
+-- | usage: (@xmlResourceGetStaticText obj strid@).
+xmlResourceGetStaticText :: Window  a -> String ->  IO (StaticText  ())
+xmlResourceGetStaticText _obj strid 
+  = withObjectResult $
+    withObjectPtr _obj $ \cobj__obj -> 
+    withStringPtr strid $ \cobj_strid -> 
+    wxXmlResource_GetStaticText cobj__obj  cobj_strid  
+foreign import ccall "wxXmlResource_GetStaticText" wxXmlResource_GetStaticText :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TStaticText ()))
+
+-- | usage: (@xmlResourceGetStyledTextCtrl obj strid@).
+xmlResourceGetStyledTextCtrl :: Window  a -> String ->  IO (StyledTextCtrl  ())
+xmlResourceGetStyledTextCtrl _obj strid 
+  = withObjectResult $
+    withObjectPtr _obj $ \cobj__obj -> 
+    withStringPtr strid $ \cobj_strid -> 
+    wxXmlResource_GetStyledTextCtrl cobj__obj  cobj_strid  
+foreign import ccall "wxXmlResource_GetStyledTextCtrl" wxXmlResource_GetStyledTextCtrl :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TStyledTextCtrl ()))
+
+-- | usage: (@xmlResourceGetTextCtrl obj strid@).
+xmlResourceGetTextCtrl :: Window  a -> String ->  IO (TextCtrl  ())
+xmlResourceGetTextCtrl _obj strid 
+  = withObjectResult $
+    withObjectPtr _obj $ \cobj__obj -> 
+    withStringPtr strid $ \cobj_strid -> 
+    wxXmlResource_GetTextCtrl cobj__obj  cobj_strid  
+foreign import ccall "wxXmlResource_GetTextCtrl" wxXmlResource_GetTextCtrl :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TTextCtrl ()))
+
+-- | usage: (@xmlResourceGetTreeCtrl obj strid@).
+xmlResourceGetTreeCtrl :: Window  a -> String ->  IO (TreeCtrl  ())
+xmlResourceGetTreeCtrl _obj strid 
+  = withObjectResult $
+    withObjectPtr _obj $ \cobj__obj -> 
+    withStringPtr strid $ \cobj_strid -> 
+    wxXmlResource_GetTreeCtrl cobj__obj  cobj_strid  
+foreign import ccall "wxXmlResource_GetTreeCtrl" wxXmlResource_GetTreeCtrl :: Ptr (TWindow a) -> Ptr (TWxString b) -> IO (Ptr (TTreeCtrl ()))
+
+-- | usage: (@xmlResourceGetVersion obj@).
+xmlResourceGetVersion :: XmlResource  a ->  IO Int
+xmlResourceGetVersion _obj 
+  = withIntResult $
+    withObjectRef "xmlResourceGetVersion" _obj $ \cobj__obj -> 
+    wxXmlResource_GetVersion cobj__obj  
+foreign import ccall "wxXmlResource_GetVersion" wxXmlResource_GetVersion :: Ptr (TXmlResource a) -> IO CInt
+
+-- | usage: (@xmlResourceGetXRCID obj strid@).
+xmlResourceGetXRCID :: XmlResource  a -> String ->  IO Int
+xmlResourceGetXRCID _obj strid 
+  = withIntResult $
+    withObjectRef "xmlResourceGetXRCID" _obj $ \cobj__obj -> 
+    withStringPtr strid $ \cobj_strid -> 
+    wxXmlResource_GetXRCID cobj__obj  cobj_strid  
+foreign import ccall "wxXmlResource_GetXRCID" wxXmlResource_GetXRCID :: Ptr (TXmlResource a) -> Ptr (TWxString b) -> IO CInt
+
+-- | usage: (@xmlResourceInitAllHandlers obj@).
+xmlResourceInitAllHandlers :: XmlResource  a ->  IO ()
+xmlResourceInitAllHandlers _obj 
+  = withObjectRef "xmlResourceInitAllHandlers" _obj $ \cobj__obj -> 
+    wxXmlResource_InitAllHandlers cobj__obj  
+foreign import ccall "wxXmlResource_InitAllHandlers" wxXmlResource_InitAllHandlers :: Ptr (TXmlResource a) -> IO ()
+
+-- | usage: (@xmlResourceInsertHandler obj handler@).
+xmlResourceInsertHandler :: XmlResource  a -> EvtHandler  b ->  IO ()
+xmlResourceInsertHandler _obj handler 
+  = withObjectRef "xmlResourceInsertHandler" _obj $ \cobj__obj -> 
+    withObjectPtr handler $ \cobj_handler -> 
+    wxXmlResource_InsertHandler cobj__obj  cobj_handler  
+foreign import ccall "wxXmlResource_InsertHandler" wxXmlResource_InsertHandler :: Ptr (TXmlResource a) -> Ptr (TEvtHandler b) -> IO ()
+
+-- | usage: (@xmlResourceLoad obj filemask@).
+xmlResourceLoad :: XmlResource  a -> String ->  IO Bool
+xmlResourceLoad _obj filemask 
+  = withBoolResult $
+    withObjectRef "xmlResourceLoad" _obj $ \cobj__obj -> 
+    withStringPtr filemask $ \cobj_filemask -> 
+    wxXmlResource_Load cobj__obj  cobj_filemask  
+foreign import ccall "wxXmlResource_Load" wxXmlResource_Load :: Ptr (TXmlResource a) -> Ptr (TWxString b) -> IO CBool
+
+-- | usage: (@xmlResourceLoadBitmap obj name@).
+xmlResourceLoadBitmap :: XmlResource  a -> String ->  IO (Bitmap  ())
+xmlResourceLoadBitmap _obj name 
+  = withRefBitmap $ \pref -> 
+    withObjectRef "xmlResourceLoadBitmap" _obj $ \cobj__obj -> 
+    withStringPtr name $ \cobj_name -> 
+    wxXmlResource_LoadBitmap cobj__obj  cobj_name   pref
+foreign import ccall "wxXmlResource_LoadBitmap" wxXmlResource_LoadBitmap :: Ptr (TXmlResource a) -> Ptr (TWxString b) -> Ptr (TBitmap ()) -> IO ()
+
+-- | usage: (@xmlResourceLoadDialog obj parent name@).
+xmlResourceLoadDialog :: XmlResource  a -> Window  b -> String ->  IO (Dialog  ())
+xmlResourceLoadDialog _obj parent name 
+  = withObjectResult $
+    withObjectRef "xmlResourceLoadDialog" _obj $ \cobj__obj -> 
+    withObjectPtr parent $ \cobj_parent -> 
+    withStringPtr name $ \cobj_name -> 
+    wxXmlResource_LoadDialog cobj__obj  cobj_parent  cobj_name  
+foreign import ccall "wxXmlResource_LoadDialog" wxXmlResource_LoadDialog :: Ptr (TXmlResource a) -> Ptr (TWindow b) -> Ptr (TWxString c) -> IO (Ptr (TDialog ()))
+
+-- | usage: (@xmlResourceLoadFrame obj parent name@).
+xmlResourceLoadFrame :: XmlResource  a -> Window  b -> String ->  IO (Frame  ())
+xmlResourceLoadFrame _obj parent name 
+  = withObjectResult $
+    withObjectRef "xmlResourceLoadFrame" _obj $ \cobj__obj -> 
+    withObjectPtr parent $ \cobj_parent -> 
+    withStringPtr name $ \cobj_name -> 
+    wxXmlResource_LoadFrame cobj__obj  cobj_parent  cobj_name  
+foreign import ccall "wxXmlResource_LoadFrame" wxXmlResource_LoadFrame :: Ptr (TXmlResource a) -> Ptr (TWindow b) -> Ptr (TWxString c) -> IO (Ptr (TFrame ()))
+
+-- | usage: (@xmlResourceLoadIcon obj name@).
+xmlResourceLoadIcon :: XmlResource  a -> String ->  IO (Icon  ())
+xmlResourceLoadIcon _obj name 
+  = withRefIcon $ \pref -> 
+    withObjectRef "xmlResourceLoadIcon" _obj $ \cobj__obj -> 
+    withStringPtr name $ \cobj_name -> 
+    wxXmlResource_LoadIcon cobj__obj  cobj_name   pref
+foreign import ccall "wxXmlResource_LoadIcon" wxXmlResource_LoadIcon :: Ptr (TXmlResource a) -> Ptr (TWxString b) -> Ptr (TIcon ()) -> IO ()
+
+-- | usage: (@xmlResourceLoadMenu obj name@).
+xmlResourceLoadMenu :: XmlResource  a -> String ->  IO (Menu  ())
+xmlResourceLoadMenu _obj name 
+  = withObjectResult $
+    withObjectRef "xmlResourceLoadMenu" _obj $ \cobj__obj -> 
+    withStringPtr name $ \cobj_name -> 
+    wxXmlResource_LoadMenu cobj__obj  cobj_name  
+foreign import ccall "wxXmlResource_LoadMenu" wxXmlResource_LoadMenu :: Ptr (TXmlResource a) -> Ptr (TWxString b) -> IO (Ptr (TMenu ()))
+
+-- | usage: (@xmlResourceLoadMenuBar obj parent name@).
+xmlResourceLoadMenuBar :: XmlResource  a -> Window  b -> String ->  IO (MenuBar  ())
+xmlResourceLoadMenuBar _obj parent name 
+  = withObjectResult $
+    withObjectRef "xmlResourceLoadMenuBar" _obj $ \cobj__obj -> 
+    withObjectPtr parent $ \cobj_parent -> 
+    withStringPtr name $ \cobj_name -> 
+    wxXmlResource_LoadMenuBar cobj__obj  cobj_parent  cobj_name  
+foreign import ccall "wxXmlResource_LoadMenuBar" wxXmlResource_LoadMenuBar :: Ptr (TXmlResource a) -> Ptr (TWindow b) -> Ptr (TWxString c) -> IO (Ptr (TMenuBar ()))
+
+-- | usage: (@xmlResourceLoadPanel obj parent name@).
+xmlResourceLoadPanel :: XmlResource  a -> Window  b -> String ->  IO (Panel  ())
+xmlResourceLoadPanel _obj parent name 
+  = withObjectResult $
+    withObjectRef "xmlResourceLoadPanel" _obj $ \cobj__obj -> 
+    withObjectPtr parent $ \cobj_parent -> 
+    withStringPtr name $ \cobj_name -> 
+    wxXmlResource_LoadPanel cobj__obj  cobj_parent  cobj_name  
+foreign import ccall "wxXmlResource_LoadPanel" wxXmlResource_LoadPanel :: Ptr (TXmlResource a) -> Ptr (TWindow b) -> Ptr (TWxString c) -> IO (Ptr (TPanel ()))
+
+-- | usage: (@xmlResourceLoadToolBar obj parent name@).
+xmlResourceLoadToolBar :: XmlResource  a -> Window  b -> String ->  IO (ToolBar  ())
+xmlResourceLoadToolBar _obj parent name 
+  = withObjectResult $
+    withObjectRef "xmlResourceLoadToolBar" _obj $ \cobj__obj -> 
+    withObjectPtr parent $ \cobj_parent -> 
+    withStringPtr name $ \cobj_name -> 
+    wxXmlResource_LoadToolBar cobj__obj  cobj_parent  cobj_name  
+foreign import ccall "wxXmlResource_LoadToolBar" wxXmlResource_LoadToolBar :: Ptr (TXmlResource a) -> Ptr (TWindow b) -> Ptr (TWxString c) -> IO (Ptr (TToolBar ()))
+
+-- | usage: (@xmlResourceSet obj res@).
+xmlResourceSet :: XmlResource  a -> XmlResource  b ->  IO (XmlResource  ())
+xmlResourceSet _obj res 
+  = withObjectResult $
+    withObjectRef "xmlResourceSet" _obj $ \cobj__obj -> 
+    withObjectPtr res $ \cobj_res -> 
+    wxXmlResource_Set cobj__obj  cobj_res  
+foreign import ccall "wxXmlResource_Set" wxXmlResource_Set :: Ptr (TXmlResource a) -> Ptr (TXmlResource b) -> IO (Ptr (TXmlResource ()))
+
+-- | usage: (@xmlResourceSetDomain obj domain@).
+xmlResourceSetDomain :: XmlResource  a -> String ->  IO ()
+xmlResourceSetDomain _obj domain 
+  = withObjectRef "xmlResourceSetDomain" _obj $ \cobj__obj -> 
+    withStringPtr domain $ \cobj_domain -> 
+    wxXmlResource_SetDomain cobj__obj  cobj_domain  
+foreign import ccall "wxXmlResource_SetDomain" wxXmlResource_SetDomain :: Ptr (TXmlResource a) -> Ptr (TWxString b) -> IO ()
+
+-- | usage: (@xmlResourceSetFlags obj flags@).
+xmlResourceSetFlags :: XmlResource  a -> Int ->  IO ()
+xmlResourceSetFlags _obj flags 
+  = withObjectRef "xmlResourceSetFlags" _obj $ \cobj__obj -> 
+    wxXmlResource_SetFlags cobj__obj  (toCInt flags)  
+foreign import ccall "wxXmlResource_SetFlags" wxXmlResource_SetFlags :: Ptr (TXmlResource a) -> CInt -> IO ()
+
+-- | usage: (@xmlResourceUnload obj filemask@).
+xmlResourceUnload :: XmlResource  a -> String ->  IO Bool
+xmlResourceUnload _obj filemask 
+  = withBoolResult $
+    withObjectRef "xmlResourceUnload" _obj $ \cobj__obj -> 
+    withStringPtr filemask $ \cobj_filemask -> 
+    wxXmlResource_Unload cobj__obj  cobj_filemask  
+foreign import ccall "wxXmlResource_Unload" wxXmlResource_Unload :: Ptr (TXmlResource a) -> Ptr (TWxString b) -> IO CBool
+
src/haskell/Graphics/UI/WXCore/WxcDefs.hs view
@@ -1,9852 +1,11203 @@----------------------------------------------------------------------------------{-|	Module      :  WxcDefs-	Copyright   :  Copyright (c) Daan Leijen 2003, 2004-	License     :  wxWidgets--	Maintainer  :  wxhaskell-devel@lists.sourceforge.net-	Stability   :  provisional-	Portability :  portable--Haskell constant definitions for the wxWidgets C library (@wxc.dll@).--Do not edit this file manually!-This file was automatically generated by wxDirect on: --  * @2011-06-15 17:40:04.420422 UTC@--From the files:--  * @src\/eiffel\/wxc_defs.e@--  * @src\/eiffel\/wx_defs.e@--  * @src\/eiffel\/stc.e@--And contains 2454 constant definitions.--}----------------------------------------------------------------------------------module Graphics.UI.WXCore.WxcDefs-    ( -- * Types-      BitFlag-      -- * Constants-     ,wxBU_EXACTFIT-     ,wxTE_PROCESS_ENTER-     ,wxTE_PASSWORD-     ,wxTE_RICH2-     ,wxTE_AUTO_URL-     ,wxTE_NOHIDESEL-     ,wxTE_LEFT-     ,wxTE_RIGHT-     ,wxTE_CENTRE-     ,wxTE_LINEWRAP-     ,wxTE_WORDWRAP-     ,wxEXEC_ASYNC-     ,wxEXEC_SYNC-     ,wxEXEC_NOHIDE-     ,wxEXEC_MAKE_GROUP_LEADER-     ,wxITEM_SEPARATOR-     ,wxITEM_NORMAL-     ,wxITEM_CHECK-     ,wxITEM_RADIO-     ,wxITEM_MAX-     ,wxCLOSE_BOX-     ,wxFRAME_EX_CONTEXTHELP-     ,wxDIALOG_EX_CONTEXTHELP-     ,wxFRAME_SHAPED-     ,wxFULLSCREEN_ALL-     ,wxTreeItemIcon_Normal-     ,wxTreeItemIcon_Selected-     ,wxTreeItemIcon_Expanded-     ,wxTreeItemIcon_SelectedExpanded-     ,wxCONFIG_USE_LOCAL_FILE-     ,wxCONFIG_USE_GLOBAL_FILE-     ,wxCONFIG_USE_RELATIVE_PATH-     ,wxCONFIG_USE_NO_ESCAPE_CHARACTERS-     ,wxCONFIG_TYPE_UNKNOWN-     ,wxCONFIG_TYPE_STRING-     ,wxCONFIG_TYPE_BOOLEAN-     ,wxCONFIG_TYPE_INTEGER-     ,wxCONFIG_TYPE_FLOAT-     ,wxSIGNONE-     ,wxSIGHUP-     ,wxSIGINT-     ,wxSIGQUIT-     ,wxSIGILL-     ,wxSIGTRAP-     ,wxSIGABRT-     ,wxSIGEMT-     ,wxSIGFPE-     ,wxSIGKILL-     ,wxSIGBUS-     ,wxSIGSEGV-     ,wxSIGSYS-     ,wxSIGPIPE-     ,wxSIGALRM-     ,wxSIGTERM-     ,wxKILL_OK-     ,wxKILL_BAD_SIGNAL-     ,wxKILL_ACCESS_DENIED-     ,wxKILL_NO_PROCESS-     ,wxKILL_ERROR-     ,wxSTREAM_NO_ERROR-     ,wxSTREAM_EOF-     ,wxSTREAM_WRITE_ERROR-     ,wxSTREAM_READ_ERROR-     ,wxNB_MULTILINE-     ,wxLC_VRULES-     ,wxLC_HRULES-     ,wxIMAGE_LIST_NORMAL-     ,wxIMAGE_LIST_SMALL-     ,wxIMAGE_LIST_STATE-     ,wxTB_HORIZONTAL-     ,wxTB_NOALIGN-     ,wxTB_NODIVIDER-     ,wxTB_NOICONS-     ,wxTB_TEXT-     ,wxTB_VERTICAL-     ,wxADJUST_MINSIZE-     ,wxDB_TYPE_NAME_LEN-     ,wxDB_MAX_STATEMENT_LEN-     ,wxDB_MAX_WHERE_CLAUSE_LEN-     ,wxDB_MAX_ERROR_MSG_LEN-     ,wxDB_MAX_ERROR_HISTORY-     ,wxDB_MAX_TABLE_NAME_LEN-     ,wxDB_MAX_COLUMN_NAME_LEN-     ,wxDB_DATA_TYPE_VARCHAR-     ,wxDB_DATA_TYPE_INTEGER-     ,wxDB_DATA_TYPE_FLOAT-     ,wxDB_DATA_TYPE_DATE-     ,wxDB_DATA_TYPE_BLOB-     ,wxDB_SELECT_KEYFIELDS-     ,wxDB_SELECT_WHERE-     ,wxDB_SELECT_MATCHING-     ,wxDB_SELECT_STATEMENT-     ,wxDB_UPD_KEYFIELDS-     ,wxDB_UPD_WHERE-     ,wxDB_DEL_KEYFIELDS-     ,wxDB_DEL_WHERE-     ,wxDB_DEL_MATCHING-     ,wxDB_WHERE_KEYFIELDS-     ,wxDB_WHERE_MATCHING-     ,wxDB_GRANT_SELECT-     ,wxDB_GRANT_INSERT-     ,wxDB_GRANT_UPDATE-     ,wxDB_GRANT_DELETE-     ,wxDB_GRANT_ALL-     ,wxSQL_INVALID_HANDLE-     ,wxSQL_ERROR-     ,wxSQL_SUCCESS-     ,wxSQL_SUCCESS_WITH_INFO-     ,wxSQL_NO_DATA_FOUND-     ,wxSQL_CHAR-     ,wxSQL_NUMERIC-     ,wxSQL_DECIMAL-     ,wxSQL_INTEGER-     ,wxSQL_SMALLINT-     ,wxSQL_FLOAT-     ,wxSQL_REAL-     ,wxSQL_DOUBLE-     ,wxSQL_VARCHAR-     ,wxSQL_C_CHAR-     ,wxSQL_C_LONG-     ,wxSQL_C_SHORT-     ,wxSQL_C_FLOAT-     ,wxSQL_C_DOUBLE-     ,wxSQL_C_DEFAULT-     ,wxSQL_NO_NULLS-     ,wxSQL_NULLABLE-     ,wxSQL_NULLABLE_UNKNOWN-     ,wxSQL_NULL_DATA-     ,wxSQL_DATA_AT_EXEC-     ,wxSQL_NTS-     ,wxSQL_DATE-     ,wxSQL_TIME-     ,wxSQL_TIMESTAMP-     ,wxSQL_C_DATE-     ,wxSQL_C_TIME-     ,wxSQL_C_TIMESTAMP-     ,wxSQL_FETCH_NEXT-     ,wxSQL_FETCH_FIRST-     ,wxSQL_FETCH_LAST-     ,wxSQL_FETCH_PRIOR-     ,wxSQL_FETCH_ABSOLUTE-     ,wxSQL_FETCH_RELATIVE-     ,wxSQL_FETCH_BOOKMARK-     ,wxSOUND_SYNC-     ,wxSOUND_ASYNC-     ,wxSOUND_LOOP-     ,wxDRAG_COPYONLY-     ,wxDRAG_ALLOWMOVE-     ,wxDRAG_DEFALUTMOVE-     ,wxMEDIACTRLPLAYERCONTROLS_NONE-     ,wxMEDIACTRLPLAYERCONTROLS_STEP-     ,wxMEDIACTRLPLAYERCONTROLS_VOLUME-     ,wxMEDIACTRLPLAYERCONTROLS_DEFAULT-     ,wxACCEL_ALT-     ,wxACCEL_CTRL-     ,wxACCEL_SHIFT-     ,wxACCEL_NORMAL-     ,wxNULL_FLAG-     ,wxEVT_NULL-     ,wxEVT_FIRST-     ,wxJOYSTICK1-     ,wxJOYSTICK2-     ,wxJOY_BUTTON1-     ,wxJOY_BUTTON2-     ,wxJOY_BUTTON3-     ,wxJOY_BUTTON4-     ,wxUNKNOWN_PLATFORM-     ,wxCURSES-     ,wxXVIEW_X-     ,wxMOTIF_X-     ,wxCOSE_X-     ,wxNEXTSTEP-     ,wxMACINTOSH-     ,wxBEOS-     ,wxGTK-     ,wxGTK_WIN32-     ,wxGTK_OS2-     ,wxGTK_BEOS-     ,wxQT-     ,wxGEOS-     ,wxOS2_PM-     ,wxWINDOWS-     ,wxPENWINDOWS-     ,wxWINDOWS_NT-     ,wxWIN32S-     ,wxWIN95-     ,wxWIN386-     ,wxMGL_UNIX-     ,wxMGL_X-     ,wxMGL_WIN32-     ,wxMGL_OS2-     ,wxWINDOWS_OS2-     ,wxUNIX-     ,wxBIG_ENDIAN-     ,wxLITTLE_ENDIAN-     ,wxPDP_ENDIAN-     ,wxCENTRE-     ,wxCENTER-     ,wxCENTER_FRAME-     ,wxCENTRE_ON_SCREEN-     ,wxHORIZONTAL-     ,wxVERTICAL-     ,wxBOTH-     ,wxLEFT-     ,wxRIGHT-     ,wxUP-     ,wxDOWN-     ,wxTOP-     ,wxBOTTOM-     ,wxNORTH-     ,wxSOUTH-     ,wxWEST-     ,wxEAST-     ,wxALL-     ,wxALIGN_NOT-     ,wxALIGN_CENTER_HORIZONTAL-     ,wxALIGN_CENTRE_HORIZONTAL-     ,wxALIGN_LEFT-     ,wxALIGN_TOP-     ,wxALIGN_RIGHT-     ,wxALIGN_BOTTOM-     ,wxALIGN_CENTER_VERTICAL-     ,wxALIGN_CENTRE_VERTICAL-     ,wxALIGN_CENTER-     ,wxALIGN_CENTRE-     ,wxSTRETCH_NOT-     ,wxSHRINK-     ,wxGROW-     ,wxEXPAND-     ,wxSHAPED-     ,wxVSCROLL-     ,wxHSCROLL-     ,wxCAPTION-     ,wxDOUBLE_BORDER-     ,wxSUNKEN_BORDER-     ,wxRAISED_BORDER-     ,wxSTATIC_BORDER-     ,wxBORDER-     ,wxTRANSPARENT_WINDOW-     ,wxNO_BORDER-     ,wxUSER_COLOURS-     ,wxNO_3D-     ,wxCLIP_CHILDREN-     ,wxTAB_TRAVERSAL-     ,wxWANTS_CHARS-     ,wxRETAINED-     ,wxNO_FULL_REPAINT_ON_RESIZE-     ,wxWS_EX_VALIDATE_RECURSIVELY-     ,wxSTAY_ON_TOP-     ,wxICONIZE-     ,wxMAXIMIZE-     ,wxSYSTEM_MENU-     ,wxMINIMIZE_BOX-     ,wxMAXIMIZE_BOX-     ,wxDEFAULT_FRAME_STYLE-     ,wxTINY_CAPTION_HORIZ-     ,wxTINY_CAPTION_VERT-     ,wxRESIZE_BORDER-     ,wxDIALOG_MODAL-     ,wxDIALOG_MODELESS-     ,wxFRAME_FLOAT_ON_PARENT-     ,wxFRAME_NO_WINDOW_MENU-     ,wxED_CLIENT_MARGIN-     ,wxED_BUTTONS_BOTTOM-     ,wxED_BUTTONS_RIGHT-     ,wxED_STATIC_LINE-     ,wxTB_3DBUTTONS-     ,wxTB_FLAT-     ,wxTB_DOCKABLE-     ,wxMB_DOCKABLE-     ,wxMENU_TEAROFF-     ,wxCOLOURED-     ,wxFIXED_LENGTH-     ,wxLB_SORT-     ,wxLB_SINGLE-     ,wxLB_MULTIPLE-     ,wxLB_EXTENDED-     ,wxLB_OWNERDRAW-     ,wxLB_NEEDED_SB-     ,wxLB_ALWAYS_SB-     ,wxTE_READONLY-     ,wxTE_MULTILINE-     ,wxTE_PROCESS_TAB-     ,wxTE_RICH-     ,wxTE_NO_VSCROLL-     ,wxTE_AUTO_SCROLL-     ,wxPROCESS_ENTER-     ,wxPASSWORD-     ,wxCB_SIMPLE-     ,wxCB_SORT-     ,wxCB_READONLY-     ,wxCB_DROPDOWN-     ,wxRB_GROUP-     ,wxGA_PROGRESSBAR-     ,wxGA_SMOOTH-     ,wxSL_NOTIFY_DRAG-     ,wxSL_AUTOTICKS-     ,wxSL_LABELS-     ,wxSL_LEFT-     ,wxSL_TOP-     ,wxSL_RIGHT-     ,wxSL_BOTTOM-     ,wxSL_BOTH-     ,wxSL_SELRANGE-     ,wxBU_AUTODRAW-     ,wxBU_NOAUTODRAW-     ,wxBU_LEFT-     ,wxBU_TOP-     ,wxBU_RIGHT-     ,wxBU_BOTTOM-     ,wxLC_ICON-     ,wxLC_SMALL_ICON-     ,wxLC_LIST-     ,wxLC_REPORT-     ,wxLC_ALIGN_TOP-     ,wxLC_ALIGN_LEFT-     ,wxLC_AUTOARRANGE-     ,wxLC_USER_TEXT-     ,wxLC_EDIT_LABELS-     ,wxLC_NO_HEADER-     ,wxLC_NO_SORT_HEADER-     ,wxLC_SINGLE_SEL-     ,wxLC_SORT_ASCENDING-     ,wxLC_SORT_DESCENDING-     ,wxSP_ARROW_KEYS-     ,wxSP_WRAP-     ,wxSP_NOBORDER-     ,wxSP_NOSASH-     ,wxSP_BORDER-     ,wxSP_PERMIT_UNSPLIT-     ,wxSP_LIVE_UPDATE-     ,wxSP_3DSASH-     ,wxSP_3DBORDER-     ,wxSP_3D-     ,wxSP_FULLSASH-     ,wxFRAME_TOOL_WINDOW-     ,wxTC_MULTILINE-     ,wxTC_RIGHTJUSTIFY-     ,wxTC_FIXEDWIDTH-     ,wxTC_OWNERDRAW-     ,wxNB_FIXEDWIDTH-     ,wxST_SIZEGRIP-     ,wxST_NO_AUTORESIZE-     ,wxPD_CAN_ABORT-     ,wxPD_APP_MODAL-     ,wxPD_AUTO_HIDE-     ,wxPD_ELAPSED_TIME-     ,wxPD_ESTIMATED_TIME-     ,wxPD_REMAINING_TIME-     ,wxHW_SCROLLBAR_NEVER-     ,wxHW_SCROLLBAR_AUTO-     ,wxCAL_SUNDAY_FIRST-     ,wxCAL_MONDAY_FIRST-     ,wxCAL_SHOW_HOLIDAYS-     ,wxCAL_NO_YEAR_CHANGE-     ,wxCAL_NO_MONTH_CHANGE-     ,wxICON_EXCLAMATION-     ,wxICON_HAND-     ,wxICON_QUESTION-     ,wxICON_INFORMATION-     ,wxFORWARD-     ,wxBACKWARD-     ,wxRESET-     ,wxHELP-     ,wxMORE-     ,wxSETUP-     ,wxID_LOWEST-     ,wxID_OPEN-     ,wxID_CLOSE-     ,wxID_NEW-     ,wxID_SAVE-     ,wxID_SAVEAS-     ,wxID_REVERT-     ,wxID_EXIT-     ,wxID_UNDO-     ,wxID_REDO-     ,wxID_HELP-     ,wxID_PRINT-     ,wxID_PRINT_SETUP-     ,wxID_PREVIEW-     ,wxID_ABOUT-     ,wxID_HELP_CONTENTS-     ,wxID_HELP_COMMANDS-     ,wxID_HELP_PROCEDURES-     ,wxID_HELP_CONTEXT-     ,wxID_CLOSE_ALL-     ,wxID_PREFERENCES-     ,wxID_EDIT-     ,wxID_CUT-     ,wxID_COPY-     ,wxID_PASTE-     ,wxID_CLEAR-     ,wxID_FIND-     ,wxID_DUPLICATE-     ,wxID_SELECTALL-     ,wxID_DELETE-     ,wxID_REPLACE-     ,wxID_REPLACE_ALL-     ,wxID_PROPERTIES-     ,wxID_VIEW_DETAILS-     ,wxID_VIEW_LARGEICONS-     ,wxID_VIEW_SMALLICONS-     ,wxID_VIEW_LIST-     ,wxID_VIEW_SORTDATE-     ,wxID_VIEW_SORTNAME-     ,wxID_VIEW_SORTSIZE-     ,wxID_VIEW_SORTTYPE-     ,wxID_FILE1-     ,wxID_FILE2-     ,wxID_FILE3-     ,wxID_FILE4-     ,wxID_FILE5-     ,wxID_FILE6-     ,wxID_FILE7-     ,wxID_FILE8-     ,wxID_FILE9-     ,wxID_OK-     ,wxID_CANCEL-     ,wxID_APPLY-     ,wxID_YES-     ,wxID_NO-     ,wxID_STATIC-     ,wxID_FORWARD-     ,wxID_BACKWARD-     ,wxID_DEFAULT-     ,wxID_MORE-     ,wxID_SETUP-     ,wxID_RESET-     ,wxID_FILEDLGG-     ,wxID_HIGHEST-     ,wxSIZE_AUTO_WIDTH-     ,wxSIZE_AUTO_HEIGHT-     ,wxSIZE_USE_EXISTING-     ,wxSIZE_ALLOW_MINUS_ONE-     ,wxSIZE_NO_ADJUSTMENTS-     ,wxSOLID-     ,wxDOT-     ,wxLONG_DASH-     ,wxSHORT_DASH-     ,wxDOT_DASH-     ,wxUSER_DASH-     ,wxTRANSPARENT-     ,wxSTIPPLE_MASK_OPAQUE-     ,wxSTIPPLE_MASK-     ,wxSTIPPLE-     ,wxBDIAGONAL_HATCH-     ,wxCROSSDIAG_HATCH-     ,wxFDIAGONAL_HATCH-     ,wxCROSS_HATCH-     ,wxHORIZONTAL_HATCH-     ,wxVERTICAL_HATCH-     ,wxJOIN_BEVEL-     ,wxJOIN_MITER-     ,wxJOIN_ROUND-     ,wxCAP_ROUND-     ,wxCAP_PROJECTING-     ,wxCAP_BUTT-     ,wxCLEAR-     ,wxXOR-     ,wxINVERT-     ,wxOR_REVERSE-     ,wxAND_REVERSE-     ,wxCOPY-     ,wxAND-     ,wxAND_INVERT-     ,wxNO_OP-     ,wxNOR-     ,wxEQUIV-     ,wxSRC_INVERT-     ,wxOR_INVERT-     ,wxNAND-     ,wxOR-     ,wxSET-     ,wxFLOOD_SURFACE-     ,wxFLOOD_BORDER-     ,wxODDEVEN_RULE-     ,wxWINDING_RULE-     ,wxTOOL_TOP-     ,wxTOOL_BOTTOM-     ,wxTOOL_LEFT-     ,wxTOOL_RIGHT-     ,wxDF_INVALID-     ,wxDF_TEXT-     ,wxDF_BITMAP-     ,wxDF_METAFILE-     ,wxDF_SYLK-     ,wxDF_DIF-     ,wxDF_TIFF-     ,wxDF_OEMTEXT-     ,wxDF_DIB-     ,wxDF_PALETTE-     ,wxDF_PENDATA-     ,wxDF_RIFF-     ,wxDF_WAVE-     ,wxDF_UNICODETEXT-     ,wxDF_ENHMETAFILE-     ,wxDF_FILENAME-     ,wxDF_LOCALE-     ,wxDF_PRIVATE-     ,wxDF_MAX-     ,wxMM_TEXT-     ,wxMM_LOMETRIC-     ,wxMM_HIMETRIC-     ,wxMM_LOENGLISH-     ,wxMM_HIENGLISH-     ,wxMM_TWIPS-     ,wxMM_ISOTROPIC-     ,wxMM_ANISOTROPIC-     ,wxMM_POINTS-     ,wxMM_METRIC-     ,wxPAPER_NONE-     ,wxPAPER_LETTER-     ,wxPAPER_LEGAL-     ,wxPAPER_A4-     ,wxPAPER_CSHEET-     ,wxPAPER_DSHEET-     ,wxPAPER_ESHEET-     ,wxPAPER_LETTERSMALL-     ,wxPAPER_TABLOID-     ,wxPAPER_LEDGER-     ,wxPAPER_STATEMENT-     ,wxPAPER_EXECUTIVE-     ,wxPAPER_A3-     ,wxPAPER_A4SMALL-     ,wxPAPER_A5-     ,wxPAPER_B4-     ,wxPAPER_B5-     ,wxPAPER_FOLIO-     ,wxPAPER_QUARTO-     ,wxPAPER_10X14-     ,wxPAPER_11X17-     ,wxPAPER_NOTE-     ,wxPAPER_ENV_9-     ,wxPAPER_ENV_10-     ,wxPAPER_ENV_11-     ,wxPAPER_ENV_12-     ,wxPAPER_ENV_14-     ,wxPAPER_ENV_DL-     ,wxPAPER_ENV_C5-     ,wxPAPER_ENV_C3-     ,wxPAPER_ENV_C4-     ,wxPAPER_ENV_C6-     ,wxPAPER_ENV_C65-     ,wxPAPER_ENV_B4-     ,wxPAPER_ENV_B5-     ,wxPAPER_ENV_B6-     ,wxPAPER_ENV_ITALY-     ,wxPAPER_ENV_MONARCH-     ,wxPAPER_ENV_PERSONAL-     ,wxPAPER_FANFOLD_US-     ,wxPAPER_FANFOLD_STD_GERMAN-     ,wxPAPER_FANFOLD_LGL_GERMAN-     ,wxPAPER_ISO_B4-     ,wxPAPER_JAPANESE_POSTCARD-     ,wxPAPER_9X11-     ,wxPAPER_10X11-     ,wxPAPER_15X11-     ,wxPAPER_ENV_INVITE-     ,wxPAPER_LETTER_EXTRA-     ,wxPAPER_LEGAL_EXTRA-     ,wxPAPER_TABLOID_EXTRA-     ,wxPAPER_A4_EXTRA-     ,wxPAPER_LETTER_TRANSVERSE-     ,wxPAPER_A4_TRANSVERSE-     ,wxPAPER_LETTER_EXTRA_TRANSVERSE-     ,wxPAPER_A_PLUS-     ,wxPAPER_B_PLUS-     ,wxPAPER_LETTER_PLUS-     ,wxPAPER_A4_PLUS-     ,wxPAPER_A5_TRANSVERSE-     ,wxPAPER_B5_TRANSVERSE-     ,wxPAPER_A3_EXTRA-     ,wxPAPER_A5_EXTRA-     ,wxPAPER_B5_EXTRA-     ,wxPAPER_A2-     ,wxPAPER_A3_TRANSVERSE-     ,wxPAPER_A3_EXTRA_TRANSVERSE-     ,wxPORTRAIT-     ,wxLANDSCAPE-     ,wxDUPLEX_SIMPLEX-     ,wxDUPLEX_HORIZONTAL-     ,wxDUPLEX_VERTICAL-     ,wxPRINT_MODE_NONE-     ,wxPRINT_MODE_PREVIEW-     ,wxPRINT_MODE_FILE-     ,wxPRINT_MODE_PRINTER-     ,wxFULLSCREEN_NOMENUBAR-     ,wxFULLSCREEN_NOTOOLBAR-     ,wxFULLSCREEN_NOSTATUSBAR-     ,wxFULLSCREEN_NOBORDER-     ,wxFULLSCREEN_NOCAPTION-     ,wxLAYOUT_DEFAULT_MARGIN-     ,wxEDGE_LEFT-     ,wxEDGE_TOP-     ,wxEDGE_RIGHT-     ,wxEDGE_BOTTOM-     ,wxEDGE_WIDTH-     ,wxEDGE_HEIGHT-     ,wxEDGE_CENTER-     ,wxEDGE_CENTREX-     ,wxEDGE_CENTREY-     ,wxRELATIONSHIP_UNCONSTRAINED-     ,wxRELATIONSHIP_ASIS-     ,wxRELATIONSHIP_PERCENTOF-     ,wxRELATIONSHIP_ABOVE-     ,wxRELATIONSHIP_BELOW-     ,wxRELATIONSHIP_LEFTOF-     ,wxRELATIONSHIP_RIGHTOF-     ,wxRELATIONSHIP_SAMEAS-     ,wxRELATIONSHIP_ABSOLUTE-     ,wxFONTENCODING_SYSTEM-     ,wxFONTENCODING_DEFAULT-     ,wxFONTENCODING_ISO8859_1-     ,wxFONTENCODING_ISO8859_2-     ,wxFONTENCODING_ISO8859_3-     ,wxFONTENCODING_ISO8859_4-     ,wxFONTENCODING_ISO8859_5-     ,wxFONTENCODING_ISO8859_6-     ,wxFONTENCODING_ISO8859_7-     ,wxFONTENCODING_ISO8859_8-     ,wxFONTENCODING_ISO8859_9-     ,wxFONTENCODING_ISO8859_10-     ,wxFONTENCODING_ISO8859_11-     ,wxFONTENCODING_ISO8859_12-     ,wxFONTENCODING_ISO8859_13-     ,wxFONTENCODING_ISO8859_14-     ,wxFONTENCODING_ISO8859_15-     ,wxFONTENCODING_ISO8859_MAX-     ,wxFONTENCODING_KOI8-     ,wxFONTENCODING_ALTERNATIVE-     ,wxFONTENCODING_BULGARIAN-     ,wxFONTENCODING_CP437-     ,wxFONTENCODING_CP850-     ,wxFONTENCODING_CP852-     ,wxFONTENCODING_CP855-     ,wxFONTENCODING_CP866-     ,wxFONTENCODING_CP874-     ,wxFONTENCODING_CP1250-     ,wxFONTENCODING_CP1251-     ,wxFONTENCODING_CP1252-     ,wxFONTENCODING_CP1253-     ,wxFONTENCODING_CP1254-     ,wxFONTENCODING_CP1255-     ,wxFONTENCODING_CP1256-     ,wxFONTENCODING_CP1257-     ,wxFONTENCODING_CP12_MAX-     ,wxFONTENCODING_UNICODE-     ,wxFONTENCODING_MAX-     ,wxGRIDTABLE_REQUEST_VIEW_GET_VALUES-     ,wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES-     ,wxGRIDTABLE_NOTIFY_ROWS_INSERTED-     ,wxGRIDTABLE_NOTIFY_ROWS_APPENDED-     ,wxGRIDTABLE_NOTIFY_ROWS_DELETED-     ,wxGRIDTABLE_NOTIFY_COLS_INSERTED-     ,wxGRIDTABLE_NOTIFY_COLS_APPENDED-     ,wxGRIDTABLE_NOTIFY_COLS_DELETED-     ,wxGridSelectCells-     ,wxGridSelectRows-     ,wxGridSelectColumns-     ,wxFILTER_NONE-     ,wxFILTER_ASCII-     ,wxFILTER_ALPHA-     ,wxFILTER_ALPHANUMERIC-     ,wxFILTER_NUMERIC-     ,wxFILTER_INCLUDE_LIST-     ,wxFILTER_EXCLUDE_LIST-     ,wxFILTER_UPPER_CASE-     ,wxFILTER_LOWER_CASE-     ,wxBITMAP_TYPE_INVALID-     ,wxBITMAP_TYPE_BMP-     ,wxBITMAP_TYPE_BMP_RESOURCE-     ,wxBITMAP_TYPE_RESOURCE-     ,wxBITMAP_TYPE_ICO-     ,wxBITMAP_TYPE_ICO_RESOURCE-     ,wxBITMAP_TYPE_CUR-     ,wxBITMAP_TYPE_CUR_RESOURCE-     ,wxBITMAP_TYPE_XBM-     ,wxBITMAP_TYPE_XBM_DATA-     ,wxBITMAP_TYPE_XPM-     ,wxBITMAP_TYPE_XPM_DATA-     ,wxBITMAP_TYPE_TIF-     ,wxBITMAP_TYPE_TIF_RESOURCE-     ,wxBITMAP_TYPE_GIF-     ,wxBITMAP_TYPE_GIF_RESOURCE-     ,wxBITMAP_TYPE_PNG-     ,wxBITMAP_TYPE_PNG_RESOURCE-     ,wxBITMAP_TYPE_JPEG-     ,wxBITMAP_TYPE_JPEG_RESOURCE-     ,wxBITMAP_TYPE_PNM-     ,wxBITMAP_TYPE_PNM_RESOURCE-     ,wxBITMAP_TYPE_PCX-     ,wxBITMAP_TYPE_PCX_RESOURCE-     ,wxBITMAP_TYPE_PICT-     ,wxBITMAP_TYPE_PICT_RESOURCE-     ,wxBITMAP_TYPE_ICON-     ,wxBITMAP_TYPE_ICON_RESOURCE-     ,wxBITMAP_TYPE_MACCURSOR-     ,wxBITMAP_TYPE_MACCURSOR_RESOURCE-     ,wxBITMAP_TYPE_ANY-     ,wxCURSOR_NONE-     ,wxCURSOR_ARROW-     ,wxCURSOR_RIGHT_ARROW-     ,wxCURSOR_BULLSEYE-     ,wxCURSOR_CHAR-     ,wxCURSOR_CROSS-     ,wxCURSOR_HAND-     ,wxCURSOR_IBEAM-     ,wxCURSOR_LEFT_BUTTON-     ,wxCURSOR_MAGNIFIER-     ,wxCURSOR_MIDDLE_BUTTON-     ,wxCURSOR_NO_ENTRY-     ,wxCURSOR_PAINT_BRUSH-     ,wxCURSOR_PENCIL-     ,wxCURSOR_POINT_LEFT-     ,wxCURSOR_POINT_RIGHT-     ,wxCURSOR_QUESTION_ARROW-     ,wxCURSOR_RIGHT_BUTTON-     ,wxCURSOR_SIZENESW-     ,wxCURSOR_SIZENS-     ,wxCURSOR_SIZENWSE-     ,wxCURSOR_SIZEWE-     ,wxCURSOR_SIZING-     ,wxCURSOR_SPRAYCAN-     ,wxCURSOR_WAIT-     ,wxCURSOR_WATCH-     ,wxCURSOR_BLANK-     ,wxOPEN-     ,wxSAVE-     ,wxOVERWRITE_PROMPT-     ,wxHIDE_READONLY-     ,wxFILE_MUST_EXIST-     ,wxMULTIPLE-     ,wxCHANGE_DIR-     ,wxDRAG_ERROR-     ,wxDRAG_NONE-     ,wxDRAG_COPY-     ,wxDRAG_MOVE-     ,wxDRAG_LINK-     ,wxDRAG_CANCEL-     ,wxSPLIT_HORIZONTAL-     ,wxSPLIT_VERTICAL-     ,wxLIST_FORMAT_LEFT-     ,wxLIST_FORMAT_RIGHT-     ,wxLIST_FORMAT_CENTRE-     ,wxLIST_FORMAT_CENTER-     ,wxLIST_STATE_DONTCARE-     ,wxLIST_STATE_DROPHILITED-     ,wxLIST_STATE_FOCUSED-     ,wxLIST_STATE_SELECTED-     ,wxLIST_STATE_CUT-     ,wxLIST_MASK_STATE-     ,wxLIST_MASK_TEXT-     ,wxLIST_MASK_IMAGE-     ,wxLIST_MASK_DATA-     ,wxLIST_MASK_WIDTH-     ,wxLIST_MASK_FORMAT-     ,wxLIST_NEXT_ABOVE-     ,wxLIST_NEXT_ALL-     ,wxLIST_NEXT_BELOW-     ,wxLIST_NEXT_LEFT-     ,wxLIST_NEXT_RIGHT-     ,wxRA_SPECIFY_COLS-     ,wxRA_SPECIFY_ROWS-     ,wxTREE_HITTEST_ABOVE-     ,wxTREE_HITTEST_BELOW-     ,wxTREE_HITTEST_NOWHERE-     ,wxTREE_HITTEST_ONITEMBUTTON-     ,wxTREE_HITTEST_ONITEMICON-     ,wxTREE_HITTEST_ONITEMINDENT-     ,wxTREE_HITTEST_ONITEMLABEL-     ,wxTREE_HITTEST_ONITEMRIGHT-     ,wxTREE_HITTEST_ONITEMSTATEICON-     ,wxTREE_HITTEST_TOLEFT-     ,wxTREE_HITTEST_TORIGHT-     ,wxTREE_HITTEST_ONITEMUPPERPART-     ,wxTREE_HITTEST_ONITEMLOWERPART-     ,wxTREE_HITTEST_ONITEM-     ,wxDEFAULT-     ,wxDECORATIVE-     ,wxROMAN-     ,wxSCRIPT-     ,wxSWISS-     ,wxMODERN-     ,wxTELETYPE-     ,wxVARIABLE-     ,wxFIXED-     ,wxNORMAL-     ,wxLIGHT-     ,wxBOLD-     ,wxITALIC-     ,wxSLANT-     ,wxBLUE_BRUSH-     ,wxGREEN_BRUSH-     ,wxWHITE_BRUSH-     ,wxBLACK_BRUSH-     ,wxGREY_BRUSH-     ,wxMEDIUM_GREY_BRUSH-     ,wxLIGHT_GREY_BRUSH-     ,wxTRANSPARENT_BRUSH-     ,wxCYAN_BRUSH-     ,wxRED_BRUSH-     ,wxBLACK-     ,wxWHITE-     ,wxRED-     ,wxBLUE-     ,wxGREEN-     ,wxCYAN-     ,wxLIGHT_GREY-     ,wxRED_PEN-     ,wxCYAN_PEN-     ,wxGREEN_PEN-     ,wxBLACK_PEN-     ,wxWHITE_PEN-     ,wxTRANSPARENT_PEN-     ,wxBLACK_DASHED_PEN-     ,wxGREY_PEN-     ,wxMEDIUM_GREY_PEN-     ,wxLIGHT_GREY_PEN-     ,wxNOT_FOUND-     ,wxPRINTER_NO_ERROR-     ,wxPRINTER_CANCELLED-     ,wxPRINTER_ERROR-     ,wxPREVIEW_PRINT-     ,wxPREVIEW_PREVIOUS-     ,wxPREVIEW_NEXT-     ,wxPREVIEW_ZOOM-     ,wxPREVIEW_FIRST-     ,wxPREVIEW_LAST-     ,wxPREVIEW_GOTO-     ,wxPREVIEW_DEFAULT-     ,wxID_PREVIEW_CLOSE-     ,wxID_PREVIEW_NEXT-     ,wxID_PREVIEW_PREVIOUS-     ,wxID_PREVIEW_PRINT-     ,wxID_PREVIEW_ZOOM-     ,wxID_PREVIEW_FIRST-     ,wxID_PREVIEW_LAST-     ,wxID_PREVIEW_GOTO-     ,wxPRINTID_STATIC-     ,wxPRINTID_RANGE-     ,wxPRINTID_FROM-     ,wxPRINTID_TO-     ,wxPRINTID_COPIES-     ,wxPRINTID_PRINTTOFILE-     ,wxPRINTID_SETUP-     ,wxPRINTID_LEFTMARGIN-     ,wxPRINTID_RIGHTMARGIN-     ,wxPRINTID_TOPMARGIN-     ,wxPRINTID_BOTTOMMARGIN-     ,wxPRINTID_PRINTCOLOUR-     ,wxPRINTID_ORIENTATION-     ,wxPRINTID_COMMAND-     ,wxPRINTID_OPTIONS-     ,wxPRINTID_PAPERSIZE-     ,wxHF_TOOLBAR-     ,wxHF_CONTENTS-     ,wxHF_INDEX-     ,wxHF_SEARCH-     ,wxHF_BOOKMARKS-     ,wxHF_OPENFILES-     ,wxHF_PRINT-     ,wxHF_FLATTOOLBAR-     ,wxHF_DEFAULTSTYLE-     ,wxLAYOUT_HORIZONTAL-     ,wxLAYOUT_VERTICAL-     ,wxLAYOUT_NONE-     ,wxLAYOUT_TOP-     ,wxLAYOUT_LEFT-     ,wxLAYOUT_RIGHT-     ,wxLAYOUT_BOTTOM-     ,wxSASH_DRAG_NONE-     ,wxSASH_DRAG_DRAGGING-     ,wxSASH_DRAG_LEFT_DOWN-     ,wxSASH_TOP-     ,wxSASH_RIGHT-     ,wxSASH_BOTTOM-     ,wxSASH_LEFT-     ,wxSASH_NONE-     ,wxSW_NOBORDER-     ,wxSW_BORDER-     ,wxSW_3DSASH-     ,wxSW_3DBORDER-     ,wxSW_3D-     ,wxSASH_STATUS_OK-     ,wxSASH_STATUS_OUT_OF_RANGE-     ,wxXRC_NONE-     ,wxXRC_USE_LOCALE-     ,wxXRC_NO_SUBCLASSING-     ,wxXRC_NO_RELOADING-     ,wxSYS_WHITE_BRUSH-     ,wxSYS_LTGRAY_BRUSH-     ,wxSYS_GRAY_BRUSH-     ,wxSYS_DKGRAY_BRUSH-     ,wxSYS_BLACK_BRUSH-     ,wxSYS_NULL_BRUSH-     ,wxSYS_HOLLOW_BRUSH-     ,wxSYS_WHITE_PEN-     ,wxSYS_BLACK_PEN-     ,wxSYS_NULL_PEN-     ,wxSYS_OEM_FIXED_FONT-     ,wxSYS_ANSI_FIXED_FONT-     ,wxSYS_ANSI_VAR_FONT-     ,wxSYS_SYSTEM_FONT-     ,wxSYS_DEVICE_DEFAULT_FONT-     ,wxSYS_DEFAULT_PALETTE-     ,wxSYS_SYSTEM_FIXED_FONT-     ,wxSYS_DEFAULT_GUI_FONT-     ,wxSYS_COLOUR_SCROLLBAR-     ,wxSYS_COLOUR_BACKGROUND-     ,wxSYS_COLOUR_ACTIVECAPTION-     ,wxSYS_COLOUR_INACTIVECAPTION-     ,wxSYS_COLOUR_MENU-     ,wxSYS_COLOUR_WINDOW-     ,wxSYS_COLOUR_WINDOWFRAME-     ,wxSYS_COLOUR_MENUTEXT-     ,wxSYS_COLOUR_WINDOWTEXT-     ,wxSYS_COLOUR_CAPTIONTEXT-     ,wxSYS_COLOUR_ACTIVEBORDER-     ,wxSYS_COLOUR_INACTIVEBORDER-     ,wxSYS_COLOUR_APPWORKSPACE-     ,wxSYS_COLOUR_HIGHLIGHT-     ,wxSYS_COLOUR_HIGHLIGHTTEXT-     ,wxSYS_COLOUR_BTNFACE-     ,wxSYS_COLOUR_BTNSHADOW-     ,wxSYS_COLOUR_GRAYTEXT-     ,wxSYS_COLOUR_BTNTEXT-     ,wxSYS_COLOUR_INACTIVECAPTIONTEXT-     ,wxSYS_COLOUR_BTNHIGHLIGHT-     ,wxSYS_COLOUR_3DDKSHADOW-     ,wxSYS_COLOUR_3DLIGHT-     ,wxSYS_COLOUR_INFOTEXT-     ,wxSYS_COLOUR_INFOBK-     ,wxSYS_COLOUR_LISTBOX-     ,wxSYS_COLOUR_DESKTOP-     ,wxSYS_COLOUR_3DFACE-     ,wxSYS_COLOUR_3DSHADOW-     ,wxSYS_COLOUR_3DHIGHLIGHT-     ,wxSYS_COLOUR_3DHILIGHT-     ,wxSYS_COLOUR_BTNHILIGHT-     ,wxSYS_MOUSE_BUTTONS-     ,wxSYS_BORDER_X-     ,wxSYS_BORDER_Y-     ,wxSYS_CURSOR_X-     ,wxSYS_CURSOR_Y-     ,wxSYS_DCLICK_X-     ,wxSYS_DCLICK_Y-     ,wxSYS_DRAG_X-     ,wxSYS_DRAG_Y-     ,wxSYS_EDGE_X-     ,wxSYS_EDGE_Y-     ,wxSYS_HSCROLL_ARROW_X-     ,wxSYS_HSCROLL_ARROW_Y-     ,wxSYS_HTHUMB_X-     ,wxSYS_ICON_X-     ,wxSYS_ICON_Y-     ,wxSYS_ICONSPACING_X-     ,wxSYS_ICONSPACING_Y-     ,wxSYS_WINDOWMIN_X-     ,wxSYS_WINDOWMIN_Y-     ,wxSYS_SCREEN_X-     ,wxSYS_SCREEN_Y-     ,wxSYS_FRAMESIZE_X-     ,wxSYS_FRAMESIZE_Y-     ,wxSYS_SMALLICON_X-     ,wxSYS_SMALLICON_Y-     ,wxSYS_HSCROLL_Y-     ,wxSYS_VSCROLL_X-     ,wxSYS_VSCROLL_ARROW_X-     ,wxSYS_VSCROLL_ARROW_Y-     ,wxSYS_VTHUMB_Y-     ,wxSYS_CAPTION_Y-     ,wxSYS_MENU_Y-     ,wxSYS_NETWORK_PRESENT-     ,wxSYS_PENWINDOWS_PRESENT-     ,wxSYS_SHOW_SOUNDS-     ,wxSYS_SWAP_BUTTONS-     ,wxSYS_SCREEN_NONE-     ,wxSYS_SCREEN_TINY-     ,wxSYS_SCREEN_PDA-     ,wxSYS_SCREEN_SMALL-     ,wxSYS_SCREEN_DESKTOP-     ,wxCAL_BORDER_NONE-     ,wxCAL_BORDER_SQUARE-     ,wxCAL_BORDER_ROUND-     ,wxCAL_HITTEST_NOWHERE-     ,wxCAL_HITTEST_HEADER-     ,wxCAL_HITTEST_DAY-     ,wxUNKNOWN-     ,wxSTRING-     ,wxBOOLEAN-     ,wxINTEGER-     ,wxFLOAT-     ,wxMUTEX_NO_ERROR-     ,wxMUTEX_DEAD_LOCK-     ,wxMUTEX_BUSY-     ,wxMUTEX_UNLOCKED-     ,wxMUTEX_MISC_ERROR-     ,wxPLATFORM_CURRENT-     ,wxPLATFORM_UNIX-     ,wxPLATFORM_WINDOWS-     ,wxPLATFORM_OS2-     ,wxPLATFORM_MAC-     ,wxLED_ALIGN_LEFT-     ,wxLED_ALIGN_RIGHT-     ,wxLED_ALIGN_CENTER-     ,wxLED_ALIGN_MASK-     ,wxLED_DRAW_FADED-     ,wxDS_MANAGE_SCROLLBARS-     ,wxDS_DRAG_CORNER-     ,wxEL_ALLOW_NEW-     ,wxEL_ALLOW_EDIT-     ,wxEL_ALLOW_DELETE-     ,wxTR_NO_BUTTONS-     ,wxTR_HAS_BUTTONS-     ,wxTR_TWIST_BUTTONS-     ,wxTR_NO_LINES-     ,wxTR_LINES_AT_ROOT-     ,wxTR_AQUA_BUTTONS-     ,wxTR_SINGLE-     ,wxTR_MULTIPLE-     ,wxTR_EXTENDED-     ,wxTR_FULL_ROW_HIGHLIGHT-     ,wxTR_EDIT_LABELS-     ,wxTR_ROW_LINES-     ,wxTR_HIDE_ROOT-     ,wxTR_HAS_VARIABLE_ROW_HEIGHT-     ,wxCBAR_DOCKED_HORIZONTALLY-     ,wxCBAR_DOCKED_VERTICALLY-     ,wxCBAR_FLOATING-     ,wxCBAR_HIDDEN-     ,fL_ALIGN_TOP-     ,fL_ALIGN_BOTTOM-     ,fL_ALIGN_LEFT-     ,fL_ALIGN_RIGHT-     ,fL_ALIGN_TOP_PANE-     ,fL_ALIGN_BOTTOM_PANE-     ,fL_ALIGN_LEFT_PANE-     ,fL_ALIGN_RIGHT_PANE-     ,wxALL_PANES-     ,cB_NO_ITEMS_HITTED-     ,cB_UPPER_ROW_HANDLE_HITTED-     ,cB_LOWER_ROW_HANDLE_HITTED-     ,cB_LEFT_BAR_HANDLE_HITTED-     ,cB_RIGHT_BAR_HANDLE_HITTED-     ,cB_BAR_CONTENT_HITTED-     ,wxOK-     ,wxYES-     ,wxNO-     ,wxYES_NO-     ,wxCANCEL-     ,wxNO_DEFAULT-     ,wxYES_DEFAULT-     ,wxFR_DOWN-     ,wxFR_WHOLEWORD-     ,wxFR_MATCHCASE-     ,wxFR_REPLACEDIALOG-     ,wxFR_NOUPDOWN-     ,wxFR_NOMATCHCASE-     ,wxFR_NOWHOLEWORD-     ,wxQUANTIZE_INCLUDE_WINDOWS_COLOURS-     ,wxQUANTIZE_RETURN_8BIT_DATA-     ,wxQUANTIZE_FILL_DESTINATION_IMAGE-     ,wxLANGUAGE_DEFAULT-     ,wxLANGUAGE_UNKNOWN-     ,wxLANGUAGE_ABKHAZIAN-     ,wxLANGUAGE_AFAR-     ,wxLANGUAGE_AFRIKAANS-     ,wxLANGUAGE_ALBANIAN-     ,wxLANGUAGE_AMHARIC-     ,wxLANGUAGE_ARABIC-     ,wxLANGUAGE_ARABIC_ALGERIA-     ,wxLANGUAGE_ARABIC_BAHRAIN-     ,wxLANGUAGE_ARABIC_EGYPT-     ,wxLANGUAGE_ARABIC_IRAQ-     ,wxLANGUAGE_ARABIC_JORDAN-     ,wxLANGUAGE_ARABIC_KUWAIT-     ,wxLANGUAGE_ARABIC_LEBANON-     ,wxLANGUAGE_ARABIC_LIBYA-     ,wxLANGUAGE_ARABIC_MOROCCO-     ,wxLANGUAGE_ARABIC_OMAN-     ,wxLANGUAGE_ARABIC_QATAR-     ,wxLANGUAGE_ARABIC_SAUDI_ARABIA-     ,wxLANGUAGE_ARABIC_SUDAN-     ,wxLANGUAGE_ARABIC_SYRIA-     ,wxLANGUAGE_ARABIC_TUNISIA-     ,wxLANGUAGE_ARABIC_UAE-     ,wxLANGUAGE_ARABIC_YEMEN-     ,wxLANGUAGE_ARMENIAN-     ,wxLANGUAGE_ASSAMESE-     ,wxLANGUAGE_AYMARA-     ,wxLANGUAGE_AZERI-     ,wxLANGUAGE_AZERI_CYRILLIC-     ,wxLANGUAGE_AZERI_LATIN-     ,wxLANGUAGE_BASHKIR-     ,wxLANGUAGE_BASQUE-     ,wxLANGUAGE_BELARUSIAN-     ,wxLANGUAGE_BENGALI-     ,wxLANGUAGE_BHUTANI-     ,wxLANGUAGE_BIHARI-     ,wxLANGUAGE_BISLAMA-     ,wxLANGUAGE_BRETON-     ,wxLANGUAGE_BULGARIAN-     ,wxLANGUAGE_BURMESE-     ,wxLANGUAGE_CAMBODIAN-     ,wxLANGUAGE_CATALAN-     ,wxLANGUAGE_CHINESE-     ,wxLANGUAGE_CHINESE_SIMPLIFIED-     ,wxLANGUAGE_CHINESE_TRADITIONAL-     ,wxLANGUAGE_CHINESE_HONGKONG-     ,wxLANGUAGE_CHINESE_MACAU-     ,wxLANGUAGE_CHINESE_SINGAPORE-     ,wxLANGUAGE_CHINESE_TAIWAN-     ,wxLANGUAGE_CORSICAN-     ,wxLANGUAGE_CROATIAN-     ,wxLANGUAGE_CZECH-     ,wxLANGUAGE_DANISH-     ,wxLANGUAGE_DUTCH-     ,wxLANGUAGE_DUTCH_BELGIAN-     ,wxLANGUAGE_ENGLISH-     ,wxLANGUAGE_ENGLISH_UK-     ,wxLANGUAGE_ENGLISH_US-     ,wxLANGUAGE_ENGLISH_AUSTRALIA-     ,wxLANGUAGE_ENGLISH_BELIZE-     ,wxLANGUAGE_ENGLISH_BOTSWANA-     ,wxLANGUAGE_ENGLISH_CANADA-     ,wxLANGUAGE_ENGLISH_CARIBBEAN-     ,wxLANGUAGE_ENGLISH_DENMARK-     ,wxLANGUAGE_ENGLISH_EIRE-     ,wxLANGUAGE_ENGLISH_JAMAICA-     ,wxLANGUAGE_ENGLISH_NEW_ZEALAND-     ,wxLANGUAGE_ENGLISH_PHILIPPINES-     ,wxLANGUAGE_ENGLISH_SOUTH_AFRICA-     ,wxLANGUAGE_ENGLISH_TRINIDAD-     ,wxLANGUAGE_ENGLISH_ZIMBABWE-     ,wxLANGUAGE_ESPERANTO-     ,wxLANGUAGE_ESTONIAN-     ,wxLANGUAGE_FAEROESE-     ,wxLANGUAGE_FARSI-     ,wxLANGUAGE_FIJI-     ,wxLANGUAGE_FINNISH-     ,wxLANGUAGE_FRENCH-     ,wxLANGUAGE_FRENCH_BELGIAN-     ,wxLANGUAGE_FRENCH_CANADIAN-     ,wxLANGUAGE_FRENCH_LUXEMBOURG-     ,wxLANGUAGE_FRENCH_MONACO-     ,wxLANGUAGE_FRENCH_SWISS-     ,wxLANGUAGE_FRISIAN-     ,wxLANGUAGE_GALICIAN-     ,wxLANGUAGE_GEORGIAN-     ,wxLANGUAGE_GERMAN-     ,wxLANGUAGE_GERMAN_AUSTRIAN-     ,wxLANGUAGE_GERMAN_BELGIUM-     ,wxLANGUAGE_GERMAN_LIECHTENSTEIN-     ,wxLANGUAGE_GERMAN_LUXEMBOURG-     ,wxLANGUAGE_GERMAN_SWISS-     ,wxLANGUAGE_GREEK-     ,wxLANGUAGE_GREENLANDIC-     ,wxLANGUAGE_GUARANI-     ,wxLANGUAGE_GUJARATI-     ,wxLANGUAGE_HAUSA-     ,wxLANGUAGE_HEBREW-     ,wxLANGUAGE_HINDI-     ,wxLANGUAGE_HUNGARIAN-     ,wxLANGUAGE_ICELANDIC-     ,wxLANGUAGE_INDONESIAN-     ,wxLANGUAGE_INTERLINGUA-     ,wxLANGUAGE_INTERLINGUE-     ,wxLANGUAGE_INUKTITUT-     ,wxLANGUAGE_INUPIAK-     ,wxLANGUAGE_IRISH-     ,wxLANGUAGE_ITALIAN-     ,wxLANGUAGE_ITALIAN_SWISS-     ,wxLANGUAGE_JAPANESE-     ,wxLANGUAGE_JAVANESE-     ,wxLANGUAGE_KANNADA-     ,wxLANGUAGE_KASHMIRI-     ,wxLANGUAGE_KASHMIRI_INDIA-     ,wxLANGUAGE_KAZAKH-     ,wxLANGUAGE_KERNEWEK-     ,wxLANGUAGE_KINYARWANDA-     ,wxLANGUAGE_KIRGHIZ-     ,wxLANGUAGE_KIRUNDI-     ,wxLANGUAGE_KONKANI-     ,wxLANGUAGE_KOREAN-     ,wxLANGUAGE_KURDISH-     ,wxLANGUAGE_LAOTHIAN-     ,wxLANGUAGE_LATIN-     ,wxLANGUAGE_LATVIAN-     ,wxLANGUAGE_LINGALA-     ,wxLANGUAGE_LITHUANIAN-     ,wxLANGUAGE_MACEDONIAN-     ,wxLANGUAGE_MALAGASY-     ,wxLANGUAGE_MALAY-     ,wxLANGUAGE_MALAYALAM-     ,wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM-     ,wxLANGUAGE_MALAY_MALAYSIA-     ,wxLANGUAGE_MALTESE-     ,wxLANGUAGE_MANIPURI-     ,wxLANGUAGE_MAORI-     ,wxLANGUAGE_MARATHI-     ,wxLANGUAGE_MOLDAVIAN-     ,wxLANGUAGE_MONGOLIAN-     ,wxLANGUAGE_NAURU-     ,wxLANGUAGE_NEPALI-     ,wxLANGUAGE_NEPALI_INDIA-     ,wxLANGUAGE_NORWEGIAN_BOKMAL-     ,wxLANGUAGE_NORWEGIAN_NYNORSK-     ,wxLANGUAGE_OCCITAN-     ,wxLANGUAGE_ORIYA-     ,wxLANGUAGE_OROMO-     ,wxLANGUAGE_PASHTO-     ,wxLANGUAGE_POLISH-     ,wxLANGUAGE_PORTUGUESE-     ,wxLANGUAGE_PORTUGUESE_BRAZILIAN-     ,wxLANGUAGE_PUNJABI-     ,wxLANGUAGE_QUECHUA-     ,wxLANGUAGE_RHAETO_ROMANCE-     ,wxLANGUAGE_ROMANIAN-     ,wxLANGUAGE_RUSSIAN-     ,wxLANGUAGE_RUSSIAN_UKRAINE-     ,wxLANGUAGE_SAMOAN-     ,wxLANGUAGE_SANGHO-     ,wxLANGUAGE_SANSKRIT-     ,wxLANGUAGE_SCOTS_GAELIC-     ,wxLANGUAGE_SERBIAN-     ,wxLANGUAGE_SERBIAN_CYRILLIC-     ,wxLANGUAGE_SERBIAN_LATIN-     ,wxLANGUAGE_SERBO_CROATIAN-     ,wxLANGUAGE_SESOTHO-     ,wxLANGUAGE_SETSWANA-     ,wxLANGUAGE_SHONA-     ,wxLANGUAGE_SINDHI-     ,wxLANGUAGE_SINHALESE-     ,wxLANGUAGE_SISWATI-     ,wxLANGUAGE_SLOVAK-     ,wxLANGUAGE_SLOVENIAN-     ,wxLANGUAGE_SOMALI-     ,wxLANGUAGE_SPANISH-     ,wxLANGUAGE_SPANISH_ARGENTINA-     ,wxLANGUAGE_SPANISH_BOLIVIA-     ,wxLANGUAGE_SPANISH_CHILE-     ,wxLANGUAGE_SPANISH_COLOMBIA-     ,wxLANGUAGE_SPANISH_COSTA_RICA-     ,wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC-     ,wxLANGUAGE_SPANISH_ECUADOR-     ,wxLANGUAGE_SPANISH_EL_SALVADOR-     ,wxLANGUAGE_SPANISH_GUATEMALA-     ,wxLANGUAGE_SPANISH_HONDURAS-     ,wxLANGUAGE_SPANISH_MEXICAN-     ,wxLANGUAGE_SPANISH_MODERN-     ,wxLANGUAGE_SPANISH_NICARAGUA-     ,wxLANGUAGE_SPANISH_PANAMA-     ,wxLANGUAGE_SPANISH_PARAGUAY-     ,wxLANGUAGE_SPANISH_PERU-     ,wxLANGUAGE_SPANISH_PUERTO_RICO-     ,wxLANGUAGE_SPANISH_URUGUAY-     ,wxLANGUAGE_SPANISH_US-     ,wxLANGUAGE_SPANISH_VENEZUELA-     ,wxLANGUAGE_SUNDANESE-     ,wxLANGUAGE_SWAHILI-     ,wxLANGUAGE_SWEDISH-     ,wxLANGUAGE_SWEDISH_FINLAND-     ,wxLANGUAGE_TAGALOG-     ,wxLANGUAGE_TAJIK-     ,wxLANGUAGE_TAMIL-     ,wxLANGUAGE_TATAR-     ,wxLANGUAGE_TELUGU-     ,wxLANGUAGE_THAI-     ,wxLANGUAGE_TIBETAN-     ,wxLANGUAGE_TIGRINYA-     ,wxLANGUAGE_TONGA-     ,wxLANGUAGE_TSONGA-     ,wxLANGUAGE_TURKISH-     ,wxLANGUAGE_TURKMEN-     ,wxLANGUAGE_TWI-     ,wxLANGUAGE_UIGHUR-     ,wxLANGUAGE_UKRAINIAN-     ,wxLANGUAGE_URDU-     ,wxLANGUAGE_URDU_INDIA-     ,wxLANGUAGE_URDU_PAKISTAN-     ,wxLANGUAGE_UZBEK-     ,wxLANGUAGE_UZBEK_CYRILLIC-     ,wxLANGUAGE_UZBEK_LATIN-     ,wxLANGUAGE_VIETNAMESE-     ,wxLANGUAGE_VOLAPUK-     ,wxLANGUAGE_WELSH-     ,wxLANGUAGE_WOLOF-     ,wxLANGUAGE_XHOSA-     ,wxLANGUAGE_YIDDISH-     ,wxLANGUAGE_YORUBA-     ,wxLANGUAGE_ZHUANG-     ,wxLANGUAGE_ZULU-     ,wxLANGUAGE_USER_DEFINE-     ,wxLOCALE_THOUSANDS_SEP-     ,wxLOCALE_DECIMAL_POINT-     ,wxLOCALE_LOAD_DEFAULT-     ,wxLOCALE_CONV_ENCODING-     ,wxSTC_INVALID_POSITION-     ,wxSTC_START-     ,wxSTC_OPTIONAL_START-     ,wxSTC_LEXER_START-     ,wxSTC_WS_INVISIBLE-     ,wxSTC_WS_VISIBLEALWAYS-     ,wxSTC_WS_VISIBLEAFTERINDENT-     ,wxSTC_EOL_CRLF-     ,wxSTC_EOL_CR-     ,wxSTC_EOL_LF-     ,wxSTC_CP_UTF8-     ,wxSTC_CP_DBCS-     ,wxSTC_MARKER_MAX-     ,wxSTC_MARK_CIRCLE-     ,wxSTC_MARK_ROUNDRECT-     ,wxSTC_MARK_ARROW-     ,wxSTC_MARK_SMALLRECT-     ,wxSTC_MARK_SHORTARROW-     ,wxSTC_MARK_EMPTY-     ,wxSTC_MARK_ARROWDOWN-     ,wxSTC_MARK_MINUS-     ,wxSTC_MARK_PLUS-     ,wxSTC_MARK_VLINE-     ,wxSTC_MARK_LCORNER-     ,wxSTC_MARK_TCORNER-     ,wxSTC_MARK_BOXPLUS-     ,wxSTC_MARK_BOXPLUSCONNECTED-     ,wxSTC_MARK_BOXMINUS-     ,wxSTC_MARK_BOXMINUSCONNECTED-     ,wxSTC_MARK_LCORNERCURVE-     ,wxSTC_MARK_TCORNERCURVE-     ,wxSTC_MARK_CIRCLEPLUS-     ,wxSTC_MARK_CIRCLEPLUSCONNECTED-     ,wxSTC_MARK_CIRCLEMINUS-     ,wxSTC_MARK_CIRCLEMINUSCONNECTED-     ,wxSTC_MARK_BACKGROUND-     ,wxSTC_MARK_DOTDOTDOT-     ,wxSTC_MARK_ARROWS-     ,wxSTC_MARK_PIXMAP-     ,wxSTC_MARK_CHARACTER-     ,wxSTC_MARKNUM_FOLDEREND-     ,wxSTC_MARKNUM_FOLDEROPENMID-     ,wxSTC_MARKNUM_FOLDERMIDTAIL-     ,wxSTC_MARKNUM_FOLDERTAIL-     ,wxSTC_MARKNUM_FOLDERSUB-     ,wxSTC_MARKNUM_FOLDER-     ,wxSTC_MARKNUM_FOLDEROPEN-     ,wxSTC_MASK_FOLDERS-     ,wxSTC_MARGIN_SYMBOL-     ,wxSTC_MARGIN_NUMBER-     ,wxSTC_STYLE_DEFAULT-     ,wxSTC_STYLE_LINENUMBER-     ,wxSTC_STYLE_BRACELIGHT-     ,wxSTC_STYLE_BRACEBAD-     ,wxSTC_STYLE_CONTROLCHAR-     ,wxSTC_STYLE_INDENTGUIDE-     ,wxSTC_STYLE_LASTPREDEFINED-     ,wxSTC_STYLE_MAX-     ,wxSTC_CHARSET_ANSI-     ,wxSTC_CHARSET_DEFAULT-     ,wxSTC_CHARSET_BALTIC-     ,wxSTC_CHARSET_CHINESEBIG5-     ,wxSTC_CHARSET_EASTEUROPE-     ,wxSTC_CHARSET_GB2312-     ,wxSTC_CHARSET_GREEK-     ,wxSTC_CHARSET_HANGUL-     ,wxSTC_CHARSET_MAC-     ,wxSTC_CHARSET_OEM-     ,wxSTC_CHARSET_RUSSIAN-     ,wxSTC_CHARSET_SHIFTJIS-     ,wxSTC_CHARSET_SYMBOL-     ,wxSTC_CHARSET_TURKISH-     ,wxSTC_CHARSET_JOHAB-     ,wxSTC_CHARSET_HEBREW-     ,wxSTC_CHARSET_ARABIC-     ,wxSTC_CHARSET_VIETNAMESE-     ,wxSTC_CHARSET_THAI-     ,wxSTC_CASE_MIXED-     ,wxSTC_CASE_UPPER-     ,wxSTC_CASE_LOWER-     ,wxSTC_INDIC_MAX-     ,wxSTC_INDIC_PLAIN-     ,wxSTC_INDIC_SQUIGGLE-     ,wxSTC_INDIC_TT-     ,wxSTC_INDIC_DIAGONAL-     ,wxSTC_INDIC_STRIKE-     ,wxSTC_INDIC_HIDDEN-     ,wxSTC_INDIC0_MASK-     ,wxSTC_INDIC1_MASK-     ,wxSTC_INDIC2_MASK-     ,wxSTC_INDICS_MASK-     ,wxSTC_PRINT_NORMAL-     ,wxSTC_PRINT_INVERTLIGHT-     ,wxSTC_PRINT_BLACKONWHITE-     ,wxSTC_PRINT_COLOURONWHITE-     ,wxSTC_PRINT_COLOURONWHITEDEFAULTBG-     ,wxSTC_FIND_WHOLEWORD-     ,wxSTC_FIND_MATCHCASE-     ,wxSTC_FIND_WORDSTART-     ,wxSTC_FIND_REGEXP-     ,wxSTC_FIND_POSIX-     ,wxSTC_FOLDLEVELBASE-     ,wxSTC_FOLDLEVELWHITEFLAG-     ,wxSTC_FOLDLEVELHEADERFLAG-     ,wxSTC_FOLDLEVELBOXHEADERFLAG-     ,wxSTC_FOLDLEVELBOXFOOTERFLAG-     ,wxSTC_FOLDLEVELCONTRACTED-     ,wxSTC_FOLDLEVELUNINDENT-     ,wxSTC_FOLDLEVELNUMBERMASK-     ,wxSTC_FOLDFLAG_LINEBEFORE_EXPANDED-     ,wxSTC_FOLDFLAG_LINEBEFORE_CONTRACTED-     ,wxSTC_FOLDFLAG_LINEAFTER_EXPANDED-     ,wxSTC_FOLDFLAG_LINEAFTER_CONTRACTED-     ,wxSTC_FOLDFLAG_LEVELNUMBERS-     ,wxSTC_FOLDFLAG_BOX-     ,wxSTC_TIME_FOREVER-     ,wxSTC_WRAP_NONE-     ,wxSTC_WRAP_WORD-     ,wxSTC_CACHE_NONE-     ,wxSTC_CACHE_CARET-     ,wxSTC_CACHE_PAGE-     ,wxSTC_CACHE_DOCUMENT-     ,wxSTC_EDGE_NONE-     ,wxSTC_EDGE_LINE-     ,wxSTC_EDGE_BACKGROUND-     ,wxSTC_CURSORNORMAL-     ,wxSTC_CURSORWAIT-     ,wxSTC_VISIBLE_SLOP-     ,wxSTC_VISIBLE_STRICT-     ,wxSTC_CARET_SLOP-     ,wxSTC_CARET_STRICT-     ,wxSTC_CARET_JUMPS-     ,wxSTC_CARET_EVEN-     ,wxSTC_SEL_STREAM-     ,wxSTC_SEL_RECTANGLE-     ,wxSTC_SEL_LINES-     ,wxSTC_KEYWORDSET_MAX-     ,wxSTC_MOD_INSERTTEXT-     ,wxSTC_MOD_DELETETEXT-     ,wxSTC_MOD_CHANGESTYLE-     ,wxSTC_MOD_CHANGEFOLD-     ,wxSTC_PERFORMED_USER-     ,wxSTC_PERFORMED_UNDO-     ,wxSTC_PERFORMED_REDO-     ,wxSTC_LASTSTEPINUNDOREDO-     ,wxSTC_MOD_CHANGEMARKER-     ,wxSTC_MOD_BEFOREINSERT-     ,wxSTC_MOD_BEFOREDELETE-     ,wxSTC_MODEVENTMASKALL-     ,wxSTC_KEY_DOWN-     ,wxSTC_KEY_UP-     ,wxSTC_KEY_LEFT-     ,wxSTC_KEY_RIGHT-     ,wxSTC_KEY_HOME-     ,wxSTC_KEY_END-     ,wxSTC_KEY_PRIOR-     ,wxSTC_KEY_NEXT-     ,wxSTC_KEY_DELETE-     ,wxSTC_KEY_INSERT-     ,wxSTC_KEY_ESCAPE-     ,wxSTC_KEY_BACK-     ,wxSTC_KEY_TAB-     ,wxSTC_KEY_RETURN-     ,wxSTC_KEY_ADD-     ,wxSTC_KEY_SUBTRACT-     ,wxSTC_KEY_DIVIDE-     ,wxSTC_SCMOD_SHIFT-     ,wxSTC_SCMOD_CTRL-     ,wxSTC_SCMOD_ALT-     ,wxSTC_LEX_CONTAINER-     ,wxSTC_LEX_NULL-     ,wxSTC_LEX_PYTHON-     ,wxSTC_LEX_CPP-     ,wxSTC_LEX_HTML-     ,wxSTC_LEX_XML-     ,wxSTC_LEX_PERL-     ,wxSTC_LEX_SQL-     ,wxSTC_LEX_VB-     ,wxSTC_LEX_PROPERTIES-     ,wxSTC_LEX_ERRORLIST-     ,wxSTC_LEX_MAKEFILE-     ,wxSTC_LEX_BATCH-     ,wxSTC_LEX_XCODE-     ,wxSTC_LEX_LATEX-     ,wxSTC_LEX_LUA-     ,wxSTC_LEX_DIFF-     ,wxSTC_LEX_CONF-     ,wxSTC_LEX_PASCAL-     ,wxSTC_LEX_AVE-     ,wxSTC_LEX_ADA-     ,wxSTC_LEX_LISP-     ,wxSTC_LEX_RUBY-     ,wxSTC_LEX_EIFFEL-     ,wxSTC_LEX_EIFFELKW-     ,wxSTC_LEX_TCL-     ,wxSTC_LEX_NNCRONTAB-     ,wxSTC_LEX_BULLANT-     ,wxSTC_LEX_VBSCRIPT-     ,wxSTC_LEX_ASP-     ,wxSTC_LEX_PHP-     ,wxSTC_LEX_BAAN-     ,wxSTC_LEX_MATLAB-     ,wxSTC_LEX_SCRIPTOL-     ,wxSTC_LEX_ASM-     ,wxSTC_LEX_CPPNOCASE-     ,wxSTC_LEX_FORTRAN-     ,wxSTC_LEX_F77-     ,wxSTC_LEX_CSS-     ,wxSTC_LEX_POV-     ,wxSTC_LEX_LOUT-     ,wxSTC_LEX_ESCRIPT-     ,wxSTC_LEX_PS-     ,wxSTC_LEX_NSIS-     ,wxSTC_LEX_MMIXAL-     ,wxSTC_LEX_PHPSCRIPT-     ,wxSTC_LEX_TADS3-     ,wxSTC_LEX_REBOL-     ,wxSTC_LEX_SMALLTALK-     ,wxSTC_LEX_FLAGSHIP-     ,wxSTC_LEX_CSOUND-     ,wxSTC_LEX_FREEBASIC-     ,wxSTC_LEX_AUTOMATIC-     ,wxSTC_LEX_HASKELL-     ,wxSTC_P_DEFAULT-     ,wxSTC_P_COMMENTLINE-     ,wxSTC_P_NUMBER-     ,wxSTC_P_STRING-     ,wxSTC_P_CHARACTER-     ,wxSTC_P_WORD-     ,wxSTC_P_TRIPLE-     ,wxSTC_P_TRIPLEDOUBLE-     ,wxSTC_P_CLASSNAME-     ,wxSTC_P_DEFNAME-     ,wxSTC_P_OPERATOR-     ,wxSTC_P_IDENTIFIER-     ,wxSTC_P_COMMENTBLOCK-     ,wxSTC_P_STRINGEOL-     ,wxSTC_C_DEFAULT-     ,wxSTC_C_COMMENT-     ,wxSTC_C_COMMENTLINE-     ,wxSTC_C_COMMENTDOC-     ,wxSTC_C_NUMBER-     ,wxSTC_C_WORD-     ,wxSTC_C_STRING-     ,wxSTC_C_CHARACTER-     ,wxSTC_C_UUID-     ,wxSTC_C_PREPROCESSOR-     ,wxSTC_C_OPERATOR-     ,wxSTC_C_IDENTIFIER-     ,wxSTC_C_STRINGEOL-     ,wxSTC_C_VERBATIM-     ,wxSTC_C_REGEX-     ,wxSTC_C_COMMENTLINEDOC-     ,wxSTC_C_WORD2-     ,wxSTC_C_COMMENTDOCKEYWORD-     ,wxSTC_C_COMMENTDOCKEYWORDERROR-     ,wxSTC_C_GLOBALCLASS-     ,wxSTC_H_DEFAULT-     ,wxSTC_H_TAG-     ,wxSTC_H_TAGUNKNOWN-     ,wxSTC_H_ATTRIBUTE-     ,wxSTC_H_ATTRIBUTEUNKNOWN-     ,wxSTC_H_NUMBER-     ,wxSTC_H_DOUBLESTRING-     ,wxSTC_H_SINGLESTRING-     ,wxSTC_H_OTHER-     ,wxSTC_H_COMMENT-     ,wxSTC_H_ENTITY-     ,wxSTC_H_TAGEND-     ,wxSTC_H_XMLSTART-     ,wxSTC_H_XMLEND-     ,wxSTC_H_SCRIPT-     ,wxSTC_H_ASP-     ,wxSTC_H_ASPAT-     ,wxSTC_H_CDATA-     ,wxSTC_H_QUESTION-     ,wxSTC_H_VALUE-     ,wxSTC_H_XCCOMMENT-     ,wxSTC_H_SGML_DEFAULT-     ,wxSTC_H_SGML_COMMAND-     ,wxSTC_H_SGML_1ST_PARAM-     ,wxSTC_H_SGML_DOUBLESTRING-     ,wxSTC_H_SGML_SIMPLESTRING-     ,wxSTC_H_SGML_ERROR-     ,wxSTC_H_SGML_SPECIAL-     ,wxSTC_H_SGML_ENTITY-     ,wxSTC_H_SGML_COMMENT-     ,wxSTC_H_SGML_1ST_PARAM_COMMENT-     ,wxSTC_H_SGML_BLOCK_DEFAULT-     ,wxSTC_HA_DEFAULT-     ,wxSTC_HA_IDENTIFIER-     ,wxSTC_HA_KEYWORD-     ,wxSTC_HA_NUMBER-     ,wxSTC_HA_STRING-     ,wxSTC_HA_CHARACTER-     ,wxSTC_HA_CLASS-     ,wxSTC_HA_MODULE-     ,wxSTC_HA_CAPITAL-     ,wxSTC_HA_DATA-     ,wxSTC_HA_IMPORT-     ,wxSTC_HA_OPERATOR-     ,wxSTC_HA_INSTANCE-     ,wxSTC_HA_COMMENTLINE-     ,wxSTC_HA_COMMENTBLOCK-     ,wxSTC_HA_COMMENTBLOCK2-     ,wxSTC_HA_COMMENTBLOCK3-     ,wxSTC_HA_PREPROCESSOR-     ,wxSTC_HJ_START-     ,wxSTC_HJ_DEFAULT-     ,wxSTC_HJ_COMMENT-     ,wxSTC_HJ_COMMENTLINE-     ,wxSTC_HJ_COMMENTDOC-     ,wxSTC_HJ_NUMBER-     ,wxSTC_HJ_WORD-     ,wxSTC_HJ_KEYWORD-     ,wxSTC_HJ_DOUBLESTRING-     ,wxSTC_HJ_SINGLESTRING-     ,wxSTC_HJ_SYMBOLS-     ,wxSTC_HJ_STRINGEOL-     ,wxSTC_HJ_REGEX-     ,wxSTC_HJA_START-     ,wxSTC_HJA_DEFAULT-     ,wxSTC_HJA_COMMENT-     ,wxSTC_HJA_COMMENTLINE-     ,wxSTC_HJA_COMMENTDOC-     ,wxSTC_HJA_NUMBER-     ,wxSTC_HJA_WORD-     ,wxSTC_HJA_KEYWORD-     ,wxSTC_HJA_DOUBLESTRING-     ,wxSTC_HJA_SINGLESTRING-     ,wxSTC_HJA_SYMBOLS-     ,wxSTC_HJA_STRINGEOL-     ,wxSTC_HJA_REGEX-     ,wxSTC_HB_START-     ,wxSTC_HB_DEFAULT-     ,wxSTC_HB_COMMENTLINE-     ,wxSTC_HB_NUMBER-     ,wxSTC_HB_WORD-     ,wxSTC_HB_STRING-     ,wxSTC_HB_IDENTIFIER-     ,wxSTC_HB_STRINGEOL-     ,wxSTC_HBA_START-     ,wxSTC_HBA_DEFAULT-     ,wxSTC_HBA_COMMENTLINE-     ,wxSTC_HBA_NUMBER-     ,wxSTC_HBA_WORD-     ,wxSTC_HBA_STRING-     ,wxSTC_HBA_IDENTIFIER-     ,wxSTC_HBA_STRINGEOL-     ,wxSTC_HP_START-     ,wxSTC_HP_DEFAULT-     ,wxSTC_HP_COMMENTLINE-     ,wxSTC_HP_NUMBER-     ,wxSTC_HP_STRING-     ,wxSTC_HP_CHARACTER-     ,wxSTC_HP_WORD-     ,wxSTC_HP_TRIPLE-     ,wxSTC_HP_TRIPLEDOUBLE-     ,wxSTC_HP_CLASSNAME-     ,wxSTC_HP_DEFNAME-     ,wxSTC_HP_OPERATOR-     ,wxSTC_HP_IDENTIFIER-     ,wxSTC_HPA_START-     ,wxSTC_HPA_DEFAULT-     ,wxSTC_HPA_COMMENTLINE-     ,wxSTC_HPA_NUMBER-     ,wxSTC_HPA_STRING-     ,wxSTC_HPA_CHARACTER-     ,wxSTC_HPA_WORD-     ,wxSTC_HPA_TRIPLE-     ,wxSTC_HPA_TRIPLEDOUBLE-     ,wxSTC_HPA_CLASSNAME-     ,wxSTC_HPA_DEFNAME-     ,wxSTC_HPA_OPERATOR-     ,wxSTC_HPA_IDENTIFIER-     ,wxSTC_HPHP_DEFAULT-     ,wxSTC_HPHP_HSTRING-     ,wxSTC_HPHP_SIMPLESTRING-     ,wxSTC_HPHP_WORD-     ,wxSTC_HPHP_NUMBER-     ,wxSTC_HPHP_VARIABLE-     ,wxSTC_HPHP_COMMENT-     ,wxSTC_HPHP_COMMENTLINE-     ,wxSTC_HPHP_HSTRING_VARIABLE-     ,wxSTC_HPHP_OPERATOR-     ,wxSTC_PL_DEFAULT-     ,wxSTC_PL_ERROR-     ,wxSTC_PL_COMMENTLINE-     ,wxSTC_PL_POD-     ,wxSTC_PL_NUMBER-     ,wxSTC_PL_WORD-     ,wxSTC_PL_STRING-     ,wxSTC_PL_CHARACTER-     ,wxSTC_PL_PUNCTUATION-     ,wxSTC_PL_PREPROCESSOR-     ,wxSTC_PL_OPERATOR-     ,wxSTC_PL_IDENTIFIER-     ,wxSTC_PL_SCALAR-     ,wxSTC_PL_ARRAY-     ,wxSTC_PL_HASH-     ,wxSTC_PL_SYMBOLTABLE-     ,wxSTC_PL_REGEX-     ,wxSTC_PL_REGSUBST-     ,wxSTC_PL_LONGQUOTE-     ,wxSTC_PL_BACKTICKS-     ,wxSTC_PL_DATASECTION-     ,wxSTC_PL_HERE_DELIM-     ,wxSTC_PL_HERE_Q-     ,wxSTC_PL_HERE_QQ-     ,wxSTC_PL_HERE_QX-     ,wxSTC_PL_STRING_Q-     ,wxSTC_PL_STRING_QQ-     ,wxSTC_PL_STRING_QX-     ,wxSTC_PL_STRING_QR-     ,wxSTC_PL_STRING_QW-     ,wxSTC_B_DEFAULT-     ,wxSTC_B_COMMENT-     ,wxSTC_B_NUMBER-     ,wxSTC_B_KEYWORD-     ,wxSTC_B_STRING-     ,wxSTC_B_PREPROCESSOR-     ,wxSTC_B_OPERATOR-     ,wxSTC_B_IDENTIFIER-     ,wxSTC_B_DATE-     ,wxSTC_PROPS_DEFAULT-     ,wxSTC_PROPS_COMMENT-     ,wxSTC_PROPS_SECTION-     ,wxSTC_PROPS_ASSIGNMENT-     ,wxSTC_PROPS_DEFVAL-     ,wxSTC_L_DEFAULT-     ,wxSTC_L_COMMAND-     ,wxSTC_L_TAG-     ,wxSTC_L_MATH-     ,wxSTC_L_COMMENT-     ,wxSTC_LUA_DEFAULT-     ,wxSTC_LUA_COMMENT-     ,wxSTC_LUA_COMMENTLINE-     ,wxSTC_LUA_COMMENTDOC-     ,wxSTC_LUA_NUMBER-     ,wxSTC_LUA_WORD-     ,wxSTC_LUA_STRING-     ,wxSTC_LUA_CHARACTER-     ,wxSTC_LUA_LITERALSTRING-     ,wxSTC_LUA_PREPROCESSOR-     ,wxSTC_LUA_OPERATOR-     ,wxSTC_LUA_IDENTIFIER-     ,wxSTC_LUA_STRINGEOL-     ,wxSTC_LUA_WORD2-     ,wxSTC_LUA_WORD3-     ,wxSTC_LUA_WORD4-     ,wxSTC_LUA_WORD5-     ,wxSTC_LUA_WORD6-     ,wxSTC_LUA_WORD7-     ,wxSTC_LUA_WORD8-     ,wxSTC_ERR_DEFAULT-     ,wxSTC_ERR_PYTHON-     ,wxSTC_ERR_GCC-     ,wxSTC_ERR_MS-     ,wxSTC_ERR_CMD-     ,wxSTC_ERR_BORLAND-     ,wxSTC_ERR_PERL-     ,wxSTC_ERR_NET-     ,wxSTC_ERR_LUA-     ,wxSTC_ERR_CTAG-     ,wxSTC_ERR_DIFF_CHANGED-     ,wxSTC_ERR_DIFF_ADDITION-     ,wxSTC_ERR_DIFF_DELETION-     ,wxSTC_ERR_DIFF_MESSAGE-     ,wxSTC_ERR_PHP-     ,wxSTC_ERR_ELF-     ,wxSTC_ERR_IFC-     ,wxSTC_BAT_DEFAULT-     ,wxSTC_BAT_COMMENT-     ,wxSTC_BAT_WORD-     ,wxSTC_BAT_LABEL-     ,wxSTC_BAT_HIDE-     ,wxSTC_BAT_COMMAND-     ,wxSTC_BAT_IDENTIFIER-     ,wxSTC_BAT_OPERATOR-     ,wxSTC_MAKE_DEFAULT-     ,wxSTC_MAKE_COMMENT-     ,wxSTC_MAKE_PREPROCESSOR-     ,wxSTC_MAKE_IDENTIFIER-     ,wxSTC_MAKE_OPERATOR-     ,wxSTC_MAKE_TARGET-     ,wxSTC_MAKE_IDEOL-     ,wxSTC_DIFF_DEFAULT-     ,wxSTC_DIFF_COMMENT-     ,wxSTC_DIFF_COMMAND-     ,wxSTC_DIFF_HEADER-     ,wxSTC_DIFF_POSITION-     ,wxSTC_DIFF_DELETED-     ,wxSTC_DIFF_ADDED-     ,wxSTC_CONF_DEFAULT-     ,wxSTC_CONF_COMMENT-     ,wxSTC_CONF_NUMBER-     ,wxSTC_CONF_IDENTIFIER-     ,wxSTC_CONF_EXTENSION-     ,wxSTC_CONF_PARAMETER-     ,wxSTC_CONF_STRING-     ,wxSTC_CONF_OPERATOR-     ,wxSTC_CONF_IP-     ,wxSTC_CONF_DIRECTIVE-     ,wxSTC_AVE_DEFAULT-     ,wxSTC_AVE_COMMENT-     ,wxSTC_AVE_NUMBER-     ,wxSTC_AVE_WORD-     ,wxSTC_AVE_STRING-     ,wxSTC_AVE_ENUM-     ,wxSTC_AVE_STRINGEOL-     ,wxSTC_AVE_IDENTIFIER-     ,wxSTC_AVE_OPERATOR-     ,wxSTC_AVE_WORD1-     ,wxSTC_AVE_WORD2-     ,wxSTC_AVE_WORD3-     ,wxSTC_AVE_WORD4-     ,wxSTC_AVE_WORD5-     ,wxSTC_AVE_WORD6-     ,wxSTC_ADA_DEFAULT-     ,wxSTC_ADA_WORD-     ,wxSTC_ADA_IDENTIFIER-     ,wxSTC_ADA_NUMBER-     ,wxSTC_ADA_DELIMITER-     ,wxSTC_ADA_CHARACTER-     ,wxSTC_ADA_CHARACTEREOL-     ,wxSTC_ADA_STRING-     ,wxSTC_ADA_STRINGEOL-     ,wxSTC_ADA_LABEL-     ,wxSTC_ADA_COMMENTLINE-     ,wxSTC_ADA_ILLEGAL-     ,wxSTC_BAAN_DEFAULT-     ,wxSTC_BAAN_COMMENT-     ,wxSTC_BAAN_COMMENTDOC-     ,wxSTC_BAAN_NUMBER-     ,wxSTC_BAAN_WORD-     ,wxSTC_BAAN_STRING-     ,wxSTC_BAAN_PREPROCESSOR-     ,wxSTC_BAAN_OPERATOR-     ,wxSTC_BAAN_IDENTIFIER-     ,wxSTC_BAAN_STRINGEOL-     ,wxSTC_BAAN_WORD2-     ,wxSTC_LISP_DEFAULT-     ,wxSTC_LISP_COMMENT-     ,wxSTC_LISP_NUMBER-     ,wxSTC_LISP_KEYWORD-     ,wxSTC_LISP_STRING-     ,wxSTC_LISP_STRINGEOL-     ,wxSTC_LISP_IDENTIFIER-     ,wxSTC_LISP_OPERATOR-     ,wxSTC_EIFFEL_DEFAULT-     ,wxSTC_EIFFEL_COMMENTLINE-     ,wxSTC_EIFFEL_NUMBER-     ,wxSTC_EIFFEL_WORD-     ,wxSTC_EIFFEL_STRING-     ,wxSTC_EIFFEL_CHARACTER-     ,wxSTC_EIFFEL_OPERATOR-     ,wxSTC_EIFFEL_IDENTIFIER-     ,wxSTC_EIFFEL_STRINGEOL-     ,wxSTC_NNCRONTAB_DEFAULT-     ,wxSTC_NNCRONTAB_COMMENT-     ,wxSTC_NNCRONTAB_TASK-     ,wxSTC_NNCRONTAB_SECTION-     ,wxSTC_NNCRONTAB_KEYWORD-     ,wxSTC_NNCRONTAB_MODIFIER-     ,wxSTC_NNCRONTAB_ASTERISK-     ,wxSTC_NNCRONTAB_NUMBER-     ,wxSTC_NNCRONTAB_STRING-     ,wxSTC_NNCRONTAB_ENVIRONMENT-     ,wxSTC_NNCRONTAB_IDENTIFIER-     ,wxSTC_MATLAB_DEFAULT-     ,wxSTC_MATLAB_COMMENT-     ,wxSTC_MATLAB_COMMAND-     ,wxSTC_MATLAB_NUMBER-     ,wxSTC_MATLAB_KEYWORD-     ,wxSTC_MATLAB_STRING-     ,wxSTC_MATLAB_OPERATOR-     ,wxSTC_MATLAB_IDENTIFIER-     ,wxSTC_SCRIPTOL_DEFAULT-     ,wxSTC_SCRIPTOL_COMMENT-     ,wxSTC_SCRIPTOL_COMMENTLINE-     ,wxSTC_SCRIPTOL_COMMENTDOC-     ,wxSTC_SCRIPTOL_NUMBER-     ,wxSTC_SCRIPTOL_WORD-     ,wxSTC_SCRIPTOL_STRING-     ,wxSTC_SCRIPTOL_CHARACTER-     ,wxSTC_SCRIPTOL_UUID-     ,wxSTC_SCRIPTOL_PREPROCESSOR-     ,wxSTC_SCRIPTOL_OPERATOR-     ,wxSTC_SCRIPTOL_IDENTIFIER-     ,wxSTC_SCRIPTOL_STRINGEOL-     ,wxSTC_SCRIPTOL_VERBATIM-     ,wxSTC_SCRIPTOL_REGEX-     ,wxSTC_SCRIPTOL_COMMENTLINEDOC-     ,wxSTC_SCRIPTOL_WORD2-     ,wxSTC_SCRIPTOL_COMMENTDOCKEYWORD-     ,wxSTC_SCRIPTOL_COMMENTDOCKEYWORDERROR-     ,wxSTC_SCRIPTOL_COMMENTBASIC-     ,wxSTC_ASM_DEFAULT-     ,wxSTC_ASM_COMMENT-     ,wxSTC_ASM_NUMBER-     ,wxSTC_ASM_STRING-     ,wxSTC_ASM_OPERATOR-     ,wxSTC_ASM_IDENTIFIER-     ,wxSTC_ASM_CPUINSTRUCTION-     ,wxSTC_ASM_MATHINSTRUCTION-     ,wxSTC_ASM_REGISTER-     ,wxSTC_ASM_DIRECTIVE-     ,wxSTC_ASM_DIRECTIVEOPERAND-     ,wxSTC_F_DEFAULT-     ,wxSTC_F_COMMENT-     ,wxSTC_F_NUMBER-     ,wxSTC_F_STRING1-     ,wxSTC_F_STRING2-     ,wxSTC_F_STRINGEOL-     ,wxSTC_F_OPERATOR-     ,wxSTC_F_IDENTIFIER-     ,wxSTC_F_WORD-     ,wxSTC_F_WORD2-     ,wxSTC_F_WORD3-     ,wxSTC_F_PREPROCESSOR-     ,wxSTC_F_OPERATOR2-     ,wxSTC_F_LABEL-     ,wxSTC_F_CONTINUATION-     ,wxSTC_CSS_DEFAULT-     ,wxSTC_CSS_TAG-     ,wxSTC_CSS_CLASS-     ,wxSTC_CSS_PSEUDOCLASS-     ,wxSTC_CSS_UNKNOWN_PSEUDOCLASS-     ,wxSTC_CSS_OPERATOR-     ,wxSTC_CSS_IDENTIFIER-     ,wxSTC_CSS_UNKNOWN_IDENTIFIER-     ,wxSTC_CSS_VALUE-     ,wxSTC_CSS_COMMENT-     ,wxSTC_CSS_ID-     ,wxSTC_CSS_IMPORTANT-     ,wxSTC_CSS_DIRECTIVE-     ,wxSTC_CSS_DOUBLESTRING-     ,wxSTC_CSS_SINGLESTRING-     ,wxSTC_POV_DEFAULT-     ,wxSTC_POV_COMMENT-     ,wxSTC_POV_COMMENTLINE-     ,wxSTC_POV_NUMBER-     ,wxSTC_POV_OPERATOR-     ,wxSTC_POV_IDENTIFIER-     ,wxSTC_POV_STRING-     ,wxSTC_POV_STRINGEOL-     ,wxSTC_POV_DIRECTIVE-     ,wxSTC_POV_BADDIRECTIVE-     ,wxSTC_POV_WORD2-     ,wxSTC_POV_WORD3-     ,wxSTC_POV_WORD4-     ,wxSTC_POV_WORD5-     ,wxSTC_POV_WORD6-     ,wxSTC_POV_WORD7-     ,wxSTC_POV_WORD8-     ,wxSTC_LOUT_DEFAULT-     ,wxSTC_LOUT_COMMENT-     ,wxSTC_LOUT_NUMBER-     ,wxSTC_LOUT_WORD-     ,wxSTC_LOUT_WORD2-     ,wxSTC_LOUT_WORD3-     ,wxSTC_LOUT_WORD4-     ,wxSTC_LOUT_STRING-     ,wxSTC_LOUT_OPERATOR-     ,wxSTC_LOUT_IDENTIFIER-     ,wxSTC_LOUT_STRINGEOL-     ,wxSTC_ESCRIPT_DEFAULT-     ,wxSTC_ESCRIPT_COMMENT-     ,wxSTC_ESCRIPT_COMMENTLINE-     ,wxSTC_ESCRIPT_COMMENTDOC-     ,wxSTC_ESCRIPT_NUMBER-     ,wxSTC_ESCRIPT_WORD-     ,wxSTC_ESCRIPT_STRING-     ,wxSTC_ESCRIPT_OPERATOR-     ,wxSTC_ESCRIPT_IDENTIFIER-     ,wxSTC_ESCRIPT_BRACE-     ,wxSTC_ESCRIPT_WORD2-     ,wxSTC_ESCRIPT_WORD3-     ,wxSTC_PS_DEFAULT-     ,wxSTC_PS_COMMENT-     ,wxSTC_PS_DSC_COMMENT-     ,wxSTC_PS_DSC_VALUE-     ,wxSTC_PS_NUMBER-     ,wxSTC_PS_NAME-     ,wxSTC_PS_KEYWORD-     ,wxSTC_PS_LITERAL-     ,wxSTC_PS_IMMEVAL-     ,wxSTC_PS_PAREN_ARRAY-     ,wxSTC_PS_PAREN_DICT-     ,wxSTC_PS_PAREN_PROC-     ,wxSTC_PS_TEXT-     ,wxSTC_PS_HEXSTRING-     ,wxSTC_PS_BASE85STRING-     ,wxSTC_PS_BADSTRINGCHAR-     ,wxSTC_NSIS_DEFAULT-     ,wxSTC_NSIS_COMMENT-     ,wxSTC_NSIS_STRINGDQ-     ,wxSTC_NSIS_STRINGLQ-     ,wxSTC_NSIS_STRINGRQ-     ,wxSTC_NSIS_FUNCTION-     ,wxSTC_NSIS_VARIABLE-     ,wxSTC_NSIS_LABEL-     ,wxSTC_NSIS_USERDEFINED-     ,wxSTC_NSIS_SECTIONDEF-     ,wxSTC_NSIS_SUBSECTIONDEF-     ,wxSTC_NSIS_IFDEFINEDEF-     ,wxSTC_NSIS_MACRODEF-     ,wxSTC_NSIS_STRINGVAR-     ,wxSTC_MMIXAL_LEADWS-     ,wxSTC_MMIXAL_COMMENT-     ,wxSTC_MMIXAL_LABEL-     ,wxSTC_MMIXAL_OPCODE-     ,wxSTC_MMIXAL_OPCODE_PRE-     ,wxSTC_MMIXAL_OPCODE_VALID-     ,wxSTC_MMIXAL_OPCODE_UNKNOWN-     ,wxSTC_MMIXAL_OPCODE_POST-     ,wxSTC_MMIXAL_OPERANDS-     ,wxSTC_MMIXAL_NUMBER-     ,wxSTC_MMIXAL_REF-     ,wxSTC_MMIXAL_CHAR-     ,wxSTC_MMIXAL_STRING-     ,wxSTC_MMIXAL_REGISTER-     ,wxSTC_MMIXAL_HEX-     ,wxSTC_MMIXAL_OPERATOR-     ,wxSTC_MMIXAL_SYMBOL-     ,wxSTC_MMIXAL_INCLUDE-     ,wxSTC_CLW_DEFAULT-     ,wxSTC_CLW_LABEL-     ,wxSTC_CLW_COMMENT-     ,wxSTC_CLW_STRING-     ,wxSTC_CLW_USER_IDENTIFIER-     ,wxSTC_CLW_INTEGER_CONSTANT-     ,wxSTC_CLW_REAL_CONSTANT-     ,wxSTC_CLW_PICTURE_STRING-     ,wxSTC_CLW_KEYWORD-     ,wxSTC_CLW_COMPILER_DIRECTIVE-     ,wxSTC_CLW_RUNTIME_EXPRESSIONS-     ,wxSTC_CLW_BUILTIN_PROCEDURES_FUNCTION-     ,wxSTC_CLW_STRUCTURE_DATA_TYPE-     ,wxSTC_CLW_ATTRIBUTE-     ,wxSTC_CLW_STANDARD_EQUATE-     ,wxSTC_CLW_ERROR-     ,wxSTC_CLW_DEPRECATED-     ,wxSTC_LOT_DEFAULT-     ,wxSTC_LOT_HEADER-     ,wxSTC_LOT_BREAK-     ,wxSTC_LOT_SET-     ,wxSTC_LOT_PASS-     ,wxSTC_LOT_FAIL-     ,wxSTC_LOT_ABORT-     ,wxSTC_YAML_DEFAULT-     ,wxSTC_YAML_COMMENT-     ,wxSTC_YAML_IDENTIFIER-     ,wxSTC_YAML_KEYWORD-     ,wxSTC_YAML_NUMBER-     ,wxSTC_YAML_REFERENCE-     ,wxSTC_YAML_DOCUMENT-     ,wxSTC_YAML_TEXT-     ,wxSTC_YAML_ERROR-     ,wxSTC_TEX_DEFAULT-     ,wxSTC_TEX_SPECIAL-     ,wxSTC_TEX_GROUP-     ,wxSTC_TEX_SYMBOL-     ,wxSTC_TEX_COMMAND-     ,wxSTC_TEX_TEXT-     ,wxSTC_METAPOST_DEFAULT-     ,wxSTC_METAPOST_SPECIAL-     ,wxSTC_METAPOST_GROUP-     ,wxSTC_METAPOST_SYMBOL-     ,wxSTC_METAPOST_COMMAND-     ,wxSTC_METAPOST_TEXT-     ,wxSTC_METAPOST_EXTRA-     ,wxSTC_ERLANG_DEFAULT-     ,wxSTC_ERLANG_COMMENT-     ,wxSTC_ERLANG_VARIABLE-     ,wxSTC_ERLANG_NUMBER-     ,wxSTC_ERLANG_KEYWORD-     ,wxSTC_ERLANG_STRING-     ,wxSTC_ERLANG_OPERATOR-     ,wxSTC_ERLANG_ATOM-     ,wxSTC_ERLANG_FUNCTION_NAME-     ,wxSTC_ERLANG_CHARACTER-     ,wxSTC_ERLANG_MACRO-     ,wxSTC_ERLANG_RECORD-     ,wxSTC_ERLANG_SEPARATOR-     ,wxSTC_ERLANG_NODE_NAME-     ,wxSTC_ERLANG_UNKNOWN-     ,wxSTC_MSSQL_DEFAULT-     ,wxSTC_MSSQL_COMMENT-     ,wxSTC_MSSQL_LINE_COMMENT-     ,wxSTC_MSSQL_NUMBER-     ,wxSTC_MSSQL_STRING-     ,wxSTC_MSSQL_OPERATOR-     ,wxSTC_MSSQL_IDENTIFIER-     ,wxSTC_MSSQL_VARIABLE-     ,wxSTC_MSSQL_COLUMN_NAME-     ,wxSTC_MSSQL_STATEMENT-     ,wxSTC_MSSQL_DATATYPE-     ,wxSTC_MSSQL_SYSTABLE-     ,wxSTC_MSSQL_GLOBAL_VARIABLE-     ,wxSTC_MSSQL_FUNCTION-     ,wxSTC_MSSQL_STORED_PROCEDURE-     ,wxSTC_MSSQL_DEFAULT_PREF_DATATYPE-     ,wxSTC_MSSQL_COLUMN_NAME_2-     ,wxSTC_V_DEFAULT-     ,wxSTC_V_COMMENT-     ,wxSTC_V_COMMENTLINE-     ,wxSTC_V_COMMENTLINEBANG-     ,wxSTC_V_NUMBER-     ,wxSTC_V_WORD-     ,wxSTC_V_STRING-     ,wxSTC_V_WORD2-     ,wxSTC_V_WORD3-     ,wxSTC_V_PREPROCESSOR-     ,wxSTC_V_OPERATOR-     ,wxSTC_V_IDENTIFIER-     ,wxSTC_V_STRINGEOL-     ,wxSTC_V_USER-     ,wxSTC_KIX_DEFAULT-     ,wxSTC_KIX_COMMENT-     ,wxSTC_KIX_STRING1-     ,wxSTC_KIX_STRING2-     ,wxSTC_KIX_NUMBER-     ,wxSTC_KIX_VAR-     ,wxSTC_KIX_MACRO-     ,wxSTC_KIX_KEYWORD-     ,wxSTC_KIX_FUNCTIONS-     ,wxSTC_KIX_OPERATOR-     ,wxSTC_KIX_IDENTIFIER-     ,wxSTC_GC_DEFAULT-     ,wxSTC_GC_COMMENTLINE-     ,wxSTC_GC_COMMENTBLOCK-     ,wxSTC_GC_GLOBAL-     ,wxSTC_GC_EVENT-     ,wxSTC_GC_ATTRIBUTE-     ,wxSTC_GC_CONTROL-     ,wxSTC_GC_COMMAND-     ,wxSTC_GC_STRING-     ,wxSTC_GC_OPERATOR-     ,wxSTC_SN_DEFAULT-     ,wxSTC_SN_CODE-     ,wxSTC_SN_COMMENTLINE-     ,wxSTC_SN_COMMENTLINEBANG-     ,wxSTC_SN_NUMBER-     ,wxSTC_SN_WORD-     ,wxSTC_SN_STRING-     ,wxSTC_SN_WORD2-     ,wxSTC_SN_WORD3-     ,wxSTC_SN_PREPROCESSOR-     ,wxSTC_SN_OPERATOR-     ,wxSTC_SN_IDENTIFIER-     ,wxSTC_SN_STRINGEOL-     ,wxSTC_SN_REGEXTAG-     ,wxSTC_SN_SIGNAL-     ,wxSTC_SN_USER-     ,wxSTC_AU3_DEFAULT-     ,wxSTC_AU3_COMMENT-     ,wxSTC_AU3_COMMENTBLOCK-     ,wxSTC_AU3_NUMBER-     ,wxSTC_AU3_FUNCTION-     ,wxSTC_AU3_KEYWORD-     ,wxSTC_AU3_MACRO-     ,wxSTC_AU3_STRING-     ,wxSTC_AU3_OPERATOR-     ,wxSTC_AU3_VARIABLE-     ,wxSTC_AU3_SENT-     ,wxSTC_AU3_PREPROCESSOR-     ,wxSTC_AU3_SPECIAL-     ,wxSTC_AU3_EXPAND-     ,wxSTC_AU3_COMOBJ-     ,wxSTC_APDL_DEFAULT-     ,wxSTC_APDL_COMMENT-     ,wxSTC_APDL_COMMENTBLOCK-     ,wxSTC_APDL_NUMBER-     ,wxSTC_APDL_STRING-     ,wxSTC_APDL_OPERATOR-     ,wxSTC_APDL_WORD-     ,wxSTC_APDL_PROCESSOR-     ,wxSTC_APDL_COMMAND-     ,wxSTC_APDL_SLASHCOMMAND-     ,wxSTC_APDL_STARCOMMAND-     ,wxSTC_APDL_ARGUMENT-     ,wxSTC_APDL_FUNCTION-     ,wxSTC_SH_DEFAULT-     ,wxSTC_SH_ERROR-     ,wxSTC_SH_COMMENTLINE-     ,wxSTC_SH_NUMBER-     ,wxSTC_SH_WORD-     ,wxSTC_SH_STRING-     ,wxSTC_SH_CHARACTER-     ,wxSTC_SH_OPERATOR-     ,wxSTC_SH_IDENTIFIER-     ,wxSTC_SH_SCALAR-     ,wxSTC_SH_PARAM-     ,wxSTC_SH_BACKTICKS-     ,wxSTC_SH_HERE_DELIM-     ,wxSTC_SH_HERE_Q-     ,wxSTC_ASN1_DEFAULT-     ,wxSTC_ASN1_COMMENT-     ,wxSTC_ASN1_IDENTIFIER-     ,wxSTC_ASN1_STRING-     ,wxSTC_ASN1_OID-     ,wxSTC_ASN1_SCALAR-     ,wxSTC_ASN1_KEYWORD-     ,wxSTC_ASN1_ATTRIBUTE-     ,wxSTC_ASN1_DESCRIPTOR-     ,wxSTC_ASN1_TYPE-     ,wxSTC_ASN1_OPERATOR-     ,wxSTC_VHDL_DEFAULT-     ,wxSTC_VHDL_COMMENT-     ,wxSTC_VHDL_COMMENTLINEBANG-     ,wxSTC_VHDL_NUMBER-     ,wxSTC_VHDL_STRING-     ,wxSTC_VHDL_OPERATOR-     ,wxSTC_VHDL_IDENTIFIER-     ,wxSTC_VHDL_STRINGEOL-     ,wxSTC_VHDL_KEYWORD-     ,wxSTC_VHDL_STDOPERATOR-     ,wxSTC_VHDL_ATTRIBUTE-     ,wxSTC_VHDL_STDFUNCTION-     ,wxSTC_VHDL_STDPACKAGE-     ,wxSTC_VHDL_STDTYPE-     ,wxSTC_VHDL_USERWORD-     ,wxSTC_CAML_DEFAULT-     ,wxSTC_CAML_IDENTIFIER-     ,wxSTC_CAML_TAGNAME-     ,wxSTC_CAML_KEYWORD-     ,wxSTC_CAML_KEYWORD2-     ,wxSTC_CAML_KEYWORD3-     ,wxSTC_CAML_LINENUM-     ,wxSTC_CAML_OPERATOR-     ,wxSTC_CAML_NUMBER-     ,wxSTC_CAML_CHAR-     ,wxSTC_CAML_STRING-     ,wxSTC_CAML_COMMENT-     ,wxSTC_CAML_COMMENT1-     ,wxSTC_CAML_COMMENT2-     ,wxSTC_CAML_COMMENT3-     ,wxSTC_T3_DEFAULT-     ,wxSTC_T3_X_DEFAULT-     ,wxSTC_T3_PREPROCESSOR-     ,wxSTC_T3_BLOCK_COMMENT-     ,wxSTC_T3_LINE_COMMENT-     ,wxSTC_T3_OPERATOR-     ,wxSTC_T3_KEYWORD-     ,wxSTC_T3_NUMBER-     ,wxSTC_T3_IDENTIFIER-     ,wxSTC_T3_S_STRING-     ,wxSTC_T3_D_STRING-     ,wxSTC_T3_X_STRING-     ,wxSTC_T3_LIB_DIRECTIVE-     ,wxSTC_T3_MSG_PARAM-     ,wxSTC_T3_HTML_TAG-     ,wxSTC_T3_HTML_DEFAULT-     ,wxSTC_T3_HTML_STRING-     ,wxSTC_T3_USER1-     ,wxSTC_T3_USER2-     ,wxSTC_T3_USER3-     ,wxSTC_REBOL_DEFAULT-     ,wxSTC_REBOL_COMMENTLINE-     ,wxSTC_REBOL_COMMENTBLOCK-     ,wxSTC_REBOL_PREFACE-     ,wxSTC_REBOL_OPERATOR-     ,wxSTC_REBOL_CHARACTER-     ,wxSTC_REBOL_QUOTEDSTRING-     ,wxSTC_REBOL_BRACEDSTRING-     ,wxSTC_REBOL_NUMBER-     ,wxSTC_REBOL_PAIR-     ,wxSTC_REBOL_TUPLE-     ,wxSTC_REBOL_BINARY-     ,wxSTC_REBOL_MONEY-     ,wxSTC_REBOL_ISSUE-     ,wxSTC_REBOL_TAG-     ,wxSTC_REBOL_FILE-     ,wxSTC_REBOL_EMAIL-     ,wxSTC_REBOL_URL-     ,wxSTC_REBOL_DATE-     ,wxSTC_REBOL_TIME-     ,wxSTC_REBOL_IDENTIFIER-     ,wxSTC_REBOL_WORD-     ,wxSTC_REBOL_WORD2-     ,wxSTC_REBOL_WORD3-     ,wxSTC_REBOL_WORD4-     ,wxSTC_REBOL_WORD5-     ,wxSTC_REBOL_WORD6-     ,wxSTC_REBOL_WORD7-     ,wxSTC_REBOL_WORD8-     ,wxSTC_SQL_DEFAULT-     ,wxSTC_SQL_COMMENT-     ,wxSTC_SQL_COMMENTLINE-     ,wxSTC_SQL_COMMENTDOC-     ,wxSTC_SQL_NUMBER-     ,wxSTC_SQL_WORD-     ,wxSTC_SQL_STRING-     ,wxSTC_SQL_CHARACTER-     ,wxSTC_SQL_SQLPLUS-     ,wxSTC_SQL_SQLPLUS_PROMPT-     ,wxSTC_SQL_OPERATOR-     ,wxSTC_SQL_IDENTIFIER-     ,wxSTC_SQL_SQLPLUS_COMMENT-     ,wxSTC_SQL_COMMENTLINEDOC-     ,wxSTC_SQL_WORD2-     ,wxSTC_SQL_COMMENTDOCKEYWORD-     ,wxSTC_SQL_COMMENTDOCKEYWORDERROR-     ,wxSTC_SQL_USER1-     ,wxSTC_SQL_USER2-     ,wxSTC_SQL_USER3-     ,wxSTC_SQL_USER4-     ,wxSTC_SQL_QUOTEDIDENTIFIER-     ,wxSTC_ST_DEFAULT-     ,wxSTC_ST_STRING-     ,wxSTC_ST_NUMBER-     ,wxSTC_ST_COMMENT-     ,wxSTC_ST_SYMBOL-     ,wxSTC_ST_BINARY-     ,wxSTC_ST_BOOL-     ,wxSTC_ST_SELF-     ,wxSTC_ST_SUPER-     ,wxSTC_ST_NIL-     ,wxSTC_ST_GLOBAL-     ,wxSTC_ST_RETURN-     ,wxSTC_ST_SPECIAL-     ,wxSTC_ST_KWSEND-     ,wxSTC_ST_ASSIGN-     ,wxSTC_ST_CHARACTER-     ,wxSTC_ST_SPEC_SEL-     ,wxSTC_FS_DEFAULT-     ,wxSTC_FS_COMMENT-     ,wxSTC_FS_COMMENTLINE-     ,wxSTC_FS_COMMENTDOC-     ,wxSTC_FS_COMMENTLINEDOC-     ,wxSTC_FS_COMMENTDOCKEYWORD-     ,wxSTC_FS_COMMENTDOCKEYWORDERROR-     ,wxSTC_FS_KEYWORD-     ,wxSTC_FS_KEYWORD2-     ,wxSTC_FS_KEYWORD3-     ,wxSTC_FS_KEYWORD4-     ,wxSTC_FS_NUMBER-     ,wxSTC_FS_STRING-     ,wxSTC_FS_PREPROCESSOR-     ,wxSTC_FS_OPERATOR-     ,wxSTC_FS_IDENTIFIER-     ,wxSTC_FS_DATE-     ,wxSTC_FS_STRINGEOL-     ,wxSTC_FS_CONSTANT-     ,wxSTC_FS_ASM-     ,wxSTC_FS_LABEL-     ,wxSTC_FS_ERROR-     ,wxSTC_FS_HEXNUMBER-     ,wxSTC_FS_BINNUMBER-     ,wxSTC_CSOUND_DEFAULT-     ,wxSTC_CSOUND_COMMENT-     ,wxSTC_CSOUND_NUMBER-     ,wxSTC_CSOUND_OPERATOR-     ,wxSTC_CSOUND_INSTR-     ,wxSTC_CSOUND_IDENTIFIER-     ,wxSTC_CSOUND_OPCODE-     ,wxSTC_CSOUND_HEADERSTMT-     ,wxSTC_CSOUND_USERKEYWORD-     ,wxSTC_CSOUND_COMMENTBLOCK-     ,wxSTC_CSOUND_PARAM-     ,wxSTC_CSOUND_ARATE_VAR-     ,wxSTC_CSOUND_KRATE_VAR-     ,wxSTC_CSOUND_IRATE_VAR-     ,wxSTC_CSOUND_GLOBAL_VAR-     ,wxSTC_CSOUND_STRINGEOL-     ,wxSTC_CMD_REDO-     ,wxSTC_CMD_SELECTALL-     ,wxSTC_CMD_UNDO-     ,wxSTC_CMD_CUT-     ,wxSTC_CMD_COPY-     ,wxSTC_CMD_PASTE-     ,wxSTC_CMD_CLEAR-     ,wxSTC_CMD_LINEDOWN-     ,wxSTC_CMD_LINEDOWNEXTEND-     ,wxSTC_CMD_LINEUP-     ,wxSTC_CMD_LINEUPEXTEND-     ,wxSTC_CMD_CHARLEFT-     ,wxSTC_CMD_CHARLEFTEXTEND-     ,wxSTC_CMD_CHARRIGHT-     ,wxSTC_CMD_CHARRIGHTEXTEND-     ,wxSTC_CMD_WORDLEFT-     ,wxSTC_CMD_WORDLEFTEXTEND-     ,wxSTC_CMD_WORDRIGHT-     ,wxSTC_CMD_WORDRIGHTEXTEND-     ,wxSTC_CMD_HOME-     ,wxSTC_CMD_HOMEEXTEND-     ,wxSTC_CMD_LINEEND-     ,wxSTC_CMD_LINEENDEXTEND-     ,wxSTC_CMD_DOCUMENTSTART-     ,wxSTC_CMD_DOCUMENTSTARTEXTEND-     ,wxSTC_CMD_DOCUMENTEND-     ,wxSTC_CMD_DOCUMENTENDEXTEND-     ,wxSTC_CMD_PAGEUP-     ,wxSTC_CMD_PAGEUPEXTEND-     ,wxSTC_CMD_PAGEDOWN-     ,wxSTC_CMD_PAGEDOWNEXTEND-     ,wxSTC_CMD_EDITTOGGLEOVERTYPE-     ,wxSTC_CMD_CANCEL-     ,wxSTC_CMD_DELETEBACK-     ,wxSTC_CMD_TAB-     ,wxSTC_CMD_BACKTAB-     ,wxSTC_CMD_NEWLINE-     ,wxSTC_CMD_FORMFEED-     ,wxSTC_CMD_VCHOME-     ,wxSTC_CMD_VCHOMEEXTEND-     ,wxSTC_CMD_ZOOMIN-     ,wxSTC_CMD_ZOOMOUT-     ,wxSTC_CMD_DELWORDLEFT-     ,wxSTC_CMD_DELWORDRIGHT-     ,wxSTC_CMD_LINECUT-     ,wxSTC_CMD_LINEDELETE-     ,wxSTC_CMD_LINETRANSPOSE-     ,wxSTC_CMD_LINEDUPLICATE-     ,wxSTC_CMD_LOWERCASE-     ,wxSTC_CMD_UPPERCASE-     ,wxSTC_CMD_LINESCROLLDOWN-     ,wxSTC_CMD_LINESCROLLUP-     ,wxSTC_CMD_DELETEBACKNOTLINE-     ,wxSTC_CMD_HOMEDISPLAY-     ,wxSTC_CMD_HOMEDISPLAYEXTEND-     ,wxSTC_CMD_LINEENDDISPLAY-     ,wxSTC_CMD_LINEENDDISPLAYEXTEND-     ,wxSTC_CMD_HOMEWRAP-     ,wxSTC_CMD_HOMEWRAPEXTEND-     ,wxSTC_CMD_LINEENDWRAP-     ,wxSTC_CMD_LINEENDWRAPEXTEND-     ,wxSTC_CMD_VCHOMEWRAP-     ,wxSTC_CMD_VCHOMEWRAPEXTEND-     ,wxSTC_CMD_LINECOPY-     ,wxSTC_CMD_WORDPARTLEFT-     ,wxSTC_CMD_WORDPARTLEFTEXTEND-     ,wxSTC_CMD_WORDPARTRIGHT-     ,wxSTC_CMD_WORDPARTRIGHTEXTEND-     ,wxSTC_CMD_DELLINELEFT-     ,wxSTC_CMD_DELLINERIGHT-     ,wxSTC_CMD_PARADOWN-     ,wxSTC_CMD_PARADOWNEXTEND-     ,wxSTC_CMD_PARAUP-     ,wxSTC_CMD_PARAUPEXTEND-     ,wxSTC_CMD_LINEDOWNRECTEXTEND-     ,wxSTC_CMD_LINEUPRECTEXTEND-     ,wxSTC_CMD_CHARLEFTRECTEXTEND-     ,wxSTC_CMD_CHARRIGHTRECTEXTEND-     ,wxSTC_CMD_HOMERECTEXTEND-     ,wxSTC_CMD_VCHOMERECTEXTEND-     ,wxSTC_CMD_LINEENDRECTEXTEND-     ,wxSTC_CMD_PAGEUPRECTEXTEND-     ,wxSTC_CMD_PAGEDOWNRECTEXTEND-     ,wxSTC_CMD_STUTTEREDPAGEUP-     ,wxSTC_CMD_STUTTEREDPAGEUPEXTEND-     ,wxSTC_CMD_STUTTEREDPAGEDOWN-     ,wxSTC_CMD_STUTTEREDPAGEDOWNEXTEND-     ,wxSTC_CMD_WORDLEFTEND-     ,wxSTC_CMD_WORDLEFTENDEXTEND-     ,wxSTC_CMD_WORDRIGHTEND-     ,wxSTC_CMD_WORDRIGHTENDEXTEND-    ) where---- | A flag can be combined with other flags to a bit mask.-type BitFlag = Int--wxBU_EXACTFIT :: BitFlag-wxBU_EXACTFIT = 1--wxTE_PROCESS_ENTER :: BitFlag-wxTE_PROCESS_ENTER = 1024--wxTE_PASSWORD :: BitFlag-wxTE_PASSWORD = 2048--wxTE_RICH2 :: BitFlag-wxTE_RICH2 = 32768--wxTE_AUTO_URL :: BitFlag-wxTE_AUTO_URL = 4096--wxTE_NOHIDESEL :: BitFlag-wxTE_NOHIDESEL = 8192--wxTE_LEFT :: BitFlag-wxTE_LEFT = 0--wxTE_RIGHT :: BitFlag-wxTE_RIGHT = 512--wxTE_CENTRE :: BitFlag-wxTE_CENTRE = 256--wxTE_LINEWRAP :: BitFlag-wxTE_LINEWRAP = 16384--wxTE_WORDWRAP :: BitFlag-wxTE_WORDWRAP = 0--wxEXEC_ASYNC :: BitFlag-wxEXEC_ASYNC = 0--wxEXEC_SYNC :: BitFlag-wxEXEC_SYNC = 1--wxEXEC_NOHIDE :: BitFlag-wxEXEC_NOHIDE = 2--wxEXEC_MAKE_GROUP_LEADER :: BitFlag-wxEXEC_MAKE_GROUP_LEADER = 4--wxITEM_SEPARATOR :: Int-wxITEM_SEPARATOR = (-1)--wxITEM_NORMAL :: Int-wxITEM_NORMAL = 0--wxITEM_CHECK :: Int-wxITEM_CHECK = 1--wxITEM_RADIO :: Int-wxITEM_RADIO = 2--wxITEM_MAX :: Int-wxITEM_MAX = 3--wxCLOSE_BOX :: Int-wxCLOSE_BOX = 4096--wxFRAME_EX_CONTEXTHELP :: Int-wxFRAME_EX_CONTEXTHELP = 4--wxDIALOG_EX_CONTEXTHELP :: Int-wxDIALOG_EX_CONTEXTHELP = 4--wxFRAME_SHAPED :: Int-wxFRAME_SHAPED = 16--wxFULLSCREEN_ALL :: Int-wxFULLSCREEN_ALL = 31--wxTreeItemIcon_Normal :: Int-wxTreeItemIcon_Normal = 0--wxTreeItemIcon_Selected :: Int-wxTreeItemIcon_Selected = 1--wxTreeItemIcon_Expanded :: Int-wxTreeItemIcon_Expanded = 2--wxTreeItemIcon_SelectedExpanded :: Int-wxTreeItemIcon_SelectedExpanded = 3--wxCONFIG_USE_LOCAL_FILE :: Int-wxCONFIG_USE_LOCAL_FILE = 1--wxCONFIG_USE_GLOBAL_FILE :: Int-wxCONFIG_USE_GLOBAL_FILE = 2--wxCONFIG_USE_RELATIVE_PATH :: Int-wxCONFIG_USE_RELATIVE_PATH = 4--wxCONFIG_USE_NO_ESCAPE_CHARACTERS :: Int-wxCONFIG_USE_NO_ESCAPE_CHARACTERS = 8--wxCONFIG_TYPE_UNKNOWN :: Int-wxCONFIG_TYPE_UNKNOWN = 0--wxCONFIG_TYPE_STRING :: Int-wxCONFIG_TYPE_STRING = 1--wxCONFIG_TYPE_BOOLEAN :: Int-wxCONFIG_TYPE_BOOLEAN = 2--wxCONFIG_TYPE_INTEGER :: Int-wxCONFIG_TYPE_INTEGER = 3--wxCONFIG_TYPE_FLOAT :: Int-wxCONFIG_TYPE_FLOAT = 4--wxSIGNONE :: Int-wxSIGNONE = 0--wxSIGHUP :: Int-wxSIGHUP = 1--wxSIGINT :: Int-wxSIGINT = 2--wxSIGQUIT :: Int-wxSIGQUIT = 3--wxSIGILL :: Int-wxSIGILL = 4--wxSIGTRAP :: Int-wxSIGTRAP = 5--wxSIGABRT :: Int-wxSIGABRT = 6--wxSIGEMT :: Int-wxSIGEMT = 7--wxSIGFPE :: Int-wxSIGFPE = 8--wxSIGKILL :: Int-wxSIGKILL = 9--wxSIGBUS :: Int-wxSIGBUS = 10--wxSIGSEGV :: Int-wxSIGSEGV = 11--wxSIGSYS :: Int-wxSIGSYS = 12--wxSIGPIPE :: Int-wxSIGPIPE = 13--wxSIGALRM :: Int-wxSIGALRM = 14--wxSIGTERM :: Int-wxSIGTERM = 15--wxKILL_OK :: Int-wxKILL_OK = 0--wxKILL_BAD_SIGNAL :: Int-wxKILL_BAD_SIGNAL = 1--wxKILL_ACCESS_DENIED :: Int-wxKILL_ACCESS_DENIED = 2--wxKILL_NO_PROCESS :: Int-wxKILL_NO_PROCESS = 3--wxKILL_ERROR :: Int-wxKILL_ERROR = 4--wxSTREAM_NO_ERROR :: Int-wxSTREAM_NO_ERROR = 0--wxSTREAM_EOF :: Int-wxSTREAM_EOF = 1--wxSTREAM_WRITE_ERROR :: Int-wxSTREAM_WRITE_ERROR = 2--wxSTREAM_READ_ERROR :: Int-wxSTREAM_READ_ERROR = 3--wxNB_MULTILINE :: Int-wxNB_MULTILINE = 256--wxLC_VRULES :: Int-wxLC_VRULES = 1--wxLC_HRULES :: Int-wxLC_HRULES = 2--wxIMAGE_LIST_NORMAL :: Int-wxIMAGE_LIST_NORMAL = 0--wxIMAGE_LIST_SMALL :: Int-wxIMAGE_LIST_SMALL = 1--wxIMAGE_LIST_STATE :: Int-wxIMAGE_LIST_STATE = 2--wxTB_HORIZONTAL :: Int-wxTB_HORIZONTAL = 4--wxTB_NOALIGN :: Int-wxTB_NOALIGN = 1024--wxTB_NODIVIDER :: Int-wxTB_NODIVIDER = 512--wxTB_NOICONS :: Int-wxTB_NOICONS = 128--wxTB_TEXT :: Int-wxTB_TEXT = 256--wxTB_VERTICAL :: Int-wxTB_VERTICAL = 8--wxADJUST_MINSIZE :: Int-wxADJUST_MINSIZE = 32768--wxDB_TYPE_NAME_LEN :: Int-wxDB_TYPE_NAME_LEN = 40--wxDB_MAX_STATEMENT_LEN :: Int-wxDB_MAX_STATEMENT_LEN = 4096--wxDB_MAX_WHERE_CLAUSE_LEN :: Int-wxDB_MAX_WHERE_CLAUSE_LEN = 2048--wxDB_MAX_ERROR_MSG_LEN :: Int-wxDB_MAX_ERROR_MSG_LEN = 512--wxDB_MAX_ERROR_HISTORY :: Int-wxDB_MAX_ERROR_HISTORY = 5--wxDB_MAX_TABLE_NAME_LEN :: Int-wxDB_MAX_TABLE_NAME_LEN = 128--wxDB_MAX_COLUMN_NAME_LEN :: Int-wxDB_MAX_COLUMN_NAME_LEN = 128--wxDB_DATA_TYPE_VARCHAR :: Int-wxDB_DATA_TYPE_VARCHAR = 1--wxDB_DATA_TYPE_INTEGER :: Int-wxDB_DATA_TYPE_INTEGER = 2--wxDB_DATA_TYPE_FLOAT :: Int-wxDB_DATA_TYPE_FLOAT = 3--wxDB_DATA_TYPE_DATE :: Int-wxDB_DATA_TYPE_DATE = 4--wxDB_DATA_TYPE_BLOB :: Int-wxDB_DATA_TYPE_BLOB = 5--wxDB_SELECT_KEYFIELDS :: Int-wxDB_SELECT_KEYFIELDS = 1--wxDB_SELECT_WHERE :: Int-wxDB_SELECT_WHERE = 2--wxDB_SELECT_MATCHING :: Int-wxDB_SELECT_MATCHING = 3--wxDB_SELECT_STATEMENT :: Int-wxDB_SELECT_STATEMENT = 4--wxDB_UPD_KEYFIELDS :: Int-wxDB_UPD_KEYFIELDS = 1--wxDB_UPD_WHERE :: Int-wxDB_UPD_WHERE = 2--wxDB_DEL_KEYFIELDS :: Int-wxDB_DEL_KEYFIELDS = 1--wxDB_DEL_WHERE :: Int-wxDB_DEL_WHERE = 2--wxDB_DEL_MATCHING :: Int-wxDB_DEL_MATCHING = 3--wxDB_WHERE_KEYFIELDS :: Int-wxDB_WHERE_KEYFIELDS = 1--wxDB_WHERE_MATCHING :: Int-wxDB_WHERE_MATCHING = 2--wxDB_GRANT_SELECT :: Int-wxDB_GRANT_SELECT = 1--wxDB_GRANT_INSERT :: Int-wxDB_GRANT_INSERT = 2--wxDB_GRANT_UPDATE :: Int-wxDB_GRANT_UPDATE = 4--wxDB_GRANT_DELETE :: Int-wxDB_GRANT_DELETE = 8--wxDB_GRANT_ALL :: Int-wxDB_GRANT_ALL = 15--wxSQL_INVALID_HANDLE :: Int-wxSQL_INVALID_HANDLE = (-2)--wxSQL_ERROR :: Int-wxSQL_ERROR = (-1)--wxSQL_SUCCESS :: Int-wxSQL_SUCCESS = 0--wxSQL_SUCCESS_WITH_INFO :: Int-wxSQL_SUCCESS_WITH_INFO = 1--wxSQL_NO_DATA_FOUND :: Int-wxSQL_NO_DATA_FOUND = 100--wxSQL_CHAR :: Int-wxSQL_CHAR = 1--wxSQL_NUMERIC :: Int-wxSQL_NUMERIC = 2--wxSQL_DECIMAL :: Int-wxSQL_DECIMAL = 3--wxSQL_INTEGER :: Int-wxSQL_INTEGER = 4--wxSQL_SMALLINT :: Int-wxSQL_SMALLINT = 5--wxSQL_FLOAT :: Int-wxSQL_FLOAT = 6--wxSQL_REAL :: Int-wxSQL_REAL = 7--wxSQL_DOUBLE :: Int-wxSQL_DOUBLE = 8--wxSQL_VARCHAR :: Int-wxSQL_VARCHAR = 12--wxSQL_C_CHAR :: Int-wxSQL_C_CHAR = 1--wxSQL_C_LONG :: Int-wxSQL_C_LONG = 4--wxSQL_C_SHORT :: Int-wxSQL_C_SHORT = 5--wxSQL_C_FLOAT :: Int-wxSQL_C_FLOAT = 7--wxSQL_C_DOUBLE :: Int-wxSQL_C_DOUBLE = 8--wxSQL_C_DEFAULT :: Int-wxSQL_C_DEFAULT = 99--wxSQL_NO_NULLS :: Int-wxSQL_NO_NULLS = 0--wxSQL_NULLABLE :: Int-wxSQL_NULLABLE = 1--wxSQL_NULLABLE_UNKNOWN :: Int-wxSQL_NULLABLE_UNKNOWN = 2--wxSQL_NULL_DATA :: Int-wxSQL_NULL_DATA = (-1)--wxSQL_DATA_AT_EXEC :: Int-wxSQL_DATA_AT_EXEC = (-2)--wxSQL_NTS :: Int-wxSQL_NTS = (-3)--wxSQL_DATE :: Int-wxSQL_DATE = 9--wxSQL_TIME :: Int-wxSQL_TIME = 10--wxSQL_TIMESTAMP :: Int-wxSQL_TIMESTAMP = 11--wxSQL_C_DATE :: Int-wxSQL_C_DATE = 9--wxSQL_C_TIME :: Int-wxSQL_C_TIME = 10--wxSQL_C_TIMESTAMP :: Int-wxSQL_C_TIMESTAMP = 11--wxSQL_FETCH_NEXT :: Int-wxSQL_FETCH_NEXT = 1--wxSQL_FETCH_FIRST :: Int-wxSQL_FETCH_FIRST = 2--wxSQL_FETCH_LAST :: Int-wxSQL_FETCH_LAST = 3--wxSQL_FETCH_PRIOR :: Int-wxSQL_FETCH_PRIOR = 4--wxSQL_FETCH_ABSOLUTE :: Int-wxSQL_FETCH_ABSOLUTE = 5--wxSQL_FETCH_RELATIVE :: Int-wxSQL_FETCH_RELATIVE = 6--wxSQL_FETCH_BOOKMARK :: Int-wxSQL_FETCH_BOOKMARK = 8--wxSOUND_SYNC :: Int-wxSOUND_SYNC = 0--wxSOUND_ASYNC :: Int-wxSOUND_ASYNC = 1--wxSOUND_LOOP :: Int-wxSOUND_LOOP = 2--wxDRAG_COPYONLY :: Int-wxDRAG_COPYONLY = 0--wxDRAG_ALLOWMOVE :: Int-wxDRAG_ALLOWMOVE = 1--wxDRAG_DEFALUTMOVE :: Int-wxDRAG_DEFALUTMOVE = 3--wxMEDIACTRLPLAYERCONTROLS_NONE :: BitFlag-wxMEDIACTRLPLAYERCONTROLS_NONE = 0--wxMEDIACTRLPLAYERCONTROLS_STEP :: BitFlag-wxMEDIACTRLPLAYERCONTROLS_STEP = 1--wxMEDIACTRLPLAYERCONTROLS_VOLUME :: BitFlag-wxMEDIACTRLPLAYERCONTROLS_VOLUME = 2--wxMEDIACTRLPLAYERCONTROLS_DEFAULT :: BitFlag-wxMEDIACTRLPLAYERCONTROLS_DEFAULT = 3--wxACCEL_ALT :: Int-wxACCEL_ALT = 1--wxACCEL_CTRL :: Int-wxACCEL_CTRL = 2--wxACCEL_SHIFT :: Int-wxACCEL_SHIFT = 4--wxACCEL_NORMAL :: Int-wxACCEL_NORMAL = 0--wxNULL_FLAG :: Int-wxNULL_FLAG = 0--wxEVT_NULL :: Int-wxEVT_NULL = 0--wxEVT_FIRST :: Int-wxEVT_FIRST = 10000--wxJOYSTICK1 :: Int-wxJOYSTICK1 = 0--wxJOYSTICK2 :: Int-wxJOYSTICK2 = 1--wxJOY_BUTTON1 :: Int-wxJOY_BUTTON1 = 1--wxJOY_BUTTON2 :: Int-wxJOY_BUTTON2 = 2--wxJOY_BUTTON3 :: Int-wxJOY_BUTTON3 = 4--wxJOY_BUTTON4 :: Int-wxJOY_BUTTON4 = 8--wxUNKNOWN_PLATFORM :: Int-wxUNKNOWN_PLATFORM = 1--wxCURSES :: Int-wxCURSES = 2--wxXVIEW_X :: Int-wxXVIEW_X = 3--wxMOTIF_X :: Int-wxMOTIF_X = 4--wxCOSE_X :: Int-wxCOSE_X = 5--wxNEXTSTEP :: Int-wxNEXTSTEP = 6--wxMACINTOSH :: Int-wxMACINTOSH = 7--wxBEOS :: Int-wxBEOS = 8--wxGTK :: Int-wxGTK = 9--wxGTK_WIN32 :: Int-wxGTK_WIN32 = 10--wxGTK_OS2 :: Int-wxGTK_OS2 = 11--wxGTK_BEOS :: Int-wxGTK_BEOS = 12--wxQT :: Int-wxQT = 13--wxGEOS :: Int-wxGEOS = 14--wxOS2_PM :: Int-wxOS2_PM = 15--wxWINDOWS :: Int-wxWINDOWS = 16--wxPENWINDOWS :: Int-wxPENWINDOWS = 17--wxWINDOWS_NT :: Int-wxWINDOWS_NT = 18--wxWIN32S :: Int-wxWIN32S = 19--wxWIN95 :: Int-wxWIN95 = 20--wxWIN386 :: Int-wxWIN386 = 21--wxMGL_UNIX :: Int-wxMGL_UNIX = 22--wxMGL_X :: Int-wxMGL_X = 23--wxMGL_WIN32 :: Int-wxMGL_WIN32 = 24--wxMGL_OS2 :: Int-wxMGL_OS2 = 25--wxWINDOWS_OS2 :: Int-wxWINDOWS_OS2 = 26--wxUNIX :: Int-wxUNIX = 27--wxBIG_ENDIAN :: Int-wxBIG_ENDIAN = 4321--wxLITTLE_ENDIAN :: Int-wxLITTLE_ENDIAN = 1234--wxPDP_ENDIAN :: Int-wxPDP_ENDIAN = 3412--wxCENTRE :: Int-wxCENTRE = 1--wxCENTER :: Int-wxCENTER = 1--wxCENTER_FRAME :: Int-wxCENTER_FRAME = 0--wxCENTRE_ON_SCREEN :: Int-wxCENTRE_ON_SCREEN = 2--wxHORIZONTAL :: Int-wxHORIZONTAL = 4--wxVERTICAL :: Int-wxVERTICAL = 8--wxBOTH :: Int-wxBOTH = 12--wxLEFT :: Int-wxLEFT = 16--wxRIGHT :: Int-wxRIGHT = 32--wxUP :: Int-wxUP = 64--wxDOWN :: Int-wxDOWN = 128--wxTOP :: Int-wxTOP = 64--wxBOTTOM :: Int-wxBOTTOM = 128--wxNORTH :: Int-wxNORTH = 64--wxSOUTH :: Int-wxSOUTH = 128--wxWEST :: Int-wxWEST = 16--wxEAST :: Int-wxEAST = 32--wxALL :: Int-wxALL = 240--wxALIGN_NOT :: Int-wxALIGN_NOT = 0--wxALIGN_CENTER_HORIZONTAL :: Int-wxALIGN_CENTER_HORIZONTAL = 256--wxALIGN_CENTRE_HORIZONTAL :: Int-wxALIGN_CENTRE_HORIZONTAL = 256--wxALIGN_LEFT :: Int-wxALIGN_LEFT = 0--wxALIGN_TOP :: Int-wxALIGN_TOP = 0--wxALIGN_RIGHT :: Int-wxALIGN_RIGHT = 512--wxALIGN_BOTTOM :: Int-wxALIGN_BOTTOM = 1024--wxALIGN_CENTER_VERTICAL :: Int-wxALIGN_CENTER_VERTICAL = 2048--wxALIGN_CENTRE_VERTICAL :: Int-wxALIGN_CENTRE_VERTICAL = 2048--wxALIGN_CENTER :: Int-wxALIGN_CENTER = 2304--wxALIGN_CENTRE :: Int-wxALIGN_CENTRE = 2304--wxSTRETCH_NOT :: Int-wxSTRETCH_NOT = 0--wxSHRINK :: Int-wxSHRINK = 4096--wxGROW :: Int-wxGROW = 8192--wxEXPAND :: Int-wxEXPAND = 8192--wxSHAPED :: Int-wxSHAPED = 16384--wxVSCROLL :: Int-wxVSCROLL = (-2147483648)--wxHSCROLL :: Int-wxHSCROLL = 1073741824--wxCAPTION :: Int-wxCAPTION = 536870912--wxDOUBLE_BORDER :: Int-wxDOUBLE_BORDER = 268435456--wxSUNKEN_BORDER :: Int-wxSUNKEN_BORDER = 134217728--wxRAISED_BORDER :: Int-wxRAISED_BORDER = 67108864--wxSTATIC_BORDER :: Int-wxSTATIC_BORDER = 16777216--wxBORDER :: Int-wxBORDER = 33554432--wxTRANSPARENT_WINDOW :: Int-wxTRANSPARENT_WINDOW = 1048576--wxNO_BORDER :: Int-wxNO_BORDER = 2097152--wxUSER_COLOURS :: Int-wxUSER_COLOURS = 8388608--wxNO_3D :: Int-wxNO_3D = 8388608--wxCLIP_CHILDREN :: Int-wxCLIP_CHILDREN = 4194304--wxTAB_TRAVERSAL :: Int-wxTAB_TRAVERSAL = 524288--wxWANTS_CHARS :: Int-wxWANTS_CHARS = 262144--wxRETAINED :: Int-wxRETAINED = 131072--wxNO_FULL_REPAINT_ON_RESIZE :: Int-wxNO_FULL_REPAINT_ON_RESIZE = 65536--wxWS_EX_VALIDATE_RECURSIVELY :: Int-wxWS_EX_VALIDATE_RECURSIVELY = 1--wxSTAY_ON_TOP :: Int-wxSTAY_ON_TOP = 32768--wxICONIZE :: Int-wxICONIZE = 16384--wxMAXIMIZE :: Int-wxMAXIMIZE = 8192--wxSYSTEM_MENU :: Int-wxSYSTEM_MENU = 2048--wxMINIMIZE_BOX :: Int-wxMINIMIZE_BOX = 1024--wxMAXIMIZE_BOX :: Int-wxMAXIMIZE_BOX = 512--wxDEFAULT_FRAME_STYLE :: Int-wxDEFAULT_FRAME_STYLE = 536878656--wxTINY_CAPTION_HORIZ :: Int-wxTINY_CAPTION_HORIZ = 256--wxTINY_CAPTION_VERT :: Int-wxTINY_CAPTION_VERT = 128--wxRESIZE_BORDER :: Int-wxRESIZE_BORDER = 64--wxDIALOG_MODAL :: Int-wxDIALOG_MODAL = 32--wxDIALOG_MODELESS :: Int-wxDIALOG_MODELESS = 0--wxFRAME_FLOAT_ON_PARENT :: Int-wxFRAME_FLOAT_ON_PARENT = 8--wxFRAME_NO_WINDOW_MENU :: Int-wxFRAME_NO_WINDOW_MENU = 256--wxED_CLIENT_MARGIN :: Int-wxED_CLIENT_MARGIN = 4--wxED_BUTTONS_BOTTOM :: Int-wxED_BUTTONS_BOTTOM = 0--wxED_BUTTONS_RIGHT :: Int-wxED_BUTTONS_RIGHT = 2--wxED_STATIC_LINE :: Int-wxED_STATIC_LINE = 1--wxTB_3DBUTTONS :: Int-wxTB_3DBUTTONS = 16--wxTB_FLAT :: Int-wxTB_FLAT = 32--wxTB_DOCKABLE :: Int-wxTB_DOCKABLE = 64--wxMB_DOCKABLE :: Int-wxMB_DOCKABLE = 1--wxMENU_TEAROFF :: Int-wxMENU_TEAROFF = 1--wxCOLOURED :: Int-wxCOLOURED = 2048--wxFIXED_LENGTH :: Int-wxFIXED_LENGTH = 1024--wxLB_SORT :: Int-wxLB_SORT = 16--wxLB_SINGLE :: Int-wxLB_SINGLE = 32--wxLB_MULTIPLE :: Int-wxLB_MULTIPLE = 64--wxLB_EXTENDED :: Int-wxLB_EXTENDED = 128--wxLB_OWNERDRAW :: Int-wxLB_OWNERDRAW = 256--wxLB_NEEDED_SB :: Int-wxLB_NEEDED_SB = 512--wxLB_ALWAYS_SB :: Int-wxLB_ALWAYS_SB = 1024--wxTE_READONLY :: Int-wxTE_READONLY = 16--wxTE_MULTILINE :: Int-wxTE_MULTILINE = 32--wxTE_PROCESS_TAB :: Int-wxTE_PROCESS_TAB = 64--wxTE_RICH :: Int-wxTE_RICH = 128--wxTE_NO_VSCROLL :: Int-wxTE_NO_VSCROLL = 256--wxTE_AUTO_SCROLL :: Int-wxTE_AUTO_SCROLL = 512--wxPROCESS_ENTER :: Int-wxPROCESS_ENTER = 1024--wxPASSWORD :: Int-wxPASSWORD = 2048--wxCB_SIMPLE :: Int-wxCB_SIMPLE = 4--wxCB_SORT :: Int-wxCB_SORT = 8--wxCB_READONLY :: Int-wxCB_READONLY = 16--wxCB_DROPDOWN :: Int-wxCB_DROPDOWN = 32--wxRB_GROUP :: Int-wxRB_GROUP = 4--wxGA_PROGRESSBAR :: Int-wxGA_PROGRESSBAR = 16--wxGA_SMOOTH :: Int-wxGA_SMOOTH = 32--wxSL_NOTIFY_DRAG :: Int-wxSL_NOTIFY_DRAG = 0--wxSL_AUTOTICKS :: Int-wxSL_AUTOTICKS = 16--wxSL_LABELS :: Int-wxSL_LABELS = 32--wxSL_LEFT :: Int-wxSL_LEFT = 64--wxSL_TOP :: Int-wxSL_TOP = 128--wxSL_RIGHT :: Int-wxSL_RIGHT = 256--wxSL_BOTTOM :: Int-wxSL_BOTTOM = 512--wxSL_BOTH :: Int-wxSL_BOTH = 1024--wxSL_SELRANGE :: Int-wxSL_SELRANGE = 2048--wxBU_AUTODRAW :: Int-wxBU_AUTODRAW = 4--wxBU_NOAUTODRAW :: Int-wxBU_NOAUTODRAW = 0--wxBU_LEFT :: Int-wxBU_LEFT = 64--wxBU_TOP :: Int-wxBU_TOP = 128--wxBU_RIGHT :: Int-wxBU_RIGHT = 256--wxBU_BOTTOM :: Int-wxBU_BOTTOM = 512--wxLC_ICON :: Int-wxLC_ICON = 4--wxLC_SMALL_ICON :: Int-wxLC_SMALL_ICON = 8--wxLC_LIST :: Int-wxLC_LIST = 16--wxLC_REPORT :: Int-wxLC_REPORT = 32--wxLC_ALIGN_TOP :: Int-wxLC_ALIGN_TOP = 64--wxLC_ALIGN_LEFT :: Int-wxLC_ALIGN_LEFT = 128--wxLC_AUTOARRANGE :: Int-wxLC_AUTOARRANGE = 256--wxLC_USER_TEXT :: Int-wxLC_USER_TEXT = 512--wxLC_EDIT_LABELS :: Int-wxLC_EDIT_LABELS = 1024--wxLC_NO_HEADER :: Int-wxLC_NO_HEADER = 2048--wxLC_NO_SORT_HEADER :: Int-wxLC_NO_SORT_HEADER = 4096--wxLC_SINGLE_SEL :: Int-wxLC_SINGLE_SEL = 8192--wxLC_SORT_ASCENDING :: Int-wxLC_SORT_ASCENDING = 16384--wxLC_SORT_DESCENDING :: Int-wxLC_SORT_DESCENDING = 32768--wxSP_ARROW_KEYS :: Int-wxSP_ARROW_KEYS = 4096--wxSP_WRAP :: Int-wxSP_WRAP = 8192--wxSP_NOBORDER :: Int-wxSP_NOBORDER = 0--wxSP_NOSASH :: Int-wxSP_NOSASH = 16--wxSP_BORDER :: Int-wxSP_BORDER = 32--wxSP_PERMIT_UNSPLIT :: Int-wxSP_PERMIT_UNSPLIT = 64--wxSP_LIVE_UPDATE :: Int-wxSP_LIVE_UPDATE = 128--wxSP_3DSASH :: Int-wxSP_3DSASH = 256--wxSP_3DBORDER :: Int-wxSP_3DBORDER = 512--wxSP_3D :: Int-wxSP_3D = 768--wxSP_FULLSASH :: Int-wxSP_FULLSASH = 1024--wxFRAME_TOOL_WINDOW :: Int-wxFRAME_TOOL_WINDOW = 4--wxTC_MULTILINE :: Int-wxTC_MULTILINE = 0--wxTC_RIGHTJUSTIFY :: Int-wxTC_RIGHTJUSTIFY = 16--wxTC_FIXEDWIDTH :: Int-wxTC_FIXEDWIDTH = 32--wxTC_OWNERDRAW :: Int-wxTC_OWNERDRAW = 64--wxNB_FIXEDWIDTH :: Int-wxNB_FIXEDWIDTH = 16--wxST_SIZEGRIP :: Int-wxST_SIZEGRIP = 16--wxST_NO_AUTORESIZE :: Int-wxST_NO_AUTORESIZE = 1--wxPD_CAN_ABORT :: Int-wxPD_CAN_ABORT = 1--wxPD_APP_MODAL :: Int-wxPD_APP_MODAL = 2--wxPD_AUTO_HIDE :: Int-wxPD_AUTO_HIDE = 4--wxPD_ELAPSED_TIME :: Int-wxPD_ELAPSED_TIME = 8--wxPD_ESTIMATED_TIME :: Int-wxPD_ESTIMATED_TIME = 16--wxPD_REMAINING_TIME :: Int-wxPD_REMAINING_TIME = 64--wxHW_SCROLLBAR_NEVER :: Int-wxHW_SCROLLBAR_NEVER = 2--wxHW_SCROLLBAR_AUTO :: Int-wxHW_SCROLLBAR_AUTO = 4--wxCAL_SUNDAY_FIRST :: Int-wxCAL_SUNDAY_FIRST = 0--wxCAL_MONDAY_FIRST :: Int-wxCAL_MONDAY_FIRST = 1--wxCAL_SHOW_HOLIDAYS :: Int-wxCAL_SHOW_HOLIDAYS = 2--wxCAL_NO_YEAR_CHANGE :: Int-wxCAL_NO_YEAR_CHANGE = 4--wxCAL_NO_MONTH_CHANGE :: Int-wxCAL_NO_MONTH_CHANGE = 12--wxICON_EXCLAMATION :: Int-wxICON_EXCLAMATION = 256--wxICON_HAND :: Int-wxICON_HAND = 512--wxICON_QUESTION :: Int-wxICON_QUESTION = 1024--wxICON_INFORMATION :: Int-wxICON_INFORMATION = 2048--wxFORWARD :: Int-wxFORWARD = 4096--wxBACKWARD :: Int-wxBACKWARD = 8192--wxRESET :: Int-wxRESET = 16384--wxHELP :: Int-wxHELP = 32768--wxMORE :: Int-wxMORE = 65536--wxSETUP :: Int-wxSETUP = 131072--wxID_LOWEST :: Int-wxID_LOWEST = 4999--wxID_OPEN :: Int-wxID_OPEN = 5000--wxID_CLOSE :: Int-wxID_CLOSE = 5001--wxID_NEW :: Int-wxID_NEW = 5002--wxID_SAVE :: Int-wxID_SAVE = 5003--wxID_SAVEAS :: Int-wxID_SAVEAS = 5004--wxID_REVERT :: Int-wxID_REVERT = 5005--wxID_EXIT :: Int-wxID_EXIT = 5006--wxID_UNDO :: Int-wxID_UNDO = 5007--wxID_REDO :: Int-wxID_REDO = 5008--wxID_HELP :: Int-wxID_HELP = 5009--wxID_PRINT :: Int-wxID_PRINT = 5010--wxID_PRINT_SETUP :: Int-wxID_PRINT_SETUP = 5011--wxID_PREVIEW :: Int-wxID_PREVIEW = 5012--wxID_ABOUT :: Int-wxID_ABOUT = 5013--wxID_HELP_CONTENTS :: Int-wxID_HELP_CONTENTS = 5014--wxID_HELP_COMMANDS :: Int-wxID_HELP_COMMANDS = 5015--wxID_HELP_PROCEDURES :: Int-wxID_HELP_PROCEDURES = 5016--wxID_HELP_CONTEXT :: Int-wxID_HELP_CONTEXT = 5017--wxID_CLOSE_ALL :: Int-wxID_CLOSE_ALL = 5018--wxID_PREFERENCES :: Int-wxID_PREFERENCES = 5019--wxID_EDIT :: Int-wxID_EDIT = 5030--wxID_CUT :: Int-wxID_CUT = 5031--wxID_COPY :: Int-wxID_COPY = 5032--wxID_PASTE :: Int-wxID_PASTE = 5033--wxID_CLEAR :: Int-wxID_CLEAR = 5034--wxID_FIND :: Int-wxID_FIND = 5035--wxID_DUPLICATE :: Int-wxID_DUPLICATE = 5036--wxID_SELECTALL :: Int-wxID_SELECTALL = 5037--wxID_DELETE :: Int-wxID_DELETE = 5038--wxID_REPLACE :: Int-wxID_REPLACE = 5039--wxID_REPLACE_ALL :: Int-wxID_REPLACE_ALL = 5040--wxID_PROPERTIES :: Int-wxID_PROPERTIES = 5041--wxID_VIEW_DETAILS :: Int-wxID_VIEW_DETAILS = 5042--wxID_VIEW_LARGEICONS :: Int-wxID_VIEW_LARGEICONS = 5043--wxID_VIEW_SMALLICONS :: Int-wxID_VIEW_SMALLICONS = 5044--wxID_VIEW_LIST :: Int-wxID_VIEW_LIST = 5045--wxID_VIEW_SORTDATE :: Int-wxID_VIEW_SORTDATE = 5046--wxID_VIEW_SORTNAME :: Int-wxID_VIEW_SORTNAME = 5047--wxID_VIEW_SORTSIZE :: Int-wxID_VIEW_SORTSIZE = 5048--wxID_VIEW_SORTTYPE :: Int-wxID_VIEW_SORTTYPE = 5049--wxID_FILE1 :: Int-wxID_FILE1 = 5050--wxID_FILE2 :: Int-wxID_FILE2 = 5051--wxID_FILE3 :: Int-wxID_FILE3 = 5052--wxID_FILE4 :: Int-wxID_FILE4 = 5053--wxID_FILE5 :: Int-wxID_FILE5 = 5054--wxID_FILE6 :: Int-wxID_FILE6 = 5055--wxID_FILE7 :: Int-wxID_FILE7 = 5056--wxID_FILE8 :: Int-wxID_FILE8 = 5057--wxID_FILE9 :: Int-wxID_FILE9 = 5058--wxID_OK :: Int-wxID_OK = 5100--wxID_CANCEL :: Int-wxID_CANCEL = 5101--wxID_APPLY :: Int-wxID_APPLY = 5102--wxID_YES :: Int-wxID_YES = 5103--wxID_NO :: Int-wxID_NO = 5104--wxID_STATIC :: Int-wxID_STATIC = 5105--wxID_FORWARD :: Int-wxID_FORWARD = 5106--wxID_BACKWARD :: Int-wxID_BACKWARD = 5107--wxID_DEFAULT :: Int-wxID_DEFAULT = 5108--wxID_MORE :: Int-wxID_MORE = 5109--wxID_SETUP :: Int-wxID_SETUP = 5110--wxID_RESET :: Int-wxID_RESET = 5111--wxID_FILEDLGG :: Int-wxID_FILEDLGG = 5900--wxID_HIGHEST :: Int-wxID_HIGHEST = 5999--wxSIZE_AUTO_WIDTH :: Int-wxSIZE_AUTO_WIDTH = 1--wxSIZE_AUTO_HEIGHT :: Int-wxSIZE_AUTO_HEIGHT = 2--wxSIZE_USE_EXISTING :: Int-wxSIZE_USE_EXISTING = 0--wxSIZE_ALLOW_MINUS_ONE :: Int-wxSIZE_ALLOW_MINUS_ONE = 4--wxSIZE_NO_ADJUSTMENTS :: Int-wxSIZE_NO_ADJUSTMENTS = 8--wxSOLID :: Int-wxSOLID = 100--wxDOT :: Int-wxDOT = 101--wxLONG_DASH :: Int-wxLONG_DASH = 102--wxSHORT_DASH :: Int-wxSHORT_DASH = 103--wxDOT_DASH :: Int-wxDOT_DASH = 104--wxUSER_DASH :: Int-wxUSER_DASH = 105--wxTRANSPARENT :: Int-wxTRANSPARENT = 106--wxSTIPPLE_MASK_OPAQUE :: Int-wxSTIPPLE_MASK_OPAQUE = 107--wxSTIPPLE_MASK :: Int-wxSTIPPLE_MASK = 108--wxSTIPPLE :: Int-wxSTIPPLE = 110--wxBDIAGONAL_HATCH :: Int-wxBDIAGONAL_HATCH = 111--wxCROSSDIAG_HATCH :: Int-wxCROSSDIAG_HATCH = 112--wxFDIAGONAL_HATCH :: Int-wxFDIAGONAL_HATCH = 113--wxCROSS_HATCH :: Int-wxCROSS_HATCH = 114--wxHORIZONTAL_HATCH :: Int-wxHORIZONTAL_HATCH = 115--wxVERTICAL_HATCH :: Int-wxVERTICAL_HATCH = 116--wxJOIN_BEVEL :: Int-wxJOIN_BEVEL = 120--wxJOIN_MITER :: Int-wxJOIN_MITER = 121--wxJOIN_ROUND :: Int-wxJOIN_ROUND = 122--wxCAP_ROUND :: Int-wxCAP_ROUND = 130--wxCAP_PROJECTING :: Int-wxCAP_PROJECTING = 131--wxCAP_BUTT :: Int-wxCAP_BUTT = 132--wxCLEAR :: Int-wxCLEAR = 0--wxXOR :: Int-wxXOR = 1--wxINVERT :: Int-wxINVERT = 2--wxOR_REVERSE :: Int-wxOR_REVERSE = 3--wxAND_REVERSE :: Int-wxAND_REVERSE = 4--wxCOPY :: Int-wxCOPY = 5--wxAND :: Int-wxAND = 6--wxAND_INVERT :: Int-wxAND_INVERT = 7--wxNO_OP :: Int-wxNO_OP = 8--wxNOR :: Int-wxNOR = 9--wxEQUIV :: Int-wxEQUIV = 10--wxSRC_INVERT :: Int-wxSRC_INVERT = 11--wxOR_INVERT :: Int-wxOR_INVERT = 12--wxNAND :: Int-wxNAND = 13--wxOR :: Int-wxOR = 14--wxSET :: Int-wxSET = 15--wxFLOOD_SURFACE :: Int-wxFLOOD_SURFACE = 1--wxFLOOD_BORDER :: Int-wxFLOOD_BORDER = 2--wxODDEVEN_RULE :: Int-wxODDEVEN_RULE = 1--wxWINDING_RULE :: Int-wxWINDING_RULE = 2--wxTOOL_TOP :: Int-wxTOOL_TOP = 1--wxTOOL_BOTTOM :: Int-wxTOOL_BOTTOM = 2--wxTOOL_LEFT :: Int-wxTOOL_LEFT = 3--wxTOOL_RIGHT :: Int-wxTOOL_RIGHT = 4--wxDF_INVALID :: Int-wxDF_INVALID = 1--wxDF_TEXT :: Int-wxDF_TEXT = 2--wxDF_BITMAP :: Int-wxDF_BITMAP = 3--wxDF_METAFILE :: Int-wxDF_METAFILE = 4--wxDF_SYLK :: Int-wxDF_SYLK = 5--wxDF_DIF :: Int-wxDF_DIF = 6--wxDF_TIFF :: Int-wxDF_TIFF = 7--wxDF_OEMTEXT :: Int-wxDF_OEMTEXT = 8--wxDF_DIB :: Int-wxDF_DIB = 9--wxDF_PALETTE :: Int-wxDF_PALETTE = 10--wxDF_PENDATA :: Int-wxDF_PENDATA = 11--wxDF_RIFF :: Int-wxDF_RIFF = 12--wxDF_WAVE :: Int-wxDF_WAVE = 13--wxDF_UNICODETEXT :: Int-wxDF_UNICODETEXT = 14--wxDF_ENHMETAFILE :: Int-wxDF_ENHMETAFILE = 15--wxDF_FILENAME :: Int-wxDF_FILENAME = 16--wxDF_LOCALE :: Int-wxDF_LOCALE = 17--wxDF_PRIVATE :: Int-wxDF_PRIVATE = 18--wxDF_MAX :: Int-wxDF_MAX = 19--wxMM_TEXT :: Int-wxMM_TEXT = 1--wxMM_LOMETRIC :: Int-wxMM_LOMETRIC = 2--wxMM_HIMETRIC :: Int-wxMM_HIMETRIC = 3--wxMM_LOENGLISH :: Int-wxMM_LOENGLISH = 4--wxMM_HIENGLISH :: Int-wxMM_HIENGLISH = 5--wxMM_TWIPS :: Int-wxMM_TWIPS = 6--wxMM_ISOTROPIC :: Int-wxMM_ISOTROPIC = 7--wxMM_ANISOTROPIC :: Int-wxMM_ANISOTROPIC = 8--wxMM_POINTS :: Int-wxMM_POINTS = 9--wxMM_METRIC :: Int-wxMM_METRIC = 10--wxPAPER_NONE :: Int-wxPAPER_NONE = 0--wxPAPER_LETTER :: Int-wxPAPER_LETTER = 1--wxPAPER_LEGAL :: Int-wxPAPER_LEGAL = 2--wxPAPER_A4 :: Int-wxPAPER_A4 = 3--wxPAPER_CSHEET :: Int-wxPAPER_CSHEET = 4--wxPAPER_DSHEET :: Int-wxPAPER_DSHEET = 5--wxPAPER_ESHEET :: Int-wxPAPER_ESHEET = 6--wxPAPER_LETTERSMALL :: Int-wxPAPER_LETTERSMALL = 7--wxPAPER_TABLOID :: Int-wxPAPER_TABLOID = 8--wxPAPER_LEDGER :: Int-wxPAPER_LEDGER = 9--wxPAPER_STATEMENT :: Int-wxPAPER_STATEMENT = 10--wxPAPER_EXECUTIVE :: Int-wxPAPER_EXECUTIVE = 11--wxPAPER_A3 :: Int-wxPAPER_A3 = 12--wxPAPER_A4SMALL :: Int-wxPAPER_A4SMALL = 13--wxPAPER_A5 :: Int-wxPAPER_A5 = 14--wxPAPER_B4 :: Int-wxPAPER_B4 = 15--wxPAPER_B5 :: Int-wxPAPER_B5 = 16--wxPAPER_FOLIO :: Int-wxPAPER_FOLIO = 17--wxPAPER_QUARTO :: Int-wxPAPER_QUARTO = 18--wxPAPER_10X14 :: Int-wxPAPER_10X14 = 19--wxPAPER_11X17 :: Int-wxPAPER_11X17 = 20--wxPAPER_NOTE :: Int-wxPAPER_NOTE = 21--wxPAPER_ENV_9 :: Int-wxPAPER_ENV_9 = 22--wxPAPER_ENV_10 :: Int-wxPAPER_ENV_10 = 23--wxPAPER_ENV_11 :: Int-wxPAPER_ENV_11 = 24--wxPAPER_ENV_12 :: Int-wxPAPER_ENV_12 = 25--wxPAPER_ENV_14 :: Int-wxPAPER_ENV_14 = 26--wxPAPER_ENV_DL :: Int-wxPAPER_ENV_DL = 27--wxPAPER_ENV_C5 :: Int-wxPAPER_ENV_C5 = 28--wxPAPER_ENV_C3 :: Int-wxPAPER_ENV_C3 = 29--wxPAPER_ENV_C4 :: Int-wxPAPER_ENV_C4 = 30--wxPAPER_ENV_C6 :: Int-wxPAPER_ENV_C6 = 31--wxPAPER_ENV_C65 :: Int-wxPAPER_ENV_C65 = 32--wxPAPER_ENV_B4 :: Int-wxPAPER_ENV_B4 = 33--wxPAPER_ENV_B5 :: Int-wxPAPER_ENV_B5 = 34--wxPAPER_ENV_B6 :: Int-wxPAPER_ENV_B6 = 35--wxPAPER_ENV_ITALY :: Int-wxPAPER_ENV_ITALY = 36--wxPAPER_ENV_MONARCH :: Int-wxPAPER_ENV_MONARCH = 37--wxPAPER_ENV_PERSONAL :: Int-wxPAPER_ENV_PERSONAL = 38--wxPAPER_FANFOLD_US :: Int-wxPAPER_FANFOLD_US = 39--wxPAPER_FANFOLD_STD_GERMAN :: Int-wxPAPER_FANFOLD_STD_GERMAN = 40--wxPAPER_FANFOLD_LGL_GERMAN :: Int-wxPAPER_FANFOLD_LGL_GERMAN = 41--wxPAPER_ISO_B4 :: Int-wxPAPER_ISO_B4 = 42--wxPAPER_JAPANESE_POSTCARD :: Int-wxPAPER_JAPANESE_POSTCARD = 43--wxPAPER_9X11 :: Int-wxPAPER_9X11 = 44--wxPAPER_10X11 :: Int-wxPAPER_10X11 = 45--wxPAPER_15X11 :: Int-wxPAPER_15X11 = 46--wxPAPER_ENV_INVITE :: Int-wxPAPER_ENV_INVITE = 47--wxPAPER_LETTER_EXTRA :: Int-wxPAPER_LETTER_EXTRA = 48--wxPAPER_LEGAL_EXTRA :: Int-wxPAPER_LEGAL_EXTRA = 49--wxPAPER_TABLOID_EXTRA :: Int-wxPAPER_TABLOID_EXTRA = 50--wxPAPER_A4_EXTRA :: Int-wxPAPER_A4_EXTRA = 51--wxPAPER_LETTER_TRANSVERSE :: Int-wxPAPER_LETTER_TRANSVERSE = 52--wxPAPER_A4_TRANSVERSE :: Int-wxPAPER_A4_TRANSVERSE = 53--wxPAPER_LETTER_EXTRA_TRANSVERSE :: Int-wxPAPER_LETTER_EXTRA_TRANSVERSE = 54--wxPAPER_A_PLUS :: Int-wxPAPER_A_PLUS = 55--wxPAPER_B_PLUS :: Int-wxPAPER_B_PLUS = 56--wxPAPER_LETTER_PLUS :: Int-wxPAPER_LETTER_PLUS = 57--wxPAPER_A4_PLUS :: Int-wxPAPER_A4_PLUS = 58--wxPAPER_A5_TRANSVERSE :: Int-wxPAPER_A5_TRANSVERSE = 59--wxPAPER_B5_TRANSVERSE :: Int-wxPAPER_B5_TRANSVERSE = 60--wxPAPER_A3_EXTRA :: Int-wxPAPER_A3_EXTRA = 61--wxPAPER_A5_EXTRA :: Int-wxPAPER_A5_EXTRA = 62--wxPAPER_B5_EXTRA :: Int-wxPAPER_B5_EXTRA = 63--wxPAPER_A2 :: Int-wxPAPER_A2 = 64--wxPAPER_A3_TRANSVERSE :: Int-wxPAPER_A3_TRANSVERSE = 65--wxPAPER_A3_EXTRA_TRANSVERSE :: Int-wxPAPER_A3_EXTRA_TRANSVERSE = 66--wxPORTRAIT :: Int-wxPORTRAIT = 1--wxLANDSCAPE :: Int-wxLANDSCAPE = 2--wxDUPLEX_SIMPLEX :: Int-wxDUPLEX_SIMPLEX = 0--wxDUPLEX_HORIZONTAL :: Int-wxDUPLEX_HORIZONTAL = 1--wxDUPLEX_VERTICAL :: Int-wxDUPLEX_VERTICAL = 2--wxPRINT_MODE_NONE :: Int-wxPRINT_MODE_NONE = 0--wxPRINT_MODE_PREVIEW :: Int-wxPRINT_MODE_PREVIEW = 1--wxPRINT_MODE_FILE :: Int-wxPRINT_MODE_FILE = 2--wxPRINT_MODE_PRINTER :: Int-wxPRINT_MODE_PRINTER = 3--wxFULLSCREEN_NOMENUBAR :: Int-wxFULLSCREEN_NOMENUBAR = 1--wxFULLSCREEN_NOTOOLBAR :: Int-wxFULLSCREEN_NOTOOLBAR = 2--wxFULLSCREEN_NOSTATUSBAR :: Int-wxFULLSCREEN_NOSTATUSBAR = 4--wxFULLSCREEN_NOBORDER :: Int-wxFULLSCREEN_NOBORDER = 8--wxFULLSCREEN_NOCAPTION :: Int-wxFULLSCREEN_NOCAPTION = 16--wxLAYOUT_DEFAULT_MARGIN :: Int-wxLAYOUT_DEFAULT_MARGIN = 0--wxEDGE_LEFT :: Int-wxEDGE_LEFT = 0--wxEDGE_TOP :: Int-wxEDGE_TOP = 1--wxEDGE_RIGHT :: Int-wxEDGE_RIGHT = 2--wxEDGE_BOTTOM :: Int-wxEDGE_BOTTOM = 3--wxEDGE_WIDTH :: Int-wxEDGE_WIDTH = 4--wxEDGE_HEIGHT :: Int-wxEDGE_HEIGHT = 5--wxEDGE_CENTER :: Int-wxEDGE_CENTER = 6--wxEDGE_CENTREX :: Int-wxEDGE_CENTREX = 7--wxEDGE_CENTREY :: Int-wxEDGE_CENTREY = 8--wxRELATIONSHIP_UNCONSTRAINED :: Int-wxRELATIONSHIP_UNCONSTRAINED = 0--wxRELATIONSHIP_ASIS :: Int-wxRELATIONSHIP_ASIS = 1--wxRELATIONSHIP_PERCENTOF :: Int-wxRELATIONSHIP_PERCENTOF = 2--wxRELATIONSHIP_ABOVE :: Int-wxRELATIONSHIP_ABOVE = 3--wxRELATIONSHIP_BELOW :: Int-wxRELATIONSHIP_BELOW = 4--wxRELATIONSHIP_LEFTOF :: Int-wxRELATIONSHIP_LEFTOF = 5--wxRELATIONSHIP_RIGHTOF :: Int-wxRELATIONSHIP_RIGHTOF = 6--wxRELATIONSHIP_SAMEAS :: Int-wxRELATIONSHIP_SAMEAS = 7--wxRELATIONSHIP_ABSOLUTE :: Int-wxRELATIONSHIP_ABSOLUTE = 8--wxFONTENCODING_SYSTEM :: Int-wxFONTENCODING_SYSTEM = (-1)--wxFONTENCODING_DEFAULT :: Int-wxFONTENCODING_DEFAULT = 0--wxFONTENCODING_ISO8859_1 :: Int-wxFONTENCODING_ISO8859_1 = 1--wxFONTENCODING_ISO8859_2 :: Int-wxFONTENCODING_ISO8859_2 = 2--wxFONTENCODING_ISO8859_3 :: Int-wxFONTENCODING_ISO8859_3 = 3--wxFONTENCODING_ISO8859_4 :: Int-wxFONTENCODING_ISO8859_4 = 4--wxFONTENCODING_ISO8859_5 :: Int-wxFONTENCODING_ISO8859_5 = 5--wxFONTENCODING_ISO8859_6 :: Int-wxFONTENCODING_ISO8859_6 = 6--wxFONTENCODING_ISO8859_7 :: Int-wxFONTENCODING_ISO8859_7 = 7--wxFONTENCODING_ISO8859_8 :: Int-wxFONTENCODING_ISO8859_8 = 8--wxFONTENCODING_ISO8859_9 :: Int-wxFONTENCODING_ISO8859_9 = 9--wxFONTENCODING_ISO8859_10 :: Int-wxFONTENCODING_ISO8859_10 = 10--wxFONTENCODING_ISO8859_11 :: Int-wxFONTENCODING_ISO8859_11 = 11--wxFONTENCODING_ISO8859_12 :: Int-wxFONTENCODING_ISO8859_12 = 12--wxFONTENCODING_ISO8859_13 :: Int-wxFONTENCODING_ISO8859_13 = 13--wxFONTENCODING_ISO8859_14 :: Int-wxFONTENCODING_ISO8859_14 = 14--wxFONTENCODING_ISO8859_15 :: Int-wxFONTENCODING_ISO8859_15 = 15--wxFONTENCODING_ISO8859_MAX :: Int-wxFONTENCODING_ISO8859_MAX = 16--wxFONTENCODING_KOI8 :: Int-wxFONTENCODING_KOI8 = 17--wxFONTENCODING_ALTERNATIVE :: Int-wxFONTENCODING_ALTERNATIVE = 18--wxFONTENCODING_BULGARIAN :: Int-wxFONTENCODING_BULGARIAN = 19--wxFONTENCODING_CP437 :: Int-wxFONTENCODING_CP437 = 20--wxFONTENCODING_CP850 :: Int-wxFONTENCODING_CP850 = 21--wxFONTENCODING_CP852 :: Int-wxFONTENCODING_CP852 = 22--wxFONTENCODING_CP855 :: Int-wxFONTENCODING_CP855 = 23--wxFONTENCODING_CP866 :: Int-wxFONTENCODING_CP866 = 24--wxFONTENCODING_CP874 :: Int-wxFONTENCODING_CP874 = 25--wxFONTENCODING_CP1250 :: Int-wxFONTENCODING_CP1250 = 26--wxFONTENCODING_CP1251 :: Int-wxFONTENCODING_CP1251 = 27--wxFONTENCODING_CP1252 :: Int-wxFONTENCODING_CP1252 = 28--wxFONTENCODING_CP1253 :: Int-wxFONTENCODING_CP1253 = 29--wxFONTENCODING_CP1254 :: Int-wxFONTENCODING_CP1254 = 30--wxFONTENCODING_CP1255 :: Int-wxFONTENCODING_CP1255 = 31--wxFONTENCODING_CP1256 :: Int-wxFONTENCODING_CP1256 = 32--wxFONTENCODING_CP1257 :: Int-wxFONTENCODING_CP1257 = 33--wxFONTENCODING_CP12_MAX :: Int-wxFONTENCODING_CP12_MAX = 34--wxFONTENCODING_UNICODE :: Int-wxFONTENCODING_UNICODE = 35--wxFONTENCODING_MAX :: Int-wxFONTENCODING_MAX = 36--wxGRIDTABLE_REQUEST_VIEW_GET_VALUES :: Int-wxGRIDTABLE_REQUEST_VIEW_GET_VALUES = 2000--wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES :: Int-wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES = 2001--wxGRIDTABLE_NOTIFY_ROWS_INSERTED :: Int-wxGRIDTABLE_NOTIFY_ROWS_INSERTED = 2002--wxGRIDTABLE_NOTIFY_ROWS_APPENDED :: Int-wxGRIDTABLE_NOTIFY_ROWS_APPENDED = 2003--wxGRIDTABLE_NOTIFY_ROWS_DELETED :: Int-wxGRIDTABLE_NOTIFY_ROWS_DELETED = 2004--wxGRIDTABLE_NOTIFY_COLS_INSERTED :: Int-wxGRIDTABLE_NOTIFY_COLS_INSERTED = 2005--wxGRIDTABLE_NOTIFY_COLS_APPENDED :: Int-wxGRIDTABLE_NOTIFY_COLS_APPENDED = 2006--wxGRIDTABLE_NOTIFY_COLS_DELETED :: Int-wxGRIDTABLE_NOTIFY_COLS_DELETED = 2007--wxGridSelectCells :: Int-wxGridSelectCells = 0--wxGridSelectRows :: Int-wxGridSelectRows = 1--wxGridSelectColumns :: Int-wxGridSelectColumns = 2--wxFILTER_NONE :: Int-wxFILTER_NONE = 0--wxFILTER_ASCII :: Int-wxFILTER_ASCII = 1--wxFILTER_ALPHA :: Int-wxFILTER_ALPHA = 2--wxFILTER_ALPHANUMERIC :: Int-wxFILTER_ALPHANUMERIC = 4--wxFILTER_NUMERIC :: Int-wxFILTER_NUMERIC = 8--wxFILTER_INCLUDE_LIST :: Int-wxFILTER_INCLUDE_LIST = 16--wxFILTER_EXCLUDE_LIST :: Int-wxFILTER_EXCLUDE_LIST = 32--wxFILTER_UPPER_CASE :: Int-wxFILTER_UPPER_CASE = 64--wxFILTER_LOWER_CASE :: Int-wxFILTER_LOWER_CASE = 128--wxBITMAP_TYPE_INVALID :: Int-wxBITMAP_TYPE_INVALID = 0--wxBITMAP_TYPE_BMP :: Int-wxBITMAP_TYPE_BMP = 1--wxBITMAP_TYPE_BMP_RESOURCE :: Int-wxBITMAP_TYPE_BMP_RESOURCE = 2--wxBITMAP_TYPE_RESOURCE :: Int-wxBITMAP_TYPE_RESOURCE = 2--wxBITMAP_TYPE_ICO :: Int-wxBITMAP_TYPE_ICO = 3--wxBITMAP_TYPE_ICO_RESOURCE :: Int-wxBITMAP_TYPE_ICO_RESOURCE = 4--wxBITMAP_TYPE_CUR :: Int-wxBITMAP_TYPE_CUR = 5--wxBITMAP_TYPE_CUR_RESOURCE :: Int-wxBITMAP_TYPE_CUR_RESOURCE = 6--wxBITMAP_TYPE_XBM :: Int-wxBITMAP_TYPE_XBM = 7--wxBITMAP_TYPE_XBM_DATA :: Int-wxBITMAP_TYPE_XBM_DATA = 8--wxBITMAP_TYPE_XPM :: Int-wxBITMAP_TYPE_XPM = 9--wxBITMAP_TYPE_XPM_DATA :: Int-wxBITMAP_TYPE_XPM_DATA = 10--wxBITMAP_TYPE_TIF :: Int-wxBITMAP_TYPE_TIF = 11--wxBITMAP_TYPE_TIF_RESOURCE :: Int-wxBITMAP_TYPE_TIF_RESOURCE = 12--wxBITMAP_TYPE_GIF :: Int-wxBITMAP_TYPE_GIF = 13--wxBITMAP_TYPE_GIF_RESOURCE :: Int-wxBITMAP_TYPE_GIF_RESOURCE = 14--wxBITMAP_TYPE_PNG :: Int-wxBITMAP_TYPE_PNG = 15--wxBITMAP_TYPE_PNG_RESOURCE :: Int-wxBITMAP_TYPE_PNG_RESOURCE = 16--wxBITMAP_TYPE_JPEG :: Int-wxBITMAP_TYPE_JPEG = 17--wxBITMAP_TYPE_JPEG_RESOURCE :: Int-wxBITMAP_TYPE_JPEG_RESOURCE = 18--wxBITMAP_TYPE_PNM :: Int-wxBITMAP_TYPE_PNM = 19--wxBITMAP_TYPE_PNM_RESOURCE :: Int-wxBITMAP_TYPE_PNM_RESOURCE = 20--wxBITMAP_TYPE_PCX :: Int-wxBITMAP_TYPE_PCX = 21--wxBITMAP_TYPE_PCX_RESOURCE :: Int-wxBITMAP_TYPE_PCX_RESOURCE = 22--wxBITMAP_TYPE_PICT :: Int-wxBITMAP_TYPE_PICT = 23--wxBITMAP_TYPE_PICT_RESOURCE :: Int-wxBITMAP_TYPE_PICT_RESOURCE = 24--wxBITMAP_TYPE_ICON :: Int-wxBITMAP_TYPE_ICON = 25--wxBITMAP_TYPE_ICON_RESOURCE :: Int-wxBITMAP_TYPE_ICON_RESOURCE = 26--wxBITMAP_TYPE_MACCURSOR :: Int-wxBITMAP_TYPE_MACCURSOR = 27--wxBITMAP_TYPE_MACCURSOR_RESOURCE :: Int-wxBITMAP_TYPE_MACCURSOR_RESOURCE = 28--wxBITMAP_TYPE_ANY :: Int-wxBITMAP_TYPE_ANY = 50--wxCURSOR_NONE :: Int-wxCURSOR_NONE = 0--wxCURSOR_ARROW :: Int-wxCURSOR_ARROW = 1--wxCURSOR_RIGHT_ARROW :: Int-wxCURSOR_RIGHT_ARROW = 2--wxCURSOR_BULLSEYE :: Int-wxCURSOR_BULLSEYE = 3--wxCURSOR_CHAR :: Int-wxCURSOR_CHAR = 4--wxCURSOR_CROSS :: Int-wxCURSOR_CROSS = 5--wxCURSOR_HAND :: Int-wxCURSOR_HAND = 6--wxCURSOR_IBEAM :: Int-wxCURSOR_IBEAM = 7--wxCURSOR_LEFT_BUTTON :: Int-wxCURSOR_LEFT_BUTTON = 8--wxCURSOR_MAGNIFIER :: Int-wxCURSOR_MAGNIFIER = 9--wxCURSOR_MIDDLE_BUTTON :: Int-wxCURSOR_MIDDLE_BUTTON = 10--wxCURSOR_NO_ENTRY :: Int-wxCURSOR_NO_ENTRY = 11--wxCURSOR_PAINT_BRUSH :: Int-wxCURSOR_PAINT_BRUSH = 12--wxCURSOR_PENCIL :: Int-wxCURSOR_PENCIL = 13--wxCURSOR_POINT_LEFT :: Int-wxCURSOR_POINT_LEFT = 14--wxCURSOR_POINT_RIGHT :: Int-wxCURSOR_POINT_RIGHT = 15--wxCURSOR_QUESTION_ARROW :: Int-wxCURSOR_QUESTION_ARROW = 16--wxCURSOR_RIGHT_BUTTON :: Int-wxCURSOR_RIGHT_BUTTON = 17--wxCURSOR_SIZENESW :: Int-wxCURSOR_SIZENESW = 18--wxCURSOR_SIZENS :: Int-wxCURSOR_SIZENS = 19--wxCURSOR_SIZENWSE :: Int-wxCURSOR_SIZENWSE = 20--wxCURSOR_SIZEWE :: Int-wxCURSOR_SIZEWE = 21--wxCURSOR_SIZING :: Int-wxCURSOR_SIZING = 22--wxCURSOR_SPRAYCAN :: Int-wxCURSOR_SPRAYCAN = 23--wxCURSOR_WAIT :: Int-wxCURSOR_WAIT = 24--wxCURSOR_WATCH :: Int-wxCURSOR_WATCH = 25--wxCURSOR_BLANK :: Int-wxCURSOR_BLANK = 26--wxOPEN :: Int-wxOPEN = 1--wxSAVE :: Int-wxSAVE = 2--wxOVERWRITE_PROMPT :: Int-wxOVERWRITE_PROMPT = 4--wxHIDE_READONLY :: Int-wxHIDE_READONLY = 8--wxFILE_MUST_EXIST :: Int-wxFILE_MUST_EXIST = 16--wxMULTIPLE :: Int-wxMULTIPLE = 32--wxCHANGE_DIR :: Int-wxCHANGE_DIR = 64--wxDRAG_ERROR :: Int-wxDRAG_ERROR = 0--wxDRAG_NONE :: Int-wxDRAG_NONE = 1--wxDRAG_COPY :: Int-wxDRAG_COPY = 2--wxDRAG_MOVE :: Int-wxDRAG_MOVE = 3--wxDRAG_LINK :: Int-wxDRAG_LINK = 4--wxDRAG_CANCEL :: Int-wxDRAG_CANCEL = 5--wxSPLIT_HORIZONTAL :: Int-wxSPLIT_HORIZONTAL = 1--wxSPLIT_VERTICAL :: Int-wxSPLIT_VERTICAL = 2--wxLIST_FORMAT_LEFT :: Int-wxLIST_FORMAT_LEFT = 0--wxLIST_FORMAT_RIGHT :: Int-wxLIST_FORMAT_RIGHT = 1--wxLIST_FORMAT_CENTRE :: Int-wxLIST_FORMAT_CENTRE = 2--wxLIST_FORMAT_CENTER :: Int-wxLIST_FORMAT_CENTER = 2--wxLIST_STATE_DONTCARE :: Int-wxLIST_STATE_DONTCARE = 0--wxLIST_STATE_DROPHILITED :: Int-wxLIST_STATE_DROPHILITED = 1--wxLIST_STATE_FOCUSED :: Int-wxLIST_STATE_FOCUSED = 2--wxLIST_STATE_SELECTED :: Int-wxLIST_STATE_SELECTED = 4--wxLIST_STATE_CUT :: Int-wxLIST_STATE_CUT = 8--wxLIST_MASK_STATE :: Int-wxLIST_MASK_STATE = 1--wxLIST_MASK_TEXT :: Int-wxLIST_MASK_TEXT = 2--wxLIST_MASK_IMAGE :: Int-wxLIST_MASK_IMAGE = 4--wxLIST_MASK_DATA :: Int-wxLIST_MASK_DATA = 8--wxLIST_MASK_WIDTH :: Int-wxLIST_MASK_WIDTH = 16--wxLIST_MASK_FORMAT :: Int-wxLIST_MASK_FORMAT = 32--wxLIST_NEXT_ABOVE :: Int-wxLIST_NEXT_ABOVE = 0--wxLIST_NEXT_ALL :: Int-wxLIST_NEXT_ALL = 1--wxLIST_NEXT_BELOW :: Int-wxLIST_NEXT_BELOW = 2--wxLIST_NEXT_LEFT :: Int-wxLIST_NEXT_LEFT = 3--wxLIST_NEXT_RIGHT :: Int-wxLIST_NEXT_RIGHT = 4--wxRA_SPECIFY_COLS :: Int-wxRA_SPECIFY_COLS = 4--wxRA_SPECIFY_ROWS :: Int-wxRA_SPECIFY_ROWS = 8--wxTREE_HITTEST_ABOVE :: Int-wxTREE_HITTEST_ABOVE = 1--wxTREE_HITTEST_BELOW :: Int-wxTREE_HITTEST_BELOW = 2--wxTREE_HITTEST_NOWHERE :: Int-wxTREE_HITTEST_NOWHERE = 4--wxTREE_HITTEST_ONITEMBUTTON :: Int-wxTREE_HITTEST_ONITEMBUTTON = 8--wxTREE_HITTEST_ONITEMICON :: Int-wxTREE_HITTEST_ONITEMICON = 16--wxTREE_HITTEST_ONITEMINDENT :: Int-wxTREE_HITTEST_ONITEMINDENT = 32--wxTREE_HITTEST_ONITEMLABEL :: Int-wxTREE_HITTEST_ONITEMLABEL = 64--wxTREE_HITTEST_ONITEMRIGHT :: Int-wxTREE_HITTEST_ONITEMRIGHT = 128--wxTREE_HITTEST_ONITEMSTATEICON :: Int-wxTREE_HITTEST_ONITEMSTATEICON = 256--wxTREE_HITTEST_TOLEFT :: Int-wxTREE_HITTEST_TOLEFT = 512--wxTREE_HITTEST_TORIGHT :: Int-wxTREE_HITTEST_TORIGHT = 1024--wxTREE_HITTEST_ONITEMUPPERPART :: Int-wxTREE_HITTEST_ONITEMUPPERPART = 2048--wxTREE_HITTEST_ONITEMLOWERPART :: Int-wxTREE_HITTEST_ONITEMLOWERPART = 4096--wxTREE_HITTEST_ONITEM :: Int-wxTREE_HITTEST_ONITEM = 80--wxDEFAULT :: Int-wxDEFAULT = 70--wxDECORATIVE :: Int-wxDECORATIVE = 71--wxROMAN :: Int-wxROMAN = 72--wxSCRIPT :: Int-wxSCRIPT = 73--wxSWISS :: Int-wxSWISS = 74--wxMODERN :: Int-wxMODERN = 75--wxTELETYPE :: Int-wxTELETYPE = 76--wxVARIABLE :: Int-wxVARIABLE = 80--wxFIXED :: Int-wxFIXED = 81--wxNORMAL :: Int-wxNORMAL = 90--wxLIGHT :: Int-wxLIGHT = 91--wxBOLD :: Int-wxBOLD = 92--wxITALIC :: Int-wxITALIC = 93--wxSLANT :: Int-wxSLANT = 94--wxBLUE_BRUSH :: Int-wxBLUE_BRUSH = 0--wxGREEN_BRUSH :: Int-wxGREEN_BRUSH = 1--wxWHITE_BRUSH :: Int-wxWHITE_BRUSH = 2--wxBLACK_BRUSH :: Int-wxBLACK_BRUSH = 3--wxGREY_BRUSH :: Int-wxGREY_BRUSH = 4--wxMEDIUM_GREY_BRUSH :: Int-wxMEDIUM_GREY_BRUSH = 5--wxLIGHT_GREY_BRUSH :: Int-wxLIGHT_GREY_BRUSH = 6--wxTRANSPARENT_BRUSH :: Int-wxTRANSPARENT_BRUSH = 7--wxCYAN_BRUSH :: Int-wxCYAN_BRUSH = 8--wxRED_BRUSH :: Int-wxRED_BRUSH = 9--wxBLACK :: Int-wxBLACK = 0--wxWHITE :: Int-wxWHITE = 1--wxRED :: Int-wxRED = 2--wxBLUE :: Int-wxBLUE = 3--wxGREEN :: Int-wxGREEN = 4--wxCYAN :: Int-wxCYAN = 5--wxLIGHT_GREY :: Int-wxLIGHT_GREY = 6--wxRED_PEN :: Int-wxRED_PEN = 0--wxCYAN_PEN :: Int-wxCYAN_PEN = 1--wxGREEN_PEN :: Int-wxGREEN_PEN = 2--wxBLACK_PEN :: Int-wxBLACK_PEN = 3--wxWHITE_PEN :: Int-wxWHITE_PEN = 4--wxTRANSPARENT_PEN :: Int-wxTRANSPARENT_PEN = 5--wxBLACK_DASHED_PEN :: Int-wxBLACK_DASHED_PEN = 6--wxGREY_PEN :: Int-wxGREY_PEN = 7--wxMEDIUM_GREY_PEN :: Int-wxMEDIUM_GREY_PEN = 8--wxLIGHT_GREY_PEN :: Int-wxLIGHT_GREY_PEN = 9--wxNOT_FOUND :: Int-wxNOT_FOUND = (-1)--wxPRINTER_NO_ERROR :: Int-wxPRINTER_NO_ERROR = 0--wxPRINTER_CANCELLED :: Int-wxPRINTER_CANCELLED = 1--wxPRINTER_ERROR :: Int-wxPRINTER_ERROR = 2--wxPREVIEW_PRINT :: Int-wxPREVIEW_PRINT = 1--wxPREVIEW_PREVIOUS :: Int-wxPREVIEW_PREVIOUS = 2--wxPREVIEW_NEXT :: Int-wxPREVIEW_NEXT = 4--wxPREVIEW_ZOOM :: Int-wxPREVIEW_ZOOM = 8--wxPREVIEW_FIRST :: Int-wxPREVIEW_FIRST = 8--wxPREVIEW_LAST :: Int-wxPREVIEW_LAST = 32--wxPREVIEW_GOTO :: Int-wxPREVIEW_GOTO = 64--wxPREVIEW_DEFAULT :: Int-wxPREVIEW_DEFAULT = 126--wxID_PREVIEW_CLOSE :: Int-wxID_PREVIEW_CLOSE = 1--wxID_PREVIEW_NEXT :: Int-wxID_PREVIEW_NEXT = 2--wxID_PREVIEW_PREVIOUS :: Int-wxID_PREVIEW_PREVIOUS = 3--wxID_PREVIEW_PRINT :: Int-wxID_PREVIEW_PRINT = 4--wxID_PREVIEW_ZOOM :: Int-wxID_PREVIEW_ZOOM = 5--wxID_PREVIEW_FIRST :: Int-wxID_PREVIEW_FIRST = 6--wxID_PREVIEW_LAST :: Int-wxID_PREVIEW_LAST = 7--wxID_PREVIEW_GOTO :: Int-wxID_PREVIEW_GOTO = 8--wxPRINTID_STATIC :: Int-wxPRINTID_STATIC = 10--wxPRINTID_RANGE :: Int-wxPRINTID_RANGE = 11--wxPRINTID_FROM :: Int-wxPRINTID_FROM = 12--wxPRINTID_TO :: Int-wxPRINTID_TO = 13--wxPRINTID_COPIES :: Int-wxPRINTID_COPIES = 14--wxPRINTID_PRINTTOFILE :: Int-wxPRINTID_PRINTTOFILE = 15--wxPRINTID_SETUP :: Int-wxPRINTID_SETUP = 16--wxPRINTID_LEFTMARGIN :: Int-wxPRINTID_LEFTMARGIN = 30--wxPRINTID_RIGHTMARGIN :: Int-wxPRINTID_RIGHTMARGIN = 31--wxPRINTID_TOPMARGIN :: Int-wxPRINTID_TOPMARGIN = 32--wxPRINTID_BOTTOMMARGIN :: Int-wxPRINTID_BOTTOMMARGIN = 33--wxPRINTID_PRINTCOLOUR :: Int-wxPRINTID_PRINTCOLOUR = 10--wxPRINTID_ORIENTATION :: Int-wxPRINTID_ORIENTATION = 11--wxPRINTID_COMMAND :: Int-wxPRINTID_COMMAND = 12--wxPRINTID_OPTIONS :: Int-wxPRINTID_OPTIONS = 13--wxPRINTID_PAPERSIZE :: Int-wxPRINTID_PAPERSIZE = 14--wxHF_TOOLBAR :: Int-wxHF_TOOLBAR = 1--wxHF_CONTENTS :: Int-wxHF_CONTENTS = 2--wxHF_INDEX :: Int-wxHF_INDEX = 4--wxHF_SEARCH :: Int-wxHF_SEARCH = 8--wxHF_BOOKMARKS :: Int-wxHF_BOOKMARKS = 16--wxHF_OPENFILES :: Int-wxHF_OPENFILES = 32--wxHF_PRINT :: Int-wxHF_PRINT = 64--wxHF_FLATTOOLBAR :: Int-wxHF_FLATTOOLBAR = 128--wxHF_DEFAULTSTYLE :: Int-wxHF_DEFAULTSTYLE = 95--wxLAYOUT_HORIZONTAL :: Int-wxLAYOUT_HORIZONTAL = 0--wxLAYOUT_VERTICAL :: Int-wxLAYOUT_VERTICAL = 1--wxLAYOUT_NONE :: Int-wxLAYOUT_NONE = 0--wxLAYOUT_TOP :: Int-wxLAYOUT_TOP = 1--wxLAYOUT_LEFT :: Int-wxLAYOUT_LEFT = 2--wxLAYOUT_RIGHT :: Int-wxLAYOUT_RIGHT = 3--wxLAYOUT_BOTTOM :: Int-wxLAYOUT_BOTTOM = 4--wxSASH_DRAG_NONE :: Int-wxSASH_DRAG_NONE = 0--wxSASH_DRAG_DRAGGING :: Int-wxSASH_DRAG_DRAGGING = 1--wxSASH_DRAG_LEFT_DOWN :: Int-wxSASH_DRAG_LEFT_DOWN = 2--wxSASH_TOP :: Int-wxSASH_TOP = 0--wxSASH_RIGHT :: Int-wxSASH_RIGHT = 1--wxSASH_BOTTOM :: Int-wxSASH_BOTTOM = 2--wxSASH_LEFT :: Int-wxSASH_LEFT = 3--wxSASH_NONE :: Int-wxSASH_NONE = 100--wxSW_NOBORDER :: Int-wxSW_NOBORDER = 0--wxSW_BORDER :: Int-wxSW_BORDER = 32--wxSW_3DSASH :: Int-wxSW_3DSASH = 64--wxSW_3DBORDER :: Int-wxSW_3DBORDER = 128--wxSW_3D :: Int-wxSW_3D = 192--wxSASH_STATUS_OK :: Int-wxSASH_STATUS_OK = 0--wxSASH_STATUS_OUT_OF_RANGE :: Int-wxSASH_STATUS_OUT_OF_RANGE = 1--wxXRC_NONE :: Int-wxXRC_NONE = 0--wxXRC_USE_LOCALE :: Int-wxXRC_USE_LOCALE = 1--wxXRC_NO_SUBCLASSING :: Int-wxXRC_NO_SUBCLASSING = 2--wxXRC_NO_RELOADING :: Int-wxXRC_NO_RELOADING = 4--wxSYS_WHITE_BRUSH :: Int-wxSYS_WHITE_BRUSH = 0--wxSYS_LTGRAY_BRUSH :: Int-wxSYS_LTGRAY_BRUSH = 1--wxSYS_GRAY_BRUSH :: Int-wxSYS_GRAY_BRUSH = 2--wxSYS_DKGRAY_BRUSH :: Int-wxSYS_DKGRAY_BRUSH = 3--wxSYS_BLACK_BRUSH :: Int-wxSYS_BLACK_BRUSH = 4--wxSYS_NULL_BRUSH :: Int-wxSYS_NULL_BRUSH = 5--wxSYS_HOLLOW_BRUSH :: Int-wxSYS_HOLLOW_BRUSH = 5--wxSYS_WHITE_PEN :: Int-wxSYS_WHITE_PEN = 6--wxSYS_BLACK_PEN :: Int-wxSYS_BLACK_PEN = 7--wxSYS_NULL_PEN :: Int-wxSYS_NULL_PEN = 8--wxSYS_OEM_FIXED_FONT :: Int-wxSYS_OEM_FIXED_FONT = 10--wxSYS_ANSI_FIXED_FONT :: Int-wxSYS_ANSI_FIXED_FONT = 11--wxSYS_ANSI_VAR_FONT :: Int-wxSYS_ANSI_VAR_FONT = 12--wxSYS_SYSTEM_FONT :: Int-wxSYS_SYSTEM_FONT = 13--wxSYS_DEVICE_DEFAULT_FONT :: Int-wxSYS_DEVICE_DEFAULT_FONT = 14--wxSYS_DEFAULT_PALETTE :: Int-wxSYS_DEFAULT_PALETTE = 15--wxSYS_SYSTEM_FIXED_FONT :: Int-wxSYS_SYSTEM_FIXED_FONT = 16--wxSYS_DEFAULT_GUI_FONT :: Int-wxSYS_DEFAULT_GUI_FONT = 17--wxSYS_COLOUR_SCROLLBAR :: Int-wxSYS_COLOUR_SCROLLBAR = 0--wxSYS_COLOUR_BACKGROUND :: Int-wxSYS_COLOUR_BACKGROUND = 1--wxSYS_COLOUR_ACTIVECAPTION :: Int-wxSYS_COLOUR_ACTIVECAPTION = 2--wxSYS_COLOUR_INACTIVECAPTION :: Int-wxSYS_COLOUR_INACTIVECAPTION = 3--wxSYS_COLOUR_MENU :: Int-wxSYS_COLOUR_MENU = 4--wxSYS_COLOUR_WINDOW :: Int-wxSYS_COLOUR_WINDOW = 5--wxSYS_COLOUR_WINDOWFRAME :: Int-wxSYS_COLOUR_WINDOWFRAME = 6--wxSYS_COLOUR_MENUTEXT :: Int-wxSYS_COLOUR_MENUTEXT = 7--wxSYS_COLOUR_WINDOWTEXT :: Int-wxSYS_COLOUR_WINDOWTEXT = 8--wxSYS_COLOUR_CAPTIONTEXT :: Int-wxSYS_COLOUR_CAPTIONTEXT = 9--wxSYS_COLOUR_ACTIVEBORDER :: Int-wxSYS_COLOUR_ACTIVEBORDER = 10--wxSYS_COLOUR_INACTIVEBORDER :: Int-wxSYS_COLOUR_INACTIVEBORDER = 11--wxSYS_COLOUR_APPWORKSPACE :: Int-wxSYS_COLOUR_APPWORKSPACE = 12--wxSYS_COLOUR_HIGHLIGHT :: Int-wxSYS_COLOUR_HIGHLIGHT = 13--wxSYS_COLOUR_HIGHLIGHTTEXT :: Int-wxSYS_COLOUR_HIGHLIGHTTEXT = 14--wxSYS_COLOUR_BTNFACE :: Int-wxSYS_COLOUR_BTNFACE = 15--wxSYS_COLOUR_BTNSHADOW :: Int-wxSYS_COLOUR_BTNSHADOW = 16--wxSYS_COLOUR_GRAYTEXT :: Int-wxSYS_COLOUR_GRAYTEXT = 17--wxSYS_COLOUR_BTNTEXT :: Int-wxSYS_COLOUR_BTNTEXT = 18--wxSYS_COLOUR_INACTIVECAPTIONTEXT :: Int-wxSYS_COLOUR_INACTIVECAPTIONTEXT = 19--wxSYS_COLOUR_BTNHIGHLIGHT :: Int-wxSYS_COLOUR_BTNHIGHLIGHT = 20--wxSYS_COLOUR_3DDKSHADOW :: Int-wxSYS_COLOUR_3DDKSHADOW = 21--wxSYS_COLOUR_3DLIGHT :: Int-wxSYS_COLOUR_3DLIGHT = 22--wxSYS_COLOUR_INFOTEXT :: Int-wxSYS_COLOUR_INFOTEXT = 23--wxSYS_COLOUR_INFOBK :: Int-wxSYS_COLOUR_INFOBK = 24--wxSYS_COLOUR_LISTBOX :: Int-wxSYS_COLOUR_LISTBOX = 25--wxSYS_COLOUR_DESKTOP :: Int-wxSYS_COLOUR_DESKTOP = 1--wxSYS_COLOUR_3DFACE :: Int-wxSYS_COLOUR_3DFACE = 15--wxSYS_COLOUR_3DSHADOW :: Int-wxSYS_COLOUR_3DSHADOW = 16--wxSYS_COLOUR_3DHIGHLIGHT :: Int-wxSYS_COLOUR_3DHIGHLIGHT = 20--wxSYS_COLOUR_3DHILIGHT :: Int-wxSYS_COLOUR_3DHILIGHT = 20--wxSYS_COLOUR_BTNHILIGHT :: Int-wxSYS_COLOUR_BTNHILIGHT = 20--wxSYS_MOUSE_BUTTONS :: Int-wxSYS_MOUSE_BUTTONS = 1--wxSYS_BORDER_X :: Int-wxSYS_BORDER_X = 2--wxSYS_BORDER_Y :: Int-wxSYS_BORDER_Y = 3--wxSYS_CURSOR_X :: Int-wxSYS_CURSOR_X = 4--wxSYS_CURSOR_Y :: Int-wxSYS_CURSOR_Y = 5--wxSYS_DCLICK_X :: Int-wxSYS_DCLICK_X = 6--wxSYS_DCLICK_Y :: Int-wxSYS_DCLICK_Y = 7--wxSYS_DRAG_X :: Int-wxSYS_DRAG_X = 8--wxSYS_DRAG_Y :: Int-wxSYS_DRAG_Y = 9--wxSYS_EDGE_X :: Int-wxSYS_EDGE_X = 10--wxSYS_EDGE_Y :: Int-wxSYS_EDGE_Y = 11--wxSYS_HSCROLL_ARROW_X :: Int-wxSYS_HSCROLL_ARROW_X = 12--wxSYS_HSCROLL_ARROW_Y :: Int-wxSYS_HSCROLL_ARROW_Y = 13--wxSYS_HTHUMB_X :: Int-wxSYS_HTHUMB_X = 14--wxSYS_ICON_X :: Int-wxSYS_ICON_X = 15--wxSYS_ICON_Y :: Int-wxSYS_ICON_Y = 16--wxSYS_ICONSPACING_X :: Int-wxSYS_ICONSPACING_X = 17--wxSYS_ICONSPACING_Y :: Int-wxSYS_ICONSPACING_Y = 18--wxSYS_WINDOWMIN_X :: Int-wxSYS_WINDOWMIN_X = 19--wxSYS_WINDOWMIN_Y :: Int-wxSYS_WINDOWMIN_Y = 20--wxSYS_SCREEN_X :: Int-wxSYS_SCREEN_X = 21--wxSYS_SCREEN_Y :: Int-wxSYS_SCREEN_Y = 22--wxSYS_FRAMESIZE_X :: Int-wxSYS_FRAMESIZE_X = 23--wxSYS_FRAMESIZE_Y :: Int-wxSYS_FRAMESIZE_Y = 24--wxSYS_SMALLICON_X :: Int-wxSYS_SMALLICON_X = 25--wxSYS_SMALLICON_Y :: Int-wxSYS_SMALLICON_Y = 26--wxSYS_HSCROLL_Y :: Int-wxSYS_HSCROLL_Y = 27--wxSYS_VSCROLL_X :: Int-wxSYS_VSCROLL_X = 28--wxSYS_VSCROLL_ARROW_X :: Int-wxSYS_VSCROLL_ARROW_X = 29--wxSYS_VSCROLL_ARROW_Y :: Int-wxSYS_VSCROLL_ARROW_Y = 30--wxSYS_VTHUMB_Y :: Int-wxSYS_VTHUMB_Y = 31--wxSYS_CAPTION_Y :: Int-wxSYS_CAPTION_Y = 32--wxSYS_MENU_Y :: Int-wxSYS_MENU_Y = 33--wxSYS_NETWORK_PRESENT :: Int-wxSYS_NETWORK_PRESENT = 34--wxSYS_PENWINDOWS_PRESENT :: Int-wxSYS_PENWINDOWS_PRESENT = 35--wxSYS_SHOW_SOUNDS :: Int-wxSYS_SHOW_SOUNDS = 36--wxSYS_SWAP_BUTTONS :: Int-wxSYS_SWAP_BUTTONS = 37--wxSYS_SCREEN_NONE :: Int-wxSYS_SCREEN_NONE = 0--wxSYS_SCREEN_TINY :: Int-wxSYS_SCREEN_TINY = 1--wxSYS_SCREEN_PDA :: Int-wxSYS_SCREEN_PDA = 2--wxSYS_SCREEN_SMALL :: Int-wxSYS_SCREEN_SMALL = 3--wxSYS_SCREEN_DESKTOP :: Int-wxSYS_SCREEN_DESKTOP = 4--wxCAL_BORDER_NONE :: Int-wxCAL_BORDER_NONE = 0--wxCAL_BORDER_SQUARE :: Int-wxCAL_BORDER_SQUARE = 1--wxCAL_BORDER_ROUND :: Int-wxCAL_BORDER_ROUND = 2--wxCAL_HITTEST_NOWHERE :: Int-wxCAL_HITTEST_NOWHERE = 0--wxCAL_HITTEST_HEADER :: Int-wxCAL_HITTEST_HEADER = 1--wxCAL_HITTEST_DAY :: Int-wxCAL_HITTEST_DAY = 2--wxUNKNOWN :: Int-wxUNKNOWN = 0--wxSTRING :: Int-wxSTRING = 1--wxBOOLEAN :: Int-wxBOOLEAN = 2--wxINTEGER :: Int-wxINTEGER = 3--wxFLOAT :: Int-wxFLOAT = 4--wxMUTEX_NO_ERROR :: Int-wxMUTEX_NO_ERROR = 0--wxMUTEX_DEAD_LOCK :: Int-wxMUTEX_DEAD_LOCK = 1--wxMUTEX_BUSY :: Int-wxMUTEX_BUSY = 2--wxMUTEX_UNLOCKED :: Int-wxMUTEX_UNLOCKED = 3--wxMUTEX_MISC_ERROR :: Int-wxMUTEX_MISC_ERROR = 4--wxPLATFORM_CURRENT :: Int-wxPLATFORM_CURRENT = (-1)--wxPLATFORM_UNIX :: Int-wxPLATFORM_UNIX = 0--wxPLATFORM_WINDOWS :: Int-wxPLATFORM_WINDOWS = 1--wxPLATFORM_OS2 :: Int-wxPLATFORM_OS2 = 2--wxPLATFORM_MAC :: Int-wxPLATFORM_MAC = 3--wxLED_ALIGN_LEFT :: Int-wxLED_ALIGN_LEFT = 1--wxLED_ALIGN_RIGHT :: Int-wxLED_ALIGN_RIGHT = 2--wxLED_ALIGN_CENTER :: Int-wxLED_ALIGN_CENTER = 4--wxLED_ALIGN_MASK :: Int-wxLED_ALIGN_MASK = 4--wxLED_DRAW_FADED :: Int-wxLED_DRAW_FADED = 8--wxDS_MANAGE_SCROLLBARS :: Int-wxDS_MANAGE_SCROLLBARS = 16--wxDS_DRAG_CORNER :: Int-wxDS_DRAG_CORNER = 32--wxEL_ALLOW_NEW :: Int-wxEL_ALLOW_NEW = 256--wxEL_ALLOW_EDIT :: Int-wxEL_ALLOW_EDIT = 512--wxEL_ALLOW_DELETE :: Int-wxEL_ALLOW_DELETE = 1024--wxTR_NO_BUTTONS :: Int-wxTR_NO_BUTTONS = 0--wxTR_HAS_BUTTONS :: Int-wxTR_HAS_BUTTONS = 1--wxTR_TWIST_BUTTONS :: Int-wxTR_TWIST_BUTTONS = 2--wxTR_NO_LINES :: Int-wxTR_NO_LINES = 4--wxTR_LINES_AT_ROOT :: Int-wxTR_LINES_AT_ROOT = 8--wxTR_AQUA_BUTTONS :: Int-wxTR_AQUA_BUTTONS = 16--wxTR_SINGLE :: Int-wxTR_SINGLE = 0--wxTR_MULTIPLE :: Int-wxTR_MULTIPLE = 32--wxTR_EXTENDED :: Int-wxTR_EXTENDED = 64--wxTR_FULL_ROW_HIGHLIGHT :: Int-wxTR_FULL_ROW_HIGHLIGHT = 8192--wxTR_EDIT_LABELS :: Int-wxTR_EDIT_LABELS = 512--wxTR_ROW_LINES :: Int-wxTR_ROW_LINES = 1024--wxTR_HIDE_ROOT :: Int-wxTR_HIDE_ROOT = 2048--wxTR_HAS_VARIABLE_ROW_HEIGHT :: Int-wxTR_HAS_VARIABLE_ROW_HEIGHT = 128--wxCBAR_DOCKED_HORIZONTALLY :: Int-wxCBAR_DOCKED_HORIZONTALLY = 0--wxCBAR_DOCKED_VERTICALLY :: Int-wxCBAR_DOCKED_VERTICALLY = 1--wxCBAR_FLOATING :: Int-wxCBAR_FLOATING = 2--wxCBAR_HIDDEN :: Int-wxCBAR_HIDDEN = 3--fL_ALIGN_TOP :: Int-fL_ALIGN_TOP = 0--fL_ALIGN_BOTTOM :: Int-fL_ALIGN_BOTTOM = 1--fL_ALIGN_LEFT :: Int-fL_ALIGN_LEFT = 2--fL_ALIGN_RIGHT :: Int-fL_ALIGN_RIGHT = 3--fL_ALIGN_TOP_PANE :: Int-fL_ALIGN_TOP_PANE = 1--fL_ALIGN_BOTTOM_PANE :: Int-fL_ALIGN_BOTTOM_PANE = 2--fL_ALIGN_LEFT_PANE :: Int-fL_ALIGN_LEFT_PANE = 4--fL_ALIGN_RIGHT_PANE :: Int-fL_ALIGN_RIGHT_PANE = 8--wxALL_PANES :: Int-wxALL_PANES = 15--cB_NO_ITEMS_HITTED :: Int-cB_NO_ITEMS_HITTED = 0--cB_UPPER_ROW_HANDLE_HITTED :: Int-cB_UPPER_ROW_HANDLE_HITTED = 1--cB_LOWER_ROW_HANDLE_HITTED :: Int-cB_LOWER_ROW_HANDLE_HITTED = 2--cB_LEFT_BAR_HANDLE_HITTED :: Int-cB_LEFT_BAR_HANDLE_HITTED = 3--cB_RIGHT_BAR_HANDLE_HITTED :: Int-cB_RIGHT_BAR_HANDLE_HITTED = 4--cB_BAR_CONTENT_HITTED :: Int-cB_BAR_CONTENT_HITTED = 5--wxOK :: Int-wxOK = 4--wxYES :: Int-wxYES = 2--wxNO :: Int-wxNO = 8--wxYES_NO :: Int-wxYES_NO = 10--wxCANCEL :: Int-wxCANCEL = 16--wxNO_DEFAULT :: Int-wxNO_DEFAULT = 128--wxYES_DEFAULT :: Int-wxYES_DEFAULT = 0--wxFR_DOWN :: Int-wxFR_DOWN = 1--wxFR_WHOLEWORD :: Int-wxFR_WHOLEWORD = 2--wxFR_MATCHCASE :: Int-wxFR_MATCHCASE = 4--wxFR_REPLACEDIALOG :: Int-wxFR_REPLACEDIALOG = 1--wxFR_NOUPDOWN :: Int-wxFR_NOUPDOWN = 2--wxFR_NOMATCHCASE :: Int-wxFR_NOMATCHCASE = 4--wxFR_NOWHOLEWORD :: Int-wxFR_NOWHOLEWORD = 8--wxQUANTIZE_INCLUDE_WINDOWS_COLOURS :: Int-wxQUANTIZE_INCLUDE_WINDOWS_COLOURS = 1--wxQUANTIZE_RETURN_8BIT_DATA :: Int-wxQUANTIZE_RETURN_8BIT_DATA = 2--wxQUANTIZE_FILL_DESTINATION_IMAGE :: Int-wxQUANTIZE_FILL_DESTINATION_IMAGE = 4--wxLANGUAGE_DEFAULT :: Int-wxLANGUAGE_DEFAULT = 0--wxLANGUAGE_UNKNOWN :: Int-wxLANGUAGE_UNKNOWN = 1--wxLANGUAGE_ABKHAZIAN :: Int-wxLANGUAGE_ABKHAZIAN = 2--wxLANGUAGE_AFAR :: Int-wxLANGUAGE_AFAR = 3--wxLANGUAGE_AFRIKAANS :: Int-wxLANGUAGE_AFRIKAANS = 4--wxLANGUAGE_ALBANIAN :: Int-wxLANGUAGE_ALBANIAN = 5--wxLANGUAGE_AMHARIC :: Int-wxLANGUAGE_AMHARIC = 6--wxLANGUAGE_ARABIC :: Int-wxLANGUAGE_ARABIC = 7--wxLANGUAGE_ARABIC_ALGERIA :: Int-wxLANGUAGE_ARABIC_ALGERIA = 8--wxLANGUAGE_ARABIC_BAHRAIN :: Int-wxLANGUAGE_ARABIC_BAHRAIN = 9--wxLANGUAGE_ARABIC_EGYPT :: Int-wxLANGUAGE_ARABIC_EGYPT = 10--wxLANGUAGE_ARABIC_IRAQ :: Int-wxLANGUAGE_ARABIC_IRAQ = 11--wxLANGUAGE_ARABIC_JORDAN :: Int-wxLANGUAGE_ARABIC_JORDAN = 12--wxLANGUAGE_ARABIC_KUWAIT :: Int-wxLANGUAGE_ARABIC_KUWAIT = 13--wxLANGUAGE_ARABIC_LEBANON :: Int-wxLANGUAGE_ARABIC_LEBANON = 14--wxLANGUAGE_ARABIC_LIBYA :: Int-wxLANGUAGE_ARABIC_LIBYA = 15--wxLANGUAGE_ARABIC_MOROCCO :: Int-wxLANGUAGE_ARABIC_MOROCCO = 16--wxLANGUAGE_ARABIC_OMAN :: Int-wxLANGUAGE_ARABIC_OMAN = 17--wxLANGUAGE_ARABIC_QATAR :: Int-wxLANGUAGE_ARABIC_QATAR = 18--wxLANGUAGE_ARABIC_SAUDI_ARABIA :: Int-wxLANGUAGE_ARABIC_SAUDI_ARABIA = 19--wxLANGUAGE_ARABIC_SUDAN :: Int-wxLANGUAGE_ARABIC_SUDAN = 20--wxLANGUAGE_ARABIC_SYRIA :: Int-wxLANGUAGE_ARABIC_SYRIA = 21--wxLANGUAGE_ARABIC_TUNISIA :: Int-wxLANGUAGE_ARABIC_TUNISIA = 22--wxLANGUAGE_ARABIC_UAE :: Int-wxLANGUAGE_ARABIC_UAE = 23--wxLANGUAGE_ARABIC_YEMEN :: Int-wxLANGUAGE_ARABIC_YEMEN = 24--wxLANGUAGE_ARMENIAN :: Int-wxLANGUAGE_ARMENIAN = 25--wxLANGUAGE_ASSAMESE :: Int-wxLANGUAGE_ASSAMESE = 26--wxLANGUAGE_AYMARA :: Int-wxLANGUAGE_AYMARA = 27--wxLANGUAGE_AZERI :: Int-wxLANGUAGE_AZERI = 28--wxLANGUAGE_AZERI_CYRILLIC :: Int-wxLANGUAGE_AZERI_CYRILLIC = 29--wxLANGUAGE_AZERI_LATIN :: Int-wxLANGUAGE_AZERI_LATIN = 30--wxLANGUAGE_BASHKIR :: Int-wxLANGUAGE_BASHKIR = 31--wxLANGUAGE_BASQUE :: Int-wxLANGUAGE_BASQUE = 32--wxLANGUAGE_BELARUSIAN :: Int-wxLANGUAGE_BELARUSIAN = 33--wxLANGUAGE_BENGALI :: Int-wxLANGUAGE_BENGALI = 34--wxLANGUAGE_BHUTANI :: Int-wxLANGUAGE_BHUTANI = 35--wxLANGUAGE_BIHARI :: Int-wxLANGUAGE_BIHARI = 36--wxLANGUAGE_BISLAMA :: Int-wxLANGUAGE_BISLAMA = 37--wxLANGUAGE_BRETON :: Int-wxLANGUAGE_BRETON = 38--wxLANGUAGE_BULGARIAN :: Int-wxLANGUAGE_BULGARIAN = 39--wxLANGUAGE_BURMESE :: Int-wxLANGUAGE_BURMESE = 40--wxLANGUAGE_CAMBODIAN :: Int-wxLANGUAGE_CAMBODIAN = 41--wxLANGUAGE_CATALAN :: Int-wxLANGUAGE_CATALAN = 42--wxLANGUAGE_CHINESE :: Int-wxLANGUAGE_CHINESE = 43--wxLANGUAGE_CHINESE_SIMPLIFIED :: Int-wxLANGUAGE_CHINESE_SIMPLIFIED = 44--wxLANGUAGE_CHINESE_TRADITIONAL :: Int-wxLANGUAGE_CHINESE_TRADITIONAL = 45--wxLANGUAGE_CHINESE_HONGKONG :: Int-wxLANGUAGE_CHINESE_HONGKONG = 46--wxLANGUAGE_CHINESE_MACAU :: Int-wxLANGUAGE_CHINESE_MACAU = 47--wxLANGUAGE_CHINESE_SINGAPORE :: Int-wxLANGUAGE_CHINESE_SINGAPORE = 48--wxLANGUAGE_CHINESE_TAIWAN :: Int-wxLANGUAGE_CHINESE_TAIWAN = 49--wxLANGUAGE_CORSICAN :: Int-wxLANGUAGE_CORSICAN = 50--wxLANGUAGE_CROATIAN :: Int-wxLANGUAGE_CROATIAN = 51--wxLANGUAGE_CZECH :: Int-wxLANGUAGE_CZECH = 52--wxLANGUAGE_DANISH :: Int-wxLANGUAGE_DANISH = 53--wxLANGUAGE_DUTCH :: Int-wxLANGUAGE_DUTCH = 54--wxLANGUAGE_DUTCH_BELGIAN :: Int-wxLANGUAGE_DUTCH_BELGIAN = 55--wxLANGUAGE_ENGLISH :: Int-wxLANGUAGE_ENGLISH = 56--wxLANGUAGE_ENGLISH_UK :: Int-wxLANGUAGE_ENGLISH_UK = 57--wxLANGUAGE_ENGLISH_US :: Int-wxLANGUAGE_ENGLISH_US = 58--wxLANGUAGE_ENGLISH_AUSTRALIA :: Int-wxLANGUAGE_ENGLISH_AUSTRALIA = 59--wxLANGUAGE_ENGLISH_BELIZE :: Int-wxLANGUAGE_ENGLISH_BELIZE = 60--wxLANGUAGE_ENGLISH_BOTSWANA :: Int-wxLANGUAGE_ENGLISH_BOTSWANA = 61--wxLANGUAGE_ENGLISH_CANADA :: Int-wxLANGUAGE_ENGLISH_CANADA = 62--wxLANGUAGE_ENGLISH_CARIBBEAN :: Int-wxLANGUAGE_ENGLISH_CARIBBEAN = 63--wxLANGUAGE_ENGLISH_DENMARK :: Int-wxLANGUAGE_ENGLISH_DENMARK = 64--wxLANGUAGE_ENGLISH_EIRE :: Int-wxLANGUAGE_ENGLISH_EIRE = 65--wxLANGUAGE_ENGLISH_JAMAICA :: Int-wxLANGUAGE_ENGLISH_JAMAICA = 66--wxLANGUAGE_ENGLISH_NEW_ZEALAND :: Int-wxLANGUAGE_ENGLISH_NEW_ZEALAND = 67--wxLANGUAGE_ENGLISH_PHILIPPINES :: Int-wxLANGUAGE_ENGLISH_PHILIPPINES = 68--wxLANGUAGE_ENGLISH_SOUTH_AFRICA :: Int-wxLANGUAGE_ENGLISH_SOUTH_AFRICA = 69--wxLANGUAGE_ENGLISH_TRINIDAD :: Int-wxLANGUAGE_ENGLISH_TRINIDAD = 70--wxLANGUAGE_ENGLISH_ZIMBABWE :: Int-wxLANGUAGE_ENGLISH_ZIMBABWE = 71--wxLANGUAGE_ESPERANTO :: Int-wxLANGUAGE_ESPERANTO = 72--wxLANGUAGE_ESTONIAN :: Int-wxLANGUAGE_ESTONIAN = 73--wxLANGUAGE_FAEROESE :: Int-wxLANGUAGE_FAEROESE = 74--wxLANGUAGE_FARSI :: Int-wxLANGUAGE_FARSI = 75--wxLANGUAGE_FIJI :: Int-wxLANGUAGE_FIJI = 76--wxLANGUAGE_FINNISH :: Int-wxLANGUAGE_FINNISH = 77--wxLANGUAGE_FRENCH :: Int-wxLANGUAGE_FRENCH = 78--wxLANGUAGE_FRENCH_BELGIAN :: Int-wxLANGUAGE_FRENCH_BELGIAN = 79--wxLANGUAGE_FRENCH_CANADIAN :: Int-wxLANGUAGE_FRENCH_CANADIAN = 80--wxLANGUAGE_FRENCH_LUXEMBOURG :: Int-wxLANGUAGE_FRENCH_LUXEMBOURG = 81--wxLANGUAGE_FRENCH_MONACO :: Int-wxLANGUAGE_FRENCH_MONACO = 82--wxLANGUAGE_FRENCH_SWISS :: Int-wxLANGUAGE_FRENCH_SWISS = 83--wxLANGUAGE_FRISIAN :: Int-wxLANGUAGE_FRISIAN = 84--wxLANGUAGE_GALICIAN :: Int-wxLANGUAGE_GALICIAN = 85--wxLANGUAGE_GEORGIAN :: Int-wxLANGUAGE_GEORGIAN = 86--wxLANGUAGE_GERMAN :: Int-wxLANGUAGE_GERMAN = 87--wxLANGUAGE_GERMAN_AUSTRIAN :: Int-wxLANGUAGE_GERMAN_AUSTRIAN = 88--wxLANGUAGE_GERMAN_BELGIUM :: Int-wxLANGUAGE_GERMAN_BELGIUM = 89--wxLANGUAGE_GERMAN_LIECHTENSTEIN :: Int-wxLANGUAGE_GERMAN_LIECHTENSTEIN = 90--wxLANGUAGE_GERMAN_LUXEMBOURG :: Int-wxLANGUAGE_GERMAN_LUXEMBOURG = 91--wxLANGUAGE_GERMAN_SWISS :: Int-wxLANGUAGE_GERMAN_SWISS = 92--wxLANGUAGE_GREEK :: Int-wxLANGUAGE_GREEK = 93--wxLANGUAGE_GREENLANDIC :: Int-wxLANGUAGE_GREENLANDIC = 94--wxLANGUAGE_GUARANI :: Int-wxLANGUAGE_GUARANI = 95--wxLANGUAGE_GUJARATI :: Int-wxLANGUAGE_GUJARATI = 96--wxLANGUAGE_HAUSA :: Int-wxLANGUAGE_HAUSA = 97--wxLANGUAGE_HEBREW :: Int-wxLANGUAGE_HEBREW = 98--wxLANGUAGE_HINDI :: Int-wxLANGUAGE_HINDI = 99--wxLANGUAGE_HUNGARIAN :: Int-wxLANGUAGE_HUNGARIAN = 100--wxLANGUAGE_ICELANDIC :: Int-wxLANGUAGE_ICELANDIC = 101--wxLANGUAGE_INDONESIAN :: Int-wxLANGUAGE_INDONESIAN = 102--wxLANGUAGE_INTERLINGUA :: Int-wxLANGUAGE_INTERLINGUA = 103--wxLANGUAGE_INTERLINGUE :: Int-wxLANGUAGE_INTERLINGUE = 104--wxLANGUAGE_INUKTITUT :: Int-wxLANGUAGE_INUKTITUT = 105--wxLANGUAGE_INUPIAK :: Int-wxLANGUAGE_INUPIAK = 106--wxLANGUAGE_IRISH :: Int-wxLANGUAGE_IRISH = 107--wxLANGUAGE_ITALIAN :: Int-wxLANGUAGE_ITALIAN = 108--wxLANGUAGE_ITALIAN_SWISS :: Int-wxLANGUAGE_ITALIAN_SWISS = 109--wxLANGUAGE_JAPANESE :: Int-wxLANGUAGE_JAPANESE = 110--wxLANGUAGE_JAVANESE :: Int-wxLANGUAGE_JAVANESE = 111--wxLANGUAGE_KANNADA :: Int-wxLANGUAGE_KANNADA = 112--wxLANGUAGE_KASHMIRI :: Int-wxLANGUAGE_KASHMIRI = 113--wxLANGUAGE_KASHMIRI_INDIA :: Int-wxLANGUAGE_KASHMIRI_INDIA = 114--wxLANGUAGE_KAZAKH :: Int-wxLANGUAGE_KAZAKH = 115--wxLANGUAGE_KERNEWEK :: Int-wxLANGUAGE_KERNEWEK = 116--wxLANGUAGE_KINYARWANDA :: Int-wxLANGUAGE_KINYARWANDA = 117--wxLANGUAGE_KIRGHIZ :: Int-wxLANGUAGE_KIRGHIZ = 118--wxLANGUAGE_KIRUNDI :: Int-wxLANGUAGE_KIRUNDI = 119--wxLANGUAGE_KONKANI :: Int-wxLANGUAGE_KONKANI = 120--wxLANGUAGE_KOREAN :: Int-wxLANGUAGE_KOREAN = 121--wxLANGUAGE_KURDISH :: Int-wxLANGUAGE_KURDISH = 122--wxLANGUAGE_LAOTHIAN :: Int-wxLANGUAGE_LAOTHIAN = 123--wxLANGUAGE_LATIN :: Int-wxLANGUAGE_LATIN = 124--wxLANGUAGE_LATVIAN :: Int-wxLANGUAGE_LATVIAN = 125--wxLANGUAGE_LINGALA :: Int-wxLANGUAGE_LINGALA = 126--wxLANGUAGE_LITHUANIAN :: Int-wxLANGUAGE_LITHUANIAN = 127--wxLANGUAGE_MACEDONIAN :: Int-wxLANGUAGE_MACEDONIAN = 128--wxLANGUAGE_MALAGASY :: Int-wxLANGUAGE_MALAGASY = 129--wxLANGUAGE_MALAY :: Int-wxLANGUAGE_MALAY = 130--wxLANGUAGE_MALAYALAM :: Int-wxLANGUAGE_MALAYALAM = 131--wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM :: Int-wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM = 132--wxLANGUAGE_MALAY_MALAYSIA :: Int-wxLANGUAGE_MALAY_MALAYSIA = 133--wxLANGUAGE_MALTESE :: Int-wxLANGUAGE_MALTESE = 134--wxLANGUAGE_MANIPURI :: Int-wxLANGUAGE_MANIPURI = 135--wxLANGUAGE_MAORI :: Int-wxLANGUAGE_MAORI = 136--wxLANGUAGE_MARATHI :: Int-wxLANGUAGE_MARATHI = 137--wxLANGUAGE_MOLDAVIAN :: Int-wxLANGUAGE_MOLDAVIAN = 138--wxLANGUAGE_MONGOLIAN :: Int-wxLANGUAGE_MONGOLIAN = 139--wxLANGUAGE_NAURU :: Int-wxLANGUAGE_NAURU = 140--wxLANGUAGE_NEPALI :: Int-wxLANGUAGE_NEPALI = 141--wxLANGUAGE_NEPALI_INDIA :: Int-wxLANGUAGE_NEPALI_INDIA = 142--wxLANGUAGE_NORWEGIAN_BOKMAL :: Int-wxLANGUAGE_NORWEGIAN_BOKMAL = 143--wxLANGUAGE_NORWEGIAN_NYNORSK :: Int-wxLANGUAGE_NORWEGIAN_NYNORSK = 144--wxLANGUAGE_OCCITAN :: Int-wxLANGUAGE_OCCITAN = 145--wxLANGUAGE_ORIYA :: Int-wxLANGUAGE_ORIYA = 146--wxLANGUAGE_OROMO :: Int-wxLANGUAGE_OROMO = 147--wxLANGUAGE_PASHTO :: Int-wxLANGUAGE_PASHTO = 148--wxLANGUAGE_POLISH :: Int-wxLANGUAGE_POLISH = 149--wxLANGUAGE_PORTUGUESE :: Int-wxLANGUAGE_PORTUGUESE = 150--wxLANGUAGE_PORTUGUESE_BRAZILIAN :: Int-wxLANGUAGE_PORTUGUESE_BRAZILIAN = 151--wxLANGUAGE_PUNJABI :: Int-wxLANGUAGE_PUNJABI = 152--wxLANGUAGE_QUECHUA :: Int-wxLANGUAGE_QUECHUA = 153--wxLANGUAGE_RHAETO_ROMANCE :: Int-wxLANGUAGE_RHAETO_ROMANCE = 154--wxLANGUAGE_ROMANIAN :: Int-wxLANGUAGE_ROMANIAN = 155--wxLANGUAGE_RUSSIAN :: Int-wxLANGUAGE_RUSSIAN = 156--wxLANGUAGE_RUSSIAN_UKRAINE :: Int-wxLANGUAGE_RUSSIAN_UKRAINE = 157--wxLANGUAGE_SAMOAN :: Int-wxLANGUAGE_SAMOAN = 158--wxLANGUAGE_SANGHO :: Int-wxLANGUAGE_SANGHO = 159--wxLANGUAGE_SANSKRIT :: Int-wxLANGUAGE_SANSKRIT = 160--wxLANGUAGE_SCOTS_GAELIC :: Int-wxLANGUAGE_SCOTS_GAELIC = 161--wxLANGUAGE_SERBIAN :: Int-wxLANGUAGE_SERBIAN = 162--wxLANGUAGE_SERBIAN_CYRILLIC :: Int-wxLANGUAGE_SERBIAN_CYRILLIC = 163--wxLANGUAGE_SERBIAN_LATIN :: Int-wxLANGUAGE_SERBIAN_LATIN = 164--wxLANGUAGE_SERBO_CROATIAN :: Int-wxLANGUAGE_SERBO_CROATIAN = 165--wxLANGUAGE_SESOTHO :: Int-wxLANGUAGE_SESOTHO = 166--wxLANGUAGE_SETSWANA :: Int-wxLANGUAGE_SETSWANA = 167--wxLANGUAGE_SHONA :: Int-wxLANGUAGE_SHONA = 168--wxLANGUAGE_SINDHI :: Int-wxLANGUAGE_SINDHI = 169--wxLANGUAGE_SINHALESE :: Int-wxLANGUAGE_SINHALESE = 170--wxLANGUAGE_SISWATI :: Int-wxLANGUAGE_SISWATI = 171--wxLANGUAGE_SLOVAK :: Int-wxLANGUAGE_SLOVAK = 172--wxLANGUAGE_SLOVENIAN :: Int-wxLANGUAGE_SLOVENIAN = 173--wxLANGUAGE_SOMALI :: Int-wxLANGUAGE_SOMALI = 174--wxLANGUAGE_SPANISH :: Int-wxLANGUAGE_SPANISH = 175--wxLANGUAGE_SPANISH_ARGENTINA :: Int-wxLANGUAGE_SPANISH_ARGENTINA = 176--wxLANGUAGE_SPANISH_BOLIVIA :: Int-wxLANGUAGE_SPANISH_BOLIVIA = 177--wxLANGUAGE_SPANISH_CHILE :: Int-wxLANGUAGE_SPANISH_CHILE = 178--wxLANGUAGE_SPANISH_COLOMBIA :: Int-wxLANGUAGE_SPANISH_COLOMBIA = 179--wxLANGUAGE_SPANISH_COSTA_RICA :: Int-wxLANGUAGE_SPANISH_COSTA_RICA = 180--wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC :: Int-wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC = 181--wxLANGUAGE_SPANISH_ECUADOR :: Int-wxLANGUAGE_SPANISH_ECUADOR = 182--wxLANGUAGE_SPANISH_EL_SALVADOR :: Int-wxLANGUAGE_SPANISH_EL_SALVADOR = 183--wxLANGUAGE_SPANISH_GUATEMALA :: Int-wxLANGUAGE_SPANISH_GUATEMALA = 184--wxLANGUAGE_SPANISH_HONDURAS :: Int-wxLANGUAGE_SPANISH_HONDURAS = 185--wxLANGUAGE_SPANISH_MEXICAN :: Int-wxLANGUAGE_SPANISH_MEXICAN = 186--wxLANGUAGE_SPANISH_MODERN :: Int-wxLANGUAGE_SPANISH_MODERN = 187--wxLANGUAGE_SPANISH_NICARAGUA :: Int-wxLANGUAGE_SPANISH_NICARAGUA = 188--wxLANGUAGE_SPANISH_PANAMA :: Int-wxLANGUAGE_SPANISH_PANAMA = 189--wxLANGUAGE_SPANISH_PARAGUAY :: Int-wxLANGUAGE_SPANISH_PARAGUAY = 190--wxLANGUAGE_SPANISH_PERU :: Int-wxLANGUAGE_SPANISH_PERU = 191--wxLANGUAGE_SPANISH_PUERTO_RICO :: Int-wxLANGUAGE_SPANISH_PUERTO_RICO = 192--wxLANGUAGE_SPANISH_URUGUAY :: Int-wxLANGUAGE_SPANISH_URUGUAY = 193--wxLANGUAGE_SPANISH_US :: Int-wxLANGUAGE_SPANISH_US = 194--wxLANGUAGE_SPANISH_VENEZUELA :: Int-wxLANGUAGE_SPANISH_VENEZUELA = 195--wxLANGUAGE_SUNDANESE :: Int-wxLANGUAGE_SUNDANESE = 196--wxLANGUAGE_SWAHILI :: Int-wxLANGUAGE_SWAHILI = 197--wxLANGUAGE_SWEDISH :: Int-wxLANGUAGE_SWEDISH = 198--wxLANGUAGE_SWEDISH_FINLAND :: Int-wxLANGUAGE_SWEDISH_FINLAND = 199--wxLANGUAGE_TAGALOG :: Int-wxLANGUAGE_TAGALOG = 200--wxLANGUAGE_TAJIK :: Int-wxLANGUAGE_TAJIK = 201--wxLANGUAGE_TAMIL :: Int-wxLANGUAGE_TAMIL = 202--wxLANGUAGE_TATAR :: Int-wxLANGUAGE_TATAR = 203--wxLANGUAGE_TELUGU :: Int-wxLANGUAGE_TELUGU = 204--wxLANGUAGE_THAI :: Int-wxLANGUAGE_THAI = 205--wxLANGUAGE_TIBETAN :: Int-wxLANGUAGE_TIBETAN = 206--wxLANGUAGE_TIGRINYA :: Int-wxLANGUAGE_TIGRINYA = 207--wxLANGUAGE_TONGA :: Int-wxLANGUAGE_TONGA = 208--wxLANGUAGE_TSONGA :: Int-wxLANGUAGE_TSONGA = 209--wxLANGUAGE_TURKISH :: Int-wxLANGUAGE_TURKISH = 210--wxLANGUAGE_TURKMEN :: Int-wxLANGUAGE_TURKMEN = 211--wxLANGUAGE_TWI :: Int-wxLANGUAGE_TWI = 212--wxLANGUAGE_UIGHUR :: Int-wxLANGUAGE_UIGHUR = 213--wxLANGUAGE_UKRAINIAN :: Int-wxLANGUAGE_UKRAINIAN = 214--wxLANGUAGE_URDU :: Int-wxLANGUAGE_URDU = 215--wxLANGUAGE_URDU_INDIA :: Int-wxLANGUAGE_URDU_INDIA = 216--wxLANGUAGE_URDU_PAKISTAN :: Int-wxLANGUAGE_URDU_PAKISTAN = 217--wxLANGUAGE_UZBEK :: Int-wxLANGUAGE_UZBEK = 218--wxLANGUAGE_UZBEK_CYRILLIC :: Int-wxLANGUAGE_UZBEK_CYRILLIC = 219--wxLANGUAGE_UZBEK_LATIN :: Int-wxLANGUAGE_UZBEK_LATIN = 220--wxLANGUAGE_VIETNAMESE :: Int-wxLANGUAGE_VIETNAMESE = 221--wxLANGUAGE_VOLAPUK :: Int-wxLANGUAGE_VOLAPUK = 222--wxLANGUAGE_WELSH :: Int-wxLANGUAGE_WELSH = 223--wxLANGUAGE_WOLOF :: Int-wxLANGUAGE_WOLOF = 224--wxLANGUAGE_XHOSA :: Int-wxLANGUAGE_XHOSA = 225--wxLANGUAGE_YIDDISH :: Int-wxLANGUAGE_YIDDISH = 226--wxLANGUAGE_YORUBA :: Int-wxLANGUAGE_YORUBA = 227--wxLANGUAGE_ZHUANG :: Int-wxLANGUAGE_ZHUANG = 228--wxLANGUAGE_ZULU :: Int-wxLANGUAGE_ZULU = 229--wxLANGUAGE_USER_DEFINE :: Int-wxLANGUAGE_USER_DEFINE = 230--wxLOCALE_THOUSANDS_SEP :: Int-wxLOCALE_THOUSANDS_SEP = 0--wxLOCALE_DECIMAL_POINT :: Int-wxLOCALE_DECIMAL_POINT = 1--wxLOCALE_LOAD_DEFAULT :: Int-wxLOCALE_LOAD_DEFAULT = 1--wxLOCALE_CONV_ENCODING :: Int-wxLOCALE_CONV_ENCODING = 2--wxSTC_INVALID_POSITION :: Int-wxSTC_INVALID_POSITION = (-1)--wxSTC_START :: Int-wxSTC_START = 2000--wxSTC_OPTIONAL_START :: Int-wxSTC_OPTIONAL_START = 3000--wxSTC_LEXER_START :: Int-wxSTC_LEXER_START = 4000--wxSTC_WS_INVISIBLE :: Int-wxSTC_WS_INVISIBLE = 0--wxSTC_WS_VISIBLEALWAYS :: Int-wxSTC_WS_VISIBLEALWAYS = 1--wxSTC_WS_VISIBLEAFTERINDENT :: Int-wxSTC_WS_VISIBLEAFTERINDENT = 2--wxSTC_EOL_CRLF :: Int-wxSTC_EOL_CRLF = 0--wxSTC_EOL_CR :: Int-wxSTC_EOL_CR = 1--wxSTC_EOL_LF :: Int-wxSTC_EOL_LF = 2--wxSTC_CP_UTF8 :: Int-wxSTC_CP_UTF8 = 65001--wxSTC_CP_DBCS :: Int-wxSTC_CP_DBCS = 1--wxSTC_MARKER_MAX :: Int-wxSTC_MARKER_MAX = 31--wxSTC_MARK_CIRCLE :: Int-wxSTC_MARK_CIRCLE = 0--wxSTC_MARK_ROUNDRECT :: Int-wxSTC_MARK_ROUNDRECT = 1--wxSTC_MARK_ARROW :: Int-wxSTC_MARK_ARROW = 2--wxSTC_MARK_SMALLRECT :: Int-wxSTC_MARK_SMALLRECT = 3--wxSTC_MARK_SHORTARROW :: Int-wxSTC_MARK_SHORTARROW = 4--wxSTC_MARK_EMPTY :: Int-wxSTC_MARK_EMPTY = 5--wxSTC_MARK_ARROWDOWN :: Int-wxSTC_MARK_ARROWDOWN = 6--wxSTC_MARK_MINUS :: Int-wxSTC_MARK_MINUS = 7--wxSTC_MARK_PLUS :: Int-wxSTC_MARK_PLUS = 8--wxSTC_MARK_VLINE :: Int-wxSTC_MARK_VLINE = 9--wxSTC_MARK_LCORNER :: Int-wxSTC_MARK_LCORNER = 10--wxSTC_MARK_TCORNER :: Int-wxSTC_MARK_TCORNER = 11--wxSTC_MARK_BOXPLUS :: Int-wxSTC_MARK_BOXPLUS = 12--wxSTC_MARK_BOXPLUSCONNECTED :: Int-wxSTC_MARK_BOXPLUSCONNECTED = 13--wxSTC_MARK_BOXMINUS :: Int-wxSTC_MARK_BOXMINUS = 14--wxSTC_MARK_BOXMINUSCONNECTED :: Int-wxSTC_MARK_BOXMINUSCONNECTED = 15--wxSTC_MARK_LCORNERCURVE :: Int-wxSTC_MARK_LCORNERCURVE = 16--wxSTC_MARK_TCORNERCURVE :: Int-wxSTC_MARK_TCORNERCURVE = 17--wxSTC_MARK_CIRCLEPLUS :: Int-wxSTC_MARK_CIRCLEPLUS = 18--wxSTC_MARK_CIRCLEPLUSCONNECTED :: Int-wxSTC_MARK_CIRCLEPLUSCONNECTED = 19--wxSTC_MARK_CIRCLEMINUS :: Int-wxSTC_MARK_CIRCLEMINUS = 20--wxSTC_MARK_CIRCLEMINUSCONNECTED :: Int-wxSTC_MARK_CIRCLEMINUSCONNECTED = 21--wxSTC_MARK_BACKGROUND :: Int-wxSTC_MARK_BACKGROUND = 22--wxSTC_MARK_DOTDOTDOT :: Int-wxSTC_MARK_DOTDOTDOT = 23--wxSTC_MARK_ARROWS :: Int-wxSTC_MARK_ARROWS = 24--wxSTC_MARK_PIXMAP :: Int-wxSTC_MARK_PIXMAP = 25--wxSTC_MARK_CHARACTER :: Int-wxSTC_MARK_CHARACTER = 10000--wxSTC_MARKNUM_FOLDEREND :: Int-wxSTC_MARKNUM_FOLDEREND = 25--wxSTC_MARKNUM_FOLDEROPENMID :: Int-wxSTC_MARKNUM_FOLDEROPENMID = 26--wxSTC_MARKNUM_FOLDERMIDTAIL :: Int-wxSTC_MARKNUM_FOLDERMIDTAIL = 27--wxSTC_MARKNUM_FOLDERTAIL :: Int-wxSTC_MARKNUM_FOLDERTAIL = 28--wxSTC_MARKNUM_FOLDERSUB :: Int-wxSTC_MARKNUM_FOLDERSUB = 29--wxSTC_MARKNUM_FOLDER :: Int-wxSTC_MARKNUM_FOLDER = 30--wxSTC_MARKNUM_FOLDEROPEN :: Int-wxSTC_MARKNUM_FOLDEROPEN = 31--wxSTC_MASK_FOLDERS :: Int-wxSTC_MASK_FOLDERS = (-33554432)--wxSTC_MARGIN_SYMBOL :: Int-wxSTC_MARGIN_SYMBOL = 0--wxSTC_MARGIN_NUMBER :: Int-wxSTC_MARGIN_NUMBER = 1--wxSTC_STYLE_DEFAULT :: Int-wxSTC_STYLE_DEFAULT = 32--wxSTC_STYLE_LINENUMBER :: Int-wxSTC_STYLE_LINENUMBER = 33--wxSTC_STYLE_BRACELIGHT :: Int-wxSTC_STYLE_BRACELIGHT = 34--wxSTC_STYLE_BRACEBAD :: Int-wxSTC_STYLE_BRACEBAD = 35--wxSTC_STYLE_CONTROLCHAR :: Int-wxSTC_STYLE_CONTROLCHAR = 36--wxSTC_STYLE_INDENTGUIDE :: Int-wxSTC_STYLE_INDENTGUIDE = 37--wxSTC_STYLE_LASTPREDEFINED :: Int-wxSTC_STYLE_LASTPREDEFINED = 39--wxSTC_STYLE_MAX :: Int-wxSTC_STYLE_MAX = 127--wxSTC_CHARSET_ANSI :: Int-wxSTC_CHARSET_ANSI = 0--wxSTC_CHARSET_DEFAULT :: Int-wxSTC_CHARSET_DEFAULT = 1--wxSTC_CHARSET_BALTIC :: Int-wxSTC_CHARSET_BALTIC = 186--wxSTC_CHARSET_CHINESEBIG5 :: Int-wxSTC_CHARSET_CHINESEBIG5 = 136--wxSTC_CHARSET_EASTEUROPE :: Int-wxSTC_CHARSET_EASTEUROPE = 238--wxSTC_CHARSET_GB2312 :: Int-wxSTC_CHARSET_GB2312 = 134--wxSTC_CHARSET_GREEK :: Int-wxSTC_CHARSET_GREEK = 161--wxSTC_CHARSET_HANGUL :: Int-wxSTC_CHARSET_HANGUL = 129--wxSTC_CHARSET_MAC :: Int-wxSTC_CHARSET_MAC = 77--wxSTC_CHARSET_OEM :: Int-wxSTC_CHARSET_OEM = 255--wxSTC_CHARSET_RUSSIAN :: Int-wxSTC_CHARSET_RUSSIAN = 204--wxSTC_CHARSET_SHIFTJIS :: Int-wxSTC_CHARSET_SHIFTJIS = 128--wxSTC_CHARSET_SYMBOL :: Int-wxSTC_CHARSET_SYMBOL = 2--wxSTC_CHARSET_TURKISH :: Int-wxSTC_CHARSET_TURKISH = 162--wxSTC_CHARSET_JOHAB :: Int-wxSTC_CHARSET_JOHAB = 130--wxSTC_CHARSET_HEBREW :: Int-wxSTC_CHARSET_HEBREW = 177--wxSTC_CHARSET_ARABIC :: Int-wxSTC_CHARSET_ARABIC = 178--wxSTC_CHARSET_VIETNAMESE :: Int-wxSTC_CHARSET_VIETNAMESE = 163--wxSTC_CHARSET_THAI :: Int-wxSTC_CHARSET_THAI = 222--wxSTC_CASE_MIXED :: Int-wxSTC_CASE_MIXED = 0--wxSTC_CASE_UPPER :: Int-wxSTC_CASE_UPPER = 1--wxSTC_CASE_LOWER :: Int-wxSTC_CASE_LOWER = 2--wxSTC_INDIC_MAX :: Int-wxSTC_INDIC_MAX = 7--wxSTC_INDIC_PLAIN :: Int-wxSTC_INDIC_PLAIN = 0--wxSTC_INDIC_SQUIGGLE :: Int-wxSTC_INDIC_SQUIGGLE = 1--wxSTC_INDIC_TT :: Int-wxSTC_INDIC_TT = 2--wxSTC_INDIC_DIAGONAL :: Int-wxSTC_INDIC_DIAGONAL = 3--wxSTC_INDIC_STRIKE :: Int-wxSTC_INDIC_STRIKE = 4--wxSTC_INDIC_HIDDEN :: Int-wxSTC_INDIC_HIDDEN = 5--wxSTC_INDIC0_MASK :: Int-wxSTC_INDIC0_MASK = 32--wxSTC_INDIC1_MASK :: Int-wxSTC_INDIC1_MASK = 64--wxSTC_INDIC2_MASK :: Int-wxSTC_INDIC2_MASK = 128--wxSTC_INDICS_MASK :: Int-wxSTC_INDICS_MASK = 224--wxSTC_PRINT_NORMAL :: Int-wxSTC_PRINT_NORMAL = 0--wxSTC_PRINT_INVERTLIGHT :: Int-wxSTC_PRINT_INVERTLIGHT = 1--wxSTC_PRINT_BLACKONWHITE :: Int-wxSTC_PRINT_BLACKONWHITE = 2--wxSTC_PRINT_COLOURONWHITE :: Int-wxSTC_PRINT_COLOURONWHITE = 3--wxSTC_PRINT_COLOURONWHITEDEFAULTBG :: Int-wxSTC_PRINT_COLOURONWHITEDEFAULTBG = 4--wxSTC_FIND_WHOLEWORD :: Int-wxSTC_FIND_WHOLEWORD = 2--wxSTC_FIND_MATCHCASE :: Int-wxSTC_FIND_MATCHCASE = 4--wxSTC_FIND_WORDSTART :: Int-wxSTC_FIND_WORDSTART = 1048576--wxSTC_FIND_REGEXP :: Int-wxSTC_FIND_REGEXP = 2097152--wxSTC_FIND_POSIX :: Int-wxSTC_FIND_POSIX = 4194304--wxSTC_FOLDLEVELBASE :: Int-wxSTC_FOLDLEVELBASE = 1024--wxSTC_FOLDLEVELWHITEFLAG :: Int-wxSTC_FOLDLEVELWHITEFLAG = 4096--wxSTC_FOLDLEVELHEADERFLAG :: Int-wxSTC_FOLDLEVELHEADERFLAG = 8192--wxSTC_FOLDLEVELBOXHEADERFLAG :: Int-wxSTC_FOLDLEVELBOXHEADERFLAG = 16384--wxSTC_FOLDLEVELBOXFOOTERFLAG :: Int-wxSTC_FOLDLEVELBOXFOOTERFLAG = 32768--wxSTC_FOLDLEVELCONTRACTED :: Int-wxSTC_FOLDLEVELCONTRACTED = 65536--wxSTC_FOLDLEVELUNINDENT :: Int-wxSTC_FOLDLEVELUNINDENT = 131072--wxSTC_FOLDLEVELNUMBERMASK :: Int-wxSTC_FOLDLEVELNUMBERMASK = 4095--wxSTC_FOLDFLAG_LINEBEFORE_EXPANDED :: Int-wxSTC_FOLDFLAG_LINEBEFORE_EXPANDED = 2--wxSTC_FOLDFLAG_LINEBEFORE_CONTRACTED :: Int-wxSTC_FOLDFLAG_LINEBEFORE_CONTRACTED = 4--wxSTC_FOLDFLAG_LINEAFTER_EXPANDED :: Int-wxSTC_FOLDFLAG_LINEAFTER_EXPANDED = 8--wxSTC_FOLDFLAG_LINEAFTER_CONTRACTED :: Int-wxSTC_FOLDFLAG_LINEAFTER_CONTRACTED = 16--wxSTC_FOLDFLAG_LEVELNUMBERS :: Int-wxSTC_FOLDFLAG_LEVELNUMBERS = 64--wxSTC_FOLDFLAG_BOX :: Int-wxSTC_FOLDFLAG_BOX = 1--wxSTC_TIME_FOREVER :: Int-wxSTC_TIME_FOREVER = 10000000--wxSTC_WRAP_NONE :: Int-wxSTC_WRAP_NONE = 0--wxSTC_WRAP_WORD :: Int-wxSTC_WRAP_WORD = 1--wxSTC_CACHE_NONE :: Int-wxSTC_CACHE_NONE = 0--wxSTC_CACHE_CARET :: Int-wxSTC_CACHE_CARET = 1--wxSTC_CACHE_PAGE :: Int-wxSTC_CACHE_PAGE = 2--wxSTC_CACHE_DOCUMENT :: Int-wxSTC_CACHE_DOCUMENT = 3--wxSTC_EDGE_NONE :: Int-wxSTC_EDGE_NONE = 0--wxSTC_EDGE_LINE :: Int-wxSTC_EDGE_LINE = 1--wxSTC_EDGE_BACKGROUND :: Int-wxSTC_EDGE_BACKGROUND = 2--wxSTC_CURSORNORMAL :: Int-wxSTC_CURSORNORMAL = (-1)--wxSTC_CURSORWAIT :: Int-wxSTC_CURSORWAIT = 4--wxSTC_VISIBLE_SLOP :: Int-wxSTC_VISIBLE_SLOP = 1--wxSTC_VISIBLE_STRICT :: Int-wxSTC_VISIBLE_STRICT = 4--wxSTC_CARET_SLOP :: Int-wxSTC_CARET_SLOP = 1--wxSTC_CARET_STRICT :: Int-wxSTC_CARET_STRICT = 4--wxSTC_CARET_JUMPS :: Int-wxSTC_CARET_JUMPS = 16--wxSTC_CARET_EVEN :: Int-wxSTC_CARET_EVEN = 8--wxSTC_SEL_STREAM :: Int-wxSTC_SEL_STREAM = 0--wxSTC_SEL_RECTANGLE :: Int-wxSTC_SEL_RECTANGLE = 1--wxSTC_SEL_LINES :: Int-wxSTC_SEL_LINES = 2--wxSTC_KEYWORDSET_MAX :: Int-wxSTC_KEYWORDSET_MAX = 8--wxSTC_MOD_INSERTTEXT :: Int-wxSTC_MOD_INSERTTEXT = 1--wxSTC_MOD_DELETETEXT :: Int-wxSTC_MOD_DELETETEXT = 2--wxSTC_MOD_CHANGESTYLE :: Int-wxSTC_MOD_CHANGESTYLE = 4--wxSTC_MOD_CHANGEFOLD :: Int-wxSTC_MOD_CHANGEFOLD = 8--wxSTC_PERFORMED_USER :: Int-wxSTC_PERFORMED_USER = 16--wxSTC_PERFORMED_UNDO :: Int-wxSTC_PERFORMED_UNDO = 32--wxSTC_PERFORMED_REDO :: Int-wxSTC_PERFORMED_REDO = 64--wxSTC_LASTSTEPINUNDOREDO :: Int-wxSTC_LASTSTEPINUNDOREDO = 256--wxSTC_MOD_CHANGEMARKER :: Int-wxSTC_MOD_CHANGEMARKER = 512--wxSTC_MOD_BEFOREINSERT :: Int-wxSTC_MOD_BEFOREINSERT = 1024--wxSTC_MOD_BEFOREDELETE :: Int-wxSTC_MOD_BEFOREDELETE = 2048--wxSTC_MODEVENTMASKALL :: Int-wxSTC_MODEVENTMASKALL = 3959--wxSTC_KEY_DOWN :: Int-wxSTC_KEY_DOWN = 300--wxSTC_KEY_UP :: Int-wxSTC_KEY_UP = 301--wxSTC_KEY_LEFT :: Int-wxSTC_KEY_LEFT = 302--wxSTC_KEY_RIGHT :: Int-wxSTC_KEY_RIGHT = 303--wxSTC_KEY_HOME :: Int-wxSTC_KEY_HOME = 304--wxSTC_KEY_END :: Int-wxSTC_KEY_END = 305--wxSTC_KEY_PRIOR :: Int-wxSTC_KEY_PRIOR = 306--wxSTC_KEY_NEXT :: Int-wxSTC_KEY_NEXT = 307--wxSTC_KEY_DELETE :: Int-wxSTC_KEY_DELETE = 308--wxSTC_KEY_INSERT :: Int-wxSTC_KEY_INSERT = 309--wxSTC_KEY_ESCAPE :: Int-wxSTC_KEY_ESCAPE = 7--wxSTC_KEY_BACK :: Int-wxSTC_KEY_BACK = 8--wxSTC_KEY_TAB :: Int-wxSTC_KEY_TAB = 9--wxSTC_KEY_RETURN :: Int-wxSTC_KEY_RETURN = 13--wxSTC_KEY_ADD :: Int-wxSTC_KEY_ADD = 310--wxSTC_KEY_SUBTRACT :: Int-wxSTC_KEY_SUBTRACT = 311--wxSTC_KEY_DIVIDE :: Int-wxSTC_KEY_DIVIDE = 312--wxSTC_SCMOD_SHIFT :: Int-wxSTC_SCMOD_SHIFT = 1--wxSTC_SCMOD_CTRL :: Int-wxSTC_SCMOD_CTRL = 2--wxSTC_SCMOD_ALT :: Int-wxSTC_SCMOD_ALT = 4--wxSTC_LEX_CONTAINER :: Int-wxSTC_LEX_CONTAINER = 0--wxSTC_LEX_NULL :: Int-wxSTC_LEX_NULL = 1--wxSTC_LEX_PYTHON :: Int-wxSTC_LEX_PYTHON = 2--wxSTC_LEX_CPP :: Int-wxSTC_LEX_CPP = 3--wxSTC_LEX_HTML :: Int-wxSTC_LEX_HTML = 4--wxSTC_LEX_XML :: Int-wxSTC_LEX_XML = 5--wxSTC_LEX_PERL :: Int-wxSTC_LEX_PERL = 6--wxSTC_LEX_SQL :: Int-wxSTC_LEX_SQL = 7--wxSTC_LEX_VB :: Int-wxSTC_LEX_VB = 8--wxSTC_LEX_PROPERTIES :: Int-wxSTC_LEX_PROPERTIES = 9--wxSTC_LEX_ERRORLIST :: Int-wxSTC_LEX_ERRORLIST = 10--wxSTC_LEX_MAKEFILE :: Int-wxSTC_LEX_MAKEFILE = 11--wxSTC_LEX_BATCH :: Int-wxSTC_LEX_BATCH = 12--wxSTC_LEX_XCODE :: Int-wxSTC_LEX_XCODE = 13--wxSTC_LEX_LATEX :: Int-wxSTC_LEX_LATEX = 14--wxSTC_LEX_LUA :: Int-wxSTC_LEX_LUA = 15--wxSTC_LEX_DIFF :: Int-wxSTC_LEX_DIFF = 16--wxSTC_LEX_CONF :: Int-wxSTC_LEX_CONF = 17--wxSTC_LEX_PASCAL :: Int-wxSTC_LEX_PASCAL = 18--wxSTC_LEX_AVE :: Int-wxSTC_LEX_AVE = 19--wxSTC_LEX_ADA :: Int-wxSTC_LEX_ADA = 20--wxSTC_LEX_LISP :: Int-wxSTC_LEX_LISP = 21--wxSTC_LEX_RUBY :: Int-wxSTC_LEX_RUBY = 22--wxSTC_LEX_EIFFEL :: Int-wxSTC_LEX_EIFFEL = 23--wxSTC_LEX_EIFFELKW :: Int-wxSTC_LEX_EIFFELKW = 24--wxSTC_LEX_TCL :: Int-wxSTC_LEX_TCL = 25--wxSTC_LEX_NNCRONTAB :: Int-wxSTC_LEX_NNCRONTAB = 26--wxSTC_LEX_BULLANT :: Int-wxSTC_LEX_BULLANT = 27--wxSTC_LEX_VBSCRIPT :: Int-wxSTC_LEX_VBSCRIPT = 28--wxSTC_LEX_ASP :: Int-wxSTC_LEX_ASP = 29--wxSTC_LEX_PHP :: Int-wxSTC_LEX_PHP = 30--wxSTC_LEX_BAAN :: Int-wxSTC_LEX_BAAN = 31--wxSTC_LEX_MATLAB :: Int-wxSTC_LEX_MATLAB = 32--wxSTC_LEX_SCRIPTOL :: Int-wxSTC_LEX_SCRIPTOL = 33--wxSTC_LEX_ASM :: Int-wxSTC_LEX_ASM = 34--wxSTC_LEX_CPPNOCASE :: Int-wxSTC_LEX_CPPNOCASE = 35--wxSTC_LEX_FORTRAN :: Int-wxSTC_LEX_FORTRAN = 36--wxSTC_LEX_F77 :: Int-wxSTC_LEX_F77 = 37--wxSTC_LEX_CSS :: Int-wxSTC_LEX_CSS = 38--wxSTC_LEX_POV :: Int-wxSTC_LEX_POV = 39--wxSTC_LEX_LOUT :: Int-wxSTC_LEX_LOUT = 40--wxSTC_LEX_ESCRIPT :: Int-wxSTC_LEX_ESCRIPT = 41--wxSTC_LEX_PS :: Int-wxSTC_LEX_PS = 42--wxSTC_LEX_NSIS :: Int-wxSTC_LEX_NSIS = 43--wxSTC_LEX_MMIXAL :: Int-wxSTC_LEX_MMIXAL = 44--wxSTC_LEX_PHPSCRIPT :: Int-wxSTC_LEX_PHPSCRIPT = 69--wxSTC_LEX_TADS3 :: Int-wxSTC_LEX_TADS3 = 70--wxSTC_LEX_REBOL :: Int-wxSTC_LEX_REBOL = 71--wxSTC_LEX_SMALLTALK :: Int-wxSTC_LEX_SMALLTALK = 72--wxSTC_LEX_FLAGSHIP :: Int-wxSTC_LEX_FLAGSHIP = 73--wxSTC_LEX_CSOUND :: Int-wxSTC_LEX_CSOUND = 74--wxSTC_LEX_FREEBASIC :: Int-wxSTC_LEX_FREEBASIC = 75--wxSTC_LEX_AUTOMATIC :: Int-wxSTC_LEX_AUTOMATIC = 1000--wxSTC_LEX_HASKELL :: Int-wxSTC_LEX_HASKELL = 68--wxSTC_P_DEFAULT :: Int-wxSTC_P_DEFAULT = 0--wxSTC_P_COMMENTLINE :: Int-wxSTC_P_COMMENTLINE = 1--wxSTC_P_NUMBER :: Int-wxSTC_P_NUMBER = 2--wxSTC_P_STRING :: Int-wxSTC_P_STRING = 3--wxSTC_P_CHARACTER :: Int-wxSTC_P_CHARACTER = 4--wxSTC_P_WORD :: Int-wxSTC_P_WORD = 5--wxSTC_P_TRIPLE :: Int-wxSTC_P_TRIPLE = 6--wxSTC_P_TRIPLEDOUBLE :: Int-wxSTC_P_TRIPLEDOUBLE = 7--wxSTC_P_CLASSNAME :: Int-wxSTC_P_CLASSNAME = 8--wxSTC_P_DEFNAME :: Int-wxSTC_P_DEFNAME = 9--wxSTC_P_OPERATOR :: Int-wxSTC_P_OPERATOR = 10--wxSTC_P_IDENTIFIER :: Int-wxSTC_P_IDENTIFIER = 11--wxSTC_P_COMMENTBLOCK :: Int-wxSTC_P_COMMENTBLOCK = 12--wxSTC_P_STRINGEOL :: Int-wxSTC_P_STRINGEOL = 13--wxSTC_C_DEFAULT :: Int-wxSTC_C_DEFAULT = 0--wxSTC_C_COMMENT :: Int-wxSTC_C_COMMENT = 1--wxSTC_C_COMMENTLINE :: Int-wxSTC_C_COMMENTLINE = 2--wxSTC_C_COMMENTDOC :: Int-wxSTC_C_COMMENTDOC = 3--wxSTC_C_NUMBER :: Int-wxSTC_C_NUMBER = 4--wxSTC_C_WORD :: Int-wxSTC_C_WORD = 5--wxSTC_C_STRING :: Int-wxSTC_C_STRING = 6--wxSTC_C_CHARACTER :: Int-wxSTC_C_CHARACTER = 7--wxSTC_C_UUID :: Int-wxSTC_C_UUID = 8--wxSTC_C_PREPROCESSOR :: Int-wxSTC_C_PREPROCESSOR = 9--wxSTC_C_OPERATOR :: Int-wxSTC_C_OPERATOR = 10--wxSTC_C_IDENTIFIER :: Int-wxSTC_C_IDENTIFIER = 11--wxSTC_C_STRINGEOL :: Int-wxSTC_C_STRINGEOL = 12--wxSTC_C_VERBATIM :: Int-wxSTC_C_VERBATIM = 13--wxSTC_C_REGEX :: Int-wxSTC_C_REGEX = 14--wxSTC_C_COMMENTLINEDOC :: Int-wxSTC_C_COMMENTLINEDOC = 15--wxSTC_C_WORD2 :: Int-wxSTC_C_WORD2 = 16--wxSTC_C_COMMENTDOCKEYWORD :: Int-wxSTC_C_COMMENTDOCKEYWORD = 17--wxSTC_C_COMMENTDOCKEYWORDERROR :: Int-wxSTC_C_COMMENTDOCKEYWORDERROR = 18--wxSTC_C_GLOBALCLASS :: Int-wxSTC_C_GLOBALCLASS = 19--wxSTC_H_DEFAULT :: Int-wxSTC_H_DEFAULT = 0--wxSTC_H_TAG :: Int-wxSTC_H_TAG = 1--wxSTC_H_TAGUNKNOWN :: Int-wxSTC_H_TAGUNKNOWN = 2--wxSTC_H_ATTRIBUTE :: Int-wxSTC_H_ATTRIBUTE = 3--wxSTC_H_ATTRIBUTEUNKNOWN :: Int-wxSTC_H_ATTRIBUTEUNKNOWN = 4--wxSTC_H_NUMBER :: Int-wxSTC_H_NUMBER = 5--wxSTC_H_DOUBLESTRING :: Int-wxSTC_H_DOUBLESTRING = 6--wxSTC_H_SINGLESTRING :: Int-wxSTC_H_SINGLESTRING = 7--wxSTC_H_OTHER :: Int-wxSTC_H_OTHER = 8--wxSTC_H_COMMENT :: Int-wxSTC_H_COMMENT = 9--wxSTC_H_ENTITY :: Int-wxSTC_H_ENTITY = 10--wxSTC_H_TAGEND :: Int-wxSTC_H_TAGEND = 11--wxSTC_H_XMLSTART :: Int-wxSTC_H_XMLSTART = 12--wxSTC_H_XMLEND :: Int-wxSTC_H_XMLEND = 13--wxSTC_H_SCRIPT :: Int-wxSTC_H_SCRIPT = 14--wxSTC_H_ASP :: Int-wxSTC_H_ASP = 15--wxSTC_H_ASPAT :: Int-wxSTC_H_ASPAT = 16--wxSTC_H_CDATA :: Int-wxSTC_H_CDATA = 17--wxSTC_H_QUESTION :: Int-wxSTC_H_QUESTION = 18--wxSTC_H_VALUE :: Int-wxSTC_H_VALUE = 19--wxSTC_H_XCCOMMENT :: Int-wxSTC_H_XCCOMMENT = 20--wxSTC_H_SGML_DEFAULT :: Int-wxSTC_H_SGML_DEFAULT = 21--wxSTC_H_SGML_COMMAND :: Int-wxSTC_H_SGML_COMMAND = 22--wxSTC_H_SGML_1ST_PARAM :: Int-wxSTC_H_SGML_1ST_PARAM = 23--wxSTC_H_SGML_DOUBLESTRING :: Int-wxSTC_H_SGML_DOUBLESTRING = 24--wxSTC_H_SGML_SIMPLESTRING :: Int-wxSTC_H_SGML_SIMPLESTRING = 25--wxSTC_H_SGML_ERROR :: Int-wxSTC_H_SGML_ERROR = 26--wxSTC_H_SGML_SPECIAL :: Int-wxSTC_H_SGML_SPECIAL = 27--wxSTC_H_SGML_ENTITY :: Int-wxSTC_H_SGML_ENTITY = 28--wxSTC_H_SGML_COMMENT :: Int-wxSTC_H_SGML_COMMENT = 29--wxSTC_H_SGML_1ST_PARAM_COMMENT :: Int-wxSTC_H_SGML_1ST_PARAM_COMMENT = 30--wxSTC_H_SGML_BLOCK_DEFAULT :: Int-wxSTC_H_SGML_BLOCK_DEFAULT = 31--wxSTC_HA_DEFAULT :: Int-wxSTC_HA_DEFAULT = 0--wxSTC_HA_IDENTIFIER :: Int-wxSTC_HA_IDENTIFIER = 1--wxSTC_HA_KEYWORD :: Int-wxSTC_HA_KEYWORD = 2--wxSTC_HA_NUMBER :: Int-wxSTC_HA_NUMBER = 3--wxSTC_HA_STRING :: Int-wxSTC_HA_STRING = 4--wxSTC_HA_CHARACTER :: Int-wxSTC_HA_CHARACTER = 5--wxSTC_HA_CLASS :: Int-wxSTC_HA_CLASS = 6--wxSTC_HA_MODULE :: Int-wxSTC_HA_MODULE = 7--wxSTC_HA_CAPITAL :: Int-wxSTC_HA_CAPITAL = 8--wxSTC_HA_DATA :: Int-wxSTC_HA_DATA = 9--wxSTC_HA_IMPORT :: Int-wxSTC_HA_IMPORT = 10--wxSTC_HA_OPERATOR :: Int-wxSTC_HA_OPERATOR = 11--wxSTC_HA_INSTANCE :: Int-wxSTC_HA_INSTANCE = 12--wxSTC_HA_COMMENTLINE :: Int-wxSTC_HA_COMMENTLINE = 13--wxSTC_HA_COMMENTBLOCK :: Int-wxSTC_HA_COMMENTBLOCK = 14--wxSTC_HA_COMMENTBLOCK2 :: Int-wxSTC_HA_COMMENTBLOCK2 = 15--wxSTC_HA_COMMENTBLOCK3 :: Int-wxSTC_HA_COMMENTBLOCK3 = 16--wxSTC_HA_PREPROCESSOR :: Int-wxSTC_HA_PREPROCESSOR = 17--wxSTC_HJ_START :: Int-wxSTC_HJ_START = 40--wxSTC_HJ_DEFAULT :: Int-wxSTC_HJ_DEFAULT = 41--wxSTC_HJ_COMMENT :: Int-wxSTC_HJ_COMMENT = 42--wxSTC_HJ_COMMENTLINE :: Int-wxSTC_HJ_COMMENTLINE = 43--wxSTC_HJ_COMMENTDOC :: Int-wxSTC_HJ_COMMENTDOC = 44--wxSTC_HJ_NUMBER :: Int-wxSTC_HJ_NUMBER = 45--wxSTC_HJ_WORD :: Int-wxSTC_HJ_WORD = 46--wxSTC_HJ_KEYWORD :: Int-wxSTC_HJ_KEYWORD = 47--wxSTC_HJ_DOUBLESTRING :: Int-wxSTC_HJ_DOUBLESTRING = 48--wxSTC_HJ_SINGLESTRING :: Int-wxSTC_HJ_SINGLESTRING = 49--wxSTC_HJ_SYMBOLS :: Int-wxSTC_HJ_SYMBOLS = 50--wxSTC_HJ_STRINGEOL :: Int-wxSTC_HJ_STRINGEOL = 51--wxSTC_HJ_REGEX :: Int-wxSTC_HJ_REGEX = 52--wxSTC_HJA_START :: Int-wxSTC_HJA_START = 55--wxSTC_HJA_DEFAULT :: Int-wxSTC_HJA_DEFAULT = 56--wxSTC_HJA_COMMENT :: Int-wxSTC_HJA_COMMENT = 57--wxSTC_HJA_COMMENTLINE :: Int-wxSTC_HJA_COMMENTLINE = 58--wxSTC_HJA_COMMENTDOC :: Int-wxSTC_HJA_COMMENTDOC = 59--wxSTC_HJA_NUMBER :: Int-wxSTC_HJA_NUMBER = 60--wxSTC_HJA_WORD :: Int-wxSTC_HJA_WORD = 61--wxSTC_HJA_KEYWORD :: Int-wxSTC_HJA_KEYWORD = 62--wxSTC_HJA_DOUBLESTRING :: Int-wxSTC_HJA_DOUBLESTRING = 63--wxSTC_HJA_SINGLESTRING :: Int-wxSTC_HJA_SINGLESTRING = 64--wxSTC_HJA_SYMBOLS :: Int-wxSTC_HJA_SYMBOLS = 65--wxSTC_HJA_STRINGEOL :: Int-wxSTC_HJA_STRINGEOL = 66--wxSTC_HJA_REGEX :: Int-wxSTC_HJA_REGEX = 67--wxSTC_HB_START :: Int-wxSTC_HB_START = 70--wxSTC_HB_DEFAULT :: Int-wxSTC_HB_DEFAULT = 71--wxSTC_HB_COMMENTLINE :: Int-wxSTC_HB_COMMENTLINE = 72--wxSTC_HB_NUMBER :: Int-wxSTC_HB_NUMBER = 73--wxSTC_HB_WORD :: Int-wxSTC_HB_WORD = 74--wxSTC_HB_STRING :: Int-wxSTC_HB_STRING = 75--wxSTC_HB_IDENTIFIER :: Int-wxSTC_HB_IDENTIFIER = 76--wxSTC_HB_STRINGEOL :: Int-wxSTC_HB_STRINGEOL = 77--wxSTC_HBA_START :: Int-wxSTC_HBA_START = 80--wxSTC_HBA_DEFAULT :: Int-wxSTC_HBA_DEFAULT = 81--wxSTC_HBA_COMMENTLINE :: Int-wxSTC_HBA_COMMENTLINE = 82--wxSTC_HBA_NUMBER :: Int-wxSTC_HBA_NUMBER = 83--wxSTC_HBA_WORD :: Int-wxSTC_HBA_WORD = 84--wxSTC_HBA_STRING :: Int-wxSTC_HBA_STRING = 85--wxSTC_HBA_IDENTIFIER :: Int-wxSTC_HBA_IDENTIFIER = 86--wxSTC_HBA_STRINGEOL :: Int-wxSTC_HBA_STRINGEOL = 87--wxSTC_HP_START :: Int-wxSTC_HP_START = 90--wxSTC_HP_DEFAULT :: Int-wxSTC_HP_DEFAULT = 91--wxSTC_HP_COMMENTLINE :: Int-wxSTC_HP_COMMENTLINE = 92--wxSTC_HP_NUMBER :: Int-wxSTC_HP_NUMBER = 93--wxSTC_HP_STRING :: Int-wxSTC_HP_STRING = 94--wxSTC_HP_CHARACTER :: Int-wxSTC_HP_CHARACTER = 95--wxSTC_HP_WORD :: Int-wxSTC_HP_WORD = 96--wxSTC_HP_TRIPLE :: Int-wxSTC_HP_TRIPLE = 97--wxSTC_HP_TRIPLEDOUBLE :: Int-wxSTC_HP_TRIPLEDOUBLE = 98--wxSTC_HP_CLASSNAME :: Int-wxSTC_HP_CLASSNAME = 99--wxSTC_HP_DEFNAME :: Int-wxSTC_HP_DEFNAME = 100--wxSTC_HP_OPERATOR :: Int-wxSTC_HP_OPERATOR = 101--wxSTC_HP_IDENTIFIER :: Int-wxSTC_HP_IDENTIFIER = 102--wxSTC_HPA_START :: Int-wxSTC_HPA_START = 105--wxSTC_HPA_DEFAULT :: Int-wxSTC_HPA_DEFAULT = 106--wxSTC_HPA_COMMENTLINE :: Int-wxSTC_HPA_COMMENTLINE = 107--wxSTC_HPA_NUMBER :: Int-wxSTC_HPA_NUMBER = 108--wxSTC_HPA_STRING :: Int-wxSTC_HPA_STRING = 109--wxSTC_HPA_CHARACTER :: Int-wxSTC_HPA_CHARACTER = 110--wxSTC_HPA_WORD :: Int-wxSTC_HPA_WORD = 111--wxSTC_HPA_TRIPLE :: Int-wxSTC_HPA_TRIPLE = 112--wxSTC_HPA_TRIPLEDOUBLE :: Int-wxSTC_HPA_TRIPLEDOUBLE = 113--wxSTC_HPA_CLASSNAME :: Int-wxSTC_HPA_CLASSNAME = 114--wxSTC_HPA_DEFNAME :: Int-wxSTC_HPA_DEFNAME = 115--wxSTC_HPA_OPERATOR :: Int-wxSTC_HPA_OPERATOR = 116--wxSTC_HPA_IDENTIFIER :: Int-wxSTC_HPA_IDENTIFIER = 117--wxSTC_HPHP_DEFAULT :: Int-wxSTC_HPHP_DEFAULT = 118--wxSTC_HPHP_HSTRING :: Int-wxSTC_HPHP_HSTRING = 119--wxSTC_HPHP_SIMPLESTRING :: Int-wxSTC_HPHP_SIMPLESTRING = 120--wxSTC_HPHP_WORD :: Int-wxSTC_HPHP_WORD = 121--wxSTC_HPHP_NUMBER :: Int-wxSTC_HPHP_NUMBER = 122--wxSTC_HPHP_VARIABLE :: Int-wxSTC_HPHP_VARIABLE = 123--wxSTC_HPHP_COMMENT :: Int-wxSTC_HPHP_COMMENT = 124--wxSTC_HPHP_COMMENTLINE :: Int-wxSTC_HPHP_COMMENTLINE = 125--wxSTC_HPHP_HSTRING_VARIABLE :: Int-wxSTC_HPHP_HSTRING_VARIABLE = 126--wxSTC_HPHP_OPERATOR :: Int-wxSTC_HPHP_OPERATOR = 127--wxSTC_PL_DEFAULT :: Int-wxSTC_PL_DEFAULT = 0--wxSTC_PL_ERROR :: Int-wxSTC_PL_ERROR = 1--wxSTC_PL_COMMENTLINE :: Int-wxSTC_PL_COMMENTLINE = 2--wxSTC_PL_POD :: Int-wxSTC_PL_POD = 3--wxSTC_PL_NUMBER :: Int-wxSTC_PL_NUMBER = 4--wxSTC_PL_WORD :: Int-wxSTC_PL_WORD = 5--wxSTC_PL_STRING :: Int-wxSTC_PL_STRING = 6--wxSTC_PL_CHARACTER :: Int-wxSTC_PL_CHARACTER = 7--wxSTC_PL_PUNCTUATION :: Int-wxSTC_PL_PUNCTUATION = 8--wxSTC_PL_PREPROCESSOR :: Int-wxSTC_PL_PREPROCESSOR = 9--wxSTC_PL_OPERATOR :: Int-wxSTC_PL_OPERATOR = 10--wxSTC_PL_IDENTIFIER :: Int-wxSTC_PL_IDENTIFIER = 11--wxSTC_PL_SCALAR :: Int-wxSTC_PL_SCALAR = 12--wxSTC_PL_ARRAY :: Int-wxSTC_PL_ARRAY = 13--wxSTC_PL_HASH :: Int-wxSTC_PL_HASH = 14--wxSTC_PL_SYMBOLTABLE :: Int-wxSTC_PL_SYMBOLTABLE = 15--wxSTC_PL_REGEX :: Int-wxSTC_PL_REGEX = 17--wxSTC_PL_REGSUBST :: Int-wxSTC_PL_REGSUBST = 18--wxSTC_PL_LONGQUOTE :: Int-wxSTC_PL_LONGQUOTE = 19--wxSTC_PL_BACKTICKS :: Int-wxSTC_PL_BACKTICKS = 20--wxSTC_PL_DATASECTION :: Int-wxSTC_PL_DATASECTION = 21--wxSTC_PL_HERE_DELIM :: Int-wxSTC_PL_HERE_DELIM = 22--wxSTC_PL_HERE_Q :: Int-wxSTC_PL_HERE_Q = 23--wxSTC_PL_HERE_QQ :: Int-wxSTC_PL_HERE_QQ = 24--wxSTC_PL_HERE_QX :: Int-wxSTC_PL_HERE_QX = 25--wxSTC_PL_STRING_Q :: Int-wxSTC_PL_STRING_Q = 26--wxSTC_PL_STRING_QQ :: Int-wxSTC_PL_STRING_QQ = 27--wxSTC_PL_STRING_QX :: Int-wxSTC_PL_STRING_QX = 28--wxSTC_PL_STRING_QR :: Int-wxSTC_PL_STRING_QR = 29--wxSTC_PL_STRING_QW :: Int-wxSTC_PL_STRING_QW = 30--wxSTC_B_DEFAULT :: Int-wxSTC_B_DEFAULT = 0--wxSTC_B_COMMENT :: Int-wxSTC_B_COMMENT = 1--wxSTC_B_NUMBER :: Int-wxSTC_B_NUMBER = 2--wxSTC_B_KEYWORD :: Int-wxSTC_B_KEYWORD = 3--wxSTC_B_STRING :: Int-wxSTC_B_STRING = 4--wxSTC_B_PREPROCESSOR :: Int-wxSTC_B_PREPROCESSOR = 5--wxSTC_B_OPERATOR :: Int-wxSTC_B_OPERATOR = 6--wxSTC_B_IDENTIFIER :: Int-wxSTC_B_IDENTIFIER = 7--wxSTC_B_DATE :: Int-wxSTC_B_DATE = 8--wxSTC_PROPS_DEFAULT :: Int-wxSTC_PROPS_DEFAULT = 0--wxSTC_PROPS_COMMENT :: Int-wxSTC_PROPS_COMMENT = 1--wxSTC_PROPS_SECTION :: Int-wxSTC_PROPS_SECTION = 2--wxSTC_PROPS_ASSIGNMENT :: Int-wxSTC_PROPS_ASSIGNMENT = 3--wxSTC_PROPS_DEFVAL :: Int-wxSTC_PROPS_DEFVAL = 4--wxSTC_L_DEFAULT :: Int-wxSTC_L_DEFAULT = 0--wxSTC_L_COMMAND :: Int-wxSTC_L_COMMAND = 1--wxSTC_L_TAG :: Int-wxSTC_L_TAG = 2--wxSTC_L_MATH :: Int-wxSTC_L_MATH = 3--wxSTC_L_COMMENT :: Int-wxSTC_L_COMMENT = 4--wxSTC_LUA_DEFAULT :: Int-wxSTC_LUA_DEFAULT = 0--wxSTC_LUA_COMMENT :: Int-wxSTC_LUA_COMMENT = 1--wxSTC_LUA_COMMENTLINE :: Int-wxSTC_LUA_COMMENTLINE = 2--wxSTC_LUA_COMMENTDOC :: Int-wxSTC_LUA_COMMENTDOC = 3--wxSTC_LUA_NUMBER :: Int-wxSTC_LUA_NUMBER = 4--wxSTC_LUA_WORD :: Int-wxSTC_LUA_WORD = 5--wxSTC_LUA_STRING :: Int-wxSTC_LUA_STRING = 6--wxSTC_LUA_CHARACTER :: Int-wxSTC_LUA_CHARACTER = 7--wxSTC_LUA_LITERALSTRING :: Int-wxSTC_LUA_LITERALSTRING = 8--wxSTC_LUA_PREPROCESSOR :: Int-wxSTC_LUA_PREPROCESSOR = 9--wxSTC_LUA_OPERATOR :: Int-wxSTC_LUA_OPERATOR = 10--wxSTC_LUA_IDENTIFIER :: Int-wxSTC_LUA_IDENTIFIER = 11--wxSTC_LUA_STRINGEOL :: Int-wxSTC_LUA_STRINGEOL = 12--wxSTC_LUA_WORD2 :: Int-wxSTC_LUA_WORD2 = 13--wxSTC_LUA_WORD3 :: Int-wxSTC_LUA_WORD3 = 14--wxSTC_LUA_WORD4 :: Int-wxSTC_LUA_WORD4 = 15--wxSTC_LUA_WORD5 :: Int-wxSTC_LUA_WORD5 = 16--wxSTC_LUA_WORD6 :: Int-wxSTC_LUA_WORD6 = 17--wxSTC_LUA_WORD7 :: Int-wxSTC_LUA_WORD7 = 18--wxSTC_LUA_WORD8 :: Int-wxSTC_LUA_WORD8 = 19--wxSTC_ERR_DEFAULT :: Int-wxSTC_ERR_DEFAULT = 0--wxSTC_ERR_PYTHON :: Int-wxSTC_ERR_PYTHON = 1--wxSTC_ERR_GCC :: Int-wxSTC_ERR_GCC = 2--wxSTC_ERR_MS :: Int-wxSTC_ERR_MS = 3--wxSTC_ERR_CMD :: Int-wxSTC_ERR_CMD = 4--wxSTC_ERR_BORLAND :: Int-wxSTC_ERR_BORLAND = 5--wxSTC_ERR_PERL :: Int-wxSTC_ERR_PERL = 6--wxSTC_ERR_NET :: Int-wxSTC_ERR_NET = 7--wxSTC_ERR_LUA :: Int-wxSTC_ERR_LUA = 8--wxSTC_ERR_CTAG :: Int-wxSTC_ERR_CTAG = 9--wxSTC_ERR_DIFF_CHANGED :: Int-wxSTC_ERR_DIFF_CHANGED = 10--wxSTC_ERR_DIFF_ADDITION :: Int-wxSTC_ERR_DIFF_ADDITION = 11--wxSTC_ERR_DIFF_DELETION :: Int-wxSTC_ERR_DIFF_DELETION = 12--wxSTC_ERR_DIFF_MESSAGE :: Int-wxSTC_ERR_DIFF_MESSAGE = 13--wxSTC_ERR_PHP :: Int-wxSTC_ERR_PHP = 14--wxSTC_ERR_ELF :: Int-wxSTC_ERR_ELF = 15--wxSTC_ERR_IFC :: Int-wxSTC_ERR_IFC = 16--wxSTC_BAT_DEFAULT :: Int-wxSTC_BAT_DEFAULT = 0--wxSTC_BAT_COMMENT :: Int-wxSTC_BAT_COMMENT = 1--wxSTC_BAT_WORD :: Int-wxSTC_BAT_WORD = 2--wxSTC_BAT_LABEL :: Int-wxSTC_BAT_LABEL = 3--wxSTC_BAT_HIDE :: Int-wxSTC_BAT_HIDE = 4--wxSTC_BAT_COMMAND :: Int-wxSTC_BAT_COMMAND = 5--wxSTC_BAT_IDENTIFIER :: Int-wxSTC_BAT_IDENTIFIER = 6--wxSTC_BAT_OPERATOR :: Int-wxSTC_BAT_OPERATOR = 7--wxSTC_MAKE_DEFAULT :: Int-wxSTC_MAKE_DEFAULT = 0--wxSTC_MAKE_COMMENT :: Int-wxSTC_MAKE_COMMENT = 1--wxSTC_MAKE_PREPROCESSOR :: Int-wxSTC_MAKE_PREPROCESSOR = 2--wxSTC_MAKE_IDENTIFIER :: Int-wxSTC_MAKE_IDENTIFIER = 3--wxSTC_MAKE_OPERATOR :: Int-wxSTC_MAKE_OPERATOR = 4--wxSTC_MAKE_TARGET :: Int-wxSTC_MAKE_TARGET = 5--wxSTC_MAKE_IDEOL :: Int-wxSTC_MAKE_IDEOL = 9--wxSTC_DIFF_DEFAULT :: Int-wxSTC_DIFF_DEFAULT = 0--wxSTC_DIFF_COMMENT :: Int-wxSTC_DIFF_COMMENT = 1--wxSTC_DIFF_COMMAND :: Int-wxSTC_DIFF_COMMAND = 2--wxSTC_DIFF_HEADER :: Int-wxSTC_DIFF_HEADER = 3--wxSTC_DIFF_POSITION :: Int-wxSTC_DIFF_POSITION = 4--wxSTC_DIFF_DELETED :: Int-wxSTC_DIFF_DELETED = 5--wxSTC_DIFF_ADDED :: Int-wxSTC_DIFF_ADDED = 6--wxSTC_CONF_DEFAULT :: Int-wxSTC_CONF_DEFAULT = 0--wxSTC_CONF_COMMENT :: Int-wxSTC_CONF_COMMENT = 1--wxSTC_CONF_NUMBER :: Int-wxSTC_CONF_NUMBER = 2--wxSTC_CONF_IDENTIFIER :: Int-wxSTC_CONF_IDENTIFIER = 3--wxSTC_CONF_EXTENSION :: Int-wxSTC_CONF_EXTENSION = 4--wxSTC_CONF_PARAMETER :: Int-wxSTC_CONF_PARAMETER = 5--wxSTC_CONF_STRING :: Int-wxSTC_CONF_STRING = 6--wxSTC_CONF_OPERATOR :: Int-wxSTC_CONF_OPERATOR = 7--wxSTC_CONF_IP :: Int-wxSTC_CONF_IP = 8--wxSTC_CONF_DIRECTIVE :: Int-wxSTC_CONF_DIRECTIVE = 9--wxSTC_AVE_DEFAULT :: Int-wxSTC_AVE_DEFAULT = 0--wxSTC_AVE_COMMENT :: Int-wxSTC_AVE_COMMENT = 1--wxSTC_AVE_NUMBER :: Int-wxSTC_AVE_NUMBER = 2--wxSTC_AVE_WORD :: Int-wxSTC_AVE_WORD = 3--wxSTC_AVE_STRING :: Int-wxSTC_AVE_STRING = 6--wxSTC_AVE_ENUM :: Int-wxSTC_AVE_ENUM = 7--wxSTC_AVE_STRINGEOL :: Int-wxSTC_AVE_STRINGEOL = 8--wxSTC_AVE_IDENTIFIER :: Int-wxSTC_AVE_IDENTIFIER = 9--wxSTC_AVE_OPERATOR :: Int-wxSTC_AVE_OPERATOR = 10--wxSTC_AVE_WORD1 :: Int-wxSTC_AVE_WORD1 = 11--wxSTC_AVE_WORD2 :: Int-wxSTC_AVE_WORD2 = 12--wxSTC_AVE_WORD3 :: Int-wxSTC_AVE_WORD3 = 13--wxSTC_AVE_WORD4 :: Int-wxSTC_AVE_WORD4 = 14--wxSTC_AVE_WORD5 :: Int-wxSTC_AVE_WORD5 = 15--wxSTC_AVE_WORD6 :: Int-wxSTC_AVE_WORD6 = 16--wxSTC_ADA_DEFAULT :: Int-wxSTC_ADA_DEFAULT = 0--wxSTC_ADA_WORD :: Int-wxSTC_ADA_WORD = 1--wxSTC_ADA_IDENTIFIER :: Int-wxSTC_ADA_IDENTIFIER = 2--wxSTC_ADA_NUMBER :: Int-wxSTC_ADA_NUMBER = 3--wxSTC_ADA_DELIMITER :: Int-wxSTC_ADA_DELIMITER = 4--wxSTC_ADA_CHARACTER :: Int-wxSTC_ADA_CHARACTER = 5--wxSTC_ADA_CHARACTEREOL :: Int-wxSTC_ADA_CHARACTEREOL = 6--wxSTC_ADA_STRING :: Int-wxSTC_ADA_STRING = 7--wxSTC_ADA_STRINGEOL :: Int-wxSTC_ADA_STRINGEOL = 8--wxSTC_ADA_LABEL :: Int-wxSTC_ADA_LABEL = 9--wxSTC_ADA_COMMENTLINE :: Int-wxSTC_ADA_COMMENTLINE = 10--wxSTC_ADA_ILLEGAL :: Int-wxSTC_ADA_ILLEGAL = 11--wxSTC_BAAN_DEFAULT :: Int-wxSTC_BAAN_DEFAULT = 0--wxSTC_BAAN_COMMENT :: Int-wxSTC_BAAN_COMMENT = 1--wxSTC_BAAN_COMMENTDOC :: Int-wxSTC_BAAN_COMMENTDOC = 2--wxSTC_BAAN_NUMBER :: Int-wxSTC_BAAN_NUMBER = 3--wxSTC_BAAN_WORD :: Int-wxSTC_BAAN_WORD = 4--wxSTC_BAAN_STRING :: Int-wxSTC_BAAN_STRING = 5--wxSTC_BAAN_PREPROCESSOR :: Int-wxSTC_BAAN_PREPROCESSOR = 6--wxSTC_BAAN_OPERATOR :: Int-wxSTC_BAAN_OPERATOR = 7--wxSTC_BAAN_IDENTIFIER :: Int-wxSTC_BAAN_IDENTIFIER = 8--wxSTC_BAAN_STRINGEOL :: Int-wxSTC_BAAN_STRINGEOL = 9--wxSTC_BAAN_WORD2 :: Int-wxSTC_BAAN_WORD2 = 10--wxSTC_LISP_DEFAULT :: Int-wxSTC_LISP_DEFAULT = 0--wxSTC_LISP_COMMENT :: Int-wxSTC_LISP_COMMENT = 1--wxSTC_LISP_NUMBER :: Int-wxSTC_LISP_NUMBER = 2--wxSTC_LISP_KEYWORD :: Int-wxSTC_LISP_KEYWORD = 3--wxSTC_LISP_STRING :: Int-wxSTC_LISP_STRING = 6--wxSTC_LISP_STRINGEOL :: Int-wxSTC_LISP_STRINGEOL = 8--wxSTC_LISP_IDENTIFIER :: Int-wxSTC_LISP_IDENTIFIER = 9--wxSTC_LISP_OPERATOR :: Int-wxSTC_LISP_OPERATOR = 10--wxSTC_EIFFEL_DEFAULT :: Int-wxSTC_EIFFEL_DEFAULT = 0--wxSTC_EIFFEL_COMMENTLINE :: Int-wxSTC_EIFFEL_COMMENTLINE = 1--wxSTC_EIFFEL_NUMBER :: Int-wxSTC_EIFFEL_NUMBER = 2--wxSTC_EIFFEL_WORD :: Int-wxSTC_EIFFEL_WORD = 3--wxSTC_EIFFEL_STRING :: Int-wxSTC_EIFFEL_STRING = 4--wxSTC_EIFFEL_CHARACTER :: Int-wxSTC_EIFFEL_CHARACTER = 5--wxSTC_EIFFEL_OPERATOR :: Int-wxSTC_EIFFEL_OPERATOR = 6--wxSTC_EIFFEL_IDENTIFIER :: Int-wxSTC_EIFFEL_IDENTIFIER = 7--wxSTC_EIFFEL_STRINGEOL :: Int-wxSTC_EIFFEL_STRINGEOL = 8--wxSTC_NNCRONTAB_DEFAULT :: Int-wxSTC_NNCRONTAB_DEFAULT = 0--wxSTC_NNCRONTAB_COMMENT :: Int-wxSTC_NNCRONTAB_COMMENT = 1--wxSTC_NNCRONTAB_TASK :: Int-wxSTC_NNCRONTAB_TASK = 2--wxSTC_NNCRONTAB_SECTION :: Int-wxSTC_NNCRONTAB_SECTION = 3--wxSTC_NNCRONTAB_KEYWORD :: Int-wxSTC_NNCRONTAB_KEYWORD = 4--wxSTC_NNCRONTAB_MODIFIER :: Int-wxSTC_NNCRONTAB_MODIFIER = 5--wxSTC_NNCRONTAB_ASTERISK :: Int-wxSTC_NNCRONTAB_ASTERISK = 6--wxSTC_NNCRONTAB_NUMBER :: Int-wxSTC_NNCRONTAB_NUMBER = 7--wxSTC_NNCRONTAB_STRING :: Int-wxSTC_NNCRONTAB_STRING = 8--wxSTC_NNCRONTAB_ENVIRONMENT :: Int-wxSTC_NNCRONTAB_ENVIRONMENT = 9--wxSTC_NNCRONTAB_IDENTIFIER :: Int-wxSTC_NNCRONTAB_IDENTIFIER = 10--wxSTC_MATLAB_DEFAULT :: Int-wxSTC_MATLAB_DEFAULT = 0--wxSTC_MATLAB_COMMENT :: Int-wxSTC_MATLAB_COMMENT = 1--wxSTC_MATLAB_COMMAND :: Int-wxSTC_MATLAB_COMMAND = 2--wxSTC_MATLAB_NUMBER :: Int-wxSTC_MATLAB_NUMBER = 3--wxSTC_MATLAB_KEYWORD :: Int-wxSTC_MATLAB_KEYWORD = 4--wxSTC_MATLAB_STRING :: Int-wxSTC_MATLAB_STRING = 5--wxSTC_MATLAB_OPERATOR :: Int-wxSTC_MATLAB_OPERATOR = 6--wxSTC_MATLAB_IDENTIFIER :: Int-wxSTC_MATLAB_IDENTIFIER = 7--wxSTC_SCRIPTOL_DEFAULT :: Int-wxSTC_SCRIPTOL_DEFAULT = 0--wxSTC_SCRIPTOL_COMMENT :: Int-wxSTC_SCRIPTOL_COMMENT = 1--wxSTC_SCRIPTOL_COMMENTLINE :: Int-wxSTC_SCRIPTOL_COMMENTLINE = 2--wxSTC_SCRIPTOL_COMMENTDOC :: Int-wxSTC_SCRIPTOL_COMMENTDOC = 3--wxSTC_SCRIPTOL_NUMBER :: Int-wxSTC_SCRIPTOL_NUMBER = 4--wxSTC_SCRIPTOL_WORD :: Int-wxSTC_SCRIPTOL_WORD = 5--wxSTC_SCRIPTOL_STRING :: Int-wxSTC_SCRIPTOL_STRING = 6--wxSTC_SCRIPTOL_CHARACTER :: Int-wxSTC_SCRIPTOL_CHARACTER = 7--wxSTC_SCRIPTOL_UUID :: Int-wxSTC_SCRIPTOL_UUID = 8--wxSTC_SCRIPTOL_PREPROCESSOR :: Int-wxSTC_SCRIPTOL_PREPROCESSOR = 9--wxSTC_SCRIPTOL_OPERATOR :: Int-wxSTC_SCRIPTOL_OPERATOR = 10--wxSTC_SCRIPTOL_IDENTIFIER :: Int-wxSTC_SCRIPTOL_IDENTIFIER = 11--wxSTC_SCRIPTOL_STRINGEOL :: Int-wxSTC_SCRIPTOL_STRINGEOL = 12--wxSTC_SCRIPTOL_VERBATIM :: Int-wxSTC_SCRIPTOL_VERBATIM = 13--wxSTC_SCRIPTOL_REGEX :: Int-wxSTC_SCRIPTOL_REGEX = 14--wxSTC_SCRIPTOL_COMMENTLINEDOC :: Int-wxSTC_SCRIPTOL_COMMENTLINEDOC = 15--wxSTC_SCRIPTOL_WORD2 :: Int-wxSTC_SCRIPTOL_WORD2 = 16--wxSTC_SCRIPTOL_COMMENTDOCKEYWORD :: Int-wxSTC_SCRIPTOL_COMMENTDOCKEYWORD = 17--wxSTC_SCRIPTOL_COMMENTDOCKEYWORDERROR :: Int-wxSTC_SCRIPTOL_COMMENTDOCKEYWORDERROR = 18--wxSTC_SCRIPTOL_COMMENTBASIC :: Int-wxSTC_SCRIPTOL_COMMENTBASIC = 19--wxSTC_ASM_DEFAULT :: Int-wxSTC_ASM_DEFAULT = 0--wxSTC_ASM_COMMENT :: Int-wxSTC_ASM_COMMENT = 1--wxSTC_ASM_NUMBER :: Int-wxSTC_ASM_NUMBER = 2--wxSTC_ASM_STRING :: Int-wxSTC_ASM_STRING = 3--wxSTC_ASM_OPERATOR :: Int-wxSTC_ASM_OPERATOR = 4--wxSTC_ASM_IDENTIFIER :: Int-wxSTC_ASM_IDENTIFIER = 5--wxSTC_ASM_CPUINSTRUCTION :: Int-wxSTC_ASM_CPUINSTRUCTION = 6--wxSTC_ASM_MATHINSTRUCTION :: Int-wxSTC_ASM_MATHINSTRUCTION = 7--wxSTC_ASM_REGISTER :: Int-wxSTC_ASM_REGISTER = 8--wxSTC_ASM_DIRECTIVE :: Int-wxSTC_ASM_DIRECTIVE = 9--wxSTC_ASM_DIRECTIVEOPERAND :: Int-wxSTC_ASM_DIRECTIVEOPERAND = 10--wxSTC_F_DEFAULT :: Int-wxSTC_F_DEFAULT = 0--wxSTC_F_COMMENT :: Int-wxSTC_F_COMMENT = 1--wxSTC_F_NUMBER :: Int-wxSTC_F_NUMBER = 2--wxSTC_F_STRING1 :: Int-wxSTC_F_STRING1 = 3--wxSTC_F_STRING2 :: Int-wxSTC_F_STRING2 = 4--wxSTC_F_STRINGEOL :: Int-wxSTC_F_STRINGEOL = 5--wxSTC_F_OPERATOR :: Int-wxSTC_F_OPERATOR = 6--wxSTC_F_IDENTIFIER :: Int-wxSTC_F_IDENTIFIER = 7--wxSTC_F_WORD :: Int-wxSTC_F_WORD = 8--wxSTC_F_WORD2 :: Int-wxSTC_F_WORD2 = 9--wxSTC_F_WORD3 :: Int-wxSTC_F_WORD3 = 10--wxSTC_F_PREPROCESSOR :: Int-wxSTC_F_PREPROCESSOR = 11--wxSTC_F_OPERATOR2 :: Int-wxSTC_F_OPERATOR2 = 12--wxSTC_F_LABEL :: Int-wxSTC_F_LABEL = 13--wxSTC_F_CONTINUATION :: Int-wxSTC_F_CONTINUATION = 14--wxSTC_CSS_DEFAULT :: Int-wxSTC_CSS_DEFAULT = 0--wxSTC_CSS_TAG :: Int-wxSTC_CSS_TAG = 1--wxSTC_CSS_CLASS :: Int-wxSTC_CSS_CLASS = 2--wxSTC_CSS_PSEUDOCLASS :: Int-wxSTC_CSS_PSEUDOCLASS = 3--wxSTC_CSS_UNKNOWN_PSEUDOCLASS :: Int-wxSTC_CSS_UNKNOWN_PSEUDOCLASS = 4--wxSTC_CSS_OPERATOR :: Int-wxSTC_CSS_OPERATOR = 5--wxSTC_CSS_IDENTIFIER :: Int-wxSTC_CSS_IDENTIFIER = 6--wxSTC_CSS_UNKNOWN_IDENTIFIER :: Int-wxSTC_CSS_UNKNOWN_IDENTIFIER = 7--wxSTC_CSS_VALUE :: Int-wxSTC_CSS_VALUE = 8--wxSTC_CSS_COMMENT :: Int-wxSTC_CSS_COMMENT = 9--wxSTC_CSS_ID :: Int-wxSTC_CSS_ID = 10--wxSTC_CSS_IMPORTANT :: Int-wxSTC_CSS_IMPORTANT = 11--wxSTC_CSS_DIRECTIVE :: Int-wxSTC_CSS_DIRECTIVE = 12--wxSTC_CSS_DOUBLESTRING :: Int-wxSTC_CSS_DOUBLESTRING = 13--wxSTC_CSS_SINGLESTRING :: Int-wxSTC_CSS_SINGLESTRING = 14--wxSTC_POV_DEFAULT :: Int-wxSTC_POV_DEFAULT = 0--wxSTC_POV_COMMENT :: Int-wxSTC_POV_COMMENT = 1--wxSTC_POV_COMMENTLINE :: Int-wxSTC_POV_COMMENTLINE = 2--wxSTC_POV_NUMBER :: Int-wxSTC_POV_NUMBER = 3--wxSTC_POV_OPERATOR :: Int-wxSTC_POV_OPERATOR = 4--wxSTC_POV_IDENTIFIER :: Int-wxSTC_POV_IDENTIFIER = 5--wxSTC_POV_STRING :: Int-wxSTC_POV_STRING = 6--wxSTC_POV_STRINGEOL :: Int-wxSTC_POV_STRINGEOL = 7--wxSTC_POV_DIRECTIVE :: Int-wxSTC_POV_DIRECTIVE = 8--wxSTC_POV_BADDIRECTIVE :: Int-wxSTC_POV_BADDIRECTIVE = 9--wxSTC_POV_WORD2 :: Int-wxSTC_POV_WORD2 = 10--wxSTC_POV_WORD3 :: Int-wxSTC_POV_WORD3 = 11--wxSTC_POV_WORD4 :: Int-wxSTC_POV_WORD4 = 12--wxSTC_POV_WORD5 :: Int-wxSTC_POV_WORD5 = 13--wxSTC_POV_WORD6 :: Int-wxSTC_POV_WORD6 = 14--wxSTC_POV_WORD7 :: Int-wxSTC_POV_WORD7 = 15--wxSTC_POV_WORD8 :: Int-wxSTC_POV_WORD8 = 16--wxSTC_LOUT_DEFAULT :: Int-wxSTC_LOUT_DEFAULT = 0--wxSTC_LOUT_COMMENT :: Int-wxSTC_LOUT_COMMENT = 1--wxSTC_LOUT_NUMBER :: Int-wxSTC_LOUT_NUMBER = 2--wxSTC_LOUT_WORD :: Int-wxSTC_LOUT_WORD = 3--wxSTC_LOUT_WORD2 :: Int-wxSTC_LOUT_WORD2 = 4--wxSTC_LOUT_WORD3 :: Int-wxSTC_LOUT_WORD3 = 5--wxSTC_LOUT_WORD4 :: Int-wxSTC_LOUT_WORD4 = 6--wxSTC_LOUT_STRING :: Int-wxSTC_LOUT_STRING = 7--wxSTC_LOUT_OPERATOR :: Int-wxSTC_LOUT_OPERATOR = 8--wxSTC_LOUT_IDENTIFIER :: Int-wxSTC_LOUT_IDENTIFIER = 9--wxSTC_LOUT_STRINGEOL :: Int-wxSTC_LOUT_STRINGEOL = 10--wxSTC_ESCRIPT_DEFAULT :: Int-wxSTC_ESCRIPT_DEFAULT = 0--wxSTC_ESCRIPT_COMMENT :: Int-wxSTC_ESCRIPT_COMMENT = 1--wxSTC_ESCRIPT_COMMENTLINE :: Int-wxSTC_ESCRIPT_COMMENTLINE = 2--wxSTC_ESCRIPT_COMMENTDOC :: Int-wxSTC_ESCRIPT_COMMENTDOC = 3--wxSTC_ESCRIPT_NUMBER :: Int-wxSTC_ESCRIPT_NUMBER = 4--wxSTC_ESCRIPT_WORD :: Int-wxSTC_ESCRIPT_WORD = 5--wxSTC_ESCRIPT_STRING :: Int-wxSTC_ESCRIPT_STRING = 6--wxSTC_ESCRIPT_OPERATOR :: Int-wxSTC_ESCRIPT_OPERATOR = 7--wxSTC_ESCRIPT_IDENTIFIER :: Int-wxSTC_ESCRIPT_IDENTIFIER = 8--wxSTC_ESCRIPT_BRACE :: Int-wxSTC_ESCRIPT_BRACE = 9--wxSTC_ESCRIPT_WORD2 :: Int-wxSTC_ESCRIPT_WORD2 = 10--wxSTC_ESCRIPT_WORD3 :: Int-wxSTC_ESCRIPT_WORD3 = 11--wxSTC_PS_DEFAULT :: Int-wxSTC_PS_DEFAULT = 0--wxSTC_PS_COMMENT :: Int-wxSTC_PS_COMMENT = 1--wxSTC_PS_DSC_COMMENT :: Int-wxSTC_PS_DSC_COMMENT = 2--wxSTC_PS_DSC_VALUE :: Int-wxSTC_PS_DSC_VALUE = 3--wxSTC_PS_NUMBER :: Int-wxSTC_PS_NUMBER = 4--wxSTC_PS_NAME :: Int-wxSTC_PS_NAME = 5--wxSTC_PS_KEYWORD :: Int-wxSTC_PS_KEYWORD = 6--wxSTC_PS_LITERAL :: Int-wxSTC_PS_LITERAL = 7--wxSTC_PS_IMMEVAL :: Int-wxSTC_PS_IMMEVAL = 8--wxSTC_PS_PAREN_ARRAY :: Int-wxSTC_PS_PAREN_ARRAY = 9--wxSTC_PS_PAREN_DICT :: Int-wxSTC_PS_PAREN_DICT = 10--wxSTC_PS_PAREN_PROC :: Int-wxSTC_PS_PAREN_PROC = 11--wxSTC_PS_TEXT :: Int-wxSTC_PS_TEXT = 12--wxSTC_PS_HEXSTRING :: Int-wxSTC_PS_HEXSTRING = 13--wxSTC_PS_BASE85STRING :: Int-wxSTC_PS_BASE85STRING = 14--wxSTC_PS_BADSTRINGCHAR :: Int-wxSTC_PS_BADSTRINGCHAR = 15--wxSTC_NSIS_DEFAULT :: Int-wxSTC_NSIS_DEFAULT = 0--wxSTC_NSIS_COMMENT :: Int-wxSTC_NSIS_COMMENT = 1--wxSTC_NSIS_STRINGDQ :: Int-wxSTC_NSIS_STRINGDQ = 2--wxSTC_NSIS_STRINGLQ :: Int-wxSTC_NSIS_STRINGLQ = 3--wxSTC_NSIS_STRINGRQ :: Int-wxSTC_NSIS_STRINGRQ = 4--wxSTC_NSIS_FUNCTION :: Int-wxSTC_NSIS_FUNCTION = 5--wxSTC_NSIS_VARIABLE :: Int-wxSTC_NSIS_VARIABLE = 6--wxSTC_NSIS_LABEL :: Int-wxSTC_NSIS_LABEL = 7--wxSTC_NSIS_USERDEFINED :: Int-wxSTC_NSIS_USERDEFINED = 8--wxSTC_NSIS_SECTIONDEF :: Int-wxSTC_NSIS_SECTIONDEF = 9--wxSTC_NSIS_SUBSECTIONDEF :: Int-wxSTC_NSIS_SUBSECTIONDEF = 10--wxSTC_NSIS_IFDEFINEDEF :: Int-wxSTC_NSIS_IFDEFINEDEF = 11--wxSTC_NSIS_MACRODEF :: Int-wxSTC_NSIS_MACRODEF = 12--wxSTC_NSIS_STRINGVAR :: Int-wxSTC_NSIS_STRINGVAR = 13--wxSTC_MMIXAL_LEADWS :: Int-wxSTC_MMIXAL_LEADWS = 0--wxSTC_MMIXAL_COMMENT :: Int-wxSTC_MMIXAL_COMMENT = 1--wxSTC_MMIXAL_LABEL :: Int-wxSTC_MMIXAL_LABEL = 2--wxSTC_MMIXAL_OPCODE :: Int-wxSTC_MMIXAL_OPCODE = 3--wxSTC_MMIXAL_OPCODE_PRE :: Int-wxSTC_MMIXAL_OPCODE_PRE = 4--wxSTC_MMIXAL_OPCODE_VALID :: Int-wxSTC_MMIXAL_OPCODE_VALID = 5--wxSTC_MMIXAL_OPCODE_UNKNOWN :: Int-wxSTC_MMIXAL_OPCODE_UNKNOWN = 6--wxSTC_MMIXAL_OPCODE_POST :: Int-wxSTC_MMIXAL_OPCODE_POST = 7--wxSTC_MMIXAL_OPERANDS :: Int-wxSTC_MMIXAL_OPERANDS = 8--wxSTC_MMIXAL_NUMBER :: Int-wxSTC_MMIXAL_NUMBER = 9--wxSTC_MMIXAL_REF :: Int-wxSTC_MMIXAL_REF = 10--wxSTC_MMIXAL_CHAR :: Int-wxSTC_MMIXAL_CHAR = 11--wxSTC_MMIXAL_STRING :: Int-wxSTC_MMIXAL_STRING = 12--wxSTC_MMIXAL_REGISTER :: Int-wxSTC_MMIXAL_REGISTER = 13--wxSTC_MMIXAL_HEX :: Int-wxSTC_MMIXAL_HEX = 14--wxSTC_MMIXAL_OPERATOR :: Int-wxSTC_MMIXAL_OPERATOR = 15--wxSTC_MMIXAL_SYMBOL :: Int-wxSTC_MMIXAL_SYMBOL = 16--wxSTC_MMIXAL_INCLUDE :: Int-wxSTC_MMIXAL_INCLUDE = 17--wxSTC_CLW_DEFAULT :: Int-wxSTC_CLW_DEFAULT = 0--wxSTC_CLW_LABEL :: Int-wxSTC_CLW_LABEL = 1--wxSTC_CLW_COMMENT :: Int-wxSTC_CLW_COMMENT = 2--wxSTC_CLW_STRING :: Int-wxSTC_CLW_STRING = 3--wxSTC_CLW_USER_IDENTIFIER :: Int-wxSTC_CLW_USER_IDENTIFIER = 4--wxSTC_CLW_INTEGER_CONSTANT :: Int-wxSTC_CLW_INTEGER_CONSTANT = 5--wxSTC_CLW_REAL_CONSTANT :: Int-wxSTC_CLW_REAL_CONSTANT = 6--wxSTC_CLW_PICTURE_STRING :: Int-wxSTC_CLW_PICTURE_STRING = 7--wxSTC_CLW_KEYWORD :: Int-wxSTC_CLW_KEYWORD = 8--wxSTC_CLW_COMPILER_DIRECTIVE :: Int-wxSTC_CLW_COMPILER_DIRECTIVE = 9--wxSTC_CLW_RUNTIME_EXPRESSIONS :: Int-wxSTC_CLW_RUNTIME_EXPRESSIONS = 10--wxSTC_CLW_BUILTIN_PROCEDURES_FUNCTION :: Int-wxSTC_CLW_BUILTIN_PROCEDURES_FUNCTION = 11--wxSTC_CLW_STRUCTURE_DATA_TYPE :: Int-wxSTC_CLW_STRUCTURE_DATA_TYPE = 12--wxSTC_CLW_ATTRIBUTE :: Int-wxSTC_CLW_ATTRIBUTE = 13--wxSTC_CLW_STANDARD_EQUATE :: Int-wxSTC_CLW_STANDARD_EQUATE = 14--wxSTC_CLW_ERROR :: Int-wxSTC_CLW_ERROR = 15--wxSTC_CLW_DEPRECATED :: Int-wxSTC_CLW_DEPRECATED = 16--wxSTC_LOT_DEFAULT :: Int-wxSTC_LOT_DEFAULT = 0--wxSTC_LOT_HEADER :: Int-wxSTC_LOT_HEADER = 1--wxSTC_LOT_BREAK :: Int-wxSTC_LOT_BREAK = 2--wxSTC_LOT_SET :: Int-wxSTC_LOT_SET = 3--wxSTC_LOT_PASS :: Int-wxSTC_LOT_PASS = 4--wxSTC_LOT_FAIL :: Int-wxSTC_LOT_FAIL = 5--wxSTC_LOT_ABORT :: Int-wxSTC_LOT_ABORT = 6--wxSTC_YAML_DEFAULT :: Int-wxSTC_YAML_DEFAULT = 0--wxSTC_YAML_COMMENT :: Int-wxSTC_YAML_COMMENT = 1--wxSTC_YAML_IDENTIFIER :: Int-wxSTC_YAML_IDENTIFIER = 2--wxSTC_YAML_KEYWORD :: Int-wxSTC_YAML_KEYWORD = 3--wxSTC_YAML_NUMBER :: Int-wxSTC_YAML_NUMBER = 4--wxSTC_YAML_REFERENCE :: Int-wxSTC_YAML_REFERENCE = 5--wxSTC_YAML_DOCUMENT :: Int-wxSTC_YAML_DOCUMENT = 6--wxSTC_YAML_TEXT :: Int-wxSTC_YAML_TEXT = 7--wxSTC_YAML_ERROR :: Int-wxSTC_YAML_ERROR = 8--wxSTC_TEX_DEFAULT :: Int-wxSTC_TEX_DEFAULT = 0--wxSTC_TEX_SPECIAL :: Int-wxSTC_TEX_SPECIAL = 1--wxSTC_TEX_GROUP :: Int-wxSTC_TEX_GROUP = 2--wxSTC_TEX_SYMBOL :: Int-wxSTC_TEX_SYMBOL = 3--wxSTC_TEX_COMMAND :: Int-wxSTC_TEX_COMMAND = 4--wxSTC_TEX_TEXT :: Int-wxSTC_TEX_TEXT = 5--wxSTC_METAPOST_DEFAULT :: Int-wxSTC_METAPOST_DEFAULT = 0--wxSTC_METAPOST_SPECIAL :: Int-wxSTC_METAPOST_SPECIAL = 1--wxSTC_METAPOST_GROUP :: Int-wxSTC_METAPOST_GROUP = 2--wxSTC_METAPOST_SYMBOL :: Int-wxSTC_METAPOST_SYMBOL = 3--wxSTC_METAPOST_COMMAND :: Int-wxSTC_METAPOST_COMMAND = 4--wxSTC_METAPOST_TEXT :: Int-wxSTC_METAPOST_TEXT = 5--wxSTC_METAPOST_EXTRA :: Int-wxSTC_METAPOST_EXTRA = 6--wxSTC_ERLANG_DEFAULT :: Int-wxSTC_ERLANG_DEFAULT = 0--wxSTC_ERLANG_COMMENT :: Int-wxSTC_ERLANG_COMMENT = 1--wxSTC_ERLANG_VARIABLE :: Int-wxSTC_ERLANG_VARIABLE = 2--wxSTC_ERLANG_NUMBER :: Int-wxSTC_ERLANG_NUMBER = 3--wxSTC_ERLANG_KEYWORD :: Int-wxSTC_ERLANG_KEYWORD = 4--wxSTC_ERLANG_STRING :: Int-wxSTC_ERLANG_STRING = 5--wxSTC_ERLANG_OPERATOR :: Int-wxSTC_ERLANG_OPERATOR = 6--wxSTC_ERLANG_ATOM :: Int-wxSTC_ERLANG_ATOM = 7--wxSTC_ERLANG_FUNCTION_NAME :: Int-wxSTC_ERLANG_FUNCTION_NAME = 8--wxSTC_ERLANG_CHARACTER :: Int-wxSTC_ERLANG_CHARACTER = 9--wxSTC_ERLANG_MACRO :: Int-wxSTC_ERLANG_MACRO = 10--wxSTC_ERLANG_RECORD :: Int-wxSTC_ERLANG_RECORD = 11--wxSTC_ERLANG_SEPARATOR :: Int-wxSTC_ERLANG_SEPARATOR = 12--wxSTC_ERLANG_NODE_NAME :: Int-wxSTC_ERLANG_NODE_NAME = 13--wxSTC_ERLANG_UNKNOWN :: Int-wxSTC_ERLANG_UNKNOWN = 31--wxSTC_MSSQL_DEFAULT :: Int-wxSTC_MSSQL_DEFAULT = 0--wxSTC_MSSQL_COMMENT :: Int-wxSTC_MSSQL_COMMENT = 1--wxSTC_MSSQL_LINE_COMMENT :: Int-wxSTC_MSSQL_LINE_COMMENT = 2--wxSTC_MSSQL_NUMBER :: Int-wxSTC_MSSQL_NUMBER = 3--wxSTC_MSSQL_STRING :: Int-wxSTC_MSSQL_STRING = 4--wxSTC_MSSQL_OPERATOR :: Int-wxSTC_MSSQL_OPERATOR = 5--wxSTC_MSSQL_IDENTIFIER :: Int-wxSTC_MSSQL_IDENTIFIER = 6--wxSTC_MSSQL_VARIABLE :: Int-wxSTC_MSSQL_VARIABLE = 7--wxSTC_MSSQL_COLUMN_NAME :: Int-wxSTC_MSSQL_COLUMN_NAME = 8--wxSTC_MSSQL_STATEMENT :: Int-wxSTC_MSSQL_STATEMENT = 9--wxSTC_MSSQL_DATATYPE :: Int-wxSTC_MSSQL_DATATYPE = 10--wxSTC_MSSQL_SYSTABLE :: Int-wxSTC_MSSQL_SYSTABLE = 11--wxSTC_MSSQL_GLOBAL_VARIABLE :: Int-wxSTC_MSSQL_GLOBAL_VARIABLE = 12--wxSTC_MSSQL_FUNCTION :: Int-wxSTC_MSSQL_FUNCTION = 13--wxSTC_MSSQL_STORED_PROCEDURE :: Int-wxSTC_MSSQL_STORED_PROCEDURE = 14--wxSTC_MSSQL_DEFAULT_PREF_DATATYPE :: Int-wxSTC_MSSQL_DEFAULT_PREF_DATATYPE = 15--wxSTC_MSSQL_COLUMN_NAME_2 :: Int-wxSTC_MSSQL_COLUMN_NAME_2 = 16--wxSTC_V_DEFAULT :: Int-wxSTC_V_DEFAULT = 0--wxSTC_V_COMMENT :: Int-wxSTC_V_COMMENT = 1--wxSTC_V_COMMENTLINE :: Int-wxSTC_V_COMMENTLINE = 2--wxSTC_V_COMMENTLINEBANG :: Int-wxSTC_V_COMMENTLINEBANG = 3--wxSTC_V_NUMBER :: Int-wxSTC_V_NUMBER = 4--wxSTC_V_WORD :: Int-wxSTC_V_WORD = 5--wxSTC_V_STRING :: Int-wxSTC_V_STRING = 6--wxSTC_V_WORD2 :: Int-wxSTC_V_WORD2 = 7--wxSTC_V_WORD3 :: Int-wxSTC_V_WORD3 = 8--wxSTC_V_PREPROCESSOR :: Int-wxSTC_V_PREPROCESSOR = 9--wxSTC_V_OPERATOR :: Int-wxSTC_V_OPERATOR = 10--wxSTC_V_IDENTIFIER :: Int-wxSTC_V_IDENTIFIER = 11--wxSTC_V_STRINGEOL :: Int-wxSTC_V_STRINGEOL = 12--wxSTC_V_USER :: Int-wxSTC_V_USER = 19--wxSTC_KIX_DEFAULT :: Int-wxSTC_KIX_DEFAULT = 0--wxSTC_KIX_COMMENT :: Int-wxSTC_KIX_COMMENT = 1--wxSTC_KIX_STRING1 :: Int-wxSTC_KIX_STRING1 = 2--wxSTC_KIX_STRING2 :: Int-wxSTC_KIX_STRING2 = 3--wxSTC_KIX_NUMBER :: Int-wxSTC_KIX_NUMBER = 4--wxSTC_KIX_VAR :: Int-wxSTC_KIX_VAR = 5--wxSTC_KIX_MACRO :: Int-wxSTC_KIX_MACRO = 6--wxSTC_KIX_KEYWORD :: Int-wxSTC_KIX_KEYWORD = 7--wxSTC_KIX_FUNCTIONS :: Int-wxSTC_KIX_FUNCTIONS = 8--wxSTC_KIX_OPERATOR :: Int-wxSTC_KIX_OPERATOR = 9--wxSTC_KIX_IDENTIFIER :: Int-wxSTC_KIX_IDENTIFIER = 31--wxSTC_GC_DEFAULT :: Int-wxSTC_GC_DEFAULT = 0--wxSTC_GC_COMMENTLINE :: Int-wxSTC_GC_COMMENTLINE = 1--wxSTC_GC_COMMENTBLOCK :: Int-wxSTC_GC_COMMENTBLOCK = 2--wxSTC_GC_GLOBAL :: Int-wxSTC_GC_GLOBAL = 3--wxSTC_GC_EVENT :: Int-wxSTC_GC_EVENT = 4--wxSTC_GC_ATTRIBUTE :: Int-wxSTC_GC_ATTRIBUTE = 5--wxSTC_GC_CONTROL :: Int-wxSTC_GC_CONTROL = 6--wxSTC_GC_COMMAND :: Int-wxSTC_GC_COMMAND = 7--wxSTC_GC_STRING :: Int-wxSTC_GC_STRING = 8--wxSTC_GC_OPERATOR :: Int-wxSTC_GC_OPERATOR = 9--wxSTC_SN_DEFAULT :: Int-wxSTC_SN_DEFAULT = 0--wxSTC_SN_CODE :: Int-wxSTC_SN_CODE = 1--wxSTC_SN_COMMENTLINE :: Int-wxSTC_SN_COMMENTLINE = 2--wxSTC_SN_COMMENTLINEBANG :: Int-wxSTC_SN_COMMENTLINEBANG = 3--wxSTC_SN_NUMBER :: Int-wxSTC_SN_NUMBER = 4--wxSTC_SN_WORD :: Int-wxSTC_SN_WORD = 5--wxSTC_SN_STRING :: Int-wxSTC_SN_STRING = 6--wxSTC_SN_WORD2 :: Int-wxSTC_SN_WORD2 = 7--wxSTC_SN_WORD3 :: Int-wxSTC_SN_WORD3 = 8--wxSTC_SN_PREPROCESSOR :: Int-wxSTC_SN_PREPROCESSOR = 9--wxSTC_SN_OPERATOR :: Int-wxSTC_SN_OPERATOR = 10--wxSTC_SN_IDENTIFIER :: Int-wxSTC_SN_IDENTIFIER = 11--wxSTC_SN_STRINGEOL :: Int-wxSTC_SN_STRINGEOL = 12--wxSTC_SN_REGEXTAG :: Int-wxSTC_SN_REGEXTAG = 13--wxSTC_SN_SIGNAL :: Int-wxSTC_SN_SIGNAL = 14--wxSTC_SN_USER :: Int-wxSTC_SN_USER = 19--wxSTC_AU3_DEFAULT :: Int-wxSTC_AU3_DEFAULT = 0--wxSTC_AU3_COMMENT :: Int-wxSTC_AU3_COMMENT = 1--wxSTC_AU3_COMMENTBLOCK :: Int-wxSTC_AU3_COMMENTBLOCK = 2--wxSTC_AU3_NUMBER :: Int-wxSTC_AU3_NUMBER = 3--wxSTC_AU3_FUNCTION :: Int-wxSTC_AU3_FUNCTION = 4--wxSTC_AU3_KEYWORD :: Int-wxSTC_AU3_KEYWORD = 5--wxSTC_AU3_MACRO :: Int-wxSTC_AU3_MACRO = 6--wxSTC_AU3_STRING :: Int-wxSTC_AU3_STRING = 7--wxSTC_AU3_OPERATOR :: Int-wxSTC_AU3_OPERATOR = 8--wxSTC_AU3_VARIABLE :: Int-wxSTC_AU3_VARIABLE = 9--wxSTC_AU3_SENT :: Int-wxSTC_AU3_SENT = 10--wxSTC_AU3_PREPROCESSOR :: Int-wxSTC_AU3_PREPROCESSOR = 11--wxSTC_AU3_SPECIAL :: Int-wxSTC_AU3_SPECIAL = 12--wxSTC_AU3_EXPAND :: Int-wxSTC_AU3_EXPAND = 13--wxSTC_AU3_COMOBJ :: Int-wxSTC_AU3_COMOBJ = 14--wxSTC_APDL_DEFAULT :: Int-wxSTC_APDL_DEFAULT = 0--wxSTC_APDL_COMMENT :: Int-wxSTC_APDL_COMMENT = 1--wxSTC_APDL_COMMENTBLOCK :: Int-wxSTC_APDL_COMMENTBLOCK = 2--wxSTC_APDL_NUMBER :: Int-wxSTC_APDL_NUMBER = 3--wxSTC_APDL_STRING :: Int-wxSTC_APDL_STRING = 4--wxSTC_APDL_OPERATOR :: Int-wxSTC_APDL_OPERATOR = 5--wxSTC_APDL_WORD :: Int-wxSTC_APDL_WORD = 6--wxSTC_APDL_PROCESSOR :: Int-wxSTC_APDL_PROCESSOR = 7--wxSTC_APDL_COMMAND :: Int-wxSTC_APDL_COMMAND = 8--wxSTC_APDL_SLASHCOMMAND :: Int-wxSTC_APDL_SLASHCOMMAND = 9--wxSTC_APDL_STARCOMMAND :: Int-wxSTC_APDL_STARCOMMAND = 10--wxSTC_APDL_ARGUMENT :: Int-wxSTC_APDL_ARGUMENT = 11--wxSTC_APDL_FUNCTION :: Int-wxSTC_APDL_FUNCTION = 12--wxSTC_SH_DEFAULT :: Int-wxSTC_SH_DEFAULT = 0--wxSTC_SH_ERROR :: Int-wxSTC_SH_ERROR = 1--wxSTC_SH_COMMENTLINE :: Int-wxSTC_SH_COMMENTLINE = 2--wxSTC_SH_NUMBER :: Int-wxSTC_SH_NUMBER = 3--wxSTC_SH_WORD :: Int-wxSTC_SH_WORD = 4--wxSTC_SH_STRING :: Int-wxSTC_SH_STRING = 5--wxSTC_SH_CHARACTER :: Int-wxSTC_SH_CHARACTER = 6--wxSTC_SH_OPERATOR :: Int-wxSTC_SH_OPERATOR = 7--wxSTC_SH_IDENTIFIER :: Int-wxSTC_SH_IDENTIFIER = 8--wxSTC_SH_SCALAR :: Int-wxSTC_SH_SCALAR = 9--wxSTC_SH_PARAM :: Int-wxSTC_SH_PARAM = 10--wxSTC_SH_BACKTICKS :: Int-wxSTC_SH_BACKTICKS = 11--wxSTC_SH_HERE_DELIM :: Int-wxSTC_SH_HERE_DELIM = 12--wxSTC_SH_HERE_Q :: Int-wxSTC_SH_HERE_Q = 13--wxSTC_ASN1_DEFAULT :: Int-wxSTC_ASN1_DEFAULT = 0--wxSTC_ASN1_COMMENT :: Int-wxSTC_ASN1_COMMENT = 1--wxSTC_ASN1_IDENTIFIER :: Int-wxSTC_ASN1_IDENTIFIER = 2--wxSTC_ASN1_STRING :: Int-wxSTC_ASN1_STRING = 3--wxSTC_ASN1_OID :: Int-wxSTC_ASN1_OID = 4--wxSTC_ASN1_SCALAR :: Int-wxSTC_ASN1_SCALAR = 5--wxSTC_ASN1_KEYWORD :: Int-wxSTC_ASN1_KEYWORD = 6--wxSTC_ASN1_ATTRIBUTE :: Int-wxSTC_ASN1_ATTRIBUTE = 7--wxSTC_ASN1_DESCRIPTOR :: Int-wxSTC_ASN1_DESCRIPTOR = 8--wxSTC_ASN1_TYPE :: Int-wxSTC_ASN1_TYPE = 9--wxSTC_ASN1_OPERATOR :: Int-wxSTC_ASN1_OPERATOR = 10--wxSTC_VHDL_DEFAULT :: Int-wxSTC_VHDL_DEFAULT = 0--wxSTC_VHDL_COMMENT :: Int-wxSTC_VHDL_COMMENT = 1--wxSTC_VHDL_COMMENTLINEBANG :: Int-wxSTC_VHDL_COMMENTLINEBANG = 2--wxSTC_VHDL_NUMBER :: Int-wxSTC_VHDL_NUMBER = 3--wxSTC_VHDL_STRING :: Int-wxSTC_VHDL_STRING = 4--wxSTC_VHDL_OPERATOR :: Int-wxSTC_VHDL_OPERATOR = 5--wxSTC_VHDL_IDENTIFIER :: Int-wxSTC_VHDL_IDENTIFIER = 6--wxSTC_VHDL_STRINGEOL :: Int-wxSTC_VHDL_STRINGEOL = 7--wxSTC_VHDL_KEYWORD :: Int-wxSTC_VHDL_KEYWORD = 8--wxSTC_VHDL_STDOPERATOR :: Int-wxSTC_VHDL_STDOPERATOR = 9--wxSTC_VHDL_ATTRIBUTE :: Int-wxSTC_VHDL_ATTRIBUTE = 10--wxSTC_VHDL_STDFUNCTION :: Int-wxSTC_VHDL_STDFUNCTION = 11--wxSTC_VHDL_STDPACKAGE :: Int-wxSTC_VHDL_STDPACKAGE = 12--wxSTC_VHDL_STDTYPE :: Int-wxSTC_VHDL_STDTYPE = 13--wxSTC_VHDL_USERWORD :: Int-wxSTC_VHDL_USERWORD = 14--wxSTC_CAML_DEFAULT :: Int-wxSTC_CAML_DEFAULT = 0--wxSTC_CAML_IDENTIFIER :: Int-wxSTC_CAML_IDENTIFIER = 1--wxSTC_CAML_TAGNAME :: Int-wxSTC_CAML_TAGNAME = 2--wxSTC_CAML_KEYWORD :: Int-wxSTC_CAML_KEYWORD = 3--wxSTC_CAML_KEYWORD2 :: Int-wxSTC_CAML_KEYWORD2 = 4--wxSTC_CAML_KEYWORD3 :: Int-wxSTC_CAML_KEYWORD3 = 5--wxSTC_CAML_LINENUM :: Int-wxSTC_CAML_LINENUM = 6--wxSTC_CAML_OPERATOR :: Int-wxSTC_CAML_OPERATOR = 7--wxSTC_CAML_NUMBER :: Int-wxSTC_CAML_NUMBER = 8--wxSTC_CAML_CHAR :: Int-wxSTC_CAML_CHAR = 9--wxSTC_CAML_STRING :: Int-wxSTC_CAML_STRING = 11--wxSTC_CAML_COMMENT :: Int-wxSTC_CAML_COMMENT = 12--wxSTC_CAML_COMMENT1 :: Int-wxSTC_CAML_COMMENT1 = 13--wxSTC_CAML_COMMENT2 :: Int-wxSTC_CAML_COMMENT2 = 14--wxSTC_CAML_COMMENT3 :: Int-wxSTC_CAML_COMMENT3 = 15--wxSTC_T3_DEFAULT :: Int-wxSTC_T3_DEFAULT = 0--wxSTC_T3_X_DEFAULT :: Int-wxSTC_T3_X_DEFAULT = 1--wxSTC_T3_PREPROCESSOR :: Int-wxSTC_T3_PREPROCESSOR = 2--wxSTC_T3_BLOCK_COMMENT :: Int-wxSTC_T3_BLOCK_COMMENT = 3--wxSTC_T3_LINE_COMMENT :: Int-wxSTC_T3_LINE_COMMENT = 4--wxSTC_T3_OPERATOR :: Int-wxSTC_T3_OPERATOR = 5--wxSTC_T3_KEYWORD :: Int-wxSTC_T3_KEYWORD = 6--wxSTC_T3_NUMBER :: Int-wxSTC_T3_NUMBER = 7--wxSTC_T3_IDENTIFIER :: Int-wxSTC_T3_IDENTIFIER = 8--wxSTC_T3_S_STRING :: Int-wxSTC_T3_S_STRING = 9--wxSTC_T3_D_STRING :: Int-wxSTC_T3_D_STRING = 10--wxSTC_T3_X_STRING :: Int-wxSTC_T3_X_STRING = 11--wxSTC_T3_LIB_DIRECTIVE :: Int-wxSTC_T3_LIB_DIRECTIVE = 12--wxSTC_T3_MSG_PARAM :: Int-wxSTC_T3_MSG_PARAM = 13--wxSTC_T3_HTML_TAG :: Int-wxSTC_T3_HTML_TAG = 14--wxSTC_T3_HTML_DEFAULT :: Int-wxSTC_T3_HTML_DEFAULT = 15--wxSTC_T3_HTML_STRING :: Int-wxSTC_T3_HTML_STRING = 16--wxSTC_T3_USER1 :: Int-wxSTC_T3_USER1 = 17--wxSTC_T3_USER2 :: Int-wxSTC_T3_USER2 = 18--wxSTC_T3_USER3 :: Int-wxSTC_T3_USER3 = 19--wxSTC_REBOL_DEFAULT :: Int-wxSTC_REBOL_DEFAULT = 0--wxSTC_REBOL_COMMENTLINE :: Int-wxSTC_REBOL_COMMENTLINE = 1--wxSTC_REBOL_COMMENTBLOCK :: Int-wxSTC_REBOL_COMMENTBLOCK = 2--wxSTC_REBOL_PREFACE :: Int-wxSTC_REBOL_PREFACE = 3--wxSTC_REBOL_OPERATOR :: Int-wxSTC_REBOL_OPERATOR = 4--wxSTC_REBOL_CHARACTER :: Int-wxSTC_REBOL_CHARACTER = 5--wxSTC_REBOL_QUOTEDSTRING :: Int-wxSTC_REBOL_QUOTEDSTRING = 6--wxSTC_REBOL_BRACEDSTRING :: Int-wxSTC_REBOL_BRACEDSTRING = 7--wxSTC_REBOL_NUMBER :: Int-wxSTC_REBOL_NUMBER = 8--wxSTC_REBOL_PAIR :: Int-wxSTC_REBOL_PAIR = 9--wxSTC_REBOL_TUPLE :: Int-wxSTC_REBOL_TUPLE = 10--wxSTC_REBOL_BINARY :: Int-wxSTC_REBOL_BINARY = 11--wxSTC_REBOL_MONEY :: Int-wxSTC_REBOL_MONEY = 12--wxSTC_REBOL_ISSUE :: Int-wxSTC_REBOL_ISSUE = 13--wxSTC_REBOL_TAG :: Int-wxSTC_REBOL_TAG = 14--wxSTC_REBOL_FILE :: Int-wxSTC_REBOL_FILE = 15--wxSTC_REBOL_EMAIL :: Int-wxSTC_REBOL_EMAIL = 16--wxSTC_REBOL_URL :: Int-wxSTC_REBOL_URL = 17--wxSTC_REBOL_DATE :: Int-wxSTC_REBOL_DATE = 18--wxSTC_REBOL_TIME :: Int-wxSTC_REBOL_TIME = 19--wxSTC_REBOL_IDENTIFIER :: Int-wxSTC_REBOL_IDENTIFIER = 20--wxSTC_REBOL_WORD :: Int-wxSTC_REBOL_WORD = 21--wxSTC_REBOL_WORD2 :: Int-wxSTC_REBOL_WORD2 = 22--wxSTC_REBOL_WORD3 :: Int-wxSTC_REBOL_WORD3 = 23--wxSTC_REBOL_WORD4 :: Int-wxSTC_REBOL_WORD4 = 24--wxSTC_REBOL_WORD5 :: Int-wxSTC_REBOL_WORD5 = 25--wxSTC_REBOL_WORD6 :: Int-wxSTC_REBOL_WORD6 = 26--wxSTC_REBOL_WORD7 :: Int-wxSTC_REBOL_WORD7 = 27--wxSTC_REBOL_WORD8 :: Int-wxSTC_REBOL_WORD8 = 28--wxSTC_SQL_DEFAULT :: Int-wxSTC_SQL_DEFAULT = 0--wxSTC_SQL_COMMENT :: Int-wxSTC_SQL_COMMENT = 1--wxSTC_SQL_COMMENTLINE :: Int-wxSTC_SQL_COMMENTLINE = 2--wxSTC_SQL_COMMENTDOC :: Int-wxSTC_SQL_COMMENTDOC = 3--wxSTC_SQL_NUMBER :: Int-wxSTC_SQL_NUMBER = 4--wxSTC_SQL_WORD :: Int-wxSTC_SQL_WORD = 5--wxSTC_SQL_STRING :: Int-wxSTC_SQL_STRING = 6--wxSTC_SQL_CHARACTER :: Int-wxSTC_SQL_CHARACTER = 7--wxSTC_SQL_SQLPLUS :: Int-wxSTC_SQL_SQLPLUS = 8--wxSTC_SQL_SQLPLUS_PROMPT :: Int-wxSTC_SQL_SQLPLUS_PROMPT = 9--wxSTC_SQL_OPERATOR :: Int-wxSTC_SQL_OPERATOR = 10--wxSTC_SQL_IDENTIFIER :: Int-wxSTC_SQL_IDENTIFIER = 11--wxSTC_SQL_SQLPLUS_COMMENT :: Int-wxSTC_SQL_SQLPLUS_COMMENT = 13--wxSTC_SQL_COMMENTLINEDOC :: Int-wxSTC_SQL_COMMENTLINEDOC = 15--wxSTC_SQL_WORD2 :: Int-wxSTC_SQL_WORD2 = 16--wxSTC_SQL_COMMENTDOCKEYWORD :: Int-wxSTC_SQL_COMMENTDOCKEYWORD = 17--wxSTC_SQL_COMMENTDOCKEYWORDERROR :: Int-wxSTC_SQL_COMMENTDOCKEYWORDERROR = 18--wxSTC_SQL_USER1 :: Int-wxSTC_SQL_USER1 = 19--wxSTC_SQL_USER2 :: Int-wxSTC_SQL_USER2 = 20--wxSTC_SQL_USER3 :: Int-wxSTC_SQL_USER3 = 21--wxSTC_SQL_USER4 :: Int-wxSTC_SQL_USER4 = 22--wxSTC_SQL_QUOTEDIDENTIFIER :: Int-wxSTC_SQL_QUOTEDIDENTIFIER = 23--wxSTC_ST_DEFAULT :: Int-wxSTC_ST_DEFAULT = 0--wxSTC_ST_STRING :: Int-wxSTC_ST_STRING = 1--wxSTC_ST_NUMBER :: Int-wxSTC_ST_NUMBER = 2--wxSTC_ST_COMMENT :: Int-wxSTC_ST_COMMENT = 3--wxSTC_ST_SYMBOL :: Int-wxSTC_ST_SYMBOL = 4--wxSTC_ST_BINARY :: Int-wxSTC_ST_BINARY = 5--wxSTC_ST_BOOL :: Int-wxSTC_ST_BOOL = 6--wxSTC_ST_SELF :: Int-wxSTC_ST_SELF = 7--wxSTC_ST_SUPER :: Int-wxSTC_ST_SUPER = 8--wxSTC_ST_NIL :: Int-wxSTC_ST_NIL = 9--wxSTC_ST_GLOBAL :: Int-wxSTC_ST_GLOBAL = 10--wxSTC_ST_RETURN :: Int-wxSTC_ST_RETURN = 11--wxSTC_ST_SPECIAL :: Int-wxSTC_ST_SPECIAL = 12--wxSTC_ST_KWSEND :: Int-wxSTC_ST_KWSEND = 13--wxSTC_ST_ASSIGN :: Int-wxSTC_ST_ASSIGN = 14--wxSTC_ST_CHARACTER :: Int-wxSTC_ST_CHARACTER = 15--wxSTC_ST_SPEC_SEL :: Int-wxSTC_ST_SPEC_SEL = 16--wxSTC_FS_DEFAULT :: Int-wxSTC_FS_DEFAULT = 0--wxSTC_FS_COMMENT :: Int-wxSTC_FS_COMMENT = 1--wxSTC_FS_COMMENTLINE :: Int-wxSTC_FS_COMMENTLINE = 2--wxSTC_FS_COMMENTDOC :: Int-wxSTC_FS_COMMENTDOC = 3--wxSTC_FS_COMMENTLINEDOC :: Int-wxSTC_FS_COMMENTLINEDOC = 4--wxSTC_FS_COMMENTDOCKEYWORD :: Int-wxSTC_FS_COMMENTDOCKEYWORD = 5--wxSTC_FS_COMMENTDOCKEYWORDERROR :: Int-wxSTC_FS_COMMENTDOCKEYWORDERROR = 6--wxSTC_FS_KEYWORD :: Int-wxSTC_FS_KEYWORD = 7--wxSTC_FS_KEYWORD2 :: Int-wxSTC_FS_KEYWORD2 = 8--wxSTC_FS_KEYWORD3 :: Int-wxSTC_FS_KEYWORD3 = 9--wxSTC_FS_KEYWORD4 :: Int-wxSTC_FS_KEYWORD4 = 10--wxSTC_FS_NUMBER :: Int-wxSTC_FS_NUMBER = 11--wxSTC_FS_STRING :: Int-wxSTC_FS_STRING = 12--wxSTC_FS_PREPROCESSOR :: Int-wxSTC_FS_PREPROCESSOR = 13--wxSTC_FS_OPERATOR :: Int-wxSTC_FS_OPERATOR = 14--wxSTC_FS_IDENTIFIER :: Int-wxSTC_FS_IDENTIFIER = 15--wxSTC_FS_DATE :: Int-wxSTC_FS_DATE = 16--wxSTC_FS_STRINGEOL :: Int-wxSTC_FS_STRINGEOL = 17--wxSTC_FS_CONSTANT :: Int-wxSTC_FS_CONSTANT = 18--wxSTC_FS_ASM :: Int-wxSTC_FS_ASM = 19--wxSTC_FS_LABEL :: Int-wxSTC_FS_LABEL = 20--wxSTC_FS_ERROR :: Int-wxSTC_FS_ERROR = 21--wxSTC_FS_HEXNUMBER :: Int-wxSTC_FS_HEXNUMBER = 22--wxSTC_FS_BINNUMBER :: Int-wxSTC_FS_BINNUMBER = 23--wxSTC_CSOUND_DEFAULT :: Int-wxSTC_CSOUND_DEFAULT = 0--wxSTC_CSOUND_COMMENT :: Int-wxSTC_CSOUND_COMMENT = 1--wxSTC_CSOUND_NUMBER :: Int-wxSTC_CSOUND_NUMBER = 2--wxSTC_CSOUND_OPERATOR :: Int-wxSTC_CSOUND_OPERATOR = 3--wxSTC_CSOUND_INSTR :: Int-wxSTC_CSOUND_INSTR = 4--wxSTC_CSOUND_IDENTIFIER :: Int-wxSTC_CSOUND_IDENTIFIER = 5--wxSTC_CSOUND_OPCODE :: Int-wxSTC_CSOUND_OPCODE = 6--wxSTC_CSOUND_HEADERSTMT :: Int-wxSTC_CSOUND_HEADERSTMT = 7--wxSTC_CSOUND_USERKEYWORD :: Int-wxSTC_CSOUND_USERKEYWORD = 8--wxSTC_CSOUND_COMMENTBLOCK :: Int-wxSTC_CSOUND_COMMENTBLOCK = 9--wxSTC_CSOUND_PARAM :: Int-wxSTC_CSOUND_PARAM = 10--wxSTC_CSOUND_ARATE_VAR :: Int-wxSTC_CSOUND_ARATE_VAR = 11--wxSTC_CSOUND_KRATE_VAR :: Int-wxSTC_CSOUND_KRATE_VAR = 12--wxSTC_CSOUND_IRATE_VAR :: Int-wxSTC_CSOUND_IRATE_VAR = 13--wxSTC_CSOUND_GLOBAL_VAR :: Int-wxSTC_CSOUND_GLOBAL_VAR = 14--wxSTC_CSOUND_STRINGEOL :: Int-wxSTC_CSOUND_STRINGEOL = 15--wxSTC_CMD_REDO :: Int-wxSTC_CMD_REDO = 2011--wxSTC_CMD_SELECTALL :: Int-wxSTC_CMD_SELECTALL = 2013--wxSTC_CMD_UNDO :: Int-wxSTC_CMD_UNDO = 2176--wxSTC_CMD_CUT :: Int-wxSTC_CMD_CUT = 2177--wxSTC_CMD_COPY :: Int-wxSTC_CMD_COPY = 2178--wxSTC_CMD_PASTE :: Int-wxSTC_CMD_PASTE = 2179--wxSTC_CMD_CLEAR :: Int-wxSTC_CMD_CLEAR = 2180--wxSTC_CMD_LINEDOWN :: Int-wxSTC_CMD_LINEDOWN = 2300--wxSTC_CMD_LINEDOWNEXTEND :: Int-wxSTC_CMD_LINEDOWNEXTEND = 2301--wxSTC_CMD_LINEUP :: Int-wxSTC_CMD_LINEUP = 2302--wxSTC_CMD_LINEUPEXTEND :: Int-wxSTC_CMD_LINEUPEXTEND = 2303--wxSTC_CMD_CHARLEFT :: Int-wxSTC_CMD_CHARLEFT = 2304--wxSTC_CMD_CHARLEFTEXTEND :: Int-wxSTC_CMD_CHARLEFTEXTEND = 2305--wxSTC_CMD_CHARRIGHT :: Int-wxSTC_CMD_CHARRIGHT = 2306--wxSTC_CMD_CHARRIGHTEXTEND :: Int-wxSTC_CMD_CHARRIGHTEXTEND = 2307--wxSTC_CMD_WORDLEFT :: Int-wxSTC_CMD_WORDLEFT = 2308--wxSTC_CMD_WORDLEFTEXTEND :: Int-wxSTC_CMD_WORDLEFTEXTEND = 2309--wxSTC_CMD_WORDRIGHT :: Int-wxSTC_CMD_WORDRIGHT = 2310--wxSTC_CMD_WORDRIGHTEXTEND :: Int-wxSTC_CMD_WORDRIGHTEXTEND = 2311--wxSTC_CMD_HOME :: Int-wxSTC_CMD_HOME = 2312--wxSTC_CMD_HOMEEXTEND :: Int-wxSTC_CMD_HOMEEXTEND = 2313--wxSTC_CMD_LINEEND :: Int-wxSTC_CMD_LINEEND = 2314--wxSTC_CMD_LINEENDEXTEND :: Int-wxSTC_CMD_LINEENDEXTEND = 2315--wxSTC_CMD_DOCUMENTSTART :: Int-wxSTC_CMD_DOCUMENTSTART = 2316--wxSTC_CMD_DOCUMENTSTARTEXTEND :: Int-wxSTC_CMD_DOCUMENTSTARTEXTEND = 2317--wxSTC_CMD_DOCUMENTEND :: Int-wxSTC_CMD_DOCUMENTEND = 2318--wxSTC_CMD_DOCUMENTENDEXTEND :: Int-wxSTC_CMD_DOCUMENTENDEXTEND = 2319--wxSTC_CMD_PAGEUP :: Int-wxSTC_CMD_PAGEUP = 2320--wxSTC_CMD_PAGEUPEXTEND :: Int-wxSTC_CMD_PAGEUPEXTEND = 2321--wxSTC_CMD_PAGEDOWN :: Int-wxSTC_CMD_PAGEDOWN = 2322--wxSTC_CMD_PAGEDOWNEXTEND :: Int-wxSTC_CMD_PAGEDOWNEXTEND = 2323--wxSTC_CMD_EDITTOGGLEOVERTYPE :: Int-wxSTC_CMD_EDITTOGGLEOVERTYPE = 2324--wxSTC_CMD_CANCEL :: Int-wxSTC_CMD_CANCEL = 2325--wxSTC_CMD_DELETEBACK :: Int-wxSTC_CMD_DELETEBACK = 2326--wxSTC_CMD_TAB :: Int-wxSTC_CMD_TAB = 2327--wxSTC_CMD_BACKTAB :: Int-wxSTC_CMD_BACKTAB = 2328--wxSTC_CMD_NEWLINE :: Int-wxSTC_CMD_NEWLINE = 2329--wxSTC_CMD_FORMFEED :: Int-wxSTC_CMD_FORMFEED = 2330--wxSTC_CMD_VCHOME :: Int-wxSTC_CMD_VCHOME = 2331--wxSTC_CMD_VCHOMEEXTEND :: Int-wxSTC_CMD_VCHOMEEXTEND = 2332--wxSTC_CMD_ZOOMIN :: Int-wxSTC_CMD_ZOOMIN = 2333--wxSTC_CMD_ZOOMOUT :: Int-wxSTC_CMD_ZOOMOUT = 2334--wxSTC_CMD_DELWORDLEFT :: Int-wxSTC_CMD_DELWORDLEFT = 2335--wxSTC_CMD_DELWORDRIGHT :: Int-wxSTC_CMD_DELWORDRIGHT = 2336--wxSTC_CMD_LINECUT :: Int-wxSTC_CMD_LINECUT = 2337--wxSTC_CMD_LINEDELETE :: Int-wxSTC_CMD_LINEDELETE = 2338--wxSTC_CMD_LINETRANSPOSE :: Int-wxSTC_CMD_LINETRANSPOSE = 2339--wxSTC_CMD_LINEDUPLICATE :: Int-wxSTC_CMD_LINEDUPLICATE = 2404--wxSTC_CMD_LOWERCASE :: Int-wxSTC_CMD_LOWERCASE = 2340--wxSTC_CMD_UPPERCASE :: Int-wxSTC_CMD_UPPERCASE = 2341--wxSTC_CMD_LINESCROLLDOWN :: Int-wxSTC_CMD_LINESCROLLDOWN = 2342--wxSTC_CMD_LINESCROLLUP :: Int-wxSTC_CMD_LINESCROLLUP = 2343--wxSTC_CMD_DELETEBACKNOTLINE :: Int-wxSTC_CMD_DELETEBACKNOTLINE = 2344--wxSTC_CMD_HOMEDISPLAY :: Int-wxSTC_CMD_HOMEDISPLAY = 2345--wxSTC_CMD_HOMEDISPLAYEXTEND :: Int-wxSTC_CMD_HOMEDISPLAYEXTEND = 2346--wxSTC_CMD_LINEENDDISPLAY :: Int-wxSTC_CMD_LINEENDDISPLAY = 2347--wxSTC_CMD_LINEENDDISPLAYEXTEND :: Int-wxSTC_CMD_LINEENDDISPLAYEXTEND = 2348--wxSTC_CMD_HOMEWRAP :: Int-wxSTC_CMD_HOMEWRAP = 2349--wxSTC_CMD_HOMEWRAPEXTEND :: Int-wxSTC_CMD_HOMEWRAPEXTEND = 2450--wxSTC_CMD_LINEENDWRAP :: Int-wxSTC_CMD_LINEENDWRAP = 2451--wxSTC_CMD_LINEENDWRAPEXTEND :: Int-wxSTC_CMD_LINEENDWRAPEXTEND = 2452--wxSTC_CMD_VCHOMEWRAP :: Int-wxSTC_CMD_VCHOMEWRAP = 2453--wxSTC_CMD_VCHOMEWRAPEXTEND :: Int-wxSTC_CMD_VCHOMEWRAPEXTEND = 2454--wxSTC_CMD_LINECOPY :: Int-wxSTC_CMD_LINECOPY = 2455--wxSTC_CMD_WORDPARTLEFT :: Int-wxSTC_CMD_WORDPARTLEFT = 2390--wxSTC_CMD_WORDPARTLEFTEXTEND :: Int-wxSTC_CMD_WORDPARTLEFTEXTEND = 2391--wxSTC_CMD_WORDPARTRIGHT :: Int-wxSTC_CMD_WORDPARTRIGHT = 2392--wxSTC_CMD_WORDPARTRIGHTEXTEND :: Int-wxSTC_CMD_WORDPARTRIGHTEXTEND = 2393--wxSTC_CMD_DELLINELEFT :: Int-wxSTC_CMD_DELLINELEFT = 2395--wxSTC_CMD_DELLINERIGHT :: Int-wxSTC_CMD_DELLINERIGHT = 2396--wxSTC_CMD_PARADOWN :: Int-wxSTC_CMD_PARADOWN = 2413--wxSTC_CMD_PARADOWNEXTEND :: Int-wxSTC_CMD_PARADOWNEXTEND = 2414--wxSTC_CMD_PARAUP :: Int-wxSTC_CMD_PARAUP = 2415--wxSTC_CMD_PARAUPEXTEND :: Int-wxSTC_CMD_PARAUPEXTEND = 2416--wxSTC_CMD_LINEDOWNRECTEXTEND :: Int-wxSTC_CMD_LINEDOWNRECTEXTEND = 2426--wxSTC_CMD_LINEUPRECTEXTEND :: Int-wxSTC_CMD_LINEUPRECTEXTEND = 2427--wxSTC_CMD_CHARLEFTRECTEXTEND :: Int-wxSTC_CMD_CHARLEFTRECTEXTEND = 2428--wxSTC_CMD_CHARRIGHTRECTEXTEND :: Int-wxSTC_CMD_CHARRIGHTRECTEXTEND = 2429--wxSTC_CMD_HOMERECTEXTEND :: Int-wxSTC_CMD_HOMERECTEXTEND = 2430--wxSTC_CMD_VCHOMERECTEXTEND :: Int-wxSTC_CMD_VCHOMERECTEXTEND = 2431--wxSTC_CMD_LINEENDRECTEXTEND :: Int-wxSTC_CMD_LINEENDRECTEXTEND = 2432--wxSTC_CMD_PAGEUPRECTEXTEND :: Int-wxSTC_CMD_PAGEUPRECTEXTEND = 2433--wxSTC_CMD_PAGEDOWNRECTEXTEND :: Int-wxSTC_CMD_PAGEDOWNRECTEXTEND = 2434--wxSTC_CMD_STUTTEREDPAGEUP :: Int-wxSTC_CMD_STUTTEREDPAGEUP = 2435--wxSTC_CMD_STUTTEREDPAGEUPEXTEND :: Int-wxSTC_CMD_STUTTEREDPAGEUPEXTEND = 2436--wxSTC_CMD_STUTTEREDPAGEDOWN :: Int-wxSTC_CMD_STUTTEREDPAGEDOWN = 2437--wxSTC_CMD_STUTTEREDPAGEDOWNEXTEND :: Int-wxSTC_CMD_STUTTEREDPAGEDOWNEXTEND = 2438--wxSTC_CMD_WORDLEFTEND :: Int-wxSTC_CMD_WORDLEFTEND = 2439--wxSTC_CMD_WORDLEFTENDEXTEND :: Int-wxSTC_CMD_WORDLEFTENDEXTEND = 2440--wxSTC_CMD_WORDRIGHTEND :: Int-wxSTC_CMD_WORDRIGHTEND = 2441--wxSTC_CMD_WORDRIGHTENDEXTEND :: Int-wxSTC_CMD_WORDRIGHTENDEXTEND = 2442-+
+{-# OPTIONS_HADDOCK prune #-}
+
+--------------------------------------------------------------------------------
+{-| 
+Module      :  WxcDefs
+Copyright   :  Copyright (c) Daan Leijen 2003, 2004
+License     :  wxWidgets
+
+Maintainer  :  wxhaskell-devel@lists.sourceforge.net
+Stability   :  provisional
+Portability :  portable
+
+Haskell constant definitions for the wxWidgets C library (@wxc.dll@).
+
+This file was originally generated automatically by wxDirect; it
+is now manually maintained.
+
+-}
+--------------------------------------------------------------------------------
+module Graphics.UI.WXCore.WxcDefs
+    ( -- * Types
+      BitFlag
+      -- * Constants
+    , cB_BAR_CONTENT_HITTED
+    , cB_LEFT_BAR_HANDLE_HITTED
+    , cB_LOWER_ROW_HANDLE_HITTED
+    , cB_NO_ITEMS_HITTED
+    , cB_RIGHT_BAR_HANDLE_HITTED
+    , cB_UPPER_ROW_HANDLE_HITTED
+    , fL_ALIGN_BOTTOM
+    , fL_ALIGN_BOTTOM_PANE
+    , fL_ALIGN_LEFT
+    , fL_ALIGN_LEFT_PANE
+    , fL_ALIGN_RIGHT
+    , fL_ALIGN_RIGHT_PANE
+    , fL_ALIGN_TOP
+    , fL_ALIGN_TOP_PANE
+    , wxACCEL_ALT
+    , wxACCEL_CTRL
+    , wxACCEL_NORMAL
+    , wxACCEL_SHIFT
+    , wxADJUST_MINSIZE
+    , wxALIGN_BOTTOM
+    , wxALIGN_CENTER
+    , wxALIGN_CENTER_HORIZONTAL
+    , wxALIGN_CENTER_VERTICAL
+    , wxALIGN_CENTRE
+    , wxALIGN_CENTRE_HORIZONTAL
+    , wxALIGN_CENTRE_VERTICAL
+    , wxALIGN_LEFT
+    , wxALIGN_NOT
+    , wxALIGN_RIGHT
+    , wxALIGN_TOP
+    , wxALL
+    , wxALL_PANES
+    , wxAND
+    , wxAND_INVERT
+    , wxAND_REVERSE
+    , wxAUI_BUTTON_STATE_NORMAL
+    , wxAUI_BUTTON_STATE_HOVER
+    , wxAUI_BUTTON_STATE_PRESSED
+    , wxAUI_BUTTON_STATE_DISABLED
+    , wxAUI_BUTTON_STATE_HIDDEN
+    , wxAUI_BUTTON_STATE_CHECKED
+    , wxAUI_BUTTON_CLOSE
+    , wxAUI_BUTTON_MAXIMIZE_RESTORE
+    , wxAUI_BUTTON_MINIMIZE
+    , wxAUI_BUTTON_PIN
+    , wxAUI_BUTTON_OPTIONS
+    , wxAUI_BUTTON_WINDOWLIST
+    , wxAUI_BUTTON_LEFT
+    , wxAUI_BUTTON_RIGHT
+    , wxAUI_BUTTON_UP
+    , wxAUI_BUTTON_DOWN
+    , wxAUI_BUTTON_CUSTOM1
+    , wxAUI_BUTTON_CUSTOM2
+    , wxAUI_BUTTON_CUSTOM3
+    , wxAUI_DOCK_NONE
+    , wxAUI_DOCK_TOP
+    , wxAUI_DOCK_RIGHT
+    , wxAUI_DOCK_BOTTOM
+    , wxAUI_DOCK_LEFT
+    , wxAUI_DOCK_CENTER
+    , wxAUI_DOCK_CENTRE
+    , wxAUI_DOCKART_SASH_SIZE
+    , wxAUI_DOCKART_CAPTION_SIZE
+    , wxAUI_DOCKART_GRIPPER_SIZE
+    , wxAUI_DOCKART_PANE_BORDER_SIZE
+    , wxAUI_DOCKART_PANE_BUTTON_SIZE
+    , wxAUI_DOCKART_BACKGROUND_COLOUR
+    , wxAUI_DOCKART_SASH_COLOUR
+    , wxAUI_DOCKART_ACTIVE_CAPTION_COLOUR
+    , wxAUI_DOCKART_ACTIVE_CAPTION_GRADIENT_COLOUR
+    , wxAUI_DOCKART_INACTIVE_CAPTION_COLOUR
+    , wxAUI_DOCKART_INACTIVE_CAPTION_GRADIENT_COLOUR
+    , wxAUI_DOCKART_ACTIVE_CAPTION_TEXT_COLOUR
+    , wxAUI_DOCKART_INACTIVE_CAPTION_TEXT_COLOUR
+    , wxAUI_DOCKART_BORDER_COLOUR
+    , wxAUI_DOCKART_GRIPPER_COLOUR
+    , wxAUI_DOCKART_CAPTION_FONT
+    , wxAUI_DOCKART_GRADIENT_TYPE
+    , wxAUI_GRADIENT_NONE
+    , wxAUI_GRADIENT_VERTICAL
+    , wxAUI_GRADIENT_HORIZONTAL
+    , wxAUI_MGR_ALLOW_FLOATING
+    , wxAUI_MGR_ALLOW_ACTIVE_PANE
+    , wxAUI_MGR_TRANSPARENT_DRAG
+    , wxAUI_MGR_TRANSPARENT_HINT
+    , wxAUI_MGR_VENETIAN_BLINDS_HINT
+    , wxAUI_MGR_RECTANGLE_HINT
+    , wxAUI_MGR_HINT_FADE
+    , wxAUI_MGR_NO_VENETIAN_BLINDS_FADE
+    , wxAUI_MGR_LIVE_RESIZE
+    , wxAUI_MGR_DEFAULT
+    , wxAUI_NB_TOP
+    , wxAUI_NB_LEFT
+    , wxAUI_NB_RIGHT
+    , wxAUI_NB_BOTTOM
+    , wxAUI_NB_TAB_SPLIT
+    , wxAUI_NB_TAB_MOVE
+    , wxAUI_NB_TAB_EXTERNAL_MOVE
+    , wxAUI_NB_TAB_FIXED_WIDTH
+    , wxAUI_NB_SCROLL_BUTTONS
+    , wxAUI_NB_WINDOWLIST_BUTTON
+    , wxAUI_NB_CLOSE_BUTTON
+    , wxAUI_NB_CLOSE_ON_ACTIVE_TAB
+    , wxAUI_NB_CLOSE_ON_ALL_TABS
+    , wxAUI_NB_MIDDLE_CLICK_CLOSE
+    , wxAUI_NB_DEFAULT_STYLE
+    , wxAUI_INSERT_PANE
+    , wxAUI_INSERT_ROW
+    , wxAUI_INSERT_DOCK
+    , wxAUI_TB_TEXT
+    , wxAUI_TB_NO_TOOLTIPS
+    , wxAUI_TB_NO_AUTORESIZE
+    , wxAUI_TB_GRIPPER
+    , wxAUI_TB_OVERFLOW
+    , wxAUI_TB_VERTICAL
+    , wxAUI_TB_HORZ_LAYOUT
+    , wxAUI_TB_HORIZONTAL
+    , wxAUI_TB_PLAIN_BACKGROUND
+    , wxAUI_TB_HORZ_TEXT
+    , wxAUI_ORIENTATION_MASK
+    , wxAUI_TB_DEFAULT_STYLE
+    , wxAUI_TBART_SEPARATOR_SIZE
+    , wxAUI_TBART_GRIPPER_SIZE
+    , wxAUI_TBART_OVERFLOW_SIZE
+    , wxAUI_TBTOOL_TEXT_LEFT
+    , wxAUI_TBTOOL_TEXT_RIGHT
+    , wxAUI_TBTOOL_TEXT_TOP
+    , wxAUI_TBTOOL_TEXT_BOTTOM
+    , wxBACKWARD
+    , wxBDIAGONAL_HATCH
+    , wxBEOS
+    , wxBIG_ENDIAN
+    
+    -- From enum wxBitmapType in wxWidgets/include/wx/gdicmn.h
+    , wxBITMAP_TYPE_INVALID
+    , wxBITMAP_TYPE_BMP
+    , wxBITMAP_TYPE_BMP_RESOURCE
+    , wxBITMAP_TYPE_RESOURCE
+    , wxBITMAP_TYPE_ICO
+    , wxBITMAP_TYPE_ICO_RESOURCE
+    , wxBITMAP_TYPE_CUR
+    , wxBITMAP_TYPE_CUR_RESOURCE
+    , wxBITMAP_TYPE_XBM
+    , wxBITMAP_TYPE_XBM_DATA
+    , wxBITMAP_TYPE_XPM
+    , wxBITMAP_TYPE_XPM_DATA
+    , wxBITMAP_TYPE_TIFF
+    , wxBITMAP_TYPE_TIFF_RESOURCE
+    , wxBITMAP_TYPE_TIF
+    , wxBITMAP_TYPE_TIF_RESOURCE
+    , wxBITMAP_TYPE_GIF
+    , wxBITMAP_TYPE_GIF_RESOURCE
+    , wxBITMAP_TYPE_PNG
+    , wxBITMAP_TYPE_PNG_RESOURCE
+    , wxBITMAP_TYPE_JPEG
+    , wxBITMAP_TYPE_JPEG_RESOURCE
+    , wxBITMAP_TYPE_PNM
+    , wxBITMAP_TYPE_PNM_RESOURCE
+    , wxBITMAP_TYPE_PCX
+    , wxBITMAP_TYPE_PCX_RESOURCE
+    , wxBITMAP_TYPE_PICT
+    , wxBITMAP_TYPE_PICT_RESOURCE
+    , wxBITMAP_TYPE_ICON
+    , wxBITMAP_TYPE_ICON_RESOURCE
+    , wxBITMAP_TYPE_ANI
+    , wxBITMAP_TYPE_IFF
+    , wxBITMAP_TYPE_TGA
+    , wxBITMAP_TYPE_MACCURSOR
+    , wxBITMAP_TYPE_MACCURSOR_RESOURCE
+    , wxBITMAP_TYPE_MAX
+    , wxBITMAP_TYPE_ANY
+    
+    , wxBLACK
+    , wxBLACK_BRUSH
+    , wxBLACK_DASHED_PEN
+    , wxBLACK_PEN
+    , wxBLUE
+    , wxBLUE_BRUSH
+    , wxBOLD
+    , wxBOOLEAN
+    , wxBORDER
+    , wxBORDER_DEFAULT
+    , wxBORDER_MASK
+    , wxBORDER_NONE
+    , wxBORDER_RAISED
+    , wxBORDER_SIMPLE
+    , wxBORDER_STATIC
+    , wxBORDER_SUNKEN
+    , wxBORDER_THEME
+    , wxBOTH
+    , wxBOTTOM
+    , wxBRUSHSTYLE_BDIAGONAL_HATCH
+    , wxBRUSHSTYLE_CROSSDIAG_HATCH
+    , wxBRUSHSTYLE_CROSS_HATCH
+    , wxBRUSHSTYLE_FDIAGONAL_HATCH
+    , wxBRUSHSTYLE_FIRST_HATCH
+    , wxBRUSHSTYLE_HORIZONTAL_HATCH
+    , wxBRUSHSTYLE_INVALID
+    , wxBRUSHSTYLE_LAST_HATCH
+    , wxBRUSHSTYLE_SOLID
+    , wxBRUSHSTYLE_STIPPLE
+    , wxBRUSHSTYLE_STIPPLE_MASK
+    , wxBRUSHSTYLE_STIPPLE_MASK_OPAQUE
+    , wxBRUSHSTYLE_TRANSPARENT
+    , wxBRUSHSTYLE_VERTICAL_HATCH
+    , wxBU_ALIGN_MASK
+    , wxBU_AUTODRAW
+    , wxBU_BOTTOM
+    , wxBU_EXACTFIT
+    , wxBU_LEFT
+    , wxBU_NOAUTODRAW
+    , wxBU_NOTEXT
+    , wxBU_RIGHT
+    , wxBU_TOP
+    , wxCAL_BORDER_NONE
+    , wxCAL_BORDER_ROUND
+    , wxCAL_BORDER_SQUARE
+    , wxCAL_HITTEST_DAY
+    , wxCAL_HITTEST_HEADER
+    , wxCAL_HITTEST_NOWHERE
+    , wxCAL_MONDAY_FIRST
+    , wxCAL_NO_MONTH_CHANGE
+    , wxCAL_NO_YEAR_CHANGE
+    , wxCAL_SHOW_HOLIDAYS
+    , wxCAL_SUNDAY_FIRST
+    , wxCANCEL
+    , wxCAPTION
+    , wxCAP_BUTT
+    , wxCAP_INVALID
+    , wxCAP_PROJECTING
+    , wxCAP_ROUND
+    , wxCBAR_DOCKED_HORIZONTALLY
+    , wxCBAR_DOCKED_VERTICALLY
+    , wxCBAR_FLOATING
+    , wxCBAR_HIDDEN
+    , wxCB_DROPDOWN
+    , wxCB_READONLY
+    , wxCB_SIMPLE
+    , wxCB_SORT
+    , wxCENTER
+    , wxCENTER_FRAME
+    , wxCENTRE
+    , wxCENTRE_ON_SCREEN
+    , wxCHANGE_DIR
+    , wxCLEAR
+    , wxCLIP_CHILDREN
+    , wxCLOSE_BOX
+    , wxCOLOURED
+    , wxCONFIG_TYPE_BOOLEAN
+    , wxCONFIG_TYPE_FLOAT
+    , wxCONFIG_TYPE_INTEGER
+    , wxCONFIG_TYPE_STRING
+    , wxCONFIG_TYPE_UNKNOWN
+    , wxCONFIG_USE_GLOBAL_FILE
+    , wxCONFIG_USE_LOCAL_FILE
+    , wxCONFIG_USE_NO_ESCAPE_CHARACTERS
+    , wxCONFIG_USE_RELATIVE_PATH
+    , wxCOPY
+    , wxCOSE_X
+    , wxPB_USE_TEXTCTRL
+    , wxPB_SMALL
+    , wxCLRP_USE_TEXTCTRL
+    , wxCLRP_DEFAULT_STYLE
+    , wxCLRP_SHOW_LABEL
+    , wxCROSSDIAG_HATCH
+    , wxCROSS_HATCH
+    , wxCURSES
+    , wxCURSOR_ARROW
+    , wxCURSOR_BLANK
+    , wxCURSOR_BULLSEYE
+    , wxCURSOR_CHAR
+    , wxCURSOR_CROSS
+    , wxCURSOR_HAND
+    , wxCURSOR_IBEAM
+    , wxCURSOR_LEFT_BUTTON
+    , wxCURSOR_MAGNIFIER
+    , wxCURSOR_MIDDLE_BUTTON
+    , wxCURSOR_NONE
+    , wxCURSOR_NO_ENTRY
+    , wxCURSOR_PAINT_BRUSH
+    , wxCURSOR_PENCIL
+    , wxCURSOR_POINT_LEFT
+    , wxCURSOR_POINT_RIGHT
+    , wxCURSOR_QUESTION_ARROW
+    , wxCURSOR_RIGHT_ARROW
+    , wxCURSOR_RIGHT_BUTTON
+    , wxCURSOR_SIZENESW
+    , wxCURSOR_SIZENS
+    , wxCURSOR_SIZENWSE
+    , wxCURSOR_SIZEWE
+    , wxCURSOR_SIZING
+    , wxCURSOR_SPRAYCAN
+    , wxCURSOR_WAIT
+    , wxCURSOR_WATCH
+    , wxCYAN
+    , wxCYAN_BRUSH
+    , wxCYAN_PEN
+    , wxDB_DATA_TYPE_BLOB
+    , wxDB_DATA_TYPE_DATE
+    , wxDB_DATA_TYPE_FLOAT
+    , wxDB_DATA_TYPE_INTEGER
+    , wxDB_DATA_TYPE_VARCHAR
+    , wxDB_DEL_KEYFIELDS
+    , wxDB_DEL_MATCHING
+    , wxDB_DEL_WHERE
+    , wxDB_GRANT_ALL
+    , wxDB_GRANT_DELETE
+    , wxDB_GRANT_INSERT
+    , wxDB_GRANT_SELECT
+    , wxDB_GRANT_UPDATE
+    , wxDB_MAX_COLUMN_NAME_LEN
+    , wxDB_MAX_ERROR_HISTORY
+    , wxDB_MAX_ERROR_MSG_LEN
+    , wxDB_MAX_STATEMENT_LEN
+    , wxDB_MAX_TABLE_NAME_LEN
+    , wxDB_MAX_WHERE_CLAUSE_LEN
+    , wxDB_SELECT_KEYFIELDS
+    , wxDB_SELECT_MATCHING
+    , wxDB_SELECT_STATEMENT
+    , wxDB_SELECT_WHERE
+    , wxDB_TYPE_NAME_LEN
+    , wxDB_UPD_KEYFIELDS
+    , wxDB_UPD_WHERE
+    , wxDB_WHERE_KEYFIELDS
+    , wxDB_WHERE_MATCHING
+    , wxDECORATIVE
+    , wxDEFAULT
+    , wxDEFAULT_FRAME_STYLE
+    , wxDF_BITMAP
+    , wxDF_DIB
+    , wxDF_DIF
+    , wxDF_ENHMETAFILE
+    , wxDF_FILENAME
+    , wxDF_HTML
+    , wxDF_INVALID
+    , wxDF_LOCALE
+    , wxDF_MAX
+    , wxDF_METAFILE
+    , wxDF_OEMTEXT
+    , wxDF_PALETTE
+    , wxDF_PENDATA
+    , wxDF_PRIVATE
+    , wxDF_RIFF
+    , wxDF_SYLK
+    , wxDF_TEXT
+    , wxDF_TIFF
+    , wxDF_UNICODETEXT
+    , wxDF_WAVE
+    , wxDIALOG_EX_CONTEXTHELP
+    , wxDIALOG_MODAL
+    , wxDIALOG_MODELESS
+    , wxDOT
+    , wxDOT_DASH
+    , wxDOUBLE_BORDER
+    , wxDOWN
+    , wxDRAG_ALLOWMOVE
+    , wxDRAG_CANCEL
+    , wxDRAG_COPY
+    , wxDRAG_COPYONLY
+    , wxDRAG_DEFALUTMOVE
+    , wxDRAG_ERROR
+    , wxDRAG_LINK
+    , wxDRAG_MOVE
+    , wxDRAG_NONE
+    , wxDS_DRAG_CORNER
+    , wxDS_MANAGE_SCROLLBARS
+    , wxDUPLEX_HORIZONTAL
+    , wxDUPLEX_SIMPLEX
+    , wxDUPLEX_VERTICAL
+    , wxEAST
+    , wxEDGE_BOTTOM
+    , wxEDGE_CENTER
+    , wxEDGE_CENTREX
+    , wxEDGE_CENTREY
+    , wxEDGE_HEIGHT
+    , wxEDGE_LEFT
+    , wxEDGE_RIGHT
+    , wxEDGE_TOP
+    , wxEDGE_WIDTH
+    , wxED_BUTTONS_BOTTOM
+    , wxED_BUTTONS_RIGHT
+    , wxED_CLIENT_MARGIN
+    , wxED_STATIC_LINE
+    , wxEL_ALLOW_DELETE
+    , wxEL_ALLOW_EDIT
+    , wxEL_ALLOW_NEW
+    , wxEQUIV
+    , wxEVT_FIRST
+    , wxEVT_NULL
+    , wxEXEC_ASYNC
+    , wxEXEC_MAKE_GROUP_LEADER
+    , wxEXEC_NOHIDE
+    , wxEXEC_SYNC
+    , wxEXPAND
+    , wxFDIAGONAL_HATCH
+    , wxFILE_MUST_EXIST
+    , wxFILTER_ALPHA
+    , wxFILTER_ALPHANUMERIC
+    , wxFILTER_ASCII
+    , wxFILTER_EXCLUDE_LIST
+    , wxFILTER_INCLUDE_LIST
+    , wxFILTER_LOWER_CASE
+    , wxFILTER_NONE
+    , wxFILTER_NUMERIC
+    , wxFILTER_UPPER_CASE
+    , wxFIXED
+    , wxFIXED_LENGTH
+    , wxFIXED_MINSIZE
+    , wxFLOAT
+    , wxFLOOD_BORDER
+    , wxFLOOD_SURFACE
+    , wxFONTENCODING_ALTERNATIVE
+    , wxFONTENCODING_BULGARIAN
+    , wxFONTENCODING_CP1250
+    , wxFONTENCODING_CP1251
+    , wxFONTENCODING_CP1252
+    , wxFONTENCODING_CP1253
+    , wxFONTENCODING_CP1254
+    , wxFONTENCODING_CP1255
+    , wxFONTENCODING_CP1256
+    , wxFONTENCODING_CP1257
+    , wxFONTENCODING_CP12_MAX
+    , wxFONTENCODING_CP437
+    , wxFONTENCODING_CP850
+    , wxFONTENCODING_CP852
+    , wxFONTENCODING_CP855
+    , wxFONTENCODING_CP866
+    , wxFONTENCODING_CP874
+    , wxFONTENCODING_DEFAULT
+    , wxFONTENCODING_ISO8859_1
+    , wxFONTENCODING_ISO8859_10
+    , wxFONTENCODING_ISO8859_11
+    , wxFONTENCODING_ISO8859_12
+    , wxFONTENCODING_ISO8859_13
+    , wxFONTENCODING_ISO8859_14
+    , wxFONTENCODING_ISO8859_15
+    , wxFONTENCODING_ISO8859_2
+    , wxFONTENCODING_ISO8859_3
+    , wxFONTENCODING_ISO8859_4
+    , wxFONTENCODING_ISO8859_5
+    , wxFONTENCODING_ISO8859_6
+    , wxFONTENCODING_ISO8859_7
+    , wxFONTENCODING_ISO8859_8
+    , wxFONTENCODING_ISO8859_9
+    , wxFONTENCODING_ISO8859_MAX
+    , wxFONTENCODING_KOI8
+    , wxFONTENCODING_MAX
+    , wxFONTENCODING_SYSTEM
+    , wxFONTENCODING_UNICODE
+    , wxFONTFAMILY_DECORATIVE
+    , wxFONTFAMILY_DEFAULT
+    , wxFONTFAMILY_MAX
+    , wxFONTFAMILY_MODERN
+    , wxFONTFAMILY_ROMAN
+    , wxFONTFAMILY_SCRIPT
+    , wxFONTFAMILY_SWISS
+    , wxFONTFAMILY_TELETYPE
+    , wxFONTFAMILY_UNKNOWN
+    , wxFONTFLAG_ANTIALIASED
+    , wxFONTFLAG_BOLD
+    , wxFONTFLAG_DEFAULT
+    , wxFONTFLAG_ITALIC
+    , wxFONTFLAG_LIGHT
+    , wxFONTFLAG_MASK
+    , wxFONTFLAG_NOT_ANTIALIASED
+    , wxFONTFLAG_SLANT
+    , wxFONTFLAG_STRIKETHROUGH
+    , wxFONTFLAG_UNDERLINED
+    , wxFONTSIZE_LARGE
+    , wxFONTSIZE_MEDIUM
+    , wxFONTSIZE_SMALL
+    , wxFONTSIZE_XX_LARGE
+    , wxFONTSIZE_XX_SMALL
+    , wxFONTSIZE_X_LARGE
+    , wxFONTSIZE_X_SMALL
+    , wxFONTSTYLE_ITALIC
+    , wxFONTSTYLE_MAX
+    , wxFONTSTYLE_NORMAL
+    , wxFONTSTYLE_SLANT
+    , wxFONTWEIGHT_BOLD
+    , wxFONTWEIGHT_LIGHT
+    , wxFONTWEIGHT_MAX
+    , wxFONTWEIGHT_NORMAL
+    , wxFORWARD
+    , wxFRAME_EX_CONTEXTHELP
+    , wxFRAME_FLOAT_ON_PARENT
+    , wxFRAME_NO_WINDOW_MENU
+    , wxFRAME_SHAPED
+    , wxFRAME_TOOL_WINDOW
+    , wxFR_DOWN
+    , wxFR_MATCHCASE
+    , wxFR_NOMATCHCASE
+    , wxFR_NOUPDOWN
+    , wxFR_NOWHOLEWORD
+    , wxFR_REPLACEDIALOG
+    , wxFR_WHOLEWORD
+    , wxFULLSCREEN_ALL
+    , wxFULLSCREEN_NOBORDER
+    , wxFULLSCREEN_NOCAPTION
+    , wxFULLSCREEN_NOMENUBAR
+    , wxFULLSCREEN_NOSTATUSBAR
+    , wxFULLSCREEN_NOTOOLBAR
+    , wxGA_PROGRESSBAR
+    , wxGA_SMOOTH
+    , wxGEOS
+    , wxGREEN
+    , wxGREEN_BRUSH
+    , wxGREEN_PEN
+    , wxGREY_BRUSH
+    , wxGREY_PEN
+    , wxGRIDTABLE_NOTIFY_COLS_APPENDED
+    , wxGRIDTABLE_NOTIFY_COLS_DELETED
+    , wxGRIDTABLE_NOTIFY_COLS_INSERTED
+    , wxGRIDTABLE_NOTIFY_ROWS_APPENDED
+    , wxGRIDTABLE_NOTIFY_ROWS_DELETED
+    , wxGRIDTABLE_NOTIFY_ROWS_INSERTED
+    , wxGRIDTABLE_REQUEST_VIEW_GET_VALUES
+    , wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES
+    , wxGROW
+    , wxGTK
+    , wxGTK_BEOS
+    , wxGTK_OS2
+    , wxGTK_WIN32
+    , wxGridSelectCells
+    , wxGridSelectColumns
+    , wxGridSelectRows
+    , wxHATCHSTYLE_BDIAGONAL
+    , wxHATCHSTYLE_CROSS
+    , wxHATCHSTYLE_CROSSDIAG
+    , wxHATCHSTYLE_FDIAGONAL
+    , wxHATCHSTYLE_FIRST
+    , wxHATCHSTYLE_HORIZONTAL
+    , wxHATCHSTYLE_LAST
+    , wxHATCHSTYLE_VERTICAL
+    , wxHELP
+    , wxHF_BOOKMARKS
+    , wxHF_CONTENTS
+    , wxHF_DEFAULTSTYLE
+    , wxHF_FLATTOOLBAR
+    , wxHF_INDEX
+    , wxHF_OPENFILES
+    , wxHF_PRINT
+    , wxHF_SEARCH
+    , wxHF_TOOLBAR
+    , wxHIDE_READONLY
+    , wxHORIZONTAL
+    , wxHORIZONTAL_HATCH
+    , wxHSCROLL
+    , wxHW_SCROLLBAR_AUTO
+    , wxHW_SCROLLBAR_NEVER
+    , wxHL_CONTEXTMENU
+    , wxHL_ALIGN_LEFT
+    , wxHL_ALIGN_RIGHT
+    , wxHL_ALIGN_CENTRE
+    , wxHL_DEFAULT_STYLE
+    , wxICONIZE
+    , wxICON_EXCLAMATION
+    , wxICON_HAND
+    , wxICON_INFORMATION
+    , wxICON_QUESTION
+    , wxID_ABOUT
+    , wxID_APPLY
+    , wxID_BACKWARD
+    , wxID_CANCEL
+    , wxID_CLEAR
+    , wxID_CLOSE
+    , wxID_CLOSE_ALL
+    , wxID_COPY
+    , wxID_CUT
+    , wxID_DEFAULT
+    , wxID_DELETE
+    , wxID_DUPLICATE
+    , wxID_EDIT
+    , wxID_EXIT
+    , wxID_FILE1
+    , wxID_FILE2
+    , wxID_FILE3
+    , wxID_FILE4
+    , wxID_FILE5
+    , wxID_FILE6
+    , wxID_FILE7
+    , wxID_FILE8
+    , wxID_FILE9
+    , wxID_FILEDLGG
+    , wxID_FIND
+    , wxID_FORWARD
+    , wxID_HELP
+    , wxID_HELP_COMMANDS
+    , wxID_HELP_CONTENTS
+    , wxID_HELP_CONTEXT
+    , wxID_HELP_PROCEDURES
+    , wxID_HIGHEST
+    , wxID_LOWEST
+    , wxID_MORE
+    , wxID_NEW
+    , wxID_NO
+    , wxID_OK
+    , wxID_OPEN
+    , wxID_PASTE
+    , wxID_PREFERENCES
+    , wxID_PREVIEW
+    , wxID_PREVIEW_CLOSE
+    , wxID_PREVIEW_FIRST
+    , wxID_PREVIEW_GOTO
+    , wxID_PREVIEW_LAST
+    , wxID_PREVIEW_NEXT
+    , wxID_PREVIEW_PREVIOUS
+    , wxID_PREVIEW_PRINT
+    , wxID_PREVIEW_ZOOM
+    , wxID_PRINT
+    , wxID_PRINT_SETUP
+    , wxID_PROPERTIES
+    , wxID_REDO
+    , wxID_REPLACE
+    , wxID_REPLACE_ALL
+    , wxID_RESET
+    , wxID_REVERT
+    , wxID_SAVE
+    , wxID_SAVEAS
+    , wxID_SELECTALL
+    , wxID_SETUP
+    , wxID_STATIC
+    , wxID_UNDO
+    , wxID_VIEW_DETAILS
+    , wxID_VIEW_LARGEICONS
+    , wxID_VIEW_LIST
+    , wxID_VIEW_SMALLICONS
+    , wxID_VIEW_SORTDATE
+    , wxID_VIEW_SORTNAME
+    , wxID_VIEW_SORTSIZE
+    , wxID_VIEW_SORTTYPE
+    , wxID_YES
+    , wxIMAGE_LIST_NORMAL
+    , wxIMAGE_LIST_SMALL
+    , wxIMAGE_LIST_STATE
+    , wxIMAGE_QUALITY_NEAREST
+    , wxIMAGE_QUALITY_BILINEAR
+    , wxIMAGE_QUALITY_BICUBIC
+    , wxIMAGE_QUALITY_BOX_AVERAGE
+    , wxIMAGE_QUALITY_NORMAL
+    , wxIMAGE_QUALITY_HIGH
+    , wxINTEGER
+    , wxINVERT
+    , wxITALIC
+    , wxITEM_CHECK
+    , wxITEM_MAX
+    , wxITEM_NORMAL
+    , wxITEM_RADIO
+    , wxITEM_SEPARATOR
+    , wxJOIN_BEVEL
+    , wxJOIN_INVALID
+    , wxJOIN_MITER
+    , wxJOIN_ROUND
+    , wxJOYSTICK1
+    , wxJOYSTICK2
+    , wxJOY_BUTTON1
+    , wxJOY_BUTTON2
+    , wxJOY_BUTTON3
+    , wxJOY_BUTTON4
+    , wxKILL_ACCESS_DENIED
+    , wxKILL_BAD_SIGNAL
+    , wxKILL_ERROR
+    , wxKILL_NO_PROCESS
+    , wxKILL_OK
+    , wxLANDSCAPE
+    , wxLANGUAGE_ABKHAZIAN
+    , wxLANGUAGE_AFAR
+    , wxLANGUAGE_AFRIKAANS
+    , wxLANGUAGE_ALBANIAN
+    , wxLANGUAGE_AMHARIC
+    , wxLANGUAGE_ARABIC
+    , wxLANGUAGE_ARABIC_ALGERIA
+    , wxLANGUAGE_ARABIC_BAHRAIN
+    , wxLANGUAGE_ARABIC_EGYPT
+    , wxLANGUAGE_ARABIC_IRAQ
+    , wxLANGUAGE_ARABIC_JORDAN
+    , wxLANGUAGE_ARABIC_KUWAIT
+    , wxLANGUAGE_ARABIC_LEBANON
+    , wxLANGUAGE_ARABIC_LIBYA
+    , wxLANGUAGE_ARABIC_MOROCCO
+    , wxLANGUAGE_ARABIC_OMAN
+    , wxLANGUAGE_ARABIC_QATAR
+    , wxLANGUAGE_ARABIC_SAUDI_ARABIA
+    , wxLANGUAGE_ARABIC_SUDAN
+    , wxLANGUAGE_ARABIC_SYRIA
+    , wxLANGUAGE_ARABIC_TUNISIA
+    , wxLANGUAGE_ARABIC_UAE
+    , wxLANGUAGE_ARABIC_YEMEN
+    , wxLANGUAGE_ARMENIAN
+    , wxLANGUAGE_ASSAMESE
+    , wxLANGUAGE_AYMARA
+    , wxLANGUAGE_AZERI
+    , wxLANGUAGE_AZERI_CYRILLIC
+    , wxLANGUAGE_AZERI_LATIN
+    , wxLANGUAGE_BASHKIR
+    , wxLANGUAGE_BASQUE
+    , wxLANGUAGE_BELARUSIAN
+    , wxLANGUAGE_BENGALI
+    , wxLANGUAGE_BHUTANI
+    , wxLANGUAGE_BIHARI
+    , wxLANGUAGE_BISLAMA
+    , wxLANGUAGE_BRETON
+    , wxLANGUAGE_BULGARIAN
+    , wxLANGUAGE_BURMESE
+    , wxLANGUAGE_CAMBODIAN
+    , wxLANGUAGE_CATALAN
+    , wxLANGUAGE_CHINESE
+    , wxLANGUAGE_CHINESE_HONGKONG
+    , wxLANGUAGE_CHINESE_MACAU
+    , wxLANGUAGE_CHINESE_SIMPLIFIED
+    , wxLANGUAGE_CHINESE_SINGAPORE
+    , wxLANGUAGE_CHINESE_TAIWAN
+    , wxLANGUAGE_CHINESE_TRADITIONAL
+    , wxLANGUAGE_CORSICAN
+    , wxLANGUAGE_CROATIAN
+    , wxLANGUAGE_CZECH
+    , wxLANGUAGE_DANISH
+    , wxLANGUAGE_DEFAULT
+    , wxLANGUAGE_DUTCH
+    , wxLANGUAGE_DUTCH_BELGIAN
+    , wxLANGUAGE_ENGLISH
+    , wxLANGUAGE_ENGLISH_AUSTRALIA
+    , wxLANGUAGE_ENGLISH_BELIZE
+    , wxLANGUAGE_ENGLISH_BOTSWANA
+    , wxLANGUAGE_ENGLISH_CANADA
+    , wxLANGUAGE_ENGLISH_CARIBBEAN
+    , wxLANGUAGE_ENGLISH_DENMARK
+    , wxLANGUAGE_ENGLISH_EIRE
+    , wxLANGUAGE_ENGLISH_JAMAICA
+    , wxLANGUAGE_ENGLISH_NEW_ZEALAND
+    , wxLANGUAGE_ENGLISH_PHILIPPINES
+    , wxLANGUAGE_ENGLISH_SOUTH_AFRICA
+    , wxLANGUAGE_ENGLISH_TRINIDAD
+    , wxLANGUAGE_ENGLISH_UK
+    , wxLANGUAGE_ENGLISH_US
+    , wxLANGUAGE_ENGLISH_ZIMBABWE
+    , wxLANGUAGE_ESPERANTO
+    , wxLANGUAGE_ESTONIAN
+    , wxLANGUAGE_FAEROESE
+    , wxLANGUAGE_FARSI
+    , wxLANGUAGE_FIJI
+    , wxLANGUAGE_FINNISH
+    , wxLANGUAGE_FRENCH
+    , wxLANGUAGE_FRENCH_BELGIAN
+    , wxLANGUAGE_FRENCH_CANADIAN
+    , wxLANGUAGE_FRENCH_LUXEMBOURG
+    , wxLANGUAGE_FRENCH_MONACO
+    , wxLANGUAGE_FRENCH_SWISS
+    , wxLANGUAGE_FRISIAN
+    , wxLANGUAGE_GALICIAN
+    , wxLANGUAGE_GEORGIAN
+    , wxLANGUAGE_GERMAN
+    , wxLANGUAGE_GERMAN_AUSTRIAN
+    , wxLANGUAGE_GERMAN_BELGIUM
+    , wxLANGUAGE_GERMAN_LIECHTENSTEIN
+    , wxLANGUAGE_GERMAN_LUXEMBOURG
+    , wxLANGUAGE_GERMAN_SWISS
+    , wxLANGUAGE_GREEK
+    , wxLANGUAGE_GREENLANDIC
+    , wxLANGUAGE_GUARANI
+    , wxLANGUAGE_GUJARATI
+    , wxLANGUAGE_HAUSA
+    , wxLANGUAGE_HEBREW
+    , wxLANGUAGE_HINDI
+    , wxLANGUAGE_HUNGARIAN
+    , wxLANGUAGE_ICELANDIC
+    , wxLANGUAGE_INDONESIAN
+    , wxLANGUAGE_INTERLINGUA
+    , wxLANGUAGE_INTERLINGUE
+    , wxLANGUAGE_INUKTITUT
+    , wxLANGUAGE_INUPIAK
+    , wxLANGUAGE_IRISH
+    , wxLANGUAGE_ITALIAN
+    , wxLANGUAGE_ITALIAN_SWISS
+    , wxLANGUAGE_JAPANESE
+    , wxLANGUAGE_JAVANESE
+    , wxLANGUAGE_KANNADA
+    , wxLANGUAGE_KASHMIRI
+    , wxLANGUAGE_KASHMIRI_INDIA
+    , wxLANGUAGE_KAZAKH
+    , wxLANGUAGE_KERNEWEK
+    , wxLANGUAGE_KINYARWANDA
+    , wxLANGUAGE_KIRGHIZ
+    , wxLANGUAGE_KIRUNDI
+    , wxLANGUAGE_KONKANI
+    , wxLANGUAGE_KOREAN
+    , wxLANGUAGE_KURDISH
+    , wxLANGUAGE_LAOTHIAN
+    , wxLANGUAGE_LATIN
+    , wxLANGUAGE_LATVIAN
+    , wxLANGUAGE_LINGALA
+    , wxLANGUAGE_LITHUANIAN
+    , wxLANGUAGE_MACEDONIAN
+    , wxLANGUAGE_MALAGASY
+    , wxLANGUAGE_MALAY
+    , wxLANGUAGE_MALAYALAM
+    , wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
+    , wxLANGUAGE_MALAY_MALAYSIA
+    , wxLANGUAGE_MALTESE
+    , wxLANGUAGE_MANIPURI
+    , wxLANGUAGE_MAORI
+    , wxLANGUAGE_MARATHI
+    , wxLANGUAGE_MOLDAVIAN
+    , wxLANGUAGE_MONGOLIAN
+    , wxLANGUAGE_NAURU
+    , wxLANGUAGE_NEPALI
+    , wxLANGUAGE_NEPALI_INDIA
+    , wxLANGUAGE_NORWEGIAN_BOKMAL
+    , wxLANGUAGE_NORWEGIAN_NYNORSK
+    , wxLANGUAGE_OCCITAN
+    , wxLANGUAGE_ORIYA
+    , wxLANGUAGE_OROMO
+    , wxLANGUAGE_PASHTO
+    , wxLANGUAGE_POLISH
+    , wxLANGUAGE_PORTUGUESE
+    , wxLANGUAGE_PORTUGUESE_BRAZILIAN
+    , wxLANGUAGE_PUNJABI
+    , wxLANGUAGE_QUECHUA
+    , wxLANGUAGE_RHAETO_ROMANCE
+    , wxLANGUAGE_ROMANIAN
+    , wxLANGUAGE_RUSSIAN
+    , wxLANGUAGE_RUSSIAN_UKRAINE
+    , wxLANGUAGE_SAMOAN
+    , wxLANGUAGE_SANGHO
+    , wxLANGUAGE_SANSKRIT
+    , wxLANGUAGE_SCOTS_GAELIC
+    , wxLANGUAGE_SERBIAN
+    , wxLANGUAGE_SERBIAN_CYRILLIC
+    , wxLANGUAGE_SERBIAN_LATIN
+    , wxLANGUAGE_SERBO_CROATIAN
+    , wxLANGUAGE_SESOTHO
+    , wxLANGUAGE_SETSWANA
+    , wxLANGUAGE_SHONA
+    , wxLANGUAGE_SINDHI
+    , wxLANGUAGE_SINHALESE
+    , wxLANGUAGE_SISWATI
+    , wxLANGUAGE_SLOVAK
+    , wxLANGUAGE_SLOVENIAN
+    , wxLANGUAGE_SOMALI
+    , wxLANGUAGE_SPANISH
+    , wxLANGUAGE_SPANISH_ARGENTINA
+    , wxLANGUAGE_SPANISH_BOLIVIA
+    , wxLANGUAGE_SPANISH_CHILE
+    , wxLANGUAGE_SPANISH_COLOMBIA
+    , wxLANGUAGE_SPANISH_COSTA_RICA
+    , wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
+    , wxLANGUAGE_SPANISH_ECUADOR
+    , wxLANGUAGE_SPANISH_EL_SALVADOR
+    , wxLANGUAGE_SPANISH_GUATEMALA
+    , wxLANGUAGE_SPANISH_HONDURAS
+    , wxLANGUAGE_SPANISH_MEXICAN
+    , wxLANGUAGE_SPANISH_MODERN
+    , wxLANGUAGE_SPANISH_NICARAGUA
+    , wxLANGUAGE_SPANISH_PANAMA
+    , wxLANGUAGE_SPANISH_PARAGUAY
+    , wxLANGUAGE_SPANISH_PERU
+    , wxLANGUAGE_SPANISH_PUERTO_RICO
+    , wxLANGUAGE_SPANISH_URUGUAY
+    , wxLANGUAGE_SPANISH_US
+    , wxLANGUAGE_SPANISH_VENEZUELA
+    , wxLANGUAGE_SUNDANESE
+    , wxLANGUAGE_SWAHILI
+    , wxLANGUAGE_SWEDISH
+    , wxLANGUAGE_SWEDISH_FINLAND
+    , wxLANGUAGE_TAGALOG
+    , wxLANGUAGE_TAJIK
+    , wxLANGUAGE_TAMIL
+    , wxLANGUAGE_TATAR
+    , wxLANGUAGE_TELUGU
+    , wxLANGUAGE_THAI
+    , wxLANGUAGE_TIBETAN
+    , wxLANGUAGE_TIGRINYA
+    , wxLANGUAGE_TONGA
+    , wxLANGUAGE_TSONGA
+    , wxLANGUAGE_TURKISH
+    , wxLANGUAGE_TURKMEN
+    , wxLANGUAGE_TWI
+    , wxLANGUAGE_UIGHUR
+    , wxLANGUAGE_UKRAINIAN
+    , wxLANGUAGE_UNKNOWN
+    , wxLANGUAGE_URDU
+    , wxLANGUAGE_URDU_INDIA
+    , wxLANGUAGE_URDU_PAKISTAN
+    , wxLANGUAGE_USER_DEFINE
+    , wxLANGUAGE_UZBEK
+    , wxLANGUAGE_UZBEK_CYRILLIC
+    , wxLANGUAGE_UZBEK_LATIN
+    , wxLANGUAGE_VIETNAMESE
+    , wxLANGUAGE_VOLAPUK
+    , wxLANGUAGE_WELSH
+    , wxLANGUAGE_WOLOF
+    , wxLANGUAGE_XHOSA
+    , wxLANGUAGE_YIDDISH
+    , wxLANGUAGE_YORUBA
+    , wxLANGUAGE_ZHUANG
+    , wxLANGUAGE_ZULU
+    , wxLAYOUT_BOTTOM
+    , wxLAYOUT_DEFAULT_MARGIN
+    , wxLAYOUT_HORIZONTAL
+    , wxLAYOUT_LEFT
+    , wxLAYOUT_NONE
+    , wxLAYOUT_RIGHT
+    , wxLAYOUT_TOP
+    , wxLAYOUT_VERTICAL
+    , wxLB_ALWAYS_SB
+    , wxLB_EXTENDED
+    , wxLB_MULTIPLE
+    , wxLB_NEEDED_SB
+    , wxLB_OWNERDRAW
+    , wxLB_SINGLE
+    , wxLB_SORT
+    , wxLC_ALIGN_LEFT
+    , wxLC_ALIGN_TOP
+    , wxLC_AUTOARRANGE
+    , wxLC_EDIT_LABELS
+    , wxLC_HRULES
+    , wxLC_ICON
+    , wxLC_LIST
+    , wxLC_MASK_ALIGN
+    , wxLC_MASK_SORT
+    , wxLC_MASK_TYPE
+    , wxLC_NO_HEADER
+    , wxLC_NO_SORT_HEADER
+    , wxLC_REPORT
+    , wxLC_SINGLE_SEL
+    , wxLC_SMALL_ICON
+    , wxLC_SORT_ASCENDING
+    , wxLC_SORT_DESCENDING
+    , wxLC_VIRTUAL
+    , wxLC_VRULES
+    , wxLED_ALIGN_CENTER
+    , wxLED_ALIGN_LEFT
+    , wxLED_ALIGN_MASK
+    , wxLED_ALIGN_RIGHT
+    , wxLED_DRAW_FADED
+    , wxLEFT
+    , wxLIGHT
+    , wxLIGHT_GREY
+    , wxLIGHT_GREY_BRUSH
+    , wxLIGHT_GREY_PEN
+    , wxLIST_FORMAT_CENTER
+    , wxLIST_FORMAT_CENTRE
+    , wxLIST_FORMAT_LEFT
+    , wxLIST_FORMAT_RIGHT
+    , wxLIST_MASK_DATA
+    , wxLIST_MASK_FORMAT
+    , wxLIST_MASK_IMAGE
+    , wxLIST_MASK_STATE
+    , wxLIST_MASK_TEXT
+    , wxLIST_MASK_WIDTH
+    , wxLIST_NEXT_ABOVE
+    , wxLIST_NEXT_ALL
+    , wxLIST_NEXT_BELOW
+    , wxLIST_NEXT_LEFT
+    , wxLIST_NEXT_RIGHT
+    , wxLIST_STATE_CUT
+    , wxLIST_STATE_DONTCARE
+    , wxLIST_STATE_DROPHILITED
+    , wxLIST_STATE_FOCUSED
+    , wxLIST_STATE_SELECTED
+    , wxLITTLE_ENDIAN
+    , wxLOCALE_CONV_ENCODING
+    , wxLOCALE_DECIMAL_POINT
+    , wxLOCALE_LOAD_DEFAULT
+    , wxLOCALE_THOUSANDS_SEP
+    , wxLONG_DASH
+    , wxMACINTOSH
+    , wxMAXIMIZE
+    , wxMAXIMIZE_BOX
+    , wxMB_DOCKABLE
+    , wxMEDIACTRLPLAYERCONTROLS_DEFAULT
+    , wxMEDIACTRLPLAYERCONTROLS_NONE
+    , wxMEDIACTRLPLAYERCONTROLS_STEP
+    , wxMEDIACTRLPLAYERCONTROLS_VOLUME
+    , wxMEDIUM_GREY_BRUSH
+    , wxMEDIUM_GREY_PEN
+    , wxMENU_TEAROFF
+    , wxMGL_OS2
+    , wxMGL_UNIX
+    , wxMGL_WIN32
+    , wxMGL_X
+    , wxMINIMIZE_BOX
+    , wxMM_ANISOTROPIC
+    , wxMM_HIENGLISH
+    , wxMM_HIMETRIC
+    , wxMM_ISOTROPIC
+    , wxMM_LOENGLISH
+    , wxMM_LOMETRIC
+    , wxMM_METRIC
+    , wxMM_POINTS
+    , wxMM_TEXT
+    , wxMM_TWIPS
+    , wxMODERN
+    , wxMORE
+    , wxMOTIF_X
+    , wxMULTIPLE
+    , wxMUTEX_BUSY
+    , wxMUTEX_DEAD_LOCK
+    , wxMUTEX_MISC_ERROR
+    , wxMUTEX_NO_ERROR
+    , wxMUTEX_UNLOCKED
+    , wxNAND
+    , wxNB_FIXEDWIDTH
+    , wxNB_MULTILINE
+    , wxNEXTSTEP
+    , wxNO
+    , wxNOR
+    , wxNORMAL
+    , wxNORTH
+    , wxNOT_FOUND
+    , wxNO_3D
+    , wxNO_BORDER
+    , wxNO_DEFAULT
+    , wxNO_FULL_REPAINT_ON_RESIZE
+    , wxNO_OP
+    , wxNULL_FLAG
+    , wxODDEVEN_RULE
+    , wxOK
+    , wxOPEN
+    , wxOR
+    , wxOR_INVERT
+    , wxOR_REVERSE
+    , wxOS2_PM
+    , wxOVERWRITE_PROMPT
+    , wxPAPER_10X11
+    , wxPAPER_10X14
+    , wxPAPER_11X17
+    , wxPAPER_15X11
+    , wxPAPER_9X11
+    , wxPAPER_A2
+    , wxPAPER_A3
+    , wxPAPER_A3_EXTRA
+    , wxPAPER_A3_EXTRA_TRANSVERSE
+    , wxPAPER_A3_TRANSVERSE
+    , wxPAPER_A4
+    , wxPAPER_A4SMALL
+    , wxPAPER_A4_EXTRA
+    , wxPAPER_A4_PLUS
+    , wxPAPER_A4_TRANSVERSE
+    , wxPAPER_A5
+    , wxPAPER_A5_EXTRA
+    , wxPAPER_A5_TRANSVERSE
+    , wxPAPER_A_PLUS
+    , wxPAPER_B4
+    , wxPAPER_B5
+    , wxPAPER_B5_EXTRA
+    , wxPAPER_B5_TRANSVERSE
+    , wxPAPER_B_PLUS
+    , wxPAPER_CSHEET
+    , wxPAPER_DSHEET
+    , wxPAPER_ENV_10
+    , wxPAPER_ENV_11
+    , wxPAPER_ENV_12
+    , wxPAPER_ENV_14
+    , wxPAPER_ENV_9
+    , wxPAPER_ENV_B4
+    , wxPAPER_ENV_B5
+    , wxPAPER_ENV_B6
+    , wxPAPER_ENV_C3
+    , wxPAPER_ENV_C4
+    , wxPAPER_ENV_C5
+    , wxPAPER_ENV_C6
+    , wxPAPER_ENV_C65
+    , wxPAPER_ENV_DL
+    , wxPAPER_ENV_INVITE
+    , wxPAPER_ENV_ITALY
+    , wxPAPER_ENV_MONARCH
+    , wxPAPER_ENV_PERSONAL
+    , wxPAPER_ESHEET
+    , wxPAPER_EXECUTIVE
+    , wxPAPER_FANFOLD_LGL_GERMAN
+    , wxPAPER_FANFOLD_STD_GERMAN
+    , wxPAPER_FANFOLD_US
+    , wxPAPER_FOLIO
+    , wxPAPER_ISO_B4
+    , wxPAPER_JAPANESE_POSTCARD
+    , wxPAPER_LEDGER
+    , wxPAPER_LEGAL
+    , wxPAPER_LEGAL_EXTRA
+    , wxPAPER_LETTER
+    , wxPAPER_LETTERSMALL
+    , wxPAPER_LETTER_EXTRA
+    , wxPAPER_LETTER_EXTRA_TRANSVERSE
+    , wxPAPER_LETTER_PLUS
+    , wxPAPER_LETTER_TRANSVERSE
+    , wxPAPER_NONE
+    , wxPAPER_NOTE
+    , wxPAPER_QUARTO
+    , wxPAPER_STATEMENT
+    , wxPAPER_TABLOID
+    , wxPAPER_TABLOID_EXTRA
+    , wxPASSWORD
+    , wxPDP_ENDIAN
+    , wxPD_APP_MODAL
+    , wxPD_AUTO_HIDE
+    , wxPD_CAN_ABORT
+    , wxPD_ELAPSED_TIME
+    , wxPD_ESTIMATED_TIME
+    , wxPD_REMAINING_TIME
+    , wxPENSTYLE_BDIAGONAL_HATCH
+    , wxPENSTYLE_CROSSDIAG_HATCH
+    , wxPENSTYLE_CROSS_HATCH
+    , wxPENSTYLE_DOT
+    , wxPENSTYLE_DOT_DASH
+    , wxPENSTYLE_FDIAGONAL_HATCH
+    , wxPENSTYLE_FIRST_HATCH
+    , wxPENSTYLE_HORIZONTAL_HATCH
+    , wxPENSTYLE_INVALID
+    , wxPENSTYLE_LAST_HATCH
+    , wxPENSTYLE_LONG_DASH
+    , wxPENSTYLE_SHORT_DASH
+    , wxPENSTYLE_SOLID
+    , wxPENSTYLE_STIPPLE
+    , wxPENSTYLE_STIPPLE_MASK
+    , wxPENSTYLE_STIPPLE_MASK_OPAQUE
+    , wxPENSTYLE_TRANSPARENT
+    , wxPENSTYLE_USER_DASH
+    , wxPENSTYLE_VERTICAL_HATCH
+    , wxPENWINDOWS
+    , wxPG_DEFAULT_STYLE
+    , wxPLATFORM_CURRENT
+    , wxPLATFORM_MAC
+    , wxPLATFORM_OS2
+    , wxPLATFORM_UNIX
+    , wxPLATFORM_WINDOWS
+    , wxPORTRAIT
+    , wxPREVIEW_DEFAULT
+    , wxPREVIEW_FIRST
+    , wxPREVIEW_GOTO
+    , wxPREVIEW_LAST
+    , wxPREVIEW_NEXT
+    , wxPREVIEW_PREVIOUS
+    , wxPREVIEW_PRINT
+    , wxPREVIEW_ZOOM
+    , wxPRINTER_CANCELLED
+    , wxPRINTER_ERROR
+    , wxPRINTER_NO_ERROR
+    , wxPRINTID_BOTTOMMARGIN
+    , wxPRINTID_COMMAND
+    , wxPRINTID_COPIES
+    , wxPRINTID_FROM
+    , wxPRINTID_LEFTMARGIN
+    , wxPRINTID_OPTIONS
+    , wxPRINTID_ORIENTATION
+    , wxPRINTID_PAPERSIZE
+    , wxPRINTID_PRINTCOLOUR
+    , wxPRINTID_PRINTTOFILE
+    , wxPRINTID_RANGE
+    , wxPRINTID_RIGHTMARGIN
+    , wxPRINTID_SETUP
+    , wxPRINTID_STATIC
+    , wxPRINTID_TO
+    , wxPRINTID_TOPMARGIN
+    , wxPRINT_MODE_FILE
+    , wxPRINT_MODE_NONE
+    , wxPRINT_MODE_PREVIEW
+    , wxPRINT_MODE_PRINTER
+    , wxPROCESS_ENTER
+    , wxQT
+    , wxQUANTIZE_FILL_DESTINATION_IMAGE
+    , wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
+    , wxQUANTIZE_RETURN_8BIT_DATA
+    , wxRAISED_BORDER
+    , wxRA_SPECIFY_COLS
+    , wxRA_SPECIFY_ROWS
+    , wxRB_GROUP
+    , wxRED
+    , wxRED_BRUSH
+    , wxRED_PEN
+    , wxRELATIONSHIP_ABOVE
+    , wxRELATIONSHIP_ABSOLUTE
+    , wxRELATIONSHIP_ASIS
+    , wxRELATIONSHIP_BELOW
+    , wxRELATIONSHIP_LEFTOF
+    , wxRELATIONSHIP_PERCENTOF
+    , wxRELATIONSHIP_RIGHTOF
+    , wxRELATIONSHIP_SAMEAS
+    , wxRELATIONSHIP_UNCONSTRAINED
+    , wxRESERVE_SPACE_EVEN_IF_HIDDEN
+    , wxRESET
+    , wxRESIZE_BORDER
+    , wxRETAINED
+    , wxRIGHT
+    , wxROMAN
+    , wxSASH_BOTTOM
+    , wxSASH_DRAG_DRAGGING
+    , wxSASH_DRAG_LEFT_DOWN
+    , wxSASH_DRAG_NONE
+    , wxSASH_LEFT
+    , wxSASH_NONE
+    , wxSASH_RIGHT
+    , wxSASH_STATUS_OK
+    , wxSASH_STATUS_OUT_OF_RANGE
+    , wxSASH_TOP
+    , wxSAVE
+    , wxSCRIPT
+    , wxSET
+    , wxSETUP
+    , wxSHAPED
+    , wxSHORT_DASH
+    , wxSHRINK
+    , wxSIGABRT
+    , wxSIGALRM
+    , wxSIGBUS
+    , wxSIGEMT
+    , wxSIGFPE
+    , wxSIGHUP
+    , wxSIGILL
+    , wxSIGINT
+    , wxSIGKILL
+    , wxSIGNONE
+    , wxSIGPIPE
+    , wxSIGQUIT
+    , wxSIGSEGV
+    , wxSIGSYS
+    , wxSIGTERM
+    , wxSIGTRAP
+    , wxSIZER_FLAG_BITS_MASK
+    , wxSIZE_ALLOW_MINUS_ONE
+    , wxSIZE_AUTO_HEIGHT
+    , wxSIZE_AUTO_WIDTH
+    , wxSIZE_NO_ADJUSTMENTS
+    , wxSIZE_USE_EXISTING
+    , wxSLANT
+    , wxSL_AUTOTICKS
+    , wxSL_BOTH
+    , wxSL_BOTTOM
+    , wxSL_LABELS
+    , wxSL_LEFT
+    , wxSL_NOTIFY_DRAG
+    , wxSL_RIGHT
+    , wxSL_SELRANGE
+    , wxSL_TOP
+    , wxSOLID
+    , wxSOUND_ASYNC
+    , wxSOUND_LOOP
+    , wxSOUND_SYNC
+    , wxSOUTH
+    , wxSPLIT_HORIZONTAL
+    , wxSPLIT_VERTICAL
+    , wxSP_3D
+    , wxSP_3DBORDER
+    , wxSP_3DSASH
+    , wxSP_ARROW_KEYS
+    , wxSP_BORDER
+    , wxSP_FULLSASH
+    , wxSP_LIVE_UPDATE
+    , wxSP_NOBORDER
+    , wxSP_NOSASH
+    , wxSP_PERMIT_UNSPLIT
+    , wxSP_WRAP
+    , wxSQL_CHAR
+    , wxSQL_C_CHAR
+    , wxSQL_C_DATE
+    , wxSQL_C_DEFAULT
+    , wxSQL_C_DOUBLE
+    , wxSQL_C_FLOAT
+    , wxSQL_C_LONG
+    , wxSQL_C_SHORT
+    , wxSQL_C_TIME
+    , wxSQL_C_TIMESTAMP
+    , wxSQL_DATA_AT_EXEC
+    , wxSQL_DATE
+    , wxSQL_DECIMAL
+    , wxSQL_DOUBLE
+    , wxSQL_ERROR
+    , wxSQL_FETCH_ABSOLUTE
+    , wxSQL_FETCH_BOOKMARK
+    , wxSQL_FETCH_FIRST
+    , wxSQL_FETCH_LAST
+    , wxSQL_FETCH_NEXT
+    , wxSQL_FETCH_PRIOR
+    , wxSQL_FETCH_RELATIVE
+    , wxSQL_FLOAT
+    , wxSQL_INTEGER
+    , wxSQL_INVALID_HANDLE
+    , wxSQL_NO_DATA_FOUND
+    , wxSQL_NO_NULLS
+    , wxSQL_NTS
+    , wxSQL_NULLABLE
+    , wxSQL_NULLABLE_UNKNOWN
+    , wxSQL_NULL_DATA
+    , wxSQL_NUMERIC
+    , wxSQL_REAL
+    , wxSQL_SMALLINT
+    , wxSQL_SUCCESS
+    , wxSQL_SUCCESS_WITH_INFO
+    , wxSQL_TIME
+    , wxSQL_TIMESTAMP
+    , wxSQL_VARCHAR
+    , wxSRC_INVERT
+    , wxSTATIC_BORDER
+    , wxSTAY_ON_TOP
+    , wxSTC_ADA_CHARACTER
+    , wxSTC_ADA_CHARACTEREOL
+    , wxSTC_ADA_COMMENTLINE
+    , wxSTC_ADA_DEFAULT
+    , wxSTC_ADA_DELIMITER
+    , wxSTC_ADA_IDENTIFIER
+    , wxSTC_ADA_ILLEGAL
+    , wxSTC_ADA_LABEL
+    , wxSTC_ADA_NUMBER
+    , wxSTC_ADA_STRING
+    , wxSTC_ADA_STRINGEOL
+    , wxSTC_ADA_WORD
+    , wxSTC_APDL_ARGUMENT
+    , wxSTC_APDL_COMMAND
+    , wxSTC_APDL_COMMENT
+    , wxSTC_APDL_COMMENTBLOCK
+    , wxSTC_APDL_DEFAULT
+    , wxSTC_APDL_FUNCTION
+    , wxSTC_APDL_NUMBER
+    , wxSTC_APDL_OPERATOR
+    , wxSTC_APDL_PROCESSOR
+    , wxSTC_APDL_SLASHCOMMAND
+    , wxSTC_APDL_STARCOMMAND
+    , wxSTC_APDL_STRING
+    , wxSTC_APDL_WORD
+    , wxSTC_ASM_COMMENT
+    , wxSTC_ASM_CPUINSTRUCTION
+    , wxSTC_ASM_DEFAULT
+    , wxSTC_ASM_DIRECTIVE
+    , wxSTC_ASM_DIRECTIVEOPERAND
+    , wxSTC_ASM_IDENTIFIER
+    , wxSTC_ASM_MATHINSTRUCTION
+    , wxSTC_ASM_NUMBER
+    , wxSTC_ASM_OPERATOR
+    , wxSTC_ASM_REGISTER
+    , wxSTC_ASM_STRING
+    , wxSTC_ASN1_ATTRIBUTE
+    , wxSTC_ASN1_COMMENT
+    , wxSTC_ASN1_DEFAULT
+    , wxSTC_ASN1_DESCRIPTOR
+    , wxSTC_ASN1_IDENTIFIER
+    , wxSTC_ASN1_KEYWORD
+    , wxSTC_ASN1_OID
+    , wxSTC_ASN1_OPERATOR
+    , wxSTC_ASN1_SCALAR
+    , wxSTC_ASN1_STRING
+    , wxSTC_ASN1_TYPE
+    , wxSTC_AU3_COMMENT
+    , wxSTC_AU3_COMMENTBLOCK
+    , wxSTC_AU3_COMOBJ
+    , wxSTC_AU3_DEFAULT
+    , wxSTC_AU3_EXPAND
+    , wxSTC_AU3_FUNCTION
+    , wxSTC_AU3_KEYWORD
+    , wxSTC_AU3_MACRO
+    , wxSTC_AU3_NUMBER
+    , wxSTC_AU3_OPERATOR
+    , wxSTC_AU3_PREPROCESSOR
+    , wxSTC_AU3_SENT
+    , wxSTC_AU3_SPECIAL
+    , wxSTC_AU3_STRING
+    , wxSTC_AU3_VARIABLE
+    , wxSTC_AVE_COMMENT
+    , wxSTC_AVE_DEFAULT
+    , wxSTC_AVE_ENUM
+    , wxSTC_AVE_IDENTIFIER
+    , wxSTC_AVE_NUMBER
+    , wxSTC_AVE_OPERATOR
+    , wxSTC_AVE_STRING
+    , wxSTC_AVE_STRINGEOL
+    , wxSTC_AVE_WORD
+    , wxSTC_AVE_WORD1
+    , wxSTC_AVE_WORD2
+    , wxSTC_AVE_WORD3
+    , wxSTC_AVE_WORD4
+    , wxSTC_AVE_WORD5
+    , wxSTC_AVE_WORD6
+    , wxSTC_BAAN_COMMENT
+    , wxSTC_BAAN_COMMENTDOC
+    , wxSTC_BAAN_DEFAULT
+    , wxSTC_BAAN_IDENTIFIER
+    , wxSTC_BAAN_NUMBER
+    , wxSTC_BAAN_OPERATOR
+    , wxSTC_BAAN_PREPROCESSOR
+    , wxSTC_BAAN_STRING
+    , wxSTC_BAAN_STRINGEOL
+    , wxSTC_BAAN_WORD
+    , wxSTC_BAAN_WORD2
+    , wxSTC_BAT_COMMAND
+    , wxSTC_BAT_COMMENT
+    , wxSTC_BAT_DEFAULT
+    , wxSTC_BAT_HIDE
+    , wxSTC_BAT_IDENTIFIER
+    , wxSTC_BAT_LABEL
+    , wxSTC_BAT_OPERATOR
+    , wxSTC_BAT_WORD
+    , wxSTC_B_COMMENT
+    , wxSTC_B_DATE
+    , wxSTC_B_DEFAULT
+    , wxSTC_B_IDENTIFIER
+    , wxSTC_B_KEYWORD
+    , wxSTC_B_NUMBER
+    , wxSTC_B_OPERATOR
+    , wxSTC_B_PREPROCESSOR
+    , wxSTC_B_STRING
+    , wxSTC_CACHE_CARET
+    , wxSTC_CACHE_DOCUMENT
+    , wxSTC_CACHE_NONE
+    , wxSTC_CACHE_PAGE
+    , wxSTC_CAML_CHAR
+    , wxSTC_CAML_COMMENT
+    , wxSTC_CAML_COMMENT1
+    , wxSTC_CAML_COMMENT2
+    , wxSTC_CAML_COMMENT3
+    , wxSTC_CAML_DEFAULT
+    , wxSTC_CAML_IDENTIFIER
+    , wxSTC_CAML_KEYWORD
+    , wxSTC_CAML_KEYWORD2
+    , wxSTC_CAML_KEYWORD3
+    , wxSTC_CAML_LINENUM
+    , wxSTC_CAML_NUMBER
+    , wxSTC_CAML_OPERATOR
+    , wxSTC_CAML_STRING
+    , wxSTC_CAML_TAGNAME
+    , wxSTC_CARET_EVEN
+    , wxSTC_CARET_JUMPS
+    , wxSTC_CARET_SLOP
+    , wxSTC_CARET_STRICT
+    , wxSTC_CASE_LOWER
+    , wxSTC_CASE_MIXED
+    , wxSTC_CASE_UPPER
+    , wxSTC_CHARSET_ANSI
+    , wxSTC_CHARSET_ARABIC
+    , wxSTC_CHARSET_BALTIC
+    , wxSTC_CHARSET_CHINESEBIG5
+    , wxSTC_CHARSET_DEFAULT
+    , wxSTC_CHARSET_EASTEUROPE
+    , wxSTC_CHARSET_GB2312
+    , wxSTC_CHARSET_GREEK
+    , wxSTC_CHARSET_HANGUL
+    , wxSTC_CHARSET_HEBREW
+    , wxSTC_CHARSET_JOHAB
+    , wxSTC_CHARSET_MAC
+    , wxSTC_CHARSET_OEM
+    , wxSTC_CHARSET_RUSSIAN
+    , wxSTC_CHARSET_SHIFTJIS
+    , wxSTC_CHARSET_SYMBOL
+    , wxSTC_CHARSET_THAI
+    , wxSTC_CHARSET_TURKISH
+    , wxSTC_CHARSET_VIETNAMESE
+    , wxSTC_CLW_ATTRIBUTE
+    , wxSTC_CLW_BUILTIN_PROCEDURES_FUNCTION
+    , wxSTC_CLW_COMMENT
+    , wxSTC_CLW_COMPILER_DIRECTIVE
+    , wxSTC_CLW_DEFAULT
+    , wxSTC_CLW_DEPRECATED
+    , wxSTC_CLW_ERROR
+    , wxSTC_CLW_INTEGER_CONSTANT
+    , wxSTC_CLW_KEYWORD
+    , wxSTC_CLW_LABEL
+    , wxSTC_CLW_PICTURE_STRING
+    , wxSTC_CLW_REAL_CONSTANT
+    , wxSTC_CLW_RUNTIME_EXPRESSIONS
+    , wxSTC_CLW_STANDARD_EQUATE
+    , wxSTC_CLW_STRING
+    , wxSTC_CLW_STRUCTURE_DATA_TYPE
+    , wxSTC_CLW_USER_IDENTIFIER
+    , wxSTC_CMD_BACKTAB
+    , wxSTC_CMD_CANCEL
+    , wxSTC_CMD_CHARLEFT
+    , wxSTC_CMD_CHARLEFTEXTEND
+    , wxSTC_CMD_CHARLEFTRECTEXTEND
+    , wxSTC_CMD_CHARRIGHT
+    , wxSTC_CMD_CHARRIGHTEXTEND
+    , wxSTC_CMD_CHARRIGHTRECTEXTEND
+    , wxSTC_CMD_CLEAR
+    , wxSTC_CMD_COPY
+    , wxSTC_CMD_CUT
+    , wxSTC_CMD_DELETEBACK
+    , wxSTC_CMD_DELETEBACKNOTLINE
+    , wxSTC_CMD_DELLINELEFT
+    , wxSTC_CMD_DELLINERIGHT
+    , wxSTC_CMD_DELWORDLEFT
+    , wxSTC_CMD_DELWORDRIGHT
+    , wxSTC_CMD_DOCUMENTEND
+    , wxSTC_CMD_DOCUMENTENDEXTEND
+    , wxSTC_CMD_DOCUMENTSTART
+    , wxSTC_CMD_DOCUMENTSTARTEXTEND
+    , wxSTC_CMD_EDITTOGGLEOVERTYPE
+    , wxSTC_CMD_FORMFEED
+    , wxSTC_CMD_HOME
+    , wxSTC_CMD_HOMEDISPLAY
+    , wxSTC_CMD_HOMEDISPLAYEXTEND
+    , wxSTC_CMD_HOMEEXTEND
+    , wxSTC_CMD_HOMERECTEXTEND
+    , wxSTC_CMD_HOMEWRAP
+    , wxSTC_CMD_HOMEWRAPEXTEND
+    , wxSTC_CMD_LINECOPY
+    , wxSTC_CMD_LINECUT
+    , wxSTC_CMD_LINEDELETE
+    , wxSTC_CMD_LINEDOWN
+    , wxSTC_CMD_LINEDOWNEXTEND
+    , wxSTC_CMD_LINEDOWNRECTEXTEND
+    , wxSTC_CMD_LINEDUPLICATE
+    , wxSTC_CMD_LINEEND
+    , wxSTC_CMD_LINEENDDISPLAY
+    , wxSTC_CMD_LINEENDDISPLAYEXTEND
+    , wxSTC_CMD_LINEENDEXTEND
+    , wxSTC_CMD_LINEENDRECTEXTEND
+    , wxSTC_CMD_LINEENDWRAP
+    , wxSTC_CMD_LINEENDWRAPEXTEND
+    , wxSTC_CMD_LINESCROLLDOWN
+    , wxSTC_CMD_LINESCROLLUP
+    , wxSTC_CMD_LINETRANSPOSE
+    , wxSTC_CMD_LINEUP
+    , wxSTC_CMD_LINEUPEXTEND
+    , wxSTC_CMD_LINEUPRECTEXTEND
+    , wxSTC_CMD_LOWERCASE
+    , wxSTC_CMD_NEWLINE
+    , wxSTC_CMD_PAGEDOWN
+    , wxSTC_CMD_PAGEDOWNEXTEND
+    , wxSTC_CMD_PAGEDOWNRECTEXTEND
+    , wxSTC_CMD_PAGEUP
+    , wxSTC_CMD_PAGEUPEXTEND
+    , wxSTC_CMD_PAGEUPRECTEXTEND
+    , wxSTC_CMD_PARADOWN
+    , wxSTC_CMD_PARADOWNEXTEND
+    , wxSTC_CMD_PARAUP
+    , wxSTC_CMD_PARAUPEXTEND
+    , wxSTC_CMD_PASTE
+    , wxSTC_CMD_REDO
+    , wxSTC_CMD_SELECTALL
+    , wxSTC_CMD_STUTTEREDPAGEDOWN
+    , wxSTC_CMD_STUTTEREDPAGEDOWNEXTEND
+    , wxSTC_CMD_STUTTEREDPAGEUP
+    , wxSTC_CMD_STUTTEREDPAGEUPEXTEND
+    , wxSTC_CMD_TAB
+    , wxSTC_CMD_UNDO
+    , wxSTC_CMD_UPPERCASE
+    , wxSTC_CMD_VCHOME
+    , wxSTC_CMD_VCHOMEEXTEND
+    , wxSTC_CMD_VCHOMERECTEXTEND
+    , wxSTC_CMD_VCHOMEWRAP
+    , wxSTC_CMD_VCHOMEWRAPEXTEND
+    , wxSTC_CMD_WORDLEFT
+    , wxSTC_CMD_WORDLEFTEND
+    , wxSTC_CMD_WORDLEFTENDEXTEND
+    , wxSTC_CMD_WORDLEFTEXTEND
+    , wxSTC_CMD_WORDPARTLEFT
+    , wxSTC_CMD_WORDPARTLEFTEXTEND
+    , wxSTC_CMD_WORDPARTRIGHT
+    , wxSTC_CMD_WORDPARTRIGHTEXTEND
+    , wxSTC_CMD_WORDRIGHT
+    , wxSTC_CMD_WORDRIGHTEND
+    , wxSTC_CMD_WORDRIGHTENDEXTEND
+    , wxSTC_CMD_WORDRIGHTEXTEND
+    , wxSTC_CMD_ZOOMIN
+    , wxSTC_CMD_ZOOMOUT
+    , wxSTC_CONF_COMMENT
+    , wxSTC_CONF_DEFAULT
+    , wxSTC_CONF_DIRECTIVE
+    , wxSTC_CONF_EXTENSION
+    , wxSTC_CONF_IDENTIFIER
+    , wxSTC_CONF_IP
+    , wxSTC_CONF_NUMBER
+    , wxSTC_CONF_OPERATOR
+    , wxSTC_CONF_PARAMETER
+    , wxSTC_CONF_STRING
+    , wxSTC_CP_DBCS
+    , wxSTC_CP_UTF8
+    , wxSTC_CSOUND_ARATE_VAR
+    , wxSTC_CSOUND_COMMENT
+    , wxSTC_CSOUND_COMMENTBLOCK
+    , wxSTC_CSOUND_DEFAULT
+    , wxSTC_CSOUND_GLOBAL_VAR
+    , wxSTC_CSOUND_HEADERSTMT
+    , wxSTC_CSOUND_IDENTIFIER
+    , wxSTC_CSOUND_INSTR
+    , wxSTC_CSOUND_IRATE_VAR
+    , wxSTC_CSOUND_KRATE_VAR
+    , wxSTC_CSOUND_NUMBER
+    , wxSTC_CSOUND_OPCODE
+    , wxSTC_CSOUND_OPERATOR
+    , wxSTC_CSOUND_PARAM
+    , wxSTC_CSOUND_STRINGEOL
+    , wxSTC_CSOUND_USERKEYWORD
+    , wxSTC_CSS_CLASS
+    , wxSTC_CSS_COMMENT
+    , wxSTC_CSS_DEFAULT
+    , wxSTC_CSS_DIRECTIVE
+    , wxSTC_CSS_DOUBLESTRING
+    , wxSTC_CSS_ID
+    , wxSTC_CSS_IDENTIFIER
+    , wxSTC_CSS_IMPORTANT
+    , wxSTC_CSS_OPERATOR
+    , wxSTC_CSS_PSEUDOCLASS
+    , wxSTC_CSS_SINGLESTRING
+    , wxSTC_CSS_TAG
+    , wxSTC_CSS_UNKNOWN_IDENTIFIER
+    , wxSTC_CSS_UNKNOWN_PSEUDOCLASS
+    , wxSTC_CSS_VALUE
+    , wxSTC_CURSORNORMAL
+    , wxSTC_CURSORWAIT
+    , wxSTC_C_CHARACTER
+    , wxSTC_C_COMMENT
+    , wxSTC_C_COMMENTDOC
+    , wxSTC_C_COMMENTDOCKEYWORD
+    , wxSTC_C_COMMENTDOCKEYWORDERROR
+    , wxSTC_C_COMMENTLINE
+    , wxSTC_C_COMMENTLINEDOC
+    , wxSTC_C_DEFAULT
+    , wxSTC_C_GLOBALCLASS
+    , wxSTC_C_IDENTIFIER
+    , wxSTC_C_NUMBER
+    , wxSTC_C_OPERATOR
+    , wxSTC_C_PREPROCESSOR
+    , wxSTC_C_REGEX
+    , wxSTC_C_STRING
+    , wxSTC_C_STRINGEOL
+    , wxSTC_C_UUID
+    , wxSTC_C_VERBATIM
+    , wxSTC_C_WORD
+    , wxSTC_C_WORD2
+    , wxSTC_DIFF_ADDED
+    , wxSTC_DIFF_COMMAND
+    , wxSTC_DIFF_COMMENT
+    , wxSTC_DIFF_DEFAULT
+    , wxSTC_DIFF_DELETED
+    , wxSTC_DIFF_HEADER
+    , wxSTC_DIFF_POSITION
+    , wxSTC_EDGE_BACKGROUND
+    , wxSTC_EDGE_LINE
+    , wxSTC_EDGE_NONE
+    , wxSTC_EIFFEL_CHARACTER
+    , wxSTC_EIFFEL_COMMENTLINE
+    , wxSTC_EIFFEL_DEFAULT
+    , wxSTC_EIFFEL_IDENTIFIER
+    , wxSTC_EIFFEL_NUMBER
+    , wxSTC_EIFFEL_OPERATOR
+    , wxSTC_EIFFEL_STRING
+    , wxSTC_EIFFEL_STRINGEOL
+    , wxSTC_EIFFEL_WORD
+    , wxSTC_EOL_CR
+    , wxSTC_EOL_CRLF
+    , wxSTC_EOL_LF
+    , wxSTC_ERLANG_ATOM
+    , wxSTC_ERLANG_CHARACTER
+    , wxSTC_ERLANG_COMMENT
+    , wxSTC_ERLANG_DEFAULT
+    , wxSTC_ERLANG_FUNCTION_NAME
+    , wxSTC_ERLANG_KEYWORD
+    , wxSTC_ERLANG_MACRO
+    , wxSTC_ERLANG_NODE_NAME
+    , wxSTC_ERLANG_NUMBER
+    , wxSTC_ERLANG_OPERATOR
+    , wxSTC_ERLANG_RECORD
+    , wxSTC_ERLANG_SEPARATOR
+    , wxSTC_ERLANG_STRING
+    , wxSTC_ERLANG_UNKNOWN
+    , wxSTC_ERLANG_VARIABLE
+    , wxSTC_ERR_BORLAND
+    , wxSTC_ERR_CMD
+    , wxSTC_ERR_CTAG
+    , wxSTC_ERR_DEFAULT
+    , wxSTC_ERR_DIFF_ADDITION
+    , wxSTC_ERR_DIFF_CHANGED
+    , wxSTC_ERR_DIFF_DELETION
+    , wxSTC_ERR_DIFF_MESSAGE
+    , wxSTC_ERR_ELF
+    , wxSTC_ERR_GCC
+    , wxSTC_ERR_IFC
+    , wxSTC_ERR_LUA
+    , wxSTC_ERR_MS
+    , wxSTC_ERR_NET
+    , wxSTC_ERR_PERL
+    , wxSTC_ERR_PHP
+    , wxSTC_ERR_PYTHON
+    , wxSTC_ESCRIPT_BRACE
+    , wxSTC_ESCRIPT_COMMENT
+    , wxSTC_ESCRIPT_COMMENTDOC
+    , wxSTC_ESCRIPT_COMMENTLINE
+    , wxSTC_ESCRIPT_DEFAULT
+    , wxSTC_ESCRIPT_IDENTIFIER
+    , wxSTC_ESCRIPT_NUMBER
+    , wxSTC_ESCRIPT_OPERATOR
+    , wxSTC_ESCRIPT_STRING
+    , wxSTC_ESCRIPT_WORD
+    , wxSTC_ESCRIPT_WORD2
+    , wxSTC_ESCRIPT_WORD3
+    , wxSTC_FIND_MATCHCASE
+    , wxSTC_FIND_POSIX
+    , wxSTC_FIND_REGEXP
+    , wxSTC_FIND_WHOLEWORD
+    , wxSTC_FIND_WORDSTART
+    , wxSTC_FOLDFLAG_BOX
+    , wxSTC_FOLDFLAG_LEVELNUMBERS
+    , wxSTC_FOLDFLAG_LINEAFTER_CONTRACTED
+    , wxSTC_FOLDFLAG_LINEAFTER_EXPANDED
+    , wxSTC_FOLDFLAG_LINEBEFORE_CONTRACTED
+    , wxSTC_FOLDFLAG_LINEBEFORE_EXPANDED
+    , wxSTC_FOLDLEVELBASE
+    , wxSTC_FOLDLEVELBOXFOOTERFLAG
+    , wxSTC_FOLDLEVELBOXHEADERFLAG
+    , wxSTC_FOLDLEVELCONTRACTED
+    , wxSTC_FOLDLEVELHEADERFLAG
+    , wxSTC_FOLDLEVELNUMBERMASK
+    , wxSTC_FOLDLEVELUNINDENT
+    , wxSTC_FOLDLEVELWHITEFLAG
+    , wxSTC_FS_ASM
+    , wxSTC_FS_BINNUMBER
+    , wxSTC_FS_COMMENT
+    , wxSTC_FS_COMMENTDOC
+    , wxSTC_FS_COMMENTDOCKEYWORD
+    , wxSTC_FS_COMMENTDOCKEYWORDERROR
+    , wxSTC_FS_COMMENTLINE
+    , wxSTC_FS_COMMENTLINEDOC
+    , wxSTC_FS_CONSTANT
+    , wxSTC_FS_DATE
+    , wxSTC_FS_DEFAULT
+    , wxSTC_FS_ERROR
+    , wxSTC_FS_HEXNUMBER
+    , wxSTC_FS_IDENTIFIER
+    , wxSTC_FS_KEYWORD
+    , wxSTC_FS_KEYWORD2
+    , wxSTC_FS_KEYWORD3
+    , wxSTC_FS_KEYWORD4
+    , wxSTC_FS_LABEL
+    , wxSTC_FS_NUMBER
+    , wxSTC_FS_OPERATOR
+    , wxSTC_FS_PREPROCESSOR
+    , wxSTC_FS_STRING
+    , wxSTC_FS_STRINGEOL
+    , wxSTC_F_COMMENT
+    , wxSTC_F_CONTINUATION
+    , wxSTC_F_DEFAULT
+    , wxSTC_F_IDENTIFIER
+    , wxSTC_F_LABEL
+    , wxSTC_F_NUMBER
+    , wxSTC_F_OPERATOR
+    , wxSTC_F_OPERATOR2
+    , wxSTC_F_PREPROCESSOR
+    , wxSTC_F_STRING1
+    , wxSTC_F_STRING2
+    , wxSTC_F_STRINGEOL
+    , wxSTC_F_WORD
+    , wxSTC_F_WORD2
+    , wxSTC_F_WORD3
+    , wxSTC_GC_ATTRIBUTE
+    , wxSTC_GC_COMMAND
+    , wxSTC_GC_COMMENTBLOCK
+    , wxSTC_GC_COMMENTLINE
+    , wxSTC_GC_CONTROL
+    , wxSTC_GC_DEFAULT
+    , wxSTC_GC_EVENT
+    , wxSTC_GC_GLOBAL
+    , wxSTC_GC_OPERATOR
+    , wxSTC_GC_STRING
+    , wxSTC_HA_CAPITAL
+    , wxSTC_HA_CHARACTER
+    , wxSTC_HA_CLASS
+    , wxSTC_HA_COMMENTBLOCK
+    , wxSTC_HA_COMMENTBLOCK2
+    , wxSTC_HA_COMMENTBLOCK3
+    , wxSTC_HA_COMMENTLINE
+    , wxSTC_HA_DATA
+    , wxSTC_HA_DEFAULT
+    , wxSTC_HA_IDENTIFIER
+    , wxSTC_HA_IMPORT
+    , wxSTC_HA_INSTANCE
+    , wxSTC_HA_KEYWORD
+    , wxSTC_HA_MODULE
+    , wxSTC_HA_NUMBER
+    , wxSTC_HA_OPERATOR
+    , wxSTC_HA_PREPROCESSOR
+    , wxSTC_HA_STRING
+    , wxSTC_HBA_COMMENTLINE
+    , wxSTC_HBA_DEFAULT
+    , wxSTC_HBA_IDENTIFIER
+    , wxSTC_HBA_NUMBER
+    , wxSTC_HBA_START
+    , wxSTC_HBA_STRING
+    , wxSTC_HBA_STRINGEOL
+    , wxSTC_HBA_WORD
+    , wxSTC_HB_COMMENTLINE
+    , wxSTC_HB_DEFAULT
+    , wxSTC_HB_IDENTIFIER
+    , wxSTC_HB_NUMBER
+    , wxSTC_HB_START
+    , wxSTC_HB_STRING
+    , wxSTC_HB_STRINGEOL
+    , wxSTC_HB_WORD
+    , wxSTC_HJA_COMMENT
+    , wxSTC_HJA_COMMENTDOC
+    , wxSTC_HJA_COMMENTLINE
+    , wxSTC_HJA_DEFAULT
+    , wxSTC_HJA_DOUBLESTRING
+    , wxSTC_HJA_KEYWORD
+    , wxSTC_HJA_NUMBER
+    , wxSTC_HJA_REGEX
+    , wxSTC_HJA_SINGLESTRING
+    , wxSTC_HJA_START
+    , wxSTC_HJA_STRINGEOL
+    , wxSTC_HJA_SYMBOLS
+    , wxSTC_HJA_WORD
+    , wxSTC_HJ_COMMENT
+    , wxSTC_HJ_COMMENTDOC
+    , wxSTC_HJ_COMMENTLINE
+    , wxSTC_HJ_DEFAULT
+    , wxSTC_HJ_DOUBLESTRING
+    , wxSTC_HJ_KEYWORD
+    , wxSTC_HJ_NUMBER
+    , wxSTC_HJ_REGEX
+    , wxSTC_HJ_SINGLESTRING
+    , wxSTC_HJ_START
+    , wxSTC_HJ_STRINGEOL
+    , wxSTC_HJ_SYMBOLS
+    , wxSTC_HJ_WORD
+    , wxSTC_HPA_CHARACTER
+    , wxSTC_HPA_CLASSNAME
+    , wxSTC_HPA_COMMENTLINE
+    , wxSTC_HPA_DEFAULT
+    , wxSTC_HPA_DEFNAME
+    , wxSTC_HPA_IDENTIFIER
+    , wxSTC_HPA_NUMBER
+    , wxSTC_HPA_OPERATOR
+    , wxSTC_HPA_START
+    , wxSTC_HPA_STRING
+    , wxSTC_HPA_TRIPLE
+    , wxSTC_HPA_TRIPLEDOUBLE
+    , wxSTC_HPA_WORD
+    , wxSTC_HPHP_COMMENT
+    , wxSTC_HPHP_COMMENTLINE
+    , wxSTC_HPHP_DEFAULT
+    , wxSTC_HPHP_HSTRING
+    , wxSTC_HPHP_HSTRING_VARIABLE
+    , wxSTC_HPHP_NUMBER
+    , wxSTC_HPHP_OPERATOR
+    , wxSTC_HPHP_SIMPLESTRING
+    , wxSTC_HPHP_VARIABLE
+    , wxSTC_HPHP_WORD
+    , wxSTC_HP_CHARACTER
+    , wxSTC_HP_CLASSNAME
+    , wxSTC_HP_COMMENTLINE
+    , wxSTC_HP_DEFAULT
+    , wxSTC_HP_DEFNAME
+    , wxSTC_HP_IDENTIFIER
+    , wxSTC_HP_NUMBER
+    , wxSTC_HP_OPERATOR
+    , wxSTC_HP_START
+    , wxSTC_HP_STRING
+    , wxSTC_HP_TRIPLE
+    , wxSTC_HP_TRIPLEDOUBLE
+    , wxSTC_HP_WORD
+    , wxSTC_H_ASP
+    , wxSTC_H_ASPAT
+    , wxSTC_H_ATTRIBUTE
+    , wxSTC_H_ATTRIBUTEUNKNOWN
+    , wxSTC_H_CDATA
+    , wxSTC_H_COMMENT
+    , wxSTC_H_DEFAULT
+    , wxSTC_H_DOUBLESTRING
+    , wxSTC_H_ENTITY
+    , wxSTC_H_NUMBER
+    , wxSTC_H_OTHER
+    , wxSTC_H_QUESTION
+    , wxSTC_H_SCRIPT
+    , wxSTC_H_SGML_1ST_PARAM
+    , wxSTC_H_SGML_1ST_PARAM_COMMENT
+    , wxSTC_H_SGML_BLOCK_DEFAULT
+    , wxSTC_H_SGML_COMMAND
+    , wxSTC_H_SGML_COMMENT
+    , wxSTC_H_SGML_DEFAULT
+    , wxSTC_H_SGML_DOUBLESTRING
+    , wxSTC_H_SGML_ENTITY
+    , wxSTC_H_SGML_ERROR
+    , wxSTC_H_SGML_SIMPLESTRING
+    , wxSTC_H_SGML_SPECIAL
+    , wxSTC_H_SINGLESTRING
+    , wxSTC_H_TAG
+    , wxSTC_H_TAGEND
+    , wxSTC_H_TAGUNKNOWN
+    , wxSTC_H_VALUE
+    , wxSTC_H_XCCOMMENT
+    , wxSTC_H_XMLEND
+    , wxSTC_H_XMLSTART
+    , wxSTC_INDIC0_MASK
+    , wxSTC_INDIC1_MASK
+    , wxSTC_INDIC2_MASK
+    , wxSTC_INDICS_MASK
+    , wxSTC_INDIC_DIAGONAL
+    , wxSTC_INDIC_HIDDEN
+    , wxSTC_INDIC_MAX
+    , wxSTC_INDIC_PLAIN
+    , wxSTC_INDIC_SQUIGGLE
+    , wxSTC_INDIC_STRIKE
+    , wxSTC_INDIC_TT
+    , wxSTC_INVALID_POSITION
+    , wxSTC_KEYWORDSET_MAX
+    , wxSTC_KEY_ADD
+    , wxSTC_KEY_BACK
+    , wxSTC_KEY_DELETE
+    , wxSTC_KEY_DIVIDE
+    , wxSTC_KEY_DOWN
+    , wxSTC_KEY_END
+    , wxSTC_KEY_ESCAPE
+    , wxSTC_KEY_HOME
+    , wxSTC_KEY_INSERT
+    , wxSTC_KEY_LEFT
+    , wxSTC_KEY_NEXT
+    , wxSTC_KEY_PRIOR
+    , wxSTC_KEY_RETURN
+    , wxSTC_KEY_RIGHT
+    , wxSTC_KEY_SUBTRACT
+    , wxSTC_KEY_TAB
+    , wxSTC_KEY_UP
+    , wxSTC_KIX_COMMENT
+    , wxSTC_KIX_DEFAULT
+    , wxSTC_KIX_FUNCTIONS
+    , wxSTC_KIX_IDENTIFIER
+    , wxSTC_KIX_KEYWORD
+    , wxSTC_KIX_MACRO
+    , wxSTC_KIX_NUMBER
+    , wxSTC_KIX_OPERATOR
+    , wxSTC_KIX_STRING1
+    , wxSTC_KIX_STRING2
+    , wxSTC_KIX_VAR
+    , wxSTC_LASTSTEPINUNDOREDO
+    , wxSTC_LEXER_START
+    , wxSTC_LEX_ADA
+    , wxSTC_LEX_ASM
+    , wxSTC_LEX_ASP
+    , wxSTC_LEX_AUTOMATIC
+    , wxSTC_LEX_AVE
+    , wxSTC_LEX_BAAN
+    , wxSTC_LEX_BATCH
+    , wxSTC_LEX_BULLANT
+    , wxSTC_LEX_CONF
+    , wxSTC_LEX_CONTAINER
+    , wxSTC_LEX_CPP
+    , wxSTC_LEX_CPPNOCASE
+    , wxSTC_LEX_CSOUND
+    , wxSTC_LEX_CSS
+    , wxSTC_LEX_DIFF
+    , wxSTC_LEX_EIFFEL
+    , wxSTC_LEX_EIFFELKW
+    , wxSTC_LEX_ERRORLIST
+    , wxSTC_LEX_ESCRIPT
+    , wxSTC_LEX_F77
+    , wxSTC_LEX_FLAGSHIP
+    , wxSTC_LEX_FORTRAN
+    , wxSTC_LEX_FREEBASIC
+    , wxSTC_LEX_HASKELL
+    , wxSTC_LEX_HTML
+    , wxSTC_LEX_LATEX
+    , wxSTC_LEX_LISP
+    , wxSTC_LEX_LOUT
+    , wxSTC_LEX_LUA
+    , wxSTC_LEX_MAKEFILE
+    , wxSTC_LEX_MATLAB
+    , wxSTC_LEX_MMIXAL
+    , wxSTC_LEX_NNCRONTAB
+    , wxSTC_LEX_NSIS
+    , wxSTC_LEX_NULL
+    , wxSTC_LEX_PASCAL
+    , wxSTC_LEX_PERL
+    , wxSTC_LEX_PHP
+    , wxSTC_LEX_PHPSCRIPT
+    , wxSTC_LEX_POV
+    , wxSTC_LEX_PROPERTIES
+    , wxSTC_LEX_PS
+    , wxSTC_LEX_PYTHON
+    , wxSTC_LEX_REBOL
+    , wxSTC_LEX_RUBY
+    , wxSTC_LEX_SCRIPTOL
+    , wxSTC_LEX_SMALLTALK
+    , wxSTC_LEX_SQL
+    , wxSTC_LEX_TADS3
+    , wxSTC_LEX_TCL
+    , wxSTC_LEX_VB
+    , wxSTC_LEX_VBSCRIPT
+    , wxSTC_LEX_XCODE
+    , wxSTC_LEX_XML
+    , wxSTC_LISP_COMMENT
+    , wxSTC_LISP_DEFAULT
+    , wxSTC_LISP_IDENTIFIER
+    , wxSTC_LISP_KEYWORD
+    , wxSTC_LISP_NUMBER
+    , wxSTC_LISP_OPERATOR
+    , wxSTC_LISP_STRING
+    , wxSTC_LISP_STRINGEOL
+    , wxSTC_LOT_ABORT
+    , wxSTC_LOT_BREAK
+    , wxSTC_LOT_DEFAULT
+    , wxSTC_LOT_FAIL
+    , wxSTC_LOT_HEADER
+    , wxSTC_LOT_PASS
+    , wxSTC_LOT_SET
+    , wxSTC_LOUT_COMMENT
+    , wxSTC_LOUT_DEFAULT
+    , wxSTC_LOUT_IDENTIFIER
+    , wxSTC_LOUT_NUMBER
+    , wxSTC_LOUT_OPERATOR
+    , wxSTC_LOUT_STRING
+    , wxSTC_LOUT_STRINGEOL
+    , wxSTC_LOUT_WORD
+    , wxSTC_LOUT_WORD2
+    , wxSTC_LOUT_WORD3
+    , wxSTC_LOUT_WORD4
+    , wxSTC_LUA_CHARACTER
+    , wxSTC_LUA_COMMENT
+    , wxSTC_LUA_COMMENTDOC
+    , wxSTC_LUA_COMMENTLINE
+    , wxSTC_LUA_DEFAULT
+    , wxSTC_LUA_IDENTIFIER
+    , wxSTC_LUA_LITERALSTRING
+    , wxSTC_LUA_NUMBER
+    , wxSTC_LUA_OPERATOR
+    , wxSTC_LUA_PREPROCESSOR
+    , wxSTC_LUA_STRING
+    , wxSTC_LUA_STRINGEOL
+    , wxSTC_LUA_WORD
+    , wxSTC_LUA_WORD2
+    , wxSTC_LUA_WORD3
+    , wxSTC_LUA_WORD4
+    , wxSTC_LUA_WORD5
+    , wxSTC_LUA_WORD6
+    , wxSTC_LUA_WORD7
+    , wxSTC_LUA_WORD8
+    , wxSTC_L_COMMAND
+    , wxSTC_L_COMMENT
+    , wxSTC_L_DEFAULT
+    , wxSTC_L_MATH
+    , wxSTC_L_TAG
+    , wxSTC_MAKE_COMMENT
+    , wxSTC_MAKE_DEFAULT
+    , wxSTC_MAKE_IDENTIFIER
+    , wxSTC_MAKE_IDEOL
+    , wxSTC_MAKE_OPERATOR
+    , wxSTC_MAKE_PREPROCESSOR
+    , wxSTC_MAKE_TARGET
+    , wxSTC_MARGIN_NUMBER
+    , wxSTC_MARGIN_SYMBOL
+    , wxSTC_MARKER_MAX
+    , wxSTC_MARKNUM_FOLDER
+    , wxSTC_MARKNUM_FOLDEREND
+    , wxSTC_MARKNUM_FOLDERMIDTAIL
+    , wxSTC_MARKNUM_FOLDEROPEN
+    , wxSTC_MARKNUM_FOLDEROPENMID
+    , wxSTC_MARKNUM_FOLDERSUB
+    , wxSTC_MARKNUM_FOLDERTAIL
+    , wxSTC_MARK_ARROW
+    , wxSTC_MARK_ARROWDOWN
+    , wxSTC_MARK_ARROWS
+    , wxSTC_MARK_BACKGROUND
+    , wxSTC_MARK_BOXMINUS
+    , wxSTC_MARK_BOXMINUSCONNECTED
+    , wxSTC_MARK_BOXPLUS
+    , wxSTC_MARK_BOXPLUSCONNECTED
+    , wxSTC_MARK_CHARACTER
+    , wxSTC_MARK_CIRCLE
+    , wxSTC_MARK_CIRCLEMINUS
+    , wxSTC_MARK_CIRCLEMINUSCONNECTED
+    , wxSTC_MARK_CIRCLEPLUS
+    , wxSTC_MARK_CIRCLEPLUSCONNECTED
+    , wxSTC_MARK_DOTDOTDOT
+    , wxSTC_MARK_EMPTY
+    , wxSTC_MARK_LCORNER
+    , wxSTC_MARK_LCORNERCURVE
+    , wxSTC_MARK_MINUS
+    , wxSTC_MARK_PIXMAP
+    , wxSTC_MARK_PLUS
+    , wxSTC_MARK_ROUNDRECT
+    , wxSTC_MARK_SHORTARROW
+    , wxSTC_MARK_SMALLRECT
+    , wxSTC_MARK_TCORNER
+    , wxSTC_MARK_TCORNERCURVE
+    , wxSTC_MARK_VLINE
+    , wxSTC_MASK_FOLDERS
+    , wxSTC_MATLAB_COMMAND
+    , wxSTC_MATLAB_COMMENT
+    , wxSTC_MATLAB_DEFAULT
+    , wxSTC_MATLAB_IDENTIFIER
+    , wxSTC_MATLAB_KEYWORD
+    , wxSTC_MATLAB_NUMBER
+    , wxSTC_MATLAB_OPERATOR
+    , wxSTC_MATLAB_STRING
+    , wxSTC_METAPOST_COMMAND
+    , wxSTC_METAPOST_DEFAULT
+    , wxSTC_METAPOST_EXTRA
+    , wxSTC_METAPOST_GROUP
+    , wxSTC_METAPOST_SPECIAL
+    , wxSTC_METAPOST_SYMBOL
+    , wxSTC_METAPOST_TEXT
+    , wxSTC_MMIXAL_CHAR
+    , wxSTC_MMIXAL_COMMENT
+    , wxSTC_MMIXAL_HEX
+    , wxSTC_MMIXAL_INCLUDE
+    , wxSTC_MMIXAL_LABEL
+    , wxSTC_MMIXAL_LEADWS
+    , wxSTC_MMIXAL_NUMBER
+    , wxSTC_MMIXAL_OPCODE
+    , wxSTC_MMIXAL_OPCODE_POST
+    , wxSTC_MMIXAL_OPCODE_PRE
+    , wxSTC_MMIXAL_OPCODE_UNKNOWN
+    , wxSTC_MMIXAL_OPCODE_VALID
+    , wxSTC_MMIXAL_OPERANDS
+    , wxSTC_MMIXAL_OPERATOR
+    , wxSTC_MMIXAL_REF
+    , wxSTC_MMIXAL_REGISTER
+    , wxSTC_MMIXAL_STRING
+    , wxSTC_MMIXAL_SYMBOL
+    , wxSTC_MODEVENTMASKALL
+    , wxSTC_MOD_BEFOREDELETE
+    , wxSTC_MOD_BEFOREINSERT
+    , wxSTC_MOD_CHANGEFOLD
+    , wxSTC_MOD_CHANGEMARKER
+    , wxSTC_MOD_CHANGESTYLE
+    , wxSTC_MOD_DELETETEXT
+    , wxSTC_MOD_INSERTTEXT
+    , wxSTC_MSSQL_COLUMN_NAME
+    , wxSTC_MSSQL_COLUMN_NAME_2
+    , wxSTC_MSSQL_COMMENT
+    , wxSTC_MSSQL_DATATYPE
+    , wxSTC_MSSQL_DEFAULT
+    , wxSTC_MSSQL_DEFAULT_PREF_DATATYPE
+    , wxSTC_MSSQL_FUNCTION
+    , wxSTC_MSSQL_GLOBAL_VARIABLE
+    , wxSTC_MSSQL_IDENTIFIER
+    , wxSTC_MSSQL_LINE_COMMENT
+    , wxSTC_MSSQL_NUMBER
+    , wxSTC_MSSQL_OPERATOR
+    , wxSTC_MSSQL_STATEMENT
+    , wxSTC_MSSQL_STORED_PROCEDURE
+    , wxSTC_MSSQL_STRING
+    , wxSTC_MSSQL_SYSTABLE
+    , wxSTC_MSSQL_VARIABLE
+    , wxSTC_NNCRONTAB_ASTERISK
+    , wxSTC_NNCRONTAB_COMMENT
+    , wxSTC_NNCRONTAB_DEFAULT
+    , wxSTC_NNCRONTAB_ENVIRONMENT
+    , wxSTC_NNCRONTAB_IDENTIFIER
+    , wxSTC_NNCRONTAB_KEYWORD
+    , wxSTC_NNCRONTAB_MODIFIER
+    , wxSTC_NNCRONTAB_NUMBER
+    , wxSTC_NNCRONTAB_SECTION
+    , wxSTC_NNCRONTAB_STRING
+    , wxSTC_NNCRONTAB_TASK
+    , wxSTC_NSIS_COMMENT
+    , wxSTC_NSIS_DEFAULT
+    , wxSTC_NSIS_FUNCTION
+    , wxSTC_NSIS_IFDEFINEDEF
+    , wxSTC_NSIS_LABEL
+    , wxSTC_NSIS_MACRODEF
+    , wxSTC_NSIS_SECTIONDEF
+    , wxSTC_NSIS_STRINGDQ
+    , wxSTC_NSIS_STRINGLQ
+    , wxSTC_NSIS_STRINGRQ
+    , wxSTC_NSIS_STRINGVAR
+    , wxSTC_NSIS_SUBSECTIONDEF
+    , wxSTC_NSIS_USERDEFINED
+    , wxSTC_NSIS_VARIABLE
+    , wxSTC_OPTIONAL_START
+    , wxSTC_PERFORMED_REDO
+    , wxSTC_PERFORMED_UNDO
+    , wxSTC_PERFORMED_USER
+    , wxSTC_PL_ARRAY
+    , wxSTC_PL_BACKTICKS
+    , wxSTC_PL_CHARACTER
+    , wxSTC_PL_COMMENTLINE
+    , wxSTC_PL_DATASECTION
+    , wxSTC_PL_DEFAULT
+    , wxSTC_PL_ERROR
+    , wxSTC_PL_HASH
+    , wxSTC_PL_HERE_DELIM
+    , wxSTC_PL_HERE_Q
+    , wxSTC_PL_HERE_QQ
+    , wxSTC_PL_HERE_QX
+    , wxSTC_PL_IDENTIFIER
+    , wxSTC_PL_LONGQUOTE
+    , wxSTC_PL_NUMBER
+    , wxSTC_PL_OPERATOR
+    , wxSTC_PL_POD
+    , wxSTC_PL_PREPROCESSOR
+    , wxSTC_PL_PUNCTUATION
+    , wxSTC_PL_REGEX
+    , wxSTC_PL_REGSUBST
+    , wxSTC_PL_SCALAR
+    , wxSTC_PL_STRING
+    , wxSTC_PL_STRING_Q
+    , wxSTC_PL_STRING_QQ
+    , wxSTC_PL_STRING_QR
+    , wxSTC_PL_STRING_QW
+    , wxSTC_PL_STRING_QX
+    , wxSTC_PL_SYMBOLTABLE
+    , wxSTC_PL_WORD
+    , wxSTC_POV_BADDIRECTIVE
+    , wxSTC_POV_COMMENT
+    , wxSTC_POV_COMMENTLINE
+    , wxSTC_POV_DEFAULT
+    , wxSTC_POV_DIRECTIVE
+    , wxSTC_POV_IDENTIFIER
+    , wxSTC_POV_NUMBER
+    , wxSTC_POV_OPERATOR
+    , wxSTC_POV_STRING
+    , wxSTC_POV_STRINGEOL
+    , wxSTC_POV_WORD2
+    , wxSTC_POV_WORD3
+    , wxSTC_POV_WORD4
+    , wxSTC_POV_WORD5
+    , wxSTC_POV_WORD6
+    , wxSTC_POV_WORD7
+    , wxSTC_POV_WORD8
+    , wxSTC_PRINT_BLACKONWHITE
+    , wxSTC_PRINT_COLOURONWHITE
+    , wxSTC_PRINT_COLOURONWHITEDEFAULTBG
+    , wxSTC_PRINT_INVERTLIGHT
+    , wxSTC_PRINT_NORMAL
+    , wxSTC_PROPS_ASSIGNMENT
+    , wxSTC_PROPS_COMMENT
+    , wxSTC_PROPS_DEFAULT
+    , wxSTC_PROPS_DEFVAL
+    , wxSTC_PROPS_SECTION
+    , wxSTC_PS_BADSTRINGCHAR
+    , wxSTC_PS_BASE85STRING
+    , wxSTC_PS_COMMENT
+    , wxSTC_PS_DEFAULT
+    , wxSTC_PS_DSC_COMMENT
+    , wxSTC_PS_DSC_VALUE
+    , wxSTC_PS_HEXSTRING
+    , wxSTC_PS_IMMEVAL
+    , wxSTC_PS_KEYWORD
+    , wxSTC_PS_LITERAL
+    , wxSTC_PS_NAME
+    , wxSTC_PS_NUMBER
+    , wxSTC_PS_PAREN_ARRAY
+    , wxSTC_PS_PAREN_DICT
+    , wxSTC_PS_PAREN_PROC
+    , wxSTC_PS_TEXT
+    , wxSTC_P_CHARACTER
+    , wxSTC_P_CLASSNAME
+    , wxSTC_P_COMMENTBLOCK
+    , wxSTC_P_COMMENTLINE
+    , wxSTC_P_DEFAULT
+    , wxSTC_P_DEFNAME
+    , wxSTC_P_IDENTIFIER
+    , wxSTC_P_NUMBER
+    , wxSTC_P_OPERATOR
+    , wxSTC_P_STRING
+    , wxSTC_P_STRINGEOL
+    , wxSTC_P_TRIPLE
+    , wxSTC_P_TRIPLEDOUBLE
+    , wxSTC_P_WORD
+    , wxSTC_REBOL_BINARY
+    , wxSTC_REBOL_BRACEDSTRING
+    , wxSTC_REBOL_CHARACTER
+    , wxSTC_REBOL_COMMENTBLOCK
+    , wxSTC_REBOL_COMMENTLINE
+    , wxSTC_REBOL_DATE
+    , wxSTC_REBOL_DEFAULT
+    , wxSTC_REBOL_EMAIL
+    , wxSTC_REBOL_FILE
+    , wxSTC_REBOL_IDENTIFIER
+    , wxSTC_REBOL_ISSUE
+    , wxSTC_REBOL_MONEY
+    , wxSTC_REBOL_NUMBER
+    , wxSTC_REBOL_OPERATOR
+    , wxSTC_REBOL_PAIR
+    , wxSTC_REBOL_PREFACE
+    , wxSTC_REBOL_QUOTEDSTRING
+    , wxSTC_REBOL_TAG
+    , wxSTC_REBOL_TIME
+    , wxSTC_REBOL_TUPLE
+    , wxSTC_REBOL_URL
+    , wxSTC_REBOL_WORD
+    , wxSTC_REBOL_WORD2
+    , wxSTC_REBOL_WORD3
+    , wxSTC_REBOL_WORD4
+    , wxSTC_REBOL_WORD5
+    , wxSTC_REBOL_WORD6
+    , wxSTC_REBOL_WORD7
+    , wxSTC_REBOL_WORD8
+    , wxSTC_SCMOD_ALT
+    , wxSTC_SCMOD_CTRL
+    , wxSTC_SCMOD_SHIFT
+    , wxSTC_SCRIPTOL_CHARACTER
+    , wxSTC_SCRIPTOL_COMMENT
+    , wxSTC_SCRIPTOL_COMMENTBASIC
+    , wxSTC_SCRIPTOL_COMMENTDOC
+    , wxSTC_SCRIPTOL_COMMENTDOCKEYWORD
+    , wxSTC_SCRIPTOL_COMMENTDOCKEYWORDERROR
+    , wxSTC_SCRIPTOL_COMMENTLINE
+    , wxSTC_SCRIPTOL_COMMENTLINEDOC
+    , wxSTC_SCRIPTOL_DEFAULT
+    , wxSTC_SCRIPTOL_IDENTIFIER
+    , wxSTC_SCRIPTOL_NUMBER
+    , wxSTC_SCRIPTOL_OPERATOR
+    , wxSTC_SCRIPTOL_PREPROCESSOR
+    , wxSTC_SCRIPTOL_REGEX
+    , wxSTC_SCRIPTOL_STRING
+    , wxSTC_SCRIPTOL_STRINGEOL
+    , wxSTC_SCRIPTOL_UUID
+    , wxSTC_SCRIPTOL_VERBATIM
+    , wxSTC_SCRIPTOL_WORD
+    , wxSTC_SCRIPTOL_WORD2
+    , wxSTC_SEL_LINES
+    , wxSTC_SEL_RECTANGLE
+    , wxSTC_SEL_STREAM
+    , wxSTC_SH_BACKTICKS
+    , wxSTC_SH_CHARACTER
+    , wxSTC_SH_COMMENTLINE
+    , wxSTC_SH_DEFAULT
+    , wxSTC_SH_ERROR
+    , wxSTC_SH_HERE_DELIM
+    , wxSTC_SH_HERE_Q
+    , wxSTC_SH_IDENTIFIER
+    , wxSTC_SH_NUMBER
+    , wxSTC_SH_OPERATOR
+    , wxSTC_SH_PARAM
+    , wxSTC_SH_SCALAR
+    , wxSTC_SH_STRING
+    , wxSTC_SH_WORD
+    , wxSTC_SN_CODE
+    , wxSTC_SN_COMMENTLINE
+    , wxSTC_SN_COMMENTLINEBANG
+    , wxSTC_SN_DEFAULT
+    , wxSTC_SN_IDENTIFIER
+    , wxSTC_SN_NUMBER
+    , wxSTC_SN_OPERATOR
+    , wxSTC_SN_PREPROCESSOR
+    , wxSTC_SN_REGEXTAG
+    , wxSTC_SN_SIGNAL
+    , wxSTC_SN_STRING
+    , wxSTC_SN_STRINGEOL
+    , wxSTC_SN_USER
+    , wxSTC_SN_WORD
+    , wxSTC_SN_WORD2
+    , wxSTC_SN_WORD3
+    , wxSTC_SQL_CHARACTER
+    , wxSTC_SQL_COMMENT
+    , wxSTC_SQL_COMMENTDOC
+    , wxSTC_SQL_COMMENTDOCKEYWORD
+    , wxSTC_SQL_COMMENTDOCKEYWORDERROR
+    , wxSTC_SQL_COMMENTLINE
+    , wxSTC_SQL_COMMENTLINEDOC
+    , wxSTC_SQL_DEFAULT
+    , wxSTC_SQL_IDENTIFIER
+    , wxSTC_SQL_NUMBER
+    , wxSTC_SQL_OPERATOR
+    , wxSTC_SQL_QUOTEDIDENTIFIER
+    , wxSTC_SQL_SQLPLUS
+    , wxSTC_SQL_SQLPLUS_COMMENT
+    , wxSTC_SQL_SQLPLUS_PROMPT
+    , wxSTC_SQL_STRING
+    , wxSTC_SQL_USER1
+    , wxSTC_SQL_USER2
+    , wxSTC_SQL_USER3
+    , wxSTC_SQL_USER4
+    , wxSTC_SQL_WORD
+    , wxSTC_SQL_WORD2
+    , wxSTC_START
+    , wxSTC_STYLE_BRACEBAD
+    , wxSTC_STYLE_BRACELIGHT
+    , wxSTC_STYLE_CONTROLCHAR
+    , wxSTC_STYLE_DEFAULT
+    , wxSTC_STYLE_INDENTGUIDE
+    , wxSTC_STYLE_LASTPREDEFINED
+    , wxSTC_STYLE_LINENUMBER
+    , wxSTC_STYLE_MAX
+    , wxSTC_ST_ASSIGN
+    , wxSTC_ST_BINARY
+    , wxSTC_ST_BOOL
+    , wxSTC_ST_CHARACTER
+    , wxSTC_ST_COMMENT
+    , wxSTC_ST_DEFAULT
+    , wxSTC_ST_GLOBAL
+    , wxSTC_ST_KWSEND
+    , wxSTC_ST_NIL
+    , wxSTC_ST_NUMBER
+    , wxSTC_ST_RETURN
+    , wxSTC_ST_SELF
+    , wxSTC_ST_SPECIAL
+    , wxSTC_ST_SPEC_SEL
+    , wxSTC_ST_STRING
+    , wxSTC_ST_SUPER
+    , wxSTC_ST_SYMBOL
+    , wxSTC_T3_BLOCK_COMMENT
+    , wxSTC_T3_DEFAULT
+    , wxSTC_T3_D_STRING
+    , wxSTC_T3_HTML_DEFAULT
+    , wxSTC_T3_HTML_STRING
+    , wxSTC_T3_HTML_TAG
+    , wxSTC_T3_IDENTIFIER
+    , wxSTC_T3_KEYWORD
+    , wxSTC_T3_LIB_DIRECTIVE
+    , wxSTC_T3_LINE_COMMENT
+    , wxSTC_T3_MSG_PARAM
+    , wxSTC_T3_NUMBER
+    , wxSTC_T3_OPERATOR
+    , wxSTC_T3_PREPROCESSOR
+    , wxSTC_T3_S_STRING
+    , wxSTC_T3_USER1
+    , wxSTC_T3_USER2
+    , wxSTC_T3_USER3
+    , wxSTC_T3_X_DEFAULT
+    , wxSTC_T3_X_STRING
+    , wxSTC_TEX_COMMAND
+    , wxSTC_TEX_DEFAULT
+    , wxSTC_TEX_GROUP
+    , wxSTC_TEX_SPECIAL
+    , wxSTC_TEX_SYMBOL
+    , wxSTC_TEX_TEXT
+    , wxSTC_TIME_FOREVER
+    , wxSTC_VHDL_ATTRIBUTE
+    , wxSTC_VHDL_COMMENT
+    , wxSTC_VHDL_COMMENTLINEBANG
+    , wxSTC_VHDL_DEFAULT
+    , wxSTC_VHDL_IDENTIFIER
+    , wxSTC_VHDL_KEYWORD
+    , wxSTC_VHDL_NUMBER
+    , wxSTC_VHDL_OPERATOR
+    , wxSTC_VHDL_STDFUNCTION
+    , wxSTC_VHDL_STDOPERATOR
+    , wxSTC_VHDL_STDPACKAGE
+    , wxSTC_VHDL_STDTYPE
+    , wxSTC_VHDL_STRING
+    , wxSTC_VHDL_STRINGEOL
+    , wxSTC_VHDL_USERWORD
+    , wxSTC_VISIBLE_SLOP
+    , wxSTC_VISIBLE_STRICT
+    , wxSTC_V_COMMENT
+    , wxSTC_V_COMMENTLINE
+    , wxSTC_V_COMMENTLINEBANG
+    , wxSTC_V_DEFAULT
+    , wxSTC_V_IDENTIFIER
+    , wxSTC_V_NUMBER
+    , wxSTC_V_OPERATOR
+    , wxSTC_V_PREPROCESSOR
+    , wxSTC_V_STRING
+    , wxSTC_V_STRINGEOL
+    , wxSTC_V_USER
+    , wxSTC_V_WORD
+    , wxSTC_V_WORD2
+    , wxSTC_V_WORD3
+    , wxSTC_WRAP_NONE
+    , wxSTC_WRAP_WORD
+    , wxSTC_WS_INVISIBLE
+    , wxSTC_WS_VISIBLEAFTERINDENT
+    , wxSTC_WS_VISIBLEALWAYS
+    , wxSTC_YAML_COMMENT
+    , wxSTC_YAML_DEFAULT
+    , wxSTC_YAML_DOCUMENT
+    , wxSTC_YAML_ERROR
+    , wxSTC_YAML_IDENTIFIER
+    , wxSTC_YAML_KEYWORD
+    , wxSTC_YAML_NUMBER
+    , wxSTC_YAML_REFERENCE
+    , wxSTC_YAML_TEXT
+    , wxSTIPPLE
+    , wxSTIPPLE_MASK
+    , wxSTIPPLE_MASK_OPAQUE
+    , wxSTREAM_EOF
+    , wxSTREAM_NO_ERROR
+    , wxSTREAM_READ_ERROR
+    , wxSTREAM_WRITE_ERROR
+    , wxSTRETCH_NOT
+    , wxSTRING
+    , wxST_NO_AUTORESIZE
+    , wxST_SIZEGRIP
+    , wxSUNKEN_BORDER
+    , wxSWISS
+    , wxSW_3D
+    , wxSW_3DBORDER
+    , wxSW_3DSASH
+    , wxSW_BORDER
+    , wxSW_NOBORDER
+    , wxSYSTEM_MENU
+    , wxSYS_ANSI_FIXED_FONT
+    , wxSYS_ANSI_VAR_FONT
+    , wxSYS_BLACK_BRUSH
+    , wxSYS_BLACK_PEN
+    , wxSYS_BORDER_X
+    , wxSYS_BORDER_Y
+    , wxSYS_CAPTION_Y
+    , wxSYS_COLOUR_3DDKSHADOW
+    , wxSYS_COLOUR_3DFACE
+    , wxSYS_COLOUR_3DHIGHLIGHT
+    , wxSYS_COLOUR_3DHILIGHT
+    , wxSYS_COLOUR_3DLIGHT
+    , wxSYS_COLOUR_3DSHADOW
+    , wxSYS_COLOUR_ACTIVEBORDER
+    , wxSYS_COLOUR_ACTIVECAPTION
+    , wxSYS_COLOUR_APPWORKSPACE
+    , wxSYS_COLOUR_BACKGROUND
+    , wxSYS_COLOUR_BTNFACE
+    , wxSYS_COLOUR_BTNHIGHLIGHT
+    , wxSYS_COLOUR_BTNHILIGHT
+    , wxSYS_COLOUR_BTNSHADOW
+    , wxSYS_COLOUR_BTNTEXT
+    , wxSYS_COLOUR_CAPTIONTEXT
+    , wxSYS_COLOUR_DESKTOP
+    , wxSYS_COLOUR_GRAYTEXT
+    , wxSYS_COLOUR_HIGHLIGHT
+    , wxSYS_COLOUR_HIGHLIGHTTEXT
+    , wxSYS_COLOUR_INACTIVEBORDER
+    , wxSYS_COLOUR_INACTIVECAPTION
+    , wxSYS_COLOUR_INACTIVECAPTIONTEXT
+    , wxSYS_COLOUR_INFOBK
+    , wxSYS_COLOUR_INFOTEXT
+    , wxSYS_COLOUR_LISTBOX
+    , wxSYS_COLOUR_MENU
+    , wxSYS_COLOUR_MENUTEXT
+    , wxSYS_COLOUR_SCROLLBAR
+    , wxSYS_COLOUR_WINDOW
+    , wxSYS_COLOUR_WINDOWFRAME
+    , wxSYS_COLOUR_WINDOWTEXT
+    , wxSYS_CURSOR_X
+    , wxSYS_CURSOR_Y
+    , wxSYS_DCLICK_X
+    , wxSYS_DCLICK_Y
+    , wxSYS_DEFAULT_GUI_FONT
+    , wxSYS_DEFAULT_PALETTE
+    , wxSYS_DEVICE_DEFAULT_FONT
+    , wxSYS_DKGRAY_BRUSH
+    , wxSYS_DRAG_X
+    , wxSYS_DRAG_Y
+    , wxSYS_EDGE_X
+    , wxSYS_EDGE_Y
+    , wxSYS_FRAMESIZE_X
+    , wxSYS_FRAMESIZE_Y
+    , wxSYS_GRAY_BRUSH
+    , wxSYS_HOLLOW_BRUSH
+    , wxSYS_HSCROLL_ARROW_X
+    , wxSYS_HSCROLL_ARROW_Y
+    , wxSYS_HSCROLL_Y
+    , wxSYS_HTHUMB_X
+    , wxSYS_ICONSPACING_X
+    , wxSYS_ICONSPACING_Y
+    , wxSYS_ICON_X
+    , wxSYS_ICON_Y
+    , wxSYS_LTGRAY_BRUSH
+    , wxSYS_MENU_Y
+    , wxSYS_MOUSE_BUTTONS
+    , wxSYS_NETWORK_PRESENT
+    , wxSYS_NULL_BRUSH
+    , wxSYS_NULL_PEN
+    , wxSYS_OEM_FIXED_FONT
+    , wxSYS_PENWINDOWS_PRESENT
+    , wxSYS_SCREEN_DESKTOP
+    , wxSYS_SCREEN_NONE
+    , wxSYS_SCREEN_PDA
+    , wxSYS_SCREEN_SMALL
+    , wxSYS_SCREEN_TINY
+    , wxSYS_SCREEN_X
+    , wxSYS_SCREEN_Y
+    , wxSYS_SHOW_SOUNDS
+    , wxSYS_SMALLICON_X
+    , wxSYS_SMALLICON_Y
+    , wxSYS_SWAP_BUTTONS
+    , wxSYS_SYSTEM_FIXED_FONT
+    , wxSYS_SYSTEM_FONT
+    , wxSYS_VSCROLL_ARROW_X
+    , wxSYS_VSCROLL_ARROW_Y
+    , wxSYS_VSCROLL_X
+    , wxSYS_VTHUMB_Y
+    , wxSYS_WHITE_BRUSH
+    , wxSYS_WHITE_PEN
+    , wxSYS_WINDOWMIN_X
+    , wxSYS_WINDOWMIN_Y
+    , wxTAB_TRAVERSAL
+    , wxTB_3DBUTTONS
+    , wxTB_BOTTOM
+    , wxTB_DEFAULT_STYLE
+    , wxTB_DOCKABLE
+    , wxTB_FLAT
+    , wxTB_HORIZONTAL
+    , wxTB_HORZ_LAYOUT
+    , wxTB_HORZ_TEXT
+    , wxTB_LEFT
+    , wxTB_NOALIGN
+    , wxTB_NODIVIDER
+    , wxTB_NOICONS
+    , wxTB_NO_TOOLTIPS
+    , wxTB_RIGHT
+    , wxTB_TEXT
+    , wxTB_TOP
+    , wxTB_VERTICAL
+    , wxTC_FIXEDWIDTH
+    , wxTC_MULTILINE
+    , wxTC_OWNERDRAW
+    , wxTC_RIGHTJUSTIFY
+    , wxTELETYPE
+    , wxTEXT_ALIGNMENT_CENTER
+    , wxTEXT_ALIGNMENT_CENTRE
+    , wxTEXT_ALIGNMENT_DEFAULT
+    , wxTEXT_ALIGNMENT_JUSTIFIED
+    , wxTEXT_ALIGNMENT_LEFT
+    , wxTEXT_ALIGNMENT_RIGHT
+    , wxTEXT_ATTR_ALIGNMENT
+    , wxTEXT_ATTR_ALL
+    , wxTEXT_ATTR_BACKGROUND_COLOUR
+    , wxTEXT_ATTR_BULLET
+    , wxTEXT_ATTR_BULLET_NAME
+    , wxTEXT_ATTR_BULLET_NUMBER
+    , wxTEXT_ATTR_BULLET_STYLE
+    , wxTEXT_ATTR_BULLET_STYLE_ALIGN_CENTRE
+    , wxTEXT_ATTR_BULLET_STYLE_ALIGN_LEFT
+    , wxTEXT_ATTR_BULLET_STYLE_ALIGN_RIGHT
+    , wxTEXT_ATTR_BULLET_STYLE_ARABIC
+    , wxTEXT_ATTR_BULLET_STYLE_BITMAP
+    , wxTEXT_ATTR_BULLET_STYLE_CONTINUATION
+    , wxTEXT_ATTR_BULLET_STYLE_LETTERS_LOWER
+    , wxTEXT_ATTR_BULLET_STYLE_LETTERS_UPPER
+    , wxTEXT_ATTR_BULLET_STYLE_NONE
+    , wxTEXT_ATTR_BULLET_STYLE_OUTLINE
+    , wxTEXT_ATTR_BULLET_STYLE_PARENTHESES
+    , wxTEXT_ATTR_BULLET_STYLE_PERIOD
+    , wxTEXT_ATTR_BULLET_STYLE_RIGHT_PARENTHESIS
+    , wxTEXT_ATTR_BULLET_STYLE_ROMAN_LOWER
+    , wxTEXT_ATTR_BULLET_STYLE_ROMAN_UPPER
+    , wxTEXT_ATTR_BULLET_STYLE_STANDARD
+    , wxTEXT_ATTR_BULLET_STYLE_SYMBOL
+    , wxTEXT_ATTR_BULLET_TEXT
+    , wxTEXT_ATTR_CHARACTER
+    , wxTEXT_ATTR_CHARACTER_STYLE_NAME
+    , wxTEXT_ATTR_EFFECTS
+    , wxTEXT_ATTR_EFFECT_CAPITALS
+    , wxTEXT_ATTR_EFFECT_DOUBLE_STRIKETHROUGH
+    , wxTEXT_ATTR_EFFECT_EMBOSS
+    , wxTEXT_ATTR_EFFECT_ENGRAVE
+    , wxTEXT_ATTR_EFFECT_NONE
+    , wxTEXT_ATTR_EFFECT_OUTLINE
+    , wxTEXT_ATTR_EFFECT_SHADOW
+    , wxTEXT_ATTR_EFFECT_SMALL_CAPITALS
+    , wxTEXT_ATTR_EFFECT_STRIKETHROUGH
+    , wxTEXT_ATTR_EFFECT_SUBSCRIPT
+    , wxTEXT_ATTR_EFFECT_SUPERSCRIPT
+    , wxTEXT_ATTR_FONT
+    , wxTEXT_ATTR_FONT_ENCODING
+    , wxTEXT_ATTR_FONT_FACE
+    , wxTEXT_ATTR_FONT_FAMILY
+    , wxTEXT_ATTR_FONT_ITALIC
+    , wxTEXT_ATTR_FONT_PIXEL_SIZE
+    , wxTEXT_ATTR_FONT_POINT_SIZE
+    , wxTEXT_ATTR_FONT_SIZE
+    , wxTEXT_ATTR_FONT_STRIKETHROUGH
+    , wxTEXT_ATTR_FONT_UNDERLINE
+    , wxTEXT_ATTR_FONT_WEIGHT
+    , wxTEXT_ATTR_LEFT_INDENT
+    , wxTEXT_ATTR_LINE_SPACING
+    , wxTEXT_ATTR_LINE_SPACING_HALF
+    , wxTEXT_ATTR_LINE_SPACING_NORMAL
+    , wxTEXT_ATTR_LINE_SPACING_TWICE
+    , wxTEXT_ATTR_LIST_STYLE_NAME
+    , wxTEXT_ATTR_OUTLINE_LEVEL
+    , wxTEXT_ATTR_PAGE_BREAK
+    , wxTEXT_ATTR_PARAGRAPH
+    , wxTEXT_ATTR_PARAGRAPH_STYLE_NAME
+    , wxTEXT_ATTR_PARA_SPACING_AFTER
+    , wxTEXT_ATTR_PARA_SPACING_BEFORE
+    , wxTEXT_ATTR_RIGHT_INDENT
+    , wxTEXT_ATTR_TABS
+    , wxTEXT_ATTR_TEXT_COLOUR
+    , wxTEXT_ATTR_URL
+    , wxTEXT_TYPE_ANY
+    , wxTE_AUTO_SCROLL
+    , wxTE_AUTO_URL
+    , wxTE_BESTWRAP
+    , wxTE_CAPITALIZE
+    , wxTE_CENTER
+    , wxTE_CENTRE
+    , wxTE_CHARWRAP
+    , wxTE_DONTWRAP
+    , wxTE_HT_BEFORE
+    , wxTE_HT_BELOW
+    , wxTE_HT_BEYOND
+    , wxTE_HT_ON_TEXT
+    , wxTE_HT_UNKNOWN
+    , wxTE_LEFT
+    , wxTE_LINEWRAP
+    , wxTE_MULTILINE
+    , wxTE_NOHIDESEL
+    , wxTE_NO_VSCROLL
+    , wxTE_PASSWORD
+    , wxTE_PROCESS_ENTER
+    , wxTE_PROCESS_TAB
+    , wxTE_READONLY
+    , wxTE_RICH
+    , wxTE_RICH2
+    , wxTE_RIGHT
+    , wxTE_WORDWRAP
+    , wxTILE
+    , wxTINY_CAPTION_HORIZ
+    , wxTINY_CAPTION_VERT
+    , wxTOOL_BOTTOM
+    , wxTOOL_LEFT
+    , wxTOOL_RIGHT
+    , wxTOOL_TOP
+    , wxTOP
+    , wxTRANSPARENT
+    , wxTRANSPARENT_BRUSH
+    , wxTRANSPARENT_PEN
+    , wxTRANSPARENT_WINDOW
+    , wxTREE_HITTEST_ABOVE
+    , wxTREE_HITTEST_BELOW
+    , wxTREE_HITTEST_NOWHERE
+    , wxTREE_HITTEST_ONITEM
+    , wxTREE_HITTEST_ONITEMBUTTON
+    , wxTREE_HITTEST_ONITEMICON
+    , wxTREE_HITTEST_ONITEMINDENT
+    , wxTREE_HITTEST_ONITEMLABEL
+    , wxTREE_HITTEST_ONITEMLOWERPART
+    , wxTREE_HITTEST_ONITEMRIGHT
+    , wxTREE_HITTEST_ONITEMSTATEICON
+    , wxTREE_HITTEST_ONITEMUPPERPART
+    , wxTREE_HITTEST_TOLEFT
+    , wxTREE_HITTEST_TORIGHT
+    , wxTR_AQUA_BUTTONS
+    , wxTR_EDIT_LABELS
+    , wxTR_EXTENDED
+    , wxTR_FULL_ROW_HIGHLIGHT
+    , wxTR_HAS_BUTTONS
+    , wxTR_HAS_VARIABLE_ROW_HEIGHT
+    , wxTR_HIDE_ROOT
+    , wxTR_LINES_AT_ROOT
+    , wxTR_MULTIPLE
+    , wxTR_NO_BUTTONS
+    , wxTR_NO_LINES
+    , wxTR_ROW_LINES
+    , wxTR_SINGLE
+    , wxTR_TWIST_BUTTONS
+    , wxTreeItemIcon_Expanded
+    , wxTreeItemIcon_Normal
+    , wxTreeItemIcon_Selected
+    , wxTreeItemIcon_SelectedExpanded
+    , wxUNIX
+    , wxUNKNOWN
+    , wxUNKNOWN_PLATFORM
+    , wxUP
+    , wxUSER_COLOURS
+    , wxUSER_DASH
+    , wxVARIABLE
+    , wxVERTICAL
+    , wxVERTICAL_HATCH
+    , wxVSCROLL
+    , wxWANTS_CHARS
+    , wxWEST
+    , wxWHITE
+    , wxWHITE_BRUSH
+    , wxWHITE_PEN
+    , wxWIN32S
+    , wxWIN386
+    , wxWIN95
+    , wxWINDING_RULE
+    , wxWINDOWS
+    , wxWINDOWS_NT
+    , wxWINDOWS_OS2
+    , wxWS_EX_VALIDATE_RECURSIVELY
+    , wxXOR
+    , wxXRC_NONE
+    , wxXRC_NO_RELOADING
+    , wxXRC_NO_SUBCLASSING
+    , wxXRC_USE_LOCALE
+    , wxXVIEW_X
+    , wxYES
+    , wxYES_DEFAULT
+    , wxYES_NO
+    ) where
+
+import Data.Bits
+
+-- A utility function
+(<<) :: Int -> Int -> Int
+x << i = shift x i
+
+-- NEW! converted from wxWidgets\2.9.5\include\wx\defs.h
+
+-- From wxWidgets\2.9.5\include\wx\defs.h
+{-
+   The value of the first style is chosen to fit with
+   wxDeprecatedGUIConstants values below, don't change it.
+-}
+wxHATCHSTYLE_FIRST      :: Int
+wxHATCHSTYLE_FIRST      = 111
+wxHATCHSTYLE_BDIAGONAL  :: Int
+wxHATCHSTYLE_BDIAGONAL  = wxHATCHSTYLE_FIRST
+wxHATCHSTYLE_CROSSDIAG  :: Int
+wxHATCHSTYLE_CROSSDIAG  = wxHATCHSTYLE_BDIAGONAL + 1
+wxHATCHSTYLE_FDIAGONAL  :: Int
+wxHATCHSTYLE_FDIAGONAL  = wxHATCHSTYLE_CROSSDIAG + 1
+wxHATCHSTYLE_CROSS      :: Int
+wxHATCHSTYLE_CROSS      = wxHATCHSTYLE_FDIAGONAL + 1
+wxHATCHSTYLE_HORIZONTAL :: Int
+wxHATCHSTYLE_HORIZONTAL = wxHATCHSTYLE_CROSS + 1
+wxHATCHSTYLE_VERTICAL   :: Int
+wxHATCHSTYLE_VERTICAL   = wxHATCHSTYLE_HORIZONTAL + 1
+wxHATCHSTYLE_LAST       :: Int
+wxHATCHSTYLE_LAST       = wxHATCHSTYLE_VERTICAL
+
+
+-- End NEW!
+
+-- | A flag can be combined with other flags to a bit mask.
+type BitFlag = Int
+
+wxEXEC_ASYNC :: BitFlag
+wxEXEC_ASYNC = 0
+
+wxEXEC_SYNC :: BitFlag
+wxEXEC_SYNC = 1
+
+wxEXEC_NOHIDE :: BitFlag
+wxEXEC_NOHIDE = 2
+
+wxEXEC_MAKE_GROUP_LEADER :: BitFlag
+wxEXEC_MAKE_GROUP_LEADER = 4
+
+wxITEM_SEPARATOR :: Int
+wxITEM_SEPARATOR = (-1)
+
+wxITEM_NORMAL :: Int
+wxITEM_NORMAL = 0
+
+wxITEM_CHECK :: Int
+wxITEM_CHECK = 1
+
+wxITEM_RADIO :: Int
+wxITEM_RADIO = 2
+
+wxITEM_MAX :: Int
+wxITEM_MAX = 3
+
+wxCLOSE_BOX :: Int
+wxCLOSE_BOX = 4096
+
+wxFRAME_EX_CONTEXTHELP :: Int
+wxFRAME_EX_CONTEXTHELP = 4
+
+wxDIALOG_EX_CONTEXTHELP :: Int
+wxDIALOG_EX_CONTEXTHELP = 4
+
+wxFRAME_SHAPED :: Int
+wxFRAME_SHAPED = 16
+
+wxFULLSCREEN_ALL :: Int
+wxFULLSCREEN_ALL = 31
+
+wxTreeItemIcon_Normal :: Int
+wxTreeItemIcon_Normal = 0
+
+wxTreeItemIcon_Selected :: Int
+wxTreeItemIcon_Selected = 1
+
+wxTreeItemIcon_Expanded :: Int
+wxTreeItemIcon_Expanded = 2
+
+wxTreeItemIcon_SelectedExpanded :: Int
+wxTreeItemIcon_SelectedExpanded = 3
+
+wxCONFIG_USE_LOCAL_FILE :: Int
+wxCONFIG_USE_LOCAL_FILE = 1
+
+wxCONFIG_USE_GLOBAL_FILE :: Int
+wxCONFIG_USE_GLOBAL_FILE = 2
+
+wxCONFIG_USE_RELATIVE_PATH :: Int
+wxCONFIG_USE_RELATIVE_PATH = 4
+
+wxCONFIG_USE_NO_ESCAPE_CHARACTERS :: Int
+wxCONFIG_USE_NO_ESCAPE_CHARACTERS = 8
+
+wxCONFIG_TYPE_UNKNOWN :: Int
+wxCONFIG_TYPE_UNKNOWN = 0
+
+wxCONFIG_TYPE_STRING :: Int
+wxCONFIG_TYPE_STRING = 1
+
+wxCONFIG_TYPE_BOOLEAN :: Int
+wxCONFIG_TYPE_BOOLEAN = 2
+
+wxCONFIG_TYPE_INTEGER :: Int
+wxCONFIG_TYPE_INTEGER = 3
+
+wxCONFIG_TYPE_FLOAT :: Int
+wxCONFIG_TYPE_FLOAT = 4
+
+wxSIGNONE :: Int
+wxSIGNONE = 0
+
+wxSIGHUP :: Int
+wxSIGHUP = 1
+
+wxSIGINT :: Int
+wxSIGINT = 2
+
+wxSIGQUIT :: Int
+wxSIGQUIT = 3
+
+wxSIGILL :: Int
+wxSIGILL = 4
+
+wxSIGTRAP :: Int
+wxSIGTRAP = 5
+
+wxSIGABRT :: Int
+wxSIGABRT = 6
+
+wxSIGEMT :: Int
+wxSIGEMT = 7
+
+wxSIGFPE :: Int
+wxSIGFPE = 8
+
+wxSIGKILL :: Int
+wxSIGKILL = 9
+
+wxSIGBUS :: Int
+wxSIGBUS = 10
+
+wxSIGSEGV :: Int
+wxSIGSEGV = 11
+
+wxSIGSYS :: Int
+wxSIGSYS = 12
+
+wxSIGPIPE :: Int
+wxSIGPIPE = 13
+
+wxSIGALRM :: Int
+wxSIGALRM = 14
+
+wxSIGTERM :: Int
+wxSIGTERM = 15
+
+wxKILL_OK :: Int
+wxKILL_OK = 0
+
+wxKILL_BAD_SIGNAL :: Int
+wxKILL_BAD_SIGNAL = 1
+
+wxKILL_ACCESS_DENIED :: Int
+wxKILL_ACCESS_DENIED = 2
+
+wxKILL_NO_PROCESS :: Int
+wxKILL_NO_PROCESS = 3
+
+wxKILL_ERROR :: Int
+wxKILL_ERROR = 4
+
+wxSTREAM_NO_ERROR :: Int
+wxSTREAM_NO_ERROR = 0
+
+wxSTREAM_EOF :: Int
+wxSTREAM_EOF = 1
+
+wxSTREAM_WRITE_ERROR :: Int
+wxSTREAM_WRITE_ERROR = 2
+
+wxSTREAM_READ_ERROR :: Int
+wxSTREAM_READ_ERROR = 3
+
+wxNB_MULTILINE :: Int
+wxNB_MULTILINE = 256
+
+wxIMAGE_LIST_NORMAL :: Int
+wxIMAGE_LIST_NORMAL = 0
+
+wxIMAGE_LIST_SMALL :: Int
+wxIMAGE_LIST_SMALL = 1
+
+wxIMAGE_LIST_STATE :: Int
+wxIMAGE_LIST_STATE = 2
+
+wxIMAGE_QUALITY_NEAREST :: Int
+wxIMAGE_QUALITY_NEAREST = 0
+
+wxIMAGE_QUALITY_BILINEAR :: Int
+wxIMAGE_QUALITY_BILINEAR = 1
+
+wxIMAGE_QUALITY_BICUBIC :: Int
+wxIMAGE_QUALITY_BICUBIC = 2
+
+wxIMAGE_QUALITY_BOX_AVERAGE :: Int
+wxIMAGE_QUALITY_BOX_AVERAGE = 3
+
+wxIMAGE_QUALITY_NORMAL :: Int
+wxIMAGE_QUALITY_NORMAL = 4
+
+wxIMAGE_QUALITY_HIGH :: Int
+wxIMAGE_QUALITY_HIGH = 5
+
+-- wxToolBar style flags
+
+-- lay out the toolbar horizontally
+wxTB_HORIZONTAL  :: Int
+wxTB_HORIZONTAL  = wxHORIZONTAL    -- == 0x0004
+wxTB_TOP         :: Int
+wxTB_TOP         = wxTB_HORIZONTAL
+
+-- lay out the toolbar vertically
+wxTB_VERTICAL    :: Int
+wxTB_VERTICAL    = wxVERTICAL      -- == 0x0008
+
+wxTB_LEFT        :: Int
+wxTB_LEFT        = wxTB_VERTICAL
+
+-- show 3D buttons (wxToolBarSimple only)
+wxTB_3DBUTTONS   :: Int
+wxTB_3DBUTTONS   = 0x0010
+
+-- "flat" buttons (Win32/GTK only)
+wxTB_FLAT        :: Int
+wxTB_FLAT        = 0x0020
+
+-- dockable toolbar (GTK only)
+wxTB_DOCKABLE    :: Int
+wxTB_DOCKABLE    = 0x0040
+
+-- don't show the icons (they're shown by default)
+wxTB_NOICONS     :: Int
+wxTB_NOICONS     = 0x0080
+
+-- show the text (not shown by default)
+wxTB_TEXT        :: Int
+wxTB_TEXT        = 0x0100
+
+-- don't show the divider between toolbar and the window (Win32 only)
+wxTB_NODIVIDER   :: Int
+wxTB_NODIVIDER   = 0x0200
+
+-- no automatic alignment (Win32 only useless)
+wxTB_NOALIGN     :: Int
+wxTB_NOALIGN     = 0x0400
+
+-- show the text and the icons alongside not vertically stacked (Win32/GTK)
+wxTB_HORZ_LAYOUT :: Int
+wxTB_HORZ_LAYOUT = 0x0800
+
+wxTB_HORZ_TEXT   :: Int
+wxTB_HORZ_TEXT   = wxTB_HORZ_LAYOUT .|. wxTB_TEXT
+
+-- don't show the toolbar short help tooltips
+wxTB_NO_TOOLTIPS   :: Int
+wxTB_NO_TOOLTIPS   = 0x1000
+
+-- lay out toolbar at the bottom of the window
+wxTB_BOTTOM        :: Int
+wxTB_BOTTOM        = 0x2000
+
+-- lay out toolbar at the right edge of the window
+wxTB_RIGHT         :: Int
+wxTB_RIGHT         = 0x4000
+
+wxTB_DEFAULT_STYLE :: Int
+wxTB_DEFAULT_STYLE = wxTB_HORIZONTAL .|. wxTB_FLAT
+
+-- End wxToolBar style flags
+
+
+wxADJUST_MINSIZE :: Int
+wxADJUST_MINSIZE = 32768
+{-# DEPRECATED wxADJUST_MINSIZE "Don't use this" #-}
+
+wxDB_TYPE_NAME_LEN :: Int
+wxDB_TYPE_NAME_LEN = 40
+
+wxDB_MAX_STATEMENT_LEN :: Int
+wxDB_MAX_STATEMENT_LEN = 4096
+
+wxDB_MAX_WHERE_CLAUSE_LEN :: Int
+wxDB_MAX_WHERE_CLAUSE_LEN = 2048
+
+wxDB_MAX_ERROR_MSG_LEN :: Int
+wxDB_MAX_ERROR_MSG_LEN = 512
+
+wxDB_MAX_ERROR_HISTORY :: Int
+wxDB_MAX_ERROR_HISTORY = 5
+
+wxDB_MAX_TABLE_NAME_LEN :: Int
+wxDB_MAX_TABLE_NAME_LEN = 128
+
+wxDB_MAX_COLUMN_NAME_LEN :: Int
+wxDB_MAX_COLUMN_NAME_LEN = 128
+
+wxDB_DATA_TYPE_VARCHAR :: Int
+wxDB_DATA_TYPE_VARCHAR = 1
+
+wxDB_DATA_TYPE_INTEGER :: Int
+wxDB_DATA_TYPE_INTEGER = 2
+
+wxDB_DATA_TYPE_FLOAT :: Int
+wxDB_DATA_TYPE_FLOAT = 3
+
+wxDB_DATA_TYPE_DATE :: Int
+wxDB_DATA_TYPE_DATE = 4
+
+wxDB_DATA_TYPE_BLOB :: Int
+wxDB_DATA_TYPE_BLOB = 5
+
+wxDB_SELECT_KEYFIELDS :: Int
+wxDB_SELECT_KEYFIELDS = 1
+
+wxDB_SELECT_WHERE :: Int
+wxDB_SELECT_WHERE = 2
+
+wxDB_SELECT_MATCHING :: Int
+wxDB_SELECT_MATCHING = 3
+
+wxDB_SELECT_STATEMENT :: Int
+wxDB_SELECT_STATEMENT = 4
+
+wxDB_UPD_KEYFIELDS :: Int
+wxDB_UPD_KEYFIELDS = 1
+
+wxDB_UPD_WHERE :: Int
+wxDB_UPD_WHERE = 2
+
+wxDB_DEL_KEYFIELDS :: Int
+wxDB_DEL_KEYFIELDS = 1
+
+wxDB_DEL_WHERE :: Int
+wxDB_DEL_WHERE = 2
+
+wxDB_DEL_MATCHING :: Int
+wxDB_DEL_MATCHING = 3
+
+wxDB_WHERE_KEYFIELDS :: Int
+wxDB_WHERE_KEYFIELDS = 1
+
+wxDB_WHERE_MATCHING :: Int
+wxDB_WHERE_MATCHING = 2
+
+wxDB_GRANT_SELECT :: Int
+wxDB_GRANT_SELECT = 1
+
+wxDB_GRANT_INSERT :: Int
+wxDB_GRANT_INSERT = 2
+
+wxDB_GRANT_UPDATE :: Int
+wxDB_GRANT_UPDATE = 4
+
+wxDB_GRANT_DELETE :: Int
+wxDB_GRANT_DELETE = 8
+
+wxDB_GRANT_ALL :: Int
+wxDB_GRANT_ALL = 15
+
+wxSQL_INVALID_HANDLE :: Int
+wxSQL_INVALID_HANDLE = (-2)
+
+wxSQL_ERROR :: Int
+wxSQL_ERROR = (-1)
+
+wxSQL_SUCCESS :: Int
+wxSQL_SUCCESS = 0
+
+wxSQL_SUCCESS_WITH_INFO :: Int
+wxSQL_SUCCESS_WITH_INFO = 1
+
+wxSQL_NO_DATA_FOUND :: Int
+wxSQL_NO_DATA_FOUND = 100
+
+wxSQL_CHAR :: Int
+wxSQL_CHAR = 1
+
+wxSQL_NUMERIC :: Int
+wxSQL_NUMERIC = 2
+
+wxSQL_DECIMAL :: Int
+wxSQL_DECIMAL = 3
+
+wxSQL_INTEGER :: Int
+wxSQL_INTEGER = 4
+
+wxSQL_SMALLINT :: Int
+wxSQL_SMALLINT = 5
+
+wxSQL_FLOAT :: Int
+wxSQL_FLOAT = 6
+
+wxSQL_REAL :: Int
+wxSQL_REAL = 7
+
+wxSQL_DOUBLE :: Int
+wxSQL_DOUBLE = 8
+
+wxSQL_VARCHAR :: Int
+wxSQL_VARCHAR = 12
+
+wxSQL_C_CHAR :: Int
+wxSQL_C_CHAR = 1
+
+wxSQL_C_LONG :: Int
+wxSQL_C_LONG = 4
+
+wxSQL_C_SHORT :: Int
+wxSQL_C_SHORT = 5
+
+wxSQL_C_FLOAT :: Int
+wxSQL_C_FLOAT = 7
+
+wxSQL_C_DOUBLE :: Int
+wxSQL_C_DOUBLE = 8
+
+wxSQL_C_DEFAULT :: Int
+wxSQL_C_DEFAULT = 99
+
+wxSQL_NO_NULLS :: Int
+wxSQL_NO_NULLS = 0
+
+wxSQL_NULLABLE :: Int
+wxSQL_NULLABLE = 1
+
+wxSQL_NULLABLE_UNKNOWN :: Int
+wxSQL_NULLABLE_UNKNOWN = 2
+
+wxSQL_NULL_DATA :: Int
+wxSQL_NULL_DATA = (-1)
+
+wxSQL_DATA_AT_EXEC :: Int
+wxSQL_DATA_AT_EXEC = (-2)
+
+wxSQL_NTS :: Int
+wxSQL_NTS = (-3)
+
+wxSQL_DATE :: Int
+wxSQL_DATE = 9
+
+wxSQL_TIME :: Int
+wxSQL_TIME = 10
+
+wxSQL_TIMESTAMP :: Int
+wxSQL_TIMESTAMP = 11
+
+wxSQL_C_DATE :: Int
+wxSQL_C_DATE = 9
+
+wxSQL_C_TIME :: Int
+wxSQL_C_TIME = 10
+
+wxSQL_C_TIMESTAMP :: Int
+wxSQL_C_TIMESTAMP = 11
+
+wxSQL_FETCH_NEXT :: Int
+wxSQL_FETCH_NEXT = 1
+
+wxSQL_FETCH_FIRST :: Int
+wxSQL_FETCH_FIRST = 2
+
+wxSQL_FETCH_LAST :: Int
+wxSQL_FETCH_LAST = 3
+
+wxSQL_FETCH_PRIOR :: Int
+wxSQL_FETCH_PRIOR = 4
+
+wxSQL_FETCH_ABSOLUTE :: Int
+wxSQL_FETCH_ABSOLUTE = 5
+
+wxSQL_FETCH_RELATIVE :: Int
+wxSQL_FETCH_RELATIVE = 6
+
+wxSQL_FETCH_BOOKMARK :: Int
+wxSQL_FETCH_BOOKMARK = 8
+
+wxSOUND_SYNC :: Int
+wxSOUND_SYNC = 0
+
+wxSOUND_ASYNC :: Int
+wxSOUND_ASYNC = 1
+
+wxSOUND_LOOP :: Int
+wxSOUND_LOOP = 2
+
+wxDRAG_COPYONLY :: Int
+wxDRAG_COPYONLY = 0
+
+wxDRAG_ALLOWMOVE :: Int
+wxDRAG_ALLOWMOVE = 1
+
+wxDRAG_DEFALUTMOVE :: Int
+wxDRAG_DEFALUTMOVE = 3
+
+wxMEDIACTRLPLAYERCONTROLS_NONE :: BitFlag
+wxMEDIACTRLPLAYERCONTROLS_NONE = 0
+
+wxMEDIACTRLPLAYERCONTROLS_STEP :: BitFlag
+wxMEDIACTRLPLAYERCONTROLS_STEP = 1
+
+wxMEDIACTRLPLAYERCONTROLS_VOLUME :: BitFlag
+wxMEDIACTRLPLAYERCONTROLS_VOLUME = 2
+
+wxMEDIACTRLPLAYERCONTROLS_DEFAULT :: BitFlag
+wxMEDIACTRLPLAYERCONTROLS_DEFAULT = 3
+
+wxACCEL_ALT :: Int
+wxACCEL_ALT = 1
+
+wxACCEL_CTRL :: Int
+wxACCEL_CTRL = 2
+
+wxACCEL_SHIFT :: Int
+wxACCEL_SHIFT = 4
+
+wxACCEL_NORMAL :: Int
+wxACCEL_NORMAL = 0
+
+wxNULL_FLAG :: Int
+wxNULL_FLAG = 0
+
+wxEVT_NULL :: Int
+wxEVT_NULL = 0
+
+wxEVT_FIRST :: Int
+wxEVT_FIRST = 10000
+
+wxJOYSTICK1 :: Int
+wxJOYSTICK1 = 0
+
+wxJOYSTICK2 :: Int
+wxJOYSTICK2 = 1
+
+wxJOY_BUTTON1 :: Int
+wxJOY_BUTTON1 = 1
+
+wxJOY_BUTTON2 :: Int
+wxJOY_BUTTON2 = 2
+
+wxJOY_BUTTON3 :: Int
+wxJOY_BUTTON3 = 4
+
+wxJOY_BUTTON4 :: Int
+wxJOY_BUTTON4 = 8
+
+wxUNKNOWN_PLATFORM :: Int
+wxUNKNOWN_PLATFORM = 1
+
+wxCURSES :: Int
+wxCURSES = 2
+
+wxXVIEW_X :: Int
+wxXVIEW_X = 3
+
+wxMOTIF_X :: Int
+wxMOTIF_X = 4
+
+wxCOSE_X :: Int
+wxCOSE_X = 5
+
+wxNEXTSTEP :: Int
+wxNEXTSTEP = 6
+
+wxMACINTOSH :: Int
+wxMACINTOSH = 7
+
+wxBEOS :: Int
+wxBEOS = 8
+
+wxGTK :: Int
+wxGTK = 9
+
+wxGTK_WIN32 :: Int
+wxGTK_WIN32 = 10
+
+wxGTK_OS2 :: Int
+wxGTK_OS2 = 11
+
+wxGTK_BEOS :: Int
+wxGTK_BEOS = 12
+
+wxQT :: Int
+wxQT = 13
+
+wxGEOS :: Int
+wxGEOS = 14
+
+wxOS2_PM :: Int
+wxOS2_PM = 15
+
+wxWINDOWS :: Int
+wxWINDOWS = 16
+
+wxPENWINDOWS :: Int
+wxPENWINDOWS = 17
+
+wxWINDOWS_NT :: Int
+wxWINDOWS_NT = 18
+
+wxWIN32S :: Int
+wxWIN32S = 19
+
+wxWIN95 :: Int
+wxWIN95 = 20
+
+wxWIN386 :: Int
+wxWIN386 = 21
+
+wxMGL_UNIX :: Int
+wxMGL_UNIX = 22
+
+wxMGL_X :: Int
+wxMGL_X = 23
+
+wxMGL_WIN32 :: Int
+wxMGL_WIN32 = 24
+
+wxMGL_OS2 :: Int
+wxMGL_OS2 = 25
+
+wxWINDOWS_OS2 :: Int
+wxWINDOWS_OS2 = 26
+
+wxUNIX :: Int
+wxUNIX = 27
+
+wxBIG_ENDIAN :: Int
+wxBIG_ENDIAN = 4321
+
+wxLITTLE_ENDIAN :: Int
+wxLITTLE_ENDIAN = 1234
+
+wxPDP_ENDIAN :: Int
+wxPDP_ENDIAN = 3412
+
+wxCENTRE :: Int
+wxCENTRE = 1
+
+wxCENTER :: Int
+wxCENTER = 1
+
+wxCENTER_FRAME :: Int
+wxCENTER_FRAME = 0
+
+wxCENTRE_ON_SCREEN :: Int
+wxCENTRE_ON_SCREEN = 2
+
+wxHORIZONTAL :: Int
+wxHORIZONTAL = 4
+
+wxVERTICAL :: Int
+wxVERTICAL = 8
+
+wxBOTH :: Int
+wxBOTH = 12
+
+wxLEFT :: Int
+wxLEFT = 16
+
+wxRIGHT :: Int
+wxRIGHT = 32
+
+wxUP :: Int
+wxUP = 64
+
+wxDOWN :: Int
+wxDOWN = 128
+
+wxTOP :: Int
+wxTOP = 64
+
+wxBOTTOM :: Int
+wxBOTTOM = 128
+
+wxNORTH :: Int
+wxNORTH = 64
+
+wxSOUTH :: Int
+wxSOUTH = 128
+
+wxWEST :: Int
+wxWEST = 16
+
+wxEAST :: Int
+wxEAST = 32
+
+wxALL :: Int
+wxALL = 240
+
+-- enum wxAlignment
+
+wxALIGN_NOT :: Int
+wxALIGN_NOT = 0
+
+wxALIGN_CENTER_HORIZONTAL :: Int
+wxALIGN_CENTER_HORIZONTAL = 256
+
+wxALIGN_CENTRE_HORIZONTAL :: Int
+wxALIGN_CENTRE_HORIZONTAL = 256
+
+wxALIGN_LEFT :: Int
+wxALIGN_LEFT = 0
+
+wxALIGN_TOP :: Int
+wxALIGN_TOP = 0
+
+wxALIGN_RIGHT :: Int
+wxALIGN_RIGHT = 512
+
+wxALIGN_BOTTOM :: Int
+wxALIGN_BOTTOM = 1024
+
+wxALIGN_CENTER_VERTICAL :: Int
+wxALIGN_CENTER_VERTICAL = 2048
+
+wxALIGN_CENTRE_VERTICAL :: Int
+wxALIGN_CENTRE_VERTICAL = 2048
+
+wxALIGN_CENTER :: Int
+wxALIGN_CENTER = 2304
+
+wxALIGN_CENTRE :: Int
+wxALIGN_CENTRE = 2304
+
+-- End enum wxAlignment
+
+-- enum wxAuiPaneButtonState
+wxAUI_BUTTON_STATE_NORMAL :: Int
+wxAUI_BUTTON_STATE_NORMAL = 0
+wxAUI_BUTTON_STATE_HOVER :: Int
+wxAUI_BUTTON_STATE_HOVER = 2
+wxAUI_BUTTON_STATE_PRESSED :: Int
+wxAUI_BUTTON_STATE_PRESSED = 4
+wxAUI_BUTTON_STATE_DISABLED :: Int
+wxAUI_BUTTON_STATE_DISABLED = 8
+wxAUI_BUTTON_STATE_HIDDEN :: Int
+wxAUI_BUTTON_STATE_HIDDEN = 16
+wxAUI_BUTTON_STATE_CHECKED :: Int
+wxAUI_BUTTON_STATE_CHECKED = 32
+-- end enum wxAuiPaneButtonState
+
+-- enum wxAuiButtonId
+wxAUI_BUTTON_CLOSE :: Int
+wxAUI_BUTTON_CLOSE = 101
+wxAUI_BUTTON_MAXIMIZE_RESTORE :: Int
+wxAUI_BUTTON_MAXIMIZE_RESTORE = 102
+wxAUI_BUTTON_MINIMIZE :: Int
+wxAUI_BUTTON_MINIMIZE = 103
+wxAUI_BUTTON_PIN :: Int
+wxAUI_BUTTON_PIN = 104
+wxAUI_BUTTON_OPTIONS :: Int
+wxAUI_BUTTON_OPTIONS = 105
+wxAUI_BUTTON_WINDOWLIST :: Int
+wxAUI_BUTTON_WINDOWLIST = 106
+wxAUI_BUTTON_LEFT :: Int
+wxAUI_BUTTON_LEFT = 107
+wxAUI_BUTTON_RIGHT :: Int
+wxAUI_BUTTON_RIGHT = 108
+wxAUI_BUTTON_UP :: Int
+wxAUI_BUTTON_UP = 109
+wxAUI_BUTTON_DOWN :: Int
+wxAUI_BUTTON_DOWN = 110
+wxAUI_BUTTON_CUSTOM1 :: Int
+wxAUI_BUTTON_CUSTOM1 = 201
+wxAUI_BUTTON_CUSTOM2 :: Int
+wxAUI_BUTTON_CUSTOM2 = 202
+wxAUI_BUTTON_CUSTOM3 :: Int
+wxAUI_BUTTON_CUSTOM3 = 203
+-- end enum wxAuiButtonId
+
+-- enum wxAuiManagerDock
+wxAUI_DOCK_NONE :: Int
+wxAUI_DOCK_NONE = 0
+wxAUI_DOCK_TOP :: Int
+wxAUI_DOCK_TOP = 1
+wxAUI_DOCK_RIGHT :: Int
+wxAUI_DOCK_RIGHT = 2
+wxAUI_DOCK_BOTTOM :: Int
+wxAUI_DOCK_BOTTOM = 3
+wxAUI_DOCK_LEFT :: Int
+wxAUI_DOCK_LEFT = 4
+wxAUI_DOCK_CENTER :: Int
+wxAUI_DOCK_CENTER = 5
+wxAUI_DOCK_CENTRE :: Int
+wxAUI_DOCK_CENTRE = wxAUI_DOCK_CENTER
+-- end enum wxAuiManagerDock
+
+-- enum wxAuiPaneDockArtSetting
+wxAUI_DOCKART_SASH_SIZE :: Int
+wxAUI_DOCKART_SASH_SIZE = 0
+wxAUI_DOCKART_CAPTION_SIZE :: Int
+wxAUI_DOCKART_CAPTION_SIZE = 1
+wxAUI_DOCKART_GRIPPER_SIZE :: Int
+wxAUI_DOCKART_GRIPPER_SIZE = 2
+wxAUI_DOCKART_PANE_BORDER_SIZE :: Int
+wxAUI_DOCKART_PANE_BORDER_SIZE = 3
+wxAUI_DOCKART_PANE_BUTTON_SIZE :: Int
+wxAUI_DOCKART_PANE_BUTTON_SIZE = 4
+wxAUI_DOCKART_BACKGROUND_COLOUR :: Int
+wxAUI_DOCKART_BACKGROUND_COLOUR = 5
+wxAUI_DOCKART_SASH_COLOUR :: Int
+wxAUI_DOCKART_SASH_COLOUR = 6
+wxAUI_DOCKART_ACTIVE_CAPTION_COLOUR :: Int
+wxAUI_DOCKART_ACTIVE_CAPTION_COLOUR = 7
+wxAUI_DOCKART_ACTIVE_CAPTION_GRADIENT_COLOUR :: Int
+wxAUI_DOCKART_ACTIVE_CAPTION_GRADIENT_COLOUR = 8
+wxAUI_DOCKART_INACTIVE_CAPTION_COLOUR :: Int
+wxAUI_DOCKART_INACTIVE_CAPTION_COLOUR = 9
+wxAUI_DOCKART_INACTIVE_CAPTION_GRADIENT_COLOUR :: Int
+wxAUI_DOCKART_INACTIVE_CAPTION_GRADIENT_COLOUR = 10
+wxAUI_DOCKART_ACTIVE_CAPTION_TEXT_COLOUR :: Int
+wxAUI_DOCKART_ACTIVE_CAPTION_TEXT_COLOUR = 11
+wxAUI_DOCKART_INACTIVE_CAPTION_TEXT_COLOUR :: Int
+wxAUI_DOCKART_INACTIVE_CAPTION_TEXT_COLOUR = 12
+wxAUI_DOCKART_BORDER_COLOUR :: Int
+wxAUI_DOCKART_BORDER_COLOUR = 13
+wxAUI_DOCKART_GRIPPER_COLOUR :: Int
+wxAUI_DOCKART_GRIPPER_COLOUR = 14
+wxAUI_DOCKART_CAPTION_FONT :: Int
+wxAUI_DOCKART_CAPTION_FONT = 15
+wxAUI_DOCKART_GRADIENT_TYPE :: Int
+wxAUI_DOCKART_GRADIENT_TYPE = 16
+-- end enum wxAuiPaneDockArtSetting
+
+-- enum wxAuiPaneDockArtGradients
+wxAUI_GRADIENT_NONE :: Int
+wxAUI_GRADIENT_NONE = 0
+wxAUI_GRADIENT_VERTICAL :: Int
+wxAUI_GRADIENT_VERTICAL = 1
+wxAUI_GRADIENT_HORIZONTAL :: Int
+wxAUI_GRADIENT_HORIZONTAL = 2
+-- end enum wxAuiPaneDockArtGradients
+
+-- enum wxAuiManagerOption
+wxAUI_MGR_ALLOW_FLOATING :: Int
+wxAUI_MGR_ALLOW_FLOATING = 1
+wxAUI_MGR_ALLOW_ACTIVE_PANE :: Int
+wxAUI_MGR_ALLOW_ACTIVE_PANE = 2
+wxAUI_MGR_TRANSPARENT_DRAG :: Int
+wxAUI_MGR_TRANSPARENT_DRAG = 4
+wxAUI_MGR_TRANSPARENT_HINT :: Int
+wxAUI_MGR_TRANSPARENT_HINT = 8
+wxAUI_MGR_VENETIAN_BLINDS_HINT :: Int
+wxAUI_MGR_VENETIAN_BLINDS_HINT = 16
+wxAUI_MGR_RECTANGLE_HINT :: Int
+wxAUI_MGR_RECTANGLE_HINT = 32
+wxAUI_MGR_HINT_FADE :: Int
+wxAUI_MGR_HINT_FADE = 64
+wxAUI_MGR_NO_VENETIAN_BLINDS_FADE :: Int
+wxAUI_MGR_NO_VENETIAN_BLINDS_FADE = 128
+wxAUI_MGR_LIVE_RESIZE :: Int
+wxAUI_MGR_LIVE_RESIZE = 256
+wxAUI_MGR_DEFAULT :: Int
+wxAUI_MGR_DEFAULT = 201
+-- end enum wxAuiManagerOption
+
+-- enum wxAuiNotebookOption
+wxAUI_NB_TOP :: Int
+wxAUI_NB_TOP = 1
+-- not implemented yet
+wxAUI_NB_LEFT :: Int
+wxAUI_NB_LEFT = 2
+-- not implemented yet
+wxAUI_NB_RIGHT :: Int
+wxAUI_NB_RIGHT = 4
+wxAUI_NB_BOTTOM :: Int
+wxAUI_NB_BOTTOM = 8
+wxAUI_NB_TAB_SPLIT :: Int
+wxAUI_NB_TAB_SPLIT = 16
+wxAUI_NB_TAB_MOVE :: Int
+wxAUI_NB_TAB_MOVE = 32
+wxAUI_NB_TAB_EXTERNAL_MOVE :: Int
+wxAUI_NB_TAB_EXTERNAL_MOVE = 64
+wxAUI_NB_TAB_FIXED_WIDTH :: Int
+wxAUI_NB_TAB_FIXED_WIDTH = 128
+wxAUI_NB_SCROLL_BUTTONS :: Int
+wxAUI_NB_SCROLL_BUTTONS = 256
+wxAUI_NB_WINDOWLIST_BUTTON :: Int
+wxAUI_NB_WINDOWLIST_BUTTON = 512
+wxAUI_NB_CLOSE_BUTTON :: Int
+wxAUI_NB_CLOSE_BUTTON = 1024
+wxAUI_NB_CLOSE_ON_ACTIVE_TAB :: Int
+wxAUI_NB_CLOSE_ON_ACTIVE_TAB = 2048
+wxAUI_NB_CLOSE_ON_ALL_TABS :: Int
+wxAUI_NB_CLOSE_ON_ALL_TABS = 4096
+wxAUI_NB_MIDDLE_CLICK_CLOSE :: Int
+wxAUI_NB_MIDDLE_CLICK_CLOSE = 8192
+-- wxAUI_NB_TOP | wxAUI_NB_TAB_SPLIT | wxAUI_NB_TAB_MOVE | wxAUI_NB_SCROLL_BUTTONS | wxAUI_NB_CLOSE_ON_ACTIVE_TAB | wxAUI_NB_MIDDLE_CLICK_CLOSE
+wxAUI_NB_DEFAULT_STYLE :: Int
+wxAUI_NB_DEFAULT_STYLE = 10545
+ -- end enum wxAuiNotebookOption
+
+-- enum wxAuiPaneInsertLevel
+wxAUI_INSERT_PANE :: Int
+wxAUI_INSERT_PANE = 0
+wxAUI_INSERT_ROW :: Int
+wxAUI_INSERT_ROW = 1
+wxAUI_INSERT_DOCK :: Int
+wxAUI_INSERT_DOCK = 2
+-- end enum wxAuiPaneInsertLevel
+
+-- enum wxAuiToolBarStyle
+wxAUI_TB_TEXT :: Int
+wxAUI_TB_TEXT = 1
+wxAUI_TB_NO_TOOLTIPS :: Int
+wxAUI_TB_NO_TOOLTIPS = 2
+wxAUI_TB_NO_AUTORESIZE :: Int
+wxAUI_TB_NO_AUTORESIZE = 4
+wxAUI_TB_GRIPPER :: Int
+wxAUI_TB_GRIPPER = 8
+wxAUI_TB_OVERFLOW :: Int
+wxAUI_TB_OVERFLOW = 16
+wxAUI_TB_VERTICAL :: Int
+wxAUI_TB_VERTICAL = 32
+wxAUI_TB_HORZ_LAYOUT :: Int
+wxAUI_TB_HORZ_LAYOUT = 64
+wxAUI_TB_HORIZONTAL :: Int
+wxAUI_TB_HORIZONTAL = 128
+wxAUI_TB_PLAIN_BACKGROUND :: Int
+wxAUI_TB_PLAIN_BACKGROUND = 256
+wxAUI_TB_HORZ_TEXT :: Int
+wxAUI_TB_HORZ_TEXT = 65
+wxAUI_ORIENTATION_MASK :: Int
+wxAUI_ORIENTATION_MASK = 160
+wxAUI_TB_DEFAULT_STYLE :: Int
+wxAUI_TB_DEFAULT_STYLE = 0
+-- end enum wxAuiToolBarStyle
+
+-- enum wxAuiToolBarArtSetting
+wxAUI_TBART_SEPARATOR_SIZE :: Int
+wxAUI_TBART_SEPARATOR_SIZE = 0
+wxAUI_TBART_GRIPPER_SIZE :: Int
+wxAUI_TBART_GRIPPER_SIZE = 1
+wxAUI_TBART_OVERFLOW_SIZE :: Int
+wxAUI_TBART_OVERFLOW_SIZE =  2
+-- end enum wxAuiToolBarArtSetting
+
+-- enum wxAuiToolBarToolTextOrientation
+wxAUI_TBTOOL_TEXT_LEFT :: Int
+wxAUI_TBTOOL_TEXT_LEFT = 0
+wxAUI_TBTOOL_TEXT_RIGHT :: Int
+wxAUI_TBTOOL_TEXT_RIGHT = 1
+wxAUI_TBTOOL_TEXT_TOP :: Int
+wxAUI_TBTOOL_TEXT_TOP = 2
+wxAUI_TBTOOL_TEXT_BOTTOM :: Int
+wxAUI_TBTOOL_TEXT_BOTTOM =  3
+-- end enum wxAuiToolBarToolTextOrientation
+
+{-
+-- enum for wxBookCtrlHitTest
+wxBK_HITTEST_NOWHERE :: Int
+wxBK_HITTEST_NOWHERE = 1
+wxBK_HITTEST_ONICON :: Int
+wxBK_HITTEST_ONICON = 2
+wxBK_HITTEST_ONLABEL :: Int
+wxBK_HITTEST_ONLABEL = 4
+wxBK_HITTEST_ONITEM :: Int
+wxBK_HITTEST_ONITEM = 6
+wxBK_HITTEST_ONPAGE :: Int
+wxBK_HITTEST_ONPAGE = 8
+-- end enum
+
+-- wxBookCtrl flags (common for wxNotebook, wxListbook, wxChoicebook, wxTreebook)
+wxBK_DEFAULT :: Int
+wxBK_DEFAULT = 0x0000
+wxBK_TOP :: Int
+wxBK_TOP = 0x0010
+wxBK_BOTTOM :: Int
+wxBK_BOTTOM = 0x0020
+wxBK_LEFT :: Int
+wxBK_LEFT = 0x0040
+wxBK_RIGHT :: Int
+wxBK_RIGHT = 0x0080
+wxBK_ALIGN_MASK :: Int
+wxBK_ALIGN_MASK = 240
+-- end wxBookCtrl flags
+-}
+
+-- enum wxSizerFlagBits
+
+wxFIXED_MINSIZE :: Int
+wxFIXED_MINSIZE                = 0x8000
+
+wxRESERVE_SPACE_EVEN_IF_HIDDEN :: Int
+wxRESERVE_SPACE_EVEN_IF_HIDDEN = 0x0002
+
+-- a mask to extract wxSizerFlagBits from combination of flags
+wxSIZER_FLAG_BITS_MASK :: Int
+wxSIZER_FLAG_BITS_MASK         = 0x8002
+
+-- End enum wxSizerFlagBits
+
+-- enum wxStretch
+
+wxSTRETCH_NOT :: Int
+wxSTRETCH_NOT = 0
+
+wxSHRINK :: Int
+wxSHRINK = 4096
+
+wxGROW :: Int
+wxGROW = 8192
+
+wxEXPAND :: Int
+wxEXPAND = 8192
+
+wxSHAPED :: Int
+wxSHAPED = 16384
+
+wxTILE :: Int
+wxTILE = wxSHAPED .|. wxFIXED_MINSIZE
+
+-- a mask to extract stretch from the combination of flags
+-- wxSTRETCH_MASK = 0x7000 -- sans wxTILE
+
+-- End enum wxStretch
+
+-- enum wxBorder
+
+{-
+ - Window (Frame/dialog/subwindow/panel item) style flags
+ -}
+wxVSCROLL :: Int
+wxVSCROLL = fromIntegral (0x80000000 :: Integer) -- Casting to remove a compiler warning about Int being too big
+
+wxHSCROLL :: Int
+wxHSCROLL = 0x40000000
+
+wxCAPTION :: Int
+wxCAPTION = 0x20000000
+
+-- | Deprecated
+wxDOUBLE_BORDER :: Int
+wxDOUBLE_BORDER = 268435456
+{-# DEPRECATED wxDOUBLE_BORDER "Use wxBORDER_THEME" #-}
+
+-- | Deprecated
+wxSUNKEN_BORDER :: Int
+wxSUNKEN_BORDER = 134217728
+{-# DEPRECATED wxSUNKEN_BORDER "Use wxBORDER_SUNKEN" #-}
+
+-- | Deprecated
+wxRAISED_BORDER :: Int
+wxRAISED_BORDER = 67108864
+{-# DEPRECATED wxRAISED_BORDER "Use wxBORDER_RAISED" #-}
+
+-- | Deprecated
+wxSTATIC_BORDER :: Int
+wxSTATIC_BORDER = 16777216
+{-# DEPRECATED wxSTATIC_BORDER "Use wxBORDER_STATIC" #-}
+
+wxBORDER :: Int
+wxBORDER = 33554432
+
+-- | This is different from wxBORDER_NONE, as by default the controls do
+-- have border
+wxBORDER_DEFAULT :: Int
+wxBORDER_DEFAULT = 0
+
+-- | Displays no border, overriding the default border style for the
+-- window. wxNO_BORDER is the old name for this style.
+wxBORDER_NONE   :: Int
+wxBORDER_NONE   = 0x00200000
+
+-- | Displays a border suitable for a static control. wxSTATIC_BORDER is
+-- the old name for this style. Windows only.
+wxBORDER_STATIC :: Int
+wxBORDER_STATIC = 0x01000000
+
+-- | Displays a thin border around the window. wxSIMPLE_BORDER is the old
+-- name for this style.
+wxBORDER_SIMPLE :: Int
+wxBORDER_SIMPLE = 0x02000000
+
+-- | Displays a raised border. wxRAISED_BORDER is the old name for this style.
+wxBORDER_RAISED :: Int
+wxBORDER_RAISED = 0x04000000
+
+-- | Displays a sunken border. wxSUNKEN_BORDER is the old name for this style.
+wxBORDER_SUNKEN :: Int
+wxBORDER_SUNKEN = 0x08000000
+
+-- | Displays a themed border where possible. Currently this has an effect
+-- on Windows XP and above only. For more information on themed borders,
+-- please see Themed borders on Windows
+-- <http://docs.wxwidgets.org/2.8/wx_wxmswport.html#wxmswthemedborders>.
+wxBORDER_THEME  :: Int
+wxBORDER_THEME  = 0x10000000
+
+-- | A mask to extract border style from the combination of flags
+wxBORDER_MASK   :: Int
+wxBORDER_MASK   = 0x1f200000
+
+-- End enum wxBorder
+
+
+wxTRANSPARENT_WINDOW :: Int
+wxTRANSPARENT_WINDOW = 1048576
+
+wxNO_BORDER :: Int
+wxNO_BORDER = 2097152
+
+wxUSER_COLOURS :: Int
+wxUSER_COLOURS = 8388608
+
+wxNO_3D :: Int
+wxNO_3D = 8388608
+
+wxCLIP_CHILDREN :: Int
+wxCLIP_CHILDREN = 4194304
+
+wxTAB_TRAVERSAL :: Int
+wxTAB_TRAVERSAL = 524288
+
+wxWANTS_CHARS :: Int
+wxWANTS_CHARS = 262144
+
+wxRETAINED :: Int
+wxRETAINED = 131072
+
+wxNO_FULL_REPAINT_ON_RESIZE :: Int
+wxNO_FULL_REPAINT_ON_RESIZE = 65536
+
+wxWS_EX_VALIDATE_RECURSIVELY :: Int
+wxWS_EX_VALIDATE_RECURSIVELY = 1
+
+wxSTAY_ON_TOP :: Int
+wxSTAY_ON_TOP = 32768
+
+wxICONIZE :: Int
+wxICONIZE = 16384
+
+wxMAXIMIZE :: Int
+wxMAXIMIZE = 8192
+
+wxSYSTEM_MENU :: Int
+wxSYSTEM_MENU = 2048
+
+wxMINIMIZE_BOX :: Int
+wxMINIMIZE_BOX = 1024
+
+wxMAXIMIZE_BOX :: Int
+wxMAXIMIZE_BOX = 512
+
+wxDEFAULT_FRAME_STYLE :: Int
+wxDEFAULT_FRAME_STYLE = 536878656
+
+wxTINY_CAPTION_HORIZ :: Int
+wxTINY_CAPTION_HORIZ = 256
+
+wxTINY_CAPTION_VERT :: Int
+wxTINY_CAPTION_VERT = 128
+
+wxRESIZE_BORDER :: Int
+wxRESIZE_BORDER = 64
+
+wxDIALOG_MODAL :: Int
+wxDIALOG_MODAL = 32
+
+wxDIALOG_MODELESS :: Int
+wxDIALOG_MODELESS = 0
+
+wxFRAME_FLOAT_ON_PARENT :: Int
+wxFRAME_FLOAT_ON_PARENT = 8
+
+wxFRAME_NO_WINDOW_MENU :: Int
+wxFRAME_NO_WINDOW_MENU = 256
+
+wxED_CLIENT_MARGIN :: Int
+wxED_CLIENT_MARGIN = 4
+
+wxED_BUTTONS_BOTTOM :: Int
+wxED_BUTTONS_BOTTOM = 0
+
+wxED_BUTTONS_RIGHT :: Int
+wxED_BUTTONS_RIGHT = 2
+
+wxED_STATIC_LINE :: Int
+wxED_STATIC_LINE = 1
+
+wxMB_DOCKABLE :: Int
+wxMB_DOCKABLE = 1
+
+wxMENU_TEAROFF :: Int
+wxMENU_TEAROFF = 1
+
+wxCOLOURED :: Int
+wxCOLOURED = 2048
+
+wxFIXED_LENGTH :: Int
+wxFIXED_LENGTH = 1024
+
+wxLB_SORT :: Int
+wxLB_SORT = 16
+
+wxLB_SINGLE :: Int
+wxLB_SINGLE = 32
+
+wxLB_MULTIPLE :: Int
+wxLB_MULTIPLE = 64
+
+wxLB_EXTENDED :: Int
+wxLB_EXTENDED = 128
+
+wxLB_OWNERDRAW :: Int
+wxLB_OWNERDRAW = 256
+
+wxLB_NEEDED_SB :: Int
+wxLB_NEEDED_SB = 512
+
+wxLB_ALWAYS_SB :: Int
+wxLB_ALWAYS_SB = 1024
+
+-- ----------------------------------------------------------------------------
+-- wxTextCtrl style flags
+-- ----------------------------------------------------------------------------
+
+wxTE_NO_VSCROLL :: Int
+wxTE_NO_VSCROLL =     0x0002
+
+wxTE_READONLY :: Int
+wxTE_READONLY =       0x0010
+wxTE_MULTILINE :: Int
+wxTE_MULTILINE =      0x0020
+wxTE_PROCESS_TAB :: Int
+wxTE_PROCESS_TAB =    0x0040
+
+-- alignment flags
+wxTE_LEFT :: Int
+wxTE_LEFT =           0x0000                    -- 0x0000
+wxTE_CENTER :: Int
+wxTE_CENTER =         wxALIGN_CENTER_HORIZONTAL -- 0x0100
+wxTE_RIGHT :: Int
+wxTE_RIGHT =          wxALIGN_RIGHT             -- 0x0200
+wxTE_CENTRE :: Int
+wxTE_CENTRE =         wxTE_CENTER
+
+-- this style means to use RICHEDIT control and does something only under wxMSW
+-- and Win32 and is silently ignored under all other platforms
+wxTE_RICH :: Int
+wxTE_RICH =           0x0080
+
+wxTE_PROCESS_ENTER :: Int
+wxTE_PROCESS_ENTER =  0x0400
+
+wxTE_PASSWORD :: Int
+wxTE_PASSWORD =       0x0800
+
+-- automatically detect the URLs and generate the events when mouse is
+-- moved/clicked over an URL
+--
+-- this is for Win32 richedit and wxGTK2 multiline controls only so far
+wxTE_AUTO_URL :: Int
+wxTE_AUTO_URL =       0x1000
+
+-- by default, the Windows text control doesn't show the selection when it
+-- doesn't have focus - use this style to force it to always show it
+wxTE_NOHIDESEL :: Int
+wxTE_NOHIDESEL =      0x2000
+
+-- use wxHSCROLL to not wrap text at all, wxTE_CHARWRAP to wrap it at any
+-- position and wxTE_WORDWRAP to wrap at words boundary
+--
+-- if no wrapping style is given at all, the control wraps at word boundary
+wxTE_DONTWRAP :: Int
+wxTE_DONTWRAP =       wxHSCROLL
+wxTE_CHARWRAP :: Int
+wxTE_CHARWRAP =       0x4000  -- wrap at any position
+wxTE_WORDWRAP :: Int
+wxTE_WORDWRAP =       0x0001  -- wrap only at words boundaries
+wxTE_BESTWRAP :: Int
+wxTE_BESTWRAP =       0x0000  -- this is the default
+
+-- if WXWIN_COMPATIBILITY_2_6
+-- obsolete synonym
+wxTE_LINEWRAP :: Int
+wxTE_LINEWRAP =       wxTE_CHARWRAP
+{-# DEPRECATED wxTE_LINEWRAP "Don't use this" #-}
+-- endif -- WXWIN_COMPATIBILITY_2_6
+
+-- if WXWIN_COMPATIBILITY_2_8
+-- this style is (or at least should be) on by default now, don't use it
+wxTE_AUTO_SCROLL :: Int
+wxTE_AUTO_SCROLL =    0
+{-# DEPRECATED wxTE_AUTO_SCROLL "Don't use this" #-}
+-- endif -- WXWIN_COMPATIBILITY_2_8
+
+-- force using RichEdit version 2.0 or 3.0 instead of 1.0 (default) for
+-- wxTE_RICH controls - can be used together with or instead of wxTE_RICH
+wxTE_RICH2 :: Int
+wxTE_RICH2 =          0x8000
+
+-- reuse wxTE_RICH2's value for CAPEDIT control on Windows CE
+-- #if defined(__SMARTPHONE__) || defined(__POCKETPC__)
+-- wxTE_CAPITALIZE :: Int
+-- wxTE_CAPITALIZE =     wxTE_RICH2
+-- #else
+wxTE_CAPITALIZE :: Int
+wxTE_CAPITALIZE =     0
+-- #endif
+
+-- ----------------------------------------------------------------------------
+-- wxTextCtrl file types
+-- ----------------------------------------------------------------------------
+
+wxTEXT_TYPE_ANY :: Int
+wxTEXT_TYPE_ANY =     0
+
+-- ----------------------------------------------------------------------------
+-- wxTextCtrl::HitTest return values
+-- ----------------------------------------------------------------------------
+
+-- the point asked is ...
+-- enum wxTextCtrlHitTestResult
+wxTE_HT_UNKNOWN :: Int
+wxTE_HT_UNKNOWN = -2    -- this means HitTest() is simply not implemented
+wxTE_HT_BEFORE :: Int
+wxTE_HT_BEFORE  = -1    -- either to the left or upper
+wxTE_HT_ON_TEXT :: Int
+wxTE_HT_ON_TEXT = 0     -- directly on
+wxTE_HT_BELOW :: Int
+wxTE_HT_BELOW   = 1     -- below [the last line]
+wxTE_HT_BEYOND :: Int
+wxTE_HT_BEYOND  = 2     -- after [the end of line]
+-- ... the character returned
+
+-- ----------------------------------------------------------------------------
+-- Types for wxTextAttr
+-- ----------------------------------------------------------------------------
+
+-- Alignment
+
+-- enum wxTextAttrAlignment
+wxTEXT_ALIGNMENT_DEFAULT   :: Int 
+wxTEXT_ALIGNMENT_DEFAULT   = 0
+wxTEXT_ALIGNMENT_LEFT      :: Int
+wxTEXT_ALIGNMENT_LEFT      = 1
+wxTEXT_ALIGNMENT_CENTRE    :: Int
+wxTEXT_ALIGNMENT_CENTRE    = 2
+wxTEXT_ALIGNMENT_CENTER    :: Int
+wxTEXT_ALIGNMENT_CENTER    = wxTEXT_ALIGNMENT_CENTRE
+wxTEXT_ALIGNMENT_RIGHT     :: Int
+wxTEXT_ALIGNMENT_RIGHT     = 3
+wxTEXT_ALIGNMENT_JUSTIFIED :: Int
+wxTEXT_ALIGNMENT_JUSTIFIED = 4
+
+-- Flags to indicate which attributes are being applied
+-- enum wxTextAttrFlags
+wxTEXT_ATTR_TEXT_COLOUR          :: Int
+wxTEXT_ATTR_TEXT_COLOUR          = 0x00000001
+wxTEXT_ATTR_BACKGROUND_COLOUR    :: Int
+wxTEXT_ATTR_BACKGROUND_COLOUR    = 0x00000002
+
+wxTEXT_ATTR_FONT_FACE            :: Int
+wxTEXT_ATTR_FONT_FACE            = 0x00000004
+wxTEXT_ATTR_FONT_POINT_SIZE      :: Int
+wxTEXT_ATTR_FONT_POINT_SIZE      = 0x00000008
+wxTEXT_ATTR_FONT_PIXEL_SIZE      :: Int
+wxTEXT_ATTR_FONT_PIXEL_SIZE      = 0x10000000
+wxTEXT_ATTR_FONT_WEIGHT          :: Int
+wxTEXT_ATTR_FONT_WEIGHT          = 0x00000010
+wxTEXT_ATTR_FONT_ITALIC          :: Int
+wxTEXT_ATTR_FONT_ITALIC          = 0x00000020
+wxTEXT_ATTR_FONT_UNDERLINE       :: Int
+wxTEXT_ATTR_FONT_UNDERLINE       = 0x00000040
+wxTEXT_ATTR_FONT_STRIKETHROUGH   :: Int
+wxTEXT_ATTR_FONT_STRIKETHROUGH   = 0x08000000
+wxTEXT_ATTR_FONT_ENCODING        :: Int
+wxTEXT_ATTR_FONT_ENCODING        = 0x02000000
+wxTEXT_ATTR_FONT_FAMILY          :: Int
+wxTEXT_ATTR_FONT_FAMILY          = 0x04000000
+wxTEXT_ATTR_FONT_SIZE :: Int
+wxTEXT_ATTR_FONT_SIZE = 
+  wxTEXT_ATTR_FONT_POINT_SIZE .|.
+  wxTEXT_ATTR_FONT_PIXEL_SIZE
+wxTEXT_ATTR_FONT :: Int
+wxTEXT_ATTR_FONT =
+  wxTEXT_ATTR_FONT_FACE .|.
+  wxTEXT_ATTR_FONT_SIZE .|.
+  wxTEXT_ATTR_FONT_WEIGHT .|.
+  wxTEXT_ATTR_FONT_ITALIC .|.
+  wxTEXT_ATTR_FONT_UNDERLINE .|.
+  wxTEXT_ATTR_FONT_STRIKETHROUGH .|.
+  wxTEXT_ATTR_FONT_ENCODING .|.
+  wxTEXT_ATTR_FONT_FAMILY 
+
+wxTEXT_ATTR_ALIGNMENT            :: Int
+wxTEXT_ATTR_ALIGNMENT            = 0x00000080
+wxTEXT_ATTR_LEFT_INDENT          :: Int
+wxTEXT_ATTR_LEFT_INDENT          = 0x00000100
+wxTEXT_ATTR_RIGHT_INDENT         :: Int
+wxTEXT_ATTR_RIGHT_INDENT         = 0x00000200
+wxTEXT_ATTR_TABS                 :: Int
+wxTEXT_ATTR_TABS                 = 0x00000400
+wxTEXT_ATTR_PARA_SPACING_AFTER   :: Int
+wxTEXT_ATTR_PARA_SPACING_AFTER   = 0x00000800
+wxTEXT_ATTR_PARA_SPACING_BEFORE  :: Int
+wxTEXT_ATTR_PARA_SPACING_BEFORE  = 0x00001000
+wxTEXT_ATTR_LINE_SPACING         :: Int
+wxTEXT_ATTR_LINE_SPACING         = 0x00002000
+wxTEXT_ATTR_CHARACTER_STYLE_NAME :: Int
+wxTEXT_ATTR_CHARACTER_STYLE_NAME = 0x00004000
+wxTEXT_ATTR_PARAGRAPH_STYLE_NAME :: Int
+wxTEXT_ATTR_PARAGRAPH_STYLE_NAME = 0x00008000
+wxTEXT_ATTR_LIST_STYLE_NAME      :: Int
+wxTEXT_ATTR_LIST_STYLE_NAME      = 0x00010000
+
+wxTEXT_ATTR_BULLET_STYLE         :: Int
+wxTEXT_ATTR_BULLET_STYLE         = 0x00020000
+wxTEXT_ATTR_BULLET_NUMBER        :: Int
+wxTEXT_ATTR_BULLET_NUMBER        = 0x00040000
+wxTEXT_ATTR_BULLET_TEXT          :: Int
+wxTEXT_ATTR_BULLET_TEXT          = 0x00080000
+wxTEXT_ATTR_BULLET_NAME          :: Int
+wxTEXT_ATTR_BULLET_NAME          = 0x00100000
+
+wxTEXT_ATTR_BULLET :: Int
+wxTEXT_ATTR_BULLET =
+  wxTEXT_ATTR_BULLET_STYLE .|.
+  wxTEXT_ATTR_BULLET_NUMBER .|.
+  wxTEXT_ATTR_BULLET_TEXT .|.
+  wxTEXT_ATTR_BULLET_NAME
+
+
+wxTEXT_ATTR_URL                  :: Int
+wxTEXT_ATTR_URL                  = 0x00200000
+wxTEXT_ATTR_PAGE_BREAK           :: Int
+wxTEXT_ATTR_PAGE_BREAK           = 0x00400000
+wxTEXT_ATTR_EFFECTS              :: Int
+wxTEXT_ATTR_EFFECTS              = 0x00800000
+wxTEXT_ATTR_OUTLINE_LEVEL        :: Int
+wxTEXT_ATTR_OUTLINE_LEVEL        = 0x01000000
+
+{-!
+* Character and paragraph combined styles
+-}
+
+wxTEXT_ATTR_CHARACTER :: Int
+wxTEXT_ATTR_CHARACTER =
+  wxTEXT_ATTR_FONT .|.
+  wxTEXT_ATTR_EFFECTS .|.
+  wxTEXT_ATTR_BACKGROUND_COLOUR .|.
+  wxTEXT_ATTR_TEXT_COLOUR .|.
+  wxTEXT_ATTR_CHARACTER_STYLE_NAME .|.
+  wxTEXT_ATTR_URL
+
+wxTEXT_ATTR_PARAGRAPH :: Int
+wxTEXT_ATTR_PARAGRAPH = 
+  wxTEXT_ATTR_ALIGNMENT .|.
+  wxTEXT_ATTR_LEFT_INDENT .|.
+  wxTEXT_ATTR_RIGHT_INDENT .|.
+  wxTEXT_ATTR_TABS .|.
+  wxTEXT_ATTR_PARA_SPACING_BEFORE .|.
+  wxTEXT_ATTR_PARA_SPACING_AFTER .|.
+  wxTEXT_ATTR_LINE_SPACING .|.
+  wxTEXT_ATTR_BULLET .|.
+  wxTEXT_ATTR_PARAGRAPH_STYLE_NAME .|.
+  wxTEXT_ATTR_LIST_STYLE_NAME .|.
+  wxTEXT_ATTR_OUTLINE_LEVEL .|.
+  wxTEXT_ATTR_PAGE_BREAK
+
+wxTEXT_ATTR_ALL :: Int
+wxTEXT_ATTR_ALL =
+  wxTEXT_ATTR_CHARACTER .|.
+  wxTEXT_ATTR_PARAGRAPH
+
+{-!
+* Styles for wxTextAttr::SetBulletStyle
+-}
+-- enum wxTextAttrBulletStyle
+wxTEXT_ATTR_BULLET_STYLE_NONE            :: Int
+wxTEXT_ATTR_BULLET_STYLE_NONE            = 0x00000000
+wxTEXT_ATTR_BULLET_STYLE_ARABIC          :: Int
+wxTEXT_ATTR_BULLET_STYLE_ARABIC          = 0x00000001
+wxTEXT_ATTR_BULLET_STYLE_LETTERS_UPPER   :: Int
+wxTEXT_ATTR_BULLET_STYLE_LETTERS_UPPER   = 0x00000002
+wxTEXT_ATTR_BULLET_STYLE_LETTERS_LOWER   :: Int
+wxTEXT_ATTR_BULLET_STYLE_LETTERS_LOWER   = 0x00000004
+wxTEXT_ATTR_BULLET_STYLE_ROMAN_UPPER     :: Int
+wxTEXT_ATTR_BULLET_STYLE_ROMAN_UPPER     = 0x00000008
+wxTEXT_ATTR_BULLET_STYLE_ROMAN_LOWER     :: Int
+wxTEXT_ATTR_BULLET_STYLE_ROMAN_LOWER     = 0x00000010
+wxTEXT_ATTR_BULLET_STYLE_SYMBOL          :: Int
+wxTEXT_ATTR_BULLET_STYLE_SYMBOL          = 0x00000020
+wxTEXT_ATTR_BULLET_STYLE_BITMAP          :: Int
+wxTEXT_ATTR_BULLET_STYLE_BITMAP          = 0x00000040
+wxTEXT_ATTR_BULLET_STYLE_PARENTHESES     :: Int
+wxTEXT_ATTR_BULLET_STYLE_PARENTHESES     = 0x00000080
+wxTEXT_ATTR_BULLET_STYLE_PERIOD          :: Int
+wxTEXT_ATTR_BULLET_STYLE_PERIOD          = 0x00000100
+wxTEXT_ATTR_BULLET_STYLE_STANDARD        :: Int
+wxTEXT_ATTR_BULLET_STYLE_STANDARD        = 0x00000200
+wxTEXT_ATTR_BULLET_STYLE_RIGHT_PARENTHESIS :: Int
+wxTEXT_ATTR_BULLET_STYLE_RIGHT_PARENTHESIS = 0x00000400
+wxTEXT_ATTR_BULLET_STYLE_OUTLINE         :: Int
+wxTEXT_ATTR_BULLET_STYLE_OUTLINE         = 0x00000800
+
+wxTEXT_ATTR_BULLET_STYLE_ALIGN_LEFT      :: Int
+wxTEXT_ATTR_BULLET_STYLE_ALIGN_LEFT      = 0x00000000
+wxTEXT_ATTR_BULLET_STYLE_ALIGN_RIGHT     :: Int
+wxTEXT_ATTR_BULLET_STYLE_ALIGN_RIGHT     = 0x00001000
+wxTEXT_ATTR_BULLET_STYLE_ALIGN_CENTRE    :: Int
+wxTEXT_ATTR_BULLET_STYLE_ALIGN_CENTRE    = 0x00002000
+
+wxTEXT_ATTR_BULLET_STYLE_CONTINUATION    :: Int
+wxTEXT_ATTR_BULLET_STYLE_CONTINUATION    = 0x00004000
+
+{-!
+* Styles for wxTextAttr::SetTextEffects
+-}
+-- enum wxTextAttrEffects
+wxTEXT_ATTR_EFFECT_NONE                  :: Int
+wxTEXT_ATTR_EFFECT_NONE                  = 0x00000000
+wxTEXT_ATTR_EFFECT_CAPITALS              :: Int
+wxTEXT_ATTR_EFFECT_CAPITALS              = 0x00000001
+wxTEXT_ATTR_EFFECT_SMALL_CAPITALS        :: Int
+wxTEXT_ATTR_EFFECT_SMALL_CAPITALS        = 0x00000002
+wxTEXT_ATTR_EFFECT_STRIKETHROUGH         :: Int
+wxTEXT_ATTR_EFFECT_STRIKETHROUGH         = 0x00000004
+wxTEXT_ATTR_EFFECT_DOUBLE_STRIKETHROUGH  :: Int
+wxTEXT_ATTR_EFFECT_DOUBLE_STRIKETHROUGH  = 0x00000008
+wxTEXT_ATTR_EFFECT_SHADOW                :: Int
+wxTEXT_ATTR_EFFECT_SHADOW                = 0x00000010
+wxTEXT_ATTR_EFFECT_EMBOSS                :: Int
+wxTEXT_ATTR_EFFECT_EMBOSS                = 0x00000020
+wxTEXT_ATTR_EFFECT_OUTLINE               :: Int
+wxTEXT_ATTR_EFFECT_OUTLINE               = 0x00000040
+wxTEXT_ATTR_EFFECT_ENGRAVE               :: Int
+wxTEXT_ATTR_EFFECT_ENGRAVE               = 0x00000080
+wxTEXT_ATTR_EFFECT_SUPERSCRIPT           :: Int
+wxTEXT_ATTR_EFFECT_SUPERSCRIPT           = 0x00000100
+wxTEXT_ATTR_EFFECT_SUBSCRIPT             :: Int
+wxTEXT_ATTR_EFFECT_SUBSCRIPT             = 0x00000200
+
+{-!
+* Line spacing values
+-}
+-- enum wxTextAttrLineSpacing
+wxTEXT_ATTR_LINE_SPACING_NORMAL         :: Int
+wxTEXT_ATTR_LINE_SPACING_NORMAL         = 10
+wxTEXT_ATTR_LINE_SPACING_HALF           :: Int
+wxTEXT_ATTR_LINE_SPACING_HALF           = 15
+wxTEXT_ATTR_LINE_SPACING_TWICE          :: Int
+wxTEXT_ATTR_LINE_SPACING_TWICE          = 20
+
+--End wxTextCtrl style flags
+
+-- PickerBase style flags
+wxPB_USE_TEXTCTRL :: Int
+wxPB_USE_TEXTCTRL = 0x0002
+wxPB_SMALL        :: Int
+wxPB_SMALL        = 0x8000
+
+-- ColourPickerCtrl style flags
+wxCLRP_USE_TEXTCTRL  :: Int
+wxCLRP_USE_TEXTCTRL  = wxPB_USE_TEXTCTRL
+wxCLRP_DEFAULT_STYLE :: Int
+wxCLRP_DEFAULT_STYLE = 0
+wxCLRP_SHOW_LABEL    :: Int
+wxCLRP_SHOW_LABEL    = 0x0008
+
+-- HyperlinkCtrl style flags
+wxHL_CONTEXTMENU   :: Int
+wxHL_CONTEXTMENU   = 0x0001
+wxHL_ALIGN_LEFT    :: Int
+wxHL_ALIGN_LEFT    = 0x0002
+wxHL_ALIGN_RIGHT   :: Int
+wxHL_ALIGN_RIGHT   = 0x0004
+wxHL_ALIGN_CENTRE  :: Int
+wxHL_ALIGN_CENTRE  = 0x0008
+wxHL_DEFAULT_STYLE :: Int
+wxHL_DEFAULT_STYLE = wxHL_CONTEXTMENU.|.wxNO_BORDER.|.wxHL_ALIGN_CENTRE
+
+
+wxPROCESS_ENTER :: Int
+wxPROCESS_ENTER = 1024
+{-# DEPRECATED wxPROCESS_ENTER "Use wxTE_PROCESS_ENTER" #-}
+
+wxPASSWORD :: Int
+wxPASSWORD = 2048
+{-# DEPRECATED wxPASSWORD "Use wxTE_PASSWORD" #-}
+
+wxCB_SIMPLE :: Int
+wxCB_SIMPLE = 4
+
+wxCB_SORT :: Int
+wxCB_SORT = 8
+
+wxCB_READONLY :: Int
+wxCB_READONLY = 16
+
+wxCB_DROPDOWN :: Int
+wxCB_DROPDOWN = 32
+
+wxRB_GROUP :: Int
+wxRB_GROUP = 4
+
+wxGA_PROGRESSBAR :: Int
+wxGA_PROGRESSBAR = 16
+
+wxGA_SMOOTH :: Int
+wxGA_SMOOTH = 32
+
+wxSL_NOTIFY_DRAG :: Int
+wxSL_NOTIFY_DRAG = 0
+
+wxSL_AUTOTICKS :: Int
+wxSL_AUTOTICKS = 16
+
+wxSL_LABELS :: Int
+wxSL_LABELS = 32
+
+wxSL_LEFT :: Int
+wxSL_LEFT = 64
+
+wxSL_TOP :: Int
+wxSL_TOP = 128
+
+wxSL_RIGHT :: Int
+wxSL_RIGHT = 256
+
+wxSL_BOTTOM :: Int
+wxSL_BOTTOM = 512
+
+wxSL_BOTH :: Int
+wxSL_BOTH = 1024
+
+wxSL_SELRANGE :: Int
+wxSL_SELRANGE = 2048
+
+
+-- wxAnyButton specific flags
+
+-- These flags affect label alignment
+wxBU_LEFT :: Int
+wxBU_LEFT = 64
+
+wxBU_TOP :: Int
+wxBU_TOP = 128
+
+wxBU_RIGHT :: Int
+wxBU_RIGHT = 256
+
+wxBU_BOTTOM :: Int
+wxBU_BOTTOM = 512
+
+wxBU_ALIGN_MASK :: Int
+wxBU_ALIGN_MASK = wxBU_LEFT .|. wxBU_TOP .|. wxBU_RIGHT .|. wxBU_BOTTOM
+
+-- These two flags are obsolete
+wxBU_AUTODRAW :: Int
+wxBU_AUTODRAW = 4
+{-# DEPRECATED wxBU_AUTODRAW "Don't use this" #-}
+
+wxBU_NOAUTODRAW :: Int
+wxBU_NOAUTODRAW = 0
+{-# DEPRECATED wxBU_NOAUTODRAW "Don't use this" #-}
+
+-- by default, the buttons will be created with some (system dependent)
+-- minimal size to make them look nicer, giving this style will make them as
+-- small as possible
+wxBU_EXACTFIT :: Int
+wxBU_EXACTFIT = 0x0001
+
+-- this flag can be used to disable using the text label in the button: it is
+-- mostly useful when creating buttons showing bitmap and having stock id as
+-- without it both the standard label corresponding to the stock id and the
+-- bitmap would be shown
+wxBU_NOTEXT :: Int
+wxBU_NOTEXT = 0x0002
+
+-- End wxAnyButton specific flags
+
+
+wxLC_VRULES :: Int
+wxLC_VRULES = 1
+
+wxLC_HRULES :: Int
+wxLC_HRULES = 2
+
+wxLC_ICON :: Int
+wxLC_ICON = 4
+
+wxLC_SMALL_ICON :: Int
+wxLC_SMALL_ICON = 8
+
+wxLC_LIST :: Int
+wxLC_LIST = 16
+
+wxLC_REPORT :: Int
+wxLC_REPORT = 32
+
+wxLC_ALIGN_TOP :: Int
+wxLC_ALIGN_TOP = 64
+
+wxLC_ALIGN_LEFT :: Int
+wxLC_ALIGN_LEFT = 128
+
+wxLC_AUTOARRANGE :: Int
+wxLC_AUTOARRANGE = 256
+
+wxLC_VIRTUAL :: Int
+wxLC_VIRTUAL = 512
+
+wxLC_EDIT_LABELS :: Int
+wxLC_EDIT_LABELS = 1024
+
+wxLC_NO_HEADER :: Int
+wxLC_NO_HEADER = 2048
+
+wxLC_NO_SORT_HEADER :: Int
+wxLC_NO_SORT_HEADER = 4096
+
+wxLC_SINGLE_SEL :: Int
+wxLC_SINGLE_SEL = 8192
+
+wxLC_SORT_ASCENDING :: Int
+wxLC_SORT_ASCENDING = 16384
+
+wxLC_SORT_DESCENDING :: Int
+wxLC_SORT_DESCENDING = 32768
+
+wxLC_MASK_TYPE  :: Int
+wxLC_MASK_TYPE  = wxLC_ICON .|. wxLC_SMALL_ICON .|. wxLC_LIST .|. wxLC_REPORT
+
+wxLC_MASK_ALIGN :: Int
+wxLC_MASK_ALIGN = wxLC_ALIGN_TOP .|. wxLC_ALIGN_LEFT
+
+wxLC_MASK_SORT  :: Int
+wxLC_MASK_SORT  = wxLC_SORT_ASCENDING .|. wxLC_SORT_DESCENDING
+
+wxSP_ARROW_KEYS :: Int
+wxSP_ARROW_KEYS = 4096
+
+wxSP_WRAP :: Int
+wxSP_WRAP = 8192
+
+wxSP_NOBORDER :: Int
+wxSP_NOBORDER = 0
+
+wxSP_NOSASH :: Int
+wxSP_NOSASH = 16
+
+wxSP_BORDER :: Int
+wxSP_BORDER = 32
+
+wxSP_PERMIT_UNSPLIT :: Int
+wxSP_PERMIT_UNSPLIT = 64
+
+wxSP_LIVE_UPDATE :: Int
+wxSP_LIVE_UPDATE = 128
+
+wxSP_3DSASH :: Int
+wxSP_3DSASH = 256
+
+wxSP_3DBORDER :: Int
+wxSP_3DBORDER = 512
+
+wxSP_3D :: Int
+wxSP_3D = 768
+
+wxSP_FULLSASH :: Int
+wxSP_FULLSASH = 1024
+
+wxFRAME_TOOL_WINDOW :: Int
+wxFRAME_TOOL_WINDOW = 4
+
+wxTC_MULTILINE :: Int
+wxTC_MULTILINE = 0
+
+wxTC_RIGHTJUSTIFY :: Int
+wxTC_RIGHTJUSTIFY = 16
+
+wxTC_FIXEDWIDTH :: Int
+wxTC_FIXEDWIDTH = 32
+
+wxTC_OWNERDRAW :: Int
+wxTC_OWNERDRAW = 64
+
+wxNB_FIXEDWIDTH :: Int
+wxNB_FIXEDWIDTH = 16
+
+wxST_SIZEGRIP :: Int
+wxST_SIZEGRIP = 16
+
+wxST_NO_AUTORESIZE :: Int
+wxST_NO_AUTORESIZE = 1
+
+wxPD_CAN_ABORT :: Int
+wxPD_CAN_ABORT = 1
+
+wxPD_APP_MODAL :: Int
+wxPD_APP_MODAL = 2
+
+wxPD_AUTO_HIDE :: Int
+wxPD_AUTO_HIDE = 4
+
+wxPD_ELAPSED_TIME :: Int
+wxPD_ELAPSED_TIME = 8
+
+wxPD_ESTIMATED_TIME :: Int
+wxPD_ESTIMATED_TIME = 16
+
+wxPD_REMAINING_TIME :: Int
+wxPD_REMAINING_TIME = 64
+
+wxHW_SCROLLBAR_NEVER :: Int
+wxHW_SCROLLBAR_NEVER = 2
+
+wxHW_SCROLLBAR_AUTO :: Int
+wxHW_SCROLLBAR_AUTO = 4
+
+wxCAL_SUNDAY_FIRST :: Int
+wxCAL_SUNDAY_FIRST = 0
+
+wxCAL_MONDAY_FIRST :: Int
+wxCAL_MONDAY_FIRST = 1
+
+wxCAL_SHOW_HOLIDAYS :: Int
+wxCAL_SHOW_HOLIDAYS = 2
+
+wxCAL_NO_YEAR_CHANGE :: Int
+wxCAL_NO_YEAR_CHANGE = 4
+
+wxCAL_NO_MONTH_CHANGE :: Int
+wxCAL_NO_MONTH_CHANGE = 12
+
+wxICON_EXCLAMATION :: Int
+wxICON_EXCLAMATION = 256
+
+wxICON_HAND :: Int
+wxICON_HAND = 512
+
+wxICON_QUESTION :: Int
+wxICON_QUESTION = 1024
+
+wxICON_INFORMATION :: Int
+wxICON_INFORMATION = 2048
+
+wxFORWARD :: Int
+wxFORWARD = 4096
+
+wxBACKWARD :: Int
+wxBACKWARD = 8192
+
+wxRESET :: Int
+wxRESET = 16384
+
+wxHELP :: Int
+wxHELP = 32768
+
+wxMORE :: Int
+wxMORE = 65536
+
+wxSETUP :: Int
+wxSETUP = 131072
+
+wxID_LOWEST :: Int
+wxID_LOWEST = 4999
+
+wxID_OPEN :: Int
+wxID_OPEN = 5000
+
+wxID_CLOSE :: Int
+wxID_CLOSE = 5001
+
+wxID_NEW :: Int
+wxID_NEW = 5002
+
+wxID_SAVE :: Int
+wxID_SAVE = 5003
+
+wxID_SAVEAS :: Int
+wxID_SAVEAS = 5004
+
+wxID_REVERT :: Int
+wxID_REVERT = 5005
+
+wxID_EXIT :: Int
+wxID_EXIT = 5006
+
+wxID_UNDO :: Int
+wxID_UNDO = 5007
+
+wxID_REDO :: Int
+wxID_REDO = 5008
+
+wxID_HELP :: Int
+wxID_HELP = 5009
+
+wxID_PRINT :: Int
+wxID_PRINT = 5010
+
+wxID_PRINT_SETUP :: Int
+wxID_PRINT_SETUP = 5011
+
+wxID_PREVIEW :: Int
+wxID_PREVIEW = 5012
+
+wxID_ABOUT :: Int
+wxID_ABOUT = 5013
+
+wxID_HELP_CONTENTS :: Int
+wxID_HELP_CONTENTS = 5014
+
+wxID_HELP_COMMANDS :: Int
+wxID_HELP_COMMANDS = 5015
+
+wxID_HELP_PROCEDURES :: Int
+wxID_HELP_PROCEDURES = 5016
+
+wxID_HELP_CONTEXT :: Int
+wxID_HELP_CONTEXT = 5017
+
+wxPG_DEFAULT_STYLE :: Int
+wxPG_DEFAULT_STYLE = 0
+
+wxID_CLOSE_ALL :: Int
+wxID_CLOSE_ALL = 5018
+
+wxID_PREFERENCES :: Int
+wxID_PREFERENCES = 5019
+
+wxID_EDIT :: Int
+wxID_EDIT = 5030
+
+wxID_CUT :: Int
+wxID_CUT = 5031
+
+wxID_COPY :: Int
+wxID_COPY = 5032
+
+wxID_PASTE :: Int
+wxID_PASTE = 5033
+
+wxID_CLEAR :: Int
+wxID_CLEAR = 5034
+
+wxID_FIND :: Int
+wxID_FIND = 5035
+
+wxID_DUPLICATE :: Int
+wxID_DUPLICATE = 5036
+
+wxID_SELECTALL :: Int
+wxID_SELECTALL = 5037
+
+wxID_DELETE :: Int
+wxID_DELETE = 5038
+
+wxID_REPLACE :: Int
+wxID_REPLACE = 5039
+
+wxID_REPLACE_ALL :: Int
+wxID_REPLACE_ALL = 5040
+
+wxID_PROPERTIES :: Int
+wxID_PROPERTIES = 5041
+
+wxID_VIEW_DETAILS :: Int
+wxID_VIEW_DETAILS = 5042
+
+wxID_VIEW_LARGEICONS :: Int
+wxID_VIEW_LARGEICONS = 5043
+
+wxID_VIEW_SMALLICONS :: Int
+wxID_VIEW_SMALLICONS = 5044
+
+wxID_VIEW_LIST :: Int
+wxID_VIEW_LIST = 5045
+
+wxID_VIEW_SORTDATE :: Int
+wxID_VIEW_SORTDATE = 5046
+
+wxID_VIEW_SORTNAME :: Int
+wxID_VIEW_SORTNAME = 5047
+
+wxID_VIEW_SORTSIZE :: Int
+wxID_VIEW_SORTSIZE = 5048
+
+wxID_VIEW_SORTTYPE :: Int
+wxID_VIEW_SORTTYPE = 5049
+
+wxID_FILE1 :: Int
+wxID_FILE1 = 5050
+
+wxID_FILE2 :: Int
+wxID_FILE2 = 5051
+
+wxID_FILE3 :: Int
+wxID_FILE3 = 5052
+
+wxID_FILE4 :: Int
+wxID_FILE4 = 5053
+
+wxID_FILE5 :: Int
+wxID_FILE5 = 5054
+
+wxID_FILE6 :: Int
+wxID_FILE6 = 5055
+
+wxID_FILE7 :: Int
+wxID_FILE7 = 5056
+
+wxID_FILE8 :: Int
+wxID_FILE8 = 5057
+
+wxID_FILE9 :: Int
+wxID_FILE9 = 5058
+
+wxID_OK :: Int
+wxID_OK = 5100
+
+wxID_CANCEL :: Int
+wxID_CANCEL = 5101
+
+wxID_APPLY :: Int
+wxID_APPLY = 5102
+
+wxID_YES :: Int
+wxID_YES = 5103
+
+wxID_NO :: Int
+wxID_NO = 5104
+
+wxID_STATIC :: Int
+wxID_STATIC = 5105
+
+wxID_FORWARD :: Int
+wxID_FORWARD = 5106
+
+wxID_BACKWARD :: Int
+wxID_BACKWARD = 5107
+
+wxID_DEFAULT :: Int
+wxID_DEFAULT = 5108
+
+wxID_MORE :: Int
+wxID_MORE = 5109
+
+wxID_SETUP :: Int
+wxID_SETUP = 5110
+
+wxID_RESET :: Int
+wxID_RESET = 5111
+
+wxID_FILEDLGG :: Int
+wxID_FILEDLGG = 5900
+
+wxID_HIGHEST :: Int
+wxID_HIGHEST = 5999
+
+wxSIZE_AUTO_WIDTH :: Int
+wxSIZE_AUTO_WIDTH = 1
+
+wxSIZE_AUTO_HEIGHT :: Int
+wxSIZE_AUTO_HEIGHT = 2
+
+wxSIZE_USE_EXISTING :: Int
+wxSIZE_USE_EXISTING = 0
+
+wxSIZE_ALLOW_MINUS_ONE :: Int
+wxSIZE_ALLOW_MINUS_ONE = 4
+
+wxSIZE_NO_ADJUSTMENTS :: Int
+wxSIZE_NO_ADJUSTMENTS = 8
+
+wxSOLID :: Int
+wxSOLID = 100
+{-# DEPRECATED wxSOLID "Don't use this" #-}
+
+wxDOT :: Int
+wxDOT = 101
+{-# DEPRECATED wxDOT "Don't use this" #-}
+
+wxLONG_DASH :: Int
+wxLONG_DASH = 102
+{-# DEPRECATED wxLONG_DASH "Don't use this" #-}
+
+wxSHORT_DASH :: Int
+wxSHORT_DASH = 103
+{-# DEPRECATED wxSHORT_DASH "Don't use this" #-}
+
+wxDOT_DASH :: Int
+wxDOT_DASH = 104
+{-# DEPRECATED wxDOT_DASH "Don't use this" #-}
+
+wxUSER_DASH :: Int
+wxUSER_DASH = 105
+{-# DEPRECATED wxUSER_DASH "Don't use this" #-}
+
+wxTRANSPARENT :: Int
+wxTRANSPARENT = 106
+{-# DEPRECATED wxTRANSPARENT "Don't use this" #-}
+
+wxSTIPPLE_MASK_OPAQUE :: Int
+wxSTIPPLE_MASK_OPAQUE = 107
+{-# DEPRECATED wxSTIPPLE_MASK_OPAQUE "Don't use this" #-}
+
+wxSTIPPLE_MASK :: Int
+wxSTIPPLE_MASK = 108
+{-# DEPRECATED wxSTIPPLE_MASK "Don't use this" #-}
+
+wxSTIPPLE :: Int
+wxSTIPPLE = 110
+{-# DEPRECATED wxSTIPPLE "Don't use this" #-}
+
+wxBDIAGONAL_HATCH :: Int
+wxBDIAGONAL_HATCH = 111
+{-# DEPRECATED wxBDIAGONAL_HATCH "Don't use this" #-}
+
+wxCROSSDIAG_HATCH :: Int
+wxCROSSDIAG_HATCH = 112
+{-# DEPRECATED wxCROSSDIAG_HATCH "Don't use this" #-}
+
+wxFDIAGONAL_HATCH :: Int
+wxFDIAGONAL_HATCH = 113
+{-# DEPRECATED wxFDIAGONAL_HATCH "Don't use this" #-}
+
+wxCROSS_HATCH :: Int
+wxCROSS_HATCH = 114
+{-# DEPRECATED wxCROSS_HATCH "Don't use this" #-}
+
+wxHORIZONTAL_HATCH :: Int
+wxHORIZONTAL_HATCH = 115
+{-# DEPRECATED wxHORIZONTAL_HATCH "Don't use this" #-}
+
+wxVERTICAL_HATCH :: Int
+wxVERTICAL_HATCH = 116
+{-# DEPRECATED wxVERTICAL_HATCH "Don't use this" #-}
+
+
+wxCLEAR :: Int
+wxCLEAR = 0
+
+wxXOR :: Int
+wxXOR = 1
+
+wxINVERT :: Int
+wxINVERT = 2
+
+wxOR_REVERSE :: Int
+wxOR_REVERSE = 3
+
+wxAND_REVERSE :: Int
+wxAND_REVERSE = 4
+
+wxCOPY :: Int
+wxCOPY = 5
+
+wxAND :: Int
+wxAND = 6
+
+wxAND_INVERT :: Int
+wxAND_INVERT = 7
+
+wxNO_OP :: Int
+wxNO_OP = 8
+
+wxNOR :: Int
+wxNOR = 9
+
+wxEQUIV :: Int
+wxEQUIV = 10
+
+wxSRC_INVERT :: Int
+wxSRC_INVERT = 11
+
+wxOR_INVERT :: Int
+wxOR_INVERT = 12
+
+wxNAND :: Int
+wxNAND = 13
+
+wxOR :: Int
+wxOR = 14
+
+wxSET :: Int
+wxSET = 15
+
+wxFLOOD_SURFACE :: Int
+wxFLOOD_SURFACE = 1
+
+wxFLOOD_BORDER :: Int
+wxFLOOD_BORDER = 2
+
+wxODDEVEN_RULE :: Int
+wxODDEVEN_RULE = 1
+
+wxWINDING_RULE :: Int
+wxWINDING_RULE = 2
+
+wxTOOL_TOP :: Int
+wxTOOL_TOP = 1
+
+wxTOOL_BOTTOM :: Int
+wxTOOL_BOTTOM = 2
+
+wxTOOL_LEFT :: Int
+wxTOOL_LEFT = 3
+
+wxTOOL_RIGHT :: Int
+wxTOOL_RIGHT = 4
+
+-- enum wxDataFormatId
+--  the values of the format constants should be the same as corresponding
+--  CF_XXX constants in Windows API
+
+wxDF_INVALID :: Int
+wxDF_INVALID  = 0
+
+wxDF_TEXT :: Int
+wxDF_TEXT     = 1   -- CF_TEXT
+
+wxDF_BITMAP :: Int
+wxDF_BITMAP   = 2   -- CF_BITMAP
+
+wxDF_METAFILE :: Int
+wxDF_METAFILE = 3   -- CF_METAFILEPICT
+
+wxDF_SYLK :: Int
+wxDF_SYLK     = 4
+
+wxDF_DIF :: Int
+wxDF_DIF      = 5
+
+wxDF_TIFF :: Int
+wxDF_TIFF     = 6
+
+wxDF_OEMTEXT :: Int
+wxDF_OEMTEXT  = 7   -- CF_OEMTEXT
+
+wxDF_DIB :: Int
+wxDF_DIB      = 8   -- CF_DIB
+
+wxDF_PALETTE :: Int
+wxDF_PALETTE  = 9
+
+wxDF_PENDATA :: Int
+wxDF_PENDATA  = 10
+
+wxDF_RIFF :: Int
+wxDF_RIFF     = 11
+
+wxDF_WAVE :: Int
+wxDF_WAVE     = 12
+
+wxDF_UNICODETEXT :: Int
+wxDF_UNICODETEXT = 13
+
+wxDF_ENHMETAFILE :: Int
+wxDF_ENHMETAFILE = 14
+
+wxDF_FILENAME :: Int
+wxDF_FILENAME    = 15  -- CF_HDROP
+
+wxDF_LOCALE :: Int
+wxDF_LOCALE      = 16
+
+wxDF_PRIVATE :: Int
+wxDF_PRIVATE     = 20
+
+wxDF_HTML :: Int
+wxDF_HTML        = 30 -- Note: does not correspond to CF_ constant
+
+wxDF_MAX :: Int
+wxDF_MAX         = 31
+
+-- End enum wxDataFormatId
+
+
+wxMM_TEXT :: Int
+wxMM_TEXT = 1
+
+wxMM_LOMETRIC :: Int
+wxMM_LOMETRIC = 2
+
+wxMM_HIMETRIC :: Int
+wxMM_HIMETRIC = 3
+
+wxMM_LOENGLISH :: Int
+wxMM_LOENGLISH = 4
+
+wxMM_HIENGLISH :: Int
+wxMM_HIENGLISH = 5
+
+wxMM_TWIPS :: Int
+wxMM_TWIPS = 6
+
+wxMM_ISOTROPIC :: Int
+wxMM_ISOTROPIC = 7
+
+wxMM_ANISOTROPIC :: Int
+wxMM_ANISOTROPIC = 8
+
+wxMM_POINTS :: Int
+wxMM_POINTS = 9
+
+wxMM_METRIC :: Int
+wxMM_METRIC = 10
+
+wxPAPER_NONE :: Int
+wxPAPER_NONE = 0
+
+wxPAPER_LETTER :: Int
+wxPAPER_LETTER = 1
+
+wxPAPER_LEGAL :: Int
+wxPAPER_LEGAL = 2
+
+wxPAPER_A4 :: Int
+wxPAPER_A4 = 3
+
+wxPAPER_CSHEET :: Int
+wxPAPER_CSHEET = 4
+
+wxPAPER_DSHEET :: Int
+wxPAPER_DSHEET = 5
+
+wxPAPER_ESHEET :: Int
+wxPAPER_ESHEET = 6
+
+wxPAPER_LETTERSMALL :: Int
+wxPAPER_LETTERSMALL = 7
+
+wxPAPER_TABLOID :: Int
+wxPAPER_TABLOID = 8
+
+wxPAPER_LEDGER :: Int
+wxPAPER_LEDGER = 9
+
+wxPAPER_STATEMENT :: Int
+wxPAPER_STATEMENT = 10
+
+wxPAPER_EXECUTIVE :: Int
+wxPAPER_EXECUTIVE = 11
+
+wxPAPER_A3 :: Int
+wxPAPER_A3 = 12
+
+wxPAPER_A4SMALL :: Int
+wxPAPER_A4SMALL = 13
+
+wxPAPER_A5 :: Int
+wxPAPER_A5 = 14
+
+wxPAPER_B4 :: Int
+wxPAPER_B4 = 15
+
+wxPAPER_B5 :: Int
+wxPAPER_B5 = 16
+
+wxPAPER_FOLIO :: Int
+wxPAPER_FOLIO = 17
+
+wxPAPER_QUARTO :: Int
+wxPAPER_QUARTO = 18
+
+wxPAPER_10X14 :: Int
+wxPAPER_10X14 = 19
+
+wxPAPER_11X17 :: Int
+wxPAPER_11X17 = 20
+
+wxPAPER_NOTE :: Int
+wxPAPER_NOTE = 21
+
+wxPAPER_ENV_9 :: Int
+wxPAPER_ENV_9 = 22
+
+wxPAPER_ENV_10 :: Int
+wxPAPER_ENV_10 = 23
+
+wxPAPER_ENV_11 :: Int
+wxPAPER_ENV_11 = 24
+
+wxPAPER_ENV_12 :: Int
+wxPAPER_ENV_12 = 25
+
+wxPAPER_ENV_14 :: Int
+wxPAPER_ENV_14 = 26
+
+wxPAPER_ENV_DL :: Int
+wxPAPER_ENV_DL = 27
+
+wxPAPER_ENV_C5 :: Int
+wxPAPER_ENV_C5 = 28
+
+wxPAPER_ENV_C3 :: Int
+wxPAPER_ENV_C3 = 29
+
+wxPAPER_ENV_C4 :: Int
+wxPAPER_ENV_C4 = 30
+
+wxPAPER_ENV_C6 :: Int
+wxPAPER_ENV_C6 = 31
+
+wxPAPER_ENV_C65 :: Int
+wxPAPER_ENV_C65 = 32
+
+wxPAPER_ENV_B4 :: Int
+wxPAPER_ENV_B4 = 33
+
+wxPAPER_ENV_B5 :: Int
+wxPAPER_ENV_B5 = 34
+
+wxPAPER_ENV_B6 :: Int
+wxPAPER_ENV_B6 = 35
+
+wxPAPER_ENV_ITALY :: Int
+wxPAPER_ENV_ITALY = 36
+
+wxPAPER_ENV_MONARCH :: Int
+wxPAPER_ENV_MONARCH = 37
+
+wxPAPER_ENV_PERSONAL :: Int
+wxPAPER_ENV_PERSONAL = 38
+
+wxPAPER_FANFOLD_US :: Int
+wxPAPER_FANFOLD_US = 39
+
+wxPAPER_FANFOLD_STD_GERMAN :: Int
+wxPAPER_FANFOLD_STD_GERMAN = 40
+
+wxPAPER_FANFOLD_LGL_GERMAN :: Int
+wxPAPER_FANFOLD_LGL_GERMAN = 41
+
+wxPAPER_ISO_B4 :: Int
+wxPAPER_ISO_B4 = 42
+
+wxPAPER_JAPANESE_POSTCARD :: Int
+wxPAPER_JAPANESE_POSTCARD = 43
+
+wxPAPER_9X11 :: Int
+wxPAPER_9X11 = 44
+
+wxPAPER_10X11 :: Int
+wxPAPER_10X11 = 45
+
+wxPAPER_15X11 :: Int
+wxPAPER_15X11 = 46
+
+wxPAPER_ENV_INVITE :: Int
+wxPAPER_ENV_INVITE = 47
+
+wxPAPER_LETTER_EXTRA :: Int
+wxPAPER_LETTER_EXTRA = 48
+
+wxPAPER_LEGAL_EXTRA :: Int
+wxPAPER_LEGAL_EXTRA = 49
+
+wxPAPER_TABLOID_EXTRA :: Int
+wxPAPER_TABLOID_EXTRA = 50
+
+wxPAPER_A4_EXTRA :: Int
+wxPAPER_A4_EXTRA = 51
+
+wxPAPER_LETTER_TRANSVERSE :: Int
+wxPAPER_LETTER_TRANSVERSE = 52
+
+wxPAPER_A4_TRANSVERSE :: Int
+wxPAPER_A4_TRANSVERSE = 53
+
+wxPAPER_LETTER_EXTRA_TRANSVERSE :: Int
+wxPAPER_LETTER_EXTRA_TRANSVERSE = 54
+
+wxPAPER_A_PLUS :: Int
+wxPAPER_A_PLUS = 55
+
+wxPAPER_B_PLUS :: Int
+wxPAPER_B_PLUS = 56
+
+wxPAPER_LETTER_PLUS :: Int
+wxPAPER_LETTER_PLUS = 57
+
+wxPAPER_A4_PLUS :: Int
+wxPAPER_A4_PLUS = 58
+
+wxPAPER_A5_TRANSVERSE :: Int
+wxPAPER_A5_TRANSVERSE = 59
+
+wxPAPER_B5_TRANSVERSE :: Int
+wxPAPER_B5_TRANSVERSE = 60
+
+wxPAPER_A3_EXTRA :: Int
+wxPAPER_A3_EXTRA = 61
+
+wxPAPER_A5_EXTRA :: Int
+wxPAPER_A5_EXTRA = 62
+
+wxPAPER_B5_EXTRA :: Int
+wxPAPER_B5_EXTRA = 63
+
+wxPAPER_A2 :: Int
+wxPAPER_A2 = 64
+
+wxPAPER_A3_TRANSVERSE :: Int
+wxPAPER_A3_TRANSVERSE = 65
+
+wxPAPER_A3_EXTRA_TRANSVERSE :: Int
+wxPAPER_A3_EXTRA_TRANSVERSE = 66
+
+wxPORTRAIT :: Int
+wxPORTRAIT = 1
+
+wxLANDSCAPE :: Int
+wxLANDSCAPE = 2
+
+wxDUPLEX_SIMPLEX :: Int
+wxDUPLEX_SIMPLEX = 0
+
+wxDUPLEX_HORIZONTAL :: Int
+wxDUPLEX_HORIZONTAL = 1
+
+wxDUPLEX_VERTICAL :: Int
+wxDUPLEX_VERTICAL = 2
+
+wxPRINT_MODE_NONE :: Int
+wxPRINT_MODE_NONE = 0
+
+wxPRINT_MODE_PREVIEW :: Int
+wxPRINT_MODE_PREVIEW = 1
+
+wxPRINT_MODE_FILE :: Int
+wxPRINT_MODE_FILE = 2
+
+wxPRINT_MODE_PRINTER :: Int
+wxPRINT_MODE_PRINTER = 3
+
+wxFULLSCREEN_NOMENUBAR :: Int
+wxFULLSCREEN_NOMENUBAR = 1
+
+wxFULLSCREEN_NOTOOLBAR :: Int
+wxFULLSCREEN_NOTOOLBAR = 2
+
+wxFULLSCREEN_NOSTATUSBAR :: Int
+wxFULLSCREEN_NOSTATUSBAR = 4
+
+wxFULLSCREEN_NOBORDER :: Int
+wxFULLSCREEN_NOBORDER = 8
+
+wxFULLSCREEN_NOCAPTION :: Int
+wxFULLSCREEN_NOCAPTION = 16
+
+wxLAYOUT_DEFAULT_MARGIN :: Int
+wxLAYOUT_DEFAULT_MARGIN = 0
+
+wxEDGE_LEFT :: Int
+wxEDGE_LEFT = 0
+
+wxEDGE_TOP :: Int
+wxEDGE_TOP = 1
+
+wxEDGE_RIGHT :: Int
+wxEDGE_RIGHT = 2
+
+wxEDGE_BOTTOM :: Int
+wxEDGE_BOTTOM = 3
+
+wxEDGE_WIDTH :: Int
+wxEDGE_WIDTH = 4
+
+wxEDGE_HEIGHT :: Int
+wxEDGE_HEIGHT = 5
+
+wxEDGE_CENTER :: Int
+wxEDGE_CENTER = 6
+
+wxEDGE_CENTREX :: Int
+wxEDGE_CENTREX = 7
+
+wxEDGE_CENTREY :: Int
+wxEDGE_CENTREY = 8
+
+wxRELATIONSHIP_UNCONSTRAINED :: Int
+wxRELATIONSHIP_UNCONSTRAINED = 0
+
+wxRELATIONSHIP_ASIS :: Int
+wxRELATIONSHIP_ASIS = 1
+
+wxRELATIONSHIP_PERCENTOF :: Int
+wxRELATIONSHIP_PERCENTOF = 2
+
+wxRELATIONSHIP_ABOVE :: Int
+wxRELATIONSHIP_ABOVE = 3
+
+wxRELATIONSHIP_BELOW :: Int
+wxRELATIONSHIP_BELOW = 4
+
+wxRELATIONSHIP_LEFTOF :: Int
+wxRELATIONSHIP_LEFTOF = 5
+
+wxRELATIONSHIP_RIGHTOF :: Int
+wxRELATIONSHIP_RIGHTOF = 6
+
+wxRELATIONSHIP_SAMEAS :: Int
+wxRELATIONSHIP_SAMEAS = 7
+
+wxRELATIONSHIP_ABSOLUTE :: Int
+wxRELATIONSHIP_ABSOLUTE = 8
+
+wxFONTENCODING_SYSTEM :: Int
+wxFONTENCODING_SYSTEM = (-1)
+
+wxFONTENCODING_DEFAULT :: Int
+wxFONTENCODING_DEFAULT = 0
+
+wxFONTENCODING_ISO8859_1 :: Int
+wxFONTENCODING_ISO8859_1 = 1
+
+wxFONTENCODING_ISO8859_2 :: Int
+wxFONTENCODING_ISO8859_2 = 2
+
+wxFONTENCODING_ISO8859_3 :: Int
+wxFONTENCODING_ISO8859_3 = 3
+
+wxFONTENCODING_ISO8859_4 :: Int
+wxFONTENCODING_ISO8859_4 = 4
+
+wxFONTENCODING_ISO8859_5 :: Int
+wxFONTENCODING_ISO8859_5 = 5
+
+wxFONTENCODING_ISO8859_6 :: Int
+wxFONTENCODING_ISO8859_6 = 6
+
+wxFONTENCODING_ISO8859_7 :: Int
+wxFONTENCODING_ISO8859_7 = 7
+
+wxFONTENCODING_ISO8859_8 :: Int
+wxFONTENCODING_ISO8859_8 = 8
+
+wxFONTENCODING_ISO8859_9 :: Int
+wxFONTENCODING_ISO8859_9 = 9
+
+wxFONTENCODING_ISO8859_10 :: Int
+wxFONTENCODING_ISO8859_10 = 10
+
+wxFONTENCODING_ISO8859_11 :: Int
+wxFONTENCODING_ISO8859_11 = 11
+
+wxFONTENCODING_ISO8859_12 :: Int
+wxFONTENCODING_ISO8859_12 = 12
+
+wxFONTENCODING_ISO8859_13 :: Int
+wxFONTENCODING_ISO8859_13 = 13
+
+wxFONTENCODING_ISO8859_14 :: Int
+wxFONTENCODING_ISO8859_14 = 14
+
+wxFONTENCODING_ISO8859_15 :: Int
+wxFONTENCODING_ISO8859_15 = 15
+
+wxFONTENCODING_ISO8859_MAX :: Int
+wxFONTENCODING_ISO8859_MAX = 16
+
+wxFONTENCODING_KOI8 :: Int
+wxFONTENCODING_KOI8 = 17
+
+wxFONTENCODING_ALTERNATIVE :: Int
+wxFONTENCODING_ALTERNATIVE = 18
+
+wxFONTENCODING_BULGARIAN :: Int
+wxFONTENCODING_BULGARIAN = 19
+
+wxFONTENCODING_CP437 :: Int
+wxFONTENCODING_CP437 = 20
+
+wxFONTENCODING_CP850 :: Int
+wxFONTENCODING_CP850 = 21
+
+wxFONTENCODING_CP852 :: Int
+wxFONTENCODING_CP852 = 22
+
+wxFONTENCODING_CP855 :: Int
+wxFONTENCODING_CP855 = 23
+
+wxFONTENCODING_CP866 :: Int
+wxFONTENCODING_CP866 = 24
+
+wxFONTENCODING_CP874 :: Int
+wxFONTENCODING_CP874 = 25
+
+wxFONTENCODING_CP1250 :: Int
+wxFONTENCODING_CP1250 = 26
+
+wxFONTENCODING_CP1251 :: Int
+wxFONTENCODING_CP1251 = 27
+
+wxFONTENCODING_CP1252 :: Int
+wxFONTENCODING_CP1252 = 28
+
+wxFONTENCODING_CP1253 :: Int
+wxFONTENCODING_CP1253 = 29
+
+wxFONTENCODING_CP1254 :: Int
+wxFONTENCODING_CP1254 = 30
+
+wxFONTENCODING_CP1255 :: Int
+wxFONTENCODING_CP1255 = 31
+
+wxFONTENCODING_CP1256 :: Int
+wxFONTENCODING_CP1256 = 32
+
+wxFONTENCODING_CP1257 :: Int
+wxFONTENCODING_CP1257 = 33
+
+wxFONTENCODING_CP12_MAX :: Int
+wxFONTENCODING_CP12_MAX = 34
+
+wxFONTENCODING_UNICODE :: Int
+wxFONTENCODING_UNICODE = 35
+
+wxFONTENCODING_MAX :: Int
+wxFONTENCODING_MAX = 36
+
+wxGRIDTABLE_REQUEST_VIEW_GET_VALUES :: Int
+wxGRIDTABLE_REQUEST_VIEW_GET_VALUES = 2000
+
+wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES :: Int
+wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES = 2001
+
+wxGRIDTABLE_NOTIFY_ROWS_INSERTED :: Int
+wxGRIDTABLE_NOTIFY_ROWS_INSERTED = 2002
+
+wxGRIDTABLE_NOTIFY_ROWS_APPENDED :: Int
+wxGRIDTABLE_NOTIFY_ROWS_APPENDED = 2003
+
+wxGRIDTABLE_NOTIFY_ROWS_DELETED :: Int
+wxGRIDTABLE_NOTIFY_ROWS_DELETED = 2004
+
+wxGRIDTABLE_NOTIFY_COLS_INSERTED :: Int
+wxGRIDTABLE_NOTIFY_COLS_INSERTED = 2005
+
+wxGRIDTABLE_NOTIFY_COLS_APPENDED :: Int
+wxGRIDTABLE_NOTIFY_COLS_APPENDED = 2006
+
+wxGRIDTABLE_NOTIFY_COLS_DELETED :: Int
+wxGRIDTABLE_NOTIFY_COLS_DELETED = 2007
+
+wxGridSelectCells :: Int
+wxGridSelectCells = 0
+
+wxGridSelectRows :: Int
+wxGridSelectRows = 1
+
+wxGridSelectColumns :: Int
+wxGridSelectColumns = 2
+
+wxFILTER_NONE :: Int
+wxFILTER_NONE = 0
+
+wxFILTER_ASCII :: Int
+wxFILTER_ASCII = 1
+
+wxFILTER_ALPHA :: Int
+wxFILTER_ALPHA = 2
+
+wxFILTER_ALPHANUMERIC :: Int
+wxFILTER_ALPHANUMERIC = 4
+
+wxFILTER_NUMERIC :: Int
+wxFILTER_NUMERIC = 8
+
+wxFILTER_INCLUDE_LIST :: Int
+wxFILTER_INCLUDE_LIST = 16
+
+wxFILTER_EXCLUDE_LIST :: Int
+wxFILTER_EXCLUDE_LIST = 32
+
+wxFILTER_UPPER_CASE :: Int
+wxFILTER_UPPER_CASE = 64
+
+wxFILTER_LOWER_CASE :: Int
+wxFILTER_LOWER_CASE = 128
+
+wxBITMAP_TYPE_INVALID :: Int
+wxBITMAP_TYPE_INVALID = 0
+
+wxBITMAP_TYPE_BMP :: Int
+wxBITMAP_TYPE_BMP = 1
+
+wxBITMAP_TYPE_BMP_RESOURCE :: Int
+wxBITMAP_TYPE_BMP_RESOURCE = 2
+
+wxBITMAP_TYPE_RESOURCE :: Int
+wxBITMAP_TYPE_RESOURCE = wxBITMAP_TYPE_BMP_RESOURCE
+
+wxBITMAP_TYPE_ICO :: Int
+wxBITMAP_TYPE_ICO = 3
+
+wxBITMAP_TYPE_ICO_RESOURCE :: Int
+wxBITMAP_TYPE_ICO_RESOURCE = 4
+
+wxBITMAP_TYPE_CUR :: Int
+wxBITMAP_TYPE_CUR = 5
+
+wxBITMAP_TYPE_CUR_RESOURCE :: Int
+wxBITMAP_TYPE_CUR_RESOURCE = 6
+
+wxBITMAP_TYPE_XBM :: Int
+wxBITMAP_TYPE_XBM = 7
+
+wxBITMAP_TYPE_XBM_DATA :: Int
+wxBITMAP_TYPE_XBM_DATA = 8
+
+wxBITMAP_TYPE_XPM :: Int
+wxBITMAP_TYPE_XPM = 9
+
+wxBITMAP_TYPE_XPM_DATA :: Int
+wxBITMAP_TYPE_XPM_DATA = 10
+
+wxBITMAP_TYPE_TIFF :: Int
+wxBITMAP_TYPE_TIFF = 11
+
+wxBITMAP_TYPE_TIFF_RESOURCE :: Int
+wxBITMAP_TYPE_TIFF_RESOURCE = 12
+
+wxBITMAP_TYPE_TIF :: Int
+wxBITMAP_TYPE_TIF = wxBITMAP_TYPE_TIFF
+
+wxBITMAP_TYPE_TIF_RESOURCE :: Int
+wxBITMAP_TYPE_TIF_RESOURCE = wxBITMAP_TYPE_TIFF_RESOURCE
+
+wxBITMAP_TYPE_GIF :: Int
+wxBITMAP_TYPE_GIF = 13
+
+wxBITMAP_TYPE_GIF_RESOURCE :: Int
+wxBITMAP_TYPE_GIF_RESOURCE = 14
+
+wxBITMAP_TYPE_PNG :: Int
+wxBITMAP_TYPE_PNG = 15
+
+wxBITMAP_TYPE_PNG_RESOURCE :: Int
+wxBITMAP_TYPE_PNG_RESOURCE = 16
+
+wxBITMAP_TYPE_JPEG :: Int
+wxBITMAP_TYPE_JPEG = 17
+
+wxBITMAP_TYPE_JPEG_RESOURCE :: Int
+wxBITMAP_TYPE_JPEG_RESOURCE = 18
+
+wxBITMAP_TYPE_PNM :: Int
+wxBITMAP_TYPE_PNM = 19
+
+wxBITMAP_TYPE_PNM_RESOURCE :: Int
+wxBITMAP_TYPE_PNM_RESOURCE = 20
+
+wxBITMAP_TYPE_PCX :: Int
+wxBITMAP_TYPE_PCX = 21
+
+wxBITMAP_TYPE_PCX_RESOURCE :: Int
+wxBITMAP_TYPE_PCX_RESOURCE = 22
+
+wxBITMAP_TYPE_PICT :: Int
+wxBITMAP_TYPE_PICT = 23
+
+wxBITMAP_TYPE_PICT_RESOURCE :: Int
+wxBITMAP_TYPE_PICT_RESOURCE = 24
+
+wxBITMAP_TYPE_ICON :: Int
+wxBITMAP_TYPE_ICON = 25
+
+wxBITMAP_TYPE_ICON_RESOURCE :: Int
+wxBITMAP_TYPE_ICON_RESOURCE = 26
+
+wxBITMAP_TYPE_ANI :: Int
+wxBITMAP_TYPE_ANI = 27
+
+wxBITMAP_TYPE_IFF :: Int
+wxBITMAP_TYPE_IFF = 28
+
+wxBITMAP_TYPE_TGA :: Int
+wxBITMAP_TYPE_TGA = 29
+
+wxBITMAP_TYPE_MACCURSOR :: Int
+wxBITMAP_TYPE_MACCURSOR = 30
+
+wxBITMAP_TYPE_MACCURSOR_RESOURCE :: Int
+wxBITMAP_TYPE_MACCURSOR_RESOURCE = 31
+
+wxBITMAP_TYPE_MAX :: Int
+wxBITMAP_TYPE_MAX = 32
+
+wxBITMAP_TYPE_ANY :: Int
+wxBITMAP_TYPE_ANY = 50
+
+wxCURSOR_NONE :: Int
+wxCURSOR_NONE = 0
+
+wxCURSOR_ARROW :: Int
+wxCURSOR_ARROW = 1
+
+wxCURSOR_RIGHT_ARROW :: Int
+wxCURSOR_RIGHT_ARROW = 2
+
+wxCURSOR_BULLSEYE :: Int
+wxCURSOR_BULLSEYE = 3
+
+wxCURSOR_CHAR :: Int
+wxCURSOR_CHAR = 4
+
+wxCURSOR_CROSS :: Int
+wxCURSOR_CROSS = 5
+
+wxCURSOR_HAND :: Int
+wxCURSOR_HAND = 6
+
+wxCURSOR_IBEAM :: Int
+wxCURSOR_IBEAM = 7
+
+wxCURSOR_LEFT_BUTTON :: Int
+wxCURSOR_LEFT_BUTTON = 8
+
+wxCURSOR_MAGNIFIER :: Int
+wxCURSOR_MAGNIFIER = 9
+
+wxCURSOR_MIDDLE_BUTTON :: Int
+wxCURSOR_MIDDLE_BUTTON = 10
+
+wxCURSOR_NO_ENTRY :: Int
+wxCURSOR_NO_ENTRY = 11
+
+wxCURSOR_PAINT_BRUSH :: Int
+wxCURSOR_PAINT_BRUSH = 12
+
+wxCURSOR_PENCIL :: Int
+wxCURSOR_PENCIL = 13
+
+wxCURSOR_POINT_LEFT :: Int
+wxCURSOR_POINT_LEFT = 14
+
+wxCURSOR_POINT_RIGHT :: Int
+wxCURSOR_POINT_RIGHT = 15
+
+wxCURSOR_QUESTION_ARROW :: Int
+wxCURSOR_QUESTION_ARROW = 16
+
+wxCURSOR_RIGHT_BUTTON :: Int
+wxCURSOR_RIGHT_BUTTON = 17
+
+wxCURSOR_SIZENESW :: Int
+wxCURSOR_SIZENESW = 18
+
+wxCURSOR_SIZENS :: Int
+wxCURSOR_SIZENS = 19
+
+wxCURSOR_SIZENWSE :: Int
+wxCURSOR_SIZENWSE = 20
+
+wxCURSOR_SIZEWE :: Int
+wxCURSOR_SIZEWE = 21
+
+wxCURSOR_SIZING :: Int
+wxCURSOR_SIZING = 22
+
+wxCURSOR_SPRAYCAN :: Int
+wxCURSOR_SPRAYCAN = 23
+
+wxCURSOR_WAIT :: Int
+wxCURSOR_WAIT = 24
+
+wxCURSOR_WATCH :: Int
+wxCURSOR_WATCH = 25
+
+wxCURSOR_BLANK :: Int
+wxCURSOR_BLANK = 26
+
+wxOPEN :: Int
+wxOPEN = 1
+
+wxSAVE :: Int
+wxSAVE = 2
+
+wxOVERWRITE_PROMPT :: Int
+wxOVERWRITE_PROMPT = 4
+
+wxHIDE_READONLY :: Int
+wxHIDE_READONLY = 8
+
+wxFILE_MUST_EXIST :: Int
+wxFILE_MUST_EXIST = 16
+
+wxMULTIPLE :: Int
+wxMULTIPLE = 32
+
+wxCHANGE_DIR :: Int
+wxCHANGE_DIR = 64
+
+wxDRAG_ERROR :: Int
+wxDRAG_ERROR = 0
+
+wxDRAG_NONE :: Int
+wxDRAG_NONE = 1
+
+wxDRAG_COPY :: Int
+wxDRAG_COPY = 2
+
+wxDRAG_MOVE :: Int
+wxDRAG_MOVE = 3
+
+wxDRAG_LINK :: Int
+wxDRAG_LINK = 4
+
+wxDRAG_CANCEL :: Int
+wxDRAG_CANCEL = 5
+
+wxSPLIT_HORIZONTAL :: Int
+wxSPLIT_HORIZONTAL = 1
+
+wxSPLIT_VERTICAL :: Int
+wxSPLIT_VERTICAL = 2
+
+wxLIST_FORMAT_LEFT :: Int
+wxLIST_FORMAT_LEFT = 0
+
+wxLIST_FORMAT_RIGHT :: Int
+wxLIST_FORMAT_RIGHT = 1
+
+wxLIST_FORMAT_CENTRE :: Int
+wxLIST_FORMAT_CENTRE = 2
+
+wxLIST_FORMAT_CENTER :: Int
+wxLIST_FORMAT_CENTER = 2
+
+wxLIST_STATE_DONTCARE :: Int
+wxLIST_STATE_DONTCARE = 0
+
+wxLIST_STATE_DROPHILITED :: Int
+wxLIST_STATE_DROPHILITED = 1
+
+wxLIST_STATE_FOCUSED :: Int
+wxLIST_STATE_FOCUSED = 2
+
+wxLIST_STATE_SELECTED :: Int
+wxLIST_STATE_SELECTED = 4
+
+wxLIST_STATE_CUT :: Int
+wxLIST_STATE_CUT = 8
+
+wxLIST_MASK_STATE :: Int
+wxLIST_MASK_STATE = 1
+
+wxLIST_MASK_TEXT :: Int
+wxLIST_MASK_TEXT = 2
+
+wxLIST_MASK_IMAGE :: Int
+wxLIST_MASK_IMAGE = 4
+
+wxLIST_MASK_DATA :: Int
+wxLIST_MASK_DATA = 8
+
+wxLIST_MASK_WIDTH :: Int
+wxLIST_MASK_WIDTH = 16
+
+wxLIST_MASK_FORMAT :: Int
+wxLIST_MASK_FORMAT = 32
+
+wxLIST_NEXT_ABOVE :: Int
+wxLIST_NEXT_ABOVE = 0
+
+wxLIST_NEXT_ALL :: Int
+wxLIST_NEXT_ALL = 1
+
+wxLIST_NEXT_BELOW :: Int
+wxLIST_NEXT_BELOW = 2
+
+wxLIST_NEXT_LEFT :: Int
+wxLIST_NEXT_LEFT = 3
+
+wxLIST_NEXT_RIGHT :: Int
+wxLIST_NEXT_RIGHT = 4
+
+wxRA_SPECIFY_COLS :: Int
+wxRA_SPECIFY_COLS = 4
+
+wxRA_SPECIFY_ROWS :: Int
+wxRA_SPECIFY_ROWS = 8
+
+wxTREE_HITTEST_ABOVE :: Int
+wxTREE_HITTEST_ABOVE = 1
+
+wxTREE_HITTEST_BELOW :: Int
+wxTREE_HITTEST_BELOW = 2
+
+wxTREE_HITTEST_NOWHERE :: Int
+wxTREE_HITTEST_NOWHERE = 4
+
+wxTREE_HITTEST_ONITEMBUTTON :: Int
+wxTREE_HITTEST_ONITEMBUTTON = 8
+
+wxTREE_HITTEST_ONITEMICON :: Int
+wxTREE_HITTEST_ONITEMICON = 16
+
+wxTREE_HITTEST_ONITEMINDENT :: Int
+wxTREE_HITTEST_ONITEMINDENT = 32
+
+wxTREE_HITTEST_ONITEMLABEL :: Int
+wxTREE_HITTEST_ONITEMLABEL = 64
+
+wxTREE_HITTEST_ONITEMRIGHT :: Int
+wxTREE_HITTEST_ONITEMRIGHT = 128
+
+wxTREE_HITTEST_ONITEMSTATEICON :: Int
+wxTREE_HITTEST_ONITEMSTATEICON = 256
+
+wxTREE_HITTEST_TOLEFT :: Int
+wxTREE_HITTEST_TOLEFT = 512
+
+wxTREE_HITTEST_TORIGHT :: Int
+wxTREE_HITTEST_TORIGHT = 1024
+
+wxTREE_HITTEST_ONITEMUPPERPART :: Int
+wxTREE_HITTEST_ONITEMUPPERPART = 2048
+
+wxTREE_HITTEST_ONITEMLOWERPART :: Int
+wxTREE_HITTEST_ONITEMLOWERPART = 4096
+
+wxTREE_HITTEST_ONITEM :: Int
+wxTREE_HITTEST_ONITEM = 80
+
+wxDEFAULT :: Int
+wxDEFAULT = 70
+{-# DEPRECATED wxDEFAULT "Don't use this" #-}
+
+wxDECORATIVE :: Int
+wxDECORATIVE = 71
+{-# DEPRECATED wxDECORATIVE "Don't use this" #-}
+
+wxROMAN :: Int
+wxROMAN = 72
+{-# DEPRECATED wxROMAN "Don't use this" #-}
+
+wxSCRIPT :: Int
+wxSCRIPT = 73
+{-# DEPRECATED wxSCRIPT "Don't use this" #-}
+
+wxSWISS :: Int
+wxSWISS = 74
+{-# DEPRECATED wxSWISS "Don't use this" #-}
+
+wxMODERN :: Int
+wxMODERN = 75
+{-# DEPRECATED wxMODERN "Don't use this" #-}
+
+wxTELETYPE :: Int
+wxTELETYPE = 76
+{-# DEPRECATED wxTELETYPE "Don't use this" #-}
+
+wxVARIABLE :: Int
+wxVARIABLE = 80
+{-# DEPRECATED wxVARIABLE "Don't use this" #-}
+
+wxFIXED :: Int
+wxFIXED = 81
+{-# DEPRECATED wxFIXED "Don't use this" #-}
+
+wxNORMAL :: Int
+wxNORMAL = 90
+{-# DEPRECATED wxNORMAL "Don't use this" #-}
+
+wxLIGHT :: Int
+wxLIGHT = 91
+{-# DEPRECATED wxLIGHT "Don't use this" #-}
+
+wxBOLD :: Int
+wxBOLD = 92
+{-# DEPRECATED wxBOLD "Don't use this" #-}
+
+wxITALIC :: Int
+wxITALIC = 93
+{-# DEPRECATED wxITALIC "Don't use this" #-}
+
+wxSLANT :: Int
+wxSLANT = 94
+{-# DEPRECATED wxSLANT "Don't use this" #-}
+
+-- ----------------------------------------------------------------------------
+-- font constants
+-- ----------------------------------------------------------------------------
+
+-- standard font families: these may be used only for the font creation, it
+-- doesn't make sense to query an existing font for its font family as,
+-- especially if the font had been created from a native font description, it
+-- may be unknown
+
+-- enum wxFontFamily
+wxFONTFAMILY_DEFAULT :: Int
+wxFONTFAMILY_DEFAULT = wxDEFAULT
+wxFONTFAMILY_DECORATIVE :: Int
+wxFONTFAMILY_DECORATIVE = wxDECORATIVE
+wxFONTFAMILY_ROMAN :: Int
+wxFONTFAMILY_ROMAN = wxROMAN
+wxFONTFAMILY_SCRIPT :: Int
+wxFONTFAMILY_SCRIPT = wxSCRIPT
+wxFONTFAMILY_SWISS :: Int
+wxFONTFAMILY_SWISS = wxSWISS
+wxFONTFAMILY_MODERN :: Int
+wxFONTFAMILY_MODERN = wxMODERN
+wxFONTFAMILY_TELETYPE :: Int
+wxFONTFAMILY_TELETYPE = wxTELETYPE
+wxFONTFAMILY_MAX :: Int
+wxFONTFAMILY_MAX = wxFONTFAMILY_TELETYPE + 1
+wxFONTFAMILY_UNKNOWN :: Int
+wxFONTFAMILY_UNKNOWN = wxFONTFAMILY_MAX
+
+-- font styles
+-- enum wxFontStyle
+wxFONTSTYLE_NORMAL :: Int
+wxFONTSTYLE_NORMAL = wxNORMAL
+wxFONTSTYLE_ITALIC :: Int
+wxFONTSTYLE_ITALIC = wxITALIC
+wxFONTSTYLE_SLANT :: Int
+wxFONTSTYLE_SLANT = wxSLANT
+wxFONTSTYLE_MAX :: Int
+wxFONTSTYLE_MAX = wxFONTSTYLE_SLANT + 1
+
+-- font weights
+-- enum wxFontWeight
+wxFONTWEIGHT_NORMAL :: Int
+wxFONTWEIGHT_NORMAL = wxNORMAL
+wxFONTWEIGHT_LIGHT :: Int
+wxFONTWEIGHT_LIGHT = wxLIGHT
+wxFONTWEIGHT_BOLD :: Int
+wxFONTWEIGHT_BOLD = wxBOLD
+wxFONTWEIGHT_MAX :: Int
+wxFONTWEIGHT_MAX = wxFONTWEIGHT_BOLD + 1
+
+-- Symbolic font sizes as defined in CSS specification.
+-- enum wxFontSymbolicSize
+wxFONTSIZE_XX_SMALL :: Int
+wxFONTSIZE_XX_SMALL = -3
+wxFONTSIZE_X_SMALL :: Int
+wxFONTSIZE_X_SMALL = -2
+wxFONTSIZE_SMALL :: Int
+wxFONTSIZE_SMALL = -1
+wxFONTSIZE_MEDIUM :: Int
+wxFONTSIZE_MEDIUM = 0
+wxFONTSIZE_LARGE :: Int
+wxFONTSIZE_LARGE = 1
+wxFONTSIZE_X_LARGE :: Int
+wxFONTSIZE_X_LARGE = 2
+wxFONTSIZE_XX_LARGE :: Int
+wxFONTSIZE_XX_LARGE = 3
+
+-- the font flag bits for the new font ctor accepting one combined flags word
+-- enum wxFontFlag
+-- no special flags: font with default weight/slant/anti-aliasing
+wxFONTFLAG_DEFAULT :: Int
+wxFONTFLAG_DEFAULT          = 0
+
+-- slant flags (default: no slant)
+wxFONTFLAG_ITALIC :: Int
+wxFONTFLAG_ITALIC           = 1 << 0
+wxFONTFLAG_SLANT :: Int
+wxFONTFLAG_SLANT            = 1 << 1
+
+-- weight flags (default: medium)
+wxFONTFLAG_LIGHT :: Int
+wxFONTFLAG_LIGHT            = 1 << 2
+wxFONTFLAG_BOLD :: Int
+wxFONTFLAG_BOLD             = 1 << 3
+
+-- anti-aliasing flag: force on or off (default: the current system default)
+wxFONTFLAG_ANTIALIASED :: Int
+wxFONTFLAG_ANTIALIASED      = 1 << 4
+wxFONTFLAG_NOT_ANTIALIASED :: Int
+wxFONTFLAG_NOT_ANTIALIASED  = 1 << 5
+
+-- underlined/strikethrough flags (default: no lines)
+wxFONTFLAG_UNDERLINED :: Int
+wxFONTFLAG_UNDERLINED       = 1 << 6
+wxFONTFLAG_STRIKETHROUGH :: Int
+wxFONTFLAG_STRIKETHROUGH    = 1 << 7
+
+-- the mask of all currently used flags
+wxFONTFLAG_MASK :: Int
+wxFONTFLAG_MASK = wxFONTFLAG_ITALIC             .|.
+                  wxFONTFLAG_SLANT              .|.
+                  wxFONTFLAG_LIGHT              .|.
+                  wxFONTFLAG_BOLD               .|.
+                  wxFONTFLAG_ANTIALIASED        .|.
+                  wxFONTFLAG_NOT_ANTIALIASED    .|.
+                  wxFONTFLAG_UNDERLINED         .|.
+                  wxFONTFLAG_STRIKETHROUGH
+
+-- End font constants
+
+
+wxBLUE_BRUSH :: Int
+wxBLUE_BRUSH = 0
+
+wxGREEN_BRUSH :: Int
+wxGREEN_BRUSH = 1
+
+wxWHITE_BRUSH :: Int
+wxWHITE_BRUSH = 2
+
+wxBLACK_BRUSH :: Int
+wxBLACK_BRUSH = 3
+
+wxGREY_BRUSH :: Int
+wxGREY_BRUSH = 4
+
+wxMEDIUM_GREY_BRUSH :: Int
+wxMEDIUM_GREY_BRUSH = 5
+
+wxLIGHT_GREY_BRUSH :: Int
+wxLIGHT_GREY_BRUSH = 6
+
+wxTRANSPARENT_BRUSH :: Int
+wxTRANSPARENT_BRUSH = 7
+
+wxCYAN_BRUSH :: Int
+wxCYAN_BRUSH = 8
+
+wxRED_BRUSH :: Int
+wxRED_BRUSH = 9
+
+-- From wx/brush.h
+-- NOTE: these values cannot be combined together!
+-- enum wxBrushStyle
+wxBRUSHSTYLE_INVALID :: Int
+wxBRUSHSTYLE_INVALID = -1
+
+wxBRUSHSTYLE_SOLID :: Int
+wxBRUSHSTYLE_SOLID = wxSOLID
+wxBRUSHSTYLE_TRANSPARENT :: Int
+wxBRUSHSTYLE_TRANSPARENT = wxTRANSPARENT
+wxBRUSHSTYLE_STIPPLE_MASK_OPAQUE :: Int
+wxBRUSHSTYLE_STIPPLE_MASK_OPAQUE = wxSTIPPLE_MASK_OPAQUE
+wxBRUSHSTYLE_STIPPLE_MASK :: Int
+wxBRUSHSTYLE_STIPPLE_MASK = wxSTIPPLE_MASK
+wxBRUSHSTYLE_STIPPLE :: Int
+wxBRUSHSTYLE_STIPPLE = wxSTIPPLE
+wxBRUSHSTYLE_BDIAGONAL_HATCH :: Int
+wxBRUSHSTYLE_BDIAGONAL_HATCH = wxHATCHSTYLE_BDIAGONAL
+wxBRUSHSTYLE_CROSSDIAG_HATCH :: Int
+wxBRUSHSTYLE_CROSSDIAG_HATCH = wxHATCHSTYLE_CROSSDIAG
+wxBRUSHSTYLE_FDIAGONAL_HATCH :: Int
+wxBRUSHSTYLE_FDIAGONAL_HATCH = wxHATCHSTYLE_FDIAGONAL
+wxBRUSHSTYLE_CROSS_HATCH :: Int
+wxBRUSHSTYLE_CROSS_HATCH = wxHATCHSTYLE_CROSS
+wxBRUSHSTYLE_HORIZONTAL_HATCH :: Int
+wxBRUSHSTYLE_HORIZONTAL_HATCH = wxHATCHSTYLE_HORIZONTAL
+wxBRUSHSTYLE_VERTICAL_HATCH :: Int
+wxBRUSHSTYLE_VERTICAL_HATCH = wxHATCHSTYLE_VERTICAL
+wxBRUSHSTYLE_FIRST_HATCH :: Int
+wxBRUSHSTYLE_FIRST_HATCH = wxHATCHSTYLE_FIRST
+wxBRUSHSTYLE_LAST_HATCH :: Int
+wxBRUSHSTYLE_LAST_HATCH = wxHATCHSTYLE_LAST
+
+
+wxBLACK :: Int
+wxBLACK = 0
+
+wxWHITE :: Int
+wxWHITE = 1
+
+wxRED :: Int
+wxRED = 2
+
+wxBLUE :: Int
+wxBLUE = 3
+
+wxGREEN :: Int
+wxGREEN = 4
+
+wxCYAN :: Int
+wxCYAN = 5
+
+wxLIGHT_GREY :: Int
+wxLIGHT_GREY = 6
+
+wxRED_PEN :: Int
+wxRED_PEN = 0
+
+wxCYAN_PEN :: Int
+wxCYAN_PEN = 1
+
+wxGREEN_PEN :: Int
+wxGREEN_PEN = 2
+
+wxBLACK_PEN :: Int
+wxBLACK_PEN = 3
+
+wxWHITE_PEN :: Int
+wxWHITE_PEN = 4
+
+wxTRANSPARENT_PEN :: Int
+wxTRANSPARENT_PEN = 5
+
+wxBLACK_DASHED_PEN :: Int
+wxBLACK_DASHED_PEN = 6
+
+wxGREY_PEN :: Int
+wxGREY_PEN = 7
+
+wxMEDIUM_GREY_PEN :: Int
+wxMEDIUM_GREY_PEN = 8
+
+wxLIGHT_GREY_PEN :: Int
+wxLIGHT_GREY_PEN = 9
+
+
+-- From wx/pen.h
+
+-- enum wxPenStyle
+wxPENSTYLE_INVALID :: Int
+wxPENSTYLE_INVALID = -1
+
+wxPENSTYLE_SOLID :: Int
+wxPENSTYLE_SOLID = wxSOLID
+wxPENSTYLE_DOT :: Int
+wxPENSTYLE_DOT = wxDOT
+wxPENSTYLE_LONG_DASH :: Int
+wxPENSTYLE_LONG_DASH = wxLONG_DASH
+wxPENSTYLE_SHORT_DASH :: Int
+wxPENSTYLE_SHORT_DASH = wxSHORT_DASH
+wxPENSTYLE_DOT_DASH :: Int
+wxPENSTYLE_DOT_DASH = wxDOT_DASH
+wxPENSTYLE_USER_DASH :: Int
+wxPENSTYLE_USER_DASH = wxUSER_DASH
+
+wxPENSTYLE_TRANSPARENT :: Int
+wxPENSTYLE_TRANSPARENT = wxTRANSPARENT
+
+wxPENSTYLE_STIPPLE_MASK_OPAQUE :: Int
+wxPENSTYLE_STIPPLE_MASK_OPAQUE = wxSTIPPLE_MASK_OPAQUE
+wxPENSTYLE_STIPPLE_MASK :: Int
+wxPENSTYLE_STIPPLE_MASK = wxSTIPPLE_MASK
+wxPENSTYLE_STIPPLE :: Int
+wxPENSTYLE_STIPPLE = wxSTIPPLE
+
+wxPENSTYLE_BDIAGONAL_HATCH :: Int
+wxPENSTYLE_BDIAGONAL_HATCH = wxHATCHSTYLE_BDIAGONAL
+wxPENSTYLE_CROSSDIAG_HATCH :: Int
+wxPENSTYLE_CROSSDIAG_HATCH = wxHATCHSTYLE_CROSSDIAG
+wxPENSTYLE_FDIAGONAL_HATCH :: Int
+wxPENSTYLE_FDIAGONAL_HATCH = wxHATCHSTYLE_FDIAGONAL
+wxPENSTYLE_CROSS_HATCH :: Int
+wxPENSTYLE_CROSS_HATCH = wxHATCHSTYLE_CROSS
+wxPENSTYLE_HORIZONTAL_HATCH :: Int
+wxPENSTYLE_HORIZONTAL_HATCH = wxHATCHSTYLE_HORIZONTAL
+wxPENSTYLE_VERTICAL_HATCH :: Int
+wxPENSTYLE_VERTICAL_HATCH = wxHATCHSTYLE_VERTICAL
+wxPENSTYLE_FIRST_HATCH :: Int
+wxPENSTYLE_FIRST_HATCH = wxHATCHSTYLE_FIRST
+wxPENSTYLE_LAST_HATCH :: Int
+wxPENSTYLE_LAST_HATCH = wxHATCHSTYLE_LAST
+
+-- enum wxPenJoin
+wxJOIN_INVALID :: Int
+wxJOIN_INVALID = -1
+
+wxJOIN_BEVEL :: Int
+wxJOIN_BEVEL = 120
+wxJOIN_MITER :: Int
+wxJOIN_MITER = 121
+wxJOIN_ROUND :: Int
+wxJOIN_ROUND = 122
+
+-- enum wxPenCap
+wxCAP_INVALID :: Int
+wxCAP_INVALID = -1
+
+wxCAP_ROUND :: Int
+wxCAP_ROUND = 130
+wxCAP_PROJECTING :: Int
+wxCAP_PROJECTING = 131
+wxCAP_BUTT :: Int
+wxCAP_BUTT = 132
+
+-- End from wx/pen.h
+
+
+wxNOT_FOUND :: Int
+wxNOT_FOUND = (-1)
+
+wxPRINTER_NO_ERROR :: Int
+wxPRINTER_NO_ERROR = 0
+
+wxPRINTER_CANCELLED :: Int
+wxPRINTER_CANCELLED = 1
+
+wxPRINTER_ERROR :: Int
+wxPRINTER_ERROR = 2
+
+wxPREVIEW_PRINT :: Int
+wxPREVIEW_PRINT = 1
+
+wxPREVIEW_PREVIOUS :: Int
+wxPREVIEW_PREVIOUS = 2
+
+wxPREVIEW_NEXT :: Int
+wxPREVIEW_NEXT = 4
+
+wxPREVIEW_ZOOM :: Int
+wxPREVIEW_ZOOM = 8
+
+wxPREVIEW_FIRST :: Int
+wxPREVIEW_FIRST = 8
+
+wxPREVIEW_LAST :: Int
+wxPREVIEW_LAST = 32
+
+wxPREVIEW_GOTO :: Int
+wxPREVIEW_GOTO = 64
+
+wxPREVIEW_DEFAULT :: Int
+wxPREVIEW_DEFAULT = 126
+
+wxID_PREVIEW_CLOSE :: Int
+wxID_PREVIEW_CLOSE = 1
+
+wxID_PREVIEW_NEXT :: Int
+wxID_PREVIEW_NEXT = 2
+
+wxID_PREVIEW_PREVIOUS :: Int
+wxID_PREVIEW_PREVIOUS = 3
+
+wxID_PREVIEW_PRINT :: Int
+wxID_PREVIEW_PRINT = 4
+
+wxID_PREVIEW_ZOOM :: Int
+wxID_PREVIEW_ZOOM = 5
+
+wxID_PREVIEW_FIRST :: Int
+wxID_PREVIEW_FIRST = 6
+
+wxID_PREVIEW_LAST :: Int
+wxID_PREVIEW_LAST = 7
+
+wxID_PREVIEW_GOTO :: Int
+wxID_PREVIEW_GOTO = 8
+
+wxPRINTID_STATIC :: Int
+wxPRINTID_STATIC = 10
+
+wxPRINTID_RANGE :: Int
+wxPRINTID_RANGE = 11
+
+wxPRINTID_FROM :: Int
+wxPRINTID_FROM = 12
+
+wxPRINTID_TO :: Int
+wxPRINTID_TO = 13
+
+wxPRINTID_COPIES :: Int
+wxPRINTID_COPIES = 14
+
+wxPRINTID_PRINTTOFILE :: Int
+wxPRINTID_PRINTTOFILE = 15
+
+wxPRINTID_SETUP :: Int
+wxPRINTID_SETUP = 16
+
+wxPRINTID_LEFTMARGIN :: Int
+wxPRINTID_LEFTMARGIN = 30
+
+wxPRINTID_RIGHTMARGIN :: Int
+wxPRINTID_RIGHTMARGIN = 31
+
+wxPRINTID_TOPMARGIN :: Int
+wxPRINTID_TOPMARGIN = 32
+
+wxPRINTID_BOTTOMMARGIN :: Int
+wxPRINTID_BOTTOMMARGIN = 33
+
+wxPRINTID_PRINTCOLOUR :: Int
+wxPRINTID_PRINTCOLOUR = 10
+
+wxPRINTID_ORIENTATION :: Int
+wxPRINTID_ORIENTATION = 11
+
+wxPRINTID_COMMAND :: Int
+wxPRINTID_COMMAND = 12
+
+wxPRINTID_OPTIONS :: Int
+wxPRINTID_OPTIONS = 13
+
+wxPRINTID_PAPERSIZE :: Int
+wxPRINTID_PAPERSIZE = 14
+
+wxHF_TOOLBAR :: Int
+wxHF_TOOLBAR = 1
+
+wxHF_CONTENTS :: Int
+wxHF_CONTENTS = 2
+
+wxHF_INDEX :: Int
+wxHF_INDEX = 4
+
+wxHF_SEARCH :: Int
+wxHF_SEARCH = 8
+
+wxHF_BOOKMARKS :: Int
+wxHF_BOOKMARKS = 16
+
+wxHF_OPENFILES :: Int
+wxHF_OPENFILES = 32
+
+wxHF_PRINT :: Int
+wxHF_PRINT = 64
+
+wxHF_FLATTOOLBAR :: Int
+wxHF_FLATTOOLBAR = 128
+
+wxHF_DEFAULTSTYLE :: Int
+wxHF_DEFAULTSTYLE = 95
+
+wxLAYOUT_HORIZONTAL :: Int
+wxLAYOUT_HORIZONTAL = 0
+
+wxLAYOUT_VERTICAL :: Int
+wxLAYOUT_VERTICAL = 1
+
+wxLAYOUT_NONE :: Int
+wxLAYOUT_NONE = 0
+
+wxLAYOUT_TOP :: Int
+wxLAYOUT_TOP = 1
+
+wxLAYOUT_LEFT :: Int
+wxLAYOUT_LEFT = 2
+
+wxLAYOUT_RIGHT :: Int
+wxLAYOUT_RIGHT = 3
+
+wxLAYOUT_BOTTOM :: Int
+wxLAYOUT_BOTTOM = 4
+
+wxSASH_DRAG_NONE :: Int
+wxSASH_DRAG_NONE = 0
+
+wxSASH_DRAG_DRAGGING :: Int
+wxSASH_DRAG_DRAGGING = 1
+
+wxSASH_DRAG_LEFT_DOWN :: Int
+wxSASH_DRAG_LEFT_DOWN = 2
+
+wxSASH_TOP :: Int
+wxSASH_TOP = 0
+
+wxSASH_RIGHT :: Int
+wxSASH_RIGHT = 1
+
+wxSASH_BOTTOM :: Int
+wxSASH_BOTTOM = 2
+
+wxSASH_LEFT :: Int
+wxSASH_LEFT = 3
+
+wxSASH_NONE :: Int
+wxSASH_NONE = 100
+
+wxSW_NOBORDER :: Int
+wxSW_NOBORDER = 0
+
+wxSW_BORDER :: Int
+wxSW_BORDER = 32
+
+wxSW_3DSASH :: Int
+wxSW_3DSASH = 64
+
+wxSW_3DBORDER :: Int
+wxSW_3DBORDER = 128
+
+wxSW_3D :: Int
+wxSW_3D = 192
+
+wxSASH_STATUS_OK :: Int
+wxSASH_STATUS_OK = 0
+
+wxSASH_STATUS_OUT_OF_RANGE :: Int
+wxSASH_STATUS_OUT_OF_RANGE = 1
+
+wxXRC_NONE :: Int
+wxXRC_NONE = 0
+
+wxXRC_USE_LOCALE :: Int
+wxXRC_USE_LOCALE = 1
+
+wxXRC_NO_SUBCLASSING :: Int
+wxXRC_NO_SUBCLASSING = 2
+
+wxXRC_NO_RELOADING :: Int
+wxXRC_NO_RELOADING = 4
+
+wxSYS_WHITE_BRUSH :: Int
+wxSYS_WHITE_BRUSH = 0
+
+wxSYS_LTGRAY_BRUSH :: Int
+wxSYS_LTGRAY_BRUSH = 1
+
+wxSYS_GRAY_BRUSH :: Int
+wxSYS_GRAY_BRUSH = 2
+
+wxSYS_DKGRAY_BRUSH :: Int
+wxSYS_DKGRAY_BRUSH = 3
+
+wxSYS_BLACK_BRUSH :: Int
+wxSYS_BLACK_BRUSH = 4
+
+wxSYS_NULL_BRUSH :: Int
+wxSYS_NULL_BRUSH = 5
+
+wxSYS_HOLLOW_BRUSH :: Int
+wxSYS_HOLLOW_BRUSH = 5
+
+wxSYS_WHITE_PEN :: Int
+wxSYS_WHITE_PEN = 6
+
+wxSYS_BLACK_PEN :: Int
+wxSYS_BLACK_PEN = 7
+
+wxSYS_NULL_PEN :: Int
+wxSYS_NULL_PEN = 8
+
+wxSYS_OEM_FIXED_FONT :: Int
+wxSYS_OEM_FIXED_FONT = 10
+
+wxSYS_ANSI_FIXED_FONT :: Int
+wxSYS_ANSI_FIXED_FONT = 11
+
+wxSYS_ANSI_VAR_FONT :: Int
+wxSYS_ANSI_VAR_FONT = 12
+
+wxSYS_SYSTEM_FONT :: Int
+wxSYS_SYSTEM_FONT = 13
+
+wxSYS_DEVICE_DEFAULT_FONT :: Int
+wxSYS_DEVICE_DEFAULT_FONT = 14
+
+wxSYS_DEFAULT_PALETTE :: Int
+wxSYS_DEFAULT_PALETTE = 15
+
+wxSYS_SYSTEM_FIXED_FONT :: Int
+wxSYS_SYSTEM_FIXED_FONT = 16
+
+wxSYS_DEFAULT_GUI_FONT :: Int
+wxSYS_DEFAULT_GUI_FONT = 17
+
+wxSYS_COLOUR_SCROLLBAR :: Int
+wxSYS_COLOUR_SCROLLBAR = 0
+
+wxSYS_COLOUR_BACKGROUND :: Int
+wxSYS_COLOUR_BACKGROUND = 1
+
+wxSYS_COLOUR_ACTIVECAPTION :: Int
+wxSYS_COLOUR_ACTIVECAPTION = 2
+
+wxSYS_COLOUR_INACTIVECAPTION :: Int
+wxSYS_COLOUR_INACTIVECAPTION = 3
+
+wxSYS_COLOUR_MENU :: Int
+wxSYS_COLOUR_MENU = 4
+
+wxSYS_COLOUR_WINDOW :: Int
+wxSYS_COLOUR_WINDOW = 5
+
+wxSYS_COLOUR_WINDOWFRAME :: Int
+wxSYS_COLOUR_WINDOWFRAME = 6
+
+wxSYS_COLOUR_MENUTEXT :: Int
+wxSYS_COLOUR_MENUTEXT = 7
+
+wxSYS_COLOUR_WINDOWTEXT :: Int
+wxSYS_COLOUR_WINDOWTEXT = 8
+
+wxSYS_COLOUR_CAPTIONTEXT :: Int
+wxSYS_COLOUR_CAPTIONTEXT = 9
+
+wxSYS_COLOUR_ACTIVEBORDER :: Int
+wxSYS_COLOUR_ACTIVEBORDER = 10
+
+wxSYS_COLOUR_INACTIVEBORDER :: Int
+wxSYS_COLOUR_INACTIVEBORDER = 11
+
+wxSYS_COLOUR_APPWORKSPACE :: Int
+wxSYS_COLOUR_APPWORKSPACE = 12
+
+wxSYS_COLOUR_HIGHLIGHT :: Int
+wxSYS_COLOUR_HIGHLIGHT = 13
+
+wxSYS_COLOUR_HIGHLIGHTTEXT :: Int
+wxSYS_COLOUR_HIGHLIGHTTEXT = 14
+
+wxSYS_COLOUR_BTNFACE :: Int
+wxSYS_COLOUR_BTNFACE = 15
+
+wxSYS_COLOUR_BTNSHADOW :: Int
+wxSYS_COLOUR_BTNSHADOW = 16
+
+wxSYS_COLOUR_GRAYTEXT :: Int
+wxSYS_COLOUR_GRAYTEXT = 17
+
+wxSYS_COLOUR_BTNTEXT :: Int
+wxSYS_COLOUR_BTNTEXT = 18
+
+wxSYS_COLOUR_INACTIVECAPTIONTEXT :: Int
+wxSYS_COLOUR_INACTIVECAPTIONTEXT = 19
+
+wxSYS_COLOUR_BTNHIGHLIGHT :: Int
+wxSYS_COLOUR_BTNHIGHLIGHT = 20
+
+wxSYS_COLOUR_3DDKSHADOW :: Int
+wxSYS_COLOUR_3DDKSHADOW = 21
+
+wxSYS_COLOUR_3DLIGHT :: Int
+wxSYS_COLOUR_3DLIGHT = 22
+
+wxSYS_COLOUR_INFOTEXT :: Int
+wxSYS_COLOUR_INFOTEXT = 23
+
+wxSYS_COLOUR_INFOBK :: Int
+wxSYS_COLOUR_INFOBK = 24
+
+wxSYS_COLOUR_LISTBOX :: Int
+wxSYS_COLOUR_LISTBOX = 25
+
+wxSYS_COLOUR_DESKTOP :: Int
+wxSYS_COLOUR_DESKTOP = 1
+
+wxSYS_COLOUR_3DFACE :: Int
+wxSYS_COLOUR_3DFACE = 15
+
+wxSYS_COLOUR_3DSHADOW :: Int
+wxSYS_COLOUR_3DSHADOW = 16
+
+wxSYS_COLOUR_3DHIGHLIGHT :: Int
+wxSYS_COLOUR_3DHIGHLIGHT = 20
+
+wxSYS_COLOUR_3DHILIGHT :: Int
+wxSYS_COLOUR_3DHILIGHT = 20
+
+wxSYS_COLOUR_BTNHILIGHT :: Int
+wxSYS_COLOUR_BTNHILIGHT = 20
+
+wxSYS_MOUSE_BUTTONS :: Int
+wxSYS_MOUSE_BUTTONS = 1
+
+wxSYS_BORDER_X :: Int
+wxSYS_BORDER_X = 2
+
+wxSYS_BORDER_Y :: Int
+wxSYS_BORDER_Y = 3
+
+wxSYS_CURSOR_X :: Int
+wxSYS_CURSOR_X = 4
+
+wxSYS_CURSOR_Y :: Int
+wxSYS_CURSOR_Y = 5
+
+wxSYS_DCLICK_X :: Int
+wxSYS_DCLICK_X = 6
+
+wxSYS_DCLICK_Y :: Int
+wxSYS_DCLICK_Y = 7
+
+wxSYS_DRAG_X :: Int
+wxSYS_DRAG_X = 8
+
+wxSYS_DRAG_Y :: Int
+wxSYS_DRAG_Y = 9
+
+wxSYS_EDGE_X :: Int
+wxSYS_EDGE_X = 10
+
+wxSYS_EDGE_Y :: Int
+wxSYS_EDGE_Y = 11
+
+wxSYS_HSCROLL_ARROW_X :: Int
+wxSYS_HSCROLL_ARROW_X = 12
+
+wxSYS_HSCROLL_ARROW_Y :: Int
+wxSYS_HSCROLL_ARROW_Y = 13
+
+wxSYS_HTHUMB_X :: Int
+wxSYS_HTHUMB_X = 14
+
+wxSYS_ICON_X :: Int
+wxSYS_ICON_X = 15
+
+wxSYS_ICON_Y :: Int
+wxSYS_ICON_Y = 16
+
+wxSYS_ICONSPACING_X :: Int
+wxSYS_ICONSPACING_X = 17
+
+wxSYS_ICONSPACING_Y :: Int
+wxSYS_ICONSPACING_Y = 18
+
+wxSYS_WINDOWMIN_X :: Int
+wxSYS_WINDOWMIN_X = 19
+
+wxSYS_WINDOWMIN_Y :: Int
+wxSYS_WINDOWMIN_Y = 20
+
+wxSYS_SCREEN_X :: Int
+wxSYS_SCREEN_X = 21
+
+wxSYS_SCREEN_Y :: Int
+wxSYS_SCREEN_Y = 22
+
+wxSYS_FRAMESIZE_X :: Int
+wxSYS_FRAMESIZE_X = 23
+
+wxSYS_FRAMESIZE_Y :: Int
+wxSYS_FRAMESIZE_Y = 24
+
+wxSYS_SMALLICON_X :: Int
+wxSYS_SMALLICON_X = 25
+
+wxSYS_SMALLICON_Y :: Int
+wxSYS_SMALLICON_Y = 26
+
+wxSYS_HSCROLL_Y :: Int
+wxSYS_HSCROLL_Y = 27
+
+wxSYS_VSCROLL_X :: Int
+wxSYS_VSCROLL_X = 28
+
+wxSYS_VSCROLL_ARROW_X :: Int
+wxSYS_VSCROLL_ARROW_X = 29
+
+wxSYS_VSCROLL_ARROW_Y :: Int
+wxSYS_VSCROLL_ARROW_Y = 30
+
+wxSYS_VTHUMB_Y :: Int
+wxSYS_VTHUMB_Y = 31
+
+wxSYS_CAPTION_Y :: Int
+wxSYS_CAPTION_Y = 32
+
+wxSYS_MENU_Y :: Int
+wxSYS_MENU_Y = 33
+
+wxSYS_NETWORK_PRESENT :: Int
+wxSYS_NETWORK_PRESENT = 34
+
+wxSYS_PENWINDOWS_PRESENT :: Int
+wxSYS_PENWINDOWS_PRESENT = 35
+
+wxSYS_SHOW_SOUNDS :: Int
+wxSYS_SHOW_SOUNDS = 36
+
+wxSYS_SWAP_BUTTONS :: Int
+wxSYS_SWAP_BUTTONS = 37
+
+wxSYS_SCREEN_NONE :: Int
+wxSYS_SCREEN_NONE = 0
+
+wxSYS_SCREEN_TINY :: Int
+wxSYS_SCREEN_TINY = 1
+
+wxSYS_SCREEN_PDA :: Int
+wxSYS_SCREEN_PDA = 2
+
+wxSYS_SCREEN_SMALL :: Int
+wxSYS_SCREEN_SMALL = 3
+
+wxSYS_SCREEN_DESKTOP :: Int
+wxSYS_SCREEN_DESKTOP = 4
+
+wxCAL_BORDER_NONE :: Int
+wxCAL_BORDER_NONE = 0
+
+wxCAL_BORDER_SQUARE :: Int
+wxCAL_BORDER_SQUARE = 1
+
+wxCAL_BORDER_ROUND :: Int
+wxCAL_BORDER_ROUND = 2
+
+wxCAL_HITTEST_NOWHERE :: Int
+wxCAL_HITTEST_NOWHERE = 0
+
+wxCAL_HITTEST_HEADER :: Int
+wxCAL_HITTEST_HEADER = 1
+
+wxCAL_HITTEST_DAY :: Int
+wxCAL_HITTEST_DAY = 2
+
+wxUNKNOWN :: Int
+wxUNKNOWN = 0
+
+wxSTRING :: Int
+wxSTRING = 1
+
+wxBOOLEAN :: Int
+wxBOOLEAN = 2
+
+wxINTEGER :: Int
+wxINTEGER = 3
+
+wxFLOAT :: Int
+wxFLOAT = 4
+
+wxMUTEX_NO_ERROR :: Int
+wxMUTEX_NO_ERROR = 0
+
+wxMUTEX_DEAD_LOCK :: Int
+wxMUTEX_DEAD_LOCK = 1
+
+wxMUTEX_BUSY :: Int
+wxMUTEX_BUSY = 2
+
+wxMUTEX_UNLOCKED :: Int
+wxMUTEX_UNLOCKED = 3
+
+wxMUTEX_MISC_ERROR :: Int
+wxMUTEX_MISC_ERROR = 4
+
+wxPLATFORM_CURRENT :: Int
+wxPLATFORM_CURRENT = (-1)
+
+wxPLATFORM_UNIX :: Int
+wxPLATFORM_UNIX = 0
+
+wxPLATFORM_WINDOWS :: Int
+wxPLATFORM_WINDOWS = 1
+
+wxPLATFORM_OS2 :: Int
+wxPLATFORM_OS2 = 2
+
+wxPLATFORM_MAC :: Int
+wxPLATFORM_MAC = 3
+
+wxLED_ALIGN_LEFT :: Int
+wxLED_ALIGN_LEFT = 1
+
+wxLED_ALIGN_RIGHT :: Int
+wxLED_ALIGN_RIGHT = 2
+
+wxLED_ALIGN_CENTER :: Int
+wxLED_ALIGN_CENTER = 4
+
+wxLED_ALIGN_MASK :: Int
+wxLED_ALIGN_MASK = 4
+
+wxLED_DRAW_FADED :: Int
+wxLED_DRAW_FADED = 8
+
+wxDS_MANAGE_SCROLLBARS :: Int
+wxDS_MANAGE_SCROLLBARS = 16
+
+wxDS_DRAG_CORNER :: Int
+wxDS_DRAG_CORNER = 32
+
+wxEL_ALLOW_NEW :: Int
+wxEL_ALLOW_NEW = 256
+
+wxEL_ALLOW_EDIT :: Int
+wxEL_ALLOW_EDIT = 512
+
+wxEL_ALLOW_DELETE :: Int
+wxEL_ALLOW_DELETE = 1024
+
+wxTR_NO_BUTTONS :: Int
+wxTR_NO_BUTTONS = 0
+
+wxTR_HAS_BUTTONS :: Int
+wxTR_HAS_BUTTONS = 1
+
+wxTR_TWIST_BUTTONS :: Int
+wxTR_TWIST_BUTTONS = 2
+
+wxTR_NO_LINES :: Int
+wxTR_NO_LINES = 4
+
+wxTR_LINES_AT_ROOT :: Int
+wxTR_LINES_AT_ROOT = 8
+
+wxTR_AQUA_BUTTONS :: Int
+wxTR_AQUA_BUTTONS = 16
+
+wxTR_SINGLE :: Int
+wxTR_SINGLE = 0
+
+wxTR_MULTIPLE :: Int
+wxTR_MULTIPLE = 32
+
+wxTR_EXTENDED :: Int
+wxTR_EXTENDED = 64
+
+wxTR_FULL_ROW_HIGHLIGHT :: Int
+wxTR_FULL_ROW_HIGHLIGHT = 8192
+
+wxTR_EDIT_LABELS :: Int
+wxTR_EDIT_LABELS = 512
+
+wxTR_ROW_LINES :: Int
+wxTR_ROW_LINES = 1024
+
+wxTR_HIDE_ROOT :: Int
+wxTR_HIDE_ROOT = 2048
+
+wxTR_HAS_VARIABLE_ROW_HEIGHT :: Int
+wxTR_HAS_VARIABLE_ROW_HEIGHT = 128
+
+wxCBAR_DOCKED_HORIZONTALLY :: Int
+wxCBAR_DOCKED_HORIZONTALLY = 0
+
+wxCBAR_DOCKED_VERTICALLY :: Int
+wxCBAR_DOCKED_VERTICALLY = 1
+
+wxCBAR_FLOATING :: Int
+wxCBAR_FLOATING = 2
+
+wxCBAR_HIDDEN :: Int
+wxCBAR_HIDDEN = 3
+
+fL_ALIGN_TOP :: Int
+fL_ALIGN_TOP = 0
+
+fL_ALIGN_BOTTOM :: Int
+fL_ALIGN_BOTTOM = 1
+
+fL_ALIGN_LEFT :: Int
+fL_ALIGN_LEFT = 2
+
+fL_ALIGN_RIGHT :: Int
+fL_ALIGN_RIGHT = 3
+
+fL_ALIGN_TOP_PANE :: Int
+fL_ALIGN_TOP_PANE = 1
+
+fL_ALIGN_BOTTOM_PANE :: Int
+fL_ALIGN_BOTTOM_PANE = 2
+
+fL_ALIGN_LEFT_PANE :: Int
+fL_ALIGN_LEFT_PANE = 4
+
+fL_ALIGN_RIGHT_PANE :: Int
+fL_ALIGN_RIGHT_PANE = 8
+
+wxALL_PANES :: Int
+wxALL_PANES = 15
+
+cB_NO_ITEMS_HITTED :: Int
+cB_NO_ITEMS_HITTED = 0
+
+cB_UPPER_ROW_HANDLE_HITTED :: Int
+cB_UPPER_ROW_HANDLE_HITTED = 1
+
+cB_LOWER_ROW_HANDLE_HITTED :: Int
+cB_LOWER_ROW_HANDLE_HITTED = 2
+
+cB_LEFT_BAR_HANDLE_HITTED :: Int
+cB_LEFT_BAR_HANDLE_HITTED = 3
+
+cB_RIGHT_BAR_HANDLE_HITTED :: Int
+cB_RIGHT_BAR_HANDLE_HITTED = 4
+
+cB_BAR_CONTENT_HITTED :: Int
+cB_BAR_CONTENT_HITTED = 5
+
+wxOK :: Int
+wxOK = 4
+
+wxYES :: Int
+wxYES = 2
+
+wxNO :: Int
+wxNO = 8
+
+wxYES_NO :: Int
+wxYES_NO = 10
+
+wxCANCEL :: Int
+wxCANCEL = 16
+
+wxNO_DEFAULT :: Int
+wxNO_DEFAULT = 128
+
+wxYES_DEFAULT :: Int
+wxYES_DEFAULT = 0
+
+wxFR_DOWN :: Int
+wxFR_DOWN = 1
+
+wxFR_WHOLEWORD :: Int
+wxFR_WHOLEWORD = 2
+
+wxFR_MATCHCASE :: Int
+wxFR_MATCHCASE = 4
+
+wxFR_REPLACEDIALOG :: Int
+wxFR_REPLACEDIALOG = 1
+
+wxFR_NOUPDOWN :: Int
+wxFR_NOUPDOWN = 2
+
+wxFR_NOMATCHCASE :: Int
+wxFR_NOMATCHCASE = 4
+
+wxFR_NOWHOLEWORD :: Int
+wxFR_NOWHOLEWORD = 8
+
+wxQUANTIZE_INCLUDE_WINDOWS_COLOURS :: Int
+wxQUANTIZE_INCLUDE_WINDOWS_COLOURS = 1
+
+wxQUANTIZE_RETURN_8BIT_DATA :: Int
+wxQUANTIZE_RETURN_8BIT_DATA = 2
+
+wxQUANTIZE_FILL_DESTINATION_IMAGE :: Int
+wxQUANTIZE_FILL_DESTINATION_IMAGE = 4
+
+wxLANGUAGE_DEFAULT :: Int
+wxLANGUAGE_DEFAULT = 0
+
+wxLANGUAGE_UNKNOWN :: Int
+wxLANGUAGE_UNKNOWN = 1
+
+wxLANGUAGE_ABKHAZIAN :: Int
+wxLANGUAGE_ABKHAZIAN = 2
+
+wxLANGUAGE_AFAR :: Int
+wxLANGUAGE_AFAR = 3
+
+wxLANGUAGE_AFRIKAANS :: Int
+wxLANGUAGE_AFRIKAANS = 4
+
+wxLANGUAGE_ALBANIAN :: Int
+wxLANGUAGE_ALBANIAN = 5
+
+wxLANGUAGE_AMHARIC :: Int
+wxLANGUAGE_AMHARIC = 6
+
+wxLANGUAGE_ARABIC :: Int
+wxLANGUAGE_ARABIC = 7
+
+wxLANGUAGE_ARABIC_ALGERIA :: Int
+wxLANGUAGE_ARABIC_ALGERIA = 8
+
+wxLANGUAGE_ARABIC_BAHRAIN :: Int
+wxLANGUAGE_ARABIC_BAHRAIN = 9
+
+wxLANGUAGE_ARABIC_EGYPT :: Int
+wxLANGUAGE_ARABIC_EGYPT = 10
+
+wxLANGUAGE_ARABIC_IRAQ :: Int
+wxLANGUAGE_ARABIC_IRAQ = 11
+
+wxLANGUAGE_ARABIC_JORDAN :: Int
+wxLANGUAGE_ARABIC_JORDAN = 12
+
+wxLANGUAGE_ARABIC_KUWAIT :: Int
+wxLANGUAGE_ARABIC_KUWAIT = 13
+
+wxLANGUAGE_ARABIC_LEBANON :: Int
+wxLANGUAGE_ARABIC_LEBANON = 14
+
+wxLANGUAGE_ARABIC_LIBYA :: Int
+wxLANGUAGE_ARABIC_LIBYA = 15
+
+wxLANGUAGE_ARABIC_MOROCCO :: Int
+wxLANGUAGE_ARABIC_MOROCCO = 16
+
+wxLANGUAGE_ARABIC_OMAN :: Int
+wxLANGUAGE_ARABIC_OMAN = 17
+
+wxLANGUAGE_ARABIC_QATAR :: Int
+wxLANGUAGE_ARABIC_QATAR = 18
+
+wxLANGUAGE_ARABIC_SAUDI_ARABIA :: Int
+wxLANGUAGE_ARABIC_SAUDI_ARABIA = 19
+
+wxLANGUAGE_ARABIC_SUDAN :: Int
+wxLANGUAGE_ARABIC_SUDAN = 20
+
+wxLANGUAGE_ARABIC_SYRIA :: Int
+wxLANGUAGE_ARABIC_SYRIA = 21
+
+wxLANGUAGE_ARABIC_TUNISIA :: Int
+wxLANGUAGE_ARABIC_TUNISIA = 22
+
+wxLANGUAGE_ARABIC_UAE :: Int
+wxLANGUAGE_ARABIC_UAE = 23
+
+wxLANGUAGE_ARABIC_YEMEN :: Int
+wxLANGUAGE_ARABIC_YEMEN = 24
+
+wxLANGUAGE_ARMENIAN :: Int
+wxLANGUAGE_ARMENIAN = 25
+
+wxLANGUAGE_ASSAMESE :: Int
+wxLANGUAGE_ASSAMESE = 26
+
+wxLANGUAGE_AYMARA :: Int
+wxLANGUAGE_AYMARA = 27
+
+wxLANGUAGE_AZERI :: Int
+wxLANGUAGE_AZERI = 28
+
+wxLANGUAGE_AZERI_CYRILLIC :: Int
+wxLANGUAGE_AZERI_CYRILLIC = 29
+
+wxLANGUAGE_AZERI_LATIN :: Int
+wxLANGUAGE_AZERI_LATIN = 30
+
+wxLANGUAGE_BASHKIR :: Int
+wxLANGUAGE_BASHKIR = 31
+
+wxLANGUAGE_BASQUE :: Int
+wxLANGUAGE_BASQUE = 32
+
+wxLANGUAGE_BELARUSIAN :: Int
+wxLANGUAGE_BELARUSIAN = 33
+
+wxLANGUAGE_BENGALI :: Int
+wxLANGUAGE_BENGALI = 34
+
+wxLANGUAGE_BHUTANI :: Int
+wxLANGUAGE_BHUTANI = 35
+
+wxLANGUAGE_BIHARI :: Int
+wxLANGUAGE_BIHARI = 36
+
+wxLANGUAGE_BISLAMA :: Int
+wxLANGUAGE_BISLAMA = 37
+
+wxLANGUAGE_BRETON :: Int
+wxLANGUAGE_BRETON = 38
+
+wxLANGUAGE_BULGARIAN :: Int
+wxLANGUAGE_BULGARIAN = 39
+
+wxLANGUAGE_BURMESE :: Int
+wxLANGUAGE_BURMESE = 40
+
+wxLANGUAGE_CAMBODIAN :: Int
+wxLANGUAGE_CAMBODIAN = 41
+
+wxLANGUAGE_CATALAN :: Int
+wxLANGUAGE_CATALAN = 42
+
+wxLANGUAGE_CHINESE :: Int
+wxLANGUAGE_CHINESE = 43
+
+wxLANGUAGE_CHINESE_SIMPLIFIED :: Int
+wxLANGUAGE_CHINESE_SIMPLIFIED = 44
+
+wxLANGUAGE_CHINESE_TRADITIONAL :: Int
+wxLANGUAGE_CHINESE_TRADITIONAL = 45
+
+wxLANGUAGE_CHINESE_HONGKONG :: Int
+wxLANGUAGE_CHINESE_HONGKONG = 46
+
+wxLANGUAGE_CHINESE_MACAU :: Int
+wxLANGUAGE_CHINESE_MACAU = 47
+
+wxLANGUAGE_CHINESE_SINGAPORE :: Int
+wxLANGUAGE_CHINESE_SINGAPORE = 48
+
+wxLANGUAGE_CHINESE_TAIWAN :: Int
+wxLANGUAGE_CHINESE_TAIWAN = 49
+
+wxLANGUAGE_CORSICAN :: Int
+wxLANGUAGE_CORSICAN = 50
+
+wxLANGUAGE_CROATIAN :: Int
+wxLANGUAGE_CROATIAN = 51
+
+wxLANGUAGE_CZECH :: Int
+wxLANGUAGE_CZECH = 52
+
+wxLANGUAGE_DANISH :: Int
+wxLANGUAGE_DANISH = 53
+
+wxLANGUAGE_DUTCH :: Int
+wxLANGUAGE_DUTCH = 54
+
+wxLANGUAGE_DUTCH_BELGIAN :: Int
+wxLANGUAGE_DUTCH_BELGIAN = 55
+
+wxLANGUAGE_ENGLISH :: Int
+wxLANGUAGE_ENGLISH = 56
+
+wxLANGUAGE_ENGLISH_UK :: Int
+wxLANGUAGE_ENGLISH_UK = 57
+
+wxLANGUAGE_ENGLISH_US :: Int
+wxLANGUAGE_ENGLISH_US = 58
+
+wxLANGUAGE_ENGLISH_AUSTRALIA :: Int
+wxLANGUAGE_ENGLISH_AUSTRALIA = 59
+
+wxLANGUAGE_ENGLISH_BELIZE :: Int
+wxLANGUAGE_ENGLISH_BELIZE = 60
+
+wxLANGUAGE_ENGLISH_BOTSWANA :: Int
+wxLANGUAGE_ENGLISH_BOTSWANA = 61
+
+wxLANGUAGE_ENGLISH_CANADA :: Int
+wxLANGUAGE_ENGLISH_CANADA = 62
+
+wxLANGUAGE_ENGLISH_CARIBBEAN :: Int
+wxLANGUAGE_ENGLISH_CARIBBEAN = 63
+
+wxLANGUAGE_ENGLISH_DENMARK :: Int
+wxLANGUAGE_ENGLISH_DENMARK = 64
+
+wxLANGUAGE_ENGLISH_EIRE :: Int
+wxLANGUAGE_ENGLISH_EIRE = 65
+
+wxLANGUAGE_ENGLISH_JAMAICA :: Int
+wxLANGUAGE_ENGLISH_JAMAICA = 66
+
+wxLANGUAGE_ENGLISH_NEW_ZEALAND :: Int
+wxLANGUAGE_ENGLISH_NEW_ZEALAND = 67
+
+wxLANGUAGE_ENGLISH_PHILIPPINES :: Int
+wxLANGUAGE_ENGLISH_PHILIPPINES = 68
+
+wxLANGUAGE_ENGLISH_SOUTH_AFRICA :: Int
+wxLANGUAGE_ENGLISH_SOUTH_AFRICA = 69
+
+wxLANGUAGE_ENGLISH_TRINIDAD :: Int
+wxLANGUAGE_ENGLISH_TRINIDAD = 70
+
+wxLANGUAGE_ENGLISH_ZIMBABWE :: Int
+wxLANGUAGE_ENGLISH_ZIMBABWE = 71
+
+wxLANGUAGE_ESPERANTO :: Int
+wxLANGUAGE_ESPERANTO = 72
+
+wxLANGUAGE_ESTONIAN :: Int
+wxLANGUAGE_ESTONIAN = 73
+
+wxLANGUAGE_FAEROESE :: Int
+wxLANGUAGE_FAEROESE = 74
+
+wxLANGUAGE_FARSI :: Int
+wxLANGUAGE_FARSI = 75
+
+wxLANGUAGE_FIJI :: Int
+wxLANGUAGE_FIJI = 76
+
+wxLANGUAGE_FINNISH :: Int
+wxLANGUAGE_FINNISH = 77
+
+wxLANGUAGE_FRENCH :: Int
+wxLANGUAGE_FRENCH = 78
+
+wxLANGUAGE_FRENCH_BELGIAN :: Int
+wxLANGUAGE_FRENCH_BELGIAN = 79
+
+wxLANGUAGE_FRENCH_CANADIAN :: Int
+wxLANGUAGE_FRENCH_CANADIAN = 80
+
+wxLANGUAGE_FRENCH_LUXEMBOURG :: Int
+wxLANGUAGE_FRENCH_LUXEMBOURG = 81
+
+wxLANGUAGE_FRENCH_MONACO :: Int
+wxLANGUAGE_FRENCH_MONACO = 82
+
+wxLANGUAGE_FRENCH_SWISS :: Int
+wxLANGUAGE_FRENCH_SWISS = 83
+
+wxLANGUAGE_FRISIAN :: Int
+wxLANGUAGE_FRISIAN = 84
+
+wxLANGUAGE_GALICIAN :: Int
+wxLANGUAGE_GALICIAN = 85
+
+wxLANGUAGE_GEORGIAN :: Int
+wxLANGUAGE_GEORGIAN = 86
+
+wxLANGUAGE_GERMAN :: Int
+wxLANGUAGE_GERMAN = 87
+
+wxLANGUAGE_GERMAN_AUSTRIAN :: Int
+wxLANGUAGE_GERMAN_AUSTRIAN = 88
+
+wxLANGUAGE_GERMAN_BELGIUM :: Int
+wxLANGUAGE_GERMAN_BELGIUM = 89
+
+wxLANGUAGE_GERMAN_LIECHTENSTEIN :: Int
+wxLANGUAGE_GERMAN_LIECHTENSTEIN = 90
+
+wxLANGUAGE_GERMAN_LUXEMBOURG :: Int
+wxLANGUAGE_GERMAN_LUXEMBOURG = 91
+
+wxLANGUAGE_GERMAN_SWISS :: Int
+wxLANGUAGE_GERMAN_SWISS = 92
+
+wxLANGUAGE_GREEK :: Int
+wxLANGUAGE_GREEK = 93
+
+wxLANGUAGE_GREENLANDIC :: Int
+wxLANGUAGE_GREENLANDIC = 94
+
+wxLANGUAGE_GUARANI :: Int
+wxLANGUAGE_GUARANI = 95
+
+wxLANGUAGE_GUJARATI :: Int
+wxLANGUAGE_GUJARATI = 96
+
+wxLANGUAGE_HAUSA :: Int
+wxLANGUAGE_HAUSA = 97
+
+wxLANGUAGE_HEBREW :: Int
+wxLANGUAGE_HEBREW = 98
+
+wxLANGUAGE_HINDI :: Int
+wxLANGUAGE_HINDI = 99
+
+wxLANGUAGE_HUNGARIAN :: Int
+wxLANGUAGE_HUNGARIAN = 100
+
+wxLANGUAGE_ICELANDIC :: Int
+wxLANGUAGE_ICELANDIC = 101
+
+wxLANGUAGE_INDONESIAN :: Int
+wxLANGUAGE_INDONESIAN = 102
+
+wxLANGUAGE_INTERLINGUA :: Int
+wxLANGUAGE_INTERLINGUA = 103
+
+wxLANGUAGE_INTERLINGUE :: Int
+wxLANGUAGE_INTERLINGUE = 104
+
+wxLANGUAGE_INUKTITUT :: Int
+wxLANGUAGE_INUKTITUT = 105
+
+wxLANGUAGE_INUPIAK :: Int
+wxLANGUAGE_INUPIAK = 106
+
+wxLANGUAGE_IRISH :: Int
+wxLANGUAGE_IRISH = 107
+
+wxLANGUAGE_ITALIAN :: Int
+wxLANGUAGE_ITALIAN = 108
+
+wxLANGUAGE_ITALIAN_SWISS :: Int
+wxLANGUAGE_ITALIAN_SWISS = 109
+
+wxLANGUAGE_JAPANESE :: Int
+wxLANGUAGE_JAPANESE = 110
+
+wxLANGUAGE_JAVANESE :: Int
+wxLANGUAGE_JAVANESE = 111
+
+wxLANGUAGE_KANNADA :: Int
+wxLANGUAGE_KANNADA = 112
+
+wxLANGUAGE_KASHMIRI :: Int
+wxLANGUAGE_KASHMIRI = 113
+
+wxLANGUAGE_KASHMIRI_INDIA :: Int
+wxLANGUAGE_KASHMIRI_INDIA = 114
+
+wxLANGUAGE_KAZAKH :: Int
+wxLANGUAGE_KAZAKH = 115
+
+wxLANGUAGE_KERNEWEK :: Int
+wxLANGUAGE_KERNEWEK = 116
+
+wxLANGUAGE_KINYARWANDA :: Int
+wxLANGUAGE_KINYARWANDA = 117
+
+wxLANGUAGE_KIRGHIZ :: Int
+wxLANGUAGE_KIRGHIZ = 118
+
+wxLANGUAGE_KIRUNDI :: Int
+wxLANGUAGE_KIRUNDI = 119
+
+wxLANGUAGE_KONKANI :: Int
+wxLANGUAGE_KONKANI = 120
+
+wxLANGUAGE_KOREAN :: Int
+wxLANGUAGE_KOREAN = 121
+
+wxLANGUAGE_KURDISH :: Int
+wxLANGUAGE_KURDISH = 122
+
+wxLANGUAGE_LAOTHIAN :: Int
+wxLANGUAGE_LAOTHIAN = 123
+
+wxLANGUAGE_LATIN :: Int
+wxLANGUAGE_LATIN = 124
+
+wxLANGUAGE_LATVIAN :: Int
+wxLANGUAGE_LATVIAN = 125
+
+wxLANGUAGE_LINGALA :: Int
+wxLANGUAGE_LINGALA = 126
+
+wxLANGUAGE_LITHUANIAN :: Int
+wxLANGUAGE_LITHUANIAN = 127
+
+wxLANGUAGE_MACEDONIAN :: Int
+wxLANGUAGE_MACEDONIAN = 128
+
+wxLANGUAGE_MALAGASY :: Int
+wxLANGUAGE_MALAGASY = 129
+
+wxLANGUAGE_MALAY :: Int
+wxLANGUAGE_MALAY = 130
+
+wxLANGUAGE_MALAYALAM :: Int
+wxLANGUAGE_MALAYALAM = 131
+
+wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM :: Int
+wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM = 132
+
+wxLANGUAGE_MALAY_MALAYSIA :: Int
+wxLANGUAGE_MALAY_MALAYSIA = 133
+
+wxLANGUAGE_MALTESE :: Int
+wxLANGUAGE_MALTESE = 134
+
+wxLANGUAGE_MANIPURI :: Int
+wxLANGUAGE_MANIPURI = 135
+
+wxLANGUAGE_MAORI :: Int
+wxLANGUAGE_MAORI = 136
+
+wxLANGUAGE_MARATHI :: Int
+wxLANGUAGE_MARATHI = 137
+
+wxLANGUAGE_MOLDAVIAN :: Int
+wxLANGUAGE_MOLDAVIAN = 138
+
+wxLANGUAGE_MONGOLIAN :: Int
+wxLANGUAGE_MONGOLIAN = 139
+
+wxLANGUAGE_NAURU :: Int
+wxLANGUAGE_NAURU = 140
+
+wxLANGUAGE_NEPALI :: Int
+wxLANGUAGE_NEPALI = 141
+
+wxLANGUAGE_NEPALI_INDIA :: Int
+wxLANGUAGE_NEPALI_INDIA = 142
+
+wxLANGUAGE_NORWEGIAN_BOKMAL :: Int
+wxLANGUAGE_NORWEGIAN_BOKMAL = 143
+
+wxLANGUAGE_NORWEGIAN_NYNORSK :: Int
+wxLANGUAGE_NORWEGIAN_NYNORSK = 144
+
+wxLANGUAGE_OCCITAN :: Int
+wxLANGUAGE_OCCITAN = 145
+
+wxLANGUAGE_ORIYA :: Int
+wxLANGUAGE_ORIYA = 146
+
+wxLANGUAGE_OROMO :: Int
+wxLANGUAGE_OROMO = 147
+
+wxLANGUAGE_PASHTO :: Int
+wxLANGUAGE_PASHTO = 148
+
+wxLANGUAGE_POLISH :: Int
+wxLANGUAGE_POLISH = 149
+
+wxLANGUAGE_PORTUGUESE :: Int
+wxLANGUAGE_PORTUGUESE = 150
+
+wxLANGUAGE_PORTUGUESE_BRAZILIAN :: Int
+wxLANGUAGE_PORTUGUESE_BRAZILIAN = 151
+
+wxLANGUAGE_PUNJABI :: Int
+wxLANGUAGE_PUNJABI = 152
+
+wxLANGUAGE_QUECHUA :: Int
+wxLANGUAGE_QUECHUA = 153
+
+wxLANGUAGE_RHAETO_ROMANCE :: Int
+wxLANGUAGE_RHAETO_ROMANCE = 154
+
+wxLANGUAGE_ROMANIAN :: Int
+wxLANGUAGE_ROMANIAN = 155
+
+wxLANGUAGE_RUSSIAN :: Int
+wxLANGUAGE_RUSSIAN = 156
+
+wxLANGUAGE_RUSSIAN_UKRAINE :: Int
+wxLANGUAGE_RUSSIAN_UKRAINE = 157
+
+wxLANGUAGE_SAMOAN :: Int
+wxLANGUAGE_SAMOAN = 158
+
+wxLANGUAGE_SANGHO :: Int
+wxLANGUAGE_SANGHO = 159
+
+wxLANGUAGE_SANSKRIT :: Int
+wxLANGUAGE_SANSKRIT = 160
+
+wxLANGUAGE_SCOTS_GAELIC :: Int
+wxLANGUAGE_SCOTS_GAELIC = 161
+
+wxLANGUAGE_SERBIAN :: Int
+wxLANGUAGE_SERBIAN = 162
+
+wxLANGUAGE_SERBIAN_CYRILLIC :: Int
+wxLANGUAGE_SERBIAN_CYRILLIC = 163
+
+wxLANGUAGE_SERBIAN_LATIN :: Int
+wxLANGUAGE_SERBIAN_LATIN = 164
+
+wxLANGUAGE_SERBO_CROATIAN :: Int
+wxLANGUAGE_SERBO_CROATIAN = 165
+
+wxLANGUAGE_SESOTHO :: Int
+wxLANGUAGE_SESOTHO = 166
+
+wxLANGUAGE_SETSWANA :: Int
+wxLANGUAGE_SETSWANA = 167
+
+wxLANGUAGE_SHONA :: Int
+wxLANGUAGE_SHONA = 168
+
+wxLANGUAGE_SINDHI :: Int
+wxLANGUAGE_SINDHI = 169
+
+wxLANGUAGE_SINHALESE :: Int
+wxLANGUAGE_SINHALESE = 170
+
+wxLANGUAGE_SISWATI :: Int
+wxLANGUAGE_SISWATI = 171
+
+wxLANGUAGE_SLOVAK :: Int
+wxLANGUAGE_SLOVAK = 172
+
+wxLANGUAGE_SLOVENIAN :: Int
+wxLANGUAGE_SLOVENIAN = 173
+
+wxLANGUAGE_SOMALI :: Int
+wxLANGUAGE_SOMALI = 174
+
+wxLANGUAGE_SPANISH :: Int
+wxLANGUAGE_SPANISH = 175
+
+wxLANGUAGE_SPANISH_ARGENTINA :: Int
+wxLANGUAGE_SPANISH_ARGENTINA = 176
+
+wxLANGUAGE_SPANISH_BOLIVIA :: Int
+wxLANGUAGE_SPANISH_BOLIVIA = 177
+
+wxLANGUAGE_SPANISH_CHILE :: Int
+wxLANGUAGE_SPANISH_CHILE = 178
+
+wxLANGUAGE_SPANISH_COLOMBIA :: Int
+wxLANGUAGE_SPANISH_COLOMBIA = 179
+
+wxLANGUAGE_SPANISH_COSTA_RICA :: Int
+wxLANGUAGE_SPANISH_COSTA_RICA = 180
+
+wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC :: Int
+wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC = 181
+
+wxLANGUAGE_SPANISH_ECUADOR :: Int
+wxLANGUAGE_SPANISH_ECUADOR = 182
+
+wxLANGUAGE_SPANISH_EL_SALVADOR :: Int
+wxLANGUAGE_SPANISH_EL_SALVADOR = 183
+
+wxLANGUAGE_SPANISH_GUATEMALA :: Int
+wxLANGUAGE_SPANISH_GUATEMALA = 184
+
+wxLANGUAGE_SPANISH_HONDURAS :: Int
+wxLANGUAGE_SPANISH_HONDURAS = 185
+
+wxLANGUAGE_SPANISH_MEXICAN :: Int
+wxLANGUAGE_SPANISH_MEXICAN = 186
+
+wxLANGUAGE_SPANISH_MODERN :: Int
+wxLANGUAGE_SPANISH_MODERN = 187
+
+wxLANGUAGE_SPANISH_NICARAGUA :: Int
+wxLANGUAGE_SPANISH_NICARAGUA = 188
+
+wxLANGUAGE_SPANISH_PANAMA :: Int
+wxLANGUAGE_SPANISH_PANAMA = 189
+
+wxLANGUAGE_SPANISH_PARAGUAY :: Int
+wxLANGUAGE_SPANISH_PARAGUAY = 190
+
+wxLANGUAGE_SPANISH_PERU :: Int
+wxLANGUAGE_SPANISH_PERU = 191
+
+wxLANGUAGE_SPANISH_PUERTO_RICO :: Int
+wxLANGUAGE_SPANISH_PUERTO_RICO = 192
+
+wxLANGUAGE_SPANISH_URUGUAY :: Int
+wxLANGUAGE_SPANISH_URUGUAY = 193
+
+wxLANGUAGE_SPANISH_US :: Int
+wxLANGUAGE_SPANISH_US = 194
+
+wxLANGUAGE_SPANISH_VENEZUELA :: Int
+wxLANGUAGE_SPANISH_VENEZUELA = 195
+
+wxLANGUAGE_SUNDANESE :: Int
+wxLANGUAGE_SUNDANESE = 196
+
+wxLANGUAGE_SWAHILI :: Int
+wxLANGUAGE_SWAHILI = 197
+
+wxLANGUAGE_SWEDISH :: Int
+wxLANGUAGE_SWEDISH = 198
+
+wxLANGUAGE_SWEDISH_FINLAND :: Int
+wxLANGUAGE_SWEDISH_FINLAND = 199
+
+wxLANGUAGE_TAGALOG :: Int
+wxLANGUAGE_TAGALOG = 200
+
+wxLANGUAGE_TAJIK :: Int
+wxLANGUAGE_TAJIK = 201
+
+wxLANGUAGE_TAMIL :: Int
+wxLANGUAGE_TAMIL = 202
+
+wxLANGUAGE_TATAR :: Int
+wxLANGUAGE_TATAR = 203
+
+wxLANGUAGE_TELUGU :: Int
+wxLANGUAGE_TELUGU = 204
+
+wxLANGUAGE_THAI :: Int
+wxLANGUAGE_THAI = 205
+
+wxLANGUAGE_TIBETAN :: Int
+wxLANGUAGE_TIBETAN = 206
+
+wxLANGUAGE_TIGRINYA :: Int
+wxLANGUAGE_TIGRINYA = 207
+
+wxLANGUAGE_TONGA :: Int
+wxLANGUAGE_TONGA = 208
+
+wxLANGUAGE_TSONGA :: Int
+wxLANGUAGE_TSONGA = 209
+
+wxLANGUAGE_TURKISH :: Int
+wxLANGUAGE_TURKISH = 210
+
+wxLANGUAGE_TURKMEN :: Int
+wxLANGUAGE_TURKMEN = 211
+
+wxLANGUAGE_TWI :: Int
+wxLANGUAGE_TWI = 212
+
+wxLANGUAGE_UIGHUR :: Int
+wxLANGUAGE_UIGHUR = 213
+
+wxLANGUAGE_UKRAINIAN :: Int
+wxLANGUAGE_UKRAINIAN = 214
+
+wxLANGUAGE_URDU :: Int
+wxLANGUAGE_URDU = 215
+
+wxLANGUAGE_URDU_INDIA :: Int
+wxLANGUAGE_URDU_INDIA = 216
+
+wxLANGUAGE_URDU_PAKISTAN :: Int
+wxLANGUAGE_URDU_PAKISTAN = 217
+
+wxLANGUAGE_UZBEK :: Int
+wxLANGUAGE_UZBEK = 218
+
+wxLANGUAGE_UZBEK_CYRILLIC :: Int
+wxLANGUAGE_UZBEK_CYRILLIC = 219
+
+wxLANGUAGE_UZBEK_LATIN :: Int
+wxLANGUAGE_UZBEK_LATIN = 220
+
+wxLANGUAGE_VIETNAMESE :: Int
+wxLANGUAGE_VIETNAMESE = 221
+
+wxLANGUAGE_VOLAPUK :: Int
+wxLANGUAGE_VOLAPUK = 222
+
+wxLANGUAGE_WELSH :: Int
+wxLANGUAGE_WELSH = 223
+
+wxLANGUAGE_WOLOF :: Int
+wxLANGUAGE_WOLOF = 224
+
+wxLANGUAGE_XHOSA :: Int
+wxLANGUAGE_XHOSA = 225
+
+wxLANGUAGE_YIDDISH :: Int
+wxLANGUAGE_YIDDISH = 226
+
+wxLANGUAGE_YORUBA :: Int
+wxLANGUAGE_YORUBA = 227
+
+wxLANGUAGE_ZHUANG :: Int
+wxLANGUAGE_ZHUANG = 228
+
+wxLANGUAGE_ZULU :: Int
+wxLANGUAGE_ZULU = 229
+
+wxLANGUAGE_USER_DEFINE :: Int
+wxLANGUAGE_USER_DEFINE = 230
+
+wxLOCALE_THOUSANDS_SEP :: Int
+wxLOCALE_THOUSANDS_SEP = 0
+
+wxLOCALE_DECIMAL_POINT :: Int
+wxLOCALE_DECIMAL_POINT = 1
+
+wxLOCALE_LOAD_DEFAULT :: Int
+wxLOCALE_LOAD_DEFAULT = 1
+
+wxLOCALE_CONV_ENCODING :: Int
+wxLOCALE_CONV_ENCODING = 2
+
+wxSTC_INVALID_POSITION :: Int
+wxSTC_INVALID_POSITION = (-1)
+
+wxSTC_START :: Int
+wxSTC_START = 2000
+
+wxSTC_OPTIONAL_START :: Int
+wxSTC_OPTIONAL_START = 3000
+
+wxSTC_LEXER_START :: Int
+wxSTC_LEXER_START = 4000
+
+wxSTC_WS_INVISIBLE :: Int
+wxSTC_WS_INVISIBLE = 0
+
+wxSTC_WS_VISIBLEALWAYS :: Int
+wxSTC_WS_VISIBLEALWAYS = 1
+
+wxSTC_WS_VISIBLEAFTERINDENT :: Int
+wxSTC_WS_VISIBLEAFTERINDENT = 2
+
+wxSTC_EOL_CRLF :: Int
+wxSTC_EOL_CRLF = 0
+
+wxSTC_EOL_CR :: Int
+wxSTC_EOL_CR = 1
+
+wxSTC_EOL_LF :: Int
+wxSTC_EOL_LF = 2
+
+wxSTC_CP_UTF8 :: Int
+wxSTC_CP_UTF8 = 65001
+
+wxSTC_CP_DBCS :: Int
+wxSTC_CP_DBCS = 1
+
+wxSTC_MARKER_MAX :: Int
+wxSTC_MARKER_MAX = 31
+
+wxSTC_MARK_CIRCLE :: Int
+wxSTC_MARK_CIRCLE = 0
+
+wxSTC_MARK_ROUNDRECT :: Int
+wxSTC_MARK_ROUNDRECT = 1
+
+wxSTC_MARK_ARROW :: Int
+wxSTC_MARK_ARROW = 2
+
+wxSTC_MARK_SMALLRECT :: Int
+wxSTC_MARK_SMALLRECT = 3
+
+wxSTC_MARK_SHORTARROW :: Int
+wxSTC_MARK_SHORTARROW = 4
+
+wxSTC_MARK_EMPTY :: Int
+wxSTC_MARK_EMPTY = 5
+
+wxSTC_MARK_ARROWDOWN :: Int
+wxSTC_MARK_ARROWDOWN = 6
+
+wxSTC_MARK_MINUS :: Int
+wxSTC_MARK_MINUS = 7
+
+wxSTC_MARK_PLUS :: Int
+wxSTC_MARK_PLUS = 8
+
+wxSTC_MARK_VLINE :: Int
+wxSTC_MARK_VLINE = 9
+
+wxSTC_MARK_LCORNER :: Int
+wxSTC_MARK_LCORNER = 10
+
+wxSTC_MARK_TCORNER :: Int
+wxSTC_MARK_TCORNER = 11
+
+wxSTC_MARK_BOXPLUS :: Int
+wxSTC_MARK_BOXPLUS = 12
+
+wxSTC_MARK_BOXPLUSCONNECTED :: Int
+wxSTC_MARK_BOXPLUSCONNECTED = 13
+
+wxSTC_MARK_BOXMINUS :: Int
+wxSTC_MARK_BOXMINUS = 14
+
+wxSTC_MARK_BOXMINUSCONNECTED :: Int
+wxSTC_MARK_BOXMINUSCONNECTED = 15
+
+wxSTC_MARK_LCORNERCURVE :: Int
+wxSTC_MARK_LCORNERCURVE = 16
+
+wxSTC_MARK_TCORNERCURVE :: Int
+wxSTC_MARK_TCORNERCURVE = 17
+
+wxSTC_MARK_CIRCLEPLUS :: Int
+wxSTC_MARK_CIRCLEPLUS = 18
+
+wxSTC_MARK_CIRCLEPLUSCONNECTED :: Int
+wxSTC_MARK_CIRCLEPLUSCONNECTED = 19
+
+wxSTC_MARK_CIRCLEMINUS :: Int
+wxSTC_MARK_CIRCLEMINUS = 20
+
+wxSTC_MARK_CIRCLEMINUSCONNECTED :: Int
+wxSTC_MARK_CIRCLEMINUSCONNECTED = 21
+
+wxSTC_MARK_BACKGROUND :: Int
+wxSTC_MARK_BACKGROUND = 22
+
+wxSTC_MARK_DOTDOTDOT :: Int
+wxSTC_MARK_DOTDOTDOT = 23
+
+wxSTC_MARK_ARROWS :: Int
+wxSTC_MARK_ARROWS = 24
+
+wxSTC_MARK_PIXMAP :: Int
+wxSTC_MARK_PIXMAP = 25
+
+wxSTC_MARK_CHARACTER :: Int
+wxSTC_MARK_CHARACTER = 10000
+
+wxSTC_MARKNUM_FOLDEREND :: Int
+wxSTC_MARKNUM_FOLDEREND = 25
+
+wxSTC_MARKNUM_FOLDEROPENMID :: Int
+wxSTC_MARKNUM_FOLDEROPENMID = 26
+
+wxSTC_MARKNUM_FOLDERMIDTAIL :: Int
+wxSTC_MARKNUM_FOLDERMIDTAIL = 27
+
+wxSTC_MARKNUM_FOLDERTAIL :: Int
+wxSTC_MARKNUM_FOLDERTAIL = 28
+
+wxSTC_MARKNUM_FOLDERSUB :: Int
+wxSTC_MARKNUM_FOLDERSUB = 29
+
+wxSTC_MARKNUM_FOLDER :: Int
+wxSTC_MARKNUM_FOLDER = 30
+
+wxSTC_MARKNUM_FOLDEROPEN :: Int
+wxSTC_MARKNUM_FOLDEROPEN = 31
+
+wxSTC_MASK_FOLDERS :: Int
+wxSTC_MASK_FOLDERS = (-33554432)
+
+wxSTC_MARGIN_SYMBOL :: Int
+wxSTC_MARGIN_SYMBOL = 0
+
+wxSTC_MARGIN_NUMBER :: Int
+wxSTC_MARGIN_NUMBER = 1
+
+wxSTC_STYLE_DEFAULT :: Int
+wxSTC_STYLE_DEFAULT = 32
+
+wxSTC_STYLE_LINENUMBER :: Int
+wxSTC_STYLE_LINENUMBER = 33
+
+wxSTC_STYLE_BRACELIGHT :: Int
+wxSTC_STYLE_BRACELIGHT = 34
+
+wxSTC_STYLE_BRACEBAD :: Int
+wxSTC_STYLE_BRACEBAD = 35
+
+wxSTC_STYLE_CONTROLCHAR :: Int
+wxSTC_STYLE_CONTROLCHAR = 36
+
+wxSTC_STYLE_INDENTGUIDE :: Int
+wxSTC_STYLE_INDENTGUIDE = 37
+
+wxSTC_STYLE_LASTPREDEFINED :: Int
+wxSTC_STYLE_LASTPREDEFINED = 39
+
+wxSTC_STYLE_MAX :: Int
+wxSTC_STYLE_MAX = 127
+
+wxSTC_CHARSET_ANSI :: Int
+wxSTC_CHARSET_ANSI = 0
+
+wxSTC_CHARSET_DEFAULT :: Int
+wxSTC_CHARSET_DEFAULT = 1
+
+wxSTC_CHARSET_BALTIC :: Int
+wxSTC_CHARSET_BALTIC = 186
+
+wxSTC_CHARSET_CHINESEBIG5 :: Int
+wxSTC_CHARSET_CHINESEBIG5 = 136
+
+wxSTC_CHARSET_EASTEUROPE :: Int
+wxSTC_CHARSET_EASTEUROPE = 238
+
+wxSTC_CHARSET_GB2312 :: Int
+wxSTC_CHARSET_GB2312 = 134
+
+wxSTC_CHARSET_GREEK :: Int
+wxSTC_CHARSET_GREEK = 161
+
+wxSTC_CHARSET_HANGUL :: Int
+wxSTC_CHARSET_HANGUL = 129
+
+wxSTC_CHARSET_MAC :: Int
+wxSTC_CHARSET_MAC = 77
+
+wxSTC_CHARSET_OEM :: Int
+wxSTC_CHARSET_OEM = 255
+
+wxSTC_CHARSET_RUSSIAN :: Int
+wxSTC_CHARSET_RUSSIAN = 204
+
+wxSTC_CHARSET_SHIFTJIS :: Int
+wxSTC_CHARSET_SHIFTJIS = 128
+
+wxSTC_CHARSET_SYMBOL :: Int
+wxSTC_CHARSET_SYMBOL = 2
+
+wxSTC_CHARSET_TURKISH :: Int
+wxSTC_CHARSET_TURKISH = 162
+
+wxSTC_CHARSET_JOHAB :: Int
+wxSTC_CHARSET_JOHAB = 130
+
+wxSTC_CHARSET_HEBREW :: Int
+wxSTC_CHARSET_HEBREW = 177
+
+wxSTC_CHARSET_ARABIC :: Int
+wxSTC_CHARSET_ARABIC = 178
+
+wxSTC_CHARSET_VIETNAMESE :: Int
+wxSTC_CHARSET_VIETNAMESE = 163
+
+wxSTC_CHARSET_THAI :: Int
+wxSTC_CHARSET_THAI = 222
+
+wxSTC_CASE_MIXED :: Int
+wxSTC_CASE_MIXED = 0
+
+wxSTC_CASE_UPPER :: Int
+wxSTC_CASE_UPPER = 1
+
+wxSTC_CASE_LOWER :: Int
+wxSTC_CASE_LOWER = 2
+
+wxSTC_INDIC_MAX :: Int
+wxSTC_INDIC_MAX = 7
+
+wxSTC_INDIC_PLAIN :: Int
+wxSTC_INDIC_PLAIN = 0
+
+wxSTC_INDIC_SQUIGGLE :: Int
+wxSTC_INDIC_SQUIGGLE = 1
+
+wxSTC_INDIC_TT :: Int
+wxSTC_INDIC_TT = 2
+
+wxSTC_INDIC_DIAGONAL :: Int
+wxSTC_INDIC_DIAGONAL = 3
+
+wxSTC_INDIC_STRIKE :: Int
+wxSTC_INDIC_STRIKE = 4
+
+wxSTC_INDIC_HIDDEN :: Int
+wxSTC_INDIC_HIDDEN = 5
+
+wxSTC_INDIC0_MASK :: Int
+wxSTC_INDIC0_MASK = 32
+
+wxSTC_INDIC1_MASK :: Int
+wxSTC_INDIC1_MASK = 64
+
+wxSTC_INDIC2_MASK :: Int
+wxSTC_INDIC2_MASK = 128
+
+wxSTC_INDICS_MASK :: Int
+wxSTC_INDICS_MASK = 224
+
+wxSTC_PRINT_NORMAL :: Int
+wxSTC_PRINT_NORMAL = 0
+
+wxSTC_PRINT_INVERTLIGHT :: Int
+wxSTC_PRINT_INVERTLIGHT = 1
+
+wxSTC_PRINT_BLACKONWHITE :: Int
+wxSTC_PRINT_BLACKONWHITE = 2
+
+wxSTC_PRINT_COLOURONWHITE :: Int
+wxSTC_PRINT_COLOURONWHITE = 3
+
+wxSTC_PRINT_COLOURONWHITEDEFAULTBG :: Int
+wxSTC_PRINT_COLOURONWHITEDEFAULTBG = 4
+
+wxSTC_FIND_WHOLEWORD :: Int
+wxSTC_FIND_WHOLEWORD = 2
+
+wxSTC_FIND_MATCHCASE :: Int
+wxSTC_FIND_MATCHCASE = 4
+
+wxSTC_FIND_WORDSTART :: Int
+wxSTC_FIND_WORDSTART = 1048576
+
+wxSTC_FIND_REGEXP :: Int
+wxSTC_FIND_REGEXP = 2097152
+
+wxSTC_FIND_POSIX :: Int
+wxSTC_FIND_POSIX = 4194304
+
+wxSTC_FOLDLEVELBASE :: Int
+wxSTC_FOLDLEVELBASE = 1024
+
+wxSTC_FOLDLEVELWHITEFLAG :: Int
+wxSTC_FOLDLEVELWHITEFLAG = 4096
+
+wxSTC_FOLDLEVELHEADERFLAG :: Int
+wxSTC_FOLDLEVELHEADERFLAG = 8192
+
+wxSTC_FOLDLEVELBOXHEADERFLAG :: Int
+wxSTC_FOLDLEVELBOXHEADERFLAG = 16384
+
+wxSTC_FOLDLEVELBOXFOOTERFLAG :: Int
+wxSTC_FOLDLEVELBOXFOOTERFLAG = 32768
+
+wxSTC_FOLDLEVELCONTRACTED :: Int
+wxSTC_FOLDLEVELCONTRACTED = 65536
+
+wxSTC_FOLDLEVELUNINDENT :: Int
+wxSTC_FOLDLEVELUNINDENT = 131072
+
+wxSTC_FOLDLEVELNUMBERMASK :: Int
+wxSTC_FOLDLEVELNUMBERMASK = 4095
+
+wxSTC_FOLDFLAG_LINEBEFORE_EXPANDED :: Int
+wxSTC_FOLDFLAG_LINEBEFORE_EXPANDED = 2
+
+wxSTC_FOLDFLAG_LINEBEFORE_CONTRACTED :: Int
+wxSTC_FOLDFLAG_LINEBEFORE_CONTRACTED = 4
+
+wxSTC_FOLDFLAG_LINEAFTER_EXPANDED :: Int
+wxSTC_FOLDFLAG_LINEAFTER_EXPANDED = 8
+
+wxSTC_FOLDFLAG_LINEAFTER_CONTRACTED :: Int
+wxSTC_FOLDFLAG_LINEAFTER_CONTRACTED = 16
+
+wxSTC_FOLDFLAG_LEVELNUMBERS :: Int
+wxSTC_FOLDFLAG_LEVELNUMBERS = 64
+
+wxSTC_FOLDFLAG_BOX :: Int
+wxSTC_FOLDFLAG_BOX = 1
+
+wxSTC_TIME_FOREVER :: Int
+wxSTC_TIME_FOREVER = 10000000
+
+wxSTC_WRAP_NONE :: Int
+wxSTC_WRAP_NONE = 0
+
+wxSTC_WRAP_WORD :: Int
+wxSTC_WRAP_WORD = 1
+
+wxSTC_CACHE_NONE :: Int
+wxSTC_CACHE_NONE = 0
+
+wxSTC_CACHE_CARET :: Int
+wxSTC_CACHE_CARET = 1
+
+wxSTC_CACHE_PAGE :: Int
+wxSTC_CACHE_PAGE = 2
+
+wxSTC_CACHE_DOCUMENT :: Int
+wxSTC_CACHE_DOCUMENT = 3
+
+wxSTC_EDGE_NONE :: Int
+wxSTC_EDGE_NONE = 0
+
+wxSTC_EDGE_LINE :: Int
+wxSTC_EDGE_LINE = 1
+
+wxSTC_EDGE_BACKGROUND :: Int
+wxSTC_EDGE_BACKGROUND = 2
+
+wxSTC_CURSORNORMAL :: Int
+wxSTC_CURSORNORMAL = (-1)
+
+wxSTC_CURSORWAIT :: Int
+wxSTC_CURSORWAIT = 4
+
+wxSTC_VISIBLE_SLOP :: Int
+wxSTC_VISIBLE_SLOP = 1
+
+wxSTC_VISIBLE_STRICT :: Int
+wxSTC_VISIBLE_STRICT = 4
+
+wxSTC_CARET_SLOP :: Int
+wxSTC_CARET_SLOP = 1
+
+wxSTC_CARET_STRICT :: Int
+wxSTC_CARET_STRICT = 4
+
+wxSTC_CARET_JUMPS :: Int
+wxSTC_CARET_JUMPS = 16
+
+wxSTC_CARET_EVEN :: Int
+wxSTC_CARET_EVEN = 8
+
+wxSTC_SEL_STREAM :: Int
+wxSTC_SEL_STREAM = 0
+
+wxSTC_SEL_RECTANGLE :: Int
+wxSTC_SEL_RECTANGLE = 1
+
+wxSTC_SEL_LINES :: Int
+wxSTC_SEL_LINES = 2
+
+wxSTC_KEYWORDSET_MAX :: Int
+wxSTC_KEYWORDSET_MAX = 8
+
+wxSTC_MOD_INSERTTEXT :: Int
+wxSTC_MOD_INSERTTEXT = 1
+
+wxSTC_MOD_DELETETEXT :: Int
+wxSTC_MOD_DELETETEXT = 2
+
+wxSTC_MOD_CHANGESTYLE :: Int
+wxSTC_MOD_CHANGESTYLE = 4
+
+wxSTC_MOD_CHANGEFOLD :: Int
+wxSTC_MOD_CHANGEFOLD = 8
+
+wxSTC_PERFORMED_USER :: Int
+wxSTC_PERFORMED_USER = 16
+
+wxSTC_PERFORMED_UNDO :: Int
+wxSTC_PERFORMED_UNDO = 32
+
+wxSTC_PERFORMED_REDO :: Int
+wxSTC_PERFORMED_REDO = 64
+
+wxSTC_LASTSTEPINUNDOREDO :: Int
+wxSTC_LASTSTEPINUNDOREDO = 256
+
+wxSTC_MOD_CHANGEMARKER :: Int
+wxSTC_MOD_CHANGEMARKER = 512
+
+wxSTC_MOD_BEFOREINSERT :: Int
+wxSTC_MOD_BEFOREINSERT = 1024
+
+wxSTC_MOD_BEFOREDELETE :: Int
+wxSTC_MOD_BEFOREDELETE = 2048
+
+wxSTC_MODEVENTMASKALL :: Int
+wxSTC_MODEVENTMASKALL = 3959
+
+wxSTC_KEY_DOWN :: Int
+wxSTC_KEY_DOWN = 300
+
+wxSTC_KEY_UP :: Int
+wxSTC_KEY_UP = 301
+
+wxSTC_KEY_LEFT :: Int
+wxSTC_KEY_LEFT = 302
+
+wxSTC_KEY_RIGHT :: Int
+wxSTC_KEY_RIGHT = 303
+
+wxSTC_KEY_HOME :: Int
+wxSTC_KEY_HOME = 304
+
+wxSTC_KEY_END :: Int
+wxSTC_KEY_END = 305
+
+wxSTC_KEY_PRIOR :: Int
+wxSTC_KEY_PRIOR = 306
+
+wxSTC_KEY_NEXT :: Int
+wxSTC_KEY_NEXT = 307
+
+wxSTC_KEY_DELETE :: Int
+wxSTC_KEY_DELETE = 308
+
+wxSTC_KEY_INSERT :: Int
+wxSTC_KEY_INSERT = 309
+
+wxSTC_KEY_ESCAPE :: Int
+wxSTC_KEY_ESCAPE = 7
+
+wxSTC_KEY_BACK :: Int
+wxSTC_KEY_BACK = 8
+
+wxSTC_KEY_TAB :: Int
+wxSTC_KEY_TAB = 9
+
+wxSTC_KEY_RETURN :: Int
+wxSTC_KEY_RETURN = 13
+
+wxSTC_KEY_ADD :: Int
+wxSTC_KEY_ADD = 310
+
+wxSTC_KEY_SUBTRACT :: Int
+wxSTC_KEY_SUBTRACT = 311
+
+wxSTC_KEY_DIVIDE :: Int
+wxSTC_KEY_DIVIDE = 312
+
+wxSTC_SCMOD_SHIFT :: Int
+wxSTC_SCMOD_SHIFT = 1
+
+wxSTC_SCMOD_CTRL :: Int
+wxSTC_SCMOD_CTRL = 2
+
+wxSTC_SCMOD_ALT :: Int
+wxSTC_SCMOD_ALT = 4
+
+wxSTC_LEX_CONTAINER :: Int
+wxSTC_LEX_CONTAINER = 0
+
+wxSTC_LEX_NULL :: Int
+wxSTC_LEX_NULL = 1
+
+wxSTC_LEX_PYTHON :: Int
+wxSTC_LEX_PYTHON = 2
+
+wxSTC_LEX_CPP :: Int
+wxSTC_LEX_CPP = 3
+
+wxSTC_LEX_HTML :: Int
+wxSTC_LEX_HTML = 4
+
+wxSTC_LEX_XML :: Int
+wxSTC_LEX_XML = 5
+
+wxSTC_LEX_PERL :: Int
+wxSTC_LEX_PERL = 6
+
+wxSTC_LEX_SQL :: Int
+wxSTC_LEX_SQL = 7
+
+wxSTC_LEX_VB :: Int
+wxSTC_LEX_VB = 8
+
+wxSTC_LEX_PROPERTIES :: Int
+wxSTC_LEX_PROPERTIES = 9
+
+wxSTC_LEX_ERRORLIST :: Int
+wxSTC_LEX_ERRORLIST = 10
+
+wxSTC_LEX_MAKEFILE :: Int
+wxSTC_LEX_MAKEFILE = 11
+
+wxSTC_LEX_BATCH :: Int
+wxSTC_LEX_BATCH = 12
+
+wxSTC_LEX_XCODE :: Int
+wxSTC_LEX_XCODE = 13
+
+wxSTC_LEX_LATEX :: Int
+wxSTC_LEX_LATEX = 14
+
+wxSTC_LEX_LUA :: Int
+wxSTC_LEX_LUA = 15
+
+wxSTC_LEX_DIFF :: Int
+wxSTC_LEX_DIFF = 16
+
+wxSTC_LEX_CONF :: Int
+wxSTC_LEX_CONF = 17
+
+wxSTC_LEX_PASCAL :: Int
+wxSTC_LEX_PASCAL = 18
+
+wxSTC_LEX_AVE :: Int
+wxSTC_LEX_AVE = 19
+
+wxSTC_LEX_ADA :: Int
+wxSTC_LEX_ADA = 20
+
+wxSTC_LEX_LISP :: Int
+wxSTC_LEX_LISP = 21
+
+wxSTC_LEX_RUBY :: Int
+wxSTC_LEX_RUBY = 22
+
+wxSTC_LEX_EIFFEL :: Int
+wxSTC_LEX_EIFFEL = 23
+
+wxSTC_LEX_EIFFELKW :: Int
+wxSTC_LEX_EIFFELKW = 24
+
+wxSTC_LEX_TCL :: Int
+wxSTC_LEX_TCL = 25
+
+wxSTC_LEX_NNCRONTAB :: Int
+wxSTC_LEX_NNCRONTAB = 26
+
+wxSTC_LEX_BULLANT :: Int
+wxSTC_LEX_BULLANT = 27
+
+wxSTC_LEX_VBSCRIPT :: Int
+wxSTC_LEX_VBSCRIPT = 28
+
+wxSTC_LEX_ASP :: Int
+wxSTC_LEX_ASP = 29
+
+wxSTC_LEX_PHP :: Int
+wxSTC_LEX_PHP = 30
+
+wxSTC_LEX_BAAN :: Int
+wxSTC_LEX_BAAN = 31
+
+wxSTC_LEX_MATLAB :: Int
+wxSTC_LEX_MATLAB = 32
+
+wxSTC_LEX_SCRIPTOL :: Int
+wxSTC_LEX_SCRIPTOL = 33
+
+wxSTC_LEX_ASM :: Int
+wxSTC_LEX_ASM = 34
+
+wxSTC_LEX_CPPNOCASE :: Int
+wxSTC_LEX_CPPNOCASE = 35
+
+wxSTC_LEX_FORTRAN :: Int
+wxSTC_LEX_FORTRAN = 36
+
+wxSTC_LEX_F77 :: Int
+wxSTC_LEX_F77 = 37
+
+wxSTC_LEX_CSS :: Int
+wxSTC_LEX_CSS = 38
+
+wxSTC_LEX_POV :: Int
+wxSTC_LEX_POV = 39
+
+wxSTC_LEX_LOUT :: Int
+wxSTC_LEX_LOUT = 40
+
+wxSTC_LEX_ESCRIPT :: Int
+wxSTC_LEX_ESCRIPT = 41
+
+wxSTC_LEX_PS :: Int
+wxSTC_LEX_PS = 42
+
+wxSTC_LEX_NSIS :: Int
+wxSTC_LEX_NSIS = 43
+
+wxSTC_LEX_MMIXAL :: Int
+wxSTC_LEX_MMIXAL = 44
+
+wxSTC_LEX_PHPSCRIPT :: Int
+wxSTC_LEX_PHPSCRIPT = 69
+
+wxSTC_LEX_TADS3 :: Int
+wxSTC_LEX_TADS3 = 70
+
+wxSTC_LEX_REBOL :: Int
+wxSTC_LEX_REBOL = 71
+
+wxSTC_LEX_SMALLTALK :: Int
+wxSTC_LEX_SMALLTALK = 72
+
+wxSTC_LEX_FLAGSHIP :: Int
+wxSTC_LEX_FLAGSHIP = 73
+
+wxSTC_LEX_CSOUND :: Int
+wxSTC_LEX_CSOUND = 74
+
+wxSTC_LEX_FREEBASIC :: Int
+wxSTC_LEX_FREEBASIC = 75
+
+wxSTC_LEX_AUTOMATIC :: Int
+wxSTC_LEX_AUTOMATIC = 1000
+
+wxSTC_LEX_HASKELL :: Int
+wxSTC_LEX_HASKELL = 68
+
+wxSTC_P_DEFAULT :: Int
+wxSTC_P_DEFAULT = 0
+
+wxSTC_P_COMMENTLINE :: Int
+wxSTC_P_COMMENTLINE = 1
+
+wxSTC_P_NUMBER :: Int
+wxSTC_P_NUMBER = 2
+
+wxSTC_P_STRING :: Int
+wxSTC_P_STRING = 3
+
+wxSTC_P_CHARACTER :: Int
+wxSTC_P_CHARACTER = 4
+
+wxSTC_P_WORD :: Int
+wxSTC_P_WORD = 5
+
+wxSTC_P_TRIPLE :: Int
+wxSTC_P_TRIPLE = 6
+
+wxSTC_P_TRIPLEDOUBLE :: Int
+wxSTC_P_TRIPLEDOUBLE = 7
+
+wxSTC_P_CLASSNAME :: Int
+wxSTC_P_CLASSNAME = 8
+
+wxSTC_P_DEFNAME :: Int
+wxSTC_P_DEFNAME = 9
+
+wxSTC_P_OPERATOR :: Int
+wxSTC_P_OPERATOR = 10
+
+wxSTC_P_IDENTIFIER :: Int
+wxSTC_P_IDENTIFIER = 11
+
+wxSTC_P_COMMENTBLOCK :: Int
+wxSTC_P_COMMENTBLOCK = 12
+
+wxSTC_P_STRINGEOL :: Int
+wxSTC_P_STRINGEOL = 13
+
+wxSTC_C_DEFAULT :: Int
+wxSTC_C_DEFAULT = 0
+
+wxSTC_C_COMMENT :: Int
+wxSTC_C_COMMENT = 1
+
+wxSTC_C_COMMENTLINE :: Int
+wxSTC_C_COMMENTLINE = 2
+
+wxSTC_C_COMMENTDOC :: Int
+wxSTC_C_COMMENTDOC = 3
+
+wxSTC_C_NUMBER :: Int
+wxSTC_C_NUMBER = 4
+
+wxSTC_C_WORD :: Int
+wxSTC_C_WORD = 5
+
+wxSTC_C_STRING :: Int
+wxSTC_C_STRING = 6
+
+wxSTC_C_CHARACTER :: Int
+wxSTC_C_CHARACTER = 7
+
+wxSTC_C_UUID :: Int
+wxSTC_C_UUID = 8
+
+wxSTC_C_PREPROCESSOR :: Int
+wxSTC_C_PREPROCESSOR = 9
+
+wxSTC_C_OPERATOR :: Int
+wxSTC_C_OPERATOR = 10
+
+wxSTC_C_IDENTIFIER :: Int
+wxSTC_C_IDENTIFIER = 11
+
+wxSTC_C_STRINGEOL :: Int
+wxSTC_C_STRINGEOL = 12
+
+wxSTC_C_VERBATIM :: Int
+wxSTC_C_VERBATIM = 13
+
+wxSTC_C_REGEX :: Int
+wxSTC_C_REGEX = 14
+
+wxSTC_C_COMMENTLINEDOC :: Int
+wxSTC_C_COMMENTLINEDOC = 15
+
+wxSTC_C_WORD2 :: Int
+wxSTC_C_WORD2 = 16
+
+wxSTC_C_COMMENTDOCKEYWORD :: Int
+wxSTC_C_COMMENTDOCKEYWORD = 17
+
+wxSTC_C_COMMENTDOCKEYWORDERROR :: Int
+wxSTC_C_COMMENTDOCKEYWORDERROR = 18
+
+wxSTC_C_GLOBALCLASS :: Int
+wxSTC_C_GLOBALCLASS = 19
+
+wxSTC_H_DEFAULT :: Int
+wxSTC_H_DEFAULT = 0
+
+wxSTC_H_TAG :: Int
+wxSTC_H_TAG = 1
+
+wxSTC_H_TAGUNKNOWN :: Int
+wxSTC_H_TAGUNKNOWN = 2
+
+wxSTC_H_ATTRIBUTE :: Int
+wxSTC_H_ATTRIBUTE = 3
+
+wxSTC_H_ATTRIBUTEUNKNOWN :: Int
+wxSTC_H_ATTRIBUTEUNKNOWN = 4
+
+wxSTC_H_NUMBER :: Int
+wxSTC_H_NUMBER = 5
+
+wxSTC_H_DOUBLESTRING :: Int
+wxSTC_H_DOUBLESTRING = 6
+
+wxSTC_H_SINGLESTRING :: Int
+wxSTC_H_SINGLESTRING = 7
+
+wxSTC_H_OTHER :: Int
+wxSTC_H_OTHER = 8
+
+wxSTC_H_COMMENT :: Int
+wxSTC_H_COMMENT = 9
+
+wxSTC_H_ENTITY :: Int
+wxSTC_H_ENTITY = 10
+
+wxSTC_H_TAGEND :: Int
+wxSTC_H_TAGEND = 11
+
+wxSTC_H_XMLSTART :: Int
+wxSTC_H_XMLSTART = 12
+
+wxSTC_H_XMLEND :: Int
+wxSTC_H_XMLEND = 13
+
+wxSTC_H_SCRIPT :: Int
+wxSTC_H_SCRIPT = 14
+
+wxSTC_H_ASP :: Int
+wxSTC_H_ASP = 15
+
+wxSTC_H_ASPAT :: Int
+wxSTC_H_ASPAT = 16
+
+wxSTC_H_CDATA :: Int
+wxSTC_H_CDATA = 17
+
+wxSTC_H_QUESTION :: Int
+wxSTC_H_QUESTION = 18
+
+wxSTC_H_VALUE :: Int
+wxSTC_H_VALUE = 19
+
+wxSTC_H_XCCOMMENT :: Int
+wxSTC_H_XCCOMMENT = 20
+
+wxSTC_H_SGML_DEFAULT :: Int
+wxSTC_H_SGML_DEFAULT = 21
+
+wxSTC_H_SGML_COMMAND :: Int
+wxSTC_H_SGML_COMMAND = 22
+
+wxSTC_H_SGML_1ST_PARAM :: Int
+wxSTC_H_SGML_1ST_PARAM = 23
+
+wxSTC_H_SGML_DOUBLESTRING :: Int
+wxSTC_H_SGML_DOUBLESTRING = 24
+
+wxSTC_H_SGML_SIMPLESTRING :: Int
+wxSTC_H_SGML_SIMPLESTRING = 25
+
+wxSTC_H_SGML_ERROR :: Int
+wxSTC_H_SGML_ERROR = 26
+
+wxSTC_H_SGML_SPECIAL :: Int
+wxSTC_H_SGML_SPECIAL = 27
+
+wxSTC_H_SGML_ENTITY :: Int
+wxSTC_H_SGML_ENTITY = 28
+
+wxSTC_H_SGML_COMMENT :: Int
+wxSTC_H_SGML_COMMENT = 29
+
+wxSTC_H_SGML_1ST_PARAM_COMMENT :: Int
+wxSTC_H_SGML_1ST_PARAM_COMMENT = 30
+
+wxSTC_H_SGML_BLOCK_DEFAULT :: Int
+wxSTC_H_SGML_BLOCK_DEFAULT = 31
+
+wxSTC_HA_DEFAULT :: Int
+wxSTC_HA_DEFAULT = 0
+
+wxSTC_HA_IDENTIFIER :: Int
+wxSTC_HA_IDENTIFIER = 1
+
+wxSTC_HA_KEYWORD :: Int
+wxSTC_HA_KEYWORD = 2
+
+wxSTC_HA_NUMBER :: Int
+wxSTC_HA_NUMBER = 3
+
+wxSTC_HA_STRING :: Int
+wxSTC_HA_STRING = 4
+
+wxSTC_HA_CHARACTER :: Int
+wxSTC_HA_CHARACTER = 5
+
+wxSTC_HA_CLASS :: Int
+wxSTC_HA_CLASS = 6
+
+wxSTC_HA_MODULE :: Int
+wxSTC_HA_MODULE = 7
+
+wxSTC_HA_CAPITAL :: Int
+wxSTC_HA_CAPITAL = 8
+
+wxSTC_HA_DATA :: Int
+wxSTC_HA_DATA = 9
+
+wxSTC_HA_IMPORT :: Int
+wxSTC_HA_IMPORT = 10
+
+wxSTC_HA_OPERATOR :: Int
+wxSTC_HA_OPERATOR = 11
+
+wxSTC_HA_INSTANCE :: Int
+wxSTC_HA_INSTANCE = 12
+
+wxSTC_HA_COMMENTLINE :: Int
+wxSTC_HA_COMMENTLINE = 13
+
+wxSTC_HA_COMMENTBLOCK :: Int
+wxSTC_HA_COMMENTBLOCK = 14
+
+wxSTC_HA_COMMENTBLOCK2 :: Int
+wxSTC_HA_COMMENTBLOCK2 = 15
+
+wxSTC_HA_COMMENTBLOCK3 :: Int
+wxSTC_HA_COMMENTBLOCK3 = 16
+
+wxSTC_HA_PREPROCESSOR :: Int
+wxSTC_HA_PREPROCESSOR = 17
+
+wxSTC_HJ_START :: Int
+wxSTC_HJ_START = 40
+
+wxSTC_HJ_DEFAULT :: Int
+wxSTC_HJ_DEFAULT = 41
+
+wxSTC_HJ_COMMENT :: Int
+wxSTC_HJ_COMMENT = 42
+
+wxSTC_HJ_COMMENTLINE :: Int
+wxSTC_HJ_COMMENTLINE = 43
+
+wxSTC_HJ_COMMENTDOC :: Int
+wxSTC_HJ_COMMENTDOC = 44
+
+wxSTC_HJ_NUMBER :: Int
+wxSTC_HJ_NUMBER = 45
+
+wxSTC_HJ_WORD :: Int
+wxSTC_HJ_WORD = 46
+
+wxSTC_HJ_KEYWORD :: Int
+wxSTC_HJ_KEYWORD = 47
+
+wxSTC_HJ_DOUBLESTRING :: Int
+wxSTC_HJ_DOUBLESTRING = 48
+
+wxSTC_HJ_SINGLESTRING :: Int
+wxSTC_HJ_SINGLESTRING = 49
+
+wxSTC_HJ_SYMBOLS :: Int
+wxSTC_HJ_SYMBOLS = 50
+
+wxSTC_HJ_STRINGEOL :: Int
+wxSTC_HJ_STRINGEOL = 51
+
+wxSTC_HJ_REGEX :: Int
+wxSTC_HJ_REGEX = 52
+
+wxSTC_HJA_START :: Int
+wxSTC_HJA_START = 55
+
+wxSTC_HJA_DEFAULT :: Int
+wxSTC_HJA_DEFAULT = 56
+
+wxSTC_HJA_COMMENT :: Int
+wxSTC_HJA_COMMENT = 57
+
+wxSTC_HJA_COMMENTLINE :: Int
+wxSTC_HJA_COMMENTLINE = 58
+
+wxSTC_HJA_COMMENTDOC :: Int
+wxSTC_HJA_COMMENTDOC = 59
+
+wxSTC_HJA_NUMBER :: Int
+wxSTC_HJA_NUMBER = 60
+
+wxSTC_HJA_WORD :: Int
+wxSTC_HJA_WORD = 61
+
+wxSTC_HJA_KEYWORD :: Int
+wxSTC_HJA_KEYWORD = 62
+
+wxSTC_HJA_DOUBLESTRING :: Int
+wxSTC_HJA_DOUBLESTRING = 63
+
+wxSTC_HJA_SINGLESTRING :: Int
+wxSTC_HJA_SINGLESTRING = 64
+
+wxSTC_HJA_SYMBOLS :: Int
+wxSTC_HJA_SYMBOLS = 65
+
+wxSTC_HJA_STRINGEOL :: Int
+wxSTC_HJA_STRINGEOL = 66
+
+wxSTC_HJA_REGEX :: Int
+wxSTC_HJA_REGEX = 67
+
+wxSTC_HB_START :: Int
+wxSTC_HB_START = 70
+
+wxSTC_HB_DEFAULT :: Int
+wxSTC_HB_DEFAULT = 71
+
+wxSTC_HB_COMMENTLINE :: Int
+wxSTC_HB_COMMENTLINE = 72
+
+wxSTC_HB_NUMBER :: Int
+wxSTC_HB_NUMBER = 73
+
+wxSTC_HB_WORD :: Int
+wxSTC_HB_WORD = 74
+
+wxSTC_HB_STRING :: Int
+wxSTC_HB_STRING = 75
+
+wxSTC_HB_IDENTIFIER :: Int
+wxSTC_HB_IDENTIFIER = 76
+
+wxSTC_HB_STRINGEOL :: Int
+wxSTC_HB_STRINGEOL = 77
+
+wxSTC_HBA_START :: Int
+wxSTC_HBA_START = 80
+
+wxSTC_HBA_DEFAULT :: Int
+wxSTC_HBA_DEFAULT = 81
+
+wxSTC_HBA_COMMENTLINE :: Int
+wxSTC_HBA_COMMENTLINE = 82
+
+wxSTC_HBA_NUMBER :: Int
+wxSTC_HBA_NUMBER = 83
+
+wxSTC_HBA_WORD :: Int
+wxSTC_HBA_WORD = 84
+
+wxSTC_HBA_STRING :: Int
+wxSTC_HBA_STRING = 85
+
+wxSTC_HBA_IDENTIFIER :: Int
+wxSTC_HBA_IDENTIFIER = 86
+
+wxSTC_HBA_STRINGEOL :: Int
+wxSTC_HBA_STRINGEOL = 87
+
+wxSTC_HP_START :: Int
+wxSTC_HP_START = 90
+
+wxSTC_HP_DEFAULT :: Int
+wxSTC_HP_DEFAULT = 91
+
+wxSTC_HP_COMMENTLINE :: Int
+wxSTC_HP_COMMENTLINE = 92
+
+wxSTC_HP_NUMBER :: Int
+wxSTC_HP_NUMBER = 93
+
+wxSTC_HP_STRING :: Int
+wxSTC_HP_STRING = 94
+
+wxSTC_HP_CHARACTER :: Int
+wxSTC_HP_CHARACTER = 95
+
+wxSTC_HP_WORD :: Int
+wxSTC_HP_WORD = 96
+
+wxSTC_HP_TRIPLE :: Int
+wxSTC_HP_TRIPLE = 97
+
+wxSTC_HP_TRIPLEDOUBLE :: Int
+wxSTC_HP_TRIPLEDOUBLE = 98
+
+wxSTC_HP_CLASSNAME :: Int
+wxSTC_HP_CLASSNAME = 99
+
+wxSTC_HP_DEFNAME :: Int
+wxSTC_HP_DEFNAME = 100
+
+wxSTC_HP_OPERATOR :: Int
+wxSTC_HP_OPERATOR = 101
+
+wxSTC_HP_IDENTIFIER :: Int
+wxSTC_HP_IDENTIFIER = 102
+
+wxSTC_HPA_START :: Int
+wxSTC_HPA_START = 105
+
+wxSTC_HPA_DEFAULT :: Int
+wxSTC_HPA_DEFAULT = 106
+
+wxSTC_HPA_COMMENTLINE :: Int
+wxSTC_HPA_COMMENTLINE = 107
+
+wxSTC_HPA_NUMBER :: Int
+wxSTC_HPA_NUMBER = 108
+
+wxSTC_HPA_STRING :: Int
+wxSTC_HPA_STRING = 109
+
+wxSTC_HPA_CHARACTER :: Int
+wxSTC_HPA_CHARACTER = 110
+
+wxSTC_HPA_WORD :: Int
+wxSTC_HPA_WORD = 111
+
+wxSTC_HPA_TRIPLE :: Int
+wxSTC_HPA_TRIPLE = 112
+
+wxSTC_HPA_TRIPLEDOUBLE :: Int
+wxSTC_HPA_TRIPLEDOUBLE = 113
+
+wxSTC_HPA_CLASSNAME :: Int
+wxSTC_HPA_CLASSNAME = 114
+
+wxSTC_HPA_DEFNAME :: Int
+wxSTC_HPA_DEFNAME = 115
+
+wxSTC_HPA_OPERATOR :: Int
+wxSTC_HPA_OPERATOR = 116
+
+wxSTC_HPA_IDENTIFIER :: Int
+wxSTC_HPA_IDENTIFIER = 117
+
+wxSTC_HPHP_DEFAULT :: Int
+wxSTC_HPHP_DEFAULT = 118
+
+wxSTC_HPHP_HSTRING :: Int
+wxSTC_HPHP_HSTRING = 119
+
+wxSTC_HPHP_SIMPLESTRING :: Int
+wxSTC_HPHP_SIMPLESTRING = 120
+
+wxSTC_HPHP_WORD :: Int
+wxSTC_HPHP_WORD = 121
+
+wxSTC_HPHP_NUMBER :: Int
+wxSTC_HPHP_NUMBER = 122
+
+wxSTC_HPHP_VARIABLE :: Int
+wxSTC_HPHP_VARIABLE = 123
+
+wxSTC_HPHP_COMMENT :: Int
+wxSTC_HPHP_COMMENT = 124
+
+wxSTC_HPHP_COMMENTLINE :: Int
+wxSTC_HPHP_COMMENTLINE = 125
+
+wxSTC_HPHP_HSTRING_VARIABLE :: Int
+wxSTC_HPHP_HSTRING_VARIABLE = 126
+
+wxSTC_HPHP_OPERATOR :: Int
+wxSTC_HPHP_OPERATOR = 127
+
+wxSTC_PL_DEFAULT :: Int
+wxSTC_PL_DEFAULT = 0
+
+wxSTC_PL_ERROR :: Int
+wxSTC_PL_ERROR = 1
+
+wxSTC_PL_COMMENTLINE :: Int
+wxSTC_PL_COMMENTLINE = 2
+
+wxSTC_PL_POD :: Int
+wxSTC_PL_POD = 3
+
+wxSTC_PL_NUMBER :: Int
+wxSTC_PL_NUMBER = 4
+
+wxSTC_PL_WORD :: Int
+wxSTC_PL_WORD = 5
+
+wxSTC_PL_STRING :: Int
+wxSTC_PL_STRING = 6
+
+wxSTC_PL_CHARACTER :: Int
+wxSTC_PL_CHARACTER = 7
+
+wxSTC_PL_PUNCTUATION :: Int
+wxSTC_PL_PUNCTUATION = 8
+
+wxSTC_PL_PREPROCESSOR :: Int
+wxSTC_PL_PREPROCESSOR = 9
+
+wxSTC_PL_OPERATOR :: Int
+wxSTC_PL_OPERATOR = 10
+
+wxSTC_PL_IDENTIFIER :: Int
+wxSTC_PL_IDENTIFIER = 11
+
+wxSTC_PL_SCALAR :: Int
+wxSTC_PL_SCALAR = 12
+
+wxSTC_PL_ARRAY :: Int
+wxSTC_PL_ARRAY = 13
+
+wxSTC_PL_HASH :: Int
+wxSTC_PL_HASH = 14
+
+wxSTC_PL_SYMBOLTABLE :: Int
+wxSTC_PL_SYMBOLTABLE = 15
+
+wxSTC_PL_REGEX :: Int
+wxSTC_PL_REGEX = 17
+
+wxSTC_PL_REGSUBST :: Int
+wxSTC_PL_REGSUBST = 18
+
+wxSTC_PL_LONGQUOTE :: Int
+wxSTC_PL_LONGQUOTE = 19
+
+wxSTC_PL_BACKTICKS :: Int
+wxSTC_PL_BACKTICKS = 20
+
+wxSTC_PL_DATASECTION :: Int
+wxSTC_PL_DATASECTION = 21
+
+wxSTC_PL_HERE_DELIM :: Int
+wxSTC_PL_HERE_DELIM = 22
+
+wxSTC_PL_HERE_Q :: Int
+wxSTC_PL_HERE_Q = 23
+
+wxSTC_PL_HERE_QQ :: Int
+wxSTC_PL_HERE_QQ = 24
+
+wxSTC_PL_HERE_QX :: Int
+wxSTC_PL_HERE_QX = 25
+
+wxSTC_PL_STRING_Q :: Int
+wxSTC_PL_STRING_Q = 26
+
+wxSTC_PL_STRING_QQ :: Int
+wxSTC_PL_STRING_QQ = 27
+
+wxSTC_PL_STRING_QX :: Int
+wxSTC_PL_STRING_QX = 28
+
+wxSTC_PL_STRING_QR :: Int
+wxSTC_PL_STRING_QR = 29
+
+wxSTC_PL_STRING_QW :: Int
+wxSTC_PL_STRING_QW = 30
+
+wxSTC_B_DEFAULT :: Int
+wxSTC_B_DEFAULT = 0
+
+wxSTC_B_COMMENT :: Int
+wxSTC_B_COMMENT = 1
+
+wxSTC_B_NUMBER :: Int
+wxSTC_B_NUMBER = 2
+
+wxSTC_B_KEYWORD :: Int
+wxSTC_B_KEYWORD = 3
+
+wxSTC_B_STRING :: Int
+wxSTC_B_STRING = 4
+
+wxSTC_B_PREPROCESSOR :: Int
+wxSTC_B_PREPROCESSOR = 5
+
+wxSTC_B_OPERATOR :: Int
+wxSTC_B_OPERATOR = 6
+
+wxSTC_B_IDENTIFIER :: Int
+wxSTC_B_IDENTIFIER = 7
+
+wxSTC_B_DATE :: Int
+wxSTC_B_DATE = 8
+
+wxSTC_PROPS_DEFAULT :: Int
+wxSTC_PROPS_DEFAULT = 0
+
+wxSTC_PROPS_COMMENT :: Int
+wxSTC_PROPS_COMMENT = 1
+
+wxSTC_PROPS_SECTION :: Int
+wxSTC_PROPS_SECTION = 2
+
+wxSTC_PROPS_ASSIGNMENT :: Int
+wxSTC_PROPS_ASSIGNMENT = 3
+
+wxSTC_PROPS_DEFVAL :: Int
+wxSTC_PROPS_DEFVAL = 4
+
+wxSTC_L_DEFAULT :: Int
+wxSTC_L_DEFAULT = 0
+
+wxSTC_L_COMMAND :: Int
+wxSTC_L_COMMAND = 1
+
+wxSTC_L_TAG :: Int
+wxSTC_L_TAG = 2
+
+wxSTC_L_MATH :: Int
+wxSTC_L_MATH = 3
+
+wxSTC_L_COMMENT :: Int
+wxSTC_L_COMMENT = 4
+
+wxSTC_LUA_DEFAULT :: Int
+wxSTC_LUA_DEFAULT = 0
+
+wxSTC_LUA_COMMENT :: Int
+wxSTC_LUA_COMMENT = 1
+
+wxSTC_LUA_COMMENTLINE :: Int
+wxSTC_LUA_COMMENTLINE = 2
+
+wxSTC_LUA_COMMENTDOC :: Int
+wxSTC_LUA_COMMENTDOC = 3
+
+wxSTC_LUA_NUMBER :: Int
+wxSTC_LUA_NUMBER = 4
+
+wxSTC_LUA_WORD :: Int
+wxSTC_LUA_WORD = 5
+
+wxSTC_LUA_STRING :: Int
+wxSTC_LUA_STRING = 6
+
+wxSTC_LUA_CHARACTER :: Int
+wxSTC_LUA_CHARACTER = 7
+
+wxSTC_LUA_LITERALSTRING :: Int
+wxSTC_LUA_LITERALSTRING = 8
+
+wxSTC_LUA_PREPROCESSOR :: Int
+wxSTC_LUA_PREPROCESSOR = 9
+
+wxSTC_LUA_OPERATOR :: Int
+wxSTC_LUA_OPERATOR = 10
+
+wxSTC_LUA_IDENTIFIER :: Int
+wxSTC_LUA_IDENTIFIER = 11
+
+wxSTC_LUA_STRINGEOL :: Int
+wxSTC_LUA_STRINGEOL = 12
+
+wxSTC_LUA_WORD2 :: Int
+wxSTC_LUA_WORD2 = 13
+
+wxSTC_LUA_WORD3 :: Int
+wxSTC_LUA_WORD3 = 14
+
+wxSTC_LUA_WORD4 :: Int
+wxSTC_LUA_WORD4 = 15
+
+wxSTC_LUA_WORD5 :: Int
+wxSTC_LUA_WORD5 = 16
+
+wxSTC_LUA_WORD6 :: Int
+wxSTC_LUA_WORD6 = 17
+
+wxSTC_LUA_WORD7 :: Int
+wxSTC_LUA_WORD7 = 18
+
+wxSTC_LUA_WORD8 :: Int
+wxSTC_LUA_WORD8 = 19
+
+wxSTC_ERR_DEFAULT :: Int
+wxSTC_ERR_DEFAULT = 0
+
+wxSTC_ERR_PYTHON :: Int
+wxSTC_ERR_PYTHON = 1
+
+wxSTC_ERR_GCC :: Int
+wxSTC_ERR_GCC = 2
+
+wxSTC_ERR_MS :: Int
+wxSTC_ERR_MS = 3
+
+wxSTC_ERR_CMD :: Int
+wxSTC_ERR_CMD = 4
+
+wxSTC_ERR_BORLAND :: Int
+wxSTC_ERR_BORLAND = 5
+
+wxSTC_ERR_PERL :: Int
+wxSTC_ERR_PERL = 6
+
+wxSTC_ERR_NET :: Int
+wxSTC_ERR_NET = 7
+
+wxSTC_ERR_LUA :: Int
+wxSTC_ERR_LUA = 8
+
+wxSTC_ERR_CTAG :: Int
+wxSTC_ERR_CTAG = 9
+
+wxSTC_ERR_DIFF_CHANGED :: Int
+wxSTC_ERR_DIFF_CHANGED = 10
+
+wxSTC_ERR_DIFF_ADDITION :: Int
+wxSTC_ERR_DIFF_ADDITION = 11
+
+wxSTC_ERR_DIFF_DELETION :: Int
+wxSTC_ERR_DIFF_DELETION = 12
+
+wxSTC_ERR_DIFF_MESSAGE :: Int
+wxSTC_ERR_DIFF_MESSAGE = 13
+
+wxSTC_ERR_PHP :: Int
+wxSTC_ERR_PHP = 14
+
+wxSTC_ERR_ELF :: Int
+wxSTC_ERR_ELF = 15
+
+wxSTC_ERR_IFC :: Int
+wxSTC_ERR_IFC = 16
+
+wxSTC_BAT_DEFAULT :: Int
+wxSTC_BAT_DEFAULT = 0
+
+wxSTC_BAT_COMMENT :: Int
+wxSTC_BAT_COMMENT = 1
+
+wxSTC_BAT_WORD :: Int
+wxSTC_BAT_WORD = 2
+
+wxSTC_BAT_LABEL :: Int
+wxSTC_BAT_LABEL = 3
+
+wxSTC_BAT_HIDE :: Int
+wxSTC_BAT_HIDE = 4
+
+wxSTC_BAT_COMMAND :: Int
+wxSTC_BAT_COMMAND = 5
+
+wxSTC_BAT_IDENTIFIER :: Int
+wxSTC_BAT_IDENTIFIER = 6
+
+wxSTC_BAT_OPERATOR :: Int
+wxSTC_BAT_OPERATOR = 7
+
+wxSTC_MAKE_DEFAULT :: Int
+wxSTC_MAKE_DEFAULT = 0
+
+wxSTC_MAKE_COMMENT :: Int
+wxSTC_MAKE_COMMENT = 1
+
+wxSTC_MAKE_PREPROCESSOR :: Int
+wxSTC_MAKE_PREPROCESSOR = 2
+
+wxSTC_MAKE_IDENTIFIER :: Int
+wxSTC_MAKE_IDENTIFIER = 3
+
+wxSTC_MAKE_OPERATOR :: Int
+wxSTC_MAKE_OPERATOR = 4
+
+wxSTC_MAKE_TARGET :: Int
+wxSTC_MAKE_TARGET = 5
+
+wxSTC_MAKE_IDEOL :: Int
+wxSTC_MAKE_IDEOL = 9
+
+wxSTC_DIFF_DEFAULT :: Int
+wxSTC_DIFF_DEFAULT = 0
+
+wxSTC_DIFF_COMMENT :: Int
+wxSTC_DIFF_COMMENT = 1
+
+wxSTC_DIFF_COMMAND :: Int
+wxSTC_DIFF_COMMAND = 2
+
+wxSTC_DIFF_HEADER :: Int
+wxSTC_DIFF_HEADER = 3
+
+wxSTC_DIFF_POSITION :: Int
+wxSTC_DIFF_POSITION = 4
+
+wxSTC_DIFF_DELETED :: Int
+wxSTC_DIFF_DELETED = 5
+
+wxSTC_DIFF_ADDED :: Int
+wxSTC_DIFF_ADDED = 6
+
+wxSTC_CONF_DEFAULT :: Int
+wxSTC_CONF_DEFAULT = 0
+
+wxSTC_CONF_COMMENT :: Int
+wxSTC_CONF_COMMENT = 1
+
+wxSTC_CONF_NUMBER :: Int
+wxSTC_CONF_NUMBER = 2
+
+wxSTC_CONF_IDENTIFIER :: Int
+wxSTC_CONF_IDENTIFIER = 3
+
+wxSTC_CONF_EXTENSION :: Int
+wxSTC_CONF_EXTENSION = 4
+
+wxSTC_CONF_PARAMETER :: Int
+wxSTC_CONF_PARAMETER = 5
+
+wxSTC_CONF_STRING :: Int
+wxSTC_CONF_STRING = 6
+
+wxSTC_CONF_OPERATOR :: Int
+wxSTC_CONF_OPERATOR = 7
+
+wxSTC_CONF_IP :: Int
+wxSTC_CONF_IP = 8
+
+wxSTC_CONF_DIRECTIVE :: Int
+wxSTC_CONF_DIRECTIVE = 9
+
+wxSTC_AVE_DEFAULT :: Int
+wxSTC_AVE_DEFAULT = 0
+
+wxSTC_AVE_COMMENT :: Int
+wxSTC_AVE_COMMENT = 1
+
+wxSTC_AVE_NUMBER :: Int
+wxSTC_AVE_NUMBER = 2
+
+wxSTC_AVE_WORD :: Int
+wxSTC_AVE_WORD = 3
+
+wxSTC_AVE_STRING :: Int
+wxSTC_AVE_STRING = 6
+
+wxSTC_AVE_ENUM :: Int
+wxSTC_AVE_ENUM = 7
+
+wxSTC_AVE_STRINGEOL :: Int
+wxSTC_AVE_STRINGEOL = 8
+
+wxSTC_AVE_IDENTIFIER :: Int
+wxSTC_AVE_IDENTIFIER = 9
+
+wxSTC_AVE_OPERATOR :: Int
+wxSTC_AVE_OPERATOR = 10
+
+wxSTC_AVE_WORD1 :: Int
+wxSTC_AVE_WORD1 = 11
+
+wxSTC_AVE_WORD2 :: Int
+wxSTC_AVE_WORD2 = 12
+
+wxSTC_AVE_WORD3 :: Int
+wxSTC_AVE_WORD3 = 13
+
+wxSTC_AVE_WORD4 :: Int
+wxSTC_AVE_WORD4 = 14
+
+wxSTC_AVE_WORD5 :: Int
+wxSTC_AVE_WORD5 = 15
+
+wxSTC_AVE_WORD6 :: Int
+wxSTC_AVE_WORD6 = 16
+
+wxSTC_ADA_DEFAULT :: Int
+wxSTC_ADA_DEFAULT = 0
+
+wxSTC_ADA_WORD :: Int
+wxSTC_ADA_WORD = 1
+
+wxSTC_ADA_IDENTIFIER :: Int
+wxSTC_ADA_IDENTIFIER = 2
+
+wxSTC_ADA_NUMBER :: Int
+wxSTC_ADA_NUMBER = 3
+
+wxSTC_ADA_DELIMITER :: Int
+wxSTC_ADA_DELIMITER = 4
+
+wxSTC_ADA_CHARACTER :: Int
+wxSTC_ADA_CHARACTER = 5
+
+wxSTC_ADA_CHARACTEREOL :: Int
+wxSTC_ADA_CHARACTEREOL = 6
+
+wxSTC_ADA_STRING :: Int
+wxSTC_ADA_STRING = 7
+
+wxSTC_ADA_STRINGEOL :: Int
+wxSTC_ADA_STRINGEOL = 8
+
+wxSTC_ADA_LABEL :: Int
+wxSTC_ADA_LABEL = 9
+
+wxSTC_ADA_COMMENTLINE :: Int
+wxSTC_ADA_COMMENTLINE = 10
+
+wxSTC_ADA_ILLEGAL :: Int
+wxSTC_ADA_ILLEGAL = 11
+
+wxSTC_BAAN_DEFAULT :: Int
+wxSTC_BAAN_DEFAULT = 0
+
+wxSTC_BAAN_COMMENT :: Int
+wxSTC_BAAN_COMMENT = 1
+
+wxSTC_BAAN_COMMENTDOC :: Int
+wxSTC_BAAN_COMMENTDOC = 2
+
+wxSTC_BAAN_NUMBER :: Int
+wxSTC_BAAN_NUMBER = 3
+
+wxSTC_BAAN_WORD :: Int
+wxSTC_BAAN_WORD = 4
+
+wxSTC_BAAN_STRING :: Int
+wxSTC_BAAN_STRING = 5
+
+wxSTC_BAAN_PREPROCESSOR :: Int
+wxSTC_BAAN_PREPROCESSOR = 6
+
+wxSTC_BAAN_OPERATOR :: Int
+wxSTC_BAAN_OPERATOR = 7
+
+wxSTC_BAAN_IDENTIFIER :: Int
+wxSTC_BAAN_IDENTIFIER = 8
+
+wxSTC_BAAN_STRINGEOL :: Int
+wxSTC_BAAN_STRINGEOL = 9
+
+wxSTC_BAAN_WORD2 :: Int
+wxSTC_BAAN_WORD2 = 10
+
+wxSTC_LISP_DEFAULT :: Int
+wxSTC_LISP_DEFAULT = 0
+
+wxSTC_LISP_COMMENT :: Int
+wxSTC_LISP_COMMENT = 1
+
+wxSTC_LISP_NUMBER :: Int
+wxSTC_LISP_NUMBER = 2
+
+wxSTC_LISP_KEYWORD :: Int
+wxSTC_LISP_KEYWORD = 3
+
+wxSTC_LISP_STRING :: Int
+wxSTC_LISP_STRING = 6
+
+wxSTC_LISP_STRINGEOL :: Int
+wxSTC_LISP_STRINGEOL = 8
+
+wxSTC_LISP_IDENTIFIER :: Int
+wxSTC_LISP_IDENTIFIER = 9
+
+wxSTC_LISP_OPERATOR :: Int
+wxSTC_LISP_OPERATOR = 10
+
+wxSTC_EIFFEL_DEFAULT :: Int
+wxSTC_EIFFEL_DEFAULT = 0
+
+wxSTC_EIFFEL_COMMENTLINE :: Int
+wxSTC_EIFFEL_COMMENTLINE = 1
+
+wxSTC_EIFFEL_NUMBER :: Int
+wxSTC_EIFFEL_NUMBER = 2
+
+wxSTC_EIFFEL_WORD :: Int
+wxSTC_EIFFEL_WORD = 3
+
+wxSTC_EIFFEL_STRING :: Int
+wxSTC_EIFFEL_STRING = 4
+
+wxSTC_EIFFEL_CHARACTER :: Int
+wxSTC_EIFFEL_CHARACTER = 5
+
+wxSTC_EIFFEL_OPERATOR :: Int
+wxSTC_EIFFEL_OPERATOR = 6
+
+wxSTC_EIFFEL_IDENTIFIER :: Int
+wxSTC_EIFFEL_IDENTIFIER = 7
+
+wxSTC_EIFFEL_STRINGEOL :: Int
+wxSTC_EIFFEL_STRINGEOL = 8
+
+wxSTC_NNCRONTAB_DEFAULT :: Int
+wxSTC_NNCRONTAB_DEFAULT = 0
+
+wxSTC_NNCRONTAB_COMMENT :: Int
+wxSTC_NNCRONTAB_COMMENT = 1
+
+wxSTC_NNCRONTAB_TASK :: Int
+wxSTC_NNCRONTAB_TASK = 2
+
+wxSTC_NNCRONTAB_SECTION :: Int
+wxSTC_NNCRONTAB_SECTION = 3
+
+wxSTC_NNCRONTAB_KEYWORD :: Int
+wxSTC_NNCRONTAB_KEYWORD = 4
+
+wxSTC_NNCRONTAB_MODIFIER :: Int
+wxSTC_NNCRONTAB_MODIFIER = 5
+
+wxSTC_NNCRONTAB_ASTERISK :: Int
+wxSTC_NNCRONTAB_ASTERISK = 6
+
+wxSTC_NNCRONTAB_NUMBER :: Int
+wxSTC_NNCRONTAB_NUMBER = 7
+
+wxSTC_NNCRONTAB_STRING :: Int
+wxSTC_NNCRONTAB_STRING = 8
+
+wxSTC_NNCRONTAB_ENVIRONMENT :: Int
+wxSTC_NNCRONTAB_ENVIRONMENT = 9
+
+wxSTC_NNCRONTAB_IDENTIFIER :: Int
+wxSTC_NNCRONTAB_IDENTIFIER = 10
+
+wxSTC_MATLAB_DEFAULT :: Int
+wxSTC_MATLAB_DEFAULT = 0
+
+wxSTC_MATLAB_COMMENT :: Int
+wxSTC_MATLAB_COMMENT = 1
+
+wxSTC_MATLAB_COMMAND :: Int
+wxSTC_MATLAB_COMMAND = 2
+
+wxSTC_MATLAB_NUMBER :: Int
+wxSTC_MATLAB_NUMBER = 3
+
+wxSTC_MATLAB_KEYWORD :: Int
+wxSTC_MATLAB_KEYWORD = 4
+
+wxSTC_MATLAB_STRING :: Int
+wxSTC_MATLAB_STRING = 5
+
+wxSTC_MATLAB_OPERATOR :: Int
+wxSTC_MATLAB_OPERATOR = 6
+
+wxSTC_MATLAB_IDENTIFIER :: Int
+wxSTC_MATLAB_IDENTIFIER = 7
+
+wxSTC_SCRIPTOL_DEFAULT :: Int
+wxSTC_SCRIPTOL_DEFAULT = 0
+
+wxSTC_SCRIPTOL_COMMENT :: Int
+wxSTC_SCRIPTOL_COMMENT = 1
+
+wxSTC_SCRIPTOL_COMMENTLINE :: Int
+wxSTC_SCRIPTOL_COMMENTLINE = 2
+
+wxSTC_SCRIPTOL_COMMENTDOC :: Int
+wxSTC_SCRIPTOL_COMMENTDOC = 3
+
+wxSTC_SCRIPTOL_NUMBER :: Int
+wxSTC_SCRIPTOL_NUMBER = 4
+
+wxSTC_SCRIPTOL_WORD :: Int
+wxSTC_SCRIPTOL_WORD = 5
+
+wxSTC_SCRIPTOL_STRING :: Int
+wxSTC_SCRIPTOL_STRING = 6
+
+wxSTC_SCRIPTOL_CHARACTER :: Int
+wxSTC_SCRIPTOL_CHARACTER = 7
+
+wxSTC_SCRIPTOL_UUID :: Int
+wxSTC_SCRIPTOL_UUID = 8
+
+wxSTC_SCRIPTOL_PREPROCESSOR :: Int
+wxSTC_SCRIPTOL_PREPROCESSOR = 9
+
+wxSTC_SCRIPTOL_OPERATOR :: Int
+wxSTC_SCRIPTOL_OPERATOR = 10
+
+wxSTC_SCRIPTOL_IDENTIFIER :: Int
+wxSTC_SCRIPTOL_IDENTIFIER = 11
+
+wxSTC_SCRIPTOL_STRINGEOL :: Int
+wxSTC_SCRIPTOL_STRINGEOL = 12
+
+wxSTC_SCRIPTOL_VERBATIM :: Int
+wxSTC_SCRIPTOL_VERBATIM = 13
+
+wxSTC_SCRIPTOL_REGEX :: Int
+wxSTC_SCRIPTOL_REGEX = 14
+
+wxSTC_SCRIPTOL_COMMENTLINEDOC :: Int
+wxSTC_SCRIPTOL_COMMENTLINEDOC = 15
+
+wxSTC_SCRIPTOL_WORD2 :: Int
+wxSTC_SCRIPTOL_WORD2 = 16
+
+wxSTC_SCRIPTOL_COMMENTDOCKEYWORD :: Int
+wxSTC_SCRIPTOL_COMMENTDOCKEYWORD = 17
+
+wxSTC_SCRIPTOL_COMMENTDOCKEYWORDERROR :: Int
+wxSTC_SCRIPTOL_COMMENTDOCKEYWORDERROR = 18
+
+wxSTC_SCRIPTOL_COMMENTBASIC :: Int
+wxSTC_SCRIPTOL_COMMENTBASIC = 19
+
+wxSTC_ASM_DEFAULT :: Int
+wxSTC_ASM_DEFAULT = 0
+
+wxSTC_ASM_COMMENT :: Int
+wxSTC_ASM_COMMENT = 1
+
+wxSTC_ASM_NUMBER :: Int
+wxSTC_ASM_NUMBER = 2
+
+wxSTC_ASM_STRING :: Int
+wxSTC_ASM_STRING = 3
+
+wxSTC_ASM_OPERATOR :: Int
+wxSTC_ASM_OPERATOR = 4
+
+wxSTC_ASM_IDENTIFIER :: Int
+wxSTC_ASM_IDENTIFIER = 5
+
+wxSTC_ASM_CPUINSTRUCTION :: Int
+wxSTC_ASM_CPUINSTRUCTION = 6
+
+wxSTC_ASM_MATHINSTRUCTION :: Int
+wxSTC_ASM_MATHINSTRUCTION = 7
+
+wxSTC_ASM_REGISTER :: Int
+wxSTC_ASM_REGISTER = 8
+
+wxSTC_ASM_DIRECTIVE :: Int
+wxSTC_ASM_DIRECTIVE = 9
+
+wxSTC_ASM_DIRECTIVEOPERAND :: Int
+wxSTC_ASM_DIRECTIVEOPERAND = 10
+
+wxSTC_F_DEFAULT :: Int
+wxSTC_F_DEFAULT = 0
+
+wxSTC_F_COMMENT :: Int
+wxSTC_F_COMMENT = 1
+
+wxSTC_F_NUMBER :: Int
+wxSTC_F_NUMBER = 2
+
+wxSTC_F_STRING1 :: Int
+wxSTC_F_STRING1 = 3
+
+wxSTC_F_STRING2 :: Int
+wxSTC_F_STRING2 = 4
+
+wxSTC_F_STRINGEOL :: Int
+wxSTC_F_STRINGEOL = 5
+
+wxSTC_F_OPERATOR :: Int
+wxSTC_F_OPERATOR = 6
+
+wxSTC_F_IDENTIFIER :: Int
+wxSTC_F_IDENTIFIER = 7
+
+wxSTC_F_WORD :: Int
+wxSTC_F_WORD = 8
+
+wxSTC_F_WORD2 :: Int
+wxSTC_F_WORD2 = 9
+
+wxSTC_F_WORD3 :: Int
+wxSTC_F_WORD3 = 10
+
+wxSTC_F_PREPROCESSOR :: Int
+wxSTC_F_PREPROCESSOR = 11
+
+wxSTC_F_OPERATOR2 :: Int
+wxSTC_F_OPERATOR2 = 12
+
+wxSTC_F_LABEL :: Int
+wxSTC_F_LABEL = 13
+
+wxSTC_F_CONTINUATION :: Int
+wxSTC_F_CONTINUATION = 14
+
+wxSTC_CSS_DEFAULT :: Int
+wxSTC_CSS_DEFAULT = 0
+
+wxSTC_CSS_TAG :: Int
+wxSTC_CSS_TAG = 1
+
+wxSTC_CSS_CLASS :: Int
+wxSTC_CSS_CLASS = 2
+
+wxSTC_CSS_PSEUDOCLASS :: Int
+wxSTC_CSS_PSEUDOCLASS = 3
+
+wxSTC_CSS_UNKNOWN_PSEUDOCLASS :: Int
+wxSTC_CSS_UNKNOWN_PSEUDOCLASS = 4
+
+wxSTC_CSS_OPERATOR :: Int
+wxSTC_CSS_OPERATOR = 5
+
+wxSTC_CSS_IDENTIFIER :: Int
+wxSTC_CSS_IDENTIFIER = 6
+
+wxSTC_CSS_UNKNOWN_IDENTIFIER :: Int
+wxSTC_CSS_UNKNOWN_IDENTIFIER = 7
+
+wxSTC_CSS_VALUE :: Int
+wxSTC_CSS_VALUE = 8
+
+wxSTC_CSS_COMMENT :: Int
+wxSTC_CSS_COMMENT = 9
+
+wxSTC_CSS_ID :: Int
+wxSTC_CSS_ID = 10
+
+wxSTC_CSS_IMPORTANT :: Int
+wxSTC_CSS_IMPORTANT = 11
+
+wxSTC_CSS_DIRECTIVE :: Int
+wxSTC_CSS_DIRECTIVE = 12
+
+wxSTC_CSS_DOUBLESTRING :: Int
+wxSTC_CSS_DOUBLESTRING = 13
+
+wxSTC_CSS_SINGLESTRING :: Int
+wxSTC_CSS_SINGLESTRING = 14
+
+wxSTC_POV_DEFAULT :: Int
+wxSTC_POV_DEFAULT = 0
+
+wxSTC_POV_COMMENT :: Int
+wxSTC_POV_COMMENT = 1
+
+wxSTC_POV_COMMENTLINE :: Int
+wxSTC_POV_COMMENTLINE = 2
+
+wxSTC_POV_NUMBER :: Int
+wxSTC_POV_NUMBER = 3
+
+wxSTC_POV_OPERATOR :: Int
+wxSTC_POV_OPERATOR = 4
+
+wxSTC_POV_IDENTIFIER :: Int
+wxSTC_POV_IDENTIFIER = 5
+
+wxSTC_POV_STRING :: Int
+wxSTC_POV_STRING = 6
+
+wxSTC_POV_STRINGEOL :: Int
+wxSTC_POV_STRINGEOL = 7
+
+wxSTC_POV_DIRECTIVE :: Int
+wxSTC_POV_DIRECTIVE = 8
+
+wxSTC_POV_BADDIRECTIVE :: Int
+wxSTC_POV_BADDIRECTIVE = 9
+
+wxSTC_POV_WORD2 :: Int
+wxSTC_POV_WORD2 = 10
+
+wxSTC_POV_WORD3 :: Int
+wxSTC_POV_WORD3 = 11
+
+wxSTC_POV_WORD4 :: Int
+wxSTC_POV_WORD4 = 12
+
+wxSTC_POV_WORD5 :: Int
+wxSTC_POV_WORD5 = 13
+
+wxSTC_POV_WORD6 :: Int
+wxSTC_POV_WORD6 = 14
+
+wxSTC_POV_WORD7 :: Int
+wxSTC_POV_WORD7 = 15
+
+wxSTC_POV_WORD8 :: Int
+wxSTC_POV_WORD8 = 16
+
+wxSTC_LOUT_DEFAULT :: Int
+wxSTC_LOUT_DEFAULT = 0
+
+wxSTC_LOUT_COMMENT :: Int
+wxSTC_LOUT_COMMENT = 1
+
+wxSTC_LOUT_NUMBER :: Int
+wxSTC_LOUT_NUMBER = 2
+
+wxSTC_LOUT_WORD :: Int
+wxSTC_LOUT_WORD = 3
+
+wxSTC_LOUT_WORD2 :: Int
+wxSTC_LOUT_WORD2 = 4
+
+wxSTC_LOUT_WORD3 :: Int
+wxSTC_LOUT_WORD3 = 5
+
+wxSTC_LOUT_WORD4 :: Int
+wxSTC_LOUT_WORD4 = 6
+
+wxSTC_LOUT_STRING :: Int
+wxSTC_LOUT_STRING = 7
+
+wxSTC_LOUT_OPERATOR :: Int
+wxSTC_LOUT_OPERATOR = 8
+
+wxSTC_LOUT_IDENTIFIER :: Int
+wxSTC_LOUT_IDENTIFIER = 9
+
+wxSTC_LOUT_STRINGEOL :: Int
+wxSTC_LOUT_STRINGEOL = 10
+
+wxSTC_ESCRIPT_DEFAULT :: Int
+wxSTC_ESCRIPT_DEFAULT = 0
+
+wxSTC_ESCRIPT_COMMENT :: Int
+wxSTC_ESCRIPT_COMMENT = 1
+
+wxSTC_ESCRIPT_COMMENTLINE :: Int
+wxSTC_ESCRIPT_COMMENTLINE = 2
+
+wxSTC_ESCRIPT_COMMENTDOC :: Int
+wxSTC_ESCRIPT_COMMENTDOC = 3
+
+wxSTC_ESCRIPT_NUMBER :: Int
+wxSTC_ESCRIPT_NUMBER = 4
+
+wxSTC_ESCRIPT_WORD :: Int
+wxSTC_ESCRIPT_WORD = 5
+
+wxSTC_ESCRIPT_STRING :: Int
+wxSTC_ESCRIPT_STRING = 6
+
+wxSTC_ESCRIPT_OPERATOR :: Int
+wxSTC_ESCRIPT_OPERATOR = 7
+
+wxSTC_ESCRIPT_IDENTIFIER :: Int
+wxSTC_ESCRIPT_IDENTIFIER = 8
+
+wxSTC_ESCRIPT_BRACE :: Int
+wxSTC_ESCRIPT_BRACE = 9
+
+wxSTC_ESCRIPT_WORD2 :: Int
+wxSTC_ESCRIPT_WORD2 = 10
+
+wxSTC_ESCRIPT_WORD3 :: Int
+wxSTC_ESCRIPT_WORD3 = 11
+
+wxSTC_PS_DEFAULT :: Int
+wxSTC_PS_DEFAULT = 0
+
+wxSTC_PS_COMMENT :: Int
+wxSTC_PS_COMMENT = 1
+
+wxSTC_PS_DSC_COMMENT :: Int
+wxSTC_PS_DSC_COMMENT = 2
+
+wxSTC_PS_DSC_VALUE :: Int
+wxSTC_PS_DSC_VALUE = 3
+
+wxSTC_PS_NUMBER :: Int
+wxSTC_PS_NUMBER = 4
+
+wxSTC_PS_NAME :: Int
+wxSTC_PS_NAME = 5
+
+wxSTC_PS_KEYWORD :: Int
+wxSTC_PS_KEYWORD = 6
+
+wxSTC_PS_LITERAL :: Int
+wxSTC_PS_LITERAL = 7
+
+wxSTC_PS_IMMEVAL :: Int
+wxSTC_PS_IMMEVAL = 8
+
+wxSTC_PS_PAREN_ARRAY :: Int
+wxSTC_PS_PAREN_ARRAY = 9
+
+wxSTC_PS_PAREN_DICT :: Int
+wxSTC_PS_PAREN_DICT = 10
+
+wxSTC_PS_PAREN_PROC :: Int
+wxSTC_PS_PAREN_PROC = 11
+
+wxSTC_PS_TEXT :: Int
+wxSTC_PS_TEXT = 12
+
+wxSTC_PS_HEXSTRING :: Int
+wxSTC_PS_HEXSTRING = 13
+
+wxSTC_PS_BASE85STRING :: Int
+wxSTC_PS_BASE85STRING = 14
+
+wxSTC_PS_BADSTRINGCHAR :: Int
+wxSTC_PS_BADSTRINGCHAR = 15
+
+wxSTC_NSIS_DEFAULT :: Int
+wxSTC_NSIS_DEFAULT = 0
+
+wxSTC_NSIS_COMMENT :: Int
+wxSTC_NSIS_COMMENT = 1
+
+wxSTC_NSIS_STRINGDQ :: Int
+wxSTC_NSIS_STRINGDQ = 2
+
+wxSTC_NSIS_STRINGLQ :: Int
+wxSTC_NSIS_STRINGLQ = 3
+
+wxSTC_NSIS_STRINGRQ :: Int
+wxSTC_NSIS_STRINGRQ = 4
+
+wxSTC_NSIS_FUNCTION :: Int
+wxSTC_NSIS_FUNCTION = 5
+
+wxSTC_NSIS_VARIABLE :: Int
+wxSTC_NSIS_VARIABLE = 6
+
+wxSTC_NSIS_LABEL :: Int
+wxSTC_NSIS_LABEL = 7
+
+wxSTC_NSIS_USERDEFINED :: Int
+wxSTC_NSIS_USERDEFINED = 8
+
+wxSTC_NSIS_SECTIONDEF :: Int
+wxSTC_NSIS_SECTIONDEF = 9
+
+wxSTC_NSIS_SUBSECTIONDEF :: Int
+wxSTC_NSIS_SUBSECTIONDEF = 10
+
+wxSTC_NSIS_IFDEFINEDEF :: Int
+wxSTC_NSIS_IFDEFINEDEF = 11
+
+wxSTC_NSIS_MACRODEF :: Int
+wxSTC_NSIS_MACRODEF = 12
+
+wxSTC_NSIS_STRINGVAR :: Int
+wxSTC_NSIS_STRINGVAR = 13
+
+wxSTC_MMIXAL_LEADWS :: Int
+wxSTC_MMIXAL_LEADWS = 0
+
+wxSTC_MMIXAL_COMMENT :: Int
+wxSTC_MMIXAL_COMMENT = 1
+
+wxSTC_MMIXAL_LABEL :: Int
+wxSTC_MMIXAL_LABEL = 2
+
+wxSTC_MMIXAL_OPCODE :: Int
+wxSTC_MMIXAL_OPCODE = 3
+
+wxSTC_MMIXAL_OPCODE_PRE :: Int
+wxSTC_MMIXAL_OPCODE_PRE = 4
+
+wxSTC_MMIXAL_OPCODE_VALID :: Int
+wxSTC_MMIXAL_OPCODE_VALID = 5
+
+wxSTC_MMIXAL_OPCODE_UNKNOWN :: Int
+wxSTC_MMIXAL_OPCODE_UNKNOWN = 6
+
+wxSTC_MMIXAL_OPCODE_POST :: Int
+wxSTC_MMIXAL_OPCODE_POST = 7
+
+wxSTC_MMIXAL_OPERANDS :: Int
+wxSTC_MMIXAL_OPERANDS = 8
+
+wxSTC_MMIXAL_NUMBER :: Int
+wxSTC_MMIXAL_NUMBER = 9
+
+wxSTC_MMIXAL_REF :: Int
+wxSTC_MMIXAL_REF = 10
+
+wxSTC_MMIXAL_CHAR :: Int
+wxSTC_MMIXAL_CHAR = 11
+
+wxSTC_MMIXAL_STRING :: Int
+wxSTC_MMIXAL_STRING = 12
+
+wxSTC_MMIXAL_REGISTER :: Int
+wxSTC_MMIXAL_REGISTER = 13
+
+wxSTC_MMIXAL_HEX :: Int
+wxSTC_MMIXAL_HEX = 14
+
+wxSTC_MMIXAL_OPERATOR :: Int
+wxSTC_MMIXAL_OPERATOR = 15
+
+wxSTC_MMIXAL_SYMBOL :: Int
+wxSTC_MMIXAL_SYMBOL = 16
+
+wxSTC_MMIXAL_INCLUDE :: Int
+wxSTC_MMIXAL_INCLUDE = 17
+
+wxSTC_CLW_DEFAULT :: Int
+wxSTC_CLW_DEFAULT = 0
+
+wxSTC_CLW_LABEL :: Int
+wxSTC_CLW_LABEL = 1
+
+wxSTC_CLW_COMMENT :: Int
+wxSTC_CLW_COMMENT = 2
+
+wxSTC_CLW_STRING :: Int
+wxSTC_CLW_STRING = 3
+
+wxSTC_CLW_USER_IDENTIFIER :: Int
+wxSTC_CLW_USER_IDENTIFIER = 4
+
+wxSTC_CLW_INTEGER_CONSTANT :: Int
+wxSTC_CLW_INTEGER_CONSTANT = 5
+
+wxSTC_CLW_REAL_CONSTANT :: Int
+wxSTC_CLW_REAL_CONSTANT = 6
+
+wxSTC_CLW_PICTURE_STRING :: Int
+wxSTC_CLW_PICTURE_STRING = 7
+
+wxSTC_CLW_KEYWORD :: Int
+wxSTC_CLW_KEYWORD = 8
+
+wxSTC_CLW_COMPILER_DIRECTIVE :: Int
+wxSTC_CLW_COMPILER_DIRECTIVE = 9
+
+wxSTC_CLW_RUNTIME_EXPRESSIONS :: Int
+wxSTC_CLW_RUNTIME_EXPRESSIONS = 10
+
+wxSTC_CLW_BUILTIN_PROCEDURES_FUNCTION :: Int
+wxSTC_CLW_BUILTIN_PROCEDURES_FUNCTION = 11
+
+wxSTC_CLW_STRUCTURE_DATA_TYPE :: Int
+wxSTC_CLW_STRUCTURE_DATA_TYPE = 12
+
+wxSTC_CLW_ATTRIBUTE :: Int
+wxSTC_CLW_ATTRIBUTE = 13
+
+wxSTC_CLW_STANDARD_EQUATE :: Int
+wxSTC_CLW_STANDARD_EQUATE = 14
+
+wxSTC_CLW_ERROR :: Int
+wxSTC_CLW_ERROR = 15
+
+wxSTC_CLW_DEPRECATED :: Int
+wxSTC_CLW_DEPRECATED = 16
+
+wxSTC_LOT_DEFAULT :: Int
+wxSTC_LOT_DEFAULT = 0
+
+wxSTC_LOT_HEADER :: Int
+wxSTC_LOT_HEADER = 1
+
+wxSTC_LOT_BREAK :: Int
+wxSTC_LOT_BREAK = 2
+
+wxSTC_LOT_SET :: Int
+wxSTC_LOT_SET = 3
+
+wxSTC_LOT_PASS :: Int
+wxSTC_LOT_PASS = 4
+
+wxSTC_LOT_FAIL :: Int
+wxSTC_LOT_FAIL = 5
+
+wxSTC_LOT_ABORT :: Int
+wxSTC_LOT_ABORT = 6
+
+wxSTC_YAML_DEFAULT :: Int
+wxSTC_YAML_DEFAULT = 0
+
+wxSTC_YAML_COMMENT :: Int
+wxSTC_YAML_COMMENT = 1
+
+wxSTC_YAML_IDENTIFIER :: Int
+wxSTC_YAML_IDENTIFIER = 2
+
+wxSTC_YAML_KEYWORD :: Int
+wxSTC_YAML_KEYWORD = 3
+
+wxSTC_YAML_NUMBER :: Int
+wxSTC_YAML_NUMBER = 4
+
+wxSTC_YAML_REFERENCE :: Int
+wxSTC_YAML_REFERENCE = 5
+
+wxSTC_YAML_DOCUMENT :: Int
+wxSTC_YAML_DOCUMENT = 6
+
+wxSTC_YAML_TEXT :: Int
+wxSTC_YAML_TEXT = 7
+
+wxSTC_YAML_ERROR :: Int
+wxSTC_YAML_ERROR = 8
+
+wxSTC_TEX_DEFAULT :: Int
+wxSTC_TEX_DEFAULT = 0
+
+wxSTC_TEX_SPECIAL :: Int
+wxSTC_TEX_SPECIAL = 1
+
+wxSTC_TEX_GROUP :: Int
+wxSTC_TEX_GROUP = 2
+
+wxSTC_TEX_SYMBOL :: Int
+wxSTC_TEX_SYMBOL = 3
+
+wxSTC_TEX_COMMAND :: Int
+wxSTC_TEX_COMMAND = 4
+
+wxSTC_TEX_TEXT :: Int
+wxSTC_TEX_TEXT = 5
+
+wxSTC_METAPOST_DEFAULT :: Int
+wxSTC_METAPOST_DEFAULT = 0
+
+wxSTC_METAPOST_SPECIAL :: Int
+wxSTC_METAPOST_SPECIAL = 1
+
+wxSTC_METAPOST_GROUP :: Int
+wxSTC_METAPOST_GROUP = 2
+
+wxSTC_METAPOST_SYMBOL :: Int
+wxSTC_METAPOST_SYMBOL = 3
+
+wxSTC_METAPOST_COMMAND :: Int
+wxSTC_METAPOST_COMMAND = 4
+
+wxSTC_METAPOST_TEXT :: Int
+wxSTC_METAPOST_TEXT = 5
+
+wxSTC_METAPOST_EXTRA :: Int
+wxSTC_METAPOST_EXTRA = 6
+
+wxSTC_ERLANG_DEFAULT :: Int
+wxSTC_ERLANG_DEFAULT = 0
+
+wxSTC_ERLANG_COMMENT :: Int
+wxSTC_ERLANG_COMMENT = 1
+
+wxSTC_ERLANG_VARIABLE :: Int
+wxSTC_ERLANG_VARIABLE = 2
+
+wxSTC_ERLANG_NUMBER :: Int
+wxSTC_ERLANG_NUMBER = 3
+
+wxSTC_ERLANG_KEYWORD :: Int
+wxSTC_ERLANG_KEYWORD = 4
+
+wxSTC_ERLANG_STRING :: Int
+wxSTC_ERLANG_STRING = 5
+
+wxSTC_ERLANG_OPERATOR :: Int
+wxSTC_ERLANG_OPERATOR = 6
+
+wxSTC_ERLANG_ATOM :: Int
+wxSTC_ERLANG_ATOM = 7
+
+wxSTC_ERLANG_FUNCTION_NAME :: Int
+wxSTC_ERLANG_FUNCTION_NAME = 8
+
+wxSTC_ERLANG_CHARACTER :: Int
+wxSTC_ERLANG_CHARACTER = 9
+
+wxSTC_ERLANG_MACRO :: Int
+wxSTC_ERLANG_MACRO = 10
+
+wxSTC_ERLANG_RECORD :: Int
+wxSTC_ERLANG_RECORD = 11
+
+wxSTC_ERLANG_SEPARATOR :: Int
+wxSTC_ERLANG_SEPARATOR = 12
+
+wxSTC_ERLANG_NODE_NAME :: Int
+wxSTC_ERLANG_NODE_NAME = 13
+
+wxSTC_ERLANG_UNKNOWN :: Int
+wxSTC_ERLANG_UNKNOWN = 31
+
+wxSTC_MSSQL_DEFAULT :: Int
+wxSTC_MSSQL_DEFAULT = 0
+
+wxSTC_MSSQL_COMMENT :: Int
+wxSTC_MSSQL_COMMENT = 1
+
+wxSTC_MSSQL_LINE_COMMENT :: Int
+wxSTC_MSSQL_LINE_COMMENT = 2
+
+wxSTC_MSSQL_NUMBER :: Int
+wxSTC_MSSQL_NUMBER = 3
+
+wxSTC_MSSQL_STRING :: Int
+wxSTC_MSSQL_STRING = 4
+
+wxSTC_MSSQL_OPERATOR :: Int
+wxSTC_MSSQL_OPERATOR = 5
+
+wxSTC_MSSQL_IDENTIFIER :: Int
+wxSTC_MSSQL_IDENTIFIER = 6
+
+wxSTC_MSSQL_VARIABLE :: Int
+wxSTC_MSSQL_VARIABLE = 7
+
+wxSTC_MSSQL_COLUMN_NAME :: Int
+wxSTC_MSSQL_COLUMN_NAME = 8
+
+wxSTC_MSSQL_STATEMENT :: Int
+wxSTC_MSSQL_STATEMENT = 9
+
+wxSTC_MSSQL_DATATYPE :: Int
+wxSTC_MSSQL_DATATYPE = 10
+
+wxSTC_MSSQL_SYSTABLE :: Int
+wxSTC_MSSQL_SYSTABLE = 11
+
+wxSTC_MSSQL_GLOBAL_VARIABLE :: Int
+wxSTC_MSSQL_GLOBAL_VARIABLE = 12
+
+wxSTC_MSSQL_FUNCTION :: Int
+wxSTC_MSSQL_FUNCTION = 13
+
+wxSTC_MSSQL_STORED_PROCEDURE :: Int
+wxSTC_MSSQL_STORED_PROCEDURE = 14
+
+wxSTC_MSSQL_DEFAULT_PREF_DATATYPE :: Int
+wxSTC_MSSQL_DEFAULT_PREF_DATATYPE = 15
+
+wxSTC_MSSQL_COLUMN_NAME_2 :: Int
+wxSTC_MSSQL_COLUMN_NAME_2 = 16
+
+wxSTC_V_DEFAULT :: Int
+wxSTC_V_DEFAULT = 0
+
+wxSTC_V_COMMENT :: Int
+wxSTC_V_COMMENT = 1
+
+wxSTC_V_COMMENTLINE :: Int
+wxSTC_V_COMMENTLINE = 2
+
+wxSTC_V_COMMENTLINEBANG :: Int
+wxSTC_V_COMMENTLINEBANG = 3
+
+wxSTC_V_NUMBER :: Int
+wxSTC_V_NUMBER = 4
+
+wxSTC_V_WORD :: Int
+wxSTC_V_WORD = 5
+
+wxSTC_V_STRING :: Int
+wxSTC_V_STRING = 6
+
+wxSTC_V_WORD2 :: Int
+wxSTC_V_WORD2 = 7
+
+wxSTC_V_WORD3 :: Int
+wxSTC_V_WORD3 = 8
+
+wxSTC_V_PREPROCESSOR :: Int
+wxSTC_V_PREPROCESSOR = 9
+
+wxSTC_V_OPERATOR :: Int
+wxSTC_V_OPERATOR = 10
+
+wxSTC_V_IDENTIFIER :: Int
+wxSTC_V_IDENTIFIER = 11
+
+wxSTC_V_STRINGEOL :: Int
+wxSTC_V_STRINGEOL = 12
+
+wxSTC_V_USER :: Int
+wxSTC_V_USER = 19
+
+wxSTC_KIX_DEFAULT :: Int
+wxSTC_KIX_DEFAULT = 0
+
+wxSTC_KIX_COMMENT :: Int
+wxSTC_KIX_COMMENT = 1
+
+wxSTC_KIX_STRING1 :: Int
+wxSTC_KIX_STRING1 = 2
+
+wxSTC_KIX_STRING2 :: Int
+wxSTC_KIX_STRING2 = 3
+
+wxSTC_KIX_NUMBER :: Int
+wxSTC_KIX_NUMBER = 4
+
+wxSTC_KIX_VAR :: Int
+wxSTC_KIX_VAR = 5
+
+wxSTC_KIX_MACRO :: Int
+wxSTC_KIX_MACRO = 6
+
+wxSTC_KIX_KEYWORD :: Int
+wxSTC_KIX_KEYWORD = 7
+
+wxSTC_KIX_FUNCTIONS :: Int
+wxSTC_KIX_FUNCTIONS = 8
+
+wxSTC_KIX_OPERATOR :: Int
+wxSTC_KIX_OPERATOR = 9
+
+wxSTC_KIX_IDENTIFIER :: Int
+wxSTC_KIX_IDENTIFIER = 31
+
+wxSTC_GC_DEFAULT :: Int
+wxSTC_GC_DEFAULT = 0
+
+wxSTC_GC_COMMENTLINE :: Int
+wxSTC_GC_COMMENTLINE = 1
+
+wxSTC_GC_COMMENTBLOCK :: Int
+wxSTC_GC_COMMENTBLOCK = 2
+
+wxSTC_GC_GLOBAL :: Int
+wxSTC_GC_GLOBAL = 3
+
+wxSTC_GC_EVENT :: Int
+wxSTC_GC_EVENT = 4
+
+wxSTC_GC_ATTRIBUTE :: Int
+wxSTC_GC_ATTRIBUTE = 5
+
+wxSTC_GC_CONTROL :: Int
+wxSTC_GC_CONTROL = 6
+
+wxSTC_GC_COMMAND :: Int
+wxSTC_GC_COMMAND = 7
+
+wxSTC_GC_STRING :: Int
+wxSTC_GC_STRING = 8
+
+wxSTC_GC_OPERATOR :: Int
+wxSTC_GC_OPERATOR = 9
+
+wxSTC_SN_DEFAULT :: Int
+wxSTC_SN_DEFAULT = 0
+
+wxSTC_SN_CODE :: Int
+wxSTC_SN_CODE = 1
+
+wxSTC_SN_COMMENTLINE :: Int
+wxSTC_SN_COMMENTLINE = 2
+
+wxSTC_SN_COMMENTLINEBANG :: Int
+wxSTC_SN_COMMENTLINEBANG = 3
+
+wxSTC_SN_NUMBER :: Int
+wxSTC_SN_NUMBER = 4
+
+wxSTC_SN_WORD :: Int
+wxSTC_SN_WORD = 5
+
+wxSTC_SN_STRING :: Int
+wxSTC_SN_STRING = 6
+
+wxSTC_SN_WORD2 :: Int
+wxSTC_SN_WORD2 = 7
+
+wxSTC_SN_WORD3 :: Int
+wxSTC_SN_WORD3 = 8
+
+wxSTC_SN_PREPROCESSOR :: Int
+wxSTC_SN_PREPROCESSOR = 9
+
+wxSTC_SN_OPERATOR :: Int
+wxSTC_SN_OPERATOR = 10
+
+wxSTC_SN_IDENTIFIER :: Int
+wxSTC_SN_IDENTIFIER = 11
+
+wxSTC_SN_STRINGEOL :: Int
+wxSTC_SN_STRINGEOL = 12
+
+wxSTC_SN_REGEXTAG :: Int
+wxSTC_SN_REGEXTAG = 13
+
+wxSTC_SN_SIGNAL :: Int
+wxSTC_SN_SIGNAL = 14
+
+wxSTC_SN_USER :: Int
+wxSTC_SN_USER = 19
+
+wxSTC_AU3_DEFAULT :: Int
+wxSTC_AU3_DEFAULT = 0
+
+wxSTC_AU3_COMMENT :: Int
+wxSTC_AU3_COMMENT = 1
+
+wxSTC_AU3_COMMENTBLOCK :: Int
+wxSTC_AU3_COMMENTBLOCK = 2
+
+wxSTC_AU3_NUMBER :: Int
+wxSTC_AU3_NUMBER = 3
+
+wxSTC_AU3_FUNCTION :: Int
+wxSTC_AU3_FUNCTION = 4
+
+wxSTC_AU3_KEYWORD :: Int
+wxSTC_AU3_KEYWORD = 5
+
+wxSTC_AU3_MACRO :: Int
+wxSTC_AU3_MACRO = 6
+
+wxSTC_AU3_STRING :: Int
+wxSTC_AU3_STRING = 7
+
+wxSTC_AU3_OPERATOR :: Int
+wxSTC_AU3_OPERATOR = 8
+
+wxSTC_AU3_VARIABLE :: Int
+wxSTC_AU3_VARIABLE = 9
+
+wxSTC_AU3_SENT :: Int
+wxSTC_AU3_SENT = 10
+
+wxSTC_AU3_PREPROCESSOR :: Int
+wxSTC_AU3_PREPROCESSOR = 11
+
+wxSTC_AU3_SPECIAL :: Int
+wxSTC_AU3_SPECIAL = 12
+
+wxSTC_AU3_EXPAND :: Int
+wxSTC_AU3_EXPAND = 13
+
+wxSTC_AU3_COMOBJ :: Int
+wxSTC_AU3_COMOBJ = 14
+
+wxSTC_APDL_DEFAULT :: Int
+wxSTC_APDL_DEFAULT = 0
+
+wxSTC_APDL_COMMENT :: Int
+wxSTC_APDL_COMMENT = 1
+
+wxSTC_APDL_COMMENTBLOCK :: Int
+wxSTC_APDL_COMMENTBLOCK = 2
+
+wxSTC_APDL_NUMBER :: Int
+wxSTC_APDL_NUMBER = 3
+
+wxSTC_APDL_STRING :: Int
+wxSTC_APDL_STRING = 4
+
+wxSTC_APDL_OPERATOR :: Int
+wxSTC_APDL_OPERATOR = 5
+
+wxSTC_APDL_WORD :: Int
+wxSTC_APDL_WORD = 6
+
+wxSTC_APDL_PROCESSOR :: Int
+wxSTC_APDL_PROCESSOR = 7
+
+wxSTC_APDL_COMMAND :: Int
+wxSTC_APDL_COMMAND = 8
+
+wxSTC_APDL_SLASHCOMMAND :: Int
+wxSTC_APDL_SLASHCOMMAND = 9
+
+wxSTC_APDL_STARCOMMAND :: Int
+wxSTC_APDL_STARCOMMAND = 10
+
+wxSTC_APDL_ARGUMENT :: Int
+wxSTC_APDL_ARGUMENT = 11
+
+wxSTC_APDL_FUNCTION :: Int
+wxSTC_APDL_FUNCTION = 12
+
+wxSTC_SH_DEFAULT :: Int
+wxSTC_SH_DEFAULT = 0
+
+wxSTC_SH_ERROR :: Int
+wxSTC_SH_ERROR = 1
+
+wxSTC_SH_COMMENTLINE :: Int
+wxSTC_SH_COMMENTLINE = 2
+
+wxSTC_SH_NUMBER :: Int
+wxSTC_SH_NUMBER = 3
+
+wxSTC_SH_WORD :: Int
+wxSTC_SH_WORD = 4
+
+wxSTC_SH_STRING :: Int
+wxSTC_SH_STRING = 5
+
+wxSTC_SH_CHARACTER :: Int
+wxSTC_SH_CHARACTER = 6
+
+wxSTC_SH_OPERATOR :: Int
+wxSTC_SH_OPERATOR = 7
+
+wxSTC_SH_IDENTIFIER :: Int
+wxSTC_SH_IDENTIFIER = 8
+
+wxSTC_SH_SCALAR :: Int
+wxSTC_SH_SCALAR = 9
+
+wxSTC_SH_PARAM :: Int
+wxSTC_SH_PARAM = 10
+
+wxSTC_SH_BACKTICKS :: Int
+wxSTC_SH_BACKTICKS = 11
+
+wxSTC_SH_HERE_DELIM :: Int
+wxSTC_SH_HERE_DELIM = 12
+
+wxSTC_SH_HERE_Q :: Int
+wxSTC_SH_HERE_Q = 13
+
+wxSTC_ASN1_DEFAULT :: Int
+wxSTC_ASN1_DEFAULT = 0
+
+wxSTC_ASN1_COMMENT :: Int
+wxSTC_ASN1_COMMENT = 1
+
+wxSTC_ASN1_IDENTIFIER :: Int
+wxSTC_ASN1_IDENTIFIER = 2
+
+wxSTC_ASN1_STRING :: Int
+wxSTC_ASN1_STRING = 3
+
+wxSTC_ASN1_OID :: Int
+wxSTC_ASN1_OID = 4
+
+wxSTC_ASN1_SCALAR :: Int
+wxSTC_ASN1_SCALAR = 5
+
+wxSTC_ASN1_KEYWORD :: Int
+wxSTC_ASN1_KEYWORD = 6
+
+wxSTC_ASN1_ATTRIBUTE :: Int
+wxSTC_ASN1_ATTRIBUTE = 7
+
+wxSTC_ASN1_DESCRIPTOR :: Int
+wxSTC_ASN1_DESCRIPTOR = 8
+
+wxSTC_ASN1_TYPE :: Int
+wxSTC_ASN1_TYPE = 9
+
+wxSTC_ASN1_OPERATOR :: Int
+wxSTC_ASN1_OPERATOR = 10
+
+wxSTC_VHDL_DEFAULT :: Int
+wxSTC_VHDL_DEFAULT = 0
+
+wxSTC_VHDL_COMMENT :: Int
+wxSTC_VHDL_COMMENT = 1
+
+wxSTC_VHDL_COMMENTLINEBANG :: Int
+wxSTC_VHDL_COMMENTLINEBANG = 2
+
+wxSTC_VHDL_NUMBER :: Int
+wxSTC_VHDL_NUMBER = 3
+
+wxSTC_VHDL_STRING :: Int
+wxSTC_VHDL_STRING = 4
+
+wxSTC_VHDL_OPERATOR :: Int
+wxSTC_VHDL_OPERATOR = 5
+
+wxSTC_VHDL_IDENTIFIER :: Int
+wxSTC_VHDL_IDENTIFIER = 6
+
+wxSTC_VHDL_STRINGEOL :: Int
+wxSTC_VHDL_STRINGEOL = 7
+
+wxSTC_VHDL_KEYWORD :: Int
+wxSTC_VHDL_KEYWORD = 8
+
+wxSTC_VHDL_STDOPERATOR :: Int
+wxSTC_VHDL_STDOPERATOR = 9
+
+wxSTC_VHDL_ATTRIBUTE :: Int
+wxSTC_VHDL_ATTRIBUTE = 10
+
+wxSTC_VHDL_STDFUNCTION :: Int
+wxSTC_VHDL_STDFUNCTION = 11
+
+wxSTC_VHDL_STDPACKAGE :: Int
+wxSTC_VHDL_STDPACKAGE = 12
+
+wxSTC_VHDL_STDTYPE :: Int
+wxSTC_VHDL_STDTYPE = 13
+
+wxSTC_VHDL_USERWORD :: Int
+wxSTC_VHDL_USERWORD = 14
+
+wxSTC_CAML_DEFAULT :: Int
+wxSTC_CAML_DEFAULT = 0
+
+wxSTC_CAML_IDENTIFIER :: Int
+wxSTC_CAML_IDENTIFIER = 1
+
+wxSTC_CAML_TAGNAME :: Int
+wxSTC_CAML_TAGNAME = 2
+
+wxSTC_CAML_KEYWORD :: Int
+wxSTC_CAML_KEYWORD = 3
+
+wxSTC_CAML_KEYWORD2 :: Int
+wxSTC_CAML_KEYWORD2 = 4
+
+wxSTC_CAML_KEYWORD3 :: Int
+wxSTC_CAML_KEYWORD3 = 5
+
+wxSTC_CAML_LINENUM :: Int
+wxSTC_CAML_LINENUM = 6
+
+wxSTC_CAML_OPERATOR :: Int
+wxSTC_CAML_OPERATOR = 7
+
+wxSTC_CAML_NUMBER :: Int
+wxSTC_CAML_NUMBER = 8
+
+wxSTC_CAML_CHAR :: Int
+wxSTC_CAML_CHAR = 9
+
+wxSTC_CAML_STRING :: Int
+wxSTC_CAML_STRING = 11
+
+wxSTC_CAML_COMMENT :: Int
+wxSTC_CAML_COMMENT = 12
+
+wxSTC_CAML_COMMENT1 :: Int
+wxSTC_CAML_COMMENT1 = 13
+
+wxSTC_CAML_COMMENT2 :: Int
+wxSTC_CAML_COMMENT2 = 14
+
+wxSTC_CAML_COMMENT3 :: Int
+wxSTC_CAML_COMMENT3 = 15
+
+wxSTC_T3_DEFAULT :: Int
+wxSTC_T3_DEFAULT = 0
+
+wxSTC_T3_X_DEFAULT :: Int
+wxSTC_T3_X_DEFAULT = 1
+
+wxSTC_T3_PREPROCESSOR :: Int
+wxSTC_T3_PREPROCESSOR = 2
+
+wxSTC_T3_BLOCK_COMMENT :: Int
+wxSTC_T3_BLOCK_COMMENT = 3
+
+wxSTC_T3_LINE_COMMENT :: Int
+wxSTC_T3_LINE_COMMENT = 4
+
+wxSTC_T3_OPERATOR :: Int
+wxSTC_T3_OPERATOR = 5
+
+wxSTC_T3_KEYWORD :: Int
+wxSTC_T3_KEYWORD = 6
+
+wxSTC_T3_NUMBER :: Int
+wxSTC_T3_NUMBER = 7
+
+wxSTC_T3_IDENTIFIER :: Int
+wxSTC_T3_IDENTIFIER = 8
+
+wxSTC_T3_S_STRING :: Int
+wxSTC_T3_S_STRING = 9
+
+wxSTC_T3_D_STRING :: Int
+wxSTC_T3_D_STRING = 10
+
+wxSTC_T3_X_STRING :: Int
+wxSTC_T3_X_STRING = 11
+
+wxSTC_T3_LIB_DIRECTIVE :: Int
+wxSTC_T3_LIB_DIRECTIVE = 12
+
+wxSTC_T3_MSG_PARAM :: Int
+wxSTC_T3_MSG_PARAM = 13
+
+wxSTC_T3_HTML_TAG :: Int
+wxSTC_T3_HTML_TAG = 14
+
+wxSTC_T3_HTML_DEFAULT :: Int
+wxSTC_T3_HTML_DEFAULT = 15
+
+wxSTC_T3_HTML_STRING :: Int
+wxSTC_T3_HTML_STRING = 16
+
+wxSTC_T3_USER1 :: Int
+wxSTC_T3_USER1 = 17
+
+wxSTC_T3_USER2 :: Int
+wxSTC_T3_USER2 = 18
+
+wxSTC_T3_USER3 :: Int
+wxSTC_T3_USER3 = 19
+
+wxSTC_REBOL_DEFAULT :: Int
+wxSTC_REBOL_DEFAULT = 0
+
+wxSTC_REBOL_COMMENTLINE :: Int
+wxSTC_REBOL_COMMENTLINE = 1
+
+wxSTC_REBOL_COMMENTBLOCK :: Int
+wxSTC_REBOL_COMMENTBLOCK = 2
+
+wxSTC_REBOL_PREFACE :: Int
+wxSTC_REBOL_PREFACE = 3
+
+wxSTC_REBOL_OPERATOR :: Int
+wxSTC_REBOL_OPERATOR = 4
+
+wxSTC_REBOL_CHARACTER :: Int
+wxSTC_REBOL_CHARACTER = 5
+
+wxSTC_REBOL_QUOTEDSTRING :: Int
+wxSTC_REBOL_QUOTEDSTRING = 6
+
+wxSTC_REBOL_BRACEDSTRING :: Int
+wxSTC_REBOL_BRACEDSTRING = 7
+
+wxSTC_REBOL_NUMBER :: Int
+wxSTC_REBOL_NUMBER = 8
+
+wxSTC_REBOL_PAIR :: Int
+wxSTC_REBOL_PAIR = 9
+
+wxSTC_REBOL_TUPLE :: Int
+wxSTC_REBOL_TUPLE = 10
+
+wxSTC_REBOL_BINARY :: Int
+wxSTC_REBOL_BINARY = 11
+
+wxSTC_REBOL_MONEY :: Int
+wxSTC_REBOL_MONEY = 12
+
+wxSTC_REBOL_ISSUE :: Int
+wxSTC_REBOL_ISSUE = 13
+
+wxSTC_REBOL_TAG :: Int
+wxSTC_REBOL_TAG = 14
+
+wxSTC_REBOL_FILE :: Int
+wxSTC_REBOL_FILE = 15
+
+wxSTC_REBOL_EMAIL :: Int
+wxSTC_REBOL_EMAIL = 16
+
+wxSTC_REBOL_URL :: Int
+wxSTC_REBOL_URL = 17
+
+wxSTC_REBOL_DATE :: Int
+wxSTC_REBOL_DATE = 18
+
+wxSTC_REBOL_TIME :: Int
+wxSTC_REBOL_TIME = 19
+
+wxSTC_REBOL_IDENTIFIER :: Int
+wxSTC_REBOL_IDENTIFIER = 20
+
+wxSTC_REBOL_WORD :: Int
+wxSTC_REBOL_WORD = 21
+
+wxSTC_REBOL_WORD2 :: Int
+wxSTC_REBOL_WORD2 = 22
+
+wxSTC_REBOL_WORD3 :: Int
+wxSTC_REBOL_WORD3 = 23
+
+wxSTC_REBOL_WORD4 :: Int
+wxSTC_REBOL_WORD4 = 24
+
+wxSTC_REBOL_WORD5 :: Int
+wxSTC_REBOL_WORD5 = 25
+
+wxSTC_REBOL_WORD6 :: Int
+wxSTC_REBOL_WORD6 = 26
+
+wxSTC_REBOL_WORD7 :: Int
+wxSTC_REBOL_WORD7 = 27
+
+wxSTC_REBOL_WORD8 :: Int
+wxSTC_REBOL_WORD8 = 28
+
+wxSTC_SQL_DEFAULT :: Int
+wxSTC_SQL_DEFAULT = 0
+
+wxSTC_SQL_COMMENT :: Int
+wxSTC_SQL_COMMENT = 1
+
+wxSTC_SQL_COMMENTLINE :: Int
+wxSTC_SQL_COMMENTLINE = 2
+
+wxSTC_SQL_COMMENTDOC :: Int
+wxSTC_SQL_COMMENTDOC = 3
+
+wxSTC_SQL_NUMBER :: Int
+wxSTC_SQL_NUMBER = 4
+
+wxSTC_SQL_WORD :: Int
+wxSTC_SQL_WORD = 5
+
+wxSTC_SQL_STRING :: Int
+wxSTC_SQL_STRING = 6
+
+wxSTC_SQL_CHARACTER :: Int
+wxSTC_SQL_CHARACTER = 7
+
+wxSTC_SQL_SQLPLUS :: Int
+wxSTC_SQL_SQLPLUS = 8
+
+wxSTC_SQL_SQLPLUS_PROMPT :: Int
+wxSTC_SQL_SQLPLUS_PROMPT = 9
+
+wxSTC_SQL_OPERATOR :: Int
+wxSTC_SQL_OPERATOR = 10
+
+wxSTC_SQL_IDENTIFIER :: Int
+wxSTC_SQL_IDENTIFIER = 11
+
+wxSTC_SQL_SQLPLUS_COMMENT :: Int
+wxSTC_SQL_SQLPLUS_COMMENT = 13
+
+wxSTC_SQL_COMMENTLINEDOC :: Int
+wxSTC_SQL_COMMENTLINEDOC = 15
+
+wxSTC_SQL_WORD2 :: Int
+wxSTC_SQL_WORD2 = 16
+
+wxSTC_SQL_COMMENTDOCKEYWORD :: Int
+wxSTC_SQL_COMMENTDOCKEYWORD = 17
+
+wxSTC_SQL_COMMENTDOCKEYWORDERROR :: Int
+wxSTC_SQL_COMMENTDOCKEYWORDERROR = 18
+
+wxSTC_SQL_USER1 :: Int
+wxSTC_SQL_USER1 = 19
+
+wxSTC_SQL_USER2 :: Int
+wxSTC_SQL_USER2 = 20
+
+wxSTC_SQL_USER3 :: Int
+wxSTC_SQL_USER3 = 21
+
+wxSTC_SQL_USER4 :: Int
+wxSTC_SQL_USER4 = 22
+
+wxSTC_SQL_QUOTEDIDENTIFIER :: Int
+wxSTC_SQL_QUOTEDIDENTIFIER = 23
+
+wxSTC_ST_DEFAULT :: Int
+wxSTC_ST_DEFAULT = 0
+
+wxSTC_ST_STRING :: Int
+wxSTC_ST_STRING = 1
+
+wxSTC_ST_NUMBER :: Int
+wxSTC_ST_NUMBER = 2
+
+wxSTC_ST_COMMENT :: Int
+wxSTC_ST_COMMENT = 3
+
+wxSTC_ST_SYMBOL :: Int
+wxSTC_ST_SYMBOL = 4
+
+wxSTC_ST_BINARY :: Int
+wxSTC_ST_BINARY = 5
+
+wxSTC_ST_BOOL :: Int
+wxSTC_ST_BOOL = 6
+
+wxSTC_ST_SELF :: Int
+wxSTC_ST_SELF = 7
+
+wxSTC_ST_SUPER :: Int
+wxSTC_ST_SUPER = 8
+
+wxSTC_ST_NIL :: Int
+wxSTC_ST_NIL = 9
+
+wxSTC_ST_GLOBAL :: Int
+wxSTC_ST_GLOBAL = 10
+
+wxSTC_ST_RETURN :: Int
+wxSTC_ST_RETURN = 11
+
+wxSTC_ST_SPECIAL :: Int
+wxSTC_ST_SPECIAL = 12
+
+wxSTC_ST_KWSEND :: Int
+wxSTC_ST_KWSEND = 13
+
+wxSTC_ST_ASSIGN :: Int
+wxSTC_ST_ASSIGN = 14
+
+wxSTC_ST_CHARACTER :: Int
+wxSTC_ST_CHARACTER = 15
+
+wxSTC_ST_SPEC_SEL :: Int
+wxSTC_ST_SPEC_SEL = 16
+
+wxSTC_FS_DEFAULT :: Int
+wxSTC_FS_DEFAULT = 0
+
+wxSTC_FS_COMMENT :: Int
+wxSTC_FS_COMMENT = 1
+
+wxSTC_FS_COMMENTLINE :: Int
+wxSTC_FS_COMMENTLINE = 2
+
+wxSTC_FS_COMMENTDOC :: Int
+wxSTC_FS_COMMENTDOC = 3
+
+wxSTC_FS_COMMENTLINEDOC :: Int
+wxSTC_FS_COMMENTLINEDOC = 4
+
+wxSTC_FS_COMMENTDOCKEYWORD :: Int
+wxSTC_FS_COMMENTDOCKEYWORD = 5
+
+wxSTC_FS_COMMENTDOCKEYWORDERROR :: Int
+wxSTC_FS_COMMENTDOCKEYWORDERROR = 6
+
+wxSTC_FS_KEYWORD :: Int
+wxSTC_FS_KEYWORD = 7
+
+wxSTC_FS_KEYWORD2 :: Int
+wxSTC_FS_KEYWORD2 = 8
+
+wxSTC_FS_KEYWORD3 :: Int
+wxSTC_FS_KEYWORD3 = 9
+
+wxSTC_FS_KEYWORD4 :: Int
+wxSTC_FS_KEYWORD4 = 10
+
+wxSTC_FS_NUMBER :: Int
+wxSTC_FS_NUMBER = 11
+
+wxSTC_FS_STRING :: Int
+wxSTC_FS_STRING = 12
+
+wxSTC_FS_PREPROCESSOR :: Int
+wxSTC_FS_PREPROCESSOR = 13
+
+wxSTC_FS_OPERATOR :: Int
+wxSTC_FS_OPERATOR = 14
+
+wxSTC_FS_IDENTIFIER :: Int
+wxSTC_FS_IDENTIFIER = 15
+
+wxSTC_FS_DATE :: Int
+wxSTC_FS_DATE = 16
+
+wxSTC_FS_STRINGEOL :: Int
+wxSTC_FS_STRINGEOL = 17
+
+wxSTC_FS_CONSTANT :: Int
+wxSTC_FS_CONSTANT = 18
+
+wxSTC_FS_ASM :: Int
+wxSTC_FS_ASM = 19
+
+wxSTC_FS_LABEL :: Int
+wxSTC_FS_LABEL = 20
+
+wxSTC_FS_ERROR :: Int
+wxSTC_FS_ERROR = 21
+
+wxSTC_FS_HEXNUMBER :: Int
+wxSTC_FS_HEXNUMBER = 22
+
+wxSTC_FS_BINNUMBER :: Int
+wxSTC_FS_BINNUMBER = 23
+
+wxSTC_CSOUND_DEFAULT :: Int
+wxSTC_CSOUND_DEFAULT = 0
+
+wxSTC_CSOUND_COMMENT :: Int
+wxSTC_CSOUND_COMMENT = 1
+
+wxSTC_CSOUND_NUMBER :: Int
+wxSTC_CSOUND_NUMBER = 2
+
+wxSTC_CSOUND_OPERATOR :: Int
+wxSTC_CSOUND_OPERATOR = 3
+
+wxSTC_CSOUND_INSTR :: Int
+wxSTC_CSOUND_INSTR = 4
+
+wxSTC_CSOUND_IDENTIFIER :: Int
+wxSTC_CSOUND_IDENTIFIER = 5
+
+wxSTC_CSOUND_OPCODE :: Int
+wxSTC_CSOUND_OPCODE = 6
+
+wxSTC_CSOUND_HEADERSTMT :: Int
+wxSTC_CSOUND_HEADERSTMT = 7
+
+wxSTC_CSOUND_USERKEYWORD :: Int
+wxSTC_CSOUND_USERKEYWORD = 8
+
+wxSTC_CSOUND_COMMENTBLOCK :: Int
+wxSTC_CSOUND_COMMENTBLOCK = 9
+
+wxSTC_CSOUND_PARAM :: Int
+wxSTC_CSOUND_PARAM = 10
+
+wxSTC_CSOUND_ARATE_VAR :: Int
+wxSTC_CSOUND_ARATE_VAR = 11
+
+wxSTC_CSOUND_KRATE_VAR :: Int
+wxSTC_CSOUND_KRATE_VAR = 12
+
+wxSTC_CSOUND_IRATE_VAR :: Int
+wxSTC_CSOUND_IRATE_VAR = 13
+
+wxSTC_CSOUND_GLOBAL_VAR :: Int
+wxSTC_CSOUND_GLOBAL_VAR = 14
+
+wxSTC_CSOUND_STRINGEOL :: Int
+wxSTC_CSOUND_STRINGEOL = 15
+
+wxSTC_CMD_REDO :: Int
+wxSTC_CMD_REDO = 2011
+
+wxSTC_CMD_SELECTALL :: Int
+wxSTC_CMD_SELECTALL = 2013
+
+wxSTC_CMD_UNDO :: Int
+wxSTC_CMD_UNDO = 2176
+
+wxSTC_CMD_CUT :: Int
+wxSTC_CMD_CUT = 2177
+
+wxSTC_CMD_COPY :: Int
+wxSTC_CMD_COPY = 2178
+
+wxSTC_CMD_PASTE :: Int
+wxSTC_CMD_PASTE = 2179
+
+wxSTC_CMD_CLEAR :: Int
+wxSTC_CMD_CLEAR = 2180
+
+wxSTC_CMD_LINEDOWN :: Int
+wxSTC_CMD_LINEDOWN = 2300
+
+wxSTC_CMD_LINEDOWNEXTEND :: Int
+wxSTC_CMD_LINEDOWNEXTEND = 2301
+
+wxSTC_CMD_LINEUP :: Int
+wxSTC_CMD_LINEUP = 2302
+
+wxSTC_CMD_LINEUPEXTEND :: Int
+wxSTC_CMD_LINEUPEXTEND = 2303
+
+wxSTC_CMD_CHARLEFT :: Int
+wxSTC_CMD_CHARLEFT = 2304
+
+wxSTC_CMD_CHARLEFTEXTEND :: Int
+wxSTC_CMD_CHARLEFTEXTEND = 2305
+
+wxSTC_CMD_CHARRIGHT :: Int
+wxSTC_CMD_CHARRIGHT = 2306
+
+wxSTC_CMD_CHARRIGHTEXTEND :: Int
+wxSTC_CMD_CHARRIGHTEXTEND = 2307
+
+wxSTC_CMD_WORDLEFT :: Int
+wxSTC_CMD_WORDLEFT = 2308
+
+wxSTC_CMD_WORDLEFTEXTEND :: Int
+wxSTC_CMD_WORDLEFTEXTEND = 2309
+
+wxSTC_CMD_WORDRIGHT :: Int
+wxSTC_CMD_WORDRIGHT = 2310
+
+wxSTC_CMD_WORDRIGHTEXTEND :: Int
+wxSTC_CMD_WORDRIGHTEXTEND = 2311
+
+wxSTC_CMD_HOME :: Int
+wxSTC_CMD_HOME = 2312
+
+wxSTC_CMD_HOMEEXTEND :: Int
+wxSTC_CMD_HOMEEXTEND = 2313
+
+wxSTC_CMD_LINEEND :: Int
+wxSTC_CMD_LINEEND = 2314
+
+wxSTC_CMD_LINEENDEXTEND :: Int
+wxSTC_CMD_LINEENDEXTEND = 2315
+
+wxSTC_CMD_DOCUMENTSTART :: Int
+wxSTC_CMD_DOCUMENTSTART = 2316
+
+wxSTC_CMD_DOCUMENTSTARTEXTEND :: Int
+wxSTC_CMD_DOCUMENTSTARTEXTEND = 2317
+
+wxSTC_CMD_DOCUMENTEND :: Int
+wxSTC_CMD_DOCUMENTEND = 2318
+
+wxSTC_CMD_DOCUMENTENDEXTEND :: Int
+wxSTC_CMD_DOCUMENTENDEXTEND = 2319
+
+wxSTC_CMD_PAGEUP :: Int
+wxSTC_CMD_PAGEUP = 2320
+
+wxSTC_CMD_PAGEUPEXTEND :: Int
+wxSTC_CMD_PAGEUPEXTEND = 2321
+
+wxSTC_CMD_PAGEDOWN :: Int
+wxSTC_CMD_PAGEDOWN = 2322
+
+wxSTC_CMD_PAGEDOWNEXTEND :: Int
+wxSTC_CMD_PAGEDOWNEXTEND = 2323
+
+wxSTC_CMD_EDITTOGGLEOVERTYPE :: Int
+wxSTC_CMD_EDITTOGGLEOVERTYPE = 2324
+
+wxSTC_CMD_CANCEL :: Int
+wxSTC_CMD_CANCEL = 2325
+
+wxSTC_CMD_DELETEBACK :: Int
+wxSTC_CMD_DELETEBACK = 2326
+
+wxSTC_CMD_TAB :: Int
+wxSTC_CMD_TAB = 2327
+
+wxSTC_CMD_BACKTAB :: Int
+wxSTC_CMD_BACKTAB = 2328
+
+wxSTC_CMD_NEWLINE :: Int
+wxSTC_CMD_NEWLINE = 2329
+
+wxSTC_CMD_FORMFEED :: Int
+wxSTC_CMD_FORMFEED = 2330
+
+wxSTC_CMD_VCHOME :: Int
+wxSTC_CMD_VCHOME = 2331
+
+wxSTC_CMD_VCHOMEEXTEND :: Int
+wxSTC_CMD_VCHOMEEXTEND = 2332
+
+wxSTC_CMD_ZOOMIN :: Int
+wxSTC_CMD_ZOOMIN = 2333
+
+wxSTC_CMD_ZOOMOUT :: Int
+wxSTC_CMD_ZOOMOUT = 2334
+
+wxSTC_CMD_DELWORDLEFT :: Int
+wxSTC_CMD_DELWORDLEFT = 2335
+
+wxSTC_CMD_DELWORDRIGHT :: Int
+wxSTC_CMD_DELWORDRIGHT = 2336
+
+wxSTC_CMD_LINECUT :: Int
+wxSTC_CMD_LINECUT = 2337
+
+wxSTC_CMD_LINEDELETE :: Int
+wxSTC_CMD_LINEDELETE = 2338
+
+wxSTC_CMD_LINETRANSPOSE :: Int
+wxSTC_CMD_LINETRANSPOSE = 2339
+
+wxSTC_CMD_LINEDUPLICATE :: Int
+wxSTC_CMD_LINEDUPLICATE = 2404
+
+wxSTC_CMD_LOWERCASE :: Int
+wxSTC_CMD_LOWERCASE = 2340
+
+wxSTC_CMD_UPPERCASE :: Int
+wxSTC_CMD_UPPERCASE = 2341
+
+wxSTC_CMD_LINESCROLLDOWN :: Int
+wxSTC_CMD_LINESCROLLDOWN = 2342
+
+wxSTC_CMD_LINESCROLLUP :: Int
+wxSTC_CMD_LINESCROLLUP = 2343
+
+wxSTC_CMD_DELETEBACKNOTLINE :: Int
+wxSTC_CMD_DELETEBACKNOTLINE = 2344
+
+wxSTC_CMD_HOMEDISPLAY :: Int
+wxSTC_CMD_HOMEDISPLAY = 2345
+
+wxSTC_CMD_HOMEDISPLAYEXTEND :: Int
+wxSTC_CMD_HOMEDISPLAYEXTEND = 2346
+
+wxSTC_CMD_LINEENDDISPLAY :: Int
+wxSTC_CMD_LINEENDDISPLAY = 2347
+
+wxSTC_CMD_LINEENDDISPLAYEXTEND :: Int
+wxSTC_CMD_LINEENDDISPLAYEXTEND = 2348
+
+wxSTC_CMD_HOMEWRAP :: Int
+wxSTC_CMD_HOMEWRAP = 2349
+
+wxSTC_CMD_HOMEWRAPEXTEND :: Int
+wxSTC_CMD_HOMEWRAPEXTEND = 2450
+
+wxSTC_CMD_LINEENDWRAP :: Int
+wxSTC_CMD_LINEENDWRAP = 2451
+
+wxSTC_CMD_LINEENDWRAPEXTEND :: Int
+wxSTC_CMD_LINEENDWRAPEXTEND = 2452
+
+wxSTC_CMD_VCHOMEWRAP :: Int
+wxSTC_CMD_VCHOMEWRAP = 2453
+
+wxSTC_CMD_VCHOMEWRAPEXTEND :: Int
+wxSTC_CMD_VCHOMEWRAPEXTEND = 2454
+
+wxSTC_CMD_LINECOPY :: Int
+wxSTC_CMD_LINECOPY = 2455
+
+wxSTC_CMD_WORDPARTLEFT :: Int
+wxSTC_CMD_WORDPARTLEFT = 2390
+
+wxSTC_CMD_WORDPARTLEFTEXTEND :: Int
+wxSTC_CMD_WORDPARTLEFTEXTEND = 2391
+
+wxSTC_CMD_WORDPARTRIGHT :: Int
+wxSTC_CMD_WORDPARTRIGHT = 2392
+
+wxSTC_CMD_WORDPARTRIGHTEXTEND :: Int
+wxSTC_CMD_WORDPARTRIGHTEXTEND = 2393
+
+wxSTC_CMD_DELLINELEFT :: Int
+wxSTC_CMD_DELLINELEFT = 2395
+
+wxSTC_CMD_DELLINERIGHT :: Int
+wxSTC_CMD_DELLINERIGHT = 2396
+
+wxSTC_CMD_PARADOWN :: Int
+wxSTC_CMD_PARADOWN = 2413
+
+wxSTC_CMD_PARADOWNEXTEND :: Int
+wxSTC_CMD_PARADOWNEXTEND = 2414
+
+wxSTC_CMD_PARAUP :: Int
+wxSTC_CMD_PARAUP = 2415
+
+wxSTC_CMD_PARAUPEXTEND :: Int
+wxSTC_CMD_PARAUPEXTEND = 2416
+
+wxSTC_CMD_LINEDOWNRECTEXTEND :: Int
+wxSTC_CMD_LINEDOWNRECTEXTEND = 2426
+
+wxSTC_CMD_LINEUPRECTEXTEND :: Int
+wxSTC_CMD_LINEUPRECTEXTEND = 2427
+
+wxSTC_CMD_CHARLEFTRECTEXTEND :: Int
+wxSTC_CMD_CHARLEFTRECTEXTEND = 2428
+
+wxSTC_CMD_CHARRIGHTRECTEXTEND :: Int
+wxSTC_CMD_CHARRIGHTRECTEXTEND = 2429
+
+wxSTC_CMD_HOMERECTEXTEND :: Int
+wxSTC_CMD_HOMERECTEXTEND = 2430
+
+wxSTC_CMD_VCHOMERECTEXTEND :: Int
+wxSTC_CMD_VCHOMERECTEXTEND = 2431
+
+wxSTC_CMD_LINEENDRECTEXTEND :: Int
+wxSTC_CMD_LINEENDRECTEXTEND = 2432
+
+wxSTC_CMD_PAGEUPRECTEXTEND :: Int
+wxSTC_CMD_PAGEUPRECTEXTEND = 2433
+
+wxSTC_CMD_PAGEDOWNRECTEXTEND :: Int
+wxSTC_CMD_PAGEDOWNRECTEXTEND = 2434
+
+wxSTC_CMD_STUTTEREDPAGEUP :: Int
+wxSTC_CMD_STUTTEREDPAGEUP = 2435
+
+wxSTC_CMD_STUTTEREDPAGEUPEXTEND :: Int
+wxSTC_CMD_STUTTEREDPAGEUPEXTEND = 2436
+
+wxSTC_CMD_STUTTEREDPAGEDOWN :: Int
+wxSTC_CMD_STUTTEREDPAGEDOWN = 2437
+
+wxSTC_CMD_STUTTEREDPAGEDOWNEXTEND :: Int
+wxSTC_CMD_STUTTEREDPAGEDOWNEXTEND = 2438
+
+wxSTC_CMD_WORDLEFTEND :: Int
+wxSTC_CMD_WORDLEFTEND = 2439
+
+wxSTC_CMD_WORDLEFTENDEXTEND :: Int
+wxSTC_CMD_WORDLEFTENDEXTEND = 2440
+
+wxSTC_CMD_WORDRIGHTEND :: Int
+wxSTC_CMD_WORDRIGHTEND = 2441
+
+wxSTC_CMD_WORDRIGHTENDEXTEND :: Int
+wxSTC_CMD_WORDRIGHTENDEXTEND = 2442
+
+{-
+wxSPLASH_CENTRE_ON_PARENT :: Int
+wxSPLASH_CENTRE_ON_PARENT = 1
+
+wxSPLASH_CENTRE_ON_SCREEN :: Int
+wxSPLASH_CENTRE_ON_SCREEN = 2
+
+wxSPLASH_NO_CENTRE :: Int
+wxSPLASH_NO_CENTRE = 0
+
+wxSPLASH_TIMEOUT :: Int
+wxSPLASH_TIMEOUT = 4
+
+wxSPLASH_NO_TIMEOUT :: Int
+wxSPLASH_NO_TIMEOUT = 0
+-}
src/haskell/Graphics/UI/WXCore/WxcObject.hs view
@@ -1,195 +1,190 @@-{-# INCLUDE "wxc.h" #-}-{-# LANGUAGE CPP, ForeignFunctionInterface #-}-------------------------------------------------------------------------------------------{-|	Module      :  WxcObject-	Copyright   :  (c) Daan Leijen 2003, 2004-	License     :  wxWindows--	Maintainer  :  wxhaskell-devel@lists.sourceforge.net-	Stability   :  provisional-	Portability :  portable--Basic object type.--}-------------------------------------------------------------------------------------------module Graphics.UI.WXCore.WxcObject(-            -- * Object types-              Object, objectNull, objectIsNull, objectCast, objectIsManaged-            , objectFromPtr, objectFromManagedPtr-            , withObjectPtr-            , objectFinalize, objectNoFinalize-            -- * Managed objects-            , ManagedPtr, TManagedPtr, CManagedPtr-            ) where--import Control.Exception -import System.IO.Unsafe( unsafePerformIO )-import Foreign.C-import Foreign.Ptr-import Foreign.Storable-import Foreign.Marshal.Alloc-import Foreign.Marshal.Array--{- note: for GHC 6.10.2 or higher, recommends to use "import Foreign.Concurrent"-   See http://www.haskell.org/pipermail/cvs-ghc/2009-January/047120.html -}-import Foreign.ForeignPtr hiding (newForeignPtr,addForeignPtrFinalizer)-import Foreign.Concurrent--{------------------------------------------------------------------------------------------    Objects------------------------------------------------------------------------------------------}--{- | An @Object a@ is a pointer to an object of type @a@. The @a@ parameter is used-   to encode the inheritance relation. When the type parameter is unit @()@, it denotes-   an object of exactly that class, when the parameter is a type variable @a@, it-   specifies an object that is at least an instance of that class. For example in -   wxWindows, we have the following class hierarchy:--   > EvtHandler-   >   |- Window-   >        |- Frame-   >        |- Control-   >            |- Button-   >            |- Radiobox--   In wxHaskell, all the creation functions will return objects of exactly that-   class and use the @()@ type:--   > frameCreate :: Window a -> ... -> IO (Frame ())-   > buttonCreate :: Window a -> ... -> IO (Button ())-   > ...--   In contrast, all the /this/ (or /self/) pointers of methods can take objects-   of any instance of that class and have a type variable, for example:--   > windowSetClientSize :: Window a -> Size -> IO ()-   > controlSetLabel     :: Control a -> String -> IO ()-   > buttonSetDefault    :: Button a -> IO ()--   This means that we can use @windowSetClientSize@ on any window, including-   buttons and frames, but we can only use @controlSetLabel@ on controls, not-   includeing frames. --   In wxHaskell, this works since a @Frame ()@ is actually a type synonym for-   @Window (CFrame ())@ (where @CFrame@ is an abstract data type). We can thus-   pass a value of type @Frame ()@ to anything that expects some @Window a@.-   For a button this works too, as it is a synonym for @Control (CButton ())@-   which is in turn a synonym for @Window (CControl (CButton ()))@. Note that-   we can\'t pass a frame to something that expects a value of type @Control a@.-   Of course, a @Window a@ is actually a type synonym for @EvtHandler (CWindow a)@.-   If you study the documentation in "Graphics.UI.WXH.WxcClasses" closely, you-   can discover where this chain ends :-).  --   Objects are not automatically deleted. Normally you can use a delete function-   like @windowDelete@ to delete an object. However, almost all objects in the-   wxWindows library are automatically deleted by the library. The only objects-   that should be used with care are resources as bitmaps, fonts and brushes.--}-data Object a   = Object  !(Ptr a)-                | Managed !(ForeignPtr (TManagedPtr a))----- | Managed pointer (proxy) objects-type ManagedPtr a   = Ptr (CManagedPtr a)-type TManagedPtr a  = CManagedPtr a-data CManagedPtr a  = CManagedPtr---instance Eq (Object a) where-  obj1 == obj2-    = unsafePerformIO $-      withObjectPtr obj1 $ \p1 ->-      withObjectPtr obj2 $ \p2 ->-      return (p1 == p2)--instance Ord (Object a) where-  compare obj1 obj2-    = unsafePerformIO $-      withObjectPtr obj1 $ \p1 ->-      withObjectPtr obj2 $ \p2 ->-      return (compare p1 p2)--instance Show (Object a) where-  show obj-    = unsafePerformIO $-      withObjectPtr obj $ \p ->-      return (show p)---- | A null object. Use with care.-objectNull :: Object a-objectNull-  = Object nullPtr---- | Is this a managed object.-objectIsManaged :: Object a -> Bool-objectIsManaged obj-  = case obj of-      Managed fp -> True-      _          -> False---- | Test for null object.-objectIsNull :: Object a -> Bool-objectIsNull obj-  = unsafePerformIO $-    withObjectPtr obj $ \p -> return (p == nullPtr)-      ---- | Cast an object to another type. Use with care.-objectCast :: Object a -> Object b-objectCast obj-  = case obj of-      Object p   -> Object (castPtr p)-      Managed fp -> Managed (castForeignPtr fp) ----- | Do something with the object pointer.-withObjectPtr :: Object a -> (Ptr a -> IO b) -> IO b-withObjectPtr obj f-  = case obj of-      Object p   -> f p-      Managed fp -> withForeignPtr fp $ \mp ->-                    do p <- wxManagedPtr_GetPtr mp-                       f p---- | Finalize a managed object manually. (no effect on unmanaged objects)-objectFinalize :: Object a -> IO ()-objectFinalize obj-  = case obj of-      Object p   -> return ()-      Managed fp -> withForeignPtr fp $ wxManagedPtr_Finalize-                          --- | Remove the finalizer on a managed object. (no effect on unmanaged objects)-objectNoFinalize :: Object a -> IO ()-objectNoFinalize obj-  = case obj of-      Object p   -> return ()-      Managed fp -> withForeignPtr fp $ wxManagedPtr_NoFinalize----- | Create an unmanaged object.-objectFromPtr :: Ptr a -> Object a-objectFromPtr p-  = Object p---- | Create a managed object with a given finalizer.-objectFromManagedPtr :: ManagedPtr a -> IO (Object a)-objectFromManagedPtr mp-  = do fun <- wxManagedPtrDeleteFunction-       -- wxManagedPtr_NoFinalize mp    {- turn off finalization -}-       fp <- newForeignPtr mp (fun mp)-       return (Managed fp)---wxManagedPtrDeleteFunction :: IO (ManagedPtr a -> IO ())-wxManagedPtrDeleteFunction-  = do fun <- wxManagedPtr_GetDeleteFunction-       return $ wxManagedPtr_CallbackFunction fun--{---------------------------------------------------------------------------  Managed pointers---------------------------------------------------------------------------}-foreign import ccall wxManagedPtr_GetPtr     :: Ptr (TManagedPtr a) -> IO (Ptr a)-foreign import ccall wxManagedPtr_Finalize   :: ManagedPtr a -> IO ()-foreign import ccall wxManagedPtr_NoFinalize :: ManagedPtr a -> IO ()-foreign import ccall wxManagedPtr_GetDeleteFunction :: IO (FunPtr (ManagedPtr a -> IO ()))-foreign import ccall "dynamic" wxManagedPtr_CallbackFunction :: FunPtr (ManagedPtr a -> IO ()) -> ManagedPtr a -> IO ()+{-# LANGUAGE CPP, ForeignFunctionInterface #-}
+-----------------------------------------------------------------------------------------
+{-|
+Module      :  WxcObject
+Copyright   :  (c) Daan Leijen 2003, 2004
+License     :  wxWindows
+
+Maintainer  :  wxhaskell-devel@lists.sourceforge.net
+Stability   :  provisional
+Portability :  portable
+
+Basic object type.
+-}
+-----------------------------------------------------------------------------------------
+module Graphics.UI.WXCore.WxcObject(
+            -- * Object types
+              Object, objectNull, objectIsNull, objectCast, objectIsManaged
+            , objectFromPtr, objectFromManagedPtr
+            , withObjectPtr
+            , objectFinalize, objectNoFinalize
+            -- * Managed objects
+            , ManagedPtr, TManagedPtr, CManagedPtr(..)
+            ) where
+
+import System.IO.Unsafe( unsafePerformIO )
+import Foreign.Ptr
+
+{- note: for GHC 6.10.2 or higher, recommends to use "import Foreign.Concurrent"
+   See http://www.haskell.org/pipermail/cvs-ghc/2009-January/047120.html -}
+import Foreign.ForeignPtr hiding (newForeignPtr,addForeignPtrFinalizer)
+import Foreign.Concurrent
+
+{-----------------------------------------------------------------------------------------
+    Objects
+-----------------------------------------------------------------------------------------}
+
+{- | An @Object a@ is a pointer to an object of type @a@. The @a@ parameter is used
+   to encode the inheritance relation. When the type parameter is unit @()@, it denotes
+   an object of exactly that class, when the parameter is a type variable @a@, it
+   specifies an object that is at least an instance of that class. For example in 
+   wxWidgets, we have the following class hierarchy:
+
+   > EvtHandler
+   >   |- Window
+   >        |- Frame
+   >        |- Control
+   >            |- Button
+   >            |- Radiobox
+
+   In wxHaskell, all the creation functions will return objects of exactly that
+   class and use the @()@ type:
+
+   > frameCreate :: Window a -> ... -> IO (Frame ())
+   > buttonCreate :: Window a -> ... -> IO (Button ())
+   > ...
+
+   In contrast, all the /this/ (or /self/) pointers of methods can take objects
+   of any instance of that class and have a type variable, for example:
+
+   > windowSetClientSize :: Window a -> Size -> IO ()
+   > controlSetLabel     :: Control a -> String -> IO ()
+   > buttonSetDefault    :: Button a -> IO ()
+
+   This means that we can use @windowSetClientSize@ on any window, including
+   buttons and frames, but we can only use @controlSetLabel@ on controls, not
+   including frames.
+
+   In wxHaskell, this works since a @Frame ()@ is actually a type synonym for
+   @Window (CFrame ())@ (where @CFrame@ is an abstract data type). We can thus
+   pass a value of type @Frame ()@ to anything that expects some @Window a@.
+   For a button this works too, as it is a synonym for @Control (CButton ())@
+   which is in turn a synonym for @Window (CControl (CButton ()))@. Note that
+   we can\'t pass a frame to something that expects a value of type @Control a@.
+   Of course, a @Window a@ is actually a type synonym for @EvtHandler (CWindow a)@.
+   If you study the documentation in "Graphics.UI.WX.Classes" closely, you
+   can discover where this chain ends :-).  
+
+   Objects are not automatically deleted. Normally you can use a delete function
+   like @windowDelete@ to delete an object. However, almost all objects in the
+   wxWidgets library are automatically deleted by the library. The only objects
+   that should be used with care are resources as bitmaps, fonts and brushes.
+-}
+data Object a   = Object  !(Ptr a)
+                | Managed !(ForeignPtr (TManagedPtr a))
+
+
+-- | Managed pointer (proxy) objects
+type ManagedPtr a   = Ptr (CManagedPtr a)
+type TManagedPtr a  = CManagedPtr a
+data CManagedPtr a  = CManagedPtr
+
+
+instance Eq (Object a) where
+  obj1 == obj2
+    = unsafePerformIO $
+      withObjectPtr obj1 $ \p1 ->
+      withObjectPtr obj2 $ \p2 ->
+      return (p1 == p2)
+
+instance Ord (Object a) where
+  compare obj1 obj2
+    = unsafePerformIO $
+      withObjectPtr obj1 $ \p1 ->
+      withObjectPtr obj2 $ \p2 ->
+      return (compare p1 p2)
+
+instance Show (Object a) where
+  show obj
+    = unsafePerformIO $
+      withObjectPtr obj $ \p ->
+      return (show p)
+
+-- | A null object. Use with care.
+objectNull :: Object a
+objectNull
+  = Object nullPtr
+
+-- | Is this a managed object?
+objectIsManaged :: Object a -> Bool
+objectIsManaged obj
+  = case obj of
+      Managed _fp -> True
+      _           -> False
+
+-- | Test for null object.
+objectIsNull :: Object a -> Bool
+objectIsNull obj
+  = unsafePerformIO $
+    withObjectPtr obj $ \p -> return (p == nullPtr)
+      
+
+-- | Cast an object to another type. Use with care.
+objectCast :: Object a -> Object b
+objectCast obj
+  = case obj of
+      Object p   -> Object (castPtr p)
+      Managed fp -> Managed (castForeignPtr fp) 
+
+
+-- | Do something with the object pointer.
+withObjectPtr :: Object a -> (Ptr a -> IO b) -> IO b
+withObjectPtr obj f
+  = case obj of
+      Object p   -> f p
+      Managed fp -> withForeignPtr fp $ \mp ->
+                    do p <- wxManagedPtr_GetPtr mp
+                       f p
+
+-- | Finalize a managed object manually. (No effect on unmanaged objects.)
+objectFinalize :: Object a -> IO ()
+objectFinalize obj
+  = case obj of
+      Object _p  -> return ()
+      Managed fp -> withForeignPtr fp $ wxManagedPtr_Finalize
+                          
+-- | Remove the finalizer on a managed object. (No effect on unmanaged objects.)
+objectNoFinalize :: Object a -> IO ()
+objectNoFinalize obj
+  = case obj of
+      Object  _p -> return ()
+      Managed fp -> withForeignPtr fp $ wxManagedPtr_NoFinalize
+
+
+-- | Create an unmanaged object.
+objectFromPtr :: Ptr a -> Object a
+objectFromPtr p
+  = Object p
+
+-- | Create a managed object with a given finalizer.
+objectFromManagedPtr :: ManagedPtr a -> IO (Object a)
+objectFromManagedPtr mp
+  = do fun <- wxManagedPtrDeleteFunction
+       -- wxManagedPtr_NoFinalize mp    {- turn off finalization -}
+       fp <- newForeignPtr mp (fun mp)
+       return (Managed fp)
+
+
+wxManagedPtrDeleteFunction :: IO (ManagedPtr a -> IO ())
+wxManagedPtrDeleteFunction
+  = do fun <- wxManagedPtr_GetDeleteFunction
+       return $ wxManagedPtr_CallbackFunction fun
+
+{--------------------------------------------------------------------------
+  Managed pointers
+--------------------------------------------------------------------------}
+foreign import ccall wxManagedPtr_GetPtr     :: Ptr (TManagedPtr a) -> IO (Ptr a)
+foreign import ccall wxManagedPtr_Finalize   :: ManagedPtr a -> IO ()
+foreign import ccall wxManagedPtr_NoFinalize :: ManagedPtr a -> IO ()
+foreign import ccall wxManagedPtr_GetDeleteFunction :: IO (FunPtr (ManagedPtr a -> IO ()))
+foreign import ccall "dynamic" wxManagedPtr_CallbackFunction :: FunPtr (ManagedPtr a -> IO ()) -> ManagedPtr a -> IO ()
src/haskell/Graphics/UI/WXCore/WxcTypes.hs view
@@ -1,1406 +1,1459 @@-{-# INCLUDE "wxc.h" #-}-{-# LANGUAGE CPP, ForeignFunctionInterface, DeriveDataTypeable #-}-{-# LANGUAGE GeneralizedNewtypeDeriving #-}-------------------------------------------------------------------------------------------{-|	Module      :  WxcTypes-	Copyright   :  (c) Daan Leijen 2003, 2004-	License     :  wxWindows--	Maintainer  :  wxhaskell-devel@lists.sourceforge.net-	Stability   :  provisional-	Portability :  portable--Basic types and marshaling code for the wxWindows C library.--}-------------------------------------------------------------------------------------------module Graphics.UI.WXCore.WxcTypes(-            -- * Object types-              Object, objectNull, objectIsNull, objectCast, objectIsManaged-            , objectDelete-            , objectFromPtr, managedObjectFromPtr-            , withObjectPtr, withObjectRef-            , withObjectResult, withManagedObjectResult-            , objectFinalize, objectNoFinalize-            ---            , Managed, managedNull, managedIsNull, managedCast, createManaged, withManaged, managedTouch--            -- * Type synonyms-            , Id-            , Style-            , EventId--            -- * Basic types-            , fromBool, toBool--            -- ** Point-            , Point, Point2(Point,pointX,pointY), point, pt, pointFromVec, pointFromSize, pointZero, pointNull--            -- ** Size-            , Size, Size2D(Size,sizeW,sizeH), sz, sizeFromPoint, sizeFromVec, sizeZero, sizeNull--            -- ** Vector-            , Vector, Vector2(Vector,vecX,vecY), vector, vec, vecFromPoint, vecFromSize, vecZero, vecNull--            -- ** Rectangle-            , Rect, Rect2D(Rect,rectLeft,rectTop,rectWidth,rectHeight)-            , rectTopLeft, rectTopRight, rectBottomLeft, rectBottomRight, rectBottom, rectRight-            , rect, rectBetween, rectFromSize, rectZero, rectNull, rectSize, rectIsEmpty--            -- ** Color-            , Color(..), rgb, colorRGB, rgba, colorRGBA, colorRed, colorGreen, colorBlue, colorAlpha-            , intFromColor, colorFromInt, fromColor, toColor, colorOk, colorIsOk--            -- * Marshalling-            -- ** Basic types-            , withPointResult, withWxPointResult, toCIntPointX, toCIntPointY, fromCPoint, withCPoint-            , withPointDoubleResult, toCDoublePointX, toCDoublePointY, fromCPointDouble, withCPointDouble-            , withSizeResult, withWxSizeResult, toCIntSizeW, toCIntSizeH, fromCSize, withCSize-            , withSizeDoubleResult, toCDoubleSizeW, toCDoubleSizeH, fromCSizeDouble, withCSizeDouble-            , withVectorResult, withWxVectorResult, toCIntVectorX, toCIntVectorY, fromCVector, withCVector-            , withVectorDoubleResult, toCDoubleVectorX, toCDoubleVectorY, fromCVectorDouble, withCVectorDouble-            , withRectResult, withWxRectResult, withWxRectPtr, toCIntRectX, toCIntRectY, toCIntRectW, toCIntRectH, fromCRect, withCRect-            , withRectDoubleResult, toCDoubleRectX, toCDoubleRectY, toCDoubleRectW, toCDoubleRectH, fromCRectDouble, withCRectDouble-            , withArray, withArrayString, withArrayWString, withArrayInt, withArrayObject-            , withArrayIntResult, withArrayStringResult, withArrayWStringResult, withArrayObjectResult--            , colourFromColor, colorFromColour-            , colourCreate, colourSafeDelete -- , colourCreateRGB, colourRed, colourGreen, colourBlue colourAlpha--  -            -- ** Managed object types--            -- , managedAddFinalizer-            , TreeItem, treeItemInvalid, treeItemIsOk, treeItemFromInt-            , withRefTreeItemId, withTreeItemIdPtr, withTreeItemIdRef, withManagedTreeItemIdResult-            , withStringRef, withStringPtr, withManagedStringResult-            , withRefColour, withColourRef, withColourPtr, withManagedColourResult-            , withRefBitmap, withManagedBitmapResult-            , withRefCursor, withManagedCursorResult-            , withRefIcon, withManagedIconResult-            , withRefPen, withManagedPenResult-            , withRefBrush, withManagedBrushResult-            , withRefFont, withManagedFontResult-            , withRefImage-            , withRefListItem-            , withRefFontData-            , withRefPrintData-            , withRefPageSetupDialogData-            , withRefPrintDialogData-            , withRefDateTime, withManagedDateTimeResult-            , withRefGridCellCoordsArray, withManagedGridCellCoordsArrayResult---            -- ** Primitive types-            -- *** CString-            , CString, withCString, withStringResult-            , CWString, withCWString, withWStringResult-            -- *** ByteString-            , withByteStringResult, withLazyByteStringResult-            -- *** CInt-            , CInt, toCInt, fromCInt, withIntResult-            -- *** Word-            , Word-            -- *** 8 bit Word-            , Word8-            -- *** 64 bit Integer-            , Int64-            -- *** CDouble-            , CDouble, toCDouble, fromCDouble, withDoubleResult-            -- *** CChar-            , CChar, toCChar, fromCChar, withCharResult-            , CWchar, toCWchar-            -- *** CBool-            , CBool, toCBool, fromCBool, withBoolResult-            -- ** Pointers-            , Ptr, ptrNull, ptrIsNull, ptrCast, ForeignPtr, FunPtr, toCFunPtr-            ) where--import Control.Exception -import System.IO.Unsafe( unsafePerformIO )-import Foreign.C-import Foreign.Ptr-import Foreign.Storable-import Foreign.Marshal.Alloc-import Foreign.Marshal.Array-import Foreign.Marshal.Utils (fromBool, toBool)--{- note: for GHC 6.10.2 or higher, recommends to use "import Foreign.Concurrent"-   See http://www.haskell.org/pipermail/cvs-ghc/2009-January/047120.html -}-import Foreign.ForeignPtr hiding (newForeignPtr,addForeignPtrFinalizer)-import Foreign.Concurrent--import Data.Array.MArray (MArray)-import Data.Array.Unboxed (IArray, UArray)-import Data.Bits( shiftL, shiftR, (.&.), (.|.) )--import qualified Data.ByteString as B-import qualified Data.ByteString.Lazy as LB-import qualified Data.ByteString.Char8 as BC (pack)-import qualified Data.ByteString.Lazy.Char8 as LBC (pack)--{- note: this is just for instances for the WX library and not necessary for WXCore -}-import Data.Dynamic--import Data.Int-import Data.Word-import Debug.Trace (putTraceMsg)--import Graphics.UI.WXCore.WxcObject-import Graphics.UI.WXCore.WxcClassTypes--{------------------------------------------------------------------------------------------    Objects------------------------------------------------------------------------------------------}--- | An @Id@ is used to identify objects during event handling.-type Id = Int---- | An @EventId@ is identifies specific events.-type EventId = Int---- | A @Style@ is normally used as a flag mask to specify some window style-type Style = Int----- | Delete a wxObject, works for managed and unmanaged objects.-objectDelete :: WxObject a -> IO ()-objectDelete obj-  = if objectIsManaged obj-     then objectFinalize obj-     else withObjectPtr obj $ \p ->-          wxObject_SafeDelete p-                                    --- | Create a managed object that will be deleted using |wxObject_SafeDelete|.-managedObjectFromPtr :: Ptr (TWxObject a) -> IO (WxObject a)-managedObjectFromPtr p -  = do mp <- wxManagedPtr_CreateFromObject p-       objectFromManagedPtr mp---- | Create a managed object that will be deleted using |wxObject_SafeDelete|.-withManagedObjectResult :: IO (Ptr (TWxObject a)) -> IO (WxObject a)-withManagedObjectResult io-  = do p <- io-       managedObjectFromPtr p---- | Return an unmanaged object.-withObjectResult :: IO (Ptr a) -> IO (Object a)-withObjectResult io-  = do p <- io-       return (objectFromPtr p)---- | Extract the object pointer and raise an exception if @NULL@.--- Otherwise continue with the valid pointer.-withObjectRef :: String -> Object a -> (Ptr a -> IO b) -> IO b-withObjectRef msg obj f-  = withObjectPtr obj $ \p -> -    withValidPtr msg p f---- | Execute the continuation when the pointer is not null and--- raise an error otherwise.-withValidPtr :: String -> Ptr a -> (Ptr a -> IO b) -> IO b-withValidPtr msg p f-  = if (p == nullPtr)-     then ioError (userError ("wxHaskell: NULL object" ++ (if null msg then "" else ": " ++ msg)))-     else f p---foreign import ccall wxManagedPtr_CreateFromObject :: Ptr (TWxObject a) -> IO (ManagedPtr (TWxObject a))-foreign import ccall wxObject_SafeDelete           :: Ptr (TWxObject a) -> IO ()---{------------------------------------------------------------------------------------------  Point------------------------------------------------------------------------------------------}---- | Define Point type synonym for backward compatibility.-type Point = Point2 Int---- | A point has an x and y coordinate. Coordinates are normally relative to the--- upper-left corner of their view frame, where a positive x goes to the right and--- a positive y to the bottom of the view.-data (Num a) => Point2 a = Point-        { pointX :: {-# UNPACK #-} !a -- ^ x component of a point.-        , pointY :: {-# UNPACK #-} !a -- ^ y component of a point.-        }-        deriving (Eq,Show,Read,Typeable)---- | Construct a point.-point :: (Num a) => a -> a -> Point2 a-point x y  = Point x y---- | Shorter function to construct a point.-pt :: (Num a) => a -> a -> Point2 a-pt x y  = Point x y--pointFromVec :: (Num a) => Vector -> Point2 a-pointFromVec (Vector x y)-  = Point (fromIntegral x) (fromIntegral y)--pointFromSize :: (Num a) => Size -> Point2 a-pointFromSize (Size w h)-  = Point (fromIntegral w) (fromIntegral h)---- | Point at the origin.-pointZero :: (Num a) => Point2 a-pointZero-  = Point 0 0---- | A `null' point is not a legal point (x and y are -1) and can be used for some--- wxWindows functions to select a default point.-pointNull :: (Num a) => Point2 a-pointNull-  = Point (-1) (-1)---- marshalling-withCPoint :: Point2 Int -> (CInt -> CInt -> IO a) -> IO a-withCPoint (Point x y) f-  = f (toCInt x) (toCInt y)--withPointResult :: (Ptr CInt -> Ptr CInt -> IO ()) -> IO (Point2 Int)-withPointResult f-  = alloca $ \px ->-    alloca $ \py ->-    do f px py-       x <- peek px-       y <- peek py-       return (fromCPoint x y)--toCIntPointX, toCIntPointY :: Point2 Int -> CInt-toCIntPointX (Point x y)  = toCInt x-toCIntPointY (Point x y)  = toCInt y--fromCPoint :: CInt -> CInt -> Point2 Int-fromCPoint x y-  = Point (fromCInt x) (fromCInt y)--withCPointDouble :: Point2 Double -> (CDouble -> CDouble -> IO a) -> IO a-withCPointDouble (Point x y) f-  = f (toCDouble x) (toCDouble y)--withPointDoubleResult :: (Ptr CDouble -> Ptr CDouble -> IO ()) -> IO (Point2 Double)-withPointDoubleResult f-  = alloca $ \px ->-    alloca $ \py ->-    do f px py-       x <- peek px-       y <- peek py-       return (fromCPointDouble x y)--toCDoublePointX, toCDoublePointY :: Point2 Double -> CDouble-toCDoublePointX (Point x y)  = toCDouble x-toCDoublePointY (Point x y)  = toCDouble y--fromCPointDouble :: CDouble -> CDouble -> Point2 Double-fromCPointDouble x y-  = Point (fromCDouble x) (fromCDouble y)--{---- | A @wxPoint@ object.-type WxPointObject a   = Ptr (CWxPointObject a)-type TWxPointObject a  = CWxPointObject a-data CWxPointObject a  = CWxPointObject--}--withWxPointResult :: IO (Ptr (TWxPoint a)) -> IO (Point2 Int)-withWxPointResult io-  = do pt <- io-       x  <- wxPoint_GetX pt-       y  <- wxPoint_GetY pt-       wxPoint_Delete pt-       return (fromCPoint x y)--foreign import ccall wxPoint_Delete :: Ptr (TWxPoint a) -> IO ()-foreign import ccall wxPoint_GetX   :: Ptr (TWxPoint a) -> IO CInt-foreign import ccall wxPoint_GetY   :: Ptr (TWxPoint a) -> IO CInt---{------------------------------------------------------------------------------------------  Size------------------------------------------------------------------------------------------}---- | Define Point type synonym for backward compatibility.-type Size = Size2D Int---- | A @Size@ has a width and height.-data (Num a) => Size2D a = Size-        { sizeW :: {-# UNPACK #-} !a -- ^ the width  of a size-        , sizeH :: {-# UNPACK #-} !a -- ^ the height of a size-        }-        deriving (Eq,Show,Typeable)---- | Construct a size from a width and height.-size :: (Num a) => a -> a -> Size2D a-size w h-  = Size w h---- | Short function to construct a size-sz :: (Num a) => a -> a -> Size2D a-sz w h-  = Size w h--sizeFromPoint :: (Num a) => Point2 a -> Size2D a-sizeFromPoint (Point x y)-  = Size x y--sizeFromVec   :: (Num a) => Vector2 a -> Size2D a-sizeFromVec (Vector x y)-  = Size x y--sizeZero :: (Num a) => Size2D a-sizeZero-  = Size 0 0---- | A `null' size is not a legal size (width and height are -1) and can be used for some--- wxWindows functions to select a default size.-sizeNull :: (Num a) => Size2D a-sizeNull-  = Size (-1) (-1)---- marshalling-withCSize :: Size -> (CInt -> CInt -> IO a) -> IO a-withCSize (Size w h) f-  = f (toCInt w) (toCInt h)--withSizeResult :: (Ptr CInt -> Ptr CInt -> IO ()) -> IO Size-withSizeResult f-  = alloca $ \cw ->-    alloca $ \ch ->-    do f cw ch-       w <- peek cw-       h <- peek ch-       return (fromCSize w h)--fromCSize :: CInt -> CInt -> Size-fromCSize w h-  = Size (fromCInt w) (fromCInt h)--toCIntSizeW, toCIntSizeH :: Size -> CInt-toCIntSizeW (Size w h)  = toCInt w-toCIntSizeH (Size w h)  = toCInt h--withCSizeDouble :: Size2D Double -> (CDouble -> CDouble -> IO a) -> IO a-withCSizeDouble (Size w h) f-  = f (toCDouble w) (toCDouble h)--withSizeDoubleResult :: (Ptr CDouble -> Ptr CDouble -> IO ()) -> IO (Size2D Double)-withSizeDoubleResult f-  = alloca $ \cw ->-    alloca $ \ch ->-    do f cw ch-       w <- peek cw-       h <- peek ch-       return (fromCSizeDouble w h)--fromCSizeDouble :: CDouble -> CDouble -> Size2D Double-fromCSizeDouble w h-  = Size (fromCDouble w) (fromCDouble h)--toCDoubleSizeW, toCDoubleSizeH :: Size2D Double -> CDouble-toCDoubleSizeW (Size w h)  = toCDouble w-toCDoubleSizeH (Size w h)  = toCDouble h--{---- | A @wxSize@ object.-type WxSizeObject a   = Ptr (CWxSizeObject a)-type TWxSizeObject a  = CWxSizeObject a-data CWxSizeObject a  = CWxSizeObject--}--withWxSizeResult :: IO (Ptr (TWxSize a)) -> IO Size-withWxSizeResult io-  = do sz <- io-       w  <- wxSize_GetWidth  sz-       h  <- wxSize_GetHeight sz-       wxSize_Delete sz-       return (fromCSize w h)--foreign import ccall wxSize_Delete    :: Ptr (TWxSize a) -> IO ()-foreign import ccall wxSize_GetWidth  :: Ptr (TWxSize a) -> IO CInt-foreign import ccall wxSize_GetHeight :: Ptr (TWxSize a) -> IO CInt---{------------------------------------------------------------------------------------------  Vector------------------------------------------------------------------------------------------}---- | Define Point type synonym for backward compatibility.-type Vector = Vector2 Int---- | A vector with an x and y delta.-data (Num a) => Vector2 a = Vector-        { vecX :: {-# UNPACK #-} !a -- ^ delta-x component of a vector-        , vecY :: {-# UNPACK #-} !a -- ^ delta-y component of a vector-        }-        deriving (Eq,Show,Read,Typeable)---- | Construct a vector.-vector :: (Num a) => a -> a -> Vector2 a-vector dx dy  = Vector dx dy---- | Short function to construct a vector.-vec :: (Num a) => a -> a -> Vector2 a-vec dx dy  = Vector dx dy---- | A zero vector-vecZero :: (Num a) => Vector2 a-vecZero-  = Vector 0 0---- | A `null' vector has a delta x and y of -1 and can be used for some--- wxWindows functions to select a default vector.-vecNull :: (Num a) => Vector2 a-vecNull-  = Vector (-1) (-1)--vecFromPoint :: (Num a) => Point2 a -> Vector2 a-vecFromPoint (Point x y)-  = Vector x y--vecFromSize :: Size -> Vector-vecFromSize (Size w h)-  = Vector w h----- marshalling-withCVector :: Vector -> (CInt -> CInt -> IO a) -> IO a-withCVector (Vector x y) f-  = f (toCInt x) (toCInt y)--withVectorResult :: (Ptr CInt -> Ptr CInt -> IO ()) -> IO Vector-withVectorResult f-  = alloca $ \px ->-    alloca $ \py ->-    do f px py-       x <- peek px-       y <- peek py-       return (fromCVector x y)--toCIntVectorX, toCIntVectorY :: Vector -> CInt-toCIntVectorX (Vector x y)  = toCInt x-toCIntVectorY (Vector x y)  = toCInt y--fromCVector :: CInt -> CInt -> Vector-fromCVector x y-  = Vector (fromCInt x) (fromCInt y)--withCVectorDouble :: Vector2 Double -> (CDouble -> CDouble -> IO a) -> IO a-withCVectorDouble (Vector x y) f-  = f (toCDouble x) (toCDouble y)--withVectorDoubleResult :: (Ptr CDouble -> Ptr CDouble -> IO ()) -> IO (Vector2 Double)-withVectorDoubleResult f-  = alloca $ \px ->-    alloca $ \py ->-    do f px py-       x <- peek px-       y <- peek py-       return (fromCVectorDouble x y)--toCDoubleVectorX, toCDoubleVectorY :: Vector2 Double -> CDouble-toCDoubleVectorX (Vector x y)  = toCDouble x-toCDoubleVectorY (Vector x y)  = toCDouble y--fromCVectorDouble :: CDouble -> CDouble -> Vector2 Double-fromCVectorDouble x y-  = Vector (fromCDouble x) (fromCDouble y)---withWxVectorResult :: IO (Ptr (TWxPoint a)) -> IO Vector-withWxVectorResult io-  = do pt <- io-       x  <- wxPoint_GetX pt-       y  <- wxPoint_GetY pt-       wxPoint_Delete pt-       return (fromCVector x y)---{------------------------------------------------------------------------------------------  Rectangle------------------------------------------------------------------------------------------}---- | Define Point type synonym for backward compatibility.-type Rect = Rect2D Int---- | A rectangle is defined by the left x coordinate, the top y coordinate,--- the width and the height.-data (Num a) => Rect2D a = Rect-        { rectLeft   :: {-# UNPACK #-} !a-        , rectTop    :: {-# UNPACK #-} !a-        , rectWidth  :: {-# UNPACK #-} !a-        , rectHeight :: {-# UNPACK #-} !a-        }-        deriving (Eq,Show,Read,Typeable)---rectTopLeft, rectTopRight, rectBottomLeft, rectBottomRight :: (Num a) => Rect2D a -> Point2 a-rectTopLeft     (Rect l t w h)  = Point l t-rectTopRight    (Rect l t w h)  = Point (l+w) t-rectBottomLeft  (Rect l t w h)  = Point l (t+h)-rectBottomRight (Rect l t w h)  = Point (l+w) (t+h)--rectBottom, rectRight :: (Num a) => Rect2D a -> a-rectBottom (Rect x y w h)  = y + h-rectRight  (Rect x y w h)  = x + w---- | Create a rectangle at a certain (upper-left) point with a certain size.-rect :: (Num a) => Point2 a -> Size2D a -> Rect2D a-rect (Point x y) (Size w h)-  = Rect x y w h---- | Construct a (positive) rectangle between two (arbitrary) points.-rectBetween :: (Num a, Ord a) => Point2 a -> Point2 a -> Rect2D a-rectBetween (Point x0 y0) (Point x1 y1)-  = Rect (min x0 x1) (min y0 y1) (abs (x1-x0)) (abs (y1-y0))---- | An empty rectangle at (0,0).-rectZero :: (Num a) => Rect2D a-rectZero-  = Rect 0 0 0 0---- | An `null' rectangle is not a valid rectangle (@Rect -1 -1 -1 -1@) but can--- used for some wxWindows functions to select a default rectangle. (i.e. 'frameCreate').-rectNull :: (Num a) => Rect2D a-rectNull-  = Rect (-1) (-1) (-1) (-1)---- | Get the size of a rectangle.-rectSize :: (Num a) => Rect2D a -> Size2D a-rectSize (Rect l t w h)-  = Size w h---- | Create a rectangle of a certain size with the upper-left corner at ('pt' 0 0).-rectFromSize :: (Num a) => Size2D a -> Rect2D a-rectFromSize (Size w h)-  = Rect 0 0 w h--rectIsEmpty :: (Num a) => Rect2D a -> Bool-rectIsEmpty (Rect l t w h)-  = (w==0 && h==0)------ marshalling 1-withCRect :: Rect -> (CInt -> CInt -> CInt -> CInt -> IO a) -> IO a-withCRect (Rect x0 y0 x1 y1) f-  = f (toCInt (x0)) (toCInt (y0)) (toCInt (x1)) (toCInt (y1))--withRectResult :: (Ptr CInt -> Ptr CInt -> Ptr CInt -> Ptr CInt -> IO ()) -> IO Rect-withRectResult f-  = alloca $ \cx ->-    alloca $ \cy ->-    alloca $ \cw ->-    alloca $ \ch ->-    do f cx cy cw ch-       x <- peek cx-       y <- peek cy-       w <- peek cw-       h <- peek ch-       return (fromCRect x y w h)--fromCRect :: CInt -> CInt -> CInt -> CInt -> Rect-fromCRect x y w h-  = Rect (fromCInt x) (fromCInt y) (fromCInt w) (fromCInt h)--toCIntRectX, toCIntRectY, toCIntRectW, toCIntRectH :: Rect -> CInt-toCIntRectX (Rect x y w h)  = toCInt x-toCIntRectY (Rect x y w h)  = toCInt y-toCIntRectW (Rect x y w h)  = toCInt w-toCIntRectH (Rect x y w h)  = toCInt h--withCRectDouble :: Rect2D Double -> (CDouble -> CDouble -> CDouble -> CDouble -> IO a) -> IO a-withCRectDouble (Rect x0 y0 x1 y1) f-  = f (toCDouble (x0)) (toCDouble (y0)) (toCDouble (x1)) (toCDouble (y1))--withRectDoubleResult :: (Ptr CDouble -> Ptr CDouble -> Ptr CDouble -> Ptr CDouble -> IO ()) -> IO (Rect2D Double)-withRectDoubleResult f-  = alloca $ \cx ->-    alloca $ \cy ->-    alloca $ \cw ->-    alloca $ \ch ->-    do f cx cy cw ch-       x <- peek cx-       y <- peek cy-       w <- peek cw-       h <- peek ch-       return (fromCRectDouble x y w h)--fromCRectDouble :: CDouble -> CDouble -> CDouble -> CDouble -> Rect2D Double-fromCRectDouble x y w h-  = Rect (fromCDouble x) (fromCDouble y) (fromCDouble w) (fromCDouble h)--toCDoubleRectX, toCDoubleRectY, toCDoubleRectW, toCDoubleRectH :: Rect2D Double -> CDouble-toCDoubleRectX (Rect x y w h)  = toCDouble x-toCDoubleRectY (Rect x y w h)  = toCDouble y-toCDoubleRectW (Rect x y w h)  = toCDouble w-toCDoubleRectH (Rect x y w h)  = toCDouble h---- marshalling 2-{---- | A @wxRect@ object.-type WxRectObject a   = Ptr (CWxRectObject a)-type TWxRectObject a  = CWxRectObject a-data CWxRectObject a  = CWxRectObject--}--withWxRectRef :: String -> Rect -> (Ptr (TWxRect r) -> IO a) -> IO a-withWxRectRef msg r f-  = withWxRectPtr r $ \p -> withValidPtr msg p f--withWxRectPtr :: Rect -> (Ptr (TWxRect r) -> IO a) -> IO a-withWxRectPtr r f-  = bracket (withCRect r wxRect_Create)-            (wxRect_Delete)-            f--withWxRectResult :: IO (Ptr (TWxRect a)) -> IO Rect-withWxRectResult io-  = do rt <- io-       x  <- wxRect_GetX  rt-       y  <- wxRect_GetY  rt-       w  <- wxRect_GetWidth  rt-       h  <- wxRect_GetHeight rt-       wxRect_Delete rt-       return (fromCRect x y w h)--foreign import ccall wxRect_Create    :: CInt -> CInt -> CInt -> CInt -> IO (Ptr (TWxRect a))-foreign import ccall wxRect_Delete    :: Ptr (TWxRect a) -> IO ()-foreign import ccall wxRect_GetX      :: Ptr (TWxRect a) -> IO CInt-foreign import ccall wxRect_GetY      :: Ptr (TWxRect a) -> IO CInt-foreign import ccall wxRect_GetWidth  :: Ptr (TWxRect a) -> IO CInt-foreign import ccall wxRect_GetHeight :: Ptr (TWxRect a) -> IO CInt---{------------------------------------------------------------------------------------------  CInt------------------------------------------------------------------------------------------}-withIntResult :: IO CInt -> IO Int-withIntResult io-  = do x <- io-       return (fromCInt x)--toCInt :: Int -> CInt-toCInt i = fromIntegral i--fromCInt :: CInt -> Int-fromCInt ci-  = fromIntegral ci--{------------------------------------------------------------------------------------------  CDouble------------------------------------------------------------------------------------------}-withDoubleResult :: IO CDouble -> IO Double-withDoubleResult io-  = do x <- io-       return (fromCDouble x)--toCDouble :: Double -> CDouble-toCDouble d = realToFrac d--fromCDouble :: CDouble -> Double-fromCDouble cd-  = realToFrac cd--{------------------------------------------------------------------------------------------  CBool------------------------------------------------------------------------------------------}-type CBool  = CInt--toCBool :: Bool -> CBool-toCBool = intToCBool . fromBool--withBoolResult :: IO CBool -> IO Bool-withBoolResult io-  = do x <- io-       return (fromCBool x)--fromCBool :: CBool -> Bool-fromCBool  = toBool . cboolToInt--foreign import ccall "intToBool" intToCBool :: Int -> CBool-foreign import ccall "boolToInt" cboolToInt :: CBool -> Int--{------------------------------------------------------------------------------------------  CString------------------------------------------------------------------------------------------}-withStringResult :: (Ptr CChar -> IO CInt) -> IO String-withStringResult f-  = do len <- f nullPtr-       if (len<=0)-        then return ""-        else withCString (replicate (fromCInt len) ' ') $ \cstr ->-             do f cstr-                peekCString cstr--withWStringResult :: (Ptr CWchar -> IO CInt) -> IO String-withWStringResult f-  = do len <- f nullPtr-       if (len<=0)-        then return ""-        else withCWString (replicate (fromCInt len) ' ') $ \cstr ->-             do f cstr-                peekCWString cstr--{------------------------------------------------------------------------------------------  ByteString------------------------------------------------------------------------------------------}--- TODO: replace this by more efficient implementation.--- e.g. use mmap when bytestring support mmap interface.-withByteStringResult :: (Ptr CChar -> IO CInt) -> IO B.ByteString-withByteStringResult f-  = do len <- f nullPtr-       if (len<=0)-        then return $ BC.pack ""-        else withCString (replicate (fromCInt len) ' ') $ \cstr ->-             do f cstr-                B.packCString cstr--withLazyByteStringResult :: (Ptr CChar -> IO CInt) -> IO LB.ByteString-withLazyByteStringResult f-  = do str <- withStringResult f-       return $ LBC.pack str--{------------------------------------------------------------------------------------------  Arrays------------------------------------------------------------------------------------------}-withArrayStringResult :: (Ptr (Ptr CChar) -> IO CInt) -> IO [String]-withArrayStringResult f-  = do clen <- f nullPtr-       let len = fromCInt clen-       if (len <= 0)-        then return []-        else allocaArray len $ \carr ->-             do f carr-                arr <- peekArray len carr-                mapM peekCString arr---- FIXME: factorise with withArrayStringResult-withArrayWStringResult :: (Ptr (Ptr CWchar) -> IO CInt) -> IO [String]-withArrayWStringResult f-  = do clen <- f nullPtr-       let len = fromCInt clen-       if (len <= 0)-        then return []-        else allocaArray len $ \carr ->-             do f carr-                arr <- peekArray len carr-                mapM peekCWString arr---withArrayIntResult :: (Ptr CInt -> IO CInt) -> IO [Int]-withArrayIntResult f-  = do clen <- f nullPtr-       let len = fromCInt clen-       if (len <= 0)-        then return []-        else allocaArray len $ \carr ->-             do f carr-                xs <- peekArray len carr-                return (map fromCInt xs)--withArrayObjectResult :: (Ptr (Ptr a) -> IO CInt) -> IO [Object a]-withArrayObjectResult f-  = do clen <- f nullPtr-       let len = fromCInt clen-       if (len <= 0)-        then return []-        else allocaArray len $ \carr ->-             do f carr-                ps <- peekArray len carr-                return (map objectFromPtr ps)--withArrayString :: [String] -> (CInt -> Ptr CString -> IO a) -> IO a-withArrayString xs f-  = withCStrings xs [] $ \cxs ->-    withArray0 ptrNull cxs $ \carr ->-    f (toCInt len) carr-  where-    len = length xs--    withCStrings [] cxs f-      = f (reverse cxs)-    withCStrings (x:xs) cxs f-      = withCString x $ \cx ->-        withCStrings xs (cx:cxs) f---- FIXME: factorise with withArrayString-withArrayWString :: [String] -> (CInt -> Ptr CWString -> IO a) -> IO a-withArrayWString xs f-  = withCWStrings xs [] $ \cxs ->-    withArray0 ptrNull cxs $ \carr ->-    f (toCInt len) carr-  where-    len = length xs--    withCWStrings [] cxs f-      = f (reverse cxs)-    withCWStrings (x:xs) cxs f-      = withCWString x $ \cx ->-        withCWStrings xs (cx:cxs) f---withArrayInt :: [Int] -> (CInt -> Ptr CInt -> IO a) -> IO a-withArrayInt xs f-  = withArray0 0 (map toCInt xs) $ \carr ->-    f (toCInt (length xs)) carr--withArrayObject :: [Ptr a] -> (CInt -> Ptr (Ptr a) -> IO b) -> IO b-withArrayObject xs f-  = withArray0 ptrNull xs $ \carr ->-    f (toCInt (length xs)) carr--{------------------------------------------------------------------------------------------  CCHar------------------------------------------------------------------------------------------}-toCChar :: Char -> CChar-toCChar = castCharToCChar---- generalised to work with Char and CChar-withCharResult :: (Num a, Integral a) => IO a -> IO Char-withCharResult io-  = do x <- io-       if (x < 0)-          then do putTraceMsg ("Recieved negative unicode: " ++ (show x))-                  return '\n'-          else return (fromCWchar x)--{- The (x < 0) if expression in withCharResult is a workaround for-"processExecAsyncTimed dies with Prelude.chr bad argument"- bug-reported here-http://sourceforge.net/mailarchive/message.php?msg_id=54647.129.16.31.149.1111686341.squirrel%40webmail.chalmers.se-and here-http://www.mail-archive.com/wxhaskell-users@lists.sourceforge.net/msg00267.html--Windows GUI-only programs have no stdin, stdout or stderr. So we use Debug.Trace.putTraceMsg-for reporting message.-http://www.haskell.org/ghc/docs/6.8.2/html/users_guide/terminal-interaction.html-http://www.haskell.org/ghc/docs/6.8.2/html/libraries/base/Debug-Trace.html#v%3AputTraceMsg--}---fromCChar :: CChar -> Char-fromCChar = castCCharToChar--{------------------------------------------------------------------------------------------  CCHar------------------------------------------------------------------------------------------}-toCWchar :: (Num a) => Char -> a-toCWchar = fromIntegral . fromEnum---fromCWchar :: (Num a, Integral a) => a -> Char-fromCWchar = toEnum . fromIntegral---{------------------------------------------------------------------------------------------  CFunPtr------------------------------------------------------------------------------------------}-toCFunPtr :: FunPtr a -> Ptr a-toCFunPtr fptr-  = castFunPtrToPtr fptr---- | Null pointer, use with care.-ptrNull :: Ptr a-ptrNull-  = nullPtr---- | Test for null.-ptrIsNull :: Ptr a -> Bool-ptrIsNull p-  = (p == ptrNull)---- | Cast a pointer type, use with care.-ptrCast :: Ptr a -> Ptr b-ptrCast p-  = castPtr p--{------------------------------------------------------------------------------------------  Marshalling of classes that are managed------------------------------------------------------------------------------------------}--- | A @Managed a@ is a pointer to an object of type @a@, just like 'Object'. However,--- managed objects are automatically deleted when garbage collected. This is used for--- certain classes that are not managed by the wxWindows library, like 'Bitmap's-type Managed a  = ForeignPtr a---- | Create a managed object. Takes a finalizer as argument. This is normally a--- a delete function like 'windowDelete'.-createManaged :: IO () -> Ptr a -> IO (Managed a)-createManaged final obj-  = newForeignPtr obj final---- | Add an extra finalizer to a managed object.-managedAddFinalizer :: IO () -> Managed a -> IO ()-managedAddFinalizer io managed-  = addForeignPtrFinalizer managed io---- | Do something with the object from a managed object.-withManaged :: Managed a -> (Ptr a -> IO b) -> IO b-withManaged fptr f-  = withForeignPtr fptr f----- | Keep a managed object explicitly alive.-managedTouch :: Managed a -> IO ()-managedTouch fptr-  = touchForeignPtr fptr---- | A null pointer, use with care.-{-# NOINLINE managedNull #-}-managedNull :: Managed a-managedNull-  = unsafePerformIO (createManaged (return ()) ptrNull)---- | Test for null.-managedIsNull :: Managed a -> Bool-managedIsNull managed-  = (managed == managedNull)---- | Cast a managed object, use with care.-managedCast :: Managed a -> Managed b-managedCast fptr-  = castForeignPtr fptr---{------------------------------------------------------------------------------------------  Classes assigned by value.------------------------------------------------------------------------------------------}-assignRef :: IO (Ptr (TWxObject a)) -> (Ptr (TWxObject a) -> IO ()) -> IO (WxObject a)-assignRef create f-  = withManagedObjectResult (assignRefPtr create f)--assignRefPtr :: IO (Ptr a) -> (Ptr a -> IO ()) -> IO (Ptr a)-assignRefPtr create f-  = do p <- create-       f p-       return p---withManagedBitmapResult :: IO (Ptr (TBitmap a)) -> IO (Bitmap a)-withManagedBitmapResult io-  = do p      <- io-       static <- wxBitmap_IsStatic p-       if (static) -        then return (objectFromPtr p)-        else do mp <- wxManagedPtr_CreateFromBitmap p-                objectFromManagedPtr mp--foreign import ccall wxManagedPtr_CreateFromBitmap :: Ptr (TBitmap a) -> IO (ManagedPtr (TBitmap a))-foreign import ccall wxBitmap_IsStatic :: Ptr (TBitmap a) -> IO Bool--withManagedIconResult :: IO (Ptr (TIcon a)) -> IO (Icon a)-withManagedIconResult io-  = do p      <- io-       if (wxIcon_IsStatic p) -        then return (objectFromPtr p)-        else do mp <- wxManagedPtr_CreateFromIcon p-                objectFromManagedPtr mp--foreign import ccall wxManagedPtr_CreateFromIcon :: Ptr (TIcon a) -> IO (ManagedPtr (TIcon a))-foreign import ccall wxIcon_IsStatic :: Ptr (TIcon a) -> Bool--withManagedBrushResult :: IO (Ptr (TBrush a)) -> IO (Brush a)-withManagedBrushResult io-  = do p      <- io-       if (wxBrush_IsStatic p) -        then return (objectFromPtr p)-        else do mp <- wxManagedPtr_CreateFromBrush p-                objectFromManagedPtr mp--foreign import ccall wxManagedPtr_CreateFromBrush :: Ptr (TBrush a) -> IO (ManagedPtr (TBrush a))-foreign import ccall wxBrush_IsStatic :: Ptr (TBrush a) -> Bool--withManagedCursorResult :: IO (Ptr (TCursor a)) -> IO (Cursor a)-withManagedCursorResult io-  = do p      <- io-       if (wxCursor_IsStatic p) -        then return (objectFromPtr p)-        else do mp <- wxManagedPtr_CreateFromCursor p-                objectFromManagedPtr mp--foreign import ccall wxManagedPtr_CreateFromCursor :: Ptr (TCursor a) -> IO (ManagedPtr (TCursor a))-foreign import ccall wxCursor_IsStatic :: Ptr (TCursor a) -> Bool--withManagedFontResult :: IO (Ptr (TFont a)) -> IO (Font a)-withManagedFontResult io-  = do p      <- io-       if (wxFont_IsStatic p) -        then return (objectFromPtr p)-        else do mp <- wxManagedPtr_CreateFromFont p-                objectFromManagedPtr mp--foreign import ccall wxManagedPtr_CreateFromFont :: Ptr (TFont a) -> IO (ManagedPtr (TFont a))-foreign import ccall wxFont_IsStatic :: Ptr (TFont a) -> Bool--withManagedPenResult :: IO (Ptr (TPen a)) -> IO (Pen a)-withManagedPenResult io-  = do p      <- io-       if (wxPen_IsStatic p) -        then return (objectFromPtr p)-        else do mp <- wxManagedPtr_CreateFromPen p-                objectFromManagedPtr mp--foreign import ccall wxManagedPtr_CreateFromPen :: Ptr (TPen a) -> IO (ManagedPtr (TPen a))-foreign import ccall wxPen_IsStatic :: Ptr (TPen a) -> Bool----withRefBitmap :: (Ptr (TBitmap a) -> IO ()) -> IO (Bitmap a)-withRefBitmap f-  = withManagedBitmapResult $ assignRefPtr wxBitmap_Create  f-foreign import ccall "wxBitmap_CreateDefault" wxBitmap_Create :: IO (Ptr (TBitmap a))--withRefCursor :: (Ptr (TCursor a) -> IO ()) -> IO (Cursor a)-withRefCursor f-  = withManagedCursorResult $ assignRefPtr (wx_Cursor_CreateFromStock 1)  f-foreign import ccall "Cursor_CreateFromStock" wx_Cursor_CreateFromStock :: CInt -> IO (Ptr (TCursor a))--withRefIcon :: (Ptr (TIcon a) -> IO ()) -> IO (Icon a)-withRefIcon f-  = withManagedIconResult $ assignRefPtr wxIcon_Create  f-foreign import ccall "wxIcon_CreateDefault" wxIcon_Create :: IO (Ptr (TIcon a))--withRefImage :: (Ptr (TImage a) -> IO ()) -> IO (Image a)-withRefImage f-  = assignRef wxImage_Create  f-foreign import ccall "wxImage_CreateDefault" wxImage_Create :: IO (Ptr (TImage a))--withRefFont :: (Ptr (TFont a) -> IO ()) -> IO (Font a)-withRefFont f-  = withManagedFontResult $ assignRefPtr wxFont_Create  f-foreign import ccall "wxFont_CreateDefault" wxFont_Create :: IO (Ptr (TFont a))---withRefPen :: (Ptr (TPen a) -> IO ()) -> IO (Pen a)-withRefPen f-  = withManagedPenResult $ assignRefPtr wxPen_Create  f-foreign import ccall "wxPen_CreateDefault" wxPen_Create :: IO (Ptr (TPen a))---withRefBrush :: (Ptr (TBrush a) -> IO ()) -> IO (Brush a)-withRefBrush f-  = withManagedBrushResult $ assignRefPtr wxBrush_Create  f-foreign import ccall "wxBrush_CreateDefault" wxBrush_Create :: IO (Ptr (TBrush a))--withRefFontData :: (Ptr (TFontData a) -> IO ()) -> IO (FontData a)-withRefFontData f-  = assignRef wxFontData_Create  f-foreign import ccall "wxFontData_Create" wxFontData_Create :: IO (Ptr (TFontData a))--withRefListItem :: (Ptr (TListItem a) -> IO ()) -> IO (ListItem a)-withRefListItem f-  = assignRef wxListItem_Create  f-foreign import ccall "wxListItem_Create" wxListItem_Create :: IO (Ptr (TListItem a))--withRefPrintData :: (Ptr (TPrintData a) -> IO ()) -> IO (PrintData a)-withRefPrintData f-  = assignRef wxPrintData_Create  f-foreign import ccall "wxPrintData_Create" wxPrintData_Create :: IO (Ptr (TPrintData a))--withRefPrintDialogData :: (Ptr (TPrintDialogData a) -> IO ()) -> IO (PrintDialogData a)-withRefPrintDialogData f-  = assignRef wxPrintDialogData_Create  f-foreign import ccall "wxPrintDialogData_CreateDefault" wxPrintDialogData_Create :: IO (Ptr (TPrintDialogData a))--withRefPageSetupDialogData :: (Ptr (TPageSetupDialogData a) -> IO ()) -> IO (PageSetupDialogData a)-withRefPageSetupDialogData f-  = assignRef wxPageSetupDialogData_Create  f-foreign import ccall "wxPageSetupDialogData_Create" wxPageSetupDialogData_Create :: IO (Ptr (TPageSetupDialogData a))---withManagedDateTimeResult :: IO (Ptr (TDateTime a)) -> IO (DateTime a)-withManagedDateTimeResult io-  = do p  <- io-       if (p==nullPtr)-        then return (objectFromPtr p)-        else do mp <- wxManagedPtr_CreateFromDateTime p-                objectFromManagedPtr mp--foreign import ccall wxManagedPtr_CreateFromDateTime :: Ptr (TDateTime a) -> IO (ManagedPtr (TDateTime a))---withRefDateTime :: (Ptr (TDateTime a) -> IO ()) -> IO (DateTime a)-withRefDateTime f-  = withManagedDateTimeResult $ assignRefPtr wxDateTime_Create  f-foreign import ccall "wxDateTime_Create" wxDateTime_Create :: IO (Ptr (TDateTime a))---withManagedGridCellCoordsArrayResult :: IO (Ptr (TGridCellCoordsArray a)) -> IO (GridCellCoordsArray a)-withManagedGridCellCoordsArrayResult io-  = do p  <- io-       if (p==nullPtr)-        then return (objectFromPtr p)-        else do mp <- wxManagedPtr_CreateFromGridCellCoordsArray p-                objectFromManagedPtr mp--foreign import ccall wxManagedPtr_CreateFromGridCellCoordsArray :: Ptr (TGridCellCoordsArray a) -> IO (ManagedPtr (TGridCellCoordsArray a))--withRefGridCellCoordsArray :: (Ptr (TGridCellCoordsArray a) -> IO ()) -> IO (GridCellCoordsArray a)-withRefGridCellCoordsArray f-  = withManagedGridCellCoordsArrayResult $ assignRefPtr wxGridCellCoordsArray_Create  f-foreign import ccall "wxGridCellCoordsArray_Create" wxGridCellCoordsArray_Create :: IO (Ptr (TGridCellCoordsArray a))-----{------------------------------------------------------------------------------------------  Tree items------------------------------------------------------------------------------------------}--- | Identifies tree items. Note: Replaces the @TreeItemId@ object and takes automatically--- care of allocation issues.-newtype TreeItem  = TreeItem Int-                  deriving (Eq,Show,Read)---- | Invalid tree item.-treeItemInvalid :: TreeItem-treeItemInvalid   = TreeItem 0---- | Is a tree item ok? (i.e. not invalid).-treeItemIsOk :: TreeItem -> Bool-treeItemIsOk (TreeItem val)-  = (val /= 0)--treeItemFromInt :: Int -> TreeItem-treeItemFromInt i-  = TreeItem i--withRefTreeItemId :: (Ptr (TTreeItemId ()) -> IO ()) -> IO TreeItem-withRefTreeItemId f-  = do item <- assignRefPtr treeItemIdCreate f-       val  <- treeItemIdGetValue item-       treeItemIdDelete item-       return (TreeItem val)--withTreeItemIdRef :: String -> TreeItem -> (Ptr (TTreeItemId a) -> IO b) -> IO b-withTreeItemIdRef msg t f-  = withTreeItemIdPtr t $ \p -> withValidPtr msg p f--withTreeItemIdPtr :: TreeItem -> (Ptr (TTreeItemId a) -> IO b) -> IO b-withTreeItemIdPtr (TreeItem val) f -  = do item <- treeItemIdCreateFromValue val-       x    <- f item-       treeItemIdDelete item-       return x--withManagedTreeItemIdResult :: IO (Ptr (TTreeItemId a)) -> IO TreeItem -withManagedTreeItemIdResult io-  = do item <- io-       val  <- treeItemIdGetValue item-       treeItemIdDelete item-       return (TreeItem val)--foreign import ccall "wxTreeItemId_Create" treeItemIdCreate :: IO (Ptr (TTreeItemId a))-foreign import ccall "wxTreeItemId_GetValue" treeItemIdGetValue :: Ptr (TTreeItemId a) -> IO Int-foreign import ccall "wxTreeItemId_CreateFromValue" treeItemIdCreateFromValue :: Int -> IO (Ptr (TTreeItemId a))-foreign import ccall "wxTreeItemId_Delete" treeItemIdDelete :: Ptr (TTreeItemId a) -> IO ()--{------------------------------------------------------------------------------------------  String------------------------------------------------------------------------------------------}-{---- | A @wxString@ object.-type WxStringObject a   = Ptr (CWxStringObject a)-type TWxStringObject a  = CWxStringObject a-data CWxStringObject a  = CWxStringObject--}---- FIXME: I am blithely changing these over to use CWString instead of String--- whereas in the rest of the code, I actually make a new version of the fns-withStringRef :: String -> String -> (Ptr (TWxString s) -> IO a) -> IO a-withStringRef msg s f-  = withStringPtr s $ \p -> withValidPtr msg p f--withStringPtr :: String -> (Ptr (TWxString s) -> IO a) -> IO a-withStringPtr s f-  = withCWString s $ \cstr ->-    bracket (wxString_Create cstr)-            (wxString_Delete)-            f--withManagedStringResult :: IO (Ptr (TWxString a)) -> IO String-withManagedStringResult io-  = do wxs <- io-       len <- wxString_Length wxs-       s   <- if (len<=0)-                then return ""-                else withCWString (replicate (fromCInt len) ' ') $ \cstr ->-                     do wxString_GetString wxs cstr-                        peekCWStringLen (cstr, fromCInt len)-       wxString_Delete wxs-       return s---foreign import ccall wxString_Create    :: Ptr CWchar -> IO (Ptr (TWxString a))-foreign import ccall wxString_CreateLen :: Ptr CWchar -> CInt -> IO (Ptr (TWxString a))-foreign import ccall wxString_Delete    :: Ptr (TWxString a) -> IO ()-foreign import ccall wxString_GetString :: Ptr (TWxString a) -> Ptr CWchar -> IO CInt-foreign import ccall wxString_Length    :: Ptr (TWxString a) -> IO CInt---{------------------------------------------------------------------------------------------  Color------------------------------------------------------------------------------------------}--- | An abstract data type to define colors.------   Note: Haddock 0.8 and 0.9 doesn't support GeneralizedNewtypeDeriving. So, This class---   doesn't have 'IArray' class's unboxed array instance now. If you want to use this type---   with unboxed array, you must write code like this.------ > {-# LANGUAGE GeneralizedNewtypeDeriving, StandaloneDeriving, MultiParamTypeClasses #-}--- > import Graphics.UI.WXCore.WxcTypes--- > ...--- > deriving instance IArray UArray Color------   We can't derive 'MArray' class's unboxed array instance this way. This is a bad point---   of current 'MArray' class definition.----newtype Color = Color Word -              deriving (Eq, Typeable) -- , IArray UArray) --instance Show Color where-  showsPrec d c-    = showParen (d > 0) (showString "rgba(" . shows (colorRed   c) .-                          showChar   ','    . shows (colorGreen c) .-                          showChar   ','    . shows (colorBlue  c) .-                          showChar   ','    . shows (colorAlpha c) .-                          showChar   ')' )---- | Create a color from a red\/green\/blue triple.-colorRGB :: (Integral a) => a -> a -> a -> Color-colorRGB r g b = Color (shiftL (fromIntegral r) 24 .|. shiftL (fromIntegral g) 16 .|. shiftL (fromIntegral b) 8 .|. 255)---- | Create a color from a red\/green\/blue triple.-rgb :: (Integral a) => a -> a -> a -> Color-rgb r g b = colorRGB r g b---- | Create a color from a red\/green\/blue\/alpha quadruple.-colorRGBA :: (Integral a) => a -> a -> a -> a -> Color-colorRGBA r g b a = Color (shiftL (fromIntegral r) 24 .|. shiftL (fromIntegral g) 16 .|. shiftL (fromIntegral b) 8 .|. (fromIntegral a))---- | Create a color from a red\/green\/blue\/alpha quadruple.-rgba :: (Integral a) => a -> a -> a -> a -> Color-rgba r g b a = colorRGBA r g b a----- | Return an 'Int' where the three least significant bytes contain--- the red, green, and blue component of a color.-intFromColor :: Color -> Int-intFromColor rgb-  = let r = colorRed rgb-        g = colorGreen rgb-        b = colorBlue rgb-    in (shiftL (fromIntegral r) 16 .|. shiftL (fromIntegral g) 8 .|. b)---- | Set the color according to an rgb integer. (see 'rgbIntFromColor').-colorFromInt :: Int -> Color-colorFromInt rgb-  = let r = (shiftR rgb 16) .&. 0xFF-        g = (shiftR rgb 8) .&. 0xFF-        b = rgb .&. 0xFF-    in colorRGB r g b---- | Return an 'Num' class's numeric representation where the three--- least significant the red, green, and blue component of a color.-fromColor :: (Num a) => Color -> a-fromColor (Color rgb)-  = fromIntegral rgb---- | Set the color according to 'Integral' class's numeric representation.--- (see 'rgbaIntFromColor').-toColor :: (Integral a) => a -> Color-toColor-  = Color . fromIntegral---- marshalling 1--- | Returns a red color component-colorRed   :: (Num a) => Color -> a-colorRed   (Color rgba) = fromIntegral ((shiftR rgba 24) .&. 0xFF)---- | Returns a green color component-colorGreen :: (Num a) => Color -> a-colorGreen (Color rgba) = fromIntegral ((shiftR rgba 16) .&. 0xFF)---- | Returns a blue color component-colorBlue  :: (Num a) => Color -> a-colorBlue  (Color rgba) = fromIntegral ((shiftR rgba 8) .&. 0xFF)---- | Returns a alpha channel component-colorAlpha  :: (Num a) => Color -> a-colorAlpha  (Color rgba) = fromIntegral (rgba .&. 0xFF)----- | This is an illegal color, corresponding to @nullColour@.-colorNull :: Color-colorNull-  = Color (-1)--{-# DEPRECATED colorOk "Use colorIsOk instead" #-}--- | deprecated: use 'colorIsOk' instead.-colorOk :: Color -> Bool-colorOk = colorIsOk---- | Check of a color is valid (@Colour::IsOk@)-colorIsOk :: Color -> Bool-colorIsOk (Color rgb)-  = (rgb >= 0)----- marshalling 2-{--type Colour a     = Object (CColour a)-type ColourPtr a  = Ptr (CColour a)-data CColour a    = CColour--}--withRefColour :: (Ptr (TColour a) -> IO ()) -> IO Color-withRefColour f-  = withManagedColourResult $-    assignRefPtr colourCreate f--withManagedColourResult :: IO (Ptr (TColour a)) -> IO Color-withManagedColourResult io-  = do pcolour <- io-       color <- do ok <- colourIsOk pcolour-                   if (ok==0)-                    then return colorNull-                    else do rgba <- colourGetUnsignedInt pcolour-                            return (toColor rgba)-       colourSafeDelete pcolour-       return color---withColourRef :: String -> Color -> (Ptr (TColour a) -> IO b) -> IO b-withColourRef msg c f-  = withColourPtr c $ \p -> withValidPtr msg p f--withColourPtr :: Color -> (Ptr (TColour a) -> IO b) -> IO b-withColourPtr c f-  = do pcolour <- colourCreateFromUnsignedInt (fromColor c)-       x <- f pcolour-       colourSafeDelete pcolour-       return x--colourFromColor :: Color -> IO (Colour ())-colourFromColor c-  = if (colorOk c)-     then do p <- colourCreateFromUnsignedInt (fromColor c)-             if (colourIsStatic p)-              then return (objectFromPtr p)-              else do mp <- wxManagedPtr_CreateFromColour p-                      objectFromManagedPtr mp-     else withObjectResult colourNull-          --colorFromColour :: Colour a -> IO Color-colorFromColour c-  = withObjectRef "colorFromColour" c $ \pcolour ->-    do ok <- colourIsOk pcolour-       if (ok==0)-        then return colorNull-        else do rgba <- colourGetUnsignedInt pcolour-                return (toColor rgba)---foreign import ccall "wxColour_CreateEmpty" colourCreate    :: IO (Ptr (TColour a))-foreign import ccall "wxColour_CreateFromInt" colourCreateFromInt :: CInt -> IO (Ptr (TColour a))-foreign import ccall "wxColour_GetInt" colourGetInt               :: Ptr (TColour a) -> IO CInt-foreign import ccall "wxColour_CreateFromUnsignedInt" colourCreateFromUnsignedInt :: Word -> IO (Ptr (TColour a))-foreign import ccall "wxColour_GetUnsignedInt" colourGetUnsignedInt       :: Ptr (TColour a) -> IO Word-foreign import ccall "wxColour_SafeDelete" colourSafeDelete   :: Ptr (TColour a) -> IO ()-foreign import ccall "wxColour_IsStatic" colourIsStatic   :: Ptr (TColour a) -> Bool-foreign import ccall "wxColour_IsOk"    colourIsOk   :: Ptr (TColour a) -> IO CInt-foreign import ccall "Null_Colour"    colourNull :: IO (Ptr (TColour a))-foreign import ccall wxManagedPtr_CreateFromColour :: Ptr (TColour a) -> IO (ManagedPtr (TColour a))+{-# LANGUAGE CPP, ForeignFunctionInterface, DeriveDataTypeable, FlexibleInstances #-}
+{-# LANGUAGE GeneralizedNewtypeDeriving #-}
+{-# OPTIONS_HADDOCK prune #-}
+-----------------------------------------------------------------------------------------
+{-|
+Module      :  WxcTypes
+Copyright   :  (c) Daan Leijen 2003, 2004
+License     :  wxWindows
+
+Maintainer  :  wxhaskell-devel@lists.sourceforge.net
+Stability   :  provisional
+Portability :  portable
+
+Basic types and marshalling code for the wxWidgets C library.
+-}
+-----------------------------------------------------------------------------------------
+module Graphics.UI.WXCore.WxcTypes(
+            -- * Object types
+              Object, objectNull, objectIsNull, objectCast, objectIsManaged
+            , objectDelete
+            , objectFromPtr, managedObjectFromPtr
+            , withObjectPtr, withObjectRef
+            , withObjectResult, withManagedObjectResult
+            , objectFinalize, objectNoFinalize
+            
+--            , Managed, managedNull, managedIsNull, managedCast, createManaged, withManaged, managedTouch
+
+            -- * Type synonyms
+            , Id
+            , Style
+            , EventId
+
+            -- * Basic types
+            , fromBool, toBool
+
+            -- ** Point
+            , Point, Point2(Point,pointX,pointY), point, pt, pointFromVec, pointFromSize, pointZero, pointNull
+
+            -- ** Size
+            , Size, Size2D(Size,sizeW,sizeH), sz, sizeFromPoint, sizeFromVec, sizeZero, sizeNull
+
+            -- ** Vector
+            , Vector, Vector2(Vector,vecX,vecY), vector, vec, vecFromPoint, vecFromSize, vecZero, vecNull
+
+            -- ** Rectangle
+            , Rect, Rect2D(Rect,rectLeft,rectTop,rectWidth,rectHeight)
+            , rectTopLeft, rectTopRight, rectBottomLeft, rectBottomRight, rectBottom, rectRight
+            , rect, rectBetween, rectFromSize, rectZero, rectNull, rectSize, rectIsEmpty
+
+            -- ** Color
+            , Color(..), rgb, colorRGB, rgba, colorRGBA, colorRed, colorGreen, colorBlue, colorAlpha
+            , intFromColor, colorFromInt, fromColor, toColor, colorOk, colorIsOk
+
+            -- * Marshalling
+            -- ** Basic types
+            , withPointResult, withWxPointResult, toCIntPointX, toCIntPointY, fromCPoint, withCPoint
+            , withPointDoubleResult, toCDoublePointX, toCDoublePointY, fromCPointDouble, withCPointDouble
+            , withSizeResult, withWxSizeResult, toCIntSizeW, toCIntSizeH, fromCSize, withCSize
+            , withSizeDoubleResult, toCDoubleSizeW, toCDoubleSizeH, fromCSizeDouble, withCSizeDouble
+            , withVectorResult, withWxVectorResult, toCIntVectorX, toCIntVectorY, fromCVector, withCVector
+            , withVectorDoubleResult, toCDoubleVectorX, toCDoubleVectorY, fromCVectorDouble, withCVectorDouble
+            , withRectResult, withWxRectResult, withWxRectPtr, toCIntRectX, toCIntRectY, toCIntRectW, toCIntRectH, fromCRect, withCRect
+            , withRectDoubleResult, toCDoubleRectX, toCDoubleRectY, toCDoubleRectW, toCDoubleRectH, fromCRectDouble, withCRectDouble
+            , withArray, withArrayString, withArrayWString, withArrayInt, withArrayIntPtr, withArrayObject
+            , withArrayIntResult, withArrayIntPtrResult, withArrayStringResult, withArrayWStringResult, withArrayObjectResult
+
+            , colourFromColor, colorFromColour
+            , colourCreate, colourSafeDelete -- , colourCreateRGB, colourRed, colourGreen, colourBlue colourAlpha
+
+  
+            -- ** Managed object types
+
+            -- , managedAddFinalizer
+            , TreeItem, treeItemInvalid, treeItemIsOk, treeItemFromInt
+            , withRefTreeItemId, withTreeItemIdPtr, withTreeItemIdRef, withManagedTreeItemIdResult
+            , withStringRef, withStringPtr, withManagedStringResult
+            , withRefColour, withColourRef, withColourPtr, withManagedColourResult
+            , withRefBitmap, withManagedBitmapResult
+            , withRefCursor, withManagedCursorResult
+            , withRefIcon, withManagedIconResult
+            , withRefPen, withManagedPenResult
+            , withRefBrush, withManagedBrushResult
+            , withRefFont, withManagedFontResult
+            , withRefImage
+            , withRefListItem
+            , withRefFontData
+            , withRefPrintData
+            , withRefPageSetupDialogData
+            , withRefPrintDialogData
+            , withRefDateTime, withManagedDateTimeResult
+            , withRefGridCellCoordsArray, withManagedGridCellCoordsArrayResult
+
+            -- ** Primitive types
+            -- *** CString
+            , CString, withCString, withStringResult
+            , CWString, withCWString, withWStringResult
+            -- *** ByteString
+            , withByteStringResult, withLazyByteStringResult
+            -- *** CInt
+            , CInt(..), toCInt, fromCInt, withIntResult
+            -- *** IntPtr
+            , IntPtr
+            -- *** CIntPtr
+            , CIntPtr, toCIntPtr, fromCIntPtr, withIntPtrResult
+            -- *** Word
+            , Word
+            -- *** 8 bit Word
+            , Word8
+            -- *** 64 bit Integer
+            , Int64
+            -- *** CDouble
+            , CDouble(..), toCDouble, fromCDouble, withDoubleResult
+            -- *** CChar
+            , CChar, toCChar, fromCChar, withCharResult
+            , CWchar(..), toCWchar
+            -- *** CBool
+            , CBool, toCBool, fromCBool, withBoolResult
+            -- ** Pointers
+            , Ptr, ptrNull, ptrIsNull, ptrCast, ForeignPtr, FunPtr, toCFunPtr
+            ) where
+
+#include "wxc_def.h"
+
+import Control.Exception 
+import Data.Ix
+import Foreign.C
+import Foreign.Ptr
+import Foreign.Storable
+import Foreign.Marshal.Alloc
+import Foreign.Marshal.Array
+import Foreign.Marshal.Utils (fromBool, toBool)
+
+{- note: for GHC 6.10.2 or higher, recommends to use "import Foreign.Concurrent"
+   See http://www.haskell.org/pipermail/cvs-ghc/2009-January/047120.html -}
+import Foreign.ForeignPtr hiding (newForeignPtr,addForeignPtrFinalizer)
+
+import Data.Bits( shiftL, shiftR, (.&.), (.|.) )
+
+import qualified Data.ByteString as B
+import qualified Data.ByteString.Lazy as LB
+import qualified Data.ByteString.Char8 as BC (pack)
+import qualified Data.ByteString.Lazy.Char8 as LBC (pack)
+
+{- note: this is just for instances for the WX library and not necessary for WXCore -}
+import Data.Dynamic
+
+import Data.Int
+import Data.Word
+import Debug.Trace (traceIO)
+
+import Graphics.UI.WXCore.WxcObject
+import Graphics.UI.WXCore.WxcClassTypes
+
+{-----------------------------------------------------------------------------------------
+    Objects
+-----------------------------------------------------------------------------------------}
+-- | An @Id@ is used to identify objects during event handling.
+type Id = Int
+
+-- | An @EventId@ is identifies specific events.
+type EventId = Int
+
+-- | A @Style@ is normally used as a flag mask to specify some window style
+type Style = Int
+
+
+-- | Delete a wxObject, works for managed and unmanaged objects.
+objectDelete :: WxObject a -> IO ()
+objectDelete obj
+  = if objectIsManaged obj
+     then objectFinalize obj
+     else withObjectPtr obj $ \p ->
+          wxObject_SafeDelete p
+                                    
+-- | Create a managed object that will be deleted using |wxObject_SafeDelete|.
+managedObjectFromPtr :: Ptr (TWxObject a) -> IO (WxObject a)
+managedObjectFromPtr p 
+  = do mp <- wxManagedPtr_CreateFromObject p
+       objectFromManagedPtr mp
+
+-- | Create a managed object that will be deleted using |wxObject_SafeDelete|.
+withManagedObjectResult :: IO (Ptr (TWxObject a)) -> IO (WxObject a)
+withManagedObjectResult io
+  = do p <- io
+       managedObjectFromPtr p
+
+-- | Return an unmanaged object.
+withObjectResult :: IO (Ptr a) -> IO (Object a)
+withObjectResult io
+  = do p <- io
+       return (objectFromPtr p)
+
+-- | Extract the object pointer and raise an exception if @NULL@.
+-- Otherwise continue with the valid pointer.
+withObjectRef :: String -> Object a -> (Ptr a -> IO b) -> IO b
+withObjectRef msg obj f
+  = withObjectPtr obj $ \p -> 
+    withValidPtr msg p f
+
+-- | Execute the continuation when the pointer is not null and
+-- raise an error otherwise.
+withValidPtr :: String -> Ptr a -> (Ptr a -> IO b) -> IO b
+withValidPtr msg p f
+  = if (p == nullPtr)
+     then ioError (userError ("wxHaskell: NULL object" ++ (if null msg then "" else ": " ++ msg)))
+     else f p
+
+
+foreign import ccall wxManagedPtr_CreateFromObject :: Ptr (TWxObject a) -> IO (ManagedPtr (TWxObject a))
+foreign import ccall wxObject_SafeDelete           :: Ptr (TWxObject a) -> IO ()
+
+
+{-----------------------------------------------------------------------------------------
+  Point
+-----------------------------------------------------------------------------------------}
+--- | Define Point type synonym for backward compatibility.
+type Point = Point2 Int
+
+-- | A point has an x and y coordinate. Coordinates are normally relative to the
+-- upper-left corner of their view frame, where a positive x goes to the right and
+-- a positive y to the bottom of the view.
+data (Num a) => Point2 a = Point
+        { pointX :: !a -- ^ x component of a point.
+        , pointY :: !a -- ^ y component of a point.
+        }
+        deriving (Eq,Show,Read,Typeable)
+
+-- Moved from Types.hs at 2015-09-01
+instance (Num a, Ord a) => Ord (Point2 a) where
+  compare (Point x1 y1) (Point x2 y2)             
+    = case compare y1 y2 of
+        EQ  -> compare x1 x2
+        neq -> neq
+
+-- Moved from Types.hs at 2015-09-01
+instance Ix (Point2 Int) where
+  range (Point x1 y1,Point x2 y2)             
+    = [Point x y | y <- [y1..y2], x <- [x1..x2]]
+
+  inRange (Point x1 y1, Point x2 y2) (Point x y)
+    = (x >= x1 && x <= x2 && y >= y1 && y <= y2)
+
+  rangeSize (Point x1 y1, Point x2 y2) 
+    = let w = abs (x2 - x1) + 1
+          h = abs (y2 - y1) + 1
+      in w*h
+
+  index bnd@(Point x1 y1, Point x2 _y2) p@(Point x y)
+    = if inRange bnd p
+       then let w = abs (x2 - x1) + 1
+            in (y-y1)*w + x
+       else error ("Point index out of bounds: " ++ show p ++ " not in " ++ show bnd)
+
+
+-- | Construct a point.
+point :: (Num a) => a -> a -> Point2 a
+point x y  = Point x y
+
+-- | Shorter function to construct a point.
+pt :: (Num a) => a -> a -> Point2 a
+pt x y  = Point x y
+
+pointFromVec :: (Num a) => Vector -> Point2 a
+pointFromVec (Vector x y)
+  = Point (fromIntegral x) (fromIntegral y)
+
+pointFromSize :: (Num a) => Size -> Point2 a
+pointFromSize (Size w h)
+  = Point (fromIntegral w) (fromIntegral h)
+
+-- | Point at the origin.
+pointZero :: (Num a) => Point2 a
+pointZero
+  = Point 0 0
+
+-- | A `null' point is not a legal point (x and y are -1) and can be used for some
+-- wxWidgets functions to select a default point.
+pointNull :: (Num a) => Point2 a
+pointNull
+  = Point (-1) (-1)
+
+-- marshalling
+withCPoint :: Point2 Int -> (CInt -> CInt -> IO a) -> IO a
+withCPoint (Point x y) f
+  = f (toCInt x) (toCInt y)
+
+withPointResult :: (Ptr CInt -> Ptr CInt -> IO ()) -> IO (Point2 Int)
+withPointResult f
+  = alloca $ \px ->
+    alloca $ \py ->
+    do f px py
+       x <- peek px
+       y <- peek py
+       return (fromCPoint x y)
+
+toCIntPointX, toCIntPointY :: Point2 Int -> CInt
+toCIntPointX (Point x _y)  = toCInt x
+toCIntPointY (Point _x y)  = toCInt y
+
+fromCPoint :: CInt -> CInt -> Point2 Int
+fromCPoint x y
+  = Point (fromCInt x) (fromCInt y)
+
+withCPointDouble :: Point2 Double -> (CDouble -> CDouble -> IO a) -> IO a
+withCPointDouble (Point x y) f
+  = f (toCDouble x) (toCDouble y)
+
+withPointDoubleResult :: (Ptr CDouble -> Ptr CDouble -> IO ()) -> IO (Point2 Double)
+withPointDoubleResult f
+  = alloca $ \px ->
+    alloca $ \py ->
+    do f px py
+       x <- peek px
+       y <- peek py
+       return (fromCPointDouble x y)
+
+toCDoublePointX, toCDoublePointY :: Point2 Double -> CDouble
+toCDoublePointX (Point x _y) = toCDouble x
+toCDoublePointY (Point _x y) = toCDouble y
+
+fromCPointDouble :: CDouble -> CDouble -> Point2 Double
+fromCPointDouble x y
+  = Point (fromCDouble x) (fromCDouble y)
+
+{-
+-- | A @wxPoint@ object.
+type WxPointObject a   = Ptr (CWxPointObject a)
+type TWxPointObject a  = CWxPointObject a
+data CWxPointObject a  = CWxPointObject
+-}
+
+withWxPointResult :: IO (Ptr (TWxPoint a)) -> IO (Point2 Int)
+withWxPointResult io
+  = do poynt <- io
+       x  <- wxPoint_GetX poynt
+       y  <- wxPoint_GetY poynt
+       wxPoint_Delete poynt
+       return (fromCPoint x y)
+
+foreign import ccall wxPoint_Delete :: Ptr (TWxPoint a) -> IO ()
+foreign import ccall wxPoint_GetX   :: Ptr (TWxPoint a) -> IO CInt
+foreign import ccall wxPoint_GetY   :: Ptr (TWxPoint a) -> IO CInt
+
+
+{-----------------------------------------------------------------------------------------
+  Size
+-----------------------------------------------------------------------------------------}
+--- | Define Point type synonym for backward compatibility.
+type Size = Size2D Int
+
+-- | A @Size@ has a width and height.
+data (Num a) => Size2D a = Size
+        { sizeW :: !a -- ^ the width  of a size
+        , sizeH :: !a -- ^ the height of a size
+        }
+        deriving (Eq,Show,Typeable)
+
+{-
+-- | Construct a size from a width and height.
+size :: (Num a) => a -> a -> Size2D a
+size w h
+  = Size w h
+-}
+
+-- | Short function to construct a size
+sz :: (Num a) => a -> a -> Size2D a
+sz w h
+  = Size w h
+
+sizeFromPoint :: (Num a) => Point2 a -> Size2D a
+sizeFromPoint (Point x y)
+  = Size x y
+
+sizeFromVec   :: (Num a) => Vector2 a -> Size2D a
+sizeFromVec (Vector x y)
+  = Size x y
+
+sizeZero :: (Num a) => Size2D a
+sizeZero
+  = Size 0 0
+
+-- | A `null' size is not a legal size (width and height are -1) and can be used for some
+-- wxWidgets functions to select a default size.
+sizeNull :: (Num a) => Size2D a
+sizeNull
+  = Size (-1) (-1)
+
+-- marshalling
+withCSize :: Size -> (CInt -> CInt -> IO a) -> IO a
+withCSize (Size w h) f
+  = f (toCInt w) (toCInt h)
+
+withSizeResult :: (Ptr CInt -> Ptr CInt -> IO ()) -> IO Size
+withSizeResult f
+  = alloca $ \cw ->
+    alloca $ \ch ->
+    do f cw ch
+       w <- peek cw
+       h <- peek ch
+       return (fromCSize w h)
+
+fromCSize :: CInt -> CInt -> Size
+fromCSize w h
+  = Size (fromCInt w) (fromCInt h)
+
+toCIntSizeW, toCIntSizeH :: Size -> CInt
+toCIntSizeW (Size w _h) = toCInt w
+toCIntSizeH (Size _w h) = toCInt h
+
+withCSizeDouble :: Size2D Double -> (CDouble -> CDouble -> IO a) -> IO a
+withCSizeDouble (Size w h) f
+  = f (toCDouble w) (toCDouble h)
+
+withSizeDoubleResult :: (Ptr CDouble -> Ptr CDouble -> IO ()) -> IO (Size2D Double)
+withSizeDoubleResult f
+  = alloca $ \cw ->
+    alloca $ \ch ->
+    do f cw ch
+       w <- peek cw
+       h <- peek ch
+       return (fromCSizeDouble w h)
+
+fromCSizeDouble :: CDouble -> CDouble -> Size2D Double
+fromCSizeDouble w h
+  = Size (fromCDouble w) (fromCDouble h)
+
+toCDoubleSizeW, toCDoubleSizeH :: Size2D Double -> CDouble
+toCDoubleSizeW (Size w _h) = toCDouble w
+toCDoubleSizeH (Size _w h) = toCDouble h
+
+{-
+-- | A @wxSize@ object.
+type WxSizeObject a   = Ptr (CWxSizeObject a)
+type TWxSizeObject a  = CWxSizeObject a
+data CWxSizeObject a  = CWxSizeObject
+-}
+
+withWxSizeResult :: IO (Ptr (TWxSize a)) -> IO Size
+withWxSizeResult io
+  = do size <- io
+       w  <- wxSize_GetWidth  size
+       h  <- wxSize_GetHeight size
+       wxSize_Delete size
+       return (fromCSize w h)
+
+foreign import ccall wxSize_Delete    :: Ptr (TWxSize a) -> IO ()
+foreign import ccall wxSize_GetWidth  :: Ptr (TWxSize a) -> IO CInt
+foreign import ccall wxSize_GetHeight :: Ptr (TWxSize a) -> IO CInt
+
+
+{-----------------------------------------------------------------------------------------
+  Vector
+-----------------------------------------------------------------------------------------}
+--- | Define Point type synonym for backward compatibility.
+type Vector = Vector2 Int
+
+-- | A vector with an x and y delta.
+data (Num a) => Vector2 a = Vector
+        { vecX :: !a -- ^ delta-x component of a vector
+        , vecY :: !a -- ^ delta-y component of a vector
+        }
+        deriving (Eq,Show,Read,Typeable)
+
+-- | Construct a vector.
+vector :: (Num a) => a -> a -> Vector2 a
+vector dx dy  = Vector dx dy
+
+-- | Short function to construct a vector.
+vec :: (Num a) => a -> a -> Vector2 a
+vec dx dy  = Vector dx dy
+
+-- | A zero vector
+vecZero :: (Num a) => Vector2 a
+vecZero
+  = Vector 0 0
+
+-- | A `null' vector has a delta x and y of -1 and can be used for some
+-- wxWidgets functions to select a default vector.
+vecNull :: (Num a) => Vector2 a
+vecNull
+  = Vector (-1) (-1)
+
+vecFromPoint :: (Num a) => Point2 a -> Vector2 a
+vecFromPoint (Point x y)
+  = Vector x y
+
+vecFromSize :: Size -> Vector
+vecFromSize (Size w h)
+  = Vector w h
+
+
+-- marshalling
+withCVector :: Vector -> (CInt -> CInt -> IO a) -> IO a
+withCVector (Vector x y) f
+  = f (toCInt x) (toCInt y)
+
+withVectorResult :: (Ptr CInt -> Ptr CInt -> IO ()) -> IO Vector
+withVectorResult f
+  = alloca $ \px ->
+    alloca $ \py ->
+    do f px py
+       x <- peek px
+       y <- peek py
+       return (fromCVector x y)
+
+toCIntVectorX, toCIntVectorY :: Vector -> CInt
+toCIntVectorX (Vector x _y) = toCInt x
+toCIntVectorY (Vector _x y) = toCInt y
+
+fromCVector :: CInt -> CInt -> Vector
+fromCVector x y
+  = Vector (fromCInt x) (fromCInt y)
+
+withCVectorDouble :: Vector2 Double -> (CDouble -> CDouble -> IO a) -> IO a
+withCVectorDouble (Vector x y) f
+  = f (toCDouble x) (toCDouble y)
+
+withVectorDoubleResult :: (Ptr CDouble -> Ptr CDouble -> IO ()) -> IO (Vector2 Double)
+withVectorDoubleResult f
+  = alloca $ \px ->
+    alloca $ \py ->
+    do f px py
+       x <- peek px
+       y <- peek py
+       return (fromCVectorDouble x y)
+
+toCDoubleVectorX, toCDoubleVectorY :: Vector2 Double -> CDouble
+toCDoubleVectorX (Vector x _y) = toCDouble x
+toCDoubleVectorY (Vector _x y) = toCDouble y
+
+fromCVectorDouble :: CDouble -> CDouble -> Vector2 Double
+fromCVectorDouble x y
+  = Vector (fromCDouble x) (fromCDouble y)
+
+
+withWxVectorResult :: IO (Ptr (TWxPoint a)) -> IO Vector
+withWxVectorResult io
+  = do poynt <- io
+       x  <- wxPoint_GetX poynt
+       y  <- wxPoint_GetY poynt
+       wxPoint_Delete poynt
+       return (fromCVector x y)
+
+
+{-----------------------------------------------------------------------------------------
+  Rectangle
+-----------------------------------------------------------------------------------------}
+--- | Define Point type synonym for backward compatibility.
+type Rect = Rect2D Int
+
+-- | A rectangle is defined by the left x coordinate, the top y coordinate,
+-- the width and the height.
+data (Num a) => Rect2D a = Rect
+        { rectLeft   :: !a
+        , rectTop    :: !a
+        , rectWidth  :: !a
+        , rectHeight :: !a
+        }
+        deriving (Eq,Show,Read,Typeable)
+
+
+rectTopLeft, rectTopRight, rectBottomLeft, rectBottomRight :: (Num a) => Rect2D a -> Point2 a
+rectTopLeft     (Rect l t _w _h) = Point l       t
+rectTopRight    (Rect l t w  _h) = Point (l + w) t
+rectBottomLeft  (Rect l t _w h)  = Point l       (t + h)
+rectBottomRight (Rect l t w  h)  = Point (l + w) (t + h)
+
+rectBottom, rectRight :: (Num a) => Rect2D a -> a
+rectBottom (Rect _x y _w h) = y + h
+rectRight  (Rect x _y w _h) = x + w
+
+-- | Create a rectangle at a certain (upper-left) point with a certain size.
+rect :: (Num a) => Point2 a -> Size2D a -> Rect2D a
+rect (Point x y) (Size w h)
+  = Rect x y w h
+
+-- | Construct a (positive) rectangle between two (arbitrary) points.
+rectBetween :: (Num a, Ord a) => Point2 a -> Point2 a -> Rect2D a
+rectBetween (Point x0 y0) (Point x1 y1)
+  = Rect (min x0 x1) (min y0 y1) (abs (x1-x0)) (abs (y1-y0))
+
+-- | An empty rectangle at (0,0).
+rectZero :: (Num a) => Rect2D a
+rectZero
+  = Rect 0 0 0 0
+
+-- | An `null' rectangle is not a valid rectangle (@Rect -1 -1 -1 -1@) but can
+-- used for some wxWidgets functions to select a default rectangle. (i.e. 'frameCreate').
+rectNull :: (Num a) => Rect2D a
+rectNull
+  = Rect (-1) (-1) (-1) (-1)
+
+-- | Get the size of a rectangle.
+rectSize :: (Num a) => Rect2D a -> Size2D a
+rectSize (Rect _l _t w h)
+  = Size w h
+
+-- | Create a rectangle of a certain size with the upper-left corner at ('pt' 0 0).
+rectFromSize :: (Num a) => Size2D a -> Rect2D a
+rectFromSize (Size w h)
+  = Rect 0 0 w h
+
+rectIsEmpty :: (Num a, Eq a) => Rect2D a -> Bool
+rectIsEmpty (Rect _l _t w h)
+  = (w==0 && h==0)
+
+
+
+-- marshalling 1
+withCRect :: Rect -> (CInt -> CInt -> CInt -> CInt -> IO a) -> IO a
+withCRect (Rect x0 y0 x1 y1) f
+  = f (toCInt (x0)) (toCInt (y0)) (toCInt (x1)) (toCInt (y1))
+
+withRectResult :: (Ptr CInt -> Ptr CInt -> Ptr CInt -> Ptr CInt -> IO ()) -> IO Rect
+withRectResult f
+  = alloca $ \cx ->
+    alloca $ \cy ->
+    alloca $ \cw ->
+    alloca $ \ch ->
+    do f cx cy cw ch
+       x <- peek cx
+       y <- peek cy
+       w <- peek cw
+       h <- peek ch
+       return (fromCRect x y w h)
+
+fromCRect :: CInt -> CInt -> CInt -> CInt -> Rect
+fromCRect x y w h
+  = Rect (fromCInt x) (fromCInt y) (fromCInt w) (fromCInt h)
+
+toCIntRectX, toCIntRectY, toCIntRectW, toCIntRectH :: Rect -> CInt
+toCIntRectX (Rect  x _y _w _h) = toCInt x
+toCIntRectY (Rect _x  y _w _h) = toCInt y
+toCIntRectW (Rect _x _y  w _h) = toCInt w
+toCIntRectH (Rect _x _y _w  h) = toCInt h
+
+withCRectDouble :: Rect2D Double -> (CDouble -> CDouble -> CDouble -> CDouble -> IO a) -> IO a
+withCRectDouble (Rect x0 y0 x1 y1) f
+  = f (toCDouble (x0)) (toCDouble (y0)) (toCDouble (x1)) (toCDouble (y1))
+
+withRectDoubleResult :: (Ptr CDouble -> Ptr CDouble -> Ptr CDouble -> Ptr CDouble -> IO ()) -> IO (Rect2D Double)
+withRectDoubleResult f
+  = alloca $ \cx ->
+    alloca $ \cy ->
+    alloca $ \cw ->
+    alloca $ \ch ->
+    do f cx cy cw ch
+       x <- peek cx
+       y <- peek cy
+       w <- peek cw
+       h <- peek ch
+       return (fromCRectDouble x y w h)
+
+fromCRectDouble :: CDouble -> CDouble -> CDouble -> CDouble -> Rect2D Double
+fromCRectDouble x y w h
+  = Rect (fromCDouble x) (fromCDouble y) (fromCDouble w) (fromCDouble h)
+
+toCDoubleRectX, toCDoubleRectY, toCDoubleRectW, toCDoubleRectH :: Rect2D Double -> CDouble
+toCDoubleRectX (Rect  x _y _w _h) = toCDouble x
+toCDoubleRectY (Rect _x  y _w _h) = toCDouble y
+toCDoubleRectW (Rect _x _y  w _h) = toCDouble w
+toCDoubleRectH (Rect _x _y _w  h) = toCDouble h
+
+-- marshalling 2
+{-
+-- | A @wxRect@ object.
+type WxRectObject a   = Ptr (CWxRectObject a)
+type TWxRectObject a  = CWxRectObject a
+data CWxRectObject a  = CWxRectObject
+-}
+
+{-
+withWxRectRef :: String -> Rect -> (Ptr (TWxRect r) -> IO a) -> IO a
+withWxRectRef msg r f
+  = withWxRectPtr r $ \p -> withValidPtr msg p f
+-}
+
+withWxRectPtr :: Rect -> (Ptr (TWxRect r) -> IO a) -> IO a
+withWxRectPtr r f
+  = bracket (withCRect r wxRect_Create)
+            (wxRect_Delete)
+            f
+
+withWxRectResult :: IO (Ptr (TWxRect a)) -> IO Rect
+withWxRectResult io
+  = do rt <- io
+       x  <- wxRect_GetX  rt
+       y  <- wxRect_GetY  rt
+       w  <- wxRect_GetWidth  rt
+       h  <- wxRect_GetHeight rt
+       wxRect_Delete rt
+       return (fromCRect x y w h)
+
+foreign import ccall wxRect_Create    :: CInt -> CInt -> CInt -> CInt -> IO (Ptr (TWxRect a))
+foreign import ccall wxRect_Delete    :: Ptr (TWxRect a) -> IO ()
+foreign import ccall wxRect_GetX      :: Ptr (TWxRect a) -> IO CInt
+foreign import ccall wxRect_GetY      :: Ptr (TWxRect a) -> IO CInt
+foreign import ccall wxRect_GetWidth  :: Ptr (TWxRect a) -> IO CInt
+foreign import ccall wxRect_GetHeight :: Ptr (TWxRect a) -> IO CInt
+
+
+{-----------------------------------------------------------------------------------------
+  CInt
+-----------------------------------------------------------------------------------------}
+withIntResult :: IO CInt -> IO Int
+withIntResult io
+  = do x <- io
+       return (fromCInt x)
+
+toCInt :: Int -> CInt
+toCInt i = fromIntegral i
+
+fromCInt :: CInt -> Int
+fromCInt ci
+  = fromIntegral ci
+
+{-----------------------------------------------------------------------------------------
+  CIntPtr
+-----------------------------------------------------------------------------------------}
+withIntPtrResult :: IO CIntPtr -> IO IntPtr
+withIntPtrResult io
+  = do x <- io
+       return (fromCIntPtr x)
+
+toCIntPtr :: IntPtr -> CIntPtr
+toCIntPtr i = fromIntegral i
+
+fromCIntPtr :: CIntPtr -> IntPtr
+fromCIntPtr ci
+  = fromIntegral ci
+
+{-----------------------------------------------------------------------------------------
+  CDouble
+-----------------------------------------------------------------------------------------}
+withDoubleResult :: IO CDouble -> IO Double
+withDoubleResult io
+  = do x <- io
+       return (fromCDouble x)
+
+toCDouble :: Double -> CDouble
+toCDouble d = realToFrac d
+
+fromCDouble :: CDouble -> Double
+fromCDouble cd
+  = realToFrac cd
+
+{-----------------------------------------------------------------------------------------
+  CBool
+-----------------------------------------------------------------------------------------}
+type CBool  = CInt
+
+toCBool :: Bool -> CBool
+toCBool = intToCBool . fromBool
+
+withBoolResult :: IO CBool -> IO Bool
+withBoolResult io
+  = do x <- io
+       return (fromCBool x)
+
+fromCBool :: CBool -> Bool
+fromCBool  = toBool . cboolToInt
+
+foreign import ccall "intToBool" intToCBool :: Int -> CBool
+foreign import ccall "boolToInt" cboolToInt :: CBool -> Int
+
+{-----------------------------------------------------------------------------------------
+  CString
+-----------------------------------------------------------------------------------------}
+withStringResult :: (Ptr CChar -> IO CInt) -> IO String
+withStringResult f
+  = do len <- f nullPtr
+       if (len<=0)
+        then return ""
+        else withCString (replicate (fromCInt len) ' ') $ \cstr ->
+             do _ <- f cstr
+                peekCStringLen (cstr,fromCInt len)
+
+withWStringResult :: (Ptr CWchar -> IO CInt) -> IO String
+withWStringResult f
+  = do len <- f nullPtr
+       if (len<=0)
+        then return ""
+        else withCWString (replicate (fromCInt len) ' ') $ \cstr ->
+             do _ <- f cstr
+                peekCWString cstr
+
+{-----------------------------------------------------------------------------------------
+  ByteString
+-----------------------------------------------------------------------------------------}
+-- TODO: replace this by more efficient implementation.
+-- e.g. use mmap when bytestring support mmap interface.
+withByteStringResult :: (Ptr CChar -> IO CInt) -> IO B.ByteString
+withByteStringResult f
+  = do len <- f nullPtr
+       if (len<=0)
+        then return $ BC.pack ""
+        else withCString (replicate (fromCInt len) ' ') $ \cstr ->
+             do _ <- f cstr
+                B.packCStringLen (cstr,fromCInt len)
+
+withLazyByteStringResult :: (Ptr CChar -> IO CInt) -> IO LB.ByteString
+withLazyByteStringResult f
+  = do str <- withStringResult f
+       return $ LBC.pack str
+
+{-----------------------------------------------------------------------------------------
+  Arrays
+-----------------------------------------------------------------------------------------}
+withArrayStringResult :: (Ptr (Ptr CChar) -> IO CInt) -> IO [String]
+withArrayStringResult f
+  = do clen <- f nullPtr
+       let len = fromCInt clen
+       if (len <= 0)
+        then return []
+        else allocaArray len $ \carr ->
+             do _ <- f carr
+                arr <- peekArray len carr
+                mapM peekCString arr
+
+-- FIXME: factorise with withArrayStringResult
+withArrayWStringResult :: (Ptr (Ptr CWchar) -> IO CInt) -> IO [String]
+withArrayWStringResult f
+  = do clen <- f nullPtr
+       let len = fromCInt clen
+       if (len <= 0)
+        then return []
+        else allocaArray len $ \carr ->
+             do _ <- f carr
+                arr <- peekArray len carr
+                mapM peekCWString arr
+
+
+withArrayIntResult :: (Ptr CInt -> IO CInt) -> IO [Int]
+withArrayIntResult f
+  = do clen <- f nullPtr
+       let len = fromCInt clen
+       if (len <= 0)
+        then return []
+        else allocaArray len $ \carr ->
+             do _ <- f carr
+                xs <- peekArray len carr
+                return (map fromCInt xs)
+
+withArrayIntPtrResult :: (Ptr CIntPtr -> IO CInt) -> IO [IntPtr]
+withArrayIntPtrResult f
+  = do clen <- f nullPtr
+       let len = fromCInt clen
+       if (len <= 0)
+        then return []
+        else allocaArray len $ \carr ->
+             do _ <- f carr
+                xs <- peekArray len carr
+                return (map fromCIntPtr xs)
+
+withArrayObjectResult :: (Ptr (Ptr a) -> IO CInt) -> IO [Object a]
+withArrayObjectResult f
+  = do clen <- f nullPtr
+       let len = fromCInt clen
+       if (len <= 0)
+        then return []
+        else allocaArray len $ \carr ->
+             do _ <- f carr
+                ps <- peekArray len carr
+                return (map objectFromPtr ps)
+
+withArrayString :: [String] -> (CInt -> Ptr CString -> IO a) -> IO a
+withArrayString xs f
+  = withCStrings xs [] $ \cxs ->
+    withArray0 ptrNull cxs $ \carr ->
+    f (toCInt len) carr
+  where
+    len = length xs
+
+    withCStrings [] cxs f'
+      = f' (reverse cxs)
+    withCStrings (x':xs') cxs f'
+      = withCString x' $ \cx ->
+        withCStrings xs' (cx:cxs) f'
+
+-- FIXME: factorise with withArrayString
+withArrayWString :: [String] -> (CInt -> Ptr CWString -> IO a) -> IO a
+withArrayWString xs f
+  = withCWStrings xs [] $ \cxs ->
+    withArray0 ptrNull cxs $ \carr ->
+    f (toCInt len) carr
+  where
+    len = length xs
+
+    withCWStrings [] cxs f'
+      = f' (reverse cxs)
+    withCWStrings (x':xs') cxs f'
+      = withCWString x' $ \cx ->
+        withCWStrings xs' (cx:cxs) f'
+
+
+withArrayInt :: [Int] -> (CInt -> Ptr CInt -> IO a) -> IO a
+withArrayInt xs f
+  = withArray0 0 (map toCInt xs) $ \carr ->
+    f (toCInt (length xs)) carr
+
+withArrayIntPtr :: [IntPtr] -> (CInt -> Ptr CIntPtr -> IO a) -> IO a
+withArrayIntPtr xs f
+  = withArray0 0 (map toCIntPtr xs) $ \carr ->
+    f (toCInt (length xs)) carr
+
+withArrayObject :: [Ptr a] -> (CInt -> Ptr (Ptr a) -> IO b) -> IO b
+withArrayObject xs f
+  = withArray0 ptrNull xs $ \carr ->
+    f (toCInt (length xs)) carr
+
+{-----------------------------------------------------------------------------------------
+  CCHar
+-----------------------------------------------------------------------------------------}
+toCChar :: Char -> CChar
+toCChar = castCharToCChar
+
+-- generalised to work with Char and CChar
+withCharResult :: (Integral a, Show a) => IO a -> IO Char
+withCharResult io
+  = do x <- io
+       if (x < 0)
+          then do traceIO ("Recieved negative unicode: " ++ (show x))
+                  return '\n'
+          else return (fromCWchar x)
+
+{- The (x < 0) if expression in withCharResult is a workaround for
+"processExecAsyncTimed dies with Prelude.chr bad argument"- bug
+reported here
+http://sourceforge.net/mailarchive/message.php?msg_id=54647.129.16.31.149.1111686341.squirrel%40webmail.chalmers.se
+and here
+http://www.mail-archive.com/wxhaskell-users@lists.sourceforge.net/msg00267.html
+
+Windows GUI-only programs have no stdin, stdout or stderr. So we use Debug.Trace.traceIO
+for reporting message.
+http://www.haskell.org/ghc/docs/6.8.2/html/users_guide/terminal-interaction.html
+http://www.haskell.org/ghc/docs/7.4.1/html/libraries/base-4.5.0.0/Debug-Trace.html#v:traceIO
+-}
+
+
+fromCChar :: CChar -> Char
+fromCChar = castCCharToChar
+
+{-----------------------------------------------------------------------------------------
+  CCHar
+-----------------------------------------------------------------------------------------}
+toCWchar :: (Num a) => Char -> a
+toCWchar = fromIntegral . fromEnum
+
+
+fromCWchar :: Integral a => a -> Char
+fromCWchar = toEnum . fromIntegral
+
+
+{-----------------------------------------------------------------------------------------
+  CFunPtr
+-----------------------------------------------------------------------------------------}
+toCFunPtr :: FunPtr a -> Ptr a
+toCFunPtr fptr
+  = castFunPtrToPtr fptr
+
+-- | Null pointer, use with care.
+ptrNull :: Ptr a
+ptrNull
+  = nullPtr
+
+-- | Test for null.
+ptrIsNull :: Ptr a -> Bool
+ptrIsNull p
+  = (p == ptrNull)
+
+-- | Cast a pointer type, use with care.
+ptrCast :: Ptr a -> Ptr b
+ptrCast p
+  = castPtr p
+
+{-----------------------------------------------------------------------------------------
+  Marshalling of classes that are managed
+-----------------------------------------------------------------------------------------}
+{-
+-- | A @Managed a@ is a pointer to an object of type @a@, just like 'Object'. However,
+-- managed objects are automatically deleted when garbage collected. This is used for
+-- certain classes that are not managed by the wxWidgets library, like 'Bitmap's
+type Managed a  = ForeignPtr a
+
+-- | Create a managed object. Takes a finalizer as argument. This is normally a
+-- a delete function like 'windowDelete'.
+createManaged :: IO () -> Ptr a -> IO (Managed a)
+createManaged final obj
+  = newForeignPtr obj final
+
+-- | Add an extra finalizer to a managed object.
+managedAddFinalizer :: IO () -> Managed a -> IO ()
+managedAddFinalizer io managed
+  = addForeignPtrFinalizer managed io
+
+-- | Do something with the object from a managed object.
+withManaged :: Managed a -> (Ptr a -> IO b) -> IO b
+withManaged fptr f
+  = withForeignPtr fptr f
+
+
+-- | Keep a managed object explicitly alive.
+managedTouch :: Managed a -> IO ()
+managedTouch fptr
+  = touchForeignPtr fptr
+
+-- | A null pointer, use with care.
+{-# NOINLINE managedNull #-}
+managedNull :: Managed a
+managedNull
+  = unsafePerformIO (createManaged (return ()) ptrNull)
+
+-- | Test for null.
+managedIsNull :: Managed a -> Bool
+managedIsNull managed
+  = (managed == managedNull)
+
+-- | Cast a managed object, use with care.
+managedCast :: Managed a -> Managed b
+managedCast fptr
+  = castForeignPtr fptr
+-}
+
+
+{-----------------------------------------------------------------------------------------
+  Classes assigned by value.
+-----------------------------------------------------------------------------------------}
+assignRef :: IO (Ptr (TWxObject a)) -> (Ptr (TWxObject a) -> IO ()) -> IO (WxObject a)
+assignRef create f
+  = withManagedObjectResult (assignRefPtr create f)
+
+assignRefPtr :: IO (Ptr a) -> (Ptr a -> IO ()) -> IO (Ptr a)
+assignRefPtr create f
+  = do p <- create
+       f p
+       return p
+
+
+withManagedBitmapResult :: IO (Ptr (TBitmap a)) -> IO (Bitmap a)
+withManagedBitmapResult io
+  = do p      <- io
+       static <- wxBitmap_IsStatic p
+       if (static) 
+        then return (objectFromPtr p)
+        else do mp <- wxManagedPtr_CreateFromBitmap p
+                objectFromManagedPtr mp
+
+foreign import ccall wxManagedPtr_CreateFromBitmap :: Ptr (TBitmap a) -> IO (ManagedPtr (TBitmap a))
+foreign import ccall wxBitmap_IsStatic :: Ptr (TBitmap a) -> IO Bool
+
+withManagedIconResult :: IO (Ptr (TIcon a)) -> IO (Icon a)
+withManagedIconResult io
+  = do p      <- io
+       if (wxIcon_IsStatic p) 
+        then return (objectFromPtr p)
+        else do mp <- wxManagedPtr_CreateFromIcon p
+                objectFromManagedPtr mp
+
+foreign import ccall wxManagedPtr_CreateFromIcon :: Ptr (TIcon a) -> IO (ManagedPtr (TIcon a))
+foreign import ccall wxIcon_IsStatic :: Ptr (TIcon a) -> Bool
+
+withManagedBrushResult :: IO (Ptr (TBrush a)) -> IO (Brush a)
+withManagedBrushResult io
+  = do p      <- io
+       if (wxBrush_IsStatic p) 
+        then return (objectFromPtr p)
+        else do mp <- wxManagedPtr_CreateFromBrush p
+                objectFromManagedPtr mp
+
+foreign import ccall wxManagedPtr_CreateFromBrush :: Ptr (TBrush a) -> IO (ManagedPtr (TBrush a))
+foreign import ccall wxBrush_IsStatic :: Ptr (TBrush a) -> Bool
+
+withManagedCursorResult :: IO (Ptr (TCursor a)) -> IO (Cursor a)
+withManagedCursorResult io
+  = do p      <- io
+       if (wxCursor_IsStatic p) 
+        then return (objectFromPtr p)
+        else do mp <- wxManagedPtr_CreateFromCursor p
+                objectFromManagedPtr mp
+
+foreign import ccall wxManagedPtr_CreateFromCursor :: Ptr (TCursor a) -> IO (ManagedPtr (TCursor a))
+foreign import ccall wxCursor_IsStatic :: Ptr (TCursor a) -> Bool
+
+withManagedFontResult :: IO (Ptr (TFont a)) -> IO (Font a)
+withManagedFontResult io
+  = do p      <- io
+       if (wxFont_IsStatic p) 
+        then return (objectFromPtr p)
+        else do mp <- wxManagedPtr_CreateFromFont p
+                objectFromManagedPtr mp
+
+foreign import ccall wxManagedPtr_CreateFromFont :: Ptr (TFont a) -> IO (ManagedPtr (TFont a))
+foreign import ccall wxFont_IsStatic :: Ptr (TFont a) -> Bool
+
+withManagedPenResult :: IO (Ptr (TPen a)) -> IO (Pen a)
+withManagedPenResult io
+  = do p      <- io
+       if (wxPen_IsStatic p) 
+        then return (objectFromPtr p)
+        else do mp <- wxManagedPtr_CreateFromPen p
+                objectFromManagedPtr mp
+
+foreign import ccall wxManagedPtr_CreateFromPen :: Ptr (TPen a) -> IO (ManagedPtr (TPen a))
+foreign import ccall wxPen_IsStatic :: Ptr (TPen a) -> Bool
+
+
+
+withRefBitmap :: (Ptr (TBitmap a) -> IO ()) -> IO (Bitmap a)
+withRefBitmap f
+  = withManagedBitmapResult $ assignRefPtr wxBitmap_Create  f
+foreign import ccall "wxBitmap_CreateDefault" wxBitmap_Create :: IO (Ptr (TBitmap a))
+
+withRefCursor :: (Ptr (TCursor a) -> IO ()) -> IO (Cursor a)
+withRefCursor f
+  = withManagedCursorResult $ assignRefPtr (wx_Cursor_CreateFromStock 1)  f
+foreign import ccall "Cursor_CreateFromStock" wx_Cursor_CreateFromStock :: CInt -> IO (Ptr (TCursor a))
+
+withRefIcon :: (Ptr (TIcon a) -> IO ()) -> IO (Icon a)
+withRefIcon f
+  = withManagedIconResult $ assignRefPtr wxIcon_Create  f
+foreign import ccall "wxIcon_CreateDefault" wxIcon_Create :: IO (Ptr (TIcon a))
+
+withRefImage :: (Ptr (TImage a) -> IO ()) -> IO (Image a)
+withRefImage f
+  = assignRef wxImage_Create  f
+foreign import ccall "wxImage_CreateDefault" wxImage_Create :: IO (Ptr (TImage a))
+
+withRefFont :: (Ptr (TFont a) -> IO ()) -> IO (Font a)
+withRefFont f
+  = withManagedFontResult $ assignRefPtr wxFont_Create  f
+foreign import ccall "wxFont_CreateDefault" wxFont_Create :: IO (Ptr (TFont a))
+
+
+withRefPen :: (Ptr (TPen a) -> IO ()) -> IO (Pen a)
+withRefPen f
+  = withManagedPenResult $ assignRefPtr wxPen_Create  f
+foreign import ccall "wxPen_CreateDefault" wxPen_Create :: IO (Ptr (TPen a))
+
+
+withRefBrush :: (Ptr (TBrush a) -> IO ()) -> IO (Brush a)
+withRefBrush f
+  = withManagedBrushResult $ assignRefPtr wxBrush_Create  f
+foreign import ccall "wxBrush_CreateDefault" wxBrush_Create :: IO (Ptr (TBrush a))
+
+withRefFontData :: (Ptr (TFontData a) -> IO ()) -> IO (FontData a)
+withRefFontData f
+  = assignRef wxFontData_Create  f
+foreign import ccall "wxFontData_Create" wxFontData_Create :: IO (Ptr (TFontData a))
+
+withRefListItem :: (Ptr (TListItem a) -> IO ()) -> IO (ListItem a)
+withRefListItem f
+  = assignRef wxListItem_Create  f
+foreign import ccall "wxListItem_Create" wxListItem_Create :: IO (Ptr (TListItem a))
+
+withRefPrintData :: (Ptr (TPrintData a) -> IO ()) -> IO (PrintData a)
+withRefPrintData f
+  = assignRef wxPrintData_Create  f
+foreign import ccall "wxPrintData_Create" wxPrintData_Create :: IO (Ptr (TPrintData a))
+
+withRefPrintDialogData :: (Ptr (TPrintDialogData a) -> IO ()) -> IO (PrintDialogData a)
+withRefPrintDialogData f
+  = assignRef wxPrintDialogData_Create  f
+foreign import ccall "wxPrintDialogData_CreateDefault" wxPrintDialogData_Create :: IO (Ptr (TPrintDialogData a))
+
+withRefPageSetupDialogData :: (Ptr (TPageSetupDialogData a) -> IO ()) -> IO (PageSetupDialogData a)
+withRefPageSetupDialogData f
+  = assignRef wxPageSetupDialogData_Create  f
+foreign import ccall "wxPageSetupDialogData_Create" wxPageSetupDialogData_Create :: IO (Ptr (TPageSetupDialogData a))
+
+
+withManagedDateTimeResult :: IO (Ptr (TDateTime a)) -> IO (DateTime a)
+withManagedDateTimeResult io
+  = do p  <- io
+       if (p==nullPtr)
+        then return (objectFromPtr p)
+        else do mp <- wxManagedPtr_CreateFromDateTime p
+                objectFromManagedPtr mp
+
+foreign import ccall wxManagedPtr_CreateFromDateTime :: Ptr (TDateTime a) -> IO (ManagedPtr (TDateTime a))
+
+
+withRefDateTime :: (Ptr (TDateTime a) -> IO ()) -> IO (DateTime a)
+withRefDateTime f
+  = withManagedDateTimeResult $ assignRefPtr wxDateTime_Create  f
+foreign import ccall "wxDateTime_Create" wxDateTime_Create :: IO (Ptr (TDateTime a))
+
+
+withManagedGridCellCoordsArrayResult :: IO (Ptr (TGridCellCoordsArray a)) -> IO (GridCellCoordsArray a)
+withManagedGridCellCoordsArrayResult io
+  = do p  <- io
+       if (p==nullPtr)
+        then return (objectFromPtr p)
+        else do mp <- wxManagedPtr_CreateFromGridCellCoordsArray p
+                objectFromManagedPtr mp
+
+foreign import ccall wxManagedPtr_CreateFromGridCellCoordsArray :: Ptr (TGridCellCoordsArray a) -> IO (ManagedPtr (TGridCellCoordsArray a))
+
+withRefGridCellCoordsArray :: (Ptr (TGridCellCoordsArray a) -> IO ()) -> IO (GridCellCoordsArray a)
+withRefGridCellCoordsArray f
+  = withManagedGridCellCoordsArrayResult $ assignRefPtr wxGridCellCoordsArray_Create  f
+foreign import ccall "wxGridCellCoordsArray_Create" wxGridCellCoordsArray_Create :: IO (Ptr (TGridCellCoordsArray a))
+
+
+
+
+{-----------------------------------------------------------------------------------------
+  Tree items
+-----------------------------------------------------------------------------------------}
+-- | Identifies tree items. Note: Replaces the @TreeItemId@ object and takes automatically
+-- care of allocation issues.
+newtype TreeItem  = TreeItem IntPtr
+                  deriving (Eq,Show,Read)
+
+-- | Invalid tree item.
+treeItemInvalid :: TreeItem
+treeItemInvalid   = TreeItem 0
+
+-- | Is a tree item ok? (i.e. not invalid).
+treeItemIsOk :: TreeItem -> Bool
+treeItemIsOk (TreeItem val)
+  = (val /= 0)
+
+treeItemFromInt :: IntPtr -> TreeItem
+treeItemFromInt i
+  = TreeItem i
+
+withRefTreeItemId :: (Ptr (TTreeItemId ()) -> IO ()) -> IO TreeItem
+withRefTreeItemId f
+  = do item <- assignRefPtr treeItemIdCreate f
+       val  <- treeItemIdGetValue item
+       treeItemIdDelete item
+       return (TreeItem (fromCIntPtr val))
+
+withTreeItemIdRef :: String -> TreeItem -> (Ptr (TTreeItemId a) -> IO b) -> IO b
+withTreeItemIdRef msg t f
+  = withTreeItemIdPtr t $ \p -> withValidPtr msg p f
+
+withTreeItemIdPtr :: TreeItem -> (Ptr (TTreeItemId a) -> IO b) -> IO b
+withTreeItemIdPtr (TreeItem val) f 
+  = do item <- treeItemIdCreateFromValue (toCIntPtr val)
+       x    <- f item
+       treeItemIdDelete item
+       return x
+
+withManagedTreeItemIdResult :: IO (Ptr (TTreeItemId a)) -> IO TreeItem 
+withManagedTreeItemIdResult io
+  = do item <- io
+       val  <- treeItemIdGetValue item
+       treeItemIdDelete item
+       return (TreeItem (fromCIntPtr val))
+
+foreign import ccall "wxTreeItemId_Create" treeItemIdCreate :: IO (Ptr (TTreeItemId a))
+foreign import ccall "wxTreeItemId_GetValue" treeItemIdGetValue :: Ptr (TTreeItemId a) -> IO CIntPtr
+foreign import ccall "wxTreeItemId_CreateFromValue" treeItemIdCreateFromValue :: CIntPtr -> IO (Ptr (TTreeItemId a))
+foreign import ccall "wxTreeItemId_Delete" treeItemIdDelete :: Ptr (TTreeItemId a) -> IO ()
+
+{-----------------------------------------------------------------------------------------
+  String
+-----------------------------------------------------------------------------------------}
+{-
+-- | A @wxString@ object.
+type WxStringObject a   = Ptr (CWxStringObject a)
+type TWxStringObject a  = CWxStringObject a
+data CWxStringObject a  = CWxStringObject
+-}
+
+-- FIXME: I am blithely changing these over to use CWString instead of String
+-- whereas in the rest of the code, I actually make a new version of the fns
+withStringRef :: String -> String -> (Ptr (TWxString s) -> IO a) -> IO a
+withStringRef msg s f
+  = withStringPtr s $ \p -> withValidPtr msg p f
+
+withStringPtr :: String -> (Ptr (TWxString s) -> IO a) -> IO a
+withStringPtr s f
+  = withCWString s $ \cstr ->
+    bracket (wxString_Create cstr)
+            (wxString_Delete)
+            f
+
+withManagedStringResult :: IO (Ptr (TWxString a)) -> IO String
+withManagedStringResult io
+  = do wxs <- io
+       len <- wxString_Length wxs
+       s   <- if (len<=0)
+                then return ""
+                else withCWString (replicate (fromCInt len) ' ') $ \cstr ->
+                     do _ <- wxString_GetString wxs cstr
+                        peekCWStringLen (cstr, fromCInt len)
+       wxString_Delete wxs
+       return s
+
+
+foreign import ccall wxString_Create    :: Ptr CWchar -> IO (Ptr (TWxString a))
+-- foreign import ccall wxString_CreateLen :: Ptr CWchar -> CInt -> IO (Ptr (TWxString a))
+foreign import ccall wxString_Delete    :: Ptr (TWxString a) -> IO ()
+foreign import ccall wxString_GetString :: Ptr (TWxString a) -> Ptr CWchar -> IO CInt
+foreign import ccall wxString_Length    :: Ptr (TWxString a) -> IO CInt
+
+
+{-----------------------------------------------------------------------------------------
+  Color
+-----------------------------------------------------------------------------------------}
+-- | An abstract data type to define colors.
+newtype Color = Color Word 
+              deriving (Eq, Typeable) -- , IArray UArray) 
+
+instance Show Color where
+  showsPrec d c
+    = showParen (d > 0) (showString "rgba(" . shows (colorRed   c :: Int) .
+                          showChar   ','    . shows (colorGreen c :: Int) .
+                          showChar   ','    . shows (colorBlue  c :: Int) .
+                          showChar   ','    . shows (colorAlpha c :: Int) .
+                          showChar   ')' )
+
+-- | Create a color from a red\/green\/blue triple.
+colorRGB :: (Integral a) => a -> a -> a -> Color
+colorRGB r g b = Color (shiftL (fromIntegral r) 24 .|. shiftL (fromIntegral g) 16 .|. shiftL (fromIntegral b) 8 .|. 255)
+
+-- | Create a color from a red\/green\/blue triple.
+rgb :: (Integral a) => a -> a -> a -> Color
+rgb r g b = colorRGB r g b
+
+-- | Create a color from a red\/green\/blue\/alpha quadruple.
+colorRGBA :: (Integral a) => a -> a -> a -> a -> Color
+colorRGBA r g b a = Color (shiftL (fromIntegral r) 24 .|. shiftL (fromIntegral g) 16 .|. shiftL (fromIntegral b) 8 .|. (fromIntegral a))
+
+-- | Create a color from a red\/green\/blue\/alpha quadruple.
+rgba :: (Integral a) => a -> a -> a -> a -> Color
+rgba r g b a = colorRGBA r g b a
+
+
+-- | Return an 'Int' where the three least significant bytes contain
+-- the red, green, and blue component of a color.
+intFromColor :: Color -> Int
+intFromColor colr
+  = let r = colorRed colr
+        g = colorGreen colr
+        b = colorBlue colr
+    in (shiftL r 16 .|. shiftL g 8 .|. b)
+
+-- | Set the color according to an rgb integer. (see 'rgbIntFromColor').
+colorFromInt :: Int -> Color
+colorFromInt colr
+  = let r = (shiftR colr 16) .&. 0xFF
+        g = (shiftR colr 8) .&. 0xFF
+        b = colr .&. 0xFF
+    in colorRGB r g b
+
+-- | Return an 'Num' class's numeric representation where the three
+-- least significant the red, green, and blue component of a color.
+fromColor :: (Num a) => Color -> a
+fromColor (Color colr)
+  = fromIntegral colr
+
+-- | Set the color according to 'Integral' class's numeric representation.
+-- (see 'rgbaIntFromColor').
+toColor :: (Integral a) => a -> Color
+toColor
+  = Color . fromIntegral
+
+-- marshalling 1
+-- | Returns a red color component
+colorRed   :: (Num a) => Color -> a
+colorRed   (Color colr) = fromIntegral ((shiftR colr 24) .&. 0xFF)
+
+-- | Returns a green color component
+colorGreen :: (Num a) => Color -> a
+colorGreen (Color colr) = fromIntegral ((shiftR colr 16) .&. 0xFF)
+
+-- | Returns a blue color component
+colorBlue  :: (Num a) => Color -> a
+colorBlue  (Color colr) = fromIntegral ((shiftR colr 8) .&. 0xFF)
+
+-- | Returns a alpha channel component
+colorAlpha  :: (Num a) => Color -> a
+colorAlpha  (Color colr) = fromIntegral (colr .&. 0xFF)
+
+
+-- | This is an illegal color, corresponding to @nullColour@.
+colorNull :: Color
+colorNull
+  = Color (-1)
+
+{-# DEPRECATED colorOk "Use colorIsOk instead" #-}
+-- | deprecated: use 'colorIsOk' instead.
+colorOk :: Color -> Bool
+colorOk = colorIsOk
+
+-- | Check of a color is valid (@Colour::IsOk@)
+colorIsOk :: Color -> Bool
+colorIsOk = (/= colorNull)
+
+
+-- marshalling 2
+{-
+type Colour a     = Object (CColour a)
+type ColourPtr a  = Ptr (CColour a)
+data CColour a    = CColour
+-}
+
+withRefColour :: (Ptr (TColour a) -> IO ()) -> IO Color
+withRefColour f
+  = withManagedColourResult $
+    assignRefPtr colourCreate f
+
+withManagedColourResult :: IO (Ptr (TColour a)) -> IO Color
+withManagedColourResult io
+  = do pcolour <- io
+       color <- do ok <- colourIsOk pcolour
+                   if (ok==0)
+                    then return colorNull
+                    else do colr <- colourGetUnsignedInt pcolour
+                            return (toColor colr)
+       colourSafeDelete pcolour
+       return color
+
+
+withColourRef :: String -> Color -> (Ptr (TColour a) -> IO b) -> IO b
+withColourRef msg c f
+  = withColourPtr c $ \p -> withValidPtr msg p f
+
+withColourPtr :: Color -> (Ptr (TColour a) -> IO b) -> IO b
+withColourPtr c f
+  = do pcolour <- colourCreateFromUnsignedInt (fromColor c)
+       x <- f pcolour
+       colourSafeDelete pcolour
+       return x
+
+colourFromColor :: Color -> IO (Colour ())
+colourFromColor c
+  = if (colorOk c)
+     then do p <- colourCreateFromUnsignedInt (fromColor c)
+             if (colourIsStatic p)
+              then return (objectFromPtr p)
+              else do mp <- wxManagedPtr_CreateFromColour p
+                      objectFromManagedPtr mp
+     else withObjectResult colourNull
+          
+
+colorFromColour :: Colour a -> IO Color
+colorFromColour c
+  = withObjectRef "colorFromColour" c $ \pcolour ->
+    do ok <- colourIsOk pcolour
+       if (ok==0)
+        then return colorNull
+        else do colr <- colourGetUnsignedInt pcolour
+                return (toColor colr)
+
+
+foreign import ccall "wxColour_CreateEmpty" colourCreate    :: IO (Ptr (TColour a))
+-- foreign import ccall "wxColour_CreateFromInt" colourCreateFromInt :: CInt -> IO (Ptr (TColour a))
+-- foreign import ccall "wxColour_GetInt" colourGetInt               :: Ptr (TColour a) -> IO CInt
+foreign import ccall "wxColour_CreateFromUnsignedInt" colourCreateFromUnsignedInt :: Word -> IO (Ptr (TColour a))
+foreign import ccall "wxColour_GetUnsignedInt" colourGetUnsignedInt       :: Ptr (TColour a) -> IO Word
+foreign import ccall "wxColour_SafeDelete" colourSafeDelete   :: Ptr (TColour a) -> IO ()
+foreign import ccall "wxColour_IsStatic" colourIsStatic   :: Ptr (TColour a) -> Bool
+foreign import ccall "wxColour_IsOk"    colourIsOk   :: Ptr (TColour a) -> IO CInt
+foreign import ccall "Null_Colour"    colourNull :: IO (Ptr (TColour a))
+foreign import ccall wxManagedPtr_CreateFromColour :: Ptr (TColour a) -> IO (ManagedPtr (TColour a))
− src/include/db.h
@@ -1,138 +0,0 @@-/*-----------------------------------------------------------------------------
-  HENV, HDBC, HSTMT
------------------------------------------------------------------------------*/
-TClassDef(wxHENV);
-TClassDef(wxHDBC);
-TClassDef(wxHSTMT);
-
-TClass(wxHENV)  Null_HENV();
-TClass(wxHDBC)  Null_HDBC();
-TClass(wxHSTMT) Null_HSTMT();
-
-/*-----------------------------------------------------------------------------
-  Global
------------------------------------------------------------------------------*/
-/** Are the database classes supported on this platform ? */
-TBool wxDb_IsSupported();
-int   wxDb_SqlTypeToStandardSqlType( int sqlType );
-int   wxDb_StandardSqlTypeToSqlType( int sqlType );
-void  wxDb_CloseConnections();
-int   wxDb_ConnectionsInUse();
-TClass(wxDb)  wxDb_GetConnection( TClass(wxDbConnectInf) connectInf, TBool fwdCursorsOnly );
-TBool wxDb_FreeConnection( TClass(wxDb) db);
-TBool wxDb_GetDataSource( TClass(HENV) henv, void* dsn, int dsnLen, void* description, int descLen, int direction );
-
-/*-----------------------------------------------------------------------------
-  ConnectInf
------------------------------------------------------------------------------*/
-TClassDef(wxDbConnectInf);
-
-TClass(wxDbConnectInf) wxDbConnectInf_Create(TClass(wxHENV) henv, TClass(wxString) dsn, TClass(wxString) userID, TClass(wxString) password, TClass(wxString) defaultDir, TClass(wxString) description, TClass(wxString) fileType);
-void wxDbConnectInf_Delete(TSelf(wxDbConnectInf) self);
-void wxDbConnectInf_AllocHenv(TSelf(wxDbConnectInf) self);
-void wxDbConnectInf_FreeHenv(TSelf(wxDbConnectInf) self);
-TClass(wxHENV) wxDbConnectInf_GetHenv(TSelf(wxDbConnectInf) self);
-
-/*-----------------------------------------------------------------------------
-  Db
------------------------------------------------------------------------------*/
-TClassDef(wxDb);
-
-int              wxDb_GetStatus(TSelf(wxDb) db);
-int              wxDb_GetNativeError( TSelf(wxDb) db);
-/** Retrieve error message set by 'dbGetNextError' */
-TClass(wxString) wxDb_GetErrorMsg(TSelf(wxDb) db);
-/** Retrieve the last /n/ error messages, where
-    /n/ is 'dbGetNumErrorMessages'. Index 0 is the most recent error
-   that corresponds with 'dbGetStatus' and 'dbGetNativeError' */
-TClass(wxString) wxDb_GetErrorMessage( TSelf(wxDb) db, int index);
-/** Get the number of stored error messages. */
-int wxDb_GetNumErrorMessages( TSelf(wxDb) db);
-TBool wxDb_IsOpen(TSelf(wxDb) db );
-void wxDb_Close(TSelf(wxDb) db);
-TBool wxDb_CommitTrans(TSelf(wxDb) db);
-TBool wxDb_RollbackTrans(TSelf(wxDb) db);
-TClass(wxHENV) wxDb_GetHENV(TSelf(wxDb) db);
-TClass(wxHDBC) wxDb_GetHDBC(TSelf(wxDb) db);
-TClass(wxHSTMT) wxDb_GetHSTMT(TSelf(wxDb) db);
-TBool wxDb_GetNextError(TSelf(wxDb) db, TClass(wxHENV) henv, TClass(wxHDBC) hdbc, TClass(wxHSTMT) hstmt);
-TBool wxDb_ExecSql(TSelf(wxDb) db, TClass(wxString) sql);
-TBool wxDb_GetNext(TSelf(wxDb) db);
-TBool wxDb_GetData(TSelf(wxDb) db, int column, int ctype, void* data, int dataLen, int* usedLen );
-TBool wxDb_GetDataInt(TSelf(wxDb) db, int column, int* i, int* usedLen );
-TBool wxDb_GetDataDouble(TSelf(wxDb) db, int column, double* d, int* usedLen );
-/** usage: @dbGetDataBinary db column asChars pbuffer plen@. Returns binary data to given buffer (that must be deallocated using 'wxcFree'). The return length is 'wxSQL_NULL_DATA' if @NULL@ data was encountered. If @asChars@ is 'True', the data is returned as characters, true binary data is than returned as a string of hex values (@3E002C...@).*/
-TBool wxDb_GetDataBinary(TSelf(wxDb) db, int column, TBool asChars, void* pbuf, int* len );
-TBool wxDb_GetDataDate(TSelf(wxDb) db, int column, int* ctime, int* usedLen );
-TBool wxDb_GetDataTimeStamp(TSelf(wxDb) db, int column, int* ctime, int* fraction, int* usedLen );
-TBool wxDb_GetDataTime(TSelf(wxDb) db, int column, int* secs, int* usedLen );
-
-int wxDb_Dbms(TSelf(wxDb) db);
-TClass(wxString) wxDb_GetDatabaseName(TSelf(wxDb) db);
-TClass(wxString) wxDb_GetDatasourceName(TSelf(wxDb) db);
-TClass(wxString) wxDb_GetPassword(TSelf(wxDb) db);
-TClass(wxString) wxDb_GetUsername(TSelf(wxDb) db);
-TBool wxDb_Grant(TSelf(wxDb) db, int privileges, TClass(wxString) tableName, TClass(wxString) userList );
-int wxDb_GetTableCount(TSelf(wxDb) db);
-TClass(wxDbInf) wxDb_GetCatalog( TSelf(wxDb) db, TClass(wxString) userName );
-int wxDb_GetColumnCount(TSelf(wxDb) db, TClass(wxString) tableName, TClass(wxString) userName );
-TClass(wxDbColInfArray) wxDb_GetColumns(TSelf(wxDb) db, TClass(wxString) tableName, int* columnCount, TClass(wxString) userName);
-TBool wxDb_Open(TSelf(wxDb) db, TClass(wxString) dsn, TClass(wxString) userId, TClass(wxString) password);
-TClass(wxString) wxDb_SQLColumnName(TSelf(wxDb) db, TClass(wxString) columnName);
-TClass(wxString) wxDb_SQLTableName(TSelf(wxDb) db, TClass(wxString) tableName);
-TBool wxDb_TableExists(TSelf(wxDb) db, TClass(wxString) tableName, TClass(wxString) userName, TClass(wxString) path );
-TBool wxDb_TablePrivileges(TSelf(wxDb) db, TClass(wxString) tableName, TClass(wxString) privileges, TClass(wxString) userName, TClass(wxString) schema, TClass(wxString) path );
-int wxDb_TranslateSqlState(TSelf(wxDb) db, TClass(wxString) sqlState);
-TClass(wxDb) wxDb_Create( TClass(wxHENV) henv, TBool fwdOnlyCursors );
-void wxDb_Delete( TSelf(wxDb) db );
-/** Return dynamic column information about a result set of a query. */
-TClass(wxDbColInfArray) wxDb_GetResultColumns( TSelf(wxDb) db, int* pnumCols );
-
-/*-----------------------------------------------------------------------------
-  DbInf
------------------------------------------------------------------------------*/
-TClassDef(wxDbInf); 
-TClass(wxString) wxDbInf_GetCatalogName( TSelf(wxDbInf) self );
-TClass(wxString) wxDbInf_GetSchemaName( TSelf(wxDbInf) self );
-int wxDbInf_GetNumTables( TSelf(wxDbInf) self );
-TClass(wxDbTableInf) wxDbInf_GetTableInf( TSelf(wxDbInf) self, int index );
-void wxDbInf_Delete( TSelf(wxDbInf) self );
-
-/*-----------------------------------------------------------------------------
-  DbTableInf
------------------------------------------------------------------------------*/
-TClassDef(wxDbTableInf);
-TClass(wxString) wxDbTableInf_GetTableName( TSelf(wxDbTableInf) self );
-TClass(wxString) wxDbTableInf_GetTableType( TSelf(wxDbTableInf) self );
-TClass(wxString) wxDbTableInf_GetTableRemarks( TSelf(wxDbTableInf) self );
-int wxDbTableInf_GetNumCols( TSelf(wxDbTableInf) self );
-
-/*-----------------------------------------------------------------------------
-  DbColInfArray
------------------------------------------------------------------------------*/
-TClassDef(wxDbColInfArray);
-TClass(wxDbColInf) wxDbColInfArray_GetColInf( TSelf(wxDbColInfArray) self, int index );
-void wxDbColInfArray_Delete( TSelf(wxDbColInfArray) self );
-
-/*-----------------------------------------------------------------------------
-  DbColInf
------------------------------------------------------------------------------*/
-TClassDef(wxDbColInf); 
-TClass(wxString) wxDbColInf_GetCatalog( TSelf(wxDbColInf) self );
-TClass(wxString) wxDbColInf_GetSchema( TSelf(wxDbColInf) self );
-TClass(wxString) wxDbColInf_GetTableName( TSelf(wxDbColInf) self );
-TClass(wxString) wxDbColInf_GetColName( TSelf(wxDbColInf) self );
-TClass(wxString) wxDbColInf_GetTypeName( TSelf(wxDbColInf) self );
-TClass(wxString) wxDbColInf_GetRemarks( TSelf(wxDbColInf) self );
-TClass(wxString) wxDbColInf_GetPkTableName( TSelf(wxDbColInf) self );
-TClass(wxString) wxDbColInf_GetFkTableName( TSelf(wxDbColInf) self );
-int wxDbColInf_GetSqlDataType( TSelf(wxDbColInf) self );
-int wxDbColInf_GetColumnSize( TSelf(wxDbColInf) self );
-int wxDbColInf_GetBufferLength( TSelf(wxDbColInf) self );
-int wxDbColInf_GetDecimalDigits( TSelf(wxDbColInf) self );
-int wxDbColInf_GetNumPrecRadix( TSelf(wxDbColInf) self );
-int wxDbColInf_GetDbDataType( TSelf(wxDbColInf) self );
-int wxDbColInf_GetPkCol( TSelf(wxDbColInf) self );
-int wxDbColInf_GetFkCol( TSelf(wxDbColInf) self );
-TBool wxDbColInf_IsNullable( TSelf(wxDbColInf) self );
-
− src/include/dragimage.h
@@ -1,25 +0,0 @@-/*-----------------------------------------------------------------------------
-  DragImage
------------------------------------------------------------------------------*/
-TClassDefExtend(wxGenericDragImage,wxDragImage);
-
-TClass(wxDragImage)  wxDragImage_Create( TClass(wxBitmap) image, int x, int y );
-TClass(wxDragImage)  wxDragIcon( TClass(wxIcon) icon, int x, int y );
-TClass(wxDragImage)  wxDragString( TClass(wxString) test, int x, int y );
-TClass(wxDragImage)  wxDragTreeItem( TClass(wxTreeCtrl) treeCtrl, TClass(wxTreeItemId) id );
-TClass(wxDragImage)  wxDragListItem( TClass(wxListCtrl) treeCtrl, long id );
-TClass(wxGenericDragImage)  wxGenericDragImage_Create( TClass(wxCursor) cursor );
-TClass(wxGenericDragImage)  wxGenericDragIcon( TClass(wxIcon) icon );
-TClass(wxGenericDragImage)  wxGenericDragString( TClass(wxString) test );
-TClass(wxGenericDragImage)  wxGenericDragTreeItem( TClass(wxTreeCtrl) treeCtrl, TClass(wxTreeItemId) id );
-TClass(wxGenericDragImage)  wxGenericDragListItem( TClass(wxListCtrl) treeCtrl, long id );
-void  wxDragImage_Delete(TSelf(wxDragImage) self);
-TBool  wxDragImage_BeginDragFullScreen(TSelf(wxDragImage) self, int x_pos, int y_pos, TClass(wxWindow) window, TBool fullScreen, TClass(wxRect) rect);
-TBool  wxDragImage_BeginDrag(TSelf(wxDragImage) self, int x, int y, TClass(wxWindow) window, TClass(wxWindow) boundingWindow );
-TBool  wxGenericDragImage_DoDrawImage(TSelf(wxGenericDragImage) self, TClass(wxDC) dc, int x, int y );
-void  wxDragImage_EndDrag(TSelf(wxDragImage) self );
-TClass(wxRect) wxGenericDragImage_GetImageRect(TSelf(wxGenericDragImage) self, int x_pos, int y_pos );
-TBool  wxDragImage_Hide(TSelf(wxDragImage) self );
-TBool  wxDragImage_Move(TSelf(wxDragImage) self, int x, int y );
-TBool  wxDragImage_Show(TSelf(wxDragImage) self );
-TBool  wxGenericDragImage_UpdateBackingFromWindow(TSelf(wxGenericDragImage) self, TClass(wxDC) windowDC, TClass(wxMemoryDC) destDC, int x, int y, int w, int h, int xdest, int ydest, int width, int height );
− src/include/eljgrid.h
@@ -1,97 +0,0 @@-#ifndef __ELJGRID_H-#define __ELJGRID_H--#include "wx/grid.h"--extern "C"-{-typedef int   _cdecl (*TGridGetInt)(void* _obj);-typedef int   _cdecl (*TGridIsEmpty)(void* _obj, int row, int col);-typedef void* _cdecl (*TGridGetValue)(void* _obj, int row, int col);-typedef void  _cdecl (*TGridSetValue)(void* _obj, int row, int col, void* val);-typedef void  _cdecl (*TGridClear)(void* _obj);-typedef int   _cdecl (*TGridModify)(void* _obj, int pos, int num);-typedef int   _cdecl (*TGridMultiModify)(void* _obj, int num);-typedef void  _cdecl (*TGridSetLabel)(void* _obj, int idx, void* val);-typedef void* _cdecl (*TGridGetLabel)(void* _obj, int idx);-}--class ELJGridTable : public wxGridTableBase-{-	private:-		void* EiffelObject;-		TGridGetInt EifGetNumberRows;-		TGridGetInt EifGetNumberCols;-		TGridGetValue EifGetValue;-		TGridSetValue EifSetValue;-		TGridIsEmpty EifIsEmptyCell;-		TGridClear EifClear;-		TGridModify EifInsertRows;-		TGridMultiModify EifAppendRows;-		TGridModify EifDeleteRows;-		TGridModify EifInsertCols;-		TGridMultiModify EifAppendCols;-		TGridModify EifDeleteCols;-		TGridSetLabel EifSetRowLabelValue;-		TGridSetLabel EifSetColLabelValue;-		TGridGetLabel EifGetRowLabelValue;-		TGridGetLabel EifGetColLabelValue;-	public:-		ELJGridTable (void* _obj,-		              void* _EifGetNumberRows,-		              void* _EifGetNumberCols,-		              void* _EifGetValue,-		              void* _EifSetValue,-		              void* _EifIsEmptyCell,-		              void* _EifClear,-		              void* _EifInsertRows,-		              void* _EifAppendRows,-		              void* _EifDeleteRows,-		              void* _EifInsertCols,-		              void* _EifAppendCols,-		              void* _EifDeleteCols,-		              void* _EifSetRowLabelValue,-		              void* _EifSetColLabelValue,-		              void* _EifGetRowLabelValue,-		              void* _EifGetColLabelValue): wxGridTableBase()-		{-			EiffelObject = _obj;-			EifGetNumberRows = (TGridGetInt)_EifGetNumberRows;-			EifGetNumberCols = (TGridGetInt)_EifGetNumberCols;-			EifGetValue = (TGridGetValue)_EifGetValue;-			EifSetValue = (TGridSetValue)_EifSetValue;-			EifIsEmptyCell = (TGridIsEmpty)_EifIsEmptyCell;-			EifClear = (TGridClear)_EifClear;-			EifInsertRows = (TGridModify)_EifInsertRows;-			EifAppendRows = (TGridMultiModify)_EifAppendRows;-			EifDeleteRows = (TGridModify)_EifDeleteRows;-			EifInsertCols = (TGridModify)_EifInsertCols;-			EifAppendCols = (TGridMultiModify)_EifAppendCols;-			EifDeleteCols = (TGridModify)_EifDeleteCols;-			EifSetRowLabelValue = (TGridSetLabel)_EifSetRowLabelValue;-			EifSetColLabelValue = (TGridSetLabel)_EifSetColLabelValue;-			EifGetRowLabelValue = (TGridGetLabel)_EifGetRowLabelValue;-			EifGetColLabelValue = (TGridGetLabel)_EifGetColLabelValue;-		};-		-		int GetNumberRows() {return EifGetNumberRows(EiffelObject);};-		int GetNumberCols() {return EifGetNumberCols(EiffelObject);};-		wxString GetValue(int row, int col) {return (wxChar*)EifGetValue(EiffelObject, row, col);};-		void SetValue(int row, int col, const wxString& s) {EifSetValue(EiffelObject, row, col, (void*)s.c_str());};-		bool IsEmptyCell(int row, int col) {return EifIsEmptyCell(EiffelObject, row, col) != 0;};--		void Clear() {EifClear(EiffelObject);};-		bool InsertRows(size_t pos, size_t numRows) {return EifInsertRows(EiffelObject, (int)pos, (int)numRows) != 0;};-		bool AppendRows(size_t numRows) {return EifAppendRows(EiffelObject, (int)numRows) != 0;};-		bool DeleteRows(size_t pos, size_t numRows) {return EifDeleteRows(EiffelObject, (int)pos, (int)numRows) != 0;};-		bool InsertCols(size_t pos, size_t numCols) {return EifInsertCols(EiffelObject, (int)pos, (int)numCols) != 0;};-		bool AppendCols(size_t numCols) {return EifAppendCols(EiffelObject, (int)numCols) != 0;};-		bool DeleteCols(size_t pos, size_t numCols) {return EifDeleteCols(EiffelObject, (int)pos, (int)numCols) != 0;};--		void SetRowLabelValue(int row, const wxString& s) {EifSetRowLabelValue(EiffelObject, row, (void*)s.c_str());};-		void SetColLabelValue(int col, const wxString& s) {EifSetColLabelValue(EiffelObject, col, (void*)s.c_str());};-		wxString GetRowLabelValue(int row) {return (wxChar*)EifGetRowLabelValue(EiffelObject, row);};-		wxString GetColLabelValue(int col) {return (wxChar*)EifGetColLabelValue(EiffelObject, col);};-};--#endif
− src/include/ewxw_def.h
@@ -1,39 +0,0 @@-#ifndef __EWXW_DEF_H-#define __EWXW_DEF_H--#ifdef EXPORT-#undef EXPORT-#endif-#define EXPORT extern "C"--#ifdef __WATCOMC__-  #include <windows.h>-  #define EWXWEXPORT(TYPE,FUNC_NAME) TYPE __export __cdecl FUNC_NAME-#else-  #ifdef _WIN32-    #define EWXWEXPORT(TYPE,FUNC_NAME) __declspec(dllexport) TYPE __cdecl FUNC_NAME-    #undef EXPORT-    #define EXPORT extern "C" __declspec(dllexport) -  #else-    #define EWXWEXPORT(TYPE,FUNC_NAME) TYPE FUNC_NAME-  #endif-  #ifndef _cdecl-    #define _cdecl-  #endif-#endif--#define EWXWCONSTANTINT(NAME,VAL) \-  EWXWEXPORT(int,exp##NAME)() \-    { return (int)VAL;};-#define EWXWCONSTANTSTR(NAME,VAL) \-  EWXWEXPORT(wxString*,exp##NAME)() \-    { return new wxString((const wchar_t*)VAL,wxConvLocal);};-#ifdef __EWX_PREPROCESS-# undef EWXWEXPORT-# undef EWXWCONSTANTINT-# undef EWXWCONSTANTSTR-# define EWXWCONSTANTINT(NAME,VAL) def_const_int(#NAME,VAL);-# define EWXWCONSTANTSTR(NAME,VAL) def_const_str(#NAME,VAL);-#endif--#endif /* #ifndef __EWXW_DEF_H */
− src/include/graphicscontext.h
@@ -1,122 +0,0 @@-TClassDefExtend(wxGraphicsObject,wxObject);
-TClassDefExtend(wxGraphicsBrush,wxGraphicsObject);
-TClassDefExtend(wxGraphicsContext,wxGraphicsObject);
-TClassDefExtend(wxGraphicsFont,wxGraphicsObject);
-TClassDefExtend(wxGraphicsMatrix,wxGraphicsObject);
-TClassDefExtend(wxGraphicsPath,wxGraphicsObject);
-TClassDefExtend(wxGraphicsPen,wxGraphicsObject);
-TClassDefExtend(wxGraphicsRenderer,wxGraphicsObject);
-
-/*-----------------------------------------------------------------------------
-  GraphicsBrush
------------------------------------------------------------------------------*/
-TClass(wxGraphicsBrush)  wxGraphicsBrush_Create( );
-void  wxGraphicsBrush_Delete(TSelf(wxGraphicsBrush) self);
-
-/*-----------------------------------------------------------------------------
-  GraphicsContext
------------------------------------------------------------------------------*/
-TClass(wxGraphicsContext)  wxGraphicsContext_Create( TClass(wxWindowDC) dc );
-TClass(wxGraphicsContext)  wxGraphicsContext_CreateFromWindow( TClass(wxWindow) window );
-void  wxGraphicsContext_Delete(TSelf(wxGraphicsContext) self);
-TClass(wxGraphicsContext)  wxGraphicsContext_CreateFromNative( void* context );
-TClass(wxGraphicsContext)  wxGraphicsContext_CreateFromNativeWindow( void* window );
-void  wxGraphicsContext_Clip( TSelf(wxGraphicsContext) self, TClass(wxRegion) region );
-void  wxGraphicsContext_ClipByRectangle( TSelf(wxGraphicsContext) self, TRectDouble(x,y,w,h) );
-void  wxGraphicsContext_ResetClip( TSelf(wxGraphicsContext) self );
-void  wxGraphicsContext_DrawBitmap( TSelf(wxGraphicsContext) self, TClass(wxBitmap) bmp, TRectDouble(x,y,w,h) );
-void  wxGraphicsContext_DrawEllipse( TSelf(wxGraphicsContext) self, TRectDouble(x,y,w,h) );
-void  wxGraphicsContext_DrawIcon( TSelf(wxGraphicsContext) self, TClass(wxIcon) icon, TRectDouble(x,y,w,h) );
-void  wxGraphicsContext_DrawLines( TSelf(wxGraphicsContext) self, size_t n, void* x, void* y, int style );
-void  wxGraphicsContext_DrawPath( TSelf(wxGraphicsContext) self, TClass(wxGraphicsPath) path, int style );
-void  wxGraphicsContext_DrawRectangle( TSelf(wxGraphicsContext) self, TRectDouble(x,y,w,h) );
-void  wxGraphicsContext_DrawRoundedRectangle( TSelf(wxGraphicsContext) self, TRectDouble(x,y,w,h), double radius );
-void  wxGraphicsContext_DrawText( TSelf(wxGraphicsContext) self, TClass(wxString) text, TPointDouble(x,y) );
-void  wxGraphicsContext_DrawTextWithAngle( TSelf(wxGraphicsContext) self, TClass(wxString) text, TPointDouble(x,y), double radius );
-void  wxGraphicsContext_FillPath( TSelf(wxGraphicsContext) self, TClass(wxGraphicsPath) path, int style );
-void  wxGraphicsContext_StrokePath( TSelf(wxGraphicsContext) self, TClass(wxGraphicsPath) path );
-void*  wxGraphicsContext_GetNativeContext( TSelf(wxGraphicsContext) self );
-void  wxGraphicsContext_GetTextExtent( TSelf(wxGraphicsContext) self, TClass(wxString) text, double* width, double* height, double* descent, double* externalLeading );
-void  wxGraphicsContext_Rotate( TSelf(wxGraphicsContext) self, double angle );
-void  wxGraphicsContext_Scale( TSelf(wxGraphicsContext) self, TSizeDouble(xScale,yScale) );
-void  wxGraphicsContext_Translate( TSelf(wxGraphicsContext) self, double dx, double dy );
-void  wxGraphicsContext_SetTransform( TSelf(wxGraphicsContext) self, TClass(wxGraphicsMatrix) path );
-void  wxGraphicsContext_ConcatTransform( TSelf(wxGraphicsContext) self, TClass(wxGraphicsMatrix) path );
-void  wxGraphicsContext_SetBrush( TSelf(wxGraphicsContext) self, TClass(wxBrush) brush );
-void  wxGraphicsContext_SetGraphicsBrush( TSelf(wxGraphicsContext) self, TClass(wxGraphicsBrush) brush );
-void  wxGraphicsContext_SetFont( TSelf(wxGraphicsContext) self, TClass(wxFont) font, TClass(wxColour) colour );
-void  wxGraphicsContext_SetGraphicsFont( TSelf(wxGraphicsContext) self, TClass(wxGraphicsFont) font );
-void  wxGraphicsContext_SetPen( TSelf(wxGraphicsContext) self, TClass(wxPen) pen );
-void  wxGraphicsContext_SetGraphicsPen( TSelf(wxGraphicsContext) self, TClass(wxGraphicsPen) pen );
-void  wxGraphicsContext_StrokeLine( TSelf(wxGraphicsContext) self, TPointDouble(x1,y1), TPointDouble(x2,y2) );
-void  wxGraphicsContext_StrokeLines( TSelf(wxGraphicsContext) self, size_t n, void* x, void* y, int style );
-
-/*-----------------------------------------------------------------------------
-  GraphicsFont
------------------------------------------------------------------------------*/
-TClass(wxGraphicsFont)  wxGraphicsFont_Create( );
-void  wxGraphicsFont_Delete(TSelf(wxGraphicsFont) self);
-
-/*-----------------------------------------------------------------------------
-  GraphicsMatrix
------------------------------------------------------------------------------*/
-TClass(wxGraphicsMatrix)  wxGraphicsMatrix_Create( );
-void  wxGraphicsMatrix_Delete(TSelf(wxGraphicsMatrix) self);
-void  wxGraphicsMatrix_Concat( TSelf(wxGraphicsMatrix) self, TClass(wxGraphicsMatrix) t );
-void  wxGraphicsMatrix_Get( TSelf(wxGraphicsMatrix) self, double* a, double* b, double* c, double* d, double* tx, double* ty );
-void*  wxGraphicsMatrix_GetNativeMatrix( TSelf(wxGraphicsMatrix) self );
-void  wxGraphicsMatrix_Invert( TSelf(wxGraphicsMatrix) self );
-TBool  wxGraphicsMatrix_IsEqual( TSelf(wxGraphicsMatrix) self, TClass(wxGraphicsMatrix) t );
-TBool  wxGraphicsMatrix_IsIdentity( TSelf(wxGraphicsMatrix) self );
-void  wxGraphicsMatrix_Rotate( TSelf(wxGraphicsMatrix) self, double angle );
-void  wxGraphicsMatrix_Scale( TSelf(wxGraphicsMatrix) self, TSizeDouble(xScale,yScale) );
-void  wxGraphicsMatrix_Set( TSelf(wxGraphicsMatrix) self, double a, double b, double c, double d, double tx, double ty );
-void  wxGraphicsMatrix_Translate( TSelf(wxGraphicsMatrix) self, double dx, double dy );
-void  wxGraphicsMatrix_TransformPoint( TSelf(wxGraphicsMatrix) self, TPointOutDouble(x,y) );
-void  wxGraphicsMatrix_TransformDistance( TSelf(wxGraphicsMatrix) self, double* dx, double* dy );
-
-/*-----------------------------------------------------------------------------
-  GraphicsObject
------------------------------------------------------------------------------*/
-TClass(wxGraphicsRenderer)  wxGraphicsObject_GetRenderer( );
-TBool  wxGraphicsObject_IsNull(TSelf(wxGraphicsObject) self);
-
-/*-----------------------------------------------------------------------------
-  GraphicsPath
------------------------------------------------------------------------------*/
-TClass(wxGraphicsPath)  wxGraphicsPath_Create( );
-void  wxGraphicsPath_Delete(TSelf(wxGraphicsPath) self);
-void  wxGraphicsPath_MoveToPoint(TSelf(wxGraphicsPath) self, TPointDouble(x,y));
-void  wxGraphicsPath_AddArc(TSelf(wxGraphicsPath) self, TPointDouble(x,y), double r, double startAngle, double endAngle, TBool clockwise );
-void  wxGraphicsPath_AddArcToPoint(TSelf(wxGraphicsPath) self, TPointDouble(x1,y1), TPointDouble(x2,y2), double r );
-void  wxGraphicsPath_AddCircle(TSelf(wxGraphicsPath) self, TPointDouble(x,y), double r );
-void  wxGraphicsPath_AddCurveToPoint(TSelf(wxGraphicsPath) self, TPointDouble(cx1,cy1), TPointDouble(cx2,cy2), TPointDouble(x,y) );
-void  wxGraphicsPath_AddEllipse(TSelf(wxGraphicsPath) self, TRectDouble(x,y,w,h) );
-void  wxGraphicsPath_AddLineToPoint(TSelf(wxGraphicsPath) self, TPointDouble(x,y) );
-void  wxGraphicsPath_AddPath(TSelf(wxGraphicsPath) self, TPointDouble(x,y), TClass(wxGraphicsPath) path );
-void  wxGraphicsPath_AddQuadCurveToPoint(TSelf(wxGraphicsPath) self, TPointDouble(cx,cy), TPointDouble(x,y) );
-void  wxGraphicsPath_AddRectangle(TSelf(wxGraphicsPath) self, TRectDouble(x,y,w,h) );
-void  wxGraphicsPath_AddRoundedRectangle(TSelf(wxGraphicsPath) self, TRectDouble(x,y,w,h), double radius );
-void  wxGraphicsPath_CloseSubpath(TSelf(wxGraphicsPath) self );
-void  wxGraphicsPath_Contains(TSelf(wxGraphicsPath) self, TPointDouble(x,y), int style);
-void  wxGraphicsPath_GetBox(TSelf(wxGraphicsPath) self, TRectOutDouble(x,y,w,h));
-void  wxGraphicsPath_GetCurrentPoint(TSelf(wxGraphicsPath) self, TPointOutDouble(x,y));
-void  wxGraphicsPath_Transform( TSelf(wxGraphicsPath) self, TClass(wxGraphicsMatrix) matrix );
-void*  wxGraphicsPath_GetNativePath( TSelf(wxGraphicsPath) self );
-void  wxGraphicsPath_UnGetNativePath( void* p );
-
-/*-----------------------------------------------------------------------------
-  GraphicsPen
------------------------------------------------------------------------------*/
-TClass(wxGraphicsPen)  wxGraphicsPen_Create( );
-void  wxGraphicsPen_Delete(TSelf(wxGraphicsPen) self);
-
-/*-----------------------------------------------------------------------------
-  GraphicsRenderer
------------------------------------------------------------------------------*/
-void  wxGraphicsRenderer_Delete(TSelf(wxGraphicsRenderer) self);
-TClass(wxGraphicsRenderer)  wxGraphicsRenderer_GetDefaultRenderer(TSelf(wxGraphicsRenderer) self);
-TClass(wxGraphicsContext)  wxGraphicsRenderer_CreateContext( TClass(wxWindowDC) dc );
-TClass(wxGraphicsContext)  wxGraphicsRenderer_CreateContextFromWindow( TClass(wxWindow) window );
-TClass(wxGraphicsContext)  wxGraphicsRenderer_CreateContextFromNativeContext( void* context );
-TClass(wxGraphicsContext)  wxGraphicsRenderer_CreateContextFromNativeWindow( void* window );
− src/include/managed.h
@@ -1,58 +0,0 @@-/*-----------------------------------------------------------------------------
-  ManagedPtr
------------------------------------------------------------------------------*/
-TClassDef(wxManagedPtr)
-
-#if defined (__WXMAC__) && defined (EXPORT)
-#undef EXPORT
-#define EXPORT extern "C"
-#endif
-
-void* wxManagedPtr_GetPtr( TSelf(wxManagedPtr) self );
-void  wxManagedPtr_NoFinalize( TSelf(wxManagedPtr) self );
-void  wxManagedPtr_Finalize( TSelf(wxManagedPtr) self );
-void  wxManagedPtr_Delete( TSelf(wxManagedPtr) self );
-EXPORT void* wxManagedPtr_GetDeleteFunction( );
-
-/*-----------------------------------------------------------------------------
-  Creators
------------------------------------------------------------------------------*/
-TClass(wxManagedPtr) wxManagedPtr_CreateFromObject(TClass(wxObject) obj);
-TClass(wxManagedPtr) wxManagedPtr_CreateFromDateTime(TClass(wxDateTime) obj);
-TClass(wxManagedPtr) wxManagedPtr_CreateFromGridCellCoordsArray(TClass(wxGridCellCoordsArray) obj);
-
-TClass(wxManagedPtr) wxManagedPtr_CreateFromBitmap(TClass(wxBitmap) obj);
-TClass(wxManagedPtr) wxManagedPtr_CreateFromIcon(TClass(wxIcon) obj);
-
-TClass(wxManagedPtr) wxManagedPtr_CreateFromBrush(TClass(wxBrush) obj);
-TClass(wxManagedPtr) wxManagedPtr_CreateFromColour(TClass(wxColour) obj);
-TClass(wxManagedPtr) wxManagedPtr_CreateFromCursor(TClass(wxCursor) obj);
-TClass(wxManagedPtr) wxManagedPtr_CreateFromFont(TClass(wxFont) obj);
-TClass(wxManagedPtr) wxManagedPtr_CreateFromPen(TClass(wxPen) obj);
-
-/*-----------------------------------------------------------------------------
-  Safe deletion
------------------------------------------------------------------------------*/
-void wxObject_SafeDelete( TSelf(Object) self );
-
-void wxBitmap_SafeDelete( TSelf(Bitmap) self );
-void wxIcon_SafeDelete( TSelf(Icon) self );
-
-void wxBrush_SafeDelete( TSelf(Brush) self );
-void wxColour_SafeDelete( TSelf(Colour) self );
-void wxCursor_SafeDelete( TSelf(Cursor) self );
-void wxFont_SafeDelete( TSelf(Font) self );
-void wxPen_SafeDelete( TSelf(Pen) self );
-
-/*-----------------------------------------------------------------------------
-  Is an object static (i.e. do not delete it)
------------------------------------------------------------------------------*/
-TBool wxBitmap_IsStatic( TSelf(Bitmap) self );
-TBool wxIcon_IsStatic( TSelf(Icon) self );
-
-TBool wxBrush_IsStatic( TSelf(Brush) self );
-TBool wxColour_IsStatic( TSelf(Colour) self );
-TBool wxCursor_IsStatic( TSelf(Cursor) self );
-TBool wxFont_IsStatic( TSelf(Font) self );
-TBool wxPen_IsStatic( TSelf(Pen) self );
-
− src/include/mediactrl.h
@@ -1,33 +0,0 @@-/*-----------------------------------------------------------------------------
-  MediaCtrl
------------------------------------------------------------------------------*/
-TClassDefExtend(wxMediaCtrl,wxWindow);
-
-TClass(wxMediaCtrl)  wxMediaCtrl_Create( TClass(wxWindow) parent, int windowID, TClass(wxString) fileName, int x, int y, int w, int h, long style, TClass(wxString) szBackend, TClass(wxString) name );
-void  wxMediaCtrl_Delete(TSelf(wxMediaCtrl) self);
-TClass(wxSize) wxMediaCtrl_GetBestSize(TSelf(wxMediaCtrl) self );
-double  wxMediaCtrl_GetPlaybackRate(TSelf(wxMediaCtrl) self);
-double  wxMediaCtrl_GetVolume(TSelf(wxMediaCtrl) self);
-int  wxMediaCtrl_GetState(TSelf(wxMediaCtrl) self);
-TInt64 wxMediaCtrl_Length(TSelf(wxMediaCtrl) self);
-TBool  wxMediaCtrl_Load(TSelf(wxMediaCtrl) self, TClass(wxString) fileName );
-TBool  wxMediaCtrl_LoadURI(TSelf(wxMediaCtrl) self, TClass(wxString) uri );
-TBool  wxMediaCtrl_LoadURIWithProxy(TSelf(wxMediaCtrl) self, TClass(wxString) uri, TClass(wxString) proxy );
-TBool  wxMediaCtrl_Pause(TSelf(wxMediaCtrl) self);
-TBool  wxMediaCtrl_Play(TSelf(wxMediaCtrl) self);
-TInt64 wxMediaCtrl_Seek(TSelf(wxMediaCtrl) self, TInt64 offsetWhere, int mode );
-TBool  wxMediaCtrl_SetPlaybackRate(TSelf(wxMediaCtrl) self, double dRate );
-TBool  wxMediaCtrl_SetVolume(TSelf(wxMediaCtrl) self, double dVolume );
-TBool  wxMediaCtrl_ShowPlayerControls(TSelf(wxMediaCtrl) self, int flags );
-TBool  wxMediaCtrl_Stop(TSelf(wxMediaCtrl) self);
-TInt64 wxMediaCtrl_Tell(TSelf(wxMediaCtrl) self);
-
-TClassDefExtend(wxMediaEvent,wxNotifyEvent);
-
-/* The wxMediaEvent's events */
-int expEVT_MEDIA_LOADED();
-int expEVT_MEDIA_STOP();
-int expEVT_MEDIA_FINISHED();
-int expEVT_MEDIA_STATECHANGED();
-int expEVT_MEDIA_PLAY();
-int expEVT_MEDIA_PAUSE(); 
− src/include/previewframe.h
@@ -1,15 +0,0 @@-/*-----------------------------------------------------------------------------
-  PreviewFrame
------------------------------------------------------------------------------*/
-TClassDefExtend(wxPreviewFrame,wxFrame);
-
-/** Usage: @previewFrameCreate printPreview parent title rect name @. */
-TClass(wxPreviewFrame) wxPreviewFrame_Create( TClass(wxPrintPreview) preview, TClass(wxFrame) parent, TClass(wxString) title, TRect(x,y,width,height), int style, TClass(wxString) name  );
-void wxPreviewFrame_Delete( TSelf(wxPreviewFrame) self );
-/** Usage: @previewFrameInitialize self@, call this before showing the frame. */
-void wxPreviewFrame_Initialize( TSelf(wxPreviewFrame) self );
-
-/*-----------------------------------------------------------------------------
-  PreviewControlBar
------------------------------------------------------------------------------*/
-TClassDefExtend(wxPreviewControlBar,wxPanel);
− src/include/printout.h
@@ -1,51 +0,0 @@-
-/*-----------------------------------------------------------------------------
-  Printout events
------------------------------------------------------------------------------*/
-int expEVT_PRINT_BEGIN();
-int expEVT_PRINT_BEGIN_DOC();
-int expEVT_PRINT_END();
-int expEVT_PRINT_END_DOC();
-int expEVT_PRINT_PREPARE();
-int expEVT_PRINT_PAGE();
-
-/*-----------------------------------------------------------------------------
-  Printout 
------------------------------------------------------------------------------*/
-TClass(wxDC) wxPrintout_GetDC( TSelf(wxPrintout) _obj );
-void       wxPrintout_GetPPIPrinter( TSelf(wxPrintout) _obj, TPointOutVoid(_x,_y) );
-void       wxPrintout_GetPPIScreen( TSelf(wxPrintout) _obj, TPointOutVoid(_x,_y) );
-void       wxPrintout_GetPageSizeMM( TSelf(wxPrintout) _obj, TSizeOutVoid(_w,_h) );
-void       wxPrintout_GetPageSizePixels( TSelf(wxPrintout) _obj, TSizeOutVoid(_w,_h) );
-TClass(wxString) wxPrintout_GetTitle( TSelf(wxPrintout) _obj );
-TBool      wxPrintout_IsPreview( TSelf(wxPrintout) _obj );
-void       wxPrintout_SetDC( TSelf(wxPrintout) _obj, TClass(wxDC) dc );
-void       wxPrintout_SetIsPreview( TSelf(wxPrintout) _obj, TBoolInt p );
-void       wxPrintout_SetPPIPrinter( TSelf(wxPrintout) _obj, TPoint(x,y) );
-void       wxPrintout_SetPPIScreen( TSelf(wxPrintout) _obj, TPoint(x,y) );
-void       wxPrintout_SetPageSizeMM( TSelf(wxPrintout) _obj, TSize(w,h) );
-void       wxPrintout_SetPageSizePixels( TSelf(wxPrintout) _obj, TSize(w,h) );
-
-
-
-/*-----------------------------------------------------------------------------
-  WXCPrintout 
------------------------------------------------------------------------------*/
-TClassDefExtend( wxcPrintout, wxPrintout );
-TClassDefExtend( wxcPrintEvent, wxEvent );
-TClassDefExtend( wxcPrintoutHandler, wxEvtHandler );
-  
-TClass(wxcPrintout) wxcPrintout_Create( TClass(wxString) title );
-void wxcPrintout_Delete( TSelf(wxcPrintout) self );
-void wxcPrintout_SetPageLimits( TSelf(wxcPrintout) self, int startPage, int endPage, int fromPage, int toPage );
-/** Usage: @wxcPrintoutGetEvtHandler self@. Do not delete the associated event handler! */
-TClass(wxcPrintoutHandler) wxcPrintout_GetEvtHandler( TSelf(wxcPrintout) self );
-
-/** Usage: @wxcPrintEventGetPrintout self@. Do not delete the associated printout! */
-TClass(wxcPrintout) wxcPrintEvent_GetPrintout( TSelf(wxcPrintEvent) self );
-int   wxcPrintEvent_GetPage( TSelf(wxcPrintEvent) self );
-int   wxcPrintEvent_GetEndPage( TSelf(wxcPrintEvent) self );
-TBool wxcPrintEvent_GetContinue( TSelf(wxcPrintEvent) self );
-void  wxcPrintEvent_SetContinue( TSelf(wxcPrintEvent) self, TBool cont );
-void  wxcPrintEvent_SetPageLimits( TSelf(wxcPrintEvent) self, int startPage, int endPage, int fromPage, int toPage );
-
− src/include/sound.h
@@ -1,11 +0,0 @@-/*-----------------------------------------------------------------------------
-  Sound
------------------------------------------------------------------------------*/
-TClassDefExtend(wxSound,wxObject);
-
-/** Usage: @soundCreate fileName isResource@. As yet (Nov 2003) unsupported on MacOS X */
-TClass(wxSound)  wxSound_Create( TClass(wxString) fileName, TBool isResource );
-void  wxSound_Delete(TSelf(wxSound) self);
-TBool  wxSound_IsOk(TSelf(wxSound) self);
-TBool  wxSound_Play(TSelf(wxSound) self, int flag );
-void  wxSound_Stop(TSelf(wxSound) self);
− src/include/stc.h
@@ -1,114 +0,0 @@--#include "stc_gen.h" --/* wxStyledTextCtrl */-TClassDefExtend(wxStyledTextCtrl,wxControl)-TClass(wxStyledTextCtrl) wxStyledTextCtrl_Create( TClass(wxWindow) _prt, int _id, TClass(wxString) _txt, TRect(_lft,_top,_wdt,_hgt), int style );---/* tricky handwritten functions */-TClassDef(wxSTCDoc)-TClassDef(wxMemoryBuffer)-TClass(wxColour) wxStyledTextCtrl_IndicatorGetForeground( TSelf(wxStyledTextCtrl) _obj, int indic);-TClass(wxColour) wxStyledTextCtrl_GetCaretLineBackground( TSelf(wxStyledTextCtrl) _obj );-/* SetCaretLineBack is changed name to SetCaretLineBackground.-   So I avoid to use stc_gen.h for backward compatibility. */-void wxStyledTextCtrl_SetCaretLineBackground(TSelf(wxStyledTextCtrl) _obj, TColorRGB(back_r,back_g,back_b));-TClass(wxColour) wxStyledTextCtrl_GetCaretForeground( TSelf(wxStyledTextCtrl) _obj );-TClass(wxString) wxStyledTextCtrl_GetLine( TSelf(wxStyledTextCtrl) _obj, int line);-TClass(wxString) wxStyledTextCtrl_GetText( TSelf(wxStyledTextCtrl) _obj );-TClass(wxString) wxStyledTextCtrl_GetTextRange( TSelf(wxStyledTextCtrl) _obj, int startPos, int endPos);-TClass(wxString) wxStyledTextCtrl_GetSelectedText( TSelf(wxStyledTextCtrl) _obj );-TClass(wxSTCDoc) wxStyledTextCtrl_CreateDocument( TSelf(wxStyledTextCtrl) _obj );-TClass(wxColour) wxStyledTextCtrl_GetEdgeColour( TSelf(wxStyledTextCtrl) _obj );-TClass(wxSTCDoc) wxStyledTextCtrl_GetDocPointer( TSelf(wxStyledTextCtrl) _obj );-TClass(wxPoint) wxStyledTextCtrl_PointFromPosition( TSelf(wxStyledTextCtrl) _obj );---/* wxStyledTextEvent */-TClassDefExtend(wxStyledTextEvent, wxCommandEvent);--/* The wxStyledTextEvent's get-functions */-int wxStyledTextEvent_GetPosition( TSelf(wxStyledTextEvent) _obj);-int wxStyledTextEvent_GetKey( TSelf(wxStyledTextEvent) _obj);-int wxStyledTextEvent_GetModifiers( TSelf(wxStyledTextEvent) _obj);-int wxStyledTextEvent_GetModificationType( TSelf(wxStyledTextEvent) _obj);-int wxStyledTextEvent_GetLength( TSelf(wxStyledTextEvent) _obj);-int wxStyledTextEvent_GetLinesAdded( TSelf(wxStyledTextEvent) _obj);-int wxStyledTextEvent_GetLine( TSelf(wxStyledTextEvent) _obj);-int wxStyledTextEvent_GetFoldLevelNow( TSelf(wxStyledTextEvent) _obj);-int wxStyledTextEvent_GetFoldLevelPrev( TSelf(wxStyledTextEvent) _obj);-int wxStyledTextEvent_GetMargin( TSelf(wxStyledTextEvent) _obj);-int wxStyledTextEvent_GetMessage( TSelf(wxStyledTextEvent) _obj);-int wxStyledTextEvent_GetWParam( TSelf(wxStyledTextEvent) _obj);-int wxStyledTextEvent_GetLParam( TSelf(wxStyledTextEvent) _obj);-int wxStyledTextEvent_GetListType( TSelf(wxStyledTextEvent) _obj);-int wxStyledTextEvent_GetX( TSelf(wxStyledTextEvent) _obj);-int wxStyledTextEvent_GetY( TSelf(wxStyledTextEvent) _obj);-TClass(wxString) wxStyledTextEvent_GetDragText( TSelf(wxStyledTextEvent) _obj );-TBool wxStyledTextEvent_GetDragAllowMove( TSelf(wxStyledTextEvent) _obj );-int wxStyledTextEvent_GetDragResult( TSelf(wxStyledTextEvent) _obj );-TBool wxStyledTextEvent_GetShift( TSelf(wxStyledTextEvent) _obj );-TBool wxStyledTextEvent_GetControl( TSelf(wxStyledTextEvent) _obj );-TBool wxStyledTextEvent_GetAlt( TSelf(wxStyledTextEvent) _obj );--TClass(wxString) wxStyledTextEvent_GetText( TSelf(wxStyledTextEvent) _obj );-TClass(wxStyledTextEvent) wxStyledTextEvent_Clone( TSelf(wxStyledTextEvent) _obj );---/* The wxStyledTextEvent's set-functions */-void wxStyledTextEvent_SetPosition( TSelf(wxStyledTextEvent) _obj, int pos);-void wxStyledTextEvent_SetKey( TSelf(wxStyledTextEvent) _obj, int k);-void wxStyledTextEvent_SetModifiers( TSelf(wxStyledTextEvent) _obj, int m);-void wxStyledTextEvent_SetModificationType( TSelf(wxStyledTextEvent) _obj, int t);-void wxStyledTextEvent_SetText( TSelf(wxStyledTextEvent) _obj, TClass(wxString) t);-void wxStyledTextEvent_SetLength( TSelf(wxStyledTextEvent) _obj, int len);-void wxStyledTextEvent_SetLinesAdded( TSelf(wxStyledTextEvent) _obj, int num);-void wxStyledTextEvent_SetLine( TSelf(wxStyledTextEvent) _obj, int val);-void wxStyledTextEvent_SetFoldLevelNow( TSelf(wxStyledTextEvent) _obj, int val);-void wxStyledTextEvent_SetFoldLevelPrev( TSelf(wxStyledTextEvent) _obj, int val);-void wxStyledTextEvent_SetMargin( TSelf(wxStyledTextEvent) _obj, int val);-void wxStyledTextEvent_SetMessage( TSelf(wxStyledTextEvent) _obj, int val);-void wxStyledTextEvent_SetWParam( TSelf(wxStyledTextEvent) _obj, int val);-void wxStyledTextEvent_SetLParam( TSelf(wxStyledTextEvent) _obj, int val);-void wxStyledTextEvent_SetListType( TSelf(wxStyledTextEvent) _obj, int val);-void wxStyledTextEvent_SetX( TSelf(wxStyledTextEvent) _obj, int val);-void wxStyledTextEvent_SetY( TSelf(wxStyledTextEvent) _obj, int val);-void wxStyledTextEvent_SetDragText( TSelf(wxStyledTextEvent) _obj, TClass(wxString) val);-void wxStyledTextEvent_SetDragAllowMove( TSelf(wxStyledTextEvent) _obj, TBool val);-/* void wxStyledTextEvent_SetDragResult( TSelf(wxStyledTextEvent) _obj, TClass(wxDragResult) val); */-void wxStyledTextEvent_SetDragResult( TSelf(wxStyledTextEvent) _obj, int val);--/* The wxStyledTextEvent's events */-int expEVT_STC_CHANGE();-int expEVT_STC_STYLENEEDED();-int expEVT_STC_CHARADDED();-int expEVT_STC_SAVEPOINTREACHED();-int expEVT_STC_SAVEPOINTLEFT();-int expEVT_STC_ROMODIFYATTEMPT();-int expEVT_STC_KEY();-int expEVT_STC_DOUBLECLICK();-int expEVT_STC_UPDATEUI();-int expEVT_STC_MODIFIED();-int expEVT_STC_MACRORECORD();-int expEVT_STC_MARGINCLICK();-int expEVT_STC_NEEDSHOWN();-/* expEVT_STC_POSCHANGED is removed in wxWidgets-2.6.x. */-/* int expEVT_STC_POSCHANGED(); */-int expEVT_STC_PAINTED();-int expEVT_STC_USERLISTSELECTION();-int expEVT_STC_URIDROPPED();-int expEVT_STC_DWELLSTART();-int expEVT_STC_DWELLEND();-int expEVT_STC_START_DRAG();-int expEVT_STC_DRAG_OVER();-int expEVT_STC_DO_DROP();-int expEVT_STC_ZOOM();-int expEVT_STC_HOTSPOT_CLICK();-int expEVT_STC_HOTSPOT_DCLICK();-int expEVT_STC_CALLTIP_CLICK();-int expEVT_STC_AUTOCOMP_SELECTION(); --/* Styled Text Control as an XML Resource */-TClassDefExtend(wxXmlResource,wxObject)-TClass(wxStyledTextCtrl) wxXmlResource_GetStyledTextCtrl( TSelf(wxWindow) _obj, TClass(wxString) str_id );
− src/include/stc_gen.h
@@ -1,639 +0,0 @@-void wxStyledTextCtrl_AddText(TSelf(wxStyledTextCtrl) _obj, TClass(wxString) text);
-
-void wxStyledTextCtrl_AddStyledText(TSelf(wxStyledTextCtrl) _obj, TClass(wxMemoryBuffer) data);
-
-void wxStyledTextCtrl_InsertText(TSelf(wxStyledTextCtrl) _obj, int pos, TClass(wxString) text);
-
-void wxStyledTextCtrl_ClearAll(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_ClearDocumentStyle(TSelf(wxStyledTextCtrl) _obj);
-
-int wxStyledTextCtrl_GetLength(TSelf(wxStyledTextCtrl) _obj);
-
-int wxStyledTextCtrl_GetCharAt(TSelf(wxStyledTextCtrl) _obj, int pos);
-
-int wxStyledTextCtrl_GetCurrentPos(TSelf(wxStyledTextCtrl) _obj);
-
-int wxStyledTextCtrl_GetAnchor(TSelf(wxStyledTextCtrl) _obj);
-
-int wxStyledTextCtrl_GetStyleAt(TSelf(wxStyledTextCtrl) _obj, int pos);
-
-void wxStyledTextCtrl_Redo(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_SetUndoCollection(TSelf(wxStyledTextCtrl) _obj, TBool collectUndo);
-
-void wxStyledTextCtrl_SelectAll(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_SetSavePoint(TSelf(wxStyledTextCtrl) _obj);
-
-TBool wxStyledTextCtrl_CanRedo(TSelf(wxStyledTextCtrl) _obj);
-
-int wxStyledTextCtrl_MarkerLineFromHandle(TSelf(wxStyledTextCtrl) _obj, int handle);
-
-void wxStyledTextCtrl_MarkerDeleteHandle(TSelf(wxStyledTextCtrl) _obj, int handle);
-
-TBool wxStyledTextCtrl_GetUndoCollection(TSelf(wxStyledTextCtrl) _obj);
-
-int wxStyledTextCtrl_GetViewWhiteSpace(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_SetViewWhiteSpace(TSelf(wxStyledTextCtrl) _obj, int viewWS);
-
-int wxStyledTextCtrl_PositionFromPoint(TSelf(wxStyledTextCtrl) _obj, TPoint(pt_x,pt_y));
-
-int wxStyledTextCtrl_PositionFromPointClose(TSelf(wxStyledTextCtrl) _obj, int x, int y);
-
-void wxStyledTextCtrl_GotoLine(TSelf(wxStyledTextCtrl) _obj, int line);
-
-void wxStyledTextCtrl_GotoPos(TSelf(wxStyledTextCtrl) _obj, int pos);
-
-void wxStyledTextCtrl_SetAnchor(TSelf(wxStyledTextCtrl) _obj, int posAnchor);
-
-int wxStyledTextCtrl_GetEndStyled(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_ConvertEOLs(TSelf(wxStyledTextCtrl) _obj, int eolMode);
-
-int wxStyledTextCtrl_GetEOLMode(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_SetEOLMode(TSelf(wxStyledTextCtrl) _obj, int eolMode);
-
-void wxStyledTextCtrl_StartStyling(TSelf(wxStyledTextCtrl) _obj, int pos, int mask);
-
-void wxStyledTextCtrl_SetStyling(TSelf(wxStyledTextCtrl) _obj, int length, int style);
-
-TBool wxStyledTextCtrl_GetBufferedDraw(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_SetBufferedDraw(TSelf(wxStyledTextCtrl) _obj, TBool buffered);
-
-void wxStyledTextCtrl_SetTabWidth(TSelf(wxStyledTextCtrl) _obj, int tabWidth);
-
-int wxStyledTextCtrl_GetTabWidth(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_SetCodePage(TSelf(wxStyledTextCtrl) _obj, int codePage);
-
-void wxStyledTextCtrl_MarkerDefine(TSelf(wxStyledTextCtrl) _obj, int markerNumber, int markerSymbol, TColorRGB(foreground_r,foreground_g,foreground_b), TColorRGB(background_r,background_g,background_b));
-
-void wxStyledTextCtrl_MarkerSetForeground(TSelf(wxStyledTextCtrl) _obj, int markerNumber, TColorRGB(fore_r,fore_g,fore_b));
-
-void wxStyledTextCtrl_MarkerSetBackground(TSelf(wxStyledTextCtrl) _obj, int markerNumber, TColorRGB(back_r,back_g,back_b));
-
-int wxStyledTextCtrl_MarkerAdd(TSelf(wxStyledTextCtrl) _obj, int line, int markerNumber);
-
-void wxStyledTextCtrl_MarkerDelete(TSelf(wxStyledTextCtrl) _obj, int line, int markerNumber);
-
-void wxStyledTextCtrl_MarkerDeleteAll(TSelf(wxStyledTextCtrl) _obj, int markerNumber);
-
-int wxStyledTextCtrl_MarkerGet(TSelf(wxStyledTextCtrl) _obj, int line);
-
-int wxStyledTextCtrl_MarkerNext(TSelf(wxStyledTextCtrl) _obj, int lineStart, int markerMask);
-
-int wxStyledTextCtrl_MarkerPrevious(TSelf(wxStyledTextCtrl) _obj, int lineStart, int markerMask);
-
-void wxStyledTextCtrl_MarkerDefineBitmap(TSelf(wxStyledTextCtrl) _obj, int markerNumber, TClass(wxBitmap) bmp);
-
-void wxStyledTextCtrl_SetMarginType(TSelf(wxStyledTextCtrl) _obj, int margin, int marginType);
-
-int wxStyledTextCtrl_GetMarginType(TSelf(wxStyledTextCtrl) _obj, int margin);
-
-void wxStyledTextCtrl_SetMarginWidth(TSelf(wxStyledTextCtrl) _obj, int margin, int pixelWidth);
-
-int wxStyledTextCtrl_GetMarginWidth(TSelf(wxStyledTextCtrl) _obj, int margin);
-
-void wxStyledTextCtrl_SetMarginMask(TSelf(wxStyledTextCtrl) _obj, int margin, int mask);
-
-int wxStyledTextCtrl_GetMarginMask(TSelf(wxStyledTextCtrl) _obj, int margin);
-
-void wxStyledTextCtrl_SetMarginSensitive(TSelf(wxStyledTextCtrl) _obj, int margin, TBool sensitive);
-
-TBool wxStyledTextCtrl_GetMarginSensitive(TSelf(wxStyledTextCtrl) _obj, int margin);
-
-void wxStyledTextCtrl_StyleClearAll(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_StyleSetForeground(TSelf(wxStyledTextCtrl) _obj, int style, TColorRGB(fore_r,fore_g,fore_b));
-
-void wxStyledTextCtrl_StyleSetBackground(TSelf(wxStyledTextCtrl) _obj, int style, TColorRGB(back_r,back_g,back_b));
-
-void wxStyledTextCtrl_StyleSetBold(TSelf(wxStyledTextCtrl) _obj, int style, TBool bold);
-
-void wxStyledTextCtrl_StyleSetItalic(TSelf(wxStyledTextCtrl) _obj, int style, TBool italic);
-
-void wxStyledTextCtrl_StyleSetSize(TSelf(wxStyledTextCtrl) _obj, int style, int sizePoints);
-
-void wxStyledTextCtrl_StyleSetFaceName(TSelf(wxStyledTextCtrl) _obj, int style, TClass(wxString) fontName);
-
-void wxStyledTextCtrl_StyleSetEOLFilled(TSelf(wxStyledTextCtrl) _obj, int style, TBool filled);
-
-void wxStyledTextCtrl_StyleResetDefault(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_StyleSetUnderline(TSelf(wxStyledTextCtrl) _obj, int style, TBool underline);
-
-void wxStyledTextCtrl_StyleSetCase(TSelf(wxStyledTextCtrl) _obj, int style, int caseForce);
-
-void wxStyledTextCtrl_StyleSetCharacterSet(TSelf(wxStyledTextCtrl) _obj, int style, int characterSet);
-
-void wxStyledTextCtrl_StyleSetHotSpot(TSelf(wxStyledTextCtrl) _obj, int style, TBool hotspot);
-
-void wxStyledTextCtrl_SetSelForeground(TSelf(wxStyledTextCtrl) _obj, TBool useSetting, TColorRGB(fore_r,fore_g,fore_b));
-
-void wxStyledTextCtrl_SetSelBackground(TSelf(wxStyledTextCtrl) _obj, TBool useSetting, TColorRGB(back_r,back_g,back_b));
-
-void wxStyledTextCtrl_SetCaretForeground(TSelf(wxStyledTextCtrl) _obj, TColorRGB(fore_r,fore_g,fore_b));
-
-void wxStyledTextCtrl_CmdKeyAssign(TSelf(wxStyledTextCtrl) _obj, int key, int modifiers, int cmd);
-
-void wxStyledTextCtrl_CmdKeyClear(TSelf(wxStyledTextCtrl) _obj, int key, int modifiers);
-
-void wxStyledTextCtrl_CmdKeyClearAll(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_SetStyleBytes(TSelf(wxStyledTextCtrl) _obj, int length, char* styleBytes);
-
-void wxStyledTextCtrl_StyleSetVisible(TSelf(wxStyledTextCtrl) _obj, int style, TBool visible);
-
-int wxStyledTextCtrl_GetCaretPeriod(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_SetCaretPeriod(TSelf(wxStyledTextCtrl) _obj, int periodMilliseconds);
-
-void wxStyledTextCtrl_SetWordChars(TSelf(wxStyledTextCtrl) _obj, TClass(wxString) characters);
-
-void wxStyledTextCtrl_BeginUndoAction(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_EndUndoAction(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_IndicatorSetStyle(TSelf(wxStyledTextCtrl) _obj, int indic, int style);
-
-int wxStyledTextCtrl_IndicatorGetStyle(TSelf(wxStyledTextCtrl) _obj, int indic);
-
-void wxStyledTextCtrl_IndicatorSetForeground(TSelf(wxStyledTextCtrl) _obj, int indic, TColorRGB(fore_r,fore_g,fore_b));
-
-void wxStyledTextCtrl_SetWhitespaceForeground(TSelf(wxStyledTextCtrl) _obj, TBool useSetting, TColorRGB(fore_r,fore_g,fore_b));
-
-void wxStyledTextCtrl_SetWhitespaceBackground(TSelf(wxStyledTextCtrl) _obj, TBool useSetting, TColorRGB(back_r,back_g,back_b));
-
-void wxStyledTextCtrl_SetStyleBits(TSelf(wxStyledTextCtrl) _obj, int bits);
-
-int wxStyledTextCtrl_GetStyleBits(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_SetLineState(TSelf(wxStyledTextCtrl) _obj, int line, int state);
-
-int wxStyledTextCtrl_GetLineState(TSelf(wxStyledTextCtrl) _obj, int line);
-
-int wxStyledTextCtrl_GetMaxLineState(TSelf(wxStyledTextCtrl) _obj);
-
-TBool wxStyledTextCtrl_GetCaretLineVisible(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_SetCaretLineVisible(TSelf(wxStyledTextCtrl) _obj, TBool show);
-
-void wxStyledTextCtrl_StyleSetChangeable(TSelf(wxStyledTextCtrl) _obj, int style, TBool changeable);
-
-void wxStyledTextCtrl_AutoCompShow(TSelf(wxStyledTextCtrl) _obj, int lenEntered, TClass(wxString) itemList);
-
-void wxStyledTextCtrl_AutoCompCancel(TSelf(wxStyledTextCtrl) _obj);
-
-TBool wxStyledTextCtrl_AutoCompActive(TSelf(wxStyledTextCtrl) _obj);
-
-int wxStyledTextCtrl_AutoCompPosStart(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_AutoCompComplete(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_AutoCompStops(TSelf(wxStyledTextCtrl) _obj, TClass(wxString) characterSet);
-
-void wxStyledTextCtrl_AutoCompSetSeparator(TSelf(wxStyledTextCtrl) _obj, int separatorCharacter);
-
-int wxStyledTextCtrl_AutoCompGetSeparator(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_AutoCompSelect(TSelf(wxStyledTextCtrl) _obj, TClass(wxString) text);
-
-void wxStyledTextCtrl_AutoCompSetCancelAtStart(TSelf(wxStyledTextCtrl) _obj, TBool cancel);
-
-TBool wxStyledTextCtrl_AutoCompGetCancelAtStart(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_AutoCompSetFillUps(TSelf(wxStyledTextCtrl) _obj, TClass(wxString) characterSet);
-
-void wxStyledTextCtrl_AutoCompSetChooseSingle(TSelf(wxStyledTextCtrl) _obj, TBool chooseSingle);
-
-TBool wxStyledTextCtrl_AutoCompGetChooseSingle(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_AutoCompSetIgnoreCase(TSelf(wxStyledTextCtrl) _obj, TBool ignoreCase);
-
-TBool wxStyledTextCtrl_AutoCompGetIgnoreCase(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_UserListShow(TSelf(wxStyledTextCtrl) _obj, int listType, TClass(wxString) itemList);
-
-void wxStyledTextCtrl_AutoCompSetAutoHide(TSelf(wxStyledTextCtrl) _obj, TBool autoHide);
-
-TBool wxStyledTextCtrl_AutoCompGetAutoHide(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_AutoCompSetDropRestOfWord(TSelf(wxStyledTextCtrl) _obj, TBool dropRestOfWord);
-
-TBool wxStyledTextCtrl_AutoCompGetDropRestOfWord(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_RegisterImage(TSelf(wxStyledTextCtrl) _obj, int type, TClass(wxBitmap) bmp);
-
-void wxStyledTextCtrl_ClearRegisteredImages(TSelf(wxStyledTextCtrl) _obj);
-
-int wxStyledTextCtrl_AutoCompGetTypeSeparator(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_AutoCompSetTypeSeparator(TSelf(wxStyledTextCtrl) _obj, int separatorCharacter);
-
-void wxStyledTextCtrl_SetIndent(TSelf(wxStyledTextCtrl) _obj, int indentSize);
-
-int wxStyledTextCtrl_GetIndent(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_SetUseTabs(TSelf(wxStyledTextCtrl) _obj, TBool useTabs);
-
-TBool wxStyledTextCtrl_GetUseTabs(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_SetLineIndentation(TSelf(wxStyledTextCtrl) _obj, int line, int indentSize);
-
-int wxStyledTextCtrl_GetLineIndentation(TSelf(wxStyledTextCtrl) _obj, int line);
-
-int wxStyledTextCtrl_GetLineIndentPosition(TSelf(wxStyledTextCtrl) _obj, int line);
-
-int wxStyledTextCtrl_GetColumn(TSelf(wxStyledTextCtrl) _obj, int pos);
-
-void wxStyledTextCtrl_SetUseHorizontalScrollBar(TSelf(wxStyledTextCtrl) _obj, TBool show);
-
-TBool wxStyledTextCtrl_GetUseHorizontalScrollBar(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_SetIndentationGuides(TSelf(wxStyledTextCtrl) _obj, TBool show);
-
-TBool wxStyledTextCtrl_GetIndentationGuides(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_SetHighlightGuide(TSelf(wxStyledTextCtrl) _obj, int column);
-
-int wxStyledTextCtrl_GetHighlightGuide(TSelf(wxStyledTextCtrl) _obj);
-
-int wxStyledTextCtrl_GetLineEndPosition(TSelf(wxStyledTextCtrl) _obj, int line);
-
-int wxStyledTextCtrl_GetCodePage(TSelf(wxStyledTextCtrl) _obj);
-
-TBool wxStyledTextCtrl_GetReadOnly(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_SetCurrentPos(TSelf(wxStyledTextCtrl) _obj, int pos);
-
-void wxStyledTextCtrl_SetSelectionStart(TSelf(wxStyledTextCtrl) _obj, int pos);
-
-int wxStyledTextCtrl_GetSelectionStart(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_SetSelectionEnd(TSelf(wxStyledTextCtrl) _obj, int pos);
-
-int wxStyledTextCtrl_GetSelectionEnd(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_SetPrintMagnification(TSelf(wxStyledTextCtrl) _obj, int magnification);
-
-int wxStyledTextCtrl_GetPrintMagnification(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_SetPrintColourMode(TSelf(wxStyledTextCtrl) _obj, int mode);
-
-int wxStyledTextCtrl_GetPrintColourMode(TSelf(wxStyledTextCtrl) _obj);
-
-int wxStyledTextCtrl_FindText(TSelf(wxStyledTextCtrl) _obj, int minPos, int maxPos, TClass(wxString) text, int flags);
-
-int wxStyledTextCtrl_FormatRange(TSelf(wxStyledTextCtrl) _obj, TBool doDraw, int startPos, int endPos, TClass(wxDC) draw, TClass(wxDC) target, TClass(wxRect) renderRect, TClass(wxRect) pageRect);
-
-int wxStyledTextCtrl_GetFirstVisibleLine(TSelf(wxStyledTextCtrl) _obj);
-
-int wxStyledTextCtrl_GetLineCount(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_SetMarginLeft(TSelf(wxStyledTextCtrl) _obj, int pixelWidth);
-
-int wxStyledTextCtrl_GetMarginLeft(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_SetMarginRight(TSelf(wxStyledTextCtrl) _obj, int pixelWidth);
-
-int wxStyledTextCtrl_GetMarginRight(TSelf(wxStyledTextCtrl) _obj);
-
-TBool wxStyledTextCtrl_GetModify(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_SetSelection(TSelf(wxStyledTextCtrl) _obj, int start, int end);
-
-void wxStyledTextCtrl_HideSelection(TSelf(wxStyledTextCtrl) _obj, TBool normal);
-
-int wxStyledTextCtrl_LineFromPosition(TSelf(wxStyledTextCtrl) _obj, int pos);
-
-int wxStyledTextCtrl_PositionFromLine(TSelf(wxStyledTextCtrl) _obj, int line);
-
-void wxStyledTextCtrl_LineScroll(TSelf(wxStyledTextCtrl) _obj, int columns, int lines);
-
-void wxStyledTextCtrl_EnsureCaretVisible(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_ReplaceSelection(TSelf(wxStyledTextCtrl) _obj, TClass(wxString) text);
-
-void wxStyledTextCtrl_SetReadOnly(TSelf(wxStyledTextCtrl) _obj, TBool readOnly);
-
-TBool wxStyledTextCtrl_CanPaste(TSelf(wxStyledTextCtrl) _obj);
-
-TBool wxStyledTextCtrl_CanUndo(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_EmptyUndoBuffer(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_Undo(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_Cut(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_Copy(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_Paste(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_Clear(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_SetText(TSelf(wxStyledTextCtrl) _obj, TClass(wxString) text);
-
-int wxStyledTextCtrl_GetTextLength(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_SetOvertype(TSelf(wxStyledTextCtrl) _obj, TBool overtype);
-
-TBool wxStyledTextCtrl_GetOvertype(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_SetCaretWidth(TSelf(wxStyledTextCtrl) _obj, int pixelWidth);
-
-int wxStyledTextCtrl_GetCaretWidth(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_SetTargetStart(TSelf(wxStyledTextCtrl) _obj, int pos);
-
-int wxStyledTextCtrl_GetTargetStart(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_SetTargetEnd(TSelf(wxStyledTextCtrl) _obj, int pos);
-
-int wxStyledTextCtrl_GetTargetEnd(TSelf(wxStyledTextCtrl) _obj);
-
-int wxStyledTextCtrl_ReplaceTarget(TSelf(wxStyledTextCtrl) _obj, TClass(wxString) text);
-
-int wxStyledTextCtrl_ReplaceTargetRE(TSelf(wxStyledTextCtrl) _obj, TClass(wxString) text);
-
-int wxStyledTextCtrl_SearchInTarget(TSelf(wxStyledTextCtrl) _obj, TClass(wxString) text);
-
-void wxStyledTextCtrl_SetSearchFlags(TSelf(wxStyledTextCtrl) _obj, int flags);
-
-int wxStyledTextCtrl_GetSearchFlags(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_CallTipShow(TSelf(wxStyledTextCtrl) _obj, int pos, TClass(wxString) definition);
-
-void wxStyledTextCtrl_CallTipCancel(TSelf(wxStyledTextCtrl) _obj);
-
-TBool wxStyledTextCtrl_CallTipActive(TSelf(wxStyledTextCtrl) _obj);
-
-int wxStyledTextCtrl_CallTipPosAtStart(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_CallTipSetHighlight(TSelf(wxStyledTextCtrl) _obj, int start, int end);
-
-void wxStyledTextCtrl_CallTipSetBackground(TSelf(wxStyledTextCtrl) _obj, TColorRGB(back_r,back_g,back_b));
-
-void wxStyledTextCtrl_CallTipSetForeground(TSelf(wxStyledTextCtrl) _obj, TColorRGB(fore_r,fore_g,fore_b));
-
-void wxStyledTextCtrl_CallTipSetForegroundHighlight(TSelf(wxStyledTextCtrl) _obj, TColorRGB(fore_r,fore_g,fore_b));
-
-int wxStyledTextCtrl_VisibleFromDocLine(TSelf(wxStyledTextCtrl) _obj, int line);
-
-int wxStyledTextCtrl_DocLineFromVisible(TSelf(wxStyledTextCtrl) _obj, int lineDisplay);
-
-void wxStyledTextCtrl_SetFoldLevel(TSelf(wxStyledTextCtrl) _obj, int line, int level);
-
-int wxStyledTextCtrl_GetFoldLevel(TSelf(wxStyledTextCtrl) _obj, int line);
-
-int wxStyledTextCtrl_GetLastChild(TSelf(wxStyledTextCtrl) _obj, int line, int level);
-
-int wxStyledTextCtrl_GetFoldParent(TSelf(wxStyledTextCtrl) _obj, int line);
-
-void wxStyledTextCtrl_ShowLines(TSelf(wxStyledTextCtrl) _obj, int lineStart, int lineEnd);
-
-void wxStyledTextCtrl_HideLines(TSelf(wxStyledTextCtrl) _obj, int lineStart, int lineEnd);
-
-TBool wxStyledTextCtrl_GetLineVisible(TSelf(wxStyledTextCtrl) _obj, int line);
-
-void wxStyledTextCtrl_SetFoldExpanded(TSelf(wxStyledTextCtrl) _obj, int line, TBool expanded);
-
-TBool wxStyledTextCtrl_GetFoldExpanded(TSelf(wxStyledTextCtrl) _obj, int line);
-
-void wxStyledTextCtrl_ToggleFold(TSelf(wxStyledTextCtrl) _obj, int line);
-
-void wxStyledTextCtrl_EnsureVisible(TSelf(wxStyledTextCtrl) _obj, int line);
-
-void wxStyledTextCtrl_SetFoldFlags(TSelf(wxStyledTextCtrl) _obj, int flags);
-
-void wxStyledTextCtrl_EnsureVisibleEnforcePolicy(TSelf(wxStyledTextCtrl) _obj, int line);
-
-void wxStyledTextCtrl_SetTabIndents(TSelf(wxStyledTextCtrl) _obj, TBool tabIndents);
-
-TBool wxStyledTextCtrl_GetTabIndents(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_SetBackSpaceUnIndents(TSelf(wxStyledTextCtrl) _obj, TBool bsUnIndents);
-
-TBool wxStyledTextCtrl_GetBackSpaceUnIndents(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_SetMouseDwellTime(TSelf(wxStyledTextCtrl) _obj, int periodMilliseconds);
-
-int wxStyledTextCtrl_GetMouseDwellTime(TSelf(wxStyledTextCtrl) _obj);
-
-int wxStyledTextCtrl_WordStartPosition(TSelf(wxStyledTextCtrl) _obj, int pos, TBool onlyWordCharacters);
-
-int wxStyledTextCtrl_WordEndPosition(TSelf(wxStyledTextCtrl) _obj, int pos, TBool onlyWordCharacters);
-
-void wxStyledTextCtrl_SetWrapMode(TSelf(wxStyledTextCtrl) _obj, int mode);
-
-int wxStyledTextCtrl_GetWrapMode(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_SetLayoutCache(TSelf(wxStyledTextCtrl) _obj, int mode);
-
-int wxStyledTextCtrl_GetLayoutCache(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_SetScrollWidth(TSelf(wxStyledTextCtrl) _obj, int pixelWidth);
-
-int wxStyledTextCtrl_GetScrollWidth(TSelf(wxStyledTextCtrl) _obj);
-
-int wxStyledTextCtrl_TextWidth(TSelf(wxStyledTextCtrl) _obj, int style, TClass(wxString) text);
-
-void wxStyledTextCtrl_SetEndAtLastLine(TSelf(wxStyledTextCtrl) _obj, TBool endAtLastLine);
-
-int wxStyledTextCtrl_GetEndAtLastLine(TSelf(wxStyledTextCtrl) _obj);
-
-int wxStyledTextCtrl_TextHeight(TSelf(wxStyledTextCtrl) _obj, int line);
-
-void wxStyledTextCtrl_SetUseVerticalScrollBar(TSelf(wxStyledTextCtrl) _obj, TBool show);
-
-TBool wxStyledTextCtrl_GetUseVerticalScrollBar(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_AppendText(TSelf(wxStyledTextCtrl) _obj, TClass(wxString) text);
-
-TBool wxStyledTextCtrl_GetTwoPhaseDraw(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_SetTwoPhaseDraw(TSelf(wxStyledTextCtrl) _obj, TBool twoPhase);
-
-void wxStyledTextCtrl_TargetFromSelection(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_LinesJoin(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_LinesSplit(TSelf(wxStyledTextCtrl) _obj, int pixelWidth);
-
-void wxStyledTextCtrl_SetFoldMarginColour(TSelf(wxStyledTextCtrl) _obj, TBool useSetting, TColorRGB(back_r,back_g,back_b));
-
-void wxStyledTextCtrl_SetFoldMarginHiColour(TSelf(wxStyledTextCtrl) _obj, TBool useSetting, TColorRGB(fore_r,fore_g,fore_b));
-
-void wxStyledTextCtrl_LineDuplicate(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_HomeDisplay(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_HomeDisplayExtend(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_LineEndDisplay(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_LineEndDisplayExtend(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_LineCopy(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_MoveCaretInsideView(TSelf(wxStyledTextCtrl) _obj);
-
-int wxStyledTextCtrl_LineLength(TSelf(wxStyledTextCtrl) _obj, int line);
-
-void wxStyledTextCtrl_BraceHighlight(TSelf(wxStyledTextCtrl) _obj, int pos1, int pos2);
-
-void wxStyledTextCtrl_BraceBadLight(TSelf(wxStyledTextCtrl) _obj, int pos);
-
-int wxStyledTextCtrl_BraceMatch(TSelf(wxStyledTextCtrl) _obj, int pos);
-
-TBool wxStyledTextCtrl_GetViewEOL(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_SetViewEOL(TSelf(wxStyledTextCtrl) _obj, TBool visible);
-
-void wxStyledTextCtrl_SetDocPointer(TSelf(wxStyledTextCtrl) _obj, TClass(wxSTCDoc) docPointer);
-
-void wxStyledTextCtrl_SetModEventMask(TSelf(wxStyledTextCtrl) _obj, int mask);
-
-int wxStyledTextCtrl_GetEdgeColumn(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_SetEdgeColumn(TSelf(wxStyledTextCtrl) _obj, int column);
-
-int wxStyledTextCtrl_GetEdgeMode(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_SetEdgeMode(TSelf(wxStyledTextCtrl) _obj, int mode);
-
-void wxStyledTextCtrl_SetEdgeColour(TSelf(wxStyledTextCtrl) _obj, TColorRGB(edgeColour_r,edgeColour_g,edgeColour_b));
-
-void wxStyledTextCtrl_SearchAnchor(TSelf(wxStyledTextCtrl) _obj);
-
-int wxStyledTextCtrl_SearchNext(TSelf(wxStyledTextCtrl) _obj, int flags, TClass(wxString) text);
-
-int wxStyledTextCtrl_SearchPrev(TSelf(wxStyledTextCtrl) _obj, int flags, TClass(wxString) text);
-
-int wxStyledTextCtrl_LinesOnScreen(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_UsePopUp(TSelf(wxStyledTextCtrl) _obj, TBool allowPopUp);
-
-TBool wxStyledTextCtrl_SelectionIsRectangle(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_SetZoom(TSelf(wxStyledTextCtrl) _obj, int zoom);
-
-int wxStyledTextCtrl_GetZoom(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_AddRefDocument(TSelf(wxStyledTextCtrl) _obj, TClass(wxSTCDoc) docPointer);
-
-void wxStyledTextCtrl_ReleaseDocument(TSelf(wxStyledTextCtrl) _obj, TClass(wxSTCDoc) docPointer);
-
-int wxStyledTextCtrl_GetModEventMask(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_SetSTCFocus(TSelf(wxStyledTextCtrl) _obj, TBool focus);
-
-TBool wxStyledTextCtrl_GetSTCFocus(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_SetStatus(TSelf(wxStyledTextCtrl) _obj, int statusCode);
-
-int wxStyledTextCtrl_GetStatus(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_SetMouseDownCaptures(TSelf(wxStyledTextCtrl) _obj, TBool captures);
-
-TBool wxStyledTextCtrl_GetMouseDownCaptures(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_SetSTCCursor(TSelf(wxStyledTextCtrl) _obj, int cursorType);
-
-int wxStyledTextCtrl_GetSTCCursor(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_SetControlCharSymbol(TSelf(wxStyledTextCtrl) _obj, int symbol);
-
-int wxStyledTextCtrl_GetControlCharSymbol(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_WordPartLeft(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_WordPartLeftExtend(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_WordPartRight(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_WordPartRightExtend(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_SetVisiblePolicy(TSelf(wxStyledTextCtrl) _obj, int visiblePolicy, int visibleSlop);
-
-void wxStyledTextCtrl_DelLineLeft(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_DelLineRight(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_SetXOffset(TSelf(wxStyledTextCtrl) _obj, int newOffset);
-
-int wxStyledTextCtrl_GetXOffset(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_ChooseCaretX(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_SetXCaretPolicy(TSelf(wxStyledTextCtrl) _obj, int caretPolicy, int caretSlop);
-
-void wxStyledTextCtrl_SetYCaretPolicy(TSelf(wxStyledTextCtrl) _obj, int caretPolicy, int caretSlop);
-
-void wxStyledTextCtrl_SetPrintWrapMode(TSelf(wxStyledTextCtrl) _obj, int mode);
-
-int wxStyledTextCtrl_GetPrintWrapMode(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_SetHotspotActiveForeground(TSelf(wxStyledTextCtrl) _obj, TBool useSetting, TColorRGB(fore_r,fore_g,fore_b));
-
-void wxStyledTextCtrl_SetHotspotActiveBackground(TSelf(wxStyledTextCtrl) _obj, TBool useSetting, TColorRGB(back_r,back_g,back_b));
-
-void wxStyledTextCtrl_SetHotspotActiveUnderline(TSelf(wxStyledTextCtrl) _obj, TBool underline);
-
-int wxStyledTextCtrl_PositionBefore(TSelf(wxStyledTextCtrl) _obj, int pos);
-
-int wxStyledTextCtrl_PositionAfter(TSelf(wxStyledTextCtrl) _obj, int pos);
-
-void wxStyledTextCtrl_CopyRange(TSelf(wxStyledTextCtrl) _obj, int start, int end);
-
-void wxStyledTextCtrl_CopyText(TSelf(wxStyledTextCtrl) _obj, int length, TClass(wxString) text);
-
-void wxStyledTextCtrl_StartRecord(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_StopRecord(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_SetLexer(TSelf(wxStyledTextCtrl) _obj, int lexer);
-
-int wxStyledTextCtrl_GetLexer(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_Colourise(TSelf(wxStyledTextCtrl) _obj, int start, int end);
-
-void wxStyledTextCtrl_SetProperty(TSelf(wxStyledTextCtrl) _obj, TClass(wxString) key, TClass(wxString) value);
-
-void wxStyledTextCtrl_SetKeyWords(TSelf(wxStyledTextCtrl) _obj, int keywordSet, TClass(wxString) keyWords);
-
-void wxStyledTextCtrl_SetLexerLanguage(TSelf(wxStyledTextCtrl) _obj, TClass(wxString) language);
-
-int wxStyledTextCtrl_GetCurrentLine(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_StyleSetSpec(TSelf(wxStyledTextCtrl) _obj, int styleNum, TClass(wxString) spec);
-
-void wxStyledTextCtrl_StyleSetFont(TSelf(wxStyledTextCtrl) _obj, int styleNum, TClass(wxFont) font);
-
-void wxStyledTextCtrl_StyleSetFontAttr(TSelf(wxStyledTextCtrl) _obj, int styleNum, int size, TClass(wxString) faceName, TBool bold, TBool italic, TBool underline);
-
-void wxStyledTextCtrl_CmdKeyExecute(TSelf(wxStyledTextCtrl) _obj, int cmd);
-
-void wxStyledTextCtrl_SetMargins(TSelf(wxStyledTextCtrl) _obj, int left, int right);
-
-void wxStyledTextCtrl_GetSelection(TSelf(wxStyledTextCtrl) _obj, int* startPos, int* endPos);
-
-void wxStyledTextCtrl_ScrollToLine(TSelf(wxStyledTextCtrl) _obj, int line);
-
-void wxStyledTextCtrl_ScrollToColumn(TSelf(wxStyledTextCtrl) _obj, int column);
-
-void wxStyledTextCtrl_SetVScrollBar(TSelf(wxStyledTextCtrl) _obj, TClass(wxScrollBar) bar);
-
-void wxStyledTextCtrl_SetHScrollBar(TSelf(wxStyledTextCtrl) _obj, TClass(wxScrollBar) bar);
-
-TBool wxStyledTextCtrl_GetLastKeydownProcessed(TSelf(wxStyledTextCtrl) _obj);
-
-void wxStyledTextCtrl_SetLastKeydownProcessed(TSelf(wxStyledTextCtrl) _obj, TBool val);
-
-TBool wxStyledTextCtrl_SaveFile(TSelf(wxStyledTextCtrl) _obj, TClass(wxString) filename);
-
-TBool wxStyledTextCtrl_LoadFile(TSelf(wxStyledTextCtrl) _obj, TClass(wxString) filename);
− src/include/textstream.h
@@ -1,21 +0,0 @@-
-
-  
-/*-----------------------------------------------------------------------------
-  Input stream
------------------------------------------------------------------------------*/
-TBool wxInputStream_CanRead( TSelf(wxInputStream) self );
-
-TClassDef( wxTextInputStream );
-TClass(wxTextInputStream) wxTextInputStream_Create( TClass(wxInputStream) inputStream, TClass(wxString) sep );
-void wxTextInputStream_Delete( TSelf(wxTextInputStream) self );
-TClass(wxString) wxTextInputStream_ReadLine( TSelf(wxTextInputStream) self );
-
-
-/*-----------------------------------------------------------------------------
-  Output stream
------------------------------------------------------------------------------*/
-TClassDef( wxTextOutputStream );
-TClass(wxTextOutputStream) wxTextOutputStream_Create( TClass(wxOutputStream) outputStream, int mode );
-void wxTextOutputStream_Delete( TSelf(wxTextOutputStream) self );
-void wxTextOutputStream_WriteString( TSelf(wxTextOutputStream) self, TClass(wxString) txt );
− src/include/wrapper.h
@@ -1,573 +0,0 @@-#ifndef __WRAPPER_H-#define __WRAPPER_H--/* MSC: disable warning about int-to-bool conversion (just affects performance) */-#pragma warning(disable: 4800)-/* MSC: disable warning about using different code page (just affects performance) */-#pragma warning(disable: 4819)--/* just to ensure that intptr_t exists */-#ifndef  _MSC_VER-#include <inttypes.h>-/* MSVC-6 defines _MSC_VER=1200 */-#elif _MSC_VER> 1200-#else-/* MSVC-6 does not define intptr_t */-typedef int intptr_t;-#endif--#include "ewxw_def.h"-#include "wx/wx.h"-#if (wxVERSION_NUMBER >= 2600)-#include "wx/apptrait.h"-#endif-#include "wx/tabctrl.h"-#include "wx/notebook.h"-#include "wx/spinctrl.h"-#include "wx/statline.h"-#include "wx/checklst.h"-#include "wx/treectrl.h"-#include "wx/grid.h"-#include "wx/calctrl.h"-#include "wx/dnd.h"-#include "wx/config.h"-#include "wx/imaglist.h"-#include "wx/listctrl.h"-#include "wx/splitter.h"-#include "wx/image.h"-#include "wx/clipbrd.h"-#include "wx/colordlg.h"-#include "wx/fontdlg.h"-#include "wx/sckipc.h"-#include "wx/html/helpctrl.h"-#include "wx/print.h"-#include "wx/sashwin.h"-#include "wx/laywin.h"-#include "wx/minifram.h"-#include "wx/mstream.h"-#include "wx/wizard.h"-#include "wx/socket.h"-#include "wx/artprov.h"-#include "wx/sound.h"---extern "C"-{-typedef void _cdecl (*ClosureFun)( void* _fun, void* _data, void* _evt );--typedef bool _cdecl (*AppInitFunc)(void);--typedef void _cdecl (*EiffelFunc)    (void* _obj, void* _evt);-typedef int  _cdecl (*TextDropFunc)  (void* _obj, long x, long y, void* _txt);-typedef int  _cdecl (*FileDropFunc)  (void* _obj, long x, long y, void* _fle, int _cnt);-typedef void _cdecl (*DragZeroFunc)  (void* _obj);-typedef int  _cdecl (*DragTwoFunc)   (void* _obj, long x, long y);-typedef int  _cdecl (*DragThreeFunc) (void* _obj, long x, long y, int def);--typedef void* _cdecl (*TGetText) (void* _obj, void* _txt);--typedef int  _cdecl (*DataGetDataSize) (void* _obj);-typedef int  _cdecl (*DataGetDataHere) (void* _obj, void* _buf);-typedef int  _cdecl (*DataSetData)     (void* _obj, int _size, const void* _buf);--typedef int  _cdecl (*ValidateFunc) (void* _obj);--typedef int   _cdecl (*TCPAdviseFunc)      (void* _obj, void* _topic, void* _item, void* _data, int _size, int _fmt);-typedef int   _cdecl (*TCPExecuteFunc)     (void* _obj, void* _topic, void* _data, int _size, int _fmt);-typedef wxChar* _cdecl (*TCPRequestFunc)     (void* _obj, void* _topic, void* _item, void* _size, int _fmt);-typedef int   _cdecl (*TCPPokeFunc)        (void* _obj, void* _topic, void* _item, void* _data, int _size, int _fmt);-typedef int   _cdecl (*TCPStartAdviseFunc) (void* _obj, void* _topic, void* _item);-typedef int   _cdecl (*TCPStopAdviseFunc)  (void* _obj, void* _topic, void* _item);-typedef void* _cdecl (*TCPOnConnection)    (void* _obj, void* _cnt);-typedef int   _cdecl (*TCPOnDisconnect)    (void* _obj);--typedef int  _cdecl (*PrintBeginDocument) (void* _obj, int _start, int _end);-typedef void _cdecl (*PrintCommon) (void* _obj);-typedef int  _cdecl (*PrintBeginPage) (void* _obj, int _page);-typedef void _cdecl (*PrintPageInfo) (void* _obj, int* _min, int* _max, int* _from, int* _to);--typedef int  _cdecl (*PreviewFrameFunc) (void* _obj);--typedef int  _cdecl (*TreeCompareFunc) (void* _obj, void* _itm1, void* _itm2);-}--/* Miscellaneous helper functions */-/* Copies the contents of a wxString to a buffer and returns the length of the string */-int copyStrToBuf(void* dst, wxString& src);--/* A Closure is used to call foreign functions. They are closures- because they don't just contain a function pointer but also some- local data supplied at creation time. The closures are reference counted- by 'Callbacks'. Each event handler uses callbacks to react to primitive- events like EVT_LEFT_CLICK and EVT_MOTION. These callbacks invoke the- corresponding closure. Due to reference counting, a single closure can- handle a range of events.-*/-class wxClosure : public wxClientData-{-  protected:-    int         m_refcount;     /* callbacks reference count the closures */-    ClosureFun  m_fun;          /* the foreign function to call */-    void*       m_data;         /* the associated data, passed along with the function call */-  public:-    wxClosure( ClosureFun fun, void* data );-    ~wxClosure();--    virtual void IncRef();-    virtual void DecRef();--    virtual void Invoke( wxEvent* event );-    virtual void* GetData();-};--class wxCallback: public wxObject-{-  private:-    wxClosure* m_closure;    /* the closure to invoke */-  public:-    wxCallback( wxClosure* closure );-    ~wxCallback();--    void Invoke( wxEvent* event );-    wxClosure* GetClosure();-};--extern wxClosure* initClosure;    /* called on wxApp::OnInit */--class ELJApp: public wxApp-{-  public:-    bool OnInit (void);
-    int  OnExit (void);-    void HandleEvent(wxEvent& _evt);-    void InitZipFileSystem();-    void InitImageHandlers();-};---class ELJDataObject: public wxObject-{-        public:-                ELJDataObject(void* _data) : wxObject() {data = _data;};-                void* data;-};--class ELJDropTarget : public wxDropTarget-{-        private:-                DragThreeFunc on_data_func;-                DragTwoFunc   on_drop_func;-                DragThreeFunc on_enter_func;-                DragThreeFunc on_drag_func;-                DragZeroFunc  on_leave_func;-                void* obj;-        public:-                ELJDropTarget(void* _obj) : wxDropTarget()-                {-                        on_data_func = NULL;-                        on_drop_func = NULL;-                        on_enter_func = NULL;-                        on_drag_func = NULL;-                        on_leave_func = NULL;-                        obj = _obj;-                };-                wxDragResult    OnData    (wxCoord x, wxCoord y, wxDragResult def);-                bool            OnDrop    (wxCoord x, wxCoord y);-                wxDragResult    OnEnter   (wxCoord x, wxCoord y, wxDragResult def);-                wxDragResult    OnDragOver(wxCoord x, wxCoord y, wxDragResult def);-                void            OnLeave   ();--                void SetOnData     (DragThreeFunc _func) {on_data_func = _func;};-                void SetOnDrop     (DragTwoFunc _func)   {on_drop_func = _func;};-                void SetOnEnter    (DragThreeFunc _func) {on_enter_func = _func;};-                void SetOnDragOver (DragThreeFunc _func) {on_drag_func = _func;};-                void SetOnLeave    (DragZeroFunc _func)  {on_leave_func = _func;};-};--class ELJDragDataObject : public wxDataObjectSimple-{-        private:-                void* obj;-                DataGetDataSize OnGetDataSize;-                DataGetDataHere OnGetDataHere;-                DataSetData     OnSetData;-        public:-                ELJDragDataObject(void* _obj, wxChar* _fmt, DataGetDataSize _func1, DataGetDataHere _func2, DataSetData _func3) : wxDataObjectSimple(_fmt)-                {obj = _obj; OnGetDataSize = _func1; OnGetDataHere = _func2; OnSetData = _func3;}-                size_t GetDataSize() const {return (size_t)OnGetDataSize(obj);}-                bool GetDataHere(void* buf) const {return OnGetDataHere(obj, buf) != 0;}-                bool SetData(size_t len, const void* buf) {return OnSetData(obj, (int)len, buf) != 0;}-};--class ELJTextDropTarget : public wxTextDropTarget-{-        private:-                DragThreeFunc on_data_func;-                DragTwoFunc   on_drop_func;-                DragThreeFunc on_enter_func;-                DragThreeFunc on_drag_func;-                DragZeroFunc  on_leave_func;-                TextDropFunc func;-                void* obj;-        public:-                ELJTextDropTarget(void* _obj, TextDropFunc _func) : wxTextDropTarget()-                {-                        on_data_func = NULL;-                        on_drop_func = NULL;-                        on_enter_func = NULL;-                        on_drag_func = NULL;-                        on_leave_func = NULL;-                        func = _func;-                        obj = _obj;-                };--                virtual bool OnDropText(wxCoord x, wxCoord y, const wxString& text);--                wxDragResult    OnData    (wxCoord x, wxCoord y, wxDragResult def);-                bool            OnDrop    (wxCoord x, wxCoord y);-                wxDragResult    OnEnter   (wxCoord x, wxCoord y, wxDragResult def);-                wxDragResult    OnDragOver(wxCoord x, wxCoord y, wxDragResult def);-                void            OnLeave   ();--                void SetOnData     (DragThreeFunc _func) {on_data_func = _func;};-                void SetOnDrop     (DragTwoFunc _func)   {on_drop_func = _func;};-                void SetOnEnter    (DragThreeFunc _func) {on_enter_func = _func;};-                void SetOnDragOver (DragThreeFunc _func) {on_drag_func = _func;};-                void SetOnLeave    (DragZeroFunc _func)  {on_leave_func = _func;};-};--class ELJFileDropTarget : public wxFileDropTarget-{-        private:-                DragThreeFunc on_data_func;-                DragTwoFunc   on_drop_func;-                DragThreeFunc on_enter_func;-                DragThreeFunc on_drag_func;-                DragZeroFunc  on_leave_func;-                FileDropFunc func;-                void* obj;-        public:-                ELJFileDropTarget(void* _obj, FileDropFunc _func) : wxFileDropTarget()-                {-                        on_data_func = NULL;-                        on_drop_func = NULL;-                        on_enter_func = NULL;-                        on_drag_func = NULL;-                        on_leave_func = NULL;-                        func = _func;-                        obj = _obj;-                };--                virtual bool OnDropFiles(wxCoord x, wxCoord y, const wxArrayString& filenames);--                wxDragResult    OnData    (wxCoord x, wxCoord y, wxDragResult def);-                bool            OnDrop    (wxCoord x, wxCoord y);-                wxDragResult    OnEnter   (wxCoord x, wxCoord y, wxDragResult def);-                wxDragResult    OnDragOver(wxCoord x, wxCoord y, wxDragResult def);-                void            OnLeave   ();--                void SetOnData     (DragThreeFunc _func) {on_data_func = _func;};-                void SetOnDrop     (DragTwoFunc _func)   {on_drop_func = _func;};-                void SetOnEnter    (DragThreeFunc _func) {on_enter_func = _func;};-                void SetOnDragOver (DragThreeFunc _func) {on_drag_func = _func;};-                void SetOnLeave    (DragZeroFunc _func)  {on_leave_func = _func;};-};--class ELJTextValidator : public wxTextValidator-{-        public:-                ELJTextValidator(void* _obj, void* _fnc, void* _txt, long _stl) : wxTextValidator (_stl, &buf)-                {obj = _obj; fnc = (ValidateFunc)_fnc; buf = (const wxChar*) _txt;};--                ELJTextValidator(const ELJTextValidator& other)-                {-                        Copy (other);-                        obj = other.obj;-                        fnc = other.fnc;-                        buf = other.buf;-                };--                virtual wxObject *Clone(void) const { return new ELJTextValidator(*this); }-                virtual bool Validate(wxWindow* _prt);-        private:-                wxString     buf;-                void*        obj;-                ValidateFunc fnc;-};--class ELJConnection : public wxTCPConnection-{-        private:-                TCPAdviseFunc      DoOnAdvise;-                TCPExecuteFunc     DoOnExecute;-                TCPRequestFunc     DoOnRequest;-                TCPPokeFunc        DoOnPoke;-                TCPStartAdviseFunc DoOnStartAdvise;-                TCPStopAdviseFunc  DoOnStopAdvise;-                TCPOnDisconnect    DoOnDisconnect;-                void*              EiffelObject;--        public:-                ELJConnection() : wxTCPConnection()-                {-                        DoOnAdvise = NULL;-                        DoOnExecute = NULL;-                        DoOnRequest = NULL;-                        DoOnPoke = NULL;-                        DoOnStartAdvise = NULL;-                        DoOnStopAdvise = NULL;-                        DoOnDisconnect = NULL;-                        EiffelObject = NULL;-                }--                ELJConnection(wxChar* _buf, int _sze) : wxTCPConnection(_buf, _sze)-                {-                        DoOnAdvise = NULL;-                        DoOnExecute = NULL;-                        DoOnRequest = NULL;-                        DoOnPoke = NULL;-                        DoOnStartAdvise = NULL;-                        DoOnStopAdvise = NULL;-                        DoOnDisconnect = NULL;-                        EiffelObject = NULL;-                }--                void SetOnAdvise      (void* _fnc) {DoOnAdvise      = (TCPAdviseFunc)_fnc;};-                void SetOnExecute     (void* _fnc) {DoOnExecute     = (TCPExecuteFunc) _fnc;};-                void SetOnRequest     (void* _fnc) {DoOnRequest     = (TCPRequestFunc)_fnc;};-                void SetOnPoke        (void* _fnc) {DoOnPoke        = (TCPPokeFunc)_fnc;};-                void SetOnStartAdvise (void* _fnc) {DoOnStartAdvise = (TCPStartAdviseFunc)_fnc;};-                void SetOnStopAdvise  (void* _fnc) {DoOnStopAdvise  = (TCPStopAdviseFunc)_fnc;};-                void SetOnDisconnect  (void* _fnc) {DoOnDisconnect  = (TCPOnDisconnect)_fnc;};-                void SetEiffelObject  (void* _obj) {EiffelObject = _obj;};--  virtual bool OnExecute     ( const wxString& topic,-                               char *data,-                               int size,-                               wxIPCFormat format )-                             { return DoOnExecute ? DoOnExecute (EiffelObject, (void*)topic.c_str(), data, size, (int) format) != 0 : FALSE; };--  virtual wxChar *OnRequest    ( const wxString& topic,-                               const wxString& item,-                               int *size,-                               wxIPCFormat format )-                             { return DoOnRequest ? DoOnRequest (EiffelObject, (void*)topic.c_str(), (void*)item.c_str(), (void*)size, (int) format) : (wxChar*)NULL; };--  virtual bool OnPoke        ( const wxString& topic,-                               const wxString& item,-                               wxChar *data,-                               int size,-                               wxIPCFormat format )-                            { return DoOnPoke ? DoOnPoke (EiffelObject, (void*)topic.c_str(), (void*)item.c_str(), data, size, (int) format) : FALSE; };--  virtual bool OnStartAdvise ( const wxString& topic,-                               const wxString& item )-                             { return DoOnStartAdvise ? DoOnStartAdvise (EiffelObject, (void*)topic.c_str(), (void*)item.c_str()) : FALSE; };--  virtual bool OnStopAdvise  ( const wxString& topic,-                               const wxString& item )-                             { return DoOnStopAdvise ? DoOnStopAdvise (EiffelObject, (void*)topic.c_str(), (void*)item.c_str()) : FALSE; };--  virtual bool OnAdvise      ( const wxString& topic,-                               const wxString& item,-                               char *data,-                               int size,-                               wxIPCFormat format )-                             { return DoOnAdvise ? DoOnAdvise (EiffelObject, (void*)topic.c_str(), (void*)item.c_str(), data, size, (int) format) : FALSE; };--  virtual bool OnDisconnect  ()-                             { return DoOnDisconnect ? DoOnDisconnect (EiffelObject) : wxTCPConnection::OnDisconnect(); };-};--class ELJServer : public wxTCPServer-{-        private:-                void*           EiffelObject;-                TCPOnConnection DoOnConnect;-        public:-                ELJServer(void* _obj, void* _fnc) : wxTCPServer() {EiffelObject = _obj; DoOnConnect = (TCPOnConnection)_fnc;};-                virtual wxConnectionBase* OnAcceptConnection(const wxString& topic)-                {-                        ELJConnection* result = new ELJConnection();-                        result->SetEiffelObject (DoOnConnect (EiffelObject, (void*)result));-                        return result;-                };-};--class ELJClient : public wxTCPClient-{-        private:-                void*           EiffelObject;-                TCPOnConnection DoOnConnect;-        public:-                ELJClient(void* _obj, void* _fnc) : wxTCPClient() {EiffelObject = _obj; DoOnConnect = (TCPOnConnection)_fnc;};-                virtual wxConnectionBase* OnMakeConnection()-                {-                        ELJConnection* result = new ELJConnection();-                        result->SetEiffelObject (DoOnConnect (EiffelObject, (void*)result));-                        return result;-                };-};--class ELJPrintout : public wxPrintout-{-        private:-                void*                           EiffelObject;-                PrintBeginDocument      DoOnBeginDocument;-                PrintCommon                     DoOnEndDocument;-                PrintCommon                     DoOnBeginPrinting;-                PrintCommon                     DoOnEndPrinting;-                PrintCommon                     DoOnPreparePrinting;-                PrintBeginPage          DoOnPrintPage;-                PrintBeginPage          DoOnHasPage;-                PrintPageInfo           DoOnPageInfo;--        public:-                ELJPrintout(void* title,-                                        void* _obj,-                                        void* _DoOnBeginDocument,-                                        void* _DoOnEndDocument,-                                        void* _DoOnBeginPrinting,-                                        void* _DoOnEndPrinting,-                                        void* _DoOnPreparePrinting,-                                        void* _DoOnPrintPage,-                                        void* _DoOnHasPage,-                                        void* _DoOnPageInfo) : wxPrintout((wxChar*)title)-                {-                        EiffelObject = _obj;-                        DoOnBeginDocument = (PrintBeginDocument)_DoOnBeginDocument;-                        DoOnEndDocument = (PrintCommon)_DoOnEndDocument;-                        DoOnBeginPrinting = (PrintCommon)_DoOnBeginPrinting;-                        DoOnEndPrinting = (PrintCommon)_DoOnEndPrinting;-                        DoOnPreparePrinting = (PrintCommon)_DoOnPreparePrinting;-                        DoOnPrintPage = (PrintBeginPage)_DoOnPrintPage;-                        DoOnHasPage = (PrintBeginPage)_DoOnHasPage;-                        DoOnPageInfo = (PrintPageInfo)_DoOnPageInfo;-                }--            virtual bool OnBeginDocument(int startPage, int endPage)-                { return wxPrintout::OnBeginDocument(startPage, endPage) && (DoOnBeginDocument (EiffelObject, startPage, endPage) != 0); }--                virtual void OnEndDocument()-                { wxPrintout::OnEndDocument(); DoOnEndDocument (EiffelObject); }--            virtual void OnBeginPrinting()-                { DoOnBeginPrinting (EiffelObject); }--            virtual void OnEndPrinting()-                { DoOnEndPrinting (EiffelObject); }--                virtual void OnPreparePrinting()-                { DoOnPreparePrinting (EiffelObject); }--            virtual bool OnPrintPage(int page)-                { return DoOnPrintPage (EiffelObject, page) != 0; }--                virtual bool HasPage(int page)-                { return DoOnHasPage (EiffelObject, page) != 0; }--                virtual void GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo)-                { DoOnPageInfo (EiffelObject, minPage, maxPage, pageFrom, pageTo); }-};--class ELJPreviewFrame: public wxPreviewFrame-{-        private:-                void*                           EiffelObject;-                PreviewFrameFunc        DoInitialize;-                PreviewFrameFunc        DoCreateCanvas;-                PreviewFrameFunc        DoCreateControlBar;--        public:-        ELJPreviewFrame(void* _obj,-                                                void* _init,-                                                void* _create_canvas,-                                                void* _create_toolbar,-                                                void* preview,-                                                void* parent,-                                                void* title,-                                                int x, int y,-                                                int w, int h,-                                                int style) :-        wxPreviewFrame( (wxPrintPreviewBase*)preview,-                                                (wxFrame*)parent,-                                                (wxChar*)title,-                                                wxPoint(x, y),-                                                wxSize(w, h),-                                                (long)style)-                {-                        EiffelObject = _obj;-                        DoInitialize = (PreviewFrameFunc)_init;-                        DoCreateCanvas = (PreviewFrameFunc)_create_canvas;-                        DoCreateControlBar = (PreviewFrameFunc)_create_toolbar;-                }--    virtual void Initialize()-        { if ((DoInitialize) && DoInitialize(EiffelObject)) return; wxPreviewFrame::Initialize();}--    virtual void CreateCanvas()-        { if ((DoCreateCanvas) && DoCreateCanvas(EiffelObject)) return; wxPreviewFrame::CreateCanvas();}--    virtual void CreateControlBar()-        { if ((DoCreateControlBar) && DoCreateControlBar(EiffelObject)) return; wxPreviewFrame::CreateControlBar();}--        void SetPreviewCanvas (void* _obj)-        { m_previewCanvas = (wxPreviewCanvas*) _obj; }--        void SetControlBar (void* _obj)-        { m_controlBar = (wxPreviewControlBar*) _obj; }--        void SetPrintPreview (void* _obj)-        { m_printPreview = (wxPrintPreviewBase*) _obj; }--        void* GetPreviewCanvas ()-        { return (void*)m_previewCanvas; }--        void* GetControlBar ()-        { return (void*)m_controlBar; }--        void* GetPrintPreview ()-        { return (void*)m_printPreview; }--};--class ELJTreeControl : public wxTreeCtrl-{-    DECLARE_DYNAMIC_CLASS(ELJTreeControl)--        private:-                TreeCompareFunc compare_func;-                void* EiffelObject;--        public:-                ELJTreeControl() : wxTreeCtrl ()-                {-                        EiffelObject = NULL;-                        compare_func = NULL;-                };--            ELJTreeControl(void* _obj,-                               void* _cmp,-                               wxWindow *parent,-                               wxWindowID id = -1,-                       const wxPoint& pos = wxDefaultPosition,-                       const wxSize& size = wxDefaultSize,-                       long style = wxTR_HAS_BUTTONS | wxTR_LINES_AT_ROOT,-                       const wxValidator& validator = wxDefaultValidator,-                       const wxString& name = wxT("wxTreeCtrl")) :-                wxTreeCtrl (parent, id, pos, size, style, validator, name)-                {-                        EiffelObject = _obj;-                        compare_func = (TreeCompareFunc)_cmp;-                };--                virtual int OnCompareItems(const wxTreeItemId& item1, const wxTreeItemId& item2)-                {-                        return EiffelObject ? compare_func (EiffelObject, (void*)&item1, (void*)&item2) : wxTreeCtrl::OnCompareItems(item1, item2);-                }--};--DECLARE_APP(ELJApp);--#endif /* #ifndef __WRAPPER_H */
− src/include/wxc.h
@@ -1,418 +0,0 @@-#ifndef wxc_h-#define wxc_h--/* eiffel uses stdcall but we use __cdecl!! */-#ifdef _stdcall-# undef _stdcall-#endif--#define _stdcall
-#define EXPORT-
-/*-----------------------------------------------------------------------------
-  Standard includes
------------------------------------------------------------------------------*/
-#include "wxc_types.h"-#include "wxc_glue.h"
-
-
-/*-----------------------------------------------------------------------------
-  Modular extra exports
------------------------------------------------------------------------------*/
-#include "db.h"-#include "dragimage.h"-#include "graphicscontext.h"-#include "sound.h"-#include "managed.h"-#include "mediactrl.h"-#include "previewframe.h"-#include "printout.h"-#include "textstream.h"-#include "stc.h"--/*------------------------------------------------------------------------------  Extra exports------------------------------------------------------------------------------*/--/* wxClosure */-TClassDefExtend(wxClosure,wxObject)-TClass(wxClosure)  wxClosure_Create( TClosureFun _fun_CEvent, void* _data );-void*              wxClosure_GetData( TSelf(wxClosure) _obj );--TClass(wxClosure)  wxEvtHandler_GetClosure( TSelf(wxEvtHandler) _obj, int id, int type );--/** Get the client data in the form of a closure. Use 'closureGetData' to get to the actual data.*/-TClass(wxClosure)  wxEvtHandler_GetClientClosure( TSelf(wxEvtHandler) _obj );-/** Set the client data as a closure. The closure data contains the data while the function is called on deletion. */-void               wxEvtHandler_SetClientClosure( TSelf(wxEvtHandler) _obj, TClass(wxClosure) closure );--/** Get the reference data of an object as a closure: only works if properly initialized. Use 'closureGetData' to get to the actual data. */-TClass(wxClosure)  wxObject_GetClientClosure( TSelf(wxObject) _obj );-/** Set the reference data of an object as a closure. The closure data contains the data while the function is called on deletion. Returns 'True' on success. Only works if the reference data is unused by wxWindows! */-void               wxObject_SetClientClosure( TSelf(wxObject) _obj, TClass(wxClosure) closure );-
-/* extra class definitions for classInfo */
-TClassDefExtend(wxGauge95,wxGauge)
-TClassDefExtend(wxGaugeMSW,wxGauge)
-TClassDefExtend(wxSlider95,wxSlider)
-TClassDefExtend(wxSliderMSW,wxSlider)
-
-
-/* Object */
-void wxObject_Delete( TSelf(wxObject) obj );
--/* Frame */-TClass(wxString) wxFrame_GetTitle( TSelf(wxFrame) _obj );-void        wxFrame_SetTitle( TSelf(wxFrame) _frame, TClass(wxString) _txt );-TBool       wxFrame_SetShape( TSelf(wxFrame) self, TClass(wxRegion) region);
-TBool       wxFrame_ShowFullScreen( TSelf(wxFrame) self, TBool show, int style);
-TBool       wxFrame_IsFullScreen( TSelf(wxFrame) self );
-void        wxFrame_Centre( TSelf(wxFrame) self, int orientation );
--/* Create/Delete */-void   wxCursor_Delete( TSelf(wxCursor) _obj );-void  wxDateTime_Delete(TSelf(wxDateTime) _obj);--/* wxMouseEvent */-int   wxMouseEvent_GetWheelDelta( TSelf(wxMouseEvent) _obj );-int   wxMouseEvent_GetWheelRotation( TSelf(wxMouseEvent) _obj );-int   wxMouseEvent_GetButton( TSelf(wxMouseEvent) _obj );-int   expEVT_MOUSEWHEEL(  );-
-TClass(wxPoint) wxcGetMousePosition( );
-
-
-/* wxDC */
-double wxDC_GetUserScaleX( TSelf(wxDC) dc );
-double wxDC_GetUserScaleY( TSelf(wxDC) dc );
--/* wxWindow */-TClass(wxPoint) wxWindow_ConvertDialogToPixelsEx( TSelf(wxWindow) _obj );
-TClass(wxPoint) wxWindow_ConvertPixelsToDialogEx( TSelf(wxWindow) _obj );
-TClass(wxPoint) wxWindow_ScreenToClient2( TSelf(wxWindow) _obj, TPoint(x,y) );
-
-/* wxString helpers */
-TClass(wxString) wxString_Create( TString buffer );
-TClass(wxString) wxString_CreateLen( TString buffer, int len );
-void             wxString_Delete( TSelf(wxString) s );
-TStringLen       wxString_GetString( TSelf(wxString) s, TStringOut buffer );
-size_t           wxString_Length( TSelf(wxString) s );
---/* menu */-TClass(wxMenuBar) wxMenu_GetMenuBar( TSelf(wxMenu) _obj );
-TClass(wxFrame)   wxMenuBar_GetFrame( TSelf(wxMenuBar) _obj );
-
-/* listctrl */
-int expEVT_SORT();
-int expEVT_COMMAND_LIST_CACHE_HINT();
-int expEVT_COMMAND_LIST_COL_RIGHT_CLICK();
-int expEVT_COMMAND_LIST_COL_BEGIN_DRAG();
-int expEVT_COMMAND_LIST_COL_DRAGGING();
-int expEVT_COMMAND_LIST_COL_END_DRAG();
-
-int wxListEvent_GetCacheFrom( TSelf(wxListEvent) _obj);
-int wxListEvent_GetCacheTo( TSelf(wxListEvent) _obj);
-
-void wxListCtrl_AssignImageList( TSelf(wxListCtrl) _obj, TClass(wxImageList) images, int which );
-void wxListCtrl_GetColumn2( TSelf(wxListCtrl) _obj, int col, TClassRef(wxListItem) item);
-void wxListCtrl_GetItem2( TSelf(wxListCtrl) _obj, TClassRef(wxListItem) info);
-TClass(wxPoint) wxListCtrl_GetItemPosition2( TSelf(wxListCtrl) _obj, int item );
-/** Sort items in a list control. Takes a closure that is called with a 'CommandEvent' where the @Int@ is the item data of the first item and the @ExtraLong@ the item data of the second item. The event handler should set the @Int@ to 0 when the items are equal, -1 when the first is less, and 1 when the second is less. */
-TBool wxListCtrl_SortItems2(TSelf(wxListCtrl) _obj, TClass(wxClosure) closure );
-
-/* tree ctrl */
-TClassDefExtend(wxcTreeItemData,wxTreeItemData)
-
-/** Create tree item data with a closure. The closure data contains the data while the function is called on deletion. */
-TClass(wxcTreeItemData) wxcTreeItemData_Create( TClass(wxClosure) closure );
-/** Get the client data in the form of a closure. Use 'closureGetData' to get to the actual data.*/
-TClass(wxClosure) wxcTreeItemData_GetClientClosure( TSelf(wxcTreeItemData) self );
-/** Set the tree item data with a closure. The closure data contains the data while the function is called on deletion. */
-void  wxcTreeItemData_SetClientClosure( TSelf(wxcTreeItemData) self, TClass(wxClosure) closure );
-
-TClass(wxTreeItemId) wxTreeItemId_Clone( TSelf(wxTreeItemId) _obj);
-TClass(wxTreeItemId) wxTreeItemId_CreateFromValue(int value);
-int wxTreeItemId_GetValue( TSelf(wxTreeItemId) _obj);
-
-
-TClass(wxKeyEvent) wxTreeEvent_GetKeyEvent( TSelf(wxTreeEvent) _obj);
-int    wxTreeEvent_IsEditCancelled( TSelf(wxTreeEvent) _obj);
-void   wxTreeEvent_Allow( TSelf(wxTreeEvent) _obj);
-
-TClass(wxTreeCtrl) wxTreeCtrl_Create2( TClass(wxWindow) _prt, int _id, TRect(_lft,_top,_wdt,_hgt), int _stl );
-void   wxTreeCtrl_InsertItem2( TSelf(wxTreeCtrl) _obj, TClass(wxWindow) parent, TClass(wxTreeItemId) idPrevious, TClass(wxString) text, int image, int selectedImage, TClass(wxClosure) closure, TClassRef(wxTreeItemId) _item );
-void   wxTreeCtrl_InsertItemByIndex2( TSelf(wxTreeCtrl) _obj, TClass(wxWindow) parent, int index, TClass(wxString) text, int image, int selectedImage, TClass(wxClosure) closure, TClassRef(wxTreeItemId) _item );
-TClass(wxClosure)  wxTreeCtrl_GetItemClientClosure( TSelf(wxTreeCtrl) _obj, TClass(wxTreeItemId) item );
-void   wxTreeCtrl_SetItemClientClosure( TSelf(wxTreeCtrl) _obj, TClass(wxTreeItemId) item, TClass(wxClosure) closure );
-void   wxTreeCtrl_AssignImageList(TSelf(wxTreeCtrl) _obj, TClass(wxImageList) imageList );
-void   wxTreeCtrl_AssignStateImageList(TSelf(wxTreeCtrl) _obj, TClass(wxImageList) imageList );
-
-
-/* dc */
-/** Get the color of pixel. Note: this is not a portable method at the moment and its use is discouraged. */
-void wxDC_GetPixel2( TSelf(wxDC) _obj, TPoint(x,y), TClassRef(wxColour) col);
---/* scrolledwindow */-void wxScrolledWindow_SetScrollRate( TSelf(wxScrolledWindow) _obj, int xstep, int ystep );---/* wxObject */-TClassDef(wxObject)-TClass(wxClassInfo)  wxObject_GetClassInfo( TSelf(wxObject) _obj );-TBool       wxObject_IsKindOf( TSelf(wxObject) _obj, TClass(wxClassInfo) classInfo );-TBool       wxObject_IsScrolledWindow( TSelf(wxObject) _obj );---/* wxClassInfo */-TClassDef(wxClassInfo)-TClass(wxClassInfo)  wxClassInfo_FindClass( TClass(wxString) _txt );-TClass(wxString) wxClassInfo_GetBaseClassName1( TSelf(wxClassInfo) _obj );-TClass(wxString) wxClassInfo_GetBaseClassName2( TSelf(wxClassInfo) _obj );-TClass(wxString) wxClassInfo_GetClassNameEx( TSelf(wxClassInfo) _obj );-int         wxClassInfo_GetSize( TSelf(wxClassInfo) _obj );-TBool       wxClassInfo_IsKindOfEx( TSelf(wxClassInfo) _obj, TClass(wxClassInfo) classInfo );--/* wxNotebook */-void        wxNotebook_AssignImageList( TSelf(wxNotebook) _obj, TClass(wxImageList) imageList );--/* Timers */-TClassDefExtend(wxTimerEx,wxTimer)-void               wxTimerEx_Connect( TSelf(wxTimerEx) _obj, TClass(wxClosure) closure );-TClass(wxTimerEx)  wxTimerEx_Create(  );-TClass(wxClosure)  wxTimerEx_GetClosure( TSelf(wxTimerEx) _obj );--/* Menu */
-void  wxMenu_AppendRadioItem( TSelf(wxMenu) self, int id, TClass(wxString) text, TClass(wxString) help);
-
-
-/* Menu Item */-TClass(wxMenuItem)  wxMenuItem_CreateSeparator();-TClass(wxMenuItem)  wxMenuItem_CreateEx(int id, TClass(wxString) label, TClass(wxString) help, int itemkind, TClass(wxMenu) submenu);-
-/* Toolbar */
-void wxToolBar_AddTool2( TSelf(wxToolBar) _obj, int toolId, TClass(wxString) label, TClass(wxBitmap) bmp, TClass(wxBitmap) bmpDisabled, int itemKind, TClass(wxString) shortHelp, TClass(wxString) longHelp );
--/* Progress dialog */-TClass(wxProgressDialog) wxProgressDialog_Create( TClass(wxString) title, TClass(wxString) message, int max, TClass(wxWindow) parent, int style );-TBool wxProgressDialog_Update(TSelf(wxProgressDialog) obj, int value );-TBool wxProgressDialog_UpdateWithMessage( TSelf(wxProgressDialog) obj, int value, TClass(wxString) message );-void wxProgressDialog_Resume( TSelf(wxProgressDialog) obj );--/** Get the version number of wxWindows as a number composed of the major version times 1000, minor version times 100, and the release number. For example, release 2.1.15 becomes 2115. */-int wxVersionNumber();-/** Check if a preprocessor macro is defined. For example, @wxIsDefined("__WXGTK__")@ or @wxIsDefined("wxUSE_GIF")@. */-TBoolInt wxIsDefined( TString s );---/* new Events */-int expEVT_DELETE();-int expEVT_HTML_CELL_CLICKED();-int expEVT_HTML_CELL_MOUSE_HOVER();-int expEVT_HTML_LINK_CLICKED();-int expEVT_HTML_SET_TITLE();-int expEVT_INPUT_SINK();--/* Input sink */-TClassDefExtend(wxInputSink,wxThread)--/** Create an event driven input stream. It is unsafe to reference the original inputStream after this call! The last parameter @bufferLen@ gives the default input batch size. The sink is automatically destroyed whenever the input stream has no more input. */-TClass(wxInputSink) wxInputSink_Create( TClass(wxInputStream) input, TClass(wxEvtHandler) evtHandler, int bufferLen );-/** After creation, retrieve the @id@ of the sink to connect to @wxEVT_INPUT_SINK@ events. */-int   wxInputSink_GetId( TSelf(wxInputSink) obj );-/** After event connection, start non-blocking reading of the inputstream. This will generate @inputSinkEvent@ events. */-void  wxInputSink_Start( TSelf(wxInputSink) obj );--/* Input sink events */-TClassDefExtend(wxInputSinkEvent,wxEvent)--/** Get the input status (@wxSTREAM_NO_ERROR@ is ok). */-int wxInputSinkEvent_LastError( TSelf(wxInputSinkEvent) obj );-/** The number of characters in the input buffer. */-int wxInputSinkEvent_LastRead( TSelf(wxInputSinkEvent) obj );-/** The input buffer. */-char* wxInputSinkEvent_LastInput( TSelf(wxInputSinkEvent) obj );---/* html events */-TClassDefExtend(wxcHtmlEvent,wxCommandEvent)--TClass(wxMouseEvent) wxcHtmlEvent_GetMouseEvent( TSelf(wxcHtmlEvent) self );-TClass(wxHtmlCell)   wxcHtmlEvent_GetHtmlCell( TSelf(wxcHtmlEvent) self );
-/** Return the /id/ attribute of the associated html cell (if applicable) */
-TClass(wxString)     wxcHtmlEvent_GetHtmlCellId( TSelf(wxcHtmlEvent) self );
-/** Return the /href/ attribute of the associated html anchor (if applicable) */-TClass(wxString)     wxcHtmlEvent_GetHref( TSelf(wxcHtmlEvent) self );-TClass(wxString)     wxcHtmlEvent_GetTarget( TSelf(wxcHtmlEvent) self );-TClass(wxPoint)      wxcHtmlEvent_GetLogicalPosition( TSelf(wxcHtmlEvent) self );--/* html window */-TClassDefExtend(wxcHtmlWindow,wxHtmlWindow)-TClass(wxcHtmlWindow) wxcHtmlWindow_Create( TClass(wxWindow) _prt, int _id, TRect(_lft,_top,_wdt,_hgt), int _stl, TClass(wxString) _txt );--TClass(wxHtmlWindow) wxHtmlWindow_Create( TClass(wxWindow) _prt, int _id, TRect(_lft,_top,_wdt,_hgt), int _stl, TClass(wxString) _txt );-TBool                wxHtmlWindow_AppendToPage( TSelf(wxHtmlWindow) _obj, TClass(wxString) source );-TClass(wxHtmlContainerCell) wxHtmlWindow_GetInternalRepresentation( TSelf(wxHtmlWindow) _obj );-TClass(wxString)     wxHtmlWindow_GetOpenedAnchor( TSelf(wxHtmlWindow) _obj ) ;-TClass(wxString)     wxHtmlWindow_GetOpenedPage( TSelf(wxHtmlWindow) _obj );-TClass(wxString)     wxHtmlWindow_GetOpenedPageTitle( TSelf(wxHtmlWindow) _obj );-TClass(wxFrame)      wxHtmlWindow_GetRelatedFrame( TSelf(wxHtmlWindow) _obj );-TBool                wxHtmlWindow_HistoryBack( TSelf(wxHtmlWindow) _obj);-TBool                wxHtmlWindow_HistoryCanBack( TSelf(wxHtmlWindow) _obj );-TBool                wxHtmlWindow_HistoryCanForward( TSelf(wxHtmlWindow) _obj );-void                 wxHtmlWindow_HistoryClear( TSelf(wxHtmlWindow) _obj);-TBool                wxHtmlWindow_HistoryForward( TSelf(wxHtmlWindow) _obj );-TBool                wxHtmlWindow_LoadPage( TSelf(wxHtmlWindow) _obj, TClass(wxString) location );-void                 wxHtmlWindow_ReadCustomization( TSelf(wxHtmlWindow) _obj, TClass(wxConfigBase) cfg, TClass(wxString) path);-void                 wxHtmlWindow_SetBorders( TSelf(wxHtmlWindow) _obj, int b );-void                 wxHtmlWindow_SetFonts( TSelf(wxHtmlWindow) _obj, TClass(wxString) normal_face, TClass(wxString) fixed_face, int * sizes );-void                 wxHtmlWindow_SetPage( TSelf(wxHtmlWindow) _obj, TClass(wxString) source );-void                 wxHtmlWindow_SetRelatedFrame( TSelf(wxHtmlWindow) _obj , TClass(wxFrame) frame, TClass(wxString) format );-void                 wxHtmlWindow_SetRelatedStatusBar( TSelf(wxHtmlWindow) _obj, int bar);-void                 wxHtmlWindow_WriteCustomization( TSelf(wxHtmlWindow) _obj, TClass(wxConfigBase) cfg, TClass(wxString) path );--/* wxGridCellTextEnterEditor */
-TClassDefExtend(wxGridCellTextEnterEditor,wxGridCellTextEditor)
-TClass(wxGridCellTextEnterEditor) wxGridCellTextEnterEditor_Ctor();
-
-/* logger */-TClass(wxLogStderr)   wxLogStderr_Create();-TClass(wxLogStderr)   wxLogStderr_CreateStdOut();-TClass(wxLogNull)     wxLogNull_Create();-TClass(wxLogTextCtrl) wxLogTextCtrl_Create( TClass(wxTextCtrl) text );-TClass(wxLogWindow)   wxLogWindow_Create( TClass(wxWindow) parent, TString title, TBool showit, TBool passthrough );-TClass(wxFrame)       wxLogWindow_GetFrame( TSelf(wxLogWindow) obj );--void   LogError(TClass(wxString) _msg);-void   LogFatalError(TClass(wxString) _msg);-void   LogWarning(TClass(wxString) _msg);-void   LogMessage(TClass(wxString) _msg);-void   LogVerbose(TClass(wxString) _msg);-void   LogStatus(TClass(wxString) _msg);-void   LogSysError(TClass(wxString) _msg);-void   LogDebug(TClass(wxString) _msg);-void   LogTrace(TClass(wxString) mask, TClass(wxString) _msg);--void       wxLog_AddTraceMask( TSelf(wxLog) _obj, TClass(wxString) str );-void       wxLog_Delete( TSelf(wxLog) _obj );-void       wxLog_DontCreateOnDemand( TSelf(wxLog) _obj );-void       wxLog_Flush( TSelf(wxLog) _obj );-void       wxLog_FlushActive( TSelf(wxLog) _obj );-TClass(wxLog)  wxLog_GetActiveTarget(  );-char*      wxLog_GetTimestamp( TSelf(wxLog) _obj );-int        wxLog_GetTraceMask( TSelf(wxLog) _obj );-int        wxLog_GetVerbose( TSelf(wxLog) _obj );-TBool      wxLog_HasPendingMessages( TSelf(wxLog) _obj );-TBool      wxLog_IsAllowedTraceMask( TSelf(wxLog) _obj, TClass(wxMask) mask );-void       wxLog_OnLog( TSelf(wxLog) _obj, int level, TStringVoid szString, int t );-void       wxLog_RemoveTraceMask( TSelf(wxLog) _obj, TClass(wxString) str );-void       wxLog_Resume( TSelf(wxLog) _obj );-TClass(wxLog)  wxLog_SetActiveTarget( TSelf(wxLog) pLogger );-void       wxLog_SetTimestamp( TSelf(wxLog) _obj, TStringVoid ts );-void       wxLog_SetTraceMask( TSelf(wxLog) _obj, int ulMask );-void       wxLog_SetVerbose( TSelf(wxLog) _obj, TBoolInt bVerbose );-void       wxLog_Suspend( TSelf(wxLog) _obj );---/* process */-TClass(wxProcess) wxProcess_Open( TClass(wxString) cmd, int flags );-TBool      wxProcess_IsErrorAvailable( TSelf(wxProcess) _obj );-TBool      wxProcess_IsInputAvailable( TSelf(wxProcess) _obj );-TBool      wxProcess_IsInputOpened( TSelf(wxProcess) _obj );-int        wxKill( int pid, int signal );--void       wxStreamBase_Delete( TSelf(wxStreamBase) obj);--/* Dialogs */-void        wxGetColourFromUser(TClass(wxWindow) parent, TClass(wxColour) colInit, TClassRef(wxColour) colour );-void        wxGetFontFromUser(TClass(wxWindow) parent, TClass(wxFont) fontInit, TClassRef(wxFont) font );-TStringLen  wxGetPasswordFromUser(TString message, TString caption, TString defaultText, TClass(wxWindow) parent, TStringOut _buf );-TStringLen  wxGetTextFromUser(TString message, TString caption, TString defaultText, TClass(wxWindow) parent, TPoint(x,y), TBool center, TStringOut _buf );-long        wxGetNumberFromUser( TClass(wxString) message, TClass(wxString) prompt, TClass(wxString) caption, long value, long min, long max, TClass(wxWindow) parent, TPoint(x,y) );-void        wxcBell();-void        wxcBeginBusyCursor();-void        wxcEndBusyCursor();-void        wxcIsBusy();--/* text ctrl */-TBool               wxTextCtrl_EmulateKeyPress( TSelf(wxTextCtrl) _obj, TClass(wxKeyEvent) keyevent);-TClass (wxTextAttr) wxTextCtrl_GetDefaultStyle( TSelf(wxTextCtrl) _obj );-TClass(wxString)    wxTextCtrl_GetRange( TSelf(wxTextCtrl) _obj, long from, long to );-TClass(wxString)    wxTextCtrl_GetStringSelection( TSelf(wxTextCtrl) _obj );-TBool               wxTextCtrl_IsMultiLine( TSelf(wxTextCtrl) _obj );-TBool               wxTextCtrl_IsSingleLine( TSelf(wxTextCtrl) _obj );-TBool               wxTextCtrl_SetDefaultStyle( TSelf(wxTextCtrl) _obj, TClass(wxTextAttr) style);-void                wxTextCtrl_SetMaxLength( TSelf(wxTextCtrl) _obj, long len );-TBool               wxTextCtrl_SetStyle( TSelf(wxTextCtrl) _obj, long start, long end, TClass(wxTextAttr) style );--/* text attributes */-TClass(wxTextAttr)  wxTextAttr_Create(TClass(wxColour) colText, TClass(wxColour) colBack, TClass(wxFont) font);-TClass(wxTextAttr)  wxTextAttr_CreateDefault();-void      wxTextAttr_Delete( TSelf(wxTextAttr) _obj );-void      wxTextAttr_GetBackgroundColour( TSelf(wxTextAttr) _obj, TClassRef(wxColour) colour  );-void      wxTextAttr_GetFont( TSelf(wxTextAttr) _obj, TClassRef(wxFont) font );-void      wxTextAttr_GetTextColour( TSelf(wxTextAttr) _obj, TClassRef(wxColour) colour );-TBool     wxTextAttr_HasBackgroundColour( TSelf(wxTextAttr) _obj );-TBool     wxTextAttr_HasFont( TSelf(wxTextAttr) _obj );-TBool     wxTextAttr_HasTextColour( TSelf(wxTextAttr) _obj );-TBool     wxTextAttr_IsDefault( TSelf(wxTextAttr) _obj );-void      wxTextAttr_SetTextColour(TSelf(wxTextAttr) _obj, TClass(wxColour) colour );-void      wxTextAttr_SetBackgroundColour(TSelf(wxTextAttr) _obj, TClass(wxColour) colour );-void      wxTextAttr_SetFont(TSelf(wxTextAttr) _obj, TClass(wxFont) font );-
-/* ConfigBase */
-TClassDefExtend(wxFileConfig,wxConfigBase)
-
-TClass(wxConfigBase) wxConfigBase_Get();
-void                 wxConfigBase_Set( TClass(wxConfigBase) self );
-TClass(wxFileConfig) wxFileConfig_Create( TClass(wxInputStream) inp );
-
-/* Image.cpp */
-TClass(wxBitmap) wxBitmap_CreateFromImage( TClass(wxImage) image, int depth );
-TClass(wxImage) wxImage_CreateFromDataEx( TSize(width,height), void* data, TBoolInt isStaticData);
-void wxImage_Delete( TSelf(wxImage) image );
-
-/** Create from rgb int. */
-TClass(wxColour) wxColour_CreateFromInt(int rgb);
-/** Return colors as an rgb int. */
-int wxColour_GetInt( TSelf(wxColour) colour);
-/** Create from rgba unsigned int. */
-TClass(wxColour) wxColour_CreateFromUnsignedInt(TUInt rgba);
-/** Return colors as an rgba unsigned int. */
-TUInt wxColour_GetUnsignedInt( TSelf(wxColour) colour);
-
-/** Create from system colour. */
-TClass(wxColour) wxcSystemSettingsGetColour( int systemColour );
-
-
-/* basic pixel manipulation */
-void wxcSetPixelRGB( TUInt8* buffer, int width, TPoint(x,y), int rgb  );
-int  wxcGetPixelRGB( TUInt8* buffer, int width, TPoint(x,y) );
-void wxcSetPixelRowRGB( TUInt8* buffer, int width, TPoint(x,y), int rgbStart, int rgbEnd, int count );
-void wxcInitPixelsRGB( TUInt8* buffer, TSize(width,height), int rgba );
-void wxcSetPixelRGBA( TUInt8* buffer, int width, TPoint(x,y), TUInt rgba  );
-TUInt  wxcGetPixelRGBA( TUInt8* buffer, int width, TPoint(x,y) );
-void wxcSetPixelRowRGBA( TUInt8* buffer, int width, TPoint(x,y), int rgbaStart, int rgbEnd, TUInt count );
-void wxcInitPixelsRGBA( TUInt8* buffer, TSize(width,height), TUInt rgba );
-
-/* malloc/free */
-void* wxcMalloc(int size );
-void  wxcFree( void* p );
-
-/* wakeup idle */
-void wxcWakeUpIdle();
-
-/* application directory */
-/** Return the directory of the application. On unix systems (except MacOS X), it is not always possible to determine this correctly. Therefore, the APPDIR environment variable is returned first if it is defined. */
-TClass(wxString) wxGetApplicationDir();
-/** Return the full path of the application. On unix systems (except MacOS X), it is not always possible to determine this correctly. */
-TClass(wxString) wxGetApplicationPath();
-
-/* ELJApp */-void  ELJApp_InitializeC( TClass(wxClosure) closure, int _argc, TChar** _argv );
-int   ELJApp_GetIdleInterval();
-void  ELJApp_SetIdleInterval( int interval );
-
--#endif /* wxc_h */
− src/include/wxc_glue.h
@@ -1,5033 +0,0 @@-#ifndef WXC_GLUE_H
-#define WXC_GLUE_H
-
-/* $Id: wxc_glue.h,v 1.23 2005/02/25 11:14:58 dleijen Exp $ */
-
-/* Null */
-TClass(wxAcceleratorTable) Null_AcceleratorTable(  );
-TClass(wxBitmap) Null_Bitmap(  );
-TClass(wxBrush) Null_Brush(  );
-TClass(wxColour) Null_Colour(  );
-TClass(wxCursor) Null_Cursor(  );
-TClass(wxFont) Null_Font(  );
-TClass(wxIcon) Null_Icon(  );
-TClass(wxPalette) Null_Palette(  );
-TClass(wxPen) Null_Pen(  );
-
-/* Events */
-int        expEVT_ACTIVATE(  );
-int        expEVT_ACTIVATE_APP(  );
-int        expEVT_CALENDAR_DAY_CHANGED(  );
-int        expEVT_CALENDAR_DOUBLECLICKED(  );
-int        expEVT_CALENDAR_MONTH_CHANGED(  );
-int        expEVT_CALENDAR_SEL_CHANGED(  );
-int        expEVT_CALENDAR_WEEKDAY_CLICKED(  );
-int        expEVT_CALENDAR_YEAR_CHANGED(  );
-int        expEVT_CHAR(  );
-int        expEVT_CHAR_HOOK(  );
-int        expEVT_CLOSE_WINDOW(  );
-int        expEVT_COMMAND_BUTTON_CLICKED(  );
-int        expEVT_COMMAND_CHECKBOX_CLICKED(  );
-int        expEVT_COMMAND_CHECKLISTBOX_TOGGLED(  );
-int        expEVT_COMMAND_CHOICE_SELECTED(  );
-int        expEVT_COMMAND_COMBOBOX_SELECTED(  );
-int        expEVT_COMMAND_ENTER(  );
-int        expEVT_COMMAND_FIND(  );
-int        expEVT_COMMAND_FIND_CLOSE(  );
-int        expEVT_COMMAND_FIND_NEXT(  );
-int        expEVT_COMMAND_FIND_REPLACE(  );
-int        expEVT_COMMAND_FIND_REPLACE_ALL(  );
-int        expEVT_COMMAND_KILL_FOCUS(  );
-int        expEVT_COMMAND_LEFT_CLICK(  );
-int        expEVT_COMMAND_LEFT_DCLICK(  );
-int        expEVT_COMMAND_LISTBOX_DOUBLECLICKED(  );
-int        expEVT_COMMAND_LISTBOX_SELECTED(  );
-int        expEVT_COMMAND_LIST_BEGIN_DRAG(  );
-int        expEVT_COMMAND_LIST_BEGIN_LABEL_EDIT(  );
-int        expEVT_COMMAND_LIST_BEGIN_RDRAG(  );
-int        expEVT_COMMAND_LIST_COL_CLICK(  );
-int        expEVT_COMMAND_LIST_DELETE_ALL_ITEMS(  );
-int        expEVT_COMMAND_LIST_DELETE_ITEM(  );
-int        expEVT_COMMAND_LIST_END_LABEL_EDIT(  );
-int        expEVT_COMMAND_LIST_INSERT_ITEM(  );
-int        expEVT_COMMAND_LIST_ITEM_ACTIVATED(  );
-int        expEVT_COMMAND_LIST_ITEM_DESELECTED(  );
-int        expEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK(  );
-int        expEVT_COMMAND_LIST_ITEM_RIGHT_CLICK(  );
-int        expEVT_COMMAND_LIST_ITEM_SELECTED(  );
-int        expEVT_COMMAND_LIST_ITEM_FOCUSED(  );
-int        expEVT_COMMAND_LIST_KEY_DOWN(  );
-int        expEVT_COMMAND_MENU_SELECTED(  );
-int        expEVT_COMMAND_NOTEBOOK_PAGE_CHANGED(  );
-int        expEVT_COMMAND_NOTEBOOK_PAGE_CHANGING(  );
-int        expEVT_COMMAND_RADIOBOX_SELECTED(  );
-int        expEVT_COMMAND_RADIOBUTTON_SELECTED(  );
-int        expEVT_COMMAND_RIGHT_CLICK(  );
-int        expEVT_COMMAND_RIGHT_DCLICK(  );
-int        expEVT_COMMAND_SCROLLBAR_UPDATED(  );
-int        expEVT_COMMAND_SET_FOCUS(  );
-int        expEVT_COMMAND_SLIDER_UPDATED(  );
-int        expEVT_COMMAND_SPINCTRL_UPDATED(  );
-int        expEVT_COMMAND_SPLITTER_DOUBLECLICKED(  );
-int        expEVT_COMMAND_SPLITTER_SASH_POS_CHANGED(  );
-int        expEVT_COMMAND_SPLITTER_SASH_POS_CHANGING(  );
-int        expEVT_COMMAND_SPLITTER_UNSPLIT(  );
-int        expEVT_COMMAND_TAB_SEL_CHANGED(  );
-int        expEVT_COMMAND_TAB_SEL_CHANGING(  );
-int        expEVT_COMMAND_TEXT_ENTER(  );
-int        expEVT_COMMAND_TEXT_UPDATED(  );
-int        expEVT_COMMAND_TOGGLEBUTTON_CLICKED(  );
-int        expEVT_COMMAND_TOOL_CLICKED(  );
-int        expEVT_COMMAND_TOOL_ENTER(  );
-int        expEVT_COMMAND_TOOL_RCLICKED(  );
-int        expEVT_COMMAND_TREE_BEGIN_DRAG(  );
-int        expEVT_COMMAND_TREE_BEGIN_LABEL_EDIT(  );
-int        expEVT_COMMAND_TREE_BEGIN_RDRAG(  );
-int        expEVT_COMMAND_TREE_DELETE_ITEM(  );
-int        expEVT_COMMAND_TREE_END_DRAG(  );
-int        expEVT_COMMAND_TREE_END_LABEL_EDIT(  );
-int        expEVT_COMMAND_TREE_GET_INFO(  );
-int        expEVT_COMMAND_TREE_ITEM_ACTIVATED(  );
-int        expEVT_COMMAND_TREE_ITEM_COLLAPSED(  );
-int        expEVT_COMMAND_TREE_ITEM_COLLAPSING(  );
-int        expEVT_COMMAND_TREE_ITEM_EXPANDED(  );
-int        expEVT_COMMAND_TREE_ITEM_EXPANDING(  );
-int        expEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK(  );
-int        expEVT_COMMAND_TREE_ITEM_RIGHT_CLICK(  );
-int        expEVT_COMMAND_TREE_KEY_DOWN(  );
-int        expEVT_COMMAND_TREE_SEL_CHANGED(  );
-int        expEVT_COMMAND_TREE_SEL_CHANGING(  );
-int        expEVT_COMMAND_TREE_SET_INFO(  );
-int        expEVT_COMMAND_VLBOX_SELECTED(  );
-int        expEVT_COMPARE_ITEM(  );
-int        expEVT_CONTEXT_MENU(  );
-int        expEVT_CREATE(  );
-int        expEVT_DESTROY(  );
-int        expEVT_DETAILED_HELP(  );
-int        expEVT_DIALUP_CONNECTED(  );
-int        expEVT_DIALUP_DISCONNECTED(  );
-int        expEVT_DRAW_ITEM(  );
-int        expEVT_DROP_FILES(  );
-int        expEVT_DYNAMIC_SASH_SPLIT(  );
-int        expEVT_DYNAMIC_SASH_UNIFY(  );
-int        expEVT_END_PROCESS(  );
-int        expEVT_END_SESSION(  );
-int        expEVT_ENTER_WINDOW(  );
-int        expEVT_ERASE_BACKGROUND(  );
-int        expEVT_GRID_CELL_CHANGE(  );
-int        expEVT_GRID_CELL_LEFT_CLICK(  );
-int        expEVT_GRID_CELL_LEFT_DCLICK(  );
-int        expEVT_GRID_CELL_RIGHT_CLICK(  );
-int        expEVT_GRID_CELL_RIGHT_DCLICK(  );
-int        expEVT_GRID_COL_SIZE(  );
-int        expEVT_GRID_EDITOR_CREATED(  );
-int        expEVT_GRID_EDITOR_HIDDEN(  );
-int        expEVT_GRID_EDITOR_SHOWN(  );
-int        expEVT_GRID_LABEL_LEFT_CLICK(  );
-int        expEVT_GRID_LABEL_LEFT_DCLICK(  );
-int        expEVT_GRID_LABEL_RIGHT_CLICK(  );
-int        expEVT_GRID_LABEL_RIGHT_DCLICK(  );
-int        expEVT_GRID_RANGE_SELECT(  );
-int        expEVT_GRID_ROW_SIZE(  );
-int        expEVT_GRID_SELECT_CELL(  );
-int        expEVT_HELP(  );
-int        expEVT_ICONIZE(  );
-int        expEVT_IDLE(  );
-int        expEVT_INIT_DIALOG(  );
-int        expEVT_JOY_BUTTON_DOWN(  );
-int        expEVT_JOY_BUTTON_UP(  );
-int        expEVT_JOY_MOVE(  );
-int        expEVT_JOY_ZMOVE(  );
-int        expEVT_KEY_DOWN(  );
-int        expEVT_KEY_UP(  );
-int        expEVT_KILL_FOCUS(  );
-int        expEVT_LEAVE_WINDOW(  );
-int        expEVT_LEFT_DCLICK(  );
-int        expEVT_LEFT_DOWN(  );
-int        expEVT_LEFT_UP(  );
-int        expEVT_MAXIMIZE(  );
-int        expEVT_MEASURE_ITEM(  );
-int        expEVT_MENU_CHAR(  );
-int        expEVT_MENU_HIGHLIGHT(  );
-int        expEVT_MENU_INIT(  );
-int        expEVT_MIDDLE_DCLICK(  );
-int        expEVT_MIDDLE_DOWN(  );
-int        expEVT_MIDDLE_UP(  );
-int        expEVT_MOTION(  );
-int        expEVT_MOUSE_CAPTURE_CHANGED(  );
-int        expEVT_MOVE(  );
-int        expEVT_NAVIGATION_KEY(  );
-int        expEVT_NC_ENTER_WINDOW(  );
-int        expEVT_NC_LEAVE_WINDOW(  );
-int        expEVT_NC_LEFT_DCLICK(  );
-int        expEVT_NC_LEFT_DOWN(  );
-int        expEVT_NC_LEFT_UP(  );
-int        expEVT_NC_MIDDLE_DCLICK(  );
-int        expEVT_NC_MIDDLE_DOWN(  );
-int        expEVT_NC_MIDDLE_UP(  );
-int        expEVT_NC_MOTION(  );
-int        expEVT_NC_PAINT(  );
-int        expEVT_NC_RIGHT_DCLICK(  );
-int        expEVT_NC_RIGHT_DOWN(  );
-int        expEVT_NC_RIGHT_UP(  );
-int        expEVT_PAINT(  );
-int        expEVT_PAINT_ICON(  );
-int        expEVT_PALETTE_CHANGED(  );
-int        expEVT_PLOT_AREA_CREATE(  );
-int        expEVT_PLOT_AREA_SEL_CHANGED(  );
-int        expEVT_PLOT_AREA_SEL_CHANGING(  );
-int        expEVT_PLOT_AREA_SEL_CREATED(  );
-int        expEVT_PLOT_AREA_SEL_CREATING(  );
-int        expEVT_PLOT_BEGIN_TITLE_EDIT(  );
-int        expEVT_PLOT_BEGIN_X_LABEL_EDIT(  );
-int        expEVT_PLOT_BEGIN_Y_LABEL_EDIT(  );
-int        expEVT_PLOT_CLICKED(  );
-int        expEVT_PLOT_DOUBLECLICKED(  );
-int        expEVT_PLOT_END_TITLE_EDIT(  );
-int        expEVT_PLOT_END_X_LABEL_EDIT(  );
-int        expEVT_PLOT_END_Y_LABEL_EDIT(  );
-int        expEVT_PLOT_SEL_CHANGED(  );
-int        expEVT_PLOT_SEL_CHANGING(  );
-int        expEVT_PLOT_VALUE_SEL_CHANGED(  );
-int        expEVT_PLOT_VALUE_SEL_CHANGING(  );
-int        expEVT_PLOT_VALUE_SEL_CREATED(  );
-int        expEVT_PLOT_VALUE_SEL_CREATING(  );
-int        expEVT_PLOT_ZOOM_IN(  );
-int        expEVT_PLOT_ZOOM_OUT(  );
-int        expEVT_POPUP_MENU_INIT(  );
-int        expEVT_POWER(  );
-int        expEVT_POWER_SUSPENDING(  );
-int        expEVT_POWER_SUSPENDED(  );
-int        expEVT_POWER_SUSPEND_CANCEL(  );
-int        expEVT_POWER_RESUME(  );
-int        expEVT_QUERY_END_SESSION(  );
-int        expEVT_QUERY_NEW_PALETTE(  );
-int        expEVT_RIGHT_DCLICK(  );
-int        expEVT_RIGHT_DOWN(  );
-int        expEVT_RIGHT_UP(  );
-int        expEVT_SCROLLWIN_BOTTOM(  );
-int        expEVT_SCROLLWIN_LINEDOWN(  );
-int        expEVT_SCROLLWIN_LINEUP(  );
-int        expEVT_SCROLLWIN_PAGEDOWN(  );
-int        expEVT_SCROLLWIN_PAGEUP(  );
-int        expEVT_SCROLLWIN_THUMBRELEASE(  );
-int        expEVT_SCROLLWIN_THUMBTRACK(  );
-int        expEVT_SCROLLWIN_TOP(  );
-int        expEVT_SCROLL_BOTTOM(  );
-int        expEVT_SCROLL_LINEDOWN(  );
-int        expEVT_SCROLL_LINEUP(  );
-int        expEVT_SCROLL_PAGEDOWN(  );
-int        expEVT_SCROLL_PAGEUP(  );
-int        expEVT_SCROLL_THUMBRELEASE(  );
-int        expEVT_SCROLL_THUMBTRACK(  );
-int        expEVT_SCROLL_TOP(  );
-int        expEVT_SETTING_CHANGED(  );
-int        expEVT_SET_CURSOR(  );
-int        expEVT_SET_FOCUS(  );
-int        expEVT_SHOW(  );
-int        expEVT_SIZE(  );
-int        expEVT_SOCKET(  );
-int        expEVT_SYS_COLOUR_CHANGED(  );
-int        expEVT_TASKBAR_MOVE(  );
-int        expEVT_TASKBAR_LEFT_DOWN(  );
-int        expEVT_TASKBAR_LEFT_UP(  );
-int        expEVT_TASKBAR_RIGHT_DOWN(  );
-int        expEVT_TASKBAR_RIGHT_UP(  );
-int        expEVT_TASKBAR_LEFT_DCLICK(  );
-int        expEVT_TASKBAR_RIGHT_DCLICK(  );
-int        expEVT_TIMER(  );
-int        expEVT_UPDATE_UI(  );
-int        expEVT_USER_FIRST(  );
-int        expEVT_WIZARD_CANCEL(  );
-int        expEVT_WIZARD_PAGE_CHANGED(  );
-int        expEVT_WIZARD_PAGE_CHANGING(  );
-
-/* Keys */
-int        expK_BACK(  );
-int        expK_TAB(  );
-int        expK_RETURN(  );
-int        expK_ESCAPE(  );
-int        expK_SPACE(  );
-int        expK_DELETE(  );
-int        expK_START(  );
-int        expK_LBUTTON(  );
-int        expK_RBUTTON(  );
-int        expK_CANCEL(  );
-int        expK_MBUTTON(  );
-int        expK_CLEAR(  );
-int        expK_SHIFT(  );
-int        expK_ALT(  );
-int        expK_CONTROL(  );
-int        expK_MENU(  );
-int        expK_PAUSE(  );
-int        expK_CAPITAL(  );
-int        expK_END(  );
-int        expK_HOME(  );
-int        expK_LEFT(  );
-int        expK_UP(  );
-int        expK_RIGHT(  );
-int        expK_DOWN(  );
-int        expK_SELECT(  );
-int        expK_PRINT(  );
-int        expK_EXECUTE(  );
-int        expK_SNAPSHOT(  );
-int        expK_INSERT(  );
-int        expK_HELP(  );
-int        expK_NUMPAD0(  );
-int        expK_NUMPAD1(  );
-int        expK_NUMPAD2(  );
-int        expK_NUMPAD3(  );
-int        expK_NUMPAD4(  );
-int        expK_NUMPAD5(  );
-int        expK_NUMPAD6(  );
-int        expK_NUMPAD7(  );
-int        expK_NUMPAD8(  );
-int        expK_NUMPAD9(  );
-int        expK_MULTIPLY(  );
-int        expK_ADD(  );
-int        expK_SEPARATOR(  );
-int        expK_SUBTRACT(  );
-int        expK_DECIMAL(  );
-int        expK_DIVIDE(  );
-int        expK_F1(  );
-int        expK_F2(  );
-int        expK_F3(  );
-int        expK_F4(  );
-int        expK_F5(  );
-int        expK_F6(  );
-int        expK_F7(  );
-int        expK_F8(  );
-int        expK_F9(  );
-int        expK_F10(  );
-int        expK_F11(  );
-int        expK_F12(  );
-int        expK_F13(  );
-int        expK_F14(  );
-int        expK_F15(  );
-int        expK_F16(  );
-int        expK_F17(  );
-int        expK_F18(  );
-int        expK_F19(  );
-int        expK_F20(  );
-int        expK_F21(  );
-int        expK_F22(  );
-int        expK_F23(  );
-int        expK_F24(  );
-int        expK_NUMLOCK(  );
-int        expK_SCROLL(  );
-int        expK_PAGEUP(  );
-int        expK_PAGEDOWN(  );
-int        expK_NUMPAD_SPACE(  );
-int        expK_NUMPAD_TAB(  );
-int        expK_NUMPAD_ENTER(  );
-int        expK_NUMPAD_F1(  );
-int        expK_NUMPAD_F2(  );
-int        expK_NUMPAD_F3(  );
-int        expK_NUMPAD_F4(  );
-int        expK_NUMPAD_HOME(  );
-int        expK_NUMPAD_LEFT(  );
-int        expK_NUMPAD_UP(  );
-int        expK_NUMPAD_RIGHT(  );
-int        expK_NUMPAD_DOWN(  );
-int        expK_NUMPAD_PAGEUP(  );
-int        expK_NUMPAD_PAGEDOWN(  );
-int        expK_NUMPAD_END(  );
-int        expK_NUMPAD_BEGIN(  );
-int        expK_NUMPAD_INSERT(  );
-int        expK_NUMPAD_DELETE(  );
-int        expK_NUMPAD_EQUAL(  );
-int        expK_NUMPAD_MULTIPLY(  );
-int        expK_NUMPAD_ADD(  );
-int        expK_NUMPAD_SEPARATOR(  );
-int        expK_NUMPAD_SUBTRACT(  );
-int        expK_NUMPAD_DECIMAL(  );
-int        expK_NUMPAD_DIVIDE(  );
-
-
-/* Misc. */
-int        ELJSysErrorCode(  );
-void*      ELJSysErrorMsg( int nErrCode );
-void       LogErrorMsg( TClass(wxString) _msg );
-void       LogFatalErrorMsg( TClass(wxString) _msg );
-void       LogMessageMsg( TClass(wxString) _msg );
-void       LogWarningMsg( TClass(wxString) _msg );
-TBool      Quantize( TClass(wxImage) src, TClass(wxImage) dest, int desiredNoColours, void* eightBitData, int flags );
-TBool      QuantizePalette( TClass(wxImage) src, TClass(wxImage) dest, void* pPalette, int desiredNoColours, void* eightBitData, int flags );
-void       wxCFree( void* _ptr );
-TClass(ELJLocale) wxGetELJLocale(  );
-void*      wxGetELJTranslation( TStringVoid sz );
-void       wxMutexGui_Enter(  );
-void       wxMutexGui_Leave(  );
-
-/* ELJApp */
-TClassDefExtend(ELJApp,wxApp)
-void       ELJApp_Bell(  );
-TClass(ELJLog) ELJApp_CreateLogTarget(  );
-void       ELJApp_Dispatch(  );
-TClass(wxSize) ELJApp_DisplaySize(  );
-void       ELJApp_EnableTooltips( TBool _enable );
-void       ELJApp_EnableTopLevelWindows( int _enb );
-int        ELJApp_ExecuteProcess( TClass(wxString) _cmd, int _snc, TClass(wxProcess) _prc );
-void       ELJApp_Exit(  );
-void       ELJApp_ExitMainLoop(  );
-void*      ELJApp_FindWindowById( int _id, TClass(wxWindow) _prt );
-TClass(wxWindow) ELJApp_FindWindowByLabel( TClass(wxString) _lbl, TClass(wxWindow) _prt );
-TClass(wxWindow) ELJApp_FindWindowByName( TClass(wxString) _lbl, TClass(wxWindow) _prt );
-TClass(wxApp) ELJApp_GetApp(  );
-TClass(wxString) ELJApp_GetAppName( );
-TClass(wxString) ELJApp_GetClassName( );
-int        ELJApp_GetExitOnFrameDelete( );
-TClass(wxString) ELJApp_GetOsDescription( );
-int        ELJApp_GetOsVersion( void* _maj, void* _min );
-TClass(wxWindow) ELJApp_GetTopWindow(  );
-int        ELJApp_GetUseBestVisual(  );
-TClass(wxString) ELJApp_GetUserHome( void* _usr );
-TClass(wxString) ELJApp_GetUserId( );
-TClass(wxString) ELJApp_GetUserName( );
-TClass(wxString) ELJApp_GetVendorName( );
-/* int        ELJApp_GetWantDebugOutput(  ); */
-void       ELJApp_InitAllImageHandlers(  );
-TBool      ELJApp_Initialized(  );
-int        ELJApp_MainLoop(  );
-TClass(wxPoint) ELJApp_MousePosition( );
-int        ELJApp_Pending(  );
-int        ELJApp_SafeYield( TClass(wxWindow) _win );
-/* int        ELJApp_SendIdleEvents(  ); */
-/* int        ELJApp_SendIdleEventsToWindow( TClass(wxWindow) win ); */
-void       ELJApp_SetAppName( TClass(wxString) name );
-void       ELJApp_SetClassName( TClass(wxString) name );
-void       ELJApp_SetExitOnFrameDelete( int flag );
-void       ELJApp_SetPrintMode( int mode );
-void       ELJApp_SetTooltipDelay( int _ms );
-void       ELJApp_SetTopWindow( TClass(wxWindow) _wnd );
-void       ELJApp_SetUseBestVisual( int flag );
-void       ELJApp_SetVendorName( TClass(wxString) name );
-void       ELJApp_Sleep( int _scs );
-void       ELJApp_MilliSleep( int _mscs );
-int        ELJApp_Yield(  );
-TBoolInt   ELJApp_IsTerminating(  );
-
-
-/* ELJArtProv */
-TClassDefExtend(ELJArtProv,wxArtProvider)
-TClass(ELJArtProv) ELJArtProv_Create( void* _obj, void* _clb );
-void       ELJArtProv_Release( TSelf(ELJArtProv) _obj );
-
-/* ELJClient */
-TClassDefExtend(ELJClient,wxClient)
-TClass(ELJClient) ELJClient_Create( void* _eobj, void* _cnct );
-void       ELJClient_Delete( TSelf(ELJClient) _obj );
-void       ELJClient_MakeConnection( TSelf(ELJClient) _obj, TClass(wxString) host, TClass(wxServer) server, TClass(wxString) topic );
-
-/* ELJCommand */
-TClassDefExtend(ELJCommand,wxCommand)
-TBool      ELJCommand_CanUndo( TSelf(ELJCommand) _obj );
-TClass(ELJCommand) ELJCommand_Create( int _und, TClass(wxString) _nme, void* _obj, void* _clb );
-void       ELJCommand_Delete( TSelf(ELJCommand) _obj );
-TClass(wxString) ELJCommand_GetName( TSelf(ELJCommand) _obj );
-
-/* ELJConnection */
-TClassDefExtend(ELJConnection,wxConnection)
-int        ELJConnection_Advise( TSelf(ELJConnection) _obj, TClass(wxString) item, void* data, int size, int format );
-void       ELJConnection_Compress( TSelf(ELJConnection) _obj, int on );
-TClass(ELJConnection) ELJConnection_Create( void* _obj, void* buffer, int size );
-TClass(ELJConnection) ELJConnection_CreateDefault( TSelf(ELJConnection) _obj );
-void       ELJConnection_Delete( TSelf(ELJConnection) _obj );
-TBool      ELJConnection_Disconnect( TSelf(ELJConnection) _obj );
-TBool      ELJConnection_Execute( TSelf(ELJConnection) _obj, TClass(wxString) data, int size, int format );
-TBool      ELJConnection_Poke( TSelf(ELJConnection) _obj, TClass(wxString) item, void* data, int size, int format );
-void*      ELJConnection_Request( TSelf(ELJConnection) _obj, TClass(wxString) item, TClass(wxSize) size, int format );
-void       ELJConnection_SetOnAdvise( TSelf(ELJConnection) _obj, void* _fnc );
-void       ELJConnection_SetOnDisconnect( TSelf(ELJConnection) _obj, void* _fnc );
-void       ELJConnection_SetOnExecute( TSelf(ELJConnection) _obj, void* _fnc );
-void       ELJConnection_SetOnPoke( TSelf(ELJConnection) _obj, void* _fnc );
-void       ELJConnection_SetOnRequest( TSelf(ELJConnection) _obj, void* _fnc );
-void       ELJConnection_SetOnStartAdvise( TSelf(ELJConnection) _obj, void* _fnc );
-void       ELJConnection_SetOnStopAdvise( TSelf(ELJConnection) _obj, void* _fnc );
-TBool      ELJConnection_StartAdvise( TSelf(ELJConnection) _obj, TClass(wxString) item );
-TBool      ELJConnection_StopAdvise( TSelf(ELJConnection) _obj, TClass(wxString) item );
-
-/* ELJDragDataObject */
-TClassDef(ELJDragDataObject)
-TClass(ELJDragDataObject) ELJDragDataObject_Create( void* _obj, TClass(wxString) _fmt, void* _func1, void* _func2, void* _func3 );
-void       ELJDragDataObject_Delete( TSelf(ELJDragDataObject) _obj );
-
-/* ELJDropTarget */
-TClassDefExtend(ELJDropTarget,wxDropTarget)
-TClass(ELJDropTarget) ELJDropTarget_Create( void* _obj );
-void       ELJDropTarget_Delete( TSelf(ELJDropTarget) _obj );
-void       ELJDropTarget_SetOnData( TSelf(ELJDropTarget) _obj, void* _func );
-void       ELJDropTarget_SetOnDragOver( TSelf(ELJDropTarget) _obj, void* _func );
-void       ELJDropTarget_SetOnDrop( TSelf(ELJDropTarget) _obj, void* _func );
-void       ELJDropTarget_SetOnEnter( TSelf(ELJDropTarget) _obj, void* _func );
-void       ELJDropTarget_SetOnLeave( TSelf(ELJDropTarget) _obj, void* _func );
-
-/* ELJFileDropTarget */
-TClassDefExtend(ELJFileDropTarget,wxFileDropTarget)
-TClass(ELJFileDropTarget) ELJFileDropTarget_Create( void* _obj, void* _func );
-void       ELJFileDropTarget_Delete( TSelf(ELJFileDropTarget) _obj );
-void       ELJFileDropTarget_SetOnData( TSelf(ELJFileDropTarget) _obj, void* _func );
-void       ELJFileDropTarget_SetOnDragOver( TSelf(ELJFileDropTarget) _obj, void* _func );
-void       ELJFileDropTarget_SetOnDrop( TSelf(ELJFileDropTarget) _obj, void* _func );
-void       ELJFileDropTarget_SetOnEnter( TSelf(ELJFileDropTarget) _obj, void* _func );
-void       ELJFileDropTarget_SetOnLeave( TSelf(ELJFileDropTarget) _obj, void* _func );
-
-/* ELJGridTable */
-TClassDefExtend(ELJGridTable,wxGridTableBase)
-TClass(ELJGridTable) ELJGridTable_Create( void* _obj, void* _EifGetNumberRows, void* _EifGetNumberCols, void* _EifGetValue, void* _EifSetValue, void* _EifIsEmptyCell, void* _EifClear, void* _EifInsertRows, void* _EifAppendRows, void* _EifDeleteRows, void* _EifInsertCols, void* _EifAppendCols, void* _EifDeleteCols, void* _EifSetRowLabelValue, void* _EifSetColLabelValue, void* _EifGetRowLabelValue, void* _EifGetColLabelValue );
-void       ELJGridTable_Delete( TSelf(ELJGridTable) _obj );
-TClass(wxView) ELJGridTable_GetView( TSelf(ELJGridTable) _obj );
-void*      ELJGridTable_SendTableMessage( TSelf(ELJGridTable) _obj, int id, int val1, int val2 );
-
-/* ELJLocale */
-TClassDefExtend(ELJLocale,wxLocale)
-
-/* ELJLog */
-TClassDefExtend(ELJLog,wxLog)
-void       ELJLog_AddTraceMask( TSelf(ELJLog) _obj, TStringVoid str );
-TClass(ELJLog) ELJLog_Create( void* _obj, void* _fnc );
-void       ELJLog_Delete( TSelf(ELJLog) _obj );
-void       ELJLog_DontCreateOnDemand( TSelf(ELJLog) _obj );
-int        ELJLog_EnableLogging( TSelf(ELJLog) _obj, TBool doIt );
-void       ELJLog_Flush( TSelf(ELJLog) _obj );
-void       ELJLog_FlushActive( TSelf(ELJLog) _obj );
-void*      ELJLog_GetActiveTarget(  );
-void*      ELJLog_GetTimestamp( TSelf(ELJLog) _obj );
-int        ELJLog_GetTraceMask( TSelf(ELJLog) _obj );
-int        ELJLog_GetVerbose( TSelf(ELJLog) _obj );
-TBool      ELJLog_HasPendingMessages( TSelf(ELJLog) _obj );
-TBool      ELJLog_IsAllowedTraceMask( TSelf(ELJLog) _obj, TClass(wxMask) mask );
-TBool      ELJLog_IsEnabled( TSelf(ELJLog) _obj );
-void       ELJLog_OnLog( TSelf(ELJLog) _obj, int level, void* szString, int t );
-void       ELJLog_RemoveTraceMask( TSelf(ELJLog) _obj, TStringVoid str );
-void       ELJLog_Resume( TSelf(ELJLog) _obj );
-void*      ELJLog_SetActiveTarget( TSelf(ELJLog) pLogger );
-void       ELJLog_SetTimestamp( TSelf(ELJLog) _obj, void* ts );
-void       ELJLog_SetTraceMask( TSelf(ELJLog) _obj, int ulMask );
-void       ELJLog_SetVerbose( TSelf(ELJLog) _obj, int bVerbose );
-void       ELJLog_Suspend( TSelf(ELJLog) _obj );
-
-/* ELJMessageParameters */
-TClassDef(ELJMessageParameters)
-TClass(ELJMessageParameters) wxMessageParameters_Create( TStringVoid _file, TStringVoid _type, void* _object, void* _func );
-void       wxMessageParameters_Delete( TSelf(ELJMessageParameters) _obj );
-
-/* ELJPlotCurve */
-TClassDefExtend(ELJPlotCurve,wxPlotCurve)
-TClass(ELJPlotCurve) ELJPlotCurve_Create( void* _obj, void* _str, void* _end, void* _y, int offsetY, double startY, double endY );
-void       ELJPlotCurve_Delete( TSelf(ELJPlotCurve) _obj );
-double     ELJPlotCurve_GetEndY( TSelf(ELJPlotCurve) _obj );
-int        ELJPlotCurve_GetOffsetY( TSelf(ELJPlotCurve) _obj );
-double     ELJPlotCurve_GetStartY( TSelf(ELJPlotCurve) _obj );
-void       ELJPlotCurve_SetEndY( TSelf(ELJPlotCurve) _obj, double endY );
-void       ELJPlotCurve_SetOffsetY( TSelf(ELJPlotCurve) _obj, int offsetY );
-void       ELJPlotCurve_SetPenNormal( TSelf(ELJPlotCurve) _obj, TClass(wxPen) pen );
-void       ELJPlotCurve_SetPenSelected( TSelf(ELJPlotCurve) _obj, TClass(wxPen) pen );
-void       ELJPlotCurve_SetStartY( TSelf(ELJPlotCurve) _obj, double startY );
-
-/* ELJPreviewControlBar */
-TClassDefExtend(ELJPreviewControlBar,wxPreviewControlBar)
-TClass(ELJPreviewControlBar) ELJPreviewControlBar_Create( void* preview, int buttons, TClass(wxWindow) parent, void* title, TRect(x,y,w,h), int style );
-
-/* ELJPreviewFrame */
-TClassDefExtend(ELJPreviewFrame,wxPreviewFrame)
-TClass(ELJPreviewFrame) ELJPreviewFrame_Create( void* _obj, void* _init, void* _create_canvas, void* _create_toolbar, void* preview, TClass(wxWindow) parent, void* title, TRect(x,y,w,h), int style );
-void*      ELJPreviewFrame_GetControlBar( TSelf(ELJPreviewFrame) _obj );
-TClass(wxPreviewCanvas) ELJPreviewFrame_GetPreviewCanvas( TSelf(ELJPreviewFrame) _obj );
-TClass(wxPrintPreview) ELJPreviewFrame_GetPrintPreview( TSelf(ELJPreviewFrame) _obj );
-void       ELJPreviewFrame_Initialize( TSelf(ELJPreviewFrame) _obj );
-void       ELJPreviewFrame_SetControlBar( TSelf(ELJPreviewFrame) _obj, void* obj );
-void       ELJPreviewFrame_SetPreviewCanvas( TSelf(ELJPreviewFrame) _obj, TClass(wxPreviewCanvas) obj );
-void       ELJPreviewFrame_SetPrintPreview( TSelf(ELJPreviewFrame) _obj, TClass(wxPrintPreview) obj );
-
-/* ELJPrintout */
-/*
-TClassDefExtend(ELJPrintout,wxPrintout)
-TClass(ELJPrintout) ELJPrintout_Create( void* title, void* _obj, void* _DoOnBeginDocument, void* _DoOnEndDocument, void* _DoOnBeginPrinting, void* _DoOnEndPrinting, void* _DoOnPreparePrinting, void* _DoOnPrintPage, void* _DoOnHasPage, void* _DoOnPageInfo );
-void       ELJPrintout_Delete( TSelf(ELJPrintout) _obj );
-TClass(wxDC) ELJPrintout_GetDC( TSelf(ELJPrintout) _obj );
-void       ELJPrintout_GetPPIPrinter( TSelf(ELJPrintout) _obj, TPointOutVoid(_x,_y) );
-void       ELJPrintout_GetPPIScreen( TSelf(ELJPrintout) _obj, TPointOutVoid(_x,_y) );
-void       ELJPrintout_GetPageSizeMM( TSelf(ELJPrintout) _obj, TSizeOutVoid(_w,_h) );
-void       ELJPrintout_GetPageSizePixels( TSelf(ELJPrintout) _obj, TSizeOutVoid(_w,_h) );
-TClass(wxString) ELJPrintout_GetTitle( TSelf(ELJPrintout) _obj );
-TBool      ELJPrintout_IsPreview( TSelf(ELJPrintout) _obj );
-void       ELJPrintout_SetDC( TSelf(ELJPrintout) _obj, TClass(wxDC) dc );
-void       ELJPrintout_SetIsPreview( TSelf(ELJPrintout) _obj, int p );
-void       ELJPrintout_SetPPIPrinter( TSelf(ELJPrintout) _obj, TPoint(x,y) );
-void       ELJPrintout_SetPPIScreen( TSelf(ELJPrintout) _obj, TPoint(x,y) );
-void       ELJPrintout_SetPageSizeMM( TSelf(ELJPrintout) _obj, TSize(w,h) );
-void       ELJPrintout_SetPageSizePixels( TSelf(ELJPrintout) _obj, TSize(w,h) );
-*/
-
-/* ELJServer */
-TClassDefExtend(ELJServer,wxServer)
-TClass(ELJServer) ELJServer_Create( void* _eobj, void* _cnct );
-void       ELJServer_Delete( TSelf(ELJServer) _obj );
-int        ELJServer_Initialize( TSelf(ELJServer) _obj, TClass(wxString) name );
-
-/* ELJTextDropTarget */
-TClassDefExtend(ELJTextDropTarget,wxTextDropTarget)
-TClass(ELJTextDropTarget) ELJTextDropTarget_Create( void* _obj, void* _func );
-void       ELJTextDropTarget_Delete( TSelf(ELJTextDropTarget) _obj );
-void       ELJTextDropTarget_SetOnData( TSelf(ELJTextDropTarget) _obj, void* _func );
-void       ELJTextDropTarget_SetOnDragOver( TSelf(ELJTextDropTarget) _obj, void* _func );
-void       ELJTextDropTarget_SetOnDrop( TSelf(ELJTextDropTarget) _obj, void* _func );
-void       ELJTextDropTarget_SetOnEnter( TSelf(ELJTextDropTarget) _obj, void* _func );
-void       ELJTextDropTarget_SetOnLeave( TSelf(ELJTextDropTarget) _obj, void* _func );
-
-/* ELJTextValidator */
-TClassDefExtend(ELJTextValidator,wxTextValidator)
-TClass(ELJTextValidator) ELJTextValidator_Create( void* _obj, void* _fnc, TStringVoid _txt, int _stl );
-
-/* cbAntiflickerPlugin */
-TClassDefExtend(cbAntiflickerPlugin,cbPluginBase)
-TClass(cbAntiflickerPlugin) cbAntiflickerPlugin_Create( void* pPanel, int paneMask );
-TClass(cbAntiflickerPlugin) cbAntiflickerPlugin_CreateDefault(  );
-void       cbAntiflickerPlugin_Delete( TSelf(cbAntiflickerPlugin) _obj );
-
-/* cbBarDragPlugin */
-TClassDefExtend(cbBarDragPlugin,cbPluginBase)
-TClass(cbBarDragPlugin) cbBarDragPlugin_Create( void* pPanel, int paneMask );
-TClass(cbBarDragPlugin) cbBarDragPlugin_CreateDefault(  );
-void       cbBarDragPlugin_Delete( TSelf(cbBarDragPlugin) _obj );
-
-/* cbBarHintsPlugin */
-TClassDefExtend(cbBarHintsPlugin,cbPluginBase)
-TClass(cbBarHintsPlugin) cbBarHintsPlugin_Create( void* pPanel, int paneMask );
-TClass(cbBarHintsPlugin) cbBarHintsPlugin_CreateDefault(  );
-void       cbBarHintsPlugin_Delete( TSelf(cbBarHintsPlugin) _obj );
-void       cbBarHintsPlugin_SetGrooveCount( TSelf(cbBarHintsPlugin) _obj, int nGrooves );
-
-/* cbBarInfo */
-TClassDefExtend(cbBarInfo,wxObject)
-TClass(cbBarInfo) cbBarInfo_Create(  );
-void       cbBarInfo_Delete( TSelf(cbBarInfo) _obj );
-TBool      cbBarInfo_IsExpanded( TSelf(cbBarInfo) _obj );
-TBool      cbBarInfo_IsFixed( TSelf(cbBarInfo) _obj );
-
-/* cbBarSpy */
-TClassDefExtend(cbBarSpy,wxEvtHandler)
-TClass(cbBarSpy) cbBarSpy_Create( void* pPanel );
-TClass(cbBarSpy) cbBarSpy_CreateDefault(  );
-void       cbBarSpy_Delete( TSelf(cbBarSpy) _obj );
-int        cbBarSpy_ProcessEvent( TSelf(cbBarSpy) _obj, TClass(wxEvent) event );
-void       cbBarSpy_SetBarWindow( TSelf(cbBarSpy) _obj, void* pWnd );
-
-/* cbCloseBox */
-TClassDefExtend(cbCloseBox,cbMiniButton)
-TClass(cbCloseBox) cbCloseBox_Create(  );
-
-/* cbCollapseBox */
-TClassDefExtend(cbCollapseBox,cbMiniButton)
-TClass(cbCollapseBox) cbCollapseBox_Create(  );
-
-/* cbCommonPaneProperties */
-TClassDefExtend(cbCommonPaneProperties,wxObject)
-void       cbCommonPaneProperties_Assign( TSelf(cbCommonPaneProperties) _obj, void* _other );
-int        cbCommonPaneProperties_BarCollapseIconsOn( TSelf(cbCommonPaneProperties) _obj );
-int        cbCommonPaneProperties_BarDragHintsOn( TSelf(cbCommonPaneProperties) _obj );
-int        cbCommonPaneProperties_BarFloatingOn( TSelf(cbCommonPaneProperties) _obj );
-int        cbCommonPaneProperties_ColProportionsOn( TSelf(cbCommonPaneProperties) _obj );
-TClass(cbCommonPaneProperties) cbCommonPaneProperties_CreateDefault(  );
-void       cbCommonPaneProperties_Delete( TSelf(cbCommonPaneProperties) _obj );
-int        cbCommonPaneProperties_ExactDockPredictionOn( TSelf(cbCommonPaneProperties) _obj );
-void       cbCommonPaneProperties_MinCBarDim( TSelf(cbCommonPaneProperties) _obj, TSizeOutVoid(_w,_h) );
-int        cbCommonPaneProperties_NonDestructFrictionOn( TSelf(cbCommonPaneProperties) _obj );
-int        cbCommonPaneProperties_OutOfPaneDragOn( TSelf(cbCommonPaneProperties) _obj );
-int        cbCommonPaneProperties_RealTimeUpdatesOn( TSelf(cbCommonPaneProperties) _obj );
-int        cbCommonPaneProperties_ResizeHandleSize( TSelf(cbCommonPaneProperties) _obj );
-int        cbCommonPaneProperties_RowProportionsOn( TSelf(cbCommonPaneProperties) _obj );
-void       cbCommonPaneProperties_SetBarCollapseIconsOn( TSelf(cbCommonPaneProperties) _obj, int _val );
-void       cbCommonPaneProperties_SetBarDragHintsOn( TSelf(cbCommonPaneProperties) _obj, int _val );
-void       cbCommonPaneProperties_SetBarFloatingOn( TSelf(cbCommonPaneProperties) _obj, int _val );
-void       cbCommonPaneProperties_SetColProportionsOn( TSelf(cbCommonPaneProperties) _obj, int _val );
-void       cbCommonPaneProperties_SetExactDockPredictionOn( TSelf(cbCommonPaneProperties) _obj, int _val );
-void       cbCommonPaneProperties_SetMinCBarDim( TSelf(cbCommonPaneProperties) _obj, TSize(_w,_h) );
-void       cbCommonPaneProperties_SetNonDestructFrictionOn( TSelf(cbCommonPaneProperties) _obj, int _val );
-void       cbCommonPaneProperties_SetOutOfPaneDragOn( TSelf(cbCommonPaneProperties) _obj, int _val );
-void       cbCommonPaneProperties_SetRealTimeUpdatesOn( TSelf(cbCommonPaneProperties) _obj, int _val );
-void       cbCommonPaneProperties_SetResizeHandleSize( TSelf(cbCommonPaneProperties) _obj, int _val );
-void       cbCommonPaneProperties_SetRowProportionsOn( TSelf(cbCommonPaneProperties) _obj, int _val );
-void       cbCommonPaneProperties_SetShow3DPaneBorderOn( TSelf(cbCommonPaneProperties) _obj, int _val );
-int        cbCommonPaneProperties_Show3DPaneBorderOn( TSelf(cbCommonPaneProperties) _obj );
-
-/* cbCustomizeBarEvent */
-TClassDefExtend(cbCustomizeBarEvent,cbPluginEvent)
-void*      cbCustomizeBarEvent_Bar( TSelf(cbCustomizeBarEvent) _obj );
-void       cbCustomizeBarEvent_ClickPos( TSelf(cbCustomizeBarEvent) _obj, TPointOutVoid(_x,_y) );
-
-/* cbCustomizeLayoutEvent */
-TClassDefExtend(cbCustomizeLayoutEvent,cbPluginEvent)
-void       cbCustomizeLayoutEvent_ClickPos( TSelf(cbCustomizeLayoutEvent) _obj, TPointOutVoid(_x,_y) );
-
-/* cbDimHandlerBase */
-TClassDefExtend(cbDimHandlerBase,wxObject)
-
-/* cbDimInfo */
-TClassDefExtend(cbDimInfo,wxObject)
-void       cbDimInfo_Assign( TSelf(cbDimInfo) _obj, void* other );
-TClass(cbDimInfo) cbDimInfo_Create( TPoint(x,y), TBool isFixed, int gap, void* pDimHandler );
-TClass(cbDimInfo) cbDimInfo_CreateDefault(  );
-void*      cbDimInfo_CreateWithHandler( TSelf(cbDimInfo) pDimHandler, TBool isFixed );
-void*      cbDimInfo_CreateWithInfo( int dh_x, int dh_y, int dv_x, int dv_y, int f_x, int f_y, TBool isFixed, int horizGap, int vertGap, void* pDimHandler );
-void       cbDimInfo_Delete( TSelf(cbDimInfo) _obj );
-void*      cbDimInfo_GetDimHandler( TSelf(cbDimInfo) _obj );
-
-/* cbDockBox */
-TClassDefExtend(cbDockBox,cbMiniButton)
-TClass(cbDockBox) cbDockBox_Create(  );
-
-/* cbDockPane */
-TClassDefExtend(cbDockPane,wxObject)
-int        cbDockPane_BarPresent( TSelf(cbDockPane) _obj, void* pBar );
-TClass(cbDockPane) cbDockPane_Create( int alignment, void* pPanel );
-TClass(cbDockPane) cbDockPane_CreateDefault(  );
-void       cbDockPane_Delete( TSelf(cbDockPane) _obj );
-int        cbDockPane_GetAlignment( TSelf(cbDockPane) _obj );
-void*      cbDockPane_GetBarInfoByWindow( TSelf(cbDockPane) _obj, void* pBarWnd );
-void       cbDockPane_GetBarResizeRange( TSelf(cbDockPane) _obj, void* pBar, void* from, void* till, int forLeftHandle );
-int        cbDockPane_GetDockingState( TSelf(cbDockPane) _obj );
-void*      cbDockPane_GetFirstRow( TSelf(cbDockPane) _obj );
-int        cbDockPane_GetPaneHeight( TSelf(cbDockPane) _obj );
-void       cbDockPane_GetRealRect( TSelf(cbDockPane) _obj, TRectOutVoid(_x,_y,_w,_h) );
-int        cbDockPane_GetRowList( TSelf(cbDockPane) _obj, void* _ref );
-void       cbDockPane_GetRowResizeRange( TSelf(cbDockPane) _obj, void* pRow, void* from, void* till, int forUpperHandle );
-int        cbDockPane_HitTestPaneItems( TSelf(cbDockPane) _obj, TPoint(x,y), void* ppRow, void* ppBar );
-void       cbDockPane_InsertBarByCoord( TSelf(cbDockPane) _obj, void* pBar, TRect(x,y,w,h) );
-void       cbDockPane_InsertBarByInfo( TSelf(cbDockPane) _obj, void* pBarInfo );
-void       cbDockPane_InsertBarToRow( TSelf(cbDockPane) _obj, void* pBar, void* pIntoRow );
-void       cbDockPane_InsertRow( TSelf(cbDockPane) _obj, void* pRow, void* pBeforeRow );
-TBool      cbDockPane_IsHorizontal( TSelf(cbDockPane) _obj );
-int        cbDockPane_MatchesMask( TSelf(cbDockPane) _obj, int paneMask );
-void       cbDockPane_RemoveBar( TSelf(cbDockPane) _obj, void* pBar );
-void       cbDockPane_RemoveRow( TSelf(cbDockPane) _obj, void* pRow );
-void       cbDockPane_SetBoundsInParent( TSelf(cbDockPane) _obj, TRect(x,y,w,h));
-void       cbDockPane_SetMargins( TSelf(cbDockPane) _obj, int top, int bottom, int left, int right );
-void       cbDockPane_SetPaneWidth( TSelf(cbDockPane) _obj, int width );
-
-/* cbDrawBarDecorEvent */
-TClassDefExtend(cbDrawBarDecorEvent,cbPluginEvent)
-void*      cbDrawBarDecorEvent_Bar( TSelf(cbDrawBarDecorEvent) _obj );
-void       cbDrawBarDecorEvent_BoundsInParent( TSelf(cbDrawBarDecorEvent) _obj, TRectOutVoid(_x,_y,_w,_h) );
-void*      cbDrawBarDecorEvent_Dc( TSelf(cbDrawBarDecorEvent) _obj );
-
-/* cbDrawBarHandlesEvent */
-TClassDefExtend(cbDrawBarHandlesEvent,cbPluginEvent)
-void*      cbDrawBarHandlesEvent_Bar( TSelf(cbDrawBarHandlesEvent) _obj );
-void*      cbDrawBarHandlesEvent_Dc( TSelf(cbDrawBarHandlesEvent) _obj );
-
-/* cbDrawHintRectEvent */
-TClassDefExtend(cbDrawHintRectEvent,cbPluginEvent)
-int        cbDrawHintRectEvent_EraseRect( TSelf(cbDrawHintRectEvent) _obj );
-TBool      cbDrawHintRectEvent_IsInClient( TSelf(cbDrawHintRectEvent) _obj );
-int        cbDrawHintRectEvent_LastTime( TSelf(cbDrawHintRectEvent) _obj );
-void       cbDrawHintRectEvent_Rect( TSelf(cbDrawHintRectEvent) _obj, TRectOutVoid(_x,_y,_w,_h) );
-
-/* cbDrawPaneBkGroundEvent */
-TClassDefExtend(cbDrawPaneBkGroundEvent,cbPluginEvent)
-void*      cbDrawPaneBkGroundEvent_Dc( TSelf(cbDrawPaneBkGroundEvent) _obj );
-
-/* cbDrawPaneDecorEvent */
-TClassDefExtend(cbDrawPaneDecorEvent,cbPluginEvent)
-void*      cbDrawPaneDecorEvent_Dc( TSelf(cbDrawPaneDecorEvent) _obj );
-
-/* cbDrawRowBkGroundEvent */
-TClassDefExtend(cbDrawRowBkGroundEvent,cbPluginEvent)
-void*      cbDrawRowBkGroundEvent_Dc( TSelf(cbDrawRowBkGroundEvent) _obj );
-void*      cbDrawRowBkGroundEvent_Row( TSelf(cbDrawRowBkGroundEvent) _obj );
-
-/* cbDrawRowDecorEvent */
-TClassDefExtend(cbDrawRowDecorEvent,cbPluginEvent)
-void*      cbDrawRowDecorEvent_Dc( TSelf(cbDrawRowDecorEvent) _obj );
-void*      cbDrawRowDecorEvent_Row( TSelf(cbDrawRowDecorEvent) _obj );
-
-/* cbDrawRowHandlesEvent */
-TClassDefExtend(cbDrawRowHandlesEvent,cbPluginEvent)
-void*      cbDrawRowHandlesEvent_Dc( TSelf(cbDrawRowHandlesEvent) _obj );
-void*      cbDrawRowHandlesEvent_Row( TSelf(cbDrawRowHandlesEvent) _obj );
-
-/* cbDynToolBarDimHandler */
-TClassDefExtend(cbDynToolBarDimHandler,cbDimHandlerBase)
-TClass(cbDynToolBarDimHandler) cbDynToolBarDimHandler_Create(  );
-void       cbDynToolBarDimHandler_Delete( TSelf(cbDynToolBarDimHandler) _obj );
-
-/* cbFinishDrawInAreaEvent */
-TClassDefExtend(cbFinishDrawInAreaEvent,cbPluginEvent)
-void       cbFinishDrawInAreaEvent_Area( TSelf(cbFinishDrawInAreaEvent) _obj, TRectOutVoid(_x,_y,_w,_h) );
-
-/* cbFloatedBarWindow */
-TClassDefExtend(cbFloatedBarWindow,wxToolWindow)
-TClass(cbFloatedBarWindow) cbFloatedBarWindow_Create( void* _obj );
-void*      cbFloatedBarWindow_GetBar( TSelf(cbFloatedBarWindow) _obj );
-void       cbFloatedBarWindow_PositionFloatedWnd( TSelf(cbFloatedBarWindow) _obj, TRect(_x,_y,_w,_h) );
-void       cbFloatedBarWindow_SetBar( TSelf(cbFloatedBarWindow) _obj, void* _bar );
-void       cbFloatedBarWindow_SetLayout( TSelf(cbFloatedBarWindow) _obj, void* _layout );
-
-/* cbGCUpdatesMgr */
-TClassDefExtend(cbGCUpdatesMgr,cbSimpleUpdatesMgr)
-TClass(cbGCUpdatesMgr) cbGCUpdatesMgr_Create( void* pPanel );
-TClass(cbGCUpdatesMgr) cbGCUpdatesMgr_CreateDefault(  );
-void       cbGCUpdatesMgr_Delete( TSelf(cbGCUpdatesMgr) _obj );
-void       cbGCUpdatesMgr_UpdateNow( TSelf(cbGCUpdatesMgr) _obj );
-
-/* cbHintAnimationPlugin */
-TClassDefExtend(cbHintAnimationPlugin,cbPluginBase)
-TClass(cbHintAnimationPlugin) cbHintAnimationPlugin_Create( void* pPanel, int paneMask );
-TClass(cbHintAnimationPlugin) cbHintAnimationPlugin_CreateDefault(  );
-void       cbHintAnimationPlugin_Delete( TSelf(cbHintAnimationPlugin) _obj );
-
-/* cbInsertBarEvent */
-TClassDefExtend(cbInsertBarEvent,cbPluginEvent)
-void*      cbInsertBarEvent_Bar( TSelf(cbInsertBarEvent) _obj );
-void*      cbInsertBarEvent_Row( TSelf(cbInsertBarEvent) _obj );
-
-/* cbLayoutRowEvent */
-TClassDefExtend(cbLayoutRowEvent,cbPluginEvent)
-void*      cbLayoutRowEvent_Row( TSelf(cbLayoutRowEvent) _obj );
-
-/* cbLeftDClickEvent */
-TClassDefExtend(cbLeftDClickEvent,cbPluginEvent)
-void       cbLeftDClickEvent_Pos( TSelf(cbLeftDClickEvent) _obj, TPointOutVoid(_x,_y) );
-
-/* cbLeftDownEvent */
-TClassDefExtend(cbLeftDownEvent,cbPluginEvent)
-void       cbLeftDownEvent_Pos( TSelf(cbLeftDownEvent) _obj, TPointOutVoid(_x,_y) );
-
-/* cbLeftUpEvent */
-TClassDefExtend(cbLeftUpEvent,cbPluginEvent)
-void       cbLeftUpEvent_Pos( TSelf(cbLeftUpEvent) _obj, TPointOutVoid(_x,_y) );
-
-/* cbMiniButton */
-TClassDefExtend(cbMiniButton,wxObject)
-TClass(cbMiniButton) cbMiniButton_Create(  );
-void       cbMiniButton_Delete( TSelf(cbMiniButton) _obj );
-void       cbMiniButton_Dim( TSelf(cbMiniButton) _obj, TSizeOutVoid(_w,_h) );
-int        cbMiniButton_DragStarted( TSelf(cbMiniButton) _obj );
-void       cbMiniButton_Enable( TSelf(cbMiniButton) _obj, TBool enable );
-int        cbMiniButton_Enabled( TSelf(cbMiniButton) _obj );
-int        cbMiniButton_HitTest( TSelf(cbMiniButton) _obj, TPoint(x,y) );
-TBool      cbMiniButton_IsPressed( TSelf(cbMiniButton) _obj );
-void*      cbMiniButton_Layout( TSelf(cbMiniButton) _obj );
-void*      cbMiniButton_Pane( TSelf(cbMiniButton) _obj );
-void*      cbMiniButton_Plugin( TSelf(cbMiniButton) _obj );
-void       cbMiniButton_Pos( TSelf(cbMiniButton) _obj, TPointOutVoid(_x,_y) );
-int        cbMiniButton_Pressed( TSelf(cbMiniButton) _obj );
-void       cbMiniButton_Refresh( TSelf(cbMiniButton) _obj );
-void       cbMiniButton_Reset( TSelf(cbMiniButton) _obj );
-void       cbMiniButton_SetPos( TSelf(cbMiniButton) _obj, TPoint(x,y) );
-int        cbMiniButton_Visible( TSelf(cbMiniButton) _obj );
-int        cbMiniButton_WasClicked( TSelf(cbMiniButton) _obj );
-void*      cbMiniButton_Wnd( TSelf(cbMiniButton) _obj );
-
-/* cbMotionEvent */
-TClassDefExtend(cbMotionEvent,cbPluginEvent)
-void       cbMotionEvent_Pos( TSelf(cbMotionEvent) _obj, TPointOutVoid(_x,_y) );
-
-/* cbPaneDrawPlugin */
-TClassDefExtend(cbPaneDrawPlugin,cbPluginBase)
-TClass(cbPaneDrawPlugin) cbPaneDrawPlugin_Create( void* pPanel, int paneMask );
-TClass(cbPaneDrawPlugin) cbPaneDrawPlugin_CreateDefault(  );
-void       cbPaneDrawPlugin_Delete( TSelf(cbPaneDrawPlugin) _obj );
-
-/* cbPluginBase */
-TClassDefExtend(cbPluginBase,wxEvtHandler)
-void       cbPluginBase_Delete( TSelf(cbPluginBase) _obj );
-int        cbPluginBase_GetPaneMask( TSelf(cbPluginBase) _obj );
-TBool      cbPluginBase_IsReady( TSelf(cbPluginBase) _obj );
-void*      cbPluginBase_Plugin( int _swt );
-int        cbPluginBase_ProcessEvent( TSelf(cbPluginBase) _obj, TClass(wxEvent) event );
-
-/* cbPluginEvent */
-TClassDefExtend(cbPluginEvent,wxEvent)
-void*      cbPluginEvent_Pane( TSelf(cbPluginEvent) _obj );
-
-/* cbRemoveBarEvent */
-TClassDefExtend(cbRemoveBarEvent,cbPluginEvent)
-void*      cbRemoveBarEvent_Bar( TSelf(cbRemoveBarEvent) _obj );
-
-/* cbResizeBarEvent */
-TClassDefExtend(cbResizeBarEvent,cbPluginEvent)
-void*      cbResizeBarEvent_Bar( TSelf(cbResizeBarEvent) _obj );
-void*      cbResizeBarEvent_Row( TSelf(cbResizeBarEvent) _obj );
-
-/* cbResizeRowEvent */
-TClassDefExtend(cbResizeRowEvent,cbPluginEvent)
-int        cbResizeRowEvent_ForUpperHandle( TSelf(cbResizeRowEvent) _obj );
-int        cbResizeRowEvent_HandleOfs( TSelf(cbResizeRowEvent) _obj );
-void*      cbResizeRowEvent_Row( TSelf(cbResizeRowEvent) _obj );
-
-/* cbRightDownEvent */
-TClassDefExtend(cbRightDownEvent,cbPluginEvent)
-void       cbRightDownEvent_Pos( TSelf(cbRightDownEvent) _obj, TPointOutVoid(_x,_y) );
-
-/* cbRightUpEvent */
-TClassDefExtend(cbRightUpEvent,cbPluginEvent)
-void       cbRightUpEvent_Pos( TSelf(cbRightUpEvent) _obj, TPointOutVoid(_x,_y) );
-
-/* cbRowDragPlugin */
-TClassDefExtend(cbRowDragPlugin,cbPluginBase)
-TClass(cbRowDragPlugin) cbRowDragPlugin_Create( void* pPanel, int paneMask );
-TClass(cbRowDragPlugin) cbRowDragPlugin_CreateDefault(  );
-void       cbRowDragPlugin_Delete( TSelf(cbRowDragPlugin) _obj );
-
-/* cbRowInfo */
-TClassDefExtend(cbRowInfo,wxObject)
-TClass(cbRowInfo) cbRowInfo_Create(  );
-void       cbRowInfo_Delete( TSelf(cbRowInfo) _obj );
-void*      cbRowInfo_GetFirstBar( TSelf(cbRowInfo) _obj );
-
-/* cbRowLayoutPlugin */
-TClassDefExtend(cbRowLayoutPlugin,cbPluginBase)
-TClass(cbRowLayoutPlugin) cbRowLayoutPlugin_Create( void* pPanel, int paneMask );
-TClass(cbRowLayoutPlugin) cbRowLayoutPlugin_CreateDefault(  );
-void       cbRowLayoutPlugin_Delete( TSelf(cbRowLayoutPlugin) _obj );
-
-/* cbSimpleCustomizationPlugin */
-TClassDefExtend(cbSimpleCustomizationPlugin,cbPluginBase)
-TClass(cbSimpleCustomizationPlugin) cbSimpleCustomizationPlugin_Create( void* pPanel, int paneMask );
-TClass(cbSimpleCustomizationPlugin) cbSimpleCustomizationPlugin_CreateDefault(  );
-void       cbSimpleCustomizationPlugin_Delete( TSelf(cbSimpleCustomizationPlugin) _obj );
-
-/* cbSimpleUpdatesMgr */
-TClassDefExtend(cbSimpleUpdatesMgr,cbUpdatesManagerBase)
-
-/* cbSizeBarWndEvent */
-TClassDefExtend(cbSizeBarWndEvent,cbPluginEvent)
-void*      cbSizeBarWndEvent_Bar( TSelf(cbSizeBarWndEvent) _obj );
-void       cbSizeBarWndEvent_BoundsInParent( TSelf(cbSizeBarWndEvent) _obj, TRectOutVoid(_x,_y,_w,_h) );
-
-/* cbStartBarDraggingEvent */
-TClassDefExtend(cbStartBarDraggingEvent,cbPluginEvent)
-void*      cbStartBarDraggingEvent_Bar( TSelf(cbStartBarDraggingEvent) _obj );
-void       cbStartBarDraggingEvent_Pos( TSelf(cbStartBarDraggingEvent) _obj, TPointOutVoid(_x,_y) );
-
-/* cbStartDrawInAreaEvent */
-TClassDefExtend(cbStartDrawInAreaEvent,cbPluginEvent)
-void       cbStartDrawInAreaEvent_Area( TSelf(cbStartDrawInAreaEvent) _obj, TRectOutVoid(_x,_y,_w,_h) );
-
-/* cbUpdatesManagerBase */
-TClassDefExtend(cbUpdatesManagerBase,wxObject)
-
-/* wxAcceleratorEntry */
-TClassDef(wxAcceleratorEntry)
-TClass(wxAcceleratorEntry) wxAcceleratorEntry_Create( int flags, int keyCode, int cmd );
-void       wxAcceleratorEntry_Delete( TSelf(wxAcceleratorEntry) _obj );
-int        wxAcceleratorEntry_GetCommand( TSelf(wxAcceleratorEntry) _obj );
-int        wxAcceleratorEntry_GetFlags( TSelf(wxAcceleratorEntry) _obj );
-int        wxAcceleratorEntry_GetKeyCode( TSelf(wxAcceleratorEntry) _obj );
-void       wxAcceleratorEntry_Set( TSelf(wxAcceleratorEntry) _obj, int flags, int keyCode, int cmd );
-
-/* wxAcceleratorTable */
-TClassDef(wxAcceleratorTable)
-TClass(wxAcceleratorTable) wxAcceleratorTable_Create( int n, void* entries );
-void       wxAcceleratorTable_Delete( TSelf(wxAcceleratorTable) _obj );
-
-/* wxctivateEvent */
-TClassDefExtend(wxActivateEvent,wxEvent)
-void       wxActivateEvent_CopyObject( TSelf(wxActivateEvent) _obj, void* obj );
-TBool      wxActivateEvent_GetActive( TSelf(wxActivateEvent) _obj );
-
-/* wxApp */
-TClassDefExtend(wxApp,wxEvtHandler)
-
-/* wxArray */
-TClassDef(wxArray)
-
-/* wxArrayString */
-TClassDefExtend(wxArrayString,wxArray)
-
-/* wxArtProvider */
-TClassDefExtend(wxArtProvider,wxObject)
-TBool      PopProvider(  );
-void       PushProvider( TClass(wxArtProvider) provider );
-TBool      RemoveProvider( TClass(wxArtProvider) provider );
-
-/* wxAutoBufferedPaintDC */
-TClassDefExtend(wxAutoBufferedPaintDC,wxDC)
-TClass(wxAutoBufferedPaintDC) wxAutoBufferedPaintDC_Create( TClass(wxWindow) window );
-void       wxAutoBufferedPaintDC_Delete( TSelf(wxAutoBufferedPaintDC) self );
-
-/* wxAutomationObject */
-TClassDefExtend(wxAutomationObject,wxObject)
-
-/* wxBitmap */
-TClassDefExtend(wxBitmap,wxGDIObject)
-void       wxBitmap_AddHandler( TClass(wxEvtHandler) handler );
-void       wxBitmap_CleanUpHandlers(  );
-TClass(wxBitmap) wxBitmap_Create( void* _data, int _type, TSize(_width,_height), int _depth );
-TClass(wxBitmap) wxBitmap_CreateDefault(  );
-TClass(wxBitmap) wxBitmap_CreateEmpty( TSize(_width,_height), int _depth );
-TClass(wxBitmap) wxBitmap_CreateFromXPM( TSelf(wxBitmap) data );
-TClass(wxBitmap) wxBitmap_CreateLoad( TClass(wxString) name, int type );
-void       wxBitmap_Delete( TSelf(wxBitmap) _obj );
-void*      wxBitmap_FindHandlerByExtension( TSelf(wxBitmap) extension, int type );
-void*      wxBitmap_FindHandlerByName( TClass(wxString) name );
-void*      wxBitmap_FindHandlerByType( int type );
-int        wxBitmap_GetDepth( TSelf(wxBitmap) _obj );
-int        wxBitmap_GetHeight( TSelf(wxBitmap) _obj );
-TClass(wxMask) wxBitmap_GetMask( TSelf(wxBitmap) _obj );
-void       wxBitmap_GetSubBitmap( TSelf(wxBitmap) _obj, TRect(x,y,w,h), TClassRef(wxBitmap) _ref );
-int        wxBitmap_GetWidth( TSelf(wxBitmap) _obj );
-void       wxBitmap_InitStandardHandlers(  );
-void       wxBitmap_InsertHandler( TClass(wxEvtHandler) handler );
-int        wxBitmap_LoadFile( TSelf(wxBitmap) _obj, TClass(wxString) name, int type );
-TBool      wxBitmap_IsOk( TSelf(wxBitmap) _obj );
-TBool      wxBitmap_RemoveHandler( TClass(wxString) name );
-int        wxBitmap_SaveFile( TSelf(wxBitmap) _obj, TClass(wxString) name, int type, TClass(wxPalette) cmap );
-void       wxBitmap_SetDepth( TSelf(wxBitmap) _obj, int d );
-void       wxBitmap_SetHeight( TSelf(wxBitmap) _obj, int h );
-void       wxBitmap_SetMask( TSelf(wxBitmap) _obj, TClass(wxMask) mask );
-void       wxBitmap_SetWidth( TSelf(wxBitmap) _obj, int w );
-
-/* wxBitmapButton */
-TClassDefExtend(wxBitmapButton,wxButton)
-TClass(wxBitmapButton) wxBitmapButton_Create( TClass(wxWindow) _prt, int _id, TClass(wxBitmap) _bmp, TRect(_lft,_top,_wdt,_hgt), int _stl );
-void       wxBitmapButton_GetBitmapDisabled( TSelf(wxBitmapButton) _obj, TClassRef(wxBitmap) _ref );
-void       wxBitmapButton_GetBitmapFocus( TSelf(wxBitmapButton) _obj, TClassRef(wxBitmap) _ref );
-void       wxBitmapButton_GetBitmapLabel( TSelf(wxBitmapButton) _obj, TClassRef(wxBitmap) _ref );
-void       wxBitmapButton_GetBitmapSelected( TSelf(wxBitmapButton) _obj, TClassRef(wxBitmap) _ref );
-int        wxBitmapButton_GetMarginX( TSelf(wxBitmapButton) _obj );
-int        wxBitmapButton_GetMarginY( TSelf(wxBitmapButton) _obj );
-void       wxBitmapButton_SetBitmapDisabled( TSelf(wxBitmapButton) _obj, TClass(wxBitmap) disabled );
-void       wxBitmapButton_SetBitmapFocus( TSelf(wxBitmapButton) _obj, TClass(wxBitmap) focus );
-void       wxBitmapButton_SetBitmapLabel( TSelf(wxBitmapButton) _obj, TClass(wxBitmap) bitmap );
-void       wxBitmapButton_SetBitmapSelected( TSelf(wxBitmapButton) _obj, TClass(wxBitmap) sel );
-void       wxBitmapButton_SetMargins( TSelf(wxBitmapButton) _obj, TPoint(x,y) );
-
-/* wxBitmapDataObject */
-TClassDefExtend(wxBitmapDataObject,wxDataObjectSimple)
-TClass(wxBitmapDataObject) BitmapDataObject_Create( TClass(wxBitmap) _bmp );
-TClass(wxBitmapDataObject) BitmapDataObject_CreateEmpty(  );
-void       BitmapDataObject_Delete( TSelf(wxBitmapDataObject) _obj );
-void       BitmapDataObject_GetBitmap( TSelf(wxBitmapDataObject) _obj, TClassRef(wxBitmap) _bmp );
-void       BitmapDataObject_SetBitmap( TSelf(wxBitmapDataObject) _obj, TClass(wxBitmap) _bmp );
-
-/* wxBitmapHandler */
-TClassDefExtend(wxBitmapHandler,wxObject)
-
-/* wxBoxSizer */
-TClassDefExtend(wxBoxSizer,wxSizer)
-TClass(wxSize) wxBoxSizer_CalcMin( TSelf(wxBoxSizer) _obj );
-TClass(wxBoxSizer) wxBoxSizer_Create( int orient );
-int        wxBoxSizer_GetOrientation( TSelf(wxBoxSizer) _obj );
-void       wxBoxSizer_RecalcSizes( TSelf(wxBoxSizer) _obj );
-
-/* wxBrush */
-TClassDefExtend(wxBrush,wxGDIObject)
-void       wxBrush_Assign( TSelf(wxBrush) _obj, TClass(wxBrush) brush );
-TClass(wxBrush) wxBrush_CreateDefault(  );
-TClass(wxBrush) wxBrush_CreateFromBitmap( TClass(wxBitmap) bitmap );
-TClass(wxBrush) wxBrush_CreateFromColour( TClass(wxColour) col, int style );
-TClass(wxBrush) wxBrush_CreateFromStock( int id );
-void       wxBrush_Delete( TSelf(wxBrush) _obj );
-void       wxBrush_GetColour( TSelf(wxBrush) _obj, TClassRef(wxColour) _ref );
-void       wxBrush_GetStipple( TSelf(wxBrush) _obj, TClassRef(wxBitmap) _ref );
-int        wxBrush_GetStyle( TSelf(wxBrush) _obj );
-TBool      wxBrush_IsEqual( TSelf(wxBrush) _obj, TClass(wxBrush) brush );
-TBool      wxBrush_IsOk( TSelf(wxBrush) _obj );
-void       wxBrush_SetColour( TSelf(wxBrush) _obj, TClass(wxColour) col );
-void       wxBrush_SetColourSingle( TSelf(wxBrush) _obj, TChar r, TChar g, TChar b );
-void       wxBrush_SetStipple( TSelf(wxBrush) _obj, TClass(wxBitmap) stipple );
-void       wxBrush_SetStyle( TSelf(wxBrush) _obj, int style );
-
-/* wxBrushList */
-TClassDefExtend(wxBrushList,wxList)
-
-/* wxBufferedDC */
-TClassDefExtend(wxBufferedDC,wxDC)
-TClass(wxBufferedDC) wxBufferedDC_CreateByDCAndSize( TClass(wxDC) dc, TSize(width, hight), int style );
-TClass(wxBufferedDC) wxBufferedDC_CreateByDCAndBitmap( TClass(wxDC) dc, TClass(wxBitmap) bitmap, int style );
-void       wxBufferedDC_Delete( TSelf(wxBufferedDC) self );
-
-/* wxBufferedPaintDC */
-TClassDefExtend(wxBufferedPaintDC,wxDC)
-TClass(wxBufferedPaintDC) wxBufferedPaintDC_Create( TClass(wxWindow) window, int style );
-TClass(wxBufferedPaintDC) wxBufferedPaintDC_CreateWithBitmap( TClass(wxWindow) window, TClass(wxBitmap) bitmap, int style );
-void       wxBufferedPaintDC_Delete( TSelf(wxBufferedPaintDC) self );
-
-/* wxBufferedInputStream */
-TClassDefExtend(wxBufferedInputStream,wxFilterInputStream)
-
-/* wxBufferedOutputStream */
-TClassDefExtend(wxBufferedOutputStream,wxFilterOutputStream)
-
-/* wxBusyCursor */
-TClassDef(wxBusyCursor)
-TClass(wxBusyCursor) wxBusyCursor_Create(  );
-void*      wxBusyCursor_CreateWithCursor( TSelf(wxBusyCursor) _cur );
-void       wxBusyCursor_Delete( TSelf(wxBusyCursor) _obj );
-
-/* wxBusyInfo */
-TClassDef(wxBusyInfo)
-TClass(wxBusyInfo) wxBusyInfo_Create( TClass(wxString) _txt );
-void       wxBusyInfo_Delete( TSelf(wxBusyInfo) _obj );
-
-/* wxButton */
-TClassDefExtend(wxButton,wxControl)
-TClass(wxButton) wxButton_Create( TClass(wxWindow) _prt, int _id, TClass(wxString) _txt, TRect(_lft,_top,_wdt,_hgt), int _stl );
-int        wxButton_SetBackgroundColour( TSelf(wxButton) _obj, TClass(wxColour) colour );
-void       wxButton_SetDefault( TSelf(wxButton) _obj );
-
-/* wxCSConv */
-TClassDefExtend(wxCSConv,wxMBConv)
-
-/* wxCalculateLayoutEvent */
-TClassDefExtend(wxCalculateLayoutEvent,wxEvent)
-TClass(wxCalculateLayoutEvent) wxCalculateLayoutEvent_Create( int id );
-int        wxCalculateLayoutEvent_GetFlags( TSelf(wxCalculateLayoutEvent) _obj );
-TClass(wxRect) wxCalculateLayoutEvent_GetRect( TSelf(wxCalculateLayoutEvent) _obj );
-void       wxCalculateLayoutEvent_SetFlags( TSelf(wxCalculateLayoutEvent) _obj, int flags );
-void       wxCalculateLayoutEvent_SetRect( TSelf(wxCalculateLayoutEvent) _obj, TRect(x,y,w,h) );
-
-/* wxCalendarCtrl */
-TClassDefExtend(wxCalendarCtrl,wxControl)
-TClass(wxCalendarCtrl) wxCalendarCtrl_Create( TClass(wxWindow) _prt, int _id, TClass(wxDateTime) _dat, TRect(_lft,_top,_wdt,_hgt), int _stl );
-void       wxCalendarCtrl_EnableHolidayDisplay( TSelf(wxCalendarCtrl) _obj, int display );
-void       wxCalendarCtrl_EnableMonthChange( TSelf(wxCalendarCtrl) _obj, TBool enable );
-void       wxCalendarCtrl_EnableYearChange( TSelf(wxCalendarCtrl) _obj, TBool enable );
-void*      wxCalendarCtrl_GetAttr( TSelf(wxCalendarCtrl) _obj, int day );
-void       wxCalendarCtrl_GetDate( TSelf(wxCalendarCtrl) _obj, void* date );
-void       wxCalendarCtrl_GetHeaderColourBg( TSelf(wxCalendarCtrl) _obj, TClassRef(wxColour) _ref );
-void       wxCalendarCtrl_GetHeaderColourFg( TSelf(wxCalendarCtrl) _obj, TClassRef(wxColour) _ref );
-void       wxCalendarCtrl_GetHighlightColourBg( TSelf(wxCalendarCtrl) _obj, TClassRef(wxColour) _ref );
-void       wxCalendarCtrl_GetHighlightColourFg( TSelf(wxCalendarCtrl) _obj, TClassRef(wxColour) _ref );
-void       wxCalendarCtrl_GetHolidayColourBg( TSelf(wxCalendarCtrl) _obj, TClassRef(wxColour) _ref );
-void       wxCalendarCtrl_GetHolidayColourFg( TSelf(wxCalendarCtrl) _obj, TClassRef(wxColour) _ref );
-int        wxCalendarCtrl_HitTest( TSelf(wxCalendarCtrl) _obj, TPoint(x,y), void* date, void* wd );
-void       wxCalendarCtrl_ResetAttr( TSelf(wxCalendarCtrl) _obj, int day );
-void       wxCalendarCtrl_SetAttr( TSelf(wxCalendarCtrl) _obj, int day, void* attr );
-void       wxCalendarCtrl_SetDate( TSelf(wxCalendarCtrl) _obj, void* date );
-void       wxCalendarCtrl_SetHeaderColours( TSelf(wxCalendarCtrl) _obj, void* colFg, void* colBg );
-void       wxCalendarCtrl_SetHighlightColours( TSelf(wxCalendarCtrl) _obj, void* colFg, void* colBg );
-void       wxCalendarCtrl_SetHoliday( TSelf(wxCalendarCtrl) _obj, int day );
-void       wxCalendarCtrl_SetHolidayColours( TSelf(wxCalendarCtrl) _obj, void* colFg, void* colBg );
-
-/* wxCalendarDateAttr */
-TClassDef(wxCalendarDateAttr)
-TClass(wxCalendarDateAttr) wxCalendarDateAttr_Create( void* _ctxt, void* _cbck, void* _cbrd, void* _fnt, int _brd );
-TClass(wxCalendarDateAttr) wxCalendarDateAttr_CreateDefault(  );
-void       wxCalendarDateAttr_Delete( TSelf(wxCalendarDateAttr) _obj );
-void       wxCalendarDateAttr_GetBackgroundColour( TSelf(wxCalendarDateAttr) _obj, TClassRef(wxColour) _ref );
-int        wxCalendarDateAttr_GetBorder( TSelf(wxCalendarDateAttr) _obj );
-void       wxCalendarDateAttr_GetBorderColour( TSelf(wxCalendarDateAttr) _obj, TClassRef(wxColour) _ref );
-void       wxCalendarDateAttr_GetFont( TSelf(wxCalendarDateAttr) _obj, TClassRef(wxFont) _ref );
-void       wxCalendarDateAttr_GetTextColour( TSelf(wxCalendarDateAttr) _obj, TClassRef(wxColour) _ref );
-TBool      wxCalendarDateAttr_HasBackgroundColour( TSelf(wxCalendarDateAttr) _obj );
-TBool      wxCalendarDateAttr_HasBorder( TSelf(wxCalendarDateAttr) _obj );
-TBool      wxCalendarDateAttr_HasBorderColour( TSelf(wxCalendarDateAttr) _obj );
-TBool      wxCalendarDateAttr_HasFont( TSelf(wxCalendarDateAttr) _obj );
-TBool      wxCalendarDateAttr_HasTextColour( TSelf(wxCalendarDateAttr) _obj );
-TBool      wxCalendarDateAttr_IsHoliday( TSelf(wxCalendarDateAttr) _obj );
-void       wxCalendarDateAttr_SetBackgroundColour( TSelf(wxCalendarDateAttr) _obj, TClass(wxColour) col );
-void       wxCalendarDateAttr_SetBorder( TSelf(wxCalendarDateAttr) _obj, int border );
-void       wxCalendarDateAttr_SetBorderColour( TSelf(wxCalendarDateAttr) _obj, TClass(wxColour) col );
-void       wxCalendarDateAttr_SetFont( TSelf(wxCalendarDateAttr) _obj, TClass(wxFont) font );
-void       wxCalendarDateAttr_SetHoliday( TSelf(wxCalendarDateAttr) _obj, int holiday );
-void       wxCalendarDateAttr_SetTextColour( TSelf(wxCalendarDateAttr) _obj, TClass(wxColour) col );
-
-/* wxCalendarEvent */
-TClassDefExtend(wxCalendarEvent,wxCommandEvent)
-void       wxCalendarEvent_GetDate( TSelf(wxCalendarEvent) _obj, void* _dte );
-int        wxCalendarEvent_GetWeekDay( TSelf(wxCalendarEvent) _obj );
-
-/* wxCaret */
-TClassDef(wxCaret)
-TClass(wxCaret) wxCaret_Create( TClass(wxWindow) _wnd, int _wth, int _hgt );
-int        wxCaret_GetBlinkTime(  );
-TClass(wxPoint) wxCaret_GetPosition( TSelf(wxCaret) _obj );
-TClass(wxSize) wxCaret_GetSize( TSelf(wxCaret) _obj );
-TClass(wxWindow) wxCaret_GetWindow( TSelf(wxCaret) _obj );
-void       wxCaret_Hide( TSelf(wxCaret) _obj );
-TBool      wxCaret_IsOk( TSelf(wxCaret) _obj );
-TBool      wxCaret_IsVisible( TSelf(wxCaret) _obj );
-void       wxCaret_Move( TSelf(wxCaret) _obj, TPoint(x,y) );
-void       wxCaret_SetBlinkTime( int milliseconds );
-void       wxCaret_SetSize( TSelf(wxCaret) _obj, TSize(width,height) );
-void       wxCaret_Show( TSelf(wxCaret) _obj );
-
-/* wxCheckBox */
-TClassDefExtend(wxCheckBox,wxControl)
-TClass(wxCheckBox) wxCheckBox_Create( TClass(wxWindow) _prt, int _id, TClass(wxString) _txt, TRect(_lft,_top,_wdt,_hgt), int _stl );
-void       wxCheckBox_Delete( TSelf(wxCheckBox) _obj );
-TBool      wxCheckBox_GetValue( TSelf(wxCheckBox) _obj );
-void       wxCheckBox_SetValue( TSelf(wxCheckBox) _obj, TBoolInt value );
-
-/* wxCheckListBox */
-TClassDefExtend(wxCheckListBox,wxListBox)
-void       wxCheckListBox_Check( TSelf(wxCheckListBox) _obj, int item, TBool check );
-TClass(wxCheckListBox) wxCheckListBox_Create( TClass(wxWindow) _prt, int _id, TRect(_lft,_top,_wdt,_hgt), TArrayString(n,str), int _stl );
-void       wxCheckListBox_Delete( TSelf(wxCheckListBox) _obj );
-TBool      wxCheckListBox_IsChecked( TSelf(wxCheckListBox) _obj, int item );
-
-/* wxChoice */
-TClassDefExtend(wxChoice,wxControl)
-void       wxChoice_Append( TSelf(wxChoice) _obj, TClass(wxString) item );
-void       wxChoice_Clear( TSelf(wxChoice) _obj );
-TClass(wxChoice) wxChoice_Create( TClass(wxWindow) _prt, int _id, TRect(_lft,_top,_wdt,_hgt), TArrayString(n,str), int _stl );
-void       wxChoice_Delete( TSelf(wxChoice) _obj, int n );
-int        wxChoice_FindString( TSelf(wxChoice) _obj, TClass(wxString) s );
-int        wxChoice_GetCount( TSelf(wxChoice) _obj );
-int        wxChoice_GetSelection( TSelf(wxChoice) _obj );
-TClass(wxString) wxChoice_GetString( TSelf(wxChoice) _obj, int n );
-void       wxChoice_SetSelection( TSelf(wxChoice) _obj, int n );
-void       wxChoice_SetString( TSelf(wxChoice) _obj, int n, TClass(wxString) s );
-
-/* wxClassInfo */
-TClassDef(wxClassInfo)
-void*      wxClassInfo_CreateClassByName( TSelf(wxClassInfo) _inf );
-void*      wxClassInfo_GetClassName( TSelf(wxClassInfo) _inf );
-TBool      wxClassInfo_IsKindOf( TSelf(wxClassInfo) _obj, TClass(wxString) _name );
-
-/* wxClient */
-TClassDefExtend(wxClient,wxClientBase)
-
-/* wxClientBase */
-TClassDefExtend(wxClientBase,wxObject)
-
-/* wxClientDC */
-TClassDefExtend(wxClientDC,wxWindowDC)
-TClass(wxClientDC) wxClientDC_Create( TClass(wxWindow) win );
-void       wxClientDC_Delete( TSelf(wxClientDC) _obj );
-
-/* wxClientData */
-TClassDef(wxClientData)
-
-/* wxClientDataContainer */
-TClassDef(wxClientDataContainer)
-
-/* wxClipboard */
-TClassDefExtend(wxClipboard,wxObject)
-TBool      wxClipboard_AddData( TSelf(wxClipboard) _obj, TClass(wxDataObject) data );
-void       wxClipboard_Clear( TSelf(wxClipboard) _obj );
-void       wxClipboard_Close( TSelf(wxClipboard) _obj );
-TClass(wxClipboard) wxClipboard_Create(  );
-TBool      wxClipboard_Flush( TSelf(wxClipboard) _obj );
-TBool      wxClipboard_GetData( TSelf(wxClipboard) _obj, TClass(wxDataObject) data );
-TBool      wxClipboard_IsOpened( TSelf(wxClipboard) _obj );
-TBool      wxClipboard_IsSupported( TSelf(wxClipboard) _obj, TClass(wxDataFormat) format );
-TBool      wxClipboard_Open( TSelf(wxClipboard) _obj );
-TBool      wxClipboard_SetData( TSelf(wxClipboard) _obj, TClass(wxDataObject) data );
-void       wxClipboard_UsePrimarySelection( TSelf(wxClipboard) _obj, TBool primary );
-
-/* wxCloseEvent */
-TClassDefExtend(wxCloseEvent,wxEvent)
-TBool      wxCloseEvent_CanVeto( TSelf(wxCloseEvent) _obj );
-void       wxCloseEvent_CopyObject( TSelf(wxCloseEvent) _obj, TClass(wxObject) obj );
-TBool      wxCloseEvent_GetLoggingOff( TSelf(wxCloseEvent) _obj );
-TBool      wxCloseEvent_GetVeto( TSelf(wxCloseEvent) _obj );
-void       wxCloseEvent_SetCanVeto( TSelf(wxCloseEvent) _obj, TBool canVeto );
-void       wxCloseEvent_SetLoggingOff( TSelf(wxCloseEvent) _obj, TBool logOff );
-void       wxCloseEvent_Veto( TSelf(wxCloseEvent) _obj, TBool veto );
-
-/* wxClosure */
-TClassDefExtend(wxClosure,wxObject)
-
-/* wxColour */
-TClassDefExtend(wxColour,wxObject)
-TUInt8     wxColour_Alpha( TSelf(wxColour) _obj );
-void       wxColour_Assign( TSelf(wxColour) _obj, void* other );
-TUInt8     wxColour_Blue( TSelf(wxColour) _obj );
-void       wxColour_Copy( TSelf(wxColour) _obj, void* _other );
-TClass(wxColour) wxColour_CreateByName( TClass(wxString) _name );
-TClass(wxColour) wxColour_CreateEmpty(  );
-TClass(wxColour) wxColour_CreateFromStock( int id );
-TClass(wxColour) wxColour_CreateRGB( TUInt8 _red, TUInt8 _green, TUInt8 _blue, TUInt8 _alpha );
-void       wxColour_Delete( TSelf(wxColour) _obj );
-//WXCOLORREF wxColour_GetPixel( TSelf(wxColour) _obj );
-TUInt8     wxColour_Green( TSelf(wxColour) _obj );
-TBool      wxColour_IsOk( TSelf(wxColour) _obj );
-TUInt8     wxColour_Red( TSelf(wxColour) _obj );
-void       wxColour_Set( TSelf(wxColour) _obj, TUInt8 _red, TUInt8 _green, TUInt8 _blue, TUInt8 _alpha );
-void       wxColour_SetByName( TSelf(wxColour) _obj, TClass(wxString) _name );
-TBool      wxColour_ValidName( TStringVoid _name );
-
-/* wxColourData */
-TClassDefExtend(wxColourData,wxObject)
-TClass(wxColourData) wxColourData_Create(  );
-void       wxColourData_Delete( TSelf(wxColourData) _obj );
-TBool      wxColourData_GetChooseFull( TSelf(wxColourData) _obj );
-void       wxColourData_GetColour( TSelf(wxColourData) _obj, TClassRef(wxColour) _ref );
-void       wxColourData_GetCustomColour( TSelf(wxColourData) _obj, int i, TClassRef(wxColour) _ref );
-void       wxColourData_SetChooseFull( TSelf(wxColourData) _obj, TBool flag );
-void       wxColourData_SetColour( TSelf(wxColourData) _obj, TClass(wxColour) colour );
-void       wxColourData_SetCustomColour( TSelf(wxColourData) _obj, int i, TClass(wxColour) colour );
-
-/* wxColourDatabase */
-TClassDefExtend(wxColourDatabase,wxList)
-
-/* wxColourDialog */
-TClassDefExtend(wxColourDialog,wxDialog)
-TClass(wxColourDialog) wxColourDialog_Create( TClass(wxWindow) _prt, TClass(wxColourData) col );
-void       wxColourDialog_GetColourData( TSelf(wxColourDialog) _obj, TClassRef(wxColourData) _ref );
-
-/* wxComboBox */
-TClassDefExtend(wxComboBox,wxChoice)
-void       wxComboBox_Append( TSelf(wxComboBox) _obj, TClass(wxString) item );
-void       wxComboBox_AppendData( TSelf(wxComboBox) _obj, TClass(wxString) item, void* d );
-void       wxComboBox_Clear( TSelf(wxComboBox) _obj );
-void       wxComboBox_Copy( TSelf(wxComboBox) _obj );
-TClass(wxComboBox) wxComboBox_Create( TClass(wxWindow) _prt, int _id, TClass(wxString) _txt, TRect(_lft,_top,_wdt,_hgt), TArrayString(n,str), int _stl );
-void       wxComboBox_Cut( TSelf(wxComboBox) _obj );
-void       wxComboBox_Delete( TSelf(wxComboBox) _obj, int n );
-int        wxComboBox_FindString( TSelf(wxComboBox) _obj, TClass(wxString) s );
-TClass(wxClientData) wxComboBox_GetClientData( TSelf(wxComboBox) _obj, int n );
-int        wxComboBox_GetCount( TSelf(wxComboBox) _obj );
-int        wxComboBox_GetInsertionPoint( TSelf(wxComboBox) _obj );
-int        wxComboBox_GetLastPosition( TSelf(wxComboBox) _obj );
-int        wxComboBox_GetSelection( TSelf(wxComboBox) _obj );
-TClass(wxString) wxComboBox_GetString( TSelf(wxComboBox) _obj, int n );
-TClass(wxString) wxComboBox_GetStringSelection( TSelf(wxComboBox) _obj );
-TClass(wxString) wxComboBox_GetValue( TSelf(wxComboBox) _obj );
-void       wxComboBox_Paste( TSelf(wxComboBox) _obj );
-void       wxComboBox_Remove( TSelf(wxComboBox) _obj, int from, int to );
-void       wxComboBox_Replace( TSelf(wxComboBox) _obj, int from, int to, TClass(wxString) value );
-void       wxComboBox_SetClientData( TSelf(wxComboBox) _obj, int n, TClass(wxClientData) clientData );
-void       wxComboBox_SetEditable( TSelf(wxComboBox) _obj, TBool editable );
-void       wxComboBox_SetInsertionPoint( TSelf(wxComboBox) _obj, int pos );
-void       wxComboBox_SetInsertionPointEnd( TSelf(wxComboBox) _obj );
-void       wxComboBox_SetSelection( TSelf(wxComboBox) _obj, int n );
-void       wxComboBox_SetTextSelection( TSelf(wxComboBox) _obj, int from, int to );
-
-/* wxCommand */
-TClassDefExtend(wxCommand,wxObject)
-
-/* wxCommandEvent */
-TClassDefExtend(wxCommandEvent,wxEvent)
-void       wxCommandEvent_CopyObject( TSelf(wxCommandEvent) _obj, void* object_dest );
-TClass(wxCommandEvent) wxCommandEvent_Create( int _typ, int _id );
-void       wxCommandEvent_Delete( TSelf(wxCommandEvent) _obj );
-TClass(wxClientData) wxCommandEvent_GetClientData( TSelf(wxCommandEvent) _obj );
-TClass(wxClientData) wxCommandEvent_GetClientObject( TSelf(wxCommandEvent) _obj );
-long       wxCommandEvent_GetExtraLong( TSelf(wxCommandEvent) _obj );
-long       wxCommandEvent_GetInt( TSelf(wxCommandEvent) _obj );
-int        wxCommandEvent_GetSelection( TSelf(wxCommandEvent) _obj );
-TClass(wxString) wxCommandEvent_GetString( TSelf(wxCommandEvent) _obj );
-TBool      wxCommandEvent_IsChecked( TSelf(wxCommandEvent) _obj );
-TBool      wxCommandEvent_IsSelection( TSelf(wxCommandEvent) _obj );
-void       wxCommandEvent_SetClientData( TSelf(wxCommandEvent) _obj, TClass(wxClientData) clientData );
-void       wxCommandEvent_SetClientObject( TSelf(wxCommandEvent) _obj, TClass(wxClientData) clientObject );
-void       wxCommandEvent_SetExtraLong( TSelf(wxCommandEvent) _obj, long extraLong );
-void       wxCommandEvent_SetInt( TSelf(wxCommandEvent) _obj, int i );
-void       wxCommandEvent_SetString( TSelf(wxCommandEvent) _obj, TClass(wxString) s );
-
-/* wxCommandLineParser */
-TClassDef(wxCommandLineParser)
-
-/* wxCommandProcessor */
-TClassDefExtend(wxCommandProcessor,wxObject)
-TBool      wxCommandProcessor_CanRedo( TSelf(wxCommandProcessor) _obj );
-TBool      wxCommandProcessor_CanUndo( TSelf(wxCommandProcessor) _obj );
-void       wxCommandProcessor_ClearCommands( TSelf(wxCommandProcessor) _obj );
-void       wxCommandProcessor_Delete( TSelf(wxCommandProcessor) _obj );
-int        wxCommandProcessor_GetCommands( TSelf(wxCommandProcessor) _obj, void* _ref );
-void*      wxCommandProcessor_GetEditMenu( TSelf(wxCommandProcessor) _obj );
-int        wxCommandProcessor_GetMaxCommands( TSelf(wxCommandProcessor) _obj );
-void       wxCommandProcessor_Initialize( TSelf(wxCommandProcessor) _obj );
-int        wxCommandProcessor_Redo( TSelf(wxCommandProcessor) _obj );
-void       wxCommandProcessor_SetEditMenu( TSelf(wxCommandProcessor) _obj, TClass(wxMenu) menu );
-void       wxCommandProcessor_SetMenuStrings( TSelf(wxCommandProcessor) _obj );
-int        wxCommandProcessor_Submit( TSelf(wxCommandProcessor) _obj, TClass(wxCommand) command, int storeIt );
-int        wxCommandProcessor_Undo( TSelf(wxCommandProcessor) _obj );
-void*      wxCommandProcessor_wxCommandProcessor( int maxCommands );
-
-/* wxCondition */
-TClassDef(wxCondition)
-void       wxCondition_Broadcast( TSelf(wxCondition) _obj );
-TClass(wxCondition) wxCondition_Create( void* _mut );
-void       wxCondition_Delete( TSelf(wxCondition) _obj );
-void       wxCondition_Signal( TSelf(wxCondition) _obj );
-void       wxCondition_Wait( TSelf(wxCondition) _obj );
-int        wxCondition_WaitFor( TSelf(wxCondition) _obj, int sec, int nsec );
-
-/* wxConfigBase */
-TClassDef(wxConfigBase)
-TClass(wxConfigBase) wxConfigBase_Create(  );
-void       wxConfigBase_Delete( TSelf(wxConfigBase) _obj );
-TBool      wxConfigBase_DeleteAll( TSelf(wxConfigBase) _obj );
-TBool      wxConfigBase_DeleteEntry( TSelf(wxConfigBase) _obj, TClass(wxString) key, TBool bDeleteGroupIfEmpty );
-TBool      wxConfigBase_DeleteGroup( TSelf(wxConfigBase) _obj, TClass(wxString) key );
-TBool      wxConfigBase_Exists( TSelf(wxConfigBase) _obj, TClass(wxString) strName );
-TClass(wxString) wxConfigBase_ExpandEnvVars( TSelf(wxConfigBase) _obj, TClass(wxString) str );
-TBool      wxConfigBase_Flush( TSelf(wxConfigBase) _obj, TBool bCurrentOnly );
-TClass(wxString) wxConfigBase_GetAppName( TSelf(wxConfigBase) _obj );
-int        wxConfigBase_GetEntryType( TSelf(wxConfigBase) _obj, TClass(wxString) name );
-TClass(wxString) wxConfigBase_GetFirstEntry( TSelf(wxConfigBase) _obj, void* lIndex );
-TClass(wxString) wxConfigBase_GetFirstGroup( TSelf(wxConfigBase) _obj, void* lIndex );
-TClass(wxString) wxConfigBase_GetNextEntry( TSelf(wxConfigBase) _obj, void* lIndex);
-TClass(wxString) wxConfigBase_GetNextGroup( TSelf(wxConfigBase) _obj, void* lIndex);
-int        wxConfigBase_GetNumberOfEntries( TSelf(wxConfigBase) _obj, TBool bRecursive );
-int        wxConfigBase_GetNumberOfGroups( TSelf(wxConfigBase) _obj, TBool bRecursive );
-TClass(wxString) wxConfigBase_GetPath( TSelf(wxConfigBase) _obj );
-int        wxConfigBase_GetStyle( TSelf(wxConfigBase) _obj );
-TClass(wxString) wxConfigBase_GetVendorName( TSelf(wxConfigBase) _obj );
-TBool      wxConfigBase_HasEntry( TSelf(wxConfigBase) _obj, TClass(wxString) strName );
-TBool      wxConfigBase_HasGroup( TSelf(wxConfigBase) _obj, TClass(wxString) strName );
-TBool      wxConfigBase_IsExpandingEnvVars( TSelf(wxConfigBase) _obj );
-TBool      wxConfigBase_IsRecordingDefaults( TSelf(wxConfigBase) _obj );
-TBool      wxConfigBase_ReadBool( TSelf(wxConfigBase) _obj, TClass(wxString) key, TBool defVal );
-double     wxConfigBase_ReadDouble( TSelf(wxConfigBase) _obj, TClass(wxString) key, double defVal );
-int        wxConfigBase_ReadInteger( TSelf(wxConfigBase) _obj, TClass(wxString) key, int defVal );
-TClass(wxString) wxConfigBase_ReadString( TSelf(wxConfigBase) _obj, TClass(wxString) key, TClass(wxString) defVal );
-TBool      wxConfigBase_RenameEntry( TSelf(wxConfigBase) _obj, TClass(wxString) oldName, TClass(wxString) newName );
-TBool      wxConfigBase_RenameGroup( TSelf(wxConfigBase) _obj, TClass(wxString) oldName, TClass(wxString) newName );
-void       wxConfigBase_SetAppName( TSelf(wxConfigBase) _obj, TClass(wxString) appName );
-void       wxConfigBase_SetExpandEnvVars( TSelf(wxConfigBase) _obj, TBool bDoIt );
-void       wxConfigBase_SetPath( TSelf(wxConfigBase) _obj, TClass(wxString) strPath );
-void       wxConfigBase_SetRecordDefaults( TSelf(wxConfigBase) _obj, TBool bDoIt );
-void       wxConfigBase_SetStyle( TSelf(wxConfigBase) _obj, int style );
-void       wxConfigBase_SetVendorName( TSelf(wxConfigBase) _obj, TClass(wxString) vendorName );
-TBool      wxConfigBase_WriteBool( TSelf(wxConfigBase) _obj, TClass(wxString) key, TBool value );
-TBool      wxConfigBase_WriteDouble( TSelf(wxConfigBase) _obj, TClass(wxString) key, double value );
-TBool      wxConfigBase_WriteInteger( TSelf(wxConfigBase) _obj, TClass(wxString) key, int value );
-TBool      wxConfigBase_WriteLong( TSelf(wxConfigBase) _obj, TClass(wxString) key, long value );
-TBool      wxConfigBase_WriteString( TSelf(wxConfigBase) _obj, TClass(wxString) key, TClass(wxString) value );
-
-/* wxConnection */
-TClassDefExtend(wxConnection,wxConnectionBase)
-
-/* wxConnectionBase */
-TClassDefExtend(wxConnectionBase,wxObject)
-
-/* wxContextHelp */
-TClassDefExtend(wxContextHelp,wxObject)
-TBool      wxContextHelp_BeginContextHelp( TSelf(wxContextHelp) _obj, TClass(wxWindow) win );
-TClass(wxContextHelp) wxContextHelp_Create( TClass(wxWindow) win, TBool beginHelp );
-void       wxContextHelp_Delete( TSelf(wxContextHelp) _obj );
-TBool      wxContextHelp_EndContextHelp( TSelf(wxContextHelp) _obj );
-
-/* wxContextHelpButton */
-TClassDefExtend(wxContextHelpButton,wxBitmapButton)
-TClass(wxContextHelpButton) wxContextHelpButton_Create( TClass(wxWindow) parent, int id, TRect(x,y,w,h), long style );
-
-/* wxControl */
-TClassDefExtend(wxControl,wxWindow)
-void       wxControl_Command( TSelf(wxControl) _obj, TClass(wxEvent) event );
-TClass(wxString) wxControl_GetLabel( TSelf(wxControl) _obj );
-void       wxControl_SetLabel( TSelf(wxControl) _obj, TClass(wxString) text );
-
-/* wxCountingOutputStream */
-TClassDefExtend(wxCountingOutputStream,wxOutputStream)
-
-/* wxCriticalSection */
-TClassDef(wxCriticalSection)
-TClass(wxCriticalSection) wxCriticalSection_Create(  );
-void       wxCriticalSection_Delete( TSelf(wxCriticalSection) _obj );
-void       wxCriticalSection_Enter( TSelf(wxCriticalSection) _obj );
-void       wxCriticalSection_Leave( TSelf(wxCriticalSection) _obj );
-
-/* wxCriticalSectionLocker */
-TClassDef(wxCriticalSectionLocker)
-
-/* wxCursor */
-TClassDefExtend(wxCursor,wxBitmap)
-TClass(wxCursor)  Cursor_CreateFromStock( int _id );
-TClass(wxCursor)  Cursor_CreateFromImage( TClass(wxImage) image );
-TClass(wxCursor)  Cursor_CreateLoad( TClass(wxString) name, long type, TSize(width,height) );
-
-/* wxCustomDataObject */
-TClassDefExtend(wxCustomDataObject,wxDataObjectSimple)
-
-/* wxDC */
-TClassDefExtend(wxDC,wxObject)
-void       wxDC_BeginDrawing( TSelf(wxDC) _obj );
-TBool      wxDC_Blit( TSelf(wxDC) _obj, TRect(xdest,ydest,width,height), TClass(wxDC) source, TPoint(xsrc,ysrc), int rop, TBool useMask );
-void       wxDC_CalcBoundingBox( TSelf(wxDC) _obj, TPoint(x,y) );
-TBool      wxDC_CanDrawBitmap( TSelf(wxDC) _obj );
-TBool      wxDC_CanGetTextExtent( TSelf(wxDC) _obj );
-void       wxDC_Clear( TSelf(wxDC) _obj );
-void       wxDC_ComputeScaleAndOrigin( TSelf(wxDC) obj );
-void       wxDC_CrossHair( TSelf(wxDC) _obj, TPoint(x,y) );
-void       wxDC_Delete( TSelf(wxDC) _obj );
-void       wxDC_DestroyClippingRegion( TSelf(wxDC) _obj );
-int        wxDC_DeviceToLogicalX( TSelf(wxDC) _obj, int x );
-int        wxDC_DeviceToLogicalXRel( TSelf(wxDC) _obj, int x );
-int        wxDC_DeviceToLogicalY( TSelf(wxDC) _obj, int y );
-int        wxDC_DeviceToLogicalYRel( TSelf(wxDC) _obj, int y );
-void       wxDC_DrawArc( TSelf(wxDC) _obj, TPoint(x1,y1), TPoint(x2,y2), TPoint(xc,yc) );
-void       wxDC_DrawBitmap( TSelf(wxDC) _obj, TClass(wxBitmap) bmp, TPoint(x,y), TBool useMask );
-void       wxDC_DrawCheckMark( TSelf(wxDC) _obj, TRect(x,y,width,height) );
-void       wxDC_DrawCircle( TSelf(wxDC) _obj, TPoint(x,y), int radius );
-void       wxDC_DrawEllipse( TSelf(wxDC) _obj, TRect(x,y,width,height) );
-void       wxDC_DrawEllipticArc( TSelf(wxDC) _obj, TRect(x,y,w,h), double sa, double ea );
-void       wxDC_DrawIcon( TSelf(wxDC) _obj, TClass(wxIcon) icon, TPoint(x,y) );
-void       wxDC_DrawLabel( TSelf(wxDC) _obj, TClass(wxString) str, TRect(x,y,w,h), int align, int indexAccel);
-TClass(wxRect) wxDC_DrawLabelBitmap( TSelf(wxDC) _obj, TClass(wxString) str, TClass(wxBitmap) bmp, TRect(x,y,w,h), int align, int indexAccel );
-void       wxDC_DrawLine( TSelf(wxDC) _obj, TPoint(x1,y1), TPoint(x2,y2) );
-void       wxDC_DrawLines( TSelf(wxDC) _obj, int n, void* x, void* y, TPoint(xoffset,yoffset) );
-void       wxDC_DrawPoint( TSelf(wxDC) _obj, TPoint(x,y) );
-void       wxDC_DrawPolygon( TSelf(wxDC) _obj, int n, void* x, void* y, TPoint(xoffset,yoffset), int fillStyle );
-void       wxDC_DrawPolyPolygon( TSelf(wxDC) _obj, int n, void *count, void *x, void *y, TPoint(xoffset,yoffset), int fillStyle);
-void       wxDC_DrawRectangle( TSelf(wxDC) _obj, TRect(x,y,width,height) );
-void       wxDC_DrawRotatedText( TSelf(wxDC) _obj, TClass(wxString) text, TPoint(x,y), double angle );
-void       wxDC_DrawRoundedRectangle( TSelf(wxDC) _obj, TRect(x,y,width,height), double radius );
-void       wxDC_DrawText( TSelf(wxDC) _obj, TClass(wxString) text, TPoint(x,y) );
-void       wxDC_EndDoc( TSelf(wxDC) _obj );
-void       wxDC_EndDrawing( TSelf(wxDC) _obj );
-void       wxDC_EndPage( TSelf(wxDC) _obj );
-void       wxDC_FloodFill( TSelf(wxDC) _obj, TPoint(x,y), TClass(wxColour) col, int style );
-void       wxDC_GetBackground( TSelf(wxDC) _obj, TClassRef(wxBrush) _ref );
-int        wxDC_GetBackgroundMode( TSelf(wxDC) _obj );
-void       wxDC_GetBrush( TSelf(wxDC) _obj, TClassRef(wxBrush) _ref );
-int        wxDC_GetCharHeight( TSelf(wxDC) _obj );
-int        wxDC_GetCharWidth( TSelf(wxDC) _obj );
-void       wxDC_GetClippingBox( TSelf(wxDC) _obj, TRectOutVoid(_x,_y,_w,_h) );
-int        wxDC_GetDepth( TSelf(wxDC) _obj );
-void       wxDC_GetDeviceOrigin( TSelf(wxDC) _obj, TPointOutVoid(_x,_y) );
-void       wxDC_GetFont( TSelf(wxDC) _obj, TClassRef(wxFont) _ref );
-int        wxDC_GetLogicalFunction( TSelf(wxDC) _obj );
-void       wxDC_GetLogicalOrigin( TSelf(wxDC) _obj, TPointOutVoid(_x,_y) );
-void       wxDC_GetLogicalScale( TSelf(wxDC) _obj, TSizeOutDouble(_x,_y) );
-int        wxDC_GetMapMode( TSelf(wxDC) _obj );
-TClass(wxSize) wxDC_GetPPI( TSelf(wxDC) _obj );
-void       wxDC_GetPen( TSelf(wxDC) _obj, TClassRef(wxPen) _ref );
-TBool      wxDC_GetPixel( TSelf(wxDC) _obj, TPoint(x,y), TClass(wxColour) col );
-TClass(wxSize) wxDC_GetSize( TSelf(wxDC) _obj );
-TClass(wxSize) wxDC_GetSizeMM( TSelf(wxDC) _obj );
-void       wxDC_GetTextBackground( TSelf(wxDC) _obj, TClassRef(wxColour) _ref );
-void       wxDC_GetTextExtent( TSelf(wxDC) self, TClass(wxString) string, void* w, void* h, void* descent, void* externalLeading, TClass(wxFont) theFont );
-void       wxDC_GetMultiLineTextExtent( TSelf(wxDC) self, TClass(wxString) string, void* w, void* h, void* heightLine, TClass(wxFont) theFont );
-void       wxDC_GetTextForeground( TSelf(wxDC) _obj, TClassRef(wxColour) _ref );
-void       wxDC_GetUserScale( TSelf(wxDC) _obj, TSizeOutDouble(x, y) );
-int        wxDC_LogicalToDeviceX( TSelf(wxDC) _obj, int x );
-int        wxDC_LogicalToDeviceXRel( TSelf(wxDC) _obj, int x );
-int        wxDC_LogicalToDeviceY( TSelf(wxDC) _obj, int y );
-int        wxDC_LogicalToDeviceYRel( TSelf(wxDC) _obj, int y );
-int        wxDC_MaxX( TSelf(wxDC) _obj );
-int        wxDC_MaxY( TSelf(wxDC) _obj );
-int        wxDC_MinX( TSelf(wxDC) _obj );
-int        wxDC_MinY( TSelf(wxDC) _obj );
-TBool      wxDC_IsOk( TSelf(wxDC) _obj );
-void       wxDC_ResetBoundingBox( TSelf(wxDC) _obj );
-void       wxDC_SetAxisOrientation( TSelf(wxDC) _obj, TBool xLeftRight, TBool yBottomUp );
-void       wxDC_SetBackground( TSelf(wxDC) _obj, TClass(wxBrush) brush );
-void       wxDC_SetBackgroundMode( TSelf(wxDC) _obj, int mode );
-void       wxDC_SetBrush( TSelf(wxDC) _obj, TClass(wxBrush) brush );
-void       wxDC_SetClippingRegion( TSelf(wxDC) _obj, TRect(x,y,width,height) );
-void       wxDC_SetClippingRegionFromRegion( TSelf(wxDC) _obj, TClass(wxRegion) region );
-void       wxDC_SetDeviceOrigin( TSelf(wxDC) _obj, TPoint(x,y) );
-void       wxDC_SetFont( TSelf(wxDC) _obj, TClass(wxFont) font );
-void       wxDC_SetLogicalFunction( TSelf(wxDC) _obj, int function );
-void       wxDC_SetLogicalOrigin( TSelf(wxDC) _obj, TPoint(x,y) );
-void       wxDC_SetLogicalScale( TSelf(wxDC) _obj, double x, double y );
-void       wxDC_SetMapMode( TSelf(wxDC) _obj, int mode );
-void       wxDC_SetPalette( TSelf(wxDC) _obj, TClass(wxPalette) palette );
-void       wxDC_SetPen( TSelf(wxDC) _obj, TClass(wxPen) pen );
-void       wxDC_SetTextBackground( TSelf(wxDC) _obj, TClass(wxColour) colour );
-void       wxDC_SetTextForeground( TSelf(wxDC) _obj, TClass(wxColour) colour );
-void       wxDC_SetUserScale( TSelf(wxDC) _obj, double x, double y );
-TBool      wxDC_StartDoc( TSelf(wxDC) _obj, TClass(wxString) msg );
-void       wxDC_StartPage( TSelf(wxDC) _obj );
-
-/* wxDCClipper */
-TClassDef(wxDCClipper)
-
-/* wxDDEClient */
-TClassDefExtend(wxDDEClient,wxClientBase)
-
-/* wxDDEConnection */
-TClassDefExtend(wxDDEConnection,wxConnectionBase)
-
-/* wxDDEServer */
-TClassDefExtend(wxDDEServer,wxServerBase)
-
-/* wxDataFormat */
-TClassDef(wxDataFormat)
-TClass(wxDataFormat) wxDataFormat_CreateFromId( TClass(wxString) name );
-TClass(wxDataFormat) wxDataFormat_CreateFromType( int typ );
-void       wxDataFormat_Delete( TSelf(wxDataFormat) _obj );
-TClass(wxString) wxDataFormat_GetId( TSelf(wxDataFormat) _obj );
-int        wxDataFormat_GetType( TSelf(wxDataFormat) _obj );
-TBool      wxDataFormat_IsEqual( TSelf(wxDataFormat) _obj, void* other );
-void       wxDataFormat_SetId( TSelf(wxDataFormat) _obj, void* id );
-void       wxDataFormat_SetType( TSelf(wxDataFormat) _obj, int typ );
-
-/* wxDataInputStream */
-TClassDef(wxDataInputStream)
-
-/* wxDataObject */
-TClassDef(wxDataObject)
-
-/* wxDataObjectComposite */
-TClassDefExtend(wxDataObjectComposite,wxDataObject)
-void       wxDataObjectComposite_Add( TSelf(wxDataObjectComposite) _obj, void* _dat, int _preferred );
-TClass(wxDataObjectComposite) wxDataObjectComposite_Create(  );
-void       wxDataObjectComposite_Delete( TSelf(wxDataObjectComposite) _obj );
-
-/* wxDataObjectSimple */
-TClassDefExtend(wxDataObjectSimple,wxDataObject)
-
-/* wxDataOutputStream */
-TClassDef(wxDataOutputStream)
-
-/* wxDatabase */
-TClassDefExtend(wxDatabase,wxObject)
-
-/* wxDateTime */
-TClassDef(wxDateTime)
-void       wxDateTime_AddDate( TSelf(wxDateTime) _obj, void* diff, TClassRef(wxDateTime) _ref );
-void       wxDateTime_AddDateValues( TSelf(wxDateTime) _obj, int _yrs, int _mnt, int _wek, int _day );
-void       wxDateTime_AddTime( TSelf(wxDateTime) _obj, void* diff, TClassRef(wxDateTime) _ref );
-void       wxDateTime_AddTimeValues( TSelf(wxDateTime) _obj, int _hrs, int _min, int _sec, int _mls );
-int        wxDateTime_ConvertYearToBC( int year );
-TClass(wxDateTime) wxDateTime_Create( );
-TClass(wxString) wxDateTime_Format( TSelf(wxDateTime) _obj, void* format, int tz );
-TClass(wxString) wxDateTime_FormatDate( TSelf(wxDateTime) _obj );
-TClass(wxString) wxDateTime_FormatISODate( TSelf(wxDateTime) _obj );
-TClass(wxString) wxDateTime_FormatISOTime( TSelf(wxDateTime) _obj );
-TClass(wxString) wxDateTime_FormatTime( TSelf(wxDateTime) _obj );
-TClass(wxString) wxDateTime_GetAmString( );
-void       wxDateTime_GetBeginDST( int year, int country, TClass(wxDateTime) dt );
-int        wxDateTime_GetCentury( int year );
-int        wxDateTime_GetCountry(  );
-int        wxDateTime_GetCurrentMonth( int cal );
-int        wxDateTime_GetCurrentYear( int cal );
-int        wxDateTime_GetDay( TSelf(wxDateTime) _obj, int tz );
-int        wxDateTime_GetDayOfYear( TSelf(wxDateTime) _obj, int tz );
-void       wxDateTime_GetEndDST( int year, int country, TClass(wxDateTime) dt );
-int        wxDateTime_GetHour( TSelf(wxDateTime) _obj, int tz );
-void       wxDateTime_GetLastMonthDay( TSelf(wxDateTime) _obj, int month, int year, TClassRef(wxDateTime) _ref );
-void       wxDateTime_GetLastWeekDay( TSelf(wxDateTime) _obj, int weekday, int month, int year, TClassRef(wxDateTime) _ref );
-int        wxDateTime_GetMillisecond( TSelf(wxDateTime) _obj, int tz );
-int        wxDateTime_GetMinute( TSelf(wxDateTime) _obj, int tz );
-int        wxDateTime_GetMonth( TSelf(wxDateTime) _obj, int tz );
-TClass(wxString) wxDateTime_GetMonthName( int month, int flags );
-void       wxDateTime_GetNextWeekDay( TSelf(wxDateTime) _obj, int weekday, TClassRef(wxDateTime) _ref );
-int        wxDateTime_GetNumberOfDays( int year, int cal );
-int        wxDateTime_GetNumberOfDaysMonth( int month, int year, int cal );
-TClass(wxString) wxDateTime_GetPmString( );
-void       wxDateTime_GetPrevWeekDay( TSelf(wxDateTime) _obj, int weekday, TClassRef(wxDateTime) _ref );
-int        wxDateTime_GetSecond( TSelf(wxDateTime) _obj, int tz );
-time_t     wxDateTime_GetTicks( TSelf(wxDateTime) _obj );
-int        wxDateTime_GetTimeNow(  );
-void       wxDateTime_GetValue( TSelf(wxDateTime) _obj, void* hi_long, void* lo_long );
-void       wxDateTime_GetWeekDay( TSelf(wxDateTime) _obj, int weekday, int n, int month, int year, TClassRef(wxDateTime) _ref );
-void       wxDateTime_GetWeekDayInSameWeek( TSelf(wxDateTime) _obj, int weekday, TClassRef(wxDateTime) _ref );
-TClass(wxString) wxDateTime_GetWeekDayName( int weekday, int flags );
-int        wxDateTime_GetWeekDayTZ( TSelf(wxDateTime) _obj, int tz );
-int        wxDateTime_GetWeekOfMonth( TSelf(wxDateTime) _obj, int flags, int tz );
-int        wxDateTime_GetWeekOfYear( TSelf(wxDateTime) _obj, int flags, int tz );
-int        wxDateTime_GetYear( TSelf(wxDateTime) _obj, int tz );
-TBool      wxDateTime_IsBetween( TSelf(wxDateTime) _obj, TClass(wxDateTime) t1, TClass(wxDateTime) t2 );
-TBool      wxDateTime_IsDST( TSelf(wxDateTime) _obj, int country );
-TBool      wxDateTime_IsDSTApplicable( int year, int country );
-TBool      wxDateTime_IsEarlierThan( TSelf(wxDateTime) _obj, void* datetime );
-TBool      wxDateTime_IsEqualTo( TSelf(wxDateTime) _obj, void* datetime );
-TBool      wxDateTime_IsEqualUpTo( TSelf(wxDateTime) _obj, TClass(wxDateTime) dt, void* ts );
-TBool      wxDateTime_IsGregorianDate( TSelf(wxDateTime) _obj, int country );
-TBool      wxDateTime_IsLaterThan( TSelf(wxDateTime) _obj, void* datetime );
-TBool      wxDateTime_IsLeapYear( int year, int cal );
-TBool      wxDateTime_IsSameDate( TSelf(wxDateTime) _obj, TClass(wxDateTime) dt );
-TBool      wxDateTime_IsSameTime( TSelf(wxDateTime) _obj, TClass(wxDateTime) dt );
-TBool      wxDateTime_IsStrictlyBetween( TSelf(wxDateTime) _obj, TClass(wxDateTime) t1, TClass(wxDateTime) t2 );
-TBool      wxDateTime_IsValid( TSelf(wxDateTime) _obj );
-TBool      wxDateTime_IsWestEuropeanCountry( int country );
-TBool      wxDateTime_IsWorkDay( TSelf(wxDateTime) _obj, int country );
-void       wxDateTime_MakeGMT( TSelf(wxDateTime) _obj, int noDST );
-void       wxDateTime_MakeTimezone( TSelf(wxDateTime) _obj, int tz, int noDST );
-void       wxDateTime_Now( TSelf(wxDateTime) dt );
-void*      wxDateTime_ParseDate( TSelf(wxDateTime) _obj, void* date );
-void*      wxDateTime_ParseDateTime( TSelf(wxDateTime) _obj, void* datetime );
-void*      wxDateTime_ParseFormat( TSelf(wxDateTime) _obj, void* date, void* format, void* dateDef );
-void*      wxDateTime_ParseRfc822Date( TSelf(wxDateTime) _obj, void* date );
-void*      wxDateTime_ParseTime( TSelf(wxDateTime) _obj, TClass(wxTime) time );
-void       wxDateTime_ResetTime( TSelf(wxDateTime) _obj );
-void       wxDateTime_Set( TSelf(wxDateTime) _obj, int day, int month, int year, int hour, int minute, int second, int millisec );
-void       wxDateTime_SetCountry( int country );
-void       wxDateTime_SetDay( TSelf(wxDateTime) _obj, int day );
-void       wxDateTime_SetHour( TSelf(wxDateTime) _obj, int hour );
-void       wxDateTime_SetMillisecond( TSelf(wxDateTime) _obj, int millisecond );
-void       wxDateTime_SetMinute( TSelf(wxDateTime) _obj, int minute );
-void       wxDateTime_SetMonth( TSelf(wxDateTime) _obj, int month );
-void       wxDateTime_SetSecond( TSelf(wxDateTime) _obj, int second );
-void       wxDateTime_SetTime( TSelf(wxDateTime) _obj, int hour, int minute, int second, int millisec );
-void       wxDateTime_SetToCurrent( TSelf(wxDateTime) _obj );
-void       wxDateTime_SetToLastMonthDay( TSelf(wxDateTime) _obj, int month, int year );
-TBool      wxDateTime_SetToLastWeekDay( TSelf(wxDateTime) _obj, int weekday, int month, int year );
-void       wxDateTime_SetToNextWeekDay( TSelf(wxDateTime) _obj, int weekday );
-void       wxDateTime_SetToPrevWeekDay( TSelf(wxDateTime) _obj, int weekday );
-TBool      wxDateTime_SetToWeekDay( TSelf(wxDateTime) _obj, int weekday, int n, int month, int year );
-void       wxDateTime_SetToWeekDayInSameWeek( TSelf(wxDateTime) _obj, int weekday );
-void       wxDateTime_SetYear( TSelf(wxDateTime) _obj, int year );
-void       wxDateTime_SubtractDate( TSelf(wxDateTime) _obj, void* diff, TClassRef(wxDateTime) _ref );
-void       wxDateTime_SubtractTime( TSelf(wxDateTime) _obj, void* diff, TClassRef(wxDateTime) _ref );
-void       wxDateTime_ToGMT( TSelf(wxDateTime) _obj, int noDST );
-void       wxDateTime_ToTimezone( TSelf(wxDateTime) _obj, int tz, int noDST );
-void       wxDateTime_Today( TSelf(wxDateTime) dt );
-void       wxDateTime_UNow( TSelf(wxDateTime) dt );
-void*      wxDateTime_wxDateTime( int hi_long, int lo_long );
-
-/* wxDb */
-TClassDef(wxDb)
-
-/* wxDbColDef */
-TClassDef(wxDbColDef)
-
-/* wxDbColFor */
-TClassDef(wxDbColFor)
-
-/* wxDbColInf */
-TClassDef(wxDbColInf)
-
-/* wxDbConnectInf */
-TClassDef(wxDbConnectInf)
-
-/* wxDbInf */
-TClassDef(wxDbInf)
-
-/* wxDbSqlTypeInfo */
-TClassDef(wxDbSqlTypeInfo)
-
-/* wxDbTable */
-TClassDef(wxDbTable)
-
-/* wxDbTableInfo */
-TClassDef(wxDbTableInfo)
-
-/* wxDebugContext */
-TClassDef(wxDebugContext)
-
-/* wxDialUpEvent */
-TClassDefExtend(wxDialUpEvent,wxEvent)
-TBool      wxDialUpEvent_IsConnectedEvent( TSelf(wxDialUpEvent) _obj );
-TBool      wxDialUpEvent_IsOwnEvent( TSelf(wxDialUpEvent) _obj );
-
-/* wxDialUpManager */
-TClassDef(wxDialUpManager)
-TBool      wxDialUpManager_CancelDialing( TSelf(wxDialUpManager) _obj );
-TClass(wxDialUpManager) wxDialUpManager_Create(  );
-void       wxDialUpManager_Delete( TSelf(wxDialUpManager) _obj );
-TBool      wxDialUpManager_Dial( TSelf(wxDialUpManager) _obj, TClass(wxString) nameOfISP, TClass(wxString) username, TClass(wxString) password, TBool async );
-void       wxDialUpManager_DisableAutoCheckOnlineStatus( TSelf(wxDialUpManager) _obj );
-TBool      wxDialUpManager_EnableAutoCheckOnlineStatus( TSelf(wxDialUpManager) _obj, int nSeconds );
-int        wxDialUpManager_GetISPNames( TSelf(wxDialUpManager) _obj, TClass(wxList) _lst );
-TBool      wxDialUpManager_HangUp( TSelf(wxDialUpManager) _obj );
-TBool      wxDialUpManager_IsAlwaysOnline( TSelf(wxDialUpManager) _obj );
-TBool      wxDialUpManager_IsDialing( TSelf(wxDialUpManager) _obj );
-TBool      wxDialUpManager_IsOk( TSelf(wxDialUpManager) _obj );
-TBool      wxDialUpManager_IsOnline( TSelf(wxDialUpManager) _obj );
-void       wxDialUpManager_SetConnectCommand( TSelf(wxDialUpManager) _obj, TClass(wxString) commandDial, TClass(wxString) commandHangup );
-void       wxDialUpManager_SetOnlineStatus( TSelf(wxDialUpManager) _obj, TBool isOnline );
-void       wxDialUpManager_SetWellKnownHost( TSelf(wxDialUpManager) _obj, TClass(wxString) hostname, int portno );
-
-/* wxDialog */
-TClassDefExtend(wxDialog,wxTopLevelWindow)
-TClass(wxDialog) wxDialog_Create( TClass(wxWindow) _prt, int _id, TClass(wxString) _txt, TRect(_lft,_top,_wdt,_hgt), int _stl );
-void       wxDialog_EndModal( TSelf(wxDialog) _obj, int retCode );
-int        wxDialog_GetReturnCode( TSelf(wxDialog) _obj );
-TBool      wxDialog_IsModal( TSelf(wxDialog) _obj );
-void       wxDialog_SetReturnCode( TSelf(wxDialog) _obj, int returnCode );
-int        wxDialog_ShowModal( TSelf(wxDialog) _obj );
-
-/* wxDirDialog */
-TClassDefExtend(wxDirDialog,wxDialog)
-TClass(wxDirDialog) wxDirDialog_Create( TClass(wxWindow) _prt, TClass(wxString) _msg, TClass(wxString) _dir, TPoint(_lft,_top), int _stl );
-TClass(wxString) wxDirDialog_GetMessage( TSelf(wxDirDialog) _obj );
-TClass(wxString) wxDirDialog_GetPath( TSelf(wxDirDialog) _obj );
-int        wxDirDialog_GetStyle( TSelf(wxDirDialog) _obj );
-void       wxDirDialog_SetMessage( TSelf(wxDirDialog) _obj, TClass(wxString) msg );
-void       wxDirDialog_SetPath( TSelf(wxDirDialog) _obj, TClass(wxString) pth );
-void       wxDirDialog_SetStyle( TSelf(wxDirDialog) _obj, int style );
-
-/* wxDirTraverser */
-TClassDef(wxDirTraverser)
-
-/* wxDllLoader */
-TClassDef(wxDllLoader)
-/*
-void*      wxDllLoader_GetSymbol( int _handle, TStringVoid _name );
-int        wxDllLoader_LoadLibrary( TStringVoid _name, void* _success );
-void       wxDllLoader_UnloadLibrary( int _handle );
-*/
-
-/* wxDocChildFrame */
-TClassDefExtend(wxDocChildFrame,wxFrame)
-
-/* wxDocMDIChildFrame */
-TClassDefExtend(wxDocMDIChildFrame,wxMDIChildFrame)
-
-/* wxDocMDIParentFrame */
-TClassDefExtend(wxDocMDIParentFrame,wxMDIParentFrame)
-
-/* wxDocManager */
-TClassDefExtend(wxDocManager,wxEvtHandler)
-
-/* wxDocParentFrame */
-TClassDefExtend(wxDocParentFrame,wxFrame)
-
-/* wxDocTemplate */
-TClassDefExtend(wxDocTemplate,wxObject)
-
-/* wxDocument */
-TClassDefExtend(wxDocument,wxEvtHandler)
-
-/* wxDragImage */
-TClassDefExtend(wxDragImage,wxObject)
-
-/* wxDrawControl */
-TClassDefExtend(wxDrawControl,wxControl)
-TClass(wxDrawControl) wxDrawControl_Create( TClass(wxWindow) _prt, int _id, TRect(_lft,_top,_wdt,_hgt), int _stl );
-
-/* wxDrawWindow */
-TClassDefExtend(wxDrawWindow,wxWindow)
-TClass(wxDrawWindow) wxDrawWindow_Create( TClass(wxWindow) _prt, int _id, TRect(_lft,_top,_wdt,_hgt), int _stl );
-
-/* wxDropFilesEvent */
-TClassDefExtend(wxDropFilesEvent,wxEvent)
-
-/* wxDropSource */
-TClassDef(wxDropSource)
-TClass(wxDropSource) DropSource_Create( TClass(wxDataObject) data, TClass(wxWindow) win, void* copy, void* move, void* none );
-void       DropSource_Delete( TSelf(wxDropSource) _obj );
-int        DropSource_DoDragDrop( TSelf(wxDropSource) _obj, int _move );
-
-/* wxDropTarget */
-TClassDef(wxDropTarget)
-void       wxDropTarget_GetData( TSelf(wxDropTarget) _obj );
-void       wxDropTarget_SetDataObject( TSelf(wxDropTarget) _obj, TClass(wxDataObject) _dat );
-
-/* wxDynToolInfo */
-TClassDefExtend(wxDynToolInfo,wxToolLayoutItem)
-int        wxDynToolInfo_Index( TSelf(wxDynToolInfo) _obj );
-void       wxDynToolInfo_RealSize( TSelf(wxDynToolInfo) _obj, TSizeOutVoid(_w,_h) );
-void*      wxDynToolInfo_pToolWnd( TSelf(wxDynToolInfo) _obj );
-
-/* wxDynamicLibrary */
-TClassDef(wxDynamicLibrary)
-
-/* wxDynamicSashWindow */
-TClassDefExtend(wxDynamicSashWindow,wxWindow)
-TClass(wxDynamicSashWindow) wxDynamicSashWindow_Create( TClass(wxWindow) parent, int id, TRect(x,y,w,h), int style );
-void       wxDynamicSashWindow_Delete( TSelf(wxDynamicSashWindow) _obj );
-void*      wxDynamicSashWindow_GetHScrollBar( TSelf(wxDynamicSashWindow) _obj, TClass(wxWindow) child );
-void*      wxDynamicSashWindow_GetVScrollBar( TSelf(wxDynamicSashWindow) _obj, TClass(wxWindow) child );
-
-/* wxDynamicToolBar */
-TClassDefExtend(wxDynamicToolBar,wxToolBarBase)
-void       wxDynamicToolBar_AddSeparator( TSelf(wxDynamicToolBar) _obj, void* pSepartorWnd );
-void       wxDynamicToolBar_AddTool( TSelf(wxDynamicToolBar) _obj, int toolIndex, void* pToolWindow, TSize(w,h) );
-void*      wxDynamicToolBar_AddToolBitmap( TSelf(wxDynamicToolBar) _obj, int toolIndex, TClass(wxBitmap) bitmap, void* pushedBitmap, int toggle, TPoint(x,y), TClass(wxClientData) clientData, void* helpString1, void* helpString2 );
-void       wxDynamicToolBar_AddToolImage( TSelf(wxDynamicToolBar) _obj, int toolIndex, void* imageFileName, int imageFileType, void* labelText, int alignTextRight, TBool isFlat );
-void       wxDynamicToolBar_AddToolLabel( TSelf(wxDynamicToolBar) _obj, int toolIndex, void* labelBmp, void* labelText, int alignTextRight, TBool isFlat );
-TClass(wxDynamicToolBar) wxDynamicToolBar_Create( TClass(wxWindow) parent, int id, TRect(x,y,w,h), int style, int orientation, int RowsOrColumns );
-TClass(wxDynamicToolBar) wxDynamicToolBar_CreateDefault(  );
-void*      wxDynamicToolBar_CreateDefaultLayout( TSelf(wxDynamicToolBar) _obj );
-int        wxDynamicToolBar_CreateParams( TSelf(wxDynamicToolBar) _obj, TClass(wxWindow) parent, int id, TRect(x,y,w,h), int style, int orientation, int RowsOrColumns );
-void*      wxDynamicToolBar_CreateTool( TSelf(wxDynamicToolBar) _obj, int id, void* label, void* bmpNormal, void* bmpDisabled, int kind, TClass(wxClientData) clientData, void* shortHelp, void* longHelp );
-void*      wxDynamicToolBar_CreateToolControl( TSelf(wxDynamicToolBar) _obj, TClass(wxControl) control );
-void       wxDynamicToolBar_Delete( TSelf(wxDynamicToolBar) _obj );
-int        wxDynamicToolBar_DoDeleteTool( TSelf(wxDynamicToolBar) _obj, int pos, void* tool );
-void       wxDynamicToolBar_DoEnableTool( TSelf(wxDynamicToolBar) _obj, void* tool, TBool enable );
-int        wxDynamicToolBar_DoInsertTool( TSelf(wxDynamicToolBar) _obj, int pos, void* tool );
-void       wxDynamicToolBar_DoSetToggle( TSelf(wxDynamicToolBar) _obj, void* tool, int toggle );
-void       wxDynamicToolBar_DoToggleTool( TSelf(wxDynamicToolBar) _obj, void* tool, int toggle );
-void       wxDynamicToolBar_DrawSeparator( TSelf(wxDynamicToolBar) _obj, void* info, TClass(wxDC) dc );
-void       wxDynamicToolBar_EnableTool( TSelf(wxDynamicToolBar) _obj, int toolIndex, TBool enable );
-void*      wxDynamicToolBar_FindToolForPosition( TSelf(wxDynamicToolBar) _obj, TPoint(x,y) );
-void       wxDynamicToolBar_GetPreferredDim( TSelf(wxDynamicToolBar) _obj, int gw, int gh, void* pw, void* ph );
-void*      wxDynamicToolBar_GetToolInfo( TSelf(wxDynamicToolBar) _obj, int toolIndex );
-int        wxDynamicToolBar_Layout( TSelf(wxDynamicToolBar) _obj );
-void       wxDynamicToolBar_RemoveTool( TSelf(wxDynamicToolBar) _obj, int toolIndex );
-void       wxDynamicToolBar_SetLayout( TSelf(wxDynamicToolBar) _obj, void* pLayout );
-
-/* wxEditableListBox */
-TClassDefExtend(wxEditableListBox,wxPanel)
-TClass(wxEditableListBox) wxEditableListBox_Create( TClass(wxWindow) parent, int id, TStringVoid label, TRect(x,y,w,h), int style );
-void*      wxEditableListBox_GetDelButton( TSelf(wxEditableListBox) _obj );
-void*      wxEditableListBox_GetDownButton( TSelf(wxEditableListBox) _obj );
-void*      wxEditableListBox_GetEditButton( TSelf(wxEditableListBox) _obj );
-TClass(wxListCtrl) wxEditableListBox_GetListCtrl( TSelf(wxEditableListBox) _obj );
-void*      wxEditableListBox_GetNewButton( TSelf(wxEditableListBox) _obj );
-TArrayLen  wxEditableListBox_GetStrings( TSelf(wxEditableListBox) _obj, TArrayStringOutVoid _ref );
-void*      wxEditableListBox_GetUpButton( TSelf(wxEditableListBox) _obj );
-void       wxEditableListBox_SetStrings( TSelf(wxEditableListBox) _obj, void* strings, int _n );
-
-/* wxEncodingConverter */
-TClassDefExtend(wxEncodingConverter,wxObject)
-void       wxEncodingConverter_Convert( TSelf(wxEncodingConverter) _obj, void* input, void* output );
-TClass(wxEncodingConverter) wxEncodingConverter_Create(  );
-void       wxEncodingConverter_Delete( TSelf(wxEncodingConverter) _obj );
-int        wxEncodingConverter_GetAllEquivalents( TSelf(wxEncodingConverter) _obj, int enc, TClass(wxList) _lst );
-int        wxEncodingConverter_GetPlatformEquivalents( TSelf(wxEncodingConverter) _obj, int enc, int platform, TClass(wxList) _lst );
-int        wxEncodingConverter_Init( TSelf(wxEncodingConverter) _obj, int input_enc, int output_enc, int method );
-
-/* wxEraseEvent */
-TClassDefExtend(wxEraseEvent,wxEvent)
-void       wxEraseEvent_CopyObject( TSelf(wxEraseEvent) _obj, void* obj );
-TClass(wxDC) wxEraseEvent_GetDC( TSelf(wxEraseEvent) _obj );
-
-/* wxEvent */
-TClassDefExtend(wxEvent,wxObject)
-void       wxEvent_CopyObject( TSelf(wxEvent) _obj, void* object_dest );
-TClass(wxObject) wxEvent_GetEventObject( TSelf(wxEvent) _obj );
-int        wxEvent_GetEventType( TSelf(wxEvent) _obj );
-int        wxEvent_GetId( TSelf(wxEvent) _obj );
-TBool      wxEvent_GetSkipped( TSelf(wxEvent) _obj );
-int        wxEvent_GetTimestamp( TSelf(wxEvent) _obj );
-TBool      wxEvent_IsCommandEvent( TSelf(wxEvent) _obj );
-int        wxEvent_NewEventType(  );
-void       wxEvent_SetEventObject( TSelf(wxEvent) _obj, TClass(wxObject) obj );
-void       wxEvent_SetEventType( TSelf(wxEvent) _obj, int typ );
-void       wxEvent_SetId( TSelf(wxEvent) _obj, int Id );
-void       wxEvent_SetTimestamp( TSelf(wxEvent) _obj, int ts );
-void       wxEvent_Skip( TSelf(wxEvent) _obj );
-
-/* wxEvtHandler */
-TClassDefExtend(wxEvtHandler,wxObject)
-void       wxEvtHandler_AddPendingEvent( TSelf(wxEvtHandler) _obj, TClass(wxEvent) event );
-int        wxEvtHandler_Connect( TSelf(wxEvtHandler) _obj, int first, int last, int type, void* data );
-TClass(wxEvtHandler) wxEvtHandler_Create(  );
-void       wxEvtHandler_Delete( TSelf(wxEvtHandler) _obj );
-int        wxEvtHandler_Disconnect( TSelf(wxEvtHandler) _obj, int first, int last, int type, int id );
-TBool      wxEvtHandler_GetEvtHandlerEnabled( TSelf(wxEvtHandler) _obj );
-TClass(wxEvtHandler) wxEvtHandler_GetNextHandler( TSelf(wxEvtHandler) _obj );
-TClass(wxEvtHandler) wxEvtHandler_GetPreviousHandler( TSelf(wxEvtHandler) _obj );
-TBool      wxEvtHandler_ProcessEvent( TSelf(wxEvtHandler) _obj, TClass(wxEvent) event );
-void       wxEvtHandler_ProcessPendingEvents( TSelf(wxEvtHandler) _obj );
-void       wxEvtHandler_SetEvtHandlerEnabled( TSelf(wxEvtHandler) _obj, TBool enabled );
-void       wxEvtHandler_SetNextHandler( TSelf(wxEvtHandler) _obj, TClass(wxEvtHandler) handler );
-void       wxEvtHandler_SetPreviousHandler( TSelf(wxEvtHandler) _obj, TClass(wxEvtHandler) handler );
-
-/* wxExpr */
-TClassDef(wxExpr)
-
-/* wxExprDatabase */
-TClassDefExtend(wxExprDatabase,wxList)
-
-/* wxFFile */
-TClassDef(wxFFile)
-
-/* wxFFileInputStream */
-TClassDefExtend(wxFFileInputStream,wxInputStream)
-
-/* wxFFileOutputStream */
-TClassDefExtend(wxFFileOutputStream,wxOutputStream)
-
-/* wxFSFile */
-TClassDefExtend(wxFSFile,wxObject)
-
-/* wxFTP */
-TClassDefExtend(wxFTP,wxProtocol)
-
-/* wxFileDataObject */
-TClassDefExtend(wxFileDataObject,wxDataObjectSimple)
-void       FileDataObject_AddFile( TSelf(wxFileDataObject) _obj, TClass(wxString) _fle );
-TClass(wxFileDataObject) FileDataObject_Create( TArrayString(_cnt, _lst) );
-void       FileDataObject_Delete( TSelf(wxFileDataObject) _obj );
-TArrayLen        FileDataObject_GetFilenames( TSelf(wxFileDataObject) _obj, TArrayStringOutVoid _lst );
-
-/* wxFileDialog */
-TClassDefExtend(wxFileDialog,wxDialog)
-TClass(wxFileDialog) wxFileDialog_Create( TClass(wxWindow) _prt, TClass(wxString) _msg, TClass(wxString) _dir, TClass(wxString) _fle, TClass(wxString) _wcd, TPoint(_lft,_top), int _stl );
-TClass(wxString) wxFileDialog_GetDirectory( TSelf(wxFileDialog) _obj );
-TClass(wxString) wxFileDialog_GetFilename( TSelf(wxFileDialog) _obj );
-TArrayLen  wxFileDialog_GetFilenames( TSelf(wxFileDialog) _obj, TArrayStringOutVoid paths );
-int        wxFileDialog_GetFilterIndex( TSelf(wxFileDialog) _obj );
-TClass(wxString) wxFileDialog_GetMessage( TSelf(wxFileDialog) _obj );
-TClass(wxString) wxFileDialog_GetPath( TSelf(wxFileDialog) _obj );
-TArrayLen  wxFileDialog_GetPaths( TSelf(wxFileDialog) _obj, TArrayStringOutVoid paths );
-int        wxFileDialog_GetStyle( TSelf(wxFileDialog) _obj );
-TClass(wxString) wxFileDialog_GetWildcard( TSelf(wxFileDialog) _obj );
-void       wxFileDialog_SetDirectory( TSelf(wxFileDialog) _obj, TClass(wxString) dir );
-void       wxFileDialog_SetFilename( TSelf(wxFileDialog) _obj, TClass(wxString) name );
-void       wxFileDialog_SetFilterIndex( TSelf(wxFileDialog) _obj, int filterIndex );
-void       wxFileDialog_SetMessage( TSelf(wxFileDialog) _obj, TClass(wxString) message );
-void       wxFileDialog_SetPath( TSelf(wxFileDialog) _obj, TClass(wxString) path );
-void       wxFileDialog_SetStyle( TSelf(wxFileDialog) _obj, int style );
-void       wxFileDialog_SetWildcard( TSelf(wxFileDialog) _obj, TClass(wxString) wildCard );
-
-/* wxFileDropTarget */
-TClassDefExtend(wxFileDropTarget,wxDropTarget)
-
-/* wxFileHistory */
-TClassDefExtend(wxFileHistory,wxObject)
-void       wxFileHistory_AddFileToHistory( TSelf(wxFileHistory) _obj, TClass(wxString) file );
-void       wxFileHistory_AddFilesToMenu( TSelf(wxFileHistory) _obj, TClass(wxMenu) menu );
-TClass(wxFileHistory) wxFileHistory_Create( int maxFiles );
-void       wxFileHistory_Delete( TSelf(wxFileHistory) _obj );
-int        wxFileHistory_GetCount( TSelf(wxFileHistory) _obj );
-TClass(wxString) wxFileHistory_GetHistoryFile( TSelf(wxFileHistory) _obj, int i );
-int        wxFileHistory_GetMaxFiles( TSelf(wxFileHistory) _obj );
-TArrayLen  wxFileHistory_GetMenus( TSelf(wxFileHistory) _obj, TArrayObjectOutVoid(wxMenu) _ref );
-void       wxFileHistory_Load( TSelf(wxFileHistory) _obj, TClass(wxConfigBase) config );
-void       wxFileHistory_RemoveFileFromHistory( TSelf(wxFileHistory) _obj, int i );
-void       wxFileHistory_RemoveMenu( TSelf(wxFileHistory) _obj, TClass(wxMenu) menu );
-void       wxFileHistory_Save( TSelf(wxFileHistory) _obj, TClass(wxConfigBase) config );
-void       wxFileHistory_UseMenu( TSelf(wxFileHistory) _obj, TClass(wxMenu) menu );
-
-/* wxFileInputStream */
-TClassDefExtend(wxFileInputStream,wxInputStream)
-
-/* wxFileName */
-TClassDef(wxFileName)
-
-/* wxFileOutputStream */
-TClassDefExtend(wxFileOutputStream,wxOutputStream)
-
-/* wxFileSystem */
-TClassDefExtend(wxFileSystem,wxObject)
-
-/* wxFileSystemHandler */
-TClassDefExtend(wxFileSystemHandler,wxObject)
-
-/* wxFileType */
-TClassDef(wxFileType)
-void       wxFileType_Delete( TSelf(wxFileType) _obj );
-TClass(wxString) wxFileType_ExpandCommand( TSelf(wxFileType) _obj, void* _cmd, void* _params );
-TClass(wxString) wxFileType_GetDescription( TSelf(wxFileType) _obj );
-int        wxFileType_GetExtensions( TSelf(wxFileType) _obj, TClass(wxList) _lst );
-int        wxFileType_GetIcon( TSelf(wxFileType) _obj, TClass(wxIcon) icon );
-TClass(wxString) wxFileType_GetMimeType( TSelf(wxFileType) _obj );
-int        wxFileType_GetMimeTypes( TSelf(wxFileType) _obj, TClass(wxList) _lst );
-int        wxFileType_GetOpenCommand( TSelf(wxFileType) _obj, void* _buf, void* _params );
-int        wxFileType_GetPrintCommand( TSelf(wxFileType) _obj, void* _buf, void* _params );
-
-/* wxFilterInputStream */
-TClassDefExtend(wxFilterInputStream,wxInputStream)
-
-/* wxFilterOutputStream */
-TClassDefExtend(wxFilterOutputStream,wxOutputStream)
-
-/* wxFindDialogEvent */
-TClassDefExtend(wxFindDialogEvent,wxCommandEvent)
-int        wxFindDialogEvent_GetFindString( TSelf(wxFindDialogEvent) _obj, void* _ref );
-int        wxFindDialogEvent_GetFlags( TSelf(wxFindDialogEvent) _obj );
-int        wxFindDialogEvent_GetReplaceString( TSelf(wxFindDialogEvent) _obj, void* _ref );
-
-/* wxFindReplaceData */
-TClassDefExtend(wxFindReplaceData,wxObject)
-TClass(wxFindReplaceData) wxFindReplaceData_Create( int flags );
-TClass(wxFindReplaceData) wxFindReplaceData_CreateDefault(  );
-void       wxFindReplaceData_Delete( TSelf(wxFindReplaceData) _obj );
-TClass(wxString) wxFindReplaceData_GetFindString( TSelf(wxFindReplaceData) _obj );
-int        wxFindReplaceData_GetFlags( TSelf(wxFindReplaceData) _obj );
-TClass(wxString) wxFindReplaceData_GetReplaceString( TSelf(wxFindReplaceData) _obj );
-void       wxFindReplaceData_SetFindString( TSelf(wxFindReplaceData) _obj, TClass(wxString) str );
-void       wxFindReplaceData_SetFlags( TSelf(wxFindReplaceData) _obj, int flags );
-void       wxFindReplaceData_SetReplaceString( TSelf(wxFindReplaceData) _obj, TClass(wxString) str );
-
-/* wxFindReplaceDialog */
-TClassDefExtend(wxFindReplaceDialog,wxDialog)
-TClass(wxFindReplaceDialog) wxFindReplaceDialog_Create( TClass(wxWindow) parent, TClass(wxFindReplaceData) data, TClass(wxString) title, int style );
-TClass(wxFindReplaceData)   wxFindReplaceDialog_GetData( TSelf(wxFindReplaceDialog) _obj );
-void       wxFindReplaceDialog_SetData( TSelf(wxFindReplaceDialog) _obj, TClass(wxFindReplaceData) data );
-
-/* wxFlexGridSizer */
-TClassDefExtend(wxFlexGridSizer,wxGridSizer)
-void       wxFlexGridSizer_AddGrowableCol( TSelf(wxFlexGridSizer) _obj, size_t idx );
-void       wxFlexGridSizer_AddGrowableRow( TSelf(wxFlexGridSizer) _obj, size_t idx );
-TClass(wxSize) wxFlexGridSizer_CalcMin( TSelf(wxFlexGridSizer) _obj );
-TClass(wxFlexGridSizer) wxFlexGridSizer_Create( int rows, int cols, int vgap, int hgap );
-void       wxFlexGridSizer_RecalcSizes( TSelf(wxFlexGridSizer) _obj );
-void       wxFlexGridSizer_RemoveGrowableCol( TSelf(wxFlexGridSizer) _obj, size_t idx );
-void       wxFlexGridSizer_RemoveGrowableRow( TSelf(wxFlexGridSizer) _obj, size_t idx );
-
-/* wxFocusEvent */
-TClassDefExtend(wxFocusEvent,wxEvent)
-
-/* wxFont */
-TClassDefExtend(wxFont,wxGDIObject)
-TClass(wxFont) wxFont_Create( int pointSize, int family, int style, int weight, TBool underlined, TClass(wxString) face, int enc );
-TClass(wxFont) wxFont_CreateFromStock( int id );
-TClass(wxFont) wxFont_CreateDefault(  );
-void       wxFont_Delete( TSelf(wxFont) _obj );
-int        wxFont_GetDefaultEncoding( TSelf(wxFont) _obj );
-int        wxFont_GetEncoding( TSelf(wxFont) _obj );
-TClass(wxString) wxFont_GetFaceName( TSelf(wxFont) _obj );
-int        wxFont_GetFamily( TSelf(wxFont) _obj );
-TClass(wxString) wxFont_GetFamilyString( TSelf(wxFont) _obj );
-int        wxFont_GetPointSize( TSelf(wxFont) _obj );
-int        wxFont_GetStyle( TSelf(wxFont) _obj );
-TClass(wxString) wxFont_GetStyleString( TSelf(wxFont) _obj );
-int        wxFont_GetUnderlined( TSelf(wxFont) _obj );
-int        wxFont_GetWeight( TSelf(wxFont) _obj );
-TClass(wxString) wxFont_GetWeightString( TSelf(wxFont) _obj );
-TBool      wxFont_IsOk( TSelf(wxFont) _obj );
-void       wxFont_SetDefaultEncoding( TSelf(wxFont) _obj, int encoding );
-void       wxFont_SetEncoding( TSelf(wxFont) _obj, int encoding );
-void       wxFont_SetFaceName( TSelf(wxFont) _obj, TClass(wxString) faceName );
-void       wxFont_SetFamily( TSelf(wxFont) _obj, int family );
-void       wxFont_SetPointSize( TSelf(wxFont) _obj, int pointSize );
-void       wxFont_SetStyle( TSelf(wxFont) _obj, int style );
-void       wxFont_SetUnderlined( TSelf(wxFont) _obj, int underlined );
-void       wxFont_SetWeight( TSelf(wxFont) _obj, int weight );
-
-/* wxFontData */
-TClassDefExtend(wxFontData,wxObject)
-TClass(wxFontData) wxFontData_Create(  );
-void       wxFontData_Delete( TSelf(wxFontData) _obj );
-void       wxFontData_EnableEffects( TSelf(wxFontData) _obj, TBool flag );
-TBool      wxFontData_GetAllowSymbols( TSelf(wxFontData) _obj );
-void       wxFontData_GetChosenFont( TSelf(wxFontData) _obj, TClassRef(wxFont) ref );
-void       wxFontData_GetColour( TSelf(wxFontData) _obj, TClassRef(wxColour) _ref );
-TBool      wxFontData_GetEnableEffects( TSelf(wxFontData) _obj );
-int        wxFontData_GetEncoding( TSelf(wxFontData) _obj );
-void       wxFontData_GetInitialFont( TSelf(wxFontData) _obj, TClassRef(wxFont) ref );
-int        wxFontData_GetShowHelp( TSelf(wxFontData) _obj );
-void       wxFontData_SetAllowSymbols( TSelf(wxFontData) _obj, TBool flag );
-void       wxFontData_SetChosenFont( TSelf(wxFontData) _obj, TClass(wxFont) font );
-void       wxFontData_SetColour( TSelf(wxFontData) _obj, TClass(wxColour) colour );
-void       wxFontData_SetEncoding( TSelf(wxFontData) _obj, int encoding );
-void       wxFontData_SetInitialFont( TSelf(wxFontData) _obj, TClass(wxFont) font );
-void       wxFontData_SetRange( TSelf(wxFontData) _obj, int minRange, int maxRange );
-void       wxFontData_SetShowHelp( TSelf(wxFontData) _obj, TBool flag );
-
-/* wxFontDialog */
-TClassDefExtend(wxFontDialog,wxDialog)
-TClass(wxFontDialog) wxFontDialog_Create( TClass(wxWindow) _prt, TClass(wxFontData) fnt );
-void       wxFontDialog_GetFontData( TSelf(wxFontDialog) _obj, TClassRef(wxFontData) _ref );
-
-/* wxFontEnumerator */
-TClassDef(wxFontEnumerator)
-TClass(wxFontEnumerator) wxFontEnumerator_Create( void* _obj, void* _fnc );
-void       wxFontEnumerator_Delete( TSelf(wxFontEnumerator) _obj );
-TBool      wxFontEnumerator_EnumerateEncodings( TSelf(wxFontEnumerator) _obj, TClass(wxString) facename );
-TBool      wxFontEnumerator_EnumerateFacenames( TSelf(wxFontEnumerator) _obj, int encoding, int fixedWidthOnly );
-
-/* wxFontList */
-TClassDefExtend(wxFontList,wxList)
-
-/* wxFontMapper */
-TClassDef(wxFontMapper)
-TClass(wxFontMapper) wxFontMapper_Create(  );
-TBool wxFontMapper_GetAltForEncoding( TSelf(wxFontMapper) _obj, int encoding, void* alt_encoding, TClass(wxString) _buf );
-TBool wxFontMapper_IsEncodingAvailable( TSelf(wxFontMapper) _obj, int encoding, TClass(wxString) _buf );
-
-/* wxFrame */
-TClassDefExtend(wxFrame,wxTopLevelWindow)
-TClass(wxFrame) wxFrame_Create( TClass(wxWindow) _prt, int _id, TClass(wxString) _txt, TRect(_lft,_top,_wdt,_hgt), int _stl );
-TClass(wxStatusBar) wxFrame_CreateStatusBar( TSelf(wxFrame) _obj, int number, int style );
-TClass(wxToolBar)   wxFrame_CreateToolBar( TSelf(wxFrame) _obj, long style );
-int        wxFrame_GetClientAreaOrigin_left( TSelf(wxFrame) _obj );
-int        wxFrame_GetClientAreaOrigin_top( TSelf(wxFrame) _obj );
-TClass(wxMenuBar) wxFrame_GetMenuBar( TSelf(wxFrame) _obj );
-TClass(wxStatusBar) wxFrame_GetStatusBar( TSelf(wxFrame) _obj );
-TClass(wxToolBar) wxFrame_GetToolBar( TSelf(wxFrame) _obj );
-void       wxFrame_Restore( TSelf(wxFrame) _obj );
-void       wxFrame_SetMenuBar( TSelf(wxFrame) _obj, TClass(wxMenuBar) menubar );
-void       wxFrame_SetStatusBar( TSelf(wxFrame) _obj, TClass(wxStatusBar) statBar );
-void       wxFrame_SetStatusText( TSelf(wxFrame) _obj, TClass(wxString) _txt, int _number );
-void       wxFrame_SetStatusWidths( TSelf(wxFrame) _obj, int _n, void* _widths_field );
-void       wxFrame_SetToolBar( TSelf(wxFrame) _obj, TClass(wxToolBar) _toolbar );
-
-/* wxFrameLayout */
-TClassDefExtend(wxFrameLayout,wxEvtHandler)
-void       wxFrameLayout_Activate( TSelf(wxFrameLayout) _obj );
-void       wxFrameLayout_AddBar( TSelf(wxFrameLayout) _obj, void* pBarWnd, void* dimInfo, int alignment, int rowNo, int columnPos, TStringVoid name, int spyEvents, int state );
-void       wxFrameLayout_AddPlugin( TSelf(wxFrameLayout) _obj, void* pPlInfo, int paneMask );
-void       wxFrameLayout_AddPluginBefore( TSelf(wxFrameLayout) _obj, void* pNextPlInfo, void* pPlInfo, int paneMask );
-void       wxFrameLayout_ApplyBarProperties( TSelf(wxFrameLayout) _obj, void* pBar );
-void       wxFrameLayout_CaptureEventsForPane( TSelf(wxFrameLayout) _obj, void* toPane );
-void       wxFrameLayout_CaptureEventsForPlugin( TSelf(wxFrameLayout) _obj, void* pPlugin );
-TClass(wxFrameLayout) wxFrameLayout_Create( void* pParentFrame, void* pFrameClient, int activateNow );
-void       wxFrameLayout_Deactivate( TSelf(wxFrameLayout) _obj );
-void       wxFrameLayout_Delete( TSelf(wxFrameLayout) _obj );
-void       wxFrameLayout_DestroyBarWindows( TSelf(wxFrameLayout) _obj );
-void       wxFrameLayout_EnableFloating( TSelf(wxFrameLayout) _obj, TBool enable );
-void*      wxFrameLayout_FindBarByName( TSelf(wxFrameLayout) _obj, TStringVoid name );
-void*      wxFrameLayout_FindBarByWindow( TSelf(wxFrameLayout) _obj, void* pWnd );
-void*      wxFrameLayout_FindPlugin( TSelf(wxFrameLayout) _obj, void* pPlInfo );
-void       wxFrameLayout_FirePluginEvent( TSelf(wxFrameLayout) _obj, TClass(wxEvent) event );
-int        wxFrameLayout_GetBars( TSelf(wxFrameLayout) _obj, void* _ref );
-int        wxFrameLayout_GetClientHeight( TSelf(wxFrameLayout) _obj );
-void       wxFrameLayout_GetClientRect( TSelf(wxFrameLayout) _obj, TRectOutVoid(_x,_y,_w,_h) );
-int        wxFrameLayout_GetClientWidth( TSelf(wxFrameLayout) _obj );
-void*      wxFrameLayout_GetFrameClient( TSelf(wxFrameLayout) _obj );
-void*      wxFrameLayout_GetPane( TSelf(wxFrameLayout) _obj, int alignment );
-void       wxFrameLayout_GetPaneProperties( TSelf(wxFrameLayout) _obj, void* props, int alignment );
-void*      wxFrameLayout_GetParentFrame( TSelf(wxFrameLayout) _obj );
-void*      wxFrameLayout_GetTopPlugin( TSelf(wxFrameLayout) _obj );
-void*      wxFrameLayout_GetUpdatesManager( TSelf(wxFrameLayout) _obj );
-TBool      wxFrameLayout_HasTopPlugin( TSelf(wxFrameLayout) _obj );
-void       wxFrameLayout_HideBarWindows( TSelf(wxFrameLayout) _obj );
-void       wxFrameLayout_InverseVisibility( TSelf(wxFrameLayout) _obj, void* pBar );
-void       wxFrameLayout_OnLButtonDown( TSelf(wxFrameLayout) _obj, TClass(wxEvent) event );
-void       wxFrameLayout_OnLButtonUp( TSelf(wxFrameLayout) _obj, TClass(wxEvent) event );
-void       wxFrameLayout_OnLDblClick( TSelf(wxFrameLayout) _obj, TClass(wxEvent) event );
-void       wxFrameLayout_OnMouseMove( TSelf(wxFrameLayout) _obj, TClass(wxEvent) event );
-void       wxFrameLayout_OnRButtonDown( TSelf(wxFrameLayout) _obj, TClass(wxEvent) event );
-void       wxFrameLayout_OnRButtonUp( TSelf(wxFrameLayout) _obj, TClass(wxEvent) event );
-void       wxFrameLayout_OnSize( TSelf(wxFrameLayout) _obj, TClass(wxEvent) event );
-void       wxFrameLayout_PopAllPlugins( TSelf(wxFrameLayout) _obj );
-void       wxFrameLayout_PopPlugin( TSelf(wxFrameLayout) _obj );
-void       wxFrameLayout_PushDefaultPlugins( TSelf(wxFrameLayout) _obj );
-void       wxFrameLayout_PushPlugin( TSelf(wxFrameLayout) _obj, void* pPugin );
-void       wxFrameLayout_RecalcLayout( TSelf(wxFrameLayout) _obj, int repositionBarsNow );
-int        wxFrameLayout_RedockBar( TSelf(wxFrameLayout) _obj, void* pBar, TRect(x,y,w,h), void* pToPane, int updateNow );
-void       wxFrameLayout_RefreshNow( TSelf(wxFrameLayout) _obj, int recalcLayout );
-void       wxFrameLayout_ReleaseEventsFromPane( TSelf(wxFrameLayout) _obj, void* fromPane );
-void       wxFrameLayout_ReleaseEventsFromPlugin( TSelf(wxFrameLayout) _obj, void* pPlugin );
-void       wxFrameLayout_RemoveBar( TSelf(wxFrameLayout) _obj, void* pBar );
-void       wxFrameLayout_RemovePlugin( TSelf(wxFrameLayout) _obj, void* pPlInfo );
-void       wxFrameLayout_SetBarState( TSelf(wxFrameLayout) _obj, void* pBar, int newStatem, int updateNow );
-void       wxFrameLayout_SetFrameClient( TSelf(wxFrameLayout) _obj, void* pFrameClient );
-void       wxFrameLayout_SetMargins( TSelf(wxFrameLayout) _obj, int top, int bottom, int left, int right, int paneMask );
-void       wxFrameLayout_SetPaneBackground( TSelf(wxFrameLayout) _obj, TClass(wxColour) colour );
-void       wxFrameLayout_SetPaneProperties( TSelf(wxFrameLayout) _obj, void* props, int paneMask );
-void       wxFrameLayout_SetTopPlugin( TSelf(wxFrameLayout) _obj, void* pPlugin );
-void       wxFrameLayout_SetUpdatesManager( TSelf(wxFrameLayout) _obj, void* pUMgr );
-
-/* wxGDIObject */
-TClassDefExtend(wxGDIObject,wxObject)
-
-/* wxGLCanvas */
-TClassDefExtend(wxGLCanvas,wxScrolledWindow)
-
-/* wxGauge */
-TClassDefExtend(wxGauge,wxControl)
-TClass(wxGauge) wxGauge_Create( TClass(wxWindow) _prt, int _id, int _rng, TRect(_lft,_top,_wdt,_hgt), int _stl );
-int        wxGauge_GetBezelFace( TSelf(wxGauge) _obj );
-int        wxGauge_GetRange( TSelf(wxGauge) _obj );
-int        wxGauge_GetShadowWidth( TSelf(wxGauge) _obj );
-int        wxGauge_GetValue( TSelf(wxGauge) _obj );
-void       wxGauge_SetBezelFace( TSelf(wxGauge) _obj, int w );
-void       wxGauge_SetRange( TSelf(wxGauge) _obj, int r );
-void       wxGauge_SetShadowWidth( TSelf(wxGauge) _obj, int w );
-void       wxGauge_SetValue( TSelf(wxGauge) _obj, int pos );
-
-/* wxGenericDirCtrl */
-TClassDefExtend(wxGenericDirCtrl,wxControl)
-
-/* wxGenericValidator */
-TClassDefExtend(wxGenericValidator,wxValidator)
-
-/* wxGrid */
-TClassDefExtend(wxGrid,wxScrolledWindow)
-TBool      wxGrid_AppendCols( TSelf(wxGrid) _obj, int numCols, TBool updateLabels );
-TBool      wxGrid_AppendRows( TSelf(wxGrid) _obj, int numRows, TBool updateLabels );
-void       wxGrid_AutoSize( TSelf(wxGrid) _obj );
-void       wxGrid_AutoSizeColumn( TSelf(wxGrid) _obj, int col, TBoolInt setAsMin );
-void       wxGrid_AutoSizeColumns( TSelf(wxGrid) _obj, TBoolInt setAsMin );
-void       wxGrid_AutoSizeRow( TSelf(wxGrid) _obj, int row, TBoolInt setAsMin );
-void       wxGrid_AutoSizeRows( TSelf(wxGrid) _obj, TBoolInt setAsMin );
-void       wxGrid_BeginBatch( TSelf(wxGrid) _obj );
-TClass(wxRect) wxGrid_BlockToDeviceRect( TSelf(wxGrid) _obj, int top, int left, int bottom, int right );
-void       wxGrid_CalcCellsExposed( TSelf(wxGrid) _obj, TClass(wxRegion) reg );
-void       wxGrid_CalcColLabelsExposed( TSelf(wxGrid) _obj, TClass(wxRegion) reg );
-void       wxGrid_CalcRowLabelsExposed( TSelf(wxGrid) _obj, TClass(wxRegion) reg );
-TBool      wxGrid_CanDragColSize( TSelf(wxGrid) _obj );
-TBool      wxGrid_CanDragGridSize( TSelf(wxGrid) _obj );
-TBool      wxGrid_CanDragRowSize( TSelf(wxGrid) _obj );
-TBool      wxGrid_CanEnableCellControl( TSelf(wxGrid) _obj );
-TClass(wxRect) wxGrid_CellToRect( TSelf(wxGrid) _obj, int row, int col );
-void       wxGrid_ClearGrid( TSelf(wxGrid) _obj );
-void       wxGrid_ClearSelection( TSelf(wxGrid) _obj );
-TClass(wxGrid) wxGrid_Create( TClass(wxWindow) _prt, int _id, TRect(_lft,_top,_wdt,_hgt), int _stl );
-void       wxGrid_CreateGrid( TSelf(wxGrid) _obj, int rows, int cols, int selmode );
-TBool      wxGrid_DeleteCols( TSelf(wxGrid) _obj, int pos, int numCols, TBool updateLabels );
-TBool      wxGrid_DeleteRows( TSelf(wxGrid) _obj, int pos, int numRows, TBool updateLabels );
-void       wxGrid_DisableCellEditControl( TSelf(wxGrid) _obj );
-void       wxGrid_DisableDragColSize( TSelf(wxGrid) _obj );
-void       wxGrid_DisableDragGridSize( TSelf(wxGrid) _obj );
-void       wxGrid_DisableDragRowSize( TSelf(wxGrid) _obj );
-void       wxGrid_DoEndDragResizeCol( TSelf(wxGrid) _obj );
-void       wxGrid_DoEndDragResizeRow( TSelf(wxGrid) _obj );
-void       wxGrid_DrawAllGridLines( TSelf(wxGrid) _obj, TClass(wxDC) dc, TClass(wxRegion) reg );
-void       wxGrid_DrawCell( TSelf(wxGrid) _obj, TClass(wxDC) dc, int _row, int _col );
-void       wxGrid_DrawCellBorder( TSelf(wxGrid) _obj, TClass(wxDC) dc, int _row, int _col );
-void       wxGrid_DrawCellHighlight( TSelf(wxGrid) _obj, TClass(wxDC) dc, TClass(wxGridCellAttr) attr );
-void       wxGrid_DrawColLabel( TSelf(wxGrid) _obj, TClass(wxDC) dc, int col );
-void       wxGrid_DrawColLabels( TSelf(wxGrid) _obj, TClass(wxDC) dc );
-void       wxGrid_DrawGridCellArea( TSelf(wxGrid) _obj, TClass(wxDC) dc );
-void       wxGrid_DrawGridSpace( TSelf(wxGrid) _obj, TClass(wxDC) dc );
-void       wxGrid_DrawHighlight( TSelf(wxGrid) _obj, TClass(wxDC) dc );
-void       wxGrid_DrawRowLabel( TSelf(wxGrid) _obj, TClass(wxDC) dc, int row );
-void       wxGrid_DrawRowLabels( TSelf(wxGrid) _obj, TClass(wxDC) dc );
-void       wxGrid_DrawTextRectangle( TSelf(wxGrid) _obj, TClass(wxDC) dc, TClass(wxString) txt, TRect(x,y,w,h), int horizontalAlignment, int verticalAlignment );
-void       wxGrid_EnableCellEditControl( TSelf(wxGrid) _obj, TBool enable );
-void       wxGrid_EnableDragColSize( TSelf(wxGrid) _obj, TBool enable );
-void       wxGrid_EnableDragGridSize( TSelf(wxGrid) _obj, TBool enable );
-void       wxGrid_EnableDragRowSize( TSelf(wxGrid) _obj, TBool enable );
-void       wxGrid_EnableEditing( TSelf(wxGrid) _obj, TBoolInt edit );
-void       wxGrid_EnableGridLines( TSelf(wxGrid) _obj, TBool enable );
-void       wxGrid_EndBatch( TSelf(wxGrid) _obj );
-int        wxGrid_GetBatchCount( TSelf(wxGrid) _obj );
-void       wxGrid_GetCellAlignment( TSelf(wxGrid) _obj, int row, int col, TSizeOut(horiz, vert) );
-void       wxGrid_GetCellBackgroundColour( TSelf(wxGrid) _obj, int row, int col, TClass(wxColour) colour );
-TClass(wxGridCellEditor) wxGrid_GetCellEditor( TSelf(wxGrid) _obj, int row, int col );
-void       wxGrid_GetCellFont( TSelf(wxGrid) _obj, int row, int col, TClass(wxFont) font );
-void       wxGrid_GetCellHighlightColour( TSelf(wxGrid) _obj, TClassRef(wxColour) _ref );
-TClass(wxGridCellRenderer) wxGrid_GetCellRenderer( TSelf(wxGrid) _obj, int row, int col );
-void       wxGrid_GetCellTextColour( TSelf(wxGrid) _obj, int row, int col, TClass(wxColour) colour );
-TClass(wxString) wxGrid_GetCellValue( TSelf(wxGrid) _obj, int row, int col );
-void       wxGrid_GetColLabelAlignment( TSelf(wxGrid) _obj, TSizeOut(horiz, vert)  );
-int        wxGrid_GetColLabelSize( TSelf(wxGrid) _obj );
-TClass(wxString) wxGrid_GetColLabelValue( TSelf(wxGrid) _obj, int col );
-int        wxGrid_GetColSize( TSelf(wxGrid) _obj, int col );
-void       wxGrid_GetDefaultCellAlignment( TSelf(wxGrid) _obj, TSizeOut(horiz, vert)  );
-void       wxGrid_GetDefaultCellBackgroundColour( TSelf(wxGrid) _obj, TClassRef(wxColour) _ref );
-void       wxGrid_GetDefaultCellFont( TSelf(wxGrid) _obj, TClassRef(wxFont) _ref );
-void       wxGrid_GetDefaultCellTextColour( TSelf(wxGrid) _obj, TClassRef(wxColour) _ref );
-int        wxGrid_GetDefaultColLabelSize( TSelf(wxGrid) _obj );
-int        wxGrid_GetDefaultColSize( TSelf(wxGrid) _obj );
-TClass(wxGridCellEditor) wxGrid_GetDefaultEditor( TSelf(wxGrid) _obj );
-TClass(wxGridCellEditor) wxGrid_GetDefaultEditorForCell( TSelf(wxGrid) _obj, int row, int col );
-TClass(wxGridCellEditor) wxGrid_GetDefaultEditorForType( TSelf(wxGrid) _obj, TClass(wxString) typeName );
-TClass(wxGridCellRenderer) wxGrid_GetDefaultRenderer( TSelf(wxGrid) _obj );
-TClass(wxGridCellRenderer) wxGrid_GetDefaultRendererForCell( TSelf(wxGrid) _obj, int row, int col );
-TClass(wxGridCellRenderer) wxGrid_GetDefaultRendererForType( TSelf(wxGrid) _obj, TClass(wxString) typeName );
-int        wxGrid_GetDefaultRowLabelSize( TSelf(wxGrid) _obj );
-int        wxGrid_GetDefaultRowSize( TSelf(wxGrid) _obj );
-int        wxGrid_GetGridCursorCol( TSelf(wxGrid) _obj );
-int        wxGrid_GetGridCursorRow( TSelf(wxGrid) _obj );
-void       wxGrid_GetGridLineColour( TSelf(wxGrid) _obj, TClassRef(wxColour) _ref );
-void       wxGrid_GetLabelBackgroundColour( TSelf(wxGrid) _obj, TClassRef(wxColour) _ref );
-void       wxGrid_GetLabelFont( TSelf(wxGrid) _obj, TClassRef(wxFont) _ref );
-void       wxGrid_GetLabelTextColour( TSelf(wxGrid) _obj, TClassRef(wxColour) _ref );
-int        wxGrid_GetNumberCols( TSelf(wxGrid) _obj );
-int        wxGrid_GetNumberRows( TSelf(wxGrid) _obj );
-void       wxGrid_GetRowLabelAlignment( TSelf(wxGrid) _obj, TSizeOut(horiz,vert) );
-int        wxGrid_GetRowLabelSize( TSelf(wxGrid) _obj );
-TClass(wxString) wxGrid_GetRowLabelValue( TSelf(wxGrid) _obj, int row );
-int        wxGrid_GetRowSize( TSelf(wxGrid) _obj, int row );
-void       wxGrid_GetSelectionBackground( TSelf(wxGrid) _obj, TClassRef(wxColour) _ref );
-void       wxGrid_GetSelectionForeground( TSelf(wxGrid) _obj, TClassRef(wxColour) _ref );
-TClass(wxGridTableBase) wxGrid_GetTable( TSelf(wxGrid) _obj );
-void       wxGrid_GetTextBoxSize( TSelf(wxGrid) _obj, TClass(wxDC) dc, TArrayString(count,lines), TSizeOutVoid(_w,_h) );
-int        wxGrid_GridLinesEnabled( TSelf(wxGrid) _obj );
-void       wxGrid_HideCellEditControl( TSelf(wxGrid) _obj );
-TBool      wxGrid_InsertCols( TSelf(wxGrid) _obj, int pos, int numCols, TBool updateLabels );
-TBool      wxGrid_InsertRows( TSelf(wxGrid) _obj, int pos, int numRows, TBool updateLabels );
-TBool      wxGrid_IsCellEditControlEnabled( TSelf(wxGrid) _obj );
-TBool      wxGrid_IsCellEditControlShown( TSelf(wxGrid) _obj );
-TBool      wxGrid_IsCurrentCellReadOnly( TSelf(wxGrid) _obj );
-TBool      wxGrid_IsEditable( TSelf(wxGrid) _obj );
-TBool      wxGrid_IsInSelection( TSelf(wxGrid) _obj, int row, int col );
-TBool      wxGrid_IsReadOnly( TSelf(wxGrid) _obj, int row, int col );
-TBool      wxGrid_IsSelection( TSelf(wxGrid) _obj );
-TBool      wxGrid_IsVisible( TSelf(wxGrid) _obj, int row, int col, TBool wholeCellVisible );
-void       wxGrid_MakeCellVisible( TSelf(wxGrid) _obj, int row, int col );
-TBool      wxGrid_MoveCursorDown( TSelf(wxGrid) _obj, TBool expandSelection );
-TBool      wxGrid_MoveCursorDownBlock( TSelf(wxGrid) _obj, TBool expandSelection );
-TBool      wxGrid_MoveCursorLeft( TSelf(wxGrid) _obj, TBool expandSelection );
-TBool      wxGrid_MoveCursorLeftBlock( TSelf(wxGrid) _obj, TBool expandSelection );
-TBool      wxGrid_MoveCursorRight( TSelf(wxGrid) _obj, TBool expandSelection );
-TBool      wxGrid_MoveCursorRightBlock( TSelf(wxGrid) _obj, TBool expandSelection );
-TBool      wxGrid_MoveCursorUp( TSelf(wxGrid) _obj, TBool expandSelection );
-TBool      wxGrid_MoveCursorUpBlock( TSelf(wxGrid) _obj, TBool expandSelection );
-TBool      wxGrid_MovePageDown( TSelf(wxGrid) _obj );
-TBool      wxGrid_MovePageUp( TSelf(wxGrid) _obj );
-void       wxGrid_ProcessColLabelMouseEvent( TSelf(wxGrid) _obj, TClass(wxMouseEvent) event );
-void       wxGrid_ProcessCornerLabelMouseEvent( TSelf(wxGrid) _obj, TClass(wxMouseEvent) event );
-void       wxGrid_ProcessGridCellMouseEvent( TSelf(wxGrid) _obj, TClass(wxMouseEvent) event );
-void       wxGrid_ProcessRowLabelMouseEvent( TSelf(wxGrid) _obj, TClass(wxMouseEvent) event );
-TBool      wxGrid_ProcessTableMessage( TSelf(wxGrid) _obj, TClass(wxEvent) evt );
-void       wxGrid_RegisterDataType( TSelf(wxGrid) _obj, TClass(wxString) typeName, TClass(wxGridCellRenderer) renderer, TClass(wxGridCellEditor) editor );
-void       wxGrid_SaveEditControlValue( TSelf(wxGrid) _obj );
-void       wxGrid_SelectAll( TSelf(wxGrid) _obj );
-void       wxGrid_SelectBlock( TSelf(wxGrid) _obj, int topRow, int leftCol, int bottomRow, int rightCol, TBoolInt addToSelected );
-void       wxGrid_SelectCol( TSelf(wxGrid) _obj, int col, TBoolInt addToSelected );
-void       wxGrid_SelectRow( TSelf(wxGrid) _obj, int row, TBoolInt addToSelected );
-void       wxGrid_SetCellAlignment( TSelf(wxGrid) _obj, int row, int col, int horiz, int vert );
-void       wxGrid_SetCellBackgroundColour( TSelf(wxGrid) _obj, int row, int col, TClass(wxColour) colour );
-void       wxGrid_SetCellEditor( TSelf(wxGrid) _obj, int row, int col, TClass(wxGridCellEditor) editor );
-void       wxGrid_SetCellFont( TSelf(wxGrid) _obj, int row, int col, TClass(wxFont) font );
-void       wxGrid_SetCellHighlightColour( TSelf(wxGrid) _obj, TClass(wxColour) col );
-void       wxGrid_SetCellRenderer( TSelf(wxGrid) _obj, int row, int col, TClass(wxGridCellRenderer) renderer );
-void       wxGrid_SetCellTextColour( TSelf(wxGrid) _obj, int row, int col, TClass(wxColour) colour );
-void       wxGrid_SetCellValue( TSelf(wxGrid) _obj, int row, int col, TClass(wxString) s );
-void       wxGrid_SetColAttr( TSelf(wxGrid) _obj, int col, TClass(wxGridCellAttr) attr );
-void       wxGrid_SetColFormatBool( TSelf(wxGrid) _obj, int col );
-void       wxGrid_SetColFormatCustom( TSelf(wxGrid) _obj, int col, TClass(wxString) typeName );
-void       wxGrid_SetColFormatFloat( TSelf(wxGrid) _obj, int col, int width, int precision );
-void       wxGrid_SetColFormatNumber( TSelf(wxGrid) _obj, int col );
-void       wxGrid_SetColLabelAlignment( TSelf(wxGrid) _obj, int horiz, int vert );
-void       wxGrid_SetColLabelSize( TSelf(wxGrid) _obj, int height );
-void       wxGrid_SetColLabelValue( TSelf(wxGrid) _obj, int col, TClass(wxString) label );
-void       wxGrid_SetColMinimalWidth( TSelf(wxGrid) _obj, int col, int width );
-void       wxGrid_SetColSize( TSelf(wxGrid) _obj, int col, int width );
-void       wxGrid_SetDefaultCellAlignment( TSelf(wxGrid) _obj, int horiz, int vert );
-void       wxGrid_SetDefaultCellBackgroundColour( TSelf(wxGrid) _obj, TClass(wxColour) colour );
-void       wxGrid_SetDefaultCellFont( TSelf(wxGrid) _obj, TClass(wxFont) font );
-void       wxGrid_SetDefaultCellTextColour( TSelf(wxGrid) _obj, TClass(wxColour) colour );
-void       wxGrid_SetDefaultColSize( TSelf(wxGrid) _obj, int width, TBoolInt resizeExistingCols );
-void       wxGrid_SetDefaultEditor( TSelf(wxGrid) _obj, TClass(wxGridCellEditor) editor );
-void       wxGrid_SetDefaultRenderer( TSelf(wxGrid) _obj, TClass(wxGridCellRenderer) renderer );
-void       wxGrid_SetDefaultRowSize( TSelf(wxGrid) _obj, int height, TBoolInt resizeExistingRows );
-void       wxGrid_SetGridCursor( TSelf(wxGrid) _obj, int row, int col );
-void       wxGrid_SetGridLineColour( TSelf(wxGrid) _obj, TClass(wxColour) col );
-void       wxGrid_SetLabelBackgroundColour( TSelf(wxGrid) _obj, TClass(wxColour) colour );
-void       wxGrid_SetLabelFont( TSelf(wxGrid) _obj, TClass(wxFont) font );
-void       wxGrid_SetLabelTextColour( TSelf(wxGrid) _obj, TClass(wxColour) colour );
-void       wxGrid_SetMargins( TSelf(wxGrid) _obj, int extraWidth, int extraHeight );
-void       wxGrid_SetReadOnly( TSelf(wxGrid) _obj, int row, int col, TBool isReadOnly );
-void       wxGrid_SetRowAttr( TSelf(wxGrid) _obj, int row, TClass(wxGridCellAttr) attr );
-void       wxGrid_SetRowLabelAlignment( TSelf(wxGrid) _obj, int horiz, int vert );
-void       wxGrid_SetRowLabelSize( TSelf(wxGrid) _obj, int width );
-void       wxGrid_SetRowLabelValue( TSelf(wxGrid) _obj, int row, TClass(wxString) label );
-void       wxGrid_SetRowMinimalHeight( TSelf(wxGrid) _obj, int row, int width );
-void       wxGrid_SetRowSize( TSelf(wxGrid) _obj, int row, int height );
-void       wxGrid_SetSelectionBackground( TSelf(wxGrid) _obj, TClass(wxColour) c );
-void       wxGrid_SetSelectionForeground( TSelf(wxGrid) _obj, TClass(wxColour) c );
-void       wxGrid_SetSelectionMode( TSelf(wxGrid) _obj, int selmode );
-TBool     wxGrid_SetTable( TSelf(wxGrid) _obj, TClass(wxGridTableBase) table, TBool takeOwnership, int selmode );
-void       wxGrid_ShowCellEditControl( TSelf(wxGrid) _obj );
-int        wxGrid_StringToLines( TSelf(wxGrid) _obj, TClass(wxString) value, void* lines );
-int        wxGrid_XToCol( TSelf(wxGrid) _obj, int x );
-int        wxGrid_XToEdgeOfCol( TSelf(wxGrid) _obj, int x );
-void       wxGrid_XYToCell( TSelf(wxGrid) _obj, TPoint(x,y), TPointOut(row,col) );
-int        wxGrid_YToEdgeOfRow( TSelf(wxGrid) _obj, int y );
-int        wxGrid_YToRow( TSelf(wxGrid) _obj, int y );
-void       wxGrid_NewCalcCellsExposed( TSelf(wxGrid) _obj, TClass(wxRegion) reg, TClassRef(wxGridCellCoordsArray) arr );
-void       wxGrid_NewDrawGridCellArea( TSelf(wxGrid) _obj, TClass(wxDC) dc, TClass(wxGridCellCoordsArray) arr );
-void       wxGrid_NewDrawHighlight( TSelf(wxGrid) _obj, TClass(wxDC) dc, TClass(wxGridCellCoordsArray) arr );
-void       wxGrid_GetSelectedCells(TSelf(wxGrid) _obj, TClassRef(wxGridCellCoordsArray) _arr);
-void       wxGrid_GetSelectionBlockTopLeft(TSelf(wxGrid) _obj, TClassRef(wxGridCellCoordsArray) _arr);
-void       wxGrid_GetSelectionBlockBottomRight(TSelf(wxGrid) _obj, TClassRef(wxGridCellCoordsArray) _arr);
-TArrayLen  wxGrid_GetSelectedRows(TSelf(wxGrid) _obj, TArrayIntOutVoid _arr);
-TArrayLen  wxGrid_GetSelectedCols(TSelf(wxGrid) _obj, TArrayIntOutVoid _arr);
-
-/* wxGridCellAttr */
-TClassDef(wxGridCellAttr)
-TClass(wxGridCellAttr)    wxGridCellAttr_Ctor(  );
-void       wxGridCellAttr_DecRef( TSelf(wxGridCellAttr) _obj );
-void       wxGridCellAttr_GetAlignment( TSelf(wxGridCellAttr) _obj, TSizeOut(hAlign, vAlign) );
-void       wxGridCellAttr_GetBackgroundColour( TSelf(wxGridCellAttr) _obj, TClassRef(wxColour) _ref );
-TClass(wxGridCellEditor) wxGridCellAttr_GetEditor( TSelf(wxGridCellAttr) _obj, TClass(wxGrid) grid, int row, int col );
-void       wxGridCellAttr_GetFont( TSelf(wxGridCellAttr) _obj, TClassRef(wxFont) _ref );
-TClass(wxGridCellRenderer)  wxGridCellAttr_GetRenderer( TSelf(wxGridCellAttr) _obj, TClass(wxGrid) grid, int row, int col );
-void       wxGridCellAttr_GetTextColour( TSelf(wxGridCellAttr) _obj, TClassRef(wxColour) _ref );
-TBool      wxGridCellAttr_HasAlignment( TSelf(wxGridCellAttr) _obj );
-TBool      wxGridCellAttr_HasBackgroundColour( TSelf(wxGridCellAttr) _obj );
-TBool      wxGridCellAttr_HasEditor( TSelf(wxGridCellAttr) _obj );
-TBool      wxGridCellAttr_HasFont( TSelf(wxGridCellAttr) _obj );
-TBool      wxGridCellAttr_HasRenderer( TSelf(wxGridCellAttr) _obj );
-TBool      wxGridCellAttr_HasTextColour( TSelf(wxGridCellAttr) _obj );
-void       wxGridCellAttr_IncRef( TSelf(wxGridCellAttr) _obj );
-TBool      wxGridCellAttr_IsReadOnly( TSelf(wxGridCellAttr) _obj );
-void       wxGridCellAttr_SetAlignment( TSelf(wxGridCellAttr) _obj, int hAlign, int vAlign );
-void       wxGridCellAttr_SetBackgroundColour( TSelf(wxGridCellAttr) _obj, TClass(wxColour) colBack );
-void       wxGridCellAttr_SetDefAttr( TSelf(wxGridCellAttr) _obj, TClass(wxGridCellAttr) defAttr );
-void       wxGridCellAttr_SetEditor( TSelf(wxGridCellAttr) _obj, TClass(wxGridCellEditor) editor );
-void       wxGridCellAttr_SetFont( TSelf(wxGridCellAttr) _obj, TClass(wxFont) font );
-void       wxGridCellAttr_SetReadOnly( TSelf(wxGridCellAttr) _obj, TBool isReadOnly );
-void       wxGridCellAttr_SetRenderer( TSelf(wxGridCellAttr) _obj, TClass(wxGridCellRenderer) renderer );
-void       wxGridCellAttr_SetTextColour( TSelf(wxGridCellAttr) _obj, TClass(wxColour) colText );
-
-/* wxGridCellBoolEditor */
-TClassDefExtend(wxGridCellBoolEditor,wxGridCellEditor)
-TClass(wxGridCellBoolEditor)   wxGridCellBoolEditor_Ctor(  );
-
-/* wxGridCellBoolRenderer */
-TClassDefExtend(wxGridCellBoolRenderer,wxGridCellRenderer)
-
-/* wxGridCellChoiceEditor */
-TClassDefExtend(wxGridCellChoiceEditor,wxGridCellEditor)
-TClass(wxGridCellChoiceEditor) wxGridCellChoiceEditor_Ctor( TArrayString(count,choices), TBoolInt allowOthers );
-
-/* wxGridCellCoordsArray */
-TClassDef(wxGridCellCoordsArray)
-TClass(wxGridCellCoordsArray) wxGridCellCoordsArray_Create();
-void       wxGridCellCoordsArray_Delete(TSelf(wxGridCellCoordsArray) _obj);
-int        wxGridCellCoordsArray_GetCount(TSelf(wxGridCellCoordsArray) _obj);
-void       wxGridCellCoordsArray_Item(TSelf(wxGridCellCoordsArray) _obj, int _idx, TPointOut(_c,_r));
-
-/* wxGridCellEditor */
-TClassDefExtend(wxGridCellEditor,wxGridCellWorker)
-void       wxGridCellEditor_BeginEdit( TSelf(wxGridCellEditor) _obj, int row, int col, TClass(wxGrid) grid );
-void       wxGridCellEditor_Create( TSelf(wxGridCellEditor) _obj, TClass(wxWindow) parent, int id, TClass(wxEvtHandler) evtHandler );
-void       wxGridCellEditor_Destroy( TSelf(wxGridCellEditor) _obj );
-int        wxGridCellEditor_EndEdit( TSelf(wxGridCellEditor) _obj, int row, int col, TClass(wxGrid) grid );
-TClass(wxControl) wxGridCellEditor_GetControl( TSelf(wxGridCellEditor) _obj );
-void       wxGridCellEditor_HandleReturn( TSelf(wxGridCellEditor) _obj, TClass(wxEvent) event );
-TBool      wxGridCellEditor_IsAcceptedKey( TSelf(wxGridCellEditor) _obj, TClass(wxEvent) event );
-TBool      wxGridCellEditor_IsCreated( TSelf(wxGridCellEditor) _obj );
-void       wxGridCellEditor_PaintBackground( TSelf(wxGridCellEditor) _obj, TRect(x,y,w,h), TClass(wxGridCellAttr) attr );
-void       wxGridCellEditor_Reset( TSelf(wxGridCellEditor) _obj );
-void       wxGridCellEditor_SetControl( TSelf(wxGridCellEditor) _obj, TClass(wxControl) control );
-void       wxGridCellEditor_SetParameters( TSelf(wxGridCellEditor) _obj, TClass(wxString) params );
-void       wxGridCellEditor_SetSize( TSelf(wxGridCellEditor) _obj, TRect(x,y,w,h) );
-void       wxGridCellEditor_Show( TSelf(wxGridCellEditor) _obj, TBoolInt show, TClass(wxGridCellAttr) attr );
-void       wxGridCellEditor_StartingClick( TSelf(wxGridCellEditor) _obj );
-void       wxGridCellEditor_StartingKey( TSelf(wxGridCellEditor) _obj, TClass(wxEvent) event );
-
-/* wxGridCellFloatEditor */
-TClassDefExtend(wxGridCellFloatEditor,wxGridCellTextEditor)
-TClass(wxGridCellFloatEditor) wxGridCellFloatEditor_Ctor( int width, int precision );
-
-/* wxGridCellFloatRenderer */
-TClassDefExtend(wxGridCellFloatRenderer,wxGridCellStringRenderer)
-
-/* wxGridCellNumberEditor */
-TClassDefExtend(wxGridCellNumberEditor,wxGridCellTextEditor)
-TClass(wxGridCellNumberEditor)  wxGridCellNumberEditor_Ctor( int min, int max );
-
-/* wxGridCellNumberRenderer */
-TClassDefExtend(wxGridCellNumberRenderer,wxGridCellStringRenderer)
-
-/* wxGridCellRenderer */
-TClassDefExtend(wxGridCellRenderer,wxGridCellWorker)
-
-/* wxGridCellStringRenderer */
-TClassDefExtend(wxGridCellStringRenderer,wxGridCellRenderer)
-
-/* wxGridCellTextEditor */
-TClassDefExtend(wxGridCellTextEditor,wxGridCellEditor)
-TClass(wxGridCellTextEditor) wxGridCellTextEditor_Ctor(  );
-
-/* wxGridCellWorker */
-TClassDef(wxGridCellWorker)
-
-/* wxGridEditorCreatedEvent */
-TClassDefExtend(wxGridEditorCreatedEvent,wxCommandEvent)
-int        wxGridEditorCreatedEvent_GetCol (TSelf(wxGridEditorCreatedEvent) _obj);
-TClass(wxControl) wxGridEditorCreatedEvent_GetControl (TSelf(wxGridEditorCreatedEvent) _obj);
-int        wxGridEditorCreatedEvent_GetRow (TSelf(wxGridEditorCreatedEvent) _obj);
-void       wxGridEditorCreatedEvent_SetCol (TSelf(wxGridEditorCreatedEvent) _obj, int col);
-void       wxGridEditorCreatedEvent_SetControl (TSelf(wxGridEditorCreatedEvent) _obj, TClass(wxControl) ctrl);
-void       wxGridEditorCreatedEvent_SetRow (TSelf(wxGridEditorCreatedEvent) _obj, int row);
-
-/* wxGridEvent */
-TClassDefExtend(wxGridEvent,wxNotifyEvent)
-TBool      wxGridEvent_AltDown (TSelf(wxGridEvent) _obj);
-TBool      wxGridEvent_ControlDown (TSelf(wxGridEvent) _obj);
-int        wxGridEvent_GetCol (TSelf(wxGridEvent) _obj);
-TClass(wxPoint) wxGridEvent_GetPosition (TSelf(wxGridEvent) _obj);
-int        wxGridEvent_GetRow (TSelf(wxGridEvent) _obj);
-TBool      wxGridEvent_MetaDown (TSelf(wxGridEvent) _obj);
-TBool      wxGridEvent_Selecting (TSelf(wxGridEvent) _obj);
-TBool      wxGridEvent_ShiftDown (TSelf(wxGridEvent) _obj);
-
-/* wxGridRangeSelectEvent */
-TClassDefExtend(wxGridRangeSelectEvent,wxNotifyEvent)
-void       wxGridRangeSelectEvent_GetTopLeftCoords (TSelf(wxGridRangeSelectEvent) _obj, TPointOutVoid(col,row));
-void       wxGridRangeSelectEvent_GetBottomRightCoords (TSelf(wxGridRangeSelectEvent) _obj, TPointOutVoid(col,row));
-int        wxGridRangeSelectEvent_GetTopRow (TSelf(wxGridRangeSelectEvent) _obj);
-int        wxGridRangeSelectEvent_GetBottomRow (TSelf(wxGridRangeSelectEvent) _obj);
-int        wxGridRangeSelectEvent_GetLeftCol (TSelf(wxGridRangeSelectEvent) _obj);
-int        wxGridRangeSelectEvent_GetRightCol (TSelf(wxGridRangeSelectEvent) _obj);
-TBool      wxGridRangeSelectEvent_Selecting (TSelf(wxGridRangeSelectEvent) _obj);
-TBool      wxGridRangeSelectEvent_ControlDown (TSelf(wxGridRangeSelectEvent) _obj);
-TBool      wxGridRangeSelectEvent_MetaDown (TSelf(wxGridRangeSelectEvent) _obj);
-TBool      wxGridRangeSelectEvent_ShiftDown (TSelf(wxGridRangeSelectEvent) _obj);
-TBool      wxGridRangeSelectEvent_AltDown (TSelf(wxGridRangeSelectEvent) _obj);
-
-/* wxGridSizeEvent */
-TClassDefExtend(wxGridSizeEvent,wxNotifyEvent)
-int        wxGridSizeEvent_GetRowOrCol (TSelf(wxGridSizeEvent) _obj);
-TClass(wxPoint) wxGridSizeEvent_GetPosition (TSelf(wxGridSizeEvent) _obj);
-TBool      wxGridSizeEvent_ControlDown (TSelf(wxGridSizeEvent) _obj);
-TBool      wxGridSizeEvent_MetaDown (TSelf(wxGridSizeEvent) _obj);
-TBool      wxGridSizeEvent_ShiftDown (TSelf(wxGridSizeEvent) _obj);
-TBool      wxGridSizeEvent_AltDown (TSelf(wxGridSizeEvent) _obj);
-
-
-/* wxGridSizer */
-TClassDefExtend(wxGridSizer,wxSizer)
-TClass(wxSize) wxGridSizer_CalcMin( TSelf(wxGridSizer) _obj );
-TClass(wxGridSizer) wxGridSizer_Create( int rows, int cols, int vgap, int hgap );
-int        wxGridSizer_GetCols( TSelf(wxGridSizer) _obj );
-int        wxGridSizer_GetHGap( TSelf(wxGridSizer) _obj );
-int        wxGridSizer_GetRows( TSelf(wxGridSizer) _obj );
-int        wxGridSizer_GetVGap( TSelf(wxGridSizer) _obj );
-void       wxGridSizer_RecalcSizes( TSelf(wxGridSizer) _obj );
-void       wxGridSizer_SetCols( TSelf(wxGridSizer) _obj, int cols );
-void       wxGridSizer_SetHGap( TSelf(wxGridSizer) _obj, int gap );
-void       wxGridSizer_SetRows( TSelf(wxGridSizer) _obj, int rows );
-void       wxGridSizer_SetVGap( TSelf(wxGridSizer) _obj, int gap );
-
-/* wxGridTableBase */
-TClassDefExtend(wxGridTableBase,wxObject)
-
-/* wxHTTP */
-TClassDefExtend(wxHTTP,wxProtocol)
-
-/* wxHashMap */
-TClassDef(wxHashMap)
-
-/* wxHelpController */
-TClassDefExtend(wxHelpController,wxHelpControllerBase)
-
-/* wxHelpControllerBase */
-TClassDefExtend(wxHelpControllerBase,wxObject)
-
-/* wxHelpControllerHelpProvider */
-TClassDefExtend(wxHelpControllerHelpProvider,wxSimpleHelpProvider)
-TClass(wxHelpControllerHelpProvider) wxHelpControllerHelpProvider_Create( TClass(wxHelpControllerBase) ctr );
-TClass(wxHelpControllerBase) wxHelpControllerHelpProvider_GetHelpController( TSelf(wxHelpControllerHelpProvider) _obj );
-void       wxHelpControllerHelpProvider_SetHelpController( TSelf(wxHelpControllerHelpProvider) _obj, TClass(wxHelpController) hc );
-
-/* wxHelpEvent */
-TClassDefExtend(wxHelpEvent,wxCommandEvent)
-TClass(wxString) wxHelpEvent_GetLink( TSelf(wxHelpEvent) _obj );
-TClass(wxPoint) wxHelpEvent_GetPosition( TSelf(wxHelpEvent) _obj );
-TClass(wxString) wxHelpEvent_GetTarget( TSelf(wxHelpEvent) _obj );
-void       wxHelpEvent_SetLink( TSelf(wxHelpEvent) _obj, TClass(wxString) link );
-void       wxHelpEvent_SetPosition( TSelf(wxHelpEvent) _obj, TPoint(x,y) );
-void       wxHelpEvent_SetTarget( TSelf(wxHelpEvent) _obj, TClass(wxString) target );
-
-/* wxHelpProvider */
-TClassDef(wxHelpProvider)
-void       wxHelpProvider_AddHelp( TSelf(wxHelpProvider) _obj, TClass(wxWindow) window, TClass(wxString) text );
-void       wxHelpProvider_AddHelpById( TSelf(wxHelpProvider) _obj, int id, TClass(wxString) text );
-void       wxHelpProvider_Delete( TSelf(wxHelpProvider) _obj );
-TSelf(wxHelpProvider) wxHelpProvider_Get(  );
-TClass(wxString) wxHelpProvider_GetHelp( TSelf(wxHelpProvider) _obj, TClass(wxWindow) window );
-void       wxHelpProvider_RemoveHelp( TSelf(wxHelpProvider) _obj, TClass(wxWindow) window );
-TSelf(wxHelpProvider) wxHelpProvider_Set( TSelf(wxHelpProvider) helpProvider );
-TBool      wxHelpProvider_ShowHelp( TSelf(wxHelpProvider) _obj, TClass(wxWindow) window );
-
-/* wxHtmlCell */
-TClassDefExtend(wxHtmlCell,wxObject)
-
-/* wxHtmlColourCell */
-TClassDefExtend(wxHtmlColourCell,wxHtmlCell)
-
-/* wxHtmlContainerCell */
-TClassDefExtend(wxHtmlContainerCell,wxHtmlCell)
-
-/* wxHtmlDCRenderer */
-TClassDefExtend(wxHtmlDCRenderer,wxObject)
-
-/* wxHtmlEasyPrinting */
-TClassDefExtend(wxHtmlEasyPrinting,wxObject)
-
-/* wxHtmlFilter */
-TClassDefExtend(wxHtmlFilter,wxObject)
-
-/* wxHtmlHelpController */
-TClassDefExtend(wxHtmlHelpController,wxHelpControllerBase)
-TBool      wxHtmlHelpController_AddBook( TSelf(wxHtmlHelpController) _obj, void* book, int show_wait_msg );
-TClass(wxHtmlHelpController) wxHtmlHelpController_Create( int _style );
-void       wxHtmlHelpController_Delete( TSelf(wxHtmlHelpController) _obj );
-int        wxHtmlHelpController_Display( TSelf(wxHtmlHelpController) _obj, void* x );
-TBool      wxHtmlHelpController_DisplayBlock( TSelf(wxHtmlHelpController) _obj, int blockNo );
-int        wxHtmlHelpController_DisplayContents( TSelf(wxHtmlHelpController) _obj );
-int        wxHtmlHelpController_DisplayIndex( TSelf(wxHtmlHelpController) _obj );
-int        wxHtmlHelpController_DisplayNumber( TSelf(wxHtmlHelpController) _obj, int id );
-TBool      wxHtmlHelpController_DisplaySection( TSelf(wxHtmlHelpController) _obj, TClass(wxString) section );
-TBool      wxHtmlHelpController_DisplaySectionNumber( TSelf(wxHtmlHelpController) _obj, int sectionNo );
-TClass(wxFrame) wxHtmlHelpController_GetFrame( TSelf(wxHtmlHelpController) _obj );
-void*      wxHtmlHelpController_GetFrameParameters( TSelf(wxHtmlHelpController) _obj, void* title, int* width, int* height, int* pos_x, int* pos_y, int* newFrameEachTime );
-TBool      wxHtmlHelpController_Initialize( TSelf(wxHtmlHelpController) _obj, TClass(wxString) file );
-TBool      wxHtmlHelpController_KeywordSearch( TSelf(wxHtmlHelpController) _obj, TClass(wxString) keyword );
-TBool      wxHtmlHelpController_LoadFile( TSelf(wxHtmlHelpController) _obj, TClass(wxString) file );
-TBool      wxHtmlHelpController_Quit( TSelf(wxHtmlHelpController) _obj );
-void       wxHtmlHelpController_ReadCustomization( TSelf(wxHtmlHelpController) _obj, TClass(wxConfigBase) cfg, TClass(wxString) path );
-void       wxHtmlHelpController_SetFrameParameters( TSelf(wxHtmlHelpController) _obj, void* title, TSize(width,height), int pos_x, int pos_y, TBool newFrameEachTime );
-void       wxHtmlHelpController_SetTempDir( TSelf(wxHtmlHelpController) _obj, TClass(wxString) path );
-void       wxHtmlHelpController_SetTitleFormat( TSelf(wxHtmlHelpController) _obj, void* format );
-void       wxHtmlHelpController_SetViewer( TSelf(wxHtmlHelpController) _obj, TClass(wxString) viewer, int flags );
-void       wxHtmlHelpController_UseConfig( TSelf(wxHtmlHelpController) _obj, TClass(wxConfigBase) config, TClass(wxString) rootpath );
-void       wxHtmlHelpController_WriteCustomization( TSelf(wxHtmlHelpController) _obj, TClass(wxConfigBase) cfg, TClass(wxString) path );
-
-/* wxHtmlHelpData */
-TClassDefExtend(wxHtmlHelpData,wxObject)
-
-/* wxHtmlHelpFrame */
-TClassDefExtend(wxHtmlHelpFrame,wxFrame)
-
-/* wxHtmlLinkInfo */
-TClassDefExtend(wxHtmlLinkInfo,wxObject)
-
-/* wxHtmlParser */
-TClassDefExtend(wxHtmlParser,wxObject)
-
-/* wxHtmlPrintout */
-TClassDefExtend(wxHtmlPrintout,wxPrintout)
-
-/* wxHtmlTag */
-TClassDefExtend(wxHtmlTag,wxObject)
-
-/* wxHtmlTagHandler */
-TClassDefExtend(wxHtmlTagHandler,wxObject)
-
-/* wxHtmlTagsModule */
-TClassDefExtend(wxHtmlTagsModule,wxModule)
-
-/* wxHtmlWidgetCell */
-TClassDefExtend(wxHtmlWidgetCell,wxHtmlCell)
-
-/* wxHtmlWinParser */
-TClassDefExtend(wxHtmlWinParser,wxHtmlParser)
-
-/* wxHtmlWinTagHandler */
-TClassDefExtend(wxHtmlWinTagHandler,wxHtmlTagHandler)
-
-/* wxHtmlWindow */
-TClassDefExtend(wxHtmlWindow,wxScrolledWindow)
-
-/* wxIPV4address */
-TClassDefExtend(wxIPV4address,wxSockAddress)
-
-/* wxIcon */
-TClassDefExtend(wxIcon,wxBitmap)
-void       wxIcon_Assign( TSelf(wxIcon) _obj, void* other );
-void       wxIcon_CopyFromBitmap( TSelf(wxIcon) _obj, TClass(wxBitmap) bmp );
-TClass(wxIcon) wxIcon_CreateDefault(  );
-TClass(wxIcon) wxIcon_CreateLoad( TClass(wxString) name, long type, TSize(width,height) );
-void       wxIcon_Delete( TSelf(wxIcon) _obj );
-TClass(wxIcon) wxIcon_FromRaw( TSelf(wxIcon) data, TSize(width,height) );
-TClass(wxIcon) wxIcon_FromXPM( TSelf(wxIcon) data );
-int        wxIcon_GetDepth( TSelf(wxIcon) _obj );
-int        wxIcon_GetHeight( TSelf(wxIcon) _obj );
-int        wxIcon_GetWidth( TSelf(wxIcon) _obj );
-TBool      wxIcon_IsEqual( TSelf(wxIcon) _obj, TSelf(wxIcon) other );
-int        wxIcon_Load( TSelf(wxIcon) _obj, TClass(wxString) name, long type, TSize(width,height) );
-TBool      wxIcon_IsOk( TSelf(wxIcon) _obj );
-void       wxIcon_SetDepth( TSelf(wxIcon) _obj, int depth );
-void       wxIcon_SetHeight( TSelf(wxIcon) _obj, int height );
-void       wxIcon_SetWidth( TSelf(wxIcon) _obj, int width );
-
-/* wxIconBundle */
-TClassDef(wxIconBundle)
-void       wxIconBundle_AddIcon( TSelf(wxIconBundle) _obj, TClass(wxIcon) icon );
-void       wxIconBundle_AddIconFromFile( TSelf(wxIconBundle) _obj, TClass(wxString) file, int type );
-void       wxIconBundle_Assign( TSelf(wxIconBundle) _obj, TClassRef(wxIconBundle) _ref );
-TClass(wxIconBundle) wxIconBundle_CreateDefault(  );
-TClass(wxIconBundle) wxIconBundle_CreateFromFile( TClass(wxString) file, int type );
-TClass(wxIconBundle) wxIconBundle_CreateFromIcon( TClass(wxIcon) icon );
-void       wxIconBundle_Delete( TSelf(wxIconBundle) _obj );
-void       wxIconBundle_GetIcon( TSelf(wxIconBundle) _obj, TSize(w,h), TClassRef(wxIcon) _ref );
-
-/* wxIconizeEvent */
-TClassDefExtend(wxIconizeEvent,wxEvent)
-
-/* wxIdleEvent */
-TClassDefExtend(wxIdleEvent,wxEvent)
-void       wxIdleEvent_CopyObject( TSelf(wxIdleEvent) _obj, TClass(wxObject) object_dest );
-TBool      wxIdleEvent_MoreRequested( TSelf(wxIdleEvent) _obj );
-void       wxIdleEvent_RequestMore( TSelf(wxIdleEvent) _obj, TBool needMore );
-
-/* wxImage */
-TClassDefExtend(wxImage,wxObject)
-TBool      wxImage_CanRead( TClass(wxString) name );
-void       wxImage_ConvertToBitmap( TSelf(wxImage) _obj, TClassRef(wxBitmap) bitmap );
-TByteStringLen wxImage_ConvertToByteString( TSelf(wxImage) _obj, int type, TByteStringOut data  );
-TByteStringLen wxImage_ConvertToLazyByteString( TSelf(wxImage) _obj, int type, TByteStringLazyOut data );
-int        wxImage_CountColours( TSelf(wxImage) _obj, int stopafter );
-TClass(wxImage) wxImage_CreateDefault(  );
-TClass(wxImage) wxImage_CreateFromBitmap( TClass(wxBitmap) bitmap );
-TClass(wxImage) wxImage_CreateFromByteString( TByteString(data,length), int type );
-TClass(wxImage) wxImage_CreateFromLazyByteString( TByteStringLazy(data,length), int type );
-TClass(wxImage) wxImage_CreateFromData( TSize(width,height), void* data );
-TClass(wxImage) wxImage_CreateFromFile( TClass(wxString) name );
-TClass(wxImage) wxImage_CreateSized( TSize(width,height) );
-void       wxImage_Destroy( TSelf(wxImage) _obj );
-TChar      wxImage_GetBlue( TSelf(wxImage) _obj, TPoint(x,y) );
-void*      wxImage_GetData( TSelf(wxImage) _obj );
-TChar      wxImage_GetGreen( TSelf(wxImage) _obj, TPoint(x,y) );
-int        wxImage_GetHeight( TSelf(wxImage) _obj );
-TChar      wxImage_GetMaskBlue( TSelf(wxImage) _obj );
-TChar      wxImage_GetMaskGreen( TSelf(wxImage) _obj );
-TChar      wxImage_GetMaskRed( TSelf(wxImage) _obj );
-TChar      wxImage_GetRed( TSelf(wxImage) _obj, TPoint(x,y) );
-void       wxImage_GetSubImage( TSelf(wxImage) _obj, TRect(x,y,w,h), TClassRef(wxImage) image );
-int        wxImage_GetWidth( TSelf(wxImage) _obj );
-TBool      wxImage_HasMask( TSelf(wxImage) _obj );
-TClass(wxString) wxImage_GetOption( TSelf(wxImage) _obj, TClass(wxString) name );
-TBool      wxImage_GetOptionInt( TSelf(wxImage) _obj, TClass(wxString) name );
-TBool      wxImage_HasOption( TSelf(wxImage) _obj, TClass(wxString) name );
-void       wxImage_Initialize( TSelf(wxImage) _obj, TSize(width,height) );
-void       wxImage_InitializeFromData( TSelf(wxImage) _obj, TSize(width,height), void* data );
-TBool      wxImage_LoadFile( TSelf(wxImage) _obj, TClass(wxString) name, int type );
-void       wxImage_Mirror( TSelf(wxImage) _obj, TBoolInt horizontally, TClassRef(wxImage) image );
-TBool      wxImage_IsOk( TSelf(wxImage) _obj );
-void       wxImage_Paste( TSelf(wxImage) _obj, TClass(wxImage) image, TPoint(x,y) );
-void       wxImage_Replace( TSelf(wxImage) _obj, TColorRGB(r1,g1,b1), TColorRGB(r2,g2,b2) );
-void       wxImage_Rescale( TSelf(wxImage) _obj, TSize(width,height) );
-void       wxImage_Rotate( TSelf(wxImage) _obj, double angle, TPoint(c_x,c_y), TBoolInt interpolating, void* offset_after_rotation, TClassRef(wxImage) image );
-void       wxImage_Rotate90( TSelf(wxImage) _obj, TBoolInt clockwise, TClassRef(wxImage) image );
-TBool      wxImage_SaveFile( TSelf(wxImage) _obj, TClass(wxString) name, int type );
-void       wxImage_Scale( TSelf(wxImage) _obj, TSize(width,height), TClassRef(wxImage) image );
-void       wxImage_SetData( TSelf(wxImage) _obj, void* data );
-void       wxImage_SetDataAndSize( TSelf(wxImage) _obj, void* data, TSize(new_width,new_height) );
-void       wxImage_SetMask( TSelf(wxImage) _obj, int mask );
-void       wxImage_SetMaskColour( TSelf(wxImage) _obj, TColorRGB(r,g,b) );
-void       wxImage_SetOption( TSelf(wxImage) _obj, TClass(wxString) name, TClass(wxString) value );
-void       wxImage_SetOptionInt( TSelf(wxImage) _obj, TClass(wxString) name, int value );
-void       wxImage_SetRGB( TSelf(wxImage) _obj, TPoint(x,y), TColorRGB(r,g,b) );
-
-/* wxImageHandler */
-TClassDefExtend(wxImageHandler,wxObject)
-
-/* wxImageList */
-TClassDefExtend(wxImageList,wxObject)
-int        wxImageList_AddBitmap( TSelf(wxImageList) _obj, TClass(wxBitmap) bitmap, TClass(wxBitmap) mask );
-int        wxImageList_AddIcon( TSelf(wxImageList) _obj, TClass(wxIcon) icon );
-int        wxImageList_AddMasked( TSelf(wxImageList) _obj, TClass(wxBitmap) bitmap, TClass(wxColour) maskColour );
-TClass(wxImageList) wxImageList_Create( TSize(width,height), TBoolInt mask, int initialCount );
-void       wxImageList_Delete( TSelf(wxImageList) _obj );
-TBool      wxImageList_Draw( TSelf(wxImageList) _obj, int index, TClass(wxDC) dc, TPoint(x,y), int flags, TBool solidBackground );
-int        wxImageList_GetImageCount( TSelf(wxImageList) _obj );
-void       wxImageList_GetSize( TSelf(wxImageList) _obj, int index, TSizeOut(width,height) );
-TBool      wxImageList_Remove( TSelf(wxImageList) _obj, int index );
-TBool      wxImageList_RemoveAll( TSelf(wxImageList) _obj );
-TBool      wxImageList_Replace( TSelf(wxImageList) _obj, int index, TClass(wxBitmap) bitmap, TClass(wxBitmap) mask );
-TBool      wxImageList_ReplaceIcon( TSelf(wxImageList) _obj, int index, TClass(wxIcon) icon );
-
-/* wxIndividualLayoutConstraint */
-TClassDefExtend(wxIndividualLayoutConstraint,wxObject)
-void       wxIndividualLayoutConstraint_Above( TSelf(wxIndividualLayoutConstraint) _obj, TClass(wxWindow) sibling, int marg );
-void       wxIndividualLayoutConstraint_Absolute( TSelf(wxIndividualLayoutConstraint) _obj, int val );
-void       wxIndividualLayoutConstraint_AsIs( TSelf(wxIndividualLayoutConstraint) _obj );
-void       wxIndividualLayoutConstraint_Below( TSelf(wxIndividualLayoutConstraint) _obj, TClass(wxWindow) sibling, int marg );
-TBool      wxIndividualLayoutConstraint_GetDone( TSelf(wxIndividualLayoutConstraint) _obj );
-int        wxIndividualLayoutConstraint_GetEdge( TSelf(wxIndividualLayoutConstraint) _obj, int which, void* thisWin, void* other );
-int        wxIndividualLayoutConstraint_GetMargin( TSelf(wxIndividualLayoutConstraint) _obj );
-int        wxIndividualLayoutConstraint_GetMyEdge( TSelf(wxIndividualLayoutConstraint) _obj );
-int        wxIndividualLayoutConstraint_GetOtherEdge( TSelf(wxIndividualLayoutConstraint) _obj );
-void*      wxIndividualLayoutConstraint_GetOtherWindow( TSelf(wxIndividualLayoutConstraint) _obj );
-int        wxIndividualLayoutConstraint_GetPercent( TSelf(wxIndividualLayoutConstraint) _obj );
-int        wxIndividualLayoutConstraint_GetRelationship( TSelf(wxIndividualLayoutConstraint) _obj );
-int        wxIndividualLayoutConstraint_GetValue( TSelf(wxIndividualLayoutConstraint) _obj );
-void       wxIndividualLayoutConstraint_LeftOf( TSelf(wxIndividualLayoutConstraint) _obj, TClass(wxWindow) sibling, int marg );
-void       wxIndividualLayoutConstraint_PercentOf( TSelf(wxIndividualLayoutConstraint) _obj, TClass(wxWindow) otherW, int wh, int per );
-TBool      wxIndividualLayoutConstraint_ResetIfWin( TSelf(wxIndividualLayoutConstraint) _obj, TClass(wxWindow) otherW );
-void       wxIndividualLayoutConstraint_RightOf( TSelf(wxIndividualLayoutConstraint) _obj, TClass(wxWindow) sibling, int marg );
-void       wxIndividualLayoutConstraint_SameAs( TSelf(wxIndividualLayoutConstraint) _obj, TClass(wxWindow) otherW, int edge, int marg );
-TBool      wxIndividualLayoutConstraint_SatisfyConstraint( TSelf(wxIndividualLayoutConstraint) _obj, void* constraints, TClass(wxWindow) win );
-void       wxIndividualLayoutConstraint_Set( TSelf(wxIndividualLayoutConstraint) _obj, int rel, TClass(wxWindow) otherW, int otherE, int val, int marg );
-void       wxIndividualLayoutConstraint_SetDone( TSelf(wxIndividualLayoutConstraint) _obj, TBool d );
-void       wxIndividualLayoutConstraint_SetEdge( TSelf(wxIndividualLayoutConstraint) _obj, int which );
-void       wxIndividualLayoutConstraint_SetMargin( TSelf(wxIndividualLayoutConstraint) _obj, int m );
-void       wxIndividualLayoutConstraint_SetRelationship( TSelf(wxIndividualLayoutConstraint) _obj, int r );
-void       wxIndividualLayoutConstraint_SetValue( TSelf(wxIndividualLayoutConstraint) _obj, int v );
-void       wxIndividualLayoutConstraint_Unconstrained( TSelf(wxIndividualLayoutConstraint) _obj );
-
-/* wxInitDialogEvent */
-TClassDefExtend(wxInitDialogEvent,wxEvent)
-
-/* wxInputStream */
-TClassDefExtend(wxInputStream,wxStreamBase)
-void       wxInputStream_Delete( TSelf(wxInputStream) _obj );
-TBool      wxInputStream_Eof( TSelf(wxInputStream) _obj );
-TChar      wxInputStream_GetC( TSelf(wxInputStream) _obj );
-int        wxInputStream_LastRead( TSelf(wxInputStream) _obj );
-TChar      wxInputStream_Peek( TSelf(wxInputStream) _obj );
-void       wxInputStream_Read( TSelf(wxInputStream) _obj, void* buffer, int size );
-int        wxInputStream_SeekI( TSelf(wxInputStream) _obj, int pos, int mode );
-int        wxInputStream_Tell( TSelf(wxInputStream) _obj );
-int        wxInputStream_UngetBuffer( TSelf(wxInputStream) _obj, void* buffer, int size );
-int        wxInputStream_Ungetch( TSelf(wxInputStream) _obj, TChar c );
-
-/* wxJoystick */
-TClassDefExtend(wxJoystick,wxObject)
-TClass(wxJoystick) wxJoystick_Create( int joystick );
-void       wxJoystick_Delete( TSelf(wxJoystick) _obj );
-int        wxJoystick_GetButtonState( TSelf(wxJoystick) _obj );
-int        wxJoystick_GetManufacturerId( TSelf(wxJoystick) _obj );
-int        wxJoystick_GetMaxAxes( TSelf(wxJoystick) _obj );
-int        wxJoystick_GetMaxButtons( TSelf(wxJoystick) _obj );
-int        wxJoystick_GetMovementThreshold( TSelf(wxJoystick) _obj );
-int        wxJoystick_GetNumberAxes( TSelf(wxJoystick) _obj );
-int        wxJoystick_GetNumberButtons( TSelf(wxJoystick) _obj );
-int        wxJoystick_GetNumberJoysticks( TSelf(wxJoystick) _obj );
-int        wxJoystick_GetPOVCTSPosition( TSelf(wxJoystick) _obj );
-int        wxJoystick_GetPOVPosition( TSelf(wxJoystick) _obj );
-int        wxJoystick_GetPollingMax( TSelf(wxJoystick) _obj );
-int        wxJoystick_GetPollingMin( TSelf(wxJoystick) _obj );
-TClass(wxPoint) wxJoystick_GetPosition( TSelf(wxJoystick) _obj );
-int        wxJoystick_GetProductId( TSelf(wxJoystick) _obj );
-TClass(wxString) wxJoystick_GetProductName( TSelf(wxJoystick) _obj );
-int        wxJoystick_GetRudderMax( TSelf(wxJoystick) _obj );
-int        wxJoystick_GetRudderMin( TSelf(wxJoystick) _obj );
-int        wxJoystick_GetRudderPosition( TSelf(wxJoystick) _obj );
-int        wxJoystick_GetUMax( TSelf(wxJoystick) _obj );
-int        wxJoystick_GetUMin( TSelf(wxJoystick) _obj );
-int        wxJoystick_GetUPosition( TSelf(wxJoystick) _obj );
-int        wxJoystick_GetVMax( TSelf(wxJoystick) _obj );
-int        wxJoystick_GetVMin( TSelf(wxJoystick) _obj );
-int        wxJoystick_GetVPosition( TSelf(wxJoystick) _obj );
-int        wxJoystick_GetXMax( TSelf(wxJoystick) _obj );
-int        wxJoystick_GetXMin( TSelf(wxJoystick) _obj );
-int        wxJoystick_GetYMax( TSelf(wxJoystick) _obj );
-int        wxJoystick_GetYMin( TSelf(wxJoystick) _obj );
-int        wxJoystick_GetZMax( TSelf(wxJoystick) _obj );
-int        wxJoystick_GetZMin( TSelf(wxJoystick) _obj );
-int        wxJoystick_GetZPosition( TSelf(wxJoystick) _obj );
-TBool      wxJoystick_HasPOV( TSelf(wxJoystick) _obj );
-TBool      wxJoystick_HasPOV4Dir( TSelf(wxJoystick) _obj );
-TBool      wxJoystick_HasPOVCTS( TSelf(wxJoystick) _obj );
-TBool      wxJoystick_HasRudder( TSelf(wxJoystick) _obj );
-TBool      wxJoystick_HasU( TSelf(wxJoystick) _obj );
-TBool      wxJoystick_HasV( TSelf(wxJoystick) _obj );
-TBool      wxJoystick_HasZ( TSelf(wxJoystick) _obj );
-TBool      wxJoystick_IsOk( TSelf(wxJoystick) _obj );
-int        wxJoystick_ReleaseCapture( TSelf(wxJoystick) _obj );
-int        wxJoystick_SetCapture( TSelf(wxJoystick) _obj, TClass(wxWindow) win, int pollingFreq );
-void       wxJoystick_SetMovementThreshold( TSelf(wxJoystick) _obj, int threshold );
-
-/* wxJoystickEvent */
-TClassDefExtend(wxJoystickEvent,wxEvent)
-TBool      wxJoystickEvent_ButtonDown( TSelf(wxJoystickEvent) _obj, int but );
-TBool      wxJoystickEvent_ButtonIsDown( TSelf(wxJoystickEvent) _obj, int but );
-TBool      wxJoystickEvent_ButtonUp( TSelf(wxJoystickEvent) _obj, int but );
-void       wxJoystickEvent_CopyObject( TSelf(wxJoystickEvent) _obj, void* obj );
-int        wxJoystickEvent_GetButtonChange( TSelf(wxJoystickEvent) _obj );
-int        wxJoystickEvent_GetButtonState( TSelf(wxJoystickEvent) _obj );
-int        wxJoystickEvent_GetJoystick( TSelf(wxJoystickEvent) _obj );
-TClass(wxPoint) wxJoystickEvent_GetPosition( TSelf(wxJoystickEvent) _obj );
-int        wxJoystickEvent_GetZPosition( TSelf(wxJoystickEvent) _obj );
-TBool      wxJoystickEvent_IsButton( TSelf(wxJoystickEvent) _obj );
-TBool      wxJoystickEvent_IsMove( TSelf(wxJoystickEvent) _obj );
-TBool      wxJoystickEvent_IsZMove( TSelf(wxJoystickEvent) _obj );
-void       wxJoystickEvent_SetButtonChange( TSelf(wxJoystickEvent) _obj, int change );
-void       wxJoystickEvent_SetButtonState( TSelf(wxJoystickEvent) _obj, int state );
-void       wxJoystickEvent_SetJoystick( TSelf(wxJoystickEvent) _obj, int stick );
-void       wxJoystickEvent_SetPosition( TSelf(wxJoystickEvent) _obj, TPoint(x,y) );
-void       wxJoystickEvent_SetZPosition( TSelf(wxJoystickEvent) _obj, int zPos );
-
-/* wxKeyEvent */
-TClassDefExtend(wxKeyEvent,wxEvent)
-TBool      wxKeyEvent_AltDown( TSelf(wxKeyEvent) _obj );
-TBool      wxKeyEvent_ControlDown( TSelf(wxKeyEvent) _obj );
-void       wxKeyEvent_CopyObject( TSelf(wxKeyEvent) _obj, void* obj );
-int        wxKeyEvent_GetKeyCode( TSelf(wxKeyEvent) _obj );
-TClass(wxPoint) wxKeyEvent_GetPosition( TSelf(wxKeyEvent) _obj );
-int        wxKeyEvent_GetX( TSelf(wxKeyEvent) _obj );
-int        wxKeyEvent_GetY( TSelf(wxKeyEvent) _obj );
-int        wxKeyEvent_GetModifiers( TSelf(wxKeyEvent) _obj );
-TBool      wxKeyEvent_HasModifiers( TSelf(wxKeyEvent) _obj );
-TBool      wxKeyEvent_MetaDown( TSelf(wxKeyEvent) _obj );
-void       wxKeyEvent_SetKeyCode( TSelf(wxKeyEvent) _obj, int code );
-TBool      wxKeyEvent_ShiftDown( TSelf(wxKeyEvent) _obj );
-
-/* wxLEDNumberCtrl */
-TClassDefExtend(wxLEDNumberCtrl,wxControl)
-TClass(wxLEDNumberCtrl) wxLEDNumberCtrl_Create( TClass(wxWindow) parent, int id, TRect(x,y,w,h), int style );
-int        wxLEDNumberCtrl_GetAlignment( TSelf(wxLEDNumberCtrl) _obj );
-int        wxLEDNumberCtrl_GetDrawFaded( TSelf(wxLEDNumberCtrl) _obj );
-int        wxLEDNumberCtrl_GetValue( TSelf(wxLEDNumberCtrl) _obj, void* _ref );
-void       wxLEDNumberCtrl_SetAlignment( TSelf(wxLEDNumberCtrl) _obj, int Alignment, int Redraw );
-void       wxLEDNumberCtrl_SetDrawFaded( TSelf(wxLEDNumberCtrl) _obj, int DrawFaded, int Redraw );
-void       wxLEDNumberCtrl_SetValue( TSelf(wxLEDNumberCtrl) _obj, void* Value, int Redraw );
-
-/* wxLayoutAlgorithm */
-TClassDefExtend(wxLayoutAlgorithm,wxObject)
-TClass(wxLayoutAlgorithm) wxLayoutAlgorithm_Create(  );
-void       wxLayoutAlgorithm_Delete( TSelf(wxLayoutAlgorithm) _obj );
-TBool      wxLayoutAlgorithm_LayoutFrame( TSelf(wxLayoutAlgorithm) _obj, TClass(wxFrame) frame, void* mainWindow );
-TBool      wxLayoutAlgorithm_LayoutMDIFrame( TSelf(wxLayoutAlgorithm) _obj, TClass(wxFrame) frame, TRect(x,y,w,h), int use );
-TBool      wxLayoutAlgorithm_LayoutWindow( TSelf(wxLayoutAlgorithm) _obj, TClass(wxFrame) frame, void* mainWindow );
-
-/* wxLayoutConstraints */
-TClassDefExtend(wxLayoutConstraints,wxObject)
-TClass(wxLayoutConstraints) wxLayoutConstraints_Create(  );
-void*      wxLayoutConstraints_bottom( TSelf(wxLayoutConstraints) _obj );
-void*      wxLayoutConstraints_centreX( TSelf(wxLayoutConstraints) _obj );
-void*      wxLayoutConstraints_centreY( TSelf(wxLayoutConstraints) _obj );
-void*      wxLayoutConstraints_height( TSelf(wxLayoutConstraints) _obj );
-void*      wxLayoutConstraints_left( TSelf(wxLayoutConstraints) _obj );
-void*      wxLayoutConstraints_right( TSelf(wxLayoutConstraints) _obj );
-void*      wxLayoutConstraints_top( TSelf(wxLayoutConstraints) _obj );
-void*      wxLayoutConstraints_width( TSelf(wxLayoutConstraints) _obj );
-
-/* wxList */
-TClassDefExtend(wxList,wxObject)
-
-/* wxListBox */
-TClassDefExtend(wxListBox,wxControl)
-void       wxListBox_Append( TSelf(wxListBox) _obj, TClass(wxString) item );
-void       wxListBox_AppendData( TSelf(wxListBox) _obj, TClass(wxString) item, void* data );
-void       wxListBox_Clear( TSelf(wxListBox) _obj );
-TClass(wxListBox) wxListBox_Create( TClass(wxWindow) _prt, int _id, TRect(_lft,_top,_wdt,_hgt), TArrayString(n,str), int _stl );
-void       wxListBox_Delete( TSelf(wxListBox) _obj, int n );
-int        wxListBox_FindString( TSelf(wxListBox) _obj, TClass(wxString) s );
-TClass(wxClientData) wxListBox_GetClientData( TSelf(wxListBox) _obj, int n );
-int        wxListBox_GetCount( TSelf(wxListBox) _obj );
-int        wxListBox_GetSelection( TSelf(wxListBox) _obj );
-int        wxListBox_GetSelections( TSelf(wxListBox) _obj, int* aSelections, int allocated );
-TClass(wxString) wxListBox_GetString( TSelf(wxListBox) _obj, int n );
-void       wxListBox_InsertItems( TSelf(wxListBox) _obj, void* items, int pos, int count );
-TBool      wxListBox_IsSelected( TSelf(wxListBox) _obj, int n );
-void       wxListBox_SetClientData( TSelf(wxListBox) _obj, int n, TClass(wxClientData) clientData );
-void       wxListBox_SetFirstItem( TSelf(wxListBox) _obj, int n );
-void       wxListBox_SetSelection( TSelf(wxListBox) _obj, int n, TBoolInt select );
-void       wxListBox_SetString( TSelf(wxListBox) _obj, int n, TClass(wxString) s );
-void       wxListBox_SetStringSelection( TSelf(wxListBox) _obj, TClass(wxString) str, TBool sel );
-
-/* wxListCtrl */
-TClassDefExtend(wxListCtrl,wxControl)
-TBool      wxListCtrl_Arrange( TSelf(wxListCtrl) _obj, int flag );
-void       wxListCtrl_ClearAll( TSelf(wxListCtrl) _obj );
-TClass(wxListCtrl) wxListCtrl_Create( TClass(wxWindow) _prt, int _id, TRect(_lft,_top,_wdt,_hgt), int _stl );
-TBool      wxListCtrl_DeleteAllColumns( TSelf(wxListCtrl) _obj );
-TBool      wxListCtrl_DeleteAllItems( TSelf(wxListCtrl) _obj );
-TBool      wxListCtrl_DeleteColumn( TSelf(wxListCtrl) _obj, int col );
-TBool      wxListCtrl_DeleteItem( TSelf(wxListCtrl) _obj, int item );
-void       wxListCtrl_EditLabel( TSelf(wxListCtrl) _obj, int item );
-TBool      wxListCtrl_EndEditLabel( TSelf(wxListCtrl) _obj, int cancel );
-TBool      wxListCtrl_EnsureVisible( TSelf(wxListCtrl) _obj, int item );
-int        wxListCtrl_FindItem( TSelf(wxListCtrl) _obj, int start, TClass(wxString) str, TBool partial );
-int        wxListCtrl_FindItemByData( TSelf(wxListCtrl) _obj, int start, int data );
-int        wxListCtrl_FindItemByPosition( TSelf(wxListCtrl) _obj, int start, TPoint(x,y), int direction );
-TBool      wxListCtrl_GetColumn( TSelf(wxListCtrl) _obj, int col, TClass(wxListItem) item );
-int        wxListCtrl_GetColumnCount( TSelf(wxListCtrl) _obj );
-int        wxListCtrl_GetColumnWidth( TSelf(wxListCtrl) _obj, int col );
-int        wxListCtrl_GetCountPerPage( TSelf(wxListCtrl) _obj );
-TClass(wxTextCtrl)  wxListCtrl_GetEditControl( TSelf(wxListCtrl) _obj );
-TClass(wxImageList) wxListCtrl_GetImageList( TSelf(wxListCtrl) _obj, int which );
-TBool      wxListCtrl_GetItem( TSelf(wxListCtrl) _obj, TClass(wxListItem) info );
-int        wxListCtrl_GetItemCount( TSelf(wxListCtrl) _obj );
-int        wxListCtrl_GetItemData( TSelf(wxListCtrl) _obj, int item );
-TClass(wxPoint) wxListCtrl_GetItemPosition( TSelf(wxListCtrl) _obj, int item );
-TClass(wxRect) wxListCtrl_GetItemRect( TSelf(wxListCtrl) _obj, int item, int code );
-TClass(wxSize) wxListCtrl_GetItemSpacing( TSelf(wxListCtrl) _obj, TBool isSmall );
-int        wxListCtrl_GetItemState( TSelf(wxListCtrl) _obj, int item, int stateMask );
-TClass(wxString) wxListCtrl_GetItemText( TSelf(wxListCtrl) _obj, int item );
-int        wxListCtrl_GetNextItem( TSelf(wxListCtrl) _obj, int item, int geometry, int state );
-int        wxListCtrl_GetSelectedItemCount( TSelf(wxListCtrl) _obj );
-void       wxListCtrl_GetTextColour( TSelf(wxListCtrl) _obj, TClassRef(wxColour) _ref );
-int        wxListCtrl_GetTopItem( TSelf(wxListCtrl) _obj );
-int        wxListCtrl_HitTest( TSelf(wxListCtrl) _obj, TPoint(x,y), void* flags );
-int        wxListCtrl_InsertColumn( TSelf(wxListCtrl) _obj, int col, TClass(wxString) heading, int format, int width );
-int        wxListCtrl_InsertColumnFromInfo( TSelf(wxListCtrl) _obj, int col, TClass(wxListItem) info );
-int        wxListCtrl_InsertItem( TSelf(wxListCtrl) _obj, TClass(wxListItem) info );
-int        wxListCtrl_InsertItemWithData( TSelf(wxListCtrl) _obj, int index, TClass(wxString) label );
-int        wxListCtrl_InsertItemWithImage( TSelf(wxListCtrl) _obj, int index, int imageIndex );
-int        wxListCtrl_InsertItemWithLabel( TSelf(wxListCtrl) _obj, int index, TClass(wxString) label, int imageIndex );
-TBool      wxListCtrl_ScrollList( TSelf(wxListCtrl) _obj, TVector(dx,dy) );
-void       wxListCtrl_SetBackgroundColour( TSelf(wxListCtrl) _obj, TClass(wxColour) col );
-TBool      wxListCtrl_SetColumn( TSelf(wxListCtrl) _obj, int col, TClass(wxListItem) item );
-TBool      wxListCtrl_SetColumnWidth( TSelf(wxListCtrl) _obj, int col, int width );
-int        wxListCtrl_SetForegroundColour( TSelf(wxListCtrl) _obj, TClass(wxColour) col );
-void       wxListCtrl_SetImageList( TSelf(wxListCtrl) _obj, TClass(wxImageList) imageList, int which );
-TBool      wxListCtrl_SetItem( TSelf(wxListCtrl) _obj, int index, int col, TClass(wxString) label, int imageId );
-TBool      wxListCtrl_SetItemData( TSelf(wxListCtrl) _obj, int item, int data );
-TBool      wxListCtrl_SetItemFromInfo( TSelf(wxListCtrl) _obj, TClass(wxListItem) info );
-TBool      wxListCtrl_SetItemImage( TSelf(wxListCtrl) _obj, int item, int image, int selImage );
-TBool      wxListCtrl_SetItemPosition( TSelf(wxListCtrl) _obj, int item, TPoint(x,y) );
-TBool      wxListCtrl_SetItemState( TSelf(wxListCtrl) _obj, int item, int state, int stateMask );
-void       wxListCtrl_SetItemText( TSelf(wxListCtrl) _obj, int item, TClass(wxString) str );
-void       wxListCtrl_SetSingleStyle( TSelf(wxListCtrl) _obj, int style, TBool add );
-void       wxListCtrl_SetTextColour( TSelf(wxListCtrl) _obj, TClass(wxColour) col );
-void       wxListCtrl_SetWindowStyleFlag( TSelf(wxListCtrl) _obj, int style );
-TBool      wxListCtrl_SortItems( TSelf(wxListCtrl) _obj, void* fn, void* eif_obj );
-void       wxListCtrl_UpdateStyle( TSelf(wxListCtrl) _obj );
-
-/* wxListEvent */
-TClassDefExtend(wxListEvent,wxNotifyEvent)
-TBool      wxListEvent_Cancelled( TSelf(wxListEvent) _obj );
-int        wxListEvent_GetCode( TSelf(wxListEvent) _obj );
-int        wxListEvent_GetColumn( TSelf(wxListEvent) _obj );
-int        wxListEvent_GetData( TSelf(wxListEvent) _obj );
-int        wxListEvent_GetImage( TSelf(wxListEvent) _obj );
-int        wxListEvent_GetIndex( TSelf(wxListEvent) _obj );
-void       wxListEvent_GetItem( TSelf(wxListEvent) _obj, TClassRef(wxListItem) _ref );
-TClass(wxString) wxListEvent_GetLabel( TSelf(wxListEvent) _obj );
-int        wxListEvent_GetMask( TSelf(wxListEvent) _obj );
-/*
-int        wxListEvent_GetOldIndex( TSelf(wxListEvent) _obj );
-int        wxListEvent_GetOldItem( TSelf(wxListEvent) _obj );
-*/
-TClass(wxPoint) wxListEvent_GetPoint( TSelf(wxListEvent) _obj );
-TClass(wxString) wxListEvent_GetText( TSelf(wxListEvent) _obj );
-
-/* wxListItem */
-TClassDefExtend(wxListItem,wxObject)
-void       wxListItem_Clear( TSelf(wxListItem) _obj );
-void       wxListItem_ClearAttributes( TSelf(wxListItem) _obj );
-TClass(wxListItem) wxListItem_Create(  );
-void       wxListItem_Delete( TSelf(wxListItem) _obj );
-int        wxListItem_GetAlign( TSelf(wxListItem) _obj );
-void*      wxListItem_GetAttributes( TSelf(wxListItem) _obj );
-void       wxListItem_GetBackgroundColour( TSelf(wxListItem) _obj, TClassRef(wxColour) _ref );
-int        wxListItem_GetColumn( TSelf(wxListItem) _obj );
-int        wxListItem_GetData( TSelf(wxListItem) _obj );
-void       wxListItem_GetFont( TSelf(wxListItem) _obj, TClassRef(wxFont) _ref );
-int        wxListItem_GetId( TSelf(wxListItem) _obj );
-int        wxListItem_GetImage( TSelf(wxListItem) _obj );
-int        wxListItem_GetMask( TSelf(wxListItem) _obj );
-int        wxListItem_GetState( TSelf(wxListItem) _obj );
-TClass(wxString) wxListItem_GetText( TSelf(wxListItem) _obj );
-void       wxListItem_GetTextColour( TSelf(wxListItem) _obj, TClassRef(wxColour) _ref );
-int        wxListItem_GetWidth( TSelf(wxListItem) _obj );
-TBool      wxListItem_HasAttributes( TSelf(wxListItem) _obj );
-void       wxListItem_SetAlign( TSelf(wxListItem) _obj, int align );
-void       wxListItem_SetBackgroundColour( TSelf(wxListItem) _obj, TClass(wxColour) colBack );
-void       wxListItem_SetColumn( TSelf(wxListItem) _obj, int col );
-void       wxListItem_SetData( TSelf(wxListItem) _obj, int data );
-void       wxListItem_SetDataPointer( TSelf(wxListItem) _obj, void* data );
-void       wxListItem_SetFont( TSelf(wxListItem) _obj, TClass(wxFont) font );
-void       wxListItem_SetId( TSelf(wxListItem) _obj, int id );
-void       wxListItem_SetImage( TSelf(wxListItem) _obj, int image );
-void       wxListItem_SetMask( TSelf(wxListItem) _obj, int mask );
-void       wxListItem_SetState( TSelf(wxListItem) _obj, int state );
-void       wxListItem_SetStateMask( TSelf(wxListItem) _obj, int stateMask );
-void       wxListItem_SetText( TSelf(wxListItem) _obj, TClass(wxString) text );
-void       wxListItem_SetTextColour( TSelf(wxListItem) _obj, TClass(wxColour) colText );
-void       wxListItem_SetWidth( TSelf(wxListItem) _obj, int width );
-
-/* wxLocale */
-TClassDef(wxLocale)
-int        wxLocale_AddCatalog( TSelf(wxLocale) _obj, void* szDomain );
-void       wxLocale_AddCatalogLookupPathPrefix( TSelf(wxLocale) _obj, void* prefix );
-TClass(wxLocale) wxLocale_Create( int _name, int _flags );
-void       wxLocale_Delete( TSelf(wxLocale) _obj );
-TClass(wxLocale) wxLocale_GetLocale( TSelf(wxLocale) _obj );
-TClass(wxString) wxLocale_GetName( TSelf(wxLocale) _obj );
-TString    wxLocale_GetString( TSelf(wxLocale) _obj, void* szOrigString, void* szDomain );
-TBool      wxLocale_IsLoaded( TSelf(wxLocale) _obj, void* szDomain );
-TBool      wxLocale_IsOk( TSelf(wxLocale) _obj );
-
-/* wxLog */
-TClassDef(wxLog)
-
-/* wxLogChain */
-TClassDefExtend(wxLogChain,wxLog)
-TClass(wxLogChain) wxLogChain_Create( TClass(wxLog) logger );
-void       wxLogChain_Delete( TSelf(wxLogChain) _obj );
-TClass(wxLog) wxLogChain_GetOldLog( TSelf(wxLogChain) _obj );
-TBool      wxLogChain_IsPassingMessages( TSelf(wxLogChain) _obj );
-void       wxLogChain_PassMessages( TSelf(wxLogChain) _obj, TBool bDoPass );
-void       wxLogChain_SetLog( TSelf(wxLogChain) _obj, TClass(wxLog) logger );
-
-/* wxLogGUI */
-TClassDefExtend(wxLogGUI,wxLog)
-
-/* wxLogNull */
-TClassDefExtend(wxLogNull,wxLog)
-
-/* wxLogPassThrough */
-TClassDefExtend(wxLogPassThrough,wxLogChain)
-
-/* wxLogStderr */
-TClassDefExtend(wxLogStderr,wxLog)
-
-/* wxLogStream */
-TClassDefExtend(wxLogStream,wxLog)
-
-/* wxLogTextCtrl */
-TClassDefExtend(wxLogTextCtrl,wxLog)
-
-/* wxLogWindow */
-TClassDefExtend(wxLogWindow,wxLogPassThrough)
-
-/* wxLongLong */
-TClassDef(wxLongLong)
-
-/* wxMBConv */
-TClassDef(wxMBConv)
-
-/* wxMBConvFile */
-TClassDefExtend(wxMBConvFile,wxMBConv)
-
-/* wxMBConvUTF7 */
-TClassDefExtend(wxMBConvUTF7,wxMBConv)
-
-/* wxMBConvUTF8 */
-TClassDefExtend(wxMBConvUTF8,wxMBConv)
-
-/* wxMDIChildFrame */
-TClassDefExtend(wxMDIChildFrame,wxFrame)
-void       wxMDIChildFrame_Activate( TSelf(wxMDIChildFrame) _obj );
-TClass(wxMDIChildFrame) wxMDIChildFrame_Create( TClass(wxWindow) _prt, int _id, TClass(wxString) _txt, TRect(_lft,_top,_wdt,_hgt), int _stl );
-
-/* wxMDIClientWindow */
-TClassDefExtend(wxMDIClientWindow,wxWindow)
-
-/* wxMDIParentFrame */
-TClassDefExtend(wxMDIParentFrame,wxFrame)
-void       wxMDIParentFrame_ActivateNext( TSelf(wxMDIParentFrame) _obj );
-void       wxMDIParentFrame_ActivatePrevious( TSelf(wxMDIParentFrame) _obj );
-void       wxMDIParentFrame_ArrangeIcons( TSelf(wxMDIParentFrame) _obj );
-void       wxMDIParentFrame_Cascade( TSelf(wxMDIParentFrame) _obj );
-TClass(wxMDIParentFrame)  wxMDIParentFrame_Create( TClass(wxWindow) _prt, int _id, TClass(wxString) _txt, TRect(_lft,_top,_wdt,_hgt), int _stl );
-TClass(wxMDIChildFrame)   wxMDIParentFrame_GetActiveChild( TSelf(wxMDIParentFrame) _obj );
-TClass(wxMDIClientWindow) wxMDIParentFrame_GetClientWindow( TSelf(wxMDIParentFrame) _obj );
-TClass(wxMenu)            wxMDIParentFrame_GetWindowMenu( TSelf(wxMDIParentFrame) _obj );
-TClass(wxMDIClientWindow) wxMDIParentFrame_OnCreateClient( TSelf(wxMDIParentFrame) _obj );
-void       wxMDIParentFrame_SetWindowMenu( TSelf(wxMDIParentFrame) _obj, TClass(wxMenu) menu );
-void       wxMDIParentFrame_Tile( TSelf(wxMDIParentFrame) _obj );
-
-/* wxMask */
-TClassDefExtend(wxMask,wxObject)
-TClass(wxMask) wxMask_Create( TClass(wxBitmap) bitmap );
-void*      wxMask_CreateColoured( TClass(wxBitmap) bitmap, TClass(wxColour) colour );
-
-/* wxMaximizeEvent */
-TClassDefExtend(wxMaximizeEvent,wxEvent)
-
-/* wxMemoryDC */
-TClassDefExtend(wxMemoryDC,wxDC)
-TClass(wxMemoryDC) wxMemoryDC_Create(  );
-TClass(wxMemoryDC) wxMemoryDC_CreateCompatible( TClass(wxDC) dc );
-TClass(wxMemoryDC) wxMemoryDC_CreateWithBitmap( TClass(wxBitmap) bitmap );
-void       wxMemoryDC_Delete( TSelf(wxMemoryDC) _obj );
-void       wxMemoryDC_SelectObject( TSelf(wxMemoryDC) _obj, TClass(wxBitmap) bitmap );
-
-/* wxMemoryFSHandler */
-TClassDefExtend(wxMemoryFSHandler,wxFileSystemHandler)
-
-/* wxMemoryInputStream */
-TClassDefExtend(wxMemoryInputStream,wxInputStream)
-
-/* wxMemoryOutputStream */
-TClassDefExtend(wxMemoryOutputStream,wxOutputStream)
-
-/* wxMenu */
-TClassDefExtend(wxMenu,wxEvtHandler)
-void       wxMenu_Append( TSelf(wxMenu) _obj, int id, TClass(wxString) text, TClass(wxString) help, TBool isCheckable );
-void       wxMenu_AppendItem( TSelf(wxMenu) _obj, TClass(wxMenuItem) _itm );
-void       wxMenu_AppendSeparator( TSelf(wxMenu) _obj );
-void       wxMenu_AppendSub( TSelf(wxMenu) _obj, int id, TClass(wxString) text, TClass(wxMenu) submenu, TClass(wxString) help );
-void       wxMenu_Break( TSelf(wxMenu) _obj );
-void       wxMenu_Check( TSelf(wxMenu) _obj, int id, TBool check );
-TClass(wxMenu) wxMenu_Create( TClass(wxString) title, long style );
-void       wxMenu_DeleteById( TSelf(wxMenu) _obj, int id );
-void       wxMenu_DeleteByItem( TSelf(wxMenu) _obj, TClass(wxMenuItem) _itm );
-void       wxMenu_DeletePointer( TSelf(wxMenu) _obj );
-void       wxMenu_DestroyById( TSelf(wxMenu) _obj, int id );
-void       wxMenu_DestroyByItem( TSelf(wxMenu) _obj, TClass(wxMenuItem) _itm );
-void       wxMenu_Enable( TSelf(wxMenu) _obj, int id, TBool enable );
-TClass(wxMenuItem)  wxMenu_FindItem( TSelf(wxMenu) _obj, int id);
-int        wxMenu_FindItemByLabel( TSelf(wxMenu) _obj, TClass(wxString) itemString );
-TClass(wxClientData) wxMenu_GetClientData( TSelf(wxMenu) _obj );
-TClass(wxString) wxMenu_GetHelpString( TSelf(wxMenu) _obj, int id );
-TClass(wxWindow) wxMenu_GetInvokingWindow( TSelf(wxMenu) _obj );
-TClass(wxString) wxMenu_GetLabel( TSelf(wxMenu) _obj, int id );
-size_t     wxMenu_GetMenuItemCount( TSelf(wxMenu) _obj );
-int        wxMenu_GetMenuItems( TSelf(wxMenu) _obj, TClass(wxList) _lst );
-TClass(wxMenu) wxMenu_GetParent( TSelf(wxMenu) _obj );
-int        wxMenu_GetStyle( TSelf(wxMenu) _obj );
-TClass(wxString) wxMenu_GetTitle( TSelf(wxMenu) _obj );
-void       wxMenu_Insert( TSelf(wxMenu) _obj, size_t pos, int id, TClass(wxString) text, TClass(wxString) help, TBool isCheckable );
-void       wxMenu_InsertItem( TSelf(wxMenu) _obj, size_t pos, TClass(wxMenuItem) _itm );
-void       wxMenu_InsertSub( TSelf(wxMenu) _obj, size_t pos, int id, TClass(wxString) text, TClass(wxMenu) submenu, TClass(wxString) help );
-TBool      wxMenu_IsAttached( TSelf(wxMenu) _obj );
-TBool      wxMenu_IsChecked( TSelf(wxMenu) _obj, int id );
-TBool      wxMenu_IsEnabled( TSelf(wxMenu) _obj, int id );
-void       wxMenu_Prepend( TSelf(wxMenu) _obj, int id, TClass(wxString) text, TClass(wxString) help, TBool isCheckable );
-void       wxMenu_PrependItem( TSelf(wxMenu) _obj, TClass(wxMenuItem) _itm );
-void       wxMenu_PrependSub( TSelf(wxMenu) _obj, int id, TClass(wxString) text, TClass(wxMenu) submenu, TClass(wxString) help );
-void       wxMenu_RemoveById( TSelf(wxMenu) _obj, int id, TClass(wxMenuItem) _itm );
-void       wxMenu_RemoveByItem( TSelf(wxMenu) _obj, void* item );
-void       wxMenu_SetClientData( TSelf(wxMenu) _obj, TClass(wxClientData) clientData );
-void       wxMenu_SetEventHandler( TSelf(wxMenu) _obj, TClass(wxEvtHandler) handler );
-void       wxMenu_SetHelpString( TSelf(wxMenu) _obj, int id, TClass(wxString) helpString );
-void       wxMenu_SetInvokingWindow( TSelf(wxMenu) _obj, TClass(wxWindow) win );
-void       wxMenu_SetLabel( TSelf(wxMenu) _obj, int id, TClass(wxString) label );
-void       wxMenu_SetParent( TSelf(wxMenu) _obj, TClass(wxWindow) parent );
-void       wxMenu_SetTitle( TSelf(wxMenu) _obj, TClass(wxString) title );
-void       wxMenu_UpdateUI( TSelf(wxMenu) _obj, void* source );
-
-/* wxMenuBar */
-TClassDefExtend(wxMenuBar,wxEvtHandler)
-int        wxMenuBar_Append( TSelf(wxMenuBar) _obj, TClass(wxMenu) menu, TClass(wxString) title );
-void       wxMenuBar_Check( TSelf(wxMenuBar) _obj, int id, TBool check );
-TClass(wxMenuBar) wxMenuBar_Create( int _style );
-void       wxMenuBar_DeletePointer( TSelf(wxMenuBar) _obj );
-int        wxMenuBar_Enable( TSelf(wxMenuBar) _obj, TBool enable );
-void       wxMenuBar_EnableItem( TSelf(wxMenuBar) _obj, int id, TBool enable );
-void       wxMenuBar_EnableTop( TSelf(wxMenuBar) _obj, int pos, TBool enable );
-TClass(wxMenuItem) wxMenuBar_FindItem( TSelf(wxMenuBar) _obj, int id);
-int        wxMenuBar_FindMenu( TSelf(wxMenuBar) _obj, TClass(wxString) title );
-int        wxMenuBar_FindMenuItem( TSelf(wxMenuBar) _obj, TClass(wxString) menuString, TClass(wxString) itemString );
-TClass(wxString) wxMenuBar_GetHelpString( TSelf(wxMenuBar) _obj, int id );
-TClass(wxString) wxMenuBar_GetLabel( TSelf(wxMenuBar) _obj, int id );
-TClass(wxString) wxMenuBar_GetLabelTop( TSelf(wxMenuBar) _obj, int pos );
-TClass(wxMenu) wxMenuBar_GetMenu( TSelf(wxMenuBar) _obj, int pos );
-int        wxMenuBar_GetMenuCount( TSelf(wxMenuBar) _obj );
-int        wxMenuBar_Insert( TSelf(wxMenuBar) _obj, int pos, TClass(wxMenu) menu, TClass(wxString) title );
-TBool      wxMenuBar_IsChecked( TSelf(wxMenuBar) _obj, int id );
-TBool      wxMenuBar_IsEnabled( TSelf(wxMenuBar) _obj, int id );
-TClass(wxMenu) wxMenuBar_Remove( TSelf(wxMenuBar) _obj, int pos );
-TClass(wxMenu) wxMenuBar_Replace( TSelf(wxMenuBar) _obj, int pos, TClass(wxMenu) menu, TClass(wxString) title );
-void       wxMenuBar_SetHelpString( TSelf(wxMenuBar) _obj, int id, TClass(wxString) helpString );
-void       wxMenuBar_SetItemLabel( TSelf(wxMenuBar) _obj, int id, TClass(wxString) label );
-void       wxMenuBar_SetLabel( TSelf(wxMenuBar) _obj, TClass(wxString) s );
-void       wxMenuBar_SetLabelTop( TSelf(wxMenuBar) _obj, int pos, TClass(wxString) label );
-
-/* wxMenuEvent */
-TClassDefExtend(wxMenuEvent,wxEvent)
-void       wxMenuEvent_CopyObject( TSelf(wxMenuEvent) _obj, void* obj );
-int        wxMenuEvent_GetMenuId( TSelf(wxMenuEvent) _obj );
-
-/* wxMenuItem */
-TClassDefExtend(wxMenuItem,wxObject)
-void       wxMenuItem_Check( TSelf(wxMenuItem) _obj, TBool check );
-TClass(wxMenuItem) wxMenuItem_Create(  );
-void       wxMenuItem_Delete( TSelf(wxMenuItem) _obj );
-void       wxMenuItem_Enable( TSelf(wxMenuItem) _obj, TBool enable );
-TClass(wxString) wxMenuItem_GetHelp( TSelf(wxMenuItem) _obj );
-int        wxMenuItem_GetId( TSelf(wxMenuItem) _obj );
-TClass(wxString) wxMenuItem_GetLabel( TSelf(wxMenuItem) _obj );
-TClass(wxString) wxMenuItem_GetLabelFromText( TStringVoid text );
-TClass(wxMenu) wxMenuItem_GetMenu( TSelf(wxMenuItem) _obj );
-TClass(wxMenu) wxMenuItem_GetSubMenu( TSelf(wxMenuItem) _obj );
-TClass(wxString) wxMenuItem_GetText( TSelf(wxMenuItem) _obj );
-TBool      wxMenuItem_IsCheckable( TSelf(wxMenuItem) _obj );
-TBool      wxMenuItem_IsChecked( TSelf(wxMenuItem) _obj );
-TBool      wxMenuItem_IsEnabled( TSelf(wxMenuItem) _obj );
-TBool      wxMenuItem_IsSeparator( TSelf(wxMenuItem) _obj );
-TBool      wxMenuItem_IsSubMenu( TSelf(wxMenuItem) _obj );
-void       wxMenuItem_SetCheckable( TSelf(wxMenuItem) _obj, TBool checkable );
-void       wxMenuItem_SetHelp( TSelf(wxMenuItem) _obj, TClass(wxString) str );
-void       wxMenuItem_SetId( TSelf(wxMenuItem) _obj, int id );
-void       wxMenuItem_SetSubMenu( TSelf(wxMenuItem) _obj, TClass(wxMenu) menu );
-void       wxMenuItem_SetText( TSelf(wxMenuItem) _obj, TClass(wxString) str );
-
-/* wxMessageDialog */
-TClassDefExtend(wxMessageDialog,wxDialog)
-TClass(wxMessageDialog) wxMessageDialog_Create( TClass(wxWindow) _prt, TClass(wxString) _msg, TClass(wxString) _cap, int _stl );
-void       wxMessageDialog_Delete( TSelf(wxMessageDialog) _obj );
-int        wxMessageDialog_ShowModal( TSelf(wxMessageDialog) _obj );
-
-/* wxMetafile */
-TClassDefExtend(wxMetafile,wxObject)
-TClass(wxMetafile) wxMetafile_Create( TClass(wxString) _file );
-void       wxMetafile_Delete( TSelf(wxMetafile) _obj );
-TBool      wxMetafile_IsOk( TSelf(wxMetafile) _obj );
-TBool      wxMetafile_Play( TSelf(wxMetafile) _obj, TClass(wxDC) _dc );
-TBool      wxMetafile_SetClipboard( TSelf(wxMetafile) _obj, TSize(width,height) );
-
-/* wxMetafileDC */
-TClassDefExtend(wxMetafileDC,wxDC)
-void*      wxMetafileDC_Close( TSelf(wxMetafileDC) _obj );
-TClass(wxMetafileDC) wxMetafileDC_Create( TClass(wxString) _file );
-void       wxMetafileDC_Delete( TSelf(wxMetafileDC) _obj );
-
-/* wxMimeTypesManager */
-TClassDef(wxMimeTypesManager)
-void       wxMimeTypesManager_AddFallbacks( TSelf(wxMimeTypesManager) _obj, void* _types );
-TClass(wxMimeTypesManager) wxMimeTypesManager_Create(  );
-int        wxMimeTypesManager_EnumAllFileTypes( TSelf(wxMimeTypesManager) _obj, TClass(wxList) _lst );
-TClass(wxFileType) wxMimeTypesManager_GetFileTypeFromExtension( TSelf(wxMimeTypesManager) _obj, TClass(wxString) _ext );
-TClass(wxFileType) wxMimeTypesManager_GetFileTypeFromMimeType( TSelf(wxMimeTypesManager) _obj, TClass(wxString) _name );
-TBool      wxMimeTypesManager_IsOfType( TSelf(wxMimeTypesManager) _obj, TClass(wxString) _type, TClass(wxString) _wildcard );
-TBool      wxMimeTypesManager_ReadMailcap( TSelf(wxMimeTypesManager) _obj, TClass(wxString) _file, int _fb );
-TBool      wxMimeTypesManager_ReadMimeTypes( TSelf(wxMimeTypesManager) _obj, TClass(wxString) _file );
-
-/* wxMiniFrame */
-TClassDefExtend(wxMiniFrame,wxFrame)
-TClass(wxMiniFrame) wxMiniFrame_Create( TClass(wxWindow) _prt, int _id, TClass(wxString) _txt, TRect(_lft,_top,_wdt,_hgt), int _stl );
-
-/* wxMirrorDC */
-TClassDefExtend(wxMirrorDC,wxDC)
-TClass(wxMirrorDC) wxMirrorDC_Create( TClass(wxDC) dc );
-void       wxMirrorDC_Delete( TSelf(wxMemoryDC) _obj );
-
-/* wxModule */
-TClassDefExtend(wxModule,wxObject)
-
-/* wxMouseCaptureChangedEvent */
-TClassDefExtend(wxMouseCaptureChangedEvent,wxEvent)
-
-/* wxMouseEvent */
-TClassDefExtend(wxMouseEvent,wxEvent)
-TBool      wxMouseEvent_AltDown( TSelf(wxMouseEvent) _obj );
-TBool      wxMouseEvent_Button( TSelf(wxMouseEvent) _obj, int but );
-TBool      wxMouseEvent_ButtonDClick( TSelf(wxMouseEvent) _obj, int but );
-TBool      wxMouseEvent_ButtonDown( TSelf(wxMouseEvent) _obj, int but );
-TBool      wxMouseEvent_ButtonIsDown( TSelf(wxMouseEvent) _obj, int but );
-TBool      wxMouseEvent_ButtonUp( TSelf(wxMouseEvent) _obj, int but );
-TBool      wxMouseEvent_ControlDown( TSelf(wxMouseEvent) _obj );
-void       wxMouseEvent_CopyObject( TSelf(wxMouseEvent) _obj, void* object_dest );
-TBool      wxMouseEvent_Dragging( TSelf(wxMouseEvent) _obj );
-TBool      wxMouseEvent_Entering( TSelf(wxMouseEvent) _obj );
-TClass(wxPoint) wxMouseEvent_GetLogicalPosition( TSelf(wxMouseEvent) _obj, TClass(wxDC) dc );
-TClass(wxPoint) wxMouseEvent_GetPosition( TSelf(wxMouseEvent) _obj );
-int        wxMouseEvent_GetX( TSelf(wxMouseEvent) _obj );
-int        wxMouseEvent_GetY( TSelf(wxMouseEvent) _obj );
-TBool      wxMouseEvent_IsButton( TSelf(wxMouseEvent) _obj );
-TBool      wxMouseEvent_Leaving( TSelf(wxMouseEvent) _obj );
-TBool      wxMouseEvent_LeftDClick( TSelf(wxMouseEvent) _obj );
-TBool      wxMouseEvent_LeftDown( TSelf(wxMouseEvent) _obj );
-TBool      wxMouseEvent_LeftIsDown( TSelf(wxMouseEvent) _obj );
-TBool      wxMouseEvent_LeftUp( TSelf(wxMouseEvent) _obj );
-TBool      wxMouseEvent_MetaDown( TSelf(wxMouseEvent) _obj );
-TBool      wxMouseEvent_MiddleDClick( TSelf(wxMouseEvent) _obj );
-TBool      wxMouseEvent_MiddleDown( TSelf(wxMouseEvent) _obj );
-TBool      wxMouseEvent_MiddleIsDown( TSelf(wxMouseEvent) _obj );
-TBool      wxMouseEvent_MiddleUp( TSelf(wxMouseEvent) _obj );
-TBool      wxMouseEvent_Moving( TSelf(wxMouseEvent) _obj );
-TBool      wxMouseEvent_RightDClick( TSelf(wxMouseEvent) _obj );
-TBool      wxMouseEvent_RightDown( TSelf(wxMouseEvent) _obj );
-TBool      wxMouseEvent_RightIsDown( TSelf(wxMouseEvent) _obj );
-TBool      wxMouseEvent_RightUp( TSelf(wxMouseEvent) _obj );
-TBool      wxMouseEvent_ShiftDown( TSelf(wxMouseEvent) _obj );
-
-/* wxMoveEvent */
-TClassDefExtend(wxMoveEvent,wxEvent)
-void       wxMoveEvent_CopyObject( TSelf(wxMoveEvent) _obj, void* obj );
-TClass(wxPoint) wxMoveEvent_GetPosition( TSelf(wxMoveEvent) _obj );
-
-/* wxMultiCellCanvas */
-TClassDefExtend(wxMultiCellCanvas,wxFlexGridSizer)
-void       wxMultiCellCanvas_Add( TSelf(wxMultiCellCanvas) _obj, TClass(wxWindow) win, int row, int col );
-void       wxMultiCellCanvas_CalculateConstraints( TSelf(wxMultiCellCanvas) _obj );
-TClass(wxMultiCellCanvas) wxMultiCellCanvas_Create( TClass(wxWindow) parent, int numRows, int numCols );
-int        wxMultiCellCanvas_MaxCols( TSelf(wxMultiCellCanvas) _obj );
-int        wxMultiCellCanvas_MaxRows( TSelf(wxMultiCellCanvas) _obj );
-void       wxMultiCellCanvas_SetMinCellSize( TSelf(wxMultiCellCanvas) _obj, TSize(w,h) );
-
-/* wxMultiCellItemHandle */
-TClassDefExtend(wxMultiCellItemHandle,wxObject)
-TClass(wxMultiCellItemHandle) wxMultiCellItemHandle_Create( int row, int column, int height, int width, int sx, int sy, int style, int wx, int wy, int align );
-void*      wxMultiCellItemHandle_CreateWithSize( TSelf(wxMultiCellItemHandle) _obj, int row, int column, int sx, int sy, int style, int wx, int wy, int align );
-void*      wxMultiCellItemHandle_CreateWithStyle( TSelf(wxMultiCellItemHandle) _obj, int row, int column, int style, int wx, int wy, int align );
-int        wxMultiCellItemHandle_GetAlignment( TSelf(wxMultiCellItemHandle) _obj );
-int        wxMultiCellItemHandle_GetColumn( TSelf(wxMultiCellItemHandle) _obj );
-int        wxMultiCellItemHandle_GetHeight( TSelf(wxMultiCellItemHandle) _obj );
-void       wxMultiCellItemHandle_GetLocalSize( TSelf(wxMultiCellItemHandle) _obj, TSizeOutVoid(_w,_h) );
-int        wxMultiCellItemHandle_GetRow( TSelf(wxMultiCellItemHandle) _obj );
-int        wxMultiCellItemHandle_GetStyle( TSelf(wxMultiCellItemHandle) _obj );
-void       wxMultiCellItemHandle_GetWeight( TSelf(wxMultiCellItemHandle) _obj, TSizeOutVoid(_w,_h) );
-int        wxMultiCellItemHandle_GetWidth( TSelf(wxMultiCellItemHandle) _obj );
-
-/* wxMultiCellSizer */
-TClassDefExtend(wxMultiCellSizer,wxSizer)
-void       wxMultiCellSizer_CalcMin( TSelf(wxMultiCellSizer) _obj, TSizeOutVoid(_w,_h) );
-TClass(wxMultiCellSizer) wxMultiCellSizer_Create( int rows, int cols );
-void       wxMultiCellSizer_Delete( TSelf(wxMultiCellSizer) _obj );
-int        wxMultiCellSizer_EnableGridLines( TSelf(wxMultiCellSizer) _obj, TClass(wxWindow) win );
-void       wxMultiCellSizer_RecalcSizes( TSelf(wxMultiCellSizer) _obj );
-int        wxMultiCellSizer_SetColumnWidth( TSelf(wxMultiCellSizer) _obj, int column, int colSize, int expandable );
-int        wxMultiCellSizer_SetDefaultCellSize( TSelf(wxMultiCellSizer) _obj, TSize(w,h) );
-int        wxMultiCellSizer_SetGridPen( TSelf(wxMultiCellSizer) _obj, TClass(wxPen) pen );
-int        wxMultiCellSizer_SetRowHeight( TSelf(wxMultiCellSizer) _obj, int row, int rowSize, int expandable );
-
-/* wxMutex */
-TClassDef(wxMutex)
-TClass(wxMutex) wxMutex_Create(  );
-void       wxMutex_Delete( TSelf(wxMutex) _obj );
-TBool      wxMutex_IsLocked( TSelf(wxMutex) _obj );
-int        wxMutex_Lock( TSelf(wxMutex) _obj );
-int        wxMutex_TryLock( TSelf(wxMutex) _obj );
-int        wxMutex_Unlock( TSelf(wxMutex) _obj );
-
-/* wxMutexLocker */
-TClassDef(wxMutexLocker)
-
-/* wxNavigationKeyEvent */
-TClassDefExtend(wxNavigationKeyEvent,wxEvent)
-void*      wxNavigationKeyEvent_GetCurrentFocus( TSelf(wxNavigationKeyEvent) _obj );
-TBool      wxNavigationKeyEvent_GetDirection( TSelf(wxNavigationKeyEvent) _obj );
-TBool      wxNavigationKeyEvent_IsWindowChange( TSelf(wxNavigationKeyEvent) _obj );
-void       wxNavigationKeyEvent_SetCurrentFocus( TSelf(wxNavigationKeyEvent) _obj, TClass(wxWindow) win );
-void       wxNavigationKeyEvent_SetDirection( TSelf(wxNavigationKeyEvent) _obj, TBool bForward );
-/* void       wxNavigationKeyEvent_SetPropagate( TSelf(wxNavigationKeyEvent) _obj, int bDoIt );*/
-void       wxNavigationKeyEvent_SetWindowChange( TSelf(wxNavigationKeyEvent) _obj, TBool bIs );
-int        wxNavigationKeyEvent_ShouldPropagate( TSelf(wxNavigationKeyEvent) _obj );
-
-/* wxNewBitmapButton */
-TClassDefExtend(wxNewBitmapButton,wxPanel)
-TClass(wxNewBitmapButton) wxNewBitmapButton_Create( void* labelBitmap, void* labelText, int alignText, TBool isFlat, int firedEventType, int marginX, int marginY, int textToLabelGap, TBool isSticky );
-TClass(wxNewBitmapButton) wxNewBitmapButton_CreateFromFile( TSelf(wxNewBitmapButton) bitmapFileName, int bitmapFileType, void* labelText, int alignText, TBool isFlat, int firedEventType, int marginX, int marginY, int textToLabelGap, TBool isSticky );
-void       wxNewBitmapButton_Delete( TSelf(wxNewBitmapButton) _obj );
-void       wxNewBitmapButton_DrawDecorations( TSelf(wxNewBitmapButton) _obj, TClass(wxDC) dc );
-void       wxNewBitmapButton_DrawLabel( TSelf(wxNewBitmapButton) _obj, TClass(wxDC) dc );
-int        wxNewBitmapButton_Enable( TSelf(wxNewBitmapButton) _obj, TBool enable );
-void       wxNewBitmapButton_Realize( TSelf(wxNewBitmapButton) _obj, TClass(wxWindow) _prt, int _id, TRect(_x,_y,_w,_h) );
-void       wxNewBitmapButton_RenderAllLabelImages( TSelf(wxNewBitmapButton) _obj );
-void       wxNewBitmapButton_RenderLabelImage( TSelf(wxNewBitmapButton) _obj, void* destBmp, void* srcBmp, TBool isEnabled, TBool isPressed );
-void       wxNewBitmapButton_RenderLabelImages( TSelf(wxNewBitmapButton) _obj );
-void       wxNewBitmapButton_Reshape( TSelf(wxNewBitmapButton) _obj );
-void       wxNewBitmapButton_SetAlignments( TSelf(wxNewBitmapButton) _obj, int alignText, int marginX, int marginY, int textToLabelGap );
-void       wxNewBitmapButton_SetLabel( TSelf(wxNewBitmapButton) _obj, void* labelBitmap, void* labelText );
-
-/* wxNodeBase */
-TClassDef(wxNodeBase)
-
-/* wxNotebook */
-TClassDefExtend(wxNotebook,wxControl)
-TBool      wxNotebook_AddPage( TSelf(wxNotebook) _obj, TClass(wxWindow) pPage, TClass(wxString) strText, TBool bSelect, int imageId );
-void       wxNotebook_AdvanceSelection( TSelf(wxNotebook) _obj, TBool bForward );
-TClass(wxNotebook) wxNotebook_Create( TClass(wxWindow) _prt, int _id, TRect(_lft,_top,_wdt,_hgt), int _stl );
-TBool      wxNotebook_DeleteAllPages( TSelf(wxNotebook) _obj );
-TBool      wxNotebook_DeletePage( TSelf(wxNotebook) _obj, int nPage );
-TClass(wxImageList) wxNotebook_GetImageList( TSelf(wxNotebook) _obj );
-TClass(wxWindow)    wxNotebook_GetPage( TSelf(wxNotebook) _obj, int nPage );
-int        wxNotebook_GetPageCount( TSelf(wxNotebook) _obj );
-int        wxNotebook_GetPageImage( TSelf(wxNotebook) _obj, int nPage );
-TClass(wxString) wxNotebook_GetPageText( TSelf(wxNotebook) _obj, int nPage );
-int        wxNotebook_GetRowCount( TSelf(wxNotebook) _obj );
-int        wxNotebook_GetSelection( TSelf(wxNotebook) _obj );
-int        wxNotebook_HitTest( TSelf(wxNotebook) _obj, TPoint(x,y), long* flags );
-TBool      wxNotebook_InsertPage( TSelf(wxNotebook) _obj, int nPage, TClass(wxWindow) pPage, TClass(wxString) strText, TBool bSelect, int imageId );
-TBool      wxNotebook_RemovePage( TSelf(wxNotebook) _obj, int nPage );
-void       wxNotebook_SetImageList( TSelf(wxNotebook) _obj, TClass(wxImageList) imageList );
-void       wxNotebook_SetPadding( TSelf(wxNotebook) _obj, TSize(_w,_h) );
-TBool      wxNotebook_SetPageImage( TSelf(wxNotebook) _obj, int nPage, int nImage );
-void       wxNotebook_SetPageSize( TSelf(wxNotebook) _obj, TSize(_w,_h) );
-TBool      wxNotebook_SetPageText( TSelf(wxNotebook) _obj, int nPage, TClass(wxString) strText );
-int        wxNotebook_SetSelection( TSelf(wxNotebook) _obj, int nPage );
-
-int        expNB_TOP(  );
-int        expNB_BOTTOM(  );
-int        expNB_LEFT(  );
-int        expNB_RIGHT(  );
-
-int        expBK_HITTEST_NOWHERE(  );
-int        expBK_HITTEST_ONICON(  );
-int        expBK_HITTEST_ONLABEL(  );
-int        expBK_HITTEST_ONITEM(  );
-int        expBK_HITTEST_ONPAGE(  );
-
-/* wxNotebookEvent */
-TClassDefExtend(wxNotebookEvent,wxNotifyEvent)
-
-/* wxNotebookSizer */
-/* Class removed from wxWidgets >= 2.8 */
-
-/* wxNotifyEvent */
-TClassDefExtend(wxNotifyEvent,wxCommandEvent)
-void       wxNotifyEvent_Allow( TSelf(wxNotifyEvent) _obj );
-void       wxNotifyEvent_CopyObject( TSelf(wxNotifyEvent) _obj, void* object_dest );
-TBool      wxNotifyEvent_IsAllowed( TSelf(wxNotifyEvent) _obj );
-void       wxNotifyEvent_Veto( TSelf(wxNotifyEvent) _obj );
-
-/* wxObject */
-TClassDef(wxObject)
-
-/* wxObjectRefData */
-TClassDef(wxObjectRefData)
-
-/* wxOutputStream */
-TClassDefExtend(wxOutputStream,wxStreamBase)
-void       wxOutputStream_Delete( TSelf(wxOutputStream) _obj );
-int        wxOutputStream_LastWrite( TSelf(wxOutputStream) _obj );
-void       wxOutputStream_PutC( TSelf(wxOutputStream) _obj, TChar c );
-int        wxOutputStream_Seek( TSelf(wxOutputStream) _obj, int pos, int mode );
-void       wxOutputStream_Sync( TSelf(wxOutputStream) _obj );
-int        wxOutputStream_Tell( TSelf(wxOutputStream) _obj );
-void       wxOutputStream_Write( TSelf(wxOutputStream) _obj, void* buffer, int size );
-
-/* wxPageSetupDialog */
-TClassDefExtend(wxPageSetupDialog,wxDialog)
-TClass(wxPageSetupDialog) wxPageSetupDialog_Create( TClass(wxWindow) parent, TClass(wxPageSetupDialogData) data );
-void       wxPageSetupDialog_GetPageSetupData( TSelf(wxPageSetupDialog) _obj, TClassRef(wxPageSetupDialogData) _ref );
-
-/* wxPageSetupDialogData */
-TClassDefExtend(wxPageSetupDialogData,wxObject)
-void       wxPageSetupDialogData_Assign( TSelf(wxPageSetupDialogData) _obj, TClassRef(wxPageSetupDialogData) data );
-void       wxPageSetupDialogData_AssignData( TSelf(wxPageSetupDialogData) _obj, TClass(wxPrintData) printData );
-void       wxPageSetupDialogData_CalculateIdFromPaperSize( TSelf(wxPageSetupDialogData) _obj );
-void       wxPageSetupDialogData_CalculatePaperSizeFromId( TSelf(wxPageSetupDialogData) _obj );
-TClass(wxPageSetupDialogData) wxPageSetupDialogData_Create(  );
-TClass(wxPageSetupDialogData) wxPageSetupDialogData_CreateFromData( TClass(wxPrintData) printData );
-void       wxPageSetupDialogData_Delete( TSelf(wxPageSetupDialogData) _obj );
-void       wxPageSetupDialogData_EnableHelp( TSelf(wxPageSetupDialogData) _obj, TBool flag );
-void       wxPageSetupDialogData_EnableMargins( TSelf(wxPageSetupDialogData) _obj, TBool flag );
-void       wxPageSetupDialogData_EnableOrientation( TSelf(wxPageSetupDialogData) _obj, TBool flag );
-void       wxPageSetupDialogData_EnablePaper( TSelf(wxPageSetupDialogData) _obj, TBool flag );
-void       wxPageSetupDialogData_EnablePrinter( TSelf(wxPageSetupDialogData) _obj, TBool flag );
-TBool      wxPageSetupDialogData_GetDefaultInfo( TSelf(wxPageSetupDialogData) _obj );
-TBool      wxPageSetupDialogData_GetDefaultMinMargins( TSelf(wxPageSetupDialogData) _obj );
-TBool      wxPageSetupDialogData_GetEnableHelp( TSelf(wxPageSetupDialogData) _obj );
-TBool      wxPageSetupDialogData_GetEnableMargins( TSelf(wxPageSetupDialogData) _obj );
-TBool      wxPageSetupDialogData_GetEnableOrientation( TSelf(wxPageSetupDialogData) _obj );
-TBool      wxPageSetupDialogData_GetEnablePaper( TSelf(wxPageSetupDialogData) _obj );
-TBool      wxPageSetupDialogData_GetEnablePrinter( TSelf(wxPageSetupDialogData) _obj );
-TClass(wxPoint) wxPageSetupDialogData_GetMarginBottomRight( TSelf(wxPageSetupDialogData) _obj );
-TClass(wxPoint) wxPageSetupDialogData_GetMarginTopLeft( TSelf(wxPageSetupDialogData) _obj );
-TClass(wxPoint) wxPageSetupDialogData_GetMinMarginBottomRight( TSelf(wxPageSetupDialogData) _obj );
-TClass(wxPoint) wxPageSetupDialogData_GetMinMarginTopLeft( TSelf(wxPageSetupDialogData) _obj );
-int        wxPageSetupDialogData_GetPaperId( TSelf(wxPageSetupDialogData) _obj );
-TClass(wxSize) wxPageSetupDialogData_GetPaperSize( TSelf(wxPageSetupDialogData) _obj );
-void       wxPageSetupDialogData_GetPrintData( TSelf(wxPageSetupDialogData) _obj, TClassRef(wxPrintData) _ref );
-void       wxPageSetupDialogData_SetDefaultInfo( TSelf(wxPageSetupDialogData) _obj, TBool flag );
-void       wxPageSetupDialogData_SetDefaultMinMargins( TSelf(wxPageSetupDialogData) _obj, int flag );
-void       wxPageSetupDialogData_SetMarginBottomRight( TSelf(wxPageSetupDialogData) _obj, TPoint(x,y) );
-void       wxPageSetupDialogData_SetMarginTopLeft( TSelf(wxPageSetupDialogData) _obj, TPoint(x,y) );
-void       wxPageSetupDialogData_SetMinMarginBottomRight( TSelf(wxPageSetupDialogData) _obj, TPoint(x,y) );
-void       wxPageSetupDialogData_SetMinMarginTopLeft( TSelf(wxPageSetupDialogData) _obj, TPoint(x,y) );
-void       wxPageSetupDialogData_SetPaperId( TSelf(wxPageSetupDialogData) _obj, void* id );
-void       wxPageSetupDialogData_SetPaperSize( TSelf(wxPageSetupDialogData) _obj, TSize(w,h) );
-void       wxPageSetupDialogData_SetPaperSizeId( TSelf(wxPageSetupDialogData) _obj, int id );
-void       wxPageSetupDialogData_SetPrintData( TSelf(wxPageSetupDialogData) _obj, TClass(wxPrintData) printData );
-
-/* wxPaintDC */
-TClassDefExtend(wxPaintDC,wxWindowDC)
-TClass(wxPaintDC) wxPaintDC_Create( TClass(wxWindow) win );
-void       wxPaintDC_Delete( TSelf(wxPaintDC) _obj );
-
-/* wxPaintEvent */
-TClassDefExtend(wxPaintEvent,wxEvent)
-
-/* wxPalette */
-TClassDefExtend(wxPalette,wxGDIObject)
-void       wxPalette_Assign( TSelf(wxPalette) _obj, TClass(wxPalette) palette );
-TClass(wxPalette) wxPalette_CreateDefault(  );
-TClass(wxPalette) wxPalette_CreateRGB( int n, void* red, void* green, void* blue );
-void       wxPalette_Delete( TSelf(wxPalette) _obj );
-int        wxPalette_GetPixel( TSelf(wxPalette) _obj, TColorRGB(red,green,blue) );
-TBool      wxPalette_GetRGB( TSelf(wxPalette) _obj, int pixel, void* red, void* green, void* blue );
-TBool      wxPalette_IsEqual( TSelf(wxPalette) _obj, TClass(wxPalette) palette );
-TBool      wxPalette_IsOk( TSelf(wxPalette) _obj );
-
-/* wxPaletteChangedEvent */
-TClassDefExtend(wxPaletteChangedEvent,wxEvent)
-void       wxPaletteChangedEvent_CopyObject( TSelf(wxPaletteChangedEvent) _obj, void* obj );
-void*      wxPaletteChangedEvent_GetChangedWindow( TSelf(wxPaletteChangedEvent) _obj );
-void       wxPaletteChangedEvent_SetChangedWindow( TSelf(wxPaletteChangedEvent) _obj, TClass(wxWindow) win );
-
-/* wxPanel */
-TClassDefExtend(wxPanel,wxWindow)
-TClass(wxPanel)  wxPanel_Create( TClass(wxWindow) _prt, int _id, TRect(_lft,_top,_wdt,_hgt), int _stl );
-void       wxPanel_InitDialog( TSelf(wxPanel) _obj );
-void       wxPanel_SetFocus( TSelf(wxPanel) _obj);
-
-/* wxPathList */
-TClassDefExtend(wxPathList,wxList)
-
-/* wxPen */
-TClassDefExtend(wxPen,wxGDIObject)
-void       wxPen_Assign( TSelf(wxPen) _obj, TClass(wxPen) pen );
-TClass(wxPen) wxPen_CreateDefault(  );
-TClass(wxPen) wxPen_CreateFromBitmap( TClass(wxBitmap) stipple, int width );
-TClass(wxPen) wxPen_CreateFromColour( TClass(wxColour) col, int width, int style );
-TClass(wxPen) wxPen_CreateFromStock( int id );
-void       wxPen_Delete( TSelf(wxPen) _obj );
-int        wxPen_GetCap( TSelf(wxPen) _obj );
-void       wxPen_GetColour( TSelf(wxPen) _obj, TClassRef(wxColour) _ref );
-int        wxPen_GetDashes( TSelf(wxPen) _obj, void* ptr );
-int        wxPen_GetJoin( TSelf(wxPen) _obj );
-void       wxPen_GetStipple( TSelf(wxPen) _obj, TClassRef(wxBitmap) _ref );
-int        wxPen_GetStyle( TSelf(wxPen) _obj );
-int        wxPen_GetWidth( TSelf(wxPen) _obj );
-TBool      wxPen_IsEqual( TSelf(wxPen) _obj, TClass(wxPen) pen );
-TBool      wxPen_IsOk( TSelf(wxPen) _obj );
-void       wxPen_SetCap( TSelf(wxPen) _obj, int cap );
-void       wxPen_SetColour( TSelf(wxPen) _obj, TClass(wxColour) col );
-void       wxPen_SetColourSingle( TSelf(wxPen) _obj, TChar r, TChar g, TChar b );
-void       wxPen_SetDashes( TSelf(wxPen) _obj, int nb_dashes, void* dash );
-void       wxPen_SetJoin( TSelf(wxPen) _obj, int join );
-void       wxPen_SetStipple( TSelf(wxPen) _obj, TClass(wxBitmap) stipple );
-void       wxPen_SetStyle( TSelf(wxPen) _obj, int style );
-void       wxPen_SetWidth( TSelf(wxPen) _obj, int width );
-
-/* wxPenList */
-TClassDefExtend(wxPenList,wxList)
-
-/* wxPlotCurve */
-TClassDefExtend(wxPlotCurve,wxObject)
-
-/* wxPlotEvent */
-TClassDefExtend(wxPlotEvent,wxNotifyEvent)
-void*      wxPlotEvent_GetCurve( TSelf(wxPlotEvent) _obj );
-int        wxPlotEvent_GetPosition( TSelf(wxPlotEvent) _obj );
-double     wxPlotEvent_GetZoom( TSelf(wxPlotEvent) _obj );
-void       wxPlotEvent_SetPosition( TSelf(wxPlotEvent) _obj, int pos );
-void       wxPlotEvent_SetZoom( TSelf(wxPlotEvent) _obj, double zoom );
-
-/* wxPlotOnOffCurve */
-TClassDefExtend(wxPlotOnOffCurve,wxObject)
-void       wxPlotOnOffCurve_Add( TSelf(wxPlotOnOffCurve) _obj, int on, int off, TClass(wxClientData) clientData );
-TClass(wxPlotOnOffCurve) wxPlotOnOffCurve_Create( int offsetY );
-void       wxPlotOnOffCurve_Delete( TSelf(wxPlotOnOffCurve) _obj );
-void       wxPlotOnOffCurve_DrawOffLine( TSelf(wxPlotOnOffCurve) _obj, TClass(wxDC) dc, int y, int start, int end );
-void       wxPlotOnOffCurve_DrawOnLine( TSelf(wxPlotOnOffCurve) _obj, TClass(wxDC) dc, int y, int start, int end, TClass(wxClientData) clientData );
-void*      wxPlotOnOffCurve_GetAt( TSelf(wxPlotOnOffCurve) _obj, int index );
-TClass(wxClientData) wxPlotOnOffCurve_GetClientData( TSelf(wxPlotOnOffCurve) _obj, int index );
-int        wxPlotOnOffCurve_GetCount( TSelf(wxPlotOnOffCurve) _obj );
-int        wxPlotOnOffCurve_GetEndX( TSelf(wxPlotOnOffCurve) _obj );
-int        wxPlotOnOffCurve_GetOff( TSelf(wxPlotOnOffCurve) _obj, int index );
-int        wxPlotOnOffCurve_GetOffsetY( TSelf(wxPlotOnOffCurve) _obj );
-int        wxPlotOnOffCurve_GetOn( TSelf(wxPlotOnOffCurve) _obj, int index );
-int        wxPlotOnOffCurve_GetStartX( TSelf(wxPlotOnOffCurve) _obj );
-void       wxPlotOnOffCurve_SetOffsetY( TSelf(wxPlotOnOffCurve) _obj, int offsetY );
-
-/* wxPlotWindow */
-TClassDefExtend(wxPlotWindow,wxScrolledWindow)
-void       wxPlotWindow_Add( TSelf(wxPlotWindow) _obj, TClass(wxPlotCurve) curve );
-void       wxPlotWindow_AddOnOff( TSelf(wxPlotWindow) _obj, TClass(wxPlotCurve) curve );
-TClass(wxPlotWindow) wxPlotWindow_Create( TClass(wxWindow) parent, int id, TRect(x,y,w,h), int flags );
-void       wxPlotWindow_Delete( TSelf(wxPlotWindow) _obj, TClass(wxPlotCurve) curve );
-void       wxPlotWindow_DeleteOnOff( TSelf(wxPlotWindow) _obj, TClass(wxPlotOnOffCurve) curve );
-void       wxPlotWindow_Enlarge( TSelf(wxPlotWindow) _obj, TClass(wxPlotCurve) curve, double factor );
-TClass(wxPlotCurve) wxPlotWindow_GetAt( TSelf(wxPlotWindow) _obj, int n );
-int        wxPlotWindow_GetCount( TSelf(wxPlotWindow) _obj );
-TClass(wxPlotCurve) wxPlotWindow_GetCurrent( TSelf(wxPlotWindow) _obj );
-int        wxPlotWindow_GetEnlargeAroundWindowCentre( TSelf(wxPlotWindow) _obj );
-TClass(wxPlotOnOffCurve)      wxPlotWindow_GetOnOffCurveAt( TSelf(wxPlotWindow) _obj, int n );
-int        wxPlotWindow_GetOnOffCurveCount( TSelf(wxPlotWindow) _obj );
-int        wxPlotWindow_GetScrollOnThumbRelease( TSelf(wxPlotWindow) _obj );
-double     wxPlotWindow_GetUnitsPerValue( TSelf(wxPlotWindow) _obj );
-double     wxPlotWindow_GetZoom( TSelf(wxPlotWindow) _obj );
-void       wxPlotWindow_Move( TSelf(wxPlotWindow) _obj, TClass(wxPlotCurve) curve, int pixels_up );
-void       wxPlotWindow_RedrawEverything( TSelf(wxPlotWindow) _obj );
-void       wxPlotWindow_RedrawXAxis( TSelf(wxPlotWindow) _obj );
-void       wxPlotWindow_RedrawYAxis( TSelf(wxPlotWindow) _obj );
-void       wxPlotWindow_ResetScrollbar( TSelf(wxPlotWindow) _obj );
-void       wxPlotWindow_SetCurrent( TSelf(wxPlotWindow) _obj, TClass(wxPlotCurve) current );
-void       wxPlotWindow_SetEnlargeAroundWindowCentre( TSelf(wxPlotWindow) _obj, int enlargeAroundWindowCentre );
-void       wxPlotWindow_SetScrollOnThumbRelease( TSelf(wxPlotWindow) _obj, int scrollOnThumbRelease );
-void       wxPlotWindow_SetUnitsPerValue( TSelf(wxPlotWindow) _obj, double upv );
-void       wxPlotWindow_SetZoom( TSelf(wxPlotWindow) _obj, double zoom );
-
-/* wxPoint */
-TClassDef(wxPoint)
-TClass(wxPoint) wxPoint_Create( TPoint(xx,yy) );
-void       wxPoint_Destroy( TSelf(wxPoint) _obj );
-int        wxPoint_GetX( TSelf(wxPoint) _obj );
-int        wxPoint_GetY( TSelf(wxPoint) _obj );
-void       wxPoint_SetX( TSelf(wxPoint) _obj, int w );
-void       wxPoint_SetY( TSelf(wxPoint) _obj, int h );
-
-/* wxPopupTransientWindow */
-TClassDefExtend(wxPopupTransientWindow,wxPopupWindow)
-
-/* wxPopupWindow */
-TClassDefExtend(wxPopupWindow,wxWindow)
-
-/* wxPostScriptDC */
-TClassDefExtend(wxPostScriptDC,wxDC)
-TClass(wxPostScriptDC) wxPostScriptDC_Create( TClass(wxPrintData) data );
-void       wxPostScriptDC_Delete( TSelf(wxPostScriptDC) self );
-void       wxPostScriptDC_SetResolution( TSelf(wxPostScriptDC) self, int ppi );
-int        wxPostScriptDC_GetResolution( TSelf(wxPostScriptDC) self );
-
-/* wxPreviewCanvas */
-TClassDefExtend(wxPreviewCanvas,wxScrolledWindow)
-TClass(wxPreviewCanvas) wxPreviewCanvas_Create( TClass(wxPrintPreview) preview, TClass(wxWindow) parent, TRect(x,y,w,h), int style );
-
-/* wxPreviewControlBar */
-TClassDefExtend(wxPreviewControlBar,wxPanel)
-
-/* wxPreviewFrame */
-TClassDefExtend(wxPreviewFrame,wxFrame)
-
-/* wxPrintData */
-TClassDefExtend(wxPrintData,wxObject)
-void       wxPrintData_Assign( TSelf(wxPrintData) _obj, TClass(wxPrintData) data );
-TClass(wxPrintData) wxPrintData_Create(  );
-void       wxPrintData_Delete( TSelf(wxPrintData) _obj );
-TBool      wxPrintData_GetCollate( TSelf(wxPrintData) _obj );
-TBool      wxPrintData_GetColour( TSelf(wxPrintData) _obj );
-int        wxPrintData_GetDuplex( TSelf(wxPrintData) _obj );
-TClass(wxString) wxPrintData_GetFilename( TSelf(wxPrintData) _obj );
-TClass(wxString) wxPrintData_GetFontMetricPath( TSelf(wxPrintData) _obj );
-int        wxPrintData_GetNoCopies( TSelf(wxPrintData) _obj );
-int        wxPrintData_GetOrientation( TSelf(wxPrintData) _obj );
-int        wxPrintData_GetPaperId( TSelf(wxPrintData) _obj );
-TClass(wxSize) wxPrintData_GetPaperSize( TSelf(wxPrintData) _obj );
-TClass(wxString) wxPrintData_GetPreviewCommand( TSelf(wxPrintData) _obj );
-int        wxPrintData_GetPrintMode( TSelf(wxPrintData) _obj );
-TClass(wxString) wxPrintData_GetPrinterCommand( TSelf(wxPrintData) _obj );
-TClass(wxString) wxPrintData_GetPrinterName( TSelf(wxPrintData) _obj );
-TClass(wxString) wxPrintData_GetPrinterOptions( TSelf(wxPrintData) _obj );
-double     wxPrintData_GetPrinterScaleX( TSelf(wxPrintData) _obj );
-double     wxPrintData_GetPrinterScaleY( TSelf(wxPrintData) _obj );
-int        wxPrintData_GetPrinterTranslateX( TSelf(wxPrintData) _obj );
-int        wxPrintData_GetPrinterTranslateY( TSelf(wxPrintData) _obj );
-int        wxPrintData_GetQuality( TSelf(wxPrintData) _obj );
-void       wxPrintData_SetCollate( TSelf(wxPrintData) _obj, TBoolInt flag );
-void       wxPrintData_SetColour( TSelf(wxPrintData) _obj, TBoolInt colour );
-void       wxPrintData_SetDuplex( TSelf(wxPrintData) _obj, int duplex );
-void       wxPrintData_SetFilename( TSelf(wxPrintData) _obj, TClass(wxString) filename );
-void       wxPrintData_SetFontMetricPath( TSelf(wxPrintData) _obj, TClass(wxString) path );
-void       wxPrintData_SetNoCopies( TSelf(wxPrintData) _obj, int v );
-void       wxPrintData_SetOrientation( TSelf(wxPrintData) _obj, int orient );
-void       wxPrintData_SetPaperId( TSelf(wxPrintData) _obj, int sizeId );
-void       wxPrintData_SetPaperSize( TSelf(wxPrintData) _obj, TSize(w,h) );
-void       wxPrintData_SetPreviewCommand( TSelf(wxPrintData) _obj, TClass(wxCommand) command );
-void       wxPrintData_SetPrintMode( TSelf(wxPrintData) _obj, int printMode );
-void       wxPrintData_SetPrinterCommand( TSelf(wxPrintData) _obj, TClass(wxCommand) command );
-void       wxPrintData_SetPrinterName( TSelf(wxPrintData) _obj, TClass(wxString) name );
-void       wxPrintData_SetPrinterOptions( TSelf(wxPrintData) _obj, TClass(wxString) options );
-void       wxPrintData_SetPrinterScaleX( TSelf(wxPrintData) _obj, double x );
-void       wxPrintData_SetPrinterScaleY( TSelf(wxPrintData) _obj, double y );
-void       wxPrintData_SetPrinterScaling( TSelf(wxPrintData) _obj, double x, double y );
-void       wxPrintData_SetPrinterTranslateX( TSelf(wxPrintData) _obj, int x );
-void       wxPrintData_SetPrinterTranslateY( TSelf(wxPrintData) _obj, int y );
-void       wxPrintData_SetPrinterTranslation( TSelf(wxPrintData) _obj, TPoint(x,y) );
-void       wxPrintData_SetQuality( TSelf(wxPrintData) _obj, int quality );
-
-/* wxPostScriptPrintNativeData */
-TClassDefExtend(wxPostScriptPrintNativeData,wxObject)
-TClass(wxPostScriptPrintNativeData) wxPostScriptPrintNativeData_Create(  );
-void       wxPostScriptPrintNativeData_Delete( TSelf(wxPostScriptPrintNativeData) _obj );
-
-/* wxPrintDialog */
-TClassDefExtend(wxPrintDialog,wxDialog)
-TClass(wxPrintDialog) wxPrintDialog_Create( TClass(wxWindow) parent, TClass(wxPrintDialogData) data );
-TClass(wxDC)         wxPrintDialog_GetPrintDC( TSelf(wxPrintDialog) _obj );
-void       wxPrintDialog_GetPrintData( TSelf(wxPrintDialog) _obj, TClassRef(wxPrintData) _ref );
-TClass(wxPrintDialogData) wxPrintDialog_GetPrintDialogData( TSelf(wxPrintDialog) _obj );
-
-/* wxPrintDialogData */
-TClassDefExtend(wxPrintDialogData,wxObject)
-void       wxPrintDialogData_Assign( TSelf(wxPrintDialogData) _obj, TClass(wxPrintDialogData) data );
-void       wxPrintDialogData_AssignData( TSelf(wxPrintDialogData) _obj, TClass(wxPrintData) data );
-TClass(wxPrintDialogData) wxPrintDialogData_CreateDefault(  );
-TClass(wxPrintDialogData) wxPrintDialogData_CreateFromData( TClass(wxPrintData) printData );
-void       wxPrintDialogData_Delete( TSelf(wxPrintDialogData) _obj );
-void       wxPrintDialogData_EnableHelp( TSelf(wxPrintDialogData) _obj, TBool flag );
-void       wxPrintDialogData_EnablePageNumbers( TSelf(wxPrintDialogData) _obj, TBool flag );
-void       wxPrintDialogData_EnablePrintToFile( TSelf(wxPrintDialogData) _obj, TBool flag );
-void       wxPrintDialogData_EnableSelection( TSelf(wxPrintDialogData) _obj, TBool flag );
-int        wxPrintDialogData_GetAllPages( TSelf(wxPrintDialogData) _obj );
-TBool      wxPrintDialogData_GetCollate( TSelf(wxPrintDialogData) _obj );
-TBool      wxPrintDialogData_GetEnableHelp( TSelf(wxPrintDialogData) _obj );
-TBool      wxPrintDialogData_GetEnablePageNumbers( TSelf(wxPrintDialogData) _obj );
-TBool      wxPrintDialogData_GetEnablePrintToFile( TSelf(wxPrintDialogData) _obj );
-TBool      wxPrintDialogData_GetEnableSelection( TSelf(wxPrintDialogData) _obj );
-int        wxPrintDialogData_GetFromPage( TSelf(wxPrintDialogData) _obj );
-int        wxPrintDialogData_GetMaxPage( TSelf(wxPrintDialogData) _obj );
-int        wxPrintDialogData_GetMinPage( TSelf(wxPrintDialogData) _obj );
-int        wxPrintDialogData_GetNoCopies( TSelf(wxPrintDialogData) _obj );
-void       wxPrintDialogData_GetPrintData( TSelf(wxPrintDialogData) _obj, TClassRef(wxPrintData) _ref );
-TBool      wxPrintDialogData_GetPrintToFile( TSelf(wxPrintDialogData) _obj );
-TBool      wxPrintDialogData_GetSelection( TSelf(wxPrintDialogData) _obj );
-int        wxPrintDialogData_GetToPage( TSelf(wxPrintDialogData) _obj );
-void       wxPrintDialogData_SetAllPages( TSelf(wxPrintDialogData) _obj, TBool flag );
-void       wxPrintDialogData_SetCollate( TSelf(wxPrintDialogData) _obj, TBool flag );
-void       wxPrintDialogData_SetFromPage( TSelf(wxPrintDialogData) _obj, int v );
-void       wxPrintDialogData_SetMaxPage( TSelf(wxPrintDialogData) _obj, int v );
-void       wxPrintDialogData_SetMinPage( TSelf(wxPrintDialogData) _obj, int v );
-void       wxPrintDialogData_SetNoCopies( TSelf(wxPrintDialogData) _obj, int v );
-void       wxPrintDialogData_SetPrintData( TSelf(wxPrintDialogData) _obj, TClass(wxPrintData) printData );
-void       wxPrintDialogData_SetPrintToFile( TSelf(wxPrintDialogData) _obj, TBool flag );
-void       wxPrintDialogData_SetSelection( TSelf(wxPrintDialogData) _obj, TBool flag );
-void       wxPrintDialogData_SetToPage( TSelf(wxPrintDialogData) _obj, int v );
-
-/* wxPrintPreview */
-TClassDefExtend(wxPrintPreview,wxObject)
-TClass(wxPrintPreview) wxPrintPreview_CreateFromData( TClass(wxPrintout) printout, TClass(wxPrintout) printoutForPrinting, TClass(wxPrintData) data );
-TClass(wxPrintPreview) wxPrintPreview_CreateFromDialogData( TClass(wxPrintout) printout, TClass(wxPrintout) printoutForPrinting, TClass(wxPrintDialogData) data );
-void       wxPrintPreview_Delete( TSelf(wxPrintPreview) _obj );
-void       wxPrintPreview_DetermineScaling( TSelf(wxPrintPreview) _obj );
-TBool      wxPrintPreview_DrawBlankPage( TSelf(wxPrintPreview) _obj, TClass(wxPreviewCanvas) canvas, TClass(wxDC) dc );
-TClass(wxPreviewCanvas)  wxPrintPreview_GetCanvas( TSelf(wxPrintPreview) _obj );
-int        wxPrintPreview_GetCurrentPage( TSelf(wxPrintPreview) _obj );
-TClass(wxFrame) wxPrintPreview_GetFrame( TSelf(wxPrintPreview) _obj );
-int        wxPrintPreview_GetMaxPage( TSelf(wxPrintPreview) _obj );
-int        wxPrintPreview_GetMinPage( TSelf(wxPrintPreview) _obj );
-void       wxPrintPreview_GetPrintDialogData( TSelf(wxPrintPreview) _obj, TClassRef(wxPrintDialogData) _ref );
-TClass(wxPrintout) wxPrintPreview_GetPrintout( TSelf(wxPrintPreview) _obj );
-TClass(wxPrintout) wxPrintPreview_GetPrintoutForPrinting( TSelf(wxPrintPreview) _obj );
-int        wxPrintPreview_GetZoom( TSelf(wxPrintPreview) _obj );
-TBool      wxPrintPreview_IsOk( TSelf(wxPrintPreview) _obj );
-TBool      wxPrintPreview_PaintPage( TSelf(wxPrintPreview) _obj, TClass(wxPrintPreview) canvas, TClass(wxDC) dc );
-TBool      wxPrintPreview_Print( TSelf(wxPrintPreview) _obj, TBool interactive );
-TBool      wxPrintPreview_RenderPage( TSelf(wxPrintPreview) _obj, int pageNum );
-void       wxPrintPreview_SetCanvas( TSelf(wxPrintPreview) _obj, TClass(wxPreviewCanvas) canvas );
-TBool      wxPrintPreview_SetCurrentPage( TSelf(wxPrintPreview) _obj, int pageNum );
-void       wxPrintPreview_SetFrame( TSelf(wxPrintPreview) _obj, TClass(wxFrame) frame );
-void       wxPrintPreview_SetOk( TSelf(wxPrintPreview) _obj, TBool ok );
-void       wxPrintPreview_SetPrintout( TSelf(wxPrintPreview) _obj, TClass(wxPrintout) printout );
-void       wxPrintPreview_SetZoom( TSelf(wxPrintPreview) _obj, int percent );
-
-/* wxPrinter */
-TClassDefExtend(wxPrinter,wxObject)
-TClass(wxPrinter) wxPrinter_Create( TClass(wxPrintDialogData) data );
-TClass(wxWindow)  wxPrinter_CreateAbortWindow( TSelf(wxPrinter) _obj, TClass(wxWindow) parent, TClass(wxPrintout) printout );
-void       wxPrinter_Delete( TSelf(wxPrinter) _obj );
-TBool      wxPrinter_GetAbort( TSelf(wxPrinter) _obj );
-int        wxPrinter_GetLastError( TSelf(wxPrinter) _obj );
-void       wxPrinter_GetPrintDialogData( TSelf(wxPrinter) _obj, TClassRef(wxPrintDialogData) _ref );
-TBool      wxPrinter_Print( TSelf(wxPrinter) _obj, TClass(wxWindow) parent, TClass(wxPrintout) printout, TBool prompt );
-TClass(wxDC)  wxPrinter_PrintDialog( TSelf(wxPrinter) _obj, TClass(wxWindow) parent );
-void       wxPrinter_ReportError( TSelf(wxPrinter) _obj, TClass(wxWindow) parent, TClass(wxPrintout) printout, TClass(wxString) message );
-TBool      wxPrinter_Setup( TSelf(wxPrinter) _obj, TClass(wxWindow) parent );
-
-/* wxPrinterDC */
-TClassDefExtend(wxPrinterDC,wxDC)
-TClass(wxPrinterDC) wxPrinterDC_Create( TClass(wxPrintData) data );
-void       wxPrinterDC_Delete( TSelf(wxPrinterDC) self );
-TClass(wxRect) wxPrinterDC_GetPaperRect( TSelf(wxPrinterDC) self );
-
-/* wxPrintout */
-TClassDefExtend(wxPrintout,wxObject)
-
-/* wxPrivateDropTarget */
-TClassDefExtend(wxPrivateDropTarget,wxDropTarget)
-
-/* wxProcess */
-TClassDefExtend(wxProcess,wxEvtHandler)
-void       wxProcess_CloseOutput( TSelf(wxProcess) _obj );
-TClass(wxProcess) wxProcess_CreateDefault( TClass(wxWindow) _prt, int _id );
-TClass(wxProcess) wxProcess_CreateRedirect( TClass(wxWindow) _prt, TBool _rdr );
-void       wxProcess_Delete( TSelf(wxProcess) _obj );
-void       wxProcess_Detach( TSelf(wxProcess) _obj );
-TClass(wxInputStream) wxProcess_GetErrorStream( TSelf(wxProcess) _obj );
-TClass(wxInputStream) wxProcess_GetInputStream( TSelf(wxProcess) _obj );
-TClass(wxOutputStream) wxProcess_GetOutputStream( TSelf(wxProcess) _obj );
-TBool      wxProcess_IsRedirected( TSelf(wxProcess) _obj );
-void       wxProcess_Redirect( TSelf(wxProcess) _obj );
-
-/* wxProcessEvent */
-TClassDefExtend(wxProcessEvent,wxEvent)
-int        wxProcessEvent_GetExitCode( TSelf(wxProcessEvent) _obj );
-int        wxProcessEvent_GetPid( TSelf(wxProcessEvent) _obj );
-
-/* wxProgressDialog */
-TClassDefExtend(wxProgressDialog,wxFrame)
-
-/* wxProtocol */
-TClassDefExtend(wxProtocol,wxSocketClient)
-
-/* wxQuantize */
-TClassDefExtend(wxQuantize,wxObject)
-
-/* wxQueryCol */
-TClassDefExtend(wxQueryCol,wxObject)
-
-/* wxQueryField */
-TClassDefExtend(wxQueryField,wxObject)
-
-/* wxQueryLayoutInfoEvent */
-TClassDefExtend(wxQueryLayoutInfoEvent,wxEvent)
-TClass(wxQueryLayoutInfoEvent) wxQueryLayoutInfoEvent_Create( int id );
-int        wxQueryLayoutInfoEvent_GetAlignment( TSelf(wxQueryLayoutInfoEvent) _obj );
-int        wxQueryLayoutInfoEvent_GetFlags( TSelf(wxQueryLayoutInfoEvent) _obj );
-int        wxQueryLayoutInfoEvent_GetOrientation( TSelf(wxQueryLayoutInfoEvent) _obj );
-int        wxQueryLayoutInfoEvent_GetRequestedLength( TSelf(wxQueryLayoutInfoEvent) _obj );
-TClass(wxSize) wxQueryLayoutInfoEvent_GetSize( TSelf(wxQueryLayoutInfoEvent) _obj );
-void       wxQueryLayoutInfoEvent_SetAlignment( TSelf(wxQueryLayoutInfoEvent) _obj, int align );
-void       wxQueryLayoutInfoEvent_SetFlags( TSelf(wxQueryLayoutInfoEvent) _obj, int flags );
-void       wxQueryLayoutInfoEvent_SetOrientation( TSelf(wxQueryLayoutInfoEvent) _obj, int orient );
-void       wxQueryLayoutInfoEvent_SetRequestedLength( TSelf(wxQueryLayoutInfoEvent) _obj, int length );
-void       wxQueryLayoutInfoEvent_SetSize( TSelf(wxQueryLayoutInfoEvent) _obj, TSize(w,h) );
-
-/* wxQueryNewPaletteEvent */
-TClassDefExtend(wxQueryNewPaletteEvent,wxEvent)
-void       wxQueryNewPaletteEvent_CopyObject( TSelf(wxQueryNewPaletteEvent) _obj, TClass(wxObject) obj );
-TBool      wxQueryNewPaletteEvent_GetPaletteRealized( TSelf(wxQueryNewPaletteEvent) _obj );
-void       wxQueryNewPaletteEvent_SetPaletteRealized( TSelf(wxQueryNewPaletteEvent) _obj, TBool realized );
-
-/* wxRadioBox */
-TClassDefExtend(wxRadioBox,wxControl)
-TClass(wxRadioBox) wxRadioBox_Create( TClass(wxWindow) _prt, int _id, TClass(wxString) _txt, TRect(_lft,_top,_wdt,_hgt), TArrayString(n, _str), int _dim, int _stl );
-void       wxRadioBox_EnableItem( TSelf(wxRadioBox) _obj, int item, TBool enable );
-int        wxRadioBox_FindString( TSelf(wxRadioBox) _obj, TClass(wxString) s );
-TClass(wxString) wxRadioBox_GetItemLabel( TSelf(wxRadioBox) _obj, int item );
-int        wxRadioBox_GetNumberOfRowsOrCols( TSelf(wxRadioBox) _obj );
-int        wxRadioBox_GetSelection( TSelf(wxRadioBox) _obj );
-TClass(wxString) wxRadioBox_GetStringSelection( TSelf(wxRadioBox) _obj );
-int        wxRadioBox_Number( TSelf(wxRadioBox) _obj );
-void       wxRadioBox_SetItemBitmap( TSelf(wxRadioBox) _obj, int item, TClass(wxBitmap) bitmap );
-void       wxRadioBox_SetItemLabel( TSelf(wxRadioBox) _obj, int item, TClass(wxString) label );
-void       wxRadioBox_SetNumberOfRowsOrCols( TSelf(wxRadioBox) _obj, int n );
-void       wxRadioBox_SetSelection( TSelf(wxRadioBox) _obj, int _n );
-void       wxRadioBox_SetStringSelection( TSelf(wxRadioBox) _obj, TClass(wxString) s );
-void       wxRadioBox_ShowItem( TSelf(wxRadioBox) _obj, int item, TBool show );
-
-/* wxRadioButton */
-TClassDefExtend(wxRadioButton,wxControl)
-TClass(wxRadioButton) wxRadioButton_Create( TClass(wxWindow) _prt, int _id, TClass(wxString) _txt, TRect(_lft,_top,_wdt,_hgt), int _stl );
-TBool      wxRadioButton_GetValue( TSelf(wxRadioButton) _obj );
-void       wxRadioButton_SetValue( TSelf(wxRadioButton) _obj, TBool value );
-
-/* wxRealPoint */
-TClassDef(wxRealPoint)
-
-/* wxRecordSet */
-TClassDefExtend(wxRecordSet,wxObject)
-
-/* wxRect */
-TClassDef(wxRect)
-
-/* wxRegEx */
-TClassDef(wxRegEx)
-
-/* wxRegion */
-TClassDefExtend(wxRegion,wxGDIObject)
-void       wxRegion_Assign( TSelf(wxRegion) _obj, TClass(wxRegion) region );
-void       wxRegion_Clear( TSelf(wxRegion) _obj );
-TBool      wxRegion_ContainsPoint( TSelf(wxRegion) _obj, TPoint(x,y) );
-TBool      wxRegion_ContainsRect( TSelf(wxRegion) _obj, TRect(x,y,width,height) );
-TClass(wxRegion) wxRegion_CreateDefault(  );
-TClass(wxRegion) wxRegion_CreateFromRect( TRect(x,y,w,h) );
-void       wxRegion_Delete( TSelf(wxRegion) _obj );
-TBool      wxRegion_IsEmpty( TSelf(wxRegion) _obj );
-void       wxRegion_GetBox( TSelf(wxRegion) _obj, TRectOutVoid(_x,_y,_w,_h) );
-TBool      wxRegion_IntersectRect( TSelf(wxRegion) _obj, TRect(x,y,width,height) );
-TBool      wxRegion_IntersectRegion( TSelf(wxRegion) _obj, TClass(wxRegion) region );
-TBool      wxRegion_SubtractRect( TSelf(wxRegion) _obj, TRect(x,y,width,height) );
-TBool      wxRegion_SubtractRegion( TSelf(wxRegion) _obj, TClass(wxRegion) region );
-TBool      wxRegion_UnionRect( TSelf(wxRegion) _obj, TRect(x,y,width,height) );
-TBool      wxRegion_UnionRegion( TSelf(wxRegion) _obj, TClass(wxRegion) region );
-TBool      wxRegion_XorRect( TSelf(wxRegion) _obj, TRect(x,y,width,height) );
-TBool      wxRegion_XorRegion( TSelf(wxRegion) _obj, TClass(wxRegion) region );
-
-/* wxRegionIterator */
-TClassDefExtend(wxRegionIterator,wxObject)
-TClass(wxRegionIterator) wxRegionIterator_Create(  );
-TClass(wxRegionIterator) wxRegionIterator_CreateFromRegion( TClass(wxRegion) region );
-void       wxRegionIterator_Delete( TSelf(wxRegionIterator) _obj );
-int        wxRegionIterator_GetHeight( TSelf(wxRegionIterator) _obj );
-int        wxRegionIterator_GetWidth( TSelf(wxRegionIterator) _obj );
-int        wxRegionIterator_GetX( TSelf(wxRegionIterator) _obj );
-int        wxRegionIterator_GetY( TSelf(wxRegionIterator) _obj );
-TBool      wxRegionIterator_HaveRects( TSelf(wxRegionIterator) _obj );
-void       wxRegionIterator_Next( TSelf(wxRegionIterator) _obj );
-void       wxRegionIterator_Reset( TSelf(wxRegionIterator) _obj );
-void       wxRegionIterator_ResetToRegion( TSelf(wxRegionIterator) _obj, TClass(wxRegion) region );
-
-/* wxRemotelyScrolledTreeCtrl */
-TClassDefExtend(wxRemotelyScrolledTreeCtrl,wxTreeCtrl)
-void       wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars( TSelf(wxRemotelyScrolledTreeCtrl) _obj );
-void       wxRemotelyScrolledTreeCtrl_CalcTreeSize( TSelf(wxRemotelyScrolledTreeCtrl) _obj, TRectOutVoid(_x,_y,_w,_h) );
-void       wxRemotelyScrolledTreeCtrl_CalcTreeSizeItem( TSelf(wxRemotelyScrolledTreeCtrl) _obj, void* id, TRectOutVoid(_x,_y,_w,_h) );
-TClass(wxRemotelyScrolledTreeCtrl) wxRemotelyScrolledTreeCtrl_Create( void* _obj, void* _cmp, TClass(wxWindow) parent, int id, TRect(x,y,w,h), int style );
-void       wxRemotelyScrolledTreeCtrl_Delete( TSelf(wxRemotelyScrolledTreeCtrl) _obj );
-void*      wxRemotelyScrolledTreeCtrl_GetCompanionWindow( TSelf(wxRemotelyScrolledTreeCtrl) _obj );
-int        wxRemotelyScrolledTreeCtrl_GetScrollPos( TSelf(wxRemotelyScrolledTreeCtrl) _obj, int orient );
-TClass(wxScrolledWindow) wxRemotelyScrolledTreeCtrl_GetScrolledWindow( TSelf(wxRemotelyScrolledTreeCtrl) _obj );
-void       wxRemotelyScrolledTreeCtrl_GetViewStart( TSelf(wxRemotelyScrolledTreeCtrl) _obj, TPointOutVoid(_x,_y) );
-void       wxRemotelyScrolledTreeCtrl_HideVScrollbar( TSelf(wxRemotelyScrolledTreeCtrl) _obj );
-void       wxRemotelyScrolledTreeCtrl_PrepareDC( TSelf(wxRemotelyScrolledTreeCtrl) _obj, TClass(wxDC) dc );
-void       wxRemotelyScrolledTreeCtrl_ScrollToLine( TSelf(wxRemotelyScrolledTreeCtrl) _obj, int posHoriz, int posVert );
-void       wxRemotelyScrolledTreeCtrl_SetCompanionWindow( TSelf(wxRemotelyScrolledTreeCtrl) _obj, void* companion );
-void       wxRemotelyScrolledTreeCtrl_SetScrollbars( TSelf(wxRemotelyScrolledTreeCtrl) _obj, int pixelsPerUnitX, int pixelsPerUnitY, int noUnitsX, int noUnitsY, int xPos, int yPos, int noRefresh );
-
-/* wxSVGFileDC */
-TClassDefExtend(wxSVGFileDC,wxDC)
-TClass(wxSVGFileDC) wxSVGFileDC_Create( TClass(wxString) fileName );
-TClass(wxSVGFileDC) wxSVGFileDC_CreateWithSize( TClass(wxString) fileName, TSize(w,h) );
-TClass(wxSVGFileDC) wxSVGFileDC_CreateWithSizeAndResolution( TClass(wxString) fileName, TSize(w,h), float a_dpi );
-void       wxSVGFileDC_Delete( TSelf(wxSVGFileDC) obj );
-
-/* wxSashEvent */
-TClassDefExtend(wxSashEvent,wxEvent)
-TClass(wxSashEvent) wxSashEvent_Create( int id, int edge );
-TClass(wxRect) wxSashEvent_GetDragRect( TSelf(wxSashEvent) _obj );
-int        wxSashEvent_GetDragStatus( TSelf(wxSashEvent) _obj );
-int        wxSashEvent_GetEdge( TSelf(wxSashEvent) _obj );
-void       wxSashEvent_SetDragRect( TSelf(wxSashEvent) _obj, TRect(x,y,w,h) );
-void       wxSashEvent_SetDragStatus( TSelf(wxSashEvent) _obj, int status );
-void       wxSashEvent_SetEdge( TSelf(wxSashEvent) _obj, int edge );
-
-/* wxSashLayoutWindow */
-TClassDefExtend(wxSashLayoutWindow,wxSashWindow)
-TClass(wxSashLayoutWindow) wxSashLayoutWindow_Create( TClass(wxWindow) _par, int _id, TRect(_x,_y,_w,_h), int _stl );
-int        wxSashLayoutWindow_GetAlignment( TSelf(wxSashLayoutWindow) _obj );
-int        wxSashLayoutWindow_GetOrientation( TSelf(wxSashLayoutWindow) _obj );
-void       wxSashLayoutWindow_SetAlignment( TSelf(wxSashLayoutWindow) _obj, int align );
-void       wxSashLayoutWindow_SetDefaultSize( TSelf(wxSashLayoutWindow) _obj, TSize(w,h) );
-void       wxSashLayoutWindow_SetOrientation( TSelf(wxSashLayoutWindow) _obj, int orient );
-
-/* wxSashWindow */
-TClassDefExtend(wxSashWindow,wxWindow)
-TClass(wxSashWindow) wxSashWindow_Create( TClass(wxWindow) _par, int _id, TRect(_x,_y,_w,_h), int _stl );
-int        wxSashWindow_GetDefaultBorderSize( TSelf(wxSashWindow) _obj );
-int        wxSashWindow_GetEdgeMargin( TSelf(wxSashWindow) _obj, int edge );
-int        wxSashWindow_GetExtraBorderSize( TSelf(wxSashWindow) _obj );
-int        wxSashWindow_GetMaximumSizeX( TSelf(wxSashWindow) _obj );
-int        wxSashWindow_GetMaximumSizeY( TSelf(wxSashWindow) _obj );
-int        wxSashWindow_GetMinimumSizeX( TSelf(wxSashWindow) _obj );
-int        wxSashWindow_GetMinimumSizeY( TSelf(wxSashWindow) _obj );
-TBool      wxSashWindow_GetSashVisible( TSelf(wxSashWindow) _obj, int edge );
-TBool      wxSashWindow_HasBorder( TSelf(wxSashWindow) _obj, int edge );
-void       wxSashWindow_SetDefaultBorderSize( TSelf(wxSashWindow) _obj, int width );
-void       wxSashWindow_SetExtraBorderSize( TSelf(wxSashWindow) _obj, int width );
-void       wxSashWindow_SetMaximumSizeX( TSelf(wxSashWindow) _obj, int max );
-void       wxSashWindow_SetMaximumSizeY( TSelf(wxSashWindow) _obj, int max );
-void       wxSashWindow_SetMinimumSizeX( TSelf(wxSashWindow) _obj, int min );
-void       wxSashWindow_SetMinimumSizeY( TSelf(wxSashWindow) _obj, int min );
-void       wxSashWindow_SetSashBorder( TSelf(wxSashWindow) _obj, int edge, TBool border );
-void       wxSashWindow_SetSashVisible( TSelf(wxSashWindow) _obj, int edge, TBool sash );
-
-/* wxScopedArray */
-TClassDef(wxScopedArray)
-
-/* wxScopedPtr */
-TClassDef(wxScopedPtr)
-
-/* wxScreenDC */
-TClassDefExtend(wxScreenDC,wxDC)
-TClass(wxScreenDC) wxScreenDC_Create(  );
-void       wxScreenDC_Delete( TSelf(wxScreenDC) _obj );
-TBool      wxScreenDC_EndDrawingOnTop( TSelf(wxScreenDC) _obj );
-TBool      wxScreenDC_StartDrawingOnTop( TSelf(wxScreenDC) _obj, TRect(x,y,w,h) );
-TBool      wxScreenDC_StartDrawingOnTopOfWin( TSelf(wxScreenDC) _obj, TClass(wxWindow) win );
-
-/* wxScrollBar */
-TClassDefExtend(wxScrollBar,wxControl)
-TClass(wxScrollBar) wxScrollBar_Create( TClass(wxWindow) _prt, int _id, TRect(_lft,_top,_wdt,_hgt), int _stl );
-int        wxScrollBar_GetPageSize( TSelf(wxScrollBar) _obj );
-int        wxScrollBar_GetRange( TSelf(wxScrollBar) _obj );
-int        wxScrollBar_GetThumbPosition( TSelf(wxScrollBar) _obj );
-int        wxScrollBar_GetThumbSize( TSelf(wxScrollBar) _obj );
-void       wxScrollBar_SetScrollbar( TSelf(wxScrollBar) _obj, int position, int thumbSize, int range, int pageSize, TBool refresh );
-void       wxScrollBar_SetThumbPosition( TSelf(wxScrollBar) _obj, int viewStart );
-
-/* wxScrollEvent */
-TClassDefExtend(wxScrollEvent,wxEvent)
-int        wxScrollEvent_GetOrientation( TSelf(wxScrollEvent) _obj );
-int        wxScrollEvent_GetPosition( TSelf(wxScrollEvent) _obj );
-
-/* wxScrollWinEvent */
-TClassDefExtend(wxScrollWinEvent,wxEvent)
-int        wxScrollWinEvent_GetOrientation( TSelf(wxScrollWinEvent) _obj );
-int        wxScrollWinEvent_GetPosition( TSelf(wxScrollWinEvent) _obj );
-void       wxScrollWinEvent_SetOrientation( TSelf(wxScrollWinEvent) _obj, int orient );
-void       wxScrollWinEvent_SetPosition( TSelf(wxScrollWinEvent) _obj, int pos );
-
-/* wxScrolledWindow */
-TClassDefExtend(wxScrolledWindow,wxPanel)
-void       wxScrolledWindow_AdjustScrollbars( TSelf(wxScrolledWindow) _obj );
-void       wxScrolledWindow_CalcScrolledPosition( TSelf(wxScrolledWindow) _obj, TPoint(x,y), TPointOutVoid(xx,yy) );
-void       wxScrolledWindow_CalcUnscrolledPosition( TSelf(wxScrolledWindow) _obj, TPoint(x,y), TPointOutVoid(xx,yy) );
-TClass(wxScrolledWindow) wxScrolledWindow_Create( TClass(wxWindow) _prt, int _id, TRect(_lft,_top,_wdt,_hgt), int _stl );
-void       wxScrolledWindow_EnableScrolling( TSelf(wxScrolledWindow) _obj, TBool x_scrolling, TBool y_scrolling );
-double     wxScrolledWindow_GetScaleX( TSelf(wxScrolledWindow) _obj );
-double     wxScrolledWindow_GetScaleY( TSelf(wxScrolledWindow) _obj );
-int        wxScrolledWindow_GetScrollPageSize( TSelf(wxScrolledWindow) _obj, int orient );
-void       wxScrolledWindow_GetScrollPixelsPerUnit( TSelf(wxScrolledWindow) _obj, TPointOutVoid(_x,_y) );
-TClass(wxWindow) wxScrolledWindow_GetTargetWindow( TSelf(wxScrolledWindow) _obj );
-void       wxScrolledWindow_GetViewStart( TSelf(wxScrolledWindow) _obj, TPointOutVoid(_x,_y) );
-void       wxScrolledWindow_GetVirtualSize( TSelf(wxScrolledWindow) _obj, TSizeOutVoid(_x,_y) );
-void       wxScrolledWindow_OnDraw( TSelf(wxScrolledWindow) _obj, TClass(wxDC) dc );
-void       wxScrolledWindow_PrepareDC( TSelf(wxScrolledWindow) _obj, TClass(wxDC) dc );
-void       wxScrolledWindow_Scroll( TSelf(wxScrolledWindow) _obj, TPoint(x_pos,y_pos) );
-void       wxScrolledWindow_SetScale( TSelf(wxScrolledWindow) _obj, double xs, double ys );
-void       wxScrolledWindow_SetScrollPageSize( TSelf(wxScrolledWindow) _obj, int orient, int pageSize );
-void       wxScrolledWindow_SetScrollbars( TSelf(wxScrolledWindow) _obj, int pixelsPerUnitX, int pixelsPerUnitY, int noUnitsX, int noUnitsY, int xPos, int yPos, TBool noRefresh );
-void       wxScrolledWindow_SetTargetWindow( TSelf(wxScrolledWindow) _obj, TClass(wxWindow) target );
-void       wxScrolledWindow_ViewStart( TSelf(wxScrolledWindow) _obj, TPointOutVoid(_x,_y) );
-
-/* wxSemaphore */
-TClassDef(wxSemaphore)
-
-/* wxServer */
-TClassDefExtend(wxServer,wxServerBase)
-
-/* wxServerBase */
-TClassDefExtend(wxServerBase,wxObject)
-
-/* wxSetCursorEvent */
-TClassDefExtend(wxSetCursorEvent,wxEvent)
-TClass(wxCursor) wxSetCursorEvent_GetCursor( TSelf(wxSetCursorEvent) _obj );
-int        wxSetCursorEvent_GetX( TSelf(wxSetCursorEvent) _obj );
-int        wxSetCursorEvent_GetY( TSelf(wxSetCursorEvent) _obj );
-TBool      wxSetCursorEvent_HasCursor( TSelf(wxSetCursorEvent) _obj );
-void       wxSetCursorEvent_SetCursor( TSelf(wxSetCursorEvent) _obj, TClass(wxCursor) cursor );
-
-/* wxShowEvent */
-TClassDefExtend(wxShowEvent,wxEvent)
-void       wxShowEvent_CopyObject( TSelf(wxShowEvent) _obj, TClass(wxObject) obj );
-TBool      wxShowEvent_GetShow( TSelf(wxShowEvent) _obj );
-void       wxShowEvent_SetShow( TSelf(wxShowEvent) _obj, TBool show );
-
-/* wxSimpleHelpProvider */
-TClassDefExtend(wxSimpleHelpProvider,wxHelpProvider)
-TClass(wxSimpleHelpProvider) wxSimpleHelpProvider_Create(  );
-
-/* wxSingleChoiceDialog */
-TClassDefExtend(wxSingleChoiceDialog,wxDialog)
-
-/* wxSingleInstanceChecker */
-TClassDef(wxSingleInstanceChecker)
-TBool      wxSingleInstanceChecker_Create( void* _obj, TClass(wxString) name, TClass(wxString) path );
-TClass(wxSingleInstanceChecker) wxSingleInstanceChecker_CreateDefault(  );
-void       wxSingleInstanceChecker_Delete( TSelf(wxSingleInstanceChecker) _obj );
-TBool      wxSingleInstanceChecker_IsAnotherRunning( TSelf(wxSingleInstanceChecker) _obj );
-
-/* wxSize */
-TClassDef(wxSize)
-TClass(wxSize) wxSize_Create( TSize(w,h) );
-void       wxSize_Destroy( TSelf(wxSize) _obj );
-int        wxSize_GetHeight( TSelf(wxSize) _obj );
-int        wxSize_GetWidth( TSelf(wxSize) _obj );
-void       wxSize_SetHeight( TSelf(wxSize) _obj, int h );
-void       wxSize_SetWidth( TSelf(wxSize) _obj, int w );
-
-/* wxSizeEvent */
-TClassDefExtend(wxSizeEvent,wxEvent)
-void       wxSizeEvent_CopyObject( TSelf(wxSizeEvent) _obj, void* obj );
-TClass(wxSize) wxSizeEvent_GetSize( TSelf(wxSizeEvent) _obj );
-
-/* wxSizer */
-TClassDefExtend(wxSizer,wxObject)
-void       wxSizer_Add( TSelf(wxSizer) _obj, TSize(width,height), int option, int flag, int border, void* userData );
-void       wxSizer_AddSizer( TSelf(wxSizer) _obj, TClass(wxSizer) sizer, int option, int flag, int border, void* userData );
-void       wxSizer_AddWindow( TSelf(wxSizer) _obj, TClass(wxWindow) window, int option, int flag, int border, void* userData );
-TClass(wxSize) wxSizer_CalcMin( TSelf(wxSizer) _obj );
-void       wxSizer_Fit( TSelf(wxSizer) _obj, TClass(wxWindow) window );
-int        wxSizer_GetChildren( TSelf(wxSizer) _obj, void* _res, int _cnt );
-TClass(wxSize) wxSizer_GetMinSize( TSelf(wxSizer) _obj );

-TClass(wxPoint) wxSizer_GetPosition( TSelf(wxSizer) _obj );

-TClass(wxSize) wxSizer_GetSize( TSelf(wxSizer) _obj );
-void       wxSizer_Insert( TSelf(wxSizer) _obj, int before, TSize(width,height), int option, int flag, int border, void* userData );
-void       wxSizer_InsertSizer( TSelf(wxSizer) _obj, int before, TClass(wxSizer) sizer, int option, int flag, int border, void* userData );
-void       wxSizer_InsertWindow( TSelf(wxSizer) _obj, int before, TClass(wxWindow) window, int option, int flag, int border, void* userData );
-void       wxSizer_Layout( TSelf(wxSizer) _obj );
-void       wxSizer_Prepend( TSelf(wxSizer) _obj, TSize(width,height), int option, int flag, int border, void* userData );
-void       wxSizer_PrependSizer( TSelf(wxSizer) _obj, TClass(wxSizer) sizer, int option, int flag, int border, void* userData );
-void       wxSizer_PrependWindow( TSelf(wxSizer) _obj, TClass(wxWindow) window, int option, int flag, int border, void* userData );
-void       wxSizer_RecalcSizes( TSelf(wxSizer) _obj );
-void       wxSizer_SetDimension( TSelf(wxSizer) _obj, TRect(x,y,width,height) );
-void       wxSizer_SetItemMinSize( TSelf(wxSizer) _obj, int pos, TSize(width,height) );
-void       wxSizer_SetItemMinSizeSizer( TSelf(wxSizer) _obj, TClass(wxSizer) sizer, TSize(width,height) );
-void       wxSizer_SetItemMinSizeWindow( TSelf(wxSizer) _obj, TClass(wxWindow) window, TSize(width,height) );
-void       wxSizer_SetMinSize( TSelf(wxSizer) _obj, TSize(width,height) );
-void       wxSizer_SetSizeHints( TSelf(wxSizer) _obj, TClass(wxWindow) window );
-void       wxSizer_AddSpacer( TSelf(wxSizer) _obj, int size );
-void       wxSizer_AddStretchSpacer( TSelf(wxSizer) _obj, int size );
-void       wxSizer_Clear( TSelf(wxSizer) _obj, TBool delete_windows );
-TBool      wxSizer_DetachWindow( TSelf(wxSizer) _obj, TClass(wxWindow) window );
-TBool      wxSizer_DetachSizer( TSelf(wxSizer) _obj, TClass(wxSizer) sizer );
-TBool      wxSizer_Detach( TSelf(wxSizer) _obj, int index );
-void       wxSizer_FitInside( TSelf(wxSizer) _obj, TClass(wxWindow) window );
-TClass(wxWindow)    wxSizer_GetContainingWindow( TSelf(wxSizer) _obj );
-TClass(wxSizerItem) wxSizer_GetItemWindow( TSelf(wxSizer) _obj, TClass(wxWindow) window, TBool recursive );
-TClass(wxSizerItem) wxSizer_GetItemSizer( TSelf(wxSizer) _obj, TClass(wxSizer) window, TBool recursive );
-TClass(wxSizerItem) wxSizer_GetItem( TSelf(wxSizer) _obj, int index );
-TBool      wxSizer_HideWindow( TSelf(wxWindow) _obj, TClass(wxWindow) window );
-TBool      wxSizer_HideSizer( TSelf(wxWindow) _obj, TClass(wxSizer) sizer );
-TBool      wxSizer_Hide( TSelf(wxWindow) _obj, int index );
-TClass(wxSizerItem) wxSizer_InsertSpacer( TSelf(wxSizer) _obj, int index, int size );
-TClass(wxSizerItem) wxSizer_InsertStretchSpacer( TSelf(wxSizer) _obj, int index, int prop );
-TBool      wxSizer_IsShownWindow( TSelf(wxSizer) _obj, TClass(wxWindow) *window );
-TBool      wxSizer_IsShownSizer( TSelf(wxSizer) _obj, TClass(wxSizer) *sizer );
-TBool      wxSizer_IsShown( TSelf(wxSizer) _obj, int index );
-TClass(wxSizerItem) wxSizer_PrependSpacer( TSelf(wxSizer) _obj, int size );
-TClass(wxSizerItem) wxSizer_PrependStretchSpacer( TSelf(wxSizer) _obj, int prop );
-TBool      wxSizer_ReplaceWindow( TSelf(wxSizer) _obj, TClass(wxWindow) oldwin, TClass(wxWindow) newwin, TBool recursive );
-TBool      wxSizer_ReplaceSizer( TSelf(wxSizer) _obj, TClass(wxSizer) oldsz, TClass(wxSizer) newsz, TBool recursive );
-TBool      wxSizer_Replace( TSelf(wxSizer) _obj, int oldindex, TClass(wxSizerItem) newitem );
-void       wxSizer_SetVirtualSizeHints( TSelf(wxSizer) _obj, TClass(wxWindow) window );
-TBool      wxSizer_ShowWindow( TSelf(wxSizer) _obj, TClass(wxWindow) window, TBool show, TBool recursive );
-TBool      wxSizer_ShowSizer( TSelf(wxSizer) _obj, TClass(wxSizer) sizer, TBool show, TBool recursive );
-TBool      wxSizer_Show( TSelf(wxSizer) _obj, TClass(wxSizer) sizer, int index, TBool show );
-/* wxSizerItem */
-TClassDefExtend(wxSizerItem,wxObject)
-TClass(wxSize) wxSizerItem_CalcMin( TSelf(wxSizerItem) _obj );
-TClass(wxSizerItem) wxSizerItem_Create( TSize(width,height), int option, int flag, int border, void* userData );
-void*      wxSizerItem_CreateInSizer( TClass(wxSizer) sizer, int option, int flag, int border, void* userData );
-void*      wxSizerItem_CreateInWindow( TClass(wxWindow) window, int option, int flag, int border, void* userData );
-int        wxSizerItem_GetBorder( TSelf(wxSizerItem) _obj );
-int        wxSizerItem_GetFlag( TSelf(wxSizerItem) _obj );
-TClass(wxSize) wxSizerItem_GetMinSize( TSelf(wxSizerItem) _obj );
-TClass(wxPoint) wxSizerItem_GetPosition( TSelf(wxSizerItem) _obj );
-float      wxSizerItem_GetRatio( TSelf(wxSizerItem) _obj );
-TClass(wxSize) wxSizerItem_GetSize( TSelf(wxSizerItem) _obj );
-TClass(wxSizer) wxSizerItem_GetSizer( TSelf(wxSizerItem) _obj );
-void*      wxSizerItem_GetUserData( TSelf(wxSizerItem) _obj );
-TClass(wxWindow) wxSizerItem_GetWindow( TSelf(wxSizerItem) _obj );
-TBool      wxSizerItem_IsSizer( TSelf(wxSizerItem) _obj );
-TBool      wxSizerItem_IsSpacer( TSelf(wxSizerItem) _obj );
-TBool      wxSizerItem_IsWindow( TSelf(wxSizerItem) _obj );
-void       wxSizerItem_SetBorder( TSelf(wxSizerItem) _obj, int border );
-void       wxSizerItem_SetDimension( TSelf(wxSizerItem) _obj, TRect(_x,_y,_w,_h) );
-void       wxSizerItem_SetFlag( TSelf(wxSizerItem) _obj, int flag );
-void       wxSizerItem_SetFloatRatio( TSelf(wxSizerItem) _obj, float ratio );
-void       wxSizerItem_SetInitSize( TSelf(wxSizerItem) _obj, TPoint(x,y) );
-void       wxSizerItem_SetRatio( TSelf(wxSizerItem) _obj, TSize(width,height) );
-void       wxSizerItem_SetSizer( TSelf(wxSizerItem) _obj, TClass(wxSizer) sizer );
-void       wxSizerItem_SetWindow( TSelf(wxSizerItem) _obj, TClass(wxWindow) window );
-void       wxSizerItem_Delete( TSelf(wxSizerItem) _obj );
-void       wxSizerItem_DeleteWindows( TSelf(wxSizerItem) _obj );
-void       wxSizerItem_DetachSizer( TSelf(wxSizerItem) _obj );
-int        wxSizerItem_GetProportion( TSelf(wxSizerItem) _obj );
-TClass(wxRect) wxSizerItem_GetRect( TSelf(wxSizerItem) _obj );
-TClass(wxSize) wxSizerItem_GetSpacer( TSelf(wxSizerItem) _obj );
-int        wxSizerItem_IsShown( TSelf(wxSizerItem) _obj );
-void       wxSizerItem_SetProportion( TSelf(wxSizerItem) _obj, int proportion );
-void       wxSizerItem_SetSpacer( TSelf(wxSizerItem) _obj, TSize(width,height) );
-void       wxSizerItem_Show( TSelf(wxSizerItem) _obj, int show );
-
-
-/* wxSlider */
-TClassDefExtend(wxSlider,wxControl)
-void       wxSlider_ClearSel( TSelf(wxSlider) _obj );
-void       wxSlider_ClearTicks( TSelf(wxSlider) _obj );
-TClass(wxSlider) wxSlider_Create( TClass(wxWindow) _prt, int _id, int _init, int _min, int _max, TRect(_lft,_top,_wdt,_hgt), long _stl );
-int        wxSlider_GetLineSize( TSelf(wxSlider) _obj );
-int        wxSlider_GetMax( TSelf(wxSlider) _obj );
-int        wxSlider_GetMin( TSelf(wxSlider) _obj );
-int        wxSlider_GetPageSize( TSelf(wxSlider) _obj );
-int        wxSlider_GetSelEnd( TSelf(wxSlider) _obj );
-int        wxSlider_GetSelStart( TSelf(wxSlider) _obj );
-int        wxSlider_GetThumbLength( TSelf(wxSlider) _obj );
-int        wxSlider_GetTickFreq( TSelf(wxSlider) _obj );
-int        wxSlider_GetValue( TSelf(wxSlider) _obj );
-void       wxSlider_SetLineSize( TSelf(wxSlider) _obj, int lineSize );
-void       wxSlider_SetPageSize( TSelf(wxSlider) _obj, int pageSize );
-void       wxSlider_SetRange( TSelf(wxSlider) _obj, int minValue, int maxValue );
-void       wxSlider_SetSelection( TSelf(wxSlider) _obj, int minPos, int maxPos );
-void       wxSlider_SetThumbLength( TSelf(wxSlider) _obj, int len );
-void       wxSlider_SetTick( TSelf(wxSlider) _obj, int tickPos );
-void       wxSlider_SetTickFreq( TSelf(wxSlider) _obj, int n, int pos );
-void       wxSlider_SetValue( TSelf(wxSlider) _obj, int value );
-
-/* wxSockAddress */
-TClassDefExtend(wxSockAddress,wxObject)
-
-/* wxSocketBase */
-TClassDefExtend(wxSocketBase,wxObject)
-
-/* wxSocketClient */
-TClassDefExtend(wxSocketClient,wxSocketBase)
-
-/* wxSocketEvent */
-TClassDefExtend(wxSocketEvent,wxEvent)
-
-/* wxSocketInputStream */
-TClassDefExtend(wxSocketInputStream,wxInputStream)
-
-/* wxSocketOutputStream */
-TClassDefExtend(wxSocketOutputStream,wxOutputStream)
-
-/* wxSocketServer */
-TClassDefExtend(wxSocketServer,wxSocketBase)
-
-/* wxSpinButton */
-TClassDefExtend(wxSpinButton,wxControl)
-TClass(wxSpinButton) wxSpinButton_Create( TClass(wxWindow) _prt, int _id, TRect(_lft,_top,_wdt,_hgt), long _stl );
-int        wxSpinButton_GetMax( TSelf(wxSpinButton) _obj );
-int        wxSpinButton_GetMin( TSelf(wxSpinButton) _obj );
-int        wxSpinButton_GetValue( TSelf(wxSpinButton) _obj );
-void       wxSpinButton_SetRange( TSelf(wxSpinButton) _obj, int minVal, int maxVal );
-void       wxSpinButton_SetValue( TSelf(wxSpinButton) _obj, int val );
-
-/* wxSpinCtrl */
-TClassDefExtend(wxSpinCtrl,wxControl)
-TClass(wxSpinCtrl) wxSpinCtrl_Create( TClass(wxWindow) _prt, int _id, TClass(wxString) _txt, TRect(_lft,_top,_wdt,_hgt), long _stl, int _min, int _max, int _init );
-int        wxSpinCtrl_GetMax( TSelf(wxSpinCtrl) _obj );
-int        wxSpinCtrl_GetMin( TSelf(wxSpinCtrl) _obj );
-int        wxSpinCtrl_GetValue( TSelf(wxSpinCtrl) _obj );
-void       wxSpinCtrl_SetRange( TSelf(wxSpinCtrl) _obj, int min_val, int max_val );
-void       wxSpinCtrl_SetValue( TSelf(wxSpinCtrl) _obj, int val );
-
-/* wxSpinEvent */
-TClassDefExtend(wxSpinEvent,wxNotifyEvent)
-int        wxSpinEvent_GetPosition( TSelf(wxSpinEvent) _obj );
-void       wxSpinEvent_SetPosition( TSelf(wxSpinEvent) _obj, int pos );
-
-/* wxSplashScreen */
-TClassDefExtend(wxSplashScreen,wxFrame)
-
-/* wxSplitterEvent */
-TClassDefExtend(wxSplitterEvent,wxNotifyEvent)
-
-/* wxSplitterScrolledWindow */
-TClassDefExtend(wxSplitterScrolledWindow,wxScrolledWindow)
-TClass(wxSplitterScrolledWindow) wxSplitterScrolledWindow_Create( TClass(wxWindow) parent, int id, TRect(x,y,w,h), int style );
-
-/* wxSplitterWindow */
-TClassDefExtend(wxSplitterWindow,wxWindow)
-TClass(wxSplitterWindow) wxSplitterWindow_Create( TClass(wxWindow) _prt, int _id, TRect(_lft,_top,_wdt,_hgt), int _stl );
-int        wxSplitterWindow_GetBorderSize( TSelf(wxSplitterWindow) _obj );
-int        wxSplitterWindow_GetMinimumPaneSize( TSelf(wxSplitterWindow) _obj );
-int        wxSplitterWindow_GetSashPosition( TSelf(wxSplitterWindow) _obj );
-int        wxSplitterWindow_GetSashSize( TSelf(wxSplitterWindow) _obj );
-int        wxSplitterWindow_GetSplitMode( TSelf(wxSplitterWindow) _obj );
-TClass(wxWindow) wxSplitterWindow_GetWindow1( TSelf(wxSplitterWindow) _obj );
-TClass(wxWindow) wxSplitterWindow_GetWindow2( TSelf(wxSplitterWindow) _obj );
-void       wxSplitterWindow_Initialize( TSelf(wxSplitterWindow) _obj, TClass(wxWindow) window );
-TBool      wxSplitterWindow_IsSplit( TSelf(wxSplitterWindow) _obj );
-TBool      wxSplitterWindow_ReplaceWindow( TSelf(wxSplitterWindow) _obj, TClass(wxWindow) winOld, TClass(wxWindow) winNew );
-void       wxSplitterWindow_SetBorderSize( TSelf(wxSplitterWindow) _obj, int width );
-void       wxSplitterWindow_SetMinimumPaneSize( TSelf(wxSplitterWindow) _obj, int min );
-void       wxSplitterWindow_SetSashPosition( TSelf(wxSplitterWindow) _obj, int position, TBool redraw );
-void       wxSplitterWindow_SetSashSize( TSelf(wxSplitterWindow) _obj, int width );
-void       wxSplitterWindow_SetSplitMode( TSelf(wxSplitterWindow) _obj, int mode );
-TBool      wxSplitterWindow_SplitHorizontally( TSelf(wxSplitterWindow) _obj, TClass(wxWindow) window1, TClass(wxWindow) window2, int sashPosition );
-TBool      wxSplitterWindow_SplitVertically( TSelf(wxSplitterWindow) _obj, TClass(wxWindow) window1, TClass(wxWindow) window2, int sashPosition );
-TBool      wxSplitterWindow_Unsplit( TSelf(wxSplitterWindow) _obj, TClass(wxWindow) toRemove );
-
-/* wxStaticBitmap */
-TClassDefExtend(wxStaticBitmap,wxControl)
-TClass(wxStaticBitmap) wxStaticBitmap_Create( TClass(wxWindow) _prt, int _id, TClass(wxBitmap) bitmap, TRect(_lft,_top,_wdt,_hgt), int _stl );
-void       wxStaticBitmap_Delete( TSelf(wxStaticBitmap) _obj );
-void       wxStaticBitmap_GetBitmap( TSelf(wxStaticBitmap) _obj, TClassRef(wxBitmap) _ref );
-void       wxStaticBitmap_GetIcon( TSelf(wxStaticBitmap) _obj, TClassRef(wxIcon) _ref );
-void       wxStaticBitmap_SetBitmap( TSelf(wxStaticBitmap) _obj, TClass(wxBitmap) bitmap );
-void       wxStaticBitmap_SetIcon( TSelf(wxStaticBitmap) _obj, TClass(wxIcon) icon );
-
-/* wxStaticBox */
-TClassDefExtend(wxStaticBox,wxControl)
-TClass(wxStaticBox) wxStaticBox_Create( TClass(wxWindow) _prt, int _id, TClass(wxString) _txt, TRect(_lft,_top,_wdt,_hgt), int _stl );
-
-/* wxStaticBoxSizer */
-TClassDefExtend(wxStaticBoxSizer,wxBoxSizer)
-TClass(wxSize) wxStaticBoxSizer_CalcMin( TSelf(wxStaticBoxSizer) _obj );
-TClass(wxStaticBoxSizer) wxStaticBoxSizer_Create( TClass(wxStaticBox) box, int orient );
-TClass(wxStaticBox) wxStaticBoxSizer_GetStaticBox( TSelf(wxStaticBoxSizer) _obj );
-void       wxStaticBoxSizer_RecalcSizes( TSelf(wxStaticBoxSizer) _obj );
-
-/* wxStaticLine */
-TClassDefExtend(wxStaticLine,wxControl)
-TClass(wxStaticLine) wxStaticLine_Create( TClass(wxWindow) _prt, int _id, TRect(_lft,_top,_wdt,_hgt), int _stl );
-int        wxStaticLine_GetDefaultSize( TSelf(wxStaticLine) _obj );
-TBool      wxStaticLine_IsVertical( TSelf(wxStaticLine) _obj );
-
-/* wxStaticText */
-TClassDefExtend(wxStaticText,wxControl)
-TClass(wxStaticText) wxStaticText_Create( TClass(wxWindow) _prt, int _id, TClass(wxString) _txt, TRect(_lft,_top,_wdt,_hgt), int _stl );
-
-/* wxStatusBar */
-TClassDefExtend(wxStatusBar,wxWindow)
-TClass(wxStatusBar) wxStatusBar_Create( TClass(wxWindow) _prt, int _id, TRect(_lft,_top,_wdt,_hgt), int _stl );
-int        wxStatusBar_GetBorderX( TSelf(wxStatusBar) _obj );
-int        wxStatusBar_GetBorderY( TSelf(wxStatusBar) _obj );
-int        wxStatusBar_GetFieldsCount( TSelf(wxStatusBar) _obj );
-TClass(wxString) wxStatusBar_GetStatusText( TSelf(wxStatusBar) _obj, int number );
-void       wxStatusBar_SetFieldsCount( TSelf(wxStatusBar) _obj, int number, int* widths );
-void       wxStatusBar_SetMinHeight( TSelf(wxStatusBar) _obj, int height );
-void       wxStatusBar_SetStatusText( TSelf(wxStatusBar) _obj, TClass(wxString) text, int number );
-void       wxStatusBar_SetStatusWidths( TSelf(wxStatusBar) _obj, int n, int* widths );
-
-/* wxStopWatch */
-TClassDef(wxStopWatch)
-TClass(wxStopWatch) wxStopWatch_Create();
-void      wxStopWatch_Delete(TSelf(wxStopWatch) _obj);
-void      wxStopWatch_Start(TSelf(wxStopWatch) _obj, int msec);
-void      wxStopWatch_Pause(TSelf(wxStopWatch) _obj);
-void      wxStopWatch_Resume(TSelf(wxStopWatch) _obj);
-int       wxStopWatch_Time(TSelf(wxStopWatch) _obj);
-
-
-/* wxStreamBase */
-TClassDef(wxStreamBase)
-int        wxStreamBase_GetLastError( TSelf(wxStreamBase) _obj );
-int        wxStreamBase_GetSize( TSelf(wxStreamBase) _obj );
-TBool      wxStreamBase_IsOk( TSelf(wxStreamBase) _obj );
-
-/* wxStreamBuffer */
-TClassDef(wxStreamBuffer)
-
-/* wxStreamToTextRedirector */
-TClassDef(wxStreamToTextRedirector)
-
-/* wxString */
-TClassDef(wxString)
-
-/* wxStringBuffer */
-TClassDef(wxStringBuffer)
-
-/* wxStringClientData */
-TClassDefExtend(wxStringClientData,wxClientData)
-
-/* wxStringList */
-TClassDefExtend(wxStringList,wxList)
-
-/* wxStringTokenizer */
-TClassDefExtend(wxStringTokenizer,wxObject)
-
-/* wxSysColourChangedEvent */
-TClassDefExtend(wxSysColourChangedEvent,wxEvent)
-
-/* wxSystemOptions */
-TClassDefExtend(wxSystemOptions,wxObject)
-
-/* wxSystemSettings */
-TClassDefExtend(wxSystemSettings,wxObject)
-void       wxSystemSettings_GetColour( int index, TClassRef(wxColour) _ref );
-void       wxSystemSettings_GetFont( int index, TClassRef(wxFont) _ref );
-int        wxSystemSettings_GetMetric( int index );
-int        wxSystemSettings_GetScreenType( );
-
-/* wxTabCtrl */
-TClassDefExtend(wxTabCtrl,wxControl)
-
-/* wxTabEvent */
-TClassDefExtend(wxTabEvent,wxCommandEvent)
-
-/* wxTablesInUse */
-TClassDefExtend(wxTablesInUse,wxObject)
-
-/* wxTaskBarIcon */
-TClassDefExtend(wxTaskBarIcon,wxEvtHandler)
-TClass(wxTaskBarIcon) wxTaskBarIcon_Create();
-void       wxTaskBarIcon_Delete( TSelf(wxTaskBarIcon) _obj );
-/* TClass(wxMenu)  wxTaskBarIcon_CreatePopupMenu( TSelf(wxTaskBarIcon) _obj ); */
-TBool      wxTaskBarIcon_IsIconInstalled( TSelf(wxTaskBarIcon) _obj );
-TBool      wxTaskBarIcon_IsOk( TSelf(wxTaskBarIcon) _obj );
-TBool      wxTaskBarIcon_PopupMenu( TSelf(wxTaskBarIcon) _obj, TClass(wxMenu) menu );
-TBool      wxTaskBarIcon_RemoveIcon( TSelf(wxTaskBarIcon) _obj );
-TBool      wxTaskBarIcon_SetIcon( TSelf(wxTaskBarIcon) _obj, TClass(wxIcon) icon, TClass(wxString) text );
-
-/* wxTempFile */
-TClassDef(wxTempFile)
-
-/* wxTextAttr */
-TClassDef(wxTextAttr)
-
-/* wxTextCtrl */
-TClassDefExtend(wxTextCtrl,wxControl)
-void       wxTextCtrl_AppendText( TSelf(wxTextCtrl) _obj, TClass(wxString) text );
-TBool      wxTextCtrl_CanCopy( TSelf(wxTextCtrl) _obj );
-TBool      wxTextCtrl_CanCut( TSelf(wxTextCtrl) _obj );
-TBool      wxTextCtrl_CanPaste( TSelf(wxTextCtrl) _obj );
-TBool      wxTextCtrl_CanRedo( TSelf(wxTextCtrl) _obj );
-TBool      wxTextCtrl_CanUndo( TSelf(wxTextCtrl) _obj );
-void       wxTextCtrl_Clear( TSelf(wxTextCtrl) _obj );
-void       wxTextCtrl_Copy( TSelf(wxTextCtrl) _obj );
-TClass(wxTextCtrl) wxTextCtrl_Create( TClass(wxWindow) _prt, int _id, TClass(wxString) _txt, TRect(_lft,_top,_wdt,_hgt), long _stl );
-void       wxTextCtrl_Cut( TSelf(wxTextCtrl) _obj );
-void       wxTextCtrl_DiscardEdits( TSelf(wxTextCtrl) _obj );
-long       wxTextCtrl_GetInsertionPoint( TSelf(wxTextCtrl) _obj );
-long       wxTextCtrl_GetLastPosition( TSelf(wxTextCtrl) _obj );
-int        wxTextCtrl_GetLineLength( TSelf(wxTextCtrl) _obj, long lineNo );
-TClass(wxString) wxTextCtrl_GetLineText( TSelf(wxTextCtrl) _obj, long lineNo );
-int        wxTextCtrl_GetNumberOfLines( TSelf(wxTextCtrl) _obj );
-void       wxTextCtrl_GetSelection( TSelf(wxTextCtrl) _obj, void* from, void* to );
-TClass(wxString) wxTextCtrl_GetValue( TSelf(wxTextCtrl) _obj );
-TBool      wxTextCtrl_IsEditable( TSelf(wxTextCtrl) _obj );
-TBool      wxTextCtrl_IsModified( TSelf(wxTextCtrl) _obj );
-TBool      wxTextCtrl_LoadFile( TSelf(wxTextCtrl) _obj, TClass(wxString) file );
-void       wxTextCtrl_Paste( TSelf(wxTextCtrl) _obj );
-int        wxTextCtrl_PositionToXY( TSelf(wxTextCtrl) _obj, long pos, long* x, long* y );
-void       wxTextCtrl_Redo( TSelf(wxTextCtrl) _obj );
-void       wxTextCtrl_Remove( TSelf(wxTextCtrl) _obj, long from, long to );
-void       wxTextCtrl_Replace( TSelf(wxTextCtrl) _obj, long from, long to, TClass(wxString) value );
-TBool      wxTextCtrl_SaveFile( TSelf(wxTextCtrl) _obj, TClass(wxString) file );
-void       wxTextCtrl_SetEditable( TSelf(wxTextCtrl) _obj, TBool editable );
-void       wxTextCtrl_SetInsertionPoint( TSelf(wxTextCtrl) _obj, long pos );
-void       wxTextCtrl_SetInsertionPointEnd( TSelf(wxTextCtrl) _obj );
-void       wxTextCtrl_SetSelection( TSelf(wxTextCtrl) _obj, long from, long to );
-void       wxTextCtrl_SetValue( TSelf(wxTextCtrl) _obj, TClass(wxString) value );
-void       wxTextCtrl_ShowPosition( TSelf(wxTextCtrl) _obj, long pos );
-void       wxTextCtrl_Undo( TSelf(wxTextCtrl) _obj );
-void       wxTextCtrl_WriteText( TSelf(wxTextCtrl) _obj, TClass(wxString) text );
-long       wxTextCtrl_XYToPosition( TSelf(wxTextCtrl) _obj, TPointLong(x,y) );
-
-/* wxTextDataObject */
-TClassDefExtend(wxTextDataObject,wxDataObjectSimple)
-TClass(TextDataObject) TextDataObject_Create( TClass(wxString) _txt );
-void       TextDataObject_Delete( TSelf(TextDataObject) _obj );
-size_t TextDataObject_GetTextLength( TSelf(TextDataObject) _obj );
-TClass(wxString) TextDataObject_GetText( TSelf(TextDataObject) _obj );
-void       TextDataObject_SetText( TSelf(TextDataObject) _obj, TClass(wxString) text );
-
-/* wxTextDropTarget */
-TClassDefExtend(wxTextDropTarget,wxDropTarget)
-
-/* wxTextEntryDialog */
-TClassDefExtend(wxTextEntryDialog,wxDialog)
-
-/* wxTextFile */
-TClassDef(wxTextFile)
-
-/* wxTextInputStream */
-TClassDef(wxTextInputStream)
-
-/* wxTextOutputStream */
-TClassDef(wxTextOutputStream)
-
-/* wxTextValidator */
-TClassDefExtend(wxTextValidator,wxValidator)
-TClass(wxTextValidator) wxTextValidator_Create( int style, void* val );
-TArrayLen  wxTextValidator_GetExcludes( TSelf(wxTextValidator) _obj, TArrayStringOutVoid _ref );
-TArrayLen  wxTextValidator_GetIncludes( TSelf(wxTextValidator) _obj, TArrayStringOutVoid _ref );
-void       wxTextValidator_SetExcludes( TSelf(wxTextValidator) _obj, TStringVoid list, int count );
-void       wxTextValidator_SetIncludes( TSelf(wxTextValidator) _obj, TStringVoid list, int count );
-TClass(wxValidator) wxTextValidator_Clone( TSelf(wxTextValidator) _obj );
-TBool      wxTextValidator_TransferToWindow( TSelf(wxTextValidator) _obj );
-TBool      wxTextValidator_TransferFromWindow( TSelf(wxTextValidator) _obj );
-int        wxTextValidator_GetStyle( TSelf(wxTextValidator) _obj );
-void       wxTextValidator_OnChar( TSelf(wxTextValidator) _obj, TClass(wxEvent) event );
-void       wxTextValidator_SetStyle( TSelf(wxTextValidator) _obj, int style );
-
-/* wxThinSplitterWindow */
-TClassDefExtend(wxThinSplitterWindow,wxSplitterWindow)
-TClass(wxThinSplitterWindow) wxThinSplitterWindow_Create( TClass(wxWindow) parent, int id, TRect(x,y,w,h), int style );
-void       wxThinSplitterWindow_DrawSash( TSelf(wxThinSplitterWindow) _obj, TClass(wxDC) dc );
-int        wxThinSplitterWindow_SashHitTest( TSelf(wxThinSplitterWindow) _obj, TPoint(x,y), int tolerance );
-void       wxThinSplitterWindow_SizeWindows( TSelf(wxThinSplitterWindow) _obj );
-
-/* wxThread */
-TClassDef(wxThread)
-
-/* wxTime */
-TClassDefExtend(wxTime,wxObject)
-
-/* wxTimeSpan */
-TClassDef(wxTimeSpan)
-
-/* wxTimer */
-TClassDefExtend(wxTimer,wxObject)
-TClass(wxTimer) wxTimer_Create( TClass(wxWindow) _prt, int _id );
-void       wxTimer_Delete( TSelf(wxTimer) _obj );
-int        wxTimer_GetInterval( TSelf(wxTimer) _obj );
-TBool      wxTimer_IsOneShot( TSelf(wxTimer) _obj );
-TBool      wxTimer_IsRuning( TSelf(wxTimer) _obj );
-TBool      wxTimer_Start( TSelf(wxTimer) _obj, int _int, TBool _one );
-void       wxTimer_Stop( TSelf(wxTimer) _obj );
-
-/* wxTimerBase */
-TClassDefExtend(wxTimerBase,wxObject)
-
-/* wxTimerEvent */
-TClassDefExtend(wxTimerEvent,wxEvent)
-int        wxTimerEvent_GetInterval( TSelf(wxTimerEvent) _obj );
-
-/* wxTimerEx */
-TClassDefExtend(wxTimerEx,wxTimer)
-
-/* wxTimerRunner */
-TClassDef(wxTimerRunner)
-
-/* wxTipProvider */
-TClassDef(wxTipProvider)
-
-/* wxTipWindow */
-TClassDefExtend(wxTipWindow,wxPopupTransientWindow)
-void       wxTipWindow_Close( TSelf(wxTipWindow) _obj );
-TClass(wxTipWindow) wxTipWindow_Create( TClass(wxWindow) parent, TClass(wxString) text, int maxLength );
-void       wxTipWindow_SetBoundingRect( TSelf(wxTipWindow) _obj, TRect(x,y,w,h) );
-void       wxTipWindow_SetTipWindowPtr( TSelf(wxTipWindow) _obj, void* windowPtr );
-
-/* wxToggleButton */
-TClassDefExtend(wxToggleButton,wxControl)
-TClass(wxToggleButton) wxToggleButton_Create( TClass(wxWindow) parent, int id, TClass(wxString) label, TRect(x,y,w,h), int style );
-TBool      wxToggleButton_Enable( TSelf(wxToggleButton) _obj, TBool enable );
-TBool      wxToggleButton_GetValue( TSelf(wxToggleButton) _obj );
-void       wxToggleButton_SetLabel( TSelf(wxToggleButton) _obj, TClass(wxString) label );
-void       wxToggleButton_SetValue( TSelf(wxToggleButton) _obj, TBool state );
-
-/* wxToolBar */
-TClassDefExtend(wxToolBar,wxToolBarBase)
-TBool      wxToolBar_AddControl( TSelf(wxToolBar) _obj, TClass(wxControl) ctrl );
-void       wxToolBar_AddSeparator( TSelf(wxToolBar) _obj );
-void       wxToolBar_AddTool( TSelf(wxToolBar) _obj, int id, TClass(wxBitmap) bmp, TClass(wxString) shelp, TClass(wxString) lhelp );
-void       wxToolBar_AddToolEx( TSelf(wxToolBar) _obj, int id, TClass(wxBitmap) bmp1, TClass(wxBitmap) bmp2, TBool isToggle, TPoint(x,y), TClass(wxObject) data, TClass(wxString) shelp, TClass(wxString) lhelp );
-TClass(wxToolBar) wxToolBar_Create( TClass(wxWindow) _prt, int _id, TRect(_lft,_top,_wdt,_hgt), int _stl );
-void       wxToolBar_Delete( TSelf(wxToolBar) _obj );
-TBool      wxToolBar_DeleteTool( TSelf(wxToolBar) _obj, int id );
-TBool      wxToolBar_DeleteToolByPos( TSelf(wxToolBar) _obj, int pos );
-void       wxToolBar_EnableTool( TSelf(wxToolBar) _obj, int id, TBool enable );
-TClass(wxPoint) wxToolBar_GetMargins( TSelf(wxToolBar) _obj );
-TClass(wxSize) wxToolBar_GetToolBitmapSize( TSelf(wxToolBar) _obj );
-TClass(wxObject) wxToolBar_GetToolClientData( TSelf(wxToolBar) _obj, int id );
-TBool      wxToolBar_GetToolEnabled( TSelf(wxToolBar) _obj, int id );
-TClass(wxString) wxToolBar_GetToolLongHelp( TSelf(wxToolBar) _obj, int id );
-int        wxToolBar_GetToolPacking( TSelf(wxToolBar) _obj );
-TClass(wxString) wxToolBar_GetToolShortHelp( TSelf(wxToolBar) _obj, int id );
-TClass(wxSize)  wxToolBar_GetToolSize( TSelf(wxToolBar) _obj );
-TBool      wxToolBar_GetToolState( TSelf(wxToolBar) _obj, int id );
-void       wxToolBar_InsertControl( TSelf(wxToolBar) _obj, int pos, TClass(wxControl) ctrl );
-void       wxToolBar_InsertSeparator( TSelf(wxToolBar) _obj, int pos );
-void       wxToolBar_InsertTool( TSelf(wxToolBar) _obj, int pos, int id, TClass(wxBitmap) bmp1, TClass(wxBitmap) bmp2, TBool isToggle, TClass(wxObject) data, TClass(wxString) shelp, TClass(wxString) lhelp );
-TBool      wxToolBar_Realize( TSelf(wxToolBar) _obj );
-void       wxToolBar_RemoveTool( TSelf(wxToolBar) _obj, int id );
-void       wxToolBar_SetMargins( TSelf(wxToolBar) _obj, TPoint(x,y) );
-void       wxToolBar_SetToolBitmapSize( TSelf(wxToolBar) _obj, TSize(x,y) );
-void       wxToolBar_SetToolClientData( TSelf(wxToolBar) _obj, int id, TClass(wxObject) data );
-void       wxToolBar_SetToolLongHelp( TSelf(wxToolBar) _obj, int id, TClass(wxString) str );
-void       wxToolBar_SetToolPacking( TSelf(wxToolBar) _obj, int packing );
-void       wxToolBar_SetToolSeparation( TSelf(wxToolBar) _obj, int separation );
-void       wxToolBar_SetToolShortHelp( TSelf(wxToolBar) _obj, int id, TClass(wxString) str );
-void       wxToolBar_ToggleTool( TSelf(wxToolBar) _obj, int id, TBool toggle );
-
-/* wxToolBarBase */
-TClassDefExtend(wxToolBarBase,wxControl)
-
-/* wxToolLayoutItem */
-TClassDefExtend(wxToolLayoutItem,wxObject)
-TBool      wxToolLayoutItem_IsSeparator( TSelf(wxToolLayoutItem) _obj );
-void       wxToolLayoutItem_Rect( TSelf(wxToolLayoutItem) _obj, TRectOutVoid(_x,_y,_w,_h) );
-
-/* wxToolTip */
-TClassDefExtend(wxToolTip,wxObject)
-
-/* wxToolWindow */
-TClassDefExtend(wxToolWindow,wxFrame)
-void       wxToolWindow_AddMiniButton( TSelf(wxToolWindow) _obj, void* _btn );
-TClass(wxToolWindow) wxToolWindow_Create( void* _obj, void* _btn, void* _ttl );
-TClass(wxClient) wxToolWindow_GetClient( TSelf(wxToolWindow) _obj );
-void       wxToolWindow_SetClient( TSelf(wxToolWindow) _obj, TClass(wxWindow) _wnd );
-void       wxToolWindow_SetTitleFont( TSelf(wxToolWindow) _obj, void* _fnt );
-
-/* wxTopLevelWindow */
-TClassDefExtend(wxTopLevelWindow,wxWindow)
-TBool      wxTopLevelWindow_EnableCloseButton( TSelf(wxTopLevelWindow) _obj, TBool enable );
-TClass(wxButton) wxTopLevelWindow_GetDefaultButton( TSelf(wxTopLevelWindow) _obj );
-TClass(wxWindow) wxTopLevelWindow_GetDefaultItem( TSelf(wxTopLevelWindow) _obj );
-TClass(wxIcon) wxTopLevelWindow_GetIcon( TSelf(wxTopLevelWindow) _obj );
-TClass(wxString) wxTopLevelWindow_GetTitle( TSelf(wxTopLevelWindow) _obj );
-TBool      wxTopLevelWindow_Iconize( TSelf(wxTopLevelWindow) _obj, TBool iconize );
-TBool      wxTopLevelWindow_IsActive( TSelf(wxTopLevelWindow) _obj );
-TBool      wxTopLevelWindow_IsIconized( TSelf(wxTopLevelWindow) _obj );
-TBool      wxTopLevelWindow_IsMaximized( TSelf(wxTopLevelWindow) _obj );
-void       wxTopLevelWindow_Maximize( TSelf(wxTopLevelWindow) _obj, TBool maximize );
-void       wxTopLevelWindow_RequestUserAttention( TSelf(wxTopLevelWindow) _obj, int flags );
-void       wxTopLevelWindow_SetDefaultButton( TSelf(wxTopLevelWindow) _obj, TClass(wxButton) pBut );
-void       wxTopLevelWindow_SetDefaultItem( TSelf(wxTopLevelWindow) _obj, TClass(wxWindow) pBut );
-void       wxTopLevelWindow_SetIcon( TSelf(wxTopLevelWindow) _obj, TClass(wxIcon) pIcon );
-void       wxTopLevelWindow_SetIcons( TSelf(wxTopLevelWindow) _obj, void* _icons );
-void       wxTopLevelWindow_SetMaxSize( TSelf(wxTopLevelWindow) _obj, TSize(w,h) );
-void       wxTopLevelWindow_SetMinSize( TSelf(wxTopLevelWindow) _obj, TSize(w,h) );
-void       wxTopLevelWindow_SetTitle( TSelf(wxTopLevelWindow) _obj, TClass(wxString) pString );
-
-/* wxTreeCompanionWindow */
-TClassDefExtend(wxTreeCompanionWindow,wxWindow)
-TClass(wxTreeCompanionWindow) wxTreeCompanionWindow_Create( TClass(wxWindow) parent, int id, TRect(x,y,w,h), int style );
-void       wxTreeCompanionWindow_DrawItem( TSelf(wxTreeCompanionWindow) _obj, TClass(wxDC) dc, void* id, TRect(x,y,w,h));
-TClass(wxTreeCtrl) wxTreeCompanionWindow_GetTreeCtrl( TSelf(wxTreeCompanionWindow) _obj );
-void       wxTreeCompanionWindow_SetTreeCtrl( TSelf(wxTreeCompanionWindow) _obj, TClass(wxTreeCtrl) treeCtrl );
-
-/* wxTreeCtrl */
-TClassDefExtend(wxTreeCtrl,wxControl)
-void       wxTreeCtrl_AddRoot( TSelf(wxTreeCtrl) _obj, TClass(wxString) text, int image, int selectedImage, TClass(wxTreeItemData) data, TClassRef(wxTreeItemId) _item );
-void       wxTreeCtrl_AppendItem( TSelf(wxTreeCtrl) _obj, TClass(wxTreeItemId) parent, TClass(wxString) text, int image, int selectedImage, TClass(wxTreeItemData)  data, TClassRef(wxTreeItemId) _item );
-void       wxTreeCtrl_Collapse( TSelf(wxTreeCtrl) _obj, TClass(wxTreeItemId) item );
-void       wxTreeCtrl_CollapseAndReset( TSelf(wxTreeCtrl) _obj, TClass(wxTreeItemId) item );
-TClass(wxTreeCtrl) wxTreeCtrl_Create( void* _obj, void* _cmp, TClass(wxWindow) _prt, int _id, TRect(_lft,_top,_wdt,_hgt), int _stl );
-void       wxTreeCtrl_Delete( TSelf(wxTreeCtrl) _obj, TClass(wxTreeItemId) item );
-void       wxTreeCtrl_DeleteAllItems( TSelf(wxTreeCtrl) _obj );
-void       wxTreeCtrl_DeleteChildren( TSelf(wxTreeCtrl) _obj, TClass(wxTreeItemId) item );
-void       wxTreeCtrl_EditLabel( TSelf(wxTreeCtrl) _obj, TClass(wxTreeItemId) item );
-void       wxTreeCtrl_EndEditLabel( TSelf(wxTreeCtrl) _obj, TClass(wxTreeItemId) item, TBool discardChanges );
-void       wxTreeCtrl_EnsureVisible( TSelf(wxTreeCtrl) _obj, TClass(wxTreeItemId) item );
-void       wxTreeCtrl_Expand( TSelf(wxTreeCtrl) _obj, TClass(wxTreeItemId) item );
-TClass(wxRect) wxTreeCtrl_GetBoundingRect( TSelf(wxTreeCtrl) _obj, TClass(wxTreeItemId) item, TBool textOnly );
-int        wxTreeCtrl_GetChildrenCount( TSelf(wxTreeCtrl) _obj, TClass(wxTreeItemId) item, TBool recursively );
-int        wxTreeCtrl_GetCount( TSelf(wxTreeCtrl) _obj );
-TClass(wxTextCtrl) wxTreeCtrl_GetEditControl( TSelf(wxTreeCtrl) _obj );
-void       wxTreeCtrl_GetFirstChild( TSelf(wxTreeCtrl) _obj, TClass(wxTreeItemId) item, int* cookie, TClassRef(wxTreeItemId) _item );
-void       wxTreeCtrl_GetFirstVisibleItem( TSelf(wxTreeCtrl) _obj, TClass(wxTreeItemId) item, TClassRef(wxTreeItemId) _item );
-TClass(wxImageList) wxTreeCtrl_GetImageList( TSelf(wxTreeCtrl) _obj );
-int        wxTreeCtrl_GetIndent( TSelf(wxTreeCtrl) _obj );
-void*      wxTreeCtrl_GetItemData( TSelf(wxTreeCtrl) _obj, TClass(wxTreeItemId) item );
-int        wxTreeCtrl_GetItemImage( TSelf(wxTreeCtrl) _obj, TClass(wxTreeItemId) item, int which );
-TClass(wxString) wxTreeCtrl_GetItemText( TSelf(wxTreeCtrl) _obj, TClass(wxTreeItemId) item );
-void       wxTreeCtrl_GetLastChild( TSelf(wxTreeCtrl) _obj, TClass(wxTreeItemId) item, TClassRef(wxTreeItemId) _item );
-void       wxTreeCtrl_GetNextChild( TSelf(wxTreeCtrl) _obj, TClass(wxTreeItemId) item, int* cookie, TClassRef(wxTreeItemId) _item );
-void       wxTreeCtrl_GetNextSibling( TSelf(wxTreeCtrl) _obj, TClass(wxTreeItemId) item, TClassRef(wxTreeItemId) _item );
-void       wxTreeCtrl_GetNextVisible( TSelf(wxTreeCtrl) _obj, TClass(wxTreeItemId) item, TClassRef(wxTreeItemId) _item );
-void       wxTreeCtrl_GetParent( TSelf(wxTreeCtrl) _obj, TClass(wxTreeItemId) item, TClassRef(wxTreeItemId) _item );
-void       wxTreeCtrl_GetPrevSibling( TSelf(wxTreeCtrl) _obj, TClass(wxTreeItemId) item, TClassRef(wxTreeItemId) _item );
-void       wxTreeCtrl_GetPrevVisible( TSelf(wxTreeCtrl) _obj, TClass(wxTreeItemId) item, TClassRef(wxTreeItemId) _item );
-void       wxTreeCtrl_GetRootItem( TSelf(wxTreeCtrl) _obj, TClassRef(wxTreeItemId) _item );
-void       wxTreeCtrl_GetSelection( TSelf(wxTreeCtrl) _obj, TClassRef(wxTreeItemId) _item );
-TArrayLen  wxTreeCtrl_GetSelections( TSelf(wxTreeCtrl) _obj, TArrayIntOutVoid selections );
-int        wxTreeCtrl_GetSpacing( TSelf(wxTreeCtrl) _obj );
-TClass(wxImageList)  wxTreeCtrl_GetStateImageList( TSelf(wxTreeCtrl) _obj );
-void       wxTreeCtrl_HitTest( TSelf(wxTreeCtrl) _obj, TPoint(_x,_y), int* flags, TClassRef(wxTreeItemId) _item );
-void       wxTreeCtrl_InsertItem( TSelf(wxTreeCtrl) _obj, TClass(wxTreeItemId) parent, TClass(wxTreeItemId) idPrevious, TClass(wxString) text, int image, int selectedImage, void* data, TClassRef(wxTreeItemId) _item );
-void       wxTreeCtrl_InsertItemByIndex( TSelf(wxTreeCtrl) _obj, TClass(wxTreeItemId) parent, int index, TClass(wxString) text, int image, int selectedImage, void* data, TClassRef(wxTreeItemId) _item );
-TBool      wxTreeCtrl_IsBold( TSelf(wxTreeCtrl) _obj, TClass(wxTreeItemId) item );
-TBool      wxTreeCtrl_IsExpanded( TSelf(wxTreeCtrl) _obj, TClass(wxTreeItemId) item );
-TBool      wxTreeCtrl_IsSelected( TSelf(wxTreeCtrl) _obj, TClass(wxTreeItemId) item );
-TBool      wxTreeCtrl_IsVisible( TSelf(wxTreeCtrl) _obj, TClass(wxTreeItemId) item );
-int        wxTreeCtrl_ItemHasChildren( TSelf(wxTreeCtrl) _obj, TClass(wxTreeItemId) item );
-int        wxTreeCtrl_OnCompareItems( TSelf(wxTreeCtrl) _obj, TClass(wxTreeItemId) item1, TClass(wxTreeItemId) item2 );
-void       wxTreeCtrl_PrependItem( TSelf(wxTreeCtrl) _obj, TClass(wxTreeItemId) parent, TClass(wxString) text, int image, int selectedImage, void* data, TClassRef(wxTreeItemId) _item );
-void       wxTreeCtrl_ScrollTo( TSelf(wxTreeCtrl) _obj, TClass(wxTreeItemId) item );
-void       wxTreeCtrl_SelectItem( TSelf(wxTreeCtrl) _obj, TClass(wxTreeItemId) item );
-void       wxTreeCtrl_SetImageList( TSelf(wxTreeCtrl) _obj, TClass(wxImageList) imageList );
-void       wxTreeCtrl_SetIndent( TSelf(wxTreeCtrl) _obj, int indent );
-void       wxTreeCtrl_SetItemBackgroundColour( TSelf(wxTreeCtrl) _obj, TClass(wxTreeItemId) item, TClass(wxColour) col );
-void       wxTreeCtrl_SetItemBold( TSelf(wxTreeCtrl) _obj, TClass(wxTreeItemId) item, TBool bold );
-void       wxTreeCtrl_SetItemData( TSelf(wxTreeCtrl) _obj, TClass(wxTreeItemId) item, void* data );
-void       wxTreeCtrl_SetItemDropHighlight( TSelf(wxTreeCtrl) _obj, TClass(wxTreeItemId) item, TBool highlight );
-void       wxTreeCtrl_SetItemFont( TSelf(wxTreeCtrl) _obj, TClass(wxTreeItemId) item, TClass(wxFont) font );
-void       wxTreeCtrl_SetItemHasChildren( TSelf(wxTreeCtrl) _obj, TClass(wxTreeItemId) item, TBool hasChildren );
-void       wxTreeCtrl_SetItemImage( TSelf(wxTreeCtrl) _obj, TClass(wxTreeItemId) item, int image, int which );
-void       wxTreeCtrl_SetItemText( TSelf(wxTreeCtrl) _obj, TClass(wxTreeItemId) item, TClass(wxString) text );
-void       wxTreeCtrl_SetItemTextColour( TSelf(wxTreeCtrl) _obj, TClass(wxTreeItemId) item, TClass(wxColour) col );
-void       wxTreeCtrl_SetSpacing( TSelf(wxTreeCtrl) _obj, int spacing );
-void       wxTreeCtrl_SetStateImageList( TSelf(wxTreeCtrl) _obj, TClass(wxImageList) imageList );
-void       wxTreeCtrl_SortChildren( TSelf(wxTreeCtrl) _obj, TClass(wxTreeItemId) item );
-void       wxTreeCtrl_Toggle( TSelf(wxTreeCtrl) _obj, TClass(wxTreeItemId) item );
-void       wxTreeCtrl_Unselect( TSelf(wxTreeCtrl) _obj );
-void       wxTreeCtrl_UnselectAll( TSelf(wxTreeCtrl) _obj );
-
-/* wxTreeEvent */
-TClassDefExtend(wxTreeEvent,wxNotifyEvent)
-int        wxTreeEvent_GetCode( TSelf(wxTreeEvent) _obj );
-void       wxTreeEvent_GetItem( TSelf(wxTreeEvent) _obj, TClassRef(wxTreeItemId) _ref );
-TClass(wxString) wxTreeEvent_GetLabel( TSelf(wxTreeEvent) _obj );
-void       wxTreeEvent_GetOldItem( TSelf(wxTreeEvent) _obj, TClassRef(wxTreeItemId) _ref );
-TClass(wxPoint) wxTreeEvent_GetPoint( TSelf(wxTreeEvent) _obj );
-
-/* wxTreeItemData */
-TClassDefExtend(wxTreeItemData,wxClientData)
-
-/* wxTreeItemId */
-TClassDef(wxTreeItemId)
-TClass(wxTreeItemId) wxTreeItemId_Create(  );
-void       wxTreeItemId_Delete( TSelf(wxTreeItemId) _obj );
-TBool      wxTreeItemId_IsOk( TSelf(wxTreeItemId) _obj );
-
-/* wxTreeLayout */
-TClassDefExtend(wxTreeLayout,wxObject)
-
-/* wxTreeLayoutStored */
-TClassDefExtend(wxTreeLayoutStored,wxTreeLayout)
-
-/* wxURL */
-TClassDefExtend(wxURL,wxObject)
-
-/* wxUpdateUIEvent */
-TClassDefExtend(wxUpdateUIEvent,wxEvent)
-void       wxUpdateUIEvent_Check( TSelf(wxUpdateUIEvent) _obj, TBool check );
-void       wxUpdateUIEvent_CopyObject( TSelf(wxUpdateUIEvent) _obj, TClass(wxObject) obj );
-void       wxUpdateUIEvent_Enable( TSelf(wxUpdateUIEvent) _obj, TBool enable );
-TBool      wxUpdateUIEvent_GetChecked( TSelf(wxUpdateUIEvent) _obj );
-TBool      wxUpdateUIEvent_GetEnabled( TSelf(wxUpdateUIEvent) _obj );
-TBool      wxUpdateUIEvent_GetSetChecked( TSelf(wxUpdateUIEvent) _obj );
-TBool      wxUpdateUIEvent_GetSetEnabled( TSelf(wxUpdateUIEvent) _obj );
-TBool      wxUpdateUIEvent_GetSetText( TSelf(wxUpdateUIEvent) _obj );
-TClass(wxString) wxUpdateUIEvent_GetText( TSelf(wxUpdateUIEvent) _obj );
-void       wxUpdateUIEvent_SetText( TSelf(wxUpdateUIEvent) _obj, TClass(wxString) text );
-
-/* wxValidator */
-TClassDefExtend(wxValidator,wxEvtHandler)
-TClass(wxValidator) wxValidator_Create(  );
-void       wxValidator_Delete( TSelf(wxValidator) _obj );
-TClass(wxWindow) wxValidator_GetWindow( TSelf(wxValidator) _obj );
-void       wxValidator_SetBellOnError( TBool doIt );
-void       wxValidator_SetWindow( TSelf(wxValidator) _obj, TClass(wxWindow) win );
-TBool      wxValidator_TransferFromWindow( TSelf(wxValidator) _obj );
-TBool      wxValidator_TransferToWindow( TSelf(wxValidator) _obj );
-TBool      wxValidator_Validate( TSelf(wxValidator) _obj, TClass(wxWindow) parent );
-
-/* wxVariant */
-TClassDefExtend(wxVariant,wxObject)
-
-/* wxVariantData */
-TClassDefExtend(wxVariantData,wxObject)
-
-/* wxView */
-TClassDefExtend(wxView,wxEvtHandler)
-
-/* wxSound */
-TClassDefExtend(wxSound,wxEvtHandler)
-
-/* wxWindow */
-TClassDefExtend(wxWindow,wxEvtHandler)
-void       wxWindow_AddChild( TSelf(wxWindow) _obj, TClass(wxWindow) child );
-void       wxWindow_AddConstraintReference( TSelf(wxWindow) _obj, TClass(wxWindow) otherWin );
-void       wxWindow_CaptureMouse( TSelf(wxWindow) _obj );
-void       wxWindow_Center( TSelf(wxWindow) _obj, int direction );
-void       wxWindow_CenterOnParent( TSelf(wxWindow) _obj, int dir );
-void       wxWindow_ClearBackground( TSelf(wxWindow) _obj );
-TClass(wxPoint) wxWindow_ClientToScreen( TSelf(wxWindow) _obj, TPoint(x,y) );
-TBool      wxWindow_Close( TSelf(wxWindow) _obj, TBool _force );
-TClass(wxPoint) wxWindow_ConvertDialogToPixels( TSelf(wxWindow) _obj );
-TClass(wxPoint) wxWindow_ConvertPixelsToDialog( TSelf(wxWindow) _obj );
-TClass(wxWindow) wxWindow_Create( TClass(wxWindow) _prt, int _id, TRect(_x,_y,_w,_h), int _stl );
-void       wxWindow_DeleteRelatedConstraints( TSelf(wxWindow) _obj );
-TBool      wxWindow_Destroy( TSelf(wxWindow) _obj );
-TBool      wxWindow_DestroyChildren( TSelf(wxWindow) _obj );
-TBool      wxWindow_Disable( TSelf(wxWindow) _obj );
-int        wxWindow_DoPhase( TSelf(wxWindow) _obj, int phase );
-TBool      wxWindow_Enable( TSelf(wxWindow) _obj );
-TClass(wxWindow) wxWindow_FindFocus( TSelf(wxWindow) _obj );
-TClass(wxWindow) wxWindow_FindWindow( TSelf(wxWindow) _obj, TClass(wxString) name );
-void       wxWindow_Fit( TSelf(wxWindow) _obj );
-void       wxWindow_FitInside( TSelf(wxWindow) _obj );
-void       wxWindow_Freeze( TSelf(wxWindow) _obj );
-TClass(wxSize) wxWindow_GetEffectiveMinSize( TSelf(wxWindow) _obj );
-int        wxWindow_GetAutoLayout( TSelf(wxWindow) _obj );
-void       wxWindow_GetBackgroundColour( TSelf(wxWindow) _obj, TClassRef(wxColour) _ref );
-TClass(wxSize) wxWindow_GetBestSize( TSelf(wxWindow) _obj );
-TClass(wxCaret) wxWindow_GetCaret( TSelf(wxWindow) _obj );
-int        wxWindow_GetCharHeight( TSelf(wxWindow) _obj );
-int        wxWindow_GetCharWidth( TSelf(wxWindow) _obj );
-int        wxWindow_GetChildren( TSelf(wxWindow) _obj, void* _res, int _cnt );
-TClass(wxClientData) wxWindow_GetClientData( TSelf(wxWindow) _obj );
-TClass(wxSize) wxWindow_GetClientSize( TSelf(wxWindow) _obj );
-void       wxWindow_GetClientSizeConstraint( TSelf(wxWindow) _obj, TSizeOut(_w,_h) );
-TClass(wxLayoutConstraints) wxWindow_GetConstraints( TSelf(wxWindow) _obj );
-void*      wxWindow_GetConstraintsInvolvedIn( TSelf(wxWindow) _obj );
-TClass(wxCursor) wxWindow_GetCursor( TSelf(wxWindow) _obj );
-TClass(wxDropTarget) wxWindow_GetDropTarget( TSelf(wxWindow) _obj );
-TClass(wxEvtHandler) wxWindow_GetEventHandler( TSelf(wxWindow) _obj );
-void       wxWindow_GetFont( TSelf(wxWindow) _obj, TClassRef(wxFont) _ref );
-void       wxWindow_GetForegroundColour( TSelf(wxWindow) _obj, TClassRef(wxColour) _ref );
-void*      wxWindow_GetHandle( TSelf(wxWindow) _obj );
-int        wxWindow_GetId( TSelf(wxWindow) _obj );
-TClass(wxString) wxWindow_GetLabel( TSelf(wxWindow) _obj );
-int        wxWindow_GetLabelEmpty( TSelf(wxWindow) _obj );
-int        wxWindow_GetMaxHeight( TSelf(wxWindow) _obj );
-int        wxWindow_GetMaxWidth( TSelf(wxWindow) _obj );
-int        wxWindow_GetMinHeight( TSelf(wxWindow) _obj );
-int        wxWindow_GetMinWidth( TSelf(wxWindow) _obj );
-TClass(wxString) wxWindow_GetName( TSelf(wxWindow) _obj );
-TClass(wxWindow) wxWindow_GetParent( TSelf(wxWindow) _obj );
-TClass(wxPoint) wxWindow_GetPosition( TSelf(wxWindow) _obj );
-void       wxWindow_GetPositionConstraint( TSelf(wxWindow) _obj, TPointOut(_x,_y) );
-TClass(wxRect)  wxWindow_GetRect( TSelf(wxWindow) _obj );
-int        wxWindow_GetScrollPos( TSelf(wxWindow) _obj, int orient );
-int        wxWindow_GetScrollRange( TSelf(wxWindow) _obj, int orient );
-int        wxWindow_GetScrollThumb( TSelf(wxWindow) _obj, int orient );
-TClass(wxSize) wxWindow_GetSize( TSelf(wxWindow) _obj );
-void       wxWindow_GetSizeConstraint( TSelf(wxWindow) _obj, TSizeOut(_w,_h) );
-TClass(wxSizer) wxWindow_GetSizer( TSelf(wxWindow) _obj );
-void       wxWindow_GetTextExtent( TSelf(wxWindow) _obj, TClass(wxString) string, int* x, int* y, int* descent, int* externalLeading, TClass(wxFont) theFont );
-TClass(wxString) wxWindow_GetToolTip( TSelf(wxWindow) _obj );
-TClass(wxRegion) wxWindow_GetUpdateRegion( TSelf(wxWindow) _obj );
-TClass(wxValidator) wxWindow_GetValidator( TSelf(wxWindow) _obj );
-TClass(wxSize) wxWindow_GetVirtualSize( TSelf(wxWindow) _obj );
-int        wxWindow_GetWindowStyleFlag( TSelf(wxWindow) _obj );
-TBool      wxWindow_HasFlag( TSelf(wxWindow) _obj, int flag );
-TBool      wxWindow_Hide( TSelf(wxWindow) _obj );
-void       wxWindow_InitDialog( TSelf(wxWindow) _obj );
-TBool      wxWindow_IsBeingDeleted( TSelf(wxWindow) _obj );
-TBool      wxWindow_IsEnabled( TSelf(wxWindow) _obj );
-TBool      wxWindow_IsExposed( TSelf(wxWindow) _obj, TRect(x,y,w,h) );
-TBool      wxWindow_IsShown( TSelf(wxWindow) _obj );
-TBool      wxWindow_IsTopLevel( TSelf(wxWindow) _obj );
-int        wxWindow_Layout( TSelf(wxWindow) _obj );
-int        wxWindow_LayoutPhase1( TSelf(wxWindow) _obj, int* noChanges );
-int        wxWindow_LayoutPhase2( TSelf(wxWindow) _obj, int* noChanges );
-void       wxWindow_Lower( TSelf(wxWindow) _obj );
-void       wxWindow_MakeModal( TSelf(wxWindow) _obj, TBool modal );
-void       wxWindow_Move( TSelf(wxWindow) _obj, TPoint(x,y) );
-void       wxWindow_MoveConstraint( TSelf(wxWindow) _obj, TPoint(x,y) );
-void*      wxWindow_PopEventHandler( TSelf(wxWindow) _obj, TBool deleteHandler );
-int        wxWindow_PopupMenu( TSelf(wxWindow) _obj, TClass(wxMenu) menu, TPoint(x,y) );
-void       wxWindow_PrepareDC( TSelf(wxWindow) _obj, TClass(wxDC) dc );
-void       wxWindow_PushEventHandler( TSelf(wxWindow) _obj, TClass(wxEvtHandler) handler );
-void       wxWindow_Raise( TSelf(wxWindow) _obj );
-void       wxWindow_Refresh( TSelf(wxWindow) _obj, TBool eraseBackground );
-void       wxWindow_RefreshRect( TSelf(wxWindow) _obj, TBool eraseBackground, TRect(x,y,w,h) );
-void       wxWindow_ReleaseMouse( TSelf(wxWindow) _obj );
-void       wxWindow_RemoveChild( TSelf(wxWindow) _obj, TClass(wxWindow) child );
-void       wxWindow_RemoveConstraintReference( TSelf(wxWindow) _obj, TClass(wxWindow) otherWin );
-int        wxWindow_Reparent( TSelf(wxWindow) _obj, TClass(wxWindow) _par );
-void       wxWindow_ResetConstraints( TSelf(wxWindow) _obj );
-TClass(wxPoint) wxWindow_ScreenToClient( TSelf(wxWindow) _obj, TPoint(x,y) );
-void       wxWindow_ScrollWindow( TSelf(wxWindow) _obj, TVector(dx,dy) );
-void       wxWindow_ScrollWindowRect( TSelf(wxWindow) _obj, TVector(dx,dy), TRect(x,y,w,h) );
-void       wxWindow_SetAcceleratorTable( TSelf(wxWindow) _obj, TClass(wxAcceleratorTable) accel );
-void       wxWindow_SetAutoLayout( TSelf(wxWindow) _obj, TBool autoLayout );
-int        wxWindow_SetBackgroundColour( TSelf(wxWindow) _obj, TClass(wxColour) colour );
-void       wxWindow_SetCaret( TSelf(wxWindow) _obj, TClass(wxCaret) caret );
-void       wxWindow_SetClientData( TSelf(wxWindow) _obj, TClass(wxClientData) data );
-void       wxWindow_SetClientObject( TSelf(wxWindow) _obj, TClass(wxClientData) data );
-void       wxWindow_SetClientSize( TSelf(wxWindow) _obj, TSize(width,height) );
-void       wxWindow_SetConstraintSizes( TSelf(wxWindow) _obj, int recurse );
-void       wxWindow_SetConstraints( TSelf(wxWindow) _obj, TClass(wxLayoutConstraints) constraints );
-int        wxWindow_SetCursor( TSelf(wxWindow) _obj, TClass(wxCursor) cursor );
-void       wxWindow_SetDropTarget( TSelf(wxWindow) _obj, TClass(wxDropTarget) dropTarget );
-void       wxWindow_SetExtraStyle( TSelf(wxWindow) _obj, long exStyle );
-void       wxWindow_SetFocus( TSelf(wxWindow) _obj );
-int        wxWindow_SetFont( TSelf(wxWindow) _obj, TClass(wxFont) font );
-int        wxWindow_SetForegroundColour( TSelf(wxWindow) _obj, TClass(wxColour) colour );
-void       wxWindow_SetId( TSelf(wxWindow) _obj, int _id );
-void       wxWindow_SetLabel( TSelf(wxWindow) _obj, TClass(wxString) _title );
-void       wxWindow_SetName( TSelf(wxWindow) _obj, TClass(wxString) _name );
-void       wxWindow_SetScrollPos( TSelf(wxWindow) _obj, int orient, int pos, TBool refresh );
-void       wxWindow_SetScrollbar( TSelf(wxWindow) _obj, int orient, int pos, int thumbVisible, int range, TBool refresh );
-void       wxWindow_SetSize( TSelf(wxWindow) _obj, TRect(x,y,width,height), int sizeFlags );
-void       wxWindow_SetSizeConstraint( TSelf(wxWindow) _obj, TRect(x,y,w,h) );
-void       wxWindow_SetSizeHints( TSelf(wxWindow) _obj, int minW, int minH, int maxW, int maxH, int incW, int incH );
-void       wxWindow_SetSizer( TSelf(wxWindow) _obj, TClass(wxSizer) sizer );
-void       wxWindow_SetToolTip( TSelf(wxWindow) _obj, TClass(wxString) tip );
-void       wxWindow_SetValidator( TSelf(wxWindow) _obj, TClass(wxValidator) validator );
-void       wxWindow_SetWindowStyleFlag( TSelf(wxWindow) _obj, long style );
-TBool      wxWindow_Show( TSelf(wxWindow) _obj );
-void       wxWindow_Thaw( TSelf(wxWindow) _obj );
-TBool      wxWindow_TransferDataFromWindow( TSelf(wxWindow) _obj );
-TBool      wxWindow_TransferDataToWindow( TSelf(wxWindow) _obj );
-void       wxWindow_UnsetConstraints( TSelf(wxWindow) _obj, void* c );
-void       wxWindow_UpdateWindowUI( TSelf(wxWindow) _obj );
-TBool      wxWindow_Validate( TSelf(wxWindow) _obj );
-void       wxWindow_SetVirtualSize( TSelf(wxWindow) _obj, TSize(w,h) );
-void       wxWindow_WarpPointer( TSelf(wxWindow) _obj, TPoint(x,y) );
-
-/* wxWindowCreateEvent */
-TClassDefExtend(wxWindowCreateEvent,wxCommandEvent)
-TClass(wxWindow) wxWindowCreateEvent_GetWindow( TSelf(wxWindowCreateEvent) _obj );
-
-/* wxWindowDC */
-TClassDefExtend(wxWindowDC,wxDC)
-TClass(wxWindowDC) wxWindowDC_Create( TClass(wxWindow) win );
-void       wxWindowDC_Delete( TSelf(wxWindowDC) _obj );
-
-/* wxWindowDestroyEvent */
-TClassDefExtend(wxWindowDestroyEvent,wxCommandEvent)
-TClass(wxWindow) wxWindowDestroyEvent_GetWindow( TSelf(wxWindowDestroyEvent) _obj );
-
-/* wxWindowDisabler */
-TClassDef(wxWindowDisabler)
-
-/* wxWizard */
-TClassDefExtend(wxWizard,wxDialog)
-void       wxWizard_Chain( TClass(wxWizardPageSimple) f, TClass(wxWizardPageSimple) s );
-TClass(wxWizard) wxWizard_Create( TClass(wxWindow) _prt, int _id, TClass(wxString) _txt, TClass(wxBitmap) _bmp, TRect(_lft,_top,_wdt,_hgt) );
-TClass(wxWizardPage) wxWizard_GetCurrentPage( TSelf(wxWizard) _obj );
-TClass(wxSize) wxWizard_GetPageSize( TSelf(wxWizard) _obj );
-int        wxWizard_RunWizard( TSelf(wxWizard) _obj, TClass(wxWizardPage) firstPage );
-void       wxWizard_SetPageSize( TSelf(wxWizard) _obj, TSize(w,h) );
-
-/* wxWizardEvent */
-TClassDefExtend(wxWizardEvent,wxNotifyEvent)
-int        wxWizardEvent_GetDirection( TSelf(wxWizardEvent) _obj );
-
-/* wxWizardPage */
-TClassDefExtend(wxWizardPage,wxPanel)
-
-/* wxWizardPageSimple */
-TClassDefExtend(wxWizardPageSimple,wxWizardPage)
-TClass(wxWizardPageSimple) wxWizardPageSimple_Create( TClass(wxWizard) _prt );
-void       wxWizardPageSimple_GetBitmap( TSelf(wxWizardPageSimple) _obj, TClassRef(wxBitmap) _ref );
-TClass(wxWizardPageSimple) wxWizardPageSimple_GetNext( TSelf(wxWizardPageSimple) _obj );
-TClass(wxWizardPageSimple) wxWizardPageSimple_GetPrev( TSelf(wxWizardPageSimple) _obj );
-void       wxWizardPageSimple_SetNext( TSelf(wxWizardPageSimple) _obj, TClass(wxWizardPageSimple) next );
-void       wxWizardPageSimple_SetPrev( TSelf(wxWizardPageSimple) _obj, TClass(wxWizardPageSimple) prev );
-
-/* wxXmlResource */
-TClassDefExtend(wxXmlResource,wxObject)
-void       wxXmlResource_AddHandler( TSelf(wxXmlResource) _obj, TClass(wxEvtHandler) handler );
-void       wxXmlResource_AddSubclassFactory( TSelf(wxXmlResource) _obj, void* factory );
-int        wxXmlResource_AttachUnknownControl( TSelf(wxXmlResource) _obj, TClass(wxControl) control, TClass(wxWindow) parent );
-void       wxXmlResource_ClearHandlers( TSelf(wxXmlResource) _obj );
-int        wxXmlResource_CompareVersion( TSelf(wxXmlResource) _obj, int major, int minor, int release, int revision );
-TClass(wxXmlResource) wxXmlResource_Create( int flags );
-TClass(wxXmlResource) wxXmlResource_CreateFromFile( TClass(wxString) filemask, int flags );
-void       wxXmlResource_Delete( TSelf(wxXmlResource) _obj );
-TClass(wxXmlResource) wxXmlResource_Get(  );
-TClass(wxString) wxXmlResource_GetDomain( TSelf(wxXmlResource) _obj );
-int        wxXmlResource_GetFlags( TSelf(wxXmlResource) _obj );
-long       wxXmlResource_GetVersion( TSelf(wxXmlResource) _obj );
-int        wxXmlResource_GetXRCID( TSelf(wxXmlResource) _obj, TClass(wxString) str_id );
-void       wxXmlResource_InitAllHandlers( TSelf(wxXmlResource) _obj );
-void       wxXmlResource_InsertHandler( TSelf(wxXmlResource) _obj, TClass(wxEvtHandler) handler );
-TBool      wxXmlResource_Load( TSelf(wxXmlResource) _obj, TClass(wxString) filemask );
-void       wxXmlResource_LoadBitmap( TSelf(wxXmlResource) _obj, TClass(wxString) name, TClassRef(wxBitmap) _ref );
-TClass(wxDialog) wxXmlResource_LoadDialog( TSelf(wxXmlResource) _obj, TClass(wxWindow) parent, TClass(wxString) name );
-TClass(wxFrame) wxXmlResource_LoadFrame( TSelf(wxXmlResource) _obj, TClass(wxWindow) parent, TClass(wxString) name );
-void       wxXmlResource_LoadIcon( TSelf(wxXmlResource) _obj, TClass(wxString) name, TClassRef(wxIcon) _ref );
-TClass(wxMenu) wxXmlResource_LoadMenu( TSelf(wxXmlResource) _obj, TClass(wxString) name );
-TClass(wxMenuBar) wxXmlResource_LoadMenuBar( TSelf(wxXmlResource) _obj, TClass(wxWindow) parent, TClass(wxString) name );
-TClass(wxPanel) wxXmlResource_LoadPanel( TSelf(wxXmlResource) _obj, TClass(wxWindow) parent, TClass(wxString) name );
-TClass(wxToolBar) wxXmlResource_LoadToolBar( TSelf(wxXmlResource) _obj, TClass(wxWindow) parent, TClass(wxString) name );
-TClass(wxSizer) wxXmlResource_GetSizer( TSelf(wxWindow) _obj, TClass(wxString) str_id );
-TClass(wxBoxSizer) wxXmlResource_GetBoxSizer( TSelf(wxWindow) _obj, TClass(wxString) str_id );
-TClass(wxStaticBoxSizer) wxXmlResource_GetStaticBoxSizer( TSelf(wxWindow) _obj, TClass(wxString) str_id );
-TClass(wxGridSizer) wxXmlResource_GetGridSizer( TSelf(wxWindow) _obj, TClass(wxString) str_id );
-TClass(wxFlexGridSizer) wxXmlResource_GetFlexGridSizer( TSelf(wxWindow) _obj, TClass(wxString) str_id );
-TClass(wxBitmapButton) wxXmlResource_GetBitmapButton( TSelf(wxWindow) _obj, TClass(wxString) str_id );
-TClass(wxButton) wxXmlResource_GetButton( TSelf(wxWindow) _obj, TClass(wxString) str_id );
-TClass(wxCalendarCtrl) wxXmlResource_GetCalendarCtrl( TSelf(wxWindow) _obj, TClass(wxString) str_id );
-TClass(wxCheckBox) wxXmlResource_GetCheckBox( TSelf(wxWindow) _obj, TClass(wxString) str_id );
-TClass(wxCheckListBox) wxXmlResource_GetCheckListBox( TSelf(wxWindow) _obj, TClass(wxString) str_id );
-TClass(wxChoice) wxXmlResource_GetChoice( TSelf(wxWindow) _obj, TClass(wxString) str_id );
-TClass(wxComboBox) wxXmlResource_GetComboBox( TSelf(wxWindow) _obj, TClass(wxString) str_id );
-TClass(wxGauge) wxXmlResource_GetGauge( TSelf(wxWindow) _obj, TClass(wxString) str_id );
-TClass(wxGrid) wxXmlResource_GetGrid( TSelf(wxWindow) _obj, TClass(wxString) str_id );
-TClass(wxHtmlWindow) wxXmlResource_GetHtmlWindow( TSelf(wxWindow) _obj, TClass(wxString) str_id );
-TClass(wxListBox) wxXmlResource_GetListBox( TSelf(wxWindow) _obj, TClass(wxString) str_id );
-TClass(wxListCtrl) wxXmlResource_GetListCtrl( TSelf(wxWindow) _obj, TClass(wxString) str_id );
-TClass(wxMDIChildFrame) wxXmlResource_GetMDIChildFrame( TSelf(wxWindow) _obj, TClass(wxString) str_id );
-TClass(wxMDIParentFrame) wxXmlResource_GetMDIParentFrame( TSelf(wxWindow) _obj, TClass(wxString) str_id );
-TClass(wxMenu) wxXmlResource_GetMenu( TSelf(wxWindow) _obj, TClass(wxString) str_id );
-TClass(wxMenuBar) wxXmlResource_GetMenuBar( TSelf(wxWindow) _obj, TClass(wxString) str_id );
-TClass(wxMenuItem) wxXmlResource_GetMenuItem( TSelf(wxWindow) _obj, TClass(wxString) str_id );
-TClass(wxNotebook) wxXmlResource_GetNotebook( TSelf(wxWindow) _obj, TClass(wxString) str_id );
-TClass(wxPanel) wxXmlResource_GetPanel( TSelf(wxWindow) _obj, TClass(wxString) str_id );
-TClass(wxRadioButton) wxXmlResource_GetRadioButton( TSelf(wxWindow) _obj, TClass(wxString) str_id );
-TClass(wxRadioBox) wxXmlResource_GetRadioBox( TSelf(wxWindow) _obj, TClass(wxString) str_id );
-TClass(wxScrollBar) wxXmlResource_GetScrollBar( TSelf(wxWindow) _obj, TClass(wxString) str_id );
-TClass(wxScrolledWindow) wxXmlResource_GetScrolledWindow( TSelf(wxWindow) _obj, TClass(wxString) str_id );
-TClass(wxSlider) wxXmlResource_GetSlider( TSelf(wxWindow) _obj, TClass(wxString) str_id );
-TClass(wxSpinButton) wxXmlResource_GetSpinButton( TSelf(wxWindow) _obj, TClass(wxString) str_id );
-TClass(wxSpinCtrl) wxXmlResource_GetSpinCtrl( TSelf(wxWindow) _obj, TClass(wxString) str_id );
-TClass(wxSplitterWindow) wxXmlResource_GetSplitterWindow( TSelf(wxWindow) _obj, TClass(wxString) str_id );
-TClass(wxStaticBitmap) wxXmlResource_GetStaticBitmap( TSelf(wxWindow) _obj, TClass(wxString) str_id );
-TClass(wxStaticBox) wxXmlResource_GetStaticBox( TSelf(wxWindow) _obj, TClass(wxString) str_id );
-TClass(wxStaticLine) wxXmlResource_GetStaticLine( TSelf(wxWindow) _obj, TClass(wxString) str_id );
-TClass(wxStaticText) wxXmlResource_GetStaticText( TSelf(wxWindow) _obj, TClass(wxString) str_id );
-TClass(wxTextCtrl) wxXmlResource_GetTextCtrl( TSelf(wxWindow) _obj, TClass(wxString) str_id );
-TClass(wxTreeCtrl) wxXmlResource_GetTreeCtrl( TSelf(wxWindow) _obj, TClass(wxString) str_id );
-TBool      wxXmlResource_Unload( TSelf(wxXmlResource) _obj, TClass(wxString) filemask );
-TClass(wxXmlResource) wxXmlResource_Set( TSelf(wxXmlResource) _obj, TSelf(wxXmlResource) res );
-void       wxXmlResource_SetDomain( TSelf(wxXmlResource) _obj, TClass(wxString) domain );
-void       wxXmlResource_SetFlags( TSelf(wxXmlResource) _obj, int flags );
-
-/* wxXmlResourceHandler */
-TClassDefExtend(wxXmlResourceHandler,wxObject)
-
-/* wxZipInputStream */
-TClassDefExtend(wxZipInputStream,wxInputStream)
-
-/* wxZlibInputStream */
-TClassDefExtend(wxZlibInputStream,wxFilterInputStream)
-
-/* wxZlibOutputStream */
-TClassDefExtend(wxZlibOutputStream,wxFilterOutputStream)
-
-
-#endif /* WXC_GLUE_H */
-
− src/include/wxc_types.h
@@ -1,176 +0,0 @@-#ifndef WXC_TYPES_H
-#define WXC_TYPES_H
-
-/* Types: we use standard pre-processor definitions to add more
-   type information to the C signatures. These 'types' can be
-   either read by other tools to automatically generate a marshalling
-   layer for foreign languages, or you can define the macros in such
-   a way that they contain more type information while compiling the
-   library itself. 
-   
-   All macros start with "T" to avoid clashes with other libraries. 
-*/
-#undef TClassDef
-#undef TClassDefExtend
-#undef TChar
-#undef TUInt8
-#undef TInt64
-#undef TBool
-#undef TBoolInt
-#undef TClass
-#undef TSelf
-#undef TClassRef      
-#undef TClosureFun
-#undef TString
-#undef TStringVoid
-#undef TStringOut
-#undef TStringOutVoid
-#undef TStringLen
-#undef TPoint
-#undef TPointLong
-#undef TPointOut
-#undef TPointOutVoid
-#undef TSize
-#undef TSizeOut
-#undef TSizeOutVoid
-#undef TVector
-#undef TVectorOut
-#undef TVectorOutVoid
-#undef TRect
-#undef TRectOut
-#undef TRectOutVoid
-#undef TArrayString
-#undef TArrayInt
-#undef TArrayObject
-#undef TArrayLen
-#undef TArrayIntOut
-#undef TArrayIntOutVoid
-#undef TArrayStringOut
-#undef TArrayStringOutVoid
-#undef TArrayObjectOut
-#undef TArrayObjectOutVoid
-#undef TColorRGB
-
-/* Class definitions */
-#define TClassDef(tp)     
-#define TClassDefExtend(tp,parent)
-
-/* Types that can be 'untyped' or C++ typed */
-#ifdef WXC_USE_TYPED_INTERFACE
-# define TClass(tp)     tp*
-# define TBool          bool
-# define TClosureFun    ClosureFun
-#else
-# define TClass(tp)     void*
-# define TBool          int
-# define TClosureFun    void*
-#endif
-
-/* basic types */
-#ifdef wxUSE_UNICODE
-#define TChar             wchar_t
-#else
-#define TChar             char
-#endif
-
-/* 64 bit integer */
-#define TInt64            int64_t
-
-/* unsigned integer */
-#define TUInt             uint32_t
-
-/* 8 bit unsigned integer */
-#define TUInt8            uint8_t
-
-/* 32 bit unsigned integer */
-#define TUInt32           uint32_t
-
-/* boolean as int */
-#define TBoolInt          int
-
-/* classes. 
-   "Ref" is used for classes assigned by reference.
-   "Self" is used for the 'this' or 'self' pointer.
-*/
-#define TSelf(tp)         TClass(tp)
-#define TClassRef(tp)     TClass(tp)
-
-/* strings */
-#define TString           TChar*
-#define TStringOut        TChar*
-#define TStringLen        int
-
-#define TByteData           char*
-#define TByteString         TByteData* d, int n
-#define TByteStringLazy     TByteData* d, int n
-#define TByteStringOut      TByteData
-#define TByteStringLazyOut  TByteData
-#define TByteStringLen      int
-
-/* structures */
-#define TPoint(x,y)       int x,  int y
-#define TPointOut(x,y)    int* x, int* y
-#define TVector(x,y)      int x,  int y
-#define TVectorOut(x,y)   int* x, int* y
-#define TSize(w,h)        int w,  int h
-#define TSizeOut(w,h)     int* w, int* h
-#define TRect(x,y,w,h)    int x,  int y,  int w,  int h
-#define TRectOut(x,y,w,h) int* x, int* y, int* w, int* h
-#define TColorRGB(r,g,b)  TUInt8 r, TUInt8 g, TUInt8 b
-
-/* arrays */
-#define TArrayLen               int
-#define TArrayIntOut            intptr_t*
-#define TArrayStringOut         TString*
-#define TArrayObjectOut(tp)     TClass(tp)*
-
-#define TArrayString(n,p)       int n, TString* p
-#define TArrayInt(n,p)          int n, int* p
-#define TArrayObject(n,tp,p)    int n, TClass(tp)* p
-
-/* Define "Void" variants for void* declared signatures.
-   we only use this for compatibility with the original ewxw_glue.h */
-#ifdef WXC_USE_TYPED_INTERFACE
-# define TStringVoid             TString
-# define TStringOutVoid          TStringOut
-# define TPointOutVoid(x,y)      TPointOut(x,y)
-# define TVectorOutVoid(x,y)     TVectorOut(x,y)
-# define TSizeOutVoid(w,h)       TSizeOut(w,h)
-# define TRectOutVoid(x,y,w,h)   TRectOut(x,y,w,h)
-# define TArrayIntOutVoid        TArrayIntOut
-# define TArrayStringOutVoid     TArrayStringOut
-# define TArrayObjectOutVoid(tp) TArrayObjectOut(tp)
-#else
-# define TStringVoid           void*
-# define TStringOutVoid        void*
-# define TPointOutVoid(x,y)    void* x, void* y
-# define TVectorOutVoid(x,y)   void* x, void* y
-# define TSizeOutVoid(w,h)     void* w, void* h
-# define TRectOutVoid(x,y,w,h) void* x, void* y, void* w, void* h
-# define TArrayIntOutVoid        void*
-# define TArrayStringOutVoid     void*
-# define TArrayObjectOutVoid(tp) void*
-#endif
-
-/* Define "Long" variants for long declared signatures.
-   we only use this for compatibility with the original ewxw_glue.h */
-#define TPointLong(x,y)       long x,  long y
-#define TPointOutLong(x,y)    long* x, long* y
-#define TVectorLong(x,y)      long x,  long y
-#define TVectorOutLong(x,y)   long* x, long* y
-#define TSizeLong(w,h)        long w,  long h
-#define TSizeOutLong(w,h)     long* w, long* h
-#define TRectLong(x,y,w,h)    long x,  long y,  long w,  long h
-#define TRectOutLong(x,y,w,h) long* x, long* y, long* w, long* h
-
-/* Define "Double" variants for long declared signatures. */
-#define TPointDouble(x,y)       double x,  double y
-#define TPointOutDouble(x,y)    double* x, double* y
-#define TVectorDouble(w,h)      double x,  double y
-#define TVectorOutDouble(w,h)   double* x, double* y
-#define TRectDouble(x,y,w,h)    double x,  double y,  double w,  double h
-#define TRectOutDouble(x,y,w,h) double* x, double* y, double* w, double* h
-#define TSizeDouble(w,h)        double x,  double y
-#define TSizeOutDouble(w,h)     double* x, double* y
-
-#endif /* WXC_TYPES_H */
wxcore.cabal view
@@ -1,213 +1,103 @@-name:         wxcore-version:      0.12.1.7-license:      LGPL-license-file: LICENSE-author:       Daan Leijen-maintainer:   wxhaskell-devel@lists.sourceforge.net-category:     GUI, User interfaces-synopsis:     wxHaskell core-description:-  wxHaskell is a portable and native GUI library for Haskell. It is-  built on top of wxWidgets, a comprehensive C++ library that is-  portable across all major GUI platforms, including GTK, Windows,-  X11, and MacOS X. This version works with wxWidgets 2.8 only.-homepage:     http://haskell.org/haskellwiki/WxHaskell--cabal-version: >= 1.2-build-type:    Custom--extra-tmp-files:-  src/haskell/Graphics/UI/WXCore/WxcClassInfo.hs-  src/haskell/Graphics/UI/WXCore/WxcClassTypes.hs-  src/haskell/Graphics/UI/WXCore/WxcClasses.hs-  src/haskell/Graphics/UI/WXCore/WxcClassesAL.hs-  src/haskell/Graphics/UI/WXCore/WxcClassesMZ.hs-  src/haskell/Graphics/UI/WXCore/WxcDefs.hs--extra-source-files:-  src/cpp/stc_gen.cpp-  src/eiffel/wx_defs.e-  src/eiffel/wxc_defs.e-  src/eiffel/stc.e-  src/include/db.h-  src/include/dragimage.h-  src/include/eljgrid.h-  src/include/ewxw_def.h-  src/include/graphicscontext.h-  src/include/managed.h-  src/include/mediactrl.h-  src/include/previewframe.h-  src/include/printout.h-  src/include/sound.h-  src/include/stc.h-  src/include/stc_gen.h-  src/include/textstream.h-  src/include/wrapper.h-  src/include/wxc.h-  src/include/wxc_glue.h-  src/include/wxc_types.h--flag splitBase-  description:  use new split base-  default:      True--library-  hs-source-dirs:-    src/haskell--  include-dirs:-    src/include-  -  c-sources:-    src/cpp/apppath.cpp-    src/cpp/db.cpp-    src/cpp/dragimage.cpp-    src/cpp/eljaccelerator.cpp-    src/cpp/eljartprov.cpp-    src/cpp/eljbitmap.cpp-    src/cpp/eljbrush.cpp-    src/cpp/eljbusyinfo.cpp-    src/cpp/eljbutton.cpp-    src/cpp/eljcalendarctrl.cpp-    src/cpp/eljcaret.cpp-    src/cpp/eljcheckbox.cpp-    src/cpp/eljchecklistbox.cpp-    src/cpp/eljchoice.cpp-    src/cpp/eljclipboard.cpp-    src/cpp/eljcoldata.cpp-    src/cpp/eljcolour.cpp-    src/cpp/eljcolourdlg.cpp-    src/cpp/eljcombobox.cpp-    src/cpp/eljconfigbase.cpp-    src/cpp/eljcontrol.cpp-    src/cpp/eljctxhelp.cpp-    src/cpp/eljcursor.cpp-    src/cpp/eljdataformat.cpp-    src/cpp/eljdatetime.cpp-    src/cpp/eljdc.cpp-    src/cpp/eljdcsvg.cpp-    src/cpp/eljdialog.cpp-    src/cpp/eljdirdlg.cpp-    src/cpp/eljdnd.cpp-    src/cpp/eljdrawing.cpp-    src/cpp/eljevent.cpp-    src/cpp/eljfiledialog.cpp-    src/cpp/eljfilehist.cpp-    src/cpp/eljfindrepldlg.cpp-    src/cpp/eljfont.cpp-    src/cpp/eljfontdata.cpp-    src/cpp/eljfontdlg.cpp-    src/cpp/eljframe.cpp-    src/cpp/eljgauge.cpp-    src/cpp/eljgrid.cpp-    src/cpp/eljhelpcontroller.cpp-    src/cpp/eljicnbndl.cpp-    src/cpp/eljicon.cpp-    src/cpp/eljimage.cpp-    src/cpp/eljimagelist.cpp-    src/cpp/eljlayoutconstraints.cpp-    src/cpp/eljlistbox.cpp-    src/cpp/eljlistctrl.cpp-    src/cpp/eljlocale.cpp-    src/cpp/eljlog.cpp-    src/cpp/eljmask.cpp-    src/cpp/eljmdi.cpp-    src/cpp/eljmenu.cpp-    src/cpp/eljmenubar.cpp-    src/cpp/eljmessagedialog.cpp-    src/cpp/eljmime.cpp-    src/cpp/eljminiframe.cpp-    src/cpp/eljnotebook.cpp-    src/cpp/eljpalette.cpp-    src/cpp/eljpanel.cpp-    src/cpp/eljpen.cpp-    src/cpp/eljprintdlg.cpp-    src/cpp/eljprinting.cpp-    src/cpp/eljprocess.cpp-    src/cpp/eljradiobox.cpp-    src/cpp/eljradiobutton.cpp-    src/cpp/eljrc.cpp-    src/cpp/eljregion.cpp-    src/cpp/eljregioniter.cpp-    src/cpp/eljsash.cpp-    src/cpp/eljscrollbar.cpp-    src/cpp/eljscrolledwindow.cpp-    src/cpp/eljsingleinst.cpp-    src/cpp/eljsizer.cpp-    src/cpp/eljslider.cpp-    src/cpp/eljspinctrl.cpp-    src/cpp/eljsplitterwindow.cpp-    src/cpp/eljstaticbox.cpp-    src/cpp/eljstaticline.cpp-    src/cpp/eljstatictext.cpp-    src/cpp/eljstatusbar.cpp-    src/cpp/eljsystemsettings.cpp-    src/cpp/eljtextctrl.cpp-    src/cpp/eljtimer.cpp-    src/cpp/eljtipwnd.cpp-    src/cpp/eljtoolbar.cpp-    src/cpp/eljvalidator.cpp-    src/cpp/eljwindow.cpp-    src/cpp/eljwizard.cpp-    src/cpp/ewxw_main.cpp-    src/cpp/extra.cpp-    src/cpp/graphicscontext.cpp-    src/cpp/image.cpp-    src/cpp/managed.cpp-    src/cpp/mediactrl.cpp-    src/cpp/previewframe.cpp-    src/cpp/printout.cpp-    src/cpp/sckaddr.cpp-    src/cpp/socket.cpp-    src/cpp/sound.cpp-    src/cpp/stc.cpp-    src/cpp/std.cpp-    src/cpp/taskbaricon.cpp-    src/cpp/textstream.cpp-    src/cpp/treectrl.cpp-    src/cpp/wrapper.cpp--  exposed-modules:-    Graphics.UI.WXCore-    Graphics.UI.WXCore.Controls-    Graphics.UI.WXCore.Db-    Graphics.UI.WXCore.Defines-    Graphics.UI.WXCore.Dialogs-    Graphics.UI.WXCore.DragAndDrop-    Graphics.UI.WXCore.Draw-    Graphics.UI.WXCore.Events-    Graphics.UI.WXCore.Frame-    Graphics.UI.WXCore.Image-    Graphics.UI.WXCore.Layout-    Graphics.UI.WXCore.Print-    Graphics.UI.WXCore.Process-    Graphics.UI.WXCore.Types-    Graphics.UI.WXCore.WxcClassInfo-    Graphics.UI.WXCore.WxcClassTypes-    Graphics.UI.WXCore.WxcClasses-    Graphics.UI.WXCore.WxcClassesAL-    Graphics.UI.WXCore.WxcClassesMZ-    Graphics.UI.WXCore.WxcDefs-    Graphics.UI.WXCore.WxcObject-    Graphics.UI.WXCore.WxcTypes--  build-depends:-    bytestring,-    filepath,-    parsec,-    stm,-    wxdirect >= 0.12.1.3,-    directory,-    old-time,-    time--  if flag(splitBase)-    build-depends:-      array >= 0.2 && < 0.4,-      base >= 4 && < 5,-      containers >= 0.2 && < 0.5-  else-    build-depends:-      array >= 0.1 && < 0.3,-      base >= 3 && < 4,-      containers >= 0.1 && < 0.3+name:         wxcore
+version:      0.92.3.0
+license:      OtherLicense
+license-file: LICENSE
+author:       Daan Leijen
+maintainer:   wxhaskell-devel@lists.sourceforge.net
+category:     GUI, User interfaces
+synopsis:     wxHaskell core
+description:
+  wxHaskell is a portable and native GUI library for Haskell. It is
+  built on top of wxWidgets, a comprehensive C++ library that is
+  portable across all major GUI platforms, including GTK, Windows,
+  X11, and MacOS X. This version works with wxWidgets 2.9 and 3.0.
+
+  Distributed under the WXWINDOWS LIBRARY LICENSE. Please see
+  LICENSE file, but note that this is essentially LGPL with an
+  exception allowing binary distribution of proprietary software.
+  This is the same license as wxWidgets itself uses.
+homepage:     https://wiki.haskell.org/WxHaskell
+bug-reports:  http://sourceforge.net/p/wxhaskell/bugs/
+
+cabal-version: >= 1.23
+build-type:    Custom
+
+extra-tmp-files:
+  src/haskell/Graphics/UI/WXCore/WxcClassInfo.hs
+  src/haskell/Graphics/UI/WXCore/WxcClassTypes.hs
+  src/haskell/Graphics/UI/WXCore/WxcClasses.hs
+  src/haskell/Graphics/UI/WXCore/WxcClassesAL.hs
+  src/haskell/Graphics/UI/WXCore/WxcClassesMZ.hs
+
+flag splitBase
+  description:  use new split base
+  default:      True
+
+library
+  default-language:
+    Haskell2010
+
+  hs-source-dirs:
+    src/haskell
+
+  exposed-modules:
+    Graphics.UI.WXCore
+    Graphics.UI.WXCore.Controls
+    Graphics.UI.WXCore.Defines
+    Graphics.UI.WXCore.Dialogs
+    Graphics.UI.WXCore.DragAndDrop
+    Graphics.UI.WXCore.Draw
+    Graphics.UI.WXCore.Events
+    Graphics.UI.WXCore.Frame
+    Graphics.UI.WXCore.Image
+    Graphics.UI.WXCore.Layout
+    Graphics.UI.WXCore.OpenGL
+    Graphics.UI.WXCore.Print
+    Graphics.UI.WXCore.Process
+    Graphics.UI.WXCore.Types
+    Graphics.UI.WXCore.WxcClassInfo
+    Graphics.UI.WXCore.WxcClassTypes
+    Graphics.UI.WXCore.WxcClasses
+    Graphics.UI.WXCore.WxcClassesAL
+    Graphics.UI.WXCore.WxcClassesMZ
+    Graphics.UI.WXCore.WxcDefs
+    Graphics.UI.WXCore.WxcObject
+    Graphics.UI.WXCore.WxcTypes
+
+  other-modules:
+    Graphics.UI.WXCore.GHCiSupport
+
+  frameworks:
+    Carbon
+
+  build-depends:
+    bytestring,
+    filepath,
+    parsec,
+    stm,
+    wxc >= 0.92,
+    wxdirect >= 0.91,
+    directory,
+    time
+
+  if flag(splitBase)
+    build-depends:
+      array >= 0.2 && < 0.6,
+      base >= 4 && < 5,
+      containers >= 0.2 && < 0.6
+  else
+    build-depends:
+      array >= 0.1 && < 0.3,
+      base >= 3 && < 4,
+      containers >= 0.1 && < 0.3
+
+  ghc-options: -Wall
+
+
+custom-setup
+  setup-depends:
+    base,
+    Cabal,
+    process,
+    directory,
+    filepath