Skip to content
Commits on Apr 2, 2013
  1. Merge pull request #12 from nickela/master

    Fixed image creation from bytestring bug
Commits on Jan 23, 2013
  1. Added missing API to wxc:

    Dmitriy Nikitinskiy committed
    wxGrid: cell spans, cell renderers (numeric, auto string wrapping)
    wxScrolledWindow: show/hide scrollbars
    wxSplitterWindow: control sash gravity
  2. fixed imageCreateFromLazyByteString, peek from CString with specified…

    Dmitriy Nikitinskiy committed
    … length,
    to avoid recognizing zeroes in data as NULL-termination in string
Commits on Aug 11, 2012
  1. @yihuang

    Fix cpp type mismatch.

    yihuang committed
Commits on Apr 22, 2012
  1. Add support for virtual ListCtrl, and a few other unwrapped ListCtrl …

    Added methods: listCtrlGetItemFont, listCtrlIsVirtual, listCtrlRefreshItem, listCtrlRefreshItems.
    Added constants: wxLC_VIRTUAL, wxLC_MASK_TYPE, wxLC_MASK_ALIGN, wxLC_MASK_SORT.
    Removed deprecated constant wxLC_USER_TEXT.
Commits on Apr 20, 2012
  1. Fix behaviour of textEntry and entry controls on OSX.

    See #1 (comment)
    It seems that using the wxTE_RICH attribute in textEntry and entry causes a multi-line text control style to be created by default on OS X. This is new behaviour on wxWidgets 2.9.x.
    This patch makes the wxTE_RICH and wxTE_RICH2 attribute settings dependent on the host OS (only sets them on Windows)
    This patch also fixes bugs associated with the use of textCtrlClear followed by textCtrlWriteText, reported in the same issue.
    Note that this does not fix the problem that the textColor attribute is not respected.
Commits on Apr 18, 2012
  1. Fix minor typos in error message when required wxWidgets version is n…

    …ot available.
    Issue reported by Henk-Jan van Tuyl (
Commits on Apr 14, 2012
  1. Fix error building on some 32 bit targets.

    Ignore-this: 212d1935582b619313032033a20834d
    Apply patch due to Heinrich Apfelmus ( His description
    attached below:
    "I just tripped over a bug in the  Setup.hs  belonging to  wxc  that
     prevented me from compiling wxHaskell with 32bit architecture.
     The problem is the following: in the function  linkSharedLib , the
     function  runProgram  is commented out and the function  system  is used
     instead. This is not correct because  gcc  may (and in my case: does)
     carry additional command line options! (Besides, the verbose output is
     Apparently, this was done because the   runProgram  didn't work for some
     reason. The reason is that some command line options are actually two
     arguments. In particular, setting the output file via
       "-o " ++ out_dir </> sharedLibName ver basename,
     is not correct, the right way to go about it are two arguments
       "-o", out_dir </> sharedLibName ver basename,
     Same for the "-install_name" option. Four lines need to be changed in
     the  linkCxxOpts  file, then  runProgram  will work."
Commits on Apr 13, 2012
  1. @kowey

    Modernise System.Exit import in wxc.

    kowey committed
    Ignore-this: 2bd4fbea71cf7f92e810074bb122b3da
    Needed to build with GHC 7.4.1
  2. Bump version to 0.90 for wxWidgets 2.9 support.

    Ignore-this: 7e343352397703f721b2cddf41ddd1da
    To allow for reasonably long co-existance of wxHaskell branches supporting
    wxWidgets 2.8.x and wxWidgets 2.9.x, I have bumped the version for wxWidgets 2.9
    quite considerably.
    This will allow natural evolution of the wxWidgets 2.8 supporting codeline
    without excessively constraining version number bumps.
    It is assumed that the wxWidgets 2.8 supporting versions have been branched
    into new directories (some loss of history, unfortunately, but it's the
    price for not creating a new repository).
Commits on Apr 3, 2012
  1. Last missed patches.

    Ignore-this: 14a684c8eda33fe3f77bd2af2bba6f72
    Bump version dependencies on wxcore.
    Fix a some undefined event cases in eljevent.cpp.
Commits on Mar 25, 2012
  1. Missed PropertyGrid support reinstated.

    Ignore-this: ead0b358bb7638a3cce5facacb791af8
  2. OpenGL Support.

    Ignore-this: 7db5626d1959563a1dba5911fe895ed2
    This includes the following patches from Dave Tapley's branch:
    Wed Dec 14 17:09:34 GMT 2011
      * Merge in patch to return OpenGL support
      This resolves conflicts primarily between the patches:
      "Reinstate OpenGL support for wxWidgets 2.9."
      "Use wx-config to generate all used libraries"
      "Move compilation of C++ code to new wxc project and use a shared library for it"
      "Missed modified files in previous patch"
    Wed Nov 16 09:42:39 GMT 2011
      * Reinstate OpenGL support for wxWidgets 2.9.
      OpenGL support compiles and links (at least for wxWidgets 2.9 on Ubuntu
      against Dave Tapley's repo), but sample code doesn't work yet - investigating
      whether this is due to wx API changes or a problem in wxcore OpenGL support.
  3. PropertyGrid support.

    Ignore-this: fba1166bac06e76782638a974d64147e
    Merge PropertyGrid support from Dave Tapley's branch. This contains items
    from the following patches:
    Sat Nov 12 20:46:48 GMT 2011
      * Wrap wxPGProperty_SetHelpString
    Fri Nov 11 18:23:11 GMT 2011
      * Wrapped wxPropertyGrid DisableProperty and added usage to sample
    Tue Oct  4 00:33:05 BST 2011
      * Make PropertyGrid sample more user friendly
    Mon Oct  3 23:38:07 BST 2011
      * Make the PropertyGrid example a little bigger
    Mon Oct  3 23:37:44 BST 2011
      * Wrapped wxPropertyCategory
    Mon Oct  3 22:47:48 BST 2011
      * Clean up the wxPropertyGrid sample
    Sat Oct  1 22:25:15 BST 2011
      * Print out the parse error when one is encountered running wxdirect
    Sat Oct  1 22:24:32 BST 2011
      * Wrap extra PGProperty subclasses
    Fri Sep 30 02:49:11 BST 2011
      * Set label, name and value when creating PGProperty subclasses
      Ideally I'd keep the default PGProperty constructors and wrap the Set.. functions,
      however I tried this and SetValue doesn't play nicely (throwing a run-time assertion
      about the value being a user defined one, which is confusing).
    Thu Sep 29 23:40:35 BST 2011
      * Updated PropertyGrid sample
    Thu Sep 29 22:45:28 BST 2011
      * Wrapped extra code for wxPropertyGrid, some refactoring
    Thu Sep 22 22:22:30 BST 2011
      * Fix for Prelude.chr error using wxString in wx-2.9
      This is a fix for the problem reported here:
    Thu Sep 22 22:21:57 BST 2011
      * Clearer logging for the PropertyGrid sample code
    Thu Sep 22 22:20:46 BST 2011
      * Added wxEVT_PG_CHANGED and test code
    Thu Sep 22 22:13:11 BST 2011
      * Fix segfault with wxPGProperty caused returning local wxString
      The initial implementation of wxPGProperty was causing a segfault,
      after comparing my approach to that used by existing methods I noticed
      that they all return wxString* (i.e. a pointer and not a copy) and use
      pattern [1], after modifying wxPGProperty to do the same the segfault
      went away.
          wxString *result = new wxString();
          *result = self->FuncWhichReturnswxString();
          return result;
    Tue Aug 30 23:42:08 BST 2011
      * Added wxStringProperty and wxPropertyGrid_Append
      I'm also updated the PropertyGrid.hs sample, to create a couple of wxStringProperty's and
      wxPropertyGrid_Append them; and updated the highlighted call back to print the label name
      when an item is hovered over, unfortunately this causes a segfault presently.
    Fri Aug 26 06:25:25 BST 2011
      * Added wxPropertyGridEvent_HasProperty, made PropertyGridHighlighted have a Maybe PGProperty
    Fri Aug 26 01:01:27 BST 2011
      * Wrapping wxPropertyGrid
  4. Misc patches removing wxWidgets < 2.9 support

    Ignore-this: e5dff79eb4725668e456b6e40cd1b79
    Minor tidy up of source code to remove support for wxWidgets 2.8 (mainly
    #ifdefs, but some type safety changes brought in with wxWidgets 2.9)
Commits on Mar 18, 2012
  1. Enable wxc library to be fund on OS X Lion.

    Ignore-this: 3ac42cdee1742611b90c275896c40ed6
    Merge patches from Eric Kow's OS X Lion support branch. Here we add absolute path
    to the wxc dylib install directory.
Commits on Mar 14, 2012
  1. Fixed wxc build.

    Ignore-this: 305cffb93b886526562b24ed85af3cfb
    Removed problematic WebKit events (based on Eric Kow, Nov 3rd 2011)
    Fixed merge error in Setup.hs using the '-undefined' linker flag on OS X.
Commits on Mar 11, 2012
  1. Branch wxc library out of wxcore.

    Ignore-this: cf47c90ff869758823e19fcfd3f1aa20
    Start of merging changes from Dave Tapley's repo for wxWidgets 2.9 support.
    Because the branches are so far out of sync, changes are mainly being merged manually.
    The following commit comments from Dave are included here:
    Mon Dec 19 21:56:17 GMT 2011
      * Added missing stc_gen.cpp file to extra-source-files
      he file stc_gen.cpp is unique at the moment in that it is the only .cpp file which
      is included in another .cpp file, thus it isn't included in x-dll-sources (because it
      isn't a separate compilation unit), but it still needs to be put in an sdist tarball.
    on Dec 19 20:47:15 GMT 2011
      * Added cpp files used in wxc to extra-source-files
      Installing from and sdist tarball would fail without this addition
      because the cpp files wouldn't be present in it.
      The duplicated list in wxc.cabal (for extra-source-files and x-dll-sources) is
      a bit unpleasant, but I feel it is important to make the distinction.
    Wed Dec 14 17:06:18 GMT 2011
      * Update path given to wxdirect to reflect changes made in other patch
      The wxc C++ files were moved to another project in the patch:
      "Move compilation of C++ code to new wxc project and use a shared library for it"
    Wed Dec 14 07:11:35 GMT 2011
      * Missed modified files in previous patch
      This is the secord part of the patch "Move compilation of C++ code to new wxc project and use a shared library for it"
      Unfortunately I missed these important files modifications, and darcs was waiting forever when I tried to unrecord or
      amend that patch.
      For further information please see email:
      [wxhaskell-devel] Using a shared library for the C++ in wxhaskell
    Wed Dec 14 06:54:17 GMT 2011
      * Move compilation of C++ code to new wxc project and use a shared library for it
      This substantial architectural
    Wed Nov 16 09:42:39 GMT 2011
      * Reinstate OpenGL support for wxWidgets 2.9.
      OpenGL support compiles and links (at least for wxWidgets 2.9 on Ubuntu
      against Dave Tapley's repo), but sample code doesn't work yet - investigating
      whether this is due to wx API changes or a problem in wxcore OpenGL support.
Commits on Nov 11, 2009
  1. Bump version to, remove unused wxc directory

Commits on Nov 9, 2009
  1. Cabalize wxcore per Brian Lewis

Commits on Sep 30, 2009
  1. Fix for FindReplaceData Issue trying to get the replace string

    Fernando Benavides committed
    Ignore-this: 4c30d412c11b6155a12e4ba4fe27cabf
Commits on May 15, 2009
  1. @shelarcy

    Use wxWidgets 2.8.10 in default when building on Windows.

    shelarcy committed
    Ignore-this: b15bcfeda1d7b4e795668dd29824245f
Commits on Apr 12, 2009
  1. @shelarcy

    Bump version number to

    shelarcy committed
    Ignore-this: d87a5e52d5a887da66f909c762f5d8
Commits on Mar 16, 2009
  1. @shelarcy

    Move reimp.exe to wxc/util.

    shelarcy committed
    Ignore-this: 5d26d2c189796b8a4e91c6418643cd4f
Commits on Mar 13, 2009
  1. @shelarcy

    Add util directory to wxc.

    shelarcy committed
    Ignore-this: b133e073586824e1d9f4e6c57779a06c
    util contains a few files. These are come from Subversion repository at for to sync two repositories.
  2. @shelarcy

    Add socket.cpp and sckaddr.cpp to wxc.

    shelarcy committed
    Ignore-this: a15673b832efc7dc3b7d99544e572b96
    MERGED: add socket/sckaddr
    r25 | snmsts | 2009-01-17 10:33:37 +0900 (Sat, 17 Jan 2009) | 1 line
    from Subversion repository at
Commits on Mar 12, 2009
  1. @shelarcy

    Fix typo in previous Refactor to return wxPoint/wxSize/wxRect class d…

    shelarcy committed
    …irectly patch.
    Ignore-this: 9788064c548976d584252389fb26191d
Commits on Mar 10, 2009
  1. @shelarcy

    Refactor to return wxPoint/wxSize/wxRect class directly in wxc.

    shelarcy committed
    Ignore-this: e414ff89344e856a3f61a0e6f318c427
    We accept to return wxPoint, wxSize and wxRect class directly in wxc, now.
    We always used passing int* pointer arguments to return Point, Size and Rect
    type, previously. But this convention is complex. We sometimes mistook to
    return wxPoint, wxSize and wxRect. Its mistake causes problems.
    So, we accept to return wxPoint, wxSize and wxRect now. And we refactor some
    old code to return these types, to show we can return these types now.
Commits on Mar 5, 2009
  1. @shelarcy

    Bump version number to

    shelarcy committed
    Ignore-this: f13691126a6cf23247b66e55488065dd
  2. @shelarcy

    Fix: previous Refactor to use C++ bool directly patch causes build er…

    shelarcy committed
    …ror on Linux.
    Ignore-this: 7059932f64f20392ceee48d255d31045
Commits on Feb 28, 2009
  1. @shelarcy

    Refactor to use C++ bool directoly, instead of casting to int type an…

    shelarcy committed
    …d converting to bool type.
      We cast int type where wxWidgets' method returns bool type, and
      we convert int to bool where wxWidgets method's argument is bool.
      But some new wxc code uses bool type directly. This causes
      So, we changed to use bool type directly everwhere in wxc code.
      We hope this change avoid to occur problem and fixes a few bugs.
Commits on Feb 27, 2009
  1. @shelarcy

    Change version number from 0.11.1 to

    shelarcy committed
    Ignore-this: c6772c8eac4bd552702e469b76a3101a
Commits on Jan 15, 2009
  1. @shelarcy

    Fix: managed.cpp causes problem on Linux (Debian and Ubuntu) platform.

    shelarcy committed
    MERGED: manage to run managed.cpp on ubuntu
    r21 | snmsts | 2009-01-10 05:49:49 +0900 (Sat, 10  1 2009)
    from Subversion repository at
    This change probably fixes #1924535.
    (Note: This page isn't English page. This page is written in Japanese.)
Commits on Jan 13, 2009
  1. @shelarcy

    Add int / C++ bool conversion function in wxc.

    shelarcy committed
    Ignore-this: 83a08a3687437074e79f8c8da12c1626
  2. @shelarcy

    Remove unused eljtreectrl.cpp.

    shelarcy committed
    Ignore-this: a64b576e93152ebe3474c368fcfc03e9
Something went wrong with that request. Please try again.