Commit Graph

13932 Commits

Author SHA1 Message Date
Robin Dunn
bb751cf906 Fixed wxMac's wxStaticText::SetFont to behave like the others and
resize the control to fit the text


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-27 21:21:49 +00:00
Robin Dunn
107ffdc16d Fixed a tex2rtf warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-27 19:47:21 +00:00
Robin Dunn
722a4a3c4b SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-27 19:34:53 +00:00
Robin Dunn
479101cac1 Changed the default style flags on wxSplashScreen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-27 19:23:10 +00:00
Robin Dunn
40c4c5a3b5 workaround for assert about wxFRAME_FLOAT_ON_PARENT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-27 18:39:46 +00:00
Robin Dunn
298ae14495 SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-27 18:24:27 +00:00
Robin Dunn
e67409dcb6 SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-27 17:55:09 +00:00
Robin Dunn
47feb54b6b Fix exception when there are no items in the sizer yet
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-27 17:54:45 +00:00
Robin Dunn
44e50dc1ad Added a bit of test code (commented out)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-27 17:53:58 +00:00
Robin Dunn
d42e29c26f Reduce flicker in the demo when image is dragged out of the frame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-27 17:53:27 +00:00
Robin Dunn
203c2f9a9a changes to match recent CVS updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-27 17:52:57 +00:00
Robin Dunn
c4770edd1c Some cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-27 17:51:22 +00:00
Robin Dunn
95b3e2768f UsePrimarySelection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-27 17:50:55 +00:00
Vadim Zeitlin
c73b439f80 added wxWizard::Fit()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-26 22:41:35 +00:00
Vadim Zeitlin
ec5bb70d65 attempts to make GetBestSize() work using constraints (failed)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-26 22:37:42 +00:00
Vadim Zeitlin
fb35f0c79c set the id in wxMouseEvent (bug 484245)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-26 12:51:04 +00:00
Vadim Zeitlin
76106901f6 added more spin event handlers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-26 12:46:41 +00:00
Vadim Zeitlin
73c62f5417 updated wxSpinXXX event docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-26 12:46:20 +00:00
Vadim Zeitlin
3d9fe7b26d add full 32 bit range support to wxSpinButton/Ctrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-26 12:19:53 +00:00
Vadim Zeitlin
dea077b164 set the focus to the first control in the dialog when it is shwon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-26 12:04:12 +00:00
Vadim Zeitlin
39c2d6bde1 globally renamed INT32 to JPEG_INT32 to solve the [re]definition problems with cygwin/mingw32 headers which sometimes define INT32 and sometimes don't
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-26 11:49:37 +00:00
Vadim Zeitlin
efe23391ab added test for EditLabel, Unicode fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-26 10:53:51 +00:00
Vadim Zeitlin
6aaef1403e fix for the crash when pressing TAB in the edit control created by EditLabel() (bug 555749)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-26 10:53:23 +00:00
Stefan Csomor
d4380aafdd make sure we are removing ourselves from the focus of the toplevel frame when deleting (copied from msw)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-26 07:53:42 +00:00
Stefan Csomor
b821344e13 added accessors for last focus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-26 07:49:32 +00:00
Vadim Zeitlin
c25b5d1fa5 fixes to better remember the last focused child; also restore it using SetFocus() and not SetFocusFromKbd()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-25 21:01:56 +00:00
Vadim Zeitlin
869f248c8d fixed assert when using wxMiniFrame (result of recent changes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-25 20:34:13 +00:00
Vadim Zeitlin
9dfef5ac20 changes to wxFRAME_NO_TASKBAR/FLOAT_ON_PARENT styles handling which should
now work more as expected


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-25 17:11:19 +00:00
Vadim Zeitlin
146ba0feac new wxWindow::FindWindowByXXX() methods replacing the old global functions
(patches 560214, 559916, 559811, ...)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-25 14:24:43 +00:00
Vadim Zeitlin
3317223b08 fixed calling Union() or Offset() on a previously Clear()ed region, also removed some duplicate code (bug 560302 and more)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-25 14:23:36 +00:00
Vadim Zeitlin
7e25f59e48 prevent the parent window from losing activation when a popup is shown
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-25 13:02:58 +00:00
Robert Roebling
d45bc43695 Set the focus to the html display window
if the help frame comes to the front.
    With this, you can use context sensitive
    help systems without the mouse.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-25 09:40:17 +00:00
Vadim Zeitlin
51b07644bb added test for loading image from wxMemoryStream
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-24 22:23:24 +00:00
Vadim Zeitlin
915a955caf fixed wxStreamBuffer::Tell() to return at least sometimes a valid result
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-24 22:09:13 +00:00
Vadim Zeitlin
d2d50a41fc wxTextCtrl::OnChar() can't be used to translate the key strokes in the text control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-24 21:31:43 +00:00
Robin Dunn
dcbd3aed96 and fixed a type too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-24 17:15:53 +00:00
Robin Dunn
ee5e82150f Fixed a quoting problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-24 16:28:29 +00:00
Vadim Zeitlin
e83ecba968 fixedb ug with normalization of UNC paths (patch 558701)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-23 22:01:36 +00:00
Vadim Zeitlin
76c79ff467 popup windows wre not using TOPMOST style under wxUniv any longer -- fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-23 21:52:21 +00:00
Vadim Zeitlin
abcbaea73f wxUniv compilation fixes (patch 559620)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-23 21:25:06 +00:00
Vadim Zeitlin
554726912a ixed compilation for wxUSE_STREAMS == 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-23 21:23:10 +00:00
Robert Roebling
22a70443db The combobox didn't like empty strings at all. It
caused the pop-up-list to get skrewed up.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-23 20:35:14 +00:00
Robert Roebling
72763bfed4 Redirect SetFocus Part II.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-23 17:57:47 +00:00
Robert Roebling
465605e0fd Redirect wxComboBox::SetFocus to its text field Part I.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-23 17:57:07 +00:00
Robert Roebling
d81152f480 Let wxFileSystem use wxFFileInputstream and not
wxFileInoutStrea as that is broken on Macs.m


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-23 17:56:17 +00:00
Robert Roebling
311d5aa3aa Did I change anything here?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-23 17:54:44 +00:00
Robert Roebling
d45906e0a7 wxSPinCtrl no longer set focus to its text field
when setting a value.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-23 17:53:44 +00:00
Robert Roebling
9a456218de wxButtons no longer leave junk on dialogs when moved.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-23 17:52:55 +00:00
Vadim Zeitlin
91c68292f6 fixed propagating of EVT_WIZARD_XXX events to the parent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-22 23:36:20 +00:00
Vadim Zeitlin
39d16996b7 restore the stream position in wxImageHandler itself instead of forcing all
derived classes to do it themselves


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-22 23:14:47 +00:00