Skip to content

Commit

Permalink
[wxhaskell-from-cvs @ 2003-07-13 21:20:40 by dleijen]
Browse files Browse the repository at this point in the history
initial import

darcs-hash:20030713212059-deb31-b375476dcba4903ebfa0f20dc03e16fc613005f1.gz
  • Loading branch information
dleijen committed Jul 13, 2003
1 parent dda38a6 commit e608348
Show file tree
Hide file tree
Showing 12 changed files with 4,902 additions and 0 deletions.
16 changes: 16 additions & 0 deletions wxc/src/ewxw/eljdrawing.cpp
@@ -0,0 +1,16 @@
#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);
}

}

0 comments on commit e608348

Please sign in to comment.