Commit Graph

26994 Commits

Author SHA1 Message Date
Włodzimierz Skiba
329a2be820 ctor/dtor not available in C code (MinGW fix).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-18 16:31:17 +00:00
Vadim Zeitlin
01dd42b61f fixed memory leak in UpdateAttr[Rows][Or][Cols] (patch 1104355)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-18 16:15:20 +00:00
Vadim Zeitlin
1539bf2744 fixed crash if an error happened inside WaitConnection() (patch 1093852)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-18 16:11:09 +00:00
Kevin Hock
92301a5915 Added DLL export for wxCommandEventStringHelper
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-18 16:07:44 +00:00
Kevin Hock
75a29298fa Fixed wxTextCtrl being undefined when not using precompiled headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-18 15:54:41 +00:00
Kevin Hock
72e430cd97 For efficiency reasons, text controls no longer set the string for each text updated event, but rather query for the string value only when GetString is called from an event handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-18 15:17:05 +00:00
Kevin Hock
ab1931f98e GetString() method queries the control for the string when called, m_commandString is no longer set for each event and cached
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-18 15:15:49 +00:00
Kevin Hock
4bde3754eb Event member variables hidden, text control efficiency by not calling GetString for each event
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-18 15:14:19 +00:00
Kevin Hock
0599486175 Removed m_ variables from the documentation, since they are now protected and should not be used directly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-18 15:13:34 +00:00
Kevin Hock
b4b76d6115 Move member m_ variables to be protected rather than public to force usage of Set/Get rather than allow direct access. Compatibility with 2.4 keeps members private, and also creates a class to allow continued usage of m_commandString. GetString() will now get the text control's string when called, rather than store it and return it every time (huge performance gain by doing this, esp. on GTK2)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-18 15:12:53 +00:00
Kevin Hock
687706f5e7 Use event modifiers and accessors rather than m_ variables directly, which are now protected rather than public with 2.4 compatibility disabled
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-18 15:08:15 +00:00
Vadim Zeitlin
1e6eb02501 regenerated with correct substitutions for COND_WXUNIV_0 (fixes wxAdv build problems)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-18 13:56:38 +00:00
Vadim Zeitlin
7efaa702da wxUSE_CRASHREPORT and wxUSE_STACKWALKER can't be used if wxUSE_ON_FATAL_EXCEPTION == 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-18 13:39:08 +00:00
Vadim Zeitlin
738cadd897 reverted last commit, do this check in wx/chkconf.h instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-18 13:36:58 +00:00
Vadim Zeitlin
a353dc9852 more fixes to dllexport/import stuff for operator<<()s (still bug 1104372)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-18 13:15:20 +00:00
Vadim Zeitlin
58187c862c only define globals when wxUSE_BASE to avoid duplicate definitions in wxBase and wxMSW (closes 1104289)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-18 13:11:24 +00:00
Vadim Zeitlin
8228dac8ff wxUSE_CRASHREPORT and wxUSE_STACKWALKER can't be used if wxUSE_ON_FATAL_EXCEPTION == 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-18 13:10:16 +00:00
Vadim Zeitlin
5e4f63c810 Unicode compilation fix (patch 1104406)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-18 13:00:57 +00:00
Vadim Zeitlin
e84ba59e3e Unicode compilation fix for debugging code which is also commented out now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-18 12:46:55 +00:00
Vadim Zeitlin
7fcdf88f88 added WXDLLIMPEXP_BASE for operator<<() functions (blind fix for bug 1104372)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-18 12:30:19 +00:00
Włodzimierz Skiba
f5d9cc735c PalmOS native colour dialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-18 10:31:24 +00:00
Włodzimierz Skiba
23ee4b4874 wxWinCE fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-18 10:10:23 +00:00
David Elliott
1a1e9ff1c3 Don't depend on m_cocoaWxToBoundsTransform not being released until after
we're done with it; retain/release it appropriately.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-18 03:47:33 +00:00
David Elliott
f48ab29b5c Sending copy to an instance infers ownership by the sender so we must
send release to the returned instance when we're done.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-18 03:32:52 +00:00
David Elliott
3e21fc053d Moved Clear() implementation into wxDC using a new virtual CocoaGetBounds()
to determine the rect to clear.  Also added CocoaUnapplyTransformations()
to bring the coordinate system back into Cocoa coordinates for those
cases such as Clear() where it makes more sense.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-17 21:30:53 +00:00
Włodzimierz Skiba
1aaf88d220 Common default datetime formats.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-17 21:29:23 +00:00
Włodzimierz Skiba
9b877d1846 Fix for limited build required by headers of free DMC.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-17 21:20:07 +00:00
Vadim Zeitlin
3d35dfa380 regenrated after ADVANCED_SRC/HDR split in native/Univ parts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-17 21:19:43 +00:00
Włodzimierz Skiba
331c1816d7 Stock buttons labels.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-17 19:21:56 +00:00
Julian Smart
73026ab913 Added AddWindowStyles() call
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-17 19:15:49 +00:00
Włodzimierz Skiba
60431236a3 MinGW fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-17 19:08:44 +00:00
Vadim Zeitlin
5bb52a5ff0 removed #ifndef __WXUNIVERSAL__ added in last commit, shouldn't be necessary any more after files.bkl to exclude this file from wxUniv builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-17 18:52:46 +00:00
Vadim Zeitlin
ca95ed8ed7 split ADVANCED_HDR/SRC in a part common to all ports and another one used only for the native ports (currently only wxMSW)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-17 18:51:43 +00:00
Włodzimierz Skiba
dbd9b4dbf2 Check wxMSWUniv condition earlier.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-17 14:35:05 +00:00
Włodzimierz Skiba
635465c3e3 wxMSWUniv build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-17 14:20:52 +00:00
Vadim Zeitlin
5ef1ba92e6 fixed GetModuleHandleExA() call after last fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-17 14:04:09 +00:00
Włodzimierz Skiba
1f6c517ca5 Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-17 13:49:03 +00:00
Włodzimierz Skiba
94534bf8db Build fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-17 13:47:50 +00:00
Włodzimierz Skiba
4510fc80f2 Missing include.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-17 13:45:43 +00:00
Włodzimierz Skiba
46da6d0629 Minor output simplification. Significantly influences all makefiles but nothing regenerated before incoming new bakefile release.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-17 13:02:12 +00:00
Vadim Zeitlin
1b3d358519 update from Janos Vegh
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-17 12:46:23 +00:00
David Elliott
d8e342b79e Make this compile on Darwin. Vadim, could you please check this is correct?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-17 02:45:32 +00:00
Vadim Zeitlin
47e94dedd9 added GenerateNow()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-17 02:04:06 +00:00
Vadim Zeitlin
b059b79da7 disable an apparently harmless VC++ warning about /EHa being required with _set_se_translator()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-17 02:01:33 +00:00
Vadim Zeitlin
8c125d136d moved fatal exception handling code to msw/main.cpp from common code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-17 01:54:25 +00:00
Vadim Zeitlin
1065495bb1 accidnetally checked in file in DOS format last time, correcting this
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-17 01:53:52 +00:00
Vadim Zeitlin
107d0fd493 added {debughlp|stackwalk}.{h|cpp}
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-17 01:43:08 +00:00
Vadim Zeitlin
1b68f1da6e added wxUSE_CRASHREPORT and wxUSE_STACKWALKER; removed obsolete wxUSE_DYNAMIC_CLASSES
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-17 01:24:57 +00:00
Vadim Zeitlin
7beafee942 added wxStackWalker class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-17 01:23:20 +00:00
Vadim Zeitlin
83dee24ca2 refactored wxCrashReport to use new wxDbgHelpDLL class; added wxCrashContext
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-17 01:21:57 +00:00