Commit Graph

1124 Commits

Author SHA1 Message Date
Vadim Zeitlin
e2bfe6731e - Rewrite wxHeaderCtrl to be virtual-like: even if we don't need an infinite
number of columns in it, it turns out that getting column information from
  the associated control is much easier than copying it into the control.
- Provide wxHeaderCtrlSimple derived class which can be used easily if
  callback approach of wxHeaderCtrl is not needed.
- Because of wxHeaderCtrl virtualization, port-specific implementations of
  wxHeaderColumn are not needed any more and were removed.
- Use wxHeaderCtrl in the generic wxDataViewCtrl: this means that column
  events are broken right now in it as they haven't been implemented by
  wxHeaderCtrl yet, this will be fixed a.s.a.p.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-07 14:47:55 +00:00
Francesco Montorsi
491c42d00f fix description of wxconsole template; add description for wxgui template
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-05 17:25:13 +00:00
Vadim Zeitlin
56873923f3 extract (and expand and clean up and document) the header window implementation used inside the generic wxDataViewCtrl in a separate wxHeaderCtrl class which could be reused in (generic) wxListCtrl and, most importantly, wxGrid later
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-03 21:53:10 +00:00
Francesco Montorsi
0e0134acea make WX_UNICODE default to 1 since ASCII build is now deprecated!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-02 22:02:32 +00:00
Vadim Zeitlin
86c5b12b21 also rename gsocketiohandler.* to socketiohandler.* and move it to wxNet where it belongs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-28 13:37:19 +00:00
Vadim Zeitlin
6091364135 rename various gsock* files to sock* (except for MSW where this will be done later)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-28 13:04:47 +00:00
Vadim Zeitlin
51fe4b60ab Streamline wxSocket code: wxSocketBase now uses wxSocketImpl (previously known
as GSocket) which is a base class with various wxSocketImplXXX implementations
provided by different wxSocketManagers.

Share more code between ports (still not finished).

Refactor some code inside wxSocketImpl itself to be less redundant and fixed a
couple of minor bugs in the process.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-28 12:47:07 +00:00
Vadim Zeitlin
79f0c45dc4 remove lines containing nothing but spaces: this is a (fatal) syntax error for HP-UX make
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-12 11:18:54 +00:00
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
Robert Roebling
4c332da033 Add more bakefile files to make dist
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-19 20:18:42 +00:00
Robert Roebling
4094f3f233 Added src/msw/version.rc to make win-dist
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-19 19:23:21 +00:00
Robert Roebling
4aa7709b73 Updates for make dist for OSX_CARBON
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-17 12:39:21 +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
Robert Roebling
d1b80f2196 Update make dist
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-15 18:39:21 +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
Václav Slavík
aa163cb549 removed a warning that should only be a FIXME
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-12 13:03:53 +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
Vadim Zeitlin
7da8bfe30d add VC9 project files (closes #9960)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-08 16:42:00 +00:00
Vadim Zeitlin
8ece421c6c rebaked makefiles with 0.2.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-08 15:44:49 +00:00
Francesco Montorsi
417f513723 add wx_xrc.bkl bakefile wxpreset to the list of files to install; set Id in the svn:keyword for that file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-07 17:51:13 +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
Kevin Ollivier
9b294926cb Fix bakefiles. Precomp variable is used undefined when building samples (it was only defined inside the test bakefiles).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-20 23:46:34 +00:00
Vadim Zeitlin
99b9c0eac1 do enable PCH for the tests, wx/wx.h was not precompiled for them resulting in much slower compilation than expected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-19 09:03:01 +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
Paul Cornett
7391e7a058 fix opengl dependency in monolithic build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-31 23:47:24 +00:00
Vadim Zeitlin
98a04b4a2a test for utils/wxrc/Makefile existence and not utils/wxrc which always exists when building in source directory (#9928)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-31 16:29:11 +00:00
Robert Roebling
b784691e07 More corrections to make dist
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-28 13:28:56 +00:00
Robert Roebling
4f2511d706 Minor corrections to make dist after reports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-28 12:56:21 +00:00
Robert Roebling
fd1ce7f0bb Update <make win-dist>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-27 11:48:24 +00:00
Robert Roebling
3522813ad8 Add XCode project files to wxMac's <make dist>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-27 10:39:04 +00:00
Robert Roebling
4a693a9b8c Also make make dist for wxMac work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-26 14:06:42 +00:00
Robert Roebling
a612b91afe Update <make dist> for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-26 11:03:49 +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
78a9167e55 adding generic BUNDLE_RESOURCES for copying any special resources into the bundle, renaming BUNDLE_ICONS to BUNDLE_ICON = the path of the app icon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-13 15:20:57 +00:00
Stefan Csomor
0b1345939a fixing remainder of bug #3776, clean activateAndIgnoreClick behaviour for DataBrowser
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-13 15:14:31 +00:00
Stefan Csomor
a0b10e1b6f adding support for overwrites from project bkls for info.plist files and custom icons following directions from Vaclav
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-05 11:49:26 +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