* Be const correct. * Use c_str() to ensure null termination. * Remove stray , from default_mru.json. Originally committed to SVN as r4171.
15 lines
403 B
C++
15 lines
403 B
C++
#include <string>
|
|
|
|
#include <wx/mstream.h>
|
|
#include <wx/bitmap.h>
|
|
#include <wx/image.h>
|
|
|
|
#include "bitmap.h"
|
|
#include "default_config.h"
|
|
|
|
wxBitmap libresrc_getimage(const unsigned char *image, size_t size);
|
|
#define GETIMAGE(a) libresrc_getimage(a, sizeof(a))
|
|
|
|
const std::string libresrc_getconfig(const unsigned char *config, size_t size);
|
|
#define GET_DEFAULT_CONFIG(a) libresrc_getconfig(a, sizeof(a))
|