Displaying 5 results from an estimated 5 matches for "no_full_repaint_on_resize".
2004 Jan 27
2
The flicker of the status bar.
...39;'
include Wx
class RbApp < App
def on_init
frame = MyFrame.new("Test status bar flicker")
frame.show(TRUE)
end
end
class MyFrame < Frame
def initialize(title)
super( nil,-1,title, DEFAULT_POSITION, DEFAULT_SIZE,
DEFAULT_FRAME_STYLE | CLIP_CHILDREN | NO_FULL_REPAINT_ON_RESIZE )
@status_bar = create_status_bar(3)
set_status_bar( @status_bar )
end
end
a = RbApp.new
a.main_loop
#-------------------------------------
Thanks for any answer in advance.
--
Pavel.
mailto:papushev@inp.nsk.su
2006 Dec 12
0
[782] trunk/wxruby2/samples/bigdemo: HtmlHelpWindow sample with helpfile
...gt; no_wx_err
+ begin
+ require ''rubygems''
+ require ''wx''
+ rescue LoadError
+ raise no_wx_err
+ end
+end
+
+
+class TestPanel < Wx::Panel
+ def initialize(parent, log)
+ super(parent, -1, Wx::DEFAULT_POSITION, Wx::DEFAULT_SIZE,
+ Wx::NO_FULL_REPAINT_ON_RESIZE)
+ @log = log
+
+ b = Wx::Button.new(self, -1, ''Give me some help!'',
+ Wx::Point.new(50,50))
+
+ evt_button(b.get_id) { on_button }
+ end
+
+ def on_button
+ help = Wx::HtmlHelpController.instance
+ help_file = File.join( File.dirname(__FILE__),...
2006 Oct 23
0
[709] trunk/wxruby2/samples/dialogs/dialogs.rb: Use paint method again, remove unnecessary global (Alex Fenton)
...lass="lines">@@ -130,21 +130,15 @@
</span><span class="cx"> class MyCanvas < ScrolledWindow
</span><span class="cx"> def initialize(parent)
</span><span class="cx"> super(parent,-1,DEFAULT_POSITION,DEFAULT_SIZE, NO_FULL_REPAINT_ON_RESIZE)
</span><del>- text = Wx::StaticText.new(self, -1,
- ''WxRuby common dialog test application'',
- Wx::Point.new(10, 10) )
- # PaintDC currently causing ObjectPreviouslyDeleted (10 Aug 2006)
- # evt_paint...
2006 Sep 14
2
Patch to fix ArtProvider and ArtProvider sample
These patches better implement ArtProvider and add the demo for it. I
also expanded the bigdemo window a little bit. I really think we should
go larger but I suppose there might be some people at 800x600 still.
Note that creating your own art provider still doesn''t quite work
correctly. I didn''t have time to get into that.
The RubyConstants.i.patch file looks weird. Not
2007 Apr 30
0
[997] branches/wxruby2/wxwidgets_282: Window - 2.6 -> 2.8 API, new methods and deprecations; update doc
...25:48 UTC (rev 996)
+++ branches/wxruby2/wxwidgets_282/doc/textile/window.txtl        2007-04-30 21:32:08 UTC (rev 997)
</span><span class="lines">@@ -32,7 +32,7 @@
</span><span class="cx"> |@NO_FULL_REPAINT_ON_RESIZE@|On Windows, this style used to disable repaintingthe window completely when its size is changed. Since this behaviour is now the default, the style is now obsoleteand no longer has an effect.|
</span><span class="cx"> |@VSCROLL@|Use this style to enable a vertical scrollbar.|...