Skip to content

Commit

Permalink
minor fixes 2
Browse files Browse the repository at this point in the history
  • Loading branch information
KaungZawHtet committed Mar 21, 2020
1 parent e2b306a commit 4dd014d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/gui/src/type_extension/extension_manually_event.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,9 @@ void ExtensionManually_Container::onExtend(wxCommandEvent &event) {

void ExtensionManually_Container::appendRecordList() {

std::string value(this->tcRecord->GetValue().c_str());
std::wstring value(this->tcRecord->GetValue().c_str());

if (value.compare("")==0)
if (value.compare(reinterpret_cast<const wchar_t *>("")) == 0)
{
this->stError->SetLabelText("Empty record!");
this->stError->SetForegroundColour(wxColor(*wxRED));
Expand Down

0 comments on commit 4dd014d

Please sign in to comment.