BC++/16-bit support now working, but without resource system
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user