]> git.saurik.com Git - wxWidgets.git/blame - samples/nativdlg/dialog1.rc
use wxDC::GetMultiLineTextExtent() instead of duplicating its code in wxButton::DoGet...
[wxWidgets.git] / samples / nativdlg / dialog1.rc
CommitLineData
bbf1f0e5
KB
1//Microsoft Developer Studio generated resource script.
2//
3
2049ba38
KB
4#ifndef __WXMSW__
5#define __WXMSW__
bbf1f0e5
KB
6#endif
7
8#ifndef __WIN32__
9#define __WIN32__
10#endif
11
12#ifndef __WIN95__
13#define __WIN95__
14#endif
15
f6bcfd97
BP
16//#ifdef _MSC_VER
17#define __VISUALC__ _MSC_VER
18//#endif
19
bbf1f0e5
KB
20#define wxID_OK 5100
21#define wxID_CANCEL 5101
22#define wxID_APPLY 5102
23#define wxID_YES 5103
24#define wxID_NO 5104
bbf1f0e5
KB
25
26#include "resource.h"
27
e5651604 28#if !defined(__GNUWIN32__) && !defined(__BORLANDC__)
bbf1f0e5
KB
29#include <commctrl.h>
30#endif
31
32#define APSTUDIO_READONLY_SYMBOLS
bbf1f0e5
KB
33/////////////////////////////////////////////////////////////////////////////
34// English (U.K.) resources
35
36#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENG)
37#ifdef _WIN32
38LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_UK
39#pragma code_page(1252)
40#endif //_WIN32
41
42/////////////////////////////////////////////////////////////////////////////
43//
44// Dialog
45//
46
47dialog1 DIALOG DISCARDABLE 0, 0, 271, 172
48STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
49CAPTION "Test Dialog"
50FONT 8, "MS Sans Serif"
51BEGIN
52 DEFPUSHBUTTON "OK",wxID_OK,214,7,50,14
53 PUSHBUTTON "Cancel",wxID_CANCEL,214,24,50,14
54 GROUPBOX "wxStaticBox",IDC_STATIC,7,7,198,158
55 EDITTEXT IDC_EDIT1,64,23,125,14,ES_AUTOHSCROLL
56 LTEXT "wxStaticText",IDC_STATIC,13,25,42,8
57 CONTROL "wxCheckBox",IDC_CHECK1,"Button",BS_AUTOCHECKBOX |
58 WS_TABSTOP,14,47,57,10
59 COMBOBOX IDC_COMBO1,83,46,48,30,CBS_DROPDOWN | CBS_SORT |
60 WS_VSCROLL | WS_TABSTOP
61 CONTROL "wxRadioButton",IDC_RADIO1,"Button",BS_AUTORADIOBUTTON,
62 141,47,64,10
63 LISTBOX IDC_LIST1,14,69,86,40,LBS_SORT | LBS_NOINTEGRALHEIGHT |
64 WS_VSCROLL | WS_TABSTOP
65 SCROLLBAR IDC_SCROLLBAR1,111,71,76,11
66 CONTROL "Slider1",IDC_SLIDER1,"msctls_trackbar32",TBS_BOTH |
67 TBS_NOTICKS | WS_TABSTOP,10,116,100,15
68 CONTROL "Spin1",IDC_SPIN1,"msctls_updown32",UDS_ARROWKEYS,111,90,
69 10,14
70END
71
bbf1f0e5
KB
72#endif // English (U.K.) resources
73/////////////////////////////////////////////////////////////////////////////
74