Since it is being used as an array size in another file, it is not possible to initialize MAX_WIDTH in a .cxx file.
This commit is contained in:
parent
906ebb5547
commit
d6e0f7da0c
|
@ -11,10 +11,6 @@
|
|||
#include "cmCursesCacheEntryComposite.h"
|
||||
#include "cmCursesLongMessageForm.h"
|
||||
|
||||
const int cmCursesMainForm::MIN_WIDTH = 65;
|
||||
const int cmCursesMainForm::MIN_HEIGHT = 6;
|
||||
const int cmCursesMainForm::IDEAL_WIDTH = 80;
|
||||
const int cmCursesMainForm::MAX_WIDTH = 512;
|
||||
|
||||
inline int ctrl(int z)
|
||||
{
|
||||
|
|
|
@ -31,10 +31,12 @@ public:
|
|||
// list of current composites.
|
||||
bool LookForCacheEntry(const char* key);
|
||||
|
||||
static const int MIN_WIDTH;
|
||||
static const int MIN_HEIGHT;
|
||||
static const int IDEAL_WIDTH;
|
||||
static const int MAX_WIDTH;
|
||||
enum {
|
||||
MIN_WIDTH = 65,
|
||||
MIN_HEIGHT = 6,
|
||||
IDEAL_WIDTH = 80,
|
||||
MAX_WIDTH = 512
|
||||
};
|
||||
|
||||
// Description:
|
||||
// This method should normally called only by the form.
|
||||
|
|
Loading…
Reference in New Issue