Commit Graph

32270 Commits

Author SHA1 Message Date
Julian Smart
556bf2c368 Mac doesn't like getting an icon if it's a bitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-31 16:22:54 +00:00
Julian Smart
bd1a4a99fc wxControl::SetLabel no longer strips out codes so do it here
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-31 16:01:19 +00:00
Julian Smart
4c410aa14e Added missing include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-31 15:37:19 +00:00
Julian Smart
59fbed90b9 Added wxUSE_TOOLBOOK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-31 15:12:00 +00:00
Julian Smart
5ec3bc4302 Regenerated configure for wxToolbook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-31 14:37:49 +00:00
Julian Smart
cc8bc5aa9c Added SetSheetStyle to property sheet dialog to allow specification
of alternative book styles and shrink-to-fit mode
Updated dialogs sample with example of toolbook-style property sheet dialog


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-31 13:54:17 +00:00
Julian Smart
93bfe54527 Introduced the ability to size a book control based on the currently selected page
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-31 13:51:33 +00:00
Julian Smart
7567821087 Put MFC sample at end of list
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-31 09:29:24 +00:00
Julian Smart
77fa9e4447 Added toolbook.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-31 09:28:51 +00:00
Robin Dunn
e062c6a4d0 Another patch from Tim Kosse for using images on more than one column
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-31 02:37:23 +00:00
Robin Dunn
e731cb64e6 Putting the SetBestFittingSize() call at the end of wxToolBar::Realize
seems to cause more problems than it fixes, and in fact I can't seem
to duplicate the problems that it had before any longer, so let's
remove it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-31 01:55:59 +00:00
Włodzimierz Skiba
588be5ae1c Last parameter of GetVolumeInformation() is not pointer.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-31 00:54:26 +00:00
Julian Smart
84dc821c24 Reverting patch 1325857
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-30 20:04:58 +00:00
Włodzimierz Skiba
03a37db96a Tree != List
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-30 16:46:55 +00:00
Robin Dunn
34d6780ea2 This is a TOOLBOOK, not a LISTBOOK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-30 16:38:19 +00:00
Julian Smart
f4edf1386a Added wxUSE_TOOLBOOK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-30 16:26:30 +00:00
Julian Smart
fd0d619f5d Entry for wxToolbook.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-30 16:00:22 +00:00
Julian Smart
d709457c8d Adapted notebook sample to demonstrate wxToolbook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-30 15:40:32 +00:00
Julian Smart
7dcea26b0b Updates for wxToolbook class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-30 15:38:51 +00:00
Julian Smart
3c55b3652b Added wxToolbook class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-30 15:35:04 +00:00
Julian Smart
233387bdcb Separated out book control sizing code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-30 15:19:48 +00:00
Jouk Jansen
e16c4fe100 Committing in .
Updated OpenVMS compile support

 Modified Files:
 	wxWidgets/descrip.mms
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-30 12:32:08 +00:00
David Surovell
2458faeb60 wxPython tab cleaning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-29 17:35:47 +00:00
Robert Roebling
6e5551ad85 Fix rawbitmap sample to clear bitmap first.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-29 15:44:21 +00:00
David Surovell
9d7d3b1f9f remove extraneous whitespace
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-29 08:49:53 +00:00
Robin Dunn
bf56f4ece0 Ensure the window is still valid before adjusting the scrollbars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-29 02:36:29 +00:00
Robin Dunn
59c24dcbf6 Minor demo tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-29 02:34:44 +00:00
Robin Dunn
1ea8df6e6b Changes needed to be able to build with SWIG 1.3.24, 1.3.27 as well as
the upcoming 1.3.28, using #if statements on SWIG_VERSION.

Adjustments to ownership of SWIG objects, add some destructors and
explicitly disown non-window objects when their ownership is
transfered to a C++ object.

Since all window objects are owned by their parent, or by themselves,
always set their thisown attribute to False.

Explicitly set thisown to False after any Destroy() methods are
called, so SWIG doesn't try to destroy them again.

Etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-29 02:33:00 +00:00
Robin Dunn
dd400cf46d Ouput a SWIG_VERSION #define to the wrapper file.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-29 02:14:44 +00:00
Robin Dunn
214c4fbea5 Changes needed to be able to build with SWIG 1.3.24, 1.3.27 as well as
the upcoming 1.3.28, using #if statements on SWIG_VERSION.

Adjustments to ownership of SWIG objects, add some destructors and
explicitly disown non-window objects when their ownership is
transfered to a C++ object.

Since all window objects are owned by their parent, or by themselves,
always set their thisown attribute to False.

Explicitly set thisown to False after any Destroy() methods are
called, so SWIG doesn't try to destroy them again.

Etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-29 02:09:45 +00:00
Robin Dunn
9a3fba2459 no longer need to lowercase the input ourselves
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-29 01:36:59 +00:00
Robin Dunn
b6222be998 Use reference types on SetDimension so the proper typemaps are used.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-29 01:35:14 +00:00
David Surovell
09e28f7f8d minor changes as per RN comments - add some comments and reorder a switch stmt.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-28 18:25:40 +00:00
David Surovell
13a1e96f92 improved LaunchDefaultBrowser on FreeBSD systems by using the BROWSER env var when no HTML file MIME mapping is found
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-28 18:06:09 +00:00
Stefan Neis
c52e0d0e51 Do test for get{host,serv}byname_r in C++ mode, so non visible declarations
cannot break compilation of gsocket.cpp.
Replaced AC_LANG_SAVE/RESTORE by AC_LANG_PUSH/POP for consistency.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-28 13:52:17 +00:00
Stefan Csomor
e8027adbb6 converting menu ids and safeguarding against missing menu items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-28 12:28:56 +00:00
Julian Smart
c137ddc91f Further attempts at WinCE media control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-28 10:56:27 +00:00
Stefan Csomor
d086c633ad attempt to fix endian problems when doing cross-compiles for universal binaries from a ppc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-28 06:59:20 +00:00
Kevin Ollivier
e61e59643e Adding Reswig and Universal binary options to both build_packages.sh and the wxPythonOSX/build script.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-28 02:11:22 +00:00
Vadim Zeitlin
3110909fec SetSelection() must update m_selectionOld, otherwise it doesn't correspond to the real selection any more and selection change events are sent twice
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-28 00:43:23 +00:00
Julian Smart
be96ed8c5d Further steps towards media control support in WinCE (Ryan Norton)
- not yet working


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-27 23:32:12 +00:00
Julian Smart
ca1514b304 Small typo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-27 23:30:50 +00:00
Vadim Zeitlin
b9bae707bb don't eat all events if m_maxLength is 0: this means no limit according to the docs and both wxMSW and wxGTK behave like this
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-27 23:05:23 +00:00
Kevin Ollivier
2ca2357ded Since Universal binaries compile the same file twice for different architectures, we need to allow WORDS_BIGENDIAN to be re-defined.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-27 22:54:41 +00:00
Vadim Zeitlin
f20e3df6d3 fixed MIPSpro version in the comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-27 22:50:16 +00:00
Michael Wetherell
5a0a8487c4 Link oleacc.lib conditionally since VC++ 5 w/o PSDK doesn't have it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-27 22:07:12 +00:00
Włodzimierz Skiba
a33e2266dc Fix fro conflict between defs.h and glib headers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-27 17:32:03 +00:00
Stefan Csomor
aa44b55d4f removing unnecessary code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-27 17:05:23 +00:00
Stefan Csomor
04bf2fb515 adapting keycode field usage for EVT_CHAR in unicode to MSW variant (full unicode char)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-27 17:04:15 +00:00
Włodzimierz Skiba
799181197d Fix fro conflict between defs.h and glib headers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-27 15:43:16 +00:00