From: shelarcy <she...@gm...> - 2007-08-11 15:49:03
|
DarcsURL: C:/home/shelarcy/wxhaskell=0A= MIME-Version: 1.0=0A= Content-Type: multipart/mixed; boundary=3D"=3D_"=0A= =0A= --=3D_=0A= Content-Type: text/plain=0A= Content-Transfer-Encoding: quoted-printable=0A= =0A= Sat Aug 11 21:37:42 =3D93=3D8C=3D8B=3D9E (=3D95W=3D8F=3D80=3D8E=3D9E) = 2007 shelarcy <shelarc=3D=0A= y...@gm...>=0A= * Add (Multi-)MediaCtrl Support=0A= =0A= Sat Aug 11 22:28:34 =3D93=3D8C=3D8B=3D9E (=3D95W=3D8F=3D80=3D8E=3D9E) = 2007 shelarcy <shelarc=3D=0A= y...@gm...>=0A= * Support builing without STC library for wxWidgets 2.6.4=0A= =0A= Sat Aug 11 23:49:59 =3D93=3D8C=3D8B=3D9E (=3D95W=3D8F=3D80=3D8E=3D9E) = 2007 shelarcy <shelarc=3D=0A= y...@gm...>=0A= * Add waveStop function to use Media class' stop method with Wave = (Sound)=0A= =0A= --=3D_=0A= Content-Type: text/x-darcs-patch; = name=3D"add-_multi__mediactrl-support.dpatch"=0A= Content-Transfer-Encoding: quoted-printable=0A= Content-Description: A darcs patch for your repository!=0A= =0A= =0A= New patches:=0A= =0A= [Add (Multi-)MediaCtrl Support=0A= shelarcy <she...@gm...>**20070811123742] {=0A= hunk ./configure 476=0A= - wxwinlibs=3D3D"`$wxconfig --libs std stc --gl-libs | tr '\n' ' '`"=0A= + wxwinlibs=3D3D"`$wxconfig --libs std media stc --gl-libs | tr = '\n' ' '=3D=0A= `"=0A= hunk ./makefile 149=0A= - printout previewframe textstream stc=0A= + mediactrl printout previewframe textstream stc=0A= hunk ./wx/src/Graphics/UI/WX/Controls.hs 64=0A= + -- ** MediaCtrl=0A= + , MediaCtrlBackend(..), MediaCtrl, mediaCtrl, = mediaCtrlWithBackend, =3D=0A= mediaCtrlEx=0A= hunk ./wx/src/Graphics/UI/WX/Controls.hs 77=0A= +import Graphics.UI.WX.Media (Media(..))=0A= hunk ./wx/src/Graphics/UI/WX/Controls.hs 1012=0A= +{-----------------------------------------------------------------------= --=3D=0A= -------=0A= + MediaCtrl=0A= +------------------------------------------------------------------------= --=3D=0A= ------}=0A= +=0A= +-- | Optional back-end for your MediaCtrl.=0A= +-- If you want to know more about back-end, you must see wxWidgets' = Docu=3D=0A= ment.=0A= +-- = <http://www.wxwidgets.org/manuals/stable/wx_wxmediactrl.html#choosing=3D=0A= backendwxmediactrl>=0A= +data MediaCtrlBackend =3D3D=0A= + DirectShow -- ^ Use ActiveMovie\/DirectShow. Default = back=3D=0A= -end on Windows.=0A= + | MediaControlInterface -- ^ Use Media Command Interface. Windows = Only=3D=0A= .=0A= + | WindowsMediaPlayer10 -- ^ Use Windows Media Player 10. Windows = Only=3D=0A= . Require to use wxWidgets 2.8.x.=0A= + | QuickTime -- ^ Use QuickTime. Mac Only. =3D=0A= =0A= + | GStreamer -- ^ Use GStreamer. Unix Only. Require = GStream=3D=0A= er and GStreamer Support.=0A= + | DefaultBackend -- ^ Use default back-end on your platform.=0A= + deriving (Eq,Show)=0A= +=0A= +fromMediaCtrlBackend :: MediaCtrlBackend -> String=0A= +fromMediaCtrlBackend back=0A= + =3D3D case back of=0A= + DirectShow -> wxMEDIABACKEND_DIRECTSHOW=0A= + MediaControlInterface -> wxMEDIABACKEND_MCI=0A= + WindowsMediaPlayer10 -> wxMEDIABACKEND_WMP10=0A= + QuickTime -> wxMEDIABACKEND_QUICKTIME=0A= + GStreamer -> wxMEDIABACKEND_GSTREAMER=0A= + DefaultBackend -> ""=0A= +=0A= +-- FIXME: Change wxDirect to Support STRING type in Eiffel file (*.e)=0A= +-- instead of write definition directory here.=0A= +wxMEDIABACKEND_DIRECTSHOW =3D3D "wxAMMediaBackend"=0A= +wxMEDIABACKEND_MCI =3D3D "wxMCIMediaBackend"=0A= +wxMEDIABACKEND_WMP10 =3D3D "wxWMP10MediaBackend"=0A= +wxMEDIABACKEND_QUICKTIME =3D3D "wxQTMediaBackend"=0A= +wxMEDIABACKEND_GSTREAMER =3D3D "wxGStreamerMediaBackend"=0A= +=0A= +mediaCtrl :: Window a -> [Prop (MediaCtrl ())] -> IO (MediaCtrl ())=0A= +mediaCtrl parent props=0A= + =3D3D mediaCtrlEx parent defaultStyle DefaultBackend props=0A= +=0A= +-- | Create MediaCtrl with choosing back-end. This is useful to select = bac=3D=0A= k-end on=0A= +-- Windows. But if you don't want to cause any effect to other = platforms, =3D=0A= you must=0A= +-- use wxToolkit or #ifdef macro to choose correct function for = platforms.=0A= +-- For example,=0A= +--=0A= +-- > import Graphics.UI.WXCore.Defines=0A= +-- > ...=0A= +-- > m <- case wxToolkit of=0A= +-- > WxMSW -> mediaCtrlWithBackend f MediaControlInterface []=0A= +-- > _ -> mediaCtrl f []=0A= +--=0A= +-- or=0A= +--=0A= +-- > #ifdef mingw32_HOST_OS || mingw32_TARGET_OS=0A= +-- > m <- mediaCtrlWithBackend f MediaControlInterface []=0A= +-- > #else=0A= +-- > m <- mediaCtrl f []=0A= +-- > #endif=0A= +--=0A= +mediaCtrlWithBackend :: Window a -> MediaCtrlBackend -> [Prop = (MediaCtrl (=3D=0A= ))] -> IO (MediaCtrl ())=0A= +mediaCtrlWithBackend parent back props=0A= + =3D3D mediaCtrlEx parent defaultStyle back props=0A= +=0A= +mediaCtrlEx :: Window a -> Style -> MediaCtrlBackend -> [Prop = (MediaCtrl (=3D=0A= ))] -> IO (MediaCtrl ())=0A= +mediaCtrlEx parent style back props=0A= + =3D3D feed2 props style $=0A= + initialContainer $ \id rect -> \props flags ->=0A= + do s <- mediaCtrlCreate parent id "" rect style = (fromMediaCtrlBackend =3D=0A= back) ""=0A= + set s props=0A= + return s=0A= +=0A= +instance Media (MediaCtrl a) where=0A= + play media =3D3D unitIO (mediaCtrlPlay media)=0A= + stop media =3D3D unitIO (mediaCtrlStop media)=0A= +=0A= hunk ./wx/src/Graphics/UI/WX/Media.hs 5=0A= + Copyright : (c) shelarcy 2007=0A= hunk ./wx/src/Graphics/UI/WX/Media.hs 8=0A= - Maintainer : da...@cs...=0A= + Maintainer : she...@gm...=0A= hunk ./wx/src/Graphics/UI/WX/Media.hs 12=0A= - Images, Sounds, and action!=0A= + Images, Media, Sounds, and action!=0A= hunk ./wx/src/Graphics/UI/WX/Media.hs 16=0A= - ( -- * Sound=0A= - sound, play, playLoop, playWait=0A= + ( -- * Media=0A= + Media(..)=0A= + =3D=0A= =0A= + -- * Sound=0A= + , Sound, sound, playLoop, playWait=0A= hunk ./wx/src/Graphics/UI/WX/Media.hs 72=0A= +{--------------------------------------------------------------------=0A= + Media=0A= +--------------------------------------------------------------------}=0A= +-- | Abstract layer between 'MediaCtrl' and 'Sound'. This class intends = to=0A= +-- avoid breaking backward-compatibility.=0A= +class Media w where=0A= + -- | If use this method with 'Sound', play a sound fragment = asynchronous=3D=0A= ly.=0A= + -- If use this method with 'MediaCtrl', play media that is loaded by=0A= + -- 'mediaCtrlLoad'.=0A= + play :: w -> IO ()=0A= + stop :: w -> IO ()=0A= +=0A= hunk ./wx/src/Graphics/UI/WX/Media.hs 93=0A= --- | Play a sound fragment asynchronously.=0A= -play :: Wave a -> IO ()=0A= -play wave=0A= - =3D3D unitIO (wavePlay wave True False)=0A= +-- | Define Sound type synonym for people who are familiar with=0A= +-- wxWidgets 2.6.x or higher name.=0A= +type Sound a =3D3D Wave a=0A= +=0A= +instance Media (Sound a) where=0A= + play sound =3D3D unitIO (wavePlay sound True False)=0A= + stop =3D3D undefined=0A= hunk ./wxc/eiffel/wxc_defs.e 175=0A= +=3D0D=0A= +wxMEDIACTRLPLAYERCONTROLS_NONE : BIT 32 is = 000000000000000000000000000000=3D=0A= 00B=3D0D=0A= +wxMEDIACTRLPLAYERCONTROLS_STEP : BIT 32 is = 0000000000000000000000000000000=3D=0A= 1B=3D0D=0A= +wxMEDIACTRLPLAYERCONTROLS_VOLUME : BIT 32 is = 0000000000000000000000000000=3D=0A= 0010B=3D0D=0A= +wxMEDIACTRLPLAYERCONTROLS_DEFAULT : BIT 32 is = 000000000000000000000000000=3D=0A= 00011B=3D0D=0A= addfile ./wxc/include/mediactrl.h=0A= hunk ./wxc/include/mediactrl.h 1=0A= +/*----------------------------------------------------------------------= --=3D=0A= -----=3D0D=0A= + MediaCtrl=3D0D=0A= +------------------------------------------------------------------------= --=3D=0A= ---*/=3D0D=0A= +TClassDefExtend(wxMediaCtrl,wxWindow);=3D0D=0A= +=3D0D=0A= +TClass(wxMediaCtrl) wxMediaCtrl_Create( TClass(wxWindow) parent, int = wind=3D=0A= owID, TClass(wxString) fileName, int x, int y, int w, int h, long style, = TC=3D=0A= lass(wxString) szBackend, TClass(wxString) name );=3D0D=0A= +void wxMediaCtrl_Delete(TSelf(wxMediaCtrl) self);=3D0D=0A= +void wxMediaCtrl_GetBestSize(TSelf(wxMediaCtrl) self, int* w, int* h = );=3D=0A= =3D0D=0A= +double wxMediaCtrl_GetPlaybackRate(TSelf(wxMediaCtrl) self);=3D0D=0A= +double wxMediaCtrl_GetVolume(TSelf(wxMediaCtrl) self);=3D0D=0A= +int wxMediaCtrl_GetState(TSelf(wxMediaCtrl) self);=3D0D=0A= +long wxMediaCtrl_Length(TSelf(wxMediaCtrl) self);=3D0D=0A= +TBool wxMediaCtrl_Load(TSelf(wxMediaCtrl) self, TClass(wxString) = fileName=3D=0A= );=3D0D=0A= +TBool wxMediaCtrl_LoadURI(TSelf(wxMediaCtrl) self, TClass(wxString) = uri )=3D=0A= ;=3D0D=0A= +TBool wxMediaCtrl_LoadURIWithProxy(TSelf(wxMediaCtrl) self, = TClass(wxStri=3D=0A= ng) uri, TClass(wxString) proxy );=3D0D=0A= +TBool wxMediaCtrl_Pause(TSelf(wxMediaCtrl) self);=3D0D=0A= +TBool wxMediaCtrl_Play(TSelf(wxMediaCtrl) self);=3D0D=0A= +long wxMediaCtrl_Seek(TSelf(wxMediaCtrl) self, long offsetWhere, int = mode=3D=0A= );=3D0D=0A= +TBool wxMediaCtrl_SetPlaybackRate(TSelf(wxMediaCtrl) self, double = dRate )=3D=0A= ;=3D0D=0A= +TBool wxMediaCtrl_SetVolume(TSelf(wxMediaCtrl) self, double dVolume = );=3D0D=0A= +TBool wxMediaCtrl_ShowPlayerControls(TSelf(wxMediaCtrl) self, int = flags )=3D=0A= ;=3D0D=0A= +TBool wxMediaCtrl_Stop(TSelf(wxMediaCtrl) self);=3D0D=0A= +long wxMediaCtrl_Tell(TSelf(wxMediaCtrl) self);=3D0D=0A= hunk ./wxc/include/wxc.h 26=0A= +#include "mediactrl.h"=0A= addfile ./wxc/src/mediactrl.cpp=0A= hunk ./wxc/src/mediactrl.cpp 1=0A= +#include "wrapper.h"=0A= +#ifdef wxUSE_MEDIACTRL=0A= +#include "wx/mediactrl.h"=0A= +#endif=0A= +=0A= +/* testing */=0A= +// #define wxUSE_MEDIACTRL 0=0A= +=0A= +/*----------------------------------------------------------------------= --=3D=0A= -----=0A= + We want to include the function signatures always -- even on =3D=0A= =0A= + systems that don't support MediaCtrl. This means that every function = bod=3D=0A= y is=0A= + surrounded by #ifdef wxUSE_MEDIACTRL directives :-(=0A= +------------------------------------------------------------------------= --=3D=0A= ---*/=0A= +#if defined(wxUSE_MEDIACTRL) && (wxUSE_MEDIACTRL=3D3D=3D3D0)=0A= +# undef wxUSE_MEDIACTRL=0A= +#endif=0A= +=0A= +#ifndef wxUSE_MEDIACTRL=0A= +# define wxMediaCtrl void=0A= +#endif=0A= +=0A= +#if (wxVERSION_NUMBER <=3D3D 2600)=0A= +# define wxFileOffset long=0A= +#endif=0A= +=0A= +extern "C" {=0A= +/*----------------------------------------------------------------------= --=3D=0A= -----=0A= + MediaCtrl=0A= +------------------------------------------------------------------------= --=3D=0A= ---*/=0A= +EWXWEXPORT(wxMediaCtrl*,wxMediaCtrl_Create)( void* parent, int id,=0A= + wxString* fileName, int x, = in=3D=0A= t y, int w, int h,=0A= + long style, wxString* = szBacke=3D=0A= nd, wxString* name)=0A= +{=0A= +#ifdef wxUSE_MEDIACTRL=0A= + return new wxMediaCtrl((wxWindow*)parent,(wxWindowID)id,=0A= + (fileName ? *fileName : wxString(wxT(""))),=0A= + wxPoint(x,y),wxSize(w,h),style,=0A= + (szBackend ? *szBackend : wxString(wxT(""))), wxDefaultValidator,=0A= + (name ? *name : wxString(wxT("MediaCtrl"))));=0A= +#else=0A= + return NULL;=0A= +#endif=0A= +}=0A= +=0A= +/* we don't need this.=0A= +EWXWEXPORT(wxMediaCtrl*,wxMediaCtrl_Create)( void* parent, int id,=0A= + wxString* fileName, int x, = in=3D=0A= t y, int w, int h,=0A= + long style, wxString* = szBacke=3D=0A= nd, wxString* name)=0A= +{=0A= +#ifdef wxUSE_MEDIACTRL=0A= + return wxMediaCtrl->Create((wxWindow*)parent,(wxWindowID)id,=0A= + (fileName ? *fileName : wxString(wxT(""))),=0A= + wxPoint(x,y),wxSize(w,h),style,=0A= + (szBackend ? *szBackend : wxString(wxT(""))), wxDefaultValidator,=0A= + (name ? *name : wxString(wxT("MediaCtrl"))));=0A= +#else=0A= + return NULL;=0A= +#endif=0A= +}=0A= +*/=0A= +=0A= +EWXWEXPORT(void,wxMediaCtrl_Delete)(wxMediaCtrl* self) =3D=0A= =0A= +{=0A= +#ifdef wxUSE_MEDIACTRL=0A= + if (self) delete self;=0A= +#endif=0A= +}=0A= +=0A= +EWXWEXPORT(void,wxMediaCtrl_GetBestSize)(wxMediaCtrl* self, int* w, = int* h=3D=0A= )=0A= +{=0A= +#ifdef wxUSE_MEDIACTRL=0A= + wxSize sz =3D3D self->GetBestSize();=0A= + *w =3D3D sz.x;=0A= + *h =3D3D sz.y;=0A= +#endif=0A= +}=0A= +=0A= +EWXWEXPORT(double,wxMediaCtrl_GetPlaybackRate)(wxMediaCtrl* self)=0A= +{=0A= +#ifdef wxUSE_MEDIACTRL=0A= + return self->GetPlaybackRate();=0A= +#else=0A= + return NULL;=0A= +#endif=0A= +}=0A= +=0A= +EWXWEXPORT(double,wxMediaCtrl_GetVolume)(wxMediaCtrl* self)=0A= +{=0A= +#ifdef wxUSE_MEDIACTRL=0A= + return self->GetVolume();=0A= +#else=0A= + return NULL;=0A= +#endif=0A= +}=0A= +=0A= +EWXWEXPORT(int,wxMediaCtrl_GetState)(wxMediaCtrl* self)=0A= +{=0A= +#ifdef wxUSE_MEDIACTRL=0A= + return self->GetState();=0A= +#else=0A= + return NULL;=0A= +#endif=0A= +}=0A= +=0A= +EWXWEXPORT(wxFileOffset,wxMediaCtrl_Length)(wxMediaCtrl* self)=0A= +{=0A= +#ifdef wxUSE_MEDIACTRL=0A= + return self->Length();=0A= +#else=0A= + return NULL;=0A= +#endif=0A= +}=0A= +=0A= +EWXWEXPORT(bool,wxMediaCtrl_Load)(wxMediaCtrl* self, const wxString* = fileN=3D=0A= ame)=0A= +{=0A= +#ifdef wxUSE_MEDIACTRL=0A= + return self->Load(*fileName);=0A= +#else=0A= + return NULL;=0A= +#endif=0A= +}=0A= +=0A= +EWXWEXPORT(bool,wxMediaCtrl_LoadURI)(wxMediaCtrl* self, const wxString* = ur=3D=0A= i)=0A= +{=0A= +#ifdef wxUSE_MEDIACTRL=0A= + return self->LoadURI(*uri);=0A= +#else=0A= + return NULL;=0A= +#endif=0A= +}=0A= +=0A= +EWXWEXPORT(bool,wxMediaCtrl_LoadURIWithProxy)(wxMediaCtrl* self, const = wxS=3D=0A= tring* uri, const wxString* proxy)=0A= +{=0A= +#ifdef wxUSE_MEDIACTRL=0A= + return self->LoadURIWithProxy(*uri, *proxy);=0A= +#else=0A= + return false;=0A= +#endif=0A= +}=0A= +=0A= +EWXWEXPORT(bool,wxMediaCtrl_Pause)(wxMediaCtrl* self)=0A= +{=0A= +#ifdef wxUSE_MEDIACTRL=0A= + return self->Pause();=0A= +#else=0A= + return false;=0A= +#endif=0A= +}=0A= +=0A= +EWXWEXPORT(bool,wxMediaCtrl_Play)(wxMediaCtrl* self)=0A= +{=0A= +#ifdef wxUSE_MEDIACTRL=0A= + return self->Play();=0A= +#else=0A= + return false;=0A= +#endif=0A= +}=0A= +=0A= +EWXWEXPORT(wxFileOffset,wxMediaCtrl_Seek)(wxMediaCtrl* self, = wxFileOffset =3D=0A= offsetWhere, int mode)=0A= +{=0A= +#ifdef wxUSE_MEDIACTRL=0A= + return self->Seek(offsetWhere, static_cast<wxSeekMode>(mode));=0A= +#else=0A= + return NULL;=0A= +#endif=0A= +}=0A= +=0A= +EWXWEXPORT(bool,wxMediaCtrl_SetPlaybackRate)(wxMediaCtrl* self, double = dRa=3D=0A= te)=0A= +{=0A= +#ifdef wxUSE_MEDIACTRL=0A= + return self->SetPlaybackRate(dRate);=0A= +#else=0A= + return false;=0A= +#endif=0A= +}=0A= +=0A= +EWXWEXPORT(bool,wxMediaCtrl_SetVolume)(wxMediaCtrl* self, double = dVolume)=0A= +{=0A= +#ifdef wxUSE_MEDIACTRL=0A= + return self->SetVolume(dVolume);=0A= +#else=0A= + return false;=0A= +#endif=0A= +}=0A= +=0A= +EWXWEXPORT(bool,wxMediaCtrl_ShowPlayerControls)(wxMediaCtrl* self, int = fla=3D=0A= gs)=0A= +{=0A= +#ifdef wxUSE_MEDIACTRL=0A= + return = self->ShowPlayerControls(static_cast<wxMediaCtrlPlayerControls>(f=3D=0A= lags));=0A= +#else=0A= + return false;=0A= +#endif=0A= +}=0A= +=0A= +EWXWEXPORT(bool,wxMediaCtrl_Stop)(wxMediaCtrl* self)=0A= +{=0A= +#ifdef wxUSE_MEDIACTRL=0A= + return self->Stop();=0A= +#else=0A= + return false;=0A= +#endif=0A= +}=0A= +=0A= +EWXWEXPORT(wxFileOffset, wxMediaCtrl_Tell) (wxMediaCtrl* self)=0A= +{=0A= +#ifdef wxUSE_MEDIACTRL=0A= + return self->Tell();=0A= +#else=0A= + return NULL;=0A= +#endif=0A= +}=0A= +=0A= +}=0A= +=0A= +=0A= hunk ./wxc/wxc-2.4.dsp 119=0A= +SOURCE=3D3D.\include\mediactrl.h=3D0D=0A= +# End Source File=3D0D=0A= +# Begin Source File=3D0D=0A= +=3D0D=0A= hunk ./wxc/wxc-2.4.dsp 201=0A= +# Begin Source File=3D0D=0A= +=3D0D=0A= +SOURCE=3D3D.\src\mediactrl.cpp=3D0D=0A= +# End Source File=3D0D=0A= hunk ./wxc/wxcu-2.6.4.dsp 57=0A= -# ADD LINK32 wxzlib.lib wxregexu.lib wxpng.lib wxjpeg.lib wxtiff.lib = wxexp=3D=0A= at.lib wxbase26u.lib wxbase26u_net.lib wxbase26u_odbc.lib = wxbase26u_xml.lib=3D=0A= wxmsw26u_adv.lib wxmsw26u_core.lib wxmsw26u_dbgrid.lib wxmsw26u_gl.lib = wxm=3D=0A= sw26u_html.lib wxmsw26u_stc.lib kernel32.lib user32.lib gdi32.lib = winspool.=3D=0A= lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib = uuid.lib o=3D=0A= dbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib opengl32.lib = win=3D=0A= mm.lib /nologo /dll /machine:I386 /nodefaultlib:"LIBCMT" = /out:"..\out\wxc\w=3D=0A= xc-msw2.6.3-0.10.1.dll" /libpath:"..\..\wxWidgets-2.6.4\lib\vc_lib"=3D0D=0A= +# ADD LINK32 wxzlib.lib wxregexu.lib wxpng.lib wxjpeg.lib wxtiff.lib = wxexp=3D=0A= at.lib wxbase26u.lib wxbase26u_net.lib wxbase26u_odbc.lib = wxbase26u_xml.lib=3D=0A= wxmsw26u_core.lib wxmsw26u_adv.lib wxmsw26u_dbgrid.lib wxmsw26u_gl.lib = wxm=3D=0A= sw26u_html.lib wxmsw26u_media.lib wxmsw26u_stc.lib kernel32.lib = user32.lib =3D=0A= gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib = olea=3D=0A= ut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib = wsock32.l=3D=0A= ib opengl32.lib winmm.lib /nologo /dll /machine:I386 = /nodefaultlib:"LIBCMT"=3D=0A= /out:"..\out\wxc\wxc-msw2.6.3-0.10.1.dll" = /libpath:"..\..\wxWidgets-2.6.4\=3D=0A= lib\vc_lib"=3D0D=0A= hunk ./wxc/wxcu-2.6.4.dsp 88=0A= -# ADD LINK32 wxmsw26ud_core.lib wxmsw26ud_adv.lib wxmsw26ud_dbgrid.lib = wxm=3D=0A= sw26ud_gl.lib wxmsw26ud_html.lib wxmsw26ud_stc.lib wxbase26ud.lib = wxbase26u=3D=0A= d_net.lib wxbase26ud_odbc.lib wxbase26ud_xml.lib wxzlibd.lib = wxregexud.lib =3D=0A= wxpngd.lib wxjpegd.lib wxtiffd.lib wxexpatd.lib kernel32.lib user32.lib = gdi=3D=0A= 32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib = oleaut3=3D=0A= 2.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib = wsock32.lib =3D=0A= opengl32.lib winmm.lib /nologo /dll /debug /machine:I386 = /nodefaultlib:"LIB=3D=0A= CMTD" /out:"..\out\wxc\wxcd-msw2.6.3-0.10.1.dll" /pdbtype:sept = /libpath:"..=3D=0A= \..\wxWidgets-2.6.4\lib\vc_lib"=3D0D=0A= +# ADD LINK32 wxzlibd.lib wxregexud.lib wxpngd.lib wxjpegd.lib = wxtiffd.lib =3D=0A= wxexpatd.lib wxbase26ud.lib wxbase26ud_net.lib wxbase26ud_odbc.lib = wxbase26=3D=0A= ud_xml.lib wxmsw26ud_core.lib wxmsw26ud_adv.lib wxmsw26ud_dbgrid.lib = wxmsw2=3D=0A= 6ud_gl.lib wxmsw26ud_html.lib wxmsw26ud_media.lib wxmsw26ud_stc.lib = kernel3=3D=0A= 2.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib = shell32.l=3D=0A= ib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib = rpc=3D=0A= rt4.lib wsock32.lib opengl32.lib winmm.lib /nologo /dll /debug = /machine:I38=3D=0A= 6 /nodefaultlib:"LIBCMTD" /out:"..\out\wxc\wxcd-msw2.6.3-0.10.1.dll" = /pdbty=3D=0A= pe:sept /libpath:"..\..\wxWidgets-2.6.4\lib\vc_lib"=3D0D=0A= hunk ./wxc/wxcu-2.6.4.dsp 121=0A= +SOURCE=3D3D.\include\mediactrl.h=3D0D=0A= +# End Source File=3D0D=0A= +# Begin Source File=3D0D=0A= +=3D0D=0A= hunk ./wxc/wxcu-2.6.4.dsp 203=0A= +# Begin Source File=3D0D=0A= +=3D0D=0A= +SOURCE=3D3D.\src\mediactrl.cpp=3D0D=0A= +# End Source File=3D0D=0A= }=0A= =0A= [Support builing without STC library for wxWidgets 2.6.4=0A= shelarcy <she...@gm...>**20070811132834] {=0A= hunk ./wxc/wxcu-2.6.4.dsp 22=0A= +!MESSAGE "wxc - Win32 Release with Contrib" (based on "Win32 (x86) = Dynamic=3D=0A= -Link Library")=3D0D=0A= +!MESSAGE "wxc - Win32 Debug with Contrib" (based on "Win32 (x86) = Dynamic-L=3D=0A= ink Library")=3D0D=0A= hunk ./wxc/wxcu-2.6.4.dsp 48=0A= +# ADD CPP /nologo /MT /W3 /GX /O2 /I = "..\..\wxWidgets-2.6.4\lib\vc_lib\msw=3D=0A= u" /I "..\..\wxWidgets-2.6.4\contrib\include" /I "include" /I "src\ewxw" = /I=3D=0A= "..\..\wxWidgets-2.6.4\include" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D = "_=3D=0A= MBCS" /D "_USRDLL" /D "WXC_EXPORTS" /D WINVER=3D3D0x400 /D "_MT" /D = wxUSE_GUI=3D=0A= =3D3D1 /D wxUSE_UNICODE=3D3D1 /D BUILD_WXC=3D3D1 /D "_DLL" /YX /FD = /c=3D0D=0A= +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32=3D0D=0A= +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32=3D0D=0A= +# ADD BASE RSC /l 0x413 /d "NDEBUG"=3D0D=0A= +# ADD RSC /l 0x409 /i "..\..\wxWidgets-2.6.4\include" /d "NDEBUG"=3D0D=0A= +BSC32=3D3Dbscmake.exe=3D0D=0A= +# ADD BASE BSC32 /nologo=3D0D=0A= +# ADD BSC32 /nologo=3D0D=0A= +LINK32=3D3Dlink.exe=3D0D=0A= +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib = comdlg32.=3D=0A= lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib = odb=3D=0A= ccp32.lib /nologo /dll /machine:I386=3D0D=0A= +=3D0D=0A= +# ADD LINK32 wxzlib.lib wxregexu.lib wxpng.lib wxjpeg.lib wxtiff.lib = wxexp=3D=0A= at.lib wxbase26u.lib wxbase26u_net.lib wxbase26u_odbc.lib = wxbase26u_xml.lib=3D=0A= wxmsw26u_core.lib wxmsw26u_adv.lib wxmsw26u_dbgrid.lib wxmsw26u_gl.lib = wxm=3D=0A= sw26u_html.lib wxmsw26u_media.lib kernel32.lib user32.lib gdi32.lib = winspoo=3D=0A= l.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib = uuid.lib=3D=0A= odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib = opengl32.lib w=3D=0A= inmm.lib /nologo /dll /machine:I386 /nodefaultlib:"LIBCMT" = /out:"..\out\wxc=3D=0A= \wxc-msw2.6.3-0.10.1.dll" = /libpath:"..\..\wxWidgets-2.6.4\lib\vc_lib"=3D0D=0A= +# Begin Special Build Tool=3D0D=0A= +SOURCE=3D3D"$(InputPath)"=3D0D=0A= +PostBuild_Cmds=3D3Decho Generating mingw32 import library ... = ..\bin\reimp .=3D=0A= .\out\wxc\wxc-msw2.6.3-0.10.1.lib move libwxc-msw2.6.3-0.10.1.a = ..\out\wxc =3D=0A= move wxc-msw2.6.3-0.10.1.def ..\out\wxc echo Done.=3D0D=0A= +# End Special Build Tool=3D0D=0A= +=3D0D=0A= +!ELSEIF "$(CFG)" =3D3D=3D3D "wxc - Win32 Debug"=3D0D=0A= +=3D0D=0A= +# PROP BASE Use_MFC 0=3D0D=0A= +# PROP BASE Use_Debug_Libraries 1=3D0D=0A= +# PROP BASE Output_Dir "Debug"=3D0D=0A= +# PROP BASE Intermediate_Dir "Debug"=3D0D=0A= +# PROP BASE Target_Dir ""=3D0D=0A= +# PROP Use_MFC 0=3D0D=0A= +# PROP Use_Debug_Libraries 1=3D0D=0A= +# PROP Output_Dir "..\out\wxc"=3D0D=0A= +# PROP Intermediate_Dir "..\out\wxc\debug"=3D0D=0A= +# PROP Ignore_Export_Lib 0=3D0D=0A= +# PROP Target_Dir ""=3D0D=0A= +# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" = /D =3D=0A= "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "WXC_EXPORTS" /YX /FD /GZ /c=3D0D=0A= +# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /I = "..\..\wxWidgets-2.6.4\lib\v=3D=0A= c_lib\mswud" /I "include" /I "src\ewxw" /I = "..\..\wxWidgets-2.6.4\include" =3D=0A= /I "..\..\wxWidgets-2.6.4\contrib\include" /D "_DEBUG" /D "__WXDEBUG__" = /D =3D=0A= WXDEBUG=3D3D1 /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D = "WXC_EXPORT=3D=0A= S" /D WINVER=3D3D0x400 /D "_MT" /D wxUSE_GUI=3D3D1 /D = wxUSE_UNICODE=3D3D1 /D BUIL=3D=0A= D_WXC=3D3D1 /D "_DLL" /YX /FD /GZ /c=3D0D=0A= +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32=3D0D=0A= +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32=3D0D=0A= +# ADD BASE RSC /l 0x413 /d "_DEBUG"=3D0D=0A= +# ADD RSC /l 0x409 /i "..\..\wxWidgets-2.6.4\include" /d "_DEBUG"=3D0D=0A= +BSC32=3D3Dbscmake.exe=3D0D=0A= +# ADD BASE BSC32 /nologo=3D0D=0A= +# ADD BSC32 /nologo=3D0D=0A= +LINK32=3D3Dlink.exe=3D0D=0A= +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib = comdlg32.=3D=0A= lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib = odb=3D=0A= ccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept=3D0D=0A= +=3D0D=0A= +# ADD LINK32 wxzlibd.lib wxregexud.lib wxpngd.lib wxjpegd.lib = wxtiffd.lib =3D=0A= wxexpatd.lib wxbase26ud.lib wxbase26ud_net.lib wxbase26ud_odbc.lib = wxbase26=3D=0A= ud_xml.lib wxmsw26ud_core.lib wxmsw26ud_adv.lib wxmsw26ud_dbgrid.lib = wxmsw2=3D=0A= 6ud_gl.lib wxmsw26ud_html.lib wxmsw26ud_media.lib kernel32.lib = user32.lib g=3D=0A= di32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib = oleau=3D=0A= t32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib = wsock32.li=3D=0A= b opengl32.lib winmm.lib /nologo /dll /debug /machine:I386 = /nodefaultlib:"L=3D=0A= IBCMTD" /out:"..\out\wxc\wxcd-msw2.6.3-0.10.1.dll" /pdbtype:sept = /libpath:"=3D=0A= ..\..\wxWidgets-2.6.4\lib\vc_lib"=3D0D=0A= +# Begin Special Build Tool=3D0D=0A= +SOURCE=3D3D"$(InputPath)"=3D0D=0A= +PostBuild_Cmds=3D3Decho Generating mingw32 import library ... = ..\bin\reimp .=3D=0A= .\out\wxc\wxcd-msw2.6.3-0.10.1.lib move libwxcd-msw2.6.3-0.10.1.a = ..\out\wx=3D=0A= c move wxcd-msw2.6.3-0.10.1.def ..\out\wxc echo Done.=3D0D=0A= +# End Special Build Tool=3D0D=0A= +=3D0D=0A= +!ELSEIF "$(CFG)" =3D3D=3D3D "wxc - Win32 Release with Contrib"=3D0D=0A= +=3D0D=0A= +# PROP BASE Use_MFC 0=3D0D=0A= +# PROP BASE Use_Debug_Libraries 0=3D0D=0A= +# PROP BASE Output_Dir "Release"=3D0D=0A= +# PROP BASE Intermediate_Dir "Release"=3D0D=0A= +# PROP BASE Target_Dir ""=3D0D=0A= +# PROP Use_MFC 0=3D0D=0A= +# PROP Use_Debug_Libraries 0=3D0D=0A= +# PROP Output_Dir "..\out\wxc"=3D0D=0A= +# PROP Intermediate_Dir "..\out\wxc\release"=3D0D=0A= +# PROP Ignore_Export_Lib 0=3D0D=0A= +# PROP Target_Dir ""=3D0D=0A= +# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D = "_WINDOWS=3D=0A= " /D "_MBCS" /D "_USRDLL" /D "WXC_EXPORTS" /YX /FD /c=3D0D=0A= hunk ./wxc/wxcu-2.6.4.dsp 127=0A= -!ELSEIF "$(CFG)" =3D3D=3D3D "wxc - Win32 Debug"=3D0D=0A= +!ELSEIF "$(CFG)" =3D3D=3D3D "wxc - Win32 Debug with Contrib"=3D0D=0A= hunk ./wxc/wxcu-2.6.4.dsp 164=0A= +# Name "wxc - Win32 Release with Contrib"=3D0D=0A= +# Name "wxc - Win32 Debug with Contrib"=3D0D=0A= }=0A= =0A= [Add waveStop function to use Media class' stop method with Wave (Sound)=0A= shelarcy <she...@gm...>**20070811144959] {=0A= hunk ./wx/src/Graphics/UI/WX/Media.hs 99=0A= - stop =3D3D undefined=0A= + stop =3D3D waveStop=0A= hunk ./wxc/include/wave.h 11=0A= +void wxWave_Stop(TSelf(wxWave) self);=3D0D=0A= hunk ./wxc/src/wave.cpp 115=0A= -}=0A= hunk ./wxc/src/wave.cpp 116=0A= +EWXWEXPORT(void,wxWave_Stop)(wxSound* self) =3D=0A= =0A= +{=0A= +#if (wxVERSION_NUMBER >=3D3D 2600)=0A= + return self->Stop();=0A= +#endif=0A= +}=0A= hunk ./wxc/src/wave.cpp 123=0A= +}=0A= }=0A= =0A= Context:=0A= =0A= [Remove unused wxh directory files=0A= shelarcy <she...@gm...>**20070803123528] =3D=0A= =0A= [Remove unused wxWidgets 2.5.x's VC project=0A= shelarcy <she...@gm...>**20070803120930] =3D=0A= =0A= [Add VC project for wxWidgets 2.6.4=0A= shelarcy <she...@gm...>**20070803120733] =3D=0A= =0A= [Fix broken wxc-2.4 Visual Studio Project=0A= shelarcy <she...@ho...>**20070723214850] =3D=0A= =0A= [polyline-64bit-compatibility-fix=0A= ar...@cs...**20070313080116=0A= Fixes a problem with the polyline function on a 64-bit platform.=0A= The wxDC_DrawLines function now properly indexes into the array=0A= with points.=0A= ] =3D=0A= =0A= [fix-polygon-behaviour-64=0A= ar...@cs...**20070202154517=0A= Fixed issue 'Strange polygon behaviour on 64-bit machines'=0A= reported by Chris Mears at 14 Dec 2006.=0A= =3D=0A= =0A= Problem: the arrays inspected by the wxDC_Polygon function=0A= are assumed to contain 32-bits ints. On 64-bit machines=0A= these are actually 64-bits ints.=0A= =3D=0A= =0A= Fix: (a bit of a hack...) the code now assumes that the=0A= arrays contain intptr_t values. This type represents ints=0A= of the same number of bits as the Haskell ints (on 32-bit=0A= and 64-bit machines). The code now dereferences each element=0A= in the array correctly, but still truncates the possibly=0A= 64-bit value to a 32-bit value. This is not a problem=0A= in practice.=0A= ] =3D=0A= =0A= [Announce new maintainers, darcs (homepage).=0A= Eric Kow <eri...@lo...>**20070120231403] =3D=0A= =0A= [Add miscellaneous other images (homepage).=0A= Eric Kow <eri...@lo...>**20070120224435] =3D=0A= =0A= [Add application screenshots (homepage).=0A= Eric Kow <eri...@lo...>**20070120224104] =3D=0A= =0A= [Add images used in quick start (homepage).=0A= Eric Kow <eri...@lo...>**20070120223650] =3D=0A= =0A= [Add images used for samples (homepage).=0A= Eric Kow <eri...@lo...>**20070120223301] =3D=0A= =0A= [Add images directory (and wxhaskell logo).=0A= Eric Kow <eri...@lo...>**20070120222724] =3D=0A= =0A= [Remove counter code from homepage.=0A= Eric Kow <eri...@lo...>**20070120221619=0A= =3D=0A= =0A= This counter has an pop-up ads, which is rather obnoxious.=0A= =3D=0A= =0A= ] =3D=0A= =0A= [Add wxhaskell homepage files (main html, css only).=0A= Eric Kow <eri...@lo...>**20070120221304=0A= =3D=0A= =0A= I took the liberty of running dos2unix on these.=0A= =3D=0A= =0A= ] =3D=0A= =0A= [Add some wxhaskell-specifile boring file regexps.=0A= Eric Kow <eri...@lo...>**20070120221235] =3D=0A= =0A= [Use a custom boring file. (Right now just the darcs default)=0A= Eric Kow <eri...@lo...>**20070120221223] =3D=0A= =0A= [Add an etc/ directory for misc use.=0A= Eric Kow <eri...@lo...>**20070120212146] =3D=0A= =0A= [Modify wx-install so it doesn't accidentally recompile things.=0A= Eric Kow <eri...@lo...>**20070120225914=0A= =3D=0A= =0A= ] =3D=0A= =0A= [Merge wxStyledTextCntrl (Scintilla edit control wrapper) support from = Hast=3D=0A= e project=0A= shelarcy <she...@ca...>**20070111090641] =3D=0A= =0A= [Added #ifndef compilation flag around <inttypes.h> to avoid building = probl=3D=0A= em under Visual C++ (VC). (VC doesn't have <inttypes.h>.)=0A= she...@ca...**20061207005946] =3D=0A= =0A= [Correct previous patch for db.cpp=0A= she...@ca...**20061207004327] =3D=0A= =0A= [Add an eyeball test for Unicode strings.=0A= Eric Kow <eri...@lo...>**20061129042230] =3D=0A= =0A= [Use intptr_t to avoid assumption that integers are 32 bit.=0A= Arie Middelkoop <ar...@cs...>**20061125125628=0A= =3D=0A= =0A= Compiling wxHaskell on a 64bits platform fails, because there=0A= are some assumptions in the code that assume that integers are=0A= 32bits. For example, there are a couple of assignments of a=0A= pointer to an int.=0A= =3D=0A= =0A= This patch fixes these problems. Sometimes, after assigning a=0A= pointer to an integer, the int was used as a boolean value. In=0A= those cases, instead of returning a pointer p, I changed the=0A= code to return p !=3D3D NULL. In two other cases, a pointer is stored=0A= inside the int and in these cases I changed the type of the=0A= int to intptr_t, of which it is guaranteed that a pointer can be=0A= assigned to it and recovered from it.=0A= =3D=0A= =0A= Requires <inttypes.h>.=0A= =3D=0A= =0A= ] =3D=0A= =0A= [Added the -fPIC compiler flag to CXX options in the makefile.=0A= Arie Middelkoop <ar...@cs...>**20061115121006=0A= =3D=0A= =0A= Apparantly, my platform (gentoo x86_64 linux) required that .o files = are "=3D=0A= relocatable" when there =3D=0A= =0A= are linked into a dynamic library.=0A= =3D=0A= =0A= (It might be an idea to use libtool to hide this kind of = platform-specific=3D=0A= details)=0A= =3D=0A= =0A= ] =3D=0A= =0A= [Tweak wx build target to depend on wxcore-clean.=0A= Eric Kow <eri...@lo...>**20061115002142=0A= =3D=0A= =0A= This avoids weird build errors with GHC 6.6 like=0A= wx/src/Graphics/UI/WX/Types.hs:94:0:=0A= Bad interface file: out/wx/imports/Graphics/UI/WXCore/Types.hi=0A= Something is amiss; requested module=0A= =3D=0A= =0A= ] =3D=0A= =0A= [Update Windows/VC++ build for 0.10.1 (from jer...@gm...).=0A= Eric Kow <eri...@lo...>**20061029082957=0A= =3D=0A= =0A= ] =3D=0A= =0A= [Separate make/make install for wxcore and wx.=0A= Eric Kow <eri...@lo...>**20061027201218=0A= =3D=0A= =0A= Now the user has to type=0A= make=0A= (sudo) make install=0A= make wx=0A= (sudo) make wx-install=0A= =3D=0A= =0A= This is a tweak of Shelarcy's patch for making wxhaskell compile on GHC = 6.=3D=0A= 6.=0A= The intention is to avoid the surprising behaviour of wxcore being = install=3D=0A= ed=0A= when the user types 'make'.=0A= =3D=0A= =0A= ] =3D=0A= =0A= [Add shelarcy patch for compile with GHC-6.6=0A= jer...@gm...**20061027102208] =3D=0A= =0A= [Add support for toolbar divider and other toolbar options (from = shelarcy@g=3D=0A= mail.com)=0A= jer...@gm...**20061023095411] =3D=0A= =0A= [Add support for toolbar divider (for she...@gm...)=0A= jer...@gm...**20061023094720] =3D=0A= =0A= [Add support for list item mask (from she...@gm...)=0A= jer...@gm...**20061023094528] =3D=0A= =0A= [Add support for Calendar events (from sha...@gm...)=0A= jer...@gm...**20061023094412] =3D=0A= =0A= [Add support for wxWidgets version >=3D3D 2.5 (Sound API, db API)=0A= jer...@gm...**20061023094049] =3D=0A= =0A= [Shelarcy patch: fix typos in wxHaskell samples/contrib=0A= jer...@gm...**20060830114937] =3D=0A= =0A= [(OS X) Skip intermediate step of compiling master.o.=0A= Eric Kow <eri...@lo...>**20060813212620=0A= =3D=0A= =0A= Removing this step (which compiles master.o, and combines it with other=0A= stuff to get the real library we want) avoids weird error messages like=0A= =3D=0A= =0A= ld: out/wxc/master.o undefined symbol 36218 (__ZdaPv) can't be a weak=0A= definition=0A= =3D=0A= =0A= It's quite possible that this breaks something else, though...=0A= =3D=0A= =0A= ] =3D=0A= =0A= [Update VC++ project file to reflect new wxWidgets version support = (unteste=3D=0A= d)=0A= jer...@gm...**20060817170205] =3D=0A= =0A= [Update VC++ project file to reflect updated DLL version supporting = wxWidge=3D=0A= ts 2.6.3=0A= jer...@gm...**20060817170011] =3D=0A= =0A= [Update revision numbers and wxversion guesses for Windows / VC++ = (jeremy.o=3D=0A= don...@gm...)=0A= jer...@gm...**20060817165704] =3D=0A= =0A= [Shelarcy patch (VC project for wxWindows 2.6.3)=0A= jer...@gm...**20060816134707] =3D=0A= =0A= [Shelarcy patch (WxcTypes.hs)=0A= jer...@gm...**20060816115419] =3D=0A= =0A= [Shelarcy patch (eljdialup.cpp)=0A= jer...@gm...**20060816114418] =3D=0A= =0A= [Shelarcy patch (db.cpp)=0A= jer...@gm...**20060816113728] =3D=0A= =0A= [(wxc, Unicode) Files for compiling unicode version under Visual Studio.=0A= shelarcy <she...@ca...>**20060813212315=0A= =3D=0A= =0A= This is Eric Kow recording on Shelarcy's behalf. This corresponds to = vers=3D=0A= ion=0A= 08 of my Unicode patch.=0A= =3D=0A= =0A= ] =3D=0A= =0A= [Add a small makefile for compiling the samples.=0A= Eric Kow <eri...@lo...>**20060813211705=0A= =3D=0A= =0A= (This comes from version 08 of my Unicode patch).=0A= =3D=0A= =0A= ] =3D=0A= =0A= [(wxcore, Unicode) Add/use ability to interact with C wchar_t.=0A= Eric Kow <eri...@lo...>**20060813211211=0A= =3D=0A= =0A= This corresponds to the wxcore part of my Unicode patch, version 08=0A= modulo trailing whitespace.=0A= =3D=0A= =0A= I believe this would require for wxWidgets and wxhaskell to be compiled = wi=3D=0A= th=0A= Unicode enabled.=0A= =3D=0A= =0A= ] =3D=0A= =0A= [(wxdirect, Unicode) Use the Haskell types for C wchar_t and friends.=0A= Eric Kow <eri...@lo...>**20060813210420=0A= =3D=0A= =0A= I believe this would require that wxWidgets be compiled with Unicode=0A= enabled.=0A= =3D=0A= =0A= ] =3D=0A= =0A= [(wxc, Unicode) Use wxChar instead of char.=0A= Eric Kow <eri...@lo...>**20060813205557=0A= =3D=0A= =0A= wxChar is a C preprocessor macro that selects for char under=0A= --disable-unicode, and for wchar_t under --enable-unicode.=0A= =3D=0A= =0A= This corresponds to version 08 of my Unicode patch, but only the parts=0A= which affect wxc.=0A= =3D=0A= =0A= ] =3D=0A= =0A= [[wxhaskell-from-cvs @ 2005-05-08 08:12:51 by dleijen]=0A= dleijen**20050508081251=0A= updated change log=0A= ] =3D=0A= =0A= [[wxhaskell-from-cvs @ 2005-05-08 07:24:23 by dleijen]=0A= dleijen**20050508072423=0A= Compile wx via -fvia-C to fix crash with ghci on windows=0A= ] =3D=0A= =0A= [TAG wxhakell-0-9-4=0A= Unknown tagger**20060712042545] =3D=0A= =0A= Patch bundle hash:=0A= 4d37d4720f942e9f0fab90ac723acdf6ab64dc65=0A= =0A= --=3D_--=0A= =0A= .=0A= =0A= |