Commit Graph

545 Commits

Author SHA1 Message Date
Vadim Zeitlin
d2824cdb7f Review/simplify/cleanup MDI classes for all platforms and introduce base
classes for wxMDI{Parent,Child}Frame and wxMDIClientWindow.

Also use generic MDI implementation for wxMotif as it seems to be more
functional and definitely is more maintained (we probably should use the
generic version for wxGTK too).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-04 02:46:19 +00:00
Vadim Zeitlin
2f4c5d0077 wx/tls.h belongs to base headers, not core (#10148)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-03 12:47:56 +00:00
Václav Slavík
a158acac6d Cleaned up wxArtProvider:
1. Move platform-specific code for both GetSizeHint() and GetBitmap()
   into platform-specific files.
2. Introduced GetNativeSizeHint() to make native sizes better accessible,
   without having to understand weird GetSizeHint() semantics.
3. Fixed GetNativeSizeHint() to return sensible values in non-GTK ports;
   it returns wxDefaultSize if it can't make a good guess instead of
   returning arbitrary value.
4. Use 16x16 icons on MSW instead of 16x15: it works and is more
   'natural' size.



git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 19:07:42 +00:00
Vadim Zeitlin
916eabe60e add wxGenericStaticText (#9656)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-12 13:04:00 +00:00
Stefan Csomor
22a927e426 forgot to commit this file ...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-09 05:36:34 +00:00
Robin Dunn
3a571037fe Install kbdstate.h and mousestate.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 01:53:43 +00:00
Kevin Ollivier
01250f9b2c Adding compiling (but not yet working) taskbar implementation for OS X Cocoa, mostly borrowed from wxCocoa. Also enabled HTML Help support as it seems this compiles fine now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-22 00:51:32 +00:00
Robert Roebling
aef06ee169 Added wxDList<T>. not yet used anywhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-21 08:44:24 +00:00
Kevin Ollivier
78d990152a Stubbed wxToolTip implementation to get code that uses it building.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-21 00:51:44 +00:00
Kevin Ollivier
d2e6c14109 Copy headers and get MDI and glcanvas fully building for OS X Cocoa port.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-20 23:56:18 +00:00
Vadim Zeitlin
1c4293cb91 added wxPropertyGrid from Jaakko Salli (#9934)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-12 20:57:41 +00:00
Stefan Csomor
2ea057f984 integrating Kevin's work, command line builds for osx variants
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-07 15:59:51 +00:00
Stefan Csomor
e7ebb5daba adding common implementation file for search control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-05 15:33:44 +00:00
Kevin Ollivier
fa2b309e78 Update files.bkl to match the changes Stefan made to Makefile.in earlier, to update the OS X Carbon port.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-04 07:44:06 +00:00
Benjamin Williams
c583dbe024 rebake because of new auibar.*
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-24 09:29:58 +00:00
Stefan Csomor
96dabe4313 moving osx files (rename will follow)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-03 17:34:59 +00:00
Vadim Zeitlin
e8759560f8 add wxRenderer::GetCheckBoxSize(); refactor wxGTK code to avoid duplication (#9642)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 21:51:22 +00:00
Vadim Zeitlin
aaa0312528 extract parts of wxXRC depending on wxAdv in a separate file to allow statically linking with wxXRC but without wxAdv; note that rebaked project/make files also contain ustring.cpp/h now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 14:15:22 +00:00
Stefan Csomor
10f41d50ff activating ustring again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-01 13:43:53 +00:00
Stefan Csomor
420b39aa4b moving common implementation for osx closer to unix, by using threadspsx.cpp and unix/dir.cpp, getting rid of morefile(x) and moving colour.cpp to core
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-01 06:40:16 +00:00
Stefan Csomor
7fd9ac06af adapting osx file layout
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-31 10:35:37 +00:00
Robert Roebling
9a6d14383a Added 32-bit (UCS-4) wxUString class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-29 11:01:16 +00:00
Vadim Zeitlin
a30e702974 added wxGenericStaticBitmap (#9608)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-21 15:32:33 +00:00
Stefan Csomor
126b1df4ae renaming mac to osx and subdirs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-11 16:50:31 +00:00
Stefan Csomor
980ebb9552 removing outdated files for mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-11 05:01:23 +00:00
Václav Slavík
66b5a37503 glcmn.cpp doesn't belong in OPENGL_SRC_PLATFORM (it is incorrect syntax that was previously silently ignored)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-04 14:19:18 +00:00
Vadim Zeitlin
c094d747a8 removed deleted wx/gtk/treectrl.h from bakefiles as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-03 16:14:03 +00:00
Robert Roebling
e78c1d7855 Native wxBitmapComboBox patch for GTK+
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-27 10:17:56 +00:00
Vadim Zeitlin
f696015cf1 native wxBitmapComboBox implementation for MSW (patch 1941399)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-17 22:43:00 +00:00
Václav Slavík
d2f3b08582 wxUniv: implement wxSYS_VSCROLL_X/Y metrics in wxUniv code, they depend on the theme, not lowlovel port
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-17 09:41:25 +00:00
Vadim Zeitlin
13a3888794 extracted wxWrapSizer in separate files and somewhat improved it (heavily modified patch 1876663)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-08 22:45:44 +00:00
Stefan Neis
47ac374e0d Added missing (trivial) implementation file for wxMiniFrame on OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-09 21:30:02 +00:00
Vadim Zeitlin
5131749617 initial native implementation of wxCalendarCtrl for MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-04 04:17:03 +00:00
Vadim Zeitlin
628e155d8c added native GTK implementation of wxCalendarCtrl (modified patch 1925439)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-28 02:47:12 +00:00
Robin Dunn
457d88d9d9 wxPython needs win_gtk.h to be installed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-27 21:25:54 +00:00
Stefan Csomor
3885c1b929 non owned window implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-25 08:02:34 +00:00
Vadim Zeitlin
a83ca5fbf5 use wxGUIAppTraits::WaitForChild() in wxMac too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-22 12:12:47 +00:00
Vadim Zeitlin
9d3845e884 extracted GUI-specific part of utilsunx.cpp to a new unix/apptraits.cpp file and don't include utilsunx.cpp in both base and GUI libraries now so that we can get rid of BASE_AND_GUI_UNIX_SRC in files.bkl entirely
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-22 03:46:04 +00:00
Vadim Zeitlin
1d043598b7 replace wxAddProcessCallback() with wxAppTraits::AddProcessCallback() to fix linking problems in Unix ports; also reduce code duplication between GUI and base versions making src/unix/baseunix.cpp unnecessary any longer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-22 00:07:13 +00:00
Vadim Zeitlin
936f635341 rename fobr95.{cpp,h} files to foobar.{cpp,h}
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-15 16:53:06 +00:00
Vadim Zeitlin
dfba244cbf added wxNativeContainerWindow and implemented it for wxMSW and wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-10 15:50:48 +00:00
Václav Slavík
bbd92d1dbe moved win_gtk.h header to wx/gtk/private, it's for internal use only
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-22 13:24:05 +00:00
Vadim Zeitlin
6e4ae332ac add wxXLocale class and wxIsxxx_l() and wxToxxx_l() functions (heavily modified and extended patch 1874287)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-10 17:03:23 +00:00
David Elliott
845035287a Move stackwalk.cpp and epolldispatcher.cpp to BASE_UNIX_AND_DARWIN_(SRC|HDR)
from BASE_UNIX_(SRC|HDR). The stackwalk.cpp works fine on Leopard (which
added backtrace) and epolldispatcher may work on a future OS X that
implements epoll.  Leave configure to determine whether or not the code is
appropriate for Darwin systems.  That is its purpose!


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-10 10:59:39 +00:00
Václav Slavík
987ae041ae updated include/wx/meta/* files list
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-22 13:31:20 +00:00
Vadim Zeitlin
85580bec1f removed non-existent wx/meta/defs.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-16 22:30:15 +00:00
Vadim Zeitlin
0fb0ecc452 add useful headers for meta-programming checks (part of patch 1860953)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-13 01:09:40 +00:00
Robert Roebling
4992d455fb I assume ptr_scpd.h and ptr_shrd.h should only be in BASE_CMN_HDR and not in GUI_CMN_HDR
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-08 10:55:54 +00:00
Robert Roebling
5200ca361e Added wxSharedPtr<T>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-08 10:51:28 +00:00
Stefan Neis
f90913e2ac Allow using socket from both wxBase and wxCore (adopting to changes from r50831)
Use Unix' gsocketiohandler files for wxBase.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-06 22:47:01 +00:00