Style fix, courtesy of Ingo (man, yesterday was bad!)
GCC4 compilation fix, thanks to Frederik Ekdahl git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19701 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -24,8 +24,8 @@ AutoTextControlFilter::~AutoTextControlFilter(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
filter_result
|
filter_result
|
||||||
AutoTextControlFilter::Filter(BMessage *msg, BHandler **target) {
|
AutoTextControlFilter::Filter(BMessage *msg, BHandler **target)
|
||||||
|
{
|
||||||
// This is really slick -- all that is needed to allow Escape key cancelling is
|
// This is really slick -- all that is needed to allow Escape key cancelling is
|
||||||
// just calling SetEscapeCancel(true) for just *one* AutoTextControl in a window. *heh*
|
// just calling SetEscapeCancel(true) for just *one* AutoTextControl in a window. *heh*
|
||||||
int32 rawchar,mod;
|
int32 rawchar,mod;
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ public:
|
|||||||
void SetEscapeCancel(const bool &value) { fEscapeCancel = value; }
|
void SetEscapeCancel(const bool &value) { fEscapeCancel = value; }
|
||||||
bool IsEscapeCancel(void) const { return fEscapeCancel; }
|
bool IsEscapeCancel(void) const { return fEscapeCancel; }
|
||||||
private:
|
private:
|
||||||
friend AutoTextControlFilter;
|
friend class AutoTextControlFilter;
|
||||||
|
|
||||||
AutoTextControlFilter *fFilter;
|
AutoTextControlFilter *fFilter;
|
||||||
bool fEscapeCancel;
|
bool fEscapeCancel;
|
||||||
|
|||||||
Reference in New Issue
Block a user