Commit Graph

4086 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
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
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
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
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
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
Robin Dunn
0c5b83b0fa Added some inline helpers so the dependence on wxUSE_UNICODE and
wxUSE_WCHAR_T can be localized instead of having #if's all over the
place.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-13 23:31:02 +00:00
David Webster
430974f8c4 Weekly catch up.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-13 18:10:59 +00:00
Vadim Zeitlin
3fde374f3f fixes to wxFontDialog after recent changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-12 22:26:01 +00:00
Vadim Zeitlin
dbc65e2760 fixed wxFontDialog API: accept const ref instead of (well, in addition to) a possibly NULL pointer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-12 19:35:33 +00:00
Julian Smart
c42a918295 Added overloaded AddChild from contributor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-12 18:43:46 +00:00
Gilles Depeyrot
50947acc3b corrected wxFontData assignement operator (was recursive!)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-12 07:48:53 +00:00
Vadim Zeitlin
036da5e374 changed the handling of the default buttons to be more logical
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-11 22:31:05 +00:00
Gilles Depeyrot
7c720ce633 added wxControlWithItems constructor/destructor (for Darwin)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-11 17:14:46 +00:00
Gilles Depeyrot
34eac3a87d corrected pragma interface
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-11 17:13:20 +00:00
Mattia Barbon
95197553f1 const KEY_T& does not do the right thing for pointers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-11 08:43:35 +00:00
Stefan Csomor
8a2c82c1eb exposed background theme
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-11 06:39:49 +00:00
Stefan Csomor
e4befcd344 DrawParagraph changed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-11 06:39:24 +00:00
Stefan Csomor
f816930c05 common value change method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-11 06:38:53 +00:00
Stefan Csomor
5fcf715b5e added keyboard focus & typein
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-11 06:38:31 +00:00
Gilles Depeyrot
6d1b9112dc removed test supposed to detect lazy binding issues since it breaks
loading of dynamic modules


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-10 19:01:47 +00:00
David Webster
ad6bd8701e Fix for upside down bmp projections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-10 04:09:27 +00:00
David Webster
c3f7931401 Folder icon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-10 04:08:11 +00:00
Robin Dunn
64bea2bf57 Added a couple missing WXDLLEXPORTs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-09 22:49:07 +00:00
Vadim Zeitlin
ba14d9861d applied patch to build wxMSW with CW7 (patch 550445)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-09 22:34:44 +00:00
Vadim Zeitlin
7cf46fdb3e fixed list item attributes when inserting/deleting items (patch 548391)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-09 22:21:15 +00:00
Vadim Zeitlin
9154d8cfff added/documented wxApp::FilterEvent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-09 17:21:02 +00:00
Vadim Zeitlin
c11d62a6e2 added (and documented) wxSafeShowMessage, use it in wxLogFatalError instead of wxMessageBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-09 15:59:42 +00:00
Vadim Zeitlin
e6e6fcc922 the build options are now checked in the application, not the library which allows to avoid having to define wxGetBuildOptions()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-09 15:58:29 +00:00
Gilles Depeyrot
a6391d3022 implement explicit copying instead of forbidding it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-09 12:18:54 +00:00
Stefan Csomor
8481948ef1 added rtti to tooltip, mlte implementation to textctrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 22:50:09 +00:00
Vadim Zeitlin
050e7ed73b added missing wxListItem copy ctor to wxMSW, moved wxListItem to the header
to avoid duplicating it in wxMSW and the generic versions


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 22:29:57 +00:00
Gilles Depeyrot
684242c6d8 implemented lazy binding detection (broken RTTI classinfo detection)
forbid copying of wxObject and wxClassInfo
corrected conditional compilation for CodeWarrior 5.3


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 21:17:17 +00:00
Gilles Depeyrot
e6a6feba84 implemented explicit copy constructors (needed for cloning)
declared private assignement operators


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 21:13:51 +00:00
Julian Smart
58cf0491e3 Added Ok() member for print data, print dialog, page dialog, page dialog data
so we can test in advance whether the print/page setup dialogs will fail.
Removed assertions that would fire if the default printer was not found, for example.
Added call to Ok() from HTML print code with suitable error message.
Commented out my erroneous fix to wxStaticText.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 19:00:43 +00:00
Gilles Depeyrot
ba161d7e95 corrected warnings when compiling with -Wall -W
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 14:17:22 +00:00
Gilles Depeyrot
b1801e0eb8 improved out of memory handling by return failure status where possible and
adding asserts in debug mode (suggested by SourceForge patch # 544906)
corrected warnings when compiling with -Wall -W


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 14:11:40 +00:00
Gilles Depeyrot
f2af4afb82 corrected warnings when compiling with -Wall -W
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 14:00:23 +00:00
Gilles Depeyrot
3475a005d6 implemented missing copy constructor (needed for non trivial member)
corrected warnings when compiling with -Wall -W


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 13:55:36 +00:00
Gilles Depeyrot
be52b34172 added DECLARE_NO_COPY_CLASS where appropriate since wxObject should not
provide implicit copy constructor or assignement (will be corrected)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 13:30:26 +00:00
Mattia Barbon
a4ac80e181 Fixed programming error (and BCC warning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 13:28:18 +00:00
Gilles Depeyrot
e7600a2cab corrected warnings when compiling with -Wall -W
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 13:24:00 +00:00
Gilles Depeyrot
01babda34e corrected conditional compilation for Darwin / Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 13:19:14 +00:00
Gilles Depeyrot
5e472c1f9f corrected warnings when compiled with -Wall -W
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 13:17:53 +00:00
David Webster
1759c49133 More of the same.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 05:22:36 +00:00
Vadim Zeitlin
e49d97e66a fixed Windows style of wxPopupWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-07 23:27:59 +00:00
Gilles Depeyrot
d84afea9d1 corrected warnings when compiling with -Wall -W
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-07 21:58:27 +00:00
Gilles Depeyrot
54380f29f0 implemented explicit copy constructor and assignement operator
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-07 20:40:04 +00:00
Vadim Zeitlin
090a6d7af9 added wxBuildOptions and check that they are the same for the program and the library on startup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-07 19:56:43 +00:00