packages feed

wxc 0.90.0.2 → 0.90.0.3

raw patch · 4 files changed

+9/−3 lines, 4 filessetup-changed

Files

Setup.hs view
@@ -74,8 +74,8 @@       _       -> readProcess "wx-config" ["--version=" ++ wxRequiredVersion, "--version-full"] ""
 
     if wxRequiredVersion `isPrefixOf` wxVersion 
-      then putStrLn ("Configuring wxc to build against wx " ++ wxVersion)
-      else error ("This version of wxcore requires wx " ++ wxRequiredVersion ++ " to be available")
+      then putStrLn ("Configuring wxc to build against wxWidgets " ++ wxVersion)
+      else error ("This version of wxc requires wxWidgets " ++ wxRequiredVersion ++ " to be available")
 
     -- The Windows port of wx-config doesn't let you specify a version (yet)
     output <- case buildOS of
src/cpp/eljtextctrl.cpp view
@@ -19,6 +19,11 @@ {
 	self->SetValue(*value);
 }
+
+EWXWEXPORT(void,wxTextCtrl_ChangeValue)(wxTextCtrl* self, wxString* value)
+{
+        self->ChangeValue(*value);
+}
 	
 EWXWEXPORT(int,wxTextCtrl_GetLineLength)(wxTextCtrl* self,long lineNo)
 {
src/include/wxc_glue.h view
@@ -4541,6 +4541,7 @@ TBool      wxTextCtrl_CanPaste( TSelf(wxTextCtrl) _obj );
 TBool      wxTextCtrl_CanRedo( TSelf(wxTextCtrl) _obj );
 TBool      wxTextCtrl_CanUndo( TSelf(wxTextCtrl) _obj );
+void       wxTextCtrl_ChangeValue( TSelf(wxTextCtrl) _obj, TClass(wxString) text );
 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 );
wxc.cabal view
@@ -1,5 +1,5 @@ name:         wxc-version:      0.90.0.2+version:      0.90.0.3 license:      OtherLicense license-file: LICENSE maintainer:   wxhaskell-devel@lists.sourceforge.net