Commit Graph

854 Commits

Author SHA1 Message Date
Vadim Zeitlin
254696bb8f return a wxAnyStrPtr covnertible to either narrow or wide char pointer from wxDateTime::ParseXXX() methods to improve compatibility with wx 2.8 and also simplify the code (closes #9560)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-24 23:21:29 +00:00
Francesco Montorsi
98919134f0 no real changes: split the huge datetime.cpp in two parts: one dedicated to code for formatting/parsing, the other for everything else
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-20 19:16:21 +00:00
Kevin Ollivier
2fd716136a Rebake after last change.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-15 16:14:56 +00:00
Vadim Zeitlin
0576cd9ebe added wxProtocolLog class for logging network requests/responses (closes #7464)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-07 13:58:39 +00:00
Kevin Ollivier
d12ba8b022 Rebake after OS X Cocoa header changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-02 18:30:23 +00:00
Vadim Zeitlin
5a0dca116d remove non-existent wx/msw/datecontrols.h from files.bkl (it's a private file and shouldn't be installed)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-23 21:24:37 +00:00
Vadim Zeitlin
d2eb1696ce only update stc.h when USE_STC==1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-21 13:40:41 +00:00
Stefan Csomor
5398a2e050 common drawing code for osx-cocoa and osx-carbon, also since 10.5 HIShapeRef is in ApplicationServices, so this can be used for all osx-cocoa builds as native wxRegion implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-09 09:01:19 +00:00
Kevin Ollivier
71b37ee6e4 Update OS X Cocoa build files after recent changes and rebake.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-09 00:46:59 +00:00
Vadim Zeitlin
a334c52549 remove remaining traces of samples/mobile (continuation of r58765)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-08 15:59:04 +00:00
Vadim Zeitlin
5d2d4a2ef2 move generic animation sources to ADVANCED_MSW_NATIVE_SRC/HDR from ADVANCED_MSW_SRC/HDR to avoid having duplicated entries in wxMSW/Univ build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-04 10:02:48 +00:00
Vadim Zeitlin
664e13143e renamed wx/ptr_shrd.h to wx/sharedptr.h; split wx/ptr_scpd.h in wx/scopedptr.h and wx/scopedarray.h; extracted common parts into new wx/checkeddelete.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-03 12:01:46 +00:00
Václav Slavík
3f8cdda485 don't include private headers from wx/unix/evtloop.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-31 10:58:10 +00:00
Vadim Zeitlin
0fa541e870 add support for persistent controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-30 21:38:29 +00:00
Václav Slavík
86e9b8f28f wxDFB: use Unix event loop and timers (fixes #10408)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-30 15:21:47 +00:00
Jaakko Salli
fef4b46dc7 Added XRC handler for wxComboCtrl (closes #10151)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-25 16:00:32 +00:00
Robert Roebling
689d801314 Remove persistence related files ag
ain

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-23 08:18:48 +00:00
Vadim Zeitlin
dca9410337 fix wxEVT_SPIN_XXX definitions in a nicer (compatible with new events) way
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-23 00:30:41 +00:00
Stefan Csomor
2f3c22f9c2 printing adjustment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-17 11:26:04 +00:00
Vadim Zeitlin
213b5041fe export wxActiveX stuff from core (not media) DLL (closes #8991)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 17:44:16 +00:00
Vadim Zeitlin
3c77890141 add more flexible and safer template Connect() overloads (#10000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-12 14:26:13 +00:00
Francesco Montorsi
29efc6e4a4 split wxGrid implementation in grideditors.cpp (for wxGridCellEditor-derived classes), gridctrl.cpp (for wxGridCellRenderer-derived classes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-11 15:49:37 +00:00
Vadim Zeitlin
9140731891 implement DispatchTimeout() for wxOSX/Cocoa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-28 14:32:49 +00:00
Vadim Zeitlin
1df4b19481 implement DispatchTimeout() for wxCocoa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-28 14:25:00 +00:00
Francesco Montorsi
eed80e5efe restore tabg.h and tabg.cpp for wxMotif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-28 11:32:37 +00:00
Francesco Montorsi
030e991d1c remove deprecated wxTabCtrl also from makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-27 15:26:22 +00:00
Vadim Zeitlin
564c7fc412 implement wxEventLoop::DispatchTimeout() for wxGTK (thanks Paul) and rewrote it to not use wxEventLoopImpl which it doesn't need
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-27 11:01:39 +00:00
Vadim Zeitlin
116de99148 merge msw/gsocket.cpp into msw/sockmsw.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-25 19:12:43 +00:00
Vadim Zeitlin
bb20575e6e rename gsockmsw files to sockmsw
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-25 18:41:13 +00:00
Vadim Zeitlin
08060ee58f rebake after correction typo in wx/generic/headerctrlg.h name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-22 11:52:30 +00:00
Vadim Zeitlin
af67f39da8 added wxRearrange{List,Ctrl,Dialog} and use it in wxHeaderCtrl and wxGrid to provide a way to interactively customize the columns
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-16 23:56:56 +00:00
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
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
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
05622061c9 port updates for newer Intel compiler support from bakefile svn and rebake
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-17 22:29:05 +00:00
Vadim Zeitlin
9c3e8460de rebake after r56738
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-12 11:55:44 +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
Vadim Zeitlin
506e9b7ed2 rebaked using bakefile 0.2.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-27 16:40:51 +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
Stefan Csomor
9412295ef1 rebaked with glgrab again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-09 07:46:12 +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
Stefan Csomor
4fcb208a4f porting dcscreen blit from 2.8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-06 19:48:52 +00:00