wxDIALOG_EX_CONTEXTHELP

I think you use wxPreDialog() then set styles then Create().
It's a two-part creation rather than just doing the
whole thing with one call.

Also see CHANGES.txt:

"""Added a new "constructor" to most of the window classes that calls the
default C++ contructor, (the one with no parameters) and also added the
coresponding Create(...) method. This allows you to do a 2-step
creation of windows which is sometimes required for doing things such
as setting extended style flags before the window is created, or for
passing the object to the XRC resource system to be created from the
resource. The name of the new "constructor" is the original name of
the class with a "Pre" in it. For example, wxPreWindow, wxPreFrame,
etc.
"""

This was added in 2.3.2

···

#--------------------------------
Jeff Sasmor
jeff@sasmor.com
----- Original Message -----
From: "Jesper Eskilson" <jojo@virtutech.com>
To: "wxPython mailinglist" <wxpython-users@lists.wxwindows.org>
Sent: Monday, February 03, 2003 8:47 AM
Subject: [wxPython-users] wxDIALOG_EX_CONTEXTHELP

How do I set wxDIALOG_EX_CONTEXTHELP for a dialog in my application? The
docs say that it must be set using SetExtraStyle() before Create() is
called, but I never call Create().

Any clues?

--
/Jesper

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org

"Jeff Sasmor" <jsasmor@gte.net> writes:

I think you use wxPreDialog() then set styles then Create().
It's a two-part creation rather than just doing the
whole thing with one call.

Also see CHANGES.txt:

"""Added a new "constructor" to most of the window classes that calls the
default C++ contructor, (the one with no parameters) and also added the
coresponding Create(...) method. This allows you to do a 2-step creation
of windows which is sometimes required for doing things such as setting
extended style flags before the window is created, or for passing the
object to the XRC resource system to be created from the resource. The
name of the new "constructor" is the original name of the class with a
"Pre" in it. For example, wxPreWindow, wxPreFrame, etc. """

Ah. Thanks.

···

--
/Jesper