aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32/ScintillaWin.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2005-11-29 22:42:41 +0000
committernyamatongwe <devnull@localhost>2005-11-29 22:42:41 +0000
commit59e22670668008e778778c30432e0c75bdf11d37 (patch)
tree5a9869c756a439660d79f6d422aa4afb224113a1 /win32/ScintillaWin.cxx
parent0fe67dea50bf9d8d5459d620d019a3b0ec274a19 (diff)
downloadscintilla-mirror-59e22670668008e778778c30432e0c75bdf11d37.tar.gz
A small amount of use of TCHAR avoids simplest issues when
compiling as Unicode. Compiling as Unicode still not supported. Added DebugBreak call when assertion fails during paint processing as otherwise debugger pops up later in abort processing with different context.
Diffstat (limited to 'win32/ScintillaWin.cxx')
-rw-r--r--win32/ScintillaWin.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx
index c7f569970..e1654fa87 100644
--- a/win32/ScintillaWin.cxx
+++ b/win32/ScintillaWin.cxx
@@ -91,8 +91,8 @@ extern void Platform_Finalise();
// GCC has trouble with the standard COM ABI so do it the old C way with explicit vtables.
-const char scintillaClassName[] = "Scintilla";
-const char callClassName[] = "CallTip";
+const TCHAR scintillaClassName[] = TEXT("Scintilla");
+const TCHAR callClassName[] = TEXT("CallTip");
class ScintillaWin; // Forward declaration for COM interface subobjects
@@ -287,7 +287,7 @@ ScintillaWin::ScintillaWin(HWND hwnd) {
// There does not seem to be a real standard for indicating that the clipboard
// contains a rectangular selection, so copy Developer Studio.
cfColumnSelect = static_cast<CLIPFORMAT>(
- ::RegisterClipboardFormat("MSDEVColumnSelect"));
+ ::RegisterClipboardFormat(TEXT("MSDEVColumnSelect")));
wMain = hwnd;