Commit Graph

2081 Commits

Author SHA1 Message Date
twanvl 9e5ca1df1c use wxBORDER_THEME for custom controls
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1549 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-12-07 21:19:34 +00:00
twanvl cb01268092 added assertion
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1548 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-12-07 21:18:57 +00:00
twanvl 2f56a058c2 compatibility with wxWdigets 2.9+: wxString::iterator::operator* aparently does not return a wxChar anymore, use cast to force conversion.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1547 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-12-07 21:18:31 +00:00
twanvl a1ce4740c2 compatibility with wxWdigets 2.9+: Vector2D use *0.5 instead of /2 to prevent ambiguous conversion errors
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1546 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-12-07 21:17:51 +00:00
twanvl 075122668b * compatibility with wxWdigets 2.9+: use HandleWindowEvent instead of ProcessEvent
* compatibility with wxWdigets 2.9+: Vector2D: prevent ambiguous conversion errors
* use wxBORDER_THEME for custom control


git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1545 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-12-07 21:17:03 +00:00
twanvl 0ee420b7b4 compatibility with wxWdigets 2.9+: use HandleWindowEvent instead of ProcessEvent
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1544 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-12-07 21:15:28 +00:00
twanvl d5f8d29363 compatibility with wxWdigets 2.9+: use HandleWindowEvent instead of ProcessEvent
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1543 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-12-07 21:15:15 +00:00
twanvl aba1ea3470 FunctionProfile::time -> FunctionProfile::total_time
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1542 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-12-07 21:14:55 +00:00
twanvl f9e8bb88e3 profile package open timing
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1541 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-12-07 21:14:10 +00:00
twanvl 8d830289a7 compatibility with wxWdigets 2.9+: wxSAVE -> wxFD_SAVE, etc
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1540 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-12-07 21:13:28 +00:00
twanvl 7bad6c5ada compatibility with wxWdigets 2.9+: Vector2D: prevent ambiguous conversion errors
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1539 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-12-07 21:13:08 +00:00
twanvl a9a50c358a compatibility with wxWdigets 2.9+: wxString::c_str now returns an object instead of a Char*, use cast to force conversion.
TODO: This can probably be done more efficiently!

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1538 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-12-07 21:12:44 +00:00
twanvl 527d21794c compatibility with wxWdigets 2.9+: use HandleWindowEvent instead of ProcessEvent, but this function doesn't exist in wx2.8. So, #define the former as the latter for backwards compatibility.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1537 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-12-07 21:12:14 +00:00
twanvl 3ca87fce86 compatibility with wxWdigets 2.9+: Vector2D use *0.5 instead of /2 to prevent ambiguous conversion errors
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1536 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-12-07 21:11:03 +00:00
twanvl e84e6473e0 compatibility with wxWdigets 2.9+: wxSAVE -> wxFD_SAVE, etc
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1535 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-12-07 21:09:12 +00:00
twanvl fbc7f425be compatibility with wxWdigets 2.9+: wxSAVE -> wxFD_SAVE, etc
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1534 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-12-07 21:08:48 +00:00
twanvl 4fa03824ef compatibility with wxWdigets 2.9+: wxSAVE -> wxFD_SAVE
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1533 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-12-07 21:08:30 +00:00
twanvl 61467fa363 added window showing profiler statistics
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1532 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-12-07 21:07:55 +00:00
twanvl d12e0838a2 compatibility with wxWdigets 2.9+: work around a bug in wx 2.9.1 (should be fixed in newer releases)
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1531 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-12-07 21:06:26 +00:00
twanvl e6884e0db3 compatibility with wxWdigets 2.9+: Vector2D::operator *(int) to prevent ambiguous conversion errors
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1530 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-12-07 21:05:49 +00:00
twanvl 6f922eac7d compatibility with wxWdigets 2.9+: SetLogicalFunction takes wxRasterOperationMode instead of int
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1529 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-12-07 21:05:00 +00:00
twanvl 65cde6c8f3 compatibility with wxWdigets 2.9+: use wxString::const_iterator instead of raw Char*
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1528 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-12-07 21:04:11 +00:00
twanvl 3562891b42 compatibility with wxWdigets 2.9+: there is now a built in wxString::FromUTF8 function, use it
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1527 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-12-07 21:02:55 +00:00
twanvl 195a318001 compatibility with wxWdigets 2.9+: use wxString::const_iterator instead of raw Char*
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1526 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-12-07 21:02:04 +00:00
twanvl aaca63cc0f compatibility with wxWdigets 2.9+: wxString::c_str now returns an object instead of a Char*, use cast to force conversion.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1525 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-12-07 21:01:02 +00:00
twanvl 418a05d636 Fix error introduced in r1465: in single line text box, no lines were generated (which led to a crash), or text was scaled down when this was not intended.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1524 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-10-16 19:29:57 +00:00
twanvl 9735e24517 Added a panel showing profiler timings
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1523 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-10-13 21:35:30 +00:00
twanvl 7bcb045668 Use wxPopupTransientWindow for drop down lists
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1522 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-10-13 19:09:31 +00:00
twanvl 72db41b66a (newline style)
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1521 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-10-12 20:36:31 +00:00
twanvl adeee89f0d bufgix: with newer version of wxWidgets (2.8), image slice dialog was crashing because events were being sent before the initialization was complete.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1520 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-10-12 20:36:07 +00:00
twanvl bcc582f912 added 'file_modified_time' function, which should be faster than using wxFileName
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1519 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-10-03 16:47:38 +00:00
twanvl 4ee33c28f9 added "search for cards", removed old style pack generation
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1518 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-10-03 16:27:06 +00:00
twanvl 2f7d95af9c No longer using namespace boost,
doing that lead to conflicts in new compilers, because both boost and std contain a shared_ptr type.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1517 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-10-03 16:16:28 +00:00
twanvl a3973deb0d fix: Fix error in vc9: some stupid library defined 'near'
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1516 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-10-03 15:48:24 +00:00
twanvl 82cec415e4 svn:ignore some stuff
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1515 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-10-03 15:41:27 +00:00
twanvl 5beaa1cb67 MSVC project files no use version 9 (aka 2008) instead of 7.1 (aka 2003).
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1514 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-10-03 15:40:11 +00:00
twanvl 3def657642 comment
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1513 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-10-03 15:38:20 +00:00
twanvl 13a051b967 Fix error in vc9: don't index outside vector
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1512 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-10-03 15:28:12 +00:00
twanvl 75f73db8a9 Fix error in vc9: use _wassert instead of _assert, the latter no longer exists.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1511 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-10-03 15:27:40 +00:00
twanvl 9b438daf41 Fix error in vc9: use _wassert instead of _assert, the latter no longer exists.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1510 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-10-02 13:51:07 +00:00
twanvl 62a4bb7718 Fix error in vc9: don't include manifest, newer versions of msvs do this automatically, which leads to conflicts
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1509 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-10-02 13:49:37 +00:00
twanvl ca7ade0cfd Fix error in vc9: use _wassert instead of _assert, the latter no longer exists.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1508 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-10-02 13:42:31 +00:00
twanvl cc43ea3940 Fix error in vc9: universal-character-name encountered in source
Changed unicode literals from '\u1234' to '\x1234'. Hopefully this doesn't break the build for other compilers.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1507 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-10-02 13:39:33 +00:00
coppro 285fed3dbd Fix some overload issues with wxWidgets.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1506 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-30 21:44:17 +00:00
pichoro 38a3a48a67 New Scars of Mirrodin watermarks.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1505 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-27 19:17:09 +00:00
pichoro abdafbc73a Another new Scars of Mirrodin keyword.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1504 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-27 19:03:43 +00:00
pichoro 5196a25fc3 New Scars of Mirrodin keyword revealed.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1503 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-20 01:38:18 +00:00
pichoro af4a13ce96 Fixing type statistics in Magic - had a minor error.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1502 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-15 02:15:52 +00:00
pichoro 1bd866268c Setting svn:eol to "native" for templates I added or messed up.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1501 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-15 01:31:38 +00:00
pichoro cf789a1886 Magic Archenemy Scheme cards template, with forum spoiler exporter.
Yay 1500!

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1500 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-14 18:14:35 +00:00