On 23/02/10 23:06, Johan Vromans wrote:
Hi,
The following (mostly wxGlade generated) program doesn't look native
to me. See screenshot.
I'm not very familiar with Wx on Windows, so I'm probably overlooking
something trivial.
Any pointers?
-- Johan
You have the background colour set
Hi,
I don't recall if I read it in an instruction somewhere or not, but I
have always regarded drawing controls directly onto a Wx::Frame as not
working. I always just assumed that you need a container class
(Wx::Panel or Wx::Notebook etc). Certainly, on MSWin you get the
unexpected (as per
[Quoting Mark Dootson, on February 23 2010, 14:37, in Re: Strange appearan]
I don't recall if I read it in an instruction somewhere or not, but I
have always regarded drawing controls directly onto a Wx::Frame as not
working. I always just assumed that you need a container class
(Wx::Panel
jvrom...@squirrel.nl (Johan Vromans) writes:
Frame - Sizer - Panel - Sizer - Controls looks better,
Except that most of my controls no longer get their clicks...
(Windows only, works perfectly on Linux.)
Any suggestions?
-- Johan
Try putting down a Panel first, then your StaticBoxSizer on top of the
panel.
On Tue, Feb 23, 2010 at 5:06 AM, Johan Vromans jvrom...@squirrel.nl wrote:
Hi,
The following (mostly wxGlade generated) program doesn't look native
to me. See screenshot.
I'm not very familiar with Wx on
[Quoting Mark Dootson, on February 23 2010, 15:52, in Re: Strange appearan]
Something else going on.
Crude change to x.pl attached - clicking on 'Hi' text gets a mouse event?
Yes.
BTW: The problem with the controls is a different application (as you
may expect).
Frame
Controls (that
Something else going on.
Crude change to x.pl attached - clicking on 'Hi' text gets a mouse event?
On 23/02/2010 15:36, Johan Vromans wrote:
jvrom...@squirrel.nl (Johan Vromans) writes:
Frame - Sizer - Panel - Sizer - Controls looks better,
Except that my controls no longer get clicks
Hi - this may appear twice - mail client problems.
Something else going on.
Crude change to x.pl attached - clicking on 'Hi' text gets a mouse event?
On 23/02/2010 15:36, Johan Vromans wrote:
jvrom...@squirrel.nl (Johan Vromans) writes:
Frame - Sizer - Panel - Sizer - Controls looks
[Quoting Mark Dootson, on February 23 2010, 16:13, in Re: Strange appearan]
I would guess wxTAB_TRAVERSAL as a panel style is the answer?
Nah, that would be much too easy...
Panel 0
Controls (that work)
Panel 1
TextCtrl
Panel 2