X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/94b49b9303a9fd119e24d1b07263f5bb0643afa5..a4388683f1b20020b5425c59c401d6ab673860de:/src/common/resource.cpp diff --git a/src/common/resource.cpp b/src/common/resource.cpp index 059a8315b4..cbff8918cf 100644 --- a/src/common/resource.cpp +++ b/src/common/resource.cpp @@ -93,10 +93,10 @@ bool wxResourceParseIncludeFile(const wxString& f, wxResourceTable *table = (wxR wxResourceTable *wxDefaultResourceTable = (wxResourceTable *) NULL; -static char *wxResourceBuffer = (char *) NULL; -static long wxResourceBufferSize = 0; -static long wxResourceBufferCount = 0; -static int wxResourceStringPtr = 0; +char *wxResourceBuffer = (char *) NULL; +long wxResourceBufferSize = 0; +long wxResourceBufferCount = 0; +int wxResourceStringPtr = 0; void wxInitializeResourceSystem() { @@ -1423,6 +1423,9 @@ wxFont wxResourceInterpretFontSpec(wxExpr *expr) return font; } +// Separate file for the remainder of this, for BC++/Win16 + +#if !(defined(__BORLANDC__) && defined(__WIN16__)) /* * (Re)allocate buffer for reading in from resource file */ @@ -2895,4 +2898,7 @@ wxControl *wxWindow::CreateItem(const wxItemResource *resource, const wxItemReso #pragma warning(default:4706) // assignment within conditional expression #endif // VC++ +#endif + // BC++/Win16 + #endif // wxUSE_WX_RESOURCES