search for: __wxmsw__

Displaying 19 results from an estimated 19 matches for "__wxmsw__".

Did you mean: d__wxmsw__
2007 Jun 23
0
[1060] trunk/wxruby2/swig/fixevents.rb: Include some previously missing events, rehash and simplify
...if exclude&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp - if(evt[0]=="EVT_MOUSE_EVENTS") -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspout.puts "#ifdef __WXMSW__" if windows -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp...
2007 Mar 17
0
[886] branches/wxruby2/wxwidgets_282/swig/fixevents.rb: Mouse events fix for Win32 (Artur Kuptel)
...nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp </span><ins>+ if(evt[0]=="EVT_MOUSE_EVENTS") +&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspout.puts "#ifdef __WXMSW__" if windows +&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp +&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp...
2006 Oct 20
0
[695] trunk/wxruby2/swig/classes/include/wxPen.h: Get/SetStipple not available on GTK
...p; GetColour() const; </span><span class="cx"> int GetDashes(wxDash** dashes ) const; </span><span class="cx"> int GetJoin() const; </span><del>- wxBitmap* GetStipple() const; </del><ins>+// not available on GTK +#if defined(__WXMSW__) || defined(__WXMAC__) + wxBitmap* GetStipple() const; +#endif </ins><span class="cx"> int GetStyle() const; </span><span class="cx"> int GetWidth() const; </span><span class="cx"> bool Ok() const; </span><span class=...
2004 Sep 18
4
wxruby-swig problem: MDIChildFrame::Maximize
I just grabbed the latest wxruby-swig from cvs and tried to compile it (without enabling the SWIG step) on my gentoo Linux box. I get: g++ -c -I/usr/lib/wx/include/gtk2-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -O2 -march=athlon-xp -fPIC -I /usr/lib/ruby/gems/1.8/gems/rake-0.4.8/bin -I /usr/lib/ruby/gems/1.8/gems/rake-0.4.8/lib -I
2006 Sep 03
9
Patch files to implement AcceptFocus
These files add the virtual function AcceptFocus that was missing from wxWindow.h. In order to make things right I had to make sure it was also declared in all the places where wxWindows also changes it. Also, in wxTextCtrl on Windows GetDefaultAttributes needs to be redeclared. I haven''t downloaded the Unix and Mac headers for 2.6.3 so I couldn''t see if it also applies
2007 Apr 29
0
[985] branches/wxruby2/wxwidgets_282/swig/classes/Window.i: Fix get_handle on GTK
...;nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspwxWindow *win = self; </span><del>-&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsplong handle; - -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp// borrowed from wxPython -#ifdef __WXMSW__ - handle = (long)win->GetHandle(); -#endif - -#if defined(__WXGTK__) || defined(__WXX11) - handle = (long)GetXWindow(win); -#endif - -#ifdef __WXMAC__ - handle = (long)win->GetHandle(); -#endif - </del><ins>+ long handle = (long)win->GetHandle(); </ins><spa...
2007 Jun 27
0
[1089] trunk/wxruby2/swig/classes/TreeCtrl.i: Hide missing method call in TreeCtrl on Win32
...p;nbsp&nbsp&nbsp&nbsp&nbspimg_list = tree_ctrl->GetImageList(); </span><span class="cx"> &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspif ( img_list ) rb_gc_mark(SWIG_RubyInstanceFor(img_list)); </span><ins>+#if !defined(__WXMSW__) </ins><span class="cx"> &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspimg_list = tree_ctrl->GetButtonsImageList(); </span><span class="cx"> &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspif ( img_list...
2007 Mar 27
0
[920] branches/wxruby2/wxwidgets_282/swig/classes/TreeCtrl.i: Fix compile error: TreeCtrl no longer inherits from wxScrolledWindow on GTK/Mac
...n><span class="cx"> %markfunc wxTreeCtrl "mark_wxTreeCtrl"; </span><span class="cx"> </span><del>-%import "include/wxObject.h" -%import "include/wxEvtHandler.h" -%import "include/wxWindow.h" - -#if defined(__WXMSW__) </del><span class="cx"> %import "include/wxControl.h" </span><del>-#else -%import "include/wxScrolledWindow.h" -#endif - </del><ins>+%import "include/wxWindow.h" +%import "include/wxEvtHandler.h" +%import "i...
2007 May 02
0
[1000] branches/wxruby2/wxwidgets_282/swig/classes/include/wxPen.h: Default arguments for Wx::Pen constructors
...gt;+ wxPen(const wxColour& colour , int width = 1 , int style = wxSOLID ) ; + wxPen(const wxString& colourName , int width = 1 , int style = wxSOLID ) ; </ins><span class="cx"> // not available on GTK </span><span class="cx"> #if defined(__WXMSW__) || defined(__WXMAC__) </span><span class="cx"> wxPen(const wxBitmap& stipple , int width ) ; </span></span></pre> </div> </div> </body> </html>
2007 Jun 25
0
[1067] trunk/wxruby2: Set up event handlers in Ruby rather than by post-processing SWIG output
...return evt_mousewheel(argc,argv,self); -} -FUNC_DEF - next - end - - func = case evt.type - when 1 : "internal_evt_no_parameters" - when 2 : "internal_evt_with_id" - when 3 : "internal_evt_with_id_range" - end - - out.puts "#ifdef __WXMSW__" if evt.windows_only? - out.puts <<FUNC_DEF -static VALUE #{evt.name.downcase}(int argc, VALUE *argv, VALUE self) - { return #{func}(argc, argv, self, #{evt.wx_const}); } - -FUNC_DEF - out.puts "#endif //__WXMSW__" if evt.windows_only? - end - - # Then we loop over the...
2007 Jan 03
0
[824] trunk/wxruby2/swig/classes/App.i: Remove some ifdefs for old unstable versions of WxWidgets
...;nbsp&nbsp&nbsp&nbsp&nbsp2007-01-03 21:01:05 UTC (rev 824) </span><span class="lines">@@ -50,23 +50,13 @@ </span><span class="cx"> #endif </span><span class="cx"> </span><span class="cx"> #ifdef __WXMSW__ </span><del>-&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp#if wxMINOR_VERSION == 4 -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&...
2007 Apr 26
0
[973] branches/wxruby2/wxwidgets_282/swig/classes/Window.i: Fix crasher with Window#get_handle, also comment the paint method
...le() + { +&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspwxWindow *win = self; +&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsplong handle; + +&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp// borrowed from wxPython +#ifdef __WXMSW__ + handle = (long)win->GetHandle(); +#endif + +#if defined(__WXGTK__) || defined(__WXX11) + handle = (long)GetXWindow(win); +#endif + +#ifdef __WXMAC__ + handle = (long)win->GetHandle(); +#endif + +&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspreturn LONG2NUM...
2007 Jan 06
0
[833] trunk/wxruby2/swig/classes: Fix the inheritance chain of wxIcon (varies cross-platform)
...+// inheritance pattern is slightly different across platforms +// GTK: Icon < Bitmap < GDIOBject +// OS X: Icon < GDIObject +// Windows: Icon < GDIImage < GDIObject (no public class GDIImage) +#if defined(__WXGTK__) +%import "include/wxBitmap.h" +#endif + +// #if defined(__WXMSW__) </ins><span class="cx"> // %import "include/wxGDIImage.h" </span><del>-// the following works on GTK but not MS Win -// %import "include/wxBitmap.h" </del><ins>+// #endif </ins><span class="cx"> </span>&...
2006 Dec 20
0
[790] trunk/wxruby2/swig/classes: Added TextUrlEvent class and EvtHandler mapping
...lass="lines">@@ -810,7 +818,7 @@ </span><span class="cx"> return internal_evt_with_id(argc, argv, self, wxEVT_COMMAND_TEXT_MAXLEN); </span><span class="cx"> } </span><span class="cx"> </span><del>-#ifdef __WXMSW__ </del><ins>+#ifndef __WXMAC__ </ins><span class="cx"> static VALUE evt_text_url(int argc, VALUE *argv, VALUE self) </span><span class="cx"> { </span><span class="cx"> return internal_evt_with_id(argc, argv, self, wxE...
2005 May 03
10
Is wxRuby-SWIG version usable enough to package for download?
If wxRuby-SWIG is as usable as wxRuby 0.6.0, maybe it should be given a version number and packaged up for download. Given the nature of SWIG, having a lot more people use it would probably result in more code contributions to this project. Seems most of the changes are 2+ months old, so I''m guessing wxRuby-SWIG is fairly stable right now in terms of frequency of changes...
2007 Mar 28
0
[923] branches/wxruby2/wxwidgets_282: Changes 2.6 -> 2.8 Wx API; remove unsupported methods and examples from doc
..., 0, 252, 7, 0, 0, 248, 3, 0, 0, - 240, 1, 0, 0, 224, 0, 0, 0, 64, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0 }; - - #ifdef __WXMSW__ - Bitmap down_bitmap(down_bits, 32, 32); - Bitmap down_mask_bitmap(down_mask, 32, 32); - - down_bitmap.SetMask(new Mask(down_mask_bitmap)); - Image down_image = down_bitmap.ConvertToImage(); - down_image.SetOption(IMAGE_OPTION_CUR_HOTSPOT_X, 6); - down_image.SetOption(IMAGE_OPTION_CUR_HOTSPOT_Y, 1...
2007 Mar 21
0
[906] branches/wxruby2/wxwidgets_282: Wx::ComboBox API 2.6 -> 2.8, plus some doc corrections
...pan class="cx"> void Cut() ; </span><ins>+ int GetCurrentSelection() const; </ins><span class="cx"> long GetInsertionPoint() const; </span><span class="cx"> long GetLastPosition() const; </span><ins>+#if defined(__WXMSW__) || defined (__WXGTK__) + void GetSelection(long *from, long *to) const; +#endif </ins><span class="cx"> wxString GetValue() const; </span><span class="cx"> void Paste() ; </span><span class="cx"> void Replace(long from , lon...
2007 May 29
0
[1035] trunk/wxruby2/swig/classes/EvtHandler.i: Removed a heap of redundant stuff that''s been #if 0''d for a while
...dler.klass, "evt_text", VALUEFUNC(evt_text), -1); - rb_define_method(cWxEvtHandler.klass, "evt_text_enter", VALUEFUNC(evt_text_enter), -1); - rb_define_method(cWxEvtHandler.klass, "evt_text_maxlen", VALUEFUNC(evt_text_maxlen), -1); -#ifdef __WXMSW__ - rb_define_method(cWxEvtHandler.klass, "evt_text_url", VALUEFUNC(evt_text_url), -1); -#endif - rb_define_method(cWxEvtHandler.klass, "evt_radiobox", VALUEFUNC(evt_radiobox), -1); - rb_define_method(cWxEvtHandler.klass, "evt_radiobutton", VALUE...
2006 Dec 20
0
[791] trunk/wxruby2/swig/classes/include/wxWindow.h: Remove shadowing GetBestSize def causing warning, plus strip crufty comments
...l>-&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp/** -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp * \brief -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp*/ - </del><span class="cx"> //#ifdef __WXMSW__ </span><span class="cx"> #ifdef wxUSE_HOTKEY </span><span class="cx"> bool RegisterHotKey(int hotkeyId, int modifiers, int virtualKeyCode); </span><span class="lines">@@ -749,484 +114,81 @@ </span><span class="cx&quo...