Commit Graph

13748 Commits

Author SHA1 Message Date
Václav Slavík
41fecb4451 Cosmetic changes to wxSS::GetScreen:
1) Renamed to GetScreenType (so that the name better describes its function)
2) Changed use of <,>,<=,>= operators together with wxSYS_SCREEN_* so that
   'foo is smaller that bar' is written as 'foo < bar' and not (sic) 'foo > bar'


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-19 22:44:27 +00:00
Stefan Csomor
92432aa111 corrected direction when sending events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-19 08:00:34 +00:00
Gilles Depeyrot
2708457acc corrected assignement operator
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-19 07:09:51 +00:00
Vadim Zeitlin
ceeb12f25d refuse to run if not executed by the main configure script
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-18 23:36:55 +00:00
Vadim Zeitlin
57973b9c8a pass IF_GNU_MAKE and other configure params to the samples configure in wxUSE_GUI==0 case too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-18 23:33:48 +00:00
Robin Dunn
3ebfd15048 Applied patch to adjust ownership and permissions in the installer
package.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-18 17:30:29 +00:00
Vadim Zeitlin
79fa23744b check the return code of wxStream::Read() in wxImageHandler::DoCanRead()
and avoid reading uninitialized memory when it fails


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-18 12:41:51 +00:00
Julian Smart
baaae89f09 Updated font dialog constructors to use a reference to the font data
as per more recent convention


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-18 11:05:58 +00:00
Vadim Zeitlin
44fbc477af made SetItemText() work for the item which we're about to start editing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-17 23:54:42 +00:00
Stefan Csomor
61eb9fa155 conditionalized theme box drawing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-17 20:14:08 +00:00
Stefan Csomor
16106d9698 autoresize upon setting new bitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-17 20:13:37 +00:00
Stefan Csomor
1e4ad62a72 fixed wxScreenDC for X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-17 20:13:08 +00:00
Robin Dunn
5f9dc1f1ac Fixed the package build script so wxPython is built with the same
version of wxWindows made by the same script.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-17 17:19:06 +00:00
Robin Dunn
0f9479da00 Commented out debug messages
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-17 16:00:20 +00:00
Stefan Csomor
f574489317 title-less windows also for windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-17 14:10:29 +00:00
Stefan Csomor
54ddeb7e1b using QD Text under non OSX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-17 12:22:14 +00:00
Stefan Csomor
7759d157ea working closer to proper MLTE support under OSX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-17 12:20:15 +00:00
Stefan Csomor
85ea2e2077 no event upon changing value only anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-17 12:19:37 +00:00
Stefan Csomor
6606ecac87 conditials for TARGET_CARBON when drawing using appearance text box
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-17 12:18:19 +00:00
Stefan Csomor
35a8698b65 changed char event handling for ctrl-chars and skipped events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-17 12:16:38 +00:00
Stefan Csomor
35f6182b39 added GetApplicationScript for non Carbon builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-17 12:08:30 +00:00
Robin Dunn
5a1eefc73b A few little tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-17 06:01:44 +00:00
Robin Dunn
70b76c7ccd A few little tweaks, reswigged code for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-17 05:36:40 +00:00
Robin Dunn
8721cada6f Scripts to make a installer package in a disk image for wxPython and
for Python too.  It's a strange mixture of sh, csh and perl, but it
works.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-17 05:33:32 +00:00
Vadim Zeitlin
f44b4495db fixed the selection rectangle drawing (was off by 1)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-16 19:27:49 +00:00
Vadim Zeitlin
f6278a74c2 use the menu item text, not label, in the owner drawn items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-16 19:26:26 +00:00
Vadim Zeitlin
aacc44c6b7 fixed wrong array index in UuidToCForm
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-16 18:48:17 +00:00
Jouk Jansen
9988e82e74 Committing in .
OpenVMS configuration file update.

 Modified Files:
 	wxWindows/setup.h_vms
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-16 12:49:26 +00:00
Vadim Zeitlin
c7beb04848 generate EVT_SCROLL events for the standalong scrollbars, not EVT_SCROLLWIN
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-16 10:45:49 +00:00
Julian Smart
7882729eb5 Check for null return value in wxClientDC constructor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-15 20:03:07 +00:00
Julian Smart
f4bd67593e Don't call a function that might do drawing when setting a null image list
(might be deleting the tree control)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-15 19:59:10 +00:00
Robin Dunn
077f7c57a0 Updates from contributor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-15 19:46:31 +00:00
Robin Dunn
756ed80cb8 An implementation of wxPen.GetDashes.
wxSplitterEvent derives from wxNotifyEvent.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-15 19:46:10 +00:00
Robin Dunn
23c0ea8c42 demo update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-15 19:45:03 +00:00
Robin Dunn
d579c54e3e Some files to ignore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-15 19:09:31 +00:00
Robin Dunn
451c5cc7b9 wxSTC changes to help it work better on wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-15 19:07:48 +00:00
Robin Dunn
774e63ef5a more demo updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-15 19:06:54 +00:00
Julian Smart
f8169ce715 Added missing const for operator !=
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-15 13:13:17 +00:00
Gilles Depeyrot
6dcbb6d0d9 applied copy constructor fix to assignment operator as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-15 06:22:01 +00:00
Robin Dunn
d18c7c6dfc Re-enable clipboard and DnD classes for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-15 05:05:48 +00:00
Robin Dunn
0af45411b9 demo updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-15 05:05:02 +00:00
Julian Smart
d665f50b8c In an expose event, the m_clearRegion is also updated as well
as m_updateRegion because otherwise in a scroll or resize,
a custom OnEraseBackground method will draw over more window than
OnPaint will redraw -- clearly not what's wanted.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-14 20:38:22 +00:00
Vadim Zeitlin
63ec9dbbac don't send SPLITTER_POS_CHANGED events when the splitter position was changed from the program itself
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-14 18:10:04 +00:00
Václav Slavík
936b18ac29 no, DO NOT use wxMessageBox where wxLogError is more suitable
(and don't display Information icon when reporting an *error* (sigh...))


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-14 17:58:54 +00:00
Julian Smart
2012e3ea0f Fixed double deletion in region iterator
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-14 15:49:35 +00:00
Robin Dunn
0f713d485b Fixed a lost #else
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-14 14:37:33 +00:00
Julian Smart
946fb2b9dd Initialized control member pointers and checked for null pointer
to make controls sample run on MacOS X again


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-14 14:05:12 +00:00
Julian Smart
6688f23d63 Now shows author correctly under MacOS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-14 13:53:48 +00:00
Vadim Zeitlin
2e08b1a367 added missing extern "C" required for Sun CC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-14 12:28:07 +00:00
Vadim Zeitlin
5f4bffab21 renamed main to mymain to suppress the warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-14 11:33:24 +00:00