Commit Graph

308 Commits

Author SHA1 Message Date
Gilles Depeyrot
60149370ac applied SourceForge patch #440594 which corrects ListBox related errors
in Carbon applications under Mac OS X
the LDEF resource is no longer used in Carbon applications


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-12 15:15:03 +00:00
Gilles Depeyrot
125c389e1b added missing return value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-12 10:39:26 +00:00
Gilles Depeyrot
6c41903ced added container class files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-12 10:38:50 +00:00
Stefan Csomor
2af9ef13a7 corrected a bug in the masking code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-11 09:43:26 +00:00
Stefan Csomor
71789654c7 no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-07 06:54:30 +00:00
Stefan Csomor
c1fb8167e9 corrected mac src due to new api changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-06 15:57:14 +00:00
Gilles Depeyrot
fbb24934df removed useless include (already in glcanvas.h)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-05 16:39:03 +00:00
Gilles Depeyrot
b3c406a529 added include for Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-05 16:37:32 +00:00
Gilles Depeyrot
b142515e79 corrected pragma interface/implementation for Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-22 17:03:06 +00:00
Robert Roebling
f0d53ebfb2 Added missing methods. Now tested.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-16 14:27:16 +00:00
Robert Roebling
c4c1fab955 Added missing methods. Not yet tested.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-16 09:42:37 +00:00
Robert Roebling
1348e1a5d9 Added symptomatic fix to wrong height in wxStaticText.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-16 08:20:13 +00:00
Robert Roebling
0d9e47578e Fixed small prob with wxSpinButton orientation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-16 07:38:44 +00:00
Gilles Depeyrot
f5c6eb5c17 modified configure to allow configuration of wxMotif under Darwin/Mac OS X
wxWindows can be configured as wxMac or wxMotif under Mac OS X
replaced __WXMAC_X__ define by __DARWIN__ (general Darwin related issues)
moved dlopen/dlerror code to dynlib.cpp to make it available for wxMotif


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-15 21:12:31 +00:00
Gilles Depeyrot
f11bdd03b9 modified configure to allow configuration of wxMotif under Darwin/Mac OS X
wxWindows can be configured as wxMac or wxMotif under Mac OS X
replaced __WXMAC_X__ define by __DARWIN__ (general Darwin related issues)
moved dlopen/dlerror code to dynlib.cpp to make it available for wxMotif


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-15 18:47:13 +00:00
Gilles Depeyrot
ee65598f95 added common regex
added missing dependency files


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-15 10:45:31 +00:00
Stefan Csomor
954fc50b6e no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-15 10:06:50 +00:00
Robert Roebling
9aad97fdcc Minor beautification of wxToolBar under Mac.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-14 18:49:06 +00:00
Robert Roebling
c10f20703e Corrected wxScrolledWindow's OnSize behaviour.
Formated code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-14 18:12:40 +00:00
Stefan Csomor
9f92f6fbab corrected check string handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-13 20:58:14 +00:00
Stefan Csomor
9453cf2bd7 several mac fixes (Mark Newsams patches)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-11 20:33:12 +00:00
Julian Smart
0cbff1201a Added wxUSE_DC_CACHEING and associated code to wxMSW
Added EnableCache, CacheEnabled to wxDCBase
Added mask source args to DoBlit, Blit
Added cache testing code to dragimag sample
Added wxSystemOptions, regenerated makefiles


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-11 10:07:06 +00:00
Gilles Depeyrot
3ef585df0c use RemoveAt instead of Remove
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-08 13:47:31 +00:00
Stefan Csomor
4d4d8bbfad mac filter routine for nav services
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-07 15:33:38 +00:00
Stefan Csomor
fc0daf8400 corrected log error after initialize when in release mode, window inheritance (generated incorrect classinfo trees)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-07 14:43:10 +00:00
Gilles Depeyrot
4c41981b8e corrected file list for Mac OS X compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-07 11:04:16 +00:00
Stefan Csomor
ffc93a32d8 first impl (needs extending)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-06 16:10:17 +00:00
Stefan Csomor
e766c8a9ad wxMac: wxUniversal integration steps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-04 20:11:26 +00:00
Gilles Depeyrot
f9bcc6d152 corrected according to file name change for generic scrolled window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-03 20:06:57 +00:00
Stefan Csomor
748fbf95a8 changed Refresh to take Rect as client coordinates not window coordinates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-02 20:52:06 +00:00
Gilles Depeyrot
09e48f0b19 added common notebookbase source file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-02 19:55:50 +00:00
Stefan Csomor
ef7c5bd22a refresh during window delete (if root window deleted) removed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-01 20:57:09 +00:00
Gilles Depeyrot
b698c8e9bf corrections for Mac OS X after wxUniv merge
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-30 10:14:48 +00:00
Gilles Depeyrot
cdad5e204b added missing common cmdproc files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-30 09:34:30 +00:00
Gilles Depeyrot
293d3988da corrected virtual function prototype
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-29 20:42:17 +00:00
Stefan Csomor
90b959aee4 post wxUniv merge fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-29 16:19:53 +00:00
Gilles Depeyrot
a8562f5520 applied SourceForge patch #423536
removed obsolete xpm handling code
corrections after wxUniv merge


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-28 21:25:40 +00:00
Gilles Depeyrot
584bede061 corrections after wxUniv merge
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-28 21:23:41 +00:00
Gilles Depeyrot
0bec761df7 implemented printing dialogs in Carbon with Sessions APIs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-28 06:33:35 +00:00
Gilles Depeyrot
f520d38155 corrected conditional compilation
added missing show for error message dialogs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-28 06:32:37 +00:00
Gilles Depeyrot
4b7b750dd1 added missing return on error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-28 06:31:37 +00:00
Gilles Depeyrot
93f0fe75dd corrected conditional compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-28 06:30:58 +00:00
Gilles Depeyrot
a842a96e24 corrected after wxUniv merge
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-28 06:28:32 +00:00
Gilles Depeyrot
d8c736e563 added missing includes after wxUniv merge
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-27 22:29:47 +00:00
Gilles Depeyrot
55d607461b added missing conditional compilation tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-27 21:35:29 +00:00
Stefan Csomor
ba7eb0a5a7 no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-27 06:01:57 +00:00
Stefan Csomor
9714ffa0c4 added tiered implementation (using draw paragraph) for stattext, corrected scrollbar paging, forced redraw before scrolling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-26 18:45:16 +00:00
Gilles Depeyrot
87df17a11b corrected use of Print Manager Session APIs for Carbon targets
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-23 20:38:12 +00:00
Gilles Depeyrot
a689a4d09a use Print Manager session APIs if PM_USE_SESSION_APIS is true
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-23 17:18:09 +00:00
Gilles Depeyrot
09b7e6184a removed dialup from list of files because of compilation problem with
-cpp-precomp option under Mac OS X


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-23 17:02:37 +00:00
Gilles Depeyrot
6868c3eb8f corrected for compilation under Mac OS X with -cpp-precomp option
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-23 17:01:43 +00:00
Gilles Depeyrot
6d5e730730 added missing cast for delete
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-23 17:00:58 +00:00
Stefan Csomor
f32e5dc5ca Raise and Lower implemented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-22 12:34:18 +00:00
Stefan Csomor
9dd11f90ad delete now does remove the item in correct synch from m_datas and m_strings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-09 09:11:45 +00:00
Stefan Csomor
f0822896b3 implemented generic clipboard, corrected event handling for radiobutton
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-07 21:05:01 +00:00
Stefan Csomor
a763ac036b unnecessary ClipRects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-05 21:23:32 +00:00
Stefan Csomor
fd2e20ff9c reverted some redrawing optimizations due to redraw errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-05 20:33:00 +00:00
Gilles Depeyrot
0c71220c86 remove xpm files replaced with internal xpm decoder/handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-05 19:08:38 +00:00
Stefan Csomor
c36f02449b added GetControlBounds for accessing contrl.rect
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-03 10:29:00 +00:00
Stefan Csomor
e42eaa04de removed unnecessary ClipRect calls, refresh on MacActivate with eraseBkgnd false
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-31 05:44:07 +00:00
Stefan Csomor
493c9f6bb2 adapted to new sending for radiobutton events for unselecting too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-31 05:42:50 +00:00
Stefan Csomor
fdaf613add rewrite to avoid unnecessary redraws
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-30 20:46:00 +00:00
Stefan Csomor
8803596043 corrected update upon activate
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-29 21:15:27 +00:00
Stefan Csomor
9eed87190a adapted background color for mac for listcontrols
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-29 21:12:26 +00:00
Stefan Csomor
c257d44dd2 corrected GetCharWidth and implemented MacSuperChangedPosition for toolbars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-29 14:37:43 +00:00
Robert Roebling
32ea1f988d wxDC::DrawPolygon correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-27 19:18:07 +00:00
Robert Roebling
b192a24c92 Fix cvs conflict.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-26 21:11:10 +00:00
Robert Roebling
2301e28195 Implemented LAST_NOT pen style for orthogonal lines.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-26 21:10:16 +00:00
Stefan Csomor
97af5088ec clipboard reading
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-26 19:54:46 +00:00
Stefan Csomor
99918ac7f3 changed Mac Mouse Moved Hysteresis (area in which mouse movements do NOT generate a moved event) to a single point region for platform compatibility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-26 15:47:14 +00:00
Stefan Csomor
a2f94f406e corrected transparency in DoDrawIcon , if there is a mask in the icon, it's used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-26 12:44:46 +00:00
Stefan Csomor
4ce431b02b correct bitmap construction (including mask) from image
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-26 07:52:12 +00:00
Stefan Csomor
bedaf53eaf reverting to native mac pathnames
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-24 21:22:04 +00:00
Gilles Depeyrot
a217777fb3 added missing check for wxUSE_JOYSTICK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-24 16:07:47 +00:00
Stefan Csomor
5b74c3ac7c added mouse down before activate event in background window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-23 06:50:57 +00:00
Stefan Csomor
2883443e90 scrollbar fixes and workaround for redraw problems w/o erase , setbitmap triggers refresh
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-23 06:24:17 +00:00
Stefan Csomor
a49afa93ca scrollbar fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-23 06:15:16 +00:00
Stefan Csomor
6618870d16 fixed wxWindow::SetCursor( wxNullCursor) for mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-17 15:53:01 +00:00
Gilles Depeyrot
2461b2e716 correction for Mac OS X (M_PI is already defined)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-16 21:28:54 +00:00
Stefan Csomor
3dec57adfd icon support moved to wxBitmap, allowing for fully transparent usage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-16 16:23:13 +00:00
Stefan Csomor
27419164ad workaround for notebook/tabctrl redraw bug, it is now not excluded from the local eraseRgn of the parent window, thus guaranteeing that the background is always correct
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-16 12:46:51 +00:00
Stefan Csomor
ca715d8835 corrected loop for calculating the proper updatergn taking into account only real subwindows that are shown
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-16 12:16:59 +00:00
Gilles Depeyrot
82ca6dbcf4 applied SourceForge patch #423532
ensure that menus appear correctly under Mac OS X


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-13 13:09:41 +00:00
Robert Roebling
a90c95aa8e Corrected wxToolBar::ToolSetBitmapSize()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-11 17:07:54 +00:00
Stefan Csomor
aa6c945b0a corrected eventual endless loop
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-11 09:13:28 +00:00
Stefan Csomor
c503ab8437 corrected control update code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-11 08:47:17 +00:00
Stefan Csomor
be57fda609 corrected control update code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-11 08:16:52 +00:00
Stefan Csomor
a8cd4a3a03 redraw problems fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-11 07:15:43 +00:00
Stefan Csomor
65608e3bb0 maintaining 8.1 compat (defining 8.5 calls)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-11 06:36:18 +00:00
Gilles Depeyrot
3f4902f50b conditional compilation for Universal Interfaces (3.4 or later)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-10 21:03:14 +00:00
Gilles Depeyrot
69db49223e conditional compilation for Universal Interfaces (3.4 or later)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-10 20:54:41 +00:00
Gilles Depeyrot
4114d0af4f corrected conditional compilation for Universal Interfaces (3.4 or later)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-10 20:52:48 +00:00
Gilles Depeyrot
3ce946d47e activate new xpm handler under Classic Mac OS after xpm handler fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-10 20:45:25 +00:00
Stefan Csomor
e7b596fbff corrected redraw problems in controls (the erroneusly revalidated their draw area thus eating other pending redraws
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-10 06:28:28 +00:00
Stefan Csomor
b668a73527 corrected a bug in dc which resetted the port , exchanged the wxchoice implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-10 05:27:07 +00:00
Stefan Csomor
cf1a9b45c7 wxRadioBox fixed on mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-08 19:13:45 +00:00
Gilles Depeyrot
f87a708b14 added const for Mac OS X compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-08 18:31:36 +00:00
Gilles Depeyrot
65a9e6162b removed useless file (notebmac.cpp is the one that is used)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-08 18:04:01 +00:00
Stefan Csomor
0eaa1d68c2 changed port handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-08 16:08:09 +00:00
Gilles Depeyrot
973b0afb1e added CreateFromXpm method that uses image xpm decoder
use of the old xpm library code is conditionned by OBSOLETE_XPM_DATA_HANDLER
which is set be default under Classic Mac OS and not set under Mac OS X


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-08 14:07:34 +00:00
Gilles Depeyrot
9a179dccb9 added definition/initialisation of static class member
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-08 13:31:17 +00:00
Stefan Csomor
9ff647cf66 mac fixes part II
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-08 11:49:20 +00:00
Stefan Csomor
0a67a93b17 mac fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-08 07:29:46 +00:00
Gilles Depeyrot
b97e22c0ca added clientcontext variable to Open Transport initialisation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-06 18:58:51 +00:00
Gilles Depeyrot
d2c6d54928 applied correction from Marc Newsam in calculations of linesize
tested with the image sample which now produces expected results


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-06 18:51:22 +00:00
Gilles Depeyrot
947ea04d01 added xpmdecod files
added resource files


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-01 20:17:33 +00:00
Gilles Depeyrot
c854c7d92c applied SourceForge patch #419884 from Marc Newsam
this patch allows the notebook to add and delete pages


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-01 16:27:26 +00:00
Stefan Csomor
72d750d462 corrected event handling according to current msw/gtk implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-01 06:46:38 +00:00
Robin Dunn
ec5d77998a Implemented wxGetClientDisplayRect which returns the dimensions of the
desktop minus taskbar, etc. on Windows and defaults to the full
desktop dimensions on other platforms.  (If there is a way to do it
for other platforms please do.)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-30 20:55:11 +00:00
Robert Roebling
079c842cae Implement wxRB_GROUP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-28 14:45:11 +00:00
Gilles Depeyrot
3e968053fb added common imagxpm files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-28 13:35:16 +00:00
Gilles Depeyrot
56cff98620 corrections for Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-28 13:32:21 +00:00
Gilles Depeyrot
f040060e2f corrections for modifications made to common mimetype code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-28 13:31:46 +00:00
Gilles Depeyrot
007ae8d09d Corrections for Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-19 19:16:56 +00:00
Gilles Depeyrot
76ee796101 removed unused files so that makefile VPATH works under Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-18 19:23:09 +00:00
Gilles Depeyrot
ed50e39ba2 added spinctrl and corrected list of files for Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-14 20:21:30 +00:00
Gilles Depeyrot
a5bc50ee00 added spinctrl implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-13 09:52:29 +00:00
Stefan Csomor
07b2eb27ec corrected cw6 project files and other small problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-12 08:40:59 +00:00
Stefan Csomor
31d309952c corrected cw6 project files and other small problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-12 08:34:32 +00:00
Stefan Csomor
7aaf328ffa corrected cw6 project files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-12 08:31:25 +00:00
Gilles Depeyrot
28af3deb9f removed case conflicting file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-09 18:53:17 +00:00
Gilles Depeyrot
569a2ae9ef preliminary file list for Mac OS X compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-07 14:44:09 +00:00
Václav Slavík
fec19ea9ff I moved platform specific code from wxImage to wxBitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-04 23:25:06 +00:00
Gilles Depeyrot
5fde6fcc9b corrections for final release of Mac OS X
applied patches proposed by Mark Newsam


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-01 20:42:05 +00:00
Václav Slavík
fe2e43661e moved splines rendering code into wxDCBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-13 23:38:57 +00:00
Stefan Csomor
90b22acaa8 corrected redraw problems with native controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-04 19:10:47 +00:00
Stefan Csomor
360a4636dd correct window class attribution (was wrong in carbon)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-04 12:49:27 +00:00
Stefan Csomor
2597135af7 changed choice to properly inherit from wxChoiceBase , added msg compatible calls to wxStaticBitmap, correct window class attribution (was wrong in carbon)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-04 12:47:34 +00:00
Stefan Csomor
0b014ec713 mac changes : wxDC - removed doubly defined vars (inherited from base) and fixed wxPen - width scales with context and 0 width always renders one pixel wide
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-03 17:18:03 +00:00
Robert Roebling
1d261710b8 Implemented wxStaticLine under Mac. I thought I had
commited this already, actually.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-02 19:28:57 +00:00
Stefan Csomor
895f5af753 final adjustements to wxToolbar to make it layout as on other platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-01 06:50:39 +00:00
Stefan Csomor
7810c95b5d added new focus behaviour (like MSW) and toolbar fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-28 20:48:20 +00:00
Stefan Csomor
59c78040cd default window creation algorithm for mac platform is changed, now a full window with titlebar is drawn as soon as the style has WX_CAPTION (before it needed WX_THICKFRAME )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-28 14:31:16 +00:00
Stefan Csomor
80645074d8 toolbars are now possible in any window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-28 14:29:53 +00:00
Stefan Csomor
41f38f4d59 added menubar update OnActivate for multiple frames with their own menubars, it's not perfect (menu merge) would be better, but at last something
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-28 13:04:19 +00:00
Stefan Csomor
c809f3be86 corrected hiding/showing of native mac controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-28 12:23:17 +00:00
Stefan Csomor
19ff2a7bd5 corrected the invalidation when resizing windows (was only invalidating the client area)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-27 23:21:48 +00:00
Stefan Csomor
b89dac7816 added calls for invalidating the dc setup on mac explicitely (needed in case of nested updates (e.g. writing a message to a text control while being in paint mode)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-27 21:38:13 +00:00
Robert Roebling
3752cadc84 wxMac:
Added wxControlNameStr. (second try).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-26 20:12:21 +00:00
Julian Smart
cb2713bfa8 Added wxYieldIfNeeded
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-22 12:09:06 +00:00
Stefan Csomor
3fd81d8740 the carbon resource tag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-21 08:50:16 +00:00
Stefan Csomor
8e8d3ba8e5 corrected an superfluous initfloatingwindows call in carbon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-21 08:49:42 +00:00
Gilles Depeyrot
ed5b981186 do not perform Gestalt tests under Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-20 22:21:45 +00:00
Gilles Depeyrot
03e11df547 modifications for compilation under Mac OS X
applied patches extracted from submission by Marc Newsam (tested under Mac OS 9)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-15 21:51:14 +00:00
Stefan Csomor
5b781a6729 updated mac sources (CW 5.3 working , CW6 still having code gen problems)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-08 21:13:12 +00:00
Gilles Depeyrot
22c0b72105 ignore CodeWarrior build directory and files produced during compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-04 14:56:23 +00:00
Gilles Depeyrot
c0cd186f82 changed argument types (replaced long with wxCoord)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-30 21:26:23 +00:00
Gilles Depeyrot
30b7213465 corrected indentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-30 21:22:50 +00:00
Gilles Depeyrot
e437cc535e added missing return type (implicit int no longer accepted by compilers)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-30 21:17:27 +00:00
Gilles Depeyrot
9ec3cd2d38 removed unused variables
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-30 21:15:53 +00:00