Włodzimierz Skiba
ccdc11bbaf
Include wx/stattext.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-30 17:39:22 +00:00
Vadim Zeitlin
a31746c7de
fixes for wxVsnprintf() in Unicode build (2nd part of patch 1462778)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-30 17:14:35 +00:00
Włodzimierz Skiba
851dee09b5
Include wx/scrolbar.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-30 13:43:18 +00:00
Włodzimierz Skiba
a9e8bf2dd9
[ 1494561 ] wxComboCtrl vertical size fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-30 09:17:45 +00:00
Włodzimierz Skiba
2bd6022f1c
Include commctrl.h properly.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-30 07:43:05 +00:00
Włodzimierz Skiba
b36e08d086
Include wx/choice.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-30 07:34:30 +00:00
Włodzimierz Skiba
e031f1df56
wxFD_* constants without 2.6 compatibility (heavily extended and modified patch #1497305 ).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-30 07:25:35 +00:00
Włodzimierz Skiba
4c9a69c19a
Smartphone build fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 23:49:43 +00:00
Włodzimierz Skiba
dbc74bccc9
wxWinCE power build fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 23:24:02 +00:00
Robin Dunn
511bec9640
Avoid an assert if no alignment style is specified
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 22:43:14 +00:00
Włodzimierz Skiba
9a8fc68d92
Build fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 21:45:52 +00:00
Włodzimierz Skiba
e6e839336c
Include wx/checklst.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 21:26:35 +00:00
Robin Dunn
aeeaf3eaf0
wxWakeUpIdle seems unnecessary here
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 20:54:57 +00:00
Robin Dunn
efe0d228f7
Provide a wxDirSelectorPromptStr
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 20:27:19 +00:00
Paul Cornett
6ef708cde1
revert removal of gtk1 code from common file
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 16:32:22 +00:00
Vadim Zeitlin
8ad31f9dfd
call gtk_toolbar_set_tooltips() from GtkSetStyle(); removed erroneous wxTB_TOOLTIPS
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 16:06:04 +00:00
Vadim Zeitlin
a130bb4e75
removed spurious #endif
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 16:04:23 +00:00
Włodzimierz Skiba
33f9f48e20
Build fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 14:23:26 +00:00
Włodzimierz Skiba
9e6aca686c
Keep FindString in sync with wxControlWithItems base class.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 13:11:40 +00:00
Włodzimierz Skiba
344ff08345
Unused variable removal.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 13:07:27 +00:00
Vadim Zeitlin
f7b06c8ce1
use a filename, not URL, when quering its modification time
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 11:56:48 +00:00
Włodzimierz Skiba
7456f3828a
Fail for assert(0,...).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 11:17:17 +00:00
Włodzimierz Skiba
3cb3b8b84d
NO_GCC_PRAGMA removed from hyperlink code. Clipboard markup added.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 11:14:34 +00:00
Włodzimierz Skiba
ff7d9066da
Warning fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 10:11:45 +00:00
Włodzimierz Skiba
7bd236e6da
Fail for assert(0,...).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 10:10:37 +00:00
Włodzimierz Skiba
06ec4d9c0f
Typo fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 10:09:00 +00:00
Vadim Zeitlin
649cfca1ce
don't include statbox.h from the header, move wxStaticBoxSizer dtor to .cpp file instead
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 09:58:53 +00:00
Włodzimierz Skiba
ab1ce969df
Include wx/checkbox.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 08:13:19 +00:00
Włodzimierz Skiba
98159dd8b6
Source cleaning for new features.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 07:31:24 +00:00
Włodzimierz Skiba
2858324691
Source cleaning for new features.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 07:23:02 +00:00
Paul Cornett
706e740f50
build fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 06:53:31 +00:00
Paul Cornett
f79f1604a0
revert forward declaration of hashmap, it doesn't work with STL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 06:52:46 +00:00
Włodzimierz Skiba
8d3ba63b1e
Build fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 06:39:40 +00:00
Vadim Zeitlin
85ab460e7d
miscellaneous wxFont enhancements (patch 1496606):
...
- made SetFaceName() bool and return false if the face name is not available
- corrected To/FromUserString() to complement each other
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 00:03:36 +00:00
Vadim Zeitlin
7aa7d2d407
oops, typo in last commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 00:01:30 +00:00
Vadim Zeitlin
f395a825a9
added CollapsePath() (patch 1494638)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 23:54:28 +00:00
Vadim Zeitlin
bd00fe32fb
implemented notifications of the child process termination (patch 1494439)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 23:51:23 +00:00
Vadim Zeitlin
622eb78696
don't offset the position for toplevel windows in wxFindWindowAtPoint() (patch 1491559)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 23:47:59 +00:00
Vadim Zeitlin
8b713759b6
correct painting of the items with custom colours in TVIS_DROPHILITED state (patch 1491478)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 23:45:39 +00:00
Vadim Zeitlin
b5b0a35d6b
don't crash when destroying a not initialized socket (patch 1489095)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 23:38:11 +00:00
Vadim Zeitlin
ff3e84ffdc
File/dir dialog styles and other changes (patch 1488371):
...
- check invalid combinations of styles in wxFileDialogBase::Create()
- use wxFD_XXX naming convention for wxFileDialog styles
- replaces wxDD_NEW_DIR_BUTTON with wxDD_DIR_MUST_EXIST
- removes #ifdef __WXGTK24__ / #endif blocks from wxGTK code
- removes wxFileDialogBase::Get/SetStyle and wxFileDialogBase::m_fileName
- renames wxDirDialogGTK to wxDirDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 23:32:12 +00:00
Vadim Zeitlin
c5d7205ca2
don't strip &s from tooltips (patch 1488318)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 23:15:01 +00:00
Włodzimierz Skiba
34deaa9362
Build fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 23:08:31 +00:00
Vadim Zeitlin
1c756ac814
allow specifying the style for wxHtmlHelpController used as fallback by wxBestHelpController (patch 1485669)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 23:07:02 +00:00
Vadim Zeitlin
a552d1201f
fix the bug which prevented the same wxFile/DirDialog object from being used twice (patch 1485127)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 23:01:21 +00:00
Vadim Zeitlin
fd0bab4353
use dynamic array for the page breaks positions (patch 1483976)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 22:56:28 +00:00
Vadim Zeitlin
db759dde87
use GetPath() instead of GetFullPath() in the directory-oriented functions (patch 1482016)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 22:44:04 +00:00
Vadim Zeitlin
5613bc20ed
check for ERROR_NO_MORE_FILES error code from FindFirstFile() as it's not really an error (patch 1481895)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 22:40:37 +00:00
Vadim Zeitlin
234fedd2d3
added support for CMYK JPEGs loading (patch 1476078)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 20:08:39 +00:00
Michael Wetherell
3fa2676fc3
Take account of the numlock when mapping mgl virtual keycodes to wx ones.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 19:23:44 +00:00
Michael Wetherell
27d98837f3
Use the posix S_ISREG instead of S_IFREG if it is defined. Fixes wxFileExists
...
on DJGPP where S_IFREG is defined as 0.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 18:58:12 +00:00
Vadim Zeitlin
164a797204
added wxListCtrl::GetSubItemRect() and subitem hit testing (patch 1476971)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 18:10:10 +00:00
Vadim Zeitlin
17e914373a
added wxHyperlinkCtrl (patch 1476781 from Francesco)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 17:41:09 +00:00
Michael Wetherell
5de959df83
Compile fixes: gcc seems to need pbt.h including, and PBT_APMRESUMEAUTOMATIC
...
isn't in the headers for most compilers (the other PBT_* macros are there).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 17:36:30 +00:00
Vadim Zeitlin
2f0add5ae0
allow partial read/writes (patch 1476893)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 17:27:40 +00:00
Vadim Zeitlin
e978011a40
delete the associated wxStaticBox in wxStaticBoxSizer dtor (patch 1473769)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 17:24:12 +00:00
Vadim Zeitlin
6a1b3ead3f
added wxTB_NO_TOOLTIPS (heavily modified patch 1458009)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 17:17:02 +00:00
Vadim Zeitlin
0bb4ad85f3
fix crashes in the calctl sample under OS/2 (patch 1495898)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 15:20:32 +00:00
Vadim Zeitlin
7a828c7ffb
wxVsnprintf() implementation with positional parameters support (patch 1462778); disabled for now
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 15:18:15 +00:00
Vadim Zeitlin
1e1c5d6276
explicitly call base class ctor to silent gcc warning (patch 1492701)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 14:33:56 +00:00
Vadim Zeitlin
8e1a5bf979
added SetDoubleBuffered() (patch 1491093)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 14:30:08 +00:00
Vadim Zeitlin
0a089246e7
wizards not using sizers for the page layout now work again
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 14:19:18 +00:00
Vadim Zeitlin
6540132fa1
wxFontEnumerator::GetFacenames/Encodings() now return arrays and not pointers to them (patch 1483341)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 13:51:34 +00:00
Michael Wetherell
7325e21c4f
Missing header.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 09:05:10 +00:00
Vadim Zeitlin
3032b7b5c2
moved power functions for MSW from utils.cpp to (new) power.cpp and implemented them
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-27 14:29:30 +00:00
Vadim Zeitlin
355debca06
added wxPowerEvent; moved power functions stubs to common/powercmn.cpp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-27 14:09:40 +00:00
Włodzimierz Skiba
6e0f4664cc
Correct dll usage for wxDatePickerCtrl under WinCE.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-26 23:58:39 +00:00
Robin Dunn
4a2e5ee8f9
Fixes for the DLL build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-26 19:02:57 +00:00
Włodzimierz Skiba
910b005366
Include wx/wx/bmpbuttn.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-26 18:47:45 +00:00
Paul Cornett
e7445ff8ee
move some data definitions to more appropriate places
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-26 16:12:31 +00:00
Włodzimierz Skiba
b4446c2447
Fixed OpenWatcom (strange) scope related crash.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-26 14:56:11 +00:00
Włodzimierz Skiba
93fbbe0765
Include wx/control.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-26 10:15:44 +00:00
Vadim Zeitlin
a18c21f000
show help for the page under mouse when the [?] button is used to request help
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-26 02:23:24 +00:00
Vadim Zeitlin
b107e8d578
added help event origin field: indicates if the help was requested using the mouse or from keyboard
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-26 02:21:38 +00:00
Vadim Zeitlin
851b88c310
moved wxNotebook::HitTest() to the base book control class; implemented it for wxList/Treebook
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-26 02:09:44 +00:00
Włodzimierz Skiba
ce5d92e150
Include wx/cmndata.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-25 21:08:11 +00:00
Stefan Csomor
6643c354c5
using new method for implementing Maximize
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-25 19:03:16 +00:00
Paul Cornett
9cdf21473a
unused declarations
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-25 15:46:00 +00:00
Włodzimierz Skiba
88c576e5df
src/mac/carbon/pnghand.cpp removed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-25 14:45:39 +00:00
Włodzimierz Skiba
cdc99dddd2
[ 1494429 ] Fix for wxOwnerDrawnComboBox::Clear() crash.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-25 11:39:51 +00:00
Włodzimierz Skiba
133f3119f0
Removed some references to unused files.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-25 10:03:56 +00:00
Włodzimierz Skiba
246c5004eb
Include wx/msgdlg.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-25 07:07:23 +00:00
Paul Cornett
1c2d839fbf
don't crash on zero length string in DoDrawRotatedText
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-25 02:40:58 +00:00
Michael Wetherell
98b9b5eaf3
Use wx_static_cast instead of static_cast.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-24 22:55:28 +00:00
Paul Cornett
bd88c1fa96
derive univ toggle button from button
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-24 17:17:27 +00:00
Włodzimierz Skiba
d48d1eaeda
Missing app.h include.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-24 17:03:11 +00:00
Włodzimierz Skiba
e7c80f9e05
wx/debug.h is always unconditionally included by wx/defs.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-24 15:13:23 +00:00
Michael Wetherell
dd5e86874e
Map between int page ids and page pointers using hashes so that it works when
...
pointers are 64-bits.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-24 14:39:52 +00:00
Julian Smart
615a96e37d
Don't unselect if setting string that's not found
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-24 13:41:12 +00:00
Włodzimierz Skiba
7ca4ac6383
[ 1493802 ] Allow multiple wxComboCtrl::SetPopupControl calls.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-24 09:29:06 +00:00
Włodzimierz Skiba
9eddec696f
Include wx/settings.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-24 07:16:32 +00:00
Paul Cornett
13199c3dcb
correct access for virtuals, other minor corrections
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-24 05:03:00 +00:00
Julian Smart
390f811460
Avoid flags that may clash with alignment flags
...
Don't try to set the string selection if not found
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 20:33:17 +00:00
Włodzimierz Skiba
b7540dc1ec
[ 1493005 ] Fix wxComboCtrl popup positioning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 18:05:30 +00:00
Julian Smart
43be3c33f3
Applied patch 1489656: support for wxToggleButton under wxUniversal
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 17:53:50 +00:00
Włodzimierz Skiba
35932e0596
wxScrolBar event sending fix in wxUniv.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 16:52:29 +00:00
Włodzimierz Skiba
1f7e5f7be3
[ 1470717 ] wxUniv toolbar separator drawing fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 16:05:12 +00:00
Włodzimierz Skiba
0164f8ebfd
Improved wxDCPen/BrushChangers.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 14:11:55 +00:00
Julian Smart
fbb67d0e52
Guard against comparing invalid iterators, which produces an assertion
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 13:58:51 +00:00
Julian Smart
45e13c7fb6
Applied patch [ 1489741 ] Bugfix for wxScrolledWindow::SetScrollRate in wxUniversal
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 11:24:18 +00:00
Włodzimierz Skiba
c0badb709a
Include wx/timer.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 11:04:37 +00:00
Julian Smart
957eca2f20
Applied patch [ 1487942 ] Fixed bug in generic file selection dialog box
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 10:33:58 +00:00
Paul Cornett
efc8ab7c53
replace deprecated gtk_type_new, plus minor cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 05:33:07 +00:00
Robin Dunn
e1a66d9a86
Don't scroll the grid when starting a cell editor if it will already
...
fit in the viewable space. The way it was always jumping around drove
me nuts!
Also, ensure that keys like HOME or END won't start the cell editor on
wxGTK2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 02:17:39 +00:00
Robin Dunn
c1f50b06ec
I've now seen 2 or 3 themes that need this extra space in a label-less
...
static box, so I'm checking in my GetBordersForSizer change discussed
on wx-dev a few weeks ago.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 02:04:01 +00:00
Robin Dunn
4d02625ccf
Changes to ensure that the potential drag is totally cleaned up in LeftButtonUp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-22 21:38:59 +00:00
Włodzimierz Skiba
fdf565feca
Include wx/dialog.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-22 20:54:04 +00:00
Paul Cornett
c259ffdff7
unused win_gtk stuff
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-22 17:51:55 +00:00
Jouk Jansen
12faa71cea
updating OpenVMS compile support
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-22 14:38:36 +00:00
Włodzimierz Skiba
4660e6acfc
Introduced wxDCPenChanger and wxDCBrushChanger.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-22 14:25:35 +00:00
Włodzimierz Skiba
75d6ba569d
Drawing fix for generic wxTreeCtrl.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-22 12:20:22 +00:00
Włodzimierz Skiba
cc92fd8452
[ 1469227 ] wxUniv patch for toolbar button.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-22 12:03:27 +00:00
Włodzimierz Skiba
c8326d649c
Include wx/cursor.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-22 07:11:26 +00:00
Włodzimierz Skiba
cf6f325cd3
wxID_ANY usage.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-22 06:55:30 +00:00
Włodzimierz Skiba
613351172a
Warning fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-21 22:36:33 +00:00
Włodzimierz Skiba
923d28da0e
Include wx/icon.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-21 21:45:44 +00:00
Włodzimierz Skiba
b61f4f77bc
[ 1492391 ] Fix wxComboCtrl button rendering problem.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-21 21:12:59 +00:00
Stefan Csomor
ad604d0f8d
hack around a UnicodeEditTextControl which does not deliver a correct selection unless the control has the focus.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-21 09:38:21 +00:00
Włodzimierz Skiba
93f7f8be7e
[ 1492036 ] Fix incorrect wxComboCtrl minimum size.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-20 23:27:12 +00:00
Włodzimierz Skiba
559a723c1d
Include wx/palette.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-20 19:43:09 +00:00
Stefan Csomor
0966072025
hacking around a missed-scroll bug in multi-line text fields in Tiger, in case there is no CR in the text.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-20 07:32:22 +00:00
Paul Cornett
6a423d6544
remove unneeded include of mac/private.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-20 05:43:06 +00:00
Paul Cornett
aba610e77a
non-pch build fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-20 05:41:25 +00:00
Paul Cornett
3cb7a9ca75
avoid float to double conversion
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-20 02:39:54 +00:00
Włodzimierz Skiba
c64755ed1a
Include wx/brush.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-19 19:47:45 +00:00
Paul Cornett
12a480c12d
gtk slider code simplification and better event determination
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-19 16:57:37 +00:00
Włodzimierz Skiba
339039581a
Build fix for link error in new combo code.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-19 10:13:57 +00:00
Włodzimierz Skiba
f559024395
Include wx/pen.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-19 09:37:38 +00:00
Stefan Csomor
f3ba97e8c2
fixing style and underline information transfer back
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-19 06:57:15 +00:00
Paul Cornett
38009079fb
universal build fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-19 05:17:59 +00:00
Mart Raudsepp
d00e5eb5d4
Check if wxOVERWRITE_PROMPT style flag exists in the gtk2.8 native overwrite prompt case as well. Fixes the case
...
where with 2.8+ compile and runtime version of gtk overwrite prompt always happens if the file already exists -
even if the style flag is not present. Fixes my introduced oversight and bug #1484020 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-19 02:38:09 +00:00
Paul Cornett
7f81dfa1a0
gtk spinctrl code simplification
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 17:04:16 +00:00
Stefan Csomor
ec8a8e042e
switching to ATS font names instead of ATSUI ones (japanese font names had problems afterwards)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 15:07:16 +00:00
Stefan Csomor
45d5159fa4
adding an assert for invalid fonts
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 14:43:54 +00:00
Julian Smart
6a82a0d041
Selection should be set to -1 if all pages are deleted, or the next
...
insertion will try to set the selection to 1.
Fixed lack of initial controller resize when first page is added,
though I think the listctrl should probably always have a decent initial
height even when empty.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 09:53:19 +00:00
Julian Smart
52f15cb7bb
Don't use wxSIMPLE_BORDER on Windows since it gives a black border instead
...
of blue on XP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 09:38:47 +00:00
Julian Smart
7c3840677c
Fixed tree book controller sizing by invalidating size after first
...
insertion, and also allowing full size calculation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 09:33:17 +00:00
Stefan Csomor
acead93d81
using ATSUI also in textctrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 08:06:34 +00:00
Włodzimierz Skiba
3b3dc8019a
Include wx/menu.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 07:13:20 +00:00
Włodzimierz Skiba
85855db1c4
Missing #includes to allow wx/mac/carbon/tooltip.h be included first by user.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 06:45:59 +00:00
Paul Cornett
044077236a
avoid wxColour::Set(long) confusion
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 03:27:51 +00:00
Paul Cornett
a01ed326cc
spinbutton code simplification
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 03:08:25 +00:00
Paul Cornett
de7bb80239
avoid GTK "assertion `min < max' failed"
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 02:39:23 +00:00
Robin Dunn
152e88789d
Reverted mistaken check-in
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 01:52:55 +00:00
Robin Dunn
f460c29d59
Use correct DLL import/export specifier for multi-lib builds
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 01:22:06 +00:00
Julian Smart
689f42f4b4
Documentation states scrollbars (plural) are switched off by wxHW_SCROLLBAR_NEVER,
...
so make sure this is true, even if the layout erroneously wants to create
a horizontal scrollbar.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 16:32:11 +00:00
Włodzimierz Skiba
987e9419b6
#include order with correct PCH support.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 10:55:22 +00:00
Julian Smart
83eabba429
Fixes for compile breakage with no PCH
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 10:42:03 +00:00
Włodzimierz Skiba
f1e0171631
Include wx/button.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 09:07:47 +00:00
Václav Slavík
69328c1a88
commented OpenContainer usage
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 08:52:01 +00:00
Paul Cornett
add7cadd99
scrollbar handling simplification
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 04:54:13 +00:00
Robin Dunn
1d88e73a3f
Allow art provider IDs for the extra bitmaps in a wxBitmapButton. (The
...
param value is empty in this case, but there is still a valid bimap
node.)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 03:51:51 +00:00
Vadim Zeitlin
6964cbbac9
make sure that IsModified() returns false when it's called from EVT_TEXT handler invoked because of SetValue() call
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 00:20:20 +00:00
Vadim Zeitlin
781acf8347
removed GTK-specific SetModified() as we already have a public MarkDirty() which does the same thing
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-16 23:58:20 +00:00
Vadim Zeitlin
63f84de849
reset the dirty flag before generating the event from SetValue() in case the text didn't really change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-16 23:53:55 +00:00
Vadim Zeitlin
c85f2eb19f
implemented clipboard events support for wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-16 23:16:36 +00:00
Vadim Zeitlin
a57d600f1a
renamed wxComboControl to wxComboCtrl and related wxUSE_XXX and configure switches for consistency with the other ones
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-16 22:57:40 +00:00
Vadim Zeitlin
87419e97c6
allow adjusting the combo button size (patch 1489452)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-16 21:39:33 +00:00
Stefan Csomor
a8f7c8b2c5
m_dialogStyle removed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-16 17:19:59 +00:00
Vadim Zeitlin
f240839653
use wxTE_PROCESS_ENTER for the text control part
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-16 14:52:07 +00:00
Mart Raudsepp
7d1fea10d4
No cast necessary for g_object_set first arg (it takes a gpointer).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-15 16:00:59 +00:00
Mart Raudsepp
f1e1e6952e
Rename *_filedialog_* to *_dirdialog_* to ensure there is no clashing with filedlg.cpp implementation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-15 14:22:08 +00:00
Mart Raudsepp
3fe39b0ce3
Don't cast with G_OBJECT when passing a GObject to g_object_ref, g_object_unref and g_signal_connect.
...
They take a gpointer, not GObject*, and unnecessary casting not all that speedy with GObject types.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-15 14:17:38 +00:00
Włodzimierz Skiba
7301b2b8e6
wxTabCtrl off build fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-14 22:29:30 +00:00
Włodzimierz Skiba
ab5903dae3
Fix for linking error after combo changes: dummy getting key state.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-14 22:21:32 +00:00
Włodzimierz Skiba
85fed18c15
Source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-14 21:29:12 +00:00
Kevin Hock
635f2bad90
Continue reading after checking the pushback buffer if more data is requested. Otherwise, once any data if placed in the pushback buffer, no more data will be read from the socket, even if more data is requested.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-14 19:49:19 +00:00
Vadim Zeitlin
4ce04fd883
check the item id validity in SetItem()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-13 11:48:12 +00:00
Vadim Zeitlin
e051d008eb
wxUniv compilation fixes after wxComboControl patch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-12 20:30:43 +00:00
Vadim Zeitlin
0cb5718761
don't delete the exiting tooltip if SetToolTip() is called with the same one
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-12 20:17:40 +00:00
Vadim Zeitlin
c0f482800a
fix OpenWatcom warning (patch from Jaakko Salli)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-12 20:04:28 +00:00
Paul Cornett
0d2c444336
remove gtk1 stuff and unused macros
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-12 17:06:20 +00:00
Paul Cornett
cb1476c34d
unused variables
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-12 17:06:05 +00:00
Vadim Zeitlin
78c9181500
added clipboard events (wxEVT_COMMAND_TEXT_COPY/CUT/PASTE) and implemented them for wxMSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-12 15:21:41 +00:00
Mart Raudsepp
6905dfe91d
[wxGTK2] Make the affirmative button the default in native wxDirDialog implementation (instead of no default at
...
all).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-11 17:15:57 +00:00
Mart Raudsepp
c1dfe97c32
[wxGTK2.4] Make affirmative button the default in wxFileDialog GtkFileChooser impl. Alex Bligh, patch #1484088 .
...
Closes bugs #1484037 and #1347052 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-11 17:05:12 +00:00
Paul Cornett
2092774d8a
allow size event for windows without scrollbars
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-10 16:36:31 +00:00
Vadim Zeitlin
1b182562bb
fixed bugs in icons handling introduced in 1.227
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-10 00:45:17 +00:00
Paul Cornett
76e4be8e18
simplify mouse wheel signal handler
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-09 16:55:25 +00:00
Paul Cornett
8539643021
unused member variables
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-09 16:54:24 +00:00
Vadim Zeitlin
6d0ce565ff
fixes and missing files from the first wxComboControl patch (update of patch 1479938)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-09 16:18:19 +00:00
Włodzimierz Skiba
11dbb4bfab
Include wx/dcscreen.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-09 13:55:29 +00:00
Vadim Zeitlin
a340b80d8a
wxComboControl and wxOwnerDrawnComboBox (patch 1479938)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-08 23:42:45 +00:00
Włodzimierz Skiba
6d50343d87
Include wx/dcprint.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-08 22:34:12 +00:00
Włodzimierz Skiba
f38924e863
Include wx/dcmemory.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-08 07:58:37 +00:00
Vadim Zeitlin
89780b6ee0
removed __throws_bad_alloc import, this apparently breaks CW8.3 compilation and is unused anyhow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-08 00:51:31 +00:00
Paul Cornett
259a4264ac
call static functions directly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-07 01:26:34 +00:00
Paul Cornett
4fab51ddff
unused variables/declarations
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-07 01:17:16 +00:00
Vadim Zeitlin
6121a198d3
use non numpad equivalents for the numpad keys in CHAR events
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-07 00:39:52 +00:00
Vadim Zeitlin
b60978b228
removed more unneeded code in kbd handling logic
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-07 00:34:47 +00:00
Vadim Zeitlin
7c722b22b3
removed code which had no effect in HandleChar()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-07 00:31:02 +00:00
Vadim Zeitlin
c01d5de838
fix for popup menus (part of patch 1238355)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 22:48:15 +00:00
Vadim Zeitlin
05ae668ce4
use SubclassWin() insteaf of just wxAssociateWinWithHandle() to make sure we generate wxWindowCreateEvents for MDI frames (see patch 1411774)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 22:35:55 +00:00
Vadim Zeitlin
e7c652bc7a
send wxWindowCreateEvent from SubclassWin(), not WM_CREATE handler as we don't get WM_CREATEs for the windows of standard classes (last version of patch 1411774; closes bug 1349291)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 22:34:24 +00:00
Vadim Zeitlin
3f2174bb28
don't generate duplicate event for numpad keys with numlock on (patch 1448853)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 22:27:30 +00:00
Vadim Zeitlin
8361f92be8
use wxGtkString instead of manual g_free()s (also fixed free/g_free mismatch)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 21:59:15 +00:00
Włodzimierz Skiba
ed4b0fdca6
Include wx/dcclient.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 21:51:49 +00:00
Vadim Zeitlin
23f4f495a5
pango_font_description_get_family() can return NULL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 21:48:02 +00:00
Vadim Zeitlin
c23d400420
compilation fix for the last check in
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 20:32:46 +00:00
Vadim Zeitlin
7c55c50ea9
clamp the point size of the font to a reaosnable range (second part of patch 1481722)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 20:23:36 +00:00