Ignore:
Timestamp:
Jan 7, 2011, 1:37:30 PM (15 years ago)
Author:
dmik
Message:

testapp: gui/input: Build Unicode and Ascii executables and add Latin and Cyrillic letters to the title for testing.

Location:
trunk/testapp/gui/input
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/testapp/gui/input/Makefile

    r21530 r21546  
    33include $(ODIN)/testapp/common.mak
    44
    5 CFLAGS += -DUNICODE -lcomctl32.lib -luser32.lib
     5CFLAGS += -lcomctl32.lib -luser32.lib
    66
    7 all: input.exe
     7input_a.exe: input.c
    88
    9 run: run-input.exe
     9input_w.exe: input.c
     10CFLAGS.input_w.exe = -DUNICODE
     11
     12all: input_a.exe input_w.exe
     13
     14run:
     15        @echo Use run_a or run_w!
     16       
     17run_a: run-input_a.exe
     18run_w: run-input_w.exe
  • trunk/testapp/gui/input/input.c

    r21530 r21546  
    151151
    152152    hWnd = CreateWindowEx(dwExStyle, wcex.lpszClassName,
    153                           TEXT("Edit Control Test"),
     153#ifdef UNICODE   
     154                          TEXT("Edit Control Test (oe lat: \x00F6) (yo rus: \x0451) [unicode]"),
     155#else                         
     156                          TEXT("Edit Control Test (oe lat: \xF6) (yo rus: \xB8) [ascii]"),
     157#endif                         
    154158                          WS_OVERLAPPEDWINDOW | WS_CLIPCHILDREN,
    155159                          CW_USEDEFAULT, CW_USEDEFAULT, 450, 330,
Note: See TracChangeset for help on using the changeset viewer.