Commit Graph

12716 Commits

Author SHA1 Message Date
Ron Lee
34c3ffca5b Added GetMaxSize virtual method for use by sizers.
Modified wxSizer to use it instead of crushing all windows to
the display size.

Currently only top level windows are limited to display size,
all other windows are unlimited (inside the clipping region of
their tlw).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-09 02:58:13 +00:00
Robin Dunn
b36de7d0ce Visual C++ needs sys/stat.h too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-09 02:42:09 +00:00
Václav Slavík
d41adb6e05 corrections to the wxEditableListBox patch, removed conflict indicator checked in by mistake
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-08 23:59:15 +00:00
Václav Slavík
dd1d4b137b applied patch to wxEditableListBox that adds wxEL_ALLOW_{EDIT,NEW,DELETE} with obvious meanings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-08 23:57:35 +00:00
Václav Slavík
d962864764 fixed MSVC compilation and warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-08 23:48:38 +00:00
Václav Slavík
5489a64378 fixed MSVC warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-08 23:48:16 +00:00
Václav Slavík
955c525d2c case insensitive <font face>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-08 23:47:48 +00:00
Václav Slavík
2e25e7b762 let the sample display existing page on start
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-08 23:43:39 +00:00
Václav Slavík
00251d9bf7 fixed bug in wxHtmlHelpFrame: didn't show HTML window when navigation panel was off
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-08 23:43:11 +00:00
Robin Dunn
91a64dfd31 Little tweaks and fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-08 23:06:21 +00:00
Robin Dunn
ff42dd6650 Changes for recent htmlhelp updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-08 23:05:27 +00:00
Robin Dunn
7248a051ef Added a wxIconFromBitmap "constructor" for wxIcon.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-08 23:04:56 +00:00
Mattia Barbon
4aebbc599e (Hopefully) last fix for daily builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-08 21:37:22 +00:00
Robin Dunn
d91535c47f Fixed compilation error.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-08 21:20:57 +00:00
Robin Dunn
6187ec8f45 Added patch that adds style flags for wxEditableListBox to not use
some of its standard buttons.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-08 21:10:04 +00:00
Ron Lee
04662def27 Added SetLogBuffer method.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-08 20:01:38 +00:00
Robin Dunn
c1beeb57cf Yet another update of XRCed. Fixes some display issues and some minor
buglets.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-08 17:55:41 +00:00
Vadim Zeitlin
df0dc216ad fixed typo (missing comma) in MIME test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-08 16:33:54 +00:00
Vadim Zeitlin
186cecd441 theoretically unnecessary but practically required fix for showing the selected filename in the text control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-08 12:27:00 +00:00
Julian Smart
086fd5603b ProcessXEvent now returns TRUE if processed, FALSE if not
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-08 12:06:12 +00:00
Ron Lee
6f8239de23 Moved assert to before the segfault.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-08 01:23:17 +00:00
Vadim Zeitlin
b547fe8721 added a const version of wxColourData::GetColour()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-07 23:36:44 +00:00
Robin Dunn
5cd16c0c45 Removed unneeded assert
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-07 22:42:02 +00:00
Robin Dunn
55d186514e SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-07 21:48:34 +00:00
Robin Dunn
3999941a70 Bugfix for wxTreeCtrl.InsertItemBefore and more SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-07 21:47:30 +00:00
Václav Slavík
5ecdcaa78f rewrote Chris' fix properly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-07 21:45:03 +00:00
Robin Dunn
18fc9fa3b5 More XRCed updates from Roman
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-07 21:33:31 +00:00
Robin Dunn
f0972d1ea4 SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-07 20:36:54 +00:00
Robin Dunn
7d0180d415 SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-07 20:34:32 +00:00
Robin Dunn
e5d41db01a Added some anchor related methods to wxHtmlWindow as suggested on the
wxPython-users list.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-07 20:33:58 +00:00
Robin Dunn
c6ebc32af0 more updates for recent toolbar changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-07 20:32:21 +00:00
Robin Dunn
79f1d86caf Added python support for a virtual CanDismiss method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-07 20:32:00 +00:00
Robin Dunn
445365141a Added a Python-specific Append method to the wxListCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-07 20:31:15 +00:00
Robin Dunn
88c7f3f938 rearrainging a few things
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-07 20:29:55 +00:00
Julian Smart
1b21409b36 Corrections in light of recent toolbar and other changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-07 18:48:03 +00:00
Julian Smart
cd72551c2b Added VC++ project files for remaining Gizmo samples
Corrected some precompiled header issues for dynsash samples
Corrected IMPLEMENT_ABSTRACT_CLASS in multicell.cpp
Added an event function typedef and used it in dynsash sample


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-07 10:06:23 +00:00
Gilles Depeyrot
41b3c9662d correction to float array declaration following array implementation changes (will compile and run as before but probably doesn't do what was intended)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-07 09:47:22 +00:00
Vadim Zeitlin
a12ffe1a35 define wxFRAME_FLOAT_ON_PARENT as wxFRAME_TOOL_WINDOW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-06 23:59:16 +00:00
Vadim Zeitlin
19f45995fb fixes for non interactive execution
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-06 23:18:43 +00:00
Gilles Depeyrot
6a1c4604fc fixed creation of Info.plist file for Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-06 22:06:27 +00:00
Robin Dunn
f0c20d947b A new version of XRCed from Roman Rolinsky with a few tweaks by me.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-06 21:41:19 +00:00
Ron Lee
820b49cdbf removed superfluous assignment handled in base class.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-06 20:43:07 +00:00
Mattia Barbon
1297925905 More fixes for daily builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-06 20:11:51 +00:00
Julian Smart
45da7759b8 Applied [ 516382 ] FL toolbar patch
This patch addresses following issues on FL dynamic
toolbar:

* Removes duplicate code in
wxNewBitmapButton::RenderLabelImage(). (The code
between line 452-500 and 502-550 is the same.)

* Adds wxNewBitmapButton::Enable() own method to proper
drawing of enabled/disabled buttons.

* Changes "focused" state (of wxNewBitmapButton)
implementation from EVT_MOTION to
EVT_ENTER/LEAVE_WINDOW pair, because capturing mouse in
EVT_MOTION handler blocks some key events (control
characters, function keys), so underlynig app doesn't
receive all key events when mouse pointer is above
toolbar button.
Also "prev" state member variables are removed by this
patch (and IMHO they should be removed regardles on
accepting this patch - they are initalized and used
only in wxNewBitmapButton::OnMouseMove() method).
(Note: Blocking some keys can be only MSW problem, but
I can't verify it.)

* Adds EVT_LEFT_DCLICK handler to wxNewBitmapButton -
without this handler, toolbar button loses second
clicks if user presses left mouse button "fast enough".
Unfortunately, it doesn't handle drawing of
pressed/released button - it's only one event in
contrast to EVT_LEFT_UP/DOWN.

* Enables tooltips (in proper
wxDynamicToolBar::AddTool() method).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-06 19:05:25 +00:00
Julian Smart
012a01fc1e Applied [ 520664 ] filedlg patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-06 18:58:01 +00:00
Julian Smart
fc7995487f Applied patch for Forty, print patch and wxHTML book patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-06 17:50:52 +00:00
Vadim Zeitlin
f1322419da fixes to the new pointer array implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-06 16:26:25 +00:00
Vadim Zeitlin
0eeeb25fee explained how the existing array declarations must be updated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-06 15:52:08 +00:00
Vadim Zeitlin
17c89ef314 check for sizeof(void *), not sizeof(int *) - not really different but looks nicer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-06 14:05:57 +00:00
Vadim Zeitlin
cf72f75f8a forbid copying wxEvtHandlers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-06 11:38:52 +00:00