After a bit of googling I haven't been able to find a solution so I do
apologise for the post?
Why do wxDialog & wxMessageDialog not inherit the parent wxWindows
Set/GetBackgoundColour methods?
They do, but they may or may not use them depending on platform, theme, etc. For example on MSW the wxMessageDialog is not a real wxDialog, but just a wrapper around an API function that invokes the native message dialog.
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!
IIRC the printing framework is being disabled for some reason. Try adding --enable-printarch to the configure command and then rebuild wxGTK2. (Check the output of configure to make sure that it enabled it. If not then you'll need to zero in to find out why.)
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!
That makes sense ... presumably same with wxFileDialog etc ... so do I need
to provide native API calls to change the colour attributes? Is there even a
( not too messy) way of doing this?
···
----- Original Message -----
From: "Robin Dunn" <robin@alldunn.com>
To: <wxPython-users@lists.wxwindows.org>
Sent: Friday, November 07, 2003 12:46 PM
Subject: Re: [wxPython-users] SetBackgroundColour In Dialogs
Ben Catanzariti wrote:
> Hi,
>
> After a bit of googling I haven't been able to find a solution so I do
> apologise for the post?
>
> Why do wxDialog & wxMessageDialog not inherit the parent wxWindows
> Set/GetBackgoundColour methods?
They do, but they may or may not use them depending on platform, theme,
etc. For example on MSW the wxMessageDialog is not a real wxDialog, but
just a wrapper around an API function that invokes the native message
dialog.
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.423 / Virus Database: 238 - Release Date: 26/11/2002
That makes sense ... presumably same with wxFileDialog etc ... so do I need
to provide native API calls to change the colour attributes? Is there even a
( not too messy) way of doing this?
No.
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!
IIRC the printing framework is being disabled for some reason. Try
So you say that wxPython must use wx printing architecture and cannot
be compiled without it?
adding --enable-printarch to the configure command and then rebuild
wxGTK2. (Check the output of configure to make sure that it enabled it.
Configure said it was enabled, but the compiler barfed. So I dived in...
If not then you'll need to zero in to find out why.)
First thing that I discovered was that wxUSE_PRINTING_ARCHITECTURE
was 0 in the setup.h. Investigation of logs revealed that wxPython's
configure could not find libpangoft2. Deeper investigation showed that
pango requires fontconfig, but can be buil without it - and leave
libpangoft2 unconfigured and uninstalled. Hidden dependancy.
So I downloaded fontconfig (that was a bit tricky by itself, because
fonconfig.org redirects to freedesktop.org, which is nonexisting...
someone had forgotten to renew the domain, probably), compiled and
installed it, recompiled and reinstalled pango, recompiled wxGTK, and
finally compiled wxPython.
IWBN to add this hidden dependency into docs and configure, so
wxPython compilation fails earlier and with more meaningful error
message.
Oleg.
···
On Thu, Nov 06, 2003 at 05:47:10PM -0800, Robin Dunn wrote:
--
Oleg Broytmann http://phd.pp.ru/ phd@phd.pp.ru
Programmers don't die, they just GOSUB without RETURN.
IIRC the printing framework is being disabled for some reason. Try
So you say that wxPython must use wx printing architecture and cannot
be compiled without it?
Yeah, currently that is the case.
adding --enable-printarch to the configure command and then rebuild wxGTK2. (Check the output of configure to make sure that it enabled it.
Configure said it was enabled, but the compiler barfed. So I dived in...
If not then you'll need to zero in to find out why.)
First thing that I discovered was that wxUSE_PRINTING_ARCHITECTURE
was 0 in the setup.h. Investigation of logs revealed that wxPython's
configure could not find libpangoft2. Deeper investigation showed that
pango requires fontconfig, but can be buil without it - and leave
libpangoft2 unconfigured and uninstalled. Hidden dependancy.
So I downloaded fontconfig (that was a bit tricky by itself, because
fonconfig.org redirects to freedesktop.org, which is nonexisting...
someone had forgotten to renew the domain, probably), compiled and
installed it, recompiled and reinstalled pango, recompiled wxGTK, and
finally compiled wxPython.
Thanks for checking into this. I'll create a bug report about it.
···
On Thu, Nov 06, 2003 at 05:47:10PM -0800, Robin Dunn wrote:
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!