Search found 92 matches

by gpu
Mon Sep 01, 2014 8:12 am
Forum: Platform Related Issues
Topic: wxWidgets support iOS and Android?
Replies: 6
Views: 5899

wxWidgets support iOS and Android?

does wxWidgets support iOS and Android ?
And what the normal way to apply applications across different platform?
by gpu
Mon Sep 01, 2014 7:36 am
Forum: C++ Development
Topic: flick problem
Replies: 31
Views: 5802

flick problem

when I drag the panel on the wxScrollWindow , all the panels flick....
How to avoid this?
Thank you!
by gpu
Mon Sep 01, 2014 7:35 am
Forum: General Development
Topic: is there any Custom widget like the BluePrint or FlowGraph ?
Replies: 5
Views: 2839

Re: is there any Custom widget like the BluePrint or FlowGra

when I drag the panel on the wxScrollWindow , all the panels flick....
How to avoid this?
Thank you!
by gpu
Mon Sep 01, 2014 6:03 am
Forum: C++ Development
Topic: scale the bitmap of the wxStaticBitmap
Replies: 1
Views: 690

scale the bitmap of the wxStaticBitmap

I use the wxStaticBitmap->GetBitmap().SetSize(wxSize(1,1))
but it doesn't work...
by gpu
Mon Sep 01, 2014 2:36 am
Forum: C++ Development
Topic: clip problem on wxScrollwWindow
Replies: 1
Views: 647

clip problem on wxScrollwWindow

I now use wxSrollWindow to draw many things, there are many panels on it , and I can scale and pan the ScrollWindow, so I want to know wxWidgets will clip the panels outside the view automatically? if not, how should i do it ?
by gpu
Mon Sep 01, 2014 2:32 am
Forum: C++ Development
Topic: wxSizer problem
Replies: 6
Views: 1369

wxSizer problem

I create a wxFlexGridSizer(2), but I want the 1st child to be the whole 1st row (have the width of the parent), then start the 2nd row, each row have 2 child, is it possible? And can wxSizer add another wxSizer as a child? Can wxSizer not be the whole sizer of the parent thorough SetSizer, but just ...
by gpu
Sun Aug 31, 2014 1:31 am
Forum: C++ Development
Topic: can ScrolledWindow resize with mouseWheel?
Replies: 17
Views: 3137

Re: can ScrolledWindow resize with mouseWheel?

found the problem, I Scroll in paintEvent. and another question. As I add the Scale, and use wxMouseEvent.GetPostion to get the postion in the scaled window. i test that the postion got here seems to be the client position. And I SetVirtualSize when scale. SO I devide the postion by the scale...Is t...
by gpu
Sat Aug 30, 2014 2:06 pm
Forum: C++ Development
Topic: can ScrolledWindow resize with mouseWheel?
Replies: 17
Views: 3137

Re: can ScrolledWindow resize with mouseWheel?

1 is the normal one 2 is the wrong effect when scale down......some controls on the small panel "disappear" 3 when I move mouse on the small panel(I change the background color in the EnterWindow event), or pan the backgound wxScrollWindow, or move the big panel(owns the 4 small panel), the wrong ef...
by gpu
Fri Aug 29, 2014 11:15 am
Forum: C++ Development
Topic: can ScrolledWindow resize with mouseWheel?
Replies: 17
Views: 3137

Re: can ScrolledWindow resize with mouseWheel?

met a wired problem. I mannually scale all the panels and the controls on it. when I scale up, it seems ok... but when i scale down(make them smaller), the controls on the panel seems draw first before the parent panel's background so that the controls seems at the bottom of the parent panel's back...
by gpu
Fri Aug 29, 2014 11:10 am
Forum: C++ Development
Topic: can ScrolledWindow resize with mouseWheel?
Replies: 17
Views: 3137

Re: can ScrolledWindow resize with mouseWheel?

ok,i know it ,lol:)
how about this?
the most important is how to do my 100% drawing, now the controls are all created and then just add as children of the myPanel
Can I draw all the controls by my self?
by gpu
Fri Aug 29, 2014 8:53 am
Forum: C++ Development
Topic: can ScrolledWindow resize with mouseWheel?
Replies: 17
Views: 3137

Re: can ScrolledWindow resize with mouseWheel?

met a wired problem. I mannually scale all the panels and the controls on it. when I scale up, it seems ok... but when i scale down(make them smaller), the controls on the panel seems draw first before the parent panel's background so that the controls seems at the bottom of the parent panel's backg...
by gpu
Fri Aug 29, 2014 6:25 am
Forum: C++ Development
Topic: wxImage::LoadFile path problem?
Replies: 4
Views: 1282

Re: wxImage::LoadFile path problem?

how about on Windows?
and is there a way that can woks fine cross the platform?
by gpu
Fri Aug 29, 2014 3:17 am
Forum: C++ Development
Topic: wxImage::LoadFile path problem?
Replies: 4
Views: 1282

wxImage::LoadFile path problem?

does wxImage::LoadFile only accept absolute path ? i tried just wxT("xxx.jpg"), wxT("./xxx.jpg"), but both failed....
if I have to use the absolute path, is there any way to get current working path?
by gpu
Fri Aug 29, 2014 2:38 am
Forum: C++ Development
Topic: can ScrolledWindow resize with mouseWheel?
Replies: 17
Views: 3137

Re: can ScrolledWindow resize with mouseWheel?

the most important is how to do my 100% drawing, now the controls are all created and then just add as children of the myPanel Can I draw all the controls by my self? ///////////////// I just tried scale, the wxStaticBimap and wxStaticText can resize through SetSize, but...the bitmap and text on it....