]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/nativdlg/dialog1.rc
respect wxBU_NOTEXT style in wxButton
[wxWidgets.git] / samples / nativdlg / dialog1.rc
index 11c75fe5895638da6cdf620ceb76562f86bb161c..3b008e64218e90f4798dd4fd67813fe87afe4cda 100644 (file)
@@ -9,38 +9,23 @@
 #define __WIN32__
 #endif
 
-#ifndef __WIN95__
-#define __WIN95__
-#endif
+//#ifdef _MSC_VER
+#define __VISUALC__ _MSC_VER
+//#endif
 
-#ifdef __MINGW32__
 #define wxID_OK                 5100
 #define wxID_CANCEL             5101
 #define wxID_APPLY              5102
 #define wxID_YES                5103
 #define wxID_NO                 5104
-/* #include <wx/msw/gnuwin32/winresrc.h> */
-#else
-#include <wx/defs.h>
-/* #include <windows.h> */
-#endif
 
 #include "resource.h"
 
-#ifndef __MINGW32__
+#if !defined(__GNUWIN32__) && !defined(__BORLANDC__)
 #include <commctrl.h>
 #endif
 
 #define APSTUDIO_READONLY_SYMBOLS
-/////////////////////////////////////////////////////////////////////////////
-//
-// Generated from the TEXTINCLUDE 2 resource.
-//
-// #include "afxres.h"
-
-/////////////////////////////////////////////////////////////////////////////
-#undef APSTUDIO_READONLY_SYMBOLS
-
 /////////////////////////////////////////////////////////////////////////////
 // English (U.K.) resources
 
@@ -65,78 +50,20 @@ BEGIN
     GROUPBOX        "wxStaticBox",IDC_STATIC,7,7,198,158
     EDITTEXT        IDC_EDIT1,64,23,125,14,ES_AUTOHSCROLL
     LTEXT           "wxStaticText",IDC_STATIC,13,25,42,8
-    CONTROL         "wxCheckBox",IDC_CHECK1,"Button",BS_AUTOCHECKBOX | 
+    CONTROL         "wxCheckBox",IDC_CHECK1,"Button",BS_AUTOCHECKBOX |
                     WS_TABSTOP,14,47,57,10
-    COMBOBOX        IDC_COMBO1,83,46,48,30,CBS_DROPDOWN | CBS_SORT | 
+    COMBOBOX        IDC_COMBO1,83,46,48,30,CBS_DROPDOWN | CBS_SORT |
                     WS_VSCROLL | WS_TABSTOP
     CONTROL         "wxRadioButton",IDC_RADIO1,"Button",BS_AUTORADIOBUTTON,
                     141,47,64,10
-    LISTBOX         IDC_LIST1,14,69,86,40,LBS_SORT | LBS_NOINTEGRALHEIGHT | 
+    LISTBOX         IDC_LIST1,14,69,86,40,LBS_SORT | LBS_NOINTEGRALHEIGHT |
                     WS_VSCROLL | WS_TABSTOP
     SCROLLBAR       IDC_SCROLLBAR1,111,71,76,11
-    CONTROL         "Slider1",IDC_SLIDER1,"msctls_trackbar32",TBS_BOTH | 
+    CONTROL         "Slider1",IDC_SLIDER1,"msctls_trackbar32",TBS_BOTH |
                     TBS_NOTICKS | WS_TABSTOP,10,116,100,15
     CONTROL         "Spin1",IDC_SPIN1,"msctls_updown32",UDS_ARROWKEYS,111,90,
                     10,14
 END
 
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// DESIGNINFO
-//
-
-#ifdef APSTUDIO_INVOKED
-GUIDELINES DESIGNINFO DISCARDABLE 
-BEGIN
-    dialog1, DIALOG
-    BEGIN
-        LEFTMARGIN, 7
-        RIGHTMARGIN, 264
-        TOPMARGIN, 7
-        BOTTOMMARGIN, 165
-    END
-END
-#endif    // APSTUDIO_INVOKED
-
-
-#ifdef APSTUDIO_INVOKED
-/////////////////////////////////////////////////////////////////////////////
-//
-// TEXTINCLUDE
-//
-
-1 TEXTINCLUDE DISCARDABLE 
-BEGIN
-    "resource.h\0"
-END
-
-2 TEXTINCLUDE DISCARDABLE 
-BEGIN
-    "#include ""afxres.h""\r\n"
-    "\0"
-END
-
-3 TEXTINCLUDE DISCARDABLE 
-BEGIN
-    "\r\n"
-    "\0"
-END
-
-#endif    // APSTUDIO_INVOKED
-
 #endif    // English (U.K.) resources
 /////////////////////////////////////////////////////////////////////////////
-
-
-
-#ifndef APSTUDIO_INVOKED
-/////////////////////////////////////////////////////////////////////////////
-//
-// Generated from the TEXTINCLUDE 3 resource.
-//
-
-
-/////////////////////////////////////////////////////////////////////////////
-#endif    // not APSTUDIO_INVOKED
-